Skip to content

Comments

feat(Button): support classNames and styles for component and ConfigProvider#53055

Merged
zombieJ merged 3 commits intonextfrom
cp-button
Mar 6, 2025
Merged

feat(Button): support classNames and styles for component and ConfigProvider#53055
zombieJ merged 3 commits intonextfrom
cp-button

Conversation

@thinkasany
Copy link
Member

@thinkasany thinkasany commented Mar 5, 2025

中文版模板 / Chinese template

🤔 This is a ...

  • 🆕 New feature

🔗 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 feat: ConfigProvider support classNames and styles for button
🇨🇳 Chinese feat: ConfigProvider support classNames and styles for button

@bolt-new-by-stackblitz
Copy link

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2025

Preview is ready

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2025

👁 Visual Regression Report for PR #53055 Failed ❌

🎯 Target branch: next (3fa9a51)
📖 View Full Report ↗︎
📖 Alternative Report ↗︎
📊 Summary: 🔄 17 changed, 🆕 3 added

Expected (Branch next) Actual (Current PR) Diff
button-debug-icon.compact.png button-debug-icon.compact.png button-debug-icon.compact.png button-debug-icon.compact.png
button-debug-icon.dark.png button-debug-icon.dark.png button-debug-icon.dark.png button-debug-icon.dark.png
button-debug-icon.default.png button-debug-icon.default.png button-debug-icon.default.png button-debug-icon.default.png
table-fixed-columns-header.compact.png table-fixed-columns-header.compact.png table-fixed-columns-header.compact.png table-fixed-columns-header.compact.png
table-fixed-columns-header.dark.png table-fixed-columns-header.dark.png table-fixed-columns-header.dark.png table-fixed-columns-header.dark.png
table-fixed-columns-header.default.png table-fixed-columns-header.default.png table-fixed-columns-header.default.png table-fixed-columns-header.default.png
table-fixed-columns.compact.png table-fixed-columns.compact.png table-fixed-columns.compact.png table-fixed-columns.compact.png
table-fixed-columns.dark.png table-fixed-columns.dark.png table-fixed-columns.dark.png table-fixed-columns.dark.png

Warning

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


Important

There are 20 diffs found in this PR: 🔄 17 changed, 🆕 3 added.
Please check all items:

  • Checked all diffs in the full report
  • Visual diff is acceptable

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2025

size-limit report 📦

Path Size
dist/antd.min.js 507.58 KB (+983 B 🔺)
dist/antd-with-locales.min.js 599.22 KB (-1002 B 🔽)

@thinkasany thinkasany mentioned this pull request Mar 5, 2025
@codecov
Copy link

codecov bot commented Mar 5, 2025

Bundle Report

Changes will increase total bundle size by 2.05kB (0.02%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
antd.min-array-push 11.72MB 2.05kB (0.02%) ⬆️

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.js 1.02kB 6.16MB 0.02%
antd.js 1.02kB 5.56MB 0.02%

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 5, 2025

Open in Stackblitz

More templates

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

commit: c3798dc

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 5, 2025

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: c3798dc
Status: ✅  Deploy successful!
Preview URL: https://28421bd5.ant-design.pages.dev
Branch Preview URL: https://cp-button.ant-design.pages.dev

View logs

@codecov
Copy link

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c34eda6) to head (c3798dc).
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next    #53055   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          772       773    +1     
  Lines        13897     13903    +6     
  Branches      3644      3647    +3     
=========================================
+ Hits         13897     13903    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zombieJ zombieJ merged commit e82d4c7 into next Mar 6, 2025
42 checks passed
@zombieJ zombieJ deleted the cp-button branch March 6, 2025 13:46
@Wxh16144 Wxh16144 changed the title feat: ConfigProvider support classNames and styles for button feat(Button): support classNames and styles for component and ConfigProvider Nov 28, 2025
@thinkasany thinkasany mentioned this pull request Jan 13, 2026
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants