@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
|
@@ -90,11 +90,9 @@ export function MessageHeader(
|
|
|
90
90
|
class={cn('flex items-center gap-2 text-xs text-muted-foreground', local.class)}
|
|
91
91
|
{...rest}
|
|
92
92
|
>
|
|
93
|
-
<Show when={local.avatar}>{
|
|
93
|
+
<Show when={local.avatar}>{(avatarSlot) => <>{avatarSlot()}</>}</Show>
|
|
94
94
|
<span class="font-medium text-foreground">{local.children}</span>
|
|
95
|
-
<Show when={local.time}>
|
|
96
|
-
<span class="tabular-nums">{local.time}</span>
|
|
97
|
-
</Show>
|
|
95
|
+
<Show when={local.time}>{(timeSlot) => <span class="tabular-nums">{timeSlot()}</span>}</Show>
|
|
98
96
|
</header>
|
|
99
97
|
)
|
|
100
98
|
}
|
|
@@ -372,17 +370,20 @@ function BlockView(props: {
|
|
|
372
370
|
}
|
|
373
371
|
|
|
374
372
|
function Inline(props: { nodes: readonly MessageInline[]; citations?: MessageCitations }) {
|
|
373
|
+
// By position, not identity: the parser returns fresh nodes for the growing
|
|
374
|
+
// paragraph on every streamed token, and a keyed list would rebuild each one.
|
|
375
375
|
return (
|
|
376
|
-
<
|
|
376
|
+
<Index each={props.nodes}>
|
|
377
377
|
{(node) => (
|
|
378
378
|
<Switch>
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
{/* Fragments keep the reads reactive: Match runs its callback untracked. */}
|
|
380
|
+
<Match when={node().kind === 'text' && node()}>
|
|
381
|
+
{(text) => <>{(text() as { text: string }).text}</>}
|
|
381
382
|
</Match>
|
|
382
|
-
<Match when={node.kind === 'code' && node}>
|
|
383
|
+
<Match when={node().kind === 'code' && node()}>
|
|
383
384
|
{(code) => <InlineCode>{(code() as { text: string }).text}</InlineCode>}
|
|
384
385
|
</Match>
|
|
385
|
-
<Match when={node.kind === 'strong' && node}>
|
|
386
|
+
<Match when={node().kind === 'strong' && node()}>
|
|
386
387
|
{(strong) => (
|
|
387
388
|
<strong class="font-semibold">
|
|
388
389
|
<Inline
|
|
@@ -392,7 +393,7 @@ function Inline(props: { nodes: readonly MessageInline[]; citations?: MessageCit
|
|
|
392
393
|
</strong>
|
|
393
394
|
)}
|
|
394
395
|
</Match>
|
|
395
|
-
<Match when={node.kind === 'em' && node}>
|
|
396
|
+
<Match when={node().kind === 'em' && node()}>
|
|
396
397
|
{(em) => (
|
|
397
398
|
<em>
|
|
398
399
|
<Inline
|
|
@@ -402,7 +403,7 @@ function Inline(props: { nodes: readonly MessageInline[]; citations?: MessageCit
|
|
|
402
403
|
</em>
|
|
403
404
|
)}
|
|
404
405
|
</Match>
|
|
405
|
-
<Match when={node.kind === 'link' && node}>
|
|
406
|
+
<Match when={node().kind === 'link' && node()}>
|
|
406
407
|
{(link) => (
|
|
407
408
|
<a
|
|
408
409
|
href={(link() as { href: string }).href}
|
|
@@ -414,7 +415,7 @@ function Inline(props: { nodes: readonly MessageInline[]; citations?: MessageCit
|
|
|
414
415
|
</a>
|
|
415
416
|
)}
|
|
416
417
|
</Match>
|
|
417
|
-
<Match when={node.kind === 'cite' && node}>
|
|
418
|
+
<Match when={node().kind === 'cite' && node()}>
|
|
418
419
|
{(cite) => {
|
|
419
420
|
const marker = () => cite() as { numbers: readonly number[]; raw: string }
|
|
420
421
|
// The parser read this as a citation only while the host had sources;
|
|
@@ -428,6 +429,6 @@ function Inline(props: { nodes: readonly MessageInline[]; citations?: MessageCit
|
|
|
428
429
|
</Match>
|
|
429
430
|
</Switch>
|
|
430
431
|
)}
|
|
431
|
-
</
|
|
432
|
+
</Index>
|
|
432
433
|
)
|
|
433
434
|
}
|
|
@@ -150,11 +150,13 @@ export function ModalDialog(props: ModalDialogProps) {
|
|
|
150
150
|
}
|
|
151
151
|
>
|
|
152
152
|
<DialogTitle class="flex items-center gap-2">
|
|
153
|
-
<Show when={local.headerLeading}>
|
|
153
|
+
<Show when={local.headerLeading}>
|
|
154
|
+
{(headerLeadingSlot) => <>{headerLeadingSlot()}</>}
|
|
155
|
+
</Show>
|
|
154
156
|
{local.title}
|
|
155
157
|
</DialogTitle>
|
|
156
158
|
<Show when={local.description}>
|
|
157
|
-
<DialogDescription>{
|
|
159
|
+
{(descriptionSlot) => <DialogDescription>{descriptionSlot()}</DialogDescription>}
|
|
158
160
|
</Show>
|
|
159
161
|
</DialogHeader>
|
|
160
162
|
<Show when={local.size === 'fit'} fallback={local.children}>
|
|
@@ -165,9 +167,11 @@ export function ModalDialog(props: ModalDialogProps) {
|
|
|
165
167
|
{local.children}
|
|
166
168
|
</div>
|
|
167
169
|
<Show when={local.footer}>
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
{(footerSlot) => (
|
|
171
|
+
<div class="flex shrink-0 flex-wrap justify-end gap-2 border-t border-border pt-3">
|
|
172
|
+
{footerSlot()}
|
|
173
|
+
</div>
|
|
174
|
+
)}
|
|
171
175
|
</Show>
|
|
172
176
|
</Show>
|
|
173
177
|
</DialogContent>
|
|
@@ -8,7 +8,7 @@ export type NativeSelectProps = Omit<ComponentProps<'select'>, 'size'> & {
|
|
|
8
8
|
/**
|
|
9
9
|
* The control rung, matching `Input` and `SelectTrigger`: `sm` for a dense
|
|
10
10
|
* toolbar or pane filter, `md` (the default) everywhere else. This replaces the
|
|
11
|
-
* native `size` attribute, which turns a select into a list box
|
|
11
|
+
* native `size` attribute, which turns a select into a list box, a different
|
|
12
12
|
* control that this styled single-line select is not.
|
|
13
13
|
*/
|
|
14
14
|
size?: 'sm' | 'md' | 'lg'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { splitProps, type ComponentProps, type JSX } from 'solid-js'
|
|
1
|
+
import { children as resolveChildren, splitProps, type ComponentProps, type JSX } from 'solid-js'
|
|
2
2
|
import * as KobalteNavigationMenu from '@kobalte/core/navigation-menu'
|
|
3
3
|
import { ChevronDown } from 'lucide-solid'
|
|
4
4
|
import { cn } from '../../../lib/utils'
|
|
@@ -198,6 +198,7 @@ export type NavigationMenuItemProps = ComponentProps<typeof KobalteNavigationMen
|
|
|
198
198
|
|
|
199
199
|
export function NavigationMenuItem(props: NavigationMenuItemProps) {
|
|
200
200
|
const [local, rest] = splitProps(props, ['class', 'children', 'description', 'icon'])
|
|
201
|
+
const icon = resolveChildren(() => local.icon)
|
|
201
202
|
|
|
202
203
|
return (
|
|
203
204
|
<KobalteNavigationMenu.Item
|
|
@@ -206,19 +207,19 @@ export function NavigationMenuItem(props: NavigationMenuItemProps) {
|
|
|
206
207
|
// The description sits under the label, in the label's column. Without
|
|
207
208
|
// an icon there is no leading column, and a two-column grid would set
|
|
208
209
|
// the description beside the label instead of beneath it.
|
|
209
|
-
|
|
210
|
+
icon() ? 'grid grid-cols-[auto_1fr]' : 'grid grid-cols-1',
|
|
210
211
|
'items-center gap-x-2 gap-y-0.5',
|
|
211
212
|
local.description && 'grid-rows-[auto_auto] py-2',
|
|
212
213
|
local.class
|
|
213
214
|
)}
|
|
214
215
|
{...rest}
|
|
215
216
|
>
|
|
216
|
-
{
|
|
217
|
+
{icon()}
|
|
217
218
|
<span class="font-medium">{local.children}</span>
|
|
218
219
|
{local.description && (
|
|
219
220
|
<span
|
|
220
221
|
class={cn('text-xs text-muted-foreground', {
|
|
221
|
-
'col-start-2': !!
|
|
222
|
+
'col-start-2': !!icon(),
|
|
222
223
|
})}
|
|
223
224
|
>
|
|
224
225
|
{local.description}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Popover as KobaltePopover } from '@kobalte/core/popover'
|
|
2
2
|
import type { ComponentProps } from 'solid-js'
|
|
3
|
-
import { splitProps } from 'solid-js'
|
|
3
|
+
import { Show, splitProps } from 'solid-js'
|
|
4
4
|
import {
|
|
5
5
|
menuContentPadding,
|
|
6
6
|
popoverArrow,
|
|
@@ -50,7 +50,9 @@ export function PopoverContent(props: PopoverContentProps) {
|
|
|
50
50
|
{...rest}
|
|
51
51
|
>
|
|
52
52
|
{local.children}
|
|
53
|
-
<
|
|
53
|
+
<Show when={!local.hideArrow}>
|
|
54
|
+
<KobaltePopover.Arrow aria-hidden="true" class={popoverArrow} />
|
|
55
|
+
</Show>
|
|
54
56
|
</KobaltePopover.Content>
|
|
55
57
|
</KobaltePopover.Portal>
|
|
56
58
|
)
|
|
@@ -47,9 +47,11 @@ export function Progress(props: ProgressProps) {
|
|
|
47
47
|
<Show when={local.label || !local.hideValue}>
|
|
48
48
|
<div class="flex items-center justify-between gap-3">
|
|
49
49
|
<Show when={local.label}>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
{(labelSlot) => (
|
|
51
|
+
<KobalteProgress.Label class="text-muted-foreground text-sm">
|
|
52
|
+
{labelSlot()}
|
|
53
|
+
</KobalteProgress.Label>
|
|
54
|
+
)}
|
|
53
55
|
</Show>
|
|
54
56
|
<Show when={!local.hideValue}>
|
|
55
57
|
<KobalteProgress.ValueLabel class="text-muted-foreground text-sm tabular-nums" />
|
|
@@ -243,7 +243,8 @@ export function Questionnaire(props: QuestionnaireProps) {
|
|
|
243
243
|
{
|
|
244
244
|
'border-border': settled(),
|
|
245
245
|
'border-ring': !settled(),
|
|
246
|
-
}
|
|
246
|
+
},
|
|
247
|
+
local.class
|
|
247
248
|
)}
|
|
248
249
|
onKeyDown={onKeyDown}
|
|
249
250
|
onFocusIn={() => (focusWithin = true)}
|
|
@@ -263,7 +264,9 @@ export function Questionnaire(props: QuestionnaireProps) {
|
|
|
263
264
|
<div class="min-w-0 flex-1">
|
|
264
265
|
<h3 class="m-0 text-sm font-semibold">{local.title ?? 'The agent has a question'}</h3>
|
|
265
266
|
<Show when={local.description}>
|
|
266
|
-
|
|
267
|
+
{(descriptionSlot) => (
|
|
268
|
+
<p class="m-0 mt-0.5 text-xs text-muted-foreground">{descriptionSlot()}</p>
|
|
269
|
+
)}
|
|
267
270
|
</Show>
|
|
268
271
|
</div>
|
|
269
272
|
<Show when={status() === 'answered'}>
|
|
@@ -395,9 +398,11 @@ export function Questionnaire(props: QuestionnaireProps) {
|
|
|
395
398
|
</p>
|
|
396
399
|
</Show>
|
|
397
400
|
<Show when={local.error}>
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
+
{(errorSlot) => (
|
|
402
|
+
<p role="alert" class="m-0 text-xs text-destructive">
|
|
403
|
+
{errorSlot()}
|
|
404
|
+
</p>
|
|
405
|
+
)}
|
|
401
406
|
</Show>
|
|
402
407
|
|
|
403
408
|
<footer class="flex items-center justify-between gap-2">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioGroup as KobalteRadioGroup } from '@kobalte/core/radio-group'
|
|
2
2
|
import { Circle } from 'lucide-solid'
|
|
3
3
|
import type { ComponentProps, JSX } from 'solid-js'
|
|
4
|
-
import { splitProps } from 'solid-js'
|
|
4
|
+
import { Show, children as resolveChildren, splitProps } from 'solid-js'
|
|
5
5
|
import { useFormFieldControl } from '../../../lib/form-field'
|
|
6
6
|
import { cn } from '../../../lib/utils'
|
|
7
7
|
|
|
@@ -96,6 +96,7 @@ export function RadioGroupItem(props: RadioGroupItemProps) {
|
|
|
96
96
|
])
|
|
97
97
|
const card = () => local.variant === 'card'
|
|
98
98
|
|
|
99
|
+
const media = resolveChildren(() => local.media)
|
|
99
100
|
return (
|
|
100
101
|
<KobalteRadioGroup.Item
|
|
101
102
|
data-slot="radio-group-item"
|
|
@@ -142,11 +143,13 @@ export function RadioGroupItem(props: RadioGroupItemProps) {
|
|
|
142
143
|
<Circle class="size-2 fill-current" />
|
|
143
144
|
</KobalteRadioGroup.ItemIndicator>
|
|
144
145
|
</KobalteRadioGroup.ItemControl>
|
|
145
|
-
{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
<Show when={media()}>
|
|
147
|
+
{(slot) => (
|
|
148
|
+
<span data-slot="radio-group-item-media" class="flex shrink-0 items-center">
|
|
149
|
+
{slot()}
|
|
150
|
+
</span>
|
|
151
|
+
)}
|
|
152
|
+
</Show>
|
|
150
153
|
{local.children ?? (
|
|
151
154
|
<div class="grid gap-0.5 leading-none">
|
|
152
155
|
{local.label ? (
|
|
@@ -9,7 +9,7 @@ import { resizeGripClass, resizeGripIconClass, resizeSeparatorClass } from '../.
|
|
|
9
9
|
* Resizable.
|
|
10
10
|
*
|
|
11
11
|
* A split layout: panels the user can resize, with a handle between them. This
|
|
12
|
-
* is the shape of every IDE-like surface
|
|
12
|
+
* is the shape of every IDE-like surface, rail, file tree, editor, terminal,
|
|
13
13
|
* and the reason it is a primitive rather than something each view improvises.
|
|
14
14
|
*
|
|
15
15
|
* corvu supplies the pointer capture, the min/max constraints and the keyboard
|
|
@@ -19,7 +19,7 @@ import { resizeGripClass, resizeGripIconClass, resizeSeparatorClass } from '../.
|
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
21
|
* Whether the group was given `initialSizes` or controlled `sizes`. Those are corvu's to apply, and a
|
|
22
|
-
* panel's own `initialSize` overrides them
|
|
22
|
+
* panel's own `initialSize` overrides them, so an unsized panel must not invent
|
|
23
23
|
* one when the group already has an answer.
|
|
24
24
|
*/
|
|
25
25
|
const GroupSizesContext = createContext<() => boolean>(() => false)
|
|
@@ -45,7 +45,7 @@ export function ResizablePanelGroup(props: ComponentProps<typeof Resizable> & {
|
|
|
45
45
|
* corvu registers a panel without `initialSize` at a flat 50%, so `0.28` beside
|
|
46
46
|
* an unsized panel summed to 78% and left a gap. Panels register in document
|
|
47
47
|
* order, so at registration `sizes` holds exactly the panels before this one.
|
|
48
|
-
* When nothing is left
|
|
48
|
+
* When nothing is left, a second unsized panel, it takes an equal share, and
|
|
49
49
|
* corvu shrinks the earlier panels by that share to keep the total at 100%.
|
|
50
50
|
*/
|
|
51
51
|
function remainingSize(sizes: readonly number[]): number {
|
|
@@ -79,8 +79,8 @@ export type ResizableHandleProps = ComponentProps<typeof Resizable.Handle> & {
|
|
|
79
79
|
*/
|
|
80
80
|
withHandle?: boolean | 'rung'
|
|
81
81
|
/**
|
|
82
|
-
* The divider's accessible name. It is a focusable control
|
|
83
|
-
* the split
|
|
82
|
+
* The divider's accessible name. It is a focusable control, arrow keys move
|
|
83
|
+
* the split, so it needs one; without it a screen reader announces an
|
|
84
84
|
* unlabelled button between the two panels.
|
|
85
85
|
*/
|
|
86
86
|
label?: string
|
|
@@ -20,7 +20,7 @@ import { cn } from '../../../lib/utils'
|
|
|
20
20
|
* options and wrong below it.
|
|
21
21
|
*
|
|
22
22
|
* `Select.Value` renders the human-readable label of the selection, not its
|
|
23
|
-
* value
|
|
23
|
+
* value, the reason a Select takes both `options` and `optionValue`/`optionText`
|
|
24
24
|
* rather than a bare list of strings, and the reason the trigger never shows a
|
|
25
25
|
* raw id.
|
|
26
26
|
*/
|
|
@@ -29,7 +29,7 @@ export function Select<Option, OptGroup = never>(
|
|
|
29
29
|
) {
|
|
30
30
|
// Kobalte's own default gutter is 8px; without the arrow (removed below) the
|
|
31
31
|
// popper no longer folds half an arrow box into that offset, and 8px read as
|
|
32
|
-
// a detached list. Four pixels is shadcn's `sideOffset
|
|
32
|
+
// a detached list. Four pixels is shadcn's `sideOffset`, attached, with
|
|
33
33
|
// room for the trigger's own border.
|
|
34
34
|
const [local, rest] = splitProps(props, ['gutter'])
|
|
35
35
|
return <KobalteSelect gutter={local.gutter ?? 4} {...rest} />
|
|
@@ -85,7 +85,7 @@ export function SelectTrigger(props: SelectTriggerProps) {
|
|
|
85
85
|
* value is there, nothing paints it.
|
|
86
86
|
*
|
|
87
87
|
* Kobalte cannot supply a default itself, because an option is the caller's type
|
|
88
|
-
*
|
|
88
|
+
* it has no way to know which field is the label. So this reads a field by
|
|
89
89
|
* convention: `label`, then `name`, then `textValue`. An option shaped
|
|
90
90
|
* `{ value, label }` therefore needs nothing, and anything else passes
|
|
91
91
|
* `optionLabel`.
|
|
@@ -176,7 +176,7 @@ export function SelectContent(props: SelectContentProps) {
|
|
|
176
176
|
|
|
177
177
|
export function SelectItem(
|
|
178
178
|
props: ComponentProps<typeof KobalteSelect.Item> & {
|
|
179
|
-
/** Draw a leading colour dot from the shared tone ladder
|
|
179
|
+
/** Draw a leading colour dot from the shared tone ladder, the accent or
|
|
180
180
|
* status role the option's card badge carries. `aria-hidden`; the label
|
|
181
181
|
* carries the meaning. */
|
|
182
182
|
swatch?: MenuSwatchTone
|
|
@@ -2,7 +2,7 @@ import { Dialog as KobalteDialog, Content as KobalteDialogContent } from '@kobal
|
|
|
2
2
|
// AlertDialog shares DialogRoot.Content; Sheet uses the stable named primitive.
|
|
3
3
|
import { X } from 'lucide-solid'
|
|
4
4
|
import type { Accessor, ComponentProps, JSX } from 'solid-js'
|
|
5
|
-
import { Show, splitProps } from 'solid-js'
|
|
5
|
+
import { children as resolveChildren, Show, splitProps } from 'solid-js'
|
|
6
6
|
import { cva, type VariantProps } from '../../../lib/variants'
|
|
7
7
|
import { overlayCornerClose, overlayDescription, overlayTitle } from '../../../lib/overlay'
|
|
8
8
|
import { cn } from '../../../lib/utils'
|
|
@@ -136,6 +136,7 @@ export function SheetContent(props: SheetContentProps) {
|
|
|
136
136
|
|
|
137
137
|
const variant = () => sheetVariantFor(local.side, local.variant)
|
|
138
138
|
|
|
139
|
+
const closeButton = resolveChildren(() => local.closeButton)
|
|
139
140
|
return (
|
|
140
141
|
<KobalteDialog.Portal>
|
|
141
142
|
{/* An inset panel is beside the work, so the work stays in view: no scrim.
|
|
@@ -157,7 +158,7 @@ export function SheetContent(props: SheetContentProps) {
|
|
|
157
158
|
>
|
|
158
159
|
<DialogEscapeTarget onEscapeKeyDown={props.onEscapeKeyDown}>
|
|
159
160
|
{local.children}
|
|
160
|
-
<Show when={
|
|
161
|
+
<Show when={closeButton() !== false}>
|
|
161
162
|
{/* The close action opts into the tab order explicitly. Engines that
|
|
162
163
|
derive tabbability from the DOM instead of the host (Playwright's
|
|
163
164
|
WebKit walks only explicit tabindex and form controls) would skip
|
|
@@ -167,7 +168,7 @@ export function SheetContent(props: SheetContentProps) {
|
|
|
167
168
|
tabindex="0"
|
|
168
169
|
class={overlayCornerClose}
|
|
169
170
|
>
|
|
170
|
-
{
|
|
171
|
+
{closeButton() ?? <X class="size-4" />}
|
|
171
172
|
</KobalteDialog.CloseButton>
|
|
172
173
|
</Show>
|
|
173
174
|
</DialogEscapeTarget>
|
|
@@ -7,7 +7,7 @@ import { cn } from '../../../lib/utils'
|
|
|
7
7
|
*
|
|
8
8
|
* A placeholder that stands in for content whose shape is already known. It
|
|
9
9
|
* carries `aria-hidden` and no text, because the loading state is announced by
|
|
10
|
-
* the region that owns it
|
|
10
|
+
* the region that owns it, a skeleton that says "loading" would announce it
|
|
11
11
|
* once per bar.
|
|
12
12
|
*
|
|
13
13
|
* The shimmer is a background animation rather than a moving gradient element
|
|
@@ -6,7 +6,7 @@ import { cn } from '../../../lib/utils'
|
|
|
6
6
|
/**
|
|
7
7
|
* Slider.
|
|
8
8
|
*
|
|
9
|
-
* For a value on a continuum where position matters more than precision
|
|
9
|
+
* For a value on a continuum where position matters more than precision, a
|
|
10
10
|
* zoom, a volume, a threshold. When the number matters, pass `valueLabel` so
|
|
11
11
|
* the value is both adjustable *and* readable; a bare slider is a control
|
|
12
12
|
* nobody can set exactly.
|
|
@@ -8,7 +8,7 @@ import { cn } from '../../../lib/utils'
|
|
|
8
8
|
* Spinner.
|
|
9
9
|
*
|
|
10
10
|
* A determinate-length activity indicator with no progress to report. When
|
|
11
|
-
* there *is* progress, use Progress instead
|
|
11
|
+
* there *is* progress, use Progress instead, a spinner next to a known
|
|
12
12
|
* percentage is a lie about what the app knows.
|
|
13
13
|
*
|
|
14
14
|
* The glyph spins continuously, so it is the one thing in the system that
|
|
@@ -7,23 +7,23 @@ import { Tooltip, TooltipContent, TooltipTrigger } from '../tooltip'
|
|
|
7
7
|
* StatusChip.
|
|
8
8
|
*
|
|
9
9
|
* A state, said in one word, with the reason available on hover. It exists
|
|
10
|
-
* because a status readout has three parts that are always the same three parts
|
|
11
|
-
* a tone, a label, and the detail that justifies the label
|
|
10
|
+
* because a status readout has three parts that are always the same three parts,
|
|
11
|
+
* a tone, a label, and the detail that justifies the label, and rendering them
|
|
12
12
|
* ad hoc produces the two failures this component is here to prevent: a colour
|
|
13
13
|
* with no text (unreadable to anyone who cannot see it) and a bare word with no
|
|
14
|
-
* explanation ("Needs configuration"
|
|
14
|
+
* explanation ("Needs configuration", of what?).
|
|
15
15
|
*
|
|
16
16
|
* The tones are deliberately not a rainbow. Seven cover what a status can actually
|
|
17
17
|
* mean:
|
|
18
18
|
*
|
|
19
|
-
* - `neutral
|
|
20
|
-
* - `success
|
|
21
|
-
* - `warning
|
|
22
|
-
* - `danger
|
|
23
|
-
* - `info
|
|
24
|
-
* - `pending
|
|
19
|
+
* - `neutral`: fine, and there is nothing to say about it.
|
|
20
|
+
* - `success`: a check passed, a capability is ready, a job finished.
|
|
21
|
+
* - `warning`: degraded, or needs a decision from the user.
|
|
22
|
+
* - `danger`: blocked, failed, unrecoverable without intervention.
|
|
23
|
+
* - `info`: in flight or scheduled; work is happening, nothing is wrong.
|
|
24
|
+
* - `pending`: running now with no result yet (a check, a build). The ring
|
|
25
25
|
* turns, so it reads as live rather than as a settled state.
|
|
26
|
-
* - `unknown
|
|
26
|
+
* - `unknown`: the honest absence of information.
|
|
27
27
|
*
|
|
28
28
|
* `unknown` is not the same as `neutral`, and collapsing them is the mistake
|
|
29
29
|
* worth avoiding: "this is idle" and "we have not been told yet" are different
|
|
@@ -121,7 +121,7 @@ export function StatusChip(props: StatusChipProps) {
|
|
|
121
121
|
export type StatusEntry = Readonly<{
|
|
122
122
|
/** A stable key for the row. */
|
|
123
123
|
id: string
|
|
124
|
-
/** What is being reported
|
|
124
|
+
/** What is being reported, "Configuration", "Runtime", "Sync". */
|
|
125
125
|
name: string
|
|
126
126
|
tone: StatusTone
|
|
127
127
|
label: string
|
|
@@ -134,7 +134,7 @@ export type StatusEntry = Readonly<{
|
|
|
134
134
|
* The several-facts-about-one-thing shape: an agent with a configuration state, a
|
|
135
135
|
* runtime state and an activity state; a service with a build, a deploy and a
|
|
136
136
|
* health check. It is a definition list rather than a table because there is no
|
|
137
|
-
* column to sort or compare
|
|
137
|
+
* column to sort or compare, the rows are facets of a single subject, and a
|
|
138
138
|
* screen reader should hear them as such.
|
|
139
139
|
*
|
|
140
140
|
* Fixed width on the name column is what makes a column of these scannable; the
|
|
@@ -143,7 +143,7 @@ export type StatusEntry = Readonly<{
|
|
|
143
143
|
export function StatusList(props: {
|
|
144
144
|
entries: readonly StatusEntry[]
|
|
145
145
|
class?: string
|
|
146
|
-
/** Hide the name column and show only the chips
|
|
146
|
+
/** Hide the name column and show only the chips, for a compact badge strip. */
|
|
147
147
|
compact?: boolean
|
|
148
148
|
}) {
|
|
149
149
|
return (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Switch as KobalteSwitch } from '@kobalte/core/switch'
|
|
2
2
|
import type { ComponentProps, JSX } from 'solid-js'
|
|
3
|
-
import { splitProps } from 'solid-js'
|
|
3
|
+
import { children as resolveChildren, splitProps } from 'solid-js'
|
|
4
4
|
import { useFormFieldControl } from '../../../lib/form-field'
|
|
5
5
|
import { cn } from '../../../lib/utils'
|
|
6
6
|
|
|
@@ -62,6 +62,9 @@ export function Switch(props: SwitchProps) {
|
|
|
62
62
|
'aria-errormessage': local['aria-errormessage'],
|
|
63
63
|
})
|
|
64
64
|
|
|
65
|
+
// Slots are JSX getters that build per read; resolve each once.
|
|
66
|
+
const label = resolveChildren(() => local.label)
|
|
67
|
+
const description = resolveChildren(() => local.description)
|
|
65
68
|
return (
|
|
66
69
|
<KobalteSwitch
|
|
67
70
|
data-slot="switch"
|
|
@@ -102,18 +105,18 @@ export function Switch(props: SwitchProps) {
|
|
|
102
105
|
/>
|
|
103
106
|
</KobalteSwitch.Control>
|
|
104
107
|
{local.children ??
|
|
105
|
-
(
|
|
108
|
+
(label() || description() ? (
|
|
106
109
|
<div class="grid gap-0.5">
|
|
107
|
-
{
|
|
110
|
+
{label() ? (
|
|
108
111
|
<KobalteSwitch.Label class={cn('text-sm leading-none font-medium', local.labelClass)}>
|
|
109
|
-
{
|
|
112
|
+
{label()}
|
|
110
113
|
</KobalteSwitch.Label>
|
|
111
114
|
) : null}
|
|
112
|
-
{
|
|
115
|
+
{description() ? (
|
|
113
116
|
<KobalteSwitch.Description
|
|
114
117
|
class={cn('text-muted-foreground text-sm', local.descriptionClass)}
|
|
115
118
|
>
|
|
116
|
-
{
|
|
119
|
+
{description()}
|
|
117
120
|
</KobalteSwitch.Description>
|
|
118
121
|
) : null}
|
|
119
122
|
</div>
|
|
@@ -30,7 +30,7 @@ function useTabsId() {
|
|
|
30
30
|
/**
|
|
31
31
|
* Tabs.
|
|
32
32
|
*
|
|
33
|
-
* For switching between sibling views of the *same* subject
|
|
33
|
+
* For switching between sibling views of the *same* subject, a file's code,
|
|
34
34
|
* diff and history. Not for moving between pages: a tab is expected to keep
|
|
35
35
|
* its panel and its scroll position, which a route does not.
|
|
36
36
|
*
|
|
@@ -92,7 +92,7 @@ export type TabsListProps = ComponentProps<typeof KobalteTabs.List> & {
|
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* The underline appearance's rule is the baseline a horizontal row of tabs sits
|
|
95
|
-
* on. A vertical list has no baseline
|
|
95
|
+
* on. A vertical list has no baseline, its triggers stack, so the rule is
|
|
96
96
|
* dropped there; otherwise it draws as a stray line under the last trigger,
|
|
97
97
|
* spanning only the list's width (the SettingsLayout rail showed exactly that).
|
|
98
98
|
*
|
|
@@ -136,8 +136,8 @@ export type TabsTriggerProps = ComponentProps<typeof KobalteTabs.Trigger> & {
|
|
|
136
136
|
* The underline appearance marks the selected trigger on the edge it shares
|
|
137
137
|
* with the list's axis. A horizontal row reads left to right along a baseline,
|
|
138
138
|
* so the mark is a bottom bar sitting on the list's rule. A vertical list stacks
|
|
139
|
-
* its triggers, and a bottom bar there underlines one row of a column
|
|
140
|
-
* as a divider, not a selection
|
|
139
|
+
* its triggers, and a bottom bar there underlines one row of a column, it reads
|
|
140
|
+
* as a divider, not a selection, so the mark moves to the inline-start edge,
|
|
141
141
|
* the leading bar a side navigation uses, and the label aligns to that edge.
|
|
142
142
|
*
|
|
143
143
|
* The orientation is read from the root rather than from a `data-orientation`
|
|
@@ -48,7 +48,7 @@ export type TextareaProps = Omit<ComponentProps<'textarea'>, 'size'> &
|
|
|
48
48
|
/**
|
|
49
49
|
* Textarea.
|
|
50
50
|
*
|
|
51
|
-
* Shares the Input's border, focus and invalid treatment exactly
|
|
51
|
+
* Shares the Input's border, focus and invalid treatment exactly, the two are
|
|
52
52
|
* the same control at different aspect ratios, and a form that mixes them must
|
|
53
53
|
* not show a seam between them.
|
|
54
54
|
*
|
|
@@ -87,12 +87,14 @@ function ToastCard(props: ToastComponentProps & ToastOptions) {
|
|
|
87
87
|
<div class="flex min-w-0 flex-1 flex-col gap-0.5">
|
|
88
88
|
<KobalteToast.Title class="text-sm font-medium">{props.title}</KobalteToast.Title>
|
|
89
89
|
<Show when={props.description}>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
{(descriptionSlot) => (
|
|
91
|
+
<KobalteToast.Description class="text-sm text-muted-foreground">
|
|
92
|
+
{descriptionSlot()}
|
|
93
|
+
</KobalteToast.Description>
|
|
94
|
+
)}
|
|
93
95
|
</Show>
|
|
94
96
|
<Show when={props.action}>
|
|
95
|
-
<div class="mt-1.5 flex items-center gap-2">{
|
|
97
|
+
{(actionSlot) => <div class="mt-1.5 flex items-center gap-2">{actionSlot()}</div>}
|
|
96
98
|
</Show>
|
|
97
99
|
</div>
|
|
98
100
|
<KobalteToast.CloseButton
|
|
@@ -13,7 +13,7 @@ import { cn } from '../../../lib/utils'
|
|
|
13
13
|
* for a command.
|
|
14
14
|
*
|
|
15
15
|
* Kobalte supplies the pressed state and the keyboard behaviour; the styling
|
|
16
|
-
* adds the one thing a headless primitive cannot know
|
|
16
|
+
* adds the one thing a headless primitive cannot know, that a pressed toggle
|
|
17
17
|
* in a toolbar should read as *filled*, not merely outlined. Pressed reads on
|
|
18
18
|
* the accent rung (`primary-subtle`, foreground text, accent glyph): pressed is the
|
|
19
19
|
* control's on state, the same family the checked checkbox and switch own, so
|