basalt-ui 2.8.1 → 2.9.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/AGENTS.md +2 -2
- package/CHANGELOG.md +24 -0
- package/MIGRATING.md +58 -27
- package/README.md +7 -8
- package/agent/rules/basalt-controls.md +1 -1
- package/agent/rules/basalt-state.md +1 -1
- package/agent/skills/basalt-design/SKILL.md +1 -1
- package/agent/templates/AGENTS-block.md.tpl +2 -2
- package/configs/oxlint-plugin.js +25 -68
- package/configs/oxlint-plugin.test.ts +19 -27
- package/dist/charts/BandStrip.d.ts +1 -1
- package/dist/charts/BandStrip.d.ts.map +1 -1
- package/dist/charts/BandStrip.js +1 -10
- package/dist/charts/MirroredBars.d.ts.map +1 -1
- package/dist/charts/MirroredBars.js +2 -9
- package/dist/charts/band-fold.d.ts +15 -0
- package/dist/charts/band-fold.d.ts.map +1 -0
- package/dist/charts/band-fold.js +19 -0
- package/dist/charts/index.d.ts +1 -0
- package/dist/charts/index.d.ts.map +1 -1
- package/dist/charts/index.js +3 -1
- package/dist/cli/audit-allows.d.ts.map +1 -1
- package/dist/cli/audit-allows.js +1 -1
- package/dist/cli/check-theme.d.ts.map +1 -1
- package/dist/cli/check-theme.js +4 -1
- package/dist/cli/config.d.ts +4 -4
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +6 -12
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +2 -3
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/install-root.d.ts +10 -0
- package/dist/cli/install-root.d.ts.map +1 -0
- package/dist/cli/install-root.js +32 -0
- package/dist/cli/sync.d.ts +0 -2
- package/dist/cli/sync.d.ts.map +1 -1
- package/dist/cli/sync.js +8 -11
- package/dist/cli/tokens-css.d.ts.map +1 -1
- package/dist/cli/tokens-css.js +1 -6
- package/dist/common/errors.d.ts +1 -6
- package/dist/common/errors.d.ts.map +1 -1
- package/dist/common/errors.js +0 -7
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -9
- package/dist/common/props.d.ts +2 -2
- package/dist/common/vx-family.d.ts +1 -1
- package/dist/content/toc-click-pin.d.ts +45 -0
- package/dist/content/toc-click-pin.d.ts.map +1 -0
- package/dist/content/toc-click-pin.js +111 -0
- package/dist/content/toc-spy.d.ts +25 -0
- package/dist/content/toc-spy.d.ts.map +1 -0
- package/dist/content/toc-spy.js +43 -0
- package/dist/content/toc.d.ts +1 -4
- package/dist/content/toc.d.ts.map +1 -1
- package/dist/content/toc.js +38 -49
- package/dist/controls/number-filter.d.ts.map +1 -1
- package/dist/controls/number-filter.js +1 -1
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -3
- package/dist/dashboard/section.d.ts +10 -2
- package/dist/dashboard/section.d.ts.map +1 -1
- package/dist/dashboard/section.js +20 -3
- package/dist/dashboard/stat-card.d.ts +2 -8
- package/dist/dashboard/stat-card.d.ts.map +1 -1
- package/dist/dashboard/stat-card.js +1 -1
- package/dist/guard/index.d.ts +13 -9
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +74 -37
- package/dist/guard/types.d.ts +8 -7
- package/dist/guard/types.d.ts.map +1 -1
- package/dist/guard/vx-names.d.ts +1 -1
- package/dist/guard/vx-names.d.ts.map +1 -1
- package/dist/guard/vx-names.js +1 -33
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/router-tanstack/search-store.d.ts +1 -11
- package/dist/router-tanstack/search-store.d.ts.map +1 -1
- package/dist/router-tanstack/search-store.js +1 -2
- package/dist/shell/index.d.ts +1 -0
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +3 -0
- package/dist/shell/nav-types.d.ts +1 -1
- package/dist/shell/page-bar.d.ts +6 -0
- package/dist/shell/page-bar.d.ts.map +1 -1
- package/dist/shell/page-bar.js +12 -2
- package/dist/state/fields.d.ts +1 -1
- package/dist/state/fields.d.ts.map +1 -1
- package/dist/state/fields.js +3 -1
- package/dist/surfaces.d.ts +1 -1
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +5 -11
- package/dist/table/data-table.d.ts +2 -2
- package/dist/tokens/core.d.ts +0 -10
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +6 -44
- package/llms.txt +24 -8
- package/package.json +8 -5
- package/src/charts/BandStrip.tsx +4 -16
- package/src/charts/MirroredBars.tsx +2 -11
- package/src/charts/band-fold.ts +26 -0
- package/src/charts/index.ts +1 -0
- package/src/cli/audit-allows.ts +1 -3
- package/src/cli/check-theme.ts +7 -1
- package/src/cli/config.ts +4 -4
- package/src/cli/doctor.ts +6 -17
- package/src/cli/help.ts +1 -4
- package/src/cli/index.ts +1 -2
- package/src/cli/install-root.ts +40 -0
- package/src/cli/sync.ts +9 -12
- package/src/cli/tokens-css.ts +0 -5
- package/src/common/errors.ts +1 -18
- package/src/common/index.ts +1 -8
- package/src/common/props.ts +2 -2
- package/src/common/vx-family.ts +1 -1
- package/src/content/toc-click-pin.ts +156 -0
- package/src/content/toc-spy.ts +61 -0
- package/src/content/toc.tsx +47 -95
- package/src/controls/form-layout.tsx +1 -1
- package/src/controls/number-filter.tsx +6 -1
- package/src/dashboard/index.ts +1 -6
- package/src/dashboard/section.tsx +39 -8
- package/src/dashboard/stat-card.tsx +4 -11
- package/src/guard/index.ts +114 -89
- package/src/guard/types.ts +8 -7
- package/src/guard/vx-names.ts +1 -33
- package/src/index.ts +1 -2
- package/src/router-tanstack/search-store.ts +2 -14
- package/src/shell/index.tsx +2 -0
- package/src/shell/nav-types.ts +1 -1
- package/src/shell/page-bar.tsx +21 -2
- package/src/state/fields.ts +7 -2
- package/src/surfaces.ts +5 -11
- package/src/table/data-table.tsx +2 -2
- package/src/tokens/core.ts +6 -67
- package/dist/tokens.css +0 -331
package/AGENTS.md
CHANGED
|
@@ -22,7 +22,7 @@ and `./package.json` are **not exports** (`llms.txt` still ships in the tarball
|
|
|
22
22
|
| `basalt-ui/format` | headless | integer/money/percent/durationClock/relativeTime/weekday/km/kcal — Intl-backed, Mantine-free, React-free formatting; the chart layer formats through the same implementation |
|
|
23
23
|
| `basalt-ui/forms` | mantine-coupled | Mantine form layer: useBasaltForm + inputProps/fieldKey (two calls — a spread `key` is a React 19 warning), on @mantine/form |
|
|
24
24
|
| `basalt-ui/commands` | mantine-coupled | defineCommands (typed command bus), defineOverlays/overlays (a form dialog is a registered overlay opened with overlays.open), setColorScheme, toggleSidebar, ShortcutsHelp, defineNotifications/emit/NotificationBell (emit only accepts kinds registered in defineNotifications; folded in from ./notifications); BasaltProvider mounts Spotlight, Modals and Notifications |
|
|
25
|
-
| `basalt-ui/table` | mantine-coupled | BasaltDataTable and createColumnHelper: a data table over TanStack Table v9, rendered with Mantine
|
|
25
|
+
| `basalt-ui/table` | mantine-coupled | BasaltDataTable and createColumnHelper: a data table over TanStack Table v9, rendered with Mantine |
|
|
26
26
|
| `basalt-ui/agent` | mantine-coupled | Streaming-chat surface: aiSdkTransport, useAgentThreadRuns, parseAgentPart, the open part-registry types, the consumer-owned thread contracts (AgentThread/ThreadsStore/ChatMessage), and the Mantine chat UI folded in from ./agent-chat (ThreadFeed, ThreadFeedRow, Composer, ToolChip). motion is subpath-required: the chat UI imports it eagerly |
|
|
27
27
|
| `basalt-ui/content` | mantine-coupled | Prose (article/chat typography), Callout, TableOfContents (given a containerRef it collects the id-bearing h2/h3 under that one container — levels changes which — on mount and on every DOM childList change, so it reads the slug ids `Markdown` gives every heading; `Prose` sets no ids and an explicit items list replaces collection), Markdown (react-markdown + remark-gfm, optional peers; `streaming` is a rendering mode ONLY — `contentTrust` is the independent security input, and any surface rendering agent/model output must pin `contentTrust="untrusted"`, the sole input to the image-origin allowlist; `fenceRenderers` extends fenced-block rendering — settledOnly/FenceRenderer/FenceRenderers; `sanitizeSchema` is an additions-only SanitizeSchemaExtension merged over the default via mergeSanitizeSchema; shiki code blocks, beautiful-mermaid diagrams and the remend streaming repair load lazily from optional peers), ArticleLayout (docs-page frame), GuideLink (contextual-help link) — the content/prose surface |
|
|
28
28
|
| `basalt-ui/controls` | mantine-coupled | The control tier (docs/CONTROLS-SPEC.md §3). Exports: `FilterSet` (nowrap row + measured +N fold + the mobile Filters (n) sheet), `RangeFilter`/`SelectFilter`/`MultiSelectFilter`/`NumberFilter`/`SearchFilter`/`ToggleFilter` (each bound to a FieldHandle — no value/onChange/size, law C2/C5; `NumberFilter` is the field.number lane, a radio list over `options` or a stepper without), `ViewTabs`, `SyncButton` with the `BarAction`/`GlobalAction` types, and the form layout `FormRow`/`FormGroup` (moved here from ./forms in 1.36.0 — `FormRow` is law C1’s form row and needs no @mantine/form). THREE surfaces, picked by the home and never by a prop: pill in a PageBar row, sheet in the mobile Filters (n) drawer, panel in a PageAside body — where every control renders an inspector/facet ROW instead of a chip (docs/ASIDE-SPEC.md §3); the counts/max props on `MultiSelectFilter` render the Foundry facet list there. Every control owns its own desktop/mobile swap in CSS (C9) and renders size="ctl" internally. Resolves and renders with NO @mantine/dates installed — the custom date picker is injected through RangeFilter.customPicker from ./controls-dates. |
|
|
@@ -105,7 +105,7 @@ node/line. It must START its comment (after `//`, `/*`, `<!--`, a block gutter `
|
|
|
105
105
|
and is honoured on the reported line, on a comment-only line directly above it (reaching the first
|
|
106
106
|
CODE line below, through the rest of its comment block), and — in CSS — from a trailing comment back
|
|
107
107
|
over the declaration it terminates. Whole-file scope is `theme-allow-file <id>… — <why>`; a bare
|
|
108
|
-
`theme-allow-file` waives nothing. A bare `theme-allow`
|
|
108
|
+
`theme-allow-file` waives nothing. A bare `theme-allow` waives nothing and
|
|
109
109
|
reports `theme-allow-unscoped`. A word in the id slot that names no rule waives nothing.
|
|
110
110
|
`.json`/`.webmanifest` use a `"basalt:theme-allow[-file]"` member. Audit them all with
|
|
111
111
|
`basalt-ui check-theme --audit-allows`, which exits 1 on a waiver that suppresses nothing. It judges
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# [2.9.0](https://github.com/jkrumm/basalt-ui/compare/v2.8.1...v2.9.0) (2026-10-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* activate the last toc entry at the end of the scroll ([797f41d](https://github.com/jkrumm/basalt-ui/commit/797f41df602cd8835629f430ae26fc03a3c14909))
|
|
7
|
+
* address review of the 1.x compat removal ([8c7918f](https://github.com/jkrumm/basalt-ui/commit/8c7918f08fa66ef1712111ab2ef15a47ea41014e))
|
|
8
|
+
* clear a shell-less page bar from section anchors ([9df0585](https://github.com/jkrumm/basalt-ui/commit/9df0585ccd493fc65372fdc8d4a933db32ea5666)), closes [#anchor](https://github.com/jkrumm/basalt-ui/issues/anchor)
|
|
9
|
+
* guide a settings-row selection to a bound filter ([e1136b7](https://github.com/jkrumm/basalt-ui/commit/e1136b7d4ab362bf094209d0f8752d8a5f9106f4))
|
|
10
|
+
* home a settings-row control prop in the raw-selection-control scan ([d2b955c](https://github.com/jkrumm/basalt-ui/commit/d2b955ca7a38c9982705be285df6db91fac40dca))
|
|
11
|
+
* let sync run from a workspace app and name its bin ([5cf854f](https://github.com/jkrumm/basalt-ui/commit/5cf854f2a0613b3b1a8503d33b94ec95487a7a10))
|
|
12
|
+
* print unions in an llms.txt glossary instead of rewriting signatures ([6b8d917](https://github.com/jkrumm/basalt-ui/commit/6b8d91792781266581c11a4b7dddd39b9ca8e2ab))
|
|
13
|
+
* re-aim a cold hash load once the page bar is measured ([a218a89](https://github.com/jkrumm/basalt-ui/commit/a218a8948a316933b360e98a3b5b39caf0e48a4b))
|
|
14
|
+
* settle a toc click on a quiet scroller, not a fixed deadline ([e14cb8d](https://github.com/jkrumm/basalt-ui/commit/e14cb8d53726d9f18082b7bf28883e93344ee1ae))
|
|
15
|
+
* share one install-root predicate between sync and doctor ([9d85846](https://github.com/jkrumm/basalt-ui/commit/9d858467bd4d71f55b62d0404b0607cc201d3f9f))
|
|
16
|
+
* spell out unions, token maps and constants in llms.txt ([ec1a4e1](https://github.com/jkrumm/basalt-ui/commit/ec1a4e14e328a5caaa513485438e6fe23a2b8156))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* export foldBands for testing a band merge ([8343f19](https://github.com/jkrumm/basalt-ui/commit/8343f1985fffef07447ce202f512b17ebbf3ce7c))
|
|
22
|
+
* name the unset state of a number filter ([02ed3ba](https://github.com/jkrumm/basalt-ui/commit/02ed3bacc5094fca61401795a6440513754150aa))
|
|
23
|
+
* remove the 1.x compatibility layer from 2.x ([66f4517](https://github.com/jkrumm/basalt-ui/commit/66f4517df998f5a304a90d2cd9824654772de31d))
|
|
24
|
+
|
|
1
25
|
## [2.8.1](https://github.com/jkrumm/basalt-ui/compare/v2.8.0...v2.8.1) (2026-10-15)
|
|
2
26
|
|
|
3
27
|
|
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 | 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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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 | 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 | — |
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
@@ -87,7 +87,7 @@ Contract: `docs/V2-SPEC.md`. Every removal and move is one row, grouped by area.
|
|
|
87
87
|
|
|
88
88
|
### Upgrading from 1.x
|
|
89
89
|
|
|
90
|
-
1. Go to `1.41.0` first and clear its deprecations: 2.0 retires the lifecycle,
|
|
90
|
+
1. Go to `1.41.0` first and clear its deprecations: 2.0 retires the lifecycle, and the compatibility layer 2.0 still carried (camelCase `--vx-*` aliases, `VX.line2Dark`, `StatCardTone`, a bare `theme-allow`) left in the next release — § 1.x compatibility layer removed.
|
|
91
91
|
2. Install `basalt-ui@2` and the now-required peers (§ Subpaths, peers and gates); delete only the
|
|
92
92
|
`@mantine/{core,notifications,spotlight}/styles.layer.css` imports, because `basalt-ui/styles.css`
|
|
93
93
|
`@import`s exactly those three. Keep every extension package's layer CSS (`@mantine/dates`,
|
|
@@ -1046,6 +1046,39 @@ 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.9.0 — 1.x compatibility layer removed
|
|
1050
|
+
|
|
1051
|
+
2.x carried leftovers of the 1.x line; each one is gone, and each has one replacement. **Opt-out: none — use the replacement.** The 1.x → 2.0 upgrade tooling (`RETIRED_RULE_IDS`, the retired-lint-rules and dropped-subpath fixes, the older `unknown-vx-token` removals) is unchanged.
|
|
1052
|
+
|
|
1053
|
+
| Removed | Replacement |
|
|
1054
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
1055
|
+
| the 32 camelCase `--vx-*` aliases: `--vx-goodSolid`, `badSolid`, `warnSolid`, `axisStroke`, `dotStroke`, `tooltipBg/Text/Muted/Border/Shadow`, `legendText`, `accentHover`, `accentFill`, `accentFillHover`, `onAccent`, `surface-panelHover`, `fillHover-<family>` (12), `goodSoft`, `goodRef`, `badRef`, `warnRef` | the kebab name (`--vx-accent-fill`, `--vx-tooltip-bg`, `--vx-fill-hover-gray`, …); `unknown-vx-token` names each one |
|
|
1056
|
+
| `BuildPaletteOpts.legacyAliases` | delete it (the aliases no longer exist) |
|
|
1057
|
+
| `basalt-ui tokens:css --no-legacy-aliases` | delete the flag; it is now an unknown option and exits 1 |
|
|
1058
|
+
| `VX.line2Dark` | `VX.line2` |
|
|
1059
|
+
| `StatCardTone` (type export from `.`) | `Tone` (exported from `.`, identical union) |
|
|
1060
|
+
| `dist/tokens.css` (written by the build, never exported) | `basalt-ui tokens:css --out <path>` |
|
|
1061
|
+
| `deprecatedProp` (`common` helper) | none; unused |
|
|
1062
|
+
| a bare `theme-allow` (no rule id) waiving every kind on its line | `theme-allow <id> — <why>`; a bare or prose-only annotation waives nothing and is reported as `theme-allow-unscoped` |
|
|
1063
|
+
| `exemptRules` bare path segment (`'agent'` matching `src/agent/x.tsx`) | a relative path (`'src/agent'`) or a glob (`'**/agent/**'`) |
|
|
1064
|
+
| `exemptRules` kind inheritance (`EXEMPT_RULE_ALIASES`): a `raw-html-layout` exemption no longer covers `hidden-inline-style`; a `raw-surface` exemption no longer covers `surface-shadow-override` or `css-raw-surface` | list each kind explicitly: `{ 'raw-html-layout': [...], 'hidden-inline-style': [...] }` |
|
|
1065
|
+
| `basalt/forms-field-key`'s `field(…)` spread message | none; `field` was removed in 1.29.0, an import of it fails to compile |
|
|
1066
|
+
| `doctor`'s "stale basalt block in CLAUDE.md" warning | none; the "CLAUDE.md does not import `@AGENTS.md`" warning stays |
|
|
1067
|
+
|
|
1068
|
+
`rollhook` (`tokens:css --no-legacy-aliases`) must drop the flag when it bumps. The injected token CSS shrinks by 2468 bytes (13280 → 10812; gzip 2710 → 2325).
|
|
1069
|
+
|
|
1070
|
+
`Section` anchors (`id`) now clear a shell-less `PageBar`: without `BasaltShell` the scroll-margin adds `--basalt-page-bar-h` to the clearance, so `#anchor` no longer lands under the sticky bar; inside the shell nothing changes.
|
|
1071
|
+
|
|
1072
|
+
`Section` takes controlled `open` + `onOpenChange` (Mantine naming) — given `open`, a click only calls `onOpenChange` and the value is mirrored into the local/persisted fold, so dropping `open` keeps what the reader last saw; uncontrolled keeps the persisted fold and `onOpenChange` also fires. Open a section from a URL hash with it instead of reaching for `writePersistedValue`.
|
|
1073
|
+
|
|
1074
|
+
`PageBar` placement in 2.x: the primary action renders at the END of row 1 (after the secondaries), not first; `title` leads the one sticky bar when there is no shell.
|
|
1075
|
+
|
|
1076
|
+
`basalt-ui/charts` now exports `foldBands(data, cap, merge)`, the fold `BandStrip` and `MirroredBars` run, as 2.0's table promised; `BandTooltipConfig` and `BandTooltipRowContext` never shipped (`ChartTooltipConfig` replaced them). The `absentState` colour must differ from every measured state's colour, not only by alpha.
|
|
1077
|
+
|
|
1078
|
+
`llms.txt` gains a `## Types` glossary of the exported literal unions its signatures name (`CalloutKind`, …), lists the full `VX` token tree, and prints the values of literal-only constant maps (`CONTAINER_KEYS`). Docs output only; nothing to migrate.
|
|
1079
|
+
|
|
1080
|
+
`NumberFilter`'s stepper pill prints a value `.labels()` names — `createSearchStore(…).labels({ minDuration: { 0: 'Any' } })` reads "Any" at the default (a number field's `options` now lists exactly the labelled values); unlabelled, it prints the number as before — nothing to migrate.
|
|
1081
|
+
|
|
1049
1082
|
## 2.8.1 — boot paint follows the stored scheme
|
|
1050
1083
|
|
|
1051
1084
|
`basaltAppPlugin` now injects a tiny inline head script that reads Mantine's stored color scheme
|
|
@@ -1077,6 +1110,8 @@ one on touch or hover. The reserve is `--vx-space-code-block-floating-copy-offse
|
|
|
1077
1110
|
titled fences are unchanged. The inner `pre` margin reset also outranks Prose's block margin now, so
|
|
1078
1111
|
the unhighlighted fallback and the highlighted fence measure the same.
|
|
1079
1112
|
|
|
1113
|
+
**`TableOfContents` clicks and the end of the scroll.** A clicked entry stays active while its scroll runs and where it settles, until the scroll position moves again or the reader scrolls; the spy marks the first entry when nothing scrolls, and a heading within 80px of the scrollport's top counts as reached (it used to need to cross the top edge) — nothing to migrate.
|
|
1114
|
+
|
|
1080
1115
|
## 2.8.0 — the fleet probe fixes
|
|
1081
1116
|
|
|
1082
1117
|
Ledger rows 61-67 (`docs/waves/argo-friction.md`), found while the rest of the fleet probed 1.x → 2.x.
|
|
@@ -1102,8 +1137,10 @@ Ledger rows 61-67 (`docs/waves/argo-friction.md`), found while the rest of the f
|
|
|
1102
1137
|
`BasaltOverlays spotlight={false}`).
|
|
1103
1138
|
- **`BandStrip` absent share (charts).** 1.x `BandSpan.absentFraction` returns, with
|
|
1104
1139
|
`absentState="<states key>"` on the strip: a band's unmeasured share is painted flat in that
|
|
1105
|
-
state's color
|
|
1106
|
-
row.
|
|
1140
|
+
state's color from the band's right edge, legended, with its own tooltip
|
|
1141
|
+
row. The absent colour must differ from every measured state's colour, not only by alpha: a
|
|
1142
|
+
"clean" state that is also neutral would otherwise be told apart from "not measured" by opacity
|
|
1143
|
+
alone. No hatch: `hatchFill`, `HatchPattern` and `hatchSizeFor` stay removed.
|
|
1107
1144
|
|
|
1108
1145
|
## 2.7.3
|
|
1109
1146
|
|
|
@@ -4366,12 +4403,12 @@ unconditionally and builds x as `scalePoint` — positions, no widths. `BandStri
|
|
|
4366
4403
|
to axis; `MirroredBars` has two, and needs band widths. Both compose `ChartFrame` directly and
|
|
4367
4404
|
declare themselves with `theme-allow-file hand-rolled-plot`, alongside `DualPanel`.
|
|
4368
4405
|
|
|
4369
|
-
| New on `basalt-ui/charts`
|
|
4370
|
-
|
|
|
4371
|
-
| `BandStrip` (+ `BandStripProps`, `BandStripSeries`, `BandSpan`)
|
|
4372
|
-
| `MirroredBars` (+ `MirroredBarsProps`, `MirroredBarPane`)
|
|
4373
|
-
| `foldBands` (+ `BandFold
|
|
4374
|
-
| `HatchPattern`, `hatchFill`, `hatchSizeFor`
|
|
4406
|
+
| New on `basalt-ui/charts` | Note |
|
|
4407
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
4408
|
+
| `BandStrip` (+ `BandStripProps`, `BandStripSeries`, `BandSpan`) | 1-D categorical bands. `getBand(d) => { state, fill?, absentFraction?, marker? }`; `series` IS the state set, so a strip cannot name a state it does not draw. `cursorResolution` defaults `'leading'` |
|
|
4409
|
+
| `MirroredBars` (+ `MirroredBarsProps`, `MirroredBarPane`) | two bar panes, one x scale, one baseline, independent domains. `up`/`down` take `{ key, max?, autoMaxFloor?, ticks?, format }`; plus `upFraction` (the up pane's share of the band height, where the baseline sits), `getAbsentFraction`, `getBarOpacity` |
|
|
4410
|
+
| `foldBands(data, cap, merge)` (+ `BandFold`) | the width-driven fold both kinds run (`cap` = `floor(width / minBandPx)`), exported so a consumer can test their `merge` against the real grouping |
|
|
4411
|
+
| `HatchPattern`, `hatchFill`, `hatchSizeFor` | the absence fill |
|
|
4375
4412
|
|
|
4376
4413
|
The shared choreography lives in an internal `useBandPlot` — **not exported**, deliberately: it is
|
|
4377
4414
|
the kinds' contract with each other, not a public seam.
|
|
@@ -4846,12 +4883,6 @@ date.
|
|
|
4846
4883
|
`basalt/visx-tooltip` and `basalt/token-layer-boundary` (the last is repo-local and deliberately not
|
|
4847
4884
|
in the shipped preset). A config still naming `import-boundary` after 1.1.0 disables nothing.
|
|
4848
4885
|
|
|
4849
|
-
## Deprecated, not yet removed
|
|
4850
|
-
|
|
4851
|
-
The 32 camelCase `--vx-*` aliases deprecated in 1.5.0 are **still emitted at 1.21.0**.
|
|
4852
|
-
`buildPaletteCss({ legacyAliases: false })` / `tokens:css --no-legacy-aliases` opts out now; a later
|
|
4853
|
-
minor flips the default.
|
|
4854
|
-
|
|
4855
4886
|
## Not verified
|
|
4856
4887
|
|
|
4857
4888
|
- Props declared inline on a component (`function X({ a }: { a: string })`) rather than on an
|
package/README.md
CHANGED
|
@@ -233,9 +233,8 @@ Other keys (`exempt`, `severity`, `spacingSteps`, `forbiddenAccents`, …) are d
|
|
|
233
233
|
|
|
234
234
|
**`exemptRules`** turns one kind off along a path. A pattern is a relative path
|
|
235
235
|
(`public/site.webmanifest`, or `src/agent` for everything under it), a glob (`*` stops at `/`, `**`
|
|
236
|
-
does not, and a slash-free glob is also tried against the basename, so `*.module.css` works),
|
|
237
|
-
|
|
238
|
-
ONLY shape and a real relative path matched nothing and said nothing. The object form records the
|
|
236
|
+
does not, and a slash-free glob is also tried against the basename, so `*.module.css` works), A bare
|
|
237
|
+
segment (`agent`) matches only a root-level path, never `src/agent`. The object form records the
|
|
239
238
|
reason, which is what a `theme-allow` always carried and this key could not. A pattern that
|
|
240
239
|
suppresses nothing is now reported by a normal run and fails `--audit-allows`.
|
|
241
240
|
|
|
@@ -255,19 +254,19 @@ reported on its own line.
|
|
|
255
254
|
**The escape hatch is scoped, and since 1.21.0 the two scopes are spelled apart:**
|
|
256
255
|
|
|
257
256
|
```text
|
|
258
|
-
theme-allow →
|
|
257
|
+
theme-allow → nothing (reports theme-allow-unscoped)
|
|
259
258
|
theme-allow <id>[, <id>…] [— <why>] → this node/line, those rules
|
|
260
|
-
theme-allow-file <id>[, <id>…] — <why> → the WHOLE FILE, those rules
|
|
259
|
+
theme-allow-file <id>[, <id>…] — <why> → the WHOLE FILE, those rules
|
|
261
260
|
"basalt:theme-allow[-file]": "<id>… — <why>" → the same two, for JSON / .webmanifest
|
|
262
261
|
```
|
|
263
262
|
|
|
264
263
|
An annotation must **start** its comment (after `//`, `/*`, `<!--`, a block gutter `*`, or
|
|
265
|
-
whitespace) — before 1.21.0 any comment merely mentioning the token parsed as
|
|
266
|
-
|
|
264
|
+
whitespace) — before 1.21.0 any comment merely mentioning the token parsed as a blanket waiver, so a
|
|
265
|
+
file documenting its own waivers disarmed itself; a bare annotation now waives nothing. Placements: the reported line, a comment-only
|
|
267
266
|
line directly above it (the only form JSX can express, and it reaches the first CODE line below,
|
|
268
267
|
walking through the rest of its comment block), or — in CSS — a trailing comment reaching back over
|
|
269
268
|
the declaration it terminates. The id slot is read strictly: a word there that names no rule waives
|
|
270
|
-
nothing, so a typo
|
|
269
|
+
nothing, so a typo never widens a waiver.
|
|
271
270
|
|
|
272
271
|
`basalt-ui check-theme --audit-allows` reports every annotation and every `exemptRules` entry with
|
|
273
272
|
what it still suppresses, proved by re-running the scan with that one waiver neutralized. Exits 1 on
|
|
@@ -22,7 +22,7 @@ A control has one home and takes its state from a store field; the home sets its
|
|
|
22
22
|
## Homes
|
|
23
23
|
|
|
24
24
|
- A control lives in exactly one home: a `PageBar` slot (`actions`, `sync`, `filters`, `filtersEnd`, `tabs`), a `Section` slot (`actions`, `tabs`), a `WidgetHeader`/`ChartCard`/`StatCard`/`BasaltDataTable` `actions` slot, or a form row (`SettingsRow.control`, `FormRow`, `FormGroup`). A per-row action is `BasaltDataTable rowActions` (typed data: `label`, `icon`, `onClick(row)`, `danger`, `disabled(row)`), never a `Menu`/`ActionIcon` in a column `cell`/`display` renderer. [basalt/control-outside-home]
|
|
25
|
-
- A raw Mantine selection control (`Select`, `SegmentedControl`, …) in a
|
|
25
|
+
- A raw Mantine selection control (`Select`, `SegmentedControl`, …) in a page slot is a filter without a `field`: bind the basalt filter with `field={store.field.x}`; in `SettingsRow control=` keep the Mantine control and take `[value, setValue]` from `prefs.field.x.use()`. [basalt/hand-rolled-filter] [check-theme raw-selection-control]
|
|
26
26
|
- A basalt filter outside a slot, `FilterSet`, `PageAside` or form row has no home. [basalt/bound-control-outside-home]
|
|
27
27
|
- `PageBar` `actions` holds at most 5 entries with exactly one `primary` (date navigation is `filtersEnd`, not an action); a `Section` holds at most 3 `actions`. [type PageBar] [type Section]
|
|
28
28
|
- A control in a home slot carries no `size`, `w`, `fullWidth`, `visibleFrom` or `hiddenFrom`; the home sizes it. [basalt/control-size-literal]
|
|
@@ -27,7 +27,7 @@ State a control reads or writes is a field on a store; the URL wins over localSt
|
|
|
27
27
|
- A handle's `use()` returns `[value, setValue]`; the setter owns the navigate and the persist; on a `createLocalStore` field a prop-derived default is `store.field.x.withFallback(value)`, passed to `use()` and to any control as `field=` (unset only, never persisted, a reset returns to it, `isDefault` follows it; search stores lack it, a derived handle does not derive again), never a store rebuilt per prop. [type field]
|
|
28
28
|
- Count active filters and reset them with the store's `useActiveCount()` and `useReset()`; a reset unsets, it does not write the fallback. [type createSearchStore]
|
|
29
29
|
- A color scheme is `useMantineColorScheme()`, never a store or `localStorage['theme']`. [check-theme localstorage-theme]
|
|
30
|
-
- A preference
|
|
30
|
+
- A preference a `SettingsRow` control edits is a `createLocalStore` field read with `.use()`, never `useState`; `createPersistedState`, once at module scope, holds only a value no control binds. [type createPersistedState]
|
|
31
31
|
|
|
32
32
|
## Nav
|
|
33
33
|
|
|
@@ -9,7 +9,7 @@ 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. Decide before coding: which metrics earn a hue (trend, status, separation; the rest neutral), the one primary action per view, each control's home.
|
|
12
|
+
2. Decide before coding: which metrics earn a hue (trend, status, separation; the rest neutral), the one primary action per view, each control's home (a `SettingsRow` preference: `const [unit, setUnit] = prefs.field.unit.use()` from `createLocalStore`, then `control={<Select value={unit} onChange={(v) => v && setUnit(v)} />}`, never `useState`).
|
|
13
13
|
3. Check the shipped composites first: `StatCard`, `ChartCard`, `Section`, `WidgetHeader`, `BasaltDataTable`, `EmptyState`. A gap is reported, not routed around.
|
|
14
14
|
4. Build with Mantine primitives and the composites; take every color from `VX.*` or a series token.
|
|
15
15
|
5. Tune by eye in the running app: open the theme lab with the `dev.theme` Spotlight command (dev only) and adjust in both color schemes.
|
|
@@ -12,8 +12,8 @@ series token, never a literal.
|
|
|
12
12
|
`.claude/rules/` > the `basalt-*` skills. Each rule bullet ends in the lint rule, guard kind or type
|
|
13
13
|
that enforces it; skills are procedure, not law.
|
|
14
14
|
|
|
15
|
-
**Run the local bin** (`./node_modules/.bin/basalt-ui` or a package script), never `bunx`; `init` is
|
|
16
|
-
one exception.
|
|
15
|
+
**Run the local bin** (`./node_modules/.bin/basalt-ui` or a package script), never `bunx`; `init` is
|
|
16
|
+
the one exception. In a workspace: the app package's `node_modules/.bin/basalt-ui`.
|
|
17
17
|
|
|
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).
|
package/configs/oxlint-plugin.js
CHANGED
|
@@ -210,9 +210,6 @@ export const WAIVER_ID_ALIASES = {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
const ALLOW_RULE_TOKEN = /^(?:basalt\/)?([a-z][a-z0-9-]*)(?=$|[\s,:—–])/
|
|
213
|
-
const ALLOW_REASON_SEPARATOR = /^(?:—|–|-{1,2}|:)\s*/
|
|
214
|
-
/** Shortest string accepted as a written reason — enough to exclude a stray separator. */
|
|
215
|
-
const MIN_ALLOW_REASON_LENGTH = 4
|
|
216
213
|
|
|
217
214
|
/**
|
|
218
215
|
* The annotation token, with its optional `-file` suffix.
|
|
@@ -236,26 +233,17 @@ const ALLOW_TOKEN = /theme-allow(-file)?(?![\w-])/
|
|
|
236
233
|
*/
|
|
237
234
|
const ALLOW_LINE_PREFIX = /^\s*\*?\s*$/
|
|
238
235
|
|
|
239
|
-
/** Parse the text following the token — ids
|
|
236
|
+
/** Parse the text following the token — the leading known ids; the rest is the reason. */
|
|
240
237
|
function parseAllowBody(rest, scope) {
|
|
241
238
|
let remainder = rest.replace(/^[\s,]+/, '')
|
|
242
239
|
const rules = []
|
|
243
|
-
const unknownRules = []
|
|
244
|
-
let inIdSlot = true
|
|
245
240
|
for (;;) {
|
|
246
241
|
const token = ALLOW_RULE_TOKEN.exec(remainder)
|
|
247
|
-
if (token === null) break
|
|
248
|
-
if (!KNOWN_RULE_IDS.has(token[1])) {
|
|
249
|
-
if (inIdSlot) unknownRules.push(token[1])
|
|
250
|
-
break
|
|
251
|
-
}
|
|
242
|
+
if (token === null || !KNOWN_RULE_IDS.has(token[1])) break
|
|
252
243
|
rules.push(token[1])
|
|
253
|
-
|
|
254
|
-
remainder = after.replace(/^[\s,]+/, '')
|
|
255
|
-
inIdSlot = /^\s*,/.test(after)
|
|
244
|
+
remainder = remainder.slice(token[0].length).replace(/^[\s,]+/, '')
|
|
256
245
|
}
|
|
257
|
-
|
|
258
|
-
return { rules, unknownRules, hasReason: reason.length >= MIN_ALLOW_REASON_LENGTH, scope }
|
|
246
|
+
return { rules, scope }
|
|
259
247
|
}
|
|
260
248
|
|
|
261
249
|
/**
|
|
@@ -264,25 +252,15 @@ function parseAllowBody(rest, scope) {
|
|
|
264
252
|
* The grammar, and it is the same one `src/guard` parses:
|
|
265
253
|
*
|
|
266
254
|
* ```text
|
|
267
|
-
* theme-allow →
|
|
255
|
+
* theme-allow → nothing (a bare annotation waives no rule)
|
|
268
256
|
* theme-allow <id>[, <id>…] [— <why>] → this node, those rules
|
|
269
257
|
* theme-allow-file <id>[, <id>…] — <why> → the WHOLE FILE, those rules
|
|
270
258
|
* ```
|
|
271
259
|
*
|
|
272
|
-
*
|
|
273
|
-
* exactly those ids. A word that
|
|
274
|
-
* `
|
|
275
|
-
*
|
|
276
|
-
* empty-`rules` branch and be read as the blanket form, so one mistyped character escalated a
|
|
277
|
-
* scoped waiver into a whole-line one, i.e. weaker than before the scoping existed.
|
|
278
|
-
*
|
|
279
|
-
* A prose reason is therefore introduced with a separator (`—`, `–`, `-`, `:`), which is how every
|
|
280
|
-
* annotation in the wild already writes it.
|
|
281
|
-
*
|
|
282
|
-
* The id slot closes at the first space that no comma opened: the first word is always a claimed
|
|
283
|
-
* id (that is where a typo lands), but after a resolved id only a `,` keeps the list open, so
|
|
284
|
-
* `theme-allow raw-surface sub-scale legend corner` reads `sub-scale` as prose rather than as a
|
|
285
|
-
* typo. See the guard's copy for the full reasoning.
|
|
260
|
+
* An empty `rules` is the bare form and covers nothing; a non-empty `rules` scopes the exception to
|
|
261
|
+
* exactly those ids. A word that names no known rule ends the id list, so `theme-allow raw-hexx —
|
|
262
|
+
* reason` waives nothing, and `theme-allow raw-surface sub-scale legend corner` reads `sub-scale`
|
|
263
|
+
* as prose. A prose reason is introduced with a separator (`—`, `–`, `-`, `:`).
|
|
286
264
|
*/
|
|
287
265
|
function parseThemeAllows(commentValue) {
|
|
288
266
|
const out = []
|
|
@@ -299,16 +277,14 @@ function parseThemeAllows(commentValue) {
|
|
|
299
277
|
/**
|
|
300
278
|
* Does one annotation cover `ruleId`?
|
|
301
279
|
*
|
|
302
|
-
* Only
|
|
303
|
-
*
|
|
304
|
-
* is a config exemption without the config review, so the widest waiver in the contract is the one
|
|
305
|
-
* that has to name what it waives.
|
|
280
|
+
* Only the ids the annotation names (or their {@link WAIVER_ID_ALIASES}). A bare annotation, at
|
|
281
|
+
* node or file scope, covers nothing.
|
|
306
282
|
*/
|
|
307
283
|
function allowCovers(allow, ruleId) {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
284
|
+
return (
|
|
285
|
+
allow.rules.includes(ruleId) ||
|
|
286
|
+
(WAIVER_ID_ALIASES[ruleId] ?? []).some((alias) => allow.rules.includes(alias))
|
|
287
|
+
)
|
|
312
288
|
}
|
|
313
289
|
|
|
314
290
|
function allComments(context) {
|
|
@@ -3264,8 +3240,8 @@ const queryFnUnwrap = {
|
|
|
3264
3240
|
/** The subpath the forms idiom is imported from — the only provenance this rule accepts. */
|
|
3265
3241
|
const FORMS_IMPORT_SOURCE = 'basalt-ui/forms'
|
|
3266
3242
|
|
|
3267
|
-
/** The
|
|
3268
|
-
const FORMS_SPREAD_NAMES = new Set(['inputProps'
|
|
3243
|
+
/** The spread name this rule resolves (with `fieldKey`) through the local→imported map. */
|
|
3244
|
+
const FORMS_SPREAD_NAMES = new Set(['inputProps'])
|
|
3269
3245
|
|
|
3270
3246
|
const FORMS_FIELD_KEY_MESSAGES = {
|
|
3271
3247
|
missing:
|
|
@@ -3276,13 +3252,6 @@ const FORMS_FIELD_KEY_MESSAGES = {
|
|
|
3276
3252
|
'`key` because a spread `key` is a React 19 warning, and a call site that merely kept the ' +
|
|
3277
3253
|
'spread compiles unchanged and silently stops resetting. ' +
|
|
3278
3254
|
'(basalt/forms-field-key)',
|
|
3279
|
-
deprecatedAlias:
|
|
3280
|
-
'A spread `field(…)`. `field` NO LONGER EXISTS — it was the @deprecated 1.27 alias and 1.29.0 ' +
|
|
3281
|
-
'removed it, so this import does not resolve and this file does not compile. Rewrite it as ' +
|
|
3282
|
-
'`key={fieldKey(form, path)} {...inputProps(form, path)}` (two calls, never one object: a ' +
|
|
3283
|
-
'spread `key` is a React 19 warning). Not autofixed: the honest edit rewrites the import as ' +
|
|
3284
|
-
'well as the call site. packages/basalt-ui/MIGRATING.md carries the row. ' +
|
|
3285
|
-
'(basalt/forms-field-key)',
|
|
3286
3255
|
}
|
|
3287
3256
|
|
|
3288
3257
|
/** The `key` attribute among a JSXOpeningElement's attributes, if it has one written literally. */
|
|
@@ -3294,8 +3263,8 @@ function hasKeyAttribute(opening) {
|
|
|
3294
3263
|
}
|
|
3295
3264
|
|
|
3296
3265
|
/**
|
|
3297
|
-
* A field spread that lost its reconciler key — the guard for the one change
|
|
3298
|
-
*
|
|
3266
|
+
* A field spread that lost its reconciler key — the guard for the one forms change a consumer's
|
|
3267
|
+
* compiler cannot see.
|
|
3299
3268
|
*
|
|
3300
3269
|
* `inputProps` used to return `getInputProps(path)` AND `key` in one object, so
|
|
3301
3270
|
* `<TextInput {...inputProps(form, 'x')} />` covered both. It no longer returns `key` (a spread
|
|
@@ -3303,18 +3272,10 @@ function hasKeyAttribute(opening) {
|
|
|
3303
3272
|
* validates — it just stops resetting. There is no compile error, no throw and no console line to
|
|
3304
3273
|
* find it by, which is precisely the profile a lint rule exists for.
|
|
3305
3274
|
*
|
|
3306
|
-
*
|
|
3307
|
-
*
|
|
3308
|
-
*
|
|
3309
|
-
*
|
|
3310
|
-
* `basalt-ui/forms` import when it is not already there, so `--fix` produces working code rather
|
|
3311
|
-
* than an unresolved identifier.
|
|
3312
|
-
* - `{...field(…)}` — the pre-migration call site. Reported ALWAYS, key or no key, and deliberately
|
|
3313
|
-
* NOT autofixed: the honest edit rewrites the IMPORT as well as the call site, and a fixer that
|
|
3314
|
-
* only touched the spread would leave an unresolved `field` behind. This arm is the whole reason
|
|
3315
|
-
* the rule still knows the name — 1.29.0 deleted `field` with no autofix left, so a consumer skipping 1.28.x reaches 1.29.x with a hard compile error and
|
|
3316
|
-
* nothing but tsc to explain it. The message says that in so many words; it used to describe the
|
|
3317
|
-
* alias as still shipping and still bundling `key`, which read as "nothing is broken yet".
|
|
3275
|
+
* `{...inputProps(…)}` with no sibling `key` is reported and autofixed: the `key` attribute is
|
|
3276
|
+
* inserted with the SAME arguments, and `fieldKey` is added to the existing `basalt-ui/forms`
|
|
3277
|
+
* import when it is not already there, so `--fix` produces working code rather than an unresolved
|
|
3278
|
+
* identifier.
|
|
3318
3279
|
*
|
|
3319
3280
|
* Provenance is the `basalt-ui/forms` specifier (plus a relative import inside basalt's own `src/`,
|
|
3320
3281
|
* or the dogfood surface goes silent — the same gate `collectBasaltImports` uses), read through the
|
|
@@ -3325,14 +3286,14 @@ function hasKeyAttribute(opening) {
|
|
|
3325
3286
|
const formsFieldKey = {
|
|
3326
3287
|
meta: {
|
|
3327
3288
|
type: 'suggestion',
|
|
3328
|
-
docs: { description: 'Warn on
|
|
3289
|
+
docs: { description: 'Warn on an inputProps spread that lost its reconciler key.' },
|
|
3329
3290
|
schema: [],
|
|
3330
3291
|
fixable: 'code',
|
|
3331
3292
|
},
|
|
3332
3293
|
create(context) {
|
|
3333
3294
|
if (isTestFile(context)) return {}
|
|
3334
3295
|
const ownTree = isBasaltOwnSource(getFilename(context))
|
|
3335
|
-
/** local name → the name it was imported as, for the
|
|
3296
|
+
/** local name → the name it was imported as, for the forms names this rule reads. */
|
|
3336
3297
|
const imported = new Map()
|
|
3337
3298
|
/** The forms ImportDeclaration the `fieldKey` specifier is added to, if one exists. */
|
|
3338
3299
|
let formsImport
|
|
@@ -3373,10 +3334,6 @@ const formsFieldKey = {
|
|
|
3373
3334
|
if (name === undefined) continue
|
|
3374
3335
|
if (hasThemeAllow(context, node, 'forms-field-key')) continue
|
|
3375
3336
|
|
|
3376
|
-
if (name === 'field') {
|
|
3377
|
-
context.report({ node, message: FORMS_FIELD_KEY_MESSAGES.deprecatedAlias })
|
|
3378
|
-
continue
|
|
3379
|
-
}
|
|
3380
3337
|
if (hasKeyAttribute(opening)) continue
|
|
3381
3338
|
|
|
3382
3339
|
const args = call.arguments ?? []
|
|
@@ -145,7 +145,7 @@ describe('basalt/no-raw-font-size', () => {
|
|
|
145
145
|
|
|
146
146
|
it('does NOT flag a numeric fontSize with a same-line theme-allow comment', () => {
|
|
147
147
|
const { code, rules } = run(
|
|
148
|
-
`export const C = () => <Text fz={10} /* theme-allow
|
|
148
|
+
`export const C = () => <Text fz={10} /* theme-allow no-raw-font-size — legacy */>a</Text>\n`,
|
|
149
149
|
)
|
|
150
150
|
expect(code).toBe(0)
|
|
151
151
|
expect(rules).not.toContain('no-raw-font-size')
|
|
@@ -189,7 +189,7 @@ describe('basalt/raw-size-literal', () => {
|
|
|
189
189
|
|
|
190
190
|
it('does NOT flag with a same-line theme-allow comment', () => {
|
|
191
191
|
const { code, rules } = run(
|
|
192
|
-
`export const C = () => <Text fz="0.8rem" /* theme-allow
|
|
192
|
+
`export const C = () => <Text fz="0.8rem" /* theme-allow raw-size-literal — legacy */>a</Text>\n`,
|
|
193
193
|
)
|
|
194
194
|
expect(code).toBe(0)
|
|
195
195
|
expect(rules).not.toContain('raw-size-literal')
|
|
@@ -1686,9 +1686,18 @@ describe('theme-allow with an unrecognized rule id', () => {
|
|
|
1686
1686
|
expect(code).toBe(0)
|
|
1687
1687
|
})
|
|
1688
1688
|
|
|
1689
|
-
it('a bare theme-allow
|
|
1690
|
-
const { rules } = run(`export const C = () => <Text fz={10} /> // theme-allow\n`)
|
|
1691
|
-
expect(
|
|
1689
|
+
it('a bare theme-allow waives nothing', () => {
|
|
1690
|
+
const { code, rules } = run(`export const C = () => <Text fz={10} /> // theme-allow\n`)
|
|
1691
|
+
expect(code).toBe(1)
|
|
1692
|
+
expect(rules).toContain('no-raw-font-size')
|
|
1693
|
+
})
|
|
1694
|
+
|
|
1695
|
+
it('a prose-only annotation (no rule id) waives nothing', () => {
|
|
1696
|
+
const { code, rules } = run(
|
|
1697
|
+
`export const C = () => <Text fz={10} /> // theme-allow: legacy widget\n`,
|
|
1698
|
+
)
|
|
1699
|
+
expect(code).toBe(1)
|
|
1700
|
+
expect(rules).toContain('no-raw-font-size')
|
|
1692
1701
|
})
|
|
1693
1702
|
|
|
1694
1703
|
it('does not resolve an Object.prototype key as a rule id', () => {
|
|
@@ -3301,31 +3310,14 @@ describe('basalt/forms-field-key', () => {
|
|
|
3301
3310
|
expect(rules).toContain('forms-field-key')
|
|
3302
3311
|
})
|
|
3303
3312
|
|
|
3304
|
-
//
|
|
3305
|
-
//
|
|
3306
|
-
it('
|
|
3307
|
-
const {
|
|
3313
|
+
// `field` was the @deprecated 1.27 alias and is gone; this rule resolves `inputProps` alone, so a
|
|
3314
|
+
// spread `field(…)` import is no longer its concern (the unresolved import fails the compile).
|
|
3315
|
+
it('does NOT flag a spread field() — only inputProps is resolved', () => {
|
|
3316
|
+
const { rules } = run(
|
|
3308
3317
|
`import { field } from 'basalt-ui/forms'\n` +
|
|
3309
3318
|
`export const C = () => <TextInput key="e" {...field(form, 'email')} />\n`,
|
|
3310
3319
|
)
|
|
3311
|
-
expect(
|
|
3312
|
-
expect(rules).toContain('forms-field-key')
|
|
3313
|
-
})
|
|
3314
|
-
|
|
3315
|
-
/**
|
|
3316
|
-
* The message has to state the version it is RUNNING at, not the one the deprecation was
|
|
3317
|
-
* scheduled in. It used to say the alias "still bundles `key` INTO the returned object" and "is
|
|
3318
|
-
* removed in 1.29.0" while running AT 1.29.x, where `field` no longer exists at all — a consumer
|
|
3319
|
-
* reading it concluded nothing was broken, on a call site that does not compile.
|
|
3320
|
-
*/
|
|
3321
|
-
it('says `field` no longer exists, not that it is merely deprecated', () => {
|
|
3322
|
-
const { output } = run(
|
|
3323
|
-
`import { field } from 'basalt-ui/forms'\n` +
|
|
3324
|
-
`export const C = () => <TextInput {...field(form, 'email')} />\n`,
|
|
3325
|
-
)
|
|
3326
|
-
expect(output).toContain('NO LONGER EXISTS')
|
|
3327
|
-
expect(output).toContain('does not compile')
|
|
3328
|
-
expect(output).not.toContain('still bundles')
|
|
3320
|
+
expect(rules).not.toContain('forms-field-key')
|
|
3329
3321
|
})
|
|
3330
3322
|
|
|
3331
3323
|
it('honours a theme-allow naming the rule', () => {
|
|
@@ -50,7 +50,7 @@ export type BandStripProps<T, X extends ChartX = ChartX> = Omit<CartesianChartPr
|
|
|
50
50
|
/**
|
|
51
51
|
* The `states` key that means "not measured". A band in it is flat-filled like any state; a
|
|
52
52
|
* band in another state paints its `absentFraction` share in this state's color, and the
|
|
53
|
-
* tooltip adds this state's row. Absent stays a legended, flat
|
|
53
|
+
* tooltip adds this state's row. Absent stays a legended, flat state, never a
|
|
54
54
|
* hatch: it reads as "no data" by hue and by sitting at the band's right edge, not as zero.
|
|
55
55
|
*/
|
|
56
56
|
absentState?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BandStrip.d.ts","sourceRoot":"","sources":["../../src/charts/BandStrip.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BandStrip.d.ts","sourceRoot":"","sources":["../../src/charts/BandStrip.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AASzC,OAAO,KAAK,EAEV,mBAAmB,EAEnB,WAAW,EACX,MAAM,EAGP,MAAM,SAAS,CAAA;AAEhB,gGAAgG;AAChG,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,IAAI,CACnC,WAAW,CAAC,CAAC,CAAC,EACd,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,aAAa,CAC1E,GAAG;IACF;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,GAAG,IAAI,CAAC,GAAG,SAAS,CAAA;CACpD,CAAA;AAED,2DAA2D;AAC3D,MAAM,MAAM,QAAQ,GAAG;IACrB,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,oGAAoG;IACpG,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC;;;OAGG;IACH,MAAM,CAAC,EACH;QACE,0CAA0C;QAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC1B,uEAAuE;QACvE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAC3B,GACD,SAAS,CAAA;CACd,CAAA;AAED,yFAAyF;AACzF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;IACxB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B;;;;OAIG;IACH,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,IAAI,CAC7D,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EACzB,OAAO,GAAG,QAAQ,GAAG,GAAG,GAAG,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAClE,GAAG;IACF,MAAM,EAAE,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAA;IACrC,oGAAoG;IACpG,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAA;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAoMD,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,YAAY,CAgJjG"}
|