basalt-ui 2.6.0 → 2.7.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 +15 -15
- package/CHANGELOG.md +24 -0
- package/MIGRATING.md +50 -12
- package/agent/rules/basalt-batteries.md +2 -2
- package/agent/rules/basalt-controls.md +1 -1
- package/agent/skills/basalt-app/SKILL.md +2 -3
- package/agent/skills/basalt-charts/SKILL.md +1 -1
- package/agent/skills/basalt-design/SKILL.md +1 -1
- package/configs/oxlint-plugin.js +48 -0
- package/configs/oxlint-plugin.test.ts +82 -0
- package/dist/charts/Bars.d.ts +1 -1
- package/dist/charts/Bars.d.ts.map +1 -1
- package/dist/charts/Bars.js +9 -2
- package/dist/charts/legend.d.ts.map +1 -1
- package/dist/charts/legend.js +9 -1
- package/dist/controls/form-layout.d.ts +15 -6
- package/dist/controls/form-layout.d.ts.map +1 -1
- package/dist/forms/field.d.ts +42 -2
- package/dist/forms/field.d.ts.map +1 -1
- package/dist/forms/field.js +2 -2
- package/dist/forms/index.d.ts +4 -5
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/surfaces.d.ts +1 -1
- package/dist/surfaces.js +1 -1
- package/dist/table/data-table.d.ts +33 -0
- package/dist/table/data-table.d.ts.map +1 -1
- package/dist/table/data-table.js +100 -17
- package/dist/telemetry.d.ts +5 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/llms.txt +343 -11
- package/package.json +1 -1
- package/src/charts/Bars.tsx +13 -3
- package/src/charts/legend.tsx +9 -2
- package/src/controls/form-layout.tsx +15 -6
- package/src/forms/field.ts +78 -3
- package/src/forms/index.ts +4 -5
- package/src/surfaces.ts +1 -1
- package/src/table/data-table.tsx +171 -17
- package/src/telemetry.ts +5 -0
package/AGENTS.md
CHANGED
|
@@ -13,21 +13,21 @@ Everything else is internal: `./guard`, `./theme-lab`, `./data/virtual`, `./toke
|
|
|
13
13
|
and `./package.json` are **not exports** (`llms.txt` still ships in the tarball as a file;
|
|
14
14
|
`basalt-ui tokens:css` emits the token stylesheet).
|
|
15
15
|
|
|
16
|
-
| Subpath | Layer | Purpose
|
|
17
|
-
| -------------------------- | --------------- |
|
|
18
|
-
| `basalt-ui` | mantine-coupled | Wiring (`BasaltProvider`, `createBasaltTheme`, `createBasaltRouter`, `unwrap`), shell + nav (`BasaltShell`, `PageBar`, `PageAside`, `PageTitle`, `ThemeToggle`, `defineNav`/`navGroup`/`navTarget`/`flattenNav`, `useBasaltNav`, `useSizeClass`, `useCoarsePointer`), dashboard (`Section`, `WidgetHeader`, `StatCard`, `StatGroup`, `DeltaBadge`, `EmptyState`, `SettingsSection`/`SettingsRow`/`DangerZone`). Reaches no subpath-required peer.
|
|
19
|
-
| `basalt-ui/charts` | headless | CartesianChart (the TanStack Charts rung), the Lines and Bars kinds, ChartCard and the shared chartCursor (Mantine-free; @tanstack/charts + d3-scale peers)
|
|
20
|
-
| `basalt-ui/tokens` | headless | VX token refs, buildPaletteCss, defineSeries, seriesTokens, groupTokens, alpha (Mantine-free)
|
|
21
|
-
| `basalt-ui/vite` | build-tooling | basaltViteConfig(opts) — Vite preset for basalt-ui consumer apps; basaltAppPlugin(opts) — PWA head, manifest, and icon metadata derived from the token palette
|
|
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
|
-
| `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
|
-
| `basalt-ui/commands` | mantine-coupled | defineCommands (typed command bus), defineOverlays/overlays, setColorScheme, toggleSidebar, ShortcutsHelp, defineNotifications/emit/NotificationBell (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 (renamed from ./data/table)
|
|
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
|
-
| `basalt-ui/content` | mantine-coupled | Prose (article/chat typography), Callout, TableOfContents, 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
|
-
| `basalt-ui/controls` | mantine-coupled | The control tier (docs/CONTROLS-SPEC.md §3): FilterSet (nowrap row + measured +N fold + the mobile Filters (n) sheet), RangeFilter
|
|
29
|
-
| `basalt-ui/controls-dates` | mantine-coupled | DateRangePicker — the @mantine/dates implementation of RangeFilter's customPicker seam. Its own subpath because @mantine/dates is an optional peer and basaltViteConfig pre-bundles the whole @mantine scope, so a consumer without the peer (linewatch) must never resolve it: nothing under src/controls may import it, statically or lazily (docs/CONTROLS-SPEC.md §3).
|
|
30
|
-
| `basalt-ui/state` | headless | field.enum/multi/range/number/boolean/string (the store field vocabulary), createSearchStore (typed URL > localStorage > fallback store), createLocalStore (the router-free store), createPersistedState (versioned localStorage)
|
|
16
|
+
| Subpath | Layer | Purpose |
|
|
17
|
+
| -------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
18
|
+
| `basalt-ui` | mantine-coupled | Wiring (`BasaltProvider`, `createBasaltTheme`, `createBasaltRouter`, `unwrap`), shell + nav (`BasaltShell`, `PageBar`, `PageAside`, `PageTitle`, `ThemeToggle`, `defineNav`/`navGroup`/`navTarget`/`flattenNav`, `useBasaltNav`, `useSizeClass`, `useCoarsePointer`), dashboard (`Section`, `WidgetHeader`, `StatCard`, `StatGroup`, `DeltaBadge`, `EmptyState`, `SettingsSection`/`SettingsRow`/`DangerZone`). Reaches no subpath-required peer. |
|
|
19
|
+
| `basalt-ui/charts` | headless | CartesianChart (the TanStack Charts rung), the Lines and Bars kinds, ChartCard and the shared chartCursor (Mantine-free; @tanstack/charts + d3-scale peers) |
|
|
20
|
+
| `basalt-ui/tokens` | headless | VX token refs, buildPaletteCss, defineSeries, seriesTokens, groupTokens, alpha (Mantine-free) |
|
|
21
|
+
| `basalt-ui/vite` | build-tooling | basaltViteConfig(opts) — Vite preset for basalt-ui consumer apps; basaltAppPlugin(opts) — PWA head, manifest, and icon metadata derived from the token palette |
|
|
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
|
+
| `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
|
+
| `basalt-ui/commands` | mantine-coupled | defineCommands (typed command bus), defineOverlays/overlays, setColorScheme, toggleSidebar, ShortcutsHelp, defineNotifications/emit/NotificationBell (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 (renamed from ./data/table) |
|
|
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
|
+
| `basalt-ui/content` | mantine-coupled | Prose (article/chat typography), Callout, TableOfContents, 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
|
+
| `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. |
|
|
29
|
+
| `basalt-ui/controls-dates` | mantine-coupled | DateRangePicker — the @mantine/dates implementation of RangeFilter's customPicker seam. Its own subpath because @mantine/dates is an optional peer and basaltViteConfig pre-bundles the whole @mantine scope, so a consumer without the peer (linewatch) must never resolve it: nothing under src/controls may import it, statically or lazily (docs/CONTROLS-SPEC.md §3). |
|
|
30
|
+
| `basalt-ui/state` | headless | field.enum/multi/range/number/boolean/string (the store field vocabulary), createSearchStore (typed URL > localStorage > fallback store), createLocalStore (the router-free store), createPersistedState (versioned localStorage) |
|
|
31
31
|
|
|
32
32
|
Also published, but not JS subpaths: `basalt-ui/styles.css` (the one stylesheet: `@layer mantine, basalt;`, then `@import`s of `@mantine/{core,notifications,spotlight}/styles.layer.css`, then basalt's own layer) and `basalt-ui/configs/*` (raw oxlint / tsconfig / lefthook / oxfmt presets).
|
|
33
33
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# [2.7.0](https://github.com/jkrumm/basalt-ui/compare/v2.6.1...v2.7.0) (2026-10-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* every export named in llms.txt and d.ts headers exists, with props ([7bc783f](https://github.com/jkrumm/basalt-ui/commit/7bc783f0c19330a3e2d22ae3eec5cbbfd8e75ec6))
|
|
7
|
+
* make the doc-name check fail closed and test the props block ([44c0f00](https://github.com/jkrumm/basalt-ui/commit/44c0f00f08efce122bca079358ad396dc5bbc976))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* a typed per-row action seam on BasaltDataTable ([23cc77b](https://github.com/jkrumm/basalt-ui/commit/23cc77be8b2581a8142dd1325912be7568d0b89e))
|
|
13
|
+
* checkbox and switch bindings and typed field errors in basalt-ui/forms ([0041e51](https://github.com/jkrumm/basalt-ui/commit/0041e511d8895fb6f14c856c772aad06240e8964))
|
|
14
|
+
* rowActions loading, per-row names and a sharper row-action lint ([1e0fa59](https://github.com/jkrumm/basalt-ui/commit/1e0fa59f7779dd6b58185bf7cf4451c2704d47fe))
|
|
15
|
+
* type the checkbox binding strictly and export InputProps ([a3538ab](https://github.com/jkrumm/basalt-ui/commit/a3538abeb028f8585c93c01c1d9aa50350a6eeaf))
|
|
16
|
+
|
|
17
|
+
## [2.6.1](https://github.com/jkrumm/basalt-ui/compare/v2.6.0...v2.6.1) (2026-10-15)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* answer DX trial 2 in the shipped layer and the trace docs ([2f6bd57](https://github.com/jkrumm/basalt-ui/commit/2f6bd5791a4023b82453b3a6cbe51140de4d9601))
|
|
23
|
+
* give per-bar shades their own legend swatches ([9840cd4](https://github.com/jkrumm/basalt-ui/commit/9840cd4d5ed48e9f5b11e06cbf2b34470093ffc9))
|
|
24
|
+
|
|
1
25
|
# [2.6.0](https://github.com/jkrumm/basalt-ui/compare/v2.5.0...v2.6.0) (2026-10-14)
|
|
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 | 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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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 | 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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
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) | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
@@ -992,6 +992,44 @@ optional, subpath-required peers.
|
|
|
992
992
|
_Nothing yet. Author the next section under this heading as `## Unreleased — <title>`; the
|
|
993
993
|
release renames it and opens a new one here._
|
|
994
994
|
|
|
995
|
+
## 2.7.0 — table row actions, checkbox bindings, typed field errors
|
|
996
|
+
|
|
997
|
+
- `BasaltDataTable` takes `rowActions` (argo friction row 48): typed data in `BarActionItem`'s
|
|
998
|
+
vocabulary — `{ key, label, icon?, onClick(row), danger?, disabled?(row), loading?(row) }`. The table appends a
|
|
999
|
+
trailing, end-pinned, header-less column (sr-only "Actions") and renders an icon button for one
|
|
1000
|
+
action with an `icon`, an overflow menu (`Row actions`) otherwise. A click never reaches
|
|
1001
|
+
`onRowActivate`. The column renders in the table body only; a `renderCard` card owns its own.
|
|
1002
|
+
A disabled or loading action never fires. Each trigger is named per row (`Row N actions`, or
|
|
1003
|
+
`rowLabel(row)` when given). Pass a stable `rowActions` reference (module constant or `useMemo`).
|
|
1004
|
+
`DataTableRowAction<T>` is exported beside `DataTableFacet` from the module; no value export is added.
|
|
1005
|
+
- `basalt/control-outside-home` now also flags a Mantine `Menu`/`ActionIcon` inside a column
|
|
1006
|
+
`cell`/`display` renderer, and the `basalt-controls` Homes rule names `rowActions`. Existing
|
|
1007
|
+
hand-rolled action cells will start to report: move them to `rowActions`, or waive with
|
|
1008
|
+
`theme-allow control-outside-home`.
|
|
1009
|
+
- On notice (adopt-or-delete): named consumers are argo's `strength-tracker/components/workouts-table.tsx`
|
|
1010
|
+
(Edit + Delete) and `body-composition/components/skinfold-history-table.tsx` (Delete); neither
|
|
1011
|
+
has migrated yet. Their delete icons pass `loading`, which `loading(row)` now models.
|
|
1012
|
+
- `basalt-ui/forms`: `inputProps(form, path, { type: 'checkbox' })` binds a boolean field to Mantine
|
|
1013
|
+
`Checkbox`/`Switch` (`defaultChecked` + `onChange` in the default uncontrolled mode, `checked` under
|
|
1014
|
+
`mode: 'controlled'`). It type-checks only on a literal path whose value is a boolean (dot paths,
|
|
1015
|
+
array indices, optional/nullable booleans included). Additive.
|
|
1016
|
+
- `inputProps(...).error` narrowed from `any` to `ReactNode` (the key is always present, `undefined`
|
|
1017
|
+
on a clean field). Read a field error there instead of `form.errors.x` (TS4111), and pass it to
|
|
1018
|
+
`FormRow error` for a raw control. Code that treated it as `any` (a string method call, a
|
|
1019
|
+
`Record` index) now needs a narrowing. The new `InputProps` type is exported from `basalt-ui/forms`.
|
|
1020
|
+
|
|
1021
|
+
## 2.6.1 — per-bar legend shades
|
|
1022
|
+
|
|
1023
|
+
- `Bars`: a legend swatch now wears the shade its bars draw. It samples `barOpacity(firstRow, key)`,
|
|
1024
|
+
else the bar's `fillOpacity`, else the 0.85 default, so a per-series shade ladder (Warm-up / Work /
|
|
1025
|
+
Drop in one colour) no longer collapses to one flat swatch. The `dots` legend mode honours the
|
|
1026
|
+
opacity too. Visible change: default-opacity bars now show a 0.85 swatch instead of a solid one.
|
|
1027
|
+
- `EnumFilter` stays internal to `basalt-ui/controls` (no export added): `SelectFilter` is the public
|
|
1028
|
+
single-choice filter and `DataTable` facets render `EnumFilter` themselves. No consumer needs the
|
|
1029
|
+
bare body (argo's DX trial reached for it from a task prompt, not from an app), so per the
|
|
1030
|
+
adopt-or-delete doctrine it is not exported. Its `.d.ts` still ships because `DataTable`'s
|
|
1031
|
+
declarations import it.
|
|
1032
|
+
|
|
995
1033
|
## 2.6.0 — external-store fields, a live query-fn-unwrap, page shape
|
|
996
1034
|
|
|
997
1035
|
- `externalField({ values, fallback, labels, store })` (`basalt-ui/state`) returns a `FieldHandle`
|
|
@@ -18,12 +18,12 @@ paths:
|
|
|
18
18
|
|
|
19
19
|
## Query
|
|
20
20
|
|
|
21
|
-
- Wrap every API-client `queryFn` response in `unwrap()` (it throws on the error branch and on `null` data); a mock returning plain data needs none, and the lint sees only an inline `queryFn` calling `fetch(`. [basalt/query-fn-unwrap]
|
|
21
|
+
- Wrap every API-client `queryFn` response in `unwrap()` from `basalt-ui` (it throws on the error branch and on `null` data); a mock returning plain data needs none, and the lint sees only an inline `queryFn` calling `fetch(`. [basalt/query-fn-unwrap]
|
|
22
22
|
- The client comes from `createBasaltRouter`; extend it via its `query:` option. [type createBasaltRouter]
|
|
23
23
|
|
|
24
24
|
## Forms
|
|
25
25
|
|
|
26
|
-
- A field is two calls: `key={fieldKey(form, path)}` and `{...inputProps(form, path)}`, from `basalt-ui/forms`. [basalt/forms-field-key]
|
|
26
|
+
- A field is two calls: `key={fieldKey(form, path)}` and `{...inputProps(form, path)}`, from `basalt-ui/forms`. [basalt/forms-field-key] A boolean field (`Checkbox`/`Switch`) adds `{ type: 'checkbox' }`; read a field error as `inputProps(form, path).error`, never `form.errors.x` (TS4111), and hand it to `FormRow error` only for a raw control. [type inputProps]
|
|
27
27
|
- `useBasaltForm` takes a Standard Schema validator, not a `ZodSchema`. [type useBasaltForm]
|
|
28
28
|
|
|
29
29
|
## Table
|
|
@@ -21,7 +21,7 @@ A control has one home and takes its state from a store field; the home sets its
|
|
|
21
21
|
|
|
22
22
|
## Homes
|
|
23
23
|
|
|
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`). [basalt/control-outside-home]
|
|
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
25
|
- A raw Mantine selection control (`Select`, `SegmentedControl`, …) in a home slot is a filter without a `field`. [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`. [type PageBar]
|
|
@@ -29,7 +29,7 @@ createRoot(document.getElementById('root')!).render(<BasaltProvider router={rout
|
|
|
29
29
|
3. Import extension layer CSS (`@mantine/dates` for `basalt-ui/controls-dates`, `@mantine/schedule`) after `basalt-ui/styles.css` (core must precede them in `@layer mantine`).
|
|
30
30
|
4. Install the peers of each subpath you import: read its `Install: bun add …` line in `node_modules/basalt-ui/llms.txt`; a subpath with no `Install:` line needs only the required peers listed at the top of that file.
|
|
31
31
|
5. In `vite.config.ts` spread `...basaltViteConfig({ port, apiTarget })` and register, in this order, `plugins: [tanstackRouter({ target: 'react', autoCodeSplitting: true }), react(), ...basaltAppPlugin({ name, description })]`. Run `bun add -d @tanstack/router-plugin` and import `tanstackRouter` from `@tanstack/router-plugin/vite`.
|
|
32
|
-
6. Run `vite build` once so the plugin writes `src/routeTree.gen.ts
|
|
32
|
+
6. Run `vite build` once so the router plugin writes `src/routeTree.gen.ts` (`tsc -b` fails without it). Follow the repo's own convention for that file: commit it or gitignore it, never both.
|
|
33
33
|
7. In `src/routes/__root.tsx`: `<BasaltShell brand={{ name }} nav={NAV}><Outlet /></BasaltShell>`; build `NAV` with `defineNav` in `src/lib/nav.tsx`.
|
|
34
34
|
8. Add a page as a file route, and link to it with `navTarget`:
|
|
35
35
|
|
|
@@ -237,8 +237,7 @@ export function Chat() {
|
|
|
237
237
|
|
|
238
238
|
1. `./node_modules/.bin/basalt-ui doctor`; read to the last line. `SKIPPED` exits non-zero.
|
|
239
239
|
2. Fix every finding doctor prints, then rerun until it is clean.
|
|
240
|
-
3.
|
|
241
|
-
4. `bunx tsc --noEmit`; fix every error without `as never` or `any`.
|
|
240
|
+
3. Run the repo's own gate (e.g. `make check`), which runs lint, the theme guard (`basalt-ui check-theme`) and typecheck; fix every finding at its source, and every type error without `as never` or `any`.
|
|
242
241
|
|
|
243
242
|
## Refresh after any upgrade
|
|
244
243
|
|
|
@@ -36,5 +36,5 @@ import { lineY } from '@tanstack/charts/line'
|
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
5. Wrap it in `ChartCard`; pass `state={{ pending, error, empty }}` from the query.
|
|
39
|
-
6. Run `
|
|
39
|
+
6. Run the repo's own gate (e.g. `make check`), which runs lint, the theme guard and typecheck; fix every finding at its source.
|
|
40
40
|
7. Check both color schemes and a pending query.
|
|
@@ -14,5 +14,5 @@ Method only; the law is `.claude/rules/basalt-*.md` and `./DESIGN.md`.
|
|
|
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.
|
|
16
16
|
6. Bake the values back: identity changes go into the `derive` knobs of `createBasaltTheme`, series colors into `src/lib/series.ts` as `{ light, dark }` pairs. Clear the lab overrides and confirm the baked result matches.
|
|
17
|
-
7. Run `
|
|
17
|
+
7. Run the repo's own gate (e.g. `make check`), which runs lint, the theme guard and typecheck; fix every finding at its source.
|
|
18
18
|
8. Check both schemes, and below and above the `sm` breakpoint.
|
package/configs/oxlint-plugin.js
CHANGED
|
@@ -2527,6 +2527,41 @@ const CONTROL_OUTSIDE_HOME_MESSAGE =
|
|
|
2527
2527
|
'(Modal/Drawer/Popover/Menu) and a form (@mantine/form) are the declared non-homes and never ' +
|
|
2528
2528
|
`report. ${SHELL_LESS_HOME_HINT} (basalt/control-outside-home)`
|
|
2529
2529
|
|
|
2530
|
+
const ROW_ACTION_IN_CELL_MESSAGE =
|
|
2531
|
+
'A Mantine `Menu`/`ActionIcon` inside a column `cell`/`display` renderer is a per-row action with ' +
|
|
2532
|
+
'no home. Pass `BasaltDataTable rowActions={[{ key, label, icon, onClick: (row) => … }]}` — the ' +
|
|
2533
|
+
'table renders the trailing, pinned actions column, keyboard access and the no-row-activation ' +
|
|
2534
|
+
'guard itself. (basalt/control-outside-home)'
|
|
2535
|
+
|
|
2536
|
+
/** Tags that, in a column `cell` renderer, are a hand-rolled row action. */
|
|
2537
|
+
const ROW_ACTION_TAGS = new Set(['Menu', 'ActionIcon'])
|
|
2538
|
+
|
|
2539
|
+
/** An `ActionIcon` under a `Menu` is that menu's trigger: the `Menu` reports, once, for the pair. */
|
|
2540
|
+
const ROW_MENU_TAGS = new Set(['Menu'])
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* True when `node` sits inside a function that is the value of a `cell:` property (a column def).
|
|
2544
|
+
* Only an INLINE renderer is seen: `cell: renderActions` (a reference to a function declared
|
|
2545
|
+
* elsewhere) is a cross-reference no single-file AST walk resolves — the same declared limit as
|
|
2546
|
+
* the rule's cross-file C1 gap.
|
|
2547
|
+
*/
|
|
2548
|
+
function insideCellRenderer(node) {
|
|
2549
|
+
let current = node.parent
|
|
2550
|
+
for (let depth = 0; current !== null && current !== undefined; depth++) {
|
|
2551
|
+
if (depth > ANCESTRY_MAX_DEPTH || current.type === 'Program') return false
|
|
2552
|
+
if (
|
|
2553
|
+
current.type === 'Property' &&
|
|
2554
|
+
(current.key?.name ?? current.key?.value) === 'cell' &&
|
|
2555
|
+
(current.value?.type === 'ArrowFunctionExpression' ||
|
|
2556
|
+
current.value?.type === 'FunctionExpression')
|
|
2557
|
+
) {
|
|
2558
|
+
return true
|
|
2559
|
+
}
|
|
2560
|
+
current = current.parent
|
|
2561
|
+
}
|
|
2562
|
+
return false
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2530
2565
|
/**
|
|
2531
2566
|
* The cross-file half of C1, and the one rule here that is openly a HEURISTIC: "this control has
|
|
2532
2567
|
* no home" is a claim about layout intent, which no AST can see. That is why it sat in grace from
|
|
@@ -2582,9 +2617,22 @@ const controlOutsideHome = {
|
|
|
2582
2617
|
name: node.name,
|
|
2583
2618
|
captured: slots.capture(node),
|
|
2584
2619
|
hosted: hasAncestorTag(node, CONTROL_HOST_TAGS),
|
|
2620
|
+
inCell: insideCellRenderer(node),
|
|
2621
|
+
inMenu: jsxTagName(node.name) !== 'Menu' && hasAncestorTag(node, ROW_MENU_TAGS),
|
|
2585
2622
|
})
|
|
2586
2623
|
},
|
|
2587
2624
|
'Program:exit'() {
|
|
2625
|
+
// Row actions first: a table file that imports `@mantine/form` or defines a basalt control
|
|
2626
|
+
// still hosts column cells, so neither file-level exemption applies to them. An already-homed
|
|
2627
|
+
// element (a form row, a menu dropdown, a slot) is still not a row action.
|
|
2628
|
+
for (const { node, name, captured, hosted, inCell, inMenu } of candidates) {
|
|
2629
|
+
if (!inCell || hosted || inMenu) continue
|
|
2630
|
+
const tag = resolveMantineTag(name, mantineImports)
|
|
2631
|
+
if (tag === undefined || !ROW_ACTION_TAGS.has(tag)) continue
|
|
2632
|
+
if (slots.resolve(captured) || slots.inSubtreeHome(captured)) continue
|
|
2633
|
+
if (hasThemeAllow(context, node, 'control-outside-home')) continue
|
|
2634
|
+
context.report({ node, message: ROW_ACTION_IN_CELL_MESSAGE })
|
|
2635
|
+
}
|
|
2588
2636
|
if (importsMantineForm || owner.isOwner()) return
|
|
2589
2637
|
for (const { node, name, captured, hosted } of candidates) {
|
|
2590
2638
|
const tag = resolveMantineTag(name, mantineImports)
|
|
@@ -1957,6 +1957,88 @@ describe('basalt/control-outside-home', () => {
|
|
|
1957
1957
|
expect(rules).toContain('control-outside-home')
|
|
1958
1958
|
})
|
|
1959
1959
|
|
|
1960
|
+
describe('a hand-rolled row action in a column cell', () => {
|
|
1961
|
+
const TABLE_IMPORT = `import { createColumnHelper } from 'basalt-ui/table'\n`
|
|
1962
|
+
const cell = (body: string) =>
|
|
1963
|
+
`${TABLE_IMPORT}${MANTINE_IMPORT}const col = createColumnHelper<Row>()\n` +
|
|
1964
|
+
`export const columns = [col.display({ id: 'a', cell: ({ row }) => ${body} })]\n`
|
|
1965
|
+
|
|
1966
|
+
it('flags a Mantine Menu in a col.display cell', () => {
|
|
1967
|
+
const { code, rules } = run(
|
|
1968
|
+
`import { Menu } from '@mantine/core'\n${cell('<Menu><Menu.Target><span /></Menu.Target></Menu>').replace(MANTINE_IMPORT, '')}`,
|
|
1969
|
+
)
|
|
1970
|
+
expect(code).toBe(1)
|
|
1971
|
+
expect(rules).toContain('control-outside-home')
|
|
1972
|
+
})
|
|
1973
|
+
|
|
1974
|
+
it('flags a Mantine ActionIcon in a cell renderer', () => {
|
|
1975
|
+
const { rules } = run(
|
|
1976
|
+
`import { ActionIcon } from '@mantine/core'\n${cell('<ActionIcon aria-label="x" />').replace(MANTINE_IMPORT, '')}`,
|
|
1977
|
+
)
|
|
1978
|
+
expect(rules).toContain('control-outside-home')
|
|
1979
|
+
})
|
|
1980
|
+
|
|
1981
|
+
it('does NOT flag a Menu outside a cell renderer', () => {
|
|
1982
|
+
const { rules } = run(
|
|
1983
|
+
`import { Menu } from '@mantine/core'\nexport const C = () => <Menu><Menu.Target><span /></Menu.Target></Menu>\n`,
|
|
1984
|
+
)
|
|
1985
|
+
expect(rules).not.toContain('control-outside-home')
|
|
1986
|
+
})
|
|
1987
|
+
|
|
1988
|
+
it('reports a hand-rolled Menu + ActionIcon trigger once, not twice', () => {
|
|
1989
|
+
const { output } = run(
|
|
1990
|
+
`import { ActionIcon, Menu } from '@mantine/core'\n${TABLE_IMPORT}const col = createColumnHelper<Row>()\n` +
|
|
1991
|
+
`export const columns = [col.display({ id: 'a', cell: () => (\n` +
|
|
1992
|
+
` <Menu><Menu.Target><ActionIcon aria-label="x" /></Menu.Target></Menu>\n) })]\n`,
|
|
1993
|
+
)
|
|
1994
|
+
expect(output.match(/\(basalt\/control-outside-home\)/g)).toHaveLength(1)
|
|
1995
|
+
})
|
|
1996
|
+
|
|
1997
|
+
it('does NOT flag an ActionIcon already homed in a form row inside a cell', () => {
|
|
1998
|
+
const { rules } = run(
|
|
1999
|
+
`import { ActionIcon } from '@mantine/core'\nimport { FormRow } from 'basalt-ui/controls'\n${TABLE_IMPORT}` +
|
|
2000
|
+
`const col = createColumnHelper<Row>()\nexport const columns = [col.display({ id: 'a', cell: () => (\n` +
|
|
2001
|
+
` <FormRow label="L"><ActionIcon aria-label="x" /></FormRow>\n) })]\n`,
|
|
2002
|
+
)
|
|
2003
|
+
expect(rules).not.toContain('control-outside-home')
|
|
2004
|
+
})
|
|
2005
|
+
|
|
2006
|
+
it('does NOT flag one under a Menu.Dropdown inside a cell', () => {
|
|
2007
|
+
const { rules } = run(
|
|
2008
|
+
`import { ActionIcon } from '@mantine/core'\n${TABLE_IMPORT}const col = createColumnHelper<Row>()\n` +
|
|
2009
|
+
`export const columns = [col.display({ id: 'a', cell: () => (\n` +
|
|
2010
|
+
` <Menu.Dropdown><ActionIcon aria-label="x" /></Menu.Dropdown>\n) })]\n`,
|
|
2011
|
+
)
|
|
2012
|
+
expect(rules).not.toContain('control-outside-home')
|
|
2013
|
+
})
|
|
2014
|
+
|
|
2015
|
+
it('still flags in a file that imports @mantine/form', () => {
|
|
2016
|
+
const { rules } = run(
|
|
2017
|
+
`import { useForm } from '@mantine/form'\nimport { ActionIcon } from '@mantine/core'\n${TABLE_IMPORT}` +
|
|
2018
|
+
`const col = createColumnHelper<Row>()\nexport const columns = [col.display({ id: 'a', cell: () => <ActionIcon aria-label="x" /> })]\n`,
|
|
2019
|
+
)
|
|
2020
|
+
expect(rules).toContain('control-outside-home')
|
|
2021
|
+
})
|
|
2022
|
+
|
|
2023
|
+
it('does not see a cell renderer passed by reference (declared single-file limit)', () => {
|
|
2024
|
+
const { rules } = run(
|
|
2025
|
+
`import { ActionIcon } from '@mantine/core'\n${TABLE_IMPORT}const col = createColumnHelper<Row>()\n` +
|
|
2026
|
+
`const renderActions = () => <ActionIcon aria-label="x" />\n` +
|
|
2027
|
+
`export const columns = [col.display({ id: 'a', cell: renderActions })]\n`,
|
|
2028
|
+
)
|
|
2029
|
+
expect(rules).not.toContain('control-outside-home')
|
|
2030
|
+
})
|
|
2031
|
+
|
|
2032
|
+
it('honours a theme-allow waiver', () => {
|
|
2033
|
+
const { rules } = run(
|
|
2034
|
+
`import { ActionIcon } from '@mantine/core'\n${TABLE_IMPORT}const col = createColumnHelper<Row>()\n` +
|
|
2035
|
+
`export const columns = [col.display({ id: 'a', cell: () => (\n` +
|
|
2036
|
+
` // theme-allow control-outside-home — a one-off\n <ActionIcon aria-label="x" />\n) })]\n`,
|
|
2037
|
+
)
|
|
2038
|
+
expect(rules).not.toContain('control-outside-home')
|
|
2039
|
+
})
|
|
2040
|
+
})
|
|
2041
|
+
|
|
1960
2042
|
it('does NOT flag one under a member-expression non-home (Menu.Dropdown)', () => {
|
|
1961
2043
|
const { rules } = run(
|
|
1962
2044
|
`${MANTINE_IMPORT}export const C = () => <Menu.Dropdown><Select data={[]} /></Menu.Dropdown>\n`,
|
package/dist/charts/Bars.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type BarsProps<T, X extends ChartX = ChartX> = Omit<CartesianChartProps<T
|
|
|
12
12
|
lines?: readonly BarsLine<T>[] | undefined;
|
|
13
13
|
/** Default `'stacked'`. `'normalized'` stacks each x to its share of the total. */
|
|
14
14
|
layout?: 'stacked' | 'grouped' | 'normalized' | undefined;
|
|
15
|
-
/** Per-bar opacity (a partial week, an estimate). Overrides the series' `fillOpacity
|
|
15
|
+
/** Per-bar opacity (a partial week, an estimate, a shade per series). Overrides the series' `fillOpacity`; the legend swatch samples it on the first row. */
|
|
16
16
|
barOpacity?: ((d: T, key: string) => number) | undefined;
|
|
17
17
|
};
|
|
18
18
|
export declare function Bars<T, X extends ChartX = ChartX>(props: BarsProps<T, X>): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bars.d.ts","sourceRoot":"","sources":["../../src/charts/Bars.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EACV,mBAAmB,EAEnB,WAAW,EACX,MAAM,EAGP,MAAM,SAAS,CAAA;AAEhB,oDAAoD;AACpD,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,IAAI,CAC3B,WAAW,CAAC,CAAC,CAAC,EACd,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAChG,GAAG;IACF,oBAAoB;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,8DAA8D;AAC9D,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,IAAI,CAC5B,WAAW,CAAC,CAAC,CAAC,EACZ,KAAK,GACL,OAAO,GACP,OAAO,GACP,UAAU,GACV,aAAa,GACb,SAAS,GACT,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,aAAa,GACb,eAAe,CAClB,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,IAAI,CACxD,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EACzB,OAAO,GAAG,QAAQ,CACnB,GAAG;IACF,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,SAAS,CAAA;IAC1C,mFAAmF;IACnF,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAAA;IACzD,
|
|
1
|
+
{"version":3,"file":"Bars.d.ts","sourceRoot":"","sources":["../../src/charts/Bars.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EACV,mBAAmB,EAEnB,WAAW,EACX,MAAM,EAGP,MAAM,SAAS,CAAA;AAEhB,oDAAoD;AACpD,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,IAAI,CAC3B,WAAW,CAAC,CAAC,CAAC,EACd,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAChG,GAAG;IACF,oBAAoB;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,8DAA8D;AAC9D,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,IAAI,CAC5B,WAAW,CAAC,CAAC,CAAC,EACZ,KAAK,GACL,OAAO,GACP,OAAO,GACP,UAAU,GACV,aAAa,GACb,SAAS,GACT,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,aAAa,GACb,eAAe,CAClB,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,IAAI,CACxD,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EACzB,OAAO,GAAG,QAAQ,CACnB,GAAG;IACF,IAAI,EAAE,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,SAAS,CAAA;IAC1C,mFAAmF;IACnF,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAAA;IACzD,6JAA6J;IAC7J,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAA;CACzD,CAAA;AAoBD,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,YAAY,CAqEvF"}
|
package/dist/charts/Bars.js
CHANGED
|
@@ -19,12 +19,19 @@ function guardLogStack(layout, onLog) {
|
|
|
19
19
|
function Bars(props) {
|
|
20
20
|
const { bars, lines, layout = "stacked", barOpacity, ...rest } = props;
|
|
21
21
|
guardLogStack(layout, bars.length > 0 && rest.y?.scale === "log");
|
|
22
|
+
const sample = rest.data[0];
|
|
22
23
|
const series = useMemo(
|
|
23
24
|
() => [
|
|
24
|
-
|
|
25
|
+
// The legend has no datum: its swatch wears the shade the bars draw on the first row, so
|
|
26
|
+
// per-bar shades (`barOpacity`) read the same in the legend as on the plot.
|
|
27
|
+
...bars.map((b) => ({
|
|
28
|
+
...b,
|
|
29
|
+
mark: "bar",
|
|
30
|
+
fillOpacity: (sample !== void 0 ? barOpacity?.(sample, b.key) : void 0) ?? b.fillOpacity ?? DEFAULT_BAR_OPACITY
|
|
31
|
+
})),
|
|
25
32
|
...(lines ?? []).map((l) => ({ ...l, mark: "line" }))
|
|
26
33
|
],
|
|
27
|
-
[bars, lines]
|
|
34
|
+
[bars, lines, barOpacity, sample]
|
|
28
35
|
);
|
|
29
36
|
const marks = useCallback(
|
|
30
37
|
(plot) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legend.d.ts","sourceRoot":"","sources":["../../src/charts/legend.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AAGxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,6FAA6F;AAC7F,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAUlD,mFAAmF;AACnF,wBAAgB,aAAa,CAAC,CAAC,EAC7B,MAAM,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,EAAE,EACjC,MAAM,EAAE,OAAO,GACd,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,CAMpB;
|
|
1
|
+
{"version":3,"file":"legend.d.ts","sourceRoot":"","sources":["../../src/charts/legend.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AAGxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,6FAA6F;AAC7F,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAUlD,mFAAmF;AACnF,wBAAgB,aAAa,CAAC,CAAC,EAC7B,MAAM,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,EAAE,EACjC,MAAM,EAAE,OAAO,GACd,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,CAMpB;AAqGD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,MAAM,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,EAAE,CAAA;IACjC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;CAC1C,CAAA;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,YAAY,GAAG,IAAI,CAmE9E"}
|
package/dist/charts/legend.js
CHANGED
|
@@ -55,7 +55,15 @@ function Swatch({ s, mode }) {
|
|
|
55
55
|
{
|
|
56
56
|
"aria-hidden": true,
|
|
57
57
|
className: classes.dot,
|
|
58
|
-
style: {
|
|
58
|
+
style: {
|
|
59
|
+
width: 8,
|
|
60
|
+
height: 8,
|
|
61
|
+
// theme-allow raw-surface — a legend dot is a circle, not a surface corner
|
|
62
|
+
borderRadius: "50%",
|
|
63
|
+
background: s.color,
|
|
64
|
+
opacity: s.fillOpacity ?? 1,
|
|
65
|
+
flex: "none"
|
|
66
|
+
}
|
|
59
67
|
}
|
|
60
68
|
);
|
|
61
69
|
if ((s.mark ?? "line") === "line")
|
|
@@ -42,9 +42,10 @@ export type FormRowProps = BasaltProps & SlotStylesProps<FormRowSlot> & {
|
|
|
42
42
|
hint?: string;
|
|
43
43
|
/**
|
|
44
44
|
* The field's error, rendered under the control. Falsy renders nothing. For a Mantine input
|
|
45
|
-
* wired through `inputProps(form, path)`, Mantine's own `Input.Wrapper` already renders
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* wired through `inputProps(form, path)`, Mantine's own `Input.Wrapper` already renders the
|
|
46
|
+
* field error — passing it here too would render it twice. Reserve this prop for children that
|
|
47
|
+
* render no error of their own (a raw input, a custom control) and read it typed:
|
|
48
|
+
* `error={inputProps(form, path).error}`.
|
|
48
49
|
*/
|
|
49
50
|
error?: ReactNode;
|
|
50
51
|
/** Marks the field required: an accent `*` for sighted readers, `(required)` for assistive tech. */
|
|
@@ -76,7 +77,7 @@ export type FormRowProps = BasaltProps & SlotStylesProps<FormRowSlot> & {
|
|
|
76
77
|
*
|
|
77
78
|
* @example
|
|
78
79
|
* // A raw control renders no error of its own — pass it explicitly.
|
|
79
|
-
* <FormRow label="Email" required error={form
|
|
80
|
+
* <FormRow label="Email" required error={inputProps(form, 'email').error}>
|
|
80
81
|
* <input value={form.values.email} onChange={(e) => form.setFieldValue('email', e.target.value)} />
|
|
81
82
|
* </FormRow>
|
|
82
83
|
*/
|
|
@@ -113,8 +114,16 @@ export type FormGroupProps = BasaltProps & {
|
|
|
113
114
|
*
|
|
114
115
|
* @example
|
|
115
116
|
* <FormGroup label="Notify me about" direction="row">
|
|
116
|
-
* <Checkbox
|
|
117
|
-
*
|
|
117
|
+
* <Checkbox
|
|
118
|
+
* key={fieldKey(form, 'onDeploy')}
|
|
119
|
+
* {...inputProps(form, 'onDeploy', { type: 'checkbox' })}
|
|
120
|
+
* label="Deploys"
|
|
121
|
+
* />
|
|
122
|
+
* <Switch
|
|
123
|
+
* key={fieldKey(form, 'onError')}
|
|
124
|
+
* {...inputProps(form, 'onError', { type: 'checkbox' })}
|
|
125
|
+
* label="Errors"
|
|
126
|
+
* />
|
|
118
127
|
* </FormGroup>
|
|
119
128
|
*/
|
|
120
129
|
export declare function FormGroup(props: FormGroupProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-layout.d.ts","sourceRoot":"","sources":["../../src/controls/form-layout.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAGnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAyCxE,gEAAgE;AAChE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;AAExD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GACxC,eAAe,CAAC,eAAe,CAAC,GAChC,sBAAsB,GAAG;IACvB,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAoBlD;AAID,4DAA4D;AAC5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,WAAW,GACpC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAA;IACb,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb
|
|
1
|
+
{"version":3,"file":"form-layout.d.ts","sourceRoot":"","sources":["../../src/controls/form-layout.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAGnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAyCxE,gEAAgE;AAChE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;AAExD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GACxC,eAAe,CAAC,eAAe,CAAC,GAChC,sBAAsB,GAAG;IACvB,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAoBlD;AAID,4DAA4D;AAC5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,WAAW,GACpC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAA;IACb,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,oGAAoG;IACpG,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4FAA4F;IAC5F,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,+BA0B1C;AAID,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IACzC,qGAAqG;IACrG,KAAK,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC5B,+CAA+C;IAC/C,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAsB9C;AAID,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC3C;;;;;;;;OAQG;IACH,OAAO,EAAE,WAAW,CAAA;CACrB,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAgBlD"}
|