Commit Graph

10736 Commits

Author SHA1 Message Date
二货机器人
a90aa25b1b
chore: Export Rule interface (#21411) 2020-02-17 15:28:23 +08:00
Clair Duan
a875bfd28c
feat: custom Upload action icons removeIcon and downloadIcon (#21363)
* feat: add removeIcon and uploadIcon in API showUploadList

* test: test for removeIcon and downloadIcon

* docs: Upload docs and demo of downloadIcon and removeIcon

* test: update snapshot of uploadlist

* test: update Upload demo test snapshots

* fix: remove className of Upload custom action icons

* test: upldate Upload snapshot

* test: add trailing comma in upload-custom-action-icon.md

* fix: render Upload custom action icons with React.cloneElement

* test: update Uploadlist tests

* test: use string in Upload custom icon test

* fix: remove unused-var SmileOutlined in Upload demo

* fix: fix mouseEvent param missing in Upload ActionIconRender

* fix: fix mouseEvent type in Upload ActionIconRender

* fix: test mouseEvent in upload-custom-action-icon demo

* fix: fix the missing props spread in Upload custom icon

* test: add test for custom onClick in custom Upload icon

* fix: add remove test for custom Upload icon
2020-02-17 14:55:16 +08:00
二货机器人
502d575906
fix: Remove motion in TreeSelect (#21410) 2020-02-17 14:53:22 +08:00
偏右
641b1c43cd
💄 Add @divider-text-padding (#21407)
update it's default value to 1em
2020-02-17 14:03:40 +08:00
何乐
56bccb02a8
[Radio.Button] fix: replace 'outline' with 'box-shadow' (#21392)
* fix: replace 'outline' with 'box-shadow'

* chore: add transition for presudo element

* chore: use 'content-box' + 'padding' instead of 'calc()'

* chore: style lint
2020-02-16 18:26:11 +08:00
Amumu
ed53a4665c
improve i18n docs (#21394) 2020-02-16 18:18:01 +08:00
Orkhan Huseynli
28a529274b
feat: Azerbaijani translation (#21387)
* add Azerbaijani translation

* fix: rename Azerbaijani translation file

* fix: add az_AZ.txs file into locale/ folder

* fix: linting error on tranling comma

* fix: duplicate locales in locale-provide, a typo

* https://github.com/ant-design/ant-design/issues/21343 - fix (#21344)

* fix(Form): label width not correct when screen less than xs (#21222)

* fix(Form): label width not correct when screen less than xs

* fix form item control width

* fix css selector priority

* fix: separate translation into multiple files for Azerbaijani locale

* fix: wrong import from tr_TR locales into az_AZ

* fix: typo in calendar locale az

* add Azerbaijani translation

* fix: rename Azerbaijani translation file

* fix: add az_AZ.txs file into locale/ folder

* fix: linting error on tranling comma

* fix: duplicate locales in locale-provide, a typo

* add: time picker az_AZ locale

* fix: separate translation into multiple files for Azerbaijani locale

* fix: wrong import from tr_TR locales into az_AZ

* fix: typo in calendar locale az

* update: rc-picker in package.json

Co-authored-by: ElliotAshby <47282526+ElliotAshby@users.noreply.github.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2020-02-15 22:28:12 +08:00
偏右
30a3ac63ef
Add test case for ConfigProvider and Spin (#21384) 2020-02-14 19:02:53 +08:00
ILdar Nogmanov
fc20e6e059
Add missed white space (#21379) 2020-02-14 16:01:44 +08:00
偏右
40718f597a chore: remove unused iconClassName from definition (#21378)
close #21367
2020-02-14 12:32:24 +08:00
taichiyi
cd19fa595a
docs: fix table rowSelection (#21368) 2020-02-13 18:32:35 +08:00
偏右
49b7a0ccd2
test: Increase Slider and Input test coverage (#21364)
*  Add test case to Slider

* increae cov and make hidden textarea works with screen readers
2020-02-13 17:32:07 +08:00
二货机器人
8ce475b78d
Update index.less (#21365) 2020-02-13 16:13:06 +08:00
偏右
291ba0c4be
🆙 pass disabled to custom prev and next buttons (#21361)
close #21351
2020-02-13 13:31:37 +08:00
Amumu
0ef326bff3
add MenuItemGroupProps export (#21356) 2020-02-12 20:45:57 +08:00
xrkffgg
11d06d5d83
style: fix datepicker disabed style (#21352) 2020-02-12 15:18:08 +08:00
偏右
f4961411c7
🐛 Fix Affix throws Cannot read property getBoundingClientRect (#21350)
close #21348
2020-02-12 13:03:32 +08:00
骗你是小猫咪
e01755cfed
fix(Form): label width not correct when screen less than xs (#21222)
* fix(Form): label width not correct when screen less than xs

* fix form item control width

* fix css selector priority
2020-02-12 10:50:33 +08:00
二货机器人
5425d8451e
fix input lg height issue (#21338) 2020-02-11 17:48:36 +08:00
二货机器人
b35f30e17a
docs: Form onFinish & getFieldsValue only get validate Field values (#21323)
* update faq

* clean up

* update faq
2020-02-11 17:04:13 +08:00
偏右
ef36e17bb6
🐛 fix Badge color not working when contains children (#21333)
close #21331
2020-02-11 12:56:18 +08:00
afc163
2e419b264b 💄 fix Badge function name
close #20253
2020-02-11 10:49:09 +08:00
二货机器人
68d5e2c8ef
omit validateFirst (#21329) 2020-02-10 21:55:55 +08:00
偏右
3e8be5be6b
🐛 fix Alert button extra padding in Firefox (#21325)
close #21324
2020-02-10 19:52:12 +08:00
Artin
297c3961ea fix: table export ColumnProps (#21321) 2020-02-10 17:43:45 +08:00
二货机器人
4192c1f6d9 fix: Some input style issue (#21316)
* fix firefox flex bug

* fix input wrapper style

* fix clear text style

* update snapshot
2020-02-10 15:26:32 +08:00
佛门耶稣
06de637163 no overwrite expandIconColumnIndex if set (#21315) 2020-02-10 15:04:22 +08:00
偏右
cf4808b50e 🐛 Fix Menu collapsed jumping (#21314)
close #21301
2020-02-10 13:50:22 +08:00
偏右
5000773074 🎬 improve dropdown demos in mobile (#21312)
close #21267
2020-02-10 13:07:07 +08:00
二货机器人
06afc9cd9c
fix: Button.Group size style issue (#21307)
* remove useless fixing line-height

* update snapshot
2020-02-10 11:32:37 +08:00
偏右
e8b81b5d31
💄 tweak steps 1px align (#21306)
https://github.com/ant-design/ant-design/issues/21257#issuecomment-583865088
2020-02-10 11:29:14 +08:00
Amumu
1dcbd60067
fix tree node spread warning (#21303) 2020-02-10 10:08:32 +08:00
yoyo837
e2a1b30bd7 Revert "explainAndExtraDistance"
This reverts commit ead1ca5ce2.
2020-02-09 19:15:50 +08:00
yoyo837
ead1ca5ce2 explainAndExtraDistance 2020-02-09 19:14:34 +08:00
Amumu
02a71d0ddd
fix: form item Input size error with prefix or suffix (#21290)
* fix form item Input size error with prefix and suffix

* snapshot

* add test case

* revert width
2020-02-09 11:57:42 +08:00
二货机器人
d374cfd5fc
Merge pull request #21284 from ant-design/feature
chore: Master merge feature
2020-02-08 12:02:06 +08:00
二货机器人
8b20fbc96c
docs: Update hooks description (#21279)
* docs: Update notification faq

* patch faq in Modal
2020-02-07 20:32:00 +08:00
二货机器人
3080611883
feat: Notification support hooks for context (#21275)
* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
2020-02-07 17:55:26 +08:00
偏右
04bc6d5b28
🔧 remove react-router from devDeps (#21276) 2020-02-07 17:08:37 +08:00
偏右
22908c4010
🐛 Typography editable should focus at the end (#21268)
close #21261
2020-02-07 13:15:24 +08:00
偏右
d23c550976
💄 new tabs style (#21256)
smaller bar width
2020-02-07 11:08:16 +08:00
偏右
369b284d8d
docs: clean up TreeSelect deprecated usage (#21243) 2020-02-07 11:07:48 +08:00
偏右
bebc662940
🐛 Fix Steps style when size="small" and labelPlacement="vertical" (#21258)
close #21257
2020-02-06 16:59:17 +08:00
信鑫-King
6166f5b42d
chore: dark site style (#21246)
* fix: dark site style

* fix: format

* fix: update snapshot

* fix: site params

* fix: site style
2020-02-06 14:43:16 +08:00
偏右
06ba40e860
🆕 Add bordered prop (#21242)
close #19859
2020-02-06 10:02:02 +08:00
二货机器人
a3da49e292
fix: Transfer search input style collapsed (#21247) 2020-02-05 19:11:41 +08:00
Kermit Xuan
7b7afac38e
fix(#19879): add drag class to slider and upgrade slider to 9.2.1 (#21244)
* fix(#20523): update rc-pagination to 1.20.13

* fix(#19879): add drag class to slider and upgrade slider to 9.2.1
2020-02-05 18:47:10 +08:00
二货机器人
52a1600a01
fix: Badge number style (#21235)
* fix css priority

* update snapshot

* update snapshot
2020-02-05 13:52:26 +08:00
偏右
74f01d8485
Merge pull request #21226 from ant-design/feature
chore: Merge feature into master
2020-02-04 22:59:21 +08:00
afc163
8debe2eb65 test: update snapshot for pt_BR locale 2020-02-04 22:05:06 +08:00