Commit Graph

12577 Commits

Author SHA1 Message Date
lihqi
cc37f7d189
fix: fix message.destroy parameter (#26864)
* fix: fix message.destroy parameter

* chore: use React.Key
2020-09-25 11:01:41 +08:00
Kermit Xuan
006abe5e92
chore(slider): optimize type definition (#26884) 2020-09-24 18:14:22 +08:00
zombiej
40c8fb8363 chore: merge master 2020-09-24 15:26:37 +08:00
二货机器人
80d36fb0ae
docs: Add Form.List deps faq (#26873) 2020-09-23 22:24:09 +08:00
二货机器人
2775049345
docs: Update TreeNode isLeaf desc (#26872) 2020-09-23 22:14:28 +08:00
二货机器人
1e176ed841
fix: Divider border style not work on text mode (#26863) 2020-09-23 13:33:35 +08:00
afc163
5e0352200b test: fix snapshot 2020-09-22 17:58:21 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight (#26849) 2020-09-22 17:04:48 +08:00
zombiej
8e14a9ce9c docs: Update Form labelCol & wrapCol desc
close #26770
2020-09-22 16:58:41 +08:00
Vineet Srivastav
f2766df2e1
style: fix @link-decoration in Typography.Link (#26854) 2020-09-22 16:57:37 +08:00
Kermit Xuan
a733885b50
feat(date-picker): support custom format (#26845)
* feat(upload):  support custom format

* test: update demo snapshot
2020-09-22 15:43:11 +08:00
zombiej
b696579cd4 fix test case 2020-09-22 11:36:15 +08:00
zombiej
358c7fa4c4 chore: feature merge master 2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: 100% coverage (#26839)
* test: isStyleSupport

* test: 100% test coverage
2020-09-21 18:32:24 +08:00
zombiej
7f2bdb7569 test: fix test case 2020-09-21 16:39:12 +08:00
二货机器人
8315262804
docs: Add AutoComplete migrate demo (#26838) 2020-09-21 16:24:48 +08:00
Olivier Louvignes
93f2988585
chore: add FormListProps export in form/index.tsx (#26831) 2020-09-21 08:40:38 +08:00
偏右
c979850a5b
test: Motion for Collpase and Menu (#26828)
* test:  test menu and collapse motion

* chore: move openAnimation into collapse

* add test case

* rm extra openAnimation.tsx

* remove unused code
2020-09-20 21:13:43 +08:00
Tom Xu
dcdb8f5587
docs: improve from list (#26813) 2020-09-19 23:21:25 +08:00
Tom Xu
3ab71222ef
style: fix description item long text (#26820)
* style: fix description item long text

* Update index.less
2020-09-19 23:17:42 +08:00
偏右
b04d97cde2
fix: 🐛 SubMenu unexpected scrollbar (#26817)
close #26812
2020-09-18 19:44:56 +08:00
偏右
40cee55141
test: add test case for switch click effect (#26815) 2020-09-18 17:53:37 +08:00
二货机器人
ea3629deed docs: Update Tree height desc
close #26769
2020-09-18 08:58:03 +00:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
2e4cbba8d7
fix: @layout-sider-background cannot set to linear-gradient (#26810)
close #26755
2020-09-18 14:29:42 +08:00
二货机器人
e5e3be6dda chore: Update rc-trigger related version (#26803)
* bump rc-select version

* bump rc-dropdown version

* bump rc-mentions version

* bump rc-picker version

* bump rc-cascader & rc-menu version

* bump rc-slider version

* update rc-motion

* update rc-select version

* rm sleep in test case

* 📦 reduce bundlesize limit to 280kb

Co-authored-by: 偏右 <afc163@gmail.com>
2020-09-18 13:06:58 +08:00
afc163
a48e2a474f test: recover test case expect 2020-09-18 13:06:20 +08:00
afc163
a8f9572944 test: ignore code which never run into 2020-09-18 13:06:20 +08:00
偏右
ae466b9eea fix: 🐛 Select search bug when input chinese (#26796)
* fix: Select search bug when input chinese

close #26790

* fix: test snapshot
2020-09-18 13:06:20 +08:00
afc163
87059cd795 docs: 📝 remove deparecated button type 2020-09-18 13:06:20 +08:00
John Bear
f0cefa57cd fix: table sticky zindex calculation (#26800) 2020-09-18 13:06:20 +08:00
二货机器人
4d098e7803 docs: Update virtual list demo (#26786) 2020-09-18 13:06:20 +08:00
偏右
f2a8712139 style: tweak button icon only align (#26785)
close #26679
2020-09-18 13:06:19 +08:00
偏右
954bd94b63 style: 💄 fix TimePicker column align (#26784)
add `@picker-time-panel-column-width` and `@picker-time-panel-column-height`

close #26781
2020-09-18 13:06:19 +08:00
Régis Foucault
e849c94b48 docs: 📝 fix typo in complex-form-control.md (#26771) 2020-09-18 13:06:19 +08:00
prettyboyweiwei
6882fa9498 chore: fix Array(x).key() cannot works in codesandbox/codepen
Co-authored-by: weiwei <weiwei0814@theduapp.com>
2020-09-18 13:06:19 +08:00
afc163
d5954af85e test: fix lint 2020-09-18 13:06:19 +08:00
afc163
05e05c59f6 test: ignore code which never run into 2020-09-18 13:06:19 +08:00
二货机器人
c592714c88
chore: Update rc-trigger related version (#26803)
* bump rc-select version

* bump rc-dropdown version

* bump rc-mentions version

* bump rc-picker version

* bump rc-cascader & rc-menu version

* bump rc-slider version

* update rc-motion

* update rc-select version

* rm sleep in test case

* 📦 reduce bundlesize limit to 280kb

Co-authored-by: 偏右 <afc163@gmail.com>
2020-09-18 13:01:36 +08:00
afc163
935773a0d0 test: recover test case expect 2020-09-18 11:51:21 +08:00
afc163
2f736441af test: ignore code which never run into 2020-09-18 11:49:50 +08:00
偏右
dfb3279949
fix: 🐛 Select search bug when input chinese (#26796)
* fix: Select search bug when input chinese

close #26790

* fix: test snapshot
2020-09-17 23:26:51 +08:00
afc163
90cfb0d25f docs: 📝 remove deparecated button type 2020-09-17 23:06:59 +08:00
John Bear
5b5518acfb
fix: table sticky zindex calculation (#26800) 2020-09-17 23:01:34 +08:00
二货机器人
b08b759ff4
feat: Form.Item support tooltip (#26780)
* feat: Support tooltip

* update test case

* update snapshot

* update doc

* fix lint

* support icon

* tmp use @text-color-secondary
2020-09-17 17:11:45 +08:00
二货机器人
1da6016cc2
feat: FormItem support generate for renderProps (#26791) 2020-09-17 16:51:19 +08:00
Kermit Xuan
7f7fe176e1
feat(upload): support itemRender (#26333) 2020-09-17 16:14:42 +08:00
二货机器人
fec45cb6fe
docs: Update virtual list demo (#26786) 2020-09-17 16:05:08 +08:00
偏右
8bff5917dc
style: tweak button icon only align (#26785)
close #26679
2020-09-17 15:31:26 +08:00
偏右
a9953640f9
style: 💄 fix TimePicker column align (#26784)
add `@picker-time-panel-column-width` and `@picker-time-panel-column-height`

close #26781
2020-09-17 12:54:05 +08:00
Régis Foucault
bb11f82ed2
docs: 📝 fix typo in complex-form-control.md (#26771) 2020-09-17 11:57:52 +08:00
prettyboyweiwei
56fb794862
chore: fix Array(x).key() cannot works in codesandbox/codepen
Co-authored-by: weiwei <weiwei0814@theduapp.com>
2020-09-16 23:25:43 +08:00
afc163
2980444bd6 test: fix lint 2020-09-16 17:36:44 +08:00
afc163
cc6d2f2157 test: ignore code which never run into 2020-09-16 16:00:12 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
chore: merge master into feature
2020-09-16 14:49:19 +08:00
zombiej
780ada065b chore: Update snapshot 2020-09-16 12:10:18 +08:00
偏右
cefb877ab9
fix: AutoComplete warning when using placeholder and allowClear (#26765)
close #26760
2020-09-16 11:51:55 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
afc163
0de1358924 test: fix eslint jest rules 2020-09-15 11:54:47 +08:00
Knut Olav Bøhmer
e09040f3af
fix: Button as component for react-router Link (#26740)
React router passes `navigate` as prop to component in <Link to={to}
component={Component}>. This is already fixed for Typography.Link.
(#26623) This fixes `<Link to={to} component={Button}` />
2020-09-14 21:31:46 +08:00
afc163
704899415e docs: 📝 fix anchor demo 2020-09-14 19:13:47 +08:00
afc163
ca18e8cd87 docs: clearify Anchor showInkInFixed API
close #26702
2020-09-14 19:04:36 +08:00
偏右
0067b923b9
Merge pull request #26738 from ant-design/master
chore: merge master into feature
2020-09-14 19:02:34 +08:00
Krishna Singh
bf910cb3a9
Update time-picker documentation (#26673)
Added `onSelect` prop details on Time-Picker documentation
2020-09-14 18:26:22 +08:00
vldh
1e9aded2dd
CascaderProps add name and id (#26660)
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2020-09-14 18:20:30 +08:00
afc163
58a57224a8 test: fix test snapshot change 2020-09-14 18:19:36 +08:00
Knut Olav Bøhmer
ab3d0ea8de
fix: don't show empty items in Space component (#26721) 2020-09-14 10:53:47 +08:00
Michael Waddell
add02767f0
Feat: Support callbacks for removeIcon and downloadIcon in Upload (#26684)
* updated to support callback function

* fixing compilation errors

* feat: add support for per-file callbacks in Upload removeIcon and downloadIcon

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

Added version

Co-authored-by: Tom Xu <ycxzhkx@gmail.com>

* docs: Changed `React.ReactNode` to `ReactNode`

* docs: Added version in CN documentation

Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-13 08:31:18 +08:00
二货机器人
1faabb219d
feat: Form.List support rules (#26676)
* Add ErrorList component

* move class to ErrorList

* support cache of status

* update doc

* update snapshot

* patch test case

* clean up

* docs: add faq
2020-09-11 21:27:51 +08:00
paranoidjk
ea19589619
feat: feat: expose ConfigContext (#26705) 2020-09-11 21:24:26 +08:00
Dave
5507641331
fix(table-pagination): make pagination.position work (#26678) 2020-09-11 16:49:15 +08:00
Sam Kah Chiin
4270fc7e12
[Chore] Fix typo in index.en-US.md (#26703) 2020-09-11 16:47:47 +08:00
偏右
0472da5a40
fix: sorter compare and multiple should be optional (#26686)
close #26085
2020-09-11 12:25:22 +08:00
Tom Xu
faa534c1c0
feat: form support messageVariables (#26597)
* feat: form support labelInMessage

* add doc

* change to messageVariables

* Update demo.test.js.snap

* feat: form support labelInMessage

* add doc

* change to messageVariables

* Update FormItem.tsx

* docs: add messageVariables use
2020-09-10 21:00:21 +08:00
Tom Xu
bef89ce686
docs: remove Anchor not use api (#26672) 2020-09-10 13:49:16 +08:00
偏右
ce4dd06469
style: Card card image has extra 1px border (#26659)
close #26658
2020-09-09 17:57:17 +08:00
偏右
39b40b573d
fix: Menu not support React.Fragment (#26656)
* fix: Menu support React.Fragment

* chore: tweak menu demo

* fix: React key warning
2020-09-09 16:52:04 +08:00
二货机器人
ca46793593
Merge pull request #26655 from ant-design/master
chore: Feature merge master
2020-09-09 15:34:35 +08:00
Dave
0b4563579b
feat(select): sync placeholder color (input) (#26651) 2020-09-09 14:55:59 +08:00
偏右
6fc11830d6
fix: Textarea value works differently as Input (#26652) 2020-09-09 14:41:00 +08:00
Bojack
ad180b8dcf
docs: update AutoComplete api document (#26633)
* docs:update AutoComplete api documnet

* docs: update AutoComplete api document
2020-09-08 17:03:12 +08:00
二货机器人
8ab74cbe0e
test: Fix Upload test case (#26638)
* test: Fix test case

* clean up
2020-09-08 14:47:31 +08:00
Tom Xu
498d48c6b1
docs: fix pro table link (#26637) 2020-09-08 13:14:35 +08:00
二货机器人
c58135fd46
fix: Align motion match (#26628)
* fix: Align motion match

* bump rc-motion

* lock rc-trigger version

* update snapshot
2020-09-08 11:34:29 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
chore: merge master into feature
2020-09-07 23:10:36 +08:00
偏右
e745e24677
fix: Invalid value for prop navigate on Link (#26623)
close #26622
2020-09-07 17:37:49 +08:00
偏右
ce6d89e93a
fix: Table pagination missing when position is top (#26618)
close #26617
2020-09-07 16:52:10 +08:00
二货机器人
a26517f9ab
fix: Controlled multiple files upload list sync (#26612)
* init hooks

* Use raf to sync list

* clean up
2020-09-07 16:41:28 +08:00
afc163
e9d3ee6928 test: fix image test snapshot 2020-09-07 15:56:54 +08:00
willc001
79b681d27c
fix: restrict nested table styles to only apply to direct children of td (#26568)
Co-authored-by: William Cai <williamcai@easyops.cn>
2020-09-06 13:21:40 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
xrkffgg
a46c5ce19b
docs: update typography demo (#26604) 2020-09-06 11:28:49 +08:00
偏右
c630a6de69
fix: Table clear both style (#26599)
* fix: Table clear both style

close #26595

* Update index.less
2020-09-05 17:24:18 +08:00
Pengsha Ying
b4c0978068
fix(upload): adjust type declaration for the onError of customRequest (#26601) 2020-09-05 17:13:20 +08:00
Long Nguyen
7b55f112ce
docs: fix typos (#26598) 2020-09-05 12:40:38 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
偏右
a12a7ef2d8
Update basic.md 2020-09-04 16:56:53 +08:00
lich-yoo
f0f22bb726
fix: cascader value overwritten when filtering (#26554) (#26569)
* fix: cascader value overwritten when filtering  (#26554)

* test: add onChange test cases (#26554)

* test: add onChange test cases

Co-authored-by: lich(李春翯) <lich@21kunpeng.com>
2020-09-04 10:59:10 +08:00
Jonathan Gabaut
7e209f0a51
fix: add flex type to ColSize interface (#26578)
According to the API in the docs and based on my own usage, it's a valid value so let's make it official!
2020-09-04 10:50:36 +08:00
zombiej
9663b24216 docs: Update requiredMark doc desc 2020-09-03 17:44:50 +08:00
Tanmoy Bhowmik
6d2854264a
fix: Modal width out of screen (#25765)
* style(modal): add max-width

* chore(modal): add custom width demo

* test(modal): add custom width snapshot

* Update modal.less

* Update modal.less

* Update width.md

* Update demo.test.js.snap

Co-authored-by: 偏右 <afc163@gmail.com>
2020-09-03 16:29:40 +08:00
willc001
b0c70ab348
fix: Radio.Group forward child element ref (#26555)
Co-authored-by: William Cai <williamcai@easyops.cn>
2020-09-03 15:31:08 +08:00
偏右
a409f3126f
test: add test cases to increase coverage (#26559)
* test:  add test cases to increase coverage

* chore: remove console
2020-09-03 13:36:23 +08:00
zhangj
0c521962e7
feat: Update rc-dialog to 8.3.0, support Modal drag and drop. (#26507)
* feat: 更新到rc-dialog@8.3.0 添加Modal组件对拖拽的支持。

* fix: test case

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* fix: 修复文档版本修改为4.7.0, 文档的order改为13最后一个,指针改为move

* fix: 修改API的顺序,按照字母顺序进行排列

* fix: 修复一些讨论的问题

* fix: test case

* fix: 修改Demo的Modal的Button的显示方式,进行竖着排列

* docs: 去掉多余的demo

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-09-03 12:36:06 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557 2020-09-03 11:30:46 +08:00
偏右
34d5112132
fix: Pagination align issue (#26549)
close #26533
2020-09-02 21:46:03 +08:00
二货机器人
0097d34d01
fix: Update rc-motion deps & fix ssr (#26542)
* chore: Update rc-motion deps

* frame wheel not prevent scroll

* update ts
2020-09-02 18:30:27 +08:00
偏右
bc950d9a24
fix: Tooltip/Popover children type (#26534)
close #26517
2020-09-02 15:35:49 +08:00
ZHANGYU
e2dda85c90
fix: Avatar doesn't scale when display is none (#26522) 2020-09-02 15:28:23 +08:00
偏右
c88fd34e9a
chore: 🆙 upgrade react-resizable (#26524)
* chore: 🆙 upgrade react-resizable

* test: fix snapshot

* code style improve
2020-09-02 10:51:04 +08:00
xrkffgg
4a4b97c197
chore: merge master into feature (#26513) 2020-09-01 10:46:58 +08:00
PeakFish
71f726afb1
docs: fix api display (#26504) 2020-08-31 20:19:35 +08:00
二货机器人
f68c743448
test: Remove timeout in configProvider test (#26499)
* test: Remove timeout in configProvider test

* chore: Clean up

* move form test out
2020-08-31 17:41:56 +08:00
ZHANGYU
09dd53915e
docs: update modal doc (#26492)
* docs: update modal doc

* docs: sort modal props
2020-08-31 14:18:50 +08:00
xrkffgg
5f6470d8f3
style: optimize col rtl style (#26482) 2020-08-29 22:06:07 +08:00
二货机器人
88ae028321
fix: Upload controlled issue (#26481)
* fix upload sync

* add test case

* rm only

* update snapshot

* fix test case
2020-08-29 21:28:44 +08:00
Moein Alizadeh
6b90477b53
fix: rlt style of columns (#26479)
* Fix rlt issue for columns

This fix should exist in rtl styles.

* Update rtl.less
2020-08-29 19:33:28 +08:00
xrkffgg
bf72f5538a docs: update api naming 2020-08-29 15:25:09 +08:00
偏右
2d46fb72ec
Merge pull request #26478 from ant-design/master
chore: merge master into feature
2020-08-29 14:06:39 +08:00
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component (#26244)
fix lint and test failures

update avatar demo card title

update ts type check for undefined
2020-08-29 13:43:52 +08:00
Kaan KÜÇÜK
7e223c1edc
Update index.en-US.md (#26476)
Type for Checkbox.Group Options is not valid on docs.
2020-08-29 12:11:22 +08:00
Rainy
221a38db91
fix: no shadow in the style of the Select focus. (#26465)
Fix #26255 style error.
2020-08-28 23:08:33 +08:00
xrkffgg
2005546d22
test: update snap (#26467) 2020-08-28 21:43:44 +08:00
zhangchen
c47bfb0c91
fix: Table topPaginationNode display logic should same with bottomPaginationNode (#26143)
* fix: Tree bottomPaginationNode display logic should same with bottomPaginationNode

* update: test
2020-08-28 15:48:19 +08:00
二货机器人
77cbf724cf
fix: TimePicker.RangePicker props (#26446) 2020-08-28 11:46:35 +08:00
二货机器人
d561d73614
fix: Space should support fragement (#26444) 2020-08-28 11:29:37 +08:00
baidumap
3507a01798
fix: 修复disabledTime参数文档 (#26439)
* fix: 修复disabledTime参数文档

* fix: 英文版dates -> date

Co-authored-by: jingruoyu <jingruoyu@xiaomi.com>
2020-08-27 21:15:52 +08:00
Arvin Xu
948ba88629
docs: update image cover (#26431)
* docs: update image cover

* docs: update image cover
2020-08-27 17:02:02 +08:00
ZHANGYU
dd547aabfd
docs: fix Tree prop autoExpandParent default value (#26426) 2020-08-27 11:45:10 +08:00
二货机器人
a6180008c5
Revert "fix: ref lost in Radio.Group (#25328)" (#26418)
This reverts commit 0a8641fc02.
2020-08-26 21:36:21 +08:00
Ben Callaway
852fad9e3b
fix: Add missing properties to ShowUploadListInterface (#26406) 2020-08-26 18:43:34 +08:00
xrkffgg
008dc3e7f5
docs: update select demo and site (#26417) 2020-08-26 17:50:14 +08:00
偏右
c53e8ac4c9
test: add test cases to increase coverage (#26410) 2020-08-26 16:42:47 +08:00
偏右
e11da52bf7
fix: 🐛 Table Expand Icon size issue (#26409)
* - https://github.com/ant-design/ant-design/issues/24719
Expand Icon

* - https://github.com/ant-design/ant-design/issues/24719
Expand Icon

Co-authored-by: Gary Wei <wgz@tip-lab.com>
2020-08-26 13:43:48 +08:00
zhangchen
453eafe68d
fix: Badge not work when props.color is empty (#26375)
* fix: Badge not work when props.color is empty

* update: test
2020-08-26 11:27:07 +08:00
xishanxu
507fdc44ae
docs: fix typo in demo (#26391)
* Update extra.md

* Update extra.md
2020-08-26 11:09:14 +08:00
xrkffgg
73f4b9bcd7
docs: complete expandedRowClassName (#26397) 2020-08-25 22:54:29 +08:00
偏右
7274a2ef4a
fix: colorPalette is not defined when use theme (#26395)
close #26290
2020-08-25 22:54:04 +08:00
Bosseskompis
19606b375c
docs: Add expandedRowClassName to Table.expandable (#26392)
* Add expandedRowClassName to Table.expandable docs

* Use alphabetical order
2020-08-25 20:26:04 +08:00
二货机器人
875e190ac7
fix: Space preserve empty dom when children is null (#26389)
* fix: Space additional dom render

* test case
2020-08-25 16:43:52 +08:00
偏右
fb839f096c
fix: Tree draggable transition style (#26387)
close #26383
2020-08-25 15:55:10 +08:00
zombiej
04d7a81ff7 docs: Update Form FAQ 2020-08-25 11:27:01 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style (#26367)
* style: fix Upload picture-card button style

close https://github.com/ant-design/ant-design/issues/26317
close #23339

* style: tweak Upload list animation

close #22386

* fix snapshot change

* docs: update Upload demos

* add test case

* update form demo

* fix test case
2020-08-24 16:33:24 +08:00
偏右
fbef76e943
test: add more test cases (#26362) 2020-08-24 11:50:53 +08:00
偏右
d5eda4f87e
test: add more test cases (#26350)
* test: add more test to Layout

* test: add more test to DatePicker

* refactor: remove unused code in Menu
2020-08-24 10:09:57 +08:00
Kermit Xuan
d8215589de
fix(upload): props type declaration (#26347)
* fix(upload): props  type declaration

* fix lint

* chore: add type test case
2020-08-23 22:46:55 +08:00
zombiej
40473cfa19 chore: Fix LocaleReceiver ts define 2020-08-22 22:31:20 +08:00
zombiej
5a3bceea28 merge origin master 2020-08-22 22:09:07 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component (#26296)
* feat: 🎉 Image component

* fix color

* fix style naming and sort api doc order

* remove onPreviewClose doc

* use animation-duration var

* use box and modal-mask mixins

* use box and modal-mask mixins

* improve style

* improve fallback demo src

* add cover

* improve demo

* update demo snapshots

* upgrade rc-image, naming Random -> Reload

* extract modal mask common style, and improve demo

* update snapshots

* fix less var conflict

* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00
偏右
07a38653ee
refactor: simplify Transfer dom structure (#26334)
* refactor: simplify Transfer dom structure

* fix eslint
2020-08-22 17:55:09 +08:00
偏右
152cf6f6f5
fix: Transfer filterOption not trigger by spaces (#26335)
close #26208
2020-08-22 17:54:57 +08:00
llwslc
06b7a7aed9
fix: Set site h tag style in dark mode (#26332)
* add site h tag color

* #000 -> @black

* empty demo h3 -> h4
2020-08-22 15:24:44 +08:00
偏右
d839cb1af9
fix: Progress steps support trailColor (#26323)
* fix: Progress steps support trailColor

close #26316

* add test case

* add test case
2020-08-22 01:29:48 +08:00
Kermit Xuan
63816fa6ba
🐛 fix(textarea): should display defaultValue when value is undefined (#26327)
close #26308
2020-08-21 22:14:28 +08:00
二货机器人
131b6e0264
test: Update Lithuanian doc & test (#26321)
* chore: Update lithuanian lang

* reorder

* Update docs/react/i18n.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-21 22:11:44 +08:00
Diego Barreiro
f1a09fe25d
feat: Galician Locale (#26015)
* feat: Create gl_ES

* Bump dependencies

rc-pagination
rc-picker

* Add test case

* Add documentation

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update test snapshots

* fix snapshot

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 18:26:36 +08:00
Maksim Slotvinskij
16962bbff1
lithuanian language (#26312)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 17:07:48 +08:00
二货机器人
60771a0f61
feat: Support requiredMarkType (#26309)
* feat: support requreidMarkType

* docs: Update doc desc

* fix lint

* use requiredMark instead

* not change className

* fix ts

* update test case

* rtl style

* fix rtl

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-21 12:58:14 +08:00
zombiej
55c1dd02c2 chore: Merge master 2020-08-20 17:31:03 +08:00
偏右
9a84eb57ac
fix: Progress type=circle success.percent (#26307)
* refactor: Circle code

* fix: Progress circle success.percent

close #26299
2020-08-20 17:15:40 +08:00
二货机器人
bd2d50c114
chore: Update snapshot (#26306) 2020-08-20 16:45:10 +08:00
偏右
92114f540b
refactor: progress getSuccessPercent (#26302) 2020-08-20 15:27:16 +08:00
yui
ab59023971
fix: typescript build in windows error from-item initialValue (#26292) 2020-08-20 14:42:09 +08:00
偏右
a3864532e1
chore: 🆙 upgrade rc-virtual-list (#26278)
* chore: 🆙 upgrade rc-virtual-list

* update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-08-19 13:49:22 +08:00
afc163
29ef3f74dd docs: 📝 update ConfigProvider API 2020-08-19 11:24:43 +08:00
flyerH
2c6c789e3a
fix: Cascader options not open after press ESC and then search (#26271)
* fix: Cascader options not open after press ESC

* add test

* modify

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-08-19 10:43:54 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle (#26270) 2020-08-19 09:50:04 +08:00
偏右
a4585c13d0
Merge pull request #26267 from ant-design/master
chore: merge master into feature
2020-08-18 18:51:49 +08:00
xrkffgg
1ecca69bb3
docs: perfect website (#26265) 2020-08-18 17:53:21 +08:00
zombiej
aec0f4517c test: Fix resize related test case 2020-08-18 16:46:05 +08:00
偏右
abf95437f1
fix: Typography copyable tooltips (#26259)
* fix: Typography copyable tooltips cannot accept empty string

https://github.com/ant-design/ant-design/pull/25953#issuecomment-674480396

* fix snapshot change
2020-08-18 16:14:14 +08:00
Kermit Xuan
ee50fe7952
refactor(upload): rewrite with hooks (#26196)
* refactor(upload): rewrite with hooks

* refactor: optimize code style;
chore(dragger): add forwardRef;

* fix: lint

* fix: trigger ci

* fix: lint

* chore: add test case
2020-08-18 15:44:31 +08:00
xrkffgg
95aef4aafe
fix: Select focused disabled style (#26255) 2020-08-18 15:13:03 +08:00
偏右
e17e82f549
Merge pull request #26243 from ant-design/master
chore: merge master into feature
2020-08-17 22:23:07 +08:00
偏右
86f6b5f0bc
docs: improve code demo box style (#26242)
* docs: improve code demo box style

* chore: update lighthouse.yml

* use node 14
2020-08-17 19:32:03 +08:00
Albert Mañosa
65ba33e1ab
fix: Pagination font family (#26230)
* fix: Change @pagination-font-family value

* fix: Add explicit font-family to item-ellipsis
2020-08-17 10:31:20 +08:00
afc163
93c1614bcf docs: 🎬 add InputNumber demo of using Intl.Numberformat
close #26223
close #19645
2020-08-16 19:32:48 +08:00
骗你是小猫咪
6d02b51ae1
fix: Space children remount. close #26177 (#26219)
* fix: Space children remount. close #26177

* update snapshots
2020-08-15 16:29:47 +08:00
xrkffgg
dc306a20f9
style: optimize cascader clear animation (#26186)
* style: optimize cascader clear animation

* fix test

* style: optimize cascader clear animation

* fix test

* add clearTimeout

* add test

* add clearTimeout
2020-08-14 17:53:34 +08:00
xrkffgg
1c63268e6a
style: optimize tree line rtl style (#26205) 2020-08-14 15:41:52 +08:00
xrkffgg
49d02a0b58
style: optimize dropdown rtl style (#26206) 2020-08-14 15:41:22 +08:00
xrkffgg
c6763b35e4
style: fix rtl.less missing variable (#26201) 2020-08-14 13:35:30 +08:00
二货机器人
5cc9742eec chore: Update snapshot 2020-08-14 04:04:58 +00:00
xrkffgg
cbdd2f5703
docs: perfect website (#26198) 2020-08-14 10:58:58 +08:00
xrkffgg
e8c43d4d6c
style: improve select style (#26181) 2020-08-13 13:33:38 +08:00
zhangchen
7df2c4053a
fix: Select with multiple type has no room for icons (#26168)
* fix: Select with multiple type has no room for icons

* update: rtl style
2020-08-13 10:16:34 +08:00
llwslc
ff7aca19cc
feat: add Typography.Text type success (#26145)
* baseType & style

* update demo

* update snap

* update document

* remove type primary
2020-08-13 10:13:32 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
zoomdong
39f1126315
feat: Form.List add() support index param (#26081)
* feat: Form.List add() support index param

* update test case

* update
2020-08-12 19:13:44 +08:00
xrkffgg
0c1504cc8d
style: optimize DatePicker footer rtl style (#26158) 2020-08-12 15:06:04 +08:00
偏右
7d500703d7 feat: 💄 Add @badge-color (#26159) 2020-08-12 15:04:46 +08:00
xrkffgg
2e463e76b8
fix: add export handleStyle/trackStyle (#26160) 2020-08-12 15:02:58 +08:00
偏右
b8f05d3ae7
feat: 💄 Add @badge-color (#26159) 2020-08-12 15:01:45 +08:00
xrkffgg
af16da1ccd
fix: DatePicer range start and end show in rtl (#26157) 2020-08-12 14:25:46 +08:00
xrkffgg
a4e7e184c2
fix: input search rtl style (#26156) 2020-08-12 14:00:06 +08:00
偏右
d9d5cbcac3
style: optimize DatePicker range show in rtl (#26149)
* style: optimize DatePicker range show in rtl

* change place
2020-08-12 13:09:05 +08:00
偏右
5a013478ef
fix: 🐛 Form.Item hidden not working in less (#26152)
close #26141
2020-08-12 13:08:50 +08:00
xrkffgg
50a0678f35
fix: addonBefore Input rtl style (#26153) 2020-08-12 13:08:43 +08:00
偏右
077ea950d4
demo: fix Table filter dropdown select behavior
close #26144
2020-08-12 11:44:40 +08:00
xrkffgg
7f130a89ec change place 2020-08-12 11:02:23 +08:00
xrkffgg
40b9d8c57a style: optimize DatePicker range show in rtl 2020-08-12 10:45:16 +08:00
偏右
9f94744d1f
fix: Dropdown overflow string issue (#26135)
close #26134
2020-08-11 17:43:54 +08:00
07akioni
cec7744b2c
refactor: Alert use CSSMotion (#26115)
* refactor: Alert use CSSMotion

* chore

* test: remove afterClose case
2020-08-11 17:04:42 +08:00
QoVoQ
f65013994f
fix: #26126 use mergedData instead of pageData to decide if render bottom pagination (#26133)
Co-authored-by: Zhongxian Liang <zhongxian.liang@shopee.com>
2020-08-11 16:18:34 +08:00
二货机器人
1119c3da38
fix: Fix DirectoryTree miss ref.scrollTo function (#26129)
* fix: DirTree support ref

* add test case
2020-08-11 14:22:16 +08:00
James Yeung
802cc51c4c
docs(PageHeader): fix default value for onBack (#25664) 2020-08-10 14:54:49 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
chore: merge master into feature
2020-08-10 14:53:46 +08:00
Daryl Roberts
cdb8a5bcd7
style: add @badge-count-background (#26043) 2020-08-10 11:16:00 +08:00
zhangchen
4da2260342
feat: show line in Tree first level (#25991)
* feat: tree line in first level

* update: Tree showLine demo
2020-08-10 10:48:11 +08:00
偏右
487d3e46c0
docs: improve typography API table (#26102)
* docs: improve typography API table

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* docs: update doc

* docs: update

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-10 10:44:16 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
07akioni
504d51477a
docs: Form add debug true on dep-debug (#26103) 2020-08-10 09:41:45 +08:00
07akioni
f964abc7f4
fix: Steps progress circle size & rtl style when use progress (#26075)
* fix: Steps progress circle size

* test: update snapshot

* fix: rtl
2020-08-09 20:28:08 +08:00
xrkffgg
d5ca5880ef
fix: Avatar.Group key lost (#26098)
* fix: avatargroup key lost

* Update components/avatar/group.tsx
2020-08-09 18:54:53 +08:00
llwslc
15b30e6761
feat: customize Typography.Paragraph copyable and editable (#25953)
* Merge branch 'feature' of github.com:ant-design/ant-design into antd

# Conflicts:
#	components/typography/__tests__/__snapshots__/demo.test.js.snap
#	components/typography/demo/interactive.md

* add icons & tooltips test

* remove Array<React.ReactNode> definition

* clean up useless code

* refactoring

* React.ReactNode already contains string

* 1. keep aria-label attribute
2. customize edit icon & tooltip

* rebase feature

* update snapshots

* update abi document

* update demo & document

* copyable icon & tooltip document

* version document
2020-08-09 12:56:35 +08:00
Mohelm97
e7e83fb357
fix: Arabic locale (#26094)
All Arabic strings in this file flipped the order of the words in the sentence, for example if 
${label} = كلمة السر
The old message will be
كلمة السر يرجى إدخال
But the correct message is
يرجى إدخال كلمة السر
2020-08-08 17:36:18 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc (#26095)
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
骗你是小猫咪
bd02b83da4
feat: Table new sticky prop (#25939)
* feat: Table new sticky prop

* add example

* update snapshots

* fix typo

* fix example and improve less

* rename to @zindex-table-fixed-column

* fix compile error

* fix header z-index

* upgrade rc-table and add active style

* improve less var

* upgrade rc-table and remove hover style

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-07 17:53:23 +08:00
afc163
fa9316f78c docs: info about Upload file.status 2020-08-07 17:31:18 +08:00
偏右
d02290c922
Update index.zh-CN.md 2020-08-07 17:25:23 +08:00
afc163
7502d84d15 docs: fix demo typo 2020-08-07 17:14:55 +08:00
afc163
5447db9239 docs: 🎬 add Upload demo about beforeUpload usage 2020-08-07 17:08:47 +08:00
xrkffgg
f0568efdf3
docs: perfect website (#26079)
* docs: perfect website

* fix []
2020-08-07 15:50:53 +08:00
07akioni
6d5ccd854f
style: Cascader selector down arrow doesn't rotate (#26078)
* fix: Cascader selector down arrow always down

* chore: remove useless style
2020-08-07 14:53:48 +08:00
zefeng
73ce401ae8
fix: 修复紧凑模式下表单项 margin 计算错误 (#26069)
close #25989
2020-08-07 13:45:35 +08:00
xrkffgg
d1d23ac4ae
fix: horizontal menu in dark & dark (#26062) 2020-08-07 11:14:27 +08:00
xrkffgg
1ade6da9cd
fix: inputnumber handler background in dark (#26072) 2020-08-07 09:57:52 +08:00
jesse
7121760f52
feat: Tabs add slot to support extra position (#25138)
* Update package.json

* update API

* update Demo

* update test

* Update components/tabs/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/demo/extra.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* update index.en-US

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-07 09:53:45 +08:00
afc163
53ef8bed92 docs: 🎬 Improve DatePicker demo 2020-08-06 15:10:52 +08:00
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. (#25903)
* add flex style

* add new demo

* update snapshot

* Merge branch feature into fix-descriptions

* update snapshot

* update snapshot
2020-08-06 14:32:13 +08:00
lihqi
b92a9a5678
feat: message destroy the specified key (#26052)
close #25236
close #26054
2020-08-06 13:34:18 +08:00
偏右
a9f14ea48f
refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030)
* feat: 🌎 new kmr_IQ to replace ku_IQ

close #25778
close #25790

* fix locale provider Legacy usage

* Update docs/react/i18n.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-06 10:40:58 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion with rc-motion (#26049) 2020-08-05 23:05:25 +08:00
afc163
d3700fbe2e resolve merge conflict 2020-08-05 22:30:47 +08:00
偏右
9a67f3571d
fix: Table crash when dataSource contains number (#26042)
close #26039
2020-08-05 22:29:38 +08:00
二货机器人
c6244382a7
chore: Replace rc-animation/lib/CSSMotion to rc-motion (#26044)
* chore: bump version

* chore: update rest version

* clean up rc-trigger ts define

* clean up motion define
2020-08-05 21:23:15 +08:00
Thanaen
e3946416a3
fix: fr_FR Table.cancelSort spelling error (#26034)
Co-authored-by: Clément Costedoat <ccostedoat@isdecisions.com>
2020-08-05 17:05:53 +08:00
xrkffgg
a6f787ed47
fix: menu position in dark rtl (#26032) 2020-08-05 16:50:17 +08:00
afc163
4dbf74afae fix typography snapshot 2020-08-05 15:00:35 +08:00
afc163
2f95bf6cf0 Merge branch 'master' into master-2 2020-08-05 14:51:07 +08:00
xrkffgg
aacdc2ebe1
docs: perfect site (#26025) 2020-08-05 14:50:52 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
xrkffgg
c72be7bdda
docs: update grid demo (#26022) 2020-08-05 11:28:57 +08:00
二货机器人
c345580ea2
fix: hidden should higher than noStyle (#26020) 2020-08-05 10:08:57 +08:00
Li Ming
b29a9b4291
docs: fix typo in resposive.md (#26019) 2020-08-05 08:55:53 +08:00
zombiej
5131c24b79 chore: update snapshot 2020-08-04 23:07:49 +08:00
偏右
a0c5460d73
style: optimize pagination simple disabled (#26008)
* style: optimize pagination simple disabled

* update snap
2020-08-04 20:00:45 +08:00
xrkffgg
7acb6d1cdc
fix: transfer pagination disabled (#26009) 2020-08-04 20:00:21 +08:00
xrkffgg
93d8d66171
style: add @btn-line-height (#26014) 2020-08-04 19:56:10 +08:00
偏右
a2e4b22f54
fix: Cascader text overflow in Firefox (#26011)
close #25969
2020-08-04 19:53:38 +08:00
xrkffgg
b0536c2a43
docs: update table demo action (#26010) 2020-08-04 17:49:31 +08:00
xrkffgg
b9ce4a869f update snap 2020-08-04 16:13:27 +08:00
xrkffgg
81e21c18dc style: optimize pagination simple disabled 2020-08-04 16:10:27 +08:00
xrkffgg
5461934f54
fix: transfer disabled header dropdown cursor (#26005) 2020-08-04 15:00:42 +08:00
xrkffgg
87555eb5a9
style: optimize select multiple disabled style (#25980)
* style: optimize select multiple disabled style

* add var

* add dark
2020-08-04 11:56:18 +08:00
xrkffgg
de1941fa5b
fix: select disabled icon cursor style (#26002) 2020-08-04 11:48:13 +08:00
偏右
8d7cbbdb0f
fix: Table empty filters throw warning (#26001)
close #25979
2020-08-04 11:43:11 +08:00
xrkffgg
2626d5eb90
style: hidden handler when inputnumber readonly (#25998) 2020-08-04 10:42:08 +08:00
偏右
c4418d089c
fix: fix breadcrumb separator (#25984)
* fix: fix breadcrumb separator

* add test snapshot

* code lint
2020-08-03 23:21:54 +08:00
Ivan Yakovlev
2a05d5a93f
fix: remove typo (#25954) (#25990)
Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-03 23:21:29 +08:00
flyerH
11bb2fff88 code lint 2020-08-03 21:53:13 +08:00
flyerH
3950dce5e3 add test snapshot 2020-08-03 21:34:29 +08:00
flyerH
e6dd15f01f fix: fix breadcrumb separator 2020-08-03 20:13:42 +08:00
xrkffgg
1efbc089ac
style: adjust mentions readonly cursor (#25977) 2020-08-03 16:14:46 +08:00
xrkffgg
c5a7f031e4
docs: format api (#25973) 2020-08-03 15:01:16 +08:00
xrkffgg
ea49b01f0e
fix: cascader disabled border color (#25970) 2020-08-03 14:36:16 +08:00
偏右
bc76e84619
docs: fix site problem (#25968)
close #23332
2020-08-03 14:35:11 +08:00
偏右
eadd475314
Update index.zh-CN.md 2020-08-03 13:56:58 +08:00
二货机器人
9fdad14dc0
fix: useModal missing prefix (#25967)
* fix: useModal hooks missing style

* add test case
2020-08-03 11:41:08 +08:00
偏右
2e3fbaf117
fix: List actions default cursor style (#25961)
close #25952
2020-08-02 18:49:36 +08:00
Ivan Yakovlev
b91b30c48a
chore: localization update (#25958)
* chore: add missed variable (#25954)

* chore: add missed variables (#25954)

* chore: transform to uppercase (#25954)

* chore: add missed varibles (#25954)

Co-authored-by: Ivan.Yakovlev <ivan.yakovlev@pochtavip.com>
2020-08-02 13:41:44 +08:00
PeakFish
a87c3a8997
docs: fix typo in demo 2020-08-01 21:35:19 +08:00
lihqi
2a18b55a8d
fix: Slider tooltip visible abnormal (#25945) 2020-08-01 15:53:26 +08:00
xrkffgg
f1154d4f09
fix: table nested table rtl style (#25938) 2020-07-31 17:19:51 +08:00
二货机器人
98050358f1
feat: Form support generic type (#25937)
* feat: Form support generic

* test: add test case of compile

* clean up
2020-07-31 16:53:39 +08:00
xrkffgg
0b27e54be5
fix: tabs card type rtl style (#25936) 2020-07-31 16:43:12 +08:00
xrkffgg
ec042c66c2
fix: badge rtl.less import (#25931) 2020-07-31 15:18:00 +08:00
xrkffgg
35c44d038e
style: add @text-color in dark (#25923) 2020-07-31 15:00:48 +08:00
偏右
43189ed43a
docs: 📖 update Table TypeScript usage (#25928)
* Update index.zh-CN.md

* Update index.en-US.md
2020-07-31 14:01:28 +08:00
xrkffgg
fed87f407d
fix: divider color in dark (#25922)
* fix: divider color in dark

* Update components/style/themes/dark.less
2020-07-31 11:44:32 +08:00
xrkffgg
2d04bef3b3
test: add test for slider (#25917)
* test: add slider test

* add test
2020-07-30 20:59:41 +08:00
07akioni
5a08aab0e8
docs: DatePicker demo refactor (#25913)
* docs: DatePicker change type demo

* chore: snapshot

* chore

* docs: DatePicker use Space

* chore: snapshot
2020-07-30 19:17:34 +08:00
二货机器人
3b7d23485a
docs: Update Tree demo to use treeData (#25916)
* docs: Update Tree demo to use treeData

* clean up
2020-07-30 18:12:45 +08:00
偏右
3d58b5a6b4
test: 📦 add compressed-size-action (#25902) 2020-07-30 17:47:27 +08:00
07akioni
30d7231d08
feat: Select onClear (#25907)
* feat: Select onClear

* chore
2020-07-30 17:38:53 +08:00
xrkffgg
309f63ae1d
fix: slider default tooltipplacement in rtl (#25909) 2020-07-30 17:04:13 +08:00
zhangchen
2f99dd8c19
fix: Typography demo Interactive (#25908) 2020-07-30 16:54:49 +08:00
wa-ri
b9db9cd79f
docs: fix typo (#25914) 2020-07-30 15:44:30 +08:00
07akioni
97d1ae096d
fix: Radio.Button disabled text color (#25911) 2020-07-30 15:29:21 +08:00
07akioni
0dff111081
Refactor carousel style (#25906)
* refactor: Carousel style for fix vertical-align

* fix: remove slide border
2020-07-30 14:06:16 +08:00
zombiej
cdefaec190 docs: Update DatePicker docs 2020-07-30 13:56:18 +08:00
Omri Grossman
8800b56e47
fix: The 'indentSize' in the Table component couldn't be zero value (#25890)
* - Fixed the indentSize prop of Table.tsx to also accept 0 values

* - Undo Cascader component test snapshots

* - Added test case
- Used check with typeof === number instead of `undefined` and `null`

Co-authored-by: omri.g <omri.g@alibaba-inc.com>
2020-07-30 10:16:44 +08:00
偏右
cc7ad06a43
Merge pull request #25889 from ant-design/master
chore: merge master into feature
2020-07-29 21:32:11 +08:00
偏右
7776722bdc
fix: Carousel height issue (#25886)
* chore: 🎬 improve carousel demos

* fix: Carousel weired height issue

close #25878

* fix snapshot
2020-07-29 18:35:52 +08:00
偏右
bf0cd1073b
style: increase @text-color contrast (#25630)
* style: increase @text-color contrast

* update UI image snapshot
2020-07-29 17:52:47 +08:00
xrkffgg
672066ccae
feat: add Typography.Title level 5 (#25861)
* feat: add Typography.Title level 5

* fix test
2020-07-28 20:39:43 +08:00
xrkffgg
a204c7fc0c
docs: update dropdown demo text (#25864) 2020-07-28 20:07:09 +08:00
07akioni
44b51dc2b7
fix: Badge style import (#25863) 2020-07-28 17:59:14 +08:00
偏右
8eb4e83535
test: increase test covarage (#25857)
* test:  increase test covarage

* fix test case
2020-07-28 17:54:46 +08:00
CornerSkyless
ab9c477638
feat: Add maxLength and autoSize in Typography editable config (#25373)
* feat: Add maxLength and autoSize in Typography editable config

* doc: add version column of maxLength and autoSize

* doc: add demo of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* doc: fix version column of autoSize and maxLength

* snapshot: add snapshot

* snapshot: add snapshot

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* snapshot: add snapshot

* update version column

* feat: Add maxLength and autoSize in Typography editable config

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* doc: fix version column of autoSize and maxLength

* snapshot: add snapshot

* snapshot: add snapshot

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* snapshot: add snapshot

* update version column

* add snapshot
2020-07-28 17:48:37 +08:00