Commit Graph

13786 Commits

Author SHA1 Message Date
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
ff8c95540c
test: add test for Upload previewIcon (#32457) 2021-10-13 14:16:57 +08:00
Mohammad Arsalan
ee703c187e
fix: TextArea missing maxLength attribute (#32448) 2021-10-13 11:55:55 +08:00
afc163
3b27f47097
fix: Typography ellipsis not working in Table (#32447)
* chore: add reproduce demo

* fix: Typography ellipsis in Table

close #32432
2021-10-12 17:18:59 +08:00
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 (#32444)
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.7.0 to 25.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.7.0...v25.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: fix eslint errors and warnings

* fix rc-slider version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 13:14:26 +08:00
xrkffgg
ee2a8e634c
Merge pull request #32414 from ant-design/master
chore: sync master into feature
2021-10-11 13:37:08 +08:00
Mas
a16884fee0
docs: alter use a array to its correct spell use an array (#32421) 2021-10-09 17:30:09 +08:00
Xuxin Zhang
bff590f561
docs: Fix the explanation typo in the comment (#32410)
[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)]

### 🤔 This is a ...

- [ ] New feature
- [ ] Bug fix
- [x] Site / documentation update
- [ ] Demo update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Bundle size optimization
- [ ] Performance optimization
- [ ] Enhancement feature
- [ ] Internationalization
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Test Case
- [ ] Branch merge
- [ ] Other (about what?)

### 🔗 Related issue link

<!--
1. Describe the source of requirement, like related issue link.
-->

### 💡 Background and solution

<!--
1. Describe the problem and the scenario.
2. GIF or snapshot should be provided if includes UI/interactive modification.
3. How to fix the problem, and list final API implementation and usage sample if that is a new feature.
-->

### 📝 Changelog

Fix the typo in the comment to help foreign users better understand the usage of Modal.useModal()

| Language   | Changelog |
| ---------- | --------- |
| 🇺🇸 English | docs update |
| 🇨🇳 Chinese | docs update |

### ☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

- [x] Doc is updated/provided or not needed
- [x] Demo is updated/provided or not needed
- [x] TypeScript definition is updated/provided or not needed
- [x] Changelog is provided or not needed
2021-10-09 12:03:30 +08:00
afc163
46478d590f
fix: InputNumber arrow align issue (#32409)
* fix: InputNumber arrow align issue

* fix input number demo
2021-10-09 11:21:39 +08:00
afc163
3569715fab
style: optimize drawer animation (#32342)
close #32317
2021-10-09 10:33:54 +08:00
Michael Adams
bdbbbb9f9e
fix: typescript error in ConfigProvider. (#32406) 2021-10-09 10:24:41 +08:00
zombiej
b388da62cc test: Update snapshot 2021-10-08 16:58:51 +08:00
afc163
d361537748
fix: Mentions error style in Form (#32385) 2021-10-05 15:56:31 +08:00
Karott Schu
27c3b51c18
fix: Notification closeIcon don't update (#32351) (#32359)
* fix: Notification closeIcon don't update (#32351)

* add test case for Notification closeIcon (#32351)

Co-authored-by: shuzhiqiang <shuzhiqiang@megalinkps.cn>
2021-10-02 14:14:31 +08:00
afc163
6b56af466f
fix: Button with icon and href align issue (#32373) 2021-10-02 12:35:50 +08:00
ajuner
72f728be57
docs(transfer): zh-CN operationStyle (#32347) 2021-09-30 17:45:26 +08:00
zombiej
dffaf836ff docs: rm useless desc
close #32352
2021-09-30 14:35:25 +08:00
二货机器人
ec9ecde052
fix: Table ts definition (#32358)
* fix: Table ts definition

* fix: backof default rowKey
2021-09-30 11:43:42 +08:00
binyellow
8ec15224d3
docs: Add missing version (#32353)
* feat: Notification support maxCount

* docs: Add missing version

Co-authored-by: branhuang <branhuang@tencent.com>
2021-09-30 11:02:12 +08:00
afc163
d35576d675 chore: merge feature into master 2021-09-29 08:43:06 +08:00
Gourav Saini
b786f25918
fix: Table selection arrow get covered by fixed column (#32276)
* added higher z-index to selection column fixes #32268

* suggested changes
2021-09-28 18:36:55 +08:00
yingxirz
4f7565c287
Update index.zh-CN.md (#32324) 2021-09-28 10:38:37 +08:00
二货机器人
253edcb0d7
docs: Add missing api (#32322) 2021-09-27 18:16:50 +08:00
二货机器人
5161e9c671
feat: Tree support draggable handler (#32306)
* chore: Add draggable style

* chore: Add handler style

* refactor: Add dragging style

* chore: merge api

* chore: test case

* docs: Update doc desc

* test: More coverage

* chore: bump version

* test: Update snapshot
2021-09-27 15:54:06 +08:00
Dreamcreative
47d28e8f70
docs: perfect Cascader api (#32291)
Co-authored-by: xc <xc@xcdeMacBook-Pro.local>
2021-09-25 16:59:51 +08:00
afc163
441a6aba8f
fix: ghost button hover style (#32289)
* fix: disabled ghost button style

* fix

* fix lint
2021-09-24 19:39:48 +08:00
xrkffgg
094f9d6bd9
style: optimized Alert close icon show in rtl (#32286) 2021-09-24 17:19:58 +08:00
Dreamcreative
4c1f4f941c
docs: modify Typography.Text ellipsis prop (#32280)
Co-authored-by: xc <xc@xcdeMacBook-Pro.local>
2021-09-24 16:56:38 +08:00
xrkffgg
8d407f90dd
style: optimized Table action position in rtl (#32283) 2021-09-24 16:53:13 +08:00
二货机器人
f0d9abb0ff
fix: antd.varaible.less mix with default theme (#32279) 2021-09-24 16:30:28 +08:00
xrkffgg
9d00634bde
style: optimized Collapse arrow position in rtl (#32282) 2021-09-24 15:58:42 +08:00
xrkffgg
a251a7dd1d
style: optimized Badge count show in rtl (#32281) 2021-09-24 15:34:12 +08:00
unknown
87849a9ce0 docs: fix typography/demo/basic.md
Update basic.md

fix snapshot
2021-09-24 13:50:32 +08:00
xrkffgg
ee5b395d35
docs: use space for InputNunber demo (#32273) 2021-09-24 12:25:31 +08:00
xrkffgg
4054c767cd
style: optimized InputNumber handler show in rtl (#32272) 2021-09-24 11:35:58 +08:00
xrkffgg
f9edeb8122
style: optimize Dropdown icon show in rtl (#32271) 2021-09-24 10:52:24 +08:00
Sergey Kachanovskiy
7bded502e9
feat: triggerType prop for editable paragraph (#32219)
* feat: triggerType prop for editable paragraph

* feat: triggerType prop - conflict resolution

* feat: triggerType prop - conflict resolution

* feat: triggerType prop - conflict resolution

* feat: triggerType prop - demo fix

Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
2021-09-23 22:14:43 +08:00
damon.chen
e7f5030f2b
fix: change Ok to OK (#32259)
* 修复AutoComplete组件allowClear属性的说明有歧义的问题

* fix: change Ok to OK

* update jest snapshot

Co-authored-by: chj_damon <chjdamon@gmail.com>
2021-09-23 22:13:05 +08:00
Sergey Kachanovskiy
4a31561645
feat: enterIcon prop for editable paragraph (#32220)
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
2021-09-22 21:54:27 +08:00
Md_ZubairAhmed
0d670da580
fix: adds optional 'id' type to Switch (#32237) 2021-09-19 20:23:04 +08:00
Neo Tan
78699b0fe0
feat(Divider): added orientationMargin APIs for customizing margin-left/right of title (#32084) 2021-09-19 11:28:45 +08:00
xrkffgg
8467fdc135
fix: Switch loading icon error position (#32216)
* fix: Switch loading icon error position

* Update index.less
2021-09-18 16:18:08 +08:00
github-actions[bot]
44b5a1f168
chore: auto merge branchs (#32225)
chore: sync master into feature
2021-09-18 08:15:36 +00:00
JounQin
15d55bc3e9
feat: support ref for Table (#32136)
* feat: support ref/prefix/suffix for Table

close #25306

* docs: documentat Table prefix/suffix props

* chore: fix lint error

* refactor: remove prefix/suffix props
2021-09-17 11:17:29 +08:00
Ritesh Makan
42586d25ec
feat: max-overflow on Avatar.Group to be triggered by click or focus (#32197)
Based on this issue, https://github.com/ant-design/ant-design/issues/31924. Here is a proposal to allow 'click' or 'hover' to trigger the popover instead

docs: added maxPopoverTrigger to API

chore: updated demo

test: updated snapshot

Update components/avatar/index.en-US.md

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

Update components/avatar/index.zh-CN.md

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-09-17 09:52:51 +08:00
Antee
61c21a07f7
docs: delete duplicated property (#32196)
Removing duplicated property of `Editable` to make the Chinese version same as the English version.
2021-09-16 17:00:47 +08:00
zombiej
dd46fbbf42 docs: Update Form doc. close #31265 2021-09-15 18:09:02 +08:00
二货机器人
bc9c2734dd
test: Raise coverage (#32182)
* chore: rm useless code

* test: Coverage of warningOnly

* test: 100% coverage
2021-09-15 17:13:51 +08:00
二货机器人
968590e8d0
chore: Mv style to rc-util (#32177) 2021-09-15 14:13:32 +08:00
Zuobin Wang
7c41c7d958
docs: update select tagRender props (#32173)
* fix(document): add select tagRender props declaration

* fix(document): change Only to only
2021-09-15 12:21:04 +08:00
afc163
5b5926c05e
Merge pull request #32157 from ant-design/master
chore: sync master into feature
2021-09-15 12:20:40 +08:00
afc163
4ef0ef5bc5
fix: Table sorter icon should has margin (#32172)
close #32165
2021-09-15 11:07:59 +08:00
Rain120
753b848562
docs: add DatePicker format demo(Week start ~ end) (#32078)
* feat: doc of week format in date-picker

* feat: doc of week format in date-picker

* fix: set the tree-switcher-leaf-line position (#32075)

* fix(image): small size hide preview text (#29900)

* fix(image): small size hide preview text

* fix: image preview text ellipsis

* fix: reset test

* chore: improve icon search experience (#32098)

* chore: improve icon search experience

close #32097

* chore: search result empty data

* feat: Georgian translation (#32106)

* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400

Add files via upload

add georgian translation

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Create ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>

* test case

* add language option in markdown

* test

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>

* docs: Update research-message-and-feedback.zh-CN.md (#32112)

* fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107)

* update rc-picker dependency to 2.5.17

* add test: DatePicker.RangePicker with defaultPickerValue and showTime

* fix: missing `default.css` (#32116)

* chore: Add CI for compile

* chore: Add missing compile file

* docs: fix typo (#32121)

* fix: preserve table pagination className (#32131)

close #32130

* fix: use well typed PaginationLocale from rc-pagination (#32128)

* docs: fix typo

* fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939)

* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* add test case for useMessage hook

* restore some changes

* try to restore files agains

* restore and keep the same as upstream master

* restore files

* restore some definition

* feat: inherit rc-pagination props, more customizable (#32132)

* feat: inherit rc-pagination props, more customizable

close #32128, #32129

* chore: CustomSelect.Option is required by rc-pagination

* fix: LocaleReceivier types issue

* fix: lint issue, pageSize must be presented

* chore: add Button.shape 'default'  definition (#32004)

* feat: add Button.shape 'default'

* fix: ignore shape when falsy value

* fix: generate className only when shape match

* fix: remove necessary .ant-btn-default and update snapshot

* fix: Cascader missing props (#32143)

* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check

* chore: remove redundant space after `should` (#32141)

* chore(deps-dev): bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (#32149)

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 35.0.0 to 36.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: fix modal demo in small screen

* refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957)

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: drizzlesconsin <69514654+drizzlesconsin@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Primlx <primulax@live.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: in_vane <52909860+in-vane@users.noreply.github.com>
Co-authored-by: Thomas Zipner <thomas.zipner@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MD. Ariful Alam <swazan.arif@gmail.com>
Co-authored-by: JounQin <admin@1stg.me>
Co-authored-by: James <daoxingyue@live.cn>
Co-authored-by: 绯一 <jaredleechn@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zuobin Wang <49583235+Dreamerryao@users.noreply.github.com>
2021-09-14 18:39:44 +08:00
二货机器人
2bdc3693fc
fix: Col with flex exceed its limit (#32160)
* fix: Col flex exceed its value

* test: Update snapshot
2021-09-14 16:32:36 +08:00
二货机器人
9324e953e3
chore: Not preventEvent btn loading (#32158)
* chore: Not preventEvent btn loading

* test: Update snapshot
2021-09-14 15:31:42 +08:00
Zuobin Wang
41fbcf10c1
refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957) 2021-09-13 19:38:09 +08:00
afc163
8cd4c24afc chore: fix modal demo in small screen 2021-09-13 19:27:31 +08:00
JounQin
a0d8ee37a4
chore: remove redundant space after should (#32141) 2021-09-13 16:19:09 +08:00
二货机器人
272ff9885a
fix: Cascader missing props (#32143)
* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check
2021-09-13 15:59:57 +08:00
绯一
008242b35e
chore: add Button.shape 'default' definition (#32004)
* feat: add Button.shape 'default'

* fix: ignore shape when falsy value

* fix: generate className only when shape match

* fix: remove necessary .ant-btn-default and update snapshot
2021-09-13 15:29:57 +08:00
JounQin
b5fffcab87
feat: inherit rc-pagination props, more customizable (#32132)
* feat: inherit rc-pagination props, more customizable

close #32128, #32129

* chore: CustomSelect.Option is required by rc-pagination

* fix: LocaleReceivier types issue

* fix: lint issue, pageSize must be presented
2021-09-13 12:15:18 +08:00
James
af422c9e46
fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939)
* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841

* add test case for useMessage hook

* restore some changes

* try to restore files agains

* restore and keep the same as upstream master

* restore files

* restore some definition
2021-09-13 11:37:30 +08:00
JounQin
c4f74c01a6
fix: use well typed PaginationLocale from rc-pagination (#32128) 2021-09-11 21:48:29 +08:00
JounQin
a9951d8421
fix: preserve table pagination className (#32131)
close #32130
2021-09-11 21:44:03 +08:00
Thomas Zipner
b434e0a2ad
fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107)
* update rc-picker dependency to 2.5.17

* add test: DatePicker.RangePicker with defaultPickerValue and showTime
2021-09-10 11:54:11 +08:00
Primlx
371d1421c6
feat: Georgian translation (#32106)
* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400

Add files via upload

add georgian translation

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Create ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>

* test case

* add language option in markdown

* test

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update components/calendar/locale/ka_GE.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
2021-09-09 19:40:26 +08:00
huanganqi
9d1e0efca1
feat: Upload adds showUploadList.previewIcon (#32059)
* fix: add upload.showUploadList 'previewIcon'

* Update componentsformat/upload/index.zh-CN.md

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-09-08 09:30:09 +08:00
drizzlesconsin
18cd401678
fix(image): small size hide preview text (#29900)
* fix(image): small size hide preview text

* fix: image preview text ellipsis

* fix: reset test
2021-09-08 09:27:53 +08:00
btea
3531a15efa
fix: set the tree-switcher-leaf-line position (#32075) 2021-09-08 09:27:38 +08:00
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
afc163
0f47b50df0
fix: Alert message could be nullable (#32057)
* fix: Alert message could be nullable

close #32047

* update snapshot
2021-09-07 13:07:41 +08:00
Liron Lavy
02ca969711
fix: List rowKey prop type (#32033) 2021-09-07 12:05:59 +08:00
xrkffgg
4af66fbc9f
fix: Upload icon error background (#32051) 2021-09-07 09:50:27 +08:00
xrkffgg
3d81a10d61
Merge pull request #32036 from ant-design/master
branch: merge master into feature
2021-09-06 15:25:15 +08:00
Sushant Gulati
4a23e3569f
docs: fix typo in drag-sorting-handler.md (#32035) 2021-09-06 09:45:24 +08:00
David Santos
63ddba3023
fix: Drawer levelMove types (#30714) 2021-09-04 18:35:30 +08:00
二货机器人
04d140d7a6
fix: Table preset SELECTION can modify disabled record (#32027)
* fix: tbl select opt affact disabled

* test: add disabled test case
2021-09-03 19:47:23 +08:00
zombiej
c29c46e967 docs: Update Dropdown onVisibleChange desc
close #32024
2021-09-03 16:09:38 +08:00
Taucher Christoph
85344a4ca8
fix: Added German translation for Image 'Preview' text (#32001) 2021-09-03 13:25:53 +08:00
acfasj
999660c574
fix(date-picker): DatePicker ref typing (#31993) 2021-09-03 13:24:48 +08:00
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap (#32007)
* chore: bump rc-drawer to 4.4.2

* feat: DrawerProps interface add autoFocus support

* docs: add autoFocus to Drawer doc

* fix: snapshot update

* fix: snapshot update

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

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

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-09-02 18:57:25 +08:00
二货机器人
93dd93bf45
docs: add 4.17.0-alpha.0 changelog (#31987)
* chore: 4.17.0 changelog

* chore: Update emoji

* docs: Update changelog

* docs: dynamic theme ref

* chore: bump version

* docs: Update content

* docs: Add ref

* docs: Add rc changelog

* chore: bump version

* test: Update snapshot
2021-09-01 15:39:09 +08:00
二货机器人
36bcaaef85
Add variable.less to support css variable (#31496)
* chore: use varaible.less

* chore: basic primary varaible

* chore: Move to variable

* chore: align active color

* chore: global fix of css variable

* chore: primary colors

* chore: button danger

* chore: btn default error color

* chore: button series

* chore: More examples

* chore: More components

* chore: Form demo

* chore: form style

* fix: Tag & Alert variable

* chore: update footer

* chore: rm tmp code

* chore: transfer

* fix: picker column active color

* chore: Adjust active bg color

* chore: table hover color

* chore: all css variables

* chore: Global using variables

* chore: Test case

* chore: Update test logic

* chore: back of default less

* chore: entry of site use proxy style

* chore: update entry

* chore: split of variables

* refactor: quick dist speed

* fix: site use variable version

* chore: Update less config

* chore: add mv script

* chore: Update repalcement script

* chore: Add inject variables

* chore: Update script

* fix: script path

* chore: Move to component instead

* chore: fix condition

* chore: update config

* chore: Update in less transform

* chore: Modify logic

* chore: change to variables

* chore: Update name

* fix: script name

* chore: do inject

* revert: back of path

* chore: 2 way of generate

* bump tools

* chore: Add auto replacement script

* chore: auto genrate less file

* chore: fix test

* test: More test case

* chore: Update limit config

* test: coverage

* docs: Update doc
2021-09-01 10:56:50 +08:00
afc163
9c17f94cab
feat: Table filterMode and filterSearch functions (#31809)
* feat: Table supports filterMode="tree-select"

* add tree component

* fix detail

* use tree

* add @table-filter-dropdown-max-height

* feat: add check all to filter tree

* feat: add search

* feat: use filterTreeNode

* fix code style

* fix style

* style: tree node selected bg

* fix demo

* feat: add filterSearch

* fix: clear search value after close filter dropdown

* update snapshot

* code style

* fix test case

* chore: new FilterDropdown.tsx file

* chore: searchValueMatched function

* add test case

* test: add test cases

* feat: reset only works on dropdown state now

* chore: add table locales

* fix search input width

* tweak style

* style: update transfer search input style

* perf: improve table perf

* fix: filterMuiltiple={false}

* test: add test for selecting

* chore: fix table filter selection

* fix lint

* remove unused code

* fix: style dependencies

* test: turn off bail config for duplidated-package-plugin in feature branch

* Update components/table/hooks/useFilter/FilterSearch.tsx

Co-authored-by: Peach <scdzwyxst@gmail.com>

* fix locale link

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Peach <scdzwyxst@gmail.com>
2021-09-01 10:49:52 +08:00
二货机器人
a43e21e6bf
Merge pull request #31974 from ant-design/master-merge-feature
chore: sync master to feature
2021-08-31 19:41:20 +08:00
二货机器人
282b7c8575
feat: Cascader support multiple mode (#31936)
* chore: Update cascader version

* chore: replace cascader

* chore: default allowClear

* chore: Update docs

* test: Back of part

* test: More snapshot

* test: more and more

* test: Failed of defaultValue

* test: all basic test case

* test: All snapshot

* chore: Update cascader

* chore: disable react/jsx-no-bind

* chore: fix lint

* chore: fix less order

* chore: fix deps

* docs: Update multiple demo

* docs: Add multiple example

* test: Update snapshot

* test: update snapshot
2021-08-31 15:51:02 +08:00
afc163
7085e22a96 merge feature into master 2021-08-31 13:35:13 +08:00
tangjinzhou
86aaacdee1
fix: steps responsive default true not work (#31965)
* fix: steps responsive default true not work

* Update index.tsx
2021-08-31 13:11:17 +08:00
Austaras
d86e1b5153
feat: InputNumber support addon (#31432)
* feat: InputNumber support addon

* docs: Update InputNumber doc

* chore: Update snapshot and fix lint

* chore: Add release version

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-31 13:09:03 +08:00
Aex
01e53132b6
fix(input): Improve resolveOnChange method (#31931)
* fix: Improve input resolveOnChange method

* fix(input): add test case for allowClear
2021-08-30 13:25:32 +08:00
afc163
af805c098b
test: fix eslint errors (#31961)
* test: fix eslint errors

* test: fix eslint errors
2021-08-30 13:04:21 +08:00
Aex
5328b4bb62
fix(anchor): targetOffset not work when contain spaces (#31952)
* fix(anchor): targetOffset not work when contain spaces

* fix(anchor): Modify the code style according to the lint rules
2021-08-30 12:10:02 +08:00
Connor White
ae77287bcb
fix: Revert change to sticky z-index calc (#31874) 2021-08-29 15:51:29 +08:00
二货机器人
47f2bd47e1
feat: Select & TreeSelect support fieldNames (#31925)
* feat: Select & TreeSelect support fieldNames

* test: Update snapshot

* chore: force trigger CI
2021-08-27 11:48:59 +08:00
afc163
373b903055
style: InputNumber handler display when focused (#31911)
close #31908
2021-08-26 17:09:10 +08:00
FJHou
7eb9c89933
docs: 修复upload-sorting.md在jsx语法中使用了ts类型 (#31906)
修复upload-sorting.md在jsx语法中使用了ts类型
2021-08-26 13:47:14 +08:00
xrkffgg
7e50344676
fix: Transfer list direction value (#31903) 2021-08-26 01:03:53 +08:00
Jean-Philippe Roy
1cd694837c
feat: Allow DatePicker/RangePicker Icon Overrides (#31703)
* Hoist default values and expose props

* Add new props to the common API docs

* CN Docs

* Apply suggestions from code review

Co-authored-by: Jean-Philippe Roy <jean-philippe.roy@meraki.net>
Co-authored-by: afc163 <afc163@gmail.com>
2021-08-23 21:28:42 +08:00
xrkffgg
c1a539b696
test: add modal hook content with direction (#31882) 2021-08-23 19:59:04 +08:00
afc163
8416e31821 chore: resolve conflict between master and feature 2021-08-23 17:48:23 +08:00
xrkffgg
9aa9495fb1
test: up snap (#31875) 2021-08-23 15:19:44 +08:00
Han Han
c9bf113b39
chore: fix form demo (#31871)
子节点的值的属性,如 Switch 的是 'checked'。
2021-08-22 21:34:32 +08:00
ascodelife
1a50527513
docs(tabs): add Tabs API destroyInactiveTabPane (#31866) 2021-08-22 14:58:00 +08:00
afc163
5306d5b614
fix: Form label ellipsis should work (#31838) 2021-08-18 19:17:47 +08:00
Jaimy de Graaf
c278430bf4
fix: Collapse crashing of hot-reload on change (#31827)
close #29918
2021-08-18 11:40:44 +08:00
xrkffgg
af63edb265
fix: Collapse crashing of hot-reload on change (#31828) 2021-08-18 11:40:03 +08:00
zhyupe
4097a6c7c6
fix: circular dependencies in Modal & Input (#31817)
* fix(input): fix circular dependencies

* fix(input): fix circular dependencies

* fix(modal): fix circular dependencies

* fix(modal): fix test
2021-08-17 16:22:42 +08:00
binyellow
bbb7e968f6
feat: Notification support maxCount (#31807)
Co-authored-by: branhuang <branhuang@tencent.com>
2021-08-17 10:45:33 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
5cb47f76f4
chore: upgrade array-move (#31786) 2021-08-13 17:33:09 +08:00
afc163
f0163aa337
fix: Form label hide title on help icon and optional text (#31785)
close #31769
2021-08-13 17:06:30 +08:00
afc163
ccf14fce68
fix: ghost button style (#31780)
* fix: Button ghost style broken when it is danger

* update snapshot
2021-08-13 09:31:38 +08:00
afc163
0599c29f97
fix: Button icon align issue (#31755)
* fix: Button with only icon align issue in Chrome

close #31701

* update snapshot
2021-08-11 12:59:14 +08:00
afc163
59c63737c7
fix: Form Input bordered={false} outline style again (#31754)
close #31752
2021-08-11 11:48:53 +08:00
afc163
576da9d0ef
fix: Input clear icon margin lost (#31745)
close #31741
2021-08-10 19:21:02 +08:00
afc163
c0ff844bf7
fix: Transfer showSelectAll={false} should hide dropdown (#31746)
close #31728
2021-08-10 19:20:53 +08:00
zombiej
f8dc2231d5 docs: Fix Form.List operation doc table 2021-08-10 15:41:38 +08:00
Junwoo Ji
05d7176c74
docs: fix typo in descriptions API (#31742) 2021-08-10 15:38:25 +08:00
afc163
f6c3626886
fix: Input disabled should not have focus style (#31738)
close #31735
2021-08-10 13:26:00 +08:00
afc163
7f61e62044
fix: Checkbox not aligned center in group (#31726)
close #31724
2021-08-09 16:58:49 +08:00
afc163
7084654731
docs(): release 4.16.11 (#31710)
* docs(): release 4.16.11

* update pagination snapshot
2021-08-08 20:02:13 +08:00
linxianxi
34db92ee4f
fix(dropdown): add dropdown destroyPopupOnHide type (#31700) 2021-08-08 14:49:22 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define (#31661) 2021-08-04 20:07:28 +08:00
afc163
e37c411187
style: remove duplicated css rule of ghost button (#31659)
close #31474
2021-08-04 18:35:37 +08:00
Map1en_
8f3f0076de
fix: ConfigProvider rerender unexpectedly when switching some language (#31630)
* fix: ConfigProvide could not maintain the state of components when switching some lang

close #31592

* chore: add test case

* Update components/config-provider/index.tsx

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

* chore: fix checks

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-04 13:45:35 +08:00
afc163
f253cdf5aa
style: add transition for RangePicker cell (#31645) 2021-08-04 12:03:20 +08:00
afc163
a1c550ef7b
docs: Update drag-sorting.md (#31634) 2021-08-03 18:18:38 +08:00
afc163
85935e18c0 chore: merge feature into master 2021-08-02 18:36:27 +08:00
afc163
656146d1bc
docs: Add photo album mode example for Image.PreviewGroup (#31620)
* docs: add album mode for Image.PreviewGroup

close #31605

* update snapshot
2021-08-02 15:22:04 +08:00
afc163
06dff86287
fix: Badge count style when customize color (#31617)
* fix: Badge count style when customize color

close #31590
close #31591

* add demo for debug

* update badge demos

* create ribbon.test.tsx
2021-08-02 12:22:30 +08:00
张威
416482bb87
fix(select): omit getRawInputElement (#31566) 2021-08-02 12:07:26 +08:00
afc163
38e9d309f4 docs: note about select value
close #31608
close #31599
2021-08-02 10:58:32 +08:00
07akioni
015b706643
docs(message): fix typo (#31606) 2021-07-31 23:57:26 +08:00
M. Burak Kalkan
76482c00ed
fix: Added TR translation for 'Preview' text (#31593) 2021-07-30 15:08:26 +08:00
afc163
f986929e82
fix: Progress type="circle" success.strokeColor (#31589)
close https://github.com/ant-design/ant-design/issues/31587
2021-07-30 13:17:57 +08:00
Kim, Harim
71af741173
docs: fix typo dragable to draggable 2021-07-29 19:37:38 +08:00
Jun Wooram
aab86b2107
fix(i18n): fix a typo in ko_KR locale (#31575) 2021-07-29 14:36:40 +08:00
Ritesh Makan
b97954226d
docs: Added alternate example to modify start day of week (#31565)
* Added alternate example to modify start day of week

When I looked at the documentation, The `https://codesandbox.io/s/moment-day-of-week-6dby5` link did not work for me.

https://stackblitz.com/edit/react-9aegkj works

* fix: formatting
2021-07-28 18:34:37 +08:00
Hale Deng
c092ea89a7
docs: remove unnecessary type annotation in typography interactive demo (#31564)
Co-authored-by: Hale <hale@shundaojia.com>
2021-07-28 16:57:03 +08:00
afc163
a336100f54
fix: Form Input bordered={false} outline style (#31562)
close #31558
2021-07-28 15:42:19 +08:00
Monty
268be65a71
fix: Add the totalBoundaryShowSizeChanger property (#31549)
Fix the problem of the wrong type of totalBoundaryShowSizeChanger
2021-07-28 12:18:47 +08:00
Nikita Marinosyan
7bf35ca478
fix: SkeletonAvatar className (#31536)
fixed className being passed to both wrapper and element
2021-07-28 11:34:04 +08:00
afc163
eaaec77ff5
feat: InputNumber supports controls (#31548) 2021-07-27 20:28:45 +08:00
Jabir K.H
b3c4cebd96
feat: Malayalam(ml_IN) translation (#31521)
*  added ml_IN locale

*  malayalam localization - rc-packages updated

* ml_IN test cases added

Review comments integrated

* ml_IN translation - en doc updated

PR review comments integrated

* ml_IN translation zh doc updated

PR review comment integrated

* ❇️ changes after running npm test locally

* 🚀 npm test after removing and reinstalling node modules and package-lock
2021-07-27 10:56:41 +08:00
Ismail El Moudni
ace54fcceb
docs: Update index.en-US.md (#31533) 2021-07-26 22:41:29 +08:00
afc163
a9a329d37c
fix: deps and TypeScript types (#31519)
* fix tsc errors

* fix tsc errors
2021-07-26 16:47:55 +08:00
k983551019
3549554a80
docs: Update typography/index.zh-CN.md (#31506)
多一列onEnd
2021-07-23 17:30:29 +08:00
Songhn
9fd2940fdd
docs: update tree-select demo (#31500) 2021-07-23 09:40:48 +08:00
bischmlb
5fc7396024
feat: implemented missing table daDK locale props (#31486)
* added tiggerDesc and triggerAsc to da_DK locale

* moved props to bottom

* added missing fields for table locale daDK
2021-07-22 19:50:09 +08:00
Eldar Mirzabekov
0431b1430a
docs(Steps): responsive doc (#31490) 2021-07-22 19:48:23 +08:00
Benedikt Franke
65b8087784
fix: correct class name for Input component with @ant-prefix variable (#31479) 2021-07-22 19:47:29 +08:00
afc163
568a999137
fix: Tabs tabBarGutter wrong style (#31469)
* chore: upgrade rc-tabs

* fix: Tabs tabBarGutter bugs

1. first tab should not have gutter
2. add button lost gutter
3. rtl issue

close #31462

* fix snapshot
2021-07-22 15:05:39 +08:00
Jógvan Olsen
dece6773c9
docs: remove editable duplicated mentions of callbacks (#31481) 2021-07-22 15:03:29 +08:00
afc163
24401706d9
fix: Badge status color changed when toggle visibility (#31458)
close #30088
2021-07-20 17:58:47 +08:00
afc163
481c0c2a4b
fix: Input.Password unexpected focus shadow style (#31456)
close #31446
2021-07-20 17:17:24 +08:00
github-actions[bot]
563ebe1982
chore: auto merge branchs (#31454)
chore: merge master into feature
2021-07-20 07:32:16 +00:00
afc163
79825fd318
fix: Typography.Text ellipsis bug (#31449)
* fix: Typography.Text ellipsis bug

* use getBoundingClientRect().height instead of offsetHeight

* reduce code

* revert table demo

* fix test case

* fix test cov

* fix test cov

* fix test cov
2021-07-20 13:51:03 +08:00
Kirill Barsukov
2c560b881f
chore: Update ru_RU.tsx (#31448)
Just a wording. The meaning was not changed but it is the better word that describes "preview".
2021-07-19 22:50:58 +08:00
Joshua Chen
d1dc0eba2c
docs: fix grammar and inconsistencies in en-US (#31385)
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-07-19 16:21:09 +08:00
Map1en_
c59580f215
feat: add the dashed props of menu divider (#31379)
close #31292
2021-07-19 15:42:07 +08:00
Derrick
bca40782aa
fix: Select background error (#31430)
* fix: Select background error

* fix: add Select selected background when disabled

* fix: add Select disabled background when selected

* fix: Modify color variables
2021-07-17 00:29:43 +08:00
Geoffrey Bell
56a1bbb778
fix: remove unnecessary line-height setting for Radio (#31421) 2021-07-16 16:23:14 +08:00
Camol
7f8e177735
fix: update Transfer locale info in zh_HK.tsx (#31404) 2021-07-14 17:21:39 +08:00
二货机器人
86c5bf6e60
feat: Tree support fieldNames (#31395)
* feat: Tree support fieldNames

* docs: Update desc

* chore: Update snapshot
2021-07-14 14:23:50 +08:00
afc163
cded822aa5 docs: update Badge.Ribbon demo 2021-07-14 12:35:03 +08:00
Andrea Blanco
2f87fee808
feat(translate): add missing translations in Spanish (es_ES) locale (#31330)
* add missing translations in Spanish (es_ES) locale

* add missing translations in Spanish (es_ES) locale

* feat(translate): add missing translations in Spanish (es_ES) locale

* feat(translate): add missing translations in Spanish (es_ES) locale
2021-07-14 11:38:10 +08:00
二货机器人
3a1a829708
fix: TextArea style missing (#31391) 2021-07-13 21:38:19 +08:00
afc163
fe683a4750 fix: clear icon breaking style by #31378
https://www.argos-ci.com/ant-design/ant-design/builds/1341
2021-07-13 20:08:15 +08:00
afc163
ba6de5ba18
style: fix input clear icon color css priority (#31378) 2021-07-13 16:17:48 +08:00
afc163
c1d52d3b9b
fix: Table sticky header background (#31373)
close #31362
2021-07-13 12:03:19 +08:00
Peach
972e3c2edd
fix: top border of the table summary row (#31363)
* fix: top border of the table summary row (#31337)

* refactor: return to use container box-shadow for summary

* refactor: revert shadow container of table summary
2021-07-13 11:47:30 +08:00
Mohammad Anas
24e416437e
feat: add urdu language intl (#31346)
* feat: add urdu language intl

* feat: update test snapshot
2021-07-13 10:02:21 +08:00
Jehu
5d8e93b6c1
fix: add Table.SELECTION_NONE for Russian localization (#31361) 2021-07-12 19:57:05 +08:00
afc163
c6130c13b9
Merge pull request #31359 from ant-design/master-to-merge-feature
chore: sync master into feature
2021-07-12 19:56:54 +08:00
Gherciu Gheorghe
994c9d9d4e
feat: add the posibility to controll the checkbox border radius using a separate less variable (#31360) 2021-07-12 19:50:13 +08:00
afc163
c3eda10999 chore: sync feature into master 2021-07-12 19:28:42 +08:00
afc163
a145336687
fix: BackTop should disappear when fade out (#31357)
* fix: BackTop should disappear when fade out

close #31253

* remove default value of removeOnLeave and motionAppear

* fix snapshot
2021-07-12 19:25:45 +08:00
afc163
802201913c docs: TreeSelect treeLoadedKeys
close #31340
2021-07-12 18:30:54 +08:00
afc163
2e3937ecbf
style: fix Cascader style inside Input addon (#31350)
close #31333
2021-07-12 13:25:41 +08:00
afc163
ce54e04452
fix: DatePicker disabled cell style when customize dateRender (#31349)
close #31248
2021-07-12 12:12:07 +08:00
afc163
10a8490b1f chore: fix listStyle type, #31322 2021-07-09 11:14:07 +08:00
afc163
7b16310699
docs: add instruction about form rule whitespace (#31329)
close #31325
close #31287
2021-07-09 11:10:10 +08:00
Rainy
6f0df8d1e4
fix: Transfer listStyle to optional property (#31322) 2021-07-09 10:56:31 +08:00
Map1en_
859bf59084
fix(DatePicker): panel body not centered when used in Table (#31306)
* fix(Table): DatePicker cell texts are not centered when used in Table

close #31289

* fix(DataPicker): panel body not centered when used in Table

* fix: replace :is selector

* fix: style
2021-07-08 17:54:34 +08:00
github-actions[bot]
442ef88a91
chore: auto merge branchs (#31308)
chore: sync master into feature
2021-07-08 05:42:19 +00:00
afc163
b9390b441c
fix: Desciptions border missing when inside Table (#31307)
close #31274
2021-07-08 13:08:21 +08:00
afc163
af1d176d70 test: update snapshot 2021-07-08 12:58:11 +08:00
diye
e9666f885b
fix: input-number wrapper's border triggers hover unexpectedly (#31300)
Co-authored-by: diye <diyews@users.noreply.github.com>
2021-07-08 12:10:32 +08:00
Map1en_
44313997da
fix(Table): incomplete display of the top border of table when the window is small (#31298)
close #31279
2021-07-08 09:39:09 +08:00
Map1en_
98fde16089
fix(Avatar): the translation po of avatar group (#31276) 2021-07-06 14:40:58 +08:00
Map1en_
71e57c40ee
feat(Avatar): add crossOrigin property (#31273)
close #30932
2021-07-06 12:16:46 +08:00
Map1en_
a4d7d61b8c
fix(locale): add selectNone for en_GB locale file (#31264)
#30938
2021-07-05 16:01:15 +08:00
Aminul Islam
6196bf01e9
feat: Added bn_BD Bangla language (#31257)
* feat: Added bn_BD Bangla language

* fix: added missing provider

* changed to bn-bd

* added test

* updated test snap

* update i18n docs
2021-07-05 10:58:48 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
chore: sync master to feature
2021-07-04 20:00:59 +08:00
Ikko Ashimine
148678b08d
chore: typo in comment (#31255)
alway -> always
2021-07-03 16:05:30 +08:00
afc163
f93a137fab
fix: Form Input error outline color (#31240)
close #31236
2021-07-02 19:07:11 +08:00
afc163
1626157dae
style: Rate focus ring style in safari (#31241)
Safari don't support :focus-visible
2021-07-02 15:17:06 +08:00
Pengsha Ying
846577b694
feat(Cascader): title attributes are added to the selected content text by default (#31237)
* update cascader snapshot

* feat(cascader): Add a friendlier title prompt to the label
2021-07-02 14:55:04 +08:00
Kermit
5ea0628f53
fix(table): selectedRows of rowSelection should always keep sync (#31224)
* fix(table): selectedRows of row selection should always keep sync

* chore: update comment
2021-07-02 13:37:55 +08:00
afc163
a6715fe774
style: tweak select arrow icon position (#31234) 2021-07-02 13:23:28 +08:00
Nikesh
3647a30073
docs: add missing word (#31219)
```Can set `width: 100%` fill a row.```
should be
```Can set `width: 100%` to fill a row.```
2021-07-01 11:20:30 +08:00
afc163
27642b23ba docs: update menu developers notes 2021-06-30 18:04:15 +08:00
afc163
14521d32d9
fix: shouldn't trigger onBlur when clear input (#31202)
close #31200
2021-06-30 13:48:22 +08:00
xrkffgg
5d8b46ce85
feat: Transfer support customize footer (#31108)
close #28082
2021-06-30 12:10:23 +08:00
afc163
19cd3519dd
fix: Tooltip arrowPointAtCenter 1px shift bug (#31201)
close #31197
2021-06-30 11:48:11 +08:00
wangao
7a10ed1e12
fix(FormItem): add name as default variables.label value (#30179)
* fix(FormItem): add name as default variables.label value

* test(Form.Item): add name as default test
2021-06-30 11:32:34 +08:00
afc163
4e12007441 demo: update components/table/demo/edit-cell.md 2021-06-30 11:15:12 +08:00
afc163
a047de206e
fix: Menu item color style transtion (#31189)
close https://github.com/ant-design/ant-design/issues/31069#issuecomment-866052544
2021-06-29 19:04:37 +08:00
afc163
f73a7d2e1a
fix: Dropdown.Button do not support overlayClassName (#31187) 2021-06-29 17:55:02 +08:00
Map1en_
3bd725c79e
fix(Pagination): make the pattern of disabled-active buttons from pagination and that of radio consistent (#31185)
close #31103
2021-06-29 17:37:35 +08:00
afc163
993b934c7f merge feature into master 2021-06-29 17:09:39 +08:00
Ricardo Morais
d6b623633a
fix(Table): Fixed filtering in columns with children (#30815)
* Fixed filtering in columns with children.

* Added entries to the changelog files.

* Revert "Added entries to the changelog files."

This reverts commit 26a08bdc

Co-authored-by: moraispgsi <moraispgis@gmail.com>
2021-06-29 17:07:47 +08:00
stygian-desolator
af94f3f537
perf: reduce Progress animation cpu usage (#31128)
close #31124
2021-06-25 14:00:18 +08:00
afc163
feba8d62ed test: update snapshot 2021-06-25 13:38:07 +08:00
A113n
01b928dc03
fix: color props not working on popover arrow (#31127)
Co-authored-by: A113n <a113nzhang@gmail.com>
2021-06-25 13:37:34 +08:00
Jehu
09bb8ee80e
docs: doc of tooltip add overlayInnerStyle (#31119)
* docs: doc of tooltip add overlayInnerStyle

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

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

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

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-06-25 11:04:00 +08:00
Jiehui
92f573e2ee
docs: Update the instance description of FormInstance (#31106) 2021-06-23 19:46:58 +08:00
Jehu
a350421b6a
feat: Transfer support locale.notFoundContent as array (#31088)
* feat: transfer support locale.notFoundContent as array

* feat: transfer support locale.notFoundContent as array with test
2021-06-23 17:38:16 +08:00
netcon
6ee413c604
fix: span element should not contains p element in Badge (#31042)
fixes #30916
2021-06-22 22:53:55 +08:00
Xu Zhiwei
558ac8fce2
docs: default props of message.config (#31078)
Co-authored-by: xuzhiwei <“xuzhiwei@qtrade.com.cn”>
2021-06-22 13:33:01 +08:00
zombiej
e2cc3b4720 docs: Update Menu faq 2021-06-22 11:22:39 +08:00
二货机器人
2f6f6f0e6e
fix: Menu overflow indicator theme should fixed (#31043) 2021-06-18 16:06:19 +08:00
二货机器人
ba8eac0b7b
feat: InputNumber formatter support additional info (#31030) 2021-06-17 21:45:03 +08:00
github-actions[bot]
efb970ccce
chore: auto merge branchs (#31031)
chore: feature merge master
2021-06-17 13:14:27 +00:00
二货机器人
5583383d85
chore: Use pure import icon (#31011) 2021-06-16 20:21:15 +08:00
二货机器人
b7bb7a5e59
fix: italic should not warning (#31004)
resolve #31002
2021-06-16 15:52:05 +08:00
二货机器人
398b406c7f
fix: Space use gap should not keep negative margin (#31000) 2021-06-16 13:34:22 +08:00
github-actions[bot]
2cf0d23413
chore: auto merge branchs (#31001)
chore: merge master into feature
2021-06-16 05:29:20 +00:00
afc163
c671b4e3f1
fix: Input.Password border color (#30999)
* chore: form demo style

* fix: Input.Password hover border color in Form
2021-06-16 13:05:55 +08:00
afc163
d1bd9093db fix: table resize demo snapshot 2021-06-16 12:04:17 +08:00
afc163
4963117cac chore: fix demo typo name
close https://github.com/ant-design/ant-design/pull/30994
2021-06-16 11:52:02 +08:00
afc163
34d7a1c80c docs: info about disabledDate currentDate argument
close #30987
2021-06-15 16:04:23 +08:00
github-actions[bot]
2f605218d3
chore: auto merge branchs (#30986)
chore: merge master into feature
2021-06-15 07:19:32 +00:00
afc163
4cdd24f4ec
chore: should use @{table-prefix-cls} (#30983) 2021-06-15 14:52:00 +08:00
afc163
7ae9b947ea
fix: Table fixed column header hover background (#30972)
close #30969
2021-06-14 12:39:45 +08:00
xiejiahe
fe35f4166d
style: Condition 'typeof enterButton === 'undefined'' is always false. (#30970) 2021-06-13 12:54:35 +08:00
gaozhenqian
832aa81c82
fix(Tooltip): the mistake that tooltip mount on wrong dom (#30963)
when getPopupContainer of tooltip's props is undefined or null
2021-06-11 21:26:40 +08:00
afc163
7601f62ec0
fix: Button loading margin lost when children is fragment (#30962)
close #30953
2021-06-11 16:32:46 +08:00
afc163
62949a6bd6
feat: change Drawer close icon placement and add extra property (#30908)
* feat: Drawer supports extra

* docs: add description for drawer extra demo

* docs: add extra in API

* update snapshot

* fix rtl style

* fix demo typescript errors

* update snapshot

* design for close icon only

* update snapshot

* update demo and default width

* add size prop

* improve demo

* update snapshot

* update demo

* update snapshot
2021-06-11 08:39:17 +08:00
github-actions[bot]
edb20e7ead
chore: auto merge branchs (#30949)
chore: sync master into feature
2021-06-10 05:32:47 +00:00
afc163
1d894a2276 test: update snapshot 2021-06-10 13:10:15 +08:00
Jehu
0b1f4da2eb
feat: add skeleton btn block (#30902)
close #30832
2021-06-10 00:38:55 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls (#30925)
* feat: Static iconPrefixCls

* feat: message & notification support iconPrefixCls

* docs: Update doc

* chore: Force update

* fix: ts def
2021-06-09 15:36:59 +08:00
github-actions[bot]
827d34db1f
chore: auto merge branchs (#30926)
chore: sync master into feature
2021-06-09 06:18:09 +00:00
Wendell
748be64337
chore: Table warn about miss matched filter key (#30882)
* fix: warn about miss matched filter key

close #28107

* fix: add sortBy for correct array equal

* fix: fix warning message

* fix: fix lint
2021-06-09 12:19:31 +08:00
Wendell
5ddd9e6b97
feat(module:popconfirm): support closing based on promise (#30871)
* feat(module:popconfirm): support closing based on promise

fix: typos

fix: fix tests

fix: fix ActionButton for Popconfirm

* chore: cleanup

* test: add test
2021-06-09 12:18:52 +08:00
afc163
73102377af fix: demo snapshot 2021-06-09 12:09:53 +08:00
afc163
dd2d22698a
docs: Typography add demo of ellipsis from middle (#30914)
* docs: Add demo of ellipsis from middle

* fix demo
2021-06-09 11:44:20 +08:00
二货机器人
cada8e1ebc
fix: dropdown item use max width (#30911) 2021-06-08 17:02:25 +08:00
二货机器人
cedf59c886
fix: Menu dark mode hover style (#30907) 2021-06-08 16:15:55 +08:00
Michał Janicki
cc58210fa6
fix: Translation bug in a Table sorter popup [PL] (#30899)
Signed-off-by: Michal Janicki <michal@janicki.dev>

Co-authored-by: Michal Janicki <michal@janicki.dev>
2021-06-07 19:10:05 +08:00
afc163
2e65f276de
Merge pull request #30870 from ant-design/master-to-merge-feature
chore: merge master into feature
2021-06-07 16:31:23 +08:00
afc163
ea2545fbc7
fix: Dropdown/DatePicker/Select/Cascader animation direction (#30892)
* fix: DatePicker/Select/Cascader/Select animation direction

close #30889

* fix modal

* fix message
2021-06-07 16:30:40 +08:00
二货机器人
93c33fbf93
fix: patch more style of errorList (#30887)
* fix: patch more style of errorList

* chore: Use className instead

* test: Update snapshot

* test: Update snapshot
2021-06-07 14:32:07 +08:00
afc163
a034dce31d Merge branch 'feature' into master-to-merge-feature 2021-06-07 12:41:31 +08:00
afc163
e4bea72b88 Merge branch 'master' into master-to-merge-feature 2021-06-07 12:41:26 +08:00
afc163
2142180090
fix: form control-ref.md typescript error (#30885)
https://github.com/ant-design/ant-design/pull/30829#issuecomment-855211477
2021-06-07 12:09:44 +08:00
afc163
16599d498c
Revert "docs: Update head.md (#30881)" (#30886)
This reverts commit 921315f582.
2021-06-07 11:05:17 +08:00
Diego Villacís
921315f582
docs: Update head.md (#30881) 2021-06-07 10:46:30 +08:00
二货机器人
c78a6b2270
chore: Adjust menu style (#30883) 2021-06-07 10:43:51 +08:00
二货机器人
b837ecd950
fix: Menu overflow with horizontal should not affect by float element (#30879)
* fix: Menu horizontal layout style

* test: Update snapshot

* fix: lint
2021-06-06 17:31:59 +08:00
叶枫
f288aff9fe
fix: Typography icons should ignore React.Fragment (#30869)
* feat: fix-text

* feat: 优化代码

* chore: add test

* chore: 打算重构 test

* chore: 重构 test

* chore: 重构 test

* chore: 重构 test

* feat: review

* feat: review

* feat: add test

* feat: add test

* fix: test

* fix: tsx

* fix: 优化

* fix: 优化

* fix: map 当前处理

* fix: getNode function

* fix: 优化方法

* fix: ci

* fix: aria-label
2021-06-06 13:41:26 +08:00
afc163
8fe1cc9da5 merge feature into master 2021-06-05 13:30:36 +08:00
afc163
ad60e9544c
fix: Progress type="circle" error (#30855)
* fix: Progress `type="circle"` error

`Rendered more hooks than during the previous render`

close #30685

* update snapshot

* fix gradient strokeColor

* fix snapshot
2021-06-05 13:25:19 +08:00
afc163
e851fa4548
fix: Typography ellipsis width not correct (#30840)
close #30835
2021-06-04 15:39:46 +08:00
二货机器人
7a3bf8287f
feat: Form rule support warningOnly that not block form submit (#30829)
* chore: bump rc-field-form

* docs: Demo driven

* refactor: Use event instead

* chore: collection logic update

* chore: clean up

* chore: show warning

* chore: warning no need required mark

* feat: warning example

* docs: mix error

* chore: tmp list

* chore: magic code

* chore: fix motion

* chore: fix style

* chore: clean up useless code

* chore: RM useless import

* chore: RM useless file

* test: Update snapshot

* chore: Should reset

* fix: Memo logic

* fix: Form basic test case

* fix: lint

* chore: back of ref

* test: Update snapshot

* test: RM ueseless test case

* chore: RM useless code
2021-06-04 14:44:41 +08:00
qqabcv520
47dfa1f2ca
fix: fix type declaration (#30776) 2021-06-03 09:36:04 +08:00
Dony Sukardi
0bc05bff5b
style(tooltip): add max-content width to size correctly (#30822) 2021-06-02 18:13:03 +08:00
Kermit
f6b09a79b0
chore(table): optimize select all checkbox display logic (#30811) 2021-06-02 12:15:00 +08:00
二货机器人
023a1e0f88
fix: Dropdown selected keys (#30802)
* fix: Dropdown selected keys

* fix: less variable it
2021-06-01 13:34:03 +08:00
xrkffgg
678e768e18
docs: perf img show (#30803) 2021-06-01 13:28:25 +08:00
afc163
01d126b8d6
fix: Table column title styles (#30799)
* fix: Table column.title onClick

close #30787

* fix: Table ellipsis when has filters or sorters

close #27959
2021-06-01 11:36:56 +08:00
github-actions[bot]
6fa59e718c
chore: auto merge branchs (#30798)
chore: merge master into feature
2021-06-01 02:50:09 +00:00
afc163
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +08:00
ajuner
133bf530aa
chore: code simpler (#30794)
* chore: code simpler

* Update components/transfer/index.tsx

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-05-31 19:58:57 +08:00
renzhao1113
b06612b00b
fix: remove asterisk selector from file base.less (#30660) 2021-05-31 19:27:00 +08:00
zombiej
3d8dd54d02 test: Update snapshot 2021-05-31 14:46:33 +08:00
张宇
b2bdaf5134
docs: add affix's FAQ (#30775)
* docs: add affix's FAQ

* docs: update affix's FAQ

* docs: update affix's FAQ
2021-05-31 12:17:58 +08:00
二货机器人
9153a732e6
docs: Update FAQ (#30771) 2021-05-30 09:43:48 +08:00
二货机器人
b0fc23957d
fix: HMR typography check logic (#30754) 2021-05-28 14:54:32 +08:00
afc163
7427f52a64
fix: Table column align with sorter and filter (#30744)
* fix: Table column align with sorter and filter

close #30741

* update snapshot
2021-05-28 13:27:58 +08:00
vldh
201c6cadf1
fix: export TreeDataNode (#30745) 2021-05-28 13:26:18 +08:00
二货机器人
6ae00431a9
docs: rm only mark (#30751) 2021-05-28 12:04:47 +08:00
zombiej
737c172c2b test: Update snapshot 2021-05-28 11:44:16 +08:00
vldh
acb869130a
fix: export TableColumnsType (#30747)
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-28 10:32:38 +08:00
二货机器人
5fc63ffafb
feat: Table.Summary support fixed top position (#30726)
* chore: bump rc-table

* docs: Update demo & snapshot
2021-05-27 16:51:14 +08:00
Lu Yu
4440a181b4
docs: RangePicker type and default value in doc (#30720)
* Fix range picker type and default value in doc

* docs: Fix range picker type and default value in doc

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

* Update components/date-picker/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
2021-05-27 15:31:02 +08:00
dependabot[bot]
8a264baf67
chore(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#30724)
* chore(deps-dev): bump typescript from 4.2.4 to 4.3.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

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

* fix tsc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-05-27 15:18:59 +08:00
二货机器人
19ad390c3b
feat: TreeSelect support treeLine (#30705)
* feat: TreeSelect support treeline

* docs: Update doc

* tests: Update snapshot

* docs: rm onlt

* fix: TS definition
2021-05-27 14:48:48 +08:00
afc163
68bec114f6 chore: fix useless margin 2021-05-26 22:43:32 +08:00
dhyuan
483c1e3d0a
fix: Collapse expandIconPosition="right" not working (#30680)
Signed-off-by: dehong <dehong@xsky.com>
Co-authored-by: dehong <dehong@xsky.com>
2021-05-26 22:41:19 +08:00
二货机器人
0a0fa61cb5
fix: Long text of menu ellipsis issue (#30682)
* fix: menu item long text ellipsis

* test: Update snapshot

* test: Update snapshot
2021-05-25 20:52:52 +08:00
二货机器人
c542aad9d6
fix: Menu collection error message (#30678) 2021-05-25 18:38:17 +08:00
二货机器人
feeebdc1e5
fix: Menu overflow measure style (#30672)
* fix: Menu overflow checker

* docs: Fix site style

* test: Update snapshot

* fix: dark menu hover style
2021-05-25 17:24:18 +08:00
二货机器人
17e863fc94
docs: Add Table.Summary desc (#30673)
* docs: Add summary desc

* test: Update snapshot
2021-05-25 16:12:41 +08:00
wan wan
89b9172830
docs: fix typo (#30670) 2021-05-25 15:31:50 +08:00
二货机器人
3e4e89d432
fix: Summary border missing (#30666) 2021-05-25 15:15:19 +08:00
二货机器人
5f3d0a6049
fix: Use css ellipsis when pure text (#30664) 2021-05-25 13:31:22 +08:00
afc163
082f626a3e
style: redesign Table header action (#30651)
* feat: improve Table filter and sorter position

* fix: edge cases of th border

* fix lint

* style: apply new design

* fix css detail

* fix stylelint

* fix css error

* style: sorter icon hover color

* fix test cases

* update snapshot

* fix th padding

* fix calc

* style: fix dark theme
2021-05-24 22:16:06 +08:00
二货机器人
352c560f9a
chore: bump rc-menu (#30646)
* chore: bump rc-menu

* test: update snapshot

* chore: tmp size it
2021-05-24 21:14:03 +08:00
afc163
414192436c
fix: Menu.SubMenu icon margin with other icon libs (#30642)
close #30605
2021-05-24 19:13:23 +08:00
afc163
25549cd388
fix: Form Input prefix style in error status (#30640)
close https://github.com/ant-design/ant-design/issues/30629
2021-05-24 18:18:44 +08:00
lisenenkov
6b419bd5ec
fix: Descriptions style import issue (#30602)
With @import '../../style/themes/default'; theme customization doesn't work
2021-05-24 17:58:18 +08:00
二货机器人
47efa3e4a4
fix: Menu SubMenu (#30638)
* chore: fix level issue

* test: coverage

* chore: clean up

* chore: miss children defition
2021-05-24 17:36:18 +08:00
陈帅
0d1b1c40a6
merge featrue into master (#30636)
* feat: add Table expandable fixed (#29959)

* fix: Use flex gap of space (#30023)

* fix: use flex gap when supported

* test: update snapshot

* refactor: Use single hooks

* feat: Allow breadcrumb component in PageHeader (#30019)

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Rename variable

rename var from _breadcrumbRender to breadcrumbRenderDomFromProps

* feat: add onChange for Statistic.Countdown (#30265)

* feat: add onChange for countdown

* update the demo

* feat(upload): add onDrop (#30319)

* feat(upload): Add onDrop

* Replace "if prop" logic with existential operator

* Remove redundant conditional

* feat(upload): itemRender add actions params (#30236)

* feat(upload): itemRender add actions params

* chore: optimize type definition

* chore: update doc

* chore: rename actions

* chore: trigger ci

* chore: rename method name of actions

* feat: Add missing dutch translations (#30389)

* feat: Add missing dutch translations

* fix: Translate remaining english values

* fix: Update snapshot for ui tests

* test: increase code coverage to 100% (#30415)

* test: fix Space code coverage

* test: should use nl_BE locale for DatePicker

* fix: Switch tabIndex type (#30416)

* feat: updated Romanian internationalization (#30419)

* feat: updated Romanian internationalization

* fixed lint error

* feat: Menu support accessibility & keyboard access (#30382)

* chore: Use focus style

* fix: prefixCls

* fix: prefixCls

* fix: inline tooltip

* fix: inlineCollapse logic

* fix: ts definition

* test: Update snapshot

* test: Update snapshot

* fix: dropdown logic

* test: Update snapshot

* test: Fix some test  case

* bump rc-menu

* test: More test case

* fix test finder

* test: fix test case

* test: Update snapshot

* test: Update snapshot

* chore: Update ssr effect

* test: Update ConfigProvider snapshot

* test: Fix Table Filter test case

* test: Fix table test case

* chore: Update style

* chore: beauti css

* bump rc-menu

* test: update snapshot

* test: update snapshot

* test: Fix menu test

* test: Fix test case

* test: Coverage

* chore: clean up

* bump rc-menu

* ehance accessibility style

* feat(radioGroup): support data-* and aria-* props (#30507)

close #30501

* feat: Typography add italic type (#30458)

* Typography增加斜体字支持

* update snapshot

* 文档添加版本号

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>

* chore: alpha Menu fix merge (#30546)

* chore: Update script

* bump alpha version

* chore: Update script desc

* chore: bump rc-tabs & rc-mentions

* chore: Adjust style

* chore: 4.16.0-alpha.1

* test: Fix mention test case

* fix: sider of layout width style

* chore: bump 4.16.0-alpha.2

* fix: Tabs tabBarGutter should work as expected (#30545)

close #30526

* feat: Table summary support sticky mode (#30631)

* chore: Bump rc-table

* feat: Patch summary fixed color

* fix: style className

* test: Update snapshot

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
Kermit
9275866f24
chore(config-provider): support dynamic prefixCls (#30625) 2021-05-24 11:46:12 +08:00
afc163
e021147bb8
fix: Anchor should trigger onChange when have getCurrentAnchor (#30601)
* fix: Anchor should trigger onChange when have getCurrentAnchor

close #30584

* test: add test case
2021-05-20 21:36:53 +08:00
zombiej
7c06c1b96e docs: Update Transfer asnyc table demo
close #30350
2021-05-20 15:10:38 +08:00
二货机器人
9b60c54995
fix: Space missing TS def (#30590) 2021-05-19 17:44:13 +08:00
afc163
f3d5470804
fix: useNotification className should work (#30588)
close #30576
2021-05-19 17:31:03 +08:00
afc163
7e5a50573a
fix: nested Table margin inside table with fixed columns (#30587)
close #30564
2021-05-19 16:18:26 +08:00
afc163
cf342de7cf
style: refactor Collapse arrow style (#30586)
close #30585
2021-05-19 15:01:15 +08:00
afc163
e290874c51
fix: Typography ellipsis flush when contain suffix (#30582)
* fix: Typography ellipsis flush when contain suffix

* update snapshot

* fix Text default rows

* fix Text default rows
2021-05-19 13:17:58 +08:00
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding (#30555) 2021-05-18 13:02:17 +08:00
Jaideep Ghosh
599a8f82f9
fix: Updated hindi locale with missing messages. (#30541)
* fix: Updated hindi locale with missing messages.

* feat:Updating snapshots.
2021-05-18 10:48:05 +08:00
Amumu
da1d737887
fix: fix snapshot (#30556) 2021-05-17 21:43:43 +08:00
Gabriel Henrique
d6b0e45ed8
feat: update pt_BR locale (#30532) 2021-05-17 08:58:03 +08:00
Liu Bowen
563745694d
fix: style normalization for th element (#30399)
* fix: th shouldn't normalized by global style

resolve #30398

* fix: remove th normalization from table rules
2021-05-11 22:35:11 +08:00
Huyen Nguyen
25edaba20d
docs: fix typo in DatePicker prop description (#30484) 2021-05-11 20:28:04 +08:00
Aleksi Cohen
369dc34a4e
fix: typo in fi_FI.tsx (#30433) 2021-05-10 22:23:50 +08:00
Tushar Kashyap
5b2489a2e6
docs: changed specific to specify in basic.md (#30461)
Specify is the correct word to use instead of specific in the current scenario.
2021-05-10 16:45:02 +08:00
afc163
dd14752329
fix: Table filterDropdown confirm closeDropdown (#30457)
* fix: Table filterDropdown confirm closeDropdown

close #30454

* add test case

* improve demo
2021-05-10 16:19:56 +08:00
afc163
7e8075b06b
style: fix Rate focused style (#30451)
* style: fix Rate focused style

close #30449

* Apply suggestions from code review

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2021-05-10 10:58:53 +08:00
afc163
effb9d9eef
fix: Dropdown.Button do not support mouseEnterDelay (#30452)
close #30280
2021-05-10 10:37:52 +08:00
OleksandrAntonenko1
e433c5fdeb
fix: File constructor in Upload component. (#30391)
Co-authored-by: ansun <oanteneko@fishfacts.com>
2021-05-08 18:14:57 +08:00
afc163
8a599a099f
style: fix calendar style inside Form.Item (#30442)
* style: fix calendar style inside Form.Item

* fix: Calendar set null/undefined throws error

close #30392
2021-05-08 16:59:03 +08:00
Loïc Huvé
063a3f93fe
fix: Update french locale with missing messages (#30436) 2021-05-08 10:36:15 +08:00
二货机器人
11b7676557
fix: Add missing tooltip-zIndex (#30432)
* fix: Add missing tooltip-zIndex

* docs: Update docs
2021-05-07 17:38:45 +08:00
vmedar
ebb8fc3fc0
fix: Corrected and updated Serbian translation (#30401)
* Translate update

* Filled missing translation

* Update index.test.js.snap
2021-05-06 18:41:29 +08:00
afc163
b6951f3253
style: fix Table expand icon style in Firefox (#30410)
close #29848
2021-05-06 16:01:49 +08:00
afc163
387b9fdd34 docs: add arrow faq to Carousel documentation 2021-05-06 14:37:39 +08:00
Fachreza Muslim
ade92eb1bd
fix: Steps with progress - Circle get cut at the bottom (#30373)
* Step with progress - Circle get cut at the bottom

* rtl step with progress - circle get cut at the right
2021-05-05 22:46:31 +08:00
Map1en_
1699754bd5
fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale (#30380)
* fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale

close #30374

* fix: DatePicker.RangePicker

* test: add test
2021-05-05 22:28:56 +08:00
_XiaoTian
836163adc0
docs: Update carousel documentation (#30356)
* Update index.zh-CN.md

* Update index.en-US.md

* Update: Modify format
2021-05-05 17:20:13 +08:00
Map1en_
a39e51a8c1
fix(layout-sider): menu-item width is wrong when collapsedWidth is set (#30357)
close #30355
2021-04-30 15:15:40 +08:00
xrkffgg
a4f503c720
test: add more space test coverage (#30369) 2021-04-30 14:03:05 +08:00
二货机器人
da7f8a7bf1
chore: Adjust Radio spin style (#30367) 2021-04-30 11:42:13 +08:00
Kermit
dd88e30586
fix(upload): beforeUpload type definition (#30351)
* fix(upload): beforeUpload type definition

* chore: optimize test case

* chore: update test
2021-04-30 08:59:18 +08:00
John
60cad5a765
fix(typography): editable should not trigger links (#30354)
closed #30353
2021-04-29 17:03:24 +08:00
afc163
ab83346a5a
Update avatar.md 2021-04-29 11:54:40 +08:00
Kermit
4ccbf1fd0f
fix(upload): UploadFile type definition (#30343) 2021-04-28 22:52:31 +08:00
二货机器人
fa80ae5a0a
test: more test case (#30340) 2021-04-28 15:12:54 +08:00
二货机器人
dbbf0dae75
fix: InputNumber support null (#30337)
* fix: InputNumber support null

* test: update test case
2021-04-28 13:55:38 +08:00
Map1en_
579e3c5f78
fix(modal): fix Dropdown.Button not correctly rendered in Modal footer (#30328)
close #30317
2021-04-28 12:19:40 +08:00
二货机器人
60d2694a07
chore: Remove useless anchor-bg (#30336) 2021-04-28 11:00:22 +08:00
Chalk
7e0af50e1c
fix: added ko_KR and ja_JP TimePicker.RangePicker placeholder (#30285)
* fix: add ko_KR and ja_JP locale TimePicker.RangePicker placeholder

* fix: ko_KR locale grammars in Table and Form messages

* fix: locale ci
2021-04-28 10:25:20 +08:00
afc163
32dfb9c447
fix: Table selection column width when bordered (#30304)
close #29083
2021-04-26 10:35:05 +08:00
Fog3211
0e4f870453
fix: input disabled verification style(#30294) (#30302)
* fix(Input):input verification failed style when mouse hover

* fix: input disabled verification style
2021-04-25 18:04:04 +08:00
afc163
a592dd897e chore: fix table demo
close #30284
2021-04-23 16:59:16 +08:00
afc163
87df777b1b
chore: improve Select custom tag demo (#30249)
close #30224
2021-04-23 14:05:53 +08:00
叶枫
d50a8e66fb
fix: Upload drag demo (#30259) 2021-04-23 10:25:58 +08:00
afc163
2e8a129eb4
fix: Badge spin style (#30275)
close #30274
2021-04-23 10:24:06 +08:00
afc163
eec7eca5b3
Revert "fix(Badge): update cached isDotRef when isHidden (#30090)" (#30277)
This reverts commit d87901e9a5.
2021-04-23 10:23:57 +08:00
二货机器人
2140e8105b
Revert "chore: Upload BugContext (#30250)" (#30273)
This reverts commit c82eea7114.
2021-04-22 22:34:58 +08:00
二货机器人
7c2c49316b
fix: checkbox & radio in flex align (#30260)
* fix: checkbox & radio in flex align

* rm only md

* docs: Update doc

* test: Update snapshot
2021-04-22 20:15:23 +08:00
二货机器人
37c1c302b1
test: Update snapshot (#30267)
* test: Update snapshot

* test: fix open test case
2021-04-22 17:15:37 +08:00
二货机器人
c82eea7114
chore: Upload BugContext (#30250)
* chore: BugContext

* update comment

* only inject uploading fileList
2021-04-21 18:55:52 +08:00
xiejiahe
c2e0cf5154
style(typography): remove null check (#30248) 2021-04-21 16:43:01 +08:00
叶枫
662c7bbf17
fix: Table drag demo (#30246) 2021-04-21 16:22:04 +08:00
wadezhan
d9c67cec59
fix(Table): Add warning when Table current is negative number 2021-04-21 13:47:05 +08:00
Seba Kerckhof
67377f2735
fix(menu): Fix submenu padding inside an itemgroup (#30218)
* fix(menu): Fix submenu padding inside an itemgroup

* Use prefix variable

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-21 13:14:03 +08:00
hello-chinese
a836b582ab
fix(upload): type definition of beforeUpload (#30213) 2021-04-20 19:31:28 +08:00
Kermit
1f1aa86441
fix(upload): should work correctly when url of file is null (#30215)
* fix(upload): should work correctly when url of file is null

* fix: lint
2021-04-20 09:58:02 +08:00
afc163
edb59bd2e8
fix: Button with disabled and type="link" should not clickable (#30209)
close #30207
2021-04-19 17:19:22 +08:00
xiejiahe
ca31a75d1b
style(Badge): remove null check (#30204) 2021-04-19 14:05:00 +08:00
afc163
bf350d6519
fix: link Button cursor style (#30197)
close #30043
2021-04-18 21:31:14 +08:00
hello-chinese
7be721b663
fix(types): Update Typescript definition Upload (#30188) 2021-04-18 20:28:01 +08:00
i3web
6407eac688
docs: update onChange description of Pagination component (#30166)
* docs: update onChange description of Pagination component

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

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

Co-authored-by: 楼航飞 <hangfei.lou@datayes.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-04-18 13:43:59 +08:00
einq7
4b376d0171
docs: perfect validateTrigger description (#30182) 2021-04-17 09:50:21 +08:00
serializedowen
b8193cf97d
fix: typo fix in <Table /> doc (#30167)
fix: typo fix in <Table /> doc
2021-04-16 14:40:29 +08:00
xiejiahe
65c71769ca
style(BreadcrumbItem): Condition check (#30148) 2021-04-15 11:55:35 +08:00
xiejiahe
1d5613ebc4
style(useSelection): Consider using '!==' instead of negating '===' result (#30140) 2021-04-14 22:28:48 +08:00
琚致远
2c68352367
docs: fix typo on the normal-login page (#30132)
* fix: fix typo on the normal-login page

* Update advanced-search.md

* Update form-in-modal.md
2021-04-14 19:00:01 +08:00
骗你是小猫咪
96c7ecbe77
test: fix loading cause visual test fail (#30135) 2021-04-14 10:08:20 +08:00
itibbers
c95e72cb3c
docs: add version of Form.Item hidden (#30134) 2021-04-14 09:34:05 +08:00
Themi Tsiotas von Pfaler
3d40656aed
fix: add da_DK locale TimePicker range placeholder (#30128) 2021-04-13 20:50:33 +08:00
二货机器人
3cfda1042e
fix: TextArea onChange event obj (#30124) 2021-04-13 15:42:43 +08:00
wangao
e4e5cc66e9
fix(upload): file in fileList should get uid at first (#30087)
* docs: delete info log in tree examples

* fix: make check-ts-demo work

* fix(upload): fileList should add uid at first

* revert(docs): revert delete log(info)

* style: delete unused test utils
2021-04-13 09:49:58 +08:00
zombiej
bbbb7f573c docs: Update from faq 2021-04-12 17:48:28 +08:00
Kermit
1542820bc3
fix(tabs): centered prop is not working (#30106) 2021-04-12 16:22:45 +08:00
wangao
fbb89242f4
fix(local): add preview in zh_HK and zh_TW (#30100) 2021-04-12 11:39:49 +08:00
xrkffgg
e8b4d03265
test: add more space test (#30099) 2021-04-12 11:20:57 +08:00
wangao
d87901e9a5
fix(Badge): update cached isDotRef when isHidden (#30090) 2021-04-11 13:37:46 +08:00
xiejiahe
eca9767ba0
docs(Avatar): add draggable api (#30073)
* docs(Avatar): add draggable api

* docs(Avatar): add draggable api
2021-04-10 13:37:02 +08:00
Gamote
a7130187ed
fix: undefined was added to the SelectValue type (#30068)
* Fix: `undefined` was added to the SelectValue type

* fix: `undefined` was added to the SelectValue type
2021-04-10 13:35:08 +08:00
二货机器人
793abf4284
fix: TextArea control with maxLenght (#30070)
* fix: Textarea control missing maxLength

* docs: Clean up
2021-04-09 13:11:18 +08:00
二货机器人
33dbd3f4f1
fix: Table flex pagination (#30065)
* fix: Table flex pagination

* update style
2021-04-08 20:47:19 +08:00
大猫
05127d564a
fix: PageHeader tabs remove padding setting (#29819)
* fix: PageHeader tabs remove padding setting

* fix: only change padding top and bottom
2021-04-08 20:08:29 +08:00
wangao
bee77c3362
fix: add forwardRef to CheckBoxGroup for v3 compatibility (#30039)
* fix: add forwardRef to CheckBoxGroup for v3 compatibility

* tests: add CheckboxGroup forwardRef test
2021-04-08 14:36:50 +08:00
jinchaofs
aa9fac49f7
fix: [Transfer] The box-shadow of the bottom button is not visible (#30030)
Co-authored-by: jinchao.li <jinchao.li@cyclone-robotics.com>
2021-04-06 14:25:16 +08:00
云剪者
f5d6756d77
docs: fix the align - items (#30022) 2021-04-06 10:17:45 +08:00
undefined
2ca113afd5
fix: Cannot read property 'removeChild' of null (#29961)
* fix: undefined error

fix: undefined error

* fix: exec order
2021-04-03 22:31:13 +08:00
afc163
87c8b5a180
fix: Button align issue (#30006)
close #29978
2021-04-03 22:27:46 +08:00
afc163
13a829d20c
fix: classNames typing errors (#30018) 2021-04-02 22:37:36 +08:00
Kermit
dda9f61458
fix(tabs): can't scroll when vertical mode in safari (#29983)
* fix(tabs): can't scroll when vertical mode in safari

* fix: typo

* fix: operation button
2021-04-01 11:33:13 +08:00
lijianqiang0502
d05ff8e777
docs: Update Tag index.zh-CN.md (#29982)
* Update index.zh-CN.md

增加文档api可读性,避免因tag closable的默认行为给用户造成预期之外的错误

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-01 11:26:39 +08:00
einq7
04fa4fce39
docs: fix treeDataSimpleMode type (#29984) 2021-04-01 09:34:47 +08:00
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