@adea-ai/ui 0.152.4 → 0.153.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/README.md +469 -580
- package/dist/components/composites/account-menu/account-menu.d.ts +5 -0
- package/dist/components/composites/account-menu/account-menu.d.ts.map +1 -1
- package/dist/components/composites/account-menu/account-menu.js +37 -13
- package/dist/components/composites/account-menu/account-menu.js.map +1 -1
- package/dist/components/composites/action-button/action-button.d.ts +2 -1
- package/dist/components/composites/action-button/action-button.d.ts.map +1 -1
- package/dist/components/composites/action-button/action-button.js +92 -66
- package/dist/components/composites/action-button/action-button.js.map +1 -1
- package/dist/components/composites/appearance-editor/accent-swatch-groups.d.ts +3 -3
- package/dist/components/composites/appearance-editor/accent-swatch-groups.js +1 -1
- package/dist/components/composites/appearance-editor/accent-swatch-groups.js.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-choices.d.ts +1 -1
- package/dist/components/composites/appearance-editor/appearance-choices.js +1 -1
- package/dist/components/composites/appearance-editor/appearance-choices.js.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-editor.d.ts.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-editor.js +57 -57
- package/dist/components/composites/appearance-editor/appearance-editor.js.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-rows.d.ts.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-rows.js +9 -9
- package/dist/components/composites/appearance-editor/appearance-rows.js.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-types.d.ts +7 -7
- package/dist/components/composites/appearance-editor/theme-preview.d.ts +1 -1
- package/dist/components/composites/appearance-editor/theme-preview.js +1 -1
- package/dist/components/composites/appearance-editor/theme-preview.js.map +1 -1
- package/dist/components/composites/catalog-browser/catalog-browser.d.ts.map +1 -1
- package/dist/components/composites/catalog-browser/catalog-browser.js +6 -10
- package/dist/components/composites/catalog-browser/catalog-browser.js.map +1 -1
- package/dist/components/composites/catalog-browser/catalog-detail.d.ts.map +1 -1
- package/dist/components/composites/catalog-browser/catalog-detail.js +36 -36
- package/dist/components/composites/catalog-browser/catalog-detail.js.map +1 -1
- package/dist/components/composites/chain-of-thought/chain-of-thought.d.ts +4 -4
- package/dist/components/composites/chain-of-thought/chain-of-thought.js.map +1 -1
- package/dist/components/composites/chat/chat.d.ts.map +1 -1
- package/dist/components/composites/chat/chat.js +33 -37
- package/dist/components/composites/chat/chat.js.map +1 -1
- package/dist/components/composites/checkpoint/checkpoint-model.d.ts +3 -3
- package/dist/components/composites/checkpoint/checkpoint-model.js +2 -2
- package/dist/components/composites/checkpoint/checkpoint-model.js.map +1 -1
- package/dist/components/composites/checkpoint/checkpoint.d.ts +2 -2
- package/dist/components/composites/checkpoint/checkpoint.js.map +1 -1
- package/dist/components/composites/confirmation/confirmation.d.ts.map +1 -1
- package/dist/components/composites/confirmation/confirmation.js +1 -1
- package/dist/components/composites/confirmation/confirmation.js.map +1 -1
- package/dist/components/composites/context/context.d.ts +2 -2
- package/dist/components/composites/context/context.js.map +1 -1
- package/dist/components/composites/file-tree/build-file-tree.d.ts +1 -1
- package/dist/components/composites/file-tree/build-file-tree.js +1 -1
- package/dist/components/composites/file-tree/build-file-tree.js.map +1 -1
- package/dist/components/composites/file-tree/file-tree.d.ts.map +1 -1
- package/dist/components/composites/file-tree/file-tree.js +7 -3
- package/dist/components/composites/file-tree/file-tree.js.map +1 -1
- package/dist/components/composites/icon-picker/icon-picker.js +1 -3
- package/dist/components/composites/icon-picker/icon-picker.js.map +1 -1
- package/dist/components/composites/inline-citation/citation.d.ts +1 -1
- package/dist/components/composites/inline-citation/citation.js +1 -1
- package/dist/components/composites/inline-citation/citation.js.map +1 -1
- package/dist/components/composites/inline-citation/inline-citation.d.ts +2 -2
- package/dist/components/composites/inline-citation/inline-citation.js.map +1 -1
- package/dist/components/composites/list-row/list-row-control.d.ts.map +1 -1
- package/dist/components/composites/list-row/list-row-control.js +22 -22
- package/dist/components/composites/list-row/list-row-control.js.map +1 -1
- package/dist/components/composites/list-row/list-row.d.ts +5 -0
- package/dist/components/composites/list-row/list-row.d.ts.map +1 -1
- package/dist/components/composites/list-row/list-row.js +75 -83
- package/dist/components/composites/list-row/list-row.js.map +1 -1
- package/dist/components/composites/message-scroller/message-scroller.d.ts +1 -1
- package/dist/components/composites/message-scroller/message-scroller.js.map +1 -1
- package/dist/components/composites/model-selector/model-selector.d.ts +4 -4
- package/dist/components/composites/model-selector/model-selector.js.map +1 -1
- package/dist/components/composites/model-selector/models.d.ts +2 -2
- package/dist/components/composites/model-selector/models.js +1 -1
- package/dist/components/composites/model-selector/models.js.map +1 -1
- package/dist/components/composites/plan/plan.d.ts.map +1 -1
- package/dist/components/composites/plan/plan.js +17 -15
- package/dist/components/composites/plan/plan.js.map +1 -1
- package/dist/components/composites/queue/queue.d.ts.map +1 -1
- package/dist/components/composites/queue/queue.js +5 -7
- package/dist/components/composites/queue/queue.js.map +1 -1
- package/dist/components/composites/reasoning/reasoning.d.ts +4 -4
- package/dist/components/composites/reasoning/reasoning.js +4 -4
- package/dist/components/composites/reasoning/reasoning.js.map +1 -1
- package/dist/components/composites/settings/settings-navigation.d.ts.map +1 -1
- package/dist/components/composites/settings/settings-navigation.js +63 -14
- package/dist/components/composites/settings/settings-navigation.js.map +1 -1
- package/dist/components/composites/settings/settings.d.ts.map +1 -1
- package/dist/components/composites/settings/settings.js +32 -32
- package/dist/components/composites/settings/settings.js.map +1 -1
- package/dist/components/composites/sources/source.d.ts +1 -1
- package/dist/components/composites/sources/source.js.map +1 -1
- package/dist/components/composites/sources/sources.d.ts +2 -2
- package/dist/components/composites/sources/sources.js.map +1 -1
- package/dist/components/composites/stack-trace/parse-stack-trace.d.ts +3 -3
- package/dist/components/composites/stack-trace/parse-stack-trace.js +4 -4
- package/dist/components/composites/stack-trace/parse-stack-trace.js.map +1 -1
- package/dist/components/composites/stack-trace/stack-trace.d.ts +3 -3
- package/dist/components/composites/stack-trace/stack-trace.js.map +1 -1
- package/dist/components/composites/stat/stat.d.ts.map +1 -1
- package/dist/components/composites/stat/stat.js +14 -16
- package/dist/components/composites/stat/stat.js.map +1 -1
- package/dist/components/composites/subagent/subagent.d.ts.map +1 -1
- package/dist/components/composites/subagent/subagent.js +6 -4
- package/dist/components/composites/subagent/subagent.js.map +1 -1
- package/dist/components/composites/task/task.d.ts +1 -1
- package/dist/components/composites/task/task.js.map +1 -1
- package/dist/components/composites/terminal/ansi.d.ts +3 -3
- package/dist/components/composites/terminal/ansi.js.map +1 -1
- package/dist/components/composites/terminal/terminal-model.d.ts +3 -3
- package/dist/components/composites/terminal/terminal-model.d.ts.map +1 -1
- package/dist/components/composites/terminal/terminal-model.js +1 -1
- package/dist/components/composites/terminal/terminal-model.js.map +1 -1
- package/dist/components/composites/terminal/terminal.d.ts.map +1 -1
- package/dist/components/composites/terminal/terminal.js +24 -11
- package/dist/components/composites/terminal/terminal.js.map +1 -1
- package/dist/components/composites/test-results/test-results-model.d.ts +4 -4
- package/dist/components/composites/test-results/test-results-model.js +2 -2
- package/dist/components/composites/test-results/test-results-model.js.map +1 -1
- package/dist/components/composites/test-results/test-results.d.ts +1 -1
- package/dist/components/composites/test-results/test-results.js.map +1 -1
- package/dist/components/composites/tool/tool.d.ts +4 -4
- package/dist/components/composites/tool/tool.js.map +1 -1
- package/dist/components/composites/tree/tree.d.ts +1 -1
- package/dist/components/composites/tree/tree.d.ts.map +1 -1
- package/dist/components/composites/tree/tree.js +25 -18
- package/dist/components/composites/tree/tree.js.map +1 -1
- package/dist/components/composites/update-dialog/channel-control.d.ts +10 -4
- package/dist/components/composites/update-dialog/channel-control.d.ts.map +1 -1
- package/dist/components/composites/update-dialog/channel-control.js +14 -19
- package/dist/components/composites/update-dialog/channel-control.js.map +1 -1
- package/dist/components/composites/update-dialog/index.d.ts +1 -1
- package/dist/components/composites/update-dialog/index.d.ts.map +1 -1
- package/dist/components/composites/update-dialog/update-dialog.js +4 -5
- package/dist/components/composites/update-dialog/update-dialog.js.map +1 -1
- package/dist/components/composites/workspace-mark/workspace-mark.d.ts.map +1 -1
- package/dist/components/composites/workspace-mark/workspace-mark.js +19 -20
- package/dist/components/composites/workspace-mark/workspace-mark.js.map +1 -1
- package/dist/components/conversation/busy-send-button.d.ts.map +1 -1
- package/dist/components/conversation/busy-send-button.js +18 -20
- package/dist/components/conversation/busy-send-button.js.map +1 -1
- package/dist/components/conversation/composer-menu.d.ts +3 -3
- package/dist/components/conversation/composer-menu.js +3 -3
- package/dist/components/conversation/composer-menu.js.map +1 -1
- package/dist/components/conversation/conversation-avatar.js +2 -4
- package/dist/components/conversation/conversation-avatar.js.map +1 -1
- package/dist/components/conversation/conversation-pane.d.ts.map +1 -1
- package/dist/components/conversation/conversation-pane.js +6 -5
- package/dist/components/conversation/conversation-pane.js.map +1 -1
- package/dist/components/conversation/conversation-surface.js +3 -7
- package/dist/components/conversation/conversation-surface.js.map +1 -1
- package/dist/components/conversation/internal/chat-composer-shell.d.ts.map +1 -1
- package/dist/components/conversation/internal/chat-composer-shell.js +76 -76
- package/dist/components/conversation/internal/chat-composer-shell.js.map +1 -1
- package/dist/components/conversation/message-composer.d.ts.map +1 -1
- package/dist/components/conversation/message-composer.js +32 -38
- package/dist/components/conversation/message-composer.js.map +1 -1
- package/dist/components/conversation/message-row.d.ts.map +1 -1
- package/dist/components/conversation/message-row.js +79 -73
- package/dist/components/conversation/message-row.js.map +1 -1
- package/dist/components/conversation/scroll-follow-core.d.ts +7 -7
- package/dist/components/conversation/scroll-follow-core.js +4 -4
- package/dist/components/conversation/scroll-follow-core.js.map +1 -1
- package/dist/components/conversation/scroll-follow.d.ts.map +1 -1
- package/dist/components/conversation/scroll-follow.js +19 -4
- package/dist/components/conversation/scroll-follow.js.map +1 -1
- package/dist/components/conversation/thread-panel.d.ts.map +1 -1
- package/dist/components/conversation/thread-panel.js +23 -23
- package/dist/components/conversation/thread-panel.js.map +1 -1
- package/dist/components/conversation/transcript-composition.d.ts.map +1 -1
- package/dist/components/conversation/transcript-composition.js +2 -2
- package/dist/components/conversation/transcript-composition.js.map +1 -1
- package/dist/components/layout/app-shell/app-shell.d.ts +1 -1
- package/dist/components/layout/app-shell/app-shell.js +1 -1
- package/dist/components/layout/app-shell/app-shell.js.map +1 -1
- package/dist/components/layout/app-shell/skip-link.d.ts.map +1 -1
- package/dist/components/layout/app-shell/skip-link.js +4 -6
- package/dist/components/layout/app-shell/skip-link.js.map +1 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +17 -17
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/panel/panel.js +2 -4
- package/dist/components/layout/panel/panel.js.map +1 -1
- package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.d.ts.map +1 -1
- package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.js +16 -1
- package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.js.map +1 -1
- package/dist/components/layout/side-rail/side-rail-context.d.ts +1 -1
- package/dist/components/layout/side-rail/side-rail-context.js.map +1 -1
- package/dist/components/layout/side-rail/side-rail.d.ts.map +1 -1
- package/dist/components/layout/side-rail/side-rail.js +35 -34
- package/dist/components/layout/side-rail/side-rail.js.map +1 -1
- package/dist/components/layout/sidebar-nav/sidebar-nav.d.ts.map +1 -1
- package/dist/components/layout/sidebar-nav/sidebar-nav.js +23 -23
- package/dist/components/layout/sidebar-nav/sidebar-nav.js.map +1 -1
- package/dist/components/layout/split-layout/resize-controller-core-retry.d.ts.map +1 -1
- package/dist/components/layout/split-layout/resize-controller-core-retry.js +25 -7
- package/dist/components/layout/split-layout/resize-controller-core-retry.js.map +1 -1
- package/dist/components/layout/split-layout/resize-controller-core.d.ts.map +1 -1
- package/dist/components/layout/split-layout/resize-controller-core.js +25 -7
- package/dist/components/layout/split-layout/resize-controller-core.js.map +1 -1
- package/dist/components/layout/split-layout/split-layout.d.ts.map +1 -1
- package/dist/components/layout/split-layout/split-layout.js +2 -2
- package/dist/components/layout/split-layout/split-layout.js.map +1 -1
- package/dist/components/layout/status-bar/status-bar.d.ts +1 -1
- package/dist/components/layout/status-bar/status-bar.js +1 -1
- package/dist/components/layout/status-bar/status-bar.js.map +1 -1
- package/dist/components/layout/top-bar/top-bar.d.ts.map +1 -1
- package/dist/components/layout/top-bar/top-bar.js +7 -7
- package/dist/components/layout/top-bar/top-bar.js.map +1 -1
- package/dist/components/motion/presence.d.ts +2 -2
- package/dist/components/motion/presence.js.map +1 -1
- package/dist/components/theme/appearance-panel.d.ts +5 -5
- package/dist/components/theme/appearance-panel.js.map +1 -1
- package/dist/components/theme/lazy.d.ts +1 -1
- package/dist/components/theme/lazy.js.map +1 -1
- package/dist/components/theme/theme-catalogue-source.d.ts +2 -2
- package/dist/components/theme/theme-catalogue-source.js +2 -2
- package/dist/components/theme/theme-catalogue-source.js.map +1 -1
- package/dist/components/theme/theme-context.d.ts +2 -2
- package/dist/components/theme/theme-context.js +3 -3
- package/dist/components/theme/theme-context.js.map +1 -1
- package/dist/components/theme/theme-document.d.ts.map +1 -1
- package/dist/components/theme/theme-document.js +14 -9
- package/dist/components/theme/theme-document.js.map +1 -1
- package/dist/components/theme/theme-picker.d.ts +5 -5
- package/dist/components/theme/theme-picker.js.map +1 -1
- package/dist/components/theme/theme-provider-value.d.ts +0 -6
- package/dist/components/theme/theme-provider-value.d.ts.map +1 -1
- package/dist/components/theme/theme-provider-value.js +9 -3
- package/dist/components/theme/theme-provider-value.js.map +1 -1
- package/dist/components/theme/theme-script.d.ts +14 -0
- package/dist/components/theme/theme-script.d.ts.map +1 -1
- package/dist/components/theme/theme-script.js +1 -0
- package/dist/components/theme/theme-script.js.map +1 -1
- package/dist/components/theme/theme-state.d.ts +7 -7
- package/dist/components/theme/theme-state.js.map +1 -1
- package/dist/components/theme/theme-toggle.d.ts +1 -1
- package/dist/components/theme/theme-toggle.js.map +1 -1
- package/dist/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/components/ui/alert/alert.js +4 -3
- package/dist/components/ui/alert/alert.js.map +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog.js +3 -3
- package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/ui/badge/badge.d.ts +1 -1
- package/dist/components/ui/badge/badge.js +2 -2
- package/dist/components/ui/badge/badge.js.map +1 -1
- package/dist/components/ui/board/board.d.ts.map +1 -1
- package/dist/components/ui/board/board.js +10 -6
- package/dist/components/ui/board/board.js.map +1 -1
- package/dist/components/ui/bubble/bubble.d.ts.map +1 -1
- package/dist/components/ui/bubble/bubble.js +6 -4
- package/dist/components/ui/bubble/bubble.js.map +1 -1
- package/dist/components/ui/button/button.js +2 -2
- package/dist/components/ui/button/button.js.map +1 -1
- package/dist/components/ui/button-group/button-group.d.ts +1 -1
- package/dist/components/ui/button-group/button-group.js +1 -1
- package/dist/components/ui/button-group/button-group.js.map +1 -1
- package/dist/components/ui/calendar/calendar.js +6 -6
- package/dist/components/ui/calendar/calendar.js.map +1 -1
- package/dist/components/ui/callout/callout.d.ts +4 -4
- package/dist/components/ui/callout/callout.js +4 -4
- package/dist/components/ui/callout/callout.js.map +1 -1
- package/dist/components/ui/card/card.d.ts +2 -2
- package/dist/components/ui/card/card.js +2 -2
- package/dist/components/ui/card/card.js.map +1 -1
- package/dist/components/ui/carousel/carousel.d.ts +4 -4
- package/dist/components/ui/carousel/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel/carousel.js.map +1 -1
- package/dist/components/ui/chart/chart-options.d.ts +7 -7
- package/dist/components/ui/chart/chart-options.js +9 -9
- package/dist/components/ui/chart/chart-options.js.map +1 -1
- package/dist/components/ui/chart/chart.d.ts.map +1 -1
- package/dist/components/ui/chart/chart.js +16 -7
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox/checkbox.js +8 -6
- package/dist/components/ui/checkbox/checkbox.js.map +1 -1
- package/dist/components/ui/code-block/code-block.d.ts.map +1 -1
- package/dist/components/ui/code-block/code-block.js +8 -6
- package/dist/components/ui/code-block/code-block.js.map +1 -1
- package/dist/components/ui/command/command.d.ts +4 -4
- package/dist/components/ui/command/command.js +4 -4
- package/dist/components/ui/command/command.js.map +1 -1
- package/dist/components/ui/context-menu/context-menu.d.ts +1 -1
- package/dist/components/ui/context-menu/context-menu.js.map +1 -1
- package/dist/components/ui/detail-panel/detail-panel.d.ts.map +1 -1
- package/dist/components/ui/detail-panel/detail-panel.js +13 -13
- package/dist/components/ui/detail-panel/detail-panel.js.map +1 -1
- package/dist/components/ui/dialog/dialog-layer.d.ts +0 -4
- package/dist/components/ui/dialog/dialog-layer.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog-layer.js +17 -1
- package/dist/components/ui/dialog/dialog-layer.js.map +1 -1
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.js +4 -3
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/diff-block/diff-block.d.ts +6 -6
- package/dist/components/ui/diff-block/diff-block.js +3 -3
- package/dist/components/ui/diff-block/diff-block.js.map +1 -1
- package/dist/components/ui/drawer/drawer.d.ts +3 -3
- package/dist/components/ui/drawer/drawer.js +2 -2
- package/dist/components/ui/drawer/drawer.js.map +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +3 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/ui/dropdown-menu/menu-parts.d.ts +3 -3
- package/dist/components/ui/dropdown-menu/menu-parts.js +1 -1
- package/dist/components/ui/dropdown-menu/menu-parts.js.map +1 -1
- package/dist/components/ui/empty/empty-state.d.ts.map +1 -1
- package/dist/components/ui/empty/empty-state.js +33 -36
- package/dist/components/ui/empty/empty-state.js.map +1 -1
- package/dist/components/ui/empty/empty.d.ts +1 -1
- package/dist/components/ui/empty/empty.js +1 -1
- package/dist/components/ui/empty/empty.js.map +1 -1
- package/dist/components/ui/entity-icon/entity-icon.d.ts.map +1 -1
- package/dist/components/ui/entity-icon/entity-icon.js +7 -7
- package/dist/components/ui/entity-icon/entity-icon.js.map +1 -1
- package/dist/components/ui/field/field.d.ts.map +1 -1
- package/dist/components/ui/field/field.js +15 -15
- package/dist/components/ui/field/field.js.map +1 -1
- package/dist/components/ui/field/number-field.d.ts +1 -1
- package/dist/components/ui/field/number-field.js +1 -1
- package/dist/components/ui/field/number-field.js.map +1 -1
- package/dist/components/ui/hover-card/hover-card.d.ts +1 -1
- package/dist/components/ui/hover-card/hover-card.js.map +1 -1
- package/dist/components/ui/input-group/input-group.d.ts +1 -1
- package/dist/components/ui/input-group/input-group.js.map +1 -1
- package/dist/components/ui/input-otp/input-otp.d.ts +1 -1
- package/dist/components/ui/input-otp/input-otp.js.map +1 -1
- package/dist/components/ui/item/item.d.ts.map +1 -1
- package/dist/components/ui/item/item.js +26 -26
- package/dist/components/ui/item/item.js.map +1 -1
- package/dist/components/ui/kbd/kbd.d.ts +2 -2
- package/dist/components/ui/kbd/kbd.js +2 -2
- package/dist/components/ui/kbd/kbd.js.map +1 -1
- package/dist/components/ui/kbd/platform-modifier.d.ts +3 -3
- package/dist/components/ui/kbd/platform-modifier.js +3 -3
- package/dist/components/ui/kbd/platform-modifier.js.map +1 -1
- package/dist/components/ui/label/label.d.ts +1 -1
- package/dist/components/ui/label/label.js +1 -1
- package/dist/components/ui/label/label.js.map +1 -1
- package/dist/components/ui/marker/marker.d.ts.map +1 -1
- package/dist/components/ui/marker/marker.js +17 -19
- package/dist/components/ui/marker/marker.js.map +1 -1
- package/dist/components/ui/menubar/menubar.d.ts +2 -2
- package/dist/components/ui/menubar/menubar.js +1 -1
- package/dist/components/ui/menubar/menubar.js.map +1 -1
- package/dist/components/ui/message/message.d.ts.map +1 -1
- package/dist/components/ui/message/message.js +16 -18
- package/dist/components/ui/message/message.js.map +1 -1
- package/dist/components/ui/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/ui/modal-dialog/modal-dialog.js +7 -11
- package/dist/components/ui/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/ui/native-select/native-select.d.ts +1 -1
- package/dist/components/ui/native-select/native-select.js.map +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu.js +5 -4
- package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -1
- package/dist/components/ui/pagination/pagination.js +2 -4
- package/dist/components/ui/pagination/pagination.js.map +1 -1
- package/dist/components/ui/popover/popover.d.ts.map +1 -1
- package/dist/components/ui/popover/popover.js +11 -4
- package/dist/components/ui/popover/popover.js.map +1 -1
- package/dist/components/ui/progress/progress.d.ts.map +1 -1
- package/dist/components/ui/progress/progress.js +6 -8
- package/dist/components/ui/progress/progress.js.map +1 -1
- package/dist/components/ui/questionnaire/questionnaire.d.ts.map +1 -1
- package/dist/components/ui/questionnaire/questionnaire.js +73 -73
- package/dist/components/ui/questionnaire/questionnaire.js.map +1 -1
- package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group/radio-group.js +12 -6
- package/dist/components/ui/radio-group/radio-group.js.map +1 -1
- package/dist/components/ui/resizable/resizable.d.ts +2 -2
- package/dist/components/ui/resizable/resizable.js +3 -3
- package/dist/components/ui/resizable/resizable.js.map +1 -1
- package/dist/components/ui/select/select.d.ts +3 -3
- package/dist/components/ui/select/select.js +1 -1
- package/dist/components/ui/select/select.js.map +1 -1
- package/dist/components/ui/sheet/sheet.d.ts.map +1 -1
- package/dist/components/ui/sheet/sheet.js +4 -3
- package/dist/components/ui/sheet/sheet.js.map +1 -1
- package/dist/components/ui/skeleton/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton/skeleton.js +1 -1
- package/dist/components/ui/skeleton/skeleton.js.map +1 -1
- package/dist/components/ui/slider/slider.d.ts +1 -1
- package/dist/components/ui/slider/slider.js.map +1 -1
- package/dist/components/ui/spinner/spinner.d.ts +1 -1
- package/dist/components/ui/spinner/spinner.js +1 -1
- package/dist/components/ui/spinner/spinner.js.map +1 -1
- package/dist/components/ui/status-chip/status-chip.d.ts +13 -13
- package/dist/components/ui/status-chip/status-chip.d.ts.map +1 -1
- package/dist/components/ui/status-chip/status-chip.js +11 -11
- package/dist/components/ui/status-chip/status-chip.js.map +1 -1
- package/dist/components/ui/switch/switch.d.ts.map +1 -1
- package/dist/components/ui/switch/switch.js +8 -6
- package/dist/components/ui/switch/switch.js.map +1 -1
- package/dist/components/ui/tabs/tabs.d.ts +4 -4
- package/dist/components/ui/tabs/tabs.js +4 -4
- package/dist/components/ui/tabs/tabs.js.map +1 -1
- package/dist/components/ui/textarea/textarea.d.ts +1 -1
- package/dist/components/ui/textarea/textarea.js +1 -1
- package/dist/components/ui/textarea/textarea.js.map +1 -1
- package/dist/components/ui/toast/toast.d.ts.map +1 -1
- package/dist/components/ui/toast/toast.js +13 -15
- package/dist/components/ui/toast/toast.js.map +1 -1
- package/dist/components/ui/toggle/toggle.d.ts +1 -1
- package/dist/components/ui/toggle/toggle.js +1 -1
- package/dist/components/ui/toggle/toggle.js.map +1 -1
- package/dist/components/ui/tooltip/deferred-tooltip.d.ts +51 -0
- package/dist/components/ui/tooltip/deferred-tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip/deferred-tooltip.js +103 -0
- package/dist/components/ui/tooltip/deferred-tooltip.js.map +1 -0
- package/dist/components/ui/tooltip/index.d.ts +1 -0
- package/dist/components/ui/tooltip/index.d.ts.map +1 -1
- package/dist/components/ui/tooltip/index.js +3 -1
- package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/ui/tooltip/tooltip.js +6 -5
- package/dist/components/ui/tooltip/tooltip.js.map +1 -1
- package/dist/components/ui/trace/trace.d.ts.map +1 -1
- package/dist/components/ui/trace/trace.js +17 -17
- package/dist/components/ui/trace/trace.js.map +1 -1
- package/dist/components/ui/typography/typography.d.ts +3 -3
- package/dist/components/ui/typography/typography.js +5 -5
- package/dist/components/ui/typography/typography.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/lib/accent-presets.d.ts +1 -1
- package/dist/lib/accent-presets.js.map +1 -1
- package/dist/lib/accent-roles.d.ts +2 -2
- package/dist/lib/accent-roles.js +2 -2
- package/dist/lib/accent-roles.js.map +1 -1
- package/dist/lib/appearance-font-settings.d.ts.map +1 -1
- package/dist/lib/appearance-font-settings.js +15 -7
- package/dist/lib/appearance-font-settings.js.map +1 -1
- package/dist/lib/create-poll.d.ts +39 -0
- package/dist/lib/create-poll.d.ts.map +1 -0
- package/dist/lib/create-poll.js +116 -0
- package/dist/lib/create-poll.js.map +1 -0
- package/dist/lib/font-zoom.d.ts +1 -1
- package/dist/lib/font-zoom.js +1 -1
- package/dist/lib/font-zoom.js.map +1 -1
- package/dist/lib/keyed-rows.d.ts +2 -1
- package/dist/lib/keyed-rows.d.ts.map +1 -1
- package/dist/lib/keyed-rows.js +3 -2
- package/dist/lib/keyed-rows.js.map +1 -1
- package/dist/lib/overlay.d.ts +5 -5
- package/dist/lib/overlay.js +5 -5
- package/dist/lib/overlay.js.map +1 -1
- package/dist/lib/preference-store.d.ts +2 -2
- package/dist/lib/preference-store.js +2 -2
- package/dist/lib/preference-store.js.map +1 -1
- package/dist/lib/safe-script.d.ts +2 -2
- package/dist/lib/safe-script.js +2 -2
- package/dist/lib/safe-script.js.map +1 -1
- package/dist/lib/scroll-geometry.d.ts +1 -1
- package/dist/lib/scroll-geometry.js +1 -1
- package/dist/lib/scroll-geometry.js.map +1 -1
- package/dist/lib/text.d.ts +1 -1
- package/dist/lib/text.js +1 -1
- package/dist/lib/text.js.map +1 -1
- package/dist/lib/theme-accents.js +3 -3
- package/dist/lib/theme-accents.js.map +1 -1
- package/dist/lib/theme-css.js.map +1 -1
- package/dist/lib/theme-defaults.d.ts +4 -4
- package/dist/lib/theme-defaults.js +4 -4
- package/dist/lib/theme-defaults.js.map +1 -1
- package/dist/lib/theme-engine-light.js.map +1 -1
- package/dist/lib/theme-engine.d.ts +2 -2
- package/dist/lib/theme-engine.js +2 -2
- package/dist/lib/theme-engine.js.map +1 -1
- package/dist/lib/theme-projection.d.ts +1 -1
- package/dist/lib/theme-projection.js +2 -2
- package/dist/lib/theme-projection.js.map +1 -1
- package/dist/lib/theme-records.d.ts +2 -2
- package/dist/lib/theme-records.js +2 -2
- package/dist/lib/theme-records.js.map +1 -1
- package/dist/lib/theme-types.d.ts +1 -1
- package/dist/lib/theme-types.js.map +1 -1
- package/dist/lib/themes.d.ts +13 -13
- package/dist/lib/themes.js +13 -13
- package/dist/lib/themes.js.map +1 -1
- package/dist/lib/tokens.d.ts +2 -2
- package/dist/lib/tokens.js +1 -1
- package/dist/lib/tokens.js.map +1 -1
- package/dist/lib/tooltip-focus-gate.d.ts +2 -2
- package/dist/lib/tooltip-focus-gate.js +2 -2
- package/dist/lib/tooltip-focus-gate.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/variants.d.ts +4 -4
- package/dist/lib/variants.js +1 -1
- package/dist/lib/variants.js.map +1 -1
- package/dist/lib/version-notes.d.ts +4 -4
- package/dist/lib/version-notes.js +4 -4
- package/dist/lib/version-notes.js.map +1 -1
- package/dist/lint.js.map +1 -1
- package/dist/r/account-menu.json +1 -0
- package/dist/r/lib.json +5 -0
- package/dist/r/registry.json +11 -0
- package/dist/r/src/components/composites/account-menu/account-menu.tsx +22 -2
- package/dist/r/src/components/composites/action-button/action-button.tsx +124 -78
- package/dist/r/src/components/composites/appearance-editor/accent-swatch-groups.tsx +3 -3
- package/dist/r/src/components/composites/appearance-editor/appearance-choices.tsx +3 -3
- package/dist/r/src/components/composites/appearance-editor/appearance-editor.tsx +15 -9
- package/dist/r/src/components/composites/appearance-editor/appearance-rows.tsx +3 -1
- package/dist/r/src/components/composites/appearance-editor/appearance-types.ts +7 -7
- package/dist/r/src/components/composites/appearance-editor/theme-preview.tsx +1 -1
- package/dist/r/src/components/composites/catalog-browser/catalog-browser.tsx +6 -2
- package/dist/r/src/components/composites/catalog-browser/catalog-detail.tsx +15 -6
- package/dist/r/src/components/composites/chain-of-thought/chain-of-thought.tsx +4 -4
- package/dist/r/src/components/composites/chat/chat.tsx +15 -9
- package/dist/r/src/components/composites/checkpoint/checkpoint-model.ts +3 -3
- package/dist/r/src/components/composites/checkpoint/checkpoint.tsx +2 -2
- package/dist/r/src/components/composites/confirmation/confirmation.tsx +8 -4
- package/dist/r/src/components/composites/context/context.tsx +2 -2
- package/dist/r/src/components/composites/file-tree/build-file-tree.ts +1 -1
- package/dist/r/src/components/composites/file-tree/file-tree.tsx +16 -2
- package/dist/r/src/components/composites/icon-picker/icon-picker.tsx +1 -1
- package/dist/r/src/components/composites/inline-citation/citation.ts +1 -1
- package/dist/r/src/components/composites/inline-citation/inline-citation.tsx +2 -2
- package/dist/r/src/components/composites/list-row/list-row-control.tsx +31 -22
- package/dist/r/src/components/composites/list-row/list-row.tsx +69 -73
- package/dist/r/src/components/composites/message-scroller/message-scroller.tsx +1 -1
- package/dist/r/src/components/composites/model-selector/model-selector.tsx +4 -4
- package/dist/r/src/components/composites/model-selector/models.ts +2 -2
- package/dist/r/src/components/composites/plan/plan.tsx +19 -11
- package/dist/r/src/components/composites/queue/queue.tsx +5 -3
- package/dist/r/src/components/composites/reasoning/reasoning.tsx +4 -4
- package/dist/r/src/components/composites/settings/settings-navigation.tsx +57 -17
- package/dist/r/src/components/composites/settings/settings.tsx +14 -6
- package/dist/r/src/components/composites/sources/source.ts +1 -1
- package/dist/r/src/components/composites/sources/sources.tsx +2 -2
- package/dist/r/src/components/composites/stack-trace/parse-stack-trace.ts +7 -7
- package/dist/r/src/components/composites/stack-trace/stack-trace.tsx +3 -3
- package/dist/r/src/components/composites/stat/stat.tsx +20 -16
- package/dist/r/src/components/composites/subagent/subagent.tsx +6 -4
- package/dist/r/src/components/composites/task/task.tsx +1 -1
- package/dist/r/src/components/composites/terminal/ansi.ts +3 -3
- package/dist/r/src/components/composites/terminal/terminal-model.ts +3 -3
- package/dist/r/src/components/composites/terminal/terminal.tsx +24 -12
- package/dist/r/src/components/composites/test-results/test-results-model.ts +4 -4
- package/dist/r/src/components/composites/test-results/test-results.tsx +1 -1
- package/dist/r/src/components/composites/tool/tool.tsx +4 -4
- package/dist/r/src/components/composites/tree/tree.tsx +31 -15
- package/dist/r/src/components/composites/update-dialog/channel-control.tsx +17 -8
- package/dist/r/src/components/composites/update-dialog/index.ts +1 -0
- package/dist/r/src/components/composites/update-dialog/update-dialog.tsx +7 -7
- package/dist/r/src/components/composites/workspace-mark/workspace-mark.tsx +15 -12
- package/dist/r/src/components/conversation/busy-send-button.tsx +6 -2
- package/dist/r/src/components/conversation/composer-menu.tsx +3 -3
- package/dist/r/src/components/conversation/conversation-avatar.tsx +1 -1
- package/dist/r/src/components/conversation/conversation-pane.tsx +8 -5
- package/dist/r/src/components/conversation/conversation-surface.tsx +2 -2
- package/dist/r/src/components/conversation/internal/chat-composer-shell.tsx +18 -12
- package/dist/r/src/components/conversation/message-composer.tsx +4 -6
- package/dist/r/src/components/conversation/message-row.tsx +34 -26
- package/dist/r/src/components/conversation/scroll-follow-core.ts +8 -8
- package/dist/r/src/components/conversation/scroll-follow.ts +24 -8
- package/dist/r/src/components/conversation/thread-panel.tsx +7 -3
- package/dist/r/src/components/conversation/transcript-composition.tsx +4 -2
- package/dist/r/src/components/layout/app-shell/app-shell.tsx +1 -1
- package/dist/r/src/components/layout/app-shell/skip-link.tsx +3 -2
- package/dist/r/src/components/layout/page/page.tsx +15 -11
- package/dist/r/src/components/layout/panel/panel.tsx +1 -1
- package/dist/r/src/components/layout/pixel-resize-handle/pixel-resize-handle.tsx +21 -1
- package/dist/r/src/components/layout/side-rail/side-rail-context.ts +1 -1
- package/dist/r/src/components/layout/side-rail/side-rail.tsx +38 -22
- package/dist/r/src/components/layout/sidebar-nav/sidebar-nav.tsx +22 -16
- package/dist/r/src/components/layout/split-layout/resize-controller-core-retry.tsx +25 -7
- package/dist/r/src/components/layout/split-layout/resize-controller-core.tsx +25 -7
- package/dist/r/src/components/layout/split-layout/split-layout.tsx +6 -2
- package/dist/r/src/components/layout/status-bar/status-bar.tsx +1 -1
- package/dist/r/src/components/layout/top-bar/top-bar.tsx +8 -6
- package/dist/r/src/components/motion/presence.tsx +2 -2
- package/dist/r/src/components/theme/appearance-panel.tsx +5 -5
- package/dist/r/src/components/theme/lazy.ts +1 -1
- package/dist/r/src/components/theme/theme-catalogue-source.ts +2 -2
- package/dist/r/src/components/theme/theme-context.ts +3 -3
- package/dist/r/src/components/theme/theme-document.ts +22 -11
- package/dist/r/src/components/theme/theme-picker.tsx +5 -5
- package/dist/r/src/components/theme/theme-provider-value.ts +15 -3
- package/dist/r/src/components/theme/theme-script.ts +20 -0
- package/dist/r/src/components/theme/theme-state.ts +7 -7
- package/dist/r/src/components/theme/theme-toggle.tsx +1 -1
- package/dist/r/src/components/ui/alert/alert.tsx +4 -3
- package/dist/r/src/components/ui/alert-dialog/alert-dialog.tsx +4 -4
- package/dist/r/src/components/ui/badge/badge.tsx +2 -2
- package/dist/r/src/components/ui/board/board.tsx +17 -5
- package/dist/r/src/components/ui/bubble/bubble.tsx +6 -4
- package/dist/r/src/components/ui/button/button.tsx +2 -2
- package/dist/r/src/components/ui/button-group/button-group.tsx +1 -1
- package/dist/r/src/components/ui/calendar/calendar.tsx +2 -2
- package/dist/r/src/components/ui/callout/callout.tsx +4 -4
- package/dist/r/src/components/ui/card/card.tsx +2 -2
- package/dist/r/src/components/ui/carousel/carousel.tsx +6 -6
- package/dist/r/src/components/ui/chart/chart-options.ts +9 -9
- package/dist/r/src/components/ui/chart/chart.tsx +14 -1
- package/dist/r/src/components/ui/checkbox/checkbox.tsx +9 -6
- package/dist/r/src/components/ui/code-block/code-block.tsx +14 -7
- package/dist/r/src/components/ui/command/command.tsx +7 -7
- package/dist/r/src/components/ui/context-menu/context-menu.tsx +1 -1
- package/dist/r/src/components/ui/detail-panel/detail-panel.tsx +5 -3
- package/dist/r/src/components/ui/dialog/dialog-layer.tsx +27 -1
- package/dist/r/src/components/ui/dialog/dialog.tsx +4 -3
- package/dist/r/src/components/ui/diff-block/diff-block.tsx +6 -6
- package/dist/r/src/components/ui/drawer/drawer.tsx +3 -3
- package/dist/r/src/components/ui/dropdown-menu/dropdown-menu.tsx +6 -6
- package/dist/r/src/components/ui/dropdown-menu/menu-parts.tsx +5 -5
- package/dist/r/src/components/ui/empty/empty-state.tsx +23 -18
- package/dist/r/src/components/ui/empty/empty.tsx +1 -1
- package/dist/r/src/components/ui/entity-icon/entity-icon.tsx +5 -1
- package/dist/r/src/components/ui/field/field.tsx +15 -7
- package/dist/r/src/components/ui/field/number-field.tsx +1 -1
- package/dist/r/src/components/ui/hover-card/hover-card.tsx +1 -1
- package/dist/r/src/components/ui/input-group/input-group.tsx +1 -1
- package/dist/r/src/components/ui/input-otp/input-otp.tsx +1 -1
- package/dist/r/src/components/ui/item/item.tsx +24 -18
- package/dist/r/src/components/ui/kbd/kbd.tsx +2 -2
- package/dist/r/src/components/ui/kbd/platform-modifier.ts +3 -3
- package/dist/r/src/components/ui/label/label.tsx +1 -1
- package/dist/r/src/components/ui/marker/marker.tsx +9 -5
- package/dist/r/src/components/ui/menubar/menubar.tsx +2 -2
- package/dist/r/src/components/ui/message/message.tsx +14 -13
- package/dist/r/src/components/ui/modal-dialog/modal-dialog.tsx +9 -5
- package/dist/r/src/components/ui/native-select/native-select.tsx +1 -1
- package/dist/r/src/components/ui/navigation-menu/navigation-menu.tsx +5 -4
- package/dist/r/src/components/ui/pagination/pagination.tsx +1 -1
- package/dist/r/src/components/ui/popover/popover.tsx +4 -2
- package/dist/r/src/components/ui/progress/progress.tsx +5 -3
- package/dist/r/src/components/ui/questionnaire/questionnaire.tsx +10 -5
- package/dist/r/src/components/ui/radio-group/radio-group.tsx +9 -6
- package/dist/r/src/components/ui/resizable/resizable.tsx +5 -5
- package/dist/r/src/components/ui/select/select.tsx +4 -4
- package/dist/r/src/components/ui/sheet/sheet.tsx +4 -3
- package/dist/r/src/components/ui/skeleton/skeleton.tsx +1 -1
- package/dist/r/src/components/ui/slider/slider.tsx +1 -1
- package/dist/r/src/components/ui/spinner/spinner.tsx +1 -1
- package/dist/r/src/components/ui/status-chip/status-chip.tsx +13 -13
- package/dist/r/src/components/ui/switch/switch.tsx +9 -6
- package/dist/r/src/components/ui/tabs/tabs.tsx +4 -4
- package/dist/r/src/components/ui/textarea/textarea.tsx +1 -1
- package/dist/r/src/components/ui/toast/toast.tsx +6 -4
- package/dist/r/src/components/ui/toggle/toggle.tsx +1 -1
- package/dist/r/src/components/ui/tooltip/deferred-tooltip.tsx +131 -0
- package/dist/r/src/components/ui/tooltip/index.ts +1 -0
- package/dist/r/src/components/ui/tooltip/tooltip.tsx +6 -4
- package/dist/r/src/components/ui/trace/trace.tsx +13 -9
- package/dist/r/src/components/ui/typography/typography.tsx +5 -5
- package/dist/r/src/lib/accent-presets.ts +1 -1
- package/dist/r/src/lib/accent-roles.ts +2 -2
- package/dist/r/src/lib/appearance-font-settings.ts +18 -7
- package/dist/r/src/lib/create-poll.ts +150 -0
- package/dist/r/src/lib/font-zoom.ts +3 -3
- package/dist/r/src/lib/keyed-rows.ts +3 -2
- package/dist/r/src/lib/overlay.ts +5 -5
- package/dist/r/src/lib/preference-store.ts +2 -2
- package/dist/r/src/lib/safe-script.ts +2 -2
- package/dist/r/src/lib/scroll-geometry.ts +1 -1
- package/dist/r/src/lib/text.ts +1 -1
- package/dist/r/src/lib/theme-accents.ts +3 -3
- package/dist/r/src/lib/theme-css.ts +2 -2
- package/dist/r/src/lib/theme-defaults.ts +4 -4
- package/dist/r/src/lib/theme-engine-light.ts +2 -2
- package/dist/r/src/lib/theme-engine.ts +2 -2
- package/dist/r/src/lib/theme-projection.ts +2 -2
- package/dist/r/src/lib/theme-records.ts +2 -2
- package/dist/r/src/lib/theme-types.ts +1 -1
- package/dist/r/src/lib/themes.ts +14 -14
- package/dist/r/src/lib/tokens.ts +2 -2
- package/dist/r/src/lib/tooltip-focus-gate.ts +11 -11
- package/dist/r/src/lib/utils.ts +1 -1
- package/dist/r/src/lib/variants.ts +4 -4
- package/dist/r/src/lib/version-notes.ts +4 -4
- package/dist/r/src/styles/base.css +12 -43
- package/dist/r/src/styles/fonts.css +1 -1
- package/dist/r/src/styles/theme.css +35 -35
- package/dist/r/tooltip.json +5 -0
- package/package.json +2 -1
- package/registry.json +11 -0
- package/src/components/composites/account-menu/account-menu.tsx +22 -2
- package/src/components/composites/action-button/action-button.tsx +124 -78
- package/src/components/composites/appearance-editor/accent-swatch-groups.tsx +3 -3
- package/src/components/composites/appearance-editor/appearance-choices.tsx +3 -3
- package/src/components/composites/appearance-editor/appearance-editor.tsx +15 -9
- package/src/components/composites/appearance-editor/appearance-rows.tsx +3 -1
- package/src/components/composites/appearance-editor/appearance-types.ts +7 -7
- package/src/components/composites/appearance-editor/theme-preview.tsx +1 -1
- package/src/components/composites/catalog-browser/catalog-browser.tsx +6 -2
- package/src/components/composites/catalog-browser/catalog-detail.tsx +15 -6
- package/src/components/composites/chain-of-thought/chain-of-thought.tsx +4 -4
- package/src/components/composites/chat/chat.tsx +15 -9
- package/src/components/composites/checkpoint/checkpoint-model.ts +3 -3
- package/src/components/composites/checkpoint/checkpoint.tsx +2 -2
- package/src/components/composites/confirmation/confirmation.tsx +8 -4
- package/src/components/composites/context/context.tsx +2 -2
- package/src/components/composites/file-tree/build-file-tree.ts +1 -1
- package/src/components/composites/file-tree/file-tree.tsx +16 -2
- package/src/components/composites/icon-picker/icon-picker.tsx +1 -1
- package/src/components/composites/inline-citation/citation.ts +1 -1
- package/src/components/composites/inline-citation/inline-citation.tsx +2 -2
- package/src/components/composites/list-row/list-row-control.tsx +31 -22
- package/src/components/composites/list-row/list-row.tsx +69 -73
- package/src/components/composites/message-scroller/message-scroller.tsx +1 -1
- package/src/components/composites/model-selector/model-selector.tsx +4 -4
- package/src/components/composites/model-selector/models.ts +2 -2
- package/src/components/composites/plan/plan.tsx +19 -11
- package/src/components/composites/queue/queue.tsx +5 -3
- package/src/components/composites/reasoning/reasoning.tsx +4 -4
- package/src/components/composites/settings/settings-navigation.tsx +57 -17
- package/src/components/composites/settings/settings.tsx +14 -6
- package/src/components/composites/sources/source.ts +1 -1
- package/src/components/composites/sources/sources.tsx +2 -2
- package/src/components/composites/stack-trace/parse-stack-trace.ts +7 -7
- package/src/components/composites/stack-trace/stack-trace.tsx +3 -3
- package/src/components/composites/stat/stat.tsx +20 -16
- package/src/components/composites/subagent/subagent.tsx +6 -4
- package/src/components/composites/task/task.tsx +1 -1
- package/src/components/composites/terminal/ansi.ts +3 -3
- package/src/components/composites/terminal/terminal-model.ts +3 -3
- package/src/components/composites/terminal/terminal.tsx +24 -12
- package/src/components/composites/test-results/test-results-model.ts +4 -4
- package/src/components/composites/test-results/test-results.tsx +1 -1
- package/src/components/composites/tool/tool.tsx +4 -4
- package/src/components/composites/tree/tree.tsx +31 -15
- package/src/components/composites/update-dialog/channel-control.tsx +17 -8
- package/src/components/composites/update-dialog/index.ts +1 -0
- package/src/components/composites/update-dialog/update-dialog.tsx +7 -7
- package/src/components/composites/workspace-mark/workspace-mark.tsx +15 -12
- package/src/components/conversation/busy-send-button.tsx +6 -2
- package/src/components/conversation/composer-menu.tsx +3 -3
- package/src/components/conversation/conversation-avatar.tsx +1 -1
- package/src/components/conversation/conversation-pane.tsx +8 -5
- package/src/components/conversation/conversation-surface.tsx +2 -2
- package/src/components/conversation/internal/chat-composer-shell.tsx +18 -12
- package/src/components/conversation/message-composer.tsx +4 -6
- package/src/components/conversation/message-row.tsx +34 -26
- package/src/components/conversation/scroll-follow-core.ts +8 -8
- package/src/components/conversation/scroll-follow.ts +24 -8
- package/src/components/conversation/thread-panel.tsx +7 -3
- package/src/components/conversation/transcript-composition.tsx +4 -2
- package/src/components/layout/app-shell/app-shell.tsx +1 -1
- package/src/components/layout/app-shell/skip-link.tsx +3 -2
- package/src/components/layout/page/page.tsx +15 -11
- package/src/components/layout/panel/panel.tsx +1 -1
- package/src/components/layout/pixel-resize-handle/pixel-resize-handle.tsx +21 -1
- package/src/components/layout/side-rail/side-rail-context.ts +1 -1
- package/src/components/layout/side-rail/side-rail.tsx +38 -22
- package/src/components/layout/sidebar-nav/sidebar-nav.tsx +22 -16
- package/src/components/layout/split-layout/resize-controller-core-retry.tsx +25 -7
- package/src/components/layout/split-layout/resize-controller-core.tsx +25 -7
- package/src/components/layout/split-layout/split-layout.tsx +6 -2
- package/src/components/layout/status-bar/status-bar.tsx +1 -1
- package/src/components/layout/top-bar/top-bar.tsx +8 -6
- package/src/components/motion/presence.tsx +2 -2
- package/src/components/theme/appearance-panel.tsx +5 -5
- package/src/components/theme/lazy.ts +1 -1
- package/src/components/theme/theme-catalogue-source.ts +2 -2
- package/src/components/theme/theme-context.ts +3 -3
- package/src/components/theme/theme-document.ts +22 -11
- package/src/components/theme/theme-picker.tsx +5 -5
- package/src/components/theme/theme-provider-value.ts +15 -3
- package/src/components/theme/theme-script.ts +20 -0
- package/src/components/theme/theme-state.ts +7 -7
- package/src/components/theme/theme-toggle.tsx +1 -1
- package/src/components/ui/alert/alert.tsx +4 -3
- package/src/components/ui/alert-dialog/alert-dialog.tsx +4 -4
- package/src/components/ui/badge/badge.tsx +2 -2
- package/src/components/ui/board/board.tsx +17 -5
- package/src/components/ui/bubble/bubble.tsx +6 -4
- package/src/components/ui/button/button.tsx +2 -2
- package/src/components/ui/button-group/button-group.tsx +1 -1
- package/src/components/ui/calendar/calendar.tsx +2 -2
- package/src/components/ui/callout/callout.tsx +4 -4
- package/src/components/ui/card/card.tsx +2 -2
- package/src/components/ui/carousel/carousel.tsx +6 -6
- package/src/components/ui/chart/chart-options.ts +9 -9
- package/src/components/ui/chart/chart.tsx +14 -1
- package/src/components/ui/checkbox/checkbox.tsx +9 -6
- package/src/components/ui/code-block/code-block.tsx +14 -7
- package/src/components/ui/command/command.tsx +7 -7
- package/src/components/ui/context-menu/context-menu.tsx +1 -1
- package/src/components/ui/detail-panel/detail-panel.tsx +5 -3
- package/src/components/ui/dialog/dialog-layer.tsx +27 -1
- package/src/components/ui/dialog/dialog.tsx +4 -3
- package/src/components/ui/diff-block/diff-block.tsx +6 -6
- package/src/components/ui/drawer/drawer.tsx +3 -3
- package/src/components/ui/dropdown-menu/dropdown-menu.tsx +6 -6
- package/src/components/ui/dropdown-menu/menu-parts.tsx +5 -5
- package/src/components/ui/empty/empty-state.tsx +23 -18
- package/src/components/ui/empty/empty.tsx +1 -1
- package/src/components/ui/entity-icon/entity-icon.tsx +5 -1
- package/src/components/ui/field/field.tsx +15 -7
- package/src/components/ui/field/number-field.tsx +1 -1
- package/src/components/ui/hover-card/hover-card.tsx +1 -1
- package/src/components/ui/input-group/input-group.tsx +1 -1
- package/src/components/ui/input-otp/input-otp.tsx +1 -1
- package/src/components/ui/item/item.tsx +24 -18
- package/src/components/ui/kbd/kbd.tsx +2 -2
- package/src/components/ui/kbd/platform-modifier.ts +3 -3
- package/src/components/ui/label/label.tsx +1 -1
- package/src/components/ui/marker/marker.tsx +9 -5
- package/src/components/ui/menubar/menubar.tsx +2 -2
- package/src/components/ui/message/message.tsx +14 -13
- package/src/components/ui/modal-dialog/modal-dialog.tsx +9 -5
- package/src/components/ui/native-select/native-select.tsx +1 -1
- package/src/components/ui/navigation-menu/navigation-menu.tsx +5 -4
- package/src/components/ui/pagination/pagination.tsx +1 -1
- package/src/components/ui/popover/popover.tsx +4 -2
- package/src/components/ui/progress/progress.tsx +5 -3
- package/src/components/ui/questionnaire/questionnaire.tsx +10 -5
- package/src/components/ui/radio-group/radio-group.tsx +9 -6
- package/src/components/ui/resizable/resizable.tsx +5 -5
- package/src/components/ui/select/select.tsx +4 -4
- package/src/components/ui/sheet/sheet.tsx +4 -3
- package/src/components/ui/skeleton/skeleton.tsx +1 -1
- package/src/components/ui/slider/slider.tsx +1 -1
- package/src/components/ui/spinner/spinner.tsx +1 -1
- package/src/components/ui/status-chip/status-chip.tsx +13 -13
- package/src/components/ui/switch/switch.tsx +9 -6
- package/src/components/ui/tabs/tabs.tsx +4 -4
- package/src/components/ui/textarea/textarea.tsx +1 -1
- package/src/components/ui/toast/toast.tsx +6 -4
- package/src/components/ui/toggle/toggle.tsx +1 -1
- package/src/components/ui/tooltip/deferred-tooltip.tsx +131 -0
- package/src/components/ui/tooltip/index.ts +1 -0
- package/src/components/ui/tooltip/tooltip.tsx +6 -4
- package/src/components/ui/trace/trace.tsx +13 -9
- package/src/components/ui/typography/typography.tsx +5 -5
- package/src/index.ts +1 -0
- package/src/lib/accent-presets.ts +1 -1
- package/src/lib/accent-roles.ts +2 -2
- package/src/lib/appearance-font-settings.ts +18 -7
- package/src/lib/create-poll.ts +150 -0
- package/src/lib/font-zoom.ts +3 -3
- package/src/lib/keyed-rows.ts +3 -2
- package/src/lib/overlay.ts +5 -5
- package/src/lib/preference-store.ts +2 -2
- package/src/lib/safe-script.ts +2 -2
- package/src/lib/scroll-geometry.ts +1 -1
- package/src/lib/text.ts +1 -1
- package/src/lib/theme-accents.ts +3 -3
- package/src/lib/theme-css.ts +2 -2
- package/src/lib/theme-defaults.ts +4 -4
- package/src/lib/theme-engine-light.ts +2 -2
- package/src/lib/theme-engine.ts +2 -2
- package/src/lib/theme-projection.ts +2 -2
- package/src/lib/theme-records.ts +2 -2
- package/src/lib/theme-types.ts +1 -1
- package/src/lib/themes.ts +14 -14
- package/src/lib/tokens.ts +2 -2
- package/src/lib/tooltip-focus-gate.ts +11 -11
- package/src/lib/utils.ts +1 -1
- package/src/lib/variants.ts +4 -4
- package/src/lib/version-notes.ts +4 -4
- package/src/lint/index.ts +1 -1
- package/src/styles/base.css +12 -43
- package/src/styles/fonts.css +1 -1
- package/src/styles/theme.css +35 -35
- package/src/styles/themes/aardvark-blue.css +98 -0
- package/src/styles/themes/aardvark-ink.css +98 -0
- package/src/styles/themes/adea-dark-colorblind.css +98 -0
- package/src/styles/themes/adea-dark-high-contrast.css +98 -0
- package/src/styles/themes/adea-dark.css +47 -0
- package/src/styles/themes/adea-light-colorblind.css +141 -0
- package/src/styles/themes/adea-light-high-contrast.css +141 -0
- package/src/styles/themes/adea-light.css +47 -0
- package/src/styles/themes/ayu-light.css +141 -0
- package/src/styles/themes/ayu-mirage.css +98 -0
- package/src/styles/themes/ayu.css +98 -0
- package/src/styles/themes/catppuccin-frappe.css +98 -0
- package/src/styles/themes/catppuccin-latte.css +141 -0
- package/src/styles/themes/catppuccin-macchiato.css +98 -0
- package/src/styles/themes/catppuccin-mocha.css +98 -0
- package/src/styles/themes/dracula.css +98 -0
- package/src/styles/themes/everforest-dark.css +98 -0
- package/src/styles/themes/everforest-light.css +141 -0
- package/src/styles/themes/gruvbox-dark.css +98 -0
- package/src/styles/themes/gruvbox-light.css +141 -0
- package/src/styles/themes/kanagawa.css +98 -0
- package/src/styles/themes/monokai.css +98 -0
- package/src/styles/themes/nord-light.css +141 -0
- package/src/styles/themes/nord.css +98 -0
- package/src/styles/themes/one-dark.css +98 -0
- package/src/styles/themes/rosepine-dawn.css +141 -0
- package/src/styles/themes/rosepine-moon.css +98 -0
- package/src/styles/themes/rosepine.css +98 -0
- package/src/styles/themes/solarized-dark.css +98 -0
- package/src/styles/themes/solarized-light.css +141 -0
- package/src/styles/themes/tokyonight-day.css +141 -0
- package/src/styles/themes/tokyonight-night.css +98 -0
- package/src/styles/themes/tokyonight-storm.css +98 -0
- package/src/styles/themes/vesper.css +98 -0
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* The catalogue (`@adea-ai/themes`, 34 themes) is the heavy part of the theme
|
|
6
6
|
* system. Most hosts start on the default pair, paint a catalogue theme from a
|
|
7
|
-
* stylesheet, and open a picker rarely, so the rules every layer applies
|
|
8
|
-
* engines, `lib/themes`, the persistence and the boot script
|
|
7
|
+
* stylesheet, and open a picker rarely, so the rules every layer applies, the
|
|
8
|
+
* engines, `lib/themes`, the persistence and the boot script, live here, beside the
|
|
9
9
|
* few catalogue facts they need: every catalogue id with its appearance and the
|
|
10
10
|
* default pair as complete variants.
|
|
11
11
|
*
|
|
@@ -97,8 +97,8 @@ export function storedThemeId(value: unknown, appearance: ThemeAppearance): stri
|
|
|
97
97
|
/**
|
|
98
98
|
* The variant a stored id means, or the default of the same appearance.
|
|
99
99
|
*
|
|
100
|
-
* An id the registry does not hold
|
|
101
|
-
* catalogue entry that was renamed
|
|
100
|
+
* An id the registry does not hold, an imported theme that was deleted, a
|
|
101
|
+
* catalogue entry that was renamed, must still paint *something of the appearance
|
|
102
102
|
* being shown*. Falling back to whichever variant happens to be first in the
|
|
103
103
|
* registry painted a dark palette under a light `color-scheme` for a light id, so
|
|
104
104
|
* the fallback is the appearance's own default, then any variant of that
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* with the provider, with no catalogue code or data (see `lib/theme-engine`).
|
|
4
4
|
*
|
|
5
5
|
* It always answers. Where the exact answer needs the catalogue it gives the one the
|
|
6
|
-
* shipped data supports
|
|
7
|
-
* measure, no theme accents for a pair it does not hold
|
|
6
|
+
* shipped data supports, the appearance's tint strength for a theme it cannot
|
|
7
|
+
* measure, no theme accents for a pair it does not hold, and calls `onIncomplete`,
|
|
8
8
|
* which is how the lazy provider learns to load the catalogue. Painting never relies
|
|
9
9
|
* on such an answer: the provider asks `needsCatalogue` first and waits.
|
|
10
10
|
*/
|
|
@@ -93,8 +93,8 @@ export function pairNeedsData(pair: ThemePair): boolean {
|
|
|
93
93
|
*
|
|
94
94
|
* True when the variant being shown, the pinned terminal theme, or (for a
|
|
95
95
|
* theme-derived `ansi-*` accent) either theme of the pair is a catalogue theme other
|
|
96
|
-
* than the two defaults. Everything else
|
|
97
|
-
* every preset and custom accent
|
|
96
|
+
* than the two defaults. Everything else, the default pair, a host's own variants,
|
|
97
|
+
* every preset and custom accent, the light engine answers from shipped data.
|
|
98
98
|
*/
|
|
99
99
|
export function needsCatalogue(
|
|
100
100
|
selection: ThemePair & { accent: string; terminalThemeId?: string },
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Adea imports user themes: a file is validated, repaired toward the readable floor,
|
|
5
5
|
* and projected onto the hex values the host persists. That projection is the
|
|
6
6
|
* catalogue's own (`shadcnVariables`, the xterm adapter, the editor roles), so it is
|
|
7
|
-
* re-exported here and the host depends on this package alone for it
|
|
7
|
+
* re-exported here and the host depends on this package alone for it, the pin
|
|
8
8
|
* between this package and `@adea-ai/themes` cannot drift from the host's.
|
|
9
9
|
*
|
|
10
10
|
* Its own module, with no catalogue data and no definition of its own beyond the two
|
|
@@ -43,7 +43,7 @@ export function defaultThemeRecord(appearance: 'light' | 'dark'): AdeaThemeRecor
|
|
|
43
43
|
/**
|
|
44
44
|
* The accents a light/dark pair of records carries itself, beside the presets.
|
|
45
45
|
*
|
|
46
|
-
* For a host whose pair is not in the catalogue
|
|
46
|
+
* For a host whose pair is not in the catalogue, an imported theme, where
|
|
47
47
|
* `themeAccentsFor` (which looks the pair up by id) cannot answer. A slot is offered
|
|
48
48
|
* only when both themes clear the catalogue's accent floors.
|
|
49
49
|
*/
|
|
@@ -101,8 +101,8 @@ function provenanceOf(theme: AdeaThemeRecord): ThemeProvenance {
|
|
|
101
101
|
/**
|
|
102
102
|
* The design system's view of one catalogue record, built in full and at once.
|
|
103
103
|
*
|
|
104
|
-
* For a host that holds a record the catalogue does not
|
|
105
|
-
* reconstruction from stored data
|
|
104
|
+
* For a host that holds a record the catalogue does not, an imported theme, a
|
|
105
|
+
* reconstruction from stored data, and wants a variant it can hand to
|
|
106
106
|
* `ThemeProvider`'s `themes`. It throws for a record the shadcn projection cannot
|
|
107
107
|
* map, here and now, rather than on first paint. The catalogue itself goes through
|
|
108
108
|
* {@link lazyVariantFromRecord} instead.
|
|
@@ -156,7 +156,7 @@ export type ThemeVariant = {
|
|
|
156
156
|
/**
|
|
157
157
|
* Custom properties written verbatim over `themeCssVariables`, last.
|
|
158
158
|
*
|
|
159
|
-
* For a variant a host built from data it does not control the derivation of
|
|
159
|
+
* For a variant a host built from data it does not control the derivation of,
|
|
160
160
|
* an imported theme whose painted colours must stay exactly what the user
|
|
161
161
|
* imported. The catalogue's own variants never carry it, so the derived roles
|
|
162
162
|
* stay the only source of truth for them.
|
package/dist/r/src/lib/themes.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* the design system: the translation between the catalogue's **canonical** role
|
|
6
6
|
* names and the **shadcn** vocabulary every component here is written against, plus
|
|
7
7
|
* the handful of custom properties this system declares that are presentations of
|
|
8
|
-
* data the catalogue already holds
|
|
8
|
+
* data the catalogue already holds, the `--terminal-*` ramp, the `--editor-*` ramp,
|
|
9
9
|
* and `--chrome`.
|
|
10
10
|
*
|
|
11
11
|
* ## Why it is a bridge and not a copy
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* This file used to hold thirteen themes as hand-written hex literal tables, with its
|
|
14
14
|
* own contrast validator, its own terminal and editor palettes, and its own
|
|
15
15
|
* provenance records. That is a lot of surface to maintain for one consumer of a
|
|
16
|
-
* palette, and it meant every product that wanted the same themes
|
|
16
|
+
* palette, and it meant every product that wanted the same themes, Adea, Cortana,
|
|
17
17
|
* either imported this package or wrote its own. The catalogue moved out so that
|
|
18
18
|
* there is one answer to "what is Catppuccin Mocha", and this file is the part that
|
|
19
19
|
* genuinely belongs to the design system.
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* The package-owned `shadcnVariables` adapter maps canonical roles onto this
|
|
28
28
|
* system's vocabulary. One entry will trip a reader: the catalogue's `accent`
|
|
29
29
|
* becomes this system's `primary`, because in the shadcn vocabulary `--primary` is
|
|
30
|
-
* the action colour
|
|
31
|
-
* in
|
|
30
|
+
* the action colour, the fill of a primary button, the thing a focus ring is drawn
|
|
31
|
+
* in, while `--accent` is a low-contrast hover wash. The catalogue's `accent` is
|
|
32
32
|
* the former, so it goes to `--primary`, and `--accent` is filled from
|
|
33
33
|
* `surfaceHover`, which is what shadcn components actually use it for.
|
|
34
34
|
*/
|
|
@@ -135,7 +135,7 @@ export function themeFamilies(): { family: string; label: string; themes: ThemeV
|
|
|
135
135
|
*
|
|
136
136
|
* {@link builtinThemes} is this system's projection of the catalogue onto the
|
|
137
137
|
* shadcn vocabulary, which is what a document is painted with. A *preview* of a
|
|
138
|
-
* theme
|
|
138
|
+
* theme, the miniatures `AppearanceEditor` and `ThemeMiniature` draw, reads the
|
|
139
139
|
* catalogue's own roles instead (`surfaceActive`, `borderMuted`, `textSubtle`…),
|
|
140
140
|
* several of which the projection folds together. These are those records, so a
|
|
141
141
|
* consumer hands the editor exactly what it takes rather than reconstructing it
|
|
@@ -154,7 +154,7 @@ function recordPair(pair: ThemePair) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* The accents the selected light/dark pair carries
|
|
157
|
+
* The accents the selected light/dark pair carries, offered beside the presets.
|
|
158
158
|
*
|
|
159
159
|
* Computed per pair rather than per theme because a theme accent is a *pair* of
|
|
160
160
|
* values, like a preset: a slot is offered only when both themes can offer it.
|
|
@@ -170,7 +170,7 @@ export function themeAccentsFor(
|
|
|
170
170
|
/**
|
|
171
171
|
* An accent id resolved against a theme pair: a preset, a theme accent the pair
|
|
172
172
|
* offers, or `undefined` for `theme`, an unknown id, or a slot this pair cannot
|
|
173
|
-
* offer
|
|
173
|
+
* offer, each of which means "use the theme's own primary".
|
|
174
174
|
*
|
|
175
175
|
* Theme accent ids are role-shaped (`ansi-blue`), so a stored one survives a theme
|
|
176
176
|
* switch and resolves to the new theme's blue; when the new pair cannot offer the
|
|
@@ -207,8 +207,8 @@ export function withAccent<T extends AdeaTheme>(theme: T, accent: AccentPreset |
|
|
|
207
207
|
/**
|
|
208
208
|
* The two preview themes an appearance selection resolves to, accent applied.
|
|
209
209
|
*
|
|
210
|
-
* The adapter between a stored selection and `AppearanceEditor`: it takes ids
|
|
211
|
-
* what a preference holds
|
|
210
|
+
* The adapter between a stored selection and `AppearanceEditor`: it takes ids,
|
|
211
|
+
* what a preference holds, and returns the canonical records the editor's
|
|
212
212
|
* `lightTheme` and `darkTheme` props take, so a host does not map roles by hand.
|
|
213
213
|
* Unknown ids fall back to the defaults and an accent the pair cannot offer falls
|
|
214
214
|
* back to the theme's own, exactly as `ThemeProvider` resolves them.
|
|
@@ -229,24 +229,24 @@ export function appearancePreviewThemes(selection: {
|
|
|
229
229
|
* ## Why this exists rather than relying on the `[data-accent]` blocks
|
|
230
230
|
*
|
|
231
231
|
* `theme.css` carries a `[data-accent='…']` block per preset, and those blocks are
|
|
232
|
-
* correct
|
|
232
|
+
* correct, but they are unreachable at runtime. `ThemeProvider` writes a theme's
|
|
233
233
|
* whole role set onto `<html>` as *inline* custom properties, and an inline
|
|
234
234
|
* declaration outranks any stylesheet selector regardless of specificity. The
|
|
235
235
|
* attribute was set, the rules existed, the values were right, and every one of the
|
|
236
236
|
* seven accents rendered as the same blue.
|
|
237
237
|
*
|
|
238
238
|
* The blocks are kept, because they are what styles the window between the document
|
|
239
|
-
* arriving and the provider mounting
|
|
239
|
+
* arriving and the provider mounting, which is the whole reason `themeScript`
|
|
240
240
|
* exists. But the authoritative value has to be applied by the same code that
|
|
241
241
|
* applies the theme, from the same source, or the two can drift again. So both the
|
|
242
242
|
* provider and the CSS generator call `accentRoles` out of `@adea-ai/themes`, and
|
|
243
243
|
* `tests/appearance-axes.test.ts` asserts the two agree value for value.
|
|
244
244
|
*
|
|
245
245
|
* A theme accent (`ansi-blue`) has no block: its value depends on the theme pair,
|
|
246
|
-
* so it is resolved against `pair
|
|
246
|
+
* so it is resolved against `pair`, the selection's light and dark theme ids,
|
|
247
247
|
* and only ever applied here. Without a pair it resolves against the defaults.
|
|
248
248
|
*
|
|
249
|
-
* Returns `undefined` for `theme
|
|
249
|
+
* Returns `undefined` for `theme`, the variant's own primary, for an id the
|
|
250
250
|
* catalogue does not have, and for a theme accent the pair does not offer, so a
|
|
251
251
|
* stale stored preference falls back to the theme rather than blanking the primary.
|
|
252
252
|
*/
|
|
@@ -368,7 +368,7 @@ export function themeCssVariables(
|
|
|
368
368
|
*
|
|
369
369
|
* Delegated. The floors are the catalogue's, because they are what makes the
|
|
370
370
|
* catalogue able to hold other people's palettes at all, and a second set of floors
|
|
371
|
-
* here would be a second answer to the same question
|
|
371
|
+
* here would be a second answer to the same question, and the one that drifts.
|
|
372
372
|
* ------------------------------------------------------------------------- */
|
|
373
373
|
|
|
374
374
|
export type ThemeFinding = {
|
package/dist/r/src/lib/tokens.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The design system's token manifest.
|
|
3
3
|
*
|
|
4
4
|
* `theme.css` is the source of truth for token *values*. This file is the
|
|
5
|
-
* source of truth for token *names and meaning
|
|
5
|
+
* source of truth for token *names and meaning*, what each one is for, and
|
|
6
6
|
* which ones a theme may vary.
|
|
7
7
|
*
|
|
8
8
|
* It exists because a manifest that is only documentation rots. Two things read
|
|
@@ -43,7 +43,7 @@ export type TokenDefinition = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Colour roles, in the order they appear in a page: surfaces first, then text,
|
|
45
45
|
* then the lines between them, then the semantic fills. The order is the
|
|
46
|
-
* documentation
|
|
46
|
+
* documentation, reading the gallery top to bottom walks the surface ladder.
|
|
47
47
|
*/
|
|
48
48
|
export const colorTokens: TokenDefinition[] = [
|
|
49
49
|
// Surfaces
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tooltips open on active hover over the control, or on keyboard focus that
|
|
3
3
|
* follows a Tab key press. They must never open from programmatic focus: the
|
|
4
4
|
* autofocus a dialog or sheet gives its first control, and the focus a closing
|
|
5
|
-
* overlay restores to its opener, both land on buttons that carry tooltips
|
|
5
|
+
* overlay restores to its opener, both land on buttons that carry tooltips,
|
|
6
6
|
* and the tooltip primitive opens immediately on focus and pins the tooltip
|
|
7
7
|
* until blur. That is the "tooltip auto-displays when a sheet opens" report,
|
|
8
8
|
* and the pinned tooltip is the "tooltip gets stuck and never disappears"
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
* any element listener runs: the tooltip never learns about the focus. Hover
|
|
18
18
|
* opens are untouched (they ride pointer events), and the separate `focusin`
|
|
19
19
|
* event still flows, so dialog focus-cycle tracking, `:focus-visible` styling,
|
|
20
|
-
* and focus restoration all keep working. Focus still lands
|
|
21
|
-
* is stopped
|
|
20
|
+
* and focus restoration all keep working. Focus still lands, only the event
|
|
21
|
+
* is stopped, so `document.activeElement` and scripted `.blur()` behave.
|
|
22
22
|
*
|
|
23
|
-
* The keyboard-intent signal is a Tab key press immediately before the focus
|
|
23
|
+
* The keyboard-intent signal is a Tab key press immediately before the focus,
|
|
24
24
|
* the only key that moves focus natively. Enter and Space open overlays too,
|
|
25
25
|
* so any "recent key" window wide enough for those would let an overlay's own
|
|
26
26
|
* autofocus back through; Tab-only keeps autofocus suppressed no matter how
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
*
|
|
30
30
|
* Suppression is scoped to button-like targets (`button`, `a[href]`,
|
|
31
31
|
* `[role="button"]`, `[role="link"]`). Composite widgets that move focus
|
|
32
|
-
* programmatically
|
|
32
|
+
* programmatically, menu items, listbox options, grid cells, are other
|
|
33
33
|
* element types whose roving-focus highlighting must keep receiving focus
|
|
34
34
|
* events, and text controls keep their own focus behaviour (select on focus,
|
|
35
35
|
* caret placement).
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
* a trigger that is `activeElement` as keyboard-held: while a tooltip on it is
|
|
40
40
|
* open, pointer movement away only *requests* a close and the request is
|
|
41
41
|
* refused for as long as the pointer keeps moving. Left alone, a later real
|
|
42
|
-
* hover on that control would open the tip and never let it leave
|
|
42
|
+
* hover on that control would open the tip and never let it leave, the
|
|
43
43
|
* residual "stuck" case. The gate therefore treats a suppressed focus as a
|
|
44
44
|
* phantom and releases it: the first pointer activity after the focus (a
|
|
45
45
|
* pointer session taking over from a script) blurs the element. Keyboard
|
|
46
|
-
* sessions never release it and never need to
|
|
46
|
+
* sessions never release it and never need to, keyboard focus moves by Tab,
|
|
47
47
|
* which is never suppressed, so nothing pins; and the release only runs for
|
|
48
48
|
* elements still holding `activeElement`, so a Tab already taken from the
|
|
49
49
|
* phantom is left alone.
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
*
|
|
72
72
|
* The gate is installed by the `Tooltip` root for the lifetime of the first
|
|
73
73
|
* tooltip in a document and removed when the last one unmounts, so every
|
|
74
|
-
* consumer of the primitive
|
|
75
|
-
* tooltips
|
|
74
|
+
* consumer of the primitive, including composites that build their own
|
|
75
|
+
* tooltips, inherits the contract without wiring of its own.
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
/** How long after a Tab key press a resulting focus event still counts as
|
|
@@ -116,8 +116,8 @@ export function isButtonLikeFocusTarget(target: unknown): boolean {
|
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* The suppression decision: a button-like focus target hides a tooltip only
|
|
119
|
-
* when no keyboard navigation is in flight. Anything else
|
|
120
|
-
* focus, or focus on a non-button element
|
|
119
|
+
* when no keyboard navigation is in flight. Anything else, a Tab-driven
|
|
120
|
+
* focus, or focus on a non-button element, passes through untouched.
|
|
121
121
|
*/
|
|
122
122
|
export function shouldSuppressTooltipFocus(input: {
|
|
123
123
|
isButtonLike: boolean
|
package/dist/r/src/lib/utils.ts
CHANGED
|
@@ -18,7 +18,7 @@ import tables from './cn-tables.generated'
|
|
|
18
18
|
* token-derived utility (`h-control-md`, `w-rail`, `p-control-lg`, …) is an
|
|
19
19
|
* unknown name to a default merge instance. Left unregistered,
|
|
20
20
|
* `cn('h-control-md', 'h-control-sm')` keeps both classes and the winner is
|
|
21
|
-
* decided by stylesheet order rather than by the caller
|
|
21
|
+
* decided by stylesheet order rather than by the caller, a bug that only
|
|
22
22
|
* shows up as a control that ignores its `size` prop, long after the line
|
|
23
23
|
* that caused it was written.
|
|
24
24
|
*
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Three axes recur across the system, and components must reuse these names
|
|
11
11
|
* rather than inventing synonyms:
|
|
12
12
|
*
|
|
13
|
-
* variant what the control *is for
|
|
14
|
-
* size how much room it takes
|
|
15
|
-
* tone what it *communicates
|
|
13
|
+
* variant what the control *is for*, primary, secondary, destructive, …
|
|
14
|
+
* size how much room it takes, 2xs, xs, sm, md, lg, xl, 2xl
|
|
15
|
+
* tone what it *communicates*, neutral, success, warning, …
|
|
16
16
|
*
|
|
17
17
|
* A component that needs a fourth axis is usually two components.
|
|
18
18
|
*/
|
|
@@ -55,7 +55,7 @@ export type ControlSize = (typeof controlSizes)[number]
|
|
|
55
55
|
*
|
|
56
56
|
* Kept in one place so hover, active, focus and disabled read identically on a
|
|
57
57
|
* button, a toggle, a menu row and a tab. The `active:` step is only one
|
|
58
|
-
* lightness rung below hover
|
|
58
|
+
* lightness rung below hover, enough to feel pressed, not enough to look like
|
|
59
59
|
* a different state.
|
|
60
60
|
*/
|
|
61
61
|
export const controlInteractive =
|
|
@@ -6,7 +6,7 @@ import { formatByteSize } from './bytes'
|
|
|
6
6
|
* A release changelog arrives as markdown and is shown to a reader who wants to
|
|
7
7
|
* know what changed, not to a renderer. Rendering it would mean a markdown
|
|
8
8
|
* dependency, a sanitiser, and a typographic result that competes with the
|
|
9
|
-
* dialog's own type scale
|
|
9
|
+
* dialog's own type scale, so the markup is stripped to its words instead.
|
|
10
10
|
*
|
|
11
11
|
* The order matters: images and links are unwrapped to their alt text and label
|
|
12
12
|
* *before* the emphasis rules run, because `[a](b)` contains brackets and
|
|
@@ -34,12 +34,12 @@ export function plainTextFromMarkdown(markdown: string): string {
|
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* A release date, formatted for a reader. Returns the input when it cannot be
|
|
37
|
-
* parsed
|
|
37
|
+
* parsed, a date a build tool wrote in an unusual format is still better shown
|
|
38
38
|
* verbatim than dropped.
|
|
39
39
|
*
|
|
40
40
|
* A date-only value (`2026-09-24`) is a calendar day, not an instant. `new Date`
|
|
41
41
|
* reads it as UTC midnight, and formatting that instant in the reader's zone
|
|
42
|
-
* moves it to the previous day anywhere west of UTC
|
|
42
|
+
* moves it to the previous day anywhere west of UTC, so a date-only value is
|
|
43
43
|
* formatted in UTC, where its midnight still falls on the day it names. A full
|
|
44
44
|
* timestamp is a real instant and keeps the reader's zone.
|
|
45
45
|
*/
|
|
@@ -58,7 +58,7 @@ export function formatReleaseDate(value: string | null): string | null {
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Bytes as a reader-facing size. Used by the update dialog's progress readout,
|
|
61
|
-
* where the number is reassurance rather than data
|
|
61
|
+
* where the number is reassurance rather than data, "12.4 MB of 48.1 MB" says
|
|
62
62
|
* the download is moving, which a percentage alone does not.
|
|
63
63
|
*/
|
|
64
64
|
export function formatBytes(bytes: number): string {
|
|
@@ -554,49 +554,6 @@
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
-
/* --- Scrollbars ----------------------------------------------------------
|
|
558
|
-
* Themed, thin, and out of the way. A default scrollbar is the single most
|
|
559
|
-
* obvious "this is a web page" tell in a desktop application: on macOS it is
|
|
560
|
-
* an overlay that vanishes, but on Windows and Linux it is a 15px chrome bar
|
|
561
|
-
* with the platform's own palette, which no theme can reach.
|
|
562
|
-
*
|
|
563
|
-
* The thumb is `--muted` at rest and `--foreground` on hover, so it is visible
|
|
564
|
-
* against every surface without a per-theme value, and it never competes with
|
|
565
|
-
* content for attention.
|
|
566
|
-
* ------------------------------------------------------------------------ */
|
|
567
|
-
::-webkit-scrollbar {
|
|
568
|
-
width: 10px;
|
|
569
|
-
height: 10px;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
::-webkit-scrollbar-track {
|
|
573
|
-
background: transparent;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
::-webkit-scrollbar-thumb {
|
|
577
|
-
border: 3px solid transparent;
|
|
578
|
-
border-radius: 9999px;
|
|
579
|
-
background: var(--muted);
|
|
580
|
-
background-clip: content-box;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
::-webkit-scrollbar-thumb:hover {
|
|
584
|
-
background: var(--muted-foreground);
|
|
585
|
-
background-clip: content-box;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
::-webkit-scrollbar-corner {
|
|
589
|
-
background: transparent;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
/* Firefox, which has no ::-webkit-scrollbar. */
|
|
593
|
-
@supports (scrollbar-width: thin) {
|
|
594
|
-
* {
|
|
595
|
-
scrollbar-width: thin;
|
|
596
|
-
scrollbar-color: var(--muted) transparent;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
|
|
600
557
|
/**
|
|
601
558
|
* An auto-hiding scrollbar, for a horizontal scroller inside a bordered
|
|
602
559
|
* surface — a code block, a diff, a wide table. The bar appears on hover and
|
|
@@ -746,6 +703,18 @@
|
|
|
746
703
|
background: transparent;
|
|
747
704
|
}
|
|
748
705
|
|
|
706
|
+
/* Engines without ::-webkit-scrollbar (Firefox) get the standard properties.
|
|
707
|
+
Scoped with `not selector()` because Chromium 121+ ignores every
|
|
708
|
+
::-webkit-scrollbar rule on an element once `scrollbar-width` is set, and
|
|
709
|
+
kept in the base layer so `no-scrollbar` and `scroll-fade` still win. The
|
|
710
|
+
unlayered copy this replaces beat both utilities and hid the themed thumb. */
|
|
711
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
712
|
+
:where(*) {
|
|
713
|
+
scrollbar-width: thin;
|
|
714
|
+
scrollbar-color: color-mix(in oklch, var(--muted-foreground) 45%, transparent) transparent;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
749
718
|
/* The code role, as the `font-code` utility reads it: an appearance setting
|
|
750
719
|
that picks a code face sets `--font-code`, and bare `code`/`pre` follow it
|
|
751
720
|
instead of staying on the theme's mono face. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* The design system's typefaces, self-hosted.
|
|
2
2
|
*
|
|
3
|
-
* Four families, all variable, all resolved from `node_modules` at build time
|
|
3
|
+
* Four families, all variable, all resolved from `node_modules` at build time,
|
|
4
4
|
* a desktop app must not fetch a font at runtime, or the first paint after a cold
|
|
5
5
|
* start shows a fallback face and then reflows.
|
|
6
6
|
*
|