@kumix/ui 0.5.0 → 0.6.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 +16 -12
- 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/{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 +24 -15
- package/dist/components/agents/agent-activity/activity-row.js.map +1 -1
- package/dist/components/agents/agent-activity/index.d.ts +3 -3
- package/dist/components/agents/agent-activity/index.d.ts.map +1 -1
- package/dist/components/agents/agent-activity/index.js +74 -28
- package/dist/components/agents/agent-activity/index.js.map +1 -1
- package/dist/components/agents/agent-code.js +1 -1
- package/dist/components/agents/agent-disclosure.js +2 -2
- package/dist/components/agents/ai-sidebar.d.ts +23 -1
- package/dist/components/agents/ai-sidebar.d.ts.map +1 -1
- package/dist/components/agents/ai-sidebar.js +53 -21
- package/dist/components/agents/ai-sidebar.js.map +1 -1
- package/dist/components/agents/approval-card/index.d.ts +24 -2
- package/dist/components/agents/approval-card/index.d.ts.map +1 -1
- package/dist/components/agents/approval-card/index.js +64 -42
- package/dist/components/agents/approval-card/index.js.map +1 -1
- package/dist/components/agents/chat-app.js +1 -1
- package/dist/components/agents/citations.d.ts +8 -1
- package/dist/components/agents/citations.d.ts.map +1 -1
- package/dist/components/agents/citations.js +15 -8
- package/dist/components/agents/citations.js.map +1 -1
- package/dist/components/agents/code-block.d.ts +11 -2
- package/dist/components/agents/code-block.d.ts.map +1 -1
- package/dist/components/agents/code-block.js +19 -9
- package/dist/components/agents/code-block.js.map +1 -1
- package/dist/components/agents/file-diff.d.ts +13 -2
- package/dist/components/agents/file-diff.d.ts.map +1 -1
- package/dist/components/agents/file-diff.js +23 -12
- package/dist/components/agents/file-diff.js.map +1 -1
- package/dist/components/agents/image-generation.d.ts +15 -1
- package/dist/components/agents/image-generation.d.ts.map +1 -1
- package/dist/components/agents/image-generation.js +23 -17
- package/dist/components/agents/image-generation.js.map +1 -1
- package/dist/components/agents/loading-states/agent-progress.d.ts +4 -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 +4 -1
- package/dist/components/agents/loading-states/reasoning-text.d.ts.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.js +14 -12
- package/dist/components/agents/loading-states/reasoning-text.js.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts +4 -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 +9 -1
- package/dist/components/agents/message-bubble.d.ts.map +1 -1
- package/dist/components/agents/message-bubble.js +18 -10
- package/dist/components/agents/message-bubble.js.map +1 -1
- package/dist/components/agents/message-scroller.d.ts +12 -1
- package/dist/components/agents/message-scroller.d.ts.map +1 -1
- package/dist/components/agents/message-scroller.js +29 -10
- package/dist/components/agents/message-scroller.js.map +1 -1
- package/dist/components/agents/message.d.ts +11 -3
- package/dist/components/agents/message.d.ts.map +1 -1
- package/dist/components/agents/message.js +17 -9
- package/dist/components/agents/message.js.map +1 -1
- package/dist/components/agents/prompt-input.d.ts +13 -1
- package/dist/components/agents/prompt-input.d.ts.map +1 -1
- package/dist/components/agents/prompt-input.js +22 -11
- package/dist/components/agents/prompt-input.js.map +1 -1
- package/dist/components/agents/streaming-response.d.ts +15 -2
- package/dist/components/agents/streaming-response.d.ts.map +1 -1
- package/dist/components/agents/streaming-response.js +26 -18
- package/dist/components/agents/streaming-response.js.map +1 -1
- package/dist/components/agents/todo-list.d.ts +15 -1
- package/dist/components/agents/todo-list.d.ts.map +1 -1
- package/dist/components/agents/todo-list.js +39 -27
- package/dist/components/agents/todo-list.js.map +1 -1
- package/dist/components/agents/tool-approval.d.ts +20 -2
- package/dist/components/agents/tool-approval.d.ts.map +1 -1
- package/dist/components/agents/tool-approval.js +29 -21
- package/dist/components/agents/tool-approval.js.map +1 -1
- package/dist/components/agents/tool-result.d.ts +15 -2
- package/dist/components/agents/tool-result.d.ts.map +1 -1
- package/dist/components/agents/tool-result.js +21 -15
- package/dist/components/agents/tool-result.js.map +1 -1
- 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 +24 -9
- package/dist/components/charts/bar-chart/context.d.ts.map +1 -1
- package/dist/components/charts/bar-chart/context.js +16 -5
- package/dist/components/charts/bar-chart/context.js.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.js +23 -13
- package/dist/components/charts/bar-chart/plot.js.map +1 -1
- package/dist/components/charts/bar-chart/tooltip.d.ts +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 +4 -4
- 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 +15 -13
- 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 +3 -3
- 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 +18 -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 +16 -17
- 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 +4 -4
- 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 +13 -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 +19 -1
- package/dist/components/charts/funnel-chart.d.ts.map +1 -1
- package/dist/components/charts/funnel-chart.js +45 -30
- package/dist/components/charts/funnel-chart.js.map +1 -1
- package/dist/components/charts/heat-calendar/grid.js +12 -5
- 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 +21 -4
- package/dist/components/charts/line-chart/context.d.ts.map +1 -1
- package/dist/components/charts/line-chart/context.js +19 -6
- package/dist/components/charts/line-chart/context.js.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.js +26 -16
- package/dist/components/charts/line-chart/plot.js.map +1 -1
- package/dist/components/charts/line-chart/tooltip.d.ts +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 +17 -1
- package/dist/components/charts/liquidity-heatmap.d.ts.map +1 -1
- package/dist/components/charts/liquidity-heatmap.js +52 -27
- 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 +26 -1
- package/dist/components/charts/order-book.d.ts.map +1 -1
- package/dist/components/charts/order-book.js +84 -33
- package/dist/components/charts/order-book.js.map +1 -1
- package/dist/components/charts/price-target-fan/header.js +5 -5
- 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 +2 -2
- 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 +16 -9
- 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.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.js +9 -6
- package/dist/components/charts/sankey-chart/plot.js.map +1 -1
- package/dist/components/charts/sankey-chart/tooltip.d.ts +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 +19 -2
- package/dist/components/charts/sparkline.d.ts.map +1 -1
- package/dist/components/charts/sparkline.js +34 -14
- package/dist/components/charts/sparkline.js.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.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.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.js +3 -3
- package/dist/components/charts/treemap/legend.js.map +1 -1
- package/dist/components/charts/treemap/plot.d.ts +1 -1
- package/dist/components/charts/treemap/plot.js +6 -6
- 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 +5 -5
- package/dist/components/charts/treemap/tile.js.map +1 -1
- package/dist/components/charts/treemap/tooltip.d.ts +1 -1
- package/dist/components/charts/treemap/tooltip.js +4 -4
- package/dist/components/charts/treemap.d.ts +21 -4
- 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.js +7 -7
- package/dist/components/charts/volume-profile/plot.js.map +1 -1
- package/dist/components/charts/volume-profile/summary.js +15 -21
- 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 +29 -4
- 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.js +1 -1
- package/dist/components/motion/action-swap.js +2 -2
- package/dist/components/motion/adaptive-stepper.d.ts +11 -1
- package/dist/components/motion/adaptive-stepper.d.ts.map +1 -1
- package/dist/components/motion/adaptive-stepper.js +26 -16
- package/dist/components/motion/adaptive-stepper.js.map +1 -1
- package/dist/components/motion/alert.d.ts +8 -1
- package/dist/components/motion/alert.d.ts.map +1 -1
- package/dist/components/motion/alert.js +16 -10
- package/dist/components/motion/alert.js.map +1 -1
- package/dist/components/motion/animated-badge.js +5 -5
- package/dist/components/motion/animated-number.js +2 -2
- package/dist/components/motion/animated-sidebar.d.ts +12 -1
- package/dist/components/motion/animated-sidebar.d.ts.map +1 -1
- package/dist/components/motion/animated-sidebar.js +24 -14
- package/dist/components/motion/animated-sidebar.js.map +1 -1
- package/dist/components/motion/animated-toast-stack.d.ts +8 -1
- package/dist/components/motion/animated-toast-stack.d.ts.map +1 -1
- package/dist/components/motion/animated-toast-stack.js +14 -9
- package/dist/components/motion/animated-toast-stack.js.map +1 -1
- 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 +20 -13
- package/dist/components/motion/arc-picker.js.map +1 -1
- package/dist/components/motion/aspect-ratio.js +2 -2
- package/dist/components/motion/attachment-upload.d.ts +32 -1
- package/dist/components/motion/attachment-upload.d.ts.map +1 -1
- package/dist/components/motion/attachment-upload.js +106 -52
- 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 +2 -2
- package/dist/components/motion/availability-scheduler/index.d.ts +6 -3
- package/dist/components/motion/availability-scheduler/index.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/index.js +30 -8
- package/dist/components/motion/availability-scheduler/index.js.map +1 -1
- package/dist/components/motion/availability-scheduler/time-select.d.ts +1 -1
- package/dist/components/motion/avatar-group.d.ts +10 -1
- package/dist/components/motion/avatar-group.d.ts.map +1 -1
- package/dist/components/motion/avatar-group.js +18 -9
- package/dist/components/motion/avatar-group.js.map +1 -1
- package/dist/components/motion/before-after-slider.d.ts +35 -0
- package/dist/components/motion/before-after-slider.d.ts.map +1 -0
- package/dist/components/motion/before-after-slider.js +352 -0
- package/dist/components/motion/before-after-slider.js.map +1 -0
- package/dist/components/motion/bloom-menu.d.ts +15 -1
- package/dist/components/motion/bloom-menu.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.js +32 -11
- package/dist/components/motion/bloom-menu.js.map +1 -1
- package/dist/components/motion/bookshelf.d.ts +46 -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 +9 -1
- package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
- package/dist/components/motion/bottom-sheet.js +16 -13
- package/dist/components/motion/bottom-sheet.js.map +1 -1
- package/dist/components/motion/bounce-sidebar.d.ts +8 -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.map +1 -1
- package/dist/components/motion/bouncy-accordion.js +37 -14
- package/dist/components/motion/bouncy-accordion.js.map +1 -1
- package/dist/components/motion/breadcrumb.d.ts +11 -2
- package/dist/components/motion/breadcrumb.d.ts.map +1 -1
- package/dist/components/motion/breadcrumb.js +29 -14
- package/dist/components/motion/breadcrumb.js.map +1 -1
- package/dist/components/motion/button/base.js +3 -3
- package/dist/components/motion/button/index.d.ts +2 -2
- package/dist/components/motion/button/index.js +2 -2
- package/dist/components/motion/button/magnetic.js +1 -1
- package/dist/components/motion/button/metallic.js +7 -7
- package/dist/components/motion/button/metallic.js.map +1 -1
- package/dist/components/motion/button/stateful.d.ts +10 -1
- package/dist/components/motion/button/stateful.d.ts.map +1 -1
- package/dist/components/motion/button/stateful.js +14 -6
- package/dist/components/motion/button/stateful.js.map +1 -1
- package/dist/components/motion/card-dealer.d.ts +8 -1
- package/dist/components/motion/card-dealer.d.ts.map +1 -1
- package/dist/components/motion/card-dealer.js +13 -9
- package/dist/components/motion/card-dealer.js.map +1 -1
- package/dist/components/motion/card-folder.d.ts +14 -1
- package/dist/components/motion/card-folder.d.ts.map +1 -1
- package/dist/components/motion/card-folder.js +27 -11
- package/dist/components/motion/card-folder.js.map +1 -1
- package/dist/components/motion/card.js +2 -2
- 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 +9 -1
- package/dist/components/motion/center-morph-modal.d.ts.map +1 -1
- package/dist/components/motion/center-morph-modal.js +22 -11
- package/dist/components/motion/center-morph-modal.js.map +1 -1
- package/dist/components/motion/checkbox.d.ts +9 -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 +2 -2
- package/dist/components/motion/collapsible.js +3 -3
- package/dist/components/motion/color-picker.d.ts +23 -1
- package/dist/components/motion/color-picker.d.ts.map +1 -1
- package/dist/components/motion/color-picker.js +72 -37
- package/dist/components/motion/color-picker.js.map +1 -1
- package/dist/components/motion/color-selector.js +2 -2
- package/dist/components/motion/combobox/content.js +4 -4
- package/dist/components/motion/combobox/context.d.ts +2 -66
- package/dist/components/motion/combobox/context.js +1 -216
- package/dist/components/motion/combobox/list.d.ts.map +1 -1
- package/dist/components/motion/combobox/list.js +10 -9
- package/dist/components/motion/combobox/list.js.map +1 -1
- package/dist/components/motion/combobox/trigger.d.ts.map +1 -1
- package/dist/components/motion/combobox/trigger.js +8 -7
- 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 +13 -1
- package/dist/components/motion/command-palette.d.ts.map +1 -1
- package/dist/components/motion/command-palette.js +28 -13
- package/dist/components/motion/command-palette.js.map +1 -1
- package/dist/components/motion/context-menu.d.ts +8 -1
- package/dist/components/motion/context-menu.d.ts.map +1 -1
- package/dist/components/motion/context-menu.js +17 -11
- package/dist/components/motion/context-menu.js.map +1 -1
- 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 +12 -10
- 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 +8 -7
- 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 +8 -1
- package/dist/components/motion/cylinder-carousel.d.ts.map +1 -1
- package/dist/components/motion/cylinder-carousel.js +13 -7
- package/dist/components/motion/cylinder-carousel.js.map +1 -1
- package/dist/components/motion/date-range-picker.d.ts +37 -3
- package/dist/components/motion/date-range-picker.d.ts.map +1 -1
- package/dist/components/motion/date-range-picker.js +80 -32
- package/dist/components/motion/date-range-picker.js.map +1 -1
- package/dist/components/motion/digit-swap.js +2 -2
- package/dist/components/motion/dock.js +2 -2
- package/dist/components/motion/drawer.d.ts +8 -1
- package/dist/components/motion/drawer.d.ts.map +1 -1
- package/dist/components/motion/drawer.js +11 -7
- package/dist/components/motion/drawer.js.map +1 -1
- package/dist/components/motion/dropdown-menu.d.ts +99 -0
- package/dist/components/motion/dropdown-menu.d.ts.map +1 -0
- package/dist/components/motion/dropdown-menu.js +708 -0
- package/dist/components/motion/dropdown-menu.js.map +1 -0
- package/dist/components/motion/dynamic-island.js +2 -2
- package/dist/components/motion/expandable-action-bar.js +3 -3
- package/dist/components/motion/expandable-control.js +5 -2
- package/dist/components/motion/expandable-control.js.map +1 -1
- package/dist/components/motion/expandable-tabs.d.ts +8 -1
- package/dist/components/motion/expandable-tabs.d.ts.map +1 -1
- package/dist/components/motion/expandable-tabs.js +9 -5
- package/dist/components/motion/expandable-tabs.js.map +1 -1
- package/dist/components/motion/expanding-arrow-button.js +3 -3
- package/dist/components/motion/feedback-widget.d.ts +18 -1
- package/dist/components/motion/feedback-widget.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.js +33 -15
- package/dist/components/motion/feedback-widget.js.map +1 -1
- package/dist/components/motion/file-tree.d.ts +8 -1
- package/dist/components/motion/file-tree.d.ts.map +1 -1
- package/dist/components/motion/file-tree.js +11 -11
- package/dist/components/motion/file-tree.js.map +1 -1
- package/dist/components/motion/file-upload.d.ts +20 -1
- package/dist/components/motion/file-upload.d.ts.map +1 -1
- package/dist/components/motion/file-upload.js +63 -31
- package/dist/components/motion/file-upload.js.map +1 -1
- package/dist/components/motion/hold-action-button.d.ts +8 -0
- package/dist/components/motion/hold-action-button.d.ts.map +1 -1
- package/dist/components/motion/hold-action-button.js +20 -8
- package/dist/components/motion/hold-action-button.js.map +1 -1
- package/dist/components/motion/infinite-masonry.d.ts +13 -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.js +1 -1
- package/dist/components/motion/knockout-bracket.d.ts +21 -2
- package/dist/components/motion/knockout-bracket.d.ts.map +1 -1
- package/dist/components/motion/knockout-bracket.js +78 -33
- package/dist/components/motion/knockout-bracket.js.map +1 -1
- package/dist/components/motion/knockout-wheel.d.ts +14 -1
- package/dist/components/motion/knockout-wheel.d.ts.map +1 -1
- package/dist/components/motion/knockout-wheel.js +46 -20
- package/dist/components/motion/knockout-wheel.js.map +1 -1
- package/dist/components/motion/liquid.js +4 -4
- package/dist/components/motion/liquid.js.map +1 -1
- package/dist/components/motion/loader.d.ts +10 -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/magnetic.js +3 -3
- package/dist/components/motion/mines.d.ts +42 -3
- package/dist/components/motion/mines.d.ts.map +1 -1
- package/dist/components/motion/mines.js +90 -55
- package/dist/components/motion/mines.js.map +1 -1
- package/dist/components/motion/morphing-lightbox.d.ts +17 -1
- package/dist/components/motion/morphing-lightbox.d.ts.map +1 -1
- package/dist/components/motion/morphing-lightbox.js +39 -22
- package/dist/components/motion/morphing-lightbox.js.map +1 -1
- package/dist/components/motion/morphing-modal.d.ts +8 -1
- package/dist/components/motion/morphing-modal.d.ts.map +1 -1
- package/dist/components/motion/morphing-modal.js +12 -8
- package/dist/components/motion/morphing-modal.js.map +1 -1
- package/dist/components/motion/morphing-search-chips.d.ts +22 -1
- package/dist/components/motion/morphing-search-chips.d.ts.map +1 -1
- package/dist/components/motion/morphing-search-chips.js +41 -19
- package/dist/components/motion/morphing-search-chips.js.map +1 -1
- package/dist/components/motion/morphing-search.d.ts +12 -1
- package/dist/components/motion/morphing-search.d.ts.map +1 -1
- package/dist/components/motion/morphing-search.js +27 -13
- package/dist/components/motion/morphing-search.js.map +1 -1
- package/dist/components/motion/morphing-tabs.d.ts +9 -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.js +4 -4
- 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/index.d.ts +2 -2
- package/dist/components/motion/multi-select/index.js +2 -2
- package/dist/components/motion/multi-select/list.d.ts.map +1 -1
- package/dist/components/motion/multi-select/list.js +10 -9
- package/dist/components/motion/multi-select/list.js.map +1 -1
- package/dist/components/motion/multi-select/trigger.js +11 -10
- package/dist/components/motion/multi-select/trigger.js.map +1 -1
- 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 +8 -6
- 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 +8 -6
- package/dist/components/motion/not-found/magnetic.js.map +1 -1
- package/dist/components/motion/not-found/shared.d.ts +16 -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 +9 -7
- 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 +9 -7
- 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 +8 -6
- package/dist/components/motion/not-found/terminal.js.map +1 -1
- package/dist/components/motion/notification-stack.d.ts +12 -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 +5 -2
- 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 +16 -1
- package/dist/components/motion/otp-input.d.ts.map +1 -1
- package/dist/components/motion/otp-input.js +34 -9
- package/dist/components/motion/otp-input.js.map +1 -1
- package/dist/components/motion/overflow-actions.d.ts +9 -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 +13 -1
- package/dist/components/motion/pagination.d.ts.map +1 -1
- package/dist/components/motion/pagination.js +22 -11
- package/dist/components/motion/pagination.js.map +1 -1
- package/dist/components/motion/parallax.js +1 -1
- package/dist/components/motion/plinko.d.ts +12 -1
- package/dist/components/motion/plinko.d.ts.map +1 -1
- package/dist/components/motion/plinko.js +31 -17
- package/dist/components/motion/plinko.js.map +1 -1
- package/dist/components/motion/popover-morph.js +6 -6
- package/dist/components/motion/popover-morph.js.map +1 -1
- package/dist/components/motion/popover.js +5 -5
- package/dist/components/motion/popover.js.map +1 -1
- package/dist/components/motion/prediction-market-card.d.ts +15 -1
- package/dist/components/motion/prediction-market-card.d.ts.map +1 -1
- package/dist/components/motion/prediction-market-card.js +32 -15
- package/dist/components/motion/prediction-market-card.js.map +1 -1
- package/dist/components/motion/prediction-market.d.ts +24 -1
- package/dist/components/motion/prediction-market.d.ts.map +1 -1
- package/dist/components/motion/prediction-market.js +56 -37
- package/dist/components/motion/prediction-market.js.map +1 -1
- package/dist/components/motion/preview-rail.d.ts +8 -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 +17 -1
- package/dist/components/motion/project-folder.d.ts.map +1 -1
- package/dist/components/motion/project-folder.js +21 -10
- package/dist/components/motion/project-folder.js.map +1 -1
- package/dist/components/motion/pull-to-refresh.d.ts +11 -1
- package/dist/components/motion/pull-to-refresh.d.ts.map +1 -1
- package/dist/components/motion/pull-to-refresh.js +21 -10
- package/dist/components/motion/pull-to-refresh.js.map +1 -1
- package/dist/components/motion/radio.js +2 -2
- package/dist/components/motion/range-slider-bubble.js +3 -3
- package/dist/components/motion/range-slider-fluid.js +3 -3
- package/dist/components/motion/range-slider-inline.js +3 -3
- package/dist/components/motion/range-slider-ruler.js +3 -3
- package/dist/components/motion/range-slider-ruler.js.map +1 -1
- package/dist/components/motion/range-slider-wave.js +3 -3
- package/dist/components/motion/range-slider.js +3 -3
- package/dist/components/motion/scroll-progress.js +2 -2
- package/dist/components/motion/scroll-reveal.js +2 -2
- package/dist/components/motion/scroll-to.d.ts +1 -1
- package/dist/components/motion/scroll-to.js +1 -1
- package/dist/components/motion/select-morph.d.ts +1 -1
- package/dist/components/motion/select-morph.js +4 -4
- package/dist/components/motion/select-morph.js.map +1 -1
- package/dist/components/motion/select.js +4 -4
- package/dist/components/motion/shader-background.js +2 -2
- 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 +38 -1
- package/dist/components/motion/signup-form.d.ts.map +1 -1
- package/dist/components/motion/signup-form.js +80 -37
- package/dist/components/motion/signup-form.js.map +1 -1
- package/dist/components/motion/slide-action-button.d.ts +9 -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 +91 -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 +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 +13 -1
- package/dist/components/motion/sortable-list.d.ts.map +1 -1
- package/dist/components/motion/sortable-list.js +39 -14
- package/dist/components/motion/sortable-list.js.map +1 -1
- 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 +20 -12
- 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 +9 -7
- 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 +9 -7
- 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 +1 -1
- 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 +39 -37
- package/dist/components/motion/swap/token-picker.js.map +1 -1
- package/dist/components/motion/swap.d.ts +7 -4
- package/dist/components/motion/swap.d.ts.map +1 -1
- package/dist/components/motion/swap.js +30 -18
- package/dist/components/motion/swap.js.map +1 -1
- package/dist/components/motion/swipeable-list.d.ts +9 -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.js +3 -7
- 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/index.d.ts +4 -3
- package/dist/components/motion/table/index.d.ts.map +1 -1
- package/dist/components/motion/table/index.js +44 -13
- package/dist/components/motion/table/index.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.js +3 -3
- package/dist/components/motion/tabs.d.ts +9 -1
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/tabs.js +19 -10
- package/dist/components/motion/tabs.js.map +1 -1
- package/dist/components/motion/text-reveal.js +2 -2
- package/dist/components/motion/text-scramble.js +1 -1
- package/dist/components/motion/text-shimmer.js +1 -1
- package/dist/components/motion/theme-toggle.d.ts +9 -1
- package/dist/components/motion/theme-toggle.d.ts.map +1 -1
- package/dist/components/motion/theme-toggle.js +15 -8
- package/dist/components/motion/theme-toggle.js.map +1 -1
- package/dist/components/motion/tilt-card.js +3 -3
- package/dist/components/motion/timeline.d.ts +9 -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 +1 -2
- package/dist/components/motion/tooltip-surface.d.ts.map +1 -1
- package/dist/components/motion/tooltip-surface.js +3 -3
- package/dist/components/motion/tooltip-surface.js.map +1 -1
- package/dist/components/motion/tooltip.d.ts +3 -3
- package/dist/components/motion/tooltip.d.ts.map +1 -1
- package/dist/components/motion/tooltip.js +1 -1
- 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 +4 -2
- package/dist/components/motion/wallet-card/account-switcher.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/account-switcher.js +17 -10
- 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 +5 -5
- 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 +12 -6
- package/dist/components/motion/wallet-card/copy-button.js.map +1 -1
- package/dist/components/motion/wallet-card/index.d.ts +8 -3
- package/dist/components/motion/wallet-card/index.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/index.js +19 -12
- package/dist/components/motion/wallet-card/index.js.map +1 -1
- package/dist/components/motion/wallet-card/search-bar.d.ts +3 -1
- package/dist/components/motion/wallet-card/search-bar.d.ts.map +1 -1
- package/dist/components/motion/wallet-card/search-bar.js +14 -11
- package/dist/components/motion/wallet-card/search-bar.js.map +1 -1
- package/dist/components/motion/wheel-picker.js +3 -3
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/alert.js +1 -1
- package/dist/components/reui/autocomplete.d.ts +2 -2
- package/dist/components/reui/autocomplete.js +4 -4
- package/dist/components/reui/badge.d.ts +3 -3
- 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 +6 -6
- 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.d.ts +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 +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 +3 -3
- 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 +4 -4
- package/dist/components/reui/number-field.js +4 -4
- package/dist/components/reui/phone-input.js +5 -5
- package/dist/components/reui/rating.d.ts +1 -1
- 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 +15 -15
- 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 +6 -6
- 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/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 +5 -5
- 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.d.ts +1 -1
- 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 +11 -11
- 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 +15 -15
- 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 +3 -3
- 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 +34 -34
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +15 -15
- 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 +6 -6
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.d.ts +2 -2
- 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 +2 -2
- package/dist/{constants-evLzfUhL.js → constants-CggcOqef.js} +1 -1
- package/dist/constants-CggcOqef.js.map +1 -0
- package/dist/context-B5NItr9C.d.ts +82 -0
- package/dist/context-B5NItr9C.d.ts.map +1 -0
- package/dist/context-BEYROlTB.d.ts +78 -0
- package/dist/context-BEYROlTB.d.ts.map +1 -0
- package/dist/context-BLjAwZ5V.js +243 -0
- package/dist/context-BLjAwZ5V.js.map +1 -0
- package/dist/{context-CXlD0FcC.js → context-BpHX6J1T.js} +28 -4
- package/dist/context-BpHX6J1T.js.map +1 -0
- package/dist/{context-tv-kneJV.d.ts → context-BrGWrRwa.d.ts} +26 -3
- package/dist/context-BrGWrRwa.d.ts.map +1 -0
- package/dist/{context-D-juVNr2.d.ts → context-C1Z_5vew.d.ts} +18 -3
- package/dist/context-C1Z_5vew.d.ts.map +1 -0
- package/dist/context-C5DO1oe1.js +232 -0
- package/dist/context-C5DO1oe1.js.map +1 -0
- package/dist/{context-Dk6C9IvC.js → context-C8M88I1F.js} +48 -8
- package/dist/context-C8M88I1F.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-DdnKlMjE.js → context-CHXHCbuu.js} +18 -4
- package/dist/context-CHXHCbuu.js.map +1 -0
- package/dist/{context-mjP5wifG.d.ts → context-CgRa89Bq.d.ts} +29 -3
- package/dist/context-CgRa89Bq.d.ts.map +1 -0
- package/dist/{context-CQbvWVnM.js → context-CmexbpIK.js} +31 -9
- package/dist/context-CmexbpIK.js.map +1 -0
- package/dist/{context-i6Dwvi3T.js → context-Cr2SLhVi.js} +45 -21
- package/dist/context-Cr2SLhVi.js.map +1 -0
- package/dist/{context-DWXNECDe.js → context-CwSk1WZR.js} +23 -5
- package/dist/context-CwSk1WZR.js.map +1 -0
- package/dist/{context-C5TW-k6u.js → context-DWHy9EUW.js} +41 -8
- package/dist/context-DWHy9EUW.js.map +1 -0
- package/dist/{context-ChsuSih6.js → context-Dae38FV_.js} +33 -14
- package/dist/context-Dae38FV_.js.map +1 -0
- package/dist/{context-DUx44mGi.js → context-r3QNWoPh.js} +29 -5
- package/dist/context-r3QNWoPh.js.map +1 -0
- package/dist/{copy-menu-LU54Aruj.js → copy-menu-BizTEv8v.js} +42 -23
- package/dist/copy-menu-BizTEv8v.js.map +1 -0
- package/dist/{crash-parts-CUv5gFYQ.js → crash-parts-Dg5WC8u4.js} +108 -235
- package/dist/crash-parts-Dg5WC8u4.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/{ease-DjhlGGZO.d.ts → ease-DnPhwGe6.d.ts} +1 -1
- package/dist/ease-DnPhwGe6.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/game-parts-hATtqY3s.d.ts +89 -0
- package/dist/game-parts-hATtqY3s.d.ts.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-favicon.js +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-gesture.js +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.js +1 -1
- 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 +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-slider-input.d.ts +4 -4
- package/dist/hooks/use-slider-input.d.ts.map +1 -1
- package/dist/hooks/use-slider.js +1 -1
- package/dist/i18n-BRH0Y7Sm.d.ts +34 -0
- package/dist/i18n-BRH0Y7Sm.d.ts.map +1 -0
- 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 +202 -0
- package/dist/lib/book-sounds.js.map +1 -0
- package/dist/lib/ease.d.ts +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/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/text-shimmer.js.map +1 -1
- 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-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-mS4UXPwk.d.ts → model-B_LLKNOs.d.ts} +1 -1
- package/dist/model-B_LLKNOs.d.ts.map +1 -0
- package/dist/{model-CvWolJdo.d.ts → model-Cbzktxjx.d.ts} +1 -1
- package/dist/model-Cbzktxjx.d.ts.map +1 -0
- package/dist/{model-BFZGhrnQ.d.ts → model-Cqi9KKo1.d.ts} +1 -1
- package/dist/{model-BFZGhrnQ.d.ts.map → model-Cqi9KKo1.d.ts.map} +1 -1
- package/dist/{model-DuAc65oe.d.ts → model-DP6FsG__.d.ts} +1 -1
- package/dist/model-DP6FsG__.d.ts.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/{plot-CTQFrQKi.js → plot-B2aPWHib.js} +12 -12
- package/dist/plot-B2aPWHib.js.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-DY1vB4rF.js} +6 -6
- package/dist/positioner-DY1vB4rF.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/{tooltip-CuHpilPN.js → tooltip-BUkacvMl.js} +6 -6
- package/dist/tooltip-BUkacvMl.js.map +1 -0
- package/dist/{tooltip-Cq46pSJ2.d.ts → tooltip-CJccRGy9.d.ts} +21 -2
- package/dist/tooltip-CJccRGy9.d.ts.map +1 -0
- package/dist/{tooltip-CNEYdIX3.d.ts → tooltip-CMtIWcUY.d.ts} +19 -2
- package/dist/tooltip-CMtIWcUY.d.ts.map +1 -0
- package/dist/{tooltip-BVRmgnbZ.d.ts → tooltip-DuPE_3Gi.d.ts} +21 -2
- package/dist/tooltip-DuPE_3Gi.d.ts.map +1 -0
- package/dist/{tooltip-w0KptZat.d.ts → tooltip-UI0lMGya.d.ts} +1 -1
- package/dist/tooltip-UI0lMGya.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-CMVyNolz.d.ts → tooltip-jQICwV_k.d.ts} +13 -2
- package/dist/tooltip-jQICwV_k.d.ts.map +1 -0
- package/dist/{types-B0d0d7PF.d.ts → types-C1WFGMvf.d.ts} +1 -1
- package/dist/types-C1WFGMvf.d.ts.map +1 -0
- package/dist/{types-BB61jXS_.d.ts → types-C_v1N4fH.d.ts} +4 -1
- package/dist/types-C_v1N4fH.d.ts.map +1 -0
- package/dist/{types-D9hKqIzm.d.ts → types-DJ8z6gW8.d.ts} +32 -2
- package/dist/types-DJ8z6gW8.d.ts.map +1 -0
- package/dist/{types-qTGsGdN1.d.ts → types-DROZkngo.d.ts} +1 -1
- package/dist/types-DROZkngo.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/{use-active-option-DerS-wGL.js → use-active-option-DbxnIM2n.js} +1 -1
- package/dist/{use-active-option-DerS-wGL.js.map → use-active-option-DbxnIM2n.js.map} +1 -1
- package/dist/{use-crash-game-B3RHxFkm.d.ts → use-crash-game-DiGujbfH.d.ts} +57 -5
- package/dist/use-crash-game-DiGujbfH.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-CZhdpH8J.js → use-inspection-DWk6TdY9.js} +1 -1
- package/dist/use-inspection-DWk6TdY9.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-B1lYvN8D.d.ts} +1 -1
- package/dist/{use-position-CWSE4wCz.d.ts.map → use-position-B1lYvN8D.d.ts.map} +1 -1
- package/dist/{use-width-CkKCh1b3.js → use-width-Dmy1eT1-.js} +1 -1
- package/dist/{use-width-CkKCh1b3.js.map → use-width-Dmy1eT1-.js.map} +1 -1
- 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/package.json +6 -6
- package/dist/account-avatar--0_0u0WW.js.map +0 -1
- package/dist/cascader-types-Bh_kJ3Qw.d.ts.map +0 -1
- 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/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-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.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.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/utils-DMrlhG6M.js +0 -25
- package/dist/utils-DMrlhG6M.js.map +0 -1
- package/dist/utils-ZRfJ78Df.js.map +0 -1
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { memo, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
3
|
+
import { History } from "lucide-react";
|
|
4
|
+
import { animate, motion, useMotionValue, useMotionValueEvent, useReducedMotion, useTransform } from "motion/react";
|
|
5
|
+
import { cn } from "@kumix/utils";
|
|
6
|
+
import { EASE_OUT } from "../../lib/ease.js";
|
|
7
|
+
import { createGameSounds } from "../../lib/game-sounds.js";
|
|
8
|
+
import { useMessages } from "../../lib/i18n.js";
|
|
9
|
+
import { createTickPlayer } from "../../lib/tick-sound.js";
|
|
10
|
+
import { Button } from "./button/base.js";
|
|
11
|
+
import { GameEyebrow, GameHistory, SoundToggle, floor2, formatMultiplier, formatShort, heat, useStable } from "./casino/game-parts.js";
|
|
12
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./select.js";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
// src/components/motion/slide-game.tsx
|
|
15
|
+
/** English defaults. Override per instance with `labels`, or app-wide with `LocaleProvider`. */
|
|
16
|
+
const slideGameMessages = {
|
|
17
|
+
label: "Slide",
|
|
18
|
+
betAmount: "Bet amount",
|
|
19
|
+
halveBet: "Halve bet",
|
|
20
|
+
doubleBet: "Double bet",
|
|
21
|
+
target: "Target",
|
|
22
|
+
winChance: "Win chance",
|
|
23
|
+
profitOnWin: "Profit on win",
|
|
24
|
+
slide: "Slide",
|
|
25
|
+
starting: "Starting…",
|
|
26
|
+
sliding: "Sliding…",
|
|
27
|
+
enterBet: "Enter a bet",
|
|
28
|
+
slideAgain: "Slide again",
|
|
29
|
+
recentSlides: "Recent slides",
|
|
30
|
+
recentEmpty: "Recent rounds show here",
|
|
31
|
+
sound: "Sound",
|
|
32
|
+
stateStarting: "Starting",
|
|
33
|
+
stateSliding: "Sliding · needs {target}",
|
|
34
|
+
stateWon: "Won · beat {target}",
|
|
35
|
+
stateMissed: "Missed · needed {target}",
|
|
36
|
+
stateIdle: "{chance} chance of {target} · marked cards win",
|
|
37
|
+
announceSliding: "Sliding. Target {target}.",
|
|
38
|
+
announceFailed: "Couldn't start the round. Try again.",
|
|
39
|
+
announceWin: "Landed on {result}. Win, target {target}.",
|
|
40
|
+
announceLoss: "Landed on {result}. Loss, target {target}."
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* A result from one uniform draw in [0, 1): the reel reaches `m` or more with
|
|
44
|
+
* probability (1 − houseEdge) / m, floored to two decimals and capped at
|
|
45
|
+
* 1,000,000×. Pass your own `random` for a seeded or provably fair round.
|
|
46
|
+
*/
|
|
47
|
+
function slideResult(random = Math.random, houseEdge = .01) {
|
|
48
|
+
return Math.min(1e6, Math.max(1, Math.floor(100 * (1 - Math.min(Math.max(houseEdge, 0), 1)) / (1 - random())) / 100));
|
|
49
|
+
}
|
|
50
|
+
const TARGETS = [
|
|
51
|
+
1.5,
|
|
52
|
+
2,
|
|
53
|
+
3,
|
|
54
|
+
5,
|
|
55
|
+
10,
|
|
56
|
+
25,
|
|
57
|
+
100
|
|
58
|
+
];
|
|
59
|
+
const MIN_TARGET = 1.01;
|
|
60
|
+
const MAX_BET = 1e9;
|
|
61
|
+
const HISTORY = 12;
|
|
62
|
+
let rounds = 0;
|
|
63
|
+
const AMOUNT = new Intl.NumberFormat("en", {
|
|
64
|
+
minimumFractionDigits: 2,
|
|
65
|
+
maximumFractionDigits: 2
|
|
66
|
+
});
|
|
67
|
+
const settleValue = (value) => Number.isFinite(value) ? Math.max(1, floor2(value)) : 1;
|
|
68
|
+
const parseBet = (text) => {
|
|
69
|
+
const value = Number.parseFloat(text);
|
|
70
|
+
return Number.isFinite(value) && value > 0 ? value : 0;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* A slide game: set a bet and a target, then a reel of multiplier cards races
|
|
74
|
+
* past two tabs at the center of the stage, tilting in 3D as they pass, slows
|
|
75
|
+
* through the last few and clicks the result into place between them. At or
|
|
76
|
+
* above the target wins. The result comes from `getResult`, so a server can
|
|
77
|
+
* decide it and the reel only plays it back.
|
|
78
|
+
*/
|
|
79
|
+
function SlideGame({ target: targetProp, defaultTarget = 2, onTargetChange, targets = TARGETS, bet: betProp, defaultBet = 1, onBetChange, currency = "$", formatAmount, getResult = slideResult, onResult, duration = 4, sound, defaultSound = false, onSoundChange, "aria-label": ariaLabel, labels, className }) {
|
|
80
|
+
const t = useMessages("slideGame", slideGameMessages, labels);
|
|
81
|
+
const reduce = useReducedMotion() ?? false;
|
|
82
|
+
const betId = useId();
|
|
83
|
+
const [internalTarget, setInternalTarget] = useState(defaultTarget);
|
|
84
|
+
const rawTarget = targetProp ?? internalTarget;
|
|
85
|
+
const target = Number.isFinite(rawTarget) ? Math.max(MIN_TARGET, rawTarget) : MIN_TARGET;
|
|
86
|
+
const [draft, setDraft] = useState(() => String(betProp ?? defaultBet));
|
|
87
|
+
if (betProp !== void 0 && betProp !== parseBet(draft) && String(betProp) !== draft) setDraft(String(betProp));
|
|
88
|
+
const bet = betProp ?? parseBet(draft);
|
|
89
|
+
const [internalSound, setInternalSound] = useState(defaultSound);
|
|
90
|
+
const soundOn = sound ?? internalSound;
|
|
91
|
+
const [phase, setPhase] = useState("idle");
|
|
92
|
+
const [round, setRound] = useState(null);
|
|
93
|
+
const [history, setHistory] = useState([]);
|
|
94
|
+
const [announcement, setAnnouncement] = useState("");
|
|
95
|
+
const pending = useRef(0);
|
|
96
|
+
const endedAt = useRef(Number.NEGATIVE_INFINITY);
|
|
97
|
+
const lastTick = useRef(0);
|
|
98
|
+
const sounds = useRef(null);
|
|
99
|
+
const latest = useRef({
|
|
100
|
+
soundOn,
|
|
101
|
+
onResult
|
|
102
|
+
});
|
|
103
|
+
useLayoutEffect(() => {
|
|
104
|
+
latest.current = {
|
|
105
|
+
soundOn,
|
|
106
|
+
onResult
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
useEffect(() => {
|
|
110
|
+
const created = {
|
|
111
|
+
tick: createTickPlayer(),
|
|
112
|
+
game: createGameSounds()
|
|
113
|
+
};
|
|
114
|
+
sounds.current = created;
|
|
115
|
+
return () => {
|
|
116
|
+
created.tick.dispose();
|
|
117
|
+
created.game.dispose();
|
|
118
|
+
sounds.current = null;
|
|
119
|
+
pending.current = 0;
|
|
120
|
+
};
|
|
121
|
+
}, []);
|
|
122
|
+
const busy = phase === "starting" || phase === "sliding";
|
|
123
|
+
const noBet = bet <= 0;
|
|
124
|
+
const blocked = busy || noBet;
|
|
125
|
+
const valid = targets.filter((step) => step >= MIN_TARGET);
|
|
126
|
+
const options = valid.includes(target) ? valid : [...valid, target].sort((a, b) => a - b);
|
|
127
|
+
const settled = phase === "settled" && round !== null;
|
|
128
|
+
const won = settled ? round.result >= round.target : void 0;
|
|
129
|
+
const play = () => {
|
|
130
|
+
if (blocked || performance.now() - endedAt.current < 400) return;
|
|
131
|
+
if (soundOn) {
|
|
132
|
+
sounds.current?.tick.prepare();
|
|
133
|
+
sounds.current?.game.prepare();
|
|
134
|
+
}
|
|
135
|
+
const id = ++rounds;
|
|
136
|
+
const roundTarget = target;
|
|
137
|
+
const roundBet = bet;
|
|
138
|
+
const before = phase;
|
|
139
|
+
pending.current = id;
|
|
140
|
+
setPhase("starting");
|
|
141
|
+
setAnnouncement("");
|
|
142
|
+
Promise.resolve().then(getResult).then((value) => {
|
|
143
|
+
if (pending.current !== id) return;
|
|
144
|
+
setRound({
|
|
145
|
+
id,
|
|
146
|
+
result: settleValue(value),
|
|
147
|
+
target: roundTarget,
|
|
148
|
+
bet: roundBet
|
|
149
|
+
});
|
|
150
|
+
setPhase("sliding");
|
|
151
|
+
setAnnouncement(t("announceSliding", { target: formatShort(roundTarget) }));
|
|
152
|
+
}, () => {
|
|
153
|
+
if (pending.current !== id) return;
|
|
154
|
+
setPhase(before);
|
|
155
|
+
setAnnouncement(t("announceFailed"));
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
const settle = (ended) => {
|
|
159
|
+
const win = ended.result >= ended.target;
|
|
160
|
+
endedAt.current = performance.now();
|
|
161
|
+
setPhase("settled");
|
|
162
|
+
setHistory((items) => [{
|
|
163
|
+
id: ended.id,
|
|
164
|
+
value: ended.result
|
|
165
|
+
}, ...items].slice(0, HISTORY));
|
|
166
|
+
setAnnouncement(t(win ? "announceWin" : "announceLoss", {
|
|
167
|
+
result: formatMultiplier(ended.result),
|
|
168
|
+
target: formatShort(ended.target)
|
|
169
|
+
}));
|
|
170
|
+
if (win && latest.current.soundOn) sounds.current?.game.cashOut();
|
|
171
|
+
latest.current.onResult?.(ended.result, ended.target, ended.bet);
|
|
172
|
+
};
|
|
173
|
+
const cross = () => {
|
|
174
|
+
if (!latest.current.soundOn) return;
|
|
175
|
+
const now = performance.now();
|
|
176
|
+
if (now - lastTick.current < 40) return;
|
|
177
|
+
lastTick.current = now;
|
|
178
|
+
sounds.current?.tick.play();
|
|
179
|
+
};
|
|
180
|
+
const changeBet = (text) => {
|
|
181
|
+
setDraft(text);
|
|
182
|
+
onBetChange?.(parseBet(text));
|
|
183
|
+
};
|
|
184
|
+
const scaleBet = (factor) => {
|
|
185
|
+
const next = Math.min(MAX_BET, Math.max(.01, Math.round(bet * factor * 100) / 100));
|
|
186
|
+
setDraft(next.toFixed(2));
|
|
187
|
+
onBetChange?.(next);
|
|
188
|
+
};
|
|
189
|
+
const changeTarget = (value) => {
|
|
190
|
+
const next = Number(value);
|
|
191
|
+
if (targetProp === void 0) setInternalTarget(next);
|
|
192
|
+
onTargetChange?.(next);
|
|
193
|
+
};
|
|
194
|
+
const toggleSound = useStable(() => {
|
|
195
|
+
const next = !soundOn;
|
|
196
|
+
if (next) {
|
|
197
|
+
sounds.current?.tick.prepare();
|
|
198
|
+
sounds.current?.game.prepare();
|
|
199
|
+
}
|
|
200
|
+
if (sound === void 0) setInternalSound(next);
|
|
201
|
+
onSoundChange?.(next);
|
|
202
|
+
});
|
|
203
|
+
const roundTarget = formatShort(round?.target ?? target);
|
|
204
|
+
const odds = 99 / target;
|
|
205
|
+
const chance = odds < .01 ? "<0.01%" : `${odds.toFixed(2)}%`;
|
|
206
|
+
const profit = bet * (target - 1);
|
|
207
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
208
|
+
"aria-label": ariaLabel ?? t("label"),
|
|
209
|
+
className: cn("@container w-full max-w-3xl", className),
|
|
210
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
211
|
+
className: "border-border flex flex-col-reverse gap-3 rounded-3xl border p-3 @min-[36rem]:flex-row",
|
|
212
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
213
|
+
className: "flex shrink-0 flex-col gap-3 @min-[36rem]:w-56",
|
|
214
|
+
children: [
|
|
215
|
+
/* @__PURE__ */ jsxs("div", {
|
|
216
|
+
className: "grid grid-cols-2 gap-3 @min-[36rem]:grid-cols-1",
|
|
217
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
218
|
+
className: "flex min-w-0 flex-col gap-1.5",
|
|
219
|
+
children: [/* @__PURE__ */ jsx("label", {
|
|
220
|
+
htmlFor: betId,
|
|
221
|
+
className: "text-muted-foreground text-xs font-medium",
|
|
222
|
+
children: t("betAmount")
|
|
223
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
224
|
+
className: cn("bg-background focus-within:ring-foreground/20 flex h-10 items-center gap-0.5 rounded-xl border pr-1 pl-3 transition-colors focus-within:ring-2", noBet ? "border-rose-500/60" : "border-border hover:border-(--color-border-strong)"),
|
|
225
|
+
children: [
|
|
226
|
+
currency ? /* @__PURE__ */ jsx("span", {
|
|
227
|
+
"aria-hidden": "true",
|
|
228
|
+
className: "text-muted-foreground pr-0.5 text-sm font-medium",
|
|
229
|
+
children: currency
|
|
230
|
+
}) : null,
|
|
231
|
+
/* @__PURE__ */ jsx("input", {
|
|
232
|
+
id: betId,
|
|
233
|
+
"aria-invalid": noBet || void 0,
|
|
234
|
+
inputMode: "decimal",
|
|
235
|
+
autoComplete: "off",
|
|
236
|
+
value: draft,
|
|
237
|
+
onChange: (event) => changeBet(event.target.value),
|
|
238
|
+
disabled: busy,
|
|
239
|
+
className: "text-foreground w-full min-w-0 bg-transparent text-sm font-medium tabular-nums outline-none disabled:opacity-50"
|
|
240
|
+
}),
|
|
241
|
+
/* @__PURE__ */ jsx(Button, {
|
|
242
|
+
variant: "ghost",
|
|
243
|
+
size: "sm",
|
|
244
|
+
pressScale: .96,
|
|
245
|
+
className: "h-8 rounded-lg px-2.5 tabular-nums",
|
|
246
|
+
onClick: () => scaleBet(.5),
|
|
247
|
+
disabled: busy,
|
|
248
|
+
"aria-label": t("halveBet"),
|
|
249
|
+
children: "½"
|
|
250
|
+
}),
|
|
251
|
+
/* @__PURE__ */ jsx(Button, {
|
|
252
|
+
variant: "ghost",
|
|
253
|
+
size: "sm",
|
|
254
|
+
pressScale: .96,
|
|
255
|
+
className: "h-8 rounded-lg px-2.5 tabular-nums",
|
|
256
|
+
onClick: () => scaleBet(2),
|
|
257
|
+
disabled: busy,
|
|
258
|
+
"aria-label": t("doubleBet"),
|
|
259
|
+
children: "2×"
|
|
260
|
+
})
|
|
261
|
+
]
|
|
262
|
+
})]
|
|
263
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
264
|
+
className: "flex min-w-0 flex-col gap-1.5",
|
|
265
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
266
|
+
"aria-hidden": "true",
|
|
267
|
+
className: "text-muted-foreground text-xs font-medium",
|
|
268
|
+
children: t("target")
|
|
269
|
+
}), /* @__PURE__ */ jsxs(Select, {
|
|
270
|
+
value: String(target),
|
|
271
|
+
onValueChange: changeTarget,
|
|
272
|
+
disabled: busy,
|
|
273
|
+
children: [/* @__PURE__ */ jsxs(SelectTrigger, {
|
|
274
|
+
className: "h-10 rounded-xl tabular-nums",
|
|
275
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
276
|
+
className: "sr-only",
|
|
277
|
+
children: [t("target"), " "]
|
|
278
|
+
}), /* @__PURE__ */ jsx(SelectValue, { placeholder: formatShort(target) })]
|
|
279
|
+
}), /* @__PURE__ */ jsx(SelectContent, { children: options.map((step) => /* @__PURE__ */ jsx(SelectItem, {
|
|
280
|
+
value: String(step),
|
|
281
|
+
children: formatShort(step)
|
|
282
|
+
}, step)) })]
|
|
283
|
+
})]
|
|
284
|
+
})]
|
|
285
|
+
}),
|
|
286
|
+
/* @__PURE__ */ jsxs("dl", {
|
|
287
|
+
className: "bg-muted/40 grid grid-cols-2 gap-3 rounded-xl px-3 py-2.5 text-xs @min-[36rem]:grid-cols-1 @min-[36rem]:gap-2",
|
|
288
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
289
|
+
className: "flex items-center justify-between gap-2",
|
|
290
|
+
children: [/* @__PURE__ */ jsx("dt", {
|
|
291
|
+
className: "text-muted-foreground",
|
|
292
|
+
children: t("winChance")
|
|
293
|
+
}), /* @__PURE__ */ jsx("dd", {
|
|
294
|
+
className: "font-medium tabular-nums",
|
|
295
|
+
children: chance
|
|
296
|
+
})]
|
|
297
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
298
|
+
className: "flex items-center justify-between gap-2",
|
|
299
|
+
children: [/* @__PURE__ */ jsx("dt", {
|
|
300
|
+
className: "text-muted-foreground",
|
|
301
|
+
children: t("profitOnWin")
|
|
302
|
+
}), /* @__PURE__ */ jsx("dd", {
|
|
303
|
+
className: "font-medium tabular-nums",
|
|
304
|
+
children: formatAmount ? formatAmount(profit) : `${currency}${AMOUNT.format(profit)}`
|
|
305
|
+
})]
|
|
306
|
+
})]
|
|
307
|
+
}),
|
|
308
|
+
/* @__PURE__ */ jsx(Button, {
|
|
309
|
+
className: cn("aria-disabled:hover:bg-primary h-12 w-full rounded-xl text-base tabular-nums aria-disabled:opacity-60 @min-[36rem]:mt-auto", busy ? "aria-disabled:cursor-wait" : "aria-disabled:cursor-not-allowed"),
|
|
310
|
+
"aria-disabled": blocked || void 0,
|
|
311
|
+
"aria-busy": busy || void 0,
|
|
312
|
+
pressScale: blocked ? 1 : .96,
|
|
313
|
+
...blocked ? { whileHover: {} } : {},
|
|
314
|
+
onClick: play,
|
|
315
|
+
onKeyDown: (event) => {
|
|
316
|
+
if (event.repeat && event.key === "Enter") event.preventDefault();
|
|
317
|
+
},
|
|
318
|
+
children: t(phase === "starting" ? "starting" : phase === "sliding" ? "sliding" : noBet ? "enterBet" : settled ? "slideAgain" : "slide")
|
|
319
|
+
})
|
|
320
|
+
]
|
|
321
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
322
|
+
className: "flex min-w-0 flex-1 flex-col gap-2",
|
|
323
|
+
children: [
|
|
324
|
+
/* @__PURE__ */ jsxs("div", {
|
|
325
|
+
className: "flex h-8 items-center gap-2 pl-1",
|
|
326
|
+
children: [
|
|
327
|
+
/* @__PURE__ */ jsx(History, {
|
|
328
|
+
"aria-hidden": "true",
|
|
329
|
+
className: "text-muted-foreground size-3.5 shrink-0",
|
|
330
|
+
strokeWidth: 1.75
|
|
331
|
+
}),
|
|
332
|
+
/* @__PURE__ */ jsx(GameHistory, {
|
|
333
|
+
history,
|
|
334
|
+
reduce,
|
|
335
|
+
tier: face,
|
|
336
|
+
"aria-label": t("recentSlides"),
|
|
337
|
+
emptyLabel: t("recentEmpty"),
|
|
338
|
+
className: "min-w-0 flex-1"
|
|
339
|
+
}),
|
|
340
|
+
/* @__PURE__ */ jsx(SoundToggle, {
|
|
341
|
+
on: soundOn,
|
|
342
|
+
onToggle: toggleSound,
|
|
343
|
+
label: t("sound")
|
|
344
|
+
})
|
|
345
|
+
]
|
|
346
|
+
}),
|
|
347
|
+
/* @__PURE__ */ jsx(Reel, {
|
|
348
|
+
round,
|
|
349
|
+
goal: phase === "sliding" && round ? round.target : target,
|
|
350
|
+
duration,
|
|
351
|
+
reduce,
|
|
352
|
+
busy,
|
|
353
|
+
settled,
|
|
354
|
+
won,
|
|
355
|
+
onCross: cross,
|
|
356
|
+
onSettle: settle
|
|
357
|
+
}),
|
|
358
|
+
/* @__PURE__ */ jsx("div", {
|
|
359
|
+
className: "flex h-8 items-center justify-center",
|
|
360
|
+
children: /* @__PURE__ */ jsx(GameEyebrow, {
|
|
361
|
+
label: phase === "starting" ? t("stateStarting") : phase === "sliding" ? t("stateSliding", { target: roundTarget }) : won === true ? t("stateWon", { target: roundTarget }) : won === false ? t("stateMissed", { target: roundTarget }) : t("stateIdle", {
|
|
362
|
+
chance,
|
|
363
|
+
target: formatShort(target)
|
|
364
|
+
}),
|
|
365
|
+
state: busy ? "live" : won === true ? "won" : won === false ? "lost" : "idle",
|
|
366
|
+
reduce
|
|
367
|
+
})
|
|
368
|
+
})
|
|
369
|
+
]
|
|
370
|
+
})]
|
|
371
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
372
|
+
"aria-live": "polite",
|
|
373
|
+
className: "sr-only",
|
|
374
|
+
children: announcement
|
|
375
|
+
})]
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
const CARD_WIDTH = 80;
|
|
379
|
+
const CARD_HEIGHT = 108;
|
|
380
|
+
const GAP = 10;
|
|
381
|
+
const PITCH = 90;
|
|
382
|
+
const CENTER_SCALE = 1.12;
|
|
383
|
+
const SCALE_STEP = .1;
|
|
384
|
+
const MIN_SCALE = .8;
|
|
385
|
+
const TURN_STEP = 30;
|
|
386
|
+
const MAX_TURN = 50;
|
|
387
|
+
const FADE_STEP = .16;
|
|
388
|
+
const MIN_FADE = .3;
|
|
389
|
+
const CONTEXT = 6;
|
|
390
|
+
const SPIN_TILES = 48;
|
|
391
|
+
const TAIL = 6;
|
|
392
|
+
const LANDING_SPREAD = .7;
|
|
393
|
+
const DETENT = {
|
|
394
|
+
type: "spring",
|
|
395
|
+
duration: .35,
|
|
396
|
+
bounce: .2
|
|
397
|
+
};
|
|
398
|
+
const SLIDE_EASE = [
|
|
399
|
+
.12,
|
|
400
|
+
.7,
|
|
401
|
+
.16,
|
|
402
|
+
1
|
|
403
|
+
];
|
|
404
|
+
const TAB_HEIGHT = 15;
|
|
405
|
+
const LOCK = {
|
|
406
|
+
duration: .4,
|
|
407
|
+
ease: EASE_OUT
|
|
408
|
+
};
|
|
409
|
+
/** Seeded by the round, so the server and client agree on every card. */
|
|
410
|
+
function seeded(seed) {
|
|
411
|
+
let state = 0x811c9dc5;
|
|
412
|
+
for (const char of seed) state = Math.imul(state ^ char.charCodeAt(0), 16777619);
|
|
413
|
+
return () => {
|
|
414
|
+
state = state + 0x6d2b79f5 | 0;
|
|
415
|
+
let t = Math.imul(state ^ state >>> 15, 1 | state);
|
|
416
|
+
t ^= t + Math.imul(t ^ t >>> 7, 61 | t);
|
|
417
|
+
return ((t ^ t >>> 14) >>> 0) / 4294967296;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
/** Decorative cards on the game's own curve, capped so they fit a card. */
|
|
421
|
+
function filler(rand, count, prefix) {
|
|
422
|
+
return Array.from({ length: count }, (_, i) => ({
|
|
423
|
+
id: `${prefix}-${i}`,
|
|
424
|
+
multiplier: Math.min(1e3, slideResult(rand))
|
|
425
|
+
}));
|
|
426
|
+
}
|
|
427
|
+
/** Reel offset that puts card `index` at the center. */
|
|
428
|
+
const positionOf = (index, offset = 0) => -(index * PITCH + CARD_WIDTH / 2 + offset);
|
|
429
|
+
const INITIAL = (() => {
|
|
430
|
+
const rand = seeded("slide");
|
|
431
|
+
const tiles = [
|
|
432
|
+
...filler(rand, CONTEXT, "a"),
|
|
433
|
+
{
|
|
434
|
+
id: "start",
|
|
435
|
+
multiplier: 1
|
|
436
|
+
},
|
|
437
|
+
...filler(rand, CONTEXT, "b")
|
|
438
|
+
];
|
|
439
|
+
const at = positionOf(CONTEXT);
|
|
440
|
+
return {
|
|
441
|
+
tiles,
|
|
442
|
+
landed: CONTEXT,
|
|
443
|
+
round: null,
|
|
444
|
+
from: at,
|
|
445
|
+
to: at,
|
|
446
|
+
rest: at
|
|
447
|
+
};
|
|
448
|
+
})();
|
|
449
|
+
const FACE = {
|
|
450
|
+
cool: "bg-zinc-700 text-white",
|
|
451
|
+
warm: "bg-primary text-primary-foreground",
|
|
452
|
+
hot: "bg-amber-400 text-amber-950",
|
|
453
|
+
jackpot: "bg-fuchsia-600 text-white"
|
|
454
|
+
};
|
|
455
|
+
const face = (multiplier) => multiplier >= 100 ? "jackpot" : heat(multiplier);
|
|
456
|
+
/**
|
|
457
|
+
* The strip of cards under the fixed edge tabs. A new round keeps the cards on
|
|
458
|
+
* screen (mid-slide too), appends filler and the result, then slides to it.
|
|
459
|
+
* Cards that would beat `goal` carry a pip, so wins read as they fly past.
|
|
460
|
+
*/
|
|
461
|
+
function Reel({ round, goal, duration, reduce, busy, settled, won, onCross, onSettle }) {
|
|
462
|
+
const [reel, setReel] = useState(INITIAL);
|
|
463
|
+
const x = useMotionValue(INITIAL.rest);
|
|
464
|
+
const finished = useRef(0);
|
|
465
|
+
const under = useRef(INITIAL.landed);
|
|
466
|
+
const latest = useRef({
|
|
467
|
+
reel,
|
|
468
|
+
onCross,
|
|
469
|
+
onSettle,
|
|
470
|
+
duration,
|
|
471
|
+
reduce
|
|
472
|
+
});
|
|
473
|
+
useLayoutEffect(() => {
|
|
474
|
+
latest.current = {
|
|
475
|
+
reel,
|
|
476
|
+
onCross,
|
|
477
|
+
onSettle,
|
|
478
|
+
duration,
|
|
479
|
+
reduce
|
|
480
|
+
};
|
|
481
|
+
});
|
|
482
|
+
useLayoutEffect(() => {
|
|
483
|
+
if (!round || round.id === reel.round?.id) return;
|
|
484
|
+
const current = Math.round((-x.get() - CARD_WIDTH / 2) / PITCH);
|
|
485
|
+
const start = Math.max(0, current - CONTEXT);
|
|
486
|
+
const kept = reel.tiles.slice(start, current + CONTEXT + 1);
|
|
487
|
+
const rand = seeded(`${round.id}:${round.result}`);
|
|
488
|
+
const landed = kept.length + SPIN_TILES;
|
|
489
|
+
setReel({
|
|
490
|
+
tiles: [
|
|
491
|
+
...kept,
|
|
492
|
+
...filler(rand, SPIN_TILES, `${round.id}-a`),
|
|
493
|
+
{
|
|
494
|
+
id: `${round.id}-result`,
|
|
495
|
+
multiplier: round.result
|
|
496
|
+
},
|
|
497
|
+
...filler(rand, TAIL, `${round.id}-b`)
|
|
498
|
+
],
|
|
499
|
+
landed,
|
|
500
|
+
round,
|
|
501
|
+
from: x.get() + start * PITCH,
|
|
502
|
+
to: positionOf(landed, (rand() - .5) * CARD_WIDTH * LANDING_SPREAD),
|
|
503
|
+
rest: positionOf(landed)
|
|
504
|
+
});
|
|
505
|
+
}, [
|
|
506
|
+
round,
|
|
507
|
+
reel,
|
|
508
|
+
x
|
|
509
|
+
]);
|
|
510
|
+
useLayoutEffect(() => {
|
|
511
|
+
const played = reel.round;
|
|
512
|
+
if (!played) return;
|
|
513
|
+
const finish = () => {
|
|
514
|
+
if (finished.current === played.id) return;
|
|
515
|
+
finished.current = played.id;
|
|
516
|
+
latest.current.onSettle(played);
|
|
517
|
+
};
|
|
518
|
+
under.current = Math.round((-reel.from - CARD_WIDTH / 2) / PITCH);
|
|
519
|
+
x.jump(reel.from);
|
|
520
|
+
if (latest.current.reduce) {
|
|
521
|
+
x.jump(reel.rest);
|
|
522
|
+
finish();
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
let controls = animate(x, reel.to, {
|
|
526
|
+
duration: latest.current.duration,
|
|
527
|
+
ease: SLIDE_EASE,
|
|
528
|
+
onComplete: () => {
|
|
529
|
+
controls = animate(x, reel.rest, {
|
|
530
|
+
...DETENT,
|
|
531
|
+
onComplete: finish
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
return () => controls.stop();
|
|
536
|
+
}, [reel, x]);
|
|
537
|
+
const tone = won === true ? "text-primary" : won === false ? "text-rose-500" : busy ? "text-primary" : "text-foreground/50";
|
|
538
|
+
useMotionValueEvent(x, "change", (value) => {
|
|
539
|
+
const count = latest.current.reel.tiles.length;
|
|
540
|
+
const index = Math.min(count - 1, Math.max(0, Math.round((-value - CARD_WIDTH / 2) / PITCH)));
|
|
541
|
+
if (index === under.current) return;
|
|
542
|
+
under.current = index;
|
|
543
|
+
latest.current.onCross();
|
|
544
|
+
});
|
|
545
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
546
|
+
"aria-hidden": "true",
|
|
547
|
+
className: "bg-muted/40 ring-border/50 relative flex-1 overflow-hidden rounded-xl ring-1 ring-inset",
|
|
548
|
+
style: { minHeight: 174.96 },
|
|
549
|
+
children: [
|
|
550
|
+
/* @__PURE__ */ jsx("div", {
|
|
551
|
+
className: "absolute inset-0 mask-[linear-gradient(to_right,transparent,black_15%,black_85%,transparent)]",
|
|
552
|
+
style: { perspective: 900 },
|
|
553
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
554
|
+
className: "absolute inset-y-0 left-1/2 flex items-center",
|
|
555
|
+
style: {
|
|
556
|
+
x,
|
|
557
|
+
gap: GAP,
|
|
558
|
+
transformStyle: "preserve-3d"
|
|
559
|
+
},
|
|
560
|
+
children: reel.tiles.map((tile, index) => /* @__PURE__ */ jsx(Card, {
|
|
561
|
+
multiplier: tile.multiplier,
|
|
562
|
+
center: index * PITCH + CARD_WIDTH / 2,
|
|
563
|
+
x,
|
|
564
|
+
wins: tile.multiplier >= goal,
|
|
565
|
+
landed: settled && index === reel.landed,
|
|
566
|
+
dim: settled && index !== reel.landed,
|
|
567
|
+
reduce
|
|
568
|
+
}, tile.id))
|
|
569
|
+
})
|
|
570
|
+
}),
|
|
571
|
+
/* @__PURE__ */ jsx(EdgeTab, {
|
|
572
|
+
side: "top",
|
|
573
|
+
tone
|
|
574
|
+
}),
|
|
575
|
+
/* @__PURE__ */ jsx(EdgeTab, {
|
|
576
|
+
side: "bottom",
|
|
577
|
+
tone
|
|
578
|
+
})
|
|
579
|
+
]
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* One card. Its turn, size and fade follow its distance from the center, read straight off the reel's offset.
|
|
584
|
+
* Memoized: the reel holds dozens of cards and every bet keystroke re-renders the stage.
|
|
585
|
+
*/
|
|
586
|
+
const Card = memo(function Card({ multiplier, center, x, wins, landed, dim, reduce }) {
|
|
587
|
+
const at = useRef(center);
|
|
588
|
+
useLayoutEffect(() => {
|
|
589
|
+
at.current = center;
|
|
590
|
+
});
|
|
591
|
+
const distance = useTransform(x, (value) => (value + at.current) / PITCH);
|
|
592
|
+
const scale = useTransform(distance, (d) => Math.max(MIN_SCALE, CENTER_SCALE - SCALE_STEP * Math.abs(d)));
|
|
593
|
+
const rotateY = useTransform(distance, (d) => Math.max(-50, Math.min(MAX_TURN, d * TURN_STEP)));
|
|
594
|
+
const opacity = useTransform(distance, (d) => Math.max(MIN_FADE, 1 - FADE_STEP * Math.abs(d)));
|
|
595
|
+
const [whole, decimals] = formatMultiplier(multiplier).replace("×", "").split(".");
|
|
596
|
+
return /* @__PURE__ */ jsx(motion.div, {
|
|
597
|
+
className: "shrink-0",
|
|
598
|
+
style: {
|
|
599
|
+
width: CARD_WIDTH,
|
|
600
|
+
height: CARD_HEIGHT,
|
|
601
|
+
scale,
|
|
602
|
+
rotateY,
|
|
603
|
+
opacity
|
|
604
|
+
},
|
|
605
|
+
children: /* @__PURE__ */ jsxs(motion.div, {
|
|
606
|
+
className: cn("relative flex size-full flex-col items-center justify-center rounded-xl tabular-nums", "shadow-[inset_0_0_0_1px_rgb(255_255_255/0.12),inset_0_1px_0_rgb(255_255_255/0.3),0_12px_24px_-10px_rgb(0_0_0/0.6)]", "transition-opacity duration-200 ease-out", FACE[face(multiplier)], dim && "opacity-55"),
|
|
607
|
+
animate: landed && !reduce ? { scale: [
|
|
608
|
+
1,
|
|
609
|
+
1.08,
|
|
610
|
+
1
|
|
611
|
+
] } : { scale: 1 },
|
|
612
|
+
transition: LOCK,
|
|
613
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
614
|
+
className: cn("leading-none font-bold tracking-tight", whole.length >= 4 ? "text-base" : "text-xl"),
|
|
615
|
+
children: [
|
|
616
|
+
whole,
|
|
617
|
+
decimals ? /* @__PURE__ */ jsxs("span", {
|
|
618
|
+
className: "text-[0.7em]",
|
|
619
|
+
children: [".", decimals]
|
|
620
|
+
}) : null,
|
|
621
|
+
/* @__PURE__ */ jsx("span", {
|
|
622
|
+
className: "ml-0.5 text-[0.7em] opacity-70",
|
|
623
|
+
children: "×"
|
|
624
|
+
})
|
|
625
|
+
]
|
|
626
|
+
}), wins ? /* @__PURE__ */ jsx("span", { className: "absolute bottom-2.5 h-1 w-5 rounded-full bg-current opacity-60" }) : null]
|
|
627
|
+
})
|
|
628
|
+
});
|
|
629
|
+
});
|
|
630
|
+
/** A notch on the stage edge, pointing at the center card. */
|
|
631
|
+
function EdgeTab({ side, tone }) {
|
|
632
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
633
|
+
"aria-hidden": "true",
|
|
634
|
+
viewBox: "0 0 36 15",
|
|
635
|
+
className: cn("absolute left-1/2 w-9 -translate-x-1/2 fill-current transition-colors duration-150 ease-out", side === "top" ? "top-0" : "bottom-0 rotate-180", tone),
|
|
636
|
+
style: { height: TAB_HEIGHT },
|
|
637
|
+
children: /* @__PURE__ */ jsx("path", { d: "M0 0h36v2a2 2 0 0 1-2 2h-9.5l-5.2 9.4a1.5 1.5 0 0 1-2.6 0L11.5 4H2a2 2 0 0 1-2-2Z" })
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
export { SlideGame, formatMultiplier, slideGameMessages, slideResult };
|
|
641
|
+
|
|
642
|
+
//# sourceMappingURL=slide-game.js.map
|