Commit Graph

17620 Commits

Author SHA1 Message Date
zefeng
55133b7757
chore: use purecomponent replace shallow compare (#21575) 2020-02-25 16:23:34 +08:00
偏右
2f91dd4925
🎬 fix Form demo warning (#21576)
close #21543
2020-02-25 16:21:24 +08:00
Frank
30f83688a3
update rc-virtual-list version (#21571)
#21027 Error not resolved in alpha version
2020-02-25 13:19:02 +08:00
zefeng
a3122b7683
fix: fix sortGradient ignore incorrect percent (#21564) 2020-02-25 12:21:49 +08:00
偏右
a321b5e5ea
Merge pull request #21568 from ant-design/master
chore: Merge master into feature
2020-02-25 11:25:08 +08:00
zefeng
778dfe5857
fix: fix trailColor in line-type progress and add trailColor in docs (#21552) 2020-02-25 11:11:19 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
偏右
b35498aa73
add test case for message.config (#21556) 2020-02-24 16:58:09 +08:00
偏右
b53cf30fc0
💄 refactor descriptions code (#21557) 2020-02-24 16:57:39 +08:00
信鑫-King
ec028365b0
release: 4.0.0-rc.6 (#21548)
* docs: changelog

* docs: changelog

* 📝 changelog

* docs: changelog

* docs: changelog

* docs: changelog
2020-02-24 15:49:27 +08:00
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