Commit Graph

11536 Commits

Author SHA1 Message Date
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
偏右
053497724d
feat: List grid support more column count (#23630)
* list grid

* 🎬 update demo/useBreakpoint.md

* List grid support all number

* refactor object entries

* docs: update List grid API

*  fix snapshot

* fix ci

* use max-width instead of flex %
2020-04-27 16:59:33 +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
二货机器人
2da7e29198
feat: Table summary support fixed columns (#23647)
* feat: Summary support fixed column

* update snapshot

* update demo
2020-04-27 15:08:54 +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
8ae2b1f542
feat: tag support ref (#23632)
* feat: tag support ref

* feat done

* Update index.tsx
2020-04-27 13:14:00 +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
偏右
8934bbfffa
feat: Menu.Item support icon (#23629)
* feat: Menu.Item support icon

* docs: update menu item usage

* docs: remove span wrap,when use icon

* fix: Collapsed depends on the span

*  fix demo snapshot

* do not wrap children when it is span

* Menu.SubMenu support icon prop

* fix sub menu title

* fix eslint

* update dropdown demo

* fix extra icon attribute on li

Co-authored-by: MengZhaoFly <1424254461@qq.com>
2020-04-26 23:16:15 +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
偏右
c53329a27d
Merge pull request #23627 from ant-design/master
chore: merge master into feature
2020-04-26 22:12:30 +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
诸岳
a400014efe Merge branch 'master' of github.com:ant-design/ant-design into merge-master 2020-04-26 17:12:58 +08:00
诸岳
eda0064e83 fix(ci): lint error 2020-04-26 16:25:42 +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
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +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
Tom Xu
7379cfa4c2
feat: button support ref (#23571)
* feat: button support ref

* improve

* improve button displayName
2020-04-25 20:45:28 +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
Vitaly Budovski
f09686d3df
feat: Responsive table columns (#23298) 2020-04-24 12:17:42 +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
偏右
7935651899
style: select arrow won't rotate now (#23468)
* style: 💄 Select arrow won't rotate when open

* Update index.less
2020-04-22 11:54:13 +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
偏右
a4c07fc0af
Merge pull request #23465 from ant-design/master
chore: merge master into feature
2020-04-22 10:42:00 +08:00
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input autoComplete (#23455)
* support autoComplete

* update doc

* fix lint
2020-04-22 10:38:43 +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
pdeva
3e22b505a3
fix: proper react import (#23381)
* proper react import

fix for #22708

* update iconutil in select

* update in tree component
2020-04-22 09:37:46 +08:00
偏右
db97c5788e
chore: add remark lint (#23457)
* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files

* 💄 Add remark lint for markdown files
2020-04-21 23:40:41 +08:00
二货机器人
1163d8e23d
docs: Update demo (#23451) 2020-04-21 23:26:41 +08:00
xrkffgg
5e09660a3e
fix: collapse default position in rtl (#23445)
* fix: collapse default position in rtl

* update snap

* up

* fix

* fix

* fix var

* fix
2020-04-21 23:23:37 +08:00
偏右
428b07625c
fix: Select arrow cannot trigger open (#23448)
close #23447
2020-04-21 18:03:47 +08:00
Amumu
17c63e52bf
chore: improve less variable @form-item-margin-bottom (#23436)
* improve @formItemMarginBottom

* Revert "improve @formItemMarginBottom"

This reverts commit 6d8da5bdb9.

* update style
2020-04-21 17:48:15 +08:00
偏右
02faa4bcf1
💄 tweak Table selected row hover background (#23313) 2020-04-21 16:53:06 +08:00
偏右
4902c5a4f0
docs: 📖 update Form ts demo for createRef (#23440)
close #23417
2020-04-21 16:42:56 +08:00
偏右
8bd8eee573
fix: first Divider render bug (#23438)
close #23432
2020-04-21 16:16:13 +08:00
xrkffgg
f467df5fe2
feat: add rtl calendar (#23394) 2020-04-21 15:29:36 +08:00
偏右
1dab17eef0
feat: 💄 Divider support plain for lighter style (#23405)
* 💄 Divider support `asHeading` for lighter style

*  fix demo snapshot

* docs: 📖 Divider asHeading documentation

* fix tsd

*  fix demo snapshot

* asHeading to plain

*  fix demo snapshot

* fix css
2020-04-21 14:16:33 +08:00
偏右
c3e263f2f2
chore: 🚮 remove console (#23431) 2020-04-21 11:47:09 +08:00
xrkffgg
6d238a734d
feat: search rtl (#23424) 2020-04-21 11:25:53 +08:00
偏右
2c86aebfa3
Merge pull request #23426 from ant-design/master
chore: merge master into feature
2020-04-21 11:24:57 +08:00
二货机器人
5a10d29796
fix: ConfigProvider with nest prefixCls (#23423)
* fix: ConfigProvider with nest prefixCls

* update

* update

* update
2020-04-21 11:16:33 +08:00
xrkffgg
3d76859bbc
style: add dropdown group title rtl style (#23404)
* style: add dropdown group title rtl style

* fix margin

* fix lint
2020-04-21 10:49:59 +08:00
二货机器人
1d50004644
feat: Typography support onEllipsis (#23414)
* feat: support onEllipsis

* add test case

* update doc
2020-04-21 10:13:57 +08:00
二货机器人
ac7865a6fc
chore: Adjust search style (#23406)
* chore: Adjust search style

* fix lint

* Update demo.test.js.snap

* update style

* update cover area

* area it
2020-04-21 09:41:09 +08:00
偏右
fc98ab7222
test: increase test cov for Layout and Typography (#23407) 2020-04-20 19:18:53 +08:00
xrkffgg
089591ac34
style: add steps disabled style (#23402) 2020-04-20 17:05:41 +08:00
xrkffgg
f748c4ef17
style: optimize pageheader rtl style (#23401) 2020-04-20 16:50:38 +08:00
xrkffgg
0b6d34d474
style: optimize statistic rtl style (#23397) 2020-04-20 16:29:30 +08:00
xrkffgg
e2dacde754
style: fix button loading rtl (#23399) 2020-04-20 16:25:43 +08:00
xrkffgg
757c57622b
feat: add rate direction (#23321)
* feat: add rate direction

* fix: remove css

* remove classname
2020-04-20 11:05:27 +08:00
偏右
54d050324a
🐛 Fix Carousel tabindex in non-active slide (#23380)
close #23294
2020-04-19 01:28:54 +08:00
偏右
76ee9668ef
docs: 📖 update react-slick API link (#23379)
* Update index.en-US.md

* Update index.zh-CN.md
2020-04-19 00:51:56 +08:00
偏右
fabec4831c
Merge pull request #23377 from ant-design/master
chore: Merge master into feature
2020-04-18 23:54:51 +08:00
Tom Xu
6e1ffb96ca
fix: Input.Search ConfigProvider size (#23331)
* fix: Input.Search ConfigProvider size

* Update Search.tsx

* add test

* Update size.md
2020-04-18 18:31:03 +08:00
Tom Xu
50416b3a7b
improvement: Form default locale (#23165)
* improve: Form default locale

* fix lint

* fix lint

* improve form doc

* add test case

* improve form validate messages
2020-04-18 13:18:51 +08:00
Tom Xu
09e69c385e
refactor(button): rewrite with hook (#23367) 2020-04-18 13:06:04 +08:00
偏右
f4c489553f
fix: Modal.info onOk execute times (#23360)
* refactor: modal confirm onOk code

* fix: Modal.xxx onOk execute time when has close argument

close #23358

* Add test case

* fix lint
2020-04-18 01:09:14 +08:00
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript (#23364) 2020-04-18 00:31:31 +08:00
Amumu
c70b49a709
fix: fix tree key ts type (#23348)
* fix tree key ts type

* revert snap
2020-04-17 23:31:39 +08:00
Amumu
5e7f3cc67e
firstActiveValue has been deprecated, remove it (#23354) 2020-04-17 18:10:10 +08:00
kenve
edcd1b2609
docs(components): improve link (#23355) 2020-04-17 17:56:42 +08:00
偏右
8ab146220e
💄 Fix Input[type=color] height (#23351)
close #23334
2020-04-17 16:04:20 +08:00
xrkffgg
6c451865eb
site: add title upload picture-card (#23312)
* style: fix modal body padding without header

* change demo

* add url
2020-04-17 14:28:18 +08:00
xrkffgg
7d5910faf0
style: fix menu rtl style (#23319) 2020-04-16 17:40:13 +08:00
二货机器人
7e9fe271ed
feat: Space support align (#23306)
* support align

* update demo & snapshot

* update comment

* update docs

* Update components/space/index.en-US.md

Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>

* update doc

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2020-04-16 12:28:04 +08:00
Misha Kav
cff24d5dcb
add missings translations in he_IL (#23302) 2020-04-16 10:08:37 +08:00
Misha Kav
f9cb1522f3
add missing translations in ru_IL (#23303) 2020-04-16 10:07:38 +08:00
偏右
0716d1498f
fix: Dropdown submenu background (#23296)
* 🐛 Fix Dropdown submenu background

close #23293

* remove unused code
2020-04-15 23:00:51 +08:00
二货机器人
f7d1d41220
fix: multiple selector disabled remove icon (#23295)
* fix: Select remove icon

* revert demo
2020-04-15 22:54:59 +08:00
偏右
ff509bccd0
fix: optimize PageHeader responsive behavior (#23277)
* 💄 optimize PageHeader responsive behavior

close #23260

*  add test case

* remove console
2020-04-15 12:44:35 +08:00
偏右
c7cc8d40c8
🐛 Select custom suffixIcon could be operated (#23274)
close #23263
2020-04-15 11:29:38 +08:00
二货机器人
c2a1fe5b1f
docs: Update Table edit row example (#23270) 2020-04-15 10:39:16 +08:00
二货机器人
9c08bb2482
docs: Add listHeight desc (#23268) 2020-04-15 10:04:01 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style (#23259)
* fix: Input allow clear icon

* update test case

* update snapshot
2020-04-14 23:04:23 +08:00
Dongcheng Wang
ac5050f4ed
doc(slider): value & defaultValue not consistent with definition (#23252) 2020-04-14 19:33:49 +08:00
nick
87da7bfe67
feat: add custom isImgurl prop to Upload Component (#23248)
* feat: customize isImageUrl support

* docs: Update Upload doc

* docs: Add isImgUrl default implement link

* docs: update default link address
2020-04-14 19:32:16 +08:00
zefeng
efd25100a5
fix: tree-select render blank in compact mode (#23231) 2020-04-14 19:17:42 +08:00
偏右
4ad5830eec
fix: Select caret missing in Collapse (#23250)
close #23059
close #23175
2020-04-14 18:20:24 +08:00
Christian Fleschhut
54b11b2ae3
docs(Empty component): 📖 Fix typo in image prop description (#23251) 2020-04-14 18:20:14 +08:00
Tanmoy Bhowmik
e3d2754b1d
fix: Fix popupClassName prop in timepicker (#23214)
* fix(time-picker): combine dropdownClassName and popupClassName prop

* test(time-picker): add test for popupClassName and dropdownClassName prop

* chore(time-picker): add demo for popupClassName prop

* test(time-picker): remove rc-picker dependency

* doc(time-picker): change default prop of popupClassName to undefined

* fix(time-picker): remove the use of dropdownClassName

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-14 16:49:58 +08:00
Evan Charlton
58c6900175
chore: Fix console warning typo (validate -> valid) (#23240)
Clean up the typos in the helpful console warning messages which get
emitted if the incorrect prop is passed to certain components.
2020-04-14 16:48:23 +08:00
xrkffgg
1855fef437
fix: fix select rtl (#23235)
* fix: fix select rtl

* fix lint

Co-Authored-By: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-04-14 16:42:39 +08:00
二货机器人
c338569cff
docs: Update Form required desc (#23238)
* Update index.zh-CN.md

* Update index.en-US.md
2020-04-14 15:41:15 +08:00
Rustin
13fda44fb1
refactor(skeleton): rewrite with hook (#23206)
* refactor(skeleton): rewrite with hook

* fix(skeleton): refine lint and compile issues

* fix(skeleton): refine compile issues

* chore: ignore eslint warning
2020-04-14 10:30:14 +08:00
二货机器人
8c11676afa
fix: Table selection childrenColumnName not work (#23205)
* fix childrenPropName

* test case

* update test case
2020-04-13 22:56:26 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item (#22962)
* Fix types in form item

* use jsx.element
2020-04-13 21:30:55 +08:00
afc163
3f4f5864fe fix test case which fails a lot 2020-04-13 20:38:31 +08:00
afc163
59c0cdf3a2 fix test case which fails a lot 2020-04-13 20:21:30 +08:00
HouXiancheng
8c3081788c
fix: table fixed bug (#23181) 2020-04-13 19:32:50 +08:00
二货机器人
ca93757747
fix: vertial from label height (#23192) 2020-04-13 16:59:05 +08:00
xrkffgg
fca1367085
feat: add notification rtl config (#23185)
* feat: add notification rtl config

* test: add test
2020-04-13 15:45:49 +08:00
xrkffgg
d160016959
style: fix steps rtl (#23183) 2020-04-13 13:53:42 +08:00
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript (#22953)
* Refactor the button test to use typescript

* update tsconfig.json

* Change file name as a workaround

* update antd-tools
2020-04-13 13:36:23 +08:00
HouXiancheng
653724b79e
fix: tabs_animation_bug (#23151)
* fix: tabs_animation_bug

* fix: fix lint error

Co-authored-by: 侯先诚 <houxiancheng@houxianchengdeMacBook-Pro.local>
2020-04-13 12:19:06 +08:00
二货机器人
de68e37da2
fix @tabs-card-height (#23168) 2020-04-12 21:01:14 +08:00
二货机器人
12ce6aba06
fix: Safari12 fixed column (#23161)
* fix: Safari12 fixed column

* fix lint
2020-04-12 17:55:30 +08:00
二货机器人
6bb6c4c243
small size (#23160) 2020-04-12 15:33:43 +08:00
afc163
78ec790311 resolve merge conflict 2020-04-12 14:44:29 +08:00
afc163
89ce33f5d8 update snapshot 2020-04-12 12:55:42 +08:00
Chiciuc Nicușor
eb90c5b0a0
fix: Use ElementOf<T> instead of array indexing (#23132) 2020-04-11 20:46:09 +08:00
二货机器人
deafd3fcce
fix: compact group style (#23149)
* fix: compact group style

* updat snapshot
2020-04-11 20:33:08 +08:00
Joker Wang
f93f86123e
fix: Pagination missing showTitle (#23134) (#23144)
* fix: Pagination missing showTitle (#23134)

* Update Chinese description of showTitle

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-11 16:36:12 +08:00
Chris Young
ca616647ce
modify table size.less to accomodate size prop for footer padding (#23140) 2020-04-11 16:11:28 +08:00
二货机器人
50d908662e
docs: Update Form FAQ (#23138)
* docs: Update Form FAQ

* Update index.en-US.md
2020-04-11 10:30:05 +08:00
偏右
bfd5d7c910
fix: PageHeader style breaks when title is too long (#23133)
* fix: PageHeader style breaks when title is too long

close #15664

*  update snapshot

* 💄 Improve PageHeader responsive design
2020-04-10 19:25:31 +08:00
二货机器人
49acc871b9
chore: Fix compile error (#23131) 2020-04-10 18:47:08 +08:00
afc163
b5dd56611b test: fix form test case 2020-04-10 17:05:24 +08:00
二货机器人
410de6112f
fix: Button loading switch animation (#23102)
* init

* motion it

* update snapshot

* adjust speed

* update snapshot

* Update index.less

* fix opacity mask

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-10 15:39:07 +08:00
二货机器人
d968fce4dc
chore: Add warning for async (#23118) 2020-04-10 14:13:14 +08:00
二货机器人
f3df9ec894
fix: Input background with dark mode (#23115) 2020-04-10 13:13:30 +08:00
偏右
8e56354de2
💄 Tweak Table hover background color (#23113) 2020-04-10 13:04:53 +08:00
二货机器人
a106319934
fix: Table selection style (#23110) 2020-04-10 12:08:10 +08:00
二货机器人
9b9839d4d9
docs: Update Form normalize desc (#23108)
* docs: Update Form normalize desc

* Update index.en-US.md
2020-04-10 11:38:02 +08:00
xrkffgg
2cbad48ace
style: optimize select dropdown style in rtl (#23097) 2020-04-09 21:03:14 +08:00
二货机器人
37ad43bc9f
fix: Tabs bottom style (#23087)
* fix: Tabs bottom style

* fix lint
2020-04-09 17:31:13 +08:00
偏右
a8b976b802
docs: update Radio.Button (#23078)
* Update index.zh-CN.md

* Update index.en-US.md
2020-04-09 16:12:47 +08:00
二货机器人
4794bae529
fix: Calendar missing style (#23081) 2020-04-09 15:44:22 +08:00
xrkffgg
192146d2a2
style: optimize mentions dropdown in RTL (#23076) 2020-04-09 13:18:49 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
xrkffgg
e652eef04c
style: add rtl base (#22857)
* style: add rtl base

* fix: add test snap
2020-04-09 12:39:10 +08:00
xrkffgg
4d31ed8994
style: optimize datepicker rtl style (#22595)
* style: optimization datepicker rtl style

* fix icon in rtl

* fix: opt rtl
2020-04-09 12:38:53 +08:00
二货机器人
3c7626ede2
docs: update pagination related doc (#23046)
* update pagination related doc

* Update components/pagination/index.en-US.md

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-09 10:52:02 +08:00
xiaofine1122
0b8cc13a07
docs: update tree->draggable demo forEach (#23055) 2020-04-08 23:33:42 +08:00
偏右
28c4f7f137
🐛 Fix menu dark theme not working in submenu (#23054)
close #23031
2020-04-08 22:44:26 +08:00
Nikita Bystrov
0a91df226f
fix(pagination): array support for position in types (#23048) 2020-04-08 22:18:44 +08:00
二货机器人
f42cdca081
chore: adjust RangePicker style (#23025)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow
2020-04-08 20:41:57 +08:00
二货机器人
70eaea6978
clean up when field reset removed (#23041) 2020-04-08 18:47:59 +08:00
二货机器人
f9713bf988
chore: Remove uesless event handler (#23036) 2020-04-08 16:52:37 +08:00
二货机器人
a582da3d3d
docs: Update tag demo to support edit (#23032)
* support edit

* update snapshot
2020-04-08 16:23:12 +08:00
Jehu
de38c681cf
fix: long submenu title display (#23028)
* fix: long submenu title display

* fix: long submenu title display (rtl)
2020-04-08 16:18:18 +08:00
zombiej
1ca45ac8fe chore: Update snapshot 2020-04-08 16:11:01 +08:00
Jay Fong
9c72b34671
chore(Badge): improve Badge color types (#23026) 2020-04-08 13:41:32 +08:00
二货机器人
5840b92326
fix: IE11 Select flex (#23020)
* fix: IE11 flex

* align issue
2020-04-08 12:31:37 +08:00
afc163
b8af3de2a0 docs: 📖 virtual default value 2020-04-08 10:52:55 +08:00
Jay Fong
ed5abc246c
chore(Input): improve type types (#23006) 2020-04-08 10:43:37 +08:00
二货机器人
4e3c58f2ba
fix form status (#23004) 2020-04-07 22:51:54 +08:00
Jay Fong
b41301b168
chore(Tag): improve color types (#22999) 2020-04-07 22:10:07 +08:00
二货机器人
77d45690c0
feat: Form.Item support initialValue & getValueProps (#22993)
* add getValueProps

* field initialValue

* add faq
2020-04-07 21:57:27 +08:00
zombiej
b0f0a32865 docs: Form doc add version column 2020-04-07 20:43:19 +08:00
偏右
763f7a8a73
style: 💄 tweak Select cuosor position (#22978)
close #22906
2020-04-07 15:41:16 +08:00
偏右
c6a1c3f743
test TransButton focus and blur (#22979) 2020-04-07 15:41:05 +08:00
xrkffgg
de86bf7bd4
style: optimize select dropdown show in rtl (#22984) 2020-04-07 15:40:13 +08:00
zefeng
4bfc2790cb
fix(menu): fix submenu style in dark mode (#22981)
fix #22949
2020-04-07 13:32:29 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +08:00
xrkffgg
934fe16690
style: add anchor rtl (#22875) 2020-04-07 10:55:36 +08:00
偏右
8dbaf66c2b
fix: confirm button should only trigger once (#22963)
close #22861
2020-04-06 21:57:51 +08:00
Chiciuc Nicușor
1321d90e8b
Replace NativeButtonProps with ButtonProps for okButtonProps and cancelButtonProps. (#21165) (#22913) 2020-04-06 13:00:41 +08:00
afc163
e1b567d3cf fix lint 2020-04-06 12:15:28 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot (#22947)
* Introduce customer jest match to support matchRenderedSnapshot

* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
骗你是小猫咪
c4fb9edfe0
chore: export form value type (#22755) 2020-04-06 11:32:59 +08:00
二货机器人
5c4db907c5
fix: Statistic show -0 (#22950) 2020-04-06 11:19:44 +08:00
dpyzo0o
69daa6fea7
fix: improve typing of upload component (#22921) 2020-04-05 22:26:13 +08:00
Calin Vlad
4ed2d6a44d
docs: update DatePicker docs to specify correct monthCellRender prop insted of monthCellContentRender (#22946) 2020-04-05 22:18:14 +08:00
偏右
6fc0ca089e
Update index.en-US.md 2020-04-05 21:49:28 +08:00
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety (#22933)
* Use unreachable exception in favor of type safety

* Add tests

* add test
2020-04-05 21:18:28 +08:00
偏右
d634184b58
🐛 Fix Notification invalid padding-top css (#22941)
close #22935
2020-04-05 20:57:08 +08:00
zefeng
d0f81decbb
fix: fix menu and spin style in compact mode (#22908)
* fix: fix menu and spin style in compact mode

* patch
2020-04-05 12:04:22 +08:00
zefeng
4e20ed2b41
fix(rtl): fix radio rtl overrided by theme (#22926) 2020-04-04 22:27:11 +08:00
xrkffgg
18d424e5f6
style: add message rtl (#22513)
* style: add message rtl

* fix: change config

* fix: add rtl test
2020-04-04 13:35:36 +08:00
Chiciuc Nicușor
f67d09b28e
fix: Extract type of the element of a tuple without indexing. (#22916)
* Extract type of the element of a tuple without indexing.

* Amend ElementOf<T> to also support readonly arrays.
2020-04-04 12:32:56 +08:00
偏右
b317b7cd67
style: 🐛 Fix multiple Select large size (#22904)
close #22900
2020-04-03 23:11:14 +08:00
Rohan Bagchi
d45d4bbd28
Updating document to correct few typos (#22902) 2020-04-03 22:45:39 +08:00
Yu
e852433ef3
fix: FilterDropdownProps TypeScript definition update (#22895) 2020-04-03 20:15:27 +08:00
二货机器人
75524df190
fix jsx filter not work (#22888) 2020-04-03 16:32:50 +08:00
二货机器人
89abacac31
fix: Input affix prevent dropdown focus (#22887)
* adjust focus logic

* update logic
2020-04-03 16:11:41 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
1e5c527146
fix: Table header columns size with filter or sorter (#22872)
* fix size columns

* update snapshot

* more test code

* patch

* force ci

* fix hover small style

* adjust less
2020-04-03 13:42:57 +08:00
zombiej
3b77e610fe chore: Update snapshot 2020-04-03 12:19:41 +08:00
二货机器人
14cd2dc434
adjust nest table logic (#22868) 2020-04-02 22:22:34 +08:00
二货机器人
b28b2007be
fix: Center not work in Table (#22858)
* fix: Center not work in Table

* update snapshot

* fix test case
2020-04-02 18:53:49 +08:00
Hanjun Kim
de827d7eb7
fix typo (#22856)
`bellow` -> `below`
2020-04-02 17:47:39 +08:00
二货机器人
9ecb12db76
refactor: Refactor picker generate to multiple files (#22850)
* move single picker out

* move generateRangePicker out

* fix compile
2020-04-02 15:46:07 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
xrkffgg
c956de52ad
style: fix menu rtl (#22841) 2020-04-02 11:42:15 +08:00
二货机器人
4bd488bfbe
fix align logic (#22836) 2020-04-01 23:31:22 +08:00
二货机器人
9aa61b78e1
support undefined remove filter icon (#22833) 2020-04-01 22:19:32 +08:00
kaoding
3f8dbc500f
style: 💄 @info-color should be @primary-color defaultly
revert #5442
2020-04-01 21:06:24 +08:00
二货机器人
f2a3ef5926
fix: Table expanded logic (#22832)
* update rc-table deps

* fix style mapping

* snapshot
2020-04-01 20:57:35 +08:00
afc163
c38324e863 docs: 📖 Add FAQ about table filter logic 2020-04-01 19:15:30 +08:00
afc163
ddb0ac46ba fix: 🐛 Table unchanged filter should not trigger onChange
ref https://github.com/ant-design/ant-design/issues/22819#issuecomment-607171024
2020-04-01 19:15:30 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe (#22788)
* docs: 🎬 improve BackTop demo

* fix Backtop not working in iframe

* fix lint

* fix ci

* fix ci

*  add more test case

*  add more test cases

* fix ci
2020-04-01 17:38:21 +08:00
xrkffgg
a91506cb6b
fix: add rtl space (#22809)
* fix: add Space rtl

* fix: restore test

* fix: restore test

* add

* fix: fix lint

* fix: use original api

* fix: add rtl less
2020-04-01 17:38:03 +08:00
Michael Shing
06f29d0caa
fix: support table getPopupContainer on row selections (#22787)
* fix: support table getPopupContainer on row selections

* move top to before right

* Add cursor to dropdown arrow

* Feedback suggestion

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-01 17:14:53 +08:00
Paul Julien
33e5ef20ed
fix: Fix date_picker et time_picker locale for 🇫🇷 (#22769)
* fix french locale

* le -> un
2020-04-01 16:07:16 +08:00
Amumu
4ef3215e1a
fix typo (#22803) 2020-04-01 11:13:08 +08:00
He Linming
3450a82b9e
fix: Card Tabs do not support small size (#22666)
* 🐛 Card Tabs do not support small size

close #22637

* 👌 adjust height

* 👌 use antd variable

* 👌 add card tabs

*  fix ci and adjust margin
2020-04-01 10:54:38 +08:00
二货机器人
63e0ce6597
fix: Safari shadow bug (#22794) 2020-03-31 22:04:03 +08:00
偏右
9e44b97436
fix: 🐛 Affix state update on unmounted component (#22790)
close #22683
2020-03-31 21:25:40 +08:00
二货机器人
8f34161db0
fix: Remove useless form textarea height (#22793) 2020-03-31 21:07:13 +08:00
偏右
b4c943a862
fix: 💄 List footer border (#22771)
bug screenshot: https://user-images.githubusercontent.com/507615/77983664-28eedd00-7342-11ea-8bd4-4dad98f757c0.png
2020-03-31 12:02:10 +08:00
Phoenix Eliot
ebdf9110fd
Fix order of operations for tooltipPlacement (#22772)
tooltipPlacement was broken by a6c207d9dd.
The grouping of this term was getting parsed as `(tooltipPlacement || vertical) ? 'right' : 'top'`, which was incorrect.
2020-03-31 11:54:41 +08:00
二货机器人
cefb7b29f2
chore: Update Locale context (#22762)
* Upgrade locale context

* fix logic

* fix lint

* add context ignore in test case
2020-03-30 22:54:12 +08:00
偏右
dc4d98a46a
🆙 upgrade rc-checkbox (#22761) 2020-03-30 22:14:13 +08:00
Michael Shing
cd0203d535
fix: --scroll-bar var default value (#22754)
* Fix --scroll-bar var default value

* Disable stylelint on scroll-bar var

* Feedback

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-30 21:58:18 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo (#22621) 2020-03-30 21:23:05 +08:00
He Linming
e504fa19c0
🐛 remove tabpane outline (#22752)
close #22747
2020-03-30 19:09:30 +08:00
偏右
d4459c791b
🎬 Add loop banner demo to Alert (#22751)
close #18388
2020-03-30 18:44:49 +08:00
骗你是小猫咪
0f2f270f35
fix: Space item duplicate key (#22745) 2020-03-30 17:59:06 +08:00
afc163
40eae38563 fix ci 2020-03-30 16:46:46 +08:00
Min
c4668f3bf5
Clarify documentation on notifications and context (#22742) 2020-03-30 16:17:12 +08:00
偏右
d35dfe89d9
💄 fix Select cursor style (#22743) 2020-03-30 16:16:51 +08:00
偏右
faa71fd7bd
fix: Table loading compatibility (#22739)
* 🐛 Fix Table loading not working when no spinning field

close #22733

*  improve table test case
2020-03-30 15:45:14 +08:00
zombiej
9bb1eb9c87 update snapshot 2020-03-30 11:12:18 +08:00
zombiej
084cc59051 docs: Pagination add all config demo 2020-03-30 10:50:29 +08:00
afc163
a99dde8371 fix ci 2020-03-29 23:06:55 +08:00
afc163
ff95260b0a 📖 update pagination doc 2020-03-29 23:04:20 +08:00
偏右
2a9d6cd106
improve breadcrumb test coverage (#22719) 2020-03-29 22:17:55 +08:00
zombiej
7212a9746d chore: Merge feature 2020-03-29 20:21:14 +08:00
偏右
db3a81ab19
feat: 🔢 improve default pagination switch experience (#22711)
* 🆙 rc-pagination to 2.1.0

*  update snapshot and fix ci

* 🆙 rc-pagination to 2.2.0

*  update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-03-29 20:15:05 +08:00
zoomdong
779cef4297
fix: typo (#22715) 2020-03-29 18:49:29 +08:00
zoomdong
7a64d5b119
fix:document on Select (#22714) 2020-03-29 18:23:21 +08:00
zombiej
b916f7c247 docs: Update AutoComplete docs
resolve #22704
2020-03-29 17:12:34 +08:00
xrkffgg
d0dee05c28
style: optimize upload rtl style (#22630) 2020-03-29 15:07:04 +08:00
zombiej
f8c5d9505a ignore styleint line rule 2020-03-29 14:49:17 +08:00
zombiej
1ec7b2c068 merge master 2020-03-29 14:40:29 +08:00
二货机器人
d95dc831dd
fix: Drawer close btn style (#22710)
* fix: Drawer close btn style

* fix lint

* snapshot

* update snapshot
2020-03-29 12:38:12 +08:00
二货机器人
ecf4e47647
docs: Update icons doc (#22709)
* docs: Update icons doc

* Update index.en-US.md
2020-03-29 10:48:59 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00