Commit Graph

11315 Commits

Author SHA1 Message Date
Tom Xu
62eaa4193b
fix: docs Modal confirmLoading default value (#23682) 2020-04-27 23:45:45 +08:00
Tom Xu
a9d44593b3
fix: Table pagination position ts typo (#23681)
* fix: Table pagination postion ts typo

* fix
2020-04-27 23:45:14 +08:00
Tom Xu
5f1d5a17de
fix: Table demo dynamic settings pagination (#23679)
* fix: Table demo dynamic settings pagination

* fix test
2020-04-27 21:48:13 +08:00
xrkffgg
a823400b79
docs: optimize site of components 1 (#23670)
* docs: optimize site of components 1

* fix: lint

* fix: use space

* fix: snap

* revert: button demo

* fix snap
2020-04-27 21:40:52 +08:00
xrkffgg
3e38e4448c
style: optimize list rtl style (#23676) 2020-04-27 21:40:16 +08:00
Yu Mao
e199a7a301
fix: preserve caret position🐛 (#23633)
* 🐛 fix: preserve caret position

*  update test case for preserving caret position

* Update Password.tsx

* Update Password.test.js

* Update Password.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-27 18:02:51 +08:00
偏右
5e4d8f10ac
🐛 Fix Button icon only align issue (#23671)
https://github.com/ant-design/ant-design/pull/23670#discussion_r415662549
2020-04-27 17:54:13 +08:00
偏右
939660ec86
💄 Fix Menu duplicated shadow style (#23664)
close #23625
2020-04-27 16:39:41 +08:00
偏右
57d36f5b68
Delete tutorial.md 2020-04-27 15:29:51 +08:00
xrkffgg
df63f2567a
refactor(rate): rewrite with hook (#23545)
* refactor(rate): rewrite with hook

* fix: useContext

* fix

* remove

* fix: add displayName
2020-04-27 13:42:04 +08:00
Tom Xu
c2dc6305f3
refactor(popover): rewrite with hook (#23535)
* refactor(popover): rewrite with hook

* Update index.tsx
2020-04-27 11:59:05 +08:00
Tom Xu
90a12fa3d0
docs: fix popconfirm doc (#23644)
* docs:  fix popconfirm doc

* Update index.en-US.md
2020-04-27 11:52:31 +08:00
xrkffgg
dabec4c833
refactor(switch): rewrite with hook (#23552)
* refactor(switch): rewrite with hook

* fix: size

* fix

* fix test

* fix

* fix: size
2020-04-26 22:33:36 +08:00
Tom Xu
48ee1a68c6
refactor(popconfirm): rewrite with hook (#23536)
* refactor(popconfirm): rewrite with hook

* fix lint
2020-04-26 22:24:13 +08:00
Tom Xu
9ff7f31dfe
refactor(list): rewrite with hook (#23542)
* refactor(list): rewrite with hook

* fix lint

* fix lint

* fix lint

* fix Empty style dep

Co-authored-by: afc163 <afc163@gmail.com>
2020-04-26 21:23:25 +08:00
偏右
89bccf5752
🐛 Fix Button loading style of icon-only (#23614)
close #23610
2020-04-26 16:21:07 +08:00
吴泽康
4c9d03874b
fix: anchor regexp (#23577) (#23595)
* fix: anchor regexp (#23577)

* test: fix anchor complete href scrollTo test

* test: anchor sharp matcher regexp

* test: Anchor render perfectly for complete href - hash router
2020-04-26 16:11:37 +08:00
偏右
3ddc99c28f
🐛 Fix Input suffix align issue (#23606)
close #23588
2020-04-26 12:46:59 +08:00
afc163
c9c44c173f fix demo snapshot 2020-04-26 11:00:13 +08:00
Tom Xu
60f3e775d0
style: fix table size nest table margin (#23602) 2020-04-26 10:42:05 +08:00
诸岳
ac14f44f2b Merge branch 'master' of github.com:ant-design/ant-design 2020-04-25 23:47:08 +08:00
诸岳
454a02b4d9 chore(test): Update snapshots 2020-04-25 22:54:11 +08:00
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid (#23594)
* fix: ConfigProvider getPopupContainer invalid

* slider getPopupContainer

* Create container.test.js

* Update container.test.js
2020-04-25 22:46:21 +08:00
Tom Xu
8f30a14790
refactor(badge): rewrite with hook (#23488)
* refactor(badge): rewrite with hook

* Update ScrollNumber.tsx
2020-04-25 20:53:21 +08:00
ibrahim velinov
336a6fba42
docs: Rephrase 500 error (#23570)
* Rephrase 500 error

'Server is wrong' is not a clear sentence for users. I propose to use 'Something went wrong' with 500.

* Update demo.test.js.snap
2020-04-25 18:16:12 +08:00
二货机器人
22ffa61da0
fix: Legacy button group style (#23590) 2020-04-25 18:03:35 +08:00
Tom Xu
54f2abfe47
refactor(tree): rewrite with hook (#23550)
* refactor(tree): rewrite with hook

* fix codecov

* Update directory.test.js

* Update README.md

* 🆙 upgrade intersection-observer

* refactor(tree): rewrite with hook

* fix codecov

* Update directory.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-25 15:30:13 +08:00
二货机器人
efbb2849dc
fix: Tree with quick loadData frozen the virtual scroll (#23581)
* update version

* add deadline

* clean up
2020-04-25 11:13:14 +08:00
Adriano Ruberto
d2140490d8
Fix ie11 flex in steps (#23566) 2020-04-24 18:12:09 +08:00
xrkffgg
dfcaa408c2
style: optimize steps rtl (#23564) 2020-04-24 17:55:44 +08:00
偏右
d860358f94
chore: 🎬 optimize Table demo code (#23560)
* 🎬 optimize Table demo code

*  fix demo snapshot

* 🐛 Fix Table warning when pageSize is changed

close #23554

* remove console.log

* optimize demo code
2020-04-24 17:16:44 +08:00
Adriano Ruberto
289dd080b9
fix(steps): Add flex on steps to fix ie11 (#23561)
* Add flex on steps to fix ie11

* Ordering
2020-04-24 16:46:46 +08:00
Tom Xu
6401da2082
refactor(comment): rewrite with hook (#23498)
* refactor(comment): rewrite with hook

* improve comment code
2020-04-23 20:52:15 +08:00
偏右
d2c541b4e2
fix: 🐛 Input.Search height affected by suffix (#23527)
* 🎬 improve Input demo code

* style: fix Input.Search height stretched by suffix

close #23523

* fix react key warning

*  fix demo snapshot
2020-04-23 18:11:11 +08:00
xrkffgg
facbe46251
style: optimize alert rtl tyle (#23526)
* style: optimize alert rtl tyle

* fix dark
2020-04-23 17:58:36 +08:00
xrkffgg
be72d1762a
fix: upload disabled hover border (#23522) 2020-04-23 15:58:17 +08:00
xrkffgg
eb5c7ffc7e
style: complete upload rtl (#23520) 2020-04-23 15:01:20 +08:00
偏右
cd34b624b3
🐛 Fix Menu behavior when hover gap (#23511)
close #13955
2020-04-23 11:17:21 +08:00
偏右
835bcabdbc
💄 fix DatePicker/TimePicker icon color (#23508)
should be same as 3.x
2020-04-23 10:48:51 +08:00
xiaoxintang
937beba421
fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT (#23462)
* fix:selections type when use SELECTION_ALL | SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* Update useSelection.tsx

* Update type.test.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-04-22 21:59:18 +08:00
偏右
17f7e2f4d2
fix: Tree custom icon missing when loading (#23494)
close #23470
2020-04-22 21:11:57 +08:00
Eric Wang
800871166c
chore: Transform alert test to typescript (#23495) 2020-04-22 18:16:03 +08:00
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook (#23474)
* refactor(slider): rewrite with hook

* improve test

* Revert "improve test"

This reverts commit 48cd83d0cc.

* improve test

* improve test 2
2020-04-22 15:58:57 +08:00
偏右
c550cb050b
💄 fix DatePicker/TimePicker disabled icon color (#23478) 2020-04-22 15:16:51 +08:00
Eric Wang
64cb9584ce
fix: include tests in type check (#23452)
* fix: include tests in type check

* Do lint *.md

* Improve types in tests
2020-04-22 13:37:23 +08:00
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon (#23469)
* chore: Replace domhook with jest.spyon

* use mockreturn value when possible

* Update tests/shared/focusTest.js
2020-04-22 11:59:56 +08:00
xrkffgg
677168b007
style: optimize tabs rtl style (#23471) 2020-04-22 11:57:06 +08:00
Tom Xu
cf3d611f59
refactor(tag): rewrite with hook (#23466)
* refactor(tag): rewrite with hook

* fix lint
2020-04-22 10:59:24 +08:00
xrkffgg
d7e97aa996
style: optimize tag rtl style (#23464) 2020-04-22 10:00:59 +08:00
Tom Xu
4a3e01ff0b
refactor(input-number): rewrite with hook (#23461) 2020-04-22 09:48:10 +08:00