@kumix/ui 0.4.4 → 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 +18 -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 -43
- 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 -12
- 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 +45 -36
- 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 +10 -0
- package/dist/components/motion/crash/crash-balloon.d.ts.map +1 -0
- package/dist/components/motion/crash/crash-balloon.js +831 -0
- package/dist/components/motion/crash/crash-balloon.js.map +1 -0
- package/dist/components/motion/crash/crash-parts.d.ts +55 -0
- package/dist/components/motion/crash/crash-parts.d.ts.map +1 -0
- package/dist/components/motion/crash/crash-parts.js +4 -0
- package/dist/components/motion/crash/crash-tower.d.ts +10 -0
- package/dist/components/motion/crash/crash-tower.d.ts.map +1 -0
- package/dist/components/motion/crash/crash-tower.js +371 -0
- package/dist/components/motion/crash/crash-tower.js.map +1 -0
- package/dist/components/motion/crash.d.ts +10 -0
- package/dist/components/motion/crash.d.ts.map +1 -0
- package/dist/components/motion/crash.js +592 -0
- package/dist/components/motion/crash.js.map +1 -0
- 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 -16
- 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 +2 -2
- 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 +80 -0
- package/dist/components/motion/mines.d.ts.map +1 -0
- package/dist/components/motion/mines.js +797 -0
- package/dist/components/motion/mines.js.map +1 -0
- 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 +70 -0
- package/dist/components/motion/plinko.d.ts.map +1 -0
- package/dist/components/motion/plinko.js +399 -0
- package/dist/components/motion/plinko.js.map +1 -0
- 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 -38
- 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 +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 -13
- 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 +2 -1
- package/dist/components/reui/code-block/code-block.d.ts.map +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.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 +2 -2
- 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.d.ts +1 -0
- package/dist/components/reui/tree.d.ts.map +1 -1
- 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.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 +14 -14
- package/dist/components/ui/item.d.ts.map +1 -1
- package/dist/components/ui/item.js +4 -4
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/marker.d.ts +6 -6
- package/dist/components/ui/marker.d.ts.map +1 -1
- package/dist/components/ui/marker.js +3 -3
- package/dist/components/ui/menubar.d.ts +20 -20
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/menubar.js +4 -4
- package/dist/components/ui/message-scroller.d.ts +8 -8
- package/dist/components/ui/message-scroller.d.ts.map +1 -1
- package/dist/components/ui/message-scroller.js +3 -3
- package/dist/components/ui/message.d.ts +8 -8
- package/dist/components/ui/message.d.ts.map +1 -1
- package/dist/components/ui/native-select.d.ts +5 -5
- package/dist/components/ui/native-select.d.ts.map +1 -1
- package/dist/components/ui/native-select.js +1 -1
- package/dist/components/ui/navigation-menu.js +3 -3
- package/dist/components/ui/pagination.d.ts +11 -11
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/questionnaire.d.ts +17 -17
- package/dist/components/ui/questionnaire.d.ts.map +1 -1
- package/dist/components/ui/questionnaire.js +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 +1 -1
- 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-Dg5WC8u4.js +926 -0
- 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-CHhXKlG3.d.ts → ease-DnPhwGe6.d.ts} +4 -2
- 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.d.ts +11 -0
- package/dist/lib/audio-context.d.ts.map +1 -0
- package/dist/lib/audio-context.js +37 -0
- package/dist/lib/audio-context.js.map +1 -0
- 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 +2 -2
- package/dist/lib/ease.js +8 -1
- package/dist/lib/ease.js.map +1 -1
- package/dist/lib/game-sounds.d.ts +18 -0
- package/dist/lib/game-sounds.d.ts.map +1 -0
- package/dist/lib/game-sounds.js +142 -0
- package/dist/lib/game-sounds.js.map +1 -0
- 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/lib/tick-sound.d.ts +4 -3
- package/dist/lib/tick-sound.d.ts.map +1 -1
- package/dist/lib/tick-sound.js +30 -37
- package/dist/lib/tick-sound.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-DiGujbfH.d.ts +160 -0
- 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 +9 -9
- 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/ease-CHhXKlG3.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-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
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
declare const statusBarMessages: {
|
|
3
|
+
label: string;
|
|
4
|
+
tableCaption: string;
|
|
5
|
+
period: string;
|
|
6
|
+
status: string;
|
|
7
|
+
details: string;
|
|
8
|
+
legend: string;
|
|
9
|
+
inspect: string;
|
|
10
|
+
empty: string;
|
|
11
|
+
operational: string;
|
|
12
|
+
degraded: string;
|
|
13
|
+
outage: string;
|
|
14
|
+
maintenance: string;
|
|
15
|
+
unknown: string;
|
|
16
|
+
};
|
|
17
|
+
type StatusBarMessages = typeof statusBarMessages;
|
|
2
18
|
interface StatusBarDatum {
|
|
3
19
|
/** Stable, unique identity. Keep it when updating a period's status. */
|
|
4
20
|
id: string;
|
|
@@ -24,6 +40,8 @@ interface StatusBarProps extends ComponentProps<"section"> {
|
|
|
24
40
|
activeId?: string | null;
|
|
25
41
|
defaultActiveId?: string | null;
|
|
26
42
|
onActiveChange?: (id: string | null) => void;
|
|
43
|
+
/** Override any built-in string, including the default status labels. */
|
|
44
|
+
labels?: Partial<StatusBarMessages>;
|
|
27
45
|
}
|
|
28
46
|
declare function useStatusBar(): {
|
|
29
47
|
rows: {
|
|
@@ -32,6 +50,7 @@ declare function useStatusBar(): {
|
|
|
32
50
|
}[];
|
|
33
51
|
statuses: readonly StatusBarStatus[];
|
|
34
52
|
label: string;
|
|
53
|
+
t: (key: "details" | "label" | "legend" | "status" | "empty" | "inspect" | "tableCaption" | "period" | "operational" | "degraded" | "outage" | "maintenance" | "unknown", values?: Record<string, string | number>) => string;
|
|
35
54
|
active: {
|
|
36
55
|
datum: StatusBarDatum;
|
|
37
56
|
status: StatusBarStatus;
|
|
@@ -56,5 +75,5 @@ interface StatusBarTooltipProps {
|
|
|
56
75
|
side?: "top" | "right" | "bottom" | "left";
|
|
57
76
|
}
|
|
58
77
|
declare function StatusBarTooltip({ children, className, side }: StatusBarTooltipProps): import("react").JSX.Element;
|
|
59
|
-
export { StatusBarDatum as a, useStatusBar as c, STATUS_BAR_STATUSES as i, StatusBarTooltipData as n, StatusBarProps as o, StatusBarTooltipProps as r, StatusBarStatus as s, StatusBarTooltip as t };
|
|
60
|
-
//# sourceMappingURL=tooltip-
|
|
78
|
+
export { StatusBarDatum as a, useStatusBar as c, STATUS_BAR_STATUSES as i, StatusBarMessages as l, StatusBarTooltipData as n, StatusBarProps as o, StatusBarTooltipProps as r, StatusBarStatus as s, StatusBarTooltip as t, statusBarMessages as u };
|
|
79
|
+
//# sourceMappingURL=tooltip-CJccRGy9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-CJccRGy9.d.ts","names":[],"sources":["../src/components/charts/status-bar/messages.ts","../src/components/charts/status-bar/context.ts","../src/components/charts/status-bar/tooltip.tsx"],"mappings":";cAEa;;;;;;;;;;;;;;;KAgBD,2BAA2B;UCCtB;;EAEf;;EAEA;;EAEA;EACA;;UAGe;EACf;EACA;;EAEA;;cAGW,8BAA8B;UAQ1B,uBAAuB;;EAEtC,eAAe;;EAEf,oBAAoB;EACpB;EACA;EACA;EACA,kBAAkB;;EAElB,SAAS,QAAQ;;iBA8EH;;;;;;;;;;;;;EAxBqB,YAAA;;;;;;;;UCpGpB;EACf,OAAO;EACP,QAAQ;EACR;;UAGe;EACf,WAAW,cAAc,MAAM,yBAAyB;EACxD;EACA;;iBAGc,mBAAmB,UAAU,WAAW,QAAgB,wCAAqB,IAAA"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
declare const priceTargetFanMessages: {
|
|
3
|
+
label: string;
|
|
4
|
+
chart: string;
|
|
5
|
+
target: string;
|
|
6
|
+
targetButton: string;
|
|
7
|
+
history: string;
|
|
8
|
+
price: string;
|
|
9
|
+
analysts: string;
|
|
10
|
+
vsNow: string;
|
|
11
|
+
now: string;
|
|
12
|
+
horizon: string;
|
|
13
|
+
};
|
|
14
|
+
type PriceTargetFanMessages = typeof priceTargetFanMessages;
|
|
2
15
|
interface PriceTarget {
|
|
3
16
|
key: string;
|
|
4
17
|
price: number;
|
|
@@ -36,6 +49,8 @@ interface PriceTargetFanProps {
|
|
|
36
49
|
active?: PriceTargetFanActive | null;
|
|
37
50
|
defaultActive?: PriceTargetFanActive | null;
|
|
38
51
|
onActiveChange?: (active: PriceTargetFanActive | null) => void;
|
|
52
|
+
/** Override any built-in string. */
|
|
53
|
+
labels?: Partial<PriceTargetFanMessages>;
|
|
39
54
|
className?: string;
|
|
40
55
|
}
|
|
41
56
|
declare function usePriceTargetFan(): {
|
|
@@ -60,6 +75,8 @@ declare function usePriceTargetFan(): {
|
|
|
60
75
|
horizon?: string;
|
|
61
76
|
};
|
|
62
77
|
label: string;
|
|
78
|
+
locale: string | undefined;
|
|
79
|
+
t: (key: "label" | "price" | "target" | "history" | "now" | "chart" | "targetButton" | "analysts" | "vsNow" | "horizon", values?: Record<string, string | number>) => string;
|
|
63
80
|
y: (v: number) => number;
|
|
64
81
|
pct: (p: number) => number;
|
|
65
82
|
fmt: (p: number) => string;
|
|
@@ -123,5 +140,5 @@ declare function PriceTargetFanTooltip({ children, className }: {
|
|
|
123
140
|
children?: ReactNode | ((data: NonNullable<ReturnType<typeof usePriceTargetFan>["overlay"]>) => ReactNode);
|
|
124
141
|
className?: string;
|
|
125
142
|
}): import("react").JSX.Element;
|
|
126
|
-
export { PriceTargetFanActive as a, PriceTarget as i, usePriceTargetFan as n, PriceTargetFanProps as o, PriceHistoryPoint as r, PriceTargetFanTooltip as t };
|
|
127
|
-
//# sourceMappingURL=tooltip-
|
|
143
|
+
export { PriceTargetFanActive as a, priceTargetFanMessages as c, PriceTarget as i, usePriceTargetFan as n, PriceTargetFanProps as o, PriceHistoryPoint as r, PriceTargetFanMessages as s, PriceTargetFanTooltip as t };
|
|
144
|
+
//# sourceMappingURL=tooltip-CMtIWcUY.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-CMtIWcUY.d.ts","names":["_$__types0.PriceHistoryPoint"],"sources":["../src/components/charts/price-target-fan/messages.ts","../src/components/charts/price-target-fan/types.ts","../src/components/charts/price-target-fan/context.ts","../src/components/charts/price-target-fan/tooltip.tsx"],"mappings":";cAEa;;;;;;;;;;;;KAaD,gCAAgC;UCT3B;EACf;EACA;EACA;;EAEA;;UAGe;EACf;EACA;;KAGU;EACN;EAAiB;;EACjB;EAAgB;;UAEL;;EAEf;;EAEA;;EAEA,UAAU,aAAa,aAAa;;EAEpC;IAAU;IAAgB;IAAc;;;EAExC,UAAU;EACV,WAAW;EACX,SAAS;EACT,gBAAgB;EAChB,kBAAkB,QAAQ;;EAE1B,SAAS,QAAQ;EACjB;;iBC2Nc;;;;;;;EAvNW,YAAA,MAAA;;;EAgBD,UAAA;EAEC,WAAA;;E,SAlBAA;;;;;;;;;;;EA0DnB,IAAA;EAGU,MAAA;EACA,MAAA;;IAQC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;IA2EN;MAAE;MAAe;MAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EA1DxB,SAAA,GAAA,MAAM;;iBC1HX,wBACd,UACA;EAEA,WACI,cACE,MAAM,YAAY,kBAAkB,mCAAmC;EAC7E;oBACD,IAAA"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
declare const heatCalendarMessages: {
|
|
3
|
+
unit: string;
|
|
4
|
+
cell: string;
|
|
5
|
+
cellUndated: string;
|
|
6
|
+
range: string;
|
|
7
|
+
days: string;
|
|
8
|
+
less: string;
|
|
9
|
+
more: string;
|
|
10
|
+
level: string;
|
|
11
|
+
};
|
|
12
|
+
type HeatCalendarMessages = typeof heatCalendarMessages;
|
|
2
13
|
type HeatCalendarCell = {
|
|
3
14
|
w: number;
|
|
4
15
|
d: number;
|
|
@@ -26,10 +37,18 @@ interface HeatCalendarProps {
|
|
|
26
37
|
selection?: HeatCalendarSelection | null;
|
|
27
38
|
defaultSelection?: HeatCalendarSelection | null;
|
|
28
39
|
onSelectionChange?: (selection: HeatCalendarSelection | null) => void;
|
|
40
|
+
/** Override any built-in string. */
|
|
41
|
+
labels?: Partial<HeatCalendarMessages>;
|
|
29
42
|
}
|
|
30
43
|
/** Read the shared data and selection from any descendant of HeatCalendar. */
|
|
31
44
|
declare function useHeatCalendar(): {
|
|
32
45
|
unit: string;
|
|
46
|
+
t: (key: "cell" | "unit" | "range" | "days" | "more" | "less" | "cellUndated" | "level", values?: Record<string, string | number>) => string;
|
|
47
|
+
formats: {
|
|
48
|
+
day: Intl.DateTimeFormat;
|
|
49
|
+
month: Intl.DateTimeFormat;
|
|
50
|
+
range: Intl.DateTimeFormat;
|
|
51
|
+
};
|
|
33
52
|
weeks: number;
|
|
34
53
|
reduce: boolean | null;
|
|
35
54
|
canHover: boolean;
|
|
@@ -84,5 +103,5 @@ declare function HeatCalendarTooltip({ children, className }: {
|
|
|
84
103
|
children?: ReactNode | ((data: NonNullable<ReturnType<typeof useHeatCalendar>["tooltip"]>) => ReactNode);
|
|
85
104
|
className?: string;
|
|
86
105
|
}): import("react").JSX.Element;
|
|
87
|
-
export { HeatCalendarSelection as a, HeatCalendarProps as i, useHeatCalendar as n, HeatCalendarCell as r, HeatCalendarTooltip as t };
|
|
88
|
-
//# sourceMappingURL=tooltip-
|
|
106
|
+
export { HeatCalendarSelection as a, HeatCalendarProps as i, useHeatCalendar as n, HeatCalendarMessages as o, HeatCalendarCell as r, heatCalendarMessages as s, HeatCalendarTooltip as t };
|
|
107
|
+
//# sourceMappingURL=tooltip-DuPE_3Gi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-DuPE_3Gi.d.ts","names":[],"sources":["../src/components/charts/heat-calendar/messages.ts","../src/components/charts/heat-calendar/types.ts","../src/components/charts/heat-calendar/context.ts","../src/components/charts/heat-calendar/tooltip.tsx"],"mappings":";cAEa;;;;;;;;;;KAUD,8BAA8B;KCN9B;EAAqB;EAAW;;UAE3B;EACf,OAAO;EACP,MAAM;;UAGS;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA,UAAU;;EAEV;EACA;EACA,WAAW;;EAEX,YAAY;EACZ,mBAAmB;EACnB,qBAAqB,WAAW;;EAEhC,SAAS,QAAQ;;;iBCgMH;;;;;;;;;;;;;;;;;;;EAjJI,QAAA,WAAM;EACL,SAAA;EACF,OAAA;EAEC,QAAA;EACC,SAAA,WAAM,cAAW;EACjB,SAAA,WAAM;;;;;;;;;;;;;EA6DH,SAAA,MAAA;;;;;;;;;;;;;;;;;;;EA5FM,eAAA,MAAA;;iBC9Cd,sBACd,UACA;EAEA,WACI,cACE,MAAM,YAAY,kBAAkB,iCAAiC;EAC3E;oBACD,IAAA"}
|
|
@@ -60,4 +60,4 @@ interface VolumeProfileTooltipProps {
|
|
|
60
60
|
}
|
|
61
61
|
declare function VolumeProfileTooltip({ children, className, side }: VolumeProfileTooltipProps): import("react").JSX.Element | null;
|
|
62
62
|
export { VolumeProfileRow as i, VolumeProfileTooltipProps as n, VolumeProfileBin as r, VolumeProfileTooltip as t };
|
|
63
|
-
//# sourceMappingURL=tooltip-
|
|
63
|
+
//# sourceMappingURL=tooltip-UI0lMGya.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-UI0lMGya.d.ts","names":[],"sources":["../src/components/charts/volume-profile/model.ts","../src/components/charts/volume-profile/tooltip.tsx"],"mappings":";UAEiB;;EAEf;EACA;EACA;;EAEA;;iBAGc,mBAAmB,eAAe,oBAAoB;;;;;;;;;;;IAPhE;IACM;IACC;;IAEH;;;;;;;;;;;;IAJJ;IACM;IACC;;IAEH;;;;;;;;;;;;;;KAqGE,mBAAmB,kBAAkB;UC9EhC;EACf,WAAW,cAAc,KAAK,qBAAqB;EACnD;EACA;;iBAGc,uBACd,UACA,WACA,QACC,4CAAyB,IAAA"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
import { n as XYChartT } from "./messages-D4axySpl.js";
|
|
1
2
|
interface XYTooltipRow {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
color: string;
|
|
5
6
|
value: number | null;
|
|
6
7
|
}
|
|
7
|
-
declare function XYTooltipContent({ title, rows, formatValue, total, compact, className }: {
|
|
8
|
+
declare function XYTooltipContent({ title, rows, formatValue, total, compact, t, className }: {
|
|
8
9
|
title: string;
|
|
9
10
|
rows: readonly XYTooltipRow[];
|
|
10
11
|
formatValue: (value: number) => string;
|
|
11
12
|
total?: number | null;
|
|
12
13
|
/** Size to the content instead of a fixed panel width, for pointer-following readouts. */
|
|
13
14
|
compact?: boolean;
|
|
15
|
+
t: XYChartT;
|
|
14
16
|
className?: string;
|
|
15
17
|
}): import("react").JSX.Element;
|
|
16
18
|
export { XYTooltipRow as n, XYTooltipContent as t };
|
|
17
|
-
//# sourceMappingURL=tooltip-content-
|
|
19
|
+
//# sourceMappingURL=tooltip-content-Dr8bhW-q.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-content-Dr8bhW-q.d.ts","names":[],"sources":["../src/components/charts/xy/tooltip-content.tsx"],"mappings":";UAQiB;EACf;EACA;EACA;EACA;;iBAoBc,mBACd,OACA,MACA,aACA,OACA,SACA,GACA;EAEA;EACA,eAAe;EACf,cAAc;EACd;;EAEA;EACA,GAAG;EACH;oBACD,IAAA"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
declare const returnsCalendarMessages: {
|
|
3
|
+
year: string;
|
|
4
|
+
monthCell: string;
|
|
5
|
+
yearCell: string;
|
|
6
|
+
years: string;
|
|
7
|
+
months: string;
|
|
8
|
+
forYear: string;
|
|
9
|
+
};
|
|
10
|
+
type ReturnsCalendarMessages = typeof returnsCalendarMessages;
|
|
2
11
|
/** Zero-based row and month; month 12 selects the year total. */
|
|
3
12
|
type ReturnsCalendarCell = {
|
|
4
13
|
y: number;
|
|
@@ -18,6 +27,8 @@ interface ReturnsCalendarProps {
|
|
|
18
27
|
selection?: ReturnsCalendarSelection | null;
|
|
19
28
|
defaultSelection?: ReturnsCalendarSelection | null;
|
|
20
29
|
onSelectionChange?: (selection: ReturnsCalendarSelection | null) => void;
|
|
30
|
+
/** Override any built-in string. */
|
|
31
|
+
labels?: Partial<ReturnsCalendarMessages>;
|
|
21
32
|
}
|
|
22
33
|
interface ReturnsCalendarTooltipData {
|
|
23
34
|
label: string;
|
|
@@ -28,5 +39,5 @@ declare function ReturnsCalendarTooltip({ children, className }: {
|
|
|
28
39
|
children?: ReactNode | ((data: ReturnsCalendarTooltipData) => ReactNode);
|
|
29
40
|
className?: string;
|
|
30
41
|
}): import("react").JSX.Element;
|
|
31
|
-
export { ReturnsCalendarTooltipData as a, ReturnsCalendarSelection as i, ReturnsCalendarCell as n, ReturnsCalendarProps as r, ReturnsCalendarTooltip as t };
|
|
32
|
-
//# sourceMappingURL=tooltip-
|
|
42
|
+
export { ReturnsCalendarTooltipData as a, ReturnsCalendarSelection as i, ReturnsCalendarCell as n, ReturnsCalendarMessages as o, ReturnsCalendarProps as r, returnsCalendarMessages as s, ReturnsCalendarTooltip as t };
|
|
43
|
+
//# sourceMappingURL=tooltip-jQICwV_k.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip-jQICwV_k.d.ts","names":[],"sources":["../src/components/charts/returns-calendar/messages.ts","../src/components/charts/returns-calendar/types.ts","../src/components/charts/returns-calendar/tooltip.tsx"],"mappings":";cAEa;;;;;;;;KASD,iCAAiC;;KCJjC;EAAwB;EAAW;;UAE9B;EACf,OAAO;EACP,MAAM;;UAGS;;EAEf;;EAEA;EACA;EACA,WAAW;EACX,YAAY;EACZ,mBAAmB;EACnB,qBAAqB,WAAW;;EAEhC,SAAS,QAAQ;;UAGF;EACf;EACA;EACA;;iBCpBc,yBACd,UACA;EAEA,WAAW,cAAc,MAAM,+BAA+B;EAC9D;oBACD,IAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-C1WFGMvf.d.ts","names":[],"sources":["../src/components/motion/wallet-card/types.ts"],"mappings":";KAIY;EACV;EACA;EACA;EACA,SAAS;;UAGM;EACf,UAAU;EACV;EACA;EACA,mBAAmB;EACnB;EACA;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA,kBAAkB;EAClB,kBAAkB;;EAElB;EACA;EACA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
import { t as TableMessages } from "./messages-Dyou6PVt.js";
|
|
2
3
|
type SortDirection = "asc" | "desc";
|
|
3
4
|
type SortState = {
|
|
4
5
|
key: string;
|
|
@@ -69,6 +70,8 @@ interface TableProps<T> {
|
|
|
69
70
|
/** How many skeleton rows to show while loading more (default 3). */
|
|
70
71
|
skeletonRows?: number;
|
|
71
72
|
emptyState?: ReactNode;
|
|
73
|
+
/** Override any built-in string. `{row}` and `{column}` fill the per-row and per-column labels. */
|
|
74
|
+
labels?: Partial<TableMessages>;
|
|
72
75
|
className?: string;
|
|
73
76
|
}
|
|
74
77
|
/** Ref map from column key to its header cell, shared across the resize/reorder hooks. */
|
|
@@ -76,4 +79,4 @@ type HeaderCellRefs = {
|
|
|
76
79
|
current: Record<string, HTMLTableCellElement | null>;
|
|
77
80
|
};
|
|
78
81
|
export { TableColumn as a, SortState as i, InsertPosition as n, TableProps as o, SortDirection as r, HeaderCellRefs as t };
|
|
79
|
-
//# sourceMappingURL=types-
|
|
82
|
+
//# sourceMappingURL=types-C_v1N4fH.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-C_v1N4fH.d.ts","names":[],"sources":["../src/components/motion/table/types.ts"],"mappings":";;KAMY;KAEA;EACV;EACA,WAAW;;KAGD,YAAY;;EAEtB;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;;EAEA,QAAQ,KAAK,MAAM;;EAEnB;;EAEA,aAAa,KAAK;;KAGR;UAEK,WAAW;EAC1B,MAAM;EACN,SAAS,YAAY;;EAErB,YAAY,KAAK,GAAG;;EAEpB;EACA;EACA;EACA,qBAAqB;EACrB,OAAO;EACP,cAAc;EACd,gBAAgB,MAAM;;EAEtB;;EAEA;EACA,kBAAkB,aAAa;;EAE/B;EACA,uBAAuB;;EAEvB,cAAc,eAAe,mBAAmB;;EAEhD,kBAAkB,mBAAmB;;EAErC,eAAe,eAAe,UAAU;;EAExC,eAAe,eAAe;;EAE9B,kBAAkB,eAAe,UAAU;;EAE3C,kBAAkB,mBAAmB;;EAErC;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,aAAa;;EAEb,SAAS,QAAQ;EACjB;;;KAOU;EACV,SAAS,eAAe"}
|
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
declare const agentActivityMessages: {
|
|
3
|
+
thinking: string;
|
|
4
|
+
searching: string;
|
|
5
|
+
runningTools: string;
|
|
6
|
+
workingTrace: string;
|
|
7
|
+
workingMixed: string;
|
|
8
|
+
thoughtFor: string;
|
|
9
|
+
seconds: string;
|
|
10
|
+
minutes: string;
|
|
11
|
+
minutesSeconds: string;
|
|
12
|
+
searched: string;
|
|
13
|
+
ranToolsOne: string;
|
|
14
|
+
ranToolsOther: string;
|
|
15
|
+
traceSummary: string;
|
|
16
|
+
toolCallsOne: string;
|
|
17
|
+
toolCallsOther: string;
|
|
18
|
+
messagesOne: string;
|
|
19
|
+
messagesOther: string;
|
|
20
|
+
completedStepsOne: string;
|
|
21
|
+
completedStepsOther: string;
|
|
22
|
+
moreResults: string;
|
|
23
|
+
read: string;
|
|
24
|
+
edit: string;
|
|
25
|
+
write: string;
|
|
26
|
+
run: string;
|
|
27
|
+
};
|
|
28
|
+
type AgentActivityMessages = typeof agentActivityMessages;
|
|
29
|
+
type AgentActivityTranslate = (key: keyof AgentActivityMessages, values?: Record<string, string | number>) => string;
|
|
2
30
|
type AgentActivityStatus = "working" | "complete";
|
|
3
31
|
type AgentStepStatus = "pending" | "active" | "complete";
|
|
4
32
|
interface AgentActivityStep {
|
|
@@ -79,8 +107,10 @@ interface AgentActivityProps {
|
|
|
79
107
|
}) => ReactNode;
|
|
80
108
|
/** Maximum visible activity height before the stream begins gliding. */
|
|
81
109
|
maxHeight?: number;
|
|
110
|
+
/** Override any built-in string. Pick `One`/`Other` keys by count; `{count}`, `{duration}`, `{seconds}` and `{minutes}` fill the matching messages. */
|
|
111
|
+
labels?: Partial<AgentActivityMessages>;
|
|
82
112
|
className?: string;
|
|
83
113
|
contentClassName?: string;
|
|
84
114
|
}
|
|
85
|
-
export { AgentActivityStatus as a, AgentActivityTool as c, AgentStepStatus as d, AgentTraceKind as f, AgentActivitySearch as i, AgentActivityTrace as l, AgentActivityItem as n, AgentActivityStep as o, AgentActivityProps as r, AgentActivityText as s, AgentActivityContentType as t, AgentSearchResult as u };
|
|
86
|
-
//# sourceMappingURL=types-
|
|
115
|
+
export { AgentActivityStatus as a, AgentActivityTool as c, AgentStepStatus as d, AgentTraceKind as f, agentActivityMessages as h, AgentActivitySearch as i, AgentActivityTrace as l, AgentActivityTranslate as m, AgentActivityItem as n, AgentActivityStep as o, AgentActivityMessages as p, AgentActivityProps as r, AgentActivityText as s, AgentActivityContentType as t, AgentSearchResult as u };
|
|
116
|
+
//# sourceMappingURL=types-DJ8z6gW8.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DJ8z6gW8.d.ts","names":[],"sources":["../src/components/agents/agent-activity/messages.ts","../src/components/agents/agent-activity/types.ts"],"mappings":";cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BD,+BAA+B;KAE/B,0BACV,WAAW,uBACX,SAAS;KC3BC;KACA;UAEK;EACf;EACA;EACA,OAAO;EACP,SAAS;EACT,OAAO;;UAGQ;EACf;EACA;EACA,SAAS;;UAGM;EACf;EACA,OAAO;EACP,SAAS;EACT;EACA,OAAO;;UAGQ;EACf;EACA;EACA,OAAO;EACP,UAAU;EACV;;UAGe;EACf;EACA;EACA;EACA,QAAQ;EACR;EACA;;KAGU;UAEK;EACf;EACA;EACA,MAAM;EACN,OAAO;EACP,SAAS;EACT,OAAO;;KAGG,oBACR,oBACA,oBACA,sBACA,oBACA;KAEQ,2BAA2B;UAEtB;;EAEf,OAAO;;EAEP,cAAc;;EAEd,SAAS;;EAET;;EAEA;;EAEA;;EAEA,gBAAgB;;EAEhB;;EAEA,cAAc;;EAEd,UAAU;;EAEV,uBAAuB;IAAW,OAAO;IAAW;QAAuB;;EAE3E,yBAAyB;IAAW,SAAS;IAAW;QAAuB;;EAE/E;;EAEA,SAAS,QAAQ;EACjB;EACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DROZkngo.d.ts","names":[],"sources":["../src/components/motion/swap/types.ts"],"mappings":"A,KAEY;EACV;EACA;EACA;EACA;;KAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGU"}
|
|
@@ -15,4 +15,4 @@ type TimeOption = {
|
|
|
15
15
|
};
|
|
16
16
|
declare function defaultWeek(): WeekAvailability;
|
|
17
17
|
export { WeekAvailability as a, TimeRange as i, DayKey as n, defaultWeek as o, TimeOption as r, DayAvailability as t };
|
|
18
|
-
//# sourceMappingURL=types-
|
|
18
|
+
//# sourceMappingURL=types-DlSHf6nJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DlSHf6nJ.d.ts","names":[],"sources":["../src/components/motion/availability-scheduler/types.ts"],"mappings":"A,KAEY;KAEA;EAAc;EAAY;EAAe;;KACzC;EAAoB;EAAkB,QAAQ;;KAC9C,mBAAmB,OAAO,QAAQ;KAClC;EAAe;EAAe;;iBA2K1B,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-active-option-
|
|
1
|
+
{"version":3,"file":"use-active-option-DbxnIM2n.js","names":[],"sources":["../src/components/motion/combobox/use-active-option.ts"],"sourcesContent":["\"use client\";\n\nimport { useCallback, useLayoutEffect, useRef, useState } from \"react\";\n\n/**\n * Where the keyboard or the pointer last moved to, stamped with the query it\n * was placed under. Which option is *active* is resolved from this during\n * render, never in an effect: a passive effect runs after the commit, so a list\n * would briefly have none of its options active, and a key arriving in that\n * window would move from nowhere onto the row it was already about to\n * highlight.\n */\ntype ActiveCursor = { value: string; query: string };\n\ntype Options = {\n query: string;\n value: string | undefined;\n /** The enabled, visible options in list order — all this hook reads of them. */\n enabledItems: readonly { value: string }[];\n};\n\nconst isEnabled = (\n enabledItems: Options[\"enabledItems\"],\n candidate: string | undefined,\n): candidate is string =>\n candidate !== undefined && enabledItems.some((i) => i.value === candidate);\n\n/**\n * The cursor's option, or null once the query or the result set it was placed\n * in has changed. A cursor that outlived either would steal Enter from the row\n * the user is aiming at. The result-set half costs something: a live search\n * that blanks its rows while fetching and returns the same ones loses the moved\n * highlight. That is deliberate — a highlight visibly back at the top beats one\n * silently in the wrong place.\n *\n * It is stamped with the query rather than with the identity of the visible\n * list because callers routinely pass an inline `filter`, which makes that list\n * a fresh array on every render.\n */\nfunction liveCursorValue(cursor: ActiveCursor | null, options: Options) {\n if (cursor === null || cursor.query !== options.query) return null;\n return isEnabled(options.enabledItems, cursor.value) ? cursor.value : null;\n}\n\n/**\n * Where the highlight sits with no live cursor: the selection if it can be\n * selected, otherwise the first option that can. Only enabled options qualify —\n * an active disabled option would point `aria-activedescendant` at a row Enter\n * then refuses to select.\n */\nfunction fallbackActive({ value, enabledItems }: Options) {\n return isEnabled(enabledItems, value) ? value : (enabledItems[0]?.value ?? null);\n}\n\n/** The active option, from a cursor that may or may not still be live. */\nconst resolveActive = (cursor: ActiveCursor | null, options: Options) =>\n liveCursorValue(cursor, options) ?? fallbackActive(options);\n\nexport function useActiveOption({ open, ...options }: Options & { open: boolean }) {\n const { query, value, enabledItems } = options;\n const [cursor, setCursor] = useState<ActiveCursor | null>(null);\n\n const live = liveCursorValue(cursor, options);\n // Cleared rather than ignored: React re-runs this render with the cursor\n // gone, so a value that reappears later cannot revive it.\n if (cursor !== null && live === null) setCursor(null);\n const derived = live ?? fallbackActive(options);\n\n // Nothing is active until the list has been opened once. After that the\n // resolution above is already stable across a close — the list keeps\n // filtering by the query it was open with — so the highlight holds its row\n // through the exit without being frozen separately.\n const [opened, setOpened] = useState(open);\n if (open && !opened) setOpened(true);\n const activeValue = opened ? derived : null;\n\n // Both callbacks keep one identity for the life of the component, and read\n // the list through a ref to do it. A caller will put them in a `useMemo` or\n // an effect's dependencies — the exhaustive-deps rule makes it — and\n // `enabledItems` is a fresh array on every render for any consumer passing an\n // inline `filter`, so a callback keyed to it would be rebuilt every render.\n // Written after commit rather than during render: a render React discards\n // still runs the component body, and a handler reading this in that window\n // would step against a list the committed tree does not have.\n const latest = useRef({ open, query, value, enabledItems });\n useLayoutEffect(() => {\n latest.current = { open, query, value, enabledItems };\n });\n\n const setActiveValue = useCallback((next: string | null) => {\n setCursor(next === null ? null : { value: next, query: latest.current.query });\n }, []);\n\n // Steps from the option the cursor really resolves to, inside the update, so\n // that two keys landing in one batch move two rows rather than one.\n const moveActive = useCallback((direction: 1 | -1 | \"first\" | \"last\") => {\n const options = latest.current;\n // While closed the list is still filtering by the query it was open\n // with, so a step taken now would be measured against rows the next\n // render replaces. Opening is the caller's job; stepping waits for it.\n if (!options.open) return;\n const rows = options.enabledItems;\n const last = rows.length - 1;\n if (last < 0) {\n setCursor(null);\n return;\n }\n setCursor((current) => {\n // `resolveActive` always lands on a member of `enabledItems` once the\n // list is non-empty, which the early return above guarantees, so there\n // is always a row to step from.\n const from = resolveActive(current, options);\n const at = rows.findIndex((item) => item.value === from);\n const index =\n direction === \"first\"\n ? 0\n : direction === \"last\"\n ? last\n : (at + direction + rows.length) % rows.length;\n return { value: rows[index].value, query: options.query };\n });\n }, []);\n\n return { activeValue, setActiveValue, moveActive };\n}\n"],"mappings":";;AAqBA,MAAM,aACJ,cACA,cAEA,cAAc,KAAA,KAAa,aAAa,MAAM,MAAM,EAAE,UAAU,SAAS;;;;;;;;;;;;;AAc3E,SAAS,gBAAgB,QAA6B,SAAkB;CACtE,IAAI,WAAW,QAAQ,OAAO,UAAU,QAAQ,OAAO,OAAO;CAC9D,OAAO,UAAU,QAAQ,cAAc,OAAO,KAAK,IAAI,OAAO,QAAQ;AACxE;;;;;;;AAQA,SAAS,eAAe,EAAE,OAAO,gBAAyB;CACxD,OAAO,UAAU,cAAc,KAAK,IAAI,QAAS,aAAa,EAAE,EAAE,SAAS;AAC7E;;AAGA,MAAM,iBAAiB,QAA6B,YAClD,gBAAgB,QAAQ,OAAO,KAAK,eAAe,OAAO;AAE5D,SAAgB,gBAAgB,EAAE,MAAM,GAAG,WAAwC;CACjF,MAAM,EAAE,OAAO,OAAO,iBAAiB;CACvC,MAAM,CAAC,QAAQ,aAAa,SAA8B,IAAI;CAE9D,MAAM,OAAO,gBAAgB,QAAQ,OAAO;CAG5C,IAAI,WAAW,QAAQ,SAAS,MAAM,UAAU,IAAI;CACpD,MAAM,UAAU,QAAQ,eAAe,OAAO;CAM9C,MAAM,CAAC,QAAQ,aAAa,SAAS,IAAI;CACzC,IAAI,QAAQ,CAAC,QAAQ,UAAU,IAAI;CACnC,MAAM,cAAc,SAAS,UAAU;CAUvC,MAAM,SAAS,OAAO;EAAE;EAAM;EAAO;EAAO;CAAa,CAAC;CAC1D,sBAAsB;EACpB,OAAO,UAAU;GAAE;GAAM;GAAO;GAAO;EAAa;CACtD,CAAC;CAoCD,OAAO;EAAE;EAAa,gBAlCC,aAAa,SAAwB;GAC1D,UAAU,SAAS,OAAO,OAAO;IAAE,OAAO;IAAM,OAAO,OAAO,QAAQ;GAAM,CAAC;EAC/E,GAAG,CAAC,CAgC+B;EAAG,YA5BnB,aAAa,cAAyC;GACvE,MAAM,UAAU,OAAO;GAIvB,IAAI,CAAC,QAAQ,MAAM;GACnB,MAAM,OAAO,QAAQ;GACrB,MAAM,OAAO,KAAK,SAAS;GAC3B,IAAI,OAAO,GAAG;IACZ,UAAU,IAAI;IACd;GACF;GACA,WAAW,YAAY;IAIrB,MAAM,OAAO,cAAc,SAAS,OAAO;IAC3C,MAAM,KAAK,KAAK,WAAW,SAAS,KAAK,UAAU,IAAI;IACvD,MAAM,QACJ,cAAc,UACV,IACA,cAAc,SACZ,QACC,KAAK,YAAY,KAAK,UAAU,KAAK;IAC9C,OAAO;KAAE,OAAO,KAAK,MAAM,CAAC;KAAO,OAAO,QAAQ;IAAM;GAC1D,CAAC;EACH,GAAG,CAAC,CAE2C;CAAE;AACnD"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
declare const crashMessages: {
|
|
2
|
+
region: string;
|
|
3
|
+
recentCrashes: string;
|
|
4
|
+
recentEmpty: string;
|
|
5
|
+
sound: string;
|
|
6
|
+
auto: string;
|
|
7
|
+
autoOff: string;
|
|
8
|
+
start: string;
|
|
9
|
+
starting: string;
|
|
10
|
+
cashOut: string;
|
|
11
|
+
crashing: string;
|
|
12
|
+
skip: string;
|
|
13
|
+
waiting: string;
|
|
14
|
+
playAgain: string;
|
|
15
|
+
stateReady: string;
|
|
16
|
+
stateStarting: string;
|
|
17
|
+
stateFlying: string;
|
|
18
|
+
stateCashedOut: string;
|
|
19
|
+
stateCrashed: string;
|
|
20
|
+
statusIdle: string;
|
|
21
|
+
statusFlying: string;
|
|
22
|
+
statusAuto: string;
|
|
23
|
+
statusCloseCall: string;
|
|
24
|
+
statusFlewOn: string;
|
|
25
|
+
statusShort: string;
|
|
26
|
+
statusStillIn: string;
|
|
27
|
+
cashedBadge: string;
|
|
28
|
+
announceStarting: string;
|
|
29
|
+
announceStarted: string;
|
|
30
|
+
announceStartedAuto: string;
|
|
31
|
+
announceStartFailed: string;
|
|
32
|
+
announceCashedOut: string;
|
|
33
|
+
announceCrashed: string;
|
|
34
|
+
announceLost: string;
|
|
35
|
+
result: string;
|
|
36
|
+
hideResult: string;
|
|
37
|
+
crashedAt: string;
|
|
38
|
+
flight: string;
|
|
39
|
+
seconds: string;
|
|
40
|
+
oddsBeaten: string;
|
|
41
|
+
odds: string;
|
|
42
|
+
leftAt: string;
|
|
43
|
+
autoTarget: string;
|
|
44
|
+
autoMark: string;
|
|
45
|
+
targetMark: string;
|
|
46
|
+
targetMarkValue: string;
|
|
47
|
+
lastMark: string;
|
|
48
|
+
targetMarkTower: string;
|
|
49
|
+
};
|
|
50
|
+
type CrashMessages = typeof crashMessages;
|
|
51
|
+
interface CrashProps {
|
|
52
|
+
/** Multiplier to cash out at automatically (controlled), or null for manual play. Applies from the next round. */
|
|
53
|
+
autoCashOut?: number | null;
|
|
54
|
+
/** Initial auto cash-out when uncontrolled. Default null (off). */
|
|
55
|
+
defaultAutoCashOut?: number | null;
|
|
56
|
+
/** Called when the Auto menu changes between rounds. */
|
|
57
|
+
onAutoCashOutChange?: (autoCashOut: number | null) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Decides each round's crash point, called once when the round starts.
|
|
60
|
+
* Return a number, or a Promise for one (a server round, a provably fair
|
|
61
|
+
* hash): the main button shows Starting… until it settles, and a rejection
|
|
62
|
+
* returns to Start. Values below 1 or not finite become 1, and values are
|
|
63
|
+
* floored to two decimals. Default `crashPoint()`. Ignored when `crashAt`
|
|
64
|
+
* is passed.
|
|
65
|
+
*/
|
|
66
|
+
getCrashPoint?: () => number | Promise<number>;
|
|
67
|
+
/**
|
|
68
|
+
* Live rounds (controlled), for a server that keeps the crash point secret
|
|
69
|
+
* until it happens: the round `onStart` was given and its crash point once
|
|
70
|
+
* revealed, or null. A round flies open-ended until its own crash point
|
|
71
|
+
* arrives; a value for any other round is ignored, so a reveal from last
|
|
72
|
+
* round can't end this one. A value at or below the current multiplier
|
|
73
|
+
* crashes at once, at that value, and a cash out above it never happened:
|
|
74
|
+
* the round ends lost and `onCashOut` is not called. A value still ahead
|
|
75
|
+
* means the display is behind the server: the flight runs out to it
|
|
76
|
+
* quickly and takes no more hand cash outs (an auto target below it still
|
|
77
|
+
* pays). Whether a round is live is fixed when it starts; dropping
|
|
78
|
+
* `crashAt` mid-round ends it at the current multiplier.
|
|
79
|
+
*/
|
|
80
|
+
crashAt?: CrashReveal | null;
|
|
81
|
+
/** Called when the player starts a round, before its crash point is known, with the round's number (unique on the page). */
|
|
82
|
+
onStart?: (round: number) => void;
|
|
83
|
+
/**
|
|
84
|
+
* Called when the player cashes out, by hand or automatically. In a live
|
|
85
|
+
* round it waits until the crash point is revealed, so it only fires for a
|
|
86
|
+
* cash out that stands.
|
|
87
|
+
*/
|
|
88
|
+
onCashOut?: (multiplier: number) => void;
|
|
89
|
+
/** Called when the round crashes, with the cash-out multiplier or null if the player was still in. */
|
|
90
|
+
onCrash?: (crashPoint: number, cashedOut: number | null) => void;
|
|
91
|
+
/** Play synthesized sounds (controlled): a climbing chime at each milestone (2× to 5×, then 10×, 20×, 50×…), a cash-out arpeggio and a crash blast. */
|
|
92
|
+
sound?: boolean;
|
|
93
|
+
/** Initial sound state when uncontrolled. Default false. */
|
|
94
|
+
defaultSound?: boolean;
|
|
95
|
+
/** Called when the sound button is toggled. */
|
|
96
|
+
onSoundChange?: (sound: boolean) => void;
|
|
97
|
+
/** Accessible name for the game. Default "Crash". */
|
|
98
|
+
"aria-label"?: string;
|
|
99
|
+
/** Override built-in text for this instance. */
|
|
100
|
+
labels?: Partial<CrashMessages>;
|
|
101
|
+
className?: string;
|
|
102
|
+
}
|
|
103
|
+
type CrashPhase = "idle" | "starting" | "running" | "crashed";
|
|
104
|
+
/** A live round's crash point, tagged with the round `onStart` was given. */
|
|
105
|
+
interface CrashReveal {
|
|
106
|
+
round: number;
|
|
107
|
+
value: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* A crash point from one uniform draw in [0, 1): the round reaches `m` with
|
|
111
|
+
* probability (1 − houseEdge) / m, floored to two decimals and capped at
|
|
112
|
+
* 1,000,000×. The default edge of 0 is a fair game. Pass your own `random`
|
|
113
|
+
* for a seeded or provably fair round, for example the first 52 bits of a
|
|
114
|
+
* round's HMAC-SHA256: `crashPoint(() => parseInt(hash.slice(0, 13), 16) / 2 ** 52, 0.01)`.
|
|
115
|
+
*/
|
|
116
|
+
declare function crashPoint(random?: () => number, houseEdge?: number): number;
|
|
117
|
+
declare function useCrashGame({ autoCashOut: autoProp, defaultAutoCashOut, onAutoCashOutChange, getCrashPoint, crashAt, onStart, onCashOut, onCrash, sound, defaultSound, onSoundChange, labels }: Omit<CrashProps, "aria-label" | "className">): {
|
|
118
|
+
reduce: boolean;
|
|
119
|
+
/** The built-in fair crash point decides the round, so "1 in m" odds hold. */
|
|
120
|
+
fair: boolean;
|
|
121
|
+
target: number | null;
|
|
122
|
+
ghost: number;
|
|
123
|
+
/** The auto target the current or last round played with. */
|
|
124
|
+
roundAuto: number | null;
|
|
125
|
+
phase: CrashPhase;
|
|
126
|
+
running: boolean;
|
|
127
|
+
starting: boolean;
|
|
128
|
+
crashed: boolean;
|
|
129
|
+
lost: boolean;
|
|
130
|
+
/** A skip is running the rest of the flight out; scenery that streams with t would only flicker. */
|
|
131
|
+
skipping: boolean;
|
|
132
|
+
/** Seconds into the flight, frozen at the crash. */
|
|
133
|
+
t: number;
|
|
134
|
+
multiplier: number;
|
|
135
|
+
cashed: number | null;
|
|
136
|
+
/** Seconds into the flight at the cash out, or null. */
|
|
137
|
+
cashedT: number | null;
|
|
138
|
+
round: number;
|
|
139
|
+
pulse: number;
|
|
140
|
+
history: {
|
|
141
|
+
id: number;
|
|
142
|
+
value: number;
|
|
143
|
+
}[];
|
|
144
|
+
auto: number | null;
|
|
145
|
+
autoOptions: number[];
|
|
146
|
+
setAuto: (value: string) => void;
|
|
147
|
+
soundOn: boolean;
|
|
148
|
+
toggleSound: () => void;
|
|
149
|
+
act: () => void;
|
|
150
|
+
actionLabel: string;
|
|
151
|
+
actionBusy: boolean;
|
|
152
|
+
eyebrow: string;
|
|
153
|
+
status: string;
|
|
154
|
+
announcement: string;
|
|
155
|
+
/** The game's built-in text, resolved for the current locale and `labels`. */
|
|
156
|
+
text: (key: "auto" | "start" | "region" | "result" | "sound" | "starting" | "recentCrashes" | "recentEmpty" | "autoOff" | "cashOut" | "crashing" | "skip" | "waiting" | "playAgain" | "stateReady" | "stateStarting" | "stateFlying" | "stateCashedOut" | "stateCrashed" | "statusIdle" | "statusFlying" | "statusAuto" | "statusCloseCall" | "statusFlewOn" | "statusShort" | "statusStillIn" | "cashedBadge" | "announceStarting" | "announceStarted" | "announceStartedAuto" | "announceStartFailed" | "announceCashedOut" | "announceCrashed" | "announceLost" | "hideResult" | "crashedAt" | "flight" | "seconds" | "oddsBeaten" | "odds" | "leftAt" | "autoTarget" | "autoMark" | "targetMark" | "targetMarkValue" | "lastMark" | "targetMarkTower", values?: Record<string, string | number>) => string;
|
|
157
|
+
};
|
|
158
|
+
type CrashGame = ReturnType<typeof useCrashGame>;
|
|
159
|
+
export { crashPoint as i, CrashProps as n, CrashReveal as r, CrashGame as t };
|
|
160
|
+
//# sourceMappingURL=use-crash-game-DiGujbfH.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-crash-game-DiGujbfH.d.ts","names":[],"sources":["../src/components/motion/crash/messages.ts","../src/components/motion/crash/use-crash-game.ts"],"mappings":"A,cAEa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkDD,uBAAuB;UCxBlB;;EAEf;;EAEA;;EAEA,uBAAuB;;;;;;;;;EASvB,+BAA+B;;;;;;;;;;;;;;EAc/B,UAAU;;EAEV,WAAW;;;;;;EAMX,aAAa;;EAEb,WAAW,oBAAoB;;EAE/B;;EAEA;;EAEA,iBAAiB;;EAEjB;;EAEA,SAAS,QAAQ;EACjB;;KAGU;;UAGK;EACf;EACA;;;;;;;;;iBAoBc,WAAW,uBAAoC;iBAuC/C,eACd,aAAa,UACb,oBACA,qBACA,eACA,SACA,SACA,WACA,SACA,OACA,cACA,eACA,UACC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;IAiBuC;IAAe;;;;;;;;;;;;;;;;KA+YlD,YAAY,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-geometry-BajLqxjC.d.ts","names":[],"sources":["../src/components/charts/bump-chart/use-geometry.ts"],"mappings":";KAOY;EAAiB,GAAG;EAAqB,GAAG"}
|
|
@@ -124,4 +124,4 @@ function useInspection({ ids, activeId, defaultActiveId = null, onActiveChange }
|
|
|
124
124
|
}
|
|
125
125
|
export { normalizeXY as a, niceDomain as i, useInspection as n, labelStride as r, useControllable as t };
|
|
126
126
|
|
|
127
|
-
//# sourceMappingURL=use-inspection-
|
|
127
|
+
//# sourceMappingURL=use-inspection-DWk6TdY9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-inspection-DWk6TdY9.js","names":[],"sources":["../src/components/charts/xy/model.ts","../src/components/charts/xy/scale.ts","../src/components/charts/xy/use-inspection.ts"],"sourcesContent":["\"use client\";\n\nexport interface XYSeries {\n /** Stable, unique identity. Keep it when updating values so marks morph in place. */\n id: string;\n name: string;\n /** Any CSS color, including theme variables. */\n color: string;\n /** Values aligned with categories. Missing or non-finite values leave a gap. */\n values: readonly (number | null)[];\n}\n\nexport type XYRow = Omit<XYSeries, \"values\"> & { values: (number | null)[] };\n\n/** First of repeated series and category ids wins. Invalid values become gaps, never zeros. */\nexport function normalizeXY(\n series: readonly XYSeries[],\n categories: readonly string[],\n { nonnegative = false }: { nonnegative?: boolean } = {},\n) {\n const columns: { id: string; source: number }[] = [];\n const seenColumns = new Set<string>();\n categories.forEach((id, source) => {\n if (seenColumns.has(id)) return;\n seenColumns.add(id);\n columns.push({ id, source });\n });\n const seenRows = new Set<string>();\n const rows: XYRow[] = [];\n for (const { values, ...row } of series) {\n if (seenRows.has(row.id)) continue;\n seenRows.add(row.id);\n rows.push({\n ...row,\n values: columns.map(({ source }) => {\n const value = values[source];\n return typeof value === \"number\" && Number.isFinite(value) && (!nonnegative || value >= 0)\n ? value\n : null;\n }),\n });\n }\n return { rows, categories: columns.map((column) => column.id) };\n}\n","\"use client\";\n\nexport interface XYDomain {\n min: number;\n max: number;\n ticks: number[];\n}\n\nconst tidy = (value: number) => Number(value.toPrecision(12));\n\nfunction niceStep(raw: number) {\n const power = 10 ** Math.floor(Math.log10(raw));\n const fraction = raw / power;\n return (fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10) * power;\n}\n\n/** Round a value range out to human tick steps (1, 2, 5 × 10ⁿ). */\nexport function niceDomain(\n values: readonly number[],\n {\n includeZero = false,\n count = 4,\n fixed,\n }: {\n includeZero?: boolean;\n count?: number;\n fixed?: readonly [number, number];\n } = {},\n): XYDomain {\n let min = fixed?.[0] ?? (values.length ? Math.min(...values) : 0);\n let max = fixed?.[1] ?? (values.length ? Math.max(...values) : 1);\n if (includeZero && !fixed) {\n min = Math.min(0, min);\n max = Math.max(0, max);\n }\n if (min === max) {\n if (min === 0) max = 1;\n else if (includeZero && min > 0) min = 0;\n else {\n const pad = Math.abs(min) * 0.1;\n min -= pad;\n max += pad;\n }\n }\n const step = niceStep((max - min) / count);\n const lo = fixed ? min : tidy(Math.floor(min / step) * step);\n const hi = fixed ? max : tidy(Math.ceil(max / step) * step);\n const ticks: number[] = [];\n for (let tick = Math.ceil(lo / step) * step; tick <= hi + step / 1e6; tick += step)\n ticks.push(tidy(tick));\n return { min: lo, max: hi, ticks };\n}\n\n/** Show every nth label so neighbours never overlap. */\nexport function labelStride(count: number, length: number, minGap = 64) {\n if (count <= 1 || length <= 0) return 1;\n return Math.max(1, Math.ceil((count * minGap) / length));\n}\n","\"use client\";\n\nimport { useCallback, useId, useLayoutEffect, useRef, useState } from \"react\";\n\n/** Controlled/uncontrolled value with a stable setter. */\nexport function useControllable<T>(\n value: T | undefined,\n defaultValue: T,\n onChange?: (next: T) => void,\n) {\n const [internal, setInternal] = useState(defaultValue);\n const latest = useRef({ value, internal, onChange });\n useLayoutEffect(() => {\n latest.current = { value, internal, onChange };\n });\n const set = useCallback((next: T) => {\n const current = latest.current;\n if (current.value === undefined) setInternal(next);\n if ((current.value === undefined ? current.internal : current.value) !== next)\n current.onChange?.(next);\n }, []);\n return [value === undefined ? internal : value, set, setInternal] as const;\n}\n\n/**\n * The inspected category is held by id and resolved during render, so a\n * category that leaves the data clears the cursor instead of landing on a\n * neighbour, and one that comes back cannot revive it.\n */\nexport function useInspection({\n ids,\n activeId,\n defaultActiveId = null,\n onActiveChange,\n}: {\n ids: readonly string[];\n activeId?: string | null;\n defaultActiveId?: string | null;\n onActiveChange?: (id: string | null) => void;\n}) {\n const [requested, setActive, setInternal] = useControllable(\n activeId,\n defaultActiveId,\n onActiveChange,\n );\n if (activeId === undefined && requested !== null && !ids.includes(requested)) setInternal(null);\n const activeIndex = requested === null ? -1 : ids.indexOf(requested);\n const [open, setOpen] = useState(false);\n // A finger on the plot: inspection marks follow it directly instead of gliding.\n const [touching, setTouching] = useState(false);\n const plotRef = useRef<HTMLDivElement>(null);\n const tooltipId = useId();\n return {\n activeId: activeIndex >= 0 ? requested : null,\n activeIndex,\n setActive,\n open,\n setOpen,\n touching,\n setTouching,\n plotRef,\n tooltipId,\n };\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-points-y0l-9pdN.js","names":[],"sources":["../src/components/charts/xy/path.ts","../src/components/charts/xy/use-points.ts"],"sourcesContent":["\"use client\";\n\nexport type XYCurve = \"monotone\" | \"linear\" | \"step\";\nexport type XYPathPoint = { x: number; y: number } | null;\n\nconst f = (value: number) => Math.round(value * 100) / 100;\n\n/** Contiguous runs. A gap in the data is a gap in the line, never an interpolation. */\nfunction runs(points: readonly XYPathPoint[]) {\n const out: { x: number; y: number }[][] = [];\n let run: { x: number; y: number }[] = [];\n for (const point of points) {\n if (point) run.push(point);\n else if (run.length) {\n out.push(run);\n run = [];\n }\n }\n if (run.length) out.push(run);\n return out;\n}\n\n// Monotone cubic interpolation (Fritsch–Carlson): smooth, but it never\n// overshoots a local peak or dips below a local trough the data doesn't have.\nfunction tangents(run: { x: number; y: number }[]) {\n const n = run.length;\n const t = new Array<number>(n).fill(0);\n for (let i = 1; i < n - 1; i++) {\n const h0 = run[i].x - run[i - 1].x;\n const h1 = run[i + 1].x - run[i].x;\n const s0 = h0 ? (run[i].y - run[i - 1].y) / h0 : 0;\n const s1 = h1 ? (run[i + 1].y - run[i].y) / h1 : 0;\n const p = h0 + h1 ? (s0 * h1 + s1 * h0) / (h0 + h1) : 0;\n t[i] =\n (Math.sign(s0) + Math.sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p));\n }\n const end = (a: number, b: number, neighbour: number) => {\n const h = run[b].x - run[a].x;\n return h ? (3 * (run[b].y - run[a].y)) / h / 2 - neighbour / 2 : neighbour;\n };\n t[0] = end(0, 1, t[1]);\n t[n - 1] = end(n - 2, n - 1, t[n - 2]);\n return t;\n}\n\nfunction segment(run: { x: number; y: number }[], curve: XYCurve) {\n const [first, ...rest] = run;\n let d = `M${f(first.x)},${f(first.y)}`;\n // A lone sample draws as a dot with a round line cap.\n if (!rest.length) return `${d}h0`;\n if (curve === \"linear\" || run.length === 2) {\n for (const p of rest) d += `L${f(p.x)},${f(p.y)}`;\n return d;\n }\n if (curve === \"step\") {\n for (let i = 1; i < run.length; i++) {\n const mid = (run[i - 1].x + run[i].x) / 2;\n d += `H${f(mid)}V${f(run[i].y)}`;\n }\n return `${d}H${f(run[run.length - 1].x)}`;\n }\n const t = tangents(run);\n for (let i = 1; i < run.length; i++) {\n const a = run[i - 1];\n const b = run[i];\n const dx = (b.x - a.x) / 3;\n d += `C${f(a.x + dx)},${f(a.y + dx * t[i - 1])},${f(b.x - dx)},${f(b.y - dx * t[i])},${f(b.x)},${f(b.y)}`;\n }\n return d;\n}\n\nexport function linePath(points: readonly XYPathPoint[], curve: XYCurve = \"monotone\") {\n return runs(points)\n .map((run) => segment(run, curve))\n .join(\"\");\n}\n\n/** Close each run down to the baseline. Lone samples have no area to fill. */\nexport function areaPath(\n points: readonly XYPathPoint[],\n baseline: number,\n curve: XYCurve = \"monotone\",\n) {\n return runs(points)\n .filter((run) => run.length > 1)\n .map(\n (run) =>\n `${segment(run, curve)}L${f(run[run.length - 1].x)},${f(baseline)}L${f(run[0].x)},${f(baseline)}Z`,\n )\n .join(\"\");\n}\n","\"use client\";\n\nimport { useLayoutEffect, useRef, useState } from \"react\";\nimport { animate, type MotionValue, motionValue } from \"motion/react\";\n\nimport { SPRING_LAYOUT } from \"../../../lib/ease\";\n\nexport type XYAnimatedPoint = { x: MotionValue<number>; y: MotionValue<number> };\nexport type XYPointTarget = { key: string; x: number; y: number };\n\n/**\n * One spring per coordinate, keyed by identity. Paths, dots and fills read the\n * same values, so a data change morphs every mark together. A resize jumps:\n * the data didn't change, so nothing should appear to move.\n */\nexport function useAnimatedPoints(targets: XYPointTarget[], reduce: boolean, width: number) {\n const shape = targets.map((target) => target.key).join(\"\\n\");\n const create = (previous?: Map<string, XYAnimatedPoint>) =>\n new Map(\n targets.map((target) => [\n target.key,\n previous?.get(target.key) ?? { x: motionValue(target.x), y: motionValue(target.y) },\n ]),\n );\n const [stored, setStored] = useState(() => ({ shape, points: create() }));\n let points = stored.points;\n if (stored.shape !== shape) {\n points = create(stored.points);\n setStored({ shape, points });\n }\n const lastWidth = useRef(width);\n // Hover and focus renders produce the same snapshot, so they never restart a spring.\n const snapshot = JSON.stringify(targets);\n useLayoutEffect(() => {\n const resized = lastWidth.current !== width;\n lastWidth.current = width;\n const next: XYPointTarget[] = JSON.parse(snapshot);\n const controls: ReturnType<typeof animate>[] = [];\n for (const target of next) {\n const point = points.get(target.key);\n if (!point) continue;\n for (const axis of [\"x\", \"y\"] as const) {\n if (reduce || resized) point[axis].jump(target[axis]);\n else controls.push(animate(point[axis], target[axis], SPRING_LAYOUT));\n }\n }\n return () => {\n for (const control of controls) control.stop();\n };\n }, [snapshot, reduce, points, width]);\n return points;\n}\n"],"mappings":"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"}
|
|
@@ -27,4 +27,4 @@ declare function useTooltipPointer(anchor: TooltipAnchor | null, followCursor: b
|
|
|
27
27
|
onMove: RefObject<(() => void) | null>;
|
|
28
28
|
};
|
|
29
29
|
export { useTooltipPosition as a, TooltipSide as i, TooltipAnchor as n, TooltipPoint as r, TooltipAlign as t };
|
|
30
|
-
//# sourceMappingURL=use-position-
|
|
30
|
+
//# sourceMappingURL=use-position-B1lYvN8D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-position-
|
|
1
|
+
{"version":3,"file":"use-position-B1lYvN8D.d.ts","names":[],"sources":["../src/components/motion/tooltip/use-position.ts"],"mappings":";KAeY;KACA;KACA;EAAiB;EAAW;;KAC5B,gBAAgB,cAAc;;iBAU1B,qBACd,MACA,QACA,aACA,UACA,aACA,cACA,MACA,OACA,YACA,WACA,YACA;EAEA;EACA,QAAQ;EACR,aAAa,UAAU;EACvB,WAAW,UAAU;EACrB,cAAc;EACd;EACA,MAAM;EACN,OAAO;EACP;EACA;EACA,aAAa,MAAM;EACnB,SAAS,kBAAkB;;;iBAwIb,kBAAkB,QAAQ,sBAAsB;;EAEjC,QAAA"}
|