basalt-ui 3.0.0 → 3.1.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 +1 -0
- package/CHANGELOG.md +72 -39
- package/MIGRATING.md +44 -2
- package/README.md +39 -12
- package/agent/rules/basalt-tokens.md +1 -1
- package/agent/rules/basalt-ui.md +3 -3
- package/agent/skills/basalt-app/references/live.md +4 -4
- package/agent/skills/basalt-app/references/migrate.md +2 -2
- package/agent/skills/basalt-app/references/setup.md +17 -8
- package/agent/skills/basalt-app/references/testing.md +8 -6
- package/agent/skills/basalt-design/SKILL.md +2 -1
- package/agent/skills/basalt-design/references/controls.md +1 -0
- package/agent/skills/basalt-design/references/parts.md +5 -1
- package/agent/templates/AGENTS-block.md.tpl +6 -23
- package/agent/templates/AGENTS-block.site.md.tpl +5 -18
- package/agent/templates/AGENTS-block.tokens.md.tpl +3 -7
- package/agent/templates/DESIGN.md.tpl +1 -1
- package/agent/templates/_app-error.i18n.tpl +8 -32
- package/agent/templates/_app-error.tpl +8 -32
- package/agent/templates/_app-pending.i18n.tpl +5 -3
- package/agent/templates/_app-pending.tpl +5 -4
- package/agent/templates/main.i18n.tpl +8 -3
- package/agent/templates/main.tpl +8 -3
- package/agent/templates/router.start.tpl +8 -3
- package/agent/templates/seed-messages.json +0 -30
- package/configs/oxlint-app.json +9 -1
- package/configs/oxlint-bridge.json +3 -1
- package/configs/oxlint-parts.json +9 -1
- package/configs/oxlint-site.json +3 -1
- package/dist/astro/shiki.d.ts +3 -2
- package/dist/astro/shiki.d.ts.map +1 -1
- package/dist/cards/bar-list.d.ts.map +1 -1
- package/dist/cards/bar-list.js +2 -1
- package/dist/cards/chain-view.d.ts +37 -8
- package/dist/cards/chain-view.d.ts.map +1 -1
- package/dist/cards/chain-view.js +105 -38
- package/dist/cards/contract.d.ts +8 -1
- package/dist/cards/contract.d.ts.map +1 -1
- package/dist/cards/data-panel.d.ts.map +1 -1
- package/dist/cards/data-panel.js +1 -0
- package/dist/cards/event-list.d.ts.map +1 -1
- package/dist/cards/event-list.js +3 -2
- package/dist/cards/index.d.ts +1 -1
- package/dist/cards/index.d.ts.map +1 -1
- package/dist/cards/row-list.d.ts.map +1 -1
- package/dist/cards/row-list.js +2 -1
- package/dist/cards/stat-card-parts.d.ts +3 -3
- package/dist/cards/stat-card-parts.d.ts.map +1 -1
- package/dist/cards/stat-card-parts.js +8 -2
- package/dist/cards/stat-card.d.ts.map +1 -1
- package/dist/cards/stat-card.js +34 -9
- package/dist/charts/core/compile.d.ts +2 -0
- package/dist/charts/core/compile.d.ts.map +1 -1
- package/dist/charts/core/compile.js +16 -8
- package/dist/charts/core/cursor.d.ts +2 -1
- package/dist/charts/core/cursor.d.ts.map +1 -1
- package/dist/charts/core/cursor.js +8 -1
- package/dist/charts/core/tooltip-said.d.ts +16 -0
- package/dist/charts/core/tooltip-said.d.ts.map +1 -0
- package/dist/charts/core/tooltip-said.js +39 -0
- package/dist/charts/focus.d.ts.map +1 -1
- package/dist/charts/focus.js +1 -1
- package/dist/charts/parts/chart-card.d.ts.map +1 -1
- package/dist/charts/parts/chart-card.js +1 -0
- package/dist/cli/agent-note.d.ts +3 -3
- package/dist/cli/agent-note.d.ts.map +1 -1
- package/dist/cli/agent-note.js +5 -5
- package/dist/cli/budget/index.d.ts +7 -0
- package/dist/cli/budget/index.d.ts.map +1 -1
- package/dist/cli/budget/index.js +11 -5
- package/dist/cli/config.d.ts +1 -1
- package/dist/cli/doctor/app.d.ts.map +1 -1
- package/dist/cli/doctor/app.js +53 -24
- package/dist/cli/doctor/eject.d.ts.map +1 -1
- package/dist/cli/doctor/eject.js +16 -9
- package/dist/cli/doctor/guards.d.ts.map +1 -1
- package/dist/cli/doctor/guards.js +11 -8
- package/dist/cli/doctor/hook.js +1 -1
- package/dist/cli/doctor/install.d.ts.map +1 -1
- package/dist/cli/doctor/install.js +46 -22
- package/dist/cli/doctor/translations.d.ts.map +1 -1
- package/dist/cli/doctor/translations.js +11 -4
- package/dist/cli/doctor/types.d.ts +2 -2
- package/dist/cli/doctor/types.d.ts.map +1 -1
- package/dist/cli/doctor/types.js +1 -1
- package/dist/cli/doctor/wiring.d.ts.map +1 -1
- package/dist/cli/doctor/wiring.js +26 -15
- package/dist/cli/eject/dropped-slots.d.ts +6 -0
- package/dist/cli/eject/dropped-slots.d.ts.map +1 -0
- package/dist/cli/eject/dropped-slots.js +9 -0
- package/dist/cli/eject/index.d.ts.map +1 -1
- package/dist/cli/eject/index.js +9 -8
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +7 -2
- package/dist/cli/index.d.ts +6 -5
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +38 -7
- package/dist/cli/init/index.d.ts +10 -0
- package/dist/cli/init/index.d.ts.map +1 -1
- package/dist/cli/init/index.js +61 -10
- package/dist/cli/init/locales.d.ts +7 -0
- package/dist/cli/init/locales.d.ts.map +1 -1
- package/dist/cli/init/locales.js +21 -6
- package/dist/cli/init/router-seeds.d.ts.map +1 -1
- package/dist/cli/init/router-seeds.js +16 -3
- package/dist/cli/init/steps.d.ts +36 -3
- package/dist/cli/init/steps.d.ts.map +1 -1
- package/dist/cli/init/steps.js +201 -34
- package/dist/cli/lint/baseline.d.ts +27 -0
- package/dist/cli/lint/baseline.d.ts.map +1 -0
- package/dist/cli/lint/baseline.js +96 -0
- package/dist/cli/lint/engine.d.ts +2 -0
- package/dist/cli/lint/engine.d.ts.map +1 -1
- package/dist/cli/lint/engine.js +18 -8
- package/dist/cli/lint/hook.d.ts.map +1 -1
- package/dist/cli/lint/hook.js +8 -3
- package/dist/cli/lint/index.d.ts +3 -0
- package/dist/cli/lint/index.d.ts.map +1 -1
- package/dist/cli/lint/index.js +67 -8
- package/dist/cli/manifest.d.ts +46 -3
- package/dist/cli/manifest.d.ts.map +1 -1
- package/dist/cli/manifest.js +71 -1
- package/dist/cli/migrate/census.d.ts +6 -0
- package/dist/cli/migrate/census.d.ts.map +1 -1
- package/dist/cli/migrate/census.js +22 -1
- package/dist/cli/migrate/index.d.ts +5 -0
- package/dist/cli/migrate/index.d.ts.map +1 -1
- package/dist/cli/migrate/index.js +36 -3
- package/dist/cli/migrate/lost-classes.d.ts +20 -0
- package/dist/cli/migrate/lost-classes.d.ts.map +1 -0
- package/dist/cli/migrate/lost-classes.js +145 -0
- package/dist/cli/migrate/rows.d.ts +10 -0
- package/dist/cli/migrate/rows.d.ts.map +1 -1
- package/dist/cli/migrate/rows.js +15 -0
- package/dist/cli/package-manager.d.ts.map +1 -1
- package/dist/cli/package-manager.js +2 -1
- package/dist/cli/peers.d.ts +2 -0
- package/dist/cli/peers.d.ts.map +1 -1
- package/dist/cli/peers.js +7 -0
- package/dist/cli/presets.d.ts.map +1 -1
- package/dist/cli/presets.js +27 -11
- package/dist/cli/resolver.d.ts +13 -4
- package/dist/cli/resolver.d.ts.map +1 -1
- package/dist/cli/resolver.js +39 -5
- package/dist/cli/router-wiring.d.ts +1 -0
- package/dist/cli/router-wiring.d.ts.map +1 -1
- package/dist/cli/router-wiring.js +1 -1
- package/dist/cli/sync/engine.d.ts +8 -1
- package/dist/cli/sync/engine.d.ts.map +1 -1
- package/dist/cli/sync/engine.js +25 -14
- package/dist/cli/sync/index.d.ts.map +1 -1
- package/dist/cli/sync/index.js +7 -4
- package/dist/cli/sync/render.d.ts.map +1 -1
- package/dist/cli/sync/render.js +21 -28
- package/dist/cli/tokens-css.d.ts +2 -0
- package/dist/cli/tokens-css.d.ts.map +1 -1
- package/dist/cli/tokens-css.js +28 -6
- package/dist/controls/contract.d.ts +2 -1
- package/dist/controls/contract.d.ts.map +1 -1
- package/dist/controls/control-home.d.ts +4 -1
- package/dist/controls/control-home.d.ts.map +1 -1
- package/dist/controls/control-home.js +5 -3
- package/dist/controls/local-control.d.ts +28 -1
- package/dist/controls/local-control.d.ts.map +1 -1
- package/dist/controls/local-control.js +14 -2
- package/dist/core/cn.d.ts.map +1 -1
- package/dist/core/cn.js +6 -5
- package/dist/core/frame-figure.d.ts +2 -0
- package/dist/core/frame-figure.d.ts.map +1 -1
- package/dist/core/frame-figure.js +5 -2
- package/dist/core/frame-head.d.ts +3 -1
- package/dist/core/frame-head.d.ts.map +1 -1
- package/dist/core/frame-head.js +28 -7
- package/dist/core/frame-regions.d.ts +1 -1
- package/dist/core/frame-regions.d.ts.map +1 -1
- package/dist/core/frame-regions.js +18 -8
- package/dist/core/info-hint.d.ts +5 -0
- package/dist/core/info-hint.d.ts.map +1 -1
- package/dist/core/info-hint.js +22 -1
- package/dist/core/mark-tone.d.ts +6 -2
- package/dist/core/mark-tone.d.ts.map +1 -1
- package/dist/core/mark-tone.js +1 -1
- package/dist/core/mark-types.d.ts +4 -2
- package/dist/core/mark-types.d.ts.map +1 -1
- package/dist/core/messages/chain.d.ts +2 -1
- package/dist/core/messages/chain.d.ts.map +1 -1
- package/dist/core/messages/chain.js +1 -0
- package/dist/core/messages/index.d.ts +2 -1
- package/dist/core/messages/index.d.ts.map +1 -1
- package/dist/core/messages/index.js +2 -0
- package/dist/core/messages/runs.d.ts +20 -0
- package/dist/core/messages/runs.d.ts.map +1 -0
- package/dist/core/messages/runs.js +18 -0
- package/dist/core/phase.d.ts +25 -2
- package/dist/core/phase.d.ts.map +1 -1
- package/dist/core/ports.d.ts +4 -1
- package/dist/core/ports.d.ts.map +1 -1
- package/dist/core/provider.d.ts +3 -1
- package/dist/core/provider.d.ts.map +1 -1
- package/dist/core/provider.js +5 -3
- package/dist/core/scheme.d.ts +2 -1
- package/dist/core/scheme.d.ts.map +1 -1
- package/dist/core/scheme.js +1 -0
- package/dist/core/spark/mini-bars.d.ts +6 -4
- package/dist/core/spark/mini-bars.d.ts.map +1 -1
- package/dist/core/spark/mini-bars.js +36 -11
- package/dist/core/spark/sparkline.d.ts +2 -2
- package/dist/core/spark/sparkline.d.ts.map +1 -1
- package/dist/core/spark/sparkline.js +21 -2
- package/dist/css/bridge.css +63 -0
- package/dist/css/generate.d.ts +2 -2
- package/dist/css/generate.d.ts.map +1 -1
- package/dist/css/generate.js +25 -0
- package/dist/data/live/live-query.d.ts +2 -2
- package/dist/data/live/live-query.d.ts.map +1 -1
- package/dist/data/live/live-query.js +2 -1
- package/dist/lint/preset.d.ts +12 -3
- package/dist/lint/preset.d.ts.map +1 -1
- package/dist/lint/preset.js +30 -10
- package/dist/lint/rules/class/table.d.ts.map +1 -1
- package/dist/lint/rules/class/table.js +3 -1
- package/dist/lint/rules/structure/control-home.js +1 -1
- package/dist/lint/rules/structure/import-boundary.d.ts.map +1 -1
- package/dist/lint/rules/structure/import-boundary.js +2 -0
- package/dist/lint/rules/structure/label-literal.d.ts.map +1 -1
- package/dist/lint/rules/structure/label-literal.js +1 -1
- package/dist/lint/shadcn.d.ts +562 -0
- package/dist/lint/shadcn.d.ts.map +1 -0
- package/dist/lint/shadcn.js +52 -0
- package/dist/lint/stylelint/render.d.ts +3 -1
- package/dist/lint/stylelint/render.d.ts.map +1 -1
- package/dist/lint/stylelint/render.js +23 -2
- package/dist/lint/stylelint/rules.d.ts +3 -2
- package/dist/lint/stylelint/rules.d.ts.map +1 -1
- package/dist/lint/stylelint/rules.js +11 -6
- package/dist/lint/weakened.d.ts +8 -0
- package/dist/lint/weakened.d.ts.map +1 -1
- package/dist/lint/weakened.js +44 -1
- package/dist/messages/de.d.ts.map +1 -1
- package/dist/messages/de.js +15 -0
- package/dist/messages/es.d.ts.map +1 -1
- package/dist/messages/es.js +15 -0
- package/dist/messages/fr.d.ts.map +1 -1
- package/dist/messages/fr.js +15 -0
- package/dist/messages/zh-hans.d.ts.map +1 -1
- package/dist/messages/zh-hans.js +15 -0
- package/dist/page/bar-title.d.ts +25 -0
- package/dist/page/bar-title.d.ts.map +1 -0
- package/dist/page/bar-title.js +10 -0
- package/dist/page/contract.d.ts +11 -1
- package/dist/page/contract.d.ts.map +1 -1
- package/dist/page/empty-state.d.ts +5 -2
- package/dist/page/empty-state.d.ts.map +1 -1
- package/dist/page/empty-state.js +14 -3
- package/dist/page/facts.d.ts +19 -2
- package/dist/page/facts.d.ts.map +1 -1
- package/dist/page/facts.js +26 -5
- package/dist/page/index.d.ts +8 -0
- package/dist/page/index.d.ts.map +1 -1
- package/dist/page/index.js +9 -0
- package/dist/page/page-bar.d.ts.map +1 -1
- package/dist/page/page-bar.js +2 -7
- package/dist/page/page-summary.d.ts +2 -1
- package/dist/page/page-summary.d.ts.map +1 -1
- package/dist/page/page-summary.js +1 -1
- package/dist/page/run-button.d.ts +26 -0
- package/dist/page/run-button.d.ts.map +1 -0
- package/dist/page/run-button.js +31 -0
- package/dist/page/run-list.d.ts +28 -0
- package/dist/page/run-list.d.ts.map +1 -0
- package/dist/page/run-list.js +88 -0
- package/dist/page/run-queue.d.ts +78 -0
- package/dist/page/run-queue.d.ts.map +1 -0
- package/dist/page/run-queue.js +93 -0
- package/dist/page/section.d.ts +6 -1
- package/dist/page/section.d.ts.map +1 -1
- package/dist/page/section.js +34 -16
- package/dist/shell/commands/command-palette.d.ts.map +1 -1
- package/dist/shell/commands/command-palette.js +5 -1
- package/dist/shell/parts/header.js +1 -1
- package/dist/surfaces.d.ts +15 -1
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +19 -2
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +3 -0
- package/dist/testing/pseudo-locale.d.ts +41 -0
- package/dist/testing/pseudo-locale.d.ts.map +1 -0
- package/dist/testing/pseudo-locale.js +74 -0
- package/dist/testing/quality.d.ts +6 -0
- package/dist/testing/quality.d.ts.map +1 -1
- package/dist/testing/quality.js +139 -1
- package/dist/tokens/bridge-sheet.d.ts +21 -0
- package/dist/tokens/bridge-sheet.d.ts.map +1 -0
- package/dist/tokens/bridge-sheet.js +68 -0
- package/dist/tokens/emit.d.ts +6 -1
- package/dist/tokens/emit.d.ts.map +1 -1
- package/dist/tokens/emit.js +26 -1
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/card.d.ts +32 -4
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +26 -3
- package/dist/ui/collapsible.d.ts +4 -2
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/combobox.js +1 -1
- package/dist/ui/meter.d.ts +34 -3
- package/dist/ui/meter.d.ts.map +1 -1
- package/dist/ui/meter.guard.d.ts +2 -0
- package/dist/ui/meter.guard.d.ts.map +1 -1
- package/dist/ui/meter.guard.js +20 -0
- package/dist/ui/meter.js +23 -7
- package/dist/ui/primitive.contract.d.ts.map +1 -1
- package/dist/ui/primitive.contract.js +7 -0
- package/dist/ui/remote-pad.d.ts +62 -0
- package/dist/ui/remote-pad.d.ts.map +1 -0
- package/dist/ui/remote-pad.guard.d.ts +21 -0
- package/dist/ui/remote-pad.guard.d.ts.map +1 -0
- package/dist/ui/remote-pad.guard.js +6 -0
- package/dist/ui/remote-pad.js +148 -0
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +4 -0
- package/dist/ui/skeleton.d.ts +9 -4
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.guard.d.ts +6 -2
- package/dist/ui/skeleton.guard.d.ts.map +1 -1
- package/dist/ui/skeleton.guard.js +4 -0
- package/dist/ui/skeleton.js +2 -1
- package/dist/ui/slots.d.ts +2 -1
- package/dist/ui/slots.d.ts.map +1 -1
- package/dist/ui/slots.js +2 -1
- package/dist/vite/allotment.d.ts +1 -1
- package/dist/vite/allotment.d.ts.map +1 -1
- package/dist/vite/allotment.js +15 -1
- package/dist/vite/doc.d.ts +1 -1
- package/dist/vite/doc.d.ts.map +1 -1
- package/dist/vite/doc.js +12 -2
- package/dist/vite/head.d.ts +4 -3
- package/dist/vite/head.d.ts.map +1 -1
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +4 -1
- package/dist/vite/shell-worker.d.ts +6 -0
- package/dist/vite/shell-worker.d.ts.map +1 -0
- package/dist/vite/shell-worker.js +92 -0
- package/docs/astro.md +19 -4
- package/docs/bar-list.md +3 -2
- package/docs/bar-title.md +33 -0
- package/docs/basalt-provider.md +2 -1
- package/docs/card.md +24 -4
- package/docs/chain-view.md +12 -7
- package/docs/chart-card.md +3 -2
- package/docs/collapsible.md +4 -2
- package/docs/control-home.md +4 -2
- package/docs/create-run-queue.md +40 -0
- package/docs/data-panel.md +3 -2
- package/docs/de.md +1 -1
- package/docs/empty-state.md +3 -1
- package/docs/es.md +1 -1
- package/docs/event-list.md +3 -2
- package/docs/fact.md +6 -1
- package/docs/facts.md +5 -1
- package/docs/fr.md +1 -1
- package/docs/live-query.md +1 -1
- package/docs/meter.md +17 -13
- package/docs/mini-bars.md +7 -5
- package/docs/pseudo-basalt-messages.md +30 -0
- package/docs/pseudo-messages.md +27 -0
- package/docs/quality.md +2 -1
- package/docs/recipes/localise-app.md +2 -2
- package/docs/remote-pad.md +40 -0
- package/docs/row-list.md +3 -2
- package/docs/run-button.md +45 -0
- package/docs/run-list.md +71 -0
- package/docs/section.md +7 -1
- package/docs/set-scheme.md +2 -2
- package/docs/skeleton.md +4 -3
- package/docs/slots.md +1 -1
- package/docs/sparkline.md +5 -2
- package/docs/stat-card.md +6 -4
- package/docs/testing.md +64 -0
- package/docs/use-local-control.md +8 -1
- package/docs/use-runs.md +32 -0
- package/docs/vite.md +12 -2
- package/docs/zh-hans.md +1 -1
- package/llms.txt +88 -21
- package/migrations/areas/shadcn.json +338 -0
- package/package.json +9 -2
- package/src/astro/shiki.ts +3 -1
- package/src/cards/bar-list.tsx +2 -1
- package/src/cards/chain-view.tsx +167 -55
- package/src/cards/contract.ts +8 -1
- package/src/cards/data-panel.tsx +1 -0
- package/src/cards/event-list.tsx +2 -1
- package/src/cards/index.ts +1 -0
- package/src/cards/row-list.tsx +2 -1
- package/src/cards/stat-card-parts.tsx +9 -7
- package/src/cards/stat-card.tsx +39 -12
- package/src/charts/core/compile.ts +31 -19
- package/src/charts/core/cursor.ts +11 -3
- package/src/charts/core/tooltip-said.ts +55 -0
- package/src/charts/focus.tsx +4 -1
- package/src/charts/parts/chart-card.tsx +1 -0
- package/src/cli/agent-note.ts +12 -5
- package/src/cli/budget/index.ts +22 -5
- package/src/cli/config.ts +1 -1
- package/src/cli/doctor/app.ts +75 -23
- package/src/cli/doctor/eject.ts +30 -10
- package/src/cli/doctor/guards.ts +11 -8
- package/src/cli/doctor/hook.ts +1 -1
- package/src/cli/doctor/install.ts +61 -24
- package/src/cli/doctor/translations.ts +13 -4
- package/src/cli/doctor/types.ts +2 -3
- package/src/cli/doctor/wiring.ts +30 -16
- package/src/cli/eject/dropped-slots.ts +11 -0
- package/src/cli/eject/index.ts +13 -9
- package/src/cli/help.ts +34 -10
- package/src/cli/index.ts +56 -14
- package/src/cli/init/index.ts +64 -5
- package/src/cli/init/locales.ts +41 -8
- package/src/cli/init/router-seeds.ts +17 -3
- package/src/cli/init/steps.ts +308 -41
- package/src/cli/lint/baseline.ts +141 -0
- package/src/cli/lint/engine.ts +33 -10
- package/src/cli/lint/hook.ts +11 -3
- package/src/cli/lint/index.ts +77 -12
- package/src/cli/manifest.ts +132 -4
- package/src/cli/migrate/census.ts +35 -1
- package/src/cli/migrate/index.ts +46 -3
- package/src/cli/migrate/lost-classes.ts +203 -0
- package/src/cli/migrate/rows.ts +21 -0
- package/src/cli/package-manager.ts +4 -1
- package/src/cli/peers.ts +11 -0
- package/src/cli/presets.ts +32 -11
- package/src/cli/resolver.ts +58 -10
- package/src/cli/router-wiring.ts +3 -1
- package/src/cli/sync/engine.ts +30 -14
- package/src/cli/sync/index.ts +7 -4
- package/src/cli/sync/render.ts +29 -37
- package/src/cli/tokens-css.ts +42 -5
- package/src/controls/contract.ts +2 -0
- package/src/controls/control-home.tsx +15 -4
- package/src/controls/local-control.ts +49 -3
- package/src/core/cn.ts +9 -5
- package/src/core/frame-figure.tsx +7 -1
- package/src/core/frame-head.tsx +32 -6
- package/src/core/frame-regions.tsx +18 -8
- package/src/core/info-hint.tsx +26 -0
- package/src/core/mark-tone.ts +10 -3
- package/src/core/mark-types.ts +4 -2
- package/src/core/messages/chain.ts +2 -1
- package/src/core/messages/index.ts +4 -0
- package/src/core/messages/runs.ts +40 -0
- package/src/core/phase.ts +22 -2
- package/src/core/ports.ts +13 -1
- package/src/core/provider.tsx +7 -3
- package/src/core/scheme.ts +6 -2
- package/src/core/spark/mini-bars.tsx +59 -15
- package/src/core/spark/sparkline.tsx +26 -4
- package/src/css/bridge.css +63 -0
- package/src/css/generate.ts +40 -3
- package/src/data/live/live-query.ts +4 -3
- package/src/lint/preset.ts +52 -13
- package/src/lint/rules/class/table.ts +3 -1
- package/src/lint/rules/structure/control-home.ts +1 -1
- package/src/lint/rules/structure/import-boundary.ts +2 -0
- package/src/lint/rules/structure/label-literal.ts +3 -1
- package/src/lint/shadcn.ts +91 -0
- package/src/lint/stylelint/render.ts +31 -1
- package/src/lint/stylelint/rules.ts +19 -7
- package/src/lint/weakened.ts +59 -1
- package/src/messages/de.ts +20 -0
- package/src/messages/es.ts +20 -0
- package/src/messages/fr.ts +20 -0
- package/src/messages/zh-hans.ts +20 -0
- package/src/page/bar-title.tsx +35 -0
- package/src/page/contract.ts +11 -1
- package/src/page/empty-state.tsx +18 -8
- package/src/page/facts.tsx +43 -5
- package/src/page/index.ts +8 -0
- package/src/page/page-bar.tsx +2 -9
- package/src/page/page-summary.tsx +4 -3
- package/src/page/run-button.tsx +52 -0
- package/src/page/run-list.tsx +151 -0
- package/src/page/run-queue.ts +185 -0
- package/src/page/section.tsx +30 -5
- package/src/shell/commands/command-palette.tsx +10 -1
- package/src/shell/parts/header.tsx +1 -1
- package/src/surfaces.ts +18 -1
- package/src/testing/index.ts +1 -0
- package/src/testing/pseudo-locale.ts +149 -0
- package/src/testing/quality.ts +188 -0
- package/src/tokens/bridge-sheet.ts +80 -0
- package/src/tokens/emit.ts +45 -6
- package/src/ui/accordion.tsx +1 -1
- package/src/ui/card.tsx +56 -6
- package/src/ui/collapsible.tsx +5 -3
- package/src/ui/combobox.tsx +1 -1
- package/src/ui/meter.guard.ts +23 -0
- package/src/ui/meter.tsx +76 -27
- package/src/ui/no-restyle.generated.json +8 -0
- package/src/ui/primitive.contract.ts +7 -0
- package/src/ui/remote-pad.guard.ts +24 -0
- package/src/ui/remote-pad.tsx +249 -0
- package/src/ui/segmented.tsx +6 -0
- package/src/ui/skeleton.guard.ts +7 -2
- package/src/ui/skeleton.tsx +10 -4
- package/src/ui/slots.ts +2 -1
- package/src/vite/allotment.ts +15 -1
- package/src/vite/doc.ts +12 -2
- package/src/vite/head.ts +4 -3
- package/src/vite/index.ts +4 -1
- package/src/vite/shell-worker.ts +115 -0
package/docs/bar-list.md
CHANGED
|
@@ -26,7 +26,8 @@ BarList<I = unknown>(props: BarListProps<I>): ReactElement
|
|
|
26
26
|
title: string
|
|
27
27
|
subtitle?: FrameFacts // A context line under the title: a string, or facts joined by the separator dot
|
|
28
28
|
icon?: IconComponent
|
|
29
|
-
info?: string
|
|
29
|
+
info?: string | readonly InfoEntry[] // The definition behind the glyph: a string, or one paragraph per entry (a definition, its parts, its context); an entry may end with a link
|
|
30
|
+
headingLevel?: 2 | 3 | 4 // The title is a heading of this level: `3` by default; a card under a section titled `h2` keeps `3`, one under an `h3` takes `4`
|
|
30
31
|
badge?: FrameBadge // The chip beside the title
|
|
31
32
|
phase?: Phase | QueryStateLike
|
|
32
33
|
empty?: Empty | null
|
|
@@ -41,7 +42,7 @@ BarList<I = unknown>(props: BarListProps<I>): ReactElement
|
|
|
41
42
|
mono?: boolean // Draw every label in the mono face with tabular figures: ids, hashes, paths
|
|
42
43
|
```
|
|
43
44
|
|
|
44
|
-
`Action`, `BarListProps`, `Empty`, `FrameBadge`, `FrameFacts`, `LegendEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { Action, BarListProps, Empty, FrameBadge, FrameFacts, LegendEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
45
|
+
`Action`, `BarListProps`, `Empty`, `FrameBadge`, `FrameFacts`, `InfoEntry`, `LegendEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { Action, BarListProps, Empty, FrameBadge, FrameFacts, InfoEntry, LegendEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
45
46
|
|
|
46
47
|
`IconComponent` import from `basalt-ui`: `import type { IconComponent } from 'basalt-ui'`.
|
|
47
48
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: BarTitle
|
|
3
|
+
use when: 'a game, kiosk or other single-screen app draws its own top bar and needs to name the screen with a heading'
|
|
4
|
+
never when: 'the screen is a `Page` (use `PageBar` `title`, which draws this heading) or the title belongs to a card (use the card title)'
|
|
5
|
+
instead: [PageBar, Section]
|
|
6
|
+
subpath: basalt-ui/page
|
|
7
|
+
peers: []
|
|
8
|
+
slots: [bar-title]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# BarTitle
|
|
12
|
+
|
|
13
|
+
The title of a screen that has its own top bar and no `Page`: the page's `h1`, in the bar's
|
|
14
|
+
title style. It wraps and never truncates, so a long or translated name stays readable at 360 px.
|
|
15
|
+
|
|
16
|
+
## Signature
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
BarTitle({ title, className }: BarTitleProps): ReactElement
|
|
20
|
+
title: string // The screen's name
|
|
21
|
+
className?: string // Layout only (`shrink`, `flex-1`)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`BarTitleProps` import from `basalt-ui/page`: `import type { BarTitleProps } from 'basalt-ui/page'`.
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
<header className="flex items-center gap-3">
|
|
30
|
+
<BarTitle title="Sprint 42 planning" className="shrink" />
|
|
31
|
+
<RoomMenu />
|
|
32
|
+
</header>
|
|
33
|
+
```
|
package/docs/basalt-provider.md
CHANGED
|
@@ -18,11 +18,12 @@ and sort below it follows `locale`; pass the same one on server and client. The
|
|
|
18
18
|
## Signature
|
|
19
19
|
|
|
20
20
|
```ts
|
|
21
|
-
BasaltProvider({ scheme, locale, timeZone, messages, lang, link, live, children, }: BasaltProviderProps): ReactNode
|
|
21
|
+
BasaltProvider({ scheme, persist, locale, timeZone, messages, lang, link, live, children, }: BasaltProviderProps): ReactNode
|
|
22
22
|
locale?: string // BCP 47 tag the formatters, parsers, sorts and plural rules read
|
|
23
23
|
timeZone?: string // IANA zone dates print in
|
|
24
24
|
messages?: Partial<BasaltMessages> // Overrides over the English defaults, by key; a missing key keeps its English text
|
|
25
25
|
scheme?: Scheme // Stamped on `<html data-theme>` and stored raw
|
|
26
|
+
persist?: boolean // `false`: the scheme is stamped on `<html data-theme>` but not stored under `basalt:scheme`, for an app that keeps its own preference
|
|
26
27
|
lang?: string // `<html lang>`, written in an effect
|
|
27
28
|
link?: LinkComponent // The link every link prop renders through: `routerDefaults().link` for an app on TanStack Router, so a `LinkHref` target navigates without a document load
|
|
28
29
|
live?: LiveBinding // A push binding (`bindInvalidation(queryClient, channel, o)`) started once on the client when the provider mounts and stopped on unmount; a server render starts nothing
|
package/docs/card.md
CHANGED
|
@@ -5,13 +5,15 @@ never when: 'a part already frames the content (ChartCard, StatCard, Section), o
|
|
|
5
5
|
instead: [ChartCard, StatCard, DataPanel]
|
|
6
6
|
subpath: basalt-ui/ui/card
|
|
7
7
|
peers: []
|
|
8
|
-
slots: [card, card-band, icon-tile, inset, card-phase]
|
|
8
|
+
slots: [card, card-band, icon-tile, inset, card-phase, card-link]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Card
|
|
12
12
|
|
|
13
13
|
The base card: a surface with a radius and a ring. Works with no provider; polymorphism only
|
|
14
|
-
through `render`.
|
|
14
|
+
through `render`. A card with a header band, a body and a footer is `Card flush` with `CardBand`
|
|
15
|
+
(or a header row of your own), an `Inset` and `CardFooter` (`basalt-ui/cards`); `CardLink` makes
|
|
16
|
+
the whole card one link.
|
|
15
17
|
|
|
16
18
|
## Props
|
|
17
19
|
|
|
@@ -49,19 +51,36 @@ IconTile({ className, ...props }: PartProps<"span">): ReactElement
|
|
|
49
51
|
The head every frame shares, for a hand-built card: the icon tile, the title with its definition
|
|
50
52
|
glyph and badge, a subtitle of facts, up to three actions, up to two controls and the menu, on the
|
|
51
53
|
card's left edge. `StatCard`, `ChartCard` and `DataPanel` draw this same part, so a hand-built frame
|
|
52
|
-
reads as a shipped one. Data only: no node, no class.
|
|
54
|
+
reads as a shipped one. Data only: no node, no class. The title is one line that ends in an ellipsis;
|
|
55
|
+
`wrap` lets a title that is a sentence take as many lines as it needs.
|
|
53
56
|
|
|
54
57
|
```ts
|
|
55
58
|
CardBand(props: CardBandProps): ReactElement
|
|
56
|
-
info?: string
|
|
59
|
+
info?: string | readonly InfoEntry[] // The definition behind the glyph: a string, or one paragraph per entry (a definition, its parts, its context); an entry may end with a link
|
|
57
60
|
icon?: IconComponent
|
|
58
61
|
subtitle?: FrameFacts // A context line under the title: a string, or facts joined by the separator dot
|
|
62
|
+
headingLevel?: 2 | 3 | 4 // The title is a heading of this level: `3` by default; a card under a section titled `h2` keeps `3`, one under an `h3` takes `4`
|
|
59
63
|
badge?: FrameBadge // The chip beside the title
|
|
60
64
|
title: string
|
|
61
65
|
actions?: HeadActions // One to three header buttons, toggles or a check menu; a fourth does not compile
|
|
62
66
|
controls?: HeadControls // One or two controls; a third does not compile
|
|
63
67
|
menu?: CardMenuEntries // The card's menu: two or more actions
|
|
64
68
|
contextMenu?: boolean // Whether a right click, a long press or Shift+F10 on the card opens its menu at the pointer
|
|
69
|
+
wrap?: boolean // The title wraps onto further lines instead of ending in an ellipsis: set it where the title is a sentence
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### `CardLink`
|
|
73
|
+
|
|
74
|
+
The stretched link of a hand-built card: one transparent link over the whole card, named by
|
|
75
|
+
`label`, with its focus ring inside the edge. Place it as a direct child of `Card`, first. It
|
|
76
|
+
covers the card's content, a `CardPhase` body included; a second target after it (a link, a
|
|
77
|
+
button) needs `relative z-1` to sit above it; `CardBand`'s actions and menu already do.
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
CardLink({ href, label, className }: CardLinkProps): ReactElement
|
|
81
|
+
href: LinkHref
|
|
82
|
+
label: string // The link's accessible name, usually the card's title
|
|
83
|
+
className?: string // Layout only
|
|
65
84
|
```
|
|
66
85
|
|
|
67
86
|
### `CardPhase`
|
|
@@ -100,3 +119,4 @@ Part `card`.
|
|
|
100
119
|
- `icon-tile`
|
|
101
120
|
- `inset`
|
|
102
121
|
- `card-phase`
|
|
122
|
+
- `card-link`
|
package/docs/chain-view.md
CHANGED
|
@@ -5,7 +5,7 @@ never when: 'the records form a strict tree with nothing to compare across branc
|
|
|
5
5
|
instead: [DataTable, FlowCanvas]
|
|
6
6
|
subpath: basalt-ui/cards
|
|
7
7
|
peers: []
|
|
8
|
-
slots: [chain-canvas, chain-controls, chain-edge, chain-graph, chain-legend, chain-list, chain-list-node, chain-node, chain-title, chain-view]
|
|
8
|
+
slots: [chain-canvas, chain-controls, chain-edge, chain-graph, chain-legend, chain-list, chain-list-node, chain-node, chain-target, chain-title, chain-view]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# ChainView
|
|
@@ -13,27 +13,32 @@ slots: [chain-canvas, chain-controls, chain-edge, chain-graph, chain-legend, cha
|
|
|
13
13
|
A dependency chain: nodes that wait on other nodes, drawn left to right with each blocker left
|
|
14
14
|
of what waits on it. Every edge leaves its blocker at the middle of the right side and ends in an
|
|
15
15
|
arrowhead at the middle of the waiting node's left side; one from an open node is solid in the
|
|
16
|
-
warn hue and
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
warn hue and one from a done node is dashed. The legend labels the two styles; individual edges
|
|
17
|
+
have no text label.
|
|
18
|
+
A node waiting on an open blocker is outlined in the warn tone. The graph opens fitted to its
|
|
19
|
+
width (never below half size) in a frame no taller than the page's visible scroll area: a drag on empty canvas, the
|
|
19
20
|
wheel and one finger pan it, Ctrl or Cmd with the wheel, a pinch, the zoom buttons and the
|
|
20
21
|
`+`, `-` and `0` keys zoom it. Pointing at a node (or focusing its row) lights its whole trace,
|
|
21
22
|
every node it waits on and every node waiting on it; Focus (or `F`) holds that trace and zooms
|
|
22
23
|
to it, Show all (or Escape) returns. Below 480 px of container it is a nested list instead, each
|
|
23
24
|
node under the first node it waits on with the rest named. It shares a `focus` with a
|
|
24
25
|
`DataTable` over the same records, so a node and its row are one item. The layout is the kit's
|
|
25
|
-
own (no dependency), and nodes
|
|
26
|
+
own (no dependency), and nodes cannot be dragged. Use a larger `nodeSize` for record faces with
|
|
27
|
+
metadata and a reason. Folded groups are ordinary nodes whose activation changes `nodes`; pass a
|
|
28
|
+
`fitRequest` with the revealed ids to bring those records into view.
|
|
26
29
|
|
|
27
30
|
## Signature
|
|
28
31
|
|
|
29
32
|
```ts
|
|
30
|
-
ChainView<T>({ label, nodes, getId, waitsOn, face, onActivate, focus: focusSource, }: ChainViewProps<T>): ReactElement
|
|
33
|
+
ChainView<T>({ label, nodes, getId, waitsOn, face, onActivate, nodeSize, fitRequest, focus: focusSource, }: ChainViewProps<T>): ReactElement
|
|
31
34
|
label: string // The accessible name of the chain (the region and the list)
|
|
32
35
|
nodes: readonly T[] // Every node, in reading order: it breaks ties in the layout and orders the narrow list
|
|
33
36
|
getId: (node: T) => string
|
|
34
37
|
waitsOn: (node: T) => readonly string[] // The ids of the nodes this one waits on (its blockers)
|
|
35
38
|
face: (node: T) => ChainFace
|
|
36
|
-
onActivate?: ((node: T) => void) // A click or Enter on a node
|
|
39
|
+
onActivate?: ((node: T) => void) // A click or Enter on a node without an href (for example, a folded group)
|
|
40
|
+
nodeSize?: { width: number; height: number; } // Uniform graph card dimensions in px
|
|
41
|
+
fitRequest?: { key: string; ids: readonly string[]; } // Fit the listed nodes after they appear
|
|
37
42
|
focus?: ListFocus<T> // A focus shared with a table or a chart over the same records (`useChartFocus(rows, …)`): a node maps to its item by `getId`, so the order of `focus.items` is free
|
|
38
43
|
```
|
|
39
44
|
|
package/docs/chart-card.md
CHANGED
|
@@ -54,13 +54,14 @@ ChartCard(props: ChartCardProps): ReactElement
|
|
|
54
54
|
title?: string
|
|
55
55
|
subtitle?: FrameFacts // A context line under the title: a string, or facts joined by the separator dot
|
|
56
56
|
icon?: IconComponent
|
|
57
|
-
info?: string
|
|
57
|
+
info?: string | readonly InfoEntry[] // The definition behind the glyph: a string, or one paragraph per entry (a definition, its parts, its context); an entry may end with a link
|
|
58
|
+
headingLevel?: 2 | 3 | 4 // The title is a heading of this level: `3` by default; a card under a section titled `h2` keeps `3`, one under an `h3` takes `4`
|
|
58
59
|
badge?: FrameBadge // The chip beside the title
|
|
59
60
|
chart?: BoxSlot
|
|
60
61
|
panes?: readonly ChartPane[]
|
|
61
62
|
```
|
|
62
63
|
|
|
63
|
-
`CardMenu`, `Empty`, `FrameBadge`, `FrameFacts`, `FrameFigure`, `FrameFooter`, `FrameStrip`, `FrameTabs`, `HeadActions`, `HeadControls`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { CardMenu, Empty, FrameBadge, FrameFacts, FrameFigure, FrameFooter, FrameStrip, FrameTabs, HeadActions, HeadControls, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
64
|
+
`CardMenu`, `Empty`, `FrameBadge`, `FrameFacts`, `FrameFigure`, `FrameFooter`, `FrameStrip`, `FrameTabs`, `HeadActions`, `HeadControls`, `InfoEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { CardMenu, Empty, FrameBadge, FrameFacts, FrameFigure, FrameFooter, FrameStrip, FrameTabs, HeadActions, HeadControls, InfoEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
64
65
|
|
|
65
66
|
`ChartCardProps`, `ChartCsv`, `ChartPane`, `LegendEntry` import from `basalt-ui/charts`: `import type { ChartCardProps, ChartCsv, ChartPane, LegendEntry } from 'basalt-ui/charts'`.
|
|
66
67
|
|
package/docs/collapsible.md
CHANGED
|
@@ -25,7 +25,8 @@ Collapsible({ className, ...props }: CollapsibleProps): ReactElement
|
|
|
25
25
|
### `CollapsibleTrigger`
|
|
26
26
|
|
|
27
27
|
The button that toggles the region. It has no look of its own: it owns focus and the pointer-tier
|
|
28
|
-
hit floor, and the caller styles the content (or passes a `Button` through `render`).
|
|
28
|
+
hit floor, and the caller styles the content (or passes a `Button` through `render`). Base UI sets
|
|
29
|
+
its `aria-controls` only while the region is open, also with `keepMounted`: read `aria-expanded`.
|
|
29
30
|
|
|
30
31
|
```ts
|
|
31
32
|
CollapsibleTrigger({ className, ...props }: CollapsibleTriggerProps): ReactElement
|
|
@@ -35,7 +36,8 @@ CollapsibleTrigger({ className, ...props }: CollapsibleTriggerProps): ReactEleme
|
|
|
35
36
|
### `CollapsibleContent`
|
|
36
37
|
|
|
37
38
|
The region. It animates its height from the measured content and skips the animation under
|
|
38
|
-
reduced motion.
|
|
39
|
+
reduced motion. It clips only while closed or moving, so an open region shows a focus ring, a
|
|
40
|
+
shadow or a tooltip that reaches past its edge. `hiddenUntilFound` lets the browser's find in page open it on a match;
|
|
39
41
|
`keepMounted` keeps it in the DOM while closed so inner state survives.
|
|
40
42
|
|
|
41
43
|
```ts
|
package/docs/control-home.md
CHANGED
|
@@ -5,14 +5,16 @@ never when: 'you want a different look for one control: the home decides the loo
|
|
|
5
5
|
instead: [filterSlot, FilterSet]
|
|
6
6
|
subpath: basalt-ui/controls
|
|
7
7
|
peers: []
|
|
8
|
-
slots: []
|
|
8
|
+
slots: [control-command]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# ControlHome
|
|
12
12
|
|
|
13
13
|
Hosts controls and gives them the presentation of its `home`. A `FilterSet` or a `filterSlot`
|
|
14
14
|
inside reads it; with no home around, a control is a `pill`. A home with nothing to draw renders
|
|
15
|
-
nothing, so an empty slot leaves no gap.
|
|
15
|
+
nothing, so an empty slot leaves no gap. A control that sends a request and holds no stored value
|
|
16
|
+
(an absolute volume sent on release) goes in `home="command"`: it is named by its own label, and
|
|
17
|
+
the app owns the shown value (the reported one, or the pick until the request answers).
|
|
16
18
|
|
|
17
19
|
## Signature
|
|
18
20
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: createRunQueue
|
|
3
|
+
use when: 'a command takes seconds and the reader must see it running, waiting behind another, done or failed'
|
|
4
|
+
never when: 'the call is instant or its result shows in the data itself (use a mutation and `notify`)'
|
|
5
|
+
instead: [notify, optimistic]
|
|
6
|
+
subpath: basalt-ui/page
|
|
7
|
+
peers: []
|
|
8
|
+
slots: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# createRunQueue
|
|
12
|
+
|
|
13
|
+
Makes one queue of runs, usually one per app, at module level. Give it to `RunButton` and
|
|
14
|
+
`RunList`; read it in a control of your own with `useRuns`.
|
|
15
|
+
|
|
16
|
+
## Signature
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
createRunQueue<D = unknown>(): RunQueue<D>
|
|
20
|
+
returns RunQueue:
|
|
21
|
+
start(task: RunTask<D>): number
|
|
22
|
+
dismiss(id: number): void
|
|
23
|
+
runs(): readonly Run<D>[]
|
|
24
|
+
subscribe(listener: () => void): () => void
|
|
25
|
+
|
|
26
|
+
RunTask<D>:
|
|
27
|
+
id: string // Identity: every button of the same `id` shows the same latest run
|
|
28
|
+
label: string // The words the run list shows
|
|
29
|
+
lanes?: readonly string[] // The server queues the command holds; none means it waits for nothing
|
|
30
|
+
run: () => Promise<void | RunResult<D>>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
`Run`, `RunQueue`, `RunResult`, `RunTask` import from `basalt-ui/page`: `import type { Run, RunQueue, RunResult, RunTask } from 'basalt-ui/page'`.
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
```tsx
|
|
38
|
+
export const commands = createRunQueue()
|
|
39
|
+
commands.start({ id: 'tv-on', label: 'TV on', lanes: ['living-room'], run: () => post('/tv/on') })
|
|
40
|
+
```
|
package/docs/data-panel.md
CHANGED
|
@@ -49,7 +49,8 @@ DataPanel(props: DataPanelProps): ReactElement
|
|
|
49
49
|
title: string
|
|
50
50
|
subtitle?: FrameFacts // A context line under the title: a string, or facts joined by the separator dot
|
|
51
51
|
icon?: IconComponent
|
|
52
|
-
info?: string
|
|
52
|
+
info?: string | readonly InfoEntry[] // The definition behind the glyph: a string, or one paragraph per entry (a definition, its parts, its context); an entry may end with a link
|
|
53
|
+
headingLevel?: 2 | 3 | 4 // The title is a heading of this level: `3` by default; a card under a section titled `h2` keeps `3`, one under an `h3` takes `4`
|
|
53
54
|
badge?: FrameBadge // The chip beside the title
|
|
54
55
|
phase?: Phase | QueryStateLike
|
|
55
56
|
empty?: Empty | null
|
|
@@ -69,7 +70,7 @@ DataPanel(props: DataPanelProps): ReactElement
|
|
|
69
70
|
body: BoxSlot // Tables, lists and boards
|
|
70
71
|
```
|
|
71
72
|
|
|
72
|
-
`CardMenu`, `DataPanelProps`, `Empty`, `FrameBadge`, `FrameFacts`, `FrameFooter`, `FramePane`, `FrameStrip`, `FrameTabs`, `FrameTiles`, `HeadActions`, `HeadControls`, `LegendEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { CardMenu, DataPanelProps, Empty, FrameBadge, FrameFacts, FrameFooter, FramePane, FrameStrip, FrameTabs, FrameTiles, HeadActions, HeadControls, LegendEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
73
|
+
`CardMenu`, `DataPanelProps`, `Empty`, `FrameBadge`, `FrameFacts`, `FrameFooter`, `FramePane`, `FrameStrip`, `FrameTabs`, `FrameTiles`, `HeadActions`, `HeadControls`, `InfoEntry`, `LegendEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { CardMenu, DataPanelProps, Empty, FrameBadge, FrameFacts, FrameFooter, FramePane, FrameStrip, FrameTabs, FrameTiles, HeadActions, HeadControls, InfoEntry, LegendEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
73
74
|
|
|
74
75
|
`ControlsSlot` import from `basalt-ui/controls`: `import type { ControlsSlot } from 'basalt-ui/controls'`.
|
|
75
76
|
|
package/docs/de.md
CHANGED
|
@@ -17,7 +17,7 @@ overrides to change a word.
|
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
19
|
de: { full key list below }
|
|
20
|
-
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
20
|
+
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.planned, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, runs.list, runs.waiting, runs.running, runs.waitingHint, runs.stepOk, runs.stepFailed, runs.elapsed, runs.finished, runs.failed, runs.steps, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Example
|
package/docs/empty-state.md
CHANGED
|
@@ -13,7 +13,8 @@ slots: [empty-state, empty-state-action, empty-state-icon, empty-state-title, em
|
|
|
13
13
|
The state of a region that has nothing to show: one line of cause and at most one action. With
|
|
14
14
|
active filters it is the filtered variant, whose action is Clear filters; the line says what the
|
|
15
15
|
filters hid. It never says "No data": the line names the cause, so a failed load cannot pass for
|
|
16
|
-
an empty list (a failed query is `QueryState`'s error arm, not this).
|
|
16
|
+
an empty list (a failed query is `QueryState`'s error arm, not this). `cause` is a string: a link
|
|
17
|
+
to the next step is `action` with an `href`.
|
|
17
18
|
|
|
18
19
|
## Signature
|
|
19
20
|
|
|
@@ -24,6 +25,7 @@ EmptyState(props: EmptyStateProps): ReactElement
|
|
|
24
25
|
title?: string // What is empty, in a few words (`No runs yet`), on the line above `cause`
|
|
25
26
|
icon?: IconComponent
|
|
26
27
|
tier?: "page" | "section" // `page` for a whole route body (generous space), `section` for a region inside a card or panel; default 'page'
|
|
28
|
+
bare?: boolean // Drops the `section` tier's box, for a region the page does not frame
|
|
27
29
|
action?: CardAction
|
|
28
30
|
filtered?: { reset: () => void; }
|
|
29
31
|
```
|
package/docs/es.md
CHANGED
|
@@ -17,7 +17,7 @@ overrides to change a word.
|
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
19
|
es: { full key list below }
|
|
20
|
-
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
20
|
+
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.planned, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, runs.list, runs.waiting, runs.running, runs.waitingHint, runs.stepOk, runs.stepFailed, runs.elapsed, runs.finished, runs.failed, runs.steps, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Example
|
package/docs/event-list.md
CHANGED
|
@@ -26,7 +26,8 @@ EventList(props: EventListProps): ReactElement
|
|
|
26
26
|
title: string
|
|
27
27
|
subtitle?: FrameFacts // A context line under the title: a string, or facts joined by the separator dot
|
|
28
28
|
icon?: IconComponent
|
|
29
|
-
info?: string
|
|
29
|
+
info?: string | readonly InfoEntry[] // The definition behind the glyph: a string, or one paragraph per entry (a definition, its parts, its context); an entry may end with a link
|
|
30
|
+
headingLevel?: 2 | 3 | 4 // The title is a heading of this level: `3` by default; a card under a section titled `h2` keeps `3`, one under an `h3` takes `4`
|
|
30
31
|
badge?: FrameBadge // The chip beside the title
|
|
31
32
|
phase?: Phase | QueryStateLike
|
|
32
33
|
empty?: Empty | null
|
|
@@ -40,7 +41,7 @@ EventList(props: EventListProps): ReactElement
|
|
|
40
41
|
focus?: ListFocus<{ readonly id: string; }> // The focus the rows share with a `Schedule`, a table or a chart beside them: `useChartFocus` from `basalt-ui/charts` over the same records, matched by `id`
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
`Action`, `Empty`, `EventListProps`, `FrameBadge`, `FrameFacts`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { Action, Empty, EventListProps, FrameBadge, FrameFacts, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
44
|
+
`Action`, `Empty`, `EventListProps`, `FrameBadge`, `FrameFacts`, `InfoEntry`, `Phase`, `QueryStateLike` import from `basalt-ui/cards`: `import type { Action, Empty, EventListProps, FrameBadge, FrameFacts, InfoEntry, Phase, QueryStateLike } from 'basalt-ui/cards'`.
|
|
44
45
|
|
|
45
46
|
`IconComponent` import from `basalt-ui`: `import type { IconComponent } from 'basalt-ui'`.
|
|
46
47
|
|
package/docs/fact.md
CHANGED
|
@@ -17,9 +17,14 @@ One labelled fact in a footer. `value` is data, never a node, so every card form
|
|
|
17
17
|
```ts
|
|
18
18
|
type Fact = {
|
|
19
19
|
label: string
|
|
20
|
-
value:
|
|
20
|
+
/** `null` is a value that is not there: a muted dash, never zero. Give a `reason` when the reader will ask why. */
|
|
21
|
+
value: string | number | null
|
|
21
22
|
/** The value is a time or an id: drawn in the mono face with tabular numerals. */
|
|
22
23
|
mono?: boolean | undefined
|
|
24
|
+
/** Why a `null` value is missing, one short phrase (`Not reported by this host`): the dash gets a glyph that opens it. Ignored while the frame loads, failed or is empty. */
|
|
25
|
+
reason?: string | undefined
|
|
26
|
+
/** What the label means, one or two sentences: a glyph after the label opens it. */
|
|
27
|
+
info?: string | undefined
|
|
23
28
|
}
|
|
24
29
|
```
|
|
25
30
|
|
package/docs/facts.md
CHANGED
|
@@ -13,12 +13,16 @@ slots: [facts, facts-row]
|
|
|
13
13
|
A labelled list of facts about one record: a `dl` of `{ label, value }` rows. The columns follow
|
|
14
14
|
the list's own width, never the viewport: two label-and-value columns from the `regular`
|
|
15
15
|
container tier, one below it, so the same list reads right in a 360 px aside and in a page column.
|
|
16
|
+
`layout="stacked"` puts each label above its value, in up to `columns` columns of the same list width.
|
|
16
17
|
|
|
17
18
|
## Signature
|
|
18
19
|
|
|
19
20
|
```ts
|
|
20
|
-
Facts({ rows }: FactsProps): ReactElement
|
|
21
|
+
Facts({ rows, layout, columns }: FactsProps): ReactElement
|
|
22
|
+
// either layout or neither
|
|
21
23
|
rows: readonly FactRow[] // One row per entry, in order; labels are unique within one list
|
|
24
|
+
layout?: "beside" | "stacked" // `beside` puts each label beside its value, `stacked` above it; default 'beside'
|
|
25
|
+
columns?: 2 | 3 | 4 [with layout="stacked"] // The most columns a stacked list takes; a narrower list takes fewer; default 3
|
|
22
26
|
```
|
|
23
27
|
|
|
24
28
|
## Example
|
package/docs/fr.md
CHANGED
|
@@ -17,7 +17,7 @@ overrides to change a word.
|
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
19
|
fr: { full key list below }
|
|
20
|
-
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
20
|
+
select.empty, combobox.create, select.error, menu.openInNewTab, menu.copyValue, menu.pin, menu.unpin, menu.closeOthers, mark.chartRole, mark.noData, mark.noValue, mark.rangeBetween, mark.comparedWith, mark.summary, toast.viewport, toast.undo, base.spinner.loading, base.password.show, base.password.hide, base.matrix.all, base.infoHint.label, base.matrix.allForRow, base.matrix.allForColumn, base.otp.character, date.rangePlaceholder, date.previousMonth, date.nextMonth, date.busy, date.range, date.rangeStart, cards.status, cards.openNamed, lists.noItems, lists.noRows, lists.noEvents, lists.yesterday, lists.thisWeek, lists.earlierThisMonth, lists.collapseBody, lists.stepFailed, lists.stepColumn, lists.durationColumn, lists.timeColumn, lists.detailColumn, lists.noMail, lists.mailUnread, lists.mailStar, lists.mailUnstar, lists.mailActions, lists.mailAttachment, lists.showMore, lists.eventCount, lists.stepDuration, lists.stepScale, lists.rowsShown, lists.mailDownload, chain.blocks, chain.planned, chain.fit, chain.focusNone, chain.controls, chain.zoomLevel, chain.waitsOn, chain.alsoWaitsOn, chain.focus, flow.tools, flow.pointer, flow.hand, flow.fit, flow.zoom, flow.allSet, flow.zoomLevel, flow.issues, flow.toFix, flow.rowIssue, kanban.moveUp, kanban.moveDown, kanban.empty, kanban.moveTo, kanban.actionFor, kanban.moved, sortable.hint, sortable.handle, sortable.moved, tree.newFile, tree.newFolder, tree.move, tree.copyPath, tree.reveal, tree.expandBelow, tree.collapseBelow, tree.unhide, tree.customize, tree.empty, tree.filter, tree.collapseAll, tree.sortManual, tree.sortName, tree.sortNameDesc, tree.showHidden, tree.revealActive, tree.moveHint, tree.icon, tree.reset, tree.noMatch, tree.moved, tree.colorName, controls.continue, controls.review, controls.reviewHelp, controls.preview, controls.appearance.scheme, controls.appearance.light, controls.appearance.dark, controls.appearance.system, controls.appearance.accent, controls.appearance.density, controls.appearance.denseHelp, controls.appearance.normal, controls.appearance.normalHelp, controls.appearance.comfortableHelp, controls.appearance.panel, controls.appearance.panelHelp, controls.appearance.flush, controls.appearance.flushHelp, controls.appearance.reset, controls.appearance.accentName, controls.rangeFrom, controls.rangeTo, controls.typeToConfirm, controls.stepOf, controls.statusDone, controls.statusCurrent, controls.statusUpcoming, controls.stepperProgress, controls.submitFailed, home.refreshFailed, filters.showMore, filters.on, filters.off, filters.filter, filters.showing, filters.moreFilters, table.selectRow, table.selectAll, table.actions, table.empty, table.noMatches, table.noMatchesFilters, table.forbidden, table.notFound, table.pager, table.pagePrev, table.pageNext, table.pageSize, table.loadMore, table.rowRangeNone, table.rowRangeUnknown, table.search, table.filterAdd, table.filterColumn, table.filtersClear, table.filterValue, table.filterNoOptions, table.display, table.chips, table.opContains, table.opAnyOf, table.headerFilter, table.rangeMin, table.rangeMax, table.optionSearch, table.presets, table.presetWeek, table.presetMonth30, table.presetThisMonth, table.presetThisYear, table.orderCategories, table.orderReset, table.orderHint, table.bulk, table.bulkClear, table.sortAsc, table.sortDesc, table.sortClear, table.hideColumn, table.resetColumn, table.moveStart, table.moveEnd, table.sortedAsc, table.sortedDesc, table.pinColumn, table.unpinColumn, table.views, table.viewNone, table.viewNew, table.viewModified, table.viewMenuSave, table.viewMenuDiscard, table.viewSetDefault, table.viewUnsetDefault, table.viewExport, table.viewAdd, table.viewAddShort, table.viewFailed, table.panelWide, table.panelCustom, table.panelName, table.panelSharing, table.panelShared, table.panelPrivate, table.panelDefaultView, table.panelRowHeight, table.panelColumnWidth, table.panelResetWidths, table.panelAllShown, table.panelFilter, table.panelSortDefault, table.panelGroup, table.panelDuplicate, table.panelExport, table.panelRemove, table.panelNameTaken, table.panelPrivateHint, table.panelSharedHint, table.panelCompactRows, table.panelDefaultRows, table.panelComfortableRows, table.panelCompactWidth, table.panelDefaultWidth, table.panelWideWidth, table.panelHideAll, table.panelLocked, table.panelDirection, table.panelAscending, table.panelDescending, table.panelCancel, table.details, table.rowsBelow, table.aggSum, table.aggMean, table.aggMin, table.aggMax, table.aggCount, table.rowNumber, table.resetWidth, table.groupNone, table.layoutTable, table.layoutList, table.layoutBoard, table.layoutGallery, table.layoutTableHint, table.layoutListHint, table.layoutBoardHint, table.layoutGalleryHint, table.viewAddLayout, table.boardGroupBy, table.cardSelect, table.cardDeselect, table.groupRows, table.allMatching, table.selectAllMatching, table.rowRange, table.chipRemove, table.columnActions, table.viewCopyOf, table.viewMenu, table.panelTitleOf, table.panelRemoveConfirm, table.panelFilterOf, table.resizeColumn, table.groupBy, table.summaryOf, table.boardHint, table.boardFailed, table.cellFilter, table.rangeBetween, table.rangeFrom, table.rangeTo, table.dayFrom, table.dayTo, table.filterOf, table.filteredBy, table.orderOf, table.dateRange, table.optionsOf, table.searchIn, table.trendUp, table.trendDown, table.trendFlat, table.fraction, table.meterName, table.pageNumber, table.countdownLate, table.countdownIn, table.displayHidden, table.panelHidden, table.panelActive, table.orderMoved, table.orderHandle, table.actionsHeader, table.boolTrue, table.boolFalse, live.connected, live.polling, live.reconnecting, live.offline, live.unauthorized, live.name, live.stream, live.lastEvent, live.dataAge, live.never, live.refresh, live.updated, live.streamState, charts.csv, charts.nothingPlotted, charts.loadingChart, charts.legend, charts.amount, charts.extremeHigh, charts.extremeLow, charts.runningTotal, charts.windowStart, charts.windowEnd, charts.value, charts.xHeader, charts.reduced, charts.expand, charts.windowOf, charts.seriesNoData, charts.seriesSummary, ai.toolRunning, ai.toolAwaitingApproval, ai.toolDenied, ai.blockUnavailable, ai.thinking, ai.composerSend, ai.composerStop, ai.composerAdd, ai.composerAttach, ai.composerMention, ai.composerFiles, ai.composerRemoveFile, ai.mentions, ai.modelSearch, ai.actions, ai.actionCopy, ai.actionRegenerate, ai.actionGood, ai.actionBad, ai.steps, ai.reasoned, ai.modelsSelected, ai.models, page.kindInfo, page.kindGood, page.kindWarn, page.kindBad, page.pinPanel, page.resizeList, page.openFullPage, page.closeRecord, page.itemAttention, page.openAs, page.presentPeek, page.presentWindow, page.presentPage, page.presentDrawer, page.presentCorner, page.discardTitle, page.discardDescription, page.keepEditing, page.presentSheet, page.resizeDrawer, page.minimise, page.restore, page.propertyEmpty, page.propertyInvalid, page.minRead, page.propertyRange, runs.list, runs.waiting, runs.running, runs.waitingHint, runs.stepOk, runs.stepFailed, runs.elapsed, runs.finished, runs.failed, runs.steps, schedule.period, schedule.day, schedule.week, schedule.month, schedule.allDay, schedule.upNext, schedule.nothingNext, schedule.days, schedule.failed, schedule.railContent, schedule.more, schedule.slot, common.dismiss, common.search, common.loading, common.close, common.resizePanel, common.done, common.copy, common.copied, common.color, common.pickDate, common.retry, common.clearFilters, common.error.default, common.error.forbidden, common.error.notFound, common.unavailable, common.today, common.zoomIn, common.zoomOut, common.showAll, common.rename, common.duplicate, common.delete, common.addFavorite, common.removeFavorite, common.hide, common.sort, common.default, common.local, common.useGlobal, common.view, common.yes, common.no, common.clear, common.any, common.back, common.edit, common.previous, common.next, common.compact, common.comfortable, common.layout, common.filters, common.resetAll, common.moveLeft, common.moveRight, common.columns, common.editView, common.copyLink, common.discard, common.saveAsView, common.save, common.none, common.summary, common.open, common.onThisPage, common.moreActions, common.closePanel, common.offline, common.refreshFailed, common.updating, common.requestFailed, common.favorites, common.more, common.unsavedChanges, common.previousRecord, common.nextRecord, common.primary, common.remove, common.actionsFor, common.editField, common.resetToGlobal, common.overridesGlobal, common.selectNamed, common.filtersCount, common.selectedCount, common.couldNotLoad, common.retryOn, common.moreCount, shell.resizeSidebar, shell.switchWorkspace, shell.expand, shell.collapse, shell.containsActive, shell.skip, shell.notFound, shell.signIn, shell.signOut, shell.accountMenu, shell.settings, shell.showMore, shell.showLess, shell.paletteHint, shell.searchCommands, shell.commandPalette, shell.keyboardShortcuts, shell.pressToOpen, shell.toggleSidebar, shell.groupShell, shell.groupRecord, shell.groupNavigate, shell.groupGeneral, shell.switchWorkspaceOf, shell.removeFavorite, shell.goTo, shell.goToIn, shell.badgeNew, shell.badgeCount, content.diagram, keys.ctrl, keys.alt, keys.shift, keys.win, keys.space, keys.esc, keys.then, status.up, status.upGood, status.upBad, status.down, status.downGood, status.downBad, status.noChange, upload.browse, upload.replace, upload.dropOr, upload.dropOneOr, upload.limits, upload.onlyCount, upload.notAccepted, upload.overSize, upload.fileKind, upload.typeList
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Example
|
package/docs/live-query.md
CHANGED
|
@@ -17,7 +17,7 @@ The class is one of four: `'static'`, `'standard'` (strings), `{ class: 'ticker'
|
|
|
17
17
|
`{ class: 'pushed', fallback, safety }` (objects).
|
|
18
18
|
A ticker runs `every` after the previous result, skips while hidden (unless `background`),
|
|
19
19
|
offline, mutating (`pauseWhileMutating`) or after a 401/403, and a function `every` returning
|
|
20
|
-
`false` means idle (staleness 30 s, not 0). Needs a client from `createQueryClient`.
|
|
20
|
+
`false` means idle (staleness 30 s, not 0). A `pushed` query polls at `fallback` while the stream is down and at `safety` while it is live; `safety: false` never polls while live. Needs a client from `createQueryClient`.
|
|
21
21
|
|
|
22
22
|
## Signature
|
|
23
23
|
|
package/docs/meter.md
CHANGED
|
@@ -20,7 +20,10 @@ each as wide as its share, with an optional `legend`. In segments and parts the
|
|
|
20
20
|
meter shows and is its accessible name; the track is hidden from assistive tech. `format` prints
|
|
21
21
|
a value (default the page locale's number) and `caption` the words after it that name it on screen
|
|
22
22
|
("US$13.89 spent", "of 150 listed"). `ticks` mark a range's ends or a limit on the track, `cause`
|
|
23
|
-
says why in a line under the readout.
|
|
23
|
+
says why in a line under the readout. `bare` draws a scale as the track alone, with no readout
|
|
24
|
+
and no zones, for a table cell or a status strip whose words sit elsewhere; a value above the
|
|
25
|
+
minimum always keeps a 4 px stub of fill. A part's `quiet` overrides the strength its tone gets
|
|
26
|
+
from the rule above, so two parts of one hue read apart. A stacked scale is an 8 px track and a 16 px readout under a
|
|
24
27
|
4 px gap, so 28 px (a tick row adds 20, a `cause` its lines); a `StatCard` `height` below that
|
|
25
28
|
clips the readout, so a meter in its chart slot sets `height={28}` at least. A list of meters
|
|
26
29
|
joins one `useChartFocus` through the seam: the list spreads `focus.target`, each meter
|
|
@@ -32,20 +35,21 @@ joins one `useChartFocus` through the seam: the list spreads `focus.target`, eac
|
|
|
32
35
|
|
|
33
36
|
```ts
|
|
34
37
|
Meter(props: MeterProps): ReactElement
|
|
35
|
-
// either value + max, segments + caption or parts
|
|
38
|
+
// either value + max, value + max + bare, segments + caption or parts
|
|
36
39
|
sentence: string // What the meter shows, in one sentence ("ROAS 4.3x against a 2.5x target"): its accessible name
|
|
37
|
-
value?: number | null
|
|
38
|
-
min?: number [with
|
|
39
|
-
max?: number [with
|
|
40
|
-
zones?: readonly [MeterZone, MeterZone, ...MeterZone[]]
|
|
41
|
-
format?: (v: number) => string [with
|
|
42
|
-
caption?: string // Words after the value that name it on screen: "spent", "of 150 listed"
|
|
40
|
+
value?: number | null [with bare]
|
|
41
|
+
min?: number [with bare]
|
|
42
|
+
max?: number [with bare | parts]
|
|
43
|
+
zones?: readonly [MeterZone, MeterZone, ...MeterZone[]]
|
|
44
|
+
format?: (v: number) => string [with bare | parts]
|
|
45
|
+
caption?: string [with segments | parts] // Words after the value that name it on screen: "spent", "of 150 listed"
|
|
43
46
|
className?: string // Layout only (`max-w-xs`, `mt-2`)
|
|
44
|
-
cause?: string // Why the meter reads as it does, one muted line under the readout ("70 % under 0.40")
|
|
45
|
-
tone?: "neutral" | "accent" | "good" | "warn" | "bad" | "info" | null [with
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
cause?: string [with segments | parts] // Why the meter reads as it does, one muted line under the readout ("70 % under 0.40")
|
|
48
|
+
tone?: "neutral" | "accent" | "good" | "warn" | "bad" | "info" | null [with bare]
|
|
49
|
+
bare?: true
|
|
50
|
+
ticks?: readonly [number] | readonly [number, number] // One or two values marked across the track, each with its `format`ted number under it: a range's two ends or one limit
|
|
51
|
+
target?: number [with bare] // The bar a value is read against (a bullet bar): one tall tick across the track
|
|
52
|
+
layout?: "inline" | "stacked" [with parts] // `inline` writes the readout beside the track on one line
|
|
49
53
|
segments?: readonly MeterSegment[]
|
|
50
54
|
parts?: readonly MeterPart[]
|
|
51
55
|
verdict?: string [with segments] // The verdict word beside the count ("At risk")
|