basalt-ui 2.21.0 → 2.23.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.
- package/CHANGELOG.md +60 -0
- package/MIGRATING.md +452 -12
- package/agent/agents/basalt-design-reviewer.md +1 -1
- package/agent/rules/basalt-tokens.md +1 -1
- package/agent/skills/basalt-design/SKILL.md +1 -1
- package/agent/skills/basalt-design/references/anti-defaults.md +1 -1
- package/agent/skills/basalt-design/references/catalogue.md +1 -0
- package/dist/charts/BandStrip.d.ts.map +1 -1
- package/dist/charts/BandStrip.js +73 -3
- package/dist/charts/Bars.d.ts.map +1 -1
- package/dist/charts/Bars.js +6 -0
- package/dist/charts/CartesianChart.d.ts +10 -0
- package/dist/charts/CartesianChart.d.ts.map +1 -1
- package/dist/charts/CartesianChart.js +8 -5
- package/dist/charts/ChartCard.d.ts +12 -3
- package/dist/charts/ChartCard.d.ts.map +1 -1
- package/dist/charts/ChartCard.js +39 -8
- package/dist/charts/DualPanel.d.ts.map +1 -1
- package/dist/charts/DualPanel.js +5 -8
- package/dist/charts/Heatmap.d.ts +12 -1
- package/dist/charts/Heatmap.d.ts.map +1 -1
- package/dist/charts/Heatmap.js +34 -5
- package/dist/charts/Lines.d.ts +3 -0
- package/dist/charts/Lines.d.ts.map +1 -1
- package/dist/charts/Lines.js +29 -6
- package/dist/charts/MirroredBars.d.ts.map +1 -1
- package/dist/charts/MirroredBars.js +4 -6
- package/dist/charts/Sparkline.d.ts +14 -2
- package/dist/charts/Sparkline.d.ts.map +1 -1
- package/dist/charts/Sparkline.js +101 -22
- package/dist/charts/StackedArea.d.ts +4 -1
- package/dist/charts/StackedArea.d.ts.map +1 -1
- package/dist/charts/StackedArea.js +9 -3
- package/dist/charts/band-fold.d.ts +38 -1
- package/dist/charts/band-fold.d.ts.map +1 -1
- package/dist/charts/band-fold.js +18 -1
- package/dist/charts/chart-box.module.css +19 -0
- package/dist/charts/chart-card.module.css +25 -0
- package/dist/charts/chart-dates.d.ts +12 -0
- package/dist/charts/chart-dates.d.ts.map +1 -0
- package/dist/charts/chart-dates.js +16 -0
- package/dist/charts/chart-legend.module.css +7 -0
- package/dist/charts/compile.d.ts +25 -6
- package/dist/charts/compile.d.ts.map +1 -1
- package/dist/charts/compile.js +152 -72
- package/dist/charts/date-tick-format.d.ts +5 -5
- package/dist/charts/date-tick-format.d.ts.map +1 -1
- package/dist/charts/date-tick-format.js +3 -7
- package/dist/charts/labels.d.ts +21 -6
- package/dist/charts/labels.d.ts.map +1 -1
- package/dist/charts/labels.js +52 -17
- package/dist/charts/legend.d.ts +2 -0
- package/dist/charts/legend.d.ts.map +1 -1
- package/dist/charts/legend.js +7 -21
- package/dist/charts/marks.js +1 -1
- package/dist/charts/panel.d.ts +0 -6
- package/dist/charts/panel.d.ts.map +1 -1
- package/dist/charts/panel.js +1 -10
- package/dist/charts/ref-label.d.ts +43 -0
- package/dist/charts/ref-label.d.ts.map +1 -0
- package/dist/charts/ref-label.js +75 -0
- package/dist/charts/scales.d.ts +4 -1
- package/dist/charts/scales.d.ts.map +1 -1
- package/dist/charts/scales.js +14 -3
- package/dist/charts/sparkline.module.css +13 -17
- package/dist/charts/sparkline.module.css.d.ts +1 -2
- package/dist/charts/state.d.ts +2 -0
- package/dist/charts/state.d.ts.map +1 -1
- package/dist/charts/state.js +5 -2
- package/dist/charts/types.d.ts +18 -8
- package/dist/charts/types.d.ts.map +1 -1
- package/dist/cli/doctor-upgrade.d.ts +1 -0
- package/dist/cli/doctor-upgrade.d.ts.map +1 -1
- package/dist/cli/doctor-upgrade.js +1 -0
- package/dist/cli/init.d.ts +2 -0
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +68 -4
- package/dist/cli/shot/capture.d.ts +21 -2
- package/dist/cli/shot/capture.d.ts.map +1 -1
- package/dist/cli/shot/capture.js +202 -36
- package/dist/cli/shot/detect.d.ts.map +1 -1
- package/dist/cli/shot/detect.js +17 -1
- package/dist/cli/shot/playwright.d.ts +13 -2
- package/dist/cli/shot/playwright.d.ts.map +1 -1
- package/dist/cli/shot/playwright.js +5 -1
- package/dist/cli/shot/types.d.ts +4 -0
- package/dist/cli/shot/types.d.ts.map +1 -1
- package/dist/cli/shot/types.js +2 -0
- package/dist/cli/tokens-css.d.ts +5 -7
- package/dist/cli/tokens-css.d.ts.map +1 -1
- package/dist/cli/tokens-css.js +11 -12
- package/dist/controls/controls.module.css +11 -1
- package/dist/controls/filter-pill.d.ts.map +1 -1
- package/dist/controls/filter-pill.js +1 -0
- package/dist/controls/sync-button.d.ts.map +1 -1
- package/dist/controls/sync-button.js +22 -3
- package/dist/controls/sync-button.module.css +34 -2
- package/dist/controls/sync-button.module.css.d.ts +1 -0
- package/dist/dashboard/bar-list.d.ts +6 -1
- package/dist/dashboard/bar-list.d.ts.map +1 -1
- package/dist/dashboard/bar-list.js +15 -8
- package/dist/dashboard/bar-list.module.css +83 -0
- package/dist/dashboard/bar-list.module.css.d.ts +1 -0
- package/dist/dashboard/delta-badge.d.ts.map +1 -1
- package/dist/dashboard/delta-badge.js +2 -2
- package/dist/dashboard/index.d.ts +1 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +2 -0
- package/dist/dashboard/meter-model.d.ts +84 -5
- package/dist/dashboard/meter-model.d.ts.map +1 -1
- package/dist/dashboard/meter-model.js +100 -15
- package/dist/dashboard/meter-parts.d.ts +9 -1
- package/dist/dashboard/meter-parts.d.ts.map +1 -1
- package/dist/dashboard/meter-parts.js +276 -74
- package/dist/dashboard/meter.d.ts +54 -65
- package/dist/dashboard/meter.d.ts.map +1 -1
- package/dist/dashboard/meter.js +21 -4
- package/dist/dashboard/meter.module.css +76 -0
- package/dist/dashboard/meter.module.css.d.ts +6 -0
- package/dist/dashboard/page-summary.d.ts +20 -0
- package/dist/dashboard/page-summary.d.ts.map +1 -0
- package/dist/dashboard/page-summary.js +28 -0
- package/dist/dashboard/page-summary.module.css +89 -0
- package/dist/dashboard/page-summary.module.css.d.ts +15 -0
- package/dist/dashboard/query-state.d.ts.map +1 -1
- package/dist/dashboard/query-state.js +1 -1
- package/dist/dashboard/section.d.ts +25 -2
- package/dist/dashboard/section.d.ts.map +1 -1
- package/dist/dashboard/section.js +10 -5
- package/dist/dashboard/section.module.css +23 -0
- package/dist/dashboard/section.module.css.d.ts +1 -0
- package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
- package/dist/dashboard/stat-card-parts.js +1 -1
- package/dist/dashboard/stat-card.d.ts +4 -2
- package/dist/dashboard/stat-card.d.ts.map +1 -1
- package/dist/dashboard/stat-card.js +7 -5
- package/dist/dashboard/stat-card.module.css +36 -0
- package/dist/dashboard/stat-group.module.css +7 -0
- package/dist/dashboard/stat-strip.d.ts +22 -6
- package/dist/dashboard/stat-strip.d.ts.map +1 -1
- package/dist/dashboard/stat-strip.js +104 -60
- package/dist/dashboard/stat-strip.module.css +122 -53
- package/dist/dashboard/stat-strip.module.css.d.ts +4 -0
- package/dist/dashboard/visual-slot.d.ts +7 -1
- package/dist/dashboard/visual-slot.d.ts.map +1 -1
- package/dist/dashboard/visual-slot.js +3 -1
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +0 -5
- package/dist/guard/vx-names.d.ts.map +1 -1
- package/dist/guard/vx-names.js +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/styles.css +43 -4
- package/dist/theme/chrome-vars.d.ts +20 -5
- package/dist/theme/chrome-vars.d.ts.map +1 -1
- package/dist/theme/chrome-vars.js +46 -3
- package/dist/theme/controls.module.css +37 -0
- package/dist/theme/controls.module.css.d.ts +2 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +18 -27
- package/dist/theme/status-verdict.d.ts.map +1 -1
- package/dist/theme/status-verdict.js +9 -1
- package/dist/tokens/core.d.ts +2 -1
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +6 -1
- package/dist/tokens/derive.d.ts +3 -1
- package/dist/tokens/derive.d.ts.map +1 -1
- package/dist/tokens/derive.js +16 -1
- package/dist/tokens/palette.d.ts +11 -10
- package/dist/tokens/palette.d.ts.map +1 -1
- package/dist/tokens/palette.js +11 -10
- package/dist/tokens/status-text.d.ts.map +1 -1
- package/dist/tokens/status-text.js +3 -1
- package/llms.txt +42 -22
- package/package.json +1 -1
- package/src/charts/BandStrip.tsx +83 -3
- package/src/charts/Bars.tsx +7 -0
- package/src/charts/CartesianChart.tsx +18 -3
- package/src/charts/ChartCard.tsx +54 -13
- package/src/charts/DualPanel.tsx +3 -6
- package/src/charts/Heatmap.tsx +54 -5
- package/src/charts/Lines.tsx +56 -10
- package/src/charts/MirroredBars.tsx +3 -5
- package/src/charts/Sparkline.tsx +135 -25
- package/src/charts/StackedArea.tsx +14 -4
- package/src/charts/band-fold.ts +50 -1
- package/src/charts/chart-box.module.css +19 -0
- package/src/charts/chart-card.module.css +25 -0
- package/src/charts/chart-dates.ts +30 -0
- package/src/charts/chart-legend.module.css +7 -0
- package/src/charts/compile.ts +253 -87
- package/src/charts/date-tick-format.ts +10 -13
- package/src/charts/labels.ts +81 -26
- package/src/charts/legend.tsx +10 -20
- package/src/charts/marks.ts +1 -1
- package/src/charts/panel.tsx +1 -16
- package/src/charts/ref-label.ts +131 -0
- package/src/charts/scales.ts +22 -2
- package/src/charts/sparkline.module.css +13 -17
- package/src/charts/sparkline.module.css.d.ts +1 -2
- package/src/charts/state.tsx +9 -4
- package/src/charts/types.ts +18 -8
- package/src/cli/doctor-upgrade.ts +1 -1
- package/src/cli/init.ts +100 -3
- package/src/cli/shot/capture.ts +266 -35
- package/src/cli/shot/detect.ts +18 -1
- package/src/cli/shot/playwright.ts +20 -4
- package/src/cli/shot/types.ts +5 -0
- package/src/cli/tokens-css.ts +18 -20
- package/src/controls/controls.module.css +11 -1
- package/src/controls/filter-pill.tsx +2 -0
- package/src/controls/sync-button.module.css +34 -2
- package/src/controls/sync-button.module.css.d.ts +1 -0
- package/src/controls/sync-button.tsx +40 -4
- package/src/dashboard/bar-list.module.css +83 -0
- package/src/dashboard/bar-list.module.css.d.ts +1 -0
- package/src/dashboard/bar-list.tsx +107 -69
- package/src/dashboard/delta-badge.tsx +6 -2
- package/src/dashboard/index.ts +1 -0
- package/src/dashboard/meter-model.ts +207 -24
- package/src/dashboard/meter-parts.tsx +349 -67
- package/src/dashboard/meter.module.css +76 -0
- package/src/dashboard/meter.module.css.d.ts +6 -0
- package/src/dashboard/meter.tsx +72 -18
- package/src/dashboard/page-summary.module.css +89 -0
- package/src/dashboard/page-summary.module.css.d.ts +15 -0
- package/src/dashboard/page-summary.tsx +95 -0
- package/src/dashboard/query-state.tsx +1 -1
- package/src/dashboard/section.module.css +23 -0
- package/src/dashboard/section.module.css.d.ts +1 -0
- package/src/dashboard/section.tsx +59 -11
- package/src/dashboard/stat-card-parts.tsx +5 -1
- package/src/dashboard/stat-card.module.css +36 -0
- package/src/dashboard/stat-card.tsx +12 -6
- package/src/dashboard/stat-group.module.css +7 -0
- package/src/dashboard/stat-strip.module.css +122 -53
- package/src/dashboard/stat-strip.module.css.d.ts +4 -0
- package/src/dashboard/stat-strip.tsx +176 -91
- package/src/dashboard/visual-slot.ts +12 -3
- package/src/guard/index.ts +0 -5
- package/src/guard/vx-names.ts +2 -0
- package/src/index.ts +2 -0
- package/src/styles.css +43 -4
- package/src/theme/__snapshots__/plain-theme.test.ts.snap +200 -68
- package/src/theme/chrome-vars.ts +77 -8
- package/src/theme/controls.module.css +37 -0
- package/src/theme/controls.module.css.d.ts +2 -0
- package/src/theme/index.ts +22 -32
- package/src/theme/status-verdict.tsx +5 -1
- package/src/tokens/core.ts +4 -1
- package/src/tokens/derive.ts +32 -3
- package/src/tokens/palette.ts +11 -10
- package/src/tokens/status-text.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
|
1
|
+
# [2.23.0](https://github.com/jkrumm/basalt-ui/compare/v2.22.0...v2.23.0) (2026-10-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* compact strip cells, stat caption at 390, footer under a cell ([986fda0](https://github.com/jkrumm/basalt-ui/commit/986fda0460450dcf6070823a2dd65d4e096b7b0c))
|
|
7
|
+
* heading numerals use the sans digits, no slashed zero ([6121256](https://github.com/jkrumm/basalt-ui/commit/612125609f433ee363cd6b8852e37c8bd3cc86b7))
|
|
8
|
+
* indicator radius follows the track; em dash in the ring reading ([f83dba1](https://github.com/jkrumm/basalt-ui/commit/f83dba1555b80b823eaff142ae1ba7fd6002f4df))
|
|
9
|
+
* muted Meter zones share one flat fill ([b1e878a](https://github.com/jkrumm/basalt-ui/commit/b1e878ab6633be9ef4fc1efd224cb155003bed60))
|
|
10
|
+
* pin head digits against font-stretch, document the axis ([fc6f2f1](https://github.com/jkrumm/basalt-ui/commit/fc6f2f189d034f706c2cf3d8ebb0f618b98283f8))
|
|
11
|
+
* regenerate llms.txt ([551bc96](https://github.com/jkrumm/basalt-ui/commit/551bc9674e84bd90bfb9b43c008cc862f1ebc2cc))
|
|
12
|
+
* shot detect names the anchors that lack data-shot-states ([1dc358e](https://github.com/jkrumm/basalt-ui/commit/1dc358e1dc0097882e082b9746ca21f086dea9f2))
|
|
13
|
+
* shot's desktop context reports a fine pointer that hovers ([0523fda](https://github.com/jkrumm/basalt-ui/commit/0523fdab1650d0dea8fde7d4b45095d2d75f7855))
|
|
14
|
+
* strip error body reads Could not load; custom-radius indicator probe ([78498d1](https://github.com/jkrumm/basalt-ui/commit/78498d19522074b70b7450974c3cd12c2b3f33ed))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* aligned list status columns and sentence-case status ([4709a55](https://github.com/jkrumm/basalt-ui/commit/4709a55bd4914282307c8bf4daa11f13c895c0c7))
|
|
20
|
+
* chart readouts name their point and bars hover as bars ([d3ccf1a](https://github.com/jkrumm/basalt-ui/commit/d3ccf1a10caae62b35d325825c3764579efce76a))
|
|
21
|
+
* daily tooltip headers keep weekday and year; labels clear lines ([8986c19](https://github.com/jkrumm/basalt-ui/commit/8986c1941e5e6b5fa43d54075f9a68fee0b80022))
|
|
22
|
+
* keep a meter's end figures and captions at their marks ([66af971](https://github.com/jkrumm/basalt-ui/commit/66af971185d63a03c4945beed6bca1e78e9fb9f0))
|
|
23
|
+
* one error title word, no point marker on a bar sparkline hover ([c758ecd](https://github.com/jkrumm/basalt-ui/commit/c758ecdbd2f97c07bfe9411cef6ae2aec463fa5c))
|
|
24
|
+
* pin the ErrorState default title and the line sparkline marker ([f1ea769](https://github.com/jkrumm/basalt-ui/commit/f1ea769b4fe7264d2fc13b597aeb8b9bc96899ab))
|
|
25
|
+
* promote series-palette to error ([fe021b8](https://github.com/jkrumm/basalt-ui/commit/fe021b8a97e4c9855ccd96d683daa4354ad31712))
|
|
26
|
+
* strip cells declare shot absence; no bare No data defaults ([bf8df89](https://github.com/jkrumm/basalt-ui/commit/bf8df898f3bc10c87faa1abaec6f025b20a7fcdd))
|
|
27
|
+
|
|
28
|
+
# [2.22.0](https://github.com/jkrumm/basalt-ui/compare/v2.21.0...v2.22.0) (2026-10-18)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* address review round 1 on PageSummary and Section ([13f92e8](https://github.com/jkrumm/basalt-ui/commit/13f92e8fda655720f1a25718c42a3346853593ec))
|
|
34
|
+
* apply the Meter gap step only between a tick and a label ([4503cfe](https://github.com/jkrumm/basalt-ui/commit/4503cfeec62d8a738ada9c7b1a3476eba9c0ecd8))
|
|
35
|
+
* cap the BarList label column and frame every state ([43f7dc6](https://github.com/jkrumm/basalt-ui/commit/43f7dc66bfd9826a7ed9d9084f045c725c5114ef))
|
|
36
|
+
* chart chrome review round 1 ([3b3b869](https://github.com/jkrumm/basalt-ui/commit/3b3b869fa121185d654f41c43bbb28b04fc061e1))
|
|
37
|
+
* frame restores the chrome when it throws after hiding it ([c825c35](https://github.com/jkrumm/basalt-ui/commit/c825c3596c55e57eed17719e2fec9d6502575267))
|
|
38
|
+
* hidden rest anchors fail, chrome hiding spares only open popups ([b497af1](https://github.com/jkrumm/basalt-ui/commit/b497af1331e90516b9a093fe15382879afdf9511))
|
|
39
|
+
* let a Meter end tick yield to a zone name and re-measure captions ([8c40451](https://github.com/jkrumm/basalt-ui/commit/8c4045130eef1bf78f423f1e6e5692493fcf0d52))
|
|
40
|
+
* pin tooltip header tests to the runtime's own Intl output ([6b44e7e](https://github.com/jkrumm/basalt-ui/commit/6b44e7ec17582f9e56145027a53b5854d4bb955a))
|
|
41
|
+
* reset the zero feature at the root instead of per head-face selector ([e0ef952](https://github.com/jkrumm/basalt-ui/commit/e0ef952080d0996008e4fa90a796b1ef688887a9))
|
|
42
|
+
* restore MIGRATING's tail and follow the head-face rule list ([f3fe9c0](https://github.com/jkrumm/basalt-ui/commit/f3fe9c0e35fe0fbb9a810fed3f0b888acbb69c4a))
|
|
43
|
+
* reviewer note limits absent to pointer states and declared absence ([c923661](https://github.com/jkrumm/basalt-ui/commit/c923661fa743985008b9c060e2bba5bc96332117))
|
|
44
|
+
* scope the badge dot, solve row-surface contrast, narrow the zero reset ([6a1843a](https://github.com/jkrumm/basalt-ui/commit/6a1843a2fa089640c4290c67a443f63996808009))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* a strip cell's tone colours the Meter in its visual ([fa1ff95](https://github.com/jkrumm/basalt-ui/commit/fa1ff95645dae2633aa3d6e88d1c66981fa12ecf))
|
|
50
|
+
* add Meter reading switch, muted zones, stops and ring ticks ([a1cd367](https://github.com/jkrumm/basalt-ui/commit/a1cd367e3d51383dc5052b65c1d7f40b7b94ffa2))
|
|
51
|
+
* chart facts, sparklines and strips gain tone, glyph and focus ([9b41136](https://github.com/jkrumm/basalt-ui/commit/9b41136c9d5e4ea72943647be56888bc351d5dec))
|
|
52
|
+
* chart tooltips, ticks and reference labels read cleanly ([d7c6b49](https://github.com/jkrumm/basalt-ui/commit/d7c6b4904900aef679daab3dc9b89f28fd4f876e))
|
|
53
|
+
* export PageSummary, untitled Section and page-bar fixes ([1cf8719](https://github.com/jkrumm/basalt-ui/commit/1cf8719fa180d4e1254e6a1a41c99ec89e1f53ef))
|
|
54
|
+
* glyph defaults, panel ink and one readout layer on chart cards ([3b49967](https://github.com/jkrumm/basalt-ui/commit/3b499677a47282dc154a694f10851e2810afea81))
|
|
55
|
+
* keep a BarList name beside its value in a wide card ([d25833b](https://github.com/jkrumm/basalt-ui/commit/d25833b9838fabfaa1ca6569ea15dfcbd4db9d2c))
|
|
56
|
+
* neutral tab pill, row surfaces and data-text numerals ([67e2994](https://github.com/jkrumm/basalt-ui/commit/67e299437801399618c921e9747c2cd874e09085))
|
|
57
|
+
* pin strip footer kinds and the qualifier guarantee ([97462b2](https://github.com/jkrumm/basalt-ui/commit/97462b2c2b147efe93728e1f98336119a2a832d6))
|
|
58
|
+
* shot captures tall anchors and init wires a stock Vite app ([e2d8d23](https://github.com/jkrumm/basalt-ui/commit/e2d8d2382a453f7a69b8a53c1b915ba09cb0f733))
|
|
59
|
+
* strip cells stay compact; stat cards keep their states tidy ([f7d78e3](https://github.com/jkrumm/basalt-ui/commit/f7d78e3f9c6ea877ad39e47c431d2956cd76dcdd))
|
|
60
|
+
|
|
1
61
|
# [2.21.0](https://github.com/jkrumm/basalt-ui/compare/v2.20.0...v2.21.0) (2026-10-18)
|
|
2
62
|
|
|
3
63
|
|
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 | 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) | — |
|
|
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 | 2.23.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) | — | `series-palette` → `error` (§ Guards) | — |
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
@@ -1046,6 +1046,446 @@ 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.23.0 — Wave 37, argo's friction II
|
|
1050
|
+
|
|
1051
|
+
No export is removed. `MeterTick` gains an optional `caption`; five Meter defaults move.
|
|
1052
|
+
|
|
1053
|
+
### Behaviour changes
|
|
1054
|
+
|
|
1055
|
+
| Surface | Before | Now | Opt-out |
|
|
1056
|
+
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- |
|
|
1057
|
+
| Zoned Meter, end ticks (`ticks` at `min`/`max`) | a zone name always won: at 390 the `2.0` / `100` end figure hid | both end figures stay; a zone name that would touch one falls back to its `short`, then hides (still described). An end figure hides only when it cannot clear the other end, an interior tick or the holding name | none |
|
|
1058
|
+
| Bar with `ticks` or `target` | no start figure | `format(min)` is labelled at the start of the track, above it | `startCaption={null}` (also drops the reading, as before) |
|
|
1059
|
+
| Captions at their marks | forecast and target captions anchored; two captions closer than a gap step sent the whole row back to the flow | closer captions are pushed apart, in order, the least that clears them; the flow is the fallback only when they cannot all fit inside the row | none |
|
|
1060
|
+
| `MeterTick.caption` (new) | a tick's text sat in `endCaption` at the track end | `ticks={[{ at, label: 'Pace', caption: '14 sessions by 16 Oct' }]}` captions under the track, centred on the mark | omit `caption` |
|
|
1061
|
+
| Categorical part captions that do not fit under their parts | an entry could wrap inside itself | each entry (swatch, name, value) stays on one line in a wrapping row from the track's start; only an entry wider than the row breaks | none |
|
|
1062
|
+
|
|
1063
|
+
`target` already captioned its value (`Target 28 sessions`, with `format`); `endCaption={null}` drops it.
|
|
1064
|
+
An end figure that hides still reads in the accessible description.
|
|
1065
|
+
|
|
1066
|
+
### `BarList` and `Badge` defaults (lists and chrome II)
|
|
1067
|
+
|
|
1068
|
+
Two defaults move; `BarList` gains `secondaryAlign`.
|
|
1069
|
+
|
|
1070
|
+
| Surface | Before | Now | Opt-out |
|
|
1071
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
|
|
1072
|
+
| `BarList` `secondary` | one end-aligned column, so a status (dot plus word) had ragged dots; a long status ran past the track end at a phone width; a `DeltaBadge` column lined up on neither glyph nor figure | aligned by content: a string that is not a figure and a `StatusVerdict`/`StatusDot` start, a number, a numeric string and any other element end; a `DeltaBadge` gets a fixed-width glyph slot and a 4-character tabular figure slot inside the list, so glyphs and right edges line up; a status is clipped inside its cell and its word carries `title` | `secondaryAlign="start"` or `"end"` on `BarList` |
|
|
1073
|
+
| `Badge` | Mantine's `text-transform: uppercase` | the word as written (`Healthy`), for the status chip (SPEC § 6.10); a deliberate micro-caption passes `tt="uppercase"`, which is inline and wins | `tt="uppercase"` per Badge |
|
|
1074
|
+
|
|
1075
|
+
`StatusVerdict`'s word now carries `title` (the `phrase`, else the word). `DeltaBadge` carries `data-delta` and its glyph
|
|
1076
|
+
`data-delta-glyph`; outside a `BarList` it looks as before. A literal `"▲ 9%"`
|
|
1077
|
+
string keeps the spacing its author typed — use `DeltaBadge` for a column of deltas.
|
|
1078
|
+
|
|
1079
|
+
No export is removed. Four behaviours move and one optional field is new.
|
|
1080
|
+
|
|
1081
|
+
| Surface | Before | Now |
|
|
1082
|
+
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1083
|
+
| `StatCard` in a container under 240 px | caption and qualifier shared one nowrap line and both truncated (`TRAINING V…`, `month to…`) | the qualifier takes its own line under the caption; a card with a qualifier, or in a `StatGroup` where one does, reserves that line so values share a baseline. Cost: a qualifier-less card in such a group is one caption line taller. The qualifier truncates (with `title`) only if it alone does not fit |
|
|
1084
|
+
| `StatGroup variant="strip"` cell | a subgrid on six shared tracks: a short visual or rows sat in the track its tallest sibling sized, so its box kept the sibling's void (`emptyRatio` 0.25–0.32) | a plain column that ends at its content; the slot still runs the row, so the dividers do. A cell's caption line is one line (qualifier beside it, truncating with `title`; in a narrow cell under it, reserved on every cell of a strip that has a qualifier), so captions share a top and values a baseline |
|
|
1085
|
+
| `StatGroup variant="strip"` footer line | a cell's footer (rows, visual, hero) sat on a track shared with its row-mates | a footer follows the cell's last part; **footer tops no longer align across cells**. Opt-out: none (a deliberate law change; pin a shared footer with a `footer[]` entry under the strip instead) |
|
|
1086
|
+
| `StatGroup variant="strip"` empty / error | the state copy sat flush on the cell's bottom edge | the cell's inset (`stack-md`) on every side |
|
|
1087
|
+
|
|
1088
|
+
Tests that pinned the old law and were rewritten: `strip-align.layout.test.ts` (`compact: … per-footer-track tops are equal`, `a mixed row keeps one top per footer kind`: footers now hug their own part; `no cell has a void beyond one row-gap` lost its sibling-slack allowance) and `stat-strip.test.tsx` (`the caption group never wraps; …`: the wrap is the narrow-cell container query, not the default).
|
|
1089
|
+
|
|
1090
|
+
### `footer[].under` (new, optional)
|
|
1091
|
+
|
|
1092
|
+
`footer={[{ key: 'week', under: 'spend', content: <Meter … /> }]}` — from 800 px the entry sits in
|
|
1093
|
+
the column of the cell whose `key` is `under`; an entry without `under` then takes the full row.
|
|
1094
|
+
Below 800 px, and for a key that names no cell, nothing changes: full width under the grid. Opt-out:
|
|
1095
|
+
omit `under`.
|
|
1096
|
+
|
|
1097
|
+
No export is removed and none is added. `Sparkline`'s `data` widens, and six chart defaults move.
|
|
1098
|
+
|
|
1099
|
+
### Behaviour changes
|
|
1100
|
+
|
|
1101
|
+
| Surface | Before | Now | Opt out |
|
|
1102
|
+
| ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
|
|
1103
|
+
| `Sparkline` readout placement | a chip above the plot box, over whatever the host draws there (a card's delta period) and clipped by a host slot that clips | inside the plot box, beside the hovered point on the roomier side (flips at the edges) and on the half of the box away from it | none: the chip no longer leaves the box |
|
|
1104
|
+
| `Sparkline` readout label | only a consumer's `labels` named the point | `data` may be `{ at, value }` points (`at`: Date, epoch ms or ISO string); the readout names the day (the hour when the points share one day) in the page locale; `labels` still wins | keep `data` a `number[]` |
|
|
1105
|
+
| `Bars` hover | the engine's point marker drew on the hovered bar | bar chrome only (the hovered x at full strength) | none |
|
|
1106
|
+
| Reference caption on a band x | could sit over a bar taller than its line | treats each bar as a filled column and takes the first clear spot | `RefLine.labelPosition` pins one |
|
|
1107
|
+
| Date tick labels | `DD.MM`, whatever the page locale | the day and month in the page locale (`4 Oct`, `Oct 4`), the runtime's with none set: the same source as the tooltip header | `formatX` |
|
|
1108
|
+
| `Lines` end label that flips left of a falling line's last point | drawn above it, across the last segment | drawn below it (above for a rising line) | `naming: 'legend'` |
|
|
1109
|
+
| Errored `ChartCard` / chart | the anatomy (dot, title, message, Retry) was centred vertically in the chart's height | top-aligned in the same height: the frame keeps its size (no jump when a fetch fails), the room sits below the content | none |
|
|
1110
|
+
|
|
1111
|
+
A `StatCard` / strip-cell sparkline slot still reserves the old readout line above its plot
|
|
1112
|
+
(`--basalt-spark-readout-h`); the chip no longer uses it.
|
|
1113
|
+
|
|
1114
|
+
A histogram that marks its median as a second series names the count through the series' own
|
|
1115
|
+
`formatValue` (`(v) => \`${v} days\``): a `Bars` tooltip row already takes it, and a bin lists only
|
|
1116
|
+
the series that has a value for it.
|
|
1117
|
+
|
|
1118
|
+
No export is removed. One default moves.
|
|
1119
|
+
|
|
1120
|
+
### Heading digits come from the sans face
|
|
1121
|
+
|
|
1122
|
+
Hubot Sans has no `zero` OpenType feature and its default zero is slashed, so the 2.22.0
|
|
1123
|
+
`:root { font-feature-settings: 'zero' 0 }` reset was a no-op and head-face titles still showed
|
|
1124
|
+
`3Ø days`. `styles.css` now declares `@font-face 'Basalt Head Digits'` over the Nunito Sans variable
|
|
1125
|
+
file, `unicode-range: U+0030-0039`, and `--basalt-font-head` leads with it: Hubot draws the letters,
|
|
1126
|
+
Nunito the digits, in every h1–h6, Mantine `Title` and CSS-module title that reads the var. The no-op
|
|
1127
|
+
reset is removed. `basalt-ui fonts:css` emits the same face.
|
|
1128
|
+
|
|
1129
|
+
**Opt out:** set your own `--basalt-font-head` (or `createBasaltTheme(_, { fonts: { head } })`); a
|
|
1130
|
+
head stack that does not lead with `'Basalt Head Digits'` draws Hubot's own digits, slashed zero
|
|
1131
|
+
included. Stretch: the digit face has no `wdth` axis, and neither does the shipped wght-only Hubot Sans file,
|
|
1132
|
+
so `--basalt-font-head-stretch` (88%) condenses neither letters nor digits today and they cannot
|
|
1133
|
+
mismatch. A consumer who swaps in a `wdth` cut of the head face gets condensed letters over
|
|
1134
|
+
full-width digits. The face costs no extra download beyond the Nunito latin file `styles.css` already loads.
|
|
1135
|
+
|
|
1136
|
+
### `Meter`: muted zones and segments share one flat fill
|
|
1137
|
+
|
|
1138
|
+
`tone: 'muted'` on a `MeterZone` or `MeterSegment` no longer steps lightness per part (2.22.0's ramp):
|
|
1139
|
+
an outer non-verdict band read as a value bar. Every muted zone now takes one flat `--vx-muted` fill
|
|
1140
|
+
(35%) and every muted segment one flat fill (65%, 3:1 on the track). Neighbours are told apart by the
|
|
1141
|
+
1px gap every zone after the first already leaves (the track shows through; no change there), a 1px
|
|
1142
|
+
track-coloured seam between muted segments, and their names; the marker stays the only strong mark.
|
|
1143
|
+
`data-meter-zone-seam` / `data-meter-seam` are test hooks, not styling API. The plain zone ramp (no `tone`) is unchanged, and a `color` still wins.
|
|
1144
|
+
|
|
1145
|
+
Opt-out: give a zone or segment its own `color`, or drop `tone` for the line ramp.
|
|
1146
|
+
|
|
1147
|
+
### `shot` desktop hover reports a hovering fine pointer
|
|
1148
|
+
|
|
1149
|
+
A headless Chromium with no pointing device reports `(hover: none)` / `(pointer: coarse)`, so no
|
|
1150
|
+
`@media (hover: hover)` rule (Mantine's filled `Button` hover, any consumer hover) applied in a
|
|
1151
|
+
desktop hover shot and the crop looked identical to rest. The launcher now starts Chrome with
|
|
1152
|
+
`--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4`;
|
|
1153
|
+
the mobile viewport (`hasTouch`) keeps `hover: none` / `pointer: coarse`. Desktop hover crops of
|
|
1154
|
+
filled controls now differ from rest, so a committed baseline of them will diff once. No opt-out:
|
|
1155
|
+
the previous crop was the defect.
|
|
1156
|
+
|
|
1157
|
+
`shot detect`'s `craft-7/no-declared-states` is now **P2** (reported, exit 0) instead of P1, and only
|
|
1158
|
+
fires on a route with an anchor that renders a state surface (`ChartCard`, `StatCard`, a chart
|
|
1159
|
+
state); it names those anchors and the `data-shot-states="empty loading error"` to add. A route
|
|
1160
|
+
without one gets no finding. A consumer that gated on exit 2 for it no longer does.
|
|
1161
|
+
|
|
1162
|
+
### Chart header, label and tick behaviour (round r3)
|
|
1163
|
+
|
|
1164
|
+
No export is removed and none is added. Seven chart defaults move; the first is the only one a consumer
|
|
1165
|
+
can see change on a page that was fine before.
|
|
1166
|
+
|
|
1167
|
+
| Surface | Before | Now |
|
|
1168
|
+
| ------------------------------------------------------------------ | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1169
|
+
| Tooltip header of a day-granular Date x under a consumer `formatX` | the tick format (`2 Sep`): weekday and year lost, though this file said otherwise | weekday, day, month and year in the page locale; `formatX` shortens the ticks only |
|
|
1170
|
+
| `Sparkline` `referenceLabel` | centred 4 px above its dashed line (struck through) at the plot edge | clear of the line (above, or below when the line is near the top), 3 px inside the plot start |
|
|
1171
|
+
| `ChartCard` `facts` `period` list behind a `unit` | `['basis']` ran into the unit; the separator joined between items only | `· basis`: the list leads with `·` behind a `unit` (an item already led by `·` is not doubled) |
|
|
1172
|
+
| Y tick labels when every tick is whole | a padding formatter printed `2.0 s` | `2 s`; the tooltip keeps the full format |
|
|
1173
|
+
| `BandStrip` glyph | drawn from a 12 px cell, unreadable | drawn from a 16 px cell (`Heatmap` keeps 12 px); a narrower warn/bad cell draws a bottom notch in its own fill pulled to the ink (3 px warn, 6 px bad) instead |
|
|
1174
|
+
| Empty chart (`state={{ empty: true }}`) with no label | the bare filler `No data` | `Nothing recorded in this range.`; a string `empty` still wins |
|
|
1175
|
+
| `Lines` end label near the plot's top or bottom edge | its flip offset could push it outside the plot (`Low` clipped) | its centre stays 7 px inside the plot |
|
|
1176
|
+
|
|
1177
|
+
Opt-out for the header: `tooltip={{ formatHeader: (x) => yourFormat(x) }}` restores any title. The
|
|
1178
|
+
`period` string form is unchanged (write it with its own `· ` as before).
|
|
1179
|
+
|
|
1180
|
+
### Strip `shotAbsent`; `Meter` prints no filler; nested radius steps
|
|
1181
|
+
|
|
1182
|
+
`StatGroup variant="strip"` takes `shotAbsent?: ('empty' | 'loading' | 'error')[]` on the group (every
|
|
1183
|
+
derived cell and footer anchor then carries `data-shot-absent`) and on a cell (replaces the group's for
|
|
1184
|
+
that cell). Additive.
|
|
1185
|
+
|
|
1186
|
+
A `Meter` with no reading no longer prints `No data` under the track: the reading is `—` and there is no
|
|
1187
|
+
caption. Opt-out: pass `emptyText` for the caption you want.
|
|
1188
|
+
|
|
1189
|
+
Two nested radii step down so `craft-1/nested-radius-step` passes: an inline `Code` inside an `Alert`
|
|
1190
|
+
is 3 px under the Alert's radius (was the tight 5 px), and the `SegmentedControl` (`ViewTabs`) indicator
|
|
1191
|
+
is 3 px under its own track radius (`--sc-radius` − 3, so a custom `radius` nests too; was 4 px at the
|
|
1192
|
+
default). The indicator change is global, not limited to card headers: the track-to-indicator gap was 2 px
|
|
1193
|
+
everywhere and the nested-radius lint step (≥ 3 px) wins over exact concentricity.
|
|
1194
|
+
|
|
1195
|
+
A strip cell's error body now says `Could not load` instead of `Failed`, matching the card, query and table wording.
|
|
1196
|
+
|
|
1197
|
+
Opt-out: `Code` has no `radius` prop — set `--basalt-code-radius` on an ancestor or `styles={{ root: {
|
|
1198
|
+
borderRadius } }}` on the `Code`; for the indicator, `styles={{ indicator: { borderRadius } }}` on the
|
|
1199
|
+
`SegmentedControl`.
|
|
1200
|
+
|
|
1201
|
+
### One error wording, bar Sparkline hover chrome (round r2)
|
|
1202
|
+
|
|
1203
|
+
No export is removed and none is added. Two defaults move.
|
|
1204
|
+
|
|
1205
|
+
| Surface | Before | Now |
|
|
1206
|
+
| ---------------------------- | ------------------------------------------ | --------------------------------------------------------------------- |
|
|
1207
|
+
| `ErrorState` with no `title` | `Something went wrong` | `Could not load`, the wording every other error default uses |
|
|
1208
|
+
| `Sparkline mark="bar"` hover | a point marker and a leader dot on the bar | none: the bar and the readout chip are the marker (a line keeps both) |
|
|
1209
|
+
|
|
1210
|
+
Opt-out: pass `title="Something went wrong"` to `ErrorState`. The `BasaltDataTable` error
|
|
1211
|
+
already renders the shared anatomy (status dot, title, message, Retry); an app that rebuilds it with
|
|
1212
|
+
`EmptyState` and a search glyph should drop that and pass `query`.
|
|
1213
|
+
|
|
1214
|
+
### Guards
|
|
1215
|
+
|
|
1216
|
+
`series-palette` promotes from `warn` to `error`: its grace entry (since 2.21.0) came due at 2.23.0.
|
|
1217
|
+
`check-theme` now fails on a series file whose palette misses a computed check (lightness, chroma,
|
|
1218
|
+
colour-blind separation, worst pair, contrast, group size); the fix is to retune the hex in the
|
|
1219
|
+
series file. Measured before flipping: argo `apps/dashboard` on 2.22.0 reports 0 findings.
|
|
1220
|
+
|
|
1221
|
+
Opt-out: `"basalt": { "severity": { "series-palette": "warn" } }` keeps it a warning;
|
|
1222
|
+
`"basalt": { "exemptRules": { "series-palette": ["<series file>"] } }` silences it for the file.
|
|
1223
|
+
|
|
1224
|
+
## 2.22.0 — Wave 37, argo's friction II
|
|
1225
|
+
|
|
1226
|
+
No export is removed. Five defaults move and one export is new.
|
|
1227
|
+
|
|
1228
|
+
### `PageSummary` (new export)
|
|
1229
|
+
|
|
1230
|
+
`import { PageSummary } from 'basalt-ui'` — the SPEC § 6.9 page-summary recipe: `sentence` (must carry
|
|
1231
|
+
a live number), `facts` (`null`/`false` drop; sans `xs` muted, `·` separators that never lead a wrapped
|
|
1232
|
+
line), `aside`, and `loading` for a same-shape skeleton. argo's `components/upstream/page-summary.tsx`
|
|
1233
|
+
is deleted in favour of it; its `facts` were mono, they are sans now (D33) — a fact that is a time may
|
|
1234
|
+
wrap itself in `<span style={{ fontFamily: 'var(--basalt-font-mono)' }}>`.
|
|
1235
|
+
|
|
1236
|
+
### Behaviour changes
|
|
1237
|
+
|
|
1238
|
+
| Surface | Before | Now | Opt-out |
|
|
1239
|
+
| ------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
|
|
1240
|
+
| `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` |
|
|
1241
|
+
| `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 |
|
|
1242
|
+
| `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` |
|
|
1243
|
+
| Filter pill (`PageBar filters`) | clipped at `15rem` | fits its selected option up to `24rem`, then truncates with the full name as `title` | none |
|
|
1244
|
+
| `ViewTabs` phone `Select` | 10.67 px inline-start inset | the `ctl` inset (10 px), the buttons' | none |
|
|
1245
|
+
|
|
1246
|
+
The sticky-PageBar anchor clearance argo filed (`--vx-space-sticky-header-clearance` 12 px vs a 36 px
|
|
1247
|
+
bar) needs no change: a shell-less `Section id` already adds the bar's published height
|
|
1248
|
+
(`--basalt-page-bar-h`), and in `BasaltShell` both bars sit outside the scrollport. `section-anchor`
|
|
1249
|
+
now pins the title, not just the root, at 390 and 1440.
|
|
1250
|
+
|
|
1251
|
+
### Chart facts, sparklines and strips gain tone, glyph and focus
|
|
1252
|
+
|
|
1253
|
+
New, additive: `ChartFact` takes `tone` (`good` / `warn` / `bad` / `muted`: ink only, never a fill)
|
|
1254
|
+
and `period` takes a list, joined by `·`; `ChartCard` takes `stale` (the facts dim to the strip
|
|
1255
|
+
cell's 0.55 while placeholder data shows) and `stateNoun` (an errored card reads "Could not load
|
|
1256
|
+
{stateNoun}"); `Sparkline` takes `tone="muted"` and `referenceLabel`; a state of `BandStrip` or
|
|
1257
|
+
`Heatmap` takes `glyph` (drawn centred in each of its cells wide enough for it, 12px); a `Heatmap`
|
|
1258
|
+
state takes `tone` (`good` / `warn` / `bad` / `neutral`) instead of a `color`. A categorical status grid is therefore `states` + `getState` with a
|
|
1259
|
+
`tone` per state, nothing read from `dist`.
|
|
1260
|
+
|
|
1261
|
+
**Changed defaults:**
|
|
1262
|
+
|
|
1263
|
+
- A failed `ChartCard` / `ChartPlaceholder` used to read "Could not load this chart"; it now reads
|
|
1264
|
+
"Could not load". **Opt out:** `stateNoun="this chart"` on the card restores the old words.
|
|
1265
|
+
- The `Sparkline` readout reads the value, then the day (`3 items · 12 Oct`, the label in the
|
|
1266
|
+
proportional sans, no longer mono and first), and rides the hovered point instead of sitting
|
|
1267
|
+
at the opposite corner. **Opt out:** none for the placement.
|
|
1268
|
+
- A line `Sparkline`'s plot has a 3px margin so its end marker clears the keyboard focus outline;
|
|
1269
|
+
the line is 6px shorter in each axis. **Opt out:** none.
|
|
1270
|
+
- A `BandStrip` or `Heatmap` state whose `color` is `VX.status.warn` / `VX.status.bad` (or whose
|
|
1271
|
+
`tone` is `warn` / `bad`) now draws `!` / `×` in its cells wide enough for it, in the panel
|
|
1272
|
+
surface ink. **Opt out:** `glyph: ''` on the state.
|
|
1273
|
+
- A `Heatmap` tooltip opens below the hovered cell (above only when there is no room), so it no
|
|
1274
|
+
longer covers the caption row over the grid. **Opt out:** none.
|
|
1275
|
+
|
|
1276
|
+
### Chart chrome: tooltips, ticks, reference captions and the `Lines` defaults
|
|
1277
|
+
|
|
1278
|
+
Wave 37, the cartesian half. Every change below is a default; the opt-out is named in each line.
|
|
1279
|
+
|
|
1280
|
+
- **`Lines` and `Bars` line overlays default to `curve: 'linear'`.** Discrete daily or monthly values
|
|
1281
|
+
are joined by straight segments; the smoothed curve drew crossings between points that never
|
|
1282
|
+
happened. **Opt out:** `curve: 'monotone'` on the series (a continuous measure). `StackedArea` and
|
|
1283
|
+
`Sparkline` are unchanged.
|
|
1284
|
+
- **A single-series chart draws no legend.** The title, the axis and the tooltip name it.
|
|
1285
|
+
**Opt out:** `legend={{}}` (any explicit `legend` config draws it).
|
|
1286
|
+
- **`Lines` takes `naming?: 'auto' | 'legend' | 'endLabels'`.** `auto` (default): from the wide class
|
|
1287
|
+
a chart of up to three lines and no `y2` names them with end labels and its legend is hidden; below
|
|
1288
|
+
wide the legend names them and no end label draws. A chart whose legend names more than its lines (a
|
|
1289
|
+
`y2`, a legend-named `refLines` entry, a `role: 'reference'` series) keeps the legend at every width
|
|
1290
|
+
and draws no end labels, as does one whose last point a narrower `xDomain` clips. From the wide class
|
|
1291
|
+
the legend's series toggle is gone with the legend. Two end labels that collide are now spread apart
|
|
1292
|
+
instead of both dropped. **Opt out:** `naming="legend"` for the old always-legend chart (toggle kept); `naming="endLabels"` for end labels
|
|
1293
|
+
at every width and no legend.
|
|
1294
|
+
- **The tooltip header reads the page locale and drops a clock time a daily bucket never had.** It
|
|
1295
|
+
was `Mon Sep 1 2026` (a fixed US order) and printed `22:00` for a bucket keyed by a local midnight
|
|
1296
|
+
east of UTC. A day-granular x (every step at least a day) is now the date only — weekday, day, month,
|
|
1297
|
+
year through `Intl` in the locale `BasaltProvider`/`defineFormat` set, on the nearest UTC day; a
|
|
1298
|
+
sub-day x adds `HH:MM`. **Opt out:** `tooltip.formatHeader`.
|
|
1299
|
+
- **A lone series whose formatted value already ends in its own name prints the name once**
|
|
1300
|
+
(`Sessions` / `27 sessions` is `Sessions` / `27`). **Opt out:** `tooltip.rows` for a custom row, or a
|
|
1301
|
+
`formatValue` that omits the unit.
|
|
1302
|
+
- **The tooltip name column never wraps.** It keeps a 6rem floor, stays on one line and ends in an
|
|
1303
|
+
ellipsis past 14rem; the value stays right-aligned. No prop; the full name is in the tooltip's
|
|
1304
|
+
accessible label.
|
|
1305
|
+
- **Y tick labels always sit in a gutter outside the plot.** The compact-and-short mode that drew them
|
|
1306
|
+
inside the plot, above their grid line, is gone (a line ran through the label). The plot is
|
|
1307
|
+
correspondingly narrower on a chart under 180 px tall at the compact width. **Opt out:** none.
|
|
1308
|
+
- **An auto y domain ends on a tick at or above the data's maximum.** The padded top could fall
|
|
1309
|
+
between ticks, so the line peaked above the last label (`4` as the top tick for a series reaching
|
|
1310
|
+
`5`); the domain now rises to the next tick. **Opt out:** `y.domain` as a tuple or function, or
|
|
1311
|
+
`y.nice`.
|
|
1312
|
+
- **Ticks and the legend share one size step** (the 11 px tick step, `VX.text.micro`); the legend was
|
|
1313
|
+
12 px. `VX.legendFontSize` is deleted (nothing else read it): use `VX.text.micro`. A bar legend swatch is one rounded
|
|
1314
|
+
square at every width (it was a circle below 480 px).
|
|
1315
|
+
- **`Bars` hover highlights the bar** (the hovered x paints at full series strength) and paints no
|
|
1316
|
+
crosshair rule; the rule is line-chart chrome. **Opt out:** none.
|
|
1317
|
+
|
|
1318
|
+
New, additive:
|
|
1319
|
+
|
|
1320
|
+
- **`RefLine.labelPosition`:** `'end-above' | 'end-below' | 'start-above' | 'start-below'` pins the
|
|
1321
|
+
caption's spot. Without it the caption takes the first spot (the plot's end above the line; the
|
|
1322
|
+
start for a right-axis line) that stays inside the plot and that no data line runs through, so a
|
|
1323
|
+
line in the top or bottom quarter, or one a series ends on, moves its caption instead of sitting on
|
|
1324
|
+
the data. **Opt out:** pin the old spot with `'end-above'`.
|
|
1325
|
+
- **`StackedArea` `fillOpacity`:** every band's opacity, 0–1; a band's own `fillOpacity` wins. The
|
|
1326
|
+
default (0.85) and the legend swatch are unchanged without it.
|
|
1327
|
+
|
|
1328
|
+
### `Meter`: the reading once, muted zones, stops, ring ticks, captions at their marks
|
|
1329
|
+
|
|
1330
|
+
New, additive (a `Meter` that passes none of them draws as before):
|
|
1331
|
+
|
|
1332
|
+
- `reading={false}` — a zoned bar prints no reading at its marker (the marker keeps its
|
|
1333
|
+
`aria-valuenow` / `aria-valuetext`). Inside a basalt host (`StatCard` slot, strip `visual`) it was
|
|
1334
|
+
already dropped; pass `reading` there to print it. Use it when your own headline states the value.
|
|
1335
|
+
- `track={false}` — a `value` bar with no `target` and no `ticks` draws no track (still `role="meter"`).
|
|
1336
|
+
- `tone: 'muted'` on a `MeterZone` or `MeterSegment` — a muted lightness ramp instead of the line ramp.
|
|
1337
|
+
- `shape="ring"` takes `target` and `ticks`: a short radial mark at the value, listed in the
|
|
1338
|
+
described-by text; the value stays centred.
|
|
1339
|
+
- `stops: { at, color }[]` on a `value` bar — one gradient track through your colours with the reading
|
|
1340
|
+
as a marker; no labels unless `ticks` are given.
|
|
1341
|
+
- A plain bar or ring with no `tone` / `color` takes its host's verdict tone once a host passes one.
|
|
1342
|
+
|
|
1343
|
+
Changed behaviour (no API change):
|
|
1344
|
+
|
|
1345
|
+
- **Captions sit at their marks.** The forecast caption and the target caption are centred on their
|
|
1346
|
+
tick (clamped inside the track) instead of at the track end, whenever every caption fits a gap step
|
|
1347
|
+
apart; otherwise the row flows and wraps as before. **Opt out:** pass your own `endCaption` (it stays
|
|
1348
|
+
at the end as written); the forecast caption has no opt-out beyond `forecastCaption`.
|
|
1349
|
+
- **Ticks keep a gap step from zone names, and the end tick yields.** A tick on the zone row now keeps at
|
|
1350
|
+
least `--vx-space-control-gap` from every label (it was "not touching"); zone names among themselves
|
|
1351
|
+
keep the old rule. A zone name
|
|
1352
|
+
that clears the holding one is placed before a tick at the track's start or end, so that end tick
|
|
1353
|
+
hides where it would touch the name (a zone name used to lose to it); interior labelled ticks still
|
|
1354
|
+
beat a name. A hidden name or tick stays in the described-by text. **Opt out:** none; give the zone a
|
|
1355
|
+
`short` label.
|
|
1356
|
+
- **The uncoloured zone ramp is floored at 15 points per step**, so five or more zones step further
|
|
1357
|
+
apart than before (cap 95 %); `tone: 'muted'` uses the same ramp. Up to six zones (five segments)
|
|
1358
|
+
stay distinguishable by lightness.
|
|
1359
|
+
- **`size="row"` keeps categorical part captions** (swatch, name, value); it dropped them before, so
|
|
1360
|
+
the parts were unnamed. **Opt out:** none for `segments`; a `value` bar is unaffected.
|
|
1361
|
+
- **Part captions never wrap inside themselves** while they fit: each sits under its own segment when
|
|
1362
|
+
all of them fit there, else the wrapped list (a caption wider than the row still wraps).
|
|
1363
|
+
|
|
1364
|
+
### Strip cells end at their content (`StatGroup variant="strip"`)
|
|
1365
|
+
|
|
1366
|
+
**Changed:** each strip cell now spans only the shared tracks down to its last part, so a cell's own
|
|
1367
|
+
box (`[data-strip-cell]`, `data-shot="strip-<key>"`) ends at its content instead of filling the row
|
|
1368
|
+
height. Captions still share one top and values one baseline across a row; a footer under a hero
|
|
1369
|
+
alone now has its own track right under the hero (it hugs the value, and sibling footers share one
|
|
1370
|
+
top); a rows cell's footer keeps the shared footer track. The vertical dividers moved from the cell
|
|
1371
|
+
to a row-high `[data-strip-slot]` wrapper, so they still run the full row and the area under a short
|
|
1372
|
+
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
|
|
1373
|
+
the wrapper stay at full strength.
|
|
1374
|
+
**Affects you if** you selected `[data-strip-cell]` for its height or its box-shadow, or painted a
|
|
1375
|
+
background on it. **Opt out:** none needed for markup; a custom rule that needs the old full-row
|
|
1376
|
+
cell can target `[data-strip-slot]` instead (it is the row-high box). No per-cell `align="stretch"`
|
|
1377
|
+
was added: no consumer case needs it.
|
|
1378
|
+
|
|
1379
|
+
A strip footer-row entry that is a `Meter` now keeps its start and end captions together
|
|
1380
|
+
(`Today €5 €5 left of €10`) instead of at the two ends of a wide track.
|
|
1381
|
+
|
|
1382
|
+
New, additive: `StatStripCell.action` (a control at the end of the caption line; the caption
|
|
1383
|
+
truncates first, so it never wraps the line), and `StatStripRow.hideValue` (print the row label
|
|
1384
|
+
only, for a reading the hero already shows; `value` is ignored).
|
|
1385
|
+
|
|
1386
|
+
### A cell's `tone` colours its visual
|
|
1387
|
+
|
|
1388
|
+
A strip cell's `tone` (and `StatCard`'s) now also reaches a plain `Meter` in its `visual` / sparkline
|
|
1389
|
+
slot as the fill's verdict colour, not just the value. **Opt out:** give the `Meter` its own `tone` or
|
|
1390
|
+
`color`.
|
|
1391
|
+
|
|
1392
|
+
### `StatCard` states
|
|
1393
|
+
|
|
1394
|
+
**Changed:** in the `empty` and `error` states the `subtitle` footer is no longer drawn (it captioned
|
|
1395
|
+
a sparkline that is not there). The default error title is `Could not load` (was
|
|
1396
|
+
`Could not load this figure`) so the error line stays on one line in a two-column phone card. A
|
|
1397
|
+
`qualifier` in a card narrower than 240px (a two-column phone cell) no longer wraps under the caption:
|
|
1398
|
+
it truncates, with the full text in its `title`, so the value keeps its row neighbours' line. That
|
|
1399
|
+
is the whole guarantee: in a card of 240px or more a long qualifier still wraps and moves the value
|
|
1400
|
+
down a line (measured: 10px at a 304px card). **Opt out:** put the
|
|
1401
|
+
text in `info` or `subtitle` instead of `qualifier`; for the error title, render `ErrorState` yourself.
|
|
1402
|
+
|
|
1403
|
+
### `BarList` in a wide container
|
|
1404
|
+
|
|
1405
|
+
A thin `BarList` in a container 480px or wider now lays each row out as `[label][value][secondary][track]`:
|
|
1406
|
+
the label column fits the longest label (capped at 40% or 14rem, truncating with its `title`), value and secondary
|
|
1407
|
+
are right-aligned and shared by every row, and the bar track takes the remaining width on the one shared
|
|
1408
|
+
scale. Compact containers keep the stacked layout. Every state (list, loading, empty) is now a `div`
|
|
1409
|
+
frame around the list, and `className` / `style` land on that frame. The frame is a size container
|
|
1410
|
+
named `basalt-card` (the only names the theme guard permits) with `inline-size: 100%`: it shadows an
|
|
1411
|
+
enclosing card's container for the list's descendants only, and the 480px threshold measures the list's
|
|
1412
|
+
own width. Opt-out: `variant="inline"` is unchanged; to keep the stacked
|
|
1413
|
+
thin layout in a wide card, constrain the list's width below 480px.
|
|
1414
|
+
|
|
1415
|
+
### `basalt-ui shot` captures tall anchors and keeps chrome off crops; `init` wires a stock Vite app
|
|
1416
|
+
|
|
1417
|
+
**Changed:** an anchor that is not rendered at a viewport (a hidden mobile pane, `display: none`) now
|
|
1418
|
+
fails in under 5 s with the reason, where it used to wait out a 30 s Playwright timeout: a hover,
|
|
1419
|
+
focus or tooltip shot is recorded `absent`, a `rest` shot stays an `error` unless the anchor
|
|
1420
|
+
declares `data-shot-absent="rest"`. A hung step costs 5 s, never 30. Crops of an anchor hide the shell's fixed and
|
|
1421
|
+
sticky chrome (PageBar, mobile bottom nav) for the shot, and an anchor taller than the viewport is
|
|
1422
|
+
captured whole (the viewport grows for that shot). The `_page` shot grows the viewport by what an
|
|
1423
|
+
inner scrollport hides, so it reaches the end of the page at 390 with the chrome kept. Focus, hover
|
|
1424
|
+
and tooltip crops read the anchor's box once it stops moving. A route whose anchors declare no
|
|
1425
|
+
`data-shot-states` logs a warning, its URL-state shots carry the note `page declares no
|
|
1426
|
+
data-shot-states`, and `shot detect` reports it as `craft-7/no-declared-states` (P1, exit 2).
|
|
1427
|
+
**Opt out:** none for the capture; declare `data-shot-states` on an anchor (`empty loading error`)
|
|
1428
|
+
to clear the finding.
|
|
1429
|
+
|
|
1430
|
+
`basalt-ui init` over an unmodified create-vite `src/main.tsx` now replaces it with the seeded entry
|
|
1431
|
+
and adds the peers `basalt-ui` imports (Mantine, TanStack Router and Query, the three fonts,
|
|
1432
|
+
`motion`) to `package.json` `dependencies`; it prints `bun install` and never installs. An edited
|
|
1433
|
+
`main.tsx` is still left alone, with the wiring steps and the missing peers printed. **Opt out:**
|
|
1434
|
+
edit `main.tsx` before running `init`.
|
|
1435
|
+
|
|
1436
|
+
### Selected Tabs are ink in every variant
|
|
1437
|
+
|
|
1438
|
+
**Changed default:** the selected `pills` tab filled with the accent and the `outline` border took the
|
|
1439
|
+
default border; both now follow `default`'s underline and read by ink. The pill is an ink-mixed
|
|
1440
|
+
panel with an ink label, the outline border is ink. **Opt out:** pass `color="blue"` (any
|
|
1441
|
+
colour) and the tab keeps its hue and the on-colour label.
|
|
1442
|
+
|
|
1443
|
+
### A status `Badge` is a dot on the neutral surface
|
|
1444
|
+
|
|
1445
|
+
**Changed default:** the `light` Badge (the theme default) painted a tint of its colour, so a row of
|
|
1446
|
+
status chips read as coloured slabs. It is now the subtle surface with an ink word, and a named theme
|
|
1447
|
+
colour (`color="green"`, `"red.6"`, `"#e03131"`, a var) adds a leading 6px dot in that colour; an unnamed or `gray` chip has no dot.
|
|
1448
|
+
A `leftSection` or `rightSection` replaces the dot. `filled`, `outline`, `dot` and `default` are
|
|
1449
|
+
unchanged, so an accent count keeps its fill. **Opt out:** `variant="filled"` for the old strong chip,
|
|
1450
|
+
or a per-site `vars` with `--badge-bg` and `--badge-color` for the tint.
|
|
1451
|
+
|
|
1452
|
+
### Disabled Button and the icon-side inset
|
|
1453
|
+
|
|
1454
|
+
**Changed default:** a disabled `Button`/`ActionIcon` has one ink-mixed panel surface in both schemes
|
|
1455
|
+
(dark had none and read as the subtle variant). A `Button`'s `leftSection`/`rightSection` inset now
|
|
1456
|
+
equals its text side (it was one scale step tighter: 8/12, 12/16, 12/20), so an icon Button is
|
|
1457
|
+
balanced and one step wider. **Opt out:** set `--button-section-padding-x` on the Button.
|
|
1458
|
+
|
|
1459
|
+
### No slashed zero in titles; no mono ligatures
|
|
1460
|
+
|
|
1461
|
+
**Changed default:** `:root` resets the `zero` feature (its off state; nothing in the package turns it
|
|
1462
|
+
on), so every head-face surface (headings, `Title`, section/card/widget titles, a CSS-module class that
|
|
1463
|
+
only sets the family) inherits a plain zero: `2026` and `90 days` no longer carry a slashed one.
|
|
1464
|
+
`font-variant-ligatures: none` applies to `code`, `kbd`, `samp`, `pre`, `[data-numeric]`,
|
|
1465
|
+
`[data-monospace]`, a `ff="monospace"` Text and `Code`/`Kbd`, so `<>` in a facts line is two
|
|
1466
|
+
characters; body sans keeps its ligatures. Mono-only CSS-module classes are not reached by the
|
|
1467
|
+
ligature selectors (follow-up). **Opt out:** an unlayered `font-feature-settings` or
|
|
1468
|
+
`font-variant-ligatures` on the element.
|
|
1469
|
+
|
|
1470
|
+
### Chart focus ring
|
|
1471
|
+
|
|
1472
|
+
**Fixed:** the chart host's keyboard focus ring was the UA ring (white in dark); it is now
|
|
1473
|
+
`2px solid var(--vx-accent)`, like every Mantine control. It was never a mobile or coarse-pointer
|
|
1474
|
+
branch: no `mantine-focus-*` class reaches the host, so the UA drew it at every width in dark.
|
|
1475
|
+
|
|
1476
|
+
### `VX.surface.rowHover` and `VX.surface.rowSelected`
|
|
1477
|
+
|
|
1478
|
+
New, additive: `--vx-surface-row-hover` and `--vx-surface-row-selected`, typed on `VX.surface`. The
|
|
1479
|
+
panel mixed toward the ink (5% / 7.5% light, 7% / 9% dark), so a hovered or selected row on a panel
|
|
1480
|
+
reads in both schemes where `panelHover` (lighter than `panel` in light) does not. Replace a
|
|
1481
|
+
hand-rolled `color-mix(in srgb, var(--vx-ink) N%, …)` row wash with them.
|
|
1482
|
+
|
|
1483
|
+
**Changed default (derivation):** the row surfaces join the status-text solve, and every text colour
|
|
1484
|
+
clears 4.5:1 on both. At the default config three status hexes moved to clear them: good light
|
|
1485
|
+
`#327a4d` → `#2f774b`, warn light `#966200` → `#935f00`, bad dark `#f97d74` → `#fe8178`; and the dark
|
|
1486
|
+
`faint` ink `#a1a1a4` → `#a7a7aa` (tone 66.24 → 68.5). **Opt out:** none for the hexes; a consumer
|
|
1487
|
+
that pinned them reads them from `VX.status.*` / `VX.faint`.
|
|
1488
|
+
|
|
1049
1489
|
## 2.21.0 — strip cell state, one Retry, and the marker reading
|
|
1050
1490
|
|
|
1051
1491
|
### One Retry in the shared error anatomy
|
|
@@ -19,7 +19,7 @@ A shot out dir (default `.basalt/shots`, or the `out` in `.basalt/shots/last.jso
|
|
|
19
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.
|
|
20
20
|
- A layout-suite result, only if the out dir has one.
|
|
21
21
|
|
|
22
|
-
A shot with status `not-declared`, `absent` (
|
|
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` (P2, reported and non-failing) when an anchor renders a state surface, naming those anchors and the `data-shot-states="empty loading error"` to add; a route with no such anchor gets no finding. 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).
|
|
23
23
|
|
|
24
24
|
## Fail closed
|
|
25
25
|
|