basalt-ui 2.27.2 → 2.29.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 +466 -307
- package/MIGRATING.md +358 -12
- package/agent/rules/basalt-batteries.md +1 -1
- package/agent/rules/basalt-mantine.md +1 -1
- package/agent/rules/basalt-tokens.md +2 -2
- package/agent/skills/basalt-app/SKILL.md +3 -3
- package/agent/skills/basalt-charts/SKILL.md +1 -1
- package/agent/skills/basalt-design/SKILL.md +12 -6
- package/agent/skills/basalt-design/references/catalogue.md +42 -36
- package/agent/skills/basalt-design/references/recipes.md +47 -0
- package/agent/skills/basalt-design/references/states.md +1 -1
- package/configs/oxlint-basalt.json +2 -1
- package/configs/oxlint-plugin.js +112 -3
- package/configs/oxlint-plugin.test.ts +99 -4
- package/configs/oxlint.json +1 -0
- package/dist/agent/chat/thread-message.d.ts +1 -160
- package/dist/agent/chat/thread-message.d.ts.map +1 -1
- package/dist/agent/chat/thread-message.js +7 -162
- package/dist/agent/chat/virtualize.d.ts +5 -5
- package/dist/charts/ChartCard.d.ts +14 -7
- package/dist/charts/ChartCard.d.ts.map +1 -1
- package/dist/charts/ChartCard.js +112 -23
- package/dist/charts/Lines.d.ts.map +1 -1
- package/dist/charts/Lines.js +11 -4
- package/dist/charts/Sparkline.d.ts +14 -2
- package/dist/charts/Sparkline.d.ts.map +1 -1
- package/dist/charts/Sparkline.js +155 -44
- package/dist/charts/chart-box.module.css +59 -2
- package/dist/charts/chart-box.module.css.d.ts +5 -0
- package/dist/charts/chart-card.module.css +28 -17
- package/dist/charts/chart-card.module.css.d.ts +3 -0
- package/dist/charts/compile.d.ts +1 -1
- package/dist/charts/compile.d.ts.map +1 -1
- package/dist/charts/compile.js +38 -27
- package/dist/charts/labels.d.ts +13 -3
- package/dist/charts/labels.d.ts.map +1 -1
- package/dist/charts/labels.js +131 -20
- package/dist/charts/legend.d.ts.map +1 -1
- package/dist/charts/legend.js +1 -1
- package/dist/charts/ref-label.d.ts +37 -8
- package/dist/charts/ref-label.d.ts.map +1 -1
- package/dist/charts/ref-label.js +55 -10
- package/dist/charts/sparkline.module.css +50 -0
- package/dist/charts/sparkline.module.css.d.ts +3 -0
- package/dist/charts/state.d.ts +4 -4
- package/dist/charts/state.d.ts.map +1 -1
- package/dist/charts/state.js +23 -5
- package/dist/cli/doctor-upgrade.d.ts +11 -0
- package/dist/cli/doctor-upgrade.d.ts.map +1 -1
- package/dist/cli/doctor-upgrade.js +54 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +32 -0
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +8 -3
- package/dist/cli/index.d.ts +13 -13
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +36 -2
- package/dist/cli/init.d.ts +6 -0
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +118 -27
- package/dist/cli/router-wiring.d.ts +3 -0
- package/dist/cli/router-wiring.d.ts.map +1 -1
- package/dist/cli/router-wiring.js +2 -0
- package/dist/cli/shot/capture.d.ts +34 -2
- package/dist/cli/shot/capture.d.ts.map +1 -1
- package/dist/cli/shot/capture.js +95 -12
- package/dist/cli/shot/detect.d.ts +4 -1
- package/dist/cli/shot/detect.d.ts.map +1 -1
- package/dist/cli/shot/detect.js +38 -16
- package/dist/cli/shot/index.d.ts.map +1 -1
- package/dist/cli/shot/index.js +9 -2
- package/dist/cli/shot/measure.d.ts.map +1 -1
- package/dist/cli/shot/measure.js +11 -2
- package/dist/cli/shot/types.d.ts +4 -1
- package/dist/cli/shot/types.d.ts.map +1 -1
- package/dist/cli/sync.d.ts.map +1 -1
- package/dist/cli/sync.js +10 -2
- package/dist/common/could-not-load.d.ts +13 -0
- package/dist/common/could-not-load.d.ts.map +1 -0
- package/dist/common/could-not-load.js +14 -0
- package/dist/common/empty-copy.d.ts +16 -0
- package/dist/common/empty-copy.d.ts.map +1 -0
- package/dist/common/empty-copy.js +9 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +3 -0
- package/dist/common/props.d.ts +20 -0
- package/dist/common/props.d.ts.map +1 -1
- package/dist/common/props.js +13 -1
- package/dist/common/retry-button.module.css +7 -3
- package/dist/common/virtual-rows.d.ts +196 -0
- package/dist/common/virtual-rows.d.ts.map +1 -0
- package/dist/common/virtual-rows.js +290 -0
- package/dist/controls/controls.module.css +33 -1
- package/dist/controls/controls.module.css.d.ts +2 -0
- package/dist/controls/enum-filter.d.ts.map +1 -1
- package/dist/controls/enum-filter.js +8 -2
- package/dist/controls/filter-pill.d.ts +27 -3
- package/dist/controls/filter-pill.d.ts.map +1 -1
- package/dist/controls/filter-pill.js +15 -4
- package/dist/controls/form-layout.d.ts +9 -3
- package/dist/controls/form-layout.d.ts.map +1 -1
- package/dist/controls/form-layout.js +74 -12
- package/dist/controls/form-layout.module.css +112 -7
- package/dist/controls/form-layout.module.css.d.ts +1 -0
- package/dist/controls/multi-select-filter.d.ts +2 -2
- package/dist/controls/multi-select-filter.d.ts.map +1 -1
- package/dist/controls/multi-select-filter.js +12 -6
- package/dist/controls/range-filter.d.ts +1 -1
- package/dist/controls/range-filter.d.ts.map +1 -1
- package/dist/controls/range-filter.js +8 -2
- package/dist/dashboard/bar-list.d.ts +5 -5
- 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 +21 -5
- package/dist/dashboard/board-nav.d.ts +22 -0
- package/dist/dashboard/board-nav.d.ts.map +1 -0
- package/dist/dashboard/board-nav.js +49 -0
- package/dist/dashboard/board.d.ts +52 -0
- package/dist/dashboard/board.d.ts.map +1 -0
- package/dist/dashboard/board.js +247 -0
- package/dist/dashboard/board.module.css +179 -0
- package/dist/dashboard/board.module.css.d.ts +28 -0
- package/dist/dashboard/empty-state.d.ts +6 -6
- package/dist/dashboard/empty-state.d.ts.map +1 -1
- package/dist/dashboard/empty-state.js +17 -8
- package/dist/dashboard/event-list-model.d.ts +54 -0
- package/dist/dashboard/event-list-model.d.ts.map +1 -0
- package/dist/dashboard/event-list-model.js +76 -0
- package/dist/dashboard/event-list-rows.d.ts +23 -0
- package/dist/dashboard/event-list-rows.d.ts.map +1 -0
- package/dist/dashboard/event-list-rows.js +89 -0
- package/dist/dashboard/event-list-scroll.d.ts +55 -0
- package/dist/dashboard/event-list-scroll.d.ts.map +1 -0
- package/dist/dashboard/event-list-scroll.js +216 -0
- package/dist/dashboard/event-list-skeleton.d.ts +10 -0
- package/dist/dashboard/event-list-skeleton.d.ts.map +1 -0
- package/dist/dashboard/event-list-skeleton.js +34 -0
- package/dist/dashboard/event-list.d.ts +65 -0
- package/dist/dashboard/event-list.d.ts.map +1 -0
- package/dist/dashboard/event-list.js +208 -0
- package/dist/dashboard/event-list.module.css +336 -0
- package/dist/dashboard/event-list.module.css.d.ts +34 -0
- package/dist/dashboard/index.d.ts +2 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +4 -0
- package/dist/dashboard/meter-model.d.ts +6 -3
- package/dist/dashboard/meter-model.d.ts.map +1 -1
- package/dist/dashboard/meter-model.js +9 -4
- package/dist/dashboard/meter-parts.d.ts +3 -0
- package/dist/dashboard/meter-parts.d.ts.map +1 -1
- package/dist/dashboard/meter-parts.js +36 -6
- package/dist/dashboard/meter.d.ts +3 -3
- package/dist/dashboard/meter.d.ts.map +1 -1
- package/dist/dashboard/meter.js +10 -2
- package/dist/dashboard/meter.module.css +20 -12
- package/dist/dashboard/meter.module.css.d.ts +0 -1
- package/dist/dashboard/page-summary.d.ts +3 -3
- package/dist/dashboard/page-summary.d.ts.map +1 -1
- package/dist/dashboard/page-summary.js +7 -2
- package/dist/dashboard/page-summary.module.css +5 -2
- package/dist/dashboard/query-state.d.ts +9 -8
- package/dist/dashboard/query-state.d.ts.map +1 -1
- package/dist/dashboard/query-state.js +29 -11
- package/dist/dashboard/section.d.ts +11 -3
- package/dist/dashboard/section.d.ts.map +1 -1
- package/dist/dashboard/section.js +34 -7
- package/dist/dashboard/settings-section.d.ts +8 -5
- package/dist/dashboard/settings-section.d.ts.map +1 -1
- package/dist/dashboard/settings-section.js +12 -8
- package/dist/dashboard/settings-section.module.css +25 -4
- package/dist/dashboard/settings-section.module.css.d.ts +1 -0
- package/dist/dashboard/stat-card-parts.d.ts +5 -1
- package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
- package/dist/dashboard/stat-card-parts.js +8 -3
- package/dist/dashboard/stat-card.d.ts +3 -3
- package/dist/dashboard/stat-card.d.ts.map +1 -1
- package/dist/dashboard/stat-card.js +47 -12
- package/dist/dashboard/stat-card.module.css +42 -7
- package/dist/dashboard/stat-card.module.css.d.ts +3 -0
- package/dist/dashboard/stat-group.d.ts +2 -2
- package/dist/dashboard/stat-group.d.ts.map +1 -1
- package/dist/dashboard/stat-group.js +10 -3
- package/dist/dashboard/stat-strip.d.ts +5 -4
- package/dist/dashboard/stat-strip.d.ts.map +1 -1
- package/dist/dashboard/stat-strip.js +41 -31
- package/dist/dashboard/stat-strip.module.css +8 -6
- package/dist/dashboard/visual-slot.d.ts +4 -0
- package/dist/dashboard/visual-slot.d.ts.map +1 -1
- package/dist/dashboard/visual-slot.js +2 -0
- package/dist/dashboard/widget-header.d.ts +6 -6
- package/dist/dashboard/widget-header.d.ts.map +1 -1
- package/dist/dashboard/widget-header.js +4 -2
- package/dist/dashboard/widget-header.module.css +12 -15
- package/dist/format/shared.d.ts.map +1 -1
- package/dist/format/shared.js +24 -1
- package/dist/guard/index.d.ts +1 -1
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/shell/app-main.module.css +18 -0
- package/dist/styles.css +69 -0
- package/dist/surfaces.d.ts +2 -2
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +8 -2
- package/dist/table/cell-kinds.d.ts +47 -0
- package/dist/table/cell-kinds.d.ts.map +1 -0
- package/dist/table/cell-kinds.js +180 -0
- package/dist/table/cell-kinds.module.css +55 -0
- package/dist/table/cell-kinds.module.css.d.ts +15 -0
- package/dist/table/data-table-fold.d.ts +155 -0
- package/dist/table/data-table-fold.d.ts.map +1 -0
- package/dist/table/data-table-fold.js +320 -0
- package/dist/table/data-table-state.d.ts +10 -3
- package/dist/table/data-table-state.d.ts.map +1 -1
- package/dist/table/data-table-state.js +11 -6
- package/dist/table/data-table.d.ts +13 -28
- package/dist/table/data-table.d.ts.map +1 -1
- package/dist/table/data-table.js +362 -255
- package/dist/table/data-table.module.css +282 -3
- package/dist/table/data-table.module.css.d.ts +16 -0
- package/dist/table/table-features.d.ts +34 -4
- package/dist/table/table-features.d.ts.map +1 -1
- package/dist/table/table-features.js +10 -0
- package/dist/theme/card-inset.module.css +35 -0
- package/dist/theme/controls.module.css +55 -2
- package/dist/theme/ctl-theme.d.ts.map +1 -1
- package/dist/theme/ctl-theme.js +5 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +14 -10
- package/dist/tokens/core.d.ts +1 -0
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +1 -0
- package/dist/tokens/derive.js +1 -1
- package/dist/tokens/palette.d.ts +2 -1
- package/dist/tokens/palette.d.ts.map +1 -1
- package/llms.txt +295 -5
- package/package.json +1 -1
- package/src/agent/chat/thread-message.tsx +10 -403
- package/src/agent/chat/virtualize.ts +5 -5
- package/src/charts/ChartCard.tsx +175 -31
- package/src/charts/Lines.tsx +13 -4
- package/src/charts/Sparkline.tsx +213 -48
- package/src/charts/chart-box.module.css +59 -2
- package/src/charts/chart-box.module.css.d.ts +5 -0
- package/src/charts/chart-card.module.css +28 -17
- package/src/charts/chart-card.module.css.d.ts +3 -0
- package/src/charts/compile.ts +59 -33
- package/src/charts/labels.ts +175 -24
- package/src/charts/legend.tsx +3 -2
- package/src/charts/ref-label.ts +114 -18
- package/src/charts/sparkline.module.css +50 -0
- package/src/charts/sparkline.module.css.d.ts +3 -0
- package/src/charts/state.tsx +40 -10
- package/src/cli/doctor-upgrade.ts +75 -0
- package/src/cli/doctor.ts +36 -0
- package/src/cli/help.ts +16 -6
- package/src/cli/index.ts +73 -67
- package/src/cli/init.ts +157 -36
- package/src/cli/router-wiring.ts +2 -2
- package/src/cli/shot/capture.ts +138 -16
- package/src/cli/shot/detect.ts +46 -22
- package/src/cli/shot/index.ts +8 -2
- package/src/cli/shot/measure.ts +11 -2
- package/src/cli/shot/types.ts +4 -1
- package/src/cli/sync.ts +12 -2
- package/src/common/could-not-load.ts +22 -0
- package/src/common/empty-copy.ts +17 -0
- package/src/common/index.ts +1 -0
- package/src/common/props.ts +30 -0
- package/src/common/retry-button.module.css +7 -3
- package/src/common/virtual-rows.tsx +682 -0
- package/src/controls/controls.module.css +33 -1
- package/src/controls/controls.module.css.d.ts +2 -0
- package/src/controls/enum-filter.tsx +8 -2
- package/src/controls/filter-pill.tsx +80 -27
- package/src/controls/form-layout.module.css +112 -7
- package/src/controls/form-layout.module.css.d.ts +1 -0
- package/src/controls/form-layout.tsx +115 -22
- package/src/controls/multi-select-filter.tsx +22 -11
- package/src/controls/range-filter.tsx +9 -3
- package/src/dashboard/bar-list.module.css +21 -5
- package/src/dashboard/bar-list.tsx +53 -45
- package/src/dashboard/board-nav.ts +67 -0
- package/src/dashboard/board.module.css +179 -0
- package/src/dashboard/board.module.css.d.ts +28 -0
- package/src/dashboard/board.tsx +415 -0
- package/src/dashboard/empty-state.tsx +21 -11
- package/src/dashboard/event-list-model.ts +125 -0
- package/src/dashboard/event-list-rows.tsx +117 -0
- package/src/dashboard/event-list-scroll.ts +291 -0
- package/src/dashboard/event-list-skeleton.tsx +62 -0
- package/src/dashboard/event-list.module.css +336 -0
- package/src/dashboard/event-list.module.css.d.ts +34 -0
- package/src/dashboard/event-list.tsx +336 -0
- package/src/dashboard/index.ts +2 -0
- package/src/dashboard/meter-model.ts +16 -7
- package/src/dashboard/meter-parts.tsx +53 -14
- package/src/dashboard/meter.module.css +20 -12
- package/src/dashboard/meter.module.css.d.ts +0 -1
- package/src/dashboard/meter.tsx +36 -18
- package/src/dashboard/page-summary.module.css +5 -2
- package/src/dashboard/page-summary.tsx +13 -6
- package/src/dashboard/query-state.tsx +55 -30
- package/src/dashboard/section.tsx +83 -41
- package/src/dashboard/settings-section.module.css +25 -4
- package/src/dashboard/settings-section.module.css.d.ts +1 -0
- package/src/dashboard/settings-section.tsx +18 -8
- package/src/dashboard/stat-card-parts.tsx +20 -3
- package/src/dashboard/stat-card.module.css +42 -7
- package/src/dashboard/stat-card.module.css.d.ts +3 -0
- package/src/dashboard/stat-card.tsx +55 -13
- package/src/dashboard/stat-group.tsx +22 -14
- package/src/dashboard/stat-strip.module.css +8 -6
- package/src/dashboard/stat-strip.tsx +29 -20
- package/src/dashboard/visual-slot.ts +5 -0
- package/src/dashboard/widget-header.module.css +12 -15
- package/src/dashboard/widget-header.tsx +8 -5
- package/src/format/shared.ts +30 -1
- package/src/guard/index.ts +7 -1
- package/src/index.ts +4 -0
- package/src/shell/app-main.module.css +18 -0
- package/src/styles.css +69 -0
- package/src/surfaces.ts +7 -1
- package/src/table/cell-kinds.module.css +55 -0
- package/src/table/cell-kinds.module.css.d.ts +15 -0
- package/src/table/cell-kinds.tsx +263 -0
- package/src/table/data-table-fold.tsx +567 -0
- package/src/table/data-table-state.ts +24 -13
- package/src/table/data-table.module.css +282 -3
- package/src/table/data-table.module.css.d.ts +16 -0
- package/src/table/data-table.tsx +430 -362
- package/src/table/table-features.ts +44 -4
- package/src/theme/__snapshots__/plain-theme.test.ts.snap +2 -66
- package/src/theme/card-inset.module.css +35 -0
- package/src/theme/controls.module.css +55 -2
- package/src/theme/ctl-theme.tsx +8 -0
- package/src/theme/index.ts +12 -8
- package/src/tokens/core.ts +1 -0
- package/src/tokens/derive.ts +1 -1
- package/src/tokens/palette.ts +4 -1
package/MIGRATING.md
CHANGED
|
@@ -32,6 +32,8 @@ catch a shape it cannot rewrite), and it FAILS rather than doing nothing when th
|
|
|
32
32
|
it. If you are reading a heading that still says `Unreleased` in an installed tarball, that is a
|
|
33
33
|
bug, not an authoring slip.
|
|
34
34
|
|
|
35
|
+
**Each release's `### Visible without code change` subsection lists what a consumer sees with no edit of its own** (`basalt-ui doctor --from <version>` prints it). Standing for every release: `tokens:css --check` is byte-exact, so it fails after each bump until the sheet is re-emitted; `doctor` prints the command.
|
|
36
|
+
|
|
35
37
|
**Skipping that step is what this file's worst defect was.** 1.27.0, 1.28.0 and 1.29.0 all shipped
|
|
36
38
|
under one `## Unreleased` heading — ~1000 lines, two of its subsections still titled "targeting
|
|
37
39
|
1.29.0" weeks after 1.29.0 was on npm. Four of five consumer migrations off 1.25.0/1.27.0 named it
|
|
@@ -66,18 +68,18 @@ There is one row per SURFACE, not per export, and a surface earns a row once any
|
|
|
66
68
|
shipped lefthook preset both changed in 1.30.0 with no row that owned them — which is how a
|
|
67
69
|
consumer read this index, found nothing, and diffed a KPI row that had silently gone 4-up → 2-up.
|
|
68
70
|
|
|
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 | 2.24.0 | 2.25.0 | 2.26.0 | 2.27.0 | 2.27.1 | 2.27.2 | 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) | — | error fallback `The request failed.` (§ State defaults) | — | — | — | — | — | — |
|
|
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`) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BasaltDataTable` error title `Could not load rows` (§ State defaults) | — | — | — | — | — | — |
|
|
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) | — | — | `LoadingState` section skeleton, page spinner neutral (§ State defaults) | — | — | — | — | — | — |
|
|
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) | `raw-spacing`, `inline-spacing` → `error` (§ Guards) | — | `basalt/card-inset` → `error` (§ Guards) | — | — | — | — |
|
|
71
|
+
| 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 | 2.24.0 | 2.25.0 | 2.26.0 | 2.27.0 | 2.27.1 | 2.27.2 | 2.28.0 | 2.29.0 | Unreleased |
|
|
72
|
+
| ----------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------- | ------ | ------ | -------------------------------------------------------------------------------------------- | ------ | ------ | ------ | ------ | ------ | ----------------------------------------------- | ------ | ------ | ------ | ------ | ------------------------------------------------------------ | ---------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
73
|
+
| **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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
74
|
+
| **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) | — | error fallback `The request failed.` (§ State defaults) | — | — | — | — | — | — | — | — |
|
|
75
|
+
| **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) | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
76
|
+
| **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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
77
|
+
| **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 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
78
|
+
| **data** (`./data/table`) | — | root is a `<div>`, row selection, `getItemKey` required (§ `basalt-ui/data`) | `./data` + `./query` + `./connectivity` dropped (§ Consolidation) | — | — | — | — | — | `renderCard` documented (§ `renderCard`) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BasaltDataTable` error title `Could not load rows` (§ State defaults) | — | — | — | — | — | — | — | — |
|
|
79
|
+
| **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) | — | — | `LoadingState` section skeleton, page spinner neutral (§ State defaults) | — | — | — | — | — | — | — | — |
|
|
80
|
+
| **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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
81
|
+
| **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 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
82
|
+
| **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) | `raw-spacing`, `inline-spacing` → `error` (§ Guards) | — | `basalt/card-inset` → `error` (§ Guards) | — | — | — | — | — | — |
|
|
81
83
|
|
|
82
84
|
---
|
|
83
85
|
|
|
@@ -1046,6 +1048,329 @@ The `basalt-ui/router-tanstack` subpath is **removed** in 2.x, not moved: an imp
|
|
|
1046
1048
|
_Nothing yet. Author the next section under this heading as `## Unreleased — <title>`; the
|
|
1047
1049
|
release renames it and opens a new one here._
|
|
1048
1050
|
|
|
1051
|
+
## 2.29.0 — the 2.28 bump friction (Wave 48)
|
|
1052
|
+
|
|
1053
|
+
### CLI and guards (argo-friction rows 168–179)
|
|
1054
|
+
|
|
1055
|
+
Nothing to change unless a script parses `shot detect` output or runs `oxlint .` inside a checkout that holds agent
|
|
1056
|
+
worktrees.
|
|
1057
|
+
|
|
1058
|
+
- **`oxlint` and agent worktrees.** A `.claude/worktrees/<name>` checkout inside a live one made `oxlint .` fail with
|
|
1059
|
+
"Plugin name basalt is already registered": oxlint loads the worktree's nested `.oxlintrc.json` whatever
|
|
1060
|
+
`ignorePatterns` says. `init` now writes `oxlint --ignore-pattern '.claude/worktrees/**' .` into `lint:basalt` and
|
|
1061
|
+
the CI lint step. **Fix** for an existing app (`sync` does not rewrite scripts): add the flag to every `oxlint .`
|
|
1062
|
+
you run (`package.json`, `make check`, CI).
|
|
1063
|
+
- **`sync` below the repo root** reports the repo root's `lefthook.yml` and `check.yml` as in sync, drifted or absent
|
|
1064
|
+
(read-only) instead of two skip lines on every run.
|
|
1065
|
+
- **`doctor --from <x.y.z>`** prints the guard, token and visible-without-code-change lines of every release after
|
|
1066
|
+
that version, and `doctor` names the re-emit command for a `tokens:css`/`fonts:css` sheet another version wrote.
|
|
1067
|
+
- **Guard messages.** `raw-spacing` lists the scale it wants (`8 → "xs"`, `12 → "sm"` …); `card-inset` names the
|
|
1068
|
+
older `py="xs" px="sm"` idiom as off-idiom.
|
|
1069
|
+
- **`shot`.** A route containing whitespace is refused (zsh does not word-split `$ROUTES`); the `--out` errors name
|
|
1070
|
+
the project dir; `--auto-anchors` falls back to `main`/`section`/`header`/`form` when no Card, Paper or table
|
|
1071
|
+
qualifies; a warning fires when every route renders the same content (a lock screen). **`shot detect`** writes
|
|
1072
|
+
`score: null` and prints "nothing measured" when no anchor resolved (a parser of `detect.json` or `history.json`
|
|
1073
|
+
must accept null), shows the finding count beside each trend score, chains a trend only within one `--out` dir,
|
|
1074
|
+
and names the contrast threshold it applied (`needs 4.5:1 at 22px regular`).
|
|
1075
|
+
|
|
1076
|
+
### The trial and audit gaps (Wave 49, argo-friction rows 180–189)
|
|
1077
|
+
|
|
1078
|
+
Nothing to change unless a test asserts the old copy or geometry below.
|
|
1079
|
+
|
|
1080
|
+
- **Error titles name the thing.** `StatCard`, a strip cell, `ChartCard` and the data table fall back to their own title
|
|
1081
|
+
or caption: "Could not load revenue" instead of a bare "Could not load". `stateNoun`/`errorTitle` still win. A bare
|
|
1082
|
+
title remains only where the host has no name at all.
|
|
1083
|
+
- **`ChartCard` empty default** reads "Nothing plotted in this range. Widen the range or check the source." (cause and
|
|
1084
|
+
next step); `state.empty` as a string still overrides it.
|
|
1085
|
+
- **`Meter`.** Adjacent categorical parts are split by a 2px separator in the track colour (muted parts keep their one
|
|
1086
|
+
shared fill; three or more all-muted parts log a dev warning pointing at per-part colours). The forecast caption ends
|
|
1087
|
+
at the forecast end, with a tick there, and falls back to the boundary only when the end cannot hold it. Captions
|
|
1088
|
+
keep at least one gap step apart at 390. The bar fills its container's width; the reading marker is Wave 50's
|
|
1089
|
+
ring below.
|
|
1090
|
+
- **`EventList`.** The note still wraps, never truncates (D52); where the chips sit is Wave 50's line below. A scroll box shows a bottom fade while rows remain below. A skeleton that replaces
|
|
1091
|
+
loaded rows keeps their height.
|
|
1092
|
+
- **`BarList`** reserves a gap between a truncated name and its value; the delta aligns with the value. The folded table's header text is Wave 50's `+N cols` below; its title and screen-reader text read
|
|
1093
|
+
"N more columns: …".
|
|
1094
|
+
- **Charts.** A reference label sits a full font size off its line; the keyboard focus ring is inset so a card's
|
|
1095
|
+
overflow cannot clip it (sparklines keep the outer ring); a fixed domain's raw end is a tick only when its label
|
|
1096
|
+
carries something the round ticks do not (a unit), so a uniform formatter no longer prints 77 above 76; a sparkline
|
|
1097
|
+
label stays inside its plot. A `Slider` fills in ink unless `color` is set; a browser-autofilled field keeps the field
|
|
1098
|
+
surface.
|
|
1099
|
+
- **CLI.** `init` on a stock Vite app wires `tanstackRouter()` before `react()`, adds `@tanstack/router-plugin`, runs
|
|
1100
|
+
the install and a first build for `routeTree.gen.ts`, and repeats the advice on every run until the artifacts exist;
|
|
1101
|
+
`--no-install` prints the commands instead. `llms.txt` expands the option types a signature names
|
|
1102
|
+
(`DateOptions`, `ChartLegendConfig`, `ResponsiveChartHeight`, …). `shot` clears the previous anchor's tooltip before
|
|
1103
|
+
a hover crop. **`shot detect`** `craft-7/no-declared-states` is per anchor: every anchor that renders a state surface
|
|
1104
|
+
needs its own `data-shot-states` (or `data-shot-absent`), so a route that declared states on one anchor only now
|
|
1105
|
+
reports the others.
|
|
1106
|
+
- **Skills.** `/basalt-design` checks four repeated defects before round 1 and shoots each round to a fresh `--out`;
|
|
1107
|
+
the parts row says each part takes a series colour; `/basalt-charts` names `other` as the neutral series key.
|
|
1108
|
+
|
|
1109
|
+
### The second layer (Wave 50, argo-friction rows 190–197)
|
|
1110
|
+
|
|
1111
|
+
Nothing to change unless a test, a selector or a style depends on the old copy or geometry below. Each line names its
|
|
1112
|
+
opt-out.
|
|
1113
|
+
|
|
1114
|
+
- **`EventList`.** The chips take one fixed place: their own line under the time, at the row's left edge, whatever the
|
|
1115
|
+
note holds (they no longer follow the note's last word; `data-chips-only` and the note/chips nowrap run are gone).
|
|
1116
|
+
A row with chips is about one micro line taller. Chip `Badge`s render at the micro size whatever `size` they ask
|
|
1117
|
+
for, so the list uses two type rungs. `chips={[]}` renders no chips line.
|
|
1118
|
+
- **List skeletons.** `EventList` and `BarList` skeletons default to the row count `items` holds while refetching
|
|
1119
|
+
(capped at 30), else 5; pass `loadingRows` to set it. A `DeltaBadge` in a `BarList` secondary is a two-track cell
|
|
1120
|
+
(glyph, then a figure slot of at least four digits), so glyphs and right edges align across rows.
|
|
1121
|
+
- **Section error titles.** A `QueryState` inside a titled `Section` defaults its error title to "Could not load
|
|
1122
|
+
<section title>"; `StatCard`, `ChartCard` and the data table set their own title for what they wrap, so a card names
|
|
1123
|
+
itself, not the section around it. `errorTitle` still wins. New optional `Section` prop `loadingHeight` (px): the
|
|
1124
|
+
pending skeleton fills it.
|
|
1125
|
+
- **Header scope at 390.** `WidgetHeader`/`Section`/`StatCard` subtitles no longer fold into the info glyph below
|
|
1126
|
+
480px; they wrap under the title (only a card shorter than 280px keeps the fold). No opt-out.
|
|
1127
|
+
- **Strips and figures.** A one-cell `StatGroup variant="strip"` is full width whatever `cols` it states (the Meter in
|
|
1128
|
+
a lone cell no longer stops at half the card). The `Meter` reading marker is a panel core in an ink ring, readable on
|
|
1129
|
+
any fill. In a strip cell narrower than 240px the qualifier sits under its caption; a footer `under` a cell keeps the
|
|
1130
|
+
cell's bottom inset.
|
|
1131
|
+
- **`Sparkline` `window?: string | false`.** A sparkline in a `StatCard` bleed slot or a strip cell with day-dated data
|
|
1132
|
+
states its window at rest (`1 Oct – 22 Oct`); `window="12 wk"` words it, `window={false}` drops it. A stated window
|
|
1133
|
+
moves a `referenceLabel` out of the plot into that caption row, and a bleed `StatCard` grows by that line.
|
|
1134
|
+
- **Data table.** The fold header reads `+N cols` (`+1 col`). A loading table plans its fold from kind floors (`text`
|
|
1135
|
+
4.5rem, a kindless column 8rem; the select and actions columns none), so it folds the same columns as the loaded
|
|
1136
|
+
rows more often. The keyboard focus ring on a folded table is an overlay closed on all four sides.
|
|
1137
|
+
- **`Board`.** A column that clips its cards shows the bottom fade cue.
|
|
1138
|
+
- **CLI and agent layer.** `llms.txt` expands generic and `Pick`/`Omit` option types (`ChartSeries<T>`,
|
|
1139
|
+
`StatStripCell`, `MeterSegment`, `QueryStateLike<TData>`, …), up to 30 per subpath. A `shot` hover crop hides every
|
|
1140
|
+
other anchor's tooltip while it is taken. `/basalt-design`'s pre-round check has a fifth item: each figure once per
|
|
1141
|
+
surface.
|
|
1142
|
+
|
|
1143
|
+
### Anchors, host titles and the fixes that did not land (Wave 51, argo-friction rows 198–204)
|
|
1144
|
+
|
|
1145
|
+
Nothing to change unless a test, a selector or a style depends on the old markup, copy or geometry below. Each line
|
|
1146
|
+
names its opt-out.
|
|
1147
|
+
|
|
1148
|
+
- **`data-*` on the root.** Every composite (`Section`, `ChartCard`, `StatCard`, `StatGroup`, `StatStrip`, `Board`,
|
|
1149
|
+
`EventList`, `BarList`, `Meter`, `PageSummary`, `SettingsSection`, `DangerZone`, `WidgetHeader`, the state
|
|
1150
|
+
components, `QueryState`'s drawn branches, `BasaltDataTable`) forwards `data-*` attributes to its root element in
|
|
1151
|
+
every state. A `data-shot` anchor that `Section` and `ChartCard` used to pass to their header now lands on the root.
|
|
1152
|
+
A ready `QueryState` has no root of its own: anchor its host.
|
|
1153
|
+
- **Host-titled tables.** An untitled `BasaltDataTable` inside a titled `Section` reads "Could not load <section
|
|
1154
|
+
title>"; give the table a `title` to name it yourself.
|
|
1155
|
+
- **Fold header.** The `+N cols` header is a `<button>`: tap, Enter or Space opens a popover listing the folded column
|
|
1156
|
+
names (Escape and an outside click close it); the `title` stays for the mouse. `FoldHeaderLabel` takes `names`.
|
|
1157
|
+
- **Table width.** In a kinded table the slack goes to the last `text` column, else the last `entity` column, else
|
|
1158
|
+
the trailing spacer; the slack `entity` column loses `data-fit` and no spacer cell renders. Mark a column
|
|
1159
|
+
`kind: 'text'` to choose it.
|
|
1160
|
+
- **`PageSummary`.** The `aside` follows its sentence and wraps under it, no longer at the row's far edge.
|
|
1161
|
+
- **`ChartCard`.** Fills its grid cell (`height: 100%`), so two cards in a row end level. The default empty copy is
|
|
1162
|
+
the cause only ("Nothing plotted in this range."); pass `state.empty` for a next step. `ChartFact.tone` inks the
|
|
1163
|
+
comparison, with ▲/▼ on a signed plain-text comparison, not the value, unit or period; a fact with no comparison
|
|
1164
|
+
still inks its value. A card-mode tooltip stays inside the plot rect, clear of the tick labels, when it fits.
|
|
1165
|
+
- **`BarList`.** The delta column is start-aligned: one glyph x and a fixed gap, figures ragged right (was a shared
|
|
1166
|
+
right edge with a hole after the glyph).
|
|
1167
|
+
- **`EventList`.** "Show earlier" is a default-variant (bordered) button. An oldest-first box with `height` trims
|
|
1168
|
+
itself by up to one row so its first visible row is whole under the sticky day header.
|
|
1169
|
+
- **`Board`.** A clipped column dissolves its cards with a mask (2 × stack-lg) instead of a page-colour gradient, so
|
|
1170
|
+
the cue shows on a panel surface.
|
|
1171
|
+
- **Dates and inputs.** English dates print `Sep` everywhere (en-GB printed `Sept` on chart axes); other languages
|
|
1172
|
+
keep their own abbreviation. A selected input value takes the accent tint instead of the UA colour. The stat-card
|
|
1173
|
+
sparkline caption sits at the card inset. Small reference-label and key spacing changes on charts.
|
|
1174
|
+
- **CLI.** A `shot` hover crop marks every tooltip outside its own trigger as seen, so a tooltip woken on the way to
|
|
1175
|
+
the trigger no longer shows in the crop.
|
|
1176
|
+
|
|
1177
|
+
### The trial's P2s, the timeline cue, the fold label (Wave 52, argo-friction rows 205–211)
|
|
1178
|
+
|
|
1179
|
+
Nothing to change unless a test, a selector or a style depends on the old markup, copy or geometry below. Each line
|
|
1180
|
+
names its opt-out.
|
|
1181
|
+
|
|
1182
|
+
- **`ChartCard` headline.** `value`/`delta`/`deltaPeriod` render as one fact row under the title (the `facts`
|
|
1183
|
+
anatomy), no longer at the title row's far right with the period wrapped below; at error/empty the figure hides and
|
|
1184
|
+
pending shows a skeleton, as `facts` does. Prefer `facts`; no prop was removed. A short card (under 280 px) keeps
|
|
1185
|
+
the full 12 px header inset at 480 px and wider, so a row of cards shares one title baseline.
|
|
1186
|
+
- **Chart tooltips.** The in-plot fence applies per axis, so the first-point tooltip on hover and keyboard focus stays
|
|
1187
|
+
off the tick labels; a `BandStrip` tooltip opened below the strip starts under its x tick labels.
|
|
1188
|
+
- **`Section` loading.** A `Section` with a `query` and no `loadingHeight` over a lone `BarList`, `EventList` or
|
|
1189
|
+
`Meter` loads as that figure's own skeleton (the child's `loadingRows`, default 5). Keep the old skeleton by
|
|
1190
|
+
declaring `loadingHeight`. A wrapped or memoised figure falls back to it.
|
|
1191
|
+
- **`Meter` empty.** `emptyText` draws the shared `EmptyState` tile (the `BarList` box) with no track; a blank string
|
|
1192
|
+
is ignored. Omit `emptyText` for the blank track at loaded height. A `readingAt="start"` start caption sits at the
|
|
1193
|
+
track start.
|
|
1194
|
+
- **Retry.** The shared Retry button has a visible border (≥ 3:1 against its surface); box size unchanged.
|
|
1195
|
+
- **`EventList`.** A bounded box that cuts rows says so: `↑ N above` on the sticky day header and `↓ N below` over the
|
|
1196
|
+
bottom fade. Non-rail rows take an even vertical gap (~3 px taller). The relative-time tooltip opens to the right.
|
|
1197
|
+
- **Tables.** The fold header shows the first folded name under `+N cols`. The slack goes to the last data column
|
|
1198
|
+
when it is `text`, `entity` or kindless, else to the last `text` column holding a long cell (> 32 chars), else to a
|
|
1199
|
+
trailing spacer; an `entity` followed by figures no longer takes it, and an all-short `text` column fits its
|
|
1200
|
+
content on one line.
|
|
1201
|
+
- **`Board`.** Column scroll thumbs are thin (6 px) and quiet.
|
|
1202
|
+
|
|
1203
|
+
### Visible without code change
|
|
1204
|
+
|
|
1205
|
+
- Error titles, the chart empty copy, the Meter separators/forecast caption/full width, the EventList chip flow and
|
|
1206
|
+
fade, the chart ticks, label offset and focus ring, the slider fill: all render differently with no edit.
|
|
1207
|
+
- `shot detect` may report `craft-7/no-declared-states` on anchors it passed before.
|
|
1208
|
+
- Wave 50: the EventList chips line and two type rungs, list and table skeleton counts and fold floors, named
|
|
1209
|
+
Section errors, visible subtitles at 390, the full-width lone strip cell, the Meter ring marker, the sparkline window
|
|
1210
|
+
caption, the `+N cols` header and the Board fade: all render differently with no edit.
|
|
1211
|
+
- Wave 51: anchors on composite roots (more crops per page), host-named table errors, the fold-header button and
|
|
1212
|
+
popover, table slack, level chart cards, fact tone on the comparison, the BarList delta track, the earlier button,
|
|
1213
|
+
the Board mask, `Sep`, the selection tint: all render differently with no edit.
|
|
1214
|
+
- Wave 52: the `ChartCard` headline row and short-card inset, chart tooltip fences, `Section` figure skeletons,
|
|
1215
|
+
the `Meter` empty tile, the Retry border, the `EventList` above/below cue and row gap, the fold hint, table slack and
|
|
1216
|
+
the Board rails: all render differently with no edit.
|
|
1217
|
+
|
|
1218
|
+
## 2.28.0
|
|
1219
|
+
|
|
1220
|
+
### Data tables (Wave 42)
|
|
1221
|
+
|
|
1222
|
+
Nothing to change unless a test or a style depends on the old look. Each line names its opt-out.
|
|
1223
|
+
|
|
1224
|
+
- **Cell kinds.** `BasaltColumnMeta` gains `kind` (`entity` | `status` | `number` | `money` | `relative-time` |
|
|
1225
|
+
`meter` | `text`), plus `statusColor(value)`, `meterMax` and `currency`. A kind supplies the cell's chrome, and its
|
|
1226
|
+
content when the column has no `cell`. Unset `kind` keeps the plain cell. Units belong in the header
|
|
1227
|
+
(`Volume (kg)`, `Salary (USD / yr)`), never in the cell: `money` without a `cell` prints the bare figure
|
|
1228
|
+
(`120,000.00`, was `$120,000.00`).
|
|
1229
|
+
- **Figures are sans.** The automatic numeral style moves from mono to the proportional sans with `tabular-nums`
|
|
1230
|
+
(SPEC D33). Opt out per column with `meta.numeral: false`.
|
|
1231
|
+
- **One line per row.** Body cells no longer wrap; only `meta.kind: 'text'` does. A column that relied on wrapping
|
|
1232
|
+
sets `kind: 'text'`. Headers never wrap.
|
|
1233
|
+
- **Header and widths.** The header shares the body fill; a sorted column's header is ink, the rest faint. In a table
|
|
1234
|
+
with any `meta.kind`, data columns (`entity` included) size to their content and a wide container's slack goes to
|
|
1235
|
+
the last `kind: 'text'` column, else to an `aria-hidden` trailing spacer cell. A table with no `kind` is
|
|
1236
|
+
unchanged. Mark a notes/detail column `kind: 'text'` to have it take the width.
|
|
1237
|
+
- **Narrow tables.** When the columns no longer fit their container, the `meta.priority` fold now stops at two
|
|
1238
|
+
data columns (was one). A table that still overflows pins its first visible data column (`columnDef.minSize` is
|
|
1239
|
+
its floor, default 120 px) and scrolls the rest in a focusable `region` (style it with `:focus-visible`). A caller's `initialColumnPinning.start` turns
|
|
1240
|
+
the auto-pin off. The table carries `aria-colcount` and every cell `aria-colindex`. The fold toggle is named
|
|
1241
|
+
`Show <folded headers>` / `Hide …` (was `Show row details`), and its header cell shows `+N`.
|
|
1242
|
+
- **States.** The error title is the house `Could not load` (was `Could not load rows`); the count chip and the
|
|
1243
|
+
pager range are hidden while loading or failed; an empty paginated table drops its pager; empty and error keep
|
|
1244
|
+
the column header, and an empty state's title is never larger than the table's title.
|
|
1245
|
+
- **Hover.** `highlightOnHover` defaults to `true` (`VX.surface.rowHover`); pass `highlightOnHover={false}` to opt
|
|
1246
|
+
out.
|
|
1247
|
+
- **Toolbar.** One row at the dense 28 tier from a 240 px container up; on a narrow table the facets move behind one
|
|
1248
|
+
`Filters (n)` pill. The footer's rows-per-page `Select` and pager are 28 px on a fine pointer. New prop
|
|
1249
|
+
`initialColumnFilters` presets the facets.
|
|
1250
|
+
- **Filter pills.** A set pill reads `Label Value`, the label muted and the value ink, and its accessible name and
|
|
1251
|
+
`title` change with it (`EUR` → `Currency EUR`): a query for `{ name: 'EUR' }` becomes `{ name: 'Currency EUR' }`
|
|
1252
|
+
or `/EUR$/`. `MultiSelectFilter` with no `noun` reads `Channels 3 selected` (was `3 channels`; pass `noun` to
|
|
1253
|
+
keep a word). `RangeFilter` off its default reads `Window 7d`. An active pill's border and `Pagination`'s current
|
|
1254
|
+
page are ink, not the accent; an explicit `color=` on `Pagination` keeps the accent.
|
|
1255
|
+
|
|
1256
|
+
### argo upstream rows (Wave 43)
|
|
1257
|
+
|
|
1258
|
+
Nothing to change unless a test or a style depends on the old look. Each line names its opt-out.
|
|
1259
|
+
|
|
1260
|
+
- **`Meter` reading at the track start.** A marked `Meter` with no zone names puts its reading in the caption row,
|
|
1261
|
+
centred on the marker, so it is one caption row (~17 px) shorter and both captions share one line whenever they fit
|
|
1262
|
+
the track. The caption row no longer clips descenders (`low 72.3 kg`). Zoned meters are unchanged. No opt-out.
|
|
1263
|
+
- **`ChartCard` subtitle at compact.** Below a 480 px card a `ChartCard` subtitle stays under the title, up to two lines,
|
|
1264
|
+
instead of folding into the info glyph (a chart subtitle is often its key). `StatCard` and `Section` still fold. A
|
|
1265
|
+
card under 280 px high still folds it. No opt-out.
|
|
1266
|
+
- **`Sparkline` `band`.** New prop `band?: { from: number; to: number }`: a productive range drawn behind the line in
|
|
1267
|
+
the neutral fill and included in the y domain; not a series (no legend, no tooltip row). `from === to` or a non-finite
|
|
1268
|
+
bound draws nothing; a band edge that sets the domain gets a quarter of the band's span as air. The `reference`
|
|
1269
|
+
label now takes the start or end, above or below, wherever the line is not;
|
|
1270
|
+
it moves only when the old start-above spot would cross the line.
|
|
1271
|
+
- **Reference legend key and end labels.** A reference line's legend key is drawn at the line's own weight (1 px) and
|
|
1272
|
+
dash, not the series' 2 px. `Lines` end labels take the side away from their own last segment, several close labels
|
|
1273
|
+
wrap their lines, the gap is one label line plus air (17 px, was 13), and a stack taller than the plot closes up to fit.
|
|
1274
|
+
End labels and a `RefLine` caption clear every line's path and each other, not only their own segment.
|
|
1275
|
+
No opt-out. A goal line that should read apart from its series sets `dashed: true`.
|
|
1276
|
+
- **Strip footers.** A `StatGroup` footer entry (`under` or full width) takes the 13 px `sm` step instead of
|
|
1277
|
+
inheriting the 15 px body size, so a strip holds three type sizes. No opt-out.
|
|
1278
|
+
- **`BasaltDataTable` danger row action.** A lone `danger: true` icon action is neutral at rest and red on its own hover
|
|
1279
|
+
(fine pointer) or keyboard focus, never on the row's hover. The menu's danger item is unchanged. No opt-out.
|
|
1280
|
+
- **`basalt/status-fill-as-text` (error).** `VX.status.excellent` is a fill (about 3:1 on a light card): paint zone
|
|
1281
|
+
TEXT with `VX.status.good`, keep `excellent` on `bg`, fills and swatches. Flags `c=` and a style-object `color:`;
|
|
1282
|
+
`color=` is not judged (a fill on `Badge`/`ThemeIcon`). Waive with `{/* theme-allow status-fill-as-text — <why> */}`.
|
|
1283
|
+
Measured zero hits in argo and the playground, so it ships at `error`.
|
|
1284
|
+
- **`--basalt-main-content-h`.** New CSS custom property on the main region: `height: var(--basalt-main-content-h)`
|
|
1285
|
+
fills the scrollport with no page scroll, with or without a `PageBar` band. It replaces a hand-built
|
|
1286
|
+
`calc(100dvh - …)` of shell vars (argo's `MAP_FULL_BLEED_HEIGHT`).
|
|
1287
|
+
- **A `Paper` over a flush card.** A `Paper` inside a `Card variant="flush"` renders at the control radius (6 px at
|
|
1288
|
+
level 0, 4 px under the card at every radius level) instead of the card's 10, so a floating panel passes
|
|
1289
|
+
`craft-1/nested-radius-step`. Mantine's dropdowns and modal content keep their own. Opt out with an explicit `radius`
|
|
1290
|
+
on that Paper. `Paper`'s default radius now comes from a stylesheet rule rather than an inline style, so a consumer
|
|
1291
|
+
class can override it.
|
|
1292
|
+
- **MapLibre attribution.** `basalt-ui/styles.css` styles MapLibre's compact attribution control onto basalt's radius
|
|
1293
|
+
and type scale (no maplibre dependency). Override with a selector of equal or higher specificity than
|
|
1294
|
+
`:root .maplibregl-ctrl.maplibregl-ctrl-attrib`, later in source.
|
|
1295
|
+
- **`basalt-ui shot`.** An anchor that renders only in a URL state (`empty`, …) is recorded `absent` at rest with the
|
|
1296
|
+
note "not rendered at rest"; the board's "not captured" now means a real capture miss only.
|
|
1297
|
+
|
|
1298
|
+
### Event list (Wave 44)
|
|
1299
|
+
|
|
1300
|
+
New export, nothing to change in existing code.
|
|
1301
|
+
|
|
1302
|
+
- **`EventList`** (`basalt-ui`, type `EventListProps`): a day-grouped event feed (`density="feed"`) or record history
|
|
1303
|
+
(`density="timeline"`, with a rail). It replaces argo's `features/agents/event-list.tsx` prototype and its
|
|
1304
|
+
`home/activity-feed.tsx` fork, argo's `warden/item-timeline.tsx` rows, rb's journal day groups and linewatch's
|
|
1305
|
+
`transition-timeline.tsx`. Pass `items` (`id`, `at`, `actor?`, `title`, `body?`, `leading?`, `chips?`; the type is
|
|
1306
|
+
`EventListProps['items'][number]`) in display order — the list never sorts. Line one is the glyph, actor and
|
|
1307
|
+
sentence; line two leads with the time, then the body and chips. `group="day"` (default) adds a header per local
|
|
1308
|
+
day; `now` makes Today/Yesterday deterministic; `time` picks `clock`, `relative`, `date-time` or a formatter. The
|
|
1309
|
+
prototype's `groups`/`limit`/`narrowLines` map to `group="day"`, `earlier={{ onLoad, remaining }}` and the density.
|
|
1310
|
+
- **History in a box.** `order="oldest-first"` with a `height` opens at the newest row, puts "Show earlier (N)" at the
|
|
1311
|
+
top, and keeps the visible row when earlier items are prepended. Without `height` the list scrolls with the page.
|
|
1312
|
+
- **States.** `loading` draws skeleton rows in the row's shape; `empty={{ title, description?, action? }}` draws the
|
|
1313
|
+
§ 6.11 tile. Compose an error with the surrounding `Section`'s query, not inside the list.
|
|
1314
|
+
- **Long lists.** Above 200 rows the list virtualises through `@tanstack/react-virtual` (an optional peer, already one
|
|
1315
|
+
for `./agent`), loaded lazily; without it every row renders. At or below 200 rows the peer is never loaded.
|
|
1316
|
+
- **`basalt-ui shot`.** A full-page shot grows only by the page scrollport's hidden height (`data-basalt-scrollport`, or
|
|
1317
|
+
the outermost scroller in a shell-less app); a bounded scroll box inside the page no longer adds its hidden rows as
|
|
1318
|
+
blank page. `_page` shots of pages with a scrolling sidebar or inner list get shorter.
|
|
1319
|
+
|
|
1320
|
+
### Board (Wave 45)
|
|
1321
|
+
|
|
1322
|
+
New export, nothing to change in existing code.
|
|
1323
|
+
|
|
1324
|
+
- **`Board`** (`basalt-ui`, type `BoardProps`): status columns of cards with roving-focus keyboard navigation. It
|
|
1325
|
+
replaces argo's `features/warden/board.tsx` prototype, its `board.module.css` and `BoardColumn`. Pass `columns`
|
|
1326
|
+
(`id`, `title`, `tone?`, `total?`, `empty?`, `cards`) and `onOpen(cardId, columnId)`; a card is typed data
|
|
1327
|
+
(`id`, `actor?`, `type?`, `title`, `record?: { label, href? }`, `status?`, `meter?`; the type is
|
|
1328
|
+
`BoardProps['columns'][number]['cards'][number]`). `record.href` links only when http(s) or relative, the same rule
|
|
1329
|
+
as the prototype's `isSafeHttpUrl`.
|
|
1330
|
+
- **Keyboard.** One tab stop; arrows move within and across columns, Home/End within one, Enter/Space/click open,
|
|
1331
|
+
a polite live region announces the move. `height` bounds each column's own scroll.
|
|
1332
|
+
- **Compact.** One column at a time under a `SegmentedControl`. The selected column is internal state unless you pass
|
|
1333
|
+
`field` (an enum field of the column ids, the type `ViewTabs` takes): argo's persisted `boardStore.field.column`
|
|
1334
|
+
maps straight to `field={boardStore.field.column}`.
|
|
1335
|
+
- **States.** `loading` draws column-shaped skeletons; an empty column is its `empty` line, an empty board is
|
|
1336
|
+
`empty={{ title, description?, action? }}` (the § 6.11 tile). The prototype's "Empty: A, B" fold line is gone.
|
|
1337
|
+
|
|
1338
|
+
### Forms and states (Wave 46)
|
|
1339
|
+
|
|
1340
|
+
Nothing is removed. Each line names its opt-out.
|
|
1341
|
+
|
|
1342
|
+
- **Form fields are 32 px.** `FormRow` and `SettingsRow` mount a `CtlSlot`, so a control inside renders at the `ctl`
|
|
1343
|
+
tier: 32 px (44 px and 16 px text under a coarse pointer) instead of Mantine's 42 px `md`. `NumberInput`,
|
|
1344
|
+
`PasswordInput` and `Textarea` join the tier app-wide through the theme. Opt out per control with `size="md"` (a
|
|
1345
|
+
control's own `size` wins). Inside a tiered home slot `basalt/control-size-literal` now also flags a `size` on those
|
|
1346
|
+
three.
|
|
1347
|
+
- **Form type.** `FormRow` labels go from `md` to `sm`, descriptions from `sm` to `xs`; an error leads with a status
|
|
1348
|
+
glyph and sits in an always-mounted polite live region. The hint and error ids are on the row's `aria-describedby`.
|
|
1349
|
+
- **`FormGroup section`** (new prop): the legend becomes the section title (`md`, 500), rows stack 12 apart and
|
|
1350
|
+
consecutive sections 24 apart.
|
|
1351
|
+
- **`EmptyState`.** The title goes from head-font `xl` 550 to the body font at 500: `md` on a page, `sm` inside a
|
|
1352
|
+
section, card or chart body (the error title follows), the description from `md` to
|
|
1353
|
+
`sm`, and `tier="section"` draws its own ring at card radius: drop a border you wrapped around it. A `Board` column's
|
|
1354
|
+
`empty`, `BarList`'s `emptyText` (default now "No items to compare yet"; pass the real cause), an empty
|
|
1355
|
+
`BasaltDataTable` body and an empty `renderCard` list all render as that tile.
|
|
1356
|
+
- **One form row.** `FormRow` and `SettingsRow` share one geometry: a 15rem label column and a control column capped
|
|
1357
|
+
at 20rem, left-packed (was `FormRow` 1fr / 1.4fr and `SettingsRow` with its control flush right); below 600 px of the
|
|
1358
|
+
row's own width they stack. A wider control (a long textarea, a table) sets its own width. `SettingsRow` is a grid now,
|
|
1359
|
+
and `SettingsSection`/`DangerZone` bodies are `basalt-form` inline-size containers.
|
|
1360
|
+
- **Chart and `StatCard` empties.** Chart `state.empty` and `StatCard` `emptyText` render as the same tile: the first
|
|
1361
|
+
sentence is the title (trailing period dropped), the rest the muted line — write "Why it is empty. What to do." The
|
|
1362
|
+
data table keeps the tile ring in its empty body and left-aligns its error body (it was centred), like every other host.
|
|
1363
|
+
- **Pending shapes.** A pending `Lines`/`StackedArea` card draws a line ghost (a body wrapped in your own component passes
|
|
1364
|
+
`ghost="line"`); a loading `StatCard` with a `delta` keeps a delta chip.
|
|
1365
|
+
- **Primary hover.** A filled accent control (`Button`, `ActionIcon`, a `derive`-retuned accent) hovers 10 tone darker
|
|
1366
|
+
than rest (was 4.8); at the default seed rest is `#4374a6`, hover `#2d5b88` (was `#3c6895`), and the white label
|
|
1367
|
+
stays at 4.90:1 and 7.09:1. An explicit `color=` keeps its family hover.
|
|
1368
|
+
- **Pending ghosts.** A pending `Sparkline` draws a line (or bar) ghost; a pending card around a `BandStrip` draws one
|
|
1369
|
+
band row at the strip's stated `height` (a number or the per-class object), keeping the legend row's room when the
|
|
1370
|
+
strip is legended. `ghost` accepts `'band'`; `placeholderHeight` still wins.
|
|
1371
|
+
- **`Board` record links** are ink in both schemes and do not change colour once visited; hover underlines.
|
|
1372
|
+
- **`Sparkline`** hides its `referenceLabel` caption while a readout shows.
|
|
1373
|
+
|
|
1049
1374
|
## 2.27.2
|
|
1050
1375
|
|
|
1051
1376
|
_Nothing to migrate in this release._
|
|
@@ -1514,6 +1839,10 @@ A row that is genuinely too narrow still hides a name (argo's ACWR at 390 has 22
|
|
|
1514
1839
|
|
|
1515
1840
|
Opt-out: none for the zone names; a zone that must keep to its span sets a `short` that fits it, and a page that does not want a footer entry's shot anchor omitted declares no `shotAbsent`.
|
|
1516
1841
|
|
|
1842
|
+
### Visible without code change
|
|
1843
|
+
|
|
1844
|
+
- **`basalt/raw-spacing` and `basalt/card-inset` are `error`.** `gap={8}` is `gap="xs"` and `py={8}` is `py="xs"` (the scale moved in 2.16.0). The `py="xs" px="sm"` card idiom is now a `card-inset` error: the theme sets the Card inset itself (12 / 16, density-scaled), so drop the padding props. A deliberately denser card has no compact tier; it becomes a visible density change.
|
|
1845
|
+
|
|
1517
1846
|
## 2.23.0 — Wave 37, argo's friction II
|
|
1518
1847
|
|
|
1519
1848
|
No export is removed. `MeterTick` gains an optional `caption`; five Meter defaults move.
|
|
@@ -1689,6 +2018,10 @@ series file. Measured before flipping: argo `apps/dashboard` on 2.22.0 reports 0
|
|
|
1689
2018
|
Opt-out: `"basalt": { "severity": { "series-palette": "warn" } }` keeps it a warning;
|
|
1690
2019
|
`"basalt": { "exemptRules": { "series-palette": ["<series file>"] } }` silences it for the file.
|
|
1691
2020
|
|
|
2021
|
+
### Visible without code change
|
|
2022
|
+
|
|
2023
|
+
- **`Badge` is sentence case, not upper case.** `DIFFICULTY 2` → `Difficulty 2`. Opt in per Badge with `tt="uppercase"`.
|
|
2024
|
+
|
|
1692
2025
|
## 2.22.0 — Wave 37, argo's friction II
|
|
1693
2026
|
|
|
1694
2027
|
No export is removed. Five defaults move and one export is new.
|
|
@@ -1954,6 +2287,11 @@ clears 4.5:1 on both. At the default config three status hexes moved to clear th
|
|
|
1954
2287
|
`faint` ink `#a1a1a4` → `#a7a7aa` (tone 66.24 → 68.5). **Opt out:** none for the hexes; a consumer
|
|
1955
2288
|
that pinned them reads them from `VX.status.*` / `VX.faint`.
|
|
1956
2289
|
|
|
2290
|
+
### Visible without code change
|
|
2291
|
+
|
|
2292
|
+
- **`--vx-status-bad` (dark) is pink-leaning.** `#f97d74` → `#fe8178` (the status text solve against the row surfaces). Chart bars and badges that read `VX.status.bad` shift with it; no opt-out for the hex.
|
|
2293
|
+
- **`Lines` and `Bars` line overlays are straight segments, not a smoothed curve.** The default became `curve: 'linear'`: a monotone curve drew crossings between daily or monthly points that never happened. A continuous measure (a speed trace) opts back in with `curve: 'monotone'` on the series. `StackedArea` and `Sparkline` are unchanged.
|
|
2294
|
+
|
|
1957
2295
|
## 2.21.0 — strip cell state, one Retry, and the marker reading
|
|
1958
2296
|
|
|
1959
2297
|
### One Retry in the shared error anatomy
|
|
@@ -2233,6 +2571,10 @@ size in muted ink, not the mono: it is a sentence fragment, not an UPPERCASE cap
|
|
|
2233
2571
|
`StatCard` tone word, `BarList` secondaries that use it, and the notification centre. **Opt out:** pass
|
|
2234
2572
|
`className` with `font-family: var(--basalt-font-mono)`.
|
|
2235
2573
|
|
|
2574
|
+
### Visible without code change
|
|
2575
|
+
|
|
2576
|
+
- **The active nav row has no accent tint.** `NavLink[data-active]` is a neutral ink fill (10 %, 14 % on hover); the accent stays on the active icon. Opt out with a consumer class that sets `background-color` on the row.
|
|
2577
|
+
|
|
2236
2578
|
## 2.19.0 — the status dot, ink buttons and Meter refinements
|
|
2237
2579
|
|
|
2238
2580
|
### Status is a dot and a word, not an edge stripe (`StatCard`, `Callout`, notification centre)
|
|
@@ -2477,6 +2819,10 @@ number below changes at level 0**, so a layout that was tuned against the old sc
|
|
|
2477
2819
|
| Faint chart ink | none | `derive` retunes the whole neutral ramp; there is no separate knob for the axis ink, and a lighter axis fails the 4.5:1 gate by construction. |
|
|
2478
2820
|
| Page gutter | none | The expanded gutter is a constant; `density` scales it (`-1` gives 22). |
|
|
2479
2821
|
|
|
2822
|
+
### Visible without code change
|
|
2823
|
+
|
|
2824
|
+
- **The spacing scale moved: `xs` 11 → 8 px** (`xs / sm / md / lg / xl` = 8 / 12 / 16 / 20 / 24). Spacing props and `--mantine-spacing-*` reads shrink; hand-written `gap={8}` is now `gap="xs"`.
|
|
2825
|
+
|
|
2480
2826
|
## 2.15.0 — the reviewer subagent and the ViewTabs law
|
|
2481
2827
|
|
|
2482
2828
|
- **Behaviour: `basalt/bound-control-outside-home` now reports a `ViewTabs` in every `PageBar` slot except `tabs` (`actions`, `filters`, `filtersEnd`, `sync`), in `Section.actions`, or inside a `FilterSet`.** It was accepted there (any slot was a home). A `ViewTabs` that switches a page or a section belongs in a `tabs` slot (`PageBar.tabs`, `Section.tabs`); one that switches only a card's view belongs in that `ChartCard` / `WidgetHeader` `actions` slot (still allowed). **Fix: move it to `tabs`.** The lint is structural: only a `ViewTabs` written inside the slot (JSX attribute or object spread) is seen; one passed through a hoisted `const` is not.
|
|
@@ -28,7 +28,7 @@ paths:
|
|
|
28
28
|
|
|
29
29
|
## Table
|
|
30
30
|
|
|
31
|
-
- Tables are `BasaltDataTable` with columns from `createColumnHelper` (`basalt-ui/table`, TanStack Table v9: `sortFn`, not v8's `sortingFn`); column `meta` is `{ align, numeral }
|
|
31
|
+
- Tables are `BasaltDataTable` with columns from `createColumnHelper` (`basalt-ui/table`, TanStack Table v9: `sortFn`, not v8's `sortingFn`); column `meta` is `{ align, numeral, priority, kind }`, `kind` one of `entity`, `status`, `number`, `money`, `relative-time`, `meter`, `text` (figures are sans `tabular-nums`, `meta.numeral: false` opts out; units go in the header; a cell holds one line, only `kind: 'text'` wraps); a streamed table's fallback is the same table with `isLoading` and `skeletonRows`. [type createColumnHelper] [type BasaltDataTable]
|
|
32
32
|
|
|
33
33
|
## Content
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ paths:
|
|
|
40
40
|
|
|
41
41
|
## Scroll and breakpoints
|
|
42
42
|
|
|
43
|
-
- A scroll region is a Mantine `ScrollArea`, not a raw `overflow: auto` box
|
|
43
|
+
- A scroll region is a Mantine `ScrollArea`, not a raw `overflow: auto` box; a page that fills the scrollport sets `height: var(--basalt-main-content-h)`, never a hand-built `calc(100dvh - …)`. [basalt/raw-scroll-container]
|
|
44
44
|
- Never use `visibleFrom`/`hiddenFrom` or a raw `@media` width; chrome follows `useSizeClass()`, page layout follows container queries: `<SimpleGrid type="container" cols={{ base: 1, [CONTAINER_KEYS.regular]: 2 }} />` (`CONTAINER_KEYS` from `basalt-ui/tokens`), never `cols={{ base: 1, lg: 2 }}`. [basalt/raw-breakpoint] [check-theme raw-media-query]
|
|
45
45
|
|
|
46
46
|
## Motion
|
|
@@ -7,7 +7,7 @@ paths:
|
|
|
7
7
|
|
|
8
8
|
<!-- basalt:coverage -->
|
|
9
9
|
<!-- GENERATED from src/surfaces.ts — `bun scripts/check-coverage.ts --write`. Do not hand-edit. -->
|
|
10
|
-
<!-- backed by: guard kinds — css-raw-surface, inline-font-size, off-identity-accent, off-system-surface-var, raw-color-fn, raw-font-family, raw-hex, raw-radius, raw-surface, series-palette, surface-shadow-override, theme-allow-unscoped, unknown-vx-token · oxlint rules — basalt/no-raw-font-size, basalt/raw-size-literal -->
|
|
10
|
+
<!-- backed by: guard kinds — css-raw-surface, inline-font-size, off-identity-accent, off-system-surface-var, raw-color-fn, raw-font-family, raw-hex, raw-radius, raw-surface, series-palette, surface-shadow-override, theme-allow-unscoped, unknown-vx-token · oxlint rules — basalt/no-raw-font-size, basalt/raw-size-literal, basalt/status-fill-as-text -->
|
|
11
11
|
<!-- not guarded: — -->
|
|
12
12
|
<!-- /basalt:coverage -->
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@ Every value is a `VX.*` reference or a theme prop; the palette is derived, never
|
|
|
20
20
|
- Write no `#hex`, `rgb()` or `hsl()`; use `VX.*` (`basalt-ui/tokens`) or Mantine `c`/`bg`. [check-theme raw-hex] [check-theme raw-color-fn]
|
|
21
21
|
- Opacity is `alpha(token, a)`, never `rgba()`. [check-theme raw-color-fn]
|
|
22
22
|
- Mantine hues are `blue`, `gray`, `red`, `green`, `orange`, `yellow` only; a positive delta is `green`, not `teal`. [check-theme off-identity-accent]
|
|
23
|
-
- Never pin a shade (`c="yellow.7"`, `var(--mantine-color-red-6)`); use `VX.status.*` or the bare hue. [check-theme mantine-shade-index]
|
|
23
|
+
- Never pin a shade (`c="yellow.7"`, `var(--mantine-color-red-6)`); use `VX.status.*` or the bare hue; `VX.status.excellent` is fill-only, text takes `good`. [check-theme mantine-shade-index] [basalt/status-fill-as-text]
|
|
24
24
|
- Never read a raw ramp var (`--mantine-color-gray-N`); use `VX.surface.*`. [check-theme off-system-surface-var]
|
|
25
25
|
- Fill a control with `VX.accentFill` labelled `VX.onAccent`, never `VX.accent` (that is ink). [type VX]
|
|
26
26
|
- Name only `--vx-*` vars that basalt emits. [check-theme unknown-vx-token]
|
|
@@ -279,13 +279,13 @@ export function Chat() {
|
|
|
279
279
|
|
|
280
280
|
## Verify
|
|
281
281
|
|
|
282
|
-
1. `./node_modules/.bin/basalt-ui doctor`; read to the last line
|
|
283
|
-
2.
|
|
284
|
-
3. Run the repo's own gate (e.g. `make check`), which runs lint, the theme guard (`basalt-ui check-theme`) and typecheck; fix every finding at its source, and every type error without `as never` or `any`.
|
|
282
|
+
1. `./node_modules/.bin/basalt-ui doctor`; read to the last line (`SKIPPED` exits non-zero); fix every finding it prints and rerun until it is clean.
|
|
283
|
+
2. Run the repo's own gate (e.g. `make check`), which runs lint, the theme guard (`basalt-ui check-theme`) and typecheck; fix every finding at its source, and every type error without `as never` or `any`.
|
|
285
284
|
|
|
286
285
|
## Refresh after any upgrade
|
|
287
286
|
|
|
288
287
|
1. `./node_modules/.bin/basalt-ui sync` (`--check` in CI, `--force` overwrites local edits); read its output: edited files are skipped, retired files are deleted, the AGENTS.md block is rewritten.
|
|
288
|
+
2. A bump with a board: build the OLD version first (`vite build --outDir /tmp/before-dist`; the new CLI shoots it), bump, build, read `basalt-ui doctor --from <old version>`, then `shot /a /b --dist /tmp/before-dist --out <app-dir>/.shots/before` and the same with `--dist dist --out <app-dir>/.shots/after` (`--out` inside the app dir; each route its own argument). `shot` finds `playwright` in any ancestor `node_modules`: `bun add --cwd "$(dirname "$PWD")" playwright` keeps it out of the repo's manifest. A locked or API-backed app shoots its lock screen on every route: serve fixtures on `127.0.0.1` and pass `--api /api=http://127.0.0.1:<port>` (read-only unless `--api-allow-writes`) plus `--local-storage key=@env:NAME`.
|
|
289
289
|
|
|
290
290
|
## Upgrade 1.x to 2.x
|
|
291
291
|
|
|
@@ -9,7 +9,7 @@ Procedure only; the contract is `.claude/rules/basalt-charts.md`.
|
|
|
9
9
|
## Steps
|
|
10
10
|
|
|
11
11
|
1. Pick the path: a shipped kind fits (`Lines`, `Bars`, `Sparkline`, `StackedArea`, `DualPanel`, `MirroredBars`, `BandStrip`, `Donut`, `Heatmap`) → use it. A second chart of a shape with no kind → extract a kind and migrate both call sites. Otherwise compose `CartesianChart` in the page's own chart file.
|
|
12
|
-
2. Register each new series color in the app's one series file (exempt from `check-theme`): `groupTokens('health', defineSeries({ hrv: { light, dark } }))` from `basalt-ui/tokens` (lighter on dark, deeper on light), then pass the group as `<BasaltProvider paletteOptions={{ groups: [SERIES] }} />` (or `buildPaletteCss` for SSR).
|
|
12
|
+
2. Register each new series color in the app's one series file (exempt from `check-theme`): `groupTokens('health', defineSeries({ hrv: { light, dark } }))` from `basalt-ui/tokens` (lighter on dark, deeper on light), then pass the group as `<BasaltProvider paletteOptions={{ groups: [SERIES] }} />` (or `buildPaletteCss` for SSR). A neutral grey comparison series (prior period, "everything else") must be keyed `other`: the one key exempt from the series guard's chroma floor; it still needs the ΔE separation from its neighbours.
|
|
13
13
|
3. Compose the chart; import marks from the allowed `@tanstack/charts/*` subpaths:
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
@@ -10,14 +10,20 @@ Method only; the law is `.claude/rules/basalt-*.md` and `./DESIGN.md`. Each step
|
|
|
10
10
|
|
|
11
11
|
1. **Concept — mandatory, gating.** Nothing is built before the concept exists: write `docs/design/<screen>.md` (the user's question, the decision, datasets and chosen encodings, layout at 1440 and 390, copy, pass criteria) before any component code. Template: `references/concept.md`. Also read `./DESIGN.md` and the rules `basalt-tokens.md`, `basalt-mantine.md`, `basalt-controls.md`, `basalt-charts.md`; no `DESIGN.md`: run `/basalt-app` first.
|
|
12
12
|
2. **Scenario.** Realistic fixture data. Decide which metrics earn a hue (trend, status, separation; the rest neutral), the one primary action per view, each control's home (a `SettingsRow` preference via `createLocalStore`, never `useState`).
|
|
13
|
-
3. **Encoding: is it even a chart?** Run the router, then pick each encoding from the data's shape, then the shipped composite. A gap is reported, not routed around; no row fits the data → say so, never default to a number in a box. `references/catalogue.md`. A metric tile follows the slot contract in `references/stat-tile.md`.
|
|
13
|
+
3. **Encoding: is it even a chart?** Run the router, then pick each encoding from the data's shape, then the shipped composite. A gap is reported, not routed around; no row fits the data → say so, never default to a number in a box. `references/catalogue.md`. A metric tile follows the slot contract in `references/stat-tile.md`; a record page, decision card, entity card, list row or page summary follows `references/recipes.md`.
|
|
14
14
|
4. **Build** with Mantine primitives and the composites; every color from `VX.*` or a series token. Chart kinds and `ChartCard` import from `basalt-ui/charts`, `BasaltDataTable` from `basalt-ui/table`, `FilterSet` and the other filters from `basalt-ui/controls`, the rest from `basalt-ui`. Hold the encoding law (`references/encoding-rules.md`: axes, color, tooltips, refetch, filters, number typography) and avoid the dashboard tells (`references/anti-defaults.md`: fact-only copy, uniform cards, one radius). Empty, loading and error copy follows `references/states.md`. Tune by eye in the theme lab (`dev.theme` Spotlight command, dev only) in both schemes, then bake values into the `derive` knobs of `createBasaltTheme` and series colors into `src/lib/series.ts`.
|
|
15
15
|
5. **Mark up for the board.** Tag each scored component `data-shot="<name>"`; hover and tooltip targets inside it get `data-shot-hover` / `data-shot-tooltip`; when the target's centre paints no readout (a donut's hole), add `data-shot-at="x,y"` (fractions of its box, e.g. `0.25,0.2`) and the shot hovers there. Declare supported states with `data-shot-states="empty loading error"` and render them when the `shot-state` URL param asks; a route declaring none is a P2 (`craft-7/no-declared-states`), raised only when an anchor renders a state surface. An anchor legitimately absent in some states declares them with `data-shot-absent="empty error"`.
|
|
16
|
-
6. **
|
|
17
|
-
-
|
|
18
|
-
-
|
|
16
|
+
6. **Before round 1, check the five defects earlier builds shipped with:**
|
|
17
|
+
- every anchor with a state surface declares `data-shot-states` (step 5), not just one: one declaring anchor leaves every other state crop identical to rest;
|
|
18
|
+
- no fixed-height feed or list: one beside a taller column takes its natural height (or scrolls with a visible cue), never a height that clips its last row;
|
|
19
|
+
- the page title names the subject and its scope ("Roastery · October"), never a generic "Overview" or "Dashboard";
|
|
20
|
+
- a qualifier never runs into the next sentence: a period or scope ("7 days", "to date") is its own caption or joined with `·`; read the 390 crops for it.
|
|
21
|
+
- each figure appears once per surface: a strip, a meter and a chart never restate the same number, and a target is answered by one encoding, not two.
|
|
22
|
+
7. **Rounds, at least three.** Playwright is the app's dev dependency: `bun add -d playwright && bunx playwright install chromium`. Then:
|
|
23
|
+
- `basalt-ui shot <routes> --dist <built app> --out .basalt/shots/r<n>` (or `--base <url>` for a running server). Every invocation takes a fresh `--out` per round: `shot` empties its out dir, so reusing one wipes the board the reviewer is still reading. A real, signed-in app (live data, no `data-shot` yet): `basalt-ui shot /overview --dist dist --out .basalt/shots/r<n> --api /api=https://app.example.com --local-storage auth-token=@env:APP_TOKEN --auto-anchors` seeds the token (app origin only; `@env:`/`@file:`, never inline), proxies GET/HEAD under `/api` (writes get 405 unless `--api-allow-writes`) and crops every large Card, Paper and table. One `--header authorization=@env:NAME` goes to EVERY `--api` origin (https required for any secret), never on a navigation. A redirect, 401/403/404, 5xx or dead API fails every shot of that page; a key the app already holds is never overwritten. These shots reach the reviewer subagent's model provider, the session's own: an app holding third parties' data should point `--api` at staging or synthetic data;
|
|
24
|
+
- review with TWO isolated passes: (A) hand this round's out dir to the `basalt-design-reviewer` subagent by name; it reads each component's contact sheet (`png/*__sheet.png`) and every page shot; (B) run the deterministic detector `basalt-ui shot detect` on the same out dir (exit 0 clean / 2 findings / 1 scan failure). A review the builder runs inline instead of the subagent starts with a `DEGRADED` banner and does not count as done;
|
|
19
25
|
- judge content first, then layout, then style; rank findings P0–P3;
|
|
20
26
|
- revise every failing item at its source, rebuild, and shoot again.
|
|
21
27
|
Boards stay local (gitignored); the scored verdict and notes are worth committing.
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
8. **Done** only when both passes are clean (the reviewer passes every component, `basalt-ui shot detect` exits 0), and never before round three: a pass earlier does not end the loop. After five failed rounds stop and show the owner the boards and the failing items.
|
|
29
|
+
9. Run the repo's own gate (e.g. `make check`); fix every finding at its source. `shot` captures desktop (1440) and mobile (390) in both schemes; check both.
|