@heyramzi/ui 2.24.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPONENTS.md +13 -9
- package/README.md +5 -4
- package/dist/canvas/index.js +0 -1
- package/dist/canvas/pen/node-name.svelte.js +25 -0
- package/dist/canvas/ui/tools.js +7 -0
- package/dist/charts/chart-a11y.js +59 -0
- package/dist/charts/dashboard/index.js +0 -1
- package/dist/charts/dual-axis.js +38 -0
- package/dist/components/data-table/menu-key.js +19 -0
- package/dist/components/list-page/index.js +0 -1
- package/dist/components/theme/index.js +0 -1
- package/dist/components/toolbar/index.js +2 -4
- package/dist/components/work-parts/index.js +0 -1
- package/dist/editor/block-move.js +40 -0
- package/dist/editor/doc-blocks.js +2 -2
- package/dist/editor/extensions.js +14 -1
- package/dist/effects/border-beam/index.js +2 -0
- package/dist/effects/image-comparison/index.js +1 -0
- package/dist/effects/interactive-hover-button/index.js +1 -0
- package/dist/effects/magic-card/index.js +1 -0
- package/dist/effects/marquee/index.js +1 -0
- package/dist/effects/progressive-blur/index.js +1 -0
- package/dist/effects/spotlight/index.js +1 -0
- package/dist/effects/theme-toggle/index.js +1 -0
- package/dist/inbox/index.js +1 -1
- package/dist/lib/focus.js +15 -0
- package/dist/lib/tone.js +3 -4
- package/dist/shadcn/alert/alert-variants.js +1 -1
- package/dist/shadcn/attachment/context.js +10 -0
- package/dist/shadcn/dropdown-menu/menu-item.js +1 -1
- package/dist/shadcn/hooks/highlighter.js +58 -5
- package/dist/shadcn/sidebar/constants.js +1 -1
- package/dist/shadcn/sidebar/context.svelte.js +12 -1
- package/dist/slides/deck-controller.svelte.js +64 -34
- package/dist/slides/layout.js +3 -2
- package/dist/status/index.js +0 -1
- package/dist/work/index.js +0 -1
- package/dist/work/kanban-keyboard.js +10 -5
- package/package.json +44 -107
- package/scripts/svelte-dts.mjs +65 -0
- package/scripts/sync-shadcn.mjs +3 -1
- package/src/agents/agent-avatar.svelte +24 -12
- package/src/agents/agent-avatar.svelte.d.ts +6 -0
- package/src/agents/agent-avatar.test.ts +40 -0
- package/src/agents/agent-cast.svelte +83 -78
- package/src/agents/agent-cast.svelte.d.ts +20 -0
- package/src/agents/types.ts +1 -0
- package/src/ai/ai-button/AiButton.svelte +21 -10
- package/src/ai/ai-button/AiButton.svelte.d.ts +16 -0
- package/src/ai/ai-button/ai-button.svelte.test.ts +27 -0
- package/src/ai/confirmation/Confirmation.svelte +20 -4
- package/src/ai/confirmation/Confirmation.svelte.d.ts +12 -0
- package/src/ai/confirmation/ConfirmationAction.svelte +10 -3
- package/src/ai/confirmation/ConfirmationAction.svelte.d.ts +8 -0
- package/src/ai/confirmation/ConfirmationActions.svelte.d.ts +9 -0
- package/src/ai/confirmation/ConfirmationState.svelte.d.ts +10 -0
- package/src/ai/confirmation/ConfirmationTitle.svelte.d.ts +9 -0
- package/src/ai/confirmation/confirmation-focus.test.svelte +33 -0
- package/src/ai/confirmation/confirmation-focus.test.svelte.d.ts +8 -0
- package/src/ai/confirmation/confirmation-focus.test.ts +34 -0
- package/src/ai/confirmation/confirmation-parts.test.svelte.d.ts +7 -0
- package/src/ai/generation-progress/GenerationProgress.svelte +198 -171
- package/src/ai/generation-progress/GenerationProgress.svelte.d.ts +15 -0
- package/src/ai/generation-progress/generation-progress.test.ts +37 -0
- package/src/ai/loading-state/PixelLoader.svelte +41 -36
- package/src/ai/loading-state/PixelLoader.svelte.d.ts +13 -0
- package/src/ai/prompt-input/PromptInput.svelte +1 -1
- package/src/ai/prompt-input/PromptInput.svelte.d.ts +14 -0
- package/src/ai/prompt-input/PromptInputBody.svelte.d.ts +9 -0
- package/src/ai/prompt-input/PromptInputSubmit.svelte +3 -3
- package/src/ai/prompt-input/PromptInputSubmit.svelte.d.ts +19 -0
- package/src/ai/prompt-input/PromptInputTextarea.svelte +6 -1
- package/src/ai/prompt-input/PromptInputTextarea.svelte.d.ts +14 -0
- package/src/ai/prompt-input/PromptInputToolbar.svelte.d.ts +9 -0
- package/src/ai/prompt-input/prompt-input.test.ts +64 -0
- package/src/ai/reasoning/Reasoning.svelte.d.ts +10 -0
- package/src/ai/reasoning/ReasoningContent.svelte.d.ts +8 -0
- package/src/ai/reasoning/ReasoningTrigger.svelte +2 -1
- package/src/ai/reasoning/ReasoningTrigger.svelte.d.ts +8 -0
- package/src/ai/response/Response.css +23 -19
- package/src/ai/response/Response.svelte.d.ts +11 -0
- package/src/ai/suggestion/Suggestion.svelte.d.ts +10 -0
- package/src/ai/suggestion/Suggestions.svelte +5 -2
- package/src/ai/suggestion/Suggestions.svelte.d.ts +11 -0
- package/src/ai/typing-dots/TypingDots.css +27 -23
- package/src/ai/typing-dots/TypingDots.svelte.d.ts +12 -0
- package/src/ai/voice-waveform/VoiceWaveform.css +31 -27
- package/src/ai/voice-waveform/VoiceWaveform.svelte.d.ts +10 -0
- package/src/animations/avatar-group-hover.css +25 -21
- package/src/animations/card-tilt.css +71 -65
- package/src/animations/digit-pop-in.css +49 -40
- package/src/animations/dropdown.css +125 -107
- package/src/animations/input-clear-dissolve.css +69 -59
- package/src/animations/input-shake.css +55 -48
- package/src/animations/learn-more-hover.css +53 -43
- package/src/animations/like-button.css +74 -62
- package/src/animations/modal.css +83 -74
- package/src/animations/page-side-by-side.css +50 -42
- package/src/animations/plus-menu-morph.css +96 -87
- package/src/animations/resize.css +16 -13
- package/src/animations/shimmer-text.css +46 -40
- package/src/animations/spinning-counter.css +50 -43
- package/src/animations/success-check.css +69 -58
- package/src/animations/text-swap.css +35 -31
- package/src/animations/thinking-states.css +61 -54
- package/src/canvas/card/card-frame.svelte.d.ts +14 -0
- package/src/canvas/card/card.css +16 -10
- package/src/canvas/card/resize-handles.svelte.d.ts +11 -0
- package/src/canvas/chrome/chrome-zoom.svelte.d.ts +3 -0
- package/src/canvas/chrome/chrome.css +75 -69
- package/src/canvas/chrome/lock-badge.svelte.d.ts +8 -0
- package/src/canvas/chrome/side-handles.svelte.d.ts +6 -0
- package/src/canvas/chrome/size-chip.svelte.d.ts +3 -0
- package/src/canvas/chrome/snap-guides.svelte +16 -12
- package/src/canvas/chrome/snap-guides.svelte.d.ts +9 -0
- package/src/canvas/components/icons/ToolIcon.svelte.d.ts +8 -0
- package/src/canvas/components/shared/svg/PreviewSvg.svelte +9 -5
- package/src/canvas/components/shared/svg/PreviewSvg.svelte.d.ts +13 -0
- package/src/canvas/components/shared/svg/ShapeOutline.svelte +8 -4
- package/src/canvas/components/shared/svg/ShapeOutline.svelte.d.ts +15 -0
- package/src/canvas/components/shared/svg/StrokeNode.svelte +21 -11
- package/src/canvas/components/shared/svg/StrokeNode.svelte.d.ts +5 -0
- package/src/canvas/components/shared/svg/TextRule.svelte +8 -4
- package/src/canvas/components/shared/svg/TextRule.svelte.d.ts +9 -0
- package/src/canvas/edges/bend-handle.svelte +18 -14
- package/src/canvas/edges/bend-handle.svelte.d.ts +10 -0
- package/src/canvas/edges/edge-gradient.svelte.d.ts +16 -0
- package/src/canvas/edges/gradient-edge.svelte.d.ts +21 -0
- package/src/canvas/index.ts +0 -1
- package/src/canvas/lod/lod-switch.svelte +38 -33
- package/src/canvas/lod/lod-switch.svelte.d.ts +14 -0
- package/src/canvas/pen/PenField.svelte.d.ts +26 -0
- package/src/canvas/pen/PenOverlay.svelte +10 -6
- package/src/canvas/pen/PenOverlay.svelte.d.ts +23 -0
- package/src/canvas/pen/ShapeNode.svelte +6 -0
- package/src/canvas/pen/ShapeNode.svelte.d.ts +5 -0
- package/src/canvas/pen/TextNode.svelte +12 -2
- package/src/canvas/pen/TextNode.svelte.d.ts +5 -0
- package/src/canvas/pen/host-field.test.svelte.d.ts +6 -0
- package/src/canvas/pen/node-name.svelte.ts +32 -0
- package/src/canvas/pen/pen.css +69 -63
- package/src/canvas/screen/GlyphIcon.svelte.d.ts +9 -0
- package/src/canvas/screen/PartView.svelte +25 -25
- package/src/canvas/screen/PartView.svelte.d.ts +17 -0
- package/src/canvas/screen/ScreenBody.svelte +4 -4
- package/src/canvas/screen/ScreenBody.svelte.d.ts +11 -0
- package/src/canvas/screen/ScreenCard.svelte.d.ts +9 -0
- package/src/canvas/screen/screen.css +509 -505
- package/src/canvas/ui/CanvasToolbar.svelte.d.ts +30 -0
- package/src/canvas/ui/FrameLayer.svelte +18 -14
- package/src/canvas/ui/FrameLayer.svelte.d.ts +9 -0
- package/src/canvas/ui/PenLayer.svelte.d.ts +15 -0
- package/src/canvas/ui/StylePanel.svelte +41 -37
- package/src/canvas/ui/StylePanel.svelte.d.ts +32 -0
- package/src/canvas/ui/canvas-grid.svelte.d.ts +11 -0
- package/src/canvas/ui/canvas-ui.css +286 -277
- package/src/canvas/ui/tools.test.ts +39 -0
- package/src/canvas/ui/tools.ts +8 -0
- package/src/charts/README.md +2 -2
- package/src/charts/animated-value.css +6 -2
- package/src/charts/animated-value.svelte.d.ts +24 -0
- package/src/charts/area-chart.css +33 -21
- package/src/charts/area-chart.svelte +157 -27
- package/src/charts/area-chart.svelte.d.ts +69 -0
- package/src/charts/bar-chart.css +112 -102
- package/src/charts/bar-chart.svelte +39 -41
- package/src/charts/bar-chart.svelte.d.ts +64 -0
- package/src/charts/chart-a11y.css +23 -0
- package/src/charts/chart-a11y.test.ts +59 -0
- package/src/charts/chart-a11y.ts +92 -0
- package/src/charts/chart-plot.svelte +106 -0
- package/src/charts/chart-plot.svelte.d.ts +18 -0
- package/src/charts/chart-tokens.css +53 -51
- package/src/charts/charts.css +154 -142
- package/src/charts/crosshair.svelte.d.ts +7 -0
- package/src/charts/dashboard/dashboard-section.svelte +19 -3
- package/src/charts/dashboard/dashboard-section.svelte.d.ts +17 -0
- package/src/charts/dashboard/data-table.svelte +1 -1
- package/src/charts/dashboard/data-table.svelte.d.ts +86 -0
- package/src/charts/dashboard/index.ts +0 -1
- package/src/charts/dashboard/panel-grid.svelte +1 -1
- package/src/charts/dashboard/panel-grid.svelte.d.ts +14 -0
- package/src/charts/dashboard/period-filter.svelte.d.ts +37 -0
- package/src/charts/dashboard/rating-chip.svelte.d.ts +9 -0
- package/src/charts/dashboard/stat-band.svelte.d.ts +14 -0
- package/src/charts/dashboard/stat-tile.svelte +9 -5
- package/src/charts/dashboard/stat-tile.svelte.d.ts +62 -0
- package/src/charts/donut-chart.css +52 -46
- package/src/charts/donut-chart.svelte.d.ts +39 -0
- package/src/charts/dual-axis.test.ts +40 -0
- package/src/charts/dual-axis.ts +43 -0
- package/src/charts/edge-fade.svelte.d.ts +9 -0
- package/src/charts/figure.css +104 -91
- package/src/charts/figure.svelte.d.ts +40 -0
- package/src/charts/gauge-chart.css +74 -70
- package/src/charts/gauge-chart.svelte.d.ts +58 -0
- package/src/charts/hover-focus.svelte.d.ts +14 -0
- package/src/charts/legend.css +112 -108
- package/src/charts/legend.svelte +3 -3
- package/src/charts/legend.svelte.d.ts +30 -0
- package/src/charts/line-chart.css +27 -21
- package/src/charts/line-chart.svelte +61 -37
- package/src/charts/line-chart.svelte.d.ts +53 -0
- package/src/charts/number-chart.css +185 -163
- package/src/charts/number-chart.svelte +8 -4
- package/src/charts/number-chart.svelte.d.ts +58 -0
- package/src/charts/pop-value.svelte.d.ts +9 -0
- package/src/charts/primitives/chart-container.svelte.d.ts +9 -0
- package/src/charts/primitives/chart-style.svelte.d.ts +8 -0
- package/src/charts/primitives/chart-tooltip.svelte +1 -1
- package/src/charts/primitives/chart-tooltip.svelte.d.ts +26 -0
- package/src/charts/reference-line.css +18 -14
- package/src/charts/reference-line.svelte.d.ts +15 -0
- package/src/charts/reveal.svelte.d.ts +9 -0
- package/src/charts/ring-chart.css +82 -78
- package/src/charts/ring-chart.svelte +3 -3
- package/src/charts/ring-chart.svelte.d.ts +41 -0
- package/src/charts/sparkline.css +43 -34
- package/src/charts/sparkline.svelte +52 -8
- package/src/charts/sparkline.svelte.d.ts +51 -0
- package/src/charts/stat-card.css +110 -92
- package/src/charts/stat-card.svelte.d.ts +65 -0
- package/src/charts/time-series-chart.css +24 -19
- package/src/charts/time-series-chart.svelte +43 -10
- package/src/charts/time-series-chart.svelte.d.ts +30 -0
- package/src/charts/trend-pill.css +39 -32
- package/src/charts/trend-pill.svelte.d.ts +14 -0
- package/src/class-tokens.test.ts +34 -0
- package/src/components/chip/count-chip.svelte.d.ts +12 -0
- package/src/components/chip/tag-chip.svelte +6 -6
- package/src/components/chip/tag-chip.svelte.d.ts +20 -0
- package/src/components/copy/copy-button.svelte +22 -18
- package/src/components/copy/copy-button.svelte.d.ts +37 -0
- package/src/components/data-table/infinite-scroll.svelte.d.ts +37 -0
- package/src/components/data-table/menu-key.ts +22 -0
- package/src/components/data-table/pagination.svelte +36 -11
- package/src/components/data-table/pagination.svelte.d.ts +14 -0
- package/src/components/data-table/row-arrow.svelte.d.ts +6 -0
- package/src/components/data-table/row-context-menu.svelte +7 -6
- package/src/components/data-table/row-context-menu.svelte.d.ts +15 -0
- package/src/components/data-table/sortable-head.svelte +13 -18
- package/src/components/data-table/sortable-head.svelte.d.ts +38 -0
- package/src/components/data-table/table-skeleton.svelte.d.ts +18 -0
- package/src/components/docs/doc-page.svelte +8 -4
- package/src/components/docs/doc-page.svelte.d.ts +34 -0
- package/src/components/docs/on-this-page.svelte +109 -101
- package/src/components/docs/on-this-page.svelte.d.ts +17 -0
- package/src/components/field-row/field-row.svelte.d.ts +16 -0
- package/src/components/hold-to-confirm/hold-to-confirm.svelte +113 -66
- package/src/components/hold-to-confirm/hold-to-confirm.svelte.d.ts +22 -0
- package/src/components/hold-to-confirm/hold-to-confirm.test.ts +105 -0
- package/src/components/language-flag/language-flag.svelte +2 -1
- package/src/components/language-flag/language-flag.svelte.d.ts +11 -0
- package/src/components/list-page/detail-header.svelte.d.ts +15 -0
- package/src/components/list-page/detail-row.svelte.d.ts +9 -0
- package/src/components/list-page/detail-stack.svelte.d.ts +9 -0
- package/src/components/list-page/empty-state.svelte +16 -12
- package/src/components/list-page/empty-state.svelte.d.ts +23 -0
- package/src/components/list-page/filter-item.svelte +1 -1
- package/src/components/list-page/filter-item.svelte.d.ts +10 -0
- package/src/components/list-page/filter-popover.svelte +1 -1
- package/src/components/list-page/filter-popover.svelte.d.ts +20 -0
- package/src/components/list-page/grouped-list.svelte +1 -0
- package/src/components/list-page/grouped-list.svelte.d.ts +49 -0
- package/src/components/list-page/index.ts +0 -1
- package/src/components/list-page/list-page-shell.svelte.d.ts +31 -0
- package/src/components/list-page/master-detail-focus.test.ts +28 -0
- package/src/components/list-page/master-detail.svelte +57 -28
- package/src/components/list-page/master-detail.svelte.d.ts +18 -0
- package/src/components/list-page/master-detail.test.ts +1 -1
- package/src/components/list-page/notice-bar.svelte.d.ts +14 -0
- package/src/components/list-page/prev-next.svelte +7 -7
- package/src/components/list-page/prev-next.svelte.d.ts +14 -0
- package/src/components/list-page/rail-body.svelte.d.ts +8 -0
- package/src/components/list-page/rail-head.svelte.d.ts +10 -0
- package/src/components/list-page/rail-row.svelte.d.ts +18 -0
- package/src/components/mark/mark.svelte +2 -0
- package/src/components/mark/mark.svelte.d.ts +16 -0
- package/src/components/open-in/open-in.svelte +3 -3
- package/src/components/open-in/open-in.svelte.d.ts +35 -0
- package/src/components/picker/mark-picker.svelte +2 -2
- package/src/components/picker/mark-picker.svelte.d.ts +38 -0
- package/src/components/picker/picker.svelte +47 -3
- package/src/components/picker/picker.svelte.d.ts +59 -0
- package/src/components/picker/picker.test.ts +71 -0
- package/src/components/section-card/section-card.svelte.d.ts +13 -0
- package/src/components/section-header/section-header.svelte.d.ts +17 -0
- package/src/components/section-header/section-label.svelte.d.ts +10 -0
- package/src/components/segmented/animated-tabs.svelte.d.ts +61 -0
- package/src/components/segmented/section-runs.svelte.d.ts +23 -0
- package/src/components/segmented/segment.svelte +1 -1
- package/src/components/segmented/segment.svelte.d.ts +30 -0
- package/src/components/segmented/segmented-filter.svelte +4 -4
- package/src/components/segmented/segmented-filter.svelte.d.ts +43 -0
- package/src/components/segmented/segmented-nav.svelte.d.ts +17 -0
- package/src/components/segmented/segmented-overflow.svelte +1 -0
- package/src/components/segmented/segmented-overflow.svelte.d.ts +37 -0
- package/src/components/segmented/segmented-track.svelte +107 -103
- package/src/components/segmented/segmented-track.svelte.d.ts +19 -0
- package/src/components/star-rating-input/star-rating-input.svelte +151 -146
- package/src/components/star-rating-input/star-rating-input.svelte.d.ts +31 -0
- package/src/components/star-rating-input/star-rating-input.test.ts +90 -0
- package/src/components/svg/svg.svelte.d.ts +7 -0
- package/src/components/table-view/table-view.svelte +34 -28
- package/src/components/table-view/table-view.svelte.d.ts +96 -0
- package/src/components/table-view/table-view.test.ts +32 -6
- package/src/components/tags-input/tags-input.svelte +68 -16
- package/src/components/tags-input/tags-input.svelte.d.ts +40 -0
- package/src/components/tags-input/tags-input.test.ts +101 -0
- package/src/components/theme/index.ts +0 -1
- package/src/components/theme/theme-provider.svelte +8 -3
- package/src/components/theme/theme-provider.svelte.d.ts +19 -0
- package/src/components/theme/theme-provider.test.ts +5 -5
- package/src/components/toolbar/index.ts +2 -4
- package/src/components/toolbar/toolbar-search.svelte +4 -0
- package/src/components/toolbar/toolbar-search.svelte.d.ts +11 -0
- package/src/components/toolbar/toolbar.svelte +1 -1
- package/src/components/toolbar/toolbar.svelte.d.ts +47 -0
- package/src/components/toolbar/toolbar.test.ts +7 -0
- package/src/components/work-parts/group-head.svelte.d.ts +16 -0
- package/src/components/work-parts/index.ts +0 -1
- package/src/components/work-parts/property-row.svelte.d.ts +19 -0
- package/src/components/work-parts/work-card.svelte.d.ts +11 -0
- package/src/components/work-parts/work-well.svelte.d.ts +13 -0
- package/src/css-layers.test.ts +138 -0
- package/src/editor/README.md +1 -1
- package/src/editor/block-move.test.ts +58 -0
- package/src/editor/block-move.ts +52 -0
- package/src/editor/content.css +356 -352
- package/src/editor/doc-blocks.ts +3 -3
- package/src/editor/doc-page.css +328 -324
- package/src/editor/editor-toolbar.svelte +65 -50
- package/src/editor/editor-toolbar.svelte.d.ts +13 -0
- package/src/editor/editor.svelte +219 -158
- package/src/editor/editor.svelte.d.ts +27 -0
- package/src/editor/extensions.ts +18 -2
- package/src/editor/image-align.test.ts +35 -0
- package/src/editor/image-toolbar.svelte +73 -57
- package/src/editor/image-toolbar.svelte.d.ts +11 -0
- package/src/editor/inline-editor.svelte +27 -16
- package/src/editor/inline-editor.svelte.d.ts +40 -0
- package/src/editor/renderer.svelte.d.ts +11 -0
- package/src/editor/slash-menu.svelte +103 -88
- package/src/editor/slash-menu.svelte.d.ts +17 -0
- package/src/effects/animated-beam/AnimatedBeam.svelte.d.ts +4 -0
- package/src/effects/animated-beam/diagrams/BeamSvg.svelte.d.ts +22 -0
- package/src/effects/border-beam/BorderBeam.svelte.d.ts +4 -0
- package/src/effects/border-beam/index.ts +10 -0
- package/src/effects/image-comparison/ImageComparison.css +114 -97
- package/src/effects/image-comparison/ImageComparison.svelte.d.ts +44 -0
- package/src/effects/image-comparison/index.ts +4 -0
- package/src/effects/image-reveal/ImageReveal.css +14 -9
- package/src/effects/image-reveal/ImageReveal.svelte.d.ts +11 -0
- package/src/effects/interactive-hover-button/InteractiveHoverButton.svelte +234 -222
- package/src/effects/interactive-hover-button/InteractiveHoverButton.svelte.d.ts +16 -0
- package/src/effects/interactive-hover-button/index.ts +1 -0
- package/src/effects/magic-card/MagicCard.css +49 -45
- package/src/effects/magic-card/MagicCard.svelte.d.ts +15 -0
- package/src/effects/magic-card/index.ts +1 -0
- package/src/effects/marquee/Marquee.css +81 -62
- package/src/effects/marquee/Marquee.svelte +1 -0
- package/src/effects/marquee/Marquee.svelte.d.ts +27 -0
- package/src/effects/marquee/index.ts +1 -0
- package/src/effects/marquee/marquee.test.ts +24 -0
- package/src/effects/progressive-blur/ProgressiveBlur.css +13 -8
- package/src/effects/progressive-blur/ProgressiveBlur.svelte.d.ts +14 -0
- package/src/effects/progressive-blur/index.ts +1 -0
- package/src/effects/reveal/AnimatedGroup.svelte.d.ts +14 -0
- package/src/effects/reveal/InView.svelte.d.ts +12 -0
- package/src/effects/reveal/TextEffect.svelte.d.ts +16 -0
- package/src/effects/reveal/reveal.css +89 -73
- package/src/effects/shader-gradient/ShaderGradient.svelte.d.ts +4 -0
- package/src/effects/spotlight/Spotlight.css +8 -4
- package/src/effects/spotlight/Spotlight.svelte.d.ts +8 -0
- package/src/effects/spotlight/index.ts +1 -0
- package/src/effects/theme-toggle/ThemeToggle.css +165 -160
- package/src/effects/theme-toggle/ThemeToggle.svelte +12 -6
- package/src/effects/theme-toggle/ThemeToggle.svelte.d.ts +24 -0
- package/src/effects/theme-toggle/index.ts +1 -0
- package/src/icon-names.test.ts +88 -0
- package/src/inbox/index.ts +1 -2
- package/src/inbox/thread-inbox.svelte +1 -1
- package/src/inbox/thread-inbox.svelte.d.ts +52 -0
- package/src/lib/focus.ts +19 -0
- package/src/lib/live-region.svelte +14 -0
- package/src/lib/live-region.svelte.d.ts +5 -0
- package/src/lib/panel.svelte +2 -2
- package/src/lib/panel.svelte.d.ts +30 -0
- package/src/lib/tone.ts +3 -4
- package/src/modules.test.ts +119 -7
- package/src/onboarding/README.md +2 -2
- package/src/onboarding/onboarding-provider.svelte +1 -1
- package/src/onboarding/onboarding-provider.svelte.d.ts +17 -0
- package/src/onboarding/tour-card.svelte +10 -10
- package/src/onboarding/tour-card.svelte.d.ts +21 -0
- package/src/onboarding/tour-runner.svelte +62 -60
- package/src/onboarding/tour-runner.svelte.d.ts +11 -0
- package/src/panel/side-panel.svelte +4 -9
- package/src/panel/side-panel.svelte.d.ts +48 -0
- package/src/record/field-section.svelte.d.ts +19 -0
- package/src/record/info-list.svelte +4 -3
- package/src/record/info-list.svelte.d.ts +25 -0
- package/src/record/next-up.svelte.d.ts +14 -0
- package/src/record/project-list.svelte.d.ts +18 -0
- package/src/record/record-header.svelte.d.ts +27 -0
- package/src/record/record-rail.svelte.d.ts +23 -0
- package/src/record/record-shell.svelte.d.ts +48 -0
- package/src/record/record-stats.svelte.d.ts +10 -0
- package/src/record/record-timeline.svelte +3 -1
- package/src/record/record-timeline.svelte.d.ts +29 -0
- package/src/record/steps-rail.svelte +9 -9
- package/src/record/steps-rail.svelte.d.ts +23 -0
- package/src/record/where-we-are.svelte.d.ts +25 -0
- package/src/shadcn/accordion/accordion-content.svelte.d.ts +4 -0
- package/src/shadcn/accordion/accordion-item.svelte.d.ts +4 -0
- package/src/shadcn/accordion/accordion-trigger.svelte +1 -1
- package/src/shadcn/accordion/accordion-trigger.svelte.d.ts +12 -0
- package/src/shadcn/accordion/accordion.svelte.d.ts +4 -0
- package/src/shadcn/alert/alert-description.svelte.d.ts +5 -0
- package/src/shadcn/alert/alert-title.svelte.d.ts +5 -0
- package/src/shadcn/alert/alert-variants.ts +1 -1
- package/src/shadcn/alert/alert.svelte.d.ts +10 -0
- package/src/shadcn/alert-dialog/alert-dialog-action.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog-cancel.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog-content.svelte.d.ts +10 -0
- package/src/shadcn/alert-dialog/alert-dialog-description.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog-footer.svelte.d.ts +9 -0
- package/src/shadcn/alert-dialog/alert-dialog-header.svelte.d.ts +5 -0
- package/src/shadcn/alert-dialog/alert-dialog-overlay.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog-portal.svelte.d.ts +3 -0
- package/src/shadcn/alert-dialog/alert-dialog-title.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog-trigger.svelte.d.ts +4 -0
- package/src/shadcn/alert-dialog/alert-dialog.svelte.d.ts +3 -0
- package/src/shadcn/attachment/attachment-action.svelte +7 -0
- package/src/shadcn/attachment/attachment-action.svelte.d.ts +4 -0
- package/src/shadcn/attachment/attachment-actions.svelte.d.ts +5 -0
- package/src/shadcn/attachment/attachment-content.svelte.d.ts +5 -0
- package/src/shadcn/attachment/attachment-description.svelte.d.ts +5 -0
- package/src/shadcn/attachment/attachment-group.svelte.d.ts +5 -0
- package/src/shadcn/attachment/attachment-media.svelte.d.ts +16 -0
- package/src/shadcn/attachment/attachment-title.svelte +3 -0
- package/src/shadcn/attachment/attachment-title.svelte.d.ts +5 -0
- package/src/shadcn/attachment/attachment-trigger.svelte +5 -0
- package/src/shadcn/attachment/attachment-trigger.svelte.d.ts +11 -0
- package/src/shadcn/attachment/attachment.svelte +4 -0
- package/src/shadcn/attachment/attachment.svelte.d.ts +25 -0
- package/src/shadcn/attachment/context.ts +13 -0
- package/src/shadcn/avatar/avatar-badge.svelte.d.ts +5 -0
- package/src/shadcn/avatar/avatar-fallback.svelte.d.ts +4 -0
- package/src/shadcn/avatar/avatar-group-count.svelte.d.ts +5 -0
- package/src/shadcn/avatar/avatar-group.svelte.d.ts +5 -0
- package/src/shadcn/avatar/avatar-image.svelte.d.ts +4 -0
- package/src/shadcn/avatar/avatar.svelte.d.ts +7 -0
- package/src/shadcn/badge/badge.svelte.d.ts +13 -0
- package/src/shadcn/breadcrumb/breadcrumb-ellipsis.svelte +1 -1
- package/src/shadcn/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -0
- package/src/shadcn/breadcrumb/breadcrumb-item.svelte.d.ts +5 -0
- package/src/shadcn/breadcrumb/breadcrumb-link.svelte.d.ts +11 -0
- package/src/shadcn/breadcrumb/breadcrumb-list.svelte.d.ts +5 -0
- package/src/shadcn/breadcrumb/breadcrumb-page.svelte.d.ts +5 -0
- package/src/shadcn/breadcrumb/breadcrumb-separator.svelte +1 -1
- package/src/shadcn/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -0
- package/src/shadcn/breadcrumb/breadcrumb.svelte.d.ts +5 -0
- package/src/shadcn/bubble/bubble-content.svelte.d.ts +11 -0
- package/src/shadcn/bubble/bubble-group.svelte.d.ts +5 -0
- package/src/shadcn/bubble/bubble-reactions.svelte.d.ts +22 -0
- package/src/shadcn/bubble/bubble.svelte +1 -1
- package/src/shadcn/bubble/bubble.svelte.d.ts +22 -0
- package/src/shadcn/button/button.svelte +1 -1
- package/src/shadcn/button/button.svelte.d.ts +33 -0
- package/src/shadcn/calendar/calendar-caption.svelte.d.ts +19 -0
- package/src/shadcn/calendar/calendar-cell.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-day.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-grid-body.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-grid-head.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-grid-row.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-grid.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-head-cell.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-header.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-heading.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-month-select.svelte +1 -1
- package/src/shadcn/calendar/calendar-month-select.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar-month.svelte.d.ts +5 -0
- package/src/shadcn/calendar/calendar-months.svelte.d.ts +5 -0
- package/src/shadcn/calendar/calendar-nav.svelte.d.ts +5 -0
- package/src/shadcn/calendar/calendar-next-button.svelte +1 -1
- package/src/shadcn/calendar/calendar-next-button.svelte.d.ts +8 -0
- package/src/shadcn/calendar/calendar-prev-button.svelte +1 -1
- package/src/shadcn/calendar/calendar-prev-button.svelte.d.ts +8 -0
- package/src/shadcn/calendar/calendar-year-select.svelte +1 -1
- package/src/shadcn/calendar/calendar-year-select.svelte.d.ts +4 -0
- package/src/shadcn/calendar/calendar.svelte.d.ts +21 -0
- package/src/shadcn/card/card-action.svelte.d.ts +5 -0
- package/src/shadcn/card/card-content.svelte.d.ts +5 -0
- package/src/shadcn/card/card-description.svelte.d.ts +5 -0
- package/src/shadcn/card/card-footer.svelte.d.ts +5 -0
- package/src/shadcn/card/card-header.svelte.d.ts +5 -0
- package/src/shadcn/card/card-title.svelte.d.ts +8 -0
- package/src/shadcn/card/card.svelte.d.ts +8 -0
- package/src/shadcn/checkbox/checkbox.svelte +2 -2
- package/src/shadcn/checkbox/checkbox.svelte.d.ts +4 -0
- package/src/shadcn/code-block/code-block-actions.svelte.d.ts +5 -0
- package/src/shadcn/code-block/code-block-content.svelte +1 -1
- package/src/shadcn/code-block/code-block-content.svelte.d.ts +12 -0
- package/src/shadcn/code-block/code-block-copy-button.svelte.d.ts +3 -0
- package/src/shadcn/code-block/code-block-footer.svelte.d.ts +5 -0
- package/src/shadcn/code-block/code-block-header.svelte +1 -1
- package/src/shadcn/code-block/code-block-header.svelte.d.ts +5 -0
- package/src/shadcn/code-block/code-block-line.svelte +1 -1
- package/src/shadcn/code-block/code-block-line.svelte.d.ts +25 -0
- package/src/shadcn/code-block/code-block-title.svelte +1 -1
- package/src/shadcn/code-block/code-block-title.svelte.d.ts +5 -0
- package/src/shadcn/code-block/code-block.svelte +3 -2
- package/src/shadcn/code-block/code-block.svelte.d.ts +18 -0
- package/src/shadcn/collapsible/collapsible-content.svelte.d.ts +4 -0
- package/src/shadcn/collapsible/collapsible-trigger.svelte.d.ts +4 -0
- package/src/shadcn/collapsible/collapsible.svelte.d.ts +4 -0
- package/src/shadcn/command/command-dialog.svelte.d.ts +14 -0
- package/src/shadcn/command/command-empty.svelte.d.ts +4 -0
- package/src/shadcn/command/command-group.svelte.d.ts +7 -0
- package/src/shadcn/command/command-input.svelte +2 -2
- package/src/shadcn/command/command-input.svelte.d.ts +13 -0
- package/src/shadcn/command/command-item.svelte +1 -1
- package/src/shadcn/command/command-item.svelte.d.ts +4 -0
- package/src/shadcn/command/command-link-item.svelte.d.ts +4 -0
- package/src/shadcn/command/command-list.svelte +7 -1
- package/src/shadcn/command/command-list.svelte.d.ts +4 -0
- package/src/shadcn/command/command-loading.svelte.d.ts +4 -0
- package/src/shadcn/command/command-separator.svelte.d.ts +4 -0
- package/src/shadcn/command/command-shortcut.svelte.d.ts +5 -0
- package/src/shadcn/command/command.svelte.d.ts +8 -0
- package/src/shadcn/context-menu/context-menu-checkbox-item.svelte +1 -1
- package/src/shadcn/context-menu/context-menu-checkbox-item.svelte.d.ts +10 -0
- package/src/shadcn/context-menu/context-menu-content.svelte.d.ts +10 -0
- package/src/shadcn/context-menu/context-menu-group-heading.svelte.d.ts +7 -0
- package/src/shadcn/context-menu/context-menu-group.svelte.d.ts +4 -0
- package/src/shadcn/context-menu/context-menu-item.svelte +1 -1
- package/src/shadcn/context-menu/context-menu-item.svelte.d.ts +8 -0
- package/src/shadcn/context-menu/context-menu-label.svelte.d.ts +8 -0
- package/src/shadcn/context-menu/context-menu-portal.svelte.d.ts +3 -0
- package/src/shadcn/context-menu/context-menu-radio-group.svelte.d.ts +4 -0
- package/src/shadcn/context-menu/context-menu-radio-item.svelte +1 -1
- package/src/shadcn/context-menu/context-menu-radio-item.svelte.d.ts +8 -0
- package/src/shadcn/context-menu/context-menu-separator.svelte.d.ts +4 -0
- package/src/shadcn/context-menu/context-menu-shortcut.svelte.d.ts +5 -0
- package/src/shadcn/context-menu/context-menu-sub-content.svelte.d.ts +4 -0
- package/src/shadcn/context-menu/context-menu-sub-trigger.svelte +1 -1
- package/src/shadcn/context-menu/context-menu-sub-trigger.svelte.d.ts +8 -0
- package/src/shadcn/context-menu/context-menu-sub.svelte.d.ts +3 -0
- package/src/shadcn/context-menu/context-menu-trigger.svelte.d.ts +4 -0
- package/src/shadcn/context-menu/context-menu.svelte.d.ts +3 -0
- package/src/shadcn/dialog/dialog-body.svelte.d.ts +5 -0
- package/src/shadcn/dialog/dialog-close.svelte.d.ts +4 -0
- package/src/shadcn/dialog/dialog-content.svelte +3 -4
- package/src/shadcn/dialog/dialog-content.svelte.d.ts +16 -0
- package/src/shadcn/dialog/dialog-description.svelte.d.ts +4 -0
- package/src/shadcn/dialog/dialog-footer.svelte.d.ts +15 -0
- package/src/shadcn/dialog/dialog-header.svelte.d.ts +5 -0
- package/src/shadcn/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/src/shadcn/dialog/dialog-portal.svelte.d.ts +3 -0
- package/src/shadcn/dialog/dialog-title.svelte.d.ts +4 -0
- package/src/shadcn/dialog/dialog-trigger.svelte.d.ts +4 -0
- package/src/shadcn/dialog/dialog.svelte.d.ts +3 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-checkbox-group.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-checkbox-item.svelte +2 -2
- package/src/shadcn/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +9 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-content.svelte.d.ts +10 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +8 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-group.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-item.svelte.d.ts +8 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-label.svelte.d.ts +8 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-portal.svelte.d.ts +3 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/src/shadcn/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/src/shadcn/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +7 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-sub.svelte.d.ts +3 -0
- package/src/shadcn/dropdown-menu/dropdown-menu-trigger.svelte.d.ts +4 -0
- package/src/shadcn/dropdown-menu/dropdown-menu.svelte.d.ts +3 -0
- package/src/shadcn/dropdown-menu/menu-item.ts +1 -1
- package/src/shadcn/empty/empty-content.svelte.d.ts +5 -0
- package/src/shadcn/empty/empty-description.svelte.d.ts +5 -0
- package/src/shadcn/empty/empty-header.svelte.d.ts +5 -0
- package/src/shadcn/empty/empty-media.svelte.d.ts +16 -0
- package/src/shadcn/empty/empty-title.svelte.d.ts +5 -0
- package/src/shadcn/empty/empty.svelte.d.ts +5 -0
- package/src/shadcn/field/field-content.svelte.d.ts +5 -0
- package/src/shadcn/field/field-description.svelte.d.ts +5 -0
- package/src/shadcn/field/field-error.svelte +1 -1
- package/src/shadcn/field/field-error.svelte.d.ts +12 -0
- package/src/shadcn/field/field-group.svelte.d.ts +5 -0
- package/src/shadcn/field/field-label.svelte.d.ts +10 -0
- package/src/shadcn/field/field-legend.svelte.d.ts +8 -0
- package/src/shadcn/field/field-separator.svelte.d.ts +9 -0
- package/src/shadcn/field/field-set.svelte.d.ts +5 -0
- package/src/shadcn/field/field-title.svelte.d.ts +5 -0
- package/src/shadcn/field/field.svelte +1 -1
- package/src/shadcn/field/field.svelte.d.ts +17 -0
- package/src/shadcn/field/simple-field.svelte.d.ts +15 -0
- package/src/shadcn/hooks/highlighter.ts +51 -2
- package/src/shadcn/hover-card/hover-card-content.svelte.d.ts +10 -0
- package/src/shadcn/hover-card/hover-card-portal.svelte.d.ts +3 -0
- package/src/shadcn/hover-card/hover-card-trigger.svelte.d.ts +4 -0
- package/src/shadcn/hover-card/hover-card.svelte.d.ts +3 -0
- package/src/shadcn/input/input.svelte.d.ts +13 -0
- package/src/shadcn/input/secret-input.svelte +3 -3
- package/src/shadcn/input/secret-input.svelte.d.ts +9 -0
- package/src/shadcn/input-otp/input-otp-group.svelte.d.ts +5 -0
- package/src/shadcn/input-otp/input-otp-separator.svelte.d.ts +5 -0
- package/src/shadcn/input-otp/input-otp-slot.svelte.d.ts +4 -0
- package/src/shadcn/input-otp/input-otp.svelte.d.ts +4 -0
- package/src/shadcn/kbd/kbd-group.svelte.d.ts +5 -0
- package/src/shadcn/kbd/kbd.svelte.d.ts +5 -0
- package/src/shadcn/label/label.svelte.d.ts +4 -0
- package/src/shadcn/marker/marker-content.svelte.d.ts +5 -0
- package/src/shadcn/marker/marker-icon.svelte.d.ts +5 -0
- package/src/shadcn/marker/marker.svelte.d.ts +21 -0
- package/src/shadcn/message/message-avatar.svelte.d.ts +5 -0
- package/src/shadcn/message/message-content.svelte.d.ts +5 -0
- package/src/shadcn/message/message-footer.svelte.d.ts +5 -0
- package/src/shadcn/message/message-group.svelte.d.ts +5 -0
- package/src/shadcn/message/message-header.svelte.d.ts +5 -0
- package/src/shadcn/message/message.svelte.d.ts +8 -0
- package/src/shadcn/message-scroller/message-scroller-button.svelte +13 -1
- package/src/shadcn/message-scroller/message-scroller-button.svelte.d.ts +9 -0
- package/src/shadcn/message-scroller/message-scroller-content.svelte.d.ts +4 -0
- package/src/shadcn/message-scroller/message-scroller-item.svelte.d.ts +4 -0
- package/src/shadcn/message-scroller/message-scroller-provider.svelte.d.ts +4 -0
- package/src/shadcn/message-scroller/message-scroller-viewport.svelte.d.ts +4 -0
- package/src/shadcn/message-scroller/message-scroller.svelte.d.ts +4 -0
- package/src/shadcn/popover/popover-close.svelte.d.ts +4 -0
- package/src/shadcn/popover/popover-content.svelte.d.ts +10 -0
- package/src/shadcn/popover/popover-description.svelte.d.ts +5 -0
- package/src/shadcn/popover/popover-header.svelte.d.ts +5 -0
- package/src/shadcn/popover/popover-portal.svelte.d.ts +3 -0
- package/src/shadcn/popover/popover-title.svelte.d.ts +5 -0
- package/src/shadcn/popover/popover-trigger.svelte.d.ts +4 -0
- package/src/shadcn/popover/popover.svelte.d.ts +3 -0
- package/src/shadcn/progress/progress.svelte.d.ts +10 -0
- package/src/shadcn/radio-group/radio-group-item.svelte +1 -1
- package/src/shadcn/radio-group/radio-group-item.svelte.d.ts +4 -0
- package/src/shadcn/radio-group/radio-group.svelte.d.ts +4 -0
- package/src/shadcn/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -0
- package/src/shadcn/scroll-area/scroll-area.svelte +1 -0
- package/src/shadcn/scroll-area/scroll-area.svelte.d.ts +11 -0
- package/src/shadcn/select/select-content.svelte.d.ts +11 -0
- package/src/shadcn/select/select-group-heading.svelte.d.ts +10 -0
- package/src/shadcn/select/select-group.svelte.d.ts +4 -0
- package/src/shadcn/select/select-item.svelte +1 -1
- package/src/shadcn/select/select-item.svelte.d.ts +4 -0
- package/src/shadcn/select/select-label.svelte.d.ts +6 -0
- package/src/shadcn/select/select-portal.svelte.d.ts +3 -0
- package/src/shadcn/select/select-scroll-down-button.svelte +1 -1
- package/src/shadcn/select/select-scroll-down-button.svelte.d.ts +4 -0
- package/src/shadcn/select/select-scroll-up-button.svelte +1 -1
- package/src/shadcn/select/select-scroll-up-button.svelte.d.ts +4 -0
- package/src/shadcn/select/select-separator.svelte.d.ts +4 -0
- package/src/shadcn/select/select-trigger.svelte +1 -0
- package/src/shadcn/select/select-trigger.svelte.d.ts +8 -0
- package/src/shadcn/select/select.svelte.d.ts +3 -0
- package/src/shadcn/separator/separator.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet-body.svelte.d.ts +5 -0
- package/src/shadcn/sheet/sheet-close.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet-content.svelte +5 -7
- package/src/shadcn/sheet/sheet-content.svelte.d.ts +21 -0
- package/src/shadcn/sheet/sheet-description.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet-footer.svelte.d.ts +12 -0
- package/src/shadcn/sheet/sheet-header.svelte.d.ts +5 -0
- package/src/shadcn/sheet/sheet-overlay.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet-portal.svelte.d.ts +3 -0
- package/src/shadcn/sheet/sheet-title.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet-trigger.svelte.d.ts +4 -0
- package/src/shadcn/sheet/sheet.css +47 -43
- package/src/shadcn/sheet/sheet.svelte.d.ts +3 -0
- package/src/shadcn/sidebar/constants.ts +1 -1
- package/src/shadcn/sidebar/context.svelte.ts +16 -1
- package/src/shadcn/sidebar/sidebar-content.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-footer.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-group-action.svelte.d.ts +11 -0
- package/src/shadcn/sidebar/sidebar-group-content.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-group-label.svelte.d.ts +11 -0
- package/src/shadcn/sidebar/sidebar-group.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-header.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-input.svelte.d.ts +11 -0
- package/src/shadcn/sidebar/sidebar-inset.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-menu-action.svelte.d.ts +12 -0
- package/src/shadcn/sidebar/sidebar-menu-badge.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-menu-button.svelte.d.ts +31 -0
- package/src/shadcn/sidebar/sidebar-menu-item.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-menu-skeleton.svelte.d.ts +8 -0
- package/src/shadcn/sidebar/sidebar-menu-sub-button.svelte.d.ts +13 -0
- package/src/shadcn/sidebar/sidebar-menu-sub-item.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-menu-sub.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-menu.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-provider.svelte +3 -0
- package/src/shadcn/sidebar/sidebar-provider.svelte.d.ts +9 -0
- package/src/shadcn/sidebar/sidebar-rail.svelte.d.ts +5 -0
- package/src/shadcn/sidebar/sidebar-separator.svelte.d.ts +13 -0
- package/src/shadcn/sidebar/sidebar-trigger.svelte +3 -1
- package/src/shadcn/sidebar/sidebar-trigger.svelte.d.ts +8 -0
- package/src/shadcn/sidebar/sidebar.svelte +3 -0
- package/src/shadcn/sidebar/sidebar.svelte.d.ts +10 -0
- package/src/shadcn/sidebar/sidebar.test.ts +69 -0
- package/src/shadcn/skeleton/skeleton-delay.svelte.d.ts +20 -0
- package/src/shadcn/skeleton/skeleton.svelte.d.ts +5 -0
- package/src/shadcn/slider/slider.svelte.d.ts +11 -0
- package/src/shadcn/sonner/sonner.svelte +4 -4
- package/src/shadcn/sonner/sonner.svelte.d.ts +4 -0
- package/src/shadcn/spinner/spinner.svelte.d.ts +4 -0
- package/src/shadcn/switch/switch.svelte.d.ts +8 -0
- package/src/shadcn/table/table-body.svelte.d.ts +5 -0
- package/src/shadcn/table/table-caption.svelte.d.ts +5 -0
- package/src/shadcn/table/table-cell.svelte +16 -12
- package/src/shadcn/table/table-cell.svelte.d.ts +9 -0
- package/src/shadcn/table/table-footer.svelte.d.ts +5 -0
- package/src/shadcn/table/table-head.svelte.d.ts +5 -0
- package/src/shadcn/table/table-header.svelte.d.ts +5 -0
- package/src/shadcn/table/table-row.svelte.d.ts +5 -0
- package/src/shadcn/table/table.svelte.d.ts +5 -0
- package/src/shadcn/tabs/tabs-content.svelte.d.ts +4 -0
- package/src/shadcn/tabs/tabs-list.svelte.d.ts +8 -0
- package/src/shadcn/tabs/tabs-trigger.svelte.d.ts +4 -0
- package/src/shadcn/tabs/tabs.svelte.d.ts +4 -0
- package/src/shadcn/textarea/textarea.svelte.d.ts +5 -0
- package/src/shadcn/toggle/toggle.svelte.d.ts +10 -0
- package/src/shadcn/toggle-group/toggle-group-item.svelte.d.ts +6 -0
- package/src/shadcn/toggle-group/toggle-group.svelte.d.ts +15 -0
- package/src/shadcn/tooltip/tooltip-content.svelte.d.ts +11 -0
- package/src/shadcn/tooltip/tooltip-portal.svelte.d.ts +4 -0
- package/src/shadcn/tooltip/tooltip-provider.svelte.d.ts +4 -0
- package/src/shadcn/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/src/shadcn/tooltip/tooltip.svelte.d.ts +4 -0
- package/src/shadcn/trace/trace-collapsible-content.svelte.d.ts +4 -0
- package/src/shadcn/trace/trace-collapsible-trigger.svelte +2 -2
- package/src/shadcn/trace/trace-collapsible-trigger.svelte.d.ts +4 -0
- package/src/shadcn/trace/trace-collapsible.svelte.d.ts +4 -0
- package/src/shadcn/trace/trace-description.svelte +1 -1
- package/src/shadcn/trace/trace-description.svelte.d.ts +5 -0
- package/src/shadcn/trace/trace-icon.svelte.d.ts +5 -0
- package/src/shadcn/trace/trace-line.svelte +1 -1
- package/src/shadcn/trace/trace-line.svelte.d.ts +9 -0
- package/src/shadcn/trace/trace-title.svelte.d.ts +5 -0
- package/src/shadcn/trace/trace.svelte.d.ts +5 -0
- package/src/slides/Controls.svelte +96 -92
- package/src/slides/Controls.svelte.d.ts +10 -0
- package/src/slides/Deck.svelte +77 -60
- package/src/slides/Deck.svelte.d.ts +5 -0
- package/src/slides/Fragment.svelte +25 -21
- package/src/slides/Fragment.svelte.d.ts +15 -0
- package/src/slides/Overview.svelte +71 -60
- package/src/slides/Overview.svelte.d.ts +8 -0
- package/src/slides/Presenter.svelte +146 -139
- package/src/slides/Presenter.svelte.d.ts +8 -0
- package/src/slides/README.md +2 -2
- package/src/slides/Slide.svelte +74 -63
- package/src/slides/Slide.svelte.d.ts +18 -0
- package/src/slides/SlideList.svelte.d.ts +9 -0
- package/src/slides/deck-controller.svelte.ts +63 -36
- package/src/slides/deck-keys.test.ts +49 -0
- package/src/slides/layout.ts +3 -2
- package/src/slides/theme.css +227 -177
- package/src/slides/types.ts +2 -1
- package/src/status/index.ts +0 -1
- package/src/status/status-badge.svelte +7 -5
- package/src/status/status-badge.svelte.d.ts +28 -0
- package/src/status/status-badge.test.ts +44 -0
- package/src/status/status-dot.svelte +54 -49
- package/src/status/status-dot.svelte.d.ts +16 -0
- package/src/status/status-icon.svelte +19 -6
- package/src/status/status-icon.svelte.d.ts +14 -0
- package/src/status/status-pill.svelte.d.ts +13 -0
- package/src/test-setup.test.ts +5 -0
- package/src/thread/thread-body.svelte.d.ts +9 -0
- package/src/thread/thread-events.svelte.d.ts +8 -0
- package/src/thread/thread-focus.svelte.test.ts +90 -0
- package/src/thread/thread.svelte +70 -15
- package/src/thread/thread.svelte.d.ts +40 -0
- package/src/tokens/base.css +47 -45
- package/src/tokens/design.css +8 -0
- package/src/tokens/index.css +3 -0
- package/src/triage/triage-plan.svelte +42 -9
- package/src/triage/triage-plan.svelte.d.ts +28 -0
- package/src/triage/triage-queue.svelte +61 -23
- package/src/triage/triage-queue.svelte.d.ts +41 -0
- package/src/triage/triage-task.svelte +11 -3
- package/src/triage/triage-task.svelte.d.ts +22 -0
- package/src/triage/triage.svelte.test.ts +130 -0
- package/src/work/README.md +8 -7
- package/src/work/detail/task-chip.svelte.d.ts +10 -0
- package/src/work/detail/task-detail.svelte.d.ts +36 -0
- package/src/work/docs/doc-editor-page.svelte +20 -16
- package/src/work/docs/doc-editor-page.svelte.d.ts +31 -0
- package/src/work/docs/doc-menu.svelte +44 -38
- package/src/work/docs/doc-menu.svelte.d.ts +35 -0
- package/src/work/docs/edited-chip.svelte +9 -9
- package/src/work/docs/edited-chip.svelte.d.ts +26 -0
- package/src/work/gantt/gantt-bar.svelte +87 -78
- package/src/work/gantt/gantt-bar.svelte.d.ts +29 -0
- package/src/work/gantt/gantt-grid.svelte +30 -26
- package/src/work/gantt/gantt-grid.svelte.d.ts +14 -0
- package/src/work/gantt/gantt-group-row.svelte +12 -8
- package/src/work/gantt/gantt-group-row.svelte.d.ts +12 -0
- package/src/work/gantt/gantt-header.svelte +2 -4
- package/src/work/gantt/gantt-header.svelte.d.ts +17 -0
- package/src/work/gantt/gantt-task-row.svelte +43 -36
- package/src/work/gantt/gantt-task-row.svelte.d.ts +53 -0
- package/src/work/gantt/gantt.css +14 -10
- package/src/work/gantt/gantt.test.ts +14 -2
- package/src/work/inbox/inbox-card.svelte +13 -16
- package/src/work/inbox/inbox-card.svelte.d.ts +22 -0
- package/src/work/inbox/inbox-draft.svelte +3 -3
- package/src/work/inbox/inbox-draft.svelte.d.ts +18 -0
- package/src/work/inbox/inbox-trace.svelte.d.ts +11 -0
- package/src/work/index.ts +0 -24
- package/src/work/kanban-board.svelte +103 -66
- package/src/work/kanban-board.svelte.d.ts +107 -0
- package/src/work/kanban-board.svelte.test.ts +89 -0
- package/src/work/kanban-column-head.svelte.d.ts +40 -0
- package/src/work/kanban-column.svelte +45 -43
- package/src/work/kanban-column.svelte.d.ts +20 -0
- package/src/work/kanban-fold-chevron.svelte +15 -11
- package/src/work/kanban-fold-chevron.svelte.d.ts +8 -0
- package/src/work/kanban-hidden-rail.svelte +2 -1
- package/src/work/kanban-hidden-rail.svelte.d.ts +39 -0
- package/src/work/kanban-keyboard.ts +8 -6
- package/src/work/task-gantt.svelte +18 -4
- package/src/work/task-gantt.svelte.d.ts +85 -0
- package/src/work/task-list.svelte +166 -116
- package/src/work/task-list.svelte.d.ts +81 -0
- package/src/work/task-list.svelte.test.ts +113 -0
- package/src/work/time/time-chip.svelte +2 -4
- package/src/work/time/time-chip.svelte.d.ts +14 -0
- package/src/work/time/time-dot.svelte +30 -25
- package/src/work/time/time-dot.svelte.d.ts +9 -0
- package/src/work/time/time-ring.svelte +15 -11
- package/src/work/time/time-ring.svelte.d.ts +18 -0
- package/src/work/time/time-tracker.svelte +49 -44
- package/src/work/time/time-tracker.svelte.d.ts +59 -0
- package/dist/ai/index.js +0 -40
- package/dist/index.js +0 -18
- package/dist/record/demo-data.js +0 -485
- package/dist/test-setup.js +0 -30
- package/src/agents/demo.svelte +0 -137
- package/src/ai/index.ts +0 -101
- package/src/design/index.css +0 -215
- package/src/design/polish.css +0 -150
- package/src/index.ts +0 -53
- package/src/onboarding/demo.svelte +0 -105
- package/src/record/demo-data.ts +0 -352
- package/src/record/record-demo.svelte +0 -342
- package/src/slides/demo-slides.svelte +0 -382
- package/src/slides/demo.svelte +0 -180
- package/src/test-setup.ts +0 -34
- package/src/work/demo.svelte +0 -561
- package/src/work/detail/detail-demo.svelte +0 -258
- package/src/work/docs/docs-demo.svelte +0 -227
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Ids in the order the list shows them. */
|
|
3
|
+
ids: readonly string[];
|
|
4
|
+
current: string | null | undefined;
|
|
5
|
+
onSelect: (id: string) => void;
|
|
6
|
+
previousLabel?: string;
|
|
7
|
+
nextLabel?: string;
|
|
8
|
+
/** Off when two steppers share a page, so one key press moves one list. */
|
|
9
|
+
keys?: boolean;
|
|
10
|
+
class?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
13
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
14
|
+
export default $$Component;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
interface Props {
|
|
3
|
+
label?: string;
|
|
4
|
+
action?: Snippet;
|
|
5
|
+
children?: Snippet;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
10
|
+
export default $$Component;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
onclick: () => void;
|
|
6
|
+
leading?: Snippet;
|
|
7
|
+
trailing?: Snippet;
|
|
8
|
+
preview?: string | null;
|
|
9
|
+
meta?: Array<string | null | undefined | false>;
|
|
10
|
+
metaTruncate?: "first" | "last";
|
|
11
|
+
metaTrail?: Snippet;
|
|
12
|
+
actions?: Snippet;
|
|
13
|
+
titleLines?: 1 | 2;
|
|
14
|
+
class?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
17
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
18
|
+
export default $$Component;
|
|
@@ -55,7 +55,9 @@
|
|
|
55
55
|
onerror={() => (broken = src)}
|
|
56
56
|
/>
|
|
57
57
|
{:else}
|
|
58
|
+
<!-- Hidden like the image: a lone initial read aloud is a stray letter, not a name. -->
|
|
58
59
|
<span
|
|
60
|
+
aria-hidden="true"
|
|
59
61
|
class={cn(
|
|
60
62
|
"bg-muted text-muted-foreground flex size-4 shrink-0 items-center justify-center text-[10px] leading-none font-bold",
|
|
61
63
|
round ? "rounded-full" : "rounded-xs",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A brand's mark at glyph size: a kit icon, a channel avatar, a client logo.
|
|
3
|
+
* One renderer, because three places each handled a missing file their own way.
|
|
4
|
+
*/
|
|
5
|
+
interface Props {
|
|
6
|
+
/** The file. A missing or broken one falls back to the label's initial. */
|
|
7
|
+
src?: string;
|
|
8
|
+
/** Read for the fallback letter. The mark itself is decorative. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** `circle` crops a photograph to a disc, `square` fits a logo whole. */
|
|
11
|
+
shape?: "square" | "circle";
|
|
12
|
+
class?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
15
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
16
|
+
export default $$Component;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
name: string;
|
|
11
11
|
/** The default accessible sentence, when the caller passes no translated one. */
|
|
12
12
|
action: string;
|
|
13
|
-
icon: Component<{ size?: number; class?: string }>;
|
|
13
|
+
icon: Component<{ size?: number; class?: string; "aria-hidden"?: boolean | "true" | "false" }>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/** `chip` is the bordered inline tag, `button` sits in a header beside other
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
className,
|
|
97
97
|
)}
|
|
98
98
|
>
|
|
99
|
-
<Icon size={iconSize} />
|
|
99
|
+
<Icon aria-hidden="true" size={iconSize} />
|
|
100
100
|
{#if variant !== "icon"}
|
|
101
101
|
{text}
|
|
102
102
|
<!-- The one thing the mark can't say: this leaves the app. It stays muted
|
|
103
103
|
so the eye lands on the tool name first. -->
|
|
104
|
-
<ArrowSquareOut size={iconSize} class="text-muted-foreground" />
|
|
104
|
+
<ArrowSquareOut aria-hidden="true" size={iconSize} class="text-muted-foreground" />
|
|
105
105
|
{/if}
|
|
106
106
|
</a>
|
|
107
107
|
</div>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Component } from "svelte";
|
|
2
|
+
/**
|
|
3
|
+
* The one way out to a tool: mark, name, go-to arrow, never the verb, which
|
|
4
|
+
* survives as the accessible name.
|
|
5
|
+
*/
|
|
6
|
+
export interface OpenInTool {
|
|
7
|
+
/** The visible text, and the word the tool calls itself. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** The default accessible sentence, when the caller passes no translated one. */
|
|
10
|
+
action: string;
|
|
11
|
+
icon: Component<{
|
|
12
|
+
size?: number;
|
|
13
|
+
class?: string;
|
|
14
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
/** `chip` is the bordered inline tag, `button` sits in a header beside other
|
|
18
|
+
* buttons, `icon` is the bare mark for a dense row. */
|
|
19
|
+
export type OpenInVariant = "chip" | "button" | "icon";
|
|
20
|
+
export type OpenInSize = "sm" | "default";
|
|
21
|
+
interface Props {
|
|
22
|
+
/** The tool to link to: its name, accessible sentence and mark. */
|
|
23
|
+
tool: OpenInTool;
|
|
24
|
+
href: string;
|
|
25
|
+
variant?: OpenInVariant;
|
|
26
|
+
size?: OpenInSize;
|
|
27
|
+
/** Overrides the visible text. The accessible name is `title`, never this. */
|
|
28
|
+
label?: string;
|
|
29
|
+
/** The accessible sentence, translated by the caller. */
|
|
30
|
+
title?: string;
|
|
31
|
+
class?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const $$Component: Component<Props, {}, "">;
|
|
34
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
35
|
+
export default $$Component;
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
<Mark src={selected.image} label={selected.label} {shape} />
|
|
72
72
|
{:else if selected?.icon}
|
|
73
73
|
{@const Icon = selected.icon}
|
|
74
|
-
<Icon class="text-muted-foreground size-4" />
|
|
74
|
+
<Icon aria-hidden="true" class="text-muted-foreground size-4" />
|
|
75
75
|
{/if}
|
|
76
76
|
<span class="truncate">{selected?.label ?? placeholder}</span>
|
|
77
|
-
<CaretDown class="text-muted-foreground size-3" />
|
|
77
|
+
<CaretDown aria-hidden="true" class="text-muted-foreground size-3" />
|
|
78
78
|
{/snippet}
|
|
79
79
|
<!-- A row with an icon of its own is drawn by `Picker`; this is every other
|
|
80
80
|
row, the ones that carry a mark. -->
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { PickerOption } from "./types.js";
|
|
2
|
+
declare function $$render<V extends string>(): {
|
|
3
|
+
props: {
|
|
4
|
+
options: PickerOption<V>[];
|
|
5
|
+
value: V | null;
|
|
6
|
+
onSelect: (value: V) => void;
|
|
7
|
+
ariaLabel: string;
|
|
8
|
+
/** Said by the trigger when nothing in the list is the current value. */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** The search field's own prompt, on a list long enough to show one. */
|
|
11
|
+
searchPlaceholder?: string;
|
|
12
|
+
/** `circle` for a face or an avatar, `square` for a logo. */
|
|
13
|
+
shape?: "square" | "circle";
|
|
14
|
+
width?: "sm" | "default" | "lg";
|
|
15
|
+
class?: string;
|
|
16
|
+
};
|
|
17
|
+
exports: {};
|
|
18
|
+
bindings: "";
|
|
19
|
+
slots: {};
|
|
20
|
+
events: {};
|
|
21
|
+
};
|
|
22
|
+
declare class __sveltets_Render<V extends string> {
|
|
23
|
+
props(): ReturnType<typeof $$render<V>>['props'];
|
|
24
|
+
events(): ReturnType<typeof $$render<V>>['events'];
|
|
25
|
+
slots(): ReturnType<typeof $$render<V>>['slots'];
|
|
26
|
+
bindings(): "";
|
|
27
|
+
exports(): {};
|
|
28
|
+
}
|
|
29
|
+
interface $$IsomorphicComponent {
|
|
30
|
+
new <V extends string>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<V>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<V>['props']>, ReturnType<__sveltets_Render<V>['events']>, ReturnType<__sveltets_Render<V>['slots']>> & {
|
|
31
|
+
$$bindings?: ReturnType<__sveltets_Render<V>['bindings']>;
|
|
32
|
+
} & ReturnType<__sveltets_Render<V>['exports']>;
|
|
33
|
+
<V extends string>(internal: unknown, props: ReturnType<__sveltets_Render<V>['props']> & {}): ReturnType<__sveltets_Render<V>['exports']>;
|
|
34
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
35
|
+
}
|
|
36
|
+
declare const $$Component: $$IsomorphicComponent;
|
|
37
|
+
type $$Component<V extends string> = InstanceType<typeof $$Component<V>>;
|
|
38
|
+
export default $$Component;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts" generics="V extends string">
|
|
2
2
|
import type { Snippet } from "svelte";
|
|
3
|
+
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
4
|
import * as Command from "../../shadcn/command/index.js";
|
|
4
5
|
import * as Popover from "../../shadcn/popover/index.js";
|
|
5
6
|
import { cn } from "../../lib/utils.js";
|
|
@@ -88,6 +89,36 @@
|
|
|
88
89
|
function keywordsFor(option: PickerOption<V>): string[] {
|
|
89
90
|
return [option.label, option.hint, option.keywords].filter(Boolean) as string[];
|
|
90
91
|
}
|
|
92
|
+
|
|
93
|
+
let commandRef = $state<HTMLElement | null>(null);
|
|
94
|
+
let commandApi = $state<CommandPrimitive.Root | null>(null);
|
|
95
|
+
|
|
96
|
+
// Command's keys live on its root. With no search field, Popover focused its own content outside that root, so arrows and Enter were dead.
|
|
97
|
+
function focusList(event: Event) {
|
|
98
|
+
if (showSearch) return;
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
commandRef?.focus();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
let labels = $derived(new Map(resolved.flatMap((g) => g.options.map((o) => [o.value, o.label]))));
|
|
104
|
+
|
|
105
|
+
// Typeahead without a search field: a letter moves to the next row whose label starts with it.
|
|
106
|
+
function typeahead(event: KeyboardEvent) {
|
|
107
|
+
if (showSearch || event.key.length !== 1 || event.metaKey || event.ctrlKey || event.altKey)
|
|
108
|
+
return;
|
|
109
|
+
const items = commandApi?.getValidItems() ?? [];
|
|
110
|
+
const from = items.findIndex((el) => el.getAttribute("aria-selected") === "true");
|
|
111
|
+
const letter = event.key.toLowerCase();
|
|
112
|
+
for (let step = 1; step <= items.length; step++) {
|
|
113
|
+
const index = (from + step) % items.length;
|
|
114
|
+
const label = labels.get(items[index].getAttribute("data-value") as V) ?? "";
|
|
115
|
+
if (label.toLowerCase().startsWith(letter)) {
|
|
116
|
+
event.preventDefault();
|
|
117
|
+
commandApi?.updateSelectedToIndex(index);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
91
122
|
</script>
|
|
92
123
|
|
|
93
124
|
<Popover.Root bind:open>
|
|
@@ -96,8 +127,21 @@
|
|
|
96
127
|
</Popover.Trigger>
|
|
97
128
|
<!-- A picker opens below its trigger. `side` was a prop taking four edges and
|
|
98
129
|
no caller in any repo had ever passed one. Deleted 4 Sep 2026. -->
|
|
99
|
-
<Popover.Content
|
|
100
|
-
|
|
130
|
+
<Popover.Content
|
|
131
|
+
{align}
|
|
132
|
+
side="bottom"
|
|
133
|
+
class={cn("p-0", WIDTH[width])}
|
|
134
|
+
onOpenAutoFocus={focusList}
|
|
135
|
+
>
|
|
136
|
+
<Command.Root
|
|
137
|
+
{filter}
|
|
138
|
+
loop
|
|
139
|
+
bind:ref={commandRef}
|
|
140
|
+
bind:api={commandApi}
|
|
141
|
+
onkeydown={typeahead}
|
|
142
|
+
label={triggerLabel}
|
|
143
|
+
class="focus-visible:outline-hidden"
|
|
144
|
+
>
|
|
101
145
|
{#if showSearch}
|
|
102
146
|
<Command.Input placeholder={searchPlaceholder} />
|
|
103
147
|
{/if}
|
|
@@ -118,7 +162,7 @@
|
|
|
118
162
|
>
|
|
119
163
|
{#if option.icon}
|
|
120
164
|
{@const Icon = option.icon}
|
|
121
|
-
<Icon class={cn("size-4", option.tone)} weight="bold" />
|
|
165
|
+
<Icon aria-hidden="true" class={cn("size-4", option.tone)} weight="bold" />
|
|
122
166
|
{:else if lead}
|
|
123
167
|
{@render lead(option)}
|
|
124
168
|
{/if}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { PickerGroup, PickerOption } from "./types.js";
|
|
3
|
+
declare function $$render<V extends string>(): {
|
|
4
|
+
props: {
|
|
5
|
+
/** Flat list. Mutually exclusive with `groups`. */
|
|
6
|
+
options?: PickerOption<V>[];
|
|
7
|
+
/** Titled runs, when the menu has a shape worth naming. */
|
|
8
|
+
groups?: PickerGroup<V>[];
|
|
9
|
+
value: V | null;
|
|
10
|
+
onSelect: (value: V) => void;
|
|
11
|
+
/** The control that opens the menu. Rendered inside `Popover.Trigger`. */
|
|
12
|
+
trigger: Snippet;
|
|
13
|
+
/** Class for the trigger. Use `pickerTriggerClass` to build it. */
|
|
14
|
+
triggerClass?: string;
|
|
15
|
+
triggerLabel?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A mark drawn at the head of a row when the option carries no icon: an
|
|
18
|
+
* avatar, a client logo, a colour swatch.
|
|
19
|
+
*/
|
|
20
|
+
lead?: Snippet<[PickerOption<V>]>;
|
|
21
|
+
/** Pinned under the list: a clear action, a hint, a secondary surface. */
|
|
22
|
+
footer?: Snippet<[{
|
|
23
|
+
close: () => void;
|
|
24
|
+
}]>;
|
|
25
|
+
/**
|
|
26
|
+
* Search field. `auto` shows it from seven rows, the point at which the
|
|
27
|
+
* eye stops finding a name faster than the fingers can type it.
|
|
28
|
+
*/
|
|
29
|
+
searchable?: boolean | "auto";
|
|
30
|
+
searchPlaceholder?: string;
|
|
31
|
+
emptyLabel?: string;
|
|
32
|
+
open?: boolean;
|
|
33
|
+
align?: "start" | "center" | "end";
|
|
34
|
+
/** `sm` fits a word, `default` a name, `lg` a name and a date. */
|
|
35
|
+
width?: "sm" | "default" | "lg";
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
};
|
|
38
|
+
exports: {};
|
|
39
|
+
bindings: "open";
|
|
40
|
+
slots: {};
|
|
41
|
+
events: {};
|
|
42
|
+
};
|
|
43
|
+
declare class __sveltets_Render<V extends string> {
|
|
44
|
+
props(): ReturnType<typeof $$render<V>>['props'];
|
|
45
|
+
events(): ReturnType<typeof $$render<V>>['events'];
|
|
46
|
+
slots(): ReturnType<typeof $$render<V>>['slots'];
|
|
47
|
+
bindings(): "open";
|
|
48
|
+
exports(): {};
|
|
49
|
+
}
|
|
50
|
+
interface $$IsomorphicComponent {
|
|
51
|
+
new <V extends string>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<V>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<V>['props']>, ReturnType<__sveltets_Render<V>['events']>, ReturnType<__sveltets_Render<V>['slots']>> & {
|
|
52
|
+
$$bindings?: ReturnType<__sveltets_Render<V>['bindings']>;
|
|
53
|
+
} & ReturnType<__sveltets_Render<V>['exports']>;
|
|
54
|
+
<V extends string>(internal: unknown, props: ReturnType<__sveltets_Render<V>['props']> & {}): ReturnType<__sveltets_Render<V>['exports']>;
|
|
55
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
56
|
+
}
|
|
57
|
+
declare const $$Component: $$IsomorphicComponent;
|
|
58
|
+
type $$Component<V extends string> = InstanceType<typeof $$Component<V>>;
|
|
59
|
+
export default $$Component;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { createRawSnippet, flushSync, mount, tick, unmount } from "svelte";
|
|
2
|
+
import { describe, expect, it, vi } from "vite-plus/test";
|
|
3
|
+
import Picker from "./picker.svelte";
|
|
4
|
+
|
|
5
|
+
const trigger = createRawSnippet(() => ({ render: () => `<span>Priority</span>` }));
|
|
6
|
+
const options = ["Urgent", "High", "Medium", "Low"].map((label) => ({
|
|
7
|
+
value: label.toLowerCase(),
|
|
8
|
+
label,
|
|
9
|
+
}));
|
|
10
|
+
|
|
11
|
+
async function render() {
|
|
12
|
+
const onSelect = vi.fn();
|
|
13
|
+
const target = document.createElement("div");
|
|
14
|
+
document.body.appendChild(target);
|
|
15
|
+
const app = mount(Picker<string>, {
|
|
16
|
+
target,
|
|
17
|
+
props: { options, value: null, onSelect, trigger, triggerLabel: "Priority" },
|
|
18
|
+
});
|
|
19
|
+
flushSync();
|
|
20
|
+
target.querySelector("button")?.click();
|
|
21
|
+
await settle();
|
|
22
|
+
const press = async (key: string) => {
|
|
23
|
+
document.activeElement?.dispatchEvent(new KeyboardEvent("keydown", { key, bubbles: true }));
|
|
24
|
+
await settle();
|
|
25
|
+
};
|
|
26
|
+
const highlighted = () =>
|
|
27
|
+
document.querySelector('[data-slot="command-item"][aria-selected="true"]')?.textContent?.trim();
|
|
28
|
+
return {
|
|
29
|
+
onSelect,
|
|
30
|
+
press,
|
|
31
|
+
highlighted,
|
|
32
|
+
done: () => {
|
|
33
|
+
void unmount(app);
|
|
34
|
+
target.remove();
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
async function settle() {
|
|
40
|
+
for (let i = 0; i < 4; i++) await tick();
|
|
41
|
+
await new Promise((resolve) => setTimeout(resolve, 0));
|
|
42
|
+
flushSync();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// 10 Nov 2026: under seven rows there's no search field, and focus sat outside the Command root.
|
|
46
|
+
describe("Picker keyboard without a search field", () => {
|
|
47
|
+
it("takes focus into the list so arrows, Home, End and Enter work", async () => {
|
|
48
|
+
const { onSelect, press, highlighted, done } = await render();
|
|
49
|
+
expect(document.activeElement?.getAttribute("data-slot")).toBe("command");
|
|
50
|
+
expect(highlighted()).toBe("Urgent");
|
|
51
|
+
await press("ArrowDown");
|
|
52
|
+
expect(highlighted()).toBe("High");
|
|
53
|
+
await press("End");
|
|
54
|
+
expect(highlighted()).toBe("Low");
|
|
55
|
+
await press("Home");
|
|
56
|
+
expect(highlighted()).toBe("Urgent");
|
|
57
|
+
await press("ArrowDown");
|
|
58
|
+
await press("Enter");
|
|
59
|
+
expect(onSelect).toHaveBeenCalledWith("high");
|
|
60
|
+
done();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("jumps to the next row starting with a typed letter", async () => {
|
|
64
|
+
const { press, highlighted, done } = await render();
|
|
65
|
+
await press("l");
|
|
66
|
+
expect(highlighted()).toBe("Low");
|
|
67
|
+
await press("m");
|
|
68
|
+
expect(highlighted()).toBe("Medium");
|
|
69
|
+
done();
|
|
70
|
+
});
|
|
71
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
/** Controls at the far end of the header. */
|
|
5
|
+
actions?: Snippet;
|
|
6
|
+
/** No padding in the body, so a table runs edge to edge under the header. */
|
|
7
|
+
flush?: boolean;
|
|
8
|
+
class?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
12
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
13
|
+
export default $$Component;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
/** How many things the section holds. Drawn as a chip next to the title. */
|
|
5
|
+
count?: number;
|
|
6
|
+
/** What the count counts, for a screen reader: "lines". */
|
|
7
|
+
countLabel?: string;
|
|
8
|
+
/** One line under the title. */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** A control at the far end of the row. */
|
|
11
|
+
actions?: Snippet;
|
|
12
|
+
/** The heading level. Sections under a page title are 2. */
|
|
13
|
+
level?: 2 | 3;
|
|
14
|
+
}
|
|
15
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
16
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
17
|
+
export default $$Component;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { PhosphorIcon } from "../../lib/icon-types.js";
|
|
3
|
+
interface Props {
|
|
4
|
+
icon?: PhosphorIcon;
|
|
5
|
+
children: Snippet;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
10
|
+
export default $$Component;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { SegmentContent } from "./segment.svelte";
|
|
2
|
+
/** One tab. See `SegmentContent` for everything a segment can say. */
|
|
3
|
+
export type TabDef<T extends string = string> = SegmentContent & {
|
|
4
|
+
value: T;
|
|
5
|
+
/**
|
|
6
|
+
* The tab's group. A divider marks each change of group, and a group's `label` opens it as a
|
|
7
|
+
* quiet heading.
|
|
8
|
+
*/
|
|
9
|
+
group?: TabGroup;
|
|
10
|
+
};
|
|
11
|
+
/** `id` is what makes two tabs one group. `label` is optional text for a heading before the group. */
|
|
12
|
+
export type TabGroup = {
|
|
13
|
+
id: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Where the tab row sits, the only thing that legitimately differs between
|
|
18
|
+
* two tab sets. A closed union and not a class string: 23 files each decided
|
|
19
|
+
* their own.
|
|
20
|
+
*/
|
|
21
|
+
export type TabsPlacement = "toolbar" | "section" | "inline";
|
|
22
|
+
import { Tabs as TabsPrimitive } from "bits-ui";
|
|
23
|
+
import { type SegmentedVariant } from "./segmented.js";
|
|
24
|
+
declare function $$render<T extends string>(): {
|
|
25
|
+
props: Omit<TabsPrimitive.RootProps, "value" | "onValueChange"> & {
|
|
26
|
+
tabs: readonly TabDef<T>[];
|
|
27
|
+
value?: T;
|
|
28
|
+
onValueChange?: (value: T) => void;
|
|
29
|
+
placement?: TabsPlacement;
|
|
30
|
+
block?: boolean;
|
|
31
|
+
variant?: SegmentedVariant;
|
|
32
|
+
ariaLabel?: string;
|
|
33
|
+
toolbar?: import("svelte").Snippet;
|
|
34
|
+
lead?: import("svelte").Snippet;
|
|
35
|
+
listWrapperClass?: string;
|
|
36
|
+
hideSingle?: boolean;
|
|
37
|
+
max?: number;
|
|
38
|
+
moreLabel?: string;
|
|
39
|
+
};
|
|
40
|
+
exports: {};
|
|
41
|
+
bindings: "value" | "ref";
|
|
42
|
+
slots: {};
|
|
43
|
+
events: {};
|
|
44
|
+
};
|
|
45
|
+
declare class __sveltets_Render<T extends string> {
|
|
46
|
+
props(): ReturnType<typeof $$render<T>>['props'];
|
|
47
|
+
events(): ReturnType<typeof $$render<T>>['events'];
|
|
48
|
+
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
49
|
+
bindings(): "value" | "ref";
|
|
50
|
+
exports(): {};
|
|
51
|
+
}
|
|
52
|
+
interface $$IsomorphicComponent {
|
|
53
|
+
new <T extends string>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
54
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
55
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
56
|
+
<T extends string>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
57
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
58
|
+
}
|
|
59
|
+
declare const $$Component: $$IsomorphicComponent;
|
|
60
|
+
type $$Component<T extends string> = InstanceType<typeof $$Component<T>>;
|
|
61
|
+
export default $$Component;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SegmentedNavItem } from "./segmented-nav.svelte";
|
|
2
|
+
/** One bordered track on the section row. A run with a `label` is a reference
|
|
3
|
+
* set, not a step, so `SectionRuns` titles it and sends it right. */
|
|
4
|
+
export interface SectionRun {
|
|
5
|
+
label?: string;
|
|
6
|
+
items: readonly SegmentedNavItem[];
|
|
7
|
+
/** Overrides the strip's `current` for this run, so two nested runs each light one tab. */
|
|
8
|
+
current?: string;
|
|
9
|
+
}
|
|
10
|
+
/** What an app shell publishes so a page's toolbar can draw the section strip. */
|
|
11
|
+
export interface SectionStrip {
|
|
12
|
+
runs: readonly SectionRun[];
|
|
13
|
+
current: string;
|
|
14
|
+
ariaLabel: string;
|
|
15
|
+
}
|
|
16
|
+
interface Props {
|
|
17
|
+
strip: SectionStrip;
|
|
18
|
+
/** The host row's own constraints: order, width, container queries. */
|
|
19
|
+
class?: string;
|
|
20
|
+
}
|
|
21
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
22
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
23
|
+
export default $$Component;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PhosphorIcon } from "../../lib/icon-types.js";
|
|
2
|
+
/** Everything a segment may say, for every strip drawn from this folder. */
|
|
3
|
+
export type SegmentContent = {
|
|
4
|
+
label: string;
|
|
5
|
+
/** A number after the label. `0` still renders; omit for "no number". */
|
|
6
|
+
count?: number;
|
|
7
|
+
icon?: PhosphorIcon;
|
|
8
|
+
/** A square mark drawn in place of an icon, for a brand that has one. */
|
|
9
|
+
image?: string;
|
|
10
|
+
/**
|
|
11
|
+
* This segment's work is finished. Drawn as a dot after the label, and only
|
|
12
|
+
* where there is no count, because a count already says the same thing.
|
|
13
|
+
*/
|
|
14
|
+
done?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* A short note after the label, such as "Save 20%". Text where `count` is a
|
|
17
|
+
* number, in the accent colour. Drawn before a count or a done dot.
|
|
18
|
+
*/
|
|
19
|
+
badge?: string;
|
|
20
|
+
};
|
|
21
|
+
interface Props extends SegmentContent {
|
|
22
|
+
/**
|
|
23
|
+
* `true`/`false` when the caller owns the state. `"auto"` when bits-ui owns it
|
|
24
|
+
* in a `data-state` on the trigger, and the stylesheet answers.
|
|
25
|
+
*/
|
|
26
|
+
active?: boolean | "auto";
|
|
27
|
+
}
|
|
28
|
+
declare const $$Component: import("svelte").Component<Props, {}, "">;
|
|
29
|
+
type $$Component = ReturnType<typeof $$Component>;
|
|
30
|
+
export default $$Component;
|
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
max?: number | "none";
|
|
48
48
|
/** What the menu segment says. Translate at the call site. */
|
|
49
49
|
moreLabel?: string;
|
|
50
|
-
/** An option with an `image` or `icon` draws the mark alone
|
|
51
|
-
*
|
|
52
|
-
* for words, where every mark is a brand people know. */
|
|
50
|
+
/** An option with an `image` or `icon` draws the mark alone; its label moves to
|
|
51
|
+
* `aria-label` and the title. For a cramped toolbar of well-known brand marks. */
|
|
53
52
|
iconOnly?: boolean;
|
|
54
53
|
class?: string;
|
|
55
54
|
}
|
|
@@ -127,6 +126,7 @@
|
|
|
127
126
|
{#snippet trigger()}
|
|
128
127
|
<Segment label={current.label} count={current.count} icon={current.icon} active />
|
|
129
128
|
<CaretDown
|
|
129
|
+
aria-hidden="true"
|
|
130
130
|
class="size-3 shrink-0 opacity-60 transition-transform duration-150 group-data-[state=open]/segment:rotate-180"
|
|
131
131
|
/>
|
|
132
132
|
{/snippet}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
)}
|
|
162
162
|
/>
|
|
163
163
|
{:else if markOnly && option.icon}
|
|
164
|
-
<option.icon size={16} class="shrink-0" />
|
|
164
|
+
<option.icon aria-hidden="true" size={16} class="shrink-0" />
|
|
165
165
|
{:else}
|
|
166
166
|
<Segment
|
|
167
167
|
label={option.label}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { TabDef } from "./animated-tabs.svelte";
|
|
2
|
+
declare function $$render<T extends string>(): {
|
|
3
|
+
props: {
|
|
4
|
+
options: readonly TabDef<T>[];
|
|
5
|
+
value: T;
|
|
6
|
+
onValueChange?: (value: T) => void;
|
|
7
|
+
counts?: Partial<Record<T, number>>;
|
|
8
|
+
ariaLabel: string;
|
|
9
|
+
/** Fill the row rather than sit at its natural width. On for the list-page
|
|
10
|
+
* filter strip, off for a segment sitting in a toolbar beside others. */
|
|
11
|
+
block?: boolean;
|
|
12
|
+
/** Objects the row may draw before its tail becomes a menu. See `collapse.ts`.
|
|
13
|
+
* `"none"` never folds. */
|
|
14
|
+
max?: number | "none";
|
|
15
|
+
/** What the menu segment says. Translate at the call site. */
|
|
16
|
+
moreLabel?: string;
|
|
17
|
+
/** An option with an `image` or `icon` draws the mark alone; its label moves to
|
|
18
|
+
* `aria-label` and the title. For a cramped toolbar of well-known brand marks. */
|
|
19
|
+
iconOnly?: boolean;
|
|
20
|
+
class?: string;
|
|
21
|
+
};
|
|
22
|
+
exports: {};
|
|
23
|
+
bindings: "value";
|
|
24
|
+
slots: {};
|
|
25
|
+
events: {};
|
|
26
|
+
};
|
|
27
|
+
declare class __sveltets_Render<T extends string> {
|
|
28
|
+
props(): ReturnType<typeof $$render<T>>['props'];
|
|
29
|
+
events(): ReturnType<typeof $$render<T>>['events'];
|
|
30
|
+
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
31
|
+
bindings(): "value";
|
|
32
|
+
exports(): {};
|
|
33
|
+
}
|
|
34
|
+
interface $$IsomorphicComponent {
|
|
35
|
+
new <T extends string>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
36
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
37
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
38
|
+
<T extends string>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
39
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
40
|
+
}
|
|
41
|
+
declare const $$Component: $$IsomorphicComponent;
|
|
42
|
+
type $$Component<T extends string> = InstanceType<typeof $$Component<T>>;
|
|
43
|
+
export default $$Component;
|