Commit 5838b68
authored
chore(design-system): re-sync @uploads/ui to Claude Design (#665)
* chore(design-system): re-sync @uploads/ui to Claude Design
Re-sync of the 14-component library to the "Uploads" Claude Design project.
All 14 verified-by-upload against the project's `_ds_sync.json` anchor — no
component sources changed, so nothing needed re-grading.
Three sync inputs corrected along the way:
- `Progress` and `Select` now take `cardMode: "column"`. A newer converter
measures grid cells differently and flagged both `[GRID_OVERFLOW]`; NOTES.md
had recorded them as fitting the default width. Their preview sheets were
re-checked after the fix and still grade good.
- `conventions.md` now lists `Button`'s `solid` variant and `icon` prop. Both
ship real CSS and JSDoc, but the header predated them — the design agent
would never have learned `solid` exists.
- NOTES.md: the worktree build recipe said `npx tsup`, which emits no
declarations (`dts: false` in tsup.config.ts). Corrected to `npm run build`,
plus a note that header drift is usually additive rather than renames.
Validate exits clean with no warnings; render check 14/14.
* fix(design-system): re-sync on top of #664 after a stale-base upload
The earlier sync in this branch was built from a worktree branched at #663,
one commit before #664 landed. It rebuilt and re-uploaded the pre-#664
stylesheet about an hour after that fix merged, restoring the exact
`--ul-progress-fill` declaration #664 removed. The Claude Design agent kept
reporting the finding against the uploaded CSS and was correct to.
Rebased onto `origin/main` (9f0de53), rebuilt, and re-uploaded. The shipped
bundle now has zero `--ul-*` custom-property declarations; the token count
drops 32 -> 31. Progress still renders three distinct bands through
`currentColor` (sheets re-checked, grades held), render check 14/14, validate
clean with no warnings.
Adds a Re-sync risk note: a sync uploads whatever the tree builds, so a stale
base silently reverts merged design-system fixes and the anchor diff cannot
catch it — the bundle genuinely changed and reads as a legitimate update.
Fetch and check `origin/main` before building, then grep the built bundle for
whatever the most recent DS fix removed.1 parent 9f0de53 commit 5838b68
3 files changed
Lines changed: 39 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
97 | | - | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
104 | 126 | | |
105 | 127 | | |
106 | 128 | | |
| |||
110 | 132 | | |
111 | 133 | | |
112 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
113 | 141 | | |
114 | 142 | | |
115 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments