Commit Graph

27769 Commits

Author SHA1 Message Date
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
afc163
ed127e9418
feat: Carousel support arrows for switching (#48542)
* feat: Carousel support arrows function

* fix: order matters

* feat: Carousel support arrows in vertical mode

* chore: update snapshot

* Apply suggestions from code review

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

* chore: fix lint

* chore: fix lint

* chore: dotMargin => dotGap

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-19 17:17:56 +08:00
thinkasany
0bc2e3a838
fix(table): Add missing zh translation (#48543) 2024-04-19 15:01:17 +08:00
Edi Kurniawan
1ec5b28c9a
local: transalate Picker to indonesian (#48537)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

* feat: 🌐 transalate date and time picker to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-19 13:38:40 +08:00
dependabot[bot]
d743ee30b6
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48533)
* chore(deps-dev): bump the dev-dependencies group with 2 updates

---
updated-dependencies:
- dependency-name: "@types/tar"
  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: rc-virtual-list
  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-18 21:28:36 +08:00
dependabot[bot]
8881388dcf
chore(deps-dev): update vanilla-jsoneditor requirement (#48534)
Updates the requirements on [vanilla-jsoneditor](https://github.com/josdejong/svelte-jsoneditor) to permit the latest version.
- [Release notes](https://github.com/josdejong/svelte-jsoneditor/releases)
- [Changelog](https://github.com/josdejong/svelte-jsoneditor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/josdejong/svelte-jsoneditor/compare/v0.23.1...v0.23.2)

---
updated-dependencies:
- dependency-name: vanilla-jsoneditor
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 20:34:10 +08:00
afc163
f4b7c0122f
demo: simplify transfer table example (#48529)
* demo: simplify transfer table example

* demo: simplify transfer table example
2024-04-18 17:45:47 +08:00
二货爱吃白萝卜
f77302553d
fix: Input.Search large size button style (#48527)
* fix: Input.Search large size button style

* chore: adjust logic

* chore: rename
2024-04-18 16:06:35 +08:00
github-actions[bot]
2d237d0e93
chore: auto merge branches (#48526)
chore: merge master into feature
2024-04-18 05:07:06 +00:00
栗嘉男
ad7fdb01d5 chore: merge master into feature 2024-04-18 12:41:26 +08:00
afc163
5fbca4afa9
chore: increase size-limit size limit (#48525)
Signed-off-by: afc163 <afc163@gmail.com>
2024-04-18 11:01:43 +08:00
korkt-kim
1b43d38fd6
fix: Change text color in disabled textarea (#48489)
Co-authored-by: NZ10387 <nz10387@naverz-corp.com>
2024-04-18 11:00:51 +08:00
希亚的西红柿
c8f6aee6e5
fix: fix the flex gap problem (#48522) 2024-04-18 10:31:22 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
Wanpan
273104cb1d
fix: switch checkedChildren no height (#48513)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-17 22:25:46 +08:00
二货爱吃白萝卜
d524a4cd6c
chore: comment on size-limit (#48521) 2024-04-17 21:47:05 +08:00
dependabot[bot]
6b5a6d24b0
chore(deps-dev): bump the dev-dependencies group with 2 updates (#48519)
* chore(deps-dev): bump the dev-dependencies group with 2 updates

Updates the requirements on [eslint](https://github.com/eslint/eslint) and [inquirer](https://github.com/SBoudrias/Inquirer.js) to permit the latest version.

Updates `eslint` from 8.57.0 to 9.0.0
- [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.0.0)

Updates `inquirer` to 9.2.19
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.18...inquirer@9.2.19)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: inquirer
  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-17 21:08:33 +08:00
9965d96259
feat(form): improve scrollToField logic (#48211)
* feat(form): improve scrollToField logic

* docs: update form faq

* test: add unit test

* fix: boundary error

* style: update code

ref: https://github.com/ant-design/ant-design/pull/48211#discussion_r1547535631
ref: https://github.com/ant-design/ant-design/pull/48211#issuecomment-2031635922

* docs: add scrolltofield demo

* chore: update snapshot

* Update components/form/demo/validate-scroll2field.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update demo

* chore: update logic

* chore: update snapshot

* Update components/form/demo/validate-scroll-to-field.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update demo

* chore: update snap

* chore: update

* chore: update demo

* chore: update

* chore: update docs

* chore: update

* chore: update snap

* Update components/form/demo/validate-scroll-to-field.tsx

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

Signed-off-by: 红 <wxh16144@qq.com>

* chore:update logic

* test: add unit test

ref: https://github.com/ant-design/ant-design/issues/28869

* chore: update demo

* test: update snap

* chore: update demo

* chore: update

* chore: update

* chore: fix TS type

* chore: update demo fix layout

* chore: update demo

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-17 17:56:29 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render (#48514)
* docs: fix markdown

* docs: clean up
2024-04-17 17:27:16 +08:00
叶枫
9b72caf77e
feat: up form (#48486) 2024-04-17 15:54:42 +08:00
叶枫
0d34e0b9d8
feat: noStyle no warning (#48508) 2024-04-17 14:38:15 +08:00
Cooper
8026366676
feat: add inlineMargin token support form inline layout (#48362)
* feat: add inlineMargin token support form inline layout

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:09:08 +08:00
Cooper
c7f2760007
feat: add Tabs more props (#48321)
* feat: add Tabs more props

* fix

* fix

* Compatible with moreIcon

* compatible ConfigProvider with the moreIcon

* update site snap

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:05:43 +08:00
@linhf2024
a512f81222
fix(popover): support defaultOpen (#48481)
* fix(popover): support defaultOpen

* chore: add test

* fix: remove test code

* fix: open use default value

* chore: Coding style

* chore: devtool add warning

* fix: remove warning

* fix: Remove unused dependencies

---------

Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:34:11 +08:00
lijianan
4b2a94e383
chore: code optimization (#48495)
* chore: code optimization

* Update components/theme/util/calc/CSSCalculator.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:02:43 +08:00
dependabot[bot]
30afc97fc1
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48492)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/qs"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/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
...

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-16 21:23:40 +08:00
二货爱吃白萝卜
c664676cc0
enhance: speedup image snapshot diff (#48487)
* chore: rm useless code

* chore: fix reset logic
2024-04-16 19:07:16 +08:00