Commit Graph

28645 Commits

Author SHA1 Message Date
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
chore: merge master into feature
2024-04-28 14:02:49 +08:00
Wanpan
4020f658a8
docs: tree-select supports onPopupScroll (#48636)
* docs: tree-select supports onPopupScroll props

* docs: update demo

* docs: update version

* test: update snapshots

* fix: update demo

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-28 13:44:01 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils for compatible React-18.3.1 (#48667)
* test: rm legacy react-dom/test-utils for compatible React-18.3.0

* fix: fix

* chore: cls

* chore: update

* fix: fix
2024-04-28 09:52:54 +08:00
希亚的西红柿
f799219c58
fix: ajust the input border style in validation (#48616)
* fix: ajust the input border style in validation

* fix: ajust the background color
2024-04-28 09:51:23 +08:00
Andrey Krupa
cb19e0ed23
fix: fix transfer when trying to select item from the right column while it has "unknown-key" within targetKeys (#48664) 2024-04-26 21:22:24 +08:00
dependabot[bot]
dfaf6ba0bc
chore(deps-dev): bump react from 18.2.0 to 18.3.0 (#48666)
* chore(deps-dev): bump react from 18.2.0 to 18.3.0

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.2.0 to 18.3.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/react)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-26 21:20:48 +08:00
dependabot[bot]
aa5d3bda51
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48665)
* chore(deps-dev): bump the dev-dependencies group with 3 updates

---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: dumi
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-26 21:20:18 +08:00
叶枫
b173ce10a6
docs: add names demo (#48488)
* feat: add names demo

* feat: snap

* feat: add doc

* feat: add doc

* feat: add doc

* feat: remove range

* feat: remove range

* feat: review

* feat: review

* feat: review

* feat: review

* feat: review

* feat: review

* feat: hidden

* feat: resert

* feat: noStyle

* feat: doc

* feat: review

* feat: review

* feat: review

* feat: review

* feat: add en

* feat: doc

* feat: review

* feat: review

* feat: review

* feat: review

* feat: review

* feat: review

* feat: 方法

* feat: review

* feat: review

* feat: review

* feat: review

* feat: doc

* feat: review

* feat: review
2024-04-26 21:10:09 +08:00
lijianan
97b89138ad
Merge pull request #48661 from ant-design/feature-merge-master
chore: feature merge master
2024-04-26 18:23:12 +08:00
neverland
c8bd145ab4
fix(step): custom icon not vertically centered error (#48650)
* fix: Fix the issue where the custom icon is not vertically centered at the default size of Steps

* Co-authored-by: nova1751 <nova1751@users.noreply.github.com>

---------

Co-authored-by: nova1751 <nova1751@users.noreply.github.com>
Co-authored-by: 红 <wxh1220@gmail.com>
2024-04-26 17:45:30 +08:00
thinkasany
2afb721e5e
site: Replace card deprecated API 'bodyStyle' (#48644) 2024-04-26 17:37:14 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
409a227aa0
🔒 ci: locked React version (#48640)
* fix: fix

* ci: lock React version

---------

Co-authored-by: wuxh <wxh1220@gmail.com>
2024-04-26 17:17:09 +08:00
lijianan
bf330cbedb
demo: code optimization (#48621) 2024-04-26 09:40:25 +08:00
dependabot[bot]
9d4a532163
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48632)
* chore(deps-dev): bump the dev-dependencies group with 3 updates

Updates the requirements on [eslint](https://github.com/eslint/eslint), [puppeteer](https://github.com/puppeteer/puppeteer) and [tsx](https://github.com/privatenumber/tsx) to permit the latest version.

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `puppeteer` to 22.7.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.7.0...puppeteer-v22.7.1)

Updates `tsx` to 4.7.3
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.7.2...v4.7.3)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: tsx
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-25 21:56:59 +08:00
二货爱吃白萝卜
c0ae625d92
docs: fix tooltip shift demo (#48628) 2024-04-25 17:31:07 +08:00
二货爱吃白萝卜
8567e55ed0
feat: RangePicker support disabledTime info (#48625) 2024-04-25 15:58:10 +08:00
lijianan
8f1808dae7
type: add miss generic of Upload prop (#48614)
* type: add miss generic of Upload prop

* test: add type test case

* test: add test case
2024-04-25 14:22:35 +08:00
afc163
533c8551ef
docs: Update FUNDING.yml (#48615)
Signed-off-by: afc163 <afc163@gmail.com>
2024-04-25 11:34:33 +08:00
lijianan
cc51d06117
test: solve test cov (#48611)
* test: solve test cov

* test: solve test cov
2024-04-25 11:08:55 +08:00
Jorge Luis Moreno Moller
decfac3540
fix: add Spanish locale in datepicker (#48601)
* Add missing props to es_ES locale

* Unnecessary properties were removed

* test: update snap

* Fix: typo in short week day abbreviation

* test: update snap

* test: update snap

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-04-25 01:45:19 +08:00
Seb
3f339fc87f
fix: add german locale in datepicker (#48586)
* add german locale datepicker

* only change short weeks and months

* fix

* Update index.test.tsx.snap

Signed-off-by: lijianan <574980606@qq.com>

* Update index.test.tsx.snap

Signed-off-by: lijianan <574980606@qq.com>

* test: update snap

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-25 01:01:55 +08:00
Jason Chen
b1ef8957ef
type: missing generic of Upload customRequest prop (#48612)
Signed-off-by: Jason Chen <3380894+jas0ncn@users.noreply.github.com>
2024-04-24 23:57:43 +08:00
lijianan
0dbbe8b9b7
docs: update api since date (#48610) 2024-04-24 22:32:50 +08:00
dependabot[bot]
d9813a9102
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48609)
* chore(deps-dev): bump the dev-dependencies group with 4 updates

Updates the requirements on [@testing-library/react](https://github.com/testing-library/react-testing-library), [eslint](https://github.com/eslint/eslint), [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) and [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.

Updates `@testing-library/react` to 15.0.4
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4)

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `react-router-dom` to 6.23.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.23.0/packages/react-router-dom)

Updates `stylelint` to 16.4.0
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.3.1...16.4.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: react-router-dom
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: stylelint
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 22:13:06 +08:00
希亚的西红柿
9acde83991
feat: add tabindex option for paragraph button (#48567)
* feat: add tabIndex option for paragraph

* test: update snapshot

* test: update test case

* revert: revert the testcase

* test: update test case

* fix: fix the coverage test

* chore: code optimize

* Update index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update CopyBtn.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update transButton.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update copy.test.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update CopyBtn.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 18:06:38 +08:00
Akino
cba15332ff
fix(badge): number centered but slightly right-aligned (#48605) 2024-04-24 14:11:14 +08:00
daisy
11a160cb25
demo: Table drag handle use useContext (#48588) 2024-04-24 11:48:15 +08:00
lijianan
b9d90f8299
chore: simplify import expression from package.json (#48602) 2024-04-24 11:06:12 +08:00
afc163
8812b14e9d
docs: improve Header menu style (#48597) 2024-04-24 09:51:46 +08:00
dependabot[bot]
3e0c7f7323
chore(deps-dev): bump the dev-dependencies group with 6 updates (#48598)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

Updates the requirements on [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome), [@testing-library/react](https://github.com/testing-library/react-testing-library), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser), [eslint](https://github.com/eslint/eslint), [puppeteer](https://github.com/puppeteer/puppeteer) and [terser](https://github.com/terser/terser) to permit the latest version.

Updates `@biomejs/biome` to 1.7.1
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.7.1/packages/@biomejs/biome)

Updates `@testing-library/react` to 15.0.3
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.2...v15.0.3)

Updates `@typescript-eslint/eslint-plugin` to 7.7.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 7.7.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.7.1/packages/parser)

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `puppeteer` to 22.7.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.5...puppeteer-v22.7.0)

Updates `terser` to 5.30.4
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.30.3...v5.30.4)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-24 09:48:09 +08:00
dependabot[bot]
e336dd6e59
chore(deps-dev): bump sharp from 0.32.6 to 0.33.3 (#48600)
Bumps [sharp](https://github.com/lovell/sharp) from 0.32.6 to 0.33.3.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.32.6...v0.33.3)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 09:47:33 +08:00
dependabot[bot]
48ea1b6675
chore(deps): update rc-picker requirement from ~4.4.1 to ~4.4.2 (#48599)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: rc-picker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 21:54:35 +08:00
vagusX
7c23e51400
docs: fix wrong anchor for form#dependencies (#48570)
* docs: fix wrong anchor for form#dependencies

* test: update snapshot

* scripts: add new badcases to reporter

* scripts: added one

* scripts: copy new added imgs

* scripts: fix filename

* scripts: fix path

* scripts: fix src and dest
2024-04-23 15:50:48 +08:00
二货爱吃白萝卜
634b6cb6e0
fix: add missing style (#48591) 2024-04-23 13:42:20 +08:00
lijianan
625e4706d3
demo: rm getItem methods (#48589) 2024-04-23 11:01:38 +08:00
afc163
e08704f6a4
docs: fix space in import statement (#48552)
* chore: fix space in import statement

* chore: fix space in import statement

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* -C

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-23 10:21:29 +08:00
BiggerRain
f497d93315
docs: fix code examples and statement expressions (#48558)
* doc: fix code examples and statement expressions

* Update docs/react/use-with-umi.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: BiggerRain <15911122312@163.COM>

* Update docs/react/use-with-umi.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: BiggerRain <15911122312@163.COM>

---------

Signed-off-by: BiggerRain <15911122312@163.COM>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-23 10:17:54 +08:00
MadCcc
ce176a8cd2
fix: clearedColor should be changed when initial value is undefined (#48584) 2024-04-23 10:02:45 +08:00
Hamza Seif
09cb3f4fbe
fix: Collapse border radius issue (#48561)
* Fix collapse border issue

Signed-off-by: Hamza Seif <66957751+hamzaseif13@users.noreply.github.com>

* Update components/collapse/style/index.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Hamza Seif <66957751+hamzaseif13@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 21:15:21 +08:00
dependabot[bot]
831c51744b
chore(deps): update rc-slider requirement from ~10.6.1 to ~10.6.2 (#48582)
Updates the requirements on [rc-slider](https://github.com/react-component/slider) to permit the latest version.
- [Release notes](https://github.com/react-component/slider/releases)
- [Changelog](https://github.com/react-component/slider/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/slider/compare/v10.6.1...v10.6.2)

---
updated-dependencies:
- dependency-name: rc-slider
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 21:13:20 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
50d8201aa0
docs: 5.16.4 changelog (#48575)
* docs: 5.16.4 changelog

* docs: fix lint
2024-04-22 15:15:43 +08:00
二货爱吃白萝卜
4eebc0c142
fix: Select token with paddingXXS (#48574)
* fix: paddingXXS

* docs: update demo

* chore: adjust logic

* chore: fix lint

* fix: datePicker style
2024-04-22 13:50:24 +08:00
zhw
ff2268e3cb
fix: Transfer deselect locale (#48553) 2024-04-22 12:03:12 +08:00
希亚的西红柿
c3f5e27c1c
fix: margin problem in css value mode (#48569)
* fix: fix the flex gap problem

* fix: adapt margin problem in css value mode

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 12:02:12 +08:00
二货爱吃白萝卜
c321492eeb
fix: Slider range exchange tooltip blink (#48536)
* fix: slider tooltip pos

* chore: clean up

* chore: fix style

* chore: bump rc-slider

* fix: lock clean up logic

* chore: finish

* test: update snapshot

* chore: bump rc-slider

* test: update snapshot

* test: test coverage

* chore: clean up
2024-04-22 10:26:14 +08:00
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case (#48571)
* chore: add bug version

* test: clean up

* test: fix test case

* chore: fix lint

* test: fix test case

* test: fix test case
2024-04-21 23:56:41 +08:00
xrkffgg
3865e8e2ab
docs: add 5.16.3 changelog (#48564) 2024-04-21 15:30:35 +08:00
thinkasany
f6db43b090
fix(demo): optimize fetchData for table (#48560) 2024-04-20 21:51:29 +08:00