Repository navigation
feat(Icons): Introduce new tree shakable icon library - #9113
talissoncosta wants to merge 6 commits into
Conversation
Not used yet: call sites move over in rounds, so each area gets its own visual review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…e ones npm run generate:icons turns a folder of Figma SVG exports into components. Icons are aria-hidden unless they are given a label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docker builds report
|
There was a problem hiding this comment.
All reported issues were addressed across 72 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23897 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-16 — run #23897 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23897 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23897 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23860 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23860 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23860 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23860 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
|
Visual Regression29 screenshots compared. See report for details. |
Spread caller props before aria-hidden so icons stay hidden unless labelled, pick up rect, ellipse and polygon shapes in the generator, set Flash and PieChart to the 1.5px stroke, and label the size columns in the story. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 69 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds a generated, tree-shakable icon component library (Figma-exported icons), a generator script, tests, and Storybook catalogue. The new icons are additive and not yet imported by existing UI, so runtime behavior is unchanged.
Turn on auto-fix | Re-trigger cubic
docs/if required so people know about the feature.Changes
Contributes to ENG-688
Adds the Figma icon library as one component per icon in
components/icons, next toIconand the existing custom icons:import { TrashIcon } from 'components/icons'. Nothing uses them yet, so the UI doesn't change.fill(defaults tocurrentColor). Hidden from screen readers unless given anaria-label.npm run generate:icons -- <folder>turns SVGs exported from the Figma icon library into these components, so adding or updating an icon is an export and a re-run.Components/Icon library, with a catalogue and the icons at 14, 16, 20 and 24px.Nothing imports them yet on purpose: the next PR swaps ionicons for these and drops
@ionic/react, then the call sites move over andIcongoes.How did you test this code?
classNameand aria props, draws only in the given colour, and is hidden unless labelled.Components/Icon librarycatalogue and sizes stories render all 66 icons in dark mode.