Commit Graph

20554 Commits

Author SHA1 Message Date
二货机器人
7fe8f0469c
refactor: Remove useless code (#29931)
* refactor: Remove useless code

* rm useless code
2021-03-29 11:02:58 +08:00
afc163
077443696b docs: fix Form requiredMark demo
close #29921
2021-03-28 16:22:00 +08:00
einq7
4f52d7f964
docs: fix typography mistake in Upload section (#29912) 2021-03-26 11:51:39 +08:00
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData (#29911) 2021-03-26 10:44:54 +08:00
Amumu
98ba4038c1
chore: add eslint-plugin-compat (#29885)
* chore: dd eslint-plugin-compat

* update browserslist

* update browserslist

* fix lint: lint:demo rules

* update @ant-design/tools
2021-03-25 15:01:13 +08:00
dependabot[bot]
d8a31aee21
chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#29901)
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases)
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.5.0...v0.6.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-25 15:00:31 +08:00
undefined
ba9323decb
Fix Button Wave Effect in shadow root (#29897)
* fix wave effect for shadow dom

fix

* fix: wave tests

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

* fix: typeguard

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

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

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

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

Co-authored-by: afc163 <afc163@gmail.com>
2021-03-24 12:24:22 +08:00
dependabot[bot]
e9dd2d4d9a
chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#29875)
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases)
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.4.1...v0.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 12:23:56 +08:00
Jojo Narte
a98e4fc907
fix: (Upload) stopPropagation on file drop (#29832)
Call e.stopPropagation on file drop to support nested drag and drop upload use-cases
2021-03-24 12:23:47 +08:00
dependabot[bot]
69151d567c
chore(deps-dev): bump immer from 8.0.4 to 9.0.1 (#29859)
Bumps [immer](https://github.com/immerjs/immer) from 8.0.4 to 9.0.1.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v8.0.4...v9.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 12:22:52 +08:00
二货机器人
462386a9ab
chore: Rm tag hover style (#29874) 2021-03-23 15:22:39 +08:00
二货机器人
5f38753f6c
fix: align TextArea maxLength logic (#29867)
* fix composition

* fix input

* update doc

* fix tst

* more test case

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

* feat: add doc

* feat: title ts

* feat: cr

* chore: revert

* chore: ts

* feat: doc/sort & drop onChange
2021-03-23 13:32:37 +08:00
dependabot[bot]
dc4d85583f
chore(deps-dev): bump eslint-plugin-unicorn from 28.0.2 to 29.0.0 (#29857)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.2 to 29.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.2...v29.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 17:32:31 +08:00
Wei Zhu
56283688b2
docs: add 4.14.1 changelog (#29849)
* docs: add 4.14.1 changelog

* chore: bump version

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2021-03-22 13:49:31 +08:00
xrkffgg
86b472d0d1
ci: update pr changelog check
add cn lost
2021-03-21 11:36:48 +08:00
Hell Cat
92a849ff27
fix: Image PlaceHolder not clear when using cache (#29829) 2021-03-20 10:40:51 +08:00
二货机器人
4ba53c2cb3
docs: New design of articles (#29827)
* docs: New design of articles

* update

* format
2021-03-19 23:03:04 +08:00
MaoXiangming
8ff10277e1
fix: table demo drag-sorting drag error (#29825)
close #29800
2021-03-19 17:06:33 +08:00
xrkffgg
7fde1b6967
ci: add pr change log fill check (#29823)
* Update pr-open-check.yml

* Update pr-open-check.yml

* Update pr-open-check.yml

* Delete pr-labeled.yml

* Update pr-open-check.yml

* Update pr-open-check.yml

* Update pr-open-check.yml

* Update pr-open-check.yml
2021-03-19 16:58:44 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp (#29804)
* refactor: use rc-util for csp

* update icons version

* add csp support

* update deps
2021-03-19 16:23:25 +08:00
dependabot[bot]
7aba617b4c
chore(deps-dev): bump react-sortable-hoc from 1.11.0 to 2.0.0 (#29822)
Bumps [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) from 1.11.0 to 2.0.0.
- [Release notes](https://github.com/clauderic/react-sortable-hoc/releases)
- [Changelog](https://github.com/clauderic/react-sortable-hoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clauderic/react-sortable-hoc/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-19 15:56:20 +08:00
xrkffgg
42db7a1d92
Update pr-labeled.yml
xx: xx

语法不行
2021-03-19 11:45:44 +08:00
xrkffgg
36ff6499f9
ci: create pr labeled action 2021-03-19 11:41:32 +08:00
Peach
6a0eeb156d
docs: remove yunfengdie from site footer (#29809)
* docs: remove yunfengdie from site footer

* docs: remove other yunfengdie related texts
2021-03-18 18:08:30 +08:00
Tom Xu
ceec88a789 docs: fix customize theme umi link 2021-03-18 16:18:20 +08:00
afc163
99289a0856
style: better Checkbox/Radio label text layout (#29788)
* style: optimize checkbox label text layout

* style: optimize radio label text layout

* fix transfer checkbox position

* fix checkbox align issue in Transfer

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

* chore: update doc
2021-03-15 18:20:36 +08:00
afc163
6368b33663
docs(📖) update changelog 2021-03-15 13:23:38 +08:00
陈帅
93140265f3
docs: add 4.14.0 changelog (#29760)
* docs: add 4.14.0 changelog

* fix typo

* fix typo

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.en-US.md

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

* fix typo

* add merge

* fix lint

* Update CHANGELOG.en-US.md

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

* fix typo

* add 29615

* add 29615

* fix typo

* fix typo

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-03-14 20:09:56 +08:00
陈帅
45b9731df0
Merge pull request #29762 from ant-design/feature
chore: merge feature into master
2021-03-14 17:10:37 +08:00
Amumu
e2eb810ed3
feat: add fr_CA locale (#29748) 2021-03-14 16:47:32 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29 docs: update typography api show 2021-03-14 16:35:09 +08:00
jueinin
16218027bd
feat: support onReset event on Form (#29752)
Co-authored-by: jueinin <b1014397160@gmail.com>
2021-03-14 11:06:46 +08:00
xrkffgg
328f297e99
docs: update upload docs (#29759)
* docs: Update Upload Docs

* code review

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

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

* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

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

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

close #29417

* refactor: Upload use origin behavior (#29737)

* refactor: Fallback of events

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc

* feat: tab support moreIcon (#29744)

* feat: Tabs support moreIcon

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

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

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

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

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

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

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

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

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

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

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

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

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

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

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

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

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

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc
2021-03-12 18:58:57 +08:00