@kumix/ui 0.3.17 → 0.4.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 +30 -18
- package/dist/account-avatar-DILzuuvz.js +23 -0
- package/dist/account-avatar-DILzuuvz.js.map +1 -0
- package/dist/{cascader-types-BnH6wYD-.d.ts → cascader-types-DVT-znZ-.d.ts} +6 -3
- package/dist/cascader-types-DVT-znZ-.d.ts.map +1 -0
- package/dist/components/agents/agent-activity/activity-row.js +1 -1
- package/dist/components/agents/agent-activity/index.js +1 -1
- package/dist/components/agents/agent-code.js +1 -1
- package/dist/components/agents/ai-sidebar.js +1 -1
- package/dist/components/agents/approval-card/index.js +1 -1
- package/dist/components/agents/citations.js +1 -1
- package/dist/components/agents/code-block.js +1 -1
- package/dist/components/agents/file-diff.js +1 -1
- package/dist/components/agents/image-generation.js +1 -1
- package/dist/components/agents/message-bubble.js +1 -1
- package/dist/components/agents/prompt-input.js +1 -1
- package/dist/components/agents/streaming-response.js +1 -1
- package/dist/components/agents/todo-list.js +1 -1
- package/dist/components/agents/tool-approval.js +1 -1
- package/dist/components/agents/tool-result.js +1 -1
- package/dist/components/agents/voice-orb.d.ts +19 -0
- package/dist/components/agents/voice-orb.d.ts.map +1 -0
- package/dist/components/agents/voice-orb.js +389 -0
- package/dist/components/agents/voice-orb.js.map +1 -0
- package/dist/components/charts/bump-chart/context.d.ts +2 -0
- package/dist/components/charts/bump-chart/context.js +3 -0
- package/dist/components/charts/bump-chart/legend.d.ts +6 -0
- package/dist/components/charts/bump-chart/legend.d.ts.map +1 -0
- package/dist/components/charts/bump-chart/legend.js +60 -0
- package/dist/components/charts/bump-chart/legend.js.map +1 -0
- package/dist/components/charts/bump-chart/plot.d.ts +6 -0
- package/dist/components/charts/bump-chart/plot.d.ts.map +1 -0
- package/dist/components/charts/bump-chart/plot.js +3 -0
- package/dist/components/charts/bump-chart/point.d.ts +10 -0
- package/dist/components/charts/bump-chart/point.d.ts.map +1 -0
- package/dist/components/charts/bump-chart/point.js +124 -0
- package/dist/components/charts/bump-chart/point.js.map +1 -0
- package/dist/components/charts/bump-chart/series.d.ts +11 -0
- package/dist/components/charts/bump-chart/series.d.ts.map +1 -0
- package/dist/components/charts/bump-chart/series.js +101 -0
- package/dist/components/charts/bump-chart/series.js.map +1 -0
- package/dist/components/charts/bump-chart.d.ts +10 -0
- package/dist/components/charts/bump-chart.d.ts.map +1 -0
- package/dist/components/charts/bump-chart.js +23 -0
- package/dist/components/charts/bump-chart.js.map +1 -0
- package/dist/components/charts/composition-chart/context.d.ts +2 -0
- package/dist/components/charts/composition-chart/context.js +3 -0
- package/dist/components/charts/composition-chart/legend.d.ts +6 -0
- package/dist/components/charts/composition-chart/legend.d.ts.map +1 -0
- package/dist/components/charts/composition-chart/legend.js +51 -0
- package/dist/components/charts/composition-chart/legend.js.map +1 -0
- package/dist/components/charts/composition-chart/plot.d.ts +6 -0
- package/dist/components/charts/composition-chart/plot.d.ts.map +1 -0
- package/dist/components/charts/composition-chart/plot.js +174 -0
- package/dist/components/charts/composition-chart/plot.js.map +1 -0
- package/dist/components/charts/composition-chart/tooltip-content.d.ts +6 -0
- package/dist/components/charts/composition-chart/tooltip-content.d.ts.map +1 -0
- package/dist/components/charts/composition-chart/tooltip-content.js +63 -0
- package/dist/components/charts/composition-chart/tooltip-content.js.map +1 -0
- package/dist/components/charts/composition-chart.d.ts +9 -0
- package/dist/components/charts/composition-chart.d.ts.map +1 -0
- package/dist/components/charts/composition-chart.js +26 -0
- package/dist/components/charts/composition-chart.js.map +1 -0
- package/dist/components/charts/funnel-chart.d.ts +50 -0
- package/dist/components/charts/funnel-chart.d.ts.map +1 -0
- package/dist/components/charts/funnel-chart.js +216 -0
- package/dist/components/charts/funnel-chart.js.map +1 -0
- package/dist/components/charts/heat-calendar/grid.d.ts +8 -0
- package/dist/components/charts/heat-calendar/grid.d.ts.map +1 -0
- package/dist/components/charts/heat-calendar/grid.js +127 -0
- package/dist/components/charts/heat-calendar/grid.js.map +1 -0
- package/dist/components/charts/heat-calendar/legend.d.ts +6 -0
- package/dist/components/charts/heat-calendar/legend.d.ts.map +1 -0
- package/dist/components/charts/heat-calendar/legend.js +48 -0
- package/dist/components/charts/heat-calendar/legend.js.map +1 -0
- package/dist/components/charts/heat-calendar/tooltip.d.ts +2 -0
- package/dist/components/charts/heat-calendar/tooltip.js +50 -0
- package/dist/components/charts/heat-calendar/tooltip.js.map +1 -0
- package/dist/components/charts/heat-calendar.d.ts +9 -0
- package/dist/components/charts/heat-calendar.d.ts.map +1 -0
- package/dist/components/charts/heat-calendar.js +23 -0
- package/dist/components/charts/heat-calendar.js.map +1 -0
- package/dist/components/charts/liquidity-heatmap.d.ts +51 -0
- package/dist/components/charts/liquidity-heatmap.d.ts.map +1 -0
- package/dist/components/charts/liquidity-heatmap.js +311 -0
- package/dist/components/charts/liquidity-heatmap.js.map +1 -0
- package/dist/components/charts/order-book/depth-row.d.ts +13 -0
- package/dist/components/charts/order-book/depth-row.d.ts.map +1 -0
- package/dist/components/charts/order-book/depth-row.js +99 -0
- package/dist/components/charts/order-book/depth-row.js.map +1 -0
- package/dist/components/charts/order-book.d.ts +57 -0
- package/dist/components/charts/order-book.d.ts.map +1 -0
- package/dist/components/charts/order-book.js +207 -0
- package/dist/components/charts/order-book.js.map +1 -0
- package/dist/components/charts/price-target-fan/header.d.ts +8 -0
- package/dist/components/charts/price-target-fan/header.d.ts.map +1 -0
- package/dist/components/charts/price-target-fan/header.js +43 -0
- package/dist/components/charts/price-target-fan/header.js.map +1 -0
- package/dist/components/charts/price-target-fan/plot.d.ts +16 -0
- package/dist/components/charts/price-target-fan/plot.d.ts.map +1 -0
- package/dist/components/charts/price-target-fan/plot.js +142 -0
- package/dist/components/charts/price-target-fan/plot.js.map +1 -0
- package/dist/components/charts/price-target-fan/series.d.ts +15 -0
- package/dist/components/charts/price-target-fan/series.d.ts.map +1 -0
- package/dist/components/charts/price-target-fan/series.js +238 -0
- package/dist/components/charts/price-target-fan/series.js.map +1 -0
- package/dist/components/charts/price-target-fan/tooltip.d.ts +2 -0
- package/dist/components/charts/price-target-fan/tooltip.js +58 -0
- package/dist/components/charts/price-target-fan/tooltip.js.map +1 -0
- package/dist/components/charts/price-target-fan.d.ts +10 -0
- package/dist/components/charts/price-target-fan.d.ts.map +1 -0
- package/dist/components/charts/price-target-fan.js +24 -0
- package/dist/components/charts/price-target-fan.js.map +1 -0
- package/dist/components/charts/returns-calendar/grid.d.ts +8 -0
- package/dist/components/charts/returns-calendar/grid.d.ts.map +1 -0
- package/dist/components/charts/returns-calendar/grid.js +176 -0
- package/dist/components/charts/returns-calendar/grid.js.map +1 -0
- package/dist/components/charts/returns-calendar/tooltip.d.ts +2 -0
- package/dist/components/charts/returns-calendar/tooltip.js +55 -0
- package/dist/components/charts/returns-calendar/tooltip.js.map +1 -0
- package/dist/components/charts/returns-calendar.d.ts +48 -0
- package/dist/components/charts/returns-calendar.d.ts.map +1 -0
- package/dist/components/charts/returns-calendar.js +22 -0
- package/dist/components/charts/returns-calendar.js.map +1 -0
- package/dist/components/charts/status-bar/legend.d.ts +8 -0
- package/dist/components/charts/status-bar/legend.d.ts.map +1 -0
- package/dist/components/charts/status-bar/legend.js +37 -0
- package/dist/components/charts/status-bar/legend.js.map +1 -0
- package/dist/components/charts/status-bar/plot.d.ts +12 -0
- package/dist/components/charts/status-bar/plot.d.ts.map +1 -0
- package/dist/components/charts/status-bar/plot.js +176 -0
- package/dist/components/charts/status-bar/plot.js.map +1 -0
- package/dist/components/charts/status-bar/tooltip.d.ts +2 -0
- package/dist/components/charts/status-bar/tooltip.js +49 -0
- package/dist/components/charts/status-bar/tooltip.js.map +1 -0
- package/dist/components/charts/status-bar.d.ts +9 -0
- package/dist/components/charts/status-bar.d.ts.map +1 -0
- package/dist/components/charts/status-bar.js +64 -0
- package/dist/components/charts/status-bar.js.map +1 -0
- package/dist/components/charts/treemap/legend.d.ts +8 -0
- package/dist/components/charts/treemap/legend.d.ts.map +1 -0
- package/dist/components/charts/treemap/legend.js +35 -0
- package/dist/components/charts/treemap/legend.js.map +1 -0
- package/dist/components/charts/treemap/plot.d.ts +13 -0
- package/dist/components/charts/treemap/plot.d.ts.map +1 -0
- package/dist/components/charts/treemap/plot.js +123 -0
- package/dist/components/charts/treemap/plot.js.map +1 -0
- package/dist/components/charts/treemap/tile.d.ts +10 -0
- package/dist/components/charts/treemap/tile.d.ts.map +1 -0
- package/dist/components/charts/treemap/tile.js +114 -0
- package/dist/components/charts/treemap/tile.js.map +1 -0
- package/dist/components/charts/treemap/tooltip.d.ts +11 -0
- package/dist/components/charts/treemap/tooltip.d.ts.map +1 -0
- package/dist/components/charts/treemap/tooltip.js +73 -0
- package/dist/components/charts/treemap/tooltip.js.map +1 -0
- package/dist/components/charts/treemap.d.ts +56 -0
- package/dist/components/charts/treemap.d.ts.map +1 -0
- package/dist/components/charts/treemap.js +71 -0
- package/dist/components/charts/treemap.js.map +1 -0
- package/dist/components/charts/volume-profile/plot.d.ts +12 -0
- package/dist/components/charts/volume-profile/plot.d.ts.map +1 -0
- package/dist/components/charts/volume-profile/plot.js +211 -0
- package/dist/components/charts/volume-profile/plot.js.map +1 -0
- package/dist/components/charts/volume-profile/summary.d.ts +6 -0
- package/dist/components/charts/volume-profile/summary.d.ts.map +1 -0
- package/dist/components/charts/volume-profile/summary.js +76 -0
- package/dist/components/charts/volume-profile/summary.js.map +1 -0
- package/dist/components/charts/volume-profile/tooltip.d.ts +2 -0
- package/dist/components/charts/volume-profile/tooltip.js +84 -0
- package/dist/components/charts/volume-profile/tooltip.js.map +1 -0
- package/dist/components/charts/volume-profile.d.ts +111 -0
- package/dist/components/charts/volume-profile.d.ts.map +1 -0
- package/dist/components/charts/volume-profile.js +82 -0
- package/dist/components/charts/volume-profile.js.map +1 -0
- package/dist/components/custom/confirm-dialog.js +1 -1
- package/dist/components/motion/adaptive-stepper.js +1 -1
- package/dist/components/motion/alert.d.ts +40 -0
- package/dist/components/motion/alert.d.ts.map +1 -0
- package/dist/components/motion/alert.js +247 -0
- package/dist/components/motion/alert.js.map +1 -0
- package/dist/components/motion/animated-badge.js +1 -1
- package/dist/components/motion/animated-sidebar.js +1 -1
- package/dist/components/motion/animated-sidebar.js.map +1 -1
- package/dist/components/motion/animated-toast-stack.js +1 -1
- package/dist/components/motion/arc-picker.d.ts +28 -0
- package/dist/components/motion/arc-picker.d.ts.map +1 -0
- package/dist/components/motion/arc-picker.js +569 -0
- package/dist/components/motion/arc-picker.js.map +1 -0
- package/dist/components/motion/aspect-ratio.d.ts +23 -0
- package/dist/components/motion/aspect-ratio.d.ts.map +1 -0
- package/dist/components/motion/aspect-ratio.js +61 -0
- package/dist/components/motion/aspect-ratio.js.map +1 -0
- package/dist/components/motion/attachment-upload.d.ts.map +1 -1
- package/dist/components/motion/attachment-upload.js +2 -2
- package/dist/components/motion/attachment-upload.js.map +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.js +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +2 -2
- package/dist/components/motion/availability-scheduler/index.js +1 -1
- package/dist/components/motion/bloom-menu.js +1 -1
- package/dist/components/motion/bottom-sheet.js.map +1 -1
- package/dist/components/motion/bouncy-accordion.js +1 -1
- package/dist/components/motion/breadcrumb.d.ts +37 -0
- package/dist/components/motion/breadcrumb.d.ts.map +1 -0
- package/dist/components/motion/breadcrumb.js +259 -0
- package/dist/components/motion/breadcrumb.js.map +1 -0
- package/dist/components/motion/button/stateful.js +1 -1
- package/dist/components/motion/card-folder.js +1 -1
- package/dist/components/motion/center-morph-modal.js +1 -1
- package/dist/components/motion/collapsible.d.ts +34 -0
- package/dist/components/motion/collapsible.d.ts.map +1 -0
- package/dist/components/motion/collapsible.js +237 -0
- package/dist/components/motion/collapsible.js.map +1 -0
- package/dist/components/motion/color-selector.d.ts +28 -0
- package/dist/components/motion/color-selector.d.ts.map +1 -0
- package/dist/components/motion/color-selector.js +97 -0
- package/dist/components/motion/color-selector.js.map +1 -0
- package/dist/components/motion/combobox/list.js +1 -1
- package/dist/components/motion/combobox/trigger.js +1 -1
- package/dist/components/motion/command-palette.js +1 -1
- package/dist/components/motion/command-palette.js.map +1 -1
- package/dist/components/motion/context-menu.js +1 -1
- package/dist/components/motion/date-range-picker.d.ts +107 -0
- package/dist/components/motion/date-range-picker.d.ts.map +1 -0
- package/dist/components/motion/date-range-picker.js +907 -0
- package/dist/components/motion/date-range-picker.js.map +1 -0
- package/dist/components/motion/drawer.js.map +1 -1
- package/dist/components/motion/feedback-widget.js +1 -1
- package/dist/components/motion/file-tree.js +1 -1
- package/dist/components/motion/file-upload.js +1 -1
- package/dist/components/motion/infinite-masonry.js +1 -1
- package/dist/components/motion/knockout-bracket.d.ts +190 -0
- package/dist/components/motion/knockout-bracket.d.ts.map +1 -0
- package/dist/components/motion/knockout-bracket.js +952 -0
- package/dist/components/motion/knockout-bracket.js.map +1 -0
- package/dist/components/motion/knockout-wheel.d.ts +183 -0
- package/dist/components/motion/knockout-wheel.d.ts.map +1 -0
- package/dist/components/motion/knockout-wheel.js +1039 -0
- package/dist/components/motion/knockout-wheel.js.map +1 -0
- package/dist/components/motion/morphing-lightbox.d.ts +67 -0
- package/dist/components/motion/morphing-lightbox.d.ts.map +1 -0
- package/dist/components/motion/morphing-lightbox.js +499 -0
- package/dist/components/motion/morphing-lightbox.js.map +1 -0
- package/dist/components/motion/morphing-modal.js.map +1 -1
- package/dist/components/motion/morphing-search.js +1 -1
- package/dist/components/motion/morphing-search.js.map +1 -1
- package/dist/components/motion/morphing-tabs.js +1 -1
- package/dist/components/motion/multi-select/list.js +1 -1
- package/dist/components/motion/multi-select/trigger.js +1 -1
- package/dist/components/motion/notification-stack.js +1 -1
- package/dist/components/motion/overflow-actions.js +1 -1
- package/dist/components/motion/popover-morph.d.ts +5 -1
- package/dist/components/motion/popover-morph.d.ts.map +1 -1
- package/dist/components/motion/popover-morph.js +78 -27
- package/dist/components/motion/popover-morph.js.map +1 -1
- package/dist/components/motion/prediction-market-card.d.ts +37 -0
- package/dist/components/motion/prediction-market-card.d.ts.map +1 -0
- package/dist/components/motion/prediction-market-card.js +216 -0
- package/dist/components/motion/prediction-market-card.js.map +1 -0
- package/dist/components/motion/prediction-market.d.ts +49 -0
- package/dist/components/motion/prediction-market.d.ts.map +1 -0
- package/dist/components/motion/prediction-market.js +440 -0
- package/dist/components/motion/prediction-market.js.map +1 -0
- package/dist/components/motion/project-folder.js +1 -1
- package/dist/components/motion/project-folder.js.map +1 -1
- package/dist/components/motion/select-morph.js +1 -1
- package/dist/components/motion/select.js +1 -1
- package/dist/components/motion/signup-form.js +1 -1
- package/dist/components/motion/sortable-list.d.ts +53 -0
- package/dist/components/motion/sortable-list.d.ts.map +1 -0
- package/dist/components/motion/sortable-list.js +254 -0
- package/dist/components/motion/sortable-list.js.map +1 -0
- package/dist/components/motion/sortable-stack.d.ts +2 -0
- package/dist/components/motion/sortable-stack.js +3 -0
- package/dist/components/motion/swap/controls.d.ts +22 -0
- package/dist/components/motion/swap/controls.d.ts.map +1 -0
- package/dist/components/motion/swap/controls.js +167 -0
- package/dist/components/motion/swap/controls.js.map +1 -0
- package/dist/components/motion/swap/field.d.ts +14 -0
- package/dist/components/motion/swap/field.d.ts.map +1 -0
- package/dist/components/motion/swap/field.js +107 -0
- package/dist/components/motion/swap/field.js.map +1 -0
- package/dist/components/motion/swap/quote-row.d.ts +13 -0
- package/dist/components/motion/swap/quote-row.d.ts.map +1 -0
- package/dist/components/motion/swap/quote-row.js +55 -0
- package/dist/components/motion/swap/quote-row.js.map +1 -0
- package/dist/components/motion/swap/token-badges.d.ts +19 -0
- package/dist/components/motion/swap/token-badges.d.ts.map +1 -0
- package/dist/components/motion/swap/token-badges.js +54 -0
- package/dist/components/motion/swap/token-badges.js.map +1 -0
- package/dist/components/motion/swap/token-picker.d.ts +14 -0
- package/dist/components/motion/swap/token-picker.d.ts.map +1 -0
- package/dist/components/motion/swap/token-picker.js +190 -0
- package/dist/components/motion/swap/token-picker.js.map +1 -0
- package/dist/components/motion/swap.d.ts +14 -0
- package/dist/components/motion/swap.d.ts.map +1 -0
- package/dist/components/motion/swap.js +378 -0
- package/dist/components/motion/swap.js.map +1 -0
- package/dist/components/motion/table/row-handle.js +1 -1
- package/dist/components/motion/table/table-header.js +1 -1
- package/dist/components/motion/tabs.d.ts +5 -9
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/tabs.js +14 -5
- package/dist/components/motion/tabs.js.map +1 -1
- package/dist/components/motion/theme-toggle.js +1 -1
- package/dist/components/motion/tooltip/positioner.d.ts +33 -0
- package/dist/components/motion/tooltip/positioner.d.ts.map +1 -0
- package/dist/components/motion/tooltip/positioner.js +3 -0
- package/dist/components/motion/tooltip-surface.d.ts +5 -4
- package/dist/components/motion/tooltip-surface.d.ts.map +1 -1
- package/dist/components/motion/tooltip-surface.js +22 -73
- package/dist/components/motion/tooltip-surface.js.map +1 -1
- package/dist/components/motion/tooltip.d.ts +3 -1
- package/dist/components/motion/tooltip.d.ts.map +1 -1
- package/dist/components/motion/tooltip.js +54 -103
- package/dist/components/motion/tooltip.js.map +1 -1
- package/dist/components/motion/wallet-card/account-avatar.d.ts +8 -0
- package/dist/components/motion/wallet-card/account-avatar.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/account-avatar.js +3 -0
- package/dist/components/motion/wallet-card/account-switcher.d.ts +14 -0
- package/dist/components/motion/wallet-card/account-switcher.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/account-switcher.js +153 -0
- package/dist/components/motion/wallet-card/account-switcher.js.map +1 -0
- package/dist/components/motion/wallet-card/actions.d.ts +12 -0
- package/dist/components/motion/wallet-card/actions.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/actions.js +58 -0
- package/dist/components/motion/wallet-card/actions.js.map +1 -0
- package/dist/components/motion/wallet-card/balance-delta.d.ts +12 -0
- package/dist/components/motion/wallet-card/balance-delta.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/balance-delta.js +72 -0
- package/dist/components/motion/wallet-card/balance-delta.js.map +1 -0
- package/dist/components/motion/wallet-card/copy-button.d.ts +12 -0
- package/dist/components/motion/wallet-card/copy-button.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/copy-button.js +41 -0
- package/dist/components/motion/wallet-card/copy-button.js.map +1 -0
- package/dist/components/motion/wallet-card/index.d.ts +13 -0
- package/dist/components/motion/wallet-card/index.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/index.js +115 -0
- package/dist/components/motion/wallet-card/index.js.map +1 -0
- package/dist/components/motion/wallet-card/search-bar.d.ts +17 -0
- package/dist/components/motion/wallet-card/search-bar.d.ts.map +1 -0
- package/dist/components/motion/wallet-card/search-bar.js +156 -0
- package/dist/components/motion/wallet-card/search-bar.js.map +1 -0
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/alert.js +1 -1
- package/dist/components/reui/autocomplete.js +1 -1
- package/dist/components/reui/badge.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-async.d.ts +3 -2
- package/dist/components/reui/cascader/cascader-async.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-async.js.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.js +4 -4
- package/dist/components/reui/cascader/cascader-columns.js.map +1 -1
- package/dist/components/reui/cascader/cascader-context.d.ts +12 -4
- package/dist/components/reui/cascader/cascader-context.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-context.js.map +1 -1
- package/dist/components/reui/cascader/cascader-footer.js +1 -1
- package/dist/components/reui/cascader/cascader-i18n.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-item.d.ts +2 -2
- package/dist/components/reui/cascader/cascader-item.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-item.js +23 -17
- package/dist/components/reui/cascader/cascader-item.js.map +1 -1
- package/dist/components/reui/cascader/cascader-lib.d.ts +8 -1
- package/dist/components/reui/cascader/cascader-lib.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-lib.js +19 -11
- package/dist/components/reui/cascader/cascader-lib.js.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.d.ts +1 -1
- package/dist/components/reui/cascader/cascader-nav.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.js +6 -5
- 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.map +1 -1
- package/dist/components/reui/cascader/cascader-virtual.js.map +1 -1
- package/dist/components/reui/cascader/cascader.d.ts +6 -2
- package/dist/components/reui/cascader/cascader.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader.js +59 -21
- package/dist/components/reui/cascader/cascader.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.js +3 -3
- package/dist/components/reui/data-grid/data-grid-column-filter.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-header.js +18 -14
- package/dist/components/reui/data-grid/data-grid-column-header.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-visibility.js +1 -1
- package/dist/components/reui/data-grid/data-grid-column-visibility.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-pagination.js +2 -2
- package/dist/components/reui/data-grid/data-grid-pagination.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-scroll-area.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-scroll-area.js +85 -61
- package/dist/components/reui/data-grid/data-grid-scroll-area.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts +7 -2
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +68 -39
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.d.ts +7 -2
- package/dist/components/reui/data-grid/data-grid-table-dnd.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.js +90 -26
- package/dist/components/reui/data-grid/data-grid-table-dnd.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.js +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.js +157 -38
- package/dist/components/reui/data-grid/data-grid-table.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid.d.ts +16 -0
- package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid.js +81 -51
- package/dist/components/reui/data-grid/data-grid.js.map +1 -1
- package/dist/components/reui/date-selector.js +1 -1
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js +1 -1
- package/dist/components/reui/event-calendar/event-calendar-event.js +1 -1
- package/dist/components/reui/event-calendar/event-calendar-month-view.js +1 -1
- package/dist/components/reui/event-calendar/event-calendar-nav.js +2 -2
- package/dist/components/reui/filters/filters-advanced.js +2 -2
- package/dist/components/reui/filters/filters-advanced.js.map +1 -1
- package/dist/components/reui/filters/filters-builder.d.ts +1 -1
- package/dist/components/reui/filters/filters-builder.js +1 -1
- package/dist/components/reui/filters/filters-chip.js +2 -2
- package/dist/components/reui/filters/filters-editors.js +1 -1
- package/dist/components/reui/filters/filters-lib.d.ts +1 -1
- package/dist/components/reui/filters/filters.js +1 -1
- package/dist/components/reui/frame.js +1 -1
- package/dist/components/reui/gantt/gantt-bar.js +1 -1
- package/dist/components/reui/gantt/gantt-nav.js +2 -2
- package/dist/components/reui/gantt/gantt-view.js +1 -1
- package/dist/components/reui/kanban.d.ts.map +1 -1
- package/dist/components/reui/kanban.js +30 -1
- package/dist/components/reui/kanban.js.map +1 -1
- package/dist/components/reui/number-field.js +1 -1
- package/dist/components/reui/phone-input.js +1 -1
- package/dist/components/reui/rating.js +1 -1
- package/dist/components/reui/signature-pad.d.ts +160 -0
- package/dist/components/reui/signature-pad.d.ts.map +1 -0
- package/dist/components/reui/signature-pad.js +764 -0
- package/dist/components/reui/signature-pad.js.map +1 -0
- package/dist/components/reui/time-picker.d.ts +202 -0
- package/dist/components/reui/time-picker.d.ts.map +1 -0
- package/dist/components/reui/time-picker.js +1002 -0
- package/dist/components/reui/time-picker.js.map +1 -0
- package/dist/components/reui/tree.js +1 -1
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/alert-dialog.js +1 -1
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/attachment.js +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/bubble.js +1 -1
- package/dist/components/ui/button-group.js +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/carousel.js +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/combobox.js +1 -1
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/empty.js +1 -1
- package/dist/components/ui/field.js +1 -1
- package/dist/components/ui/input-group.d.ts +1 -1
- package/dist/components/ui/input-group.js +1 -1
- package/dist/components/ui/input-otp.js +1 -1
- package/dist/components/ui/item.js +1 -1
- package/dist/components/ui/marker.d.ts +1 -1
- package/dist/components/ui/marker.js +1 -1
- package/dist/components/ui/menubar.js +1 -1
- package/dist/components/ui/message-scroller.js +1 -1
- package/dist/components/ui/native-select.js +1 -1
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/questionnaire.js +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/spinner.js +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/toast.js +1 -1
- package/dist/components/ui/toggle.js +1 -1
- package/dist/constants-CsKm9sSk.js +30 -0
- package/dist/constants-CsKm9sSk.js.map +1 -0
- package/dist/context-3_vY1jbv.js +141 -0
- package/dist/context-3_vY1jbv.js.map +1 -0
- package/dist/context-BE60udRT.js +99 -0
- package/dist/context-BE60udRT.js.map +1 -0
- package/dist/context-BYXeJQnz.d.ts +150 -0
- package/dist/context-BYXeJQnz.d.ts.map +1 -0
- package/dist/context-Bc6VC1HA.js +181 -0
- package/dist/context-Bc6VC1HA.js.map +1 -0
- package/dist/context-BqjZ1Z_w.js +111 -0
- package/dist/context-BqjZ1Z_w.js.map +1 -0
- package/dist/context-CZfRKkcZ.js +204 -0
- package/dist/context-CZfRKkcZ.js.map +1 -0
- package/dist/context-Cn-00gfW.js +169 -0
- package/dist/context-Cn-00gfW.js.map +1 -0
- package/dist/context-Cnlo53sV.d.ts +92 -0
- package/dist/context-Cnlo53sV.d.ts.map +1 -0
- package/dist/context-Rl5VCYA8.js +257 -0
- package/dist/context-Rl5VCYA8.js.map +1 -0
- package/dist/context-sD8DQga-.js +122 -0
- package/dist/context-sD8DQga-.js.map +1 -0
- package/dist/{copy-menu-TIKvPaAZ.js → copy-menu-C5GaT4Z-.js} +2 -2
- package/dist/{copy-menu-TIKvPaAZ.js.map → copy-menu-C5GaT4Z-.js.map} +1 -1
- package/dist/ease-B82HVmio.d.ts +50 -0
- package/dist/ease-B82HVmio.d.ts.map +1 -0
- package/dist/hooks/use-modal-scope.d.ts +6 -0
- package/dist/hooks/use-modal-scope.d.ts.map +1 -0
- package/dist/hooks/use-modal-scope.js +83 -0
- package/dist/hooks/use-modal-scope.js.map +1 -0
- package/dist/lib/ease.d.ts +2 -49
- package/dist/model-DfeFradZ.d.ts +9 -0
- package/dist/model-DfeFradZ.d.ts.map +1 -0
- package/dist/model-DlbIqCZg.d.ts +41 -0
- package/dist/model-DlbIqCZg.d.ts.map +1 -0
- package/dist/plot-CdFTbMI_.js +131 -0
- package/dist/plot-CdFTbMI_.js.map +1 -0
- package/dist/positioner-3mCqiebN.js +204 -0
- package/dist/positioner-3mCqiebN.js.map +1 -0
- package/dist/tooltip-BarafYiU.d.ts +67 -0
- package/dist/tooltip-BarafYiU.d.ts.map +1 -0
- package/dist/tooltip-BqxVD6D-.d.ts +64 -0
- package/dist/tooltip-BqxVD6D-.d.ts.map +1 -0
- package/dist/tooltip-C01qUgsW.d.ts +133 -0
- package/dist/tooltip-C01qUgsW.d.ts.map +1 -0
- package/dist/tooltip-C6qUs7px.d.ts +36 -0
- package/dist/tooltip-C6qUs7px.d.ts.map +1 -0
- package/dist/tooltip-DQ4DXgeu.d.ts +94 -0
- package/dist/tooltip-DQ4DXgeu.d.ts.map +1 -0
- package/dist/types-B_6p3LXz.d.ts +36 -0
- package/dist/types-B_6p3LXz.d.ts.map +1 -0
- package/dist/types-D6e3gWOA.d.ts +22 -0
- package/dist/types-D6e3gWOA.d.ts.map +1 -0
- package/dist/use-geometry-CH0foIo7.d.ts +9 -0
- package/dist/use-geometry-CH0foIo7.d.ts.map +1 -0
- package/dist/utils-B3YXTsDI.js +26 -0
- package/dist/utils-B3YXTsDI.js.map +1 -0
- package/package.json +14 -9
- package/dist/cascader-types-BnH6wYD-.d.ts.map +0 -1
- package/dist/lib/ease.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ React UI kit for Kumix products. Built on **Base UI**, **Tailwind CSS**, **class
|
|
|
10
10
|
| `src/components/reui/*` | [ReUI](https://reui.io/) registry (`@reui/*`) | [reui.io/docs](https://reui.io/docs) · [components](https://reui.io/components) |
|
|
11
11
|
| `src/components/motion/*` | [beUI](https://beui.dev/) registry (`@beui/*`, Motion-based) | [beui.dev/components/motion](https://beui.dev/components/motion) |
|
|
12
12
|
| `src/components/agents/*` | [beUI](https://beui.dev/) AI agent components (`@beui/*`) | [beui.dev/components/agents](https://beui.dev/components/agents) |
|
|
13
|
+
| `src/components/charts/*` | Financial & data visualization charts | — |
|
|
13
14
|
| `src/components/custom/*` | Hand-written Kumix-specific components | — |
|
|
14
15
|
| `src/hooks/*` | Package helpers (+ ReUI `use-file-upload`, beUI helpers) | — |
|
|
15
16
|
| `src/lib/*` | Shared utilities (beUI `ease`, `tick-sound`, `text-shimmer`, `favicon`, `presence-gate`, `touch`, `command-search`) | — |
|
|
@@ -30,7 +31,7 @@ This package is a maintained distribution: imports rewritten for monorepo (`@kum
|
|
|
30
31
|
bun add @kumix/ui @kumix/utils
|
|
31
32
|
```
|
|
32
33
|
|
|
33
|
-
Install peers (see `package.json` → `peerDependencies`). Six peers are **always required**: `react`, `@kumix/utils`, `@base-ui/react`, `class-variance-authority`, `lucide-react`, `motion`. The remaining
|
|
34
|
+
Install peers (see `package.json` → `peerDependencies`). Six peers are **always required**: `react`, `@kumix/utils`, `@base-ui/react`, `class-variance-authority`, `lucide-react`, `motion`. The remaining 22 are **optional** via `peerDependenciesMeta` — install only what your imported components need.
|
|
34
35
|
|
|
35
36
|
```bash
|
|
36
37
|
bun add @base-ui/react class-variance-authority lucide-react motion react @kumix/utils
|
|
@@ -54,6 +55,7 @@ bun add @base-ui/react class-variance-authority lucide-react motion react @kumix
|
|
|
54
55
|
| `react-resizable-panels` | resizable |
|
|
55
56
|
| `@headless-tree/core` | tree |
|
|
56
57
|
| `shiki` | `agents/code-block`, `reui/code-block` |
|
|
58
|
+
| `@floating-ui/dom` | `motion/tooltip` |
|
|
57
59
|
|
|
58
60
|
## Import paths
|
|
59
61
|
|
|
@@ -72,6 +74,9 @@ import { DataGrid } from "@kumix/ui/reui/data-grid/data-grid";
|
|
|
72
74
|
import { TiltCard } from "@kumix/ui/motion/tilt-card";
|
|
73
75
|
import { MorphingModal } from "@kumix/ui/motion/morphing-modal";
|
|
74
76
|
|
|
77
|
+
// charts
|
|
78
|
+
import { Treemap } from "@kumix/ui/charts/treemap";
|
|
79
|
+
|
|
75
80
|
// beUI (agents)
|
|
76
81
|
import { PromptInput } from "@kumix/ui/agents/prompt-input";
|
|
77
82
|
|
|
@@ -99,6 +104,7 @@ Mapped from source:
|
|
|
99
104
|
| `src/components/reui/data-grid/data-grid.tsx` | `@kumix/ui/reui/data-grid/data-grid` |
|
|
100
105
|
| `src/components/motion/tilt-card.tsx` | `@kumix/ui/motion/tilt-card` |
|
|
101
106
|
| `src/components/motion/morphing-modal.tsx` | `@kumix/ui/motion/morphing-modal` |
|
|
107
|
+
| `src/components/charts/treemap.tsx` | `@kumix/ui/charts/treemap` |
|
|
102
108
|
| `src/components/agents/prompt-input.tsx` | `@kumix/ui/agents/prompt-input` |
|
|
103
109
|
| `src/components/custom/confirm-dialog.tsx` | `@kumix/ui/custom/confirm-dialog` |
|
|
104
110
|
| `src/hooks/use-mobile.ts` | `@kumix/ui/hooks/use-mobile` |
|
|
@@ -118,31 +124,37 @@ Base UI / shadcn base-nova. Preview: [ui.shadcn.com](https://ui.shadcn.com/docs/
|
|
|
118
124
|
|
|
119
125
|
Extended patterns. Preview: [reui.io](https://reui.io/docs).
|
|
120
126
|
|
|
121
|
-
| Module
|
|
122
|
-
|
|
|
123
|
-
| `alert` · `badge`
|
|
124
|
-
| `autocomplete`
|
|
125
|
-
| `cascader/*`
|
|
126
|
-
| `data-grid/*`
|
|
127
|
-
| `date-selector`
|
|
128
|
-
| `event-calendar/*`
|
|
129
|
-
| `filters/*`
|
|
130
|
-
| `code-block/*`
|
|
131
|
-
| `frame`
|
|
132
|
-
| `gantt/*`
|
|
133
|
-
| `icon-stack` · `icon-tile` · `kanban` · `number-field` · `phone-input` · `rating` · `scrollspy` · `sortable` · `stepper` · `timeline` · `tree` | — |
|
|
127
|
+
| Module | Notes |
|
|
128
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
129
|
+
| `alert` · `badge` | Extended variants (info/success/warning/…) |
|
|
130
|
+
| `autocomplete` | Base UI autocomplete |
|
|
131
|
+
| `cascader/*` | Multi-column cascading select, i18n, async |
|
|
132
|
+
| `data-grid/*` | Spreadsheet cell selection (ranges, clipboard, fill handle, editor), i18n, quick-create row, pagination, filters, DnD, virtual (rows + opt-in columns) |
|
|
133
|
+
| `date-selector` | Day / month / quarter / range |
|
|
134
|
+
| `event-calendar/*` | Month, week, day, agenda, resource |
|
|
135
|
+
| `filters/*` | Advanced filter builder (chip, date, DnD) |
|
|
136
|
+
| `code-block/*` | Shiki syntax highlighting, ANSI, collapsible |
|
|
137
|
+
| `frame` | Nested panel layout |
|
|
138
|
+
| `gantt/*` | Day–year scales, resources, DnD |
|
|
139
|
+
| `icon-stack` · `icon-tile` · `kanban` · `number-field` · `phone-input` · `rating` · `scrollspy` · `signature-pad` · `sortable` · `stepper` · `time-picker` · `timeline` · `tree` | — |
|
|
134
140
|
|
|
135
141
|
### beUI (`components/motion`)
|
|
136
142
|
|
|
137
143
|
Animated components built with [Motion](https://motion.dev). Preview: [beui.dev](https://beui.dev/components/motion). Bundled — `motion`, `lenis`, `@paper-design/shaders-react` are included, no extra installs needed.
|
|
138
144
|
|
|
139
|
-
`action-swap` (4 variants: base, blur, cascade, roll) · `adaptive-stepper` (+ `Liquid` easing backdrop) · `animated-badge` · `animated-number` · `animated-sidebar` · `animated-toast-stack` · `attachment-upload` · `availability-scheduler/*` (copy-menu, day-row, time-select) · `bloom-menu` · `bottom-sheet` · `bounce-sidebar` · `bouncy-accordion` · `button/*` (base, magnetic, metallic, stateful, `ButtonLink`) · `card-folder` · `center-morph-modal` · `checkbox` · `chromatic-text-reveal` · `combobox` + `combobox/*` (trigger, list, content, context) · `command-palette` · `context-menu` · `cylinder-carousel` · `digit-swap` · `dock` · `drawer` · `dynamic-island` · `expandable-action-bar` · `expandable-control` · `expandable-tabs` · `expanding-arrow-button` · `feedback-widget` · `file-tree` · `file-upload` · `hold-action-button` · `infinite-masonry` · `input` (`reserveErrorLine` reserves one validation line) · `liquid` (gooey SVG backdrop: `Liquid`, `LiquidItem`) · `loader` · `magnetic` · `marquee` · `morphing-modal` · `morphing-search` · `morphing-tabs` · `multi-select/*` (composable: trigger, list, content, context — entry `multi-select`) · `not-found/*` (glitch, magnetic, spotlight, stacked, terminal) · `notification-stack` · `number-ticker` · `otp-input` · `overflow-actions` · `parallax` · `popover` · `popover-morph` · `popover-position` (shared popover positioning helper) · `preview-rail` · `project-folder` · `pull-to-refresh` · `radio` · `range-slider` (6 variants) · `scroll-progress` · `scroll-reveal` · `scroll-to` · `select` · `select-morph` · `shader-background` · `shared-layout-bg` · `signup-form` · `slide-action-button` · `smooth-scroll` · `swipeable-list` · `switch` · `table/*` (virtualized, editable, async) · `tabs` · `text-cascade` · `text-reveal` · `text-scramble` · `text-shimmer` · `theme-toggle` · `tilt-card` · `tooltip` (controlled + uncontrolled; `anchorRef`/`anchorPoint` for chart integration) · `tooltip-surface` (shared animated surface) · `wheel-picker`
|
|
145
|
+
`action-swap` (4 variants: base, blur, cascade, roll) · `adaptive-stepper` (+ `Liquid` easing backdrop) · `alert` · `animated-badge` · `animated-number` · `animated-sidebar` · `animated-toast-stack` · `arc-picker` · `aspect-ratio` · `attachment-upload` · `availability-scheduler/*` (copy-menu, day-row, time-select) · `bloom-menu` · `bottom-sheet` · `bounce-sidebar` · `bouncy-accordion` · `breadcrumb` · `button/*` (base, magnetic, metallic, stateful, `ButtonLink`) · `card-folder` · `center-morph-modal` · `checkbox` · `chromatic-text-reveal` · `collapsible` · `color-selector` · `combobox` + `combobox/*` (trigger, list, content, context) · `command-palette` · `context-menu` · `cylinder-carousel` · `date-range-picker/*` · `digit-swap` · `dock` · `drawer` · `dynamic-island` · `expandable-action-bar` · `expandable-control` · `expandable-tabs` · `expanding-arrow-button` · `feedback-widget` · `file-tree` · `file-upload` · `hold-action-button` · `infinite-masonry` · `input` (`reserveErrorLine` reserves one validation line) · `knockout-bracket` · `knockout-wheel` · `liquid` (gooey SVG backdrop: `Liquid`, `LiquidItem`) · `loader` · `magnetic` · `marquee` · `morphing-lightbox` · `morphing-modal` · `morphing-search` · `morphing-tabs` · `multi-select/*` (composable: trigger, list, content, context — entry `multi-select`) · `not-found/*` (glitch, magnetic, spotlight, stacked, terminal) · `notification-stack` · `number-ticker` · `otp-input` · `overflow-actions` · `parallax` · `popover` · `popover-morph` · `popover-position` (shared popover positioning helper) · `prediction-market` · `prediction-market-card` · `preview-rail` · `project-folder` · `pull-to-refresh` · `radio` · `range-slider` (6 variants) · `scroll-progress` · `scroll-reveal` · `scroll-to` · `select` · `select-morph` · `shader-background` · `shared-layout-bg` · `signup-form` · `slide-action-button` · `smooth-scroll` · `sortable-list` · `sortable-stack` · `swap/*` · `swipeable-list` · `switch` · `table/*` (virtualized, editable, async) · `tabs` · `text-cascade` · `text-reveal` · `text-scramble` · `text-shimmer` · `theme-toggle` · `tilt-card` · `tooltip` (controlled + uncontrolled; `followCursor`; `@floating-ui/dom` positioning; `anchorRef`/`anchorPoint` for chart integration) · `tooltip-surface` (shared animated surface) · `wallet-card/*` · `wheel-picker`
|
|
140
146
|
|
|
141
147
|
### beUI — AI Agents (`components/agents`)
|
|
142
148
|
|
|
143
149
|
AI agent / chat UI components from [beUI](https://beui.dev). Preview: [beui.dev/components/agents](https://beui.dev/components/agents).
|
|
144
150
|
|
|
145
|
-
`agent-code` · `agent-disclosure` · `agent-activity/*` (activity-row) · `ai-sidebar` · `approval-card` · `chat-app` · `citations` · `code-block` · `file-diff` · `image-generation` · `loading-states/*` (agent-progress, reasoning-text, thinking-shimmer) · `message` · `message-bubble` · `message-context` · `message-scroller` · `prompt-input` · `streaming-response` · `todo-list` · `tool-approval` · `tool-result`
|
|
151
|
+
`agent-code` · `agent-disclosure` · `agent-activity/*` (activity-row) · `ai-sidebar` · `approval-card` · `chat-app` · `citations` · `code-block` · `file-diff` · `image-generation` · `loading-states/*` (agent-progress, reasoning-text, thinking-shimmer) · `message` · `message-bubble` · `message-context` · `message-scroller` · `prompt-input` · `streaming-response` · `todo-list` · `tool-approval` · `tool-result` · `voice-orb/*`
|
|
152
|
+
|
|
153
|
+
### Charts (`components/charts`)
|
|
154
|
+
|
|
155
|
+
Financial & data visualization charts.
|
|
156
|
+
|
|
157
|
+
`bump-chart/*` · `composition-chart/*` · `funnel-chart/*` · `heat-calendar/*` · `liquidity-heatmap/*` · `order-book/*` · `price-target-fan/*` · `returns-calendar/*` · `status-bar/*` · `treemap/*` · `volume-profile/*`
|
|
146
158
|
|
|
147
159
|
### Custom (`components/custom`)
|
|
148
160
|
|
|
@@ -154,7 +166,7 @@ Hand-written Kumix-specific composite components (not from any registry).
|
|
|
154
166
|
|
|
155
167
|
### Hooks
|
|
156
168
|
|
|
157
|
-
`use-body-classes` · `use-copy-to-clipboard` · `use-dismiss` · `use-favicon` · `use-file-upload` · `use-hover-capable` · `use-hover-gesture` · `use-hydrated` · `use-intersection-observer` · `use-is-mac` · `use-media-query` · `use-meta-color` · `use-mobile` · `use-mutation-observer` · `use-on-open` · `use-row-cursor` · `use-scroll-position` · `use-slider` · `use-slider-input` · `use-tap-gesture` · `use-touch-capable` · `use-viewport`
|
|
169
|
+
`use-body-classes` · `use-copy-to-clipboard` · `use-dismiss` · `use-favicon` · `use-file-upload` · `use-hover-capable` · `use-hover-gesture` · `use-hydrated` · `use-intersection-observer` · `use-is-mac` · `use-media-query` · `use-meta-color` · `use-mobile` · `use-modal-scope` · `use-mutation-observer` · `use-on-open` · `use-row-cursor` · `use-scroll-position` · `use-slider` · `use-slider-input` · `use-tap-gesture` · `use-touch-capable` · `use-viewport`
|
|
158
170
|
|
|
159
171
|
- `useIsMobile` (`use-mobile`) — fixed `768px` breakpoint; used by `sidebar` / `date-selector`. First paint may be `false` until mount.
|
|
160
172
|
- `useMediaQuery` — arbitrary query string; SSR-safe via `useSyncExternalStore` (server snapshot `false`).
|
|
@@ -198,7 +210,7 @@ bun run add:beui:blocks # precomposed layout blocks
|
|
|
198
210
|
node scripts/fix-imports.mjs # REQUIRED after CLI adds
|
|
199
211
|
```
|
|
200
212
|
|
|
201
|
-
`fix-imports.mjs` rewrites `@/lib/utils` → `@kumix/utils`, converts `@/components/*` / `@/hooks/*` / `@/lib/*` to relative paths, handles all registries (`ui`, `reui`, `motion`, `agents`, `custom`), and prepends `"use client"` when missing.
|
|
213
|
+
`fix-imports.mjs` rewrites `@/lib/utils` → `@kumix/utils`, converts `@/components/*` / `@/hooks/*` / `@/lib/*` to relative paths, handles all registries (`ui`, `reui`, `motion`, `agents`, `charts`, `custom`), and prepends `"use client"` when missing.
|
|
202
214
|
|
|
203
215
|
## License
|
|
204
216
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { cn } from "@kumix/utils";
|
|
2
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/motion/wallet-card/utils.ts
|
|
4
|
+
function diceBearGlassUrl(seed) {
|
|
5
|
+
return `https://api.dicebear.com/9.x/glass/svg?seed=${encodeURIComponent(seed)}`;
|
|
6
|
+
}
|
|
7
|
+
function truncateAddress(address) {
|
|
8
|
+
return address.length > 12 ? `${address.slice(0, 6)}…${address.slice(-4)}` : address;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/components/motion/wallet-card/account-avatar.tsx
|
|
12
|
+
function AccountAvatar({ account, className }) {
|
|
13
|
+
if (account.avatar) return /* @__PURE__ */ jsx(Fragment, { children: account.avatar });
|
|
14
|
+
return /* @__PURE__ */ jsx("img", {
|
|
15
|
+
src: diceBearGlassUrl(account.id || account.address),
|
|
16
|
+
alt: account.name,
|
|
17
|
+
className: cn("h-7 w-7 shrink-0 rounded-full bg-muted", className)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { truncateAddress as n, AccountAvatar as t };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=account-avatar-DILzuuvz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-avatar-DILzuuvz.js","names":[],"sources":["../src/components/motion/wallet-card/utils.ts","../src/components/motion/wallet-card/account-avatar.tsx"],"sourcesContent":["export function diceBearGlassUrl(seed: string) {\n return `https://api.dicebear.com/9.x/glass/svg?seed=${encodeURIComponent(seed)}`;\n}\n\nexport function truncateAddress(address: string) {\n return address.length > 12 ? `${address.slice(0, 6)}…${address.slice(-4)}` : address;\n}\n","\"use client\";\n\nimport { cn } from \"@kumix/utils\";\nimport type { WalletAccount } from \"./types\";\nimport { diceBearGlassUrl } from \"./utils\";\n\nexport function AccountAvatar({\n account,\n className,\n}: {\n account: WalletAccount;\n className?: string;\n}) {\n if (account.avatar) return <>{account.avatar}</>;\n return (\n <img\n src={diceBearGlassUrl(account.id || account.address)}\n alt={account.name}\n className={cn(\"h-7 w-7 shrink-0 rounded-full bg-muted\", className)}\n />\n );\n}\n"],"mappings":";;;AAAA,SAAgB,iBAAiB,MAAc;CAC7C,OAAO,+CAA+C,mBAAmB,IAAI;AAC/E;AAEA,SAAgB,gBAAgB,SAAiB;CAC/C,OAAO,QAAQ,SAAS,KAAK,GAAG,QAAQ,MAAM,GAAG,CAAC,EAAE,GAAG,QAAQ,MAAM,EAAE,MAAM;AAC/E;;;ACAA,SAAgB,cAAc,EAC5B,SACA,aAIC;CACD,IAAI,QAAQ,QAAQ,OAAO,oBAAA,UAAA,EAAA,UAAG,QAAQ,OAAS,CAAA;CAC/C,OACE,oBAAC,OAAD;EACE,KAAK,iBAAiB,QAAQ,MAAM,QAAQ,OAAO;EACnD,KAAK,QAAQ;EACb,WAAW,GAAG,0CAA0C,SAAS;CAClE,CAAA;AAEL"}
|
|
@@ -16,6 +16,7 @@ interface CascaderNode<T = unknown> {
|
|
|
16
16
|
hasChildren?: boolean;
|
|
17
17
|
/** Trailing count. Defaults to known children; set it for async nodes. */
|
|
18
18
|
count?: number;
|
|
19
|
+
/** Listed, never selected or opened; on a branch, its whole subtree too. */
|
|
19
20
|
disabled?: boolean;
|
|
20
21
|
keywords?: string[];
|
|
21
22
|
/**
|
|
@@ -44,7 +45,7 @@ interface CascaderActionItem {
|
|
|
44
45
|
}
|
|
45
46
|
/** Panel layout. See the docs for the keyboard map of each. */
|
|
46
47
|
type CascaderMode = "drill" | "columns" | "tree";
|
|
47
|
-
type CascaderSearchScope = "level" | "deep";
|
|
48
|
+
type CascaderSearchScope = "level" | "deep" | "global";
|
|
48
49
|
/**
|
|
49
50
|
* Which nodes may be committed. The predicate arm is generic over the payload
|
|
50
51
|
* rather than quantified per call: a per-call `<T>` would force every predicate
|
|
@@ -128,7 +129,8 @@ interface CascaderLoadResult<T = unknown> {
|
|
|
128
129
|
/** Argument handed to `onSearch`. */
|
|
129
130
|
interface CascaderSearchContext {
|
|
130
131
|
signal: AbortSignal;
|
|
131
|
-
/** The path the user is searching within, deepest last.
|
|
132
|
+
/** The path the user is searching within, deepest last. Empty under a
|
|
133
|
+
* global search, whose scope is the whole tree. */
|
|
132
134
|
path: string[];
|
|
133
135
|
}
|
|
134
136
|
/**
|
|
@@ -137,6 +139,7 @@ interface CascaderSearchContext {
|
|
|
137
139
|
* force this object to carry the item generic. `*Announcement` is live-region.
|
|
138
140
|
*/
|
|
139
141
|
interface CascaderLabels {
|
|
142
|
+
/** `parentLabel` is absent at the root and under a global search. */
|
|
140
143
|
search: string | ((parentLabel?: string) => string);
|
|
141
144
|
back: string;
|
|
142
145
|
/** A level's FIRST page. `loadingMore` is the next, `loadMore` its idle row. */
|
|
@@ -180,4 +183,4 @@ interface CascaderLabels {
|
|
|
180
183
|
}
|
|
181
184
|
//#endregion
|
|
182
185
|
export { CascaderSelectable as _, CascaderFlatNode as a, CascaderLoadContext as c, CascaderLoadState as d, CascaderMode as f, CascaderSearchScope as g, CascaderSearchContext as h, CascaderCollapse as i, CascaderLoadReason as l, CascaderPathSegment as m, CascaderChangeDetails as n, CascaderIndex as o, CascaderNode as p, CascaderChangeReason as r, CascaderLabels as s, CascaderActionItem as t, CascaderLoadResult as u, CascaderValueDisplay as v };
|
|
183
|
-
//# sourceMappingURL=cascader-types-
|
|
186
|
+
//# sourceMappingURL=cascader-types-DVT-znZ-.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cascader-types-DVT-znZ-.d.ts","names":["React"],"sources":["../src/components/reui/cascader/cascader-types.tsx"],"mappings":";;;;;;;UASiB,aAAa;;EAE5B;EACA;EACA,OAAOA,QAAM;EACb;EACA,WAAW,aAAa;;EAExB;;EAEA;;EAEA;EACA;;;;;EAKA;EACA,OAAO;;;;;;UAOQ;;EAEf;EACA,OAAOA,QAAM;EACb,OAAOA,QAAM;EACb;;EAEA;;EAEA,QAAQ;;EAER;;;KAIU;KAEA;;;;;;;KAQA,mBAAmB,kCAAkC,MAAM,aAAa;KAExE;KAEA;KAEA;;UAGK,sBAAsB;;EAErC,MAAM,aAAa;;EAEnB,MAAM,aAAa;EACnB,OAAO,aAAa;EACpB,QAAQ;;;UAIO,cAAc;EAC7B,SAAS,YAAY,aAAa;;EAElC,YAAY,YAAY,aAAa;EACrC,UAAU;;EAEV,SAAS;;EAET,OAAO,aAAa;;EAEpB,KAAK,aAAa;;UAGH,iBAAiB;EAChC,MAAM,aAAa;EACnB;;EAEA;EACA;;EAEA;;EAEA;;;KAIU,oBAAoB;EAC1B;EAAc,MAAM,aAAa;;EACjC;EAAkB,QAAQ,aAAa;;;;;;;;UAQ5B;EACf;EACA;EACA;;EAEA;;;KAIU;;UAGK;;EAEf,QAAQ;EACR;EACA,SAAS;;;UAIM,mBAAmB;EAClC,OAAO,aAAa;EACpB;;EAEA;;;UAIe;EACf,QAAQ;;;EAGR;;;;;;;UAQe;;EAEf,mBAAmB;EACnB;;EAEA;EACA;EACA;EACA;EACA;EACA;;EAEA,gBAAgB;EAChB;EACA;EACA,aAAa;;EAEb;;EAEA;EACA,YAAY;;EAEZ;;EAEA;;EAEA;EACA;EACA;EACA;EACA;;EAEA,eAAe,MAAM,cAAc;EACnC,mBAAmB;EACnB,uBAAuB,eAAe;EACtC,wBAAwB;EACxB,oBAAoB,qBAAqB,eAAe;EACxD,sBAAsB;EACtB,yBAAyB;;EAEzB,sBAAsB,eAAe,eAAe;EACpD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { EASE_OUT, SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
|
-
import { Check, Circle, FileText, Globe2, ImageIcon, MessageSquare, PencilLine, Search, Sparkles, SquareTerminal, Wrench } from "lucide-react";
|
|
5
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
6
|
+
import { Check, Circle, FileText, Globe2, ImageIcon, MessageSquare, PencilLine, Search, Sparkles, SquareTerminal, Wrench } from "lucide-react";
|
|
7
7
|
//#region src/components/agents/agent-activity/activity-row.tsx
|
|
8
8
|
function StepRow({ item }) {
|
|
9
9
|
const state = item.status ?? "complete";
|
|
@@ -5,9 +5,9 @@ import { ActivityRow } from "./activity-row.js";
|
|
|
5
5
|
import { ThinkingShimmer } from "../loading-states/thinking-shimmer.js";
|
|
6
6
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
7
7
|
import { cn } from "@kumix/utils";
|
|
8
|
-
import { ChevronDown } from "lucide-react";
|
|
9
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
10
|
+
import { ChevronDown } from "lucide-react";
|
|
11
11
|
//#region src/components/agents/agent-activity/index.tsx
|
|
12
12
|
function formatDuration(duration) {
|
|
13
13
|
const seconds = Math.max(0, Math.round(duration));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, useEffect, useState } from "react";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { createHighlighter } from "shiki";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/agents/agent-code.tsx
|
|
7
7
|
const LIGHT_THEME = "github-light-high-contrast";
|
|
8
8
|
const DARK_THEME = "github-dark-high-contrast";
|
|
@@ -4,9 +4,9 @@ import { EASE_OUT, SPRING_LAYOUT } from "../../lib/ease.js";
|
|
|
4
4
|
import { MorphPopover, MorphPopoverContent, MorphPopoverTrigger } from "../motion/popover-morph.js";
|
|
5
5
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { ArrowDown, ArrowUp, Bookmark, FileText, Folder, FolderInput, FolderOpen, MoreHorizontal, Pencil, Undo2 } from "lucide-react";
|
|
8
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { ArrowDown, ArrowUp, Bookmark, FileText, Folder, FolderInput, FolderOpen, MoreHorizontal, Pencil, Undo2 } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/ai-sidebar.tsx
|
|
11
11
|
const ROW_REVEAL = {
|
|
12
12
|
duration: .16,
|
|
@@ -9,9 +9,9 @@ import { Input } from "../../motion/input.js";
|
|
|
9
9
|
import { RadioGroup, RadioGroupItem } from "../../motion/radio.js";
|
|
10
10
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
11
11
|
import { cn } from "@kumix/utils";
|
|
12
|
-
import { ArrowLeft, ArrowRight, Check, CircleHelp, LoaderCircle, MessageSquareText, X } from "lucide-react";
|
|
13
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
13
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
14
|
+
import { ArrowLeft, ArrowRight, Check, CircleHelp, LoaderCircle, MessageSquareText, X } from "lucide-react";
|
|
15
15
|
//#region src/components/agents/approval-card/index.tsx
|
|
16
16
|
const EMPTY_ANSWER = {
|
|
17
17
|
selected: [],
|
|
@@ -4,9 +4,9 @@ import { EASE_OUT, SPRING_LAYOUT, SPRING_SWAP } from "../../lib/ease.js";
|
|
|
4
4
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
5
5
|
import { useCallback, useId, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { BookOpenText, ChevronDown, ExternalLink, Globe2 } from "lucide-react";
|
|
8
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { BookOpenText, ChevronDown, ExternalLink, Globe2 } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/citations.tsx
|
|
11
11
|
function citationTargetId(prefix, citationId) {
|
|
12
12
|
return `${prefix}-${citationId.replace(/[^a-zA-Z0-9_-]/g, "-")}`;
|
|
@@ -3,9 +3,9 @@ import { SPRING_PRESS } from "../../lib/ease.js";
|
|
|
3
3
|
import { AgentCodeLine, useAgentCodeTokens } from "./agent-code.js";
|
|
4
4
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
-
import { Check, Copy, FileCode2, LoaderCircle } from "lucide-react";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { motion, useReducedMotion } from "motion/react";
|
|
8
|
+
import { Check, Copy, FileCode2, LoaderCircle } from "lucide-react";
|
|
9
9
|
//#region src/components/agents/code-block.tsx
|
|
10
10
|
function CodeBlock({ code, language = "typescript", filename, status = "complete", showLineNumbers = true, highlightLines = [], maxHeight = 280, wrap = false, copyable = true, onCopy, className }) {
|
|
11
11
|
const reduce = useReducedMotion() ?? false;
|
|
@@ -4,9 +4,9 @@ import { AgentCodeLine, useAgentCodeTokens } from "./agent-code.js";
|
|
|
4
4
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
5
5
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { Check, ChevronDown, Copy, FileCode2, LoaderCircle } from "lucide-react";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { Check, ChevronDown, Copy, FileCode2, LoaderCircle } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/file-diff.tsx
|
|
11
11
|
function ChangeCount({ value, type }) {
|
|
12
12
|
if (!value) return null;
|
|
@@ -3,9 +3,9 @@ import { useHoverCapable } from "../../hooks/use-hover-capable.js";
|
|
|
3
3
|
import { EASE_IN_OUT, EASE_OUT, SPRING_PRESS } from "../../lib/ease.js";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
-
import { Check, CircleAlert, RotateCcw } from "lucide-react";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
8
|
+
import { Check, CircleAlert, RotateCcw } from "lucide-react";
|
|
9
9
|
//#region src/components/agents/image-generation.tsx
|
|
10
10
|
const STATUS_TEXT = {
|
|
11
11
|
queued: "Waiting to generate",
|
|
@@ -3,9 +3,9 @@ import { EASE_OUT, SPRING_LAYOUT, SPRING_SWAP } from "../../lib/ease.js";
|
|
|
3
3
|
import { MessageSideContext } from "./message-context.js";
|
|
4
4
|
import { cloneElement, createContext, useCallback, useContext, useId, useState } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
-
import { ChevronDown } from "lucide-react";
|
|
7
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { motion, useReducedMotion } from "motion/react";
|
|
8
|
+
import { ChevronDown } from "lucide-react";
|
|
9
9
|
//#region src/components/agents/message-bubble.tsx
|
|
10
10
|
const MessageBubbleContext = createContext({
|
|
11
11
|
animateIn: true,
|
|
@@ -6,9 +6,9 @@ import "../motion/button/index.js";
|
|
|
6
6
|
import { Select, SelectContent, SelectItem, SelectTrigger } from "../motion/select.js";
|
|
7
7
|
import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
8
8
|
import { cn } from "@kumix/utils";
|
|
9
|
-
import { ArrowUp, Plus, Square } from "lucide-react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
11
|
+
import { ArrowUp, Plus, Square } from "lucide-react";
|
|
12
12
|
//#region src/components/agents/prompt-input.tsx
|
|
13
13
|
function PromptInput({ value, defaultValue = "", onValueChange, models = [], model, defaultModel, onModelChange, actions = [], onAction, onSubmit, loading = false, onStop, minRows = 2, maxRows = 8, leadingAction, className, disabled, placeholder = "Ask the agent to do something…", "aria-label": ariaLabel = "Prompt", onKeyDown, ...textareaProps }) {
|
|
14
14
|
const reduce = useReducedMotion() ?? false;
|
|
@@ -4,9 +4,9 @@ import { AgentDisclosure } from "./agent-disclosure.js";
|
|
|
4
4
|
import { CitationList, CitationStack } from "./citations.js";
|
|
5
5
|
import { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { Check, ChevronDown, Copy, RotateCcw, ThumbsDown, ThumbsUp } from "lucide-react";
|
|
8
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { Check, ChevronDown, Copy, RotateCcw, ThumbsDown, ThumbsUp } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/streaming-response.tsx
|
|
11
11
|
function ResponseAction({ label, active = false, onClick, children }) {
|
|
12
12
|
const reduce = useReducedMotion() ?? false;
|
|
@@ -4,9 +4,9 @@ import { AgentDisclosure } from "./agent-disclosure.js";
|
|
|
4
4
|
import { ActionSwapRollText } from "../motion/action-swap-roll.js";
|
|
5
5
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { ChevronDown, ListTodo } from "lucide-react";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { ChevronDown, ListTodo } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/todo-list.tsx
|
|
11
11
|
function statusLabel(status) {
|
|
12
12
|
if (status === "in-progress") return "In progress";
|
|
@@ -4,9 +4,9 @@ import { AgentCode } from "./agent-code.js";
|
|
|
4
4
|
import { AgentDisclosure } from "./agent-disclosure.js";
|
|
5
5
|
import { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
6
6
|
import { cn } from "@kumix/utils";
|
|
7
|
-
import { Check, ChevronDown, CircleAlert, LoaderCircle, ShieldCheck, X } from "lucide-react";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
9
|
+
import { Check, ChevronDown, CircleAlert, LoaderCircle, ShieldCheck, X } from "lucide-react";
|
|
10
10
|
//#region src/components/agents/tool-approval.tsx
|
|
11
11
|
function getStatusCopy(status) {
|
|
12
12
|
if (status === "approving") return "Approving";
|
|
@@ -5,9 +5,9 @@ import { AgentDisclosure } from "./agent-disclosure.js";
|
|
|
5
5
|
import { ActionSwapRollText } from "../motion/action-swap-roll.js";
|
|
6
6
|
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
7
7
|
import { cn } from "@kumix/utils";
|
|
8
|
-
import { Ban, Braces, Check, ChevronDown, CircleCheck, CircleX, Copy, LoaderCircle, RotateCcw, SquareTerminal, Wrench } from "lucide-react";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { motion, useReducedMotion } from "motion/react";
|
|
10
|
+
import { Ban, Braces, Check, ChevronDown, CircleCheck, CircleX, Copy, LoaderCircle, RotateCcw, SquareTerminal, Wrench } from "lucide-react";
|
|
11
11
|
//#region src/components/agents/tool-result.tsx
|
|
12
12
|
function getStatusLabel(status) {
|
|
13
13
|
if (status === "running") return "Running";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { MotionValue } from "motion/react";
|
|
3
|
+
//#region src/components/agents/voice-orb.d.ts
|
|
4
|
+
export type VoiceOrbProps = Omit<ComponentProps<"div">, "children" | "onError"> & {
|
|
5
|
+
/** Normalized activity, from 0 to 1. A MotionValue avoids React render loops. */
|
|
6
|
+
activity?: number | MotionValue<number>;
|
|
7
|
+
/** Optional caller-owned audio analyser. The component never requests a microphone. */
|
|
8
|
+
analyser?: AnalyserNode | null;
|
|
9
|
+
/** Base pigment, highlight and shadow, as #RGB or #RRGGBB hex colors. */
|
|
10
|
+
colors?: readonly [string, string, string];
|
|
11
|
+
/** Pause the material while keeping the current surface visible. */
|
|
12
|
+
active?: boolean;
|
|
13
|
+
speed?: number;
|
|
14
|
+
onError?: (error: Error) => void;
|
|
15
|
+
};
|
|
16
|
+
/** A grainy liquid sphere whose surface and silhouette respond to voice activity. */
|
|
17
|
+
export declare function VoiceOrb({ activity, analyser, colors, active, speed, onError, className, style, "aria-label": label, ...props }: VoiceOrbProps): import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
//# sourceMappingURL=voice-orb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-orb.d.ts","names":[],"sources":["../../../src/components/agents/voice-orb.tsx"],"mappings":";;;YAiBY,gBAAgB,KAAK;;EAE/B,oBAAoB;;EAEpB,WAAW;;EAEX;;EAEA;EACA;EACA,WAAW,OAAO;;;wBAOJ,WACd,UACA,UACA,QACA,QACA,OACA,SACA,WACA,qBACc,UACX,SACF,gCAAa,IAAA"}
|