@valiify/dashboard-ui 0.6.0 → 0.8.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 (59) hide show
  1. package/CHANGELOG.md +433 -2
  2. package/COMPONENTS.md +448 -73
  3. package/README.md +3 -3
  4. package/class-manifest.json +173 -4
  5. package/design-methodology/dashboard.md +676 -308
  6. package/dist/dashboard-ui.css +1258 -206
  7. package/dist/index.css +929 -181
  8. package/package.json +8 -8
  9. package/src/components/add-funds-form.css +2 -1
  10. package/src/components/button.css +40 -21
  11. package/src/components/checkbox.css +4 -2
  12. package/src/components/checklist-group.css +14 -6
  13. package/src/components/composer.css +11 -9
  14. package/src/components/content-row.css +29 -4
  15. package/src/components/data-list.css +91 -0
  16. package/src/components/data-row.css +14 -1
  17. package/src/components/divider.css +1 -1
  18. package/src/components/dropdown-field.css +30 -18
  19. package/src/components/dropdown-menu.css +12 -6
  20. package/src/components/field-verification.css +6 -1
  21. package/src/components/filter-segment.css +2 -1
  22. package/src/components/final-decision.css +51 -0
  23. package/src/components/finding-card.css +60 -17
  24. package/src/components/finding-option.css +10 -4
  25. package/src/components/funding-status.css +3 -2
  26. package/src/components/funding-total.css +8 -3
  27. package/src/components/funding-transaction.css +28 -5
  28. package/src/components/index.css +7 -0
  29. package/src/components/input.css +60 -21
  30. package/src/components/keycap.css +1 -1
  31. package/src/components/link.css +6 -2
  32. package/src/components/loading-indicator.css +5 -5
  33. package/src/components/menu-item.css +109 -21
  34. package/src/components/modal.css +21 -2
  35. package/src/components/navigation-rail.css +136 -6
  36. package/src/components/owner-row.css +170 -0
  37. package/src/components/owner-table-header.css +28 -13
  38. package/src/components/panel-section-header.css +5 -2
  39. package/src/components/pill.css +3 -2
  40. package/src/components/radio-select.css +5 -2
  41. package/src/components/recipient-input.css +4 -4
  42. package/src/components/record.css +56 -0
  43. package/src/components/scoring-details.css +79 -0
  44. package/src/components/section-edit.css +109 -0
  45. package/src/components/section-marker.css +4 -3
  46. package/src/components/sensitive-data.css +8 -4
  47. package/src/components/severity-count.css +13 -0
  48. package/src/components/step.css +1 -1
  49. package/src/components/summary-panel.css +250 -0
  50. package/src/components/summary-preview.css +5 -1
  51. package/src/components/tabs.css +7 -7
  52. package/src/components/tag.css +15 -9
  53. package/src/components/textarea.css +38 -18
  54. package/src/components/toast.css +13 -10
  55. package/src/components/tooltip.css +4 -1
  56. package/src/themes/valiify-tokens.css +1 -1
  57. package/src/themes/valiify.css +1 -1
  58. package/src/utility-surface.css +93 -1
  59. package/types/components.d.ts +100 -5
package/CHANGELOG.md CHANGED
@@ -36,7 +36,438 @@ whole point of tokens. Changing its _name_ is.
36
36
  When a rename is genuinely needed, ship the new name alongside the old one, note
37
37
  the deprecation here, and remove the old name in a later release.
38
38
 
39
- ## 0.6.0 — unreleased
39
+ ## 0.8.0 — 2026-11-30
40
+
41
+ The design methodology rewritten for the review-surface redesign, and the
42
+ library wired to the `/design` pipeline and Val Studio; then (2026-11-30) the
43
+ four field sets' borders and Menu Item's icons, following Figma. No class,
44
+ token or entry point is renamed or removed; two components render differently.
45
+
46
+ ### Changed — sizes follow Figma (size audit, 2026-11-30)
47
+
48
+ A second pass compared geometry — heights, padding, gaps, radii, slot and glyph
49
+ sizes — across every variant of every set with what the package renders
50
+ ([docs/figma-audit-2026-11-30.md](docs/figma-audit-2026-11-30.md)).
51
+
52
+ **The border rule, library-wide.** Figma draws strokes inside the frame; CSS
53
+ adds the border outside the padding, so every bordered component whose size is
54
+ not pinned rendered 1px per bordered side larger than Figma. Padding is now
55
+ Figma's minus the rendered border on every bordered side, so these render
56
+ exactly Figma's size:
57
+
58
+ | Component | Padding (was → now) | Effect |
59
+ | --- | --- | --- |
60
+ | Button xs…xl | x 6 / 8 / 12 / 16 / 20 → 5 / 7 / 11 / 15 / 19 | 2px narrower — Figma's width |
61
+ | Tag xs / sm / md / lg, label kind | x 6 / 9 / 9 / 10 → 5 / 8 / 8 / 9; label 9 / 8 → 8 / 7 | 2px narrower |
62
+ | Filter Segment | x 8 → 7 on each bordered side | the first segment no longer 1px wider |
63
+ | Nav Badge | x 4 → 3 | 32 wide, as Figma |
64
+ | Tabs chip / segment | x 12 → 11 | as Figma |
65
+ | Input, Search, Dropdown Field, Text Area | x −1 at every size | content 1px nearer the edge, as Figma |
66
+ | Composer, Recipient Input shells | x 16 → 15; 12 / 16 → 11 / 15 | as Figma |
67
+ | Toast | 16 → 15 | Full 110 → **108**, two-line 130 → **128** |
68
+ | Tooltip | 12 / 16 → 11 / 15; the divider takes no height | 146.5 → **144** |
69
+ | Modal; its context box | 32 → 31; 12 → 11 | 320.5 → 317 |
70
+ | Dropdown Menu panel | 4 → 3 | four md rows 122 → **120** |
71
+ | Finding Card, open Checklist Group | 12 → 11, the header overlapping the top border | Figma's 296 / 350 / 258 |
72
+
73
+ **Other drift, now following Figma:**
74
+
75
+ - **Pill** — hugs at **22** (2 + 18 + 2); it was pinned at 17 (item 49, answered).
76
+ - **Link** — every standalone style is **24** tall (2px above and below the 20px line).
77
+ - **Divider, labeled** — a **20px** row (2 + 16 + 2).
78
+ - **Loading Indicator** — MD / LG ring **2.5 / 3px** (were 2.52 / 3.04, traced from the old SVG).
79
+ - **Section Marker** — the mismatch dot is **6px** (a Chip dot SM; was 8).
80
+ - **Menu Item tile** — a **circle** (was a 6px square).
81
+ - **Dropdown Menu footer** — **24** (4 + 16 + 4); 26 was a stale stored height.
82
+ - **Recipient Input** — helper inset **4** (was 16); xl chips **4** apart, rows still 6.
83
+ - **Comment Composer** — helper gap **4** (was 6); **the tags row comes before the body**
84
+ in the shell, as every Figma variant draws it. *Markup change: move
85
+ `.vd-composer-tags` above `.vd-composer-body`* (not done with CSS `order`, which would
86
+ put focus order out of step with what is on screen).
87
+ - **Checklist Group, closed** — no border: 36, not 38.
88
+ - **Funding Transaction — the redraw after 0.7.0 is built.** The status is a marker
89
+ with no word in a 24px slot (review dot · compact check · 14px `#undo-2` in
90
+ `Content/Tertiary` via the new `.vd-funding-transaction-undo` · critical diamond), the
91
+ trailing control a `#chevron-down` Icon Button, and the row 12 + 24 + 12 = 48. *Markup
92
+ change: nest the marker, not `.vd-funding-status`.* The record grid stays (decided).
93
+ - **Funding Total** — the compact check with no word, actions packed to the end.
94
+ - **Funding Status** — the refunded dash slot is 8 × 16. The component still ships, but
95
+ neither funding row nests it now.
96
+ - **Fixed with these**: an lg external Tag rendered 24 (the hug rule outranked `-lg`);
97
+ the rail's title shrank below 46 when the content overflowed; a collapsed sidebar's
98
+ actions carried 4px too much below them and its footer had no gap (both new in Figma).
99
+
100
+ **Kept, by decision**: Owner Row's three status columns stay 236 (Figma now draws
101
+ 3 × 100); Funding Transaction keeps the record grid.
102
+
103
+ ### Changed — eight values that drifted from Figma (audit, 2026-11-30)
104
+
105
+ Every component was checked against the Figma library: the variables and text
106
+ styles each set binds against what its CSS uses (record:
107
+ [docs/figma-audit-2026-11-30.md](docs/figma-audit-2026-11-30.md)). Where Figma
108
+ had moved since the library last synced, the library follows:
109
+
110
+ | Component | Was | Now |
111
+ | --- | --- | --- |
112
+ | Checkbox label | Supporting/Caption 12/18, an 18px row | **Body/Default 14/20**, a 24px row (2 + 20 + 2) |
113
+ | Sensitive Data value | Supporting/Caption 12/18, a 20px row | **Body/Default 14/20**, masked and revealed alike, a 24px row — what Data Row already set (item 116; Figma's revealed state rebound to match) |
114
+ | Button xs / sm label | Action/Compact Active 12/16/**600** | **Supporting/Caption Strong 12/18/500** (item 28, resolved); Pagination's simple Prev / Next with it |
115
+ | Toast Full title | Body/Dense Strong 13/18 | **Body/Default Strong 14/20** |
116
+ | Toast Simple label | Body/Dense 13/18, pinned 38 | **Body/Default 14/20**, pinned **40** |
117
+ | Dropdown Menu footer | Supporting/Caption 12/18/400 | **Action/Compact 12/16/500**, still 26 tall (padding-y 5) |
118
+ | Field error message (Input, Search, Dropdown, Text Area) | a raw 11px | **Body/Default 14/20**, Critical/Strong |
119
+ | Loading Indicator dots | Secondary/Main | **Content/Secondary** — the same value in both themes; no visible change |
120
+
121
+ - **Heights that change**: Checkbox 18 → 24, standalone Sensitive Data 20 → 24,
122
+ Toast Simple 38 → 40, Toast Full +2, a field's error line 6 + 14 → 6 + 20.
123
+ Button heights do not move (pinned); Data Row's Sensitive Data does not
124
+ (it already had these values).
125
+ - `vd:text-action-compact-active` stays in the closed utility set — the
126
+ methodology's type table now names the new Button style, and Appendix B
127
+ keeps the old one shipping.
128
+ - **Figma descriptions**: 98 Figma components now carry a marked
129
+ `— npm: @valiify/dashboard-ui —` block (the class, its file, the story) and
130
+ a Documentation link to the CSS file; 16 more say they are not in the
131
+ package and why. Designers' own text is untouched. Nothing in the package
132
+ depends on them.
133
+
134
+ ### Changed — field borders are 1px (Input, Search, Dropdown, Text Area)
135
+
136
+ Figma moved all four field sets from a 0.5px hairline to a **1px** inside stroke
137
+ in every state, and stepped each colour up, because the half-pixel edge was too
138
+ faint on standard-resolution screens. `.vd-input-field` (and `.vd-input-search`),
139
+ `.vd-dropdown-field` and `.vd-textarea-field` follow:
140
+
141
+ | state | before | after |
142
+ | --- | --- | --- |
143
+ | rest | 0.5px `Stroke/Divider` | 1px `Stroke/Border` |
144
+ | hover | `Stroke/Border` | `Content/Faint` |
145
+ | focus / open | `Primary/Main` | `Primary/Main` (the 2px ring is unchanged) |
146
+ | error | `Critical/Main` | `Critical/Main` |
147
+ | error, hovered or focused | — | `Critical/Strong` on Input Field; `Critical/Main` on the other three |
148
+ | disabled | `Stroke/Divider` (Dropdown: the rest border) | `Stroke/Disabled`, every size and BG |
149
+ | disabled + error | — | `Critical/Main` |
150
+
151
+ - **Nothing moves.** Chrome already drew the 0.5px hairline as a full pixel, the
152
+ three single-line fields pin their height, and Text Area's floor paddings
153
+ already subtracted a rendered 1px. Safari and Firefox on a 2× screen drew a
154
+ true half pixel, so there the edge gets visibly heavier, as intended.
155
+ - **Fixed with it**: a field in error lost its red border on hover (Input, Text
156
+ Area — the hover rule outranked error, as Dropdown Field's did until 0.5.0),
157
+ and a disabled field in error was greyed out (Input, Text Area). Figma keeps
158
+ `Critical/Main` in both.
159
+ - Comment Composer, Recipient Input, dividers, cards and every other hairline
160
+ stay 0.5px — Figma did not change them (designer-list item 114).
161
+
162
+ ### Changed — Menu Item draws its own icons
163
+
164
+ The row now sets its icons' size, stroke and colour per menu size, from Figma's
165
+ _Menu Leading (1304:4764) and _Menu Trailing (1304:4844), and these outrank the
166
+ markup's `.vd-icon-size-*`:
167
+
168
+ | slot | sm | md | lg | colour |
169
+ | --- | --- | --- | --- | --- |
170
+ | `.vd-menu-item-icon` | 14px / 1px | 16px / 1.25px | 16px / 1.25px | `Neutral/Main` (was the row's ink) |
171
+ | tile glyph | 12px / 1px | 12px / 1px | 16px / 1.25px (`-tile-lg`) | `Neutral/Main` (was `Primary/Main`) |
172
+ | `.vd-menu-item-chevron`, `-chevron-left` | 14px / 1px | 14px / 1px | 14px / 1px | `Neutral/Main` (was `Content/Secondary`) |
173
+ | `.vd-menu-item-check` | 14px / 1px | 14px / 1px | 14px / 1px | `Primary/Main` |
174
+ | `.vd-menu-item-action` glyph | 14px / 1px | 14px / 1px | 14px / 1px | `Secondary/Main` (Icon Button's) |
175
+
176
+ - Strokes are rendered pixels: `--icon-stroke` is in the sprite's 24-unit
177
+ viewBox, so each value is px × 24 / size. (The library's sprite is not
178
+ Lucide; there is no `absoluteStrokeWidth`.) The icon ramp alone gives 1.25px
179
+ at 14px, so trailing glyphs were 25% heavier than drawn.
180
+ - **Markup that wrote the leading glyph as a bare `.vd-icon`** (our own docs did,
181
+ at 15px) is drawn the same: a `.vd-icon` directly in the row with no trailing
182
+ class is the leading glyph. Its colour has zero specificity, so a call-site
183
+ colour still wins.
184
+ - **The critical tone keeps the icons**; only the title turns `Critical/Main`.
185
+ The documented Delete row used `text-critical` on its icon and title; it is
186
+ now `.vd-menu-item-critical`.
187
+ - The methodology's queue filter menu (§2.2) gains its leading glyphs —
188
+ `#circle-dot`, `#box`, `#calendar`, `#id-card`, `#tag` — from 693:26004, and
189
+ DropdownMenu has a **FilterMenu** story. Contrast of `Neutral/Main` (2.81:1
190
+ on Paper in Light) is designer-list item 112.
191
+
192
+ ### Changed — the design methodology (ships in the package)
193
+
194
+ - **`design-methodology/dashboard.md` is v2.0.** v1.0 (2026-09-10) described the
195
+ earlier review shell — a 320 summary rail, an 1100 column, a sub-toolbar of
196
+ filter tags, statuses as an icon plus words. v2.0 describes the redesign that
197
+ 0.6.0 and 0.7.0 were built for: the sheet, the 52 header, chip tabs, the 960
198
+ column with a 112 gutter, sections that collapse to a summary line, one status
199
+ column of markers with no words, and the Findings panel. It keeps the §0–§13
200
+ anatomy. New in it: the design principles and the change process (§0.1, §0.2),
201
+ a frame inventory for all five redesigned pages with node ids (§0.5), the
202
+ status-language table (§6.1), the approved / rejected table (§9.2), and a
203
+ component map that gives the Figma node, the package class and the job for
204
+ all 77 components (§10). The queue and CMS shells are carried over unchanged;
205
+ their frames were not redrawn.
206
+ - **Pages built on v1.0 are not broken by it.** The 40 utilities v1.0 cited and
207
+ v2.0 no longer uses are kept in the file's Appendix B so they keep shipping.
208
+
209
+ ### Added — utilities in the closed `vd:` set
210
+
211
+ 46 utilities, each with its `md:` form (308 → 400 entries in
212
+ `src/utility-surface.css`), all layout for the redesigned shell: `vd:relative`,
213
+ `vd:absolute`, `vd:fixed`, `vd:sticky`, `vd:flex-col`, `vd:shrink-0`,
214
+ `vd:min-w-0`, `vd:min-h-0`, `vd:h-full`, `vd:self-stretch`, `vd:box-content`,
215
+ `vd:overflow-hidden`, `vd:overflow-auto`, `vd:overflow-y-auto`,
216
+ `vd:pointer-events-none`, `vd:max-w-[960px]`, `vd:min-w-[820px]`, `vd:w-12`,
217
+ `vd:w-28`, `vd:w-90`, `vd:min-w-70`, `vd:max-h-80`, the 6px sheet inset
218
+ (`vd:my-1.5`, `vd:mr-1.5`, `vd:ml-1.5`), `vd:ml-auto`, `vd:gap-0.5`, ten
219
+ padding steps, `vd:left-0`, `vd:right-0`, `vd:top-6`, `vd:left-1/2`,
220
+ `vd:-translate-x-1/2`, `vd:z-10`, `vd:z-50`, and `vd:text-body-default` /
221
+ `vd:text-body-default-strong`. None was removed. `./source` consumers compile
222
+ their own utilities and are unaffected.
223
+
224
+ ### Added — the `/design` pipeline and Val Studio
225
+
226
+ - `val/config.json` declares a `dashboard` surface (`design.surfaces`): one
227
+ 1920 viewport, the region vocabulary of the redesigned shell, a reviewer
228
+ brief schema, and the surface's stop triggers. `npx val-init` generated the
229
+ five `design-*` agents and `/design`. Not in the published package.
230
+ - `val/registry/components.json`: 75 of 78 entries now carry `figmaNodeIds`
231
+ (15 did), with `figmaNames` read from the Figma file's own set names. Card,
232
+ DataList and Record have no component in the file.
233
+
234
+ ### Differs from Figma — found while writing v2.0
235
+
236
+ - **Funding Transaction (2016:48814) was redrawn after 0.7.0.** Its status slot
237
+ now holds a marker and no word — the Review dot, a compact check, the
238
+ critical diamond, and a 14px `#undo-2` in `Content/Tertiary` for refunded —
239
+ and the row has a chevron. The library still nests the worded
240
+ `.vd-funding-status` and draws refunded as a dash. The methodology gives the
241
+ interim composition (§12); the component is not changed here.
242
+ - **In Figma, not in the package**: the KYC, Documents, Rules and Activity
243
+ component boards, Empty State (1937:44293), Cell (693:22377) and a Card
244
+ (880:31190) that is not the placeholder `.vd-card`. Listed in the
245
+ methodology's §10 and §13.
246
+
247
+ ## 0.7.0 — published
248
+
249
+ What building the Application page on 0.6.0 found: four bugs fixed, fourteen
250
+ places a component differed from the page frames worked through, and seven new
251
+ components — 77 in all. Not published. Five existing components look or measure
252
+ differently; they are under **Breaking**, and they are why this is 0.7.0 and
253
+ not a 0.6.1 patch.
254
+
255
+ ### Breaking
256
+
257
+ - **RadioSelect is 22px tall; it was 18.** Figma's Radio frame is 2 + 18 + 2,
258
+ and the row now carries those 2px (`py-0.5`). A stack of radios is 4px taller
259
+ per row. FindingOption is still 40px: its box and the radio are one element,
260
+ so it keeps 10px of padding on a selector that outranks RadioSelect's.
261
+ - **A selected MenuItem is marked by its check alone.** Through 0.6.0 a row
262
+ with `aria-selected="true"` or `aria-checked="true"` turned `Primary/Main`
263
+ whole. Figma's set has no selected state, and its menus mark the selected row
264
+ with a `Primary/Main` check on an ordinary row, so:
265
+ - the row keeps its normal ink;
266
+ - `.vd-menu-item-check` is `Primary/Main` by itself (it inherited the row's
267
+ colour before);
268
+ - **a selected row with no check now shows nothing.** Add
269
+ `<svg class="vd-menu-item-check vd-icon vd-icon-size-14">` to it. A bare
270
+ `#check` icon without the class still shows, in the row's ink.
271
+ - `.vd-menu-item-right-text` is `Content/Primary` (was `Primary/Main`).
272
+ - **ContentRow's text wraps.** It truncated to one line; Figma's text layer has
273
+ no truncation and the Application page's BSA summary runs to two. A row with
274
+ a long summary is now 64px, not 48.
275
+ - **OwnerTableHeader is redrawn: a flexible Owner column, then three 78⅔px
276
+ status columns, then 36px of right padding.** It had a fixed 536px first
277
+ cell and three of 94px with 16px gaps — 874px of columns, which ran 46px past
278
+ the Application page's 828px row. Now the Owner label takes the free width,
279
+ the status labels are equal thirds of a fixed 236px, and the right padding
280
+ covers the rows' chevron slot, so a label starts where its column does. In an
281
+ 828px row the labels move from x 556 / 666 / 776 to 556 / 634⅔ / 713⅓.
282
+ `.vd-owner-table-header-cell-main` still exists and no longer sets a width.
283
+ - **PanelSectionHeader's closed chevron turns 180°, not −90°.** The glyph Figma
284
+ nests is `#chevron-up`, and the documented snippet now uses it. Markup that
285
+ kept the 0.6.0 snippet's `#chevron-down` points up when closed and down when
286
+ open: swap the glyph.
287
+
288
+ ### Changed — a token value
289
+
290
+ - **Light `Content/Tertiary` is `#6a6a78`; it was `#727280`.** Figma darkened it
291
+ on 2026-11-19. The name is unchanged (`--color-content-tertiary`,
292
+ `text-content-tertiary`), so nothing breaks; every label, placeholder and
293
+ meta line that uses it is a little darker in Light. Onyx is unchanged. It now
294
+ passes 4.5:1 at rest on all four surfaces (5.32 Paper, 5.10 Card, 4.72
295
+ Neutral, 4.78 Frame; it was 4.20 and 4.26 on the last two), which was the
296
+ pair behind most of the Light accessibility findings.
297
+ - **Two 0.6.0 workarounds are reverted to what Figma binds**, because they pass
298
+ again: the meta line in ChecklistGroup's sign-off record and in FindingCard's
299
+ decision box is `Content/Tertiary` (it shipped `Content/Secondary`).
300
+ - **Three stay**, because the token still falls under 4.5 on an interaction
301
+ fill over `Surface/Frame`: chip and segment tabs' rest ink, the Tag count, and
302
+ MenuItem's subtitle and meta (4.37 on a hovered critical row in Onyx).
303
+
304
+ ### Fixed
305
+
306
+ - **A closed `<dialog class="vd-modal">` was visible.** `.vd-modal` sets
307
+ `display: flex`, which outranks the browser's `dialog:not([open])` rule, so
308
+ the dialog rendered on the page at 480×90 before it was opened.
309
+ `dialog.vd-modal:not([open])` is now `display: none`.
310
+ - **An open Modal dialog sat in the top-left corner on `.` and `./source`.**
311
+ Preflight zeroes the dialog's `margin: auto`. `dialog.vd-modal` restores it.
312
+ (`./styles.css` with `./reset.css` was already right; `verify:reset`'s one
313
+ known divergence was this and is gone.)
314
+ - **DropdownMenu did not stretch a wrapper inside it.** The panel was
315
+ `items-start`, so a `role="listbox"` group or a submenu anchor hugged its
316
+ rows: the Assign recipe's check sat beside the name and hover fills stopped
317
+ short. The panel is `items-stretch`.
318
+ - **A long nav session status squeezed its dot and never truncated.**
319
+ `.vd-nav-session-status` was a flex row, which cannot ellipsize its own text.
320
+ It is a block that truncates, with the dot inline before the text.
321
+ - **OwnerTableHeader's documented roles failed axe.** `role="row"` and
322
+ `columnheader` need a `role="table"` parent; the snippets now have one.
323
+ - **Compact FieldVerification labels gave the page phantom scroll height.** The
324
+ visually hidden label is absolutely positioned and had no positioned ancestor
325
+ nearer than the page shell, so in a long scrolling record every one of them
326
+ sat in the shell's overflow (2,503px in a 1,080px shell on the Application
327
+ page) and `scrollIntoView` scrolled the whole app.
328
+ `.vd-field-verification-compact` is `position: relative`, as are the
329
+ Navigation Rail parts that hide text when collapsed.
330
+
331
+ ### Added — components
332
+
333
+ - **OwnerRow** — one owner in the Ownership list: a square Avatar or an entity
334
+ tile, name and role, a status per check, and a chevron that expands the row.
335
+ 64px. The three status columns are equal thirds of a fixed 236px, the chevron
336
+ has its own slot 14px after them, and the owner column takes what is left —
337
+ the same columns as OwnerTableHeader. In the Application page's 828px row the
338
+ first status sits on the record's own status column (x 556). `.vd-owner-row-linked` marks the owner
339
+ a finding points at. The chevron is its only control: ownership is edited
340
+ from the Ownership section's line, not per owner (decided 2026-11-19; the
341
+ Figma sets were redrawn to match the same day).
342
+ - **`.vd-severity-count-flush`** — a SeverityCount with no left padding, for a
343
+ count in a row's status column, so its marker starts at the column's edge
344
+ (the page frames' instance override). Used in ContentRow's status slot and
345
+ OwnerRow's status cells. `.vd-content-row-status` is a flex box now, so a
346
+ wrapper holding the count keeps the row at 48px (it came out 50.5).
347
+ - **Record** — `.vd-record`, the column grid a record's rows share. Inside one
348
+ the 536px text column gives way on a narrow page (status column first, to
349
+ 88px) and every row's status stays in line. ContentRow, DataRow,
350
+ FundingTransaction and FundingTotal read it. (The owner list does not: it
351
+ keeps its status columns fixed and flexes the owner column.)
352
+ Outside one nothing changes.
353
+ - **DataList** — the fields under an expanded row, with a header (a title and
354
+ one action, 32px) and a group heading (a glyph and a title, 36px).
355
+ - **SectionEdit** — a record section in edit mode: the bordered box, named
356
+ groups of fields, and a footer with the reason, a note, Cancel and Save. It
357
+ replaces the 0.6.0 recipe, which had no box.
358
+ - **FinalDecision** — the last line of the checklist: what unlocks the
359
+ decision. 52px.
360
+ - **SummaryPanel** — the body of the panel's Summary tab: label / value rows
361
+ (one of which can be a control), tags, a risk score with a segmented bar, a
362
+ summary of open findings, products.
363
+ - **ScoringDetails** — the rules behind a risk score, behind a disclosure.
364
+
365
+ ### Changed — FindingCard follows Figma's update
366
+
367
+ Figma's Finding Card now nests real components for its fields (it drew raw
368
+ frames), and the library's parts and snippets follow:
369
+
370
+ - **Requesting**: Document and From are two small DropdownFields with their own
371
+ labels, side by side 8px apart, in the new `.vd-finding-card-fields`. The
372
+ 0.6.0 snippet had one large select under a `.vd-finding-card-field-label`;
373
+ that class still works and is no longer part of the design.
374
+ - **The note** is a small Textarea with the new `.vd-finding-card-note`, which
375
+ holds it at 80px (`--height-textarea-sm`) and makes the `<textarea>` fill it.
376
+ - **Choosing** shows the same note, "Add a note (required)".
377
+ - The card is 298px choosing and 352px requesting: Figma's 296 and 350 plus the
378
+ 2px of a real border. FindingOption rows are 40px, 6px apart, as before.
379
+
380
+ ### Added — to existing components
381
+
382
+ - **Button**: `aria-disabled="true"` is styled as `:disabled` on every
383
+ display, for an action that is unavailable but must stay focusable.
384
+ `.vd-btn-blocked` is the neutral "cannot run yet" look.
385
+ - **MenuItem**: a row whose submenu is open (`aria-expanded="true"`) keeps the
386
+ hover fill, and `:active` takes it too.
387
+ - **ContentRow**: `.vd-content-row-linked`; an expanded row keeps its hover
388
+ actions visible.
389
+ - **DataRow**: `.vd-data-row-previous`, the value a field held before an edit.
390
+ - **NavigationRail**: `.vd-nav-section-header` and `-action` (a group label
391
+ with an action at its far end); `aria-current` on a `.vd-nav-session` (the
392
+ open session); `.vd-nav-user-collapsed` (the account control in the 60px
393
+ rail); `.vd-nav-rail-sidebar` and `.vd-nav-rail-actions` (the Nav Sidebar
394
+ set's spacing: 8px above each group instead of 20px between them).
395
+ - **SummaryPreview**: `--vd-summary-preview-width` (140px by default).
396
+
397
+ ### Changed
398
+
399
+ - **FundingTransaction**: the amount is right-aligned and the 78px action
400
+ group packs to the row's right edge, as Figma sets both.
401
+ - **FindingCard** footer and **AddFundsForm** actions are right-aligned.
402
+ - **Field widths read `--vd-record-text`**: ContentRow's text, DataRow's value,
403
+ FundingTransaction's and FundingTotal's summary. Their default is the same
404
+ 536px (320 for DataRow's value).
405
+
406
+ ### Differs from Figma
407
+
408
+ Each has a designer-list entry (items 96 to 111).
409
+
410
+ - **OwnerRow and OwnerTableHeader follow the redrawn sets** (item 100): no
411
+ difference in the columns, the chevron slot, the square Avatar or the flush
412
+ Severity Count. The owner list stays off the Record grid by decision: at a
413
+ narrow width it keeps its own columns under its own header.
414
+ - **The open nav session's status is `Content/Secondary`**; Figma keeps
415
+ `Content/Tertiary`, 4.10:1 on the selected fill even with the new token
416
+ (item 104).
417
+ - **FindingCard's note keeps Textarea's own padding** (8 / 2); Figma's Text
418
+ Area set now draws 12 / 10 and fixed heights at every size, which the
419
+ library's Textarea has not taken — a future decision, since it would resize
420
+ every Textarea (item 110). The card's button is Button md, which is correct.
421
+ - **`Content/Tertiary` stays `#6a6a78`, and four components keep
422
+ `Content/Secondary` where it would fall under 4.5:1 on a hover or selected
423
+ fill**: the open nav session's status, chip and segment tabs, the Tag count
424
+ and MenuItem's subtitle (item 111, closed as decided).
425
+ - **Library decisions where Figma draws nothing**: Linked on ContentRow and
426
+ OwnerRow (98), how a record's columns give way (99), the blocked Button as a
427
+ class (96), the ScoringDetails glyph and its turn (101), hover and focus on
428
+ the Nav Section Header action and the SummaryPanel assignee row.
429
+ - **Raw type shipped as the nearest style** in SectionEdit (102), and one
430
+ section-title style in SummaryPanel where Figma binds two (103).
431
+
432
+ ### Development dependencies (nothing in the published package changes)
433
+
434
+ - **Storybook 10.5.10 → 10.6.7** (`storybook` and the four `@storybook/*`
435
+ packages together) and **Vite 8.2.2 → 8.3.8**, from `npm audit fix` without
436
+ `--force`. That clears the critical Storybook advisories (GHSA-f2ph-cmg5-wxc8,
437
+ GHSA-px85-f4q5-jh77) and the high Vite ones.
438
+ - **Chromatic CLI 18.7.2 → 18.15.1** and **`chromaui/action` v13 → v18** in
439
+ `.github/workflows/chromatic.yml`. The action now runs on Node 24 (v13 was
440
+ Node 20); every input the workflow passes still exists.
441
+ - `npm audit fix` in `examples/daisyui-starter` and `examples/sveltekit-starter`
442
+ (lockfiles only).
443
+ - **Not forced in 0.7.0** (decided 2026-11-19): the three advisories whose
444
+ fix is `npm audit fix --force`. They are listed under **Follow-ups** below.
445
+
446
+ ### Follow-ups — audit fixes that need a major upgrade
447
+
448
+ None of these is in the published package; all three are development or
449
+ example-host dependencies. Each is a breaking upgrade of its own, to do and
450
+ verify separately:
451
+
452
+ 1. **`@storybook/addon-mcp` 0.7.0 → 10.6.7** (root). Clears three moderate
453
+ `valibot` advisories (GHSA-5qjj-4xww-7phc, through `@storybook/mcp`). The
454
+ new line adds a peer on `@storybook/addon-vitest`.
455
+ 2. **Vite 5 → 8 in `examples/daisyui-starter`.** Clears `vite` (high) and
456
+ `esbuild` (moderate). The example pins Tailwind 3 and daisyUI 4 on purpose;
457
+ re-run its 54 checks after the move.
458
+ 3. **SvelteKit 2 → 3 in `examples/sveltekit-starter`.** Clears `@sveltejs/kit`
459
+ (high) and `cookie` (low). Re-run its 6 checks, including the documented
460
+ scoped-style loss.
461
+
462
+ ### Not in 0.7.0
463
+
464
+ - SummaryPanel does not include the Summary symbol's own tab row, its collapsed
465
+ strip or its "Review Checklist" bar (the legacy Checklist).
466
+ - Still not shipped from 0.6.0's list: Empty State, the real Card, Cell,
467
+ Selectable row, Checkbox container, Small nav, Section Marker warning /
468
+ failed.
469
+
470
+ ## 0.6.0 — published
40
471
 
41
472
  Brings the library up to the Figma file as of 2026-11-19: the Onyx theme, 60
42
473
  new colour tokens, and 30 new components for records, findings, funding and
@@ -266,7 +697,7 @@ or colour; they are under **Breaking**.
266
697
  themes today; the library follows the label so it stays right if the two ever
267
698
  differ. Designer-list item 53.
268
699
 
269
- ## 0.5.1 — unreleased (ships with 0.6.0)
700
+ ## 0.5.1 — published (shipped with 0.6.0)
270
701
 
271
702
  ### Added
272
703