Commit Graph

17360 Commits

Author SHA1 Message Date
zombiej
3f8d6cd4f0 merge feature 2020-02-24 13:10:29 +08:00
二货机器人
1fad2b0277
fix: Lots of Descriptions (#21542)
* refactor

* class name

* update demo snapshot

* clean up

* update snapshot

* fix test case

* more test case

* adjust logic
2020-02-23 20:48:16 +08:00
zombiej
8d7f1dadef chore: Update Description snapshot with mount render instead 2020-02-23 17:07:55 +08:00
shmilyKang
6b9e7fc9dd
完善Table Api的Scroll的说明 (#21540)
提示scroll也可以修改滚动区域的宽高。
2020-02-23 13:36:02 +08:00
mjfwebb
bdd79ec9f3
Update index.en-US.md (#21536) 2020-02-23 01:26:35 +08:00
二货机器人
30dca50249
fix: Notification can not stack when first init (#21531)
* init test case

* use promise for dealy handler

* fix test
2020-02-23 00:02:48 +08:00
二货机器人
4358f48abd
fix table selection with empty children error (#21528) 2020-02-22 22:19:33 +08:00
偏右
e41e4cc88f
🆙 upgrade typescript to 3.8 (#21510) 2020-02-21 17:49:25 +08:00
afc163
b4636ab2df 💄 tweak Upload showDownloadIcon default value
it should be false
2020-02-21 13:11:07 +08:00
afc163
2a48ea0be3 :docs: update browsers support 2020-02-20 21:11:15 +08:00
二货机器人
7e649ec1b6
fix: Input with readOnly should not clearable (#21494) 2020-02-20 19:56:22 +08:00
偏右
db1383ca58
🐛 Fix Form forwardRef ts error (#21483)
https://github.com/ant-design/ant-design/pull/21482#issuecomment-588642994
2020-02-20 16:36:47 +08:00
Tannmay S Gupta
1394e0a651
docs: In Chinese and doesn't prompt an auto translate (#21428)
* In Chinese and doesn't prompt an auto translate

All the pages on the website are in English, whereas this page is in Chinese. Creating an abrupt experience. 
The work with us page is not prompting the auto-translate feature on chrome or Edge Beta, or a person unfamiliar with the language it might be annoying to figure out which one it is

* Apply suggestions from code review

The new email looks like a real id

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2020-02-20 10:29:23 +08:00
zombiej
9a90c5b910 chore: Patch fix of #21476 2020-02-19 22:16:55 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
程成
c968184348
fix: upload 识别图片类型逻辑错误 (#21473)
* fix: upload 识别图片类型逻辑错误

当 uploadFile 有类型时,直接对 类型 进行判断即可

* test: 增加识别文件类型的测试用例
2020-02-19 20:12:44 +08:00
偏右
b38ab0653c
Update pr_cn.md 2020-02-19 19:22:11 +08:00
二货机器人
18d2f04c30
docs: Remove optionLabelProp in AutoComplete doc (#21469)
* update doc

* fix doc
2020-02-19 17:58:52 +08:00
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError (#21462)
* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* update docs
2020-02-19 17:38:46 +08:00
砖家
2bb0aaf5d4
feat: add umi hooks (#21460) 2020-02-19 16:21:26 +08:00
二货机器人
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