@brett_lamy/ui 2.0.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/README.md +12 -5
- package/dist/components/adaptive-pane.d.ts.map +1 -1
- package/dist/components/adaptive-pane.js +30 -0
- package/dist/components/animated-height.d.ts.map +1 -1
- package/dist/components/animated-height.js +82 -0
- package/dist/{templates → components}/artifact-chat-container.d.ts +12 -5
- package/dist/components/artifact-chat-container.d.ts.map +1 -0
- package/dist/components/artifact-chat-container.js +200 -0
- package/dist/components/avatar.js +26 -0
- package/dist/components/badge.js +24 -0
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +46 -0
- package/dist/components/card.js +56 -0
- package/dist/components/celebrate.d.ts.map +1 -1
- package/dist/components/celebrate.js +142 -0
- package/dist/components/chat-column.d.ts.map +1 -0
- package/dist/components/chat-column.js +26 -0
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +55 -0
- package/dist/components/combobox.d.ts +1 -1
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/combobox.js +65 -0
- package/dist/components/command-menu.d.ts.map +1 -1
- package/dist/components/command-menu.js +906 -0
- package/dist/components/composer/annotator.d.ts.map +1 -0
- package/dist/components/composer/annotator.js +17 -0
- package/dist/components/composer/composer-files.d.ts.map +1 -0
- package/dist/components/composer/composer-files.js +91 -0
- package/dist/components/{workbench/wb-popover.d.ts → composer/composer-popover.d.ts} +1 -1
- package/dist/components/composer/composer-popover.d.ts.map +1 -0
- package/dist/components/composer/composer-popover.js +29 -0
- package/dist/components/{workbench → composer}/composer.d.ts +3 -3
- package/dist/components/composer/composer.d.ts.map +1 -0
- package/dist/components/composer/composer.js +1633 -0
- package/dist/components/{workbench/chat.d.ts → conversation.d.ts} +2 -2
- package/dist/components/conversation.d.ts.map +1 -0
- package/dist/components/conversation.js +357 -0
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/credenza.js +294 -0
- package/dist/components/dialog.d.ts +2 -2
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +125 -0
- package/dist/components/disclosure.d.ts.map +1 -1
- package/dist/components/disclosure.js +59 -0
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +114 -0
- package/dist/components/edge-drawer.js +73 -0
- package/dist/components/edit-bar.d.ts.map +1 -1
- package/dist/components/edit-bar.js +33 -0
- package/dist/components/{chat/floating-chat.d.ts → floating-chat.d.ts} +8 -4
- package/dist/components/floating-chat.d.ts.map +1 -0
- package/dist/components/floating-chat.js +288 -0
- package/dist/components/{chat/floating-sheet.d.ts → floating-sheet.d.ts} +5 -5
- package/dist/components/floating-sheet.d.ts.map +1 -0
- package/dist/components/floating-sheet.js +252 -0
- package/dist/components/form.d.ts.map +1 -1
- package/dist/components/form.js +32 -0
- package/dist/{lib/workbench/icons.d.ts → components/icon-button.d.ts} +5 -5
- package/dist/components/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button.js +31 -0
- package/dist/components/icon-swap.d.ts.map +1 -1
- package/dist/components/icon-swap.js +80 -0
- package/dist/components/index-bar.d.ts +14 -1
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/index-bar.js +249 -0
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +30 -0
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +21 -0
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +22 -0
- package/dist/components/list-box.d.ts +1 -3
- package/dist/components/list-box.d.ts.map +1 -1
- package/dist/components/list-box.js +104 -0
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +491 -0
- package/dist/components/markdown-editor.d.ts.map +1 -1
- package/dist/components/markdown-editor.js +322 -0
- package/dist/components/{workbench/markdown.d.ts → markdown-view.d.ts} +1 -1
- package/dist/components/markdown-view.d.ts.map +1 -0
- package/dist/components/markdown-view.js +129 -0
- package/dist/components/measure-h.d.ts.map +1 -1
- package/dist/components/measure-h.js +20 -0
- package/dist/components/message-scroller.d.ts.map +1 -0
- package/dist/components/message-scroller.js +247 -0
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/morph.js +89 -0
- package/dist/components/navigation-stack.d.ts +14 -0
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/navigation-stack.js +506 -0
- package/dist/components/now-playing-bars.js +38 -0
- package/dist/components/number-morph.d.ts.map +1 -1
- package/dist/components/number-morph.js +123 -0
- package/dist/components/pencilkit/constants.d.ts.map +1 -0
- package/dist/components/pencilkit/constants.js +63 -0
- package/dist/components/pencilkit/pencil-canvas.d.ts +1 -1
- package/dist/components/pencilkit/pencil-canvas.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.js +105 -0
- package/dist/components/pencilkit/pencil-toolbar.d.ts +2 -2
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.js +186 -0
- package/dist/components/pencilkit/pencilkit-annotator.d.ts +1 -1
- package/dist/components/pencilkit/pencilkit-annotator.d.ts.map +1 -1
- package/dist/components/pencilkit/pencilkit-annotator.js +44 -0
- package/dist/components/pencilkit/stroke-path.d.ts +1 -1
- package/dist/components/pencilkit/stroke-path.d.ts.map +1 -1
- package/dist/components/pencilkit/stroke-path.js +44 -0
- package/dist/components/pencilkit/use-pencil-history.d.ts +2 -2
- package/dist/components/pencilkit/use-pencil-history.d.ts.map +1 -1
- package/dist/components/pencilkit/use-pencil-history.js +25 -0
- package/dist/components/plain-button.d.ts +10 -0
- package/dist/components/plain-button.d.ts.map +1 -0
- package/dist/components/plain-button.js +23 -0
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +36 -0
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/progress-ring.js +195 -0
- package/dist/components/progress-stepper.d.ts.map +1 -0
- package/dist/components/progress-stepper.js +62 -0
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +54 -0
- package/dist/components/qr-svg.d.ts.map +1 -1
- package/dist/components/qr-svg.js +74 -0
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +41 -0
- package/dist/components/replay-preview.d.ts +4 -0
- package/dist/components/replay-preview.d.ts.map +1 -0
- package/dist/components/replay-preview.js +3 -0
- package/dist/components/scroll-area.js +23 -0
- package/dist/components/search-field.d.ts.map +1 -1
- package/dist/components/search-field.js +44 -0
- package/dist/components/segmented.d.ts +1 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/segmented.js +32 -0
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +93 -0
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +40 -0
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +55 -0
- package/dist/components/side-drawer.d.ts +10 -1
- package/dist/components/side-drawer.d.ts.map +1 -1
- package/dist/components/side-drawer.js +247 -0
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +282 -0
- package/dist/components/skeleton.js +48 -0
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +98 -0
- package/dist/components/snap-sheet.d.ts.map +1 -0
- package/dist/components/snap-sheet.js +100 -0
- package/dist/components/spinner.js +35 -0
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.js +1060 -0
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +27 -0
- package/dist/components/syntax-highlighting.d.ts.map +1 -1
- package/dist/components/syntax-highlighting.js +293 -0
- package/dist/components/tab-bar.js +28 -0
- package/dist/components/tab-view.d.ts +1 -1
- package/dist/components/tab-view.d.ts.map +1 -1
- package/dist/components/tab-view.js +307 -0
- package/dist/components/tabs.d.ts +1 -1
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +86 -0
- package/dist/components/text-field.d.ts.map +1 -1
- package/dist/components/text-field.js +29 -0
- package/dist/components/text-morph.d.ts.map +1 -1
- package/dist/components/text-morph.js +131 -0
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +30 -0
- package/dist/components/toast.d.ts +0 -2
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/toast.js +302 -0
- package/dist/components/toggle-group.d.ts +1 -1
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +48 -0
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +42 -0
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +42 -0
- package/dist/{lib/workbench/theme.d.ts → components/workbench-theme.d.ts} +2 -2
- package/dist/components/workbench-theme.d.ts.map +1 -0
- package/dist/components/workbench-theme.js +34 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +29 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +94 -20350
- package/dist/lib/append-stream.d.ts +43 -0
- package/dist/lib/append-stream.d.ts.map +1 -0
- package/dist/lib/append-stream.js +128 -0
- package/dist/lib/container.d.ts.map +1 -1
- package/dist/lib/container.js +49 -0
- package/dist/lib/durable-streams.d.ts +102 -0
- package/dist/lib/durable-streams.d.ts.map +1 -0
- package/dist/lib/durable-streams.js +280 -0
- package/dist/lib/icon-shapes/chat.js +13 -0
- package/dist/lib/icon-shapes/pencilkit.js +20 -0
- package/dist/lib/icon-shapes/workbench.js +47 -0
- package/dist/lib/icon.d.ts +1 -1
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.js +1774 -0
- package/dist/lib/motion.d.ts +16 -0
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/motion.js +104 -0
- package/dist/lib/{chat/persistent-host.d.ts → persistent-host.d.ts} +1 -1
- package/dist/lib/persistent-host.d.ts.map +1 -0
- package/dist/lib/persistent-host.js +41 -0
- package/dist/lib/primitives.js +8 -0
- package/dist/lib/qr.js +552 -0
- package/dist/lib/row-label.d.ts.map +1 -1
- package/dist/lib/row-label.js +10 -0
- package/dist/lib/session-recorder.d.ts +87 -0
- package/dist/lib/session-recorder.d.ts.map +1 -0
- package/dist/lib/session-recorder.js +257 -0
- package/dist/lib/sheet-drag.d.ts +1 -1
- package/dist/lib/sheet-drag.d.ts.map +1 -1
- package/dist/lib/sheet-drag.js +128 -0
- package/dist/lib/syntax.js +204 -0
- package/dist/lib/theme.d.ts +33 -8
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +138 -0
- package/dist/lib/tokens.generated.d.ts +16 -0
- package/dist/lib/tokens.generated.d.ts.map +1 -0
- package/dist/lib/tokens.generated.js +22 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +18 -0
- package/dist/theme.css +0 -60
- package/package.json +5 -7
- package/dist/components/adaptive-pane.stories.d.ts +0 -7
- package/dist/components/adaptive-pane.stories.d.ts.map +0 -1
- package/dist/components/avatar.stories.d.ts +0 -9
- package/dist/components/avatar.stories.d.ts.map +0 -1
- package/dist/components/badge.stories.d.ts +0 -9
- package/dist/components/badge.stories.d.ts.map +0 -1
- package/dist/components/button.stories.d.ts +0 -11
- package/dist/components/button.stories.d.ts.map +0 -1
- package/dist/components/card.stories.d.ts +0 -9
- package/dist/components/card.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-column.d.ts.map +0 -1
- package/dist/components/chat/chat-column.stories.d.ts +0 -9
- package/dist/components/chat/chat-column.stories.d.ts.map +0 -1
- package/dist/components/chat/floating-chat.d.ts.map +0 -1
- package/dist/components/chat/floating-chat.stories.d.ts +0 -17
- package/dist/components/chat/floating-chat.stories.d.ts.map +0 -1
- package/dist/components/chat/floating-sheet.d.ts.map +0 -1
- package/dist/components/chat/floating-sheet.stories.d.ts +0 -22
- package/dist/components/chat/floating-sheet.stories.d.ts.map +0 -1
- package/dist/components/chat/progress-stepper.d.ts.map +0 -1
- package/dist/components/checkbox.stories.d.ts +0 -11
- package/dist/components/checkbox.stories.d.ts.map +0 -1
- package/dist/components/combobox.stories.d.ts +0 -10
- package/dist/components/combobox.stories.d.ts.map +0 -1
- package/dist/components/command-menu.stories.d.ts +0 -17
- package/dist/components/command-menu.stories.d.ts.map +0 -1
- package/dist/components/credenza.stories.d.ts +0 -8
- package/dist/components/credenza.stories.d.ts.map +0 -1
- package/dist/components/dialog.stories.d.ts +0 -12
- package/dist/components/dialog.stories.d.ts.map +0 -1
- package/dist/components/disclosure.stories.d.ts +0 -10
- package/dist/components/disclosure.stories.d.ts.map +0 -1
- package/dist/components/dropdown-menu.stories.d.ts +0 -11
- package/dist/components/dropdown-menu.stories.d.ts.map +0 -1
- package/dist/components/edge-drawer.stories.d.ts +0 -8
- package/dist/components/edge-drawer.stories.d.ts.map +0 -1
- package/dist/components/edit-bar.stories.d.ts +0 -10
- package/dist/components/edit-bar.stories.d.ts.map +0 -1
- package/dist/components/form.stories.d.ts +0 -9
- package/dist/components/form.stories.d.ts.map +0 -1
- package/dist/components/haptic-indicator.d.ts +0 -11
- package/dist/components/haptic-indicator.d.ts.map +0 -1
- package/dist/components/haptic-indicator.stories.d.ts +0 -8
- package/dist/components/haptic-indicator.stories.d.ts.map +0 -1
- package/dist/components/index-bar.stories.d.ts +0 -12
- package/dist/components/index-bar.stories.d.ts.map +0 -1
- package/dist/components/input.stories.d.ts +0 -10
- package/dist/components/input.stories.d.ts.map +0 -1
- package/dist/components/kbd.stories.d.ts +0 -9
- package/dist/components/kbd.stories.d.ts.map +0 -1
- package/dist/components/label.stories.d.ts +0 -8
- package/dist/components/label.stories.d.ts.map +0 -1
- package/dist/components/list-box.stories.d.ts +0 -9
- package/dist/components/list-box.stories.d.ts.map +0 -1
- package/dist/components/list-row.stories.d.ts +0 -24
- package/dist/components/list-row.stories.d.ts.map +0 -1
- package/dist/components/list.stories.d.ts +0 -27
- package/dist/components/list.stories.d.ts.map +0 -1
- package/dist/components/markdown-editor.stories.d.ts +0 -17
- package/dist/components/markdown-editor.stories.d.ts.map +0 -1
- package/dist/components/morph.stories.d.ts +0 -14
- package/dist/components/morph.stories.d.ts.map +0 -1
- package/dist/components/motion.stories.d.ts +0 -15
- package/dist/components/motion.stories.d.ts.map +0 -1
- package/dist/components/navigation-stack.stories.d.ts +0 -31
- package/dist/components/navigation-stack.stories.d.ts.map +0 -1
- package/dist/components/now-playing-bars.stories.d.ts +0 -12
- package/dist/components/now-playing-bars.stories.d.ts.map +0 -1
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts +0 -18
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +0 -1
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts +0 -10
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +0 -1
- package/dist/components/popover.stories.d.ts +0 -9
- package/dist/components/popover.stories.d.ts.map +0 -1
- package/dist/components/progress-ring.stories.d.ts +0 -15
- package/dist/components/progress-ring.stories.d.ts.map +0 -1
- package/dist/components/progress.stories.d.ts +0 -10
- package/dist/components/progress.stories.d.ts.map +0 -1
- package/dist/components/qr-svg.stories.d.ts +0 -16
- package/dist/components/qr-svg.stories.d.ts.map +0 -1
- package/dist/components/radio-group.stories.d.ts +0 -10
- package/dist/components/radio-group.stories.d.ts.map +0 -1
- package/dist/components/scroll-area.stories.d.ts +0 -8
- package/dist/components/scroll-area.stories.d.ts.map +0 -1
- package/dist/components/search-field.stories.d.ts +0 -10
- package/dist/components/search-field.stories.d.ts.map +0 -1
- package/dist/components/segmented.stories.d.ts +0 -8
- package/dist/components/segmented.stories.d.ts.map +0 -1
- package/dist/components/select.stories.d.ts +0 -12
- package/dist/components/select.stories.d.ts.map +0 -1
- package/dist/components/separator.stories.d.ts +0 -9
- package/dist/components/separator.stories.d.ts.map +0 -1
- package/dist/components/sheet.stories.d.ts +0 -12
- package/dist/components/sheet.stories.d.ts.map +0 -1
- package/dist/components/side-drawer.stories.d.ts +0 -8
- package/dist/components/side-drawer.stories.d.ts.map +0 -1
- package/dist/components/sidebar.stories.d.ts +0 -10
- package/dist/components/sidebar.stories.d.ts.map +0 -1
- package/dist/components/skeleton.stories.d.ts +0 -11
- package/dist/components/skeleton.stories.d.ts.map +0 -1
- package/dist/components/slider.stories.d.ts +0 -12
- package/dist/components/slider.stories.d.ts.map +0 -1
- package/dist/components/spinner.stories.d.ts +0 -9
- package/dist/components/spinner.stories.d.ts.map +0 -1
- package/dist/components/split-view.stories.d.ts +0 -58
- package/dist/components/split-view.stories.d.ts.map +0 -1
- package/dist/components/switch.stories.d.ts +0 -9
- package/dist/components/switch.stories.d.ts.map +0 -1
- package/dist/components/syntax-highlighting.stories.d.ts +0 -18
- package/dist/components/syntax-highlighting.stories.d.ts.map +0 -1
- package/dist/components/tab-bar.stories.d.ts +0 -8
- package/dist/components/tab-bar.stories.d.ts.map +0 -1
- package/dist/components/tab-view.stories.d.ts +0 -37
- package/dist/components/tab-view.stories.d.ts.map +0 -1
- package/dist/components/tabs.stories.d.ts +0 -9
- package/dist/components/tabs.stories.d.ts.map +0 -1
- package/dist/components/text-field.stories.d.ts +0 -9
- package/dist/components/text-field.stories.d.ts.map +0 -1
- package/dist/components/toast.stories.d.ts +0 -13
- package/dist/components/toast.stories.d.ts.map +0 -1
- package/dist/components/toggle-group.stories.d.ts +0 -10
- package/dist/components/toggle-group.stories.d.ts.map +0 -1
- package/dist/components/toggle.stories.d.ts +0 -9
- package/dist/components/toggle.stories.d.ts.map +0 -1
- package/dist/components/tooltip.stories.d.ts +0 -11
- package/dist/components/tooltip.stories.d.ts.map +0 -1
- package/dist/components/workbench/annotator.d.ts.map +0 -1
- package/dist/components/workbench/chat.d.ts.map +0 -1
- package/dist/components/workbench/chat.stories.d.ts +0 -13
- package/dist/components/workbench/chat.stories.d.ts.map +0 -1
- package/dist/components/workbench/composer-files.d.ts.map +0 -1
- package/dist/components/workbench/composer.d.ts.map +0 -1
- package/dist/components/workbench/composer.stories.d.ts +0 -35
- package/dist/components/workbench/composer.stories.d.ts.map +0 -1
- package/dist/components/workbench/fixtures.d.ts +0 -38
- package/dist/components/workbench/fixtures.d.ts.map +0 -1
- package/dist/components/workbench/markdown.d.ts.map +0 -1
- package/dist/components/workbench/message-scroller.d.ts.map +0 -1
- package/dist/components/workbench/message-scroller.stories.d.ts +0 -9
- package/dist/components/workbench/message-scroller.stories.d.ts.map +0 -1
- package/dist/components/workbench/model-picker.d.ts +0 -29
- package/dist/components/workbench/model-picker.d.ts.map +0 -1
- package/dist/components/workbench/models.d.ts +0 -32
- package/dist/components/workbench/models.d.ts.map +0 -1
- package/dist/components/workbench/snap-sheet.d.ts.map +0 -1
- package/dist/components/workbench/snap-sheet.stories.d.ts +0 -8
- package/dist/components/workbench/snap-sheet.stories.d.ts.map +0 -1
- package/dist/components/workbench/surfaces.d.ts +0 -67
- package/dist/components/workbench/surfaces.d.ts.map +0 -1
- package/dist/components/workbench/surfaces.stories.d.ts +0 -15
- package/dist/components/workbench/surfaces.stories.d.ts.map +0 -1
- package/dist/components/workbench/terminal.d.ts +0 -51
- package/dist/components/workbench/terminal.d.ts.map +0 -1
- package/dist/components/workbench/terminal.stories.d.ts +0 -8
- package/dist/components/workbench/terminal.stories.d.ts.map +0 -1
- package/dist/components/workbench/wb-popover.d.ts.map +0 -1
- package/dist/components/workbench/workbench-composer.d.ts +0 -26
- package/dist/components/workbench/workbench-composer.d.ts.map +0 -1
- package/dist/demos/delivery/delivery-tracking-demo.d.ts +0 -41
- package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +0 -1
- package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts +0 -13
- package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts.map +0 -1
- package/dist/demos/haptics-playground.d.ts +0 -18
- package/dist/demos/haptics-playground.d.ts.map +0 -1
- package/dist/demos/haptics-playground.stories.d.ts +0 -8
- package/dist/demos/haptics-playground.stories.d.ts.map +0 -1
- package/dist/demos/map-chat/geo.d.ts +0 -46
- package/dist/demos/map-chat/geo.d.ts.map +0 -1
- package/dist/demos/map-chat/map-agent.d.ts +0 -48
- package/dist/demos/map-chat/map-agent.d.ts.map +0 -1
- package/dist/demos/map-chat/map-chat-demo.d.ts +0 -19
- package/dist/demos/map-chat/map-chat-demo.d.ts.map +0 -1
- package/dist/demos/map-chat/map-chat-demo.stories.d.ts +0 -16
- package/dist/demos/map-chat/map-chat-demo.stories.d.ts.map +0 -1
- package/dist/demos/map-chat/map-icons.d.ts +0 -44
- package/dist/demos/map-chat/map-icons.d.ts.map +0 -1
- package/dist/demos/map-chat/places.d.ts +0 -29
- package/dist/demos/map-chat/places.d.ts.map +0 -1
- package/dist/demos/map-chat/tile-map.d.ts +0 -108
- package/dist/demos/map-chat/tile-map.d.ts.map +0 -1
- package/dist/demos/pencilkit/demo-strokes.d.ts +0 -4
- package/dist/demos/pencilkit/demo-strokes.d.ts.map +0 -1
- package/dist/demos/pencilkit/pencilkit-demo.d.ts +0 -17
- package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +0 -1
- package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts +0 -11
- package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts.map +0 -1
- package/dist/demos/sidebar-demo.d.ts +0 -6
- package/dist/demos/sidebar-demo.d.ts.map +0 -1
- package/dist/demos/split-view-demos.d.ts +0 -50
- package/dist/demos/split-view-demos.d.ts.map +0 -1
- package/dist/lib/chat/chat-shell-context.d.ts +0 -20
- package/dist/lib/chat/chat-shell-context.d.ts.map +0 -1
- package/dist/lib/chat/persistent-host.d.ts.map +0 -1
- package/dist/lib/haptics.d.ts +0 -27
- package/dist/lib/haptics.d.ts.map +0 -1
- package/dist/lib/icon.stories.d.ts +0 -15
- package/dist/lib/icon.stories.d.ts.map +0 -1
- package/dist/lib/pencilkit/constants.d.ts.map +0 -1
- package/dist/lib/workbench/haptics.d.ts +0 -3
- package/dist/lib/workbench/haptics.d.ts.map +0 -1
- package/dist/lib/workbench/icons.d.ts.map +0 -1
- package/dist/lib/workbench/motion.d.ts +0 -19
- package/dist/lib/workbench/motion.d.ts.map +0 -1
- package/dist/lib/workbench/press.d.ts +0 -10
- package/dist/lib/workbench/press.d.ts.map +0 -1
- package/dist/lib/workbench/theme.d.ts.map +0 -1
- package/dist/lib/workbench/util.d.ts +0 -8
- package/dist/lib/workbench/util.d.ts.map +0 -1
- package/dist/stories/frame.d.ts +0 -16
- package/dist/stories/frame.d.ts.map +0 -1
- package/dist/stories/primitive-frame.d.ts +0 -20
- package/dist/stories/primitive-frame.d.ts.map +0 -1
- package/dist/templates/artifact-chat-container.d.ts.map +0 -1
- package/dist/templates/artifact-chat-container.stories.d.ts +0 -24
- package/dist/templates/artifact-chat-container.stories.d.ts.map +0 -1
- package/dist/templates/chat-shell.d.ts +0 -87
- package/dist/templates/chat-shell.d.ts.map +0 -1
- package/dist/templates/workbench-shell.d.ts +0 -177
- package/dist/templates/workbench-shell.d.ts.map +0 -1
- package/dist/templates/workbench-shell.stories.d.ts +0 -17
- package/dist/templates/workbench-shell.stories.d.ts.map +0 -1
- /package/dist/components/{chat/chat-column.d.ts → chat-column.d.ts} +0 -0
- /package/dist/components/{workbench → composer}/annotator.d.ts +0 -0
- /package/dist/components/{workbench → composer}/composer-files.d.ts +0 -0
- /package/dist/components/{workbench/message-scroller.d.ts → message-scroller.d.ts} +0 -0
- /package/dist/{lib → components}/pencilkit/constants.d.ts +0 -0
- /package/dist/components/{chat/progress-stepper.d.ts → progress-stepper.d.ts} +0 -0
- /package/dist/components/{workbench/snap-sheet.d.ts → snap-sheet.d.ts} +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { MapIconName } from './map-icons';
|
|
3
|
-
import { LatLng, MapTarget, MapView } from './geo';
|
|
4
|
-
export interface MapPin {
|
|
5
|
-
id: string;
|
|
6
|
-
position: LatLng;
|
|
7
|
-
label?: string;
|
|
8
|
-
/** Pin fill colour; defaults per kind. */
|
|
9
|
-
color?: string;
|
|
10
|
-
icon?: MapIconName;
|
|
11
|
-
/** Replaces the icon — used for numbered route stops. */
|
|
12
|
-
badge?: ReactNode;
|
|
13
|
-
/** Short bubble anchored above the marker, like an ETA. */
|
|
14
|
-
callout?: ReactNode;
|
|
15
|
-
kind?: 'place' | 'stop' | 'user';
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface MapRoute {
|
|
19
|
-
points: LatLng[];
|
|
20
|
-
color?: string;
|
|
21
|
-
}
|
|
22
|
-
export type TileUrlFn = (z: number, x: number, y: number) => string;
|
|
23
|
-
export interface TileMapProps {
|
|
24
|
-
/**
|
|
25
|
-
* Camera the map flies to whenever this object's identity changes. Pass a
|
|
26
|
-
* `{ center, zoom }` or `{ bounds, padding }`; user gestures move the camera
|
|
27
|
-
* without touching this prop.
|
|
28
|
-
*/
|
|
29
|
-
view: MapTarget;
|
|
30
|
-
onViewChange?: (view: MapView) => void;
|
|
31
|
-
pins?: MapPin[];
|
|
32
|
-
route?: MapRoute | null;
|
|
33
|
-
onPinClick?: (pin: MapPin) => void;
|
|
34
|
-
/** Fired on a tap that did not pan the map or hit a pin. */
|
|
35
|
-
onMapClick?: () => void;
|
|
36
|
-
tileUrl?: TileUrlFn;
|
|
37
|
-
attribution?: ReactNode;
|
|
38
|
-
/** Chrome colours for labels and controls; match it to the tile set. */
|
|
39
|
-
scheme?: 'dark' | 'light';
|
|
40
|
-
/** CSS filter applied to the tiles, e.g. to deepen a grey basemap for a dark UI. */
|
|
41
|
-
tileFilter?: string;
|
|
42
|
-
minZoom?: number;
|
|
43
|
-
maxZoom?: number;
|
|
44
|
-
/** Animate camera changes (`view` prop, zoom buttons, double-tap). */
|
|
45
|
-
animate?: boolean;
|
|
46
|
-
/** Enables drag, wheel, and pinch gestures. */
|
|
47
|
-
interactive?: boolean;
|
|
48
|
-
/** Renders the zoom stack (and a locate button when `onLocate` is set). */
|
|
49
|
-
controls?: boolean;
|
|
50
|
-
onLocate?: () => void;
|
|
51
|
-
children?: ReactNode;
|
|
52
|
-
className?: string;
|
|
53
|
-
style?: CSSProperties;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Esri's muted grey canvas basemaps. Served without a key up to zoom 16; attribute Esri.
|
|
57
|
-
* Pair `esriDarkGrayTiles` with a `tileFilter` to deepen it for dark UIs.
|
|
58
|
-
*/
|
|
59
|
-
export declare const esriDarkGrayTiles: TileUrlFn;
|
|
60
|
-
export declare const esriLightGrayTiles: TileUrlFn;
|
|
61
|
-
export declare const ESRI_ATTRIBUTION = "Tiles \u00A9 Esri, HERE, Garmin, \u00A9 OpenStreetMap contributors";
|
|
62
|
-
/** The standard OpenStreetMap style. Fine for light use; attribute OSM. */
|
|
63
|
-
export declare const osmTiles: TileUrlFn;
|
|
64
|
-
export declare const OSM_ATTRIBUTION = "\u00A9 OpenStreetMap contributors";
|
|
65
|
-
/** CARTO's raster basemaps. These now watermark tiles without an API key; kept for hosts that have one. */
|
|
66
|
-
export declare const cartoDarkTiles: TileUrlFn;
|
|
67
|
-
export declare const cartoVoyagerTiles: TileUrlFn;
|
|
68
|
-
export declare const CARTO_ATTRIBUTION = "\u00A9 OpenStreetMap contributors \u00A9 CARTO";
|
|
69
|
-
/** Host font, falling back to the system stack. */
|
|
70
|
-
export declare const MAP_FONT = "font-[family-name:var(--bl-font,-apple-system,BlinkMacSystemFont,'SF_Pro_Text',sans-serif)]";
|
|
71
|
-
/** The basemap's own colours per tile set (content, like the tiles): backdrop and ink, the label halo, the glass
|
|
72
|
-
controls that float on the map, and the route halo. Fed to the utilities below as --tile-map-* variables. */
|
|
73
|
-
export declare const TILE_MAP_COLORS: {
|
|
74
|
-
readonly dark: {
|
|
75
|
-
readonly backdrop: "#0d0f14";
|
|
76
|
-
readonly ink: "#f5f5f7";
|
|
77
|
-
readonly label: "#fff";
|
|
78
|
-
readonly labelHalo: "#000";
|
|
79
|
-
readonly labelHaloSoft: "rgba(0,0,0,.9)";
|
|
80
|
-
readonly glass: "rgba(24,24,30,.78)";
|
|
81
|
-
readonly glassBorder: "rgba(255,255,255,.12)";
|
|
82
|
-
readonly glassShadow: "rgba(0,0,0,.35)";
|
|
83
|
-
readonly glassHover: "rgba(48,48,58,.85)";
|
|
84
|
-
readonly divider: "rgba(255,255,255,.1)";
|
|
85
|
-
readonly attribution: "rgba(10,10,14,.55)";
|
|
86
|
-
readonly attributionInk: "rgba(255,255,255,.55)";
|
|
87
|
-
readonly routeHalo: "rgba(255,255,255,.85)";
|
|
88
|
-
};
|
|
89
|
-
readonly light: {
|
|
90
|
-
readonly backdrop: "#eef0f3";
|
|
91
|
-
readonly ink: "#1c1c1e";
|
|
92
|
-
readonly label: "#1c1c1e";
|
|
93
|
-
readonly labelHalo: "#fff";
|
|
94
|
-
readonly labelHaloSoft: "rgba(255,255,255,.9)";
|
|
95
|
-
readonly glass: "rgba(255,255,255,.86)";
|
|
96
|
-
readonly glassBorder: "rgba(0,0,0,.08)";
|
|
97
|
-
readonly glassShadow: "rgba(0,0,0,.14)";
|
|
98
|
-
readonly glassHover: "rgba(245,245,247,.95)";
|
|
99
|
-
readonly divider: "rgba(0,0,0,.08)";
|
|
100
|
-
readonly attribution: "rgba(255,255,255,.7)";
|
|
101
|
-
readonly attributionInk: "rgba(0,0,0,.55)";
|
|
102
|
-
readonly routeHalo: "rgba(255,255,255,.9)";
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
/** The user-location pin and the default pin colour (content: the map's own blue, not the theme accent). */
|
|
106
|
-
export declare const TILE_MAP_USER_BLUE = "#0a84ff";
|
|
107
|
-
export declare function TileMap({ view, onViewChange, pins, route, onPinClick, onMapClick, tileUrl, attribution, scheme, tileFilter, minZoom, maxZoom, animate, interactive, controls, onLocate, children, className, style, }: TileMapProps): import("react/jsx-runtime").JSX.Element;
|
|
108
|
-
//# sourceMappingURL=tile-map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tile-map.d.ts","sourceRoot":"","sources":["../../../src/demos/map-chat/tile-map.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EAGlB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAOL,KAAK,MAAM,EACX,KAAK,SAAS,EACd,KAAK,OAAO,EAEb,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,yDAAyD;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAEpE,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,Q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;;;;CA+BlB,CAAC;AAEX,4GAA4G;AAC5G,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAqD5C,wBAAgB,OAAO,CAAC,EACtB,IAAI,EACJ,YAAY,EACZ,IAAS,EACT,KAAK,EACL,UAAU,EACV,UAAU,EACV,OAA2B,EAC3B,WAA8B,EAC9B,MAAe,EACf,UAAU,EACV,OAAW,EACX,OAAY,EACZ,OAAc,EACd,WAAkB,EAClB,QAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,YAAY,2CA4Vd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demo-strokes.d.ts","sourceRoot":"","sources":["../../../src/demos/pencilkit/demo-strokes.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAoB7F,0EAA0E;AAC1E,wBAAgB,WAAW,IAAI,YAAY,EAAE,CAM5C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Appearance } from '../../lib/theme';
|
|
2
|
-
import { PencilStroke } from '../../lib/pencilkit/constants';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
/** Dotted paper: the theme's muted surface with a 22px grid of muted-foreground dots. */
|
|
5
|
-
export declare const pencilPaperClassName = "bg-muted bg-[length:22px_22px] bg-[radial-gradient(color-mix(in_srgb,var(--muted-foreground)_25%,transparent)_1px,transparent_1.2px)] dark:bg-[radial-gradient(color-mix(in_srgb,var(--muted-foreground)_21%,transparent)_1px,transparent_1.2px)]";
|
|
6
|
-
export interface PencilKitDemoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
-
/** Dark paper. Wins over `appearance`. */
|
|
8
|
-
dark?: boolean | 'true';
|
|
9
|
-
/** Light or dark paper. Defaults to the ambient `AppearanceProvider` value, else light. */
|
|
10
|
-
appearance?: Appearance;
|
|
11
|
-
tint?: string;
|
|
12
|
-
/** strokes to pre-seed the canvas with (e.g. the `demoStrokes()` fixture) */
|
|
13
|
-
defaultStrokes?: PencilStroke[];
|
|
14
|
-
}
|
|
15
|
-
/** The full PencilKit prototype demo: dotted paper, canvas, and the floating toolbar. */
|
|
16
|
-
export declare function PencilKitDemo({ dark: darkProp, appearance, tint, defaultStrokes, className, style, ...rest }: PencilKitDemoProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=pencilkit-demo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pencilkit-demo.d.ts","sourceRoot":"","sources":["../../../src/demos/pencilkit/pencilkit-demo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAiB,KAAK,YAAY,EAAmB,MAAM,+BAA+B,CAAC;AAYlG,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,sPACoN,CAAC;AAEtP,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E,0CAA0C;IAC1C,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;CACjC;AAED,yFAAyF;AACzF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,2CAyDhI"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { PencilKitDemo } from './pencilkit-demo';
|
|
3
|
-
declare const meta: Meta<typeof PencilKitDemo>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof PencilKitDemo>;
|
|
6
|
-
export declare const Light: Story;
|
|
7
|
-
export declare const Dark: Story;
|
|
8
|
-
export declare const TintedPink: Story;
|
|
9
|
-
/** Pre-seeded strokes so tools, eraser, undo/redo and clear are demonstrable immediately. */
|
|
10
|
-
export declare const Seeded: Story;
|
|
11
|
-
//# sourceMappingURL=pencilkit-demo.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pencilkit-demo.stories.d.ts","sourceRoot":"","sources":["../../../src/demos/pencilkit/pencilkit-demo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAWpC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C,eAAO,MAAM,KAAK,EAAE,KAAiC,CAAC;AACtD,eAAO,MAAM,IAAI,EAAE,KAAgC,CAAC;AACpD,eAAO,MAAM,UAAU,EAAE,KAAkD,CAAC;AAE5E,6FAA6F;AAC7F,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SidebarVariant } from '../components/sidebar';
|
|
2
|
-
/** One Sidebar, four variants, plus a narrow container that turns any of them into the overlay. */
|
|
3
|
-
export declare function SidebarDemo({ variant: initial }: {
|
|
4
|
-
variant?: SidebarVariant;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=sidebar-demo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-demo.d.ts","sourceRoot":"","sources":["../../src/demos/sidebar-demo.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA6D,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAiBvH,mGAAmG;AACnG,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAkB,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,cAAc,CAAA;CAAE,2CA+BxF"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { SplitViewProps } from '../components/split-view';
|
|
3
|
-
/** Stroke glyph from the demo icon set. */
|
|
4
|
-
export declare function DemoGlyph({ name, size, sw }: {
|
|
5
|
-
name: string;
|
|
6
|
-
size?: number;
|
|
7
|
-
sw?: number;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
type DemoProps = Omit<SplitViewProps, 'children'> & {
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: CSSProperties;
|
|
12
|
-
};
|
|
13
|
-
/** Mail: mailboxes · message list · message. */
|
|
14
|
-
export declare function SplitViewMailDemo({ defaultSelection, ...props }: DemoProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
/** Notes: a two-column split — the list is the sidebar, the toggle hides it for a full-width editor. */
|
|
16
|
-
export declare function SplitViewNotesDemo({ defaultSelection, listWidth, ...props }: DemoProps & {
|
|
17
|
-
listWidth?: number;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
/** Settings: sidebar sections, grouped detail. */
|
|
20
|
-
export declare function SplitViewSettingsDemo({ defaultSelection, ...props }: DemoProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export interface SplitViewResizableDemoProps {
|
|
22
|
-
children: ReactNode;
|
|
23
|
-
/** Starting width, px. */
|
|
24
|
-
initial?: number;
|
|
25
|
-
min?: number;
|
|
26
|
-
max?: number;
|
|
27
|
-
height?: number;
|
|
28
|
-
/** Breakpoints the child SplitView uses, so the readout can name the class. */
|
|
29
|
-
breakpoints?: {
|
|
30
|
-
medium: number;
|
|
31
|
-
regular: number;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/** A frame with a drag handle on its trailing edge; the readout shows the width and size class. */
|
|
35
|
-
export declare function SplitViewResizableDemo({ children, initial, min, max, height, breakpoints }: SplitViewResizableDemoProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
/** Reminders: each list selects in its own colour (`tint`), Groceries sits in Pinned *and* My Lists and
|
|
37
|
-
* highlights in both, and both columns use large titles that fold into the bar as you scroll. */
|
|
38
|
-
export declare function SplitViewRemindersDemo({ defaultSelection, scrolled, ...props }: DemoProps & {
|
|
39
|
-
scrolled?: boolean;
|
|
40
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
/** Library: the sidebar picks a section; albums push onto a stack inside the detail column (album → credits).
|
|
42
|
-
* A pushed page's back button is labelled with the page below's title, truncated to the room it has. */
|
|
43
|
-
export declare function SplitViewLibraryDemo({ defaultSelection, initialAlbum, ...props }: DemoProps & {
|
|
44
|
-
initialAlbum?: string;
|
|
45
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
/** Notes with a gallery: the grid button hides the supplementary column (`setSupplementaryVisible(false)`) —
|
|
47
|
-
* it slides away and the detail springs across to fill its space; opening a card brings the list back. */
|
|
48
|
-
export declare function SplitViewGalleryDemo({ defaultSelection, ...props }: DemoProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=split-view-demos.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-view-demos.d.ts","sourceRoot":"","sources":["../../src/demos/split-view-demos.tsx"],"names":[],"mappings":"AAKA,OAAO,EAA+B,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMxF,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAqClC,2CAA2C;AAC3C,wBAAgB,SAAS,CAAC,EAAE,IAAI,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AE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,2CAiBlH;AAgHD;yGACyG;AACzG,wBAAgB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,2CAcvH;AA0DD;2GAC2G;AAC3G,wBAAgB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAuB7E"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface ChatShellContextValue {
|
|
2
|
-
/** measured width of the shell (the container, not the viewport) */
|
|
3
|
-
width: number;
|
|
4
|
-
/** `width < breakpoint`: the navigation lives in a drawer */
|
|
5
|
-
compact: boolean;
|
|
6
|
-
/** compact navigation drawer visibility */
|
|
7
|
-
navOpen: boolean;
|
|
8
|
-
setNavOpen: (open: boolean) => void;
|
|
9
|
-
/** a ChatShellNav is mounted (so ChatShellNavTrigger has something to open) */
|
|
10
|
-
hasNav: boolean;
|
|
11
|
-
/** called by ChatShellNav on mount; returns its unregister */
|
|
12
|
-
registerNav: () => () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const ChatShellContext: import('react').Context<ChatShellContextValue | null>;
|
|
15
|
-
/** Shell state for anything rendered inside `<ChatShell>`. Throws outside one. */
|
|
16
|
-
export declare function useChatShell(): ChatShellContextValue;
|
|
17
|
-
/** The same, or null outside a shell — for parts that also render standalone (a channel row that closes the
|
|
18
|
-
* compact drawer when it is inside a shell). */
|
|
19
|
-
export declare function useOptionalChatShell(): ChatShellContextValue | null;
|
|
20
|
-
//# sourceMappingURL=chat-shell-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-shell-context.d.ts","sourceRoot":"","sources":["../../../src/lib/chat/chat-shell-context.ts"],"names":[],"mappings":"AAEA,MAAM,WA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CACjD;AAED,wBAAgB,iBAAiB,IAAI,WAAW,CAc/C;AAED,2GAA2G;AAC3G,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,+CAA+C;IAC/C,YAAY,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,iDAAiD;IACjD,QAAQ,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AACD,eAAO,MAAM,eAAe,sDAAmD,CAAC;AAEhF,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,sCAS/H"}
|
package/dist/lib/haptics.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface HapticEvent {
|
|
2
|
-
kind: 'impact' | 'selection' | 'notification';
|
|
3
|
-
label: string;
|
|
4
|
-
w: number;
|
|
5
|
-
t?: number;
|
|
6
|
-
n?: number;
|
|
7
|
-
}
|
|
8
|
-
export type HapticImpactStyle = 'light' | 'medium' | 'heavy';
|
|
9
|
-
export type HapticNotificationKind = 'success' | 'warning' | 'error';
|
|
10
|
-
export declare const PAT: Record<string, number[]>;
|
|
11
|
-
export declare const Haptics: {
|
|
12
|
-
_subs: Set<(m: HapticEvent) => void>;
|
|
13
|
-
/** Master switch, persisted in localStorage. Off means no output and no events. */
|
|
14
|
-
enabled: boolean;
|
|
15
|
-
/** The live output path, for indicators and settings screens. */
|
|
16
|
-
readonly engine: string;
|
|
17
|
-
readonly info: Record<string, unknown>;
|
|
18
|
-
/** Installs the gesture listeners. Called on first use; call it early (e.g. on mount) so the very first
|
|
19
|
-
press-time request finds its click. */
|
|
20
|
-
boot(): void;
|
|
21
|
-
_run(p: number[], meta: HapticEvent): void;
|
|
22
|
-
impact(s?: HapticImpactStyle): void;
|
|
23
|
-
selection(): void;
|
|
24
|
-
notification(k?: HapticNotificationKind): void;
|
|
25
|
-
on(f: (m: HapticEvent) => void): () => void;
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=haptics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"haptics.d.ts","sourceRoot":"","sources":["../../src/lib/haptics.ts"],"names":[],"mappings":"AAyBA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC7D,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAErE,eAAO,MAAM,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAGxC,CAAC;AAgLF,eAAO,MAAM,OAAO;mBACC,WAAW,KAAK,IAAI;IACvC,mFAAmF;aACpE,OAAO;IAQtB,iEAAiE;qBACnD,MAAM;mBAMR,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IASnC;8CAC0C;;YAIlC,MAAM,EAAE,QAAQ,WAAW;eAaxB,iBAAiB;;qBAKX,sBAAsB;UAIjC,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI;CAC/B,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Icon } from './icon';
|
|
3
|
-
declare const meta: Meta<typeof Icon>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Icon>;
|
|
6
|
-
/** Every canonical icon, alphabetical. */
|
|
7
|
-
export declare const Gallery: Story;
|
|
8
|
-
export declare const Sizes: Story;
|
|
9
|
-
/** Filter by name or keyword (try "mute", "search", "lyrics"); click an icon to copy its JSX. */
|
|
10
|
-
export declare const Search: Story;
|
|
11
|
-
/** Each weight maps to a stroke width; filled shapes stay the same. */
|
|
12
|
-
export declare const Weights: Story;
|
|
13
|
-
/** The set grouped by use. Hover an icon for its name. */
|
|
14
|
-
export declare const Categories: Story;
|
|
15
|
-
//# sourceMappingURL=icon.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon.stories.d.ts","sourceRoot":"","sources":["../../src/lib/icon.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAA4D,IAAI,EAAsC,MAAM,QAAQ,CAAC;AAG5H,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAI3B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAMnC,0CAA0C;AAC1C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAkCF,iGAAiG;AACjG,eAAO,MAAM,MAAM,EAAE,KAA2C,CAAC;AAIjE,uEAAuE;AACvE,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAOF,0DAA0D;AAC1D,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/lib/pencilkit/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACzD,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,aAAa,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,cAAc,EAAE,aAAa,CAO1D,CAAC;AAEF,0GAA0G;AAC1G,eAAO,MAAM,OAAO,UAAqE,CAAC;AAE1F,eAAO,MAAM,IAAI,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAK1C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,oFAAoF;AACpF,eAAO,MAAM,aAAa;;;;;CAKqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"haptics.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/haptics.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,EAAE,SAO9B,CAAC;AACF,eAAO,MAAM,IAAI,YAOhB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE9C,4EAA4E;AAC5E,eAAO,MAAM,eAAe;;8EAQ1B,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,sBAAsB;IACtB,IAAI,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AACD,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,YAAY,2CAa7F"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { springs, SpringName } from '../motion';
|
|
2
|
-
export { springs, type SpringName };
|
|
3
|
-
/** Whether the user asked for reduced motion (checked when an animation starts, so it follows the setting live). */
|
|
4
|
-
export declare function prefersReducedMotion(): boolean;
|
|
5
|
-
export type FlipSnapshot = Map<Element, DOMRect>;
|
|
6
|
-
/** Records where elements are now, before a change moves them. */
|
|
7
|
-
export declare function flipSnapshot(elements: Iterable<Element>): FlipSnapshot;
|
|
8
|
-
/**
|
|
9
|
-
* Plays elements from where `snapshot` saw them to where they are now, on a spring. `relativeTo` pairs a
|
|
10
|
-
* container's before/after rects so children move relative to it (a card that is itself resizing).
|
|
11
|
-
* Interrupting is safe: a snapshot taken mid-flight includes the running transform.
|
|
12
|
-
*/
|
|
13
|
-
export declare function flipPlay(snapshot: FlipSnapshot, { spring, relativeTo, fade, lift, }?: {
|
|
14
|
-
spring?: SpringName;
|
|
15
|
-
relativeTo?: [DOMRect, DOMRect];
|
|
16
|
-
fade?: boolean;
|
|
17
|
-
lift?: boolean;
|
|
18
|
-
}): void;
|
|
19
|
-
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/motion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAQrD,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC;AAEpC,oHAAoH;AACpH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAGD,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAEjD,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,YAAY,CAItE;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,YAAY,EACtB,EACE,MAAiB,EACjB,UAAU,EACV,IAAY,EACZ,IAAY,GACb,GAAE;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,QA2BjG"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ButtonProps as AriaButtonProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
|
|
2
|
-
export interface ButtonProps extends Omit<AriaButtonProps, 'render'> {
|
|
3
|
-
title?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function Button({ title, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export interface ToggleButtonProps extends Omit<AriaToggleButtonProps, 'render'> {
|
|
7
|
-
title?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function ToggleButton({ title, ...props }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=press.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"press.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/press.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,WAAW,IAAI,eAAe,EACnC,KAAK,iBAAiB,IAAI,qBAAqB,EAChD,MAAM,uBAAuB,CAAC;AAO/B,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAEtD;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAElE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAW3E,eAAO,MAAM,2BAA2B,wCAAsC,CAAC;AAE/E,+FAA+F;AAC/F,wBAAgB,sBAAsB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAIxE;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AACD,qHAAqH;AACrH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAc5H"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { cn } from '../utils';
|
|
2
|
-
export { cn };
|
|
3
|
-
/** Workbench pressables: no tap flash, the host font, and a brightness nudge on hover (dimmer on light surfaces,
|
|
4
|
-
brighter on dark ones — the terminal scope is dark in both appearances). */
|
|
5
|
-
export declare const wbPress = "[-webkit-tap-highlight-color:transparent] [font-family:inherit] hover:brightness-[.97] dark:hover:brightness-[1.12]";
|
|
6
|
-
/** The Workbench brand tile: the accent into iOS indigo (#5E5CE6, a fixed brand color). */
|
|
7
|
-
export declare const wbBrandTile = "bg-[linear-gradient(135deg,var(--primary),#5E5CE6)]";
|
|
8
|
-
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,CAAC;AAEd;+EAC+E;AAC/E,eAAO,MAAM,OAAO,wHACmG,CAAC;AAExH,2FAA2F;AAC3F,eAAO,MAAM,WAAW,wDAAwD,CAAC"}
|
package/dist/stories/frame.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare function Phone({ children, w, h, dark, tint, safeTop }: {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
w?: number;
|
|
5
|
-
h?: number;
|
|
6
|
-
dark?: boolean;
|
|
7
|
-
tint?: string;
|
|
8
|
-
safeTop?: boolean | number;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare function Pad({ children, w, dark, tint }: {
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
w?: number;
|
|
13
|
-
dark?: boolean;
|
|
14
|
-
tint?: string;
|
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
//# sourceMappingURL=frame.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frame.d.ts","sourceRoot":"","sources":["../../src/stories/frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAO,EAAE,CAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACzE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACzG,2CAMA;AAED,wBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAO,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQzH"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/** Story-only: the shadcn primitives shown on an iOS grouped screen (Phone) or a padded card (Pad). */
|
|
3
|
-
export declare function Screen({ children, dark, h, className, title }: {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
dark?: boolean;
|
|
6
|
-
h?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
title?: ReactNode;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare function Panel({ children, dark, w, className }: {
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
dark?: boolean;
|
|
13
|
-
w?: number;
|
|
14
|
-
className?: string;
|
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
/** Small uppercase caption above a group, like an iOS section header. */
|
|
17
|
-
export declare function Caption({ children }: {
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=primitive-frame.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primitive-frame.d.ts","sourceRoot":"","sources":["../../src/stories/primitive-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,uGAAuG;AAEvG,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAO,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CACzF,2CASA;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAM/H;AAED,yEAAyE;AACzE,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAE7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-chat-container.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.tsx"],"names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AC,EAAE,MAAM,IAAI,CAAC;IACnB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC7C;;;OAGG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAID,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EAAE,eAAwB,EAChC,UAAgB,EAChB,SAAe,EACf,QAAQ,EAAE,kBAAkB,EAC5B,eAAuB,EACvB,gBAAgB,EAChB,OAAe,EACf,YAAyB,EACzB,KAAK,EACL,YAAmB,EACnB,WAA6B,EAC7B,IAAQ,EACR,UAAU,EACV,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,0BAA0B,2CAqL5B;yBAvMe,qBAAqB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ArtifactChatFabPosition } from './artifact-chat-container';
|
|
3
|
-
interface DemoProps {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
working?: boolean;
|
|
7
|
-
defaultChatOpen?: boolean;
|
|
8
|
-
fabPosition?: ArtifactChatFabPosition;
|
|
9
|
-
}
|
|
10
|
-
declare const meta: Meta<DemoProps>;
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<DemoProps>;
|
|
13
|
-
export declare const Split: Story;
|
|
14
|
-
export declare const FloatingComposer: Story;
|
|
15
|
-
export declare const FullChatDrawer: Story;
|
|
16
|
-
export declare const Working: Story;
|
|
17
|
-
export declare const SplitToFloating: Story;
|
|
18
|
-
/** `layout="floating"` with a `peek` keeps the newest replies visible above the composer even in a wide container. */
|
|
19
|
-
export declare const AlwaysFloatingWithPeek: Story;
|
|
20
|
-
export declare const AppearanceLight: Story;
|
|
21
|
-
export declare const AppearanceDark: Story;
|
|
22
|
-
/** The floating glass chat in both appearances, side by side. */
|
|
23
|
-
export declare const AppearanceFloating: Story;
|
|
24
|
-
//# sourceMappingURL=artifact-chat-container.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-chat-container.stories.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,eAAe,CAAC;AACvB,OAAO,EAAyB,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAwBhG,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AA8ED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAgBzB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAA8C,CAAC;AACnE,eAAO,MAAM,gBAAgB,EAAE,KAA6C,CAAC;AAC7E,eAAO,MAAM,cAAc,EAAE,KAAoE,CAAC;AAClG,eAAO,MAAM,OAAO,EAAE,KAA4D,CAAC;AAwBnF,eAAO,MAAM,eAAe,EAAE,KAA4C,CAAC;AAC3E,sHAAsH;AACtH,eAAO,MAAM,sBAAsB,EAAE,KAepC,CAAC;AAkEF,eAAO,MAAM,eAAe,EAAE,KAAkI,CAAC;AACjK,eAAO,MAAM,cAAc,EAAE,KAAiI,CAAC;AAC/J,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,EAAE,KAQhC,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { Button } from 'react-aria-components';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { Appearance } from '../lib/theme';
|
|
5
|
-
import { useChatShell, useOptionalChatShell, ChatShellContextValue } from '../lib/chat/chat-shell-context';
|
|
6
|
-
export { useChatShell, useOptionalChatShell, type ChatShellContextValue };
|
|
7
|
-
export interface ChatShellProps extends Omit<ComponentProps<'div'>, 'ref'> {
|
|
8
|
-
/** container width below which the navigation moves into a drawer */
|
|
9
|
-
breakpoint?: number;
|
|
10
|
-
/** initial state of the compact navigation drawer */
|
|
11
|
-
defaultNavOpen?: boolean;
|
|
12
|
-
/** controlled compact navigation drawer */
|
|
13
|
-
navOpen?: boolean;
|
|
14
|
-
onNavOpenChange?: (open: boolean) => void;
|
|
15
|
-
/** Light or dark palette. Defaults to the ambient `AppearanceProvider` value, else dark. */
|
|
16
|
-
appearance?: Appearance;
|
|
17
|
-
/** accent for unread dots, mention pills, own reactions, the send button (--primary). Defaults to the theme primary. */
|
|
18
|
-
tint?: string;
|
|
19
|
-
}
|
|
20
|
-
export declare function ChatShell({ breakpoint, defaultNavOpen, navOpen: navOpenProp, onNavOpenChange, appearance: appearanceProp, tint, children, className, style, ...props }: ChatShellProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export interface ChatShellNavProps {
|
|
22
|
-
children?: ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
style?: CSSProperties;
|
|
25
|
-
}
|
|
26
|
-
/** Holds the rail and the sidebar. Wide: a docked column. Compact: a left EdgeDrawer over a scrim, opened by
|
|
27
|
-
* `ChatShellNavTrigger` and closed by the scrim or by anything that calls `useChatShell().setNavOpen(false)` (a close button, picking a
|
|
28
|
-
* channel). */
|
|
29
|
-
export declare function ChatShellNav({ children, className, style }: ChatShellNavProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export interface ChatShellNavTriggerProps extends Omit<ComponentProps<typeof Button>, 'children'> {
|
|
31
|
-
children?: ReactNode;
|
|
32
|
-
}
|
|
33
|
-
/** The hamburger that opens the navigation drawer. Renders nothing while the navigation is docked (or when
|
|
34
|
-
* the shell has no ChatShellNav). */
|
|
35
|
-
export declare function ChatShellNavTrigger({ className, children, onPress, ...props }: ChatShellNavTriggerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
-
/** The channel column: a 222px sidebar surface (a header, the channel list, the signed-in user). */
|
|
37
|
-
export declare function ChatShellSidebar({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
/** The conversation column: header, transcript, footer. Takes the remaining width. */
|
|
39
|
-
export declare function ChatShellMain({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export declare function ChatShellHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
/** Leading glyph of the header; a # by default. */
|
|
42
|
-
export declare function ChatShellHeaderIcon({ className, children, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export declare function ChatShellTitle({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
/** The channel topic; fills the space between the title and the actions. */
|
|
45
|
-
export declare function ChatShellDescription({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
/** Trailing header actions, pushed to the end. */
|
|
47
|
-
export declare function ChatShellHeaderActions({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export declare const chatShellHeaderActionVariants: (props?: ({
|
|
49
|
-
variant?: "outline" | "icon" | null | undefined;
|
|
50
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
51
|
-
export interface ChatShellHeaderActionProps extends ComponentProps<typeof Button>, VariantProps<typeof chatShellHeaderActionVariants> {
|
|
52
|
-
/** marks a toggle as on (tints the icon variant) */
|
|
53
|
-
isActive?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export declare function ChatShellHeaderAction({ variant, isActive, className, onPress, ...props }: ChatShellHeaderActionProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
export interface ChatShellBackProps extends Omit<ComponentProps<typeof Button>, 'children'> {
|
|
57
|
-
children?: ReactNode;
|
|
58
|
-
}
|
|
59
|
-
/** A tinted "‹ #channel" back button, for a view (a full-width thread) that replaces the channel. */
|
|
60
|
-
export declare function ChatShellBack({ className, children, onPress, ...props }: ChatShellBackProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
/** Pins the composer (and anything else) under the transcript. */
|
|
62
|
-
export declare function ChatShellFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export interface ChatShellAsideProps extends ComponentProps<'aside'> {
|
|
64
|
-
/** the aside only docks when the shell is at least this wide */
|
|
65
|
-
minWidth?: number;
|
|
66
|
-
/** set false to hide it at any width (a member-list toggle, or while a thread panel is open) */
|
|
67
|
-
open?: boolean;
|
|
68
|
-
}
|
|
69
|
-
/** A docked trailing column (the member list). It steps aside below `minWidth` rather than squeezing the
|
|
70
|
-
* conversation. */
|
|
71
|
-
export declare function ChatShellAside({ minWidth, open, className, ...props }: ChatShellAsideProps): import("react/jsx-runtime").JSX.Element | null;
|
|
72
|
-
export interface ChatShellPanelProps {
|
|
73
|
-
open: boolean;
|
|
74
|
-
onOpenChange?: (open: boolean) => void;
|
|
75
|
-
title?: ReactNode;
|
|
76
|
-
/** from this shell width up the panel docks as a column; below it, it overlays the conversation */
|
|
77
|
-
dockWidth?: number;
|
|
78
|
-
/** panel width; defaults to min(360, shell width − 60) */
|
|
79
|
-
width?: number;
|
|
80
|
-
children?: ReactNode;
|
|
81
|
-
className?: string;
|
|
82
|
-
style?: CSSProperties;
|
|
83
|
-
}
|
|
84
|
-
/** A trailing panel for a thread (or details): a SideDrawer that docks beside the conversation on wide shells
|
|
85
|
-
* and slides over it on narrow ones. */
|
|
86
|
-
export declare function ChatShellPanel({ open, onOpenChange, title, dockWidth, width, children, className, style }: ChatShellPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
//# sourceMappingURL=chat-shell.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-shell.d.ts","sourceRoot":"","sources":["../../src/templates/chat-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxH,OAAO,EAAE,MAAM,EAAsB,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/E,OAAO,EAAoB,YAAY,EAAE,oBAAoB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGlI,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,KAAK,qBAAqB,EAAE,CAAC;AAiB1E,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACxE,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,4FAA4F;IAC5F,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,wHAAwH;IACxH,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