@adea-ai/ui 0.149.0 → 0.149.2
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/dist/components/composites/about-dialog/about-dialog.js +2 -3
- package/dist/components/composites/about-dialog/index.js +1 -2
- package/dist/components/composites/accent-picker/accent-picker.js +2 -3
- package/dist/components/composites/accent-picker/index.js +1 -2
- package/dist/components/composites/account-menu/account-menu.js +3 -4
- package/dist/components/composites/account-menu/index.js +1 -2
- package/dist/components/composites/action-button/action-button.js +2 -3
- package/dist/components/composites/action-button/index.js +1 -2
- package/dist/components/composites/appearance-editor/accent-swatch-groups.js +1 -2
- package/dist/components/composites/appearance-editor/appearance-choices.js +2 -3
- package/dist/components/composites/appearance-editor/appearance-editor.js +5 -6
- package/dist/components/composites/appearance-editor/appearance-rows.d.ts.map +1 -1
- package/dist/components/composites/appearance-editor/appearance-rows.js +4 -4
- package/dist/components/composites/appearance-editor/appearance-rows.js.map +1 -1
- package/dist/components/composites/appearance-editor/font-settings-group.js +3 -4
- package/dist/components/composites/appearance-editor/font-settings-group.js.map +1 -1
- package/dist/components/composites/appearance-editor/index.js +2 -2
- package/dist/components/composites/appearance-editor/theme-preview.js +1 -2
- package/dist/components/composites/catalog-browser/catalog-browser-group.js +3 -4
- package/dist/components/composites/catalog-browser/catalog-browser.js +4 -5
- package/dist/components/composites/catalog-browser/catalog-detail.js +1 -2
- package/dist/components/composites/chain-of-thought/chain-of-thought.js +1 -2
- package/dist/components/composites/chain-of-thought/index.js +1 -2
- package/dist/components/composites/chat/chat.js +1 -2
- package/dist/components/composites/chat/index.js +1 -2
- package/dist/components/composites/checkpoint/checkpoint-model.js +1 -2
- package/dist/components/composites/checkpoint/checkpoint.js +4 -5
- package/dist/components/composites/checkpoint/index.js +1 -1
- package/dist/components/composites/confirmation/confirmation-model.js +1 -2
- package/dist/components/composites/confirmation/confirmation.js +1 -2
- package/dist/components/composites/confirmation/index.js +1 -1
- package/dist/components/composites/context/context-model.js +1 -2
- package/dist/components/composites/context/context.js +1 -2
- package/dist/components/composites/context/index.js +1 -1
- package/dist/components/composites/file-tree/build-file-tree.js +1 -2
- package/dist/components/composites/file-tree/file-tree.js +2 -3
- package/dist/components/composites/file-tree/index.js +1 -1
- package/dist/components/composites/help-center/help-center.js +3 -4
- package/dist/components/composites/help-center/index.js +1 -2
- package/dist/components/composites/icon-picker/icon-picker.js +1 -2
- package/dist/components/composites/icon-picker/image-data-url.js +1 -2
- package/dist/components/composites/icon-picker/index.js +1 -1
- package/dist/components/composites/icon-picker/shell-icons.js +1 -2
- package/dist/components/composites/inline-citation/citation.d.ts.map +1 -1
- package/dist/components/composites/inline-citation/citation.js +2 -3
- package/dist/components/composites/inline-citation/citation.js.map +1 -1
- package/dist/components/composites/inline-citation/index.js +1 -1
- package/dist/components/composites/inline-citation/inline-citation.js +2 -3
- package/dist/components/composites/list-row/index.js +1 -1
- package/dist/components/composites/list-row/list-row-control.js +1 -2
- package/dist/components/composites/list-row/list-row.js +3 -4
- package/dist/components/composites/message-scroller/index.js +1 -1
- package/dist/components/composites/message-scroller/message-scroller.js +1 -2
- package/dist/components/composites/message-scroller/scroll-anchor.js +1 -2
- package/dist/components/composites/model-selector/index.js +1 -1
- package/dist/components/composites/model-selector/model-selector.js +2 -3
- package/dist/components/composites/model-selector/model-selector.js.map +1 -1
- package/dist/components/composites/model-selector/models.js +1 -2
- package/dist/components/composites/plan/index.js +1 -2
- package/dist/components/composites/plan/plan.js +1 -2
- package/dist/components/composites/queue/index.js +1 -2
- package/dist/components/composites/queue/queue.js +1 -2
- package/dist/components/composites/reasoning/index.js +1 -2
- package/dist/components/composites/reasoning/reasoning.js +1 -2
- package/dist/components/composites/scene-controls/index.js +1 -2
- package/dist/components/composites/scene-controls/scene-controls.js +1 -2
- package/dist/components/composites/settings/index.js +1 -1
- package/dist/components/composites/settings/settings-layout.js +1 -2
- package/dist/components/composites/settings/settings-navigation.js +3 -4
- package/dist/components/composites/settings/settings.js +3 -4
- package/dist/components/composites/sources/index.js +1 -1
- package/dist/components/composites/sources/source.js +1 -2
- package/dist/components/composites/sources/sources.js +1 -2
- package/dist/components/composites/stack-trace/index.js +1 -1
- package/dist/components/composites/stack-trace/parse-stack-trace.js +1 -2
- package/dist/components/composites/stack-trace/stack-trace.js +3 -4
- package/dist/components/composites/stack-trace/stack-trace.js.map +1 -1
- package/dist/components/composites/stat/index.js +1 -2
- package/dist/components/composites/stat/stat.js +1 -2
- package/dist/components/composites/subagent/index.js +1 -2
- package/dist/components/composites/subagent/subagent.js +1 -2
- package/dist/components/composites/suggestion/index.js +1 -2
- package/dist/components/composites/suggestion/suggestion.js +1 -2
- package/dist/components/composites/task/index.js +1 -2
- package/dist/components/composites/task/task.js +2 -3
- package/dist/components/composites/terminal/ansi.js +1 -2
- package/dist/components/composites/terminal/index.js +1 -1
- package/dist/components/composites/terminal/terminal-model.js +1 -2
- package/dist/components/composites/terminal/terminal.js +2 -3
- package/dist/components/composites/test-results/index.js +1 -1
- package/dist/components/composites/test-results/test-results-model.js +1 -2
- package/dist/components/composites/test-results/test-results.js +2 -3
- package/dist/components/composites/tool/format-tool-value.js +1 -2
- package/dist/components/composites/tool/index.js +1 -1
- package/dist/components/composites/tool/tool.js +1 -2
- package/dist/components/composites/tree/index.js +1 -2
- package/dist/components/composites/tree/tree-navigation.js +1 -2
- package/dist/components/composites/tree/tree.js +1 -2
- package/dist/components/composites/update-dialog/channel-control.js +2 -3
- package/dist/components/composites/update-dialog/update-dialog.js +9 -7
- package/dist/components/composites/update-dialog/update-dialog.js.map +1 -1
- package/dist/components/composites/workspace-mark/index.js +1 -2
- package/dist/components/composites/workspace-mark/workspace-mark.d.ts.map +1 -1
- package/dist/components/composites/workspace-mark/workspace-mark.js +24 -16
- package/dist/components/composites/workspace-mark/workspace-mark.js.map +1 -1
- package/dist/components/composites/workspace-switcher/index.js +1 -1
- package/dist/components/composites/workspace-switcher/workspace-order.js +1 -2
- package/dist/components/composites/workspace-switcher/workspace-reorder-dialog.js +1 -2
- package/dist/components/composites/workspace-switcher/workspace-switcher.d.ts.map +1 -1
- package/dist/components/composites/workspace-switcher/workspace-switcher.js +28 -21
- package/dist/components/composites/workspace-switcher/workspace-switcher.js.map +1 -1
- package/dist/components/conversation/atomic/chat-composer.js +2 -3
- package/dist/components/conversation/atomic/index.js +1 -2
- package/dist/components/conversation/busy-send-button.js +1 -2
- package/dist/components/conversation/chat-composer.js +1 -2
- package/dist/components/conversation/composer-menu.js +1 -2
- package/dist/components/conversation/conversation-avatar.js +1 -2
- package/dist/components/conversation/conversation-pane.js +1 -2
- package/dist/components/conversation/conversation-surface.js +1 -2
- package/dist/components/conversation/ime-guard.js +1 -2
- package/dist/components/conversation/index.js +1 -1
- package/dist/components/conversation/internal/chat-composer-shell.js +5 -3
- package/dist/components/conversation/internal/chat-composer-shell.js.map +1 -1
- package/dist/components/conversation/message-composer.js +2 -3
- package/dist/components/conversation/message-row.js +1 -2
- package/dist/components/conversation/paste-preview.js +0 -1
- package/dist/components/conversation/paste-token-editor.js +1 -2
- package/dist/components/conversation/paste-tokens.js +1 -2
- package/dist/components/conversation/scroll-follow-core.js +0 -1
- package/dist/components/conversation/scroll-follow.js +1 -2
- package/dist/components/conversation/thread-panel.js +1 -2
- package/dist/components/conversation/transcript-composition.js +1 -2
- package/dist/components/conversation/transcript-folding.js +1 -2
- package/dist/components/conversation/transcript-grouping.js +1 -2
- package/dist/components/layout/app-shell/app-shell.js +1 -2
- package/dist/components/layout/app-shell/skip-link.js +1 -2
- package/dist/components/layout/contextual-sidebar/contextual-sidebar.js +1 -2
- package/dist/components/layout/contextual-sidebar/index.js +1 -1
- package/dist/components/layout/contextual-sidebar/mobile-contextual-sidebar.js +1 -2
- package/dist/components/layout/floating-preview/floating-preview.js +1 -2
- package/dist/components/layout/floating-preview/model.js +1 -2
- package/dist/components/layout/orbit-layout/index.js +1 -2
- package/dist/components/layout/orbit-layout/orbit-layout.js +1 -2
- package/dist/components/layout/page/index.js +1 -2
- package/dist/components/layout/page/page.js +1 -2
- package/dist/components/layout/panel/index.js +1 -2
- package/dist/components/layout/panel/panel.js +1 -2
- package/dist/components/layout/pixel-pane/index.js +1 -2
- package/dist/components/layout/pixel-pane/pixel-pane.js +1 -2
- package/dist/components/layout/pixel-resize-handle/index.js +1 -2
- package/dist/components/layout/pixel-resize-handle/pixel-resize-handle.js +1 -2
- package/dist/components/layout/shell-rail/index.js +1 -2
- package/dist/components/layout/shell-rail/shell-rail.js +2 -3
- package/dist/components/layout/shell-top-bar/index.js +1 -2
- package/dist/components/layout/shell-top-bar/shell-top-bar.js +1 -2
- package/dist/components/layout/side-rail/index.js +1 -1
- package/dist/components/layout/side-rail/side-rail-context.js +1 -2
- package/dist/components/layout/side-rail/side-rail.js +2 -3
- package/dist/components/layout/sidebar-nav/sidebar-nav-resize-handle.js +1 -2
- package/dist/components/layout/sidebar-nav/sidebar-nav.js +1 -2
- package/dist/components/layout/split-layout/drop.js +1 -2
- package/dist/components/layout/split-layout/geometry.js +1 -2
- package/dist/components/layout/split-layout/model.js +1 -2
- package/dist/components/layout/split-layout/resize-controller-core-retry.js +1 -2
- package/dist/components/layout/split-layout/resize-controller-core.js +1 -2
- package/dist/components/layout/split-layout/resize-controller-retry-2.js +1 -2
- package/dist/components/layout/split-layout/resize-controller-retry.js +1 -2
- package/dist/components/layout/split-layout/resize-controller.js +1 -2
- package/dist/components/layout/split-layout/split-layout.d.ts.map +1 -1
- package/dist/components/layout/split-layout/split-layout.js +31 -17
- package/dist/components/layout/split-layout/split-layout.js.map +1 -1
- package/dist/components/layout/split-layout/tree.js +1 -2
- package/dist/components/layout/status-bar/index.js +1 -2
- package/dist/components/layout/status-bar/status-bar.js +1 -2
- package/dist/components/layout/top-bar/index.js +1 -2
- package/dist/components/layout/top-bar/top-bar.js +1 -2
- package/dist/components/layout/virtual-window/index.js +1 -2
- package/dist/components/layout/virtual-window/virtual-window.js +1 -2
- package/dist/components/motion/presence.js +1 -2
- package/dist/components/theme/appearance-panel.js +4 -5
- package/dist/components/theme/index.js +2 -2
- package/dist/components/theme/lazy.js +4 -4
- package/dist/components/theme/script.js +1 -2
- package/dist/components/theme/theme-catalogue-source.js +1 -2
- package/dist/components/theme/theme-context.js +1 -2
- package/dist/components/theme/theme-document-core.js +3 -4
- package/dist/components/theme/theme-mode-toggle.js +2 -3
- package/dist/components/theme/theme-persistence.js +4 -5
- package/dist/components/theme/theme-picker.js +1 -2
- package/dist/components/theme/theme-provider-core.js +1 -2
- package/dist/components/theme/theme-provider-lazy.js +2 -3
- package/dist/components/theme/theme-provider-value.js +2 -3
- package/dist/components/theme/theme-provider.js +1 -2
- package/dist/components/theme/theme-script.js +4 -5
- package/dist/components/theme/theme-state-core.js +3 -4
- package/dist/components/theme/theme-toggle.js +1 -2
- package/dist/components/ui/accordion/accordion.js +1 -2
- package/dist/components/ui/accordion/index.js +1 -2
- package/dist/components/ui/alert/alert.js +2 -3
- package/dist/components/ui/alert/index.js +1 -2
- package/dist/components/ui/alert-dialog/alert-dialog.js +2 -3
- package/dist/components/ui/alert-dialog/index.js +1 -2
- package/dist/components/ui/annotation-surface/annotation-surface.js +1 -2
- package/dist/components/ui/annotation-surface/geometry.js +1 -2
- package/dist/components/ui/annotation-surface/index.js +1 -2
- package/dist/components/ui/aspect-ratio/aspect-ratio.js +1 -2
- package/dist/components/ui/aspect-ratio/index.js +1 -2
- package/dist/components/ui/attachment/attachment.js +1 -2
- package/dist/components/ui/attachment/index.js +1 -2
- package/dist/components/ui/avatar/avatar.js +1 -2
- package/dist/components/ui/avatar/index.js +1 -2
- package/dist/components/ui/badge/badge.js +2 -3
- package/dist/components/ui/badge/index.js +1 -2
- package/dist/components/ui/board/board.js +2 -3
- package/dist/components/ui/board/index.js +1 -2
- package/dist/components/ui/breadcrumb/breadcrumb.js +1 -2
- package/dist/components/ui/breadcrumb/index.js +1 -2
- package/dist/components/ui/bubble/bubble.js +1 -2
- package/dist/components/ui/bubble/index.js +1 -2
- package/dist/components/ui/button/button.js +2 -3
- package/dist/components/ui/button/index.js +1 -2
- package/dist/components/ui/button-group/button-group.js +1 -2
- package/dist/components/ui/button-group/index.js +1 -2
- package/dist/components/ui/calendar/calendar.js +1 -2
- package/dist/components/ui/calendar/index.js +1 -2
- package/dist/components/ui/callout/callout.js +2 -3
- package/dist/components/ui/callout/index.js +1 -2
- package/dist/components/ui/card/card.js +2 -3
- package/dist/components/ui/card/index.js +1 -2
- package/dist/components/ui/carousel/carousel.js +1 -2
- package/dist/components/ui/carousel/index.js +1 -2
- package/dist/components/ui/chart/chart-options.js +1 -2
- package/dist/components/ui/chart/chart.js +1 -2
- package/dist/components/ui/checkbox/checkbox.js +2 -3
- package/dist/components/ui/checkbox/index.js +1 -2
- package/dist/components/ui/code-block/code-block.js +2 -3
- package/dist/components/ui/code-block/index.js +1 -2
- package/dist/components/ui/collapsible/collapsible.js +1 -2
- package/dist/components/ui/collapsible/index.js +1 -2
- package/dist/components/ui/combobox/combobox.js +2 -3
- package/dist/components/ui/combobox/value-combobox.js +1 -2
- package/dist/components/ui/command/command.js +3 -4
- package/dist/components/ui/command/index.js +1 -2
- package/dist/components/ui/context-menu/context-menu.js +2 -3
- package/dist/components/ui/context-menu/index.js +1 -2
- package/dist/components/ui/detail-panel/detail-panel.js +2 -3
- package/dist/components/ui/detail-panel/index.js +1 -2
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.js +3 -3
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/dialog/index.js +1 -2
- package/dist/components/ui/diff-block/diff-block.js +2 -3
- package/dist/components/ui/diff-block/index.js +1 -2
- package/dist/components/ui/drawer/drawer.js +1 -2
- package/dist/components/ui/drawer/index.js +1 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +2 -3
- package/dist/components/ui/dropdown-menu/index.js +1 -2
- package/dist/components/ui/empty/empty-state.js +3 -4
- package/dist/components/ui/empty/empty.js +1 -2
- package/dist/components/ui/entity-icon/entity-icon.js +2 -3
- package/dist/components/ui/entity-icon/index.js +1 -2
- package/dist/components/ui/field/field.js +3 -4
- package/dist/components/ui/field/number-field.js +1 -2
- package/dist/components/ui/hover-card/hover-card.js +2 -3
- package/dist/components/ui/hover-card/index.js +1 -2
- package/dist/components/ui/input/index.js +1 -1
- package/dist/components/ui/input/input-control.js +1 -2
- package/dist/components/ui/input/input.js +1 -2
- package/dist/components/ui/input-group/input-group.js +2 -3
- package/dist/components/ui/input-group/secret-input-group.js +2 -3
- package/dist/components/ui/input-otp/index.js +1 -2
- package/dist/components/ui/input-otp/input-otp.js +1 -2
- package/dist/components/ui/item/index.js +1 -2
- package/dist/components/ui/item/item.js +2 -3
- package/dist/components/ui/kbd/kbd.js +2 -3
- package/dist/components/ui/kbd/platform-modifier.js +1 -2
- package/dist/components/ui/label/index.js +1 -2
- package/dist/components/ui/label/label.js +1 -2
- package/dist/components/ui/marker/index.js +1 -2
- package/dist/components/ui/marker/marker.js +1 -2
- package/dist/components/ui/menubar/index.js +1 -2
- package/dist/components/ui/menubar/menubar.js +2 -3
- package/dist/components/ui/message/cite-ranges.js +1 -2
- package/dist/components/ui/message/index.js +1 -1
- package/dist/components/ui/message/message.js +1 -2
- package/dist/components/ui/message/parse-message-text.js +1 -2
- package/dist/components/ui/modal-dialog/index.js +1 -2
- package/dist/components/ui/modal-dialog/modal-dialog.js +1 -2
- package/dist/components/ui/native-select/index.js +1 -2
- package/dist/components/ui/native-select/native-select.js +2 -3
- package/dist/components/ui/navigation-menu/index.js +1 -2
- package/dist/components/ui/navigation-menu/navigation-menu.js +1 -2
- package/dist/components/ui/pagination/index.js +1 -2
- package/dist/components/ui/pagination/pagination.js +1 -2
- package/dist/components/ui/popover/index.js +1 -2
- package/dist/components/ui/popover/popover.js +2 -3
- package/dist/components/ui/progress/index.js +1 -2
- package/dist/components/ui/progress/progress.js +1 -2
- package/dist/components/ui/questionnaire/index.js +1 -2
- package/dist/components/ui/questionnaire/questionnaire.js +1 -2
- package/dist/components/ui/radio-group/index.js +1 -2
- package/dist/components/ui/radio-group/radio-group.js +2 -3
- package/dist/components/ui/resizable/index.js +1 -2
- package/dist/components/ui/resizable/resizable.js +1 -2
- package/dist/components/ui/scroll-area/index.js +1 -2
- package/dist/components/ui/scroll-area/scroll-area.js +1 -2
- package/dist/components/ui/select/index.js +1 -2
- package/dist/components/ui/select/select.js +2 -3
- package/dist/components/ui/separator/index.js +1 -2
- package/dist/components/ui/separator/separator.js +1 -2
- package/dist/components/ui/sheet/index.js +1 -2
- package/dist/components/ui/sheet/sheet.js +2 -3
- package/dist/components/ui/skeleton/index.js +1 -2
- package/dist/components/ui/skeleton/skeleton.js +1 -2
- package/dist/components/ui/slider/index.js +1 -2
- package/dist/components/ui/slider/slider.js +1 -2
- package/dist/components/ui/spinner/index.js +1 -2
- package/dist/components/ui/spinner/spinner.js +2 -3
- package/dist/components/ui/status-chip/index.js +1 -2
- package/dist/components/ui/status-chip/status-chip.js +2 -3
- package/dist/components/ui/switch/index.js +1 -2
- package/dist/components/ui/switch/switch.js +2 -3
- package/dist/components/ui/table/index.js +1 -2
- package/dist/components/ui/table/table.js +1 -2
- package/dist/components/ui/tabs/index.js +1 -2
- package/dist/components/ui/tabs/tabs.js +1 -2
- package/dist/components/ui/text-link/index.js +1 -2
- package/dist/components/ui/text-link/text-link.js +1 -2
- package/dist/components/ui/textarea/index.js +1 -2
- package/dist/components/ui/textarea/textarea.js +2 -3
- package/dist/components/ui/toast/index.js +1 -2
- package/dist/components/ui/toast/toast.js +1 -2
- package/dist/components/ui/toggle/index.js +1 -2
- package/dist/components/ui/toggle/toggle.js +2 -3
- package/dist/components/ui/toggle-group/index.js +1 -2
- package/dist/components/ui/toggle-group/toggle-group.js +1 -2
- package/dist/components/ui/tooltip/index.js +1 -2
- package/dist/components/ui/tooltip/tooltip.js +2 -3
- package/dist/components/ui/trace/index.js +1 -2
- package/dist/components/ui/trace/trace.js +1 -2
- package/dist/components/ui/typography/index.js +1 -2
- package/dist/components/ui/typography/typography.js +2 -3
- package/dist/index.js +11 -11
- package/dist/lib/accent-presets.js +1 -2
- package/dist/lib/accent-roles.js +1 -2
- package/dist/lib/appearance-font-settings.js +1 -2
- package/dist/lib/clipboard.js +1 -2
- package/dist/lib/cn-tables.generated.js +8 -9
- package/dist/lib/cn-tables.generated.js.map +1 -1
- package/dist/lib/download.js +1 -2
- package/dist/lib/font-catalog.js +0 -1
- package/dist/lib/font-zoom.js +1 -2
- package/dist/lib/form-field.js +1 -2
- package/dist/lib/keyed-rows.js +1 -2
- package/dist/lib/overlay.js +1 -2
- package/dist/lib/preference-store.js +1 -2
- package/dist/lib/safe-script.js +1 -2
- package/dist/lib/theme-accents.js +1 -2
- package/dist/lib/theme-catalogue.js +1 -2
- package/dist/lib/theme-css.js +1 -2
- package/dist/lib/theme-defaults.generated.js +1 -2
- package/dist/lib/theme-defaults.js +1 -2
- package/dist/lib/theme-engine-light.js +1 -2
- package/dist/lib/theme-engine.js +1 -2
- package/dist/lib/theme-projection.js +1 -2
- package/dist/lib/theme-records.js +1 -2
- package/dist/lib/theme-surface.js +1 -2
- package/dist/lib/themes.js +2 -3
- package/dist/lib/tokens.js +1 -2
- package/dist/lib/tooltip-focus-gate.js +1 -2
- package/dist/lib/utils.js +1 -2
- package/dist/lib/variants.js +1 -2
- package/dist/lib/version-notes.js +1 -2
- package/dist/lint.js +1 -2
- package/dist/r/about-dialog.json +1 -1
- package/dist/r/accordion.json +1 -1
- package/dist/r/account-menu.json +1 -1
- package/dist/r/alert.json +1 -1
- package/dist/r/appearance-editor.json +2 -2
- package/dist/r/attachment.json +1 -1
- package/dist/r/breadcrumb.json +1 -1
- package/dist/r/calendar.json +1 -1
- package/dist/r/carousel.json +1 -1
- package/dist/r/catalog-browser.json +1 -1
- package/dist/r/chain-of-thought.json +1 -1
- package/dist/r/chat.json +1 -1
- package/dist/r/checkbox.json +1 -1
- package/dist/r/checkpoint.json +1 -1
- package/dist/r/code-block.json +1 -1
- package/dist/r/combobox.json +1 -1
- package/dist/r/command.json +1 -1
- package/dist/r/confirmation.json +1 -1
- package/dist/r/context-menu.json +1 -1
- package/dist/r/context.json +1 -1
- package/dist/r/conversation.json +1 -1
- package/dist/r/detail-panel.json +1 -1
- package/dist/r/dialog.json +1 -1
- package/dist/r/dropdown-menu.json +1 -1
- package/dist/r/empty.json +1 -1
- package/dist/r/file-tree.json +1 -1
- package/dist/r/floating-preview.json +1 -1
- package/dist/r/help-center.json +1 -1
- package/dist/r/icon-picker.json +1 -1
- package/dist/r/inline-citation.json +1 -1
- package/dist/r/lib.json +2 -2
- package/dist/r/menubar.json +1 -1
- package/dist/r/message-scroller.json +1 -1
- package/dist/r/model-selector.json +1 -1
- package/dist/r/native-select.json +1 -1
- package/dist/r/navigation-menu.json +1 -1
- package/dist/r/pagination.json +1 -1
- package/dist/r/pixel-resize-handle.json +1 -1
- package/dist/r/plan.json +1 -1
- package/dist/r/questionnaire.json +1 -1
- package/dist/r/queue.json +1 -1
- package/dist/r/radio-group.json +1 -1
- package/dist/r/reasoning.json +1 -1
- package/dist/r/registry.json +70 -70
- package/dist/r/resizable.json +1 -1
- package/dist/r/scene-controls.json +1 -1
- package/dist/r/select.json +1 -1
- package/dist/r/settings.json +1 -1
- package/dist/r/sheet.json +1 -1
- package/dist/r/shell-rail.json +1 -1
- package/dist/r/sidebar-nav.json +1 -1
- package/dist/r/sources.json +1 -1
- package/dist/r/spinner.json +1 -1
- package/dist/r/split-layout.json +1 -1
- package/dist/r/src/components/composites/appearance-editor/appearance-rows.tsx +4 -5
- package/dist/r/src/components/composites/appearance-editor/font-settings-group.tsx +1 -1
- package/dist/r/src/components/composites/inline-citation/citation.ts +4 -1
- package/dist/r/src/components/composites/model-selector/model-selector.tsx +1 -1
- package/dist/r/src/components/composites/stack-trace/stack-trace.tsx +1 -1
- package/dist/r/src/components/composites/update-dialog/update-dialog.tsx +2 -2
- package/dist/r/src/components/composites/workspace-mark/workspace-mark.tsx +23 -12
- package/dist/r/src/components/composites/workspace-switcher/workspace-switcher.tsx +10 -5
- package/dist/r/src/components/conversation/internal/chat-composer-shell.tsx +2 -2
- package/dist/r/src/components/layout/split-layout/split-layout.tsx +44 -29
- package/dist/r/src/components/ui/dialog/dialog.tsx +1 -0
- package/dist/r/src/lib/cn-tables.generated.ts +7 -7
- package/dist/r/stack-trace.json +1 -1
- package/dist/r/stat.json +1 -1
- package/dist/r/subagent.json +1 -1
- package/dist/r/task.json +1 -1
- package/dist/r/terminal.json +1 -1
- package/dist/r/test-results.json +1 -1
- package/dist/r/theming.json +2 -2
- package/dist/r/toast.json +1 -1
- package/dist/r/tool.json +1 -1
- package/dist/r/top-bar.json +1 -1
- package/dist/r/trace.json +1 -1
- package/dist/r/tree.json +1 -1
- package/dist/r/update-dialog.json +1 -1
- package/dist/r/workspace-switcher.json +1 -1
- package/dist/vite/source-parser.js +1 -2
- package/dist/vite/tailwind-sources.js +1 -2
- package/dist/vite.js +1 -2
- package/package.json +22 -22
- package/registry.json +70 -70
- package/src/components/composites/appearance-editor/appearance-rows.tsx +4 -5
- package/src/components/composites/appearance-editor/font-settings-group.tsx +1 -1
- package/src/components/composites/inline-citation/citation.ts +4 -1
- package/src/components/composites/model-selector/model-selector.tsx +1 -1
- package/src/components/composites/stack-trace/stack-trace.tsx +1 -1
- package/src/components/composites/update-dialog/update-dialog.tsx +2 -2
- package/src/components/composites/workspace-mark/workspace-mark.tsx +23 -12
- package/src/components/composites/workspace-switcher/workspace-switcher.tsx +10 -5
- package/src/components/conversation/internal/chat-composer-shell.tsx +2 -2
- package/src/components/layout/split-layout/split-layout.tsx +44 -29
- package/src/components/ui/dialog/dialog.tsx +1 -0
- package/src/lib/cn-tables.generated.ts +7 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { keyedRows } from "../../../lib/keyed-rows.js";
|
|
2
2
|
import { Button } from "../../ui/button/button.js";
|
|
3
3
|
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "../../ui/empty/empty.js";
|
|
4
4
|
import { InputGroup, InputGroupAddon, InputGroupInput } from "../../ui/input-group/input-group.js";
|
|
5
|
-
import { ScrollArea } from "../../ui/scroll-area/scroll-area.js";
|
|
6
5
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../ui/tabs/tabs.js";
|
|
7
|
-
import {
|
|
6
|
+
import { ScrollArea } from "../../ui/scroll-area/scroll-area.js";
|
|
7
|
+
import { cn } from "../../../lib/utils.js";
|
|
8
8
|
import { CatalogBrowserGroup, CatalogLoadingState } from "./catalog-browser-group.js";
|
|
9
9
|
import { className, createComponent, effect, insert, memo, setAttribute, template } from "solid-js/web";
|
|
10
10
|
import { ArrowLeft, Blocks, Search } from "lucide-solid";
|
|
11
11
|
import { For, Show, createEffect, createMemo, createSignal, onCleanup } from "solid-js";
|
|
12
|
-
|
|
12
|
+
// src/components/composites/catalog-browser/catalog-browser.tsx
|
|
13
13
|
var _tmpl$ = /*#__PURE__*/ template(`<div>`);
|
|
14
14
|
var _tmpl$2 = /*#__PURE__*/ template(`<div class="flex min-w-0 shrink-0 flex-wrap items-center gap-2 px-4 pt-2"><span class="text-primary ms-auto text-sm font-medium tabular-nums"role=status>`);
|
|
15
15
|
var _tmpl$3 = /*#__PURE__*/ template(`<div class="grid min-w-0 gap-5">`);
|
|
@@ -372,7 +372,6 @@ function CatalogBrowser(props) {
|
|
|
372
372
|
return _el$;
|
|
373
373
|
})();
|
|
374
374
|
}
|
|
375
|
-
//#endregion
|
|
376
375
|
export { CatalogBrowser };
|
|
377
376
|
|
|
378
377
|
//# sourceMappingURL=catalog-browser.js.map
|
|
@@ -2,7 +2,7 @@ import { Badge } from "../../ui/badge/badge.js";
|
|
|
2
2
|
import { className, createComponent, effect, insert, setAttribute, template } from "solid-js/web";
|
|
3
3
|
import { Show, createContext, createUniqueId, useContext } from "solid-js";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
|
-
|
|
5
|
+
// src/components/composites/catalog-browser/catalog-detail.tsx
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template(`<span class=shrink-0>`);
|
|
7
7
|
var _tmpl$2 = /*#__PURE__*/ template(`<div data-catalog-detail-actions class="flex min-w-0 basis-full flex-col items-start gap-2 wrap-anywhere sm:max-w-xs sm:basis-auto sm:items-end">`);
|
|
8
8
|
var _tmpl$3 = /*#__PURE__*/ template(`<div data-catalog-detail-sections>`);
|
|
@@ -99,7 +99,6 @@ function CatalogDetailSection(props) {
|
|
|
99
99
|
return _el$1;
|
|
100
100
|
})();
|
|
101
101
|
}
|
|
102
|
-
//#endregion
|
|
103
102
|
export { CatalogDetail, CatalogDetailSection };
|
|
104
103
|
|
|
105
104
|
//# sourceMappingURL=catalog-detail.js.map
|
|
@@ -4,7 +4,7 @@ import { Trace, TraceLine } from "../../ui/trace/trace.js";
|
|
|
4
4
|
import { createComponent, insert, memo, mergeProps, spread, template } from "solid-js/web";
|
|
5
5
|
import { ListOrdered } from "lucide-solid";
|
|
6
6
|
import { children, splitProps } from "solid-js";
|
|
7
|
-
|
|
7
|
+
// src/components/composites/chain-of-thought/chain-of-thought.tsx
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template(`<ul role=list data-slot=chain-of-thought-results>`);
|
|
9
9
|
var _tmpl$2 = /*#__PURE__*/ template(`<span class=truncate>`);
|
|
10
10
|
var _tmpl$3 = /*#__PURE__*/ template(`<li data-slot=chain-of-thought-result>`);
|
|
@@ -111,7 +111,6 @@ function ChainOfThoughtResult(props) {
|
|
|
111
111
|
return _el$2;
|
|
112
112
|
})();
|
|
113
113
|
}
|
|
114
|
-
//#endregion
|
|
115
114
|
export { CHAIN_OF_THOUGHT_STATUS_LABELS, ChainOfThought, ChainOfThoughtResult, ChainOfThoughtResults, ChainOfThoughtStep };
|
|
116
115
|
|
|
117
116
|
//# sourceMappingURL=chain-of-thought.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CHAIN_OF_THOUGHT_STATUS_LABELS, ChainOfThought, ChainOfThoughtResult, ChainOfThoughtResults, ChainOfThoughtStep };
|
|
1
|
+
export { CHAIN_OF_THOUGHT_STATUS_LABELS, ChainOfThought, ChainOfThoughtResult, ChainOfThoughtResults, ChainOfThoughtStep } from "./chain-of-thought.js";
|
|
@@ -3,7 +3,7 @@ import { cva } from "../../../lib/variants.js";
|
|
|
3
3
|
import { Dynamic, className, createComponent, effect, insert, memo, mergeProps, spread, template } from "solid-js/web";
|
|
4
4
|
import { CircleAlert, Info, TriangleAlert } from "lucide-solid";
|
|
5
5
|
import { Show, splitProps } from "solid-js";
|
|
6
|
-
|
|
6
|
+
// src/components/composites/chat/chat.tsx
|
|
7
7
|
var _tmpl$ = /*#__PURE__*/ template(`<section data-slot=chat><div class="row-start-1 min-w-0"></div><div class="row-start-2 flex min-w-0 flex-col"></div><div class="row-start-3 flex min-h-0 min-w-0 flex-col"></div><div class="row-start-4 min-w-0">`);
|
|
8
8
|
var _tmpl$2 = /*#__PURE__*/ template(`<p class="m-0 truncate text-xs text-muted-foreground">`);
|
|
9
9
|
var _tmpl$3 = /*#__PURE__*/ template(`<div class="flex shrink-0 items-center gap-1">`);
|
|
@@ -173,7 +173,6 @@ function ChatEmpty(props) {
|
|
|
173
173
|
return _el$15;
|
|
174
174
|
})();
|
|
175
175
|
}
|
|
176
|
-
//#endregion
|
|
177
176
|
export { Chat, ChatEmpty, ChatHeader, ChatNotice, chatNoticeVariants };
|
|
178
177
|
|
|
179
178
|
//# sourceMappingURL=chat.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Chat, ChatEmpty, ChatHeader, ChatNotice, chatNoticeVariants };
|
|
1
|
+
export { Chat, ChatEmpty, ChatHeader, ChatNotice, chatNoticeVariants } from "./chat.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { boundText } from "../sources/source.js";
|
|
2
|
-
|
|
2
|
+
// src/components/composites/checkpoint/checkpoint-model.ts
|
|
3
3
|
/** The checkpoint's name as drawn; a blank label is the honest generic word. */
|
|
4
4
|
function checkpointLabel(label) {
|
|
5
5
|
return (label ? boundText(label, 80) : "") || "Checkpoint";
|
|
@@ -42,7 +42,6 @@ function restoreControl(hasHandler, state, disabledReason) {
|
|
|
42
42
|
disabled: state === "restoring" || disabledReason !== void 0
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
//#endregion
|
|
46
45
|
export { checkpointLabel, checkpointStatus, restoreControl, restoreDialogCopy };
|
|
47
46
|
|
|
48
47
|
//# sourceMappingURL=checkpoint-model.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
-
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from "../../ui/alert-dialog/alert-dialog.js";
|
|
3
2
|
import { Button } from "../../ui/button/button.js";
|
|
4
|
-
import {
|
|
3
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from "../../ui/alert-dialog/alert-dialog.js";
|
|
5
4
|
import { Marker } from "../../ui/marker/marker.js";
|
|
6
|
-
import {
|
|
5
|
+
import { Spinner } from "../../ui/spinner/spinner.js";
|
|
7
6
|
import { settleDecision } from "../confirmation/confirmation-model.js";
|
|
7
|
+
import { boundText } from "../sources/source.js";
|
|
8
8
|
import { checkpointLabel, checkpointStatus, restoreControl, restoreDialogCopy } from "./checkpoint-model.js";
|
|
9
9
|
import { className, createComponent, effect, insert, memo, mergeProps, setAttribute, spread, template, use } from "solid-js/web";
|
|
10
10
|
import { Flag } from "lucide-solid";
|
|
11
11
|
import { Show, createEffect, createMemo, createSignal, createUniqueId, on, splitProps } from "solid-js";
|
|
12
|
-
|
|
12
|
+
// src/components/composites/checkpoint/checkpoint.tsx
|
|
13
13
|
var _tmpl$ = /*#__PURE__*/ template(`<div data-slot=checkpoint><p role=status tabindex=-1>`);
|
|
14
14
|
function Checkpoint(props) {
|
|
15
15
|
const [local, rest] = splitProps(props, [
|
|
@@ -154,7 +154,6 @@ function Checkpoint(props) {
|
|
|
154
154
|
return _el$;
|
|
155
155
|
})();
|
|
156
156
|
}
|
|
157
|
-
//#endregion
|
|
158
157
|
export { Checkpoint };
|
|
159
158
|
|
|
160
159
|
//# sourceMappingURL=checkpoint.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { checkpointLabel, checkpointStatus, restoreControl, restoreDialogCopy } from "./checkpoint-model.js";
|
|
2
1
|
import { Checkpoint } from "./checkpoint.js";
|
|
2
|
+
import { checkpointLabel, checkpointStatus, restoreControl, restoreDialogCopy } from "./checkpoint-model.js";
|
|
3
3
|
export { Checkpoint, checkpointLabel, checkpointStatus, restoreControl, restoreDialogCopy };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { boundText } from "../sources/source.js";
|
|
2
|
-
|
|
2
|
+
// src/components/composites/confirmation/confirmation-model.ts
|
|
3
3
|
/** Whether the choice is still open, which is exactly when the buttons are drawn. */
|
|
4
4
|
function isAwaitingAnswer(state) {
|
|
5
5
|
return state === "requested" || state === "unavailable";
|
|
@@ -45,7 +45,6 @@ function decisionReason(options) {
|
|
|
45
45
|
if (options.state === "unavailable") return options.unavailableFallback;
|
|
46
46
|
if (!options.hasHandler) return options.missingFallback;
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { confirmationOutcome, decisionReason, isAwaitingAnswer, settleDecision };
|
|
50
49
|
|
|
51
50
|
//# sourceMappingURL=confirmation-model.js.map
|
|
@@ -8,7 +8,7 @@ import { confirmationOutcome, decisionReason, isAwaitingAnswer, settleDecision }
|
|
|
8
8
|
import { createComponent, insert, memo, mergeProps, setAttribute, spread, template, use } from "solid-js/web";
|
|
9
9
|
import { Ban, Check, Clock, Lock, ShieldQuestion } from "lucide-solid";
|
|
10
10
|
import { Show, createEffect, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
11
|
-
|
|
11
|
+
// src/components/composites/confirmation/confirmation.tsx
|
|
12
12
|
var _tmpl$ = /*#__PURE__*/ template(`<p class="m-0 mt-0.5 text-xs text-muted-foreground [overflow-wrap:anywhere]">`);
|
|
13
13
|
var _tmpl$2 = /*#__PURE__*/ template(`<span class="shrink-0 text-xs text-muted-foreground">`);
|
|
14
14
|
var _tmpl$3 = /*#__PURE__*/ template(`<p role=status class="m-0 text-xs text-muted-foreground">`);
|
|
@@ -294,7 +294,6 @@ function Details(props) {
|
|
|
294
294
|
})()
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
|
-
//#endregion
|
|
298
297
|
export { Confirmation };
|
|
299
298
|
|
|
300
299
|
//# sourceMappingURL=confirmation.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { confirmationOutcome, decisionReason, isAwaitingAnswer, settleDecision } from "./confirmation-model.js";
|
|
2
1
|
import { Confirmation } from "./confirmation.js";
|
|
2
|
+
import { confirmationOutcome, decisionReason, isAwaitingAnswer, settleDecision } from "./confirmation-model.js";
|
|
3
3
|
export { Confirmation, confirmationOutcome, decisionReason, isAwaitingAnswer, settleDecision };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { boundText } from "../sources/source.js";
|
|
2
|
-
|
|
2
|
+
// src/components/composites/context/context-model.ts
|
|
3
3
|
/** A usable figure: a finite, non-negative number. NaN, Infinity and negatives are "unknown". */
|
|
4
4
|
function isFigure(value) {
|
|
5
5
|
return typeof value === "number" && Number.isFinite(value) && value >= 0;
|
|
@@ -116,7 +116,6 @@ function contextShort(figures, locale = "en-US") {
|
|
|
116
116
|
if (breakdownRows(figures.breakdown).length > 0) return "Usage";
|
|
117
117
|
if (figures.cost && isFigure(figures.cost.amount)) return formatCost(figures.cost, locale);
|
|
118
118
|
}
|
|
119
|
-
//#endregion
|
|
120
119
|
export { breakdownRows, contextLabel, contextLevel, contextLevelWord, contextPercent, contextShort, formatCost, formatExact, formatTokens, hasContextFigures, isFigure };
|
|
121
120
|
|
|
122
121
|
//# sourceMappingURL=context-model.js.map
|
|
@@ -6,7 +6,7 @@ import { breakdownRows, contextLabel, contextLevel, contextLevelWord, contextPer
|
|
|
6
6
|
import { className, createComponent, effect, insert, setAttribute, template } from "solid-js/web";
|
|
7
7
|
import { OctagonAlert, TriangleAlert } from "lucide-solid";
|
|
8
8
|
import { For, Show, splitProps } from "solid-js";
|
|
9
|
-
|
|
9
|
+
// src/components/composites/context/context.tsx
|
|
10
10
|
var _tmpl$ = /*#__PURE__*/ template(`<span aria-hidden=true>`);
|
|
11
11
|
var _tmpl$2 = /*#__PURE__*/ template(`<span aria-hidden=true class=tabular-nums>`);
|
|
12
12
|
var _tmpl$3 = /*#__PURE__*/ template(`<p><span class=text-foreground>`);
|
|
@@ -228,7 +228,6 @@ function Row(props) {
|
|
|
228
228
|
return _el$0;
|
|
229
229
|
})();
|
|
230
230
|
}
|
|
231
|
-
//#endregion
|
|
232
231
|
export { Context };
|
|
233
232
|
|
|
234
233
|
//# sourceMappingURL=context.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { breakdownRows, contextLabel, contextLevel, contextLevelWord, contextPercent, contextShort, formatCost, formatExact, formatTokens, hasContextFigures, isFigure } from "./context-model.js";
|
|
2
1
|
import { Context } from "./context.js";
|
|
2
|
+
import { breakdownRows, contextLabel, contextLevel, contextLevelWord, contextPercent, contextShort, formatCost, formatExact, formatTokens, hasContextFigures, isFigure } from "./context-model.js";
|
|
3
3
|
export { Context, breakdownRows, contextLabel, contextLevel, contextLevelWord, contextPercent, contextShort, formatCost, formatExact, formatTokens, hasContextFigures, isFigure };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/composites/file-tree/build-file-tree.ts
|
|
2
2
|
/** Deeper paths are rejected: no real repository nests this far, and a row's indent would be unusable. */
|
|
3
3
|
var FILE_TREE_MAX_DEPTH = 256;
|
|
4
4
|
var MAX_SEGMENT_LENGTH = 1024;
|
|
@@ -319,7 +319,6 @@ function typeaheadIndex(labels, activeIndex, query) {
|
|
|
319
319
|
}
|
|
320
320
|
return -1;
|
|
321
321
|
}
|
|
322
|
-
//#endregion
|
|
323
322
|
export { FILE_CHANGE_LABELS, FILE_TREE_AUTO_EXPAND_LIMIT, FILE_TREE_MAX_DEPTH, buildFileTree, clampWindow, countChanges, describeChanges, flattenFileTree, indexFileTree, initialExpanded, normalizePath, revealInWindow, typeaheadIndex };
|
|
324
323
|
|
|
325
324
|
//# sourceMappingURL=build-file-tree.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { keyedRows } from "../../../lib/keyed-rows.js";
|
|
1
2
|
import { cn } from "../../../lib/utils.js";
|
|
2
3
|
import { Button } from "../../ui/button/button.js";
|
|
3
4
|
import { Badge } from "../../ui/badge/badge.js";
|
|
4
|
-
import { keyedRows } from "../../../lib/keyed-rows.js";
|
|
5
5
|
import { Tree, TreeRow } from "../tree/tree.js";
|
|
6
6
|
import { FILE_CHANGE_LABELS, buildFileTree, clampWindow, countChanges, describeChanges, flattenFileTree, indexFileTree, initialExpanded, revealInWindow, typeaheadIndex } from "./build-file-tree.js";
|
|
7
7
|
import { className, createComponent, delegateEvents, effect, insert, memo, mergeProps, setAttribute, setStyleProperty, spread, template, use } from "solid-js/web";
|
|
8
8
|
import { File, Folder, FolderOpen } from "lucide-solid";
|
|
9
9
|
import { For, Show, createComputed, createMemo, createSignal, onCleanup, splitProps, untrack } from "solid-js";
|
|
10
|
-
|
|
10
|
+
// src/components/composites/file-tree/file-tree.tsx
|
|
11
11
|
var _tmpl$ = /*#__PURE__*/ template(`<span>`);
|
|
12
12
|
var _tmpl$2 = /*#__PURE__*/ template(`<span class=sr-only>, renamed from `);
|
|
13
13
|
var _tmpl$3 = /*#__PURE__*/ template(`<span class=text-foreground>+`);
|
|
@@ -383,7 +383,6 @@ function FileTree(props) {
|
|
|
383
383
|
})();
|
|
384
384
|
}
|
|
385
385
|
delegateEvents(["keydown"]);
|
|
386
|
-
//#endregion
|
|
387
386
|
export { FILE_TREE_MAX_ROWS, FileTree };
|
|
388
387
|
|
|
389
388
|
//# sourceMappingURL=file-tree.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FILE_CHANGE_LABELS, FILE_TREE_AUTO_EXPAND_LIMIT, FILE_TREE_MAX_DEPTH, buildFileTree, clampWindow, countChanges, describeChanges, flattenFileTree, indexFileTree, initialExpanded, normalizePath, revealInWindow, typeaheadIndex } from "./build-file-tree.js";
|
|
2
1
|
import { FILE_TREE_MAX_ROWS, FileTree } from "./file-tree.js";
|
|
2
|
+
import { FILE_CHANGE_LABELS, FILE_TREE_AUTO_EXPAND_LIMIT, FILE_TREE_MAX_DEPTH, buildFileTree, clampWindow, countChanges, describeChanges, flattenFileTree, indexFileTree, initialExpanded, normalizePath, revealInWindow, typeaheadIndex } from "./build-file-tree.js";
|
|
3
3
|
export { FILE_CHANGE_LABELS, FILE_TREE_AUTO_EXPAND_LIMIT, FILE_TREE_MAX_DEPTH, FILE_TREE_MAX_ROWS, FileTree, buildFileTree, clampWindow, countChanges, describeChanges, flattenFileTree, indexFileTree, initialExpanded, normalizePath, revealInWindow, typeaheadIndex };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
+
import { ActionButton } from "../action-button/action-button.js";
|
|
2
3
|
import { Alert, AlertDescription } from "../../ui/alert/alert.js";
|
|
3
|
-
import { Heading } from "../../ui/typography/typography.js";
|
|
4
4
|
import { Card, CardContent, CardHeader } from "../../ui/card/card.js";
|
|
5
|
-
import { ActionButton } from "../action-button/action-button.js";
|
|
6
5
|
import { Kbd, KbdGroup } from "../../ui/kbd/kbd.js";
|
|
6
|
+
import { Heading } from "../../ui/typography/typography.js";
|
|
7
7
|
import { className, createComponent, effect, insert, memo, template } from "solid-js/web";
|
|
8
8
|
import { ExternalLink } from "lucide-solid";
|
|
9
9
|
import { For, Show, createSignal, onCleanup } from "solid-js";
|
|
10
|
-
|
|
10
|
+
// src/components/composites/help-center/help-center.tsx
|
|
11
11
|
var _tmpl$ = /*#__PURE__*/ template(`<div class="flex flex-col gap-2"><p class="text-sm text-muted-foreground">Keyboard shortcuts and resources for <!>.`);
|
|
12
12
|
var _tmpl$2 = /*#__PURE__*/ template(`<h2 class="text-base font-semibold text-foreground">Keyboard shortcuts`);
|
|
13
13
|
var _tmpl$3 = /*#__PURE__*/ template(`<ul class="flex flex-col gap-3">`);
|
|
@@ -145,7 +145,6 @@ function HelpCenter(props) {
|
|
|
145
145
|
return _el$;
|
|
146
146
|
})();
|
|
147
147
|
}
|
|
148
|
-
//#endregion
|
|
149
148
|
export { HelpCenter };
|
|
150
149
|
|
|
151
150
|
//# sourceMappingURL=help-center.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { HelpCenter };
|
|
1
|
+
export { HelpCenter } from "./help-center.js";
|
|
@@ -7,7 +7,7 @@ import { Dynamic, className, createComponent, effect, insert, memo, mergeProps,
|
|
|
7
7
|
import { ChevronDown, ImageUp, Trash2 } from "lucide-solid";
|
|
8
8
|
import { For, Show, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
9
9
|
import { RadioGroup } from "@kobalte/core/radio-group";
|
|
10
|
-
|
|
10
|
+
// src/components/composites/icon-picker/icon-picker.tsx
|
|
11
11
|
var _tmpl$ = /*#__PURE__*/ template(`<div class="flex items-center gap-3"data-slot=icon-picker-upload><span aria-hidden=true class="flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-border bg-muted"></span><div class="flex flex-wrap items-center gap-2"><input type=file class=sr-only tabindex=-1 aria-hidden=true accept=image/png,image/jpeg,image/webp,image/gif>`);
|
|
12
12
|
var _tmpl$2 = /*#__PURE__*/ template(`<p class="text-xs text-muted-foreground">PNG, JPEG, WebP or GIF up to <!> MB. It is cropped to a square.`);
|
|
13
13
|
var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=icon-picker>`);
|
|
@@ -259,7 +259,6 @@ function IconPickerDropdown(props) {
|
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
//#endregion
|
|
263
262
|
export { IconPicker, IconPickerDropdown };
|
|
264
263
|
|
|
265
264
|
//# sourceMappingURL=icon-picker.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/composites/icon-picker/image-data-url.ts
|
|
2
2
|
/**
|
|
3
3
|
* Turning an uploaded picture into the small square mark a workspace stores.
|
|
4
4
|
*
|
|
@@ -84,7 +84,6 @@ async function markImageFromFile(file) {
|
|
|
84
84
|
bitmap.close();
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
//#endregion
|
|
88
87
|
export { MARK_IMAGE_MAX_DATA_URL_LENGTH, MARK_IMAGE_MAX_SOURCE_BYTES, MARK_IMAGE_SIZE, MarkImageError, centredSquare, checkMarkImageFile, isMarkImageDataUrl, markImageFromFile, markImageProblemCopy };
|
|
89
88
|
|
|
90
89
|
//# sourceMappingURL=image-data-url.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { IconPicker, IconPickerDropdown } from "./icon-picker.js";
|
|
1
2
|
import { MARK_IMAGE_MAX_DATA_URL_LENGTH, MARK_IMAGE_MAX_SOURCE_BYTES, MARK_IMAGE_SIZE, MarkImageError, centredSquare, checkMarkImageFile, isMarkImageDataUrl, markImageFromFile, markImageProblemCopy } from "./image-data-url.js";
|
|
2
3
|
import { isShellIconKey, resolveShellIcon, shellIconEntries, shellIconLabel } from "./shell-icons.js";
|
|
3
|
-
import { IconPicker, IconPickerDropdown } from "./icon-picker.js";
|
|
4
4
|
export { IconPicker, IconPickerDropdown, MARK_IMAGE_MAX_DATA_URL_LENGTH, MARK_IMAGE_MAX_SOURCE_BYTES, MARK_IMAGE_SIZE, MarkImageError, centredSquare, checkMarkImageFile, isMarkImageDataUrl, isShellIconKey, markImageFromFile, markImageProblemCopy, resolveShellIcon, shellIconEntries, shellIconLabel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Anchor, BookOpen, Bot, Box, Brain, Briefcase, Building2, Camera, ChartColumn, Cloud, Code, Coffee, Compass, Cpu, Database, Dumbbell, Flag, Flame, FlaskConical, Folder, FolderGit2, Gamepad2, Gem, Globe, GraduationCap, Hammer, Heart, House, Key, Layers, Leaf, Lightbulb, Map as Map$1, Megaphone, MessagesSquare, Moon, Mountain, Music, Newspaper, Package, Palette, Plane, Puzzle, Rocket, Server, Shapes, Shield, ShoppingCart, Sparkles, Star, Sun, Target, Terminal, Trophy, Users, Utensils, Wallet, Wrench, Zap } from "lucide-solid";
|
|
2
|
-
|
|
2
|
+
// src/components/composites/icon-picker/shell-icons.ts
|
|
3
3
|
/**
|
|
4
4
|
* The icons a workspace or a project may choose for itself.
|
|
5
5
|
*
|
|
@@ -328,7 +328,6 @@ function resolveShellIcon(key, fallback = "folder") {
|
|
|
328
328
|
function shellIconLabel(key) {
|
|
329
329
|
return shellIconEntries.find((entry) => entry.key === key)?.label ?? key;
|
|
330
330
|
}
|
|
331
|
-
//#endregion
|
|
332
331
|
export { isShellIconKey, resolveShellIcon, shellIconEntries, shellIconLabel };
|
|
333
332
|
|
|
334
333
|
//# sourceMappingURL=shell-icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"citation.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/inline-citation/citation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKnF;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ3F;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"citation.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/inline-citation/citation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKnF;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ3F;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAa1F;AAED,yFAAyF;AACzF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAGjE;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AACvD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEtF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,aAAa,GAAG,YAAY,CAavF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { boundText, sourceHost, sourceTitle } from "../sources/source.js";
|
|
2
|
-
|
|
2
|
+
// src/components/composites/inline-citation/citation.ts
|
|
3
3
|
/** Characters of a host or title that fit in a badge before it is clipped. */
|
|
4
4
|
var LABEL_LIMIT = 24;
|
|
5
5
|
/**
|
|
@@ -26,7 +26,7 @@ function citationName(sources, index) {
|
|
|
26
26
|
const first = sources[0];
|
|
27
27
|
if (first === void 0) return "Citation";
|
|
28
28
|
const label = citationLabel(index, first);
|
|
29
|
-
if (sources.length > 1) return
|
|
29
|
+
if (sources.length > 1) return `${label}+${sources.length - 1} — Sources ${label} and ${sources.length - 1} more`;
|
|
30
30
|
const host = sourceHost(first.url);
|
|
31
31
|
const title = sourceTitle(first);
|
|
32
32
|
return host !== void 0 && host !== title ? `Source ${label}: ${title}, ${host}` : `Source ${label}: ${title}`;
|
|
@@ -46,7 +46,6 @@ function nextCitationMode(mode, event) {
|
|
|
46
46
|
case "blur": return mode === "peek" ? "closed" : mode;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
//#endregion
|
|
50
49
|
export { citationLabel, citationName, nextCitationMode, wrapIndex };
|
|
51
50
|
|
|
52
51
|
//# sourceMappingURL=citation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"citation.js","names":[],"sources":["../../../../src/components/composites/inline-citation/citation.ts"],"sourcesContent":["import { boundText, sourceHost, sourceTitle, type Source } from '../sources/source'\n\n/** Characters of a host or title that fit in a badge before it is clipped. */\nconst LABEL_LIMIT = 24\n\n/**\n * The text on a citation badge.\n *\n * A 1-based `index` wins, because a number is what the sentence's own markers\n * and the Sources list use. Without one the badge shows the source's host (read\n * from the parsed URL, so it cannot be spoofed by a title), then a clipped title,\n * and only then a neutral word — never an invented number.\n */\nexport function citationLabel(index: number | undefined, source: Source | undefined): string {\n if (index !== undefined && Number.isInteger(index) && index >= 1 && index <= 9999) {\n return String(index)\n }\n if (source === undefined) return 'source'\n const host = sourceHost(source.url)\n if (host !== undefined) return boundText(host, LABEL_LIMIT)\n return boundText(source.title, LABEL_LIMIT) || 'source'\n}\n\n/**\n * The badge's accessible name. The visible label is a number or a host, which\n * says nothing on its own, so the name carries the title and host: a screen-reader\n * or voice-control user learns what is cited without opening the popover.\n */\nexport function citationName(sources: readonly Source[], index: number | undefined): string {\n const first = sources[0]\n if (first === undefined) return 'Citation'\n const label = citationLabel(index, first)\n if (sources.length > 1) return
|
|
1
|
+
{"version":3,"file":"citation.js","names":[],"sources":["../../../../src/components/composites/inline-citation/citation.ts"],"sourcesContent":["import { boundText, sourceHost, sourceTitle, type Source } from '../sources/source'\n\n/** Characters of a host or title that fit in a badge before it is clipped. */\nconst LABEL_LIMIT = 24\n\n/**\n * The text on a citation badge.\n *\n * A 1-based `index` wins, because a number is what the sentence's own markers\n * and the Sources list use. Without one the badge shows the source's host (read\n * from the parsed URL, so it cannot be spoofed by a title), then a clipped title,\n * and only then a neutral word — never an invented number.\n */\nexport function citationLabel(index: number | undefined, source: Source | undefined): string {\n if (index !== undefined && Number.isInteger(index) && index >= 1 && index <= 9999) {\n return String(index)\n }\n if (source === undefined) return 'source'\n const host = sourceHost(source.url)\n if (host !== undefined) return boundText(host, LABEL_LIMIT)\n return boundText(source.title, LABEL_LIMIT) || 'source'\n}\n\n/**\n * The badge's accessible name. The visible label is a number or a host, which\n * says nothing on its own, so the name carries the title and host: a screen-reader\n * or voice-control user learns what is cited without opening the popover.\n */\nexport function citationName(sources: readonly Source[], index: number | undefined): string {\n const first = sources[0]\n if (first === undefined) return 'Citation'\n const label = citationLabel(index, first)\n if (sources.length > 1) {\n // Keep the visible badge text in the accessible name for label-content-name-mismatch checks.\n return `${label}+${sources.length - 1} — Sources ${label} and ${sources.length - 1} more`\n }\n const host = sourceHost(first.url)\n const title = sourceTitle(first)\n return host !== undefined && host !== title\n ? `Source ${label}: ${title}, ${host}`\n : `Source ${label}: ${title}`\n}\n\n/** Wrap a position into 0..count-1, so Previous on the first source goes to the last. */\nexport function wrapIndex(position: number, count: number): number {\n if (count <= 0) return 0\n return ((position % count) + count) % count\n}\n\n/**\n * How a citation's popover is open.\n *\n * - `peek` is a hover or keyboard-focus preview: it does not take focus, and it\n * goes away when the pointer or focus does.\n * - `pinned` is a deliberate open (click, tap, Enter, Space): focus moves into\n * the popover so its link and Previous/Next are reachable, and it stays until\n * Escape, an outside press, or the badge is pressed again.\n *\n * A popover that only opened on hover would exclude keyboard and touch readers;\n * one that only opened on press would make pointer users click to glance at a\n * source. This is the smallest model that serves both, and it is a pure function\n * so the awkward transitions (hover then click must pin, not toggle shut) are\n * tested rather than argued about.\n */\nexport type CitationMode = 'closed' | 'peek' | 'pinned'\nexport type CitationEvent = 'enter' | 'leave' | 'focus' | 'blur' | 'press' | 'dismiss'\n\nexport function nextCitationMode(mode: CitationMode, event: CitationEvent): CitationMode {\n switch (event) {\n case 'press':\n return mode === 'pinned' ? 'closed' : 'pinned'\n case 'dismiss':\n return 'closed'\n case 'enter':\n case 'focus':\n return mode === 'closed' ? 'peek' : mode\n case 'leave':\n case 'blur':\n return mode === 'peek' ? 'closed' : mode\n }\n}\n"],"mappings":";;;AAGA,IAAM,cAAc;;;;;;;;;AAUpB,SAAgB,cAAc,OAA2B,QAAoC;CAC3F,IAAI,UAAU,KAAA,KAAa,OAAO,UAAU,KAAK,KAAK,SAAS,KAAK,SAAS,MAC3E,OAAO,OAAO,KAAK;CAErB,IAAI,WAAW,KAAA,GAAW,OAAO;CACjC,MAAM,OAAO,WAAW,OAAO,GAAG;CAClC,IAAI,SAAS,KAAA,GAAW,OAAO,UAAU,MAAM,WAAW;CAC1D,OAAO,UAAU,OAAO,OAAO,WAAW,KAAK;AACjD;;;;;;AAOA,SAAgB,aAAa,SAA4B,OAAmC;CAC1F,MAAM,QAAQ,QAAQ;CACtB,IAAI,UAAU,KAAA,GAAW,OAAO;CAChC,MAAM,QAAQ,cAAc,OAAO,KAAK;CACxC,IAAI,QAAQ,SAAS,GAEnB,OAAO,GAAG,MAAM,GAAG,QAAQ,SAAS,EAAE,aAAa,MAAM,OAAO,QAAQ,SAAS,EAAE;CAErF,MAAM,OAAO,WAAW,MAAM,GAAG;CACjC,MAAM,QAAQ,YAAY,KAAK;CAC/B,OAAO,SAAS,KAAA,KAAa,SAAS,QAClC,UAAU,MAAM,IAAI,MAAM,IAAI,SAC9B,UAAU,MAAM,IAAI;AAC1B;;AAGA,SAAgB,UAAU,UAAkB,OAAuB;CACjE,IAAI,SAAS,GAAG,OAAO;CACvB,QAAS,WAAW,QAAS,SAAS;AACxC;AAoBA,SAAgB,iBAAiB,MAAoB,OAAoC;CACvF,QAAQ,OAAR;EACE,KAAK,SACH,OAAO,SAAS,WAAW,WAAW;EACxC,KAAK,WACH,OAAO;EACT,KAAK;EACL,KAAK,SACH,OAAO,SAAS,WAAW,SAAS;EACtC,KAAK;EACL,KAAK,QACH,OAAO,SAAS,SAAS,WAAW;CACxC;AACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { citationLabel, citationName, nextCitationMode, wrapIndex } from "./citation.js";
|
|
2
1
|
import { InlineCitation, messageCitations } from "./inline-citation.js";
|
|
2
|
+
import { citationLabel, citationName, nextCitationMode, wrapIndex } from "./citation.js";
|
|
3
3
|
export { InlineCitation, citationLabel, citationName, messageCitations, nextCitationMode, wrapIndex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
-
import { Button } from "../../ui/button/button.js";
|
|
3
2
|
import { ActionButton } from "../action-button/action-button.js";
|
|
3
|
+
import { Button } from "../../ui/button/button.js";
|
|
4
4
|
import { Popover, PopoverContent, PopoverTitle, PopoverTrigger } from "../../ui/popover/popover.js";
|
|
5
5
|
import { TextLink } from "../../ui/text-link/text-link.js";
|
|
6
6
|
import { boundText, safeSourceUrl, sourceHost, sourceTitle } from "../sources/source.js";
|
|
@@ -8,7 +8,7 @@ import { citationLabel, citationName, nextCitationMode, wrapIndex } from "./cita
|
|
|
8
8
|
import { createComponent, insert, memo, template } from "solid-js/web";
|
|
9
9
|
import { ChevronLeft, ChevronRight } from "lucide-solid";
|
|
10
10
|
import { Show, createSignal, onCleanup, splitProps } from "solid-js";
|
|
11
|
-
|
|
11
|
+
// src/components/composites/inline-citation/inline-citation.tsx
|
|
12
12
|
var _tmpl$ = /*#__PURE__*/ template(`<span aria-hidden=true class="max-w-32 truncate">`);
|
|
13
13
|
var _tmpl$2 = /*#__PURE__*/ template(`<span aria-hidden=true>+`);
|
|
14
14
|
var _tmpl$3 = /*#__PURE__*/ template(`<div class="flex items-center justify-between gap-2"><span role=status aria-live=polite class="text-xs text-muted-foreground tabular-nums">Source <!> of </span><span class="flex items-center gap-0.5">`);
|
|
@@ -266,7 +266,6 @@ function CitationDetails(props) {
|
|
|
266
266
|
})
|
|
267
267
|
];
|
|
268
268
|
}
|
|
269
|
-
//#endregion
|
|
270
269
|
export { InlineCitation, messageCitations };
|
|
271
270
|
|
|
272
271
|
//# sourceMappingURL=inline-citation.js.map
|
|
@@ -2,7 +2,7 @@ import { cn } from "../../../lib/utils.js";
|
|
|
2
2
|
import { className, createComponent, effect, insert, memo, mergeProps, template } from "solid-js/web";
|
|
3
3
|
import { Show, splitProps } from "solid-js";
|
|
4
4
|
import { Polymorphic } from "@kobalte/core/polymorphic";
|
|
5
|
-
|
|
5
|
+
// src/components/composites/list-row/list-row-control.tsx
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template(`<span data-slot=list-row-leading class="flex shrink-0 items-center justify-center [&_svg]:size-4">`);
|
|
7
7
|
var _tmpl$2 = /*#__PURE__*/ template(`<span data-slot=list-row-description>`);
|
|
8
8
|
var _tmpl$3 = /*#__PURE__*/ template(`<span data-slot=list-row-trailing>`);
|
|
@@ -99,7 +99,6 @@ function ListRowControl(props) {
|
|
|
99
99
|
})()];
|
|
100
100
|
} }));
|
|
101
101
|
}
|
|
102
|
-
//#endregion
|
|
103
102
|
export { ListRowControl };
|
|
104
103
|
|
|
105
104
|
//# sourceMappingURL=list-row-control.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cn } from "../../../lib/utils.js";
|
|
2
|
-
import { Text } from "../../ui/typography/typography.js";
|
|
3
1
|
import { Tooltip, TooltipContent, TooltipTrigger } from "../../ui/tooltip/tooltip.js";
|
|
2
|
+
import { Text } from "../../ui/typography/typography.js";
|
|
3
|
+
import { cn } from "../../../lib/utils.js";
|
|
4
4
|
import { ListRowControl } from "./list-row-control.js";
|
|
5
5
|
import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
6
6
|
import { Show, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
7
|
-
|
|
7
|
+
// src/components/composites/list-row/list-row.tsx
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template(`<span class="shrink-0 opacity-0 transition-opacity ease-out group-hover/list-header:opacity-100 focus-within:opacity-100">`);
|
|
9
9
|
var _tmpl$2 = /*#__PURE__*/ template(`<div class="group/list-header flex items-center gap-1 px-2 py-1">`);
|
|
10
10
|
var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=list-group><div class="flex flex-col gap-0.5">`);
|
|
@@ -140,7 +140,6 @@ function ListGroup(props) {
|
|
|
140
140
|
return _el$;
|
|
141
141
|
})();
|
|
142
142
|
}
|
|
143
|
-
//#endregion
|
|
144
143
|
export { ListGroup, ListRow };
|
|
145
144
|
|
|
146
145
|
//# sourceMappingURL=list-row.js.map
|
|
@@ -5,7 +5,7 @@ import { anchorIds, captureAnchor, restoreAnchor } from "./scroll-anchor.js";
|
|
|
5
5
|
import { className, createComponent, effect, insert, memo, mergeProps, template, use } from "solid-js/web";
|
|
6
6
|
import { History, LoaderCircle } from "lucide-solid";
|
|
7
7
|
import { Show, createEffect, createSignal, onCleanup, splitProps } from "solid-js";
|
|
8
|
-
|
|
8
|
+
// src/components/composites/message-scroller/message-scroller.tsx
|
|
9
9
|
var _tmpl$ = /*#__PURE__*/ template(`<div data-slot=message-scroller><p role=status class=sr-only>`);
|
|
10
10
|
var _tmpl$2 = /*#__PURE__*/ template(`<p role=status class="flex h-control-sm items-center gap-1.5 text-xs text-muted-foreground">`);
|
|
11
11
|
var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=message-scroller-older class="flex justify-center py-2">`);
|
|
@@ -195,7 +195,6 @@ function MessageScroller(props) {
|
|
|
195
195
|
return _el$;
|
|
196
196
|
})();
|
|
197
197
|
}
|
|
198
|
-
//#endregion
|
|
199
198
|
export { MessageScroller };
|
|
200
199
|
|
|
201
200
|
//# sourceMappingURL=message-scroller.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/composites/message-scroller/scroll-anchor.ts
|
|
2
2
|
var ANCHOR_ATTRIBUTE = "data-anchor-id";
|
|
3
3
|
/** Turns marked above the first one in view, and below it. */
|
|
4
4
|
var MARKS_ABOVE = 8;
|
|
@@ -116,7 +116,6 @@ function restoreAnchor(scroller, anchor) {
|
|
|
116
116
|
anchor.scrollHeight = scroller.scrollHeight;
|
|
117
117
|
return correction;
|
|
118
118
|
}
|
|
119
|
-
//#endregion
|
|
120
119
|
export { anchorIds, captureAnchor, restoreAnchor };
|
|
121
120
|
|
|
122
121
|
//# sourceMappingURL=scroll-anchor.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { MODEL_SEARCH_THRESHOLD, findModel, groupModels, modelSearchValue, needsSearch, normalizeEfforts, resolveEffort } from "./models.js";
|
|
2
1
|
import { ModelSelector } from "./model-selector.js";
|
|
2
|
+
import { MODEL_SEARCH_THRESHOLD, findModel, groupModels, modelSearchValue, needsSearch, normalizeEfforts, resolveEffort } from "./models.js";
|
|
3
3
|
export { MODEL_SEARCH_THRESHOLD, ModelSelector, findModel, groupModels, modelSearchValue, needsSearch, normalizeEfforts, resolveEffort };
|
|
@@ -8,7 +8,7 @@ import { findModel, groupModels, modelSearchValue, needsSearch, normalizeEfforts
|
|
|
8
8
|
import { className, createComponent, effect, insert, memo, setAttribute, template } from "solid-js/web";
|
|
9
9
|
import { Brain, Check, ChevronsUpDown } from "lucide-solid";
|
|
10
10
|
import { For, Show, createEffect, createMemo, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
11
|
-
|
|
11
|
+
// src/components/composites/model-selector/model-selector.tsx
|
|
12
12
|
var _tmpl$ = /*#__PURE__*/ template(`<p role=status class="m-0 text-xs text-muted-foreground">`);
|
|
13
13
|
var _tmpl$2 = /*#__PURE__*/ template(`<div data-slot=model-selector><div role=group class="flex min-w-0 items-center gap-1">`);
|
|
14
14
|
var _tmpl$3 = /*#__PURE__*/ template(`<span class="truncate px-2 text-sm text-muted-foreground"><span class=visually-hidden>Model: `);
|
|
@@ -239,7 +239,7 @@ function ModelMenu(props) {
|
|
|
239
239
|
variant: "ghost",
|
|
240
240
|
size: "sm",
|
|
241
241
|
get ["aria-label"]() {
|
|
242
|
-
return `Model: ${props.models.length === 0 ? "
|
|
242
|
+
return `Model: ${props.models.length === 0 ? "No models available" : triggerText(props)}`;
|
|
243
243
|
},
|
|
244
244
|
get ["aria-disabled"]() {
|
|
245
245
|
return inert() || void 0;
|
|
@@ -484,7 +484,6 @@ function EffortMenu(props) {
|
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
|
-
//#endregion
|
|
488
487
|
export { ModelSelector };
|
|
489
488
|
|
|
490
489
|
//# sourceMappingURL=model-selector.js.map
|