Commit Graph

13664 Commits

Author SHA1 Message Date
二货机器人
3886ad6462
refactor: Tree support generic (#32992)
* chore: bump rc-tree

* test: add test case

* test: Add ts check
2021-11-23 23:05:49 +08:00
afc163
37442ae0d5
fix: Form layout span 24 usage (#32981)
close #32980
2021-11-23 13:15:06 +08:00
WeijieChen
38ecbd7573
fix: remove space (#32974)
Co-authored-by: machixian <machixian@myweimai.com>
2021-11-22 18:40:02 +08:00
afc163
0c66aeee15
style: fix menu link color in collapsed tooltip (#32956)
close #32950
2021-11-20 18:41:57 +08:00
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component (#32853)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot
2021-11-20 15:02:28 +08:00
ppbl
9166e9940b
refactor: Remove unnecessary div containers (#31492) 2021-11-19 22:43:44 +08:00
benben
30844793a2
fix: Modal.method bodyStyle not working (#32934)
* fix: Modal.method bodyStyle失效

* test: Modal.method bodyStyle失效

* Apply suggestions from code review

Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-18 18:29:29 +08:00
afc163
4ca697611f chore: remove unused css code 2021-11-18 14:56:48 +08:00
huangkairan
b03fae3f70
chore: fix types declaration (#32935) 2021-11-18 14:39:22 +08:00
JounQin
077ff7cab1
fix: inherit itemRender typing from rc-pagination (#32931)
fix #32878
2021-11-18 14:10:52 +08:00
JounQin
3fafb7f8d5
fix: Submit typo (#32933)
close #32928
2021-11-18 14:03:26 +08:00
二货机器人
b0e7dd5883
refatcor: Move mixins back (#32920) 2021-11-17 22:36:51 +08:00
二货机器人
39f7ec5fdb
fix: Tabs editable missing remove icon style in dropdown (#32919) 2021-11-17 22:35:27 +08:00
afc163
2424a1abf1
style: fix placholder color missing (#32915) 2021-11-17 18:46:50 +08:00
Michał Podeszwa
892bf99321
feat: Expand pl_PL translations to latest translation spec (#32896)
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
2021-11-17 11:49:21 +08:00
zombiej
a008ebb118 docs: Update Cascader changeOnSelect desc
close #32886
2021-11-17 11:06:30 +08:00
二货机器人
899af6761e
fix: Move variable related code to theme file (#32887) 2021-11-16 14:44:33 +08:00
afc163
c92138d5d2
style: use @height-base in PageHeader (#32883)
close #32871
2021-11-16 13:11:51 +08:00
二货机器人
870b72af88
docs: 4.17.0 changelog (#32859)
* docs: 4.17.0 changelog

* test: Update snapshot

* docs: Update desc

* docs: merge changelog
2021-11-15 19:35:25 +08:00
Karott Schu
491cc4f7ae
fix: borderLeftRadius error for Input.Search #32808 (#32812)
close #32808
2021-11-13 15:37:27 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs (#32839)
chore: sync master to feature
2021-11-12 07:15:31 +00:00
afc163
958df3dd07
docs: add demo for Input.Group (#32837)
https://weibo.com/2259174311/L0gtIjb3Z
2021-11-12 14:47:53 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
afc163
3f495bb56d
chore: Upgrade react router v6 (#32821)
* chore: upgrade react-router to v6

close #32809
close #32774

* fix test

* fix test

* fix test

* fix test
2021-11-11 21:34:07 +08:00
afc163
7ed7c60aa6
style: fix Tree icon align bug (#32822) 2021-11-11 19:18:18 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon (#32818)
* feat: ConfigProvider add form colon

* add: test for ant-design#32799

* fix: Modify FormItemLabel get ConfigColon from From

* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
陈帅
01887b4779
fix: if breadcrumbRender return false, breadcrumb will hidden (#32738)
* fix: if breadcrumbRender return false, breadcrumb will hidden

* add testd
2021-11-10 15:15:02 +08:00
jiang
5f642cbc9e
fix: tag animation demo (#32804) 2021-11-10 13:12:57 +08:00
jiang
852a451477
chore(Tag): update tween-one (#32800)
close #32731
2021-11-10 09:56:16 +08:00
九思⚡⚡⚡
90aff3a517
docs: fix Spin API ts description (#32786)
Co-authored-by: DanielLeefu <you@2228429150@qq.com>
2021-11-08 21:18:17 +08:00
afc163
8a3b5d9f3c
fix: Form horizontal broken style when select item is too long (#32778)
close #32777
2021-11-08 17:27:03 +08:00
Pob Ch
a73f4a324f
docs: Fix the link in Table's API doc (#32779)
- Fix FilterDropdownProps link in table/index.en-US.md
- Fix FilterDropdownProps link in table/index.zh-CN.md
2021-11-08 16:28:16 +08:00
solitia7125
b1ea2e4c55
fix: opening animation of the bottom drawer (#32761)
Co-authored-by: Korra <1178115756@qq.com>

close #32621
2021-11-05 18:45:46 +08:00
Jiajun Chen
10a8578bf9
fix: Spin tip can be react node (#32733)
Though this may be opposed to the design. It may be useful to people who want to have complicated tip content.
2021-11-05 18:44:49 +08:00
二货机器人
f88bd4d2af
refactor: Move part mixins less to theme instead (#32763)
* refactor: Move theme related variables

* chore: move rest motion

* chore: trigger CI

* chore: steps by steps

* chore: back order

* docs: Update docs
2021-11-05 17:22:41 +08:00
afc163
5360722e5c chore: update form demo 2021-11-05 15:51:50 +08:00
afc163
0224151484
fix: tweak Steps vertical progressDot style (#32742)
close #32737
2021-11-04 19:06:31 +08:00
二货机器人
9fa79dc09d
fix: Input disabled should not keep focus style (#32739) 2021-11-04 16:49:57 +08:00
hydraZty
c179c39a3b
fix: Typography ellipsis with 1 row doesn't wrap (#32735)
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-11-04 15:38:33 +08:00
Miloud Belaabed
884c8ef5a3
fix: table loading css error when sticky is true (#32703)
* Table loading css error when sticky is true

* [CodeFactor] Apply fixes to commit dc1a930

[ci skip] [skip ci]

* fix Table loading css error when sticky is true

* Fix table loading css error when sticky is true bug

* Update index.less

Co-authored-by: Miloud Belaabed <m.belabed@itihad.me>
Co-authored-by: codefactor-io <support@codefactor.io>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-31 17:43:34 +08:00
github-actions[bot]
439598c136
chore: auto merge branchs (#32704)
chore: sync master into feature
2021-10-31 07:25:06 +00:00
Austaras
d1f87ccc80
feat: input number support prefix (#32600) 2021-10-30 22:25:12 +08:00
afc163
a0982081fa
style: fix Card tabs of left position (#32695)
close #32673
2021-10-30 14:46:34 +08:00
二货机器人
184402a9bc
feat: Form.Item no longer need fieldKey anymore (#32689)
* chore:Update Form to remove fieldKey

* fix: fieldKey cache logic

* test: Update snapshot

* chore: clean up
2021-10-29 18:24:50 +08:00
afc163
e40b02b544 docs: fix List demo
close #32685
2021-10-29 15:56:41 +08:00
github-actions[bot]
5a1d8159b1
chore: auto merge branchs (#32686)
chore: feature merge master
2021-10-29 07:32:58 +00:00
WeijieChen
b4d16125dd
docs: add Version (#32678)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-29 08:50:01 +08:00
WeijieChen
70e1d6a1d0
feat: Modal.xxx support wrapClassName prop (#32676)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 18:41:30 +08:00
WeijieChen
4d9b6dc74e
docs: form register demo add textarea item (#32669)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 12:26:18 +08:00
afc163
7065e03493
style: fix Upload picture loading style (#32664) 2021-10-27 18:32:40 +08:00
hydraZty
a35b567135
fix: Collapse style issue when expandIconPosition is right (#32648)
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-10-27 12:02:18 +08:00
WeijieChen
16bb5489e6
feat: add showCancel prop for popconfirm (#32620)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-26 19:12:08 +08:00
Chang Wei
a09e1ad921
fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser (#32639) 2021-10-26 13:33:21 +08:00
Jtree03
0e7d82bdb4
refactor: Use getKeyThenIncreaseKey in message notice function (#32642) 2021-10-26 13:17:21 +08:00
Steven.zhong
abc689b796
chore: document and typescript definition update (#32625) 2021-10-25 19:43:17 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
Kayson Wu
2769f44536
feat: add loading prop for Dropdown.Button (#32467)
close #24017
2021-10-21 21:07:55 +08:00
github-actions[bot]
c8150f872d
chore: auto merge branchs (#32585)
chore: sync feature into master
2021-10-21 05:42:17 +00:00
hydraZty
9fe5820cf0
fix: Typography ellipsis height error (#32496) 2021-10-21 13:22:13 +08:00
afc163
38b94e5aeb
fix: Transfer menu item key warning (#32578)
* fix: Transfer menu item key warning

close #32574

* chore: skip tree demo in UI test
2021-10-20 18:19:20 +08:00
叶枫
7d68eca271
docs: add doc (#32570)
* feat: add doc
2021-10-20 12:23:56 +08:00
github-actions[bot]
ce8454f369
chore: auto merge branchs (#32562)
chore: sync master into feature
2021-10-19 12:02:26 +00:00
二货机器人
2bb9407f5f
chore: table support rowSpan hover (#32557) 2021-10-19 15:27:37 +08:00
D-to-the-K
0a8065e5bd
fix: DirectoryTree keyboard error (#32551)
* Fix bug in keyboard navigation

When selecting a node using the keyboard (spacebar), the event received by onSelect has an undefined MouseEvent. Keyboard navigation was not possible because an error was thrown when trying to access properties from the undefined nativeEvent. We are now testing if nativeEvent is defined before accessing its properties.

* fix: DirectoryTree throws error during keyboard navigation
2021-10-19 13:05:17 +08:00
chen-jingjie
413d979731
fix(pagination): simple-pager input no box-shadow (#32528)
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 21:52:59 +08:00
chen-jingjie
204af50bff
fix(Message): typescript type error (#32524)
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-18 10:22:27 +08:00
WeijieChen
e0de0249b2
feat: input support show count (#32522)
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-15 16:23:47 +08:00
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 (#32501)
* chore(deps): update dependency eslint to v8

* fix eslint errors

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 11:19:14 +08:00
renovate[bot]
94b21979e0
chore(deps): update dependency @typescript-eslint/parser to v5 (#32500)
* chore(deps): update dependency @typescript-eslint/parser to v5

* fix md lint

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 09:30:56 +08:00
二货机器人
7c330b77d1
chore: Adjust Collapse header style (#32492)
* chore: Adjust collapse header style for align

* chore: replace variable

* test: Update snapshot
2021-10-14 17:16:38 +08:00
afc163
21d6d10af6
docs: improve alert loop demo (#32488)
* docs: improve alert loop demo

- react-text-loop => react-text-loop-next
- adding demo of react-fast-marquee

* update snapshot
2021-10-14 15:48:33 +08:00
liuxulian
b8f8e995ec
fix: selected text weight depend hx tag (#32486)
* fix: selected text weight depend hx tag

* fix: selected text weight depend hx tag

* fix: selected text weight depend hx tag

* fix: selected text weight depend hx tag

* fix: selected text weight depend hx tag

Co-authored-by: liuxulian.lxl <liuxulian.lxl@antgroup.com>
2021-10-14 15:04:32 +08:00
afc163
827225b895
chore: replace demo image to public avatar resources (#32479)
* docs: replace avatar image to joeschmoe placeholder

* docs: usage randomme avatar url
2021-10-14 12:09:07 +08:00
afc163
ec625a00db
chore: fix divider stylelint errors (#32473) 2021-10-13 19:45:49 +08:00
afc163
be064df13b
Merge pull request #32472 from ant-design/master
chore: sync master into feature
2021-10-13 19:17:48 +08:00
afc163
8cafb114a7
docs: react-infinite-scroller => react-infinite-scroll-component (#32469)
* docs: react-infinite-scroller => react-infinite-scroll-component

close #32388

* update

* replace recommendataion

* update snapshot
2021-10-13 18:59:17 +08:00
chen-jingjie
1ca290eb27
feat(Alert): Custom closeIcon (#32345)
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-13 18:58:30 +08:00
afc163
0313871c16
fix: Radio type cannot be override (#32463)
close #32459
2021-10-13 17:13:07 +08:00
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