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

fix: add deprecated token warning #43461

Merged
merged 1 commit into from Jul 10, 2023
Merged

fix: add deprecated token warning #43461

merged 1 commit into from Jul 10, 2023

Conversation

MadCcc
Copy link
Member

@MadCcc MadCcc commented Jul 10, 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

close #43447

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Add warning for deprecated token colorItemBgSelected.
🇨🇳 Chinese 为已废弃的组件 Token colorItemBgSelected 添加警告。

☑️ 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 71fab75

Add a new theme variable colorItemBgSelected to customize the menu item selected background color. Update components/menu/style/index.tsx to support this variable.

🔍 Walkthrough

🤖 Generated by Copilot at 71fab75

  • Add a new style property colorItemBgSelected to customize the background color of the selected menu item (link)

@stackblitz
Copy link

stackblitz bot commented Jul 10, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 10, 2023

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
./dist/antd.min.js 377.29 KB (+5 B 🔺)
./dist/antd-with-locales.min.js 436.76 KB (+5 B 🔺)

@MadCcc MadCcc merged commit 5094710 into master Jul 10, 2023
93 checks passed
@MadCcc MadCcc deleted the fix/deprecated-token branch July 10, 2023 02:36
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.

missing warning about deprecated token colorItemBgSelected in <Menu>
2 participants