@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
|
@@ -1,36 +1,48 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
export interface ComboboxListProps {
|
|
3
3
|
children: ReactNode;
|
|
4
|
+
/** Accessible name for the list. Default: "Options" */
|
|
4
5
|
ariaLabel?: string;
|
|
6
|
+
/** Classes merged onto the scrolling list element. */
|
|
5
7
|
className?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare function ComboboxList({ children, ariaLabel, className }: ComboboxListProps): import("react").JSX.Element;
|
|
8
10
|
export interface ComboboxGroupProps {
|
|
9
11
|
children: ReactNode;
|
|
12
|
+
/** Classes merged onto the group element. */
|
|
10
13
|
className?: string;
|
|
11
14
|
}
|
|
12
15
|
export declare function ComboboxGroup({ children, className }: ComboboxGroupProps): import("react").JSX.Element;
|
|
13
16
|
export interface ComboboxLabelProps {
|
|
14
17
|
children: ReactNode;
|
|
18
|
+
/** Classes merged onto the label element. */
|
|
15
19
|
className?: string;
|
|
16
20
|
}
|
|
17
21
|
export declare function ComboboxLabel({ children, className }: ComboboxLabelProps): import("react").JSX.Element;
|
|
18
22
|
export interface ComboboxItemProps {
|
|
23
|
+
/** Unique value set on the combobox when this item is picked. */
|
|
19
24
|
value: string;
|
|
20
25
|
children: ReactNode;
|
|
26
|
+
/** Text used for search and the selected label. Default: string children, else `value` */
|
|
21
27
|
textValue?: string;
|
|
28
|
+
/** Extra search terms that match this item. */
|
|
22
29
|
keywords?: string[];
|
|
30
|
+
/** Dims the item and stops it from being picked. Default: false */
|
|
23
31
|
disabled?: boolean;
|
|
32
|
+
/** Called with the item's value when it is picked. */
|
|
24
33
|
onSelect?: (value: string) => void;
|
|
34
|
+
/** Classes merged onto the item button. */
|
|
25
35
|
className?: string;
|
|
26
36
|
}
|
|
27
37
|
export declare function ComboboxItem({ value, children, textValue, keywords, disabled, onSelect, className }: ComboboxItemProps): import("react").JSX.Element | null;
|
|
28
38
|
export interface ComboboxEmptyProps {
|
|
29
39
|
children?: ReactNode;
|
|
40
|
+
/** Classes merged onto the empty message. */
|
|
30
41
|
className?: string;
|
|
31
42
|
}
|
|
32
43
|
export declare function ComboboxEmpty({ children, className }: ComboboxEmptyProps): import("react").JSX.Element | null;
|
|
33
44
|
export interface ComboboxSeparatorProps {
|
|
45
|
+
/** Classes merged onto the separator line. */
|
|
34
46
|
className?: string;
|
|
35
47
|
}
|
|
36
48
|
export declare function ComboboxSeparator({ className }: ComboboxSeparatorProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"mappings":";iBAUiB;EACf,UAAU
|
|
1
|
+
{"version":3,"file":"list.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"mappings":";iBAUiB;EACf,UAAU;;EAEV;;EAEA;;wBAGc,eAAe,UAAU,WAAW,aAAa,oCAAiB,IAAA;iBAiBjE;EACf,UAAU;;EAEV;;wBAGc,gBAAgB,UAAU,aAAa,qCAAkB,IAAA;iBAexD;EACf,UAAU;;EAEV;;wBAGc,gBAAgB,UAAU,aAAa,qCAAkB,IAAA;iBAaxD;;EAEf;EACA,UAAU;;EAEV;;EAEA;;EAEA;;EAEA,YAAY;;EAEZ;;wBAGc,eACd,OACA,UACA,WACA,UACA,UACA,UACA,aACC,oCAAiB,IAAA;iBAoFH;EACf,WAAW;;EAEX;;wBAGc,gBAAgB,UAAU,aAAa,qCAAkB,IAAA;iBAaxD;;EAEf;;wBAGc,oBAAoB,aAAa,yCAAsB,IAAA"}
|
|
@@ -4,7 +4,7 @@ import { Check } from "lucide-react";
|
|
|
4
4
|
import { motion } from "motion/react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
6
|
import { EASE_OUT, SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
7
|
-
import {
|
|
7
|
+
import { i as useComboboxContext, r as ComboboxGroupContext } from "../../../context-CIzAPhXA.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
// src/components/motion/combobox/list.tsx
|
|
10
10
|
function ComboboxList({ children, ariaLabel, className }) {
|
|
@@ -13,7 +13,7 @@ function ComboboxList({ children, ariaLabel, className }) {
|
|
|
13
13
|
id: context.listId,
|
|
14
14
|
role: "listbox",
|
|
15
15
|
"aria-label": ariaLabel ?? context.t("listLabel"),
|
|
16
|
-
className: cn("relative isolate max-h-64 scrollbar-none overflow-y-auto overscroll-contain p-
|
|
16
|
+
className: cn("relative isolate max-h-64 scrollbar-none overflow-y-auto overscroll-contain p-2 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden", className),
|
|
17
17
|
children
|
|
18
18
|
});
|
|
19
19
|
}
|
|
@@ -31,7 +31,7 @@ function ComboboxGroup({ children, className }) {
|
|
|
31
31
|
}
|
|
32
32
|
function ComboboxLabel({ children, className }) {
|
|
33
33
|
const groupId = useContext(ComboboxGroupContext);
|
|
34
|
-
const labelClassName = cn("text-muted-foreground w-full px-
|
|
34
|
+
const labelClassName = cn("text-muted-foreground w-full px-3 py-1.5 text-[11px] font-medium tracking-[0.12em] uppercase", className);
|
|
35
35
|
return groupId ? /* @__PURE__ */ jsx("legend", {
|
|
36
36
|
className: labelClassName,
|
|
37
37
|
children
|
|
@@ -94,7 +94,7 @@ function ComboboxItem({ value, children, textValue, keywords = [], disabled = fa
|
|
|
94
94
|
onSelect?.(value);
|
|
95
95
|
context.select(value);
|
|
96
96
|
},
|
|
97
|
-
className: cn("relative flex w-full items-center gap-2 rounded-lg px-
|
|
97
|
+
className: cn("relative flex w-full items-center gap-2 rounded-lg px-3 py-1.5 text-left text-sm transition-colors duration-150 outline-none", active ? "text-foreground" : "text-muted-foreground", "disabled:pointer-events-none disabled:opacity-45", className),
|
|
98
98
|
children: [
|
|
99
99
|
active ? /* @__PURE__ */ jsx(motion.span, {
|
|
100
100
|
"aria-hidden": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"sourcesContent":["\"use client\";\n\nimport { type ReactNode, useContext, useId, useLayoutEffect, useMemo, useRef } from \"react\";\nimport { Check } from \"lucide-react\";\nimport { motion } from \"motion/react\";\n\nimport { cn } from \"@kumix/utils\";\nimport { EASE_OUT, SPRING_LAYOUT } from \"../../../lib/ease\";\nimport { ComboboxGroupContext, useComboboxContext } from \"./context\";\n\nexport interface ComboboxListProps {\n children: ReactNode;\n ariaLabel?: string;\n className?: string;\n}\n\nexport function ComboboxList({ children, ariaLabel, className }: ComboboxListProps) {\n const context = useComboboxContext(\"ComboboxList\");\n return (\n <div\n id={context.listId}\n role=\"listbox\"\n aria-label={ariaLabel ?? context.t(\"listLabel\")}\n className={cn(\n \"relative isolate max-h-64 scrollbar-none overflow-y-auto overscroll-contain p-
|
|
1
|
+
{"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"sourcesContent":["\"use client\";\n\nimport { type ReactNode, useContext, useId, useLayoutEffect, useMemo, useRef } from \"react\";\nimport { Check } from \"lucide-react\";\nimport { motion } from \"motion/react\";\n\nimport { cn } from \"@kumix/utils\";\nimport { EASE_OUT, SPRING_LAYOUT } from \"../../../lib/ease\";\nimport { ComboboxGroupContext, useComboboxContext } from \"./context\";\n\nexport interface ComboboxListProps {\n children: ReactNode;\n /** Accessible name for the list. Default: \"Options\" */\n ariaLabel?: string;\n /** Classes merged onto the scrolling list element. */\n className?: string;\n}\n\nexport function ComboboxList({ children, ariaLabel, className }: ComboboxListProps) {\n const context = useComboboxContext(\"ComboboxList\");\n return (\n <div\n id={context.listId}\n role=\"listbox\"\n aria-label={ariaLabel ?? context.t(\"listLabel\")}\n className={cn(\n \"relative isolate max-h-64 scrollbar-none overflow-y-auto overscroll-contain p-2 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden\",\n className,\n )}\n >\n {children}\n </div>\n );\n}\n\nexport interface ComboboxGroupProps {\n children: ReactNode;\n /** Classes merged onto the group element. */\n className?: string;\n}\n\nexport function ComboboxGroup({ children, className }: ComboboxGroupProps) {\n const context = useComboboxContext(\"ComboboxGroup\");\n const groupId = useId();\n return (\n <ComboboxGroupContext.Provider value={groupId}>\n <fieldset\n hidden={!context.hasVisibleItems(groupId)}\n className={cn(\"m-0 min-w-0 border-0 p-0 py-0.5\", className)}\n >\n {children}\n </fieldset>\n </ComboboxGroupContext.Provider>\n );\n}\n\nexport interface ComboboxLabelProps {\n children: ReactNode;\n /** Classes merged onto the label element. */\n className?: string;\n}\n\nexport function ComboboxLabel({ children, className }: ComboboxLabelProps) {\n const groupId = useContext(ComboboxGroupContext);\n const labelClassName = cn(\n \"text-muted-foreground w-full px-3 py-1.5 text-[11px] font-medium tracking-[0.12em] uppercase\",\n className,\n );\n return groupId ? (\n <legend className={labelClassName}>{children}</legend>\n ) : (\n <div className={labelClassName}>{children}</div>\n );\n}\n\nexport interface ComboboxItemProps {\n /** Unique value set on the combobox when this item is picked. */\n value: string;\n children: ReactNode;\n /** Text used for search and the selected label. Default: string children, else `value` */\n textValue?: string;\n /** Extra search terms that match this item. */\n keywords?: string[];\n /** Dims the item and stops it from being picked. Default: false */\n disabled?: boolean;\n /** Called with the item's value when it is picked. */\n onSelect?: (value: string) => void;\n /** Classes merged onto the item button. */\n className?: string;\n}\n\nexport function ComboboxItem({\n value,\n children,\n textValue,\n keywords = [],\n disabled = false,\n onSelect,\n className,\n}: ComboboxItemProps) {\n const context = useComboboxContext(\"ComboboxItem\");\n const groupId = useContext(ComboboxGroupContext);\n const id = useId();\n const itemRef = useRef<HTMLButtonElement>(null);\n const label = textValue ?? (typeof children === \"string\" ? children : value);\n const visible = context.isVisible(value);\n const active = context.activeValue === value;\n const selected = context.value === value;\n const keywordKey = keywords.join(\"\\u0000\");\n const normalizedKeywords = useMemo(\n () => (keywordKey ? keywordKey.split(\"\\u0000\") : []),\n [keywordKey],\n );\n const { registerItem, unregisterItem } = context;\n\n useLayoutEffect(() => {\n registerItem({\n value,\n label,\n keywords: normalizedKeywords,\n disabled,\n groupId,\n id,\n ref: itemRef,\n });\n return () => unregisterItem(value);\n }, [disabled, groupId, id, label, normalizedKeywords, registerItem, unregisterItem, value]);\n\n if (!visible) return null;\n\n return (\n <button\n ref={itemRef}\n id={id}\n type=\"button\"\n role=\"option\"\n aria-selected={selected}\n disabled={disabled}\n tabIndex={-1}\n data-combobox-item=\"\"\n data-active={active || undefined}\n data-selected={selected || undefined}\n onPointerMove={() => {\n if (!disabled) context.setActiveValue(value);\n }}\n onPointerDown={(event) => event.preventDefault()}\n onClick={() => {\n if (disabled) return;\n onSelect?.(value);\n context.select(value);\n }}\n className={cn(\n \"relative flex w-full items-center gap-2 rounded-lg px-3 py-1.5 text-left text-sm transition-colors duration-150 outline-none\",\n active ? \"text-foreground\" : \"text-muted-foreground\",\n \"disabled:pointer-events-none disabled:opacity-45\",\n className,\n )}\n >\n {active ? (\n <motion.span\n aria-hidden\n layoutId={context.activeLayoutId}\n className=\"bg-muted absolute inset-0 -z-10 rounded-lg\"\n transition={context.reduce ? { duration: 0 } : SPRING_LAYOUT}\n />\n ) : null}\n <span className=\"min-w-0 flex-1\">{children}</span>\n <motion.span\n aria-hidden\n initial={false}\n animate={{\n opacity: selected ? 1 : 0,\n transform: selected ? \"scale(1)\" : \"scale(0.82)\",\n }}\n transition={context.reduce ? { duration: 0 } : { duration: 0.14, ease: EASE_OUT }}\n className=\"text-foreground grid size-5 shrink-0 place-items-center\"\n >\n <Check className=\"size-4\" />\n </motion.span>\n </button>\n );\n}\n\nexport interface ComboboxEmptyProps {\n children?: ReactNode;\n /** Classes merged onto the empty message. */\n className?: string;\n}\n\nexport function ComboboxEmpty({ children, className }: ComboboxEmptyProps) {\n const context = useComboboxContext(\"ComboboxEmpty\");\n if (context.visibleCount > 0) return null;\n return (\n <div\n role=\"status\"\n className={cn(\"text-muted-foreground px-3 py-8 text-center text-sm\", className)}\n >\n {children ?? context.t(\"empty\")}\n </div>\n );\n}\n\nexport interface ComboboxSeparatorProps {\n /** Classes merged onto the separator line. */\n className?: string;\n}\n\nexport function ComboboxSeparator({ className }: ComboboxSeparatorProps) {\n return <div aria-hidden className={cn(\"bg-border -mx-1 my-1 h-px\", className)} />;\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
3
|
+
import { motion } from "motion/react";
|
|
4
|
+
import { createPortal } from "react-dom";
|
|
5
|
+
import { cn } from "@kumix/utils";
|
|
6
|
+
import { SPRING_MORPH } from "../../../lib/ease.js";
|
|
7
|
+
import { t as usePopoverPortalPosition } from "../../../popover-position-U1ZMRPsY.js";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
// src/components/motion/combobox/listbox-panel.tsx
|
|
10
|
+
const VIEWPORT_PADDING = 8;
|
|
11
|
+
/**
|
|
12
|
+
* The portaled panel Combobox and Multi Select open into: anchored to the
|
|
13
|
+
* field, flipped to the side with room, and revealed from the field's edge on
|
|
14
|
+
* one spring. Each component passes its own open state and refs, and `name` keeps
|
|
15
|
+
* its `data-<name>-content` attribute and `--<name>-trigger-width` variable.
|
|
16
|
+
*/
|
|
17
|
+
function ListboxPanel({ name, open, reduce, triggerRef, contentRef, children, side = "bottom", align = "start", sideOffset = 6, avoidCollisions = true, className }) {
|
|
18
|
+
const measureRef = useRef(null);
|
|
19
|
+
const [portalReady, setPortalReady] = useState(false);
|
|
20
|
+
const [actualSide, setActualSide] = useState(side);
|
|
21
|
+
const [morphReady, setMorphReady] = useState(false);
|
|
22
|
+
const [settledClosed, setSettledClosed] = useState(!open);
|
|
23
|
+
if (open && settledClosed) setSettledClosed(false);
|
|
24
|
+
const layout = usePopoverPortalPosition(triggerRef, measureRef, portalReady);
|
|
25
|
+
useEffect(() => setPortalReady(true), []);
|
|
26
|
+
useLayoutEffect(() => {
|
|
27
|
+
if (!portalReady) return;
|
|
28
|
+
const readyFrame = requestAnimationFrame(() => setMorphReady(true));
|
|
29
|
+
return () => cancelAnimationFrame(readyFrame);
|
|
30
|
+
}, [portalReady]);
|
|
31
|
+
useLayoutEffect(() => {
|
|
32
|
+
if (!layout || !open && !settledClosed) return;
|
|
33
|
+
if (!avoidCollisions) {
|
|
34
|
+
setActualSide(side);
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const below = window.innerHeight - (layout.trigger.top + layout.trigger.height);
|
|
38
|
+
const above = layout.trigger.top;
|
|
39
|
+
if (side === "bottom" && below < layout.content.height + sideOffset && above > below) setActualSide("top");
|
|
40
|
+
else if (side === "top" && above < layout.content.height + sideOffset && below > above) setActualSide("bottom");
|
|
41
|
+
else setActualSide(side);
|
|
42
|
+
}, [
|
|
43
|
+
avoidCollisions,
|
|
44
|
+
open,
|
|
45
|
+
settledClosed,
|
|
46
|
+
layout,
|
|
47
|
+
side,
|
|
48
|
+
sideOffset
|
|
49
|
+
]);
|
|
50
|
+
if (!portalReady) return null;
|
|
51
|
+
const triggerLeft = layout?.trigger.left ?? 0;
|
|
52
|
+
const triggerWidth = layout?.trigger.width ?? 0;
|
|
53
|
+
const contentWidth = layout?.content.width ?? triggerWidth;
|
|
54
|
+
const desiredLeft = align === "end" ? triggerLeft + triggerWidth - contentWidth : align === "center" ? triggerLeft + (triggerWidth - contentWidth) / 2 : triggerLeft;
|
|
55
|
+
const maxLeft = Math.max(VIEWPORT_PADDING, window.innerWidth - contentWidth - VIEWPORT_PADDING);
|
|
56
|
+
const left = Math.min(Math.max(desiredLeft, VIEWPORT_PADDING), maxLeft);
|
|
57
|
+
const transition = reduce || !morphReady ? { duration: 0 } : SPRING_MORPH;
|
|
58
|
+
const clipClosed = actualSide === "bottom" ? "inset(0% 0% 100% 0% round 16px)" : "inset(100% 0% 0% 0% round 16px)";
|
|
59
|
+
const clipOpen = "inset(0% 0% 0% 0% round 16px)";
|
|
60
|
+
return createPortal(/* @__PURE__ */ jsx(motion.div, {
|
|
61
|
+
ref: contentRef,
|
|
62
|
+
[`data-${name}-content`]: "",
|
|
63
|
+
"data-side": actualSide,
|
|
64
|
+
"aria-hidden": !open,
|
|
65
|
+
inert: !open,
|
|
66
|
+
initial: false,
|
|
67
|
+
animate: {
|
|
68
|
+
clipPath: open ? clipOpen : clipClosed,
|
|
69
|
+
opacity: open ? 1 : 0,
|
|
70
|
+
y: open ? actualSide === "bottom" ? sideOffset : -sideOffset : 0
|
|
71
|
+
},
|
|
72
|
+
transition,
|
|
73
|
+
onAnimationComplete: () => {
|
|
74
|
+
if (!open) setSettledClosed(true);
|
|
75
|
+
},
|
|
76
|
+
style: {
|
|
77
|
+
left,
|
|
78
|
+
top: actualSide === "bottom" && layout ? layout.trigger.top + layout.trigger.height : void 0,
|
|
79
|
+
bottom: actualSide === "top" && layout ? window.innerHeight - layout.trigger.top : void 0,
|
|
80
|
+
minWidth: triggerWidth,
|
|
81
|
+
pointerEvents: open ? "auto" : "none",
|
|
82
|
+
transformOrigin: actualSide === "bottom" ? "top" : "bottom",
|
|
83
|
+
visibility: layout ? "visible" : "hidden",
|
|
84
|
+
"--listbox-trigger-width": `${triggerWidth}px`,
|
|
85
|
+
[`--${name}-trigger-width`]: `${triggerWidth}px`
|
|
86
|
+
},
|
|
87
|
+
className: cn("border-border bg-background text-popover-foreground fixed z-[9999] w-(--listbox-trigger-width) overflow-hidden rounded-2xl border will-change-[clip-path,transform] outline-none", className),
|
|
88
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
89
|
+
ref: measureRef,
|
|
90
|
+
initial: false,
|
|
91
|
+
animate: { opacity: open ? 1 : 0 },
|
|
92
|
+
transition,
|
|
93
|
+
children
|
|
94
|
+
})
|
|
95
|
+
}), document.body);
|
|
96
|
+
}
|
|
97
|
+
export { ListboxPanel };
|
|
98
|
+
|
|
99
|
+
//# sourceMappingURL=listbox-panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox-panel.js","names":[],"sources":["../../../../src/components/motion/combobox/listbox-panel.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n type CSSProperties,\n type ReactNode,\n type RefObject,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from \"react\";\nimport { motion } from \"motion/react\";\nimport { createPortal } from \"react-dom\";\n\nimport { cn } from \"@kumix/utils\";\nimport { SPRING_MORPH } from \"../../../lib/ease\";\nimport { usePopoverPortalPosition } from \"../popover-position\";\n\nexport type ListboxPanelSide = \"top\" | \"bottom\";\nexport type ListboxPanelAlign = \"start\" | \"center\" | \"end\";\n\nconst VIEWPORT_PADDING = 8;\n\nexport interface ListboxPanelPlacement {\n /** Preferred side of the field to open on. Default: \"bottom\" */\n side?: ListboxPanelSide;\n /** Horizontal alignment against the field. Default: \"start\" */\n align?: ListboxPanelAlign;\n /** Gap between the field and the panel, in px. Default: 6 */\n sideOffset?: number;\n /** Flip to the other side when there is more room there. Default: true */\n avoidCollisions?: boolean;\n /** Classes merged onto the panel element. */\n className?: string;\n}\n\n/**\n * The portaled panel Combobox and Multi Select open into: anchored to the\n * field, flipped to the side with room, and revealed from the field's edge on\n * one spring. Each component passes its own open state and refs, and `name` keeps\n * its `data-<name>-content` attribute and `--<name>-trigger-width` variable.\n */\nexport function ListboxPanel({\n name,\n open,\n reduce,\n triggerRef,\n contentRef,\n children,\n side = \"bottom\",\n align = \"start\",\n sideOffset = 6,\n avoidCollisions = true,\n className,\n}: ListboxPanelPlacement & {\n name: \"combobox\" | \"multi-select\";\n open: boolean;\n reduce: boolean;\n triggerRef: RefObject<HTMLDivElement | null>;\n contentRef: RefObject<HTMLDivElement | null>;\n children: ReactNode;\n}) {\n const measureRef = useRef<HTMLDivElement>(null);\n const [portalReady, setPortalReady] = useState(false);\n const [actualSide, setActualSide] = useState<ListboxPanelSide>(side);\n const [morphReady, setMorphReady] = useState(false);\n // Fully closed: the close animation has finished, or nothing has opened yet.\n const [settledClosed, setSettledClosed] = useState(!open);\n if (open && settledClosed) setSettledClosed(false);\n const layout = usePopoverPortalPosition(triggerRef, measureRef, portalReady);\n\n useEffect(() => setPortalReady(true), []);\n useLayoutEffect(() => {\n if (!portalReady) return;\n const readyFrame = requestAnimationFrame(() => setMorphReady(true));\n return () => cancelAnimationFrame(readyFrame);\n }, [portalReady]);\n\n useLayoutEffect(() => {\n // Preserve the resolved side during exit, so top panels close upward. Once\n // closed it follows the field again, so the next reveal starts from the\n // edge the panel will open on.\n if (!layout || (!open && !settledClosed)) return;\n if (!avoidCollisions) {\n setActualSide(side);\n return;\n }\n const below = window.innerHeight - (layout.trigger.top + layout.trigger.height);\n const above = layout.trigger.top;\n if (side === \"bottom\" && below < layout.content.height + sideOffset && above > below)\n setActualSide(\"top\");\n else if (side === \"top\" && above < layout.content.height + sideOffset && below > above)\n setActualSide(\"bottom\");\n else setActualSide(side);\n }, [avoidCollisions, open, settledClosed, layout, side, sideOffset]);\n\n if (!portalReady) return null;\n\n const triggerLeft = layout?.trigger.left ?? 0;\n const triggerWidth = layout?.trigger.width ?? 0;\n const contentWidth = layout?.content.width ?? triggerWidth;\n const desiredLeft =\n align === \"end\"\n ? triggerLeft + triggerWidth - contentWidth\n : align === \"center\"\n ? triggerLeft + (triggerWidth - contentWidth) / 2\n : triggerLeft;\n const maxLeft = Math.max(VIEWPORT_PADDING, window.innerWidth - contentWidth - VIEWPORT_PADDING);\n const left = Math.min(Math.max(desiredLeft, VIEWPORT_PADDING), maxLeft);\n const transition = reduce || !morphReady ? { duration: 0 } : SPRING_MORPH;\n // Revealed from the field's edge by a clip, so the panel keeps its size and\n // nothing reflows while it opens. Percentages throughout, so motion can\n // interpolate every edge.\n const clipClosed =\n actualSide === \"bottom\" ? \"inset(0% 0% 100% 0% round 16px)\" : \"inset(100% 0% 0% 0% round 16px)\";\n const clipOpen = \"inset(0% 0% 0% 0% round 16px)\";\n\n return createPortal(\n <motion.div\n ref={contentRef}\n {...{ [`data-${name}-content`]: \"\" }}\n data-side={actualSide}\n aria-hidden={!open}\n inert={!open}\n initial={false}\n animate={{\n clipPath: open ? clipOpen : clipClosed,\n opacity: open ? 1 : 0,\n y: open ? (actualSide === \"bottom\" ? sideOffset : -sideOffset) : 0,\n }}\n transition={transition}\n onAnimationComplete={() => {\n if (!open) setSettledClosed(true);\n }}\n style={\n {\n left,\n top:\n actualSide === \"bottom\" && layout\n ? layout.trigger.top + layout.trigger.height\n : undefined,\n bottom:\n actualSide === \"top\" && layout ? window.innerHeight - layout.trigger.top : undefined,\n minWidth: triggerWidth,\n pointerEvents: open ? \"auto\" : \"none\",\n transformOrigin: actualSide === \"bottom\" ? \"top\" : \"bottom\",\n visibility: layout ? \"visible\" : \"hidden\",\n \"--listbox-trigger-width\": `${triggerWidth}px`,\n [`--${name}-trigger-width`]: `${triggerWidth}px`,\n } as CSSProperties\n }\n className={cn(\n \"border-border bg-background text-popover-foreground fixed z-[9999] w-(--listbox-trigger-width) overflow-hidden rounded-2xl border will-change-[clip-path,transform] outline-none\",\n className,\n )}\n >\n <motion.div\n ref={measureRef}\n initial={false}\n animate={{ opacity: open ? 1 : 0 }}\n transition={transition}\n >\n {children}\n </motion.div>\n </motion.div>,\n document.body,\n );\n}\n"],"mappings":"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"}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { InputHTMLAttributes, ReactNode, Ref } from "react";
|
|
2
2
|
export interface ComboboxTriggerProps {
|
|
3
3
|
children: ReactNode;
|
|
4
|
+
/** Classes merged onto the trigger field. */
|
|
4
5
|
className?: string;
|
|
5
6
|
}
|
|
6
7
|
export declare function ComboboxTrigger({ children, className }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
7
8
|
export interface ComboboxValueProps {
|
|
9
|
+
/** Shown while nothing is selected. Default: "Select an option" */
|
|
8
10
|
placeholder?: ReactNode;
|
|
9
11
|
children?: ReactNode | ((value: string | undefined, label: string | undefined) => ReactNode);
|
|
12
|
+
/** Classes merged onto the value text. */
|
|
10
13
|
className?: string;
|
|
11
14
|
}
|
|
12
15
|
export declare function ComboboxValue({ placeholder, children, className }: ComboboxValueProps): import("react").JSX.Element;
|
|
13
16
|
export interface ComboboxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "value"> {
|
|
17
|
+
/** Ref to the underlying input element. */
|
|
14
18
|
ref?: Ref<HTMLInputElement>;
|
|
19
|
+
/** Classes merged onto the wrapper around the search icon and input. */
|
|
15
20
|
wrapperClassName?: string;
|
|
16
21
|
}
|
|
17
22
|
export declare function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLabel, onChange, onClick, onFocus, onKeyDown, onPointerDown, placeholder, ...props }: ComboboxInputProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";iBAgBiB;EACf,UAAU;;EAEV;;wBAGc,kBAAkB,UAAU,aAAa,uCAAoB,IAAA;iBA6B5D;;EAEf,cAAc;EACd,WAAW,cAAc,2BAA2B,8BAA8B;;EAElF;;wBAGc,gBAAgB,aAAa,UAAU,aAAa,qCAAkB,IAAA;iBAqBrE,2BACP,KAAK,oBAAoB;;EAEjC,MAAM,IAAI;;EAEV;;wBAGc,gBACd,KACA,WACA,gCACc,WACd,UACA,SACA,SACA,WACA,eACA,gBACG,SACF,qCAAkB,IAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { useMemo } from "react";
|
|
2
3
|
import { ChevronsUpDown, Search } from "lucide-react";
|
|
3
4
|
import { cn } from "@kumix/utils";
|
|
4
|
-
import {
|
|
5
|
+
import { useTouchCapable } from "../../../hooks/use-touch-capable.js";
|
|
6
|
+
import { mergeRefs } from "../../../lib/merge-refs.js";
|
|
7
|
+
import { i as useComboboxContext } from "../../../context-CIzAPhXA.js";
|
|
5
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
9
|
// src/components/motion/combobox/trigger.tsx
|
|
7
10
|
function ComboboxTrigger({ children, className }) {
|
|
@@ -16,7 +19,7 @@ function ComboboxTrigger({ children, className }) {
|
|
|
16
19
|
context.inputRef.current?.focus({ preventScroll: true });
|
|
17
20
|
context.setOpen(true);
|
|
18
21
|
},
|
|
19
|
-
className: cn("border-border text-foreground relative z-20 flex h-10 w-full min-w-52 cursor-text items-center justify-between gap-3 rounded-
|
|
22
|
+
className: cn("border-border text-foreground relative z-20 flex h-10 w-full min-w-52 cursor-text items-center justify-between gap-3 rounded-full border bg-transparent px-4 text-sm transition-[border-color] hover:border-(--color-border-strong)", "focus-within:ring-foreground/20 focus-within:ring-2", context.disabled && "pointer-events-none opacity-50", className),
|
|
20
23
|
children: [/* @__PURE__ */ jsx("span", {
|
|
21
24
|
className: "min-w-0 flex-1 text-left",
|
|
22
25
|
children
|
|
@@ -38,6 +41,9 @@ function ComboboxValue({ placeholder, children, className }) {
|
|
|
38
41
|
}
|
|
39
42
|
function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLabel, onChange, onClick, onFocus, onKeyDown, onPointerDown, placeholder, ...props }) {
|
|
40
43
|
const context = useComboboxContext("ComboboxInput");
|
|
44
|
+
const { inputRef } = context;
|
|
45
|
+
const mergedRef = useMemo(() => mergeRefs(ref, inputRef), [ref, inputRef]);
|
|
46
|
+
const canTouch = useTouchCapable();
|
|
41
47
|
const selectedLabel = context.labelFor(context.value);
|
|
42
48
|
const handleKeyDown = (event) => {
|
|
43
49
|
onKeyDown?.(event);
|
|
@@ -72,7 +78,7 @@ function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLab
|
|
|
72
78
|
className: "text-muted-foreground size-4 shrink-0"
|
|
73
79
|
}), /* @__PURE__ */ jsx("input", {
|
|
74
80
|
...props,
|
|
75
|
-
ref:
|
|
81
|
+
ref: mergedRef,
|
|
76
82
|
id: context.inputId,
|
|
77
83
|
role: "combobox",
|
|
78
84
|
"aria-label": ariaLabel ?? context.t("inputLabel"),
|
|
@@ -105,7 +111,7 @@ function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLab
|
|
|
105
111
|
onChange?.(event);
|
|
106
112
|
},
|
|
107
113
|
onKeyDown: handleKeyDown,
|
|
108
|
-
className: cn("text-foreground placeholder:text-muted-foreground h-10 min-w-0 flex-1 bg-transparent
|
|
114
|
+
className: cn("text-foreground placeholder:text-muted-foreground h-10 min-w-0 flex-1 bg-transparent outline-none disabled:cursor-not-allowed", "text-(length:--combobox-input-size,--theme(--text-sm,inherit))/[--theme(--text-sm--line-height,inherit)]", "any-pointer-coarse:[--combobox-input-size:max(16px,--theme(--text-base,1rem))]", canTouch && "[--combobox-input-size:max(16px,--theme(--text-base,1rem))]", className)
|
|
109
115
|
})]
|
|
110
116
|
});
|
|
111
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"sourcesContent":["\"use client\";\n\nimport
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n type InputHTMLAttributes,\n type KeyboardEvent as ReactKeyboardEvent,\n type ReactNode,\n type Ref,\n useMemo,\n} from \"react\";\nimport { ChevronsUpDown, Search } from \"lucide-react\";\n\nimport { cn } from \"@kumix/utils\";\nimport { useTouchCapable } from \"../../../hooks/use-touch-capable\";\nimport { mergeRefs } from \"../../../lib/merge-refs\";\nimport { useComboboxContext } from \"./context\";\n\nexport interface ComboboxTriggerProps {\n children: ReactNode;\n /** Classes merged onto the trigger field. */\n className?: string;\n}\n\nexport function ComboboxTrigger({ children, className }: ComboboxTriggerProps) {\n const context = useComboboxContext(\"ComboboxTrigger\");\n\n return (\n <div\n ref={context.triggerRef}\n id={context.triggerId}\n data-state={context.open ? \"open\" : \"closed\"}\n onPointerDown={(event) => {\n if (context.disabled || event.target === context.inputRef.current) return;\n event.preventDefault();\n context.inputRef.current?.focus({ preventScroll: true });\n context.setOpen(true);\n }}\n className={cn(\n \"border-border text-foreground relative z-20 flex h-10 w-full min-w-52 cursor-text items-center justify-between gap-3 rounded-full border bg-transparent px-4 text-sm transition-[border-color] hover:border-(--color-border-strong)\",\n \"focus-within:ring-foreground/20 focus-within:ring-2\",\n context.disabled && \"pointer-events-none opacity-50\",\n className,\n )}\n >\n <span className=\"min-w-0 flex-1 text-left\">{children}</span>\n <span aria-hidden className=\"text-muted-foreground shrink-0\">\n <ChevronsUpDown className=\"size-4\" />\n </span>\n </div>\n );\n}\n\nexport interface ComboboxValueProps {\n /** Shown while nothing is selected. Default: \"Select an option\" */\n placeholder?: ReactNode;\n children?: ReactNode | ((value: string | undefined, label: string | undefined) => ReactNode);\n /** Classes merged onto the value text. */\n className?: string;\n}\n\nexport function ComboboxValue({ placeholder, children, className }: ComboboxValueProps) {\n const context = useComboboxContext(\"ComboboxValue\");\n const label = context.labelFor(context.value);\n const content =\n typeof children === \"function\"\n ? children(context.value, label)\n : (children ?? label ?? placeholder ?? context.t(\"valuePlaceholder\"));\n\n return (\n <span\n className={cn(\n \"block truncate\",\n context.value === undefined ? \"text-muted-foreground\" : \"text-foreground\",\n className,\n )}\n >\n {content}\n </span>\n );\n}\n\nexport interface ComboboxInputProps\n extends Omit<InputHTMLAttributes<HTMLInputElement>, \"defaultValue\" | \"value\"> {\n /** Ref to the underlying input element. */\n ref?: Ref<HTMLInputElement>;\n /** Classes merged onto the wrapper around the search icon and input. */\n wrapperClassName?: string;\n}\n\nexport function ComboboxInput({\n ref,\n className,\n wrapperClassName,\n \"aria-label\": ariaLabel,\n onChange,\n onClick,\n onFocus,\n onKeyDown,\n onPointerDown,\n placeholder,\n ...props\n}: ComboboxInputProps) {\n const context = useComboboxContext(\"ComboboxInput\");\n const { inputRef } = context;\n const mergedRef = useMemo(() => mergeRefs(ref, inputRef), [ref, inputRef]);\n const canTouch = useTouchCapable();\n const selectedLabel = context.labelFor(context.value);\n\n const handleKeyDown = (event: ReactKeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n\n if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\") {\n event.preventDefault();\n // Opening is the whole action. While closed the list is still filtering\n // by the query the last session left, so a step taken here would be\n // measured against rows the next render replaces - and stamped with a\n // query it no longer has, which discards it. Open onto the selection,\n // and let the next key step through the list the user can see.\n if (!context.open) {\n context.setOpen(true);\n return;\n }\n context.moveActive(event.key === \"ArrowDown\" ? 1 : -1);\n } else if (event.key === \"Home\" && context.open) {\n event.preventDefault();\n context.moveActive(\"first\");\n } else if (event.key === \"End\" && context.open) {\n event.preventDefault();\n context.moveActive(\"last\");\n } else if (event.key === \"Enter\") {\n if (event.nativeEvent.isComposing || event.keyCode === 229) return;\n event.preventDefault();\n if (context.open) context.selectActive();\n else context.setOpen(true);\n } else if (event.key === \"Escape\" && context.open) {\n event.preventDefault();\n context.setOpen(false, true);\n }\n };\n\n return (\n <div className={cn(\"flex min-w-0 flex-1 items-center gap-2\", wrapperClassName)}>\n <Search aria-hidden className=\"text-muted-foreground size-4 shrink-0\" />\n <input\n {...props}\n ref={mergedRef}\n id={context.inputId}\n role=\"combobox\"\n aria-label={ariaLabel ?? context.t(\"inputLabel\")}\n aria-autocomplete=\"list\"\n aria-expanded={context.open}\n aria-controls={context.listId}\n aria-activedescendant={context.open ? context.activeItemId : undefined}\n autoComplete=\"off\"\n disabled={context.disabled}\n value={context.open ? context.query : (selectedLabel ?? \"\")}\n placeholder={placeholder ?? context.t(\"inputPlaceholder\")}\n onPointerDown={(event) => {\n onPointerDown?.(event);\n if (event.defaultPrevented || context.open) return;\n event.preventDefault();\n context.inputRef.current?.focus({ preventScroll: true });\n context.setOpen(true);\n }}\n onFocus={(event) => {\n context.setOpen(true);\n onFocus?.(event);\n }}\n onClick={(event) => {\n context.setOpen(true);\n onClick?.(event);\n }}\n onChange={(event) => {\n context.setOpen(true);\n context.setQuery(event.target.value);\n onChange?.(event);\n }}\n onKeyDown={handleKeyDown}\n className={cn(\n \"text-foreground placeholder:text-muted-foreground h-10 min-w-0 flex-1 bg-transparent outline-none disabled:cursor-not-allowed\",\n // Keep one font-size utility so caller classes can override it.\n \"text-(length:--combobox-input-size,--theme(--text-sm,inherit))/[--theme(--text-sm--line-height,inherit)]\",\n // iOS zooms on focus below 16px, even before hydration. The hook\n // also detects touch on devices that report a fine pointer.\n \"any-pointer-coarse:[--combobox-input-size:max(16px,--theme(--text-base,1rem))]\",\n canTouch && \"[--combobox-input-size:max(16px,--theme(--text-base,1rem))]\",\n className,\n )}\n />\n </div>\n );\n}\n"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComboboxContent, ComboboxContentProps } from "./combobox/content.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as ComboboxMessages, i as ComboboxFilter, l as comboboxMessages, o as ComboboxProps, t as Combobox } from "../../context-CP3spicY.js";
|
|
3
3
|
import { ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxSeparator, ComboboxSeparatorProps } from "./combobox/list.js";
|
|
4
4
|
import { ComboboxInput, ComboboxInputProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps } from "./combobox/trigger.js";
|
|
5
5
|
export { Combobox, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, type ComboboxEmptyProps, type ComboboxFilter, ComboboxGroup, type ComboboxGroupProps, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, type ComboboxMessages, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, comboboxMessages };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { ComboboxContent } from "./combobox/content.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as comboboxMessages, t as Combobox } from "../../context-CIzAPhXA.js";
|
|
4
4
|
import { ComboboxEmpty, ComboboxGroup, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator } from "./combobox/list.js";
|
|
5
5
|
import { ComboboxInput, ComboboxTrigger, ComboboxValue } from "./combobox/trigger.js";
|
|
6
6
|
export { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, comboboxMessages };
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { LucideIcon } from "lucide-react";
|
|
3
3
|
export type CommandItem = {
|
|
4
|
+
/** Unique key for the command, also stored in the recent list. */
|
|
4
5
|
id: string;
|
|
6
|
+
/** Name shown in the row and matched by search. */
|
|
5
7
|
label: string;
|
|
8
|
+
/** Heading the command is listed under; also searched. Default: "Results" */
|
|
6
9
|
group?: string;
|
|
10
|
+
/** Shortcut text shown as a key at the row end, such as "⌘K". */
|
|
7
11
|
hint?: string;
|
|
12
|
+
/** Extra search terms, such as aliases, that match this command. */
|
|
8
13
|
keywords?: string[];
|
|
14
|
+
/** Lucide icon shown before the label. */
|
|
9
15
|
icon?: LucideIcon;
|
|
16
|
+
/** Content shown after the label, such as a status tag. */
|
|
10
17
|
badge?: ReactNode;
|
|
18
|
+
/** Called when the command is chosen, before the palette closes. */
|
|
11
19
|
onSelect: () => void;
|
|
12
20
|
};
|
|
13
21
|
/** English defaults. Override per instance with `labels`, or app-wide with `LocaleProvider`. */
|
|
@@ -18,18 +26,38 @@ export declare const commandPaletteMessages: {
|
|
|
18
26
|
dialog: string;
|
|
19
27
|
list: string;
|
|
20
28
|
results: string;
|
|
29
|
+
navigate: string;
|
|
30
|
+
select: string;
|
|
31
|
+
dismiss: string;
|
|
32
|
+
recent: string;
|
|
33
|
+
clearRecent: string;
|
|
21
34
|
};
|
|
22
35
|
export type CommandPaletteMessages = typeof commandPaletteMessages;
|
|
23
36
|
export interface CommandPaletteProps {
|
|
37
|
+
/** Commands to search, each with a label, optional group and an `onSelect` action. */
|
|
24
38
|
items: CommandItem[];
|
|
25
39
|
/** Opens with Cmd/Ctrl + this key. Default: "k" */
|
|
26
40
|
shortcut?: string;
|
|
41
|
+
/** Hint text in the search field. Default: "Type a command or search…" */
|
|
27
42
|
placeholder?: string;
|
|
43
|
+
/** Text shown when no command matches. Default: "No results found." */
|
|
28
44
|
emptyMessage?: string;
|
|
45
|
+
/** Whether the palette is open, for controlled use. */
|
|
29
46
|
open?: boolean;
|
|
47
|
+
/** Called with the new open state when the palette opens or closes. */
|
|
30
48
|
onOpenChange?: (open: boolean) => void;
|
|
31
49
|
/** Override any built-in string. `results` names items without a `group`. */
|
|
32
50
|
labels?: Partial<CommandPaletteMessages>;
|
|
51
|
+
/**
|
|
52
|
+
* Remember the commands people pick and list them first, under "Recent",
|
|
53
|
+
* while the search is empty. Saved in localStorage; pass a string to choose
|
|
54
|
+
* the storage key. Default: off
|
|
55
|
+
*/
|
|
56
|
+
recent?: boolean | string;
|
|
57
|
+
/** How many recent commands to keep. Default: 5 */
|
|
58
|
+
recentLimit?: number;
|
|
59
|
+
/** Classes for the dialog panel. */
|
|
60
|
+
className?: string;
|
|
33
61
|
}
|
|
34
|
-
export declare function CommandPalette({ items, shortcut, placeholder: placeholderProp, emptyMessage: emptyMessageProp, open: controlledOpen, onOpenChange, labels }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
62
|
+
export declare function CommandPalette({ items, shortcut, placeholder: placeholderProp, emptyMessage: emptyMessageProp, open: controlledOpen, onOpenChange, labels, recent, recentLimit, className }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
35
63
|
//# sourceMappingURL=command-palette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-palette.d.ts","names":[],"sources":["../../../src/components/motion/command-palette.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"command-palette.d.ts","names":[],"sources":["../../../src/components/motion/command-palette.tsx"],"mappings":";;YAmBY;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,OAAO;;EAEP,QAAQ;;EAER;;;qBAIW;;;;;;;;;;;;;YAcD,gCAAgC;iBAE3B;;EAEf,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;EAEA,gBAAgB;;EAEhB,SAAS,QAAQ;;;;;;EAMjB;;EAEA;;EAEA;;wBAmDc,iBACd,OACA,UACA,aAAa,iBACb,cAAc,kBACd,MAAM,gBACN,cACA,QACA,QACA,aACA,aACC,sCAAmB"}
|