Commit Graph

23633 Commits

Author SHA1 Message Date
二货机器人
dc9412ee55 chore: fix ts 2022-11-07 23:40:11 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with name (#38038)
* Clarify error about children of Form.Item with `name`

This is a common error and the message as written was not very clear.

This should be more helpful pointing people in the right direction

* Update error message in test

* Clarify more error messages

Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.

* Update tests for new error messages

Also improve the test names for some

* Further test message updates

Missed a couple messages

* Add short URLs

* Update test error messages

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-07 17:32:58 +08:00
KotoriK
39f907a14d
refactor(Tree): solve circular import (#38421) 2022-11-07 17:20:07 +08:00
二货爱吃白萝卜
4a1622cd66
docs: unique id (#38422)
* docs: unique id

* test: Update snapshot
2022-11-07 16:45:16 +08:00
JarvisArt
f578a17d9b
fix: Fixed the steps progress icon text color (#38405) 2022-11-07 15:18:48 +08:00
章鱼怪
0438b0bbca
fix: Affix shake when switching from hide to show (#38410)
* fix: do not measure when Affix is hidden

* feat: add test
2022-11-07 11:58:32 +08:00
afc163
2c9fbc8f0c
chore: upgrade to rc-image 5.10.x (#38415) 2022-11-07 10:10:18 +08:00
renovate[bot]
3d762dbb0a
chore(deps): update dependency stylelint-config-standard to v29 (#38408)
* chore(deps): update dependency stylelint-config-standard to v29

* chore: ignore import-notation rule

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-06 17:39:11 +08:00
afc163
4b8ab8ecc8
docs: recommend react-colorful (#38409)
close #35381
2022-11-06 17:39:01 +08:00
afc163
b154c9c8ae
fix: Pagination simple should support showTotal (#38399)
* fix: Pagination simple should support showTotal

* test: add test case
2022-11-06 15:58:48 +08:00
afc163
f835c4bcc3
fix: Modal.confirm buttons should not be interative (#38400)
when modal is hiding

close #37329
2022-11-06 15:58:35 +08:00
咩咩
45b078a1ad
type: add React.ReactNode (#38404) 2022-11-05 21:34:20 +08:00
lijianan
66e4b1c91c
test: simplify test case (#38403) 2022-11-05 21:29:56 +08:00
kiner-tang(文辉)
2eb97400a1
chore: change node heap size to support test (#38397)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-11-05 16:19:37 +08:00
lijianan
7cba2904dd
test: add test codecov & fix demo ts (#38398)
* test: add codecov

* type: optimization type

* fix: fix type

* fix: fix type

* fix: fix type

* fix: fix type
2022-11-05 14:55:34 +08:00
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table aria-label contains [object Object] (#38389)
* fix: columns title render not as expected

* feat: code optimize

* feat: update test case

* feat: update test case

* feat: code optimize

* Update components/table/__tests__/Table.test.tsx

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

* feat: update aria-label

* feat: update test case

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-05 12:44:37 +08:00
Ashish Kapoor
ce4d3a00d1
chore: Tree search demo type error (#38390)
* Update search.md

* Update search.md
2022-11-05 12:42:09 +08:00
JarvisArt
3579f44f50
test: update snapshot (#38387) 2022-11-05 10:14:59 +08:00
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 (#37270)
* chore(deps): update dependency jest to v29

* Update package.json

* chore: update snapshot

* chore(deps): update dependency jest to v29

* Update package.json

* test: fix test case

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-04 23:57:55 +08:00
afc163
1d582551ec
chore: fix Table customized filter dropdown behavior when pressing enter (#38393)
close #38392
2022-11-04 23:40:41 +08:00
afc163
c6762d9215
style: fix Drawer extra using Radio.Group (#38385)
* style: fix Drawer extra using Radio.Group

close #38297

* chore: adjust flex logic

* chore: fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-04 23:00:28 +08:00
lijianan
038c9d0763
type: optimization React.useRef type (#38388) 2022-11-04 18:36:54 +08:00
二货爱吃白萝卜
8a42af39a2
docs: 4.24.1 changelog (#38384)
* chore: 4.24.1 changelog

* docs: update
2022-11-04 16:58:57 +08:00
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" (#38383)
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160)"

This reverts commit 21c4bcf40a.

* test: Update snapshot
2022-11-04 16:18:43 +08:00
咩咩
e80e40b764
type: type optimization (#38381)
Co-authored-by: jiang_chunqiao <chunqiao_jiang@icloud.com>
2022-11-04 15:33:01 +08:00
dependabot[bot]
53bea24110
chore(deps-dev): bump jest-axe from 6.0.1 to 7.0.0 (#38367)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/NickColley/jest-axe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/compare/v6.0.1...v7.0.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 13:37:46 +08:00
afc163
8f0970d596 Merge branch 'master' of github.com:ant-design/ant-design 2022-11-04 11:58:36 +08:00
afc163
3bb6f4af4f Merge branch 'AdonLee-master' 2022-11-04 11:58:15 +08:00
afc163
9cc228f2af chore: add type test 2022-11-04 11:56:01 +08:00
afc163
f26e9c131d Merge branch 'master' of github.com:AdonLee/ant-design into AdonLee-master 2022-11-04 11:39:24 +08:00
lijianan
82ba22232d
test: simplify test case (#38375) 2022-11-04 11:24:56 +08:00
lijianan
d448c37cdb
test: simplify test case (#38374) 2022-11-04 11:23:59 +08:00
lijianan
9cbacd148e
test: add unmount for test case (#38373) 2022-11-04 11:20:53 +08:00
章鱼怪
ad3c7747e1
feat: add padding less variable for Alert (#38369)
* feat: add padding less variable for Alert

* feat: Alert less variable
2022-11-04 10:43:29 +08:00
dependabot[bot]
90b3823c92
chore(deps-dev): bump @types/puppeteer from 5.4.7 to 7.0.4 (#38368)
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 5.4.7 to 7.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)

---
updated-dependencies:
- dependency-name: "@types/puppeteer"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 20:00:42 +08:00
二货机器人
92b37eebbf fix: rm useless background color of FloatButton group 2022-11-03 14:29:31 +08:00
黑雨
53c2be01ca
chore: update rc-steps and add test case (#38319)
* feat: update rc-steps

* feat: update rc-steps

* feat: update rc-steps

* feat: fix items
2022-11-03 14:28:03 +08:00
afc163
f151990700
fix: Popover icon color get polluted (#38355)
close #38353
2022-11-03 12:12:40 +08:00
二货机器人
5cce2cd7c4 chore: adjust Popover PurePanel style pos 2022-11-03 11:06:34 +08:00
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox (#38336)
* Adds aria-label to Table header checkbox

* Corrects inverted aria label

* Updates some napshots

* Updates transfer snapshots
2022-11-03 10:15:03 +08:00
二货爱吃白萝卜
d6e643a46d
feat: Tour support PurePanel (#38348)
* feat: PurePanel

* test: Update snapshot

* test: coverage
2022-11-03 00:43:26 +08:00
lijianan
a38e411b72
fix: remove strokeWidth limit (#38320)
* fix: remove limit

* fix: fix

* fix: fix

* fix: update snap
2022-11-02 22:21:28 +08:00
MadCcc
8b12310ade chore: bump version to 5.0.0-alpha.34 2022-11-02 21:56:52 +08:00
MadCcc
abf45ca898
fix: Tour should not trigger onNext if finish (#38347)
* fix: Tour should not trigger onNext if finish

* test: update test case

* chore: update test case
2022-11-02 21:54:55 +08:00
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +08:00
黑雨
b0850139f2
[new component] Next tour (#37867)
* feat: init

* feat: update

* feat: upate

* feat: update

* feat: update

* feat: init

* feat: init

* feat: init

* feat: update

* feat: update

* feat: update

* feat: update rc-tour

* feat: init component

* feat: init component

* chore: update pck

* doc: update doc

* doc: update reviewer

* doc: update reviewer

* doc: update reviewer

* feat: update reviewer

* feat: update reviewer

* feat: update doc

* feat: update deme

* feat: update demo doc

* feat: update demo

* feat: update demo

* feat: update style

* feat: update dom & style

* feat: update dome

* feat: update dome

* docs: update demo

* feat: update doc

* feat: update dome

* feat: add locale

* doc: update locale

* doc: add test

* feat: add test case

* feat: add test case

* feat: update package

* feat: update ts

* feat: update ts

* feat: update snapshots

* feat: update demo

* feat: update demo

* feat: update demo

* feat: edit maxSize

* feat: edit maxSize

* feat: update lint

* feat: update lint

* feat: update style reviewer

* feat: update style

* feat: merge next

* feat: add locale

* feat: reset bundleSize

* feat: change maxSize

* feat: update test coverage

* feat: update test coverage

* feat: add type

* chore: simplify en locale

* feat: update

* feat: update test snap

* docs: demo update

* chore: adjust style

* chore: adjust style

* chore: bump rc-tour

* Update package.json

* feat: update package

* feat: update package

* feat: update cover

* docs: update api

* docs: update overview snap

* feat: update token

* feat: delete repeat ts

* feat: remove finishButtonProps

* chore: update demo

* feat: tour style

* test: fix lint

* chore: code clean

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-02 16:25:28 +08:00
MadCcc
8f6f223f2d
fix: image preview style (#38339)
* fix: image preview style

* chore: code clean
2022-11-02 13:59:23 +08:00
Optimistic-Chen
036a2c20a1
chore: update table demo ts type (#38333)
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参

虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object

* Update virtual-list.md

* docs: virtualtable example use generic instead of 'Parameters[0]'

* Update components/table/demo/virtual-list.md

Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 13:21:28 +08:00
lijianan
81864f9b8a
fix: ball lose (#38338)
* fix: ball lose

* Update components/anchor/style/index.less

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

* fix: fix style

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 12:00:11 +08:00