basalt-ui 2.28.0 → 3.0.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 +67 -108
- package/CHANGELOG.md +502 -401
- package/MIGRATING.md +1634 -6379
- package/README.md +373 -505
- package/agent/reviewer/basalt-design-reviewer.md +33 -0
- package/agent/reviewer/basalt-site-reviewer.md +27 -0
- package/agent/reviewer/rubric-site.md +98 -0
- package/agent/reviewer/rubric.md +140 -0
- package/agent/rules/basalt-charts.md +25 -23
- package/agent/rules/basalt-page.md +60 -0
- package/agent/rules/basalt-site.md +35 -0
- package/agent/rules/basalt-state.md +37 -30
- package/agent/rules/basalt-tokens.md +25 -37
- package/agent/rules/basalt-ui.md +45 -0
- package/agent/skills/basalt-app/SKILL.md +59 -274
- package/agent/skills/basalt-app/references/live.md +112 -0
- package/agent/skills/basalt-app/references/migrate.md +111 -0
- package/agent/skills/basalt-app/references/performance.md +69 -0
- package/agent/skills/basalt-app/references/recipes.md +50 -0
- package/agent/skills/basalt-app/references/setup.md +101 -0
- package/agent/skills/basalt-app/references/testing.md +35 -0
- package/agent/skills/basalt-charts/SKILL.md +18 -32
- package/agent/skills/basalt-charts/references/advanced.md +43 -0
- package/agent/skills/basalt-charts/references/custom-marks.md +80 -0
- package/agent/skills/basalt-charts/references/linked-parts.md +83 -0
- package/agent/skills/basalt-design/SKILL.md +46 -19
- package/agent/skills/basalt-design/references/ai.md +64 -0
- package/agent/skills/basalt-design/references/anti-defaults.md +54 -18
- package/agent/skills/basalt-design/references/cards.md +73 -0
- package/agent/skills/basalt-design/references/chart-color.md +30 -0
- package/agent/skills/basalt-design/references/chart-form.md +43 -0
- package/agent/skills/basalt-design/references/chart-honest.md +35 -0
- package/agent/skills/basalt-design/references/chart-labels.md +32 -0
- package/agent/skills/basalt-design/references/chart-view.md +40 -0
- package/agent/skills/basalt-design/references/charts.md +15 -0
- package/agent/skills/basalt-design/references/concept.md +55 -27
- package/agent/skills/basalt-design/references/controls.md +28 -0
- package/agent/skills/basalt-design/references/copy.md +65 -0
- package/agent/skills/basalt-design/references/encoding.md +87 -0
- package/agent/skills/basalt-design/references/forms.md +70 -0
- package/agent/skills/basalt-design/references/gaps.md +54 -0
- package/agent/skills/basalt-design/references/ladder.md +60 -0
- package/agent/skills/basalt-design/references/motion.md +73 -0
- package/agent/skills/basalt-design/references/parts.md +199 -0
- package/agent/skills/basalt-design/references/phone.md +53 -0
- package/agent/skills/basalt-design/references/state.md +40 -0
- package/agent/skills/basalt-design/references/states.md +30 -27
- package/agent/skills/basalt-design/references/table.md +141 -0
- package/agent/skills/basalt-site/SKILL.md +43 -0
- package/agent/skills/basalt-site/references/content.md +37 -0
- package/agent/templates/AGENTS-block.md.tpl +18 -21
- package/agent/templates/AGENTS-block.site.md.tpl +28 -0
- package/agent/templates/AGENTS-block.tokens.md.tpl +15 -0
- package/agent/templates/DESIGN.md.tpl +22 -31
- package/agent/templates/__root.start.tpl +64 -0
- package/agent/templates/__root.tpl +9 -18
- package/agent/templates/_app-error.i18n.tpl +69 -0
- package/agent/templates/_app-error.tpl +67 -0
- package/agent/templates/_app-index.i18n.tpl +27 -0
- package/agent/templates/_app-index.tpl +24 -0
- package/agent/templates/_app-missing.i18n.tpl +35 -0
- package/agent/templates/_app-missing.tpl +32 -0
- package/agent/templates/_app-pending.i18n.tpl +17 -0
- package/agent/templates/_app-pending.tpl +15 -0
- package/agent/templates/_app.tpl +23 -0
- package/agent/templates/basalt.tokens.ts.tpl +15 -0
- package/agent/templates/e2e-app.spec.ts.tpl +11 -0
- package/agent/templates/hook-opencode.js.tpl +42 -0
- package/agent/templates/hook-pi.js.tpl +45 -0
- package/agent/templates/hook-run.js.tpl +52 -0
- package/agent/templates/hook.mjs.tpl +45 -0
- package/agent/templates/i18n.ts.tpl +78 -0
- package/agent/templates/lingui.config.ts.tpl +18 -0
- package/agent/templates/localized-provider.tsx.tpl +42 -0
- package/agent/templates/main.i18n.tpl +59 -0
- package/agent/templates/main.tpl +42 -9
- package/agent/templates/nav.i18n.tpl +23 -0
- package/agent/templates/nav.tpl +12 -10
- package/agent/templates/playwright.config.ts.tpl +16 -0
- package/agent/templates/po.d.ts.tpl +4 -0
- package/agent/templates/router.start.tpl +44 -0
- package/agent/templates/seed-messages.json +104 -0
- package/agent/templates/site-index.astro.tpl +11 -0
- package/agent/templates/site-layout.astro.tpl +28 -0
- package/bin/basalt-ui.mjs +7 -3
- package/blocks/assistant/Assistant.tsx +168 -0
- package/blocks/assistant/block.json +23 -0
- package/blocks/assistant/model.ts +15 -0
- package/blocks/assistant/words.ts +18 -0
- package/blocks/create-flow/NewOrderDialog.tsx +300 -0
- package/blocks/create-flow/block.json +31 -0
- package/blocks/create-flow/model.ts +18 -0
- package/blocks/create-flow/words.ts +77 -0
- package/blocks/list-page/ListPage.tsx +318 -0
- package/blocks/list-page/PartRecord.tsx +142 -0
- package/blocks/list-page/block.json +31 -0
- package/blocks/list-page/model.ts +49 -0
- package/blocks/list-page/words.ts +85 -0
- package/blocks/mailbox/Mailbox.tsx +714 -0
- package/blocks/mailbox/block.json +34 -0
- package/blocks/mailbox/model.ts +39 -0
- package/blocks/mailbox/words.ts +60 -0
- package/blocks/notes-list/NotesList.tsx +176 -0
- package/blocks/notes-list/block.json +23 -0
- package/blocks/notes-list/model.ts +16 -0
- package/blocks/notes-list/words.ts +38 -0
- package/blocks/record-page/RecordPage.tsx +575 -0
- package/blocks/record-page/block.json +31 -0
- package/blocks/record-page/model.ts +84 -0
- package/blocks/record-page/words.ts +106 -0
- package/blocks/settings-page/SettingsPage.tsx +372 -0
- package/blocks/settings-page/block.json +31 -0
- package/blocks/settings-page/model.ts +11 -0
- package/blocks/settings-page/words.ts +115 -0
- package/configs/check.yml +2 -4
- package/configs/lefthook.yml +6 -49
- package/configs/oxfmt-tailwind.json +11 -0
- package/configs/oxlint-app.json +795 -0
- package/configs/oxlint-bridge.json +308 -0
- package/configs/oxlint-parts.json +800 -0
- package/configs/oxlint-site.json +351 -0
- package/configs/stylelint.basalt.json +154 -0
- package/dist/ai/caret.d.ts +7 -0
- package/dist/ai/caret.d.ts.map +1 -0
- package/dist/ai/caret.js +47 -0
- package/dist/ai/catalog/block.d.ts +4 -0
- package/dist/ai/catalog/block.d.ts.map +1 -0
- package/dist/ai/catalog/block.js +87 -0
- package/dist/ai/catalog/define.d.ts +53 -0
- package/dist/ai/catalog/define.d.ts.map +1 -0
- package/dist/ai/catalog/define.js +36 -0
- package/dist/ai/catalog/validate.d.ts +24 -0
- package/dist/ai/catalog/validate.d.ts.map +1 -0
- package/dist/ai/catalog/validate.js +95 -0
- package/dist/ai/composer.d.ts +74 -0
- package/dist/ai/composer.d.ts.map +1 -0
- package/dist/ai/composer.js +423 -0
- package/dist/ai/contract.d.ts +162 -0
- package/dist/ai/contract.d.ts.map +1 -0
- package/dist/ai/glyphs.d.ts +19 -0
- package/dist/ai/glyphs.d.ts.map +1 -0
- package/dist/ai/glyphs.js +44 -0
- package/dist/ai/index.d.ts +23 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +16 -0
- package/dist/ai/mention-text.d.ts +49 -0
- package/dist/ai/mention-text.d.ts.map +1 -0
- package/dist/ai/mention-text.js +57 -0
- package/dist/ai/message.d.ts +69 -0
- package/dist/ai/message.d.ts.map +1 -0
- package/dist/ai/message.js +119 -0
- package/dist/ai/model-picker.d.ts +42 -0
- package/dist/ai/model-picker.d.ts.map +1 -0
- package/dist/ai/model-picker.js +98 -0
- package/dist/ai/part-view.d.ts +18 -0
- package/dist/ai/part-view.d.ts.map +1 -0
- package/dist/ai/part-view.js +87 -0
- package/dist/ai/reasoning-trace.d.ts +34 -0
- package/dist/ai/reasoning-trace.d.ts.map +1 -0
- package/dist/ai/reasoning-trace.js +138 -0
- package/dist/ai/tool-view.d.ts +30 -0
- package/dist/ai/tool-view.d.ts.map +1 -0
- package/dist/ai/tool-view.js +29 -0
- package/dist/astro/BasaltFonts.astro +32 -0
- package/dist/astro/SiteHead.astro +21 -0
- package/dist/astro/build.d.ts +17 -0
- package/dist/astro/build.d.ts.map +1 -0
- package/dist/astro/build.js +69 -0
- package/dist/astro/fonts.d.ts +22 -0
- package/dist/astro/fonts.d.ts.map +1 -0
- package/dist/astro/fonts.js +23 -0
- package/dist/astro/head.d.ts +78 -0
- package/dist/astro/head.d.ts.map +1 -0
- package/dist/astro/head.js +84 -0
- package/dist/astro/index.d.ts +76 -0
- package/dist/astro/index.d.ts.map +1 -0
- package/dist/astro/index.js +111 -0
- package/dist/astro/islands.d.ts +22 -0
- package/dist/astro/islands.d.ts.map +1 -0
- package/dist/astro/islands.js +63 -0
- package/dist/astro/mdx/Chart.astro +25 -0
- package/dist/astro/mdx/DataTable.astro +27 -0
- package/dist/astro/mdx/chart-island.d.ts +60 -0
- package/dist/astro/mdx/chart-island.d.ts.map +1 -0
- package/dist/astro/mdx/chart-island.js +94 -0
- package/dist/astro/mdx/messages.d.ts +9 -0
- package/dist/astro/mdx/messages.d.ts.map +1 -0
- package/dist/astro/mdx/table-island.d.ts +27 -0
- package/dist/astro/mdx/table-island.d.ts.map +1 -0
- package/dist/astro/mdx/table-island.js +45 -0
- package/dist/astro/notes.d.ts +30 -0
- package/dist/astro/notes.d.ts.map +1 -0
- package/dist/astro/notes.js +147 -0
- package/dist/astro/parts.d.ts +24 -0
- package/dist/astro/parts.d.ts.map +1 -0
- package/dist/astro/parts.js +492 -0
- package/dist/astro/shiki.d.ts +28 -0
- package/dist/astro/shiki.d.ts.map +1 -0
- package/dist/astro/shiki.js +8 -0
- package/dist/astro/sources.d.ts +18 -0
- package/dist/astro/sources.d.ts.map +1 -0
- package/dist/astro/sources.js +72 -0
- package/dist/cards/bar-list-scroll.d.ts +29 -0
- package/dist/cards/bar-list-scroll.d.ts.map +1 -0
- package/dist/cards/bar-list-scroll.js +53 -0
- package/dist/cards/bar-list.d.ts +107 -0
- package/dist/cards/bar-list.d.ts.map +1 -0
- package/dist/cards/bar-list.js +269 -0
- package/dist/cards/board.d.ts +80 -0
- package/dist/cards/board.d.ts.map +1 -0
- package/dist/cards/board.js +314 -0
- package/dist/cards/chain-layout.d.ts +59 -0
- package/dist/cards/chain-layout.d.ts.map +1 -0
- package/dist/cards/chain-layout.js +211 -0
- package/dist/cards/chain-view.d.ts +73 -0
- package/dist/cards/chain-view.d.ts.map +1 -0
- package/dist/cards/chain-view.js +481 -0
- package/dist/cards/contract.d.ts +180 -0
- package/dist/cards/contract.d.ts.map +1 -0
- package/dist/cards/data-panel.d.ts +54 -0
- package/dist/cards/data-panel.d.ts.map +1 -0
- package/dist/cards/data-panel.js +351 -0
- package/dist/cards/edge-path.d.ts +38 -0
- package/dist/cards/edge-path.d.ts.map +1 -0
- package/dist/cards/edge-path.js +36 -0
- package/dist/cards/event-list-model.d.ts +67 -0
- package/dist/cards/event-list-model.d.ts.map +1 -0
- package/dist/cards/event-list-model.js +98 -0
- package/dist/cards/event-list.d.ts +84 -0
- package/dist/cards/event-list.d.ts.map +1 -0
- package/dist/cards/event-list.js +358 -0
- package/dist/cards/flow-canvas.d.ts +54 -0
- package/dist/cards/flow-canvas.d.ts.map +1 -0
- package/dist/cards/flow-canvas.js +668 -0
- package/dist/cards/flow-checklist.d.ts +25 -0
- package/dist/cards/flow-checklist.d.ts.map +1 -0
- package/dist/cards/flow-checklist.js +67 -0
- package/dist/cards/flow.d.ts +93 -0
- package/dist/cards/flow.d.ts.map +1 -0
- package/dist/cards/flow.js +45 -0
- package/dist/cards/frame-kit.d.ts +67 -0
- package/dist/cards/frame-kit.d.ts.map +1 -0
- package/dist/cards/frame-kit.js +60 -0
- package/dist/cards/frame-types.type-guard.d.ts +17 -0
- package/dist/cards/frame-types.type-guard.d.ts.map +1 -0
- package/dist/cards/frame-types.type-guard.js +29 -0
- package/dist/cards/index.d.ts +41 -0
- package/dist/cards/index.d.ts.map +1 -0
- package/dist/cards/index.js +49 -0
- package/dist/cards/kanban-actions.d.ts +17 -0
- package/dist/cards/kanban-actions.d.ts.map +1 -0
- package/dist/cards/kanban-actions.js +26 -0
- package/dist/cards/kanban-card.d.ts +34 -0
- package/dist/cards/kanban-card.d.ts.map +1 -0
- package/dist/cards/kanban-card.js +264 -0
- package/dist/cards/list-focus.d.ts +76 -0
- package/dist/cards/list-focus.d.ts.map +1 -0
- package/dist/cards/list-focus.js +212 -0
- package/dist/cards/mail-list.d.ts +104 -0
- package/dist/cards/mail-list.d.ts.map +1 -0
- package/dist/cards/mail-list.js +436 -0
- package/dist/cards/mail-thread.d.ts +56 -0
- package/dist/cards/mail-thread.d.ts.map +1 -0
- package/dist/cards/mail-thread.js +142 -0
- package/dist/cards/period-label.d.ts +8 -0
- package/dist/cards/period-label.d.ts.map +1 -0
- package/dist/cards/period-label.js +27 -0
- package/dist/cards/relationship-card.d.ts +67 -0
- package/dist/cards/relationship-card.d.ts.map +1 -0
- package/dist/cards/relationship-card.js +82 -0
- package/dist/cards/row-list.d.ts +98 -0
- package/dist/cards/row-list.d.ts.map +1 -0
- package/dist/cards/row-list.js +190 -0
- package/dist/cards/schedule-model.d.ts +81 -0
- package/dist/cards/schedule-model.d.ts.map +1 -0
- package/dist/cards/schedule-model.js +80 -0
- package/dist/cards/schedule.d.ts +106 -0
- package/dist/cards/schedule.d.ts.map +1 -0
- package/dist/cards/schedule.js +925 -0
- package/dist/cards/stat-card-parts.d.ts +18 -0
- package/dist/cards/stat-card-parts.d.ts.map +1 -0
- package/dist/cards/stat-card-parts.js +56 -0
- package/dist/cards/stat-card.d.ts +37 -0
- package/dist/cards/stat-card.d.ts.map +1 -0
- package/dist/cards/stat-card.js +234 -0
- package/dist/cards/stat-cell.d.ts +56 -0
- package/dist/cards/stat-cell.d.ts.map +1 -0
- package/dist/cards/stat-cell.js +410 -0
- package/dist/cards/stat-group-shared.d.ts +21 -0
- package/dist/cards/stat-group-shared.d.ts.map +1 -0
- package/dist/cards/stat-group-shared.js +26 -0
- package/dist/cards/stat-group.d.ts +44 -0
- package/dist/cards/stat-group.d.ts.map +1 -0
- package/dist/cards/stat-group.js +183 -0
- package/dist/cards/step-rail.d.ts +45 -0
- package/dist/cards/step-rail.d.ts.map +1 -0
- package/dist/cards/step-rail.js +125 -0
- package/dist/cards/viewport.d.ts +66 -0
- package/dist/cards/viewport.d.ts.map +1 -0
- package/dist/cards/viewport.js +219 -0
- package/dist/charts/axis-gaps.d.ts +170 -0
- package/dist/charts/axis-gaps.d.ts.map +1 -0
- package/dist/charts/axis-gaps.js +310 -0
- package/dist/charts/box.d.ts +8 -2
- package/dist/charts/box.d.ts.map +1 -1
- package/dist/charts/box.js +28 -8
- package/dist/charts/canvas.d.ts +45 -0
- package/dist/charts/canvas.d.ts.map +1 -0
- package/dist/charts/canvas.js +103 -0
- package/dist/charts/card-context.d.ts +6 -0
- package/dist/charts/card-context.d.ts.map +1 -1
- package/dist/charts/card-context.js +5 -0
- package/dist/charts/chart-box.module.css +205 -42
- package/dist/charts/chart-box.module.css.d.ts +2 -0
- package/dist/charts/chart-dates.d.ts +8 -6
- package/dist/charts/chart-dates.d.ts.map +1 -1
- package/dist/charts/chart-dates.js +21 -6
- package/dist/charts/chart-labels-widths.gen.d.ts +22 -0
- package/dist/charts/chart-labels-widths.gen.d.ts.map +1 -0
- package/dist/charts/chart-labels-widths.gen.js +879 -0
- package/dist/charts/chart-labels.d.ts +173 -0
- package/dist/charts/chart-labels.d.ts.map +1 -0
- package/dist/charts/chart-labels.js +93 -0
- package/dist/charts/chart-legend.module.css +50 -5
- package/dist/charts/chart-legend.module.css.d.ts +1 -0
- package/dist/charts/contract.d.ts +647 -0
- package/dist/charts/contract.d.ts.map +1 -0
- package/dist/charts/core/axis-ext.d.ts +86 -0
- package/dist/charts/core/axis-ext.d.ts.map +1 -0
- package/dist/charts/core/axis-ext.js +369 -0
- package/dist/charts/core/bar-values.d.ts +44 -0
- package/dist/charts/core/bar-values.d.ts.map +1 -0
- package/dist/charts/core/bar-values.js +682 -0
- package/dist/charts/core/compile.d.ts +258 -0
- package/dist/charts/core/compile.d.ts.map +1 -0
- package/dist/charts/core/compile.js +2234 -0
- package/dist/charts/core/cursor.d.ts +107 -0
- package/dist/charts/core/cursor.d.ts.map +1 -0
- package/dist/charts/core/cursor.js +249 -0
- package/dist/charts/core/curves.d.ts +12 -0
- package/dist/charts/core/curves.d.ts.map +1 -0
- package/dist/charts/core/curves.js +86 -0
- package/dist/charts/core/label-backing.d.ts +29 -0
- package/dist/charts/core/label-backing.d.ts.map +1 -0
- package/dist/charts/core/label-backing.js +40 -0
- package/dist/charts/core/label-ties.d.ts +16 -0
- package/dist/charts/core/label-ties.d.ts.map +1 -0
- package/dist/charts/core/label-ties.js +62 -0
- package/dist/charts/core/plot-context.d.ts +24 -0
- package/dist/charts/core/plot-context.d.ts.map +1 -0
- package/dist/charts/core/plot-context.js +55 -0
- package/dist/charts/core/portal.d.ts +7 -0
- package/dist/charts/core/portal.d.ts.map +1 -0
- package/dist/charts/core/portal.js +124 -0
- package/dist/charts/core/probe/bar.d.ts +2 -0
- package/dist/charts/core/probe/bar.d.ts.map +1 -0
- package/dist/charts/core/probe/bar.js +23 -0
- package/dist/charts/core/probe/base0.d.ts +2 -0
- package/dist/charts/core/probe/base0.d.ts.map +1 -0
- package/dist/charts/core/probe/base0.js +4 -0
- package/dist/charts/core/probe/line.d.ts +2 -0
- package/dist/charts/core/probe/line.d.ts.map +1 -0
- package/dist/charts/core/probe/line.js +19 -0
- package/dist/charts/core/probe/sparkline.d.ts +2 -0
- package/dist/charts/core/probe/sparkline.d.ts.map +1 -0
- package/dist/charts/core/probe/sparkline.js +52 -0
- package/dist/charts/core/readout-clear.d.ts +106 -0
- package/dist/charts/core/readout-clear.d.ts.map +1 -0
- package/dist/charts/core/readout-clear.js +87 -0
- package/dist/charts/core/rich-tooltip.d.ts +56 -0
- package/dist/charts/core/rich-tooltip.d.ts.map +1 -0
- package/dist/charts/core/rich-tooltip.js +71 -0
- package/dist/charts/core/right-pin.d.ts +17 -0
- package/dist/charts/core/right-pin.d.ts.map +1 -0
- package/dist/charts/core/right-pin.js +52 -0
- package/dist/charts/core/scales.d.ts +91 -0
- package/dist/charts/core/scales.d.ts.map +1 -0
- package/dist/charts/core/scales.js +326 -0
- package/dist/charts/core/spread.d.ts +37 -0
- package/dist/charts/core/spread.d.ts.map +1 -0
- package/dist/charts/core/spread.js +98 -0
- package/dist/charts/core/theme.d.ts +88 -0
- package/dist/charts/core/theme.d.ts.map +1 -0
- package/dist/charts/core/theme.js +85 -0
- package/dist/charts/core/ticks.d.ts.map +1 -0
- package/dist/charts/core/ticks.js +42 -0
- package/dist/charts/csv.d.ts +6 -0
- package/dist/charts/csv.d.ts.map +1 -0
- package/dist/charts/csv.js +27 -0
- package/dist/charts/date-tick-format.d.ts +3 -3
- package/dist/charts/date-tick-format.d.ts.map +1 -1
- package/dist/charts/date-tick-format.js +21 -16
- package/dist/charts/engine-marks.d.ts +77 -0
- package/dist/charts/engine-marks.d.ts.map +1 -0
- package/dist/charts/engine-marks.js +20 -0
- package/dist/charts/focus.d.ts +96 -0
- package/dist/charts/focus.d.ts.map +1 -0
- package/dist/charts/focus.js +115 -0
- package/dist/charts/host.d.ts +7 -3
- package/dist/charts/host.d.ts.map +1 -1
- package/dist/charts/host.js +40 -24
- package/dist/charts/index.d.ts +23 -20
- package/dist/charts/index.d.ts.map +1 -1
- package/dist/charts/index.js +36 -21
- package/dist/charts/label-obstacles.d.ts +91 -0
- package/dist/charts/label-obstacles.d.ts.map +1 -0
- package/dist/charts/label-obstacles.js +142 -0
- package/dist/charts/label-place.d.ts +47 -0
- package/dist/charts/label-place.d.ts.map +1 -0
- package/dist/charts/label-place.js +209 -0
- package/dist/charts/label-widths.d.ts +10 -0
- package/dist/charts/label-widths.d.ts.map +1 -0
- package/dist/charts/label-widths.js +14 -0
- package/dist/charts/labels.d.ts +75 -2
- package/dist/charts/labels.d.ts.map +1 -1
- package/dist/charts/labels.js +220 -14
- package/dist/charts/legend.d.ts +25 -4
- package/dist/charts/legend.d.ts.map +1 -1
- package/dist/charts/legend.js +175 -39
- package/dist/charts/marks.d.ts +71 -2
- package/dist/charts/marks.d.ts.map +1 -1
- package/dist/charts/marks.js +123 -12
- package/dist/charts/pane-gutter.d.ts +8 -0
- package/dist/charts/pane-gutter.d.ts.map +1 -0
- package/dist/charts/pane-gutter.js +5 -0
- package/dist/charts/parts/band-fold.d.ts +65 -0
- package/dist/charts/parts/band-fold.d.ts.map +1 -0
- package/dist/charts/parts/band-fold.js +46 -0
- package/dist/charts/parts/band-strip.d.ts +95 -0
- package/dist/charts/parts/band-strip.d.ts.map +1 -0
- package/dist/charts/parts/band-strip.js +434 -0
- package/dist/charts/parts/bars-marks.d.ts +41 -0
- package/dist/charts/parts/bars-marks.d.ts.map +1 -0
- package/dist/charts/parts/bars-marks.js +225 -0
- package/dist/charts/parts/bars.d.ts +39 -0
- package/dist/charts/parts/bars.d.ts.map +1 -0
- package/dist/charts/parts/bars.js +8 -0
- package/dist/charts/parts/cartesian-adapt.d.ts +82 -0
- package/dist/charts/parts/cartesian-adapt.d.ts.map +1 -0
- package/dist/charts/parts/cartesian-adapt.js +277 -0
- package/dist/charts/parts/cartesian-selection.d.ts +12 -0
- package/dist/charts/parts/cartesian-selection.d.ts.map +1 -0
- package/dist/charts/parts/cartesian-selection.js +17 -0
- package/dist/charts/parts/cartesian.d.ts +54 -0
- package/dist/charts/parts/cartesian.d.ts.map +1 -0
- package/dist/charts/parts/cartesian.js +701 -0
- package/dist/charts/parts/chart-card-frame.d.ts +34 -0
- package/dist/charts/parts/chart-card-frame.d.ts.map +1 -0
- package/dist/charts/parts/chart-card-frame.js +112 -0
- package/dist/charts/parts/chart-card.d.ts +95 -0
- package/dist/charts/parts/chart-card.d.ts.map +1 -0
- package/dist/charts/parts/chart-card.js +350 -0
- package/dist/charts/parts/chart-panes.d.ts +26 -0
- package/dist/charts/parts/chart-panes.d.ts.map +1 -0
- package/dist/charts/parts/chart-panes.js +70 -0
- package/dist/charts/parts/heatmap-fill.d.ts.map +1 -0
- package/dist/charts/parts/heatmap-ink.d.ts +9 -0
- package/dist/charts/parts/heatmap-ink.d.ts.map +1 -0
- package/dist/charts/parts/heatmap-ink.js +19 -0
- package/dist/charts/parts/heatmap.d.ts +156 -0
- package/dist/charts/parts/heatmap.d.ts.map +1 -0
- package/dist/charts/parts/heatmap.js +450 -0
- package/dist/charts/parts/interval-layout.d.ts +45 -0
- package/dist/charts/parts/interval-layout.d.ts.map +1 -0
- package/dist/charts/parts/interval-layout.js +45 -0
- package/dist/charts/parts/interval-track.d.ts +109 -0
- package/dist/charts/parts/interval-track.d.ts.map +1 -0
- package/dist/charts/parts/interval-track.js +543 -0
- package/dist/charts/parts/legend.d.ts +33 -0
- package/dist/charts/parts/legend.d.ts.map +1 -0
- package/dist/charts/parts/legend.js +62 -0
- package/dist/charts/parts/lines-marks.d.ts +32 -0
- package/dist/charts/parts/lines-marks.d.ts.map +1 -0
- package/dist/charts/parts/lines-marks.js +175 -0
- package/dist/charts/parts/lines.d.ts +35 -0
- package/dist/charts/parts/lines.d.ts.map +1 -0
- package/dist/charts/parts/lines.js +8 -0
- package/dist/charts/parts/range-navigator.d.ts +70 -0
- package/dist/charts/parts/range-navigator.d.ts.map +1 -0
- package/dist/charts/parts/range-navigator.js +128 -0
- package/dist/charts/parts/range-navigator.module.css +50 -0
- package/dist/charts/parts/range-navigator.module.css.d.ts +9 -0
- package/dist/charts/parts/sparkline-probe/both.d.ts +2 -0
- package/dist/charts/parts/sparkline-probe/both.d.ts.map +1 -0
- package/dist/charts/parts/sparkline-probe/both.js +31 -0
- package/dist/charts/parts/sparkline-probe/mini-bars.d.ts +2 -0
- package/dist/charts/parts/sparkline-probe/mini-bars.d.ts.map +1 -0
- package/dist/charts/parts/sparkline-probe/mini-bars.js +17 -0
- package/dist/charts/parts/sparkline-probe/sparkline.d.ts +2 -0
- package/dist/charts/parts/sparkline-probe/sparkline.d.ts.map +1 -0
- package/dist/charts/parts/sparkline-probe/sparkline.js +19 -0
- package/dist/charts/parts/tooltip.d.ts +41 -0
- package/dist/charts/parts/tooltip.d.ts.map +1 -0
- package/dist/charts/parts/tooltip.js +42 -0
- package/dist/charts/parts/waterfall.d.ts +64 -0
- package/dist/charts/parts/waterfall.d.ts.map +1 -0
- package/dist/charts/parts/waterfall.js +112 -0
- package/dist/charts/plot-context.d.ts +4 -1
- package/dist/charts/plot-context.d.ts.map +1 -1
- package/dist/charts/plot-context.js +1 -1
- package/dist/charts/ref-label.d.ts +47 -4
- package/dist/charts/ref-label.d.ts.map +1 -1
- package/dist/charts/ref-label.js +113 -21
- package/dist/charts/seams/bar-opacity.d.ts +6 -0
- package/dist/charts/seams/bar-opacity.d.ts.map +1 -0
- package/dist/charts/seams/bar-opacity.js +8 -0
- package/dist/charts/seams/define.d.ts +51 -0
- package/dist/charts/seams/define.d.ts.map +1 -0
- package/dist/charts/seams/define.js +25 -0
- package/dist/charts/seams/lone-point.d.ts +3 -0
- package/dist/charts/seams/lone-point.d.ts.map +1 -0
- package/dist/charts/seams/lone-point.js +8 -0
- package/dist/charts/seams/pixel-extent.d.ts +23 -0
- package/dist/charts/seams/pixel-extent.d.ts.map +1 -0
- package/dist/charts/seams/pixel-extent.js +23 -0
- package/dist/charts/seams/plot-data.d.ts +3 -0
- package/dist/charts/seams/plot-data.d.ts.map +1 -0
- package/dist/charts/seams/plot-data.js +8 -0
- package/dist/charts/seams/plot-px.d.ts +11 -0
- package/dist/charts/seams/plot-px.d.ts.map +1 -0
- package/dist/charts/seams/plot-px.js +17 -0
- package/dist/charts/seams/plot-scales.d.ts +29 -0
- package/dist/charts/seams/plot-scales.d.ts.map +1 -0
- package/dist/charts/seams/plot-scales.js +33 -0
- package/dist/charts/seams/series-axis.d.ts +3 -0
- package/dist/charts/seams/series-axis.d.ts.map +1 -0
- package/dist/charts/seams/series-axis.js +8 -0
- package/dist/charts/seams/series-dash.d.ts +3 -0
- package/dist/charts/seams/series-dash.d.ts.map +1 -0
- package/dist/charts/seams/series-dash.js +8 -0
- package/dist/charts/seams/series-format.d.ts +3 -0
- package/dist/charts/seams/series-format.d.ts.map +1 -0
- package/dist/charts/seams/series-format.js +8 -0
- package/dist/charts/seams/series-gaps.d.ts +3 -0
- package/dist/charts/seams/series-gaps.d.ts.map +1 -0
- package/dist/charts/seams/series-gaps.js +8 -0
- package/dist/charts/seams/series-legend-tooltip.d.ts +3 -0
- package/dist/charts/seams/series-legend-tooltip.d.ts.map +1 -0
- package/dist/charts/seams/series-legend-tooltip.js +8 -0
- package/dist/charts/seams/series-marker.d.ts +3 -0
- package/dist/charts/seams/series-marker.d.ts.map +1 -0
- package/dist/charts/seams/series-marker.js +8 -0
- package/dist/charts/seams/series-note.d.ts +3 -0
- package/dist/charts/seams/series-note.d.ts.map +1 -0
- package/dist/charts/seams/series-note.js +8 -0
- package/dist/charts/seams/series-parent.d.ts +3 -0
- package/dist/charts/seams/series-parent.d.ts.map +1 -0
- package/dist/charts/seams/series-parent.js +8 -0
- package/dist/charts/seams/series-role.d.ts +3 -0
- package/dist/charts/seams/series-role.d.ts.map +1 -0
- package/dist/charts/seams/series-role.js +8 -0
- package/dist/charts/seams/series-weight.d.ts +3 -0
- package/dist/charts/seams/series-weight.d.ts.map +1 -0
- package/dist/charts/seams/series-weight.js +8 -0
- package/dist/charts/seams/x-domain.d.ts +3 -0
- package/dist/charts/seams/x-domain.d.ts.map +1 -0
- package/dist/charts/seams/x-domain.js +8 -0
- package/dist/charts/seams/y-domain.d.ts +32 -0
- package/dist/charts/seams/y-domain.d.ts.map +1 -0
- package/dist/charts/seams/y-domain.js +93 -0
- package/dist/charts/seams/y-gutter.d.ts +12 -0
- package/dist/charts/seams/y-gutter.d.ts.map +1 -0
- package/dist/charts/seams/y-gutter.js +18 -0
- package/dist/charts/seams.d.ts +18 -0
- package/dist/charts/seams.d.ts.map +1 -0
- package/dist/charts/seams.js +49 -0
- package/dist/charts/sizing.d.ts +11 -0
- package/dist/charts/sizing.d.ts.map +1 -1
- package/dist/charts/sizing.js +6 -2
- package/dist/charts/state.d.ts +2 -2
- package/dist/charts/state.d.ts.map +1 -1
- package/dist/charts/state.js +45 -22
- package/dist/charts/text-measure.d.ts +10 -0
- package/dist/charts/text-measure.d.ts.map +1 -0
- package/dist/charts/text-measure.js +26 -0
- package/dist/charts/tooltip-body.d.ts +16 -0
- package/dist/charts/tooltip-body.d.ts.map +1 -0
- package/dist/charts/tooltip-body.js +59 -0
- package/dist/charts/track.d.ts +101 -0
- package/dist/charts/track.d.ts.map +1 -0
- package/dist/charts/track.js +189 -0
- package/dist/charts/types.d.ts +126 -12
- package/dist/charts/types.d.ts.map +1 -1
- package/dist/cli/add/catalog.d.ts +26 -0
- package/dist/cli/add/catalog.d.ts.map +1 -0
- package/dist/cli/add/catalog.js +70 -0
- package/dist/cli/add/help.d.ts +4 -0
- package/dist/cli/add/help.d.ts.map +1 -0
- package/dist/cli/add/help.js +42 -0
- package/dist/cli/add/index.d.ts +6 -0
- package/dist/cli/add/index.d.ts.map +1 -0
- package/dist/cli/add/index.js +157 -0
- package/dist/cli/agent-note.d.ts +21 -0
- package/dist/cli/agent-note.d.ts.map +1 -0
- package/dist/cli/agent-note.js +107 -0
- package/dist/cli/board-freshness.d.ts +6 -4
- package/dist/cli/board-freshness.d.ts.map +1 -1
- package/dist/cli/board-freshness.js +18 -11
- package/dist/cli/budget/index.d.ts +35 -0
- package/dist/cli/budget/index.d.ts.map +1 -0
- package/dist/cli/budget/index.js +96 -0
- package/dist/cli/config.d.ts +14 -142
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +0 -16
- package/dist/cli/docs/catalog.d.ts +38 -0
- package/dist/cli/docs/catalog.d.ts.map +1 -0
- package/dist/cli/docs/catalog.js +129 -0
- package/dist/cli/docs/index.d.ts +3 -0
- package/dist/cli/docs/index.d.ts.map +1 -0
- package/dist/cli/docs/index.js +56 -0
- package/dist/cli/doctor/app.d.ts +8 -0
- package/dist/cli/doctor/app.d.ts.map +1 -0
- package/dist/cli/doctor/app.js +256 -0
- package/dist/cli/doctor/eject.d.ts +5 -0
- package/dist/cli/doctor/eject.d.ts.map +1 -0
- package/dist/cli/doctor/eject.js +130 -0
- package/dist/cli/doctor/guards.d.ts +3 -0
- package/dist/cli/doctor/guards.d.ts.map +1 -0
- package/dist/cli/doctor/guards.js +111 -0
- package/dist/cli/doctor/hook.d.ts +10 -0
- package/dist/cli/doctor/hook.d.ts.map +1 -0
- package/dist/cli/doctor/hook.js +294 -0
- package/dist/cli/doctor/index.d.ts +8 -0
- package/dist/cli/doctor/index.d.ts.map +1 -0
- package/dist/cli/doctor/index.js +92 -0
- package/dist/cli/doctor/install.d.ts +14 -0
- package/dist/cli/doctor/install.d.ts.map +1 -0
- package/dist/cli/doctor/install.js +266 -0
- package/dist/cli/doctor/legacy.d.ts +3 -0
- package/dist/cli/doctor/legacy.d.ts.map +1 -0
- package/dist/cli/doctor/legacy.js +144 -0
- package/dist/cli/doctor/translations.d.ts +17 -0
- package/dist/cli/doctor/translations.d.ts.map +1 -0
- package/dist/cli/doctor/translations.js +246 -0
- package/dist/cli/doctor/types.d.ts +64 -0
- package/dist/cli/doctor/types.d.ts.map +1 -0
- package/dist/cli/doctor/types.js +110 -0
- package/dist/cli/doctor/wiring.d.ts +10 -0
- package/dist/cli/doctor/wiring.d.ts.map +1 -0
- package/dist/cli/doctor/wiring.js +202 -0
- package/dist/cli/eject/git.d.ts +5 -0
- package/dist/cli/eject/git.d.ts.map +1 -0
- package/dist/cli/eject/git.js +35 -0
- package/dist/cli/eject/help.d.ts +4 -0
- package/dist/cli/eject/help.d.ts.map +1 -0
- package/dist/cli/eject/help.js +57 -0
- package/dist/cli/eject/index.d.ts +6 -0
- package/dist/cli/eject/index.d.ts.map +1 -0
- package/dist/cli/eject/index.js +423 -0
- package/dist/cli/eject/ledger.d.ts +73 -0
- package/dist/cli/eject/ledger.d.ts.map +1 -0
- package/dist/cli/eject/ledger.js +101 -0
- package/dist/cli/eject/tsconfig.d.ts +14 -0
- package/dist/cli/eject/tsconfig.d.ts.map +1 -0
- package/dist/cli/eject/tsconfig.js +207 -0
- package/dist/cli/harness.d.ts +65 -0
- package/dist/cli/harness.d.ts.map +1 -0
- package/dist/cli/harness.js +91 -0
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +52 -16
- package/dist/cli/index.d.ts +24 -387
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +41 -815
- package/dist/cli/init/app-files.d.ts +21 -0
- package/dist/cli/init/app-files.d.ts.map +1 -0
- package/dist/cli/init/app-files.js +99 -0
- package/dist/cli/init/index.d.ts +61 -0
- package/dist/cli/init/index.d.ts.map +1 -0
- package/dist/cli/init/index.js +244 -0
- package/dist/cli/init/locales.d.ts +28 -0
- package/dist/cli/init/locales.d.ts.map +1 -0
- package/dist/cli/init/locales.js +84 -0
- package/dist/cli/init/router-seeds.d.ts +10 -0
- package/dist/cli/init/router-seeds.d.ts.map +1 -0
- package/dist/cli/init/router-seeds.js +201 -0
- package/dist/cli/init/site.d.ts +19 -0
- package/dist/cli/init/site.d.ts.map +1 -0
- package/dist/cli/init/site.js +37 -0
- package/dist/cli/init/steps.d.ts +163 -0
- package/dist/cli/init/steps.d.ts.map +1 -0
- package/dist/cli/init/steps.js +791 -0
- package/dist/cli/init/stock.d.ts +24 -0
- package/dist/cli/init/stock.d.ts.map +1 -0
- package/dist/cli/init/stock.js +50 -0
- package/dist/cli/init/upgrade.d.ts +8 -0
- package/dist/cli/init/upgrade.d.ts.map +1 -0
- package/dist/cli/init/upgrade.js +47 -0
- package/dist/cli/install-root.d.ts +15 -5
- package/dist/cli/install-root.d.ts.map +1 -1
- package/dist/cli/install-root.js +28 -17
- package/dist/cli/legacy-2x-files.d.ts +2 -0
- package/dist/cli/legacy-2x-files.d.ts.map +1 -0
- package/dist/cli/legacy-2x-files.js +25 -0
- package/dist/cli/legacy-2x.d.ts +18 -0
- package/dist/cli/legacy-2x.d.ts.map +1 -0
- package/dist/cli/legacy-2x.js +71 -0
- package/dist/cli/lint/engine.d.ts +51 -0
- package/dist/cli/lint/engine.d.ts.map +1 -0
- package/dist/cli/lint/engine.js +253 -0
- package/dist/cli/lint/hook.d.ts +43 -0
- package/dist/cli/lint/hook.d.ts.map +1 -0
- package/dist/cli/lint/hook.js +222 -0
- package/dist/cli/lint/index.d.ts +22 -0
- package/dist/cli/lint/index.d.ts.map +1 -0
- package/dist/cli/lint/index.js +146 -0
- package/dist/cli/lint/record.d.ts +18 -0
- package/dist/cli/lint/record.d.ts.map +1 -0
- package/dist/cli/lint/record.js +77 -0
- package/dist/cli/lint/seams.d.ts +62 -0
- package/dist/cli/lint/seams.d.ts.map +1 -0
- package/dist/cli/lint/seams.js +351 -0
- package/dist/cli/lint/settings.d.ts +61 -0
- package/dist/cli/lint/settings.d.ts.map +1 -0
- package/dist/cli/lint/settings.js +229 -0
- package/dist/cli/lint/stats.d.ts +36 -0
- package/dist/cli/lint/stats.d.ts.map +1 -0
- package/dist/cli/lint/stats.js +119 -0
- package/dist/cli/lint/template-classes.d.ts +17 -0
- package/dist/cli/lint/template-classes.d.ts.map +1 -0
- package/dist/cli/lint/template-classes.js +91 -0
- package/dist/cli/lint-settings.d.ts +15 -0
- package/dist/cli/lint-settings.d.ts.map +1 -0
- package/dist/cli/lint-settings.js +81 -0
- package/dist/cli/manifest.d.ts +84 -0
- package/dist/cli/manifest.d.ts.map +1 -0
- package/dist/cli/manifest.js +199 -0
- package/dist/cli/merge/formatter.d.ts +12 -0
- package/dist/cli/merge/formatter.d.ts.map +1 -0
- package/dist/cli/merge/formatter.js +44 -0
- package/dist/cli/merge/header.d.ts +20 -0
- package/dist/cli/merge/header.d.ts.map +1 -0
- package/dist/cli/merge/header.js +25 -0
- package/dist/cli/merge/merge-file.d.ts +20 -0
- package/dist/cli/merge/merge-file.d.ts.map +1 -0
- package/dist/cli/merge/merge-file.js +46 -0
- package/dist/cli/merge/seed.d.ts +25 -0
- package/dist/cli/merge/seed.d.ts.map +1 -0
- package/dist/cli/merge/seed.js +72 -0
- package/dist/cli/migrate/census.d.ts +28 -0
- package/dist/cli/migrate/census.d.ts.map +1 -0
- package/dist/cli/migrate/census.js +209 -0
- package/dist/cli/migrate/index.d.ts +75 -0
- package/dist/cli/migrate/index.d.ts.map +1 -0
- package/dist/cli/migrate/index.js +250 -0
- package/dist/cli/migrate/rows.d.ts +120 -0
- package/dist/cli/migrate/rows.d.ts.map +1 -0
- package/dist/cli/migrate/rows.js +207 -0
- package/dist/cli/package-manager.d.ts +11 -0
- package/dist/cli/package-manager.d.ts.map +1 -0
- package/dist/cli/package-manager.js +44 -0
- package/dist/cli/peers.d.ts +21 -0
- package/dist/cli/peers.d.ts.map +1 -0
- package/dist/cli/peers.js +80 -0
- package/dist/cli/presets.d.ts +39 -0
- package/dist/cli/presets.d.ts.map +1 -0
- package/dist/cli/presets.js +118 -0
- package/dist/cli/resolver.d.ts +13 -0
- package/dist/cli/resolver.d.ts.map +1 -0
- package/dist/cli/resolver.js +25 -0
- package/dist/cli/route-tree.d.ts +21 -0
- package/dist/cli/route-tree.d.ts.map +1 -0
- package/dist/cli/route-tree.js +57 -0
- package/dist/cli/router-wiring.d.ts +47 -4
- package/dist/cli/router-wiring.d.ts.map +1 -1
- package/dist/cli/router-wiring.js +46 -4
- package/dist/cli/shot/board.d.ts +4 -2
- package/dist/cli/shot/board.d.ts.map +1 -1
- package/dist/cli/shot/board.js +35 -60
- package/dist/cli/shot/capture.d.ts +65 -86
- package/dist/cli/shot/capture.d.ts.map +1 -1
- package/dist/cli/shot/capture.js +431 -413
- package/dist/cli/shot/detect.d.ts +1 -10
- package/dist/cli/shot/detect.d.ts.map +1 -1
- package/dist/cli/shot/detect.js +269 -243
- package/dist/cli/shot/facts.d.ts +28 -0
- package/dist/cli/shot/facts.d.ts.map +1 -0
- package/dist/cli/shot/facts.js +184 -0
- package/dist/cli/shot/index.d.ts +14 -20
- package/dist/cli/shot/index.d.ts.map +1 -1
- package/dist/cli/shot/index.js +123 -211
- package/dist/cli/shot/measure.d.ts +9 -27
- package/dist/cli/shot/measure.d.ts.map +1 -1
- package/dist/cli/shot/measure.js +140 -98
- package/dist/cli/shot/playwright.d.ts +27 -27
- package/dist/cli/shot/playwright.d.ts.map +1 -1
- package/dist/cli/shot/playwright.js +16 -11
- package/dist/cli/shot/real-data.js +1 -1
- package/dist/cli/shot/serve.d.ts +8 -2
- package/dist/cli/shot/serve.d.ts.map +1 -1
- package/dist/cli/shot/serve.js +92 -21
- package/dist/cli/shot/types.d.ts +89 -28
- package/dist/cli/shot/types.d.ts.map +1 -1
- package/dist/cli/shot/types.js +49 -9
- package/dist/cli/source-text.d.ts +2 -0
- package/dist/cli/source-text.d.ts.map +1 -1
- package/dist/cli/source-text.js +8 -0
- package/dist/cli/sync/block.d.ts +20 -0
- package/dist/cli/sync/block.d.ts.map +1 -0
- package/dist/cli/sync/block.js +51 -0
- package/dist/cli/sync/blocks.d.ts +12 -0
- package/dist/cli/sync/blocks.d.ts.map +1 -0
- package/dist/cli/sync/blocks.js +111 -0
- package/dist/cli/sync/engine.d.ts +37 -0
- package/dist/cli/sync/engine.d.ts.map +1 -0
- package/dist/cli/sync/engine.js +134 -0
- package/dist/cli/sync/formats.d.ts +18 -0
- package/dist/cli/sync/formats.d.ts.map +1 -0
- package/dist/cli/sync/formats.js +64 -0
- package/dist/cli/sync/index.d.ts +17 -0
- package/dist/cli/sync/index.d.ts.map +1 -0
- package/dist/cli/sync/index.js +150 -0
- package/dist/cli/sync/render.d.ts +77 -0
- package/dist/cli/sync/render.d.ts.map +1 -0
- package/dist/cli/sync/render.js +342 -0
- package/dist/cli/sync/sibling.d.ts +28 -0
- package/dist/cli/sync/sibling.d.ts.map +1 -0
- package/dist/cli/sync/sibling.js +41 -0
- package/dist/cli/sync/three-way.d.ts +45 -0
- package/dist/cli/sync/three-way.d.ts.map +1 -0
- package/dist/cli/sync/three-way.js +165 -0
- package/dist/cli/tokens-css-extra.d.ts +26 -0
- package/dist/cli/tokens-css-extra.d.ts.map +1 -0
- package/dist/cli/tokens-css-extra.js +149 -0
- package/dist/cli/tokens-css.d.ts +33 -15
- package/dist/cli/tokens-css.d.ts.map +1 -1
- package/dist/cli/tokens-css.js +178 -75
- package/dist/common/basalt-families.d.ts +6 -0
- package/dist/common/basalt-families.d.ts.map +1 -0
- package/dist/common/basalt-families.js +65 -0
- package/dist/common/basalt-family.d.ts +10 -0
- package/dist/common/basalt-family.d.ts.map +1 -0
- package/dist/common/basalt-family.js +12 -0
- package/dist/common/errors.d.ts +2 -2
- package/dist/common/errors.js +5 -5
- package/dist/common/focus.d.ts +24 -0
- package/dist/common/focus.d.ts.map +1 -0
- package/dist/common/focus.js +47 -0
- package/dist/common/hit-floor.d.ts +1 -1
- package/dist/common/isomorphic-layout-effect.d.ts +3 -3
- package/dist/common/isomorphic-layout-effect.d.ts.map +1 -1
- package/dist/common/nest.d.ts +7 -0
- package/dist/common/nest.d.ts.map +1 -0
- package/dist/common/nest.js +25 -0
- package/dist/common/props.d.ts +25 -28
- package/dist/common/props.d.ts.map +1 -1
- package/dist/common/props.js +13 -1
- package/dist/common/retry-button.d.ts +4 -2
- package/dist/common/retry-button.d.ts.map +1 -1
- package/dist/common/retry-button.js +3 -2
- package/dist/common/retry-button.module.css +26 -21
- package/dist/common/use-media-query.d.ts +1 -1
- package/dist/common/use-media-query.d.ts.map +1 -1
- package/dist/common/validate.d.ts +1 -1
- package/dist/content/code-block.d.ts +16 -20
- package/dist/content/code-block.d.ts.map +1 -1
- package/dist/content/code-block.js +76 -76
- package/dist/content/contract.d.ts +42 -0
- package/dist/content/contract.d.ts.map +1 -0
- package/dist/content/fence-trust.d.ts +8 -0
- package/dist/content/fence-trust.d.ts.map +1 -0
- package/dist/content/fence-trust.js +5 -0
- package/dist/content/fences.d.ts +42 -0
- package/dist/content/fences.d.ts.map +1 -0
- package/dist/content/fences.js +73 -0
- package/dist/content/headings.d.ts +15 -0
- package/dist/content/headings.d.ts.map +1 -0
- package/dist/content/headings.js +58 -0
- package/dist/content/highlighter.d.ts +20 -1
- package/dist/content/highlighter.d.ts.map +1 -1
- package/dist/content/highlighter.js +57 -6
- package/dist/content/index.d.ts +10 -17
- package/dist/content/index.d.ts.map +1 -1
- package/dist/content/index.js +4 -15
- package/dist/content/markdown.d.ts +25 -152
- package/dist/content/markdown.d.ts.map +1 -1
- package/dist/content/markdown.js +77 -270
- package/dist/content/mermaid.d.ts +9 -32
- package/dist/content/mermaid.d.ts.map +1 -1
- package/dist/content/mermaid.js +73 -51
- package/dist/content/pele-peer.d.ts +10 -0
- package/dist/content/pele-peer.d.ts.map +1 -0
- package/dist/content/pele-peer.js +19 -0
- package/dist/content/sanitize.d.ts +18 -167
- package/dist/content/sanitize.d.ts.map +1 -1
- package/dist/content/sanitize.js +39 -170
- package/dist/controls/appearance-switcher.d.ts +49 -0
- package/dist/controls/appearance-switcher.d.ts.map +1 -0
- package/dist/controls/appearance-switcher.js +176 -0
- package/dist/controls/contract.d.ts +153 -0
- package/dist/controls/contract.d.ts.map +1 -0
- package/dist/controls/control-home.d.ts +41 -0
- package/dist/controls/control-home.d.ts.map +1 -0
- package/dist/controls/control-home.js +72 -0
- package/dist/controls/control-kind.d.ts +26 -0
- package/dist/controls/control-kind.d.ts.map +1 -0
- package/dist/controls/control-kind.js +6 -0
- package/dist/controls/control-view.d.ts +25 -0
- package/dist/controls/control-view.d.ts.map +1 -0
- package/dist/controls/control-view.handles.d.ts +40 -0
- package/dist/controls/control-view.handles.d.ts.map +1 -0
- package/dist/controls/control-view.handles.js +95 -0
- package/dist/controls/control-view.js +116 -0
- package/dist/controls/draft.d.ts +23 -0
- package/dist/controls/draft.d.ts.map +1 -0
- package/dist/controls/draft.js +94 -0
- package/dist/controls/facets.d.ts +26 -0
- package/dist/controls/facets.d.ts.map +1 -0
- package/dist/controls/facets.js +13 -0
- package/dist/controls/filter-set-census.d.ts +34 -0
- package/dist/controls/filter-set-census.d.ts.map +1 -0
- package/dist/controls/filter-set-census.js +62 -0
- package/dist/controls/filter-set-fold.d.ts +13 -0
- package/dist/controls/filter-set-fold.d.ts.map +1 -0
- package/dist/controls/filter-set-fold.js +59 -0
- package/dist/controls/filter-set-menu.d.ts +30 -0
- package/dist/controls/filter-set-menu.d.ts.map +1 -0
- package/dist/controls/filter-set-menu.js +201 -0
- package/dist/controls/filter-set-spec.d.ts +12 -0
- package/dist/controls/filter-set-spec.d.ts.map +1 -0
- package/dist/controls/filter-set-spec.js +265 -0
- package/dist/controls/filter-set.d.ts +32 -13
- package/dist/controls/filter-set.d.ts.map +1 -1
- package/dist/controls/filter-set.js +4 -144
- package/dist/controls/filter-slot.d.ts +57 -0
- package/dist/controls/filter-slot.d.ts.map +1 -0
- package/dist/controls/filter-slot.js +139 -0
- package/dist/controls/form-field.d.ts +85 -0
- package/dist/controls/form-field.d.ts.map +1 -0
- package/dist/controls/form-field.js +233 -0
- package/dist/controls/form-footer.d.ts +43 -0
- package/dist/controls/form-footer.d.ts.map +1 -0
- package/dist/controls/form-footer.js +134 -0
- package/dist/controls/form-row.d.ts +35 -0
- package/dist/controls/form-row.d.ts.map +1 -0
- package/dist/controls/form-row.js +22 -0
- package/dist/controls/form-section.d.ts +65 -0
- package/dist/controls/form-section.d.ts.map +1 -0
- package/dist/controls/form-section.js +148 -0
- package/dist/controls/globals.d.ts +9 -0
- package/dist/controls/globals.d.ts.map +1 -0
- package/dist/controls/globals.js +20 -0
- package/dist/controls/index.d.ts +33 -11
- package/dist/controls/index.d.ts.map +1 -1
- package/dist/controls/index.js +39 -18
- package/dist/controls/local-control.d.ts +25 -0
- package/dist/controls/local-control.d.ts.map +1 -0
- package/dist/controls/local-control.js +12 -0
- package/dist/controls/renderers.d.ts +26 -0
- package/dist/controls/renderers.d.ts.map +1 -0
- package/dist/controls/renderers.js +415 -0
- package/dist/controls/row-icon.d.ts +10 -0
- package/dist/controls/row-icon.d.ts.map +1 -0
- package/dist/controls/row-icon.js +15 -0
- package/dist/controls/settings-rows.d.ts +84 -0
- package/dist/controls/settings-rows.d.ts.map +1 -0
- package/dist/controls/settings-rows.js +232 -0
- package/dist/controls/spec.d.ts +50 -0
- package/dist/controls/spec.d.ts.map +1 -0
- package/dist/controls/spec.js +12 -0
- package/dist/controls/stepper.d.ts +49 -0
- package/dist/controls/stepper.d.ts.map +1 -0
- package/dist/controls/stepper.js +170 -0
- package/dist/controls/submit.d.ts +27 -0
- package/dist/controls/submit.d.ts.map +1 -0
- package/dist/controls/submit.js +58 -0
- package/dist/controls/use-committed-field.d.ts +37 -0
- package/dist/controls/use-committed-field.d.ts.map +1 -0
- package/dist/controls/use-committed-field.js +66 -0
- package/dist/controls/view-tabs.d.ts +37 -13
- package/dist/controls/view-tabs.d.ts.map +1 -1
- package/dist/controls/view-tabs.js +124 -97
- package/dist/controls/view-tabs.test-support.d.ts +40 -0
- package/dist/controls/view-tabs.test-support.d.ts.map +1 -0
- package/dist/controls/view-tabs.test-support.js +39 -0
- package/dist/controls/wizard-dialog.d.ts +68 -0
- package/dist/controls/wizard-dialog.d.ts.map +1 -0
- package/dist/controls/wizard-dialog.js +243 -0
- package/dist/core/action-menu-items.d.ts +15 -0
- package/dist/core/action-menu-items.d.ts.map +1 -0
- package/dist/core/action-menu-items.js +46 -0
- package/dist/core/action.d.ts +54 -0
- package/dist/core/action.d.ts.map +1 -0
- package/dist/core/action.js +6 -0
- package/dist/core/appearance.d.ts +51 -0
- package/dist/core/appearance.d.ts.map +1 -0
- package/dist/core/appearance.js +117 -0
- package/dist/core/binding.d.ts +16 -0
- package/dist/core/binding.d.ts.map +1 -0
- package/dist/core/binding.js +21 -0
- package/dist/core/card-menu.d.ts +27 -0
- package/dist/core/card-menu.d.ts.map +1 -0
- package/dist/core/card-menu.js +179 -0
- package/dist/core/channel-transport.d.ts +25 -0
- package/dist/core/channel-transport.d.ts.map +1 -0
- package/dist/core/channel-transport.js +52 -0
- package/dist/core/channel.d.ts +111 -0
- package/dist/core/channel.d.ts.map +1 -0
- package/dist/core/channel.js +318 -0
- package/dist/core/chord-keys.d.ts +16 -0
- package/dist/core/chord-keys.d.ts.map +1 -0
- package/dist/core/chord-keys.js +20 -0
- package/dist/core/chord.d.ts +86 -0
- package/dist/core/chord.d.ts.map +1 -0
- package/dist/core/chord.js +129 -0
- package/dist/core/clipboard.d.ts +3 -0
- package/dist/core/clipboard.d.ts.map +1 -0
- package/dist/core/clipboard.js +27 -0
- package/dist/core/cn-theme.d.ts +11 -0
- package/dist/core/cn-theme.d.ts.map +1 -0
- package/dist/core/cn-theme.gen.d.ts +13 -0
- package/dist/core/cn-theme.gen.d.ts.map +1 -0
- package/dist/core/cn-theme.gen.js +59 -0
- package/dist/core/cn-theme.js +62 -0
- package/dist/core/cn.d.ts +10 -0
- package/dist/core/cn.d.ts.map +1 -0
- package/dist/core/cn.js +366 -0
- package/dist/core/commit-key.d.ts +16 -0
- package/dist/core/commit-key.d.ts.map +1 -0
- package/dist/core/commit-key.js +6 -0
- package/dist/core/context-trigger.d.ts +109 -0
- package/dist/core/context-trigger.d.ts.map +1 -0
- package/dist/core/context-trigger.js +175 -0
- package/dist/core/control-scope.d.ts +34 -0
- package/dist/core/control-scope.d.ts.map +1 -0
- package/dist/core/control-scope.js +21 -0
- package/dist/core/could-not-load.d.ts +8 -0
- package/dist/core/could-not-load.d.ts.map +1 -0
- package/dist/core/could-not-load.js +5 -0
- package/dist/core/date-stepper.d.ts +39 -0
- package/dist/core/date-stepper.d.ts.map +1 -0
- package/dist/core/date-stepper.js +83 -0
- package/dist/core/debounce.d.ts +19 -0
- package/dist/core/debounce.d.ts.map +1 -0
- package/dist/core/debounce.js +46 -0
- package/dist/core/drag-landing.d.ts +8 -0
- package/dist/core/drag-landing.d.ts.map +1 -0
- package/dist/core/drag-landing.js +7 -0
- package/dist/core/error-dot.d.ts +7 -0
- package/dist/core/error-dot.d.ts.map +1 -0
- package/dist/core/error-dot.js +14 -0
- package/dist/core/external-field.d.ts +45 -0
- package/dist/core/external-field.d.ts.map +1 -0
- package/dist/core/external-field.js +40 -0
- package/dist/core/focus-handle.d.ts +32 -0
- package/dist/core/focus-handle.d.ts.map +1 -0
- package/dist/core/focus-handle.js +182 -0
- package/dist/core/focus-release.d.ts +19 -0
- package/dist/core/focus-release.d.ts.map +1 -0
- package/dist/core/focus-release.js +10 -0
- package/dist/core/focus-store.d.ts +151 -0
- package/dist/core/focus-store.d.ts.map +1 -0
- package/dist/core/focus-store.js +422 -0
- package/dist/core/form-dirty.d.ts +24 -0
- package/dist/core/form-dirty.d.ts.map +1 -0
- package/dist/core/form-dirty.js +31 -0
- package/dist/core/format.d.ts +80 -0
- package/dist/core/format.d.ts.map +1 -0
- package/dist/core/format.js +188 -0
- package/dist/core/frame-arm.d.ts +19 -0
- package/dist/core/frame-arm.d.ts.map +1 -0
- package/dist/core/frame-arm.js +5 -0
- package/dist/core/frame-figure.d.ts +19 -0
- package/dist/core/frame-figure.d.ts.map +1 -0
- package/dist/core/frame-figure.js +153 -0
- package/dist/core/frame-head.d.ts +51 -0
- package/dist/core/frame-head.d.ts.map +1 -0
- package/dist/core/frame-head.js +331 -0
- package/dist/core/frame-regions.d.ts +101 -0
- package/dist/core/frame-regions.d.ts.map +1 -0
- package/dist/core/frame-regions.js +373 -0
- package/dist/core/frame-spec.test-support.d.ts +43 -0
- package/dist/core/frame-spec.test-support.d.ts.map +1 -0
- package/dist/core/frame-spec.test-support.js +58 -0
- package/dist/core/frame-tiles.d.ts +23 -0
- package/dist/core/frame-tiles.d.ts.map +1 -0
- package/dist/core/frame-tiles.js +79 -0
- package/dist/core/href.d.ts +22 -0
- package/dist/core/href.d.ts.map +1 -0
- package/dist/core/href.js +29 -0
- package/dist/core/info-hint.d.ts +19 -0
- package/dist/core/info-hint.d.ts.map +1 -0
- package/dist/core/info-hint.js +126 -0
- package/dist/core/keyboard.d.ts +16 -0
- package/dist/core/keyboard.d.ts.map +1 -0
- package/dist/core/keyboard.js +50 -0
- package/dist/core/label-text.d.ts +9 -0
- package/dist/core/label-text.d.ts.map +1 -0
- package/dist/core/label-text.js +8 -0
- package/dist/core/label.d.ts +29 -0
- package/dist/core/label.d.ts.map +1 -0
- package/dist/core/label.js +21 -0
- package/dist/core/lanes.d.ts +33 -0
- package/dist/core/lanes.d.ts.map +1 -0
- package/dist/core/lanes.js +58 -0
- package/dist/core/leave-guard.d.ts +61 -0
- package/dist/core/leave-guard.d.ts.map +1 -0
- package/dist/core/leave-guard.js +121 -0
- package/dist/core/link.d.ts +9 -0
- package/dist/core/link.d.ts.map +1 -0
- package/dist/core/link.js +10 -0
- package/dist/core/list/engine.d.ts +138 -0
- package/dist/core/list/engine.d.ts.map +1 -0
- package/dist/core/list/engine.js +397 -0
- package/dist/core/list/option-row.d.ts +63 -0
- package/dist/core/list/option-row.d.ts.map +1 -0
- package/dist/core/list/option-row.js +135 -0
- package/dist/core/list/options.d.ts +91 -0
- package/dist/core/list/options.d.ts.map +1 -0
- package/dist/core/list/options.js +77 -0
- package/dist/core/list/popup.d.ts +18 -0
- package/dist/core/list/popup.d.ts.map +1 -0
- package/dist/core/list/popup.js +57 -0
- package/dist/core/list/rank.d.ts +25 -0
- package/dist/core/list/rank.d.ts.map +1 -0
- package/dist/core/list/rank.js +30 -0
- package/dist/core/list-link.d.ts +43 -0
- package/dist/core/list-link.d.ts.map +1 -0
- package/dist/core/list-link.js +57 -0
- package/dist/core/live-actions.d.ts +46 -0
- package/dist/core/live-actions.d.ts.map +1 -0
- package/dist/core/live-actions.js +72 -0
- package/dist/core/mark-focus.d.ts +26 -0
- package/dist/core/mark-focus.d.ts.map +1 -0
- package/dist/core/mark-focus.js +63 -0
- package/dist/core/mark-tone.d.ts +21 -0
- package/dist/core/mark-tone.d.ts.map +1 -0
- package/dist/core/mark-tone.js +28 -0
- package/dist/core/mark-types.d.ts +87 -0
- package/dist/core/mark-types.d.ts.map +1 -0
- package/dist/core/menu-key.d.ts +6 -0
- package/dist/core/menu-key.d.ts.map +1 -0
- package/dist/core/menu-key.js +4 -0
- package/dist/core/messages/ai.d.ts +40 -0
- package/dist/core/messages/ai.d.ts.map +1 -0
- package/dist/core/messages/ai.js +29 -0
- package/dist/core/messages/base.d.ts +21 -0
- package/dist/core/messages/base.d.ts.map +1 -0
- package/dist/core/messages/base.js +13 -0
- package/dist/core/messages/cards.d.ts +13 -0
- package/dist/core/messages/cards.d.ts.map +1 -0
- package/dist/core/messages/cards.js +7 -0
- package/dist/core/messages/chain.d.ts +17 -0
- package/dist/core/messages/chain.d.ts.map +1 -0
- package/dist/core/messages/chain.js +13 -0
- package/dist/core/messages/charts.d.ts +27 -0
- package/dist/core/messages/charts.d.ts.map +1 -0
- package/dist/core/messages/charts.js +23 -0
- package/dist/core/messages/common.d.ts +96 -0
- package/dist/core/messages/common.d.ts.map +1 -0
- package/dist/core/messages/common.js +93 -0
- package/dist/core/messages/content.d.ts +6 -0
- package/dist/core/messages/content.d.ts.map +1 -0
- package/dist/core/messages/content.js +6 -0
- package/dist/core/messages/controls.d.ts +46 -0
- package/dist/core/messages/controls.d.ts.map +1 -0
- package/dist/core/messages/controls.js +34 -0
- package/dist/core/messages/date.d.ts +15 -0
- package/dist/core/messages/date.d.ts.map +1 -0
- package/dist/core/messages/date.js +11 -0
- package/dist/core/messages/dialogs.d.ts +15 -0
- package/dist/core/messages/dialogs.d.ts.map +1 -0
- package/dist/core/messages/dialogs.js +7 -0
- package/dist/core/messages/filters.d.ts +24 -0
- package/dist/core/messages/filters.d.ts.map +1 -0
- package/dist/core/messages/filters.js +11 -0
- package/dist/core/messages/flow.d.ts +19 -0
- package/dist/core/messages/flow.d.ts.map +1 -0
- package/dist/core/messages/flow.js +15 -0
- package/dist/core/messages/home.d.ts +13 -0
- package/dist/core/messages/home.d.ts.map +1 -0
- package/dist/core/messages/home.js +6 -0
- package/dist/core/messages/index.d.ts +32 -0
- package/dist/core/messages/index.d.ts.map +1 -0
- package/dist/core/messages/index.js +61 -0
- package/dist/core/messages/kanban.d.ts +16 -0
- package/dist/core/messages/kanban.d.ts.map +1 -0
- package/dist/core/messages/kanban.js +11 -0
- package/dist/core/messages/keys.d.ts +16 -0
- package/dist/core/messages/keys.d.ts.map +1 -0
- package/dist/core/messages/keys.js +12 -0
- package/dist/core/messages/lists.d.ts +36 -0
- package/dist/core/messages/lists.d.ts.map +1 -0
- package/dist/core/messages/lists.js +42 -0
- package/dist/core/messages/live.d.ts +26 -0
- package/dist/core/messages/live.d.ts.map +1 -0
- package/dist/core/messages/live.js +28 -0
- package/dist/core/messages/mark.d.ts +22 -0
- package/dist/core/messages/mark.d.ts.map +1 -0
- package/dist/core/messages/mark.js +11 -0
- package/dist/core/messages/menu.d.ts +10 -0
- package/dist/core/messages/menu.d.ts.map +1 -0
- package/dist/core/messages/menu.js +10 -0
- package/dist/core/messages/page.d.ts +40 -0
- package/dist/core/messages/page.d.ts.map +1 -0
- package/dist/core/messages/page.js +31 -0
- package/dist/core/messages/schedule.d.ts +18 -0
- package/dist/core/messages/schedule.d.ts.map +1 -0
- package/dist/core/messages/schedule.js +17 -0
- package/dist/core/messages/select.d.ts +15 -0
- package/dist/core/messages/select.d.ts.map +1 -0
- package/dist/core/messages/select.js +8 -0
- package/dist/core/messages/shell.d.ts +48 -0
- package/dist/core/messages/shell.d.ts.map +1 -0
- package/dist/core/messages/shell.js +34 -0
- package/dist/core/messages/sortable.d.ts +9 -0
- package/dist/core/messages/sortable.d.ts.map +1 -0
- package/dist/core/messages/sortable.js +8 -0
- package/dist/core/messages/status.d.ts +16 -0
- package/dist/core/messages/status.d.ts.map +1 -0
- package/dist/core/messages/status.js +12 -0
- package/dist/core/messages/table.d.ts +170 -0
- package/dist/core/messages/table.d.ts.map +1 -0
- package/dist/core/messages/table.js +165 -0
- package/dist/core/messages/tree.d.ts +29 -0
- package/dist/core/messages/tree.d.ts.map +1 -0
- package/dist/core/messages/tree.js +38 -0
- package/dist/core/messages/upload.d.ts +27 -0
- package/dist/core/messages/upload.d.ts.map +1 -0
- package/dist/core/messages/upload.js +23 -0
- package/dist/core/messages/use-messages.d.ts +12 -0
- package/dist/core/messages/use-messages.d.ts.map +1 -0
- package/dist/core/messages/use-messages.js +26 -0
- package/dist/core/messages/use-text.d.ts +8 -0
- package/dist/core/messages/use-text.d.ts.map +1 -0
- package/dist/core/messages/use-text.js +9 -0
- package/dist/core/notify.d.ts +94 -0
- package/dist/core/notify.d.ts.map +1 -0
- package/dist/core/notify.js +161 -0
- package/dist/core/object-menu-popup.d.ts +18 -0
- package/dist/core/object-menu-popup.d.ts.map +1 -0
- package/dist/core/object-menu-popup.js +32 -0
- package/dist/core/object-menu.d.ts +49 -0
- package/dist/core/object-menu.d.ts.map +1 -0
- package/dist/core/object-menu.js +81 -0
- package/dist/core/offline-line.d.ts +7 -0
- package/dist/core/offline-line.d.ts.map +1 -0
- package/dist/core/offline-line.js +11 -0
- package/dist/core/panel.d.ts +73 -0
- package/dist/core/panel.d.ts.map +1 -0
- package/dist/core/panel.js +172 -0
- package/dist/core/parse-number.d.ts +8 -0
- package/dist/core/parse-number.d.ts.map +1 -0
- package/dist/core/parse-number.js +38 -0
- package/dist/core/persisted.d.ts +59 -0
- package/dist/core/persisted.d.ts.map +1 -0
- package/dist/core/persisted.js +276 -0
- package/dist/core/phase-boundary.d.ts +30 -0
- package/dist/core/phase-boundary.d.ts.map +1 -0
- package/dist/core/phase-boundary.js +18 -0
- package/dist/core/phase.d.ts +354 -0
- package/dist/core/phase.d.ts.map +1 -0
- package/dist/core/phase.js +94 -0
- package/dist/core/popup-position.d.ts +33 -0
- package/dist/core/popup-position.d.ts.map +1 -0
- package/dist/core/popup-position.js +9 -0
- package/dist/core/ports.d.ts +434 -0
- package/dist/core/ports.d.ts.map +1 -0
- package/dist/core/ports.js +0 -0
- package/dist/core/provider-props.d.ts +40 -0
- package/dist/core/provider-props.d.ts.map +1 -0
- package/dist/core/provider-props.js +28 -0
- package/dist/core/provider.d.ts +48 -0
- package/dist/core/provider.d.ts.map +1 -0
- package/dist/core/provider.js +39 -0
- package/dist/core/record-address.d.ts +16 -0
- package/dist/core/record-address.d.ts.map +1 -0
- package/dist/core/record-address.js +17 -0
- package/dist/core/record-steps.d.ts +22 -0
- package/dist/core/record-steps.d.ts.map +1 -0
- package/dist/core/record-steps.js +40 -0
- package/dist/core/resolved-tokens.d.ts +32 -0
- package/dist/core/resolved-tokens.d.ts.map +1 -0
- package/dist/core/resolved-tokens.js +135 -0
- package/dist/core/retry-label.d.ts +5 -0
- package/dist/core/retry-label.d.ts.map +1 -0
- package/dist/core/retry-label.js +10 -0
- package/dist/core/retry-owner.d.ts +31 -0
- package/dist/core/retry-owner.d.ts.map +1 -0
- package/dist/core/retry-owner.js +58 -0
- package/dist/core/rows-shown.d.ts +3 -0
- package/dist/core/rows-shown.d.ts.map +1 -0
- package/dist/core/rows-shown.js +9 -0
- package/dist/core/scheme.d.ts +24 -0
- package/dist/core/scheme.d.ts.map +1 -0
- package/dist/core/scheme.js +62 -0
- package/dist/core/sheet-tools.d.ts +3 -0
- package/dist/core/sheet-tools.d.ts.map +1 -0
- package/dist/core/sheet-tools.js +5 -0
- package/dist/core/slot-home.d.ts +10 -0
- package/dist/core/slot-home.d.ts.map +1 -0
- package/dist/core/slot-home.js +5 -0
- package/dist/core/slug.d.ts.map +1 -0
- package/dist/core/slug.js +22 -0
- package/dist/core/spark/compile-spark.d.ts +59 -0
- package/dist/core/spark/compile-spark.d.ts.map +1 -0
- package/dist/core/spark/compile-spark.js +78 -0
- package/dist/core/spark/mini-bars.d.ts +36 -0
- package/dist/core/spark/mini-bars.d.ts.map +1 -0
- package/dist/core/spark/mini-bars.js +202 -0
- package/dist/core/spark/sparkline-shared.d.ts +99 -0
- package/dist/core/spark/sparkline-shared.d.ts.map +1 -0
- package/dist/core/spark/sparkline-shared.js +257 -0
- package/dist/core/spark/sparkline.d.ts +42 -0
- package/dist/core/spark/sparkline.d.ts.map +1 -0
- package/dist/core/spark/sparkline.js +305 -0
- package/dist/core/standard-actions.d.ts +29 -0
- package/dist/core/standard-actions.d.ts.map +1 -0
- package/dist/core/standard-actions.js +67 -0
- package/dist/core/stat-row.d.ts +9 -0
- package/dist/core/stat-row.d.ts.map +1 -0
- package/dist/core/stat-row.js +14 -0
- package/dist/core/tree-model.d.ts +53 -0
- package/dist/core/tree-model.d.ts.map +1 -0
- package/dist/core/tree-model.js +117 -0
- package/dist/core/url.d.ts +22 -0
- package/dist/core/url.d.ts.map +1 -0
- package/dist/core/url.js +44 -0
- package/dist/core/use-control.d.ts +27 -0
- package/dist/core/use-control.d.ts.map +1 -0
- package/dist/core/use-control.js +6 -0
- package/dist/core/use-locale.d.ts +9 -0
- package/dist/core/use-locale.d.ts.map +1 -0
- package/dist/core/use-locale.js +7 -0
- package/dist/core/use-now.d.ts +10 -0
- package/dist/core/use-now.d.ts.map +1 -0
- package/dist/core/use-now.js +36 -0
- package/dist/core/use-resolved-tokens.d.ts +15 -0
- package/dist/core/use-resolved-tokens.d.ts.map +1 -0
- package/dist/core/use-resolved-tokens.js +8 -0
- package/dist/core/use-standard-actions.d.ts +5 -0
- package/dist/core/use-standard-actions.d.ts.map +1 -0
- package/dist/core/use-standard-actions.js +11 -0
- package/dist/core/write-batch.d.ts +13 -0
- package/dist/core/write-batch.d.ts.map +1 -0
- package/dist/core/write-batch.js +30 -0
- package/dist/core/zoned.d.ts +58 -0
- package/dist/core/zoned.d.ts.map +1 -0
- package/dist/core/zoned.js +128 -0
- package/dist/css/archify.css +37 -0
- package/dist/css/base.css +286 -0
- package/dist/css/cursor.css +119 -0
- package/dist/css/files/hubot-sans-latin-ext-wdth-normal.woff2 +0 -0
- package/dist/css/files/hubot-sans-latin-wdth-normal.woff2 +0 -0
- package/dist/css/files/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/css/files/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/css/files/nunito-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/css/files/nunito-sans-latin-wght-normal.woff2 +0 -0
- package/dist/css/fonts.css +84 -0
- package/dist/css/generate.d.ts +24 -0
- package/dist/css/generate.d.ts.map +1 -0
- package/dist/css/generate.js +218 -0
- package/dist/css/prose.css +214 -0
- package/dist/css/starlight.css +342 -0
- package/dist/css/static.css +263 -0
- package/dist/css/tailwind.css +254 -0
- package/dist/css/templates/fonts.css +82 -0
- package/dist/css/templates/prose.css +230 -0
- package/dist/css/templates/starlight.css +356 -0
- package/dist/css/templates/typography.css +50 -0
- package/dist/css/theme-script.d.ts +27 -0
- package/dist/css/theme-script.d.ts.map +1 -0
- package/dist/css/theme-script.js +29 -0
- package/dist/css/tokens.css +233 -0
- package/dist/css/touch.css +36 -0
- package/dist/css/typography.css +89 -0
- package/dist/data/index.d.ts +17 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/index.js +22 -0
- package/dist/data/live/bind-invalidation.d.ts +77 -0
- package/dist/data/live/bind-invalidation.d.ts.map +1 -0
- package/dist/data/live/bind-invalidation.js +166 -0
- package/dist/data/live/connection.d.ts +47 -0
- package/dist/data/live/connection.d.ts.map +1 -0
- package/dist/data/live/connection.js +181 -0
- package/dist/data/live/freshness.d.ts +30 -0
- package/dist/data/live/freshness.d.ts.map +1 -0
- package/dist/data/live/freshness.js +91 -0
- package/dist/data/live/live-query-runtime.d.ts +39 -0
- package/dist/data/live/live-query-runtime.d.ts.map +1 -0
- package/dist/data/live/live-query-runtime.js +59 -0
- package/dist/data/live/live-query.d.ts +55 -0
- package/dist/data/live/live-query.d.ts.map +1 -0
- package/dist/data/live/live-query.js +127 -0
- package/dist/data/optimistic.d.ts +60 -0
- package/dist/data/optimistic.d.ts.map +1 -0
- package/dist/data/optimistic.js +34 -0
- package/dist/data/query-client.d.ts +29 -0
- package/dist/data/query-client.d.ts.map +1 -0
- package/dist/data/query-client.js +35 -0
- package/dist/data/shot-state.d.ts +68 -0
- package/dist/data/shot-state.d.ts.map +1 -0
- package/dist/data/shot-state.js +59 -0
- package/dist/data/synced-runtime.d.ts +90 -0
- package/dist/data/synced-runtime.d.ts.map +1 -0
- package/dist/data/synced-runtime.js +380 -0
- package/dist/data/synced.d.ts +91 -0
- package/dist/data/synced.d.ts.map +1 -0
- package/dist/data/synced.js +110 -0
- package/dist/data/unwrap.d.ts +45 -0
- package/dist/data/unwrap.d.ts.map +1 -0
- package/dist/data/unwrap.js +28 -0
- package/dist/form/contexts.d.ts +2 -0
- package/dist/form/contexts.d.ts.map +1 -0
- package/dist/form/contexts.js +8 -0
- package/dist/form/hook.d.ts +110 -0
- package/dist/form/hook.d.ts.map +1 -0
- package/dist/form/hook.js +60 -0
- package/dist/form/index.d.ts +9 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form/index.js +6 -0
- package/dist/form/parts.d.ts +48 -0
- package/dist/form/parts.d.ts.map +1 -0
- package/dist/form/parts.js +50 -0
- package/dist/format/locale.d.ts +4 -0
- package/dist/format/locale.d.ts.map +1 -0
- package/dist/format/locale.js +4 -0
- package/dist/format/number.d.ts +2 -46
- package/dist/format/number.d.ts.map +1 -1
- package/dist/format/number.js +4 -57
- package/dist/format/shared.d.ts +8 -45
- package/dist/format/shared.d.ts.map +1 -1
- package/dist/format/shared.js +35 -50
- package/dist/index.d.ts +27 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -72
- package/dist/lint/bin.d.ts +13 -0
- package/dist/lint/bin.d.ts.map +1 -0
- package/dist/lint/bin.js +20 -0
- package/dist/lint/blanket-disable.d.ts +23 -0
- package/dist/lint/blanket-disable.d.ts.map +1 -0
- package/dist/lint/blanket-disable.js +85 -0
- package/dist/lint/check-tokens.d.ts +39 -0
- package/dist/lint/check-tokens.d.ts.map +1 -0
- package/dist/lint/check-tokens.js +160 -0
- package/dist/lint/factory.d.ts +101 -0
- package/dist/lint/factory.d.ts.map +1 -0
- package/dist/lint/factory.js +318 -0
- package/dist/lint/generated/gen-site-classes.d.ts +5 -0
- package/dist/lint/generated/gen-site-classes.d.ts.map +1 -0
- package/dist/lint/generated/gen-site-classes.js +45 -0
- package/dist/lint/generated/gen-zone-a.d.ts +4 -0
- package/dist/lint/generated/gen-zone-a.d.ts.map +1 -0
- package/dist/lint/generated/gen-zone-a.js +62 -0
- package/dist/lint/generated/site-classes.d.ts +2 -0
- package/dist/lint/generated/site-classes.d.ts.map +1 -0
- package/dist/lint/generated/site-classes.js +48 -0
- package/dist/lint/generated/zone-a.d.ts +16 -0
- package/dist/lint/generated/zone-a.d.ts.map +1 -0
- package/dist/lint/generated/zone-a.js +90 -0
- package/dist/lint/index.d.ts +4 -0
- package/dist/lint/index.d.ts.map +1 -0
- package/dist/lint/index.js +37 -0
- package/dist/lint/lintable.d.ts +3 -0
- package/dist/lint/lintable.d.ts.map +1 -0
- package/dist/lint/lintable.js +4 -0
- package/dist/lint/preset.d.ts +189 -0
- package/dist/lint/preset.d.ts.map +1 -0
- package/dist/lint/preset.js +429 -0
- package/dist/lint/renamed-rules.d.ts +7 -0
- package/dist/lint/renamed-rules.d.ts.map +1 -0
- package/dist/lint/renamed-rules.js +9 -0
- package/dist/lint/rule-table.d.ts +125 -0
- package/dist/lint/rule-table.d.ts.map +1 -0
- package/dist/lint/rule-table.js +222 -0
- package/dist/lint/rules/class/detect.d.ts +133 -0
- package/dist/lint/rules/class/detect.d.ts.map +1 -0
- package/dist/lint/rules/class/detect.js +858 -0
- package/dist/lint/rules/class/table.d.ts +296 -0
- package/dist/lint/rules/class/table.d.ts.map +1 -0
- package/dist/lint/rules/class/table.js +453 -0
- package/dist/lint/rules/structure/ast.d.ts +15 -0
- package/dist/lint/rules/structure/ast.d.ts.map +1 -0
- package/dist/lint/rules/structure/ast.js +48 -0
- package/dist/lint/rules/structure/color-literal.d.ts +51 -0
- package/dist/lint/rules/structure/color-literal.d.ts.map +1 -0
- package/dist/lint/rules/structure/color-literal.js +127 -0
- package/dist/lint/rules/structure/control-home.d.ts +10 -0
- package/dist/lint/rules/structure/control-home.d.ts.map +1 -0
- package/dist/lint/rules/structure/control-home.js +246 -0
- package/dist/lint/rules/structure/data-primitive-live.d.ts +5 -0
- package/dist/lint/rules/structure/data-primitive-live.d.ts.map +1 -0
- package/dist/lint/rules/structure/data-primitive-live.js +95 -0
- package/dist/lint/rules/structure/data-primitive.d.ts +38 -0
- package/dist/lint/rules/structure/data-primitive.d.ts.map +1 -0
- package/dist/lint/rules/structure/data-primitive.js +587 -0
- package/dist/lint/rules/structure/format-home.d.ts +15 -0
- package/dist/lint/rules/structure/format-home.d.ts.map +1 -0
- package/dist/lint/rules/structure/format-home.js +416 -0
- package/dist/lint/rules/structure/import-boundary.d.ts +40 -0
- package/dist/lint/rules/structure/import-boundary.d.ts.map +1 -0
- package/dist/lint/rules/structure/import-boundary.js +829 -0
- package/dist/lint/rules/structure/label-literal.d.ts +23 -0
- package/dist/lint/rules/structure/label-literal.d.ts.map +1 -0
- package/dist/lint/rules/structure/label-literal.js +492 -0
- package/dist/lint/rules/structure/motion-literal.d.ts +26 -0
- package/dist/lint/rules/structure/motion-literal.d.ts.map +1 -0
- package/dist/lint/rules/structure/motion-literal.js +147 -0
- package/dist/lint/rules/structure/page-root.d.ts +10 -0
- package/dist/lint/rules/structure/page-root.d.ts.map +1 -0
- package/dist/lint/rules/structure/page-root.js +162 -0
- package/dist/lint/rules/structure/primitive-bypass.d.ts +8 -0
- package/dist/lint/rules/structure/primitive-bypass.d.ts.map +1 -0
- package/dist/lint/rules/structure/primitive-bypass.js +1014 -0
- package/dist/lint/rules/structure/query-home.d.ts +12 -0
- package/dist/lint/rules/structure/query-home.d.ts.map +1 -0
- package/dist/lint/rules/structure/query-home.js +171 -0
- package/dist/lint/rules/structure/router-search.d.ts +10 -0
- package/dist/lint/rules/structure/router-search.d.ts.map +1 -0
- package/dist/lint/rules/structure/router-search.js +321 -0
- package/dist/lint/rules/structure/untrusted-markdown.d.ts +22 -0
- package/dist/lint/rules/structure/untrusted-markdown.d.ts.map +1 -0
- package/dist/lint/rules/structure/untrusted-markdown.js +374 -0
- package/dist/lint/rules/structure/waiver-needs-reason.d.ts +41 -0
- package/dist/lint/rules/structure/waiver-needs-reason.d.ts.map +1 -0
- package/dist/lint/rules/structure/waiver-needs-reason.js +128 -0
- package/dist/lint/stylelint/gen.d.ts +2 -0
- package/dist/lint/stylelint/gen.d.ts.map +1 -0
- package/dist/lint/stylelint/gen.js +28 -0
- package/dist/lint/stylelint/index.d.ts +3 -0
- package/dist/lint/stylelint/index.d.ts.map +1 -0
- package/dist/lint/stylelint/index.js +5 -0
- package/dist/lint/stylelint/render.d.ts +37 -0
- package/dist/lint/stylelint/render.d.ts.map +1 -0
- package/dist/lint/stylelint/render.js +48 -0
- package/dist/lint/stylelint/rules.d.ts +75 -0
- package/dist/lint/stylelint/rules.d.ts.map +1 -0
- package/dist/lint/stylelint/rules.js +239 -0
- package/dist/lint/weakened.d.ts +68 -0
- package/dist/lint/weakened.d.ts.map +1 -0
- package/dist/lint/weakened.js +404 -0
- package/dist/lint/weakening-edit.d.ts +6 -0
- package/dist/lint/weakening-edit.d.ts.map +1 -0
- package/dist/lint/weakening-edit.js +63 -0
- package/dist/messages/de.d.ts +16 -0
- package/dist/messages/de.d.ts.map +1 -0
- package/dist/messages/de.js +621 -0
- package/dist/messages/es.d.ts +16 -0
- package/dist/messages/es.d.ts.map +1 -0
- package/dist/messages/es.js +626 -0
- package/dist/messages/fr.d.ts +16 -0
- package/dist/messages/fr.d.ts.map +1 -0
- package/dist/messages/fr.js +621 -0
- package/dist/messages/zh-hans.d.ts +16 -0
- package/dist/messages/zh-hans.d.ts.map +1 -0
- package/dist/messages/zh-hans.js +628 -0
- package/dist/motion/index.d.ts +20 -0
- package/dist/motion/index.d.ts.map +1 -0
- package/dist/motion/index.js +13 -0
- package/dist/motion/presets.d.ts +45 -0
- package/dist/motion/presets.d.ts.map +1 -0
- package/dist/motion/presets.js +37 -0
- package/dist/page/article-layout.d.ts +67 -0
- package/dist/page/article-layout.d.ts.map +1 -0
- package/dist/page/article-layout.js +127 -0
- package/dist/page/article-progress.d.ts +20 -0
- package/dist/page/article-progress.d.ts.map +1 -0
- package/dist/page/article-progress.js +59 -0
- package/dist/page/callout.d.ts +27 -0
- package/dist/page/callout.d.ts.map +1 -0
- package/dist/page/callout.js +32 -0
- package/dist/page/card-grid.d.ts +42 -0
- package/dist/page/card-grid.d.ts.map +1 -0
- package/dist/page/card-grid.js +41 -0
- package/dist/page/connection-indicator.d.ts +25 -0
- package/dist/page/connection-indicator.d.ts.map +1 -0
- package/dist/page/connection-indicator.js +115 -0
- package/dist/page/contract.d.ts +295 -0
- package/dist/page/contract.d.ts.map +1 -0
- package/dist/page/contract.js +0 -0
- package/dist/page/core/article-date.d.ts +17 -0
- package/dist/page/core/article-date.d.ts.map +1 -0
- package/dist/page/core/article-date.js +13 -0
- package/dist/page/core/bar-measure.d.ts +32 -0
- package/dist/page/core/bar-measure.d.ts.map +1 -0
- package/dist/page/core/bar-measure.js +34 -0
- package/dist/page/core/claims.d.ts +66 -0
- package/dist/page/core/claims.d.ts.map +1 -0
- package/dist/page/core/claims.js +84 -0
- package/dist/page/core/docking.d.ts +66 -0
- package/dist/page/core/docking.d.ts.map +1 -0
- package/dist/page/core/docking.js +26 -0
- package/dist/page/core/panel-store.d.ts +24 -0
- package/dist/page/core/panel-store.d.ts.map +1 -0
- package/dist/page/core/panel-store.js +35 -0
- package/dist/page/define-overlays.d.ts +95 -0
- package/dist/page/define-overlays.d.ts.map +1 -0
- package/dist/page/define-overlays.js +56 -0
- package/dist/page/dock.d.ts +67 -0
- package/dist/page/dock.d.ts.map +1 -0
- package/dist/page/dock.js +179 -0
- package/dist/page/empty-state.d.ts +49 -0
- package/dist/page/empty-state.d.ts.map +1 -0
- package/dist/page/empty-state.js +67 -0
- package/dist/page/error-cause.d.ts +13 -0
- package/dist/page/error-cause.d.ts.map +1 -0
- package/dist/page/error-cause.js +14 -0
- package/dist/page/facts.d.ts +33 -0
- package/dist/page/facts.d.ts.map +1 -0
- package/dist/page/facts.js +16 -0
- package/dist/page/favorites.d.ts +59 -0
- package/dist/page/favorites.d.ts.map +1 -0
- package/dist/page/favorites.js +106 -0
- package/dist/page/index.d.ts +43 -0
- package/dist/page/index.d.ts.map +1 -0
- package/dist/page/index.js +58 -0
- package/dist/page/mdx.d.ts +18 -0
- package/dist/page/mdx.d.ts.map +1 -0
- package/dist/page/mdx.js +86 -0
- package/dist/page/overlay-host.d.ts +23 -0
- package/dist/page/overlay-host.d.ts.map +1 -0
- package/dist/page/overlay-host.js +78 -0
- package/dist/page/page-aside.d.ts +66 -0
- package/dist/page/page-aside.d.ts.map +1 -0
- package/dist/page/page-aside.js +273 -0
- package/dist/page/page-bar.d.ts +85 -0
- package/dist/page/page-bar.d.ts.map +1 -0
- package/dist/page/page-bar.js +512 -0
- package/dist/page/page-summary.d.ts +62 -0
- package/dist/page/page-summary.d.ts.map +1 -0
- package/dist/page/page-summary.js +112 -0
- package/dist/page/page-tabs.d.ts +9 -0
- package/dist/page/page-tabs.d.ts.map +1 -0
- package/dist/page/page-tabs.js +49 -0
- package/dist/page/page.d.ts +87 -0
- package/dist/page/page.d.ts.map +1 -0
- package/dist/page/page.js +101 -0
- package/dist/page/page.test-support.d.ts +25 -0
- package/dist/page/page.test-support.d.ts.map +1 -0
- package/dist/page/page.test-support.js +81 -0
- package/dist/page/panel-steps.d.ts +19 -0
- package/dist/page/panel-steps.d.ts.map +1 -0
- package/dist/page/panel-steps.js +66 -0
- package/dist/page/parts/inner-nav.d.ts +55 -0
- package/dist/page/parts/inner-nav.d.ts.map +1 -0
- package/dist/page/parts/inner-nav.js +261 -0
- package/dist/page/parts/inner-nav.test-support.d.ts +8 -0
- package/dist/page/parts/inner-nav.test-support.d.ts.map +1 -0
- package/dist/page/parts/inner-nav.test-support.js +59 -0
- package/dist/page/parts/split-page.d.ts +35 -0
- package/dist/page/parts/split-page.d.ts.map +1 -0
- package/dist/page/parts/split-page.js +161 -0
- package/dist/page/peek-window.d.ts +38 -0
- package/dist/page/peek-window.d.ts.map +1 -0
- package/dist/page/peek-window.js +226 -0
- package/dist/page/peek.d.ts +112 -0
- package/dist/page/peek.d.ts.map +1 -0
- package/dist/page/peek.js +498 -0
- package/dist/page/present-glyph.d.ts +9 -0
- package/dist/page/present-glyph.d.ts.map +1 -0
- package/dist/page/present-glyph.js +31 -0
- package/dist/page/property-list.d.ts +127 -0
- package/dist/page/property-list.d.ts.map +1 -0
- package/dist/page/property-list.js +335 -0
- package/dist/page/prose.d.ts +28 -0
- package/dist/page/prose.d.ts.map +1 -0
- package/dist/page/prose.js +25 -0
- package/dist/page/query-state.d.ts +41 -0
- package/dist/page/query-state.d.ts.map +1 -0
- package/dist/page/query-state.js +79 -0
- package/dist/page/record-panel.d.ts +106 -0
- package/dist/page/record-panel.d.ts.map +1 -0
- package/dist/page/record-panel.js +242 -0
- package/dist/page/refresh-button.d.ts +41 -0
- package/dist/page/refresh-button.d.ts.map +1 -0
- package/dist/page/refresh-button.js +148 -0
- package/dist/page/search-hint.d.ts +13 -0
- package/dist/page/search-hint.d.ts.map +1 -0
- package/dist/page/search-hint.js +33 -0
- package/dist/page/section.d.ts +30 -0
- package/dist/page/section.d.ts.map +1 -0
- package/dist/page/section.js +96 -0
- package/dist/page/settings-layout.d.ts +36 -0
- package/dist/page/settings-layout.d.ts.map +1 -0
- package/dist/page/settings-layout.js +83 -0
- package/dist/page/toast-host.d.ts +15 -0
- package/dist/page/toast-host.d.ts.map +1 -0
- package/dist/page/toast-host.js +57 -0
- package/dist/page/toc-click-pin.d.ts.map +1 -0
- package/dist/page/toc-click-pin.js +112 -0
- package/dist/page/toc-spy.d.ts.map +1 -0
- package/dist/page/toc.d.ts +43 -0
- package/dist/page/toc.d.ts.map +1 -0
- package/dist/page/toc.js +151 -0
- package/dist/page/use-size-class.d.ts +20 -0
- package/dist/page/use-size-class.d.ts.map +1 -0
- package/dist/page/use-size-class.js +23 -0
- package/dist/register.d.ts +11 -48
- package/dist/register.d.ts.map +1 -1
- package/dist/router/controls/brand.d.ts +72 -0
- package/dist/router/controls/brand.d.ts.map +1 -0
- package/dist/router/controls/brand.js +37 -0
- package/dist/router/controls/codec.d.ts +78 -0
- package/dist/router/controls/codec.d.ts.map +1 -0
- package/dist/router/controls/codec.js +112 -0
- package/dist/router/controls/define.d.ts +234 -0
- package/dist/router/controls/define.d.ts.map +1 -0
- package/dist/router/controls/define.js +379 -0
- package/dist/router/controls/field.d.ts +156 -0
- package/dist/router/controls/field.d.ts.map +1 -0
- package/dist/router/controls/field.js +104 -0
- package/dist/router/controls/href.d.ts +5 -0
- package/dist/router/controls/href.d.ts.map +1 -0
- package/dist/router/controls/href.js +19 -0
- package/dist/router/controls/middleware.d.ts +34 -0
- package/dist/router/controls/middleware.d.ts.map +1 -0
- package/dist/router/controls/middleware.js +41 -0
- package/dist/router/controls/ownership.d.ts +19 -0
- package/dist/router/controls/ownership.d.ts.map +1 -0
- package/dist/router/controls/ownership.js +57 -0
- package/dist/router/controls/precedence.d.ts +16 -0
- package/dist/router/controls/precedence.d.ts.map +1 -0
- package/dist/router/controls/precedence.js +8 -0
- package/dist/router/controls/values.d.ts +24 -0
- package/dist/router/controls/values.d.ts.map +1 -0
- package/dist/router/controls/values.js +0 -0
- package/dist/router/controls/widgets.d.ts +131 -0
- package/dist/router/controls/widgets.d.ts.map +1 -0
- package/dist/router/controls/widgets.js +199 -0
- package/dist/router/defaults.d.ts +74 -0
- package/dist/router/defaults.d.ts.map +1 -0
- package/dist/router/defaults.js +45 -0
- package/dist/router/index.d.ts +17 -0
- package/dist/router/index.d.ts.map +1 -0
- package/dist/router/index.js +19 -0
- package/dist/router/nav/anchor.d.ts +8 -0
- package/dist/router/nav/anchor.d.ts.map +1 -0
- package/dist/router/nav/anchor.js +18 -0
- package/dist/router/nav/define-nav.d.ts +46 -0
- package/dist/router/nav/define-nav.d.ts.map +1 -0
- package/dist/router/nav/define-nav.js +6 -0
- package/dist/router/nav/read-labels.d.ts +4 -0
- package/dist/router/nav/read-labels.d.ts.map +1 -0
- package/dist/router/nav/read-labels.js +72 -0
- package/dist/router/nav/registry.d.ts +9 -0
- package/dist/router/nav/registry.d.ts.map +1 -0
- package/dist/router/nav/registry.js +22 -0
- package/dist/router/nav/resolve-active.d.ts +46 -0
- package/dist/router/nav/resolve-active.d.ts.map +1 -0
- package/dist/router/nav/resolve-active.js +84 -0
- package/dist/router/nav/types.d.ts +274 -0
- package/dist/router/nav/types.d.ts.map +1 -0
- package/dist/router/nav/types.js +0 -0
- package/dist/router/nav-target.d.ts +40 -0
- package/dist/router/nav-target.d.ts.map +1 -0
- package/dist/router/nav-target.js +55 -0
- package/dist/router/peek.d.ts +107 -0
- package/dist/router/peek.d.ts.map +1 -0
- package/dist/router/peek.js +224 -0
- package/dist/router/unsaved-guard.d.ts +30 -0
- package/dist/router/unsaved-guard.d.ts.map +1 -0
- package/dist/router/unsaved-guard.js +30 -0
- package/dist/shell/app-shell-host.d.ts +27 -0
- package/dist/shell/app-shell-host.d.ts.map +1 -0
- package/dist/shell/app-shell-host.js +52 -0
- package/dist/shell/app-shell.d.ts +64 -0
- package/dist/shell/app-shell.d.ts.map +1 -0
- package/dist/shell/app-shell.js +281 -0
- package/dist/shell/chrome.d.ts +45 -0
- package/dist/shell/chrome.d.ts.map +1 -0
- package/dist/shell/chrome.js +63 -0
- package/dist/shell/commands/area.d.ts +6 -0
- package/dist/shell/commands/area.d.ts.map +1 -0
- package/dist/shell/commands/area.js +11 -0
- package/dist/shell/commands/bindings.d.ts +51 -0
- package/dist/shell/commands/bindings.d.ts.map +1 -0
- package/dist/shell/commands/bindings.js +93 -0
- package/dist/shell/commands/command-palette.d.ts +71 -0
- package/dist/shell/commands/command-palette.d.ts.map +1 -0
- package/dist/shell/commands/command-palette.js +269 -0
- package/dist/shell/commands/define-commands.d.ts +127 -0
- package/dist/shell/commands/define-commands.d.ts.map +1 -0
- package/dist/shell/commands/define-commands.js +171 -0
- package/dist/shell/commands/nav-commands.d.ts +14 -0
- package/dist/shell/commands/nav-commands.d.ts.map +1 -0
- package/dist/shell/commands/nav-commands.js +34 -0
- package/dist/shell/commands/palette-sheet.d.ts +13 -0
- package/dist/shell/commands/palette-sheet.d.ts.map +1 -0
- package/dist/shell/commands/palette-sheet.js +23 -0
- package/dist/shell/commands/palette-sources.d.ts +64 -0
- package/dist/shell/commands/palette-sources.d.ts.map +1 -0
- package/dist/shell/commands/palette-sources.js +106 -0
- package/dist/shell/commands/rank.d.ts +23 -0
- package/dist/shell/commands/rank.d.ts.map +1 -0
- package/dist/shell/commands/rank.js +15 -0
- package/dist/shell/commands/runnable.d.ts +8 -0
- package/dist/shell/commands/runnable.d.ts.map +1 -0
- package/dist/shell/commands/runnable.js +71 -0
- package/dist/shell/commands/shortcut-overlay.d.ts +14 -0
- package/dist/shell/commands/shortcut-overlay.d.ts.map +1 -0
- package/dist/shell/commands/shortcut-overlay.js +33 -0
- package/dist/shell/commands/shortcut-rows.d.ts +30 -0
- package/dist/shell/commands/shortcut-rows.d.ts.map +1 -0
- package/dist/shell/commands/shortcut-rows.js +20 -0
- package/dist/shell/contract.d.ts +191 -0
- package/dist/shell/contract.d.ts.map +1 -0
- package/dist/shell/contract.js +0 -0
- package/dist/shell/core/badges.d.ts +32 -0
- package/dist/shell/core/badges.d.ts.map +1 -0
- package/dist/shell/core/badges.js +41 -0
- package/dist/shell/core/block-model.d.ts +100 -0
- package/dist/shell/core/block-model.d.ts.map +1 -0
- package/dist/shell/core/block-model.js +36 -0
- package/dist/shell/core/column.d.ts +24 -0
- package/dist/shell/core/column.d.ts.map +1 -0
- package/dist/shell/core/column.js +33 -0
- package/dist/shell/core/crumbs.d.ts +75 -0
- package/dist/shell/core/crumbs.d.ts.map +1 -0
- package/dist/shell/core/crumbs.js +54 -0
- package/dist/shell/core/header-tiers.d.ts +49 -0
- package/dist/shell/core/header-tiers.d.ts.map +1 -0
- package/dist/shell/core/header-tiers.js +37 -0
- package/dist/shell/core/nav-runtime.d.ts +42 -0
- package/dist/shell/core/nav-runtime.d.ts.map +1 -0
- package/dist/shell/core/nav-runtime.js +44 -0
- package/dist/shell/core/phone-groups.d.ts +41 -0
- package/dist/shell/core/phone-groups.d.ts.map +1 -0
- package/dist/shell/core/phone-groups.js +33 -0
- package/dist/shell/core/projector.d.ts +82 -0
- package/dist/shell/core/projector.d.ts.map +1 -0
- package/dist/shell/core/projector.js +92 -0
- package/dist/shell/core/types.d.ts +70 -0
- package/dist/shell/core/types.d.ts.map +1 -0
- package/dist/shell/core/types.js +0 -0
- package/dist/shell/favorites-host.d.ts +4 -0
- package/dist/shell/favorites-host.d.ts.map +1 -0
- package/dist/shell/favorites-host.js +41 -0
- package/dist/shell/index.d.ts +12 -203
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +12 -253
- package/dist/shell/menu-template.d.ts +42 -0
- package/dist/shell/menu-template.d.ts.map +1 -0
- package/dist/shell/menu-template.js +72 -0
- package/dist/shell/parts/a11y.d.ts +51 -0
- package/dist/shell/parts/a11y.d.ts.map +1 -0
- package/dist/shell/parts/a11y.js +147 -0
- package/dist/shell/parts/account.d.ts +8 -0
- package/dist/shell/parts/account.d.ts.map +1 -0
- package/dist/shell/parts/account.js +115 -0
- package/dist/shell/parts/blocks.d.ts +12 -0
- package/dist/shell/parts/blocks.d.ts.map +1 -0
- package/dist/shell/parts/blocks.js +209 -0
- package/dist/shell/parts/crumbs.d.ts +6 -0
- package/dist/shell/parts/crumbs.d.ts.map +1 -0
- package/dist/shell/parts/crumbs.js +63 -0
- package/dist/shell/parts/grid.d.ts +166 -0
- package/dist/shell/parts/grid.d.ts.map +1 -0
- package/dist/shell/parts/grid.js +395 -0
- package/dist/shell/parts/header-kebab.d.ts +21 -0
- package/dist/shell/parts/header-kebab.d.ts.map +1 -0
- package/dist/shell/parts/header-kebab.js +89 -0
- package/dist/shell/parts/header.d.ts +34 -0
- package/dist/shell/parts/header.d.ts.map +1 -0
- package/dist/shell/parts/header.js +353 -0
- package/dist/shell/parts/mobile/retap.d.ts +42 -0
- package/dist/shell/parts/mobile/retap.d.ts.map +1 -0
- package/dist/shell/parts/mobile/retap.js +52 -0
- package/dist/shell/parts/mobile/section-nav/chrome-state.d.ts +5 -0
- package/dist/shell/parts/mobile/section-nav/chrome-state.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/chrome-state.js +39 -0
- package/dist/shell/parts/mobile/section-nav/drawer.d.ts +4 -0
- package/dist/shell/parts/mobile/section-nav/drawer.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/drawer.js +231 -0
- package/dist/shell/parts/mobile/section-nav/host.d.ts +37 -0
- package/dist/shell/parts/mobile/section-nav/host.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/host.js +52 -0
- package/dist/shell/parts/mobile/section-nav/measure.d.ts +2 -0
- package/dist/shell/parts/mobile/section-nav/measure.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/measure.js +19 -0
- package/dist/shell/parts/mobile/section-nav/model.d.ts +38 -0
- package/dist/shell/parts/mobile/section-nav/model.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/model.js +63 -0
- package/dist/shell/parts/mobile/section-nav/parts.d.ts +34 -0
- package/dist/shell/parts/mobile/section-nav/parts.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/parts.js +86 -0
- package/dist/shell/parts/mobile/section-nav/phone-actions.d.ts +13 -0
- package/dist/shell/parts/mobile/section-nav/phone-actions.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/phone-actions.js +65 -0
- package/dist/shell/parts/mobile/section-nav/phone-rail.d.ts +10 -0
- package/dist/shell/parts/mobile/section-nav/phone-rail.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/phone-rail.js +187 -0
- package/dist/shell/parts/mobile/section-nav/rows.d.ts +5 -0
- package/dist/shell/parts/mobile/section-nav/rows.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/rows.js +63 -0
- package/dist/shell/parts/mobile/section-nav/safe.d.ts +8 -0
- package/dist/shell/parts/mobile/section-nav/safe.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/safe.js +4 -0
- package/dist/shell/parts/mobile/section-nav/section-bar.d.ts +24 -0
- package/dist/shell/parts/mobile/section-nav/section-bar.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/section-bar.js +101 -0
- package/dist/shell/parts/mobile/section-nav/snaps.d.ts +25 -0
- package/dist/shell/parts/mobile/section-nav/snaps.d.ts.map +1 -0
- package/dist/shell/parts/mobile/section-nav/snaps.js +17 -0
- package/dist/shell/parts/mounts.d.ts +14 -0
- package/dist/shell/parts/mounts.d.ts.map +1 -0
- package/dist/shell/parts/mounts.js +29 -0
- package/dist/shell/parts/nav-row-menu.d.ts +17 -0
- package/dist/shell/parts/nav-row-menu.d.ts.map +1 -0
- package/dist/shell/parts/nav-row-menu.js +56 -0
- package/dist/shell/parts/print.d.ts +14 -0
- package/dist/shell/parts/print.d.ts.map +1 -0
- package/dist/shell/parts/print.js +33 -0
- package/dist/shell/parts/rail-favorites.d.ts +4 -0
- package/dist/shell/parts/rail-favorites.d.ts.map +1 -0
- package/dist/shell/parts/rail-favorites.js +118 -0
- package/dist/shell/parts/rail-folds.d.ts +5 -0
- package/dist/shell/parts/rail-folds.d.ts.map +1 -0
- package/dist/shell/parts/rail-folds.js +32 -0
- package/dist/shell/parts/rail-resize.d.ts +3 -0
- package/dist/shell/parts/rail-resize.d.ts.map +1 -0
- package/dist/shell/parts/rail-resize.js +92 -0
- package/dist/shell/parts/rail-rows.d.ts +9 -0
- package/dist/shell/parts/rail-rows.d.ts.map +1 -0
- package/dist/shell/parts/rail-rows.js +169 -0
- package/dist/shell/parts/rail-search.d.ts +10 -0
- package/dist/shell/parts/rail-search.d.ts.map +1 -0
- package/dist/shell/parts/rail-search.js +56 -0
- package/dist/shell/parts/rail-section.d.ts +7 -0
- package/dist/shell/parts/rail-section.d.ts.map +1 -0
- package/dist/shell/parts/rail-section.js +112 -0
- package/dist/shell/parts/rail-test-kit.d.ts +12 -0
- package/dist/shell/parts/rail-test-kit.d.ts.map +1 -0
- package/dist/shell/parts/rail-test-kit.js +38 -0
- package/dist/shell/parts/rail-text.d.ts +9 -0
- package/dist/shell/parts/rail-text.d.ts.map +1 -0
- package/dist/shell/parts/rail-text.js +16 -0
- package/dist/shell/parts/rail.d.ts +19 -0
- package/dist/shell/parts/rail.d.ts.map +1 -0
- package/dist/shell/parts/rail.js +117 -0
- package/dist/shell/parts/section-column.d.ts +11 -0
- package/dist/shell/parts/section-column.d.ts.map +1 -0
- package/dist/shell/parts/section-column.js +89 -0
- package/dist/shell/parts/settings.d.ts +18 -0
- package/dist/shell/parts/settings.d.ts.map +1 -0
- package/dist/shell/parts/settings.js +73 -0
- package/dist/shell/parts/top-nav.d.ts +20 -0
- package/dist/shell/parts/top-nav.d.ts.map +1 -0
- package/dist/shell/parts/top-nav.js +143 -0
- package/dist/shell/parts/workspace-switcher.d.ts +19 -0
- package/dist/shell/parts/workspace-switcher.d.ts.map +1 -0
- package/dist/shell/parts/workspace-switcher.js +98 -0
- package/dist/static/article-layout.d.ts +62 -0
- package/dist/static/article-layout.d.ts.map +1 -0
- package/dist/static/article-layout.js +129 -0
- package/dist/static/bento.d.ts +50 -0
- package/dist/static/bento.d.ts.map +1 -0
- package/dist/static/bento.js +49 -0
- package/dist/static/blocks.d.ts +25 -0
- package/dist/static/blocks.d.ts.map +1 -0
- package/dist/static/blocks.js +34 -0
- package/dist/static/call-to-action.d.ts +23 -0
- package/dist/static/call-to-action.d.ts.map +1 -0
- package/dist/static/call-to-action.js +36 -0
- package/dist/static/callout.d.ts +27 -0
- package/dist/static/callout.d.ts.map +1 -0
- package/dist/static/callout.js +57 -0
- package/dist/static/changelog.d.ts +41 -0
- package/dist/static/changelog.d.ts.map +1 -0
- package/dist/static/changelog.js +47 -0
- package/dist/static/code-block.d.ts +28 -0
- package/dist/static/code-block.d.ts.map +1 -0
- package/dist/static/code-block.js +34 -0
- package/dist/static/comparison.d.ts +55 -0
- package/dist/static/comparison.d.ts.map +1 -0
- package/dist/static/comparison.js +100 -0
- package/dist/static/data-table.d.ts +35 -0
- package/dist/static/data-table.d.ts.map +1 -0
- package/dist/static/data-table.js +46 -0
- package/dist/static/dates.d.ts +5 -0
- package/dist/static/dates.d.ts.map +1 -0
- package/dist/static/dates.js +11 -0
- package/dist/static/form.d.ts +71 -0
- package/dist/static/form.d.ts.map +1 -0
- package/dist/static/form.js +88 -0
- package/dist/static/glyphs.d.ts +20 -0
- package/dist/static/glyphs.d.ts.map +1 -0
- package/dist/static/glyphs.js +33 -0
- package/dist/static/hero.d.ts +36 -0
- package/dist/static/hero.d.ts.map +1 -0
- package/dist/static/hero.js +36 -0
- package/dist/static/index.d.ts +47 -0
- package/dist/static/index.d.ts.map +1 -0
- package/dist/static/index.js +51 -0
- package/dist/static/markup.d.ts +21 -0
- package/dist/static/markup.d.ts.map +1 -0
- package/dist/static/markup.js +17 -0
- package/dist/static/mdx.d.ts +28 -0
- package/dist/static/mdx.d.ts.map +1 -0
- package/dist/static/mdx.js +74 -0
- package/dist/static/post-list.d.ts +43 -0
- package/dist/static/post-list.d.ts.map +1 -0
- package/dist/static/post-list.js +52 -0
- package/dist/static/question-list.d.ts +36 -0
- package/dist/static/question-list.d.ts.map +1 -0
- package/dist/static/question-list.js +43 -0
- package/dist/static/site-footer.d.ts +28 -0
- package/dist/static/site-footer.d.ts.map +1 -0
- package/dist/static/site-footer.js +39 -0
- package/dist/static/site-header.d.ts +57 -0
- package/dist/static/site-header.d.ts.map +1 -0
- package/dist/static/site-header.js +250 -0
- package/dist/static/site-nav.d.ts +38 -0
- package/dist/static/site-nav.d.ts.map +1 -0
- package/dist/static/site-nav.js +29 -0
- package/dist/static/site-script.d.ts +20 -0
- package/dist/static/site-script.d.ts.map +1 -0
- package/dist/static/site-script.js +89 -0
- package/dist/static/tabs.d.ts +46 -0
- package/dist/static/tabs.d.ts.map +1 -0
- package/dist/static/tabs.js +53 -0
- package/dist/static/theme-switch.d.ts +23 -0
- package/dist/static/theme-switch.d.ts.map +1 -0
- package/dist/static/theme-switch.js +35 -0
- package/dist/static/toc.d.ts +23 -0
- package/dist/static/toc.d.ts.map +1 -0
- package/dist/static/toc.js +36 -0
- package/dist/static/types.d.ts +60 -0
- package/dist/static/types.d.ts.map +1 -0
- package/dist/static/types.js +0 -0
- package/dist/surfaces.d.ts +297 -193
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +268 -326
- package/dist/table/contract.d.ts +576 -0
- package/dist/table/contract.d.ts.map +1 -0
- package/dist/table/contract.js +0 -0
- package/dist/table/core/arrange.d.ts +44 -0
- package/dist/table/core/arrange.d.ts.map +1 -0
- package/dist/table/core/arrange.js +51 -0
- package/dist/table/core/cell-parts.d.ts +67 -0
- package/dist/table/core/cell-parts.d.ts.map +1 -0
- package/dist/table/core/cell-parts.js +90 -0
- package/dist/table/core/codec.d.ts +84 -0
- package/dist/table/core/codec.d.ts.map +1 -0
- package/dist/table/core/codec.js +237 -0
- package/dist/table/core/features.d.ts +111 -0
- package/dist/table/core/features.d.ts.map +1 -0
- package/dist/table/core/features.js +81 -0
- package/dist/table/core/filters.d.ts +77 -0
- package/dist/table/core/filters.d.ts.map +1 -0
- package/dist/table/core/filters.js +123 -0
- package/dist/table/core/keyboard.d.ts +64 -0
- package/dist/table/core/keyboard.d.ts.map +1 -0
- package/dist/table/core/keyboard.js +308 -0
- package/dist/table/core/kind-icons.d.ts +5 -0
- package/dist/table/core/kind-icons.d.ts.map +1 -0
- package/dist/table/core/kind-icons.js +94 -0
- package/dist/table/core/kinds-cells.d.ts +325 -0
- package/dist/table/core/kinds-cells.d.ts.map +1 -0
- package/dist/table/core/kinds-cells.js +834 -0
- package/dist/table/core/kinds-codec.d.ts +34 -0
- package/dist/table/core/kinds-codec.d.ts.map +1 -0
- package/dist/table/core/kinds-codec.js +30 -0
- package/dist/table/core/kinds-engine.d.ts +7 -0
- package/dist/table/core/kinds-engine.d.ts.map +1 -0
- package/dist/table/core/kinds-engine.js +37 -0
- package/dist/table/core/kinds-spec.d.ts +253 -0
- package/dist/table/core/kinds-spec.d.ts.map +1 -0
- package/dist/table/core/kinds-spec.js +298 -0
- package/dist/table/core/kinds.d.ts +550 -0
- package/dist/table/core/kinds.d.ts.map +1 -0
- package/dist/table/core/kinds.js +1387 -0
- package/dist/table/core/plan.d.ts +131 -0
- package/dist/table/core/plan.d.ts.map +1 -0
- package/dist/table/core/plan.js +252 -0
- package/dist/table/core/selection.d.ts +47 -0
- package/dist/table/core/selection.d.ts.map +1 -0
- package/dist/table/core/selection.js +85 -0
- package/dist/table/core/state.d.ts +76 -0
- package/dist/table/core/state.d.ts.map +1 -0
- package/dist/table/core/state.js +160 -0
- package/dist/table/index.d.ts +25 -15
- package/dist/table/index.d.ts.map +1 -1
- package/dist/table/index.js +21 -4
- package/dist/table/layouts/add-menu.d.ts +16 -0
- package/dist/table/layouts/add-menu.d.ts.map +1 -0
- package/dist/table/layouts/add-menu.js +35 -0
- package/dist/table/layouts/board-layout.d.ts +11 -0
- package/dist/table/layouts/board-layout.d.ts.map +1 -0
- package/dist/table/layouts/board-layout.js +182 -0
- package/dist/table/layouts/card-tick.d.ts +15 -0
- package/dist/table/layouts/card-tick.d.ts.map +1 -0
- package/dist/table/layouts/card-tick.js +28 -0
- package/dist/table/layouts/gallery-layout.d.ts +6 -0
- package/dist/table/layouts/gallery-layout.d.ts.map +1 -0
- package/dist/table/layouts/gallery-layout.js +135 -0
- package/dist/table/layouts/glyphs.d.ts +14 -0
- package/dist/table/layouts/glyphs.d.ts.map +1 -0
- package/dist/table/layouts/glyphs.js +34 -0
- package/dist/table/layouts/layout-phase.d.ts +18 -0
- package/dist/table/layouts/layout-phase.d.ts.map +1 -0
- package/dist/table/layouts/layout-phase.js +107 -0
- package/dist/table/layouts/model.d.ts +57 -0
- package/dist/table/layouts/model.d.ts.map +1 -0
- package/dist/table/layouts/model.js +109 -0
- package/dist/table/layouts/specs.d.ts +26 -0
- package/dist/table/layouts/specs.d.ts.map +1 -0
- package/dist/table/layouts/specs.js +42 -0
- package/dist/table/layouts/toggle.d.ts +31 -0
- package/dist/table/layouts/toggle.d.ts.map +1 -0
- package/dist/table/layouts/toggle.js +55 -0
- package/dist/table/parts/add-filter.d.ts +7 -0
- package/dist/table/parts/add-filter.d.ts.map +1 -0
- package/dist/table/parts/add-filter.js +47 -0
- package/dist/table/parts/auto-detail.d.ts +17 -0
- package/dist/table/parts/auto-detail.d.ts.map +1 -0
- package/dist/table/parts/auto-detail.js +24 -0
- package/dist/table/parts/body.d.ts +57 -0
- package/dist/table/parts/body.d.ts.map +1 -0
- package/dist/table/parts/body.js +335 -0
- package/dist/table/parts/bulk-bar.d.ts +40 -0
- package/dist/table/parts/bulk-bar.d.ts.map +1 -0
- package/dist/table/parts/bulk-bar.js +172 -0
- package/dist/table/parts/category-order.d.ts +14 -0
- package/dist/table/parts/category-order.d.ts.map +1 -0
- package/dist/table/parts/category-order.js +52 -0
- package/dist/table/parts/cell-filter.d.ts +42 -0
- package/dist/table/parts/cell-filter.d.ts.map +1 -0
- package/dist/table/parts/cell-filter.js +52 -0
- package/dist/table/parts/chips.d.ts +26 -0
- package/dist/table/parts/chips.d.ts.map +1 -0
- package/dist/table/parts/chips.js +81 -0
- package/dist/table/parts/column-actions.d.ts +48 -0
- package/dist/table/parts/column-actions.d.ts.map +1 -0
- package/dist/table/parts/column-actions.js +170 -0
- package/dist/table/parts/data-table.d.ts +37 -0
- package/dist/table/parts/data-table.d.ts.map +1 -0
- package/dist/table/parts/data-table.js +338 -0
- package/dist/table/parts/detail-sheet.d.ts +9 -0
- package/dist/table/parts/detail-sheet.d.ts.map +1 -0
- package/dist/table/parts/detail-sheet.js +102 -0
- package/dist/table/parts/filter-text.d.ts +12 -0
- package/dist/table/parts/filter-text.d.ts.map +1 -0
- package/dist/table/parts/filter-text.js +34 -0
- package/dist/table/parts/footer-model.d.ts +54 -0
- package/dist/table/parts/footer-model.d.ts.map +1 -0
- package/dist/table/parts/footer-model.js +73 -0
- package/dist/table/parts/footer.d.ts +38 -0
- package/dist/table/parts/footer.d.ts.map +1 -0
- package/dist/table/parts/footer.js +131 -0
- package/dist/table/parts/group-row-model.d.ts +36 -0
- package/dist/table/parts/group-row-model.d.ts.map +1 -0
- package/dist/table/parts/group-row-model.js +50 -0
- package/dist/table/parts/group-row.d.ts +32 -0
- package/dist/table/parts/group-row.d.ts.map +1 -0
- package/dist/table/parts/group-row.js +143 -0
- package/dist/table/parts/head.d.ts +53 -0
- package/dist/table/parts/head.d.ts.map +1 -0
- package/dist/table/parts/head.js +462 -0
- package/dist/table/parts/live-row-actions.d.ts +9 -0
- package/dist/table/parts/live-row-actions.d.ts.map +1 -0
- package/dist/table/parts/live-row-actions.js +62 -0
- package/dist/table/parts/order-list.d.ts +22 -0
- package/dist/table/parts/order-list.d.ts.map +1 -0
- package/dist/table/parts/order-list.js +166 -0
- package/dist/table/parts/pager.d.ts +35 -0
- package/dist/table/parts/pager.d.ts.map +1 -0
- package/dist/table/parts/pager.js +184 -0
- package/dist/table/parts/phases.d.ts +50 -0
- package/dist/table/parts/phases.d.ts.map +1 -0
- package/dist/table/parts/phases.js +200 -0
- package/dist/table/parts/plus-glyph.d.ts +6 -0
- package/dist/table/parts/plus-glyph.d.ts.map +1 -0
- package/dist/table/parts/plus-glyph.js +8 -0
- package/dist/table/parts/range-editor.d.ts +17 -0
- package/dist/table/parts/range-editor.d.ts.map +1 -0
- package/dist/table/parts/range-editor.js +153 -0
- package/dist/table/parts/row-focus.d.ts +45 -0
- package/dist/table/parts/row-focus.d.ts.map +1 -0
- package/dist/table/parts/row-focus.js +131 -0
- package/dist/table/parts/row-menu.d.ts +14 -0
- package/dist/table/parts/row-menu.d.ts.map +1 -0
- package/dist/table/parts/row-menu.js +35 -0
- package/dist/table/parts/row-number.d.ts +40 -0
- package/dist/table/parts/row-number.d.ts.map +1 -0
- package/dist/table/parts/row-number.js +48 -0
- package/dist/table/parts/search-label.d.ts +5 -0
- package/dist/table/parts/search-label.d.ts.map +1 -0
- package/dist/table/parts/search-label.js +9 -0
- package/dist/table/parts/select-cell.d.ts +23 -0
- package/dist/table/parts/select-cell.d.ts.map +1 -0
- package/dist/table/parts/select-cell.js +77 -0
- package/dist/table/parts/tick-column.d.ts +29 -0
- package/dist/table/parts/tick-column.d.ts.map +1 -0
- package/dist/table/parts/tick-column.js +40 -0
- package/dist/table/parts/tiers.d.ts +40 -0
- package/dist/table/parts/tiers.d.ts.map +1 -0
- package/dist/table/parts/tiers.js +83 -0
- package/dist/table/parts/toolbar-editor.d.ts +14 -0
- package/dist/table/parts/toolbar-editor.d.ts.map +1 -0
- package/dist/table/parts/toolbar-editor.js +154 -0
- package/dist/table/parts/toolbar-filters.d.ts +35 -0
- package/dist/table/parts/toolbar-filters.d.ts.map +1 -0
- package/dist/table/parts/toolbar-filters.js +31 -0
- package/dist/table/parts/toolbar.d.ts +25 -0
- package/dist/table/parts/toolbar.d.ts.map +1 -0
- package/dist/table/parts/toolbar.js +146 -0
- package/dist/table/parts/tree-row-model.d.ts +38 -0
- package/dist/table/parts/tree-row-model.d.ts.map +1 -0
- package/dist/table/parts/tree-row-model.js +75 -0
- package/dist/table/parts/tri-state-header.d.ts +23 -0
- package/dist/table/parts/tri-state-header.d.ts.map +1 -0
- package/dist/table/parts/tri-state-header.js +40 -0
- package/dist/table/parts/view-door.d.ts +17 -0
- package/dist/table/parts/view-door.d.ts.map +1 -0
- package/dist/table/parts/view-door.js +51 -0
- package/dist/table/parts/view-panel.d.ts +7 -0
- package/dist/table/parts/view-panel.d.ts.map +1 -0
- package/dist/table/parts/view-panel.js +605 -0
- package/dist/table/parts/view-tab-menu.d.ts +17 -0
- package/dist/table/parts/view-tab-menu.d.ts.map +1 -0
- package/dist/table/parts/view-tab-menu.js +47 -0
- package/dist/table/parts/views-model.d.ts +64 -0
- package/dist/table/parts/views-model.d.ts.map +1 -0
- package/dist/table/parts/views-model.js +228 -0
- package/dist/table/parts/views.d.ts +126 -0
- package/dist/table/parts/views.d.ts.map +1 -0
- package/dist/table/parts/views.js +564 -0
- package/dist/table/parts/virtual.d.ts +33 -0
- package/dist/table/parts/virtual.d.ts.map +1 -0
- package/dist/table/parts/virtual.js +120 -0
- package/dist/table/table.css +2688 -0
- package/dist/table/use-data-table.d.ts +284 -0
- package/dist/table/use-data-table.d.ts.map +1 -0
- package/dist/table/use-data-table.js +751 -0
- package/dist/testing/dom-shims.d.ts +29 -0
- package/dist/testing/dom-shims.d.ts.map +1 -0
- package/dist/testing/dom-shims.js +114 -0
- package/dist/testing/expect-catalog.d.ts +30 -0
- package/dist/testing/expect-catalog.d.ts.map +1 -0
- package/dist/testing/expect-catalog.js +102 -0
- package/dist/testing/fake-channel.d.ts +17 -0
- package/dist/testing/fake-channel.d.ts.map +1 -0
- package/dist/testing/fake-channel.js +78 -0
- package/dist/testing/index.d.ts +8 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +14 -0
- package/dist/testing/quality.d.ts +101 -0
- package/dist/testing/quality.d.ts.map +1 -0
- package/dist/testing/quality.js +419 -0
- package/dist/testing/settled.d.ts +37 -0
- package/dist/testing/settled.d.ts.map +1 -0
- package/dist/testing/settled.js +42 -0
- package/dist/testing/shell-invariants.d.ts +134 -0
- package/dist/testing/shell-invariants.d.ts.map +1 -0
- package/dist/testing/shell-invariants.js +274 -0
- package/dist/testing/slots.d.ts +16 -0
- package/dist/testing/slots.d.ts.map +1 -0
- package/dist/testing/slots.js +5 -0
- package/dist/tokens/accents.d.ts +37 -0
- package/dist/tokens/accents.d.ts.map +1 -0
- package/dist/tokens/accents.js +26 -0
- package/dist/tokens/basalt-names.d.ts +3 -0
- package/dist/tokens/basalt-names.d.ts.map +1 -0
- package/dist/tokens/basalt-names.js +367 -0
- package/dist/tokens/chart-vars.d.ts +85 -0
- package/dist/tokens/chart-vars.d.ts.map +1 -0
- package/dist/tokens/chart-vars.js +212 -0
- package/dist/tokens/core.d.ts +68 -124
- package/dist/tokens/core.d.ts.map +1 -1
- package/dist/tokens/core.js +114 -197
- package/dist/tokens/ctl-vars.d.ts +1 -9
- package/dist/tokens/ctl-vars.d.ts.map +1 -1
- package/dist/tokens/ctl-vars.js +1 -11
- package/dist/tokens/derive.d.ts +132 -4
- package/dist/tokens/derive.d.ts.map +1 -1
- package/dist/tokens/derive.js +236 -13
- package/dist/tokens/emit-fallback.d.ts +21 -0
- package/dist/tokens/emit-fallback.d.ts.map +1 -0
- package/dist/tokens/emit-fallback.js +22 -0
- package/dist/tokens/emit-json.d.ts +19 -0
- package/dist/tokens/emit-json.d.ts.map +1 -0
- package/dist/tokens/emit-json.js +29 -0
- package/dist/tokens/emit.d.ts +71 -0
- package/dist/tokens/emit.d.ts.map +1 -0
- package/dist/tokens/emit.js +179 -0
- package/dist/tokens/gates.d.ts +36 -0
- package/dist/tokens/gates.d.ts.map +1 -0
- package/dist/tokens/gates.js +177 -0
- package/dist/tokens/golden/default.css +233 -0
- package/dist/tokens/golden/hue-268-vibrancy-1.css +233 -0
- package/dist/tokens/hct.d.ts +1 -1
- package/dist/tokens/index.d.ts +4 -2
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +19 -5
- package/dist/tokens/motion.d.ts +140 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/tokens/motion.js +41 -0
- package/dist/tokens/oklab.d.ts +3 -3
- package/dist/tokens/oklab.d.ts.map +1 -1
- package/dist/tokens/palette.d.ts +122 -146
- package/dist/tokens/palette.d.ts.map +1 -1
- package/dist/tokens/palette.js +81 -79
- package/dist/tokens/part-vars.d.ts +8 -0
- package/dist/tokens/part-vars.d.ts.map +1 -0
- package/dist/tokens/part-vars.js +72 -0
- package/dist/tokens/ramps.d.ts +44 -0
- package/dist/tokens/ramps.d.ts.map +1 -0
- package/dist/tokens/ramps.js +32 -0
- package/dist/tokens/site-text.d.ts +8 -0
- package/dist/tokens/site-text.d.ts.map +1 -0
- package/dist/tokens/site-text.js +7 -0
- package/dist/tokens/size-classes.d.ts +12 -15
- package/dist/tokens/size-classes.d.ts.map +1 -1
- package/dist/tokens/size-classes.js +4 -4
- package/dist/tokens/space-scale.d.ts +2 -2
- package/dist/tokens/status-text.d.ts +16 -1
- package/dist/tokens/status-text.d.ts.map +1 -1
- package/dist/tokens/status-text.js +15 -0
- package/dist/tokens/table.d.ts +93 -0
- package/dist/tokens/table.d.ts.map +1 -0
- package/dist/tokens/table.js +599 -0
- package/dist/ui/accordion.d.ts +58 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/accordion.guard.d.ts +13 -0
- package/dist/ui/accordion.guard.d.ts.map +1 -0
- package/dist/ui/accordion.guard.js +6 -0
- package/dist/ui/accordion.js +96 -0
- package/dist/ui/alert.d.ts +35 -0
- package/dist/ui/alert.d.ts.map +1 -0
- package/dist/ui/alert.guard.d.ts +14 -0
- package/dist/ui/alert.guard.d.ts.map +1 -0
- package/dist/ui/alert.guard.js +8 -0
- package/dist/ui/alert.js +76 -0
- package/dist/ui/avatar.d.ts +75 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/avatar.guard.d.ts +29 -0
- package/dist/ui/avatar.guard.d.ts.map +1 -0
- package/dist/ui/avatar.guard.js +14 -0
- package/dist/ui/avatar.js +154 -0
- package/dist/ui/badge.d.ts +95 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/badge.guard.d.ts +16 -0
- package/dist/ui/badge.guard.d.ts.map +1 -0
- package/dist/ui/badge.guard.js +8 -0
- package/dist/ui/badge.js +162 -0
- package/dist/ui/button.d.ts +73 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/button.guard.d.ts +24 -0
- package/dist/ui/button.guard.d.ts.map +1 -0
- package/dist/ui/button.guard.js +12 -0
- package/dist/ui/button.js +127 -0
- package/dist/ui/calendar-grid.d.ts +31 -0
- package/dist/ui/calendar-grid.d.ts.map +1 -0
- package/dist/ui/calendar-grid.js +133 -0
- package/dist/ui/calendar.d.ts +74 -0
- package/dist/ui/calendar.d.ts.map +1 -0
- package/dist/ui/calendar.guard.d.ts +42 -0
- package/dist/ui/calendar.guard.d.ts.map +1 -0
- package/dist/ui/calendar.guard.js +12 -0
- package/dist/ui/calendar.js +119 -0
- package/dist/ui/card.d.ts +129 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/card.guard.d.ts +12 -0
- package/dist/ui/card.guard.d.ts.map +1 -0
- package/dist/ui/card.guard.js +6 -0
- package/dist/ui/card.js +202 -0
- package/dist/ui/checkbox-matrix.d.ts +82 -0
- package/dist/ui/checkbox-matrix.d.ts.map +1 -0
- package/dist/ui/checkbox-matrix.guard.d.ts +24 -0
- package/dist/ui/checkbox-matrix.guard.d.ts.map +1 -0
- package/dist/ui/checkbox-matrix.guard.js +6 -0
- package/dist/ui/checkbox-matrix.js +226 -0
- package/dist/ui/checkbox.d.ts +71 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/checkbox.guard.d.ts +24 -0
- package/dist/ui/checkbox.guard.d.ts.map +1 -0
- package/dist/ui/checkbox.guard.js +8 -0
- package/dist/ui/checkbox.js +110 -0
- package/dist/ui/choice-card.d.ts +41 -0
- package/dist/ui/choice-card.d.ts.map +1 -0
- package/dist/ui/choice-card.guard.d.ts +17 -0
- package/dist/ui/choice-card.guard.d.ts.map +1 -0
- package/dist/ui/choice-card.guard.js +6 -0
- package/dist/ui/choice-card.js +51 -0
- package/dist/ui/collapsible.d.ts +44 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/collapsible.guard.d.ts +13 -0
- package/dist/ui/collapsible.guard.d.ts.map +1 -0
- package/dist/ui/collapsible.guard.js +6 -0
- package/dist/ui/collapsible.js +43 -0
- package/dist/ui/combobox.d.ts +310 -0
- package/dist/ui/combobox.d.ts.map +1 -0
- package/dist/ui/combobox.guard.d.ts +22 -0
- package/dist/ui/combobox.guard.d.ts.map +1 -0
- package/dist/ui/combobox.guard.js +12 -0
- package/dist/ui/combobox.js +642 -0
- package/dist/ui/context-menu.d.ts +66 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/context-menu.js +130 -0
- package/dist/ui/control-group.d.ts +129 -0
- package/dist/ui/control-group.d.ts.map +1 -0
- package/dist/ui/control-group.guard.d.ts +21 -0
- package/dist/ui/control-group.guard.d.ts.map +1 -0
- package/dist/ui/control-group.guard.js +12 -0
- package/dist/ui/control-group.js +132 -0
- package/dist/ui/copy-button.d.ts +35 -0
- package/dist/ui/copy-button.d.ts.map +1 -0
- package/dist/ui/copy-button.js +80 -0
- package/dist/ui/date-picker.d.ts +104 -0
- package/dist/ui/date-picker.d.ts.map +1 -0
- package/dist/ui/date-picker.guard.d.ts +38 -0
- package/dist/ui/date-picker.guard.d.ts.map +1 -0
- package/dist/ui/date-picker.guard.js +13 -0
- package/dist/ui/date-picker.js +265 -0
- package/dist/ui/dialog.d.ts +172 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dialog.guard.d.ts +30 -0
- package/dist/ui/dialog.guard.d.ts.map +1 -0
- package/dist/ui/dialog.guard.js +16 -0
- package/dist/ui/dialog.js +207 -0
- package/dist/ui/drag-auto-scroll.d.ts +31 -0
- package/dist/ui/drag-auto-scroll.d.ts.map +1 -0
- package/dist/ui/drag-auto-scroll.js +78 -0
- package/dist/ui/entity.d.ts +81 -0
- package/dist/ui/entity.d.ts.map +1 -0
- package/dist/ui/entity.guard.d.ts +25 -0
- package/dist/ui/entity.guard.d.ts.map +1 -0
- package/dist/ui/entity.guard.js +14 -0
- package/dist/ui/entity.js +124 -0
- package/dist/ui/field.d.ts +115 -0
- package/dist/ui/field.d.ts.map +1 -0
- package/dist/ui/field.guard.d.ts +16 -0
- package/dist/ui/field.guard.d.ts.map +1 -0
- package/dist/ui/field.guard.js +8 -0
- package/dist/ui/field.js +112 -0
- package/dist/ui/file-upload.d.ts +75 -0
- package/dist/ui/file-upload.d.ts.map +1 -0
- package/dist/ui/file-upload.guard.d.ts +24 -0
- package/dist/ui/file-upload.guard.d.ts.map +1 -0
- package/dist/ui/file-upload.guard.js +10 -0
- package/dist/ui/file-upload.js +330 -0
- package/dist/ui/guard-completeness.d.ts +28 -0
- package/dist/ui/guard-completeness.d.ts.map +1 -0
- package/dist/ui/guard-completeness.js +164 -0
- package/dist/ui/header-actions.d.ts +9 -0
- package/dist/ui/header-actions.d.ts.map +1 -0
- package/dist/ui/header-actions.js +22 -0
- package/dist/ui/info-hint.d.ts +61 -0
- package/dist/ui/info-hint.d.ts.map +1 -0
- package/dist/ui/info-hint.guard.d.ts +23 -0
- package/dist/ui/info-hint.guard.d.ts.map +1 -0
- package/dist/ui/info-hint.guard.js +10 -0
- package/dist/ui/info-hint.js +28 -0
- package/dist/ui/input.d.ts +41 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/input.guard.d.ts +12 -0
- package/dist/ui/input.guard.d.ts.map +1 -0
- package/dist/ui/input.guard.js +6 -0
- package/dist/ui/input.js +59 -0
- package/dist/ui/kbd.d.ts +30 -0
- package/dist/ui/kbd.d.ts.map +1 -0
- package/dist/ui/kbd.guard.d.ts +13 -0
- package/dist/ui/kbd.guard.d.ts.map +1 -0
- package/dist/ui/kbd.guard.js +6 -0
- package/dist/ui/kbd.js +40 -0
- package/dist/ui/leave-confirm.d.ts +20 -0
- package/dist/ui/leave-confirm.d.ts.map +1 -0
- package/dist/ui/leave-confirm.js +34 -0
- package/dist/ui/list-sheet.d.ts +25 -0
- package/dist/ui/list-sheet.d.ts.map +1 -0
- package/dist/ui/list-sheet.js +8 -0
- package/dist/ui/menu.d.ts +159 -0
- package/dist/ui/menu.d.ts.map +1 -0
- package/dist/ui/menu.guard.d.ts +51 -0
- package/dist/ui/menu.guard.d.ts.map +1 -0
- package/dist/ui/menu.guard.js +18 -0
- package/dist/ui/menu.js +248 -0
- package/dist/ui/meter.d.ts +143 -0
- package/dist/ui/meter.d.ts.map +1 -0
- package/dist/ui/meter.guard.d.ts +26 -0
- package/dist/ui/meter.guard.d.ts.map +1 -0
- package/dist/ui/meter.guard.js +26 -0
- package/dist/ui/meter.js +380 -0
- package/dist/ui/num.d.ts +37 -0
- package/dist/ui/num.d.ts.map +1 -0
- package/dist/ui/num.guard.d.ts +15 -0
- package/dist/ui/num.guard.d.ts.map +1 -0
- package/dist/ui/num.guard.js +8 -0
- package/dist/ui/num.js +36 -0
- package/dist/ui/number-field.d.ts +45 -0
- package/dist/ui/number-field.d.ts.map +1 -0
- package/dist/ui/number-field.guard.d.ts +18 -0
- package/dist/ui/number-field.guard.d.ts.map +1 -0
- package/dist/ui/number-field.guard.js +6 -0
- package/dist/ui/number-field.js +87 -0
- package/dist/ui/one-time-code.d.ts +54 -0
- package/dist/ui/one-time-code.d.ts.map +1 -0
- package/dist/ui/one-time-code.guard.d.ts +18 -0
- package/dist/ui/one-time-code.guard.d.ts.map +1 -0
- package/dist/ui/one-time-code.guard.js +6 -0
- package/dist/ui/one-time-code.js +65 -0
- package/dist/ui/overlay-presenter.d.ts +65 -0
- package/dist/ui/overlay-presenter.d.ts.map +1 -0
- package/dist/ui/overlay-presenter.js +82 -0
- package/dist/ui/overlay-sheet.d.ts +8 -0
- package/dist/ui/overlay-sheet.d.ts.map +1 -0
- package/dist/ui/overlay-sheet.js +37 -0
- package/dist/ui/password-input.d.ts +18 -0
- package/dist/ui/password-input.d.ts.map +1 -0
- package/dist/ui/password-input.js +66 -0
- package/dist/ui/popover.d.ts +77 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.guard.d.ts +31 -0
- package/dist/ui/popover.guard.d.ts.map +1 -0
- package/dist/ui/popover.guard.js +12 -0
- package/dist/ui/popover.js +118 -0
- package/dist/ui/primitive.contract.d.ts +63 -0
- package/dist/ui/primitive.contract.d.ts.map +1 -0
- package/dist/ui/primitive.contract.js +302 -0
- package/dist/ui/progress.d.ts +84 -0
- package/dist/ui/progress.d.ts.map +1 -0
- package/dist/ui/progress.guard.d.ts +27 -0
- package/dist/ui/progress.guard.d.ts.map +1 -0
- package/dist/ui/progress.guard.js +14 -0
- package/dist/ui/progress.js +150 -0
- package/dist/ui/quick-picks.d.ts +46 -0
- package/dist/ui/quick-picks.d.ts.map +1 -0
- package/dist/ui/quick-picks.guard.d.ts +18 -0
- package/dist/ui/quick-picks.guard.d.ts.map +1 -0
- package/dist/ui/quick-picks.guard.js +6 -0
- package/dist/ui/quick-picks.js +45 -0
- package/dist/ui/radio-group.d.ts +79 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/radio-group.guard.d.ts +21 -0
- package/dist/ui/radio-group.guard.d.ts.map +1 -0
- package/dist/ui/radio-group.guard.js +8 -0
- package/dist/ui/radio-group.js +86 -0
- package/dist/ui/resizable.d.ts +62 -0
- package/dist/ui/resizable.d.ts.map +1 -0
- package/dist/ui/resizable.js +42 -0
- package/dist/ui/scroll-area.d.ts +35 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/scroll-area.guard.d.ts +13 -0
- package/dist/ui/scroll-area.guard.d.ts.map +1 -0
- package/dist/ui/scroll-area.guard.js +8 -0
- package/dist/ui/scroll-area.js +75 -0
- package/dist/ui/segmented.d.ts +102 -0
- package/dist/ui/segmented.d.ts.map +1 -0
- package/dist/ui/segmented.guard.d.ts +22 -0
- package/dist/ui/segmented.guard.d.ts.map +1 -0
- package/dist/ui/segmented.guard.js +8 -0
- package/dist/ui/segmented.js +134 -0
- package/dist/ui/select.d.ts +211 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/select.guard.d.ts +27 -0
- package/dist/ui/select.guard.d.ts.map +1 -0
- package/dist/ui/select.guard.js +14 -0
- package/dist/ui/select.js +467 -0
- package/dist/ui/separator.d.ts +32 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/separator.guard.d.ts +12 -0
- package/dist/ui/separator.guard.d.ts.map +1 -0
- package/dist/ui/separator.guard.js +6 -0
- package/dist/ui/separator.js +30 -0
- package/dist/ui/sheet.d.ts +150 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sheet.guard.d.ts +28 -0
- package/dist/ui/sheet.guard.d.ts.map +1 -0
- package/dist/ui/sheet.guard.js +15 -0
- package/dist/ui/sheet.js +359 -0
- package/dist/ui/skeleton.d.ts +52 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton.guard.d.ts +15 -0
- package/dist/ui/skeleton.guard.d.ts.map +1 -0
- package/dist/ui/skeleton.guard.js +8 -0
- package/dist/ui/skeleton.js +54 -0
- package/dist/ui/slider.d.ts +43 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/slider.guard.d.ts +20 -0
- package/dist/ui/slider.guard.d.ts.map +1 -0
- package/dist/ui/slider.guard.js +6 -0
- package/dist/ui/slider.js +56 -0
- package/dist/ui/slots.d.ts +60 -0
- package/dist/ui/slots.d.ts.map +1 -0
- package/dist/ui/slots.js +112 -0
- package/dist/ui/sortable-list.d.ts +67 -0
- package/dist/ui/sortable-list.d.ts.map +1 -0
- package/dist/ui/sortable-list.js +275 -0
- package/dist/ui/status.d.ts +62 -0
- package/dist/ui/status.d.ts.map +1 -0
- package/dist/ui/status.guard.d.ts +16 -0
- package/dist/ui/status.guard.d.ts.map +1 -0
- package/dist/ui/status.guard.js +12 -0
- package/dist/ui/status.js +43 -0
- package/dist/ui/swatch-picker.d.ts +59 -0
- package/dist/ui/swatch-picker.d.ts.map +1 -0
- package/dist/ui/swatch-picker.guard.d.ts +20 -0
- package/dist/ui/swatch-picker.guard.d.ts.map +1 -0
- package/dist/ui/swatch-picker.guard.js +6 -0
- package/dist/ui/swatch-picker.js +198 -0
- package/dist/ui/switch.d.ts +31 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/switch.guard.d.ts +16 -0
- package/dist/ui/switch.guard.d.ts.map +1 -0
- package/dist/ui/switch.guard.js +6 -0
- package/dist/ui/switch.js +16 -0
- package/dist/ui/table.d.ts +91 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.guard.d.ts +14 -0
- package/dist/ui/table.guard.d.ts.map +1 -0
- package/dist/ui/table.guard.js +8 -0
- package/dist/ui/table.js +132 -0
- package/dist/ui/tabs.d.ts +103 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/tabs.guard.d.ts +12 -0
- package/dist/ui/tabs.guard.d.ts.map +1 -0
- package/dist/ui/tabs.guard.js +6 -0
- package/dist/ui/tabs.js +148 -0
- package/dist/ui/tag-input.d.ts +59 -0
- package/dist/ui/tag-input.d.ts.map +1 -0
- package/dist/ui/tag-input.guard.d.ts +19 -0
- package/dist/ui/tag-input.guard.d.ts.map +1 -0
- package/dist/ui/tag-input.guard.js +6 -0
- package/dist/ui/tag-input.js +191 -0
- package/dist/ui/textarea.d.ts +39 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/textarea.guard.d.ts +17 -0
- package/dist/ui/textarea.guard.d.ts.map +1 -0
- package/dist/ui/textarea.guard.js +6 -0
- package/dist/ui/textarea.js +66 -0
- package/dist/ui/toast.d.ts +77 -0
- package/dist/ui/toast.d.ts.map +1 -0
- package/dist/ui/toast.guard.d.ts +12 -0
- package/dist/ui/toast.guard.d.ts.map +1 -0
- package/dist/ui/toast.guard.js +6 -0
- package/dist/ui/toast.js +109 -0
- package/dist/ui/toolbar.d.ts +101 -0
- package/dist/ui/toolbar.d.ts.map +1 -0
- package/dist/ui/toolbar.guard.d.ts +16 -0
- package/dist/ui/toolbar.guard.d.ts.map +1 -0
- package/dist/ui/toolbar.guard.js +10 -0
- package/dist/ui/toolbar.js +68 -0
- package/dist/ui/tooltip.d.ts +48 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui/tooltip.guard.d.ts +19 -0
- package/dist/ui/tooltip.guard.d.ts.map +1 -0
- package/dist/ui/tooltip.guard.js +8 -0
- package/dist/ui/tooltip.js +122 -0
- package/dist/ui/tree.d.ts +170 -0
- package/dist/ui/tree.d.ts.map +1 -0
- package/dist/ui/tree.guard.d.ts +41 -0
- package/dist/ui/tree.guard.d.ts.map +1 -0
- package/dist/ui/tree.guard.js +10 -0
- package/dist/ui/tree.js +1290 -0
- package/dist/ui/virtual-list.d.ts +94 -0
- package/dist/ui/virtual-list.d.ts.map +1 -0
- package/dist/ui/virtual-list.guard.d.ts +20 -0
- package/dist/ui/virtual-list.guard.d.ts.map +1 -0
- package/dist/ui/virtual-list.guard.js +13 -0
- package/dist/ui/virtual-list.js +93 -0
- package/dist/vite/allotment.d.ts +26 -0
- package/dist/vite/allotment.d.ts.map +1 -0
- package/dist/vite/allotment.js +108 -0
- package/dist/vite/doc.d.ts +4 -0
- package/dist/vite/doc.d.ts.map +1 -0
- package/dist/vite/doc.js +92 -0
- package/dist/vite/ejects.d.ts +19 -0
- package/dist/vite/ejects.d.ts.map +1 -0
- package/dist/vite/ejects.js +46 -0
- package/dist/vite/graph.d.ts +36 -0
- package/dist/vite/graph.d.ts.map +1 -0
- package/dist/vite/graph.js +167 -0
- package/dist/vite/head.d.ts +72 -0
- package/dist/vite/head.d.ts.map +1 -0
- package/dist/vite/head.js +201 -0
- package/dist/vite/index.d.ts +25 -0
- package/dist/vite/index.d.ts.map +1 -0
- package/dist/vite/index.js +143 -0
- package/dist/vite/sources.d.ts +16 -0
- package/dist/vite/sources.d.ts.map +1 -0
- package/dist/vite/sources.js +32 -0
- package/dist/vite/table-sheet.d.ts +3 -0
- package/dist/vite/table-sheet.d.ts.map +1 -0
- package/dist/vite/table-sheet.js +12 -0
- package/docs/accordion.md +60 -0
- package/docs/add.md +34 -0
- package/docs/alert.md +37 -0
- package/docs/app-shell.md +71 -0
- package/docs/appearance-switcher.md +38 -0
- package/docs/apply-move.md +28 -0
- package/docs/area-y.md +27 -0
- package/docs/article-layout.md +48 -0
- package/docs/astro-parts.md +22 -0
- package/docs/astro.md +404 -0
- package/docs/avatar.md +63 -0
- package/docs/badge.md +77 -0
- package/docs/band-strip.md +38 -0
- package/docs/bar-list.md +57 -0
- package/docs/bars.md +55 -0
- package/docs/basalt-astro.md +40 -0
- package/docs/basalt-provider.md +40 -0
- package/docs/basalt-shiki.md +27 -0
- package/docs/basalt.md +36 -0
- package/docs/bind-invalidation.md +52 -0
- package/docs/block-frame.md +26 -0
- package/docs/board.md +45 -0
- package/docs/bulk-bar.md +36 -0
- package/docs/button.md +58 -0
- package/docs/calendar.md +49 -0
- package/docs/callout.md +36 -0
- package/docs/card-figure.md +29 -0
- package/docs/card-footer.md +30 -0
- package/docs/card-grid.md +33 -0
- package/docs/card-strip.md +29 -0
- package/docs/card-tabs.md +29 -0
- package/docs/card.md +102 -0
- package/docs/cartesian-chart-guide.md +204 -0
- package/docs/cartesian-chart.md +57 -0
- package/docs/cell-meta.md +28 -0
- package/docs/cell-stack.md +32 -0
- package/docs/chain-view.md +53 -0
- package/docs/chart-card-states.md +52 -0
- package/docs/chart-card.md +79 -0
- package/docs/chart-cursor.md +20 -0
- package/docs/chart-labels.md +62 -0
- package/docs/checkbox-matrix.md +53 -0
- package/docs/checkbox.md +55 -0
- package/docs/choice-card.md +40 -0
- package/docs/code-block.md +37 -0
- package/docs/col.md +113 -0
- package/docs/collapsible.md +50 -0
- package/docs/combobox.md +212 -0
- package/docs/command-palette.md +55 -0
- package/docs/composer.md +41 -0
- package/docs/connection-indicator.md +36 -0
- package/docs/context-menu.md +56 -0
- package/docs/control-group.md +108 -0
- package/docs/control-home.md +31 -0
- package/docs/control-property.md +36 -0
- package/docs/control-view.md +33 -0
- package/docs/copy-button.md +35 -0
- package/docs/create-app-form.md +35 -0
- package/docs/create-channel.md +46 -0
- package/docs/create-format.md +24 -0
- package/docs/create-query-client.md +26 -0
- package/docs/create-synced-state.md +69 -0
- package/docs/data-panel.md +89 -0
- package/docs/data-table-body.md +34 -0
- package/docs/data-table.md +38 -0
- package/docs/date-picker.md +81 -0
- package/docs/date-stepper.md +43 -0
- package/docs/de.md +29 -0
- package/docs/define-block.md +55 -0
- package/docs/define-catalog.md +36 -0
- package/docs/define-commands.md +32 -0
- package/docs/define-control-kind.md +31 -0
- package/docs/define-controls.md +80 -0
- package/docs/define-nav.md +53 -0
- package/docs/define-overlays.md +34 -0
- package/docs/delta.md +31 -0
- package/docs/dialog.md +135 -0
- package/docs/dock.md +56 -0
- package/docs/dot.md +27 -0
- package/docs/eject.md +49 -0
- package/docs/empty-state.md +49 -0
- package/docs/empty.md +33 -0
- package/docs/entity.md +63 -0
- package/docs/es.md +29 -0
- package/docs/event-list.md +55 -0
- package/docs/expect-catalog.md +32 -0
- package/docs/expect-shell-invariants.md +36 -0
- package/docs/external-field.md +33 -0
- package/docs/external-href.md +30 -0
- package/docs/facet-counts.md +28 -0
- package/docs/fact.md +30 -0
- package/docs/facts.md +33 -0
- package/docs/favorite-toggle.md +38 -0
- package/docs/field.md +110 -0
- package/docs/file-upload.md +54 -0
- package/docs/filter-set.md +42 -0
- package/docs/filter-slot.md +32 -0
- package/docs/flow-canvas.md +57 -0
- package/docs/flow-checklist.md +34 -0
- package/docs/foot-facts.md +27 -0
- package/docs/form-action-row.md +38 -0
- package/docs/form-confirm-row.md +40 -0
- package/docs/form-field.md +53 -0
- package/docs/form-footer.md +35 -0
- package/docs/form-group-row.md +44 -0
- package/docs/form-row.md +35 -0
- package/docs/form-section.md +52 -0
- package/docs/fr.md +29 -0
- package/docs/frame-tabs.md +45 -0
- package/docs/frame-tiles.md +47 -0
- package/docs/heatmap.md +44 -0
- package/docs/info-hint.md +32 -0
- package/docs/inner-nav.md +62 -0
- package/docs/input.md +36 -0
- package/docs/install-dom-shims.md +27 -0
- package/docs/interval-track.md +47 -0
- package/docs/intl-scope.md +35 -0
- package/docs/kanban-card.md +52 -0
- package/docs/kbd.md +33 -0
- package/docs/line-y.md +27 -0
- package/docs/lines.md +55 -0
- package/docs/link.md +27 -0
- package/docs/live-query.md +36 -0
- package/docs/mail-list.md +59 -0
- package/docs/mail-thread.md +36 -0
- package/docs/mdx-components.md +30 -0
- package/docs/menu.md +141 -0
- package/docs/message-actions.md +30 -0
- package/docs/message.md +33 -0
- package/docs/meter.md +65 -0
- package/docs/mini-bars.md +58 -0
- package/docs/model-picker.md +39 -0
- package/docs/motion-duration.md +26 -0
- package/docs/motion-ease-enter.md +21 -0
- package/docs/motion-ease-exit.md +21 -0
- package/docs/motion-ease-standard.md +21 -0
- package/docs/motion-preset.md +29 -0
- package/docs/motion-spring.md +26 -0
- package/docs/motion-stagger.md +19 -0
- package/docs/motion.md +82 -0
- package/docs/nav-target.md +29 -0
- package/docs/notify.md +32 -0
- package/docs/num.md +37 -0
- package/docs/number-field.md +41 -0
- package/docs/one-time-code.md +52 -0
- package/docs/optimistic.md +35 -0
- package/docs/overlay-host.md +30 -0
- package/docs/page-aside.md +39 -0
- package/docs/page-bar.md +92 -0
- package/docs/page-summary.md +45 -0
- package/docs/page.md +47 -0
- package/docs/part-view.md +31 -0
- package/docs/password-input.md +29 -0
- package/docs/peek.md +60 -0
- package/docs/period-of.md +29 -0
- package/docs/persisted.md +67 -0
- package/docs/popover.md +60 -0
- package/docs/progress.md +63 -0
- package/docs/property-list.md +37 -0
- package/docs/prose.md +36 -0
- package/docs/quality.md +38 -0
- package/docs/query-state.md +40 -0
- package/docs/quick-picks.md +41 -0
- package/docs/radio-group.md +53 -0
- package/docs/range-navigator.md +34 -0
- package/docs/reasoning-trace.md +31 -0
- package/docs/recipes/.gitkeep +0 -0
- package/docs/recipes/add-page.md +33 -0
- package/docs/recipes/ai-approvals-sources.md +51 -0
- package/docs/recipes/ai-artifacts.md +59 -0
- package/docs/recipes/ai-blocks.md +59 -0
- package/docs/recipes/ai-card.md +47 -0
- package/docs/recipes/ai-external-runtime.md +59 -0
- package/docs/recipes/ai-sdk-tools.md +57 -0
- package/docs/recipes/app-shell.md +27 -0
- package/docs/recipes/band.md +59 -0
- package/docs/recipes/board.md +39 -0
- package/docs/recipes/candlestick.md +50 -0
- package/docs/recipes/card-regions.md +60 -0
- package/docs/recipes/chat-thread-composer.md +43 -0
- package/docs/recipes/chat-thread-scroll.md +45 -0
- package/docs/recipes/chat-thread.md +60 -0
- package/docs/recipes/cursor-table.md +56 -0
- package/docs/recipes/dashboard-cells.md +60 -0
- package/docs/recipes/dependent-validation.md +50 -0
- package/docs/recipes/end-marker.md +54 -0
- package/docs/recipes/export.md +38 -0
- package/docs/recipes/field-array.md +54 -0
- package/docs/recipes/file-drop.md +53 -0
- package/docs/recipes/forecast-segment.md +44 -0
- package/docs/recipes/inner-nav.md +52 -0
- package/docs/recipes/loader-suspense.md +50 -0
- package/docs/recipes/localise-app.md +61 -0
- package/docs/recipes/lollipop.md +56 -0
- package/docs/recipes/markdown.md +40 -0
- package/docs/recipes/mdx.md +33 -0
- package/docs/recipes/memory-state.md +48 -0
- package/docs/recipes/optimistic-list.md +60 -0
- package/docs/recipes/optimistic.md +26 -0
- package/docs/recipes/realtime-client.md +50 -0
- package/docs/recipes/remembered-values.md +47 -0
- package/docs/recipes/saved-views.md +60 -0
- package/docs/recipes/seam-bar.md +59 -0
- package/docs/recipes/seam-linked.md +56 -0
- package/docs/recipes/seam-track.md +61 -0
- package/docs/recipes/shot-state.md +21 -0
- package/docs/recipes/threshold-recolor.md +46 -0
- package/docs/recipes/timeline.md +59 -0
- package/docs/recipes/trend-line.md +43 -0
- package/docs/recipes/two-pane.md +51 -0
- package/docs/recipes/view-switch.md +55 -0
- package/docs/recipes/websocket-transport.md +60 -0
- package/docs/recipes/window-key.md +40 -0
- package/docs/record-at.md +33 -0
- package/docs/rect.md +27 -0
- package/docs/refresh-button.md +45 -0
- package/docs/relationship-card.md +50 -0
- package/docs/resizable.md +58 -0
- package/docs/router-defaults.md +41 -0
- package/docs/row-list.md +66 -0
- package/docs/schedule.md +59 -0
- package/docs/scroll-area.md +36 -0
- package/docs/section.md +40 -0
- package/docs/segmented.md +66 -0
- package/docs/select.md +145 -0
- package/docs/separator.md +33 -0
- package/docs/set-appearance.md +26 -0
- package/docs/set-scheme.md +23 -0
- package/docs/settings-layout.md +40 -0
- package/docs/settled.md +31 -0
- package/docs/sheet.md +95 -0
- package/docs/shot-state.md +49 -0
- package/docs/site-article.md +43 -0
- package/docs/site-bento.md +35 -0
- package/docs/site-call-to-action.md +32 -0
- package/docs/site-callout.md +36 -0
- package/docs/site-changelog.md +32 -0
- package/docs/site-code-block.md +35 -0
- package/docs/site-comparison.md +47 -0
- package/docs/site-data-table.md +34 -0
- package/docs/site-feature.md +31 -0
- package/docs/site-field.md +38 -0
- package/docs/site-footer.md +35 -0
- package/docs/site-form.md +35 -0
- package/docs/site-header.md +59 -0
- package/docs/site-hero.md +41 -0
- package/docs/site-mdx-components.md +37 -0
- package/docs/site-nav.md +34 -0
- package/docs/site-pager.md +32 -0
- package/docs/site-post-list.md +35 -0
- package/docs/site-question-list.md +37 -0
- package/docs/site-script.md +30 -0
- package/docs/site-submit.md +27 -0
- package/docs/site-tab.md +31 -0
- package/docs/site-tabs.md +36 -0
- package/docs/skeleton.md +52 -0
- package/docs/slider.md +40 -0
- package/docs/slots.md +28 -0
- package/docs/sortable-list.md +43 -0
- package/docs/sparkline.md +64 -0
- package/docs/spec.md +41 -0
- package/docs/split-page.md +44 -0
- package/docs/stagger-delay.md +26 -0
- package/docs/stat-card.md +77 -0
- package/docs/stat-cell.md +66 -0
- package/docs/stat-group.md +37 -0
- package/docs/static-site.md +163 -0
- package/docs/status.md +53 -0
- package/docs/step-rail.md +39 -0
- package/docs/stepper.md +35 -0
- package/docs/swatch-picker.md +48 -0
- package/docs/switch.md +33 -0
- package/docs/table-codec.md +39 -0
- package/docs/table-pager.md +29 -0
- package/docs/table-toolbar.md +33 -0
- package/docs/table.md +101 -0
- package/docs/tabs.md +80 -0
- package/docs/tag-input.md +53 -0
- package/docs/testing.md +59 -0
- package/docs/text.md +27 -0
- package/docs/textarea.md +38 -0
- package/docs/theme-script.md +36 -0
- package/docs/theme-switch.md +34 -0
- package/docs/to-menu-template.md +31 -0
- package/docs/to-submit-errors.md +28 -0
- package/docs/toast-host.md +27 -0
- package/docs/toast.md +83 -0
- package/docs/toc.md +37 -0
- package/docs/toolbar.md +87 -0
- package/docs/tooltip.md +39 -0
- package/docs/tree.md +63 -0
- package/docs/unwrap.md +29 -0
- package/docs/use-app-form.md +36 -0
- package/docs/use-appearance.md +27 -0
- package/docs/use-chart-focus.md +54 -0
- package/docs/use-connection.md +30 -0
- package/docs/use-control.md +30 -0
- package/docs/use-data-table.md +85 -0
- package/docs/use-favorite.md +34 -0
- package/docs/use-flow.md +30 -0
- package/docs/use-focus-scope.md +24 -0
- package/docs/use-form-draft.md +40 -0
- package/docs/use-format.md +31 -0
- package/docs/use-freshness.md +33 -0
- package/docs/use-hotkey.md +28 -0
- package/docs/use-local-control.md +28 -0
- package/docs/use-motion-preset.md +29 -0
- package/docs/use-now.md +19 -0
- package/docs/use-peek.md +32 -0
- package/docs/use-resolved-tokens.md +29 -0
- package/docs/use-size-class.md +32 -0
- package/docs/use-table-views.md +39 -0
- package/docs/use-unsaved-guard.md +52 -0
- package/docs/use-window-chrome.md +30 -0
- package/docs/verdict.md +27 -0
- package/docs/view-tabs.md +44 -0
- package/docs/virtual-list.md +51 -0
- package/docs/vite.md +79 -0
- package/docs/waterfall.md +53 -0
- package/docs/widgets.md +79 -0
- package/docs/with-form.md +32 -0
- package/docs/wizard-dialog.md +40 -0
- package/docs/zh-hans.md +29 -0
- package/llms.txt +1959 -943
- package/migrations/areas/agent.json +10 -0
- package/migrations/areas/ai.json +10 -0
- package/migrations/areas/cards.json +696 -0
- package/migrations/areas/charts.json +898 -0
- package/migrations/areas/cli.json +146 -0
- package/migrations/areas/content.json +268 -0
- package/migrations/areas/controls.json +425 -0
- package/migrations/areas/data.json +133 -0
- package/migrations/areas/legacy-1x.json +663 -0
- package/migrations/areas/lint.json +130 -0
- package/migrations/areas/page.json +251 -0
- package/migrations/areas/removed-2x.json +421 -0
- package/migrations/areas/router.json +144 -0
- package/migrations/areas/shell.json +489 -0
- package/migrations/areas/state.json +511 -0
- package/migrations/areas/table.json +536 -0
- package/migrations/areas/tokens.json +3294 -0
- package/migrations/areas/ui.json +1651 -0
- package/package.json +451 -153
- package/src/ai/caret.ts +51 -0
- package/src/ai/catalog/block.tsx +113 -0
- package/src/ai/catalog/define.ts +86 -0
- package/src/ai/catalog/validate.ts +144 -0
- package/src/ai/composer.tsx +545 -0
- package/src/ai/contract.ts +142 -0
- package/src/ai/glyphs.tsx +89 -0
- package/src/ai/index.ts +31 -0
- package/src/ai/mention-text.ts +106 -0
- package/src/ai/message.tsx +178 -0
- package/src/ai/model-picker.tsx +144 -0
- package/src/ai/part-view.tsx +146 -0
- package/src/ai/reasoning-trace.tsx +190 -0
- package/src/ai/tool-view.ts +54 -0
- package/src/astro/BasaltFonts.astro +32 -0
- package/src/astro/SiteHead.astro +21 -0
- package/src/astro/build.ts +94 -0
- package/src/astro/fonts.ts +25 -0
- package/src/astro/head.ts +157 -0
- package/src/astro/index.ts +227 -0
- package/src/astro/islands.ts +81 -0
- package/src/astro/mdx/Chart.astro +25 -0
- package/src/astro/mdx/DataTable.astro +27 -0
- package/src/astro/mdx/chart-island.tsx +166 -0
- package/src/astro/mdx/css.d.ts +2 -0
- package/src/astro/mdx/messages.ts +9 -0
- package/src/astro/mdx/table-island.tsx +77 -0
- package/src/astro/notes.ts +203 -0
- package/src/astro/parts.ts +514 -0
- package/src/astro/shiki.ts +30 -0
- package/src/astro/sources.ts +103 -0
- package/src/cards/bar-list-scroll.tsx +92 -0
- package/src/cards/bar-list.tsx +453 -0
- package/src/cards/bar-list.type-guard.tsx +107 -0
- package/src/cards/board.tsx +448 -0
- package/src/cards/cards.type-guard.tsx +82 -0
- package/src/cards/chain-layout.ts +291 -0
- package/src/cards/chain-view.tsx +597 -0
- package/src/cards/contract.ts +193 -0
- package/src/cards/data-panel.tsx +557 -0
- package/src/cards/edge-path.ts +70 -0
- package/src/cards/event-list-model.ts +167 -0
- package/src/cards/event-list.tsx +496 -0
- package/src/cards/flow-canvas.tsx +780 -0
- package/src/cards/flow-checklist.tsx +94 -0
- package/src/cards/flow.ts +136 -0
- package/src/cards/frame-caps.type-guard.tsx +94 -0
- package/src/cards/frame-kit.tsx +125 -0
- package/src/cards/frame-types.type-guard.ts +35 -0
- package/src/cards/index.ts +82 -0
- package/src/cards/kanban-actions.ts +41 -0
- package/src/cards/kanban-card.tsx +347 -0
- package/src/cards/kanban-card.type-guard.tsx +57 -0
- package/src/cards/list-focus.ts +304 -0
- package/src/cards/mail-list.tsx +580 -0
- package/src/cards/mail-thread.tsx +219 -0
- package/src/cards/optional-undefined.type-guard.tsx +84 -0
- package/src/cards/period-label.ts +31 -0
- package/src/cards/relationship-card.tsx +161 -0
- package/src/cards/row-list.tsx +326 -0
- package/src/cards/row-list.type-guard.tsx +67 -0
- package/src/cards/schedule-model.ts +178 -0
- package/src/cards/schedule.tsx +1236 -0
- package/src/cards/stat-card-parts.tsx +69 -0
- package/src/cards/stat-card.tsx +303 -0
- package/src/cards/stat-cell.tsx +615 -0
- package/src/cards/stat-group-shared.ts +39 -0
- package/src/cards/stat-group.tsx +356 -0
- package/src/cards/stat-group.type-guard.tsx +146 -0
- package/src/cards/step-rail.tsx +201 -0
- package/src/cards/viewport.ts +310 -0
- package/src/charts/axis-gaps.ts +524 -0
- package/src/charts/box.tsx +44 -10
- package/src/charts/canvas.ts +164 -0
- package/src/charts/card-context.ts +10 -0
- package/src/charts/chart-box.module.css +205 -42
- package/src/charts/chart-box.module.css.d.ts +2 -0
- package/src/charts/chart-dates.ts +32 -14
- package/src/charts/chart-labels-widths.gen.ts +101 -0
- package/src/charts/chart-labels.ts +220 -0
- package/src/charts/chart-legend.module.css +50 -5
- package/src/charts/chart-legend.module.css.d.ts +1 -0
- package/src/charts/contract.ts +707 -0
- package/src/charts/core/axis-ext.ts +569 -0
- package/src/charts/core/bar-values.ts +989 -0
- package/src/charts/core/compile.ts +3412 -0
- package/src/charts/core/cursor.ts +461 -0
- package/src/charts/core/curves.ts +111 -0
- package/src/charts/core/label-backing.ts +75 -0
- package/src/charts/core/label-ties.ts +80 -0
- package/src/charts/core/plot-context.ts +69 -0
- package/src/charts/core/portal.ts +180 -0
- package/src/charts/core/probe/bar.tsx +28 -0
- package/src/charts/core/probe/base0.tsx +4 -0
- package/src/charts/core/probe/line.tsx +22 -0
- package/src/charts/core/probe/sparkline.tsx +59 -0
- package/src/charts/core/readout-clear.ts +244 -0
- package/src/charts/core/rich-tooltip.ts +128 -0
- package/src/charts/core/right-pin.ts +66 -0
- package/src/charts/core/scales.ts +505 -0
- package/src/charts/core/spread.ts +144 -0
- package/src/charts/core/theme.ts +114 -0
- package/src/charts/core/ticks.ts +61 -0
- package/src/charts/csv.ts +40 -0
- package/src/charts/date-tick-format.ts +29 -23
- package/src/charts/engine-marks.ts +82 -0
- package/src/charts/focus.tsx +258 -0
- package/src/charts/host.tsx +64 -41
- package/src/charts/index.ts +94 -38
- package/src/charts/label-obstacles.ts +216 -0
- package/src/charts/label-place.ts +329 -0
- package/src/charts/label-widths.ts +21 -0
- package/src/charts/labels.ts +368 -19
- package/src/charts/legend.tsx +227 -35
- package/src/charts/marks.ts +223 -13
- package/src/charts/optional-undefined.type-guard.tsx +73 -0
- package/src/charts/pane-gutter.ts +16 -0
- package/src/charts/parts/band-fold.ts +107 -0
- package/src/charts/parts/band-strip.tsx +690 -0
- package/src/charts/parts/bars-marks.ts +360 -0
- package/src/charts/parts/bars.tsx +43 -0
- package/src/charts/parts/cartesian-adapt.ts +375 -0
- package/src/charts/parts/cartesian-selection.ts +35 -0
- package/src/charts/parts/cartesian.tsx +894 -0
- package/src/charts/parts/chart-card-frame.tsx +193 -0
- package/src/charts/parts/chart-card.tsx +523 -0
- package/src/charts/parts/chart-panes.tsx +113 -0
- package/src/charts/parts/heatmap-ink.ts +35 -0
- package/src/charts/parts/heatmap.tsx +735 -0
- package/src/charts/parts/interval-layout.ts +103 -0
- package/src/charts/parts/interval-track.tsx +781 -0
- package/src/charts/parts/legend.tsx +97 -0
- package/src/charts/parts/lines-marks.ts +234 -0
- package/src/charts/parts/lines.tsx +39 -0
- package/src/charts/parts/range-navigator.module.css +50 -0
- package/src/charts/parts/range-navigator.module.css.d.ts +9 -0
- package/src/charts/parts/range-navigator.tsx +226 -0
- package/src/charts/parts/sparkline-probe/both.tsx +25 -0
- package/src/charts/parts/sparkline-probe/mini-bars.tsx +14 -0
- package/src/charts/parts/sparkline-probe/sparkline.tsx +16 -0
- package/src/charts/parts/tooltip.ts +85 -0
- package/src/charts/parts/waterfall.tsx +190 -0
- package/src/charts/plot-context.ts +6 -2
- package/src/charts/ref-label.ts +191 -39
- package/src/charts/seams/bar-opacity.ts +11 -0
- package/src/charts/seams/define.ts +68 -0
- package/src/charts/seams/lone-point.ts +8 -0
- package/src/charts/seams/pixel-extent.ts +43 -0
- package/src/charts/seams/plot-data.ts +8 -0
- package/src/charts/seams/plot-px.ts +23 -0
- package/src/charts/seams/plot-scales.ts +62 -0
- package/src/charts/seams/series-axis.ts +8 -0
- package/src/charts/seams/series-dash.ts +8 -0
- package/src/charts/seams/series-format.ts +8 -0
- package/src/charts/seams/series-gaps.ts +8 -0
- package/src/charts/seams/series-legend-tooltip.ts +8 -0
- package/src/charts/seams/series-marker.ts +8 -0
- package/src/charts/seams/series-note.ts +8 -0
- package/src/charts/seams/series-parent.ts +8 -0
- package/src/charts/seams/series-role.ts +8 -0
- package/src/charts/seams/series-weight.ts +8 -0
- package/src/charts/seams/x-domain.ts +8 -0
- package/src/charts/seams/y-domain.ts +139 -0
- package/src/charts/seams/y-gutter.ts +29 -0
- package/src/charts/seams.ts +66 -0
- package/src/charts/sizing.ts +12 -1
- package/src/charts/state.tsx +51 -27
- package/src/charts/text-measure.ts +57 -0
- package/src/charts/tooltip-body.tsx +98 -0
- package/src/charts/track.ts +370 -0
- package/src/charts/types.ts +124 -12
- package/src/cli/add/catalog.ts +101 -0
- package/src/cli/add/help.ts +35 -0
- package/src/cli/add/index.ts +194 -0
- package/src/cli/agent-note.ts +155 -0
- package/src/cli/board-freshness.ts +21 -7
- package/src/cli/budget/index.ts +132 -0
- package/src/cli/config.ts +16 -158
- package/src/cli/docs/catalog.ts +187 -0
- package/src/cli/docs/index.ts +68 -0
- package/src/cli/doctor/app.ts +336 -0
- package/src/cli/doctor/eject.ts +149 -0
- package/src/cli/doctor/guards.ts +136 -0
- package/src/cli/doctor/hook.ts +375 -0
- package/src/cli/doctor/index.ts +114 -0
- package/src/cli/doctor/install.ts +343 -0
- package/src/cli/doctor/legacy.ts +188 -0
- package/src/cli/doctor/translations.ts +310 -0
- package/src/cli/doctor/types.ts +161 -0
- package/src/cli/doctor/wiring.ts +231 -0
- package/src/cli/eject/git.ts +43 -0
- package/src/cli/eject/help.ts +50 -0
- package/src/cli/eject/index.ts +535 -0
- package/src/cli/eject/ledger.ts +159 -0
- package/src/cli/eject/tsconfig.ts +246 -0
- package/src/cli/harness.ts +144 -0
- package/src/cli/help.ts +177 -60
- package/src/cli/index.ts +63 -1420
- package/src/cli/init/app-files.ts +133 -0
- package/src/cli/init/index.ts +323 -0
- package/src/cli/init/locales.ts +124 -0
- package/src/cli/init/router-seeds.ts +278 -0
- package/src/cli/init/site.ts +43 -0
- package/src/cli/init/steps.ts +1088 -0
- package/src/cli/init/stock.ts +88 -0
- package/src/cli/init/upgrade.ts +67 -0
- package/src/cli/install-root.ts +39 -21
- package/src/cli/legacy-2x-files.ts +47 -0
- package/src/cli/legacy-2x.ts +115 -0
- package/src/cli/lint/engine.ts +349 -0
- package/src/cli/lint/hook.ts +325 -0
- package/src/cli/lint/index.ts +178 -0
- package/src/cli/lint/record.ts +99 -0
- package/src/cli/lint/seams.ts +386 -0
- package/src/cli/lint/settings.ts +309 -0
- package/src/cli/lint/stats.ts +198 -0
- package/src/cli/lint/template-classes.ts +127 -0
- package/src/cli/lint-settings.ts +107 -0
- package/src/cli/manifest.ts +304 -0
- package/src/cli/merge/formatter.ts +59 -0
- package/src/cli/merge/header.ts +32 -0
- package/src/cli/merge/merge-file.ts +62 -0
- package/src/cli/merge/seed.ts +109 -0
- package/src/cli/migrate/census.ts +262 -0
- package/src/cli/migrate/index.ts +364 -0
- package/src/cli/migrate/rows.ts +347 -0
- package/src/cli/package-manager.ts +62 -0
- package/src/cli/peers.ts +114 -0
- package/src/cli/presets.ts +175 -0
- package/src/cli/resolver.ts +54 -0
- package/src/cli/route-tree.ts +103 -0
- package/src/cli/router-wiring.ts +58 -7
- package/src/cli/shot/board.ts +59 -106
- package/src/cli/shot/capture.ts +572 -593
- package/src/cli/shot/detect.ts +347 -308
- package/src/cli/shot/facts.ts +266 -0
- package/src/cli/shot/index.ts +145 -251
- package/src/cli/shot/measure.ts +192 -134
- package/src/cli/shot/playwright.ts +37 -39
- package/src/cli/shot/serve.ts +115 -27
- package/src/cli/shot/types.ts +118 -33
- package/src/cli/source-text.ts +11 -0
- package/src/cli/sync/block.ts +59 -0
- package/src/cli/sync/blocks.ts +154 -0
- package/src/cli/sync/engine.ts +189 -0
- package/src/cli/sync/formats.ts +74 -0
- package/src/cli/sync/index.ts +198 -0
- package/src/cli/sync/render.ts +507 -0
- package/src/cli/sync/sibling.ts +67 -0
- package/src/cli/sync/three-way.ts +227 -0
- package/src/cli/tokens-css-extra.ts +205 -0
- package/src/cli/tokens-css.ts +235 -97
- package/src/common/basalt-families.ts +68 -0
- package/src/common/basalt-family.ts +21 -0
- package/src/common/errors.ts +2 -2
- package/src/common/focus.ts +65 -0
- package/src/common/hit-floor.ts +1 -1
- package/src/common/isomorphic-layout-effect.ts +1 -1
- package/src/common/nest.ts +32 -0
- package/src/common/props.ts +32 -28
- package/src/common/retry-button.module.css +26 -21
- package/src/common/retry-button.tsx +5 -2
- package/src/common/use-media-query.ts +2 -3
- package/src/common/validate.ts +1 -1
- package/src/content/code-block.tsx +121 -110
- package/src/content/contract.ts +43 -0
- package/src/content/fence-trust.ts +9 -0
- package/src/content/fences.tsx +143 -0
- package/src/content/headings.tsx +96 -0
- package/src/content/highlighter.ts +112 -17
- package/src/content/index.ts +15 -18
- package/src/content/markdown.tsx +156 -622
- package/src/content/mermaid.tsx +104 -98
- package/src/content/pele-peer.ts +28 -0
- package/src/content/sanitize.ts +64 -488
- package/src/controls/appearance-switcher.tsx +239 -0
- package/src/controls/contract.ts +185 -0
- package/src/controls/control-home.tsx +135 -0
- package/src/controls/control-kind.ts +28 -0
- package/src/controls/control-view.handles.ts +136 -0
- package/src/controls/control-view.tsx +160 -0
- package/src/controls/draft.ts +145 -0
- package/src/controls/facets.ts +35 -0
- package/src/controls/filter-set-census.ts +111 -0
- package/src/controls/filter-set-fold.ts +91 -0
- package/src/controls/filter-set-menu.tsx +258 -0
- package/src/controls/filter-set-spec.tsx +342 -0
- package/src/controls/filter-set.tsx +29 -234
- package/src/controls/filter-slot.tsx +252 -0
- package/src/controls/form-field.tsx +370 -0
- package/src/controls/form-footer.tsx +205 -0
- package/src/controls/form-row.tsx +60 -0
- package/src/controls/form-section.tsx +220 -0
- package/src/controls/globals.tsx +56 -0
- package/src/controls/index.ts +73 -13
- package/src/controls/local-control.ts +34 -0
- package/src/controls/renderers.tsx +514 -0
- package/src/controls/row-icon.tsx +18 -0
- package/src/controls/settings-rows.tsx +326 -0
- package/src/controls/spec.ts +82 -0
- package/src/controls/stepper.tsx +226 -0
- package/src/controls/submit.ts +84 -0
- package/src/controls/use-committed-field.ts +117 -0
- package/src/controls/view-tabs.test-support.tsx +72 -0
- package/src/controls/view-tabs.tsx +184 -153
- package/src/controls/wizard-dialog.tsx +312 -0
- package/src/core/action-menu-items.tsx +73 -0
- package/src/core/action.ts +52 -0
- package/src/core/appearance.ts +166 -0
- package/src/core/binding.ts +41 -0
- package/src/core/card-menu.tsx +230 -0
- package/src/core/channel-transport.ts +74 -0
- package/src/core/channel.ts +454 -0
- package/src/core/chord-keys.tsx +36 -0
- package/src/core/chord.ts +234 -0
- package/src/core/clipboard.ts +27 -0
- package/src/core/cn-theme.gen.ts +57 -0
- package/src/core/cn-theme.ts +60 -0
- package/src/core/cn.ts +407 -0
- package/src/core/commit-key.ts +17 -0
- package/src/core/context-trigger.ts +314 -0
- package/src/core/control-scope.ts +50 -0
- package/src/core/could-not-load.ts +9 -0
- package/src/core/date-stepper.tsx +145 -0
- package/src/core/debounce.ts +80 -0
- package/src/core/drag-landing.ts +11 -0
- package/src/core/error-dot.tsx +15 -0
- package/src/core/external-field.golden.json +34 -0
- package/src/core/external-field.ts +104 -0
- package/src/core/focus-handle.tsx +264 -0
- package/src/core/focus-release.ts +26 -0
- package/src/core/focus-store.ts +696 -0
- package/src/core/form-dirty.ts +47 -0
- package/src/core/format.ts +347 -0
- package/src/core/frame-arm.ts +19 -0
- package/src/core/frame-figure.tsx +193 -0
- package/src/core/frame-head.tsx +418 -0
- package/src/core/frame-regions.tsx +579 -0
- package/src/core/frame-spec.test-support.tsx +81 -0
- package/src/core/frame-tiles.tsx +104 -0
- package/src/core/href.ts +51 -0
- package/src/core/info-hint.tsx +164 -0
- package/src/core/keyboard.ts +65 -0
- package/src/core/label-text.tsx +11 -0
- package/src/core/label.ts +45 -0
- package/src/core/lanes.ts +85 -0
- package/src/core/leave-guard.ts +179 -0
- package/src/core/link-href.type-guard.tsx +45 -0
- package/src/core/link.ts +26 -0
- package/src/core/list/engine.tsx +605 -0
- package/src/core/list/option-row.tsx +204 -0
- package/src/core/list/options.ts +165 -0
- package/src/core/list/popup.tsx +83 -0
- package/src/core/list/rank.ts +65 -0
- package/src/core/list-link.ts +109 -0
- package/src/core/live-actions.ts +131 -0
- package/src/core/mark-focus.ts +94 -0
- package/src/core/mark-tone.ts +42 -0
- package/src/core/mark-types.ts +98 -0
- package/src/core/menu-key.ts +3 -0
- package/src/core/menu.type-guard.tsx +34 -0
- package/src/core/messages/ai.ts +71 -0
- package/src/core/messages/base.ts +31 -0
- package/src/core/messages/cards.ts +16 -0
- package/src/core/messages/chain.ts +27 -0
- package/src/core/messages/charts.ts +54 -0
- package/src/core/messages/common.ts +189 -0
- package/src/core/messages/content.ts +8 -0
- package/src/core/messages/controls.ts +80 -0
- package/src/core/messages/date.ts +22 -0
- package/src/core/messages/dialogs.ts +17 -0
- package/src/core/messages/filters.ts +31 -0
- package/src/core/messages/flow.ts +28 -0
- package/src/core/messages/home.ts +15 -0
- package/src/core/messages/index.ts +129 -0
- package/src/core/messages/kanban.ts +25 -0
- package/src/core/messages/keys.ts +21 -0
- package/src/core/messages/lists.ts +78 -0
- package/src/core/messages/live.ts +54 -0
- package/src/core/messages/mark.ts +27 -0
- package/src/core/messages/menu.ts +13 -0
- package/src/core/messages/page.ts +71 -0
- package/src/core/messages/schedule.ts +34 -0
- package/src/core/messages/select.ts +21 -0
- package/src/core/messages/shell.ts +82 -0
- package/src/core/messages/sortable.ts +13 -0
- package/src/core/messages/status.ts +27 -0
- package/src/core/messages/table.ts +352 -0
- package/src/core/messages/tree.ts +67 -0
- package/src/core/messages/upload.ts +57 -0
- package/src/core/messages/use-messages.ts +59 -0
- package/src/core/messages/use-text.ts +19 -0
- package/src/core/notify.ts +287 -0
- package/src/core/object-menu-popup.tsx +55 -0
- package/src/core/object-menu.tsx +134 -0
- package/src/core/offline-line.tsx +13 -0
- package/src/core/panel.tsx +267 -0
- package/src/core/parse-number.ts +54 -0
- package/src/core/persisted.golden.json +117 -0
- package/src/core/persisted.ts +437 -0
- package/src/core/phase-boundary.tsx +35 -0
- package/src/core/phase.ts +485 -0
- package/src/core/popup-position.ts +31 -0
- package/src/core/ports.ts +432 -0
- package/src/core/provider-props.tsx +71 -0
- package/src/core/provider.tsx +104 -0
- package/src/core/record-address.tsx +31 -0
- package/src/core/record-steps.ts +56 -0
- package/src/core/resolved-tokens.ts +175 -0
- package/src/core/retry-label.ts +10 -0
- package/src/core/retry-owner.tsx +103 -0
- package/src/core/rows-shown.ts +8 -0
- package/src/core/scheme.ts +81 -0
- package/src/core/sheet-tools.ts +10 -0
- package/src/core/slot-home.ts +12 -0
- package/src/core/slug.ts +48 -0
- package/src/core/spark/compile-spark.ts +142 -0
- package/src/core/spark/mini-bars.tsx +266 -0
- package/src/core/spark/sparkline-shared.tsx +391 -0
- package/src/core/spark/sparkline.tsx +377 -0
- package/src/core/standard-actions.ts +103 -0
- package/src/core/stat-row.ts +22 -0
- package/src/core/tree-model.ts +169 -0
- package/src/core/url.ts +63 -0
- package/src/core/use-control.ts +28 -0
- package/src/core/use-locale.ts +12 -0
- package/src/core/use-now.ts +60 -0
- package/src/core/use-resolved-tokens.ts +19 -0
- package/src/core/use-standard-actions.ts +12 -0
- package/src/core/write-batch.ts +40 -0
- package/src/core/zoned.ts +189 -0
- package/src/css/archify.css +37 -0
- package/src/css/base.css +286 -0
- package/src/css/cursor.css +119 -0
- package/src/css/fonts.css +84 -0
- package/src/css/generate.ts +365 -0
- package/src/css/prose.css +214 -0
- package/src/css/starlight.css +342 -0
- package/src/css/static.css +263 -0
- package/src/css/tailwind.css +254 -0
- package/src/css/templates/fonts.css +82 -0
- package/src/css/templates/prose.css +230 -0
- package/src/css/templates/starlight.css +356 -0
- package/src/css/templates/typography.css +50 -0
- package/src/css/theme-script.ts +73 -0
- package/src/css/tokens.css +233 -0
- package/src/css/touch.css +36 -0
- package/src/css/typography.css +89 -0
- package/src/data/index.ts +17 -0
- package/src/data/live/bind-invalidation.ts +263 -0
- package/src/data/live/connection.ts +261 -0
- package/src/data/live/freshness.ts +165 -0
- package/src/data/live/live-query-runtime.ts +96 -0
- package/src/data/live/live-query.ts +214 -0
- package/src/data/optimistic.ts +109 -0
- package/src/data/query-client.ts +61 -0
- package/src/data/shot-state.ts +132 -0
- package/src/data/synced-runtime.ts +516 -0
- package/src/data/synced.ts +236 -0
- package/src/data/unwrap.ts +71 -0
- package/src/form/contexts.ts +9 -0
- package/src/form/hook.ts +410 -0
- package/src/form/index.ts +17 -0
- package/src/form/parts.tsx +99 -0
- package/src/format/locale.ts +3 -0
- package/src/format/number.ts +5 -110
- package/src/format/shared.ts +52 -98
- package/src/index.ts +77 -67
- package/src/lint/bin.ts +34 -0
- package/src/lint/blanket-disable.ts +114 -0
- package/src/lint/check-tokens.ts +245 -0
- package/src/lint/factory.ts +443 -0
- package/src/lint/generated/gen-site-classes.ts +58 -0
- package/src/lint/generated/gen-zone-a.ts +95 -0
- package/src/lint/generated/site-classes.ts +46 -0
- package/src/lint/generated/zone-a.ts +88 -0
- package/src/lint/index.ts +49 -0
- package/src/lint/lintable.ts +2 -0
- package/src/lint/preset.ts +734 -0
- package/src/lint/renamed-rules.ts +11 -0
- package/src/lint/rule-table.ts +334 -0
- package/src/lint/rules/class/detect.ts +1321 -0
- package/src/lint/rules/class/table.ts +565 -0
- package/src/lint/rules/structure/ast.ts +56 -0
- package/src/lint/rules/structure/color-literal.ts +232 -0
- package/src/lint/rules/structure/control-home.ts +379 -0
- package/src/lint/rules/structure/data-primitive-live.ts +153 -0
- package/src/lint/rules/structure/data-primitive.ts +759 -0
- package/src/lint/rules/structure/format-home.ts +544 -0
- package/src/lint/rules/structure/import-boundary.ts +1160 -0
- package/src/lint/rules/structure/label-literal.ts +617 -0
- package/src/lint/rules/structure/motion-literal.ts +195 -0
- package/src/lint/rules/structure/page-root.ts +229 -0
- package/src/lint/rules/structure/primitive-bypass.ts +1430 -0
- package/src/lint/rules/structure/query-home.ts +227 -0
- package/src/lint/rules/structure/router-search.ts +483 -0
- package/src/lint/rules/structure/untrusted-markdown.ts +507 -0
- package/src/lint/rules/structure/waiver-needs-reason.ts +188 -0
- package/src/lint/stylelint/gen.ts +33 -0
- package/src/lint/stylelint/index.ts +10 -0
- package/src/lint/stylelint/render.ts +89 -0
- package/src/lint/stylelint/rules.ts +348 -0
- package/src/lint/weakened.ts +600 -0
- package/src/lint/weakening-edit.ts +95 -0
- package/src/messages/GLOSSARY.md +65 -0
- package/src/messages/de.ts +708 -0
- package/src/messages/es.ts +711 -0
- package/src/messages/fr.ts +717 -0
- package/src/messages/zh-hans.ts +691 -0
- package/src/motion/index.ts +38 -0
- package/src/motion/presets.ts +96 -0
- package/src/page/article-layout.tsx +231 -0
- package/src/page/article-progress.tsx +76 -0
- package/src/page/callout.tsx +57 -0
- package/src/page/card-grid.tsx +97 -0
- package/src/page/connection-indicator.tsx +154 -0
- package/src/page/contract.ts +297 -0
- package/src/page/core/article-date.ts +27 -0
- package/src/page/core/bar-measure.ts +68 -0
- package/src/page/core/claims.ts +153 -0
- package/src/page/core/docking.ts +86 -0
- package/src/page/core/panel-store.ts +66 -0
- package/src/page/define-overlays.ts +150 -0
- package/src/page/dock.tsx +260 -0
- package/src/page/empty-state.tsx +115 -0
- package/src/page/error-cause.ts +18 -0
- package/src/page/facts.tsx +50 -0
- package/src/page/favorites.tsx +180 -0
- package/src/page/index.ts +67 -0
- package/src/page/mdx.tsx +142 -0
- package/src/page/overlay-host.tsx +115 -0
- package/src/page/page-aside.tsx +386 -0
- package/src/page/page-bar.tsx +735 -0
- package/src/page/page-kit.type-guard.tsx +135 -0
- package/src/page/page-summary.tsx +209 -0
- package/src/page/page-tabs.tsx +78 -0
- package/src/page/page.test-support.tsx +103 -0
- package/src/page/page.tsx +193 -0
- package/src/page/panel-steps.tsx +70 -0
- package/src/page/parts/inner-nav.test-support.tsx +78 -0
- package/src/page/parts/inner-nav.tsx +373 -0
- package/src/page/parts/split-page.tsx +228 -0
- package/src/page/peek-window.tsx +297 -0
- package/src/page/peek.tsx +660 -0
- package/src/page/present-glyph.tsx +33 -0
- package/src/page/property-list.tsx +574 -0
- package/src/page/prose.tsx +50 -0
- package/src/page/query-state.tsx +163 -0
- package/src/page/record-panel.tsx +357 -0
- package/src/page/refresh-button.tsx +198 -0
- package/src/page/search-hint.ts +56 -0
- package/src/page/section.tsx +146 -0
- package/src/page/settings-layout.tsx +128 -0
- package/src/page/toast-host.tsx +89 -0
- package/src/page/toc-click-pin.ts +157 -0
- package/src/page/toc.tsx +226 -0
- package/src/page/use-size-class.ts +45 -0
- package/src/register.ts +11 -57
- package/src/router/controls/brand.ts +104 -0
- package/src/router/controls/codec.ts +207 -0
- package/src/router/controls/define.ts +795 -0
- package/src/router/controls/field.ts +314 -0
- package/src/router/controls/fixtures/argo-window-stores.json +76 -0
- package/src/router/controls/fixtures/cases.json +8 -0
- package/src/router/controls/fixtures/linewatch-dashboard.json +20 -0
- package/src/router/controls/fixtures/shutterflow-photos-settings.json +26 -0
- package/src/router/controls/href.ts +37 -0
- package/src/router/controls/middleware.ts +80 -0
- package/src/router/controls/ownership.ts +86 -0
- package/src/router/controls/precedence.ts +26 -0
- package/src/router/controls/values.ts +15 -0
- package/src/router/controls/widgets.ts +403 -0
- package/src/router/defaults.ts +124 -0
- package/src/router/index.ts +18 -0
- package/src/router/nav/anchor.ts +37 -0
- package/src/router/nav/define-nav.ts +52 -0
- package/src/router/nav/read-labels.ts +102 -0
- package/src/router/nav/registry.ts +35 -0
- package/src/router/nav/resolve-active.ts +144 -0
- package/src/router/nav/types.ts +282 -0
- package/src/router/nav-target.ts +126 -0
- package/src/router/peek.ts +400 -0
- package/src/router/unsaved-guard.ts +65 -0
- package/src/shell/app-shell-host.ts +90 -0
- package/src/shell/app-shell.tsx +405 -0
- package/src/shell/chrome.tsx +118 -0
- package/src/shell/commands/area.ts +12 -0
- package/src/shell/commands/bindings.ts +150 -0
- package/src/shell/commands/command-palette.tsx +382 -0
- package/src/shell/commands/define-commands.ts +346 -0
- package/src/shell/commands/nav-commands.ts +54 -0
- package/src/shell/commands/palette-sheet.tsx +35 -0
- package/src/shell/commands/palette-sources.ts +202 -0
- package/src/shell/commands/rank.ts +38 -0
- package/src/shell/commands/runnable.ts +85 -0
- package/src/shell/commands/shortcut-overlay.tsx +61 -0
- package/src/shell/commands/shortcut-rows.ts +46 -0
- package/src/shell/contract.ts +169 -0
- package/src/shell/core/badges.ts +71 -0
- package/src/shell/core/block-model.ts +132 -0
- package/src/shell/core/column.ts +60 -0
- package/src/shell/core/crumbs.ts +132 -0
- package/src/shell/core/header-tiers.ts +76 -0
- package/src/shell/core/nav-runtime.ts +92 -0
- package/src/shell/core/phone-groups.ts +76 -0
- package/src/shell/core/projector.ts +195 -0
- package/src/shell/core/types.ts +58 -0
- package/src/shell/favorites-host.ts +50 -0
- package/src/shell/index.ts +32 -0
- package/src/shell/menu-template.golden.json +52 -0
- package/src/shell/menu-template.ts +138 -0
- package/src/shell/parts/a11y.tsx +210 -0
- package/src/shell/parts/account.tsx +136 -0
- package/src/shell/parts/blocks.tsx +296 -0
- package/src/shell/parts/crumbs.tsx +81 -0
- package/src/shell/parts/grid.tsx +638 -0
- package/src/shell/parts/header-kebab.tsx +132 -0
- package/src/shell/parts/header.tsx +436 -0
- package/src/shell/parts/mobile/retap.ts +94 -0
- package/src/shell/parts/mobile/section-nav/chrome-state.ts +50 -0
- package/src/shell/parts/mobile/section-nav/drawer.tsx +253 -0
- package/src/shell/parts/mobile/section-nav/host.tsx +94 -0
- package/src/shell/parts/mobile/section-nav/measure.ts +22 -0
- package/src/shell/parts/mobile/section-nav/model.ts +100 -0
- package/src/shell/parts/mobile/section-nav/parts.tsx +114 -0
- package/src/shell/parts/mobile/section-nav/phone-actions.tsx +92 -0
- package/src/shell/parts/mobile/section-nav/phone-rail.tsx +239 -0
- package/src/shell/parts/mobile/section-nav/rows.tsx +94 -0
- package/src/shell/parts/mobile/section-nav/safe.ts +8 -0
- package/src/shell/parts/mobile/section-nav/section-bar.tsx +136 -0
- package/src/shell/parts/mobile/section-nav/snaps.ts +45 -0
- package/src/shell/parts/mounts.tsx +44 -0
- package/src/shell/parts/nav-row-menu.tsx +86 -0
- package/src/shell/parts/print.ts +48 -0
- package/src/shell/parts/rail-favorites.tsx +162 -0
- package/src/shell/parts/rail-folds.ts +47 -0
- package/src/shell/parts/rail-resize.tsx +97 -0
- package/src/shell/parts/rail-rows.tsx +217 -0
- package/src/shell/parts/rail-search.tsx +55 -0
- package/src/shell/parts/rail-section.tsx +146 -0
- package/src/shell/parts/rail-test-kit.tsx +50 -0
- package/src/shell/parts/rail-text.ts +26 -0
- package/src/shell/parts/rail.tsx +160 -0
- package/src/shell/parts/section-column.tsx +124 -0
- package/src/shell/parts/settings.tsx +89 -0
- package/src/shell/parts/top-nav.tsx +218 -0
- package/src/shell/parts/workspace-switcher.tsx +109 -0
- package/src/static/article-layout.tsx +201 -0
- package/src/static/bento.tsx +106 -0
- package/src/static/blocks.tsx +62 -0
- package/src/static/call-to-action.tsx +53 -0
- package/src/static/callout.tsx +79 -0
- package/src/static/changelog.tsx +110 -0
- package/src/static/code-block.tsx +60 -0
- package/src/static/comparison.tsx +169 -0
- package/src/static/data-table.tsx +101 -0
- package/src/static/dates.ts +10 -0
- package/src/static/form.tsx +163 -0
- package/src/static/glyphs.tsx +35 -0
- package/src/static/hero.tsx +74 -0
- package/src/static/index.ts +55 -0
- package/src/static/markup.ts +30 -0
- package/src/static/mdx.tsx +135 -0
- package/src/static/post-list.tsx +112 -0
- package/src/static/question-list.tsx +82 -0
- package/src/static/site-footer.tsx +77 -0
- package/src/static/site-header.tsx +349 -0
- package/src/static/site-nav.tsx +93 -0
- package/src/static/site-script.ts +125 -0
- package/src/static/tabs.tsx +103 -0
- package/src/static/theme-switch.tsx +53 -0
- package/src/static/toc.tsx +59 -0
- package/src/static/types.ts +69 -0
- package/src/surfaces.ts +302 -428
- package/src/table/action-id.type-guard.tsx +31 -0
- package/src/table/column-ids.type-test.ts +181 -0
- package/src/table/contract.ts +587 -0
- package/src/table/contract.type-test.ts +118 -0
- package/src/table/core/arrange.ts +89 -0
- package/src/table/core/cell-parts.tsx +157 -0
- package/src/table/core/codec.ts +392 -0
- package/src/table/core/features.ts +120 -0
- package/src/table/core/filters.ts +214 -0
- package/src/table/core/keyboard.ts +441 -0
- package/src/table/core/kind-icons.tsx +112 -0
- package/src/table/core/kinds-cells.tsx +1254 -0
- package/src/table/core/kinds-codec.ts +66 -0
- package/src/table/core/kinds-engine.ts +64 -0
- package/src/table/core/kinds-spec.ts +575 -0
- package/src/table/core/kinds.tsx +2421 -0
- package/src/table/core/plan.ts +416 -0
- package/src/table/core/selection.ts +154 -0
- package/src/table/core/state.ts +284 -0
- package/src/table/index.ts +66 -16
- package/src/table/invariants/api.ts +37 -0
- package/src/table/invariants/harness.tsx +47 -0
- package/src/table/layouts/add-menu.tsx +49 -0
- package/src/table/layouts/board-layout.tsx +227 -0
- package/src/table/layouts/card-tick.tsx +37 -0
- package/src/table/layouts/gallery-layout.tsx +176 -0
- package/src/table/layouts/glyphs.tsx +45 -0
- package/src/table/layouts/layout-phase.tsx +172 -0
- package/src/table/layouts/model.ts +186 -0
- package/src/table/layouts/specs.ts +79 -0
- package/src/table/layouts/toggle.tsx +77 -0
- package/src/table/parts/add-filter.tsx +63 -0
- package/src/table/parts/auto-detail.tsx +42 -0
- package/src/table/parts/body.tsx +464 -0
- package/src/table/parts/bulk-bar.tsx +277 -0
- package/src/table/parts/category-order.tsx +80 -0
- package/src/table/parts/cell-filter.tsx +96 -0
- package/src/table/parts/cell-filter.type-test.ts +24 -0
- package/src/table/parts/chips.tsx +98 -0
- package/src/table/parts/column-actions.tsx +269 -0
- package/src/table/parts/data-table.tsx +480 -0
- package/src/table/parts/detail-sheet.tsx +140 -0
- package/src/table/parts/filter-text.ts +57 -0
- package/src/table/parts/footer-model.ts +127 -0
- package/src/table/parts/footer.tsx +178 -0
- package/src/table/parts/group-row-model.ts +86 -0
- package/src/table/parts/group-row.tsx +173 -0
- package/src/table/parts/head.tsx +596 -0
- package/src/table/parts/live-row-actions.ts +92 -0
- package/src/table/parts/order-list.tsx +226 -0
- package/src/table/parts/pager.tsx +232 -0
- package/src/table/parts/phases.tsx +304 -0
- package/src/table/parts/plus-glyph.tsx +11 -0
- package/src/table/parts/range-editor.tsx +199 -0
- package/src/table/parts/row-focus.tsx +196 -0
- package/src/table/parts/row-menu.ts +68 -0
- package/src/table/parts/row-number.tsx +80 -0
- package/src/table/parts/search-label.ts +11 -0
- package/src/table/parts/select-cell.tsx +135 -0
- package/src/table/parts/tick-column.tsx +67 -0
- package/src/table/parts/tiers.tsx +133 -0
- package/src/table/parts/toolbar-editor.tsx +223 -0
- package/src/table/parts/toolbar-filters.ts +68 -0
- package/src/table/parts/toolbar.tsx +218 -0
- package/src/table/parts/tree-row-model.ts +121 -0
- package/src/table/parts/tri-state-header.tsx +53 -0
- package/src/table/parts/view-door.ts +85 -0
- package/src/table/parts/view-panel.tsx +728 -0
- package/src/table/parts/view-tab-menu.tsx +74 -0
- package/src/table/parts/views-model.ts +356 -0
- package/src/table/parts/views.tsx +795 -0
- package/src/table/parts/virtual.tsx +178 -0
- package/src/table/table.css +2688 -0
- package/src/table/use-data-table.ts +1314 -0
- package/src/testing/dom-shims.ts +148 -0
- package/src/testing/expect-catalog.tsx +156 -0
- package/src/testing/fake-channel.ts +100 -0
- package/src/testing/index.ts +8 -0
- package/src/testing/quality.ts +667 -0
- package/src/testing/settled.ts +94 -0
- package/src/testing/shell-invariants.ts +447 -0
- package/src/testing/slots.ts +17 -0
- package/src/tokens/__snapshots__/emit.test.ts.snap +523 -0
- package/src/tokens/accents.ts +50 -0
- package/src/tokens/basalt-names.ts +367 -0
- package/src/tokens/chart-vars.ts +275 -0
- package/src/tokens/core.ts +202 -306
- package/src/tokens/ctl-vars.ts +2 -20
- package/src/tokens/derive.ts +350 -27
- package/src/tokens/emit-fallback.ts +41 -0
- package/src/tokens/emit-json.ts +64 -0
- package/src/tokens/emit.ts +305 -0
- package/src/tokens/gates.ts +253 -0
- package/src/tokens/golden/default.css +233 -0
- package/src/tokens/golden/hue-268-vibrancy-1.css +233 -0
- package/src/tokens/hct.ts +1 -1
- package/src/tokens/index.ts +15 -3
- package/src/tokens/motion.ts +132 -0
- package/src/tokens/oklab.ts +3 -3
- package/src/tokens/palette.ts +130 -154
- package/src/tokens/part-vars.ts +75 -0
- package/src/tokens/ramps.ts +51 -0
- package/src/tokens/site-text.ts +10 -0
- package/src/tokens/size-classes.ts +14 -17
- package/src/tokens/size-classes.type-guard.tsx +20 -0
- package/src/tokens/space-scale.ts +2 -2
- package/src/tokens/status-text.ts +36 -1
- package/src/tokens/table.ts +698 -0
- package/src/ui/accordion.guard.ts +15 -0
- package/src/ui/accordion.tsx +142 -0
- package/src/ui/alert.guard.ts +21 -0
- package/src/ui/alert.tsx +105 -0
- package/src/ui/avatar.guard.ts +41 -0
- package/src/ui/avatar.tsx +237 -0
- package/src/ui/badge.guard.ts +27 -0
- package/src/ui/badge.tsx +269 -0
- package/src/ui/button.guard.ts +30 -0
- package/src/ui/button.tsx +203 -0
- package/src/ui/calendar-grid.ts +193 -0
- package/src/ui/calendar.guard.ts +54 -0
- package/src/ui/calendar.tsx +200 -0
- package/src/ui/card.guard.ts +15 -0
- package/src/ui/card.tsx +392 -0
- package/src/ui/checkbox-matrix.guard.ts +28 -0
- package/src/ui/checkbox-matrix.tsx +344 -0
- package/src/ui/checkbox.guard.ts +36 -0
- package/src/ui/checkbox.tsx +184 -0
- package/src/ui/choice-card.guard.ts +24 -0
- package/src/ui/choice-card.tsx +100 -0
- package/src/ui/collapsible.guard.ts +17 -0
- package/src/ui/collapsible.tsx +79 -0
- package/src/ui/combobox.guard.ts +26 -0
- package/src/ui/combobox.tsx +1053 -0
- package/src/ui/context-menu.tsx +214 -0
- package/src/ui/control-group.guard.ts +29 -0
- package/src/ui/control-group.tsx +266 -0
- package/src/ui/copy-button.tsx +117 -0
- package/src/ui/date-picker.guard.ts +54 -0
- package/src/ui/date-picker.tsx +394 -0
- package/src/ui/dialog.guard.ts +41 -0
- package/src/ui/dialog.tsx +397 -0
- package/src/ui/drag-auto-scroll.ts +125 -0
- package/src/ui/entity.guard.ts +41 -0
- package/src/ui/entity.tsx +219 -0
- package/src/ui/field.guard.ts +24 -0
- package/src/ui/field.tsx +206 -0
- package/src/ui/file-upload.guard.ts +45 -0
- package/src/ui/file-upload.tsx +462 -0
- package/src/ui/guard-completeness.ts +204 -0
- package/src/ui/header-actions.ts +27 -0
- package/src/ui/info-hint.guard.ts +21 -0
- package/src/ui/info-hint.tsx +98 -0
- package/src/ui/input.guard.ts +15 -0
- package/src/ui/input.tsx +95 -0
- package/src/ui/kbd.guard.ts +16 -0
- package/src/ui/kbd.tsx +74 -0
- package/src/ui/leave-confirm.ts +50 -0
- package/src/ui/list-sheet.ts +29 -0
- package/src/ui/menu.guard.ts +70 -0
- package/src/ui/menu.tsx +437 -0
- package/src/ui/meter.guard.ts +53 -0
- package/src/ui/meter.tsx +551 -0
- package/src/ui/no-restyle.generated.json +652 -0
- package/src/ui/num.guard.ts +22 -0
- package/src/ui/num.tsx +66 -0
- package/src/ui/number-field.guard.ts +26 -0
- package/src/ui/number-field.tsx +141 -0
- package/src/ui/one-time-code.guard.ts +28 -0
- package/src/ui/one-time-code.tsx +121 -0
- package/src/ui/overlay-presenter.ts +138 -0
- package/src/ui/overlay-sheet.ts +47 -0
- package/src/ui/password-input.tsx +74 -0
- package/src/ui/popover.guard.ts +43 -0
- package/src/ui/popover.tsx +210 -0
- package/src/ui/primitive.contract.ts +419 -0
- package/src/ui/progress.guard.ts +40 -0
- package/src/ui/progress.tsx +246 -0
- package/src/ui/quick-picks.guard.ts +22 -0
- package/src/ui/quick-picks.tsx +92 -0
- package/src/ui/radio-group.guard.ts +25 -0
- package/src/ui/radio-group.tsx +177 -0
- package/src/ui/resizable.tsx +99 -0
- package/src/ui/scroll-area.guard.ts +18 -0
- package/src/ui/scroll-area.tsx +110 -0
- package/src/ui/segmented.guard.ts +28 -0
- package/src/ui/segmented.tsx +261 -0
- package/src/ui/select.guard.ts +27 -0
- package/src/ui/select.tsx +765 -0
- package/src/ui/separator.guard.ts +15 -0
- package/src/ui/separator.tsx +53 -0
- package/src/ui/sheet.guard.ts +40 -0
- package/src/ui/sheet.tsx +602 -0
- package/src/ui/skeleton.guard.ts +21 -0
- package/src/ui/skeleton.tsx +95 -0
- package/src/ui/slider.guard.ts +30 -0
- package/src/ui/slider.tsx +114 -0
- package/src/ui/slots.ts +116 -0
- package/src/ui/sortable-list.tsx +382 -0
- package/src/ui/status.guard.ts +27 -0
- package/src/ui/status.tsx +101 -0
- package/src/ui/swatch-picker.guard.ts +27 -0
- package/src/ui/swatch-picker.tsx +263 -0
- package/src/ui/switch.guard.ts +23 -0
- package/src/ui/switch.tsx +44 -0
- package/src/ui/table.guard.ts +18 -0
- package/src/ui/table.tsx +205 -0
- package/src/ui/tabs.guard.ts +15 -0
- package/src/ui/tabs.tsx +257 -0
- package/src/ui/tag-input.guard.ts +29 -0
- package/src/ui/tag-input.tsx +243 -0
- package/src/ui/textarea.guard.ts +24 -0
- package/src/ui/textarea.tsx +115 -0
- package/src/ui/toast.guard.ts +15 -0
- package/src/ui/toast.tsx +173 -0
- package/src/ui/toolbar.guard.ts +25 -0
- package/src/ui/toolbar.tsx +163 -0
- package/src/ui/tooltip.guard.ts +27 -0
- package/src/ui/tooltip.tsx +183 -0
- package/src/ui/tree.guard.ts +72 -0
- package/src/ui/tree.tsx +1690 -0
- package/src/ui/virtual-list.guard.ts +31 -0
- package/src/ui/virtual-list.tsx +200 -0
- package/src/vite/allotment.ts +131 -0
- package/src/vite/doc.ts +94 -0
- package/src/vite/ejects.ts +68 -0
- package/src/vite/graph.ts +215 -0
- package/src/vite/head.ts +297 -0
- package/src/vite/index.ts +230 -0
- package/src/vite/sources.ts +57 -0
- package/src/vite/table-sheet.ts +17 -0
- package/agent/agents/basalt-design-reviewer.md +0 -100
- package/agent/rules/basalt-batteries.md +0 -41
- package/agent/rules/basalt-controls.md +0 -46
- package/agent/rules/basalt-mantine.md +0 -48
- package/agent/skills/basalt-design/references/catalogue.md +0 -56
- package/agent/skills/basalt-design/references/encoding-rules.md +0 -45
- package/agent/skills/basalt-design/references/recipes.md +0 -47
- package/agent/skills/basalt-design/references/stat-tile.md +0 -24
- package/configs/card-inset.test.ts +0 -57
- package/configs/oxlint-basalt.json +0 -28
- package/configs/oxlint-plugin.js +0 -4381
- package/configs/oxlint-plugin.test.ts +0 -4480
- package/configs/oxlint.json +0 -62
- package/dist/agent/ai-sdk-transport.d.ts +0 -48
- package/dist/agent/ai-sdk-transport.d.ts.map +0 -1
- package/dist/agent/ai-sdk-transport.js +0 -206
- package/dist/agent/chat/composer.d.ts +0 -144
- package/dist/agent/chat/composer.d.ts.map +0 -1
- package/dist/agent/chat/composer.js +0 -268
- package/dist/agent/chat/message-affordances.d.ts +0 -60
- package/dist/agent/chat/message-affordances.d.ts.map +0 -1
- package/dist/agent/chat/message-affordances.js +0 -7
- package/dist/agent/chat/thread-feed-row.d.ts +0 -93
- package/dist/agent/chat/thread-feed-row.d.ts.map +0 -1
- package/dist/agent/chat/thread-feed-row.js +0 -192
- package/dist/agent/chat/thread-feed.d.ts +0 -58
- package/dist/agent/chat/thread-feed.d.ts.map +0 -1
- package/dist/agent/chat/thread-feed.js +0 -86
- package/dist/agent/chat/thread-message.d.ts +0 -74
- package/dist/agent/chat/thread-message.d.ts.map +0 -1
- package/dist/agent/chat/thread-message.js +0 -367
- package/dist/agent/chat/thread-outcome-card.d.ts +0 -20
- package/dist/agent/chat/thread-outcome-card.d.ts.map +0 -1
- package/dist/agent/chat/thread-outcome-card.js +0 -112
- package/dist/agent/chat/tool-chip.d.ts +0 -22
- package/dist/agent/chat/tool-chip.d.ts.map +0 -1
- package/dist/agent/chat/tool-chip.js +0 -125
- package/dist/agent/chat/use-keyboard-inset.d.ts +0 -2
- package/dist/agent/chat/use-keyboard-inset.d.ts.map +0 -1
- package/dist/agent/chat/use-keyboard-inset.js +0 -34
- package/dist/agent/chat/virtualize.d.ts +0 -162
- package/dist/agent/chat/virtualize.d.ts.map +0 -1
- package/dist/agent/chat/virtualize.js +0 -24
- package/dist/agent/coalesce.d.ts +0 -42
- package/dist/agent/coalesce.d.ts.map +0 -1
- package/dist/agent/coalesce.js +0 -137
- package/dist/agent/error.d.ts +0 -46
- package/dist/agent/error.d.ts.map +0 -1
- package/dist/agent/error.js +0 -18
- package/dist/agent/foreign.d.ts +0 -98
- package/dist/agent/foreign.d.ts.map +0 -1
- package/dist/agent/foreign.js +0 -18
- package/dist/agent/history.d.ts +0 -23
- package/dist/agent/history.d.ts.map +0 -1
- package/dist/agent/id.d.ts +0 -112
- package/dist/agent/id.d.ts.map +0 -1
- package/dist/agent/id.js +0 -44
- package/dist/agent/index.d.ts +0 -28
- package/dist/agent/index.d.ts.map +0 -1
- package/dist/agent/index.js +0 -18
- package/dist/agent/merge.d.ts +0 -8
- package/dist/agent/merge.d.ts.map +0 -1
- package/dist/agent/merge.js +0 -35
- package/dist/agent/outcome.d.ts +0 -60
- package/dist/agent/outcome.d.ts.map +0 -1
- package/dist/agent/part-list.d.ts +0 -90
- package/dist/agent/part-list.d.ts.map +0 -1
- package/dist/agent/part-list.js +0 -185
- package/dist/agent/parts.d.ts +0 -205
- package/dist/agent/parts.d.ts.map +0 -1
- package/dist/agent/parts.js +0 -176
- package/dist/agent/run-committer.d.ts +0 -23
- package/dist/agent/run-committer.d.ts.map +0 -1
- package/dist/agent/run-committer.js +0 -41
- package/dist/agent/run-records.d.ts +0 -86
- package/dist/agent/run-records.d.ts.map +0 -1
- package/dist/agent/run-records.js +0 -82
- package/dist/agent/stick-to-bottom.d.ts +0 -20
- package/dist/agent/stick-to-bottom.d.ts.map +0 -1
- package/dist/agent/stick-to-bottom.js +0 -77
- package/dist/agent/thread.d.ts +0 -118
- package/dist/agent/thread.d.ts.map +0 -1
- package/dist/agent/thread.js +0 -6
- package/dist/agent/transport.d.ts +0 -78
- package/dist/agent/transport.d.ts.map +0 -1
- package/dist/agent/transport.js +0 -6
- package/dist/agent/use-agent-thread-runs.d.ts +0 -147
- package/dist/agent/use-agent-thread-runs.d.ts.map +0 -1
- package/dist/agent/use-agent-thread-runs.js +0 -476
- package/dist/charts/BandStrip.d.ts +0 -62
- package/dist/charts/BandStrip.d.ts.map +0 -1
- package/dist/charts/BandStrip.js +0 -310
- package/dist/charts/Bars.d.ts +0 -19
- package/dist/charts/Bars.d.ts.map +0 -1
- package/dist/charts/Bars.js +0 -144
- package/dist/charts/CartesianChart.d.ts +0 -72
- package/dist/charts/CartesianChart.d.ts.map +0 -1
- package/dist/charts/CartesianChart.js +0 -139
- package/dist/charts/ChartCard.d.ts +0 -87
- package/dist/charts/ChartCard.d.ts.map +0 -1
- package/dist/charts/ChartCard.js +0 -216
- package/dist/charts/Donut.d.ts +0 -25
- package/dist/charts/Donut.d.ts.map +0 -1
- package/dist/charts/Donut.js +0 -203
- package/dist/charts/DualPanel.d.ts +0 -51
- package/dist/charts/DualPanel.d.ts.map +0 -1
- package/dist/charts/DualPanel.js +0 -246
- package/dist/charts/Heatmap.d.ts +0 -84
- package/dist/charts/Heatmap.d.ts.map +0 -1
- package/dist/charts/Heatmap.js +0 -294
- package/dist/charts/Lines.d.ts +0 -14
- package/dist/charts/Lines.d.ts.map +0 -1
- package/dist/charts/Lines.js +0 -106
- package/dist/charts/MirroredBars.d.ts +0 -55
- package/dist/charts/MirroredBars.d.ts.map +0 -1
- package/dist/charts/MirroredBars.js +0 -221
- package/dist/charts/Sparkline.d.ts +0 -65
- package/dist/charts/Sparkline.d.ts.map +0 -1
- package/dist/charts/Sparkline.js +0 -604
- package/dist/charts/StackedArea.d.ts +0 -18
- package/dist/charts/StackedArea.d.ts.map +0 -1
- package/dist/charts/StackedArea.js +0 -56
- package/dist/charts/band-fold.d.ts +0 -65
- package/dist/charts/band-fold.d.ts.map +0 -1
- package/dist/charts/band-fold.js +0 -46
- package/dist/charts/chart-card.module.css +0 -139
- package/dist/charts/chart-card.module.css.d.ts +0 -18
- package/dist/charts/compile.d.ts +0 -146
- package/dist/charts/compile.d.ts.map +0 -1
- package/dist/charts/compile.js +0 -896
- package/dist/charts/cursor.d.ts +0 -93
- package/dist/charts/cursor.d.ts.map +0 -1
- package/dist/charts/cursor.js +0 -211
- package/dist/charts/donut.module.css +0 -54
- package/dist/charts/donut.module.css.d.ts +0 -9
- package/dist/charts/heatmap-fill.d.ts.map +0 -1
- package/dist/charts/panel.d.ts +0 -65
- package/dist/charts/panel.d.ts.map +0 -1
- package/dist/charts/panel.js +0 -130
- package/dist/charts/scales.d.ts +0 -52
- package/dist/charts/scales.d.ts.map +0 -1
- package/dist/charts/scales.js +0 -194
- package/dist/charts/sparkline.module.css +0 -122
- package/dist/charts/sparkline.module.css.d.ts +0 -13
- package/dist/charts/theme.d.ts +0 -40
- package/dist/charts/theme.d.ts.map +0 -1
- package/dist/charts/theme.js +0 -52
- package/dist/charts/ticks.d.ts.map +0 -1
- package/dist/charts/ticks.js +0 -42
- package/dist/cli/audit-allows.d.ts +0 -11
- package/dist/cli/audit-allows.d.ts.map +0 -1
- package/dist/cli/audit-allows.js +0 -240
- package/dist/cli/check-theme.d.ts +0 -10
- package/dist/cli/check-theme.d.ts.map +0 -1
- package/dist/cli/check-theme.js +0 -154
- package/dist/cli/doctor-upgrade.d.ts +0 -75
- package/dist/cli/doctor-upgrade.d.ts.map +0 -1
- package/dist/cli/doctor-upgrade.js +0 -455
- package/dist/cli/doctor.d.ts +0 -38
- package/dist/cli/doctor.d.ts.map +0 -1
- package/dist/cli/doctor.js +0 -320
- package/dist/cli/guard-hook.d.ts +0 -9
- package/dist/cli/guard-hook.d.ts.map +0 -1
- package/dist/cli/guard-hook.js +0 -59
- package/dist/cli/init.d.ts +0 -6
- package/dist/cli/init.d.ts.map +0 -1
- package/dist/cli/init.js +0 -258
- package/dist/cli/provider-tags.d.ts +0 -12
- package/dist/cli/provider-tags.d.ts.map +0 -1
- package/dist/cli/provider-tags.js +0 -28
- package/dist/cli/render-imports.d.ts +0 -24
- package/dist/cli/render-imports.d.ts.map +0 -1
- package/dist/cli/render-imports.js +0 -74
- package/dist/cli/sync.d.ts +0 -27
- package/dist/cli/sync.d.ts.map +0 -1
- package/dist/cli/sync.js +0 -235
- package/dist/commands/ShortcutsHelp.d.ts +0 -18
- package/dist/commands/ShortcutsHelp.d.ts.map +0 -1
- package/dist/commands/ShortcutsHelp.js +0 -69
- package/dist/commands/command-stash.d.ts +0 -15
- package/dist/commands/command-stash.d.ts.map +0 -1
- package/dist/commands/command-stash.js +0 -31
- package/dist/commands/define-commands.d.ts +0 -123
- package/dist/commands/define-commands.d.ts.map +0 -1
- package/dist/commands/define-commands.js +0 -18
- package/dist/commands/define-overlays.d.ts +0 -221
- package/dist/commands/define-overlays.d.ts.map +0 -1
- package/dist/commands/define-overlays.js +0 -140
- package/dist/commands/index.d.ts +0 -26
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -17
- package/dist/commands/notifications/bell.d.ts +0 -16
- package/dist/commands/notifications/bell.d.ts.map +0 -1
- package/dist/commands/notifications/bell.js +0 -101
- package/dist/commands/notifications/center.d.ts +0 -31
- package/dist/commands/notifications/center.d.ts.map +0 -1
- package/dist/commands/notifications/center.js +0 -130
- package/dist/commands/notifications/define-notifications.d.ts +0 -142
- package/dist/commands/notifications/define-notifications.d.ts.map +0 -1
- package/dist/commands/notifications/define-notifications.js +0 -28
- package/dist/commands/notifications/notify.d.ts +0 -44
- package/dist/commands/notifications/notify.d.ts.map +0 -1
- package/dist/commands/notifications/notify.js +0 -79
- package/dist/commands/notifications/store.d.ts +0 -129
- package/dist/commands/notifications/store.d.ts.map +0 -1
- package/dist/commands/notifications/store.js +0 -117
- package/dist/commands/projectors.d.ts +0 -22
- package/dist/commands/projectors.d.ts.map +0 -1
- package/dist/commands/projectors.js +0 -16
- package/dist/commands/shell-bridge.d.ts +0 -57
- package/dist/commands/shell-bridge.d.ts.map +0 -1
- package/dist/commands/shell-bridge.js +0 -32
- package/dist/commands/shortcut-format.d.ts +0 -54
- package/dist/commands/shortcut-format.d.ts.map +0 -1
- package/dist/commands/shortcut-format.js +0 -63
- package/dist/common/index.d.ts +0 -17
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -27
- package/dist/common/motion.d.ts +0 -29
- package/dist/common/motion.d.ts.map +0 -1
- package/dist/common/motion.js +0 -12
- package/dist/common/query-state-like.d.ts +0 -43
- package/dist/common/query-state-like.d.ts.map +0 -1
- package/dist/common/query-state-like.js +0 -20
- package/dist/common/refs.d.ts +0 -29
- package/dist/common/refs.d.ts.map +0 -1
- package/dist/common/refs.js +0 -29
- package/dist/common/use-measured-widths.d.ts +0 -37
- package/dist/common/use-measured-widths.d.ts.map +0 -1
- package/dist/common/use-measured-widths.js +0 -53
- package/dist/common/virtual-rows.d.ts +0 -196
- package/dist/common/virtual-rows.d.ts.map +0 -1
- package/dist/common/virtual-rows.js +0 -290
- package/dist/common/vx-families.d.ts +0 -7
- package/dist/common/vx-families.d.ts.map +0 -1
- package/dist/common/vx-families.js +0 -32
- package/dist/common/vx-family.d.ts +0 -11
- package/dist/common/vx-family.d.ts.map +0 -1
- package/dist/common/vx-family.js +0 -12
- package/dist/content/article-layout.d.ts +0 -63
- package/dist/content/article-layout.d.ts.map +0 -1
- package/dist/content/article-layout.js +0 -111
- package/dist/content/article-layout.module.css +0 -183
- package/dist/content/article-layout.module.css.d.ts +0 -23
- package/dist/content/article-model.d.ts +0 -17
- package/dist/content/article-model.d.ts.map +0 -1
- package/dist/content/article-model.js +0 -13
- package/dist/content/callout-alert.d.ts +0 -27
- package/dist/content/callout-alert.d.ts.map +0 -1
- package/dist/content/callout-alert.js +0 -59
- package/dist/content/callout.d.ts +0 -28
- package/dist/content/callout.d.ts.map +0 -1
- package/dist/content/callout.js +0 -75
- package/dist/content/callout.module.css +0 -89
- package/dist/content/callout.module.css.d.ts +0 -17
- package/dist/content/code-block.module.css +0 -135
- package/dist/content/code-block.module.css.d.ts +0 -14
- package/dist/content/copy-action.d.ts +0 -29
- package/dist/content/copy-action.d.ts.map +0 -1
- package/dist/content/copy-action.js +0 -46
- package/dist/content/fence-block.d.ts +0 -46
- package/dist/content/fence-block.d.ts.map +0 -1
- package/dist/content/fence-block.js +0 -89
- package/dist/content/glyphs.d.ts +0 -18
- package/dist/content/glyphs.d.ts.map +0 -1
- package/dist/content/glyphs.js +0 -43
- package/dist/content/guide.d.ts +0 -48
- package/dist/content/guide.d.ts.map +0 -1
- package/dist/content/guide.js +0 -119
- package/dist/content/guide.module.css +0 -62
- package/dist/content/guide.module.css.d.ts +0 -13
- package/dist/content/heading-anchor.d.ts +0 -30
- package/dist/content/heading-anchor.d.ts.map +0 -1
- package/dist/content/heading-anchor.js +0 -37
- package/dist/content/heading-components.d.ts +0 -5
- package/dist/content/heading-components.d.ts.map +0 -1
- package/dist/content/heading-components.js +0 -44
- package/dist/content/mermaid-sanitize.d.ts +0 -15
- package/dist/content/mermaid-sanitize.d.ts.map +0 -1
- package/dist/content/mermaid-sanitize.js +0 -28
- package/dist/content/mermaid.module.css +0 -20
- package/dist/content/mermaid.module.css.d.ts +0 -8
- package/dist/content/prose.d.ts +0 -29
- package/dist/content/prose.d.ts.map +0 -1
- package/dist/content/prose.js +0 -24
- package/dist/content/prose.module.css +0 -346
- package/dist/content/prose.module.css.d.ts +0 -12
- package/dist/content/reading-progress.d.ts +0 -26
- package/dist/content/reading-progress.d.ts.map +0 -1
- package/dist/content/reading-progress.js +0 -54
- package/dist/content/reading-progress.module.css +0 -24
- package/dist/content/reading-progress.module.css.d.ts +0 -9
- package/dist/content/slug.d.ts.map +0 -1
- package/dist/content/slug.js +0 -21
- package/dist/content/toc-click-pin.d.ts.map +0 -1
- package/dist/content/toc-click-pin.js +0 -111
- package/dist/content/toc-spy.d.ts.map +0 -1
- package/dist/content/toc.d.ts +0 -50
- package/dist/content/toc.d.ts.map +0 -1
- package/dist/content/toc.js +0 -136
- package/dist/content/toc.module.css +0 -54
- package/dist/content/toc.module.css.d.ts +0 -13
- package/dist/content/url-hardening.d.ts +0 -23
- package/dist/content/url-hardening.d.ts.map +0 -1
- package/dist/content/url-hardening.js +0 -25
- package/dist/controls/actions.d.ts +0 -250
- package/dist/controls/actions.d.ts.map +0 -1
- package/dist/controls/actions.js +0 -466
- package/dist/controls/actions.module.css +0 -75
- package/dist/controls/actions.module.css.d.ts +0 -14
- package/dist/controls/control-group.d.ts +0 -19
- package/dist/controls/control-group.d.ts.map +0 -1
- package/dist/controls/control-group.js +0 -27
- package/dist/controls/control-name.d.ts +0 -27
- package/dist/controls/control-name.d.ts.map +0 -1
- package/dist/controls/control-name.js +0 -11
- package/dist/controls/controls.module.css +0 -549
- package/dist/controls/controls.module.css.d.ts +0 -35
- package/dist/controls/enum-filter.d.ts +0 -40
- package/dist/controls/enum-filter.d.ts.map +0 -1
- package/dist/controls/enum-filter.js +0 -109
- package/dist/controls/filter-base.d.ts +0 -30
- package/dist/controls/filter-base.d.ts.map +0 -1
- package/dist/controls/filter-context.d.ts +0 -74
- package/dist/controls/filter-context.d.ts.map +0 -1
- package/dist/controls/filter-context.js +0 -73
- package/dist/controls/filter-pill.d.ts +0 -62
- package/dist/controls/filter-pill.d.ts.map +0 -1
- package/dist/controls/filter-pill.js +0 -103
- package/dist/controls/filter-sheet.d.ts +0 -25
- package/dist/controls/filter-sheet.d.ts.map +0 -1
- package/dist/controls/filter-sheet.js +0 -33
- package/dist/controls/form-layout.d.ts +0 -162
- package/dist/controls/form-layout.d.ts.map +0 -1
- package/dist/controls/form-layout.js +0 -172
- package/dist/controls/form-layout.module.css +0 -268
- package/dist/controls/form-layout.module.css.d.ts +0 -22
- package/dist/controls/glyphs.d.ts +0 -37
- package/dist/controls/glyphs.d.ts.map +0 -1
- package/dist/controls/glyphs.js +0 -63
- package/dist/controls/multi-select-filter.d.ts +0 -45
- package/dist/controls/multi-select-filter.d.ts.map +0 -1
- package/dist/controls/multi-select-filter.js +0 -204
- package/dist/controls/number-filter.d.ts +0 -23
- package/dist/controls/number-filter.d.ts.map +0 -1
- package/dist/controls/number-filter.js +0 -195
- package/dist/controls/panel-row.d.ts +0 -129
- package/dist/controls/panel-row.d.ts.map +0 -1
- package/dist/controls/panel-row.js +0 -176
- package/dist/controls/panel-row.module.css +0 -86
- package/dist/controls/panel-row.module.css.d.ts +0 -13
- package/dist/controls/range-filter.d.ts +0 -45
- package/dist/controls/range-filter.d.ts.map +0 -1
- package/dist/controls/range-filter.js +0 -139
- package/dist/controls/search-filter.d.ts +0 -15
- package/dist/controls/search-filter.d.ts.map +0 -1
- package/dist/controls/search-filter.js +0 -135
- package/dist/controls/select-filter.d.ts +0 -63
- package/dist/controls/select-filter.d.ts.map +0 -1
- package/dist/controls/select-filter.js +0 -14
- package/dist/controls/sync-button.d.ts +0 -36
- package/dist/controls/sync-button.d.ts.map +0 -1
- package/dist/controls/sync-button.js +0 -118
- package/dist/controls/sync-button.module.css +0 -96
- package/dist/controls/sync-button.module.css.d.ts +0 -12
- package/dist/controls/toggle-filter.d.ts +0 -11
- package/dist/controls/toggle-filter.d.ts.map +0 -1
- package/dist/controls/toggle-filter.js +0 -60
- package/dist/controls/uncontrolled.d.ts +0 -12
- package/dist/controls/uncontrolled.d.ts.map +0 -1
- package/dist/controls-dates/date-range-picker.d.ts +0 -4
- package/dist/controls-dates/date-range-picker.d.ts.map +0 -1
- package/dist/controls-dates/date-range-picker.js +0 -23
- package/dist/controls-dates/index.d.ts +0 -8
- package/dist/controls-dates/index.d.ts.map +0 -1
- package/dist/controls-dates/index.js +0 -4
- package/dist/dashboard/bar-list.d.ts +0 -48
- package/dist/dashboard/bar-list.d.ts.map +0 -1
- package/dist/dashboard/bar-list.js +0 -114
- package/dist/dashboard/bar-list.module.css +0 -240
- package/dist/dashboard/bar-list.module.css.d.ts +0 -20
- package/dist/dashboard/board-nav.d.ts +0 -22
- package/dist/dashboard/board-nav.d.ts.map +0 -1
- package/dist/dashboard/board-nav.js +0 -49
- package/dist/dashboard/board.d.ts +0 -52
- package/dist/dashboard/board.d.ts.map +0 -1
- package/dist/dashboard/board.js +0 -228
- package/dist/dashboard/board.module.css +0 -160
- package/dist/dashboard/board.module.css.d.ts +0 -26
- package/dist/dashboard/delta-badge.d.ts +0 -24
- package/dist/dashboard/delta-badge.d.ts.map +0 -1
- package/dist/dashboard/delta-badge.js +0 -41
- package/dist/dashboard/empty-state.d.ts +0 -23
- package/dist/dashboard/empty-state.d.ts.map +0 -1
- package/dist/dashboard/empty-state.js +0 -80
- package/dist/dashboard/event-list-model.d.ts +0 -51
- package/dist/dashboard/event-list-model.d.ts.map +0 -1
- package/dist/dashboard/event-list-model.js +0 -72
- package/dist/dashboard/event-list-rows.d.ts +0 -23
- package/dist/dashboard/event-list-rows.d.ts.map +0 -1
- package/dist/dashboard/event-list-rows.js +0 -93
- package/dist/dashboard/event-list-scroll.d.ts +0 -27
- package/dist/dashboard/event-list-scroll.d.ts.map +0 -1
- package/dist/dashboard/event-list-scroll.js +0 -103
- package/dist/dashboard/event-list-skeleton.d.ts +0 -10
- package/dist/dashboard/event-list-skeleton.d.ts.map +0 -1
- package/dist/dashboard/event-list-skeleton.js +0 -36
- package/dist/dashboard/event-list.d.ts +0 -65
- package/dist/dashboard/event-list.d.ts.map +0 -1
- package/dist/dashboard/event-list.js +0 -178
- package/dist/dashboard/event-list.module.css +0 -283
- package/dist/dashboard/event-list.module.css.d.ts +0 -33
- package/dist/dashboard/index.d.ts +0 -15
- package/dist/dashboard/index.d.ts.map +0 -1
- package/dist/dashboard/index.js +0 -28
- package/dist/dashboard/meter-model.d.ts +0 -297
- package/dist/dashboard/meter-model.d.ts.map +0 -1
- package/dist/dashboard/meter-model.js +0 -479
- package/dist/dashboard/meter-parts.d.ts +0 -58
- package/dist/dashboard/meter-parts.d.ts.map +0 -1
- package/dist/dashboard/meter-parts.js +0 -656
- package/dist/dashboard/meter.d.ts +0 -144
- package/dist/dashboard/meter.d.ts.map +0 -1
- package/dist/dashboard/meter.js +0 -81
- package/dist/dashboard/meter.module.css +0 -463
- package/dist/dashboard/meter.module.css.d.ts +0 -48
- package/dist/dashboard/page-summary.d.ts +0 -20
- package/dist/dashboard/page-summary.d.ts.map +0 -1
- package/dist/dashboard/page-summary.js +0 -28
- package/dist/dashboard/page-summary.module.css +0 -89
- package/dist/dashboard/page-summary.module.css.d.ts +0 -15
- package/dist/dashboard/query-state.d.ts +0 -147
- package/dist/dashboard/query-state.d.ts.map +0 -1
- package/dist/dashboard/query-state.js +0 -199
- package/dist/dashboard/scale.d.ts +0 -9
- package/dist/dashboard/scale.d.ts.map +0 -1
- package/dist/dashboard/scale.js +0 -10
- package/dist/dashboard/section.d.ts +0 -87
- package/dist/dashboard/section.d.ts.map +0 -1
- package/dist/dashboard/section.js +0 -135
- package/dist/dashboard/section.module.css +0 -134
- package/dist/dashboard/section.module.css.d.ts +0 -12
- package/dist/dashboard/settings-section.d.ts +0 -39
- package/dist/dashboard/settings-section.d.ts.map +0 -1
- package/dist/dashboard/settings-section.js +0 -109
- package/dist/dashboard/settings-section.module.css +0 -48
- package/dist/dashboard/settings-section.module.css.d.ts +0 -11
- package/dist/dashboard/stat-card-parts.d.ts +0 -46
- package/dist/dashboard/stat-card-parts.d.ts.map +0 -1
- package/dist/dashboard/stat-card-parts.js +0 -75
- package/dist/dashboard/stat-card.d.ts +0 -141
- package/dist/dashboard/stat-card.d.ts.map +0 -1
- package/dist/dashboard/stat-card.js +0 -265
- package/dist/dashboard/stat-card.module.css +0 -497
- package/dist/dashboard/stat-card.module.css.d.ts +0 -39
- package/dist/dashboard/stat-group.d.ts +0 -56
- package/dist/dashboard/stat-group.d.ts.map +0 -1
- package/dist/dashboard/stat-group.js +0 -40
- package/dist/dashboard/stat-group.module.css +0 -124
- package/dist/dashboard/stat-group.module.css.d.ts +0 -9
- package/dist/dashboard/stat-strip.d.ts +0 -92
- package/dist/dashboard/stat-strip.d.ts.map +0 -1
- package/dist/dashboard/stat-strip.js +0 -263
- package/dist/dashboard/stat-strip.module.css +0 -396
- package/dist/dashboard/stat-strip.module.css.d.ts +0 -41
- package/dist/dashboard/visual-slot.d.ts +0 -12
- package/dist/dashboard/visual-slot.d.ts.map +0 -1
- package/dist/dashboard/visual-slot.js +0 -9
- package/dist/dashboard/widget-header.d.ts +0 -142
- package/dist/dashboard/widget-header.d.ts.map +0 -1
- package/dist/dashboard/widget-header.js +0 -217
- package/dist/dashboard/widget-header.module.css +0 -505
- package/dist/dashboard/widget-header.module.css.d.ts +0 -27
- package/dist/dev-dock.d.ts +0 -26
- package/dist/dev-dock.d.ts.map +0 -1
- package/dist/dev-dock.js +0 -90
- package/dist/format/date.d.ts +0 -61
- package/dist/format/date.d.ts.map +0 -1
- package/dist/format/date.js +0 -144
- package/dist/format/index.d.ts +0 -25
- package/dist/format/index.d.ts.map +0 -1
- package/dist/format/index.js +0 -22
- package/dist/format/measure.d.ts +0 -15
- package/dist/format/measure.d.ts.map +0 -1
- package/dist/format/measure.js +0 -27
- package/dist/forms/create-form.d.ts +0 -31
- package/dist/forms/create-form.d.ts.map +0 -1
- package/dist/forms/create-form.js +0 -18
- package/dist/forms/field.d.ts +0 -86
- package/dist/forms/field.d.ts.map +0 -1
- package/dist/forms/field.js +0 -10
- package/dist/forms/form-state.d.ts +0 -42
- package/dist/forms/form-state.d.ts.map +0 -1
- package/dist/forms/form-state.js +0 -26
- package/dist/forms/index.d.ts +0 -18
- package/dist/forms/index.d.ts.map +0 -1
- package/dist/forms/index.js +0 -7
- package/dist/guard/fonts-hint.d.ts +0 -3
- package/dist/guard/fonts-hint.d.ts.map +0 -1
- package/dist/guard/fonts-hint.js +0 -4
- package/dist/guard/guard-hook.d.ts +0 -40
- package/dist/guard/guard-hook.d.ts.map +0 -1
- package/dist/guard/guard-hook.js +0 -57
- package/dist/guard/index.d.ts +0 -431
- package/dist/guard/index.d.ts.map +0 -1
- package/dist/guard/index.js +0 -1312
- package/dist/guard/palette.d.ts +0 -51
- package/dist/guard/palette.d.ts.map +0 -1
- package/dist/guard/palette.js +0 -190
- package/dist/guard/series-file.d.ts +0 -15
- package/dist/guard/series-file.d.ts.map +0 -1
- package/dist/guard/series-file.js +0 -29
- package/dist/guard/types.d.ts +0 -181
- package/dist/guard/types.d.ts.map +0 -1
- package/dist/guard/vx-names.d.ts +0 -3
- package/dist/guard/vx-names.d.ts.map +0 -1
- package/dist/guard/vx-names.js +0 -228
- package/dist/provider/create-router.d.ts +0 -96
- package/dist/provider/create-router.d.ts.map +0 -1
- package/dist/provider/create-router.js +0 -55
- package/dist/provider/error-fallback.module.css +0 -10
- package/dist/provider/error-fallback.module.css.d.ts +0 -8
- package/dist/provider/fallback.module.css +0 -37
- package/dist/provider/fallback.module.css.d.ts +0 -11
- package/dist/provider/hotkeys.d.ts +0 -4
- package/dist/provider/hotkeys.d.ts.map +0 -1
- package/dist/provider/hotkeys.js +0 -45
- package/dist/provider/index.d.ts +0 -120
- package/dist/provider/index.d.ts.map +0 -1
- package/dist/provider/index.js +0 -335
- package/dist/provider/lab-theme.d.ts +0 -40
- package/dist/provider/lab-theme.d.ts.map +0 -1
- package/dist/provider/lab-theme.js +0 -51
- package/dist/provider/modals-mount.d.ts +0 -16
- package/dist/provider/modals-mount.d.ts.map +0 -1
- package/dist/provider/modals-mount.js +0 -42
- package/dist/provider/notifier.d.ts +0 -22
- package/dist/provider/notifier.d.ts.map +0 -1
- package/dist/provider/notifier.js +0 -36
- package/dist/provider/route-defaults.d.ts +0 -10
- package/dist/provider/route-defaults.d.ts.map +0 -1
- package/dist/provider/route-defaults.js +0 -25
- package/dist/provider/route-defaults.module.css +0 -39
- package/dist/provider/route-defaults.module.css.d.ts +0 -10
- package/dist/provider/route-transition.d.ts +0 -76
- package/dist/provider/route-transition.d.ts.map +0 -1
- package/dist/provider/route-transition.js +0 -98
- package/dist/provider/slots.d.ts +0 -25
- package/dist/provider/slots.d.ts.map +0 -1
- package/dist/provider/slots.js +0 -29
- package/dist/provider/spotlight-actions.d.ts +0 -11
- package/dist/provider/spotlight-actions.d.ts.map +0 -1
- package/dist/provider/spotlight-actions.js +0 -56
- package/dist/provider/spotlight-mount.d.ts +0 -3
- package/dist/provider/spotlight-mount.d.ts.map +0 -1
- package/dist/provider/spotlight-mount.js +0 -26
- package/dist/provider/test-router.d.ts +0 -7
- package/dist/provider/test-router.d.ts.map +0 -1
- package/dist/provider/test-router.js +0 -17
- package/dist/query-client.d.ts +0 -9
- package/dist/query-client.d.ts.map +0 -1
- package/dist/query-client.js +0 -30
- package/dist/router-tanstack/index.d.ts +0 -36
- package/dist/router-tanstack/index.d.ts.map +0 -1
- package/dist/router-tanstack/index.js +0 -18
- package/dist/router-tanstack/nav-stash.d.ts +0 -24
- package/dist/router-tanstack/nav-stash.d.ts.map +0 -1
- package/dist/router-tanstack/nav-stash.js +0 -23
- package/dist/router-tanstack/nav.d.ts +0 -169
- package/dist/router-tanstack/nav.d.ts.map +0 -1
- package/dist/router-tanstack/nav.js +0 -35
- package/dist/router-tanstack/search-store-warnings.d.ts +0 -33
- package/dist/router-tanstack/search-store-warnings.d.ts.map +0 -1
- package/dist/router-tanstack/search-store-warnings.js +0 -77
- package/dist/router-tanstack/search-store.d.ts +0 -86
- package/dist/router-tanstack/search-store.d.ts.map +0 -1
- package/dist/router-tanstack/search-store.js +0 -303
- package/dist/router-tanstack/use-nav.d.ts +0 -29
- package/dist/router-tanstack/use-nav.d.ts.map +0 -1
- package/dist/router-tanstack/use-nav.js +0 -149
- package/dist/shell/account-types.d.ts +0 -121
- package/dist/shell/account-types.d.ts.map +0 -1
- package/dist/shell/app-brand.d.ts +0 -13
- package/dist/shell/app-brand.d.ts.map +0 -1
- package/dist/shell/app-brand.js +0 -95
- package/dist/shell/app-brand.module.css +0 -142
- package/dist/shell/app-brand.module.css.d.ts +0 -14
- package/dist/shell/app-breadcrumbs.d.ts +0 -15
- package/dist/shell/app-breadcrumbs.d.ts.map +0 -1
- package/dist/shell/app-breadcrumbs.js +0 -52
- package/dist/shell/app-header.module.css +0 -171
- package/dist/shell/app-header.module.css.d.ts +0 -12
- package/dist/shell/app-main.module.css +0 -215
- package/dist/shell/app-main.module.css.d.ts +0 -12
- package/dist/shell/app-mobile-nav.d.ts +0 -33
- package/dist/shell/app-mobile-nav.d.ts.map +0 -1
- package/dist/shell/app-mobile-nav.js +0 -511
- package/dist/shell/app-mobile-nav.module.css +0 -429
- package/dist/shell/app-mobile-nav.module.css.d.ts +0 -24
- package/dist/shell/app-sidebar-account.d.ts +0 -4
- package/dist/shell/app-sidebar-account.d.ts.map +0 -1
- package/dist/shell/app-sidebar-account.js +0 -123
- package/dist/shell/app-sidebar.d.ts +0 -82
- package/dist/shell/app-sidebar.d.ts.map +0 -1
- package/dist/shell/app-sidebar.js +0 -361
- package/dist/shell/app-sidebar.module.css +0 -812
- package/dist/shell/app-sidebar.module.css.d.ts +0 -50
- package/dist/shell/aside-docking.d.ts +0 -31
- package/dist/shell/aside-docking.d.ts.map +0 -1
- package/dist/shell/aside-docking.js +0 -19
- package/dist/shell/mobile-nav-model.d.ts +0 -71
- package/dist/shell/mobile-nav-model.d.ts.map +0 -1
- package/dist/shell/mobile-nav-model.js +0 -287
- package/dist/shell/nav-count-badge.d.ts +0 -13
- package/dist/shell/nav-count-badge.d.ts.map +0 -1
- package/dist/shell/nav-count-badge.js +0 -31
- package/dist/shell/nav-glyph.d.ts +0 -14
- package/dist/shell/nav-glyph.d.ts.map +0 -1
- package/dist/shell/nav-glyph.js +0 -21
- package/dist/shell/nav-types.d.ts +0 -220
- package/dist/shell/nav-types.d.ts.map +0 -1
- package/dist/shell/page-aside.d.ts +0 -64
- package/dist/shell/page-aside.d.ts.map +0 -1
- package/dist/shell/page-aside.js +0 -226
- package/dist/shell/page-aside.module.css +0 -176
- package/dist/shell/page-aside.module.css.d.ts +0 -14
- package/dist/shell/page-bar.d.ts +0 -134
- package/dist/shell/page-bar.d.ts.map +0 -1
- package/dist/shell/page-bar.js +0 -273
- package/dist/shell/page-bar.module.css +0 -256
- package/dist/shell/page-bar.module.css.d.ts +0 -20
- package/dist/shell/page-title.d.ts +0 -14
- package/dist/shell/page-title.d.ts.map +0 -1
- package/dist/shell/page-title.js +0 -25
- package/dist/shell/page-title.module.css +0 -35
- package/dist/shell/page-title.module.css.d.ts +0 -11
- package/dist/shell/sidebar-block-model.d.ts +0 -48
- package/dist/shell/sidebar-block-model.d.ts.map +0 -1
- package/dist/shell/sidebar-block-model.js +0 -43
- package/dist/shell/sidebar-blocks.d.ts +0 -33
- package/dist/shell/sidebar-blocks.d.ts.map +0 -1
- package/dist/shell/sidebar-blocks.js +0 -177
- package/dist/shell/sidebar-search.d.ts +0 -26
- package/dist/shell/sidebar-search.d.ts.map +0 -1
- package/dist/shell/sidebar-search.js +0 -98
- package/dist/shell/sidebar-search.module.css +0 -102
- package/dist/shell/sidebar-search.module.css.d.ts +0 -13
- package/dist/shell/use-size-class.d.ts +0 -6
- package/dist/shell/use-size-class.d.ts.map +0 -1
- package/dist/shell/use-size-class.js +0 -19
- package/dist/state/fields.d.ts +0 -622
- package/dist/state/fields.d.ts.map +0 -1
- package/dist/state/fields.js +0 -460
- package/dist/state/persisted-or-local.d.ts +0 -12
- package/dist/state/persisted-or-local.d.ts.map +0 -1
- package/dist/state/persisted-or-local.js +0 -25
- package/dist/state/persisted.d.ts +0 -70
- package/dist/state/persisted.d.ts.map +0 -1
- package/dist/state/persisted.js +0 -153
- package/dist/state.d.ts +0 -16
- package/dist/state.d.ts.map +0 -1
- package/dist/state.js +0 -14
- package/dist/styles.css +0 -454
- package/dist/table/cell-kinds.d.ts +0 -44
- package/dist/table/cell-kinds.d.ts.map +0 -1
- package/dist/table/cell-kinds.js +0 -169
- package/dist/table/cell-kinds.module.css +0 -55
- package/dist/table/cell-kinds.module.css.d.ts +0 -15
- package/dist/table/data-table-fold.d.ts +0 -147
- package/dist/table/data-table-fold.d.ts.map +0 -1
- package/dist/table/data-table-fold.js +0 -288
- package/dist/table/data-table-state.d.ts +0 -90
- package/dist/table/data-table-state.d.ts.map +0 -1
- package/dist/table/data-table-state.js +0 -145
- package/dist/table/data-table.d.ts +0 -538
- package/dist/table/data-table.d.ts.map +0 -1
- package/dist/table/data-table.js +0 -1037
- package/dist/table/data-table.module.css +0 -402
- package/dist/table/data-table.module.css.d.ts +0 -37
- package/dist/table/query-branch.d.ts +0 -28
- package/dist/table/query-branch.d.ts.map +0 -1
- package/dist/table/query-branch.js +0 -10
- package/dist/table/table-features.d.ts +0 -99
- package/dist/table/table-features.d.ts.map +0 -1
- package/dist/table/table-features.js +0 -59
- package/dist/telemetry.d.ts +0 -165
- package/dist/telemetry.d.ts.map +0 -1
- package/dist/telemetry.js +0 -61
- package/dist/theme/card-inset.module.css +0 -111
- package/dist/theme/card-inset.module.css.d.ts +0 -9
- package/dist/theme/chrome-vars.d.ts +0 -109
- package/dist/theme/chrome-vars.d.ts.map +0 -1
- package/dist/theme/chrome-vars.js +0 -89
- package/dist/theme/controls.module.css +0 -412
- package/dist/theme/controls.module.css.d.ts +0 -20
- package/dist/theme/ctl-theme.d.ts +0 -33
- package/dist/theme/ctl-theme.d.ts.map +0 -1
- package/dist/theme/ctl-theme.js +0 -54
- package/dist/theme/extend.d.ts +0 -18
- package/dist/theme/extend.d.ts.map +0 -1
- package/dist/theme/extend.js +0 -6
- package/dist/theme/floating.module.css +0 -72
- package/dist/theme/floating.module.css.d.ts +0 -12
- package/dist/theme/icon-slot.d.ts +0 -44
- package/dist/theme/icon-slot.d.ts.map +0 -1
- package/dist/theme/icon-slot.js +0 -21
- package/dist/theme/icon-slot.module.css +0 -47
- package/dist/theme/icon-slot.module.css.d.ts +0 -8
- package/dist/theme/index.d.ts +0 -132
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/index.js +0 -1112
- package/dist/theme/nav-link.module.css +0 -85
- package/dist/theme/nav-link.module.css.d.ts +0 -8
- package/dist/theme/segmented-control.module.css +0 -80
- package/dist/theme/segmented-control.module.css.d.ts +0 -10
- package/dist/theme/status-dot.d.ts +0 -7
- package/dist/theme/status-dot.d.ts.map +0 -1
- package/dist/theme/status-dot.js +0 -18
- package/dist/theme/status-dot.module.css +0 -9
- package/dist/theme/status-dot.module.css.d.ts +0 -8
- package/dist/theme/status-verdict.d.ts +0 -10
- package/dist/theme/status-verdict.d.ts.map +0 -1
- package/dist/theme/status-verdict.js +0 -22
- package/dist/theme/status-verdict.module.css +0 -25
- package/dist/theme/status-verdict.module.css.d.ts +0 -9
- package/dist/theme/theme-toggle.d.ts +0 -9
- package/dist/theme/theme-toggle.d.ts.map +0 -1
- package/dist/theme/theme-toggle.js +0 -136
- package/dist/theme/theme-toggle.module.css +0 -30
- package/dist/theme/theme-toggle.module.css.d.ts +0 -10
- package/dist/theme/timeline.module.css +0 -29
- package/dist/theme/timeline.module.css.d.ts +0 -9
- package/dist/theme/use-basalt-spacing.d.ts +0 -3
- package/dist/theme/use-basalt-spacing.d.ts.map +0 -1
- package/dist/theme/use-basalt-spacing.js +0 -8
- package/dist/theme-lab/boot.d.ts +0 -66
- package/dist/theme-lab/boot.d.ts.map +0 -1
- package/dist/theme-lab/boot.js +0 -82
- package/dist/theme-lab/derive-controls.d.ts +0 -13
- package/dist/theme-lab/derive-controls.d.ts.map +0 -1
- package/dist/theme-lab/derive-controls.js +0 -139
- package/dist/theme-lab/derive-state.d.ts +0 -55
- package/dist/theme-lab/derive-state.d.ts.map +0 -1
- package/dist/theme-lab/derive-state.js +0 -82
- package/dist/theme-lab/index.d.ts +0 -30
- package/dist/theme-lab/index.d.ts.map +0 -1
- package/dist/theme-lab/index.js +0 -154
- package/dist/unwrap.d.ts +0 -29
- package/dist/unwrap.d.ts.map +0 -1
- package/dist/unwrap.js +0 -18
- package/dist/vite-boot.d.ts +0 -25
- package/dist/vite-boot.d.ts.map +0 -1
- package/dist/vite-boot.js +0 -36
- package/dist/vite-color-mix.d.ts +0 -30
- package/dist/vite-color-mix.d.ts.map +0 -1
- package/dist/vite-color-mix.js +0 -80
- package/dist/vite.d.ts +0 -203
- package/dist/vite.d.ts.map +0 -1
- package/dist/vite.js +0 -477
- package/src/agent/ai-sdk-transport.ts +0 -469
- package/src/agent/chat/composer.tsx +0 -648
- package/src/agent/chat/message-affordances.ts +0 -64
- package/src/agent/chat/thread-feed-row.tsx +0 -352
- package/src/agent/chat/thread-feed.tsx +0 -219
- package/src/agent/chat/thread-message.tsx +0 -823
- package/src/agent/chat/thread-outcome-card.tsx +0 -180
- package/src/agent/chat/tool-chip.tsx +0 -225
- package/src/agent/chat/use-keyboard-inset.ts +0 -68
- package/src/agent/chat/virtualize.ts +0 -180
- package/src/agent/coalesce.ts +0 -229
- package/src/agent/error.ts +0 -58
- package/src/agent/foreign.ts +0 -141
- package/src/agent/history.ts +0 -25
- package/src/agent/id.ts +0 -160
- package/src/agent/index.ts +0 -35
- package/src/agent/merge.ts +0 -114
- package/src/agent/outcome.ts +0 -67
- package/src/agent/part-list.tsx +0 -373
- package/src/agent/parts.ts +0 -428
- package/src/agent/run-committer.ts +0 -64
- package/src/agent/run-records.ts +0 -171
- package/src/agent/stick-to-bottom.tsx +0 -153
- package/src/agent/thread.ts +0 -129
- package/src/agent/transport.ts +0 -95
- package/src/agent/use-agent-thread-runs.ts +0 -968
- package/src/charts/BandStrip.tsx +0 -520
- package/src/charts/Bars.tsx +0 -238
- package/src/charts/CartesianChart.tsx +0 -244
- package/src/charts/ChartCard.tsx +0 -392
- package/src/charts/Donut.tsx +0 -264
- package/src/charts/DualPanel.tsx +0 -370
- package/src/charts/Heatmap.tsx +0 -444
- package/src/charts/Lines.tsx +0 -160
- package/src/charts/MirroredBars.tsx +0 -348
- package/src/charts/Sparkline.tsx +0 -878
- package/src/charts/StackedArea.tsx +0 -101
- package/src/charts/band-fold.ts +0 -107
- package/src/charts/chart-card.module.css +0 -139
- package/src/charts/chart-card.module.css.d.ts +0 -18
- package/src/charts/compile.ts +0 -1416
- package/src/charts/cursor.ts +0 -394
- package/src/charts/donut.module.css +0 -54
- package/src/charts/donut.module.css.d.ts +0 -9
- package/src/charts/panel.tsx +0 -245
- package/src/charts/scales.ts +0 -287
- package/src/charts/sparkline.module.css +0 -122
- package/src/charts/sparkline.module.css.d.ts +0 -13
- package/src/charts/theme.ts +0 -65
- package/src/charts/ticks.ts +0 -61
- package/src/cli/audit-allows.ts +0 -348
- package/src/cli/check-theme.ts +0 -244
- package/src/cli/doctor-upgrade.ts +0 -662
- package/src/cli/doctor.ts +0 -452
- package/src/cli/guard-hook.ts +0 -82
- package/src/cli/init.ts +0 -374
- package/src/cli/provider-tags.ts +0 -38
- package/src/cli/render-imports.ts +0 -104
- package/src/cli/sync.ts +0 -332
- package/src/commands/ShortcutsHelp.tsx +0 -135
- package/src/commands/command-stash.ts +0 -44
- package/src/commands/define-commands.ts +0 -150
- package/src/commands/define-overlays.ts +0 -364
- package/src/commands/index.ts +0 -28
- package/src/commands/notifications/bell.tsx +0 -125
- package/src/commands/notifications/center.tsx +0 -248
- package/src/commands/notifications/define-notifications.ts +0 -211
- package/src/commands/notifications/notify.tsx +0 -158
- package/src/commands/notifications/store.ts +0 -302
- package/src/commands/projectors.ts +0 -47
- package/src/commands/shell-bridge.ts +0 -86
- package/src/commands/shortcut-format.ts +0 -123
- package/src/common/index.ts +0 -16
- package/src/common/motion.ts +0 -26
- package/src/common/query-state-like.ts +0 -64
- package/src/common/refs.ts +0 -58
- package/src/common/use-measured-widths.ts +0 -91
- package/src/common/virtual-rows.tsx +0 -682
- package/src/common/vx-families.ts +0 -36
- package/src/common/vx-family.ts +0 -22
- package/src/content/article-layout.module.css +0 -183
- package/src/content/article-layout.module.css.d.ts +0 -23
- package/src/content/article-layout.tsx +0 -221
- package/src/content/article-model.ts +0 -27
- package/src/content/callout-alert.ts +0 -88
- package/src/content/callout.module.css +0 -89
- package/src/content/callout.module.css.d.ts +0 -17
- package/src/content/callout.tsx +0 -115
- package/src/content/code-block.module.css +0 -135
- package/src/content/code-block.module.css.d.ts +0 -14
- package/src/content/copy-action.tsx +0 -79
- package/src/content/fence-block.tsx +0 -265
- package/src/content/glyphs.tsx +0 -53
- package/src/content/guide.module.css +0 -62
- package/src/content/guide.module.css.d.ts +0 -13
- package/src/content/guide.tsx +0 -184
- package/src/content/heading-anchor.tsx +0 -65
- package/src/content/heading-components.tsx +0 -83
- package/src/content/mermaid-sanitize.ts +0 -49
- package/src/content/mermaid.module.css +0 -20
- package/src/content/mermaid.module.css.d.ts +0 -8
- package/src/content/prose.module.css +0 -346
- package/src/content/prose.module.css.d.ts +0 -12
- package/src/content/prose.tsx +0 -53
- package/src/content/reading-progress.module.css +0 -24
- package/src/content/reading-progress.module.css.d.ts +0 -9
- package/src/content/reading-progress.tsx +0 -92
- package/src/content/slug.ts +0 -46
- package/src/content/toc-click-pin.ts +0 -156
- package/src/content/toc.module.css +0 -54
- package/src/content/toc.module.css.d.ts +0 -13
- package/src/content/toc.tsx +0 -220
- package/src/content/url-hardening.ts +0 -52
- package/src/controls/actions.module.css +0 -75
- package/src/controls/actions.module.css.d.ts +0 -14
- package/src/controls/actions.tsx +0 -969
- package/src/controls/control-group.tsx +0 -70
- package/src/controls/control-name.ts +0 -33
- package/src/controls/controls.module.css +0 -549
- package/src/controls/controls.module.css.d.ts +0 -35
- package/src/controls/enum-filter.tsx +0 -188
- package/src/controls/filter-base.ts +0 -31
- package/src/controls/filter-context.tsx +0 -179
- package/src/controls/filter-pill.tsx +0 -203
- package/src/controls/filter-sheet.tsx +0 -79
- package/src/controls/form-layout.module.css +0 -268
- package/src/controls/form-layout.module.css.d.ts +0 -22
- package/src/controls/form-layout.tsx +0 -416
- package/src/controls/glyphs.tsx +0 -114
- package/src/controls/multi-select-filter.tsx +0 -316
- package/src/controls/number-filter.tsx +0 -364
- package/src/controls/panel-row.module.css +0 -86
- package/src/controls/panel-row.module.css.d.ts +0 -13
- package/src/controls/panel-row.tsx +0 -391
- package/src/controls/range-filter.tsx +0 -256
- package/src/controls/search-filter.tsx +0 -200
- package/src/controls/select-filter.tsx +0 -84
- package/src/controls/sync-button.module.css +0 -96
- package/src/controls/sync-button.module.css.d.ts +0 -12
- package/src/controls/sync-button.tsx +0 -211
- package/src/controls/toggle-filter.tsx +0 -83
- package/src/controls/uncontrolled.ts +0 -12
- package/src/controls-dates/date-range-picker.tsx +0 -49
- package/src/controls-dates/index.ts +0 -7
- package/src/dashboard/bar-list.module.css +0 -240
- package/src/dashboard/bar-list.module.css.d.ts +0 -20
- package/src/dashboard/bar-list.tsx +0 -249
- package/src/dashboard/board-nav.ts +0 -67
- package/src/dashboard/board.module.css +0 -160
- package/src/dashboard/board.module.css.d.ts +0 -26
- package/src/dashboard/board.tsx +0 -394
- package/src/dashboard/delta-badge.tsx +0 -103
- package/src/dashboard/empty-state.tsx +0 -125
- package/src/dashboard/event-list-model.ts +0 -113
- package/src/dashboard/event-list-rows.tsx +0 -120
- package/src/dashboard/event-list-scroll.ts +0 -145
- package/src/dashboard/event-list-skeleton.tsx +0 -58
- package/src/dashboard/event-list.module.css +0 -283
- package/src/dashboard/event-list.module.css.d.ts +0 -33
- package/src/dashboard/event-list.tsx +0 -309
- package/src/dashboard/index.ts +0 -14
- package/src/dashboard/meter-model.ts +0 -886
- package/src/dashboard/meter-parts.tsx +0 -983
- package/src/dashboard/meter.module.css +0 -463
- package/src/dashboard/meter.module.css.d.ts +0 -48
- package/src/dashboard/meter.tsx +0 -293
- package/src/dashboard/page-summary.module.css +0 -89
- package/src/dashboard/page-summary.module.css.d.ts +0 -15
- package/src/dashboard/page-summary.tsx +0 -95
- package/src/dashboard/query-state.tsx +0 -384
- package/src/dashboard/scale.ts +0 -13
- package/src/dashboard/section.module.css +0 -134
- package/src/dashboard/section.module.css.d.ts +0 -12
- package/src/dashboard/section.tsx +0 -338
- package/src/dashboard/settings-section.module.css +0 -48
- package/src/dashboard/settings-section.module.css.d.ts +0 -11
- package/src/dashboard/settings-section.tsx +0 -178
- package/src/dashboard/stat-card-parts.tsx +0 -149
- package/src/dashboard/stat-card.module.css +0 -497
- package/src/dashboard/stat-card.module.css.d.ts +0 -39
- package/src/dashboard/stat-card.tsx +0 -599
- package/src/dashboard/stat-group.module.css +0 -124
- package/src/dashboard/stat-group.module.css.d.ts +0 -9
- package/src/dashboard/stat-group.tsx +0 -105
- package/src/dashboard/stat-strip.module.css +0 -396
- package/src/dashboard/stat-strip.module.css.d.ts +0 -41
- package/src/dashboard/stat-strip.tsx +0 -497
- package/src/dashboard/visual-slot.ts +0 -22
- package/src/dashboard/widget-header.module.css +0 -505
- package/src/dashboard/widget-header.module.css.d.ts +0 -27
- package/src/dashboard/widget-header.tsx +0 -476
- package/src/dev-dock.tsx +0 -149
- package/src/format/date.ts +0 -250
- package/src/format/index.ts +0 -24
- package/src/format/measure.ts +0 -42
- package/src/forms/create-form.ts +0 -57
- package/src/forms/field.ts +0 -134
- package/src/forms/form-state.tsx +0 -94
- package/src/forms/index.ts +0 -18
- package/src/guard/fonts-hint.ts +0 -2
- package/src/guard/guard-hook.ts +0 -129
- package/src/guard/index.ts +0 -2844
- package/src/guard/palette.ts +0 -261
- package/src/guard/series-file.ts +0 -51
- package/src/guard/types.ts +0 -211
- package/src/guard/vx-names.ts +0 -228
- package/src/provider/create-router.tsx +0 -168
- package/src/provider/error-fallback.module.css +0 -10
- package/src/provider/error-fallback.module.css.d.ts +0 -8
- package/src/provider/fallback.module.css +0 -37
- package/src/provider/fallback.module.css.d.ts +0 -11
- package/src/provider/hotkeys.ts +0 -62
- package/src/provider/index.tsx +0 -574
- package/src/provider/lab-theme.ts +0 -175
- package/src/provider/modals-mount.tsx +0 -66
- package/src/provider/notifier.ts +0 -52
- package/src/provider/route-defaults.module.css +0 -39
- package/src/provider/route-defaults.module.css.d.ts +0 -10
- package/src/provider/route-defaults.tsx +0 -39
- package/src/provider/route-transition.ts +0 -199
- package/src/provider/slots.ts +0 -59
- package/src/provider/spotlight-actions.tsx +0 -73
- package/src/provider/spotlight-mount.tsx +0 -33
- package/src/provider/test-router.tsx +0 -25
- package/src/query-client.ts +0 -41
- package/src/router-tanstack/index.ts +0 -51
- package/src/router-tanstack/nav-stash.ts +0 -41
- package/src/router-tanstack/nav.ts +0 -216
- package/src/router-tanstack/search-store-warnings.ts +0 -120
- package/src/router-tanstack/search-store.ts +0 -599
- package/src/router-tanstack/use-nav.ts +0 -283
- package/src/shell/account-types.ts +0 -122
- package/src/shell/app-brand.module.css +0 -142
- package/src/shell/app-brand.module.css.d.ts +0 -14
- package/src/shell/app-brand.tsx +0 -141
- package/src/shell/app-breadcrumbs.tsx +0 -104
- package/src/shell/app-header.module.css +0 -171
- package/src/shell/app-header.module.css.d.ts +0 -12
- package/src/shell/app-main.module.css +0 -215
- package/src/shell/app-main.module.css.d.ts +0 -12
- package/src/shell/app-mobile-nav.module.css +0 -429
- package/src/shell/app-mobile-nav.module.css.d.ts +0 -24
- package/src/shell/app-mobile-nav.tsx +0 -864
- package/src/shell/app-sidebar-account.tsx +0 -180
- package/src/shell/app-sidebar.module.css +0 -812
- package/src/shell/app-sidebar.module.css.d.ts +0 -50
- package/src/shell/app-sidebar.tsx +0 -626
- package/src/shell/aside-docking.ts +0 -54
- package/src/shell/index.tsx +0 -658
- package/src/shell/mobile-nav-model.ts +0 -521
- package/src/shell/nav-count-badge.tsx +0 -44
- package/src/shell/nav-glyph.tsx +0 -38
- package/src/shell/nav-types.ts +0 -232
- package/src/shell/page-aside.module.css +0 -176
- package/src/shell/page-aside.module.css.d.ts +0 -14
- package/src/shell/page-aside.tsx +0 -433
- package/src/shell/page-bar.module.css +0 -256
- package/src/shell/page-bar.module.css.d.ts +0 -20
- package/src/shell/page-bar.tsx +0 -598
- package/src/shell/page-title.module.css +0 -35
- package/src/shell/page-title.module.css.d.ts +0 -11
- package/src/shell/page-title.tsx +0 -57
- package/src/shell/sidebar-block-model.ts +0 -91
- package/src/shell/sidebar-blocks.tsx +0 -326
- package/src/shell/sidebar-search.module.css +0 -102
- package/src/shell/sidebar-search.module.css.d.ts +0 -13
- package/src/shell/sidebar-search.tsx +0 -154
- package/src/shell/use-size-class.ts +0 -33
- package/src/state/fields.ts +0 -1279
- package/src/state/persisted-or-local.ts +0 -56
- package/src/state/persisted.ts +0 -320
- package/src/state.ts +0 -25
- package/src/styles.css +0 -454
- package/src/table/cell-kinds.module.css +0 -55
- package/src/table/cell-kinds.module.css.d.ts +0 -15
- package/src/table/cell-kinds.tsx +0 -234
- package/src/table/data-table-fold.tsx +0 -514
- package/src/table/data-table-state.ts +0 -230
- package/src/table/data-table.module.css +0 -402
- package/src/table/data-table.module.css.d.ts +0 -37
- package/src/table/data-table.tsx +0 -2211
- package/src/table/query-branch.ts +0 -53
- package/src/table/table-features.ts +0 -142
- package/src/telemetry.ts +0 -236
- package/src/theme/__snapshots__/plain-theme.test.ts.snap +0 -2774
- package/src/theme/card-inset.module.css +0 -111
- package/src/theme/card-inset.module.css.d.ts +0 -9
- package/src/theme/chrome-vars.ts +0 -205
- package/src/theme/controls.module.css +0 -412
- package/src/theme/controls.module.css.d.ts +0 -20
- package/src/theme/ctl-theme.tsx +0 -169
- package/src/theme/extend.ts +0 -18
- package/src/theme/floating.module.css +0 -72
- package/src/theme/floating.module.css.d.ts +0 -12
- package/src/theme/icon-slot.module.css +0 -47
- package/src/theme/icon-slot.module.css.d.ts +0 -8
- package/src/theme/icon-slot.tsx +0 -59
- package/src/theme/index.ts +0 -1699
- package/src/theme/nav-link.module.css +0 -85
- package/src/theme/nav-link.module.css.d.ts +0 -8
- package/src/theme/segmented-control.module.css +0 -80
- package/src/theme/segmented-control.module.css.d.ts +0 -10
- package/src/theme/status-dot.module.css +0 -9
- package/src/theme/status-dot.module.css.d.ts +0 -8
- package/src/theme/status-dot.tsx +0 -31
- package/src/theme/status-verdict.module.css +0 -25
- package/src/theme/status-verdict.module.css.d.ts +0 -9
- package/src/theme/status-verdict.tsx +0 -36
- package/src/theme/theme-toggle.module.css +0 -30
- package/src/theme/theme-toggle.module.css.d.ts +0 -10
- package/src/theme/theme-toggle.tsx +0 -164
- package/src/theme/timeline.module.css +0 -29
- package/src/theme/timeline.module.css.d.ts +0 -9
- package/src/theme/use-basalt-spacing.ts +0 -40
- package/src/theme-lab/boot.ts +0 -140
- package/src/theme-lab/derive-controls.tsx +0 -231
- package/src/theme-lab/derive-state.ts +0 -164
- package/src/theme-lab/index.tsx +0 -229
- package/src/unwrap.ts +0 -44
- package/src/vite-boot.ts +0 -109
- package/src/vite-color-mix.ts +0 -137
- package/src/vite.ts +0 -899
- /package/dist/{agent/history.js → ai/contract.js} +0 -0
- /package/dist/{agent/outcome.js → astro/mdx/messages.js} +0 -0
- /package/dist/{controls/filter-base.js → cards/contract.js} +0 -0
- /package/dist/{controls/uncontrolled.js → charts/contract.js} +0 -0
- /package/dist/charts/{ticks.d.ts → core/ticks.d.ts} +0 -0
- /package/dist/charts/{heatmap-fill.d.ts → parts/heatmap-fill.d.ts} +0 -0
- /package/dist/charts/{heatmap-fill.js → parts/heatmap-fill.js} +0 -0
- /package/dist/{guard/types.js → content/contract.js} +0 -0
- /package/dist/{shell/account-types.js → controls/contract.js} +0 -0
- /package/dist/{shell/nav-types.js → core/mark-types.js} +0 -0
- /package/dist/{content → core}/slug.d.ts +0 -0
- /package/dist/{content → page}/toc-click-pin.d.ts +0 -0
- /package/dist/{content → page}/toc-spy.d.ts +0 -0
- /package/dist/{content → page}/toc-spy.js +0 -0
- /package/src/charts/{heatmap-fill.ts → parts/heatmap-fill.ts} +0 -0
- /package/src/{content → page}/toc-spy.ts +0 -0
package/src/theme/index.ts
DELETED
|
@@ -1,1699 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Basalt Mantine theme.
|
|
3
|
-
*
|
|
4
|
-
* Grounded in argo `apps/dashboard/src/theme.ts`, reskinned to the 2026-07 zinc redesign
|
|
5
|
-
* (`docs/DESIGN-SPEC.md`): a `createTheme` base bound to the Basalt zinc palette so the Mantine
|
|
6
|
-
* chrome shares the charts' identity, plus a `cssVariablesResolver` that binds Mantine's surface
|
|
7
|
-
* system to the same `--vx-*` variables the charts use, so chrome and charts draw from one
|
|
8
|
-
* scheme-reactive identity.
|
|
9
|
-
*
|
|
10
|
-
* Every Mantine accent (red/teal/yellow/…) is overridden with a Basalt family, so existing
|
|
11
|
-
* `color="teal"`-style props become on-palette with zero call-site changes.
|
|
12
|
-
*
|
|
13
|
-
* theme.ts is allowed to import the pure palette DATA from `../tokens` — the Mantine-free
|
|
14
|
-
* boundary applies to `src/charts/**` and `src/tokens/**`, not to this `./` root layer. The
|
|
15
|
-
* resolver's hex fallbacks are GENERATED from the same `SURFACE` / `NEUTRAL` pairs the token
|
|
16
|
-
* layer emits, so there is no hand-duplicated hex to drift.
|
|
17
|
-
*/
|
|
18
|
-
import {
|
|
19
|
-
createTheme,
|
|
20
|
-
defaultVariantColorsResolver,
|
|
21
|
-
getPrimaryShade,
|
|
22
|
-
mergeThemeOverrides,
|
|
23
|
-
rem,
|
|
24
|
-
} from '@mantine/core'
|
|
25
|
-
import type {
|
|
26
|
-
Accordion,
|
|
27
|
-
ActionIcon,
|
|
28
|
-
Alert,
|
|
29
|
-
AppShell,
|
|
30
|
-
Badge,
|
|
31
|
-
Breadcrumbs,
|
|
32
|
-
Button,
|
|
33
|
-
Card,
|
|
34
|
-
Checkbox,
|
|
35
|
-
CheckboxCard,
|
|
36
|
-
Chip,
|
|
37
|
-
Code,
|
|
38
|
-
Combobox,
|
|
39
|
-
Drawer,
|
|
40
|
-
Indicator,
|
|
41
|
-
Input,
|
|
42
|
-
Kbd,
|
|
43
|
-
Menu,
|
|
44
|
-
Modal,
|
|
45
|
-
NavLink,
|
|
46
|
-
Notification,
|
|
47
|
-
NumberInput,
|
|
48
|
-
Pagination,
|
|
49
|
-
PaginationControl,
|
|
50
|
-
Paper,
|
|
51
|
-
PasswordInput,
|
|
52
|
-
PillsInput,
|
|
53
|
-
Popover,
|
|
54
|
-
Progress,
|
|
55
|
-
Radio,
|
|
56
|
-
RadioCard,
|
|
57
|
-
Select,
|
|
58
|
-
SegmentedControl,
|
|
59
|
-
Stepper,
|
|
60
|
-
Switch,
|
|
61
|
-
Table,
|
|
62
|
-
Tabs,
|
|
63
|
-
Textarea,
|
|
64
|
-
TextInput,
|
|
65
|
-
Timeline,
|
|
66
|
-
Tooltip,
|
|
67
|
-
CSSVariablesResolver,
|
|
68
|
-
MantineColorsTuple,
|
|
69
|
-
MantineTheme,
|
|
70
|
-
MantineThemeOverride,
|
|
71
|
-
VariantColorsResolver,
|
|
72
|
-
} from '@mantine/core'
|
|
73
|
-
import {
|
|
74
|
-
BP,
|
|
75
|
-
buildPaletteData,
|
|
76
|
-
deriveRadius,
|
|
77
|
-
deriveSpacing,
|
|
78
|
-
RADIUS_STEP,
|
|
79
|
-
SPACE_FIXED,
|
|
80
|
-
} from '../tokens/palette'
|
|
81
|
-
import type { PaletteData, RadiusValues, SpaceValues } from '../tokens/palette'
|
|
82
|
-
import { DEFAULT_DERIVE_CONFIG, isDefaultDeriveConfig, resolveDeriveConfig } from '../tokens/derive'
|
|
83
|
-
import type { DeriveConfig } from '../tokens/derive'
|
|
84
|
-
import { pxRem, TEXT_LINE, VX } from '../tokens/core'
|
|
85
|
-
import { CTL_HEIGHT_VARS } from '../tokens/ctl-vars'
|
|
86
|
-
import type { CtlHeightVar } from '../tokens/ctl-vars'
|
|
87
|
-
import { SIZE_CLASS_BREAKPOINTS } from '../tokens/size-classes'
|
|
88
|
-
import type { BasaltFontsConfig } from '../tokens/core'
|
|
89
|
-
import { badgeVars, onColor, onColorFor, inkVars, tabsVars } from './chrome-vars'
|
|
90
|
-
import cardInsetClasses from './card-inset.module.css'
|
|
91
|
-
import controlsClasses from './controls.module.css'
|
|
92
|
-
import floatingClasses from './floating.module.css'
|
|
93
|
-
import navLinkClasses from './nav-link.module.css'
|
|
94
|
-
import segmentedControlClasses from './segmented-control.module.css'
|
|
95
|
-
import timelineClasses from './timeline.module.css'
|
|
96
|
-
import { HIT_ATTR } from './ctl-theme'
|
|
97
|
-
import { ext } from './extend'
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* The `fonts` option's resolved shape — defined in `../tokens/core` (`BasaltFontsConfig`, paired
|
|
101
|
-
* with its pure builder `buildFontsCss` there, internal to the package); re-exported here since
|
|
102
|
-
* `CreateBasaltThemeOptions.fonts` below is its primary production entry point. See
|
|
103
|
-
* {@link CreateBasaltThemeOptions.fonts}.
|
|
104
|
-
*/
|
|
105
|
-
export type { BasaltFontsConfig } from '../tokens/core'
|
|
106
|
-
|
|
107
|
-
// The active resolved SpaceValues off the running theme (as opposed to the static level-0
|
|
108
|
-
// snapshot) — see its own doc comment for why it lives here rather than in `tokens/`.
|
|
109
|
-
export { useBasaltSpacing } from './use-basalt-spacing'
|
|
110
|
-
|
|
111
|
-
// The `size="ctl"` slot theme (`docs/CONTROLS-SPEC.md` §5) — see `./ctl-theme`'s own doc for the
|
|
112
|
-
// merge/precedence contract. `HIT_ATTR` is deliberately NOT in this list: it has no consumer of its
|
|
113
|
-
// own (consolidation doctrine — adopt or delete), and stays reachable only through the internal
|
|
114
|
-
// `./ctl-theme` import above, for this file's own use below.
|
|
115
|
-
export { CTL_THEME, CtlSlot, type CtlSlotProps } from './ctl-theme'
|
|
116
|
-
|
|
117
|
-
// `ThemeToggle` moved into this directory (C1 consolidation, merging the former `theme-toggle/`
|
|
118
|
-
// dir) and is deliberately NOT re-exported from this barrel: the root barrel (`src/index.ts`) imports
|
|
119
|
-
// it straight from `./theme/theme-toggle`, which keeps it out of the `./controls` graph (this file
|
|
120
|
-
// resolves from `./controls` via `CtlSlot`). It no longer imports `motion/react` (V2-SPEC § 5), so
|
|
121
|
-
// that is no longer a peer concern, only a graph-size one.
|
|
122
|
-
|
|
123
|
-
// Typed `theme.other.basaltDerive` / `theme.other.basaltFonts` / `theme.other.basaltRadius` /
|
|
124
|
-
// `theme.other.basaltDensity` reads (Mantine's `MantineThemeOther` ships an index signature, so
|
|
125
|
-
// this merge is additive — no widening of the existing `[key: string]: any`). Set by
|
|
126
|
-
// `createBasaltTheme`'s non-default `{ derive }` / `{ fonts }` / `{ radius }` / `{ density }` paths;
|
|
127
|
-
// `BasaltProvider` reads them to decide whether to inject the pre-baked static palette CSS or a
|
|
128
|
-
// re-derived one for the resolved config, and to emit the matching `--basalt-font-*` /
|
|
129
|
-
// `--vx-radius-*` / `--vx-space-*` override declarations.
|
|
130
|
-
declare module '@mantine/core' {
|
|
131
|
-
interface MantineThemeOther {
|
|
132
|
-
basaltDerive?: DeriveConfig
|
|
133
|
-
basaltFonts?: BasaltFontsConfig
|
|
134
|
-
basaltRadius?: RadiusValues
|
|
135
|
-
basaltDensity?: SpaceValues
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// `pxRem` (px → plain rem STRING literal, e.g. `pxRem(6)` → `'0.375rem'`) is imported from
|
|
140
|
-
// `../tokens` — single-sourced there so `tokens/index.ts`'s own rem-emitting vars
|
|
141
|
-
// (`--vx-space-input-height`) and this module's radius/spacing scale steps can never compute the
|
|
142
|
-
// px→rem conversion two different ways. NOT Mantine's own `rem()` helper, which instead emits a
|
|
143
|
-
// `calc(...)` expression bound to `--mantine-scale` — a different value (see the `Input.extend`
|
|
144
|
-
// `vars` override below for where that scaling is reconstructed).
|
|
145
|
-
|
|
146
|
-
// Basalt families are 5 stops dark→light. Expand to a 10-shade Mantine tuple (light→dark).
|
|
147
|
-
function hexToRgb(h: string): [number, number, number] {
|
|
148
|
-
const n = Number.parseInt(h.slice(1), 16)
|
|
149
|
-
return [(n >> 16) & 255, (n >> 8) & 255, n & 255]
|
|
150
|
-
}
|
|
151
|
-
function mix(a: string, b: string, t: number): string {
|
|
152
|
-
const A = hexToRgb(a)
|
|
153
|
-
const B = hexToRgb(b)
|
|
154
|
-
const c = A.map((v, i) => Math.round(v + (B[i]! - v) * t))
|
|
155
|
-
return `#${c.map((v) => v.toString(16).padStart(2, '0')).join('')}`
|
|
156
|
-
}
|
|
157
|
-
function ramp10(stops: readonly string[]): MantineColorsTuple {
|
|
158
|
-
const lite = stops.toReversed() // light→dark
|
|
159
|
-
const out: string[] = []
|
|
160
|
-
for (let i = 0; i < 10; i++) {
|
|
161
|
-
const pos = (i / 9) * (lite.length - 1)
|
|
162
|
-
const lo = Math.floor(pos)
|
|
163
|
-
const hi = Math.min(lo + 1, lite.length - 1)
|
|
164
|
-
out.push(mix(lite[lo]!, lite[hi]!, pos - lo))
|
|
165
|
-
}
|
|
166
|
-
out[0] = mix(out[0]!, '#ffffff', 0.5) // extra-light tint for light-variant backgrounds
|
|
167
|
-
return out as unknown as MantineColorsTuple
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Pin specific indices of an already-built 10-shade tuple to exact hex values.
|
|
172
|
-
*
|
|
173
|
-
* `ramp10` linearly interpolates a 5-stop family across 10 fractional positions — that can only
|
|
174
|
-
* land EXACTLY on a raw family stop at the two extremes (index 0 / 9), never at an arbitrary
|
|
175
|
-
* middle index. Two indices of the blue family must be EXACT, GENERATED accent hexes (see
|
|
176
|
-
* `ACCENT` in `tokens/palette.ts` — computed from `tokens/derive.ts`, not hand-picked), so both
|
|
177
|
-
* are pinned after the ramp is built (the rest still reads as one coherent sky-blue scale):
|
|
178
|
-
*
|
|
179
|
-
* • index 6 = `primaryShade` → `ACCENT.accentFill`. Mantine derives
|
|
180
|
-
* `--mantine-color-blue-filled` from it, i.e. every filled control's surface.
|
|
181
|
-
* • index 4 → `ACCENT.accent.dark`. Mantine HARDCODES the dark-scheme
|
|
182
|
-
* `--mantine-color-{c}-text` to shade 4 (not to `primaryShade`), so this is what keeps the
|
|
183
|
-
* accent LIGHT when it is used as ink on dark — the other half of the ink/surface split.
|
|
184
|
-
*/
|
|
185
|
-
function pinShades(
|
|
186
|
-
tuple: MantineColorsTuple,
|
|
187
|
-
overrides: Record<number, string>,
|
|
188
|
-
): MantineColorsTuple {
|
|
189
|
-
const out = [...tuple] as string[]
|
|
190
|
-
for (const [i, hex] of Object.entries(overrides)) out[Number(i)] = hex
|
|
191
|
-
return out as unknown as MantineColorsTuple
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// Mantine's typed prop bags reject `data-*` literals; a spread carries the hit-area attribute in.
|
|
195
|
-
// Defined in `./ctl-theme` (imported above) rather than here: `CTL_THEME` there is a top-level
|
|
196
|
-
// `const` built eagerly at module load, so a `HIT_ATTR` defined in THIS file and imported back from
|
|
197
|
-
// `ctl-theme.tsx` would close an import cycle this file's own line 107 doesn't already have — the
|
|
198
|
-
// existing direction (this file depends on `ctl-theme.tsx`, not the reverse) is what keeps it safe.
|
|
199
|
-
|
|
200
|
-
/** The shipped, config-independent palette data — `baseTheme` / `cssVariablesResolver` below are
|
|
201
|
-
* built from this once, at module load. */
|
|
202
|
-
const DEFAULT_PALETTE_DATA = buildPaletteData(DEFAULT_DERIVE_CONFIG)
|
|
203
|
-
|
|
204
|
-
/** The shipped, level-0 radius values — `buildTheme`'s default `radius` param. */
|
|
205
|
-
const DEFAULT_RADIUS_VALUES: RadiusValues = deriveRadius(0)
|
|
206
|
-
|
|
207
|
-
/** The shipped, level-0 spacing values — `buildTheme`'s default `spacing` param. */
|
|
208
|
-
const DEFAULT_SPACE_VALUES: SpaceValues = deriveSpacing(0)
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Build the dark Mantine tuple for `data` at 10 fixed indices:
|
|
212
|
-
* text=dark[0], dimmed=dark[2], border=dark[4], hover=dark[5], surface=dark[6], body=dark[7].
|
|
213
|
-
* Generator-derived — `data.INK` / `data.SURFACE`'s own dark stops, for the shipped default config
|
|
214
|
-
* as much as for any other `neutral`/level configuration, so a palette retune (including the
|
|
215
|
-
* default identity) always tracks the generator's current dark output with no separately-pinned
|
|
216
|
-
* literal to drift out of sync. Indices 8-9 (below-body / darkest extreme) stay the structural
|
|
217
|
-
* `BP.darkGray[0]` / near-black constant — they are not part of the generator's surface-stop set.
|
|
218
|
-
*/
|
|
219
|
-
function buildDarkTuple(data: PaletteData): MantineColorsTuple {
|
|
220
|
-
return [
|
|
221
|
-
data.INK.ink.dark,
|
|
222
|
-
data.INK.ink2.dark,
|
|
223
|
-
data.INK.muted.dark,
|
|
224
|
-
data.INK.faint.dark,
|
|
225
|
-
data.SURFACE.border.dark,
|
|
226
|
-
data.SURFACE.panelHover.dark,
|
|
227
|
-
data.SURFACE.panel.dark,
|
|
228
|
-
data.SURFACE.bg.dark,
|
|
229
|
-
BP.darkGray[0],
|
|
230
|
-
'#09090b',
|
|
231
|
-
] as unknown as MantineColorsTuple
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/** WCAG 2.x relative luminance. */
|
|
235
|
-
function relativeLuminance(hex: string): number {
|
|
236
|
-
const channels = hexToRgb(hex).map((c) => {
|
|
237
|
-
const s = c / 255
|
|
238
|
-
return s <= 0.03928 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4
|
|
239
|
-
})
|
|
240
|
-
return 0.2126 * channels[0]! + 0.7152 * channels[1]! + 0.0722 * channels[2]!
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/** WCAG 2.x contrast ratio. */
|
|
244
|
-
function contrastRatio(a: string, b: string): number {
|
|
245
|
-
const [hi, lo] = [relativeLuminance(a), relativeLuminance(b)].toSorted((x, y) => y - x)
|
|
246
|
-
return (hi! + 0.05) / (lo! + 0.05)
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* The legible foreground for `background` — decided by MEASURED contrast, never by a brightness
|
|
251
|
-
* heuristic. (Mantine picks via `isLightColor`, a BT.601 brightness test against
|
|
252
|
-
* `luminanceThreshold`, which does not track WCAG contrast: it hands white to saturated mid-tones
|
|
253
|
-
* like lime `#97ba2e` at 2.24:1.) Since `contrast(bg, white) * contrast(bg, black)` is a constant
|
|
254
|
-
* (~17.9 for this black), taking the larger of the two is also the AA-optimal choice, and floors
|
|
255
|
-
* every pairing at ~4.2:1.
|
|
256
|
-
*/
|
|
257
|
-
function legibleOn(background: string, theme: MantineTheme): string {
|
|
258
|
-
return contrastRatio(background, theme.white) >= contrastRatio(background, theme.black)
|
|
259
|
-
? 'var(--mantine-color-white)'
|
|
260
|
-
: 'var(--mantine-color-black)'
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/** The `--vx-on-*` block for one scheme: contrast-picked against the shade THAT scheme fills with. */
|
|
264
|
-
function onColorVars(
|
|
265
|
-
theme: MantineTheme,
|
|
266
|
-
colorScheme: 'light' | 'dark',
|
|
267
|
-
data: PaletteData,
|
|
268
|
-
): Record<string, string> {
|
|
269
|
-
const shade = getPrimaryShade(theme, colorScheme)
|
|
270
|
-
const vars: Record<string, string> = {}
|
|
271
|
-
for (const [name, tuple] of Object.entries(theme.colors)) {
|
|
272
|
-
if (!Array.isArray(tuple)) continue // virtual color — resolves per scheme on its own
|
|
273
|
-
const filled = tuple[shade]
|
|
274
|
-
if (typeof filled !== 'string') continue
|
|
275
|
-
// The accent already HAS a declared on-color in the palette (`ACCENT.onAccent`, the spec's
|
|
276
|
-
// "text on an accent fill") — the token stays the single source, so a palette retune moves the
|
|
277
|
-
// chrome with it. Everything else is a generic surface with no declared foreground: measure it.
|
|
278
|
-
vars[`--vx-on-${name}`] =
|
|
279
|
-
name === theme.primaryColor
|
|
280
|
-
? `var(--vx-on-accent, ${data.ACCENT.onAccent[colorScheme]})`
|
|
281
|
-
: legibleOn(filled, theme)
|
|
282
|
-
}
|
|
283
|
-
return vars
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Keep the `light` variant legible in BOTH schemes — the enforcement seam for badges/controls.
|
|
288
|
-
*
|
|
289
|
-
* Mantine resolves the light-variant BACKGROUND to `--mantine-color-{c}-1`. Basalt's `ramp10`
|
|
290
|
-
* only lightens shade 0, so shade 1 stays a fully saturated mid-tone — i.e. the light background
|
|
291
|
-
* renders VIVID, not a faint tint, and the colored text can't sit on it (green measured 2.91:1 in
|
|
292
|
-
* light mode; dark mode was fine at ~9:1 because Mantine uses a proper dark tint there). The text
|
|
293
|
-
* was never the problem, so white text wouldn't help — it'd be invisible on the tint.
|
|
294
|
-
*
|
|
295
|
-
* Fix: rebuild the light background as a faint mix of the variant's OWN text color
|
|
296
|
-
* (`--mantine-color-{c}-light-color`, which is itself scheme-reactive — dark ink in light mode,
|
|
297
|
-
* light ink in dark mode). A mix of that ink over the surface is therefore a pale tint under
|
|
298
|
-
* dark text on light, and a dim tint under light text on dark: one expression, identical logic
|
|
299
|
-
* both ways, always high-contrast. `filled` (autoContrast) / `outline` / `subtle` keep Mantine's
|
|
300
|
-
* defaults. Only plain theme-palette color names are remapped; hex / indexed colors fall through.
|
|
301
|
-
*
|
|
302
|
-
* The background mix is pinned at 13% — the spec's status-tint idiom (`docs/DESIGN-SPEC.md` §2:
|
|
303
|
-
* "status tint bg (delta badges): color-mix(in srgb, <status> 13%, transparent)"), which this
|
|
304
|
-
* resolver is the single implementation of (Badge's `light` variant IS the status-tint idiom).
|
|
305
|
-
*/
|
|
306
|
-
const basaltVariantColorResolver: VariantColorsResolver = (input) => {
|
|
307
|
-
const resolved = defaultVariantColorsResolver(input)
|
|
308
|
-
const colorName = input.color ?? input.theme.primaryColor
|
|
309
|
-
const on = onColor(input.theme, colorName)
|
|
310
|
-
if (on === undefined) return resolved // hex / indexed color — bg is scheme-static, Mantine is right
|
|
311
|
-
|
|
312
|
-
// `filled`: swap Mantine's JS-baked, scheme-blind white for the scheme-reactive on-color.
|
|
313
|
-
if (input.variant === 'filled') {
|
|
314
|
-
const autoContrast = input.autoContrast ?? input.theme.autoContrast
|
|
315
|
-
return autoContrast ? { ...resolved, color: on } : resolved
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
// `subtle`, `light` and `outline` stay Mantine's: a Button or ActionIcon that names no colour gets
|
|
319
|
-
// ink for them in `inkVars` (the resolver is always handed `color || primaryColor`, so it cannot
|
|
320
|
-
// tell "unnamed" from an explicit primary colour — only the component props can).
|
|
321
|
-
// `outline`: the tone's own text colour, pulled toward ink so the label keeps its hue at AA
|
|
322
|
-
// (grey outline badges measured 3.9:1 on the light page).
|
|
323
|
-
if (input.variant === 'outline') {
|
|
324
|
-
return { ...resolved, color: `color-mix(in srgb, ${resolved.color} 70%, var(--vx-ink))` }
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
if (input.variant !== 'light') return resolved
|
|
328
|
-
const ink = `var(--mantine-color-${colorName}-light-color)`
|
|
329
|
-
return {
|
|
330
|
-
...resolved,
|
|
331
|
-
background: `color-mix(in srgb, ${ink} 13%, transparent)`,
|
|
332
|
-
hover: `color-mix(in srgb, ${ink} 20%, transparent)`,
|
|
333
|
-
// Same pull toward ink as `outline`: the saturated tone text sat at 3.2–4.4:1 on its own tint.
|
|
334
|
-
color: `color-mix(in srgb, ${ink} 70%, var(--vx-ink))`,
|
|
335
|
-
border: 'none',
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/** Options for {@link buildTheme} — the radius/spacing dimensions, collapsed into one typed
|
|
340
|
-
* object per the repo's "typed objects as function arguments" rule rather than positional params
|
|
341
|
-
* (a third dimension made positional transposition a real risk). */
|
|
342
|
-
type BuildThemeOptions = {
|
|
343
|
-
/**
|
|
344
|
-
* Defaults to `DEFAULT_RADIUS_VALUES` (`deriveRadius(0)`, the shipped identity) — pass a
|
|
345
|
-
* different `RadiusValues` to rebuild every radius-anchored `defaultProps`/`styles` number AND
|
|
346
|
-
* the `radius` size-scale from a retuned level instead (`createBasaltTheme`'s `{ radius }`
|
|
347
|
-
* option).
|
|
348
|
-
*/
|
|
349
|
-
radius?: RadiusValues
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Defaults to `DEFAULT_SPACE_VALUES` (`deriveSpacing(0)`, the shipped identity) — pass a
|
|
353
|
-
* different `SpaceValues` to rebuild the `spacing` size-scale AND every density-anchored
|
|
354
|
-
* `defaultProps` number (Timeline's `bulletSize`, Progress's `size`) from a retuned level
|
|
355
|
-
* instead (`createBasaltTheme`'s `{ density }` option).
|
|
356
|
-
*/
|
|
357
|
-
spacing?: SpaceValues
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Basalt base theme — Mantine `createTheme` bound to the Basalt zinc palette.
|
|
362
|
-
*
|
|
363
|
-
* Inputs keep `size: 'md'` for GEOMETRY (42px height, padding), while their FONT-SIZE is floored
|
|
364
|
-
* at 16px by the `styles.css` rule — Safari zooms the viewport when a focused input computes below
|
|
365
|
-
* 16px. Splitting the two is deliberate: pinning `size: 'lg'` to reach a 16px font would drag a
|
|
366
|
-
* 50px input height along with it. The floor is `max(16px, …)`, so it never clamps a deliberately
|
|
367
|
-
* LARGER input down, and — being a CSS floor on the element rather than a per-component
|
|
368
|
-
* `defaultProps` — it covers every input Mantine ships (Autocomplete, MultiSelect, TagsInput,
|
|
369
|
-
* PinInput, …) plus any consumer that passes an explicit `size="xs"`. Enumerating components in
|
|
370
|
-
* `defaultProps` could never do that; the previous attempt missed seven of them.
|
|
371
|
-
*
|
|
372
|
-
* See {@link BuildThemeOptions} for what `radius`/`spacing` default to and rebuild.
|
|
373
|
-
*/
|
|
374
|
-
function buildTheme(data: PaletteData, options: BuildThemeOptions = {}): MantineThemeOverride {
|
|
375
|
-
const { radius = DEFAULT_RADIUS_VALUES, spacing = DEFAULT_SPACE_VALUES } = options
|
|
376
|
-
const { ACCENT, FILL } = data
|
|
377
|
-
return createTheme({
|
|
378
|
-
breakpoints: SIZE_CLASS_BREAKPOINTS,
|
|
379
|
-
primaryColor: 'blue',
|
|
380
|
-
// ONE shade in both schemes — a filled control is a SURFACE, and the accent surface is the same
|
|
381
|
-
// hex either way (see `ACCENT.accentFill`). The scheme-inverting half of the accent lives in
|
|
382
|
-
// Mantine's dark `--mantine-color-{c}-text`, which is hardcoded to shade 4 = `ACCENT.accent.dark`.
|
|
383
|
-
primaryShade: 6,
|
|
384
|
-
autoContrast: true,
|
|
385
|
-
// V2-SPEC § 5: Mantine's own transitions (modal, drawer, popover, menu) follow the OS setting.
|
|
386
|
-
respectReducedMotion: true,
|
|
387
|
-
luminanceThreshold: 0.45,
|
|
388
|
-
// Force the `light` variant to a faint, AA-legible tint in both schemes (see resolver above).
|
|
389
|
-
variantColorResolver: basaltVariantColorResolver,
|
|
390
|
-
white: '#ffffff',
|
|
391
|
-
black: '#18181b',
|
|
392
|
-
// The three-font system (docs/DESIGN-SPEC.md §3): Nunito Sans body / Hubot Sans condensed
|
|
393
|
-
// headings / JetBrains Mono for numerals + micro-labels. The `--basalt-font-*` vars stay the
|
|
394
|
-
// override seam (shipped in styles.css, with system-font fallback chains).
|
|
395
|
-
fontFamily: 'var(--basalt-font-sans, ui-sans-serif, system-ui, sans-serif)',
|
|
396
|
-
fontFamilyMonospace: "var(--basalt-font-mono, ui-monospace, 'SF Mono', Menlo, monospace)",
|
|
397
|
-
headings: {
|
|
398
|
-
fontFamily: 'var(--basalt-font-head, var(--basalt-font-sans, ui-sans-serif, sans-serif))',
|
|
399
|
-
fontWeight: '550',
|
|
400
|
-
},
|
|
401
|
-
// Control radius tier (docs/DESIGN-SPEC.md §4: inputs, search, buttons, segmented track, icon
|
|
402
|
-
// buttons ≥28px sit at ~6px). `radius.md` = 0.375rem = 6px, mirrored by `--vx-radius-ctrl` — every
|
|
403
|
-
// control without its own explicit `radius` prop (Button, ActionIcon, TextInput, NumberInput,
|
|
404
|
-
// PasswordInput, Select, Textarea) falls back to this default. Card/Paper bypass this scale
|
|
405
|
-
// entirely — they resolve straight to `var(--vx-radius-card)` (10px, see the
|
|
406
|
-
// `components.Card`/`Paper` overrides below).
|
|
407
|
-
defaultRadius: 'md',
|
|
408
|
-
// Named weight ladder (v9 fontWeights).
|
|
409
|
-
fontWeights: { regular: '400', medium: '500', semibold: '600', bold: '700' },
|
|
410
|
-
// The OWNED type scale — Mantine's xs…xl re-expressed from the single `VX.text` ladder
|
|
411
|
-
// (`tokens/index.ts`), so `<Text size="sm">` and a `--vx-text-sm` CSS module read the same step.
|
|
412
|
-
// Passed through Mantine's `rem()` (→ `calc(Xrem * var(--mantine-scale))`) rather than raw px, so
|
|
413
|
-
// the component surface honors the user's browser font-size and Mantine's own scale factor —
|
|
414
|
-
// the px numbers in `VX.text` exist only for inline styles and visx SVG, which can't take `var()`.
|
|
415
|
-
// `md` is the body step. Mantine's default ladder (12/14/16/18/20) is now fully replaced.
|
|
416
|
-
fontSizes: {
|
|
417
|
-
xs: rem(VX.text.xs),
|
|
418
|
-
sm: rem(VX.text.sm),
|
|
419
|
-
md: rem(VX.text.md),
|
|
420
|
-
lg: rem(VX.text.lg),
|
|
421
|
-
xl: rem(VX.text.xl),
|
|
422
|
-
},
|
|
423
|
-
// Dense rungs get grid-aligned line boxes (13/20, 12/16); md and up keep Mantine's ratios.
|
|
424
|
-
lineHeights: {
|
|
425
|
-
xs: lineRatio(TEXT_LINE.xs, VX.text.xs),
|
|
426
|
-
sm: lineRatio(TEXT_LINE.sm, VX.text.sm),
|
|
427
|
-
},
|
|
428
|
-
// Deliberate, OWNED spacing + radius scales — the single edit point, not inherited Mantine
|
|
429
|
-
// defaults. Denser than Mantine's stock lg/xl for a tighter, data-driven surface. 10 12 16 18 24.
|
|
430
|
-
// Reads `spacing.scale`, NOT `spacing.anchors` — a scale stop tracks density independently of
|
|
431
|
-
// any component anchor even where the level-0 numbers coincide (see `SPACE_SCALE`'s doc in
|
|
432
|
-
// `tokens/palette.ts`).
|
|
433
|
-
spacing: {
|
|
434
|
-
xs: pxRem(spacing.scale.xs),
|
|
435
|
-
sm: pxRem(spacing.scale.sm),
|
|
436
|
-
md: pxRem(spacing.scale.md),
|
|
437
|
-
lg: pxRem(spacing.scale.lg),
|
|
438
|
-
xl: pxRem(spacing.scale.xl),
|
|
439
|
-
},
|
|
440
|
-
// 2 4 6 16 32 — the size scale; `md` = `radius.ctrl` (6px at level 0) is the control-radius
|
|
441
|
-
// default (`defaultRadius: 'md'`, inputs/buttons). Card/Paper/Popover/Modal/Notification read
|
|
442
|
-
// `--vx-radius-*` directly instead (7px cards / 6px controls at level 0), so the larger steps of
|
|
443
|
-
// this scale no longer mirror either anchor — `xs`/`lg`/`xl` are independent `RADIUS_STEP`
|
|
444
|
-
// constants (fixed regardless of the radius knob), `sm` shares `radius.fine` with the Progress
|
|
445
|
-
// bar (see below).
|
|
446
|
-
radius: {
|
|
447
|
-
xs: pxRem(RADIUS_STEP.scaleXs),
|
|
448
|
-
sm: pxRem(radius.fine),
|
|
449
|
-
md: pxRem(radius.ctrl),
|
|
450
|
-
lg: pxRem(RADIUS_STEP.scaleLg),
|
|
451
|
-
xl: pxRem(RADIUS_STEP.scaleXl),
|
|
452
|
-
},
|
|
453
|
-
// Shade 6 (= `primaryShade`) is pinned to the FILL BAND for every family, so the JS ramp and the
|
|
454
|
-
// `--vx-fill-*` tokens hold the SAME hex. That keeps `-filled` / `-text`(light) / `-outline`
|
|
455
|
-
// internally consistent, and lets the on-color be measured straight off the tuple (below).
|
|
456
|
-
colors: {
|
|
457
|
-
dark: buildDarkTuple(data),
|
|
458
|
-
gray: pinShades(ramp10(BP.gray), { 6: FILL.gray }),
|
|
459
|
-
blue: pinShades(ramp10(BP.blue), { 4: ACCENT.accent.dark, 6: ACCENT.accentFill.light }),
|
|
460
|
-
cyan: pinShades(ramp10(BP.cerulean), { 6: FILL.cyan }),
|
|
461
|
-
teal: pinShades(ramp10(BP.turquoise), { 6: FILL.teal }),
|
|
462
|
-
green: pinShades(ramp10(BP.forest), { 6: FILL.green }),
|
|
463
|
-
lime: pinShades(ramp10(BP.lime), { 6: FILL.lime }),
|
|
464
|
-
yellow: pinShades(ramp10(BP.gold), { 6: FILL.yellow }),
|
|
465
|
-
orange: pinShades(ramp10(BP.orange), { 6: FILL.orange }),
|
|
466
|
-
red: pinShades(ramp10(BP.red), { 6: FILL.red }),
|
|
467
|
-
pink: pinShades(ramp10(BP.rose), { 6: FILL.pink }),
|
|
468
|
-
grape: pinShades(ramp10(BP.violet), { 6: FILL.grape }),
|
|
469
|
-
violet: pinShades(ramp10(BP.violet), { 6: FILL.violet }),
|
|
470
|
-
indigo: pinShades(ramp10(BP.indigo), { 6: FILL.indigo }),
|
|
471
|
-
},
|
|
472
|
-
components: {
|
|
473
|
-
// Depth = `shadow-card` (a whisper shadow + a 1px ring baked into the SAME value) — never a
|
|
474
|
-
// separate `border` property (docs/DESIGN-SPEC.md doctrine inversion #1). Cards carry no
|
|
475
|
-
// `withBorder` at all; the ring lives inside `--vx-shadow-card`.
|
|
476
|
-
// ONE card identity, enforced at the theme so NO component can diverge. Every card-like
|
|
477
|
-
// surface — Mantine `Card`, a bare `Paper` used as a card, and the Mantine-free `ChartCard` —
|
|
478
|
-
// resolves to the SAME three tokens:
|
|
479
|
-
// • background → `--vx-surface-panel` (the panel surface, NOT the page body).
|
|
480
|
-
// • depth → `--vx-shadow-card` (whisper shadow + ring, replaces `withBorder`).
|
|
481
|
-
// • radius → `--vx-radius-card` (10px).
|
|
482
|
-
// This is the single source the user's "strict surface across components" demands; the
|
|
483
|
-
// `raw-surface` guard then stops consumers re-overriding any of it inline.
|
|
484
|
-
// • inset → `card-inset.module.css`: the density-scaled 12/16 tokens, on Paper too (Mantine
|
|
485
|
-
// gives a bare Paper 0 and a bare Card 16); `variant="flush"` zeroes it and `Card.Section`
|
|
486
|
-
// cancels exactly it. A Card `padding` prop still wins (see the CSS).
|
|
487
|
-
Card: ext<typeof Card>({
|
|
488
|
-
classNames: { root: cardInsetClasses.inset, section: cardInsetClasses.section },
|
|
489
|
-
styles: {
|
|
490
|
-
root: {
|
|
491
|
-
backgroundColor: 'var(--vx-surface-panel)',
|
|
492
|
-
boxShadow: 'var(--vx-shadow-card)',
|
|
493
|
-
borderRadius: 'var(--vx-radius-card)',
|
|
494
|
-
},
|
|
495
|
-
},
|
|
496
|
-
}),
|
|
497
|
-
Paper: ext<typeof Paper>({
|
|
498
|
-
classNames: { root: cardInsetClasses.inset },
|
|
499
|
-
// The radius is in `card-inset.module.css`, not inline: an inline value cannot be stepped
|
|
500
|
-
// down for a Paper floating over a flush card.
|
|
501
|
-
styles: {
|
|
502
|
-
root: {
|
|
503
|
-
backgroundColor: 'var(--vx-surface-panel)',
|
|
504
|
-
boxShadow: 'var(--vx-shadow-card)',
|
|
505
|
-
},
|
|
506
|
-
},
|
|
507
|
-
}),
|
|
508
|
-
// Status chip (SPEC § 6.10): `light` + `tight`, neutral until `color=` opts in (the accent is
|
|
509
|
-
// never a status chip's default). The neutral surface + ink word is the chip; a named colour is
|
|
510
|
-
// a leading dot (`badgeVars`); a `leftSection` glyph is sized in `badgeSection`.
|
|
511
|
-
Badge: ext<typeof Badge>({
|
|
512
|
-
defaultProps: { variant: 'light', color: 'gray', radius: radius.tight },
|
|
513
|
-
classNames: { root: controlsClasses.badgeRoot, section: controlsClasses.badgeSection },
|
|
514
|
-
vars: badgeVars,
|
|
515
|
-
}),
|
|
516
|
-
// Alert renders its title in the body font by default; bring it onto the head-font idiom
|
|
517
|
-
// (docs/DESIGN-SPEC.md §5) like every other titled surface. Radius/padding/color tint are
|
|
518
|
-
// already on-system (defaultRadius 'md' control tier + the variant color resolver), so only
|
|
519
|
-
// the title font is overridden.
|
|
520
|
-
Alert: ext<typeof Alert>({
|
|
521
|
-
classNames: { root: controlsClasses.alertRoot },
|
|
522
|
-
styles: {
|
|
523
|
-
title: {
|
|
524
|
-
fontFamily: 'var(--basalt-font-head)',
|
|
525
|
-
fontWeight: 550,
|
|
526
|
-
fontStretch: '88%',
|
|
527
|
-
},
|
|
528
|
-
},
|
|
529
|
-
}),
|
|
530
|
-
// Region seams (docs/DESIGN-SPEC.md §5, §8 #12): the ONE lever for every AppShell edge —
|
|
531
|
-
// Mantine declares `--app-shell-border-color` on the shell element per scheme, which beats
|
|
532
|
-
// an inherited `:root` value, so a theme-level `vars` override (merged into the root's
|
|
533
|
-
// inline style) wins. Sections keep their default `withBorder: true`; the color is this.
|
|
534
|
-
// `styles` would also land on the same root style attribute, just through Mantine's own
|
|
535
|
-
// `[key: string]: any` index rather than a typed field.
|
|
536
|
-
// Cast: `AppShellCssVariables` declares only `--app-shell-transition-duration` /
|
|
537
|
-
// `-timing-function`, yet Mantine's OWN AppShell.css sets `--app-shell-border-color` on the
|
|
538
|
-
// same root.
|
|
539
|
-
AppShell: ext<typeof AppShell>({
|
|
540
|
-
vars: () =>
|
|
541
|
-
({ root: { '--app-shell-border-color': 'var(--vx-divider)' } }) as unknown as {
|
|
542
|
-
root: Record<
|
|
543
|
-
'--app-shell-transition-duration' | '--app-shell-transition-timing-function',
|
|
544
|
-
string | undefined
|
|
545
|
-
>
|
|
546
|
-
},
|
|
547
|
-
}),
|
|
548
|
-
// "Ink earns its color" — a nav selection is UI state, not the identity accent on the LABEL.
|
|
549
|
-
// The active item is a SELECTED ROW, not a raised control: the same ink-tint idiom as the
|
|
550
|
-
// hover state (one step stronger, ink-9%), no panel fill and no `shadow-card` — a raised,
|
|
551
|
-
// panel-filled row read as a button sitting in the nav rather than as the current location.
|
|
552
|
-
// Selection is carried by the tint + ink text + weight 600 + the accent icon instead. Forced
|
|
553
|
-
// here at the THEME level via NavLink's `--nl-*` vars so it holds for every render path —
|
|
554
|
-
// including a consumer's router `<Link>` hosted through `SidebarItem.Anchor`, which never
|
|
555
|
-
// sees the shell CSS module; the active ICON is accent-colored via `nav-link.module.css`
|
|
556
|
-
// (targets the `[data-position='left']` leftSection, which the flat `vars`/`styles` API
|
|
557
|
-
// can't express conditionally on `[data-active]`).
|
|
558
|
-
//
|
|
559
|
-
// `--nl-hover` (ink-13%) only ever reaches an ACTIVE row in practice — the inactive hover is
|
|
560
|
-
// set at ink-6% by higher-specificity `:not([data-active])` rules in `nav-link.module.css` /
|
|
561
|
-
// `app-sidebar.module.css` — so it exists to keep the active row responding to the pointer
|
|
562
|
-
// now that its rest state sits in the same tint family as an inactive hover.
|
|
563
|
-
NavLink: ext<typeof NavLink>({
|
|
564
|
-
vars: () => ({
|
|
565
|
-
root: {
|
|
566
|
-
'--nl-bg': 'color-mix(in srgb, var(--vx-ink) 9%, transparent)',
|
|
567
|
-
'--nl-color': 'var(--vx-ink)',
|
|
568
|
-
'--nl-hover': 'color-mix(in srgb, var(--vx-ink) 13%, transparent)',
|
|
569
|
-
},
|
|
570
|
-
children: {},
|
|
571
|
-
}),
|
|
572
|
-
// Dense, rounded nav rows — applied at the THEME level so they survive EVERY render path,
|
|
573
|
-
// including a consumer's router `<Link>` hosted through `SidebarItem.Anchor`, which never
|
|
574
|
-
// sees the shell CSS module (the module's `.link` only reaches the shell's own fallback
|
|
575
|
-
// `<NavLink>`). Same reasoning as the `--nl-*` fill above: layout is single-sourced here,
|
|
576
|
-
// not in two places.
|
|
577
|
-
// The active-weight/shadow/icon-accent state selectors can't live in `styles` (flat inline
|
|
578
|
-
// props only) — they're in nav-link.module.css, wired via `classNames` so they reach the
|
|
579
|
-
// same every-render-path scope.
|
|
580
|
-
classNames: { root: navLinkClasses.root },
|
|
581
|
-
styles: {
|
|
582
|
-
root: {
|
|
583
|
-
// Row geometry (docs/DESIGN-SPEC.md §5): 6px 10px padding lands ~29-30px rows. Mantine
|
|
584
|
-
// v9 hardcodes NavLink padding (`8px var(--mantine-spacing-sm)` — there is NO
|
|
585
|
-
// `--nl-padding` var), so the spec padding is forced inline here, where it wins
|
|
586
|
-
// deterministically on every render path.
|
|
587
|
-
padding: 'var(--vx-space-row-inset-y) var(--vx-space-row-inset-x)',
|
|
588
|
-
// The dense-row step (`sm`) on the ROOT, not just the label: the body element sizes
|
|
589
|
-
// itself from the root's inherited line-height (which, left at the default 1.55, alone
|
|
590
|
-
// pushed rows to ~37px). The row line-height (1.54, a 20px line at 13px) keeps rows
|
|
591
|
-
// compact as the scale grows. Reads
|
|
592
|
-
// `--vx-space-row-line-height` (density-tracking, ADDITIVE law — see `deriveSpacing`'s
|
|
593
|
-
// doc in `tokens/palette.ts` for why this one differs from the padding's multiplier).
|
|
594
|
-
fontSize: VX.text.sm,
|
|
595
|
-
lineHeight: 'var(--vx-space-row-line-height)',
|
|
596
|
-
// Nav rows sit in the 5-6px radius tier (docs/DESIGN-SPEC.md §4), not square.
|
|
597
|
-
borderRadius: 'var(--vx-radius-ctrl)',
|
|
598
|
-
},
|
|
599
|
-
// Mantine pins the label at `font-size-sm` explicitly, so the root value alone
|
|
600
|
-
// doesn't reach it.
|
|
601
|
-
label: { fontSize: VX.text.sm, lineHeight: 'var(--vx-space-row-line-height)' },
|
|
602
|
-
},
|
|
603
|
-
}),
|
|
604
|
-
// Field idiom (docs/DESIGN-SPEC.md §5): field surface + `shadow-raised` depth + faint placeholder,
|
|
605
|
-
// accent border + subtle accent ring on focus — see controls.module.css. The two slots carry
|
|
606
|
-
// different halves of it: the `wrapper` is where Mantine declares the `--input-*` vars, the
|
|
607
|
-
// `input` is the box that actually paints the surface (bg + radius) and therefore the only
|
|
608
|
-
// legal home for the shadow's ring. Theming the base `Input` covers
|
|
609
|
-
// TextInput/NumberInput/PasswordInput/Select/Textarea, which all render it internally (only
|
|
610
|
-
// `size` needs per-component defaults, since each resolves its own).
|
|
611
|
-
Input: ext<typeof Input>({
|
|
612
|
-
defaultProps: { size: 'md' },
|
|
613
|
-
// Density coupling: Input's OWN `varsResolver` sets `--input-height` to
|
|
614
|
-
// `getSize(props.size, 'input-height')` (`@mantine/core/esm/components/Input/Input.mjs`),
|
|
615
|
-
// which resolves to Mantine's global, non-retunable
|
|
616
|
-
// `--input-height-md: calc(2.625rem * var(--mantine-scale))` — IDENTICAL in both
|
|
617
|
-
// `styles.css` and the `styles.layer.css` variant Basalt consumers actually load (verified
|
|
618
|
-
// in the installed package, not assumed). It is rem-relative to the root font size AND
|
|
619
|
-
// scale-aware, not a flat px — so the override must reconstruct BOTH halves, not just the
|
|
620
|
-
// number: `--vx-space-input-height` (`tokens/index.ts`) already carries the rem half (via
|
|
621
|
-
// `pxRem`, the same conversion the `spacing`/`radius` scales use), and the
|
|
622
|
-
// `calc(... * var(--mantine-scale))` wrapper here supplies the scale half — the tokens
|
|
623
|
-
// layer stays Mantine-free, so it cannot reference `--mantine-scale` itself; this
|
|
624
|
-
// Mantine-coupled call site is where that coupling is legitimate. Flattening either half into a bare px value
|
|
625
|
-
// would desync input height from a user's root-font-size accessibility setting and from
|
|
626
|
-
// Mantine's global `--mantine-scale` knob — a real regression, not a cosmetic one. Theme
|
|
627
|
-
// `vars` here merges AFTER a component's own `varsResolver` (Mantine `useStyles`'s
|
|
628
|
-
// `mergeVars`, confirmed in `core/styles-api/use-styles/use-styles.mjs`), so re-pointing
|
|
629
|
-
// `--input-height` here wins on every render path — same established pattern as NavLink's
|
|
630
|
-
// `--nl-*` fill / Checkbox's `--checkbox-icon-color` above. Scoped to `size === 'md'` (the
|
|
631
|
-
// framework's own default, set by `defaultProps` above): a caller that explicitly requests a
|
|
632
|
-
// different size (e.g. `size="xs"`, see the iOS-floor note above) keeps Mantine's own static
|
|
633
|
-
// height for that size — `undefined` here means "leave Mantine's value alone" (`mergeVars`
|
|
634
|
-
// strips it before merging).
|
|
635
|
-
vars: (_theme, props) => ({
|
|
636
|
-
wrapper: {
|
|
637
|
-
'--input-height':
|
|
638
|
-
props.size === 'md'
|
|
639
|
-
? 'calc(var(--vx-space-input-height) * var(--mantine-scale))'
|
|
640
|
-
: undefined,
|
|
641
|
-
},
|
|
642
|
-
}),
|
|
643
|
-
classNames: { wrapper: controlsClasses.inputWrapper, input: controlsClasses.input },
|
|
644
|
-
}),
|
|
645
|
-
TextInput: ext<typeof TextInput>({ defaultProps: { size: 'md' } }),
|
|
646
|
-
// The stepper chevrons sit ~15px apart, so neither can own a 44px overlay; the coarse
|
|
647
|
-
// `.input` min-height floor (theme/controls.module.css) is the touch floor.
|
|
648
|
-
NumberInput: ext<typeof NumberInput>({ defaultProps: { size: 'md' } }),
|
|
649
|
-
PasswordInput: ext<typeof PasswordInput>({ defaultProps: { size: 'md' } }),
|
|
650
|
-
Select: ext<typeof Select>({ defaultProps: { size: 'md' } }),
|
|
651
|
-
Textarea: ext<typeof Textarea>({ defaultProps: { size: 'md' } }),
|
|
652
|
-
// PillsInput (MultiSelect/TagsInput's outer field) renders `InputBase` internally but under
|
|
653
|
-
// its OWN `__staticSelector: 'PillsInput'`, so it never reads `theme.components.Input` — the
|
|
654
|
-
// field idiom above never reached it. `PillsInput.classes === InputBase.classes`, so the SAME
|
|
655
|
-
// part names apply here; reusing both control classes picks up the exact `[data-variant]` rules
|
|
656
|
-
// in controls.module.css for free, no new CSS needed. Both slots are required — `wrapper` alone
|
|
657
|
-
// would land the vars but leave the field flat, since the depth lives on `input`.
|
|
658
|
-
PillsInput: ext<typeof PillsInput>({
|
|
659
|
-
classNames: { wrapper: controlsClasses.inputWrapper, input: controlsClasses.input },
|
|
660
|
-
}),
|
|
661
|
-
// Button / ActionIcon: depth for EVERY variant that owns a box (docs/DESIGN-SPEC.md §5's
|
|
662
|
-
// Button idiom; doctrine inversion #1) — `default`/`filled`/`light` on the shared
|
|
663
|
-
// `shadow-raised`, `outline` on ring-free `shadow-ctrl`, `subtle` flat at rest. Emphasis stays
|
|
664
|
-
// in fill weight,
|
|
665
|
-
// never in z-height. Background for `default` already resolves through the shared
|
|
666
|
-
// `--mantine-color-default` var (→ `--vx-surface-panel`, see cssVariablesResolver below) and
|
|
667
|
-
// its border through `--mantine-color-default-border` (→ transparent, same resolver) — neither
|
|
668
|
-
// component had a `.extend()` block at all before this, which is why they never picked up
|
|
669
|
-
// either. Everything else — the per-variant depth and the disabled/reduced-motion grounding —
|
|
670
|
-
// lives in controls.module.css, where the variant scoping
|
|
671
|
-
// is an attribute selector: Mantine declares no `box-shadow` on either component at any
|
|
672
|
-
// specificity, so none of it needs a specificity fight. Nothing about depth is expressible in
|
|
673
|
-
// the flat `styles` objects here, which is the whole reason that file exists.
|
|
674
|
-
//
|
|
675
|
-
// Density coupling: mirrors Input's `--input-height` override above — Mantine's OWN
|
|
676
|
-
// `--button-height-md`/`--ai-size` (via `--ai-size-md`) are global, non-retunable statics
|
|
677
|
-
// (`getSize(size, 'button-height'/'ai-size')`, `@mantine/core/esm/components/{Button,
|
|
678
|
-
// ActionIcon}/{Button,ActionIcon}.mjs`), so a `size="md"` Button/ActionIcon placed beside a
|
|
679
|
-
// `size="md"` Input (the framework's own default, set by `defaultProps` above) only matched the
|
|
680
|
-
// Input's height at density level 0 — every other level left the two heights diverging by as
|
|
681
|
-
// much as 13px. `--vx-space-control-height` (`tokens/index.ts`) is single-sourced from the
|
|
682
|
-
// SAME `SPACE_ANCHORS_BASE.controlHeight` anchor `--vx-space-input-height` reads (see that
|
|
683
|
-
// anchor's doc in `tokens/palette.ts`), so the two can never drift. Scoped to `size === 'md'`,
|
|
684
|
-
// same rationale as Input's override: `undefined` leaves an explicitly different size (e.g.
|
|
685
|
-
// `size="xs"`) on Mantine's own static height.
|
|
686
|
-
Button: ext<typeof Button>({
|
|
687
|
-
classNames: { root: controlsClasses.buttonRoot },
|
|
688
|
-
vars: (_theme, props) => {
|
|
689
|
-
const ink = inkVars(props)
|
|
690
|
-
return {
|
|
691
|
-
root: {
|
|
692
|
-
'--button-height':
|
|
693
|
-
props.size === 'md'
|
|
694
|
-
? 'calc(var(--vx-space-control-height) * var(--mantine-scale))'
|
|
695
|
-
: undefined,
|
|
696
|
-
'--button-padding-x': buttonPaddingX(props.size),
|
|
697
|
-
'--button-section-padding-x': buttonSectionX(props.size),
|
|
698
|
-
'--button-color': ink.color,
|
|
699
|
-
'--button-hover': ink.hover,
|
|
700
|
-
'--button-bg': ink.bg,
|
|
701
|
-
'--button-bd': ink.border,
|
|
702
|
-
},
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
}),
|
|
706
|
-
ActionIcon: ext<typeof ActionIcon>({
|
|
707
|
-
classNames: { root: controlsClasses.actionIconRoot },
|
|
708
|
-
vars: (_theme, props) => {
|
|
709
|
-
const ink = inkVars(props)
|
|
710
|
-
return {
|
|
711
|
-
root: {
|
|
712
|
-
'--ai-size':
|
|
713
|
-
props.size === 'md'
|
|
714
|
-
? 'calc(var(--vx-space-control-height) * var(--mantine-scale))'
|
|
715
|
-
: undefined,
|
|
716
|
-
'--ai-color': ink.color,
|
|
717
|
-
'--ai-hover': ink.hover,
|
|
718
|
-
'--ai-bg': ink.bg,
|
|
719
|
-
'--ai-bd': ink.border,
|
|
720
|
-
},
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
}),
|
|
724
|
-
// CheckboxCard / RadioCard (`withBorder`, true by default): same live regression as Button/
|
|
725
|
-
// ActionIcon before this pass — Mantine ships `border: 1px solid transparent` as the BASE
|
|
726
|
-
// `[data-with-border]` declaration, but its own `:where([data-mantine-color-scheme=…])` block
|
|
727
|
-
// re-colors that to gray-3/dark-4 (pinned to `--vx-surface-border` by the strict-surface lever
|
|
728
|
-
// below), landing a real, flat hairline with no shadow at all — the exact "flat and edgeless"
|
|
729
|
-
// symptom, just via a different mechanism (`[data-with-border]`, not the `default`-variant
|
|
730
|
-
// border var). `.checkboxCardRoot[data-with-border]` / `.radioCardRoot[data-with-border]` are
|
|
731
|
-
// real attribute selectors ((0,2,0)) — Mantine's own rule wraps the same attribute in `:where()`
|
|
732
|
-
// (0 specificity, landing at (0,1,0) total), so no `html[…]` prefix fight is needed here either.
|
|
733
|
-
// Neither component sets a background of its own, so panel bg is added alongside the shadow —
|
|
734
|
-
// the same panel-bg + depth + no-border triad as Card/Paper — on `shadow-raised`, the shared
|
|
735
|
-
// CONTROL depth, not Card/Paper's `shadow-card`: a selection card is something you click.
|
|
736
|
-
CheckboxCard: ext<typeof CheckboxCard>({
|
|
737
|
-
classNames: { card: controlsClasses.checkboxCardRoot },
|
|
738
|
-
}),
|
|
739
|
-
RadioCard: ext<typeof RadioCard>({
|
|
740
|
-
classNames: { card: controlsClasses.radioCardRoot },
|
|
741
|
-
}),
|
|
742
|
-
// Chip: unlike Button/Input, Chip has no literal `variant="default"` — its OWN default (no
|
|
743
|
-
// `variant` prop passed) resolves internally to `variant: 'filled'` (Chip's neutral/unselected
|
|
744
|
-
// look, NOT a "loud" filled color — `light`/`outline` are the other two Chip variants). The
|
|
745
|
-
// unchecked `filled`-variant label already ships a transparent border (`gray-1`/`dark-5` tint,
|
|
746
|
-
// no shadow) — borderless but flat, the same symptom as CheckboxCard/RadioCard above. The class
|
|
747
|
-
// is wired conditionally (function-form `classNames`, same pattern as the `vars` on-color
|
|
748
|
-
// re-points below) so it NEVER reaches a consumer-chosen `light`/`outline` Chip.
|
|
749
|
-
Chip: ext<typeof Chip>({
|
|
750
|
-
classNames: (_theme, props) =>
|
|
751
|
-
(props.variant ?? 'filled') === 'filled' ? { label: controlsClasses.chipLabel } : {},
|
|
752
|
-
}),
|
|
753
|
-
// Track = ink-6% tint, radius 7, 2px padding; active segment = an ink-mixed panel fill +
|
|
754
|
-
// `shadow-ctrl`, radius 5. `--sc-radius`/`--sc-color` don't reach the root track background
|
|
755
|
-
// (Mantine hardcodes that to a raw gray step), so it's forced via `styles.root` same as
|
|
756
|
-
// Card/Paper. The active-only ink label color + weight can't live in the flat `styles.label`
|
|
757
|
-
// object (applies to every option regardless of state), so it's in segmented-control.module.css
|
|
758
|
-
// instead — same pattern as NavLink's active-icon accent.
|
|
759
|
-
//
|
|
760
|
-
// The indicator's fill is `color-mix(in srgb, var(--vx-ink) 12%, var(--vx-surface-panel))`,
|
|
761
|
-
// not a flat `--vx-surface-panel` — a flat panel fill is indistinguishable from the track's
|
|
762
|
-
// OWN parent on the one surface that IS `--vx-surface-panel` (the aside's `panel` filter
|
|
763
|
-
// surface, `docs/CONTROLS-SPEC.md` §3): the track (ink-6% over panel) and the indicator (panel,
|
|
764
|
-
// flat) then differ by 6% ink with no other cue, and `shadow-ctrl` alone (a bare
|
|
765
|
-
// `0 1px 2px` drop, no ring) reads as "barely there". This is NOT the `raised`-token doctrine
|
|
766
|
-
// in `tokens/palette.ts` (`SHADOW.raised`'s "a default control nested in a Card has no boundary
|
|
767
|
-
// but the drop — raise the drop, do not reintroduce an edge") — that doctrine is scoped to the
|
|
768
|
-
// shared Button/ActionIcon/Input depth token, whose fill is a real surface color a border would
|
|
769
|
-
// outline. The indicator's own fill has no such constraint, so a second ink-mix step (12%, double
|
|
770
|
-
// the track's) is the fix: it holds up on every surface the control mounts on, not only the
|
|
771
|
-
// panel-nested one.
|
|
772
|
-
//
|
|
773
|
-
// `.control`'s `min-width: 0` (`segmented-control.module.css`) is the other half of an even
|
|
774
|
-
// `fullWidth` split — Mantine's own `.control` ships `flex: 1` with no `min-width` override, so
|
|
775
|
-
// the initial `auto` floors every option at its min-content width and a `fullWidth` track splits
|
|
776
|
-
// UNEVENLY. The label already carries `overflow: hidden` + `text-overflow: ellipsis`, so a
|
|
777
|
-
// label that no longer fits its equal share truncates instead of forcing the column wide.
|
|
778
|
-
//
|
|
779
|
-
// The track's padding is `SPACE_FIXED.segmentedTrackInset`, a plain literal — NOT a
|
|
780
|
-
// `--vx-space-*` var — because it is density-EXEMPT (see that constant's doc in
|
|
781
|
-
// `tokens/palette.ts`). The INDICATOR radius is the track's per-instance radius (`--sc-radius`,
|
|
782
|
-
// which Mantine sets on the root from the `radius` prop) minus 3 px, snapped DOWN onto the radius
|
|
783
|
-
// scale: `craft-1/nested-radius-step` wants nested surfaces ≥ 3 px apart, SPEC § 8.1 rule 1 wants
|
|
784
|
-
// every radius on a § 5 step, and the only step that satisfies both under a 6 px track is 2
|
|
785
|
-
// (`RADIUS_STEP.scaleXs`; 0 when the track is under 5 px). A custom `radius` therefore nests too.
|
|
786
|
-
SegmentedControl: ext<typeof SegmentedControl>({
|
|
787
|
-
defaultProps: { radius: radius.ctrl },
|
|
788
|
-
classNames: {
|
|
789
|
-
label: segmentedControlClasses.label,
|
|
790
|
-
control: segmentedControlClasses.control,
|
|
791
|
-
indicator: segmentedControlClasses.indicator,
|
|
792
|
-
},
|
|
793
|
-
// `label` gets a `ctl`-only min-height (function-form `styles`, same `props.size === …` gate
|
|
794
|
-
// as Button/ActionIcon/Input's `vars` overrides above) so a `size="ctl"` SegmentedControl
|
|
795
|
-
// matches the ctl Button/Input box exactly instead of following its own fixed padding — see
|
|
796
|
-
// `CTL_SEGMENT_PADDING_Y`'s doc below for why the label's own padding alone can't track
|
|
797
|
-
// density. `sm`/`md` SegmentedControls (forms) are untouched, keeping Mantine's own sizing.
|
|
798
|
-
styles: (_theme, props) => ({
|
|
799
|
-
root: {
|
|
800
|
-
backgroundColor: 'color-mix(in srgb, var(--vx-ink) 8%, transparent)',
|
|
801
|
-
padding: `${SPACE_FIXED.segmentedTrackInset}px`,
|
|
802
|
-
// The OUTER safety net a `.control`'s own `min-width: 0` (`segmented-control.module.css`)
|
|
803
|
-
// cannot provide by itself: that rule only lets each SEGMENT shrink below its own label's
|
|
804
|
-
// content width so `fullWidth` can split evenly — it does nothing to stop the WHOLE TRACK
|
|
805
|
-
// from being squeezed by an ANCESTOR flex row with room to spare (a `Section`/`StatCard`
|
|
806
|
-
// header's `actions` slot), which silently clipped "Absolute" to "Absolut" with no
|
|
807
|
-
// ellipsis at all. `min-width: max-content` pins the root to the sum of its labels'
|
|
808
|
-
// natural widths — it now OVERFLOWS a too-narrow ancestor instead of shrinking into it,
|
|
809
|
-
// which is also what makes the overflow MEASURABLE (`panel-row.tsx`'s `useTrackFits`
|
|
810
|
-
// compares the root's rendered width against its parent's available space). Inside that
|
|
811
|
-
// floor, `fullWidth` with room to spare still splits its segments evenly exactly as
|
|
812
|
-
// before — the floor only ever raises the STARTING point flex-grow distributes surplus
|
|
813
|
-
// from, never removes the segments' own equal-share arithmetic.
|
|
814
|
-
minWidth: 'max-content',
|
|
815
|
-
},
|
|
816
|
-
indicator: {
|
|
817
|
-
// A RAISED pill, not a darker one: its fill (`segmented-control.module.css`, per scheme) is
|
|
818
|
-
// lighter than the ink-tinted track in both schemes, + the shared raised shadow + a 1px ink outline.
|
|
819
|
-
// Same model as Mantine's default (white indicator, shadow, on a grey track) and
|
|
820
|
-
// shadcn's Tabs/ToggleGroup (`bg-background` + shadow on a `bg-muted` track). The old
|
|
821
|
-
// ink-12% fill sat one shade from the track and read as a hover state.
|
|
822
|
-
boxShadow: 'var(--vx-shadow-raised)',
|
|
823
|
-
outline: '1px solid color-mix(in srgb, var(--vx-ink) 14%, transparent)',
|
|
824
|
-
// Nested radius snapped to the scale (SPEC § 8.1 rule 1): 2 when the track leaves a 3 px step, else 0.
|
|
825
|
-
// `--sc-radius` has no fallback: `defaultProps.radius` above guarantees Mantine sets it.
|
|
826
|
-
borderRadius: 'round(down,min(2px,max(0px,var(--sc-radius) - 3px)),2px)',
|
|
827
|
-
},
|
|
828
|
-
// Conditionally spread the WHOLE key (never a present `label: undefined`) — the package
|
|
829
|
-
// builds under `exactOptionalPropertyTypes`, which treats a key present-but-`undefined` as
|
|
830
|
-
// a type error distinct from the key being absent.
|
|
831
|
-
//
|
|
832
|
-
// `width: '100%'` + `minWidth: 0` are load-bearing, not cosmetic: `inline-flex` is a
|
|
833
|
-
// shrink-to-fit box by default (like `inline-block`), so switching `.label` to it for
|
|
834
|
-
// vertical centering ALSO switched its width from "fills `.control`'s box" (a plain
|
|
835
|
-
// `display: block`'s default) to "sized to its own content" — which is invisible until
|
|
836
|
-
// `fullWidth` forces every `.control` to an EQUAL share (`segmented-control.module.css`'s
|
|
837
|
-
// `min-width: 0`): a label wider than that equal share then rendered at its own full
|
|
838
|
-
// content width, overflowing its column and getting hard-clipped by the track's own
|
|
839
|
-
// `overflow: hidden` instead of ellipsizing inside it ("Same period last year" cut off
|
|
840
|
-
// mid-word). `width: 100%` makes the inline-flex box fill `.control` again, and `minWidth:
|
|
841
|
-
// 0` is the same flex-item footgun `.control` itself needed — `.label` is ALSO a flex
|
|
842
|
-
// container's item once `fullWidth`'s `.root { display: flex }` applies, so it inherits an
|
|
843
|
-
// `auto` (content-based) minimum unless told otherwise.
|
|
844
|
-
...(props.size === 'ctl'
|
|
845
|
-
? {
|
|
846
|
-
label: {
|
|
847
|
-
display: 'inline-flex',
|
|
848
|
-
alignItems: 'center',
|
|
849
|
-
minHeight: `calc(var(--vx-space-control-height-ctl) * var(--mantine-scale) - ${2 * SPACE_FIXED.segmentedTrackInset}px)`,
|
|
850
|
-
// `width: '100%'` only when `fullWidth` — it is what makes an EQUAL-SPLIT
|
|
851
|
-
// segment's label fill its column instead of shrink-to-fit around its own text
|
|
852
|
-
// (the "Same period last year" clipped-with-no-ellipsis case). A NON-`fullWidth`
|
|
853
|
-
// track (a header's `actions` slot, two or three options) wants the opposite: its
|
|
854
|
-
// label sized to its OWN content, so the root's `min-width: max-content` (below)
|
|
855
|
-
// measures the label's true natural width rather than an equal 1/2 or 1/3 share
|
|
856
|
-
// computed through `.control`'s `flex-basis: 0%` — forcing `width: 100%` there
|
|
857
|
-
// too under-computed the shrink-to-fit root by a few px ("Absolute" clipped to
|
|
858
|
-
// "Absolut" even with the floor in place).
|
|
859
|
-
...(props.fullWidth === true ? { width: '100%', minWidth: 0 } : {}),
|
|
860
|
-
},
|
|
861
|
-
}
|
|
862
|
-
: {}),
|
|
863
|
-
}),
|
|
864
|
-
}),
|
|
865
|
-
// Track = ink-8%; leader/section fill colors are a per-usage `color` prop (left to consumers).
|
|
866
|
-
Progress: ext<typeof Progress>({
|
|
867
|
-
// `size` is a NUMBER, not a `var()` string — same rem()-comma-trap reasoning as Timeline's
|
|
868
|
-
// `bulletSize`/`lineWidth` below, so it reads the resolved `spacing.step.progressBarSize`
|
|
869
|
-
// (density-tracking) rather than a hand-typed literal.
|
|
870
|
-
defaultProps: { size: spacing.step.progressBarSize, radius: radius.fine },
|
|
871
|
-
styles: {
|
|
872
|
-
root: { backgroundColor: 'color-mix(in srgb, var(--vx-ink) 8%, transparent)' },
|
|
873
|
-
},
|
|
874
|
-
}),
|
|
875
|
-
// Activity-feed idiom: 20-24px bullet, hairline connecting line (not Mantine's heavy default),
|
|
876
|
-
// head-weight title, muted body — zero call-site work for an on-spec Timeline. `bulletSize`/
|
|
877
|
-
// `lineWidth` land through Timeline's OWN `varsResolver` (real component vars, not our `styles`
|
|
878
|
-
// object), so they aren't subject to the custom-property stripping below. The bullet's
|
|
879
|
-
// panel/hairline/accent-active treatment and the line's divider color ARE custom-property
|
|
880
|
-
// declarations / state-selectors — both unreachable from a flat `styles` object (same
|
|
881
|
-
// reasoning as SegmentedControl's active-label rule and NavLink's active-icon rule) — so they
|
|
882
|
-
// live in `timeline.module.css` instead. `TimelineItem` renders through the PARENT Timeline's
|
|
883
|
-
// style context (`ctx.getStyles`), so `item`/`itemBullet`/`itemTitle`/`itemContent` are all
|
|
884
|
-
// themed from this ONE extend — no separate `TimelineItem` override needed.
|
|
885
|
-
Timeline: ext<typeof Timeline>({
|
|
886
|
-
// NUMBERS, not `var()` strings: `bulletSize`/`lineWidth` land through Timeline's own
|
|
887
|
-
// `rem()` conversion (`@mantine/core/esm/core/utils/units-converters/rem.mjs` splits on `,`
|
|
888
|
-
// and ` ` before checking numerics), which passes a bare `var(--x)` through intact but
|
|
889
|
-
// silently mangles a `var(--x, <fallback>)` into garbage CSS — never add a fallback here.
|
|
890
|
-
defaultProps: { bulletSize: spacing.step.timelineBullet, lineWidth: SPACE_FIXED.hairline },
|
|
891
|
-
// The active bullet's icon sits on the accent fill — on-color, not a baked white (see above).
|
|
892
|
-
vars: (theme, props) => ({ root: { '--tl-icon-color': onColorFor(theme, props) } }),
|
|
893
|
-
classNames: {
|
|
894
|
-
item: timelineClasses.item,
|
|
895
|
-
itemBullet: timelineClasses.itemBullet,
|
|
896
|
-
},
|
|
897
|
-
styles: {
|
|
898
|
-
itemTitle: {
|
|
899
|
-
fontSize: VX.text.sm,
|
|
900
|
-
fontWeight: 600,
|
|
901
|
-
color: 'var(--vx-ink)',
|
|
902
|
-
},
|
|
903
|
-
itemContent: {
|
|
904
|
-
fontSize: VX.text.sm,
|
|
905
|
-
color: 'var(--vx-muted)',
|
|
906
|
-
},
|
|
907
|
-
},
|
|
908
|
-
}),
|
|
909
|
-
// ── Floating layer (docs/DESIGN-SPEC.md §5) ─────────────────────────────────────────────
|
|
910
|
-
// ONE idiom for every detached surface: overlay surface + a REAL 1px `--vx-surface-border`
|
|
911
|
-
// border + the overlay elevation shadow. The border must be a real `border` property (never
|
|
912
|
-
// "ring in the shadow" like cards): Mantine's arrow is a rotated square that draws
|
|
913
|
-
// `1px solid var(--popover-border-color)` and inherits the dropdown's background — with
|
|
914
|
-
// `border: 'none'` on the dropdown the arrow rendered as a broken floating diamond edge.
|
|
915
|
-
// (`--popover-border-color` resolves to gray-2/dark-4, both pinned to `--vx-surface-border`
|
|
916
|
-
// by the resolver below, so dropdown and arrow always share the same edge color.)
|
|
917
|
-
|
|
918
|
-
// Tooltip is a standalone floating primitive (not Popover-based) — themed directly. Its arrow
|
|
919
|
-
// ships border-less (`border: 0`), so the same edge is applied inline to keep the ring closed.
|
|
920
|
-
Tooltip: ext<typeof Tooltip>({
|
|
921
|
-
defaultProps: { radius: radius.floating },
|
|
922
|
-
styles: {
|
|
923
|
-
tooltip: {
|
|
924
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
925
|
-
color: 'var(--vx-ink)',
|
|
926
|
-
border: '1px solid var(--vx-surface-border)',
|
|
927
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
928
|
-
},
|
|
929
|
-
arrow: { border: '1px solid var(--vx-surface-border)' },
|
|
930
|
-
},
|
|
931
|
-
}),
|
|
932
|
-
// Popover is the shared floating primitive underneath Menu (Menu renders `<Popover>`
|
|
933
|
-
// internally with no `radius`/`shadow` of its own), so theming it here covers both.
|
|
934
|
-
Popover: ext<typeof Popover>({
|
|
935
|
-
defaultProps: { radius: radius.floating },
|
|
936
|
-
styles: {
|
|
937
|
-
dropdown: {
|
|
938
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
939
|
-
border: '1px solid var(--vx-surface-border)',
|
|
940
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
941
|
-
},
|
|
942
|
-
},
|
|
943
|
-
}),
|
|
944
|
-
// Menu rows: 13px, radius 6, ghost ink-6% hover (floating.module.css — custom properties are
|
|
945
|
-
// stripped from `styles` objects, and Menu's internal Popover does NOT consume
|
|
946
|
-
// `components.Popover.styles`, so the dropdown surface is repeated here). Menu.Label = the
|
|
947
|
-
// mono micro-label idiom; dividers use the layout-divider token.
|
|
948
|
-
Menu: ext<typeof Menu>({
|
|
949
|
-
classNames: { item: floatingClasses.menuItem },
|
|
950
|
-
styles: {
|
|
951
|
-
dropdown: {
|
|
952
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
953
|
-
border: '1px solid var(--vx-surface-border)',
|
|
954
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
955
|
-
},
|
|
956
|
-
item: {
|
|
957
|
-
fontSize: VX.text.sm,
|
|
958
|
-
borderRadius: 'var(--vx-radius-ctrl)',
|
|
959
|
-
padding: 'var(--vx-space-row-inset-y) var(--vx-space-row-inset-x)',
|
|
960
|
-
},
|
|
961
|
-
label: {
|
|
962
|
-
fontFamily: 'var(--basalt-font-mono)',
|
|
963
|
-
fontSize: VX.text.micro,
|
|
964
|
-
fontWeight: 500,
|
|
965
|
-
letterSpacing: '0.06em',
|
|
966
|
-
textTransform: 'uppercase',
|
|
967
|
-
color: 'var(--vx-faint)',
|
|
968
|
-
},
|
|
969
|
-
divider: { borderColor: 'var(--vx-divider)' },
|
|
970
|
-
},
|
|
971
|
-
}),
|
|
972
|
-
// Combobox is the floating primitive underneath Select/Autocomplete/MultiSelect — like Menu,
|
|
973
|
-
// it doesn't consume `components.Popover.styles`, so the overlay dropdown idiom is repeated.
|
|
974
|
-
Combobox: ext<typeof Combobox>({
|
|
975
|
-
styles: {
|
|
976
|
-
dropdown: {
|
|
977
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
978
|
-
border: '1px solid var(--vx-surface-border)',
|
|
979
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
980
|
-
},
|
|
981
|
-
},
|
|
982
|
-
}),
|
|
983
|
-
// Modal/Drawer: overlay surface + overlay shadow on the content, the SAME surface on the
|
|
984
|
-
// header. Mantine's header is `position: sticky` by default, painted `--mantine-color-body` —
|
|
985
|
-
// basalt used to drop that to `transparent`, which reads fine over a body that never scrolls
|
|
986
|
-
// under it but shows every scrolled row straight through the title once one does (the mobile
|
|
987
|
-
// filter sheet, the shell's "More" nav sheet). The header stays sticky; only its own
|
|
988
|
-
// background moves back to opaque, matching the content box it sits above rather than the page
|
|
989
|
-
// behind it. Title = head font; close button = the ghost idiom (floating.module.css). Below the
|
|
990
|
-
// `medium` size class the Modal is a bottom sheet (floating.module.css `sheet*`).
|
|
991
|
-
Modal: ext<typeof Modal>({
|
|
992
|
-
defaultProps: {
|
|
993
|
-
radius: radius.floating,
|
|
994
|
-
closeButtonProps: { ...HIT_ATTR, 'aria-label': 'Close' },
|
|
995
|
-
},
|
|
996
|
-
classNames: {
|
|
997
|
-
close: floatingClasses.closeButton,
|
|
998
|
-
inner: floatingClasses.sheetInner,
|
|
999
|
-
content: floatingClasses.sheetContent,
|
|
1000
|
-
body: floatingClasses.sheetBody,
|
|
1001
|
-
},
|
|
1002
|
-
styles: {
|
|
1003
|
-
content: {
|
|
1004
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
1005
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
1006
|
-
},
|
|
1007
|
-
header: { backgroundColor: 'var(--vx-surface-overlay)' },
|
|
1008
|
-
title: {
|
|
1009
|
-
fontFamily: 'var(--basalt-font-head)',
|
|
1010
|
-
fontWeight: 550,
|
|
1011
|
-
fontStretch: '88%',
|
|
1012
|
-
},
|
|
1013
|
-
},
|
|
1014
|
-
}),
|
|
1015
|
-
Drawer: ext<typeof Drawer>({
|
|
1016
|
-
classNames: { close: floatingClasses.closeButton },
|
|
1017
|
-
styles: {
|
|
1018
|
-
content: {
|
|
1019
|
-
backgroundColor: 'var(--vx-surface-overlay)',
|
|
1020
|
-
boxShadow: 'var(--vx-shadow-overlay)',
|
|
1021
|
-
},
|
|
1022
|
-
header: { backgroundColor: 'var(--vx-surface-overlay)' },
|
|
1023
|
-
title: {
|
|
1024
|
-
fontFamily: 'var(--basalt-font-head)',
|
|
1025
|
-
fontWeight: 550,
|
|
1026
|
-
fontStretch: '88%',
|
|
1027
|
-
},
|
|
1028
|
-
},
|
|
1029
|
-
}),
|
|
1030
|
-
// Kbd/Code share the ink-tint idiom (docs/DESIGN-SPEC.md §2: "segmented-control track /
|
|
1031
|
-
// count-badge bg: ink 6–8%") — mono, ink-7% bg, radius 5.
|
|
1032
|
-
// Flat mono chip (mock's ⌘K badge) — Mantine's default Kbd draws a 3px "keyboard key" bottom
|
|
1033
|
-
// border that reads as a heavy off-system rule, so the border goes entirely.
|
|
1034
|
-
Kbd: ext<typeof Kbd>({
|
|
1035
|
-
styles: {
|
|
1036
|
-
root: {
|
|
1037
|
-
backgroundColor: 'color-mix(in srgb, var(--vx-ink) 7%, transparent)',
|
|
1038
|
-
border: 'none',
|
|
1039
|
-
color: 'var(--vx-ink2)',
|
|
1040
|
-
borderRadius: 'var(--vx-radius-tight)',
|
|
1041
|
-
},
|
|
1042
|
-
},
|
|
1043
|
-
}),
|
|
1044
|
-
Code: ext<typeof Code>({
|
|
1045
|
-
styles: {
|
|
1046
|
-
root: {
|
|
1047
|
-
backgroundColor: 'color-mix(in srgb, var(--vx-ink) 7%, transparent)',
|
|
1048
|
-
// An Alert re-points the var (`controls.module.css`) so a nested Code steps down.
|
|
1049
|
-
borderRadius: 'var(--basalt-code-radius, var(--vx-radius-tight))',
|
|
1050
|
-
},
|
|
1051
|
-
},
|
|
1052
|
-
}),
|
|
1053
|
-
// Header cells become a micro-label (mono, uppercase; the colour — faint, ink when sorted — is
|
|
1054
|
-
// `.tableRoot th` in controls.module.css, since an inline colour here could not be overridden by
|
|
1055
|
-
// the sorted state). The head shares the body's fill: no band, only the hairline. Numeral/tabular styling for
|
|
1056
|
-
// body cells is a per-table call-site concern, left to consumers. `--table-border-color`
|
|
1057
|
-
// drives row separators AND the opt-in `withTableBorder` outer border — both drop to the
|
|
1058
|
-
// hairline (Mantine's default reads gray-3/dark-4 = the STRONG line, too heavy in a card).
|
|
1059
|
-
// Row heights are declared here rather than through `verticalSpacing`, because Mantine derives
|
|
1060
|
-
// BOTH `th` and `td` padding from that one prop — a 36/40 pair (label band over roomier data
|
|
1061
|
-
// rows) is not expressible by it at all. `height` on a table cell behaves as a MINIMUM, so a
|
|
1062
|
-
// wrapping cell still grows; `verticalSpacing` keeps working on top of it for a consumer that
|
|
1063
|
-
// wants a denser or looser table than the tier.
|
|
1064
|
-
Table: ext<typeof Table>({
|
|
1065
|
-
classNames: { table: controlsClasses.tableRoot },
|
|
1066
|
-
styles: {
|
|
1067
|
-
th: {
|
|
1068
|
-
height: spacing.step.tableHeaderHeight,
|
|
1069
|
-
fontFamily: 'var(--basalt-font-mono)',
|
|
1070
|
-
fontSize: VX.text.micro,
|
|
1071
|
-
fontWeight: 500,
|
|
1072
|
-
letterSpacing: '0.06em',
|
|
1073
|
-
textTransform: 'uppercase',
|
|
1074
|
-
},
|
|
1075
|
-
td: { height: spacing.step.tableRowHeight, fontSize: VX.text.sm },
|
|
1076
|
-
},
|
|
1077
|
-
}),
|
|
1078
|
-
// The v9 thumb indicator is a center dot painted in the TRACK color — over the remapped
|
|
1079
|
-
// neutral track it read as an artifact, so it's disabled: clean track, plain thumb, accent
|
|
1080
|
-
// fill when checked (`--switch-color` defaults to the primary filled shade = the accent).
|
|
1081
|
-
// `track` is the Switch's <label>, so the invisible `--vx-hit` overlay (`data-basalt-hit`)
|
|
1082
|
-
// still toggles it. Checkbox/Radio boxes are bare <input>s under a plain <div> — an overlay
|
|
1083
|
-
// there would swallow clicks, so only their `label` (a real <label>) carries it.
|
|
1084
|
-
Switch: ext<typeof Switch>({
|
|
1085
|
-
defaultProps: {
|
|
1086
|
-
withThumbIndicator: false,
|
|
1087
|
-
attributes: { track: HIT_ATTR },
|
|
1088
|
-
},
|
|
1089
|
-
}),
|
|
1090
|
-
// The tab-list bottom rule (and the inactive-tab hover underline) is a layout separator, not
|
|
1091
|
-
// control chrome — it reads the divider token instead of the heavy gray-3/dark-4 line
|
|
1092
|
-
// (controls.module.css; custom properties are stripped from `styles` objects). The active tab
|
|
1093
|
-
// underline, outline border and pill fill take ink, not the accent (SPEC § 6.12; DESIGN-CORE
|
|
1094
|
-
// § Accent discipline); `color=` opts back in.
|
|
1095
|
-
Tabs: ext<typeof Tabs>({
|
|
1096
|
-
classNames: { root: controlsClasses.tabsRoot },
|
|
1097
|
-
vars: tabsVars,
|
|
1098
|
-
}),
|
|
1099
|
-
|
|
1100
|
-
// ── ON-COLOR re-points (see the ON-COLOR doctrine above) ────────────────────────────────
|
|
1101
|
-
// These components never reach `variantColorResolver` — each calls Mantine's `getContrastColor`
|
|
1102
|
-
// straight from its own `varsResolver`, so each bakes the same scheme-blind white into its ONE
|
|
1103
|
-
// foreground var. Theme `vars` merge AFTER a component's own `varsResolver` (Mantine
|
|
1104
|
-
// `useStyles`), so re-pointing that var here wins on every render path. Without this, a dark-mode
|
|
1105
|
-
// Checkbox/Radio paints a white checkmark on the light accent fill — invisible.
|
|
1106
|
-
Checkbox: ext<typeof Checkbox>({
|
|
1107
|
-
defaultProps: { attributes: { label: HIT_ATTR } },
|
|
1108
|
-
vars: (theme, props) => ({
|
|
1109
|
-
root: {
|
|
1110
|
-
// `iconColor` is an explicit call-site override, and `outline` paints the mark in the
|
|
1111
|
-
// color itself on a transparent box — neither is an on-color surface.
|
|
1112
|
-
'--checkbox-icon-color':
|
|
1113
|
-
props.iconColor || props.variant === 'outline' ? undefined : onColorFor(theme, props),
|
|
1114
|
-
},
|
|
1115
|
-
}),
|
|
1116
|
-
}),
|
|
1117
|
-
Radio: ext<typeof Radio>({
|
|
1118
|
-
defaultProps: { attributes: { label: HIT_ATTR } },
|
|
1119
|
-
vars: (theme, props) => ({
|
|
1120
|
-
root: {
|
|
1121
|
-
'--radio-icon-color':
|
|
1122
|
-
props.iconColor || props.variant === 'outline' ? undefined : onColorFor(theme, props),
|
|
1123
|
-
},
|
|
1124
|
-
}),
|
|
1125
|
-
}),
|
|
1126
|
-
// The current page is ink (SPEC § 6.12); its one home is `controls.module.css`, so this entry only
|
|
1127
|
-
// registers the component for the border-coverage gate.
|
|
1128
|
-
Pagination: ext<typeof Pagination>({}),
|
|
1129
|
-
// `Pagination`'s own controls (prev/next/page buttons) resolve `PaginationControl`'s
|
|
1130
|
-
// defaultProps independently of the parent — `data-basalt-hit` here is what closes the
|
|
1131
|
-
// gap Switch/Checkbox/Radio already close at their own theme entries.
|
|
1132
|
-
PaginationControl: ext<typeof PaginationControl>({
|
|
1133
|
-
defaultProps: { ...HIT_ATTR },
|
|
1134
|
-
}),
|
|
1135
|
-
Stepper: ext<typeof Stepper>({
|
|
1136
|
-
vars: (theme, props) => ({ root: { '--stepper-icon-color': onColorFor(theme, props) } }),
|
|
1137
|
-
}),
|
|
1138
|
-
Indicator: ext<typeof Indicator>({
|
|
1139
|
-
vars: (theme, props) => ({ root: { '--indicator-text-color': onColorFor(theme, props) } }),
|
|
1140
|
-
}),
|
|
1141
|
-
// Accordion (default variant): hairline separators between items only — the color retune AND
|
|
1142
|
-
// the last item's outer border-bottom drop both live in controls.module.css.
|
|
1143
|
-
Accordion: ext<typeof Accordion>({ classNames: { item: controlsClasses.accordionItem } }),
|
|
1144
|
-
// Parents faint, separator line-colored — the current-page treatment (head font, weight) is a
|
|
1145
|
-
// shell-level concern (AppBreadcrumbs), not this generic Mantine primitive.
|
|
1146
|
-
Breadcrumbs: ext<typeof Breadcrumbs>({
|
|
1147
|
-
styles: {
|
|
1148
|
-
breadcrumb: { color: 'var(--vx-faint)' },
|
|
1149
|
-
separator: { color: 'var(--vx-surface-border)' },
|
|
1150
|
-
},
|
|
1151
|
-
}),
|
|
1152
|
-
// Card idiom — same panel + shadow-card as every other surface.
|
|
1153
|
-
Notification: ext<typeof Notification>({
|
|
1154
|
-
defaultProps: { radius: radius.floating },
|
|
1155
|
-
styles: {
|
|
1156
|
-
root: {
|
|
1157
|
-
backgroundColor: 'var(--vx-surface-panel)',
|
|
1158
|
-
boxShadow: 'var(--vx-shadow-card)',
|
|
1159
|
-
},
|
|
1160
|
-
},
|
|
1161
|
-
}),
|
|
1162
|
-
},
|
|
1163
|
-
})
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
/** The static, shipped-identity theme — `buildTheme` evaluated once at
|
|
1167
|
-
* `DEFAULT_DERIVE_CONFIG` (memoized by `buildPaletteData`), not per import. */
|
|
1168
|
-
export const baseTheme: MantineThemeOverride = buildTheme(DEFAULT_PALETTE_DATA)
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* Bind Mantine's surface system to the SAME `--vx-*` variables the charts use, so chrome and
|
|
1172
|
-
* charts draw from one set of scheme-reactive surfaces.
|
|
1173
|
-
*
|
|
1174
|
-
* These bindings MUST live in the `light`/`dark` blocks, not the scheme-independent `variables`
|
|
1175
|
-
* block: Mantine declares the surface vars under the `[data-mantine-color-scheme]` selector, which
|
|
1176
|
-
* outranks a `:root` rule — so a `variables` binding loses to Mantine's per-scheme default. The
|
|
1177
|
-
* light/dark blocks are injected under the same scheme selector, at matching specificity, after.
|
|
1178
|
-
* (The `--vx-*` refs are themselves scheme-resolved; the per-scheme hex fallbacks guard a brief
|
|
1179
|
-
* window before the palette CSS injects.)
|
|
1180
|
-
*
|
|
1181
|
-
* The hex fallbacks are generated from the `SURFACE` / `NEUTRAL` / `INK` palette pairs (not
|
|
1182
|
-
* hand-typed), so they cannot drift from the values the token layer emits for the same `--vx-*`
|
|
1183
|
-
* names.
|
|
1184
|
-
*/
|
|
1185
|
-
/**
|
|
1186
|
-
* Bridge Mantine's PRIMARY-color vars onto the `--vx-*` accent tokens — the second half of the
|
|
1187
|
-
* single-source rule (surfaces are already bridged below).
|
|
1188
|
-
*
|
|
1189
|
-
* Without this, the accent is DUAL-SOURCED: the `--vx-*` layer (charts, links, nav icons, focus
|
|
1190
|
-
* ring) reads CSS custom properties, while the Mantine chrome (buttons, switches, checkboxes, tabs,
|
|
1191
|
-
* badges) reads `theme.colors.blue`, a JS hex ramp baked at module load. The two happened to hold
|
|
1192
|
-
* the same hue, so the split was invisible — until you retune one. It is exactly why the theme lab
|
|
1193
|
-
* appeared broken: overriding `--vx-accent` on `<html>` restyled the charts and left every button
|
|
1194
|
-
* untouched, because no Mantine var pointed at it.
|
|
1195
|
-
*
|
|
1196
|
-
* `getThemeColor(color, theme)` resolves a plain theme color to `var(--mantine-color-{c}-filled)`,
|
|
1197
|
-
* so overriding that ONE var reaches the variant resolver's filled background AND every component
|
|
1198
|
-
* that fills from its own varsResolver (Checkbox, Radio, Switch, Tabs, Timeline, Stepper,
|
|
1199
|
-
* Indicator, Pagination). The `-text` / `-outline` / `-light-color` vars are the accent's INK role
|
|
1200
|
-
* and bridge to `--vx-accent`, which is why they still invert across schemes while the fill does not.
|
|
1201
|
-
*
|
|
1202
|
-
* The `var(--vx-…, <hex>)` fallbacks are generated from the same `ACCENT` pairs the token layer
|
|
1203
|
-
* emits, so they cannot drift, and they cover the window before the palette <style> lands
|
|
1204
|
-
* (`injectPalette={false}`).
|
|
1205
|
-
*/
|
|
1206
|
-
function accentBridge(
|
|
1207
|
-
theme: MantineTheme,
|
|
1208
|
-
side: 'light' | 'dark',
|
|
1209
|
-
data: PaletteData,
|
|
1210
|
-
): Record<string, string> {
|
|
1211
|
-
const c = theme.primaryColor
|
|
1212
|
-
const { ACCENT } = data
|
|
1213
|
-
return {
|
|
1214
|
-
[`--mantine-color-${c}-filled`]: `var(--vx-accent-fill, ${ACCENT.accentFill[side]})`,
|
|
1215
|
-
[`--mantine-color-${c}-filled-hover`]: `var(--vx-accent-fill-hover, ${ACCENT.accentFillHover[side]})`,
|
|
1216
|
-
[`--mantine-color-${c}-text`]: `var(--vx-accent, ${ACCENT.accent[side]})`,
|
|
1217
|
-
[`--mantine-color-${c}-outline`]: `var(--vx-accent, ${ACCENT.accent[side]})`,
|
|
1218
|
-
[`--mantine-color-${c}-light-color`]: `var(--vx-accent, ${ACCENT.accent[side]})`,
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* The same bridge for the NON-primary families — the rest of the chrome, single-sourced.
|
|
1224
|
-
*
|
|
1225
|
-
* Scheme-independent (a fill does not invert), so one map serves both blocks. Only the FILL roles
|
|
1226
|
-
* are bridged: `-text` / `-outline` / `-light-color` are INK roles read against the page, and
|
|
1227
|
-
* Mantine already resolves those correctly per scheme (dark `-text` is hardcoded to shade 4, a
|
|
1228
|
-
* light step; light `-text` chains to `-filled`, so it follows this bridge for free).
|
|
1229
|
-
*
|
|
1230
|
-
* `dark` is deliberately not a member — `color="dark"` is a near-black surface by intent, not a
|
|
1231
|
-
* band color, and forcing it into the band would turn it into a mid grey.
|
|
1232
|
-
*/
|
|
1233
|
-
function familyBridge(data: PaletteData): Record<string, string> {
|
|
1234
|
-
const vars: Record<string, string> = {}
|
|
1235
|
-
for (const [name, hex] of Object.entries(data.FILL)) {
|
|
1236
|
-
vars[`--mantine-color-${name}-filled`] = `var(--vx-fill-${name}, ${hex})`
|
|
1237
|
-
vars[`--mantine-color-${name}-filled-hover`] =
|
|
1238
|
-
`var(--vx-fill-hover-${name}, color-mix(in srgb, ${hex} 88%, #000))`
|
|
1239
|
-
}
|
|
1240
|
-
return vars
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Button inline padding per Mantine size, on the density-scaled `--vx-space-stack-*` steps (4/8/12/16/24
|
|
1245
|
-
* at level 0) instead of Mantine's 14/18/22/26/32 and 7/8/10/12/14 — the off-scale values argo's
|
|
1246
|
-
* decision cards showed (SPEC § 6.12). Heights are untouched. `ctl` (and any custom size) stays
|
|
1247
|
-
* undefined so its own `--button-padding-x-ctl` applies; an unsized Button is Mantine's `sm`.
|
|
1248
|
-
*/
|
|
1249
|
-
const BUTTON_PADDING_X: Record<string, string> = {
|
|
1250
|
-
xs: 'var(--vx-space-stack-md)',
|
|
1251
|
-
sm: 'var(--vx-space-stack-lg)',
|
|
1252
|
-
md: 'var(--vx-space-stack-lg) + var(--vx-space-stack-xs)',
|
|
1253
|
-
lg: 'var(--vx-space-stack-xl)',
|
|
1254
|
-
xl: 'var(--vx-space-stack-xl) + var(--vx-space-stack-sm)',
|
|
1255
|
-
'compact-xs': 'var(--vx-space-stack-sm)',
|
|
1256
|
-
'compact-sm': 'var(--vx-space-stack-sm)',
|
|
1257
|
-
'compact-md': 'var(--vx-space-stack-md)',
|
|
1258
|
-
'compact-lg': 'var(--vx-space-stack-md)',
|
|
1259
|
-
'compact-xl': 'var(--vx-space-stack-lg)',
|
|
1260
|
-
}
|
|
1261
|
-
function buttonPaddingX(size: unknown): string | undefined {
|
|
1262
|
-
const steps = BUTTON_PADDING_X[typeof size === 'string' ? size : 'sm']
|
|
1263
|
-
return steps === undefined ? undefined : `calc((${steps}) * var(--mantine-scale))`
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
/**
|
|
1267
|
-
* The inset on a Button's section side EQUALS its text side, so an icon Button is balanced (Mantine
|
|
1268
|
-
* derives it as `--button-padding-x / 1.5`, which also left the icon side one step tighter than the
|
|
1269
|
-
* text side: 8/12, 12/16, 12/20). `ctl` has its own `--button-padding-x-ctl`; undefined sizes keep
|
|
1270
|
-
* Mantine's value.
|
|
1271
|
-
*/
|
|
1272
|
-
function buttonSectionX(size: unknown): string | undefined {
|
|
1273
|
-
return size === 'ctl' ? 'var(--button-padding-x-ctl)' : buttonPaddingX(size)
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* The `ctl` tier's horizontal inset — one number for a Button, a `FilterPill`, a SegmentedControl
|
|
1278
|
-
* segment and a `kind: 'custom'` Badge, so a home's row reads as one control family
|
|
1279
|
-
* (`docs/CONTROLS-SPEC.md` §3: "the pill: 30px, padding 0 10px"). Not in `SPACE_STEP`: it is a
|
|
1280
|
-
* Mantine size-var value, consumed only by {@link ctlSizeVars}, and it happens to equal
|
|
1281
|
-
* `SPACE.rowInsetX` without being the same concept (that one is a nav/menu ROW's inset).
|
|
1282
|
-
*/
|
|
1283
|
-
const CTL_PADDING_X = 10
|
|
1284
|
-
/** The `ctl` tier's Input vertical inset — 30px box, ~20px line, so 4px a side leaves the border. */
|
|
1285
|
-
const CTL_INPUT_PADDING_Y = 4
|
|
1286
|
-
/**
|
|
1287
|
-
* A `ctl` SegmentedControl segment's vertical inset, in px. Fractional on purpose, and derived
|
|
1288
|
-
* rather than picked: the label's line box is `VX.text.sm` × `--mantine-line-height-sm` ≈ 21px and
|
|
1289
|
-
* the track adds `SPACE_FIXED.segmentedTrackInset` on each side (2px), so landing the CONTROL on the
|
|
1290
|
-
* 30px `ctl` tier needs (30 − 4 − 21) / 2. Mantine's own `--input-padding-y-xs` is 4.5px for the
|
|
1291
|
-
* same reason — a control tier is a total height, and the halves that make it up need not be whole.
|
|
1292
|
-
*/
|
|
1293
|
-
const CTL_SEGMENT_PADDING_Y = 2.5
|
|
1294
|
-
/** A `ctl` Combobox chevron. Mantine's own `xs` value; restated because it cannot be referenced. */
|
|
1295
|
-
const CTL_CHEVRON_SIZE = 14
|
|
1296
|
-
/**
|
|
1297
|
-
* The `ctl` NumberInput's stepper column, in px — Mantine's own `xs` pair (`--ni-chevron-size-xs`,
|
|
1298
|
-
* `--ni-right-section-width-xs`; `NumberInput.css`), restated for the same reason `CTL_CHEVRON_SIZE`
|
|
1299
|
-
* is: `xs` is Mantine's own `--input-height-xs: 30px`, the ONE built-in size tier that already equals
|
|
1300
|
-
* the `ctl` height, so its stepper column is the size a 30px NumberInput was always meant to carry.
|
|
1301
|
-
* Both vars are load-bearing, not cosmetic — `NumberInput.mjs`'s `varsResolver` sets
|
|
1302
|
-
* `--ni-chevron-size` via `getSize(size, 'ni-chevron-size')` (undeclared at `:root` for a custom
|
|
1303
|
-
* size, so a `size="ctl"` NumberInput fell back to the property's initial value, and
|
|
1304
|
-
* `.controls { max-width: calc(var(--ni-chevron-size) * 1.7) }` — `NumberInput.css:21` — resolved to
|
|
1305
|
-
* an invalid `calc()` and dropped its `max-width` entirely, so the stacked chevrons stretched across
|
|
1306
|
-
* the whole right section), and `rightSectionWidth` defaults to a raw
|
|
1307
|
-
* `` `var(--ni-right-section-width-${size})` `` template (`NumberInput.mjs:412`) rather than a
|
|
1308
|
-
* `getSize` call, so `ctl-tier-coverage.test.ts`'s scan cannot discover it — it is declared here
|
|
1309
|
-
* because the CSS reads it, not because a scan requires it.
|
|
1310
|
-
*/
|
|
1311
|
-
const CTL_NUMBER_CHEVRON_SIZE = 10
|
|
1312
|
-
const CTL_NUMBER_RIGHT_SECTION_WIDTH = 17
|
|
1313
|
-
/**
|
|
1314
|
-
* The `ctl` tier's Radio/Checkbox indicator box, in px — 16, the SAME square
|
|
1315
|
-
* `theme/icon-slot.module.css` gives every icon in the tier, and for the same reason: a 13px
|
|
1316
|
-
* option label needs a mark it reads as part of the row rather than as a control beside it. Mantine's
|
|
1317
|
-
* default is `sm` (20px) and its `md` is 24px, both of which made the popover a column of controls
|
|
1318
|
-
* (the sheet/panel forms found the same thing and went further — `docs/CONTROLS-SPEC.md` §3's
|
|
1319
|
-
* `PanelChoice`/facet rows draw no Radio/Checkbox indicator at all, a hidden native input instead).
|
|
1320
|
-
*/
|
|
1321
|
-
const CTL_TOGGLE_SIZE = 16
|
|
1322
|
-
/**
|
|
1323
|
-
* A `ctl` Radio's inner dot. Mantine's own ratio is `size * 0.4` — the literal fallback its
|
|
1324
|
-
* `varsResolver` applies to a NUMERIC size (`Radio/RadioIndicator/RadioIndicator.mjs`), and what its
|
|
1325
|
-
* shipped pairs already encode (10px dot in a 24px `md` box). Derived rather than picked so the dot
|
|
1326
|
-
* stays proportional if the box moves.
|
|
1327
|
-
*/
|
|
1328
|
-
const CTL_RADIO_DOT_SIZE = CTL_TOGGLE_SIZE * 0.4
|
|
1329
|
-
/**
|
|
1330
|
-
* The `ctl` Switch: an 18×30 track with a 12px thumb. Mantine ships no tier between `xs` (16×32,
|
|
1331
|
-
* 12px thumb) and `sm` (20×38, 14px), and neither fits — `xs` is SHORTER than the tier's indicator
|
|
1332
|
-
* box while being twice as wide as it, which reads as a slider rather than a toggle. 18 is one step
|
|
1333
|
-
* over the 16px indicator (a switch must read as the taller control, it carries a moving part), and
|
|
1334
|
-
* 30 is the narrowest track that still shows travel: 30 − 12 thumb − 2×3 padding leaves 12px of it.
|
|
1335
|
-
*/
|
|
1336
|
-
const CTL_SWITCH_HEIGHT = 18
|
|
1337
|
-
const CTL_SWITCH_WIDTH = 30
|
|
1338
|
-
const CTL_SWITCH_THUMB_SIZE = 12
|
|
1339
|
-
/** The `on`/`off` labels INSIDE a `ctl` switch track, and their inset. Mantine's `xs` pair, which is
|
|
1340
|
-
* the last tier whose label still fits an 18px track. */
|
|
1341
|
-
const CTL_SWITCH_TRACK_LABEL_SIZE = 5
|
|
1342
|
-
const CTL_SWITCH_TRACK_LABEL_PADDING = 2
|
|
1343
|
-
/**
|
|
1344
|
-
* The `ctl` Slider's TRACK height, in px. The thumb is not a second number: Mantine derives it as
|
|
1345
|
-
* `calc(var(--slider-size) * 2)` (`Slider.mjs`'s `varsResolver`), so 6 lands a 12px thumb — the same
|
|
1346
|
-
* moving part the `ctl` Switch carries, which is what makes a row of inspector rows read as one
|
|
1347
|
-
* family. Mantine's own `md` (8 → a 16px thumb) is the tier's whole icon box, and its `xs`
|
|
1348
|
-
* (4 → 8px) is smaller than the tier's radio dot.
|
|
1349
|
-
*/
|
|
1350
|
-
const CTL_SLIDER_TRACK_SIZE = 6
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* The `size="ctl"` / `size="icon"` Mantine size-tier var sets (`docs/CONTROLS-SPEC.md` §5, C5) —
|
|
1354
|
-
* scheme-independent, so they live in `cssVariablesResolver`'s `variables` block (`:root`, not
|
|
1355
|
-
* `light`/`dark`), declared exactly once regardless of color scheme. Mechanism, verified against
|
|
1356
|
-
* the installed `@mantine/core` 9.3.0 source (`core/utils/get-size/get-size.mjs`): a component's own
|
|
1357
|
-
* `varsResolver` calls `getSize(props.size, '<prefix>')`, which for a non-numeric `size` returns the
|
|
1358
|
-
* STRING `var(--<prefix>-<size>)` verbatim — so `size="ctl"` on `Button` resolves
|
|
1359
|
-
* `--button-height: var(--button-height-ctl)` with ZERO code in this framework's own `Button.extend`
|
|
1360
|
-
* `vars` callback; only the var these names point AT has to exist. `getFontSize(size)` is
|
|
1361
|
-
* `getSize(size, 'mantine-font-size')`, so every `-fz`/`-font-size` component var (Button's
|
|
1362
|
-
* `--button-fz`, Input's `--input-fz`, SegmentedControl's `--sc-font-size`, Combobox's
|
|
1363
|
-
* `--combobox-option-fz`) resolves through the ONE `--mantine-font-size-ctl` declared below — no
|
|
1364
|
-
* per-component `-ctl` font-size var exists to declare (verified against
|
|
1365
|
-
* `SegmentedControl.mjs`/`Combobox.mjs`; a per-component name would be dead weight no `getSize`
|
|
1366
|
-
* call ever reads).
|
|
1367
|
-
*
|
|
1368
|
-
* Heights read the density-tracking `--vx-space-control-height-ctl`/`-widget` anchors
|
|
1369
|
-
* (`tokens/index.ts`'s `spaceDecls`, `docs/CONTROLS-SPEC.md` §5) through the SAME rem-plus-
|
|
1370
|
-
* `--mantine-scale` reconstruction `--vx-space-input-height`/`--vx-space-control-height` already
|
|
1371
|
-
* use for `size="md"` (see `Input.extend`'s doc above) — so the ctl/icon tier tracks the density
|
|
1372
|
-
* knob exactly like every other control height. Paddings, the combobox chevron, and the
|
|
1373
|
-
* SegmentedControl/Combobox option padding have no density-tracking token of their own
|
|
1374
|
-
* (`docs/CONTROLS-SPEC.md` §5 specifies only the height ladder), so they are declared as literal
|
|
1375
|
-
* values here.
|
|
1376
|
-
*
|
|
1377
|
-
* **They may NOT be declared as `var(--<prefix>-xs)`, and that mistake shipped.** Mantine declares
|
|
1378
|
-
* its `-xs`/`-sm`/… size vars on the COMPONENT ROOT class (`.m_77c9d27d { --button-padding-x-xs:
|
|
1379
|
-
* 14px }` in `Button.css`, `.m_cf365364 { --sc-padding-xs: 2px 6px }` in `SegmentedControl.css`,
|
|
1380
|
-
* and likewise for Input/Combobox/Badge) — never on `:root`. A `-ctl` var declared HERE lives on
|
|
1381
|
-
* `:root`, where `var(--sc-padding-xs)` resolves to nothing, so the whole custom property became
|
|
1382
|
-
* guaranteed-invalid and every property reading it fell back to its INITIAL value: a pill with
|
|
1383
|
-
* `padding: 0`, a SegmentedControl whose segments touched
|
|
1384
|
-
* (`allnewreturningchurnedflagged`), a chevron-less Select. Literal values are the only form that
|
|
1385
|
-
* can resolve at `:root`. Verified live with `getComputedStyle(document.documentElement)
|
|
1386
|
-
* .getPropertyValue('--sc-padding-ctl')` returning `''`.
|
|
1387
|
-
*
|
|
1388
|
-
* `size="icon"` (24px) has no vertical-padding/chevron consumer (it is ActionIcon-only), so only
|
|
1389
|
-
* `--ai-size-icon` is declared for it. The Badge tier exists so a `kind: 'custom'` chip in a home
|
|
1390
|
-
* (`docs/CONTROLS-SPEC.md` §2.1) is the same 30px as the buttons beside it — Mantine's tallest
|
|
1391
|
-
* shipped Badge is 32px `xl`, and none of its tiers is 30.
|
|
1392
|
-
*/
|
|
1393
|
-
function ctlSizeVars(): Record<string, string> & Record<CtlHeightVar, string> {
|
|
1394
|
-
const ctlHeight = 'calc(var(--vx-space-control-height-ctl) * var(--mantine-scale))'
|
|
1395
|
-
return {
|
|
1396
|
-
...heightVars(ctlHeight),
|
|
1397
|
-
'--button-padding-x-ctl': `calc(${pxRem(CTL_PADDING_X)} * var(--mantine-scale))`,
|
|
1398
|
-
'--input-padding-y-ctl': `calc(${pxRem(CTL_INPUT_PADDING_Y)} * var(--mantine-scale))`,
|
|
1399
|
-
'--ai-size-icon': 'calc(var(--vx-space-control-height-widget) * var(--mantine-scale))',
|
|
1400
|
-
// A shorthand pair (`<y> <x>`), the shape SegmentedControl's own `--sc-padding-*` vars take.
|
|
1401
|
-
// `y` stays a bare literal (the label's own box height is now enforced by the `size === 'ctl'`
|
|
1402
|
-
// `minHeight` override in `SegmentedControl.extend` above, not by this padding), `x` scales like
|
|
1403
|
-
// every other ctl-tier horizontal inset (`--button-padding-x-ctl`, `--badge-padding-x-ctl`).
|
|
1404
|
-
'--sc-padding-ctl': `${pxRem(CTL_SEGMENT_PADDING_Y)} calc(${pxRem(CTL_PADDING_X)} * var(--mantine-scale))`,
|
|
1405
|
-
'--combobox-option-padding-ctl': `${pxRem(CTL_SEGMENT_PADDING_Y)} ${pxRem(CTL_PADDING_X)}`,
|
|
1406
|
-
'--combobox-chevron-size-ctl': pxRem(CTL_CHEVRON_SIZE),
|
|
1407
|
-
'--ni-chevron-size-ctl': pxRem(CTL_NUMBER_CHEVRON_SIZE),
|
|
1408
|
-
'--ni-right-section-width-ctl': `calc(${pxRem(CTL_NUMBER_RIGHT_SECTION_WIDTH)} * var(--mantine-scale))`,
|
|
1409
|
-
// PasswordInput's visibility toggle: Mantine's own `xs` pair (22 px button, 16 px icon), the tier
|
|
1410
|
-
// whose input height already equals `ctl`; undeclared, `size="ctl"` left the toggle unsized.
|
|
1411
|
-
'--psi-button-size-ctl': 'calc(1.375rem * var(--mantine-scale))',
|
|
1412
|
-
'--psi-icon-size-ctl': 'calc(1rem * var(--mantine-scale))',
|
|
1413
|
-
'--badge-padding-x-ctl': `calc(${pxRem(CTL_PADDING_X)} * var(--mantine-scale))`,
|
|
1414
|
-
'--badge-fz-ctl': `calc(${pxRem(VX.text.xs)} * var(--mantine-scale))`,
|
|
1415
|
-
// `= VX.text.sm` per `docs/CONTROLS-SPEC.md` §5 — same `calc(<rem> * var(--mantine-scale))`
|
|
1416
|
-
// shape Mantine's own `--mantine-font-size-*` vars use.
|
|
1417
|
-
'--mantine-font-size-ctl': `calc(${pxRem(VX.text.sm)} * var(--mantine-scale))`,
|
|
1418
|
-
'--mantine-line-height-ctl': 'var(--mantine-line-height-sm)',
|
|
1419
|
-
// Radio / Checkbox / Switch — the three components whose DEFAULT (`sm`, a 20px indicator) sat
|
|
1420
|
-
// beside a 13px option label in every popover and sheet basalt draws. Every prefix here was
|
|
1421
|
-
// read out of the installed `@mantine/core` source, and `ctl-tier-coverage.test.ts` now scans
|
|
1422
|
-
// those three components too, so a future minor that adds a `getSize` call fails the build
|
|
1423
|
-
// instead of resolving the new var to its initial value. Note there is NO
|
|
1424
|
-
// `--checkbox-icon-size`: Checkbox reads only `checkbox-size` and derives its tick in CSS.
|
|
1425
|
-
'--radio-size-ctl': `calc(${pxRem(CTL_TOGGLE_SIZE)} * var(--mantine-scale))`,
|
|
1426
|
-
'--radio-icon-size-ctl': `calc(${pxRem(CTL_RADIO_DOT_SIZE)} * var(--mantine-scale))`,
|
|
1427
|
-
'--checkbox-size-ctl': `calc(${pxRem(CTL_TOGGLE_SIZE)} * var(--mantine-scale))`,
|
|
1428
|
-
'--switch-height-ctl': `calc(${pxRem(CTL_SWITCH_HEIGHT)} * var(--mantine-scale))`,
|
|
1429
|
-
'--switch-width-ctl': `calc(${pxRem(CTL_SWITCH_WIDTH)} * var(--mantine-scale))`,
|
|
1430
|
-
'--switch-thumb-size-ctl': `calc(${pxRem(CTL_SWITCH_THUMB_SIZE)} * var(--mantine-scale))`,
|
|
1431
|
-
'--switch-label-font-size-ctl': pxRem(CTL_SWITCH_TRACK_LABEL_SIZE),
|
|
1432
|
-
'--switch-track-label-padding-ctl': pxRem(CTL_SWITCH_TRACK_LABEL_PADDING),
|
|
1433
|
-
// Slider — the inspector row's control (`SliderControl`, `docs/ASIDE-SPEC.md` §1). One prefix
|
|
1434
|
-
// only: `slider-size` is the track, and every other dimension (the thumb, the root's inline
|
|
1435
|
-
// padding, the vertical hit box) is derived from it in `Slider.css`.
|
|
1436
|
-
'--slider-size-ctl': `calc(${pxRem(CTL_SLIDER_TRACK_SIZE)} * var(--mantine-scale))`,
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
/** Every `ctl` height var set to one value — typed over {@link CTL_HEIGHT_VARS} so a var added to the
|
|
1441
|
-
* list cannot be missing from the tier. */
|
|
1442
|
-
function heightVars(height: string): Record<CtlHeightVar, string> {
|
|
1443
|
-
return Object.fromEntries(CTL_HEIGHT_VARS.map((name) => [name, height])) as Record<
|
|
1444
|
-
CtlHeightVar,
|
|
1445
|
-
string
|
|
1446
|
-
>
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
/** A px line box as the unitless ratio Mantine's `lineHeights` take, to 4 decimals (like
|
|
1450
|
-
* `rowLineHeight`, which rounds to 2) so the emitted var carries no float noise. */
|
|
1451
|
-
function lineRatio(linePx: number, fontPx: number): string {
|
|
1452
|
-
return String(Math.round((linePx / fontPx) * 10000) / 10000)
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
/** `radius` knob: an integer level, so an out-of-range value is a tsc error (V2-SPEC §3). */
|
|
1456
|
-
export type BasaltRadiusLevel = -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5
|
|
1457
|
-
|
|
1458
|
-
/** `density` knob: an integer level, so an out-of-range value is a tsc error (V2-SPEC §3). */
|
|
1459
|
-
export type BasaltDensityLevel = -3 | -2 | -1 | 0 | 1 | 2 | 3
|
|
1460
|
-
|
|
1461
|
-
/**
|
|
1462
|
-
* Build the `cssVariablesResolver` bound to a given palette `data` — the derive-config-dependent
|
|
1463
|
-
* half of the fallback hexes below (see `buildTheme` above for the same split on `theme.colors`).
|
|
1464
|
-
* `cssVariablesResolver` (the static, shipped export) is `buildCssVariablesResolver(DEFAULT_PALETTE_DATA)`
|
|
1465
|
-
* evaluated ONCE below — and that is the ONLY resolver instance `BasaltProvider` ever wires in,
|
|
1466
|
-
* unconditionally, regardless of derive config. `createBasaltTheme`'s non-default `{ derive }` path
|
|
1467
|
-
* does NOT call this function: it rebuilds `theme.colors` (via `buildTheme`) but leaves the CSS
|
|
1468
|
-
* variables resolver at its shipped default. A retuned identity instead reaches paint time through
|
|
1469
|
-
* `BasaltBridge`'s injected `<style>` (the palette CSS built from the SAME resolved config, keyed
|
|
1470
|
-
* by `theme.other.basaltDerive`), which wins the cascade over the resolver's inline fallback hexes.
|
|
1471
|
-
* Limitation: `injectPalette={false}` combined with a custom `derive` therefore leaves the
|
|
1472
|
-
* resolver's fallback hexes at the shipped defaults, silently mismatching the intended identity.
|
|
1473
|
-
* `buildPaletteData` is not public, so a consumer with a non-default derive config keeps
|
|
1474
|
-
* `injectPalette` on.
|
|
1475
|
-
*/
|
|
1476
|
-
function buildCssVariablesResolver(data: PaletteData): CSSVariablesResolver {
|
|
1477
|
-
const { INK, NEUTRAL, SURFACE } = data
|
|
1478
|
-
return (theme) => ({
|
|
1479
|
-
variables: {
|
|
1480
|
-
...ctlSizeVars(),
|
|
1481
|
-
},
|
|
1482
|
-
light: {
|
|
1483
|
-
...onColorVars(theme, 'light', data),
|
|
1484
|
-
...familyBridge(data),
|
|
1485
|
-
...accentBridge(theme, 'light', data),
|
|
1486
|
-
'--mantine-color-body': `var(--vx-surface-bg, ${SURFACE.bg.light})`, // page background
|
|
1487
|
-
'--mantine-color-default': `var(--vx-surface-panel, ${SURFACE.panel.light})`, // cards / default controls
|
|
1488
|
-
'--mantine-color-default-hover': `var(--vx-surface-elevated, ${SURFACE.elevated.light})`,
|
|
1489
|
-
// THE central lever for doctrine inversion #1 on CONTROLS (docs/DESIGN-SPEC.md §8): depth is a
|
|
1490
|
-
// shadow, never a hairline, for every `variant="default"` control — not just Card/Paper.
|
|
1491
|
-
// `defaultVariantColorsResolver`'s `variant === 'default'` branch reads this ONE var for every
|
|
1492
|
-
// component that uses it (Button, ActionIcon, Chip, CheckboxCard, RadioCard, …), so pointing it
|
|
1493
|
-
// at `transparent` kills the stock 1px hairline everywhere at once. `transparent`, not `border:
|
|
1494
|
-
// none` — the 1px border BOX stays, so focus/error can recolor the same box with no layout
|
|
1495
|
-
// shift and `[data-error]` still wins a visible border.
|
|
1496
|
-
'--mantine-color-default-border': 'transparent',
|
|
1497
|
-
'--mantine-color-dimmed': `var(--vx-neutral, ${NEUTRAL.neutral.light})`, // secondary / muted text
|
|
1498
|
-
'--mantine-color-text': `var(--vx-ink, ${INK.ink.light})`, // primary body/heading text
|
|
1499
|
-
// Field errors: Mantine's own error red measures 1.98:1 (dark) / 4.37:1 (light). The solid status red
|
|
1500
|
-
// pulled toward ink clears AA on every text surface in both schemes.
|
|
1501
|
-
'--mantine-color-error': 'color-mix(in srgb, var(--vx-bad-solid) 85%, var(--vx-ink))',
|
|
1502
|
-
// Links: Mantine reads the accent FILL shade (4.38:1 on the light page, under WCAG AA); the hover
|
|
1503
|
-
// accent is the next step darker and clears 4.5:1 on every light text surface.
|
|
1504
|
-
'--mantine-color-anchor': 'var(--vx-accent-hover)',
|
|
1505
|
-
// `--app-shell-border-color` is set by `components.AppShell` `vars` above — this
|
|
1506
|
-
// entry was dead (an element-level declaration always beats an inherited `:root` value).
|
|
1507
|
-
// THE strict-surface lever. Mantine components do NOT chain border/surface colors through
|
|
1508
|
-
// `--mantine-color-default-*`; each hardcodes a RAW ramp step (`--mantine-color-gray-{2,3,4}`
|
|
1509
|
-
// on light) directly — which is why AppShell/Table/Input/Divider/Tabs/Popover/Accordion borders
|
|
1510
|
-
// render an off-system color while cards use the hairline. Collapse the border-class ramp
|
|
1511
|
-
// steps onto the ONE "line" token so EVERY component's border is identical and the agent
|
|
1512
|
-
// cannot reintroduce a divergent border. (Hover/subtle BG steps are handled below.)
|
|
1513
|
-
'--mantine-color-gray-2': `var(--vx-surface-border, ${SURFACE.border.light})`,
|
|
1514
|
-
'--mantine-color-gray-3': `var(--vx-surface-border, ${SURFACE.border.light})`,
|
|
1515
|
-
'--mantine-color-gray-4': `var(--vx-surface-border, ${SURFACE.border.light})`,
|
|
1516
|
-
// Hover/subtle/striped/track surfaces read `gray-0/1` raw → the dedicated subtle token (a faint
|
|
1517
|
-
// step below panel, so hover is actually visible). Dark hover uses the generator-derived
|
|
1518
|
-
// dark-5/6/7 steps (`buildDarkTuple`), already on-identity.
|
|
1519
|
-
'--mantine-color-gray-0': `var(--vx-surface-subtle, ${SURFACE.subtle.light})`,
|
|
1520
|
-
'--mantine-color-gray-1': `var(--vx-surface-subtle, ${SURFACE.subtle.light})`,
|
|
1521
|
-
},
|
|
1522
|
-
dark: {
|
|
1523
|
-
...onColorVars(theme, 'dark', data),
|
|
1524
|
-
...familyBridge(data),
|
|
1525
|
-
...accentBridge(theme, 'dark', data),
|
|
1526
|
-
'--mantine-color-body': `var(--vx-surface-bg, ${SURFACE.bg.dark})`,
|
|
1527
|
-
'--mantine-color-default': `var(--vx-surface-panel, ${SURFACE.panel.dark})`,
|
|
1528
|
-
'--mantine-color-default-hover': `var(--vx-surface-elevated, ${SURFACE.elevated.dark})`,
|
|
1529
|
-
// See the light block above — same lever, both schemes.
|
|
1530
|
-
'--mantine-color-default-border': 'transparent',
|
|
1531
|
-
'--mantine-color-dimmed': `var(--vx-neutral, ${NEUTRAL.neutral.dark})`,
|
|
1532
|
-
'--mantine-color-text': `var(--vx-ink, ${INK.ink.dark})`,
|
|
1533
|
-
// Field errors: Mantine's own error red measures 1.98:1 (dark) / 4.37:1 (light). The solid status red
|
|
1534
|
-
// pulled toward ink clears AA on every text surface in both schemes.
|
|
1535
|
-
'--mantine-color-error': 'color-mix(in srgb, var(--vx-bad-solid) 85%, var(--vx-ink))',
|
|
1536
|
-
// See the light block above — `--app-shell-border-color` is set by `AppShell.extend` now.
|
|
1537
|
-
// Dark components read `--mantine-color-dark-4` (border) raw. `buildDarkTuple` already sets
|
|
1538
|
-
// dark-4, but to a slightly lighter step than the hairline token, so layout borders read
|
|
1539
|
-
// marginally heavier than card borders. Pin dark-4 to the SAME "line" token for parity.
|
|
1540
|
-
'--mantine-color-dark-4': `var(--vx-surface-border, ${SURFACE.border.dark})`,
|
|
1541
|
-
},
|
|
1542
|
-
})
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
/** The static, shipped-identity resolver — `buildCssVariablesResolver` evaluated once at
|
|
1546
|
-
* `DEFAULT_DERIVE_CONFIG`. Unchanged call signature (`cssVariablesResolver(theme)`), so it drops
|
|
1547
|
-
* straight into `<MantineProvider cssVariablesResolver={cssVariablesResolver}>` as before. */
|
|
1548
|
-
export const cssVariablesResolver: CSSVariablesResolver =
|
|
1549
|
-
buildCssVariablesResolver(DEFAULT_PALETTE_DATA)
|
|
1550
|
-
|
|
1551
|
-
/** Options for {@link createBasaltTheme}'s derive-config path. */
|
|
1552
|
-
export type CreateBasaltThemeOptions = {
|
|
1553
|
-
/**
|
|
1554
|
-
* Retune the shipped palette identity from the six-knob derive engine (`basalt-ui/tokens`'s
|
|
1555
|
-
* `DeriveConfig`) instead of the shipped `#0077bd` zinc default. Omitted knobs fall back to
|
|
1556
|
-
* {@link DEFAULT_DERIVE_CONFIG}'s value for that knob (`resolveDeriveConfig`).
|
|
1557
|
-
*
|
|
1558
|
-
* This is the ONE place a consumer sets the palette identity — everything else follows: the
|
|
1559
|
-
* Mantine color ramps, the on-color contrast measurements, and the CSS-variables resolver
|
|
1560
|
-
* fallbacks are all rebuilt from the SAME resolved config, and the config itself is stashed on
|
|
1561
|
-
* `theme.other.basaltDerive` so `BasaltProvider` can inject the matching `--vx-*` stylesheet
|
|
1562
|
-
* automatically. For live DEV-time tuning instead of a fixed production identity, see
|
|
1563
|
-
* `DeriveControls` (`basalt-ui/theme-lab`).
|
|
1564
|
-
*/
|
|
1565
|
-
derive?: Partial<DeriveConfig>
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* Retune the three-font system (`docs/DESIGN-SPEC.md` §3: Nunito Sans body / Hubot Sans
|
|
1569
|
-
* condensed headings / JetBrains Mono numerals + micro-labels) instead of the shipped stacks.
|
|
1570
|
-
* THIS is the font entry point — a consumer must not set `fontFamily` literals in component code
|
|
1571
|
-
* (enforced by the `raw-font-family` guard kind, `./guard`); overriding Mantine's `fontFamily` via
|
|
1572
|
-
* `overrides` is unnecessary because the theme already reads `--basalt-font-sans/head/mono`.
|
|
1573
|
-
*
|
|
1574
|
-
* Each value is a FULL CSS font-family stack string (bring your own fallback chain) —
|
|
1575
|
-
* an omitted key keeps the shipped `styles.css` fallback untouched. The resolved value is
|
|
1576
|
-
* stashed on `theme.other.basaltFonts` so `BasaltProvider` can inject the matching
|
|
1577
|
-
* `--basalt-font-*` declarations — it rides the SAME `<style>` injection as the palette CSS, so
|
|
1578
|
-
* `injectPalette={false}` (SSR/head injection) also opts fonts out; a consumer taking over
|
|
1579
|
-
* injection must then emit those declarations itself.
|
|
1580
|
-
*
|
|
1581
|
-
* @example
|
|
1582
|
-
* createBasaltTheme(undefined, { fonts: { sans: 'Inter, sans-serif' } })
|
|
1583
|
-
*/
|
|
1584
|
-
fonts?: BasaltFontsConfig
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Retune the two radius anchors (`card`/`ctrl`, `docs/DESIGN-SPEC.md` §4) and their dependent
|
|
1588
|
-
* offsets from a single integer level in `[-5, 5]` (default `0` = the shipped identity: card 7,
|
|
1589
|
-
* ctrl 6) — see `deriveRadius` (`basalt-ui/tokens`) for the exact law. Rebuilds every
|
|
1590
|
-
* radius-anchored `defaultProps`/`styles` number in the Mantine theme AND the `radius` size-scale
|
|
1591
|
-
* from the level's values. The resolved {@link RadiusValues} is stashed on
|
|
1592
|
-
* `theme.other.basaltRadius` (only when non-default) so `BasaltProvider` can emit the matching
|
|
1593
|
-
* `--vx-radius-*` override declarations — it rides the SAME `<style>` injection as the palette
|
|
1594
|
-
* CSS, so `injectPalette={false}` also opts the radius override out.
|
|
1595
|
-
*
|
|
1596
|
-
* For live DEV-time tuning instead of a fixed production identity, see the "Radius" slider on
|
|
1597
|
-
* `DeriveControls` (`basalt-ui/theme-lab`) — that dev-tool path can only move the CSS vars, not
|
|
1598
|
-
* the defaultProps numbers baked into the theme object; this option covers both.
|
|
1599
|
-
*
|
|
1600
|
-
* @example
|
|
1601
|
-
* createBasaltTheme(undefined, { radius: 2 })
|
|
1602
|
-
*/
|
|
1603
|
-
radius?: BasaltRadiusLevel
|
|
1604
|
-
|
|
1605
|
-
/**
|
|
1606
|
-
* Retune spacing DENSITY from a single integer level in `[-3, 3]` (default `0` = the shipped
|
|
1607
|
-
* identity) — narrower than `radius`'s `[-5, 5]` on purpose (see `deriveSpacing`'s JSDoc,
|
|
1608
|
-
* `basalt-ui/tokens`, for why: the same `0.7..1.30` multiplier envelope at fewer, more meaningful
|
|
1609
|
-
* notches). The law: a multiplier, `1 + 0.1 * level`, applied to every density-tracking anchor/
|
|
1610
|
-
* scale-stop/one-off (rounded, floored at 1), plus an independent additive law for the NavLink row
|
|
1611
|
-
* line-height. Rebuilds every
|
|
1612
|
-
* density-anchored `defaultProps`/`styles` number in the Mantine theme (Timeline's `bulletSize`,
|
|
1613
|
-
* Progress's `size`) AND the `spacing` size-scale from the level's values. The resolved
|
|
1614
|
-
* {@link SpaceValues} is stashed on `theme.other.basaltDensity` (only when non-default) so
|
|
1615
|
-
* `BasaltProvider` can emit the matching `--vx-space-*` override declarations — it rides the SAME
|
|
1616
|
-
* `<style>` injection as the palette CSS, so `injectPalette={false}` also opts the density
|
|
1617
|
-
* override out.
|
|
1618
|
-
*
|
|
1619
|
-
* For live DEV-time tuning instead of a fixed production identity, see the "Density" slider on
|
|
1620
|
-
* `DeriveControls` (`basalt-ui/theme-lab`) — that dev-tool path can only move the CSS vars, not
|
|
1621
|
-
* the defaultProps numbers baked into the theme object; this option covers both.
|
|
1622
|
-
*
|
|
1623
|
-
* @example
|
|
1624
|
-
* createBasaltTheme(undefined, { density: -2 })
|
|
1625
|
-
*/
|
|
1626
|
-
density?: BasaltDensityLevel
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
/**
|
|
1630
|
-
* `true` when `fonts` sets at least one slot — an empty object (or one whose every key is
|
|
1631
|
-
* `undefined`) configures nothing, so `createBasaltTheme` must treat it as absent and stay on the
|
|
1632
|
-
* static `baseTheme` fast path rather than paying for a `mergeThemeOverrides` call that would only
|
|
1633
|
-
* stash an empty `basaltFonts: {}` on `theme.other`.
|
|
1634
|
-
*/
|
|
1635
|
-
function hasFontsConfig(fonts: BasaltFontsConfig | undefined): fonts is BasaltFontsConfig {
|
|
1636
|
-
return fonts !== undefined && Object.values(fonts).some((value) => value !== undefined)
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* Build the Basalt theme, optionally merged with consumer overrides. Overrides win on conflict
|
|
1641
|
-
* (Mantine `mergeThemeOverrides` is last-wins), so a consumer can retune any field without
|
|
1642
|
-
* forking the base — except `breakpoints`, which is always derived from `SIZE_CLASSES`.
|
|
1643
|
-
*
|
|
1644
|
-
* Pass `{ derive }` to retune the palette identity instead of the shipped default, `{ fonts }` to
|
|
1645
|
-
* retune the three-font system, `{ radius }` to retune the two radius anchors, and/or `{ density }`
|
|
1646
|
-
* to retune spacing density (see {@link CreateBasaltThemeOptions}); the default (no `options`, or
|
|
1647
|
-
* `derive`/`radius`/`density` that resolve back to nothing non-default and a `fonts` that sets no
|
|
1648
|
-
* slot — an omitted, empty, or all-`undefined`-keys object) stays on the pre-baked static
|
|
1649
|
-
* `baseTheme` — zero extra derivation work, byte-identical to the shipped identity.
|
|
1650
|
-
*
|
|
1651
|
-
* Call this at MODULE scope, not inline in a component's render — the non-default `{ derive }` /
|
|
1652
|
-
* `{ fonts }` / `{ radius }` / `{ density }` paths build a fresh `MantineThemeOverride` object on
|
|
1653
|
-
* every call (`mergeThemeOverrides(...)`), so calling it per-render would hand `MantineProvider` a
|
|
1654
|
-
* new `theme` reference every render and churn Mantine's theme context (and every consumer
|
|
1655
|
-
* subscribed to it) for no reason.
|
|
1656
|
-
*
|
|
1657
|
-
* `overrides.other` deep-merges onto the derive-produced `other` (Mantine's `mergeThemeOverrides` /
|
|
1658
|
-
* `deepMerge` recurse into plain-object values rather than replacing them wholesale), so passing
|
|
1659
|
-
* `{ other: { myFlag: true } }` alongside a non-default `derive`/`fonts`/`radius`/`density` still
|
|
1660
|
-
* leaves `other.basaltDerive`/`other.basaltFonts`/`other.basaltRadius`/`other.basaltDensity` intact
|
|
1661
|
-
* — it is only lost if a consumer's own `overrides.other` explicitly sets that same key.
|
|
1662
|
-
*/
|
|
1663
|
-
export function createBasaltTheme(
|
|
1664
|
-
overrides?: Omit<MantineThemeOverride, 'breakpoints'>,
|
|
1665
|
-
options?: CreateBasaltThemeOptions,
|
|
1666
|
-
): MantineThemeOverride {
|
|
1667
|
-
const resolvedConfig = resolveDeriveConfig(options?.derive)
|
|
1668
|
-
const radiusLevel = options?.radius ?? 0
|
|
1669
|
-
const radiusValues = deriveRadius(radiusLevel)
|
|
1670
|
-
const isDefaultRadius = radiusLevel === 0
|
|
1671
|
-
const densityLevel = options?.density ?? 0
|
|
1672
|
-
const spaceValues = deriveSpacing(densityLevel)
|
|
1673
|
-
const isDefaultDensity = densityLevel === 0
|
|
1674
|
-
const isDefaultDerive = isDefaultDeriveConfig(resolvedConfig)
|
|
1675
|
-
|
|
1676
|
-
let theme: MantineThemeOverride
|
|
1677
|
-
if (isDefaultDerive && isDefaultRadius && isDefaultDensity) {
|
|
1678
|
-
theme = baseTheme
|
|
1679
|
-
} else {
|
|
1680
|
-
const paletteData = isDefaultDerive ? DEFAULT_PALETTE_DATA : buildPaletteData(resolvedConfig)
|
|
1681
|
-
theme = mergeThemeOverrides(
|
|
1682
|
-
buildTheme(paletteData, { radius: radiusValues, spacing: spaceValues }),
|
|
1683
|
-
{
|
|
1684
|
-
other: {
|
|
1685
|
-
...(isDefaultDerive ? {} : { basaltDerive: resolvedConfig }),
|
|
1686
|
-
...(isDefaultRadius ? {} : { basaltRadius: radiusValues }),
|
|
1687
|
-
...(isDefaultDensity ? {} : { basaltDensity: spaceValues }),
|
|
1688
|
-
},
|
|
1689
|
-
},
|
|
1690
|
-
)
|
|
1691
|
-
}
|
|
1692
|
-
const fontsConfig = options?.fonts
|
|
1693
|
-
if (hasFontsConfig(fontsConfig)) {
|
|
1694
|
-
theme = mergeThemeOverrides(theme, { other: { basaltFonts: fontsConfig } })
|
|
1695
|
-
}
|
|
1696
|
-
if (!overrides) return theme
|
|
1697
|
-
// `theme.breakpoints` is derived from `SIZE_CLASSES` — a JS caller's override is dropped.
|
|
1698
|
-
return { ...mergeThemeOverrides(theme, overrides), breakpoints: SIZE_CLASS_BREAKPOINTS }
|
|
1699
|
-
}
|