@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
|
@@ -5,7 +5,8 @@ import { cn } from "@kumix/utils";
|
|
|
5
5
|
import { useDismiss } from "./hooks/use-dismiss.js";
|
|
6
6
|
import { useHoverGesture } from "./hooks/use-hover-gesture.js";
|
|
7
7
|
import { useTapGesture } from "./hooks/use-tap-gesture.js";
|
|
8
|
-
import {
|
|
8
|
+
import { assignRef } from "./lib/merge-refs.js";
|
|
9
|
+
import { n as TooltipPositioner, r as useTooltipPointer, t as TooltipArrow } from "./positioner-CFR4mJg6.js";
|
|
9
10
|
import { TooltipSurface } from "./components/motion/tooltip-surface.js";
|
|
10
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
// src/components/motion/tooltip/grace.ts
|
|
@@ -86,8 +87,8 @@ function hull(points) {
|
|
|
86
87
|
/**
|
|
87
88
|
* How the user last reached for the page. A focus that a mouse press caused is
|
|
88
89
|
* not a request to read the label: the pointer is already on the control and
|
|
89
|
-
* hovering showed it. A focus that followed a key
|
|
90
|
-
* moving focus in script
|
|
90
|
+
* hovering showed it. A focus that followed a key - Tab, or a roving arrow key
|
|
91
|
+
* moving focus in script - is the only way a keyboard user sees it at all.
|
|
91
92
|
*/
|
|
92
93
|
let modality = "keyboard";
|
|
93
94
|
let listening = false;
|
|
@@ -140,7 +141,10 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
140
141
|
const delay = delayProp ?? timing.delay;
|
|
141
142
|
const closeDelay = closeDelayProp ?? timing.closeDelay;
|
|
142
143
|
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
143
|
-
const
|
|
144
|
+
const requestedOpen = controlledOpen ?? uncontrolledOpen;
|
|
145
|
+
const [anchorInert, setAnchorInert] = useState(false);
|
|
146
|
+
const open = requestedOpen && !anchorInert;
|
|
147
|
+
const [instant, setInstant] = useState(false);
|
|
144
148
|
const [empty, setEmpty] = useState(initialEmpty);
|
|
145
149
|
const [trigger, setTrigger] = useState(null);
|
|
146
150
|
const [external, setExternal] = useState(null);
|
|
@@ -157,7 +161,7 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
157
161
|
if (element !== external) setExternal(element);
|
|
158
162
|
});
|
|
159
163
|
const latest = useRef({
|
|
160
|
-
open,
|
|
164
|
+
open: requestedOpen,
|
|
161
165
|
delay,
|
|
162
166
|
closeDelay,
|
|
163
167
|
disabled,
|
|
@@ -168,7 +172,7 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
168
172
|
useLayoutEffect(() => {
|
|
169
173
|
anchorObject.current = anchor;
|
|
170
174
|
latest.current = {
|
|
171
|
-
open,
|
|
175
|
+
open: requestedOpen,
|
|
172
176
|
delay,
|
|
173
177
|
closeDelay,
|
|
174
178
|
disabled,
|
|
@@ -196,37 +200,82 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
196
200
|
if (!latest.current.controlled) setUncontrolledOpen(next);
|
|
197
201
|
latest.current.onOpenChange?.(next);
|
|
198
202
|
}, []);
|
|
199
|
-
const openNow = useCallback(() => {
|
|
203
|
+
const openNow = useCallback((now = false) => {
|
|
200
204
|
clearTimers();
|
|
201
205
|
stopGrace();
|
|
202
|
-
if (latest.current.disabled || latest.current.empty) return;
|
|
206
|
+
if (latest.current.disabled || latest.current.empty || anchorObject.current?.closest("[inert]")) return;
|
|
203
207
|
if (current && current !== self.current) current.close();
|
|
204
208
|
current = self.current;
|
|
209
|
+
setInstant(now);
|
|
205
210
|
commit(true);
|
|
206
211
|
}, [
|
|
207
212
|
clearTimers,
|
|
208
213
|
stopGrace,
|
|
209
214
|
commit
|
|
210
215
|
]);
|
|
211
|
-
const
|
|
216
|
+
const finish = useCallback((now) => {
|
|
212
217
|
clearTimers();
|
|
213
218
|
stopGrace();
|
|
214
219
|
if (latest.current.open) lastClosedAt = Date.now();
|
|
215
220
|
if (current === self.current) current = null;
|
|
221
|
+
if (latest.current.open) setInstant(now);
|
|
216
222
|
commit(false);
|
|
217
223
|
}, [
|
|
218
224
|
clearTimers,
|
|
219
225
|
stopGrace,
|
|
220
226
|
commit
|
|
221
227
|
]);
|
|
228
|
+
const close = useCallback(() => finish(false), [finish]);
|
|
229
|
+
useLayoutEffect(() => {
|
|
230
|
+
self.current.close = () => finish(true);
|
|
231
|
+
}, [finish]);
|
|
222
232
|
useLayoutEffect(() => {
|
|
223
|
-
|
|
224
|
-
|
|
233
|
+
if (!requestedOpen || !anchor) {
|
|
234
|
+
setAnchorInert(false);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
let wasInert;
|
|
238
|
+
const check = () => {
|
|
239
|
+
const isInert = Boolean(anchor.closest("[inert]"));
|
|
240
|
+
if (isInert === wasInert) return;
|
|
241
|
+
wasInert = isInert;
|
|
242
|
+
setAnchorInert(isInert);
|
|
243
|
+
if (isInert) finish(true);
|
|
244
|
+
};
|
|
245
|
+
const observer = new MutationObserver((records) => {
|
|
246
|
+
if (records.some((record) => record.type === "childList")) observeAncestors();
|
|
247
|
+
check();
|
|
248
|
+
});
|
|
249
|
+
const observeAncestors = () => {
|
|
250
|
+
observer.disconnect();
|
|
251
|
+
observer.observe(anchor, {
|
|
252
|
+
attributes: true,
|
|
253
|
+
attributeFilter: ["inert"]
|
|
254
|
+
});
|
|
255
|
+
for (let parent = anchor.parentElement; parent; parent = parent.parentElement) observer.observe(parent, {
|
|
256
|
+
attributes: true,
|
|
257
|
+
attributeFilter: ["inert"],
|
|
258
|
+
childList: true
|
|
259
|
+
});
|
|
260
|
+
if (!anchor.isConnected) observer.observe(anchor.ownerDocument, {
|
|
261
|
+
childList: true,
|
|
262
|
+
subtree: true
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
observeAncestors();
|
|
266
|
+
check();
|
|
267
|
+
return () => observer.disconnect();
|
|
268
|
+
}, [
|
|
269
|
+
anchor,
|
|
270
|
+
requestedOpen,
|
|
271
|
+
finish
|
|
272
|
+
]);
|
|
225
273
|
const requestOpen = useCallback(() => {
|
|
226
274
|
clearTimers();
|
|
227
|
-
if (latest.current.open || latest.current.disabled || latest.current.empty) return;
|
|
228
|
-
if (Date.now() - lastClosedAt < timing.skipDelay
|
|
229
|
-
else
|
|
275
|
+
if (latest.current.open || latest.current.disabled || latest.current.empty || anchorObject.current?.closest("[inert]")) return;
|
|
276
|
+
if (current !== null && current !== self.current || Date.now() - lastClosedAt < timing.skipDelay) openNow(true);
|
|
277
|
+
else if (latest.current.delay <= 0) openNow();
|
|
278
|
+
else openTimer.current = setTimeout(() => openNow(), latest.current.delay);
|
|
230
279
|
}, [
|
|
231
280
|
clearTimers,
|
|
232
281
|
openNow,
|
|
@@ -298,12 +347,14 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
298
347
|
const onFocusIn = () => {
|
|
299
348
|
if (!focusFromKeyboard()) return;
|
|
300
349
|
keyboardFocus = true;
|
|
301
|
-
openNow();
|
|
350
|
+
openNow(true);
|
|
302
351
|
};
|
|
303
352
|
const onFocusOut = (event) => {
|
|
304
353
|
if (trigger.contains(event.relatedTarget)) return;
|
|
354
|
+
const fromKeyboard = keyboardFocus;
|
|
305
355
|
keyboardFocus = false;
|
|
306
|
-
|
|
356
|
+
if (trigger.closest("[inert]")) return;
|
|
357
|
+
finish(fromKeyboard);
|
|
307
358
|
};
|
|
308
359
|
const el = trigger;
|
|
309
360
|
el.addEventListener("pointerenter", onEnter);
|
|
@@ -334,6 +385,7 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
334
385
|
requestClose,
|
|
335
386
|
openNow,
|
|
336
387
|
close,
|
|
388
|
+
finish,
|
|
337
389
|
clearTimers,
|
|
338
390
|
stopGrace,
|
|
339
391
|
startGrace
|
|
@@ -372,7 +424,11 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
372
424
|
if (current === self.current) current = null;
|
|
373
425
|
}, [clearTimers, stopGrace]);
|
|
374
426
|
const insideTooltip = useCallback((target) => Boolean(floatingRef.current?.contains(target)), []);
|
|
375
|
-
|
|
427
|
+
const dismiss = useCallback((reason) => finish(reason === "escape"), [finish]);
|
|
428
|
+
useDismiss(open, dismiss, anchorObject, {
|
|
429
|
+
ignore: insideTooltip,
|
|
430
|
+
layerRef: floatingRef
|
|
431
|
+
});
|
|
376
432
|
const onContentEnter = useCallback(() => {
|
|
377
433
|
stopGrace();
|
|
378
434
|
clearTimers();
|
|
@@ -397,6 +453,7 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
397
453
|
]);
|
|
398
454
|
const value = useMemo(() => ({
|
|
399
455
|
open,
|
|
456
|
+
instant,
|
|
400
457
|
contentId,
|
|
401
458
|
labelId,
|
|
402
459
|
asLabel,
|
|
@@ -413,6 +470,7 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
413
470
|
onContentLeave
|
|
414
471
|
}), [
|
|
415
472
|
open,
|
|
473
|
+
instant,
|
|
416
474
|
contentId,
|
|
417
475
|
labelId,
|
|
418
476
|
asLabel,
|
|
@@ -433,10 +491,6 @@ function TooltipRoot({ children, open: controlledOpen, defaultOpen = false, onOp
|
|
|
433
491
|
function mergeIds(...ids) {
|
|
434
492
|
return ids.filter((value) => typeof value === "string" && value).join(" ") || void 0;
|
|
435
493
|
}
|
|
436
|
-
function assignRef(ref, value) {
|
|
437
|
-
if (typeof ref === "function") ref(value);
|
|
438
|
-
else if (ref) ref.current = value;
|
|
439
|
-
}
|
|
440
494
|
function TooltipTrigger({ asChild = false, children, ref, ...props }) {
|
|
441
495
|
const { open, contentId, labelId, asLabel, empty, setTrigger } = useTooltipContext("TooltipTrigger");
|
|
442
496
|
const child = asChild && isValidElement(children) ? children : null;
|
|
@@ -473,7 +527,7 @@ function TooltipTrigger({ asChild = false, children, ref, ...props }) {
|
|
|
473
527
|
});
|
|
474
528
|
}
|
|
475
529
|
function TooltipContent({ children, side = "top", align = "center", sideOffset, arrow = false, anchorPoint, className }) {
|
|
476
|
-
const { open, contentId, labelId, asLabel, followCursor, anchor, floatingRef, pointer, setEmpty, close, onContentEnter, onContentLeave } = useTooltipContext("TooltipContent");
|
|
530
|
+
const { open, instant, contentId, labelId, asLabel, followCursor, anchor, floatingRef, pointer, setEmpty, close, onContentEnter, onContentLeave } = useTooltipContext("TooltipContent");
|
|
477
531
|
const empty = isEmpty(children);
|
|
478
532
|
const arrowRef = useRef(null);
|
|
479
533
|
useLayoutEffect(() => {
|
|
@@ -484,31 +538,35 @@ function TooltipContent({ children, side = "top", align = "center", sideOffset,
|
|
|
484
538
|
id: labelId,
|
|
485
539
|
hidden: true,
|
|
486
540
|
children
|
|
487
|
-
}) : null, /* @__PURE__ */ jsx(AnimatePresence, {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
541
|
+
}) : null, /* @__PURE__ */ jsx(AnimatePresence, {
|
|
542
|
+
custom: instant,
|
|
543
|
+
children: open && !empty ? /* @__PURE__ */ jsx(TooltipPositioner, {
|
|
544
|
+
anchor,
|
|
545
|
+
floatingRef,
|
|
546
|
+
arrowRef: arrow ? arrowRef : void 0,
|
|
547
|
+
anchorPoint,
|
|
548
|
+
followCursor,
|
|
549
|
+
side,
|
|
550
|
+
align,
|
|
551
|
+
sideOffset,
|
|
552
|
+
onDismiss: close,
|
|
553
|
+
pointer,
|
|
554
|
+
children: (positioned, isPresent, placedSide) => /* @__PURE__ */ jsxs(TooltipSurface, {
|
|
555
|
+
id: asLabel ? void 0 : contentId,
|
|
556
|
+
"aria-hidden": asLabel || void 0,
|
|
557
|
+
ready: positioned,
|
|
558
|
+
instant,
|
|
559
|
+
onPointerEnter: onContentEnter,
|
|
560
|
+
onPointerLeave: onContentLeave,
|
|
561
|
+
style: { pointerEvents: isPresent && !followCursor ? "auto" : "none" },
|
|
562
|
+
className: cn("max-w-[min(20rem,calc(100vw-16px))] wrap-break-word whitespace-normal", arrow && "relative", className),
|
|
563
|
+
children: [children, arrow ? /* @__PURE__ */ jsx(TooltipArrow, {
|
|
564
|
+
ref: arrowRef,
|
|
565
|
+
side: placedSide
|
|
566
|
+
}) : null]
|
|
567
|
+
})
|
|
568
|
+
}, "tooltip") : null
|
|
569
|
+
})] }), document.body);
|
|
512
570
|
}
|
|
513
571
|
function Tooltip(props) {
|
|
514
572
|
if (!("content" in props)) return /* @__PURE__ */ jsx(TooltipRoot, { ...props });
|
|
@@ -530,4 +588,4 @@ function Tooltip(props) {
|
|
|
530
588
|
}
|
|
531
589
|
export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip as t };
|
|
532
590
|
|
|
533
|
-
//# sourceMappingURL=tooltip-
|
|
591
|
+
//# sourceMappingURL=tooltip-eecPhLtC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-eecPhLtC.js","names":[],"sources":["../src/components/motion/tooltip/grace.ts","../src/components/motion/tooltip.tsx"],"sourcesContent":["\"use client\";\n\ntype Point = { x: number; y: number };\ntype Box = { left: number; top: number; right: number; bottom: number };\n\n/**\n * The corridor a pointer may cross between the trigger and the open tooltip\n * without closing it: the convex hull of where it left and the box it is\n * heading for. A fixed timeout either cuts a slow diagonal move short or keeps\n * the label alive after the pointer has plainly gone elsewhere; this follows\n * the path itself.\n */\nexport function graceArea(exit: Point, target: Box): Point[] {\n // A few pixels either side of the exit point give the corridor some width at\n // its narrow end, so a hand that drifts sideways while it moves stays inside.\n const pad = 5;\n return hull([\n { x: exit.x - pad, y: exit.y - pad },\n { x: exit.x + pad, y: exit.y - pad },\n { x: exit.x - pad, y: exit.y + pad },\n { x: exit.x + pad, y: exit.y + pad },\n { x: target.left, y: target.top },\n { x: target.right, y: target.top },\n { x: target.right, y: target.bottom },\n { x: target.left, y: target.bottom },\n ]);\n}\n\nexport function inBox(point: Point, box: Box) {\n return point.x >= box.left && point.x <= box.right && point.y >= box.top && point.y <= box.bottom;\n}\n\nexport function inPolygon(point: Point, polygon: Point[]) {\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const a = polygon[i];\n const b = polygon[j];\n if (\n a.y > point.y !== b.y > point.y &&\n point.x < ((b.x - a.x) * (point.y - a.y)) / (b.y - a.y) + a.x\n ) {\n inside = !inside;\n }\n }\n return inside;\n}\n\n// Monotone chain; the corridor is always convex, so a hull is all it needs.\nfunction hull(points: Point[]) {\n const sorted = [...points].sort((a, b) => a.x - b.x || a.y - b.y);\n const cross = (o: Point, a: Point, b: Point) =>\n (a.x - o.x) * (b.y - o.y) - (a.y - o.y) * (b.x - o.x);\n const lower: Point[] = [];\n for (const p of sorted) {\n while (lower.length >= 2 && cross(lower[lower.length - 2], lower[lower.length - 1], p) <= 0) {\n lower.pop();\n }\n lower.push(p);\n }\n const upper: Point[] = [];\n for (let i = sorted.length - 1; i >= 0; i--) {\n const p = sorted[i];\n while (upper.length >= 2 && cross(upper[upper.length - 2], upper[upper.length - 1], p) <= 0) {\n upper.pop();\n }\n upper.push(p);\n }\n lower.pop();\n upper.pop();\n return lower.concat(upper);\n}\n\n/**\n * How the user last reached for the page. A focus that a mouse press caused is\n * not a request to read the label: the pointer is already on the control and\n * hovering showed it. A focus that followed a key - Tab, or a roving arrow key\n * moving focus in script - is the only way a keyboard user sees it at all.\n */\nlet modality: \"keyboard\" | \"pointer\" = \"keyboard\";\nlet listening = false;\n\nexport function watchModality() {\n if (listening || typeof window === \"undefined\") return;\n listening = true;\n window.addEventListener(\"keydown\", () => (modality = \"keyboard\"), true);\n window.addEventListener(\"pointerdown\", () => (modality = \"pointer\"), true);\n}\n\nexport function focusFromKeyboard() {\n return modality === \"keyboard\";\n}\n","\"use client\";\n\nimport {\n type ComponentProps,\n cloneElement,\n createContext,\n isValidElement,\n type ReactElement,\n type ReactNode,\n type PointerEvent as ReactPointerEvent,\n type Ref,\n type RefObject,\n useCallback,\n useContext,\n useEffect,\n useId,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { AnimatePresence } from \"motion/react\";\nimport { createPortal } from \"react-dom\";\n\nimport { cn } from \"@kumix/utils\";\nimport { type DismissReason, useDismiss } from \"../../hooks/use-dismiss\";\nimport { useHoverGesture } from \"../../hooks/use-hover-gesture\";\nimport { useTapGesture } from \"../../hooks/use-tap-gesture\";\nimport { assignRef } from \"../../lib/merge-refs\";\nimport { focusFromKeyboard, graceArea, inBox, inPolygon, watchModality } from \"./tooltip/grace\";\nimport { TooltipArrow, TooltipPositioner } from \"./tooltip/positioner\";\nimport {\n type TooltipAlign,\n type TooltipAnchor,\n type TooltipPoint,\n type TooltipSide,\n useTooltipPointer,\n} from \"./tooltip/use-position\";\nimport { TooltipSurface } from \"./tooltip-surface\";\n\nexport type { TooltipAlign, TooltipSide };\n\n/* -------------------------------------------------------------------------- */\n/* Provider */\n/* -------------------------------------------------------------------------- */\n\ninterface TooltipTiming {\n /** Delay before a hover opens a tooltip (ms). */\n delay: number;\n /** Delay before a tooltip closes once the pointer has left it (ms). */\n closeDelay: number;\n /** After one tooltip closes, others open instantly for this long (ms). */\n skipDelay: number;\n}\n\nconst TimingContext = createContext<TooltipTiming>({ delay: 120, closeDelay: 0, skipDelay: 300 });\n\nexport interface TooltipProviderProps extends Partial<TooltipTiming> {\n children: ReactNode;\n}\n\n/** Shared timing for every tooltip inside it. Optional: tooltips work without one. */\nexport function TooltipProvider({ children, ...timing }: TooltipProviderProps) {\n const parent = useContext(TimingContext);\n const {\n delay = parent.delay,\n closeDelay = parent.closeDelay,\n skipDelay = parent.skipDelay,\n } = timing;\n const value = useMemo(() => ({ delay, closeDelay, skipDelay }), [delay, closeDelay, skipDelay]);\n return <TimingContext.Provider value={value}>{children}</TimingContext.Provider>;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Root */\n/* -------------------------------------------------------------------------- */\n\n// Moving along a toolbar should feel instant after the first label, and only\n// one label may show at a time: a keyboard-focused control and a hovered one\n// would otherwise both claim the screen.\nlet lastClosedAt = 0;\nlet current: { close: () => void } | null = null;\n\nfunction isEmpty(content: ReactNode) {\n return content == null || content === false || content === \"\";\n}\n\ninterface TooltipContextValue {\n open: boolean;\n /** Show and hide without animating (keyboard focus, a warm toolbar, a replaced label). */\n instant: boolean;\n contentId: string;\n labelId: string;\n asLabel: boolean;\n empty: boolean;\n followCursor: boolean;\n anchor: TooltipAnchor | null;\n /** True when a TooltipTrigger owns the anchor; false for an external `anchorRef`. */\n triggered: boolean;\n floatingRef: RefObject<HTMLSpanElement | null>;\n pointer: ReturnType<typeof useTooltipPointer>;\n setTrigger: (element: TooltipAnchor | null) => void;\n setEmpty: (empty: boolean) => void;\n close: () => void;\n onContentEnter: () => void;\n onContentLeave: (event: ReactPointerEvent) => void;\n}\n\nconst TooltipContext = createContext<TooltipContextValue | null>(null);\n\nfunction useTooltipContext(part: string) {\n const context = useContext(TooltipContext);\n if (!context) throw new Error(`${part} must be used inside <Tooltip>`);\n return context;\n}\n\nexport interface TooltipRootProps {\n children?: ReactNode;\n /** Whether to show the tooltip in controlled use. An inert anchor keeps it hidden. */\n open?: boolean;\n /** Whether the tooltip starts shown when uncontrolled. Default: false */\n defaultOpen?: boolean;\n /** Called when the tooltip requests to show or hide, including when its anchor becomes inert. */\n onOpenChange?: (open: boolean) => void;\n /** Delay before showing on hover (ms). Keyboard focus shows immediately. */\n delay?: number;\n /** Delay before hiding once the pointer has left (ms). */\n closeDelay?: number;\n /** Never show, e.g. while the label it carries is already visible. */\n disabled?: boolean;\n /**\n * Use the tooltip as the trigger's accessible name rather than its\n * description. For icon-only controls whose only label is the tooltip.\n */\n asLabel?: boolean;\n /** Follow real pointer coordinates; keyboard focus still uses the anchor. */\n followCursor?: boolean;\n /** Existing anchor for controlled integrations such as chart cells. */\n anchorRef?: RefObject<TooltipAnchor | null>;\n /** Id of the tooltip surface, for anchors that reference it themselves. */\n id?: string;\n}\n\nfunction TooltipRoot({\n children,\n open: controlledOpen,\n defaultOpen = false,\n onOpenChange,\n delay: delayProp,\n closeDelay: closeDelayProp,\n disabled = false,\n asLabel = false,\n followCursor = false,\n anchorRef,\n id,\n initialEmpty = false,\n}: TooltipRootProps & { initialEmpty?: boolean }) {\n const timing = useContext(TimingContext);\n const delay = delayProp ?? timing.delay;\n const closeDelay = closeDelayProp ?? timing.closeDelay;\n const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);\n const requestedOpen = controlledOpen ?? uncontrolledOpen;\n const [anchorInert, setAnchorInert] = useState(false);\n const open = requestedOpen && !anchorInert;\n // Keyboard focus and a warm toolbar show the label at once; animating\n // something seen this often only makes it feel slow.\n const [instant, setInstant] = useState(false);\n const [empty, setEmpty] = useState(initialEmpty);\n const [trigger, setTrigger] = useState<TooltipAnchor | null>(null);\n const [external, setExternal] = useState<TooltipAnchor | null>(null);\n const anchor = anchorRef ? external : trigger;\n const generatedId = useId();\n const contentId = id ?? `${generatedId}-content`;\n const labelId = `${generatedId}-label`;\n const floatingRef = useRef<HTMLSpanElement | null>(null);\n const anchorObject = useRef<TooltipAnchor | null>(null);\n const pointer = useTooltipPointer(anchor, followCursor);\n\n // An external ref can attach after this component renders; read it once it has.\n useLayoutEffect(() => {\n if (!anchorRef) return;\n const element = anchorRef.current ?? null;\n if (element !== external) setExternal(element);\n });\n\n // Everything the event listeners read, current without re-binding them.\n const latest = useRef({\n open: requestedOpen,\n delay,\n closeDelay,\n disabled,\n empty,\n onOpenChange,\n controlled: false,\n });\n useLayoutEffect(() => {\n anchorObject.current = anchor;\n latest.current = {\n open: requestedOpen,\n delay,\n closeDelay,\n disabled,\n empty,\n onOpenChange,\n controlled: controlledOpen !== undefined,\n };\n });\n\n const openTimer = useRef<ReturnType<typeof setTimeout> | null>(null);\n const closeTimer = useRef<ReturnType<typeof setTimeout> | null>(null);\n const grace = useRef<(() => void) | null>(null);\n const self = useRef<{ close: () => void }>({ close: () => {} });\n\n const clearTimers = useCallback(() => {\n if (openTimer.current) clearTimeout(openTimer.current);\n if (closeTimer.current) clearTimeout(closeTimer.current);\n openTimer.current = null;\n closeTimer.current = null;\n }, []);\n\n const stopGrace = useCallback(() => {\n grace.current?.();\n grace.current = null;\n }, []);\n\n // Only a real change reaches the consumer: a pointer leaving a closed\n // tooltip is not news.\n const commit = useCallback((next: boolean) => {\n if (latest.current.open === next) return;\n if (!latest.current.controlled) setUncontrolledOpen(next);\n latest.current.onOpenChange?.(next);\n }, []);\n\n const openNow = useCallback(\n (now = false) => {\n clearTimers();\n stopGrace();\n if (\n latest.current.disabled ||\n latest.current.empty ||\n anchorObject.current?.closest(\"[inert]\")\n )\n return;\n // The label being replaced leaves at once, so two never show together.\n if (current && current !== self.current) current.close();\n current = self.current;\n setInstant(now);\n commit(true);\n },\n [clearTimers, stopGrace, commit],\n );\n\n const finish = useCallback(\n (now: boolean) => {\n clearTimers();\n stopGrace();\n if (latest.current.open) lastClosedAt = Date.now();\n if (current === self.current) current = null;\n if (latest.current.open) setInstant(now);\n commit(false);\n },\n [clearTimers, stopGrace, commit],\n );\n // Also a listener (window blur, outside press), so it takes no arguments.\n const close = useCallback(() => finish(false), [finish]);\n useLayoutEffect(() => {\n self.current.close = () => finish(true);\n }, [finish]);\n\n useLayoutEffect(() => {\n if (!requestedOpen || !anchor) {\n setAnchorInert(false);\n return;\n }\n // Inerting the anchor need not move the pointer. Close even if a pointer\n // corridor or close delay would otherwise keep the portaled label visible.\n let wasInert: boolean | undefined;\n const check = () => {\n const isInert = Boolean(anchor.closest(\"[inert]\"));\n if (isInert === wasInert) return;\n wasInert = isInert;\n setAnchorInert(isInert);\n if (isInert) finish(true);\n };\n const observer = new MutationObserver((records) => {\n if (records.some((record) => record.type === \"childList\")) observeAncestors();\n check();\n });\n const observeAncestors = () => {\n observer.disconnect();\n observer.observe(anchor, { attributes: true, attributeFilter: [\"inert\"] });\n for (let parent = anchor.parentElement; parent; parent = parent.parentElement) {\n observer.observe(parent, { attributes: true, attributeFilter: [\"inert\"], childList: true });\n }\n // A detached external anchor can reattach outside its old ancestry.\n if (!anchor.isConnected) {\n observer.observe(anchor.ownerDocument, { childList: true, subtree: true });\n }\n };\n observeAncestors();\n check();\n return () => observer.disconnect();\n }, [anchor, requestedOpen, finish]);\n\n const requestOpen = useCallback(() => {\n clearTimers();\n if (\n latest.current.open ||\n latest.current.disabled ||\n latest.current.empty ||\n anchorObject.current?.closest(\"[inert]\")\n )\n return;\n // Warm: another label is still showing (the pointer is crossing to this\n // one), or one closed a moment ago. Either way, skip the delay and the fade.\n const warm =\n (current !== null && current !== self.current) ||\n Date.now() - lastClosedAt < timing.skipDelay;\n if (warm) openNow(true);\n else if (latest.current.delay <= 0) openNow();\n else openTimer.current = setTimeout(() => openNow(), latest.current.delay);\n }, [clearTimers, openNow, timing.skipDelay]);\n\n const requestClose = useCallback(() => {\n clearTimers();\n if (latest.current.closeDelay > 0) {\n closeTimer.current = setTimeout(close, latest.current.closeDelay);\n } else close();\n }, [clearTimers, close]);\n\n // Hold the label open while the pointer crosses from one box toward the other.\n const startGrace = useCallback(\n (exit: TooltipPoint, from: Element, to: Element | null) => {\n stopGrace();\n if (!to) return requestClose();\n const target = to.getBoundingClientRect();\n const origin = from.getBoundingClientRect();\n const corridor = graceArea(exit, target);\n const onMove = (event: PointerEvent) => {\n const point = { x: event.clientX, y: event.clientY };\n if (inBox(point, target) || inBox(point, origin)) return;\n if (!inPolygon(point, corridor)) requestClose();\n };\n document.addEventListener(\"pointermove\", onMove);\n grace.current = () => document.removeEventListener(\"pointermove\", onMove);\n },\n [stopGrace, requestClose],\n );\n\n const hover = useHoverGesture();\n const tap = useTapGesture<boolean>();\n\n // Listeners go on the trigger itself rather than on cloned props, so a\n // component that owns its own handlers keeps them, and no wrapper element\n // sits between the control and its layout.\n useEffect(() => {\n if (anchorRef || !trigger) return;\n watchModality();\n // A mouse press dismisses the label and keeps it away until the pointer\n // leaves; hovering a control you just clicked should not bring it back.\n let suppressed = false;\n // Focus that came from the keyboard holds the label open on its own.\n let keyboardFocus = false;\n\n const onEnter = (event: PointerEvent) => {\n if (!hover.enter(event)) return;\n stopGrace();\n if (closeTimer.current) clearTimeout(closeTimer.current);\n if (!suppressed) requestOpen();\n };\n const onLeave = (event: PointerEvent) => {\n if (!hover.leave(event)) return;\n suppressed = false;\n if (keyboardFocus) return;\n if (openTimer.current) {\n clearTimers();\n return;\n }\n if (latest.current.open && !followCursor) {\n startGrace({ x: event.clientX, y: event.clientY }, trigger, floatingRef.current);\n } else requestClose();\n };\n const onDown = (event: PointerEvent) => {\n tap.start(event, latest.current.open);\n if (event.pointerType === \"mouse\") {\n suppressed = true;\n close();\n }\n };\n // A finger never hovers, and Safari does not focus a button on tap either,\n // so the label is only reachable if the tap itself toggles it. The click\n // carries no pointerType; the pointerdown before it says whether it was a\n // tap, and keyboard activation has none at all.\n const onClick = () => {\n const gesture = tap.take();\n if (!gesture || gesture.pointerType === \"mouse\") return;\n if (gesture.state) close();\n else openNow();\n };\n const onKey = () => tap.drop();\n const onFocusIn = () => {\n if (!focusFromKeyboard()) return;\n keyboardFocus = true;\n openNow(true);\n };\n const onFocusOut = (event: FocusEvent) => {\n if (trigger.contains(event.relatedTarget as Node | null)) return;\n const fromKeyboard = keyboardFocus;\n keyboardFocus = false;\n // The inert observer owns this close, even when focus moves first.\n if (trigger.closest(\"[inert]\")) return;\n finish(fromKeyboard);\n };\n\n // Both element kinds dispatch the same events; one type keeps the listeners typed.\n const el = trigger as HTMLElement;\n el.addEventListener(\"pointerenter\", onEnter);\n el.addEventListener(\"pointerleave\", onLeave);\n el.addEventListener(\"pointerdown\", onDown);\n el.addEventListener(\"pointercancel\", tap.drop);\n el.addEventListener(\"click\", onClick);\n el.addEventListener(\"keydown\", onKey);\n el.addEventListener(\"focusin\", onFocusIn);\n el.addEventListener(\"focusout\", onFocusOut);\n return () => {\n el.removeEventListener(\"pointerenter\", onEnter);\n el.removeEventListener(\"pointerleave\", onLeave);\n el.removeEventListener(\"pointerdown\", onDown);\n el.removeEventListener(\"pointercancel\", tap.drop);\n el.removeEventListener(\"click\", onClick);\n el.removeEventListener(\"keydown\", onKey);\n el.removeEventListener(\"focusin\", onFocusIn);\n el.removeEventListener(\"focusout\", onFocusOut);\n };\n }, [\n anchorRef,\n trigger,\n followCursor,\n hover,\n tap,\n requestOpen,\n requestClose,\n openNow,\n close,\n finish,\n clearTimers,\n stopGrace,\n startGrace,\n ]);\n\n // While open, a trigger that turns disabled loses focus without a blur event,\n // and a window that loses focus never reports the pointer leaving.\n useEffect(() => {\n if (!open || anchorRef || !trigger) return;\n const observer = new MutationObserver(() => {\n if (trigger.matches(\":disabled, [aria-disabled='true']\")) close();\n });\n observer.observe(trigger, { attributes: true, attributeFilter: [\"disabled\", \"aria-disabled\"] });\n window.addEventListener(\"blur\", close);\n return () => {\n observer.disconnect();\n window.removeEventListener(\"blur\", close);\n };\n }, [open, anchorRef, trigger, close]);\n\n // A chart drives its own open state and swaps content as it goes; only a\n // trigger-owned label closes itself for having nothing to say.\n useEffect(() => {\n if (disabled || (empty && !anchorRef)) close();\n }, [disabled, empty, anchorRef, close]);\n\n useEffect(\n () => () => {\n clearTimers();\n stopGrace();\n if (current === self.current) current = null;\n },\n [clearTimers, stopGrace],\n );\n\n const insideTooltip = useCallback(\n (target: Element) => Boolean(floatingRef.current?.contains(target)),\n [],\n );\n // ...and closed by the next tap that lands somewhere else, or Escape. The\n // label covers nothing interactive, so that tap passes through to what it hit.\n // Escape is a key press, so the label goes at once.\n const dismiss = useCallback((reason: DismissReason) => finish(reason === \"escape\"), [finish]);\n // Let other overlays handle presses and Tab on the anchor. The tooltip\n // still leaves anchor presses to the trigger, which records open on touch.\n useDismiss(open, dismiss, anchorObject, { ignore: insideTooltip, layerRef: floatingRef });\n\n const onContentEnter = useCallback(() => {\n stopGrace();\n clearTimers();\n }, [stopGrace, clearTimers]);\n\n const onContentLeave = useCallback(\n (event: ReactPointerEvent) => {\n const floating = floatingRef.current;\n if (!floating) return;\n if (anchorRef) {\n // Bridge the small gap back onto a chart; it reopens on its own terms.\n clearTimers();\n closeTimer.current = setTimeout(close, 100);\n return;\n }\n startGrace({ x: event.clientX, y: event.clientY }, floating, anchorObject.current);\n },\n [anchorRef, clearTimers, close, startGrace],\n );\n\n const value = useMemo<TooltipContextValue>(\n () => ({\n open,\n instant,\n contentId,\n labelId,\n asLabel,\n empty,\n followCursor,\n anchor,\n triggered: !anchorRef,\n floatingRef,\n pointer,\n setTrigger,\n setEmpty,\n close,\n onContentEnter,\n onContentLeave,\n }),\n [\n open,\n instant,\n contentId,\n labelId,\n asLabel,\n empty,\n followCursor,\n anchor,\n anchorRef,\n pointer,\n close,\n onContentEnter,\n onContentLeave,\n ],\n );\n\n return <TooltipContext.Provider value={value}>{children}</TooltipContext.Provider>;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Trigger */\n/* -------------------------------------------------------------------------- */\n\nfunction mergeIds(...ids: unknown[]) {\n return ids.filter((value) => typeof value === \"string\" && value).join(\" \") || undefined;\n}\n\nexport interface TooltipTriggerProps extends ComponentProps<\"button\"> {\n /** Use the single child element as the trigger instead of rendering a button. */\n asChild?: boolean;\n}\n\nexport function TooltipTrigger({ asChild = false, children, ref, ...props }: TooltipTriggerProps) {\n const { open, contentId, labelId, asLabel, empty, setTrigger } =\n useTooltipContext(\"TooltipTrigger\");\n const child = asChild && isValidElement(children) ? children : null;\n const childProps = (child?.props ?? props) as Record<string, unknown>;\n const childRef = child ? (childProps.ref as Ref<TooltipAnchor> | undefined) : undefined;\n const attached = useRef<TooltipAnchor | null>(null);\n\n const setRef = useCallback(\n (element: TooltipAnchor | null) => {\n attached.current = element;\n setTrigger(element);\n assignRef(childRef ?? (ref as Ref<TooltipAnchor> | undefined), element);\n },\n [setTrigger, childRef, ref],\n );\n\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\" && child && !attached.current) {\n console.warn(\n \"TooltipTrigger: the child did not attach a ref, so the tooltip has nothing to listen to. Render a DOM element or a component that passes `ref` through.\",\n );\n }\n }, [child]);\n\n const aria = asLabel\n ? {\n \"aria-labelledby\": empty ? (childProps[\"aria-labelledby\"] as string | undefined) : labelId,\n }\n : {\n \"aria-describedby\": mergeIds(\n childProps[\"aria-describedby\"],\n open && !empty ? contentId : undefined,\n ),\n };\n\n if (asChild) {\n if (!child) return children;\n return cloneElement(child as ReactElement<Record<string, unknown>>, { ref: setRef, ...aria });\n }\n\n return (\n <button\n type=\"button\"\n data-state={open ? \"open\" : \"closed\"}\n {...props}\n ref={setRef as Ref<HTMLButtonElement>}\n {...aria}\n >\n {children}\n </button>\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Content */\n/* -------------------------------------------------------------------------- */\n\nexport interface TooltipContentProps {\n children?: ReactNode;\n /** Preferred side of the anchor. Flips when there is no room. Default: \"top\" */\n side?: TooltipSide;\n /** Alignment along the chosen side. Default: \"center\" */\n align?: TooltipAlign;\n /** Gap between anchor and tooltip (px). */\n sideOffset?: number;\n /** Draw an arrow pointing at the anchor. */\n arrow?: boolean;\n /** Point within the anchor, as fractions of its rendered width and height. */\n anchorPoint?: TooltipPoint;\n /** Classes merged onto the tooltip surface. */\n className?: string;\n}\n\nexport function TooltipContent({\n children,\n side = \"top\",\n align = \"center\",\n sideOffset,\n arrow = false,\n anchorPoint,\n className,\n}: TooltipContentProps) {\n const {\n open,\n instant,\n contentId,\n labelId,\n asLabel,\n followCursor,\n anchor,\n floatingRef,\n pointer,\n setEmpty,\n close,\n onContentEnter,\n onContentLeave,\n } = useTooltipContext(\"TooltipContent\");\n const empty = isEmpty(children);\n const arrowRef = useRef<SVGSVGElement | null>(null);\n\n useLayoutEffect(() => {\n setEmpty(empty);\n }, [empty, setEmpty]);\n\n if (typeof document === \"undefined\") return null;\n\n return createPortal(\n <>\n {/* The name has to exist while the label is closed, so it lives apart from the surface. */}\n {asLabel && !empty ? (\n <span id={labelId} hidden>\n {children}\n </span>\n ) : null}\n {/* `custom` reaches a surface that is already exiting, so a label closed\n from the keyboard or replaced by a neighbour leaves without animating. */}\n <AnimatePresence custom={instant}>\n {open && !empty ? (\n <TooltipPositioner\n key=\"tooltip\"\n anchor={anchor}\n floatingRef={floatingRef}\n arrowRef={arrow ? arrowRef : undefined}\n anchorPoint={anchorPoint}\n followCursor={followCursor}\n side={side}\n align={align}\n sideOffset={sideOffset}\n onDismiss={close}\n pointer={pointer}\n >\n {(positioned, isPresent, placedSide) => (\n <TooltipSurface\n id={asLabel ? undefined : contentId}\n aria-hidden={asLabel || undefined}\n ready={positioned}\n instant={instant}\n onPointerEnter={onContentEnter}\n onPointerLeave={onContentLeave}\n style={{ pointerEvents: isPresent && !followCursor ? \"auto\" : \"none\" }}\n className={cn(\n \"max-w-[min(20rem,calc(100vw-16px))] wrap-break-word whitespace-normal\",\n arrow && \"relative\",\n className,\n )}\n >\n {children}\n {arrow ? <TooltipArrow ref={arrowRef} side={placedSide} /> : null}\n </TooltipSurface>\n )}\n </TooltipPositioner>\n ) : null}\n </AnimatePresence>\n </>,\n document.body,\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Tooltip (root, or one-line shorthand when given `content`) */\n/* -------------------------------------------------------------------------- */\n\nexport interface TooltipProps\n extends TooltipRootProps,\n Omit<TooltipContentProps, \"children\" | \"className\"> {\n /**\n * Shorthand: the tooltip's content. With it, `children` is the trigger\n * element; without it, compose `TooltipTrigger` and `TooltipContent`.\n */\n content?: ReactNode;\n /** Shorthand only: classes for the tooltip surface. */\n className?: string;\n}\n\nexport function Tooltip(props: TooltipProps) {\n if (!(\"content\" in props)) return <TooltipRoot {...props} />;\n const { content, children, side, align, sideOffset, arrow, anchorPoint, className, ...root } =\n props;\n if (!root.anchorRef && !isValidElement(children)) return children ?? null;\n return (\n <TooltipRoot {...root} initialEmpty={isEmpty(content)}>\n {isValidElement(children) ? <TooltipTrigger>{children}</TooltipTrigger> : null}\n <TooltipContent\n side={side}\n align={align}\n sideOffset={sideOffset}\n arrow={arrow}\n anchorPoint={anchorPoint}\n className={className}\n >\n {content}\n </TooltipContent>\n </TooltipRoot>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,SAAgB,UAAU,MAAa,QAAsB;CAG3D,MAAM,MAAM;CACZ,OAAO,KAAK;EACV;GAAE,GAAG,KAAK,IAAI;GAAK,GAAG,KAAK,IAAI;EAAI;EACnC;GAAE,GAAG,KAAK,IAAI;GAAK,GAAG,KAAK,IAAI;EAAI;EACnC;GAAE,GAAG,KAAK,IAAI;GAAK,GAAG,KAAK,IAAI;EAAI;EACnC;GAAE,GAAG,KAAK,IAAI;GAAK,GAAG,KAAK,IAAI;EAAI;EACnC;GAAE,GAAG,OAAO;GAAM,GAAG,OAAO;EAAI;EAChC;GA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Y;CACrE,OACE,qBAAC,aAAD;EAAa,GAAI;EAAM,cAAc,QAAQ,OAAO;EAApD,UAAA,CACG,eAAe,QAAQ,IAAI,oBAAC,gBAAD,EAAiB,SAAyB,CAAA,IAAI,MAC1E,oBAAC,gBAAD;GACQ;GACC;GACK;GACL;GACM;GACF;GAEV,UAAA;EACa,CAAA,CACL;;AAEjB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type Chain = {
|
|
2
|
+
/** Unique key that tokens point to through `chainId`. */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Chain name shown in the picker filters and under each field. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Tailwind background and text classes for the chain's dot. */
|
|
7
|
+
tone: string;
|
|
8
|
+
/** Short glyph shown inside the chain's dot. */
|
|
9
|
+
symbol: string;
|
|
10
|
+
};
|
|
11
|
+
type Token = {
|
|
12
|
+
/** Unique key used to select the token. */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Ticker shown on the field button, rate and token rows. */
|
|
15
|
+
symbol: string;
|
|
16
|
+
/** Full name shown in the picker list and matched by search. */
|
|
17
|
+
name: string;
|
|
18
|
+
/** `id` of the chain the token lives on. */
|
|
19
|
+
chainId: string;
|
|
20
|
+
/** Contract address shown in the picker row instead of the balance; matched by search. */
|
|
21
|
+
address?: string;
|
|
22
|
+
/** Wallet balance; fills the Max button and flags amounts above it. */
|
|
23
|
+
balance?: number;
|
|
24
|
+
/** Price of 1 token in US dollars, for the fiat value and rate. */
|
|
25
|
+
usd?: number;
|
|
26
|
+
/** Marks a trending token for your own data; the components do not read it. */
|
|
27
|
+
trending?: boolean;
|
|
28
|
+
/** Lists the token in the picker's Popular row, which shows the first 6. */
|
|
29
|
+
popular?: boolean;
|
|
30
|
+
};
|
|
31
|
+
type TokenSide = "from" | "to";
|
|
32
|
+
export { Token as n, TokenSide as r, Chain as t };
|
|
33
|
+
//# sourceMappingURL=types-BhZ0FwDi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BhZ0FwDi.d.ts","names":[],"sources":["../src/components/motion/swap/types.ts"],"mappings":"A,KAEY;;EAEV;;EAEA;;EAEA;;EAEA;;KAGU;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;KAGU"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
declare const singleDateMessages: {
|
|
3
|
+
singleLabel: string;
|
|
4
|
+
singleSummaryLabel: string;
|
|
5
|
+
singlePlaceholder: string;
|
|
6
|
+
singleSelected: string;
|
|
7
|
+
singleClearLabel: string;
|
|
8
|
+
singleCleared: string;
|
|
9
|
+
};
|
|
10
|
+
/** English defaults. Override per instance with `labels`, or app-wide with `LocaleProvider`. */
|
|
11
|
+
declare const dateRangePickerMessages: {
|
|
12
|
+
singleLabel: string;
|
|
13
|
+
singleSummaryLabel: string;
|
|
14
|
+
singlePlaceholder: string;
|
|
15
|
+
singleSelected: string;
|
|
16
|
+
singleClearLabel: string;
|
|
17
|
+
singleCleared: string;
|
|
18
|
+
label: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
triggerLabel: string;
|
|
21
|
+
selectEnd: string;
|
|
22
|
+
startDate: string;
|
|
23
|
+
endDate: string;
|
|
24
|
+
selectDate: string;
|
|
25
|
+
chooseMonth: string;
|
|
26
|
+
chooseYear: string;
|
|
27
|
+
previousMonth: string;
|
|
28
|
+
nextMonth: string;
|
|
29
|
+
previousYear: string;
|
|
30
|
+
nextYear: string;
|
|
31
|
+
previousYears: string;
|
|
32
|
+
nextYears: string;
|
|
33
|
+
monthChoices: string;
|
|
34
|
+
yearChoices: string;
|
|
35
|
+
help: string;
|
|
36
|
+
daySelected: string;
|
|
37
|
+
daysSelected: string;
|
|
38
|
+
chooseStartDate: string;
|
|
39
|
+
chooseEndDate: string;
|
|
40
|
+
clear: string;
|
|
41
|
+
clearLabel: string;
|
|
42
|
+
startSelected: string;
|
|
43
|
+
rangeUnavailable: string;
|
|
44
|
+
rangeSelected: string;
|
|
45
|
+
cleared: string;
|
|
46
|
+
presetSelected: string;
|
|
47
|
+
};
|
|
48
|
+
type DateRangePickerMessages = Omit<typeof dateRangePickerMessages, keyof typeof singleDateMessages> & Partial<typeof singleDateMessages>;
|
|
49
|
+
/** Calendar dates, independent of a browser's timezone: YYYY-MM-DD. */
|
|
50
|
+
interface DateRange {
|
|
51
|
+
/** First day of the range, as YYYY-MM-DD. */
|
|
52
|
+
from: string;
|
|
53
|
+
/** Last day of the range, on or after `from`. Omit while only the start is picked. */
|
|
54
|
+
to?: string;
|
|
55
|
+
}
|
|
56
|
+
interface DateRangePreset {
|
|
57
|
+
/** Text shown on the preset button. */
|
|
58
|
+
label: string;
|
|
59
|
+
/** Range selected when the preset button is pressed. */
|
|
60
|
+
value: DateRange;
|
|
61
|
+
}
|
|
62
|
+
interface DateRangePickerProps {
|
|
63
|
+
/**
|
|
64
|
+
* In single mode, activation selects one day. Values and presets use `from`
|
|
65
|
+
* as the selected day and callbacks report that day as both endpoints.
|
|
66
|
+
* Default "range".
|
|
67
|
+
*/
|
|
68
|
+
mode?: "range" | "single";
|
|
69
|
+
/** The selected range, for controlled use. `null` means no selection. */
|
|
70
|
+
value?: DateRange | null;
|
|
71
|
+
/** The initial range when uncontrolled. Default: null */
|
|
72
|
+
defaultValue?: DateRange | null;
|
|
73
|
+
/** Called with the new range, or `null` when cleared, when the selection changes. */
|
|
74
|
+
onValueChange?: (range: DateRange | null) => void;
|
|
75
|
+
/** Month shown first, as YYYY-MM-DD. Defaults to the range start or today. */
|
|
76
|
+
defaultMonth?: string;
|
|
77
|
+
/** Earliest selectable date, as YYYY-MM-DD. */
|
|
78
|
+
min?: string;
|
|
79
|
+
/** Latest selectable date, as YYYY-MM-DD. */
|
|
80
|
+
max?: string;
|
|
81
|
+
/** Return true for a YYYY-MM-DD date that cannot be picked or spanned. */
|
|
82
|
+
isDateDisabled?: (date: string) => boolean;
|
|
83
|
+
/** Quick-pick ranges shown as buttons below the calendar. Default: [] */
|
|
84
|
+
presets?: DateRangePreset[];
|
|
85
|
+
/** BCP 47 locale for month, weekday and date formats. Defaults to the app locale. */
|
|
86
|
+
locale?: string;
|
|
87
|
+
/** Accessible name for the calendar and trigger. Default: "Choose a date range" */
|
|
88
|
+
label?: string;
|
|
89
|
+
/** Disables every date and control. Default: false */
|
|
90
|
+
disabled?: boolean;
|
|
91
|
+
/** Move focus to the active date on mount, for use inside a popover. */
|
|
92
|
+
autoFocus?: boolean;
|
|
93
|
+
/** Show the selection summary above the calendar. Default true. */
|
|
94
|
+
showSummary?: boolean;
|
|
95
|
+
/** Classes merged onto the inline calendar, or the popover root when composing children. */
|
|
96
|
+
className?: string;
|
|
97
|
+
/** Compose custom controls; omitted children render the inline calendar. */
|
|
98
|
+
children?: ReactNode;
|
|
99
|
+
/** Whether the popover is open, for controlled use. */
|
|
100
|
+
open?: boolean;
|
|
101
|
+
/** Whether the popover starts open when uncontrolled. Default: false */
|
|
102
|
+
defaultOpen?: boolean;
|
|
103
|
+
/** Called with the next open state when the popover opens or closes. */
|
|
104
|
+
onOpenChange?: (open: boolean) => void;
|
|
105
|
+
/** Close an open popover after a single date, complete range or preset. Default false. */
|
|
106
|
+
closeOnSelect?: boolean;
|
|
107
|
+
/** Override any built-in string. */
|
|
108
|
+
labels?: Partial<DateRangePickerMessages>;
|
|
109
|
+
}
|
|
110
|
+
export { dateRangePickerMessages as a, DateRangePickerMessages as i, DateRangePickerProps as n, DateRangePreset as r, DateRange as t };
|
|
111
|
+
//# sourceMappingURL=types-BnHpfLje.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BnHpfLje.d.ts","names":[],"sources":["../src/components/motion/date-range-picker/messages.ts","../src/components/motion/date-range-picker/types.ts"],"mappings":";cAEM;;;;;;;;;cAUO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCD,0BAA0B,YAC7B,sCACM,sBAEb,eAAe;;UC1CA;;EAEf;;EAEA;;UAEe;;EAEf;;EAEA,OAAO;;UAEQ;;;;;;EAMf;;EAEA,QAAQ;;EAER,eAAe;;EAEf,iBAAiB,OAAO;;EAExB;;EAEA;;EAEA;;EAEA,kBAAkB;;EAElB,UAAU;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,WAAW;;EAEX;;EAEA;;EAEA,gBAAgB;;EAEhB;;EAEA,SAAS,QAAQ"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
type ToastStatus = "neutral" | "info" | "loading" | "success" | "error";
|
|
3
|
+
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
4
|
+
type AnimatedToastAction = {
|
|
5
|
+
/** Text of the action button under the description. */
|
|
6
|
+
label: ReactNode;
|
|
7
|
+
/** Fires when the action button is pressed, with the toast it belongs to. */
|
|
8
|
+
onClick: (toast: AnimatedToast) => void;
|
|
9
|
+
};
|
|
10
|
+
type AnimatedToast = {
|
|
11
|
+
/** Unique key, used to update or dismiss the toast. */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Main line, shown in the closed island and the open list. */
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
/** Muted second line, up to 2 lines, hidden in the closed island. */
|
|
16
|
+
description?: ReactNode;
|
|
17
|
+
/** Sets the icon and its colour; `loading` spins the icon. Default: `neutral` */
|
|
18
|
+
status?: ToastStatus;
|
|
19
|
+
/** Icon in the leading chip, used when the stack's `icons` has none for the status. */
|
|
20
|
+
icon?: ReactNode;
|
|
21
|
+
/** Optional button shown under the description. */
|
|
22
|
+
action?: AnimatedToastAction;
|
|
23
|
+
/** Time before the toast closes, in ms; 0 keeps it open. Default: the stack's `defaultDuration` */
|
|
24
|
+
duration?: number;
|
|
25
|
+
/** Set to false to hide the close button. Default: true */
|
|
26
|
+
dismissible?: boolean;
|
|
27
|
+
/** When the countdown started, in ms since epoch. Set by the stack. */
|
|
28
|
+
createdAt?: number;
|
|
29
|
+
};
|
|
30
|
+
type ToastInput = Omit<AnimatedToast, "id" | "createdAt"> & {
|
|
31
|
+
id?: string;
|
|
32
|
+
};
|
|
33
|
+
type ToastClassNames = {
|
|
34
|
+
/** The anchored layer the island sits in. */
|
|
35
|
+
root?: string;
|
|
36
|
+
/** One row of the open list. */
|
|
37
|
+
item?: string;
|
|
38
|
+
/** The island itself. */
|
|
39
|
+
surface?: string;
|
|
40
|
+
/** The round chip around the status icon. */
|
|
41
|
+
iconWrap?: string;
|
|
42
|
+
/** The column holding the title, description and action. */
|
|
43
|
+
content?: string;
|
|
44
|
+
/** The title text. */
|
|
45
|
+
title?: string;
|
|
46
|
+
/** The description text. */
|
|
47
|
+
description?: string;
|
|
48
|
+
/** The action button. */
|
|
49
|
+
action?: string;
|
|
50
|
+
/** The close button. */
|
|
51
|
+
close?: string;
|
|
52
|
+
/** Not applied yet; the toast has no progress bar. */
|
|
53
|
+
progress?: string;
|
|
54
|
+
};
|
|
55
|
+
interface UseAnimatedToastStackOptions {
|
|
56
|
+
/** Toasts in the stack on first render. */
|
|
57
|
+
initialToasts?: ToastInput[];
|
|
58
|
+
/** Time before a toast without its own `duration` closes, in ms. Default: 4200 */
|
|
59
|
+
defaultDuration?: number;
|
|
60
|
+
/** Most toasts kept. Older ones drop off when a new one arrives. */
|
|
61
|
+
limit?: number;
|
|
62
|
+
}
|
|
63
|
+
export { ToastPosition as a, ToastInput as i, AnimatedToastAction as n, ToastStatus as o, ToastClassNames as r, UseAnimatedToastStackOptions as s, AnimatedToast as t };
|
|
64
|
+
//# sourceMappingURL=types-COoUai3R.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-COoUai3R.d.ts","names":[],"sources":["../src/components/motion/animated-toast-stack/types.ts"],"mappings":";KAIY;KACA;KAQA;;EAEV,OAAO;;EAEP,UAAU,OAAO;;KAGP;;EAEV;;EAEA,OAAO;;EAEP,cAAc;;EAEd,SAAS;;EAET,OAAO;;EAEP,SAAS;;EAET;;EAEA;;EAEA;;KAGU,aAAa,KAAK;EAC5B;;KAGU;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;;EAEf,gBAAgB;;EAEhB;;EAEA"}
|
|
@@ -109,8 +109,10 @@ interface AgentActivityProps {
|
|
|
109
109
|
maxHeight?: number;
|
|
110
110
|
/** Override any built-in string. Pick `One`/`Other` keys by count; `{count}`, `{duration}`, `{seconds}` and `{minutes}` fill the matching messages. */
|
|
111
111
|
labels?: Partial<AgentActivityMessages>;
|
|
112
|
+
/** Classes merged onto the root element. */
|
|
112
113
|
className?: string;
|
|
114
|
+
/** Classes merged onto the list of activity items. */
|
|
113
115
|
contentClassName?: string;
|
|
114
116
|
}
|
|
115
117
|
export { AgentActivityStatus as a, AgentActivityTool as c, AgentStepStatus as d, AgentTraceKind as f, agentActivityMessages as h, AgentActivitySearch as i, AgentActivityTrace as l, AgentActivityTranslate as m, AgentActivityItem as n, AgentActivityStep as o, AgentActivityMessages as p, AgentActivityProps as r, AgentActivityText as s, AgentActivityContentType as t, AgentSearchResult as u };
|
|
116
|
-
//# sourceMappingURL=types-
|
|
118
|
+
//# sourceMappingURL=types-CbBZy33k.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-CbBZy33k.d.ts","names":[],"sources":["../src/components/agents/agent-activity/messages.ts","../src/components/agents/agent-activity/types.ts"],"mappings":";cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BD,+BAA+B;KAE/B,0BACV,WAAW,uBACX,SAAS;KC3BC;KACA;UAEK;EACf;EACA;EACA,OAAO;EACP,SAAS;EACT,OAAO;;UAGQ;EACf;EACA;EACA,SAAS;;UAGM;EACf;EACA,OAAO;EACP,SAAS;EACT;EACA,OAAO;;UAGQ;EACf;EACA;EACA,OAAO;EACP,UAAU;EACV;;UAGe;EACf;EACA;EACA;EACA,QAAQ;EACR;EACA;;KAGU;UAEK;EACf;EACA;EACA,MAAM;EACN,OAAO;EACP,SAAS;EACT,OAAO;;KAGG,oBACR,oBACA,oBACA,sBACA,oBACA;KAEQ,2BAA2B;UAEtB;;EAEf,OAAO;;EAEP,cAAc;;EAEd,SAAS;;EAET;;EAEA;;EAEA;;EAEA,gBAAgB;;EAEhB;;EAEA,cAAc;;EAEd,UAAU;;EAEV,uBAAuB;IAAW,OAAO;IAAW;QAAuB;;EAE3E,yBAAyB;IAAW,SAAS;IAAW;QAAuB;;EAE/E;;EAEA,SAAS,QAAQ;;EAEjB;;EAEA"}
|