basalt-ui 2.20.0 → 2.22.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 (289) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/MIGRATING.md +394 -12
  3. package/agent/agents/basalt-design-reviewer.md +22 -5
  4. package/agent/rules/basalt-tokens.md +3 -3
  5. package/agent/skills/basalt-design/SKILL.md +10 -23
  6. package/agent/skills/basalt-design/references/anti-defaults.md +24 -0
  7. package/agent/skills/basalt-design/references/catalogue.md +49 -0
  8. package/agent/skills/basalt-design/references/concept.md +36 -0
  9. package/agent/skills/basalt-design/references/encoding-rules.md +45 -0
  10. package/agent/skills/basalt-design/references/stat-tile.md +24 -0
  11. package/agent/templates/AGENTS-block.md.tpl +3 -3
  12. package/configs/oxlint-plugin.js +1 -0
  13. package/dist/charts/BandStrip.d.ts.map +1 -1
  14. package/dist/charts/BandStrip.js +27 -3
  15. package/dist/charts/Bars.d.ts.map +1 -1
  16. package/dist/charts/Bars.js +5 -0
  17. package/dist/charts/CartesianChart.d.ts +8 -0
  18. package/dist/charts/CartesianChart.d.ts.map +1 -1
  19. package/dist/charts/CartesianChart.js +8 -5
  20. package/dist/charts/ChartCard.d.ts +17 -4
  21. package/dist/charts/ChartCard.d.ts.map +1 -1
  22. package/dist/charts/ChartCard.js +33 -8
  23. package/dist/charts/DualPanel.d.ts.map +1 -1
  24. package/dist/charts/DualPanel.js +5 -8
  25. package/dist/charts/Heatmap.d.ts +12 -1
  26. package/dist/charts/Heatmap.d.ts.map +1 -1
  27. package/dist/charts/Heatmap.js +34 -5
  28. package/dist/charts/Lines.d.ts +3 -0
  29. package/dist/charts/Lines.d.ts.map +1 -1
  30. package/dist/charts/Lines.js +29 -6
  31. package/dist/charts/MirroredBars.d.ts.map +1 -1
  32. package/dist/charts/MirroredBars.js +4 -6
  33. package/dist/charts/Sparkline.d.ts +7 -1
  34. package/dist/charts/Sparkline.d.ts.map +1 -1
  35. package/dist/charts/Sparkline.js +39 -14
  36. package/dist/charts/StackedArea.d.ts +4 -1
  37. package/dist/charts/StackedArea.d.ts.map +1 -1
  38. package/dist/charts/StackedArea.js +9 -3
  39. package/dist/charts/band-fold.d.ts +20 -1
  40. package/dist/charts/band-fold.d.ts.map +1 -1
  41. package/dist/charts/band-fold.js +9 -0
  42. package/dist/charts/chart-box.module.css +19 -0
  43. package/dist/charts/chart-card.module.css +25 -0
  44. package/dist/charts/chart-legend.module.css +7 -0
  45. package/dist/charts/compile.d.ts +17 -6
  46. package/dist/charts/compile.d.ts.map +1 -1
  47. package/dist/charts/compile.js +145 -74
  48. package/dist/charts/labels.d.ts +15 -4
  49. package/dist/charts/labels.d.ts.map +1 -1
  50. package/dist/charts/labels.js +34 -10
  51. package/dist/charts/legend.d.ts +2 -0
  52. package/dist/charts/legend.d.ts.map +1 -1
  53. package/dist/charts/legend.js +7 -21
  54. package/dist/charts/marks.js +1 -1
  55. package/dist/charts/panel.d.ts +0 -6
  56. package/dist/charts/panel.d.ts.map +1 -1
  57. package/dist/charts/panel.js +1 -10
  58. package/dist/charts/ref-label.d.ts +26 -0
  59. package/dist/charts/ref-label.d.ts.map +1 -0
  60. package/dist/charts/ref-label.js +63 -0
  61. package/dist/charts/scales.d.ts +4 -1
  62. package/dist/charts/scales.d.ts.map +1 -1
  63. package/dist/charts/scales.js +14 -3
  64. package/dist/charts/sparkline.module.css +10 -11
  65. package/dist/charts/sparkline.module.css.d.ts +1 -2
  66. package/dist/charts/state.d.ts +7 -0
  67. package/dist/charts/state.d.ts.map +1 -1
  68. package/dist/charts/state.js +4 -1
  69. package/dist/charts/types.d.ts +14 -5
  70. package/dist/charts/types.d.ts.map +1 -1
  71. package/dist/cli/check-theme.d.ts.map +1 -1
  72. package/dist/cli/check-theme.js +3 -0
  73. package/dist/cli/doctor-upgrade.d.ts +1 -0
  74. package/dist/cli/doctor-upgrade.d.ts.map +1 -1
  75. package/dist/cli/doctor-upgrade.js +1 -0
  76. package/dist/cli/help.d.ts.map +1 -1
  77. package/dist/cli/help.js +3 -2
  78. package/dist/cli/index.d.ts +4 -2
  79. package/dist/cli/index.d.ts.map +1 -1
  80. package/dist/cli/index.js +27 -15
  81. package/dist/cli/init.d.ts +2 -0
  82. package/dist/cli/init.d.ts.map +1 -1
  83. package/dist/cli/init.js +71 -6
  84. package/dist/cli/shot/capture.d.ts +21 -2
  85. package/dist/cli/shot/capture.d.ts.map +1 -1
  86. package/dist/cli/shot/capture.js +200 -33
  87. package/dist/cli/shot/detect.d.ts +51 -0
  88. package/dist/cli/shot/detect.d.ts.map +1 -0
  89. package/dist/cli/shot/detect.js +409 -0
  90. package/dist/cli/shot/index.d.ts.map +1 -1
  91. package/dist/cli/shot/index.js +7 -4
  92. package/dist/cli/shot/measure.d.ts +2 -0
  93. package/dist/cli/shot/measure.d.ts.map +1 -1
  94. package/dist/cli/shot/measure.js +2 -0
  95. package/dist/cli/shot/playwright.d.ts +5 -2
  96. package/dist/cli/shot/playwright.d.ts.map +1 -1
  97. package/dist/cli/shot/types.d.ts +6 -1
  98. package/dist/cli/shot/types.d.ts.map +1 -1
  99. package/dist/cli/shot/types.js +4 -0
  100. package/dist/cli/sync.d.ts +2 -0
  101. package/dist/cli/sync.d.ts.map +1 -1
  102. package/dist/cli/sync.js +2 -2
  103. package/dist/common/retry-button.d.ts +12 -0
  104. package/dist/common/retry-button.d.ts.map +1 -0
  105. package/dist/common/retry-button.js +22 -0
  106. package/dist/common/retry-button.module.css +58 -0
  107. package/dist/common/retry-button.module.css.d.ts +8 -0
  108. package/dist/controls/controls.module.css +11 -1
  109. package/dist/controls/filter-pill.d.ts.map +1 -1
  110. package/dist/controls/filter-pill.js +1 -0
  111. package/dist/controls/sync-button.d.ts.map +1 -1
  112. package/dist/controls/sync-button.js +22 -3
  113. package/dist/controls/sync-button.module.css +34 -2
  114. package/dist/controls/sync-button.module.css.d.ts +1 -0
  115. package/dist/dashboard/bar-list.d.ts +5 -2
  116. package/dist/dashboard/bar-list.d.ts.map +1 -1
  117. package/dist/dashboard/bar-list.js +9 -10
  118. package/dist/dashboard/bar-list.module.css +53 -0
  119. package/dist/dashboard/bar-list.module.css.d.ts +1 -0
  120. package/dist/dashboard/index.d.ts +1 -0
  121. package/dist/dashboard/index.d.ts.map +1 -1
  122. package/dist/dashboard/index.js +2 -0
  123. package/dist/dashboard/meter-model.d.ts +108 -6
  124. package/dist/dashboard/meter-model.d.ts.map +1 -1
  125. package/dist/dashboard/meter-model.js +123 -19
  126. package/dist/dashboard/meter-parts.d.ts +8 -0
  127. package/dist/dashboard/meter-parts.d.ts.map +1 -1
  128. package/dist/dashboard/meter-parts.js +345 -146
  129. package/dist/dashboard/meter.d.ts +50 -63
  130. package/dist/dashboard/meter.d.ts.map +1 -1
  131. package/dist/dashboard/meter.js +24 -3
  132. package/dist/dashboard/meter.module.css +79 -65
  133. package/dist/dashboard/meter.module.css.d.ts +7 -7
  134. package/dist/dashboard/page-summary.d.ts +20 -0
  135. package/dist/dashboard/page-summary.d.ts.map +1 -0
  136. package/dist/dashboard/page-summary.js +28 -0
  137. package/dist/dashboard/page-summary.module.css +89 -0
  138. package/dist/dashboard/page-summary.module.css.d.ts +15 -0
  139. package/dist/dashboard/query-state.d.ts +1 -1
  140. package/dist/dashboard/query-state.d.ts.map +1 -1
  141. package/dist/dashboard/query-state.js +3 -2
  142. package/dist/dashboard/section.d.ts +25 -2
  143. package/dist/dashboard/section.d.ts.map +1 -1
  144. package/dist/dashboard/section.js +10 -5
  145. package/dist/dashboard/section.module.css +23 -0
  146. package/dist/dashboard/section.module.css.d.ts +1 -0
  147. package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
  148. package/dist/dashboard/stat-card-parts.js +1 -1
  149. package/dist/dashboard/stat-card.d.ts +4 -2
  150. package/dist/dashboard/stat-card.d.ts.map +1 -1
  151. package/dist/dashboard/stat-card.js +7 -4
  152. package/dist/dashboard/stat-card.module.css +17 -0
  153. package/dist/dashboard/stat-strip.d.ts +24 -1
  154. package/dist/dashboard/stat-strip.d.ts.map +1 -1
  155. package/dist/dashboard/stat-strip.js +97 -39
  156. package/dist/dashboard/stat-strip.module.css +147 -17
  157. package/dist/dashboard/stat-strip.module.css.d.ts +8 -0
  158. package/dist/dashboard/visual-slot.d.ts +8 -0
  159. package/dist/dashboard/visual-slot.d.ts.map +1 -0
  160. package/dist/dashboard/visual-slot.js +7 -0
  161. package/dist/guard/index.d.ts +15 -2
  162. package/dist/guard/index.d.ts.map +1 -1
  163. package/dist/guard/index.js +14 -0
  164. package/dist/guard/palette.d.ts +51 -0
  165. package/dist/guard/palette.d.ts.map +1 -0
  166. package/dist/guard/palette.js +190 -0
  167. package/dist/guard/series-file.d.ts +15 -0
  168. package/dist/guard/series-file.d.ts.map +1 -0
  169. package/dist/guard/series-file.js +29 -0
  170. package/dist/guard/types.d.ts +3 -3
  171. package/dist/guard/types.d.ts.map +1 -1
  172. package/dist/guard/vx-names.d.ts.map +1 -1
  173. package/dist/guard/vx-names.js +2 -0
  174. package/dist/index.d.ts +1 -1
  175. package/dist/index.d.ts.map +1 -1
  176. package/dist/index.js +3 -1
  177. package/dist/styles.css +34 -2
  178. package/dist/surfaces.d.ts +1 -1
  179. package/dist/surfaces.d.ts.map +1 -1
  180. package/dist/surfaces.js +2 -0
  181. package/dist/theme/chrome-vars.d.ts +20 -5
  182. package/dist/theme/chrome-vars.d.ts.map +1 -1
  183. package/dist/theme/chrome-vars.js +46 -3
  184. package/dist/theme/controls.module.css +33 -0
  185. package/dist/theme/controls.module.css.d.ts +1 -0
  186. package/dist/theme/index.d.ts.map +1 -1
  187. package/dist/theme/index.js +11 -5
  188. package/dist/tokens/core.d.ts +2 -1
  189. package/dist/tokens/core.d.ts.map +1 -1
  190. package/dist/tokens/core.js +6 -1
  191. package/dist/tokens/derive.d.ts +3 -1
  192. package/dist/tokens/derive.d.ts.map +1 -1
  193. package/dist/tokens/derive.js +16 -1
  194. package/dist/tokens/oklab.d.ts +28 -0
  195. package/dist/tokens/oklab.d.ts.map +1 -0
  196. package/dist/tokens/oklab.js +73 -0
  197. package/dist/tokens/palette.d.ts +4 -0
  198. package/dist/tokens/palette.d.ts.map +1 -1
  199. package/dist/tokens/palette.js +4 -0
  200. package/dist/tokens/status-text.d.ts.map +1 -1
  201. package/dist/tokens/status-text.js +3 -1
  202. package/llms.txt +43 -23
  203. package/package.json +1 -1
  204. package/src/charts/BandStrip.tsx +33 -3
  205. package/src/charts/Bars.tsx +6 -0
  206. package/src/charts/CartesianChart.tsx +16 -3
  207. package/src/charts/ChartCard.tsx +43 -7
  208. package/src/charts/DualPanel.tsx +3 -6
  209. package/src/charts/Heatmap.tsx +54 -5
  210. package/src/charts/Lines.tsx +56 -10
  211. package/src/charts/MirroredBars.tsx +3 -5
  212. package/src/charts/Sparkline.tsx +50 -13
  213. package/src/charts/StackedArea.tsx +14 -4
  214. package/src/charts/band-fold.ts +31 -1
  215. package/src/charts/chart-box.module.css +19 -0
  216. package/src/charts/chart-card.module.css +25 -0
  217. package/src/charts/chart-legend.module.css +7 -0
  218. package/src/charts/compile.ts +210 -85
  219. package/src/charts/labels.ts +48 -14
  220. package/src/charts/legend.tsx +10 -20
  221. package/src/charts/marks.ts +1 -1
  222. package/src/charts/panel.tsx +1 -16
  223. package/src/charts/ref-label.ts +104 -0
  224. package/src/charts/scales.ts +22 -2
  225. package/src/charts/sparkline.module.css +10 -11
  226. package/src/charts/sparkline.module.css.d.ts +1 -2
  227. package/src/charts/state.tsx +12 -1
  228. package/src/charts/types.ts +14 -5
  229. package/src/cli/check-theme.ts +3 -0
  230. package/src/cli/doctor-upgrade.ts +1 -1
  231. package/src/cli/help.ts +18 -1
  232. package/src/cli/index.ts +48 -17
  233. package/src/cli/init.ts +102 -4
  234. package/src/cli/shot/capture.ts +266 -34
  235. package/src/cli/shot/detect.ts +550 -0
  236. package/src/cli/shot/index.ts +8 -4
  237. package/src/cli/shot/measure.ts +4 -0
  238. package/src/cli/shot/playwright.ts +2 -2
  239. package/src/cli/shot/types.ts +8 -1
  240. package/src/cli/sync.ts +4 -2
  241. package/src/common/retry-button.module.css +58 -0
  242. package/src/common/retry-button.module.css.d.ts +8 -0
  243. package/src/common/retry-button.tsx +29 -0
  244. package/src/controls/controls.module.css +11 -1
  245. package/src/controls/filter-pill.tsx +2 -0
  246. package/src/controls/sync-button.module.css +34 -2
  247. package/src/controls/sync-button.module.css.d.ts +1 -0
  248. package/src/controls/sync-button.tsx +40 -4
  249. package/src/dashboard/bar-list.module.css +53 -0
  250. package/src/dashboard/bar-list.module.css.d.ts +1 -0
  251. package/src/dashboard/bar-list.tsx +88 -76
  252. package/src/dashboard/index.ts +1 -0
  253. package/src/dashboard/meter-model.ts +265 -28
  254. package/src/dashboard/meter-parts.tsx +424 -163
  255. package/src/dashboard/meter.module.css +79 -65
  256. package/src/dashboard/meter.module.css.d.ts +7 -7
  257. package/src/dashboard/meter.tsx +77 -17
  258. package/src/dashboard/page-summary.module.css +89 -0
  259. package/src/dashboard/page-summary.module.css.d.ts +15 -0
  260. package/src/dashboard/page-summary.tsx +95 -0
  261. package/src/dashboard/query-state.tsx +4 -7
  262. package/src/dashboard/section.module.css +23 -0
  263. package/src/dashboard/section.module.css.d.ts +1 -0
  264. package/src/dashboard/section.tsx +59 -11
  265. package/src/dashboard/stat-card-parts.tsx +5 -1
  266. package/src/dashboard/stat-card.module.css +17 -0
  267. package/src/dashboard/stat-card.tsx +14 -5
  268. package/src/dashboard/stat-strip.module.css +147 -17
  269. package/src/dashboard/stat-strip.module.css.d.ts +8 -0
  270. package/src/dashboard/stat-strip.tsx +182 -56
  271. package/src/dashboard/visual-slot.ts +17 -0
  272. package/src/guard/index.ts +16 -4
  273. package/src/guard/palette.ts +261 -0
  274. package/src/guard/series-file.ts +51 -0
  275. package/src/guard/types.ts +3 -2
  276. package/src/guard/vx-names.ts +2 -0
  277. package/src/index.ts +2 -0
  278. package/src/styles.css +34 -2
  279. package/src/surfaces.ts +2 -0
  280. package/src/theme/__snapshots__/plain-theme.test.ts.snap +220 -60
  281. package/src/theme/chrome-vars.ts +77 -8
  282. package/src/theme/controls.module.css +33 -0
  283. package/src/theme/controls.module.css.d.ts +1 -0
  284. package/src/theme/index.ts +18 -5
  285. package/src/tokens/core.ts +4 -1
  286. package/src/tokens/derive.ts +32 -3
  287. package/src/tokens/oklab.ts +97 -0
  288. package/src/tokens/palette.ts +4 -0
  289. package/src/tokens/status-text.ts +2 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,75 @@
1
+ # [2.22.0](https://github.com/jkrumm/basalt-ui/compare/v2.21.0...v2.22.0) (2026-10-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * address review round 1 on PageSummary and Section ([13f92e8](https://github.com/jkrumm/basalt-ui/commit/13f92e8fda655720f1a25718c42a3346853593ec))
7
+ * apply the Meter gap step only between a tick and a label ([4503cfe](https://github.com/jkrumm/basalt-ui/commit/4503cfeec62d8a738ada9c7b1a3476eba9c0ecd8))
8
+ * cap the BarList label column and frame every state ([43f7dc6](https://github.com/jkrumm/basalt-ui/commit/43f7dc66bfd9826a7ed9d9084f045c725c5114ef))
9
+ * chart chrome review round 1 ([3b3b869](https://github.com/jkrumm/basalt-ui/commit/3b3b869fa121185d654f41c43bbb28b04fc061e1))
10
+ * frame restores the chrome when it throws after hiding it ([c825c35](https://github.com/jkrumm/basalt-ui/commit/c825c3596c55e57eed17719e2fec9d6502575267))
11
+ * hidden rest anchors fail, chrome hiding spares only open popups ([b497af1](https://github.com/jkrumm/basalt-ui/commit/b497af1331e90516b9a093fe15382879afdf9511))
12
+ * let a Meter end tick yield to a zone name and re-measure captions ([8c40451](https://github.com/jkrumm/basalt-ui/commit/8c4045130eef1bf78f423f1e6e5692493fcf0d52))
13
+ * pin tooltip header tests to the runtime's own Intl output ([6b44e7e](https://github.com/jkrumm/basalt-ui/commit/6b44e7ec17582f9e56145027a53b5854d4bb955a))
14
+ * reset the zero feature at the root instead of per head-face selector ([e0ef952](https://github.com/jkrumm/basalt-ui/commit/e0ef952080d0996008e4fa90a796b1ef688887a9))
15
+ * restore MIGRATING's tail and follow the head-face rule list ([f3fe9c0](https://github.com/jkrumm/basalt-ui/commit/f3fe9c0e35fe0fbb9a810fed3f0b888acbb69c4a))
16
+ * reviewer note limits absent to pointer states and declared absence ([c923661](https://github.com/jkrumm/basalt-ui/commit/c923661fa743985008b9c060e2bba5bc96332117))
17
+ * scope the badge dot, solve row-surface contrast, narrow the zero reset ([6a1843a](https://github.com/jkrumm/basalt-ui/commit/6a1843a2fa089640c4290c67a443f63996808009))
18
+
19
+
20
+ ### Features
21
+
22
+ * a strip cell's tone colours the Meter in its visual ([fa1ff95](https://github.com/jkrumm/basalt-ui/commit/fa1ff95645dae2633aa3d6e88d1c66981fa12ecf))
23
+ * add Meter reading switch, muted zones, stops and ring ticks ([a1cd367](https://github.com/jkrumm/basalt-ui/commit/a1cd367e3d51383dc5052b65c1d7f40b7b94ffa2))
24
+ * chart facts, sparklines and strips gain tone, glyph and focus ([9b41136](https://github.com/jkrumm/basalt-ui/commit/9b41136c9d5e4ea72943647be56888bc351d5dec))
25
+ * chart tooltips, ticks and reference labels read cleanly ([d7c6b49](https://github.com/jkrumm/basalt-ui/commit/d7c6b4904900aef679daab3dc9b89f28fd4f876e))
26
+ * export PageSummary, untitled Section and page-bar fixes ([1cf8719](https://github.com/jkrumm/basalt-ui/commit/1cf8719fa180d4e1254e6a1a41c99ec89e1f53ef))
27
+ * glyph defaults, panel ink and one readout layer on chart cards ([3b49967](https://github.com/jkrumm/basalt-ui/commit/3b499677a47282dc154a694f10851e2810afea81))
28
+ * keep a BarList name beside its value in a wide card ([d25833b](https://github.com/jkrumm/basalt-ui/commit/d25833b9838fabfaa1ca6569ea15dfcbd4db9d2c))
29
+ * neutral tab pill, row surfaces and data-text numerals ([67e2994](https://github.com/jkrumm/basalt-ui/commit/67e299437801399618c921e9747c2cd874e09085))
30
+ * pin strip footer kinds and the qualifier guarantee ([97462b2](https://github.com/jkrumm/basalt-ui/commit/97462b2c2b147efe93728e1f98336119a2a832d6))
31
+ * shot captures tall anchors and init wires a stock Vite app ([e2d8d23](https://github.com/jkrumm/basalt-ui/commit/e2d8d2382a453f7a69b8a53c1b915ba09cb0f733))
32
+ * strip cells stay compact; stat cards keep their states tidy ([f7d78e3](https://github.com/jkrumm/basalt-ui/commit/f7d78e3f9c6ea877ad39e47c431d2956cd76dcdd))
33
+
34
+ # [2.21.0](https://github.com/jkrumm/basalt-ui/compare/v2.20.0...v2.21.0) (2026-10-18)
35
+
36
+
37
+ ### Bug Fixes
38
+
39
+ * clip the Meter label row so a hidden name cannot overflow ([48c1174](https://github.com/jkrumm/basalt-ui/commit/48c117452412d4e5f870e5d964512ab65ff062e7))
40
+ * correct basalt-design import paths and resolve only public entries ([4901a14](https://github.com/jkrumm/basalt-ui/commit/4901a148cb5ecaa15704fcd7f9856278d6ac225d))
41
+ * cover strip states and footer, align the first cell, drop the opt-out ([eaa6dbe](https://github.com/jkrumm/basalt-ui/commit/eaa6dbe2f17af0a3d876d5935125dc0c1e330b89))
42
+ * derive the tracked skill files from the shipped skills tree ([ea4b3db](https://github.com/jkrumm/basalt-ui/commit/ea4b3dbdaaa813e19e52bbb12c0e3ed85ecd3cf8))
43
+ * draw strip dividers as borders in forced colors ([5842e63](https://github.com/jkrumm/basalt-ui/commit/5842e6347226037659ff2ca299cb786926d1ffc4))
44
+ * harden shot detect history, I/O errors and severity exit ([f85a10e](https://github.com/jkrumm/basalt-ui/commit/f85a10e35165907e13ec41c2b9220bf82c882b83))
45
+ * keep series-palette off the guard hook path and test its routing ([c2d10aa](https://github.com/jkrumm/basalt-ui/commit/c2d10aa1ed130f8693c1f3f28bdbb13846d73310))
46
+ * keep the blocked reason and one-line titles on the S3 stuck list ([fd5da9f](https://github.com/jkrumm/basalt-ui/commit/fd5da9ffd30253631dafc8d3fd9efac69e59b75f))
47
+ * keep the holding Meter zone name and pin label sets per width ([5fef7ff](https://github.com/jkrumm/basalt-ui/commit/5fef7ffd68230e42cf1087e01512189217b4b0d8))
48
+ * level the first strip cell with padding, keep the divider rule ([9a5049f](https://github.com/jkrumm/basalt-ui/commit/9a5049f847351c49807f46bbacffcfc188d3dc77))
49
+ * name the button section var like Mantine's own ([cd9f821](https://github.com/jkrumm/basalt-ui/commit/cd9f821736126d1e9f794bc38d691f31b3c407dd))
50
+ * put button section insets on the spacing scale ([a67e246](https://github.com/jkrumm/basalt-ui/commit/a67e2461263c7949350020feaa939bdcd57c940a))
51
+ * review round 1 on strip state, Retry paint and the hosted marker ([8b42a9e](https://github.com/jkrumm/basalt-ui/commit/8b42a9e3d02a70a09b9f2866f03d205238a5a42c))
52
+ * scope the muted Meter default to plain value bars ([e49b713](https://github.com/jkrumm/basalt-ui/commit/e49b7139c3e934d1165a64ae1613e0cf3466adf0))
53
+ * skip disabled controls in the shot contrast measure ([ab28344](https://github.com/jkrumm/basalt-ui/commit/ab2834459280a2357d27d3731667b5dc773412ba))
54
+ * split the buttons specimen into one anchor per size row ([c8a15d0](https://github.com/jkrumm/basalt-ui/commit/c8a15d0082d3144d9db0d1be7fa804dd4aa9a49d))
55
+ * strip cells align their rows instead of stretching to a void ([dd30822](https://github.com/jkrumm/basalt-ui/commit/dd30822c7363bcdb099b4ac844ee49228248472b))
56
+ * strip cells keep on-scale insets and no stretched void ([6a7e7fe](https://github.com/jkrumm/basalt-ui/commit/6a7e7fe86bdbfd92771d33b5b4450c3affe2393b))
57
+ * update zone name layout tests for the holding-name priority ([b0b5043](https://github.com/jkrumm/basalt-ui/commit/b0b504368248e094c01ff9fc8ca85064b427627f))
58
+
59
+
60
+ ### Features
61
+
62
+ * basalt-design as a router with concept and decision references ([5699f58](https://github.com/jkrumm/basalt-ui/commit/5699f588cb3322d5e38c2ffa66e95a686c33e8e4))
63
+ * center Meter zone labels under their spans with inline end ticks ([136af57](https://github.com/jkrumm/basalt-ui/commit/136af57a22f1444fbe914ef8d69ab1a4db783b69))
64
+ * harden skill reference placement and cover it end to end ([9e5ab89](https://github.com/jkrumm/basalt-ui/commit/9e5ab89d8ae925d355bc0f58d3de5df26caf1c88))
65
+ * let Meter zones take a short label before a name hides ([faa67b6](https://github.com/jkrumm/basalt-ui/commit/faa67b6ad1298ca8cd0eff417d8474207e720d9c))
66
+ * muted Meter fill and thin BarList rows by default ([428a015](https://github.com/jkrumm/basalt-ui/commit/428a0154978f5ab1792343faf1fd4bdff3f95ee6))
67
+ * register the shared Retry in the shadow-surface registry ([80fefe2](https://github.com/jkrumm/basalt-ui/commit/80fefe260b036a64b516771684f23d414be1440b))
68
+ * series-palette guard computes the series file's palette ([b508eaa](https://github.com/jkrumm/basalt-ui/commit/b508eaabddec8ec1623b4f0022eb3dd18b1a13c7))
69
+ * ship skill reference files through init and sync ([2b012c5](https://github.com/jkrumm/basalt-ui/commit/2b012c551ccfdafba28b68715aba70de10ffbb4d))
70
+ * shot detect, the deterministic second review pass ([716f74b](https://github.com/jkrumm/basalt-ui/commit/716f74bce59dd7cff7dc3ee5d02ecfa2bdf0141f))
71
+ * strip cell state and one Retry in the shared error anatomy ([f5eb252](https://github.com/jkrumm/basalt-ui/commit/f5eb252641fbb6e4a32b20e73c0c69a10ebe10ef))
72
+
1
73
  # [2.20.0](https://github.com/jkrumm/basalt-ui/compare/v2.19.0...v2.20.0) (2026-10-17)
2
74
 
3
75
 
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 | 2.20.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 | 2.22.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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `Lines` linear curve, `naming`, no lone-series legend, locale tooltip header, y gutter, `RefLine.labelPosition`, `StackedArea.fillOpacity` (§ Chart chrome) | — |
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,388 @@ 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.22.0 — Wave 37, argo's friction II
1050
+
1051
+ No export is removed. Five defaults move and one export is new.
1052
+
1053
+ ### `PageSummary` (new export)
1054
+
1055
+ `import { PageSummary } from 'basalt-ui'` — the SPEC § 6.9 page-summary recipe: `sentence` (must carry
1056
+ a live number), `facts` (`null`/`false` drop; sans `xs` muted, `·` separators that never lead a wrapped
1057
+ line), `aside`, and `loading` for a same-shape skeleton. argo's `components/upstream/page-summary.tsx`
1058
+ is deleted in favour of it; its `facts` were mono, they are sans now (D33) — a fact that is a time may
1059
+ wrap itself in `<span style={{ fontFamily: 'var(--basalt-font-mono)' }}>`.
1060
+
1061
+ ### Behaviour changes
1062
+
1063
+ | Surface | Before | Now | Opt-out |
1064
+ | ------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
1065
+ | `Section` with `tabs` and no `title` | `title` was required, so a tabs-only switch carried a restated heading | `title` is optional when `tabs` is given: no heading, no fold, the header row is the tabs; a `ViewTabs` names its own tablist, so the section adds no second name (pass `aria-label` for tabs that are not self-naming); `count`, `info`, `subtitle`, `icon` and the hero metric are type errors | pass a `title` |
1066
+ | `Section` `group` tier heading | `micro` (11) | `xs` (12), the step the rows' meta already use: three sizes where argo counted four | none; the rank still reads from case, face and tracking |
1067
+ | `SyncButton scope="page"` below `sm` | icon only | icon plus a short locale-narrow age (`2m`, `2 Min.`, `now`), one line, content-width; no age → the square icon as before | omit `lastCompletedAt` |
1068
+ | Filter pill (`PageBar filters`) | clipped at `15rem` | fits its selected option up to `24rem`, then truncates with the full name as `title` | none |
1069
+ | `ViewTabs` phone `Select` | 10.67 px inline-start inset | the `ctl` inset (10 px), the buttons' | none |
1070
+
1071
+ The sticky-PageBar anchor clearance argo filed (`--vx-space-sticky-header-clearance` 12 px vs a 36 px
1072
+ bar) needs no change: a shell-less `Section id` already adds the bar's published height
1073
+ (`--basalt-page-bar-h`), and in `BasaltShell` both bars sit outside the scrollport. `section-anchor`
1074
+ now pins the title, not just the root, at 390 and 1440.
1075
+
1076
+ ### Chart facts, sparklines and strips gain tone, glyph and focus
1077
+
1078
+ New, additive: `ChartFact` takes `tone` (`good` / `warn` / `bad` / `muted`: ink only, never a fill)
1079
+ and `period` takes a list, joined by `·`; `ChartCard` takes `stale` (the facts dim to the strip
1080
+ cell's 0.55 while placeholder data shows) and `stateNoun` (an errored card reads "Could not load
1081
+ {stateNoun}"); `Sparkline` takes `tone="muted"` and `referenceLabel`; a state of `BandStrip` or
1082
+ `Heatmap` takes `glyph` (drawn centred in each of its cells wide enough for it, 12px); a `Heatmap`
1083
+ state takes `tone` (`good` / `warn` / `bad` / `neutral`) instead of a `color`. A categorical status grid is therefore `states` + `getState` with a
1084
+ `tone` per state, nothing read from `dist`.
1085
+
1086
+ **Changed defaults:**
1087
+
1088
+ - A failed `ChartCard` / `ChartPlaceholder` used to read "Could not load this chart"; it now reads
1089
+ "Could not load". **Opt out:** `stateNoun="this chart"` on the card restores the old words.
1090
+ - The `Sparkline` readout reads the value, then the day (`3 items · 12 Oct`, the label in the
1091
+ proportional sans, no longer mono and first), and rides the hovered point instead of sitting
1092
+ at the opposite corner. **Opt out:** none for the placement.
1093
+ - A line `Sparkline`'s plot has a 3px margin so its end marker clears the keyboard focus outline;
1094
+ the line is 6px shorter in each axis. **Opt out:** none.
1095
+ - A `BandStrip` or `Heatmap` state whose `color` is `VX.status.warn` / `VX.status.bad` (or whose
1096
+ `tone` is `warn` / `bad`) now draws `!` / `×` in its cells wide enough for it, in the panel
1097
+ surface ink. **Opt out:** `glyph: ''` on the state.
1098
+ - A `Heatmap` tooltip opens below the hovered cell (above only when there is no room), so it no
1099
+ longer covers the caption row over the grid. **Opt out:** none.
1100
+
1101
+ ### Chart chrome: tooltips, ticks, reference captions and the `Lines` defaults
1102
+
1103
+ Wave 37, the cartesian half. Every change below is a default; the opt-out is named in each line.
1104
+
1105
+ - **`Lines` and `Bars` line overlays default to `curve: 'linear'`.** Discrete daily or monthly values
1106
+ are joined by straight segments; the smoothed curve drew crossings between points that never
1107
+ happened. **Opt out:** `curve: 'monotone'` on the series (a continuous measure). `StackedArea` and
1108
+ `Sparkline` are unchanged.
1109
+ - **A single-series chart draws no legend.** The title, the axis and the tooltip name it.
1110
+ **Opt out:** `legend={{}}` (any explicit `legend` config draws it).
1111
+ - **`Lines` takes `naming?: 'auto' | 'legend' | 'endLabels'`.** `auto` (default): from the wide class
1112
+ a chart of up to three lines and no `y2` names them with end labels and its legend is hidden; below
1113
+ wide the legend names them and no end label draws. A chart whose legend names more than its lines (a
1114
+ `y2`, a legend-named `refLines` entry, a `role: 'reference'` series) keeps the legend at every width
1115
+ and draws no end labels, as does one whose last point a narrower `xDomain` clips. From the wide class
1116
+ the legend's series toggle is gone with the legend. Two end labels that collide are now spread apart
1117
+ instead of both dropped. **Opt out:** `naming="legend"` for the old always-legend chart (toggle kept); `naming="endLabels"` for end labels
1118
+ at every width and no legend.
1119
+ - **The tooltip header reads the page locale and drops a clock time a daily bucket never had.** It
1120
+ was `Mon Sep 1 2026` (a fixed US order) and printed `22:00` for a bucket keyed by a local midnight
1121
+ east of UTC. A day-granular x (every step at least a day) is now the date only — weekday, day, month,
1122
+ year through `Intl` in the locale `BasaltProvider`/`defineFormat` set, on the nearest UTC day; a
1123
+ sub-day x adds `HH:MM`. **Opt out:** `tooltip.formatHeader`.
1124
+ - **A lone series whose formatted value already ends in its own name prints the name once**
1125
+ (`Sessions` / `27 sessions` is `Sessions` / `27`). **Opt out:** `tooltip.rows` for a custom row, or a
1126
+ `formatValue` that omits the unit.
1127
+ - **The tooltip name column never wraps.** It keeps a 6rem floor, stays on one line and ends in an
1128
+ ellipsis past 14rem; the value stays right-aligned. No prop; the full name is in the tooltip's
1129
+ accessible label.
1130
+ - **Y tick labels always sit in a gutter outside the plot.** The compact-and-short mode that drew them
1131
+ inside the plot, above their grid line, is gone (a line ran through the label). The plot is
1132
+ correspondingly narrower on a chart under 180 px tall at the compact width. **Opt out:** none.
1133
+ - **An auto y domain ends on a tick at or above the data's maximum.** The padded top could fall
1134
+ between ticks, so the line peaked above the last label (`4` as the top tick for a series reaching
1135
+ `5`); the domain now rises to the next tick. **Opt out:** `y.domain` as a tuple or function, or
1136
+ `y.nice`.
1137
+ - **Ticks and the legend share one size step** (the 11 px tick step, `VX.text.micro`); the legend was
1138
+ 12 px. `VX.legendFontSize` is deleted (nothing else read it): use `VX.text.micro`. A bar legend swatch is one rounded
1139
+ square at every width (it was a circle below 480 px).
1140
+ - **`Bars` hover highlights the bar** (the hovered x paints at full series strength) and paints no
1141
+ crosshair rule; the rule is line-chart chrome. **Opt out:** none.
1142
+
1143
+ New, additive:
1144
+
1145
+ - **`RefLine.labelPosition`:** `'end-above' | 'end-below' | 'start-above' | 'start-below'` pins the
1146
+ caption's spot. Without it the caption takes the first spot (the plot's end above the line; the
1147
+ start for a right-axis line) that stays inside the plot and that no data line runs through, so a
1148
+ line in the top or bottom quarter, or one a series ends on, moves its caption instead of sitting on
1149
+ the data. **Opt out:** pin the old spot with `'end-above'`.
1150
+ - **`StackedArea` `fillOpacity`:** every band's opacity, 0–1; a band's own `fillOpacity` wins. The
1151
+ default (0.85) and the legend swatch are unchanged without it.
1152
+
1153
+ ### `Meter`: the reading once, muted zones, stops, ring ticks, captions at their marks
1154
+
1155
+ New, additive (a `Meter` that passes none of them draws as before):
1156
+
1157
+ - `reading={false}` — a zoned bar prints no reading at its marker (the marker keeps its
1158
+ `aria-valuenow` / `aria-valuetext`). Inside a basalt host (`StatCard` slot, strip `visual`) it was
1159
+ already dropped; pass `reading` there to print it. Use it when your own headline states the value.
1160
+ - `track={false}` — a `value` bar with no `target` and no `ticks` draws no track (still `role="meter"`).
1161
+ - `tone: 'muted'` on a `MeterZone` or `MeterSegment` — a muted lightness ramp instead of the line ramp.
1162
+ - `shape="ring"` takes `target` and `ticks`: a short radial mark at the value, listed in the
1163
+ described-by text; the value stays centred.
1164
+ - `stops: { at, color }[]` on a `value` bar — one gradient track through your colours with the reading
1165
+ as a marker; no labels unless `ticks` are given.
1166
+ - A plain bar or ring with no `tone` / `color` takes its host's verdict tone once a host passes one.
1167
+
1168
+ Changed behaviour (no API change):
1169
+
1170
+ - **Captions sit at their marks.** The forecast caption and the target caption are centred on their
1171
+ tick (clamped inside the track) instead of at the track end, whenever every caption fits a gap step
1172
+ apart; otherwise the row flows and wraps as before. **Opt out:** pass your own `endCaption` (it stays
1173
+ at the end as written); the forecast caption has no opt-out beyond `forecastCaption`.
1174
+ - **Ticks keep a gap step from zone names, and the end tick yields.** A tick on the zone row now keeps at
1175
+ least `--vx-space-control-gap` from every label (it was "not touching"); zone names among themselves
1176
+ keep the old rule. A zone name
1177
+ that clears the holding one is placed before a tick at the track's start or end, so that end tick
1178
+ hides where it would touch the name (a zone name used to lose to it); interior labelled ticks still
1179
+ beat a name. A hidden name or tick stays in the described-by text. **Opt out:** none; give the zone a
1180
+ `short` label.
1181
+ - **The uncoloured zone ramp is floored at 15 points per step**, so five or more zones step further
1182
+ apart than before (cap 95 %); `tone: 'muted'` uses the same ramp. Up to six zones (five segments)
1183
+ stay distinguishable by lightness.
1184
+ - **`size="row"` keeps categorical part captions** (swatch, name, value); it dropped them before, so
1185
+ the parts were unnamed. **Opt out:** none for `segments`; a `value` bar is unaffected.
1186
+ - **Part captions never wrap inside themselves** while they fit: each sits under its own segment when
1187
+ all of them fit there, else the wrapped list (a caption wider than the row still wraps).
1188
+
1189
+ ### Strip cells end at their content (`StatGroup variant="strip"`)
1190
+
1191
+ **Changed:** each strip cell now spans only the shared tracks down to its last part, so a cell's own
1192
+ box (`[data-strip-cell]`, `data-shot="strip-<key>"`) ends at its content instead of filling the row
1193
+ height. Captions still share one top and values one baseline across a row; a footer under a hero
1194
+ alone now has its own track right under the hero (it hugs the value, and sibling footers share one
1195
+ top); a rows cell's footer keeps the shared footer track. The vertical dividers moved from the cell
1196
+ to a row-high `[data-strip-slot]` wrapper, so they still run the full row and the area under a short
1197
+ cell is the strip's own surface. The cell's foot inset moved to the slot with them. `stale` dims the cell content only; the dividers on
1198
+ the wrapper stay at full strength.
1199
+ **Affects you if** you selected `[data-strip-cell]` for its height or its box-shadow, or painted a
1200
+ background on it. **Opt out:** none needed for markup; a custom rule that needs the old full-row
1201
+ cell can target `[data-strip-slot]` instead (it is the row-high box). No per-cell `align="stretch"`
1202
+ was added: no consumer case needs it.
1203
+
1204
+ A strip footer-row entry that is a `Meter` now keeps its start and end captions together
1205
+ (`Today €5 €5 left of €10`) instead of at the two ends of a wide track.
1206
+
1207
+ New, additive: `StatStripCell.action` (a control at the end of the caption line; the caption
1208
+ truncates first, so it never wraps the line), and `StatStripRow.hideValue` (print the row label
1209
+ only, for a reading the hero already shows; `value` is ignored).
1210
+
1211
+ ### A cell's `tone` colours its visual
1212
+
1213
+ A strip cell's `tone` (and `StatCard`'s) now also reaches a plain `Meter` in its `visual` / sparkline
1214
+ slot as the fill's verdict colour, not just the value. **Opt out:** give the `Meter` its own `tone` or
1215
+ `color`.
1216
+
1217
+ ### `StatCard` states
1218
+
1219
+ **Changed:** in the `empty` and `error` states the `subtitle` footer is no longer drawn (it captioned
1220
+ a sparkline that is not there). The default error title is `Could not load` (was
1221
+ `Could not load this figure`) so the error line stays on one line in a two-column phone card. A
1222
+ `qualifier` in a card narrower than 240px (a two-column phone cell) no longer wraps under the caption:
1223
+ it truncates, with the full text in its `title`, so the value keeps its row neighbours' line. That
1224
+ is the whole guarantee: in a card of 240px or more a long qualifier still wraps and moves the value
1225
+ down a line (measured: 10px at a 304px card). **Opt out:** put the
1226
+ text in `info` or `subtitle` instead of `qualifier`; for the error title, render `ErrorState` yourself.
1227
+
1228
+ ### `BarList` in a wide container
1229
+
1230
+ A thin `BarList` in a container 480px or wider now lays each row out as `[label][value][secondary][track]`:
1231
+ the label column fits the longest label (capped at 40% or 14rem, truncating with its `title`), value and secondary
1232
+ are right-aligned and shared by every row, and the bar track takes the remaining width on the one shared
1233
+ scale. Compact containers keep the stacked layout. Every state (list, loading, empty) is now a `div`
1234
+ frame around the list, and `className` / `style` land on that frame. The frame is a size container
1235
+ named `basalt-card` (the only names the theme guard permits) with `inline-size: 100%`: it shadows an
1236
+ enclosing card's container for the list's descendants only, and the 480px threshold measures the list's
1237
+ own width. Opt-out: `variant="inline"` is unchanged; to keep the stacked
1238
+ thin layout in a wide card, constrain the list's width below 480px.
1239
+
1240
+ ### `basalt-ui shot` captures tall anchors and keeps chrome off crops; `init` wires a stock Vite app
1241
+
1242
+ **Changed:** an anchor that is not rendered at a viewport (a hidden mobile pane, `display: none`) now
1243
+ fails in under 5 s with the reason, where it used to wait out a 30 s Playwright timeout: a hover,
1244
+ focus or tooltip shot is recorded `absent`, a `rest` shot stays an `error` unless the anchor
1245
+ declares `data-shot-absent="rest"`. A hung step costs 5 s, never 30. Crops of an anchor hide the shell's fixed and
1246
+ sticky chrome (PageBar, mobile bottom nav) for the shot, and an anchor taller than the viewport is
1247
+ captured whole (the viewport grows for that shot). The `_page` shot grows the viewport by what an
1248
+ inner scrollport hides, so it reaches the end of the page at 390 with the chrome kept. Focus, hover
1249
+ and tooltip crops read the anchor's box once it stops moving. A route whose anchors declare no
1250
+ `data-shot-states` logs a warning, its URL-state shots carry the note `page declares no
1251
+ data-shot-states`, and `shot detect` reports it as `craft-7/no-declared-states` (P1, exit 2).
1252
+ **Opt out:** none for the capture; declare `data-shot-states` on an anchor (`empty loading error`)
1253
+ to clear the finding.
1254
+
1255
+ `basalt-ui init` over an unmodified create-vite `src/main.tsx` now replaces it with the seeded entry
1256
+ and adds the peers `basalt-ui` imports (Mantine, TanStack Router and Query, the three fonts,
1257
+ `motion`) to `package.json` `dependencies`; it prints `bun install` and never installs. An edited
1258
+ `main.tsx` is still left alone, with the wiring steps and the missing peers printed. **Opt out:**
1259
+ edit `main.tsx` before running `init`.
1260
+
1261
+ ### Selected Tabs are ink in every variant
1262
+
1263
+ **Changed default:** the selected `pills` tab filled with the accent and the `outline` border took the
1264
+ default border; both now follow `default`'s underline and read by ink. The pill is an ink-mixed
1265
+ panel with an ink label, the outline border is ink. **Opt out:** pass `color="blue"` (any
1266
+ colour) and the tab keeps its hue and the on-colour label.
1267
+
1268
+ ### A status `Badge` is a dot on the neutral surface
1269
+
1270
+ **Changed default:** the `light` Badge (the theme default) painted a tint of its colour, so a row of
1271
+ status chips read as coloured slabs. It is now the subtle surface with an ink word, and a named theme
1272
+ colour (`color="green"`, `"red.6"`, `"#e03131"`, a var) adds a leading 6px dot in that colour; an unnamed or `gray` chip has no dot.
1273
+ A `leftSection` or `rightSection` replaces the dot. `filled`, `outline`, `dot` and `default` are
1274
+ unchanged, so an accent count keeps its fill. **Opt out:** `variant="filled"` for the old strong chip,
1275
+ or a per-site `vars` with `--badge-bg` and `--badge-color` for the tint.
1276
+
1277
+ ### Disabled Button and the icon-side inset
1278
+
1279
+ **Changed default:** a disabled `Button`/`ActionIcon` has one ink-mixed panel surface in both schemes
1280
+ (dark had none and read as the subtle variant). A `Button`'s `leftSection`/`rightSection` inset now
1281
+ equals its text side (it was one scale step tighter: 8/12, 12/16, 12/20), so an icon Button is
1282
+ balanced and one step wider. **Opt out:** set `--button-section-padding-x` on the Button.
1283
+
1284
+ ### No slashed zero in titles; no mono ligatures
1285
+
1286
+ **Changed default:** `:root` resets the `zero` feature (its off state; nothing in the package turns it
1287
+ on), so every head-face surface (headings, `Title`, section/card/widget titles, a CSS-module class that
1288
+ only sets the family) inherits a plain zero: `2026` and `90 days` no longer carry a slashed one.
1289
+ `font-variant-ligatures: none` applies to `code`, `kbd`, `samp`, `pre`, `[data-numeric]`,
1290
+ `[data-monospace]`, a `ff="monospace"` Text and `Code`/`Kbd`, so `<>` in a facts line is two
1291
+ characters; body sans keeps its ligatures. Mono-only CSS-module classes are not reached by the
1292
+ ligature selectors (follow-up). **Opt out:** an unlayered `font-feature-settings` or
1293
+ `font-variant-ligatures` on the element.
1294
+
1295
+ ### Chart focus ring
1296
+
1297
+ **Fixed:** the chart host's keyboard focus ring was the UA ring (white in dark); it is now
1298
+ `2px solid var(--vx-accent)`, like every Mantine control. It was never a mobile or coarse-pointer
1299
+ branch: no `mantine-focus-*` class reaches the host, so the UA drew it at every width in dark.
1300
+
1301
+ ### `VX.surface.rowHover` and `VX.surface.rowSelected`
1302
+
1303
+ New, additive: `--vx-surface-row-hover` and `--vx-surface-row-selected`, typed on `VX.surface`. The
1304
+ panel mixed toward the ink (5% / 7.5% light, 7% / 9% dark), so a hovered or selected row on a panel
1305
+ reads in both schemes where `panelHover` (lighter than `panel` in light) does not. Replace a
1306
+ hand-rolled `color-mix(in srgb, var(--vx-ink) N%, …)` row wash with them.
1307
+
1308
+ **Changed default (derivation):** the row surfaces join the status-text solve, and every text colour
1309
+ clears 4.5:1 on both. At the default config three status hexes moved to clear them: good light
1310
+ `#327a4d` → `#2f774b`, warn light `#966200` → `#935f00`, bad dark `#f97d74` → `#fe8178`; and the dark
1311
+ `faint` ink `#a1a1a4` → `#a7a7aa` (tone 66.24 → 68.5). **Opt out:** none for the hexes; a consumer
1312
+ that pinned them reads them from `VX.status.*` / `VX.faint`.
1313
+
1314
+ ## 2.21.0 — strip cell state, one Retry, and the marker reading
1315
+
1316
+ ### One Retry in the shared error anatomy
1317
+
1318
+ **Changed:** `ErrorState`'s Retry (and so `StatCard`'s) is now a plain button shared with `ChartCard`
1319
+ and the strip cell error, styled from the same tokens as the Mantine `size="xs" variant="default"`
1320
+ Button it replaces (panel fill, `shadow-raised`, control radius, 30px). A refetch in flight now
1321
+ disables it and sets `aria-busy` instead of showing Mantine's loader overlay. **Opt out:** render
1322
+ your own Mantine `Button` through `ErrorState`'s `action` and omit `onRetry`.
1323
+
1324
+ New, additive: `ChartCard` takes `onRetry` and `retrying`. An errored `state` then shows that same
1325
+ Retry under the message, before `stateAction` (which stays for other actions). Without `onRetry`
1326
+ nothing changes, so a consumer passing its own Retry through `stateAction` keeps it — drop it for
1327
+ `onRetry` to match `StatCard`.
1328
+
1329
+ ### `StatGroup variant="strip"` cells take `state`
1330
+
1331
+ New, additive: a cell's `state` is `{ kind: 'empty', reason? }` or `{ kind: 'error', error?, onRetry?,
1332
+ retrying? }`. Empty shows `—` in the value position plus the muted reason; error shows the compact
1333
+ error anatomy (status dot, `Failed`, the message, Retry). Either replaces the cell's hero, `visual`,
1334
+ `rows` and `footer`; the caption stays and `loading` wins while pending. Before, both read as `—`
1335
+ with a footer note.
1336
+
1337
+ ### A zoned `Meter` names each zone under its own span
1338
+
1339
+ **Changed default:** zone names were left-aligned at their band start and wrapped into a list when two
1340
+ touched. They now sit centred on their zone's span in one label row; a name wider than its span (or
1341
+ clashing with a tick) hides instead of wrapping, and every zone stays named in the accessible
1342
+ description. Labelled `ticks` on a zoned `Meter` join that row at the track's ends instead of floating
1343
+ above the track, so the Meter has at most one caption line below. A plain tick `Meter` is unchanged
1344
+ except that two colliding tick captions now hide the later one instead of wrapping to a list.
1345
+ 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
1346
+ name visible at any width.
1347
+
1348
+ ### `MeterZone` takes a `short` label
1349
+
1350
+ New, additive: `{ from, to, label, short? }`. A zone name too wide for its span now falls back to
1351
+ `short` before it hides; the holding zone keeps its full `label`, and the described-by text still
1352
+ names every zone in full. Without `short` nothing changes. **Opt out:** omit `short`.
1353
+
1354
+ ### A zoned `Meter` in a hero host no longer prints the reading at its marker
1355
+
1356
+ **Changed default:** a `Meter` with `zones` inside a `StatCard` `sparkline` slot or a strip cell's
1357
+ `visual` drew the reading at the marker beside a hero showing the same number. Those hosts now
1358
+ suppress it; the track, marker and zone labels stay, and a standalone `Meter` is unchanged.
1359
+ **Opt out:** render the reading yourself where you want it (the value is in the Meter's `aria-valuetext`),
1360
+ or place the `Meter` outside those two slots.
1361
+
1362
+ ### `Meter`: the non-verdict fill is now muted
1363
+
1364
+ **Changed default:** plain `value` bars only (no `segments`, no `zones`, no `color`, no `tone`);
1365
+ `segments` (incl. forecast) and `zones` keep today's fills. A bar `Meter` with no `color` used to
1366
+ draw the full ink fill (`--vx-line`), near-white in dark. With no `color` and no `tone` it now draws
1367
+ `tone="muted"` (`--vx-muted` at a strength that holds 3:1 against the track in both schemes).
1368
+ Verdict colours (`color`, status tones) are unchanged; the ring is unchanged. Opt out: `tone="ink"`.
1369
+
1370
+ ### `BarList`: the thin track is the default
1371
+
1372
+ **Changed default:** `variant` is now `'thin' | 'inline'`, default `'thin'`
1373
+ (label on its own line above a thin bar, value right-aligned). The old default look is
1374
+ `variant="inline"`. The `'default'` literal is gone, so `variant="default"` is a type error: replace
1375
+ it with `variant="inline"` to keep the heavy label-in-track slabs, or delete the prop to take thin.
1376
+ `variant="thin"` is now redundant and still valid. The root now always carries `data-variant`
1377
+ (`thin` or `inline`) — it was absent on the old default, so `[data-variant]`-absent selectors must
1378
+ become `[data-variant='inline']`.
1379
+
1380
+ ### New guard kind `series-palette` (ships `warn`)
1381
+
1382
+ `check-theme` now judges the series module (`basalt.seriesModulePath`, default
1383
+ `<root>/lib/series.ts`) — the file the line scan exempts. Each `defineSeries({...})` call is one
1384
+ ordered categorical group; each scheme is measured against its own surface (the derive engine's
1385
+ default `surface.panel`; a consumer's `derive` overrides are not read). One finding per failed
1386
+ check, naming the key(s), scheme, measured number and threshold:
1387
+
1388
+ | Check | Threshold |
1389
+ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
1390
+ | OKLCH lightness | light 0.43–0.77, dark 0.58–0.88 |
1391
+ | OKLCH chroma | ≥ 0.10 per categorical series |
1392
+ | Adjacent series under protanopia / deuteranopia (Machado 2009, severity 1.0) | OKLab ΔE×100 ≥ 8 |
1393
+ | Worst pair in the group, normal vision | OKLab ΔE×100 ≥ 15 |
1394
+ | Contrast against the surface | ≥ 3:1 |
1395
+ | Group size / repeats | ≤ 8 series (a 9th folds into `other`), no repeated colour |
1396
+ | Value format | #rgb or #rrggbb only; anything else is reported and left out of that scheme's other checks |
1397
+
1398
+ Only literal `{ light: '#hex', dark: '#hex' }` entries are read. A deliberately neutral series is
1399
+ keyed `other`: it skips the chroma floor and nothing else. The kind is a grace kind — `warn` from
1400
+ 2.21.0, `error` from 2.23.0 — so the upgrade stays green; the fix is to retune the hex in the series
1401
+ file, not to waive anything.
1402
+
1403
+ **Opt-out:** `"basalt": { "severity": { "series-palette": "warn" } }` keeps it a warning past
1404
+ 2.23.0, `"basalt": { "exemptRules": { "series-palette": ["<series file>"] } }` silences it for the
1405
+ file. The guard now has 27 kinds.
1406
+
1407
+ ### `StatGroup variant="strip"` cells align by part
1408
+
1409
+ **Changed:** strip cells no longer stretch to the row's tallest cell with the footer pinned to the
1410
+ bottom. Each cell spans the same five tracks of the grid (caption, value, visual, rows, footer), so
1411
+ captions and values line up across a row, and a void opens only where a sibling's same part is
1412
+ taller. Footers line up for `rows` cells (the shared footer track) and for visuals of equal height;
1413
+ a `footer` under a `visual` (and no `rows`) rides with that visual and sits one gap under it, so a
1414
+ taller sibling's visual never pushes it down or shows as a void (S3's oldest-wait Meter read 46 %
1415
+ empty beside a tall fleet legend). A cell without a visual keeps its `rows` and `footer` directly
1416
+ under its value, so a short cell ("verdicts 78 %") stays compact. The strip's hairlines are outer
1417
+ box-shadows (borders in forced-colors mode), so every cell has the same `stack-md` top inset. No new
1418
+ prop, no opt-out for the alignment, and no per-cell `align`.
1419
+
1420
+ ### `Button` section insets sit on the spacing scale
1421
+
1422
+ **Changed:** a `Button` with a `leftSection` / `rightSection` padded that side by Mantine's
1423
+ `--button-padding-x / 1.5` (5.33 / 10.67 / 13.33 / 21.33 px by size), off the 4px scale. The section
1424
+ side now takes the nearest stack step at level 0: xs 8, sm 12, md 12, lg 16, xl 24, `ctl` 8;
1425
+ compact-xs/sm 4, compact-md/lg 8, compact-xl 12 (density-scaled). The side without a section is
1426
+ unchanged.
1427
+
1428
+ **Opt out:** set `--button-section-padding-x` on the Button (`vars` or `style`) — e.g.
1429
+ `calc(var(--button-padding-x) / 1.5)` restores Mantine's value.
1430
+
1049
1431
  ## 2.20.0 — the sparkline reference and readout
1050
1432
 
1051
1433
  **`Sparkline` now answers hover and keyboard focus.** A pointer over the cell, or arrow keys /
@@ -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` (a hover, focus or tooltip state not reachable at that viewport, or an anchor that declares itself missing in that state with `data-shot-absent`; the note says why) or `skipped` (mobile hover and tooltip: touch has no hover, by design) is not a defect, except a `not-declared` URL-state shot noted `page declares no data-shot-states`: no state was ever rendered, and `shot detect` reports it as `craft-7/no-declared-states`. A hidden `rest` anchor is an `error` shot, a defect, never `absent`. 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.