@kumix/ui 0.3.10 → 0.3.12
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 +25 -25
- package/dist/components/agents/agent-activity/activity-row.d.ts +1 -2
- package/dist/components/agents/agent-activity/activity-row.d.ts.map +1 -1
- package/dist/components/agents/agent-activity/activity-row.js +1 -1
- package/dist/components/agents/agent-activity/index.d.ts +2 -2
- package/dist/components/agents/agent-activity/index.d.ts.map +1 -1
- package/dist/components/agents/agent-activity/index.js +1 -1
- package/dist/components/agents/agent-code.d.ts +8 -9
- package/dist/components/agents/agent-code.d.ts.map +1 -1
- package/dist/components/agents/agent-code.js +1 -1
- package/dist/components/agents/agent-disclosure.d.ts +2 -3
- package/dist/components/agents/agent-disclosure.d.ts.map +1 -1
- package/dist/components/agents/ai-sidebar.d.ts +8 -9
- package/dist/components/agents/ai-sidebar.d.ts.map +1 -1
- package/dist/components/agents/ai-sidebar.js +1 -1
- package/dist/components/agents/approval-card/index.d.ts +2 -2
- package/dist/components/agents/approval-card/index.d.ts.map +1 -1
- package/dist/components/agents/approval-card/index.js +1 -1
- package/dist/components/agents/chat-app.d.ts +2 -3
- package/dist/components/agents/chat-app.d.ts.map +1 -1
- package/dist/components/agents/citations.d.ts +10 -11
- package/dist/components/agents/citations.d.ts.map +1 -1
- package/dist/components/agents/citations.js +1 -1
- package/dist/components/agents/code-block.d.ts +3 -4
- package/dist/components/agents/code-block.d.ts.map +1 -1
- package/dist/components/agents/code-block.js +1 -1
- package/dist/components/agents/file-diff.d.ts +5 -6
- package/dist/components/agents/file-diff.d.ts.map +1 -1
- package/dist/components/agents/file-diff.js +1 -1
- package/dist/components/agents/image-generation.d.ts +3 -4
- package/dist/components/agents/image-generation.d.ts.map +1 -1
- package/dist/components/agents/image-generation.js +1 -1
- package/dist/components/agents/loading-states/agent-progress.d.ts +2 -3
- package/dist/components/agents/loading-states/agent-progress.d.ts.map +1 -1
- package/dist/components/agents/loading-states/reasoning-text.d.ts +3 -4
- package/dist/components/agents/loading-states/reasoning-text.d.ts.map +1 -1
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts +2 -3
- package/dist/components/agents/loading-states/thinking-shimmer.d.ts.map +1 -1
- package/dist/components/agents/message-bubble.d.ts +10 -11
- package/dist/components/agents/message-bubble.d.ts.map +1 -1
- package/dist/components/agents/message-bubble.js +1 -1
- package/dist/components/agents/message-context.d.ts +2 -3
- package/dist/components/agents/message-context.d.ts.map +1 -1
- package/dist/components/agents/message-scroller.d.ts +2 -3
- package/dist/components/agents/message-scroller.d.ts.map +1 -1
- package/dist/components/agents/message.d.ts +18 -18
- package/dist/components/agents/message.d.ts.map +1 -1
- package/dist/components/agents/prompt-input.d.ts +4 -5
- package/dist/components/agents/prompt-input.d.ts.map +1 -1
- package/dist/components/agents/prompt-input.js +1 -1
- package/dist/components/agents/streaming-response.d.ts +4 -5
- package/dist/components/agents/streaming-response.d.ts.map +1 -1
- package/dist/components/agents/streaming-response.js +1 -1
- package/dist/components/agents/todo-list.d.ts +4 -5
- package/dist/components/agents/todo-list.d.ts.map +1 -1
- package/dist/components/agents/todo-list.js +1 -1
- package/dist/components/agents/tool-approval.d.ts +6 -7
- package/dist/components/agents/tool-approval.d.ts.map +1 -1
- package/dist/components/agents/tool-approval.js +1 -1
- package/dist/components/agents/tool-result.d.ts +6 -7
- package/dist/components/agents/tool-result.d.ts.map +1 -1
- package/dist/components/agents/tool-result.js +1 -1
- package/dist/components/custom/confirm-dialog.d.ts +2 -3
- package/dist/components/custom/confirm-dialog.d.ts.map +1 -1
- package/dist/components/custom/confirm-dialog.js +1 -1
- package/dist/components/custom/toast.d.ts +6 -7
- package/dist/components/custom/toast.d.ts.map +1 -1
- package/dist/components/motion/action-swap-blur.d.ts +7 -7
- package/dist/components/motion/action-swap-blur.d.ts.map +1 -1
- package/dist/components/motion/action-swap-cascade.d.ts +7 -7
- package/dist/components/motion/action-swap-cascade.d.ts.map +1 -1
- package/dist/components/motion/action-swap-roll.d.ts +7 -7
- package/dist/components/motion/action-swap-roll.d.ts.map +1 -1
- package/dist/components/motion/action-swap.d.ts +10 -11
- package/dist/components/motion/action-swap.d.ts.map +1 -1
- package/dist/components/motion/adaptive-stepper.d.ts +31 -0
- package/dist/components/motion/adaptive-stepper.d.ts.map +1 -0
- package/dist/components/motion/adaptive-stepper.js +302 -0
- package/dist/components/motion/adaptive-stepper.js.map +1 -0
- package/dist/components/motion/animated-badge.d.ts +4 -5
- package/dist/components/motion/animated-badge.d.ts.map +1 -1
- package/dist/components/motion/animated-badge.js +1 -1
- package/dist/components/motion/animated-number.d.ts +2 -3
- package/dist/components/motion/animated-number.d.ts.map +1 -1
- package/dist/components/motion/animated-sidebar.d.ts +28 -29
- package/dist/components/motion/animated-sidebar.d.ts.map +1 -1
- package/dist/components/motion/animated-sidebar.js +1 -1
- package/dist/components/motion/animated-toast-stack.d.ts +10 -11
- package/dist/components/motion/animated-toast-stack.d.ts.map +1 -1
- package/dist/components/motion/animated-toast-stack.js +1 -1
- package/dist/components/motion/attachment-upload.d.ts +7 -8
- package/dist/components/motion/attachment-upload.d.ts.map +1 -1
- package/dist/components/motion/attachment-upload.js +1 -1
- package/dist/components/motion/availability-scheduler/copy-menu.d.ts +1 -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 +1 -2
- package/dist/components/motion/availability-scheduler/day-row.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/day-row.js +2 -2
- package/dist/components/motion/availability-scheduler/icon-button.d.ts +1 -2
- package/dist/components/motion/availability-scheduler/icon-button.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/index.d.ts +3 -3
- package/dist/components/motion/availability-scheduler/index.d.ts.map +1 -1
- package/dist/components/motion/availability-scheduler/index.js +1 -1
- package/dist/components/motion/availability-scheduler/time-select.d.ts +1 -2
- package/dist/components/motion/availability-scheduler/time-select.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.d.ts +2 -3
- package/dist/components/motion/bloom-menu.d.ts.map +1 -1
- package/dist/components/motion/bloom-menu.js +1 -1
- package/dist/components/motion/bottom-sheet.d.ts +2 -3
- package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
- package/dist/components/motion/bounce-sidebar.d.ts +3 -4
- package/dist/components/motion/bounce-sidebar.d.ts.map +1 -1
- package/dist/components/motion/bouncy-accordion.d.ts +4 -5
- package/dist/components/motion/bouncy-accordion.d.ts.map +1 -1
- package/dist/components/motion/bouncy-accordion.js +1 -1
- package/dist/components/motion/button/base.d.ts +6 -7
- package/dist/components/motion/button/base.d.ts.map +1 -1
- package/dist/components/motion/button/magnetic.d.ts +2 -3
- package/dist/components/motion/button/magnetic.d.ts.map +1 -1
- package/dist/components/motion/button/metallic.d.ts +2 -3
- package/dist/components/motion/button/metallic.d.ts.map +1 -1
- package/dist/components/motion/button/stateful.d.ts +3 -4
- package/dist/components/motion/button/stateful.d.ts.map +1 -1
- package/dist/components/motion/button/stateful.js +1 -1
- package/dist/components/motion/center-morph-modal.d.ts +8 -9
- package/dist/components/motion/center-morph-modal.d.ts.map +1 -1
- package/dist/components/motion/center-morph-modal.js +1 -1
- package/dist/components/motion/checkbox.d.ts +2 -3
- package/dist/components/motion/checkbox.d.ts.map +1 -1
- package/dist/components/motion/chromatic-text-reveal.d.ts +2 -3
- package/dist/components/motion/chromatic-text-reveal.d.ts.map +1 -1
- package/dist/components/motion/combobox/content.d.ts +2 -3
- package/dist/components/motion/combobox/content.d.ts.map +1 -1
- package/dist/components/motion/combobox/content.js +1 -1
- package/dist/components/motion/combobox/context.d.ts +9 -10
- package/dist/components/motion/combobox/context.d.ts.map +1 -1
- package/dist/components/motion/combobox/context.js +216 -1
- package/dist/components/motion/combobox/context.js.map +1 -0
- package/dist/components/motion/combobox/list.d.ts +12 -13
- package/dist/components/motion/combobox/list.d.ts.map +1 -1
- package/dist/components/motion/combobox/list.js +2 -2
- package/dist/components/motion/combobox/trigger.d.ts +6 -7
- package/dist/components/motion/combobox/trigger.d.ts.map +1 -1
- package/dist/components/motion/combobox/trigger.js +2 -2
- package/dist/components/motion/combobox.js +1 -1
- package/dist/components/motion/command-palette.d.ts +3 -4
- package/dist/components/motion/command-palette.d.ts.map +1 -1
- package/dist/components/motion/command-palette.js +1 -1
- package/dist/components/motion/context-menu.d.ts +20 -21
- package/dist/components/motion/context-menu.d.ts.map +1 -1
- package/dist/components/motion/context-menu.js +1 -1
- package/dist/components/motion/cylinder-carousel.d.ts +2 -3
- package/dist/components/motion/cylinder-carousel.d.ts.map +1 -1
- package/dist/components/motion/dock.d.ts +5 -6
- package/dist/components/motion/dock.d.ts.map +1 -1
- package/dist/components/motion/drawer.d.ts +2 -3
- package/dist/components/motion/drawer.d.ts.map +1 -1
- package/dist/components/motion/dynamic-island.d.ts +4 -5
- package/dist/components/motion/dynamic-island.d.ts.map +1 -1
- package/dist/components/motion/expandable-action-bar.d.ts +6 -7
- package/dist/components/motion/expandable-action-bar.d.ts.map +1 -1
- package/dist/components/motion/expandable-control.d.ts +4 -5
- package/dist/components/motion/expandable-control.d.ts.map +1 -1
- package/dist/components/motion/expandable-tabs.d.ts +4 -5
- package/dist/components/motion/expandable-tabs.d.ts.map +1 -1
- package/dist/components/motion/expanding-arrow-button.d.ts +2 -3
- package/dist/components/motion/expanding-arrow-button.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.d.ts +3 -4
- package/dist/components/motion/feedback-widget.d.ts.map +1 -1
- package/dist/components/motion/feedback-widget.js +1 -1
- package/dist/components/motion/file-tree.d.ts +7 -8
- package/dist/components/motion/file-tree.d.ts.map +1 -1
- package/dist/components/motion/file-tree.js +1 -1
- package/dist/components/motion/file-upload.d.ts +7 -8
- package/dist/components/motion/file-upload.d.ts.map +1 -1
- package/dist/components/motion/file-upload.js +1 -1
- package/dist/components/motion/hold-action-button.d.ts +2 -3
- package/dist/components/motion/hold-action-button.d.ts.map +1 -1
- package/dist/components/motion/infinite-masonry.d.ts +3 -4
- package/dist/components/motion/infinite-masonry.d.ts.map +1 -1
- package/dist/components/motion/infinite-masonry.js +1 -1
- package/dist/components/motion/input.d.ts +5 -4
- package/dist/components/motion/input.d.ts.map +1 -1
- package/dist/components/motion/input.js +28 -25
- package/dist/components/motion/input.js.map +1 -1
- package/dist/components/motion/liquid.d.ts +29 -0
- package/dist/components/motion/liquid.d.ts.map +1 -0
- package/dist/components/motion/liquid.js +248 -0
- package/dist/components/motion/liquid.js.map +1 -0
- package/dist/components/motion/loader.d.ts +3 -4
- package/dist/components/motion/loader.d.ts.map +1 -1
- package/dist/components/motion/magnetic.d.ts +2 -3
- package/dist/components/motion/magnetic.d.ts.map +1 -1
- package/dist/components/motion/marquee.d.ts +2 -3
- package/dist/components/motion/marquee.d.ts.map +1 -1
- package/dist/components/motion/morphing-modal.d.ts +2 -3
- package/dist/components/motion/morphing-modal.d.ts.map +1 -1
- package/dist/components/motion/morphing-search.d.ts +3 -4
- package/dist/components/motion/morphing-search.d.ts.map +1 -1
- package/dist/components/motion/morphing-search.js +1 -1
- package/dist/components/motion/morphing-tabs.d.ts +4 -5
- package/dist/components/motion/morphing-tabs.d.ts.map +1 -1
- package/dist/components/motion/morphing-tabs.js +1 -1
- package/dist/components/motion/multi-select/content.d.ts +15 -0
- package/dist/components/motion/multi-select/content.d.ts.map +1 -0
- package/dist/components/motion/multi-select/content.js +91 -0
- package/dist/components/motion/multi-select/content.js.map +1 -0
- package/dist/components/motion/multi-select/context.d.ts +63 -0
- package/dist/components/motion/multi-select/context.d.ts.map +1 -0
- package/dist/{context-BizvUNZv.js → components/motion/multi-select/context.js} +44 -114
- package/dist/components/motion/multi-select/context.js.map +1 -0
- package/dist/components/motion/multi-select/index.d.ts +5 -0
- package/dist/components/motion/multi-select/index.js +6 -0
- package/dist/components/motion/multi-select/list.d.ts +39 -0
- package/dist/components/motion/multi-select/list.d.ts.map +1 -0
- package/dist/components/motion/multi-select/list.js +144 -0
- package/dist/components/motion/multi-select/list.js.map +1 -0
- package/dist/components/motion/multi-select/trigger.d.ts +21 -0
- package/dist/components/motion/multi-select/trigger.d.ts.map +1 -0
- package/dist/components/motion/multi-select/trigger.js +185 -0
- package/dist/components/motion/multi-select/trigger.js.map +1 -0
- package/dist/components/motion/not-found/glitch.d.ts +1 -2
- package/dist/components/motion/not-found/glitch.d.ts.map +1 -1
- package/dist/components/motion/not-found/magnetic.d.ts +1 -2
- package/dist/components/motion/not-found/magnetic.d.ts.map +1 -1
- package/dist/components/motion/not-found/shared.d.ts +4 -5
- package/dist/components/motion/not-found/shared.d.ts.map +1 -1
- package/dist/components/motion/not-found/spotlight.d.ts +1 -2
- package/dist/components/motion/not-found/spotlight.d.ts.map +1 -1
- package/dist/components/motion/not-found/stacked.d.ts +1 -2
- package/dist/components/motion/not-found/stacked.d.ts.map +1 -1
- package/dist/components/motion/not-found/terminal.d.ts +1 -2
- package/dist/components/motion/not-found/terminal.d.ts.map +1 -1
- package/dist/components/motion/notification-stack.d.ts +4 -5
- package/dist/components/motion/notification-stack.d.ts.map +1 -1
- package/dist/components/motion/notification-stack.js +1 -1
- package/dist/components/motion/number-ticker.d.ts +2 -3
- package/dist/components/motion/number-ticker.d.ts.map +1 -1
- package/dist/components/motion/otp-input.d.ts +3 -4
- package/dist/components/motion/otp-input.d.ts.map +1 -1
- package/dist/components/motion/overflow-actions.d.ts +5 -6
- package/dist/components/motion/overflow-actions.d.ts.map +1 -1
- package/dist/components/motion/overflow-actions.js +1 -1
- package/dist/components/motion/parallax.d.ts +2 -3
- package/dist/components/motion/parallax.d.ts.map +1 -1
- package/dist/components/motion/popover-morph.d.ts +6 -7
- package/dist/components/motion/popover-morph.d.ts.map +1 -1
- package/dist/components/motion/popover.d.ts +6 -7
- package/dist/components/motion/popover.d.ts.map +1 -1
- package/dist/components/motion/preview-rail.d.ts +3 -4
- package/dist/components/motion/preview-rail.d.ts.map +1 -1
- package/dist/components/motion/project-folder.d.ts +3 -4
- package/dist/components/motion/project-folder.d.ts.map +1 -1
- package/dist/components/motion/project-folder.js +1 -1
- package/dist/components/motion/pull-to-refresh.d.ts +3 -4
- package/dist/components/motion/pull-to-refresh.d.ts.map +1 -1
- package/dist/components/motion/radio.d.ts +4 -5
- package/dist/components/motion/radio.d.ts.map +1 -1
- package/dist/components/motion/range-slider-bubble.d.ts +2 -3
- package/dist/components/motion/range-slider-bubble.d.ts.map +1 -1
- package/dist/components/motion/range-slider-fluid.d.ts +2 -3
- package/dist/components/motion/range-slider-fluid.d.ts.map +1 -1
- package/dist/components/motion/range-slider-ruler.d.ts +2 -3
- package/dist/components/motion/range-slider-ruler.d.ts.map +1 -1
- package/dist/components/motion/range-slider-wave.d.ts +2 -3
- package/dist/components/motion/range-slider-wave.d.ts.map +1 -1
- package/dist/components/motion/range-slider.d.ts +2 -3
- package/dist/components/motion/range-slider.d.ts.map +1 -1
- package/dist/components/motion/scroll-progress.d.ts +4 -5
- package/dist/components/motion/scroll-progress.d.ts.map +1 -1
- package/dist/components/motion/scroll-reveal.d.ts +2 -3
- package/dist/components/motion/scroll-reveal.d.ts.map +1 -1
- package/dist/components/motion/scroll-to.d.ts +2 -3
- package/dist/components/motion/scroll-to.d.ts.map +1 -1
- package/dist/components/motion/select-morph.d.ts +10 -11
- package/dist/components/motion/select-morph.d.ts.map +1 -1
- package/dist/components/motion/select-morph.js +1 -1
- package/dist/components/motion/select.d.ts +10 -11
- package/dist/components/motion/select.d.ts.map +1 -1
- package/dist/components/motion/select.js +1 -1
- package/dist/components/motion/shader-background.d.ts +4 -5
- package/dist/components/motion/shader-background.d.ts.map +1 -1
- package/dist/components/motion/shared-layout-bg.d.ts +2 -3
- package/dist/components/motion/shared-layout-bg.d.ts.map +1 -1
- package/dist/components/motion/signup-form.d.ts +7 -8
- package/dist/components/motion/signup-form.d.ts.map +1 -1
- package/dist/components/motion/signup-form.js +7 -3
- package/dist/components/motion/signup-form.js.map +1 -1
- package/dist/components/motion/slide-action-button.d.ts +2 -3
- package/dist/components/motion/slide-action-button.d.ts.map +1 -1
- package/dist/components/motion/smooth-scroll.d.ts +6 -7
- package/dist/components/motion/smooth-scroll.d.ts.map +1 -1
- package/dist/components/motion/swipeable-list.d.ts +8 -9
- package/dist/components/motion/swipeable-list.d.ts.map +1 -1
- package/dist/components/motion/switch.d.ts +2 -3
- package/dist/components/motion/switch.d.ts.map +1 -1
- package/dist/components/motion/table/editable-cell.d.ts +1 -2
- package/dist/components/motion/table/editable-cell.d.ts.map +1 -1
- package/dist/components/motion/table/index.d.ts +2 -2
- package/dist/components/motion/table/index.d.ts.map +1 -1
- package/dist/components/motion/table/index.js.map +1 -1
- package/dist/components/motion/table/row-handle.d.ts +1 -2
- package/dist/components/motion/table/row-handle.d.ts.map +1 -1
- package/dist/components/motion/table/row-handle.js +1 -1
- package/dist/components/motion/table/skeleton-rows.d.ts +1 -2
- package/dist/components/motion/table/skeleton-rows.d.ts.map +1 -1
- package/dist/components/motion/table/table-header.d.ts +2 -3
- package/dist/components/motion/table/table-header.d.ts.map +1 -1
- package/dist/components/motion/table/table-header.js +1 -1
- package/dist/components/motion/table/table-menu.d.ts +2 -3
- package/dist/components/motion/table/table-menu.d.ts.map +1 -1
- package/dist/components/motion/tabs.d.ts +4 -5
- package/dist/components/motion/tabs.d.ts.map +1 -1
- package/dist/components/motion/text-cascade.d.ts +2 -3
- package/dist/components/motion/text-cascade.d.ts.map +1 -1
- package/dist/components/motion/text-reveal.d.ts +2 -3
- package/dist/components/motion/text-reveal.d.ts.map +1 -1
- package/dist/components/motion/text-scramble.d.ts +2 -3
- package/dist/components/motion/text-scramble.d.ts.map +1 -1
- package/dist/components/motion/text-shimmer.d.ts +2 -3
- package/dist/components/motion/text-shimmer.d.ts.map +1 -1
- package/dist/components/motion/theme-toggle.d.ts +5 -6
- package/dist/components/motion/theme-toggle.d.ts.map +1 -1
- package/dist/components/motion/theme-toggle.js +1 -1
- package/dist/components/motion/tilt-card.d.ts +2 -3
- package/dist/components/motion/tilt-card.d.ts.map +1 -1
- package/dist/components/motion/tooltip.d.ts +2 -3
- package/dist/components/motion/tooltip.d.ts.map +1 -1
- package/dist/components/motion/wheel-picker.d.ts +3 -4
- package/dist/components/motion/wheel-picker.d.ts.map +1 -1
- package/dist/components/reui/alert.d.ts +1 -1
- package/dist/components/reui/alert.js +1 -1
- package/dist/components/reui/autocomplete.d.ts +3 -3
- package/dist/components/reui/autocomplete.d.ts.map +1 -1
- package/dist/components/reui/autocomplete.js +1 -1
- package/dist/components/reui/badge.d.ts +2 -2
- package/dist/components/reui/cascader/cascader-async.d.ts +8 -9
- 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.d.ts +3 -3
- package/dist/components/reui/cascader/cascader-columns.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-columns.js +1 -1
- package/dist/components/reui/cascader/cascader-context.d.ts +13 -13
- package/dist/components/reui/cascader/cascader-context.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-footer.d.ts +8 -8
- package/dist/components/reui/cascader/cascader-footer.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-footer.js +1 -1
- package/dist/components/reui/cascader/cascader-i18n.d.ts +3 -4
- package/dist/components/reui/cascader/cascader-i18n.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-item.d.ts +9 -9
- package/dist/components/reui/cascader/cascader-item.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-item.js +1 -1
- package/dist/components/reui/cascader/cascader-lib.d.ts +38 -39
- package/dist/components/reui/cascader/cascader-lib.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.d.ts +6 -6
- package/dist/components/reui/cascader/cascader-nav.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader-nav.js +1 -1
- package/dist/components/reui/cascader/cascader-virtual.d.ts +6 -6
- 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 +19 -19
- package/dist/components/reui/cascader/cascader.d.ts.map +1 -1
- package/dist/components/reui/cascader/cascader.js +1 -1
- package/dist/components/reui/cascader/cascader.js.map +1 -1
- package/dist/components/reui/code-block/code-block-highlight.d.ts +32 -33
- package/dist/components/reui/code-block/code-block-highlight.d.ts.map +1 -1
- package/dist/components/reui/code-block/code-block.d.ts +7 -7
- package/dist/components/reui/code-block/code-block.d.ts.map +1 -1
- package/dist/components/reui/code-block/code-block.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-cell-selection.d.ts +117 -0
- package/dist/components/reui/data-grid/data-grid-cell-selection.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-cell-selection.js +1554 -0
- package/dist/components/reui/data-grid/data-grid-cell-selection.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-column-filter.js +7 -5
- 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 +19 -13
- 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 +3 -2
- package/dist/components/reui/data-grid/data-grid-column-visibility.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-i18n.d.ts +2 -0
- package/dist/components/reui/data-grid/data-grid-i18n.js +53 -0
- package/dist/components/reui/data-grid/data-grid-i18n.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-pagination.js +15 -9
- 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 +3 -3
- 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.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +7 -5
- 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.js +3 -3
- package/dist/components/reui/data-grid/data-grid-table-dnd.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts +17 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table-virtual.js +146 -50
- 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 +23 -4
- package/dist/components/reui/data-grid/data-grid-table.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid-table.js +215 -68
- package/dist/components/reui/data-grid/data-grid-table.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid.d.ts +288 -18
- package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -1
- package/dist/components/reui/data-grid/data-grid.js +150 -15
- package/dist/components/reui/data-grid/data-grid.js.map +1 -1
- package/dist/components/reui/date-selector.d.ts +11 -12
- package/dist/components/reui/date-selector.d.ts.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 +1 -1
- package/dist/components/reui/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/components/reui/event-calendar/event-calendar.js.map +1 -1
- package/dist/components/reui/filters/filters-advanced.d.ts +6 -7
- package/dist/components/reui/filters/filters-advanced.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-advanced.js +1 -1
- 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 +2 -2
- package/dist/components/reui/filters/filters-chip.d.ts +10 -11
- package/dist/components/reui/filters/filters-chip.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-chip.js +1 -1
- package/dist/components/reui/filters/filters-chip.js.map +1 -1
- package/dist/components/reui/filters/filters-context.d.ts +30 -30
- package/dist/components/reui/filters/filters-context.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-date.d.ts +13 -14
- package/dist/components/reui/filters/filters-date.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-dnd.d.ts +15 -16
- package/dist/components/reui/filters/filters-dnd.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-editors.d.ts +14 -14
- package/dist/components/reui/filters/filters-editors.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-editors.js +2 -2
- package/dist/components/reui/filters/filters-i18n.d.ts +4 -5
- package/dist/components/reui/filters/filters-i18n.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-lib.d.ts +34 -35
- package/dist/components/reui/filters/filters-lib.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-operators.d.ts +13 -14
- package/dist/components/reui/filters/filters-operators.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-query.d.ts +29 -30
- package/dist/components/reui/filters/filters-query.d.ts.map +1 -1
- package/dist/components/reui/filters/filters-types.d.ts +31 -32
- package/dist/components/reui/filters/filters-types.d.ts.map +1 -1
- package/dist/components/reui/filters/filters.d.ts +5 -5
- package/dist/components/reui/filters/filters.d.ts.map +1 -1
- package/dist/components/reui/filters/filters.js +1 -1
- package/dist/components/reui/filters/filters.js.map +1 -1
- package/dist/components/reui/frame.d.ts +1 -1
- package/dist/components/reui/frame.js +1 -1
- package/dist/components/reui/gantt/gantt-bar.js +1 -1
- package/dist/components/reui/gantt/gantt-nav.js +1 -1
- package/dist/components/reui/gantt/gantt-view.js +1 -1
- package/dist/components/reui/gantt/gantt.d.ts.map +1 -1
- package/dist/components/reui/gantt/gantt.js.map +1 -1
- package/dist/components/reui/icon-tile.d.ts +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/number-field.d.ts +3 -3
- package/dist/components/reui/number-field.js +1 -1
- package/dist/components/reui/phone-input.js +1 -1
- package/dist/components/reui/rating.d.ts +1 -1
- package/dist/components/reui/rating.js +1 -1
- package/dist/components/reui/scrollspy.d.ts +1 -2
- package/dist/components/reui/scrollspy.d.ts.map +1 -1
- package/dist/components/reui/sortable.d.ts +6 -6
- package/dist/components/reui/sortable.d.ts.map +1 -1
- 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.d.ts +1 -1
- package/dist/components/ui/attachment.js +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/bubble.d.ts +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 +2 -2
- 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/chart.d.ts +2 -2
- package/dist/components/ui/chart.d.ts.map +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.d.ts +2 -2
- package/dist/components/ui/item.js +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 +2 -2
- package/dist/components/ui/message-scroller.js.map +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.d.ts +2 -2
- 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.d.ts +2 -2
- package/dist/components/ui/toggle.js +1 -1
- package/dist/{copy-menu-C5GaT4Z-.js → copy-menu-TIKvPaAZ.js} +2 -2
- package/dist/{copy-menu-C5GaT4Z-.js.map → copy-menu-TIKvPaAZ.js.map} +1 -1
- package/dist/data-grid-i18n-TQR2PZlU.d.ts +54 -0
- package/dist/data-grid-i18n-TQR2PZlU.d.ts.map +1 -0
- package/dist/hooks/use-body-classes.d.ts +1 -2
- package/dist/hooks/use-body-classes.d.ts.map +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -2
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -1
- package/dist/hooks/use-dismiss.d.ts +3 -4
- package/dist/hooks/use-dismiss.d.ts.map +1 -1
- package/dist/hooks/use-favicon.d.ts +1 -2
- package/dist/hooks/use-favicon.d.ts.map +1 -1
- package/dist/hooks/use-file-upload.d.ts +7 -8
- package/dist/hooks/use-file-upload.d.ts.map +1 -1
- package/dist/hooks/use-hover-capable.d.ts +1 -2
- package/dist/hooks/use-hover-capable.d.ts.map +1 -1
- package/dist/hooks/use-hover-gesture.d.ts +2 -3
- package/dist/hooks/use-hover-gesture.d.ts.map +1 -1
- package/dist/hooks/use-hydrated.d.ts +1 -2
- package/dist/hooks/use-hydrated.d.ts.map +1 -1
- package/dist/hooks/use-intersection-observer.d.ts +1 -2
- package/dist/hooks/use-intersection-observer.d.ts.map +1 -1
- package/dist/hooks/use-is-mac.d.ts +1 -2
- package/dist/hooks/use-is-mac.d.ts.map +1 -1
- package/dist/hooks/use-media-query.d.ts +1 -2
- package/dist/hooks/use-media-query.d.ts.map +1 -1
- package/dist/hooks/use-meta-color.d.ts +1 -2
- package/dist/hooks/use-meta-color.d.ts.map +1 -1
- package/dist/hooks/use-mobile.d.ts +1 -2
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/hooks/use-mutation-observer.d.ts +1 -2
- package/dist/hooks/use-mutation-observer.d.ts.map +1 -1
- package/dist/hooks/use-on-open.d.ts +1 -2
- package/dist/hooks/use-on-open.d.ts.map +1 -1
- package/dist/hooks/use-row-cursor.d.ts +1 -2
- package/dist/hooks/use-row-cursor.d.ts.map +1 -1
- package/dist/hooks/use-scroll-position.d.ts +1 -2
- package/dist/hooks/use-scroll-position.d.ts.map +1 -1
- package/dist/hooks/use-slider-input.d.ts +1 -2
- package/dist/hooks/use-slider-input.d.ts.map +1 -1
- package/dist/hooks/use-slider.d.ts +3 -4
- package/dist/hooks/use-slider.d.ts.map +1 -1
- package/dist/hooks/use-tap-gesture.d.ts +3 -4
- package/dist/hooks/use-tap-gesture.d.ts.map +1 -1
- package/dist/hooks/use-touch-capable.d.ts +1 -2
- package/dist/hooks/use-touch-capable.d.ts.map +1 -1
- package/dist/hooks/use-viewport.d.ts +1 -2
- package/dist/hooks/use-viewport.d.ts.map +1 -1
- package/dist/lib/ease.d.ts +10 -11
- package/dist/lib/ease.d.ts.map +1 -1
- package/dist/lib/favicon.d.ts +1 -2
- package/dist/lib/favicon.d.ts.map +1 -1
- package/dist/lib/text-shimmer.d.ts +3 -4
- package/dist/lib/text-shimmer.d.ts.map +1 -1
- package/dist/lib/tick-sound.d.ts +1 -2
- package/dist/lib/tick-sound.d.ts.map +1 -1
- package/dist/lib/touch.d.ts +6 -7
- package/dist/lib/touch.d.ts.map +1 -1
- package/dist/use-active-option-CmX6Z-4S.js +86 -0
- package/dist/use-active-option-CmX6Z-4S.js.map +1 -0
- package/package.json +6 -6
- package/dist/context-BizvUNZv.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.d.ts","names":[],"sources":["../../../src/components/motion/context-menu.tsx"],"mappings":";;KAqCK,sBAAsB,MAAM,eAAe;EAC9C,MAAM,IAAI;;
|
|
1
|
+
{"version":3,"file":"context-menu.d.ts","names":[],"sources":["../../../src/components/motion/context-menu.tsx"],"mappings":";;KAqCK,sBAAsB,MAAM,eAAe;EAC9C,MAAM,IAAI;;iBA0DK;EACf,UAAU;EACV;EACA;EACA,gBAAgB;EAChB;;wBAGc,cACd,UACA,MAAM,gBACN,aACA,cACA,aACC,mCAAgB,IAAA;iBA4EF;EACf,UAAU,aAAa;EACvB;EACA;;wBAGc,qBACd,UACA,UACA,aACC,0BAAuB,aAAA,8CAAA;iBAoHT;EACf,UAAU;EACV;EACA;;wBAGc,qBACd,UACA,WACA,aACC,0CAAuB;KAkMrB;iBAEY;EACf,UAAU;EACV;EACA;EACA;EACA,OAAO;EACP;EACA;EACA;;wBAmEc,gBAAgB,OAAO,uCAAoB,IAAA;iBAI1C,qCAAqC,KAAK;EACzD;EACA,mBAAmB;;wBAGL,0BACd,SACA,iBACA,aACG,SACF,+CAA4B,IAAA;iBAoCd;EACf;EACA,iBAAiB;EACjB,UAAU;EACV;;wBAGc,wBACd,OACA,eACA,UACA,aACC,6CAA0B,IAAA;iBASZ,kCAAkC,KAAK;EACtD;;wBAGc,uBAAuB,OAAO,aAAa,SAAS,4CAAyB,IAAA;iBA0B5E;EACf,UAAU;EACV;EACA;;wBAGc,mBAAmB,UAAU,OAAe,aAAa,wCAAqB,IAAA;iBAc7E;EACf;;wBAGc,uBAAuB,aAAa,4CAAyB,IAAA;iBAI5D;EACf,UAAU;EACV;;wBAGc,sBAAsB,UAAU,aAAa,2CAAwB,IAAA"}
|
|
@@ -3,9 +3,9 @@ import { TOUCH_GESTURE_CONTENT_CLASS, holdSelection } from "../../lib/touch.js";
|
|
|
3
3
|
import { EASE_OUT, SPRING_LAYOUT, SPRING_PANEL } from "../../lib/ease.js";
|
|
4
4
|
import { cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
+
import { Check } from "lucide-react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
8
|
-
import { Check } from "lucide-react";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
//#region src/components/motion/context-menu.tsx
|
|
11
11
|
const VIEWPORT_PADDING = 8;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/cylinder-carousel.d.ts
|
|
3
|
-
interface CylinderCarouselProps {
|
|
3
|
+
export interface CylinderCarouselProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** Max item box size in px (square) at full size, i.e. at the container
|
|
6
6
|
* edge. Balls shrink below this automatically so the row keeps breathing
|
|
@@ -34,7 +34,6 @@ interface CylinderCarouselProps {
|
|
|
34
34
|
height?: number;
|
|
35
35
|
className?: string;
|
|
36
36
|
}
|
|
37
|
-
declare function CylinderCarousel({ children, itemSize, visibleItems, variant, minScale, dragSpeed, arc: arcProp, snap, autoRotate, autoRotateSpeed, defaultIndex, onIndexChange, height, className }: CylinderCarouselProps): import("react").JSX.Element;
|
|
37
|
+
export declare function CylinderCarousel({ children, itemSize, visibleItems, variant, minScale, dragSpeed, arc: arcProp, snap, autoRotate, autoRotateSpeed, defaultIndex, onIndexChange, height, className }: CylinderCarouselProps): import("react").JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
|
-
export { CylinderCarousel, CylinderCarouselProps };
|
|
40
39
|
//# sourceMappingURL=cylinder-carousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cylinder-carousel.d.ts","names":[],"sources":["../../../src/components/motion/cylinder-carousel.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"cylinder-carousel.d.ts","names":[],"sources":["../../../src/components/motion/cylinder-carousel.tsx"],"mappings":";;iBAiCiB;EACf,UAAU;;;;EAIV;;EAEA;;;;EAIA;;;EAGA;;;EAGA;;;;EAIA;;EAEA;;EAEA;;EAEA;EACA;EACA,iBAAiB;;EAEjB;EACA;;wBA4Gc,mBACd,UACA,UACA,cACA,SACA,UACA,WACA,KAAK,SACL,MACA,YACA,iBACA,cACA,eACA,QACA,aACC,wCAAqB,IAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/dock.d.ts
|
|
3
|
-
interface DockProps {
|
|
3
|
+
export interface DockProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
/** Size of each item in px. */
|
|
7
7
|
size?: number;
|
|
8
8
|
}
|
|
9
|
-
declare function Dock({ children, size, className }: DockProps): import("react").JSX.Element;
|
|
10
|
-
interface DockItemProps {
|
|
9
|
+
export declare function Dock({ children, size, className }: DockProps): import("react").JSX.Element;
|
|
10
|
+
export interface DockItemProps {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
/** When set, the item renders as a <button>. Omit when children carry their own link or button. */
|
|
@@ -15,10 +15,9 @@ interface DockItemProps {
|
|
|
15
15
|
active?: boolean;
|
|
16
16
|
"aria-label"?: string;
|
|
17
17
|
}
|
|
18
|
-
declare function DockItem({ children, className, onClick, active, ...rest }: DockItemProps): import("react").JSX.Element;
|
|
19
|
-
declare function DockSeparator({ className }: {
|
|
18
|
+
export declare function DockItem({ children, className, onClick, active, ...rest }: DockItemProps): import("react").JSX.Element;
|
|
19
|
+
export declare function DockSeparator({ className }: {
|
|
20
20
|
className?: string;
|
|
21
21
|
}): import("react").JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Dock, DockItem, DockItemProps, DockProps, DockSeparator };
|
|
24
23
|
//# sourceMappingURL=dock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dock.d.ts","names":[],"sources":["../../../src/components/motion/dock.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dock.d.ts","names":[],"sources":["../../../src/components/motion/dock.tsx"],"mappings":";;iBAeiB;EACf,UAAU;EACV;;EAEA;;wBAGc,OAAO,UAAU,MAAW,aAAa,4BAAS,IAAA;iBAkBjD;EACf,UAAU;EACV;;EAEA;EACA;EACA;;wBAGc,WAAW,UAAU,WAAW,SAAS,WAAW,QAAQ,gCAAa,IAAA;wBAgDzE,gBAAgB;EAAe;oBAAoB,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/drawer.d.ts
|
|
3
|
-
interface DrawerProps {
|
|
3
|
+
export interface DrawerProps {
|
|
4
4
|
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
6
6
|
side?: "left" | "right";
|
|
@@ -13,7 +13,6 @@ interface DrawerProps {
|
|
|
13
13
|
/** Close when the backdrop is clicked. Default true. */
|
|
14
14
|
dismissable?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare function Drawer({ open, onOpenChange, side, children, className, backdropClassName, ariaLabel, dismissable }: DrawerProps): import("react").JSX.Element;
|
|
16
|
+
export declare function Drawer({ open, onOpenChange, side, children, className, backdropClassName, ariaLabel, dismissable }: DrawerProps): import("react").JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { Drawer, DrawerProps };
|
|
19
18
|
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","names":[],"sources":["../../../src/components/motion/drawer.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","names":[],"sources":["../../../src/components/motion/drawer.tsx"],"mappings":";;iBASiB;EACf;EACA,eAAe;EACf;EACA,UAAU;;EAEV;;EAEA;EACA;;EAEA;;wBAGc,SACd,MACA,cACA,MACA,UACA,WACA,mBACA,WACA,eACC,8BAAW,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/dynamic-island.d.ts
|
|
3
|
-
interface DynamicIslandProps {
|
|
3
|
+
export interface DynamicIslandProps {
|
|
4
4
|
/** Active view id. `null` shows the compact pill. */
|
|
5
5
|
view: string | null;
|
|
6
6
|
/** Compact pill content, shown when no view is active. */
|
|
@@ -9,14 +9,13 @@ interface DynamicIslandProps {
|
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
declare function DynamicIsland({ view, compact, children, className }: DynamicIslandProps): import("react").JSX.Element;
|
|
13
|
-
interface DynamicIslandViewProps {
|
|
12
|
+
export declare function DynamicIsland({ view, compact, children, className }: DynamicIslandProps): import("react").JSX.Element;
|
|
13
|
+
export interface DynamicIslandViewProps {
|
|
14
14
|
/** Matches the parent `view` prop when active. */
|
|
15
15
|
id: string;
|
|
16
16
|
children: ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
declare function DynamicIslandView({ id, children, className }: DynamicIslandViewProps): import("react").JSX.Element;
|
|
19
|
+
export declare function DynamicIslandView({ id, children, className }: DynamicIslandViewProps): import("react").JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
|
-
export { DynamicIsland, DynamicIslandProps, DynamicIslandView, DynamicIslandViewProps };
|
|
22
21
|
//# sourceMappingURL=dynamic-island.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-island.d.ts","names":[],"sources":["../../../src/components/motion/dynamic-island.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dynamic-island.d.ts","names":[],"sources":["../../../src/components/motion/dynamic-island.tsx"],"mappings":";;iBAiIiB;;EAEf;;EAEA,UAAU;;EAEV,WAAW;EACX;;wBAGc,gBAAgB,MAAM,SAAS,UAAU,aAAa,qCAAkB,IAAA;iBAiDvE;;EAEf;EACA,UAAU;EACV;;wBAGc,oBAAoB,IAAI,UAAU,aAAa,yCAAsB,IAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/expandable-action-bar.d.ts
|
|
3
|
-
type ExpandableActionBarSize = "sm" | "md";
|
|
4
|
-
type ExpandableActionBarItem = {
|
|
3
|
+
export type ExpandableActionBarSize = "sm" | "md";
|
|
4
|
+
export type ExpandableActionBarItem = {
|
|
5
5
|
id: string;
|
|
6
6
|
label: ReactNode;
|
|
7
7
|
icon: ReactNode;
|
|
@@ -11,7 +11,7 @@ type ExpandableActionBarItem = {
|
|
|
11
11
|
badge?: ReactNode;
|
|
12
12
|
shortcut?: ReactNode;
|
|
13
13
|
};
|
|
14
|
-
type ExpandableActionBarClassNames = {
|
|
14
|
+
export type ExpandableActionBarClassNames = {
|
|
15
15
|
root?: string;
|
|
16
16
|
track?: string;
|
|
17
17
|
item?: string;
|
|
@@ -21,7 +21,7 @@ type ExpandableActionBarClassNames = {
|
|
|
21
21
|
badge?: string;
|
|
22
22
|
shortcut?: string;
|
|
23
23
|
};
|
|
24
|
-
interface ExpandableActionBarProps {
|
|
24
|
+
export interface ExpandableActionBarProps {
|
|
25
25
|
items: ExpandableActionBarItem[];
|
|
26
26
|
expanded?: boolean;
|
|
27
27
|
defaultExpanded?: boolean;
|
|
@@ -45,8 +45,8 @@ interface ExpandableActionBarProps {
|
|
|
45
45
|
active: boolean;
|
|
46
46
|
}) => ReactNode;
|
|
47
47
|
}
|
|
48
|
-
declare function ExpandableActionBar({ items, expanded, defaultExpanded, onExpandedChange, activeId, onAction, size, expandOnHover, expandOnFocus, collapseDelay, className, classNames, renderItem }: ExpandableActionBarProps): import("react").JSX.Element;
|
|
49
|
-
declare function useExpandableActionBar(items: ExpandableActionBarItem[]): {
|
|
48
|
+
export declare function ExpandableActionBar({ items, expanded, defaultExpanded, onExpandedChange, activeId, onAction, size, expandOnHover, expandOnFocus, collapseDelay, className, classNames, renderItem }: ExpandableActionBarProps): import("react").JSX.Element;
|
|
49
|
+
export declare function useExpandableActionBar(items: ExpandableActionBarItem[]): {
|
|
50
50
|
expanded: boolean;
|
|
51
51
|
setExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
52
52
|
activeId: string;
|
|
@@ -54,5 +54,4 @@ declare function useExpandableActionBar(items: ExpandableActionBarItem[]): {
|
|
|
54
54
|
activeItem: ExpandableActionBarItem | undefined;
|
|
55
55
|
};
|
|
56
56
|
//#endregion
|
|
57
|
-
export { ExpandableActionBar, ExpandableActionBarClassNames, ExpandableActionBarItem, ExpandableActionBarProps, ExpandableActionBarSize, useExpandableActionBar };
|
|
58
57
|
//# sourceMappingURL=expandable-action-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandable-action-bar.d.ts","names":[],"sources":["../../../src/components/motion/expandable-action-bar.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"expandable-action-bar.d.ts","names":[],"sources":["../../../src/components/motion/expandable-action-bar.tsx"],"mappings":";;YAqBY;YAEA;EACV;EACA,OAAO;EACP,MAAM;EACN;EACA;EACA;EACA,QAAQ;EACR,WAAW;;YAGD;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf,OAAO;EACP;EACA;EACA,oBAAoB;EACpB;EACA,YAAY,MAAM;EAClB,OAAO;;;;;;;EAOP;EACA;EACA;EACA;EACA,aAAa;EACb,cACE,MAAM,yBACN;IAAS;IAAmB;QACzB;;wBAwDS,sBACd,OACA,UACA,iBACA,kBACA,UACA,UACA,MACA,eACA,eACA,eACA,WACA,YACA,cACC,2CAAwB,IAAA;wBAyQX,uBAAuB,OAAO;;;;;cAAA"}
|
|
@@ -6,11 +6,11 @@ type ExpandableStateProps = {
|
|
|
6
6
|
defaultExpanded?: boolean;
|
|
7
7
|
onExpandedChange?: (expanded: boolean) => void;
|
|
8
8
|
};
|
|
9
|
-
interface ExpandableButtonProps extends Omit<HTMLMotionProps<"button">, "children">, ExpandableStateProps {
|
|
9
|
+
export interface ExpandableButtonProps extends Omit<HTMLMotionProps<"button">, "children">, ExpandableStateProps {
|
|
10
10
|
icon: ReactNode;
|
|
11
11
|
label: ReactNode;
|
|
12
12
|
}
|
|
13
|
-
interface ExpandableChipProps extends ExpandableStateProps {
|
|
13
|
+
export interface ExpandableChipProps extends ExpandableStateProps {
|
|
14
14
|
label: ReactNode;
|
|
15
15
|
actionIcon: ReactNode;
|
|
16
16
|
actionLabel: string;
|
|
@@ -21,8 +21,7 @@ interface ExpandableChipProps extends ExpandableStateProps {
|
|
|
21
21
|
labelClassName?: string;
|
|
22
22
|
actionClassName?: string;
|
|
23
23
|
}
|
|
24
|
-
declare function ExpandableButton({ icon, label, expanded, defaultExpanded, onExpandedChange, className, onClick, disabled, type, "aria-label": ariaLabel, ...props }: ExpandableButtonProps): import("react").JSX.Element;
|
|
25
|
-
declare function ExpandableChip({ label, actionIcon, actionLabel, onAction, collapseOnAction, expanded, defaultExpanded, onExpandedChange, disabled, className, labelClassName, actionClassName }: ExpandableChipProps): import("react").JSX.Element;
|
|
24
|
+
export declare function ExpandableButton({ icon, label, expanded, defaultExpanded, onExpandedChange, className, onClick, disabled, type, "aria-label": ariaLabel, ...props }: ExpandableButtonProps): import("react").JSX.Element;
|
|
25
|
+
export declare function ExpandableChip({ label, actionIcon, actionLabel, onAction, collapseOnAction, expanded, defaultExpanded, onExpandedChange, disabled, className, labelClassName, actionClassName }: ExpandableChipProps): import("react").JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
|
-
export { ExpandableButton, ExpandableButtonProps, ExpandableChip, ExpandableChipProps };
|
|
28
27
|
//# sourceMappingURL=expandable-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandable-control.d.ts","names":[],"sources":["../../../src/components/motion/expandable-control.tsx"],"mappings":";;;KA6BK;EACH;EACA;EACA,oBAAoB;;
|
|
1
|
+
{"version":3,"file":"expandable-control.d.ts","names":[],"sources":["../../../src/components/motion/expandable-control.tsx"],"mappings":";;;KA6BK;EACH;EACA;EACA,oBAAoB;;iBAGL,8BACP,KAAK,wCACX;EACF,MAAM;EACN,OAAO;;iBAGQ,4BAA4B;EAC3C,OAAO;EACP,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;;wBAyBc,mBACd,MACA,OACA,UACA,iBACA,kBACA,WACA,SACA,UACA,oBACc,cACX,SACF,wCAAqB,IAAA;wBAiER,iBACd,OACA,YACA,aACA,UACA,kBACA,UACA,iBACA,kBACA,UACA,WACA,gBACA,mBACC,sCAAmB,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/expandable-tabs.d.ts
|
|
3
|
-
type ExpandableTabsItem = {
|
|
3
|
+
export type ExpandableTabsItem = {
|
|
4
4
|
id: string;
|
|
5
5
|
/** String label — shown inside the active tab and used as the button's accessible name. */
|
|
6
6
|
label: string;
|
|
@@ -8,7 +8,7 @@ type ExpandableTabsItem = {
|
|
|
8
8
|
/** Panel shown above the bar when this tab is active. */
|
|
9
9
|
content: ReactNode;
|
|
10
10
|
};
|
|
11
|
-
type ExpandableTabsClassNames = {
|
|
11
|
+
export type ExpandableTabsClassNames = {
|
|
12
12
|
root?: string;
|
|
13
13
|
panel?: string;
|
|
14
14
|
bar?: string;
|
|
@@ -18,7 +18,7 @@ type ExpandableTabsClassNames = {
|
|
|
18
18
|
label?: string;
|
|
19
19
|
pill?: string;
|
|
20
20
|
};
|
|
21
|
-
interface ExpandableTabsProps {
|
|
21
|
+
export interface ExpandableTabsProps {
|
|
22
22
|
items: ExpandableTabsItem[];
|
|
23
23
|
/** Active tab id, or null/undefined for the closed (bar-only) state. */
|
|
24
24
|
value?: string | null;
|
|
@@ -27,7 +27,6 @@ interface ExpandableTabsProps {
|
|
|
27
27
|
className?: string;
|
|
28
28
|
classNames?: ExpandableTabsClassNames;
|
|
29
29
|
}
|
|
30
|
-
declare function ExpandableTabs({ items, value, defaultValue, onValueChange, className, classNames }: ExpandableTabsProps): import("react").JSX.Element;
|
|
30
|
+
export declare function ExpandableTabs({ items, value, defaultValue, onValueChange, className, classNames }: ExpandableTabsProps): import("react").JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { ExpandableTabs, ExpandableTabsClassNames, ExpandableTabsItem, ExpandableTabsProps };
|
|
33
32
|
//# sourceMappingURL=expandable-tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expandable-tabs.d.ts","names":[],"sources":["../../../src/components/motion/expandable-tabs.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"expandable-tabs.d.ts","names":[],"sources":["../../../src/components/motion/expandable-tabs.tsx"],"mappings":";;YAQY;EACV;;EAEA;EACA,MAAM;;EAEN,SAAS;;YAGC;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf,OAAO;;EAEP;EACA;EACA,iBAAiB;EACjB;EACA,aAAa;;wBAqJC,iBACd,OACA,OACA,cACA,eACA,WACA,cACC,sCAAmB,IAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { HTMLMotionProps } from "motion/react";
|
|
3
3
|
//#region src/components/motion/expanding-arrow-button.d.ts
|
|
4
|
-
interface ExpandingArrowButtonProps extends Omit<HTMLMotionProps<"button">, "children"> {
|
|
4
|
+
export interface ExpandingArrowButtonProps extends Omit<HTMLMotionProps<"button">, "children"> {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
accentClassName?: string;
|
|
7
7
|
labelClassName?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const ExpandingArrowButton: import("react").ForwardRefExoticComponent<Omit<ExpandingArrowButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export declare const ExpandingArrowButton: import("react").ForwardRefExoticComponent<Omit<ExpandingArrowButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { ExpandingArrowButton, ExpandingArrowButtonProps };
|
|
12
11
|
//# sourceMappingURL=expanding-arrow-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expanding-arrow-button.d.ts","names":[],"sources":["../../../src/components/motion/expanding-arrow-button.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"expanding-arrow-button.d.ts","names":[],"sources":["../../../src/components/motion/expanding-arrow-button.tsx"],"mappings":";;;iBASiB,kCAAkC,KAAK;EACtD,UAAU;EACV;EACA;;qBAiBW,sCAAoB,0BAAA,KAAA,oDAAA,cAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/feedback-widget.d.ts
|
|
3
|
-
interface FeedbackData {
|
|
3
|
+
export interface FeedbackData {
|
|
4
4
|
message: string;
|
|
5
5
|
}
|
|
6
|
-
interface FeedbackWidgetProps {
|
|
6
|
+
export interface FeedbackWidgetProps {
|
|
7
7
|
/** Called on submit. May be async; the button shows a sending state until it resolves. */
|
|
8
8
|
onSubmit?: (data: FeedbackData) => void | Promise<void>;
|
|
9
9
|
position?: "bottom-right" | "bottom-left";
|
|
@@ -12,7 +12,6 @@ interface FeedbackWidgetProps {
|
|
|
12
12
|
icon?: ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function FeedbackWidget({ onSubmit, position, title, placeholder, icon, className }: FeedbackWidgetProps): import("react").JSX.Element;
|
|
15
|
+
export declare function FeedbackWidget({ onSubmit, position, title, placeholder, icon, className }: FeedbackWidgetProps): import("react").JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
|
-
export { FeedbackData, FeedbackWidget, FeedbackWidgetProps };
|
|
18
17
|
//# sourceMappingURL=feedback-widget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback-widget.d.ts","names":[],"sources":["../../../src/components/motion/feedback-widget.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"feedback-widget.d.ts","names":[],"sources":["../../../src/components/motion/feedback-widget.tsx"],"mappings":";;iBAmCiB;EACf;;iBAGe;;EAEf,YAAY,MAAM,wBAAwB;EAC1C;EACA;EACA;EACA,OAAO;EACP;;wBAGc,iBACd,UACA,UACA,OACA,aACA,MACA,aACC,sCAAmB,IAAA"}
|
|
@@ -5,9 +5,9 @@ import { StatefulButton } from "./button/stateful.js";
|
|
|
5
5
|
import "./button/index.js";
|
|
6
6
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
7
7
|
import { cn } from "@kumix/utils";
|
|
8
|
+
import { AlertCircle, MessageSquare, X } from "lucide-react";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
10
|
-
import { AlertCircle, MessageSquare, X } from "lucide-react";
|
|
11
11
|
//#region src/components/motion/feedback-widget.tsx
|
|
12
12
|
const SUCCESS_DURATION_MS = 1600;
|
|
13
13
|
const MORPH_OPEN_EASE = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/file-tree.d.ts
|
|
3
|
-
interface FileTreeFolderProps {
|
|
3
|
+
export interface FileTreeFolderProps {
|
|
4
4
|
value: string;
|
|
5
5
|
name: string;
|
|
6
6
|
icon?: ReactNode;
|
|
@@ -8,20 +8,20 @@ interface FileTreeFolderProps {
|
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
interface FileTreeFileProps {
|
|
11
|
+
export interface FileTreeFileProps {
|
|
12
12
|
value: string;
|
|
13
13
|
name: string;
|
|
14
14
|
icon?: ReactNode;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
|
-
type FileTreeClassNames = {
|
|
18
|
+
export type FileTreeClassNames = {
|
|
19
19
|
tree?: string;
|
|
20
20
|
item?: string;
|
|
21
21
|
icon?: string;
|
|
22
22
|
label?: string;
|
|
23
23
|
};
|
|
24
|
-
interface FileTreeProps {
|
|
24
|
+
export interface FileTreeProps {
|
|
25
25
|
children: ReactNode;
|
|
26
26
|
value?: string | null;
|
|
27
27
|
defaultValue?: string | null;
|
|
@@ -34,9 +34,8 @@ interface FileTreeProps {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
classNames?: FileTreeClassNames;
|
|
36
36
|
}
|
|
37
|
-
declare function FileTreeFolder(_props: FileTreeFolderProps): null;
|
|
38
|
-
declare function FileTreeFile(_props: FileTreeFileProps): null;
|
|
39
|
-
declare function FileTree({ children, value, defaultValue, onValueChange, expandedIds, defaultExpandedIds, onExpandedChange, ariaLabel, indent, className, classNames }: FileTreeProps): import("react").JSX.Element;
|
|
37
|
+
export declare function FileTreeFolder(_props: FileTreeFolderProps): null;
|
|
38
|
+
export declare function FileTreeFile(_props: FileTreeFileProps): null;
|
|
39
|
+
export declare function FileTree({ children, value, defaultValue, onValueChange, expandedIds, defaultExpandedIds, onExpandedChange, ariaLabel, indent, className, classNames }: FileTreeProps): import("react").JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
|
-
export { FileTree, FileTreeClassNames, FileTreeFile, FileTreeFileProps, FileTreeFolder, FileTreeFolderProps, FileTreeProps };
|
|
42
41
|
//# sourceMappingURL=file-tree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-tree.d.ts","names":[],"sources":["../../../src/components/motion/file-tree.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"file-tree.d.ts","names":[],"sources":["../../../src/components/motion/file-tree.tsx"],"mappings":";;iBA8BiB;EACf;EACA;EACA,OAAO;EACP;EACA,WAAW;EACX;;iBAGe;EACf;EACA;EACA,OAAO;EACP;EACA;;YAGU;EACV;EACA;EACA;EACA;;iBAGe;EACf,UAAU;EACV;EACA;EACA,iBAAiB;EACjB;EACA;EACA,oBAAoB;EACpB;EACA;EACA;EACA,aAAa;;wBAaC,eAAe,QAAQ;wBAIvB,aAAa,QAAQ;wBAsGrB,WACd,UACA,OACA,cACA,eACA,aACA,oBACA,kBACA,WACA,QACA,WACA,cACC,gCAAa,IAAA"}
|
|
@@ -3,9 +3,9 @@ import { EASE_OUT, SPRING_LAYOUT, SPRING_SWAP } from "../../lib/ease.js";
|
|
|
3
3
|
import { SharedLayoutBg } from "./shared-layout-bg.js";
|
|
4
4
|
import { Children, Fragment, isValidElement, useCallback, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
+
import { ChevronRight, File, Folder, FolderOpen } from "lucide-react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
8
|
-
import { ChevronRight, File, Folder, FolderOpen } from "lucide-react";
|
|
9
9
|
//#region src/components/motion/file-tree.tsx
|
|
10
10
|
function FileTreeFolder(_props) {
|
|
11
11
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/components/motion/file-upload.d.ts
|
|
2
|
-
type FileUploadStatus = "queued" | "uploading" | "success" | "error";
|
|
3
|
-
type FileUploadVariant = "default" | "centered";
|
|
4
|
-
type FileUploadItem = {
|
|
2
|
+
export type FileUploadStatus = "queued" | "uploading" | "success" | "error";
|
|
3
|
+
export type FileUploadVariant = "default" | "centered";
|
|
4
|
+
export type FileUploadItem = {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
size: number;
|
|
@@ -11,7 +11,7 @@ type FileUploadItem = {
|
|
|
11
11
|
error?: string;
|
|
12
12
|
file?: File;
|
|
13
13
|
};
|
|
14
|
-
type FileUploadClassNames = {
|
|
14
|
+
export type FileUploadClassNames = {
|
|
15
15
|
root?: string;
|
|
16
16
|
dropzone?: string;
|
|
17
17
|
queue?: string;
|
|
@@ -23,7 +23,7 @@ type FileUploadClassNames = {
|
|
|
23
23
|
progress?: string;
|
|
24
24
|
action?: string;
|
|
25
25
|
};
|
|
26
|
-
interface FileUploadProps {
|
|
26
|
+
export interface FileUploadProps {
|
|
27
27
|
value?: FileUploadItem[];
|
|
28
28
|
defaultValue?: FileUploadItem[];
|
|
29
29
|
onValueChange?: (items: FileUploadItem[]) => void;
|
|
@@ -41,8 +41,7 @@ interface FileUploadProps {
|
|
|
41
41
|
className?: string;
|
|
42
42
|
classNames?: FileUploadClassNames;
|
|
43
43
|
}
|
|
44
|
-
declare function createFileUploadItem(file: File, index?: number): FileUploadItem;
|
|
45
|
-
declare function FileUpload({ value, defaultValue, onValueChange, onFilesAdded, onRemove, onRetry, accept, multiple, maxFiles, disabled, variant, title, description, browseLabel, className, classNames }: FileUploadProps): import("react").JSX.Element;
|
|
44
|
+
export declare function createFileUploadItem(file: File, index?: number): FileUploadItem;
|
|
45
|
+
export declare function FileUpload({ value, defaultValue, onValueChange, onFilesAdded, onRemove, onRetry, accept, multiple, maxFiles, disabled, variant, title, description, browseLabel, className, classNames }: FileUploadProps): import("react").JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { FileUpload, FileUploadClassNames, FileUploadItem, FileUploadProps, FileUploadStatus, FileUploadVariant, createFileUploadItem };
|
|
48
47
|
//# sourceMappingURL=file-upload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.d.ts","names":[],"sources":["../../../src/components/motion/file-upload.tsx"],"mappings":";
|
|
1
|
+
{"version":3,"file":"file-upload.d.ts","names":[],"sources":["../../../src/components/motion/file-upload.tsx"],"mappings":";YAwBY;YACA;YAEA;EACV;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;EACA,OAAO;;YAGG;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf,QAAQ;EACR,eAAe;EACf,iBAAiB,OAAO;EACxB,gBAAgB,OAAO,kBAAkB,OAAO;EAChD,YAAY,MAAM;EAClB,WAAW,MAAM;EACjB;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;EACA,aAAa;;wBAgHC,qBAAqB,MAAM,MAAM,iBAAY;wBA0J7C,aACd,OACA,cACA,eACA,cACA,UACA,SACA,QACA,UACA,UACA,UACA,SACA,OACA,aACA,aACA,WACA,cACC,kCAAe,IAAA"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { EASE_OUT } from "../../lib/ease.js";
|
|
3
3
|
import { useCallback, useId, useRef, useState } from "react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
|
+
import { AlertCircle, CheckCircle2, FileArchive, FileAudio, FileCode2, FileIcon, FileImage, FileSpreadsheet, FileText, FileVideo, Loader2, RotateCcw, UploadCloud, X } from "lucide-react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
7
|
-
import { AlertCircle, CheckCircle2, FileArchive, FileAudio, FileCode2, FileIcon, FileImage, FileSpreadsheet, FileText, FileVideo, Loader2, RotateCcw, UploadCloud, X } from "lucide-react";
|
|
8
8
|
//#region src/components/motion/file-upload.tsx
|
|
9
9
|
const ROW_TRANSITION = {
|
|
10
10
|
duration: .22,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { HTMLMotionProps } from "motion/react";
|
|
3
3
|
//#region src/components/motion/hold-action-button.d.ts
|
|
4
|
-
interface HoldActionButtonProps extends Omit<HTMLMotionProps<"button">, "children" | "type" | "onClick" | "onPointerDown" | "onPointerUp" | "onPointerCancel" | "onPointerLeave" | "onPointerMove" | "onKeyDown" | "onKeyUp"> {
|
|
4
|
+
export interface HoldActionButtonProps extends Omit<HTMLMotionProps<"button">, "children" | "type" | "onClick" | "onPointerDown" | "onPointerUp" | "onPointerCancel" | "onPointerLeave" | "onPointerMove" | "onKeyDown" | "onKeyUp"> {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
type?: "vertical" | "horizontal";
|
|
7
7
|
holdingLabel?: ReactNode;
|
|
@@ -11,7 +11,6 @@ interface HoldActionButtonProps extends Omit<HTMLMotionProps<"button">, "childre
|
|
|
11
11
|
fillClassName?: string;
|
|
12
12
|
labelClassName?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const HoldActionButton: import("react").ForwardRefExoticComponent<Omit<HoldActionButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
export declare const HoldActionButton: import("react").ForwardRefExoticComponent<Omit<HoldActionButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { HoldActionButton, HoldActionButtonProps };
|
|
17
16
|
//# sourceMappingURL=hold-action-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hold-action-button.d.ts","names":[],"sources":["../../../src/components/motion/hold-action-button.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"hold-action-button.d.ts","names":[],"sources":["../../../src/components/motion/hold-action-button.tsx"],"mappings":";;;iBAgBiB,8BACP,KACN;EAYF,UAAU;EACV;EACA,eAAe;EACf,gBAAgB;EAChB;EACA;EACA;EACA;;qBAGW,kCAAgB,0BAAA,KAAA,gDAAA,cAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/infinite-masonry.d.ts
|
|
3
|
-
type InfiniteMasonryKey = string | number | bigint;
|
|
4
|
-
interface InfiniteMasonryProps<T> {
|
|
3
|
+
export type InfiniteMasonryKey = string | number | bigint;
|
|
4
|
+
export interface InfiniteMasonryProps<T> {
|
|
5
5
|
items: readonly T[];
|
|
6
6
|
getItemKey: (item: T, index: number) => InfiniteMasonryKey;
|
|
7
7
|
renderItem: (item: T, index: number) => ReactNode;
|
|
@@ -25,7 +25,6 @@ interface InfiniteMasonryProps<T> {
|
|
|
25
25
|
contentClassName?: string;
|
|
26
26
|
itemClassName?: string;
|
|
27
27
|
}
|
|
28
|
-
declare function InfiniteMasonry<T>({ items, getItemKey, renderItem, onLoadMore, hasMore, loading, error, onRetry, estimateSize, renderLoadingItem, emptyState, endState, minColumnWidth, maxColumns, gap, overscan, prefetch, animateItems, ariaLabel, className, contentClassName, itemClassName }: InfiniteMasonryProps<T>): import("react").JSX.Element;
|
|
28
|
+
export declare function InfiniteMasonry<T>({ items, getItemKey, renderItem, onLoadMore, hasMore, loading, error, onRetry, estimateSize, renderLoadingItem, emptyState, endState, minColumnWidth, maxColumns, gap, overscan, prefetch, animateItems, ariaLabel, className, contentClassName, itemClassName }: InfiniteMasonryProps<T>): import("react").JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { InfiniteMasonry, InfiniteMasonryKey, InfiniteMasonryProps };
|
|
31
30
|
//# sourceMappingURL=infinite-masonry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infinite-masonry.d.ts","names":[],"sources":["../../../src/components/motion/infinite-masonry.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"infinite-masonry.d.ts","names":[],"sources":["../../../src/components/motion/infinite-masonry.tsx"],"mappings":";;YAUY;iBAEK,qBAAqB;EACpC,gBAAgB;EAChB,aAAa,MAAM,GAAG,kBAAkB;EACxC,aAAa,MAAM,GAAG,kBAAkB;EACxC,yBAAyB;EACzB;EACA;EACA,QAAQ;EACR;EACA,gBAAgB,MAAM,GAAG;EACzB,qBAAqB,kBAAkB;EACvC,aAAa;EACb,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAiHc,gBAAgB,KAC9B,OACA,YACA,YACA,YACA,SACA,SACA,OACA,SACA,cACA,mBACA,YACA,UACA,gBACA,YACA,KACA,UACA,UACA,cACA,WACA,WACA,kBACA,iBACC,qBAAqB,qBAAE,IAAA"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { EASE_OUT, SPRING_PANEL } from "../../lib/ease.js";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
|
+
import { AlertCircle, Inbox } from "lucide-react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { motion, useReducedMotion } from "motion/react";
|
|
7
|
-
import { AlertCircle, Inbox } from "lucide-react";
|
|
8
8
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
9
9
|
//#region src/components/motion/infinite-masonry.tsx
|
|
10
10
|
function useMasonryMetrics({ elementRef, gap, maxColumns, minColumnWidth }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputHTMLAttributes, ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/input.d.ts
|
|
3
|
-
type InputClassNames = {
|
|
3
|
+
export type InputClassNames = {
|
|
4
4
|
root?: string;
|
|
5
5
|
label?: string;
|
|
6
6
|
field?: string;
|
|
@@ -10,20 +10,21 @@ type InputClassNames = {
|
|
|
10
10
|
successIcon?: string;
|
|
11
11
|
errorMessage?: string;
|
|
12
12
|
};
|
|
13
|
-
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange"> {
|
|
13
|
+
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange"> {
|
|
14
14
|
label?: string;
|
|
15
15
|
value?: string;
|
|
16
16
|
defaultValue?: string;
|
|
17
17
|
onChange?: (value: string) => void;
|
|
18
18
|
/** Truthy error triggers a shake, red border and (if a string) a message. */
|
|
19
19
|
error?: string | boolean;
|
|
20
|
+
/** Reserve one message line so validation does not shift nearby content. */
|
|
21
|
+
reserveErrorLine?: boolean;
|
|
20
22
|
success?: boolean;
|
|
21
23
|
leftIcon?: ReactNode;
|
|
22
24
|
rightIcon?: ReactNode;
|
|
23
25
|
className?: string;
|
|
24
26
|
classNames?: InputClassNames;
|
|
25
27
|
}
|
|
26
|
-
declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
28
|
+
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
27
29
|
//#endregion
|
|
28
|
-
export { Input, InputClassNames, InputProps };
|
|
29
30
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","names":[],"sources":["../../../src/components/motion/input.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"input.d.ts","names":[],"sources":["../../../src/components/motion/input.tsx"],"mappings":";;YAeY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe,mBACP,KAAK,oBAAoB;EACjC;EACA;EACA;EACA,YAAY;;EAEZ;;EAEA;EACA;EACA,WAAW;EACX,YAAY;EACZ;EACA,aAAa;;qBAGF,uBAAK,0BAAA,6BAAA,cAAA"}
|
|
@@ -4,7 +4,7 @@ import { cn } from "@kumix/utils";
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { AnimatePresence, animate, motion, useReducedMotion } from "motion/react";
|
|
6
6
|
//#region src/components/motion/input.tsx
|
|
7
|
-
const Input = forwardRef(function Input({ label, value: valueProp, defaultValue, onChange, onFocus, onBlur, error, success, leftIcon, rightIcon, className, classNames, disabled, id: idProp, type, ...rest }, ref) {
|
|
7
|
+
const Input = forwardRef(function Input({ label, value: valueProp, defaultValue, onChange, onFocus, onBlur, error, reserveErrorLine = false, success, leftIcon, rightIcon, className, classNames, disabled, id: idProp, type, ...rest }, ref) {
|
|
8
8
|
const reactId = useId();
|
|
9
9
|
const id = idProp ?? reactId;
|
|
10
10
|
const reduce = useReducedMotion();
|
|
@@ -92,30 +92,33 @@ const Input = forwardRef(function Input({ label, value: valueProp, defaultValue,
|
|
|
92
92
|
}) : null
|
|
93
93
|
]
|
|
94
94
|
}),
|
|
95
|
-
/* @__PURE__ */ jsx(
|
|
96
|
-
|
|
97
|
-
children:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
95
|
+
/* @__PURE__ */ jsx("div", {
|
|
96
|
+
className: reserveErrorLine ? "min-h-4" : "contents",
|
|
97
|
+
children: /* @__PURE__ */ jsx(AnimatePresence, {
|
|
98
|
+
initial: false,
|
|
99
|
+
children: errorMessage ? /* @__PURE__ */ jsx(motion.p, {
|
|
100
|
+
id: `${id}-error`,
|
|
101
|
+
role: "alert",
|
|
102
|
+
initial: reduce ? { opacity: 0 } : {
|
|
103
|
+
opacity: 0,
|
|
104
|
+
y: -4,
|
|
105
|
+
filter: "blur(4px)"
|
|
106
|
+
},
|
|
107
|
+
animate: {
|
|
108
|
+
opacity: 1,
|
|
109
|
+
y: 0,
|
|
110
|
+
filter: "blur(0px)"
|
|
111
|
+
},
|
|
112
|
+
exit: reduce ? { opacity: 0 } : {
|
|
113
|
+
opacity: 0,
|
|
114
|
+
y: -4,
|
|
115
|
+
filter: "blur(4px)"
|
|
116
|
+
},
|
|
117
|
+
transition: { duration: .2 },
|
|
118
|
+
className: cn("px-1 text-destructive text-xs", classNames?.errorMessage),
|
|
119
|
+
children: errorMessage
|
|
120
|
+
}) : null
|
|
121
|
+
})
|
|
119
122
|
})
|
|
120
123
|
]
|
|
121
124
|
});
|