Commit Graph

13139 Commits

Author SHA1 Message Date
zombiej
3d7f077539 docs: Fix doc typo 2021-03-31 16:07:24 +08:00
Caspian Chen
453d278a5c
fix: @table-border-radius-base没有被应用到.ant-table节点上 (#29966) 2021-03-31 15:36:30 +08:00
Ignatius Aggrey
e32c881cd0
fix: Change type of Popconfirm props: okButtonProps to ButtonProps (#29928)
* Change type of Popconfirm props: okButtonProps to ButtonProps

According to the Popconfirm API docs the type of the type of the props okButtonProps and cancelButtonProps is ButtonProps In the actual code however it is was typed as NativeButtonProps causing type errors when using ButtonProps like 'href'

* fix: Remove unused NativeButtonProps
2021-03-31 09:42:13 +08:00
MaoXiangming
b5c8bcd409
fix: add es_Es locale Table 'selectNone' field (#29962) 2021-03-31 09:25:30 +08:00
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful (#29942)
* fix: Descriptions labelStyle unsuccessful

* use hook

* Update components/descriptions/demo/style.md

* fix lint

* fix ts
2021-03-30 17:38:50 +08:00
二货机器人
8e885a7e08
fix: Not try to modify lock file (#29944) 2021-03-30 11:59:30 +08:00
zombiej
a1baecbd2f test: Always wait for motion ended 2021-03-29 15:49:28 +08:00
二货机器人
1a3c8f2272
Merge pull request #29929 from ant-design/master
chore: feature merge master
2021-03-29 11:28:43 +08:00
二货机器人
7fe8f0469c
refactor: Remove useless code (#29931)
* refactor: Remove useless code

* rm useless code
2021-03-29 11:02:58 +08:00
afc163
077443696b docs: fix Form requiredMark demo
close #29921
2021-03-28 16:22:00 +08:00
einq7
4f52d7f964
docs: fix typography mistake in Upload section (#29912) 2021-03-26 11:51:39 +08:00
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData (#29911) 2021-03-26 10:44:54 +08:00
undefined
ba9323decb
Fix Button Wave Effect in shadow root (#29897)
* fix wave effect for shadow dom

fix

* fix: wave tests

components are inside shadow dom, test fail because they are looking for a style element outside of the shadow dom, they fail because style is now placed (as expected) inside the shadow dom

* fix: typeguard

* fix: use updateCSS api
2021-03-25 11:57:49 +08:00
isakol
d9885c7be0
feat: improve sv_SE locale (#29896) 2021-03-25 09:24:04 +08:00
kily zhou
59c3c71b72
feat: Table adds rowSelection.defaultSelectedRowKeys (#29879) 2021-03-25 09:11:39 +08:00
afc163
afbbeb5337
fix: Pagination focus style stay after interaction (#29891)
close https://github.com/react-component/pagination/pull/329
close #29882
2021-03-24 17:54:54 +08:00
afc163
603c0c1733
fix: Steps progress item cut at edge (#29893)
close #29824
2021-03-24 17:51:15 +08:00
SyMind
a142969986
fix(pagination): Unexpected input height (#29886)
When use modifyVars to override the `input-height-base`, the quick jumper input height expected `input-height-base`, but not really.
2021-03-24 17:28:51 +08:00
yaoweiprc
ed37b80d11
docs: Update dynamic-form-items.md (#29807)
* Update dynamic-form-items.md

原来的代码只有在使用Space包裹多个Form.Item的时候可以跑起来,如果把Space换成div或者其它组件,点击Add Field之后,因为多个Form.Item 通过 {...restField} 指定了相同的key,浏览器会报 Encountered two children with the same key, `0`. Keys should be unique so that components maintain their identity across updates.
换成这种restField的写法可以避免这个问题,让不使用Space包裹多个Form.Item的场景也能跑通不报错。

* Update components/form/demo/dynamic-form-items.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-03-24 12:24:22 +08:00
Jojo Narte
a98e4fc907
fix: (Upload) stopPropagation on file drop (#29832)
Call e.stopPropagation on file drop to support nested drag and drop upload use-cases
2021-03-24 12:23:47 +08:00
Bernard Niset
e49281c7f5
feat: Apply ConfigProvider componentSize on Tabs component (#29844) 2021-03-24 12:23:24 +08:00
二货机器人
462386a9ab
chore: Rm tag hover style (#29874) 2021-03-23 15:22:39 +08:00
二货机器人
5f38753f6c
fix: align TextArea maxLength logic (#29867)
* fix composition

* fix input

* update doc

* fix tst

* more test case

* more test case
2021-03-23 15:03:47 +08:00
CodingYingYingYing
a21c1a88c1
fix: Typography.Paragraph\Text\Title ts (#29787)
* fix: Typography.Paragraph\Text\Title ts

* feat: add doc

* feat: title ts

* feat: cr

* chore: revert

* chore: ts

* feat: doc/sort & drop onChange
2021-03-23 13:32:37 +08:00
github-actions[bot]
a87ae51460
chore: auto merge branchs (#29865)
chore: merge master into feature
2021-03-22 12:49:22 +00:00
Bernard Niset
76a96965ee
feat: Add form translations to fr_FR i18n (#29839) 2021-03-20 23:02:14 +08:00
MaoXiangming
8ff10277e1
fix: table demo drag-sorting drag error (#29825)
close #29800
2021-03-19 17:06:33 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp (#29804)
* refactor: use rc-util for csp

* update icons version

* add csp support

* update deps
2021-03-19 16:23:25 +08:00
afc163
99289a0856
style: better Checkbox/Radio label text layout (#29788)
* style: optimize checkbox label text layout

* style: optimize radio label text layout

* fix transfer checkbox position

* fix checkbox align issue in Transfer

* fix snapshot
2021-03-17 14:56:32 +08:00
afc163
92bc5dfdcd
fix: Tabs active item width changes (#29781)
close #29532
2021-03-16 14:44:06 +08:00
xrkffgg
b5ac892ada docs: perf website 2021-03-16 09:33:16 +08:00
杨兴洲
d775fb830d
docs: fix ConfigProvider doc typo (#29776) 2021-03-15 22:40:40 +08:00
Kermit
7fdfa4e64d
fix(upload): beforeUpload type declaration (#29766)
* fix(upload): beforeUpload type declaration

* chore: update doc
2021-03-15 18:20:36 +08:00
陈帅
45b9731df0
Merge pull request #29762 from ant-design/feature
chore: merge feature into master
2021-03-14 17:10:37 +08:00
Amumu
e2eb810ed3
feat: add fr_CA locale (#29748) 2021-03-14 16:47:32 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29 docs: update typography api show 2021-03-14 16:35:09 +08:00
xrkffgg
328f297e99
docs: update upload docs (#29759)
* docs: Update Upload Docs

* code review

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

Co-authored-by: Eric Lee <ericfly33@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-14 00:11:13 +08:00
xrkffgg
135f39ddd4
Update components/upload/index.zh-CN.md 2021-03-14 00:11:00 +08:00
xrkffgg
d05112427a
Update components/upload/index.en-US.md 2021-03-14 00:10:54 +08:00
Eric Lee
55aa0f457b code review 2021-03-14 00:06:29 +08:00
陈帅
c673cde7de
merge Feature into master (#29758)
* feat: add onCancel and onEnd option for editable (#29615)

* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

Co-authored-by: chenliang <chenliang9@xiaomi.com>

* feat: add parent class for different notification types (#29634)

close #29417

* refactor: Upload use origin behavior (#29737)

* refactor: Fallback of events

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc

* feat: tab support moreIcon (#29744)

* feat: Tabs support moreIcon

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

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

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

Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-13 23:46:32 +08:00
Eric Lee
02e0611412 docs: Update Upload Docs 2021-03-13 23:37:10 +08:00
Tianyuan Zhang
691e5b6956
feat: tab support moreIcon (#29744)
* feat: Tabs support moreIcon

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

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

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

Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-13 22:00:42 +08:00
二货机器人
37bff5d5fd
refactor: Upload use origin behavior (#29737)
* refactor: Fallback of events

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc
2021-03-12 18:58:57 +08:00
afc163
462c7fcdf8 fix snapshot 2021-03-12 17:23:27 +08:00
jinchaofs
2c262dd3ec
fix: Tabs centered property invalid (#29495)
close https://github.com/ant-design/ant-design/issues/29482

Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-03-12 15:36:46 +08:00
github-actions[bot]
34e7dca02f
chore: auto merge branchs (#29733)
chore: merge master into feature
2021-03-11 15:40:26 +00:00
afc163
fbe02ceed3
fix: AutoComplete custom input element className (#29725)
* test: add test case

* upgrade select version

* fix test case

* fix snapshot
2021-03-11 23:11:51 +08:00
二货机器人
a4a009cb62
fix: Lodash can clone FileProxy (#29718)
* fix: Lodash can clone FileProxy

* fix: Proxy content

* clean up

* fix lint

* test: get keys

* test: Update coverage

* back of demo
2021-03-11 19:29:20 +08:00
afc163
547f87ebfe
chore(🆙): upgrade react-dnd in table and upload demo (#29724) 2021-03-11 17:53:32 +08:00
xrkffgg
52152ed384
fix: row warning when set margin (#29688)
* fix: row warning when set margin

* fix
2021-03-11 10:44:18 +08:00
einq7
1fa02cba7d
docs: add editable in column api (#29708)
* docs: add editable in column api

* Remove extra column
2021-03-10 23:20:11 +08:00
二货机器人
ca52defcbf
fix: Internal upload list should always keep (#29702) 2021-03-10 17:32:32 +08:00
James Yeung
2d3c3a18e0
docs(alert): The title is reversed (#29692) 2021-03-10 13:27:49 +08:00
二货机器人
6169ecdf86
chore: Upload add deadline (#29686) 2021-03-09 23:14:52 +08:00
不吃猫的鱼
f465589bd6
fix: Modal footer buttons not spaced when using href in button (#29681)
* fix: Modal footer buttons not spaced when using href in button

* fix: resolve comments
2021-03-09 20:51:43 +08:00
github-actions[bot]
6a25330832
chore: auto merge branchs (#29672)
chore: merge master into feature
2021-03-09 09:41:32 +00:00
xrkffgg
f9a542b5c1
fix: affix Input disabled hover style (#29670) 2021-03-09 16:57:01 +08:00
Jan Václavík
1efc4cf86e
Fix typo in cs-CZ locale (#29675) 2021-03-09 16:51:11 +08:00
xrkffgg
4b26b3710d
chore: fix build (#29671)
* docs: test demo

* fix: site build error

https://github.com/react-component/footer/releases/tag/v0.6.6

Co-authored-by: afc163 <afc163@gmail.com>
2021-03-09 14:45:54 +08:00
zombiej
1c461ecab4 docs: Update upload faq 2021-03-09 14:22:03 +08:00
不吃猫的鱼
1f3a64a5d1
refactor: remove redundant less variable (#29668) 2021-03-09 13:32:22 +08:00
不吃猫的鱼
be299cbe70
docs: fix typo in demo (#29661) 2021-03-09 09:07:37 +08:00
afc163
165477175d
chore: update Form and TreeSelect demo (#29656)
* chore: update Form and TreeSelect demo

* fix eslint
2021-03-08 18:06:49 +08:00
xrkffgg
deb50b4780
style: optimize form tooltip cursor style (#29650) 2021-03-08 14:43:35 +08:00
不吃猫的鱼
e97fe61c71
feat: add parent class for different notification types (#29634)
close #29417
2021-03-07 20:48:00 +08:00
github-actions[bot]
e40fd9fb6d
chore: auto merge branchs (#29639)
chore: merge master into feature
2021-03-06 08:12:43 +00:00
afc163
9973228fe1 chore: remove console.log 2021-03-06 15:51:09 +08:00
einq7
74fd93b068
docs: Update procomponents link (#29638) 2021-03-06 15:50:14 +08:00
jueinin
24d1b3c39c
feat: add onCancel and onEnd option for editable (#29615)
* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

Co-authored-by: chenliang <chenliang9@xiaomi.com>
2021-03-06 13:06:32 +08:00
Zack Amiton
d65141d79c
docs: Minor grammar/spelling tweaks to Form english docs (#29636)
* Minor grammar/spelling tweaks to Form english docs

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-06 11:48:05 +08:00
二货机器人
55a63a67da
fix: Description full width (#29630) 2021-03-05 17:25:27 +08:00
二货机器人
ef4b67d4c4
fix: onChange should always return proxy file (#29627) 2021-03-05 16:57:21 +08:00
Christopher Yates
9b82fafb7e
docs: Remove 'keyboard' property from Tabs (#29606)
* Remove 'keyboard' property from Tabs

Remove 'keyboard' property from the docs for Tabs API. When trying to use the property, user receives a TS error since it doesn't exist in rc-tabs props.

Rc-tabs no longer supports this property - 8165c76331 (diff-cfb7f317623ff62d6162485566e9281d9eedc574d6bd0d9a8dbf20e1cb324fc6)

* Removing keyboard prop from docs
2021-03-05 16:27:28 +08:00
zombiej
a1e02acbfb docs: Update input number prescion 2021-03-05 12:04:39 +08:00
二货机器人
3c7030acb9
fix: Upload originFileObj not correct (#29614)
* fix: Upload should always return new file proxy

* test: Test case
2021-03-04 16:59:06 +08:00
afc163
1e9b28d787
fix: Steps responsive warning (#29599)
close #29596
2021-03-03 11:28:38 +08:00
Andre Zyczkowski
3c6e1ca877
docs: fixed List itemLayout prop definition (#29592) 2021-03-03 10:50:57 +08:00
afc163
79ae103069
fix: TimePicker.RangePicker popupClassName not working (#29589)
* fix: TimePicker.RangePicker popupClassName not working

close #29583

* fix ci
2021-03-02 22:09:21 +08:00
gzq
51ae3aebef
fix: dotPosition make pauseOnHover not working (#29587) 2021-03-02 20:43:33 +08:00
二货机器人
6aaa7be029
fix: Grid should support ssr for flex gap (#29586)
* fix: SSR not break Grid

* test: Add hydrate test

* fix lint
2021-03-02 20:29:00 +08:00
二货机器人
992b99c011
fix: Modal hooks update & destroy (#29584)
* fix: Modal update before render

* test: Add test case

* test: More test
2021-03-02 18:52:47 +08:00
叶枫
e7938cad1c
fix: 修复切换页面 changeConfirmLocale 被清空问题 (#29570)
* fix: 修复切换页面 changeConfirmLocale 被清空问题

* feat: 恢复 constructor

* feat: test
2021-03-02 18:05:20 +08:00
zombiej
79224cab83 docs: Update demo desc about closure
close #29573
2021-03-02 14:52:11 +08:00
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration (#29571)
* fix(drawer): add contentWrapperStyle type declaration

* chore: add test case
2021-03-02 13:13:51 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break (#29574)
* fix: compitable for legacy usage

* chore: Add modal warning

* fix lint

* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
afc163
3fa2b48667
fix: Select tags caret position (#29561)
close #29559
2021-03-02 08:21:19 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
limingxin
d719f16487
docs: update link (#29558) 2021-03-01 18:22:03 +08:00
二货机器人
53142ef237
refactor: rc-tooltip use motion config (#29555)
* refactor: internal add deadline & fix defaultVisible logic

* back of demo
2021-03-01 17:25:30 +08:00
Ted Shin
1f1c57cb1c
fix: incorrect locale in Korean for TimePicker #29536 (#29540)
* fix: incorrect locale in Korean for TimePicker #29536

* fix: incorrect locale in Korean for TimePicker #29536
2021-02-28 14:03:07 +08:00
二货机器人
317c6469a2
Revert "feat: add api for transfer (#29288)" (#29541)
This reverts commit 15580483ce.
2021-02-28 11:00:44 +08:00
Tom Xu
90f1dfa58c
docs: improve spin en api title (#29534) 2021-02-28 09:35:34 +08:00
zkwolf
96964cc443
docs: fix badge english doc (#29531) 2021-02-28 09:09:48 +08:00
mumiao
4ad6a55474
fix: form.item is not type safe due to not forwarding their type para… (#29397)
* fix: form.item is not type safe due to not forwarding their type parameters to the rcForm components

* test: add test cases
2021-02-27 23:51:35 +08:00
github-actions[bot]
581262b0aa
chore: auto merge branchs (#29530)
chore: Feature merge master
2021-02-27 14:45:17 +00:00
二货机器人
dc9535acdc
test: Back of Upload test coverage (#29524) 2021-02-26 22:38:11 +08:00
jinchaofs
cc38c07c6e
fix(table): pagination.current display error when result of filter is empty (#29386)
Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-02-26 21:51:35 +08:00
bcd337
290aa1adf3
fix: error when target not an html element (#29523)
fix error when target is object but not an html element
2021-02-26 18:43:15 +08:00
二货机器人
79f8fece4b
refactor: Upload use batch start (#29474)
* chore: Update Upload version

* useMergedStatus

* fix file list parser

* fix list replacement

* bump rc-upload

* add Upload.LIST_IGNORE

* support LIST_IGNORE

* fix uploadList batch test

* test: fix batch case test case changed

* test: Finish test case

* fix: Not change uid if exist

* use proxy

* fix proxy

* fix ts

* part test case check

* more test back

* back of test all

* update test case

* more unmount

* adjust test cae

* add unmount
2021-02-26 15:18:37 +08:00
afc163
7f7dd1470d
fix: small Steps icon 1px bug (#29484) 2021-02-25 16:44:21 +08:00
github-actions[bot]
5d22b0ef7a
chore: auto merge branchs (#29450)
branch: merge master into feature
2021-02-24 13:31:32 +00:00
dependabot[bot]
6697e96789
chore(deps-dev): bump typescript from 4.1.5 to 4.2.2 (#29448)
* chore(deps-dev): bump typescript from 4.1.5 to 4.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* fix tsc errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-24 20:46:12 +08:00
afc163
f7a36de698
fix: Select mode="tags" large size (41px => 40px) (#29437)
close #29374
2021-02-23 19:03:54 +08:00
afc163
b077913697
fix: Dropdown menu item disable style with icon (#29433)
close #29430
2021-02-23 16:48:10 +08:00
afc163
ba7fa15058 merge feature into master 2021-02-23 13:20:07 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
Eating-Eating
15580483ce
feat: add api for transfer (#29288)
* feat: add api for transfer

* feat: Transfer new feature

* Update components/transfer/__tests__/index.test.js

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

* Update components/transfer/demo/advanced.md

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

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

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

* Update components/transfer/index.tsx

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

* fix: change another way

* fix: add test

* fix: defaultFooterRender test failed

* fix: comment in English

* fix: delete unnecessary blank line

* fix: fix describe error

* fix: add version and Type Guard

* fix: transfer docs

* fix: docs

* fix: docs grammar err

Co-authored-by: SimpleZhang <simplezhang@yeahka.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-22 18:41:02 +08:00
叶枫
31ea9c3c1d
fix: image-test (#29410)
* fix: image-test

* chore: text
2021-02-22 16:03:04 +08:00
二货机器人
7f68a8e347
docs: Update Select debounce demo (#29414)
* docs: Update debounce demo

* fix: ts definition
2021-02-22 15:55:17 +08:00
叶枫
19c8c426e5
fix: image prefix (#29394)
* fix: image

* fix: image group

* fix: image package

* chore: test
2021-02-20 22:24:44 +08:00
Tom Xu
0c7d955734
docs: improve table api (#29393) 2021-02-20 17:56:03 +08:00
Tom Xu
4c3898ebf3
docs: improve table api (#29391) 2021-02-20 17:10:12 +08:00
mumiao
dc100b17c5
fix(table): optimize type declaration about filter (#29385) 2021-02-20 16:32:59 +08:00
二货机器人
9e5e4c8743
chore: Fix ts (#29383) 2021-02-20 14:08:49 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
afc163
a428ea1b72
fix: Dropdown menu should support expandIcon (#29338)
close #29332
2021-02-17 17:09:13 +08:00
诸岳
9a44a7e915 Merge branch 'master' of github.com:ant-design/ant-design into feature-merge-master-branch 2021-02-11 00:00:25 +08:00
Kermit
a93767562a
chore(slider): optimize tooltip align (#29308) 2021-02-10 15:53:07 +08:00
Kermit
7368b05b05
fix: update snapshot (#29309) 2021-02-10 15:10:39 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 (#29285)
* feat: 添加全局静态配置

* chore: change globalConfig

* chore: change globalPrefixCls

* chore: review

* feat: 恢复 message 静态 prefix

* feat: modal

* feat: notification

* fix: prefix

* fix: prefix

* fix: 添加 test

* chore: review

* docs: doc

* chore: en

* chore: test

* fix: notification config set empty

* chore: link

* chore: change name

* chore: doc

* chore: doc
2021-02-09 21:49:15 +08:00
afc163
1d437534a0
docs: fix broken links
close #29294
2021-02-09 19:25:55 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
xrkffgg
b9a7317c28 test: update snap 2021-02-08 10:04:27 +08:00
雷玮杰
ac022b1d15
docs: add rowKey prop into doc (#29269)
update index.zh-CN.md
2021-02-07 20:57:18 +08:00
mumiao
d83e5fdd0a
fix: pagination componnet is not displayed at the position is none of… (#29256)
* fix: pagination componnet is not displayed at the position is none of array

* docs: update table/pagination position column typeValue

* fix: named invalid column

* fix: delete unless code

* refactor: refactor pagination position logic

* ci: fix lint error

* ci: fix lint error

* test: update snapshot
2021-02-07 20:23:40 +08:00
mumiao
bcd58bdc12
fix: image ru_RU locale (#29271) 2021-02-07 14:22:40 +08:00
afc163
a64056eb8a
fix: TextArea showCount should not be interactive (#29245)
close #29240
2021-02-05 20:34:28 +08:00
Seyed Amirali Taheri
0fc27299d5
fix: Locale fa (#29232)
* fix: Fix typo in fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing values for fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing locale values for date-picker/locale/fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* feat: Add missing locale value for time-picker/locale/fa_IR.tsx

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>

* test: Update snapshot

Signed-off-by: amiralitaheri <amiralitaheri64@gmail.com>
2021-02-05 20:34:10 +08:00
xrkffgg
cb2fc79a5f
fix: multiple Select disabled background in dark (#29242) 2021-02-05 14:43:22 +08:00
mumiao
b5d7670391
fix: fix confirm paramter ts type error (#29241) 2021-02-05 11:19:57 +08:00
afc163
2d79052805
Merge pull request #29226 from ant-design/master
chore: merge master into feature
2021-02-05 11:19:36 +08:00
afc163
4ee9253467
refactor(drawer): rewrite with hook from @hosseinmd (#29229)
* refactor: drawer to functional component and  hooks

* chore: clean code default value

* perf: remove doesn't necessary useCallback

* chore: useContext instead of Consumer

* fix ref

* Add Drawer displayName

* fix tsc

* fix tsc

Co-authored-by: Hossein Mohammadi <hosseinm.developer@gmail.com>
2021-02-05 10:47:17 +08:00
Renny Ren
d7d2cefe21
docs: Update index.en-US.md (#29234)
Fix grammar
2021-02-05 10:03:01 +08:00
zj9495
f77a9ac402
docs: add missing docs for array rule (#28437)
* docs: add missing docs for array rule

* update docs

* update docs
2021-02-04 22:04:34 +08:00
Kermit
b94eb2aa44
feat(drawer): support contentWrapperStyle (#29219) 2021-02-03 22:37:24 +08:00
afc163
f6683ebfc3
style: make Table expand icon same size as checkbox (#29214)
close #29207
2021-02-03 22:36:44 +08:00
二货机器人
a26e5036e6
fix: only row gutter use gap (#29211)
* fix: only row gutter use gap

* test: Update test case
2021-02-03 18:06:51 +08:00
二货机器人
9914ceb6be
fix: Grid flexGap lazy check (#29202)
* fix: get flex gap support before render

* chore: patch unit

* chore: rename

* test: fix test case
2021-02-03 15:39:51 +08:00
afc163
b69c3351b1
fix: Table pagination current change logic (#29184)
* refactor: code style

* fix: Table pagination current when pageSize changed

close #29175

* fix current when have pagination.total
2021-02-03 11:42:11 +08:00
陈帅
a4f0957576
docs: add 4.12.0 changelog (#29131)
* docs: add 4.11.3 changelog

* update docs

* Update CHANGELOG.zh-CN.md

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

* update docs

* add 4.12.0 changelog

* update docs

* fix typo

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.en-US.md

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

* fix changelog

* Update CHANGELOG.zh-CN.md

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

* update docs

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.zh-CN.md

Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>

* fix typo

* fix typo

* Update CHANGELOG.en-US.md

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

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
2021-02-02 22:05:31 +08:00
qramilq
9f0e5e5e2f
feat: added ref support to Sider component (#29169)
* feat: added ref support to Sider component

* test: updated Layout tests (check for ref)

Co-authored-by: Аюпов Рамиль Ильдарович <RAyupov@stream.ru>
2021-02-02 19:58:41 +08:00
二货机器人
74a030355f
fix: row style (#29182) 2021-02-02 16:04:23 +08:00
骗你是小猫咪
7344bbc7e5
docs: add Image onError doc (#29180) 2021-02-02 13:35:37 +08:00
Yuxuan Huo
dce3ce7fb2
style: add @progress-info-text-color (#28981)
* fix(Progress): progress text color uses @progress-text-color

* change variables name

* no breaking change variable name

* Update components/style/themes/default.less

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

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-02 12:07:31 +08:00
陈帅
4ec23c50c9
Merge pull request #29159 from ant-design/feature
Feature
2021-02-01 18:57:51 +08:00
afc163
039e2927b7
fix: Collapse header disappers with delay (#29158)
close #29146
2021-02-01 18:50:02 +08:00
xrkffgg
40663fb928
feat: InputNumber support bordered prop (#29105)
* feat: InputNumber support bordered prop

* update style
2021-02-01 17:06:20 +08:00