@kumix/ui 0.6.0 → 0.8.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 +71 -48
- package/dist/animated-sidebar-CPdrqoGi.js +310 -0
- package/dist/animated-sidebar-CPdrqoGi.js.map +1 -0
- package/dist/animated-toast-stack-Cbdphi9x.d.ts +62 -0
- package/dist/animated-toast-stack-Cbdphi9x.d.ts.map +1 -0
- package/dist/animated-toast-stack-YcjQ2Uaw.js +568 -0
- package/dist/animated-toast-stack-YcjQ2Uaw.js.map +1 -0
- package/dist/components/agents/agent-activity/activity-row.d.ts +1 -1
- package/dist/components/agents/agent-activity/activity-row.d.ts.map +1 -1
- package/dist/components/agents/agent-activity/activity-row.js +31 -26
- package/dist/components/agents/agent-activity/activity-row.js.map +1 -1
- package/dist/components/agents/{agent-activity/index.d.ts → agent-activity.d.ts} +2 -2
- package/dist/components/agents/agent-activity.d.ts.map +1 -0
- package/dist/components/agents/{agent-activity/index.js → agent-activity.js} +13 -27
- package/dist/components/agents/agent-activity.js.map +1 -0
- package/dist/components/agents/agent-code.d.ts.map +1 -1
- package/dist/components/agents/agent-code.js +42 -16
- package/dist/components/agents/agent-code.js.map +1 -1
- package/dist/components/agents/agent-disclosure.d.ts +7 -2
- package/dist/components/agents/agent-disclosure.d.ts.map +1 -1
- package/dist/components/agents/agent-disclosure.js +15 -3
- package/dist/components/agents/agent-disclosure.js.map +1 -1
- package/dist/components/agents/ai-sidebar/marquee-label.d.ts +6 -0
- package/dist/components/agents/ai-sidebar/marquee-label.d.ts.map +1 -0
- package/dist/components/agents/ai-sidebar/marquee-label.js +55 -0
- package/dist/components/agents/ai-sidebar/marquee-label.js.map +1 -0
- package/dist/components/agents/ai-sidebar/resource-menu-action.d.ts +8 -0
- package/dist/components/agents/ai-sidebar/resource-menu-action.d.ts.map +1 -0
- package/dist/components/agents/ai-sidebar/resource-menu-action.js +20 -0
- package/dist/components/agents/ai-sidebar/resource-menu-action.js.map +1 -0
- package/dist/components/agents/ai-sidebar/resource-row.d.ts +32 -0
- package/dist/components/agents/ai-sidebar/resource-row.d.ts.map +1 -0
- package/dist/components/agents/ai-sidebar/resource-row.js +2 -0
- package/dist/components/agents/ai-sidebar.d.ts +2 -74
- package/dist/components/agents/ai-sidebar.d.ts.map +1 -1
- package/dist/components/agents/ai-sidebar.js +16 -332
- package/dist/components/agents/ai-sidebar.js.map +1 -1
- package/dist/components/agents/{approval-card/index.d.ts → approval-card.d.ts} +31 -1
- package/dist/components/agents/approval-card.d.ts.map +1 -0
- package/dist/components/agents/{approval-card/index.js → approval-card.js} +160 -80
- package/dist/components/agents/approval-card.js.map +1 -0
- package/dist/components/agents/chat-app.d.ts +1 -1
- package/dist/components/agents/chat-app.d.ts.map +1 -1
- package/dist/components/agents/chat-app.js +9 -6
- package/dist/components/agents/chat-app.js.map +1 -1
- package/dist/components/agents/citations.d.ts +24 -1
- package/dist/components/agents/citations.d.ts.map +1 -1
- package/dist/components/agents/citations.js +54 -9
- package/dist/components/agents/citations.js.map +1 -1
- package/dist/components/agents/clip-resize-frame.d.ts +31 -0
- package/dist/components/agents/clip-resize-frame.d.ts.map +1 -0
- package/dist/components/agents/clip-resize-frame.js +103 -0
- package/dist/components/agents/clip-resize-frame.js.map +1 -0
- package/dist/components/agents/code-block.d.ts +11 -0
- package/dist/components/agents/code-block.d.ts.map +1 -1
- package/dist/components/agents/code-block.js +34 -26
- package/dist/components/agents/code-block.js.map +1 -1
- package/dist/components/agents/context-meter.d.ts +53 -0
- package/dist/components/agents/context-meter.d.ts.map +1 -0
- package/dist/components/agents/context-meter.js +443 -0
- package/dist/components/agents/context-meter.js.map +1 -0
- package/dist/components/agents/file-diff.d.ts +17 -0
- package/dist/components/agents/file-diff.d.ts.map +1 -1
- package/dist/components/agents/file-diff.js +114 -82
- package/dist/components/agents/file-diff.js.map +1 -1
- package/dist/components/agents/icon-swap.d.ts +14 -0
- package/dist/components/agents/icon-swap.d.ts.map +1 -0
- package/dist/components/agents/icon-swap.js +41 -0
- package/dist/components/agents/icon-swap.js.map +1 -0
- package/dist/components/agents/image-generation.d.ts +10 -0
- package/dist/components/agents/image-generation.d.ts.map +1 -1
- package/dist/components/agents/image-generation.js +10 -6
- package/dist/components/agents/image-generation.js.map +1 -1
- package/dist/components/agents/loading-states/agent-progress.d.ts +1 -0
- package/dist/components/agents/loading-states/agent-progress.d.ts.map +1 -1
- package/dist/components/agents/loading-states/agent-progress.js.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.d.ts +1 -0
- package/dist/components/agents/loading-states/reasoning-text.d.ts.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.js +30 -7
- package/dist/components/agents/loading-states/reasoning-text.js.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts +1 -0
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.js.map +1 -1
- package/dist/components/agents/message-bubble.d.ts +10 -0
- package/dist/components/agents/message-bubble.d.ts.map +1 -1
- package/dist/components/agents/message-bubble.js +59 -39
- package/dist/components/agents/message-bubble.js.map +1 -1
- package/dist/components/agents/message-scroller.d.ts +10 -1
- package/dist/components/agents/message-scroller.d.ts.map +1 -1
- package/dist/components/agents/message-scroller.js +81 -16
- package/dist/components/agents/message-scroller.js.map +1 -1
- package/dist/components/agents/message.d.ts +3 -0
- package/dist/components/agents/message.d.ts.map +1 -1
- package/dist/components/agents/message.js +3 -3
- package/dist/components/agents/message.js.map +1 -1
- package/dist/components/agents/prompt-input.d.ts +41 -1
- package/dist/components/agents/prompt-input.d.ts.map +1 -1
- package/dist/components/agents/prompt-input.js +356 -93
- package/dist/components/agents/prompt-input.js.map +1 -1
- package/dist/components/agents/streaming-response.d.ts +12 -0
- package/dist/components/agents/streaming-response.d.ts.map +1 -1
- package/dist/components/agents/streaming-response.js +35 -28
- package/dist/components/agents/streaming-response.js.map +1 -1
- package/dist/components/agents/todo-list.d.ts +13 -0
- package/dist/components/agents/todo-list.d.ts.map +1 -1
- package/dist/components/agents/todo-list.js +114 -98
- package/dist/components/agents/todo-list.js.map +1 -1
- package/dist/components/agents/tool-approval.d.ts +18 -0
- package/dist/components/agents/tool-approval.d.ts.map +1 -1
- package/dist/components/agents/tool-approval.js +48 -22
- package/dist/components/agents/tool-approval.js.map +1 -1
- package/dist/components/agents/tool-result.d.ts +18 -0
- package/dist/components/agents/tool-result.d.ts.map +1 -1
- package/dist/components/agents/tool-result.js +48 -59
- package/dist/components/agents/tool-result.js.map +1 -1
- package/dist/components/agents/voice-note.d.ts +37 -0
- package/dist/components/agents/voice-note.d.ts.map +1 -0
- package/dist/components/agents/voice-note.js +326 -0
- package/dist/components/agents/voice-note.js.map +1 -0
- package/dist/components/charts/bar-chart/context.d.ts +15 -7
- package/dist/components/charts/bar-chart/context.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/context.js +3 -1
- package/dist/components/charts/bar-chart/context.js.map +1 -1
- package/dist/components/charts/bar-chart/legend.d.ts +1 -0
- package/dist/components/charts/bar-chart/legend.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/legend.js.map +1 -1
- package/dist/components/charts/bar-chart/plot.d.ts +2 -0
- package/dist/components/charts/bar-chart/plot.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/plot.js +2 -2
- package/dist/components/charts/bar-chart/plot.js.map +1 -1
- package/dist/components/charts/bar-chart/tooltip.d.ts +2 -0
- package/dist/components/charts/bar-chart/tooltip.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/tooltip.js +1 -1
- package/dist/components/charts/bar-chart/tooltip.js.map +1 -1
- package/dist/components/charts/bar-chart.d.ts +1 -1
- package/dist/components/charts/bump-chart/context.d.ts +1 -1
- package/dist/components/charts/bump-chart/context.js +1 -1
- package/dist/components/charts/bump-chart/legend.js +5 -5
- package/dist/components/charts/bump-chart/legend.js.map +1 -1
- package/dist/components/charts/bump-chart/plot.js +1 -1
- package/dist/components/charts/bump-chart/point.js +5 -5
- package/dist/components/charts/bump-chart/point.js.map +1 -1
- package/dist/components/charts/bump-chart/series.d.ts +1 -1
- package/dist/components/charts/bump-chart/series.js +2 -2
- package/dist/components/charts/bump-chart/series.js.map +1 -1
- package/dist/components/charts/bump-chart.d.ts +1 -1
- package/dist/components/charts/bump-chart.js +2 -2
- package/dist/components/charts/candlestick-chart/context.d.ts +14 -3
- package/dist/components/charts/candlestick-chart/context.d.ts.map +1 -1
- package/dist/components/charts/candlestick-chart/context.js.map +1 -1
- package/dist/components/charts/candlestick-chart/plot.js +2 -2
- package/dist/components/charts/candlestick-chart/plot.js.map +1 -1
- package/dist/components/charts/composition-chart/context.d.ts +1 -1
- package/dist/components/charts/composition-chart/legend.js +1 -1
- package/dist/components/charts/composition-chart/legend.js.map +1 -1
- package/dist/components/charts/composition-chart/plot.js +1 -1
- package/dist/components/charts/composition-chart.d.ts +1 -1
- package/dist/components/charts/donut-chart/center.d.ts +1 -1
- package/dist/components/charts/donut-chart/context.d.ts +6 -1
- package/dist/components/charts/donut-chart/context.d.ts.map +1 -1
- package/dist/components/charts/donut-chart/legend.d.ts +1 -1
- package/dist/components/charts/donut-chart.d.ts +1 -1
- package/dist/components/charts/funnel-chart.d.ts +8 -0
- package/dist/components/charts/funnel-chart.d.ts.map +1 -1
- package/dist/components/charts/funnel-chart.js +8 -8
- package/dist/components/charts/funnel-chart.js.map +1 -1
- package/dist/components/charts/heat-calendar/grid.js +2 -2
- package/dist/components/charts/heat-calendar/grid.js.map +1 -1
- package/dist/components/charts/heat-calendar/legend.js +1 -1
- package/dist/components/charts/heat-calendar/tooltip.d.ts +1 -1
- package/dist/components/charts/heat-calendar/tooltip.js +2 -2
- package/dist/components/charts/heat-calendar.d.ts +1 -1
- package/dist/components/charts/heat-calendar.js +1 -1
- package/dist/components/charts/line-chart/context.d.ts +12 -4
- package/dist/components/charts/line-chart/context.d.ts.map +1 -1
- package/dist/components/charts/line-chart/context.js +3 -1
- package/dist/components/charts/line-chart/context.js.map +1 -1
- package/dist/components/charts/line-chart/legend.d.ts +1 -0
- package/dist/components/charts/line-chart/legend.d.ts.map +1 -1
- package/dist/components/charts/line-chart/legend.js.map +1 -1
- package/dist/components/charts/line-chart/plot.d.ts +2 -0
- package/dist/components/charts/line-chart/plot.d.ts.map +1 -1
- package/dist/components/charts/line-chart/plot.js +3 -3
- package/dist/components/charts/line-chart/plot.js.map +1 -1
- package/dist/components/charts/line-chart/tooltip.d.ts +1 -0
- package/dist/components/charts/line-chart/tooltip.d.ts.map +1 -1
- package/dist/components/charts/line-chart/tooltip.js.map +1 -1
- package/dist/components/charts/line-chart.d.ts +1 -1
- package/dist/components/charts/liquidity-heatmap.d.ts +8 -0
- package/dist/components/charts/liquidity-heatmap.d.ts.map +1 -1
- package/dist/components/charts/liquidity-heatmap.js +4 -4
- package/dist/components/charts/liquidity-heatmap.js.map +1 -1
- package/dist/components/charts/order-book/depth-row.d.ts +1 -1
- package/dist/components/charts/order-book.d.ts +14 -2
- package/dist/components/charts/order-book.d.ts.map +1 -1
- package/dist/components/charts/order-book.js +6 -6
- package/dist/components/charts/order-book.js.map +1 -1
- package/dist/components/charts/price-target-fan/header.js +2 -2
- package/dist/components/charts/price-target-fan/header.js.map +1 -1
- package/dist/components/charts/price-target-fan/plot.js +1 -1
- package/dist/components/charts/price-target-fan/series.js +1 -1
- package/dist/components/charts/price-target-fan/tooltip.d.ts +1 -1
- package/dist/components/charts/price-target-fan/tooltip.js +3 -3
- package/dist/components/charts/price-target-fan/tooltip.js.map +1 -1
- package/dist/components/charts/price-target-fan.d.ts +1 -1
- package/dist/components/charts/price-target-fan.js +1 -1
- package/dist/components/charts/returns-calendar/grid.js +10 -7
- package/dist/components/charts/returns-calendar/grid.js.map +1 -1
- package/dist/components/charts/returns-calendar/tooltip.d.ts +1 -1
- package/dist/components/charts/returns-calendar/tooltip.js +2 -2
- package/dist/components/charts/returns-calendar/tooltip.js.map +1 -1
- package/dist/components/charts/returns-calendar.d.ts +1 -1
- package/dist/components/charts/returns-calendar.d.ts.map +1 -1
- package/dist/components/charts/returns-calendar.js +1 -1
- package/dist/components/charts/sankey-chart/context.d.ts +1 -1
- package/dist/components/charts/sankey-chart/context.js +1 -1
- package/dist/components/charts/sankey-chart/plot.d.ts.map +1 -1
- package/dist/components/charts/sankey-chart/plot.js +10 -32
- package/dist/components/charts/sankey-chart/plot.js.map +1 -1
- package/dist/components/charts/sankey-chart/tooltip.d.ts +3 -1
- package/dist/components/charts/sankey-chart/tooltip.d.ts.map +1 -1
- package/dist/components/charts/sankey-chart/tooltip.js +2 -2
- package/dist/components/charts/sankey-chart/tooltip.js.map +1 -1
- package/dist/components/charts/sankey-chart.d.ts +1 -1
- package/dist/components/charts/sankey-chart.js +1 -1
- package/dist/components/charts/sparkline.d.ts +4 -0
- package/dist/components/charts/sparkline.d.ts.map +1 -1
- package/dist/components/charts/sparkline.js +3 -3
- package/dist/components/charts/sparkline.js.map +1 -1
- package/dist/components/charts/status-bar/legend.d.ts +1 -0
- package/dist/components/charts/status-bar/legend.d.ts.map +1 -1
- package/dist/components/charts/status-bar/legend.js +1 -1
- package/dist/components/charts/status-bar/legend.js.map +1 -1
- package/dist/components/charts/status-bar/plot.d.ts +2 -0
- package/dist/components/charts/status-bar/plot.d.ts.map +1 -1
- package/dist/components/charts/status-bar/plot.js +1 -1
- package/dist/components/charts/status-bar/plot.js.map +1 -1
- package/dist/components/charts/status-bar/tooltip.d.ts +1 -1
- package/dist/components/charts/status-bar/tooltip.js +2 -2
- package/dist/components/charts/status-bar/tooltip.js.map +1 -1
- package/dist/components/charts/status-bar.d.ts +1 -1
- package/dist/components/charts/status-bar.js +1 -1
- package/dist/components/charts/treemap/legend.d.ts +2 -0
- package/dist/components/charts/treemap/legend.d.ts.map +1 -1
- package/dist/components/charts/treemap/legend.js +1 -1
- package/dist/components/charts/treemap/legend.js.map +1 -1
- package/dist/components/charts/treemap/plot.d.ts +2 -1
- package/dist/components/charts/treemap/plot.d.ts.map +1 -1
- package/dist/components/charts/treemap/plot.js +3 -16
- package/dist/components/charts/treemap/plot.js.map +1 -1
- package/dist/components/charts/treemap/tile.d.ts +1 -1
- package/dist/components/charts/treemap/tile.js +3 -3
- package/dist/components/charts/treemap/tile.js.map +1 -1
- package/dist/components/charts/treemap/tooltip.d.ts +3 -1
- package/dist/components/charts/treemap/tooltip.d.ts.map +1 -1
- package/dist/components/charts/treemap/tooltip.js +2 -2
- package/dist/components/charts/treemap/tooltip.js.map +1 -1
- package/dist/components/charts/treemap.d.ts +10 -4
- package/dist/components/charts/treemap.d.ts.map +1 -1
- package/dist/components/charts/treemap.js +1 -1
- package/dist/components/charts/volume-profile/plot.d.ts +2 -0
- package/dist/components/charts/volume-profile/plot.d.ts.map +1 -1
- package/dist/components/charts/volume-profile/plot.js +4 -4
- package/dist/components/charts/volume-profile/plot.js.map +1 -1
- package/dist/components/charts/volume-profile/summary.js +2 -2
- package/dist/components/charts/volume-profile/summary.js.map +1 -1
- package/dist/components/charts/volume-profile/tooltip.d.ts +1 -1
- package/dist/components/charts/volume-profile/tooltip.js +2 -2
- package/dist/components/charts/volume-profile/tooltip.js.map +1 -1
- package/dist/components/charts/volume-profile.d.ts +12 -3
- package/dist/components/charts/volume-profile.d.ts.map +1 -1
- package/dist/components/charts/volume-profile.js +2 -2
- package/dist/components/charts/volume-profile.js.map +1 -1
- package/dist/components/charts/xy/data-table.d.ts +1 -1
- package/dist/components/charts/xy/legend.d.ts +1 -1
- package/dist/components/custom/toast.d.ts +2 -1
- package/dist/components/custom/toast.d.ts.map +1 -1
- package/dist/components/custom/toast.js +1 -1
- package/dist/components/motion/action-swap.d.ts +19 -0
- package/dist/components/motion/action-swap.d.ts.map +1 -1
- package/dist/components/motion/action-swap.js.map +1 -1
- package/dist/components/motion/adaptive-stepper.d.ts +13 -0
- package/dist/components/motion/adaptive-stepper.d.ts.map +1 -1
- package/dist/components/motion/adaptive-stepper.js +2 -7
- package/dist/components/motion/adaptive-stepper.js.map +1 -1
- package/dist/components/motion/add-to-cart.d.ts +38 -0
- package/dist/components/motion/add-to-cart.d.ts.map +1 -0
- package/dist/components/motion/add-to-cart.js +228 -0
- package/dist/components/motion/add-to-cart.js.map +1 -0
- package/dist/components/motion/alert.d.ts +4 -0
- package/dist/components/motion/alert.d.ts.map +1 -1
- package/dist/components/motion/alert.js +2 -2
- package/dist/components/motion/alert.js.map +1 -1
- package/dist/components/motion/animated-badge.d.ts +6 -0
- package/dist/components/motion/animated-badge.d.ts.map +1 -1
- package/dist/components/motion/animated-badge.js +2 -2
- package/dist/components/motion/animated-badge.js.map +1 -1
- package/dist/components/motion/animated-number.d.ts +5 -0
- package/dist/components/motion/animated-number.d.ts.map +1 -1
- package/dist/components/motion/animated-number.js.map +1 -1
- package/dist/components/motion/animated-sidebar/menu-button.d.ts +2 -0
- package/dist/components/motion/animated-sidebar/menu-button.js +95 -0
- package/dist/components/motion/animated-sidebar/menu-button.js.map +1 -0
- package/dist/components/motion/animated-sidebar/menu-sub-button.d.ts +2 -0
- package/dist/components/motion/animated-sidebar/menu-sub-button.js +52 -0
- package/dist/components/motion/animated-sidebar/menu-sub-button.js.map +1 -0
- package/dist/components/motion/animated-sidebar/mobile-sidebar.d.ts +9 -0
- package/dist/components/motion/animated-sidebar/mobile-sidebar.d.ts.map +1 -0
- package/dist/components/motion/animated-sidebar/mobile-sidebar.js +73 -0
- package/dist/components/motion/animated-sidebar/mobile-sidebar.js.map +1 -0
- package/dist/components/motion/animated-sidebar.d.ts +17 -55
- package/dist/components/motion/animated-sidebar.d.ts.map +1 -1
- package/dist/components/motion/animated-sidebar.js +4 -628
- package/dist/components/motion/animated-toast-stack/toast-body.d.ts +19 -0
- package/dist/components/motion/animated-toast-stack/toast-body.d.ts.map +1 -0
- package/dist/components/motion/animated-toast-stack/toast-body.js +154 -0
- package/dist/components/motion/animated-toast-stack/toast-body.js.map +1 -0
- package/dist/components/motion/animated-toast-stack.d.ts +3 -69
- package/dist/components/motion/animated-toast-stack.js +1 -307
- package/dist/components/motion/arc-picker.js +1 -1
- package/dist/components/motion/arc-picker.js.map +1 -1
- package/dist/components/motion/aspect-ratio.d.ts +1 -0
- package/dist/components/motion/aspect-ratio.d.ts.map +1 -1
- package/dist/components/motion/aspect-ratio.js.map +1 -1
- package/dist/components/motion/attachment-upload/attachment-row.d.ts +20 -0
- package/dist/components/motion/attachment-upload/attachment-row.d.ts.map +1 -0
- package/dist/components/motion/attachment-upload/attachment-row.js +224 -0
- package/dist/components/motion/attachment-upload/attachment-row.js.map +1 -0
- package/dist/components/motion/attachment-upload/image-preview-dialog.d.ts +10 -0
- package/dist/components/motion/attachment-upload/image-preview-dialog.d.ts.map +1 -0
- package/dist/components/motion/attachment-upload/image-preview-dialog.js +84 -0
- package/dist/components/motion/attachment-upload/image-preview-dialog.js.map +1 -0
- package/dist/components/motion/attachment-upload/image-thumbnail.d.ts +10 -0
- package/dist/components/motion/attachment-upload/image-thumbnail.d.ts.map +1 -0
- package/dist/components/motion/attachment-upload/image-thumbnail.js +53 -0
- package/dist/components/motion/attachment-upload/image-thumbnail.js.map +1 -0
- package/dist/components/motion/attachment-upload/row-action.d.ts +11 -0
- package/dist/components/motion/attachment-upload/row-action.d.ts.map +1 -0
- package/dist/components/motion/attachment-upload/row-action.js +98 -0
- package/dist/components/motion/attachment-upload/row-action.js.map +1 -0
- package/dist/components/motion/attachment-upload.d.ts +22 -50
- package/dist/components/motion/attachment-upload.d.ts.map +1 -1
- package/dist/components/motion/attachment-upload.js +16 -492
- package/dist/components/motion/attachment-upload.js.map +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.js +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +2 -2
- package/dist/components/motion/availability-scheduler/day-row.js.map +1 -1
- package/dist/components/motion/availability-scheduler/icon-button.js +1 -1
- package/dist/components/motion/availability-scheduler/icon-button.js.map +1 -1
- package/dist/components/motion/{availability-scheduler/index.d.ts → availability-scheduler.d.ts} +7 -3
- package/dist/components/motion/availability-scheduler.d.ts.map +1 -0
- package/dist/components/motion/{availability-scheduler/index.js → availability-scheduler.js} +4 -4
- package/dist/components/motion/availability-scheduler.js.map +1 -0
- package/dist/components/motion/avatar-group.d.ts +10 -1
- package/dist/components/motion/avatar-group.d.ts.map +1 -1
- package/dist/components/motion/avatar-group.js +3 -3
- package/dist/components/motion/avatar-group.js.map +1 -1
- package/dist/components/motion/before-after-slider.d.ts +3 -0
- package/dist/components/motion/before-after-slider.d.ts.map +1 -1
- package/dist/components/motion/before-after-slider.js +2 -3
- package/dist/components/motion/before-after-slider.js.map +1 -1
- package/dist/components/motion/bloom-menu.d.ts +5 -0
- package/dist/components/motion/bloom-menu.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.js +10 -24
- package/dist/components/motion/bloom-menu.js.map +1 -1
- package/dist/components/motion/bookmark-button.d.ts +30 -0
- package/dist/components/motion/bookmark-button.d.ts.map +1 -0
- package/dist/components/motion/bookmark-button.js +107 -0
- package/dist/components/motion/bookmark-button.js.map +1 -0
- package/dist/components/motion/bookshelf.d.ts +7 -0
- package/dist/components/motion/bookshelf.d.ts.map +1 -1
- package/dist/components/motion/bookshelf.js +3 -3
- package/dist/components/motion/bookshelf.js.map +1 -1
- package/dist/components/motion/bottom-sheet.d.ts +6 -0
- package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
- package/dist/components/motion/bottom-sheet.js +6 -30
- package/dist/components/motion/bottom-sheet.js.map +1 -1
- package/dist/components/motion/bounce-sidebar.d.ts +16 -0
- package/dist/components/motion/bounce-sidebar.d.ts.map +1 -1
- package/dist/components/motion/bounce-sidebar.js.map +1 -1
- package/dist/components/motion/bouncy-accordion.d.ts +20 -0
- package/dist/components/motion/bouncy-accordion.d.ts.map +1 -1
- package/dist/components/motion/bouncy-accordion.js +2 -2
- package/dist/components/motion/bouncy-accordion.js.map +1 -1
- package/dist/components/motion/breadcrumb.d.ts +2 -0
- package/dist/components/motion/breadcrumb.d.ts.map +1 -1
- package/dist/components/motion/breadcrumb.js +5 -6
- package/dist/components/motion/breadcrumb.js.map +1 -1
- package/dist/components/motion/button/base.d.ts +8 -0
- package/dist/components/motion/button/base.d.ts.map +1 -1
- package/dist/components/motion/button/base.js +15 -10
- package/dist/components/motion/button/base.js.map +1 -1
- package/dist/components/motion/button/metallic.d.ts.map +1 -1
- package/dist/components/motion/button/metallic.js +5 -4
- package/dist/components/motion/button/metallic.js.map +1 -1
- package/dist/components/motion/button/stateful.d.ts +5 -0
- package/dist/components/motion/button/stateful.d.ts.map +1 -1
- package/dist/components/motion/button/stateful.js +0 -1
- package/dist/components/motion/button/stateful.js.map +1 -1
- package/dist/components/motion/{button/index.d.ts → button.d.ts} +4 -4
- package/dist/components/motion/button.js +6 -0
- package/dist/components/motion/card-dealer.d.ts +2 -0
- package/dist/components/motion/card-dealer.d.ts.map +1 -1
- package/dist/components/motion/card-dealer.js +4 -4
- package/dist/components/motion/card-dealer.js.map +1 -1
- package/dist/components/motion/card-folder.d.ts +18 -0
- package/dist/components/motion/card-folder.d.ts.map +1 -1
- package/dist/components/motion/card-folder.js +9 -9
- package/dist/components/motion/card-folder.js.map +1 -1
- package/dist/components/motion/card.js +1 -1
- package/dist/components/motion/card.js.map +1 -1
- package/dist/components/motion/casino/game-parts.d.ts +1 -1
- package/dist/components/motion/casino/game-parts.js +5 -5
- package/dist/components/motion/casino/game-parts.js.map +1 -1
- package/dist/components/motion/center-morph-modal.d.ts +4 -0
- package/dist/components/motion/center-morph-modal.d.ts.map +1 -1
- package/dist/components/motion/center-morph-modal.js +64 -91
- package/dist/components/motion/center-morph-modal.js.map +1 -1
- package/dist/components/motion/checkbox.d.ts +8 -0
- package/dist/components/motion/checkbox.d.ts.map +1 -1
- package/dist/components/motion/checkbox.js.map +1 -1
- package/dist/components/motion/chromatic-text-reveal.js +3 -3
- package/dist/components/motion/chromatic-text-reveal.js.map +1 -1
- package/dist/components/motion/click-burst.d.ts +24 -0
- package/dist/components/motion/click-burst.d.ts.map +1 -0
- package/dist/components/motion/click-burst.js +133 -0
- package/dist/components/motion/click-burst.js.map +1 -0
- package/dist/components/motion/collapsible.d.ts +4 -0
- package/dist/components/motion/collapsible.d.ts.map +1 -1
- package/dist/components/motion/collapsible.js +1 -1
- package/dist/components/motion/collapsible.js.map +1 -1
- package/dist/components/motion/color-picker.d.ts +7 -21
- package/dist/components/motion/color-picker.d.ts.map +1 -1
- package/dist/components/motion/color-picker.js +7 -95
- package/dist/components/motion/color-picker.js.map +1 -1
- package/dist/components/motion/color-selector.d.ts +5 -0
- package/dist/components/motion/color-selector.d.ts.map +1 -1
- package/dist/components/motion/color-selector.js.map +1 -1
- package/dist/components/motion/combobox/content.d.ts +3 -10
- package/dist/components/motion/combobox/content.d.ts.map +1 -1
- package/dist/components/motion/combobox/content.js +14 -80
- package/dist/components/motion/combobox/content.js.map +1 -1
- package/dist/components/motion/combobox/context.d.ts +3 -2
- package/dist/components/motion/combobox/context.js +1 -1
- package/dist/components/motion/combobox/list.d.ts +12 -0
- package/dist/components/motion/combobox/list.d.ts.map +1 -1
- package/dist/components/motion/combobox/list.js +4 -4
- package/dist/components/motion/combobox/list.js.map +1 -1
- package/dist/components/motion/combobox/listbox-panel.d.ts +2 -0
- package/dist/components/motion/combobox/listbox-panel.js +99 -0
- package/dist/components/motion/combobox/listbox-panel.js.map +1 -0
- package/dist/components/motion/combobox/trigger.d.ts +5 -0
- package/dist/components/motion/combobox/trigger.d.ts.map +1 -1
- package/dist/components/motion/combobox/trigger.js +10 -4
- package/dist/components/motion/combobox/trigger.js.map +1 -1
- package/dist/components/motion/combobox.d.ts +1 -1
- package/dist/components/motion/combobox.js +1 -1
- package/dist/components/motion/command-palette.d.ts +29 -1
- package/dist/components/motion/command-palette.d.ts.map +1 -1
- package/dist/components/motion/command-palette.js +282 -124
- package/dist/components/motion/command-palette.js.map +1 -1
- package/dist/components/motion/confetti.d.ts +23 -0
- package/dist/components/motion/confetti.d.ts.map +1 -0
- package/dist/components/motion/confetti.js +154 -0
- package/dist/components/motion/confetti.js.map +1 -0
- package/dist/components/motion/context-menu.d.ts +25 -0
- package/dist/components/motion/context-menu.d.ts.map +1 -1
- package/dist/components/motion/context-menu.js +110 -112
- package/dist/components/motion/context-menu.js.map +1 -1
- package/dist/components/motion/copy-button.d.ts +27 -0
- package/dist/components/motion/copy-button.d.ts.map +1 -0
- package/dist/components/motion/copy-button.js +129 -0
- package/dist/components/motion/copy-button.js.map +1 -0
- package/dist/components/motion/crash/crash-balloon.d.ts +2 -2
- package/dist/components/motion/crash/crash-balloon.js +2 -2
- package/dist/components/motion/crash/crash-balloon.js.map +1 -1
- package/dist/components/motion/crash/crash-parts.d.ts +2 -2
- package/dist/components/motion/crash/crash-parts.js +1 -1
- package/dist/components/motion/crash/crash-tower.d.ts +2 -2
- package/dist/components/motion/crash/crash-tower.js +3 -3
- package/dist/components/motion/crash/crash-tower.js.map +1 -1
- package/dist/components/motion/crash.d.ts +2 -2
- package/dist/components/motion/crash.js +1 -1
- package/dist/components/motion/cylinder-carousel.d.ts +6 -3
- package/dist/components/motion/cylinder-carousel.d.ts.map +1 -1
- package/dist/components/motion/cylinder-carousel.js +1 -1
- package/dist/components/motion/cylinder-carousel.js.map +1 -1
- package/dist/components/motion/date-range-picker/calendar-choices.d.ts +18 -0
- package/dist/components/motion/date-range-picker/calendar-choices.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/calendar-choices.js +62 -0
- package/dist/components/motion/date-range-picker/calendar-choices.js.map +1 -0
- package/dist/components/motion/date-range-picker/calendar-presence.d.ts +5 -0
- package/dist/components/motion/date-range-picker/calendar-presence.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/calendar-presence.js +14 -0
- package/dist/components/motion/date-range-picker/calendar-presence.js.map +1 -0
- package/dist/components/motion/date-range-picker/calendar.d.ts +8 -0
- package/dist/components/motion/date-range-picker/calendar.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/calendar.js +46 -0
- package/dist/components/motion/date-range-picker/calendar.js.map +1 -0
- package/dist/components/motion/date-range-picker/clear.d.ts +4 -0
- package/dist/components/motion/date-range-picker/clear.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/clear.js +23 -0
- package/dist/components/motion/date-range-picker/clear.js.map +1 -0
- package/dist/components/motion/date-range-picker/content.d.ts +7 -0
- package/dist/components/motion/date-range-picker/content.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/content.js +36 -0
- package/dist/components/motion/date-range-picker/content.js.map +1 -0
- package/dist/components/motion/date-range-picker/dropdown.d.ts +12 -0
- package/dist/components/motion/date-range-picker/dropdown.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/dropdown.js +26 -0
- package/dist/components/motion/date-range-picker/dropdown.js.map +1 -0
- package/dist/components/motion/date-range-picker/footer.d.ts +4 -0
- package/dist/components/motion/date-range-picker/footer.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/footer.js +20 -0
- package/dist/components/motion/date-range-picker/footer.js.map +1 -0
- package/dist/components/motion/date-range-picker/grid.d.ts +4 -0
- package/dist/components/motion/date-range-picker/grid.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/grid.js +132 -0
- package/dist/components/motion/date-range-picker/grid.js.map +1 -0
- package/dist/components/motion/date-range-picker/header.d.ts +4 -0
- package/dist/components/motion/date-range-picker/header.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/header.js +85 -0
- package/dist/components/motion/date-range-picker/header.js.map +1 -0
- package/dist/components/motion/date-range-picker/preset.d.ts +10 -0
- package/dist/components/motion/date-range-picker/preset.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/preset.js +25 -0
- package/dist/components/motion/date-range-picker/preset.js.map +1 -0
- package/dist/components/motion/date-range-picker/presets.d.ts +4 -0
- package/dist/components/motion/date-range-picker/presets.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/presets.js +22 -0
- package/dist/components/motion/date-range-picker/presets.js.map +1 -0
- package/dist/components/motion/date-range-picker/root.d.ts +4 -0
- package/dist/components/motion/date-range-picker/root.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/root.js +3 -0
- package/dist/components/motion/date-range-picker/selection.d.ts +4 -0
- package/dist/components/motion/date-range-picker/selection.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/selection.js +17 -0
- package/dist/components/motion/date-range-picker/selection.js.map +1 -0
- package/dist/components/motion/date-range-picker/summary.d.ts +4 -0
- package/dist/components/motion/date-range-picker/summary.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/summary.js +40 -0
- package/dist/components/motion/date-range-picker/summary.js.map +1 -0
- package/dist/components/motion/date-range-picker/trigger.d.ts +7 -0
- package/dist/components/motion/date-range-picker/trigger.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker/trigger.js +74 -0
- package/dist/components/motion/date-range-picker/trigger.js.map +1 -0
- package/dist/components/motion/date-range-picker.d.ts +16 -116
- package/dist/components/motion/date-range-picker.d.ts.map +1 -1
- package/dist/components/motion/date-range-picker.js +14 -922
- package/dist/components/motion/date-range-picker.js.map +1 -1
- package/dist/components/motion/delete-button.d.ts +31 -0
- package/dist/components/motion/delete-button.d.ts.map +1 -0
- package/dist/components/motion/delete-button.js +263 -0
- package/dist/components/motion/delete-button.js.map +1 -0
- package/dist/components/motion/digit-swap.d.ts +3 -0
- package/dist/components/motion/digit-swap.d.ts.map +1 -1
- package/dist/components/motion/digit-swap.js.map +1 -1
- package/dist/components/motion/dock.d.ts +4 -0
- package/dist/components/motion/dock.d.ts.map +1 -1
- package/dist/components/motion/dock.js +2 -2
- package/dist/components/motion/dock.js.map +1 -1
- package/dist/components/motion/download-button.d.ts +29 -0
- package/dist/components/motion/download-button.d.ts.map +1 -0
- package/dist/components/motion/download-button.js +305 -0
- package/dist/components/motion/download-button.js.map +1 -0
- package/dist/components/motion/drawer.d.ts +9 -1
- package/dist/components/motion/drawer.d.ts.map +1 -1
- package/dist/components/motion/drawer.js +65 -15
- package/dist/components/motion/drawer.js.map +1 -1
- package/dist/components/motion/dropdown-menu/item-base.d.ts +37 -0
- package/dist/components/motion/dropdown-menu/item-base.d.ts.map +1 -0
- package/dist/components/motion/dropdown-menu/item-base.js +78 -0
- package/dist/components/motion/dropdown-menu/item-base.js.map +1 -0
- package/dist/components/motion/dropdown-menu/menu-panel.d.ts +31 -0
- package/dist/components/motion/dropdown-menu/menu-panel.d.ts.map +1 -0
- package/dist/components/motion/dropdown-menu/menu-panel.js +201 -0
- package/dist/components/motion/dropdown-menu/menu-panel.js.map +1 -0
- package/dist/components/motion/dropdown-menu.d.ts +30 -18
- package/dist/components/motion/dropdown-menu.d.ts.map +1 -1
- package/dist/components/motion/dropdown-menu.js +113 -421
- package/dist/components/motion/dropdown-menu.js.map +1 -1
- package/dist/components/motion/dynamic-island.d.ts +2 -0
- package/dist/components/motion/dynamic-island.d.ts.map +1 -1
- package/dist/components/motion/dynamic-island.js.map +1 -1
- package/dist/components/motion/expandable-action-bar.d.ts +28 -0
- package/dist/components/motion/expandable-action-bar.d.ts.map +1 -1
- package/dist/components/motion/expandable-action-bar.js +5 -14
- package/dist/components/motion/expandable-action-bar.js.map +1 -1
- package/dist/components/motion/expandable-control.d.ts +14 -0
- package/dist/components/motion/expandable-control.d.ts.map +1 -1
- package/dist/components/motion/expandable-control.js +1 -1
- package/dist/components/motion/expandable-control.js.map +1 -1
- package/dist/components/motion/expandable-tabs.d.ts +16 -1
- package/dist/components/motion/expandable-tabs.d.ts.map +1 -1
- package/dist/components/motion/expandable-tabs.js +3 -15
- package/dist/components/motion/expandable-tabs.js.map +1 -1
- package/dist/components/motion/expanding-arrow-button.d.ts +2 -0
- package/dist/components/motion/expanding-arrow-button.d.ts.map +1 -1
- package/dist/components/motion/expanding-arrow-button.js +3 -3
- package/dist/components/motion/expanding-arrow-button.js.map +1 -1
- package/dist/components/motion/feedback-widget.d.ts +6 -0
- package/dist/components/motion/feedback-widget.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.js +13 -29
- package/dist/components/motion/feedback-widget.js.map +1 -1
- package/dist/components/motion/file-tree.d.ts +24 -0
- package/dist/components/motion/file-tree.d.ts.map +1 -1
- package/dist/components/motion/file-tree.js +4 -4
- package/dist/components/motion/file-tree.js.map +1 -1
- package/dist/components/motion/file-upload.d.ts +34 -0
- package/dist/components/motion/file-upload.d.ts.map +1 -1
- package/dist/components/motion/file-upload.js +26 -17
- package/dist/components/motion/file-upload.js.map +1 -1
- package/dist/components/motion/follow-button.d.ts +31 -0
- package/dist/components/motion/follow-button.d.ts.map +1 -0
- package/dist/components/motion/follow-button.js +184 -0
- package/dist/components/motion/follow-button.js.map +1 -0
- package/dist/components/motion/hold-action-button.d.ts +7 -0
- package/dist/components/motion/hold-action-button.d.ts.map +1 -1
- package/dist/components/motion/hold-action-button.js +1 -1
- package/dist/components/motion/hold-action-button.js.map +1 -1
- package/dist/components/motion/infinite-masonry.d.ts +22 -0
- package/dist/components/motion/infinite-masonry.d.ts.map +1 -1
- package/dist/components/motion/infinite-masonry.js.map +1 -1
- package/dist/components/motion/input.d.ts +17 -0
- package/dist/components/motion/input.d.ts.map +1 -1
- package/dist/components/motion/input.js +2 -1
- package/dist/components/motion/input.js.map +1 -1
- package/dist/components/motion/knockout-bracket.d.ts +11 -4
- package/dist/components/motion/knockout-bracket.d.ts.map +1 -1
- package/dist/components/motion/knockout-bracket.js +30 -21
- package/dist/components/motion/knockout-bracket.js.map +1 -1
- package/dist/components/motion/knockout-wheel.d.ts +9 -3
- package/dist/components/motion/knockout-wheel.d.ts.map +1 -1
- package/dist/components/motion/knockout-wheel.js +5 -5
- package/dist/components/motion/knockout-wheel.js.map +1 -1
- package/dist/components/motion/like-button.d.ts +26 -0
- package/dist/components/motion/like-button.d.ts.map +1 -0
- package/dist/components/motion/like-button.js +128 -0
- package/dist/components/motion/like-button.js.map +1 -0
- package/dist/components/motion/loader.d.ts +1 -0
- package/dist/components/motion/loader.d.ts.map +1 -1
- package/dist/components/motion/loader.js.map +1 -1
- package/dist/components/motion/lock-toggle.d.ts +29 -0
- package/dist/components/motion/lock-toggle.d.ts.map +1 -0
- package/dist/components/motion/lock-toggle.js +252 -0
- package/dist/components/motion/lock-toggle.js.map +1 -0
- package/dist/components/motion/marquee.d.ts +6 -0
- package/dist/components/motion/marquee.d.ts.map +1 -1
- package/dist/components/motion/marquee.js.map +1 -1
- package/dist/components/motion/menu/menu-item-highlight.d.ts +16 -0
- package/dist/components/motion/menu/menu-item-highlight.d.ts.map +1 -0
- package/dist/components/motion/menu/menu-item-highlight.js +20 -0
- package/dist/components/motion/menu/menu-item-highlight.js.map +1 -0
- package/dist/components/motion/message-status.d.ts +26 -0
- package/dist/components/motion/message-status.d.ts.map +1 -0
- package/dist/components/motion/message-status.js +198 -0
- package/dist/components/motion/message-status.js.map +1 -0
- package/dist/components/motion/mines.d.ts +2 -1
- package/dist/components/motion/mines.d.ts.map +1 -1
- package/dist/components/motion/mines.js +3 -3
- package/dist/components/motion/mines.js.map +1 -1
- package/dist/components/motion/morphing-lightbox.d.ts +16 -0
- package/dist/components/motion/morphing-lightbox.d.ts.map +1 -1
- package/dist/components/motion/morphing-lightbox.js +3 -3
- package/dist/components/motion/morphing-lightbox.js.map +1 -1
- package/dist/components/motion/morphing-modal.d.ts +2 -0
- package/dist/components/motion/morphing-modal.d.ts.map +1 -1
- package/dist/components/motion/morphing-modal.js +14 -13
- package/dist/components/motion/morphing-modal.js.map +1 -1
- package/dist/components/motion/morphing-search-chips.d.ts +12 -0
- package/dist/components/motion/morphing-search-chips.d.ts.map +1 -1
- package/dist/components/motion/morphing-search-chips.js +6 -16
- package/dist/components/motion/morphing-search-chips.js.map +1 -1
- package/dist/components/motion/morphing-search.d.ts +16 -0
- package/dist/components/motion/morphing-search.d.ts.map +1 -1
- package/dist/components/motion/morphing-search.js +9 -13
- package/dist/components/motion/morphing-search.js.map +1 -1
- package/dist/components/motion/morphing-tabs.d.ts +20 -0
- package/dist/components/motion/morphing-tabs.d.ts.map +1 -1
- package/dist/components/motion/morphing-tabs.js.map +1 -1
- package/dist/components/motion/multi-select/content.d.ts +3 -10
- package/dist/components/motion/multi-select/content.d.ts.map +1 -1
- package/dist/components/motion/multi-select/content.js +14 -80
- package/dist/components/motion/multi-select/content.js.map +1 -1
- package/dist/components/motion/multi-select/context.d.ts +2 -2
- package/dist/components/motion/multi-select/context.js +1 -1
- package/dist/components/motion/multi-select/list.d.ts +12 -0
- package/dist/components/motion/multi-select/list.d.ts.map +1 -1
- package/dist/components/motion/multi-select/list.js +5 -5
- package/dist/components/motion/multi-select/list.js.map +1 -1
- package/dist/components/motion/multi-select/trigger.d.ts +6 -0
- package/dist/components/motion/multi-select/trigger.d.ts.map +1 -1
- package/dist/components/motion/multi-select/trigger.js +5 -4
- package/dist/components/motion/multi-select/trigger.js.map +1 -1
- package/dist/components/motion/{multi-select/index.d.ts → multi-select.d.ts} +4 -4
- package/dist/components/motion/{multi-select/index.js → multi-select.js} +4 -4
- package/dist/components/motion/mute-toggle.d.ts +25 -0
- package/dist/components/motion/mute-toggle.d.ts.map +1 -0
- package/dist/components/motion/mute-toggle.js +221 -0
- package/dist/components/motion/mute-toggle.js.map +1 -0
- package/dist/components/motion/not-found/glitch.js +2 -2
- package/dist/components/motion/not-found/glitch.js.map +1 -1
- package/dist/components/motion/not-found/magnetic.js +2 -2
- package/dist/components/motion/not-found/magnetic.js.map +1 -1
- package/dist/components/motion/not-found/shared.d.ts +7 -0
- package/dist/components/motion/not-found/shared.d.ts.map +1 -1
- package/dist/components/motion/not-found/shared.js.map +1 -1
- package/dist/components/motion/not-found/spotlight.js +4 -4
- package/dist/components/motion/not-found/spotlight.js.map +1 -1
- package/dist/components/motion/not-found/stacked.js +2 -2
- package/dist/components/motion/not-found/stacked.js.map +1 -1
- package/dist/components/motion/not-found/terminal.d.ts.map +1 -1
- package/dist/components/motion/not-found/terminal.js +1 -1
- package/dist/components/motion/not-found/terminal.js.map +1 -1
- package/dist/components/motion/notification-bell.d.ts +29 -0
- package/dist/components/motion/notification-bell.d.ts.map +1 -0
- package/dist/components/motion/notification-bell.js +274 -0
- package/dist/components/motion/notification-bell.js.map +1 -0
- package/dist/components/motion/notification-stack.d.ts +23 -0
- package/dist/components/motion/notification-stack.d.ts.map +1 -1
- package/dist/components/motion/notification-stack.js.map +1 -1
- package/dist/components/motion/number-ticker.d.ts +6 -1
- package/dist/components/motion/number-ticker.d.ts.map +1 -1
- package/dist/components/motion/number-ticker.js.map +1 -1
- package/dist/components/motion/otp-input.d.ts +6 -0
- package/dist/components/motion/otp-input.d.ts.map +1 -1
- package/dist/components/motion/otp-input.js +3 -7
- package/dist/components/motion/otp-input.js.map +1 -1
- package/dist/components/motion/overflow-actions.d.ts +26 -0
- package/dist/components/motion/overflow-actions.d.ts.map +1 -1
- package/dist/components/motion/overflow-actions.js.map +1 -1
- package/dist/components/motion/pagination.d.ts +4 -0
- package/dist/components/motion/pagination.d.ts.map +1 -1
- package/dist/components/motion/pagination.js +2 -2
- package/dist/components/motion/pagination.js.map +1 -1
- package/dist/components/motion/parallax.d.ts +2 -0
- package/dist/components/motion/parallax.d.ts.map +1 -1
- package/dist/components/motion/parallax.js.map +1 -1
- package/dist/components/motion/plinko.d.ts +1 -0
- package/dist/components/motion/plinko.d.ts.map +1 -1
- package/dist/components/motion/plinko.js +2 -2
- package/dist/components/motion/plinko.js.map +1 -1
- package/dist/components/motion/poll-vote.d.ts +39 -0
- package/dist/components/motion/poll-vote.d.ts.map +1 -0
- package/dist/components/motion/poll-vote.js +209 -0
- package/dist/components/motion/poll-vote.js.map +1 -0
- package/dist/components/motion/popover-morph.d.ts +2 -50
- package/dist/components/motion/popover-morph.js +4 -24
- package/dist/components/motion/popover-morph.js.map +1 -1
- package/dist/components/motion/popover.d.ts +5 -2
- package/dist/components/motion/popover.d.ts.map +1 -1
- package/dist/components/motion/popover.js +151 -99
- package/dist/components/motion/popover.js.map +1 -1
- package/dist/components/motion/prediction-market-card.d.ts +15 -0
- package/dist/components/motion/prediction-market-card.d.ts.map +1 -1
- package/dist/components/motion/prediction-market-card.js +8 -8
- package/dist/components/motion/prediction-market-card.js.map +1 -1
- package/dist/components/motion/prediction-market.d.ts +34 -0
- package/dist/components/motion/prediction-market.d.ts.map +1 -1
- package/dist/components/motion/prediction-market.js +10 -10
- package/dist/components/motion/prediction-market.js.map +1 -1
- package/dist/components/motion/preview-rail.d.ts +23 -0
- package/dist/components/motion/preview-rail.d.ts.map +1 -1
- package/dist/components/motion/preview-rail.js.map +1 -1
- package/dist/components/motion/project-folder.d.ts +16 -0
- package/dist/components/motion/project-folder.d.ts.map +1 -1
- package/dist/components/motion/project-folder.js +10 -40
- package/dist/components/motion/project-folder.js.map +1 -1
- package/dist/components/motion/pull-to-refresh.d.ts +8 -0
- package/dist/components/motion/pull-to-refresh.d.ts.map +1 -1
- package/dist/components/motion/pull-to-refresh.js +1 -1
- package/dist/components/motion/pull-to-refresh.js.map +1 -1
- package/dist/components/motion/qr-code.d.ts +42 -0
- package/dist/components/motion/qr-code.d.ts.map +1 -0
- package/dist/components/motion/qr-code.js +443 -0
- package/dist/components/motion/qr-code.js.map +1 -0
- package/dist/components/motion/radio.d.ts +10 -0
- package/dist/components/motion/radio.d.ts.map +1 -1
- package/dist/components/motion/radio.js.map +1 -1
- package/dist/components/motion/range-slider-bubble.d.ts +1 -0
- package/dist/components/motion/range-slider-bubble.d.ts.map +1 -1
- package/dist/components/motion/range-slider-bubble.js +4 -4
- package/dist/components/motion/range-slider-bubble.js.map +1 -1
- package/dist/components/motion/range-slider-fluid.d.ts +1 -0
- package/dist/components/motion/range-slider-fluid.d.ts.map +1 -1
- package/dist/components/motion/range-slider-fluid.js +2 -2
- package/dist/components/motion/range-slider-fluid.js.map +1 -1
- package/dist/components/motion/range-slider-inline.d.ts +1 -0
- package/dist/components/motion/range-slider-inline.d.ts.map +1 -1
- package/dist/components/motion/range-slider-inline.js +1 -1
- package/dist/components/motion/range-slider-inline.js.map +1 -1
- package/dist/components/motion/range-slider-ruler.d.ts +1 -0
- package/dist/components/motion/range-slider-ruler.d.ts.map +1 -1
- package/dist/components/motion/range-slider-ruler.js +3 -3
- package/dist/components/motion/range-slider-ruler.js.map +1 -1
- package/dist/components/motion/range-slider-wave.d.ts +1 -0
- package/dist/components/motion/range-slider-wave.d.ts.map +1 -1
- package/dist/components/motion/range-slider-wave.js +3 -3
- package/dist/components/motion/range-slider-wave.js.map +1 -1
- package/dist/components/motion/range-slider.d.ts +1 -0
- package/dist/components/motion/range-slider.d.ts.map +1 -1
- package/dist/components/motion/range-slider.js +2 -2
- package/dist/components/motion/range-slider.js.map +1 -1
- package/dist/components/motion/reaction-picker.d.ts +50 -0
- package/dist/components/motion/reaction-picker.d.ts.map +1 -0
- package/dist/components/motion/reaction-picker.js +516 -0
- package/dist/components/motion/reaction-picker.js.map +1 -0
- package/dist/components/motion/refresh-button.d.ts +24 -0
- package/dist/components/motion/refresh-button.d.ts.map +1 -0
- package/dist/components/motion/refresh-button.js +267 -0
- package/dist/components/motion/refresh-button.js.map +1 -0
- package/dist/components/motion/scroll-progress.d.ts +2 -0
- package/dist/components/motion/scroll-progress.d.ts.map +1 -1
- package/dist/components/motion/scroll-progress.js +1 -1
- package/dist/components/motion/scroll-progress.js.map +1 -1
- package/dist/components/motion/scroll-reveal.d.ts +2 -0
- package/dist/components/motion/scroll-reveal.d.ts.map +1 -1
- package/dist/components/motion/scroll-reveal.js.map +1 -1
- package/dist/components/motion/scroll-to.d.ts +2 -1
- package/dist/components/motion/scroll-to.d.ts.map +1 -1
- package/dist/components/motion/scroll-to.js +1 -1
- package/dist/components/motion/scroll-to.js.map +1 -1
- package/dist/components/motion/select-morph.d.ts +16 -2
- package/dist/components/motion/select-morph.d.ts.map +1 -1
- package/dist/components/motion/select-morph.js +148 -85
- package/dist/components/motion/select-morph.js.map +1 -1
- package/dist/components/motion/select.d.ts +16 -2
- package/dist/components/motion/select.d.ts.map +1 -1
- package/dist/components/motion/select.js +150 -61
- package/dist/components/motion/select.js.map +1 -1
- package/dist/components/motion/send-button.d.ts +23 -0
- package/dist/components/motion/send-button.d.ts.map +1 -0
- package/dist/components/motion/send-button.js +273 -0
- package/dist/components/motion/send-button.js.map +1 -0
- package/dist/components/motion/share-button.d.ts +45 -0
- package/dist/components/motion/share-button.d.ts.map +1 -0
- package/dist/components/motion/share-button.js +324 -0
- package/dist/components/motion/share-button.js.map +1 -0
- package/dist/components/motion/signup-form.d.ts +24 -2
- package/dist/components/motion/signup-form.d.ts.map +1 -1
- package/dist/components/motion/signup-form.js +3 -3
- package/dist/components/motion/signup-form.js.map +1 -1
- package/dist/components/motion/slide-action-button.d.ts +6 -0
- package/dist/components/motion/slide-action-button.d.ts.map +1 -1
- package/dist/components/motion/slide-action-button.js.map +1 -1
- package/dist/components/motion/slide-game.d.ts +2 -1
- package/dist/components/motion/slide-game.d.ts.map +1 -1
- package/dist/components/motion/slide-game.js +9 -9
- package/dist/components/motion/slide-game.js.map +1 -1
- package/dist/components/motion/smooth-scroll.d.ts +3 -1
- package/dist/components/motion/smooth-scroll.d.ts.map +1 -1
- package/dist/components/motion/smooth-scroll.js.map +1 -1
- package/dist/components/motion/sortable-list.d.ts +8 -0
- package/dist/components/motion/sortable-list.d.ts.map +1 -1
- package/dist/components/motion/sortable-list.js +2 -2
- package/dist/components/motion/sortable-list.js.map +1 -1
- package/dist/components/motion/star-rating.d.ts +35 -0
- package/dist/components/motion/star-rating.d.ts.map +1 -0
- package/dist/components/motion/star-rating.js +253 -0
- package/dist/components/motion/star-rating.js.map +1 -0
- package/dist/components/motion/status-icon.d.ts +31 -0
- package/dist/components/motion/status-icon.d.ts.map +1 -0
- package/dist/components/motion/status-icon.js +259 -0
- package/dist/components/motion/status-icon.js.map +1 -0
- package/dist/components/motion/swap/controls.d.ts +1 -1
- package/dist/components/motion/swap/controls.d.ts.map +1 -1
- package/dist/components/motion/swap/controls.js +20 -20
- package/dist/components/motion/swap/controls.js.map +1 -1
- package/dist/components/motion/swap/field.d.ts +1 -1
- package/dist/components/motion/swap/field.js +8 -7
- package/dist/components/motion/swap/field.js.map +1 -1
- package/dist/components/motion/swap/quote-row.d.ts +1 -1
- package/dist/components/motion/swap/quote-row.js +1 -1
- package/dist/components/motion/swap/quote-row.js.map +1 -1
- package/dist/components/motion/swap/token-badges.d.ts +1 -1
- package/dist/components/motion/swap/token-badges.js +5 -6
- package/dist/components/motion/swap/token-badges.js.map +1 -1
- package/dist/components/motion/swap/token-picker.d.ts +1 -1
- package/dist/components/motion/swap/token-picker.d.ts.map +1 -1
- package/dist/components/motion/swap/token-picker.js +21 -18
- package/dist/components/motion/swap/token-picker.js.map +1 -1
- package/dist/components/motion/swap.d.ts +7 -2
- package/dist/components/motion/swap.d.ts.map +1 -1
- package/dist/components/motion/swap.js +1 -1
- package/dist/components/motion/swap.js.map +1 -1
- package/dist/components/motion/swipeable-list.d.ts +38 -0
- package/dist/components/motion/swipeable-list.d.ts.map +1 -1
- package/dist/components/motion/swipeable-list.js.map +1 -1
- package/dist/components/motion/switch.d.ts +9 -1
- package/dist/components/motion/switch.d.ts.map +1 -1
- package/dist/components/motion/switch.js +11 -2
- package/dist/components/motion/switch.js.map +1 -1
- package/dist/components/motion/table/skeleton-rows.d.ts +1 -1
- package/dist/components/motion/table/table-header.d.ts +1 -1
- package/dist/components/motion/table/table-menu.d.ts.map +1 -1
- package/dist/components/motion/table/table-menu.js +15 -15
- package/dist/components/motion/table/table-menu.js.map +1 -1
- package/dist/components/motion/{table/index.d.ts → table.d.ts} +3 -3
- package/dist/components/motion/table.d.ts.map +1 -0
- package/dist/components/motion/{table/index.js → table.js} +10 -10
- package/dist/components/motion/table.js.map +1 -0
- package/dist/components/motion/tabs.d.ts +16 -4
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/tabs.js +23 -10
- package/dist/components/motion/tabs.js.map +1 -1
- package/dist/components/motion/text-cascade.d.ts +2 -1
- package/dist/components/motion/text-cascade.d.ts.map +1 -1
- package/dist/components/motion/text-cascade.js +1 -1
- package/dist/components/motion/text-cascade.js.map +1 -1
- package/dist/components/motion/text-morph.d.ts +16 -0
- package/dist/components/motion/text-morph.d.ts.map +1 -0
- package/dist/components/motion/text-morph.js +239 -0
- package/dist/components/motion/text-morph.js.map +1 -0
- package/dist/components/motion/text-reveal.d.ts +11 -0
- package/dist/components/motion/text-reveal.d.ts.map +1 -1
- package/dist/components/motion/text-reveal.js +1 -1
- package/dist/components/motion/text-reveal.js.map +1 -1
- package/dist/components/motion/text-scramble.d.ts +2 -0
- package/dist/components/motion/text-scramble.d.ts.map +1 -1
- package/dist/components/motion/text-scramble.js.map +1 -1
- package/dist/components/motion/text-shimmer.d.ts +3 -0
- package/dist/components/motion/text-shimmer.d.ts.map +1 -1
- package/dist/components/motion/text-shimmer.js.map +1 -1
- package/dist/components/motion/theme-toggle.d.ts +3 -0
- package/dist/components/motion/theme-toggle.d.ts.map +1 -1
- package/dist/components/motion/theme-toggle.js +4 -3
- package/dist/components/motion/theme-toggle.js.map +1 -1
- package/dist/components/motion/tilt-card.d.ts +3 -0
- package/dist/components/motion/tilt-card.d.ts.map +1 -1
- package/dist/components/motion/tilt-card.js.map +1 -1
- package/dist/components/motion/timeline.d.ts +7 -0
- package/dist/components/motion/timeline.d.ts.map +1 -1
- package/dist/components/motion/timeline.js.map +1 -1
- package/dist/components/motion/tooltip/positioner.d.ts +1 -1
- package/dist/components/motion/tooltip/positioner.js +1 -1
- package/dist/components/motion/tooltip-surface.d.ts +6 -1
- package/dist/components/motion/tooltip-surface.d.ts.map +1 -1
- package/dist/components/motion/tooltip-surface.js +34 -24
- package/dist/components/motion/tooltip-surface.js.map +1 -1
- package/dist/components/motion/tooltip.d.ts +7 -1
- package/dist/components/motion/tooltip.d.ts.map +1 -1
- package/dist/components/motion/tooltip.js +1 -1
- package/dist/components/motion/upvote-button.d.ts +30 -0
- package/dist/components/motion/upvote-button.d.ts.map +1 -0
- package/dist/components/motion/upvote-button.js +144 -0
- package/dist/components/motion/upvote-button.js.map +1 -0
- package/dist/components/motion/wallet-card/account-avatar.d.ts +1 -1
- package/dist/components/motion/wallet-card/account-switcher.d.ts +2 -2
- package/dist/components/motion/wallet-card/account-switcher.js +7 -7
- package/dist/components/motion/wallet-card/account-switcher.js.map +1 -1
- package/dist/components/motion/wallet-card/balance-delta.js +1 -1
- package/dist/components/motion/wallet-card/balance-delta.js.map +1 -1
- package/dist/components/motion/wallet-card/copy-button.js +1 -1
- package/dist/components/motion/wallet-card/copy-button.js.map +1 -1
- package/dist/components/motion/wallet-card/search-bar.d.ts +1 -1
- package/dist/components/motion/wallet-card/search-bar.js +8 -8
- package/dist/components/motion/wallet-card/search-bar.js.map +1 -1
- package/dist/components/motion/{wallet-card/index.d.ts → wallet-card.d.ts} +4 -4
- package/dist/components/motion/wallet-card.d.ts.map +1 -0
- package/dist/components/motion/{wallet-card/index.js → wallet-card.js} +11 -11
- package/dist/components/motion/wallet-card.js.map +1 -0
- package/dist/components/motion/wave-reveal.d.ts +25 -0
- package/dist/components/motion/wave-reveal.d.ts.map +1 -0
- package/dist/components/motion/wave-reveal.js +630 -0
- package/dist/components/motion/wave-reveal.js.map +1 -0
- package/dist/components/motion/wheel-picker.d.ts +7 -0
- package/dist/components/motion/wheel-picker.d.ts.map +1 -1
- package/dist/components/motion/wheel-picker.js +12 -2
- package/dist/components/motion/wheel-picker.js.map +1 -1
- package/dist/components/reui/autocomplete.d.ts +1 -1
- package/dist/components/reui/badge.d.ts +2 -2
- package/dist/components/reui/color-picker.js +1 -1
- package/dist/components/reui/color-picker.js.map +1 -1
- package/dist/components/reui/file-type.d.ts +1 -1
- package/dist/components/reui/filters/filters-advanced.js.map +1 -1
- package/dist/components/reui/frame.d.ts +2 -2
- package/dist/components/reui/frame.js +1 -1
- package/dist/components/reui/frame.js.map +1 -1
- package/dist/components/reui/icon-tile.d.ts +2 -2
- package/dist/components/reui/number-field.d.ts +3 -3
- package/dist/components/reui/rating.d.ts +1 -1
- package/dist/components/ui/attachment.d.ts +3 -3
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/bubble.d.ts +1 -1
- package/dist/components/ui/button-group.d.ts +1 -1
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/combobox.js +2 -2
- package/dist/components/ui/combobox.js.map +1 -1
- package/dist/components/ui/field.d.ts +1 -1
- package/dist/components/ui/input-group.d.ts +2 -2
- package/dist/components/ui/item.d.ts +2 -2
- package/dist/components/ui/marker.d.ts +1 -1
- package/dist/components/ui/questionnaire.js +2 -2
- package/dist/components/ui/questionnaire.js.map +1 -1
- package/dist/components/ui/sidebar.d.ts +1 -1
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/sidebar.js.map +1 -1
- package/dist/components/ui/toggle-group.js +1 -1
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/trace.js +1 -1
- package/dist/components/ui/trace.js.map +1 -1
- package/dist/{constants-CggcOqef.js → constants-DfbfCDSg.js} +3 -6
- package/dist/constants-DfbfCDSg.js.map +1 -0
- package/dist/{context-BrGWrRwa.d.ts → context-4tt2I7Qm.d.ts} +14 -4
- package/dist/context-4tt2I7Qm.d.ts.map +1 -0
- package/dist/{context-DWHy9EUW.js → context-B3BNuwGu.js} +8 -25
- package/dist/context-B3BNuwGu.js.map +1 -0
- package/dist/{context-BEYROlTB.d.ts → context-BFNkGCGz.d.ts} +18 -14
- package/dist/context-BFNkGCGz.d.ts.map +1 -0
- package/dist/{context-r3QNWoPh.js → context-BG1Wzdnj.js} +6 -10
- package/dist/context-BG1Wzdnj.js.map +1 -0
- package/dist/{context-Dae38FV_.js → context-Bx-OaIL8.js} +5 -9
- package/dist/context-Bx-OaIL8.js.map +1 -0
- package/dist/context-C92iQeLO.js.map +1 -1
- package/dist/{context-CmexbpIK.js → context-C9LHO4MN.js} +12 -27
- package/dist/context-C9LHO4MN.js.map +1 -0
- package/dist/context-CHXHCbuu.js.map +1 -1
- package/dist/{context-C5DO1oe1.js → context-CIzAPhXA.js} +37 -99
- package/dist/context-CIzAPhXA.js.map +1 -0
- package/dist/{context-B5NItr9C.d.ts → context-CP3spicY.d.ts} +20 -15
- package/dist/context-CP3spicY.d.ts.map +1 -0
- package/dist/{context-CwSk1WZR.js → context-Cg1VelQJ.js} +9 -25
- package/dist/context-Cg1VelQJ.js.map +1 -0
- package/dist/{context-C1Z_5vew.d.ts → context-Cyjsttyl.d.ts} +15 -4
- package/dist/context-Cyjsttyl.d.ts.map +1 -0
- package/dist/{context-CgRa89Bq.d.ts → context-D7eAawR3.d.ts} +12 -7
- package/dist/context-D7eAawR3.d.ts.map +1 -0
- package/dist/{context-BpHX6J1T.js → context-DDoVOc0D.js} +8 -25
- package/dist/context-DDoVOc0D.js.map +1 -0
- package/dist/context-DR6jkfea.js +11 -0
- package/dist/context-DR6jkfea.js.map +1 -0
- package/dist/{context-BLjAwZ5V.js → context-DcJtX6ht.js} +18 -95
- package/dist/context-DcJtX6ht.js.map +1 -0
- package/dist/{context-Cr2SLhVi.js → context-Dg48xMuG.js} +3 -7
- package/dist/context-Dg48xMuG.js.map +1 -0
- package/dist/context-DnM-b9yO.js +23 -0
- package/dist/context-DnM-b9yO.js.map +1 -0
- package/dist/context-DtFeYksF.d.ts +28 -0
- package/dist/context-DtFeYksF.d.ts.map +1 -0
- package/dist/{context-C8M88I1F.js → context-cRAJSFxf.js} +4 -8
- package/dist/context-cRAJSFxf.js.map +1 -0
- package/dist/{copy-menu-BizTEv8v.js → copy-menu-Di77fZ9p.js} +6 -6
- package/dist/copy-menu-Di77fZ9p.js.map +1 -0
- package/dist/{crash-parts-Dg5WC8u4.js → crash-parts-BkrZ6iBE.js} +2 -2
- package/dist/crash-parts-BkrZ6iBE.js.map +1 -0
- package/dist/date-utils-DVDYcEA_.js +35 -0
- package/dist/date-utils-DVDYcEA_.js.map +1 -0
- package/dist/{ease-DnPhwGe6.d.ts → ease-D_-bhUDt.d.ts} +13 -6
- package/dist/ease-D_-bhUDt.d.ts.map +1 -0
- package/dist/formats-ColrL9Eg.js +58 -0
- package/dist/formats-ColrL9Eg.js.map +1 -0
- package/dist/{game-parts-hATtqY3s.d.ts → game-parts-B635BoSe.d.ts} +4 -4
- package/dist/{game-parts-hATtqY3s.d.ts.map → game-parts-B635BoSe.d.ts.map} +1 -1
- package/dist/hooks/use-controllable.d.ts +10 -0
- package/dist/hooks/use-controllable.d.ts.map +1 -0
- package/dist/hooks/use-controllable.js +39 -0
- package/dist/hooks/use-controllable.js.map +1 -0
- package/dist/hooks/use-copy.d.ts +16 -0
- package/dist/hooks/use-copy.d.ts.map +1 -0
- package/dist/hooks/use-copy.js +36 -0
- package/dist/hooks/use-copy.js.map +1 -0
- package/dist/hooks/use-dismiss.d.ts +25 -5
- package/dist/hooks/use-dismiss.d.ts.map +1 -1
- package/dist/hooks/use-dismiss.js +39 -24
- package/dist/hooks/use-dismiss.js.map +1 -1
- package/dist/hooks/use-focus-trap.d.ts +4 -3
- package/dist/hooks/use-focus-trap.d.ts.map +1 -1
- package/dist/hooks/use-focus-trap.js +25 -37
- package/dist/hooks/use-focus-trap.js.map +1 -1
- package/dist/hooks/use-highlighted-code.d.ts +1 -1
- package/dist/hooks/use-highlighted-code.d.ts.map +1 -1
- package/dist/hooks/use-hover-capable.d.ts +1 -1
- package/dist/hooks/use-hover-capable.js +1 -1
- package/dist/hooks/use-hover-capable.js.map +1 -1
- package/dist/hooks/use-hover-gesture.d.ts +5 -5
- package/dist/hooks/use-hover-gesture.js +5 -5
- package/dist/hooks/use-hover-gesture.js.map +1 -1
- package/dist/hooks/use-listbox.d.ts +1 -0
- package/dist/hooks/use-listbox.js +2 -1
- package/dist/hooks/use-listbox.js.map +1 -1
- package/dist/hooks/use-modal-scope.js +22 -26
- package/dist/hooks/use-modal-scope.js.map +1 -1
- package/dist/hooks/use-on-open.d.ts +3 -3
- package/dist/hooks/use-on-open.js +3 -3
- package/dist/hooks/use-on-open.js.map +1 -1
- package/dist/hooks/use-row-cursor.d.ts +2 -2
- package/dist/hooks/use-row-cursor.js +2 -2
- package/dist/hooks/use-row-cursor.js.map +1 -1
- package/dist/hooks/use-slider.d.ts +13 -3
- package/dist/hooks/use-slider.d.ts.map +1 -1
- package/dist/hooks/use-slider.js +23 -4
- package/dist/hooks/use-slider.js.map +1 -1
- package/dist/hooks/use-status-open.d.ts +26 -0
- package/dist/hooks/use-status-open.d.ts.map +1 -0
- package/dist/hooks/use-status-open.js +43 -0
- package/dist/hooks/use-status-open.js.map +1 -0
- package/dist/hooks/use-tap-gesture.d.ts +3 -3
- package/dist/hooks/use-tap-gesture.js +3 -3
- package/dist/hooks/use-tap-gesture.js.map +1 -1
- package/dist/lib/audio-context.d.ts +27 -1
- package/dist/lib/audio-context.d.ts.map +1 -1
- package/dist/lib/audio-context.js +61 -2
- package/dist/lib/audio-context.js.map +1 -1
- package/dist/lib/book-sounds.d.ts.map +1 -1
- package/dist/lib/book-sounds.js +8 -9
- package/dist/lib/book-sounds.js.map +1 -1
- package/dist/lib/color.d.ts +29 -0
- package/dist/lib/color.d.ts.map +1 -0
- package/dist/lib/color.js +93 -0
- package/dist/lib/color.js.map +1 -0
- package/dist/lib/command-search.d.ts +7 -1
- package/dist/lib/command-search.d.ts.map +1 -1
- package/dist/lib/command-search.js +42 -19
- package/dist/lib/command-search.js.map +1 -1
- package/dist/lib/ease.d.ts +2 -2
- package/dist/lib/ease.js +12 -5
- package/dist/lib/ease.js.map +1 -1
- package/dist/lib/focusable.d.ts +10 -0
- package/dist/lib/focusable.d.ts.map +1 -1
- package/dist/lib/focusable.js +31 -1
- package/dist/lib/focusable.js.map +1 -1
- package/dist/lib/game-sounds.d.ts.map +1 -1
- package/dist/lib/game-sounds.js +7 -14
- package/dist/lib/game-sounds.js.map +1 -1
- package/dist/lib/layers.d.ts +24 -0
- package/dist/lib/layers.d.ts.map +1 -0
- package/dist/lib/layers.js +47 -0
- package/dist/lib/layers.js.map +1 -0
- package/dist/lib/merge-refs.d.ts +6 -0
- package/dist/lib/merge-refs.d.ts.map +1 -0
- package/dist/lib/merge-refs.js +15 -0
- package/dist/lib/merge-refs.js.map +1 -0
- package/dist/lib/presence-gate.d.ts +2 -2
- package/dist/lib/presence-gate.js.map +1 -1
- package/dist/lib/scroll-lock.d.ts +13 -0
- package/dist/lib/scroll-lock.d.ts.map +1 -0
- package/dist/lib/scroll-lock.js +59 -0
- package/dist/lib/scroll-lock.js.map +1 -0
- package/dist/lib/sound.d.ts +30 -0
- package/dist/lib/sound.d.ts.map +1 -0
- package/dist/lib/sound.js +95 -0
- package/dist/lib/sound.js.map +1 -0
- package/dist/lib/sounds/bell.d.ts +4 -0
- package/dist/lib/sounds/bell.d.ts.map +1 -0
- package/dist/lib/sounds/bell.js +36 -0
- package/dist/lib/sounds/bell.js.map +1 -0
- package/dist/lib/sounds/bubble.d.ts +4 -0
- package/dist/lib/sounds/bubble.d.ts.map +1 -0
- package/dist/lib/sounds/bubble.js +27 -0
- package/dist/lib/sounds/bubble.js.map +1 -0
- package/dist/lib/sounds/burst.d.ts +4 -0
- package/dist/lib/sounds/burst.d.ts.map +1 -0
- package/dist/lib/sounds/burst.js +45 -0
- package/dist/lib/sounds/burst.js.map +1 -0
- package/dist/lib/sounds/buzz.d.ts +4 -0
- package/dist/lib/sounds/buzz.d.ts.map +1 -0
- package/dist/lib/sounds/buzz.js +26 -0
- package/dist/lib/sounds/buzz.js.map +1 -0
- package/dist/lib/sounds/camera.d.ts +4 -0
- package/dist/lib/sounds/camera.d.ts.map +1 -0
- package/dist/lib/sounds/camera.js +40 -0
- package/dist/lib/sounds/camera.js.map +1 -0
- package/dist/lib/sounds/check.d.ts +4 -0
- package/dist/lib/sounds/check.d.ts.map +1 -0
- package/dist/lib/sounds/check.js +40 -0
- package/dist/lib/sounds/check.js.map +1 -0
- package/dist/lib/sounds/chime.d.ts +4 -0
- package/dist/lib/sounds/chime.d.ts.map +1 -0
- package/dist/lib/sounds/chime.js +33 -0
- package/dist/lib/sounds/chime.js.map +1 -0
- package/dist/lib/sounds/close.d.ts +4 -0
- package/dist/lib/sounds/close.d.ts.map +1 -0
- package/dist/lib/sounds/close.js +36 -0
- package/dist/lib/sounds/close.js.map +1 -0
- package/dist/lib/sounds/coin.d.ts +4 -0
- package/dist/lib/sounds/coin.d.ts.map +1 -0
- package/dist/lib/sounds/coin.js +31 -0
- package/dist/lib/sounds/coin.js.map +1 -0
- package/dist/lib/sounds/collapse.d.ts +4 -0
- package/dist/lib/sounds/collapse.d.ts.map +1 -0
- package/dist/lib/sounds/collapse.js +41 -0
- package/dist/lib/sounds/collapse.js.map +1 -0
- package/dist/lib/sounds/connect.d.ts +4 -0
- package/dist/lib/sounds/connect.d.ts.map +1 -0
- package/dist/lib/sounds/connect.js +39 -0
- package/dist/lib/sounds/connect.js.map +1 -0
- package/dist/lib/sounds/copy.d.ts +4 -0
- package/dist/lib/sounds/copy.d.ts.map +1 -0
- package/dist/lib/sounds/copy.js +39 -0
- package/dist/lib/sounds/copy.js.map +1 -0
- package/dist/lib/sounds/delete.d.ts +4 -0
- package/dist/lib/sounds/delete.d.ts.map +1 -0
- package/dist/lib/sounds/delete.js +39 -0
- package/dist/lib/sounds/delete.js.map +1 -0
- package/dist/lib/sounds/disconnect.d.ts +4 -0
- package/dist/lib/sounds/disconnect.d.ts.map +1 -0
- package/dist/lib/sounds/disconnect.js +39 -0
- package/dist/lib/sounds/disconnect.js.map +1 -0
- package/dist/lib/sounds/dismiss.d.ts +4 -0
- package/dist/lib/sounds/dismiss.d.ts.map +1 -0
- package/dist/lib/sounds/dismiss.js +27 -0
- package/dist/lib/sounds/dismiss.js.map +1 -0
- package/dist/lib/sounds/dock.d.ts +4 -0
- package/dist/lib/sounds/dock.d.ts.map +1 -0
- package/dist/lib/sounds/dock.js +32 -0
- package/dist/lib/sounds/dock.js.map +1 -0
- package/dist/lib/sounds/drop.d.ts +4 -0
- package/dist/lib/sounds/drop.d.ts.map +1 -0
- package/dist/lib/sounds/drop.js +48 -0
- package/dist/lib/sounds/drop.js.map +1 -0
- package/dist/lib/sounds/engine.d.ts +142 -0
- package/dist/lib/sounds/engine.d.ts.map +1 -0
- package/dist/lib/sounds/engine.js +210 -0
- package/dist/lib/sounds/engine.js.map +1 -0
- package/dist/lib/sounds/error.d.ts +4 -0
- package/dist/lib/sounds/error.d.ts.map +1 -0
- package/dist/lib/sounds/error.js +51 -0
- package/dist/lib/sounds/error.js.map +1 -0
- package/dist/lib/sounds/expand.d.ts +4 -0
- package/dist/lib/sounds/expand.d.ts.map +1 -0
- package/dist/lib/sounds/expand.js +28 -0
- package/dist/lib/sounds/expand.js.map +1 -0
- package/dist/lib/sounds/heart.d.ts +4 -0
- package/dist/lib/sounds/heart.d.ts.map +1 -0
- package/dist/lib/sounds/heart.js +39 -0
- package/dist/lib/sounds/heart.js.map +1 -0
- package/dist/lib/sounds/lift.d.ts +4 -0
- package/dist/lib/sounds/lift.d.ts.map +1 -0
- package/dist/lib/sounds/lift.js +34 -0
- package/dist/lib/sounds/lift.js.map +1 -0
- package/dist/lib/sounds/lock.d.ts +4 -0
- package/dist/lib/sounds/lock.d.ts.map +1 -0
- package/dist/lib/sounds/lock.js +32 -0
- package/dist/lib/sounds/lock.js.map +1 -0
- package/dist/lib/sounds/navigate.d.ts +4 -0
- package/dist/lib/sounds/navigate.d.ts.map +1 -0
- package/dist/lib/sounds/navigate.js +36 -0
- package/dist/lib/sounds/navigate.js.map +1 -0
- package/dist/lib/sounds/notify.d.ts +4 -0
- package/dist/lib/sounds/notify.d.ts.map +1 -0
- package/dist/lib/sounds/notify.js +31 -0
- package/dist/lib/sounds/notify.js.map +1 -0
- package/dist/lib/sounds/open.d.ts +4 -0
- package/dist/lib/sounds/open.d.ts.map +1 -0
- package/dist/lib/sounds/open.js +36 -0
- package/dist/lib/sounds/open.js.map +1 -0
- package/dist/lib/sounds/ping.d.ts +4 -0
- package/dist/lib/sounds/ping.d.ts.map +1 -0
- package/dist/lib/sounds/ping.js +30 -0
- package/dist/lib/sounds/ping.js.map +1 -0
- package/dist/lib/sounds/pop.d.ts +4 -0
- package/dist/lib/sounds/pop.d.ts.map +1 -0
- package/dist/lib/sounds/pop.js +27 -0
- package/dist/lib/sounds/pop.js.map +1 -0
- package/dist/lib/sounds/press.d.ts +4 -0
- package/dist/lib/sounds/press.d.ts.map +1 -0
- package/dist/lib/sounds/press.js +40 -0
- package/dist/lib/sounds/press.js.map +1 -0
- package/dist/lib/sounds/receive.d.ts +4 -0
- package/dist/lib/sounds/receive.d.ts.map +1 -0
- package/dist/lib/sounds/receive.js +39 -0
- package/dist/lib/sounds/receive.js.map +1 -0
- package/dist/lib/sounds/refresh.d.ts +4 -0
- package/dist/lib/sounds/refresh.d.ts.map +1 -0
- package/dist/lib/sounds/refresh.js +34 -0
- package/dist/lib/sounds/refresh.js.map +1 -0
- package/dist/lib/sounds/reveal.d.ts +4 -0
- package/dist/lib/sounds/reveal.d.ts.map +1 -0
- package/dist/lib/sounds/reveal.js +34 -0
- package/dist/lib/sounds/reveal.js.map +1 -0
- package/dist/lib/sounds/select.d.ts +4 -0
- package/dist/lib/sounds/select.d.ts.map +1 -0
- package/dist/lib/sounds/select.js +32 -0
- package/dist/lib/sounds/select.js.map +1 -0
- package/dist/lib/sounds/send.d.ts +4 -0
- package/dist/lib/sounds/send.d.ts.map +1 -0
- package/dist/lib/sounds/send.js +35 -0
- package/dist/lib/sounds/send.js.map +1 -0
- package/dist/lib/sounds/shutter.d.ts +4 -0
- package/dist/lib/sounds/shutter.d.ts.map +1 -0
- package/dist/lib/sounds/shutter.js +40 -0
- package/dist/lib/sounds/shutter.js.map +1 -0
- package/dist/lib/sounds/snap.d.ts +4 -0
- package/dist/lib/sounds/snap.d.ts.map +1 -0
- package/dist/lib/sounds/snap.js +33 -0
- package/dist/lib/sounds/snap.js.map +1 -0
- package/dist/lib/sounds/star.d.ts +4 -0
- package/dist/lib/sounds/star.d.ts.map +1 -0
- package/dist/lib/sounds/star.js +38 -0
- package/dist/lib/sounds/star.js.map +1 -0
- package/dist/lib/sounds/success.d.ts +4 -0
- package/dist/lib/sounds/success.d.ts.map +1 -0
- package/dist/lib/sounds/success.js +39 -0
- package/dist/lib/sounds/success.js.map +1 -0
- package/dist/lib/sounds/swipe.d.ts +4 -0
- package/dist/lib/sounds/swipe.d.ts.map +1 -0
- package/dist/lib/sounds/swipe.js +29 -0
- package/dist/lib/sounds/swipe.js.map +1 -0
- package/dist/lib/sounds/switch.d.ts +4 -0
- package/dist/lib/sounds/switch.d.ts.map +1 -0
- package/dist/lib/sounds/switch.js +40 -0
- package/dist/lib/sounds/switch.js.map +1 -0
- package/dist/lib/sounds/tap.d.ts +4 -0
- package/dist/lib/sounds/tap.d.ts.map +1 -0
- package/dist/lib/sounds/tap.js +33 -0
- package/dist/lib/sounds/tap.js.map +1 -0
- package/dist/lib/sounds/tick.d.ts +4 -0
- package/dist/lib/sounds/tick.d.ts.map +1 -0
- package/dist/lib/sounds/tick.js +26 -0
- package/dist/lib/sounds/tick.js.map +1 -0
- package/dist/lib/sounds/timer.d.ts +4 -0
- package/dist/lib/sounds/timer.d.ts.map +1 -0
- package/dist/lib/sounds/timer.js +26 -0
- package/dist/lib/sounds/timer.js.map +1 -0
- package/dist/lib/sounds/toggle.d.ts +6 -0
- package/dist/lib/sounds/toggle.d.ts.map +1 -0
- package/dist/lib/sounds/toggle.js +79 -0
- package/dist/lib/sounds/toggle.js.map +1 -0
- package/dist/lib/sounds/trash.d.ts +4 -0
- package/dist/lib/sounds/trash.d.ts.map +1 -0
- package/dist/lib/sounds/trash.js +40 -0
- package/dist/lib/sounds/trash.js.map +1 -0
- package/dist/lib/sounds/type.d.ts +4 -0
- package/dist/lib/sounds/type.d.ts.map +1 -0
- package/dist/lib/sounds/type.js +35 -0
- package/dist/lib/sounds/type.js.map +1 -0
- package/dist/lib/sounds/unlock.d.ts +4 -0
- package/dist/lib/sounds/unlock.d.ts.map +1 -0
- package/dist/lib/sounds/unlock.js +41 -0
- package/dist/lib/sounds/unlock.js.map +1 -0
- package/dist/lib/sounds/warning.d.ts +4 -0
- package/dist/lib/sounds/warning.d.ts.map +1 -0
- package/dist/lib/sounds/warning.js +29 -0
- package/dist/lib/sounds/warning.js.map +1 -0
- package/dist/lib/sounds/whisper.d.ts +4 -0
- package/dist/lib/sounds/whisper.d.ts.map +1 -0
- package/dist/lib/sounds/whisper.js +27 -0
- package/dist/lib/sounds/whisper.js.map +1 -0
- package/dist/lib/text-shimmer.d.ts +6 -0
- package/dist/lib/text-shimmer.d.ts.map +1 -1
- package/dist/lib/text-shimmer.js +7 -1
- package/dist/lib/text-shimmer.js.map +1 -1
- package/dist/lib/tick-sound.d.ts.map +1 -1
- package/dist/lib/tick-sound.js +8 -11
- package/dist/lib/tick-sound.js.map +1 -1
- package/dist/lib/touch.d.ts +10 -10
- package/dist/lib/touch.js +10 -10
- package/dist/lib/touch.js.map +1 -1
- package/dist/listbox-panel-BX74YCzI.d.ts +31 -0
- package/dist/listbox-panel-BX74YCzI.d.ts.map +1 -0
- package/dist/menu-button-CbEYps6k.d.ts +29 -0
- package/dist/menu-button-CbEYps6k.d.ts.map +1 -0
- package/dist/menu-sub-button-NgS4JryG.d.ts +25 -0
- package/dist/menu-sub-button-NgS4JryG.d.ts.map +1 -0
- package/dist/messages-D0lxgjNm.d.ts +31 -0
- package/dist/messages-D0lxgjNm.d.ts.map +1 -0
- package/dist/{model-Cqi9KKo1.d.ts → model-CHHE1lHQ.d.ts} +5 -1
- package/dist/{model-Cqi9KKo1.d.ts.map → model-CHHE1lHQ.d.ts.map} +1 -1
- package/dist/{model-DP6FsG__.d.ts → model-D6sI_4m9.d.ts} +5 -1
- package/dist/model-D6sI_4m9.d.ts.map +1 -0
- package/dist/{model-B_LLKNOs.d.ts → model-DUQnYLRU.d.ts} +3 -1
- package/dist/model-DUQnYLRU.d.ts.map +1 -0
- package/dist/{model-Cbzktxjx.d.ts → model-Dafi-gx6.d.ts} +2 -1
- package/dist/model-Dafi-gx6.d.ts.map +1 -0
- package/dist/motion-1TeD2tw9.js +67 -0
- package/dist/motion-1TeD2tw9.js.map +1 -0
- package/dist/placement-BRE79jXm.d.ts +4 -0
- package/dist/placement-BRE79jXm.d.ts.map +1 -0
- package/dist/placement-Cg-Y5tLI.js +74 -0
- package/dist/placement-Cg-Y5tLI.js.map +1 -0
- package/dist/{plot-B2aPWHib.js → plot-CSTtMo6j.js} +3 -3
- package/dist/{plot-B2aPWHib.js.map → plot-CSTtMo6j.js.map} +1 -1
- package/dist/popover-morph-CWb4N9ux.d.ts +55 -0
- package/dist/popover-morph-CWb4N9ux.d.ts.map +1 -0
- package/dist/{positioner-DY1vB4rF.js → positioner-CFR4mJg6.js} +112 -4
- package/dist/positioner-CFR4mJg6.js.map +1 -0
- package/dist/resource-row-DByzjie0.js +290 -0
- package/dist/resource-row-DByzjie0.js.map +1 -0
- package/dist/root-C1n8-uIA.js +420 -0
- package/dist/root-C1n8-uIA.js.map +1 -0
- package/dist/{use-inspection-DWk6TdY9.js → scale-JwdKsMkj.js} +2 -55
- package/dist/scale-JwdKsMkj.js.map +1 -0
- package/dist/theme.css +98 -4
- package/dist/{tooltip-UI0lMGya.d.ts → tooltip-CoAbjn9I.d.ts} +9 -1
- package/dist/tooltip-CoAbjn9I.d.ts.map +1 -0
- package/dist/{tooltip-CJccRGy9.d.ts → tooltip-CwsBzl7m.d.ts} +12 -3
- package/dist/tooltip-CwsBzl7m.d.ts.map +1 -0
- package/dist/{tooltip-CMtIWcUY.d.ts → tooltip-DI79u-1V.d.ts} +11 -2
- package/dist/tooltip-DI79u-1V.d.ts.map +1 -0
- package/dist/{tooltip-jQICwV_k.d.ts → tooltip-DPci40hM.d.ts} +9 -1
- package/dist/tooltip-DPci40hM.d.ts.map +1 -0
- package/dist/{tooltip-DuPE_3Gi.d.ts → tooltip-TdY1OH4j.d.ts} +9 -2
- package/dist/tooltip-TdY1OH4j.d.ts.map +1 -0
- package/dist/{tooltip-BUkacvMl.js → tooltip-eecPhLtC.js} +106 -48
- package/dist/tooltip-eecPhLtC.js.map +1 -0
- package/dist/types-BhZ0FwDi.d.ts +33 -0
- package/dist/types-BhZ0FwDi.d.ts.map +1 -0
- package/dist/types-BnHpfLje.d.ts +111 -0
- package/dist/types-BnHpfLje.d.ts.map +1 -0
- package/dist/types-COoUai3R.d.ts +64 -0
- package/dist/types-COoUai3R.d.ts.map +1 -0
- package/dist/{types-DJ8z6gW8.d.ts → types-CbBZy33k.d.ts} +3 -1
- package/dist/{types-DJ8z6gW8.d.ts.map → types-CbBZy33k.d.ts.map} +1 -1
- package/dist/{types-C_v1N4fH.d.ts → types-ClKnPGuP.d.ts} +18 -4
- package/dist/types-ClKnPGuP.d.ts.map +1 -0
- package/dist/types-DPKILbI9.d.ts +37 -0
- package/dist/types-DPKILbI9.d.ts.map +1 -0
- package/dist/types-Dbiy485_.d.ts +114 -0
- package/dist/types-Dbiy485_.d.ts.map +1 -0
- package/dist/types-DtUnNprK.d.ts +53 -0
- package/dist/types-DtUnNprK.d.ts.map +1 -0
- package/dist/{use-crash-game-DiGujbfH.d.ts → use-crash-game-C6JPLvAH.d.ts} +5 -2
- package/dist/{use-crash-game-DiGujbfH.d.ts.map → use-crash-game-C6JPLvAH.d.ts.map} +1 -1
- package/dist/use-filtered-options-3TcVsHzV.js +167 -0
- package/dist/use-filtered-options-3TcVsHzV.js.map +1 -0
- package/dist/use-filtered-options-BbXqmJmZ.d.ts +14 -0
- package/dist/use-filtered-options-BbXqmJmZ.d.ts.map +1 -0
- package/dist/use-inspection-LoyxxJk8.js +31 -0
- package/dist/use-inspection-LoyxxJk8.js.map +1 -0
- package/dist/use-menu-navigation-B17_iK_B.js +57 -0
- package/dist/use-menu-navigation-B17_iK_B.js.map +1 -0
- package/dist/{use-position-B1lYvN8D.d.ts → use-position-ac-sSZRY.d.ts} +3 -1
- package/dist/use-position-ac-sSZRY.d.ts.map +1 -0
- package/dist/use-width-DZex74TT.js +45 -0
- package/dist/use-width-DZex74TT.js.map +1 -0
- package/dist/utils-f7_cAAwc.js +55 -0
- package/dist/utils-f7_cAAwc.js.map +1 -0
- package/package.json +23 -18
- package/dist/components/agents/agent-activity/index.d.ts.map +0 -1
- package/dist/components/agents/agent-activity/index.js.map +0 -1
- package/dist/components/agents/approval-card/index.d.ts.map +0 -1
- package/dist/components/agents/approval-card/index.js.map +0 -1
- package/dist/components/motion/animated-sidebar.js.map +0 -1
- package/dist/components/motion/animated-toast-stack.d.ts.map +0 -1
- package/dist/components/motion/animated-toast-stack.js.map +0 -1
- package/dist/components/motion/availability-scheduler/index.d.ts.map +0 -1
- package/dist/components/motion/availability-scheduler/index.js.map +0 -1
- package/dist/components/motion/button/index.js +0 -6
- package/dist/components/motion/popover-morph.d.ts.map +0 -1
- package/dist/components/motion/table/index.d.ts.map +0 -1
- package/dist/components/motion/table/index.js.map +0 -1
- package/dist/components/motion/wallet-card/index.d.ts.map +0 -1
- package/dist/components/motion/wallet-card/index.js.map +0 -1
- package/dist/constants-CggcOqef.js.map +0 -1
- package/dist/context-B5NItr9C.d.ts.map +0 -1
- package/dist/context-BEYROlTB.d.ts.map +0 -1
- package/dist/context-BLjAwZ5V.js.map +0 -1
- package/dist/context-BpHX6J1T.js.map +0 -1
- package/dist/context-BrGWrRwa.d.ts.map +0 -1
- package/dist/context-C1Z_5vew.d.ts.map +0 -1
- package/dist/context-C5DO1oe1.js.map +0 -1
- package/dist/context-C8M88I1F.js.map +0 -1
- package/dist/context-CgRa89Bq.d.ts.map +0 -1
- package/dist/context-CmexbpIK.js.map +0 -1
- package/dist/context-Cr2SLhVi.js.map +0 -1
- package/dist/context-CwSk1WZR.js.map +0 -1
- package/dist/context-DWHy9EUW.js.map +0 -1
- package/dist/context-Dae38FV_.js.map +0 -1
- package/dist/context-r3QNWoPh.js.map +0 -1
- package/dist/copy-menu-BizTEv8v.js.map +0 -1
- package/dist/crash-parts-Dg5WC8u4.js.map +0 -1
- package/dist/ease-DnPhwGe6.d.ts.map +0 -1
- package/dist/model-B_LLKNOs.d.ts.map +0 -1
- package/dist/model-Cbzktxjx.d.ts.map +0 -1
- package/dist/model-DP6FsG__.d.ts.map +0 -1
- package/dist/positioner-DY1vB4rF.js.map +0 -1
- package/dist/tooltip-BUkacvMl.js.map +0 -1
- package/dist/tooltip-CJccRGy9.d.ts.map +0 -1
- package/dist/tooltip-CMtIWcUY.d.ts.map +0 -1
- package/dist/tooltip-DuPE_3Gi.d.ts.map +0 -1
- package/dist/tooltip-UI0lMGya.d.ts.map +0 -1
- package/dist/tooltip-jQICwV_k.d.ts.map +0 -1
- package/dist/types-C1WFGMvf.d.ts +0 -34
- package/dist/types-C1WFGMvf.d.ts.map +0 -1
- package/dist/types-C_v1N4fH.d.ts.map +0 -1
- package/dist/types-DROZkngo.d.ts +0 -20
- package/dist/types-DROZkngo.d.ts.map +0 -1
- package/dist/use-active-option-DbxnIM2n.js +0 -85
- package/dist/use-active-option-DbxnIM2n.js.map +0 -1
- package/dist/use-inspection-DWk6TdY9.js.map +0 -1
- package/dist/use-position-B1lYvN8D.d.ts.map +0 -1
- package/dist/use-width-Dmy1eT1-.js +0 -23
- package/dist/use-width-Dmy1eT1-.js.map +0 -1
|
@@ -2,7 +2,9 @@ import { ReactNode } from "react";
|
|
|
2
2
|
import { t as TableMessages } from "./messages-Dyou6PVt.js";
|
|
3
3
|
type SortDirection = "asc" | "desc";
|
|
4
4
|
type SortState = {
|
|
5
|
+
/** `key` of the column the rows are sorted by. */
|
|
5
6
|
key: string;
|
|
7
|
+
/** Sort order: `asc` for smallest first, `desc` for largest first. */
|
|
6
8
|
direction: SortDirection;
|
|
7
9
|
};
|
|
8
10
|
type TableColumn<T> = {
|
|
@@ -25,25 +27,35 @@ type TableColumn<T> = {
|
|
|
25
27
|
};
|
|
26
28
|
type InsertPosition = "before" | "after";
|
|
27
29
|
interface TableProps<T> {
|
|
30
|
+
/** Rows to display, one object per row. */
|
|
28
31
|
data: T[];
|
|
32
|
+
/** Column definitions, in display order. */
|
|
29
33
|
columns: TableColumn<T>[];
|
|
30
34
|
/** Stable id per row, required for correct selection across sorts. Defaults to row index. */
|
|
31
35
|
getRowId?: (row: T, index: number) => string;
|
|
32
36
|
/** Render a leading checkbox column with select-all in the header. */
|
|
33
37
|
selectable?: boolean;
|
|
38
|
+
/** Ids of the selected rows, for controlled use. */
|
|
34
39
|
selectedRowIds?: string[];
|
|
40
|
+
/** Ids of the rows selected at first when uncontrolled. */
|
|
35
41
|
defaultSelectedRowIds?: string[];
|
|
42
|
+
/** Called with the selected row ids when the selection changes. */
|
|
36
43
|
onSelectionChange?: (ids: string[]) => void;
|
|
44
|
+
/** The active sort, or null for none, for controlled use. */
|
|
37
45
|
sort?: SortState | null;
|
|
46
|
+
/** The initial sort when uncontrolled. Default: null */
|
|
38
47
|
defaultSort?: SortState | null;
|
|
48
|
+
/** Called with the new sort when a header click cycles asc, desc, then none. */
|
|
39
49
|
onSortChange?: (sort: SortState | null) => void;
|
|
40
50
|
/** Allow dragging the right edge of a header to resize that column. */
|
|
41
51
|
resizable?: boolean;
|
|
42
52
|
/** Minimum column width in px when resizing. */
|
|
43
53
|
minColumnWidth?: number;
|
|
54
|
+
/** Called with the column key and its new width in px when a resize drag ends. */
|
|
44
55
|
onColumnResize?: (key: string, width: number) => void;
|
|
45
56
|
/** Allow dragging a header grip to reorder columns. */
|
|
46
57
|
reorderable?: boolean;
|
|
58
|
+
/** Called with the column keys in their new order after a reorder drop. */
|
|
47
59
|
onColumnOrderChange?: (keys: string[]) => void;
|
|
48
60
|
/** Called when an `editable` cell changes. */
|
|
49
61
|
onCellEdit?: (rowId: string, columnKey: string, value: string) => void;
|
|
@@ -57,21 +69,23 @@ interface TableProps<T> {
|
|
|
57
69
|
onInsertColumn?: (index: number, position: InsertPosition) => void;
|
|
58
70
|
/** Enables Delete in the column menu. */
|
|
59
71
|
onDeleteColumn?: (columnKey: string, index: number) => void;
|
|
60
|
-
/** Fixed row height in px
|
|
72
|
+
/** Fixed row height in px - required for virtualization. */
|
|
61
73
|
rowHeight?: number;
|
|
62
74
|
/** Scroll viewport height in px. */
|
|
63
75
|
height?: number;
|
|
64
76
|
/** Rows rendered above/below the viewport. */
|
|
65
77
|
overscan?: number;
|
|
66
|
-
/** Fires when the viewport scrolls near the bottom
|
|
78
|
+
/** Fires when the viewport scrolls near the bottom - load the next page. */
|
|
67
79
|
onEndReached?: () => void;
|
|
68
|
-
/** Currently fetching
|
|
80
|
+
/** Currently fetching - shows skeleton rows and pauses `onEndReached`. */
|
|
69
81
|
loading?: boolean;
|
|
70
82
|
/** How many skeleton rows to show while loading more (default 3). */
|
|
71
83
|
skeletonRows?: number;
|
|
84
|
+
/** Shown in place of rows when `data` is empty. Default: "No data" */
|
|
72
85
|
emptyState?: ReactNode;
|
|
73
86
|
/** Override any built-in string. `{row}` and `{column}` fill the per-row and per-column labels. */
|
|
74
87
|
labels?: Partial<TableMessages>;
|
|
88
|
+
/** Classes merged onto the root element. */
|
|
75
89
|
className?: string;
|
|
76
90
|
}
|
|
77
91
|
/** Ref map from column key to its header cell, shared across the resize/reorder hooks. */
|
|
@@ -79,4 +93,4 @@ type HeaderCellRefs = {
|
|
|
79
93
|
current: Record<string, HTMLTableCellElement | null>;
|
|
80
94
|
};
|
|
81
95
|
export { TableColumn as a, SortState as i, InsertPosition as n, TableProps as o, SortDirection as r, HeaderCellRefs as t };
|
|
82
|
-
//# sourceMappingURL=types-
|
|
96
|
+
//# sourceMappingURL=types-ClKnPGuP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-ClKnPGuP.d.ts","names":[],"sources":["../src/components/motion/table/types.ts"],"mappings":";;KAMY;KAEA;;EAEV;;EAEA,WAAW;;KAGD,YAAY;;EAEtB;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;;EAEA,QAAQ,KAAK,MAAM;;EAEnB;;EAEA,aAAa,KAAK;;KAGR;UAEK,WAAW;;EAE1B,MAAM;;EAEN,SAAS,YAAY;;EAErB,YAAY,KAAK,GAAG;;EAEpB;;EAEA;;EAEA;;EAEA,qBAAqB;;EAErB,OAAO;;EAEP,cAAc;;EAEd,gBAAgB,MAAM;;EAEtB;;EAEA;;EAEA,kBAAkB,aAAa;;EAE/B;;EAEA,uBAAuB;;EAEvB,cAAc,eAAe,mBAAmB;;EAEhD,kBAAkB,mBAAmB;;EAErC,eAAe,eAAe,UAAU;;EAExC,eAAe,eAAe;;EAE9B,kBAAkB,eAAe,UAAU;;EAE3C,kBAAkB,mBAAmB;;EAErC;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,aAAa;;EAEb,SAAS,QAAQ;;EAEjB;;;KAOU;EACV,SAAS,eAAe"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type AttachmentUploadKind = "file" | "link" | "image" | "audio";
|
|
2
|
+
type AttachmentRejectReason = "too-large" | "max-files";
|
|
3
|
+
type AttachmentUploadStatus = "idle" | "uploading" | "complete" | "failed";
|
|
4
|
+
type AttachmentUploadItem = {
|
|
5
|
+
/** Unique key for the row in the list. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** File or link name shown on the row and used in its labels. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Row type: picks the icon, image thumbnail or audio player. */
|
|
10
|
+
kind: AttachmentUploadKind;
|
|
11
|
+
/** File size in bytes, shown under the name. Hidden for links. */
|
|
12
|
+
size?: number;
|
|
13
|
+
/** Link opened by the row's open button; also the image source without `previewUrl`. */
|
|
14
|
+
href?: string;
|
|
15
|
+
/** Image used for the thumbnail and preview dialog of an `image` row. */
|
|
16
|
+
previewUrl?: string;
|
|
17
|
+
/** Audio playback position in seconds, shown and filled on the waveform. */
|
|
18
|
+
currentTime?: number;
|
|
19
|
+
/** Audio length in seconds, shown after the waveform. */
|
|
20
|
+
duration?: number;
|
|
21
|
+
/** Upload state; `uploading`, `complete` and `failed` change the row. */
|
|
22
|
+
status?: AttachmentUploadStatus;
|
|
23
|
+
/** Message shown when the status is `failed`. Default: "Upload failed" */
|
|
24
|
+
error?: string;
|
|
25
|
+
/** The picked File, kept for your upload code; the component does not read it. */
|
|
26
|
+
file?: File;
|
|
27
|
+
};
|
|
28
|
+
type AttachmentUploadClassNames = {
|
|
29
|
+
/** The drop area, a button that also opens the file picker. */
|
|
30
|
+
dropzone?: string;
|
|
31
|
+
/** The list of attachment rows. */
|
|
32
|
+
list?: string;
|
|
33
|
+
/** Each attachment row. */
|
|
34
|
+
row?: string;
|
|
35
|
+
};
|
|
36
|
+
export { AttachmentUploadStatus as a, AttachmentUploadKind as i, AttachmentUploadClassNames as n, AttachmentUploadItem as r, AttachmentRejectReason as t };
|
|
37
|
+
//# sourceMappingURL=types-DPKILbI9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DPKILbI9.d.ts","names":[],"sources":["../src/components/motion/attachment-upload/types.ts"],"mappings":"A,KAEY;KACA;KACA;KAEA;;EAEV;;EAEA;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;EAEA,OAAO;;KAGG;;EAEV;;EAEA;;EAEA"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
declare const aiSidebarMessages: {
|
|
3
|
+
label: string;
|
|
4
|
+
rename: string;
|
|
5
|
+
renameItem: string;
|
|
6
|
+
actions: string;
|
|
7
|
+
moveUp: string;
|
|
8
|
+
moveDown: string;
|
|
9
|
+
moveInto: string;
|
|
10
|
+
moveOut: string;
|
|
11
|
+
moveToTop: string;
|
|
12
|
+
movePending: string;
|
|
13
|
+
movedBefore: string;
|
|
14
|
+
movedInside: string;
|
|
15
|
+
movedAfter: string;
|
|
16
|
+
movedToTop: string;
|
|
17
|
+
moveFailed: string;
|
|
18
|
+
renameFailed: string;
|
|
19
|
+
unnamedItem: string;
|
|
20
|
+
};
|
|
21
|
+
type AISidebarMessages = typeof aiSidebarMessages;
|
|
22
|
+
type Translate = (key: keyof AISidebarMessages, values?: Record<string, string | number>) => string;
|
|
23
|
+
type SidebarResourceKind = "folder" | "project" | "file" | "bookmark";
|
|
24
|
+
interface SidebarResource {
|
|
25
|
+
/** Unique key for the row, used for selection, expansion and moves. */
|
|
26
|
+
id: string;
|
|
27
|
+
/** Name shown in the row and edited on rename. */
|
|
28
|
+
label: string;
|
|
29
|
+
/** Picks the row icon; folders and projects can hold children. */
|
|
30
|
+
kind: SidebarResourceKind;
|
|
31
|
+
/** Nested rows shown when a folder or project is expanded. */
|
|
32
|
+
children?: SidebarResource[];
|
|
33
|
+
/** Dims the row and blocks selecting, renaming, dragging and dropping into it. */
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
type SidebarResourceDropPosition = "before" | "inside" | "after";
|
|
37
|
+
interface SidebarResourceMove {
|
|
38
|
+
/** Id of the row being moved. */
|
|
39
|
+
itemId: string;
|
|
40
|
+
/** Id of the row it lands next to or inside, or null for the end of the root. */
|
|
41
|
+
targetId: string | null;
|
|
42
|
+
/** Where the row lands relative to the target. */
|
|
43
|
+
position: SidebarResourceDropPosition;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The moves this row can make right now, the same four the keyboard offers on
|
|
47
|
+
* `Alt+Shift+Arrow`. A pointer drag is the fast path for them; a finger has no
|
|
48
|
+
* drag to give, so the row menu carries them too. Absent keys are moves this
|
|
49
|
+
* row cannot make from where it sits.
|
|
50
|
+
*/
|
|
51
|
+
interface SidebarResourceMoveCommands {
|
|
52
|
+
/** Moves the row above the row before it. */
|
|
53
|
+
up?: () => void;
|
|
54
|
+
/** Moves the row below the row after it. */
|
|
55
|
+
down?: () => void;
|
|
56
|
+
/** Moves the row into the folder or project above it, named by `label`. */
|
|
57
|
+
into?: {
|
|
58
|
+
label: string;
|
|
59
|
+
run: () => void;
|
|
60
|
+
};
|
|
61
|
+
/** Moves the row out of its parent, just after it. */
|
|
62
|
+
out?: () => void;
|
|
63
|
+
}
|
|
64
|
+
interface SidebarResourceMenuControls {
|
|
65
|
+
/** Closes the row menu. */
|
|
66
|
+
close: () => void;
|
|
67
|
+
/** Closes the menu and starts renaming the row in place. */
|
|
68
|
+
rename: () => void;
|
|
69
|
+
/** The moves this row can make right now. */
|
|
70
|
+
moves: SidebarResourceMoveCommands;
|
|
71
|
+
}
|
|
72
|
+
interface AISidebarProps {
|
|
73
|
+
/** The resource tree, for controlled use. */
|
|
74
|
+
items?: SidebarResource[];
|
|
75
|
+
/** The initial resource tree when uncontrolled. */
|
|
76
|
+
defaultItems?: SidebarResource[];
|
|
77
|
+
/** Called with the new tree after a move, rename or rollback. */
|
|
78
|
+
onItemsChange?: (items: SidebarResource[]) => void;
|
|
79
|
+
/** Reject the promise to roll the optimistic move back. */
|
|
80
|
+
onMove?: (move: SidebarResourceMove) => void | Promise<void>;
|
|
81
|
+
/** Called with the error and the move when `onMove` rejects. */
|
|
82
|
+
onMoveError?: (error: unknown, move: SidebarResourceMove) => void;
|
|
83
|
+
/** Called with the item and trimmed new label. Reject to roll it back. */
|
|
84
|
+
onRename?: (item: SidebarResource, label: string) => void | Promise<void>;
|
|
85
|
+
/** Id of the selected row, for controlled use. */
|
|
86
|
+
activeId?: string | null;
|
|
87
|
+
/** Id of the initially selected row when uncontrolled. Default: null */
|
|
88
|
+
defaultActiveId?: string | null;
|
|
89
|
+
/** Called with the row's id when a row is selected. */
|
|
90
|
+
onActiveChange?: (id: string) => void;
|
|
91
|
+
/** Ids of folders and projects that start expanded. */
|
|
92
|
+
defaultExpandedIds?: string[];
|
|
93
|
+
/** Renders a row's icon in place of the built-in kind icon. */
|
|
94
|
+
renderIcon?: (item: SidebarResource) => ReactNode;
|
|
95
|
+
/** Renders a row's actions menu, with controls to close, rename and move. */
|
|
96
|
+
renderMenu?: (item: SidebarResource, controls: SidebarResourceMenuControls) => ReactNode;
|
|
97
|
+
/** Accessible name for the tree. Default: "Resources" */
|
|
98
|
+
ariaLabel?: string;
|
|
99
|
+
/** Classes merged onto the tree element. */
|
|
100
|
+
className?: string;
|
|
101
|
+
/** Override any built-in string. */
|
|
102
|
+
labels?: Partial<AISidebarMessages>;
|
|
103
|
+
}
|
|
104
|
+
interface FlatResource {
|
|
105
|
+
item: SidebarResource;
|
|
106
|
+
depth: number;
|
|
107
|
+
parentId: string | null;
|
|
108
|
+
}
|
|
109
|
+
interface DropTarget {
|
|
110
|
+
id: string | null;
|
|
111
|
+
position: SidebarResourceDropPosition;
|
|
112
|
+
}
|
|
113
|
+
export { SidebarResourceDropPosition as a, SidebarResourceMove as c, Translate as d, aiSidebarMessages as f, SidebarResource as i, SidebarResourceMoveCommands as l, DropTarget as n, SidebarResourceKind as o, FlatResource as r, SidebarResourceMenuControls as s, AISidebarProps as t, AISidebarMessages as u };
|
|
114
|
+
//# sourceMappingURL=types-Dbiy485_.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-Dbiy485_.d.ts","names":[],"sources":["../src/components/agents/ai-sidebar/messages.ts","../src/components/agents/ai-sidebar/types.ts"],"mappings":";cAEa;;;;;;;;;;;;;;;;;;;KAoBD,2BAA2B;KAE3B,aACV,WAAW,mBACX,SAAS;KCpBC;UAEK;;EAEf;;EAEA;;EAEA,MAAM;;EAEN,WAAW;;EAEX;;KAGU;UAEK;;EAEf;;EAEA;;EAEA,UAAU;;;;;;;;UASK;;EAEf;;EAEA;;EAEA;IAAS;IAAe;;;EAExB;;UAGe;;EAEf;;EAEA;;EAEA,OAAO;;UAGQ;;EAEf,QAAQ;;EAER,eAAe;;EAEf,iBAAiB,OAAO;;EAExB,UAAU,MAAM,+BAA+B;;EAE/C,eAAe,gBAAgB,MAAM;;EAErC,YAAY,MAAM,iBAAiB,yBAAyB;;EAE5D;;EAEA;;EAEA,kBAAkB;;EAElB;;EAEA,cAAc,MAAM,oBAAoB;;EAExC,cAAc,MAAM,iBAAiB,UAAU,gCAAgC;;EAE/E;;EAEA;;EAEA,SAAS,QAAQ;;UAGF;EACf,MAAM;EACN;EACA;;UAGe;EACf;EACA,UAAU"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
type WalletAccount = {
|
|
3
|
+
/** Unique key, used as the active account id and the generated avatar's seed. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Account name shown in the switcher. */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Wallet address, shown shortened in the menu and copied in full. */
|
|
8
|
+
address: string;
|
|
9
|
+
/** Custom avatar. Falls back to a generated image seeded from the id. */
|
|
10
|
+
avatar?: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
interface WalletCardProps {
|
|
13
|
+
/** Accounts listed in the switcher. */
|
|
14
|
+
accounts: WalletAccount[];
|
|
15
|
+
/** The active account id, for controlled use. */
|
|
16
|
+
accountId?: string;
|
|
17
|
+
/** The initial account id when uncontrolled. Defaults to the first account. */
|
|
18
|
+
defaultAccountId?: string;
|
|
19
|
+
/** Called with the account id when the user picks an account. */
|
|
20
|
+
onAccountChange?: (id: string) => void;
|
|
21
|
+
/** Balance amount, shown with 2 decimals. */
|
|
22
|
+
balance: number;
|
|
23
|
+
/** Text placed before the balance and change amounts. Default: "$" */
|
|
24
|
+
balancePrefix?: string;
|
|
25
|
+
/** Initial balance change shown in the pill before any live change. */
|
|
26
|
+
defaultChange?: number;
|
|
27
|
+
/** Start with the balance hidden behind dots. */
|
|
28
|
+
defaultBalanceHidden?: boolean;
|
|
29
|
+
/** Called when the Send action is pressed. */
|
|
30
|
+
onSend?: () => void;
|
|
31
|
+
/** Called when the Deposit action is pressed. */
|
|
32
|
+
onDeposit?: () => void;
|
|
33
|
+
/** Called when the Swap action is pressed. */
|
|
34
|
+
onSwap?: () => void;
|
|
35
|
+
/** Called when the Buy action is pressed. */
|
|
36
|
+
onBuy?: () => void;
|
|
37
|
+
/** Placeholder for the search input. Defaults to the `searchPlaceholder` label. */
|
|
38
|
+
searchPlaceholder?: string;
|
|
39
|
+
/** Recent searches shown in the expanded search panel. */
|
|
40
|
+
searchRecent?: string[];
|
|
41
|
+
/** Called with the search text as the user types or picks a recent search. */
|
|
42
|
+
onSearchChange?: (value: string) => void;
|
|
43
|
+
/** Called with the trimmed query on Enter, or with a picked recent search. */
|
|
44
|
+
onSearchSubmit?: (value: string) => void;
|
|
45
|
+
/** Show an unread pulse on the notifications bell. */
|
|
46
|
+
hasNotifications?: boolean;
|
|
47
|
+
/** Called when the notifications bell is pressed. */
|
|
48
|
+
onNotifications?: () => void;
|
|
49
|
+
/** Classes merged onto the root element. */
|
|
50
|
+
className?: string;
|
|
51
|
+
}
|
|
52
|
+
export { WalletCardProps as n, WalletAccount as t };
|
|
53
|
+
//# sourceMappingURL=types-DtUnNprK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DtUnNprK.d.ts","names":[],"sources":["../src/components/motion/wallet-card/types.ts"],"mappings":";KAIY;;EAEV;;EAEA;;EAEA;;EAEA,SAAS;;UAGM;;EAEf,UAAU;;EAEV;;EAEA;;EAEA,mBAAmB;;EAEnB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,kBAAkB;;EAElB,kBAAkB;;EAElB;;EAEA;;EAEA"}
|
|
@@ -98,12 +98,15 @@ interface CrashProps {
|
|
|
98
98
|
"aria-label"?: string;
|
|
99
99
|
/** Override built-in text for this instance. */
|
|
100
100
|
labels?: Partial<CrashMessages>;
|
|
101
|
+
/** Classes merged onto the root element. */
|
|
101
102
|
className?: string;
|
|
102
103
|
}
|
|
103
104
|
type CrashPhase = "idle" | "starting" | "running" | "crashed";
|
|
104
105
|
/** A live round's crash point, tagged with the round `onStart` was given. */
|
|
105
106
|
interface CrashReveal {
|
|
107
|
+
/** Round number from `onStart`; a reveal for any other round is ignored. */
|
|
106
108
|
round: number;
|
|
109
|
+
/** Multiplier the round crashes at, such as 2.5 for 2.5×. */
|
|
107
110
|
value: number;
|
|
108
111
|
}
|
|
109
112
|
/**
|
|
@@ -153,8 +156,8 @@ declare function useCrashGame({ autoCashOut: autoProp, defaultAutoCashOut, onAut
|
|
|
153
156
|
status: string;
|
|
154
157
|
announcement: string;
|
|
155
158
|
/** The game's built-in text, resolved for the current locale and `labels`. */
|
|
156
|
-
text: (key: "
|
|
159
|
+
text: (key: "region" | "auto" | "result" | "start" | "sound" | "starting" | "recentCrashes" | "recentEmpty" | "autoOff" | "cashOut" | "crashing" | "skip" | "waiting" | "playAgain" | "stateReady" | "stateStarting" | "stateFlying" | "stateCashedOut" | "stateCrashed" | "statusIdle" | "statusFlying" | "statusAuto" | "statusCloseCall" | "statusFlewOn" | "statusShort" | "statusStillIn" | "cashedBadge" | "announceStarting" | "announceStarted" | "announceStartedAuto" | "announceStartFailed" | "announceCashedOut" | "announceCrashed" | "announceLost" | "hideResult" | "crashedAt" | "flight" | "seconds" | "oddsBeaten" | "odds" | "leftAt" | "autoTarget" | "autoMark" | "targetMark" | "targetMarkValue" | "lastMark" | "targetMarkTower", values?: Record<string, string | number>) => string;
|
|
157
160
|
};
|
|
158
161
|
type CrashGame = ReturnType<typeof useCrashGame>;
|
|
159
162
|
export { crashPoint as i, CrashProps as n, CrashReveal as r, CrashGame as t };
|
|
160
|
-
//# sourceMappingURL=use-crash-game-
|
|
163
|
+
//# sourceMappingURL=use-crash-game-C6JPLvAH.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-crash-game-
|
|
1
|
+
{"version":3,"file":"use-crash-game-C6JPLvAH.d.ts","names":[],"sources":["../src/components/motion/crash/messages.ts","../src/components/motion/crash/use-crash-game.ts"],"mappings":"A,cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkDD,uBAAuB;UCxBlB;;EAEf;;EAEA;;EAEA,uBAAuB;;;;;;;;;EASvB,+BAA+B;;;;;;;;;;;;;;EAc/B,UAAU;;EAEV,WAAW;;;;;;EAMX,aAAa;;EAEb,WAAW,oBAAoB;;EAE/B;;EAEA;;EAEA,iBAAiB;;EAEjB;;EAEA,SAAS,QAAQ;;EAEjB;;KAGU;;UAGK;;EAEf;;EAEA;;;;;;;;;iBAoBc,WAAW,uBAAoC;iBAuC/C,eACd,aAAa,UACb,oBACA,qBACA,eACA,SACA,SACA,WACA,SACA,OACA,cACA,eACA,UACC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;IAiBuC;IAAe;;;;;;;;;;;;;;;;KA+YlD,YAAY,kBAAkB"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
2
|
+
// src/components/motion/combobox/use-active-option.ts
|
|
3
|
+
const isEnabled = (enabledItems, candidate) => candidate !== void 0 && enabledItems.some((i) => i.value === candidate);
|
|
4
|
+
/**
|
|
5
|
+
* The cursor's option, or null once the query or the result set it was placed
|
|
6
|
+
* in has changed. A cursor that outlived either would steal Enter from the row
|
|
7
|
+
* the user is aiming at. The result-set half costs something: a live search
|
|
8
|
+
* that blanks its rows while fetching and returns the same ones loses the moved
|
|
9
|
+
* highlight. That is deliberate - a highlight visibly back at the top beats one
|
|
10
|
+
* silently in the wrong place.
|
|
11
|
+
*
|
|
12
|
+
* It is stamped with the query rather than with the identity of the visible
|
|
13
|
+
* list because callers routinely pass an inline `filter`, which makes that list
|
|
14
|
+
* a fresh array on every render.
|
|
15
|
+
*/
|
|
16
|
+
function liveCursorValue(cursor, options) {
|
|
17
|
+
if (cursor === null || cursor.query !== options.query) return null;
|
|
18
|
+
return isEnabled(options.enabledItems, cursor.value) ? cursor.value : null;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Where the highlight sits with no live cursor: the selection if it can be
|
|
22
|
+
* selected, otherwise the first option that can. Only enabled options qualify -
|
|
23
|
+
* an active disabled option would point `aria-activedescendant` at a row Enter
|
|
24
|
+
* then refuses to select.
|
|
25
|
+
*/
|
|
26
|
+
function fallbackActive({ value, enabledItems }) {
|
|
27
|
+
return isEnabled(enabledItems, value) ? value : enabledItems[0]?.value ?? null;
|
|
28
|
+
}
|
|
29
|
+
/** The active option, from a cursor that may or may not still be live. */
|
|
30
|
+
const resolveActive = (cursor, options) => liveCursorValue(cursor, options) ?? fallbackActive(options);
|
|
31
|
+
function useActiveOption({ open, ...options }) {
|
|
32
|
+
const { query, value, enabledItems } = options;
|
|
33
|
+
const [cursor, setCursor] = useState(null);
|
|
34
|
+
const live = liveCursorValue(cursor, options);
|
|
35
|
+
if (cursor !== null && live === null) setCursor(null);
|
|
36
|
+
const derived = live ?? fallbackActive(options);
|
|
37
|
+
const [opened, setOpened] = useState(open);
|
|
38
|
+
if (open && !opened) setOpened(true);
|
|
39
|
+
const activeValue = opened ? derived : null;
|
|
40
|
+
const latest = useRef({
|
|
41
|
+
open,
|
|
42
|
+
query,
|
|
43
|
+
value,
|
|
44
|
+
enabledItems
|
|
45
|
+
});
|
|
46
|
+
useLayoutEffect(() => {
|
|
47
|
+
latest.current = {
|
|
48
|
+
open,
|
|
49
|
+
query,
|
|
50
|
+
value,
|
|
51
|
+
enabledItems
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
return {
|
|
55
|
+
activeValue,
|
|
56
|
+
setActiveValue: useCallback((next) => {
|
|
57
|
+
setCursor(next === null ? null : {
|
|
58
|
+
value: next,
|
|
59
|
+
query: latest.current.query
|
|
60
|
+
});
|
|
61
|
+
}, []),
|
|
62
|
+
moveActive: useCallback((direction) => {
|
|
63
|
+
const options = latest.current;
|
|
64
|
+
if (!options.open) return;
|
|
65
|
+
const rows = options.enabledItems;
|
|
66
|
+
const last = rows.length - 1;
|
|
67
|
+
if (last < 0) {
|
|
68
|
+
setCursor(null);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
setCursor((current) => {
|
|
72
|
+
const from = resolveActive(current, options);
|
|
73
|
+
const at = rows.findIndex((item) => item.value === from);
|
|
74
|
+
const index = direction === "first" ? 0 : direction === "last" ? last : (at + direction + rows.length) % rows.length;
|
|
75
|
+
return {
|
|
76
|
+
value: rows[index].value,
|
|
77
|
+
query: options.query
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
}, [])
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
// src/components/motion/combobox/use-filtered-options.ts
|
|
84
|
+
/** Fuzzy match: the query's characters appear in order in the value or a keyword. */
|
|
85
|
+
const defaultOptionFilter = (value, query, keywords) => {
|
|
86
|
+
const needle = query.trim().toLocaleLowerCase();
|
|
87
|
+
if (!needle) return true;
|
|
88
|
+
const haystack = [value, ...keywords].join(" ").toLocaleLowerCase();
|
|
89
|
+
let queryIndex = 0;
|
|
90
|
+
for (const character of haystack) {
|
|
91
|
+
if (character === needle[queryIndex]) queryIndex += 1;
|
|
92
|
+
if (queryIndex === needle.length) return true;
|
|
93
|
+
}
|
|
94
|
+
return false;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The options a searchable list registers, filtered by its query, with the
|
|
98
|
+
* active option resolved during render and kept scrolled into view. Shared by
|
|
99
|
+
* Combobox and Multi Select, which differ only in what a pick does.
|
|
100
|
+
*/
|
|
101
|
+
function useFilteredOptions({ open, query, value, filter }) {
|
|
102
|
+
const [items, setItems] = useState(/* @__PURE__ */ new Map());
|
|
103
|
+
const registerItem = useCallback((item) => {
|
|
104
|
+
setItems((current) => {
|
|
105
|
+
const existing = current.get(item.value);
|
|
106
|
+
if (existing?.label === item.label && existing.disabled === item.disabled && existing.id === item.id && existing.ref === item.ref && existing.groupId === item.groupId && existing.keywords.join("\0") === item.keywords.join("\0")) return current;
|
|
107
|
+
const next = new Map(current);
|
|
108
|
+
next.set(item.value, item);
|
|
109
|
+
return next;
|
|
110
|
+
});
|
|
111
|
+
}, []);
|
|
112
|
+
const unregisterItem = useCallback((itemValue) => {
|
|
113
|
+
setItems((current) => {
|
|
114
|
+
if (!current.has(itemValue)) return current;
|
|
115
|
+
const next = new Map(current);
|
|
116
|
+
next.delete(itemValue);
|
|
117
|
+
return next;
|
|
118
|
+
});
|
|
119
|
+
}, []);
|
|
120
|
+
const [openQuery, setOpenQuery] = useState(query);
|
|
121
|
+
if (open && openQuery !== query) setOpenQuery(query);
|
|
122
|
+
const listQuery = open ? query : openQuery;
|
|
123
|
+
const visibleItems = useMemo(() => Array.from(items.values()).filter((item) => filter(item.value, listQuery, [item.label, ...item.keywords])), [
|
|
124
|
+
filter,
|
|
125
|
+
items,
|
|
126
|
+
listQuery
|
|
127
|
+
]);
|
|
128
|
+
const enabledVisibleItems = useMemo(() => visibleItems.filter((item) => !item.disabled), [visibleItems]);
|
|
129
|
+
const visibleValues = useMemo(() => new Set(visibleItems.map((item) => item.value)), [visibleItems]);
|
|
130
|
+
const visibleGroupIds = useMemo(() => new Set(visibleItems.map((item) => item.groupId)), [visibleItems]);
|
|
131
|
+
const { activeValue, setActiveValue, moveActive } = useActiveOption({
|
|
132
|
+
open,
|
|
133
|
+
query: listQuery,
|
|
134
|
+
value,
|
|
135
|
+
enabledItems: enabledVisibleItems
|
|
136
|
+
});
|
|
137
|
+
useEffect(() => {
|
|
138
|
+
if (!activeValue || !open) return;
|
|
139
|
+
const item = items.get(activeValue)?.ref.current;
|
|
140
|
+
const list = item?.closest("[role='listbox']");
|
|
141
|
+
if (!item || !list) return;
|
|
142
|
+
const itemRect = item.getBoundingClientRect();
|
|
143
|
+
const listRect = list.getBoundingClientRect();
|
|
144
|
+
if (itemRect.top < listRect.top) list.scrollTop -= listRect.top - itemRect.top;
|
|
145
|
+
else if (itemRect.bottom > listRect.bottom) list.scrollTop += itemRect.bottom - listRect.bottom;
|
|
146
|
+
}, [
|
|
147
|
+
activeValue,
|
|
148
|
+
items,
|
|
149
|
+
open
|
|
150
|
+
]);
|
|
151
|
+
return {
|
|
152
|
+
items,
|
|
153
|
+
registerItem,
|
|
154
|
+
unregisterItem,
|
|
155
|
+
listQuery,
|
|
156
|
+
visibleValues,
|
|
157
|
+
visibleGroupIds,
|
|
158
|
+
visibleCount: visibleItems.length,
|
|
159
|
+
activeValue,
|
|
160
|
+
setActiveValue,
|
|
161
|
+
moveActive,
|
|
162
|
+
activeItemId: activeValue ? items.get(activeValue)?.id : void 0
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
export { useFilteredOptions as n, defaultOptionFilter as t };
|
|
166
|
+
|
|
167
|
+
//# sourceMappingURL=use-filtered-options-3TcVsHzV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-filtered-options-3TcVsHzV.js","names":[],"sources":["../src/components/motion/combobox/use-active-option.ts","../src/components/motion/combobox/use-filtered-options.ts"],"sourcesContent":["\"use client\";\n\nimport { useCallback, useLayoutEffect, useRef, useState } from \"react\";\n\n/**\n * Where the keyboard or the pointer last moved to, stamped with the query it\n * was placed under. Which option is *active* is resolved from this during\n * render, never in an effect: a passive effect runs after the commit, so a list\n * would briefly have none of its options active, and a key arriving in that\n * window would move from nowhere onto the row it was already about to\n * highlight.\n */\ntype ActiveCursor = { value: string; query: string };\n\ntype Options = {\n query: string;\n value: string | undefined;\n /** The enabled, visible options in list order - all this hook reads of them. */\n enabledItems: readonly { value: string }[];\n};\n\nconst isEnabled = (\n enabledItems: Options[\"enabledItems\"],\n candidate: string | undefined,\n): candidate is string =>\n candidate !== undefined && enabledItems.some((i) => i.value === candidate);\n\n/**\n * The cursor's option, or null once the query or the result set it was placed\n * in has changed. A cursor that outlived either would steal Enter from the row\n * the user is aiming at. The result-set half costs something: a live search\n * that blanks its rows while fetching and returns the same ones loses the moved\n * highlight. That is deliberate - a highlight visibly back at the top beats one\n * silently in the wrong place.\n *\n * It is stamped with the query rather than with the identity of the visible\n * list because callers routinely pass an inline `filter`, which makes that list\n * a fresh array on every render.\n */\nfunction liveCursorValue(cursor: ActiveCursor | null, options: Options) {\n if (cursor === null || cursor.query !== options.query) return null;\n return isEnabled(options.enabledItems, cursor.value) ? cursor.value : null;\n}\n\n/**\n * Where the highlight sits with no live cursor: the selection if it can be\n * selected, otherwise the first option that can. Only enabled options qualify -\n * an active disabled option would point `aria-activedescendant` at a row Enter\n * then refuses to select.\n */\nfunction fallbackActive({ value, enabledItems }: Options) {\n return isEnabled(enabledItems, value) ? value : (enabledItems[0]?.value ?? null);\n}\n\n/** The active option, from a cursor that may or may not still be live. */\nconst resolveActive = (cursor: ActiveCursor | null, options: Options) =>\n liveCursorValue(cursor, options) ?? fallbackActive(options);\n\nexport function useActiveOption({ open, ...options }: Options & { open: boolean }) {\n const { query, value, enabledItems } = options;\n const [cursor, setCursor] = useState<ActiveCursor | null>(null);\n\n const live = liveCursorValue(cursor, options);\n // Cleared rather than ignored: React re-runs this render with the cursor\n // gone, so a value that reappears later cannot revive it.\n if (cursor !== null && live === null) setCursor(null);\n const derived = live ?? fallbackActive(options);\n\n // Nothing is active until the list has been opened once. After that the\n // resolution above is already stable across a close - the list keeps\n // filtering by the query it was open with - so the highlight holds its row\n // through the exit without being frozen separately.\n const [opened, setOpened] = useState(open);\n if (open && !opened) setOpened(true);\n const activeValue = opened ? derived : null;\n\n // Both callbacks keep one identity for the life of the component, and read\n // the list through a ref to do it. A caller will put them in a `useMemo` or\n // an effect's dependencies - the exhaustive-deps rule makes it - and\n // `enabledItems` is a fresh array on every render for any consumer passing an\n // inline `filter`, so a callback keyed to it would be rebuilt every render.\n // Written after commit rather than during render: a render React discards\n // still runs the component body, and a handler reading this in that window\n // would step against a list the committed tree does not have.\n const latest = useRef({ open, query, value, enabledItems });\n useLayoutEffect(() => {\n latest.current = { open, query, value, enabledItems };\n });\n\n const setActiveValue = useCallback((next: string | null) => {\n setCursor(next === null ? null : { value: next, query: latest.current.query });\n }, []);\n\n // Steps from the option the cursor really resolves to, inside the update, so\n // that two keys landing in one batch move two rows rather than one.\n const moveActive = useCallback((direction: 1 | -1 | \"first\" | \"last\") => {\n const options = latest.current;\n // While closed the list is still filtering by the query it was open\n // with, so a step taken now would be measured against rows the next\n // render replaces. Opening is the caller's job; stepping waits for it.\n if (!options.open) return;\n const rows = options.enabledItems;\n const last = rows.length - 1;\n if (last < 0) {\n setCursor(null);\n return;\n }\n setCursor((current) => {\n // `resolveActive` always lands on a member of `enabledItems` once the\n // list is non-empty, which the early return above guarantees, so there\n // is always a row to step from.\n const from = resolveActive(current, options);\n const at = rows.findIndex((item) => item.value === from);\n const index =\n direction === \"first\"\n ? 0\n : direction === \"last\"\n ? last\n : (at + direction + rows.length) % rows.length;\n return { value: rows[index].value, query: options.query };\n });\n }, []);\n\n return { activeValue, setActiveValue, moveActive };\n}\n","\"use client\";\n\nimport { type MutableRefObject, useCallback, useEffect, useMemo, useState } from \"react\";\n\nimport { useActiveOption } from \"./use-active-option\";\n\n/** An option as it registers with its list. */\nexport type RegisteredItem = {\n value: string;\n label: string;\n keywords: string[];\n disabled: boolean;\n groupId: string | null;\n id: string;\n ref: MutableRefObject<HTMLButtonElement | null>;\n};\n\nexport type OptionFilter = (value: string, query: string, keywords: string[]) => boolean;\n\n/** Fuzzy match: the query's characters appear in order in the value or a keyword. */\nexport const defaultOptionFilter: OptionFilter = (value, query, keywords) => {\n const needle = query.trim().toLocaleLowerCase();\n if (!needle) return true;\n\n const haystack = [value, ...keywords].join(\" \").toLocaleLowerCase();\n let queryIndex = 0;\n for (const character of haystack) {\n if (character === needle[queryIndex]) queryIndex += 1;\n if (queryIndex === needle.length) return true;\n }\n return false;\n};\n\n/**\n * The options a searchable list registers, filtered by its query, with the\n * active option resolved during render and kept scrolled into view. Shared by\n * Combobox and Multi Select, which differ only in what a pick does.\n */\nexport function useFilteredOptions({\n open,\n query,\n value,\n filter,\n}: {\n open: boolean;\n query: string;\n /** The selected value the cursor starts on when the list opens. */\n value: string | undefined;\n filter: OptionFilter;\n}) {\n const [items, setItems] = useState<Map<string, RegisteredItem>>(new Map());\n\n const registerItem = useCallback((item: RegisteredItem) => {\n setItems((current) => {\n const existing = current.get(item.value);\n if (\n existing?.label === item.label &&\n existing.disabled === item.disabled &&\n existing.id === item.id &&\n existing.ref === item.ref &&\n existing.groupId === item.groupId &&\n existing.keywords.join(\"\\u0000\") === item.keywords.join(\"\\u0000\")\n ) {\n return current;\n }\n const next = new Map(current);\n next.set(item.value, item);\n return next;\n });\n }, []);\n\n const unregisterItem = useCallback((itemValue: string) => {\n setItems((current) => {\n if (!current.has(itemValue)) return current;\n const next = new Map(current);\n next.delete(itemValue);\n return next;\n });\n }, []);\n\n // The query the list filters by. Closing clears `query`, but the panel is\n // still on screen for its exit, so it keeps filtering by the query it was\n // open with rather than repopulating mid-collapse. The input already reads\n // `query` only while open, so nothing the user can see reads the other one.\n const [openQuery, setOpenQuery] = useState(query);\n if (open && openQuery !== query) setOpenQuery(query);\n const listQuery = open ? query : openQuery;\n\n const visibleItems = useMemo(\n () =>\n Array.from(items.values()).filter((item) =>\n filter(item.value, listQuery, [item.label, ...item.keywords]),\n ),\n [filter, items, listQuery],\n );\n const enabledVisibleItems = useMemo(\n () => visibleItems.filter((item) => !item.disabled),\n [visibleItems],\n );\n const visibleValues = useMemo(\n () => new Set(visibleItems.map((item) => item.value)),\n [visibleItems],\n );\n const visibleGroupIds = useMemo(\n () => new Set(visibleItems.map((item) => item.groupId)),\n [visibleItems],\n );\n\n const { activeValue, setActiveValue, moveActive } = useActiveOption({\n open,\n query: listQuery,\n value,\n enabledItems: enabledVisibleItems,\n });\n\n useEffect(() => {\n if (!activeValue || !open) return;\n const item = items.get(activeValue)?.ref.current;\n const list = item?.closest<HTMLElement>(\"[role='listbox']\");\n if (!item || !list) return;\n const itemRect = item.getBoundingClientRect();\n const listRect = list.getBoundingClientRect();\n if (itemRect.top < listRect.top) list.scrollTop -= listRect.top - itemRect.top;\n else if (itemRect.bottom > listRect.bottom) list.scrollTop += itemRect.bottom - listRect.bottom;\n }, [activeValue, items, open]);\n\n return {\n items,\n registerItem,\n unregisterItem,\n listQuery,\n visibleValues,\n visibleGroupIds,\n visibleCount: visibleItems.length,\n activeValue,\n setActiveValue,\n moveActive,\n activeItemId: activeValue ? items.get(activeValue)?.id : undefined,\n };\n}\n"],"mappings":";;AAqBA,MAAM,aACJ,cACA,cAEA,cAAc,KAAA,KAAa,aAAa,MAAM,MAAM,EAAE,UAAU,SAAS;;;;;;;;;;;;;AAc3E,SAAS,gBAAgB,QAA6B,SAAkB;CACtE,IAAI,WAAW,QAAQ,OAAO,UAAU,QAAQ,OAAO,OAAO;CAC9D,OAAO,UAAU,QAAQ,cAAc,OAAO,KAAK,IAAI,OAAO,QAAQ;AACxE;;;;;;;AAQA,SAAS,eAAe,EAAE,OAAO,gBAAyB;CACxD,OAAO,UAAU,cAAc,KAAK,IAAI,QAAS,aAAa,EAAE,EAAE,SAAS;AAC7E;;AAGA,MAAM,iBAAiB,QAA6B,YAClD,gBAAgB,QAAQ,OAAO,KAAK,eAAe,OAAO;AAE5D,SAAgB,gBAAgB,EAAE,MAAM,GAAG,WAAwC;CACjF,MAAM,EAAE,OAAO,OAAO,iBAAiB;CACvC,MAAM,CAAC,QAAQ,aAAa,SAA8B,IAAI;CAE9D,MAAM,OAAO,gBAAgB,QAAQ,OAAO;CAG5C,IAAI,WAAW,QAAQ,SAAS,MAAM,UAAU,IAAI;CACpD,MAAM,UAAU,QAAQ,eAAe,OAAO;CAM9C,MAAM,CAAC,QAAQ,aAAa,SAAS,IAAI;CACzC,IAAI,QAAQ,CAAC,QAAQ,UAAU,IAAI;CACnC,MAAM,cAAc,SAAS,UAAU;CAUvC,MAAM,SAAS,OAAO;EAAE;EAAM;EAAO;EAAO;CAAa,CAAC;CAC1D,sBAAsB;EACpB,OAAO,UAAU;GAAE;GAAM;GAAO;GAAO;EAAa;CACtD,CAAC;CAoCD,OAAO;EAAE;EAAa,gBAlCC,aAAa,SAAwB;GAC1D,UAAU,SAAS,OAAO,OAAO;IAAE,OAAO;IAAM,OAAO,OAAO,QAAQ;GAAM,CAAC;EAC/E,GAAG,CAAC,CAgC+B;EAAG,YA5BnB,aAAa,cAAyC;GACvE,MAAM,UAAU,OAAO;GAIvB,IAAI,CAAC,QAAQ,MAAM;GACnB,MAAM,OAAO,QAAQ;GACrB,MAAM,OAAO,KAAK,SAAS;GAC3B,IAAI,OAAO,GAAG;IACZ,UAAU,IAAI;IACd;GACF;GACA,WAAW,YAAY;IAIrB,MAAM,OAAO,cAAc,SAAS,OAAO;IAC3C,MAAM,KAAK,KAAK,WAAW,SAAS,KAAK,UAAU,IAAI;IACvD,MAAM,QACJ,cAAc,UACV,IACA,cAAc,SACZ,QACC,KAAK,YAAY,KAAK,UAAU,KAAK;IAC9C,OAAO;KAAE,OAAO,KAAK,MAAM,CAAC;KAAO,OAAO,QAAQ;IAAM;GAC1D,CAAC;EACH,GAAG,CAAC,CAE2C;CAAE;AACnD;;;ACxGA,MAAa,uBAAqC,OAAO,OAAO,aAAa;CAC3E,MAAM,SAAS,MAAM,KAAK,CAAC,CAAC,kBAAkB;CAC9C,IAAI,CAAC,QAAQ,OAAO;CAEpB,MAAM,WAAW,CAAC,OAAO,GAAG,QAAQ,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,kBAAkB;CAClE,IAAI,aAAa;CACjB,KAAK,MAAM,aAAa,UAAU;EAChC,IAAI,cAAc,OAAO,aAAa,cAAc;EACpD,IAAI,eAAe,OAAO,QAAQ,OAAO;CAC3C;CACA,OAAO;AACT;;;;;;AAOA,SAAgB,mBAAmB,EACjC,MACA,OACA,OACA,UAOC;CACD,MAAM,CAAC,OAAO,YAAY,yBAAsC,IAAI,IAAI,CAAC;CAEzE,MAAM,eAAe,aAAa,SAAyB;EACzD,UAAU,YAAY;GACpB,MAAM,WAAW,QAAQ,IAAI,KAAK,KAAK;GACvC,IACE,UAAU,UAAU,KAAK,SACzB,SAAS,aAAa,KAAK,YAC3B,SAAS,OAAO,KAAK,MACrB,SAAS,QAAQ,KAAK,OACtB,SAAS,YAAY,KAAK,WAC1B,SAAS,SAAS,KAAK,IAAQ,MAAM,KAAK,SAAS,KAAK,IAAQ,GAEhE,OAAO;GAET,MAAM,OAAO,IAAI,IAAI,OAAO;GAC5B,KAAK,IAAI,KAAK,OAAO,IAAI;GACzB,OAAO;EACT,CAAC;CACH,GAAG,CAAC,CAAC;CAEL,MAAM,iBAAiB,aAAa,cAAsB;EACxD,UAAU,YAAY;GACpB,IAAI,CAAC,QAAQ,IAAI,SAAS,GAAG,OAAO;GACpC,MAAM,OAAO,IAAI,IAAI,OAAO;GAC5B,KAAK,OAAO,SAAS;GACrB,OAAO;EACT,CAAC;CACH,GAAG,CAAC,CAAC;CAML,MAAM,CAAC,WAAW,gBAAgB,SAAS,KAAK;CAChD,IAAI,QAAQ,cAAc,OAAO,aAAa,KAAK;CACnD,MAAM,YAAY,OAAO,QAAQ;CAEjC,MAAM,eAAe,cAEjB,MAAM,KAAK,MAAM,OAAO,CAAC,CAAC,CAAC,QAAQ,SACjC,OAAO,KAAK,OAAO,WAAW,CAAC,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC,CAC9D,GACF;EAAC;EAAQ;EAAO;CAAS,CAC3B;CACA,MAAM,sBAAsB,cACpB,aAAa,QAAQ,SAAS,CAAC,KAAK,QAAQ,GAClD,CAAC,YAAY,CACf;CACA,MAAM,gBAAgB,cACd,IAAI,IAAI,aAAa,KAAK,SAAS,KAAK,KAAK,CAAC,GACpD,CAAC,YAAY,CACf;CACA,MAAM,kBAAkB,cAChB,IAAI,IAAI,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC,GACtD,CAAC,YAAY,CACf;CAEA,MAAM,EAAE,aAAa,gBAAgB,eAAe,gBAAgB;EAClE;EACA,OAAO;EACP;EACA,cAAc;CAChB,CAAC;CAED,gBAAgB;EACd,IAAI,CAAC,eAAe,CAAC,MAAM;EAC3B,MAAM,OAAO,MAAM,IAAI,WAAW,CAAC,EAAE,IAAI;EACzC,MAAM,OAAO,MAAM,QAAqB,kBAAkB;EAC1D,IAAI,CAAC,QAAQ,CAAC,MAAM;EACpB,MAAM,WAAW,KAAK,sBAAsB;EAC5C,MAAM,WAAW,KAAK,sBAAsB;EAC5C,IAAI,SAAS,MAAM,SAAS,KAAK,KAAK,aAAa,SAAS,MAAM,SAAS;OACtE,IAAI,SAAS,SAAS,SAAS,QAAQ,KAAK,aAAa,SAAS,SAAS,SAAS;CAC3F,GAAG;EAAC;EAAa;EAAO;CAAI,CAAC;CAE7B,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA,cAAc,aAAa;EAC3B;EACA;EACA;EACA,cAAc,cAAc,MAAM,IAAI,WAAW,CAAC,EAAE,KAAK,KAAA;CAC3D;AACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MutableRefObject } from "react";
|
|
2
|
+
/** An option as it registers with its list. */
|
|
3
|
+
type RegisteredItem = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
keywords: string[];
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
groupId: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
ref: MutableRefObject<HTMLButtonElement | null>;
|
|
11
|
+
};
|
|
12
|
+
type OptionFilter = (value: string, query: string, keywords: string[]) => boolean;
|
|
13
|
+
export { RegisteredItem as n, OptionFilter as t };
|
|
14
|
+
//# sourceMappingURL=use-filtered-options-BbXqmJmZ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-filtered-options-BbXqmJmZ.d.ts","names":[],"sources":["../src/components/motion/combobox/use-filtered-options.ts"],"mappings":";;KAOY;EACV;EACA;EACA;EACA;EACA;EACA;EACA,KAAK,iBAAiB;;KAGZ,gBAAgB,eAAe,eAAe"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useId, useRef, useState } from "react";
|
|
2
|
+
import { useControllable } from "./hooks/use-controllable.js";
|
|
3
|
+
// src/components/charts/xy/use-inspection.ts
|
|
4
|
+
/**
|
|
5
|
+
* The inspected category is held by id and resolved during render, so a
|
|
6
|
+
* category that leaves the data clears the cursor instead of landing on a
|
|
7
|
+
* neighbour, and one that comes back cannot revive it.
|
|
8
|
+
*/
|
|
9
|
+
function useInspection({ ids, activeId, defaultActiveId = null, onActiveChange }) {
|
|
10
|
+
const [requested, setActive, setInternal] = useControllable(activeId, defaultActiveId, onActiveChange);
|
|
11
|
+
if (activeId === void 0 && requested !== null && !ids.includes(requested)) setInternal(null);
|
|
12
|
+
const activeIndex = requested === null ? -1 : ids.indexOf(requested);
|
|
13
|
+
const [open, setOpen] = useState(false);
|
|
14
|
+
const [touching, setTouching] = useState(false);
|
|
15
|
+
const plotRef = useRef(null);
|
|
16
|
+
const tooltipId = useId();
|
|
17
|
+
return {
|
|
18
|
+
activeId: activeIndex >= 0 ? requested : null,
|
|
19
|
+
activeIndex,
|
|
20
|
+
setActive,
|
|
21
|
+
open,
|
|
22
|
+
setOpen,
|
|
23
|
+
touching,
|
|
24
|
+
setTouching,
|
|
25
|
+
plotRef,
|
|
26
|
+
tooltipId
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export { useInspection as t };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=use-inspection-LoyxxJk8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-inspection-LoyxxJk8.js","names":[],"sources":["../src/components/charts/xy/use-inspection.ts"],"sourcesContent":["\"use client\";\n\nimport { useId, useRef, useState } from \"react\";\n\nimport { useControllable } from \"../../../hooks/use-controllable\";\n\nexport { useControllable };\n\n/**\n * The inspected category is held by id and resolved during render, so a\n * category that leaves the data clears the cursor instead of landing on a\n * neighbour, and one that comes back cannot revive it.\n */\nexport function useInspection({\n ids,\n activeId,\n defaultActiveId = null,\n onActiveChange,\n}: {\n ids: readonly string[];\n activeId?: string | null;\n defaultActiveId?: string | null;\n onActiveChange?: (id: string | null) => void;\n}) {\n const [requested, setActive, setInternal] = useControllable(\n activeId,\n defaultActiveId,\n onActiveChange,\n );\n if (activeId === undefined && requested !== null && !ids.includes(requested)) setInternal(null);\n const activeIndex = requested === null ? -1 : ids.indexOf(requested);\n const [open, setOpen] = useState(false);\n // A finger on the plot: inspection marks follow it directly instead of gliding.\n const [touching, setTouching] = useState(false);\n const plotRef = useRef<HTMLDivElement>(null);\n const tooltipId = useId();\n return {\n activeId: activeIndex >= 0 ? requested : null,\n activeIndex,\n setActive,\n open,\n setOpen,\n touching,\n setTouching,\n plotRef,\n tooltipId,\n };\n}\n"],"mappings":";;;;;;;;AAaA,SAAgB,cAAc,EAC5B,KACA,UACA,kBAAkB,MAClB,kBAMC;CACD,MAAM,CAAC,WAAW,WAAW,eAAe,gBAC1C,UACA,iBACA,cACF;CACA,IAAI,aAAa,KAAA,KAAa,cAAc,QAAQ,CAAC,IAAI,SAAS,SAAS,GAAG,YAAY,IAAI;CAC9F,MAAM,cAAc,cAAc,OAAO,KAAK,IAAI,QAAQ,SAAS;CACnE,MAAM,CAAC,MAAM,WAAW,SAAS,KAAK;CAEtC,MAAM,CAAC,UAAU,eAAe,SAAS,KAAK;CAC9C,MAAM,UAAU,OAAuB,IAAI;CAC3C,MAAM,YAAY,MAAM;CACxB,OAAO;EACL,UAAU,eAAe,IAAI,YAAY;EACzC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef } from "react";
|
|
2
|
+
// src/components/motion/menu/use-menu-navigation.ts
|
|
3
|
+
const TYPEAHEAD_RESET = 500;
|
|
4
|
+
/**
|
|
5
|
+
* The enabled rows of one menu panel, in order. Rows carry `data-menu-item`
|
|
6
|
+
* and the panel's `data-level`, so a submenu rendered inside the panel keeps
|
|
7
|
+
* its own rows to itself.
|
|
8
|
+
*/
|
|
9
|
+
function enabledItems(panel) {
|
|
10
|
+
if (!panel) return [];
|
|
11
|
+
return Array.from(panel.querySelectorAll(`[data-menu-item][data-level="${panel.dataset.level}"]:not([data-disabled])`));
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Arrow keys, Home, End and typeahead for a menu panel. The returned handler
|
|
15
|
+
* moves focus between the panel's rows and says whether it used the key.
|
|
16
|
+
* Typeahead matches a row's `data-text-value`, or its text.
|
|
17
|
+
*/
|
|
18
|
+
function useMenuNavigation() {
|
|
19
|
+
const query = useRef("");
|
|
20
|
+
const timer = useRef(null);
|
|
21
|
+
useEffect(() => () => {
|
|
22
|
+
if (timer.current) clearTimeout(timer.current);
|
|
23
|
+
}, []);
|
|
24
|
+
return useCallback((event, panel) => {
|
|
25
|
+
const items = enabledItems(panel);
|
|
26
|
+
const index = items.indexOf(event.target);
|
|
27
|
+
if (event.key === "ArrowDown" || event.key === "ArrowUp") {
|
|
28
|
+
event.preventDefault();
|
|
29
|
+
if (items.length === 0) return true;
|
|
30
|
+
const step = event.key === "ArrowDown" ? 1 : -1;
|
|
31
|
+
items[index < 0 ? step === 1 ? 0 : items.length - 1 : (index + step + items.length) % items.length]?.focus();
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
if (event.key === "Home" || event.key === "End") {
|
|
35
|
+
event.preventDefault();
|
|
36
|
+
items[event.key === "Home" ? 0 : items.length - 1]?.focus();
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
if (!(event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) || event.key === " " && query.current === "") return false;
|
|
40
|
+
query.current += event.key.toLocaleLowerCase();
|
|
41
|
+
if (timer.current) clearTimeout(timer.current);
|
|
42
|
+
timer.current = setTimeout(() => {
|
|
43
|
+
query.current = "";
|
|
44
|
+
}, TYPEAHEAD_RESET);
|
|
45
|
+
const ordered = [...items.slice(index + 1), ...items.slice(0, index + 1)];
|
|
46
|
+
const typedSoFar = query.current;
|
|
47
|
+
const needle = typedSoFar.length > 1 && [...typedSoFar].every((char) => char === typedSoFar[0]) ? typedSoFar[0] : typedSoFar;
|
|
48
|
+
const match = ordered.find((item) => (item.dataset.textValue ?? item.textContent ?? "").trim().toLocaleLowerCase().startsWith(needle));
|
|
49
|
+
if (!match) return false;
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
match.focus();
|
|
52
|
+
return true;
|
|
53
|
+
}, []);
|
|
54
|
+
}
|
|
55
|
+
export { useMenuNavigation as n, enabledItems as t };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=use-menu-navigation-B17_iK_B.js.map
|