@exxatdesignux/ui 0.2.19 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +662 -7
- package/bin/sync-extras.mjs +116 -29
- package/consumer-extras/README.md +42 -7
- package/consumer-extras/cursor-rules/exxat-accessibility.mdc +39 -0
- package/consumer-extras/cursor-rules/exxat-board-cards.mdc +26 -0
- package/consumer-extras/cursor-rules/exxat-breadcrumbs-no-back.mdc +21 -0
- package/consumer-extras/cursor-rules/exxat-card-vs-list-rows.mdc +21 -0
- package/consumer-extras/cursor-rules/exxat-centralized-list-dataset.mdc +44 -0
- package/consumer-extras/cursor-rules/exxat-collaboration-access.mdc +32 -0
- package/consumer-extras/cursor-rules/exxat-command-menu.mdc +22 -0
- package/consumer-extras/cursor-rules/exxat-dashboard-view-charts.mdc +53 -0
- package/consumer-extras/cursor-rules/exxat-data-tables.mdc +43 -0
- package/consumer-extras/cursor-rules/exxat-dedicated-search-surfaces.mdc +25 -0
- package/consumer-extras/cursor-rules/exxat-drawer-vs-dialog.mdc +22 -0
- package/consumer-extras/cursor-rules/exxat-ds-agents.mdc +56 -0
- package/consumer-extras/cursor-rules/exxat-fontawesome-icons.mdc +31 -0
- package/consumer-extras/cursor-rules/exxat-kbd-shortcuts.mdc +100 -0
- package/consumer-extras/cursor-rules/exxat-kpi-flat-band.mdc +28 -0
- package/consumer-extras/cursor-rules/exxat-kpi-max-four.mdc +21 -0
- package/consumer-extras/cursor-rules/exxat-kpi-trends.mdc +31 -0
- package/consumer-extras/cursor-rules/exxat-library-hub-header.mdc +28 -0
- package/consumer-extras/cursor-rules/exxat-list-page-connected-views.mdc +24 -0
- package/consumer-extras/cursor-rules/exxat-list-page-view-shells.mdc +31 -0
- package/consumer-extras/cursor-rules/exxat-mono-ids.mdc +30 -0
- package/consumer-extras/cursor-rules/exxat-no-slds-leakage.mdc +78 -0
- package/consumer-extras/cursor-rules/exxat-no-toast.mdc +25 -0
- package/consumer-extras/cursor-rules/exxat-page-vs-drawer.mdc +23 -0
- package/consumer-extras/cursor-rules/exxat-person-identity-display.mdc +47 -0
- package/consumer-extras/cursor-rules/exxat-primary-nav-secondary-panel.mdc +52 -0
- package/consumer-extras/cursor-rules/exxat-reuse-before-custom.mdc +34 -0
- package/consumer-extras/cursor-rules/exxat-table-properties-drawer.mdc +77 -0
- package/consumer-extras/cursor-rules/exxat-token-discipline.mdc +103 -0
- package/consumer-extras/cursor-skills/exxat-accessibility/SKILL.md +1 -1
- package/consumer-extras/cursor-skills/exxat-board-cards/SKILL.md +3 -3
- package/consumer-extras/cursor-skills/exxat-centralized-list-dataset/SKILL.md +5 -16
- package/consumer-extras/cursor-skills/exxat-collaboration-access/SKILL.md +3 -3
- package/consumer-extras/cursor-skills/exxat-dedicated-search-surfaces/SKILL.md +2 -2
- package/consumer-extras/cursor-skills/exxat-ds-skill/SKILL.md +19 -34
- package/consumer-extras/cursor-skills/exxat-ds-skill/references/data-table-pattern.md +1 -1
- package/consumer-extras/cursor-skills/exxat-kpi-flat-band/SKILL.md +1 -1
- package/consumer-extras/cursor-skills/exxat-list-page-view-shells/SKILL.md +1 -1
- package/consumer-extras/cursor-skills/exxat-mono-ids/SKILL.md +4 -4
- package/consumer-extras/cursor-skills/exxat-primary-nav-secondary-panel/SKILL.md +10 -12
- package/consumer-extras/cursor-skills/exxat-token-economy/SKILL.md +277 -0
- package/consumer-extras/handbook/HANDBOOK.md +187 -0
- package/consumer-extras/handbook/glossary.md +58 -0
- package/consumer-extras/handbook/reference-implementations.md +153 -0
- package/consumer-extras/handbook/voice-and-tone.md +262 -0
- package/consumer-extras/patterns/collaboration-access-pattern.md +7 -7
- package/consumer-extras/patterns/command-menu-pattern.md +1 -1
- package/consumer-extras/patterns/consumer-upgrade-checklist.md +0 -20
- package/consumer-extras/patterns/data-views-pattern.md +31 -66
- package/consumer-extras/patterns/kpi-flat-band-pattern.md +2 -2
- package/consumer-extras/patterns/shell-surface-elevation-pattern.md +3 -5
- package/dist/components/data-table/filter-date-calendar.d.ts +10 -0
- package/dist/components/data-table/filter-date-calendar.js +280 -0
- package/dist/components/data-table/filter-date-calendar.js.map +1 -0
- package/dist/components/data-table/filter-text-value-input.d.ts +15 -0
- package/dist/components/data-table/filter-text-value-input.js +561 -0
- package/dist/components/data-table/filter-text-value-input.js.map +1 -0
- package/dist/components/data-table/index.d.ts +45 -0
- package/dist/components/data-table/index.js +3085 -0
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/data-table/pagination.d.ts +28 -0
- package/dist/components/data-table/pagination.js +3264 -0
- package/dist/components/data-table/pagination.js.map +1 -0
- package/dist/components/data-table/types.d.ts +84 -0
- package/dist/components/data-table/types.js +3 -0
- package/dist/components/data-table/types.js.map +1 -0
- package/dist/components/data-table/use-table-state.d.ts +116 -0
- package/dist/components/data-table/use-table-state.js +670 -0
- package/dist/components/data-table/use-table-state.js.map +1 -0
- package/dist/components/data-views/board-card-primitives.d.ts +22 -0
- package/dist/components/data-views/board-card-primitives.js +84 -0
- package/dist/components/data-views/board-card-primitives.js.map +1 -0
- package/dist/components/data-views/data-row-list.d.ts +33 -0
- package/dist/components/data-views/data-row-list.js +106 -0
- package/dist/components/data-views/data-row-list.js.map +1 -0
- package/dist/components/data-views/finder-panel-view.d.ts +54 -0
- package/dist/components/data-views/finder-panel-view.js +388 -0
- package/dist/components/data-views/finder-panel-view.js.map +1 -0
- package/dist/components/data-views/folder-grid-view.d.ts +22 -0
- package/dist/components/data-views/folder-grid-view.js +58 -0
- package/dist/components/data-views/folder-grid-view.js.map +1 -0
- package/dist/components/data-views/hub-table.d.ts +173 -0
- package/dist/components/data-views/hub-table.js +5783 -0
- package/dist/components/data-views/hub-table.js.map +1 -0
- package/dist/components/data-views/index.d.ts +27 -0
- package/dist/components/data-views/index.js +6797 -0
- package/dist/components/data-views/index.js.map +1 -0
- package/dist/components/data-views/list-page-board-card.d.ts +72 -0
- package/dist/components/data-views/list-page-board-card.js +264 -0
- package/dist/components/data-views/list-page-board-card.js.map +1 -0
- package/dist/components/data-views/list-page-board-template.d.ts +24 -0
- package/dist/components/data-views/list-page-board-template.js +137 -0
- package/dist/components/data-views/list-page-board-template.js.map +1 -0
- package/dist/components/data-views/list-page-connected-view-body.d.ts +19 -0
- package/dist/components/data-views/list-page-connected-view-body.js +116 -0
- package/dist/components/data-views/list-page-connected-view-body.js.map +1 -0
- package/dist/components/data-views/list-page-split-details-placeholder.d.ts +14 -0
- package/dist/components/data-views/list-page-split-details-placeholder.js +38 -0
- package/dist/components/data-views/list-page-split-details-placeholder.js.map +1 -0
- package/dist/components/data-views/list-page-split-hub-chrome.d.ts +17 -0
- package/dist/components/data-views/list-page-split-hub-chrome.js +54 -0
- package/dist/components/data-views/list-page-split-hub-chrome.js.map +1 -0
- package/dist/components/data-views/list-page-split-hub-tokens.d.ts +12 -0
- package/dist/components/data-views/list-page-split-hub-tokens.js +8 -0
- package/dist/components/data-views/list-page-split-hub-tokens.js.map +1 -0
- package/dist/components/data-views/list-page-tree-column-header.d.ts +15 -0
- package/dist/components/data-views/list-page-tree-column-header.js +22 -0
- package/dist/components/data-views/list-page-tree-column-header.js.map +1 -0
- package/dist/components/data-views/list-page-tree-panel-shell.d.ts +25 -0
- package/dist/components/data-views/list-page-tree-panel-shell.js +146 -0
- package/dist/components/data-views/list-page-tree-panel-shell.js.map +1 -0
- package/dist/components/data-views/os-folder-glyph.d.ts +35 -0
- package/dist/components/data-views/os-folder-glyph.js +104 -0
- package/dist/components/data-views/os-folder-glyph.js.map +1 -0
- package/dist/components/data-views/outline-tree-menu.d.ts +36 -0
- package/dist/components/data-views/outline-tree-menu.js +131 -0
- package/dist/components/data-views/outline-tree-menu.js.map +1 -0
- package/dist/components/table-properties/column-row.d.ts +22 -0
- package/dist/components/table-properties/column-row.js +153 -0
- package/dist/components/table-properties/column-row.js.map +1 -0
- package/dist/components/table-properties/draggable-list.d.ts +24 -0
- package/dist/components/table-properties/draggable-list.js +53 -0
- package/dist/components/table-properties/draggable-list.js.map +1 -0
- package/dist/components/table-properties/drawer-button.d.ts +110 -0
- package/dist/components/table-properties/drawer-button.js +2748 -0
- package/dist/components/table-properties/drawer-button.js.map +1 -0
- package/dist/components/table-properties/drawer.d.ts +100 -0
- package/dist/components/table-properties/drawer.js +2595 -0
- package/dist/components/table-properties/drawer.js.map +1 -0
- package/dist/components/table-properties/filter-card.d.ts +24 -0
- package/dist/components/table-properties/filter-card.js +854 -0
- package/dist/components/table-properties/filter-card.js.map +1 -0
- package/dist/components/table-properties/index.d.ts +14 -0
- package/dist/components/table-properties/index.js +2768 -0
- package/dist/components/table-properties/index.js.map +1 -0
- package/dist/components/table-properties/sort-card.d.ts +20 -0
- package/dist/components/table-properties/sort-card.js +102 -0
- package/dist/components/table-properties/sort-card.js.map +1 -0
- package/dist/components/templates/dedicated-search-landing-template.d.ts +21 -0
- package/dist/components/templates/dedicated-search-landing-template.js +254 -0
- package/dist/components/templates/dedicated-search-landing-template.js.map +1 -0
- package/dist/components/templates/dedicated-search-results-template.d.ts +15 -0
- package/dist/components/templates/dedicated-search-results-template.js +16 -0
- package/dist/components/templates/dedicated-search-results-template.js.map +1 -0
- package/dist/components/templates/index.d.ts +9 -0
- package/dist/components/templates/index.js +2720 -0
- package/dist/components/templates/index.js.map +1 -0
- package/dist/components/templates/list-page.d.ts +83 -0
- package/dist/components/templates/list-page.js +2433 -0
- package/dist/components/templates/list-page.js.map +1 -0
- package/dist/components/templates/nested-secondary-panel-shell.d.ts +20 -0
- package/dist/components/templates/nested-secondary-panel-shell.js +54 -0
- package/dist/components/templates/nested-secondary-panel-shell.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +10 -0
- package/dist/components/ui/accordion.js +74 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +37 -0
- package/dist/components/ui/alert-dialog.js +201 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +84 -0
- package/dist/components/ui/avatar.js +328 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +13 -0
- package/dist/components/ui/badge.js +49 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/banner.d.ts +62 -0
- package/dist/components/ui/banner.js +364 -0
- package/dist/components/ui/banner.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +14 -0
- package/dist/components/ui/breadcrumb.js +114 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.d.ts +16 -0
- package/dist/components/ui/button.js +59 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +13 -0
- package/dist/components/ui/calendar.js +238 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +14 -0
- package/dist/components/ui/card.js +102 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/chart.d.ts +58 -0
- package/dist/components/ui/chart.js +292 -0
- package/dist/components/ui/chart.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +23 -0
- package/dist/components/ui/checkbox.js +155 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/coach-mark.d.ts +27 -0
- package/dist/components/ui/coach-mark.js +306 -0
- package/dist/components/ui/coach-mark.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +8 -0
- package/dist/components/ui/collapsible.js +35 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/command.d.ts +36 -0
- package/dist/components/ui/command.js +274 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +32 -0
- package/dist/components/ui/context-menu.js +245 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/date-picker-field.d.ts +38 -0
- package/dist/components/ui/date-picker-field.js +550 -0
- package/dist/components/ui/date-picker-field.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dialog.js +200 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/dot-pattern.d.ts +21 -0
- package/dist/components/ui/dot-pattern.js +139 -0
- package/dist/components/ui/dot-pattern.js.map +1 -0
- package/dist/components/ui/drag-handle-grip.d.ts +10 -0
- package/dist/components/ui/drag-handle-grip.js +15 -0
- package/dist/components/ui/drag-handle-grip.js.map +1 -0
- package/dist/components/ui/drawer.d.ts +16 -0
- package/dist/components/ui/drawer.js +125 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +45 -0
- package/dist/components/ui/dropdown-menu.js +353 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/export-drawer.d.ts +11 -0
- package/dist/components/ui/export-drawer.js +1658 -0
- package/dist/components/ui/export-drawer.js.map +1 -0
- package/dist/components/ui/field.d.ts +30 -0
- package/dist/components/ui/field.js +249 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/form.d.ts +28 -0
- package/dist/components/ui/form.js +110 -0
- package/dist/components/ui/form.js.map +1 -0
- package/dist/components/ui/hover-card.d.ts +9 -0
- package/dist/components/ui/hover-card.js +43 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +20 -0
- package/dist/components/ui/input-group.js +219 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input-mask.d.ts +39 -0
- package/dist/components/ui/input-mask.js +118 -0
- package/dist/components/ui/input-mask.js.map +1 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/input.js +30 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/kbd.d.ts +20 -0
- package/dist/components/ui/kbd.js +45 -0
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/key-metrics-context.d.ts +19 -0
- package/dist/components/ui/key-metrics-context.js +26 -0
- package/dist/components/ui/key-metrics-context.js.map +1 -0
- package/dist/components/ui/key-metrics.d.ts +131 -0
- package/dist/components/ui/key-metrics.js +1015 -0
- package/dist/components/ui/key-metrics.js.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.js +28 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/list-page-view-frame.d.ts +22 -0
- package/dist/components/ui/list-page-view-frame.js +24 -0
- package/dist/components/ui/list-page-view-frame.js.map +1 -0
- package/dist/components/ui/page-header.d.ts +51 -0
- package/dist/components/ui/page-header.js +372 -0
- package/dist/components/ui/page-header.js.map +1 -0
- package/dist/components/ui/payment-card-fields.d.ts +10 -0
- package/dist/components/ui/payment-card-fields.js +80 -0
- package/dist/components/ui/payment-card-fields.js.map +1 -0
- package/dist/components/ui/popover.d.ts +10 -0
- package/dist/components/ui/popover.js +47 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +29 -0
- package/dist/components/ui/radio-group.js +190 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.d.ts +16 -0
- package/dist/components/ui/resizable.js +51 -0
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +8 -0
- package/dist/components/ui/scroll-area.js +66 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +18 -0
- package/dist/components/ui/select.js +186 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/selection-tile-grid.d.ts +52 -0
- package/dist/components/ui/selection-tile-grid.js +347 -0
- package/dist/components/ui/selection-tile-grid.js.map +1 -0
- package/dist/components/ui/separator.d.ts +7 -0
- package/dist/components/ui/separator.js +33 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +18 -0
- package/dist/components/ui/sheet.js +181 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sidebar.d.ts +94 -0
- package/dist/components/ui/sidebar.js +805 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +5 -0
- package/dist/components/ui/skeleton.js +22 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.js +66 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +6 -0
- package/dist/components/ui/sonner.js +38 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/status-badge.d.ts +38 -0
- package/dist/components/ui/status-badge.js +77 -0
- package/dist/components/ui/status-badge.js.map +1 -0
- package/dist/components/ui/table.d.ts +13 -0
- package/dist/components/ui/table.js +115 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +15 -0
- package/dist/components/ui/tabs.js +93 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.js +25 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/tip.d.ts +12 -0
- package/dist/components/ui/tip.js +61 -0
- package/dist/components/ui/tip.js.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +14 -0
- package/dist/components/ui/toggle-group.js +104 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle-switch.d.ts +10 -0
- package/dist/components/ui/toggle-switch.js +33 -0
- package/dist/components/ui/toggle-switch.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +13 -0
- package/dist/components/ui/toggle.js +51 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +10 -0
- package/dist/components/ui/tooltip.js +68 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/ui/view-segmented-control.d.ts +31 -0
- package/dist/components/ui/view-segmented-control.js +167 -0
- package/dist/components/ui/view-segmented-control.js.map +1 -0
- package/dist/data-list-view-registry-CyBoBML4.d.ts +73 -0
- package/dist/hooks/use-app-theme.d.ts +24 -0
- package/dist/hooks/use-app-theme.js +286 -0
- package/dist/hooks/use-app-theme.js.map +1 -0
- package/dist/hooks/use-coach-mark.d.ts +86 -0
- package/dist/hooks/use-coach-mark.js +218 -0
- package/dist/hooks/use-coach-mark.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-mobile.js +29 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-mod-key-label.d.ts +6 -0
- package/dist/hooks/use-mod-key-label.js +25 -0
- package/dist/hooks/use-mod-key-label.js.map +1 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.js +13421 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/compose-refs.d.ts +6 -0
- package/dist/lib/compose-refs.js +17 -0
- package/dist/lib/compose-refs.js.map +1 -0
- package/dist/lib/conditional-rule-match.d.ts +30 -0
- package/dist/lib/conditional-rule-match.js +66 -0
- package/dist/lib/conditional-rule-match.js.map +1 -0
- package/dist/lib/data-list-display-options.d.ts +26 -0
- package/dist/lib/data-list-display-options.js +14 -0
- package/dist/lib/data-list-display-options.js.map +1 -0
- package/dist/lib/data-list-view-registry.d.ts +2 -0
- package/dist/lib/data-list-view-registry.js +102 -0
- package/dist/lib/data-list-view-registry.js.map +1 -0
- package/dist/lib/data-list-view-surface.d.ts +2 -0
- package/dist/lib/data-list-view-surface.js +80 -0
- package/dist/lib/data-list-view-surface.js.map +1 -0
- package/dist/lib/data-list-view.d.ts +21 -0
- package/dist/lib/data-list-view.js +25 -0
- package/dist/lib/data-list-view.js.map +1 -0
- package/dist/lib/date-filter.d.ts +22 -0
- package/dist/lib/date-filter.js +61 -0
- package/dist/lib/date-filter.js.map +1 -0
- package/dist/lib/dev-log.d.ts +8 -0
- package/dist/lib/dev-log.js +10 -0
- package/dist/lib/dev-log.js.map +1 -0
- package/dist/lib/dropdown-menu-surface.d.ts +14 -0
- package/dist/lib/dropdown-menu-surface.js +6 -0
- package/dist/lib/dropdown-menu-surface.js.map +1 -0
- package/dist/lib/editable-target.d.ts +12 -0
- package/dist/lib/editable-target.js +12 -0
- package/dist/lib/editable-target.js.map +1 -0
- package/dist/lib/list-page-table-properties.d.ts +35 -0
- package/dist/lib/list-page-table-properties.js +81 -0
- package/dist/lib/list-page-table-properties.js.map +1 -0
- package/dist/lib/raf-throttle.d.ts +23 -0
- package/dist/lib/raf-throttle.js +27 -0
- package/dist/lib/raf-throttle.js.map +1 -0
- package/dist/lib/row-height.d.ts +16 -0
- package/dist/lib/row-height.js +10 -0
- package/dist/lib/row-height.js.map +1 -0
- package/dist/lib/table-properties-types.d.ts +83 -0
- package/dist/lib/table-properties-types.js +19 -0
- package/dist/lib/table-properties-types.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +11 -0
- package/dist/lib/utils.js.map +1 -0
- package/package.json +83 -19
- package/src/components/data-table/filter-date-calendar.tsx +38 -0
- package/src/components/data-table/filter-text-value-input.tsx +77 -0
- package/src/components/data-table/index.tsx +1678 -0
- package/src/components/data-table/pagination.tsx +259 -0
- package/src/components/data-table/types.ts +96 -0
- package/src/components/data-table/use-table-state.ts +767 -0
- package/src/components/data-views/board-card-primitives.tsx +93 -0
- package/src/components/data-views/data-row-list.tsx +183 -0
- package/src/components/data-views/finder-panel-view.tsx +405 -0
- package/src/components/data-views/folder-grid-view.tsx +86 -0
- package/src/components/data-views/hub-table.tsx +606 -0
- package/src/components/data-views/index.ts +28 -0
- package/src/components/data-views/list-page-board-card.tsx +192 -0
- package/src/components/data-views/list-page-board-template.tsx +122 -0
- package/src/components/data-views/list-page-connected-view-body.tsx +66 -0
- package/src/components/data-views/list-page-split-details-placeholder.tsx +39 -0
- package/src/components/data-views/list-page-split-hub-chrome.tsx +60 -0
- package/src/components/data-views/list-page-split-hub-tokens.ts +16 -0
- package/src/components/data-views/list-page-tree-column-header.tsx +31 -0
- package/src/components/data-views/list-page-tree-panel-shell.tsx +91 -0
- package/src/components/data-views/os-folder-glyph.tsx +141 -0
- package/src/components/data-views/outline-tree-menu.tsx +157 -0
- package/src/components/table-properties/column-row.tsx +90 -0
- package/src/components/table-properties/draggable-list.ts +54 -0
- package/src/components/table-properties/drawer-button.tsx +300 -0
- package/src/components/table-properties/drawer.tsx +1148 -0
- package/src/components/table-properties/filter-card.tsx +251 -0
- package/src/components/table-properties/index.ts +36 -0
- package/src/components/table-properties/sort-card.tsx +63 -0
- package/src/components/templates/dedicated-search-landing-template.tsx +124 -0
- package/src/components/templates/dedicated-search-results-template.tsx +19 -0
- package/src/components/templates/index.ts +33 -0
- package/src/components/templates/list-page.tsx +602 -0
- package/src/components/templates/nested-secondary-panel-shell.tsx +70 -0
- package/src/components/ui/accordion.tsx +92 -0
- package/src/components/ui/alert-dialog.tsx +221 -0
- package/src/components/ui/avatar.tsx +13 -2
- package/src/components/ui/banner.tsx +2 -2
- package/src/components/ui/button.tsx +4 -4
- package/src/components/ui/calendar.tsx +1 -1
- package/src/components/ui/coach-mark.tsx +1 -1
- package/src/components/ui/context-menu.tsx +291 -0
- package/src/components/ui/date-picker-field.tsx +2 -2
- package/src/components/ui/dot-pattern.tsx +183 -0
- package/src/components/ui/export-drawer.tsx +375 -0
- package/src/components/ui/hover-card.tsx +66 -0
- package/src/components/ui/key-metrics-context.tsx +78 -0
- package/src/components/ui/key-metrics.tsx +1133 -0
- package/src/components/ui/list-page-view-frame.tsx +64 -0
- package/src/components/ui/page-header.tsx +244 -0
- package/src/components/ui/payment-card-fields.tsx +2 -2
- package/src/components/ui/resizable.tsx +68 -0
- package/src/components/ui/scroll-area.tsx +72 -0
- package/src/components/ui/selection-tile-grid.tsx +9 -2
- package/src/components/ui/sidebar.tsx +84 -12
- package/src/components/ui/slider.tsx +83 -0
- package/src/globals.css +2201 -7
- package/src/globals.d.ts +20 -0
- package/src/index.ts +68 -1
- package/src/lib/conditional-rule-match.ts +119 -0
- package/src/lib/data-list-display-options.ts +35 -0
- package/src/lib/data-list-view-registry.ts +104 -0
- package/src/lib/data-list-view-surface.ts +83 -0
- package/src/lib/data-list-view.ts +47 -0
- package/src/lib/dev-log.ts +10 -0
- package/src/lib/editable-target.ts +20 -0
- package/src/lib/list-page-table-properties.ts +48 -0
- package/src/lib/raf-throttle.ts +45 -0
- package/src/lib/row-height.ts +19 -0
- package/src/lib/table-properties-types.ts +98 -0
- package/template/.claude/skills/exxat-ds-skill/SKILL.md +8 -7
- package/template/.cursor/rules/exxat-accessibility.mdc +1 -1
- package/template/.cursor/rules/exxat-command-menu.mdc +2 -2
- package/template/.cursor/rules/exxat-dashboard-view-charts.mdc +7 -7
- package/template/.cursor/rules/exxat-data-tables.mdc +3 -3
- package/template/.cursor/rules/exxat-ds-agents.mdc +2 -2
- package/template/.cursor/rules/exxat-kbd-shortcuts.mdc +7 -7
- package/template/.cursor/rules/exxat-mono-ids.mdc +1 -1
- package/template/.cursor/rules/exxat-page-vs-drawer.mdc +1 -1
- package/template/.cursor/rules/exxat-table-properties-drawer.mdc +1 -1
- package/template/AGENTS.md +135 -103
- package/template/app/(app)/columns/page.tsx +11 -0
- package/template/app/(app)/dashboard/loading.tsx +15 -3
- package/template/app/(app)/dashboard/page.tsx +14 -2
- package/template/app/(app)/layout.tsx +17 -4
- package/template/app/(app)/library/all/page.tsx +11 -0
- package/template/app/(app)/library/find/page.tsx +12 -0
- package/template/app/(app)/{question-bank → library}/layout.tsx +17 -17
- package/template/app/(app)/library/list/page.tsx +12 -0
- package/template/app/(app)/library/new/page.tsx +45 -0
- package/template/app/(app)/library/page.tsx +11 -0
- package/template/app/(app)/loading.tsx +18 -1
- package/template/app/(app)/settings/page.tsx +5 -4
- package/template/app/(app)/tokens-themes/page.tsx +11 -0
- package/template/app/globals.css +14 -16
- package/template/components/ask-leo-composer.tsx +2 -2
- package/template/components/ask-leo-sidebar.tsx +5 -1
- package/template/components/brand-color-picker.tsx +2 -2
- package/template/components/charts-overview.tsx +1 -1
- package/template/components/columns-client.tsx +158 -0
- package/template/components/columns-showcase.tsx +541 -0
- package/template/components/dashboard-report-charts.tsx +1 -1
- package/template/components/dashboard-tabs.tsx +1 -1
- package/template/components/data-table/filter-date-calendar.tsx +1 -38
- package/template/components/data-table/filter-text-value-input.tsx +1 -77
- package/template/components/data-table/index.tsx +1 -1634
- package/template/components/data-table/pagination.tsx +1 -255
- package/template/components/data-table/types.ts +1 -94
- package/template/components/data-table/use-table-state.test.ts +420 -0
- package/template/components/data-table/use-table-state.ts +1 -758
- package/template/components/data-views/board-card-primitives.tsx +1 -93
- package/template/components/data-views/data-row-list.tsx +1 -183
- package/template/components/data-views/finder-panel-view.tsx +1 -405
- package/template/components/data-views/folder-grid-view.tsx +1 -86
- package/template/components/data-views/hub-table.tsx +1 -0
- package/template/components/data-views/index.ts +77 -38
- package/template/components/data-views/{question-bank-folder-tree-branch.tsx → library-folder-tree-branch.tsx} +19 -19
- package/template/components/data-views/list-page-board-card.tsx +1 -192
- package/template/components/data-views/list-page-board-template.tsx +1 -122
- package/template/components/data-views/list-page-connected-view-body.tsx +1 -66
- package/template/components/data-views/list-page-split-details-placeholder.tsx +1 -39
- package/template/components/data-views/list-page-split-hub-chrome.tsx +1 -68
- package/template/components/data-views/list-page-split-hub-tokens.ts +1 -16
- package/template/components/data-views/list-page-tree-column-header.tsx +1 -31
- package/template/components/data-views/list-page-tree-panel-shell.tsx +1 -91
- package/template/components/data-views/list-page-view-frame.tsx +5 -53
- package/template/components/data-views/os-folder-glyph.tsx +1 -129
- package/template/components/data-views/outline-tree-menu.tsx +1 -157
- package/template/components/data-views/table-cells.tsx +673 -0
- package/template/components/export-drawer.test.tsx +71 -0
- package/template/components/export-drawer.tsx +1 -375
- package/template/components/exxat-product-logo.tsx +5 -5
- package/template/components/folder-details-shell.tsx +11 -11
- package/template/components/hub-tree-panel-view.tsx +26 -26
- package/template/components/invite-collaborators-drawer.tsx +3 -3
- package/template/components/key-metrics-ask-leo-bridge.tsx +40 -0
- package/template/components/key-metrics.tsx +1 -1063
- package/template/components/leo-insight-indicator.tsx +2 -2
- package/template/components/{question-bank-board-view.tsx → library-board-view.tsx} +44 -44
- package/template/components/{question-bank-client.tsx → library-client.tsx} +83 -83
- package/template/components/{question-bank-dashboard-charts.tsx → library-dashboard-charts.tsx} +14 -14
- package/template/components/{question-bank-favorite-button.tsx → library-favorite-button.tsx} +7 -7
- package/template/components/{question-bank-hub-client.tsx → library-hub-client.tsx} +44 -44
- package/template/components/{question-bank-new-folder-sheet.tsx → library-new-folder-sheet.tsx} +16 -16
- package/template/components/{question-bank-os-folder-view.tsx → library-os-folder-view.tsx} +31 -31
- package/template/components/{question-bank-page-header.tsx → library-page-header.tsx} +6 -6
- package/template/components/library-panel-activator.tsx +8 -0
- package/template/components/{question-bank-secondary-nav.tsx → library-secondary-nav.tsx} +63 -63
- package/template/components/library-table.tsx +839 -0
- package/template/components/list-hub-status-badge.tsx +2 -2
- package/template/components/{new-question-composer.tsx → new-library-item-form.tsx} +489 -441
- package/template/components/onboarding/index.ts +9 -0
- package/template/components/onboarding/onboarding-01.tsx +1 -1
- package/template/components/onboarding/onboarding-02.tsx +1 -1
- package/template/components/onboarding/onboarding-03.tsx +1 -1
- package/template/components/onboarding/onboarding-04.tsx +1 -1
- package/template/components/page-header.tsx +8 -226
- package/template/components/product-switcher.tsx +3 -4
- package/template/components/product-wordmark.tsx +2 -1
- package/template/components/settings-appearance-card.tsx +3 -4
- package/template/components/settings-client.tsx +15 -59
- package/template/components/settings-form-row.tsx +4 -9
- package/template/components/{app-sidebar-dynamic.tsx → sidebar/app-sidebar-dynamic.tsx} +1 -1
- package/template/components/{app-sidebar.tsx → sidebar/app-sidebar.tsx} +114 -73
- package/template/components/sidebar/index.ts +16 -0
- package/template/components/{secondary-nav.tsx → sidebar/secondary-nav.tsx} +2 -2
- package/template/components/sidebar/secondary-panel.tsx +316 -0
- package/template/components/sidebar/sidebar-auto-collapse.tsx +27 -0
- package/template/components/{sidebar-auto-open.tsx → sidebar/sidebar-auto-open.tsx} +2 -1
- package/template/components/{sidebar-shell.tsx → sidebar/sidebar-shell.tsx} +1 -1
- package/template/components/site-header.tsx +1 -1
- package/template/components/table-properties/column-row.tsx +1 -90
- package/template/components/table-properties/draggable-list.ts +1 -49
- package/template/components/table-properties/drawer-button.tsx +1 -262
- package/template/components/table-properties/drawer.tsx +1 -1166
- package/template/components/table-properties/filter-card.tsx +1 -251
- package/template/components/table-properties/sort-card.tsx +1 -59
- package/template/components/table-properties/types.ts +28 -71
- package/template/components/templates/dedicated-search-landing-template.tsx +1 -124
- package/template/components/templates/dedicated-search-results-template.tsx +1 -19
- package/template/components/templates/discovery-hub-template.tsx +1 -1
- package/template/components/templates/list-page.tsx +1 -608
- package/template/components/templates/nested-secondary-panel-shell.tsx +1 -63
- package/template/components/templates/new-focus-template.tsx +659 -0
- package/template/components/templates/secondary-panel-hub-template.tsx +2 -2
- package/template/components/tokens-secondary-nav.tsx +192 -0
- package/template/components/tokens-themes-client.tsx +476 -0
- package/template/components/tokens-themes-section.tsx +386 -0
- package/template/components/ui/accordion.tsx +1 -0
- package/template/components/ui/alert-dialog.tsx +1 -0
- package/template/components/ui/context-menu.tsx +1 -0
- package/template/components/ui/dot-pattern.tsx +1 -183
- package/template/components/ui/hover-card.tsx +1 -0
- package/template/components/ui/resizable.tsx +1 -68
- package/template/components/ui/scroll-area.tsx +1 -0
- package/template/components/ui/slider.tsx +1 -0
- package/template/docs/HANDBOOK.md +187 -0
- package/template/docs/blueprints/README.md +86 -0
- package/template/docs/blueprints/_template.md +91 -0
- package/template/docs/blueprints/board-card.md +123 -0
- package/template/docs/blueprints/data-table.md +139 -0
- package/template/docs/blueprints/key-metrics.md +128 -0
- package/template/docs/blueprints/list-page-template.md +123 -0
- package/template/docs/blueprints/page-header.md +130 -0
- package/template/docs/collaboration-access-pattern.md +7 -7
- package/template/docs/command-menu-pattern.md +1 -1
- package/template/docs/component-selection-guide.md +224 -0
- package/template/docs/components-audit-2026-05.md +158 -0
- package/template/docs/data-views-pattern.md +31 -66
- package/template/docs/drawer-vs-dialog-pattern.md +1 -3
- package/template/docs/glossary.md +58 -0
- package/template/docs/kpi-flat-band-pattern.md +3 -3
- package/template/docs/kpi-trend-pattern.md +18 -3
- package/template/docs/large-dataset-strategy.md +155 -0
- package/template/docs/library-hub-header-pattern.md +25 -0
- package/template/docs/migrations/0001-brand-deep-alias-stabilization.md +95 -0
- package/template/docs/migrations/0002-exxat-token-namespace.md +154 -0
- package/template/docs/migrations/0003-globals-css-canonical.md +110 -0
- package/template/docs/migrations/README.md +100 -0
- package/template/docs/migrations/_template.md +64 -0
- package/template/docs/reference-implementations.md +151 -0
- package/template/docs/shell-surface-elevation-pattern.md +3 -5
- package/template/docs/token-taxonomy.md +416 -0
- package/template/docs/voice-and-tone.md +262 -0
- package/template/eslint.config.mjs +27 -0
- package/template/hooks/use-secondary-panel-hub-nav.ts +11 -11
- package/template/lib/ask-leo-route-context.ts +6 -18
- package/template/lib/coach-mark-registry.ts +0 -16
- package/template/lib/command-menu-config.ts +5 -13
- package/template/lib/command-menu-search-data.ts +8 -23
- package/template/lib/conditional-rule-match.ts +6 -97
- package/template/lib/data-list-display-options.ts +1 -49
- package/template/lib/data-list-view-registry.ts +1 -104
- package/template/lib/data-list-view-surface.ts +1 -83
- package/template/lib/data-list-view.ts +1 -47
- package/template/lib/data-view-dashboard-storage.ts +35 -38
- package/template/lib/dev-log.ts +1 -8
- package/template/lib/editable-target.ts +1 -10
- package/template/lib/{question-bank-authoring.ts → library-authoring.ts} +89 -88
- package/template/lib/library-dedicated-search.ts +19 -0
- package/template/lib/library-hub-search.ts +90 -0
- package/template/lib/library-nav.ts +477 -0
- package/template/lib/library-recent-searches.ts +22 -0
- package/template/lib/{question-bank-supported-views.ts → library-supported-views.ts} +2 -3
- package/template/lib/list-page-table-properties.ts +1 -48
- package/template/lib/list-status-badges.ts +16 -11
- package/template/lib/mock/dashboard.ts +1 -1
- package/template/lib/mock/{question-bank-folders.ts → library-folders.ts} +30 -30
- package/template/lib/mock/library-header-collaborators.ts +54 -0
- package/template/lib/mock/{question-bank-inspector.ts → library-inspector.ts} +29 -29
- package/template/lib/mock/{question-bank-kpi.ts → library-kpi.ts} +20 -20
- package/template/lib/mock/library.ts +249 -0
- package/template/lib/mock/navigation.tsx +32 -35
- package/template/lib/raf-throttle.ts +1 -45
- package/template/lib/row-height.ts +4 -10
- package/template/lib/sidebar-state-cookie.ts +11 -2
- package/template/lib/table-state-lifecycle.ts +3 -3
- package/template/next.config.mjs +7 -4
- package/template/package.json +1 -0
- package/template/tests/setup.ts +25 -0
- package/consumer-extras/AGENTS.md +0 -76
- package/consumer-extras/cursor-skills/exxat-consumer-app/SKILL.md +0 -37
- package/consumer-extras/cursor-skills/exxat-focused-workflow-page/SKILL.md +0 -57
- package/consumer-extras/patterns/consumer-app-pattern.md +0 -39
- package/consumer-extras/patterns/focused-workflow-page-pattern.md +0 -84
- package/src/components/ui/button-group.tsx +0 -81
- package/src/theme.css +0 -16
- package/src/tokens/README.md +0 -15
- package/src/tokens/base.css +0 -337
- package/src/tokens/high-contrast.css +0 -1195
- package/src/tokens/layers.css +0 -224
- package/src/tokens/tailwind-bridge.css +0 -118
- package/src/tokens/themes.css +0 -201
- package/template/app/(app)/data-list/layout.tsx +0 -43
- package/template/app/(app)/data-list/page.tsx +0 -10
- package/template/app/(app)/examples/focused-workflow/page.tsx +0 -5
- package/template/app/(app)/examples/page.tsx +0 -43
- package/template/app/(app)/question-bank/find/page.tsx +0 -13
- package/template/app/(app)/question-bank/library/page.tsx +0 -12
- package/template/app/(app)/question-bank/list/page.tsx +0 -13
- package/template/app/(app)/question-bank/new/page.tsx +0 -50
- package/template/app/(app)/question-bank/page.tsx +0 -12
- package/template/components/app-route-loading.tsx +0 -14
- package/template/components/dashboard-onboarding-gallery.tsx +0 -13
- package/template/components/dashboard-onboarding.tsx +0 -21
- package/template/components/data-views/list-page-calendar-view.tsx +0 -593
- package/template/components/data-views/list-page-folder-columns-panel.tsx +0 -345
- package/template/components/examples/focused-workflow-showcase.tsx +0 -183
- package/template/components/list-hub-board-view.tsx +0 -68
- package/template/components/list-hub-client.tsx +0 -186
- package/template/components/list-hub-list-view.tsx +0 -36
- package/template/components/list-hub-panel-activator.tsx +0 -8
- package/template/components/list-hub-secondary-nav.tsx +0 -121
- package/template/components/list-hub-table.tsx +0 -336
- package/template/components/question-bank-folder-columns-panel.tsx +0 -104
- package/template/components/question-bank-list-view.tsx +0 -53
- package/template/components/question-bank-panel-activator.tsx +0 -8
- package/template/components/question-bank-table.tsx +0 -729
- package/template/components/secondary-panel/nav-link-rows.tsx +0 -83
- package/template/components/secondary-panel.tsx +0 -220
- package/template/components/secondary-panels/list-hub-panel.tsx +0 -39
- package/template/components/secondary-panels/question-bank-panel.tsx +0 -39
- package/template/components/secondary-panels/registry.tsx +0 -15
- package/template/components/section-cards.tsx +0 -106
- package/template/components/sidebar-auto-collapse.tsx +0 -23
- package/template/components/templates/focused-workflow-layouts.tsx +0 -448
- package/template/components/templates/focused-workflow-page-template.tsx +0 -69
- package/template/components/templates/page-loading-shell.tsx +0 -262
- package/template/components/ui/button-group.tsx +0 -1
- package/template/docs/consumer-app-pattern.md +0 -39
- package/template/docs/focused-workflow-page-pattern.md +0 -84
- package/template/docs/question-bank-hub-header-pattern.md +0 -25
- package/template/lib/list-hub-nav.ts +0 -121
- package/template/lib/mock/list-hub-directory.ts +0 -27
- package/template/lib/mock/list-hub-kpi.ts +0 -27
- package/template/lib/mock/question-bank-header-collaborators.ts +0 -54
- package/template/lib/mock/question-bank.ts +0 -249
- package/template/lib/page-loading-variant.ts +0 -40
- package/template/lib/question-bank-dedicated-search.ts +0 -19
- package/template/lib/question-bank-hub-search.ts +0 -90
- package/template/lib/question-bank-nav.ts +0 -477
- package/template/lib/question-bank-recent-searches.ts +0 -22
- /package/template/components/{getting-started.tsx → onboarding/getting-started.tsx} +0 -0
- /package/template/components/{nav-documents.tsx → sidebar/nav-documents.tsx} +0 -0
- /package/template/components/{nav-main.tsx → sidebar/nav-main.tsx} +0 -0
- /package/template/components/{nav-secondary.tsx → sidebar/nav-secondary.tsx} +0 -0
- /package/template/components/{nav-user.tsx → sidebar/nav-user.tsx} +0 -0
package/src/tokens/layers.css
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Base layer — global element defaults with AA focus management
|
|
3
|
-
========================================================================== */
|
|
4
|
-
@layer base {
|
|
5
|
-
/* Reset + border-color default */
|
|
6
|
-
*, *::before, *::after {
|
|
7
|
-
@apply border-border;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* Body — outer canvas matches sidebar; main column uses bg-background (white in light) */
|
|
12
|
-
body {
|
|
13
|
-
@apply bg-sidebar text-foreground antialiased;
|
|
14
|
-
font-family: var(--font-sans);
|
|
15
|
-
/* 14px baseline on body. 1rem stays = 16px so all shadcn rem-based
|
|
16
|
-
layout (spacing, heights, radii) is unaffected at any zoom level. */
|
|
17
|
-
font-size: 0.875rem;
|
|
18
|
-
line-height: 1.5;
|
|
19
|
-
/* Font smoothing (Tailwind `antialiased` = -webkit-font-smoothing + -moz-osx):
|
|
20
|
-
Industry practice per Josh Comeau’s CSS reset and 2024 cross-browser testing
|
|
21
|
-
(e.g. David Bushell): the -webkit property affects macOS WebKit browsers only —
|
|
22
|
-
it tones down browser-only subpixel AA (Mojave+ system UI already moved away).
|
|
23
|
-
Windows/Linux/iOS/Android: no practical effect; OS font rasterizer (ClearType, etc.)
|
|
24
|
-
owns rendering. Safe to apply on body for Mac parity without changing Windows output. */
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
html {
|
|
28
|
-
@apply font-sans;
|
|
29
|
-
color-scheme: light;
|
|
30
|
-
/* Match sidebar canvas (body) on overscroll */
|
|
31
|
-
background-color: var(--sidebar);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
html.dark {
|
|
35
|
-
color-scheme: dark;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* ── Focus management (WCAG 2.4.11 / 2.4.7) ──────────────────── */
|
|
39
|
-
/* Visible on keyboard navigation only; hidden for mouse users */
|
|
40
|
-
:focus-visible {
|
|
41
|
-
outline: 2px solid var(--ring);
|
|
42
|
-
outline-offset: 2px;
|
|
43
|
-
border-radius: var(--radius-sm, 4px);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Suppress outline for mouse/touch (Safari workaround) */
|
|
47
|
-
:focus:not(:focus-visible) {
|
|
48
|
-
outline: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* ── Reduced motion (WCAG 2.3.3) ────────────────────────────── */
|
|
52
|
-
@media (prefers-reduced-motion: reduce) {
|
|
53
|
-
*, *::before, *::after {
|
|
54
|
-
animation-duration: 0.01ms !important;
|
|
55
|
-
animation-iteration-count: 1 !important;
|
|
56
|
-
transition-duration: 0.01ms !important;
|
|
57
|
-
scroll-behavior: auto !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* ── Touch targets (WCAG 2.5.5) ─────────────────────────────── */
|
|
62
|
-
/* Applied via utility: min-h-[var(--control-height-touch)] */
|
|
63
|
-
/* Coarse pointer only: browser zoom (200–400%) shrinks the *layout* viewport
|
|
64
|
-
in CSS px, so max-width: 767px becomes true on desktop — without pointer: coarse,
|
|
65
|
-
44px min-height hits every button and [role=checkbox], stretching 16px-wide
|
|
66
|
-
checkboxes into tall pills and blowing up table/toolbar controls. Real phones
|
|
67
|
-
and tablets report pointer: coarse. */
|
|
68
|
-
@media (max-width: 767px) and (pointer: coarse) {
|
|
69
|
-
button,
|
|
70
|
-
[role="button"],
|
|
71
|
-
[role="radio"],
|
|
72
|
-
[role="switch"],
|
|
73
|
-
[role="menuitem"],
|
|
74
|
-
[role="tab"],
|
|
75
|
-
a {
|
|
76
|
-
min-height: var(--control-height-touch, 44px);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
/* Checkboxes use compact box + pseudo-element hit slop (see ui/checkbox). */
|
|
80
|
-
|
|
81
|
-
/* ── Heading hierarchy ───────────────────────────────────────── */
|
|
82
|
-
/* Ivy Presto (font-heading) applied ONLY via explicit class/inline style
|
|
83
|
-
on PageHeader <h1>. All other headings use Inter (font-sans). */
|
|
84
|
-
h1, h2, h3, h4, h5, h6 {
|
|
85
|
-
font-family: var(--font-sans);
|
|
86
|
-
font-weight: 600;
|
|
87
|
-
line-height: 1.25;
|
|
88
|
-
color: var(--foreground);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* ── Skip to main content (WCAG 2.4.1) ─────────────────────── */
|
|
92
|
-
.skip-to-content {
|
|
93
|
-
position: absolute;
|
|
94
|
-
left: -9999px;
|
|
95
|
-
top: auto;
|
|
96
|
-
width: 1px;
|
|
97
|
-
height: 1px;
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
z-index: 9999;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.skip-to-content:focus {
|
|
103
|
-
position: fixed;
|
|
104
|
-
top: 0;
|
|
105
|
-
left: 0;
|
|
106
|
-
width: auto;
|
|
107
|
-
height: auto;
|
|
108
|
-
padding: 0.75rem 1.25rem;
|
|
109
|
-
background: var(--background);
|
|
110
|
-
color: var(--foreground);
|
|
111
|
-
border: 2px solid var(--ring);
|
|
112
|
-
border-radius: var(--radius-md);
|
|
113
|
-
font-weight: 600;
|
|
114
|
-
font-size: 1rem;
|
|
115
|
-
z-index: 9999;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* ==========================================================================
|
|
120
|
-
Utility layer — design-system helpers
|
|
121
|
-
========================================================================== */
|
|
122
|
-
@layer utilities {
|
|
123
|
-
/* Visually hidden but accessible to screen readers (WCAG 1.3.1) */
|
|
124
|
-
.sr-only {
|
|
125
|
-
position: absolute;
|
|
126
|
-
width: 1px;
|
|
127
|
-
height: 1px;
|
|
128
|
-
padding: 0;
|
|
129
|
-
margin: -1px;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
clip: rect(0, 0, 0, 0);
|
|
132
|
-
white-space: nowrap;
|
|
133
|
-
border-width: 0;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/* AA-safe muted text — use instead of text-muted-foreground on light bg */
|
|
137
|
-
.text-aa-muted {
|
|
138
|
-
color: oklch(0.50 0.012 270); /* 5.5:1 on white ✓ */
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/* Touch-target wrapper for icon buttons (mobile only) */
|
|
142
|
-
.touch-target {
|
|
143
|
-
min-height: var(--control-height-touch, 44px);
|
|
144
|
-
min-width: var(--control-height-touch, 44px);
|
|
145
|
-
display: inline-flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
justify-content: center;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@media (min-width: 768px) {
|
|
151
|
-
.touch-target {
|
|
152
|
-
min-height: unset;
|
|
153
|
-
min-width: unset;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/* Form field border — use --control-border (3:1 minimum) */
|
|
158
|
-
.field-border {
|
|
159
|
-
border-color: var(--control-border);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/* Exxat Prism highlight banner */
|
|
163
|
-
.banner-prism {
|
|
164
|
-
background-color: var(--banner-prism-bg);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/* Sidebar nav — little pop when an item becomes active. Key swap on the
|
|
168
|
-
wrapper remounts the span, so the animation replays on selection. */
|
|
169
|
-
@keyframes sidebar-icon-pop {
|
|
170
|
-
0% { opacity: 0.4; transform: scale(0.7) rotate(-6deg); }
|
|
171
|
-
60% { opacity: 1; transform: scale(1.15) rotate(2deg); }
|
|
172
|
-
100% { opacity: 1; transform: scale(1) rotate(0); }
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* Radix Collapsible / Accordion — slide the children open/closed using the
|
|
176
|
-
`--radix-collapsible-content-height` CSS var that Radix sets on the
|
|
177
|
-
content element. Mirrors the shadcn accordion pattern (Tailwind v3
|
|
178
|
-
"accordion-down" / "accordion-up"); we keep our own name so it can be
|
|
179
|
-
reused by both Collapsible and Accordion primitives. */
|
|
180
|
-
@keyframes collapsible-down {
|
|
181
|
-
from { height: 0; }
|
|
182
|
-
to { height: var(--radix-collapsible-content-height); }
|
|
183
|
-
}
|
|
184
|
-
@keyframes collapsible-up {
|
|
185
|
-
from { height: var(--radix-collapsible-content-height); }
|
|
186
|
-
to { height: 0; }
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* Ask Leo suggestion chips — staggered fade-in + lift on first render. */
|
|
190
|
-
@keyframes leo-chip-in {
|
|
191
|
-
0% { opacity: 0; transform: translateY(8px) scale(0.96); }
|
|
192
|
-
100% { opacity: 1; transform: translateY(0) scale(1); }
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/* Leo typing indicator — 3 dots bouncing opacity/scale, staggered via delay. */
|
|
196
|
-
@keyframes leo-typing-dot {
|
|
197
|
-
0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
|
|
198
|
-
40% { opacity: 1; transform: scale(1); }
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/* Whole-panel brand radial glow pulse — runs on the BG layer while Leo thinks. */
|
|
202
|
-
@keyframes leo-panel-pulse {
|
|
203
|
-
0%, 100% { opacity: 0.5; transform: scale(1); }
|
|
204
|
-
50% { opacity: 0.75; transform: scale(1.01); }
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/* Chart “Leo insight” marker — soft breathing halo behind the chip. */
|
|
208
|
-
@keyframes leo-chart-insight-halo {
|
|
209
|
-
0%, 100% { opacity: 0.45; transform: scale(1); }
|
|
210
|
-
50% { opacity: 0.72; transform: scale(1.12); }
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/* Accent dot on the insight marker — gentle pulse (respect motion-reduce in markup). */
|
|
214
|
-
@keyframes leo-chart-insight-dot {
|
|
215
|
-
0%, 100% { opacity: 0.9; transform: scale(1); }
|
|
216
|
-
50% { opacity: 1; transform: scale(1.35); }
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/* After all @layer rules: win over Tailwind preflight / layer merge so real controls show a pointer. */
|
|
221
|
-
button:not(:disabled):not([disabled]),
|
|
222
|
-
[role="button"]:not([aria-disabled="true"]):not([data-disabled]) {
|
|
223
|
-
cursor: pointer;
|
|
224
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/* --------------------------------------------------------------------------
|
|
2
|
-
Tailwind v4 theme bridge — maps CSS custom-props → utility classes
|
|
3
|
-
-------------------------------------------------------------------------- */
|
|
4
|
-
@theme inline {
|
|
5
|
-
/* Typography */
|
|
6
|
-
--font-heading: "ivypresto-text";
|
|
7
|
-
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
8
|
-
/* Minimum product text: 11px — use `text-xs` or larger; avoid arbitrary classes below 11px */
|
|
9
|
-
--text-xs: 0.6875rem; /* 11px at 16px root */
|
|
10
|
-
|
|
11
|
-
/* Semantic color map */
|
|
12
|
-
--color-background: var(--background);
|
|
13
|
-
--color-foreground: var(--foreground);
|
|
14
|
-
--color-card: var(--card);
|
|
15
|
-
--color-card-foreground: var(--card-foreground);
|
|
16
|
-
--color-popover: var(--popover);
|
|
17
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
18
|
-
--color-primary: var(--primary);
|
|
19
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
20
|
-
--color-secondary: var(--secondary);
|
|
21
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
22
|
-
--color-muted: var(--muted);
|
|
23
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
24
|
-
--color-accent: var(--accent);
|
|
25
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
26
|
-
--color-destructive: var(--destructive);
|
|
27
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
28
|
-
--color-border: var(--border);
|
|
29
|
-
--color-border-control: var(--border-control);
|
|
30
|
-
--color-input: var(--input);
|
|
31
|
-
--color-input-background: var(--input-background);
|
|
32
|
-
--color-ring: var(--ring);
|
|
33
|
-
/* Modal / sheet / drawer scrim */
|
|
34
|
-
--color-overlay: var(--overlay);
|
|
35
|
-
|
|
36
|
-
/* Chart tokens */
|
|
37
|
-
--color-chart-1: var(--chart-1);
|
|
38
|
-
--color-chart-2: var(--chart-2);
|
|
39
|
-
--color-chart-3: var(--chart-3);
|
|
40
|
-
--color-chart-4: var(--chart-4);
|
|
41
|
-
--color-chart-5: var(--chart-5);
|
|
42
|
-
|
|
43
|
-
/* Chip / badge tokens (AA-compliant on light bg: ≥ 4.5:1) */
|
|
44
|
-
--color-chip-1: var(--chip-1);
|
|
45
|
-
--color-chip-2: var(--chip-2);
|
|
46
|
-
--color-chip-3: var(--chip-3);
|
|
47
|
-
--color-chip-4: var(--chip-4);
|
|
48
|
-
--color-chip-5: var(--chip-5);
|
|
49
|
-
--color-chip-destructive: var(--chip-destructive);
|
|
50
|
-
|
|
51
|
-
/* Brand accent + Exxat One tint scale (see :root --brand-*) */
|
|
52
|
-
--color-brand: var(--brand-color);
|
|
53
|
-
--color-brand-dark: var(--brand-color-dark);
|
|
54
|
-
--color-brand-foreground: var(--brand-foreground);
|
|
55
|
-
--color-brand-tint: var(--brand-tint);
|
|
56
|
-
--color-brand-tint-light: var(--brand-tint-light);
|
|
57
|
-
--color-brand-tint-subtle: var(--brand-tint-subtle);
|
|
58
|
-
--color-brand-color-light: var(--brand-color-light);
|
|
59
|
-
--color-brand-deep: var(--brand-color-deep);
|
|
60
|
-
|
|
61
|
-
/* Prism banner highlight */
|
|
62
|
-
--color-banner-prism: var(--banner-prism-bg);
|
|
63
|
-
|
|
64
|
-
/* Sidebar */
|
|
65
|
-
--color-sidebar: var(--sidebar);
|
|
66
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
67
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
68
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
69
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
70
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
71
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
72
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
73
|
-
/* WCAG 1.4.3 — always mixed against real --sidebar (lavender / rose / dark) */
|
|
74
|
-
--color-sidebar-section-label: var(--sidebar-section-label-foreground);
|
|
75
|
-
--color-secondary-panel-bg: var(--secondary-panel-bg);
|
|
76
|
-
|
|
77
|
-
/* Interactive hover — single source for ghost controls, lists, table chrome */
|
|
78
|
-
--color-interactive-hover: var(--interactive-hover);
|
|
79
|
-
--color-interactive-hover-foreground: var(--interactive-hover-foreground);
|
|
80
|
-
--color-interactive-hover-subtle: var(--interactive-hover-subtle);
|
|
81
|
-
--color-interactive-hover-soft: var(--interactive-hover-soft);
|
|
82
|
-
--color-interactive-hover-medium: var(--interactive-hover-medium);
|
|
83
|
-
--color-interactive-hover-strong: var(--interactive-hover-strong);
|
|
84
|
-
--color-interactive-hover-row: var(--interactive-hover-row);
|
|
85
|
-
|
|
86
|
-
/* DataTable — opaque surfaces for pinned/sticky cells and row states */
|
|
87
|
-
--color-dt-row-bg: var(--dt-row-bg);
|
|
88
|
-
--color-dt-row-hover: var(--dt-row-hover);
|
|
89
|
-
--color-dt-row-selected: var(--dt-row-selected);
|
|
90
|
-
--color-dt-row-selected-fg: var(--dt-row-selected-fg);
|
|
91
|
-
--color-dt-header-bg: var(--dt-header-bg);
|
|
92
|
-
--color-dt-group-bg: var(--dt-group-bg);
|
|
93
|
-
--color-dt-new-row-bg: var(--dt-new-row-bg);
|
|
94
|
-
--color-dt-new-row-border: var(--dt-new-row-border);
|
|
95
|
-
|
|
96
|
-
/* Border-radius scale (4 px base → 8 px default) */
|
|
97
|
-
--radius-sm: 4px;
|
|
98
|
-
--radius-md: 8px;
|
|
99
|
-
--radius-lg: 12px;
|
|
100
|
-
--radius-xl: 16px;
|
|
101
|
-
--radius-2xl: 20px;
|
|
102
|
-
--radius-3xl: 24px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/* --------------------------------------------------------------------------
|
|
106
|
-
Text size (Settings → Appearance)
|
|
107
|
-
Pattern: root `font-size` steps like iOS Larger Text / Android font scale /
|
|
108
|
-
browser zoom-at-root so rem-based components track together. We keep steps
|
|
109
|
-
modest; `compact` redefines `--text-xs` so minimum UI copy stays 11px (Exxat
|
|
110
|
-
accessibility rule) when the root is slightly below 16px.
|
|
111
|
-
-------------------------------------------------------------------------- */
|
|
112
|
-
html[data-text-size="compact"] {
|
|
113
|
-
font-size: 94%;
|
|
114
|
-
--text-xs: 0.7333rem; /* ~11px when 1rem ≈ 15px */
|
|
115
|
-
}
|
|
116
|
-
html[data-text-size="large"] {
|
|
117
|
-
font-size: 112.5%;
|
|
118
|
-
}
|
package/src/tokens/themes.css
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Theme: Exxat One · Lavender (explicit — also applied as :root default)
|
|
3
|
-
Usage: <html class="theme-one"> or <html class="theme-lavender">
|
|
4
|
-
========================================================================== */
|
|
5
|
-
.theme-one,
|
|
6
|
-
.theme-lavender {
|
|
7
|
-
--brand-tint: oklch(0.9676 0.016 286.1);
|
|
8
|
-
--brand-tint-light: oklch(0.993 0.007 286.1);
|
|
9
|
-
--brand-tint-subtle: oklch(0.935 0.024 286.1);
|
|
10
|
-
--brand-color: oklch(0.50 0.14 286.1);
|
|
11
|
-
--brand-color-light: oklch(0.78 0.09 286.1);
|
|
12
|
-
--brand-color-dark: oklch(0.38 0.11 286.1);
|
|
13
|
-
--brand-color-deep: oklch(0.28 0.085 286.1);
|
|
14
|
-
--ring: var(--brand-color-dark);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* Light surfaces only — must NOT override .dark (otherwise muted/accent stay “paper white” in dark mode) */
|
|
18
|
-
.theme-one:not(.dark),
|
|
19
|
-
.theme-lavender:not(.dark) {
|
|
20
|
-
--sidebar: var(--brand-tint);
|
|
21
|
-
--sidebar-accent: oklch(0.945 0.025 286.1);
|
|
22
|
-
--sidebar-border: oklch(0.92 0.025 286.1);
|
|
23
|
-
--secondary: oklch(0.95 0.012 286.1);
|
|
24
|
-
--accent: oklch(0.925 0.015 286.1);
|
|
25
|
-
--muted: oklch(0.945 0.008 286.1);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.theme-one.dark,
|
|
29
|
-
.dark.theme-one,
|
|
30
|
-
.theme-lavender.dark,
|
|
31
|
-
.dark.theme-lavender {
|
|
32
|
-
--ring: var(--brand-color);
|
|
33
|
-
--background: oklch(0.20 0.008 286.1);
|
|
34
|
-
--sidebar: oklch(0.245 0.015 286.1);
|
|
35
|
-
--sidebar-accent: oklch(0.30 0.012 286.1);
|
|
36
|
-
--sidebar-border: oklch(0.38 0.010 286.1);
|
|
37
|
-
/* Restore dark surfaces (base .dark is overridden by :not(.dark) rules above when both classes apply) */
|
|
38
|
-
--secondary: oklch(0.31 0.04 286.1);
|
|
39
|
-
--muted: oklch(0.31 0.04 286.1);
|
|
40
|
-
--accent: oklch(0.33 0.06 286.1);
|
|
41
|
-
--brand-tint: oklch(0.28 0.014 286.1);
|
|
42
|
-
--brand-tint-light: oklch(0.30 0.014 286.1);
|
|
43
|
-
--brand-tint-subtle: oklch(0.24 0.018 286.1);
|
|
44
|
-
--secondary-panel-bg: oklch(0.262 0.012 286.1);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* ==========================================================================
|
|
48
|
-
Theme: Exxat Prism · Rose · hue 343
|
|
49
|
-
Usage: <html class="theme-prism"> or <html class="theme-rose">
|
|
50
|
-
========================================================================== */
|
|
51
|
-
.theme-prism,
|
|
52
|
-
.theme-rose {
|
|
53
|
-
--brand-tint: oklch(0.97 0.02 343);
|
|
54
|
-
--brand-tint-light: oklch(0.992 0.01 343);
|
|
55
|
-
--brand-tint-subtle: oklch(0.93 0.028 343);
|
|
56
|
-
--brand-color: oklch(0.57 0.24 342); /* Prism rose */
|
|
57
|
-
--brand-color-light: oklch(0.78 0.14 342);
|
|
58
|
-
--brand-color-dark: oklch(0.42 0.24 342);
|
|
59
|
-
--brand-color-deep: oklch(0.32 0.20 342);
|
|
60
|
-
--ring: var(--brand-color-dark);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.theme-prism:not(.dark),
|
|
64
|
-
.theme-rose:not(.dark) {
|
|
65
|
-
--sidebar: oklch(0.97 0.02 343);
|
|
66
|
-
--sidebar-accent: oklch(0.945 0.025 343);
|
|
67
|
-
--sidebar-border: oklch(0.92 0.025 343);
|
|
68
|
-
--secondary: oklch(0.95 0.012 343);
|
|
69
|
-
--accent: oklch(0.925 0.015 343);
|
|
70
|
-
--muted: oklch(0.945 0.008 343);
|
|
71
|
-
--banner-prism-bg: oklch(0.97 0.02 343);
|
|
72
|
-
--theme-color-chrome: #fff5f9;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.theme-prism.dark,
|
|
76
|
-
.dark.theme-prism,
|
|
77
|
-
.theme-rose.dark,
|
|
78
|
-
.dark.theme-rose {
|
|
79
|
-
--ring: var(--brand-color);
|
|
80
|
-
--background: oklch(0.20 0.008 342);
|
|
81
|
-
--sidebar: oklch(0.245 0.015 342);
|
|
82
|
-
--sidebar-accent: oklch(0.30 0.012 342);
|
|
83
|
-
--sidebar-border: oklch(0.38 0.010 342);
|
|
84
|
-
--secondary: oklch(0.31 0.04 342);
|
|
85
|
-
--muted: oklch(0.31 0.04 342);
|
|
86
|
-
--accent: oklch(0.33 0.06 342);
|
|
87
|
-
--theme-color-chrome: #2a2428;
|
|
88
|
-
--brand-tint: oklch(0.28 0.014 342);
|
|
89
|
-
--brand-tint-light: oklch(0.30 0.014 342);
|
|
90
|
-
--brand-tint-subtle: oklch(0.24 0.018 342);
|
|
91
|
-
--card: oklch(0.27 0.012 342);
|
|
92
|
-
--secondary-panel-bg: oklch(0.262 0.012 342);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* ==========================================================================
|
|
96
|
-
Theme: Exxat Assessment · Green · hue 159.88
|
|
97
|
-
Usage: <html class="theme-assessment">
|
|
98
|
-
========================================================================== */
|
|
99
|
-
.theme-assessment {
|
|
100
|
-
--brand-tint: oklch(0.965 0.018 159.88);
|
|
101
|
-
--brand-tint-light: oklch(0.992 0.008 159.88);
|
|
102
|
-
--brand-tint-subtle: oklch(0.93 0.028 159.88);
|
|
103
|
-
--brand-color: oklch(0.7 0.0913 159.88);
|
|
104
|
-
--brand-color-light: oklch(0.82 0.072 159.88);
|
|
105
|
-
--brand-color-dark: oklch(0.48 0.0913 159.88);
|
|
106
|
-
--brand-color-deep: oklch(0.34 0.075 159.88);
|
|
107
|
-
--ring: var(--brand-color-dark);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.theme-assessment:not(.dark) {
|
|
111
|
-
--sidebar: var(--brand-tint);
|
|
112
|
-
--sidebar-accent: oklch(0.945 0.026 159.88);
|
|
113
|
-
--sidebar-border: oklch(0.90 0.026 159.88);
|
|
114
|
-
--secondary: oklch(0.95 0.012 159.88);
|
|
115
|
-
--accent: oklch(0.925 0.016 159.88);
|
|
116
|
-
--muted: oklch(0.945 0.008 159.88);
|
|
117
|
-
--theme-color-chrome: #f1faf5;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.theme-assessment.dark,
|
|
121
|
-
.dark.theme-assessment {
|
|
122
|
-
--ring: var(--brand-color);
|
|
123
|
-
--background: oklch(0.20 0.008 159.88);
|
|
124
|
-
--sidebar: oklch(0.245 0.015 159.88);
|
|
125
|
-
--sidebar-accent: oklch(0.30 0.012 159.88);
|
|
126
|
-
--sidebar-border: oklch(0.38 0.010 159.88);
|
|
127
|
-
--secondary: oklch(0.31 0.04 159.88);
|
|
128
|
-
--muted: oklch(0.31 0.04 159.88);
|
|
129
|
-
--accent: oklch(0.33 0.06 159.88);
|
|
130
|
-
--theme-color-chrome: #242a27;
|
|
131
|
-
--brand-tint: oklch(0.28 0.014 159.88);
|
|
132
|
-
--brand-tint-light: oklch(0.30 0.014 159.88);
|
|
133
|
-
--brand-tint-subtle: oklch(0.24 0.018 159.88);
|
|
134
|
-
--card: oklch(0.27 0.012 159.88);
|
|
135
|
-
--secondary-panel-bg: oklch(0.262 0.012 159.88);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* ==========================================================================
|
|
139
|
-
Theme: Custom product · user-selected hue
|
|
140
|
-
Usage: <html class="theme-custom" style="--custom-product-brand-color: …">
|
|
141
|
-
========================================================================== */
|
|
142
|
-
/*
|
|
143
|
-
* Tint chroma is **derived from the source's chroma** so neighbouring hues
|
|
144
|
-
* (e.g. Blue h=252 vs Indigo h=280 vs Purple h=286) read as distinct pale
|
|
145
|
-
* tints instead of collapsing to the same near-white. The earlier formula
|
|
146
|
-
* pinned chroma to a fixed `0.018`, which is below the hue-discrimination
|
|
147
|
-
* threshold at L≈0.96 for closely-spaced hues — that's why Blue / Indigo /
|
|
148
|
-
* Purple looked identical in the sidebar.
|
|
149
|
-
*
|
|
150
|
-
* `max(<floor>, calc(c * <fraction>))` rules:
|
|
151
|
-
* - vibrant brand colours (c ≈ 0.10–0.23) get a meaningfully tinted
|
|
152
|
-
* sidebar / accent / muted scale → product chrome visibly changes per
|
|
153
|
-
* pick
|
|
154
|
-
* - low-chroma custom-hex picks (greys) fall back to the floor so they
|
|
155
|
-
* don't render as pure white
|
|
156
|
-
* - lightness + hue stay pinned to the original mock-up values, so the
|
|
157
|
-
* overall "very pale background" feel is unchanged
|
|
158
|
-
*/
|
|
159
|
-
.theme-custom {
|
|
160
|
-
--brand-tint: oklch(from var(--custom-product-brand-color) 0.965 max(0.018, calc(c * 0.20)) h);
|
|
161
|
-
--brand-tint-light: oklch(from var(--custom-product-brand-color) 0.992 max(0.008, calc(c * 0.08)) h);
|
|
162
|
-
--brand-tint-subtle: oklch(from var(--custom-product-brand-color) 0.93 max(0.028, calc(c * 0.30)) h);
|
|
163
|
-
--brand-color: var(--custom-product-brand-color);
|
|
164
|
-
--brand-color-light: oklch(from var(--custom-product-brand-color) 0.82 c h);
|
|
165
|
-
--brand-color-dark: oklch(from var(--custom-product-brand-color) 0.48 c h);
|
|
166
|
-
--brand-color-deep: oklch(from var(--custom-product-brand-color) 0.34 c h);
|
|
167
|
-
--ring: var(--brand-color-dark);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.theme-custom:not(.dark) {
|
|
171
|
-
--sidebar: var(--brand-tint);
|
|
172
|
-
--sidebar-accent: oklch(from var(--custom-product-brand-color) 0.945 max(0.026, calc(c * 0.28)) h);
|
|
173
|
-
--sidebar-border: oklch(from var(--custom-product-brand-color) 0.90 max(0.026, calc(c * 0.28)) h);
|
|
174
|
-
--secondary: oklch(from var(--custom-product-brand-color) 0.95 max(0.012, calc(c * 0.14)) h);
|
|
175
|
-
--accent: oklch(from var(--custom-product-brand-color) 0.925 max(0.016, calc(c * 0.18)) h);
|
|
176
|
-
--muted: oklch(from var(--custom-product-brand-color) 0.945 max(0.008, calc(c * 0.10)) h);
|
|
177
|
-
--theme-color-chrome: color-mix(in oklch, var(--custom-product-brand-color) 10%, white);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.theme-custom.dark,
|
|
181
|
-
.dark.theme-custom {
|
|
182
|
-
--ring: var(--brand-color);
|
|
183
|
-
--background: oklch(from var(--custom-product-brand-color) 0.20 max(0.008, calc(c * 0.10)) h);
|
|
184
|
-
--sidebar: oklch(from var(--custom-product-brand-color) 0.245 max(0.015, calc(c * 0.18)) h);
|
|
185
|
-
--sidebar-accent: oklch(from var(--custom-product-brand-color) 0.30 max(0.012, calc(c * 0.14)) h);
|
|
186
|
-
--sidebar-border: oklch(from var(--custom-product-brand-color) 0.38 max(0.010, calc(c * 0.12)) h);
|
|
187
|
-
--secondary: oklch(from var(--custom-product-brand-color) 0.31 max(0.04, calc(c * 0.40)) h);
|
|
188
|
-
--muted: oklch(from var(--custom-product-brand-color) 0.31 max(0.04, calc(c * 0.40)) h);
|
|
189
|
-
--accent: oklch(from var(--custom-product-brand-color) 0.33 max(0.06, calc(c * 0.50)) h);
|
|
190
|
-
--theme-color-chrome: color-mix(in oklch, var(--custom-product-brand-color) 12%, black);
|
|
191
|
-
--brand-tint: oklch(from var(--custom-product-brand-color) 0.28 max(0.014, calc(c * 0.20)) h);
|
|
192
|
-
--brand-tint-light: oklch(from var(--custom-product-brand-color) 0.30 max(0.014, calc(c * 0.20)) h);
|
|
193
|
-
--brand-tint-subtle: oklch(from var(--custom-product-brand-color) 0.24 max(0.018, calc(c * 0.28)) h);
|
|
194
|
-
--card: oklch(from var(--custom-product-brand-color) 0.27 max(0.012, calc(c * 0.16)) h);
|
|
195
|
-
--secondary-panel-bg: oklch(from var(--custom-product-brand-color) 0.262 max(0.012, calc(c * 0.14)) h);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/* Nested secondary panel — always paint from token (not Tailwind arbitrary var) */
|
|
199
|
-
[data-slot="secondary-panel"][data-state="open"] {
|
|
200
|
-
background-color: var(--secondary-panel-bg);
|
|
201
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
|
|
3
|
-
import * as React from "react"
|
|
4
|
-
import { usePathname } from "next/navigation"
|
|
5
|
-
|
|
6
|
-
import { useSecondaryPanel } from "@/components/secondary-panel"
|
|
7
|
-
import { LIST_HUB_PATH } from "@/lib/list-hub-nav"
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Keeps the List hub secondary panel open on `/data-list` while scope links update in place.
|
|
11
|
-
*/
|
|
12
|
-
export default function DataListLayout({ children }: { children: React.ReactNode }) {
|
|
13
|
-
const pathname = usePathname()
|
|
14
|
-
const { openPanel, closePanel, activePanel } = useSecondaryPanel()
|
|
15
|
-
const closePanelRef = React.useRef(closePanel)
|
|
16
|
-
const openPanelRef = React.useRef(openPanel)
|
|
17
|
-
|
|
18
|
-
React.useEffect(() => {
|
|
19
|
-
closePanelRef.current = closePanel
|
|
20
|
-
openPanelRef.current = openPanel
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
React.useEffect(() => {
|
|
24
|
-
return () => {
|
|
25
|
-
closePanelRef.current({ mainSidebar: "leave" })
|
|
26
|
-
}
|
|
27
|
-
}, [])
|
|
28
|
-
|
|
29
|
-
React.useEffect(() => {
|
|
30
|
-
const normalized =
|
|
31
|
-
pathname.length > 1 && pathname.endsWith("/") ? pathname.slice(0, -1) : pathname
|
|
32
|
-
if (normalized !== LIST_HUB_PATH) {
|
|
33
|
-
closePanelRef.current({ mainSidebar: "leave" })
|
|
34
|
-
return undefined
|
|
35
|
-
}
|
|
36
|
-
if (activePanel !== "list-hub") {
|
|
37
|
-
openPanelRef.current("list-hub")
|
|
38
|
-
}
|
|
39
|
-
return undefined
|
|
40
|
-
}, [pathname, activePanel])
|
|
41
|
-
|
|
42
|
-
return children
|
|
43
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ListHubClient } from "@/components/list-hub-client"
|
|
2
|
-
import { PrimaryPageTemplate } from "@/components/templates/primary-page-template"
|
|
3
|
-
|
|
4
|
-
export default function DataListPage() {
|
|
5
|
-
return (
|
|
6
|
-
<PrimaryPageTemplate siteHeader={{ title: "List hub" }}>
|
|
7
|
-
<ListHubClient />
|
|
8
|
-
</PrimaryPageTemplate>
|
|
9
|
-
)
|
|
10
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import Link from "next/link"
|
|
2
|
-
import { PrimaryPageTemplate } from "@/components/templates/primary-page-template"
|
|
3
|
-
import { Button } from "@/components/ui/button"
|
|
4
|
-
|
|
5
|
-
const LINKS = [
|
|
6
|
-
{ href: "/dashboard", label: "Dashboard", description: "Metrics, charts, and layout patterns." },
|
|
7
|
-
{ href: "/data-list", label: "List hub", description: "Table, list, board, and dashboard views on shared state." },
|
|
8
|
-
{ href: "/question-bank", label: "Question bank", description: "Discovery hub for browsing folders, recents, and AI-assisted create/import flows." },
|
|
9
|
-
{ href: "/question-bank/library", label: "Question library", description: "Folders, OS folder view, panel, and tree demos on mock items." },
|
|
10
|
-
{ href: "/examples/focused-workflow", label: "Focused workflow", description: "Empty, step wizard, and sidebar section layouts for large forms." },
|
|
11
|
-
{ href: "/settings", label: "Settings", description: "Appearance, tours, and shell preferences." },
|
|
12
|
-
{ href: "/help", label: "Help", description: "Support and documentation entry points." },
|
|
13
|
-
] as const
|
|
14
|
-
|
|
15
|
-
export default function ExamplesPage() {
|
|
16
|
-
return (
|
|
17
|
-
<PrimaryPageTemplate
|
|
18
|
-
siteHeader={{ title: "Patterns" }}
|
|
19
|
-
maxWidthClassName="max-w-3xl"
|
|
20
|
-
contentClassName="px-4 lg:px-6 py-8"
|
|
21
|
-
bodyClassName="overflow-y-auto"
|
|
22
|
-
>
|
|
23
|
-
<p className="text-sm text-muted-foreground mb-6">
|
|
24
|
-
This workspace ships neutral chrome so you can reuse layouts, data views, and tokens as a design system.
|
|
25
|
-
</p>
|
|
26
|
-
<ul className="flex flex-col gap-3" role="list">
|
|
27
|
-
{LINKS.map((item) => (
|
|
28
|
-
<li key={item.href}>
|
|
29
|
-
<Button variant="outline" className="h-auto w-full justify-start gap-3 py-4 px-4" asChild>
|
|
30
|
-
<Link href={item.href}>
|
|
31
|
-
<span className="flex min-w-0 flex-1 flex-col items-start gap-0.5 text-left">
|
|
32
|
-
<span className="font-medium text-foreground">{item.label}</span>
|
|
33
|
-
<span className="text-xs font-normal text-muted-foreground">{item.description}</span>
|
|
34
|
-
</span>
|
|
35
|
-
<i className="fa-light fa-arrow-right shrink-0 text-muted-foreground" aria-hidden="true" />
|
|
36
|
-
</Link>
|
|
37
|
-
</Button>
|
|
38
|
-
</li>
|
|
39
|
-
))}
|
|
40
|
-
</ul>
|
|
41
|
-
</PrimaryPageTemplate>
|
|
42
|
-
)
|
|
43
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Suspense } from "react"
|
|
2
|
-
|
|
3
|
-
import { QuestionBankClient } from "@/components/question-bank-client"
|
|
4
|
-
import { DedicatedSearchLoadingFallback } from "@/components/templates/page-loading-shell"
|
|
5
|
-
|
|
6
|
-
/** Discovery hub composer results — same hub chrome as the library, distinct from `/question-bank/list`. */
|
|
7
|
-
export default function QuestionBankHubFindPage() {
|
|
8
|
-
return (
|
|
9
|
-
<Suspense fallback={<DedicatedSearchLoadingFallback />}>
|
|
10
|
-
<QuestionBankClient />
|
|
11
|
-
</Suspense>
|
|
12
|
-
)
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Suspense } from "react"
|
|
2
|
-
|
|
3
|
-
import { QuestionBankClient } from "@/components/question-bank-client"
|
|
4
|
-
import { PrimaryListHubLoadingFallback } from "@/components/templates/page-loading-shell"
|
|
5
|
-
|
|
6
|
-
export default function QuestionBankLibraryPage() {
|
|
7
|
-
return (
|
|
8
|
-
<Suspense fallback={<PrimaryListHubLoadingFallback />}>
|
|
9
|
-
<QuestionBankClient />
|
|
10
|
-
</Suspense>
|
|
11
|
-
)
|
|
12
|
-
}
|