ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
93.39k stars 51.04k forks source link

chore: sync master into feature #52653

Closed thinkasany closed 5 days ago

thinkasany commented 5 days ago

中文版模板 / Chinese template

🤔 This is a ...

🔗 Related Issues

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

📝 Change Log

Language Changelog
🇺🇸 English -
🇨🇳 Chinese -
stackblitz[bot] commented 5 days ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

github-actions[bot] commented 5 days ago

Preview is ready

github-actions[bot] commented 5 days ago

👁 Visual Regression Report for PR #52653 Failed ❌

🎯 Target branch: feature (c438e02e28f9fe8a33a5c3c63db1f7f41ce17769) 📖 View Full Report ↗︎ 📊 Summary: 🔄 25 changed

Expected (Branch feature) Actual (Current PR) Diff
input-group.compact.png input-group.compact.png input-group.compact.css-var.png input-group.compact.css-var.png
layout-custom-trigger-debug.compact.png layout-custom-trigger-debug.compact.png layout-custom-trigger-debug.compact.png layout-custom-trigger-debug.compact.png
layout-custom-trigger-debug.compact.png layout-custom-trigger-debug.compact.png layout-custom-trigger-debug.compact.css-var.png layout-custom-trigger-debug.compact.css-var.png
layout-custom-trigger-debug.dark.png layout-custom-trigger-debug.dark.png layout-custom-trigger-debug.dark.png layout-custom-trigger-debug.dark.png
layout-custom-trigger-debug.dark.png layout-custom-trigger-debug.dark.png layout-custom-trigger-debug.dark.css-var.png layout-custom-trigger-debug.dark.css-var.png
layout-custom-trigger-debug.default.png layout-custom-trigger-debug.default.png layout-custom-trigger-debug.default.png layout-custom-trigger-debug.default.png
layout-custom-trigger-debug.default.png layout-custom-trigger-debug.default.png layout-custom-trigger-debug.default.css-var.png layout-custom-trigger-debug.default.css-var.png
menu-style-debug.compact.png menu-style-debug.compact.png menu-style-debug.compact.png menu-style-debug.compact.png

[!WARNING] There are more diffs not shown in the table. Please check the Full Report for details.


[!IMPORTANT] There are 25 diffs found in this PR: 🔄 25 changed. Please check all items:

  • [x] Checked all diffs in the full report
  • [x] Visual diff is acceptable
petercat-assistant[bot] commented 5 days ago

Walkthrough

This pull request primarily involves merging updates from the master branch into a feature branch. It includes modifications to documentation, enhancements to the Input component, style adjustments, localization updates, and dependency updates. The changes aim to improve component functionality, styling, and internationalization support.

Changes

Files Summary
components/input/TextArea.tsx Added compact item context and adjusted size handling.
components/input/index.en-US.md Updated description for enterButton prop.
components/input/style/textarea.ts Added minimum height calculation for textarea.
components/locale/ar_EG.ts, components/locale/he_IL.ts Added translations for Tour component.
components/menu/style/index.ts Added subMenuItemSelectedColor style.
components/pagination/tests/snapshots/demo-extend.test.ts.snap, components/pagination/tests/snapshots/demo.test.ts.snap Updated snapshot tests.
components/pagination/tests/a11y.test.ts Removed skip condition for accessibility test.
components/transfer/tests/snapshots/demo-extend.test.ts.snap Updated snapshot tests.
package.json Updated rc-pagination dependency version.
.github/workflows/release-x.yml Minor workflow adjustments.
petercat-assistant[bot] commented 5 days ago

Walkthrough

This pull request primarily involves merging updates from the master branch into a feature branch. It includes modifications to documentation, enhancements to the Input component, style adjustments, localization updates, and dependency updates. The changes aim to improve component functionality, styling, and internationalization support.

Changes

Files Summary
components/input/TextArea.tsx Added compact item context and adjusted size handling.
components/input/index.en-US.md Updated description for enterButton prop.
components/input/style/textarea.ts Added minimum height calculation for textarea.
components/locale/ar_EG.ts, components/locale/he_IL.ts Added translations for Tour component.
components/menu/style/index.ts Added subMenuItemSelectedColor style.
components/pagination/tests/snapshots/demo-extend.test.ts.snap, components/pagination/tests/snapshots/demo.test.ts.snap Updated snapshot tests.
components/pagination/tests/a11y.test.ts Removed skip condition for accessibility test.
components/transfer/tests/snapshots/demo-extend.test.ts.snap Updated snapshot tests.
package.json Updated rc-pagination dependency version.
.github/workflows/release-x.yml Minor workflow adjustments.
petercat-assistant[bot] commented 5 days ago

Walkthrough

This pull request primarily involves merging updates from the master branch into a feature branch. It includes modifications to documentation, enhancements to the Input component, style adjustments, localization updates, and dependency updates. The changes aim to improve component functionality, styling, and internationalization support.

Changes

Files Summary
components/input/TextArea.tsx Added compact item context and adjusted size handling.
components/input/index.en-US.md Updated description for enterButton prop.
components/input/style/textarea.ts Added minimum height calculation for textarea.
components/locale/ar_EG.ts, components/locale/he_IL.ts Added translations for Tour component.
components/menu/style/index.ts Added subMenuItemSelectedColor style.
components/pagination/tests/snapshots/demo-extend.test.ts.snap, components/pagination/tests/snapshots/demo.test.ts.snap Updated snapshot tests.
components/pagination/tests/a11y.test.ts Removed skip condition for accessibility test.
components/transfer/tests/snapshots/demo-extend.test.ts.snap Updated snapshot tests.
package.json Updated rc-pagination dependency version.
.github/workflows/release-x.yml Minor workflow adjustments.
petercat-assistant[bot] commented 5 days ago

Walkthrough

This pull request primarily involves merging updates from the master branch into a feature branch. It includes modifications to documentation, enhancements to the Input component, style adjustments, localization updates, and dependency updates. The changes aim to improve component functionality, styling, and internationalization support.

Changes

Files Summary
components/input/TextArea.tsx Added compact item context and adjusted size handling.
components/input/index.en-US.md Updated description for enterButton prop.
components/input/style/textarea.ts Added minimum height calculation for textarea.
components/locale/ar_EG.ts, components/locale/he_IL.ts Added translations for Tour component.
components/menu/style/index.ts Added subMenuItemSelectedColor style.
components/pagination/tests/snapshots/demo-extend.test.ts.snap, components/pagination/tests/snapshots/demo.test.ts.snap Updated snapshot tests.
components/pagination/tests/a11y.test.ts Removed skip condition for accessibility test.
components/transfer/tests/snapshots/demo-extend.test.ts.snap Updated snapshot tests.
package.json Updated rc-pagination dependency version.
.github/workflows/release-x.yml Minor workflow adjustments.
socket-security[bot] commented 5 days ago

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/rc-pagination@5.1.0 🔁 npm/rc-pagination@5.0.0 None 0 166 kB zombiej

🚮 Removed packages: npm/@types/qs@6.9.18, npm/@types/react-copy-to-clipboard@5.0.7, npm/@types/react-dom@19.0.3, npm/@types/react-highlight-words@0.20.0, npm/@types/react-resizable@3.0.8, npm/@types/react@19.0.8, npm/@types/semver@7.5.8, npm/@types/spinnies@0.5.3, npm/@types/tar@6.1.13, npm/@types/throttle-debounce@5.0.2, npm/@types/warning@3.0.3, npm/adm-zip@0.5.16, npm/ali-oss@6.22.0, npm/antd-img-crop@4.24.0, npm/antd-style@3.7.1, npm/antd-token-previewer@2.0.8, npm/axios@1.7.9, npm/chalk@5.4.1, npm/cheerio@1.0.0, npm/circular-dependency-plugin@5.2.2, npm/cli-progress@3.12.0, npm/cross-env@7.0.3, npm/cross-fetch@4.1.0, npm/dekko@0.2.1, npm/dotenv@16.4.7, npm/dumi-plugin-color-chunk@1.1.2, npm/dumi@2.4.17, npm/env-paths@3.0.0, npm/eslint-plugin-compat@6.0.2, npm/eslint-plugin-jest@28.11.0, npm/eslint-plugin-jsx-a11y@6.10.2, npm/eslint-plugin-react-hooks@5.2.0-canary-fc8a898d-20241226, npm/eslint-plugin-react-refresh@0.4.18, npm/eslint@9.19.0, npm/fast-glob@3.3.3, npm/fetch-jsonp@1.3.0

View full report↗︎

github-actions[bot] commented 5 days ago

size-limit report 📦

Path Size
dist/antd.min.js 442.5 KB (+58 B 🔺)
dist/antd-with-locales.min.js 510.6 KB (+94 B 🔺)
pkg-pr-new[bot] commented 5 days ago

Open in Stackblitz

More templates

- [farm-normal](https://pkg.pr.new/template/dae5d600-e19d-493f-ade8-4a5d073d6ff3) - [rsbuild-normal](https://pkg.pr.new/template/1ccd0896-d6cb-4c3e-8ad7-284676648cdc) - [umi-normal](https://pkg.pr.new/template/da4beb22-334f-4016-ade8-45e26260007c) - [vite-normal](https://pkg.pr.new/template/77088f68-0851-47fe-b50c-bf478fb42e09) - [vite-practice](https://pkg.pr.new/template/3f2e4a93-96b4-46c1-adf0-e6f3bff536ac) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/ab4d9d92-494d-4d36-a397-ae0669a8a114) - [with-nextjs-extract-style](https://pkg.pr.new/template/7967bf7a-c1ce-4349-9fb1-145cce0b9f56) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/36ec6f12-a7dc-4bd1-87d9-e629cc6dd734) - [with-nextjs-inline-style](https://pkg.pr.new/template/c7587915-f9db-4848-aeb9-a9af6e36ba90)

npm i https://pkg.pr.new/ant-design/ant-design/antd@52653

commit: f96a277

codecov[bot] commented 5 days ago

Bundle Report

Changes will increase total bundle size by 666 bytes (0.02%) :arrow_up:. This is within the configured threshold :white_check_mark:

Detailed changes | Bundle name | Size | Change | | ----------- | ---- | ------ | | antd.min-array-push | 3.38MB | 666 bytes (0.02%) :arrow_up: |

Affected Assets, Files, and Routes:

view changes for bundle: antd.min-array-push #### **Assets Changed:** | Asset Name | Size Change | Total Size | Change (%) | | ---------- | ----------- | ---------- | ---------- | | ```antd-with-locales.min.js``` | 399 bytes | 1.84MB | 0.02% | | ```antd.min.js``` | 267 bytes | 1.54MB | 0.02% |
cloudflare-workers-and-pages[bot] commented 5 days ago

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 97cc776
Status: ✅  Deploy successful!
Preview URL: https://0e3a6372.ant-design.pages.dev
Branch Preview URL: https://feature-merge-master.ant-design.pages.dev

View logs

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c438e02) to head (97cc776). Report is 21 commits behind head on feature.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature #52653 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 767 767 Lines 13820 13823 +3 Branches 3611 3612 +1 ========================================= + Hits 13820 13823 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.