hengkx
9868a4dc59
Merge branch 'feature' into mergefeature
2020-04-27 21:02: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
偏右
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