basalt-ui 2.14.0 → 2.16.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 +69 -0
- package/MIGRATING.md +81 -13
- package/agent/agents/basalt-design-reviewer.md +83 -0
- package/agent/rules/basalt-batteries.md +1 -2
- package/agent/rules/basalt-charts.md +1 -1
- package/agent/rules/basalt-controls.md +3 -3
- package/agent/rules/basalt-mantine.md +2 -3
- package/agent/rules/basalt-state.md +1 -2
- package/agent/rules/basalt-tokens.md +1 -3
- package/agent/skills/basalt-design/SKILL.md +26 -8
- package/agent/templates/AGENTS-block.md.tpl +7 -0
- package/configs/card-inset.test.ts +57 -0
- package/configs/oxlint-basalt.json +1 -1
- package/configs/oxlint-plugin.js +81 -20
- package/configs/oxlint-plugin.test.ts +85 -6
- package/dist/agent/chat/thread-message.js +1 -1
- package/dist/agent/chat/thread-outcome-card.js +1 -1
- package/dist/charts/ChartCard.js +1 -1
- package/dist/charts/chart-card.module.css +2 -2
- package/dist/charts/legend.d.ts +4 -4
- package/dist/cli/board-freshness.d.ts +25 -0
- package/dist/cli/board-freshness.d.ts.map +1 -0
- package/dist/cli/board-freshness.js +88 -0
- package/dist/cli/doctor.d.ts +2 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +3 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +9 -3
- package/dist/cli/index.d.ts +15 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +57 -7
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +6 -1
- package/dist/cli/shot/board.d.ts +5 -0
- package/dist/cli/shot/board.d.ts.map +1 -0
- package/dist/cli/shot/board.js +96 -0
- package/dist/cli/shot/capture.d.ts +59 -0
- package/dist/cli/shot/capture.d.ts.map +1 -0
- package/dist/cli/shot/capture.js +473 -0
- package/dist/cli/shot/index.d.ts +45 -0
- package/dist/cli/shot/index.d.ts.map +1 -0
- package/dist/cli/shot/index.js +289 -0
- package/dist/cli/shot/measure.d.ts +47 -0
- package/dist/cli/shot/measure.d.ts.map +1 -0
- package/dist/cli/shot/measure.js +191 -0
- package/dist/cli/shot/playwright.d.ts +101 -0
- package/dist/cli/shot/playwright.d.ts.map +1 -0
- package/dist/cli/shot/playwright.js +60 -0
- package/dist/cli/shot/serve.d.ts +6 -0
- package/dist/cli/shot/serve.d.ts.map +1 -0
- package/dist/cli/shot/serve.js +33 -0
- package/dist/cli/shot/types.d.ts +98 -0
- package/dist/cli/shot/types.d.ts.map +1 -0
- package/dist/cli/shot/types.js +17 -0
- package/dist/cli/sync.d.ts.map +1 -1
- package/dist/cli/sync.js +2 -1
- package/dist/dashboard/settings-section.d.ts.map +1 -1
- package/dist/dashboard/settings-section.js +5 -2
- package/dist/dashboard/stat-card.js +12 -12
- package/dist/dashboard/stat-card.module.css +4 -4
- package/dist/dashboard/widget-header.module.css +3 -3
- package/dist/guard/guard-hook.d.ts.map +1 -1
- package/dist/guard/index.d.ts +4 -2
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +18 -4
- package/dist/guard/vx-names.d.ts.map +1 -1
- package/dist/guard/vx-names.js +1 -0
- package/dist/shell/app-mobile-nav.module.css +2 -2
- package/dist/shell/app-sidebar-account.js +1 -1
- package/dist/shell/app-sidebar.js +2 -2
- package/dist/shell/app-sidebar.module.css +8 -8
- package/dist/shell/index.js +5 -1
- package/dist/shell/page-bar.js +1 -1
- package/dist/surfaces.d.ts +2 -0
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +2 -0
- package/dist/table/data-table.d.ts.map +1 -1
- package/dist/table/data-table.js +3 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +31 -21
- package/dist/tokens/core.d.ts +10 -4
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +16 -10
- package/dist/tokens/ctl-vars.d.ts +15 -0
- package/dist/tokens/ctl-vars.d.ts.map +1 -0
- package/dist/tokens/ctl-vars.js +22 -0
- package/dist/tokens/palette.d.ts +37 -29
- package/dist/tokens/palette.d.ts.map +1 -1
- package/dist/tokens/palette.js +32 -21
- package/dist/tokens/space-scale.d.ts +14 -0
- package/dist/tokens/space-scale.d.ts.map +1 -0
- package/dist/tokens/space-scale.js +10 -0
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/src/agent/chat/thread-message.tsx +1 -1
- package/src/agent/chat/thread-outcome-card.tsx +2 -2
- package/src/charts/ChartCard.tsx +1 -1
- package/src/charts/chart-card.module.css +2 -2
- package/src/charts/legend.tsx +4 -4
- package/src/cli/board-freshness.ts +132 -0
- package/src/cli/doctor.ts +10 -1
- package/src/cli/help.ts +14 -2
- package/src/cli/index.ts +80 -10
- package/src/cli/init.ts +8 -1
- package/src/cli/shot/board.ts +154 -0
- package/src/cli/shot/capture.ts +650 -0
- package/src/cli/shot/index.ts +362 -0
- package/src/cli/shot/measure.ts +252 -0
- package/src/cli/shot/playwright.ts +152 -0
- package/src/cli/shot/serve.ts +35 -0
- package/src/cli/shot/types.ts +92 -0
- package/src/cli/sync.ts +2 -1
- package/src/dashboard/settings-section.tsx +5 -2
- package/src/dashboard/stat-card.module.css +4 -4
- package/src/dashboard/stat-card.tsx +13 -13
- package/src/dashboard/widget-header.module.css +3 -3
- package/src/guard/guard-hook.ts +3 -1
- package/src/guard/index.ts +27 -13
- package/src/guard/vx-names.ts +1 -0
- package/src/shell/app-mobile-nav.module.css +2 -2
- package/src/shell/app-sidebar-account.tsx +1 -1
- package/src/shell/app-sidebar.module.css +8 -8
- package/src/shell/app-sidebar.tsx +2 -2
- package/src/shell/index.tsx +10 -4
- package/src/shell/page-bar.tsx +1 -1
- package/src/surfaces.ts +5 -0
- package/src/table/data-table.tsx +10 -4
- package/src/theme/__snapshots__/plain-theme.test.ts.snap +57 -45
- package/src/theme/ctl-theme.tsx +1 -1
- package/src/theme/index.ts +43 -23
- package/src/tokens/core.ts +16 -8
- package/src/tokens/ctl-vars.ts +32 -0
- package/src/tokens/palette.ts +40 -29
- package/src/tokens/space-scale.ts +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,72 @@
|
|
|
1
|
+
# [2.16.0](https://github.com/jkrumm/basalt-ui/compare/v2.15.0...v2.16.0) (2026-10-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* derive the guard's spacing steps and micro ceiling from the scale ([233530a](https://github.com/jkrumm/basalt-ui/commit/233530a1e8af571920846fd6692311380f0f3a52))
|
|
7
|
+
* derive the latency histogram copy from the measured hours ([b706787](https://github.com/jkrumm/basalt-ui/commit/b706787e1d6420b3eddf1e0246c56788eabae81b))
|
|
8
|
+
* derive the nav row from the sm step and drop the stale 13.5px notes ([3d17c7d](https://github.com/jkrumm/basalt-ui/commit/3d17c7d46073a0f6520a1b543faefd2d6fefedf0))
|
|
9
|
+
* drop restated token fallbacks, round line heights and settle comments ([69980e7](https://github.com/jkrumm/basalt-ui/commit/69980e734c30d78fc300fe2c68a833bf786ef340))
|
|
10
|
+
* emit the dense tier from the palette CSS builder, typed over one var list ([ce2b60c](https://github.com/jkrumm/basalt-ui/commit/ce2b60c03281364e96cdba52950bb6ef8a946a38))
|
|
11
|
+
* keep the card-inset consistency test where the plugin is typed ([374a25d](https://github.com/jkrumm/basalt-ui/commit/374a25dcff14ba3949ef83f305886f1ba867806e))
|
|
12
|
+
* keep the card-inset fallbacks on the chart and stat cards ([0e9d08f](https://github.com/jkrumm/basalt-ui/commit/0e9d08f51d1de7db8763b12f998d23a224d71598))
|
|
13
|
+
* keep the pack-test fixtures off the new spacing grid ([65247f4](https://github.com/jkrumm/basalt-ui/commit/65247f4711cfcdec1c3318e5dea23db9a345d4ca))
|
|
14
|
+
* make basalt/card-inset accept only the sm/md pair ([c0b5526](https://github.com/jkrumm/basalt-ui/commit/c0b55266fb072f6c62731974085d2e0ab016a9e5))
|
|
15
|
+
* mobile menu and child rows follow the sm step; reflow two comments ([be1e462](https://github.com/jkrumm/basalt-ui/commit/be1e462ac79090b121271a582b9939b3450bb1e3))
|
|
16
|
+
* null every reading in an outage hour and share the scenario fixture helpers ([7a523ce](https://github.com/jkrumm/basalt-ui/commit/7a523ce09c70fcad37a2a59f4e9108aa15dc075c))
|
|
17
|
+
* one card-inset fallback rule, pinned against the scale ([fa68c1c](https://github.com/jkrumm/basalt-ui/commit/fa68c1ca4f248c6bbe70968584aeed21c69342b0))
|
|
18
|
+
* report a fully rounded radius as full in shot ([a19d93f](https://github.com/jkrumm/basalt-ui/commit/a19d93f3c8b298eebc7af7658f8c02c06ee2a79c))
|
|
19
|
+
* scope the dense control tier to the hosting row and generate its overrides ([b604b07](https://github.com/jkrumm/basalt-ui/commit/b604b0722e2e6ae983919f177a0920938b0a596b))
|
|
20
|
+
* shot reads a zero-size box as 0 and a percentage radius by its percentage ([421ab83](https://github.com/jkrumm/basalt-ui/commit/421ab83b0933306f8296097671ece1e5ef04ed93))
|
|
21
|
+
* sort the guard's default steps and state what the guard may import ([ad4a407](https://github.com/jkrumm/basalt-ui/commit/ad4a4070862225ef751b0e2019f57fa4817d061b))
|
|
22
|
+
* tighten card-inset to the whole pair and ship it through a grace minor ([3968892](https://github.com/jkrumm/basalt-ui/commit/3968892ebdd38b7e0c20b6f240063fc8232fdaba))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add the S1 ops-monitor scenario fixture to the playground ([429457e](https://github.com/jkrumm/basalt-ui/commit/429457e29f5e41e8e0bbb6ecba15a9b09ec49bc5))
|
|
28
|
+
* move spacing, inset, radius and type scales onto an even-pixel grid ([b13526b](https://github.com/jkrumm/basalt-ui/commit/b13526b4ab93086309b593e3283e4915d75a066a))
|
|
29
|
+
|
|
30
|
+
# [2.15.0](https://github.com/jkrumm/basalt-ui/compare/v2.14.0...v2.15.0) (2026-10-16)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* address review of the scenario route and seeds ([10c6abd](https://github.com/jkrumm/basalt-ui/commit/10c6abdaae7aa7b97bf31c66f88dac6f5ecff1a2))
|
|
36
|
+
* align the reviewer's Craft numbering with SPEC and name accent leaks ([9213182](https://github.com/jkrumm/basalt-ui/commit/921318228048bf01198c11889d7edbc26174fec2))
|
|
37
|
+
* crop the tooltip at its settled size, not mid-animation ([0aa00e8](https://github.com/jkrumm/basalt-ui/commit/0aa00e8c26346c6a2003a133a6a31064885aa9b8))
|
|
38
|
+
* expect the reviewer's seven Craft items from SPEC 8.1 ([24cea30](https://github.com/jkrumm/basalt-ui/commit/24cea30b2c40b2add5b9dcd2eaf62de9d6c87a48))
|
|
39
|
+
* give the calibration seeds neutral route ids ([d8b4b3f](https://github.com/jkrumm/basalt-ui/commit/d8b4b3fe3375134b419e71bb2b9028bbb0d72387))
|
|
40
|
+
* give the good seed a focusable table and no dead tooltip target ([91767d5](https://github.com/jkrumm/basalt-ui/commit/91767d59f4aa97e7fe8247d73ad4ef9b0f9f28ca))
|
|
41
|
+
* give the good seed a stated share denominator and no row wrap ([fde2537](https://github.com/jkrumm/basalt-ui/commit/fde253707d2aae020e9f6deba11bc883a532774c))
|
|
42
|
+
* harden shot's out-dir swap, file names and metrics ([c5f17e6](https://github.com/jkrumm/basalt-ui/commit/c5f17e6274fb33ab43bd707fab4b1a08ea088a0e))
|
|
43
|
+
* harden the stale-board walk and move doctor's design section ([310f3bb](https://github.com/jkrumm/basalt-ui/commit/310f3bbad21e74b652026a14091af6680b9071e8))
|
|
44
|
+
* hold an opened tooltip in the hover and focus crops ([33c31df](https://github.com/jkrumm/basalt-ui/commit/33c31dfebc55d5bcbd62d6530acfd3bbfdff9775))
|
|
45
|
+
* keep primary buttons and focus rings out of the reviewer's accent leaks ([d85456e](https://github.com/jkrumm/basalt-ui/commit/d85456ed134317a89819335e2941e34973cb64df))
|
|
46
|
+
* make shot safe to re-run, and record the theme scale ([0630f36](https://github.com/jkrumm/basalt-ui/commit/0630f3675a7dbda1c2e807df99ed91d2a053e31b))
|
|
47
|
+
* make the good calibration seed sum to its whole, drop its info glyph ([41ee04f](https://github.com/jkrumm/basalt-ui/commit/41ee04f518e730c45abf38999551f2a75173882b))
|
|
48
|
+
* move the data-stress query tabs into Section.tabs ([d0d26d1](https://github.com/jkrumm/basalt-ui/commit/d0d26d1cd35cb02ec915473719659632d3d4b1c3))
|
|
49
|
+
* pick only the tooltip an action opened and sweep stale tmp safely ([0b6208a](https://github.com/jkrumm/basalt-ui/commit/0b6208a8d2e3d1f75a9c476e5cdb3a4b0e8057e5))
|
|
50
|
+
* pin the seed's ticks and tidy S4 copy after review round 2 ([de90bd5](https://github.com/jkrumm/basalt-ui/commit/de90bd5431559558a9e0c9956fc63fb9a506eac7))
|
|
51
|
+
* read basalt's own scale in shot and drop the grid from the reviewer ([637c519](https://github.com/jkrumm/basalt-ui/commit/637c5196eda8a6cc469e33147bd588e04a6bb7d3))
|
|
52
|
+
* reduce the good calibration board to its single metric card ([d1f97b3](https://github.com/jkrumm/basalt-ui/commit/d1f97b3e6c489c47450578cc0945e9c7470b9830))
|
|
53
|
+
* state the reviewer's accent sites exactly as the design law lists them ([4fd0e66](https://github.com/jkrumm/basalt-ui/commit/4fd0e66a35688cf73ee3cb01e242defe7eba9546))
|
|
54
|
+
* treat unreadable roots as unknown and require three design rounds ([27f6f24](https://github.com/jkrumm/basalt-ui/commit/27f6f248a46b65b1fbc2bca9fffc8e72a7f1343e))
|
|
55
|
+
* use a recent-days table on the good calibration board ([a3107de](https://github.com/jkrumm/basalt-ui/commit/a3107de4bb3d649f0ef4cbef4b5422a5e722465b))
|
|
56
|
+
* write a contact sheet per anchor and read component-scoped scale tokens ([951b832](https://github.com/jkrumm/basalt-ui/commit/951b83273b441baa40b1775327a5cb3227ac454c))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
* add basalt-ui shot, a route renderer for design rounds ([1d4d520](https://github.com/jkrumm/basalt-ui/commit/1d4d520f784db6e7f6ee71c3f4f36f00103f3b4e))
|
|
62
|
+
* add the scenario route with the S4 spend fixture ([7550408](https://github.com/jkrumm/basalt-ui/commit/755040835f76bf3a087c8ab43371847bb721b53c))
|
|
63
|
+
* drop the untaggable design-procedure rule line, fix the placement test ([37b34aa](https://github.com/jkrumm/basalt-ui/commit/37b34aa0c3c7acba6d98d1cfda65e5710f5edb50))
|
|
64
|
+
* harden rule path rendering, the ViewTabs guard and the reviewer ([6eda9f8](https://github.com/jkrumm/basalt-ui/commit/6eda9f89d707871d5b20984fdf90f72b5cee9365))
|
|
65
|
+
* install the design reviewer and render rule paths from roots ([0044759](https://github.com/jkrumm/basalt-ui/commit/0044759f9be827d1d7cdfb993b4690c9ca88ae1a))
|
|
66
|
+
* map the design table to the shipped chart kinds ([147cb88](https://github.com/jkrumm/basalt-ui/commit/147cb88e651b4fbf17a64d5abfd031765a7ec8e3))
|
|
67
|
+
* render rule paths from the roots a sync would use, harden the edges ([47611ca](https://github.com/jkrumm/basalt-ui/commit/47611ca68226ba4086decc30c27000247e54d20a))
|
|
68
|
+
* ship the design-round procedure and the stale-board notice ([2a7205b](https://github.com/jkrumm/basalt-ui/commit/2a7205b267b1aeb857030ab1a42448289726dae5))
|
|
69
|
+
|
|
1
70
|
# [2.14.0](https://github.com/jkrumm/basalt-ui/compare/v2.13.3...v2.14.0) (2026-10-16)
|
|
2
71
|
|
|
3
72
|
|
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 | 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 | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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 | — | — | — | — | — | — | — | — | — | — | — |
|
|
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 | — | — | — | — | — | — | — | — | — | — | — |
|
|
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 | 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) | — |
|
|
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) | — |
|
|
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) | — |
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
@@ -1046,6 +1046,74 @@ 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.16.0 — the even-pixel grid
|
|
1050
|
+
|
|
1051
|
+
Wave 32 of the design-parity track moves the spacing, inset, radius and type scales onto an
|
|
1052
|
+
even-pixel grid (`docs/waves/design-parity/SPEC.md` § 5). No export is removed or renamed; **every
|
|
1053
|
+
number below changes at level 0**, so a layout that was tuned against the old scale moves. Plain
|
|
1054
|
+
`feat:` — the way back is **partial**: `density` and `radius` bring back some numbers (last table), the page gutter, the type sizes and the faint ink have no knob.
|
|
1055
|
+
|
|
1056
|
+
| What | Old | New |
|
|
1057
|
+
| ------------------------------------------------ | ---------------------------- | -------------------------------------- |
|
|
1058
|
+
| Mantine spacing `xs / sm / md / lg / xl` | 11 / 13 / 18 / 20 / 26 | 8 / 12 / 16 / 20 / 24 |
|
|
1059
|
+
| `inline-spacing` guard default steps | 11, 13, 18, 20, 26 | 8, 12, 16, 20, 24 |
|
|
1060
|
+
| Card inset (`--vx-space-card-inset-y` / `-x`) | 11 / 13 | 12 / 16 |
|
|
1061
|
+
| Card horizontal inset below `sm` | 11 | 12 |
|
|
1062
|
+
| Page gutter, expanded size class (≥ 1200) | 16 | 24 (medium 16, compact 8 unchanged) |
|
|
1063
|
+
| `--vx-radius-card` | 7 | 10 |
|
|
1064
|
+
| `--vx-radius-floating` (card + 1) | 8 | 11 |
|
|
1065
|
+
| `SegmentedControl` track / indicator radius | 7 (card) / 5 (tight) | 6 (ctrl) / 4 (fine) |
|
|
1066
|
+
| Type `sm` (dense rows, table cells, menu items) | 13.5, line 1.45 | 13, 20px line |
|
|
1067
|
+
| Type `xs` | 12.5, line 1.4 | 12, 16px line |
|
|
1068
|
+
| Type `kpi` (hero numeral) | 24, weight 600 | 22, weight 500 |
|
|
1069
|
+
| Nav row / menu item / timeline font | `md` 15 | `sm` 13 (nav row stays 32 tall) |
|
|
1070
|
+
| `--vx-space-row-line-height` | 1.35 | 1.54 (a 20px line at `sm`) |
|
|
1071
|
+
| Table body cell font | inherited body | `sm` 13 (row 40 / header 36 unchanged) |
|
|
1072
|
+
| Table toolbar and `FilterSet` controls, fine ptr | 32 | 28 (`--vx-space-control-height-dense`) |
|
|
1073
|
+
| Axis ticks / chart small labels (`--vx-axis`) | ink at 60% — 4.06:1 on light | the `faint` ink — ≥ 4.5:1 both schemes |
|
|
1074
|
+
|
|
1075
|
+
- **Behaviour: spacing props and `--mantine-spacing-*` reads shrink.** `p="xs"` is 8 (was 11), `"sm"` 12 (was 13), `"md"` 16 (was 18), `"xl"` 24 (was 26); `"lg"` is unchanged. Hand-written `px={18}` / `gap={26}` no longer equal a step, and `raw-spacing` reports them.
|
|
1076
|
+
- **Behaviour: the CSS sub-scale ceiling of `inline-spacing` drops from 10px to 7px** (it sits one below the smallest stop, now 8). A CSS `padding: 8px` or `10px` is now a finding; 2 / 4 / 6px clusters stay legal.
|
|
1077
|
+
- **Behaviour: `basalt/card-inset` is strict.** The only accepted inset is the pair `py="sm" px="md"` (12/16) or leaving both to the theme. Uniform `p`/`padding` (any value) and every other pair, including the old `py="xs" px="sm"` (now 8/12), are findings. **Severity: `warn` for this minor, `error` from 2.17.0** (`PLUGIN_RULE_GRACE`, one entry for the rule); that also demotes the rule's older findings (explicit `radius`, `p="lg"`) to `warn` for the minor, because a level is per rule id. Also flagged now: numeric or non-literal `py`/`px`, and a lone `py="sm"` or `px="md"` without its partner. Move each `<Card py="xs" px="sm">` to `py="sm" px="md"`.
|
|
1078
|
+
- **Behaviour: the compact card inset reads `--vx-space-card-inset-x` below `sm`**, and `StatCard`'s full-bleed sparkline now bleeds by the card inset tokens rather than the `sm`/`xs` scale stops, so the bleed matches the inset at every width.
|
|
1079
|
+
- **Behaviour: the `SegmentedControl` concentricity law restated.** `RADIUS.card === RADIUS_STEP.tight + segmentedTrackInset` could not hold at card 10, so the track now takes the control radius and the indicator the `fine` tier: `RADIUS.ctrl === RADIUS_STEP.fine + 2`, exact down to `radius: -4` (at `-5`, `fine` clamps to 0 against a 1px track).
|
|
1080
|
+
- **Behaviour: `shot` `metrics.json` `radius` may be the string `"full"`** (also on `nested[]`) for a fully rounded box (a `50%` circle or `9999px` pill); it was the number `50` or `9999`. A consumer reading it as a number checks the type first.
|
|
1081
|
+
- **Behaviour: `deriveSpacing(0).rowLineHeight` is 1.54** (was 1.35); the additive range across `density` −3..+3 is 1.44..1.64.
|
|
1082
|
+
- **Behaviour: the dense control tier is internal.** `PageBar`'s filter row (the `pills` line) and the `BasaltDataTable` toolbar carry `data-basalt-dense`; at a fine pointer their `ctl` controls resolve to 28. A coarse pointer keeps 32 and the 44px hit overlay. `--vx-space-control-height-dense` is the only new name.
|
|
1083
|
+
- **Added: `--vx-space-control-height-dense`.** An emitted token (28, floored at 24 by `density`); not exported from `basalt-ui/tokens`.
|
|
1084
|
+
- **Behaviour: the page gutter is a trial at the expanded class** (SPEC D7). `appShellInsetExpanded` is one constant in `tokens/palette.ts`; setting it equal to `appShellInset` reverts it.
|
|
1085
|
+
|
|
1086
|
+
### Migrating the guards
|
|
1087
|
+
|
|
1088
|
+
`raw-spacing` and `inline-spacing` ship at **`warn` for this minor and `error` from 2.17.0** (`GRACE_PERIOD_KINDS`, since 2.16.0): their steps follow the new scale, so after the upgrade `p={16}` and `gap={24}` are findings (use `"md"` / `"xl"`) and `p={18}` / `gap={26}` are no longer flagged. To migrate on your own schedule, in the consumer's `package.json`:
|
|
1089
|
+
|
|
1090
|
+
```json
|
|
1091
|
+
"basalt": {
|
|
1092
|
+
"spacingSteps": [11, 13, 18, 20, 26],
|
|
1093
|
+
"severity": { "raw-spacing": "warn", "inline-spacing": "warn" }
|
|
1094
|
+
}
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
`spacingSteps` keeps the guard on the old numbers (matching a scale you have not moved off yet); `severity` pins both at `warn` past 2.17.0, when the grace entries are deleted and they become `error`. Drop both once the call sites read tokens. The CSS sub-scale ceiling (10 → 7px: a CSS `padding: 8px` or `10px` is now a finding) has no switch of its own; it rides on `inline-spacing`'s severity.
|
|
1098
|
+
|
|
1099
|
+
### Restoring the old feel
|
|
1100
|
+
|
|
1101
|
+
| Dimension | Knob | Closest level, honestly |
|
|
1102
|
+
| ------------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1103
|
+
| Spacing scale | `density` | `+1` gives 9 / 13 / 18 / 22 / 26 — matches old `sm`, `md`, `xl`, misses `xs` (9 vs 11) and `lg` (22 vs 20). It also scales every other density-tracking number: control height 35, table row 44, gutter 26. |
|
|
1104
|
+
| Card inset | `density` | No level restores 11/13: `-1` gives 11/14, `0` gives 12/16. A consumer that wants the old inset sets `--vx-space-card-inset-y: 11px; --vx-space-card-inset-x: 13px` in its own `:root` CSS. |
|
|
1105
|
+
| Card radius | `radius` | `-3` gives card 7 / floating 8 — and control 3, tight 2, fine 1, which is not the old control radius (6). No level moves card alone. Set `--vx-radius-card: 7px` in `:root` to restore just the card. |
|
|
1106
|
+
| Floating radius (Tooltip, Popover, Modal, Notification) | none | These four take a numeric Mantine `radius` from the theme, not the CSS var, so `--vx-radius-floating` does not reach them: there is no CSS-only restore. Pass `createBasaltTheme({ components: { Tooltip: { defaultProps: { radius: 8 } } } })` per component (or `radius={8}` at the call site). |
|
|
1107
|
+
| Type `sm` / `xs` / `kpi` | none | The `fonts` knob changes families, not sizes. A consumer that needs 13.5 / 12.5 / 24 at one site writes the size at that site with a `theme-allow`. |
|
|
1108
|
+
| 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. |
|
|
1109
|
+
| Page gutter | none | The expanded gutter is a constant; `density` scales it (`-1` gives 22). |
|
|
1110
|
+
|
|
1111
|
+
## 2.15.0 — the reviewer subagent and the ViewTabs law
|
|
1112
|
+
|
|
1113
|
+
- **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.
|
|
1114
|
+
- **Behaviour: `init`/`sync` render every installed rule's `paths:` from `basalt.roots`** — one `'<root>/**'` per root, with a leading `./` and trailing `/` stripped. Before, every rule shipped the fixed globs `src/**`, `apps/**/src/**` (and `packages/**/src/**` in `basalt-tokens.md`), and `basalt-charts.md` matched only `**/charts/**`. With `basalt.roots` unset, `init`/`sync` write the inferred roots first (a workspace repo gets each UI package's `src/`), so rules then load for exactly those roots; with nothing inferable they keep `src/**`, `apps/**/src/**`, `packages/**/src/**`. **Remedy: set `"basalt": { "roots": [...] }` to every directory the rules should load for** (a root you leave out stops loading them). `sync --check` reports the rules as drifted until you run `sync`.
|
|
1115
|
+
- **Added: `sync` / `init` install the `basalt-design-reviewer` subagent** at `.claude/agents/basalt-design-reviewer.md`, and the managed AGENTS.md block names the skills and the subagent. A `.claude/agents/basalt-*.md` that basalt stops shipping is retired like a rule. **Restart a running Claude Code session** after `sync`: subagents are read at session start, so the new one is not visible until then.
|
|
1116
|
+
|
|
1049
1117
|
## 2.14.0 — the format layer, the filter family and chart fixes
|
|
1050
1118
|
|
|
1051
1119
|
### `basalt-ui/format`
|
|
@@ -1068,7 +1136,7 @@ release renames it and opens a new one here._
|
|
|
1068
1136
|
### Charts
|
|
1069
1137
|
|
|
1070
1138
|
- **Fix: a follower chart draws nothing when the shared cursor's x is outside its x-domain.** Since 2.13.2 a follower clamped the leader's cursor onto its edge datum, so a chart covering 20:00–08:00 drew a dot at 12:00 the next day that was not the cursor's hour. The domain is the one the chart renders (`xDomain`, else the data extent); a cursor exactly on an edge still draws, and the leader is unaffected. No crosshair, no dots and no tooltip outside the domain, on `CartesianChart`, its kinds and `DualPanel`. Pass one `xDomain` to charts that should cover the same range.
|
|
1071
|
-
- **Fix: the line legend key reads as a dash at every size.** `LINE_SWATCH` in `legend.tsx`: below 480px the key is 14px (was 8px, dash `2.5 2`, which read as two dots) with dash `4 3`; from 480px it is 16px (was 12px) with dash `4 3`. The dots-mode gap between entries goes 38 → 30px to pay for it, so a four-entry legend still fits one row at 390px. Selectors or snapshots that expected an 8px or 12px line key match the new widths.
|
|
1139
|
+
- **Fix: the line legend key reads as a dash at every size.** `LINE_SWATCH` in `legend.tsx`: below 480px of chart width (a container query on the chart, not the viewport) the key is 14px (was 8px, dash `2.5 2`, which read as two dots) with dash `4 3`; from 480px of chart width it is 16px (was 12px) with dash `4 3`. The dots-mode gap between entries goes 38 → 30px to pay for it, so a four-entry legend still fits one row at 390px. Selectors or snapshots that expected an 8px or 12px line key match the new widths.
|
|
1072
1140
|
|
|
1073
1141
|
## 2.13.3 — the router defaults need no provider
|
|
1074
1142
|
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: basalt-design-reviewer
|
|
3
|
+
description: Fresh design scorer for a `basalt-ui shot` out dir — scores every component on Craft, Expression and Communication and cites each defect by crop. Use after a shot round; never for the agent that wrote the UI to grade itself.
|
|
4
|
+
tools: Read, Grep, Glob
|
|
5
|
+
model: inherit
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You score a rendered UI. You did not build it. Do not read the app's source to excuse a defect: judge only what the shots show.
|
|
9
|
+
|
|
10
|
+
## Input
|
|
11
|
+
|
|
12
|
+
A shot out dir (default `.basalt/shots`, or the `out` in `.basalt/shots/last.json`):
|
|
13
|
+
|
|
14
|
+
- `board.html` — every crop, labelled by component, scheme, viewport and state.
|
|
15
|
+
- `metrics.json` — per anchor: `padding`, `gap`, `radius` (px, or `"full"` for a fully rounded box such as a `50%` circle or pill), `nested`, `fontSizes`, `emptyRatio`, `contrast`, `sheet`; `scale` (the theme's resolved spacing, radius and font-size steps) and `scaleError`; `shots[]` with each file's `status`.
|
|
16
|
+
- `png/*.png` — the crops, images you can see. Each anchor has a contact sheet (`sheet`: one image holding that anchor's crop for every state × scheme × viewport, each labelled, with the status text where a crop does not exist) and each route a full-page shot (`_page`). Score every anchor in both schemes and both viewports.
|
|
17
|
+
- A layout-suite result, only if the out dir has one.
|
|
18
|
+
|
|
19
|
+
A shot with status `not-declared` or `skipped` (mobile hover and tooltip: touch has no hover, by design) is not a defect. A missing hover, focus or tooltip crop for an anchor that has such a target is (Craft 7).
|
|
20
|
+
|
|
21
|
+
## Fail closed
|
|
22
|
+
|
|
23
|
+
- `metrics.json` missing or unreadable → the whole run is `fail`: "metrics.json unreadable". Do not score by eye instead.
|
|
24
|
+
- Zero anchors → the whole run is `fail`: "no anchors". A shot with status `error` → its component is `fail`, naming the file.
|
|
25
|
+
- Read every anchor's `sheet` and every `_page` shot, whatever else you open; open single crops only for detail. A component whose sheet you did not read, or whose `sheet` is absent, is `unverified`.
|
|
26
|
+
- `scaleError` set, or `scale` absent: Craft 1 is `unverified` for every component.
|
|
27
|
+
- A [measured] item whose field is missing for a component cannot be checked: it is `unverified`, and `unverified` counts as fail. Name the missing field.
|
|
28
|
+
|
|
29
|
+
## Scoring
|
|
30
|
+
|
|
31
|
+
Score per component, then add one line per page for the page items (Communication 5). One failed item fails the component; only all-pass is a pass. Cite items as `Craft 3`, `Expression 2`.
|
|
32
|
+
|
|
33
|
+
### Craft
|
|
34
|
+
|
|
35
|
+
1. **[measured]** Every inset, gap and radius is a step in `metrics.json` `scale`; nested surfaces step by at least 3 px of radius. No `scale` → `unverified`. Never invent steps.
|
|
36
|
+
2. **[measured]** No more than three font sizes inside one component: `fontSizes` with more than 3 distinct values fails.
|
|
37
|
+
3. No empty region of 40 % or more of the component's height — **[measured]**: `emptyRatio` ≥ 0.4 fails; no dense-list row wraps at 390 — judged from the 390 crop.
|
|
38
|
+
4. One ring per surface, no bare hairline borders on cards, no accent on chrome: look at every crop for an accent hue on a tab underline, a selected row, a secondary button, a card ring or a solid-filled badge. The accent sites are the primary data series, active-nav icons and active child labels, links, primary buttons, focus rings and the leader bar in meters; chrome (borders, inactive states, backgrounds, general icons) stays neutral, and selection state (active nav row, selected tab) never takes the accent.
|
|
39
|
+
5. **[measured]** Text and meaningful marks meet contrast in both schemes (a non-empty `contrast.failures` fails); nothing is told apart only by colour.
|
|
40
|
+
6. Nothing overflows, clips or truncates a value at 1440 or 390.
|
|
41
|
+
7. Hover, focus and tooltip states are present in the shots; focus is the 2 px outline.
|
|
42
|
+
|
|
43
|
+
### Expression
|
|
44
|
+
|
|
45
|
+
1. Name the data's shape and the encoding used; both must match a row of the encoding table (the catalogue) in the `/basalt-design` skill.
|
|
46
|
+
2. Every visual answers the question its caption names; a decorative visual fails.
|
|
47
|
+
3. A hue appears only for a trend, a status or a category; a single metric is neutral. A delta is neutral text with a trend glyph: a solid-filled badge or coloured fill on a delta fails here and Craft 4.
|
|
48
|
+
4. A number with a target shows the target; a number with a history shows it; a whole with parts shows the parts.
|
|
49
|
+
5. No axis repeats a label; ticks fit the span.
|
|
50
|
+
|
|
51
|
+
### Communication
|
|
52
|
+
|
|
53
|
+
1. No banned filler (below).
|
|
54
|
+
2. Every number carries its unit inline; a rate or total carries its period.
|
|
55
|
+
3. A number whose definition, period or source is not stated on the surface has a tooltip or a one-line explanation; a count of visible items has none.
|
|
56
|
+
4. Titles are precise nouns with their scope ("Ride distance, 7 days"), not categories ("Metrics").
|
|
57
|
+
5. **[page]** A page is not three rows of KPI cards, and not a single table when its data has one of the catalogue's shapes.
|
|
58
|
+
6. Empty and error states say why and what to do.
|
|
59
|
+
|
|
60
|
+
### Banned filler
|
|
61
|
+
|
|
62
|
+
Fail any of these on sight, in any language the app ships:
|
|
63
|
+
|
|
64
|
+
- Narration of the UI: "Here you can see…", "This chart shows…", "Below is…", "The following…".
|
|
65
|
+
- Welcome and marketing tone: "Welcome to…", "at a glance", "powerful", "seamless", "insights", "unlock".
|
|
66
|
+
- A subtitle that restates the title, or a decorative subtitle with no number or fact in it.
|
|
67
|
+
- Generic titles: "Overview", "Metrics", "Data", "Stats", "Details" on their own.
|
|
68
|
+
- A bare "Total", "Count" or "Value" with no noun.
|
|
69
|
+
- "No data", "Nothing here", "N/A" (use the em dash for a missing value, and say why when a whole surface is empty).
|
|
70
|
+
- "Loading…" text where a skeleton belongs; "Click here"; exclamation marks; emoji in chrome.
|
|
71
|
+
- Units spelled out at length in a dense surface ("kilometres") where the unit symbol reads.
|
|
72
|
+
|
|
73
|
+
## Output
|
|
74
|
+
|
|
75
|
+
Strict. Nothing before the table, no praise, no summary, no code rewrites. Name the defect, not the fix.
|
|
76
|
+
|
|
77
|
+
1. A table, one row per component: `| component | verdict | failed items |` — `pass` or `fail`; failed items like `Craft 3, Communication 1`, or `—`. Add one `page` line per route for the page items.
|
|
78
|
+
Under it, one line per component: `Read: <sheet file>, <page shot files>, <any single crops opened>`.
|
|
79
|
+
2. Then, for EVERY failure, one line:
|
|
80
|
+
`<axis> <n> — <png file> (<scheme>, <viewport>, <state>) — <defect in one sentence>`
|
|
81
|
+
A [measured] item cites `metrics.json <anchor>` instead of a PNG; an `unverified` item names the missing input.
|
|
82
|
+
|
|
83
|
+
A failure you cannot cite from a crop or from `metrics.json` is not a failure.
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
source: basalt-ui
|
|
3
3
|
description: Where an interactive control lives and how it binds — homes, slots, store-bound filters and tabs, aside, sidebar blocks.
|
|
4
4
|
paths:
|
|
5
|
-
- 'src/**'
|
|
6
|
-
- 'apps/**/src/**'
|
|
5
|
+
- '**/src/**'
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
<!-- basalt:coverage -->
|
|
@@ -34,7 +33,8 @@ A control has one home and takes its state from a store field; the home sets its
|
|
|
34
33
|
## Binding
|
|
35
34
|
|
|
36
35
|
- A filter or tab takes `field={store.field.x}` and nothing else about state; `value`, `onChange` and `size` are type errors. [type ViewTabs]
|
|
37
|
-
- Filters are `RangeFilter`, `MultiSelectFilter`, `SelectFilter`, `SearchFilter`, `NumberFilter`, `ToggleFilter`, inside one `FilterSet` in `PageBar.filters
|
|
36
|
+
- Filters are `RangeFilter`, `MultiSelectFilter`, `SelectFilter`, `SearchFilter`, `NumberFilter`, `ToggleFilter`, inside one `FilterSet` in `PageBar.filters`. [type FilterSet]
|
|
37
|
+
- `ViewTabs` goes in a `tabs` slot (`PageBar.tabs`, `Section.tabs`) when it switches a page or section, or in a `ChartCard`/`WidgetHeader` `actions` slot when it switches only that card's view; every other `PageBar` slot, `Section.actions` and a `FilterSet` refuse it (the lint reads the slot it is written in, not a hoisted binding). [basalt/bound-control-outside-home]
|
|
38
38
|
- `FilterSet` folds overflow and the mobile `Filters (n)` sheet itself; never build either. [type FilterSet]
|
|
39
39
|
- Import `DateRangePicker` from `basalt-ui/controls-dates` and pass it as `RangeFilter` `customPicker`; never import `@mantine/dates` in a shared module. [type RangeFilter]
|
|
40
40
|
- Refresh is `SyncButton`: `scope="page"` in `PageBar.sync`, `scope="global"` in the shell's `globalActions`. [type SyncButton]
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
source: basalt-ui
|
|
3
3
|
description: Mantine v9 in a basalt-ui app — provider, shell, surfaces, scroll, breakpoints, motion.
|
|
4
4
|
paths:
|
|
5
|
-
- 'src/**'
|
|
6
|
-
- 'apps/**/src/**'
|
|
5
|
+
- '**/src/**'
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
<!-- basalt:coverage -->
|
|
@@ -33,7 +32,7 @@ paths:
|
|
|
33
32
|
## Surfaces
|
|
34
33
|
|
|
35
34
|
- Never pass `withBorder` to `Card` or `Paper`; the theme draws the ring (`<Card.Section withBorder>` is fine). [check-theme card-with-border]
|
|
36
|
-
- Card/Paper insets are `py="
|
|
35
|
+
- Card/Paper insets are `py="sm" px="md"` with the theme radius; no explicit `p`, `padding` or `radius`. [basalt/card-inset]
|
|
37
36
|
- Lay out with `Box`/`Flex`/`Grid`/`Stack`/`Group`, not a `<div>` with `style`. [check-theme raw-html-layout] [check-theme hidden-inline-style]
|
|
38
37
|
- No inline `display: flex|grid`; no inline spacing; spacing props take `xs..xl`. [check-theme inline-display] [check-theme inline-spacing] [check-theme raw-spacing]
|
|
39
38
|
- Inputs come from `@mantine/core`, never `<input>`, `<select>` or `<textarea>`. [check-theme raw-form-control]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: basalt-design
|
|
3
|
-
description: Build or restyle dashboards and metric UIs in a basalt-ui app —
|
|
3
|
+
description: Build or restyle dashboards and metric UIs in a basalt-ui app — scenario, encoding, build, then rounds of screenshots scored by a reviewer subagent.
|
|
4
4
|
when_to_use: User is building or restyling dashboards, charts or metric UIs; tuning a palette; or says a UI looks inconsistent, over-colored or "AI default". Entry point for "make this look professional".
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -9,10 +9,28 @@ Method only; the law is `.claude/rules/basalt-*.md` and `./DESIGN.md`.
|
|
|
9
9
|
## Steps
|
|
10
10
|
|
|
11
11
|
1. 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
|
-
2.
|
|
13
|
-
3.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
2. **Scenario first.** Write down realistic fixture data, the user's question, and the decision the view supports. 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. **Pick each encoding from the data's shape**, then the shipped composite (`StatCard`, `ChartCard`, `Section`, `WidgetHeader`, `BasaltDataTable`, `EmptyState`; a gap is reported, not routed around). Chart kinds and `ChartCard` import from `basalt-ui/charts`, `BasaltDataTable` from `basalt-ui/table`, the rest from `basalt-ui`:
|
|
14
|
+
|
|
15
|
+
| Data shape | Encoding | Component |
|
|
16
|
+
| ----------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
|
|
17
|
+
| Single value with a trend | figure, text delta, axis-less sparkline along the card's bottom | `StatCard` + `sparkline` slot (`Sparkline`) |
|
|
18
|
+
| Value over time | line or stacked area | `Lines` / `StackedArea` in a `ChartCard` |
|
|
19
|
+
| Compare categories | bars | `Bars layout="grouped"` |
|
|
20
|
+
| Part of a whole, 2–6 parts | one segmented (stacked) bar, parts in order — not a donut plus a total card, not a row of N `StatCard`s | `Bars` (stacked, the default) |
|
|
21
|
+
| Distribution | small axis-less histogram | `Bars` in a `ChartCard` |
|
|
22
|
+
| Status over time | band strip; a heat grid for daily data | `BandStrip` / `Heatmap` |
|
|
23
|
+
| Many rows, several attributes | table, right-aligned mono figures | `BasaltDataTable` |
|
|
24
|
+
| Nothing yet / failed | why + what to do | `EmptyState` / the component's own state |
|
|
25
|
+
|
|
26
|
+
No row fits the data → say so; never default to a number in a box.
|
|
27
|
+
|
|
28
|
+
4. Build with Mantine primitives and the composites; every color from `VX.*` or a series token. 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`.
|
|
29
|
+
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`. Declare supported states with `data-shot-states="empty loading error"` and render them when the `shot-state` URL param asks.
|
|
30
|
+
6. **Rounds, at least three.** Playwright is the app's dev dependency: `bun add -d playwright && bunx playwright install chromium`. Then:
|
|
31
|
+
- `basalt-ui shot <routes> --dist <built app>` (or `--base <url>` for a running server);
|
|
32
|
+
- hand the out dir (`.basalt/shots`) to the `basalt-design-reviewer` subagent by name; it reads each component's contact sheet (`png/*__sheet.png`) and every page shot;
|
|
33
|
+
- revise every failing item at its source, rebuild, and shoot again.
|
|
34
|
+
Boards stay local (gitignored); the scored verdict and notes are worth committing.
|
|
35
|
+
7. **Done** only when the reviewer passes every component, 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.
|
|
36
|
+
8. 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.
|
|
@@ -18,6 +18,13 @@ the one exception. In a workspace: the app package's `node_modules/.bin/basalt-u
|
|
|
18
18
|
**Before guessing an import, read the installed `llms.txt`** at the install directory (in a workspace,
|
|
19
19
|
under the depending package; `basalt-ui doctor` prints where; a fresh worktree needs `bun install` first).
|
|
20
20
|
|
|
21
|
+
**Skills and subagent** (installed in `.claude/`; invoke by name):
|
|
22
|
+
|
|
23
|
+
- `/basalt-app`: scaffold, wire, upgrade or verify the app (`init`, `doctor`, `sync`).
|
|
24
|
+
- `/basalt-design`: build or restyle a screen — scenario, `basalt-ui shot` rounds, review, revise.
|
|
25
|
+
- `/basalt-charts`: add or extend a chart, register its series colors.
|
|
26
|
+
- `basalt-design-reviewer` (subagent): scores a `basalt-ui shot` out dir per component; run it after every shot round, never on your own work.
|
|
27
|
+
|
|
21
28
|
@./DESIGN.md
|
|
22
29
|
|
|
23
30
|
**Restraint override (supersedes `/frontend-design`).** This is a calm, data-dense professional
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The card inset is stated in four places that must agree: the token (`cardInsetY`/`cardInsetX`,
|
|
3
|
+
* level 0), the fallback literal every reader of `--vx-space-card-inset-*` carries (a Mantine-free
|
|
4
|
+
* chart layer or a head-injected palette renders before the var exists), and the `py`/`px` pair the
|
|
5
|
+
* `basalt/card-inset` rule accepts. One scale, so one test.
|
|
6
|
+
*/
|
|
7
|
+
import { expect, test } from 'bun:test'
|
|
8
|
+
import { readdirSync, readFileSync, statSync } from 'node:fs'
|
|
9
|
+
import { join } from 'node:path'
|
|
10
|
+
import { SPACE_SCALE, SPACE_STEP } from '../src/tokens/palette'
|
|
11
|
+
import { CARD_INSET_PX, CARD_INSET_PY } from './oxlint-plugin.js'
|
|
12
|
+
|
|
13
|
+
const SRC = join(import.meta.dirname, '..', 'src')
|
|
14
|
+
|
|
15
|
+
function sources(dir: string): string[] {
|
|
16
|
+
return readdirSync(dir).flatMap((name) => {
|
|
17
|
+
const path = join(dir, name)
|
|
18
|
+
if (statSync(path).isDirectory()) return sources(path)
|
|
19
|
+
return /\.(tsx?|css)$/.test(name) && !/\.test\./.test(name) ? [path] : []
|
|
20
|
+
})
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const toPx = (value: string, unit: string): number =>
|
|
24
|
+
unit === 'rem' ? Number(value) * 16 : Number(value)
|
|
25
|
+
|
|
26
|
+
test('every --vx-space-card-inset-* fallback literal equals the level-0 inset', () => {
|
|
27
|
+
const found: [string, string, number][] = []
|
|
28
|
+
for (const file of sources(SRC)) {
|
|
29
|
+
const text = readFileSync(file, 'utf8')
|
|
30
|
+
for (const m of text.matchAll(/var\(--vx-space-card-inset-([xy]),\s*([\d.]+)(px|rem)\)/g)) {
|
|
31
|
+
found.push([file.slice(SRC.length), m[1] as string, toPx(m[2] as string, m[3] as string)])
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
expect(found.length).toBeGreaterThan(8)
|
|
35
|
+
for (const [file, axis, px] of found) {
|
|
36
|
+
expect([file, axis, px]).toEqual([
|
|
37
|
+
file,
|
|
38
|
+
axis,
|
|
39
|
+
axis === 'x' ? SPACE_STEP.cardInsetX : SPACE_STEP.cardInsetY,
|
|
40
|
+
])
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
test('every bare reader of --vx-space-card-inset-* carries a fallback', () => {
|
|
45
|
+
for (const file of sources(SRC)) {
|
|
46
|
+
if (/tokens\/core\.ts$|guard\/vx-names\.ts$/.test(file)) continue
|
|
47
|
+
const text = readFileSync(file, 'utf8')
|
|
48
|
+
for (const m of text.matchAll(/var\(--vx-space-card-inset-[xy]\)/g)) {
|
|
49
|
+
throw new Error(`${file.slice(SRC.length)}: ${m[0]} has no fallback`)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
test("the rule's py/px pair names the scale steps the inset tokens are", () => {
|
|
55
|
+
expect(SPACE_STEP.cardInsetY).toBe(SPACE_SCALE[CARD_INSET_PY as keyof typeof SPACE_SCALE])
|
|
56
|
+
expect(SPACE_STEP.cardInsetX).toBe(SPACE_SCALE[CARD_INSET_PX as keyof typeof SPACE_SCALE])
|
|
57
|
+
})
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"rules": {
|
|
4
4
|
"basalt/no-raw-font-size": "error",
|
|
5
5
|
"basalt/raw-size-literal": "error",
|
|
6
|
-
"basalt/card-inset": "
|
|
6
|
+
"basalt/card-inset": "warn",
|
|
7
7
|
"basalt/chart-in-raw-surface": "error",
|
|
8
8
|
"basalt/shadow-basalt-export": "error",
|
|
9
9
|
"basalt/hand-rolled-shell": "error",
|