docs: Polaris Icons v9 vs v13 变化对比表#2
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Conversation
Compare icons between @shopify/polaris v9 (polaris-icons v4.22.0) and v13 (polaris-icons v9.3.1). Summary: - v9: 410 icons (Major/Minor naming) - v13: 534 icons (unified Icon suffix) - 335 renamed icons - 199 new icons - 0 deleted icons Co-Authored-By: lei2jun <724099654@qq.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Markdown document (
POLARIS_ICONS_DIFF.md) comparing icons between@shopify/polarisv9 (polaris-icons@4.22.0) and v13 (polaris-icons@9.3.1). The data was generated programmatically by:icons-v8-update-namesmigration rename map to correlate oldMajor/Minornames → newIconnamesKey findings:
The document includes: version-by-version change summary, full rename table, full new-icons list, and data sources.
Review & Testing Checklist for Human
DataTableIcon,ChartCohortIcon,ChartLineIcon) correspond to rename-map entries whose v9 source names (AnalyticsTableMajor,AnalyticsCohortMajor,AnalyticsLineMajor) did not have SVG files in the v9polaris-icons/icons/directory. These are arguably renames rather than truly new icons — verify whether this distinction matters for your use case.AccessibilityMajor→EyeCheckMarkIcon,CancelMajor→XIcon).@shopify/polaris@9.9.0) matches the Polaris v9 version your project actually uses — if you're on a different minor (e.g.9.24.0), the icon set may differ slightly.Notes
polaris-icons/icons/at that tag. Not every icon name in the rename map had a corresponding SVG (some Major/Minor variants shared the same file), so the rename table only includes matches found in the actual file listing.polaris-react(the original repo URL) but this now redirects to theShopify/polarismonorepo.Link to Devin session: https://app.devin.ai/sessions/62934ddd4563496a8636f76de6d83e83
Requested by: @leijuns