ant-design / ant-design

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

chore: sync feature into next #52611

Closed thinkasany closed 2 weeks ago

thinkasany commented 2 weeks ago

Signed-off-by: CaptainVolcom 6163390+CaptainVolcom@users.noreply.github.com

中文版模板 / 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 2 weeks ago

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

github-actions[bot] commented 2 weeks ago

Preview is ready

github-actions[bot] commented 2 weeks ago

👁 Visual Regression Report for PR #52611 Failed ❌

🎯 Target branch: next (26234bcd029090ad0b0c834806c4313676daac9d) 📖 View Full Report ↗︎ 📊 Summary: 🔄 1 changed

Expected (Branch next) Actual (Current PR) Diff
input-group.compact.png input-group.compact.png input-group.compact.css-var.png input-group.compact.css-var.png

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

  • [x] Visual diff is acceptable
petercat-assistant[bot] commented 2 weeks ago

Walkthrough

This pull request primarily focuses on merging the feature branch into the next branch. It includes various updates such as accessibility improvements, bug fixes, and deprecations across multiple components. The PR also updates the package version to 5.23.3 and modifies the webpack configuration.

Changes

Files Summary
.dumi/theme/slots/Content/ColumnCard.tsx Changed Card component to use variant="borderless" instead of bordered=false.
CHANGELOG.en-US.md, CHANGELOG.zh-CN.md Added changelog entries for version 5.23.3.
components/_util/wave/WaveEffect.tsx Split import statement for better clarity.
components/affix/tests/a11y.test.ts, components/alert/tests/a11y.test.ts, components/anchor/tests/a11y.test.ts, components/app/tests/a11y.test.ts, components/auto-complete/tests/a11y.test.ts, components/badge/tests/a11y.test.ts, components/breadcrumb/tests/a11y.test.ts, components/button/tests/a11y.test.ts, components/calendar/tests/a11y.test.ts, components/card/tests/a11y.test.ts, components/carousel/tests/a11y.test.ts, components/checkbox/tests/a11y.test.ts, components/collapse/tests/a11y.test.ts, components/color-picker/tests/a11y.test.ts, components/flex/tests/a11y.test.ts, components/grid/tests/a11y.test.ts, components/list/tests/a11y.test.ts, components/pagination/tests/a11y.test.ts, components/popover/tests/a11y.test.ts, components/progress/tests/a11y.test.ts, components/qr-code/tests/a11y.test.ts, components/rate/tests/a11y.test.ts, components/segmented/tests/a11y.test.ts, components/skeleton/tests/a11y.test.ts, components/slider/tests/a11y.test.ts, components/statistic/tests/a11y.test.ts, components/steps/tests/a11y.test.ts, components/switch/tests/a11y.test.ts, components/table/hooks/useFilter/FilterSearch.tsx, components/tooltip/tests/a11y.test.ts, components/transfer/search.tsx, components/tree/tests/a11y.test.ts, components/upload/tests/a11y.test.ts, components/watermark/tests/a11y.test.ts Updated accessibility tests and imports for various components.
components/auto-complete/index.en-US.md, components/auto-complete/index.zh-CN.md Added new properties size, virtual, onInputKeyDown, and onPopupScroll.
components/avatar/AvatarGroup.tsx, components/avatar/index.tsx Renamed Group to AvatarGroup and updated related imports.
components/button/button-group.tsx Refactored size class logic using useMemo.
components/card/Card.tsx, components/card/demo/border-less.tsx, components/card/demo/in-column.tsx, components/card/index.en-US.md, components/card/index.zh-CN.md Introduced variant prop for Card component, deprecated bordered prop.
components/color-picker/components/ColorHexInput.tsx, components/table/hooks/useFilter/FilterSearch.tsx, components/transfer/search.tsx Updated import paths for Input component.
components/config-provider/context.ts Added variant to CardConfig type.
components/form/hooks/useVariants.ts Added card to the list of components using variants.
package.json Updated version to 5.23.3 and modified sideEffects and dependencies.
webpack.config.js Added gitService configuration for bundle analysis.
tests/shared/accessibilityTest.tsx Added options for skipping tests and disabling axe rules.
socket-security[bot] commented 2 weeks ago

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

Package New capabilities Transitives Size Publisher
npm/@antfu/eslint-config@4.1.0 🔁 npm/@antfu/eslint-config@3.16.0 None 0 825 kB antfu

🚮 Removed packages: 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@9.19.0

View full report↗︎

github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size
dist/antd.min.js 499.37 KB (+259 B 🔺)
dist/antd-with-locales.min.js 567.94 KB (+241 B 🔺)
pkg-pr-new[bot] commented 2 weeks ago

Open in Stackblitz

More templates

- [farm-normal](https://pkg.pr.new/template/f5e5af26-6742-4eb8-8424-1487f65e7118) - [rsbuild-normal](https://pkg.pr.new/template/7f9cfaa9-af71-4d0d-beb9-7b2ff7da474d) - [vite-normal](https://pkg.pr.new/template/23174a63-2dc7-47dd-8acb-77431e599b25) - [vite-practice](https://pkg.pr.new/template/f3962934-0a82-47c4-ad6f-36ee702e0298) - [umi-normal](https://pkg.pr.new/template/d103f000-4cfd-446d-8efb-0fa154eedf3d) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/a74245b7-fc75-41e3-857d-3ac7ba55c46b) - [with-nextjs-extract-style](https://pkg.pr.new/template/80613e2c-9d26-4eef-a944-898ba5ef5a7d) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/f62da4e8-2132-4aed-b82c-490b86aa34b0) - [with-nextjs-inline-style](https://pkg.pr.new/template/bbead226-a85b-4689-b0f6-afad14fa9770)

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

commit: 3415496

cloudflare-workers-and-pages[bot] commented 2 weeks ago

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9e31331
Status: ✅  Deploy successful!
Preview URL: https://6e584436.ant-design.pages.dev
Branch Preview URL: https://next-merge-feature.ant-design.pages.dev

View logs

codecov[bot] commented 2 weeks ago

Bundle Report

Changes will increase total bundle size by 350.23kB (10.37%) :arrow_up::warning:, exceeding the configured threshold of 5%.

Bundle name Size Change
antd.min-array-push 3.73MB 350.23kB (10.37%) :arrow_up::warning:
codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (81efa71) to head (9e31331). Report is 17 commits behind head on next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #52611 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 765 765 Lines 13735 13737 +2 Branches 3578 3577 -1 ========================================= + Hits 13735 13737 +2 ```

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