@brett_lamy/ui 0.0.1 → 1.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 +131 -13
- package/dist/components/adaptive-pane.d.ts +15 -0
- package/dist/components/adaptive-pane.d.ts.map +1 -0
- package/dist/components/adaptive-pane.stories.d.ts +7 -0
- package/dist/components/adaptive-pane.stories.d.ts.map +1 -0
- package/dist/components/animated-height.d.ts +23 -0
- package/dist/components/animated-height.d.ts.map +1 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.stories.d.ts +9 -0
- package/dist/components/badge.stories.d.ts.map +1 -0
- package/dist/components/button.d.ts +12 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/button.stories.d.ts +9 -0
- package/dist/components/button.stories.d.ts.map +1 -0
- package/dist/components/card.d.ts +14 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/card.stories.d.ts +9 -0
- package/dist/components/card.stories.d.ts.map +1 -0
- package/dist/components/celebrate.d.ts +14 -0
- package/dist/components/celebrate.d.ts.map +1 -0
- package/dist/components/chat/channel-list.d.ts +35 -0
- package/dist/components/chat/channel-list.d.ts.map +1 -0
- package/dist/components/chat/channel-list.stories.d.ts +13 -0
- package/dist/components/chat/channel-list.stories.d.ts.map +1 -0
- package/dist/components/chat/chat-avatar.d.ts +13 -0
- package/dist/components/chat/chat-avatar.d.ts.map +1 -0
- package/dist/components/chat/chat-avatar.stories.d.ts +9 -0
- package/dist/components/chat/chat-avatar.stories.d.ts.map +1 -0
- package/dist/components/chat/chat-column.d.ts +8 -0
- package/dist/components/chat/chat-column.d.ts.map +1 -0
- package/dist/components/chat/chat-column.stories.d.ts +7 -0
- package/dist/components/chat/chat-column.stories.d.ts.map +1 -0
- package/dist/components/chat/chat-composer.d.ts +22 -0
- package/dist/components/chat/chat-composer.d.ts.map +1 -0
- package/dist/components/chat/chat-composer.stories.d.ts +16 -0
- package/dist/components/chat/chat-composer.stories.d.ts.map +1 -0
- package/dist/components/chat/chat.fixtures.d.ts +29 -0
- package/dist/components/chat/chat.fixtures.d.ts.map +1 -0
- package/dist/components/chat/floating-chat.d.ts +71 -0
- package/dist/components/chat/floating-chat.d.ts.map +1 -0
- package/dist/components/chat/floating-chat.stories.d.ts +17 -0
- package/dist/components/chat/floating-chat.stories.d.ts.map +1 -0
- package/dist/components/chat/floating-sheet.d.ts +83 -0
- package/dist/components/chat/floating-sheet.d.ts.map +1 -0
- package/dist/components/chat/floating-sheet.stories.d.ts +22 -0
- package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -0
- package/dist/components/chat/member-list.d.ts +21 -0
- package/dist/components/chat/member-list.d.ts.map +1 -0
- package/dist/components/chat/message-list.d.ts +34 -0
- package/dist/components/chat/message-list.d.ts.map +1 -0
- package/dist/components/chat/message.d.ts +47 -0
- package/dist/components/chat/message.d.ts.map +1 -0
- package/dist/components/chat/message.stories.d.ts +30 -0
- package/dist/components/chat/message.stories.d.ts.map +1 -0
- package/dist/components/chat/progress-stepper.d.ts +30 -0
- package/dist/components/chat/progress-stepper.d.ts.map +1 -0
- package/dist/components/chat/rich-text.d.ts +8 -0
- package/dist/components/chat/rich-text.d.ts.map +1 -0
- package/dist/components/chat/rich-text.stories.d.ts +9 -0
- package/dist/components/chat/rich-text.stories.d.ts.map +1 -0
- package/dist/components/chat/server-header.d.ts +10 -0
- package/dist/components/chat/server-header.d.ts.map +1 -0
- package/dist/components/chat/thread-preview.d.ts +25 -0
- package/dist/components/chat/thread-preview.d.ts.map +1 -0
- package/dist/components/chat/thread-preview.stories.d.ts +18 -0
- package/dist/components/chat/thread-preview.stories.d.ts.map +1 -0
- package/dist/components/chat/user-panel.d.ts +16 -0
- package/dist/components/chat/user-panel.d.ts.map +1 -0
- package/dist/components/chat/workspace-rail.d.ts +56 -0
- package/dist/components/chat/workspace-rail.d.ts.map +1 -0
- package/dist/components/chat/workspace-rail.stories.d.ts +12 -0
- package/dist/components/chat/workspace-rail.stories.d.ts.map +1 -0
- package/dist/components/checkbox.d.ts +13 -0
- package/dist/components/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox.stories.d.ts +11 -0
- package/dist/components/checkbox.stories.d.ts.map +1 -0
- package/dist/components/combobox.d.ts +20 -0
- package/dist/components/combobox.d.ts.map +1 -0
- package/dist/components/combobox.stories.d.ts +10 -0
- package/dist/components/combobox.stories.d.ts.map +1 -0
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/dialog.d.ts +40 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.stories.d.ts +12 -0
- package/dist/components/dialog.stories.d.ts.map +1 -0
- package/dist/components/disclosure.d.ts +23 -0
- package/dist/components/disclosure.d.ts.map +1 -0
- package/dist/components/disclosure.stories.d.ts +10 -0
- package/dist/components/disclosure.stories.d.ts.map +1 -0
- package/dist/components/dropdown-menu.d.ts +33 -0
- package/dist/components/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu.stories.d.ts +11 -0
- package/dist/components/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/components/edge-drawer.d.ts +17 -0
- package/dist/components/edge-drawer.d.ts.map +1 -0
- package/dist/components/edge-drawer.stories.d.ts +8 -0
- package/dist/components/edge-drawer.stories.d.ts.map +1 -0
- package/dist/components/edit-bar.d.ts.map +1 -1
- package/dist/components/form.d.ts +9 -0
- package/dist/components/form.d.ts.map +1 -0
- package/dist/components/form.stories.d.ts +9 -0
- package/dist/components/form.stories.d.ts.map +1 -0
- package/dist/components/haptic-indicator.d.ts +3 -1
- package/dist/components/haptic-indicator.d.ts.map +1 -1
- package/dist/components/icon-swap.d.ts +27 -0
- package/dist/components/icon-swap.d.ts.map +1 -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.stories.d.ts +4 -0
- package/dist/components/index-bar.stories.d.ts.map +1 -1
- package/dist/components/input.d.ts +9 -0
- package/dist/components/input.d.ts.map +1 -0
- package/dist/components/input.stories.d.ts +10 -0
- package/dist/components/input.stories.d.ts.map +1 -0
- package/dist/components/kbd.d.ts +5 -0
- package/dist/components/kbd.d.ts.map +1 -0
- package/dist/components/kbd.stories.d.ts +9 -0
- package/dist/components/kbd.stories.d.ts.map +1 -0
- package/dist/components/label.d.ts +9 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/components/label.stories.d.ts +8 -0
- package/dist/components/label.stories.d.ts.map +1 -0
- package/dist/components/list-box.d.ts +30 -0
- package/dist/components/list-box.d.ts.map +1 -0
- package/dist/components/list-box.stories.d.ts +9 -0
- package/dist/components/list-box.stories.d.ts.map +1 -0
- package/dist/components/list-row.stories.d.ts +9 -0
- package/dist/components/list-row.stories.d.ts.map +1 -1
- package/dist/components/list.d.ts +33 -2
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.stories.d.ts +5 -1
- package/dist/components/list.stories.d.ts.map +1 -1
- package/dist/components/markdown-editor.d.ts +131 -0
- package/dist/components/markdown-editor.d.ts.map +1 -0
- package/dist/components/markdown-editor.stories.d.ts +17 -0
- package/dist/components/markdown-editor.stories.d.ts.map +1 -0
- package/dist/components/morph.d.ts +61 -0
- package/dist/components/morph.d.ts.map +1 -0
- package/dist/components/morph.stories.d.ts +14 -0
- package/dist/components/morph.stories.d.ts.map +1 -0
- package/dist/components/motion.stories.d.ts +15 -0
- package/dist/components/motion.stories.d.ts.map +1 -0
- package/dist/components/navigation-stack.d.ts +9 -3
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/navigation-stack.stories.d.ts +11 -0
- package/dist/components/navigation-stack.stories.d.ts.map +1 -1
- package/dist/components/now-playing-bars.d.ts +21 -0
- package/dist/components/now-playing-bars.d.ts.map +1 -0
- package/dist/components/now-playing-bars.stories.d.ts +12 -0
- package/dist/components/now-playing-bars.stories.d.ts.map +1 -0
- package/dist/components/number-morph.d.ts +11 -0
- package/dist/components/number-morph.d.ts.map +1 -0
- package/dist/components/pencilkit/pencil-canvas.d.ts +24 -0
- package/dist/components/pencilkit/pencil-canvas.d.ts.map +1 -0
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts +18 -0
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -0
- package/dist/components/pencilkit/pencil-toolbar.d.ts +60 -0
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -0
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts +10 -0
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -0
- package/dist/components/pencilkit/pencilkit-annotator.d.ts +8 -0
- package/dist/components/pencilkit/pencilkit-annotator.d.ts.map +1 -0
- package/dist/components/pencilkit/pk-icon.d.ts +8 -0
- package/dist/components/pencilkit/pk-icon.d.ts.map +1 -0
- package/dist/components/pencilkit/stroke-path.d.ts +11 -0
- package/dist/components/pencilkit/stroke-path.d.ts.map +1 -0
- package/dist/components/pencilkit/use-pencil-history.d.ts +15 -0
- package/dist/components/pencilkit/use-pencil-history.d.ts.map +1 -0
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill-button.d.ts.map +1 -1
- package/dist/components/popover.d.ts +15 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/popover.stories.d.ts +9 -0
- package/dist/components/popover.stories.d.ts.map +1 -0
- package/dist/components/progress-ring.d.ts +66 -0
- package/dist/components/progress-ring.d.ts.map +1 -0
- package/dist/components/progress-ring.stories.d.ts +15 -0
- package/dist/components/progress-ring.stories.d.ts.map +1 -0
- package/dist/components/progress.d.ts +16 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/components/progress.stories.d.ts +10 -0
- package/dist/components/progress.stories.d.ts.map +1 -0
- package/dist/components/qr-svg.d.ts +30 -3
- package/dist/components/qr-svg.d.ts.map +1 -1
- package/dist/components/qr-svg.stories.d.ts +8 -1
- package/dist/components/qr-svg.stories.d.ts.map +1 -1
- package/dist/components/radio-group.d.ts +13 -0
- package/dist/components/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group.stories.d.ts +10 -0
- package/dist/components/radio-group.stories.d.ts.map +1 -0
- package/dist/components/scroll-area.d.ts +9 -0
- package/dist/components/scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area.stories.d.ts +8 -0
- package/dist/components/scroll-area.stories.d.ts.map +1 -0
- package/dist/components/search-field.d.ts +12 -3
- package/dist/components/search-field.d.ts.map +1 -1
- package/dist/components/search-field.stories.d.ts +2 -0
- package/dist/components/search-field.stories.d.ts.map +1 -1
- package/dist/components/segmented.d.ts +5 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/select.d.ts +26 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/select.stories.d.ts +12 -0
- package/dist/components/select.stories.d.ts.map +1 -0
- package/dist/components/separator.d.ts +10 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/components/separator.stories.d.ts +9 -0
- package/dist/components/separator.stories.d.ts.map +1 -0
- package/dist/components/sheet.d.ts +29 -0
- package/dist/components/sheet.d.ts.map +1 -0
- package/dist/components/sheet.stories.d.ts +12 -0
- package/dist/components/sheet.stories.d.ts.map +1 -0
- package/dist/components/side-drawer.d.ts.map +1 -1
- package/dist/components/sidebar.d.ts +86 -0
- package/dist/components/sidebar.d.ts.map +1 -0
- package/dist/components/sidebar.stories.d.ts +10 -0
- package/dist/components/sidebar.stories.d.ts.map +1 -0
- package/dist/components/skeleton.d.ts +27 -0
- package/dist/components/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton.stories.d.ts +11 -0
- package/dist/components/skeleton.stories.d.ts.map +1 -0
- package/dist/components/slider.d.ts +26 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/slider.stories.d.ts +12 -0
- package/dist/components/slider.stories.d.ts.map +1 -0
- package/dist/components/spinner.d.ts +2 -0
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/split-view.d.ts +199 -8
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.stories.d.ts +45 -2
- package/dist/components/split-view.stories.d.ts.map +1 -1
- package/dist/components/switch.d.ts +4 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/syntax-highlighting.d.ts +102 -0
- package/dist/components/syntax-highlighting.d.ts.map +1 -0
- package/dist/components/syntax-highlighting.stories.d.ts +18 -0
- package/dist/components/syntax-highlighting.stories.d.ts.map +1 -0
- package/dist/components/tab-bar.d.ts +2 -0
- package/dist/components/tab-bar.d.ts.map +1 -1
- package/dist/components/tab-view.d.ts +93 -0
- package/dist/components/tab-view.d.ts.map +1 -0
- package/dist/components/tab-view.stories.d.ts +28 -0
- package/dist/components/tab-view.stories.d.ts.map +1 -0
- package/dist/components/tabs.d.ts +26 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tabs.stories.d.ts +9 -0
- package/dist/components/tabs.stories.d.ts.map +1 -0
- package/dist/components/text-field.d.ts +9 -0
- package/dist/components/text-field.d.ts.map +1 -0
- package/dist/components/text-field.stories.d.ts +9 -0
- package/dist/components/text-field.stories.d.ts.map +1 -0
- package/dist/components/text-morph.d.ts +8 -0
- package/dist/components/text-morph.d.ts.map +1 -0
- package/dist/components/textarea.d.ts +9 -0
- package/dist/components/textarea.d.ts.map +1 -0
- package/dist/components/toast.d.ts +104 -0
- package/dist/components/toast.d.ts.map +1 -0
- package/dist/components/toast.stories.d.ts +13 -0
- package/dist/components/toast.stories.d.ts.map +1 -0
- package/dist/components/toggle-group.d.ts +15 -0
- package/dist/components/toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group.stories.d.ts +10 -0
- package/dist/components/toggle-group.stories.d.ts.map +1 -0
- package/dist/components/toggle.d.ts +10 -0
- package/dist/components/toggle.d.ts.map +1 -0
- package/dist/components/toggle.stories.d.ts +9 -0
- package/dist/components/toggle.stories.d.ts.map +1 -0
- package/dist/components/tooltip.d.ts +10 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip.stories.d.ts +11 -0
- package/dist/components/tooltip.stories.d.ts.map +1 -0
- package/dist/components/workbench/annotator.d.ts +22 -0
- package/dist/components/workbench/annotator.d.ts.map +1 -0
- package/dist/components/workbench/chat.d.ts +99 -0
- package/dist/components/workbench/chat.d.ts.map +1 -0
- package/dist/components/workbench/chat.stories.d.ts +13 -0
- package/dist/components/workbench/chat.stories.d.ts.map +1 -0
- package/dist/components/workbench/composer-files.d.ts +36 -0
- package/dist/components/workbench/composer-files.d.ts.map +1 -0
- package/dist/components/workbench/composer.d.ts +441 -0
- package/dist/components/workbench/composer.d.ts.map +1 -0
- package/dist/components/workbench/composer.stories.d.ts +35 -0
- package/dist/components/workbench/composer.stories.d.ts.map +1 -0
- package/dist/components/workbench/fixtures.d.ts +38 -0
- package/dist/components/workbench/fixtures.d.ts.map +1 -0
- package/dist/components/workbench/markdown.d.ts +26 -0
- package/dist/components/workbench/markdown.d.ts.map +1 -0
- package/dist/components/workbench/message-scroller.d.ts +16 -0
- package/dist/components/workbench/message-scroller.d.ts.map +1 -0
- package/dist/components/workbench/message-scroller.stories.d.ts +9 -0
- package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -0
- package/dist/components/workbench/model-picker.d.ts +29 -0
- package/dist/components/workbench/model-picker.d.ts.map +1 -0
- package/dist/components/workbench/models.d.ts +32 -0
- package/dist/components/workbench/models.d.ts.map +1 -0
- package/dist/components/workbench/snap-sheet.d.ts +12 -0
- package/dist/components/workbench/snap-sheet.d.ts.map +1 -0
- package/dist/components/workbench/snap-sheet.stories.d.ts +8 -0
- package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -0
- package/dist/components/workbench/surfaces.d.ts +67 -0
- package/dist/components/workbench/surfaces.d.ts.map +1 -0
- package/dist/components/workbench/surfaces.stories.d.ts +15 -0
- package/dist/components/workbench/surfaces.stories.d.ts.map +1 -0
- package/dist/components/workbench/terminal.d.ts +43 -0
- package/dist/components/workbench/terminal.d.ts.map +1 -0
- package/dist/components/workbench/terminal.stories.d.ts +8 -0
- package/dist/components/workbench/terminal.stories.d.ts.map +1 -0
- package/dist/components/workbench/thread-sidebar.d.ts +100 -0
- package/dist/components/workbench/thread-sidebar.d.ts.map +1 -0
- package/dist/components/workbench/thread-sidebar.stories.d.ts +9 -0
- package/dist/components/workbench/thread-sidebar.stories.d.ts.map +1 -0
- package/dist/components/workbench/wb-popover.d.ts +11 -0
- package/dist/components/workbench/wb-popover.d.ts.map +1 -0
- package/dist/components/workbench/workbench-composer.d.ts +26 -0
- package/dist/components/workbench/workbench-composer.d.ts.map +1 -0
- package/dist/demos/delivery/delivery-tracking-demo.d.ts +41 -0
- package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -0
- package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts +13 -0
- package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts.map +1 -0
- package/dist/demos/haptics-playground.d.ts +4 -1
- package/dist/demos/haptics-playground.d.ts.map +1 -1
- package/dist/demos/map-chat/geo.d.ts +46 -0
- package/dist/demos/map-chat/geo.d.ts.map +1 -0
- package/dist/demos/map-chat/map-agent.d.ts +48 -0
- package/dist/demos/map-chat/map-agent.d.ts.map +1 -0
- package/dist/demos/map-chat/map-chat-demo.d.ts +19 -0
- package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -0
- package/dist/demos/map-chat/map-chat-demo.stories.d.ts +16 -0
- package/dist/demos/map-chat/map-chat-demo.stories.d.ts.map +1 -0
- package/dist/demos/map-chat/map-icons.d.ts +44 -0
- package/dist/demos/map-chat/map-icons.d.ts.map +1 -0
- package/dist/demos/map-chat/places.d.ts +29 -0
- package/dist/demos/map-chat/places.d.ts.map +1 -0
- package/dist/demos/map-chat/tile-map.d.ts +72 -0
- package/dist/demos/map-chat/tile-map.d.ts.map +1 -0
- package/dist/demos/pencilkit/demo-strokes.d.ts +4 -0
- package/dist/demos/pencilkit/demo-strokes.d.ts.map +1 -0
- package/dist/demos/pencilkit/pencilkit-demo.d.ts +15 -0
- package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -0
- package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts +11 -0
- package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts.map +1 -0
- package/dist/demos/sidebar-demo.d.ts +9 -0
- package/dist/demos/sidebar-demo.d.ts.map +1 -0
- package/dist/demos/split-view-demos.d.ts +50 -0
- package/dist/demos/split-view-demos.d.ts.map +1 -0
- package/dist/index.css +2 -1
- package/dist/index.d.ts +169 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19360 -14635
- package/dist/lib/chat/chat-icon.d.ts +24 -0
- package/dist/lib/chat/chat-icon.d.ts.map +1 -0
- package/dist/lib/chat/chat-shell-context.d.ts +19 -0
- package/dist/lib/chat/chat-shell-context.d.ts.map +1 -0
- package/dist/lib/chat/chat-tokens.d.ts +72 -0
- package/dist/lib/chat/chat-tokens.d.ts.map +1 -0
- package/dist/lib/chat/chat-users.d.ts +18 -0
- package/dist/lib/chat/chat-users.d.ts.map +1 -0
- package/dist/lib/chat/kvib.d.ts +3 -0
- package/dist/lib/chat/kvib.d.ts.map +1 -0
- package/dist/lib/chat/persistent-host.d.ts +29 -0
- package/dist/lib/chat/persistent-host.d.ts.map +1 -0
- package/dist/lib/chat/title-ref.d.ts +3 -0
- package/dist/lib/chat/title-ref.d.ts.map +1 -0
- package/dist/lib/container.d.ts +21 -0
- package/dist/lib/container.d.ts.map +1 -0
- package/dist/lib/haptics.d.ts +7 -7
- package/dist/lib/haptics.d.ts.map +1 -1
- package/dist/lib/icon.d.ts +1297 -6
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.stories.d.ts +7 -0
- package/dist/lib/icon.stories.d.ts.map +1 -1
- package/dist/lib/motion.d.ts +74 -0
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/pencilkit/constants.d.ts +33 -0
- package/dist/lib/pencilkit/constants.d.ts.map +1 -0
- package/dist/lib/primitives.d.ts +12 -0
- package/dist/lib/primitives.d.ts.map +1 -0
- package/dist/lib/qr.d.ts +28 -0
- package/dist/lib/qr.d.ts.map +1 -0
- package/dist/lib/sheet-drag.d.ts +38 -0
- package/dist/lib/sheet-drag.d.ts.map +1 -0
- package/dist/lib/syntax.d.ts +55 -0
- package/dist/lib/syntax.d.ts.map +1 -0
- package/dist/lib/theme.d.ts +14 -4
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/workbench/haptics.d.ts +3 -0
- package/dist/lib/workbench/haptics.d.ts.map +1 -0
- package/dist/lib/workbench/icons.d.ts +29 -0
- package/dist/lib/workbench/icons.d.ts.map +1 -0
- package/dist/lib/workbench/motion.d.ts +83 -0
- package/dist/lib/workbench/motion.d.ts.map +1 -0
- package/dist/lib/workbench/press.d.ts +10 -0
- package/dist/lib/workbench/press.d.ts.map +1 -0
- package/dist/lib/workbench/theme.d.ts +16 -0
- package/dist/lib/workbench/theme.d.ts.map +1 -0
- package/dist/lib/workbench/util.d.ts +6 -0
- package/dist/lib/workbench/util.d.ts.map +1 -0
- package/dist/stories/primitive-frame.d.ts +20 -0
- package/dist/stories/primitive-frame.d.ts.map +1 -0
- package/dist/templates/artifact-chat-container.d.ts +63 -0
- package/dist/templates/artifact-chat-container.d.ts.map +1 -0
- package/dist/templates/artifact-chat-container.stories.d.ts +24 -0
- package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -0
- package/dist/templates/chat-shell.d.ts +86 -0
- package/dist/templates/chat-shell.d.ts.map +1 -0
- package/dist/templates/chat-shell.stories.d.ts +22 -0
- package/dist/templates/chat-shell.stories.d.ts.map +1 -0
- package/dist/templates/workbench-shell.d.ts +177 -0
- package/dist/templates/workbench-shell.d.ts.map +1 -0
- package/dist/templates/workbench-shell.stories.d.ts +17 -0
- package/dist/templates/workbench-shell.stories.d.ts.map +1 -0
- package/package.json +28 -8
package/dist/lib/icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":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,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,SAAS,2CA+BnH"}
|
|
@@ -3,6 +3,13 @@ import { Icon } from './icon';
|
|
|
3
3
|
declare const meta: Meta<typeof Icon>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Icon>;
|
|
6
|
+
/** Every canonical icon, alphabetical. */
|
|
6
7
|
export declare const Gallery: Story;
|
|
7
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;
|
|
8
15
|
//# sourceMappingURL=icon.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.stories.d.ts","sourceRoot":"","sources":["../../src/lib/icon.stories.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/lib/motion.d.ts
CHANGED
|
@@ -1,4 +1,78 @@
|
|
|
1
1
|
import * as Motion from 'framer-motion';
|
|
2
2
|
export declare function loadMotion(): void;
|
|
3
|
+
/** The framer-motion module (kept for the prototype's call shape). Prefer importing from 'framer-motion'. */
|
|
3
4
|
export declare function useMotion(): typeof Motion;
|
|
5
|
+
/** Spring presets. `snappy` for small controls, `smooth` for layout and panels, `tray` for sheets and
|
|
6
|
+
* height morphs, `bouncy` for rare, celebratory moments only. */
|
|
7
|
+
export declare const springs: {
|
|
8
|
+
readonly snappy: {
|
|
9
|
+
readonly type: "spring";
|
|
10
|
+
readonly stiffness: 620;
|
|
11
|
+
readonly damping: 48;
|
|
12
|
+
readonly mass: 1;
|
|
13
|
+
};
|
|
14
|
+
readonly smooth: {
|
|
15
|
+
readonly type: "spring";
|
|
16
|
+
readonly stiffness: 380;
|
|
17
|
+
readonly damping: 40;
|
|
18
|
+
readonly mass: 1;
|
|
19
|
+
};
|
|
20
|
+
readonly tray: {
|
|
21
|
+
readonly type: "spring";
|
|
22
|
+
readonly stiffness: 520;
|
|
23
|
+
readonly damping: 44;
|
|
24
|
+
readonly mass: 1;
|
|
25
|
+
};
|
|
26
|
+
readonly bouncy: {
|
|
27
|
+
readonly type: "spring";
|
|
28
|
+
readonly stiffness: 520;
|
|
29
|
+
readonly damping: 26;
|
|
30
|
+
readonly mass: 1;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type SpringName = keyof typeof springs;
|
|
34
|
+
/** CSS `transition` shorthand for a spring preset: `transition: springCss('transform', 'smooth')`. */
|
|
35
|
+
export declare function springCss(property: string | string[], spring?: SpringName): string;
|
|
36
|
+
/** Direction of travel between two ordered positions: -1 back/left, 1 forward/right, 0 none. */
|
|
37
|
+
export declare function direction(from: number, to: number): -1 | 0 | 1;
|
|
38
|
+
/** Tweens for the few things that shouldn't spring: opacity/blur fades. Exits are quicker than entries —
|
|
39
|
+
* what leaves gets out of the way; what arrives takes its time. */
|
|
40
|
+
export declare const fades: {
|
|
41
|
+
readonly in: {
|
|
42
|
+
readonly duration: 0.22;
|
|
43
|
+
readonly ease: readonly [0.22, 1, 0.36, 1];
|
|
44
|
+
};
|
|
45
|
+
readonly out: {
|
|
46
|
+
readonly duration: 0.14;
|
|
47
|
+
readonly ease: readonly [0.4, 0, 1, 1];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
/** A spring preset, or an instant transition when the user prefers reduced motion. */
|
|
51
|
+
export declare function useSpringTransition(name?: SpringName): {
|
|
52
|
+
readonly type: "spring";
|
|
53
|
+
readonly stiffness: 620;
|
|
54
|
+
readonly damping: 48;
|
|
55
|
+
readonly mass: 1;
|
|
56
|
+
} | {
|
|
57
|
+
readonly type: "spring";
|
|
58
|
+
readonly stiffness: 380;
|
|
59
|
+
readonly damping: 40;
|
|
60
|
+
readonly mass: 1;
|
|
61
|
+
} | {
|
|
62
|
+
readonly type: "spring";
|
|
63
|
+
readonly stiffness: 520;
|
|
64
|
+
readonly damping: 44;
|
|
65
|
+
readonly mass: 1;
|
|
66
|
+
} | {
|
|
67
|
+
readonly type: "spring";
|
|
68
|
+
readonly stiffness: 520;
|
|
69
|
+
readonly damping: 26;
|
|
70
|
+
readonly mass: 1;
|
|
71
|
+
} | {
|
|
72
|
+
readonly duration: 0;
|
|
73
|
+
};
|
|
74
|
+
/** Direction of the latest change of an ordered value (a tab index, a step): -1, 0 or 1. Stable between
|
|
75
|
+
* changes, so a panel keyed by the value can read it on enter and exit alike. */
|
|
76
|
+
export declare function useDirection(index: number): -1 | 0 | 1;
|
|
77
|
+
export { useReducedMotion } from 'framer-motion';
|
|
4
78
|
//# sourceMappingURL=motion.d.ts.map
|
package/dist/lib/motion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../src/lib/motion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../src/lib/motion.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,wBAAgB,UAAU,SAAyD;AAEnF,6GAA6G;AAC7G,wBAAgB,SAAS,IAAI,OAAO,MAAM,CAEzC;AAED;kEACkE;AAClE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;CAKV,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,sGAAsG;AACtG,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,MAAM,GAAE,UAAqB,UAInF;AAED,gGAAgG;AAChG,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAE9D;AAED;oEACoE;AACpE,eAAO,MAAM,KAAK;;;;;;;;;CAGR,CAAC;AAEX,sFAAsF;AACtF,wBAAgB,mBAAmB,CAAC,IAAI,GAAE,UAAqB;;;;;;;;;;;;;;;;;;;;;;EAG9D;AAED;kFACkF;AAClF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAItD;AAED,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StrokeOptions } from 'perfect-freehand';
|
|
2
|
+
export declare const PFONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
|
|
3
|
+
export declare const PMONO = "ui-monospace,'SF Mono',Menlo,Consolas,monospace";
|
|
4
|
+
export type PencilDrawTool = 'pen' | 'marker' | 'pencil';
|
|
5
|
+
export type PencilTool = PencilDrawTool | 'eraser';
|
|
6
|
+
export interface PencilToolDef {
|
|
7
|
+
opt: StrokeOptions & {
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
alpha: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const PK_TOOLS: Record<PencilDrawTool, PencilToolDef>;
|
|
13
|
+
export declare const PK_INKS: string[];
|
|
14
|
+
export declare const PK_W: {
|
|
15
|
+
m: number;
|
|
16
|
+
d: number;
|
|
17
|
+
}[];
|
|
18
|
+
export type PencilPoint = [number, number, number];
|
|
19
|
+
export interface PencilStroke {
|
|
20
|
+
tool: PencilDrawTool;
|
|
21
|
+
color: string;
|
|
22
|
+
w: number;
|
|
23
|
+
pen: boolean;
|
|
24
|
+
points: PencilPoint[];
|
|
25
|
+
done: boolean;
|
|
26
|
+
}
|
|
27
|
+
export type PKIconName = 'pen' | 'marker' | 'pencil' | 'eraser' | 'undo' | 'redo' | 'trash';
|
|
28
|
+
export declare const PKI: Record<PKIconName, {
|
|
29
|
+
d: string;
|
|
30
|
+
}[]>;
|
|
31
|
+
export declare const PK_LIGHT: Record<string, string>;
|
|
32
|
+
export declare const PK_DARK: Record<string, string>;
|
|
33
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,eAAO,MAAM,KAAK,iGAC8E,CAAC;AACjG,eAAO,MAAM,KAAK,oDAAoD,CAAC;AAEvE,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,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,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5F,eAAO,MAAM,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE;IAAE,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,CAmBnD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAa3C,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAa1C,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Keyboard focus ring for react-aria elements (data-focus-visible). */
|
|
2
|
+
export declare const focusRing = "outline-none data-focus-visible:ring-[3px] data-focus-visible:ring-ring/45";
|
|
3
|
+
/** Floating surface for popovers, menus and select/combobox lists. */
|
|
4
|
+
export declare const popoverSurface = "rounded-[14px] bg-popover text-popover-foreground shadow-[0_12px_40px_rgba(0,0,0,.2),0_0_0_.5px_var(--bl-sep)] outline-none";
|
|
5
|
+
/** Enter/exit for anchored overlays: grows out of the trigger (scale from the anchor point, drifting a few px
|
|
6
|
+
away from it) on the snappy spring; exits are quicker. */
|
|
7
|
+
export declare const popoverMotion: string;
|
|
8
|
+
/** Overlays portal into BLProvider's root (position: relative) and stack above its chrome. */
|
|
9
|
+
export declare const overlayZ = "z-[500]";
|
|
10
|
+
/** BLProvider turns text selection off for the chrome; text fields opt back in. */
|
|
11
|
+
export declare const selectableText = "select-text [-webkit-user-select:text]";
|
|
12
|
+
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/lib/primitives.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,eAAO,MAAM,SAAS,+EAA+E,CAAC;AAEtG,sEAAsE;AACtE,eAAO,MAAM,cAAc,gIACoG,CAAC;AAEhI;6DAC6D;AAC7D,eAAO,MAAM,aAAa,QAIf,CAAC;AAEZ,8FAA8F;AAC9F,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC,mFAAmF;AACnF,eAAO,MAAM,cAAc,2CAA2C,CAAC"}
|
package/dist/lib/qr.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type QRLevel = 'L' | 'M' | 'Q' | 'H';
|
|
2
|
+
export interface QROptions {
|
|
3
|
+
/** Error-correction level (default 'M'). L ~7%, M ~15%, Q ~25%, H ~30% recoverable. */
|
|
4
|
+
level?: QRLevel;
|
|
5
|
+
/** Smallest version (1–40) to consider (default 1). */
|
|
6
|
+
minVersion?: number;
|
|
7
|
+
/** Largest version (1–40) to consider (default 40). */
|
|
8
|
+
maxVersion?: number;
|
|
9
|
+
/** Force a mask pattern 0–7 instead of choosing the lowest penalty (default: auto). */
|
|
10
|
+
mask?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface QRCode {
|
|
13
|
+
/** Modules per side (17 + 4 * version). */
|
|
14
|
+
size: number;
|
|
15
|
+
version: number;
|
|
16
|
+
level: QRLevel;
|
|
17
|
+
mask: number;
|
|
18
|
+
/** `modules[y][x]` is true for a dark module. */
|
|
19
|
+
modules: boolean[][];
|
|
20
|
+
}
|
|
21
|
+
/** Number of 8-bit data codewords (excluding ECC) for this version and level. */
|
|
22
|
+
export declare function numDataCodewords(ver: number, level: QRLevel): number;
|
|
23
|
+
/**
|
|
24
|
+
* Encode `text` (UTF-8, byte mode) as a QR Code, picking the smallest version that fits at the
|
|
25
|
+
* requested error-correction level and the mask with the lowest penalty score.
|
|
26
|
+
*/
|
|
27
|
+
export declare function encodeQR(text: string, opts?: QROptions): QRCode;
|
|
28
|
+
//# sourceMappingURL=qr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qr.d.ts","sourceRoot":"","sources":["../../src/lib/qr.ts"],"names":[],"mappings":"AAuBA,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE5C,MAAM,WAAW,SAAS;IACxB,uFAAuF;IACvF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,MAAM;IACrB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC;CACtB;AAwCD,iFAAiF;AACjF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAGpE;AA4PD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,MAAM,CAwDnE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PointerEvent as ReactPointerEvent } from 'react';
|
|
2
|
+
/** Pointer travel below which a handle drag counts as a tap. */
|
|
3
|
+
export declare const SHEET_TAP_SLOP = 4;
|
|
4
|
+
/** Extra downward travel (past the peek) that folds the surface into its FAB. */
|
|
5
|
+
export declare const SHEET_MINIMIZE_TRAVEL = 96;
|
|
6
|
+
/** Fraction of the open travel past which a release snaps open. */
|
|
7
|
+
export declare const SHEET_OPEN_THRESHOLD = 0.35;
|
|
8
|
+
export interface SheetDragOptions {
|
|
9
|
+
open: boolean;
|
|
10
|
+
onOpenChange: (open: boolean) => void;
|
|
11
|
+
/** Body height visible at rest. */
|
|
12
|
+
peek: number;
|
|
13
|
+
/** Body height when fully open. */
|
|
14
|
+
maxReveal: number;
|
|
15
|
+
/** Allow dragging below the resting height to fold into a FAB. */
|
|
16
|
+
minimizable?: boolean;
|
|
17
|
+
minimized?: boolean;
|
|
18
|
+
onMinimizedChange?: (minimized: boolean) => void;
|
|
19
|
+
}
|
|
20
|
+
export interface SheetDragState {
|
|
21
|
+
/** Live body height while dragging; null when settled. */
|
|
22
|
+
dragReveal: number | null;
|
|
23
|
+
/** Live fold progress (0–1) while dragging below rest; null when settled. */
|
|
24
|
+
dragMinimize: number | null;
|
|
25
|
+
dragging: boolean;
|
|
26
|
+
/** Spread on the handle element. */
|
|
27
|
+
handlers: {
|
|
28
|
+
onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
29
|
+
onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
30
|
+
onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
31
|
+
onPointerCancel: () => void;
|
|
32
|
+
onLostPointerCapture: () => void;
|
|
33
|
+
};
|
|
34
|
+
/** A tap on the handle: toggles open (ignored right after a drag). */
|
|
35
|
+
toggle: () => void;
|
|
36
|
+
}
|
|
37
|
+
export declare function useSheetDrag({ open, onOpenChange, peek, maxReveal, minimizable, onMinimizedChange, }: SheetDragOptions): SheetDragState;
|
|
38
|
+
//# sourceMappingURL=sheet-drag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-drag.d.ts","sourceRoot":"","sources":["../../src/lib/sheet-drag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQjF,gEAAgE;AAChE,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,iFAAiF;AACjF,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,mEAAmE;AACnE,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,6EAA6E;IAC7E,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,oCAAoC;IACpC,QAAQ,EAAE;QACR,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC/D,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC/D,WAAW,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC7D,eAAe,EAAE,MAAM,IAAI,CAAC;QAC5B,oBAAoB,EAAE,MAAM,IAAI,CAAC;KAClC,CAAC;IACF,sEAAsE;IACtE,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,WAAmB,EACnB,iBAAiB,GAClB,EAAE,gBAAgB,GAAG,cAAc,CA4EnC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type SyntaxTokenType = 'plain' | 'comment' | 'string' | 'number' | 'keyword' | 'type' | 'function' | 'constant' | 'operator';
|
|
2
|
+
/** A labelled range of the source: half-open UTF-16 offsets (gpu-lexer's output shape). */
|
|
3
|
+
export interface SyntaxSpan {
|
|
4
|
+
type: SyntaxTokenType;
|
|
5
|
+
start: number;
|
|
6
|
+
end: number;
|
|
7
|
+
}
|
|
8
|
+
/** A labelled piece of one line. */
|
|
9
|
+
export interface SyntaxToken {
|
|
10
|
+
type: SyntaxTokenType;
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
/** What produced the tokens: `gpu` (gpu-lexer on WebGPU), `fallback` (no hardware WebGPU, or forced), `pending`
|
|
14
|
+
(plain text shown while the adapter probe or the GPU works), `none` (plain-text language or highlighting
|
|
15
|
+
disabled). */
|
|
16
|
+
export type SyntaxHighlighter = 'gpu' | 'fallback' | 'pending' | 'none';
|
|
17
|
+
export interface SyntaxResult {
|
|
18
|
+
spans: SyntaxSpan[];
|
|
19
|
+
highlighter: 'gpu' | 'fallback';
|
|
20
|
+
}
|
|
21
|
+
/** Which lexer to use. `auto` (default): gpu-lexer on a hardware WebGPU adapter, the fallback at once when the
|
|
22
|
+
only adapter is a software one (SwiftShader, llvmpipe, …), there is none, or the probe times out. `gpu`:
|
|
23
|
+
gpu-lexer whenever WebGPU has any adapter, software included. `fallback`: always the fallback. */
|
|
24
|
+
export type SyntaxEngine = 'auto' | 'gpu' | 'fallback';
|
|
25
|
+
/** What the one-time adapter probe found: a `hardware` adapter, only a `software`/fallback one (or the probe timed
|
|
26
|
+
out), or `none` (no `navigator.gpu`, no adapter, insecure context, SSR). */
|
|
27
|
+
export type WebGPUProbe = 'hardware' | 'software' | 'none';
|
|
28
|
+
/** Probe WebGPU once per page (cached): is there an adapter, and is it real hardware? Settles within ~2.5 s; a probe
|
|
29
|
+
that takes longer counts as `software` (so `auto` falls back), and a late answer still updates later lexes. */
|
|
30
|
+
export declare function probeWebGPU(): Promise<WebGPUProbe>;
|
|
31
|
+
/** Whether `engine` (default `auto`) should use gpu-lexer here. `false` when there is no `navigator.gpu`
|
|
32
|
+
(Firefox/Safari without it, insecure contexts, SSR), the probe found no adapter, or a lex found WebGPU
|
|
33
|
+
unavailable — and, for `auto`, when the probe found only a software adapter. `true` means "worth trying" while
|
|
34
|
+
the probe is still pending. */
|
|
35
|
+
export declare function webgpuSupported(engine?: SyntaxEngine): boolean;
|
|
36
|
+
/** A finished result for this source, if one is cached: the GPU's, or the fallback's once `engine` is known not to
|
|
37
|
+
use the GPU here. */
|
|
38
|
+
export declare function peekSyntax(code: string, engine?: SyntaxEngine): SyntaxResult | undefined;
|
|
39
|
+
/** Re-cut keyword/type/function/constant spans so operators read as `operator` and punctuation and whitespace as
|
|
40
|
+
plain (dropped); comment, string, number and operator spans pass through. Output is sorted and non-overlapping. */
|
|
41
|
+
export declare function normalizeSpans(code: string, spans: readonly SyntaxSpan[]): SyntaxSpan[];
|
|
42
|
+
/** Lex `code` with `engine` (default `auto`): gpu-lexer when the engine and the one-time adapter probe allow it,
|
|
43
|
+
else the small fallback. Cached and de-duplicated. */
|
|
44
|
+
export declare function lexSyntax(code: string, engine?: SyntaxEngine): Promise<SyntaxResult>;
|
|
45
|
+
/** The fallback result, synchronously (cached). */
|
|
46
|
+
export declare function fallbackResult(code: string): SyntaxResult;
|
|
47
|
+
export declare function fallbackSpans(code: string): SyntaxSpan[];
|
|
48
|
+
/** Split `code` into lines of tokens (spans cut at newlines; gaps are plain). A single trailing newline is dropped,
|
|
49
|
+
so a file ending in `\n` doesn't show an empty last line. */
|
|
50
|
+
export declare function tokenizeLines(code: string, spans: readonly SyntaxSpan[] | null): SyntaxToken[][];
|
|
51
|
+
/** File extension or name → a language id (for labels and `data-language`; gpu-lexer itself needs none). */
|
|
52
|
+
export declare function languageFromPath(path: string): string;
|
|
53
|
+
/** Languages that are never lexed. */
|
|
54
|
+
export declare const PLAIN_LANGUAGES: Set<string>;
|
|
55
|
+
//# sourceMappingURL=syntax.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syntax.d.ts","sourceRoot":"","sources":["../../src/lib/syntax.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,eAAe,GACvB,OAAO,GACP,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEf,2FAA2F;AAC3F,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;iBAEiB;AACjB,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,WAAW,EAAE,KAAK,GAAG,UAAU,CAAC;CACjC;AAED;;qGAEqG;AACrG,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,CAAC;AAIvD;+EAC+E;AAC/E,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;AAuC3D;kHACkH;AAClH,wBAAgB,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAoBlD;AAED;;;kCAGkC;AAClC,wBAAgB,eAAe,CAAC,MAAM,GAAE,YAAqB,GAAG,OAAO,CAItE;AAsBD;wBACwB;AACxB,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAE,YAAqB,GAAG,YAAY,GAAG,SAAS,CAGhG;AA+BD;sHACsH;AACtH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,CAoCvF;AAgDD;yDACyD;AACzD,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,GAAE,YAAqB,GAAG,OAAO,CAAC,YAAY,CAAC,CAgB5F;AAED,mDAAmD;AACnD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAMzD;AAgBD,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,EAAE,CA0BxD;AAID;gEACgE;AAChE,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,GAAG,WAAW,EAAE,EAAE,CAuBhG;AAED,4GAA4G;AAC5G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWrD;AAED,sCAAsC;AACtC,eAAO,MAAM,eAAe,aAAyD,CAAC"}
|
package/dist/lib/theme.d.ts
CHANGED
|
@@ -5,10 +5,20 @@ export declare const chromeStore: {
|
|
|
5
5
|
set(v: boolean): void;
|
|
6
6
|
};
|
|
7
7
|
export declare function useChromeHidden(): boolean;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
8
|
+
export declare const BLSafeCtx: import('react').Context<number>;
|
|
9
|
+
export declare const BLStickyCtx: import('react').Context<number>;
|
|
10
10
|
export declare const chromeOffset: (top: number, hidden: boolean) => number;
|
|
11
|
-
export
|
|
11
|
+
export type Appearance = 'light' | 'dark';
|
|
12
|
+
export declare const AppearanceContext: import('react').Context<Appearance | undefined>;
|
|
13
|
+
export declare function AppearanceProvider({ value, children }: {
|
|
14
|
+
value: Appearance | undefined;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const useAppearance: () => Appearance | undefined;
|
|
18
|
+
export declare const darkVars: (tint: string) => Record<string, string>;
|
|
19
|
+
export declare const lightVars: (tint: string) => Record<string, string>;
|
|
20
|
+
export interface BLProviderProps {
|
|
21
|
+
/** Defaults to the ambient `AppearanceProvider` value, else light. */
|
|
12
22
|
dark?: boolean;
|
|
13
23
|
tint?: string;
|
|
14
24
|
/** Dynamic Island floor. `true` → 59px, a number → that many px. */
|
|
@@ -17,5 +27,5 @@ export interface TouchKitProviderProps {
|
|
|
17
27
|
className?: string;
|
|
18
28
|
style?: CSSProperties;
|
|
19
29
|
}
|
|
20
|
-
export declare function
|
|
30
|
+
export declare function BLProvider({ dark: darkProp, tint, safeTop, children, className, style }: BLProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
31
|
//# sourceMappingURL=theme.d.ts.map
|
package/dist/lib/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/lib/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/lib/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+D,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOxH,eAAO,MAAM,WAAW;;kBAEJ,OAAO,KAAK,IAAI;WAC3B,OAAO;CACf,CAAC;AAEF,wBAAgB,eAAe,YAQ9B;AAID,eAAO,MAAM,SAAS,iCAAmB,CAAC;AAK1C,eAAO,MAAM,WAAW,iCAAmB,CAAC;AAC5C,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,EAAE,QAAQ,OAAO,WAA6C,CAAC;AAMvG,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAC1C,eAAO,MAAM,iBAAiB,iDAAmD,CAAC;AAClF,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,UAAU,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAE9G;AACD,eAAO,MAAM,aAAa,8BAAsC,CAAC;AAEjE,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAM3D,CAAC;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC;AAEH,MAAM,WAAW,eAAe;IAC9B,sEAAsE;IACtE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CAiCpH"}
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
3
|
export declare const FONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
|
|
4
|
+
/** @deprecated Legacy iOS curve. New motion uses the spring tokens (lib/motion.ts `springs`, CSS `--ease-spring-*`). */
|
|
4
5
|
export declare const EASE = "cubic-bezier(.32,.72,0,1)";
|
|
5
6
|
export declare const BARH = 52;
|
|
6
7
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/lib/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAgB7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,eAAO,MAAM,IAAI,iGAC+E,CAAC;AACjG,wHAAwH;AACxH,eAAO,MAAM,IAAI,8BAA8B,CAAC;AAChD,eAAO,MAAM,IAAI,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const WIC: Record<string, {
|
|
3
|
+
d: string;
|
|
4
|
+
}[]>;
|
|
5
|
+
export type WIconName = keyof typeof WIC | (string & {});
|
|
6
|
+
export interface WIconProps {
|
|
7
|
+
name: WIconName;
|
|
8
|
+
size?: number;
|
|
9
|
+
sw?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
export declare function WIcon({ name, size, sw, className, style }: WIconProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/** Square icon button: transparent until hovered (`wb-hl`), filled while `active`. */
|
|
15
|
+
export declare const iconBtnVariants: (props?: ({
|
|
16
|
+
active?: boolean | null | undefined;
|
|
17
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
|
+
export interface IconBtnProps {
|
|
19
|
+
name: WIconName;
|
|
20
|
+
label: string;
|
|
21
|
+
onPress?: () => void;
|
|
22
|
+
size?: number;
|
|
23
|
+
active?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
export declare function IconBtn({ name, label, onPress, size, active, className, style }: IconBtnProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,QAAA,MAAM,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,CAwCxC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEzD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AACD,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,UAAU,2CAwBrE;AAED,sFAAsF;AACtF,eAAO,MAAM,eAAe;;8EAQ1B,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,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"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PointerEvent as ReactPointerEvent } from 'react';
|
|
2
|
+
import { springs, SpringName } from '../motion';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export { springs, type SpringName };
|
|
5
|
+
/** Whether the user asked for reduced motion (checked when an animation starts, so it follows the setting live). */
|
|
6
|
+
export declare function prefersReducedMotion(): boolean;
|
|
7
|
+
export type FlipSnapshot = Map<Element, DOMRect>;
|
|
8
|
+
/** Records where elements are now, before a change moves them. */
|
|
9
|
+
export declare function flipSnapshot(elements: Iterable<Element>): FlipSnapshot;
|
|
10
|
+
/**
|
|
11
|
+
* Plays elements from where `snapshot` saw them to where they are now, on a spring. `relativeTo` pairs a
|
|
12
|
+
* container's before/after rects so children move relative to it (a card that is itself resizing).
|
|
13
|
+
* Interrupting is safe: a snapshot taken mid-flight includes the running transform.
|
|
14
|
+
*/
|
|
15
|
+
export declare function flipPlay(snapshot: FlipSnapshot, { spring, relativeTo, fade, lift, }?: {
|
|
16
|
+
spring?: SpringName;
|
|
17
|
+
relativeTo?: [DOMRect, DOMRect];
|
|
18
|
+
fade?: boolean;
|
|
19
|
+
lift?: boolean;
|
|
20
|
+
}): void;
|
|
21
|
+
export declare const SHEET_TAP_SLOP = 4;
|
|
22
|
+
export declare const SHEET_MINIMIZE_TRAVEL = 96;
|
|
23
|
+
export interface SpringSheetDragOptions {
|
|
24
|
+
open: boolean;
|
|
25
|
+
onOpenChange: (open: boolean) => void;
|
|
26
|
+
/** Body height visible at rest. */
|
|
27
|
+
peek: number;
|
|
28
|
+
/** Body height when fully open. */
|
|
29
|
+
maxReveal: number;
|
|
30
|
+
/** Extra resting heights between `peek` and `maxReveal` (px of body). */
|
|
31
|
+
detents?: number[];
|
|
32
|
+
/** Allow dragging below the resting height to fold into a FAB. */
|
|
33
|
+
minimizable?: boolean;
|
|
34
|
+
minimized?: boolean;
|
|
35
|
+
onMinimizedChange?: (minimized: boolean) => void;
|
|
36
|
+
/** Spring the body settles with (default `tray`). */
|
|
37
|
+
spring?: SpringName;
|
|
38
|
+
}
|
|
39
|
+
export interface SpringSheetDragState {
|
|
40
|
+
/** The body height to draw this frame (follows the finger, then springs to rest). */
|
|
41
|
+
reveal: number;
|
|
42
|
+
/** 0–1 fold towards the FAB to draw this frame. */
|
|
43
|
+
minimize: number;
|
|
44
|
+
/** A finger is on the handle. */
|
|
45
|
+
dragging: boolean;
|
|
46
|
+
/** The spring is carrying the body to rest after a release or a state change. */
|
|
47
|
+
settling: boolean;
|
|
48
|
+
/** The middle detent the sheet rests at (px), or null at peek/open. */
|
|
49
|
+
detent: number | null;
|
|
50
|
+
/** Spread on the handle element. */
|
|
51
|
+
handlers: {
|
|
52
|
+
onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
53
|
+
onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
54
|
+
onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
55
|
+
onPointerCancel: () => void;
|
|
56
|
+
onLostPointerCapture: () => void;
|
|
57
|
+
};
|
|
58
|
+
/** A tap on the handle: toggles open (ignored right after a drag). */
|
|
59
|
+
toggle: () => void;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The grow / snap / fold gesture behind FloatingSheet's cap and Composer's draggable bump. The body follows
|
|
63
|
+
* the pointer one-to-one (rubber-banding past its ends); on release the pointer's velocity is projected
|
|
64
|
+
* forward to pick a stop (peek, a detent, open, or the FAB) and a spring carries the body there *from that
|
|
65
|
+
* velocity*, so a flick keeps its momentum. Grabbing mid-flight catches the body where it is. State changes
|
|
66
|
+
* from outside (a tap, Escape, `peek` changing) spring too. Snaps tick.
|
|
67
|
+
*/
|
|
68
|
+
export declare function useSpringSheetDrag({ open, onOpenChange, peek, maxReveal, detents, minimizable, minimized, onMinimizedChange, spring, }: SpringSheetDragOptions): SpringSheetDragState;
|
|
69
|
+
export interface MorphTextProps {
|
|
70
|
+
children: string;
|
|
71
|
+
className?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Text that morphs rather than swaps: letters both labels share slide to their new places, the rest fade
|
|
75
|
+
* and blur in/out (Continue → Confirm). Keep it to short labels — pills, buttons, statuses.
|
|
76
|
+
*/
|
|
77
|
+
export declare function MorphText({ children, className }: MorphTextProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export interface AutoHeightProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
79
|
+
spring?: SpringName;
|
|
80
|
+
}
|
|
81
|
+
/** A box whose height springs to fit its content whenever the content changes size. */
|
|
82
|
+
export declare function AutoHeight({ spring, className, style, children, ...props }: AutoHeightProps): import("react/jsx-runtime").JSX.Element;
|
|
83
|
+
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/motion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAgD,KAAK,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7G,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,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e,2CA4BpG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Appearance } from '../theme';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare function workbenchVars(tint?: string, appearance?: Appearance): React.CSSProperties;
|
|
4
|
+
/** Root classes for an appearance: `wb-dark`/`wb-light` key the package CSS, plus the matching color-scheme. */
|
|
5
|
+
export declare const workbenchAppearanceClass: (appearance: Appearance) => "wb-light scheme-light" | "wb-dark scheme-dark";
|
|
6
|
+
export declare const WorkbenchAppearanceProvider: React.Provider<Appearance | undefined>;
|
|
7
|
+
/** The explicit prop, else the ambient `AppearanceProvider`, else Workbench's dark default. */
|
|
8
|
+
export declare function useWorkbenchAppearance(explicit?: Appearance): Appearance;
|
|
9
|
+
export interface WorkbenchThemeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
tint?: string;
|
|
11
|
+
/** Defaults to the ambient `AppearanceProvider` value, else dark. */
|
|
12
|
+
appearance?: Appearance;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare function WorkbenchTheme({ tint, appearance: appearanceProp, className, style, children, ...rest }: WorkbenchThemeProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,EAAiB,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAwD1D,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,GAAE,UAAmB,GAAG,KAAK,CAAC,aAAa,CAGjG;AAED,gHAAgH;AAChH,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU,oDACW,CAAC;AAK3E,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,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAY5H"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { cn } from '../utils';
|
|
2
|
+
export { cn };
|
|
3
|
+
export declare const WFONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
|
|
4
|
+
export declare const MONO = "ui-monospace,'SF Mono',Menlo,Consolas,monospace";
|
|
5
|
+
export declare const EASE = "cubic-bezier(.32,.72,0,1)";
|
|
6
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,eAAO,MAAM,KAAK,iGAC8E,CAAC;AACjG,eAAO,MAAM,IAAI,oDAAoD,CAAC;AACtE,eAAO,MAAM,IAAI,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|