Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Radio add component token #44389

Merged
merged 1 commit into from
Aug 24, 2023
Merged

feat: Radio add component token #44389

merged 1 commit into from
Aug 24, 2023

Conversation

MadCcc
Copy link
Member

@MadCcc MadCcc commented Aug 24, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Radio add Component Token to support customizing background color of checked solid button.
🇨🇳 Chinese Radio 组件新增组件 Token,用于定制填充按钮选中时的颜色。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at a5a0f44

This pull request adds new style tokens for the Radio component with solid style, and preserves the original appearance with default colors. It modifies the file components/radio/style/index.tsx to implement the changes.

🔍 Walkthrough

🤖 Generated by Copilot at a5a0f44

  • Add new style tokens for solid Radio button background colors (link, link, link, link)
  • Update CSS rules for solid Radio button based on new style tokens (link)

@stackblitz
Copy link

stackblitz bot commented Aug 24, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 24, 2023

@MadCcc MadCcc linked an issue Aug 24, 2023 that may be closed by this pull request
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
./dist/antd.min.js 389.98 KB (+58 B 🔺)
./dist/antd-with-locales.min.js 448.86 KB (+44 B 🔺)

@argos-ci
Copy link

argos-ci bot commented Aug 24, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 🧿 Changes detected (Review) 14 changes Aug 24, 2023, 3:11 AM

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4cf3ba1) 100.00% compared to head (a5a0f44) 100.00%.
Report is 1 commits behind head on feature.

Additional details and impacted files
@@            Coverage Diff            @@
##           feature    #44389   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          663       663           
  Lines        11307     11318   +11     
  Branches      3049      3049           
=========================================
+ Hits         11307     11318   +11     

see 1 file with indirect coverage changes

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

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.

ConfigProvider 定制 radio组件的 theme 不生效
2 participants