@kumix/ui 0.5.0 → 0.7.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 +72 -46
- package/dist/{account-avatar--0_0u0WW.js → account-avatar-BHh_21aQ.js} +1 -1
- package/dist/account-avatar-BHh_21aQ.js.map +1 -0
- 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/{cascader-types-Bh_kJ3Qw.d.ts → cascader-types-D2DFznHz.d.ts} +5 -5
- package/dist/cascader-types-D2DFznHz.d.ts.map +1 -0
- package/dist/components/agents/agent-activity/activity-row.d.ts +3 -2
- package/dist/components/agents/agent-activity/activity-row.d.ts.map +1 -1
- package/dist/components/agents/agent-activity/activity-row.js +54 -40
- package/dist/components/agents/agent-activity/activity-row.js.map +1 -1
- package/dist/components/agents/agent-activity.d.ts +4 -0
- package/dist/components/agents/agent-activity.d.ts.map +1 -0
- package/dist/components/agents/{agent-activity/index.js → agent-activity.js} +84 -52
- 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 +43 -17
- 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 +17 -5
- 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 +3 -53
- package/dist/components/agents/ai-sidebar.d.ts.map +1 -1
- package/dist/components/agents/ai-sidebar.js +54 -338
- package/dist/components/agents/ai-sidebar.js.map +1 -1
- package/dist/components/agents/approval-card.d.ts +101 -0
- package/dist/components/agents/approval-card.d.ts.map +1 -0
- package/dist/components/agents/approval-card.js +416 -0
- 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 +32 -2
- package/dist/components/agents/citations.d.ts.map +1 -1
- package/dist/components/agents/citations.js +68 -16
- 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 +22 -2
- package/dist/components/agents/code-block.d.ts.map +1 -1
- package/dist/components/agents/code-block.js +49 -31
- 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 +30 -2
- package/dist/components/agents/file-diff.d.ts.map +1 -1
- package/dist/components/agents/file-diff.js +129 -86
- 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 +25 -1
- package/dist/components/agents/image-generation.d.ts.map +1 -1
- package/dist/components/agents/image-generation.js +33 -23
- package/dist/components/agents/image-generation.js.map +1 -1
- package/dist/components/agents/loading-states/agent-progress.d.ts +5 -1
- package/dist/components/agents/loading-states/agent-progress.d.ts.map +1 -1
- package/dist/components/agents/loading-states/agent-progress.js +30 -9
- package/dist/components/agents/loading-states/agent-progress.js.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.d.ts +5 -1
- package/dist/components/agents/loading-states/reasoning-text.d.ts.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.js +44 -19
- package/dist/components/agents/loading-states/reasoning-text.js.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts +5 -1
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.js +6 -3
- package/dist/components/agents/loading-states/thinking-shimmer.js.map +1 -1
- package/dist/components/agents/message-bubble.d.ts +19 -1
- package/dist/components/agents/message-bubble.d.ts.map +1 -1
- package/dist/components/agents/message-bubble.js +74 -46
- package/dist/components/agents/message-bubble.js.map +1 -1
- package/dist/components/agents/message-scroller.d.ts +21 -1
- package/dist/components/agents/message-scroller.d.ts.map +1 -1
- package/dist/components/agents/message-scroller.js +108 -24
- package/dist/components/agents/message-scroller.js.map +1 -1
- package/dist/components/agents/message.d.ts +14 -3
- package/dist/components/agents/message.d.ts.map +1 -1
- package/dist/components/agents/message.js +20 -12
- package/dist/components/agents/message.js.map +1 -1
- package/dist/components/agents/prompt-input.d.ts +53 -1
- package/dist/components/agents/prompt-input.d.ts.map +1 -1
- package/dist/components/agents/prompt-input.js +371 -97
- package/dist/components/agents/prompt-input.js.map +1 -1
- package/dist/components/agents/streaming-response.d.ts +27 -2
- package/dist/components/agents/streaming-response.d.ts.map +1 -1
- package/dist/components/agents/streaming-response.js +59 -44
- package/dist/components/agents/streaming-response.js.map +1 -1
- package/dist/components/agents/todo-list.d.ts +28 -1
- package/dist/components/agents/todo-list.d.ts.map +1 -1
- package/dist/components/agents/todo-list.js +149 -121
- package/dist/components/agents/todo-list.js.map +1 -1
- package/dist/components/agents/tool-approval.d.ts +38 -2
- package/dist/components/agents/tool-approval.d.ts.map +1 -1
- package/dist/components/agents/tool-approval.js +75 -41
- package/dist/components/agents/tool-approval.js.map +1 -1
- package/dist/components/agents/tool-result.d.ts +33 -2
- package/dist/components/agents/tool-result.d.ts.map +1 -1
- package/dist/components/agents/tool-result.js +66 -71
- 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/agents/voice-orb.d.ts +7 -1
- package/dist/components/agents/voice-orb.d.ts.map +1 -1
- package/dist/components/agents/voice-orb.js +8 -5
- package/dist/components/agents/voice-orb.js.map +1 -1
- package/dist/components/charts/bar-chart/context.d.ts +29 -6
- package/dist/components/charts/bar-chart/context.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/context.js +18 -5
- 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 +2 -2
- 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 +23 -13
- package/dist/components/charts/bar-chart/plot.js.map +1 -1
- package/dist/components/charts/bar-chart/tooltip.d.ts +3 -1
- package/dist/components/charts/bar-chart/tooltip.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/tooltip.js +5 -4
- package/dist/components/charts/bar-chart/tooltip.js.map +1 -1
- package/dist/components/charts/bar-chart.d.ts +5 -4
- package/dist/components/charts/bar-chart.d.ts.map +1 -1
- package/dist/components/charts/bar-chart.js +9 -6
- package/dist/components/charts/bar-chart.js.map +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 +8 -8
- 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.d.ts +1 -1
- package/dist/components/charts/bump-chart/point.js +18 -16
- package/dist/components/charts/bump-chart/point.js.map +1 -1
- package/dist/components/charts/bump-chart/series.d.ts +2 -2
- package/dist/components/charts/bump-chart/series.js +4 -4
- package/dist/components/charts/bump-chart/series.js.map +1 -1
- package/dist/components/charts/bump-chart.d.ts +2 -2
- package/dist/components/charts/bump-chart.d.ts.map +1 -1
- package/dist/components/charts/bump-chart.js +4 -4
- package/dist/components/charts/bump-chart.js.map +1 -1
- package/dist/components/charts/candlestick-chart/context.d.ts +29 -1
- package/dist/components/charts/candlestick-chart/context.d.ts.map +1 -1
- package/dist/components/charts/candlestick-chart/context.js +17 -3
- package/dist/components/charts/candlestick-chart/context.js.map +1 -1
- package/dist/components/charts/candlestick-chart/legend.d.ts +1 -1
- package/dist/components/charts/candlestick-chart/legend.js +10 -10
- package/dist/components/charts/candlestick-chart/legend.js.map +1 -1
- package/dist/components/charts/candlestick-chart/plot.d.ts.map +1 -1
- package/dist/components/charts/candlestick-chart/plot.js +17 -18
- package/dist/components/charts/candlestick-chart/plot.js.map +1 -1
- package/dist/components/charts/candlestick-chart.d.ts +2 -2
- package/dist/components/charts/candlestick-chart.js +3 -3
- package/dist/components/charts/candlestick-chart.js.map +1 -1
- package/dist/components/charts/composition-chart/context.d.ts +1 -1
- package/dist/components/charts/composition-chart/context.js +1 -1
- package/dist/components/charts/composition-chart/legend.js +5 -5
- package/dist/components/charts/composition-chart/legend.js.map +1 -1
- package/dist/components/charts/composition-chart/plot.js +9 -9
- package/dist/components/charts/composition-chart/plot.js.map +1 -1
- package/dist/components/charts/composition-chart/tooltip-content.js +4 -4
- package/dist/components/charts/composition-chart/tooltip-content.js.map +1 -1
- package/dist/components/charts/composition-chart.d.ts +2 -2
- package/dist/components/charts/composition-chart.js +3 -3
- package/dist/components/charts/composition-chart.js.map +1 -1
- package/dist/components/charts/donut-chart/center.d.ts +1 -1
- package/dist/components/charts/donut-chart/center.d.ts.map +1 -1
- package/dist/components/charts/donut-chart/center.js +7 -7
- package/dist/components/charts/donut-chart/center.js.map +1 -1
- package/dist/components/charts/donut-chart/context.d.ts +18 -2
- package/dist/components/charts/donut-chart/context.d.ts.map +1 -1
- package/dist/components/charts/donut-chart/context.js +1 -1
- package/dist/components/charts/donut-chart/legend.d.ts +1 -1
- package/dist/components/charts/donut-chart/legend.js +3 -3
- package/dist/components/charts/donut-chart/plot.js +3 -3
- package/dist/components/charts/donut-chart.d.ts +3 -3
- package/dist/components/charts/donut-chart.js +3 -3
- package/dist/components/charts/donut-chart.js.map +1 -1
- package/dist/components/charts/funnel-chart.d.ts +27 -1
- package/dist/components/charts/funnel-chart.d.ts.map +1 -1
- package/dist/components/charts/funnel-chart.js +52 -37
- package/dist/components/charts/funnel-chart.js.map +1 -1
- package/dist/components/charts/heat-calendar/grid.js +13 -6
- package/dist/components/charts/heat-calendar/grid.js.map +1 -1
- package/dist/components/charts/heat-calendar/legend.js +9 -6
- package/dist/components/charts/heat-calendar/legend.js.map +1 -1
- package/dist/components/charts/heat-calendar/tooltip.d.ts +1 -1
- package/dist/components/charts/heat-calendar/tooltip.js +10 -7
- package/dist/components/charts/heat-calendar/tooltip.js.map +1 -1
- package/dist/components/charts/heat-calendar.d.ts +2 -2
- package/dist/components/charts/heat-calendar.js +3 -3
- package/dist/components/charts/heat-calendar.js.map +1 -1
- package/dist/components/charts/line-chart/context.d.ts +29 -4
- package/dist/components/charts/line-chart/context.d.ts.map +1 -1
- package/dist/components/charts/line-chart/context.js +21 -6
- 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 +2 -2
- 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 +27 -17
- package/dist/components/charts/line-chart/plot.js.map +1 -1
- package/dist/components/charts/line-chart/tooltip.d.ts +2 -1
- package/dist/components/charts/line-chart/tooltip.d.ts.map +1 -1
- package/dist/components/charts/line-chart/tooltip.js +7 -6
- package/dist/components/charts/line-chart/tooltip.js.map +1 -1
- package/dist/components/charts/line-chart.d.ts +6 -5
- package/dist/components/charts/line-chart.d.ts.map +1 -1
- package/dist/components/charts/line-chart.js +9 -6
- package/dist/components/charts/line-chart.js.map +1 -1
- package/dist/components/charts/liquidity-heatmap.d.ts +25 -1
- package/dist/components/charts/liquidity-heatmap.d.ts.map +1 -1
- package/dist/components/charts/liquidity-heatmap.js +55 -30
- 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/depth-row.js +2 -2
- package/dist/components/charts/order-book.d.ts +38 -1
- package/dist/components/charts/order-book.d.ts.map +1 -1
- package/dist/components/charts/order-book.js +88 -37
- package/dist/components/charts/order-book.js.map +1 -1
- package/dist/components/charts/price-target-fan/header.js +6 -6
- package/dist/components/charts/price-target-fan/header.js.map +1 -1
- package/dist/components/charts/price-target-fan/plot.d.ts.map +1 -1
- package/dist/components/charts/price-target-fan/plot.js +21 -11
- package/dist/components/charts/price-target-fan/plot.js.map +1 -1
- package/dist/components/charts/price-target-fan/series.d.ts.map +1 -1
- package/dist/components/charts/price-target-fan/series.js +11 -7
- package/dist/components/charts/price-target-fan/series.js.map +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 +2 -2
- package/dist/components/charts/price-target-fan.js +4 -4
- package/dist/components/charts/price-target-fan.js.map +1 -1
- package/dist/components/charts/returns-calendar/grid.js +25 -15
- 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 +3 -3
- package/dist/components/charts/returns-calendar/tooltip.js.map +1 -1
- package/dist/components/charts/returns-calendar.d.ts +9 -2
- package/dist/components/charts/returns-calendar.d.ts.map +1 -1
- package/dist/components/charts/returns-calendar.js +3 -3
- package/dist/components/charts/returns-calendar.js.map +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 +18 -37
- 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 +16 -19
- package/dist/components/charts/sankey-chart/tooltip.js.map +1 -1
- package/dist/components/charts/sankey-chart.d.ts +3 -3
- package/dist/components/charts/sankey-chart.d.ts.map +1 -1
- package/dist/components/charts/sankey-chart.js +16 -15
- package/dist/components/charts/sankey-chart.js.map +1 -1
- package/dist/components/charts/sparkline.d.ts +23 -2
- package/dist/components/charts/sparkline.d.ts.map +1 -1
- package/dist/components/charts/sparkline.js +36 -16
- 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 +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/components/charts/status-bar.d.ts.map +1 -1
- package/dist/components/charts/status-bar.js +11 -9
- package/dist/components/charts/status-bar.js.map +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 +3 -3
- 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 +8 -21
- 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 +7 -7
- 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 +4 -4
- package/dist/components/charts/treemap/tooltip.js.map +1 -1
- package/dist/components/charts/treemap.d.ts +29 -6
- package/dist/components/charts/treemap.d.ts.map +1 -1
- package/dist/components/charts/treemap.js +12 -10
- package/dist/components/charts/treemap.js.map +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 +10 -10
- package/dist/components/charts/volume-profile/plot.js.map +1 -1
- package/dist/components/charts/volume-profile/summary.js +16 -22
- 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 +6 -6
- package/dist/components/charts/volume-profile/tooltip.js.map +1 -1
- package/dist/components/charts/volume-profile.d.ts +39 -5
- package/dist/components/charts/volume-profile.d.ts.map +1 -1
- package/dist/components/charts/volume-profile.js +18 -22
- package/dist/components/charts/volume-profile.js.map +1 -1
- package/dist/components/charts/xy/axis.js +1 -1
- package/dist/components/charts/xy/data-table.d.ts +4 -2
- package/dist/components/charts/xy/data-table.d.ts.map +1 -1
- package/dist/components/charts/xy/data-table.js +4 -4
- package/dist/components/charts/xy/data-table.js.map +1 -1
- package/dist/components/charts/xy/legend.d.ts +1 -1
- package/dist/components/charts/xy/tooltip-content.d.ts +1 -1
- package/dist/components/charts/xy/tooltip-content.js +5 -5
- package/dist/components/charts/xy/tooltip-content.js.map +1 -1
- package/dist/components/custom/confirm-dialog.js +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 +2 -2
- package/dist/components/motion/action-swap.js.map +1 -1
- package/dist/components/motion/adaptive-stepper.d.ts +24 -1
- package/dist/components/motion/adaptive-stepper.d.ts.map +1 -1
- package/dist/components/motion/adaptive-stepper.js +28 -23
- 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 +12 -1
- package/dist/components/motion/alert.d.ts.map +1 -1
- package/dist/components/motion/alert.js +18 -12
- 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 +6 -6
- 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 +2 -2
- 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 +20 -47
- package/dist/components/motion/animated-sidebar.d.ts.map +1 -1
- package/dist/components/motion/animated-sidebar.js +5 -619
- 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 -62
- package/dist/components/motion/animated-toast-stack.js +1 -302
- package/dist/components/motion/arc-picker.d.ts +11 -1
- package/dist/components/motion/arc-picker.d.ts.map +1 -1
- package/dist/components/motion/arc-picker.js +21 -14
- 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 +2 -2
- 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 +25 -22
- package/dist/components/motion/attachment-upload.d.ts.map +1 -1
- package/dist/components/motion/attachment-upload.js +59 -481
- package/dist/components/motion/attachment-upload.js.map +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.d.ts +5 -2
- package/dist/components/motion/availability-scheduler/copy-menu.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.js +1 -1
- package/dist/components/motion/availability-scheduler/day-row.d.ts +4 -2
- package/dist/components/motion/availability-scheduler/day-row.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +23 -15
- package/dist/components/motion/availability-scheduler/day-row.js.map +1 -1
- package/dist/components/motion/availability-scheduler/icon-button.js +3 -3
- package/dist/components/motion/availability-scheduler/icon-button.js.map +1 -1
- package/dist/components/motion/availability-scheduler/time-select.d.ts +1 -1
- package/dist/components/motion/availability-scheduler.d.ts +19 -0
- package/dist/components/motion/availability-scheduler.d.ts.map +1 -0
- package/dist/components/motion/{availability-scheduler/index.js → availability-scheduler.js} +31 -9
- package/dist/components/motion/availability-scheduler.js.map +1 -0
- package/dist/components/motion/avatar-group.d.ts +20 -2
- package/dist/components/motion/avatar-group.d.ts.map +1 -1
- package/dist/components/motion/avatar-group.js +20 -11
- package/dist/components/motion/avatar-group.js.map +1 -1
- package/dist/components/motion/before-after-slider.d.ts +38 -0
- package/dist/components/motion/before-after-slider.d.ts.map +1 -0
- package/dist/components/motion/before-after-slider.js +351 -0
- package/dist/components/motion/before-after-slider.js.map +1 -0
- package/dist/components/motion/bloom-menu.d.ts +20 -1
- package/dist/components/motion/bloom-menu.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.js +42 -35
- 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 +53 -0
- package/dist/components/motion/bookshelf.d.ts.map +1 -0
- package/dist/components/motion/bookshelf.js +518 -0
- package/dist/components/motion/bookshelf.js.map +1 -0
- package/dist/components/motion/bottom-sheet.d.ts +15 -1
- package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
- package/dist/components/motion/bottom-sheet.js +22 -43
- package/dist/components/motion/bottom-sheet.js.map +1 -1
- package/dist/components/motion/bounce-sidebar.d.ts +24 -1
- package/dist/components/motion/bounce-sidebar.d.ts.map +1 -1
- package/dist/components/motion/bounce-sidebar.js +8 -4
- 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 +39 -16
- package/dist/components/motion/bouncy-accordion.js.map +1 -1
- package/dist/components/motion/breadcrumb.d.ts +13 -2
- package/dist/components/motion/breadcrumb.d.ts.map +1 -1
- package/dist/components/motion/breadcrumb.js +34 -20
- 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 +17 -12
- package/dist/components/motion/button/base.js.map +1 -1
- package/dist/components/motion/button/magnetic.js +1 -1
- package/dist/components/motion/button/metallic.d.ts.map +1 -1
- package/dist/components/motion/button/metallic.js +11 -10
- package/dist/components/motion/button/metallic.js.map +1 -1
- package/dist/components/motion/button/stateful.d.ts +15 -1
- package/dist/components/motion/button/stateful.d.ts.map +1 -1
- package/dist/components/motion/button/stateful.js +14 -7
- package/dist/components/motion/button/stateful.js.map +1 -1
- package/dist/components/motion/button.d.ts +5 -0
- package/dist/components/motion/button.js +6 -0
- package/dist/components/motion/card-dealer.d.ts +10 -1
- package/dist/components/motion/card-dealer.d.ts.map +1 -1
- package/dist/components/motion/card-dealer.js +9 -5
- package/dist/components/motion/card-dealer.js.map +1 -1
- package/dist/components/motion/card-folder.d.ts +32 -1
- package/dist/components/motion/card-folder.d.ts.map +1 -1
- package/dist/components/motion/card-folder.js +36 -20
- package/dist/components/motion/card-folder.js.map +1 -1
- package/dist/components/motion/card.js +3 -3
- package/dist/components/motion/card.js.map +1 -1
- package/dist/components/motion/casino/game-parts.d.ts +2 -0
- package/dist/components/motion/casino/game-parts.js +207 -0
- package/dist/components/motion/casino/game-parts.js.map +1 -0
- package/dist/components/motion/center-morph-modal.d.ts +13 -1
- package/dist/components/motion/center-morph-modal.d.ts.map +1 -1
- package/dist/components/motion/center-morph-modal.js +85 -101
- package/dist/components/motion/center-morph-modal.js.map +1 -1
- package/dist/components/motion/checkbox.d.ts +17 -1
- package/dist/components/motion/checkbox.d.ts.map +1 -1
- package/dist/components/motion/checkbox.js +12 -5
- package/dist/components/motion/checkbox.js.map +1 -1
- package/dist/components/motion/chromatic-text-reveal.js +5 -5
- 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 +4 -4
- package/dist/components/motion/collapsible.js.map +1 -1
- package/dist/components/motion/color-picker.d.ts +29 -21
- package/dist/components/motion/color-picker.d.ts.map +1 -1
- package/dist/components/motion/color-picker.js +78 -131
- 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 +2 -2
- 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 -66
- package/dist/components/motion/combobox/context.js +1 -216
- 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 +13 -12
- 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 -8
- package/dist/components/motion/combobox/trigger.js.map +1 -1
- package/dist/components/motion/combobox.d.ts +2 -2
- package/dist/components/motion/combobox.js +2 -2
- package/dist/components/motion/command-palette.d.ts +41 -1
- package/dist/components/motion/command-palette.d.ts.map +1 -1
- package/dist/components/motion/command-palette.js +305 -132
- 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 +33 -1
- package/dist/components/motion/context-menu.d.ts.map +1 -1
- package/dist/components/motion/context-menu.js +126 -122
- 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 -1
- package/dist/components/motion/crash/crash-balloon.d.ts.map +1 -1
- package/dist/components/motion/crash/crash-balloon.js +13 -11
- package/dist/components/motion/crash/crash-balloon.js.map +1 -1
- package/dist/components/motion/crash/crash-parts.d.ts +3 -7
- package/dist/components/motion/crash/crash-parts.d.ts.map +1 -1
- package/dist/components/motion/crash/crash-parts.js +3 -1
- package/dist/components/motion/crash/crash-tower.d.ts +2 -1
- package/dist/components/motion/crash/crash-tower.d.ts.map +1 -1
- package/dist/components/motion/crash/crash-tower.js +10 -9
- package/dist/components/motion/crash/crash-tower.js.map +1 -1
- package/dist/components/motion/crash.d.ts +2 -1
- package/dist/components/motion/crash.d.ts.map +1 -1
- package/dist/components/motion/crash.js +11 -9
- package/dist/components/motion/crash.js.map +1 -1
- package/dist/components/motion/cylinder-carousel.d.ts +14 -4
- package/dist/components/motion/cylinder-carousel.d.ts.map +1 -1
- package/dist/components/motion/cylinder-carousel.js +14 -8
- 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 -82
- package/dist/components/motion/date-range-picker.d.ts.map +1 -1
- package/dist/components/motion/date-range-picker.js +15 -875
- 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 +2 -2
- 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 +4 -4
- 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 +17 -2
- package/dist/components/motion/drawer.d.ts.map +1 -1
- package/dist/components/motion/drawer.js +74 -20
- 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 +111 -0
- package/dist/components/motion/dropdown-menu.d.ts.map +1 -0
- package/dist/components/motion/dropdown-menu.js +400 -0
- package/dist/components/motion/dropdown-menu.js.map +1 -0
- 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 +2 -2
- 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 +8 -17
- 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 +6 -3
- package/dist/components/motion/expandable-control.js.map +1 -1
- package/dist/components/motion/expandable-tabs.d.ts +24 -2
- package/dist/components/motion/expandable-tabs.d.ts.map +1 -1
- package/dist/components/motion/expandable-tabs.js +12 -20
- 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 +6 -6
- package/dist/components/motion/expanding-arrow-button.js.map +1 -1
- package/dist/components/motion/feedback-widget.d.ts +24 -1
- package/dist/components/motion/feedback-widget.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.js +46 -44
- package/dist/components/motion/feedback-widget.js.map +1 -1
- package/dist/components/motion/file-tree.d.ts +32 -1
- package/dist/components/motion/file-tree.d.ts.map +1 -1
- package/dist/components/motion/file-tree.js +15 -15
- package/dist/components/motion/file-tree.js.map +1 -1
- package/dist/components/motion/file-upload.d.ts +54 -1
- package/dist/components/motion/file-upload.d.ts.map +1 -1
- package/dist/components/motion/file-upload.js +87 -46
- 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 +15 -0
- package/dist/components/motion/hold-action-button.d.ts.map +1 -1
- package/dist/components/motion/hold-action-button.js +21 -9
- package/dist/components/motion/hold-action-button.js.map +1 -1
- package/dist/components/motion/infinite-masonry.d.ts +35 -1
- package/dist/components/motion/infinite-masonry.d.ts.map +1 -1
- package/dist/components/motion/infinite-masonry.js +30 -15
- 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 +3 -2
- package/dist/components/motion/input.js.map +1 -1
- package/dist/components/motion/knockout-bracket.d.ts +32 -6
- package/dist/components/motion/knockout-bracket.d.ts.map +1 -1
- package/dist/components/motion/knockout-bracket.js +104 -50
- package/dist/components/motion/knockout-bracket.js.map +1 -1
- package/dist/components/motion/knockout-wheel.d.ts +23 -4
- package/dist/components/motion/knockout-wheel.d.ts.map +1 -1
- package/dist/components/motion/knockout-wheel.js +50 -24
- 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/liquid.js +4 -4
- package/dist/components/motion/liquid.js.map +1 -1
- package/dist/components/motion/loader.d.ts +11 -1
- package/dist/components/motion/loader.d.ts.map +1 -1
- package/dist/components/motion/loader.js +49 -34
- 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/magnetic.js +3 -3
- 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 +43 -3
- package/dist/components/motion/mines.d.ts.map +1 -1
- package/dist/components/motion/mines.js +92 -57
- package/dist/components/motion/mines.js.map +1 -1
- package/dist/components/motion/morphing-lightbox.d.ts +33 -1
- package/dist/components/motion/morphing-lightbox.d.ts.map +1 -1
- package/dist/components/motion/morphing-lightbox.js +42 -25
- package/dist/components/motion/morphing-lightbox.js.map +1 -1
- package/dist/components/motion/morphing-modal.d.ts +10 -1
- package/dist/components/motion/morphing-modal.d.ts.map +1 -1
- package/dist/components/motion/morphing-modal.js +25 -20
- package/dist/components/motion/morphing-modal.js.map +1 -1
- package/dist/components/motion/morphing-search-chips.d.ts +34 -1
- package/dist/components/motion/morphing-search-chips.d.ts.map +1 -1
- package/dist/components/motion/morphing-search-chips.js +47 -35
- package/dist/components/motion/morphing-search-chips.js.map +1 -1
- package/dist/components/motion/morphing-search.d.ts +28 -1
- package/dist/components/motion/morphing-search.d.ts.map +1 -1
- package/dist/components/motion/morphing-search.js +36 -26
- package/dist/components/motion/morphing-search.js.map +1 -1
- package/dist/components/motion/morphing-tabs.d.ts +29 -1
- package/dist/components/motion/morphing-tabs.d.ts.map +1 -1
- package/dist/components/motion/morphing-tabs.js +40 -16
- 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 -61
- package/dist/components/motion/multi-select/context.js +1 -226
- 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 +14 -13
- 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 +15 -13
- package/dist/components/motion/multi-select/trigger.js.map +1 -1
- package/dist/components/motion/{multi-select/index.d.ts → multi-select.d.ts} +5 -5
- package/dist/components/motion/{multi-select/index.js → multi-select.js} +5 -5
- 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.d.ts +1 -1
- package/dist/components/motion/not-found/glitch.d.ts.map +1 -1
- package/dist/components/motion/not-found/glitch.js +10 -8
- package/dist/components/motion/not-found/glitch.js.map +1 -1
- package/dist/components/motion/not-found/magnetic.d.ts +1 -1
- package/dist/components/motion/not-found/magnetic.d.ts.map +1 -1
- package/dist/components/motion/not-found/magnetic.js +10 -8
- package/dist/components/motion/not-found/magnetic.js.map +1 -1
- package/dist/components/motion/not-found/shared.d.ts +23 -6
- package/dist/components/motion/not-found/shared.d.ts.map +1 -1
- package/dist/components/motion/not-found/shared.js +20 -9
- package/dist/components/motion/not-found/shared.js.map +1 -1
- package/dist/components/motion/not-found/spotlight.d.ts +1 -1
- package/dist/components/motion/not-found/spotlight.d.ts.map +1 -1
- package/dist/components/motion/not-found/spotlight.js +13 -11
- package/dist/components/motion/not-found/spotlight.js.map +1 -1
- package/dist/components/motion/not-found/stacked.d.ts +1 -1
- package/dist/components/motion/not-found/stacked.d.ts.map +1 -1
- package/dist/components/motion/not-found/stacked.js +11 -9
- package/dist/components/motion/not-found/stacked.js.map +1 -1
- package/dist/components/motion/not-found/terminal.d.ts +1 -1
- package/dist/components/motion/not-found/terminal.d.ts.map +1 -1
- package/dist/components/motion/not-found/terminal.js +9 -7
- 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 +35 -1
- package/dist/components/motion/notification-stack.d.ts.map +1 -1
- package/dist/components/motion/notification-stack.js +23 -7
- package/dist/components/motion/notification-stack.js.map +1 -1
- package/dist/components/motion/number-ticker.d.ts +11 -3
- package/dist/components/motion/number-ticker.d.ts.map +1 -1
- package/dist/components/motion/number-ticker.js +7 -4
- package/dist/components/motion/number-ticker.js.map +1 -1
- package/dist/components/motion/otp-input.d.ts +22 -1
- package/dist/components/motion/otp-input.d.ts.map +1 -1
- package/dist/components/motion/otp-input.js +36 -15
- package/dist/components/motion/otp-input.js.map +1 -1
- package/dist/components/motion/overflow-actions.d.ts +35 -1
- package/dist/components/motion/overflow-actions.d.ts.map +1 -1
- package/dist/components/motion/overflow-actions.js +16 -8
- package/dist/components/motion/overflow-actions.js.map +1 -1
- package/dist/components/motion/pagination.d.ts +17 -1
- package/dist/components/motion/pagination.d.ts.map +1 -1
- package/dist/components/motion/pagination.js +24 -13
- 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 +1 -1
- package/dist/components/motion/parallax.js.map +1 -1
- package/dist/components/motion/plinko.d.ts +13 -1
- package/dist/components/motion/plinko.d.ts.map +1 -1
- package/dist/components/motion/plinko.js +32 -18
- 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 +10 -30
- 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 +155 -103
- package/dist/components/motion/popover.js.map +1 -1
- package/dist/components/motion/prediction-market-card.d.ts +30 -1
- package/dist/components/motion/prediction-market-card.d.ts.map +1 -1
- package/dist/components/motion/prediction-market-card.js +39 -22
- package/dist/components/motion/prediction-market-card.js.map +1 -1
- package/dist/components/motion/prediction-market.d.ts +58 -1
- package/dist/components/motion/prediction-market.d.ts.map +1 -1
- package/dist/components/motion/prediction-market.js +66 -47
- package/dist/components/motion/prediction-market.js.map +1 -1
- package/dist/components/motion/preview-rail.d.ts +31 -1
- package/dist/components/motion/preview-rail.d.ts.map +1 -1
- package/dist/components/motion/preview-rail.js +10 -5
- package/dist/components/motion/preview-rail.js.map +1 -1
- package/dist/components/motion/project-folder.d.ts +33 -1
- package/dist/components/motion/project-folder.d.ts.map +1 -1
- package/dist/components/motion/project-folder.js +31 -50
- package/dist/components/motion/project-folder.js.map +1 -1
- package/dist/components/motion/pull-to-refresh.d.ts +19 -1
- package/dist/components/motion/pull-to-refresh.d.ts.map +1 -1
- package/dist/components/motion/pull-to-refresh.js +22 -11
- package/dist/components/motion/pull-to-refresh.js.map +1 -1
- 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 +2 -2
- 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 +7 -7
- 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 +5 -5
- 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 +4 -4
- 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 +6 -6
- 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 +6 -6
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- package/dist/components/motion/scroll-reveal.js.map +1 -1
- package/dist/components/motion/scroll-to.d.ts +3 -2
- package/dist/components/motion/scroll-to.d.ts.map +1 -1
- package/dist/components/motion/scroll-to.js +2 -2
- package/dist/components/motion/scroll-to.js.map +1 -1
- package/dist/components/motion/select-morph.d.ts +17 -3
- package/dist/components/motion/select-morph.d.ts.map +1 -1
- package/dist/components/motion/select-morph.js +152 -89
- 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 +153 -64
- 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/shader-background.js +2 -2
- 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/shared-layout-bg.js +4 -4
- package/dist/components/motion/shared-layout-bg.js.map +1 -1
- package/dist/components/motion/signup-form.d.ts +62 -3
- package/dist/components/motion/signup-form.d.ts.map +1 -1
- package/dist/components/motion/signup-form.js +83 -40
- package/dist/components/motion/signup-form.js.map +1 -1
- package/dist/components/motion/slide-action-button.d.ts +15 -1
- package/dist/components/motion/slide-action-button.d.ts.map +1 -1
- package/dist/components/motion/slide-action-button.js +15 -9
- package/dist/components/motion/slide-action-button.js.map +1 -1
- package/dist/components/motion/slide-game.d.ts +92 -0
- package/dist/components/motion/slide-game.d.ts.map +1 -0
- package/dist/components/motion/slide-game.js +642 -0
- package/dist/components/motion/slide-game.js.map +1 -0
- package/dist/components/motion/smooth-scroll.d.ts +4 -2
- package/dist/components/motion/smooth-scroll.d.ts.map +1 -1
- package/dist/components/motion/smooth-scroll.js +5 -4
- package/dist/components/motion/smooth-scroll.js.map +1 -1
- package/dist/components/motion/sortable-list.d.ts +21 -1
- package/dist/components/motion/sortable-list.d.ts.map +1 -1
- package/dist/components/motion/sortable-list.js +41 -16
- 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 +8 -4
- package/dist/components/motion/swap/controls.d.ts.map +1 -1
- package/dist/components/motion/swap/controls.js +38 -30
- package/dist/components/motion/swap/controls.js.map +1 -1
- package/dist/components/motion/swap/field.d.ts +4 -2
- package/dist/components/motion/swap/field.d.ts.map +1 -1
- package/dist/components/motion/swap/field.js +16 -13
- package/dist/components/motion/swap/field.js.map +1 -1
- package/dist/components/motion/swap/quote-row.d.ts +4 -2
- package/dist/components/motion/swap/quote-row.d.ts.map +1 -1
- package/dist/components/motion/swap/quote-row.js +10 -8
- 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 +4 -2
- package/dist/components/motion/swap/token-picker.d.ts.map +1 -1
- package/dist/components/motion/swap/token-picker.js +59 -54
- package/dist/components/motion/swap/token-picker.js.map +1 -1
- package/dist/components/motion/swap.d.ts +12 -4
- package/dist/components/motion/swap.d.ts.map +1 -1
- package/dist/components/motion/swap.js +31 -19
- package/dist/components/motion/swap.js.map +1 -1
- package/dist/components/motion/swipeable-list.d.ts +47 -1
- package/dist/components/motion/swipeable-list.d.ts.map +1 -1
- package/dist/components/motion/swipeable-list.js +17 -9
- 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 +13 -8
- package/dist/components/motion/switch.js.map +1 -1
- package/dist/components/motion/table/editable-cell.d.ts +2 -1
- package/dist/components/motion/table/editable-cell.d.ts.map +1 -1
- package/dist/components/motion/table/editable-cell.js +2 -2
- package/dist/components/motion/table/editable-cell.js.map +1 -1
- package/dist/components/motion/table/row-handle.d.ts +3 -1
- package/dist/components/motion/table/row-handle.d.ts.map +1 -1
- package/dist/components/motion/table/row-handle.js +7 -7
- package/dist/components/motion/table/row-handle.js.map +1 -1
- package/dist/components/motion/table/skeleton-rows.d.ts +1 -1
- package/dist/components/motion/table/skeleton-rows.js +1 -1
- package/dist/components/motion/table/table-header.d.ts +4 -2
- package/dist/components/motion/table/table-header.d.ts.map +1 -1
- package/dist/components/motion/table/table-header.js +22 -19
- package/dist/components/motion/table/table-header.js.map +1 -1
- package/dist/components/motion/table/table-menu.d.ts.map +1 -1
- package/dist/components/motion/table/table-menu.js +18 -18
- package/dist/components/motion/table/table-menu.js.map +1 -1
- package/dist/components/motion/{table/index.d.ts → table.d.ts} +5 -4
- package/dist/components/motion/table.d.ts.map +1 -0
- package/dist/components/motion/{table/index.js → table.js} +50 -19
- package/dist/components/motion/table.js.map +1 -0
- package/dist/components/motion/tabs.d.ts +24 -4
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/tabs.js +41 -19
- 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 +3 -3
- 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 +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 +1 -1
- package/dist/components/motion/text-shimmer.js.map +1 -1
- package/dist/components/motion/theme-toggle.d.ts +12 -1
- package/dist/components/motion/theme-toggle.d.ts.map +1 -1
- package/dist/components/motion/theme-toggle.js +19 -11
- 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 +3 -3
- package/dist/components/motion/tilt-card.js.map +1 -1
- package/dist/components/motion/timeline.d.ts +16 -1
- package/dist/components/motion/timeline.d.ts.map +1 -1
- package/dist/components/motion/timeline.js +26 -7
- 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 -2
- package/dist/components/motion/tooltip-surface.d.ts.map +1 -1
- package/dist/components/motion/tooltip-surface.js +36 -26
- package/dist/components/motion/tooltip-surface.js.map +1 -1
- package/dist/components/motion/tooltip.d.ts +9 -3
- 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-avatar.js +1 -1
- package/dist/components/motion/wallet-card/account-switcher.d.ts +5 -3
- package/dist/components/motion/wallet-card/account-switcher.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/account-switcher.js +23 -16
- package/dist/components/motion/wallet-card/account-switcher.js.map +1 -1
- package/dist/components/motion/wallet-card/actions.d.ts +3 -1
- package/dist/components/motion/wallet-card/actions.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/actions.js +33 -29
- package/dist/components/motion/wallet-card/actions.js.map +1 -1
- package/dist/components/motion/wallet-card/balance-delta.d.ts +2 -1
- package/dist/components/motion/wallet-card/balance-delta.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/balance-delta.js +6 -6
- package/dist/components/motion/wallet-card/balance-delta.js.map +1 -1
- package/dist/components/motion/wallet-card/copy-button.d.ts +3 -1
- package/dist/components/motion/wallet-card/copy-button.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/copy-button.js +13 -7
- package/dist/components/motion/wallet-card/copy-button.js.map +1 -1
- package/dist/components/motion/wallet-card/search-bar.d.ts +4 -2
- package/dist/components/motion/wallet-card/search-bar.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/search-bar.js +21 -18
- package/dist/components/motion/wallet-card/search-bar.js.map +1 -1
- package/dist/components/motion/wallet-card.d.ts +16 -0
- package/dist/components/motion/wallet-card.d.ts.map +1 -0
- package/dist/components/motion/{wallet-card/index.js → wallet-card.js} +26 -19
- 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 +15 -5
- package/dist/components/motion/wheel-picker.js.map +1 -1
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/alert.js +1 -1
- package/dist/components/reui/autocomplete.d.ts +1 -1
- package/dist/components/reui/autocomplete.js +4 -4
- package/dist/components/reui/badge.d.ts +2 -2
- package/dist/components/reui/badge.js +2 -2
- package/dist/components/reui/cascader/cascader-async.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-async.js +37 -37
- package/dist/components/reui/cascader/cascader-async.js.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.d.ts +6 -6
- package/dist/components/reui/cascader/cascader-columns.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.js +6 -6
- package/dist/components/reui/cascader/cascader-columns.js.map +1 -1
- package/dist/components/reui/cascader/cascader-context.d.ts +8 -8
- package/dist/components/reui/cascader/cascader-context.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-context.js +10 -10
- package/dist/components/reui/cascader/cascader-context.js.map +1 -1
- package/dist/components/reui/cascader/cascader-footer.d.ts +14 -14
- package/dist/components/reui/cascader/cascader-footer.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-footer.js +32 -33
- package/dist/components/reui/cascader/cascader-footer.js.map +1 -1
- package/dist/components/reui/cascader/cascader-i18n.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-item.d.ts +12 -12
- package/dist/components/reui/cascader/cascader-item.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-item.js +27 -27
- package/dist/components/reui/cascader/cascader-item.js.map +1 -1
- package/dist/components/reui/cascader/cascader-lib.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-nav.d.ts +12 -12
- package/dist/components/reui/cascader/cascader-nav.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.js +12 -12
- package/dist/components/reui/cascader/cascader-nav.js.map +1 -1
- package/dist/components/reui/cascader/cascader-types.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-virtual.d.ts +4 -4
- package/dist/components/reui/cascader/cascader-virtual.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-virtual.js +13 -13
- package/dist/components/reui/cascader/cascader-virtual.js.map +1 -1
- package/dist/components/reui/cascader/cascader.d.ts +24 -24
- package/dist/components/reui/cascader/cascader.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader.js +110 -110
- package/dist/components/reui/cascader/cascader.js.map +1 -1
- package/dist/components/reui/code-block/code-block.d.ts +1 -1
- package/dist/components/reui/code-block/code-block.js +2 -2
- package/dist/components/reui/code-block/code-block.js.map +1 -1
- package/dist/components/reui/color-picker.d.ts +1 -1
- package/dist/components/reui/color-picker.js +7 -7
- package/dist/components/reui/color-picker.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-cell-selection.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-cell-selection.js +4 -4
- package/dist/components/reui/data-grid/data-grid-cell-selection.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.js +3 -3
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-column-header.js +4 -4
- package/dist/components/reui/data-grid/data-grid-column-visibility.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-i18n.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-pagination.js +2 -2
- package/dist/components/reui/data-grid/data-grid-scroll-area.js +3 -3
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +8 -8
- package/dist/components/reui/data-grid/data-grid-table-dnd.js +6 -6
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts +2 -2
- package/dist/components/reui/data-grid/data-grid-table-virtual.js +3 -3
- package/dist/components/reui/data-grid/data-grid-table.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-table.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.js +4 -4
- package/dist/components/reui/data-grid/data-grid-table.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid.js +2 -2
- package/dist/components/reui/date-selector.js +4 -4
- package/dist/components/reui/emoji-picker.d.ts +1 -1
- package/dist/components/reui/emoji-picker.js +5 -5
- package/dist/components/reui/emoji-picker.js.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js +6 -6
- package/dist/components/reui/event-calendar/event-calendar-content.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-content.js +3 -3
- package/dist/components/reui/event-calendar/event-calendar-dnd.js +2 -2
- package/dist/components/reui/event-calendar/event-calendar-event.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-event.js +6 -6
- package/dist/components/reui/event-calendar/event-calendar-i18n.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-lib.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-lib.js +4 -4
- package/dist/components/reui/event-calendar/event-calendar-month-view.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-month-view.js +6 -6
- package/dist/components/reui/event-calendar/event-calendar-nav.js +6 -6
- package/dist/components/reui/event-calendar/event-calendar-recurrence.js +1 -1
- package/dist/components/reui/event-calendar/event-calendar-resource-view.js +5 -5
- package/dist/components/reui/event-calendar/event-calendar-time-grid.d.ts +1 -1
- package/dist/components/reui/event-calendar/event-calendar-time-grid.js +5 -5
- package/dist/components/reui/event-calendar/event-calendar.d.ts +3 -3
- package/dist/components/reui/event-calendar/event-calendar.js +4 -4
- package/dist/components/reui/event-calendar/event-calendar.js.map +1 -1
- package/dist/components/reui/file-type.js +1 -1
- package/dist/components/reui/filters/filters-advanced.d.ts +6 -6
- package/dist/components/reui/filters/filters-advanced.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-advanced.js +35 -35
- package/dist/components/reui/filters/filters-advanced.js.map +1 -1
- package/dist/components/reui/filters/filters-builder.d.ts +5 -5
- package/dist/components/reui/filters/filters-builder.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-builder.js +6 -6
- package/dist/components/reui/filters/filters-builder.js.map +1 -1
- package/dist/components/reui/filters/filters-chip.d.ts +10 -10
- package/dist/components/reui/filters/filters-chip.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-chip.js +20 -20
- package/dist/components/reui/filters/filters-chip.js.map +1 -1
- package/dist/components/reui/filters/filters-context.d.ts +11 -11
- package/dist/components/reui/filters/filters-context.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-context.js +27 -27
- package/dist/components/reui/filters/filters-context.js.map +1 -1
- package/dist/components/reui/filters/filters-dnd.d.ts +2 -2
- package/dist/components/reui/filters/filters-dnd.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-dnd.js +5 -5
- package/dist/components/reui/filters/filters-dnd.js.map +1 -1
- package/dist/components/reui/filters/filters-draft.d.ts +1 -1
- package/dist/components/reui/filters/filters-editors.d.ts +9 -9
- package/dist/components/reui/filters/filters-editors.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-editors.js +41 -41
- package/dist/components/reui/filters/filters-editors.js.map +1 -1
- package/dist/components/reui/filters/filters-lib.d.ts +1 -1
- package/dist/components/reui/filters/filters-types.d.ts +7 -7
- package/dist/components/reui/filters/filters-types.d.ts.map +1 -1
- package/dist/components/reui/filters/filters.d.ts +9 -9
- package/dist/components/reui/filters/filters.d.ts.map +1 -1
- package/dist/components/reui/filters/filters.js +56 -56
- package/dist/components/reui/filters/filters.js.map +1 -1
- package/dist/components/reui/frame.d.ts +1 -1
- package/dist/components/reui/frame.js +2 -2
- package/dist/components/reui/frame.js.map +1 -1
- package/dist/components/reui/gantt/gantt-bar.d.ts +1 -1
- package/dist/components/reui/gantt/gantt-bar.js +5 -5
- package/dist/components/reui/gantt/gantt-dnd.js +5 -5
- package/dist/components/reui/gantt/gantt-dnd.js.map +1 -1
- package/dist/components/reui/gantt/gantt-i18n.d.ts +1 -1
- package/dist/components/reui/gantt/gantt-lib.d.ts +1 -1
- package/dist/components/reui/gantt/gantt-lib.js +4 -4
- package/dist/components/reui/gantt/gantt-nav.d.ts +1 -1
- package/dist/components/reui/gantt/gantt-nav.js +6 -6
- package/dist/components/reui/gantt/gantt-recurrence.js +1 -1
- package/dist/components/reui/gantt/gantt-view.js +11 -11
- package/dist/components/reui/gantt/gantt-view.js.map +1 -1
- package/dist/components/reui/gantt/gantt.d.ts +3 -3
- package/dist/components/reui/gantt/gantt.js +4 -4
- package/dist/components/reui/gantt/gantt.js.map +1 -1
- package/dist/components/reui/icon-tile.d.ts +2 -2
- package/dist/components/reui/icon-tile.js +2 -2
- package/dist/components/reui/kanban.d.ts +11 -11
- package/dist/components/reui/kanban.d.ts.map +1 -1
- package/dist/components/reui/kanban.js +3 -3
- package/dist/components/reui/number-field.d.ts +1 -1
- package/dist/components/reui/number-field.js +4 -4
- package/dist/components/reui/phone-input.js +5 -5
- package/dist/components/reui/rating.js +2 -2
- package/dist/components/reui/scrollspy.js +1 -1
- package/dist/components/reui/signature-pad.d.ts +1 -1
- package/dist/components/reui/signature-pad.js +7 -7
- package/dist/components/reui/signature-pad.js.map +1 -1
- package/dist/components/reui/sortable.d.ts +7 -7
- package/dist/components/reui/sortable.d.ts.map +1 -1
- package/dist/components/reui/sortable.js +3 -3
- package/dist/components/reui/stepper.js +2 -2
- package/dist/components/reui/time-picker.d.ts +1 -1
- package/dist/components/reui/time-picker.js +4 -4
- package/dist/components/reui/timeline.js +2 -2
- package/dist/components/reui/tree.js +3 -3
- package/dist/components/ui/accordion.js +2 -2
- package/dist/components/ui/alert-dialog.d.ts +14 -14
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert.d.ts +5 -5
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/attachment.d.ts +14 -14
- package/dist/components/ui/attachment.d.ts.map +1 -1
- package/dist/components/ui/attachment.js +4 -4
- package/dist/components/ui/avatar.d.ts +7 -7
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/badge.d.ts +2 -2
- package/dist/components/ui/badge.js +2 -2
- package/dist/components/ui/breadcrumb.d.ts +8 -8
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.js +3 -3
- package/dist/components/ui/bubble.d.ts +9 -9
- package/dist/components/ui/bubble.d.ts.map +1 -1
- package/dist/components/ui/bubble.js +3 -3
- package/dist/components/ui/button-group.d.ts +3 -3
- package/dist/components/ui/button-group.js +4 -4
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.js +2 -2
- package/dist/components/ui/calendar.d.ts +7 -7
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +7 -7
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/card.d.ts +9 -9
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/carousel.d.ts +7 -7
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +14 -14
- package/dist/components/ui/carousel.js.map +1 -1
- package/dist/components/ui/chart.d.ts +12 -12
- package/dist/components/ui/chart.d.ts.map +1 -1
- package/dist/components/ui/chart.js +6 -6
- package/dist/components/ui/chart.js.map +1 -1
- package/dist/components/ui/checkbox.js +2 -2
- package/dist/components/ui/code-block.d.ts +13 -13
- package/dist/components/ui/code-block.d.ts.map +1 -1
- package/dist/components/ui/code-block.js +6 -6
- package/dist/components/ui/code-block.js.map +1 -1
- package/dist/components/ui/collapsible.js +1 -1
- package/dist/components/ui/combobox.d.ts +16 -16
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/combobox.js +7 -7
- package/dist/components/ui/combobox.js.map +1 -1
- package/dist/components/ui/command.d.ts +13 -13
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/command.js +3 -3
- package/dist/components/ui/context-menu.d.ts +16 -16
- package/dist/components/ui/context-menu.d.ts.map +1 -1
- package/dist/components/ui/context-menu.js +2 -2
- package/dist/components/ui/dialog.d.ts +12 -12
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +3 -3
- package/dist/components/ui/drawer.d.ts +12 -12
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer.js +5 -5
- package/dist/components/ui/drawer.js.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +2 -2
- package/dist/components/ui/empty.js +1 -1
- package/dist/components/ui/field.d.ts +2 -2
- package/dist/components/ui/field.js +3 -3
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/input-group.d.ts +9 -9
- package/dist/components/ui/input-group.d.ts.map +1 -1
- package/dist/components/ui/input-group.js +2 -2
- package/dist/components/ui/input-otp.d.ts +7 -7
- package/dist/components/ui/input-otp.d.ts.map +1 -1
- package/dist/components/ui/input-otp.js +4 -4
- package/dist/components/ui/input-otp.js.map +1 -1
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/item.d.ts +14 -14
- package/dist/components/ui/item.d.ts.map +1 -1
- package/dist/components/ui/item.js +4 -4
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/marker.d.ts +6 -6
- package/dist/components/ui/marker.d.ts.map +1 -1
- package/dist/components/ui/marker.js +3 -3
- package/dist/components/ui/menubar.d.ts +20 -20
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +4 -4
- package/dist/components/ui/message-scroller.d.ts +8 -8
- package/dist/components/ui/message-scroller.d.ts.map +1 -1
- package/dist/components/ui/message-scroller.js +3 -3
- package/dist/components/ui/message.d.ts +8 -8
- package/dist/components/ui/message.d.ts.map +1 -1
- package/dist/components/ui/native-select.d.ts +5 -5
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +1 -1
- package/dist/components/ui/navigation-menu.js +3 -3
- package/dist/components/ui/pagination.d.ts +11 -11
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/questionnaire.d.ts +17 -17
- package/dist/components/ui/questionnaire.d.ts.map +1 -1
- package/dist/components/ui/questionnaire.js +5 -5
- package/dist/components/ui/questionnaire.js.map +1 -1
- package/dist/components/ui/radio-group.js +2 -2
- package/dist/components/ui/resizable.js +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/select.d.ts +10 -10
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +2 -2
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/sheet.d.ts +9 -9
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sheet.js +3 -3
- package/dist/components/ui/sidebar.d.ts +33 -33
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +16 -16
- package/dist/components/ui/sidebar.js.map +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/spinner.js +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/table.d.ts +9 -9
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/tabs.d.ts +2 -2
- package/dist/components/ui/tabs.js +2 -2
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/toast.d.ts +11 -11
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +3 -3
- package/dist/components/ui/toggle-group.d.ts +5 -5
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.js +7 -7
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/trace.d.ts +12 -12
- package/dist/components/ui/trace.d.ts.map +1 -1
- package/dist/components/ui/trace.js +3 -3
- package/dist/components/ui/trace.js.map +1 -1
- package/dist/{constants-evLzfUhL.js → constants-DfbfCDSg.js} +3 -6
- package/dist/constants-DfbfCDSg.js.map +1 -0
- package/dist/{context-tv-kneJV.d.ts → context-4tt2I7Qm.d.ts} +39 -6
- package/dist/context-4tt2I7Qm.d.ts.map +1 -0
- package/dist/{context-C5TW-k6u.js → context-B3BNuwGu.js} +47 -31
- package/dist/context-B3BNuwGu.js.map +1 -0
- package/dist/context-BFNkGCGz.d.ts +82 -0
- package/dist/context-BFNkGCGz.d.ts.map +1 -0
- package/dist/{context-DUx44mGi.js → context-BG1Wzdnj.js} +34 -14
- package/dist/context-BG1Wzdnj.js.map +1 -0
- package/dist/{context-ChsuSih6.js → context-Bx-OaIL8.js} +36 -21
- package/dist/context-Bx-OaIL8.js.map +1 -0
- package/dist/{context-3i2_6ly8.js → context-C92iQeLO.js} +13 -5
- package/dist/context-C92iQeLO.js.map +1 -0
- package/dist/{context-CQbvWVnM.js → context-C9LHO4MN.js} +42 -35
- package/dist/context-C9LHO4MN.js.map +1 -0
- package/dist/{context-DdnKlMjE.js → context-CHXHCbuu.js} +18 -4
- package/dist/context-CHXHCbuu.js.map +1 -0
- package/dist/context-CIzAPhXA.js +170 -0
- package/dist/context-CIzAPhXA.js.map +1 -0
- package/dist/context-CP3spicY.d.ts +87 -0
- package/dist/context-CP3spicY.d.ts.map +1 -0
- package/dist/{context-DWXNECDe.js → context-Cg1VelQJ.js} +30 -28
- package/dist/context-Cg1VelQJ.js.map +1 -0
- package/dist/{context-CXlD0FcC.js → context-DDoVOc0D.js} +35 -28
- package/dist/context-DDoVOc0D.js.map +1 -0
- package/dist/{context-D-juVNr2.d.ts → context-DMIy-rFm.d.ts} +29 -3
- package/dist/context-DMIy-rFm.d.ts.map +1 -0
- package/dist/context-DR6jkfea.js +11 -0
- package/dist/context-DR6jkfea.js.map +1 -0
- package/dist/context-DcJtX6ht.js +166 -0
- package/dist/context-DcJtX6ht.js.map +1 -0
- package/dist/{context-i6Dwvi3T.js → context-Dg48xMuG.js} +47 -27
- 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-Dk6C9IvC.js → context-cRAJSFxf.js} +51 -15
- package/dist/context-cRAJSFxf.js.map +1 -0
- package/dist/{context-mjP5wifG.d.ts → context-jX-r_7EP.d.ts} +37 -6
- package/dist/context-jX-r_7EP.d.ts.map +1 -0
- package/dist/{copy-menu-LU54Aruj.js → copy-menu-Bgoo5oWq.js} +46 -27
- package/dist/copy-menu-Bgoo5oWq.js.map +1 -0
- package/dist/{crash-parts-CUv5gFYQ.js → crash-parts-BkrZ6iBE.js} +109 -236
- package/dist/crash-parts-BkrZ6iBE.js.map +1 -0
- package/dist/{data-grid-i18n-BySPLTBy.d.ts → data-grid-i18n-BcJcbW5k.d.ts} +1 -1
- package/dist/{data-grid-i18n-BySPLTBy.d.ts.map → data-grid-i18n-BcJcbW5k.d.ts.map} +1 -1
- package/dist/date-utils-DVDYcEA_.js +35 -0
- package/dist/date-utils-DVDYcEA_.js.map +1 -0
- package/dist/{ease-DjhlGGZO.d.ts → ease-D_-bhUDt.d.ts} +13 -6
- package/dist/ease-D_-bhUDt.d.ts.map +1 -0
- package/dist/{filters-draft-COwwppZX.d.ts → filters-draft-b-BwSZb1.d.ts} +1 -1
- package/dist/{filters-draft-COwwppZX.d.ts.map → filters-draft-b-BwSZb1.d.ts.map} +1 -1
- package/dist/formats-ColrL9Eg.js +58 -0
- package/dist/formats-ColrL9Eg.js.map +1 -0
- package/dist/game-parts-B635BoSe.d.ts +89 -0
- package/dist/game-parts-B635BoSe.d.ts.map +1 -0
- 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-to-clipboard.js +5 -5
- package/dist/hooks/use-copy-to-clipboard.js.map +1 -1
- 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 +17 -5
- package/dist/hooks/use-dismiss.d.ts.map +1 -1
- package/dist/hooks/use-dismiss.js +36 -24
- package/dist/hooks/use-dismiss.js.map +1 -1
- package/dist/hooks/use-favicon.js +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 +2 -2
- package/dist/hooks/use-highlighted-code.d.ts.map +1 -1
- package/dist/hooks/use-highlighted-code.js +6 -76
- package/dist/hooks/use-highlighted-code.js.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 +6 -6
- package/dist/hooks/use-hover-gesture.js.map +1 -1
- package/dist/hooks/use-intersection-observer.d.ts +2 -2
- package/dist/hooks/use-intersection-observer.d.ts.map +1 -1
- package/dist/hooks/use-intersection-observer.js +4 -4
- package/dist/hooks/use-intersection-observer.js.map +1 -1
- package/dist/hooks/use-listbox.d.ts +1 -0
- package/dist/hooks/use-listbox.js +3 -2
- package/dist/hooks/use-listbox.js.map +1 -1
- package/dist/hooks/use-meta-color.js +7 -7
- package/dist/hooks/use-meta-color.js.map +1 -1
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/use-mobile.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-mutation-observer.d.ts +2 -2
- package/dist/hooks/use-mutation-observer.d.ts.map +1 -1
- package/dist/hooks/use-mutation-observer.js +2 -2
- package/dist/hooks/use-mutation-observer.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-input.d.ts +4 -4
- package/dist/hooks/use-slider-input.d.ts.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/i18n-BRH0Y7Sm.d.ts +34 -0
- package/dist/i18n-BRH0Y7Sm.d.ts.map +1 -0
- 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 +18 -0
- package/dist/lib/book-sounds.d.ts.map +1 -0
- package/dist/lib/book-sounds.js +201 -0
- package/dist/lib/book-sounds.js.map +1 -0
- 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/highlighter.d.ts +10 -0
- package/dist/lib/highlighter.d.ts.map +1 -0
- package/dist/lib/highlighter.js +78 -0
- package/dist/lib/highlighter.js.map +1 -0
- package/dist/lib/i18n.d.ts +2 -0
- package/dist/lib/i18n.js +51 -0
- package/dist/lib/i18n.js.map +1 -0
- 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 +39 -0
- package/dist/lib/presence-gate.d.ts.map +1 -0
- package/dist/{presence-gate-DC7yL1Ls.js → lib/presence-gate.js} +3 -2
- package/dist/lib/presence-gate.js.map +1 -0
- 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-BYMFNf5X.d.ts +13 -0
- package/dist/messages-BYMFNf5X.d.ts.map +1 -0
- package/dist/messages-CVaE8xc6.js +14 -0
- package/dist/messages-CVaE8xc6.js.map +1 -0
- package/dist/messages-CqyH8Hd7.js +21 -0
- package/dist/messages-CqyH8Hd7.js.map +1 -0
- package/dist/messages-CrtN5AXG.js +20 -0
- package/dist/messages-CrtN5AXG.js.map +1 -0
- package/dist/messages-D0lxgjNm.d.ts +31 -0
- package/dist/messages-D0lxgjNm.d.ts.map +1 -0
- package/dist/messages-D4axySpl.d.ts +21 -0
- package/dist/messages-D4axySpl.d.ts.map +1 -0
- package/dist/messages-Dyou6PVt.d.ts +23 -0
- package/dist/messages-Dyou6PVt.d.ts.map +1 -0
- package/dist/messages-azsh5xBO.d.ts +20 -0
- package/dist/messages-azsh5xBO.d.ts.map +1 -0
- package/dist/messages-ogb0tIIX.d.ts +23 -0
- package/dist/messages-ogb0tIIX.d.ts.map +1 -0
- package/dist/messages-tLRkxZwI.d.ts +33 -0
- package/dist/messages-tLRkxZwI.d.ts.map +1 -0
- package/dist/{model-BFZGhrnQ.d.ts → model-CHHE1lHQ.d.ts} +5 -1
- package/dist/model-CHHE1lHQ.d.ts.map +1 -0
- package/dist/{model-DuAc65oe.d.ts → model-D6sI_4m9.d.ts} +5 -1
- package/dist/model-D6sI_4m9.d.ts.map +1 -0
- package/dist/{model-mS4UXPwk.d.ts → model-DUQnYLRU.d.ts} +3 -1
- package/dist/model-DUQnYLRU.d.ts.map +1 -0
- package/dist/{model-CvWolJdo.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/{path-VEfFUowr.d.ts → path-DMP3rnd1.d.ts} +1 -1
- package/dist/path-DMP3rnd1.d.ts.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-CTQFrQKi.js → plot-CSTtMo6j.js} +13 -13
- package/dist/plot-CSTtMo6j.js.map +1 -0
- package/dist/popover-morph-CWb4N9ux.d.ts +55 -0
- package/dist/popover-morph-CWb4N9ux.d.ts.map +1 -0
- package/dist/{popover-position-BaDNBZ-D.js → popover-position-U1ZMRPsY.js} +1 -1
- package/dist/{popover-position-BaDNBZ-D.js.map → popover-position-U1ZMRPsY.js.map} +1 -1
- package/dist/{positioner-MidjIUUT.js → positioner-CFR4mJg6.js} +117 -9
- package/dist/positioner-CFR4mJg6.js.map +1 -0
- package/dist/resource-row-PkgPS9Hk.js +290 -0
- package/dist/resource-row-PkgPS9Hk.js.map +1 -0
- package/dist/root-C1n8-uIA.js +420 -0
- package/dist/root-C1n8-uIA.js.map +1 -0
- package/dist/{scale-DSsaupNc.d.ts → scale-BLDMdHAp.d.ts} +1 -1
- package/dist/scale-BLDMdHAp.d.ts.map +1 -0
- package/dist/{use-inspection-CZhdpH8J.js → scale-JwdKsMkj.js} +2 -55
- package/dist/scale-JwdKsMkj.js.map +1 -0
- package/dist/theme.css +98 -4
- package/dist/{tooltip-w0KptZat.d.ts → tooltip-CoAbjn9I.d.ts} +9 -1
- package/dist/tooltip-CoAbjn9I.d.ts.map +1 -0
- package/dist/{tooltip-CNEYdIX3.d.ts → tooltip-DI79u-1V.d.ts} +28 -2
- package/dist/tooltip-DI79u-1V.d.ts.map +1 -0
- package/dist/{tooltip-CMVyNolz.d.ts → tooltip-DPci40hM.d.ts} +21 -2
- package/dist/tooltip-DPci40hM.d.ts.map +1 -0
- package/dist/{tooltip-Cq46pSJ2.d.ts → tooltip-X7sMXf98.d.ts} +31 -3
- package/dist/tooltip-X7sMXf98.d.ts.map +1 -0
- package/dist/{tooltip-content-K0vPsEtI.d.ts → tooltip-content-Dr8bhW-q.d.ts} +4 -2
- package/dist/tooltip-content-Dr8bhW-q.d.ts.map +1 -0
- package/dist/{tooltip-CuHpilPN.js → tooltip-gHv-6eOs.js} +58 -47
- package/dist/tooltip-gHv-6eOs.js.map +1 -0
- package/dist/{tooltip-BVRmgnbZ.d.ts → tooltip-gKOUHp_1.d.ts} +28 -2
- package/dist/tooltip-gKOUHp_1.d.ts.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-D9hKqIzm.d.ts → types-CbBZy33k.d.ts} +34 -2
- package/dist/types-CbBZy33k.d.ts.map +1 -0
- package/dist/{types-BB61jXS_.d.ts → types-ClKnPGuP.d.ts} +21 -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-BSMELKE5.d.ts → types-DlSHf6nJ.d.ts} +1 -1
- package/dist/types-DlSHf6nJ.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-B3RHxFkm.d.ts → use-crash-game-C6JPLvAH.d.ts} +60 -5
- package/dist/use-crash-game-C6JPLvAH.d.ts.map +1 -0
- 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-geometry-C84j2gUk.d.ts → use-geometry-BajLqxjC.d.ts} +1 -1
- package/dist/use-geometry-BajLqxjC.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-points-C2jpElHh.js → use-points-y0l-9pdN.js} +1 -1
- package/dist/use-points-y0l-9pdN.js.map +1 -0
- package/dist/{use-position-CWSE4wCz.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-Dve5wIjB.js +56 -0
- package/dist/utils-Dve5wIjB.js.map +1 -0
- package/dist/{utils-ZRfJ78Df.js → utils-F-hKjEFd.js} +1 -1
- package/dist/utils-F-hKjEFd.js.map +1 -0
- package/dist/utils-f7_cAAwc.js +55 -0
- package/dist/utils-f7_cAAwc.js.map +1 -0
- package/package.json +18 -18
- package/dist/account-avatar--0_0u0WW.js.map +0 -1
- package/dist/cascader-types-Bh_kJ3Qw.d.ts.map +0 -1
- package/dist/components/agents/agent-activity/index.d.ts +0 -4
- 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 +0 -49
- package/dist/components/agents/approval-card/index.d.ts.map +0 -1
- package/dist/components/agents/approval-card/index.js +0 -314
- 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 +0 -12
- 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.d.ts +0 -5
- package/dist/components/motion/button/index.js +0 -6
- package/dist/components/motion/combobox/context.d.ts.map +0 -1
- package/dist/components/motion/combobox/context.js.map +0 -1
- package/dist/components/motion/multi-select/context.d.ts.map +0 -1
- package/dist/components/motion/multi-select/context.js.map +0 -1
- 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 +0 -11
- 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-evLzfUhL.js.map +0 -1
- package/dist/context-3i2_6ly8.js.map +0 -1
- package/dist/context-C5TW-k6u.js.map +0 -1
- package/dist/context-CQbvWVnM.js.map +0 -1
- package/dist/context-CXlD0FcC.js.map +0 -1
- package/dist/context-ChsuSih6.js.map +0 -1
- package/dist/context-D-juVNr2.d.ts.map +0 -1
- package/dist/context-DUx44mGi.js.map +0 -1
- package/dist/context-DWXNECDe.js.map +0 -1
- package/dist/context-DdnKlMjE.js.map +0 -1
- package/dist/context-Dk6C9IvC.js.map +0 -1
- package/dist/context-i6Dwvi3T.js.map +0 -1
- package/dist/context-mjP5wifG.d.ts.map +0 -1
- package/dist/context-tv-kneJV.d.ts.map +0 -1
- package/dist/copy-menu-LU54Aruj.js.map +0 -1
- package/dist/crash-parts-CUv5gFYQ.js.map +0 -1
- package/dist/ease-DjhlGGZO.d.ts.map +0 -1
- package/dist/model-BFZGhrnQ.d.ts.map +0 -1
- package/dist/model-CvWolJdo.d.ts.map +0 -1
- package/dist/model-DuAc65oe.d.ts.map +0 -1
- package/dist/model-mS4UXPwk.d.ts.map +0 -1
- package/dist/path-VEfFUowr.d.ts.map +0 -1
- package/dist/plot-CTQFrQKi.js.map +0 -1
- package/dist/positioner-MidjIUUT.js.map +0 -1
- package/dist/presence-gate-DC7yL1Ls.js.map +0 -1
- package/dist/scale-DSsaupNc.d.ts.map +0 -1
- package/dist/tooltip-BVRmgnbZ.d.ts.map +0 -1
- package/dist/tooltip-CMVyNolz.d.ts.map +0 -1
- package/dist/tooltip-CNEYdIX3.d.ts.map +0 -1
- package/dist/tooltip-Cq46pSJ2.d.ts.map +0 -1
- package/dist/tooltip-CuHpilPN.js.map +0 -1
- package/dist/tooltip-content-K0vPsEtI.d.ts.map +0 -1
- package/dist/tooltip-w0KptZat.d.ts.map +0 -1
- package/dist/types-B0d0d7PF.d.ts +0 -34
- package/dist/types-B0d0d7PF.d.ts.map +0 -1
- package/dist/types-BB61jXS_.d.ts.map +0 -1
- package/dist/types-BSMELKE5.d.ts.map +0 -1
- package/dist/types-D9hKqIzm.d.ts.map +0 -1
- package/dist/types-qTGsGdN1.d.ts +0 -20
- package/dist/types-qTGsGdN1.d.ts.map +0 -1
- package/dist/use-active-option-DerS-wGL.js +0 -85
- package/dist/use-active-option-DerS-wGL.js.map +0 -1
- package/dist/use-crash-game-B3RHxFkm.d.ts.map +0 -1
- package/dist/use-geometry-C84j2gUk.d.ts.map +0 -1
- package/dist/use-inspection-CZhdpH8J.js.map +0 -1
- package/dist/use-points-C2jpElHh.js.map +0 -1
- package/dist/use-position-CWSE4wCz.d.ts.map +0 -1
- package/dist/use-width-CkKCh1b3.js +0 -23
- package/dist/use-width-CkKCh1b3.js.map +0 -1
- package/dist/utils-DMrlhG6M.js +0 -25
- package/dist/utils-DMrlhG6M.js.map +0 -1
- package/dist/utils-ZRfJ78Df.js.map +0 -1
|
@@ -1,46 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { EASE_OUT, SPRING_PRESS } from "../../../lib/ease.js";
|
|
3
|
-
import { i as truncateAddress, n as isValidAddress } from "../../../utils-DMrlhG6M.js";
|
|
4
2
|
import { useEffect, useRef } from "react";
|
|
3
|
+
import { ArrowDownUp, Check, ChevronDown, Send, X } from "lucide-react";
|
|
4
|
+
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
+
import { EASE_OUT, SPRING_LAYOUT, SPRING_PRESS } from "../../../lib/ease.js";
|
|
7
|
+
import { useMessages } from "../../../lib/i18n.js";
|
|
8
|
+
import { t as Tooltip } from "../../../tooltip-gHv-6eOs.js";
|
|
9
|
+
import { a as swapMessages, i as truncateAddress, n as isValidAddress } from "../../../utils-Dve5wIjB.js";
|
|
6
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
8
|
-
import { ArrowDownUp, Check, ChevronDown, Send, X } from "lucide-react";
|
|
9
11
|
// src/components/motion/swap/controls.tsx
|
|
10
|
-
function FlipButton({ rotation, reduce, onClick }) {
|
|
12
|
+
function FlipButton({ rotation, reduce, onClick, labels }) {
|
|
13
|
+
const t = useMessages("swap", swapMessages, labels);
|
|
11
14
|
return /* @__PURE__ */ jsx("div", {
|
|
12
15
|
className: "relative -my-4 flex justify-center",
|
|
13
16
|
style: { zIndex: 1 },
|
|
14
|
-
children: /* @__PURE__ */ jsx(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
children: /* @__PURE__ */ jsx(ArrowDownUp, { className: "h-3.5 w-3.5" })
|
|
17
|
+
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
18
|
+
content: t("reverse"),
|
|
19
|
+
side: "right",
|
|
20
|
+
children: /* @__PURE__ */ jsx(motion.button, {
|
|
21
|
+
type: "button",
|
|
22
|
+
onClick,
|
|
23
|
+
"aria-label": t("reverse"),
|
|
24
|
+
whileTap: reduce ? void 0 : { scale: .9 },
|
|
25
|
+
animate: reduce ? void 0 : { rotate: rotation },
|
|
26
|
+
transition: SPRING_LAYOUT,
|
|
27
|
+
className: "border-card bg-muted text-foreground inline-flex h-9 w-9 items-center justify-center rounded-full border-[3px] backdrop-blur",
|
|
28
|
+
children: /* @__PURE__ */ jsx(ArrowDownUp, { className: "h-3.5 w-3.5" })
|
|
29
|
+
})
|
|
28
30
|
})
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
|
-
function ActionButton({ from, to, amount, destAddress }) {
|
|
33
|
+
function ActionButton({ from, to, amount, destAddress, labels }) {
|
|
34
|
+
const t = useMessages("swap", swapMessages, labels);
|
|
32
35
|
const reduce = useReducedMotion();
|
|
33
36
|
const noAmount = amount <= 0;
|
|
34
37
|
const overBalance = from.balance !== void 0 && amount > from.balance;
|
|
35
38
|
const validDest = destAddress && isValidAddress(destAddress);
|
|
36
|
-
const label = noAmount ? "
|
|
39
|
+
const label = noAmount ? t("enterAmount") : overBalance ? t("insufficient", { symbol: from.symbol }) : validDest ? t("swapAndSend", { address: truncateAddress(destAddress) }) : t("swapTokens", {
|
|
40
|
+
from: from.symbol,
|
|
41
|
+
to: to.symbol
|
|
42
|
+
});
|
|
37
43
|
const disabled = noAmount || overBalance;
|
|
38
44
|
return /* @__PURE__ */ jsx(motion.button, {
|
|
39
45
|
type: "button",
|
|
40
46
|
whileTap: disabled || reduce ? void 0 : { scale: .97 },
|
|
41
47
|
transition: SPRING_PRESS,
|
|
42
48
|
disabled,
|
|
43
|
-
className: cn("mt-3 inline-flex h-12 w-full items-center justify-center rounded-
|
|
49
|
+
className: cn("mt-3 inline-flex h-12 w-full items-center justify-center rounded-full text-sm font-medium transition-colors", disabled ? "bg-muted text-muted-foreground cursor-not-allowed" : "bg-primary text-primary-foreground hover:bg-primary/90"),
|
|
44
50
|
children: /* @__PURE__ */ jsx(AnimatePresence, {
|
|
45
51
|
mode: "wait",
|
|
46
52
|
initial: false,
|
|
@@ -57,7 +63,8 @@ function ActionButton({ from, to, amount, destAddress }) {
|
|
|
57
63
|
})
|
|
58
64
|
});
|
|
59
65
|
}
|
|
60
|
-
function DestinationRow({ show, onToggle, address, onAddress, reduce }) {
|
|
66
|
+
function DestinationRow({ show, onToggle, address, onAddress, reduce, labels }) {
|
|
67
|
+
const t = useMessages("swap", swapMessages, labels);
|
|
61
68
|
const inputRef = useRef(null);
|
|
62
69
|
const hasAddress = address.length > 0;
|
|
63
70
|
const valid = isValidAddress(address);
|
|
@@ -66,14 +73,15 @@ function DestinationRow({ show, onToggle, address, onAddress, reduce }) {
|
|
|
66
73
|
requestAnimationFrame(() => inputRef.current?.focus({ preventScroll: true }));
|
|
67
74
|
}, [show]);
|
|
68
75
|
return /* @__PURE__ */ jsxs("div", {
|
|
69
|
-
className: "border-border/50 bg-background/40 mt-1 overflow-hidden rounded-
|
|
76
|
+
className: "border-border/50 bg-background/40 mt-1 overflow-hidden rounded-2xl border",
|
|
70
77
|
children: [/* @__PURE__ */ jsxs("button", {
|
|
71
78
|
type: "button",
|
|
72
79
|
onClick: onToggle,
|
|
73
|
-
|
|
80
|
+
"aria-expanded": show,
|
|
81
|
+
className: "text-muted-foreground hover:text-foreground flex w-full items-center justify-between gap-2 px-3.5 py-2.5 text-xs",
|
|
74
82
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
75
83
|
className: "flex items-center gap-2",
|
|
76
|
-
children: [/* @__PURE__ */ jsx(Send, { className: "h-3.5 w-3.5 shrink-0" }), /* @__PURE__ */ jsx("span", { children: show && hasAddress && valid ?
|
|
84
|
+
children: [/* @__PURE__ */ jsx(Send, { className: "h-3.5 w-3.5 shrink-0" }), /* @__PURE__ */ jsx("span", { children: show && hasAddress && valid ? t("sendTo", { address: truncateAddress(address) }) : t("sendToOther") })]
|
|
77
85
|
}), /* @__PURE__ */ jsx(motion.span, {
|
|
78
86
|
animate: reduce ? {} : { rotate: show ? 180 : 0 },
|
|
79
87
|
transition: {
|
|
@@ -104,14 +112,14 @@ function DestinationRow({ show, onToggle, address, onAddress, reduce }) {
|
|
|
104
112
|
children: /* @__PURE__ */ jsx("div", {
|
|
105
113
|
className: "border-border/50 border-t px-3.5 pt-2.5 pb-3",
|
|
106
114
|
children: /* @__PURE__ */ jsxs("div", {
|
|
107
|
-
className: cn("flex items-center gap-2 rounded-
|
|
115
|
+
className: cn("flex items-center gap-2 rounded-full border px-3 py-2 transition-colors", hasAddress && !valid ? "border-destructive/40" : "border-border"),
|
|
108
116
|
children: [/* @__PURE__ */ jsx("input", {
|
|
109
117
|
ref: inputRef,
|
|
110
118
|
value: address,
|
|
111
119
|
onChange: (e) => onAddress(e.target.value.trim()),
|
|
112
|
-
placeholder: "
|
|
120
|
+
placeholder: t("addressPlaceholder"),
|
|
113
121
|
spellCheck: false,
|
|
114
|
-
className: "text-foreground placeholder:text-muted-foreground/60 min-w-0 flex-1 bg-transparent font-mono text-
|
|
122
|
+
className: "text-foreground placeholder:text-muted-foreground/60 min-w-0 flex-1 bg-transparent font-mono text-xs outline-none"
|
|
115
123
|
}), /* @__PURE__ */ jsx(AnimatePresence, {
|
|
116
124
|
mode: "wait",
|
|
117
125
|
children: hasAddress ? valid ? /* @__PURE__ */ jsx(motion.span, {
|
|
@@ -135,7 +143,7 @@ function DestinationRow({ show, onToggle, address, onAddress, reduce }) {
|
|
|
135
143
|
}, "check") : /* @__PURE__ */ jsx(motion.button, {
|
|
136
144
|
type: "button",
|
|
137
145
|
onClick: () => onAddress(""),
|
|
138
|
-
"aria-label": "
|
|
146
|
+
"aria-label": t("clearAddress"),
|
|
139
147
|
initial: {
|
|
140
148
|
opacity: 0,
|
|
141
149
|
scale: .7
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.js","names":["EASE"],"sources":["../../../../src/components/motion/swap/controls.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { ArrowDownUp, Check, ChevronDown, Send, X } from \"lucide-react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\n\nimport { cn } from \"@kumix/utils\";\nimport { SPRING_PRESS } from \"../../../lib/ease\";\nimport { EASE } from \"./constants\";\nimport type { Token } from \"./types\";\nimport { isValidAddress, truncateAddress } from \"./utils\";\n\nexport function FlipButton({\n rotation,\n reduce,\n onClick,\n}: {\n rotation: number;\n reduce: boolean;\n onClick: () => void;\n}) {\n return (\n <div className=\"relative -my-4 flex justify-center\" style={{ zIndex: 1 }}>\n <motion.button\n type=\"button\"\n onClick={onClick}\n aria-label=\"Reverse direction\"\n whileTap={reduce ? undefined : { scale: 0.9 }}\n animate={reduce ? undefined : { rotate: rotation }}\n transition={{ type: \"spring\", stiffness: 380, damping: 26, mass: 0.6 }}\n className=\"border-card bg-muted text-foreground inline-flex h-9 w-9 items-center justify-center rounded-full border-[3px] backdrop-blur\"\n >\n <ArrowDownUp className=\"h-3.5 w-3.5\" />\n </motion.button>\n </div>\n );\n}\n\nexport function ActionButton({\n from,\n to,\n amount,\n destAddress,\n}: {\n from: Token;\n to: Token;\n amount: number;\n destAddress: string;\n}) {\n const reduce = useReducedMotion();\n const noAmount = amount <= 0;\n const overBalance = from.balance !== undefined && amount > from.balance;\n const validDest = destAddress && isValidAddress(destAddress);\n const label = noAmount\n ? \"Enter an amount\"\n : overBalance\n ? `Insufficient ${from.symbol}`\n : validDest\n ? `Swap + Send to ${truncateAddress(destAddress)}`\n : `Swap ${from.symbol} → ${to.symbol}`;\n const disabled = noAmount || overBalance;\n\n return (\n <motion.button\n type=\"button\"\n whileTap={disabled || reduce ? undefined : { scale: 0.97 }}\n transition={SPRING_PRESS}\n disabled={disabled}\n className={cn(\n \"mt-3 inline-flex h-12 w-full items-center justify-center rounded-2xl text-sm font-semibold transition-colors\",\n disabled\n ? \"bg-muted text-muted-foreground cursor-not-allowed\"\n : \"bg-primary text-primary-foreground hover:bg-primary/90\",\n )}\n >\n <AnimatePresence mode=\"wait\" initial={false}>\n <motion.span\n key={label}\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n exit={{ opacity: 0 }}\n transition={{ duration: 0.14, ease: EASE }}\n >\n {label}\n </motion.span>\n </AnimatePresence>\n </motion.button>\n );\n}\n\nexport function DestinationRow({\n show,\n onToggle,\n address,\n onAddress,\n reduce,\n}: {\n show: boolean;\n onToggle: () => void;\n address: string;\n onAddress: (v: string) => void;\n reduce: boolean;\n}) {\n const inputRef = useRef<HTMLInputElement>(null);\n const hasAddress = address.length > 0;\n const valid = isValidAddress(address);\n\n useEffect(() => {\n if (!show) return;\n requestAnimationFrame(() => inputRef.current?.focus({ preventScroll: true }));\n }, [show]);\n\n return (\n <div className=\"border-border/50 bg-background/40 mt-1 overflow-hidden rounded-xl border\">\n <button\n type=\"button\"\n onClick={onToggle}\n className=\"text-muted-foreground hover:text-foreground flex w-full items-center justify-between gap-2 px-3.5 py-2.5 text-[12px]\"\n >\n <span className=\"flex items-center gap-2\">\n <Send className=\"h-3.5 w-3.5 shrink-0\" />\n <span>\n {show && hasAddress && valid\n ? `To: ${truncateAddress(address)}`\n : \"Send to different address\"}\n </span>\n </span>\n <motion.span\n animate={reduce ? {} : { rotate: show ? 180 : 0 }}\n transition={{ duration: 0.2, ease: EASE }}\n style={{ display: \"inline-flex\" }}\n >\n <ChevronDown className=\"h-3.5 w-3.5\" />\n </motion.span>\n </button>\n\n <AnimatePresence>\n {show ? (\n <motion.div\n key=\"dest-input\"\n initial={reduce ? { opacity: 0 } : { height: 0, opacity: 0 }}\n animate={reduce ? { opacity: 1 } : { height: \"auto\", opacity: 1 }}\n exit={reduce ? { opacity: 0 } : { height: 0, opacity: 0 }}\n transition={{ duration: 0.22, ease: EASE }}\n style={{ overflow: \"hidden\" }}\n >\n <div className=\"border-border/50 border-t px-3.5 pt-2.5 pb-3\">\n <div\n className={cn(\n \"flex items-center gap-2 rounded-lg border px-2.5 py-2 transition-colors\",\n hasAddress && !valid ? \"border-destructive/40\" : \"border-border\",\n )}\n >\n <input\n ref={inputRef}\n value={address}\n onChange={(e) => onAddress(e.target.value.trim())}\n placeholder=\"0x... or name.eth\"\n spellCheck={false}\n className=\"text-foreground placeholder:text-muted-foreground/60 min-w-0 flex-1 bg-transparent font-mono text-[12px] outline-none\"\n />\n <AnimatePresence mode=\"wait\">\n {hasAddress ? (\n valid ? (\n <motion.span\n key=\"check\"\n initial={{ opacity: 0, scale: 0.7 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.7 }}\n transition={{ duration: 0.14, ease: EASE }}\n >\n <Check className=\"text-primary h-3.5 w-3.5 shrink-0\" />\n </motion.span>\n ) : (\n <motion.button\n key=\"clear\"\n type=\"button\"\n onClick={() => onAddress(\"\")}\n aria-label=\"Clear address\"\n initial={{ opacity: 0, scale: 0.7 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.7 }}\n transition={{ duration: 0.14, ease: EASE }}\n className=\"text-muted-foreground hover:text-foreground shrink-0\"\n >\n <X className=\"h-3.5 w-3.5\" />\n </motion.button>\n )\n ) : null}\n </AnimatePresence>\n </div>\n </div>\n </motion.div>\n ) : null}\n </AnimatePresence>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AAYA,SAAgB,WAAW,EACzB,UACA,QACA,WAKC;CACD,OACE,oBAAC,OAAD;EAAK,WAAU;EAAqC,OAAO,EAAE,QAAQ,EAAE;EACrE,UAAA,oBAAC,OAAO,QAAR;GACE,MAAK;GACI;GACT,cAAW;GACX,UAAU,SAAS,KAAA,IAAY,EAAE,OAAO,GAAI;GAC5C,SAAS,SAAS,KAAA,IAAY,EAAE,QAAQ,SAAS;GACjD,YAAY;IAAE,MAAM;IAAU,WAAW;IAAK,SAAS;IAAI,MAAM;GAAI;GACrE,WAAU;GAEV,UAAA,oBAAC,aAAD,EAAa,WAAU,cAAe,CAAA;EACzB,CAAA;CACZ,CAAA;AAET;AAEA,SAAgB,aAAa,EAC3B,MACA,IACA,QACA,eAMC;CACD,MAAM,SAAS,iBAAiB;CAChC,MAAM,WAAW,UAAU;CAC3B,MAAM,cAAc,KAAK,YAAY,KAAA,KAAa,SAAS,KAAK;CAChE,MAAM,YAAY,eAAe,eAAe,WAAW;CAC3D,MAAM,QAAQ,WACV,oBACA,cACE,gBAAgB,KAAK,WACrB,YACE,kBAAkB,gBAAgB,WAAW,MAC7C,QAAQ,KAAK,OAAO,KAAK,GAAG;CACpC,MAAM,WAAW,YAAY;CAE7B,OACE,oBAAC,OAAO,QAAR;EACE,MAAK;EACL,UAAU,YAAY,SAAS,KAAA,IAAY,EAAE,OAAO,IAAK;EACzD,YAAY;EACF;EACV,WAAW,GACT,gHACA,WACI,sDACA,wDACN;EAEA,UAAA,oBAAC,iBAAD;GAAiB,MAAK;GAAO,SAAS;GACpC,UAAA,oBAAC,OAAO,MAAR;IAEE,SAAS,EAAE,SAAS,EAAE;IACtB,SAAS,EAAE,SAAS,EAAE;IACtB,MAAM,EAAE,SAAS,EAAE;IACnB,YAAY;KAAE,UAAU;KAAM,MAAMA;IAAK;IAExC,UAAA;GACU,GAPN,KAOM;EACE,CAAA;CACJ,CAAA;AAEnB;AAEA,SAAgB,eAAe,EAC7B,MACA,UACA,SACA,WACA,UAOC;CACD,MAAM,WAAW,OAAyB,IAAI;CAC9C,MAAM,aAAa,QAAQ,SAAS;CACpC,MAAM,QAAQ,eAAe,OAAO;CAEpC,gBAAgB;EACd,IAAI,CAAC,MAAM;EACX,4BAA4B,SAAS,SAAS,MAAM,EAAE,eAAe,KAAK,CAAC,CAAC;CAC9E,GAAG,CAAC,IAAI,CAAC;CAET,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,qBAAC,UAAD;GACE,MAAK;GACL,SAAS;GACT,WAAU;GAHZ,UAAA,CAKE,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,oBAAC,MAAD,EAAM,WAAU,uBAAwB,CAAA,GACxC,oBAAC,QAAD,EAAA,UACG,QAAQ,cAAc,QACnB,OAAO,gBAAgB,OAAO,MAC9B,4BACA,CAAA,CACF;GACN,CAAA,GAAA,oBAAC,OAAO,MAAR;IACE,SAAS,SAAS,CAAC,IAAI,EAAE,QAAQ,OAAO,MAAM,EAAE;IAChD,YAAY;KAAE,UAAU;KAAK,MAAMA;IAAK;IACxC,OAAO,EAAE,SAAS,cAAc;IAEhC,UAAA,oBAAC,aAAD,EAAa,WAAU,cAAe,CAAA;GAC3B,CAAA,CACP;EAER,CAAA,GAAA,oBAAC,iBAAD,EAAA,UACG,OACC,oBAAC,OAAO,KAAR;GAEE,SAAS,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAE;GAC3D,SAAS,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAQ,SAAS;GAAE;GAChE,MAAM,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAE;GACxD,YAAY;IAAE,UAAU;IAAM,MAAMA;GAAK;GACzC,OAAO,EAAE,UAAU,SAAS;GAE5B,UAAA,oBAAC,OAAD;IAAK,WAAU;IACb,UAAA,qBAAC,OAAD;KACE,WAAW,GACT,2EACA,cAAc,CAAC,QAAQ,0BAA0B,eACnD;KAJF,UAAA,CAME,oBAAC,SAAD;MACE,KAAK;MACL,OAAO;MACP,WAAW,MAAM,UAAU,EAAE,OAAO,MAAM,KAAK,CAAC;MAChD,aAAY;MACZ,YAAY;MACZ,WAAU;KACX,CAAA,GACD,oBAAC,iBAAD;MAAiB,MAAK;MACnB,UAAA,aACC,QACE,oBAAC,OAAO,MAAR;OAEE,SAAS;QAAE,SAAS;QAAG,OAAO;OAAI;OAClC,SAAS;QAAE,SAAS;QAAG,OAAO;OAAE;OAChC,MAAM;QAAE,SAAS;QAAG,OAAO;OAAI;OAC/B,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OAEzC,UAAA,oBAAC,OAAD,EAAO,WAAU,oCAAqC,CAAA;MAC3C,GAPP,OAOO,IAEb,oBAAC,OAAO,QAAR;OAEE,MAAK;OACL,eAAe,UAAU,EAAE;OAC3B,cAAW;OACX,SAAS;QAAE,SAAS;QAAG,OAAO;OAAI;OAClC,SAAS;QAAE,SAAS;QAAG,OAAO;OAAE;OAChC,MAAM;QAAE,SAAS;QAAG,OAAO;OAAI;OAC/B,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OACzC,WAAU;OAEV,UAAA,oBAAC,GAAD,EAAG,WAAU,cAAe,CAAA;MACf,GAXT,OAWS,IAEf;KACW,CAAA,CACd;;GACF,CAAA;EACK,GArDN,YAqDM,IACV,KACW,CAAA,CACd;;AAET"}
|
|
1
|
+
{"version":3,"file":"controls.js","names":["EASE"],"sources":["../../../../src/components/motion/swap/controls.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { ArrowDownUp, Check, ChevronDown, Send, X } from \"lucide-react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\n\nimport { cn } from \"@kumix/utils\";\nimport { SPRING_LAYOUT, SPRING_PRESS } from \"../../../lib/ease\";\nimport { useMessages } from \"../../../lib/i18n\";\nimport { Tooltip } from \"../tooltip\";\nimport { EASE } from \"./constants\";\nimport { type SwapMessages, swapMessages } from \"./messages\";\nimport type { Token } from \"./types\";\nimport { isValidAddress, truncateAddress } from \"./utils\";\n\nexport function FlipButton({\n rotation,\n reduce,\n onClick,\n labels,\n}: {\n rotation: number;\n reduce: boolean;\n onClick: () => void;\n labels?: Partial<SwapMessages>;\n}) {\n const t = useMessages(\"swap\", swapMessages, labels);\n return (\n <div className=\"relative -my-4 flex justify-center\" style={{ zIndex: 1 }}>\n <Tooltip content={t(\"reverse\")} side=\"right\">\n <motion.button\n type=\"button\"\n onClick={onClick}\n aria-label={t(\"reverse\")}\n whileTap={reduce ? undefined : { scale: 0.9 }}\n animate={reduce ? undefined : { rotate: rotation }}\n transition={SPRING_LAYOUT}\n className=\"border-card bg-muted text-foreground inline-flex h-9 w-9 items-center justify-center rounded-full border-[3px] backdrop-blur\"\n >\n <ArrowDownUp className=\"h-3.5 w-3.5\" />\n </motion.button>\n </Tooltip>\n </div>\n );\n}\n\nexport function ActionButton({\n from,\n to,\n amount,\n destAddress,\n labels,\n}: {\n from: Token;\n to: Token;\n amount: number;\n destAddress: string;\n labels?: Partial<SwapMessages>;\n}) {\n const t = useMessages(\"swap\", swapMessages, labels);\n const reduce = useReducedMotion();\n const noAmount = amount <= 0;\n const overBalance = from.balance !== undefined && amount > from.balance;\n const validDest = destAddress && isValidAddress(destAddress);\n const label = noAmount\n ? t(\"enterAmount\")\n : overBalance\n ? t(\"insufficient\", { symbol: from.symbol })\n : validDest\n ? t(\"swapAndSend\", { address: truncateAddress(destAddress) })\n : t(\"swapTokens\", { from: from.symbol, to: to.symbol });\n const disabled = noAmount || overBalance;\n\n return (\n <motion.button\n type=\"button\"\n whileTap={disabled || reduce ? undefined : { scale: 0.97 }}\n transition={SPRING_PRESS}\n disabled={disabled}\n className={cn(\n \"mt-3 inline-flex h-12 w-full items-center justify-center rounded-full text-sm font-medium transition-colors\",\n disabled\n ? \"bg-muted text-muted-foreground cursor-not-allowed\"\n : \"bg-primary text-primary-foreground hover:bg-primary/90\",\n )}\n >\n <AnimatePresence mode=\"wait\" initial={false}>\n <motion.span\n key={label}\n initial={{ opacity: 0 }}\n animate={{ opacity: 1 }}\n exit={{ opacity: 0 }}\n transition={{ duration: 0.14, ease: EASE }}\n >\n {label}\n </motion.span>\n </AnimatePresence>\n </motion.button>\n );\n}\n\nexport function DestinationRow({\n show,\n onToggle,\n address,\n onAddress,\n reduce,\n labels,\n}: {\n show: boolean;\n onToggle: () => void;\n address: string;\n onAddress: (v: string) => void;\n reduce: boolean;\n labels?: Partial<SwapMessages>;\n}) {\n const t = useMessages(\"swap\", swapMessages, labels);\n const inputRef = useRef<HTMLInputElement>(null);\n const hasAddress = address.length > 0;\n const valid = isValidAddress(address);\n\n useEffect(() => {\n if (!show) return;\n requestAnimationFrame(() => inputRef.current?.focus({ preventScroll: true }));\n }, [show]);\n\n return (\n <div className=\"border-border/50 bg-background/40 mt-1 overflow-hidden rounded-2xl border\">\n <button\n type=\"button\"\n onClick={onToggle}\n aria-expanded={show}\n className=\"text-muted-foreground hover:text-foreground flex w-full items-center justify-between gap-2 px-3.5 py-2.5 text-xs\"\n >\n <span className=\"flex items-center gap-2\">\n <Send className=\"h-3.5 w-3.5 shrink-0\" />\n <span>\n {show && hasAddress && valid\n ? t(\"sendTo\", { address: truncateAddress(address) })\n : t(\"sendToOther\")}\n </span>\n </span>\n <motion.span\n animate={reduce ? {} : { rotate: show ? 180 : 0 }}\n transition={{ duration: 0.2, ease: EASE }}\n style={{ display: \"inline-flex\" }}\n >\n <ChevronDown className=\"h-3.5 w-3.5\" />\n </motion.span>\n </button>\n\n <AnimatePresence>\n {show ? (\n <motion.div\n key=\"dest-input\"\n initial={reduce ? { opacity: 0 } : { height: 0, opacity: 0 }}\n animate={reduce ? { opacity: 1 } : { height: \"auto\", opacity: 1 }}\n exit={reduce ? { opacity: 0 } : { height: 0, opacity: 0 }}\n transition={{ duration: 0.22, ease: EASE }}\n style={{ overflow: \"hidden\" }}\n >\n <div className=\"border-border/50 border-t px-3.5 pt-2.5 pb-3\">\n <div\n className={cn(\n \"flex items-center gap-2 rounded-full border px-3 py-2 transition-colors\",\n hasAddress && !valid ? \"border-destructive/40\" : \"border-border\",\n )}\n >\n <input\n ref={inputRef}\n value={address}\n onChange={(e) => onAddress(e.target.value.trim())}\n placeholder={t(\"addressPlaceholder\")}\n spellCheck={false}\n className=\"text-foreground placeholder:text-muted-foreground/60 min-w-0 flex-1 bg-transparent font-mono text-xs outline-none\"\n />\n <AnimatePresence mode=\"wait\">\n {hasAddress ? (\n valid ? (\n <motion.span\n key=\"check\"\n initial={{ opacity: 0, scale: 0.7 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.7 }}\n transition={{ duration: 0.14, ease: EASE }}\n >\n <Check className=\"text-primary h-3.5 w-3.5 shrink-0\" />\n </motion.span>\n ) : (\n <motion.button\n key=\"clear\"\n type=\"button\"\n onClick={() => onAddress(\"\")}\n aria-label={t(\"clearAddress\")}\n initial={{ opacity: 0, scale: 0.7 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: 0.7 }}\n transition={{ duration: 0.14, ease: EASE }}\n className=\"text-muted-foreground hover:text-foreground shrink-0\"\n >\n <X className=\"h-3.5 w-3.5\" />\n </motion.button>\n )\n ) : null}\n </AnimatePresence>\n </div>\n </div>\n </motion.div>\n ) : null}\n </AnimatePresence>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AAeA,SAAgB,WAAW,EACzB,UACA,QACA,SACA,UAMC;CACD,MAAM,IAAI,YAAY,QAAQ,cAAc,MAAM;CAClD,OACE,oBAAC,OAAD;EAAK,WAAU;EAAqC,OAAO,EAAE,QAAQ,EAAE;EACrE,UAAA,oBAAC,SAAD;GAAS,SAAS,EAAE,SAAS;GAAG,MAAK;GACnC,UAAA,oBAAC,OAAO,QAAR;IACE,MAAK;IACI;IACT,cAAY,EAAE,SAAS;IACvB,UAAU,SAAS,KAAA,IAAY,EAAE,OAAO,GAAI;IAC5C,SAAS,SAAS,KAAA,IAAY,EAAE,QAAQ,SAAS;IACjD,YAAY;IACZ,WAAU;IAEV,UAAA,oBAAC,aAAD,EAAa,WAAU,cAAe,CAAA;GACzB,CAAA;EACR,CAAA;CACN,CAAA;AAET;AAEA,SAAgB,aAAa,EAC3B,MACA,IACA,QACA,aACA,UAOC;CACD,MAAM,IAAI,YAAY,QAAQ,cAAc,MAAM;CAClD,MAAM,SAAS,iBAAiB;CAChC,MAAM,WAAW,UAAU;CAC3B,MAAM,cAAc,KAAK,YAAY,KAAA,KAAa,SAAS,KAAK;CAChE,MAAM,YAAY,eAAe,eAAe,WAAW;CAC3D,MAAM,QAAQ,WACV,EAAE,aAAa,IACf,cACE,EAAE,gBAAgB,EAAE,QAAQ,KAAK,OAAO,CAAC,IACzC,YACE,EAAE,eAAe,EAAE,SAAS,gBAAgB,WAAW,EAAE,CAAC,IAC1D,EAAE,cAAc;EAAE,MAAM,KAAK;EAAQ,IAAI,GAAG;CAAO,CAAC;CAC5D,MAAM,WAAW,YAAY;CAE7B,OACE,oBAAC,OAAO,QAAR;EACE,MAAK;EACL,UAAU,YAAY,SAAS,KAAA,IAAY,EAAE,OAAO,IAAK;EACzD,YAAY;EACF;EACV,WAAW,GACT,+GACA,WACI,sDACA,wDACN;EAEA,UAAA,oBAAC,iBAAD;GAAiB,MAAK;GAAO,SAAS;GACpC,UAAA,oBAAC,OAAO,MAAR;IAEE,SAAS,EAAE,SAAS,EAAE;IACtB,SAAS,EAAE,SAAS,EAAE;IACtB,MAAM,EAAE,SAAS,EAAE;IACnB,YAAY;KAAE,UAAU;KAAM,MAAMA;IAAK;IAExC,UAAA;GACU,GAPN,KAOM;EACE,CAAA;CACJ,CAAA;AAEnB;AAEA,SAAgB,eAAe,EAC7B,MACA,UACA,SACA,WACA,QACA,UAQC;CACD,MAAM,IAAI,YAAY,QAAQ,cAAc,MAAM;CAClD,MAAM,WAAW,OAAyB,IAAI;CAC9C,MAAM,aAAa,QAAQ,SAAS;CACpC,MAAM,QAAQ,eAAe,OAAO;CAEpC,gBAAgB;EACd,IAAI,CAAC,MAAM;EACX,4BAA4B,SAAS,SAAS,MAAM,EAAE,eAAe,KAAK,CAAC,CAAC;CAC9E,GAAG,CAAC,IAAI,CAAC;CAET,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,qBAAC,UAAD;GACE,MAAK;GACL,SAAS;GACT,iBAAe;GACf,WAAU;GAJZ,UAAA,CAME,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,oBAAC,MAAD,EAAM,WAAU,uBAAwB,CAAA,GACxC,oBAAC,QAAD,EAAA,UACG,QAAQ,cAAc,QACnB,EAAE,UAAU,EAAE,SAAS,gBAAgB,OAAO,EAAE,CAAC,IACjD,EAAE,aAAa,EACf,CAAA,CACF;GACN,CAAA,GAAA,oBAAC,OAAO,MAAR;IACE,SAAS,SAAS,CAAC,IAAI,EAAE,QAAQ,OAAO,MAAM,EAAE;IAChD,YAAY;KAAE,UAAU;KAAK,MAAMA;IAAK;IACxC,OAAO,EAAE,SAAS,cAAc;IAEhC,UAAA,oBAAC,aAAD,EAAa,WAAU,cAAe,CAAA;GAC3B,CAAA,CACP;EAER,CAAA,GAAA,oBAAC,iBAAD,EAAA,UACG,OACC,oBAAC,OAAO,KAAR;GAEE,SAAS,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAE;GAC3D,SAAS,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAQ,SAAS;GAAE;GAChE,MAAM,SAAS,EAAE,SAAS,EAAE,IAAI;IAAE,QAAQ;IAAG,SAAS;GAAE;GACxD,YAAY;IAAE,UAAU;IAAM,MAAMA;GAAK;GACzC,OAAO,EAAE,UAAU,SAAS;GAE5B,UAAA,oBAAC,OAAD;IAAK,WAAU;IACb,UAAA,qBAAC,OAAD;KACE,WAAW,GACT,2EACA,cAAc,CAAC,QAAQ,0BAA0B,eACnD;KAJF,UAAA,CAME,oBAAC,SAAD;MACE,KAAK;MACL,OAAO;MACP,WAAW,MAAM,UAAU,EAAE,OAAO,MAAM,KAAK,CAAC;MAChD,aAAa,EAAE,oBAAoB;MACnC,YAAY;MACZ,WAAU;KACX,CAAA,GACD,oBAAC,iBAAD;MAAiB,MAAK;MACnB,UAAA,aACC,QACE,oBAAC,OAAO,MAAR;OAEE,SAAS;QAAE,SAAS;QAAG,OAAO;OAAI;OAClC,SAAS;QAAE,SAAS;QAAG,OAAO;OAAE;OAChC,MAAM;QAAE,SAAS;QAAG,OAAO;OAAI;OAC/B,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OAEzC,UAAA,oBAAC,OAAD,EAAO,WAAU,oCAAqC,CAAA;MAC3C,GAPP,OAOO,IAEb,oBAAC,OAAO,QAAR;OAEE,MAAK;OACL,eAAe,UAAU,EAAE;OAC3B,cAAY,EAAE,cAAc;OAC5B,SAAS;QAAE,SAAS;QAAG,OAAO;OAAI;OAClC,SAAS;QAAE,SAAS;QAAG,OAAO;OAAE;OAChC,MAAM;QAAE,SAAS;QAAG,OAAO;OAAI;OAC/B,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OACzC,WAAU;OAEV,UAAA,oBAAC,GAAD,EAAG,WAAU,cAAe,CAAA;MACf,GAXT,OAWS,IAEf;KACW,CAAA,CACd;;GACF,CAAA;EACK,GArDN,YAqDM,IACV,KACW,CAAA,CACd;;AAET"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as SwapMessages } from "../../../messages-tLRkxZwI.js";
|
|
2
|
+
import { n as Token, r as TokenSide, t as Chain } from "../../../types-BhZ0FwDi.js";
|
|
3
|
+
export declare function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpenPicker, labels }: {
|
|
3
4
|
side: TokenSide;
|
|
4
5
|
token: Token;
|
|
5
6
|
chain: Chain;
|
|
@@ -8,5 +9,6 @@ export declare function Field({ side, token, chain, amount, onAmount, editable,
|
|
|
8
9
|
editable: boolean;
|
|
9
10
|
quoting: boolean;
|
|
10
11
|
onOpenPicker: () => void;
|
|
12
|
+
labels?: Partial<SwapMessages>;
|
|
11
13
|
}): import("react").JSX.Element;
|
|
12
14
|
//# sourceMappingURL=field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","names":[],"sources":["../../../../src/components/motion/swap/field.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"field.d.ts","names":[],"sources":["../../../../src/components/motion/swap/field.tsx"],"mappings":";;wBAagB,QACd,MACA,OACA,OACA,QACA,UACA,UACA,SACA,cACA;EAEA,MAAM;EACN,OAAO;EACP,OAAO;EACP;EACA,YAAY;EACZ;EACA;EACA;EACA,SAAS,QAAQ;oBAClB,IAAA"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { useId } from "react";
|
|
3
|
+
import { ChevronDown, Loader2, Wallet } from "lucide-react";
|
|
4
|
+
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
5
|
+
import { useMessages } from "../../../lib/i18n.js";
|
|
2
6
|
import { EASE_OUT } from "../../../lib/ease.js";
|
|
7
|
+
import { a as swapMessages, r as sanitizeAmount, t as formatAmount } from "../../../utils-Dve5wIjB.js";
|
|
3
8
|
import { TokenDot } from "./token-badges.js";
|
|
4
|
-
import { r as sanitizeAmount, t as formatAmount } from "../../../utils-DMrlhG6M.js";
|
|
5
|
-
import { useId } from "react";
|
|
6
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { AnimatePresence, motion } from "motion/react";
|
|
8
|
-
import { ChevronDown, Loader2, Wallet } from "lucide-react";
|
|
9
10
|
// src/components/motion/swap/field.tsx
|
|
10
|
-
function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpenPicker }) {
|
|
11
|
+
function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpenPicker, labels }) {
|
|
12
|
+
const t = useMessages("swap", swapMessages, labels);
|
|
13
|
+
const reduce = useReducedMotion();
|
|
11
14
|
const id = useId();
|
|
12
15
|
const usdValue = (Number(amount) || 0) * (token.usd ?? 0);
|
|
13
16
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -16,7 +19,7 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
16
19
|
/* @__PURE__ */ jsx("label", {
|
|
17
20
|
htmlFor: id,
|
|
18
21
|
className: "text-muted-foreground mb-2 block text-[11px] font-medium tracking-wider uppercase",
|
|
19
|
-
children: side === "from" ? "
|
|
22
|
+
children: side === "from" ? t("youPay") : t("youGet")
|
|
20
23
|
}),
|
|
21
24
|
/* @__PURE__ */ jsxs("div", {
|
|
22
25
|
className: "flex items-center justify-between gap-3",
|
|
@@ -28,9 +31,9 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
28
31
|
value: amount,
|
|
29
32
|
onChange: (e) => onAmount?.(sanitizeAmount(e.target.value)),
|
|
30
33
|
placeholder: "0",
|
|
31
|
-
className: "text-foreground placeholder:text-muted-foreground/60 w-full bg-transparent text-2xl font-
|
|
34
|
+
className: "text-foreground placeholder:text-muted-foreground/60 w-full bg-transparent text-2xl font-medium tracking-tight tabular-nums outline-none"
|
|
32
35
|
}) : /* @__PURE__ */ jsxs("div", {
|
|
33
|
-
className: "flex h-9 items-center gap-2 text-2xl font-
|
|
36
|
+
className: "flex h-9 items-center gap-2 text-2xl font-medium tracking-tight tabular-nums",
|
|
34
37
|
children: [/* @__PURE__ */ jsx(motion.span, {
|
|
35
38
|
animate: {
|
|
36
39
|
opacity: quoting ? .55 : 1,
|
|
@@ -45,7 +48,7 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
45
48
|
}), /* @__PURE__ */ jsx(AnimatePresence, { children: quoting ? /* @__PURE__ */ jsx(motion.span, {
|
|
46
49
|
initial: {
|
|
47
50
|
opacity: 0,
|
|
48
|
-
scale: .85
|
|
51
|
+
scale: reduce ? 1 : .85
|
|
49
52
|
},
|
|
50
53
|
animate: {
|
|
51
54
|
opacity: 1,
|
|
@@ -53,7 +56,7 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
53
56
|
},
|
|
54
57
|
exit: {
|
|
55
58
|
opacity: 0,
|
|
56
|
-
scale: .85
|
|
59
|
+
scale: reduce ? 1 : .85
|
|
57
60
|
},
|
|
58
61
|
transition: {
|
|
59
62
|
duration: .14,
|
|
@@ -68,7 +71,7 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
68
71
|
}), /* @__PURE__ */ jsxs("button", {
|
|
69
72
|
type: "button",
|
|
70
73
|
onClick: onOpenPicker,
|
|
71
|
-
className: "group border-border bg-card text-foreground hover:border-border inline-flex h-10 items-center gap-2 rounded-full border pr-2.5 pl-1 text-sm font-
|
|
74
|
+
className: "group border-border bg-card text-foreground hover:border-border inline-flex h-10 items-center gap-2 rounded-full border pr-2.5 pl-1 text-sm font-medium transition-transform active:scale-[0.97]",
|
|
72
75
|
children: [
|
|
73
76
|
/* @__PURE__ */ jsx(TokenDot, {
|
|
74
77
|
token,
|
|
@@ -94,8 +97,8 @@ function Field({ side, token, chain, amount, onAmount, editable, quoting, onOpen
|
|
|
94
97
|
}), side === "from" && token.balance ? /* @__PURE__ */ jsx("button", {
|
|
95
98
|
type: "button",
|
|
96
99
|
onClick: () => onAmount?.(String(token.balance)),
|
|
97
|
-
className: "text-muted-foreground hover:bg-muted/60 hover:text-foreground rounded px-
|
|
98
|
-
children: "
|
|
100
|
+
className: "text-muted-foreground hover:bg-muted/60 hover:text-foreground rounded-full px-2 py-0.5 text-[11px] font-medium tracking-wider uppercase",
|
|
101
|
+
children: t("max")
|
|
99
102
|
}) : null]
|
|
100
103
|
})
|
|
101
104
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","names":["EASE"],"sources":["../../../../src/components/motion/swap/field.tsx"],"sourcesContent":["\"use client\";\n\nimport { useId } from \"react\";\nimport { ChevronDown, Loader2, Wallet } from \"lucide-react\";\nimport { AnimatePresence, motion } from \"motion/react\";\n\nimport { EASE } from \"./constants\";\nimport { TokenDot } from \"./token-badges\";\nimport type { Chain, Token, TokenSide } from \"./types\";\nimport { formatAmount, sanitizeAmount } from \"./utils\";\n\nexport function Field({\n side,\n token,\n chain,\n amount,\n onAmount,\n editable,\n quoting,\n onOpenPicker,\n}: {\n side: TokenSide;\n token: Token;\n chain: Chain;\n amount: string;\n onAmount?: (v: string) => void;\n editable: boolean;\n quoting: boolean;\n onOpenPicker: () => void;\n}) {\n const id = useId();\n const usdValue = (Number(amount) || 0) * (token.usd ?? 0);\n\n return (\n <div className=\"border-border/50 bg-background/40 relative rounded-2xl border p-3.5\">\n <label\n htmlFor={id}\n className=\"text-muted-foreground mb-2 block text-[11px] font-medium tracking-wider uppercase\"\n >\n {side === \"from\" ? \"
|
|
1
|
+
{"version":3,"file":"field.js","names":["EASE"],"sources":["../../../../src/components/motion/swap/field.tsx"],"sourcesContent":["\"use client\";\n\nimport { useId } from \"react\";\nimport { ChevronDown, Loader2, Wallet } from \"lucide-react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\n\nimport { useMessages } from \"../../../lib/i18n\";\nimport { EASE } from \"./constants\";\nimport { type SwapMessages, swapMessages } from \"./messages\";\nimport { TokenDot } from \"./token-badges\";\nimport type { Chain, Token, TokenSide } from \"./types\";\nimport { formatAmount, sanitizeAmount } from \"./utils\";\n\nexport function Field({\n side,\n token,\n chain,\n amount,\n onAmount,\n editable,\n quoting,\n onOpenPicker,\n labels,\n}: {\n side: TokenSide;\n token: Token;\n chain: Chain;\n amount: string;\n onAmount?: (v: string) => void;\n editable: boolean;\n quoting: boolean;\n onOpenPicker: () => void;\n labels?: Partial<SwapMessages>;\n}) {\n const t = useMessages(\"swap\", swapMessages, labels);\n const reduce = useReducedMotion();\n const id = useId();\n const usdValue = (Number(amount) || 0) * (token.usd ?? 0);\n\n return (\n <div className=\"border-border/50 bg-background/40 relative rounded-2xl border p-3.5\">\n <label\n htmlFor={id}\n className=\"text-muted-foreground mb-2 block text-[11px] font-medium tracking-wider uppercase\"\n >\n {side === \"from\" ? t(\"youPay\") : t(\"youGet\")}\n </label>\n\n <div className=\"flex items-center justify-between gap-3\">\n <div className=\"min-w-0 flex-1\">\n {editable ? (\n <input\n id={id}\n inputMode=\"decimal\"\n value={amount}\n onChange={(e) => onAmount?.(sanitizeAmount(e.target.value))}\n placeholder=\"0\"\n className=\"text-foreground placeholder:text-muted-foreground/60 w-full bg-transparent text-2xl font-medium tracking-tight tabular-nums outline-none\"\n />\n ) : (\n <div className=\"flex h-9 items-center gap-2 text-2xl font-medium tracking-tight tabular-nums\">\n <motion.span\n animate={{\n opacity: quoting ? 0.55 : 1,\n filter: quoting ? \"blur(2px)\" : \"blur(0px)\",\n }}\n transition={{ duration: 0.18, ease: EASE }}\n className=\"text-foreground\"\n >\n {amount || \"0\"}\n </motion.span>\n <AnimatePresence>\n {quoting ? (\n <motion.span\n initial={{ opacity: 0, scale: reduce ? 1 : 0.85 }}\n animate={{ opacity: 1, scale: 1 }}\n exit={{ opacity: 0, scale: reduce ? 1 : 0.85 }}\n transition={{ duration: 0.14, ease: EASE }}\n >\n <Loader2 className=\"text-muted-foreground h-4 w-4 animate-spin\" />\n </motion.span>\n ) : null}\n </AnimatePresence>\n </div>\n )}\n <p className=\"text-muted-foreground mt-1 text-[11px] tabular-nums\">\n ≈ ${formatAmount(usdValue, 2)}\n </p>\n </div>\n\n <button\n type=\"button\"\n onClick={onOpenPicker}\n className=\"group border-border bg-card text-foreground hover:border-border inline-flex h-10 items-center gap-2 rounded-full border pr-2.5 pl-1 text-sm font-medium transition-transform active:scale-[0.97]\"\n >\n <TokenDot token={token} chain={chain} />\n <span>{token.symbol}</span>\n <ChevronDown className=\"text-muted-foreground h-3.5 w-3.5\" />\n </button>\n </div>\n\n <div className=\"text-muted-foreground mt-2 flex items-center justify-between text-[11px]\">\n <span className=\"inline-flex items-center gap-1\">\n <Wallet className=\"h-3 w-3\" />\n <span className=\"tabular-nums\">\n {token.balance ? formatAmount(token.balance) : \"0.00\"}\n </span>\n <span>· {chain.name}</span>\n </span>\n {side === \"from\" && token.balance ? (\n <button\n type=\"button\"\n onClick={() => onAmount?.(String(token.balance))}\n className=\"text-muted-foreground hover:bg-muted/60 hover:text-foreground rounded-full px-2 py-0.5 text-[11px] font-medium tracking-wider uppercase\"\n >\n {t(\"max\")}\n </button>\n ) : null}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAaA,SAAgB,MAAM,EACpB,MACA,OACA,OACA,QACA,UACA,UACA,SACA,cACA,UAWC;CACD,MAAM,IAAI,YAAY,QAAQ,cAAc,MAAM;CAClD,MAAM,SAAS,iBAAiB;CAChC,MAAM,KAAK,MAAM;CACjB,MAAM,YAAY,OAAO,MAAM,KAAK,MAAM,MAAM,OAAO;CAEvD,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,oBAAC,SAAD;IACE,SAAS;IACT,WAAU;IAET,UAAA,SAAS,SAAS,EAAE,QAAQ,IAAI,EAAE,QAAQ;GACtC,CAAA;GAEP,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,qBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACG,WACC,oBAAC,SAAD;MACM;MACJ,WAAU;MACV,OAAO;MACP,WAAW,MAAM,WAAW,eAAe,EAAE,OAAO,KAAK,CAAC;MAC1D,aAAY;MACZ,WAAU;KACX,CAAA,IAED,qBAAC,OAAD;MAAK,WAAU;MAAf,UAAA,CACE,oBAAC,OAAO,MAAR;OACE,SAAS;QACP,SAAS,UAAU,MAAO;QAC1B,QAAQ,UAAU,cAAc;OAClC;OACA,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OACzC,WAAU;OAET,UAAA,UAAU;MACA,CAAA,GACb,oBAAC,iBAAD,EAAA,UACG,UACC,oBAAC,OAAO,MAAR;OACE,SAAS;QAAE,SAAS;QAAG,OAAO,SAAS,IAAI;OAAK;OAChD,SAAS;QAAE,SAAS;QAAG,OAAO;OAAE;OAChC,MAAM;QAAE,SAAS;QAAG,OAAO,SAAS,IAAI;OAAK;OAC7C,YAAY;QAAE,UAAU;QAAM,MAAMA;OAAK;OAEzC,UAAA,oBAAC,SAAD,EAAS,WAAU,6CAA8C,CAAA;MACtD,CAAA,IACX,KACW,CAAA,CACd;KAEP,CAAA,GAAA,qBAAC,KAAD;MAAG,WAAU;MAAb,UAAA,CAAmE,OAC7D,aAAa,UAAU,CAAC,CAC3B;KACA,CAAA,CAAA;IAEL,CAAA,GAAA,qBAAC,UAAD;KACE,MAAK;KACL,SAAS;KACT,WAAU;KAHZ,UAAA;MAKE,oBAAC,UAAD;OAAiB;OAAc;MAAQ,CAAA;MACvC,oBAAC,QAAD,EAAA,UAAO,MAAM,OAAa,CAAA;MAC1B,oBAAC,aAAD,EAAa,WAAU,oCAAqC,CAAA;KACtD;IACL,CAAA,CAAA;;GAEL,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,qBAAC,QAAD;KAAM,WAAU;KAAhB,UAAA;MACE,oBAAC,QAAD,EAAQ,WAAU,UAAW,CAAA;MAC7B,oBAAC,QAAD;OAAM,WAAU;OACb,UAAA,MAAM,UAAU,aAAa,MAAM,OAAO,IAAI;MAC3C,CAAA;MACN,qBAAC,QAAD,EAAA,UAAA,CAAM,MAAG,MAAM,IAAW,EAAA,CAAA;KACtB;IACL,CAAA,GAAA,SAAS,UAAU,MAAM,UACxB,oBAAC,UAAD;KACE,MAAK;KACL,eAAe,WAAW,OAAO,MAAM,OAAO,CAAC;KAC/C,WAAU;KAET,UAAA,EAAE,KAAK;IACF,CAAA,IACN,IACD;;EACF;;AAET"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as SwapMessages } from "../../../messages-tLRkxZwI.js";
|
|
2
|
+
import { n as Token } from "../../../types-BhZ0FwDi.js";
|
|
3
|
+
export declare function QuoteRow({ from, to, rate, fee, slippage, eta, quoting, labels }: {
|
|
3
4
|
from: Token;
|
|
4
5
|
to: Token;
|
|
5
6
|
rate: number;
|
|
@@ -7,5 +8,6 @@ export declare function QuoteRow({ from, to, rate, fee, slippage, eta, quoting }
|
|
|
7
8
|
slippage: number;
|
|
8
9
|
eta: string;
|
|
9
10
|
quoting: boolean;
|
|
11
|
+
labels?: Partial<SwapMessages>;
|
|
10
12
|
}): import("react").JSX.Element;
|
|
11
13
|
//# sourceMappingURL=quote-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote-row.d.ts","names":[],"sources":["../../../../src/components/motion/swap/quote-row.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"quote-row.d.ts","names":[],"sources":["../../../../src/components/motion/swap/quote-row.tsx"],"mappings":";;wBASgB,WACd,MACA,IACA,MACA,KACA,UACA,KACA,SACA;EAEA,MAAM;EACN,IAAI;EACJ;EACA;EACA;EACA;EACA;EACA,SAAS,QAAQ;oBAClB,IAAA"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as formatAmount } from "../../../utils-DMrlhG6M.js";
|
|
3
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
2
|
import { Loader2 } from "lucide-react";
|
|
3
|
+
import { useMessages } from "../../../lib/i18n.js";
|
|
4
|
+
import { a as swapMessages, t as formatAmount } from "../../../utils-Dve5wIjB.js";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
// src/components/motion/swap/quote-row.tsx
|
|
6
|
-
function QuoteRow({ from, to, rate, fee, slippage, eta, quoting }) {
|
|
7
|
+
function QuoteRow({ from, to, rate, fee, slippage, eta, quoting, labels }) {
|
|
8
|
+
const t = useMessages("swap", swapMessages, labels);
|
|
7
9
|
return /* @__PURE__ */ jsxs("div", {
|
|
8
|
-
className: "border-border/50 bg-background/40 mt-3 grid grid-cols-2 gap-x-4 gap-y-1.5 rounded-
|
|
10
|
+
className: "border-border/50 bg-background/40 mt-3 grid grid-cols-2 gap-x-4 gap-y-1.5 rounded-2xl border px-3.5 py-2.5 text-[11px]",
|
|
9
11
|
children: [
|
|
10
12
|
/* @__PURE__ */ jsx("span", {
|
|
11
13
|
className: "text-muted-foreground",
|
|
12
|
-
children: "
|
|
14
|
+
children: t("rate")
|
|
13
15
|
}),
|
|
14
16
|
/* @__PURE__ */ jsx("span", {
|
|
15
17
|
className: "text-foreground text-right tabular-nums",
|
|
@@ -24,7 +26,7 @@ function QuoteRow({ from, to, rate, fee, slippage, eta, quoting }) {
|
|
|
24
26
|
}),
|
|
25
27
|
/* @__PURE__ */ jsx("span", {
|
|
26
28
|
className: "text-muted-foreground",
|
|
27
|
-
children: "
|
|
29
|
+
children: t("networkFee")
|
|
28
30
|
}),
|
|
29
31
|
/* @__PURE__ */ jsxs("span", {
|
|
30
32
|
className: "text-foreground text-right tabular-nums",
|
|
@@ -32,7 +34,7 @@ function QuoteRow({ from, to, rate, fee, slippage, eta, quoting }) {
|
|
|
32
34
|
}),
|
|
33
35
|
/* @__PURE__ */ jsx("span", {
|
|
34
36
|
className: "text-muted-foreground",
|
|
35
|
-
children: "
|
|
37
|
+
children: t("slippage")
|
|
36
38
|
}),
|
|
37
39
|
/* @__PURE__ */ jsxs("span", {
|
|
38
40
|
className: "text-foreground text-right tabular-nums",
|
|
@@ -40,7 +42,7 @@ function QuoteRow({ from, to, rate, fee, slippage, eta, quoting }) {
|
|
|
40
42
|
}),
|
|
41
43
|
/* @__PURE__ */ jsx("span", {
|
|
42
44
|
className: "text-muted-foreground",
|
|
43
|
-
children: "
|
|
45
|
+
children: t("eta")
|
|
44
46
|
}),
|
|
45
47
|
/* @__PURE__ */ jsx("span", {
|
|
46
48
|
className: "text-foreground text-right",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote-row.js","names":[],"sources":["../../../../src/components/motion/swap/quote-row.tsx"],"sourcesContent":["\"use client\";\n\nimport { Loader2 } from \"lucide-react\";\n\nimport type { Token } from \"./types\";\nimport { formatAmount } from \"./utils\";\n\nexport function QuoteRow({\n from,\n to,\n rate,\n fee,\n slippage,\n eta,\n quoting,\n}: {\n from: Token;\n to: Token;\n rate: number;\n fee: number;\n slippage: number;\n eta: string;\n quoting: boolean;\n}) {\n return (\n <div className=\"border-border/50 bg-background/40 mt-3 grid grid-cols-2 gap-x-4 gap-y-1.5 rounded-
|
|
1
|
+
{"version":3,"file":"quote-row.js","names":[],"sources":["../../../../src/components/motion/swap/quote-row.tsx"],"sourcesContent":["\"use client\";\n\nimport { Loader2 } from \"lucide-react\";\n\nimport { useMessages } from \"../../../lib/i18n\";\nimport { type SwapMessages, swapMessages } from \"./messages\";\nimport type { Token } from \"./types\";\nimport { formatAmount } from \"./utils\";\n\nexport function QuoteRow({\n from,\n to,\n rate,\n fee,\n slippage,\n eta,\n quoting,\n labels,\n}: {\n from: Token;\n to: Token;\n rate: number;\n fee: number;\n slippage: number;\n eta: string;\n quoting: boolean;\n labels?: Partial<SwapMessages>;\n}) {\n const t = useMessages(\"swap\", swapMessages, labels);\n return (\n <div className=\"border-border/50 bg-background/40 mt-3 grid grid-cols-2 gap-x-4 gap-y-1.5 rounded-2xl border px-3.5 py-2.5 text-[11px]\">\n <span className=\"text-muted-foreground\">{t(\"rate\")}</span>\n <span className=\"text-foreground text-right tabular-nums\">\n {quoting ? (\n <Loader2 className=\"text-muted-foreground ml-auto inline h-3 w-3 animate-spin\" />\n ) : (\n <>\n 1 {from.symbol} ≈ {formatAmount(rate)} {to.symbol}\n </>\n )}\n </span>\n <span className=\"text-muted-foreground\">{t(\"networkFee\")}</span>\n <span className=\"text-foreground text-right tabular-nums\">${fee.toFixed(2)}</span>\n <span className=\"text-muted-foreground\">{t(\"slippage\")}</span>\n <span className=\"text-foreground text-right tabular-nums\">{slippage.toFixed(2)}%</span>\n <span className=\"text-muted-foreground\">{t(\"eta\")}</span>\n <span className=\"text-foreground text-right\">{eta}</span>\n </div>\n );\n}\n"],"mappings":";;;;;;AASA,SAAgB,SAAS,EACvB,MACA,IACA,MACA,KACA,UACA,KACA,SACA,UAUC;CACD,MAAM,IAAI,YAAY,QAAQ,cAAc,MAAM;CAClD,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,oBAAC,QAAD;IAAM,WAAU;IAAyB,UAAA,EAAE,MAAM;GAAQ,CAAA;GACzD,oBAAC,QAAD;IAAM,WAAU;IACb,UAAA,UACC,oBAAC,SAAD,EAAS,WAAU,4DAA6D,CAAA,IAEhF,qBAAA,UAAA,EAAA,UAAA;KAAE;KACG,KAAK;KAAO;KAAI,aAAa,IAAI;KAAE;KAAE,GAAG;IAC3C,EAAA,CAAA;GAEA,CAAA;GACN,oBAAC,QAAD;IAAM,WAAU;IAAyB,UAAA,EAAE,YAAY;GAAQ,CAAA;GAC/D,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CAA0D,KAAE,IAAI,QAAQ,CAAC,CAAQ;;GACjF,oBAAC,QAAD;IAAM,WAAU;IAAyB,UAAA,EAAE,UAAU;GAAQ,CAAA;GAC7D,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CAA2D,SAAS,QAAQ,CAAC,GAAE,GAAO;;GACtF,oBAAC,QAAD;IAAM,WAAU;IAAyB,UAAA,EAAE,KAAK;GAAQ,CAAA;GACxD,oBAAC,QAAD;IAAM,WAAU;IAA8B,UAAA;GAAU,CAAA;EACrD;;AAET"}
|
|
@@ -7,13 +7,13 @@ function ChainChip({ active, onClick, chain, label }) {
|
|
|
7
7
|
type: "button",
|
|
8
8
|
onClick,
|
|
9
9
|
"aria-pressed": active,
|
|
10
|
-
className: cn("inline-flex h-9 shrink-0 items-center justify-center rounded-
|
|
10
|
+
className: cn("inline-flex h-9 shrink-0 items-center justify-center rounded-full border transition-[color,background-color,border-color,transform] active:scale-[0.97]", chain ? "w-9" : "px-3", active ? "border-primary/20 bg-muted/60 text-foreground" : "border-border/60 bg-background/40 text-foreground hover:border-border"),
|
|
11
11
|
title: chain?.name ?? label,
|
|
12
12
|
children: chain ? /* @__PURE__ */ jsx(ChainDot, {
|
|
13
13
|
chain,
|
|
14
14
|
size: 20
|
|
15
15
|
}) : /* @__PURE__ */ jsx("span", {
|
|
16
|
-
className: "text-xs font-
|
|
16
|
+
className: "text-xs font-medium",
|
|
17
17
|
children: label
|
|
18
18
|
})
|
|
19
19
|
});
|
|
@@ -24,7 +24,7 @@ function ChainDot({ chain, size = 16 }) {
|
|
|
24
24
|
width: size,
|
|
25
25
|
height: size
|
|
26
26
|
},
|
|
27
|
-
className: cn("inline-flex shrink-0 items-center justify-center rounded-full text-[
|
|
27
|
+
className: cn("inline-flex shrink-0 items-center justify-center rounded-full text-[11px] font-semibold", chain.tone),
|
|
28
28
|
children: chain.symbol
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -36,15 +36,14 @@ function TokenDot({ token, chain, size = 28 }) {
|
|
|
36
36
|
height: size
|
|
37
37
|
},
|
|
38
38
|
children: [/* @__PURE__ */ jsx("span", {
|
|
39
|
-
className: "border-border bg-background text-foreground absolute inset-0 inline-flex items-center justify-center rounded-full border text-[11px] font-
|
|
39
|
+
className: "border-border bg-background text-foreground absolute inset-0 inline-flex items-center justify-center rounded-full border text-[11px] font-semibold",
|
|
40
40
|
children: token.symbol.slice(0, 2)
|
|
41
41
|
}), /* @__PURE__ */ jsx("span", {
|
|
42
42
|
style: {
|
|
43
43
|
width: size * .42,
|
|
44
44
|
height: size * .42
|
|
45
45
|
},
|
|
46
|
-
className: cn("border-card absolute -right-0.5 -bottom-0.5
|
|
47
|
-
children: chain.symbol
|
|
46
|
+
className: cn("border-card absolute -right-0.5 -bottom-0.5 rounded-full border-2", chain.tone)
|
|
48
47
|
})]
|
|
49
48
|
});
|
|
50
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-badges.js","names":[],"sources":["../../../../src/components/motion/swap/token-badges.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@kumix/utils\";\nimport type { Chain, Token } from \"./types\";\n\nexport function ChainChip({\n active,\n onClick,\n chain,\n label,\n}: {\n active: boolean;\n onClick: () => void;\n chain?: Chain;\n label?: string;\n}) {\n return (\n <button\n type=\"button\"\n onClick={onClick}\n aria-pressed={active}\n className={cn(\n \"inline-flex h-9 shrink-0 items-center justify-center rounded-
|
|
1
|
+
{"version":3,"file":"token-badges.js","names":[],"sources":["../../../../src/components/motion/swap/token-badges.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@kumix/utils\";\nimport type { Chain, Token } from \"./types\";\n\nexport function ChainChip({\n active,\n onClick,\n chain,\n label,\n}: {\n active: boolean;\n onClick: () => void;\n chain?: Chain;\n label?: string;\n}) {\n return (\n <button\n type=\"button\"\n onClick={onClick}\n aria-pressed={active}\n className={cn(\n \"inline-flex h-9 shrink-0 items-center justify-center rounded-full border transition-[color,background-color,border-color,transform] active:scale-[0.97]\",\n chain ? \"w-9\" : \"px-3\",\n active\n ? \"border-primary/20 bg-muted/60 text-foreground\"\n : \"border-border/60 bg-background/40 text-foreground hover:border-border\",\n )}\n title={chain?.name ?? label}\n >\n {chain ? (\n <ChainDot chain={chain} size={20} />\n ) : (\n <span className=\"text-xs font-medium\">{label}</span>\n )}\n </button>\n );\n}\n\nexport function ChainDot({ chain, size = 16 }: { chain: Chain; size?: number }) {\n return (\n <span\n style={{ width: size, height: size }}\n className={cn(\n \"inline-flex shrink-0 items-center justify-center rounded-full text-[11px] font-semibold\",\n chain.tone,\n )}\n >\n {chain.symbol}\n </span>\n );\n}\n\nexport function TokenDot({\n token,\n chain,\n size = 28,\n}: {\n token: Token;\n chain: Chain;\n size?: number;\n}) {\n return (\n <span className=\"relative inline-flex shrink-0\" style={{ width: size, height: size }}>\n <span className=\"border-border bg-background text-foreground absolute inset-0 inline-flex items-center justify-center rounded-full border text-[11px] font-semibold\">\n {token.symbol.slice(0, 2)}\n </span>\n <span\n style={{\n width: size * 0.42,\n height: size * 0.42,\n }}\n className={cn(\n \"border-card absolute -right-0.5 -bottom-0.5 rounded-full border-2\",\n chain.tone,\n )}\n />\n </span>\n );\n}\n"],"mappings":";;;;AAKA,SAAgB,UAAU,EACxB,QACA,SACA,OACA,SAMC;CACD,OACE,oBAAC,UAAD;EACE,MAAK;EACI;EACT,gBAAc;EACd,WAAW,GACT,2JACA,QAAQ,QAAQ,QAChB,SACI,kDACA,uEACN;EACA,OAAO,OAAO,QAAQ;EAErB,UAAA,QACC,oBAAC,UAAD;GAAiB;GAAO,MAAM;EAAK,CAAA,IAEnC,oBAAC,QAAD;GAAM,WAAU;GAAuB,UAAA;EAAY,CAAA;CAE/C,CAAA;AAEZ;AAEA,SAAgB,SAAS,EAAE,OAAO,OAAO,MAAuC;CAC9E,OACE,oBAAC,QAAD;EACE,OAAO;GAAE,OAAO;GAAM,QAAQ;EAAK;EACnC,WAAW,GACT,2FACA,MAAM,IACR;EAEC,UAAA,MAAM;CACH,CAAA;AAEV;AAEA,SAAgB,SAAS,EACvB,OACA,OACA,OAAO,MAKN;CACD,OACE,qBAAC,QAAD;EAAM,WAAU;EAAgC,OAAO;GAAE,OAAO;GAAM,QAAQ;EAAK;EAAnF,UAAA,CACE,oBAAC,QAAD;GAAM,WAAU;GACb,UAAA,MAAM,OAAO,MAAM,GAAG,CAAC;EACpB,CAAA,GACN,oBAAC,QAAD;GACE,OAAO;IACL,OAAO,OAAO;IACd,QAAQ,OAAO;GACjB;GACA,WAAW,GACT,qEACA,MAAM,IACR;EACD,CAAA,CACG;;AAEV"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as SwapMessages } from "../../../messages-tLRkxZwI.js";
|
|
2
|
+
import { n as Token, r as TokenSide, t as Chain } from "../../../types-BhZ0FwDi.js";
|
|
3
|
+
export declare function TokenPicker({ open, side, chains, tokens, selectedId, onPick, onClose, reduce, labels }: {
|
|
3
4
|
open: boolean;
|
|
4
5
|
side: TokenSide | null;
|
|
5
6
|
chains: Chain[];
|
|
@@ -8,5 +9,6 @@ export declare function TokenPicker({ open, side, chains, tokens, selectedId, on
|
|
|
8
9
|
onPick: (id: string) => void;
|
|
9
10
|
onClose: () => void;
|
|
10
11
|
reduce: boolean;
|
|
12
|
+
labels?: Partial<SwapMessages>;
|
|
11
13
|
}): import("react").JSX.Element;
|
|
12
14
|
//# sourceMappingURL=token-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-picker.d.ts","names":[],"sources":["../../../../src/components/motion/swap/token-picker.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"token-picker.d.ts","names":[],"sources":["../../../../src/components/motion/swap/token-picker.tsx"],"mappings":";;wBAiBgB,cACd,MACA,MACA,QACA,QACA,YACA,QACA,SACA,QACA;EAEA;EACA,MAAM;EACN,QAAQ;EACR,QAAQ;EACR;EACA,SAAS;EACT;EACA;EACA,SAAS,QAAQ;oBAClB,IAAA"}
|