refactor(client): hoist IconSparkle16 into ui-primitives

The sparkle glyph gained a second consumer (GoalBar beside the Others
tool-row variant), which the duplication gate correctly flags as a clone —
the package-local-until-shared rule its comment recorded has run its
course. Both copies collapse into the shared ic_ds_* family; the icon-set
count test grows to 57.
This commit is contained in:
imccyu
2026-07-29 00:41:36 +08:00
parent 65929cef21
commit 2eae1955d3
6 changed files with 16 additions and 36 deletions

View File

@@ -14,8 +14,8 @@ const icons = Object.fromEntries(
const iconNames = Object.keys(icons)
describe('ic_ds_ icon set', () => {
it('exports the full P-I set (43 deepsuite + 13 figma extracts)', () => {
expect(iconNames.length).toBe(56)
it('exports the full P-I set (43 deepsuite + 13 figma extracts + the hand-authored sparkle)', () => {
expect(iconNames.length).toBe(57)
})
it.each(iconNames)('%s renders an svg with currentColor fills and no hardcoded palette', (name) => {