Commit Graph

12462 Commits

Author SHA1 Message Date
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
07akioni
f498ae0344
fix: menu horizontal dark style & site (#25850)
* fix: menu horizontal dark style & site

* fix: lint

* fix: update snapshot

* chore: revert

* chore

* fix: padding transition glitch
2020-07-28 17:09:09 +08:00
偏右
246d3767ea
style: tweak divider border color (#25855) 2020-07-28 15:45:51 +08:00
moonrailgun
74d13f48b1
feat: Add size props for Badge (#25851)
* feat: add badge size

* test: add doc and testcase for badge size

* doc: update demo doc of Badge

* doc: update demo doc of Badge

* test: fix test case

* docs: add badge new props size addition version

* style: modify size of small badge
2020-07-28 15:27:50 +08:00
偏右
f4e76c603e
style: remove Select choice animation (#25852) 2020-07-28 15:06:18 +08:00
偏右
cffa9af09b
feat: export FormList interface (#25849)
close #24487
close #25835
2020-07-28 13:04:18 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 (#25843) 2020-07-27 22:32:21 +08:00
Hsuan Lee
b34841e39b
fix: Tabs focus state color when disabled (#25827) 2020-07-27 22:29:26 +08:00
07akioni
27d14741e3
Merge pull request #25841 from ant-design/feature
chore: merge feature into master
2020-07-27 22:16:47 +08:00
07akioni
c2f208e2d2
feat: steps percent (#25839)
* feat: Steps with progress

* test: update snapshot

* fix: lint

* Update package.json

Co-authored-by: 偏右 <afc163@gmail.com>

* refactor: remove progressIcon && rename percentage to percent

* test: snapshot

* fix: icon position offset

* fix: position offset

* fix: icon position offset

* docs

* fix: small line offset

Co-authored-by: 偏右 <afc163@gmail.com>
2020-07-27 21:40:36 +08:00
Kermit Xuan
53be0fb0a7
chore(picker): improve hovering experience (#25826) 2020-07-27 15:56:34 +08:00
Lukas Zeitler
826a42d90b
feat: add de_DE localisation for defaultValidateMessages for Form Component (#25823)
* Adds de_DE localisation for defaultValidateMessages for Form Component

* add de_DE localisation for default form validation messages
2020-07-27 11:10:44 +08:00
Kermit Xuan
366b704edc
fix: build site failed in webpack@4.44.0 (#25821) 2020-07-27 10:41:32 +08:00
07akioni
9d49434483 fix: merge conflict 2020-07-26 20:30:56 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
偏右
fca0da30e8
fix: Avatar fallback bug (#25806)
* refactor: avatar code

* fix: Fix Avatar fallback bug

close #25801

* add blank

* update demo
2020-07-26 16:53:50 +08:00