@brett_lamy/ui 5.17.0 → 6.0.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 +167 -69
- package/dist/assets/layout-worker-MHKJBZ5g.js +26 -0
- package/dist/cloudflare.d.ts +15 -0
- package/dist/cloudflare.d.ts.map +1 -0
- package/dist/cloudflare.js +9 -0
- package/dist/components/adaptive-pane.d.ts +4983 -18
- package/dist/components/adaptive-pane.d.ts.map +1 -1
- package/dist/components/adaptive-pane.js +273 -121
- package/dist/components/animated-height.d.ts +6 -20
- package/dist/components/animated-height.d.ts.map +1 -1
- package/dist/components/animated-height.js +50 -71
- package/dist/components/artifact-chat-container.d.ts +108 -60
- package/dist/components/artifact-chat-container.d.ts.map +1 -1
- package/dist/components/artifact-chat-container.js +301 -160
- package/dist/components/avatar-group.d.ts +20 -0
- package/dist/components/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar-group.js +70 -0
- package/dist/components/avatar.d.ts +19 -34
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +66 -94
- package/dist/components/badge.d.ts +5 -4
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +30 -17
- package/dist/components/breadcrumb.d.ts +33 -41
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +210 -234
- package/dist/components/button.d.ts +8 -9
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +35 -37
- package/dist/components/calendar.d.ts +57 -20
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +181 -74
- package/dist/components/call-stack.d.ts +22 -16
- package/dist/components/call-stack.d.ts.map +1 -1
- package/dist/components/call-stack.js +191 -202
- package/dist/components/canvas.d.ts +71 -59
- package/dist/components/canvas.d.ts.map +1 -1
- package/dist/components/canvas.js +202 -310
- package/dist/components/card.d.ts +13 -8
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +45 -37
- package/dist/components/celebrate.d.ts +8 -5
- package/dist/components/celebrate.d.ts.map +1 -1
- package/dist/components/celebrate.js +48 -38
- package/dist/components/checkbox.d.ts +13 -8
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +45 -39
- package/dist/components/cloudflare-diagram.d.ts +112 -0
- package/dist/components/cloudflare-diagram.d.ts.map +1 -0
- package/dist/components/cloudflare-diagram.js +980 -0
- package/dist/components/code-editor.d.ts +51 -38
- package/dist/components/code-editor.d.ts.map +1 -1
- package/dist/components/code-editor.js +267 -272
- package/dist/components/color-picker.d.ts +78 -38
- package/dist/components/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker.js +261 -105
- package/dist/components/combobox.d.ts +79 -18
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/combobox.js +234 -51
- package/dist/components/command-menu.d.ts +145 -181
- package/dist/components/command-menu.d.ts.map +1 -1
- package/dist/components/command-menu.js +513 -802
- package/dist/components/composer/composer-cards.d.ts +15 -8
- package/dist/components/composer/composer-cards.d.ts.map +1 -1
- package/dist/components/composer/composer-cards.js +225 -203
- package/dist/components/composer/composer-context.d.ts +46 -0
- package/dist/components/composer/composer-context.d.ts.map +1 -0
- package/dist/components/composer/composer-context.js +28 -0
- package/dist/components/composer/composer-files.d.ts +13 -3
- package/dist/components/composer/composer-files.d.ts.map +1 -1
- package/dist/components/composer/composer-files.js +61 -22
- package/dist/components/composer/composer.d.ts +215 -222
- package/dist/components/composer/composer.d.ts.map +1 -1
- package/dist/components/composer/composer.js +895 -1216
- package/dist/components/composer/index.d.ts +5 -0
- package/dist/components/composer/index.d.ts.map +1 -0
- package/dist/components/conversation.d.ts +78 -75
- package/dist/components/conversation.d.ts.map +1 -1
- package/dist/components/conversation.js +244 -292
- package/dist/components/cron-editor.d.ts +19 -12
- package/dist/components/cron-editor.d.ts.map +1 -1
- package/dist/components/cron-editor.js +191 -197
- package/dist/components/data-table.d.ts +7150 -0
- package/dist/components/data-table.d.ts.map +1 -0
- package/dist/components/data-table.js +399 -0
- package/dist/components/date-input.d.ts +26 -0
- package/dist/components/date-input.d.ts.map +1 -0
- package/dist/components/date-input.js +88 -0
- package/dist/components/date-picker.d.ts +43 -33
- package/dist/components/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker.js +148 -84
- package/dist/components/debug-toolbar.d.ts +35 -13
- package/dist/components/debug-toolbar.d.ts.map +1 -1
- package/dist/components/debug-toolbar.js +82 -70
- package/dist/components/diagram-frame.d.ts +127 -0
- package/dist/components/diagram-frame.d.ts.map +1 -0
- package/dist/components/diagram-frame.js +305 -0
- package/dist/components/diagram.d.ts +217 -0
- package/dist/components/diagram.d.ts.map +1 -0
- package/dist/components/diagram.js +1724 -0
- package/dist/components/dialog.d.ts +89 -32
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +244 -94
- package/dist/components/disclosure.d.ts +28 -18
- package/dist/components/disclosure.d.ts.map +1 -1
- package/dist/components/disclosure.js +86 -47
- package/dist/components/dropdown-menu.d.ts +106 -26
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +290 -90
- package/dist/components/empty-state.d.ts +27 -0
- package/dist/components/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state.js +93 -0
- package/dist/components/field.d.ts +25 -0
- package/dist/components/field.d.ts.map +1 -0
- package/dist/components/field.js +60 -0
- package/dist/components/file-upload.d.ts +83 -71
- package/dist/components/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload.js +322 -355
- package/dist/components/filmstrip.d.ts +6 -2
- package/dist/components/filmstrip.d.ts.map +1 -1
- package/dist/components/filmstrip.js +35 -28
- package/dist/components/filter-input.d.ts +17 -8
- package/dist/components/filter-input.d.ts.map +1 -1
- package/dist/components/filter-input.js +82 -80
- package/dist/components/filter.d.ts +83 -59
- package/dist/components/filter.d.ts.map +1 -1
- package/dist/components/filter.js +684 -592
- package/dist/components/flame-chart.d.ts +78 -0
- package/dist/components/flame-chart.d.ts.map +1 -0
- package/dist/components/flame-chart.js +717 -0
- package/dist/components/floating-sheet.d.ts +120 -76
- package/dist/components/floating-sheet.d.ts.map +1 -1
- package/dist/components/floating-sheet.js +315 -229
- package/dist/components/font-picker.d.ts +81 -33
- package/dist/components/font-picker.d.ts.map +1 -1
- package/dist/components/font-picker.js +450 -306
- package/dist/components/hover-card.d.ts +23 -63
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +59 -138
- package/dist/components/index-bar.d.ts +43 -30
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/index-bar.js +140 -206
- package/dist/components/input.d.ts +27 -6
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +61 -20
- package/dist/components/kbd.d.ts +6 -3
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +33 -10
- package/dist/components/label.d.ts +5 -5
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +10 -10
- package/dist/components/list.d.ts +78 -61
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +434 -456
- package/dist/components/listbox.d.ts +30 -0
- package/dist/components/listbox.d.ts.map +1 -0
- package/dist/components/listbox.js +136 -0
- package/dist/components/log-list.d.ts +30 -35
- package/dist/components/log-list.d.ts.map +1 -1
- package/dist/components/log-list.js +212 -446
- package/dist/components/markdown-editor.d.ts +66 -32
- package/dist/components/markdown-editor.d.ts.map +1 -1
- package/dist/components/markdown-editor.js +381 -185
- package/dist/components/markdown-view.d.ts +27 -22
- package/dist/components/markdown-view.d.ts.map +1 -1
- package/dist/components/markdown-view.js +22 -118
- package/dist/components/message-scroller.d.ts +23 -11
- package/dist/components/message-scroller.d.ts.map +1 -1
- package/dist/components/message-scroller.js +100 -235
- package/dist/components/morph.d.ts +20 -26
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/morph.js +61 -55
- package/dist/components/natural-time-input.d.ts +49 -0
- package/dist/components/natural-time-input.d.ts.map +1 -0
- package/dist/components/natural-time-input.js +213 -0
- package/dist/components/navigation-stack.d.ts +24368 -73
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/navigation-stack.js +364 -329
- package/dist/components/now-playing-bars.d.ts +7 -7
- package/dist/components/now-playing-bars.d.ts.map +1 -1
- package/dist/components/now-playing-bars.js +6 -5
- package/dist/components/number-morph.d.ts +6 -6
- package/dist/components/number-morph.d.ts.map +1 -1
- package/dist/components/number-morph.js +70 -64
- package/dist/components/object-tree.d.ts +29 -14
- package/dist/components/object-tree.d.ts.map +1 -1
- package/dist/components/object-tree.js +256 -295
- package/dist/components/object-value.d.ts +6 -3
- package/dist/components/object-value.d.ts.map +1 -1
- package/dist/components/object-value.js +24 -25
- package/dist/components/open-code.d.ts +25 -10
- package/dist/components/open-code.d.ts.map +1 -1
- package/dist/components/open-code.js +191 -155
- package/dist/components/pencilkit/annotator-engine.d.ts +6 -0
- package/dist/components/pencilkit/annotator-engine.d.ts.map +1 -0
- package/dist/components/pencilkit/annotator-engine.js +10 -0
- package/dist/components/pencilkit/constants.d.ts +38 -20
- package/dist/components/pencilkit/constants.d.ts.map +1 -1
- package/dist/components/pencilkit/constants.js +56 -29
- package/dist/components/pencilkit/image-annotator.d.ts +50 -0
- package/dist/components/pencilkit/image-annotator.d.ts.map +1 -0
- package/dist/components/pencilkit/image-annotator.js +171 -0
- package/dist/components/pencilkit/index.d.ts +13 -0
- package/dist/components/pencilkit/index.d.ts.map +1 -0
- package/dist/components/pencilkit/index.js +7 -0
- package/dist/components/pencilkit/pencil-canvas.d.ts +27 -14
- package/dist/components/pencilkit/pencil-canvas.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.js +141 -84
- package/dist/components/pencilkit/pencil-toolbar.d.ts +62 -51
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.js +255 -149
- package/dist/components/pencilkit/pencilkit-annotator.d.ts +5 -5
- package/dist/components/pencilkit/pencilkit-annotator.d.ts.map +1 -1
- package/dist/components/pencilkit/pencilkit-annotator.js +44 -31
- package/dist/components/pencilkit/stroke-path.d.ts +6 -6
- package/dist/components/pencilkit/stroke-path.d.ts.map +1 -1
- package/dist/components/pencilkit/stroke-path.js +14 -15
- package/dist/components/pencilkit/use-pencil-history.d.ts +7 -4
- package/dist/components/pencilkit/use-pencil-history.d.ts.map +1 -1
- package/dist/components/pencilkit/use-pencil-history.js +29 -16
- package/dist/components/popover.d.ts +28 -14
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +62 -27
- package/dist/components/progress-ring.d.ts +35 -42
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/progress-ring.js +77 -82
- package/dist/components/progress-stepper.d.ts +38 -17
- package/dist/components/progress-stepper.d.ts.map +1 -1
- package/dist/components/progress-stepper.js +123 -51
- package/dist/components/progress.d.ts +15 -6
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +48 -30
- package/dist/components/qr-code.d.ts +30 -0
- package/dist/components/qr-code.d.ts.map +1 -0
- package/dist/components/qr-code.js +90 -0
- package/dist/components/radio-group.d.ts +11 -7
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +27 -23
- package/dist/components/replay-debugger/cache.d.ts +181 -0
- package/dist/components/replay-debugger/cache.d.ts.map +1 -0
- package/dist/components/replay-debugger/cache.js +348 -0
- package/dist/components/replay-debugger/code.d.ts +16 -0
- package/dist/components/replay-debugger/code.d.ts.map +1 -0
- package/dist/components/replay-debugger/code.js +171 -0
- package/dist/components/replay-debugger/console.d.ts +12 -0
- package/dist/components/replay-debugger/console.d.ts.map +1 -0
- package/dist/components/replay-debugger/console.js +144 -0
- package/dist/components/replay-debugger/debugger.d.ts +18 -0
- package/dist/components/replay-debugger/debugger.d.ts.map +1 -0
- package/dist/components/replay-debugger/debugger.js +254 -0
- package/dist/components/replay-debugger/full-stack.d.ts +11 -0
- package/dist/components/replay-debugger/full-stack.d.ts.map +1 -0
- package/dist/components/replay-debugger/full-stack.js +163 -0
- package/dist/components/replay-debugger/host.d.ts +298 -0
- package/dist/components/replay-debugger/host.d.ts.map +1 -0
- package/dist/components/replay-debugger/index.d.ts +22 -0
- package/dist/components/replay-debugger/index.d.ts.map +1 -0
- package/dist/components/replay-debugger/index.js +20 -0
- package/dist/components/replay-debugger/line-panels.d.ts +15 -0
- package/dist/components/replay-debugger/line-panels.d.ts.map +1 -0
- package/dist/components/replay-debugger/line-panels.js +199 -0
- package/dist/components/replay-debugger/model.d.ts +338 -0
- package/dist/components/replay-debugger/model.d.ts.map +1 -0
- package/dist/components/replay-debugger/model.js +741 -0
- package/dist/components/replay-debugger/replay-view.d.ts +19 -0
- package/dist/components/replay-debugger/replay-view.d.ts.map +1 -0
- package/dist/components/replay-debugger/replay-view.js +51 -0
- package/dist/components/replay-debugger/request-points.d.ts +20 -0
- package/dist/components/replay-debugger/request-points.d.ts.map +1 -0
- package/dist/components/replay-debugger/request-points.js +200 -0
- package/dist/components/replay-debugger/seed-stops.d.ts +9 -0
- package/dist/components/replay-debugger/seed-stops.d.ts.map +1 -0
- package/dist/components/replay-debugger/seed-stops.js +12 -0
- package/dist/components/replay-debugger/session-debugger.d.ts +20 -0
- package/dist/components/replay-debugger/session-debugger.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-debugger.js +94 -0
- package/dist/components/replay-debugger/session-flame.d.ts +21 -0
- package/dist/components/replay-debugger/session-flame.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-flame.js +90 -0
- package/dist/components/replay-debugger/session-timeline.d.ts +30 -0
- package/dist/components/replay-debugger/session-timeline.d.ts.map +1 -0
- package/dist/components/replay-debugger/session-timeline.js +102 -0
- package/dist/components/replay-debugger/session.d.ts +145 -0
- package/dist/components/replay-debugger/session.d.ts.map +1 -0
- package/dist/components/replay-debugger/session.js +147 -0
- package/dist/components/replay-debugger/source-tree.d.ts +15 -0
- package/dist/components/replay-debugger/source-tree.d.ts.map +1 -0
- package/dist/components/replay-debugger/source-tree.js +47 -0
- package/dist/components/replay-debugger/sources.d.ts +14 -0
- package/dist/components/replay-debugger/sources.d.ts.map +1 -0
- package/dist/components/replay-debugger/sources.js +92 -0
- package/dist/components/replay-debugger/stack.d.ts +25 -0
- package/dist/components/replay-debugger/stack.d.ts.map +1 -0
- package/dist/components/replay-debugger/stack.js +243 -0
- package/dist/components/replay-debugger/styles.d.ts +7 -0
- package/dist/components/replay-debugger/styles.d.ts.map +1 -0
- package/dist/components/replay-debugger/timeline.d.ts +8 -0
- package/dist/components/replay-debugger/timeline.d.ts.map +1 -0
- package/dist/components/replay-debugger/timeline.js +92 -0
- package/dist/components/replay-debugger/toolbar.d.ts +27 -0
- package/dist/components/replay-debugger/toolbar.d.ts.map +1 -0
- package/dist/components/replay-debugger/toolbar.js +177 -0
- package/dist/components/replay-debugger/use-model.d.ts +4 -0
- package/dist/components/replay-debugger/use-model.d.ts.map +1 -0
- package/dist/components/replay-debugger/use-model.js +8 -0
- package/dist/components/replay-debugger/values.d.ts +21 -0
- package/dist/components/replay-debugger/values.d.ts.map +1 -0
- package/dist/components/replay-debugger/values.js +189 -0
- package/dist/components/replay-preview.d.ts +2 -3
- package/dist/components/replay-preview.d.ts.map +1 -1
- package/dist/components/replay-preview.js +2 -3
- package/dist/components/request-table.d.ts +23 -70
- package/dist/components/request-table.d.ts.map +1 -1
- package/dist/components/request-table.js +197 -615
- package/dist/components/scroll-area.d.ts +28 -4
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +59 -15
- package/dist/components/search-input.d.ts +29 -0
- package/dist/components/search-input.d.ts.map +1 -0
- package/dist/components/search-input.js +71 -0
- package/dist/components/segmented.d.ts +34 -19
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/segmented.js +54 -27
- package/dist/components/select.d.ts +41 -21
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +125 -64
- package/dist/components/separator.d.ts +4 -4
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +8 -14
- package/dist/components/sheet.d.ts +63 -23
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +222 -45
- package/dist/components/sidebar.d.ts +109 -67
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +304 -245
- package/dist/components/skeleton.d.ts +8 -9
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +24 -29
- package/dist/components/slider.d.ts +32 -23
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +87 -89
- package/dist/components/spinner.d.ts +36 -28
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/spinner.js +123 -139
- package/dist/components/split-view.d.ts +143 -180
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.js +577 -942
- package/dist/components/spreadsheet.d.ts +32 -37
- package/dist/components/spreadsheet.d.ts.map +1 -1
- package/dist/components/spreadsheet.js +273 -775
- package/dist/components/sql-console.d.ts +92 -15
- package/dist/components/sql-console.d.ts.map +1 -1
- package/dist/components/sql-console.js +788 -294
- package/dist/components/state-diagram.d.ts +59 -0
- package/dist/components/state-diagram.d.ts.map +1 -0
- package/dist/components/state-diagram.js +1001 -0
- package/dist/components/stl-viewer.d.ts +2 -2
- package/dist/components/stl-viewer.d.ts.map +1 -1
- package/dist/components/stl-viewer.js +2 -2
- package/dist/components/strudel-player.d.ts +2 -2
- package/dist/components/strudel-player.d.ts.map +1 -1
- package/dist/components/strudel-player.js +2 -2
- package/dist/components/swap.d.ts +20 -0
- package/dist/components/swap.d.ts.map +1 -0
- package/dist/components/swap.js +60 -0
- package/dist/components/switch.d.ts +13 -13
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +37 -22
- package/dist/components/tabs.d.ts +119 -21
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +399 -67
- package/dist/components/tailscale-controls.d.ts +116 -0
- package/dist/components/tailscale-controls.d.ts.map +1 -0
- package/dist/components/tailscale-controls.js +291 -0
- package/dist/components/terminal.d.ts +6 -2
- package/dist/components/terminal.d.ts.map +1 -1
- package/dist/components/terminal.js +105 -101
- package/dist/components/text-morph.d.ts +6 -5
- package/dist/components/text-morph.d.ts.map +1 -1
- package/dist/components/text-morph.js +108 -79
- package/dist/components/textarea.d.ts +4 -4
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +11 -17
- package/dist/components/toast.d.ts +70 -104
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/toast.js +181 -386
- package/dist/components/toggle.d.ts +28 -6
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +92 -23
- package/dist/components/toolbar.d.ts +65 -0
- package/dist/components/toolbar.d.ts.map +1 -0
- package/dist/components/toolbar.js +140 -0
- package/dist/components/tooltip.d.ts +15 -7
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +48 -35
- package/dist/components/trace-timeline.d.ts +47 -32
- package/dist/components/trace-timeline.d.ts.map +1 -1
- package/dist/components/trace-timeline.js +658 -568
- package/dist/components/tree.d.ts +121 -54
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +539 -496
- package/dist/components/tui-preview.d.ts +2 -2
- package/dist/components/tui-preview.d.ts.map +1 -1
- package/dist/components/tui-preview.js +2 -2
- package/dist/components/vault-gate.d.ts +63 -14
- package/dist/components/vault-gate.d.ts.map +1 -1
- package/dist/components/vault-gate.js +445 -209
- package/dist/components/video-preview.d.ts +21 -25
- package/dist/components/video-preview.d.ts.map +1 -1
- package/dist/components/video-preview.js +92 -94
- package/dist/components/video-timeline.d.ts +29 -43
- package/dist/components/video-timeline.d.ts.map +1 -1
- package/dist/components/video-timeline.js +389 -391
- package/dist/components/waveform.d.ts +8 -5
- package/dist/components/waveform.d.ts.map +1 -1
- package/dist/components/waveform.js +77 -38
- package/dist/components/workspace.d.ts +4754 -10
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +387 -57
- package/dist/docstream/asset-resolver.d.ts +11 -0
- package/dist/docstream/asset-resolver.d.ts.map +1 -0
- package/dist/docstream/asset-resolver.js +41 -0
- package/dist/docstream/asset-resolver.js.map +1 -0
- package/dist/docstream/assets.d.ts +4 -0
- package/dist/docstream/assets.d.ts.map +1 -0
- package/dist/docstream/assets.js +21 -0
- package/dist/docstream/assets.js.map +1 -0
- package/dist/docstream/capnp/CapnpDiagram.d.ts +36 -0
- package/dist/docstream/capnp/CapnpDiagram.d.ts.map +1 -0
- package/dist/docstream/capnp/CapnpDiagram.js +88 -0
- package/dist/docstream/capnp/CapnpDiagram.js.map +1 -0
- package/dist/docstream/capnp/index.d.ts +3 -0
- package/dist/docstream/capnp/index.d.ts.map +1 -0
- package/dist/docstream/capnp/index.js +2 -0
- package/dist/docstream/capnp/index.js.map +1 -0
- package/dist/docstream/demo/DemoViewer.d.ts +82 -0
- package/dist/docstream/demo/DemoViewer.d.ts.map +1 -0
- package/dist/docstream/demo/DemoViewer.js +460 -0
- package/dist/docstream/demo/DemoViewer.js.map +1 -0
- package/dist/docstream/demo/PathBreadcrumb.d.ts +54 -0
- package/dist/docstream/demo/PathBreadcrumb.d.ts.map +1 -0
- package/dist/docstream/demo/PathBreadcrumb.js +156 -0
- package/dist/docstream/demo/PathBreadcrumb.js.map +1 -0
- package/dist/docstream/demo/clipboard.d.ts +70 -0
- package/dist/docstream/demo/clipboard.d.ts.map +1 -0
- package/dist/docstream/demo/clipboard.js +187 -0
- package/dist/docstream/demo/clipboard.js.map +1 -0
- package/dist/docstream/demo/context.d.ts +20 -0
- package/dist/docstream/demo/context.d.ts.map +1 -0
- package/dist/docstream/demo/context.js +31 -0
- package/dist/docstream/demo/context.js.map +1 -0
- package/dist/docstream/demo/copy-demo.d.ts +26 -0
- package/dist/docstream/demo/copy-demo.d.ts.map +1 -0
- package/dist/docstream/demo/copy-demo.js +94 -0
- package/dist/docstream/demo/copy-demo.js.map +1 -0
- package/dist/docstream/demo/glob.d.ts +60 -0
- package/dist/docstream/demo/glob.d.ts.map +1 -0
- package/dist/docstream/demo/glob.js +158 -0
- package/dist/docstream/demo/glob.js.map +1 -0
- package/dist/docstream/demo/index.d.ts +16 -0
- package/dist/docstream/demo/index.d.ts.map +1 -0
- package/dist/docstream/demo/index.js +9 -0
- package/dist/docstream/demo/index.js.map +1 -0
- package/dist/docstream/demo/markdown.d.ts +60 -0
- package/dist/docstream/demo/markdown.d.ts.map +1 -0
- package/dist/docstream/demo/markdown.js +181 -0
- package/dist/docstream/demo/markdown.js.map +1 -0
- package/dist/docstream/demo/surface.d.ts +11 -0
- package/dist/docstream/demo/surface.d.ts.map +1 -0
- package/dist/docstream/demo/surface.js +69 -0
- package/dist/docstream/demo/surface.js.map +1 -0
- package/dist/docstream/demo/types.d.ts +93 -0
- package/dist/docstream/demo/types.d.ts.map +1 -0
- package/dist/docstream/demo/types.js +2 -0
- package/dist/docstream/demo/types.js.map +1 -0
- package/dist/docstream/demo/vfs.d.ts +51 -0
- package/dist/docstream/demo/vfs.d.ts.map +1 -0
- package/dist/docstream/demo/vfs.js +156 -0
- package/dist/docstream/demo/vfs.js.map +1 -0
- package/dist/docstream/doc-env.d.ts +62 -0
- package/dist/docstream/doc-env.d.ts.map +1 -0
- package/dist/docstream/doc-env.js +124 -0
- package/dist/docstream/doc-env.js.map +1 -0
- package/dist/docstream/docs/CollapsibleCode.d.ts +14 -0
- package/dist/docstream/docs/CollapsibleCode.d.ts.map +1 -0
- package/dist/docstream/docs/CollapsibleCode.js +19 -0
- package/dist/docstream/docs/CollapsibleCode.js.map +1 -0
- package/dist/docstream/docs/DocsRenderer.d.ts +91 -0
- package/dist/docstream/docs/DocsRenderer.d.ts.map +1 -0
- package/dist/docstream/docs/DocsRenderer.js +442 -0
- package/dist/docstream/docs/DocsRenderer.js.map +1 -0
- package/dist/docstream/docs/DocumentProperties.d.ts +17 -0
- package/dist/docstream/docs/DocumentProperties.d.ts.map +1 -0
- package/dist/docstream/docs/DocumentProperties.js +71 -0
- package/dist/docstream/docs/DocumentProperties.js.map +1 -0
- package/dist/docstream/docs/HighlightedCode.d.ts +6 -0
- package/dist/docstream/docs/HighlightedCode.d.ts.map +1 -0
- package/dist/docstream/docs/HighlightedCode.js +74 -0
- package/dist/docstream/docs/HighlightedCode.js.map +1 -0
- package/dist/docstream/docs/ImageThumbnail.d.ts +18 -0
- package/dist/docstream/docs/ImageThumbnail.d.ts.map +1 -0
- package/dist/docstream/docs/ImageThumbnail.js +32 -0
- package/dist/docstream/docs/ImageThumbnail.js.map +1 -0
- package/dist/docstream/docs/Mermaid.d.ts +25 -0
- package/dist/docstream/docs/Mermaid.d.ts.map +1 -0
- package/dist/docstream/docs/Mermaid.js +61 -0
- package/dist/docstream/docs/Mermaid.js.map +1 -0
- package/dist/docstream/docs/PageActions.d.ts +33 -0
- package/dist/docstream/docs/PageActions.d.ts.map +1 -0
- package/dist/docstream/docs/PageActions.js +55 -0
- package/dist/docstream/docs/PageActions.js.map +1 -0
- package/dist/docstream/docs/SplitCard.d.ts +25 -0
- package/dist/docstream/docs/SplitCard.d.ts.map +1 -0
- package/dist/docstream/docs/SplitCard.js +23 -0
- package/dist/docstream/docs/SplitCard.js.map +1 -0
- package/dist/docstream/docs/TaskCheckbox.d.ts +32 -0
- package/dist/docstream/docs/TaskCheckbox.d.ts.map +1 -0
- package/dist/docstream/docs/TaskCheckbox.js +51 -0
- package/dist/docstream/docs/TaskCheckbox.js.map +1 -0
- package/dist/docstream/docs/code-render.d.ts +17 -0
- package/dist/docstream/docs/code-render.d.ts.map +1 -0
- package/dist/docstream/docs/code-render.js +4 -0
- package/dist/docstream/docs/code-render.js.map +1 -0
- package/dist/docstream/docs/controls.d.ts +23 -0
- package/dist/docstream/docs/controls.d.ts.map +1 -0
- package/dist/docstream/docs/controls.js +14 -0
- package/dist/docstream/docs/controls.js.map +1 -0
- package/dist/docstream/docs/copy.d.ts +25 -0
- package/dist/docstream/docs/copy.d.ts.map +1 -0
- package/dist/docstream/docs/copy.js +65 -0
- package/dist/docstream/docs/copy.js.map +1 -0
- package/dist/docstream/docs/math.d.ts +3 -0
- package/dist/docstream/docs/math.d.ts.map +1 -0
- package/dist/docstream/docs/math.js +12 -0
- package/dist/docstream/docs/math.js.map +1 -0
- package/dist/docstream/docs/properties.css +31 -0
- package/dist/docstream/docs/reference.d.ts +27 -0
- package/dist/docstream/docs/reference.d.ts.map +1 -0
- package/dist/docstream/docs/reference.js +74 -0
- package/dist/docstream/docs/reference.js.map +1 -0
- package/dist/docstream/docs/tabs-sync.d.ts +5 -0
- package/dist/docstream/docs/tabs-sync.d.ts.map +1 -0
- package/dist/docstream/docs/tabs-sync.js +58 -0
- package/dist/docstream/docs/tabs-sync.js.map +1 -0
- package/dist/docstream/docs/tasks.css +16 -0
- package/dist/docstream/env-keychain.d.ts +49 -0
- package/dist/docstream/env-keychain.d.ts.map +1 -0
- package/dist/docstream/env-keychain.js +201 -0
- package/dist/docstream/env-keychain.js.map +1 -0
- package/dist/docstream/gitbook/ast.d.ts +528 -0
- package/dist/docstream/gitbook/ast.d.ts.map +1 -0
- package/dist/docstream/gitbook/ast.js +8 -0
- package/dist/docstream/gitbook/ast.js.map +1 -0
- package/dist/docstream/gitbook/attrs.d.ts +14 -0
- package/dist/docstream/gitbook/attrs.d.ts.map +1 -0
- package/dist/docstream/gitbook/attrs.js +36 -0
- package/dist/docstream/gitbook/attrs.js.map +1 -0
- package/dist/docstream/gitbook/flatten.d.ts +14 -0
- package/dist/docstream/gitbook/flatten.d.ts.map +1 -0
- package/dist/docstream/gitbook/flatten.js +45 -0
- package/dist/docstream/gitbook/flatten.js.map +1 -0
- package/dist/docstream/gitbook/index.d.ts +14 -0
- package/dist/docstream/gitbook/index.d.ts.map +1 -0
- package/dist/docstream/gitbook/index.js +11 -0
- package/dist/docstream/gitbook/index.js.map +1 -0
- package/dist/docstream/gitbook/inline.d.ts +28 -0
- package/dist/docstream/gitbook/inline.d.ts.map +1 -0
- package/dist/docstream/gitbook/inline.js +956 -0
- package/dist/docstream/gitbook/inline.js.map +1 -0
- package/dist/docstream/gitbook/outline.d.ts +16 -0
- package/dist/docstream/gitbook/outline.d.ts.map +1 -0
- package/dist/docstream/gitbook/outline.js +44 -0
- package/dist/docstream/gitbook/outline.js.map +1 -0
- package/dist/docstream/gitbook/package-managers.d.ts +12 -0
- package/dist/docstream/gitbook/package-managers.d.ts.map +1 -0
- package/dist/docstream/gitbook/package-managers.js +93 -0
- package/dist/docstream/gitbook/package-managers.js.map +1 -0
- package/dist/docstream/gitbook/parse.d.ts +44 -0
- package/dist/docstream/gitbook/parse.d.ts.map +1 -0
- package/dist/docstream/gitbook/parse.js +1139 -0
- package/dist/docstream/gitbook/parse.js.map +1 -0
- package/dist/docstream/gitbook/properties.d.ts +15 -0
- package/dist/docstream/gitbook/properties.d.ts.map +1 -0
- package/dist/docstream/gitbook/properties.js +45 -0
- package/dist/docstream/gitbook/properties.js.map +1 -0
- package/dist/docstream/gitbook/serialize.d.ts +23 -0
- package/dist/docstream/gitbook/serialize.d.ts.map +1 -0
- package/dist/docstream/gitbook/serialize.js +507 -0
- package/dist/docstream/gitbook/serialize.js.map +1 -0
- package/dist/docstream/gitbook/tasks.d.ts +11 -0
- package/dist/docstream/gitbook/tasks.d.ts.map +1 -0
- package/dist/docstream/gitbook/tasks.js +21 -0
- package/dist/docstream/gitbook/tasks.js.map +1 -0
- package/dist/docstream/gitbook/thumbnail.d.ts +10 -0
- package/dist/docstream/gitbook/thumbnail.d.ts.map +1 -0
- package/dist/docstream/gitbook/thumbnail.js +18 -0
- package/dist/docstream/gitbook/thumbnail.js.map +1 -0
- package/dist/docstream/index.d.ts +69 -0
- package/dist/docstream/index.d.ts.map +1 -0
- package/dist/docstream/index.js +42 -0
- package/dist/docstream/index.js.map +1 -0
- package/dist/docstream/openapi/OpenApiOperation.d.ts +6 -0
- package/dist/docstream/openapi/OpenApiOperation.d.ts.map +1 -0
- package/dist/docstream/openapi/OpenApiOperation.js +122 -0
- package/dist/docstream/openapi/OpenApiOperation.js.map +1 -0
- package/dist/docstream/playground/InlineDemoPreview.d.ts +24 -0
- package/dist/docstream/playground/InlineDemoPreview.d.ts.map +1 -0
- package/dist/docstream/playground/InlineDemoPreview.js +48 -0
- package/dist/docstream/playground/InlineDemoPreview.js.map +1 -0
- package/dist/docstream/playground/PlaygroundStreamdown.d.ts +16 -0
- package/dist/docstream/playground/PlaygroundStreamdown.d.ts.map +1 -0
- package/dist/docstream/playground/PlaygroundStreamdown.js +28 -0
- package/dist/docstream/playground/PlaygroundStreamdown.js.map +1 -0
- package/dist/docstream/playground/ReactCodePreview.d.ts +64 -0
- package/dist/docstream/playground/ReactCodePreview.d.ts.map +1 -0
- package/dist/docstream/playground/ReactCodePreview.js +115 -0
- package/dist/docstream/playground/ReactCodePreview.js.map +1 -0
- package/dist/docstream/playground/filesystem.d.ts +27 -0
- package/dist/docstream/playground/filesystem.d.ts.map +1 -0
- package/dist/docstream/playground/filesystem.js +65 -0
- package/dist/docstream/playground/filesystem.js.map +1 -0
- package/dist/docstream/playground/index.d.ts +9 -0
- package/dist/docstream/playground/index.d.ts.map +1 -0
- package/dist/docstream/playground/index.js +7 -0
- package/dist/docstream/playground/index.js.map +1 -0
- package/dist/docstream/playground/project.d.ts +66 -0
- package/dist/docstream/playground/project.d.ts.map +1 -0
- package/dist/docstream/playground/project.js +155 -0
- package/dist/docstream/playground/project.js.map +1 -0
- package/dist/docstream/replay/ReplayDebugFile.d.ts +11 -0
- package/dist/docstream/replay/ReplayDebugFile.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayDebugFile.js +46 -0
- package/dist/docstream/replay/ReplayDebugFile.js.map +1 -0
- package/dist/docstream/replay/ReplayDevtools.d.ts +47 -0
- package/dist/docstream/replay/ReplayDevtools.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayDevtools.js +419 -0
- package/dist/docstream/replay/ReplayDevtools.js.map +1 -0
- package/dist/docstream/replay/ReplayFile.d.ts +29 -0
- package/dist/docstream/replay/ReplayFile.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayFile.js +68 -0
- package/dist/docstream/replay/ReplayFile.js.map +1 -0
- package/dist/docstream/replay/ReplayPlayer.d.ts +130 -0
- package/dist/docstream/replay/ReplayPlayer.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayPlayer.js +516 -0
- package/dist/docstream/replay/ReplayPlayer.js.map +1 -0
- package/dist/docstream/replay/ReplayPreview.d.ts +51 -0
- package/dist/docstream/replay/ReplayPreview.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayPreview.js +97 -0
- package/dist/docstream/replay/ReplayPreview.js.map +1 -0
- package/dist/docstream/replay/ReplayStage.d.ts +10 -0
- package/dist/docstream/replay/ReplayStage.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayStage.js +19 -0
- package/dist/docstream/replay/ReplayStage.js.map +1 -0
- package/dist/docstream/replay/ReplayStageImpl.d.ts +5 -0
- package/dist/docstream/replay/ReplayStageImpl.d.ts.map +1 -0
- package/dist/docstream/replay/ReplayStageImpl.js +253 -0
- package/dist/docstream/replay/ReplayStageImpl.js.map +1 -0
- package/dist/docstream/replay/captions.d.ts +10 -0
- package/dist/docstream/replay/captions.d.ts.map +1 -0
- package/dist/docstream/replay/captions.js +48 -0
- package/dist/docstream/replay/captions.js.map +1 -0
- package/dist/docstream/replay/demo/index.d.ts +3 -0
- package/dist/docstream/replay/demo/index.d.ts.map +1 -0
- package/dist/docstream/replay/demo/index.js +77 -0
- package/dist/docstream/replay/demo/index.js.map +1 -0
- package/dist/docstream/replay/devtools-parts.d.ts +2 -0
- package/dist/docstream/replay/devtools-parts.d.ts.map +1 -0
- package/dist/docstream/replay/devtools-parts.js +13 -0
- package/dist/docstream/replay/devtools-parts.js.map +1 -0
- package/dist/docstream/replay/devtools-primitives.d.ts +19 -0
- package/dist/docstream/replay/devtools-primitives.d.ts.map +1 -0
- package/dist/docstream/replay/devtools-primitives.js +173 -0
- package/dist/docstream/replay/devtools-primitives.js.map +1 -0
- package/dist/docstream/replay/devtools.d.ts +81 -0
- package/dist/docstream/replay/devtools.d.ts.map +1 -0
- package/dist/docstream/replay/devtools.js +251 -0
- package/dist/docstream/replay/devtools.js.map +1 -0
- package/dist/docstream/replay/evidence.d.ts +61 -0
- package/dist/docstream/replay/evidence.d.ts.map +1 -0
- package/dist/docstream/replay/evidence.js +84 -0
- package/dist/docstream/replay/evidence.js.map +1 -0
- package/dist/docstream/replay/index.d.ts +25 -0
- package/dist/docstream/replay/index.d.ts.map +1 -0
- package/dist/docstream/replay/index.js +14 -0
- package/dist/docstream/replay/index.js.map +1 -0
- package/dist/docstream/replay/inspections.d.ts +53 -0
- package/dist/docstream/replay/inspections.d.ts.map +1 -0
- package/dist/docstream/replay/inspections.js +80 -0
- package/dist/docstream/replay/inspections.js.map +1 -0
- package/dist/docstream/replay/markers.d.ts +59 -0
- package/dist/docstream/replay/markers.d.ts.map +1 -0
- package/dist/docstream/replay/markers.js +199 -0
- package/dist/docstream/replay/markers.js.map +1 -0
- package/dist/docstream/replay/sanitize.d.ts +4 -0
- package/dist/docstream/replay/sanitize.d.ts.map +1 -0
- package/dist/docstream/replay/sanitize.js +86 -0
- package/dist/docstream/replay/sanitize.js.map +1 -0
- package/dist/docstream/replay/sources.d.ts +11 -0
- package/dist/docstream/replay/sources.d.ts.map +1 -0
- package/dist/docstream/replay/sources.js +126 -0
- package/dist/docstream/replay/sources.js.map +1 -0
- package/dist/docstream/replay/stage-types.d.ts +106 -0
- package/dist/docstream/replay/stage-types.d.ts.map +1 -0
- package/dist/docstream/replay/stage-types.js +2 -0
- package/dist/docstream/replay/stage-types.js.map +1 -0
- package/dist/docstream/replay/types.d.ts +39 -0
- package/dist/docstream/replay/types.d.ts.map +1 -0
- package/dist/docstream/replay/types.js +36 -0
- package/dist/docstream/replay/types.js.map +1 -0
- package/dist/docstream/replay/url.d.ts +8 -0
- package/dist/docstream/replay/url.d.ts.map +1 -0
- package/dist/docstream/replay/url.js +41 -0
- package/dist/docstream/replay/url.js.map +1 -0
- package/dist/docstream/site/DocsSite.d.ts +148 -0
- package/dist/docstream/site/DocsSite.d.ts.map +1 -0
- package/dist/docstream/site/DocsSite.js +602 -0
- package/dist/docstream/site/DocsSite.js.map +1 -0
- package/dist/docstream/site/SiteNav.d.ts +13 -0
- package/dist/docstream/site/SiteNav.d.ts.map +1 -0
- package/dist/docstream/site/SiteNav.js +46 -0
- package/dist/docstream/site/SiteNav.js.map +1 -0
- package/dist/docstream/site/SiteSearch.d.ts +18 -0
- package/dist/docstream/site/SiteSearch.d.ts.map +1 -0
- package/dist/docstream/site/SiteSearch.js +42 -0
- package/dist/docstream/site/SiteSearch.js.map +1 -0
- package/dist/docstream/site/index.d.ts +7 -0
- package/dist/docstream/site/index.d.ts.map +1 -0
- package/dist/docstream/site/index.js +5 -0
- package/dist/docstream/site/index.js.map +1 -0
- package/dist/docstream/site/nav.d.ts +26 -0
- package/dist/docstream/site/nav.d.ts.map +1 -0
- package/dist/docstream/site/nav.js +70 -0
- package/dist/docstream/site/nav.js.map +1 -0
- package/dist/docstream/site/press.d.ts +4 -0
- package/dist/docstream/site/press.d.ts.map +1 -0
- package/dist/docstream/site/press.js +9 -0
- package/dist/docstream/site/press.js.map +1 -0
- package/dist/docstream/site/search.d.ts +28 -0
- package/dist/docstream/site/search.d.ts.map +1 -0
- package/dist/docstream/site/search.js +125 -0
- package/dist/docstream/site/search.js.map +1 -0
- package/dist/docstream/site/site.css +905 -0
- package/dist/docstream/site/tree.d.ts +105 -0
- package/dist/docstream/site/tree.d.ts.map +1 -0
- package/dist/docstream/site/tree.js +412 -0
- package/dist/docstream/site/tree.js.map +1 -0
- package/dist/docstream/source/SourcePreview.d.ts +13 -0
- package/dist/docstream/source/SourcePreview.d.ts.map +1 -0
- package/dist/docstream/source/SourcePreview.js +47 -0
- package/dist/docstream/source/SourcePreview.js.map +1 -0
- package/dist/docstream/source/client.d.ts +7 -0
- package/dist/docstream/source/client.d.ts.map +1 -0
- package/dist/docstream/source/client.js +52 -0
- package/dist/docstream/source/client.js.map +1 -0
- package/dist/docstream/source/index.d.ts +6 -0
- package/dist/docstream/source/index.d.ts.map +1 -0
- package/dist/docstream/source/index.js +3 -0
- package/dist/docstream/source/index.js.map +1 -0
- package/dist/docstream/source/types.d.ts +33 -0
- package/dist/docstream/source/types.d.ts.map +1 -0
- package/dist/docstream/source/types.js +2 -0
- package/dist/docstream/source/types.js.map +1 -0
- package/dist/docstream/stl/StlViewer.d.ts +27 -0
- package/dist/docstream/stl/StlViewer.d.ts.map +1 -0
- package/dist/docstream/stl/StlViewer.js +223 -0
- package/dist/docstream/stl/StlViewer.js.map +1 -0
- package/dist/docstream/stl/index.d.ts +5 -0
- package/dist/docstream/stl/index.d.ts.map +1 -0
- package/dist/docstream/stl/index.js +3 -0
- package/dist/docstream/stl/index.js.map +1 -0
- package/dist/docstream/stl/orbit-parts.d.ts +11 -0
- package/dist/docstream/stl/orbit-parts.d.ts.map +1 -0
- package/dist/docstream/stl/orbit-parts.js +12 -0
- package/dist/docstream/stl/orbit-parts.js.map +1 -0
- package/dist/docstream/stl/orbit.d.ts +19 -0
- package/dist/docstream/stl/orbit.d.ts.map +1 -0
- package/dist/docstream/stl/orbit.js +125 -0
- package/dist/docstream/stl/orbit.js.map +1 -0
- package/dist/docstream/stl/parse.d.ts +13 -0
- package/dist/docstream/stl/parse.d.ts.map +1 -0
- package/dist/docstream/stl/parse.js +73 -0
- package/dist/docstream/stl/parse.js.map +1 -0
- package/dist/docstream/streamdown.d.ts +20 -0
- package/dist/docstream/streamdown.d.ts.map +1 -0
- package/dist/docstream/streamdown.js +15 -0
- package/dist/docstream/streamdown.js.map +1 -0
- package/dist/docstream/strudel/RackGrid.d.ts +23 -0
- package/dist/docstream/strudel/RackGrid.d.ts.map +1 -0
- package/dist/docstream/strudel/RackGrid.js +79 -0
- package/dist/docstream/strudel/RackGrid.js.map +1 -0
- package/dist/docstream/strudel/StepGrid.d.ts +11 -0
- package/dist/docstream/strudel/StepGrid.d.ts.map +1 -0
- package/dist/docstream/strudel/StepGrid.js +77 -0
- package/dist/docstream/strudel/StepGrid.js.map +1 -0
- package/dist/docstream/strudel/StrudelPlayer.d.ts +50 -0
- package/dist/docstream/strudel/StrudelPlayer.d.ts.map +1 -0
- package/dist/docstream/strudel/StrudelPlayer.js +223 -0
- package/dist/docstream/strudel/StrudelPlayer.js.map +1 -0
- package/dist/docstream/strudel/StrudelRack.d.ts +33 -0
- package/dist/docstream/strudel/StrudelRack.d.ts.map +1 -0
- package/dist/docstream/strudel/StrudelRack.js +184 -0
- package/dist/docstream/strudel/StrudelRack.js.map +1 -0
- package/dist/docstream/strudel/ast/edit.d.ts +41 -0
- package/dist/docstream/strudel/ast/edit.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/edit.js +78 -0
- package/dist/docstream/strudel/ast/edit.js.map +1 -0
- package/dist/docstream/strudel/ast/index.d.ts +7 -0
- package/dist/docstream/strudel/ast/index.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/index.js +4 -0
- package/dist/docstream/strudel/ast/index.js.map +1 -0
- package/dist/docstream/strudel/ast/mini.d.ts +86 -0
- package/dist/docstream/strudel/ast/mini.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/mini.js +272 -0
- package/dist/docstream/strudel/ast/mini.js.map +1 -0
- package/dist/docstream/strudel/ast/program.d.ts +93 -0
- package/dist/docstream/strudel/ast/program.d.ts.map +1 -0
- package/dist/docstream/strudel/ast/program.js +288 -0
- package/dist/docstream/strudel/ast/program.js.map +1 -0
- package/dist/docstream/strudel/controls.d.ts +24 -0
- package/dist/docstream/strudel/controls.d.ts.map +1 -0
- package/dist/docstream/strudel/controls.js +63 -0
- package/dist/docstream/strudel/controls.js.map +1 -0
- package/dist/docstream/strudel/engine.d.ts +43 -0
- package/dist/docstream/strudel/engine.d.ts.map +1 -0
- package/dist/docstream/strudel/engine.js +79 -0
- package/dist/docstream/strudel/engine.js.map +1 -0
- package/dist/docstream/strudel/index.d.ts +7 -0
- package/dist/docstream/strudel/index.d.ts.map +1 -0
- package/dist/docstream/strudel/index.js +6 -0
- package/dist/docstream/strudel/index.js.map +1 -0
- package/dist/docstream/strudel/knob-parts.d.ts +2 -0
- package/dist/docstream/strudel/knob-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/knob-parts.js +6 -0
- package/dist/docstream/strudel/knob-parts.js.map +1 -0
- package/dist/docstream/strudel/knob.d.ts +24 -0
- package/dist/docstream/strudel/knob.d.ts.map +1 -0
- package/dist/docstream/strudel/knob.js +157 -0
- package/dist/docstream/strudel/knob.js.map +1 -0
- package/dist/docstream/strudel/panel.d.ts +13 -0
- package/dist/docstream/strudel/panel.d.ts.map +1 -0
- package/dist/docstream/strudel/panel.js +14 -0
- package/dist/docstream/strudel/panel.js.map +1 -0
- package/dist/docstream/strudel/rack-grid-parts.d.ts +2 -0
- package/dist/docstream/strudel/rack-grid-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-grid-parts.js +6 -0
- package/dist/docstream/strudel/rack-grid-parts.js.map +1 -0
- package/dist/docstream/strudel/rack-grid.d.ts +27 -0
- package/dist/docstream/strudel/rack-grid.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-grid.js +204 -0
- package/dist/docstream/strudel/rack-grid.js.map +1 -0
- package/dist/docstream/strudel/rack-types.d.ts +26 -0
- package/dist/docstream/strudel/rack-types.d.ts.map +1 -0
- package/dist/docstream/strudel/rack-types.js +4 -0
- package/dist/docstream/strudel/rack-types.js.map +1 -0
- package/dist/docstream/strudel/rack.d.ts +10 -0
- package/dist/docstream/strudel/rack.d.ts.map +1 -0
- package/dist/docstream/strudel/rack.js +9 -0
- package/dist/docstream/strudel/rack.js.map +1 -0
- package/dist/docstream/strudel/step-grid-parts.d.ts +2 -0
- package/dist/docstream/strudel/step-grid-parts.d.ts.map +1 -0
- package/dist/docstream/strudel/step-grid-parts.js +10 -0
- package/dist/docstream/strudel/step-grid-parts.js.map +1 -0
- package/dist/docstream/strudel/step-grid.d.ts +13 -0
- package/dist/docstream/strudel/step-grid.d.ts.map +1 -0
- package/dist/docstream/strudel/step-grid.js +124 -0
- package/dist/docstream/strudel/step-grid.js.map +1 -0
- package/dist/docstream/strudel/url.d.ts +5 -0
- package/dist/docstream/strudel/url.d.ts.map +1 -0
- package/dist/docstream/strudel/url.js +9 -0
- package/dist/docstream/strudel/url.js.map +1 -0
- package/dist/docstream/styles.css +6423 -0
- package/dist/docstream/tokens.css +33 -0
- package/dist/docstream/tscircuit/TsCircuit.d.ts +12 -0
- package/dist/docstream/tscircuit/TsCircuit.d.ts.map +1 -0
- package/dist/docstream/tscircuit/TsCircuit.js +85 -0
- package/dist/docstream/tscircuit/TsCircuit.js.map +1 -0
- package/dist/docstream/tscircuit/index.d.ts +3 -0
- package/dist/docstream/tscircuit/index.d.ts.map +1 -0
- package/dist/docstream/tscircuit/index.js +2 -0
- package/dist/docstream/tscircuit/index.js.map +1 -0
- package/dist/docstream/tscircuit/worker.d.ts +2 -0
- package/dist/docstream/tscircuit/worker.d.ts.map +1 -0
- package/dist/docstream/tscircuit/worker.js +43 -0
- package/dist/docstream/tscircuit/worker.js.map +1 -0
- package/dist/docstream/tui/TuiPreview.d.ts +47 -0
- package/dist/docstream/tui/TuiPreview.d.ts.map +1 -0
- package/dist/docstream/tui/TuiPreview.js +160 -0
- package/dist/docstream/tui/TuiPreview.js.map +1 -0
- package/dist/docstream/tui/context.d.ts +6 -0
- package/dist/docstream/tui/context.d.ts.map +1 -0
- package/dist/docstream/tui/context.js +3 -0
- package/dist/docstream/tui/context.js.map +1 -0
- package/dist/docstream/tui/fence.d.ts +4 -0
- package/dist/docstream/tui/fence.d.ts.map +1 -0
- package/dist/docstream/tui/fence.js +9 -0
- package/dist/docstream/tui/fence.js.map +1 -0
- package/dist/docstream/tui/index.d.ts +4 -0
- package/dist/docstream/tui/index.d.ts.map +1 -0
- package/dist/docstream/tui/index.js +3 -0
- package/dist/docstream/tui/index.js.map +1 -0
- package/dist/docstream/ui/details-collapsible.d.ts +13 -0
- package/dist/docstream/ui/details-collapsible.d.ts.map +1 -0
- package/dist/docstream/ui/details-collapsible.js +31 -0
- package/dist/docstream/ui/details-collapsible.js.map +1 -0
- package/dist/docstream/ui/glyph.d.ts +3 -0
- package/dist/docstream/ui/glyph.d.ts.map +1 -0
- package/dist/docstream/ui/glyph.js +10 -0
- package/dist/docstream/ui/glyph.js.map +1 -0
- package/dist/docstream/ui/menu-current.d.ts +9 -0
- package/dist/docstream/ui/menu-current.d.ts.map +1 -0
- package/dist/docstream/ui/menu-current.js +38 -0
- package/dist/docstream/ui/menu-current.js.map +1 -0
- package/dist/docstream/ui/use-color-scheme.d.ts +10 -0
- package/dist/docstream/ui/use-color-scheme.d.ts.map +1 -0
- package/dist/docstream/ui/use-color-scheme.js +54 -0
- package/dist/docstream/ui/use-color-scheme.js.map +1 -0
- package/dist/docstream/video/VideoEmbed.d.ts +17 -0
- package/dist/docstream/video/VideoEmbed.d.ts.map +1 -0
- package/dist/docstream/video/VideoEmbed.js +12 -0
- package/dist/docstream/video/VideoEmbed.js.map +1 -0
- package/dist/docstream/video/index.d.ts +3 -0
- package/dist/docstream/video/index.d.ts.map +1 -0
- package/dist/docstream/video/index.js +2 -0
- package/dist/docstream/video/index.js.map +1 -0
- package/dist/docstream/vite/index.d.ts +29 -0
- package/dist/docstream/vite/index.d.ts.map +1 -0
- package/dist/docstream/vite/index.js +155 -0
- package/dist/docstream/vite/index.js.map +1 -0
- package/dist/docstream/viz/VizEmbed.d.ts +18 -0
- package/dist/docstream/viz/VizEmbed.d.ts.map +1 -0
- package/dist/docstream/viz/VizEmbed.js +12 -0
- package/dist/docstream/viz/VizEmbed.js.map +1 -0
- package/dist/docstream/viz/index.d.ts +4 -0
- package/dist/docstream/viz/index.d.ts.map +1 -0
- package/dist/docstream/viz/index.js +3 -0
- package/dist/docstream/viz/index.js.map +1 -0
- package/dist/docstream/xstate/XStateDiagram.d.ts +16 -0
- package/dist/docstream/xstate/XStateDiagram.d.ts.map +1 -0
- package/dist/docstream/xstate/XStateDiagram.js +62 -0
- package/dist/docstream/xstate/XStateDiagram.js.map +1 -0
- package/dist/docstream/xstate/index.d.ts +3 -0
- package/dist/docstream/xstate/index.d.ts.map +1 -0
- package/dist/docstream/xstate/index.js +2 -0
- package/dist/docstream/xstate/index.js.map +1 -0
- package/dist/docstream/xstate/machine.d.ts +5 -0
- package/dist/docstream/xstate/machine.d.ts.map +1 -0
- package/dist/docstream/xstate/machine.js +64 -0
- package/dist/docstream/xstate/machine.js.map +1 -0
- package/dist/docstream-editor/editor/Editor.d.ts +167 -0
- package/dist/docstream-editor/editor/Editor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/Editor.js +438 -0
- package/dist/docstream-editor/editor/Editor.js.map +1 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.d.ts +29 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.js +49 -0
- package/dist/docstream-editor/editor/ReactDemoEditor.js.map +1 -0
- package/dist/docstream-editor/editor/SourceFileEditor.d.ts +15 -0
- package/dist/docstream-editor/editor/SourceFileEditor.d.ts.map +1 -0
- package/dist/docstream-editor/editor/SourceFileEditor.js +79 -0
- package/dist/docstream-editor/editor/SourceFileEditor.js.map +1 -0
- package/dist/docstream-editor/editor/attachments.d.ts +54 -0
- package/dist/docstream-editor/editor/attachments.d.ts.map +1 -0
- package/dist/docstream-editor/editor/attachments.js +185 -0
- package/dist/docstream-editor/editor/attachments.js.map +1 -0
- package/dist/docstream-editor/editor/controls.d.ts +52 -0
- package/dist/docstream-editor/editor/controls.d.ts.map +1 -0
- package/dist/docstream-editor/editor/controls.js +75 -0
- package/dist/docstream-editor/editor/controls.js.map +1 -0
- package/dist/docstream-editor/editor/convert.d.ts +35 -0
- package/dist/docstream-editor/editor/convert.d.ts.map +1 -0
- package/dist/docstream-editor/editor/convert.js +869 -0
- package/dist/docstream-editor/editor/convert.js.map +1 -0
- package/dist/docstream-editor/editor/demo-clipboard.d.ts +56 -0
- package/dist/docstream-editor/editor/demo-clipboard.d.ts.map +1 -0
- package/dist/docstream-editor/editor/demo-clipboard.js +146 -0
- package/dist/docstream-editor/editor/demo-clipboard.js.map +1 -0
- package/dist/docstream-editor/editor/document-properties.d.ts +29 -0
- package/dist/docstream-editor/editor/document-properties.d.ts.map +1 -0
- package/dist/docstream-editor/editor/document-properties.js +45 -0
- package/dist/docstream-editor/editor/document-properties.js.map +1 -0
- package/dist/docstream-editor/editor/extensions.d.ts +83 -0
- package/dist/docstream-editor/editor/extensions.d.ts.map +1 -0
- package/dist/docstream-editor/editor/extensions.js +227 -0
- package/dist/docstream-editor/editor/extensions.js.map +1 -0
- package/dist/docstream-editor/editor/glyph.d.ts +3 -0
- package/dist/docstream-editor/editor/glyph.d.ts.map +1 -0
- package/dist/docstream-editor/editor/glyph.js +8 -0
- package/dist/docstream-editor/editor/glyph.js.map +1 -0
- package/dist/docstream-editor/editor/gpu-highlight.d.ts +3 -0
- package/dist/docstream-editor/editor/gpu-highlight.d.ts.map +1 -0
- package/dist/docstream-editor/editor/gpu-highlight.js +98 -0
- package/dist/docstream-editor/editor/gpu-highlight.js.map +1 -0
- package/dist/docstream-editor/editor/nodes.d.ts +41 -0
- package/dist/docstream-editor/editor/nodes.d.ts.map +1 -0
- package/dist/docstream-editor/editor/nodes.js +1014 -0
- package/dist/docstream-editor/editor/nodes.js.map +1 -0
- package/dist/docstream-editor/editor/reference-menu.d.ts +33 -0
- package/dist/docstream-editor/editor/reference-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/reference-menu.js +94 -0
- package/dist/docstream-editor/editor/reference-menu.js.map +1 -0
- package/dist/docstream-editor/editor/runtime.d.ts +42 -0
- package/dist/docstream-editor/editor/runtime.d.ts.map +1 -0
- package/dist/docstream-editor/editor/runtime.js +10 -0
- package/dist/docstream-editor/editor/runtime.js.map +1 -0
- package/dist/docstream-editor/editor/slash-menu.d.ts +21 -0
- package/dist/docstream-editor/editor/slash-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/slash-menu.js +267 -0
- package/dist/docstream-editor/editor/slash-menu.js.map +1 -0
- package/dist/docstream-editor/editor/task-item.d.ts +12 -0
- package/dist/docstream-editor/editor/task-item.d.ts.map +1 -0
- package/dist/docstream-editor/editor/task-item.js +94 -0
- package/dist/docstream-editor/editor/task-item.js.map +1 -0
- package/dist/docstream-editor/editor/trigger-adapter.d.ts +20 -0
- package/dist/docstream-editor/editor/trigger-adapter.d.ts.map +1 -0
- package/dist/docstream-editor/editor/trigger-adapter.js +224 -0
- package/dist/docstream-editor/editor/trigger-adapter.js.map +1 -0
- package/dist/docstream-editor/editor/trigger-menu.d.ts +45 -0
- package/dist/docstream-editor/editor/trigger-menu.d.ts.map +1 -0
- package/dist/docstream-editor/editor/trigger-menu.js +143 -0
- package/dist/docstream-editor/editor/trigger-menu.js.map +1 -0
- package/dist/docstream-editor/index.d.ts +30 -0
- package/dist/docstream-editor/index.d.ts.map +1 -0
- package/dist/docstream-editor/index.js +21 -0
- package/dist/docstream-editor/index.js.map +1 -0
- package/dist/docstream-editor/styles.css +1457 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +140 -307
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +104 -192
- package/dist/lib/adaptive-pane-primitive.d.ts +1920 -0
- package/dist/lib/adaptive-pane-primitive.d.ts.map +1 -0
- package/dist/lib/adaptive-pane-primitive.js +312 -0
- package/dist/lib/back.d.ts +13 -0
- package/dist/lib/back.d.ts.map +1 -0
- package/dist/lib/back.js +77 -0
- package/dist/lib/breadcrumb-primitive.d.ts +348 -0
- package/dist/lib/breadcrumb-primitive.d.ts.map +1 -0
- package/dist/lib/breadcrumb-primitive.js +119 -0
- package/dist/lib/calendar-months.d.ts +2 -0
- package/dist/lib/calendar-months.d.ts.map +1 -0
- package/dist/lib/calendar-months.js +6 -0
- package/dist/lib/canvas-math.d.ts +11 -20
- package/dist/lib/canvas-math.d.ts.map +1 -1
- package/dist/lib/canvas-math.js +64 -86
- package/dist/lib/canvas-primitive.d.ts +2409 -0
- package/dist/lib/canvas-primitive.d.ts.map +1 -0
- package/dist/lib/canvas-primitive.js +349 -0
- package/dist/lib/change-details.d.ts +12 -0
- package/dist/lib/change-details.d.ts.map +1 -0
- package/dist/lib/change-details.js +18 -0
- package/dist/lib/cloudflare-board.d.ts +125 -0
- package/dist/lib/cloudflare-board.d.ts.map +1 -0
- package/dist/lib/cloudflare-board.js +496 -0
- package/dist/lib/cloudflare-catalog.d.ts +193 -0
- package/dist/lib/cloudflare-catalog.d.ts.map +1 -0
- package/dist/lib/cloudflare-catalog.generated.d.ts +3 -0
- package/dist/lib/cloudflare-catalog.generated.d.ts.map +1 -0
- package/dist/lib/cloudflare-catalog.generated.js +7046 -0
- package/dist/lib/cloudflare-services.d.ts +181 -0
- package/dist/lib/cloudflare-services.d.ts.map +1 -0
- package/dist/lib/cloudflare-services.js +245 -0
- package/dist/lib/cloudflare-system.d.ts +97 -0
- package/dist/lib/cloudflare-system.d.ts.map +1 -0
- package/dist/lib/cloudflare-system.js +715 -0
- package/dist/lib/cloudflare-workerd.d.ts +66 -0
- package/dist/lib/cloudflare-workerd.d.ts.map +1 -0
- package/dist/lib/cloudflare-workerd.js +410 -0
- package/dist/lib/cloudflare-wrangler.d.ts +107 -0
- package/dist/lib/cloudflare-wrangler.d.ts.map +1 -0
- package/dist/lib/cloudflare-wrangler.js +989 -0
- package/dist/lib/code-document.d.ts +8 -8
- package/dist/lib/code-document.d.ts.map +1 -1
- package/dist/lib/code-document.js +48 -48
- package/dist/lib/code-editor-gpu.d.ts.map +1 -1
- package/dist/lib/code-editor-model.d.ts +2 -2
- package/dist/lib/code-editor-model.d.ts.map +1 -1
- package/dist/lib/code-editor-model.js +262 -261
- package/dist/lib/code-editor-primitive.d.ts +640 -0
- package/dist/lib/code-editor-primitive.d.ts.map +1 -0
- package/dist/lib/code-editor-primitive.js +134 -0
- package/dist/lib/code-editor-window.d.ts +217 -0
- package/dist/lib/code-editor-window.d.ts.map +1 -0
- package/dist/lib/code-editor-window.js +1609 -0
- package/dist/lib/container.d.ts +29 -10
- package/dist/lib/container.d.ts.map +1 -1
- package/dist/lib/container.js +62 -30
- package/dist/lib/controllable-state.d.ts +11 -3
- package/dist/lib/controllable-state.d.ts.map +1 -1
- package/dist/lib/controllable-state.js +13 -7
- package/dist/lib/data-table-model.d.ts +43 -0
- package/dist/lib/data-table-model.d.ts.map +1 -0
- package/dist/lib/data-table-model.js +54 -0
- package/dist/lib/data-table-primitive.d.ts +7417 -0
- package/dist/lib/data-table-primitive.d.ts.map +1 -0
- package/dist/lib/data-table-primitive.js +676 -0
- package/dist/lib/diagram-chrome.d.ts +36 -0
- package/dist/lib/diagram-chrome.d.ts.map +1 -0
- package/dist/lib/diagram-chrome.js +90 -0
- package/dist/lib/diagram-drawing.d.ts +92 -0
- package/dist/lib/diagram-drawing.d.ts.map +1 -0
- package/dist/lib/diagram-drawing.js +253 -0
- package/dist/lib/diagram-gesture.d.ts +164 -0
- package/dist/lib/diagram-gesture.d.ts.map +1 -0
- package/dist/lib/diagram-gesture.js +290 -0
- package/dist/lib/diagram-history.d.ts +28 -0
- package/dist/lib/diagram-history.d.ts.map +1 -0
- package/dist/lib/diagram-history.js +47 -0
- package/dist/lib/diagram-keyboard.d.ts +104 -0
- package/dist/lib/diagram-keyboard.d.ts.map +1 -0
- package/dist/lib/diagram-keyboard.js +266 -0
- package/dist/lib/diagram-layout/index.d.ts +205 -0
- package/dist/lib/diagram-layout/index.d.ts.map +1 -0
- package/dist/lib/diagram-layout/index.js +3640 -0
- package/dist/lib/diagram-layout/react.d.ts +26 -0
- package/dist/lib/diagram-layout/react.d.ts.map +1 -0
- package/dist/lib/diagram-layout/react.js +223 -0
- package/dist/lib/diagram-model.d.ts +513 -0
- package/dist/lib/diagram-model.d.ts.map +1 -0
- package/dist/lib/diagram-model.js +2068 -0
- package/dist/lib/diagram-primitive.d.ts +282 -0
- package/dist/lib/diagram-primitive.d.ts.map +1 -0
- package/dist/lib/diagram-primitive.js +174 -0
- package/dist/lib/diagram-text.d.ts +36 -0
- package/dist/lib/diagram-text.d.ts.map +1 -0
- package/dist/lib/diagram-text.js +154 -0
- package/dist/lib/durable-streams.d.ts +1 -1
- package/dist/lib/durable-streams.d.ts.map +1 -1
- package/dist/lib/durable-streams.js +1 -1
- package/dist/lib/edge-swipe.d.ts +37 -34
- package/dist/lib/edge-swipe.d.ts.map +1 -1
- package/dist/lib/edge-swipe.js +51 -68
- package/dist/lib/ffmpeg/react.d.ts +1 -1
- package/dist/lib/ffmpeg/react.d.ts.map +1 -1
- package/dist/lib/file-icons.d.ts +21 -0
- package/dist/lib/file-icons.d.ts.map +1 -0
- package/dist/lib/file-icons.js +284 -0
- package/dist/lib/file-size.d.ts +5 -0
- package/dist/lib/file-size.d.ts.map +1 -0
- package/dist/lib/file-size.js +7 -0
- package/dist/lib/file-upload-model.d.ts +19 -109
- package/dist/lib/file-upload-model.d.ts.map +1 -1
- package/dist/lib/file-upload-model.js +30 -290
- package/dist/lib/file-upload-primitive.d.ts +379 -0
- package/dist/lib/file-upload-primitive.d.ts.map +1 -0
- package/dist/lib/file-upload-primitive.js +319 -0
- package/dist/lib/filter-query.d.ts +5 -3
- package/dist/lib/filter-query.d.ts.map +1 -1
- package/dist/lib/filter-query.js +8 -8
- package/dist/lib/flame-chart-draw.d.ts +112 -0
- package/dist/lib/flame-chart-draw.d.ts.map +1 -0
- package/dist/lib/flame-chart-draw.js +273 -0
- package/dist/lib/flame-chart-model.d.ts +184 -0
- package/dist/lib/flame-chart-model.d.ts.map +1 -0
- package/dist/lib/flame-chart-model.js +357 -0
- package/dist/lib/flame-chart-primitive.d.ts +501 -0
- package/dist/lib/flame-chart-primitive.d.ts.map +1 -0
- package/dist/lib/flame-chart-primitive.js +248 -0
- package/dist/lib/font-stack-primitive.d.ts +1265 -0
- package/dist/lib/font-stack-primitive.d.ts.map +1 -0
- package/dist/lib/font-stack-primitive.js +124 -0
- package/dist/lib/gpu-cron.js +5 -2
- package/dist/lib/gpu-query/index.d.ts +1 -1
- package/dist/lib/gpu-query/index.d.ts.map +1 -1
- package/dist/lib/gpu-query/index.js +123 -41
- package/dist/lib/gpu-query/kernel.wgsl.js +189 -0
- package/dist/lib/gpu-query/webgpu.js +135 -0
- package/dist/lib/gpu-time.js +42 -38
- package/dist/lib/grid-behaviors.d.ts +191 -0
- package/dist/lib/grid-behaviors.d.ts.map +1 -0
- package/dist/lib/grid-behaviors.js +329 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -1
- package/dist/lib/icon-shapes/docs.d.ts +205 -0
- package/dist/lib/icon-shapes/docs.d.ts.map +1 -0
- package/dist/lib/icon-shapes/docs.js +235 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -1
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -1
- package/dist/lib/icon.d.ts +244 -6
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.js +271 -180
- package/dist/lib/index-bar-primitive.d.ts +626 -0
- package/dist/lib/index-bar-primitive.d.ts.map +1 -0
- package/dist/lib/index-bar-primitive.js +187 -0
- package/dist/lib/inline-edit-primitive.d.ts +386 -0
- package/dist/lib/inline-edit-primitive.d.ts.map +1 -0
- package/dist/lib/inline-edit-primitive.js +110 -0
- package/dist/lib/kept-children.d.ts +15 -0
- package/dist/lib/kept-children.d.ts.map +1 -0
- package/dist/lib/kept-children.js +21 -0
- package/dist/lib/list-primitive.d.ts +2049 -0
- package/dist/lib/list-primitive.d.ts.map +1 -0
- package/dist/lib/list-primitive.js +285 -0
- package/dist/lib/log-list-model.d.ts +0 -48
- package/dist/lib/log-list-model.d.ts.map +1 -1
- package/dist/lib/log-list-model.js +5 -118
- package/dist/lib/log-list-primitive.d.ts +4026 -0
- package/dist/lib/log-list-primitive.d.ts.map +1 -0
- package/dist/lib/log-list-primitive.js +487 -0
- package/dist/lib/message-scroller-context.d.ts +9 -0
- package/dist/lib/message-scroller-context.d.ts.map +1 -0
- package/dist/lib/message-scroller-context.js +9 -0
- package/dist/lib/message-scroller-primitive.d.ts +362 -0
- package/dist/lib/message-scroller-primitive.d.ts.map +1 -0
- package/dist/lib/message-scroller-primitive.js +185 -0
- package/dist/lib/motion-engine.d.ts +2 -0
- package/dist/lib/motion-engine.d.ts.map +1 -0
- package/dist/lib/motion-engine.js +3 -0
- package/dist/lib/motion-lazy.d.ts +16 -0
- package/dist/lib/motion-lazy.d.ts.map +1 -0
- package/dist/lib/motion-lazy.js +35 -0
- package/dist/lib/motion.d.ts +13 -10
- package/dist/lib/motion.d.ts.map +1 -1
- package/dist/lib/motion.js +44 -32
- package/dist/lib/nav-bar.d.ts +35 -0
- package/dist/lib/nav-bar.d.ts.map +1 -0
- package/dist/lib/nav-bar.js +70 -0
- package/dist/lib/navigation-stack-primitive.d.ts +3308 -0
- package/dist/lib/navigation-stack-primitive.d.ts.map +1 -0
- package/dist/lib/navigation-stack-primitive.js +254 -0
- package/dist/lib/object-tree-model.d.ts +4 -2
- package/dist/lib/object-tree-model.d.ts.map +1 -1
- package/dist/lib/object-tree-model.js +51 -48
- package/dist/lib/object-tree-value.d.ts +3 -3
- package/dist/lib/object-tree-value.d.ts.map +1 -1
- package/dist/lib/object-tree-value.js +100 -99
- package/dist/lib/option-row.d.ts +76 -0
- package/dist/lib/option-row.d.ts.map +1 -0
- package/dist/lib/option-row.js +108 -0
- package/dist/lib/option-search-primitive.d.ts +760 -0
- package/dist/lib/option-search-primitive.d.ts.map +1 -0
- package/dist/lib/option-search-primitive.js +126 -0
- package/dist/lib/pglite-schema.d.ts +28 -1
- package/dist/lib/pglite-schema.d.ts.map +1 -1
- package/dist/lib/pglite-schema.js +42 -2
- package/dist/lib/pglite.d.ts +3 -3
- package/dist/lib/pglite.d.ts.map +1 -1
- package/dist/lib/pglite.js +5 -5
- package/dist/lib/presence.d.ts +43 -0
- package/dist/lib/presence.d.ts.map +1 -0
- package/dist/lib/presence.js +89 -0
- package/dist/lib/primitives.d.ts +81 -8
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/primitives.js +34 -6
- package/dist/lib/pull-to-refresh.d.ts +26 -21
- package/dist/lib/pull-to-refresh.d.ts.map +1 -1
- package/dist/lib/pull-to-refresh.js +50 -67
- package/dist/lib/qr.d.ts +2 -2
- package/dist/lib/qr.d.ts.map +1 -1
- package/dist/lib/reduced-motion.d.ts +4 -0
- package/dist/lib/reduced-motion.d.ts.map +1 -0
- package/dist/lib/reduced-motion.js +6 -0
- package/dist/lib/request-table-model.d.ts +11 -41
- package/dist/lib/request-table-model.d.ts.map +1 -1
- package/dist/lib/request-table-model.js +9 -53
- package/dist/lib/sandbox/command-line.d.ts +27 -0
- package/dist/lib/sandbox/command-line.d.ts.map +1 -0
- package/dist/lib/sandbox/command-line.js +68 -0
- package/dist/lib/sandbox/disk.d.ts +25 -0
- package/dist/lib/sandbox/disk.d.ts.map +1 -0
- package/dist/lib/sandbox/disk.js +158 -0
- package/dist/lib/sandbox/error.d.ts +12 -0
- package/dist/lib/sandbox/error.d.ts.map +1 -0
- package/dist/lib/sandbox/error.js +9 -0
- package/dist/lib/sandbox/host-fetch.d.ts +4 -0
- package/dist/lib/sandbox/host-fetch.d.ts.map +1 -0
- package/dist/lib/sandbox/host-fetch.js +35 -0
- package/dist/lib/sandbox/host.d.ts +83 -0
- package/dist/lib/sandbox/host.d.ts.map +1 -0
- package/dist/lib/sandbox/host.js +385 -0
- package/dist/lib/sandbox/index.d.ts +75 -0
- package/dist/lib/sandbox/index.d.ts.map +1 -0
- package/dist/lib/sandbox/index.js +165 -0
- package/dist/lib/sandbox/model.d.ts +117 -0
- package/dist/lib/sandbox/model.d.ts.map +1 -0
- package/dist/lib/sandbox/protocol.d.ts +133 -0
- package/dist/lib/sandbox/protocol.d.ts.map +1 -0
- package/dist/lib/sandbox/react.d.ts +18 -0
- package/dist/lib/sandbox/react.d.ts.map +1 -0
- package/dist/lib/sandbox/react.js +46 -0
- package/dist/lib/sandbox/serve.d.ts +32 -0
- package/dist/lib/sandbox/serve.d.ts.map +1 -0
- package/dist/lib/sandbox/serve.js +411 -0
- package/dist/lib/sandbox/spawn.d.ts +26 -0
- package/dist/lib/sandbox/spawn.d.ts.map +1 -0
- package/dist/lib/sandbox/spawn.js +75 -0
- package/dist/lib/sandbox/worker.d.ts +8 -0
- package/dist/lib/sandbox/worker.d.ts.map +1 -0
- package/dist/lib/sandbox/worker.js +8 -0
- package/dist/lib/schedule-preview.d.ts +37 -0
- package/dist/lib/schedule-preview.d.ts.map +1 -0
- package/dist/lib/schedule-preview.js +76 -0
- package/dist/lib/scroll-edge.d.ts +16 -0
- package/dist/lib/scroll-edge.d.ts.map +1 -0
- package/dist/lib/scroll-edge.js +35 -0
- package/dist/lib/search-input-primitive.d.ts +152 -0
- package/dist/lib/search-input-primitive.d.ts.map +1 -0
- package/dist/lib/search-input-primitive.js +42 -0
- package/dist/lib/selection-indicator-primitive.d.ts +83 -0
- package/dist/lib/selection-indicator-primitive.d.ts.map +1 -0
- package/dist/lib/selection-indicator-primitive.js +75 -0
- package/dist/lib/session-recorder.d.ts.map +1 -1
- package/dist/lib/session-recorder.js +1 -1
- package/dist/lib/shortcut-text.d.ts +10 -0
- package/dist/lib/shortcut-text.d.ts.map +1 -0
- package/dist/lib/shortcut-text.js +19 -0
- package/dist/lib/sidebar-primitive.d.ts +228 -0
- package/dist/lib/sidebar-primitive.d.ts.map +1 -0
- package/dist/lib/sidebar-primitive.js +101 -0
- package/dist/lib/size-class.d.ts +28 -0
- package/dist/lib/size-class.d.ts.map +1 -0
- package/dist/lib/size-class.js +17 -0
- package/dist/lib/spinner-shapes.d.ts +299 -0
- package/dist/lib/spinner-shapes.d.ts.map +1 -0
- package/dist/lib/spinner-shapes.js +876 -0
- package/dist/lib/split-view-primitive.d.ts +6137 -0
- package/dist/lib/split-view-primitive.d.ts.map +1 -0
- package/dist/lib/split-view-primitive.js +726 -0
- package/dist/lib/spreadsheet-primitive.d.ts +7518 -0
- package/dist/lib/spreadsheet-primitive.d.ts.map +1 -0
- package/dist/lib/spreadsheet-primitive.js +830 -0
- package/dist/lib/stack-parent.d.ts +29 -0
- package/dist/lib/stack-parent.d.ts.map +1 -0
- package/dist/lib/stack-parent.js +26 -0
- package/dist/lib/stack.d.ts +92 -0
- package/dist/lib/stack.d.ts.map +1 -0
- package/dist/lib/stack.js +217 -0
- package/dist/lib/state-diagram-edit.d.ts +93 -0
- package/dist/lib/state-diagram-edit.d.ts.map +1 -0
- package/dist/lib/state-diagram-edit.js +461 -0
- package/dist/lib/state-diagram-model.d.ts +251 -0
- package/dist/lib/state-diagram-model.d.ts.map +1 -0
- package/dist/lib/state-diagram-model.js +462 -0
- package/dist/lib/state-diagram-simulation.d.ts +115 -0
- package/dist/lib/state-diagram-simulation.d.ts.map +1 -0
- package/dist/lib/state-diagram-simulation.js +265 -0
- package/dist/lib/state-diagram-source.d.ts +4 -0
- package/dist/lib/state-diagram-source.d.ts.map +1 -0
- package/dist/lib/state-diagram-source.js +316 -0
- package/dist/lib/surface-flow.d.ts +28 -0
- package/dist/lib/surface-flow.d.ts.map +1 -0
- package/dist/lib/surface-flow.js +66 -0
- package/dist/lib/surface.d.ts +34 -0
- package/dist/lib/surface.d.ts.map +1 -0
- package/dist/lib/surface.js +43 -0
- package/dist/lib/syntax-lexer.d.ts +23 -0
- package/dist/lib/syntax-lexer.d.ts.map +1 -0
- package/dist/lib/syntax-lexer.js +400 -0
- package/dist/lib/syntax.d.ts +8 -21
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +51 -78
- package/dist/lib/tailscale-policy.js +32 -19
- package/dist/lib/tailscale-react.d.ts +1 -1
- package/dist/lib/tailscale-react.d.ts.map +1 -1
- package/dist/lib/theme-context.d.ts +14 -0
- package/dist/lib/theme-context.d.ts.map +1 -0
- package/dist/lib/theme-context.js +12 -0
- package/dist/lib/theme.d.ts +47 -25
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +128 -62
- package/dist/lib/title-flight.d.ts +30 -10
- package/dist/lib/title-flight.d.ts.map +1 -1
- package/dist/lib/title-flight.js +73 -53
- package/dist/lib/tokens.generated.d.ts +5 -5
- package/dist/lib/tokens.generated.d.ts.map +1 -1
- package/dist/lib/tokens.generated.js +15 -4
- package/dist/lib/trace-timeline-draw.d.ts +3 -2
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -1
- package/dist/lib/trace-timeline-draw.js +96 -89
- package/dist/lib/trace-timeline-model.d.ts +17 -15
- package/dist/lib/trace-timeline-model.d.ts.map +1 -1
- package/dist/lib/trace-timeline-model.js +130 -130
- package/dist/lib/trace-timeline-primitive.d.ts +502 -0
- package/dist/lib/trace-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/trace-timeline-primitive.js +264 -0
- package/dist/lib/trigger-palette.d.ts +22 -0
- package/dist/lib/trigger-palette.d.ts.map +1 -0
- package/dist/lib/trigger-palette.js +35 -0
- package/dist/lib/use-copy.d.ts +16 -0
- package/dist/lib/use-copy.d.ts.map +1 -0
- package/dist/lib/use-copy.js +32 -0
- package/dist/lib/use-file-upload.d.ts +61 -0
- package/dist/lib/use-file-upload.d.ts.map +1 -0
- package/dist/lib/use-file-upload.js +65 -0
- package/dist/lib/use-font-version.d.ts +7 -0
- package/dist/lib/use-font-version.d.ts.map +1 -0
- package/dist/lib/use-font-version.js +22 -0
- package/dist/lib/use-paced.d.ts +2 -0
- package/dist/lib/use-paced.d.ts.map +1 -0
- package/dist/lib/use-paced.js +30 -0
- package/dist/lib/use-virtual-rows.d.ts +30 -0
- package/dist/lib/use-virtual-rows.d.ts.map +1 -0
- package/dist/lib/use-virtual-rows.js +40 -0
- package/dist/lib/utils.d.ts +5 -9
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +4 -2
- package/dist/lib/vault-react.d.ts +1 -1
- package/dist/lib/vault-react.d.ts.map +1 -1
- package/dist/lib/vault.js +64 -64
- package/dist/lib/video-render.js +24 -24
- package/dist/lib/video-timeline-model.d.ts +13 -2
- package/dist/lib/video-timeline-model.d.ts.map +1 -1
- package/dist/lib/video-timeline-primitive.d.ts +2066 -0
- package/dist/lib/video-timeline-primitive.d.ts.map +1 -0
- package/dist/lib/video-timeline-primitive.js +464 -0
- package/dist/lib/wave-rail.d.ts +35 -0
- package/dist/lib/wave-rail.d.ts.map +1 -0
- package/dist/lib/wave-rail.js +49 -0
- package/dist/lib/workspace-model.d.ts +126 -0
- package/dist/lib/workspace-model.d.ts.map +1 -0
- package/dist/lib/workspace-model.js +278 -0
- package/dist/lib/workspace-primitive.d.ts +2762 -0
- package/dist/lib/workspace-primitive.d.ts.map +1 -0
- package/dist/lib/workspace-primitive.js +567 -0
- package/dist/libraries/audio.d.ts +5 -0
- package/dist/libraries/audio.d.ts.map +1 -0
- package/dist/libraries/audio.js +5 -0
- package/dist/libraries/canvas.d.ts +4 -0
- package/dist/libraries/canvas.d.ts.map +1 -0
- package/dist/libraries/canvas.js +10 -0
- package/dist/libraries/composer.d.ts +5 -0
- package/dist/libraries/composer.d.ts.map +1 -0
- package/dist/libraries/composer.js +6 -0
- package/dist/libraries/diagram.d.ts +11 -0
- package/dist/libraries/diagram.d.ts.map +1 -0
- package/dist/libraries/diagram.js +13 -0
- package/dist/libraries/filter.d.ts +6 -0
- package/dist/libraries/filter.d.ts.map +1 -0
- package/dist/libraries/filter.js +7 -0
- package/dist/libraries/icons.d.ts +3 -0
- package/dist/libraries/icons.d.ts.map +1 -0
- package/dist/libraries/icons.js +3 -0
- package/dist/libraries/markdown.d.ts +5 -0
- package/dist/libraries/markdown.d.ts.map +1 -0
- package/dist/libraries/markdown.js +5 -0
- package/dist/libraries/motion.d.ts +11 -0
- package/dist/libraries/motion.d.ts.map +1 -0
- package/dist/libraries/motion.js +12 -0
- package/dist/libraries/pglite.d.ts +8 -0
- package/dist/libraries/pglite.d.ts.map +1 -0
- package/dist/libraries/pglite.js +8 -0
- package/dist/libraries/replay.d.ts +4 -0
- package/dist/libraries/replay.d.ts.map +1 -0
- package/dist/libraries/replay.js +22 -0
- package/dist/libraries/sandbox.d.ts +4 -0
- package/dist/libraries/sandbox.d.ts.map +1 -0
- package/dist/libraries/sandbox.js +5 -0
- package/dist/libraries/sql.d.ts +2 -0
- package/dist/libraries/sql.d.ts.map +1 -0
- package/dist/libraries/sql.js +2 -0
- package/dist/libraries/sync.d.ts +4 -0
- package/dist/libraries/sync.d.ts.map +1 -0
- package/dist/libraries/sync.js +4 -0
- package/dist/libraries/tailscale.d.ts +10 -0
- package/dist/libraries/tailscale.d.ts.map +1 -0
- package/dist/libraries/tailscale.js +10 -0
- package/dist/libraries/time.d.ts +9 -0
- package/dist/libraries/time.d.ts.map +1 -0
- package/dist/libraries/time.js +9 -0
- package/dist/libraries/tokens.d.ts +8 -0
- package/dist/libraries/tokens.d.ts.map +1 -0
- package/dist/libraries/tokens.js +10 -0
- package/dist/libraries/vault.d.ts +6 -0
- package/dist/libraries/vault.d.ts.map +1 -0
- package/dist/libraries/vault.js +6 -0
- package/dist/libraries/video.d.ts +9 -0
- package/dist/libraries/video.d.ts.map +1 -0
- package/dist/libraries/video.js +10 -0
- package/dist/opencode.d.ts +1 -2
- package/dist/opencode.d.ts.map +1 -1
- package/dist/opencode.js +3 -3
- package/dist/sdk/core/accordion.d.ts +2 -0
- package/dist/sdk/core/accordion.d.ts.map +1 -0
- package/dist/sdk/core/accordion.js +1 -0
- package/dist/sdk/core/agent.d.ts +2 -0
- package/dist/sdk/core/agent.d.ts.map +1 -0
- package/dist/sdk/core/agent.js +1 -0
- package/dist/sdk/core/alert-dialog.d.ts +2 -0
- package/dist/sdk/core/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/core/alert-dialog.js +1 -0
- package/dist/sdk/core/async-options.d.ts +2 -0
- package/dist/sdk/core/async-options.d.ts.map +1 -0
- package/dist/sdk/core/async-options.js +1 -0
- package/dist/sdk/core/autocomplete.d.ts +2 -0
- package/dist/sdk/core/autocomplete.d.ts.map +1 -0
- package/dist/sdk/core/autocomplete.js +1 -0
- package/dist/sdk/core/avatar.d.ts +2 -0
- package/dist/sdk/core/avatar.d.ts.map +1 -0
- package/dist/sdk/core/avatar.js +1 -0
- package/dist/sdk/core/button.d.ts +2 -0
- package/dist/sdk/core/button.d.ts.map +1 -0
- package/dist/sdk/core/button.js +1 -0
- package/dist/sdk/core/calendar.d.ts +2 -0
- package/dist/sdk/core/calendar.d.ts.map +1 -0
- package/dist/sdk/core/calendar.js +1 -0
- package/dist/sdk/core/carousel.d.ts +2 -0
- package/dist/sdk/core/carousel.d.ts.map +1 -0
- package/dist/sdk/core/carousel.js +1 -0
- package/dist/sdk/core/checkbox.d.ts +2 -0
- package/dist/sdk/core/checkbox.d.ts.map +1 -0
- package/dist/sdk/core/checkbox.js +1 -0
- package/dist/sdk/core/collapsible.d.ts +2 -0
- package/dist/sdk/core/collapsible.d.ts.map +1 -0
- package/dist/sdk/core/collapsible.js +1 -0
- package/dist/sdk/core/color-picker.d.ts +2 -0
- package/dist/sdk/core/color-picker.d.ts.map +1 -0
- package/dist/sdk/core/color-picker.js +1 -0
- package/dist/sdk/core/color.d.ts +2 -0
- package/dist/sdk/core/color.d.ts.map +1 -0
- package/dist/sdk/core/color.js +1 -0
- package/dist/sdk/core/combobox.d.ts +2 -0
- package/dist/sdk/core/combobox.d.ts.map +1 -0
- package/dist/sdk/core/combobox.js +1 -0
- package/dist/sdk/core/command.d.ts +2 -0
- package/dist/sdk/core/command.d.ts.map +1 -0
- package/dist/sdk/core/command.js +1 -0
- package/dist/sdk/core/date-input.d.ts +2 -0
- package/dist/sdk/core/date-input.d.ts.map +1 -0
- package/dist/sdk/core/date-input.js +1 -0
- package/dist/sdk/core/date-picker.d.ts +2 -0
- package/dist/sdk/core/date-picker.d.ts.map +1 -0
- package/dist/sdk/core/date-picker.js +1 -0
- package/dist/sdk/core/date.d.ts +2 -0
- package/dist/sdk/core/date.d.ts.map +1 -0
- package/dist/sdk/core/date.js +1 -0
- package/dist/sdk/core/dialog.d.ts +2 -0
- package/dist/sdk/core/dialog.d.ts.map +1 -0
- package/dist/sdk/core/dialog.js +1 -0
- package/dist/sdk/core/drawer.d.ts +2 -0
- package/dist/sdk/core/drawer.d.ts.map +1 -0
- package/dist/sdk/core/drawer.js +1 -0
- package/dist/sdk/core/field.d.ts +2 -0
- package/dist/sdk/core/field.d.ts.map +1 -0
- package/dist/sdk/core/field.js +1 -0
- package/dist/sdk/core/file-input.d.ts +2 -0
- package/dist/sdk/core/file-input.d.ts.map +1 -0
- package/dist/sdk/core/file-input.js +1 -0
- package/dist/sdk/core/gesture.d.ts +2 -0
- package/dist/sdk/core/gesture.d.ts.map +1 -0
- package/dist/sdk/core/gesture.js +1 -0
- package/dist/sdk/core/history.d.ts +2 -0
- package/dist/sdk/core/history.d.ts.map +1 -0
- package/dist/sdk/core/history.js +1 -0
- package/dist/sdk/core/hover-card.d.ts +2 -0
- package/dist/sdk/core/hover-card.d.ts.map +1 -0
- package/dist/sdk/core/hover-card.js +1 -0
- package/dist/sdk/core/image-cropper.d.ts +2 -0
- package/dist/sdk/core/image-cropper.d.ts.map +1 -0
- package/dist/sdk/core/image-cropper.js +1 -0
- package/dist/sdk/core/image.d.ts +2 -0
- package/dist/sdk/core/image.d.ts.map +1 -0
- package/dist/sdk/core/image.js +1 -0
- package/dist/sdk/core/index.d.ts +2 -0
- package/dist/sdk/core/index.d.ts.map +1 -0
- package/dist/sdk/core/index.js +1 -0
- package/dist/sdk/core/input.d.ts +2 -0
- package/dist/sdk/core/input.d.ts.map +1 -0
- package/dist/sdk/core/input.js +1 -0
- package/dist/sdk/core/label.d.ts +2 -0
- package/dist/sdk/core/label.d.ts.map +1 -0
- package/dist/sdk/core/label.js +1 -0
- package/dist/sdk/core/listbox.d.ts +2 -0
- package/dist/sdk/core/listbox.d.ts.map +1 -0
- package/dist/sdk/core/listbox.js +1 -0
- package/dist/sdk/core/menu.d.ts +2 -0
- package/dist/sdk/core/menu.d.ts.map +1 -0
- package/dist/sdk/core/menu.js +1 -0
- package/dist/sdk/core/menubar.d.ts +2 -0
- package/dist/sdk/core/menubar.d.ts.map +1 -0
- package/dist/sdk/core/menubar.js +1 -0
- package/dist/sdk/core/meter.d.ts +2 -0
- package/dist/sdk/core/meter.d.ts.map +1 -0
- package/dist/sdk/core/meter.js +1 -0
- package/dist/sdk/core/navigation-menu.d.ts +2 -0
- package/dist/sdk/core/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/core/navigation-menu.js +1 -0
- package/dist/sdk/core/number-input.d.ts +2 -0
- package/dist/sdk/core/number-input.d.ts.map +1 -0
- package/dist/sdk/core/number-input.js +1 -0
- package/dist/sdk/core/number.d.ts +2 -0
- package/dist/sdk/core/number.d.ts.map +1 -0
- package/dist/sdk/core/number.js +1 -0
- package/dist/sdk/core/observe.d.ts +2 -0
- package/dist/sdk/core/observe.d.ts.map +1 -0
- package/dist/sdk/core/observe.js +1 -0
- package/dist/sdk/core/otp-input.d.ts +2 -0
- package/dist/sdk/core/otp-input.d.ts.map +1 -0
- package/dist/sdk/core/otp-input.js +1 -0
- package/dist/sdk/core/overlays.d.ts +2 -0
- package/dist/sdk/core/overlays.d.ts.map +1 -0
- package/dist/sdk/core/overlays.js +1 -0
- package/dist/sdk/core/pagination.d.ts +2 -0
- package/dist/sdk/core/pagination.d.ts.map +1 -0
- package/dist/sdk/core/pagination.js +1 -0
- package/dist/sdk/core/password-input.d.ts +2 -0
- package/dist/sdk/core/password-input.d.ts.map +1 -0
- package/dist/sdk/core/password-input.js +1 -0
- package/dist/sdk/core/popover.d.ts +2 -0
- package/dist/sdk/core/popover.d.ts.map +1 -0
- package/dist/sdk/core/popover.js +1 -0
- package/dist/sdk/core/progress.d.ts +2 -0
- package/dist/sdk/core/progress.d.ts.map +1 -0
- package/dist/sdk/core/progress.js +1 -0
- package/dist/sdk/core/radio.d.ts +2 -0
- package/dist/sdk/core/radio.d.ts.map +1 -0
- package/dist/sdk/core/radio.js +1 -0
- package/dist/sdk/core/rating.d.ts +2 -0
- package/dist/sdk/core/rating.d.ts.map +1 -0
- package/dist/sdk/core/rating.js +1 -0
- package/dist/sdk/core/renderer.d.ts +2 -0
- package/dist/sdk/core/renderer.d.ts.map +1 -0
- package/dist/sdk/core/renderer.js +1 -0
- package/dist/sdk/core/resizable.d.ts +2 -0
- package/dist/sdk/core/resizable.d.ts.map +1 -0
- package/dist/sdk/core/resizable.js +1 -0
- package/dist/sdk/core/scroll-area.d.ts +2 -0
- package/dist/sdk/core/scroll-area.d.ts.map +1 -0
- package/dist/sdk/core/scroll-area.js +1 -0
- package/dist/sdk/core/segmented-control.d.ts +2 -0
- package/dist/sdk/core/segmented-control.d.ts.map +1 -0
- package/dist/sdk/core/segmented-control.js +1 -0
- package/dist/sdk/core/select.d.ts +2 -0
- package/dist/sdk/core/select.d.ts.map +1 -0
- package/dist/sdk/core/select.js +1 -0
- package/dist/sdk/core/separator.d.ts +2 -0
- package/dist/sdk/core/separator.d.ts.map +1 -0
- package/dist/sdk/core/separator.js +1 -0
- package/dist/sdk/core/shortcuts.d.ts +2 -0
- package/dist/sdk/core/shortcuts.d.ts.map +1 -0
- package/dist/sdk/core/shortcuts.js +1 -0
- package/dist/sdk/core/slider.d.ts +2 -0
- package/dist/sdk/core/slider.d.ts.map +1 -0
- package/dist/sdk/core/slider.js +1 -0
- package/dist/sdk/core/switch.d.ts +2 -0
- package/dist/sdk/core/switch.d.ts.map +1 -0
- package/dist/sdk/core/switch.js +1 -0
- package/dist/sdk/core/tabs.d.ts +2 -0
- package/dist/sdk/core/tabs.d.ts.map +1 -0
- package/dist/sdk/core/tabs.js +1 -0
- package/dist/sdk/core/testing.d.ts +2 -0
- package/dist/sdk/core/testing.d.ts.map +1 -0
- package/dist/sdk/core/testing.js +1 -0
- package/dist/sdk/core/text-match.d.ts +2 -0
- package/dist/sdk/core/text-match.d.ts.map +1 -0
- package/dist/sdk/core/text-match.js +1 -0
- package/dist/sdk/core/time-input.d.ts +2 -0
- package/dist/sdk/core/time-input.d.ts.map +1 -0
- package/dist/sdk/core/time-input.js +1 -0
- package/dist/sdk/core/timeline.d.ts +2 -0
- package/dist/sdk/core/timeline.d.ts.map +1 -0
- package/dist/sdk/core/timeline.js +1 -0
- package/dist/sdk/core/toast.d.ts +2 -0
- package/dist/sdk/core/toast.d.ts.map +1 -0
- package/dist/sdk/core/toast.js +1 -0
- package/dist/sdk/core/toggle.d.ts +2 -0
- package/dist/sdk/core/toggle.d.ts.map +1 -0
- package/dist/sdk/core/toggle.js +1 -0
- package/dist/sdk/core/token-input.d.ts +2 -0
- package/dist/sdk/core/token-input.d.ts.map +1 -0
- package/dist/sdk/core/token-input.js +1 -0
- package/dist/sdk/core/toolbar.d.ts +2 -0
- package/dist/sdk/core/toolbar.d.ts.map +1 -0
- package/dist/sdk/core/toolbar.js +1 -0
- package/dist/sdk/core/tooltip.d.ts +2 -0
- package/dist/sdk/core/tooltip.d.ts.map +1 -0
- package/dist/sdk/core/tooltip.js +1 -0
- package/dist/sdk/core/tree.d.ts +2 -0
- package/dist/sdk/core/tree.d.ts.map +1 -0
- package/dist/sdk/core/tree.js +1 -0
- package/dist/sdk/core/trigger-menu.d.ts +2 -0
- package/dist/sdk/core/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/core/trigger-menu.js +1 -0
- package/dist/sdk/core/waterfall.d.ts +2 -0
- package/dist/sdk/core/waterfall.d.ts.map +1 -0
- package/dist/sdk/core/waterfall.js +1 -0
- package/dist/sdk/react/accordion.d.ts +2 -0
- package/dist/sdk/react/accordion.d.ts.map +1 -0
- package/dist/sdk/react/accordion.js +1 -0
- package/dist/sdk/react/agent.d.ts +2 -0
- package/dist/sdk/react/agent.d.ts.map +1 -0
- package/dist/sdk/react/agent.js +1 -0
- package/dist/sdk/react/alert-dialog.d.ts +2 -0
- package/dist/sdk/react/alert-dialog.d.ts.map +1 -0
- package/dist/sdk/react/alert-dialog.js +1 -0
- package/dist/sdk/react/async-options.d.ts +2 -0
- package/dist/sdk/react/async-options.d.ts.map +1 -0
- package/dist/sdk/react/async-options.js +1 -0
- package/dist/sdk/react/autocomplete.d.ts +2 -0
- package/dist/sdk/react/autocomplete.d.ts.map +1 -0
- package/dist/sdk/react/autocomplete.js +1 -0
- package/dist/sdk/react/avatar.d.ts +2 -0
- package/dist/sdk/react/avatar.d.ts.map +1 -0
- package/dist/sdk/react/avatar.js +1 -0
- package/dist/sdk/react/button.d.ts +2 -0
- package/dist/sdk/react/button.d.ts.map +1 -0
- package/dist/sdk/react/button.js +1 -0
- package/dist/sdk/react/calendar.d.ts +2 -0
- package/dist/sdk/react/calendar.d.ts.map +1 -0
- package/dist/sdk/react/calendar.js +1 -0
- package/dist/sdk/react/carousel.d.ts +2 -0
- package/dist/sdk/react/carousel.d.ts.map +1 -0
- package/dist/sdk/react/carousel.js +1 -0
- package/dist/sdk/react/checkbox.d.ts +2 -0
- package/dist/sdk/react/checkbox.d.ts.map +1 -0
- package/dist/sdk/react/checkbox.js +1 -0
- package/dist/sdk/react/collapsible.d.ts +2 -0
- package/dist/sdk/react/collapsible.d.ts.map +1 -0
- package/dist/sdk/react/collapsible.js +1 -0
- package/dist/sdk/react/color-picker.d.ts +2 -0
- package/dist/sdk/react/color-picker.d.ts.map +1 -0
- package/dist/sdk/react/color-picker.js +1 -0
- package/dist/sdk/react/color.d.ts +2 -0
- package/dist/sdk/react/color.d.ts.map +1 -0
- package/dist/sdk/react/color.js +1 -0
- package/dist/sdk/react/combobox.d.ts +2 -0
- package/dist/sdk/react/combobox.d.ts.map +1 -0
- package/dist/sdk/react/combobox.js +1 -0
- package/dist/sdk/react/command.d.ts +2 -0
- package/dist/sdk/react/command.d.ts.map +1 -0
- package/dist/sdk/react/command.js +1 -0
- package/dist/sdk/react/date-input.d.ts +2 -0
- package/dist/sdk/react/date-input.d.ts.map +1 -0
- package/dist/sdk/react/date-input.js +1 -0
- package/dist/sdk/react/date-picker.d.ts +2 -0
- package/dist/sdk/react/date-picker.d.ts.map +1 -0
- package/dist/sdk/react/date-picker.js +1 -0
- package/dist/sdk/react/date.d.ts +2 -0
- package/dist/sdk/react/date.d.ts.map +1 -0
- package/dist/sdk/react/date.js +1 -0
- package/dist/sdk/react/dialog.d.ts +2 -0
- package/dist/sdk/react/dialog.d.ts.map +1 -0
- package/dist/sdk/react/dialog.js +1 -0
- package/dist/sdk/react/drawer.d.ts +2 -0
- package/dist/sdk/react/drawer.d.ts.map +1 -0
- package/dist/sdk/react/drawer.js +1 -0
- package/dist/sdk/react/field.d.ts +2 -0
- package/dist/sdk/react/field.d.ts.map +1 -0
- package/dist/sdk/react/field.js +1 -0
- package/dist/sdk/react/file-input.d.ts +2 -0
- package/dist/sdk/react/file-input.d.ts.map +1 -0
- package/dist/sdk/react/file-input.js +1 -0
- package/dist/sdk/react/gesture.d.ts +2 -0
- package/dist/sdk/react/gesture.d.ts.map +1 -0
- package/dist/sdk/react/gesture.js +1 -0
- package/dist/sdk/react/history.d.ts +2 -0
- package/dist/sdk/react/history.d.ts.map +1 -0
- package/dist/sdk/react/history.js +1 -0
- package/dist/sdk/react/hover-card.d.ts +2 -0
- package/dist/sdk/react/hover-card.d.ts.map +1 -0
- package/dist/sdk/react/hover-card.js +1 -0
- package/dist/sdk/react/image-cropper.d.ts +2 -0
- package/dist/sdk/react/image-cropper.d.ts.map +1 -0
- package/dist/sdk/react/image-cropper.js +1 -0
- package/dist/sdk/react/image.d.ts +2 -0
- package/dist/sdk/react/image.d.ts.map +1 -0
- package/dist/sdk/react/image.js +1 -0
- package/dist/sdk/react/input.d.ts +2 -0
- package/dist/sdk/react/input.d.ts.map +1 -0
- package/dist/sdk/react/input.js +1 -0
- package/dist/sdk/react/label.d.ts +2 -0
- package/dist/sdk/react/label.d.ts.map +1 -0
- package/dist/sdk/react/label.js +1 -0
- package/dist/sdk/react/listbox.d.ts +2 -0
- package/dist/sdk/react/listbox.d.ts.map +1 -0
- package/dist/sdk/react/listbox.js +1 -0
- package/dist/sdk/react/menu.d.ts +2 -0
- package/dist/sdk/react/menu.d.ts.map +1 -0
- package/dist/sdk/react/menu.js +1 -0
- package/dist/sdk/react/menubar.d.ts +2 -0
- package/dist/sdk/react/menubar.d.ts.map +1 -0
- package/dist/sdk/react/menubar.js +1 -0
- package/dist/sdk/react/meter.d.ts +2 -0
- package/dist/sdk/react/meter.d.ts.map +1 -0
- package/dist/sdk/react/meter.js +1 -0
- package/dist/sdk/react/navigation-menu.d.ts +2 -0
- package/dist/sdk/react/navigation-menu.d.ts.map +1 -0
- package/dist/sdk/react/navigation-menu.js +1 -0
- package/dist/sdk/react/number-input.d.ts +2 -0
- package/dist/sdk/react/number-input.d.ts.map +1 -0
- package/dist/sdk/react/number-input.js +1 -0
- package/dist/sdk/react/number.d.ts +2 -0
- package/dist/sdk/react/number.d.ts.map +1 -0
- package/dist/sdk/react/number.js +1 -0
- package/dist/sdk/react/observe.d.ts +2 -0
- package/dist/sdk/react/observe.d.ts.map +1 -0
- package/dist/sdk/react/observe.js +1 -0
- package/dist/sdk/react/otp-input.d.ts +2 -0
- package/dist/sdk/react/otp-input.d.ts.map +1 -0
- package/dist/sdk/react/otp-input.js +1 -0
- package/dist/sdk/react/overlays.d.ts +2 -0
- package/dist/sdk/react/overlays.d.ts.map +1 -0
- package/dist/sdk/react/overlays.js +1 -0
- package/dist/sdk/react/pagination.d.ts +2 -0
- package/dist/sdk/react/pagination.d.ts.map +1 -0
- package/dist/sdk/react/pagination.js +1 -0
- package/dist/sdk/react/password-input.d.ts +2 -0
- package/dist/sdk/react/password-input.d.ts.map +1 -0
- package/dist/sdk/react/password-input.js +1 -0
- package/dist/sdk/react/popover.d.ts +2 -0
- package/dist/sdk/react/popover.d.ts.map +1 -0
- package/dist/sdk/react/popover.js +1 -0
- package/dist/sdk/react/preferences.d.ts +2 -0
- package/dist/sdk/react/preferences.d.ts.map +1 -0
- package/dist/sdk/react/preferences.js +1 -0
- package/dist/sdk/react/primitive.d.ts +2 -0
- package/dist/sdk/react/primitive.d.ts.map +1 -0
- package/dist/sdk/react/primitive.js +1 -0
- package/dist/sdk/react/progress.d.ts +2 -0
- package/dist/sdk/react/progress.d.ts.map +1 -0
- package/dist/sdk/react/progress.js +1 -0
- package/dist/sdk/react/radio.d.ts +2 -0
- package/dist/sdk/react/radio.d.ts.map +1 -0
- package/dist/sdk/react/radio.js +1 -0
- package/dist/sdk/react/rating.d.ts +2 -0
- package/dist/sdk/react/rating.d.ts.map +1 -0
- package/dist/sdk/react/rating.js +1 -0
- package/dist/sdk/react/resizable.d.ts +2 -0
- package/dist/sdk/react/resizable.d.ts.map +1 -0
- package/dist/sdk/react/resizable.js +1 -0
- package/dist/sdk/react/scroll-area.d.ts +2 -0
- package/dist/sdk/react/scroll-area.d.ts.map +1 -0
- package/dist/sdk/react/scroll-area.js +1 -0
- package/dist/sdk/react/segmented-control.d.ts +2 -0
- package/dist/sdk/react/segmented-control.d.ts.map +1 -0
- package/dist/sdk/react/segmented-control.js +1 -0
- package/dist/sdk/react/select.d.ts +2 -0
- package/dist/sdk/react/select.d.ts.map +1 -0
- package/dist/sdk/react/select.js +1 -0
- package/dist/sdk/react/separator.d.ts +2 -0
- package/dist/sdk/react/separator.d.ts.map +1 -0
- package/dist/sdk/react/separator.js +1 -0
- package/dist/sdk/react/shortcuts.d.ts +2 -0
- package/dist/sdk/react/shortcuts.d.ts.map +1 -0
- package/dist/sdk/react/shortcuts.js +1 -0
- package/dist/sdk/react/slider.d.ts +2 -0
- package/dist/sdk/react/slider.d.ts.map +1 -0
- package/dist/sdk/react/slider.js +1 -0
- package/dist/sdk/react/switch.d.ts +2 -0
- package/dist/sdk/react/switch.d.ts.map +1 -0
- package/dist/sdk/react/switch.js +1 -0
- package/dist/sdk/react/tabs.d.ts +2 -0
- package/dist/sdk/react/tabs.d.ts.map +1 -0
- package/dist/sdk/react/tabs.js +1 -0
- package/dist/sdk/react/text-match.d.ts +2 -0
- package/dist/sdk/react/text-match.d.ts.map +1 -0
- package/dist/sdk/react/text-match.js +1 -0
- package/dist/sdk/react/textarea.d.ts +2 -0
- package/dist/sdk/react/textarea.d.ts.map +1 -0
- package/dist/sdk/react/textarea.js +1 -0
- package/dist/sdk/react/time-input.d.ts +2 -0
- package/dist/sdk/react/time-input.d.ts.map +1 -0
- package/dist/sdk/react/time-input.js +1 -0
- package/dist/sdk/react/timeline.d.ts +2 -0
- package/dist/sdk/react/timeline.d.ts.map +1 -0
- package/dist/sdk/react/timeline.js +1 -0
- package/dist/sdk/react/toast.d.ts +2 -0
- package/dist/sdk/react/toast.d.ts.map +1 -0
- package/dist/sdk/react/toast.js +1 -0
- package/dist/sdk/react/toggle.d.ts +2 -0
- package/dist/sdk/react/toggle.d.ts.map +1 -0
- package/dist/sdk/react/toggle.js +1 -0
- package/dist/sdk/react/token-input.d.ts +2 -0
- package/dist/sdk/react/token-input.d.ts.map +1 -0
- package/dist/sdk/react/token-input.js +1 -0
- package/dist/sdk/react/toolbar.d.ts +2 -0
- package/dist/sdk/react/toolbar.d.ts.map +1 -0
- package/dist/sdk/react/toolbar.js +1 -0
- package/dist/sdk/react/tooltip.d.ts +2 -0
- package/dist/sdk/react/tooltip.d.ts.map +1 -0
- package/dist/sdk/react/tooltip.js +1 -0
- package/dist/sdk/react/tree.d.ts +2 -0
- package/dist/sdk/react/tree.d.ts.map +1 -0
- package/dist/sdk/react/tree.js +1 -0
- package/dist/sdk/react/trigger-menu.d.ts +2 -0
- package/dist/sdk/react/trigger-menu.d.ts.map +1 -0
- package/dist/sdk/react/trigger-menu.js +1 -0
- package/dist/sdk/react/waterfall.d.ts +2 -0
- package/dist/sdk/react/waterfall.d.ts.map +1 -0
- package/dist/sdk/react/waterfall.js +1 -0
- package/dist/theme.css +23 -4
- package/dist/vendor/ui-sdk/LICENSE +202 -0
- package/dist/vendor/ui-sdk/NOTICE.md +14 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.d.ts +597 -0
- package/dist/vendor/ui-sdk/core/components/accordion/accordion.js +446 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-api.js +445 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete-parts.js +254 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.d.ts +1011 -0
- package/dist/vendor/ui-sdk/core/components/autocomplete/autocomplete.js +71 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.d.ts +268 -0
- package/dist/vendor/ui-sdk/core/components/avatar/avatar.js +146 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/components/avatar/image-status.js +13 -0
- package/dist/vendor/ui-sdk/core/components/button/button.d.ts +275 -0
- package/dist/vendor/ui-sdk/core/components/button/button.js +116 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-api.js +686 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar-model.js +161 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.d.ts +877 -0
- package/dist/vendor/ui-sdk/core/components/calendar/calendar.js +85 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-api.js +500 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-autoplay.js +74 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-dom.js +113 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-indicators.js +91 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-keyboard.js +47 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.d.ts +123 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-layout.js +193 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-loop.js +132 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel-motion.js +443 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.d.ts +661 -0
- package/dist/vendor/ui-sdk/core/components/carousel/carousel.js +265 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.d.ts +371 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox-group.js +253 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/checkbox/checkbox.js +257 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.d.ts +651 -0
- package/dist/vendor/ui-sdk/core/components/collapsible/collapsible.js +177 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-api.js +413 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-channels.js +154 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker-parts.js +553 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.d.ts +516 -0
- package/dist/vendor/ui-sdk/core/components/color-picker/color-picker.js +37 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.d.ts +267 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-api.js +830 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-chips.js +110 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-keyboard.js +165 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.d.ts +200 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox-parts.js +540 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.d.ts +1278 -0
- package/dist/vendor/ui-sdk/core/components/combobox/combobox.js +81 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.d.ts +142 -0
- package/dist/vendor/ui-sdk/core/components/command/command-api.js +328 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/command/command-data.js +65 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/components/command/command-parts.js +215 -0
- package/dist/vendor/ui-sdk/core/components/command/command.d.ts +846 -0
- package/dist/vendor/ui-sdk/core/components/command/command.js +57 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.d.ts +136 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-api.js +462 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-model.js +386 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input-parts.js +289 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.d.ts +331 -0
- package/dist/vendor/ui-sdk/core/components/date-input/date-input.js +27 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.d.ts +320 -0
- package/dist/vendor/ui-sdk/core/components/date-input/time-input.js +28 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-api.js +356 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker-parts.js +320 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.d.ts +678 -0
- package/dist/vendor/ui-sdk/core/components/date-picker/date-picker.js +78 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.d.ts +244 -0
- package/dist/vendor/ui-sdk/core/components/dialog/alert-dialog.js +71 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.d.ts +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-api.js +253 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-parts.js +168 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog-primitive.js +60 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.d.ts +855 -0
- package/dist/vendor/ui-sdk/core/components/dialog/dialog.js +53 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer-api.js +331 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.d.ts +689 -0
- package/dist/vendor/ui-sdk/core/components/drawer/drawer.js +306 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/components/field/field-attrs.js +176 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/components/field/field-control.js +43 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/field/field-outside.js +77 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.d.ts +208 -0
- package/dist/vendor/ui-sdk/core/components/field/field-set.js +115 -0
- package/dist/vendor/ui-sdk/core/components/field/field.d.ts +224 -0
- package/dist/vendor/ui-sdk/core/components/field/field.js +413 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-drop.js +189 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.d.ts +82 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-api.js +370 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input-dropzone.js +140 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.d.ts +484 -0
- package/dist/vendor/ui-sdk/core/components/file-input/file-input.js +224 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.d.ts +464 -0
- package/dist/vendor/ui-sdk/core/components/hover-card/hover-card.js +76 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-api.js +581 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-geometry.js +224 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper-parts.js +335 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.d.ts +527 -0
- package/dist/vendor/ui-sdk/core/components/image-cropper/image-cropper.js +39 -0
- package/dist/vendor/ui-sdk/core/components/input/input.d.ts +770 -0
- package/dist/vendor/ui-sdk/core/components/input/input.js +281 -0
- package/dist/vendor/ui-sdk/core/components/label/label.d.ts +62 -0
- package/dist/vendor/ui-sdk/core/components/label/label.js +159 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.d.ts +161 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-api.js +325 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root-parts.js +184 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.d.ts +654 -0
- package/dist/vendor/ui-sdk/core/components/listbox/listbox-root.js +50 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-api.js +754 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu-parts.js +750 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.d.ts +802 -0
- package/dist/vendor/ui-sdk/core/components/menu/menu.js +86 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.d.ts +338 -0
- package/dist/vendor/ui-sdk/core/components/menubar/menubar.js +274 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.d.ts +246 -0
- package/dist/vendor/ui-sdk/core/components/meter/meter.js +86 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.d.ts +135 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-api.js +646 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-dom.js +181 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-focus.js +125 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu-keyboard.js +73 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.d.ts +732 -0
- package/dist/vendor/ui-sdk/core/components/navigation-menu/navigation-menu.js +240 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input-api.js +440 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.d.ts +569 -0
- package/dist/vendor/ui-sdk/core/components/number-input/number-input.js +259 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-api.js +395 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.d.ts +76 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input-model.js +135 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.d.ts +749 -0
- package/dist/vendor/ui-sdk/core/components/otp-input/otp-input.js +229 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination-range.js +50 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.d.ts +1026 -0
- package/dist/vendor/ui-sdk/core/components/pagination/pagination.js +218 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.d.ts +634 -0
- package/dist/vendor/ui-sdk/core/components/password-input/password-input.js +317 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.d.ts +648 -0
- package/dist/vendor/ui-sdk/core/components/popover/popover.js +153 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.d.ts +248 -0
- package/dist/vendor/ui-sdk/core/components/progress/progress.js +118 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-api.js +206 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio-parts.js +171 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.d.ts +366 -0
- package/dist/vendor/ui-sdk/core/components/radio/radio.js +104 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.d.ts +493 -0
- package/dist/vendor/ui-sdk/core/components/rating/rating.js +208 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-api.js +480 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-dom.js +220 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-handles.js +190 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.d.ts +119 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-layout.js +276 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable-storage.js +42 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.d.ts +411 -0
- package/dist/vendor/ui-sdk/core/components/resizable/resizable.js +234 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-model.js +126 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-pointer.js +201 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.d.ts +47 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area-view.js +614 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.d.ts +826 -0
- package/dist/vendor/ui-sdk/core/components/scroll-area/scroll-area.js +301 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.d.ts +432 -0
- package/dist/vendor/ui-sdk/core/components/segmented-control/segmented-control.js +107 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.d.ts +270 -0
- package/dist/vendor/ui-sdk/core/components/select/select-api.js +499 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/select/select-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/components/select/select-keyboard.js +230 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.d.ts +180 -0
- package/dist/vendor/ui-sdk/core/components/select/select-parts.js +420 -0
- package/dist/vendor/ui-sdk/core/components/select/select.d.ts +1128 -0
- package/dist/vendor/ui-sdk/core/components/select/select.js +77 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.d.ts +189 -0
- package/dist/vendor/ui-sdk/core/components/separator/separator.js +32 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-api.js +377 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.d.ts +7 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider-values.js +118 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.d.ts +631 -0
- package/dist/vendor/ui-sdk/core/components/slider/slider.js +338 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.d.ts +347 -0
- package/dist/vendor/ui-sdk/core/components/switch/switch.js +48 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-direction.js +17 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.d.ts +525 -0
- package/dist/vendor/ui-sdk/core/components/tabs/tabs.js +501 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.d.ts +384 -0
- package/dist/vendor/ui-sdk/core/components/timeline/timeline.js +291 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/components/toast/swipe.js +99 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-api.js +677 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.d.ts +54 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-dom.js +147 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-parts.js +150 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast-timers.js +111 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.d.ts +854 -0
- package/dist/vendor/ui-sdk/core/components/toast/toast.js +42 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/components/toast/toaster.js +180 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.d.ts +472 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle-group.js +204 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.d.ts +458 -0
- package/dist/vendor/ui-sdk/core/components/toggle/toggle.js +257 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.d.ts +143 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-api.js +405 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-editing.js +440 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-model.js +219 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-parts.js +194 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input-view.js +341 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.d.ts +640 -0
- package/dist/vendor/ui-sdk/core/components/token-input/token-input.js +53 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar-fields.js +26 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.d.ts +344 -0
- package/dist/vendor/ui-sdk/core/components/toolbar/toolbar.js +345 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.d.ts +5178 -0
- package/dist/vendor/ui-sdk/core/components/tooltip/tooltip.js +286 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.d.ts +103 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-api.js +899 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.d.ts +928 -0
- package/dist/vendor/ui-sdk/core/components/tree/tree.js +359 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-match.js +143 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.d.ts +170 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-api.js +586 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-generic.js +0 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-keyboard.js +78 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-levels.js +190 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-parts.js +354 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu-select.js +246 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.d.ts +785 -0
- package/dist/vendor/ui-sdk/core/components/trigger-menu/trigger-menu.js +54 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.d.ts +114 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-api.js +410 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall-time.js +87 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.d.ts +571 -0
- package/dist/vendor/ui-sdk/core/components/waterfall/waterfall.js +260 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/connect.js +211 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.d.ts +160 -0
- package/dist/vendor/ui-sdk/core/foundation/canvas/viewport.js +369 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/color.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/foundation/color/compare.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/color/convert.js +239 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/color/format.js +86 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/color/gamut.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/color/index.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/color/mix.js +62 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/color/names.js +5 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/color/parse.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/date.js +63 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/date/format.js +99 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/date/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/date/parse.js +229 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.d.ts +112 -0
- package/dist/vendor/ui-sdk/core/foundation/date/plain-date.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/date/week.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.d.ts +110 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/area.js +155 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.d.ts +91 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/hold.js +173 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.d.ts +124 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/move.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.d.ts +75 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/preview.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/repeat.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.d.ts +198 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/resize.js +245 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.d.ts +202 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/spans.js +485 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/direct-manipulation/swipe-actions.js +243 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/disclosure.js +64 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/disclosure/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/auto-scroll.js +89 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/draft-move.js +79 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/drag-preview.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/index.js +19 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.d.ts +109 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/pointer.js +308 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.d.ts +174 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/reorder.js +390 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.d.ts +145 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/transfer.js +337 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.d.ts +187 -0
- package/dist/vendor/ui-sdk/core/foundation/drag-and-drop/tree-reorder.js +416 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/collection.js +93 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/focus-recovery.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.d.ts +113 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/grid-focus.js +177 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/index.js +58 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/keep-focus.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/press-keeps-focus.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.d.ts +147 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-focus.js +281 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/roving-scope.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/spatial.js +52 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/focus/tabbable.js +148 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/control.js +34 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.d.ts +104 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/files.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form-internals.js +105 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/form.js +360 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/index.js +102 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.d.ts +39 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/input-hints.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/text-field.js +140 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.d.ts +131 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/toggle-control.js +206 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/forms/value.js +104 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/gauge.js +98 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/gauge/index.js +23 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.d.ts +80 -0
- package/dist/vendor/ui-sdk/core/foundation/image/crop.js +111 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/image.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/image/index.js +7 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/action.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/attrs.js +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/bound-keys.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/change.js +160 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.d.ts +23 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controlled-lists.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/controller.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/derive.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.d.ts +260 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/details.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.d.ts +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev-stub.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/dev.js +447 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/draft.js +16 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/elements.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/events.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/index.js +131 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/inline-style.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.d.ts +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/input-source.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/keep.js +112 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/live.js +223 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.d.ts +27 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/modality.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/option-names.js +8 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/order.js +133 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.d.ts +155 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/part.js +493 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.d.ts +524 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive-types.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.d.ts +132 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/primitive.js +335 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/roles.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.d.ts +64 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/selects.js +157 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.d.ts +66 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/store.js +235 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/trusted.js +9 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/undo-stack.js +67 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/kernel/watchers.js +50 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.d.ts +81 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/async-options.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.d.ts +257 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/autocomplete-core.js +263 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/findable-rows.js +350 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/index.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.d.ts +74 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/inline-edit.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.d.ts +158 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/item-icon.js +185 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.d.ts +102 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-behavior.js +147 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.d.ts +169 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-engine.js +569 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keyboard.js +57 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-keys.js +17 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-listing.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.d.ts +321 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-parts.js +318 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.d.ts +140 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-popup.js +108 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.d.ts +85 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-search.js +168 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.d.ts +115 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-select-all.js +106 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox-value.js +251 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/listbox.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/scroll-picker.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.d.ts +68 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/stick-to-bottom.js +167 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.d.ts +32 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-checked.js +101 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.d.ts +120 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/tree-collection.js +165 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.d.ts +121 -0
- package/dist/vendor/ui-sdk/core/foundation/lists/virtualizer.js +398 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.d.ts +63 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/content-scroll.js +95 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.d.ts +4 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/curves.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/gesture.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/handoff.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/index.js +54 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.d.ts +167 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/machine.js +363 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.d.ts +70 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/panel.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/physics.js +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.d.ts +25 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/presence.js +138 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/projection.js +46 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/rubber-band.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/sector.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/snap-points.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/spring.js +76 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/motion/velocity.js +113 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/foundation/number/format.js +71 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/foundation/number/keys.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/number/number.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/number/parse.js +107 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.d.ts +30 -0
- package/dist/vendor/ui-sdk/core/foundation/number/scale.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.d.ts +125 -0
- package/dist/vendor/ui-sdk/core/foundation/number/steps.js +145 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/announce.js +61 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.d.ts +40 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/bind-layer.js +53 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.d.ts +26 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/button.js +72 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/env.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.d.ts +11 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/index.js +110 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.d.ts +29 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/keyboard.js +150 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layers.js +399 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/layout.js +91 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/moves.js +127 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.d.ts +45 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/platform.js +188 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.d.ts +201 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/position.js +553 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/scrollbar.js +43 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.d.ts +9 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/sides.js +13 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.d.ts +31 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/style.js +146 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.d.ts +49 -0
- package/dist/vendor/ui-sdk/core/foundation/platform/viewport.js +215 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/bridge.js +41 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.d.ts +238 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/create-popup.js +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.d.ts +44 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/dismissal.js +31 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/hover.js +77 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/index.js +118 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal-attribute.js +29 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.d.ts +38 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/modal.js +269 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.d.ts +100 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-behavior.js +66 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-elements.js +36 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.d.ts +96 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-features.js +349 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-hover-presets.js +37 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.d.ts +24 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-payload.js +33 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.d.ts +182 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-presets.js +109 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.d.ts +183 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-slots.js +217 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.d.ts +122 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup-steps.js +181 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.d.ts +227 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/popup.js +977 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.d.ts +61 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/presentation.js +94 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/safe-area.js +68 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-axis.js +85 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.d.ts +71 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-driver.js +27 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.d.ts +52 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-effects.js +288 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-pointer.js +557 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.d.ts +5 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-presentation.js +135 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.d.ts +13 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet-scroll-snap.js +382 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.d.ts +92 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/sheet.js +440 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.d.ts +10 -0
- package/dist/vendor/ui-sdk/core/foundation/popups/theme-color.js +44 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.d.ts +141 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/color-scheme.js +151 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.d.ts +87 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/pointer-kind.js +132 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.d.ts +152 -0
- package/dist/vendor/ui-sdk/core/foundation/preferences/preference.js +174 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.d.ts +176 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/cell-range.js +384 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/index.js +10 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/indicator.js +40 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.d.ts +60 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/lasso.js +78 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.d.ts +36 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/listbox-range.js +39 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.d.ts +90 -0
- package/dist/vendor/ui-sdk/core/foundation/selection/selection-model.js +136 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.d.ts +83 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/create-shortcuts.js +154 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/index.js +20 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-order.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.d.ts +21 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcut-slot.js +73 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.d.ts +19 -0
- package/dist/vendor/ui-sdk/core/foundation/shortcuts/shortcuts.js +14 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.d.ts +1 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/index.js +15 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.d.ts +177 -0
- package/dist/vendor/ui-sdk/core/foundation/storage/storage.js +256 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/foundation/text/accessible-name.js +121 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/caret.js +272 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/foundation/text/fuzzy.js +69 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/foundation/text/index.js +48 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.d.ts +41 -0
- package/dist/vendor/ui-sdk/core/foundation/text/input-history.js +83 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.d.ts +22 -0
- package/dist/vendor/ui-sdk/core/foundation/text/locale.js +38 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.d.ts +51 -0
- package/dist/vendor/ui-sdk/core/foundation/text/match.js +170 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check-stub.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.d.ts +18 -0
- package/dist/vendor/ui-sdk/core/foundation/text/name-check.js +26 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-editor.js +0 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/foundation/text/text-match.js +11 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.d.ts +43 -0
- package/dist/vendor/ui-sdk/core/foundation/text/typeahead.js +72 -0
- package/dist/vendor/ui-sdk/core/index.d.ts +73 -0
- package/dist/vendor/ui-sdk/core/index.js +322 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.d.ts +252 -0
- package/dist/vendor/ui-sdk/core/page/agent/agent.js +1326 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.d.ts +3 -0
- package/dist/vendor/ui-sdk/core/page/agent/guard.js +5 -0
- package/dist/vendor/ui-sdk/core/page/history/history.d.ts +93 -0
- package/dist/vendor/ui-sdk/core/page/history/history.js +233 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.d.ts +42 -0
- package/dist/vendor/ui-sdk/core/page/history/stage.js +58 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.d.ts +6 -0
- package/dist/vendor/ui-sdk/core/page/observe/marks.js +38 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.d.ts +35 -0
- package/dist/vendor/ui-sdk/core/page/observe/observe.js +26 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.d.ts +72 -0
- package/dist/vendor/ui-sdk/core/page/observe/registry.js +265 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.d.ts +50 -0
- package/dist/vendor/ui-sdk/core/page/overlays/overlays.js +69 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.d.ts +2 -0
- package/dist/vendor/ui-sdk/core/page/shortcuts/shortcuts.js +17 -0
- package/dist/vendor/ui-sdk/core/renderer.d.ts +58 -0
- package/dist/vendor/ui-sdk/core/renderer.js +155 -0
- package/dist/vendor/ui-sdk/core/testing/aria.d.ts +34 -0
- package/dist/vendor/ui-sdk/core/testing/aria.js +138 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.d.ts +15 -0
- package/dist/vendor/ui-sdk/core/testing/check-direction.js +80 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.d.ts +33 -0
- package/dist/vendor/ui-sdk/core/testing/check-pattern.js +64 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.d.ts +16 -0
- package/dist/vendor/ui-sdk/core/testing/check-server.js +164 -0
- package/dist/vendor/ui-sdk/core/testing/composite.d.ts +46 -0
- package/dist/vendor/ui-sdk/core/testing/composite.js +200 -0
- package/dist/vendor/ui-sdk/core/testing/input.d.ts +28 -0
- package/dist/vendor/ui-sdk/core/testing/input.js +235 -0
- package/dist/vendor/ui-sdk/core/testing/markup.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/markup.js +67 -0
- package/dist/vendor/ui-sdk/core/testing/mount.d.ts +55 -0
- package/dist/vendor/ui-sdk/core/testing/mount.js +312 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.d.ts +37 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-context.js +186 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.d.ts +12 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-controls.js +317 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.d.ts +17 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-lists.js +535 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.d.ts +8 -0
- package/dist/vendor/ui-sdk/core/testing/pattern-popups.js +383 -0
- package/dist/vendor/ui-sdk/core/testing/schema.d.ts +20 -0
- package/dist/vendor/ui-sdk/core/testing/schema.js +80 -0
- package/dist/vendor/ui-sdk/core/testing.d.ts +14 -0
- package/dist/vendor/ui-sdk/core/testing.js +21 -0
- package/dist/vendor/ui-sdk/core/web.css +3378 -0
- package/dist/vendor/ui-sdk/react/accordion.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/accordion.js +25 -0
- package/dist/vendor/ui-sdk/react/agent.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/agent.js +8 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/alert-dialog.js +45 -0
- package/dist/vendor/ui-sdk/react/async-options.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/async-options.js +56 -0
- package/dist/vendor/ui-sdk/react/autocomplete.d.ts +102 -0
- package/dist/vendor/ui-sdk/react/autocomplete.js +195 -0
- package/dist/vendor/ui-sdk/react/avatar.d.ts +301 -0
- package/dist/vendor/ui-sdk/react/avatar.js +17 -0
- package/dist/vendor/ui-sdk/react/button.d.ts +21 -0
- package/dist/vendor/ui-sdk/react/button.js +50 -0
- package/dist/vendor/ui-sdk/react/calendar-context.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/calendar-context.js +9 -0
- package/dist/vendor/ui-sdk/react/calendar.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/calendar.js +257 -0
- package/dist/vendor/ui-sdk/react/carousel.d.ts +52 -0
- package/dist/vendor/ui-sdk/react/carousel.js +151 -0
- package/dist/vendor/ui-sdk/react/checkbox.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/checkbox.js +98 -0
- package/dist/vendor/ui-sdk/react/children.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/children.js +63 -0
- package/dist/vendor/ui-sdk/react/collapsible.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/collapsible.js +19 -0
- package/dist/vendor/ui-sdk/react/color-picker.d.ts +72 -0
- package/dist/vendor/ui-sdk/react/color-picker.js +133 -0
- package/dist/vendor/ui-sdk/react/color.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/color.js +22 -0
- package/dist/vendor/ui-sdk/react/combobox.d.ts +152 -0
- package/dist/vendor/ui-sdk/react/combobox.js +338 -0
- package/dist/vendor/ui-sdk/react/command.d.ts +88 -0
- package/dist/vendor/ui-sdk/react/command.js +233 -0
- package/dist/vendor/ui-sdk/react/controller-target.d.ts +3 -0
- package/dist/vendor/ui-sdk/react/controller-target.js +59 -0
- package/dist/vendor/ui-sdk/react/date-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/date-input.js +58 -0
- package/dist/vendor/ui-sdk/react/date-picker.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/date-picker.js +310 -0
- package/dist/vendor/ui-sdk/react/date.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/date.js +60 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/dialog-parts.js +142 -0
- package/dist/vendor/ui-sdk/react/dialog.d.ts +57 -0
- package/dist/vendor/ui-sdk/react/dialog.js +32 -0
- package/dist/vendor/ui-sdk/react/drawer.d.ts +70 -0
- package/dist/vendor/ui-sdk/react/drawer.js +158 -0
- package/dist/vendor/ui-sdk/react/editor-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/editor-context.js +9 -0
- package/dist/vendor/ui-sdk/react/field-context.d.ts +47 -0
- package/dist/vendor/ui-sdk/react/field-context.js +87 -0
- package/dist/vendor/ui-sdk/react/field.d.ts +49 -0
- package/dist/vendor/ui-sdk/react/field.js +169 -0
- package/dist/vendor/ui-sdk/react/file-input.d.ts +46 -0
- package/dist/vendor/ui-sdk/react/file-input.js +170 -0
- package/dist/vendor/ui-sdk/react/form-inputs.d.ts +5 -0
- package/dist/vendor/ui-sdk/react/form-inputs.js +22 -0
- package/dist/vendor/ui-sdk/react/gesture.d.ts +1 -0
- package/dist/vendor/ui-sdk/react/gesture.js +16 -0
- package/dist/vendor/ui-sdk/react/history.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/history.js +12 -0
- package/dist/vendor/ui-sdk/react/hover-card.d.ts +33 -0
- package/dist/vendor/ui-sdk/react/hover-card.js +84 -0
- package/dist/vendor/ui-sdk/react/image-cropper.d.ts +333 -0
- package/dist/vendor/ui-sdk/react/image-cropper.js +37 -0
- package/dist/vendor/ui-sdk/react/image.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/image.js +6 -0
- package/dist/vendor/ui-sdk/react/input.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/input.js +51 -0
- package/dist/vendor/ui-sdk/react/label.d.ts +294 -0
- package/dist/vendor/ui-sdk/react/label.js +9 -0
- package/dist/vendor/ui-sdk/react/list-items.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/list-items.js +39 -0
- package/dist/vendor/ui-sdk/react/list-text.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/list-text.js +15 -0
- package/dist/vendor/ui-sdk/react/listbox.d.ts +56 -0
- package/dist/vendor/ui-sdk/react/listbox.js +122 -0
- package/dist/vendor/ui-sdk/react/menu.d.ts +116 -0
- package/dist/vendor/ui-sdk/react/menu.js +426 -0
- package/dist/vendor/ui-sdk/react/menubar-context.d.ts +4 -0
- package/dist/vendor/ui-sdk/react/menubar-context.js +7 -0
- package/dist/vendor/ui-sdk/react/menubar.d.ts +11 -0
- package/dist/vendor/ui-sdk/react/menubar.js +32 -0
- package/dist/vendor/ui-sdk/react/meter.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/meter.js +30 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.d.ts +61 -0
- package/dist/vendor/ui-sdk/react/navigation-menu.js +169 -0
- package/dist/vendor/ui-sdk/react/number-input.d.ts +44 -0
- package/dist/vendor/ui-sdk/react/number-input.js +185 -0
- package/dist/vendor/ui-sdk/react/number.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/number.js +40 -0
- package/dist/vendor/ui-sdk/react/observe.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/observe.js +8 -0
- package/dist/vendor/ui-sdk/react/otp-input.d.ts +29 -0
- package/dist/vendor/ui-sdk/react/otp-input.js +94 -0
- package/dist/vendor/ui-sdk/react/overlays.d.ts +26 -0
- package/dist/vendor/ui-sdk/react/overlays.js +82 -0
- package/dist/vendor/ui-sdk/react/pagination.d.ts +336 -0
- package/dist/vendor/ui-sdk/react/pagination.js +71 -0
- package/dist/vendor/ui-sdk/react/password-input.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/password-input.js +65 -0
- package/dist/vendor/ui-sdk/react/popover.d.ts +54 -0
- package/dist/vendor/ui-sdk/react/popover.js +151 -0
- package/dist/vendor/ui-sdk/react/popup.d.ts +41 -0
- package/dist/vendor/ui-sdk/react/popup.js +180 -0
- package/dist/vendor/ui-sdk/react/preferences.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/preferences.js +93 -0
- package/dist/vendor/ui-sdk/react/primitive.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/primitive.js +14 -0
- package/dist/vendor/ui-sdk/react/progress.d.ts +312 -0
- package/dist/vendor/ui-sdk/react/progress.js +30 -0
- package/dist/vendor/ui-sdk/react/radio.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/radio.js +86 -0
- package/dist/vendor/ui-sdk/react/rating.d.ts +20 -0
- package/dist/vendor/ui-sdk/react/rating.js +94 -0
- package/dist/vendor/ui-sdk/react/render-element.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/render-element.js +103 -0
- package/dist/vendor/ui-sdk/react/resizable.d.ts +302 -0
- package/dist/vendor/ui-sdk/react/resizable.js +23 -0
- package/dist/vendor/ui-sdk/react/scroll-area.d.ts +324 -0
- package/dist/vendor/ui-sdk/react/scroll-area.js +49 -0
- package/dist/vendor/ui-sdk/react/segmented-control.d.ts +24 -0
- package/dist/vendor/ui-sdk/react/segmented-control.js +78 -0
- package/dist/vendor/ui-sdk/react/segmented-input.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/segmented-input.js +48 -0
- package/dist/vendor/ui-sdk/react/select.d.ts +125 -0
- package/dist/vendor/ui-sdk/react/select.js +344 -0
- package/dist/vendor/ui-sdk/react/separator.d.ts +290 -0
- package/dist/vendor/ui-sdk/react/separator.js +9 -0
- package/dist/vendor/ui-sdk/react/shortcuts.d.ts +32 -0
- package/dist/vendor/ui-sdk/react/shortcuts.js +61 -0
- package/dist/vendor/ui-sdk/react/slider.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/slider.js +163 -0
- package/dist/vendor/ui-sdk/react/switch.d.ts +15 -0
- package/dist/vendor/ui-sdk/react/switch.js +39 -0
- package/dist/vendor/ui-sdk/react/tabs.d.ts +331 -0
- package/dist/vendor/ui-sdk/react/tabs.js +28 -0
- package/dist/vendor/ui-sdk/react/text-control.d.ts +22 -0
- package/dist/vendor/ui-sdk/react/text-control.js +24 -0
- package/dist/vendor/ui-sdk/react/text-match.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/text-match.js +8 -0
- package/dist/vendor/ui-sdk/react/textarea.d.ts +10 -0
- package/dist/vendor/ui-sdk/react/textarea.js +48 -0
- package/dist/vendor/ui-sdk/react/time-input.d.ts +19 -0
- package/dist/vendor/ui-sdk/react/time-input.js +63 -0
- package/dist/vendor/ui-sdk/react/timeline.d.ts +327 -0
- package/dist/vendor/ui-sdk/react/timeline.js +31 -0
- package/dist/vendor/ui-sdk/react/toast-parts.d.ts +63 -0
- package/dist/vendor/ui-sdk/react/toast-parts.js +144 -0
- package/dist/vendor/ui-sdk/react/toast.d.ts +2 -0
- package/dist/vendor/ui-sdk/react/toast.js +22 -0
- package/dist/vendor/ui-sdk/react/toggle.d.ts +23 -0
- package/dist/vendor/ui-sdk/react/toggle.js +76 -0
- package/dist/vendor/ui-sdk/react/token-input.d.ts +35 -0
- package/dist/vendor/ui-sdk/react/token-input.js +100 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.d.ts +6 -0
- package/dist/vendor/ui-sdk/react/toolbar-context.js +16 -0
- package/dist/vendor/ui-sdk/react/toolbar.d.ts +38 -0
- package/dist/vendor/ui-sdk/react/toolbar.js +63 -0
- package/dist/vendor/ui-sdk/react/tooltip.d.ts +39 -0
- package/dist/vendor/ui-sdk/react/tooltip.js +108 -0
- package/dist/vendor/ui-sdk/react/tree.d.ts +51 -0
- package/dist/vendor/ui-sdk/react/tree.js +150 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.d.ts +83 -0
- package/dist/vendor/ui-sdk/react/trigger-menu.js +167 -0
- package/dist/vendor/ui-sdk/react/use-primitive.d.ts +178 -0
- package/dist/vendor/ui-sdk/react/use-primitive.js +674 -0
- package/dist/vendor/ui-sdk/react/waterfall.d.ts +80 -0
- package/dist/vendor/ui-sdk/react/waterfall.js +108 -0
- package/package.json +2016 -23
- package/dist/components/chat-column.d.ts +0 -8
- package/dist/components/chat-column.d.ts.map +0 -1
- package/dist/components/chat-column.js +0 -26
- package/dist/components/code-editor-window.d.ts +0 -191
- package/dist/components/code-editor-window.d.ts.map +0 -1
- package/dist/components/code-editor-window.js +0 -1474
- package/dist/components/color-field.d.ts +0 -22
- package/dist/components/color-field.d.ts.map +0 -1
- package/dist/components/color-field.js +0 -60
- package/dist/components/composer/annotator.d.ts +0 -22
- package/dist/components/composer/annotator.d.ts.map +0 -1
- package/dist/components/composer/annotator.js +0 -17
- package/dist/components/composer/composer-popover.d.ts +0 -9
- package/dist/components/composer/composer-popover.d.ts.map +0 -1
- package/dist/components/composer/composer-popover.js +0 -29
- package/dist/components/context-menu.d.ts +0 -25
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/context-menu.js +0 -127
- package/dist/components/credenza.d.ts +0 -24
- package/dist/components/credenza.d.ts.map +0 -1
- package/dist/components/credenza.js +0 -256
- package/dist/components/date-field.d.ts +0 -19
- package/dist/components/date-field.d.ts.map +0 -1
- package/dist/components/date-field.js +0 -79
- package/dist/components/edge-drawer.d.ts +0 -34
- package/dist/components/edge-drawer.d.ts.map +0 -1
- package/dist/components/edge-drawer.js +0 -77
- package/dist/components/edit-bar.d.ts +0 -11
- package/dist/components/edit-bar.d.ts.map +0 -1
- package/dist/components/edit-bar.js +0 -33
- package/dist/components/floating-chat.d.ts +0 -94
- package/dist/components/floating-chat.d.ts.map +0 -1
- package/dist/components/floating-chat.js +0 -271
- package/dist/components/form.d.ts +0 -9
- package/dist/components/form.d.ts.map +0 -1
- package/dist/components/form.js +0 -32
- package/dist/components/icon-swap.d.ts +0 -27
- package/dist/components/icon-swap.d.ts.map +0 -1
- package/dist/components/icon-swap.js +0 -80
- package/dist/components/list-box.d.ts +0 -28
- package/dist/components/list-box.d.ts.map +0 -1
- package/dist/components/list-box.js +0 -104
- package/dist/components/passkey-enroll-dialog.d.ts +0 -36
- package/dist/components/passkey-enroll-dialog.d.ts.map +0 -1
- package/dist/components/passkey-enroll-dialog.js +0 -234
- package/dist/components/plain-button.d.ts +0 -10
- package/dist/components/plain-button.d.ts.map +0 -1
- package/dist/components/plain-button.js +0 -23
- package/dist/components/qr-svg.d.ts +0 -37
- package/dist/components/qr-svg.d.ts.map +0 -1
- package/dist/components/qr-svg.js +0 -74
- package/dist/components/result-table.d.ts +0 -38
- package/dist/components/result-table.d.ts.map +0 -1
- package/dist/components/result-table.js +0 -161
- package/dist/components/schema-tree.d.ts +0 -19
- package/dist/components/schema-tree.d.ts.map +0 -1
- package/dist/components/schema-tree.js +0 -103
- package/dist/components/search-field.d.ts +0 -20
- package/dist/components/search-field.d.ts.map +0 -1
- package/dist/components/search-field.js +0 -44
- package/dist/components/side-drawer.d.ts +0 -27
- package/dist/components/side-drawer.d.ts.map +0 -1
- package/dist/components/side-drawer.js +0 -221
- package/dist/components/spinner-shapes.d.ts +0 -299
- package/dist/components/spinner-shapes.d.ts.map +0 -1
- package/dist/components/spinner-shapes.js +0 -876
- package/dist/components/sql-editor.d.ts +0 -47
- package/dist/components/sql-editor.d.ts.map +0 -1
- package/dist/components/sql-editor.js +0 -170
- package/dist/components/strudel-rack.d.ts +0 -3
- package/dist/components/strudel-rack.d.ts.map +0 -1
- package/dist/components/strudel-rack.js +0 -2
- package/dist/components/strudel-syntax.d.ts +0 -3
- package/dist/components/strudel-syntax.d.ts.map +0 -1
- package/dist/components/strudel-syntax.js +0 -2
- package/dist/components/syntax-highlighting.d.ts +0 -70
- package/dist/components/syntax-highlighting.d.ts.map +0 -1
- package/dist/components/syntax-highlighting.js +0 -54
- package/dist/components/tab-bar.d.ts +0 -18
- package/dist/components/tab-bar.d.ts.map +0 -1
- package/dist/components/tab-bar.js +0 -28
- package/dist/components/tab-view.d.ts +0 -94
- package/dist/components/tab-view.d.ts.map +0 -1
- package/dist/components/tab-view.js +0 -321
- package/dist/components/tailscale-login-button.d.ts +0 -53
- package/dist/components/tailscale-login-button.d.ts.map +0 -1
- package/dist/components/tailscale-login-button.js +0 -197
- package/dist/components/tailscale-menu.d.ts +0 -69
- package/dist/components/tailscale-menu.d.ts.map +0 -1
- package/dist/components/tailscale-menu.js +0 -202
- package/dist/components/text-field.d.ts +0 -9
- package/dist/components/text-field.d.ts.map +0 -1
- package/dist/components/text-field.js +0 -29
- package/dist/components/time-input.d.ts +0 -46
- package/dist/components/time-input.d.ts.map +0 -1
- package/dist/components/time-input.js +0 -258
- package/dist/components/toggle-group.d.ts +0 -15
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle-group.js +0 -48
- package/dist/components/workbench-theme.d.ts +0 -15
- package/dist/components/workbench-theme.d.ts.map +0 -1
- package/dist/components/workbench-theme.js +0 -34
- package/dist/lib/back-history.d.ts +0 -5
- package/dist/lib/back-history.d.ts.map +0 -1
- package/dist/lib/back-history.js +0 -44
- package/dist/lib/drawer-swipe.d.ts +0 -31
- package/dist/lib/drawer-swipe.d.ts.map +0 -1
- package/dist/lib/drawer-swipe.js +0 -68
- package/dist/lib/format-bytes.d.ts +0 -3
- package/dist/lib/format-bytes.d.ts.map +0 -1
- package/dist/lib/format-bytes.js +0 -16
- package/dist/lib/log-list-window.d.ts +0 -121
- package/dist/lib/log-list-window.d.ts.map +0 -1
- package/dist/lib/log-list-window.js +0 -245
- package/dist/lib/persistent-host.d.ts +0 -29
- package/dist/lib/persistent-host.d.ts.map +0 -1
- package/dist/lib/persistent-host.js +0 -41
- package/dist/lib/scroll-hidden.d.ts +0 -6
- package/dist/lib/scroll-hidden.d.ts.map +0 -1
- package/dist/lib/scroll-hidden.js +0 -21
- package/dist/lib/sheet-drag.d.ts +0 -61
- package/dist/lib/sheet-drag.d.ts.map +0 -1
- package/dist/lib/sheet-drag.js +0 -131
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* Docstream's semantic colors, hairline and radius, in one place for the renderer (`[data-docstream]`, `.docs-article`),
|
|
2
|
+
the editor (`.gb`) and the StlViewer and StrudelPlayer roots that stand outside an article: both sheets import this
|
|
3
|
+
file. Each reads the host's shadcn / BL UI token first (`--primary`, `--success`, `--warning`, `--destructive`,
|
|
4
|
+
`--border`, `--radius`), so a themed app themes its documents, and falls back to a neutral value so a page with no
|
|
5
|
+
theme still reads. The tints are mixed from the solid color, so overriding `--gb-success` (or `--success`) recolors
|
|
6
|
+
the hint's border and fill too. */
|
|
7
|
+
[data-docstream],
|
|
8
|
+
.docs-article,
|
|
9
|
+
.gb,
|
|
10
|
+
:is(.docstream-stl, .docstream-strudel):not(:is([data-docstream], .docs-article) *) {
|
|
11
|
+
--gb-primary: var(--primary, #4f46e5);
|
|
12
|
+
--gb-border: var(--border, #e4e4e7);
|
|
13
|
+
/* 12px with the default --radius (0.625rem): the kit's panel radius. */
|
|
14
|
+
--gb-radius: calc(var(--radius, 0.625rem) * 1.2);
|
|
15
|
+
|
|
16
|
+
--gb-info: var(--primary, #3b82f6);
|
|
17
|
+
--gb-info-border: color-mix(in srgb, var(--gb-info) 45%, transparent);
|
|
18
|
+
--gb-info-bg: color-mix(in srgb, var(--gb-info) 10%, transparent);
|
|
19
|
+
--gb-success: var(--success, #22c55e);
|
|
20
|
+
--gb-success-border: color-mix(in srgb, var(--gb-success) 45%, transparent);
|
|
21
|
+
--gb-success-bg: color-mix(in srgb, var(--gb-success) 10%, transparent);
|
|
22
|
+
--gb-warning: var(--warning, #f59e0b);
|
|
23
|
+
--gb-warning-border: color-mix(in srgb, var(--gb-warning) 50%, transparent);
|
|
24
|
+
--gb-warning-bg: color-mix(in srgb, var(--gb-warning) 12%, transparent);
|
|
25
|
+
--gb-danger: var(--destructive, #ef4444);
|
|
26
|
+
--gb-danger-border: color-mix(in srgb, var(--gb-danger) 45%, transparent);
|
|
27
|
+
--gb-danger-bg: color-mix(in srgb, var(--gb-danger) 10%, transparent);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Docstream's glyphs are the kit's Icon, drawn at 1.15× in the same box (ui/glyph.tsx). */
|
|
31
|
+
[data-docstream-glyph] {
|
|
32
|
+
scale: 1.15;
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const DEFAULT_TSCIRCUIT_RUNTIME_URL = "https://runframe.vercel.app/iframe.html";
|
|
2
|
+
export declare const isTsCircuitLanguage: (language?: string | null) => boolean;
|
|
3
|
+
export interface TsCircuitProps {
|
|
4
|
+
code: string;
|
|
5
|
+
/** A RunFrame-compatible runtime on a separate origin. */
|
|
6
|
+
runtimeUrl?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
9
|
+
/** RunFrame compiles and runs TSX in its own cross-origin frame and worker. */
|
|
10
|
+
export declare function TsCircuitPreview({ code, runtimeUrl, title }: TsCircuitProps): import("react").JSX.Element;
|
|
11
|
+
export declare function TsCircuit({ code, ...options }: TsCircuitProps): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=TsCircuit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TsCircuit.d.ts","sourceRoot":"","sources":["../../../src/docstream/tscircuit/TsCircuit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B,4CAA4C,CAAA;AACtF,eAAO,MAAM,mBAAmB,GAAI,WAAW,MAAM,GAAG,IAAI,YAAwE,CAAA;AACpI,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,+EAA+E;AAC/E,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,UAA0C,EAAE,KAAiD,EAAE,EAAE,cAAc,+BA6DvJ;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,cAAc,+BAK7D"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef, useState } from "react";
|
|
3
|
+
import { SplitCard, SplitResult, SplitSource } from "../docs/SplitCard.js";
|
|
4
|
+
import { TSCIRCUIT_COMPILER_WORKER_URL } from "./worker.js";
|
|
5
|
+
export const DEFAULT_TSCIRCUIT_RUNTIME_URL = "https://runframe.vercel.app/iframe.html";
|
|
6
|
+
export const isTsCircuitLanguage = (language) => ["tscircuit", "ts-circuit"].includes(language?.toLowerCase() ?? "");
|
|
7
|
+
/** RunFrame compiles and runs TSX in its own cross-origin frame and worker. */
|
|
8
|
+
export function TsCircuitPreview({ code, runtimeUrl = DEFAULT_TSCIRCUIT_RUNTIME_URL, title = "tscircuit schematic, PCB and 3D preview" }) {
|
|
9
|
+
const frame = useRef(null);
|
|
10
|
+
const latestCode = useRef(code);
|
|
11
|
+
latestCode.current = code;
|
|
12
|
+
const ready = useRef(false);
|
|
13
|
+
const [status, setStatus] = useState("loading");
|
|
14
|
+
const [error, setError] = useState("");
|
|
15
|
+
const [attempt, setAttempt] = useState(0);
|
|
16
|
+
const [dark, setDark] = useState(false);
|
|
17
|
+
const host = useRef(null);
|
|
18
|
+
let origin = "";
|
|
19
|
+
try {
|
|
20
|
+
const url = new URL(runtimeUrl);
|
|
21
|
+
if (["https:", "http:"].includes(url.protocol))
|
|
22
|
+
origin = url.origin;
|
|
23
|
+
}
|
|
24
|
+
catch { /* An invalid runtime produces an inline error. */ }
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
const element = host.current;
|
|
27
|
+
if (!element)
|
|
28
|
+
return;
|
|
29
|
+
const update = () => {
|
|
30
|
+
const theme = element.parentElement?.closest('[data-theme], [data-appearance], .dark, .light');
|
|
31
|
+
setDark(theme ? theme.matches('.dark, [data-theme="dark"], [data-appearance="dark"]') : getComputedStyle(element).colorScheme === "dark");
|
|
32
|
+
};
|
|
33
|
+
update();
|
|
34
|
+
const observer = new MutationObserver(update);
|
|
35
|
+
for (let parent = element; parent; parent = parent.parentElement)
|
|
36
|
+
observer.observe(parent, { attributes: true, attributeFilter: ["class", "style", "data-theme", "data-appearance"] });
|
|
37
|
+
const media = window.matchMedia("(prefers-color-scheme: dark)");
|
|
38
|
+
media.addEventListener("change", update);
|
|
39
|
+
return () => { observer.disconnect(); media.removeEventListener("change", update); };
|
|
40
|
+
}, []);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
ready.current = false;
|
|
43
|
+
setStatus("loading");
|
|
44
|
+
setError("");
|
|
45
|
+
if (!origin || origin === window.location.origin) {
|
|
46
|
+
setError("The tscircuit runtime must use a separate HTTP(S) origin.");
|
|
47
|
+
setStatus("error");
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const send = () => frame.current?.contentWindow?.postMessage({ runframe_type: "runframe_props_changed", runframe_props: {
|
|
51
|
+
evalVersion: "0.0.1675", evalWebWorkerBlobUrl: TSCIRCUIT_COMPILER_WORKER_URL,
|
|
52
|
+
fsMap: { "main.tsx": latestCode.current }, entrypoint: "main.tsx", defaultActiveTab: "schematic", availableTabs: ["schematic", "pcb", "cad"], showCodeTab: false, showToggleFullScreen: false,
|
|
53
|
+
} }, origin);
|
|
54
|
+
const receive = (event) => {
|
|
55
|
+
if (event.source !== frame.current?.contentWindow || event.origin !== origin || !event.data || typeof event.data !== "object")
|
|
56
|
+
return;
|
|
57
|
+
if (event.data.runframe_type === "runframe_ready_to_receive") {
|
|
58
|
+
ready.current = true;
|
|
59
|
+
setStatus("ready");
|
|
60
|
+
setError("");
|
|
61
|
+
send();
|
|
62
|
+
}
|
|
63
|
+
if ((event.data.runframe_type === "runframe_event" || event.data.type === "runframe_event") && event.data.runframe_event?.type === "error") {
|
|
64
|
+
setError(String(event.data.runframe_event.error_message ?? "Unable to render circuit."));
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
window.addEventListener("message", receive);
|
|
68
|
+
const timer = window.setTimeout(() => { if (!ready.current) {
|
|
69
|
+
setStatus("error");
|
|
70
|
+
setError("The circuit runtime did not load. Check your connection and retry.");
|
|
71
|
+
} }, 30000);
|
|
72
|
+
return () => { window.removeEventListener("message", receive); window.clearTimeout(timer); };
|
|
73
|
+
}, [origin, runtimeUrl, attempt]);
|
|
74
|
+
useEffect(() => {
|
|
75
|
+
if (!ready.current || !origin)
|
|
76
|
+
return;
|
|
77
|
+
setError("");
|
|
78
|
+
frame.current?.contentWindow?.postMessage({ runframe_type: "runframe_props_changed", runframe_props: { fsMap: { "main.tsx": code } } }, origin);
|
|
79
|
+
}, [code, origin]);
|
|
80
|
+
return _jsx(SplitResult, { label: "tscircuit", children: _jsxs("div", { ref: host, className: "docs-tscircuit-result", "data-theme": dark ? "dark" : "light", children: [status === "loading" ? _jsx("p", { role: "status", className: "docs-tscircuit-status", children: "Loading circuit preview\u2026" }) : null, error ? _jsxs("div", { className: "docs-tscircuit-status", children: [_jsx("pre", { className: "docs-mermaid-error", role: "alert", children: error }), _jsx("button", { type: "button", className: "docs-split-action", onClick: () => setAttempt((n) => n + 1), children: "Retry circuit preview" })] }) : null, origin && (typeof window === "undefined" || origin !== window.location.origin) ? _jsx("iframe", { ref: frame, src: runtimeUrl, title: title, sandbox: "allow-scripts allow-same-origin", loading: "eager", referrerPolicy: "no-referrer", className: "docs-tscircuit-frame", onError: () => { setStatus("error"); setError("Unable to load the circuit runtime."); } }, `${runtimeUrl}:${attempt}`) : null] }) });
|
|
81
|
+
}
|
|
82
|
+
export function TsCircuit({ code, ...options }) {
|
|
83
|
+
return _jsxs(SplitCard, { className: "docs-tscircuit-preview", "data-docstream-tscircuit": "", children: [_jsx(SplitSource, { label: "tscircuit", code: code, language: "tsx" }), _jsx(TsCircuitPreview, { code: code, ...options })] });
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=TsCircuit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TsCircuit.js","sourceRoot":"","sources":["../../../src/docstream/tscircuit/TsCircuit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,CAAC,MAAM,6BAA6B,GAAG,yCAAyC,CAAA;AACtF,MAAM,CAAC,MAAM,mBAAmB,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|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docstream/tscircuit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAC7G,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/docstream/tscircuit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/docstream/tscircuit/worker.ts"],"names":[],"mappings":"AA0CA,eAAO,MAAM,6BAA6B,QAAoF,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Keep compiler startup inside an opaque-origin worker. RunFrame receives only
|
|
2
|
+
// its URL; neither the compiler nor circuit source executes in the host page.
|
|
3
|
+
const compilerWorker = `
|
|
4
|
+
const pending = [];
|
|
5
|
+
const hold = (event) => {
|
|
6
|
+
event.stopImmediatePropagation();
|
|
7
|
+
pending.push(event);
|
|
8
|
+
};
|
|
9
|
+
self.addEventListener("message", hold);
|
|
10
|
+
const controller = new AbortController();
|
|
11
|
+
const timer = setTimeout(() => controller.abort(), 30000);
|
|
12
|
+
try {
|
|
13
|
+
const response = await fetch("https://cdn.jsdelivr.net/npm/@tscircuit/eval@0.0.1675/dist/webworker/entrypoint.js", { signal: controller.signal });
|
|
14
|
+
if (!response.ok) throw new Error("Compiler request failed (" + response.status + ")");
|
|
15
|
+
// WebKit cannot read blobs in a data-URL worker (webkit.org/b/258443).
|
|
16
|
+
// Encode the downloaded bytes directly, without a Blob or FileReader.
|
|
17
|
+
const compiler = new Uint8Array(await response.arrayBuffer());
|
|
18
|
+
const chunks = [];
|
|
19
|
+
// A multiple of three keeps base64 padding in the final chunk only. Small
|
|
20
|
+
// chunks also avoid argument-count limits with the ~19 MB compiler bundle.
|
|
21
|
+
for (let offset = 0; offset < compiler.length; offset += 24576) {
|
|
22
|
+
chunks.push(btoa(String.fromCharCode(...compiler.subarray(offset, offset + 24576))));
|
|
23
|
+
}
|
|
24
|
+
await import("data:application/javascript;base64," + chunks.join(""));
|
|
25
|
+
} catch (error) {
|
|
26
|
+
// Report startup errors through RunFrame's Comlink requests so its normal
|
|
27
|
+
// error callback, and the preview's retry control, can handle them.
|
|
28
|
+
self.addEventListener("message", (event) => {
|
|
29
|
+
if (!event.data || typeof event.data !== "object" || !("id" in event.data)) return;
|
|
30
|
+
self.postMessage({ id: event.data.id, type: "HANDLER", name: "throw", value: {
|
|
31
|
+
isError: true, value: { name: "Error", message: "Unable to load circuit compiler: " + String(error), stack: "" }
|
|
32
|
+
} });
|
|
33
|
+
});
|
|
34
|
+
} finally {
|
|
35
|
+
clearTimeout(timer);
|
|
36
|
+
self.removeEventListener("message", hold);
|
|
37
|
+
for (const event of pending) {
|
|
38
|
+
self.dispatchEvent(new MessageEvent("message", { data: event.data, ports: event.ports, origin: event.origin }));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;
|
|
42
|
+
export const TSCIRCUIT_COMPILER_WORKER_URL = `data:application/javascript;charset=utf-8,${encodeURIComponent(compilerWorker)}`;
|
|
43
|
+
//# sourceMappingURL=worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../src/docstream/tscircuit/worker.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,8EAA8E;AAC9E,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCtB,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,6CAA6C,kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
export declare const DEFAULT_TUI_RUNTIME_URL = "https://blamy.github.io/opentui/workbench/example/";
|
|
3
|
+
export type TuiPreviewState = "idle" | "starting" | "running" | "error" | "stopped";
|
|
4
|
+
/** Terminal colors over the ones `appearance` picks. Light or dark itself is `appearance`'s. */
|
|
5
|
+
export interface TuiTheme {
|
|
6
|
+
background: string;
|
|
7
|
+
foreground: string;
|
|
8
|
+
}
|
|
9
|
+
/** How the terminal picks its colors: "auto" follows the page (the default), or force one scheme. */
|
|
10
|
+
export type TuiAppearance = "auto" | "light" | "dark";
|
|
11
|
+
export interface TuiPreviewOptions {
|
|
12
|
+
/** A trusted OpenTUI example runtime, including its deployment base path. Relative and absolute HTTP(S) URLs are accepted. */
|
|
13
|
+
runtimeUrl?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
/** Terminal height in pixels, bounded to 160–720 (default 360). */
|
|
16
|
+
height?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Light or dark terminal. "auto" (the default) follows the nearest `.dark` / `.light` class or `data-theme` /
|
|
19
|
+
* `data-appearance` attribute, else the page's `color-scheme` and the system setting, as docstream's other widgets do.
|
|
20
|
+
* Switching it while a program runs ends the program, like any other source change.
|
|
21
|
+
* @defaultValue "auto"
|
|
22
|
+
*/
|
|
23
|
+
appearance?: TuiAppearance;
|
|
24
|
+
/** Explicit terminal colors, over the ones `appearance` picks. Any field you leave out comes from the appearance. */
|
|
25
|
+
theme?: Partial<TuiTheme>;
|
|
26
|
+
/** Time allowed for the runtime's ready handshake (default 30 seconds). */
|
|
27
|
+
startupTimeoutMs?: number;
|
|
28
|
+
/** Time allowed for the first rendered frame after sending source (default 30 seconds). */
|
|
29
|
+
renderTimeoutMs?: number;
|
|
30
|
+
}
|
|
31
|
+
/** The root is a `<section>`: its props (`id`, `style`, `data-*`, `aria-*`, handlers) and `ref` go on it. Its accessible
|
|
32
|
+
* name is `title`, unless you pass `aria-label` or `aria-labelledby`. */
|
|
33
|
+
export interface TuiPreviewProps extends TuiPreviewOptions, Omit<ComponentProps<"section">, "children" | "title"> {
|
|
34
|
+
code: string;
|
|
35
|
+
language?: string;
|
|
36
|
+
/** Blocks execution while an AI response is still being streamed, as MarkdownView's `streaming` does. */
|
|
37
|
+
streaming?: boolean;
|
|
38
|
+
/** Runs when the preview moves between `idle`, `starting`, `running`, `error` and `stopped`. */
|
|
39
|
+
onStateChange?: (state: TuiPreviewState) => void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A terminal preview that runs only after a reader clicks Run. Source is sent to an
|
|
43
|
+
* opaque-origin iframe; environment variables and host credentials are never passed.
|
|
44
|
+
* Changing source, runtime or colors destroys the previous session, including its listeners.
|
|
45
|
+
*/
|
|
46
|
+
export declare function TuiPreview({ ref, appearance, theme: supplied, streaming, ...props }: TuiPreviewProps): import("react").JSX.Element;
|
|
47
|
+
//# sourceMappingURL=TuiPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TuiPreview.d.ts","sourceRoot":"","sources":["../../../src/docstream/tui/TuiPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAOrG,eAAO,MAAM,uBAAuB,uDAAuD,CAAA;AAE3F,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnF,gGAAgG;AAChG,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAKD,qGAAqG;AACrG,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,iBAAiB;IAChC,8HAA8H;IAC9H,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;OAKG;IACH,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,qHAAqH;IACrH,KAAK,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IACzB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2FAA2F;IAC3F,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;0EAC0E;AAC1E,MAAM,WAAW,eAAgB,SAAQ,iBAAiB,EAAE,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC/G,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yGAAyG;IACzG,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gGAAgG;IAChG,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;CACjD;AAqBD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAwB5G"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
3
|
+
import { Glyph } from "../ui/glyph.js";
|
|
4
|
+
import { Button } from "../../vendor/ui-sdk/react/button.js";
|
|
5
|
+
import { HighlightedCode } from "../docs/HighlightedCode.js";
|
|
6
|
+
import { DetailsCollapsible } from "../ui/details-collapsible.js";
|
|
7
|
+
import { useColorScheme } from "../ui/use-color-scheme.js";
|
|
8
|
+
export const DEFAULT_TUI_RUNTIME_URL = "https://blamy.github.io/opentui/workbench/example/";
|
|
9
|
+
/** The terminal colors each appearance starts from. Dark is 2.0.0's default. */
|
|
10
|
+
const TUI_THEMES = {
|
|
11
|
+
light: { mode: "light", background: "#fafafa", foreground: "#18181b" },
|
|
12
|
+
dark: { mode: "dark", background: "#000000", foreground: "#ededed" },
|
|
13
|
+
};
|
|
14
|
+
function runtimeAddress(value) {
|
|
15
|
+
if (!value.trim())
|
|
16
|
+
return null;
|
|
17
|
+
try {
|
|
18
|
+
const url = new URL(value, globalThis.location?.href ?? DEFAULT_TUI_RUNTIME_URL);
|
|
19
|
+
return (url.protocol === "https:" || url.protocol === "http:") && !url.username && !url.password ? url.href : null;
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const bounded = (value, fallback, min, max) => typeof value === "number" && Number.isFinite(value) ? Math.min(max, Math.max(min, value)) : fallback;
|
|
26
|
+
/**
|
|
27
|
+
* A terminal preview that runs only after a reader clicks Run. Source is sent to an
|
|
28
|
+
* opaque-origin iframe; environment variables and host credentials are never passed.
|
|
29
|
+
* Changing source, runtime or colors destroys the previous session, including its listeners.
|
|
30
|
+
*/
|
|
31
|
+
export function TuiPreview({ ref, appearance, theme: supplied, streaming = false, ...props }) {
|
|
32
|
+
const [measure, mode] = useColorScheme(appearance);
|
|
33
|
+
const background = supplied?.background ?? TUI_THEMES[mode].background;
|
|
34
|
+
const foreground = supplied?.foreground ?? TUI_THEMES[mode].foreground;
|
|
35
|
+
// OpenTUI's runtime draws text in its own (white) default unless an example sets a color, so a light terminal
|
|
36
|
+
// it renders itself is unreadable. Unless the host chose the colors, a light terminal is the dark one, inverted
|
|
37
|
+
// (as the tscircuit preview does): the runtime gets the inverse colors and the frame a CSS invert filter.
|
|
38
|
+
const inverted = mode === "light" && supplied?.background === undefined && supplied?.foreground === undefined;
|
|
39
|
+
const theme = useMemo(() => ({ mode, background, foreground }), [mode, background, foreground]);
|
|
40
|
+
const runtimeTheme = useMemo(() => (inverted ? { mode: "dark", background: invertHex(background), foreground: invertHex(foreground) } : theme), [inverted, theme, background, foreground]);
|
|
41
|
+
const rootRef = useCallback((element) => {
|
|
42
|
+
measure(element);
|
|
43
|
+
if (typeof ref === "function")
|
|
44
|
+
ref(element);
|
|
45
|
+
else if (ref)
|
|
46
|
+
ref.current = element;
|
|
47
|
+
}, [measure, ref]);
|
|
48
|
+
// Remounting ends a running program immediately when a streamed source, runtime or theme changes.
|
|
49
|
+
const session = JSON.stringify([
|
|
50
|
+
props.code, props.language, props.runtimeUrl, streaming,
|
|
51
|
+
theme.mode, theme.background, theme.foreground, inverted, props.startupTimeoutMs, props.renderTimeoutMs,
|
|
52
|
+
]);
|
|
53
|
+
return _jsx(TuiSession, { ...props, theme: theme, runtimeTheme: runtimeTheme, inverted: inverted, streaming: streaming, rootRef: rootRef }, session);
|
|
54
|
+
}
|
|
55
|
+
/** `#rrggbb` → its RGB inverse. */
|
|
56
|
+
function invertHex(color) {
|
|
57
|
+
const hex = /^#([0-9a-f]{6})$/i.exec(color)?.[1];
|
|
58
|
+
if (!hex)
|
|
59
|
+
return color;
|
|
60
|
+
return `#${(0xffffff ^ parseInt(hex, 16)).toString(16).padStart(6, "0")}`;
|
|
61
|
+
}
|
|
62
|
+
function TuiSession({ code, language = "typescript", runtimeUrl = DEFAULT_TUI_RUNTIME_URL, title = "OpenTUI preview", height, theme, runtimeTheme, inverted, startupTimeoutMs, renderTimeoutMs, className, style, streaming, onStateChange, rootRef, ...rest }) {
|
|
63
|
+
const frame = useRef(null);
|
|
64
|
+
const callbacks = useRef({ onStateChange });
|
|
65
|
+
callbacks.current = { onStateChange };
|
|
66
|
+
const id = useId();
|
|
67
|
+
const [attempt, setAttempt] = useState(0);
|
|
68
|
+
const [state, setState] = useState("idle");
|
|
69
|
+
const [message, setMessage] = useState("");
|
|
70
|
+
const address = runtimeAddress(runtimeUrl);
|
|
71
|
+
const active = !!address && !streaming && (state === "starting" || state === "running");
|
|
72
|
+
const displayedState = address ? state : "error";
|
|
73
|
+
const terminalHeight = bounded(height, 360, 160, 720);
|
|
74
|
+
useEffect(() => {
|
|
75
|
+
callbacks.current.onStateChange?.(displayedState);
|
|
76
|
+
}, [displayedState]);
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
if (!active)
|
|
79
|
+
return;
|
|
80
|
+
const terminal = frame.current?.contentWindow;
|
|
81
|
+
if (!terminal) {
|
|
82
|
+
setMessage("The terminal window could not be created. Try again.");
|
|
83
|
+
setState("error");
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const requestId = `${id}-${attempt}`;
|
|
87
|
+
let sent = false;
|
|
88
|
+
let live = true;
|
|
89
|
+
let timeout;
|
|
90
|
+
const fail = (detail) => {
|
|
91
|
+
if (!live)
|
|
92
|
+
return;
|
|
93
|
+
live = false;
|
|
94
|
+
clearTimeout(timeout);
|
|
95
|
+
setMessage(detail);
|
|
96
|
+
setState("error");
|
|
97
|
+
};
|
|
98
|
+
timeout = setTimeout(() => fail("The terminal runtime did not become ready. Check the runtime URL and try again."), bounded(startupTimeoutMs, 30_000, 1000, 120_000));
|
|
99
|
+
const receive = (event) => {
|
|
100
|
+
// sandbox="allow-scripts" gives the child an opaque origin. Checking its exact
|
|
101
|
+
// WindowProxy is essential: unrelated opaque frames also have origin "null".
|
|
102
|
+
if (!live || event.source !== terminal || event.origin !== "null")
|
|
103
|
+
return;
|
|
104
|
+
const data = event.data;
|
|
105
|
+
if (!data || typeof data !== "object")
|
|
106
|
+
return;
|
|
107
|
+
if (data.type === "opentui-example:ready" && !sent) {
|
|
108
|
+
sent = true;
|
|
109
|
+
clearTimeout(timeout);
|
|
110
|
+
setMessage("Rendering terminal…");
|
|
111
|
+
timeout = setTimeout(() => fail("The terminal did not render in time. Try again or check the example source."), bounded(renderTimeoutMs, 30_000, 1000, 120_000));
|
|
112
|
+
try {
|
|
113
|
+
// An opaque sandbox cannot be addressed with the runtime URL's origin.
|
|
114
|
+
// The target window is the validated iframe and receives only this source.
|
|
115
|
+
terminal.postMessage({
|
|
116
|
+
type: "opentui-example:run", code,
|
|
117
|
+
language: language.toLowerCase() === "tui" ? "typescript" : language,
|
|
118
|
+
theme: runtimeTheme, requestId,
|
|
119
|
+
}, "*");
|
|
120
|
+
}
|
|
121
|
+
catch {
|
|
122
|
+
fail("The terminal runtime could not receive the example. Try again.");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
else if (sent && data.type === "opentui-example:status" && data.requestId === requestId) {
|
|
126
|
+
if (data.status === "rendered") {
|
|
127
|
+
clearTimeout(timeout);
|
|
128
|
+
setMessage("");
|
|
129
|
+
setState("running");
|
|
130
|
+
}
|
|
131
|
+
else if (data.status === "error") {
|
|
132
|
+
fail(typeof data.message === "string" && data.message ? data.message.slice(0, 2000) : "The terminal could not render this example.");
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
window.addEventListener("message", receive);
|
|
137
|
+
return () => {
|
|
138
|
+
live = false;
|
|
139
|
+
clearTimeout(timeout);
|
|
140
|
+
window.removeEventListener("message", receive);
|
|
141
|
+
};
|
|
142
|
+
}, [active, attempt, code, language, id, runtimeTheme, startupTimeoutMs, renderTimeoutMs]);
|
|
143
|
+
const failed = displayedState === "error";
|
|
144
|
+
const status = !address ? "The terminal runtime URL must resolve to an HTTP or HTTPS URL without credentials."
|
|
145
|
+
: streaming ? "Waiting for the response to finish before running."
|
|
146
|
+
: state === "starting" ? message || "Starting terminal…"
|
|
147
|
+
: state === "running" ? "Terminal running."
|
|
148
|
+
: state === "error" ? message
|
|
149
|
+
: state === "stopped" ? "Terminal stopped."
|
|
150
|
+
: "Run this example to open an interactive terminal.";
|
|
151
|
+
const run = () => { setMessage(""); setState("starting"); setAttempt((n) => n + 1); };
|
|
152
|
+
const runLabel = state === "error" ? "Retry" : state === "stopped" ? "Run again" : "Run";
|
|
153
|
+
const runIcon = state === "error" || state === "stopped" ? "arrow-counterclockwise" : "play";
|
|
154
|
+
return (_jsxs("section", { ref: rootRef, className: ["docstream-tui", className].filter(Boolean).join(" "), "data-slot": "tui-preview", "data-tui-state": displayedState, "data-appearance": theme.mode, "aria-label": rest["aria-labelledby"] ? undefined : title, ...rest,
|
|
155
|
+
// Layout that has to hold without docstream's stylesheet; the look is in styles.css (.docstream-tui).
|
|
156
|
+
style: { width: "100%", minWidth: 0, overflow: "hidden", ...style }, children: [_jsxs("div", { "data-slot": "tui-preview-toolbar", className: "docstream-tui__toolbar", style: { display: "flex", alignItems: "center", flexWrap: "wrap", gap: 8 }, children: [_jsx("span", { className: "docstream-tui__title", style: { flex: 1, minWidth: 0 }, children: title }), state === "running" && (_jsxs(Button, { className: "docstream-tui__button", "data-variant": "secondary", onClick: () => { frame.current?.contentWindow?.focus(); frame.current?.focus(); }, children: [_jsx(Glyph, { name: "keyboard", size: 14 }), "Focus terminal"] })), _jsxs(Button, { className: "docstream-tui__button", "data-variant": active ? "secondary" : "primary", disabled: !active && (streaming || !address || !code.trim()), onClick: active ? () => { setMessage(""); setState("stopped"); } : run, children: [active ? _jsx(Glyph, { name: "stop", size: 12 }) : _jsx(Glyph, { name: runIcon, size: 14 }), active ? "Stop" : runLabel] })] }), _jsx("div", { "data-slot": "tui-preview-terminal", className: "docstream-tui__terminal", "aria-busy": state === "starting",
|
|
157
|
+
// The program gets an inset, as the kit's Terminal has, painted in the terminal's own background.
|
|
158
|
+
style: { height: terminalHeight, width: "100%", boxSizing: "border-box", padding: "8px 12px", overflow: "hidden", background: theme.background, color: theme.foreground }, children: active ? (_jsx("iframe", { ref: frame, src: address, title: `${title} terminal`, sandbox: "allow-scripts", referrerPolicy: "strict-origin", tabIndex: 0, "aria-describedby": `${id}-status`, "data-inverted": inverted || undefined, style: { display: "block", width: "100%", height: "100%", border: 0, filter: inverted ? "invert(1) hue-rotate(180deg)" : undefined }, onError: () => { setMessage("The terminal runtime could not load. Check the runtime URL and try again."); setState("error"); } }, attempt)) : (_jsx("div", { "aria-hidden": "true", className: "docstream-tui__placeholder", style: { height: "100%", display: "grid", placeItems: "center", padding: 12, boxSizing: "border-box" }, children: failed ? "Terminal unavailable" : "OpenTUI · browser terminal" })) }), failed ? (_jsxs("div", { id: `${id}-status`, role: "alert", "data-slot": "tui-preview-status", "data-tone": "destructive", className: "docstream-tui__status", children: [_jsx(Glyph, { name: "exclamation-circle", className: "docstream-tui__status-icon", size: 14 }), _jsx("span", { children: status })] })) : (_jsxs("p", { id: `${id}-status`, role: "status", "aria-live": "polite", "data-slot": "tui-preview-status", className: "docstream-tui__status", style: { margin: 0 }, children: [status, state === "running" ? " Click the terminal or use Focus terminal to send keyboard input. Stop ends the program." : ""] })), _jsx("div", { "data-slot": "tui-preview-source", className: "docstream-tui__source", children: _jsx(DetailsCollapsible, { triggerClassName: "docstream-tui__source-trigger", panelClassName: "docstream-tui__source-body", summary: _jsxs(_Fragment, { children: [_jsx(Glyph, { name: "chevron-right", className: "docstream-tui__caret", size: 14, sw: 2.2 }), _jsx("span", { children: "Source code" }), _jsx("span", { className: "docstream-tui__language", children: language })] }), children: _jsx("pre", { className: "docstream-tui__code", style: { margin: 0, overflow: "auto" }, children: _jsx(HighlightedCode, { code: code, language: language.toLowerCase() === "tui" ? "typescript" : language }) }) }) })] }));
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=TuiPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TuiPreview.js","sourceRoot":"","sources":["../../../src/docstream/tui/TuiPreview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAuB,MAAM,OAAO,CAAA;AACrG,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,cAAc,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AC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,GAAI,GACjG,GACa,GACjB,IACE,CACX,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/docstream/tui/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAErD,eAAO,MAAM,UAAU;cAA6B,iBAAiB,GAAG,KAAK;gBAAc,OAAO;EAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/docstream/tui/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAGrC,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAA+D,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CodeBlockNode } from "../gitbook/ast.js";
|
|
2
|
+
/** A `tui` language or standalone `tui` fence marker opts source into an interactive terminal. */
|
|
3
|
+
export declare function isTuiCodeBlock(block: Pick<CodeBlockNode, "language" | "info">): boolean;
|
|
4
|
+
//# sourceMappingURL=fence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fence.d.ts","sourceRoot":"","sources":["../../../src/docstream/tui/fence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD,kGAAkG;AAClG,wBAAgB,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG,OAAO,CAKvF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** A `tui` language or standalone `tui` fence marker opts source into an interactive terminal. */
|
|
2
|
+
export function isTuiCodeBlock(block) {
|
|
3
|
+
if (block.language?.toLowerCase() === "tui")
|
|
4
|
+
return true;
|
|
5
|
+
// Attribute values such as title="A tui example" must never opt a fence into execution.
|
|
6
|
+
const tokens = block.info?.replace(/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/g, "").split(/\s+/) ?? [];
|
|
7
|
+
return tokens.some((token) => token.toLowerCase() === "tui");
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=fence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fence.js","sourceRoot":"","sources":["../../../src/docstream/tui/fence.ts"],"names":[],"mappings":"AAEA,kGAAkG;AAClG,MAAM,UAAU,cAAc,CAAC,KAA+C;IAC5E,IAAI,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,KAAK,KAAK;QAAE,OAAO,IAAI,CAAA;IACxD,wFAAwF;IACxF,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,sCAAsC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAA;IACjG,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,CAAA;AAC9D,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { DEFAULT_TUI_RUNTIME_URL, TuiPreview } from "./TuiPreview.js";
|
|
2
|
+
export type { TuiAppearance, TuiPreviewProps, TuiPreviewOptions, TuiPreviewState, TuiTheme } from "./TuiPreview.js";
|
|
3
|
+
export { isTuiCodeBlock } from "./fence.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docstream/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAClE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/docstream/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
/** False on the server and while the client hydrates server HTML; true afterwards and on a client-only render. */
|
|
3
|
+
export declare function useHydrated(): boolean;
|
|
4
|
+
export interface DetailsCollapsibleProps extends Omit<HTMLAttributes<HTMLElement>, "children" | "open"> {
|
|
5
|
+
/** The always-visible trigger content. */
|
|
6
|
+
summary: ReactNode;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
triggerClassName?: string;
|
|
10
|
+
panelClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function DetailsCollapsible({ summary, children, defaultOpen, triggerClassName, panelClassName, ...root }: DetailsCollapsibleProps): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=details-collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details-collapsible.d.ts","sourceRoot":"","sources":["../../../src/docstream/ui/details-collapsible.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAgC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKzF,kHAAkH;AAClH,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IACrG,0CAA0C;IAC1C,OAAO,EAAE,SAAS,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAmB,EAAE,gBAAgB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,EAAE,uBAAuB,+BAuBhJ"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/* A readonly disclosure that works before (and without) JavaScript. The server, and the client while it hydrates that
|
|
4
|
+
HTML, render a native `<details>`/`<summary>`: it opens with a click or the keyboard and the browser's find-in-page
|
|
5
|
+
reveals it, with no script at all. Once hydrated it becomes UI SDK's Collapsible (a button with `aria-expanded`,
|
|
6
|
+
`data-open` / `data-closed`, `hidden="until-found"` on the closed panel), keeping whatever the reader opened before
|
|
7
|
+
the script ran. A client-only render starts as the Collapsible. The class names are the same in both, so the CSS
|
|
8
|
+
styles `details[open]` alongside `[data-open]`.
|
|
9
|
+
|
|
10
|
+
Known limit: the swap is a different element type, so React remounts the content. A disclosure nested inside one
|
|
11
|
+
that was open before hydration comes back at its default state, focus inside it is lost, and an iframe or demo in
|
|
12
|
+
it mounts again. One level with nothing focused keeps its state. (README, "Known limits in 2.0".) */
|
|
13
|
+
import { useRef, useSyncExternalStore } from "react";
|
|
14
|
+
import { Collapsible, CollapsiblePanel, CollapsibleTrigger } from "../../vendor/ui-sdk/react/collapsible.js";
|
|
15
|
+
const subscribe = () => () => { };
|
|
16
|
+
/** False on the server and while the client hydrates server HTML; true afterwards and on a client-only render. */
|
|
17
|
+
export function useHydrated() {
|
|
18
|
+
return useSyncExternalStore(subscribe, () => true, () => false);
|
|
19
|
+
}
|
|
20
|
+
export function DetailsCollapsible({ summary, children, defaultOpen = false, triggerClassName, panelClassName, ...root }) {
|
|
21
|
+
const hydrated = useHydrated();
|
|
22
|
+
const details = useRef(null);
|
|
23
|
+
const openAtHydration = useRef(undefined);
|
|
24
|
+
if (!hydrated) {
|
|
25
|
+
return (_jsxs("details", { ref: details, ...root, open: defaultOpen || undefined, suppressHydrationWarning: true, children: [_jsx("summary", { className: triggerClassName, children: summary }), _jsx("div", { className: panelClassName, children: children })] }));
|
|
26
|
+
}
|
|
27
|
+
// The render right after hydration still sees the server's <details>, and whether the reader opened it.
|
|
28
|
+
openAtHydration.current ??= details.current?.open ?? defaultOpen;
|
|
29
|
+
return (_jsxs(Collapsible, { ...root, defaultOpen: openAtHydration.current, children: [_jsx(CollapsibleTrigger, { className: triggerClassName, children: summary }), _jsx(CollapsiblePanel, { hiddenUntilFound: true, className: panelClassName, children: children })] }));
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=details-collapsible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details-collapsible.js","sourceRoot":"","sources":["../../../src/docstream/ui/details-collapsible.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;uGASuG;AACvG,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAuC,MAAM,OAAO,CAAA;AACzF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE7F,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,GAAE,CAAC,CAAA;AAEhC,kHAAkH;AAClH,MAAM,UAAU,WAAW;IACzB,OAAO,oBAAoB,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAA;AACjE,CAAC;AAWD,MAAM,UAAU,kBAAkB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,GAAG,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,GAAG,IAA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