Commit Graph

13522 Commits

Author SHA1 Message Date
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
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
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
Md_ZubairAhmed
0d670da580
fix: adds optional 'id' type to Switch (#32237) 2021-09-19 20:23:04 +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
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
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
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
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