Commit Graph

22850 Commits

Author SHA1 Message Date
afc163
311a6e9f2f
Create codeball.yml 2022-11-09 13:59:37 +08:00
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case (#38454) 2022-11-09 11:55:11 +08:00
lijianan
fe9ac7b936
fix: incorrect warning (#38446) 2022-11-09 09:46:27 +08:00
Katsiaryna Pustakhod
4ad7c76866
fix: Adds role progressbar to Progress component (#38447)
* Add role to progress component

* Update snapshots
2022-11-09 09:45:18 +08:00
Sagie501
87817ea172
docs: Update index.en-US.md (#38445)
Fix steps docs
2022-11-09 09:44:13 +08:00
Katsiaryna Pustakhod
cc67f63785
fix: Adds role progressbar to Progress component (#38447)
* Add role to progress component

* Update snapshots
2022-11-09 09:42:10 +08:00
xrkffgg
d5b16f3367
ci: add next notice (#38443)
* ci: add next notice

* Update release-helper.yml

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-11-08 23:23:21 +08:00
tinyfind
7ee9873a45
fix: Paragraph break-word (#38439) 2022-11-08 20:26:26 +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
章鱼怪
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
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
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
黑雨
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
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
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +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
xrkffgg
4c8bcaa5fd
docs: add changelog 4.24.0 (#38315)
* docs: add changelog 4.24.0

* docs: add miss

* docs: add miss

* docs: update

* docs: update

* docs: update

* docs: update
2022-11-01 22:45:49 +08:00
Cedong.Lee
b8de996fc1
fix(DatePicker): PopupClassName does not exist 2022-11-01 12:00:16 +08:00
afc163
4825f0e46a
chore: fix lint 2022-11-01 00:59:10 +08:00
afc163
85cd53d55a
docs: fix code demo width in small device 2022-11-01 00:47:32 +08:00
JarvisArt
047daad164
fix: Badge code lgtm issue (#38316) 2022-11-01 00:16:56 +08:00