basalt-ui 2.19.0 → 2.21.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 (234) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/MIGRATING.md +291 -12
  3. package/agent/agents/basalt-design-reviewer.md +22 -5
  4. package/agent/rules/basalt-charts.md +1 -1
  5. package/agent/rules/basalt-mantine.md +1 -1
  6. package/agent/rules/basalt-tokens.md +2 -2
  7. package/agent/skills/basalt-app/SKILL.md +1 -1
  8. package/agent/skills/basalt-design/SKILL.md +10 -23
  9. package/agent/skills/basalt-design/references/anti-defaults.md +24 -0
  10. package/agent/skills/basalt-design/references/catalogue.md +48 -0
  11. package/agent/skills/basalt-design/references/concept.md +36 -0
  12. package/agent/skills/basalt-design/references/encoding-rules.md +45 -0
  13. package/agent/skills/basalt-design/references/stat-tile.md +24 -0
  14. package/agent/templates/AGENTS-block.md.tpl +3 -3
  15. package/agent/templates/DESIGN.md.tpl +1 -1
  16. package/configs/oxlint-plugin.js +34 -19
  17. package/configs/oxlint-plugin.test.ts +32 -2
  18. package/dist/charts/ChartCard.d.ts +33 -4
  19. package/dist/charts/ChartCard.d.ts.map +1 -1
  20. package/dist/charts/ChartCard.js +37 -11
  21. package/dist/charts/Donut.d.ts.map +1 -1
  22. package/dist/charts/Donut.js +13 -1
  23. package/dist/charts/Heatmap.js +1 -1
  24. package/dist/charts/Sparkline.d.ts +7 -1
  25. package/dist/charts/Sparkline.d.ts.map +1 -1
  26. package/dist/charts/Sparkline.js +137 -18
  27. package/dist/charts/box.d.ts +2 -0
  28. package/dist/charts/box.d.ts.map +1 -1
  29. package/dist/charts/box.js +2 -0
  30. package/dist/charts/chart-box.module.css +30 -0
  31. package/dist/charts/chart-box.module.css.d.ts +1 -0
  32. package/dist/charts/chart-card.module.css +47 -0
  33. package/dist/charts/chart-card.module.css.d.ts +7 -0
  34. package/dist/charts/compile.d.ts.map +1 -1
  35. package/dist/charts/compile.js +35 -8
  36. package/dist/charts/host.d.ts.map +1 -1
  37. package/dist/charts/host.js +2 -1
  38. package/dist/charts/index.d.ts +1 -1
  39. package/dist/charts/index.d.ts.map +1 -1
  40. package/dist/charts/sparkline.module.css +59 -0
  41. package/dist/charts/sparkline.module.css.d.ts +13 -0
  42. package/dist/charts/state.d.ts +5 -0
  43. package/dist/charts/state.d.ts.map +1 -1
  44. package/dist/charts/state.js +34 -4
  45. package/dist/charts/types.d.ts +6 -0
  46. package/dist/charts/types.d.ts.map +1 -1
  47. package/dist/cli/check-theme.d.ts.map +1 -1
  48. package/dist/cli/check-theme.js +3 -0
  49. package/dist/cli/help.d.ts.map +1 -1
  50. package/dist/cli/help.js +3 -2
  51. package/dist/cli/index.d.ts +4 -2
  52. package/dist/cli/index.d.ts.map +1 -1
  53. package/dist/cli/index.js +27 -15
  54. package/dist/cli/init.d.ts.map +1 -1
  55. package/dist/cli/init.js +3 -2
  56. package/dist/cli/shot/capture.d.ts.map +1 -1
  57. package/dist/cli/shot/capture.js +6 -1
  58. package/dist/cli/shot/detect.d.ts +51 -0
  59. package/dist/cli/shot/detect.d.ts.map +1 -0
  60. package/dist/cli/shot/detect.js +396 -0
  61. package/dist/cli/shot/index.d.ts.map +1 -1
  62. package/dist/cli/shot/index.js +7 -4
  63. package/dist/cli/shot/measure.d.ts +2 -0
  64. package/dist/cli/shot/measure.d.ts.map +1 -1
  65. package/dist/cli/shot/measure.js +2 -0
  66. package/dist/cli/shot/types.d.ts +4 -1
  67. package/dist/cli/shot/types.d.ts.map +1 -1
  68. package/dist/cli/shot/types.js +2 -0
  69. package/dist/cli/sync.d.ts +2 -0
  70. package/dist/cli/sync.d.ts.map +1 -1
  71. package/dist/cli/sync.js +2 -2
  72. package/dist/common/retry-button.d.ts +12 -0
  73. package/dist/common/retry-button.d.ts.map +1 -0
  74. package/dist/common/retry-button.js +22 -0
  75. package/dist/common/retry-button.module.css +58 -0
  76. package/dist/common/retry-button.module.css.d.ts +8 -0
  77. package/dist/controls/sync-button.d.ts +3 -0
  78. package/dist/controls/sync-button.d.ts.map +1 -1
  79. package/dist/dashboard/bar-list.d.ts +18 -4
  80. package/dist/dashboard/bar-list.d.ts.map +1 -1
  81. package/dist/dashboard/bar-list.js +39 -15
  82. package/dist/dashboard/bar-list.module.css +77 -2
  83. package/dist/dashboard/bar-list.module.css.d.ts +1 -0
  84. package/dist/dashboard/delta-badge.d.ts +8 -3
  85. package/dist/dashboard/delta-badge.d.ts.map +1 -1
  86. package/dist/dashboard/delta-badge.js +9 -2
  87. package/dist/dashboard/index.d.ts +2 -0
  88. package/dist/dashboard/index.d.ts.map +1 -1
  89. package/dist/dashboard/meter-model.d.ts +53 -6
  90. package/dist/dashboard/meter-model.d.ts.map +1 -1
  91. package/dist/dashboard/meter-model.js +62 -14
  92. package/dist/dashboard/meter-parts.d.ts +5 -1
  93. package/dist/dashboard/meter-parts.d.ts.map +1 -1
  94. package/dist/dashboard/meter-parts.js +140 -68
  95. package/dist/dashboard/meter.d.ts +29 -4
  96. package/dist/dashboard/meter.d.ts.map +1 -1
  97. package/dist/dashboard/meter.js +8 -1
  98. package/dist/dashboard/meter.module.css +74 -43
  99. package/dist/dashboard/meter.module.css.d.ts +4 -4
  100. package/dist/dashboard/query-state.d.ts +1 -1
  101. package/dist/dashboard/query-state.d.ts.map +1 -1
  102. package/dist/dashboard/query-state.js +16 -10
  103. package/dist/dashboard/settings-section.d.ts.map +1 -1
  104. package/dist/dashboard/settings-section.js +14 -25
  105. package/dist/dashboard/stat-card-parts.js +1 -1
  106. package/dist/dashboard/stat-card.d.ts +1 -1
  107. package/dist/dashboard/stat-card.d.ts.map +1 -1
  108. package/dist/dashboard/stat-card.js +5 -7
  109. package/dist/dashboard/stat-card.module.css +15 -7
  110. package/dist/dashboard/stat-group.d.ts +11 -2
  111. package/dist/dashboard/stat-group.d.ts.map +1 -1
  112. package/dist/dashboard/stat-group.js +9 -7
  113. package/dist/dashboard/stat-strip.d.ts +67 -0
  114. package/dist/dashboard/stat-strip.d.ts.map +1 -0
  115. package/dist/dashboard/stat-strip.js +115 -0
  116. package/dist/dashboard/stat-strip.module.css +291 -0
  117. package/dist/dashboard/stat-strip.module.css.d.ts +32 -0
  118. package/dist/dashboard/visual-slot.d.ts +2 -0
  119. package/dist/dashboard/visual-slot.d.ts.map +1 -0
  120. package/dist/dashboard/visual-slot.js +5 -0
  121. package/dist/dashboard/widget-header.d.ts +3 -3
  122. package/dist/dashboard/widget-header.module.css +10 -6
  123. package/dist/format/date.d.ts.map +1 -1
  124. package/dist/format/date.js +4 -3
  125. package/dist/format/shared.d.ts +6 -0
  126. package/dist/format/shared.d.ts.map +1 -1
  127. package/dist/format/shared.js +6 -2
  128. package/dist/guard/index.d.ts +16 -3
  129. package/dist/guard/index.d.ts.map +1 -1
  130. package/dist/guard/index.js +15 -1
  131. package/dist/guard/palette.d.ts +51 -0
  132. package/dist/guard/palette.d.ts.map +1 -0
  133. package/dist/guard/palette.js +190 -0
  134. package/dist/guard/series-file.d.ts +15 -0
  135. package/dist/guard/series-file.d.ts.map +1 -0
  136. package/dist/guard/series-file.js +29 -0
  137. package/dist/guard/types.d.ts +3 -3
  138. package/dist/guard/types.d.ts.map +1 -1
  139. package/dist/index.d.ts +3 -1
  140. package/dist/index.d.ts.map +1 -1
  141. package/dist/index.js +4 -0
  142. package/dist/styles.css +6 -0
  143. package/dist/surfaces.d.ts +1 -1
  144. package/dist/surfaces.d.ts.map +1 -1
  145. package/dist/surfaces.js +2 -0
  146. package/dist/theme/card-inset.module.css +76 -0
  147. package/dist/theme/card-inset.module.css.d.ts +9 -0
  148. package/dist/theme/controls.module.css +13 -0
  149. package/dist/theme/index.d.ts.map +1 -1
  150. package/dist/theme/index.js +41 -0
  151. package/dist/theme/nav-link.module.css +8 -10
  152. package/dist/theme/status-dot.d.ts +3 -2
  153. package/dist/theme/status-dot.d.ts.map +1 -1
  154. package/dist/theme/status-dot.js +12 -3
  155. package/dist/theme/status-verdict.d.ts +3 -2
  156. package/dist/theme/status-verdict.d.ts.map +1 -1
  157. package/dist/theme/status-verdict.js +3 -2
  158. package/dist/theme/status-verdict.module.css +4 -2
  159. package/dist/tokens/oklab.d.ts +28 -0
  160. package/dist/tokens/oklab.d.ts.map +1 -0
  161. package/dist/tokens/oklab.js +73 -0
  162. package/llms.txt +33 -7
  163. package/package.json +1 -1
  164. package/src/charts/ChartCard.tsx +79 -5
  165. package/src/charts/Donut.tsx +9 -1
  166. package/src/charts/Heatmap.tsx +1 -1
  167. package/src/charts/Sparkline.tsx +180 -18
  168. package/src/charts/box.tsx +2 -0
  169. package/src/charts/chart-box.module.css +30 -0
  170. package/src/charts/chart-box.module.css.d.ts +1 -0
  171. package/src/charts/chart-card.module.css +47 -0
  172. package/src/charts/chart-card.module.css.d.ts +7 -0
  173. package/src/charts/compile.ts +42 -9
  174. package/src/charts/host.tsx +6 -3
  175. package/src/charts/index.ts +1 -1
  176. package/src/charts/sparkline.module.css +59 -0
  177. package/src/charts/sparkline.module.css.d.ts +13 -0
  178. package/src/charts/state.tsx +53 -4
  179. package/src/charts/types.ts +6 -0
  180. package/src/cli/check-theme.ts +3 -0
  181. package/src/cli/help.ts +18 -1
  182. package/src/cli/index.ts +48 -17
  183. package/src/cli/init.ts +2 -1
  184. package/src/cli/shot/capture.ts +15 -2
  185. package/src/cli/shot/detect.ts +533 -0
  186. package/src/cli/shot/index.ts +8 -4
  187. package/src/cli/shot/measure.ts +4 -0
  188. package/src/cli/shot/types.ts +5 -1
  189. package/src/cli/sync.ts +4 -2
  190. package/src/common/retry-button.module.css +58 -0
  191. package/src/common/retry-button.module.css.d.ts +8 -0
  192. package/src/common/retry-button.tsx +29 -0
  193. package/src/controls/sync-button.tsx +3 -0
  194. package/src/dashboard/bar-list.module.css +77 -2
  195. package/src/dashboard/bar-list.module.css.d.ts +1 -0
  196. package/src/dashboard/bar-list.tsx +89 -18
  197. package/src/dashboard/delta-badge.tsx +21 -5
  198. package/src/dashboard/index.ts +2 -0
  199. package/src/dashboard/meter-model.ts +126 -20
  200. package/src/dashboard/meter-parts.tsx +224 -88
  201. package/src/dashboard/meter.module.css +74 -43
  202. package/src/dashboard/meter.module.css.d.ts +4 -4
  203. package/src/dashboard/meter.tsx +39 -5
  204. package/src/dashboard/query-state.tsx +26 -20
  205. package/src/dashboard/settings-section.tsx +1 -8
  206. package/src/dashboard/stat-card-parts.tsx +1 -1
  207. package/src/dashboard/stat-card.module.css +15 -7
  208. package/src/dashboard/stat-card.tsx +9 -9
  209. package/src/dashboard/stat-group.tsx +19 -8
  210. package/src/dashboard/stat-strip.module.css +291 -0
  211. package/src/dashboard/stat-strip.module.css.d.ts +32 -0
  212. package/src/dashboard/stat-strip.tsx +263 -0
  213. package/src/dashboard/visual-slot.ts +8 -0
  214. package/src/dashboard/widget-header.module.css +10 -6
  215. package/src/dashboard/widget-header.tsx +3 -3
  216. package/src/format/date.ts +6 -3
  217. package/src/format/shared.ts +11 -2
  218. package/src/guard/index.ts +17 -5
  219. package/src/guard/palette.ts +261 -0
  220. package/src/guard/series-file.ts +51 -0
  221. package/src/guard/types.ts +3 -2
  222. package/src/index.ts +7 -0
  223. package/src/styles.css +6 -0
  224. package/src/surfaces.ts +2 -0
  225. package/src/theme/__snapshots__/plain-theme.test.ts.snap +202 -24
  226. package/src/theme/card-inset.module.css +76 -0
  227. package/src/theme/card-inset.module.css.d.ts +9 -0
  228. package/src/theme/controls.module.css +13 -0
  229. package/src/theme/index.ts +56 -0
  230. package/src/theme/nav-link.module.css +8 -10
  231. package/src/theme/status-dot.tsx +17 -5
  232. package/src/theme/status-verdict.module.css +4 -2
  233. package/src/theme/status-verdict.tsx +9 -4
  234. package/src/tokens/oklab.ts +97 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,92 @@
1
+ # [2.21.0](https://github.com/jkrumm/basalt-ui/compare/v2.20.0...v2.21.0) (2026-10-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * clip the Meter label row so a hidden name cannot overflow ([48c1174](https://github.com/jkrumm/basalt-ui/commit/48c117452412d4e5f870e5d964512ab65ff062e7))
7
+ * correct basalt-design import paths and resolve only public entries ([4901a14](https://github.com/jkrumm/basalt-ui/commit/4901a148cb5ecaa15704fcd7f9856278d6ac225d))
8
+ * cover strip states and footer, align the first cell, drop the opt-out ([eaa6dbe](https://github.com/jkrumm/basalt-ui/commit/eaa6dbe2f17af0a3d876d5935125dc0c1e330b89))
9
+ * derive the tracked skill files from the shipped skills tree ([ea4b3db](https://github.com/jkrumm/basalt-ui/commit/ea4b3dbdaaa813e19e52bbb12c0e3ed85ecd3cf8))
10
+ * draw strip dividers as borders in forced colors ([5842e63](https://github.com/jkrumm/basalt-ui/commit/5842e6347226037659ff2ca299cb786926d1ffc4))
11
+ * harden shot detect history, I/O errors and severity exit ([f85a10e](https://github.com/jkrumm/basalt-ui/commit/f85a10e35165907e13ec41c2b9220bf82c882b83))
12
+ * keep series-palette off the guard hook path and test its routing ([c2d10aa](https://github.com/jkrumm/basalt-ui/commit/c2d10aa1ed130f8693c1f3f28bdbb13846d73310))
13
+ * keep the blocked reason and one-line titles on the S3 stuck list ([fd5da9f](https://github.com/jkrumm/basalt-ui/commit/fd5da9ffd30253631dafc8d3fd9efac69e59b75f))
14
+ * keep the holding Meter zone name and pin label sets per width ([5fef7ff](https://github.com/jkrumm/basalt-ui/commit/5fef7ffd68230e42cf1087e01512189217b4b0d8))
15
+ * level the first strip cell with padding, keep the divider rule ([9a5049f](https://github.com/jkrumm/basalt-ui/commit/9a5049f847351c49807f46bbacffcfc188d3dc77))
16
+ * name the button section var like Mantine's own ([cd9f821](https://github.com/jkrumm/basalt-ui/commit/cd9f821736126d1e9f794bc38d691f31b3c407dd))
17
+ * put button section insets on the spacing scale ([a67e246](https://github.com/jkrumm/basalt-ui/commit/a67e2461263c7949350020feaa939bdcd57c940a))
18
+ * review round 1 on strip state, Retry paint and the hosted marker ([8b42a9e](https://github.com/jkrumm/basalt-ui/commit/8b42a9e3d02a70a09b9f2866f03d205238a5a42c))
19
+ * scope the muted Meter default to plain value bars ([e49b713](https://github.com/jkrumm/basalt-ui/commit/e49b7139c3e934d1165a64ae1613e0cf3466adf0))
20
+ * skip disabled controls in the shot contrast measure ([ab28344](https://github.com/jkrumm/basalt-ui/commit/ab2834459280a2357d27d3731667b5dc773412ba))
21
+ * split the buttons specimen into one anchor per size row ([c8a15d0](https://github.com/jkrumm/basalt-ui/commit/c8a15d0082d3144d9db0d1be7fa804dd4aa9a49d))
22
+ * strip cells align their rows instead of stretching to a void ([dd30822](https://github.com/jkrumm/basalt-ui/commit/dd30822c7363bcdb099b4ac844ee49228248472b))
23
+ * strip cells keep on-scale insets and no stretched void ([6a7e7fe](https://github.com/jkrumm/basalt-ui/commit/6a7e7fe86bdbfd92771d33b5b4450c3affe2393b))
24
+ * update zone name layout tests for the holding-name priority ([b0b5043](https://github.com/jkrumm/basalt-ui/commit/b0b504368248e094c01ff9fc8ca85064b427627f))
25
+
26
+
27
+ ### Features
28
+
29
+ * basalt-design as a router with concept and decision references ([5699f58](https://github.com/jkrumm/basalt-ui/commit/5699f588cb3322d5e38c2ffa66e95a686c33e8e4))
30
+ * center Meter zone labels under their spans with inline end ticks ([136af57](https://github.com/jkrumm/basalt-ui/commit/136af57a22f1444fbe914ef8d69ab1a4db783b69))
31
+ * harden skill reference placement and cover it end to end ([9e5ab89](https://github.com/jkrumm/basalt-ui/commit/9e5ab89d8ae925d355bc0f58d3de5df26caf1c88))
32
+ * let Meter zones take a short label before a name hides ([faa67b6](https://github.com/jkrumm/basalt-ui/commit/faa67b6ad1298ca8cd0eff417d8474207e720d9c))
33
+ * muted Meter fill and thin BarList rows by default ([428a015](https://github.com/jkrumm/basalt-ui/commit/428a0154978f5ab1792343faf1fd4bdff3f95ee6))
34
+ * register the shared Retry in the shadow-surface registry ([80fefe2](https://github.com/jkrumm/basalt-ui/commit/80fefe260b036a64b516771684f23d414be1440b))
35
+ * series-palette guard computes the series file's palette ([b508eaa](https://github.com/jkrumm/basalt-ui/commit/b508eaabddec8ec1623b4f0022eb3dd18b1a13c7))
36
+ * ship skill reference files through init and sync ([2b012c5](https://github.com/jkrumm/basalt-ui/commit/2b012c551ccfdafba28b68715aba70de10ffbb4d))
37
+ * shot detect, the deterministic second review pass ([716f74b](https://github.com/jkrumm/basalt-ui/commit/716f74bce59dd7cff7dc3ee5d02ecfa2bdf0141f))
38
+ * strip cell state and one Retry in the shared error anatomy ([f5eb252](https://github.com/jkrumm/basalt-ui/commit/f5eb252641fbb6e4a32b20e73c0c69a10ebe10ef))
39
+
40
+ # [2.20.0](https://github.com/jkrumm/basalt-ui/compare/v2.19.0...v2.20.0) (2026-10-17)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * address review on chart font, Meter glue and slot hover test ([8027c08](https://github.com/jkrumm/basalt-ui/commit/8027c087f8c88f3f1188d69de316079489fb6adf))
46
+ * address review on round-2 fixtures ([ec9d619](https://github.com/jkrumm/basalt-ui/commit/ec9d619d1f7c1428815bf1709e2aeafe573e447c))
47
+ * drop the last redundant card inset pair and its stale guard hint ([8bc0500](https://github.com/jkrumm/basalt-ui/commit/8bc05005e41e31c672b205620500a55bc488b940))
48
+ * gate card facts by state and settle review round 1 ([22b4a49](https://github.com/jkrumm/basalt-ui/commit/22b4a49e6476eb5d3d78283ad923a539fb0f04f8))
49
+ * gate the item-flow facts by state ([34abefb](https://github.com/jkrumm/basalt-ui/commit/34abefb29507659b6dcef0a6677659bf63bd216e))
50
+ * keep the meter marker centred and pin the muted fill below line ([9da586d](https://github.com/jkrumm/basalt-ui/commit/9da586d789ae0d9049b6a92897f68e76888b3cab))
51
+ * match the vs prefix loosely and space the period ([1723364](https://github.com/jkrumm/basalt-ui/commit/172336484ba1acfa8dd26db8df0d070f6e225993))
52
+ * render the S3 day note as a meter and drop the budget legend ([3aec049](https://github.com/jkrumm/basalt-ui/commit/3aec0496568639faa8dd50c6dc48aa6df3680957))
53
+ * round-1 board fixes for facts, strip, meter and chart faces ([88d9e76](https://github.com/jkrumm/basalt-ui/commit/88d9e765d0894263c8e2fceb99ab5f3d5f4a68d0))
54
+ * round-1 fixture fixes on S3, S4 and the components page ([f48da52](https://github.com/jkrumm/basalt-ui/commit/f48da5298546140959e56e0dc641fd7ea1c262e0))
55
+ * round-2 fixture fixes on S2, S3, S4 and components ([e7d4076](https://github.com/jkrumm/basalt-ui/commit/e7d40765ed6646f928867c7d80ed51fbb5aac1ec))
56
+ * sparkline readout review round 1 ([ebef74f](https://github.com/jkrumm/basalt-ui/commit/ebef74f63a03a6199ab0f57239301e7cc0e5ebe0))
57
+ * split the bar list format part and keep tick text in the track ([c6efab8](https://github.com/jkrumm/basalt-ui/commit/c6efab8a4d93720c6df236e23dbde5f248190f84))
58
+ * stub Intl.RelativeTimeFormat through defineProperty in tests ([eac88ab](https://github.com/jkrumm/basalt-ui/commit/eac88ab70bbf605e22e7dd251015479282f6991e))
59
+ * tint the budget line by verdict and dedupe the forecast row ([fe964b8](https://github.com/jkrumm/basalt-ui/commit/fe964b8883253662a1e5440a0b7649aacfd4db4a))
60
+ * type the ref label mark generically and cover the flip band ([d0b1198](https://github.com/jkrumm/basalt-ui/commit/d0b1198de82efeed00ded4357bbfb663ce275e07))
61
+
62
+
63
+ ### Features
64
+
65
+ * add a facts slot to the chart card for the headline figure ([f93c793](https://github.com/jkrumm/basalt-ui/commit/f93c7936e9d14bd9bda2c4d08759a96be41bbfd5))
66
+ * add a strip variant with typed cells and a footer row to StatGroup ([1dfcab8](https://github.com/jkrumm/basalt-ui/commit/1dfcab8f01a18c72761a69fe3fe6fc00e265cbe1))
67
+ * add BarList per-row max, thin rows and per-row ticks ([e79e503](https://github.com/jkrumm/basalt-ui/commit/e79e5034da1aa59a7ef72bf828583662d5edef03))
68
+ * add meter ticks, muted tone, row size and root part types ([a58c48d](https://github.com/jkrumm/basalt-ui/commit/a58c48d0c3767d7569a54f08f3c5b6f015d93971))
69
+ * add the agent-work scenario and a strip on training and spend ([f4ef65b](https://github.com/jkrumm/basalt-ui/commit/f4ef65bb6156e90e84f714b6e70a9d7934d2d5b8))
70
+ * chart error body uses the dot idiom, pin tab hover and padding ([41d7296](https://github.com/jkrumm/basalt-ui/commit/41d72962a239634a40faf6635cfda86611ce911d))
71
+ * compose the comparison period in DeltaBadge ([c903195](https://github.com/jkrumm/basalt-ui/commit/c90319555408abfa6e88ffa7646cc81687253abd))
72
+ * export StatusDot and StatusVerdict from the root ([eb835c6](https://github.com/jkrumm/basalt-ui/commit/eb835c6a6219d984765b20885840d5bc3e27fdd7))
73
+ * heatmap ticks keep the caption size at every width ([87e947f](https://github.com/jkrumm/basalt-ui/commit/87e947faad6dd00bd338f1c6ef01d2d6a9b32eda))
74
+ * keep the subtitle and gate chart card facts by state ([9c87401](https://github.com/jkrumm/basalt-ui/commit/9c87401e8cff18140fdb0b387cafcc618cd2c744))
75
+ * ledger the strip hairlines and draw its row rule between cells ([2d65e2e](https://github.com/jkrumm/basalt-ui/commit/2d65e2e6b59e7413b377eae5529cf56f4852b176))
76
+ * let strip cells carry hero and rows, stale state and derived anchors ([781e57e](https://github.com/jkrumm/basalt-ui/commit/781e57e97de0b7d3fd0f2bbba7099974fe62a2c1))
77
+ * let the status mark take className and style ([054d466](https://github.com/jkrumm/basalt-ui/commit/054d466b774066da757e965d1dcb49b476b36f37))
78
+ * measure the card inset in Chrome and let consumer classes win ([9a93f4c](https://github.com/jkrumm/basalt-ui/commit/9a93f4cdc84dfed95ad76d2e0f55d452e91044a1))
79
+ * on-plot labels for chart reference lines ([220663b](https://github.com/jkrumm/basalt-ui/commit/220663b869b5406f07609e81982a44fc617f9979))
80
+ * on-scale button padding, dark tab hover, neutral active row ([60b9abe](https://github.com/jkrumm/basalt-ui/commit/60b9abed5aa9a295df3e80bff4f4560154fcaeff))
81
+ * proportional hero numerals, mono only for captions and times ([9da4c3f](https://github.com/jkrumm/basalt-ui/commit/9da4c3fa1fbcf4141285e64eccd6acda43bb93fd))
82
+ * re-encode spend distribution and spend over time on s4 ([6048d83](https://github.com/jkrumm/basalt-ui/commit/6048d833f8d13a1b2fdc5718f85ff57cc2bf173f))
83
+ * relativeTime and SyncButton honour the format locale ([dea7750](https://github.com/jkrumm/basalt-ui/commit/dea7750960b4787acec078de4c624411636ebccb))
84
+ * reserve the sparkline readout line and set verdicts in the sans ([311c216](https://github.com/jkrumm/basalt-ui/commit/311c216261a487a65d4612b3d0c9545850e64e9a))
85
+ * round-2 board fixes for readout, chart error, ticks and rows ([ab632fb](https://github.com/jkrumm/basalt-ui/commit/ab632fbddb8dbc8be86f9b86c65740c01e70fc26))
86
+ * share one locale resolver across the format builders ([7431ae4](https://github.com/jkrumm/basalt-ui/commit/7431ae455f10ea6a26c20e007686ac8b36229428))
87
+ * sparkline reference line and a hover/focus readout ([aff4fb7](https://github.com/jkrumm/basalt-ui/commit/aff4fb7b76008164effee7c4db27918165491705))
88
+ * the theme owns the card inset; card-inset flags the pair ([a936467](https://github.com/jkrumm/basalt-ui/commit/a9364676a09ef9bd6048fa2fe3acb9c3ef5aee34))
89
+
1
90
  # [2.19.0](https://github.com/jkrumm/basalt-ui/compare/v2.18.0...v2.19.0) (2026-10-17)
2
91
 
3
92
 
package/MIGRATING.md CHANGED
@@ -66,18 +66,18 @@ There is one row per SURFACE, not per export, and a surface earns a row once any
66
66
  shipped lefthook preset both changed in 1.30.0 with no row that owned them — which is how a
67
67
  consumer read this index, found nothing, and diffed a KPI row that had silently gone 4-up → 2-up.
68
68
 
69
- | Surface | 1.27.0 | 1.28.0 | 1.29.0 | 1.30.0 | 1.30.1 | 1.30.2 | 1.31.0 | 1.32.0 | 1.32.1 | 1.33.0 | 1.34.0 | 1.34.1 | 1.35.0 | 1.36.0 | 1.36.1 | 1.37.0 | 1.37.1 | 1.38.0 | 1.38.1 | 1.39.0 | 1.40.0 | 1.40.1 | 1.40.2 | 1.40.3 | 1.41.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.1.0 | 2.2.0 | 2.3.0 | 2.4.0 | 2.5.0 | 2.6.0 | 2.6.1 | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.8.0 | 2.8.1 | 2.9.0 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.1 | 2.12.0 | 2.13.0 | 2.13.1 | 2.13.2 | 2.13.3 | 2.14.0 | 2.15.0 | 2.16.0 | 2.17.0 | 2.18.0 | 2.19.0 | Unreleased |
70
- | ----------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------- | ------ | ------ | -------------------------------------------------------------------------------------------- | ------ | ------ | ------ | ------ | ------ | ----------------------------------------------- | ------ | ------ | ------ | ------ | ------------------------------------------------------------ | ---------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
71
- | **tokens** (`./tokens`) | — | `--vx-divider` → `rgba()` on both schemes (§ Shell) | `--vx-space-touch-target` added (§ Additions) | eight spacing numbers (§ Chrome) | — | — | `--vx-hit` replaces the touch vars; `SIZE_CLASSES` (§ 1.31.0) | — | `SIZE_CLASSES`/`CONTAINER_CLASSES` actually exported (§ Fixes) | `CONTAINER_GRID_BREAKPOINTS`; `raw-breakpoint` trusts it (§ 1.33.0) | `CONTAINER_KEYS` (§ 1.34.0) | — | — | — | — | — | — | — | | `appShellInset` 20 → 16 (§ 1.38.1) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | spacing, radius, type and the dense tier (§ 2.16.0) | — | — | — | — |
72
- | **charts** (`./charts`) | — | phone tier, `curve`, formatters, `state`, log axis (§ preamble) | `ChartState.empty: string`, `AxisBottomNumeric` (§ Additions) | responsive `height`, `legend.maxRows` (§ Charts) | `height` reaches the kinds; `maxRows` beats the `fill` fit (§ Charts) | — | container-class tier + `height` keys (§ 1.31.0) | — | `ResponsiveChartHeight` `sm` → key (§ Container recipes) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BandSpan.absentFraction` + `absentState` (§ 2.8.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
73
- | **shell** (`.`) | — | scrollport, region seams, **the brand left the sidebar** (§§ scrollport, brand, Shell) | `PageTitle`, `BasaltDevDock`, `useBreakpoint` (§ Additions) | More popover, aside pill, the responsive gutter, `useBasaltSpacing` (§ Chrome) | — | — | `theme.breakpoints` derived, `useSizeClass`, `data-basalt-host`, `useBreakpoint` on notice (§ 1.31.0) | `useBreakpoint` removal → 1.33.0; `useSizeClass` is shell-only (§ 1.32.0) | shell-less `shell/` gutter, `AppShell` breakpoints, `useSizeClass` for overlays (§§ Shell-less, `useSizeClass`) | — | `useBreakpoint` removed (§ 1.34.0) | — | — | `useCoarsePointer()` (§ `useCoarsePointer()`) | — | — | — | — | | content gutter 16, block 8 from `sm` (§ 1.38.1) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BasaltProvider` embedded mode, `spotlight` (§ 2.8.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | expanded gutter 24 (§ 2.16.0) | — | — | light/outline Buttons ink, no status edges (§ 2.19.0) | — |
74
- | **controls** (`./controls`) | `NumberFilter`, `field.number` (§ Controls) | sheet renders panel rows; `PanelRow`, `SliderControl` (§ `basalt-ui/controls`) | — | — | — | — | — | — | — | `NumberFilter clearable`; `createSearchStore` `resets` (§ State and controls) | — | — | — | `FormSection`/`FormRow`/`FormGroup`/`FormActions` move here (§ The form layout moves) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | dense 28 tier at a fine pointer (§ 2.16.0) | — | — | — | — |
75
- | **forms** (`./forms`) | — | `field` → `inputProps`, **`inputProps` drops `key`**, the layout tier (§ `inputProps`) | `field` DELETED — and the `--fix` recipe no longer works (§ Consolidation) | — | — | — | — | — | `FormGroup` row no longer stretches (§ Fixes) | — | — | — | — | the layout + `useForm`/`schemaResolver` deprecated, removed 1.37.0 (§ The form layout moves) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
76
- | **data** (`./data/table`) | — | root is a `<div>`, row selection, `getItemKey` required (§ `basalt-ui/data`) | `./data` + `./query` + `./connectivity` dropped (§ Consolidation) | — | — | — | — | — | `renderCard` documented (§ `renderCard`) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
77
- | **dashboard** (`.`) | `StatCard`: `unit`, `breakdown`, delta format (§ `StatCard`) | `StatGroup`, `WidgetGrid`, query-aware `StatCard` — additive | — | **the column law keys on the CONTAINER; `cols={4}` is 2-up at `sm`** (§ Dashboard) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | card inset 12/16, `kpi` 22 / 500 (§ 2.16.0) | — | — | StatCard status dot, Meter/BarList refinements (§ 2.19.0) | — |
78
- | **toolchain** (`./configs/*`) | — | — | the shipped lefthook preset's `check-theme` BROKE — the CLI resolver stopped ascending (§ CLI) | the preset's default bin, and the `root:` recipe (§ Toolchain) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
79
- | **CLI** (`basalt-ui`) | — | — | **resolver stops relocating; `doctor` loses 6 of 10 checks** (§ CLI) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | the managed block moves `CLAUDE.md` → `AGENTS.md` (§ 1.41.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `doctor`: CSS + forced dropped subpaths, `oxlint-floor`, Start wiring (§ 2.8.0) | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
80
- | **guards** | five rules → `error` (§ Guards) | six new ids at `warn` (§ preamble) | `query-dual-import` retired in 1.29.1 (§ Guards) | four rules → `error` (§ Guards) | — | — | — | `raw-breakpoint`: the container-grid answer, `error` at 1.33.0 (§ 1.32.0) | `FormRow`/`FormGroup` homes in both lanes; `basalt-main` dropped (§ Fixes) | C1 + breakpoint pairs → `error`; `unknown-vx-token` `warn` (§ Guards) | — | — | — | `unknown-vx-token` → `error`; the token factories throw (§ Guards) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | `inline-spacing` steps, `card-inset` accepts both pairs (§ 2.16.0) | — | — | — | — |
69
+ | Surface | 1.27.0 | 1.28.0 | 1.29.0 | 1.30.0 | 1.30.1 | 1.30.2 | 1.31.0 | 1.32.0 | 1.32.1 | 1.33.0 | 1.34.0 | 1.34.1 | 1.35.0 | 1.36.0 | 1.36.1 | 1.37.0 | 1.37.1 | 1.38.0 | 1.38.1 | 1.39.0 | 1.40.0 | 1.40.1 | 1.40.2 | 1.40.3 | 1.41.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.1.0 | 2.2.0 | 2.3.0 | 2.4.0 | 2.5.0 | 2.6.0 | 2.6.1 | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.8.0 | 2.8.1 | 2.9.0 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.1 | 2.12.0 | 2.13.0 | 2.13.1 | 2.13.2 | 2.13.3 | 2.14.0 | 2.15.0 | 2.16.0 | 2.17.0 | 2.18.0 | 2.19.0 | 2.20.0 | 2.21.0 | Unreleased |
70
+ | ----------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------- | ------ | ------ | -------------------------------------------------------------------------------------------- | ------ | ------ | ------ | ------ | ------ | ----------------------------------------------- | ------ | ------ | ------ | ------ | ------------------------------------------------------------ | ---------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
71
+ | **tokens** (`./tokens`) | — | `--vx-divider` → `rgba()` on both schemes (§ Shell) | `--vx-space-touch-target` added (§ Additions) | eight spacing numbers (§ Chrome) | — | — | `--vx-hit` replaces the touch vars; `SIZE_CLASSES` (§ 1.31.0) | — | `SIZE_CLASSES`/`CONTAINER_CLASSES` actually exported (§ Fixes) | `CONTAINER_GRID_BREAKPOINTS`; `raw-breakpoint` trusts it (§ 1.33.0) | `CONTAINER_KEYS` (§ 1.34.0) | — | — | — | — | — | — | — | | `appShellInset` 20 → 16 (§ 1.38.1) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | spacing, radius, type and the dense tier (§ 2.16.0) | — | — | — | — | — | — |
72
+ | **charts** (`./charts`) | — | phone tier, `curve`, formatters, `state`, log axis (§ preamble) | `ChartState.empty: string`, `AxisBottomNumeric` (§ Additions) | responsive `height`, `legend.maxRows` (§ Charts) | `height` reaches the kinds; `maxRows` beats the `fill` fit (§ Charts) | — | container-class tier + `height` keys (§ 1.31.0) | — | `ResponsiveChartHeight` `sm` → key (§ Container recipes) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BandSpan.absentFraction` + `absentState` (§ 2.8.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
73
+ | **shell** (`.`) | — | scrollport, region seams, **the brand left the sidebar** (§§ scrollport, brand, Shell) | `PageTitle`, `BasaltDevDock`, `useBreakpoint` (§ Additions) | More popover, aside pill, the responsive gutter, `useBasaltSpacing` (§ Chrome) | — | — | `theme.breakpoints` derived, `useSizeClass`, `data-basalt-host`, `useBreakpoint` on notice (§ 1.31.0) | `useBreakpoint` removal → 1.33.0; `useSizeClass` is shell-only (§ 1.32.0) | shell-less `shell/` gutter, `AppShell` breakpoints, `useSizeClass` for overlays (§§ Shell-less, `useSizeClass`) | — | `useBreakpoint` removed (§ 1.34.0) | — | — | `useCoarsePointer()` (§ `useCoarsePointer()`) | — | — | — | — | | content gutter 16, block 8 from `sm` (§ 1.38.1) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BasaltProvider` embedded mode, `spotlight` (§ 2.8.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | expanded gutter 24 (§ 2.16.0) | — | — | light/outline Buttons ink, no status edges (§ 2.19.0) | — | — | — |
74
+ | **controls** (`./controls`) | `NumberFilter`, `field.number` (§ Controls) | sheet renders panel rows; `PanelRow`, `SliderControl` (§ `basalt-ui/controls`) | — | — | — | — | — | — | — | `NumberFilter clearable`; `createSearchStore` `resets` (§ State and controls) | — | — | — | `FormSection`/`FormRow`/`FormGroup`/`FormActions` move here (§ The form layout moves) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | dense 28 tier at a fine pointer (§ 2.16.0) | — | — | — | — | — | — |
75
+ | **forms** (`./forms`) | — | `field` → `inputProps`, **`inputProps` drops `key`**, the layout tier (§ `inputProps`) | `field` DELETED — and the `--fix` recipe no longer works (§ Consolidation) | — | — | — | — | — | `FormGroup` row no longer stretches (§ Fixes) | — | — | — | — | the layout + `useForm`/`schemaResolver` deprecated, removed 1.37.0 (§ The form layout moves) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
76
+ | **data** (`./data/table`) | — | root is a `<div>`, row selection, `getItemKey` required (§ `basalt-ui/data`) | `./data` + `./query` + `./connectivity` dropped (§ Consolidation) | — | — | — | — | — | `renderCard` documented (§ `renderCard`) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
77
+ | **dashboard** (`.`) | `StatCard`: `unit`, `breakdown`, delta format (§ `StatCard`) | `StatGroup`, `WidgetGrid`, query-aware `StatCard` — additive | — | **the column law keys on the CONTAINER; `cols={4}` is 2-up at `sm`** (§ Dashboard) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | card inset 12/16, `kpi` 22 / 500 (§ 2.16.0) | — | — | StatCard status dot, Meter/BarList refinements (§ 2.19.0) | — | plain `Meter` value bar fill muted (`tone="ink"` to opt out); `BarList` default `thin`, `variant="default"` → `inline` (§ 2.21.0) | — |
78
+ | **toolchain** (`./configs/*`) | — | — | the shipped lefthook preset's `check-theme` BROKE — the CLI resolver stopped ascending (§ CLI) | the preset's default bin, and the `root:` recipe (§ Toolchain) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
79
+ | **CLI** (`basalt-ui`) | — | — | **resolver stops relocating; `doctor` loses 6 of 10 checks** (§ CLI) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | the managed block moves `CLAUDE.md` → `AGENTS.md` (§ 1.41.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `doctor`: CSS + forced dropped subpaths, `oxlint-floor`, Start wiring (§ 2.8.0) | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
80
+ | **guards** | five rules → `error` (§ Guards) | six new ids at `warn` (§ preamble) | `query-dual-import` retired in 1.29.1 (§ Guards) | four rules → `error` (§ Guards) | — | — | — | `raw-breakpoint`: the container-grid answer, `error` at 1.33.0 (§ 1.32.0) | `FormRow`/`FormGroup` homes in both lanes; `basalt-main` dropped (§ Fixes) | C1 + breakpoint pairs → `error`; `unknown-vx-token` `warn` (§ Guards) | — | — | — | `unknown-vx-token` → `error`; the token factories throw (§ Guards) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | `inline-spacing` steps, `card-inset` accepts both pairs (§ 2.16.0) | — | — | — | — | `series-palette` at `warn` (§ 2.21.0) | — |
81
81
 
82
82
  ---
83
83
 
@@ -1046,6 +1046,285 @@ The `basalt-ui/router-tanstack` subpath is **removed** in 2.x, not moved: an imp
1046
1046
  _Nothing yet. Author the next section under this heading as `## Unreleased — <title>`; the
1047
1047
  release renames it and opens a new one here._
1048
1048
 
1049
+ ## 2.21.0 — strip cell state, one Retry, and the marker reading
1050
+
1051
+ ### One Retry in the shared error anatomy
1052
+
1053
+ **Changed:** `ErrorState`'s Retry (and so `StatCard`'s) is now a plain button shared with `ChartCard`
1054
+ and the strip cell error, styled from the same tokens as the Mantine `size="xs" variant="default"`
1055
+ Button it replaces (panel fill, `shadow-raised`, control radius, 30px). A refetch in flight now
1056
+ disables it and sets `aria-busy` instead of showing Mantine's loader overlay. **Opt out:** render
1057
+ your own Mantine `Button` through `ErrorState`'s `action` and omit `onRetry`.
1058
+
1059
+ New, additive: `ChartCard` takes `onRetry` and `retrying`. An errored `state` then shows that same
1060
+ Retry under the message, before `stateAction` (which stays for other actions). Without `onRetry`
1061
+ nothing changes, so a consumer passing its own Retry through `stateAction` keeps it — drop it for
1062
+ `onRetry` to match `StatCard`.
1063
+
1064
+ ### `StatGroup variant="strip"` cells take `state`
1065
+
1066
+ New, additive: a cell's `state` is `{ kind: 'empty', reason? }` or `{ kind: 'error', error?, onRetry?,
1067
+ retrying? }`. Empty shows `—` in the value position plus the muted reason; error shows the compact
1068
+ error anatomy (status dot, `Failed`, the message, Retry). Either replaces the cell's hero, `visual`,
1069
+ `rows` and `footer`; the caption stays and `loading` wins while pending. Before, both read as `—`
1070
+ with a footer note.
1071
+
1072
+ ### A zoned `Meter` names each zone under its own span
1073
+
1074
+ **Changed default:** zone names were left-aligned at their band start and wrapped into a list when two
1075
+ touched. They now sit centred on their zone's span in one label row; a name wider than its span (or
1076
+ clashing with a tick) hides instead of wrapping, and every zone stays named in the accessible
1077
+ description. Labelled `ticks` on a zoned `Meter` join that row at the track's ends instead of floating
1078
+ above the track, so the Meter has at most one caption line below. A plain tick `Meter` is unchanged
1079
+ except that two colliding tick captions now hide the later one instead of wrapping to a list.
1080
+ An end tick yields to the holding zone's name; the holding name never hides for width. **Opt out:** none for the placement; render a legend yourself from the same zones if you need every
1081
+ name visible at any width.
1082
+
1083
+ ### `MeterZone` takes a `short` label
1084
+
1085
+ New, additive: `{ from, to, label, short? }`. A zone name too wide for its span now falls back to
1086
+ `short` before it hides; the holding zone keeps its full `label`, and the described-by text still
1087
+ names every zone in full. Without `short` nothing changes. **Opt out:** omit `short`.
1088
+
1089
+ ### A zoned `Meter` in a hero host no longer prints the reading at its marker
1090
+
1091
+ **Changed default:** a `Meter` with `zones` inside a `StatCard` `sparkline` slot or a strip cell's
1092
+ `visual` drew the reading at the marker beside a hero showing the same number. Those hosts now
1093
+ suppress it; the track, marker and zone labels stay, and a standalone `Meter` is unchanged.
1094
+ **Opt out:** render the reading yourself where you want it (the value is in the Meter's `aria-valuetext`),
1095
+ or place the `Meter` outside those two slots.
1096
+
1097
+ ### `Meter`: the non-verdict fill is now muted
1098
+
1099
+ **Changed default:** plain `value` bars only (no `segments`, no `zones`, no `color`, no `tone`);
1100
+ `segments` (incl. forecast) and `zones` keep today's fills. A bar `Meter` with no `color` used to
1101
+ draw the full ink fill (`--vx-line`), near-white in dark. With no `color` and no `tone` it now draws
1102
+ `tone="muted"` (`--vx-muted` at a strength that holds 3:1 against the track in both schemes).
1103
+ Verdict colours (`color`, status tones) are unchanged; the ring is unchanged. Opt out: `tone="ink"`.
1104
+
1105
+ ### `BarList`: the thin track is the default
1106
+
1107
+ **Changed default:** `variant` is now `'thin' | 'inline'`, default `'thin'`
1108
+ (label on its own line above a thin bar, value right-aligned). The old default look is
1109
+ `variant="inline"`. The `'default'` literal is gone, so `variant="default"` is a type error: replace
1110
+ it with `variant="inline"` to keep the heavy label-in-track slabs, or delete the prop to take thin.
1111
+ `variant="thin"` is now redundant and still valid. The root now always carries `data-variant`
1112
+ (`thin` or `inline`) — it was absent on the old default, so `[data-variant]`-absent selectors must
1113
+ become `[data-variant='inline']`.
1114
+
1115
+ ### New guard kind `series-palette` (ships `warn`)
1116
+
1117
+ `check-theme` now judges the series module (`basalt.seriesModulePath`, default
1118
+ `<root>/lib/series.ts`) — the file the line scan exempts. Each `defineSeries({...})` call is one
1119
+ ordered categorical group; each scheme is measured against its own surface (the derive engine's
1120
+ default `surface.panel`; a consumer's `derive` overrides are not read). One finding per failed
1121
+ check, naming the key(s), scheme, measured number and threshold:
1122
+
1123
+ | Check | Threshold |
1124
+ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
1125
+ | OKLCH lightness | light 0.43–0.77, dark 0.58–0.88 |
1126
+ | OKLCH chroma | ≥ 0.10 per categorical series |
1127
+ | Adjacent series under protanopia / deuteranopia (Machado 2009, severity 1.0) | OKLab ΔE×100 ≥ 8 |
1128
+ | Worst pair in the group, normal vision | OKLab ΔE×100 ≥ 15 |
1129
+ | Contrast against the surface | ≥ 3:1 |
1130
+ | Group size / repeats | ≤ 8 series (a 9th folds into `other`), no repeated colour |
1131
+ | Value format | #rgb or #rrggbb only; anything else is reported and left out of that scheme's other checks |
1132
+
1133
+ Only literal `{ light: '#hex', dark: '#hex' }` entries are read. A deliberately neutral series is
1134
+ keyed `other`: it skips the chroma floor and nothing else. The kind is a grace kind — `warn` from
1135
+ 2.21.0, `error` from 2.23.0 — so the upgrade stays green; the fix is to retune the hex in the series
1136
+ file, not to waive anything.
1137
+
1138
+ **Opt-out:** `"basalt": { "severity": { "series-palette": "warn" } }` keeps it a warning past
1139
+ 2.23.0, `"basalt": { "exemptRules": { "series-palette": ["<series file>"] } }` silences it for the
1140
+ file. The guard now has 27 kinds.
1141
+
1142
+ ### `StatGroup variant="strip"` cells align by part
1143
+
1144
+ **Changed:** strip cells no longer stretch to the row's tallest cell with the footer pinned to the
1145
+ bottom. Each cell spans the same five tracks of the grid (caption, value, visual, rows, footer), so
1146
+ captions and values line up across a row, and a void opens only where a sibling's same part is
1147
+ taller. Footers line up for `rows` cells (the shared footer track) and for visuals of equal height;
1148
+ a `footer` under a `visual` (and no `rows`) rides with that visual and sits one gap under it, so a
1149
+ taller sibling's visual never pushes it down or shows as a void (S3's oldest-wait Meter read 46 %
1150
+ empty beside a tall fleet legend). A cell without a visual keeps its `rows` and `footer` directly
1151
+ under its value, so a short cell ("verdicts 78 %") stays compact. The strip's hairlines are outer
1152
+ box-shadows (borders in forced-colors mode), so every cell has the same `stack-md` top inset. No new
1153
+ prop, no opt-out for the alignment, and no per-cell `align`.
1154
+
1155
+ ### `Button` section insets sit on the spacing scale
1156
+
1157
+ **Changed:** a `Button` with a `leftSection` / `rightSection` padded that side by Mantine's
1158
+ `--button-padding-x / 1.5` (5.33 / 10.67 / 13.33 / 21.33 px by size), off the 4px scale. The section
1159
+ side now takes the nearest stack step at level 0: xs 8, sm 12, md 12, lg 16, xl 24, `ctl` 8;
1160
+ compact-xs/sm 4, compact-md/lg 8, compact-xl 12 (density-scaled). The side without a section is
1161
+ unchanged.
1162
+
1163
+ **Opt out:** set `--button-section-padding-x` on the Button (`vars` or `style`) — e.g.
1164
+ `calc(var(--button-padding-x) / 1.5)` restores Mantine's value.
1165
+
1166
+ ## 2.20.0 — the sparkline reference and readout
1167
+
1168
+ **`Sparkline` now answers hover and keyboard focus.** A pointer over the cell, or arrow keys /
1169
+ Home / End on the focused chart, show the point's value in one quiet in-cell line (Escape or blur
1170
+ clears it) and mark the point with a dot. It was inert before. Value text comes from the new
1171
+ `format` prop (default: the compact number format), the x text from the new `labels` array
1172
+ (index-aligned with `data`). **Opt out** by putting the sparkline under an `aria-hidden` ancestor,
1173
+ which disables the readout.
1174
+
1175
+ New, additive: `reference={n | 'mean'}` draws a dashed `--vx-line` hairline and widens the y domain
1176
+ to include it (`'mean'` is over the plotted values).
1177
+
1178
+ ### `Meter` captions share one size, and gains `ticks`, `tone`, `size`
1179
+
1180
+ **Changed default:** the `Meter` empty line ("No data") was `--vx-text-sm`; every Meter caption
1181
+ (reading, target, forecast, part, zone and tick names, the empty line) now reads one token,
1182
+ `--basalt-meter-caption`, defaulting to `--vx-text-micro`. **Opt out** (or follow the host text) per
1183
+ Meter: `style={{ '--basalt-meter-caption': 'var(--vx-text-sm)' }}`, or `1em` to inherit the host size.
1184
+ The target tick now also carries a 1px track-coloured halo, and at `target === max` sits inside the
1185
+ track end instead of straddling it.
1186
+
1187
+ New, additive: `ticks={[{ at, label? }]}` (several marks; out-of-range ticks are dropped, not
1188
+ clamped), `tone="muted"` (a non-verdict fill, 3:1 against the track in both schemes), `size="row"`
1189
+ (one text line tall, no caption rows), and root types `MeterSegment`, `MeterZone`, `MeterTick`.
1190
+
1191
+ ### `relativeTime` honours the format locale
1192
+
1193
+ `relativeTime` (and `SyncButton`, which calls it with no locale) now falls back to the
1194
+ `defineFormat` / `BasaltProvider` `locale`, like `numberFormat` and `dateFormat` always did. Before,
1195
+ it fell back to the runtime's own locale, so an `en-GB` app on a German system read "vor 4 Tagen".
1196
+ The fix is in `relativeTime`'s formatter only: `duration` and the date builders already resolved the default, and no other `Intl.RelativeTimeFormat` exists in `src`.
1197
+
1198
+ **Opt-out:** pass `locale` per call, or leave `defineFormat` / the provider `locale` unset to keep
1199
+ the runtime locale. argo can drop its `APP_LOCALE` wrapper around `relativeTime`.
1200
+
1201
+ ### Proportional numerals (`StatCard`, `WidgetHeader`, `DeltaBadge`, `BarList`, `Meter`)
1202
+
1203
+ Hero values, row labels and body text are now the proportional sans with lining figures; mono is
1204
+ for captions, times and code only (`docs/DESIGN-CORE.md`). Before, every numeral rendered in
1205
+ JetBrains Mono.
1206
+
1207
+ - **What changed:** `StatCard` / `WidgetHeader` hero value, unit and count chip, `StatCard`
1208
+ breakdown values, `DeltaBadge`, `BarList` value and secondary, and `Meter` ring value, captions
1209
+ and zone labels now read `font-family: var(--basalt-font-numeral, var(--basalt-font-sans))` with
1210
+ `font-variant-numeric: lining-nums`. Sizes, weights and letter-spacing are unchanged. Headings
1211
+ (`h1`–`h6`, `.mantine-Title-root`) drop the face's slashed zero (`font-feature-settings: 'zero' 0`).
1212
+ - **Unchanged:** uppercase captions, qualifiers, the group-tier heading and times stay mono;
1213
+ `src/table/**`, `[data-numeric]` controls and axis ticks keep tabular figures.
1214
+ - **Opt out (old mono heroes):** one declaration restores every site above:
1215
+
1216
+ ```css
1217
+ :root {
1218
+ --basalt-font-numeral: var(--basalt-font-mono);
1219
+ }
1220
+ ```
1221
+
1222
+ Heading zeros: `h1, h2, h3, h4, h5, h6, .mantine-Title-root { font-feature-settings: normal; }`
1223
+ (needs to out-rank `@layer basalt` — declare it unlayered).
1224
+
1225
+ ### `<Card>` and `<Paper>` default to the 12/16 inset
1226
+
1227
+ The theme now sets the inset itself — `--vx-space-card-inset-y` 12 / `-x` 16, density-scaled — on
1228
+ every `Card` and `Paper`. Before, a bare `<Card>` got Mantine's 16 px all round and a bare
1229
+ `<Paper>` got 0, so both missed the law and consumers wrote `py="sm" px="md"` on every card.
1230
+
1231
+ | You wrote | Before | Now |
1232
+ | ------------------------------ | ------------ | ------------------------------------------------------------- |
1233
+ | `<Card>` | 16 all round | 12 / 16 |
1234
+ | `<Paper>` | 0 | 12 / 16 |
1235
+ | `<Card py="sm" px="md">` | 12 / 16 | 12 / 16 — and `basalt/card-inset` flags the pair as redundant |
1236
+ | `<Card padding={0}>` / `p={0}` | flush | flush, flagged: use `variant="flush"` |
1237
+
1238
+ - **Delete** every `py="sm" px="md"` on a `Card` or `Paper`.
1239
+ - **Flush whole card** (a map, an image, a table that owns its own padding): `variant="flush"` on
1240
+ `Card` or `Paper`. **Full-bleed region inside a padded card**: `<Card.Section>`, whose negative
1241
+ margins now cancel the 12/16 pair rather than one `--card-padding`.
1242
+ - **Opt out of the theme inset for one card**: an explicit padding with
1243
+ `{/* theme-allow card-inset — <why> */}`. A Card `padding` prop still works (it retargets the same
1244
+ pair), and `p`/`py`/`px` style props win as inline styles.
1245
+ - A `Paper` you relied on being padding-free (a bare wrapper, a custom overlay) now has 12/16:
1246
+ add `variant="flush"`. Mantine's own `Modal`, `Drawer`, `Dialog`, `ActionBar` and `FloatingWindow`
1247
+ are excluded and gain nothing.
1248
+ - `basalt/card-inset` stays at `warn` (grace → 2.26.0); the redundant pair is a new finding, so a
1249
+ codebase that was clean last release will report until the pairs are deleted.
1250
+
1251
+ ### `DeltaBadge` `period` composes "vs <period>"
1252
+
1253
+ `period` (and `deltaPeriod` on `StatCard`, `WidgetHeader`, `Section`) now renders `vs <period>`: `period="MoM"` reads "vs MoM" where it read "MoM". A period that already starts with the prefix is left alone, so a caller passing `"vs last week"` still renders "vs last week", not "vs vs last week". **Opt out** with `periodPrefix=""` on `DeltaBadge` (renders the period raw), or pass your locale's word (`periodPrefix="gegenüber"`). A period that is not a comparison (`"30d"`, a change over a window) now reads wrongly ("vs 30d"): pass `periodPrefix=""` on `DeltaBadge` itself, or reword it through the card props (`"30 days ago"`). Drop the hand-written "vs " at your leisure.
1254
+
1255
+ ### Chrome: on-scale Button padding, neutral selected nav row, neutral error state
1256
+
1257
+ **Button inline padding is on the spacing scale.** Every size reads `--vx-space-stack-*` steps
1258
+ (density-scaled) instead of Mantine's 14/18/22/26/32 px and compact 7/8/10/12/14 px: `xs` 12, `sm` 16,
1259
+ `md` 20, `lg` 24, `xl` 32; `compact-xs`/`-sm` 8, `compact-md`/`-lg` 12, `compact-xl` 16 (at density 0).
1260
+ Heights are unchanged, and `size="ctl"` keeps its own 10 px inset. **Opt out** per component with
1261
+ `<Button styles={{ root: { '--button-padding-x': 'var(--button-padding-x-<size>)' } }}>`, using the
1262
+ matching Mantine size var (`--button-padding-x-xs`, `-compact-xs`, …), or globally by overriding
1263
+ `Button.vars` in your theme.
1264
+
1265
+ **The selected nav row is a neutral ink fill, not an accent tint.** `NavLink[data-active]` paints
1266
+ ink 10 % (14 % on hover) with the existing weight 600; the accent stays on the active icon, focus and
1267
+ the filled primary. **Opt out** with a consumer class on the row that sets `background-color`
1268
+ (consumer classes win over the theme module).
1269
+
1270
+ **Errors render as a dot, a word, the message and a retry.** `ErrorState` (and so `QueryState`
1271
+ and `StatCard` error bodies) no longer renders a red-tinted Mantine `Alert`; it is a neutral
1272
+ `role="alert"` stack led by a `StatusDot` and the title. `ChartCard`'s error body gets the same idiom
1273
+ (dot, "Error", the message, Retry); the compact sparkline `—` is unchanged. **Opt out** by rendering your own
1274
+ `<Alert color="red" variant="light">` in the `error` slot of the surface (or a custom `ErrorState`
1275
+ wrapper).
1276
+
1277
+ Also fixed (no action): a hovered `Tab` now shows an ink-5 % fill in dark as in light.
1278
+
1279
+ ### Facts at rest, strip captions, tick fonts
1280
+
1281
+ **Changed default:** `ChartCard` `facts` show only at rest; while `state` is pending, errored or empty
1282
+ the header keeps its title row alone (the figure above a skeleton contradicted it). **Opt out:** none;
1283
+ pass the figure as `info`/`subtitle` text if a loading card must still state it.
1284
+
1285
+ **Changed default:** the lowercase `qualifier` of a `StatCard` and a `StatGroup` strip cell is the muted
1286
+ proportional sans (mono stays on the UPPERCASE caption), and a strip cell's `· ` separator is gone. The
1287
+ caption and its info glyph are one unit (the caption truncates with a `title`; the qualifier wraps
1288
+ whole below it). Chart axis ticks (the chart host's font) are the proportional sans with `tabular-nums`, not mono.
1289
+ **Opt out:** set `--basalt-chart-font: var(--basalt-font-mono)` on the chart or an ancestor.
1290
+
1291
+ `Meter` captions wrap with `text-wrap: pretty` and join a number and a known unit (`24 h`, `7 d`, `5 min`, `40 %`)
1292
+ with a no-break space, so `textContent` carries U+00A0 there; its visually-hidden summary now reads the caption
1293
+ size instead of the inherited body size.
1294
+
1295
+ ### Round-2 board fixes: sparkline readout, chart error, tick size, captions, thin rows, verdict word
1296
+
1297
+ **Changed default — `Sparkline` readout.** The hover/focus chip is opaque and sits on a line ABOVE the plot
1298
+ box (it sat inside it and covered the line's last segment, a bar or the end dot). The `StatCard` `right`
1299
+ slot and a strip cell's `visual` now reserve that line (`--basalt-spark-readout-h`, 18px) as padding above
1300
+ a sparkline, so the card/cell grows by up to 18px and the chip never covers the hero value; `bleed` already
1301
+ had the room. **No opt-out for the position:** a chip inside the plot has to cover some mark. Resize the
1302
+ line with `--basalt-spark-readout-h` (chip and reserve move together); the readout itself is off under an
1303
+ `aria-hidden` ancestor.
1304
+
1305
+ **Changed default — chart error body.** A `ChartCard` (or any chart) error is StatCard's anatomy: a
1306
+ left-aligned stack of dot, "Could not load this chart", the message and `stateAction`; it was a centred
1307
+ "Error" word. The body now grows past the chart's height rather than clip its action. **No opt-out:** the
1308
+ old body clipped Retry at 390px, so there is no layout worth restoring; pass your own `state` copy via the
1309
+ error's message.
1310
+
1311
+ **Changed default — tick size.** Chart tick labels (every kind, `Heatmap` included) are `--vx-text-micro`
1312
+ at every container width; they were the 10px nano rung below 480px. **No opt-out:** one size is the law.
1313
+
1314
+ **Changed default — `Meter` captions.** They wrap with `text-wrap: balance`, and the last two words of a
1315
+ caption `Meter` composes are joined by a no-break space when the last is 6 characters or fewer
1316
+ (`textContent` carries U+00A0 there). **Opt out:** pass a node to `startCaption`/`endCaption` (a node is never
1317
+ glued).
1318
+
1319
+ **Changed default — `BarList variant="thin"`.** The label wraps to two lines before truncating (its `title`
1320
+ has the whole text) and the secondary column takes at most 40% of the list. **No opt-out:** the old width
1321
+ cut titles to a few characters at 390px.
1322
+
1323
+ **Changed default — `StatusVerdict` word.** It is the proportional sans (`--basalt-font-sans`) at the micro
1324
+ size in muted ink, not the mono: it is a sentence fragment, not an UPPERCASE caption. This reaches the
1325
+ `StatCard` tone word, `BarList` secondaries that use it, and the notification centre. **Opt out:** pass
1326
+ `className` with `font-family: var(--basalt-font-mono)`.
1327
+
1049
1328
  ## 2.19.0 — the status dot, ink buttons and Meter refinements
1050
1329
 
1051
1330
  ### Status is a dot and a word, not an edge stripe (`StatCard`, `Callout`, notification centre)
@@ -7,6 +7,8 @@ model: inherit
7
7
 
8
8
  You score a rendered UI. You did not build it. Do not read the app's source to excuse a defect: judge only what the shots show.
9
9
 
10
+ **Honesty rule.** You are valid only as an isolated subagent that did not write this UI. If you are the builder (the session that wrote or restyled it scores its own shots inline), your output's FIRST line is `DEGRADED: inline review by the builder`, and the run cannot pass: every verdict is `fail`.
11
+
10
12
  ## Input
11
13
 
12
14
  A shot out dir (default `.basalt/shots`, or the `out` in `.basalt/shots/last.json`):
@@ -14,9 +16,10 @@ A shot out dir (default `.basalt/shots`, or the `out` in `.basalt/shots/last.jso
14
16
  - `board.html` — every crop, labelled by component, scheme, viewport and state.
15
17
  - `metrics.json` — per anchor: `padding`, `gap`, `radius` (px, or `"full"` for a fully rounded box such as a `50%` circle or pill), `nested`, `fontSizes`, `emptyRatio`, `contrast`, `sheet`; `scale` (the theme's resolved spacing, radius and font-size steps) and `scaleError`; `shots[]` with each file's `status`.
16
18
  - `png/*.png` — the crops, images you can see. Each anchor has a contact sheet (`sheet`: one image holding that anchor's crop for every state × scheme × viewport, each labelled, with the status text where a crop does not exist) and each route a full-page shot (`_page`). Score every anchor in both schemes and both viewports.
19
+ - `detect.json`, only if the out dir has one (`basalt-ui shot detect`): the deterministic findings for the [measured] items and `basalt/*` lint. Cite each at its own severity as `metrics.json <anchor>`, do not re-derive them, and map the rule to its item: `craft-N/*` → Craft N, `lint/*` → its rubric item, Craft 4 by default.
17
20
  - A layout-suite result, only if the out dir has one.
18
21
 
19
- A shot with status `not-declared` or `skipped` (mobile hover and tooltip: touch has no hover, by design) is not a defect. A missing hover, focus or tooltip crop for an anchor that has such a target is (Craft 7).
22
+ A shot with status `not-declared`, `absent` (the anchor declares itself missing in that state) or `skipped` (mobile hover and tooltip: touch has no hover, by design) is not a defect. A missing hover, focus or tooltip crop for an anchor that has such a target is (Craft 7).
20
23
 
21
24
  ## Fail closed
22
25
 
@@ -42,7 +45,7 @@ Score per component, then add one line per page for the page items (Communicatio
42
45
 
43
46
  ### Expression
44
47
 
45
- 1. Name the data's shape and the encoding used; both must match a row of the encoding table (the catalogue) in the `/basalt-design` skill.
48
+ 1. Name the data's shape and the encoding used; both must match a row of the catalogue at `.claude/skills/basalt-design/references/catalogue.md`.
46
49
  2. Every visual answers the question its caption names; a decorative visual fails.
47
50
  3. A hue appears only for a trend, a status or a category; a single metric is neutral. A delta is text in its trend colour with a direction glyph and no fill: a fill or a badge on a delta fails here and Craft 4. A status drawn as a coloured leading-edge stripe fails here too: it is decoration, where the dot and the word carry the verdict in shape and text.
48
51
  4. A number with a target shows the target; a number with a history shows it; a whole with parts shows the parts.
@@ -70,14 +73,28 @@ Fail any of these on sight, in any language the app ships:
70
73
  - "Loading…" text where a skeleton belongs; "Click here"; exclamation marks; emoji in chrome.
71
74
  - Units spelled out at length in a dense surface ("kilometres") where the unit symbol reads.
72
75
 
76
+ ## Severity
77
+
78
+ P0 and P1 fail the component; P2 and P3 are noted on their line and do not.
79
+
80
+ - **P0** broken or unreadable: a contrast failure, an `error` shot, a fail-closed run (no `metrics.json`, no anchors).
81
+ - **P1** a rubric item fails (including `unverified`).
82
+ - **P2** degraded but legible: contrast judged on an assumed backdrop, a banned phrase in a secondary label.
83
+ - **P3** polish: a measured value a rounding off a step, a one-word wording slip.
84
+
73
85
  ## Output
74
86
 
75
- Strict. Nothing before the table, no praise, no summary, no code rewrites. Name the defect, not the fix.
87
+ Strict. Nothing before the table (but the `DEGRADED` line when it applies), no praise, no summary, no code rewrites. Name the defect, not the fix. Order every list **content** → **layout** → **style** (what the surface says, where it sits, how it looks):
88
+
89
+ - **content**: Communication 1–4 and 6, Expression 1, 2 and 4, Craft 5 (text contrast).
90
+ - **layout**: Craft 1, 3, 6 and 7, Communication 5, Expression 5.
91
+ - **style**: Craft 2 and 4, Expression 3.
76
92
 
77
93
  1. A table, one row per component: `| component | verdict | failed items |` — `pass` or `fail`; failed items like `Craft 3, Communication 1`, or `—`. Add one `page` line per route for the page items.
78
94
  Under it, one line per component: `Read: <sheet file>, <page shot files>, <any single crops opened>`.
79
- 2. Then, for EVERY failure, one line:
80
- `<axis> <n> — <png file> (<scheme>, <viewport>, <state>) — <defect in one sentence>`
95
+ 2. Then, for EVERY failure, one line, content first:
96
+ `<P0-P3> <axis> <n> — <png file> (<scheme>, <viewport>, <state>) — <defect in one sentence>`
81
97
  A [measured] item cites `metrics.json <anchor>` instead of a PNG; an `unverified` item names the missing input.
98
+ 3. Last line: `Score: <0-100>` = 100 − (25 per P0 + 10 per P1 + 3 per P2 + 1 per P3), floored at 0 — the same score `basalt-ui shot detect` computes. A `DEGRADED` run scores 0.
82
99
 
83
100
  A failure you cannot cite from a crop or from `metrics.json` is not a failure.
@@ -33,5 +33,5 @@ Every cartesian chart is `CartesianChart` or a kind built on it; props are in th
33
33
 
34
34
  - `@visx/*` is banned. [basalt/chart-engine-boundary]
35
35
  - Import engine marks only from `@tanstack/charts/{line,area,area-x,bar,rect,rule,dot,tick,text,vector,link,arrow,difference,stack,scales/*,transform/*,mark/decorative,d3/shape,types}`; the bare root and `@tanstack/charts/react` are errors. [basalt/chart-engine-boundary]
36
- - Wrap a chart kind in `ChartCard`, never a raw `Card` or `Paper`. [basalt/chart-in-raw-surface]
36
+ - Wrap a chart kind in `ChartCard`, never a raw `Card` or `Paper`; its headline figure and period go in `facts`, not a filler `subtitle`. [basalt/chart-in-raw-surface] [type ChartCardProps]
37
37
  - Series colors are `{ light, dark }` pairs from the app's series file (`defineSeries`); write no hex or `rgba()` in a chart file. [check-theme raw-hex] [check-theme raw-color-fn]
@@ -32,7 +32,7 @@ paths:
32
32
  ## Surfaces
33
33
 
34
34
  - Never pass `withBorder` to `Card` or `Paper`; the theme draws the ring (`<Card.Section withBorder>` is fine). [check-theme card-with-border]
35
- - Card/Paper insets are `py="sm" px="md"` with the theme radius; no explicit `p`, `padding` or `radius`. [basalt/card-inset]
35
+ - The theme owns the Card/Paper inset (12/16) and radius: write no `p`, `padding`, `py`, `px` or `radius`, not even `py="sm" px="md"`. Flush is `variant="flush"` (whole card) or `<Card.Section>` (a full-bleed region). [basalt/card-inset]
36
36
  - Lay out with `Box`/`Flex`/`Grid`/`Stack`/`Group`, not a `<div>` with `style`. [check-theme raw-html-layout] [check-theme hidden-inline-style]
37
37
  - No inline `display: flex|grid`; no inline spacing; spacing props take `xs..xl`. [check-theme inline-display] [check-theme inline-spacing] [check-theme raw-spacing]
38
38
  - Inputs come from `@mantine/core`, never `<input>`, `<select>` or `<textarea>`. [check-theme raw-form-control]
@@ -7,7 +7,7 @@ paths:
7
7
 
8
8
  <!-- basalt:coverage -->
9
9
  <!-- GENERATED from src/surfaces.ts — `bun scripts/check-coverage.ts --write`. Do not hand-edit. -->
10
- <!-- backed by: guard kinds — css-raw-surface, inline-font-size, off-identity-accent, off-system-surface-var, raw-color-fn, raw-font-family, raw-hex, raw-radius, raw-surface, surface-shadow-override, theme-allow-unscoped, unknown-vx-token · oxlint rules — basalt/no-raw-font-size, basalt/raw-size-literal -->
10
+ <!-- backed by: guard kinds — css-raw-surface, inline-font-size, off-identity-accent, off-system-surface-var, raw-color-fn, raw-font-family, raw-hex, raw-radius, raw-surface, series-palette, surface-shadow-override, theme-allow-unscoped, unknown-vx-token · oxlint rules — basalt/no-raw-font-size, basalt/raw-size-literal -->
11
11
  <!-- not guarded: — -->
12
12
  <!-- /basalt:coverage -->
13
13
 
@@ -24,7 +24,7 @@ Every value is a `VX.*` reference or a theme prop; the palette is derived, never
24
24
  - Never read a raw ramp var (`--mantine-color-gray-N`); use `VX.surface.*`. [check-theme off-system-surface-var]
25
25
  - Fill a control with `VX.accentFill` labelled `VX.onAccent`, never `VX.accent` (that is ink). [type VX]
26
26
  - Name only `--vx-*` vars that basalt emits. [check-theme unknown-vx-token]
27
- - Series color is app data: `defineSeries` → `seriesTokens`/`groupTokens`, each entry a `{ light, dark }` pair, in one file that `check-theme` exempts. [type defineSeries]
27
+ - Series color is app data: `defineSeries` → `seriesTokens`/`groupTokens`, each entry a `{ light, dark }` pair, in one file that `check-theme` exempts from the hex scan but judges for lightness, chroma, CVD separation and contrast. [type defineSeries] [check-theme series-palette]
28
28
  - `groupTokens` returns the group to pass to `buildPaletteCss` or `BasaltProvider` `paletteOptions`; never retype its key. [type groupTokens]
29
29
 
30
30
  ## Surfaces, radius, depth
@@ -74,7 +74,7 @@ const columns = [
74
74
  col.accessor('revenue', {
75
75
  header: 'Revenue',
76
76
  sortFn: 'basic', // v9 `sortFn`, not v8 `sortingFn`
77
- meta: { align: 'right' }, // numbers are mono-numeral by default; `numeral: false` opts out
77
+ meta: { align: 'right' }, // table number columns are mono-numeral by default (Wave 37 revisits the table face); `numeral: false` opts out
78
78
  cell: (c) => money(c.getValue(), { currency: 'USD' }),
79
79
  }),
80
80
  ]