basalt-ui 2.27.2 → 2.28.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 (238) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/MIGRATING.md +168 -12
  3. package/agent/rules/basalt-batteries.md +1 -1
  4. package/agent/rules/basalt-mantine.md +1 -1
  5. package/agent/rules/basalt-tokens.md +2 -2
  6. package/agent/skills/basalt-design/SKILL.md +1 -1
  7. package/agent/skills/basalt-design/references/catalogue.md +40 -36
  8. package/agent/skills/basalt-design/references/recipes.md +47 -0
  9. package/configs/oxlint-basalt.json +2 -1
  10. package/configs/oxlint-plugin.js +110 -2
  11. package/configs/oxlint-plugin.test.ts +99 -4
  12. package/dist/agent/chat/thread-message.d.ts +1 -160
  13. package/dist/agent/chat/thread-message.d.ts.map +1 -1
  14. package/dist/agent/chat/thread-message.js +7 -162
  15. package/dist/agent/chat/virtualize.d.ts +5 -5
  16. package/dist/charts/ChartCard.d.ts +5 -2
  17. package/dist/charts/ChartCard.d.ts.map +1 -1
  18. package/dist/charts/ChartCard.js +46 -13
  19. package/dist/charts/Lines.d.ts.map +1 -1
  20. package/dist/charts/Lines.js +11 -4
  21. package/dist/charts/Sparkline.d.ts +9 -2
  22. package/dist/charts/Sparkline.d.ts.map +1 -1
  23. package/dist/charts/Sparkline.js +104 -41
  24. package/dist/charts/chart-box.module.css +50 -0
  25. package/dist/charts/chart-box.module.css.d.ts +5 -0
  26. package/dist/charts/chart-card.module.css +12 -4
  27. package/dist/charts/chart-card.module.css.d.ts +1 -0
  28. package/dist/charts/compile.d.ts.map +1 -1
  29. package/dist/charts/compile.js +20 -18
  30. package/dist/charts/labels.d.ts +13 -3
  31. package/dist/charts/labels.d.ts.map +1 -1
  32. package/dist/charts/labels.js +131 -20
  33. package/dist/charts/legend.d.ts.map +1 -1
  34. package/dist/charts/legend.js +1 -1
  35. package/dist/charts/ref-label.d.ts +31 -8
  36. package/dist/charts/ref-label.d.ts.map +1 -1
  37. package/dist/charts/ref-label.js +40 -9
  38. package/dist/charts/sparkline.module.css +6 -0
  39. package/dist/charts/state.d.ts +3 -3
  40. package/dist/charts/state.d.ts.map +1 -1
  41. package/dist/charts/state.js +20 -2
  42. package/dist/cli/shot/capture.d.ts +6 -1
  43. package/dist/cli/shot/capture.d.ts.map +1 -1
  44. package/dist/cli/shot/capture.js +18 -5
  45. package/dist/common/empty-copy.d.ts +16 -0
  46. package/dist/common/empty-copy.d.ts.map +1 -0
  47. package/dist/common/empty-copy.js +9 -0
  48. package/dist/common/virtual-rows.d.ts +196 -0
  49. package/dist/common/virtual-rows.d.ts.map +1 -0
  50. package/dist/common/virtual-rows.js +290 -0
  51. package/dist/controls/controls.module.css +33 -1
  52. package/dist/controls/controls.module.css.d.ts +2 -0
  53. package/dist/controls/enum-filter.d.ts.map +1 -1
  54. package/dist/controls/enum-filter.js +8 -2
  55. package/dist/controls/filter-pill.d.ts +27 -3
  56. package/dist/controls/filter-pill.d.ts.map +1 -1
  57. package/dist/controls/filter-pill.js +15 -4
  58. package/dist/controls/form-layout.d.ts +9 -3
  59. package/dist/controls/form-layout.d.ts.map +1 -1
  60. package/dist/controls/form-layout.js +74 -12
  61. package/dist/controls/form-layout.module.css +112 -7
  62. package/dist/controls/form-layout.module.css.d.ts +1 -0
  63. package/dist/controls/multi-select-filter.d.ts +2 -2
  64. package/dist/controls/multi-select-filter.d.ts.map +1 -1
  65. package/dist/controls/multi-select-filter.js +12 -6
  66. package/dist/controls/range-filter.d.ts +1 -1
  67. package/dist/controls/range-filter.d.ts.map +1 -1
  68. package/dist/controls/range-filter.js +8 -2
  69. package/dist/dashboard/bar-list.d.ts +1 -1
  70. package/dist/dashboard/bar-list.d.ts.map +1 -1
  71. package/dist/dashboard/bar-list.js +6 -2
  72. package/dist/dashboard/bar-list.module.css +0 -2
  73. package/dist/dashboard/board-nav.d.ts +22 -0
  74. package/dist/dashboard/board-nav.d.ts.map +1 -0
  75. package/dist/dashboard/board-nav.js +49 -0
  76. package/dist/dashboard/board.d.ts +52 -0
  77. package/dist/dashboard/board.d.ts.map +1 -0
  78. package/dist/dashboard/board.js +228 -0
  79. package/dist/dashboard/board.module.css +160 -0
  80. package/dist/dashboard/board.module.css.d.ts +26 -0
  81. package/dist/dashboard/empty-state.d.ts +3 -3
  82. package/dist/dashboard/empty-state.d.ts.map +1 -1
  83. package/dist/dashboard/empty-state.js +13 -6
  84. package/dist/dashboard/event-list-model.d.ts +51 -0
  85. package/dist/dashboard/event-list-model.d.ts.map +1 -0
  86. package/dist/dashboard/event-list-model.js +72 -0
  87. package/dist/dashboard/event-list-rows.d.ts +23 -0
  88. package/dist/dashboard/event-list-rows.d.ts.map +1 -0
  89. package/dist/dashboard/event-list-rows.js +93 -0
  90. package/dist/dashboard/event-list-scroll.d.ts +27 -0
  91. package/dist/dashboard/event-list-scroll.d.ts.map +1 -0
  92. package/dist/dashboard/event-list-scroll.js +103 -0
  93. package/dist/dashboard/event-list-skeleton.d.ts +10 -0
  94. package/dist/dashboard/event-list-skeleton.d.ts.map +1 -0
  95. package/dist/dashboard/event-list-skeleton.js +36 -0
  96. package/dist/dashboard/event-list.d.ts +65 -0
  97. package/dist/dashboard/event-list.d.ts.map +1 -0
  98. package/dist/dashboard/event-list.js +178 -0
  99. package/dist/dashboard/event-list.module.css +283 -0
  100. package/dist/dashboard/event-list.module.css.d.ts +33 -0
  101. package/dist/dashboard/index.d.ts +2 -0
  102. package/dist/dashboard/index.d.ts.map +1 -1
  103. package/dist/dashboard/index.js +4 -0
  104. package/dist/dashboard/meter-parts.d.ts.map +1 -1
  105. package/dist/dashboard/meter-parts.js +5 -3
  106. package/dist/dashboard/meter.module.css +2 -1
  107. package/dist/dashboard/query-state.js +1 -1
  108. package/dist/dashboard/settings-section.d.ts +4 -1
  109. package/dist/dashboard/settings-section.d.ts.map +1 -1
  110. package/dist/dashboard/settings-section.js +1 -1
  111. package/dist/dashboard/settings-section.module.css +19 -4
  112. package/dist/dashboard/stat-card-parts.d.ts +5 -1
  113. package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
  114. package/dist/dashboard/stat-card-parts.js +8 -3
  115. package/dist/dashboard/stat-card.d.ts.map +1 -1
  116. package/dist/dashboard/stat-card.js +25 -6
  117. package/dist/dashboard/stat-card.module.css +31 -7
  118. package/dist/dashboard/stat-card.module.css.d.ts +3 -0
  119. package/dist/dashboard/stat-strip.module.css +4 -1
  120. package/dist/dashboard/widget-header.module.css +17 -1
  121. package/dist/guard/index.d.ts.map +1 -1
  122. package/dist/guard/index.js +2 -0
  123. package/dist/index.d.ts +1 -1
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/index.js +4 -0
  126. package/dist/shell/app-main.module.css +18 -0
  127. package/dist/styles.css +46 -0
  128. package/dist/surfaces.d.ts +2 -2
  129. package/dist/surfaces.d.ts.map +1 -1
  130. package/dist/surfaces.js +8 -2
  131. package/dist/table/cell-kinds.d.ts +44 -0
  132. package/dist/table/cell-kinds.d.ts.map +1 -0
  133. package/dist/table/cell-kinds.js +169 -0
  134. package/dist/table/cell-kinds.module.css +55 -0
  135. package/dist/table/cell-kinds.module.css.d.ts +15 -0
  136. package/dist/table/data-table-fold.d.ts +147 -0
  137. package/dist/table/data-table-fold.d.ts.map +1 -0
  138. package/dist/table/data-table-fold.js +288 -0
  139. package/dist/table/data-table-state.d.ts +10 -3
  140. package/dist/table/data-table-state.d.ts.map +1 -1
  141. package/dist/table/data-table-state.js +11 -6
  142. package/dist/table/data-table.d.ts +11 -26
  143. package/dist/table/data-table.d.ts.map +1 -1
  144. package/dist/table/data-table.js +354 -254
  145. package/dist/table/data-table.module.css +210 -3
  146. package/dist/table/data-table.module.css.d.ts +12 -0
  147. package/dist/table/table-features.d.ts +34 -4
  148. package/dist/table/table-features.d.ts.map +1 -1
  149. package/dist/table/table-features.js +10 -0
  150. package/dist/theme/card-inset.module.css +35 -0
  151. package/dist/theme/controls.module.css +32 -0
  152. package/dist/theme/ctl-theme.d.ts.map +1 -1
  153. package/dist/theme/ctl-theme.js +5 -0
  154. package/dist/theme/index.d.ts.map +1 -1
  155. package/dist/theme/index.js +14 -10
  156. package/dist/tokens/core.d.ts +1 -0
  157. package/dist/tokens/core.d.ts.map +1 -1
  158. package/dist/tokens/core.js +1 -0
  159. package/dist/tokens/derive.js +1 -1
  160. package/dist/tokens/palette.d.ts +2 -1
  161. package/dist/tokens/palette.d.ts.map +1 -1
  162. package/llms.txt +34 -5
  163. package/package.json +1 -1
  164. package/src/agent/chat/thread-message.tsx +10 -403
  165. package/src/agent/chat/virtualize.ts +5 -5
  166. package/src/charts/ChartCard.tsx +79 -17
  167. package/src/charts/Lines.tsx +13 -4
  168. package/src/charts/Sparkline.tsx +131 -45
  169. package/src/charts/chart-box.module.css +50 -0
  170. package/src/charts/chart-box.module.css.d.ts +5 -0
  171. package/src/charts/chart-card.module.css +12 -4
  172. package/src/charts/chart-card.module.css.d.ts +1 -0
  173. package/src/charts/compile.ts +22 -18
  174. package/src/charts/labels.ts +175 -24
  175. package/src/charts/legend.tsx +3 -2
  176. package/src/charts/ref-label.ts +86 -17
  177. package/src/charts/sparkline.module.css +6 -0
  178. package/src/charts/state.tsx +36 -7
  179. package/src/cli/shot/capture.ts +29 -6
  180. package/src/common/empty-copy.ts +17 -0
  181. package/src/common/virtual-rows.tsx +682 -0
  182. package/src/controls/controls.module.css +33 -1
  183. package/src/controls/controls.module.css.d.ts +2 -0
  184. package/src/controls/enum-filter.tsx +8 -2
  185. package/src/controls/filter-pill.tsx +80 -27
  186. package/src/controls/form-layout.module.css +112 -7
  187. package/src/controls/form-layout.module.css.d.ts +1 -0
  188. package/src/controls/form-layout.tsx +115 -22
  189. package/src/controls/multi-select-filter.tsx +22 -11
  190. package/src/controls/range-filter.tsx +9 -3
  191. package/src/dashboard/bar-list.module.css +0 -2
  192. package/src/dashboard/bar-list.tsx +8 -5
  193. package/src/dashboard/board-nav.ts +67 -0
  194. package/src/dashboard/board.module.css +160 -0
  195. package/src/dashboard/board.module.css.d.ts +26 -0
  196. package/src/dashboard/board.tsx +394 -0
  197. package/src/dashboard/empty-state.tsx +16 -9
  198. package/src/dashboard/event-list-model.ts +113 -0
  199. package/src/dashboard/event-list-rows.tsx +120 -0
  200. package/src/dashboard/event-list-scroll.ts +145 -0
  201. package/src/dashboard/event-list-skeleton.tsx +58 -0
  202. package/src/dashboard/event-list.module.css +283 -0
  203. package/src/dashboard/event-list.module.css.d.ts +33 -0
  204. package/src/dashboard/event-list.tsx +309 -0
  205. package/src/dashboard/index.ts +2 -0
  206. package/src/dashboard/meter-parts.tsx +9 -2
  207. package/src/dashboard/meter.module.css +2 -1
  208. package/src/dashboard/query-state.tsx +1 -1
  209. package/src/dashboard/settings-section.module.css +19 -4
  210. package/src/dashboard/settings-section.tsx +7 -2
  211. package/src/dashboard/stat-card-parts.tsx +20 -3
  212. package/src/dashboard/stat-card.module.css +31 -7
  213. package/src/dashboard/stat-card.module.css.d.ts +3 -0
  214. package/src/dashboard/stat-card.tsx +24 -5
  215. package/src/dashboard/stat-strip.module.css +4 -1
  216. package/src/dashboard/widget-header.module.css +17 -1
  217. package/src/guard/index.ts +2 -0
  218. package/src/index.ts +4 -0
  219. package/src/shell/app-main.module.css +18 -0
  220. package/src/styles.css +46 -0
  221. package/src/surfaces.ts +7 -1
  222. package/src/table/cell-kinds.module.css +55 -0
  223. package/src/table/cell-kinds.module.css.d.ts +15 -0
  224. package/src/table/cell-kinds.tsx +234 -0
  225. package/src/table/data-table-fold.tsx +514 -0
  226. package/src/table/data-table-state.ts +24 -13
  227. package/src/table/data-table.module.css +210 -3
  228. package/src/table/data-table.module.css.d.ts +12 -0
  229. package/src/table/data-table.tsx +406 -359
  230. package/src/table/table-features.ts +44 -4
  231. package/src/theme/__snapshots__/plain-theme.test.ts.snap +2 -66
  232. package/src/theme/card-inset.module.css +35 -0
  233. package/src/theme/controls.module.css +32 -0
  234. package/src/theme/ctl-theme.tsx +8 -0
  235. package/src/theme/index.ts +12 -8
  236. package/src/tokens/core.ts +1 -0
  237. package/src/tokens/derive.ts +1 -1
  238. package/src/tokens/palette.ts +4 -1
@@ -139,25 +139,64 @@
139
139
  * button cell line up under one another regardless of how many columns folded.
140
140
  */
141
141
  .foldToggleCell {
142
- width: 2.75rem;
142
+ box-sizing: border-box;
143
+ /* The 28px toggle sits inside the 40px row; the cell's own block padding added 3px to it. */
144
+ padding-block: 0;
145
+ padding-inline: 0;
143
146
  text-align: center;
144
147
  }
145
148
 
149
+ /* A ghost chevron: no box at rest (eight bordered squares down a column read as clutter), muted, ink
150
+ on hover and focus, the focus ring on keyboard focus. It is 28px so the 40px row holds it;
151
+ `data-basalt-hit` carries the tap target to the pointer tier's floor (`--vx-hit`) without growing
152
+ the row. */
146
153
  .foldToggle {
147
154
  display: inline-flex;
148
155
  align-items: center;
149
156
  justify-content: center;
157
+ box-sizing: border-box;
158
+ width: 1.75rem;
159
+ height: 1.75rem;
150
160
  border: none;
161
+ border-radius: var(--vx-radius-ctrl);
151
162
  background: none;
152
163
  padding: 0;
153
164
  color: var(--vx-muted);
154
165
  cursor: pointer;
155
166
  }
156
167
 
157
- .foldToggle:hover {
168
+ .foldToggle:hover,
169
+ .foldToggle:focus-visible {
158
170
  color: var(--vx-ink);
159
171
  }
160
172
 
173
+ .foldToggle:focus-visible {
174
+ outline: 2px solid var(--vx-accent);
175
+ outline-offset: 1px;
176
+ }
177
+
178
+ /* The header above the toggles: a micro count of the folded columns. */
179
+ .foldCount {
180
+ font-family: var(--mantine-font-family-monospace);
181
+ font-size: var(--vx-text-micro);
182
+ color: var(--vx-muted);
183
+ cursor: help;
184
+ }
185
+
186
+ .foldChevron {
187
+ width: 0.875rem;
188
+ height: 0.875rem;
189
+ fill: none;
190
+ stroke: currentColor;
191
+ stroke-width: 1.5;
192
+ stroke-linecap: round;
193
+ stroke-linejoin: round;
194
+ }
195
+
196
+ .foldChevron[data-expanded='true'] {
197
+ transform: rotate(90deg);
198
+ }
199
+
161
200
  /* The disclosure row itself carries no border of its own — it reads as part of the row above it,
162
201
  not a new one. */
163
202
  .foldDisclosureRowTr {
@@ -166,14 +205,22 @@
166
205
 
167
206
  .foldDisclosureCell {
168
207
  padding-top: 0;
208
+ padding-inline: 0;
169
209
  background: var(--vx-surface-subtle);
170
210
  }
171
211
 
172
212
  .foldDisclosure {
213
+ /* The disclosure row spans every column, so it would scroll away with them: the content box is as
214
+ wide as the container and sticks at its start edge. */
215
+ position: sticky;
216
+ inset-inline-start: 0;
217
+ box-sizing: border-box;
218
+ width: var(--basalt-table-room, 100%);
219
+ padding-inline: var(--vx-space-row-inset-x, 0.5rem);
173
220
  display: flex;
174
221
  flex-direction: column;
175
222
  gap: var(--vx-space-row-inset-y, 0.375rem);
176
- padding: var(--vx-space-row-inset-y, 0.375rem) 0;
223
+ padding-block: var(--vx-space-row-inset-y, 0.375rem);
177
224
  }
178
225
 
179
226
  .foldDisclosureRow {
@@ -193,3 +240,163 @@
193
240
  color: var(--vx-ink);
194
241
  text-align: right;
195
242
  }
243
+
244
+ /*
245
+ * The header row's toolbar (`docs/waves/design-parity/SPEC.md` § 6.6): search, facet chips and the
246
+ * `actions` slot on ONE line from the `compact` container class (240px, `CONTAINER_CLASSES`) up.
247
+ * The header row is the container, so the table reads its own width and never the viewport; below
248
+ * 240px the row may wrap. The base `flex-wrap: wrap` is Mantine `Group`'s own; this module is
249
+ * unlayered, so it outranks `@layer mantine` regardless of specificity.
250
+ */
251
+ .tableHeader {
252
+ container-type: inline-size;
253
+ }
254
+
255
+ @container (min-width: 240px) {
256
+ .toolbar {
257
+ flex-wrap: nowrap;
258
+ }
259
+ }
260
+
261
+ /* The actions sit at the row's right edge even when no facet row is there to push them. */
262
+ .toolbarActions {
263
+ flex: 0 1 auto;
264
+ min-width: 0;
265
+ margin-inline-start: auto;
266
+ }
267
+
268
+ /*
269
+ * The toolbar search and the footer's rows-per-page Select are the SAME height as the controls beside
270
+ * them at every pointer tier. At a coarse pointer the theme gives an input a real 44px floor
271
+ * (`min-height: var(--vx-hit)` — an input cannot host the `[data-basalt-hit]` overlay), which made the
272
+ * search ~12px taller than the 32px chips next to it. Here the visible box is the `ctl` height (the
273
+ * floor is lifted) and the wrapper hosts the 44px overlay instead, capped at the toolbar gap exactly
274
+ * like a pill. The input keeps its 16px type.
275
+ */
276
+ .toolbarWrapper {
277
+ --vx-hit-gap: var(--vx-space-control-gap);
278
+ }
279
+
280
+ @media (pointer: coarse) {
281
+ .toolbarInput.toolbarInput {
282
+ min-height: 0;
283
+ }
284
+ }
285
+
286
+ /*
287
+ * Headers never wrap (SPEC § 6.6 / § 9.1): a two-line label doubles the header row and, at a compact
288
+ * container, was the first thing to give — the fold and the pin-and-scroll take the room instead.
289
+ */
290
+ .table th {
291
+ white-space: nowrap;
292
+ }
293
+
294
+ /*
295
+ * The table's own scroll box, a keyboard tab stop only while it overflows (`data-table.tsx`
296
+ * `scrollerProps`). The ring sits INSIDE the box: its edges are the container's, and an outset
297
+ * outline would be clipped by the page's own overflow.
298
+ */
299
+ .scroller:focus-visible {
300
+ outline: 2px solid var(--vx-accent);
301
+ outline-offset: -2px;
302
+ }
303
+
304
+ /*
305
+ * A pinned cell is opaque in EVERY row state (TanStack issue 5392 — the cell under it bled through).
306
+ * Its inline `background-color` is the panel; the row's own state tint is layered over it as an image,
307
+ * so a translucent tint composes on the panel exactly as it does on the row. The selectors mirror
308
+ * Mantine's `Table.css` tint rules (hover on a pointer, `:active` on touch; striped by `nth-of-type`).
309
+ */
310
+ .pinnedLayer {
311
+ --pinned-tint: transparent;
312
+ background-image: linear-gradient(var(--pinned-tint), var(--pinned-tint));
313
+ }
314
+
315
+ /* A sticky header paints `--mantine-color-body` on every `th`; its pinned cells must not read the
316
+ table's surface instead, or the pinned name is a different shade from the rest of the header. */
317
+ .table thead[data-sticky] {
318
+ --basalt-pin-fill: var(--mantine-color-body);
319
+ }
320
+
321
+ /* Body rows only: Mantine stamps `data-striped` / `data-hover` on the header's `<tr>` too, and an
322
+ unscoped rule tinted the pinned `<th>` of an odd first row — a grey block in the header. */
323
+ tbody > tr[data-striped='odd']:nth-of-type(odd) > .pinnedLayer,
324
+ tbody > tr[data-striped='even']:nth-of-type(even) > .pinnedLayer {
325
+ --pinned-tint: var(--table-striped-color);
326
+ }
327
+
328
+ @media (hover: hover) {
329
+ tbody > tr[data-hover]:hover > .pinnedLayer {
330
+ --pinned-tint: var(--tr-hover-bg);
331
+ }
332
+ }
333
+
334
+ @media (hover: none) {
335
+ tbody > tr[data-hover]:active > .pinnedLayer {
336
+ --pinned-tint: var(--tr-hover-bg);
337
+ }
338
+ }
339
+
340
+ /*
341
+ * The auto-pinned identifier: one line, ellipsized past 45% of the container (`--basalt-table-room`,
342
+ * written by the fold measurement; the title attribute carries the full text). Its min width is the
343
+ * inline `minWidth` from `columnDef.minSize`.
344
+ */
345
+ th.pinnedFluid,
346
+ td.pinnedFluid {
347
+ overflow: hidden;
348
+ max-width: calc(var(--basalt-table-room, 24rem) * 0.45);
349
+ text-overflow: ellipsis;
350
+ white-space: nowrap;
351
+ }
352
+
353
+ /* A hovered row takes the row-hover token on a fine pointer (Mantine's `highlightOnHover` paints it). */
354
+ .table {
355
+ --table-highlight-on-hover-color: var(--vx-surface-row-hover);
356
+ }
357
+
358
+ /*
359
+ * Rows hold one line (SPEC § 6.6, 40 px): a body cell never wraps, so the fold measures natural
360
+ * one-line widths and folds or pins instead of "fitting" by wrapping. Only an explicit `text` kind
361
+ * may wrap — never a pinned one. A full-row cell (empty and error bodies, the fold
362
+ * disclosure) holds prose and wraps inside the table width.
363
+ */
364
+ .table td {
365
+ white-space: nowrap;
366
+ }
367
+
368
+ .table td[data-kind='text']:not(.pinnedLayer),
369
+ .table td[colspan] {
370
+ white-space: normal;
371
+ }
372
+
373
+ /*
374
+ * Column sizing (SPEC § 6.6): `data-fit` columns take their content width — `1px` plus a no-wrap
375
+ * cell is "as narrow as the content allows" in the auto table layout — and the one slack column (or
376
+ * the trailing spacer) takes everything else, so a value sits next to its name at any width. The
377
+ * fold reads these natural `<th>` widths; the pinned identifier keeps its own cap.
378
+ */
379
+ .table [data-fit] {
380
+ width: 1px;
381
+ }
382
+
383
+ .spacer {
384
+ padding: 0;
385
+ }
386
+
387
+ /*
388
+ * A lone `danger` row action. Repeated once per row, a red icon at rest is a status hue on chrome,
389
+ * so it rests as the same neutral as any row action and takes the danger colour (the menu's red
390
+ * item) on the control's OWN hover or keyboard focus only — never the row's, which would light a
391
+ * column of red icons as the pointer moves down. A disabled or loading control stays neutral.
392
+ */
393
+ .dangerAction:not(:disabled, [data-disabled], [data-loading]):focus-visible {
394
+ color: var(--mantine-color-red-light-color);
395
+ }
396
+
397
+ /* Hover only where a pointer can hover: a tap on a phone must not leave a sticky red icon. */
398
+ @media (hover: hover) {
399
+ .dangerAction:not(:disabled, [data-disabled], [data-loading]):hover {
400
+ color: var(--mantine-color-red-light-color);
401
+ }
402
+ }
@@ -7,6 +7,9 @@ declare const classes: {
7
7
  readonly bulkBar: string
8
8
  readonly bulkCount: string
9
9
  readonly containment: string
10
+ readonly dangerAction: string
11
+ readonly foldChevron: string
12
+ readonly foldCount: string
10
13
  readonly foldDisclosure: string
11
14
  readonly foldDisclosureCell: string
12
15
  readonly foldDisclosureLabel: string
@@ -17,8 +20,17 @@ declare const classes: {
17
20
  readonly foldToggleCell: string
18
21
  readonly foldWrapper: string
19
22
  readonly pageSticky: string
23
+ readonly toolbarInput: string
24
+ readonly toolbarWrapper: string
25
+ readonly tableHeader: string
26
+ readonly toolbar: string
27
+ readonly toolbarActions: string
28
+ readonly pinnedFluid: string
29
+ readonly pinnedLayer: string
30
+ readonly scroller: string
20
31
  readonly selectCell: string
21
32
  readonly selectHit: string
33
+ readonly spacer: string
22
34
  readonly srOnly: string
23
35
  readonly table: string
24
36
  }
@@ -1,6 +1,13 @@
1
1
  import type { ColumnDef, ColumnHelper, RowData } from '@tanstack/react-table';
2
2
  /** Horizontal alignment of a column's header AND its cells. */
3
3
  export type DataTableAlign = 'left' | 'center' | 'right';
4
+ /** The one list of cell kinds: the type, the runtime check and its error text derive from it. */
5
+ export declare const DATA_TABLE_COLUMN_KINDS: readonly ["entity", "status", "number", "money", "relative-time", "meter", "text"];
6
+ /**
7
+ * The cell kinds `meta.kind` names (`docs/waves/design-parity/SPEC.md` § 6.6). Unset keeps the
8
+ * table's plain cell. The chrome and the content each kind supplies live in `cell-kinds.tsx`.
9
+ */
10
+ export type DataTableColumnKind = (typeof DATA_TABLE_COLUMN_KINDS)[number];
4
11
  /**
5
12
  * What a column def's `meta` may carry. Registered per table through `columnMeta: metaHelper<…>()`
6
13
  * rather than a global `declare module '@tanstack/react-table'`, so `meta: { aling: 'right' }` is a
@@ -10,10 +17,10 @@ export type DataTableAlign = 'left' | 'center' | 'right';
10
17
  export type BasaltColumnMeta = {
11
18
  align?: DataTableAlign;
12
19
  /**
13
- * Opt OUT of the automatic mono-numeral cell style. The table applies it whenever the cell's
14
- * raw value is a number — which is right for a plain figure and wrong for a numeric accessor
15
- * whose `cell` renders its own chrome (a coloured `Text`, a `Badge`, a sparkline), because the
16
- * `<td>`'s mono font then overrides what the cell asked for.
20
+ * Opt OUT of the automatic numeral cell style (proportional sans with `tabular-nums`, SPEC D33).
21
+ * The table applies it whenever the cell's raw value is a number — which is right for a plain
22
+ * figure and wrong for a numeric accessor whose `cell` renders its own chrome (a coloured `Text`,
23
+ * a `Badge`, a sparkline), because the `<td>`'s numeral style then overrides what the cell asked for.
17
24
  */
18
25
  numeral?: boolean;
19
26
  /**
@@ -24,6 +31,29 @@ export type BasaltColumnMeta = {
24
31
  * LAST column first — nothing regresses with no `meta.priority` set anywhere. See `foldOrder`.
25
32
  */
26
33
  priority?: number;
34
+ /**
35
+ * The cell's kind: chrome always, content only when the column has no `cell` renderer of its own
36
+ * (a `cell` still supplies the content). Unset renders exactly the plain cell. A wrong value
37
+ * throws at render, like `align`.
38
+ *
39
+ * - `entity`: never wraps, ink, weight 500; the column's `cell` (glyph + name) or the raw value.
40
+ * - `status`: the status chip; colour from `statusColor`, default `gray`. Never wraps.
41
+ * - `number` / `money`: proportional tabular numerals (SPEC D33, not mono), right-aligned (an explicit `align` wins). Without a
42
+ * `cell` the raw number is formatted (`integer`; `money` grouped to `currency`'s minor digits, no symbol), null as a muted dash.
43
+ * The UNIT belongs in the header (`Volume (kg)`, `Salary (USD / yr)`), never in the cell.
44
+ * - `relative-time`: mono, muted; a raw `Date | number | string` renders as `3 hours ago` in a
45
+ * `<time>`, the full date in a tooltip and as its accessible name.
46
+ * - `meter`: the inline `Meter` bar for the value against `meterMax`.
47
+ * - `text`: plain `sm` ink that MAY wrap — the only kind that does. Every other body cell holds one line, so
48
+ * the fold measures natural widths and folds or pins instead of fitting by wrapping.
49
+ */
50
+ kind?: DataTableColumnKind;
51
+ /** `status`: the chip colour for a cell value — a theme colour name or a CSS var. Default `gray`. */
52
+ statusColor?(value: unknown): string;
53
+ /** `meter`: the value that fills the bar. Default 1 (a ratio). */
54
+ meterMax?: number;
55
+ /** `money` without a `cell`: the ISO 4217 code that sets the minor digits (the header names it). Default `USD`. */
56
+ currency?: string;
27
57
  };
28
58
  /**
29
59
  * Every row model is registered (v9 has no per-render `getXRowModel` switch); the table bypasses the
@@ -1 +1 @@
1
- {"version":3,"file":"table-features.d.ts","sourceRoot":"","sources":["../../src/table/table-features.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE7E,+DAA+D;AAC/D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;AAExD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;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oB9B,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D;;;GAGG;AAEH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,OAAO,IAAI,SAAS,CAAC,mBAAmB,EAAE,CAAC,EAAE,GAAG,CAAC,CAAA;AAEvF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,OAAO,KAAK,YAAY,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAE5F"}
@@ -19,6 +19,15 @@ import {
19
19
  sortFn_text,
20
20
  tableFeatures
21
21
  } from "@tanstack/react-table";
22
+ const DATA_TABLE_COLUMN_KINDS = [
23
+ "entity",
24
+ "status",
25
+ "number",
26
+ "money",
27
+ "relative-time",
28
+ "meter",
29
+ "text"
30
+ ];
22
31
  const basaltTableFeatures = tableFeatures({
23
32
  rowSortingFeature,
24
33
  columnFilteringFeature,
@@ -44,6 +53,7 @@ function createColumnHelper() {
44
53
  return tanstackColumnHelper();
45
54
  }
46
55
  export {
56
+ DATA_TABLE_COLUMN_KINDS,
47
57
  basaltTableFeatures,
48
58
  createColumnHelper
49
59
  };
@@ -29,6 +29,41 @@
29
29
  padding: 0;
30
30
  }
31
31
 
32
+ /* The card radius tier. Paper's lives here rather than in the theme's inline `styles` so the rule
33
+ below can step it down; a Card keeps its inline value, which this one equals. */
34
+ .inset {
35
+ border-radius: var(--vx-radius-card);
36
+ }
37
+
38
+ /*
39
+ * A `Paper` floating over a flush card (a scrubber or key over a map canvas) is a nested surface:
40
+ * sharing the card's radius fails `craft-1/nested-radius-step` (< 3 px apart). It steps DOWN to the
41
+ * control tier, which is always a scale step and 4 px under the card at every radius level (`card =
42
+ * 10 + level`, `ctrl = 6 + level`), the same snap-down law as the Wave 38 nested radii.
43
+ *
44
+ * An explicit `radius` prop still wins: Mantine writes it inline as `--paper-radius`, which beats
45
+ * this rule's `initial` reset; unset, Mantine's own class value (the theme default radius) is
46
+ * reset away so the `var()` falls through to the control tier.
47
+ *
48
+ * Excluded: Mantine's own floating surfaces, which are Papers too but are not panels over the
49
+ * canvas, and a `withinPortal={false}` one renders INSIDE the card. Every `mantine-*-dropdown`
50
+ * part (Popover, Menu, HoverCard, Combobox and the Selects built on it) and Modal / Drawer / Dialog
51
+ * content keep their own radius. What still matches is any other Paper under the flush card, at any
52
+ * depth: a Paper used as an inner card steps down too, which is the nested-step law's intent.
53
+ */
54
+ .inset[data-variant='flush']
55
+ .inset:where(
56
+ :not(
57
+ [class*='mantine-'][class*='-dropdown'],
58
+ [class*='mantine-Modal-'],
59
+ [class*='mantine-Drawer-'],
60
+ [class*='mantine-Dialog-']
61
+ )
62
+ ) {
63
+ --paper-radius: initial;
64
+ border-radius: var(--paper-radius, var(--vx-radius-ctrl));
65
+ }
66
+
32
67
  .inset:where(
33
68
  :not(
34
69
  [data-variant='flush'],
@@ -309,6 +309,38 @@ html .tableRoot {
309
309
  --table-border-color: var(--vx-surface-hairline);
310
310
  }
311
311
 
312
+ /*
313
+ * The header is a faint micro-label on the body's own fill (no band; the hairline below the head row
314
+ * is its only divider). The SORTED column steps up to ink — its arrow inherits it; unsorted sortable
315
+ * headers stay faint. `aria-sort` is the state the table already writes, so no extra class.
316
+ */
317
+ html .tableRoot th {
318
+ color: var(--vx-faint);
319
+ }
320
+
321
+ html .tableRoot th[aria-sort='ascending'],
322
+ html .tableRoot th[aria-sort='descending'] {
323
+ color: var(--vx-ink);
324
+ }
325
+
326
+ /*
327
+ * The current page is selection state, so it is an ink-mixed fill with an ink label, the `pills` Tab's
328
+ * step (SPEC § 6.12). This is its one home: there is no `Pagination` vars entry in `theme/index.ts`.
329
+ * Mantine writes `--pagination-active-bg` inline only for an explicit `color=`, which therefore keeps
330
+ * its accent fill and Mantine's own label contrast.
331
+ */
332
+ html :global(.mantine-Pagination-root):not([style*='--pagination-active-bg']) {
333
+ --pagination-active-bg: color-mix(in srgb, var(--vx-ink) 12%, var(--vx-surface-panel));
334
+ }
335
+
336
+ /* The label is set on the control: Mantine writes `--pagination-active-color` inline (white), which a
337
+ rule on the root cannot outrank. */
338
+ html
339
+ :global(.mantine-Pagination-root):not([style*='--pagination-active-bg'])
340
+ :global(.mantine-Pagination-control)[data-active] {
341
+ color: var(--vx-ink);
342
+ }
343
+
312
344
  /*
313
345
  * The LAST row's separator is dropped — exactly the rule (and exactly the reasoning) the Accordion
314
346
  * above already carries: a separator BETWEEN items is information, and the same line drawn after the
@@ -1 +1 @@
1
- {"version":3,"file":"ctl-theme.d.ts","sourceRoot":"","sources":["../../src/theme/ctl-theme.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAMV,oBAAoB,EAQrB,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAA+B,CAAA;AAEzE;;iGAEiG;AACjG,eAAO,MAAM,SAAS,EAAE,oBA+BvB,CAAA;AAoCD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;CACxB,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAY,EAAE,EAAE,YAAY,GAAG,SAAS,CAQ3E"}
1
+ {"version":3,"file":"ctl-theme.d.ts","sourceRoot":"","sources":["../../src/theme/ctl-theme.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAMV,oBAAoB,EAWrB,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAA+B,CAAA;AAEzE;;iGAEiG;AACjG,eAAO,MAAM,SAAS,EAAE,oBAoCvB,CAAA;AAoCD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;CACxB,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAY,EAAE,EAAE,YAAY,GAAG,SAAS,CAQ3E"}
@@ -12,6 +12,11 @@ const CTL_THEME = {
12
12
  MultiSelect: ext({ defaultProps: { size: "ctl" } }),
13
13
  SegmentedControl: ext({ defaultProps: { size: "ctl" } }),
14
14
  NativeSelect: ext({ defaultProps: { size: "ctl" } }),
15
+ // The form fields a `FormRow` / `SettingsRow` hosts (SPEC § 6.13): the 32 px field without a
16
+ // per-call `size`. `theme/index.ts` already carries the `ctl` stepper column for NumberInput.
17
+ NumberInput: ext({ defaultProps: { size: "ctl" } }),
18
+ PasswordInput: ext({ defaultProps: { size: "ctl" } }),
19
+ Textarea: ext({ defaultProps: { size: "ctl" } }),
15
20
  // The theme keys are the component names Mantine's own `useProps` looks up — `RadioGroup`, not
16
21
  // `Radio.Group` (`RadioGroup.mjs`: `useProps("RadioGroup", …)`).
17
22
  Radio: ext({
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EA0CV,oBAAoB,EAGpB,oBAAoB,EAErB,MAAM,eAAe,CAAA;AAStB,OAAO,KAAK,EAAe,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAKpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAWvD;;;;;GAKG;AACH,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAIvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAMvD,OAAO,EAAE,SAAS,EAAE,OAAO,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F7D;;8FAE8F;AAC9F,eAAO,MAAM,oBAAoB,EAAE,oBACc,CAAA;AAEjD,kEAAkE;AAClE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IAE9B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAA;IAEzB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAE1B;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAYD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,EACrD,OAAO,CAAC,EAAE,wBAAwB,GACjC,oBAAoB,CAiCtB"}
@@ -245,11 +245,12 @@ function buildTheme(data, options = {}) {
245
245
  }),
246
246
  Paper: ext({
247
247
  classNames: { root: cardInsetClasses.inset },
248
+ // The radius is in `card-inset.module.css`, not inline: an inline value cannot be stepped
249
+ // down for a Paper floating over a flush card.
248
250
  styles: {
249
251
  root: {
250
252
  backgroundColor: "var(--vx-surface-panel)",
251
- boxShadow: "var(--vx-shadow-card)",
252
- borderRadius: "var(--vx-radius-card)"
253
+ boxShadow: "var(--vx-shadow-card)"
253
254
  }
254
255
  }
255
256
  }),
@@ -779,7 +780,9 @@ function buildTheme(data, options = {}) {
779
780
  }
780
781
  }
781
782
  }),
782
- // Header cells become a micro-label (mono, uppercase, faint) — numeral/tabular styling for
783
+ // Header cells become a micro-label (mono, uppercase; the colour — faint, ink when sorted — is
784
+ // `.tableRoot th` in controls.module.css, since an inline colour here could not be overridden by
785
+ // the sorted state). The head shares the body's fill: no band, only the hairline. Numeral/tabular styling for
783
786
  // body cells is a per-table call-site concern, left to consumers. `--table-border-color`
784
787
  // drives row separators AND the opt-in `withTableBorder` outer border — both drop to the
785
788
  // hairline (Mantine's default reads gray-3/dark-4 = the STRONG line, too heavy in a card).
@@ -797,8 +800,7 @@ function buildTheme(data, options = {}) {
797
800
  fontSize: VX.text.micro,
798
801
  fontWeight: 500,
799
802
  letterSpacing: "0.06em",
800
- textTransform: "uppercase",
801
- color: "var(--vx-faint)"
803
+ textTransform: "uppercase"
802
804
  },
803
805
  td: { height: spacing.step.tableRowHeight, fontSize: VX.text.sm }
804
806
  }
@@ -848,11 +850,9 @@ function buildTheme(data, options = {}) {
848
850
  }
849
851
  })
850
852
  }),
851
- Pagination: ext({
852
- vars: (theme, props) => ({
853
- root: { "--pagination-active-color": onColorFor(theme, props) }
854
- })
855
- }),
853
+ // The current page is ink (SPEC § 6.12); its one home is `controls.module.css`, so this entry only
854
+ // registers the component for the border-coverage gate.
855
+ Pagination: ext({}),
856
856
  // `Pagination`'s own controls (prev/next/page buttons) resolve `PaginationControl`'s
857
857
  // defaultProps independently of the parent — `data-basalt-hit` here is what closes the
858
858
  // gap Switch/Checkbox/Radio already close at their own theme entries.
@@ -958,6 +958,10 @@ function ctlSizeVars() {
958
958
  "--combobox-chevron-size-ctl": pxRem(CTL_CHEVRON_SIZE),
959
959
  "--ni-chevron-size-ctl": pxRem(CTL_NUMBER_CHEVRON_SIZE),
960
960
  "--ni-right-section-width-ctl": `calc(${pxRem(CTL_NUMBER_RIGHT_SECTION_WIDTH)} * var(--mantine-scale))`,
961
+ // PasswordInput's visibility toggle: Mantine's own `xs` pair (22 px button, 16 px icon), the tier
962
+ // whose input height already equals `ctl`; undeclared, `size="ctl"` left the toggle unsized.
963
+ "--psi-button-size-ctl": "calc(1.375rem * var(--mantine-scale))",
964
+ "--psi-icon-size-ctl": "calc(1rem * var(--mantine-scale))",
961
965
  "--badge-padding-x-ctl": `calc(${pxRem(CTL_PADDING_X)} * var(--mantine-scale))`,
962
966
  "--badge-fz-ctl": `calc(${pxRem(VX.text.xs)} * var(--mantine-scale))`,
963
967
  // `= VX.text.sm` per `docs/CONTROLS-SPEC.md` §5 — same `calc(<rem> * var(--mantine-scale))`
@@ -122,6 +122,7 @@ export declare const VX: {
122
122
  readonly hairline: "var(--vx-surface-hairline)";
123
123
  };
124
124
  readonly status: {
125
+ /** FILL-ONLY: zones, bands, heatmap cells. Not AA as text (~3:1 on a light card) — text uses `good`. */
125
126
  readonly excellent: "var(--vx-status-excellent)";
126
127
  readonly good: "var(--vx-status-good)";
127
128
  readonly warn: "var(--vx-status-warn)";
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/tokens/core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAaH,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAUvE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,WAAW,CAAA;AAMjC,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AACnF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM5D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAI5C,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,YAAY,GACb,MAAM,gBAAgB,CAAA;AACvB,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,wFAAwF;AACxF,MAAM,MAAM,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvD,8FAA8F;AAC9F,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MA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;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,2CAA2C;AAC3C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,gHAAgH;IAChH,MAAM,CAAC,EAAE,SAAS,WAAW,EAAE,CAAA;IAC/B,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAA;IAC5B;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACzC;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACtB,CAAA;AA8DD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,eAAe,CAC7B,IAAI,GAAE,gBAAqB,EAC3B,IAAI,GAAE,WAAgC,GACrC,MAAM,CAoER;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AASD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAkB1E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,MAAM,CASvE;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAMtE"}
@@ -178,6 +178,7 @@ const VX = {
178
178
  },
179
179
  // Score / zone status scale (excellent → poor)
180
180
  status: {
181
+ /** FILL-ONLY: zones, bands, heatmap cells. Not AA as text (~3:1 on a light card) — text uses `good`. */
181
182
  excellent: "var(--vx-status-excellent)",
182
183
  good: "var(--vx-status-good)",
183
184
  warn: "var(--vx-status-warn)",
@@ -25,7 +25,7 @@ function assertValidAccentHex(accent) {
25
25
  }
26
26
  }
27
27
  const FILL_LUMINANCE = 0.165;
28
- const FILL_HOVER_TONE_DELTA = 4.8;
28
+ const FILL_HOVER_TONE_DELTA = 10;
29
29
  const FILL_HOVER_CHROMA_DELTA = -3.6;
30
30
  const ACCENT_INK_DARK_TONE = 78;
31
31
  const ACCENT_INK_DARK_CHROMA = 36;
@@ -1191,7 +1191,8 @@ export declare const SEMANTIC: {
1191
1191
  };
1192
1192
  /**
1193
1193
  * Score / zone status scale (excellent → poor). `good`/`warn`/`bad` are the SAME spec
1194
- * success/warning/danger pairs as `SEMANTIC`. GENERATED — see `buildPaletteData` above.
1194
+ * success/warning/danger pairs as `SEMANTIC`. `excellent` is fill-only (not AA as text); use `good`
1195
+ * for text. GENERATED — see `buildPaletteData` above.
1195
1196
  */
1196
1197
  export declare const STATUS: {
1197
1198
  readonly excellent: ColorPair;
@@ -1 +1 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../src/tokens/palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;CAgCL,CAAA;AAEV;;;;GAIG;AACH,eAAO,MAAM,CAAC,GAAI,KAAK,SAAS,MAAM,EAAE,EAAE,cAAS,EAAE,aAAQ,KAAG,SAG9D,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;;;;;;;IASjB;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;;;;;;;;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