KingxBeta
d4fd8f2698
style(descriptions): fix content overflow ( #27195 )
...
* fix: .ant-descriptions-item-content add word-break:break-word; style
* Update index.less
修改顺序
Co-authored-by: wangyk <wangyikan@mchz.com.cn>
2020-10-16 22:28:02 +08:00
Yulia Maximova
1113867378
fix: form customizing mixin ( #26422 )
...
* fix: add styling form input background-color
* fix: conflict resolution
Co-authored-by: Maksimova, Yuliya <Yuliya.Maksimova@nexign.com>
2020-10-16 22:25:36 +08:00
偏右
c72ee71d6f
fix: clear Password value attribute in controlled mode ( #27191 )
...
close #27171
2020-10-16 18:05:13 +08:00
偏右
fb9d2e6738
fix: notification width in small screen ( #27189 )
...
close #27188
2020-10-16 16:07:56 +08:00
Tom Xu
274871b50c
docs(button): improve docs and shape remove undeclared doc type ( #27159 )
...
* docs(button): improve docs
* Update index.less
2020-10-16 15:50:19 +08:00
Yu Mao
b4e748c28a
fix: Cascader duplicated className ( #27187 )
...
close #27168
2020-10-16 15:48:23 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
...
* improve: useCombinedRefs code
* change location
2020-10-16 10:21:21 +08:00
Richard Freling
7d59890c5c
feat: 🖼 Image support preview.getContainer ( #26713 )
2020-10-15 22:56:32 +08:00
Yu Mao
acc2e03ddf
fix: add optional rules property ( #27164 )
...
* fix: add optional rules property
* fix: replace interface
2020-10-15 22:31:51 +08:00
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit ( #27175 )
...
* fix: if form warp drawer, close button will trigger submit
* update snapshot
2020-10-15 18:54:24 +08:00
zombiej
0b592203b2
docs: Update Modal faq
...
close #27169
2020-10-15 18:32:48 +08:00
偏右
1c38e68a0f
fix: Dropdown icon margin style ( #27165 )
...
close #22274
2020-10-15 14:13:17 +08:00
afc163
771352c5ca
docs: fix remark lint
2020-10-15 13:33:14 +08:00
偏右
0a3af0b2e2
fix: 💄 Layout.Sider collapsedWidth cannot work without @menu-collapsed-width ( #27154 )
...
* fix: collapsedWidth do not work on Sider
* fix test case
* fix test case
* fix extra trigger div
* fix lint
2020-10-15 10:42:15 +08:00
Kermit Xuan
e883e4ba40
fix(date-picker): showTime should work correctly when format is function ( #27156 )
2020-10-14 23:00:18 +08:00
二货机器人
43e2651b9c
fix:Typography miss block & pre style ( #27150 )
...
* feat: Add block & pre style
* fix lint
2020-10-14 19:56:31 +08:00
偏右
2788140d1a
Merge pull request #27137 from ant-design/master
...
chore: merge master into feature
2020-10-14 16:35:29 +08:00
偏右
50d8c38f2c
fix: 🐛 Tabs animated={true} should works ( #27145 )
...
close #27135
2020-10-14 16:34:15 +08:00
Tom Xu
2beb594b71
refactor(result): useContext and improve code ( #27128 )
...
* refactor(result): useContext and improve code
* Update index.tsx
* Update index.tsx
2020-10-14 15:24:26 +08:00
Tom Xu
f6769e3e94
refactor(grid): useContext and improve code ( #27127 )
2020-10-14 15:19:07 +08:00
偏右
c7e51aba13
test: ✅ fix modal test cases ( #27143 )
...
* test: ✅ fix modal test cases
* 🆙 upgrade remark-lint
2020-10-14 14:52:26 +08:00
偏右
ea48827e06
docs: fix API description
2020-10-14 14:42:57 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size ( #27129 )
...
* refactor: some styles to reduce css bundle size
* test: update snapshot
* fix snapshot
* fix test case
* fix addonAfter
* fix firefox style
* reduce riddon css size
* fix Input.Group border radius
* remove unused css selectors
* fix test cov
* fix search button hover border
* fix rtl textarea clear icon style
* update demos
* fix search rtl style
* fix input search style
2020-10-13 21:16:20 +08:00
偏右
4bcac2d986
fix: Divider color with text ( #27134 )
...
* chore: use @border-width-base
* fix: Divider color with text
close #27132
2020-10-13 20:22:17 +08:00
xrk
6288f0a86e
fix: radio checked cursor style when disabled ( #27125 )
2020-10-13 18:32:18 +08:00
Tom Xu
b896556823
style: fix Typography Link color ( #27119 )
...
* style: fix Typography Link color
* Update index.less
2020-10-13 18:31:48 +08:00
afc163
288f0caf48
merge feature
2020-10-13 11:47:11 +08:00
zoomdong
e6cc0009c3
feat: Input.Textarea support size props ( #27110 )
...
* feat: Input.Textarea add size props
* update snapshot
* update snapshot
* add case
* fix code
2020-10-12 20:39:51 +08:00
偏右
88fde9f9f7
style: fix Typography Link color ( #27104 )
...
close #27088
2020-10-12 16:24:26 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction ( #27101 )
...
* style: fix Pickers wrong animation direction
* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
Tom Xu
f487d8dba8
refactor(checkable-tag): improve code ( #27097 )
2020-10-12 15:07:47 +08:00
xrk
f0f39895b5
style: optimize Input.TextArea count style in rtl ( #27098 )
2020-10-12 12:43:04 +08:00
xrk
852b28c235
docs: update menu api ( #27096 )
...
* docs: update menu api
* perf
2020-10-12 12:00:00 +08:00
Tom Xu
b64d02fda9
refactor(input-number): useContext ( #27086 )
2020-10-12 10:59:40 +08:00
Tom Xu
1f0d074caa
refactor(image): improve code ( #27087 )
2020-10-12 10:59:09 +08:00
Liu Ya
41d520ab82
docs: update Typography.Text ( #27093 )
2020-10-12 10:49:17 +08:00
lich-yoo
1a4f5f7909
docs: update modal version column ( #27094 )
2020-10-12 10:47:09 +08:00
Gerson Garrido
02fc6b1646
Updating es_ES locale docs ( #27079 )
2020-10-11 02:56:12 +08:00
afc163
de447ea758
Merge branch 'master' of github.com:ant-design/ant-design
2020-10-10 23:13:36 +08:00
afc163
679f0529fa
docs: 📝 fix Form API table, close #27078
2020-10-10 23:12:34 +08:00
Arnaud Benhamdine
3a7273b5da
docs: fix behaviour of modal draggable zone ( #27077 )
...
The behaviour of the draggable zone in the modal was incorrect : the header was supposed to be the only draggable zone, but because of an inverted logic of state change, all the modal was draggable
2020-10-10 23:02:38 +08:00
偏右
94cab40b04
feat: InputNumber support onStep ( #27075 )
...
* feat: InputNumber support onStep
* fix test case
* fix dep
2020-10-10 17:49:50 +08:00
偏右
5db8813c64
docs: Update Image index.zh-CN.md ( #27073 )
2020-10-10 15:28:24 +08:00
偏右
2d676fb528
docs: update Image API ( #27071 )
...
* Update index.en-US.md
* Update index.zh-CN.md
2020-10-10 15:26:05 +08:00
偏右
0fec3aa602
Merge pull request #27064 from ant-design/feature
...
chore: merge feature into master
2020-10-10 14:13:11 +08:00
zombiej
5909a4dae5
docs: Update form rule enum desc
2020-10-10 14:01:39 +08:00
偏右
4bf062c2a8
test: fix test cov ( #27065 )
...
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
afc163
68a1b18232
merge feature into master-to-merge-feature
2020-10-10 11:36:02 +08:00
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
...
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
2020-10-10 11:30:58 +08:00
Tom Xu
dfbe4b701c
fix: locale by_BY lint ( #27061 )
...
* fix: locale lint
* Update index.test.js.snap
2020-10-10 09:13:31 +08:00
StIvan8
4107c83234
feat: add Belarusian translation ( #27028 )
...
* add Belarusian language translation
* add Belarusian locale, fix bugs
* fix: slider and select version
2020-10-09 21:37:07 +08:00
iorikingdom
a711a4172d
fix: add Japanese localization for Table ( #27043 )
...
* Update ja_JP.tsx
增加了几处日语翻译,希望下个版本能用上
* Update ja_JP.tsx
补全Table的日语翻译
* Update ja_JP.tsx
稍微修改了一下
* Update ja_JP.tsx
2020-10-09 21:32:41 +08:00
偏右
7662160880
fix: Radio cannot use Tooltip ( #27050 )
...
resolve #26921
resolve #25222
close #26929
2020-10-09 18:01:04 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Tom Xu
f812855122
refactor: Remove layout deprecated ( #27039 )
...
* Update Sider.tsx
* Update Sider.tsx
* Update Sider.tsx
* Update Sider.tsx
2020-10-09 11:04:38 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
2020-10-09 10:08:52 +08:00
xrk
b173b5b8f5
fix: sliderProps typeScript define ( #27033 )
...
* fix: sliderProps typeScript define
* update rc-slider
* update
* update
2020-10-09 09:37:26 +08:00
zombiej
b651178685
chore: Update snapshot
2020-10-08 21:28:51 +08:00
Tom Xu
2eec689d74
feat: Space add split ( #26948 )
...
* feat: Space add split
* Update index.en-US.md
* changed
* improve
* improve
* Update demo.test.js.snap
* Update vertical-split.md
* Update demo.test.js.snap
* remove vertical-split
* Update demo.test.js.snap
2020-10-08 18:41:40 +08:00
Amumu
a2a4fa302d
docs: update form migrate docs title ( #27029 )
2020-10-08 13:15:13 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
2020-10-07 02:09:08 +08:00
Alper TUNCA
f1c75c5ef6
fix: Update tr_TR.tsx ( #27017 )
...
Adding Turkish mean for the optional tag from 4.6.0 antd
2020-10-07 02:03:53 +08:00
xrk
20efc58a8a
style: optimize loading icon in rtl ( #27010 )
2020-10-05 16:20:14 +08:00
Lim Shang Yi
fa3c00ce1a
fix: undefined in filterDropdown in Table should not render dropdown filter icon. ( #27002 )
...
close #26988
2020-10-04 21:56:29 +08:00
Tom Xu
514cc062be
chore: fix timeline TimelineItemProps typo ( #27001 )
...
* chore: fix timeline TimelineItemProps typo
* Update Timeline.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
Co-authored-by: Olivier Louvignes <olivier@mgcrea.io>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-10-03 22:03:09 +08:00
xrk
1a594a467e
chore: merge master into feature ( #26998 )
2020-10-03 12:18:19 +08:00
Lim Shang Yi
08ca032550
fix: missing autoFocus prop in Slider. Fixes #26982 ( #26995 )
2020-10-02 22:16:18 +08:00
Lim Shang Yi
ef3aabdf7d
fix: Slider step prop not accepting null value ( #26984 )
...
* Fixes #26976 since rc-slider allows step to be null
* Fixes #26976 since rc-slider allows step to be null
* test: Slider step prop should not crash with undefined value
2020-10-02 22:15:12 +08:00
Anawin W
88fc56fde8
fix: Update th-TH locale for new date-pickers ( #26993 )
2020-10-02 20:05:58 +08:00
Amour1688
9cd432e52e
chore: useContext
in Empty ( #26991 )
...
* chore: `useContext` in Empty
* chore: update empty/index.tsx
2020-10-02 14:00:02 +08:00
Niyaz Akhmetov
1aee1670cf
docs: ✏️ replace is
with are
( #26983 )
2020-10-02 13:15:41 +08:00
骗你是小猫咪
bd62870258
chore: upgrade rc-table ( #26973 )
...
* chore: upgrade rc-table
* improve doc
2020-09-30 20:41:34 +08:00
xrk
4f177ddc96
docs: update tag status demo ( #26971 )
2020-09-30 20:00:21 +08:00
xrk
76a85ca14e
fix: List action rtl style ( #26964 )
2020-09-30 17:30:25 +08:00
xrk
0ddd367b51
docs: update tabs extra demo ( #26968 )
2020-09-30 17:08:39 +08:00
xrk
39cf26f4fb
docs: update image demo ( #26962 )
2020-09-30 16:46:44 +08:00
xrk
26c5c6e533
style: optimize transfer pagination rtl style ( #26960 )
2020-09-30 15:23:02 +08:00
xrk
cf717225d1
fix: upload rtl style ( #26961 )
2020-09-30 15:22:30 +08:00
xrk
93a8605236
style: optimize tag style in rtl & dark ( #26955 )
2020-09-30 11:14:03 +08:00
二货机器人
442c146e3c
refator: update rc-dialog to remove rc-animate
( #26940 )
...
* chore: bump rc-dialog
* fix 1 test case
* test case
* more test
* fix confirm test case
* clean up
* fix snapshot
* update local-provider snapshot
* update Modal snapshot
* fix test of dialog hook
* fix lint
2020-09-29 19:33:37 +08:00
forl
f6c2ffcc8f
docs: update the Chinese doc of the Search component ( #26937 )
2020-09-29 13:37:04 +08:00
xrk
e5eb7de417
style: optimize tag typescript define ( #26932 )
2020-09-29 11:06:12 +08:00
偏右
01d757b660
Merge pull request #26923 from ant-design/master
...
chore: merge master into feature
2020-09-28 15:35:33 +08:00
daczczcz1
493d1b148d
feat: add several translations for pl_PL locale ( #26913 )
...
* feat: add several translations for pl_PL locale
* add dangling comma
2020-09-28 14:47:42 +08:00
骗你是小猫咪
20f04e428f
docs: add Image Preview doc ( #26915 )
2020-09-28 14:15:23 +08:00
二货机器人
3d5f9b0ac5
chore: bump rc-notification ( #26919 )
...
* chore: bump rc-notification
* test: fix on test
* test: Fix config.test
* fix test
* fix message test case
2020-09-28 00:41:16 +08:00
Anawin W
46bbad77c4
feat: add missing translations in th_TH locale ( #26906 )
2020-09-26 23:07:25 +08:00
偏右
c7d376001a
fix( 🐛 ): Steps item shifts in vertical mode ( #26894 )
...
close #26874
2020-09-25 15:43:01 +08:00
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