@valiify/dashboard-ui 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +233 -1
  2. package/COMPONENTS.md +1058 -12
  3. package/README.md +40 -7
  4. package/class-manifest.json +187 -2
  5. package/dist/dashboard-ui.css +3017 -918
  6. package/dist/index.css +2370 -448
  7. package/package.json +3 -2
  8. package/src/components/add-funds-form.css +68 -0
  9. package/src/components/alert.css +33 -56
  10. package/src/components/avatar.css +38 -2
  11. package/src/components/button.css +24 -19
  12. package/src/components/card.css +1 -1
  13. package/src/components/checklist-group.css +115 -0
  14. package/src/components/checklist-task.css +125 -0
  15. package/src/components/chip.css +145 -0
  16. package/src/components/comment-date.css +36 -0
  17. package/src/components/comment-item.css +59 -0
  18. package/src/components/content-row.css +108 -0
  19. package/src/components/data-row.css +71 -19
  20. package/src/components/dropdown-field.css +9 -0
  21. package/src/components/entity-header.css +61 -0
  22. package/src/components/field-verification.css +113 -38
  23. package/src/components/finding-card.css +117 -0
  24. package/src/components/finding-option.css +39 -0
  25. package/src/components/finding-row.css +45 -0
  26. package/src/components/funding-status.css +61 -0
  27. package/src/components/funding-total.css +56 -0
  28. package/src/components/funding-transaction.css +103 -0
  29. package/src/components/index.css +29 -0
  30. package/src/components/inline-confirm.css +42 -0
  31. package/src/components/input.css +19 -0
  32. package/src/components/keycap.css +27 -0
  33. package/src/components/menu-item.css +10 -0
  34. package/src/components/modal.css +10 -2
  35. package/src/components/navigation-rail.css +200 -0
  36. package/src/components/overlay-scrim.css +26 -0
  37. package/src/components/owner-table-header.css +42 -0
  38. package/src/components/ownership.css +73 -0
  39. package/src/components/panel-section-header.css +53 -0
  40. package/src/components/panel-status.css +23 -0
  41. package/src/components/panel-strip-button.css +31 -0
  42. package/src/components/progress-circle.css +89 -0
  43. package/src/components/resize-handle.css +131 -0
  44. package/src/components/resolved-row.css +50 -0
  45. package/src/components/scrollbar.css +47 -0
  46. package/src/components/severity-count.css +50 -0
  47. package/src/components/severity-marker.css +66 -0
  48. package/src/components/snapshot-metric.css +72 -0
  49. package/src/components/summary-preview.css +72 -0
  50. package/src/components/switch.css +10 -1
  51. package/src/components/tag.css +20 -0
  52. package/src/components/textarea.css +4 -0
  53. package/src/components/toast.css +9 -5
  54. package/src/components/tooltip.css +14 -8
  55. package/src/themes/valiify-tokens.css +240 -6
  56. package/src/themes/valiify.css +243 -6
  57. package/types/components.d.ts +291 -8
@@ -18,8 +18,11 @@
18
18
  * diffable against Figma. See scripts/build-theme.mjs for the round-trip
19
19
  * assertion that guards the conversion.
20
20
  *
21
- * V1 is a single light theme, so tokens live at the root with no
22
- * [data-theme] wrapper.
21
+ * Two themes since 0.6.0, from the two modes of Figma's Valiify collection.
22
+ * Light is the default and lives at the root with no wrapper; Onyx is the
23
+ * [data-theme="onyx"] block below the @theme block, which overrides every
24
+ * --color-* token and nothing else (radii, widths, heights, type and
25
+ * shadows are mode-independent in Figma).
23
26
  */
24
27
 
25
28
  @theme static {
@@ -92,8 +95,76 @@
92
95
  --color-neutral-soft: oklch(0.6871 0.0189 285.89 / 0.09); /* #9999a617 */
93
96
  --color-neutral-content: oklch(0.5099 0.0141 285.89); /* #65656e */
94
97
 
95
- /* UnGrouped one-offs */
96
- --color-misc-purple: oklch(0.5425 0.1143 300.99); /* #7b5ea7 */
98
+ /* Inverse — the bubble that contrasts with the page (Tooltip, Toast Simple) */
99
+ --color-inverse-surface: oklch(0.202 0.0079 285.67); /* #16161a */
100
+ --color-inverse-content: oklch(1 0 0); /* #ffffff */
101
+ --color-inverse-muted: oklch(1 0 0 / 0.722); /* #ffffffb8 */
102
+
103
+ /* Overlays — modal scrim, scrollbar thumb */
104
+ --color-overlay-scrim: oklch(0.1743 0.0227 283.8 / 0.278); /* #0f0f1a47 */
105
+ --color-overlay-scrollbar: oklch(0.2027 0.0395 282.3 / 0.161); /* #14142829 */
106
+
107
+ /* Control parts that keep their own colour across modes (the Switch knob) */
108
+ --color-control-knob: oklch(1 0 0); /* #ffffff */
109
+
110
+ /* UnGrouped one-offs (misc/Purple is deprecated in Figma: use Misc/Purple/Dot) */
111
+ --color-misc-purple: oklch(0.5425 0.1143 300.99); /* #7b5ea7 — DEPRECATED, see tokens/figma-tokens.json colorDeprecated */
112
+
113
+ /* Misc palette — 18 hues × dot / soft / text, for categorical colour (0.6.0) */
114
+ --color-misc-blue-dot: oklch(0.5819 0.1278 261.61); /* #4f79c6 */
115
+ --color-misc-blue-soft: oklch(0.5819 0.1278 261.61 / 0.102); /* #4f79c61a */
116
+ --color-misc-blue-text: oklch(0.4559 0.1149 260.42); /* #2f5596 */
117
+ --color-misc-indigo-dot: oklch(0.5674 0.1585 275.21); /* #5e6ad2 */
118
+ --color-misc-indigo-soft: oklch(0.5674 0.1585 275.21 / 0.102); /* #5e6ad21a */
119
+ --color-misc-indigo-text: oklch(0.4525 0.1512 274.14); /* #3f49a8 */
120
+ --color-misc-violet-dot: oklch(0.5679 0.1554 292.25); /* #7b61c9 */
121
+ --color-misc-violet-soft: oklch(0.5679 0.1554 292.25 / 0.102); /* #7b61c91a */
122
+ --color-misc-violet-text: oklch(0.4561 0.1513 290.93); /* #5a41a3 */
123
+ --color-misc-purple-dot: oklch(0.5675 0.1531 310.8); /* #9358b8 */
124
+ --color-misc-purple-soft: oklch(0.5675 0.1531 310.8 / 0.102); /* #9358b81a */
125
+ --color-misc-purple-text: oklch(0.4537 0.1417 309.81); /* #6e3a90 */
126
+ --color-misc-pink-dot: oklch(0.6134 0.1491 347.24); /* #c25a95 */
127
+ --color-misc-pink-soft: oklch(0.6134 0.1491 347.24 / 0.102); /* #c25a951a */
128
+ --color-misc-pink-text: oklch(0.488 0.1413 347.81); /* #96376e */
129
+ --color-misc-rose-dot: oklch(0.6044 0.147 11.89); /* #c9566a */
130
+ --color-misc-rose-soft: oklch(0.6044 0.147 11.89 / 0.102); /* #c9566a1a */
131
+ --color-misc-rose-text: oklch(0.481 0.1381 13.77); /* #9c3446 */
132
+ --color-misc-red-dot: oklch(0.5809 0.1632 26.56); /* #c94a43 */
133
+ --color-misc-red-soft: oklch(0.5809 0.1632 26.56 / 0.102); /* #c94a431a */
134
+ --color-misc-red-text: oklch(0.4744 0.1466 27.31); /* #9e302a */
135
+ --color-misc-orange-dot: oklch(0.6178 0.1346 50.39); /* #c46a30 */
136
+ --color-misc-orange-soft: oklch(0.6178 0.1346 50.39 / 0.102); /* #c46a301a */
137
+ --color-misc-orange-text: oklch(0.4979 0.1188 48.49); /* #974a1a */
138
+ --color-misc-amber-dot: oklch(0.6069 0.1214 78.75); /* #a97812 */
139
+ --color-misc-amber-soft: oklch(0.6069 0.1214 78.75 / 0.102); /* #a978121a */
140
+ --color-misc-amber-text: oklch(0.5181 0.1018 73.58); /* #8b5e15 */
141
+ --color-misc-yellow-dot: oklch(0.6176 0.1236 97.54); /* #9a8510 */
142
+ --color-misc-yellow-soft: oklch(0.6176 0.1236 97.54 / 0.102); /* #9a85101a */
143
+ --color-misc-yellow-text: oklch(0.4779 0.0942 98.35); /* #6b5d0c */
144
+ --color-misc-lime-dot: oklch(0.5945 0.1291 126.81); /* #6a8c2c */
145
+ --color-misc-lime-soft: oklch(0.5945 0.1291 126.81 / 0.102); /* #6a8c2c1a */
146
+ --color-misc-lime-text: oklch(0.4881 0.1118 127.43); /* #4e6b1a */
147
+ --color-misc-green-dot: oklch(0.6153 0.1276 151.29); /* #3f9a5c */
148
+ --color-misc-green-soft: oklch(0.6153 0.1276 151.29 / 0.102); /* #3f9a5c1a */
149
+ --color-misc-green-text: oklch(0.4857 0.1083 151.08); /* #25703e */
150
+ --color-misc-emerald-dot: oklch(0.6178 0.107 170.36); /* #2e9a7c */
151
+ --color-misc-emerald-soft: oklch(0.6178 0.107 170.36 / 0.102); /* #2e9a7c1a */
152
+ --color-misc-emerald-text: oklch(0.4837 0.0856 169.84); /* #1c6e57 */
153
+ --color-misc-teal-dot: oklch(0.6159 0.0833 190.03); /* #3e9590 */
154
+ --color-misc-teal-soft: oklch(0.6159 0.0833 190.03 / 0.102); /* #3e95901a */
155
+ --color-misc-teal-text: oklch(0.498 0.0733 188.85); /* #24706b */
156
+ --color-misc-cyan-dot: oklch(0.6197 0.094 224.08); /* #3a92b0 */
157
+ --color-misc-cyan-soft: oklch(0.6197 0.094 224.08 / 0.102); /* #3a92b01a */
158
+ --color-misc-cyan-text: oklch(0.4982 0.0816 225.72); /* #226c86 */
159
+ --color-misc-sky-dot: oklch(0.6371 0.1281 251.09); /* #4a8fd6 */
160
+ --color-misc-sky-soft: oklch(0.6371 0.1281 251.09 / 0.102); /* #4a8fd61a */
161
+ --color-misc-sky-text: oklch(0.5006 0.1212 252.68); /* #2865a6 */
162
+ --color-misc-slate-dot: oklch(0.5752 0.0384 257.87); /* #6b7a90 */
163
+ --color-misc-slate-soft: oklch(0.5752 0.0384 257.87 / 0.102); /* #6b7a901a */
164
+ --color-misc-slate-text: oklch(0.4539 0.0347 259.53); /* #4b576a */
165
+ --color-misc-stone-dot: oklch(0.6085 0.0173 67.49); /* #8a8178 */
166
+ --color-misc-stone-soft: oklch(0.6085 0.0173 67.49 / 0.102); /* #8a81781a */
167
+ --color-misc-stone-text: oklch(0.4727 0.0163 67.42); /* #625a52 */
97
168
 
98
169
  /*
99
170
  * Radii — named by ROLE, not by Figma's t-shirt size. Tailwind v4 ships
@@ -125,6 +196,17 @@
125
196
  --height-control-lg: 32px; /* Height/Control/LG — 32 — btn-lg, input-lg, tab-underline, pagination-item, tag-lg */
126
197
  --height-control-xl: 40px; /* Height/Control/XL — 40 — btn-xl, input-xl, composer shell */
127
198
 
199
+ /*
200
+ * Text Area frame heights — Figma's Height/Textarea/*, the drawn height of
201
+ * each Text Area size (h-textarea-md, min-h-textarea-md). Tokens only: the
202
+ * .vd-textarea-* classes still floor on --height-control-*.
203
+ */
204
+ --height-textarea-xs: 64px; /* Height/Textarea/XS */
205
+ --height-textarea-sm: 80px; /* Height/Textarea/SM */
206
+ --height-textarea-md: 96px; /* Height/Textarea/MD */
207
+ --height-textarea-lg: 120px; /* Height/Textarea/LG */
208
+ --height-textarea-xl: 160px; /* Height/Textarea/XL */
209
+
128
210
  /* Font families */
129
211
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
130
212
  Roboto, 'Helvetica Neue', Arial, sans-serif;
@@ -155,8 +237,8 @@
155
237
  --text-heading-page: 19px; /* Heading/Page (Inter Semi Bold) */
156
238
  --text-heading-page--line-height: 24px;
157
239
  --text-heading-page--font-weight: 600;
158
- --text-heading-section: 17px; /* Heading/Section (Inter Semi Bold) */
159
- --text-heading-section--line-height: 22px;
240
+ --text-heading-section: 18px; /* Heading/Section (Inter Semi Bold) */
241
+ --text-heading-section--line-height: 24px;
160
242
  --text-heading-section--font-weight: 600;
161
243
  --text-heading-compact: 14px; /* Heading/Compact (Inter Semi Bold) */
162
244
  --text-heading-compact--line-height: 20px;
@@ -222,6 +304,7 @@
222
304
  --shadow-knob: 0 1px 2px 0px oklch(0.2027 0.0395 282.3 / 0.251); /* Switch Knob Shadow #14142840 */
223
305
  --shadow-modal: 0 12px 16px 0px oklch(0.2027 0.0395 282.3 / 0.122); /* Modal Drop Shadow #1414281f */
224
306
  --shadow-toast: 0 4px 12px 0px oklch(0.2027 0.0395 282.3 / 0.071); /* Toast Drop Shadow #14142812 */
307
+ --shadow-peek: 8px 0px 32px 0px oklch(0.1777 0.0327 282.56 / 0.18); /* Nav Peek Shadow #0f0f1f2e */
225
308
 
226
309
  /*
227
310
  * Keyboard focus ring — Figma Menu Item > Ring.
@@ -258,6 +341,160 @@
258
341
  */
259
342
  }
260
343
 
344
+ /**
345
+ * Onyx — the dark theme (Figma: Valiify collection, mode "Onyx"), --color-*.
346
+ *
347
+ * Put data-theme="onyx" on <html> (or on any subtree) to switch. Overrides
348
+ * every colour token; everything else is shared with Light. Unlayered and
349
+ * after the root tokens on purpose — see scripts/build-theme.mjs.
350
+ */
351
+ [data-theme="onyx"] {
352
+ color-scheme: dark; /* library decision: native scrollbars + form internals */
353
+
354
+ /* Brand primary */
355
+ --color-primary: oklch(0.6574 0.0917 263.34); /* #7491ca */
356
+ --color-primary-dark: oklch(0.7192 0.0766 261.74); /* #8aa5d5 */
357
+ --color-primary-pressed: oklch(0.7192 0.0766 261.74); /* #8aa5d5 */
358
+ --color-primary-soft: oklch(0.6574 0.0917 263.34 / 0.141); /* #7491ca24 */
359
+ --color-primary-disabled: oklch(0.6574 0.0917 263.34 / 0.349); /* #7491ca59 */
360
+
361
+ /* Brand secondary */
362
+ --color-secondary: oklch(0.7014 0.0101 286.14); /* #9e9ea5 */
363
+ --color-secondary-strong: oklch(0.8002 0.0084 286.21); /* #bdbdc3 */
364
+ --color-secondary-soft: oklch(1 0 0 / 0.071); /* #ffffff12 */
365
+ --color-secondary-content: oklch(0.7112 0.0101 286.14); /* #a1a1a8 */
366
+ --color-secondary-disabled: oklch(1 0 0 / 0.251); /* #ffffff40 */
367
+
368
+ /* Content (text / ink) */
369
+ --color-content-primary: oklch(0.8898 0.0068 286.26); /* #dadadf */
370
+ --color-content-secondary: oklch(0.7014 0.0101 286.14); /* #9e9ea5 */
371
+ --color-content-tertiary: oklch(0.6223 0.0104 286.09); /* #86868d */
372
+ --color-content-faint: oklch(0.4407 0.0097 285.99); /* #525258 */
373
+ --color-content-contrast: oklch(0.1785 0.0041 285.98); /* #111113 */
374
+
375
+ /* Surface stack (back to front) */
376
+ --color-surface-frame: oklch(0.1228 0.0029 285.97); /* #060607 */
377
+ --color-surface-neutral: oklch(0.2103 0.0059 285.89); /* #18181b */
378
+ --color-surface-card: oklch(0.2103 0.0059 285.89); /* #18181b */
379
+ --color-surface-paper: oklch(0.1785 0.0041 285.98); /* #111113 */
380
+
381
+ /* Stroke colors — widths are --border-* below */
382
+ --color-stroke-divider: oklch(1 0 0 / 0.071); /* #ffffff12 */
383
+ --color-stroke-border: oklch(1 0 0 / 0.102); /* #ffffff1a */
384
+ --color-stroke-highlight: oklch(1 0 0 / 0.059); /* #ffffff0f */
385
+ --color-stroke-disabled: oklch(1 0 0 / 0.039); /* #ffffff0a */
386
+
387
+ /* Action overlays (interaction states) */
388
+ --color-action-subtle: oklch(1 0 0 / 0.031); /* #ffffff08 */
389
+ --color-action-hover: oklch(1 0 0 / 0.043); /* #ffffff0b */
390
+ --color-action-selected: oklch(1 0 0 / 0.09); /* #ffffff17 */
391
+ --color-action-focused: oklch(1 0 0 / 0.122); /* #ffffff1f */
392
+
393
+ /* Status — approved */
394
+ --color-approved: oklch(0.7549 0.0939 159.1); /* #79c29a */
395
+ --color-approved-soft: oklch(0.7549 0.0939 159.1 / 0.141); /* #79c29a24 */
396
+ --color-approved-strong: oklch(0.8035 0.0847 158.82); /* #8fd0ab */
397
+ --color-approved-content: oklch(0.8035 0.0847 158.82); /* #8fd0ab */
398
+
399
+ /* Status — critical */
400
+ --color-critical: oklch(0.6734 0.1495 17.36); /* #e36b74 */
401
+ --color-critical-soft: oklch(0.6734 0.1495 17.36 / 0.141); /* #e36b7424 */
402
+ --color-critical-strong: oklch(0.7187 0.1304 16.11); /* #ea8088 */
403
+ --color-critical-content: oklch(0.7511 0.1154 15.47); /* #ee8f96 */
404
+
405
+ /* Status — warning */
406
+ --color-warning: oklch(0.7533 0.117 77.52); /* #d8a552 */
407
+ --color-warning-soft: oklch(0.7533 0.117 77.52 / 0.141); /* #d8a55224 */
408
+ --color-warning-strong: oklch(0.7998 0.1073 79.95); /* #e2b66a */
409
+ --color-warning-content: oklch(0.8189 0.1028 80.96); /* #e6bd74 */
410
+
411
+ /* Status — info (real since Revision 3, 2026-09-28 — was deliberately absent before) */
412
+ --color-info: oklch(0.7135 0.0601 263.14); /* #8fa3c9 */
413
+ --color-info-strong: oklch(0.7774 0.0478 263.65); /* #a7b7d6 */
414
+ --color-info-soft: oklch(0.7135 0.0601 263.14 / 0.141); /* #8fa3c924 */
415
+ --color-info-content: oklch(0.7135 0.0601 263.14); /* #8fa3c9 */
416
+
417
+ /* Status — neutral */
418
+ --color-neutral: oklch(0.5409 0.0123 285.98); /* #6e6e76 */
419
+ --color-neutral-strong: oklch(0.7366 0.0085 286.19); /* #a9a9af */
420
+ --color-neutral-soft: oklch(1 0 0 / 0.071); /* #ffffff12 */
421
+ --color-neutral-content: oklch(0.7112 0.0101 286.14); /* #a1a1a8 */
422
+
423
+ /* Inverse — the bubble that contrasts with the page (Tooltip, Toast Simple) */
424
+ --color-inverse-surface: oklch(0.9197 0.004 286.32); /* #e4e4e7 */
425
+ --color-inverse-content: oklch(0.1785 0.0041 285.98); /* #111113 */
426
+ --color-inverse-muted: oklch(0.1785 0.0041 285.98 / 0.678); /* #111113ad */
427
+
428
+ /* Overlays — modal scrim, scrollbar thumb */
429
+ --color-overlay-scrim: oklch(0 0 0 / 0.549); /* #0000008c */
430
+ --color-overlay-scrollbar: oklch(1 0 0 / 0.141); /* #ffffff24 */
431
+
432
+ /* Control parts that keep their own colour across modes (the Switch knob) */
433
+ --color-control-knob: oklch(0.8898 0.0068 286.26); /* #dadadf */
434
+
435
+ /* UnGrouped one-offs (misc/Purple is deprecated in Figma: use Misc/Purple/Dot) */
436
+ --color-misc-purple: oklch(0.6965 0.102 299.06); /* #a68fd4 */
437
+
438
+ /* Misc palette — 18 hues × dot / soft / text, for categorical colour (0.6.0) */
439
+ --color-misc-blue-dot: oklch(0.6913 0.0997 263.86); /* #7c9bda */
440
+ --color-misc-blue-soft: oklch(0.6913 0.0997 263.86 / 0.161); /* #7c9bda29 */
441
+ --color-misc-blue-text: oklch(0.7945 0.0669 264.91); /* #a7bce8 */
442
+ --color-misc-indigo-dot: oklch(0.6949 0.1146 278.49); /* #8d95e3 */
443
+ --color-misc-indigo-soft: oklch(0.6949 0.1146 278.49 / 0.161); /* #8d95e329 */
444
+ --color-misc-indigo-text: oklch(0.7975 0.0766 280.38); /* #b3b8ee */
445
+ --color-misc-violet-dot: oklch(0.6994 0.1179 294.5); /* #a38fe0 */
446
+ --color-misc-violet-soft: oklch(0.6994 0.1179 294.5 / 0.161); /* #a38fe029 */
447
+ --color-misc-violet-text: oklch(0.8062 0.0766 296.53); /* #c4b6ec */
448
+ --color-misc-purple-dot: oklch(0.7036 0.1123 311.02); /* #b68bd3 */
449
+ --color-misc-purple-soft: oklch(0.7036 0.1123 311.02 / 0.161); /* #b68bd329 */
450
+ --color-misc-purple-text: oklch(0.8103 0.0779 311.97); /* #d2b3e6 */
451
+ --color-misc-pink-dot: oklch(0.731 0.1146 344.57); /* #db8ab9 */
452
+ --color-misc-pink-soft: oklch(0.731 0.1146 344.57 / 0.161); /* #db8ab929 */
453
+ --color-misc-pink-text: oklch(0.8253 0.0785 343.33); /* #ebb2d3 */
454
+ --color-misc-rose-dot: oklch(0.7279 0.1101 7.82); /* #e2899a */
455
+ --color-misc-rose-soft: oklch(0.7279 0.1101 7.82 / 0.161); /* #e2899a29 */
456
+ --color-misc-rose-text: oklch(0.8189 0.075 6.22); /* #efb0bc */
457
+ --color-misc-red-dot: oklch(0.6932 0.1332 26.65); /* #e3796f */
458
+ --color-misc-red-soft: oklch(0.6932 0.1332 26.65 / 0.161); /* #e3796f29 */
459
+ --color-misc-red-text: oklch(0.7873 0.0917 25.99); /* #efa39b */
460
+ --color-misc-orange-dot: oklch(0.7491 0.1154 56.63); /* #e59a62 */
461
+ --color-misc-orange-soft: oklch(0.7491 0.1154 56.63 / 0.161); /* #e59a6229 */
462
+ --color-misc-orange-text: oklch(0.8322 0.081 59.61); /* #f0bc93 */
463
+ --color-misc-amber-dot: oklch(0.7533 0.117 77.52); /* #d8a552 */
464
+ --color-misc-amber-soft: oklch(0.7533 0.117 77.52 / 0.161); /* #d8a55229 */
465
+ --color-misc-amber-text: oklch(0.8189 0.1028 80.96); /* #e6bd74 */
466
+ --color-misc-yellow-dot: oklch(0.8103 0.128 98.72); /* #d6c258 */
467
+ --color-misc-yellow-soft: oklch(0.8103 0.128 98.72 / 0.161); /* #d6c25829 */
468
+ --color-misc-yellow-text: oklch(0.8746 0.0963 98.28); /* #e6d78c */
469
+ --color-misc-lime-dot: oklch(0.7846 0.1258 125.24); /* #a6c76a */
470
+ --color-misc-lime-soft: oklch(0.7846 0.1258 125.24 / 0.161); /* #a6c76a29 */
471
+ --color-misc-lime-text: oklch(0.8646 0.0892 124.07); /* #c6dd9c */
472
+ --color-misc-green-dot: oklch(0.738 0.1146 151.97); /* #6fbf86 */
473
+ --color-misc-green-soft: oklch(0.738 0.1146 151.97 / 0.161); /* #6fbf8629 */
474
+ --color-misc-green-text: oklch(0.8274 0.0788 153.56); /* #9fd6af */
475
+ --color-misc-emerald-dot: oklch(0.7403 0.1027 170.82); /* #5fc0a2 */
476
+ --color-misc-emerald-soft: oklch(0.7403 0.1027 170.82 / 0.161); /* #5fc0a229 */
477
+ --color-misc-emerald-text: oklch(0.832 0.0732 172.61); /* #96d8c3 */
478
+ --color-misc-teal-dot: oklch(0.7273 0.0835 188.55); /* #63b8b1 */
479
+ --color-misc-teal-soft: oklch(0.7273 0.0835 188.55 / 0.161); /* #63b8b129 */
480
+ --color-misc-teal-text: oklch(0.8227 0.0599 189.38); /* #98d2cd */
481
+ --color-misc-cyan-dot: oklch(0.729 0.0903 223.31); /* #62b4d1 */
482
+ --color-misc-cyan-soft: oklch(0.729 0.0903 223.31 / 0.161); /* #62b4d129 */
483
+ --color-misc-cyan-text: oklch(0.8266 0.0617 221.64); /* #9ad0e3 */
484
+ --color-misc-sky-dot: oklch(0.7394 0.0982 248.4); /* #78b0e6 */
485
+ --color-misc-sky-soft: oklch(0.7394 0.0982 248.4 / 0.161); /* #78b0e629 */
486
+ --color-misc-sky-text: oklch(0.8341 0.0625 247.85); /* #a9cdf0 */
487
+ --color-misc-slate-dot: oklch(0.7114 0.0346 258.37); /* #95a3b8 */
488
+ --color-misc-slate-soft: oklch(0.7114 0.0346 258.37 / 0.161); /* #95a3b829 */
489
+ --color-misc-slate-text: oklch(0.8231 0.0225 256.74); /* #bcc6d4 */
490
+ --color-misc-stone-dot: oklch(0.7234 0.0177 70.46); /* #ada49a */
491
+ --color-misc-stone-soft: oklch(0.7234 0.0177 70.46 / 0.161); /* #ada49a29 */
492
+ --color-misc-stone-text: oklch(0.8237 0.0136 71.3); /* #cbc4bc */
493
+
494
+ /* Focus ring — Primary/Main, so it follows the mode */
495
+ --ring-focus-color: oklch(0.6574 0.0917 263.34); /* #7491ca */
496
+ }
497
+
261
498
  /**
262
499
  * Type style classes — Revision 3 scale, one class per Figma text style.
263
500
  * Unlike the text-* utilities these carry font-family (and tabular numerals
@@ -86,7 +86,35 @@ export type BadgeBg = "vd-badge-bg-no";
86
86
  export type ChipSize = "vd-chip-xs" | "vd-chip-sm" | "vd-chip-md";
87
87
  export type BadgeSize = "vd-badge-xs" | "vd-badge-sm" | "vd-badge-md";
88
88
  export type DotSize = "vd-dot-xs" | "vd-dot-sm" | "vd-dot-md";
89
+ /** The 18-hue misc palette (0.6.0): pair with vd-chip-misc / vd-badge-misc / vd-dot-misc. */
90
+ export type MiscHue =
91
+ | "vd-misc-blue"
92
+ | "vd-misc-indigo"
93
+ | "vd-misc-violet"
94
+ | "vd-misc-purple"
95
+ | "vd-misc-pink"
96
+ | "vd-misc-rose"
97
+ | "vd-misc-red"
98
+ | "vd-misc-orange"
99
+ | "vd-misc-amber"
100
+ | "vd-misc-yellow"
101
+ | "vd-misc-lime"
102
+ | "vd-misc-green"
103
+ | "vd-misc-emerald"
104
+ | "vd-misc-teal"
105
+ | "vd-misc-cyan"
106
+ | "vd-misc-sky"
107
+ | "vd-misc-slate"
108
+ | "vd-misc-stone";
109
+ export type MiscColorClass =
110
+ | "vd-chip-misc"
111
+ | "vd-badge-misc"
112
+ | "vd-dot-misc"
113
+ | "vd-dot-info"
114
+ | MiscHue;
115
+
89
116
  export type ChipClass =
117
+ | MiscColorClass
90
118
  | "vd-chip"
91
119
  | ChipVariant
92
120
  | ChipPart
@@ -170,7 +198,8 @@ export type MenuItemTrailing =
170
198
  | "vd-menu-item-chevron"
171
199
  | "vd-menu-item-chevron-left"
172
200
  | "vd-menu-item-shortcut"
173
- | "vd-menu-item-action";
201
+ | "vd-menu-item-action"
202
+ | "vd-menu-item-switch";
174
203
  export type MenuItemPart =
175
204
  | "vd-menu-item"
176
205
  | "vd-menu-item-text"
@@ -227,7 +256,8 @@ export type DropdownFieldClass =
227
256
  /** 0.5.0: 12 / 16 / 20 / 28 / 34 — lg was 34 (now xl), xs was 16 (now sm). */
228
257
  export type AvatarSize = "vd-avatar-xs" | "vd-avatar-sm" | "vd-avatar-md" | "vd-avatar-lg" | "vd-avatar-xl";
229
258
  export type AvatarState = "vd-avatar-disabled" | "vd-with-ring";
230
- export type AvatarClass = "vd-avatar" | AvatarSize | AvatarState;
259
+ export type AvatarShape = "vd-avatar-square";
260
+ export type AvatarClass = "vd-avatar" | AvatarSize | AvatarState | AvatarShape;
231
261
 
232
262
  // Pill component classes
233
263
  export type PillPart = "vd-pill" | "vd-pill-chevron";
@@ -239,7 +269,7 @@ export type PillClass = PillPart | PillState;
239
269
  * sm/md/lg bind XS/SM/LG. */
240
270
  export type TagSize = "vd-tag-xs" | "vd-tag-sm" | "vd-tag-md" | "vd-tag-lg";
241
271
  /** Figma Kind axis. md exists for the default kind only. */
242
- export type TagKind = "vd-tag-recipient" | "vd-tag-empty";
272
+ export type TagKind = "vd-tag-recipient" | "vd-tag-empty" | "vd-tag-label";
243
273
  /** vd-tag-flag was REMOVED in 0.5.0 — the External status is a nested XS
244
274
  * `.vd-chip vd-chip-neutral` inside a tag that hugs to 24. */
245
275
  export type TagPart = "vd-tag" | "vd-tag-count";
@@ -342,13 +372,19 @@ export type FieldVerificationState =
342
372
  | "vd-field-verification-verified"
343
373
  | "vd-field-verification-pending"
344
374
  | "vd-field-verification-none"
345
- | "vd-field-verification-mismatch";
375
+ | "vd-field-verification-mismatch"
376
+ | "vd-field-verification-compact"
377
+ | "vd-field-verification-warning"
378
+ | "vd-field-verification-critical"
379
+ | "vd-field-verification-resolved";
346
380
  export type FieldVerificationPart =
347
381
  | "vd-field-verification-icon"
348
382
  | "vd-field-verification-label"
349
383
  | "vd-field-verification-details"
350
384
  | "vd-field-verification-detail"
351
- | "vd-field-verification-action";
385
+ | "vd-field-verification-action"
386
+ | "vd-field-verification-mark"
387
+ | "vd-field-verification-meta";
352
388
  export type FieldVerificationClass =
353
389
  | "vd-field-verification"
354
390
  | FieldVerificationState
@@ -477,7 +513,12 @@ export type DataRowPart =
477
513
  /** Additive: stretches the Field Verification slot, like segment-selector-fill. */
478
514
  | "vd-data-row-status"
479
515
  | "vd-data-row-action";
480
- export type DataRowClass = "vd-data-row" | DataRowPart | "vd-with-ring";
516
+ export type DataRowClass =
517
+ | "vd-data-row"
518
+ | DataRowPart
519
+ | "vd-data-row-actions"
520
+ | "vd-data-row-linked"
521
+ | "vd-with-ring";
481
522
 
482
523
  // Checkbox component classes
483
524
  // The control is a native <input type="checkbox"> inside a real <label>; every
@@ -504,7 +545,26 @@ export type SkeletonSize = "vd-skeleton-sm" | "vd-skeleton-md" | "vd-skeleton-lg
504
545
  export type SkeletonClass = "vd-skeleton" | SkeletonShape | SkeletonSize;
505
546
 
506
547
  // NavigationRail component classes
507
- export type NavigationRailClass = "vd-nav-rail";
548
+ export type NavigationRailClass =
549
+ | "vd-nav-rail"
550
+ | "vd-nav-rail-peek"
551
+ | "vd-nav-item-status-critical"
552
+ | "vd-nav-split"
553
+ | "vd-nav-split-main"
554
+ | "vd-nav-split-toggle"
555
+ | "vd-nav-jump"
556
+ | "vd-nav-jump-label"
557
+ | "vd-nav-session"
558
+ | "vd-nav-session-collapsed"
559
+ | "vd-nav-session-tile"
560
+ | "vd-nav-session-text"
561
+ | "vd-nav-session-title"
562
+ | "vd-nav-session-status"
563
+ | "vd-nav-session-dot"
564
+ | "vd-nav-user"
565
+ | "vd-nav-user-text"
566
+ | "vd-nav-user-name"
567
+ | "vd-nav-user-role";
508
568
 
509
569
  // Composer component classes — Comment Composer 1289:3690 (xl; a FLOOR component)
510
570
  export type ComposerPart =
@@ -559,6 +619,229 @@ export type TypeStyleClass =
559
619
  | "vd-text-utility-badge-count"
560
620
  | "vd-text-display-metric";
561
621
 
622
+ // ResizeHandle component classes
623
+ export type ResizeHandleClass =
624
+ | "vd-resize-handle"
625
+ | "vd-resize-handle-knob"
626
+ | "vd-resize-handle-readout"
627
+ | "vd-resize-handle-dragging";
628
+
629
+ // SeverityMarker component classes
630
+ export type SeverityMarkerClass =
631
+ | "vd-severity-marker"
632
+ | "vd-severity-marker-critical"
633
+ | "vd-severity-marker-review"
634
+ | "vd-severity-marker-info";
635
+
636
+ // SeverityCount component classes
637
+ export type SeverityCountClass =
638
+ | "vd-severity-count";
639
+
640
+ // ProgressCircle component classes
641
+ export type ProgressCircleClass =
642
+ | "vd-progress-circle"
643
+ | "vd-progress-circle-xs"
644
+ | "vd-progress-circle-sm"
645
+ | "vd-progress-circle-md"
646
+ | "vd-progress-circle-lg"
647
+ | "vd-progress-circle-complete";
648
+
649
+ // Keycap component classes
650
+ export type KeycapClass =
651
+ | "vd-keycap";
652
+
653
+ // Scrollbar component classes
654
+ export type ScrollbarClass =
655
+ | "vd-scrollbar";
656
+
657
+ // OverlayScrim component classes
658
+ export type OverlayScrimClass =
659
+ | "vd-overlay-scrim";
660
+
661
+ // ContentRow component classes
662
+ export type ContentRowClass =
663
+ | "vd-content-row"
664
+ | "vd-content-row-text"
665
+ | "vd-content-row-title"
666
+ | "vd-content-row-summary"
667
+ | "vd-content-row-status"
668
+ | "vd-content-row-actions"
669
+ | "vd-content-row-action"
670
+ | "vd-with-ring";
671
+
672
+ // SummaryPreview component classes
673
+ export type SummaryPreviewClass =
674
+ | "vd-summary-preview"
675
+ | "vd-summary-preview-label"
676
+ | "vd-summary-preview-subtitle"
677
+ | "vd-summary-preview-count"
678
+ | "vd-with-ring";
679
+
680
+ // SnapshotMetric component classes
681
+ export type SnapshotMetricClass =
682
+ | "vd-snapshot-metric"
683
+ | "vd-snapshot-metric-label"
684
+ | "vd-snapshot-metric-values"
685
+ | "vd-snapshot-metric-values-center"
686
+ | "vd-snapshot-metric-value"
687
+ | "vd-snapshot-metric-detail"
688
+ | "vd-snapshot-metric-dot"
689
+ | "vd-snapshot-metric-dot-open";
690
+
691
+ // EntityHeader component classes
692
+ export type EntityHeaderClass =
693
+ | "vd-entity-header"
694
+ | "vd-entity-header-tile"
695
+ | "vd-entity-header-info"
696
+ | "vd-entity-header-name"
697
+ | "vd-entity-header-meta"
698
+ | "vd-entity-header-facts";
699
+
700
+ // Ownership component classes
701
+ export type OwnershipClass =
702
+ | "vd-ownership"
703
+ | "vd-ownership-summary"
704
+ | "vd-ownership-summary-lead";
705
+
706
+ // OwnerTableHeader component classes
707
+ export type OwnerTableHeaderClass =
708
+ | "vd-owner-table-header"
709
+ | "vd-owner-table-header-cell"
710
+ | "vd-owner-table-header-cell-main";
711
+
712
+ // PanelStatus component classes
713
+ export type PanelStatusClass =
714
+ | "vd-panel-status";
715
+
716
+ // PanelSectionHeader component classes
717
+ export type PanelSectionHeaderClass =
718
+ | "vd-panel-section-header"
719
+ | "vd-panel-section-header-title"
720
+ | "vd-panel-section-header-count";
721
+
722
+ // PanelStripButton component classes
723
+ export type PanelStripButtonClass =
724
+ | "vd-panel-strip-button"
725
+ | "vd-panel-strip-button-count";
726
+
727
+ // FindingRow component classes
728
+ export type FindingRowClass =
729
+ | "vd-finding-row"
730
+ | "vd-finding-row-label";
731
+
732
+ // FindingCard component classes
733
+ export type FindingCardClass =
734
+ | "vd-finding-card"
735
+ | "vd-finding-card-header"
736
+ | "vd-finding-card-title"
737
+ | "vd-finding-card-reason"
738
+ | "vd-finding-card-options"
739
+ | "vd-finding-card-field-label"
740
+ | "vd-finding-card-footer"
741
+ | "vd-finding-card-decision"
742
+ | "vd-finding-card-decision-top"
743
+ | "vd-finding-card-decision-title"
744
+ | "vd-finding-card-decision-meta"
745
+ | "vd-finding-card-decision-note"
746
+ | "vd-finding-card-status";
747
+
748
+ // FindingOption component classes
749
+ export type FindingOptionClass =
750
+ | "vd-finding-option";
751
+
752
+ // ResolvedRow component classes
753
+ export type ResolvedRowClass =
754
+ | "vd-resolved-row"
755
+ | "vd-resolved-row-icon"
756
+ | "vd-resolved-row-text"
757
+ | "vd-resolved-row-title"
758
+ | "vd-resolved-row-meta";
759
+
760
+ // CommentItem component classes
761
+ export type CommentItemClass =
762
+ | "vd-comment-item"
763
+ | "vd-comment-item-top"
764
+ | "vd-comment-item-author"
765
+ | "vd-comment-item-time"
766
+ | "vd-comment-item-body"
767
+ | "vd-comment-item-text";
768
+
769
+ // CommentDate component classes
770
+ export type CommentDateClass =
771
+ | "vd-comment-date"
772
+ | "vd-comment-date-label";
773
+
774
+ // ChecklistGroup component classes
775
+ export type ChecklistGroupClass =
776
+ | "vd-checklist-group"
777
+ | "vd-checklist-group-open"
778
+ | "vd-checklist-group-header"
779
+ | "vd-checklist-group-name"
780
+ | "vd-checklist-group-count"
781
+ | "vd-checklist-group-footer"
782
+ | "vd-checklist-group-record"
783
+ | "vd-checklist-group-record-top"
784
+ | "vd-checklist-group-record-title"
785
+ | "vd-checklist-group-record-meta"
786
+ | "vd-checklist-group-more";
787
+
788
+ // ChecklistTask component classes
789
+ export type ChecklistTaskClass =
790
+ | "vd-checklist-task"
791
+ | "vd-checklist-task-held"
792
+ | "vd-checklist-task-skipped"
793
+ | "vd-checklist-task-box"
794
+ | "vd-checklist-task-text"
795
+ | "vd-checklist-task-label"
796
+ | "vd-checklist-task-detail"
797
+ | "vd-checklist-task-action"
798
+ | "vd-checklist-task-skip-box";
799
+
800
+ // FundingStatus component classes
801
+ export type FundingStatusClass =
802
+ | "vd-funding-status"
803
+ | "vd-funding-status-dash"
804
+ | "vd-funding-status-pending"
805
+ | "vd-funding-status-funded"
806
+ | "vd-funding-status-refunded"
807
+ | "vd-funding-status-failed";
808
+
809
+ // FundingTransaction component classes
810
+ export type FundingTransactionClass =
811
+ | "vd-funding-transaction"
812
+ | "vd-funding-transaction-refunded"
813
+ | "vd-funding-transaction-summary"
814
+ | "vd-funding-transaction-title"
815
+ | "vd-funding-transaction-method"
816
+ | "vd-funding-transaction-meta"
817
+ | "vd-funding-transaction-amount"
818
+ | "vd-funding-transaction-status"
819
+ | "vd-funding-transaction-actions"
820
+ | "vd-funding-transaction-action";
821
+
822
+ // FundingTotal component classes
823
+ export type FundingTotalClass =
824
+ | "vd-funding-total"
825
+ | "vd-funding-total-summary"
826
+ | "vd-funding-total-label"
827
+ | "vd-funding-total-amount"
828
+ | "vd-funding-total-status"
829
+ | "vd-funding-total-actions";
830
+
831
+ // AddFundsForm component classes
832
+ export type AddFundsFormClass =
833
+ | "vd-add-funds-form"
834
+ | "vd-add-funds-form-header"
835
+ | "vd-add-funds-form-title"
836
+ | "vd-add-funds-form-hint"
837
+ | "vd-add-funds-form-fields"
838
+ | "vd-add-funds-form-actions";
839
+
840
+ // InlineConfirm component classes
841
+ export type InlineConfirmClass =
842
+ | "vd-inline-confirm"
843
+ | "vd-inline-confirm-message";
844
+
562
845
  // Union of all component classes
563
846
  export type ValiifyComponentClass =
564
847
  | InputClass
@@ -601,7 +884,7 @@ export type ValiifyComponentClass =
601
884
  | CheckboxClass
602
885
  | SkeletonClass
603
886
  | NavigationRailClass | ComposerClass | RecipientInputClass
604
- | TypeStyleClass;
887
+ | TypeStyleClass | ResizeHandleClass | SeverityMarkerClass | SeverityCountClass | ProgressCircleClass | KeycapClass | ScrollbarClass | OverlayScrimClass | ContentRowClass | SummaryPreviewClass | SnapshotMetricClass | EntityHeaderClass | OwnershipClass | OwnerTableHeaderClass | PanelStatusClass | PanelSectionHeaderClass | PanelStripButtonClass | FindingRowClass | FindingCardClass | FindingOptionClass | ResolvedRowClass | CommentItemClass | CommentDateClass | ChecklistGroupClass | ChecklistTaskClass | FundingStatusClass | FundingTransactionClass | FundingTotalClass | AddFundsFormClass | InlineConfirmClass;
605
888
 
606
889
  // Helper type for combining classes
607
890
  export type ComponentClassName = ValiifyComponentClass | string;