Commit Graph

17340 Commits

Author SHA1 Message Date
二货机器人
5d2bbdd67f
feat: onPanelChange will also trigger by panel value change (#21455) 2020-02-19 13:51:45 +08:00
二货机器人
c8d4e8b4a5
Merge pull request #21454 from ant-design/merge-master
chore: feature merge master
2020-02-19 13:34:11 +08:00
zombiej
9eab33e09b merge master 2020-02-19 13:20:43 +08:00
二货机器人
034113d876
Update migration-v4.en-US.md (#21450) 2020-02-19 10:05:51 +08:00
二货机器人
71a3575f49
Update migration-v4.zh-CN.md 2020-02-19 10:02:12 +08:00
Rick Zhou
d58fcfd31d
fix: bump rc-select version to resolve #21210 (#21446) 2020-02-19 09:16:38 +08:00
二货机器人
7dd9239126
pin version (#21437) 2020-02-18 19:03:13 +08:00
二货机器人
0ea16a8841
docs: Add faq about item height (#21433)
* docs: Add faq about item height

* update
2020-02-18 17:29:35 +08:00
二货机器人
8738e1a623
docs: Update migration-v4 doc (#21429)
* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

* Update migration-v4.zh-CN.md

* Update migration-v4.en-US.md

* Update migration-v4.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-02-18 17:27:13 +08:00
二货机器人
1b15ccacc8
fix: Fixed Table small style (#21431) 2020-02-18 16:28:25 +08:00
偏右
4f2ef2a355
🐛 Fix Form throw error when using BraftEditor (#21425)
component.props.onChange should not run when it is falsy

close #21415
2020-02-18 15:38:00 +08:00
Amumu
e275895523
fix: 较小的@form-item-margin-bottom时表单验证信息切换时表单项抖动 (#21302)
* explainAndExtraDistance

* fix variable
2020-02-17 19:35:58 +08:00
二货机器人
ed1959c13e
fix: Input click should get focus (#21413)
* fix: Click border should also focus

* update snapshot

* update snapshot

* fix TextArea

* update snapshot
2020-02-17 19:12:42 +08:00
二货机器人
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
chenshuai2144
8e39ebacd0 bump 4.0.0-rc.5 2020-02-17 10:49:02 +08:00
陈帅
976afc1573
docs: add 4.0.0-rc.5 changelog (#21396)
* doc: add 4.0.0-rc.5 changelog

* docs: fix typo

* feat: add user

* doc: fix typo

* doc: fix typo

* doc: fix typo

* doc: fix typo

* doc: fix typo

* doc: fix typo
2020-02-17 09:43:33 +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
何乐
f7378ac4e6
fix(site): the search box is 2px taller than radio buttons (#21390)
* fix(site): the search box is 2px taller than radio buttons in the same row

* fix: remove extra 1px margin of input suffix
2020-02-16 18:20:05 +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
ElliotAshby
7eb4852e02
https://github.com/ant-design/ant-design/issues/21343 - fix (#21344) 2020-02-11 22:38:06 +08:00
Florian Guitton
0e34ca6076
feat: Adding custom renderer for select with demos (#21064)
* Adding a custom renderer for tags

* Adding edit experience example

* react-component/select#445 as been released in rc-select:10.0.0-rc.5 this becomes a minimum for this feature

* Fixing ci/circleci: lint error on unused value variable

* Adding test snapshots for the new demos snippets

* Fix Missing trailing comma in demo component

* Revert unrelated changes

* Updating readme description with added chinese translation

* Removing second demo, cleaning up first demo code, test snapshot update

* Fixing bits of language

* Addressing comments and simplifying custom rendering logic

* Moving to mode "multiple" instead of "tags"
2020-02-11 20:00:56 +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
二货机器人
efcdc099b4 docs: Fix site reproduce (#21322)
* code pen only in legacy usage

* code pen style
2020-02-10 17:55:45 +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
depfu[bot]
9873ae39c0 Update stylelint-config-standard to version 20.0.0 (#21309) 2020-02-10 12:09:27 +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