Commit Graph

13475 Commits

Author SHA1 Message Date
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
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