Commit Graph

12065 Commits

Author SHA1 Message Date
07akioni
9d49434483 fix: merge conflict 2020-07-26 20:30:56 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
偏右
fca0da30e8
fix: Avatar fallback bug (#25806)
* refactor: avatar code

* fix: Fix Avatar fallback bug

close #25801

* add blank

* update demo
2020-07-26 16:53:50 +08:00
afc163
9e104292a2 docs: 📝 update table locale API 2020-07-25 14:32:45 +08:00
07akioni
29da624411
fix: Table getCheckboxProps indeterminate not working (#25649)
* fix: Table getCheckboxProps indeterminate not working

* feat: Table warn when set halfChecked using  getCheckboxProps

* chore: rename expand-chidren.md to tree-data.md
2020-07-24 18:46:56 +08:00
07akioni
f38f297616
style: 💄 update Menu.Item horizontal style (#25622)
* refactor: menu style

* chore

* chore

* fix: site style
2020-07-24 14:39:47 +08:00
afc163
c299f1c420 docs: issue link of Cascader showSearch.matchInputWidth
https://github.com/ant-design/ant-design/issues/25779
2020-07-23 17:51:44 +08:00
xrkffgg
1fc3b59ada
fix: pagination button cursor style (#25772) 2020-07-23 17:35:13 +08:00
偏右
436465bd8a
fix: ⌨️ improve Accessibility by adding role (#25774)
for Alert/message/notification
2020-07-23 15:00:14 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +08:00
偏右
af27b029ad
Merge pull request #25743 from ant-design/master
chore: merge master into feature
2020-07-22 14:42:35 +08:00
zombiej
c5f3ea7b62 chore: Remove useless test case
ref #25736
2020-07-22 13:53:27 +08:00
zombiej
2742596b46 chore: Update snapshot 2020-07-22 13:02:25 +08:00
偏右
b466db56a7
Revert "docs: remove unnecessary code (#25738)" (#25740)
This reverts commit 6e8a14d62a.
2020-07-22 10:43:36 +08:00
hoho2017
6e8a14d62a
docs: remove unnecessary code (#25738)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-22 10:05:44 +08:00
afc163
7d7cbf803b 🇭🇰 zh-HK locale 2020-07-21 23:24:33 +08:00
Tejas H
7c8906a8a9
Fixed typos (#25671)
Typo fix: `col-order-esponsive` -> `col-order-responsive`
2020-07-21 23:08:24 +08:00
Joo Wu
877668b1df
🇭🇰 Add zh-HK (#25731) 2020-07-21 23:05:18 +08:00
Albert Zhang
26f1d201c0
feat: using alert role in form-item-explain (#25735) 2020-07-21 22:29:31 +08:00
二货机器人
356812627f
fix: Collect FormItem errors should be sync with state (#25737)
* passing error logic

* fix: Collect FormItem errors should be sync with stat
2020-07-21 20:51:36 +08:00
二货机器人
9728b9cc15
fix: FormItem with noStyle passing error logic (#25734) 2020-07-21 17:49:10 +08:00
zhangchen
22fdd41732
fix: Calendar validRange prevents disabledDate (#25626)
* fix: Calendar validRange prevents disabledDate

* update: code style

* fix: 25606

* update: useCallback mergedDisabledDate

* update: useCallback mergedDisabledDate

* add: test case
2020-07-21 16:29:27 +08:00
afc163
508cecd0a7 merge feature into master-to-merge-feature 2020-07-21 16:23:13 +08:00
偏右
5ac3313b7f
fix: Form control clear icon position (#25728)
* fix: Form control clear icon position

close #23430

* 🆙 eslint-plugin-unicorn
2020-07-21 16:18:31 +08:00
Amour1688
453f7d13f3
docs: optimize modal docs (#25724)
* docs: optimize modal docs

* docs: remove <br />
2020-07-21 12:26:56 +08:00
07akioni
3a50499b80
style: 💄 unify card action pane color with body color 2020-07-21 11:33:51 +08:00
hoho2017
da25fd1b38
docs: remove unused className (#25718)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-21 10:38:30 +08:00
zhangchen
51fa6fbdc4
fix: offset in FormItem's labelCol isn't work if layout is vertical (#25713) 2020-07-21 10:15:29 +08:00
丁文涛
f7cfc19465
docs: optimize button docs (#25712)
Co-authored-by: wynterding <dingwententao@youzan.com>
2020-07-21 10:07:38 +08:00
hoho2017
0222d4e7fe
chore: className here is unnecessary (#25701)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-20 15:35:15 +08:00
afc163
fb04927ada 📝 Add documentation for Form in Modal 2020-07-20 14:18:36 +08:00
xrkffgg
8ff35e818e
style: fix classnames to classNames (#25697) 2020-07-20 13:41:05 +08:00
xrkffgg
309c8d4404
style: add @zindex-popoconfirm (#25693)
* style: adjust @zindex-popover

* add ant-popconfirm

* update snap
2020-07-20 13:39:28 +08:00
偏右
188b4c75d5
Merge pull request #25657 from ant-design/master
chore: merge master into feature
2020-07-16 14:39:37 +08:00
偏右
ed3bd5e905
docs: 🎬 import Modal demo (#25655) 2020-07-16 14:02:19 +08:00
偏右
8fa79d7eab
update pagination snapshot (#25656) 2020-07-16 14:02:00 +08:00
afc163
77ed923fba docs: 🎬 import Modal demo 2020-07-16 13:51:48 +08:00
偏右
7bdd4fc1d7
fix: Layout trigger (#25653)
* refactor: layout code

* fix: Layout `trigger` could customize zero width trigger

close #25433
2020-07-16 12:07:59 +08:00
07akioni
f937a7fffe
feat: Input & Input.TextArea support bordered prop (#25617)
* feat: Input bordered prop

* fix: snapshot

* fix: borderless Input background-color -> transparent
2020-07-16 00:25:47 +08:00
xrk
acd3fe58d2
docs: fix layout demo style (#25645) 2020-07-15 23:36:40 +08:00
zoomdong
b814270983
feat: update rc-field-form@1.8.0 and support remove use array in Form.List (#25638)
* feat: update rc-field-form@1.8.0 and support remove in Form.List use array

* feat: update readme

* feat: fix add function

* update

* update version

* update version

* update version
2020-07-15 22:17:17 +08:00
07akioni
01cec29a8e
feat: Message hooks API (#25422)
* chore: comment on usePatchElement

* refactor: conform message & notifaction code logic

* feat: message useMessage, wip

* feat: message.useMessage, it works now

* fix: promise on regular api

* feat: message hooks

* chore: fix lint

* chore: new line

* chore: revert new line

* refactor: prefixCls

* fix: prefixCls

* test: cov

* chore

* chore

* chore

* chore

* docs

* docs: message hooks faq

* test: remove useless config provider

* chore: remove some test codes

* chore

* docs: hooks version
2020-07-15 19:51:56 +08:00
偏右
6a65b47df3
Merge pull request #25641 from ant-design/master
chore: merge master into feature
2020-07-15 19:10:03 +08:00
afc163
258d335450 docs: 📝 fix layout demo 2020-07-15 18:31:58 +08:00
xrk
96eec53cae
docs: add input.password iconRender (#25635) 2020-07-15 16:53:26 +08:00
xrk
8a18a85922
docs: fix table.md (#25629) 2020-07-15 15:09:50 +08:00
二货机器人
500ba8ab37
feat: Tree support titleRender (#25624) 2020-07-15 10:06:51 +08:00
WuJiali
4ec1b8ae09
feat: Description list plus extra operation area (#25512)
* feat: Description list plus extra operation area

* 修复title与extra对齐,加版本等问题

* 去掉basic里extra

* 修改extra样式

* title与extra都没有的时候不展示header

* 更新测试用例

Co-authored-by: chenshuai2144 <qixian.cs@outlook.com>
2020-07-14 20:37:21 +08:00
沐霖
906ba62e35
docs: Improve the Grid Col attribute description (#25623)
* Explain that the component properties are related to the screen

* docs: 补充Grid Col属性说明
2020-07-14 20:30:48 +08:00
偏右
cf42a16505
feat: Modal.config rootPrefixCls (#25613)
* feat: Modal.config rootPrefixCls

* fix tsd
2020-07-14 18:43:55 +08:00
偏右
3da88497ff
docs: info version about Modal.config (#25610) 2020-07-14 11:51:47 +08:00
偏右
f7ed77b52f
feat: support Modal.config for prefixCls (#25603)
* chore: refactor test cases

*  support Modal.config

* fix lint

* remove extra default prefixCls value

* fix tsd

* docs: fix api

* Update components/message/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrk <xrkffgg@gmail.com>
2020-07-14 11:14:46 +08:00
二货机器人
870138b088
Merge pull request #25604 from ant-design/master
chore: Feature merge master
2020-07-13 21:13:23 +08:00
xrk
2a051bac64
docs: fix layout demo (#25602) 2020-07-13 19:35:15 +08:00
Albert Zhang
cf9c08aca4
fix: customRequest file interface (#25598) 2020-07-13 14:11:55 +08:00
xrk
877caa2b03
feat: Avatar.Group (#25192) 2020-07-13 12:45:37 +08:00
zhangchen
fb869021aa
fix: Form.Item with help should display error style when validate failed (#25582)
* fix: Form.Item does not display validation message when set help

* fix: Form.Item does not display validation message when set help

* update: code style
2020-07-13 12:02:15 +08:00
大猫
5792b6e7c1
docs: add ProList recommendation (#25044)
* docs: add ProList recommendation

add ProList recommendation

* docs: ProList recommend move to API

docs: ProList recommend move to API。

* Update components/list/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-07-13 11:26:50 +08:00
偏右
b69d012da8
style: fix Descriptions breaks Table width when (#25593)
inside of expandedRowRender

close #25573
2020-07-13 11:26:15 +08:00
JinXin
ad8aa87373
feat: multi drawer push (#25445) 2020-07-12 18:47:14 +08:00
偏右
4b2bc6c6fb
Merge pull request #25589 from ant-design/master
chore: merge master into feature
2020-07-12 18:38:18 +08:00
xrk
ad7a37b836
docs: fix type in demo (#25590) 2020-07-12 18:14:35 +08:00
Albert Mañosa
6e7e3dc6a9
feat: refine Catalan ca_ES locale (#25583)
* Improve ca_ES locale

* feat: Refine ca_ES locale

* fix: Update locale-provider snapshot

* fix: Update locale-provider snapshot
2020-07-12 17:52:42 +08:00
Amir Arafat
b237bfde8a
feat: add missing translations in ar_EG (#25587)
* added Arabic locale text

* better Arabic translation

* fixed order of sentence.
2020-07-12 17:47:59 +08:00
Yunfly
f0efeeb451
docs: fix drag table not correct (#25585)
Co-authored-by: Yunfly <qinfy@knownsec.com>
2020-07-12 14:47:59 +08:00
zoomdong
12beeff3d6
docs: remove unseless TreeNode in Tree demo (#25578) 2020-07-11 12:52:16 +08:00
zombiej
ba3f84f5c5 docs: Update table resize demo desc
ref #14647
2020-07-10 22:56:16 +08:00
zoomdong
a3f1de3293
refactor(Grid): rewrite with hook (#24976)
* refactor: hooks

* fix: lint

* update hooks

* update ref
2020-07-10 17:38:28 +08:00
Yunfly
dd8e9f8568
fix: alert close optimization (#24460) (#24460)
Co-authored-by: Yunfly <qinfy@knownsec.com>
2020-07-10 17:26:39 +08:00
Kim Wing Fung
2bbdc2c911
feat: RangePicker onCalendarChange info support (#25568)
* Include new parameters for onCalendarChange to match rc-picker v1.12.0

* Use correct highlighting

* Update to rc-picker 1.12.1

* Include version information

* Adjust version information

Co-authored-by: Kim-Wing-Fung <c-kfung@powercosts.com>
2020-07-10 16:53:26 +08:00
xrk
d66458435d
docs: fix pagination api (#25565) 2020-07-10 15:18:40 +08:00
zhangchen
d04bd2fabc
fix: Table onChange event is triggered twice (#25520)
* fix: Table onChange event is triggered twice

* fix: Table onChange event is triggered twice

* test: should call onChange when change pagination size

* update: code style
2020-07-10 15:17:15 +08:00
xrk
6de959ce1a
docs: reduce demo calendar/carousel/collapse (#25553)
* docs: reduce demo

* add
2020-07-10 09:04:45 +08:00
07akioni
750931b14c
fix: Select showSearch align issue
* fix: selector ::after line-height

* chore

* test: update snapshots

* chore: revert debug demo

* chore
2020-07-09 18:40:40 +08:00
偏右
d5cb860347
Merge pull request #25541 from ant-design/master
chore: merge master into feature
2020-07-09 16:43:45 +08:00
07akioni
e5e44d2aae
refactor: Radio.Group use useMergedState (#25539) 2020-07-09 15:36:40 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
07akioni
daa0be6727
refactor: message style (#25531)
* refactor: message style

* chore: revert
2020-07-09 12:27:05 +08:00
07akioni
4c2acbda7d
Merge pull request #25528 from ant-design/master
chore: merge master into feature
2020-07-09 11:39:48 +08:00
Amumu
b3a7ed5575
fix typo (#25525) 2020-07-09 10:24:41 +08:00
二货机器人
24abadd994
fix: preserve warning in Gorm.Item (#25518) 2020-07-08 23:43:26 +08:00
zombiej
0b7271767e docs: Add FAQ about Form.Item name array rule
close #25508
2020-07-08 23:00:35 +08:00
Yu
260d40dffb
fix: Card cover margin bug when bordered is false (#25515) 2020-07-08 22:46:37 +08:00
二货机器人
fa6fe56a6a
chore: Default break word (#25516) 2020-07-08 22:33:07 +08:00
07akioni
673ccd6600
docs: update getPopupContainer (#25505) 2020-07-08 19:31:43 +08:00
yeshan333
1a692de9e2
docs: Update components/table/demo/custom-filter-panel.md (#25502)
Improved the quality of the sample code.  Considered the case when the data does not exist. If the user searches, an error will be reported.
2020-07-08 18:10:15 +08:00
偏右
0c5f3cce7a
fix: nested Table cell background (#25498)
close #25480
2020-07-08 14:48:11 +08:00
07akioni
a73abb9487
feat: Badge.Ribbon (#25456)
* feat: Badge.Ribbon, wip

* feat: Badge.Ribbon

* test: Badge.Ribbon

* chore

* test: update snapshot

* fix: Badge.RibbonStyle IE 11

* chore

* docs

* chore

* chore

* refactor

* docs

* refactor: remove placement left & right

* Update components/badge/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update components/badge/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* docs: demo change

* docs

* refactor: use css

* refactor: use css rtl

* refactor

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2020-07-08 14:47:07 +08:00
zombiej
c26bb28ad1 chore: Update snapshot 2020-07-08 14:26:02 +08:00
二货机器人
a736ab367c
feat: Support panelRender (#25488) 2020-07-08 09:58:53 +08:00
xrkffgg
efdbb21f08
docs: reduce demo transfer/upload (#25487) 2020-07-08 08:58:45 +08:00
xrkffgg
8079e0fb8e
docs: reduce demo mentions/slider/switch (#25486) 2020-07-07 23:04:27 +08:00
xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno (#25484) 2020-07-07 22:06:00 +08:00
xrkffgg
6f8e21b75f
docs: reduce demo pageheader/pagination/steps (#25483) 2020-07-07 21:33:07 +08:00
xrkffgg
eb63231ab4
style: add @select-item-selected-color (#25476) 2020-07-07 18:07:42 +08:00
Zgo
75645c4981
fix: Popover wrong position when using Radio.Button (#25449)
* fix Popover wrong position when using Radio.Button

* lint:style

* changelog

* changelogmd revert
2020-07-07 17:57:40 +08:00
偏右
36d7985d85
Merge pull request #25470 from ant-design/master
chore: merge master into feature
2020-07-07 16:00:26 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
Gerson Garrido
93c294664a
feat: add missing translations in es_ES (#25460)
* feat: add missing translations in es_ES

* fix eslint no-template-curly-in-string
2020-07-07 09:31:51 +08:00
二货机器人
6769a9baa9
fix: RangePicker clear btn position (#25458) 2020-07-06 23:01:43 +08:00