basalt-ui 2.27.2 → 2.28.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 +99 -0
- package/MIGRATING.md +168 -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-design/SKILL.md +1 -1
- package/agent/skills/basalt-design/references/catalogue.md +40 -36
- package/agent/skills/basalt-design/references/recipes.md +47 -0
- package/configs/oxlint-basalt.json +2 -1
- package/configs/oxlint-plugin.js +110 -2
- package/configs/oxlint-plugin.test.ts +99 -4
- 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 +5 -2
- package/dist/charts/ChartCard.d.ts.map +1 -1
- package/dist/charts/ChartCard.js +46 -13
- package/dist/charts/Lines.d.ts.map +1 -1
- package/dist/charts/Lines.js +11 -4
- package/dist/charts/Sparkline.d.ts +9 -2
- package/dist/charts/Sparkline.d.ts.map +1 -1
- package/dist/charts/Sparkline.js +104 -41
- package/dist/charts/chart-box.module.css +50 -0
- package/dist/charts/chart-box.module.css.d.ts +5 -0
- package/dist/charts/chart-card.module.css +12 -4
- package/dist/charts/chart-card.module.css.d.ts +1 -0
- package/dist/charts/compile.d.ts.map +1 -1
- package/dist/charts/compile.js +20 -18
- 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 +31 -8
- package/dist/charts/ref-label.d.ts.map +1 -1
- package/dist/charts/ref-label.js +40 -9
- package/dist/charts/sparkline.module.css +6 -0
- package/dist/charts/state.d.ts +3 -3
- package/dist/charts/state.d.ts.map +1 -1
- package/dist/charts/state.js +20 -2
- package/dist/cli/shot/capture.d.ts +6 -1
- package/dist/cli/shot/capture.d.ts.map +1 -1
- package/dist/cli/shot/capture.js +18 -5
- 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/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 +1 -1
- package/dist/dashboard/bar-list.d.ts.map +1 -1
- package/dist/dashboard/bar-list.js +6 -2
- package/dist/dashboard/bar-list.module.css +0 -2
- 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 +228 -0
- package/dist/dashboard/board.module.css +160 -0
- package/dist/dashboard/board.module.css.d.ts +26 -0
- package/dist/dashboard/empty-state.d.ts +3 -3
- package/dist/dashboard/empty-state.d.ts.map +1 -1
- package/dist/dashboard/empty-state.js +13 -6
- package/dist/dashboard/event-list-model.d.ts +51 -0
- package/dist/dashboard/event-list-model.d.ts.map +1 -0
- package/dist/dashboard/event-list-model.js +72 -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 +93 -0
- package/dist/dashboard/event-list-scroll.d.ts +27 -0
- package/dist/dashboard/event-list-scroll.d.ts.map +1 -0
- package/dist/dashboard/event-list-scroll.js +103 -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 +36 -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 +178 -0
- package/dist/dashboard/event-list.module.css +283 -0
- package/dist/dashboard/event-list.module.css.d.ts +33 -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-parts.d.ts.map +1 -1
- package/dist/dashboard/meter-parts.js +5 -3
- package/dist/dashboard/meter.module.css +2 -1
- package/dist/dashboard/query-state.js +1 -1
- package/dist/dashboard/settings-section.d.ts +4 -1
- package/dist/dashboard/settings-section.d.ts.map +1 -1
- package/dist/dashboard/settings-section.js +1 -1
- package/dist/dashboard/settings-section.module.css +19 -4
- 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.map +1 -1
- package/dist/dashboard/stat-card.js +25 -6
- package/dist/dashboard/stat-card.module.css +31 -7
- package/dist/dashboard/stat-card.module.css.d.ts +3 -0
- package/dist/dashboard/stat-strip.module.css +4 -1
- package/dist/dashboard/widget-header.module.css +17 -1
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +2 -0
- 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 +46 -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 +44 -0
- package/dist/table/cell-kinds.d.ts.map +1 -0
- package/dist/table/cell-kinds.js +169 -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 +147 -0
- package/dist/table/data-table-fold.d.ts.map +1 -0
- package/dist/table/data-table-fold.js +288 -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 +11 -26
- package/dist/table/data-table.d.ts.map +1 -1
- package/dist/table/data-table.js +354 -254
- package/dist/table/data-table.module.css +210 -3
- package/dist/table/data-table.module.css.d.ts +12 -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 +32 -0
- 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 +34 -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 +79 -17
- package/src/charts/Lines.tsx +13 -4
- package/src/charts/Sparkline.tsx +131 -45
- package/src/charts/chart-box.module.css +50 -0
- package/src/charts/chart-box.module.css.d.ts +5 -0
- package/src/charts/chart-card.module.css +12 -4
- package/src/charts/chart-card.module.css.d.ts +1 -0
- package/src/charts/compile.ts +22 -18
- package/src/charts/labels.ts +175 -24
- package/src/charts/legend.tsx +3 -2
- package/src/charts/ref-label.ts +86 -17
- package/src/charts/sparkline.module.css +6 -0
- package/src/charts/state.tsx +36 -7
- package/src/cli/shot/capture.ts +29 -6
- package/src/common/empty-copy.ts +17 -0
- 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 +0 -2
- package/src/dashboard/bar-list.tsx +8 -5
- package/src/dashboard/board-nav.ts +67 -0
- package/src/dashboard/board.module.css +160 -0
- package/src/dashboard/board.module.css.d.ts +26 -0
- package/src/dashboard/board.tsx +394 -0
- package/src/dashboard/empty-state.tsx +16 -9
- package/src/dashboard/event-list-model.ts +113 -0
- package/src/dashboard/event-list-rows.tsx +120 -0
- package/src/dashboard/event-list-scroll.ts +145 -0
- package/src/dashboard/event-list-skeleton.tsx +58 -0
- package/src/dashboard/event-list.module.css +283 -0
- package/src/dashboard/event-list.module.css.d.ts +33 -0
- package/src/dashboard/event-list.tsx +309 -0
- package/src/dashboard/index.ts +2 -0
- package/src/dashboard/meter-parts.tsx +9 -2
- package/src/dashboard/meter.module.css +2 -1
- package/src/dashboard/query-state.tsx +1 -1
- package/src/dashboard/settings-section.module.css +19 -4
- package/src/dashboard/settings-section.tsx +7 -2
- package/src/dashboard/stat-card-parts.tsx +20 -3
- package/src/dashboard/stat-card.module.css +31 -7
- package/src/dashboard/stat-card.module.css.d.ts +3 -0
- package/src/dashboard/stat-card.tsx +24 -5
- package/src/dashboard/stat-strip.module.css +4 -1
- package/src/dashboard/widget-header.module.css +17 -1
- package/src/guard/index.ts +2 -0
- package/src/index.ts +4 -0
- package/src/shell/app-main.module.css +18 -0
- package/src/styles.css +46 -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 +234 -0
- package/src/table/data-table-fold.tsx +514 -0
- package/src/table/data-table-state.ts +24 -13
- package/src/table/data-table.module.css +210 -3
- package/src/table/data-table.module.css.d.ts +12 -0
- package/src/table/data-table.tsx +406 -359
- 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 +32 -0
- 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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,102 @@
|
|
|
1
|
+
# [2.28.0](https://github.com/jkrumm/basalt-ui/compare/v2.27.2...v2.28.0) (2026-10-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* a danger row action is red only on hover or focus ([e904f08](https://github.com/jkrumm/basalt-ui/commit/e904f0866cdf0c2051350ec08e611226c7cb300a))
|
|
7
|
+
* a pinned text cell keeps one line ([e1ded8e](https://github.com/jkrumm/basalt-ui/commit/e1ded8e164a1be8eedf53cf3287d494bac5e2c42))
|
|
8
|
+
* a Sparkline band covers the whole plot in the neutral wash ([b3e94ea](https://github.com/jkrumm/basalt-ui/commit/b3e94ea6ed4305ad4563dc0b8bd45d335e1b2374))
|
|
9
|
+
* a thin reference glyph and end labels that straddle their lines ([448e690](https://github.com/jkrumm/basalt-ui/commit/448e6904cca40a604edfdd15bff41771fd031b45))
|
|
10
|
+
* add rest-absent records after every URL state ran ([56e738d](https://github.com/jkrumm/basalt-ui/commit/56e738d02313b308ac745bbe2b9de60275dda046))
|
|
11
|
+
* add the body Weight meter scenario to the playground ([038e98d](https://github.com/jkrumm/basalt-ui/commit/038e98d2c9d1af93d0204c53c6168daa2111e96f))
|
|
12
|
+
* address review on the EmptyState alignment ([8426e0b](https://github.com/jkrumm/basalt-ui/commit/8426e0ba6604ca7f59fc8e73b5de0d373d8c8f21))
|
|
13
|
+
* an empty table's title takes the table title's tier ([8cef1cb](https://github.com/jkrumm/basalt-ui/commit/8cef1cb50d8c2cc6b0b87cb4371faacd2902e04c))
|
|
14
|
+
* an under-cell strip footer takes the caption step ([3b9beeb](https://github.com/jkrumm/basalt-ui/commit/3b9beeb62486889706be116ec190e52edaa13ac5))
|
|
15
|
+
* band ghost, sm empty title, visible primary hover step ([200fd0d](https://github.com/jkrumm/basalt-ui/commit/200fd0d44418148a00e277f54cb7b7fd55d2a980))
|
|
16
|
+
* chart empty tile, line ghost by kind and StatCard states ([7d30229](https://github.com/jkrumm/basalt-ui/commit/7d30229efc4ec5e33f793817fd425c9a34ba006e))
|
|
17
|
+
* clear the last label touches and show the whole Sparkline band ([bc7aed1](https://github.com/jkrumm/basalt-ui/commit/bc7aed19c83775f3ba4f753a64ca8da5d2f7a81b))
|
|
18
|
+
* declare the S2 summary's omitted empty at rest ([e0b0590](https://github.com/jkrumm/basalt-ui/commit/e0b0590f2657ebe258564a68ca478b91ed807364))
|
|
19
|
+
* derive the lift log from the month-to-date predicate ([ed0fc7b](https://github.com/jkrumm/basalt-ui/commit/ed0fc7b65b9b3857872af4694b12da7e01064dcd))
|
|
20
|
+
* divide FormGroup section rows like SettingsSection rows ([184a0b6](https://github.com/jkrumm/basalt-ui/commit/184a0b6f3ae9fab071d9e1c689224591021e6e08))
|
|
21
|
+
* draw the attribution glyph on ::after ([e9359dc](https://github.com/jkrumm/basalt-ui/commit/e9359dc51a93166a44a2cde7a76f15b6c72a5f09))
|
|
22
|
+
* draw the folded table's chevron column in the loading skeleton ([2ab102e](https://github.com/jkrumm/basalt-ui/commit/2ab102e48f2804d94185f10a460bff64152e3ba1))
|
|
23
|
+
* draw the S5 aside skeleton with five rows ([55c2a26](https://github.com/jkrumm/basalt-ui/commit/55c2a26686b325f8db4622395fa8314315f1fe9b))
|
|
24
|
+
* drop the compact board column's repeated title and count ([e36e90c](https://github.com/jkrumm/basalt-ui/commit/e36e90c5ffa03f2f7482a4eb2d236a916e8be5e5))
|
|
25
|
+
* drop the retired state-title-size seam from chart and stat empties ([1d197a5](https://github.com/jkrumm/basalt-ui/commit/1d197a551056997373a7a2d77632c65f11db4c76))
|
|
26
|
+
* end label sides follow each line's direction, a layout guard ([ce13e37](https://github.com/jkrumm/basalt-ui/commit/ce13e37e5f92d3a51cec928d38ef81f0d39253fd))
|
|
27
|
+
* equal-height toolbar controls, one home per facet, split range pill ([f2f8ae8](https://github.com/jkrumm/basalt-ui/commit/f2f8ae840a932d44178cf701cf59aafda36086ae))
|
|
28
|
+
* error titles take sm in a card, one board column switcher ([fdd9237](https://github.com/jkrumm/basalt-ui/commit/fdd9237d8b529ab9d6b6c7df64badede994e3f01))
|
|
29
|
+
* fix the Wave 42 r2 playground items on S1, S2 and /data ([eb2f9a2](https://github.com/jkrumm/basalt-ui/commit/eb2f9a2cef3368bfa6ea750de68acd9281246df3))
|
|
30
|
+
* full-row cells wrap, one pager owner, the date is read in the time ([9869d75](https://github.com/jkrumm/basalt-ui/commit/9869d754ae466aa757679c754fd2c2cde23415ce))
|
|
31
|
+
* gate the danger row action hover on hover-capable pointers ([e338175](https://github.com/jkrumm/basalt-ui/commit/e33817594824ea490cf481de1b78e550a2a7b379))
|
|
32
|
+
* grow a full-page shot only by the page scrollport's hidden height ([a932caf](https://github.com/jkrumm/basalt-ui/commit/a932caf6864df1ff3cd3e9a7dfa2611858df38c6))
|
|
33
|
+
* harden the map attribution and overlay radius rules ([f188938](https://github.com/jkrumm/basalt-ui/commit/f188938131c502ce467c571e0f598c5beb50a0c0))
|
|
34
|
+
* hide the sparkline reference label under its readout ([6b57de7](https://github.com/jkrumm/basalt-ui/commit/6b57de78bf362d57eb2cd79845abfe1b0f121e7a))
|
|
35
|
+
* judge MultiSelectFilter by set equality, share one width hook ([67183ef](https://github.com/jkrumm/basalt-ui/commit/67183efed4acf6bb1a9f23d51accb2a133efc8eb))
|
|
36
|
+
* keep a ChartCard subtitle readable at compact ([8d1725e](https://github.com/jkrumm/basalt-ui/commit/8d1725ed85381eac3620ee1311137bcf333a1616))
|
|
37
|
+
* keep a start-side Meter caption whole and on one line ([641eca0](https://github.com/jkrumm/basalt-ui/commit/641eca089f43008fc28ca4c0c7391ed91d76b2f9))
|
|
38
|
+
* keep end labels and the goal caption clear of each other ([f8657a3](https://github.com/jkrumm/basalt-ui/commit/f8657a32240b311af0c06b477d754380d9a2b41d))
|
|
39
|
+
* keep one tab stop in the rendered board column and harden record hrefs ([ed07c53](https://github.com/jkrumm/basalt-ui/commit/ed07c5356ee6c33b7ee8fb0e540cf07f8dd0da48))
|
|
40
|
+
* keep Pagination registered for the border gate ([a6973d1](https://github.com/jkrumm/basalt-ui/commit/a6973d178290cd38b85cb38eb1e5ff98df5f8b30))
|
|
41
|
+
* keep S1 latency delta while loading, read the S2 gap in two parts ([60c05f3](https://github.com/jkrumm/basalt-ui/commit/60c05f3ca4aef0180d419e46364d373d0b513f08))
|
|
42
|
+
* keep the EventList chip beside a long note at 390 ([6d596db](https://github.com/jkrumm/basalt-ui/commit/6d596dbd950375d67be8009871a32f2a02b9fab0))
|
|
43
|
+
* keep the footer for a filtered table, bound the range ([08d4832](https://github.com/jkrumm/basalt-ui/commit/08d48322f0ceaddc9215917e8dd6a9c37db0e858))
|
|
44
|
+
* keep the S1 breakdown rows while a card loads ([0c74154](https://github.com/jkrumm/basalt-ui/commit/0c741545c159e1454ec70475d2ea4eb6b821035c))
|
|
45
|
+
* keep the stacked label-to-control gap and measure the row rule ([25a9f45](https://github.com/jkrumm/basalt-ui/commit/25a9f453e918dc14e89ee835e9447728285c5059))
|
|
46
|
+
* keep the strip height under an explicit ghost ([dfdba6b](https://github.com/jkrumm/basalt-ui/commit/dfdba6b0093eb1b6254ce0b9b50c47f021739ead))
|
|
47
|
+
* key the entry form by state and shape each skeleton row ([bef786d](https://github.com/jkrumm/basalt-ui/commit/bef786d50cfc60f0b25528567ee436819d379eed))
|
|
48
|
+
* kindless columns fit beside an entity column ([0cef903](https://github.com/jkrumm/basalt-ui/commit/0cef903b924bbb28932fbce427b636919a718a0f))
|
|
49
|
+
* make the entry error state a validation failure ([de2446b](https://github.com/jkrumm/basalt-ui/commit/de2446bb15ef30fade26b32dfae8b64f24a4238f))
|
|
50
|
+
* name the S6 account actions and drop the dead skeleton child ([91b722c](https://github.com/jkrumm/basalt-ui/commit/91b722cf95a32097bb2b01f982c6496e5817886c))
|
|
51
|
+
* one row rule for FormRow and SettingsRow, tighter descriptions ([815943a](https://github.com/jkrumm/basalt-ui/commit/815943a4427d881c14d56d9337aec4df9f914e9d))
|
|
52
|
+
* order-proof section rhythm, always-mounted form error region ([5428873](https://github.com/jkrumm/basalt-ui/commit/54288734c5491810d5fe9a76fca7b45a0169b5bb))
|
|
53
|
+
* pin only unpinned columns, plan the checkbox width, ghost the fold toggle ([ca0cf63](https://github.com/jkrumm/basalt-ui/commit/ca0cf63b0a6a711d232e3eab4404d9541d4c36f8))
|
|
54
|
+
* pin the Meter reading row structure and assert the fit ([570102e](https://github.com/jkrumm/basalt-ui/commit/570102ef481f494cae23f498d8b4dd9b50243cbf))
|
|
55
|
+
* pin the S6 entry actions by container, not by size class ([a51a3dd](https://github.com/jkrumm/basalt-ui/commit/a51a3ddba7c4d82365e46be2d52877e9d4c7cc4a))
|
|
56
|
+
* pin the strip footer slots to the sm step in a unit test ([e7ada06](https://github.com/jkrumm/basalt-ui/commit/e7ada06f82ec429dc189a73ae5c1aaac15e2eb27))
|
|
57
|
+
* put the settings states in their surfaces, one form system ([3988cf9](https://github.com/jkrumm/basalt-ui/commit/3988cf98b5a3aba2204741d48d6ebed3451e6b40))
|
|
58
|
+
* record rest absent for an anchor first seen in a URL state ([37d340f](https://github.com/jkrumm/basalt-ui/commit/37d340f57e3e88a3f215ed0de882795aca0944aa))
|
|
59
|
+
* reset the pin, key header-only on rendered rows, calm the scheme watch ([7d03ae9](https://github.com/jkrumm/basalt-ui/commit/7d03ae9d977df700af77897ba0d429b16a65d727))
|
|
60
|
+
* route folded kind cells, keep fractions, dot every status chip ([96d799f](https://github.com/jkrumm/basalt-ui/commit/96d799fc36860aa5c36228c1f2d26c9fa5574553))
|
|
61
|
+
* satisfy the theme guard in the S8 scenario ([231b41b](https://github.com/jkrumm/basalt-ui/commit/231b41b8c95ba97a1b7e3e302678e163e2ba27bf))
|
|
62
|
+
* scan PasswordInput and Textarea in the ctl tier gate ([572e4b4](https://github.com/jkrumm/basalt-ui/commit/572e4b41e991fca61c684486111d36fead05b515))
|
|
63
|
+
* scope the ChartCard subtitle rule to its own header ([e4ea807](https://github.com/jkrumm/basalt-ui/commit/e4ea8074456592854646bd8ad7724a2e31b4b655))
|
|
64
|
+
* scope the readout caption hide and widen its guards ([b00fe32](https://github.com/jkrumm/basalt-ui/commit/b00fe32cbcf3ae42da8e1f5a00b5debe255d2e24))
|
|
65
|
+
* set the three gzip ceilings to what CI measures ([e1af87b](https://github.com/jkrumm/basalt-ui/commit/e1af87b18b2c7821db53c78a3b73423eea5d9ab5))
|
|
66
|
+
* show the empty-state ring on both schemes and left-align table errors ([ff36cff](https://github.com/jkrumm/basalt-ui/commit/ff36cff543f67d5e4d66e8e9e2cff1d1cf40aac2))
|
|
67
|
+
* size section empty titles to sm, keep the loading board switcher ([e321094](https://github.com/jkrumm/basalt-ui/commit/e321094b3ba62157c4b69d322f084471d11dbb5d))
|
|
68
|
+
* split the chart empty tile's live region from its action ([41f2745](https://github.com/jkrumm/basalt-ui/commit/41f27459826a83b4d0c1bf106e2914f83e122412))
|
|
69
|
+
* start the ring-contrast probe from the page background ([6765081](https://github.com/jkrumm/basalt-ui/commit/676508188a24602ba33df2c116a84a6165cedb9a))
|
|
70
|
+
* table slack beside the figures, one pager type size ([8e0c2fc](https://github.com/jkrumm/basalt-ui/commit/8e0c2fc6d6cf64c1f91be5b869d1df5c93aec3c7))
|
|
71
|
+
* take the row-hover fill from the table's own module ([b3d4827](https://github.com/jkrumm/basalt-ui/commit/b3d4827d95566fd5e64461dd623ac28143bdc3d5))
|
|
72
|
+
* test end labels against argo's weight fixture and hoist ranges ([dc5373b](https://github.com/jkrumm/basalt-ui/commit/dc5373b4d378e45b76127113edb5d27479f12c54))
|
|
73
|
+
* the fold toggle cell adds no block padding to the row ([9abb21a](https://github.com/jkrumm/basalt-ui/commit/9abb21a9ed88f1cd862298523f5f13fbf624ad60))
|
|
74
|
+
* the pager's ink label wins over Mantine's inline on-colour ([0237d35](https://github.com/jkrumm/basalt-ui/commit/0237d358b3dfe5d6a2cac1efa3aeef8ca208716d))
|
|
75
|
+
* treat empty form errors as clean, tier the form fields ([d558b80](https://github.com/jkrumm/basalt-ui/commit/d558b80610fb3c4dc1f936de4bc85704919d2700))
|
|
76
|
+
* write the Weight cell value literally ([0aa16c3](https://github.com/jkrumm/basalt-ui/commit/0aa16c3d57bf03eb2ec9b2baf1506f5dcee25e47))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
* a Sparkline band and a reference label clear of the line ([60b08f2](https://github.com/jkrumm/basalt-ui/commit/60b08f230a953f7fad89c208d71a4281be440c25))
|
|
82
|
+
* add a day-grouped event list with feed and timeline densities ([404d050](https://github.com/jkrumm/basalt-ui/commit/404d0501e559f1c82378e466cfe7ee583f006faa))
|
|
83
|
+
* add a status board with roving-focus columns and a compact switcher ([ca9f206](https://github.com/jkrumm/basalt-ui/commit/ca9f206a7797326756c68070b87d9dd7f28fd9e1))
|
|
84
|
+
* add record page, decision card and list-row recipes to basalt-design ([55132be](https://github.com/jkrumm/basalt-ui/commit/55132bee8efc89e6739f3f59af6ff6cdbc4348ea))
|
|
85
|
+
* add the S6 settings and entry scenario ([43e8f4f](https://github.com/jkrumm/basalt-ui/commit/43e8f4fe178f42a0ffadfde0ccc674503f0094e5))
|
|
86
|
+
* add the S8 sky map scenario with a flush map card ([c4036e2](https://github.com/jkrumm/basalt-ui/commit/c4036e26f06a85c13acad9e8d1aa2be2dff49dcb))
|
|
87
|
+
* align empty, loading and error states on the EmptyState anatomy ([12602f5](https://github.com/jkrumm/basalt-ui/commit/12602f5fa78852685f0e3aea13b9ebeea7eb40bd))
|
|
88
|
+
* bind the board's compact column to a store field ([614aa36](https://github.com/jkrumm/basalt-ui/commit/614aa36ab99130d93777c6b258e42b9b1f2a4897))
|
|
89
|
+
* guard the excellent status fill out of text positions ([92228ce](https://github.com/jkrumm/basalt-ui/commit/92228cece838097509b2dd7edc9bf391e5b6d5a3))
|
|
90
|
+
* hold form fields at 32 and centre the label on its field ([7ddb4ac](https://github.com/jkrumm/basalt-ui/commit/7ddb4ac65492ae3943b5a2c40f581db24bc49fdf))
|
|
91
|
+
* map catalogue form, flush-card overlay radius, main content height ([890caac](https://github.com/jkrumm/basalt-ui/commit/890caac183eff5ecbf006295741769a42b93e2ca))
|
|
92
|
+
* one-row table toolbar and filter chips with a bright value ([565ae1e](https://github.com/jkrumm/basalt-ui/commit/565ae1ee059470b80b43e2920fc6df64a2adce6d))
|
|
93
|
+
* register status-fill-as-text and state it in the tokens rule ([2920b42](https://github.com/jkrumm/basalt-ui/commit/2920b42c2c700f8a0176cbb9f30261d286d8eaff))
|
|
94
|
+
* table cell kinds and a header on the body fill ([a0accb8](https://github.com/jkrumm/basalt-ui/commit/a0accb840ac5e30799fc7d2fbc6769f61f2092f3))
|
|
95
|
+
* table rows hold one line, hover, and read the same pinned ([05f95df](https://github.com/jkrumm/basalt-ui/commit/05f95df2635de08ec9214d549e2d1dd4c09ec4cf))
|
|
96
|
+
* tables pin the first column and scroll at compact ([df0c10d](https://github.com/jkrumm/basalt-ui/commit/df0c10dbe50aa8766319f47b4bcae15c3a8f5b81))
|
|
97
|
+
* tables size columns to content and keep honest state chrome ([f912884](https://github.com/jkrumm/basalt-ui/commit/f912884e320df6c331297ac432fb9d7cffad92ee))
|
|
98
|
+
* tune form rows and sections to the S6 settings pass ([dff30c4](https://github.com/jkrumm/basalt-ui/commit/dff30c4dffa10815d619b67b8186243fc073af95))
|
|
99
|
+
|
|
1
100
|
## [2.27.2](https://github.com/jkrumm/basalt-ui/compare/v2.27.1...v2.27.2) (2026-10-19)
|
|
2
101
|
|
|
3
102
|
|
package/MIGRATING.md
CHANGED
|
@@ -66,18 +66,18 @@ There is one row per SURFACE, not per export, and a surface earns a row once any
|
|
|
66
66
|
shipped lefthook preset both changed in 1.30.0 with no row that owned them — which is how a
|
|
67
67
|
consumer read this index, found nothing, and diffed a KPI row that had silently gone 4-up → 2-up.
|
|
68
68
|
|
|
69
|
-
| Surface | 1.27.0 | 1.28.0 | 1.29.0 | 1.30.0 | 1.30.1 | 1.30.2 | 1.31.0 | 1.32.0 | 1.32.1 | 1.33.0 | 1.34.0 | 1.34.1 | 1.35.0 | 1.36.0 | 1.36.1 | 1.37.0 | 1.37.1 | 1.38.0 | 1.38.1 | 1.39.0 | 1.40.0 | 1.40.1 | 1.40.2 | 1.40.3 | 1.41.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.1.0 | 2.2.0 | 2.3.0 | 2.4.0 | 2.5.0 | 2.6.0 | 2.6.1 | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.8.0 | 2.8.1 | 2.9.0 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.1 | 2.12.0 | 2.13.0 | 2.13.1 | 2.13.2 | 2.13.3 | 2.14.0 | 2.15.0 | 2.16.0 | 2.17.0 | 2.18.0 | 2.19.0 | 2.20.0 | 2.21.0 | 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) | — | — | — | — |
|
|
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 | 2.28.0 | Unreleased |
|
|
70
|
+
| ----------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------- | ------ | ------ | -------------------------------------------------------------------------------------------- | ------ | ------ | ------ | ------ | ------ | ----------------------------------------------- | ------ | ------ | ------ | ------ | ------------------------------------------------------------ | ---------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
71
|
+
| **tokens** (`./tokens`) | — | `--vx-divider` → `rgba()` on both schemes (§ Shell) | `--vx-space-touch-target` added (§ Additions) | eight spacing numbers (§ Chrome) | — | — | `--vx-hit` replaces the touch vars; `SIZE_CLASSES` (§ 1.31.0) | — | `SIZE_CLASSES`/`CONTAINER_CLASSES` actually exported (§ Fixes) | `CONTAINER_GRID_BREAKPOINTS`; `raw-breakpoint` trusts it (§ 1.33.0) | `CONTAINER_KEYS` (§ 1.34.0) | — | — | — | — | — | — | — | | `appShellInset` 20 → 16 (§ 1.38.1) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | § 1.x compatibility layer removed | — | — | — | — | — | — | — | — | — | — | — | spacing, radius, type and the dense tier (§ 2.16.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
72
|
+
| **charts** (`./charts`) | — | phone tier, `curve`, formatters, `state`, log axis (§ preamble) | `ChartState.empty: string`, `AxisBottomNumeric` (§ Additions) | responsive `height`, `legend.maxRows` (§ Charts) | `height` reaches the kinds; `maxRows` beats the `fill` fit (§ Charts) | — | container-class tier + `height` keys (§ 1.31.0) | — | `ResponsiveChartHeight` `sm` → key (§ Container recipes) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `BandSpan.absentFraction` + `absentState` (§ 2.8.0) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | `Lines` linear curve, `naming`, no lone-series legend, locale tooltip header, y gutter, `RefLine.labelPosition`, `StackedArea.fillOpacity` (§ Chart chrome) | — | 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) | — | — | — | — | — |
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
@@ -1046,6 +1046,162 @@ 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.28.0
|
|
1050
|
+
|
|
1051
|
+
### Data tables (Wave 42)
|
|
1052
|
+
|
|
1053
|
+
Nothing to change unless a test or a style depends on the old look. Each line names its opt-out.
|
|
1054
|
+
|
|
1055
|
+
- **Cell kinds.** `BasaltColumnMeta` gains `kind` (`entity` | `status` | `number` | `money` | `relative-time` |
|
|
1056
|
+
`meter` | `text`), plus `statusColor(value)`, `meterMax` and `currency`. A kind supplies the cell's chrome, and its
|
|
1057
|
+
content when the column has no `cell`. Unset `kind` keeps the plain cell. Units belong in the header
|
|
1058
|
+
(`Volume (kg)`, `Salary (USD / yr)`), never in the cell: `money` without a `cell` prints the bare figure
|
|
1059
|
+
(`120,000.00`, was `$120,000.00`).
|
|
1060
|
+
- **Figures are sans.** The automatic numeral style moves from mono to the proportional sans with `tabular-nums`
|
|
1061
|
+
(SPEC D33). Opt out per column with `meta.numeral: false`.
|
|
1062
|
+
- **One line per row.** Body cells no longer wrap; only `meta.kind: 'text'` does. A column that relied on wrapping
|
|
1063
|
+
sets `kind: 'text'`. Headers never wrap.
|
|
1064
|
+
- **Header and widths.** The header shares the body fill; a sorted column's header is ink, the rest faint. In a table
|
|
1065
|
+
with any `meta.kind`, data columns (`entity` included) size to their content and a wide container's slack goes to
|
|
1066
|
+
the last `kind: 'text'` column, else to an `aria-hidden` trailing spacer cell. A table with no `kind` is
|
|
1067
|
+
unchanged. Mark a notes/detail column `kind: 'text'` to have it take the width.
|
|
1068
|
+
- **Narrow tables.** When the columns no longer fit their container, the `meta.priority` fold now stops at two
|
|
1069
|
+
data columns (was one). A table that still overflows pins its first visible data column (`columnDef.minSize` is
|
|
1070
|
+
its floor, default 120 px) and scrolls the rest in a focusable `region` (style it with `:focus-visible`). A caller's `initialColumnPinning.start` turns
|
|
1071
|
+
the auto-pin off. The table carries `aria-colcount` and every cell `aria-colindex`. The fold toggle is named
|
|
1072
|
+
`Show <folded headers>` / `Hide …` (was `Show row details`), and its header cell shows `+N`.
|
|
1073
|
+
- **States.** The error title is the house `Could not load` (was `Could not load rows`); the count chip and the
|
|
1074
|
+
pager range are hidden while loading or failed; an empty paginated table drops its pager; empty and error keep
|
|
1075
|
+
the column header, and an empty state's title is never larger than the table's title.
|
|
1076
|
+
- **Hover.** `highlightOnHover` defaults to `true` (`VX.surface.rowHover`); pass `highlightOnHover={false}` to opt
|
|
1077
|
+
out.
|
|
1078
|
+
- **Toolbar.** One row at the dense 28 tier from a 240 px container up; on a narrow table the facets move behind one
|
|
1079
|
+
`Filters (n)` pill. The footer's rows-per-page `Select` and pager are 28 px on a fine pointer. New prop
|
|
1080
|
+
`initialColumnFilters` presets the facets.
|
|
1081
|
+
- **Filter pills.** A set pill reads `Label Value`, the label muted and the value ink, and its accessible name and
|
|
1082
|
+
`title` change with it (`EUR` → `Currency EUR`): a query for `{ name: 'EUR' }` becomes `{ name: 'Currency EUR' }`
|
|
1083
|
+
or `/EUR$/`. `MultiSelectFilter` with no `noun` reads `Channels 3 selected` (was `3 channels`; pass `noun` to
|
|
1084
|
+
keep a word). `RangeFilter` off its default reads `Window 7d`. An active pill's border and `Pagination`'s current
|
|
1085
|
+
page are ink, not the accent; an explicit `color=` on `Pagination` keeps the accent.
|
|
1086
|
+
|
|
1087
|
+
### argo upstream rows (Wave 43)
|
|
1088
|
+
|
|
1089
|
+
Nothing to change unless a test or a style depends on the old look. Each line names its opt-out.
|
|
1090
|
+
|
|
1091
|
+
- **`Meter` reading at the track start.** A marked `Meter` with no zone names puts its reading in the caption row,
|
|
1092
|
+
centred on the marker, so it is one caption row (~17 px) shorter and both captions share one line whenever they fit
|
|
1093
|
+
the track. The caption row no longer clips descenders (`low 72.3 kg`). Zoned meters are unchanged. No opt-out.
|
|
1094
|
+
- **`ChartCard` subtitle at compact.** Below a 480 px card a `ChartCard` subtitle stays under the title, up to two lines,
|
|
1095
|
+
instead of folding into the info glyph (a chart subtitle is often its key). `StatCard` and `Section` still fold. A
|
|
1096
|
+
card under 280 px high still folds it. No opt-out.
|
|
1097
|
+
- **`Sparkline` `band`.** New prop `band?: { from: number; to: number }`: a productive range drawn behind the line in
|
|
1098
|
+
the neutral fill and included in the y domain; not a series (no legend, no tooltip row). `from === to` or a non-finite
|
|
1099
|
+
bound draws nothing; a band edge that sets the domain gets a quarter of the band's span as air. The `reference`
|
|
1100
|
+
label now takes the start or end, above or below, wherever the line is not;
|
|
1101
|
+
it moves only when the old start-above spot would cross the line.
|
|
1102
|
+
- **Reference legend key and end labels.** A reference line's legend key is drawn at the line's own weight (1 px) and
|
|
1103
|
+
dash, not the series' 2 px. `Lines` end labels take the side away from their own last segment, several close labels
|
|
1104
|
+
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.
|
|
1105
|
+
End labels and a `RefLine` caption clear every line's path and each other, not only their own segment.
|
|
1106
|
+
No opt-out. A goal line that should read apart from its series sets `dashed: true`.
|
|
1107
|
+
- **Strip footers.** A `StatGroup` footer entry (`under` or full width) takes the 13 px `sm` step instead of
|
|
1108
|
+
inheriting the 15 px body size, so a strip holds three type sizes. No opt-out.
|
|
1109
|
+
- **`BasaltDataTable` danger row action.** A lone `danger: true` icon action is neutral at rest and red on its own hover
|
|
1110
|
+
(fine pointer) or keyboard focus, never on the row's hover. The menu's danger item is unchanged. No opt-out.
|
|
1111
|
+
- **`basalt/status-fill-as-text` (error).** `VX.status.excellent` is a fill (about 3:1 on a light card): paint zone
|
|
1112
|
+
TEXT with `VX.status.good`, keep `excellent` on `bg`, fills and swatches. Flags `c=` and a style-object `color:`;
|
|
1113
|
+
`color=` is not judged (a fill on `Badge`/`ThemeIcon`). Waive with `{/* theme-allow status-fill-as-text — <why> */}`.
|
|
1114
|
+
Measured zero hits in argo and the playground, so it ships at `error`.
|
|
1115
|
+
- **`--basalt-main-content-h`.** New CSS custom property on the main region: `height: var(--basalt-main-content-h)`
|
|
1116
|
+
fills the scrollport with no page scroll, with or without a `PageBar` band. It replaces a hand-built
|
|
1117
|
+
`calc(100dvh - …)` of shell vars (argo's `MAP_FULL_BLEED_HEIGHT`).
|
|
1118
|
+
- **A `Paper` over a flush card.** A `Paper` inside a `Card variant="flush"` renders at the control radius (6 px at
|
|
1119
|
+
level 0, 4 px under the card at every radius level) instead of the card's 10, so a floating panel passes
|
|
1120
|
+
`craft-1/nested-radius-step`. Mantine's dropdowns and modal content keep their own. Opt out with an explicit `radius`
|
|
1121
|
+
on that Paper. `Paper`'s default radius now comes from a stylesheet rule rather than an inline style, so a consumer
|
|
1122
|
+
class can override it.
|
|
1123
|
+
- **MapLibre attribution.** `basalt-ui/styles.css` styles MapLibre's compact attribution control onto basalt's radius
|
|
1124
|
+
and type scale (no maplibre dependency). Override with a selector of equal or higher specificity than
|
|
1125
|
+
`:root .maplibregl-ctrl.maplibregl-ctrl-attrib`, later in source.
|
|
1126
|
+
- **`basalt-ui shot`.** An anchor that renders only in a URL state (`empty`, …) is recorded `absent` at rest with the
|
|
1127
|
+
note "not rendered at rest"; the board's "not captured" now means a real capture miss only.
|
|
1128
|
+
|
|
1129
|
+
### Event list (Wave 44)
|
|
1130
|
+
|
|
1131
|
+
New export, nothing to change in existing code.
|
|
1132
|
+
|
|
1133
|
+
- **`EventList`** (`basalt-ui`, type `EventListProps`): a day-grouped event feed (`density="feed"`) or record history
|
|
1134
|
+
(`density="timeline"`, with a rail). It replaces argo's `features/agents/event-list.tsx` prototype and its
|
|
1135
|
+
`home/activity-feed.tsx` fork, argo's `warden/item-timeline.tsx` rows, rb's journal day groups and linewatch's
|
|
1136
|
+
`transition-timeline.tsx`. Pass `items` (`id`, `at`, `actor?`, `title`, `body?`, `leading?`, `chips?`; the type is
|
|
1137
|
+
`EventListProps['items'][number]`) in display order — the list never sorts. Line one is the glyph, actor and
|
|
1138
|
+
sentence; line two leads with the time, then the body and chips. `group="day"` (default) adds a header per local
|
|
1139
|
+
day; `now` makes Today/Yesterday deterministic; `time` picks `clock`, `relative`, `date-time` or a formatter. The
|
|
1140
|
+
prototype's `groups`/`limit`/`narrowLines` map to `group="day"`, `earlier={{ onLoad, remaining }}` and the density.
|
|
1141
|
+
- **History in a box.** `order="oldest-first"` with a `height` opens at the newest row, puts "Show earlier (N)" at the
|
|
1142
|
+
top, and keeps the visible row when earlier items are prepended. Without `height` the list scrolls with the page.
|
|
1143
|
+
- **States.** `loading` draws skeleton rows in the row's shape; `empty={{ title, description?, action? }}` draws the
|
|
1144
|
+
§ 6.11 tile. Compose an error with the surrounding `Section`'s query, not inside the list.
|
|
1145
|
+
- **Long lists.** Above 200 rows the list virtualises through `@tanstack/react-virtual` (an optional peer, already one
|
|
1146
|
+
for `./agent`), loaded lazily; without it every row renders. At or below 200 rows the peer is never loaded.
|
|
1147
|
+
- **`basalt-ui shot`.** A full-page shot grows only by the page scrollport's hidden height (`data-basalt-scrollport`, or
|
|
1148
|
+
the outermost scroller in a shell-less app); a bounded scroll box inside the page no longer adds its hidden rows as
|
|
1149
|
+
blank page. `_page` shots of pages with a scrolling sidebar or inner list get shorter.
|
|
1150
|
+
|
|
1151
|
+
### Board (Wave 45)
|
|
1152
|
+
|
|
1153
|
+
New export, nothing to change in existing code.
|
|
1154
|
+
|
|
1155
|
+
- **`Board`** (`basalt-ui`, type `BoardProps`): status columns of cards with roving-focus keyboard navigation. It
|
|
1156
|
+
replaces argo's `features/warden/board.tsx` prototype, its `board.module.css` and `BoardColumn`. Pass `columns`
|
|
1157
|
+
(`id`, `title`, `tone?`, `total?`, `empty?`, `cards`) and `onOpen(cardId, columnId)`; a card is typed data
|
|
1158
|
+
(`id`, `actor?`, `type?`, `title`, `record?: { label, href? }`, `status?`, `meter?`; the type is
|
|
1159
|
+
`BoardProps['columns'][number]['cards'][number]`). `record.href` links only when http(s) or relative, the same rule
|
|
1160
|
+
as the prototype's `isSafeHttpUrl`.
|
|
1161
|
+
- **Keyboard.** One tab stop; arrows move within and across columns, Home/End within one, Enter/Space/click open,
|
|
1162
|
+
a polite live region announces the move. `height` bounds each column's own scroll.
|
|
1163
|
+
- **Compact.** One column at a time under a `SegmentedControl`. The selected column is internal state unless you pass
|
|
1164
|
+
`field` (an enum field of the column ids, the type `ViewTabs` takes): argo's persisted `boardStore.field.column`
|
|
1165
|
+
maps straight to `field={boardStore.field.column}`.
|
|
1166
|
+
- **States.** `loading` draws column-shaped skeletons; an empty column is its `empty` line, an empty board is
|
|
1167
|
+
`empty={{ title, description?, action? }}` (the § 6.11 tile). The prototype's "Empty: A, B" fold line is gone.
|
|
1168
|
+
|
|
1169
|
+
### Forms and states (Wave 46)
|
|
1170
|
+
|
|
1171
|
+
Nothing is removed. Each line names its opt-out.
|
|
1172
|
+
|
|
1173
|
+
- **Form fields are 32 px.** `FormRow` and `SettingsRow` mount a `CtlSlot`, so a control inside renders at the `ctl`
|
|
1174
|
+
tier: 32 px (44 px and 16 px text under a coarse pointer) instead of Mantine's 42 px `md`. `NumberInput`,
|
|
1175
|
+
`PasswordInput` and `Textarea` join the tier app-wide through the theme. Opt out per control with `size="md"` (a
|
|
1176
|
+
control's own `size` wins). Inside a tiered home slot `basalt/control-size-literal` now also flags a `size` on those
|
|
1177
|
+
three.
|
|
1178
|
+
- **Form type.** `FormRow` labels go from `md` to `sm`, descriptions from `sm` to `xs`; an error leads with a status
|
|
1179
|
+
glyph and sits in an always-mounted polite live region. The hint and error ids are on the row's `aria-describedby`.
|
|
1180
|
+
- **`FormGroup section`** (new prop): the legend becomes the section title (`md`, 500), rows stack 12 apart and
|
|
1181
|
+
consecutive sections 24 apart.
|
|
1182
|
+
- **`EmptyState`.** The title goes from head-font `xl` 550 to the body font at 500: `md` on a page, `sm` inside a
|
|
1183
|
+
section, card or chart body (the error title follows), the description from `md` to
|
|
1184
|
+
`sm`, and `tier="section"` draws its own ring at card radius: drop a border you wrapped around it. A `Board` column's
|
|
1185
|
+
`empty`, `BarList`'s `emptyText` (default now "No items to compare yet"; pass the real cause), an empty
|
|
1186
|
+
`BasaltDataTable` body and an empty `renderCard` list all render as that tile.
|
|
1187
|
+
- **One form row.** `FormRow` and `SettingsRow` share one geometry: a 15rem label column and a control column capped
|
|
1188
|
+
at 20rem, left-packed (was `FormRow` 1fr / 1.4fr and `SettingsRow` with its control flush right); below 600 px of the
|
|
1189
|
+
row's own width they stack. A wider control (a long textarea, a table) sets its own width. `SettingsRow` is a grid now,
|
|
1190
|
+
and `SettingsSection`/`DangerZone` bodies are `basalt-form` inline-size containers.
|
|
1191
|
+
- **Chart and `StatCard` empties.** Chart `state.empty` and `StatCard` `emptyText` render as the same tile: the first
|
|
1192
|
+
sentence is the title (trailing period dropped), the rest the muted line — write "Why it is empty. What to do." The
|
|
1193
|
+
data table keeps the tile ring in its empty body and left-aligns its error body (it was centred), like every other host.
|
|
1194
|
+
- **Pending shapes.** A pending `Lines`/`StackedArea` card draws a line ghost (a body wrapped in your own component passes
|
|
1195
|
+
`ghost="line"`); a loading `StatCard` with a `delta` keeps a delta chip.
|
|
1196
|
+
- **Primary hover.** A filled accent control (`Button`, `ActionIcon`, a `derive`-retuned accent) hovers 10 tone darker
|
|
1197
|
+
than rest (was 4.8); at the default seed rest is `#4374a6`, hover `#2d5b88` (was `#3c6895`), and the white label
|
|
1198
|
+
stays at 4.90:1 and 7.09:1. An explicit `color=` keeps its family hover.
|
|
1199
|
+
- **Pending ghosts.** A pending `Sparkline` draws a line (or bar) ghost; a pending card around a `BandStrip` draws one
|
|
1200
|
+
band row at the strip's stated `height` (a number or the per-class object), keeping the legend row's room when the
|
|
1201
|
+
strip is legended. `ghost` accepts `'band'`; `placeholderHeight` still wins.
|
|
1202
|
+
- **`Board` record links** are ink in both schemes and do not change colour once visited; hover underlines.
|
|
1203
|
+
- **`Sparkline`** hides its `referenceLabel` caption while a readout shows.
|
|
1204
|
+
|
|
1049
1205
|
## 2.27.2
|
|
1050
1206
|
|
|
1051
1207
|
_Nothing to migrate in this release._
|
|
@@ -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]
|
|
@@ -10,7 +10,7 @@ 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
16
|
6. **Rounds, at least three.** Playwright is the app's dev dependency: `bun add -d playwright && bunx playwright install chromium`. Then:
|
|
@@ -6,47 +6,51 @@ Shipped composites: `StatCard`, `ChartCard`, `Section`, `WidgetHeader`, `BasaltD
|
|
|
6
6
|
|
|
7
7
|
Run this first. A "yes, chart" answer sends you to § 2.
|
|
8
8
|
|
|
9
|
-
| The data is
|
|
10
|
-
|
|
|
11
|
-
| One current value
|
|
12
|
-
| A handful of headline numbers
|
|
13
|
-
| One ratio against a limit
|
|
14
|
-
| More than ~7 meaningful classes
|
|
15
|
-
| Fewer than 4 points
|
|
16
|
-
| 3–10 target-vs-actual metrics
|
|
9
|
+
| The data is | Not this | Use |
|
|
10
|
+
| --------------------------------- | ---------------- | ------------------------------------------------------- |
|
|
11
|
+
| One current value | A one-bar chart | `StatCard` (`stat-tile.md`) |
|
|
12
|
+
| A handful of headline numbers | A grouped bar | `StatGroup variant="strip"` or a row of `StatCard` |
|
|
13
|
+
| One ratio against a limit | A two-slice pie | `Meter` with a target tick |
|
|
14
|
+
| More than ~7 meaningful classes | More colours | `BasaltDataTable` |
|
|
15
|
+
| Fewer than 4 points | A line | `StatCard` |
|
|
16
|
+
| 3–10 target-vs-actual metrics | A bar per metric | A grid of `Meter`s with `target` (basalt's bullet form) |
|
|
17
|
+
| A few regions compared | A choropleth | `Bars` in a `ChartCard` |
|
|
18
|
+
| A set of points (sites, stations) | A map of dots | `BasaltDataTable` |
|
|
17
19
|
|
|
18
20
|
## 2. Data shape to expression
|
|
19
21
|
|
|
20
|
-
| Data shape
|
|
21
|
-
|
|
|
22
|
-
| Single value with a trend
|
|
23
|
-
| Progress to a target
|
|
24
|
-
| Committed vs forecast
|
|
25
|
-
| Headline ratio where the shape is the message
|
|
26
|
-
| Reading in named bands (low / ok / high)
|
|
27
|
-
| Part of a whole, 2–6 parts
|
|
28
|
-
| Part of a whole when the parts are the page's subject
|
|
29
|
-
| Ranked list, top N (5–10)
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
| Distribution as a
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
22
|
+
| Data shape | Encoding | basalt export (import path) | Not this |
|
|
23
|
+
| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
24
|
+
| Single value with a trend | Figure, text delta, `qualifier`, axis-less sparkline with end dot along the bottom | `StatCard` (`basalt-ui`) + `sparkline` slot with `Sparkline` (`basalt-ui/charts`) | A bare number in a box |
|
|
25
|
+
| Progress to a target | Filled track, target tick, end captions; extra cut-offs as `ticks` | `Meter` (`basalt-ui`) with `target`, `ticks` | A hand-rolled progress bar |
|
|
26
|
+
| Committed vs forecast | Two segments, the forecast lighter, a tick and a caption at the boundary | `Meter` `segments`, `forecastCaption` | Two cards |
|
|
27
|
+
| Headline ratio where the shape is the message | Ring, value centred, one per row | `Meter shape="ring"` | A donut plus a total card |
|
|
28
|
+
| Reading in named bands (low / ok / high) | Zoned bar with the reading as a marker; each zone names its `short` label for a narrow track; `ticks` mark cut-offs or a window mean | `Meter` `zones`, `ticks` | Colour-only thresholds |
|
|
29
|
+
| Part of a whole, 2–6 parts | One segmented bar, parts in order, captions under the segments | `Meter` `segments`; `Bars` stacked | A row of N `StatCard`s; a donut |
|
|
30
|
+
| Part of a whole when the parts are the page's subject | Donut | `Donut` (`basalt-ui/charts`) | Donut beside a total card |
|
|
31
|
+
| Ranked list, top N (5–10) | Label, bar on a shared scale, right-aligned value | `BarList` (`basalt-ui`), its default thin-track rows | A table with a `%` column |
|
|
32
|
+
| Event sequence (activity, history) | Day groups, actor and sentence, then a line leading with the time; a rail for a record's timeline | `EventList` (`basalt-ui`), `density="feed"` or `"timeline"` | A table with a date column |
|
|
33
|
+
| Value over time | Line; stacked area for parts of a total | `Lines` / `StackedArea` in a `ChartCard` | A bar per day |
|
|
34
|
+
| Spend over a period against a budget | Cumulative line against the budget line; the forecast end labelled with its figure and date, the budget crossing labelled. Strip form: `Meter` with the reading at the fill end and the target figure on the tick via `caption` | `Lines` + `refLines` in a `ChartCard`; `Meter` `target`, `ticks` | A daily bar per day; an unlabelled forecast |
|
|
35
|
+
| Compare categories | Bars | `Bars layout="grouped"` in a `ChartCard` | A pie |
|
|
36
|
+
| Distribution as a slot micro-visual (`StatCard`, strip cell) | Small axis-less histogram | `Bars`, no axes, in the slot | A mean alone |
|
|
37
|
+
| Distribution as a card's subject | One bar per bin, x labelled with the bin range ("€0–50"), y axis optional | `Bars` in a `ChartCard` | A mean alone; an axis-less histogram |
|
|
38
|
+
| Status over time | Band strip; heat grid for daily data | `BandStrip` / `Heatmap` (`basalt-ui/charts`) | A table of dates |
|
|
39
|
+
| Categorical status per cell (up, degraded, down) | Flat status fills; a glyph on warn and bad, never hue alone | `Heatmap` `states` with a `tone` each, no hex; `BandStrip` `glyph` | A hue-only grid |
|
|
40
|
+
| A set of KPIs about one record | One joined surface, cells split by hairlines | `StatGroup variant="strip"` | N unrelated cards |
|
|
41
|
+
| Many rows, several attributes | Table, right-aligned figures | `BasaltDataTable` (`basalt-ui/table`) | Cards per row |
|
|
42
|
+
| Record facts in a table row | Cell kinds: entity (avatar + name, no wrap), status chip, right-aligned figure, relative time, inline meter | `BasaltDataTable` column `meta.kind` | Text in every cell |
|
|
43
|
+
| A geographic field: a raster or grid of values over an area, read as a pattern | A map canvas filling its card flush (the Mantine flush card variant), with a key rail at its edge (beside it or overlaid): the colour ramp, its unit and 3–5 labelled stops; the time scrubber and any legend float over the canvas as panels, whose radius steps down by itself | The map library's canvas in that card; `height: var(--basalt-main-content-h)` for a page-high map | A choropleth of a few regions; a point set; a ramp with no unit or stops |
|
|
44
|
+
| Work items by status (columns with counts) | Columns with a count each, cards inside | `Board` (`basalt-ui`) | A table with a status column; a chart of counts |
|
|
45
|
+
| A record, a pending decision, an entity or a list row | The recipe in `recipes.md` | `StatGroup`, `EventList`, `PageAside`, `PageSummary` (`basalt-ui`) | A card per section; a hand-rolled facts layout |
|
|
46
|
+
| Nothing yet / failed | Why and what to do | `EmptyState`, or the component's own `query` state | "No data" |
|
|
40
47
|
|
|
41
48
|
Sections that sit side by side use one title size; a `Section` beside a `ChartCard` does not step a size down.
|
|
42
49
|
|
|
43
50
|
## Not shipped — report the gap, don't hand-roll
|
|
44
51
|
|
|
45
|
-
| Shape
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
| Bounded score inside a row | tick meter |
|
|
51
|
-
| Daily data over months with month labels | calendar grid |
|
|
52
|
-
| Gapless histogram with bin-edge ticks | histogram kind |
|
|
52
|
+
| Shape | Missing |
|
|
53
|
+
| ---------------------------------------- | -------------- |
|
|
54
|
+
| Bounded score inside a row | tick meter |
|
|
55
|
+
| Daily data over months with month labels | calendar grid |
|
|
56
|
+
| Gapless histogram with bin-edge ticks | histogram kind |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Recipes
|
|
2
|
+
|
|
3
|
+
Shapes composed from shipped exports, not components of their own. Compose them; never hand-roll a variant. A recipe is promoted to a component only when two apps converge on it. Routing by data shape lives in `catalogue.md`.
|
|
4
|
+
|
|
5
|
+
## Record page
|
|
6
|
+
|
|
7
|
+
`StatGroup variant="strip"` under the header, `EventList` under the decision card, `PageAside` for the rest.
|
|
8
|
+
|
|
9
|
+
header: avatar tile · title · ≤2 Badges · one mono facts line · actions right
|
|
10
|
+
strip: StatGroup variant="strip"
|
|
11
|
+
main: pending decision card, then EventList (rail density for a timeline)
|
|
12
|
+
aside: PageAside
|
|
13
|
+
|
|
14
|
+
Not this: a card per section, or facts spread over the header, strip and aside.
|
|
15
|
+
|
|
16
|
+
## Decision card
|
|
17
|
+
|
|
18
|
+
The question is the headline (`md`, 500). Facts sit under it on one `xs` muted line, `·`-separated. Evidence goes in an inset panel on `VX.surface.field` with the control radius. The action row holds one filled primary, one subtle secondary and one quiet (menu or ghost), each with a key hint.
|
|
19
|
+
|
|
20
|
+
Not this: a topic title as the headline, or three filled buttons.
|
|
21
|
+
|
|
22
|
+
## Entity card
|
|
23
|
+
|
|
24
|
+
A card whose header is avatar, name and a status badge. Under it a 2×2 `StatGroup variant="strip"` (caption, value, unit per cell), then one status line ("Now …").
|
|
25
|
+
|
|
26
|
+
Not this: a bespoke facts layout per entity kind.
|
|
27
|
+
|
|
28
|
+
## Distribution in a card
|
|
29
|
+
|
|
30
|
+
One `Bars` in a `ChartCard`: one bar per level on a shared scale, the level's series colour as the swatch, the count right-aligned at the bar's end. 2–6 parts of one whole: `Meter` `segments` with captions instead.
|
|
31
|
+
|
|
32
|
+
Not this: a hand-built swatch-and-count list, or a donut when the parts are not the page's subject.
|
|
33
|
+
|
|
34
|
+
## Page summary
|
|
35
|
+
|
|
36
|
+
`PageSummary`: a headline, then one sentence carrying at least one live number ("3 decisions pending, oldest 4 d"). No sentence without a number.
|
|
37
|
+
|
|
38
|
+
Not this: a prose welcome line, or a figure the summary leads with restated as a second card.
|
|
39
|
+
|
|
40
|
+
## List row
|
|
41
|
+
|
|
42
|
+
Leading glyph, title, one muted meta line, a trailing affordance (chevron, count or menu). Inset 6 × 8, control radius, hover on the neutral ink step.
|
|
43
|
+
|
|
44
|
+
[glyph] Title ›
|
|
45
|
+
meta · meta
|
|
46
|
+
|
|
47
|
+
Not this: inline SVG icons with custom CSS per panel, or a second meta line.
|