feat: ConfigProvider support button variant and color#53165
feat: ConfigProvider support button variant and color#53165coding-ice merged 12 commits intoant-design:featurefrom
Conversation
|
|
👁 Visual Regression Report for PR #53165 Passed ✅
🎊 Congrats! No visual-regression diff found.
|
WalkthroughThis pull request introduces a new feature to the ConfigProvider, allowing it to support setting the variant and color properties of buttons. This enhancement provides more flexibility in button styling by enabling global configuration of these properties. Changes
|
More templates
commit: |
Bundle ReportChanges will increase total bundle size by 336 bytes (0.01%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
Files in
Files in
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature #53165 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 771 771
Lines 13902 13907 +5
Branches 3656 3658 +2
=========================================
+ Hits 13902 13907 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
docs update Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>
docs update Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>
598dbf7 to
616b5ca
Compare
* feat: ConfigProvider support button variant property * feat: ConfigProvider support button color * docs: update config-provider api docs * test: add test case * Update components/config-provider/index.en-US.md docs update Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com> * Update components/config-provider/index.zh-CN.md docs update Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com> * test: add test case * fix: logic * fix(button): improve button color and variant handling logic --------- Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com> Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: thinkasany <480968828@qq.com> Co-authored-by: ice <1597834867@qq.com>


中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
Related to #53081
💡 Background and Solution
📝 Change Log