-
-
Notifications
You must be signed in to change notification settings - Fork 49.8k
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
refactor: menu component token #43576
Conversation
Run & review this pull request in StackBlitz Codeflow. |
size-limit report 📦
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #43576 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 657 657
Lines 11223 11085 -138
Branches 3055 3013 -42
==========================================
- Hits 11223 11085 -138
☔ View full report in Codecov by Sentry. |
Signed-off-by: MadCcc <1075746765@qq.com>
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Expected |
这个不应该合并到 master 分支。 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at ea38a8f
This pull request introduces new style tokens and refactors the existing style functions for the menu component to enable more customization and consistency. It also updates the documentation to reflect the changes and fixes the
DOCTYPE
declaration in the blog posts.🔍 Walkthrough
🤖 Generated by Copilot at ea38a8f
menuHorizontalHeight
tohorizontalLineHeight
andmenuItemPaddingInline
toitemPaddingInline
for clarity and consistency (link, link, link, link, link, link, link, link, link)groupTitleLineHeight
andgroupTitleFontSize
tokens to customize group title style inMenu
component (link, link, link, link, link, link)itemHeight
,collapsedWidth
,popupBg
,itemMarginBlock
,horizontalLineHeight
,iconSize
,iconMarginInlineEnd
,collapsedIconSize
, and dark theme tokens to customizeMenu
component in different modes, themes, and states (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)genMenuItemStyle
,getBaseStyle
, andgenComponentStyleHook
functions (link, link, link, link)DOCTYPE
declaration from uppercase to lowercase inextract-ssr.en-US.md
andextract-ssr.zh-CN.md
documents to follow HTML5 standard (link, link)