@kumix/ui 0.3.11 → 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 +12 -12
- 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 +7 -8
- package/dist/components/motion/adaptive-stepper.d.ts.map +1 -1
- package/dist/components/motion/adaptive-stepper.js +1 -1
- 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/context.d.ts +9 -10
- package/dist/components/motion/combobox/context.d.ts.map +1 -1
- 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 +1 -1
- 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 +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 +3 -4
- package/dist/components/motion/input.d.ts.map +1 -1
- package/dist/components/motion/liquid.d.ts +6 -7
- package/dist/components/motion/liquid.d.ts.map +1 -1
- 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 +2 -3
- package/dist/components/motion/multi-select/content.d.ts.map +1 -1
- package/dist/components/motion/multi-select/context.d.ts +9 -10
- package/dist/components/motion/multi-select/context.d.ts.map +1 -1
- package/dist/components/motion/multi-select/list.d.ts +12 -13
- package/dist/components/motion/multi-select/list.d.ts.map +1 -1
- package/dist/components/motion/multi-select/list.js +1 -1
- package/dist/components/motion/multi-select/trigger.d.ts +6 -7
- package/dist/components/motion/multi-select/trigger.d.ts.map +1 -1
- package/dist/components/motion/multi-select/trigger.js +1 -1
- 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 +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/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-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.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/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/data-grid/data-grid-column-filter.js +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 +9 -6
- package/dist/components/reui/data-grid/data-grid-column-header.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-i18n.d.ts +1 -1
- package/dist/components/reui/data-grid/data-grid-i18n.js.map +1 -1
- package/dist/components/reui/data-grid/data-grid-pagination.js +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +1 -1
- package/dist/components/reui/data-grid/data-grid-table-dnd.js +1 -1
- package/dist/components/reui/data-grid/data-grid-table.js +1 -1
- package/dist/components/reui/data-grid/data-grid.d.ts +28 -28
- package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -1
- 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-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/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 +3 -3
- 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.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.d.ts +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-52UUYPbr.d.ts → data-grid-i18n-TQR2PZlU.d.ts} +1 -13
- 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/package.json +3 -3
- package/dist/data-grid-i18n-52UUYPbr.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounce-sidebar.d.ts","names":[],"sources":["../../../src/components/motion/bounce-sidebar.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"bounce-sidebar.d.ts","names":[],"sources":["../../../src/components/motion/bounce-sidebar.tsx"],"mappings":";;iBAOiB;EACf;EACA,OAAO;EACP;EACA,OAAO;EACP;EACA;EACA;;iBAGe;EACf,OAAO;EACP;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;;wBAqBc,gBACd,OACA,OACA,cACA,eACA,WACA,WACA,eACA,eACA,sBACC,qCAAkB,IAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/bouncy-accordion.d.ts
|
|
3
|
-
type BouncyAccordionItem = {
|
|
3
|
+
export type BouncyAccordionItem = {
|
|
4
4
|
id: string;
|
|
5
5
|
title: ReactNode;
|
|
6
6
|
description?: ReactNode;
|
|
7
7
|
icon?: ReactNode;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
};
|
|
10
|
-
type BouncyAccordionClassNames = {
|
|
10
|
+
export type BouncyAccordionClassNames = {
|
|
11
11
|
root?: string;
|
|
12
12
|
item?: string;
|
|
13
13
|
trigger?: string;
|
|
@@ -17,7 +17,7 @@ type BouncyAccordionClassNames = {
|
|
|
17
17
|
content?: string;
|
|
18
18
|
description?: string;
|
|
19
19
|
};
|
|
20
|
-
interface BouncyAccordionProps {
|
|
20
|
+
export interface BouncyAccordionProps {
|
|
21
21
|
items: BouncyAccordionItem[];
|
|
22
22
|
value?: string | null;
|
|
23
23
|
defaultValue?: string | null;
|
|
@@ -26,7 +26,6 @@ interface BouncyAccordionProps {
|
|
|
26
26
|
className?: string;
|
|
27
27
|
classNames?: BouncyAccordionClassNames;
|
|
28
28
|
}
|
|
29
|
-
declare function BouncyAccordion({ items, value, defaultValue, onValueChange, collapsible, className, classNames }: BouncyAccordionProps): import("react").JSX.Element;
|
|
29
|
+
export declare function BouncyAccordion({ items, value, defaultValue, onValueChange, collapsible, className, classNames }: BouncyAccordionProps): import("react").JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { BouncyAccordion, BouncyAccordionClassNames, BouncyAccordionItem, BouncyAccordionProps };
|
|
32
31
|
//# sourceMappingURL=bouncy-accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bouncy-accordion.d.ts","names":[],"sources":["../../../src/components/motion/bouncy-accordion.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"bouncy-accordion.d.ts","names":[],"sources":["../../../src/components/motion/bouncy-accordion.tsx"],"mappings":";;YASY;EACV;EACA,OAAO;EACP,cAAc;EACd,OAAO;EACP;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf,OAAO;EACP;EACA;EACA,iBAAiB;EACjB;EACA;EACA,aAAa;;wBAiNC,kBACd,OACA,OACA,cACA,eACA,aACA,WACA,cACC,uCAAoB,IAAA"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { EASE_OUT } from "../../lib/ease.js";
|
|
3
3
|
import { useCallback, useId, useLayoutEffect, useRef, useState } from "react";
|
|
4
4
|
import { cn } from "@kumix/utils";
|
|
5
|
+
import { ChevronDown } from "lucide-react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { motion, useReducedMotion } from "motion/react";
|
|
7
|
-
import { ChevronDown } from "lucide-react";
|
|
8
8
|
//#region src/components/motion/bouncy-accordion.tsx
|
|
9
9
|
const ROW_TRANSITION = {
|
|
10
10
|
type: "spring",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { HTMLMotionProps } from "motion/react";
|
|
3
3
|
//#region src/components/motion/button/base.d.ts
|
|
4
|
-
type ButtonVariant = "primary" | "secondary" | "ghost" | "outline";
|
|
5
|
-
type ButtonSize = "sm" | "md" | "lg" | "icon";
|
|
6
|
-
interface ButtonProps extends Omit<HTMLMotionProps<"button">, "children"> {
|
|
4
|
+
export type ButtonVariant = "primary" | "secondary" | "ghost" | "outline";
|
|
5
|
+
export type ButtonSize = "sm" | "md" | "lg" | "icon";
|
|
6
|
+
export interface ButtonProps extends Omit<HTMLMotionProps<"button">, "children"> {
|
|
7
7
|
variant?: ButtonVariant;
|
|
8
8
|
size?: ButtonSize;
|
|
9
9
|
pressScale?: number;
|
|
@@ -11,14 +11,13 @@ interface ButtonProps extends Omit<HTMLMotionProps<"button">, "children"> {
|
|
|
11
11
|
ripple?: boolean;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
}
|
|
14
|
-
interface ButtonLinkProps extends Omit<HTMLMotionProps<"a">, "children"> {
|
|
14
|
+
export interface ButtonLinkProps extends Omit<HTMLMotionProps<"a">, "children"> {
|
|
15
15
|
variant?: ButtonVariant;
|
|
16
16
|
size?: ButtonSize;
|
|
17
17
|
pressScale?: number;
|
|
18
18
|
children?: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
|
-
declare const ButtonLink: import("react").ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
20
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
export declare const ButtonLink: import("react").ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Button, ButtonLink, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant };
|
|
24
23
|
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","names":[],"sources":["../../../../src/components/motion/button/base.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"base.d.ts","names":[],"sources":["../../../../src/components/motion/button/base.tsx"],"mappings":";;;YAgBY;YACA;iBAEK,oBAAoB,KAAK;EACxC,UAAU;EACV,OAAO;EACP;;EAEA;EACA,WAAW;;iBAGI,wBAAwB,KAAK;EAC5C,UAAU;EACV,OAAO;EACP;EACA,WAAW;;qBAmBA,wBAAM,0BAAA,KAAA,sCAAA,cAAA;qBAwFN,4BAAU,0BAAA,KAAA,0CAAA,cAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ButtonProps } from "./base.js";
|
|
2
2
|
//#region src/components/motion/button/magnetic.d.ts
|
|
3
|
-
interface MagneticButtonProps extends ButtonProps {
|
|
3
|
+
export interface MagneticButtonProps extends ButtonProps {
|
|
4
4
|
/** Magnetic pull strength. Default 0.25. */
|
|
5
5
|
strength?: number;
|
|
6
6
|
/** Class applied to the magnetic wrapper. */
|
|
7
7
|
magneticClassName?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const MagneticButton: import("react").ForwardRefExoticComponent<Omit<MagneticButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export declare const MagneticButton: import("react").ForwardRefExoticComponent<Omit<MagneticButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { MagneticButton, MagneticButtonProps };
|
|
12
11
|
//# sourceMappingURL=magnetic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magnetic.d.ts","names":[],"sources":["../../../../src/components/motion/button/magnetic.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"magnetic.d.ts","names":[],"sources":["../../../../src/components/motion/button/magnetic.tsx"],"mappings":";;iBAOiB,4BAA4B;;EAE3C;;EAEA;;qBAGW,gCAAc,0BAAA,KAAA,8CAAA,cAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ButtonProps } from "./base.js";
|
|
2
2
|
//#region src/components/motion/button/metallic.d.ts
|
|
3
|
-
interface MetallicButtonProps extends Omit<ButtonProps, "ripple" | "variant"> {
|
|
3
|
+
export interface MetallicButtonProps extends Omit<ButtonProps, "ripple" | "variant"> {
|
|
4
4
|
/** Stops the traveling reflection while preserving the chrome rim. */
|
|
5
5
|
paused?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const MetallicButton: import("react").ForwardRefExoticComponent<Omit<MetallicButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
export declare const MetallicButton: import("react").ForwardRefExoticComponent<Omit<MetallicButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { MetallicButton, MetallicButtonProps };
|
|
10
9
|
//# sourceMappingURL=metallic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metallic.d.ts","names":[],"sources":["../../../../src/components/motion/button/metallic.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"metallic.d.ts","names":[],"sources":["../../../../src/components/motion/button/metallic.tsx"],"mappings":";;iBASiB,4BAA4B,KAAK;;EAEhD;;qBAeW,gCAAc,0BAAA,KAAA,8CAAA,cAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ButtonProps } from "./base.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/components/motion/button/stateful.d.ts
|
|
4
|
-
type ButtonState = "idle" | "loading" | "success" | "error";
|
|
5
|
-
interface StatefulButtonProps extends Omit<ButtonProps, "children"> {
|
|
4
|
+
export type ButtonState = "idle" | "loading" | "success" | "error";
|
|
5
|
+
export interface StatefulButtonProps extends Omit<ButtonProps, "children"> {
|
|
6
6
|
state?: ButtonState;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
loadingText?: ReactNode;
|
|
@@ -10,7 +10,6 @@ interface StatefulButtonProps extends Omit<ButtonProps, "children"> {
|
|
|
10
10
|
errorText?: ReactNode;
|
|
11
11
|
icon?: ReactNode;
|
|
12
12
|
}
|
|
13
|
-
declare const StatefulButton: import("react").ForwardRefExoticComponent<Omit<StatefulButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export declare const StatefulButton: import("react").ForwardRefExoticComponent<Omit<StatefulButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { ButtonState, StatefulButton, StatefulButtonProps };
|
|
16
15
|
//# sourceMappingURL=stateful.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateful.d.ts","names":[],"sources":["../../../../src/components/motion/button/stateful.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"stateful.d.ts","names":[],"sources":["../../../../src/components/motion/button/stateful.tsx"],"mappings":";;;YASY;iBAEK,4BAA4B,KAAK;EAChD,QAAQ;EACR,UAAU;EACV,cAAc;EACd,cAAc;EACd,YAAY;EACZ,OAAO;;qBAuII,gCAAc,0BAAA,KAAA,8CAAA,cAAA"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { EASE_OUT, SPRING_SWAP } from "../../../lib/ease.js";
|
|
3
3
|
import { Button } from "./base.js";
|
|
4
4
|
import { forwardRef, useLayoutEffect, useRef, useState } from "react";
|
|
5
|
+
import { Check, Loader2, X } from "lucide-react";
|
|
5
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
7
|
-
import { Check, Loader2, X } from "lucide-react";
|
|
8
8
|
//#region src/components/motion/button/stateful.tsx
|
|
9
9
|
const CASCADE_STAGGER = .025;
|
|
10
10
|
const ROLL_BLUR = "blur(6px)";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/center-morph-modal.d.ts
|
|
3
|
-
interface CenterMorphModalProps {
|
|
3
|
+
export interface CenterMorphModalProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** Controlled open state. */
|
|
6
6
|
open?: boolean;
|
|
@@ -12,18 +12,18 @@ interface CenterMorphModalProps {
|
|
|
12
12
|
* A modal whose full-size surface unfolds outward from its exact center.
|
|
13
13
|
* Supports controlled and uncontrolled state through composable primitives.
|
|
14
14
|
*/
|
|
15
|
-
declare function CenterMorphModal({ children, open: controlledOpen, defaultOpen, onOpenChange }: CenterMorphModalProps): import("react").JSX.Element;
|
|
16
|
-
interface CenterMorphModalTriggerProps {
|
|
15
|
+
export declare function CenterMorphModal({ children, open: controlledOpen, defaultOpen, onOpenChange }: CenterMorphModalProps): import("react").JSX.Element;
|
|
16
|
+
export interface CenterMorphModalTriggerProps {
|
|
17
17
|
children: ReactElement;
|
|
18
18
|
}
|
|
19
19
|
/** Wraps one interactive element and opens or closes the modal. */
|
|
20
|
-
declare function CenterMorphModalTrigger({ children }: CenterMorphModalTriggerProps): ReactElement<Record<string, unknown>, string | import("react").JSXElementConstructor<any>>;
|
|
21
|
-
interface CenterMorphModalCloseProps {
|
|
20
|
+
export declare function CenterMorphModalTrigger({ children }: CenterMorphModalTriggerProps): ReactElement<Record<string, unknown>, string | import("react").JSXElementConstructor<any>>;
|
|
21
|
+
export interface CenterMorphModalCloseProps {
|
|
22
22
|
children: ReactElement;
|
|
23
23
|
}
|
|
24
24
|
/** Wraps one interactive element and closes the modal. */
|
|
25
|
-
declare function CenterMorphModalClose({ children }: CenterMorphModalCloseProps): ReactElement<Record<string, unknown>, string | import("react").JSXElementConstructor<any>>;
|
|
26
|
-
interface CenterMorphModalContentProps {
|
|
25
|
+
export declare function CenterMorphModalClose({ children }: CenterMorphModalCloseProps): ReactElement<Record<string, unknown>, string | import("react").JSXElementConstructor<any>>;
|
|
26
|
+
export interface CenterMorphModalContentProps {
|
|
27
27
|
children: ReactNode;
|
|
28
28
|
/** Accessible name announced by screen readers. */
|
|
29
29
|
ariaLabel: string;
|
|
@@ -37,7 +37,6 @@ interface CenterMorphModalContentProps {
|
|
|
37
37
|
className?: string;
|
|
38
38
|
backdropClassName?: string;
|
|
39
39
|
}
|
|
40
|
-
declare function CenterMorphModalContent({ children, ariaLabel, ariaDescribedBy, dismissible, showCloseButton, closeButtonLabel, className, backdropClassName }: CenterMorphModalContentProps): import("react").ReactPortal | null;
|
|
40
|
+
export declare function CenterMorphModalContent({ children, ariaLabel, ariaDescribedBy, dismissible, showCloseButton, closeButtonLabel, className, backdropClassName }: CenterMorphModalContentProps): import("react").ReactPortal | null;
|
|
41
41
|
//#endregion
|
|
42
|
-
export { CenterMorphModal, CenterMorphModalClose, CenterMorphModalCloseProps, CenterMorphModalContent, CenterMorphModalContentProps, CenterMorphModalProps, CenterMorphModalTrigger, CenterMorphModalTriggerProps };
|
|
43
42
|
//# sourceMappingURL=center-morph-modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"center-morph-modal.d.ts","names":[],"sources":["../../../src/components/motion/center-morph-modal.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"center-morph-modal.d.ts","names":[],"sources":["../../../src/components/motion/center-morph-modal.tsx"],"mappings":";;iBAyCiB;EACf,UAAU;;EAEV;;EAEA;EACA,gBAAgB;;;;;;wBAOF,mBACd,UACA,MAAM,gBACN,aACA,gBACC,wCAAqB,IAAA;iBA6BP;EACf,UAAU;;;wBAII,0BAA0B,YAAY,+BAA4B,aAAA,kDAAA;iBAqBjE;EACf,UAAU;;;wBAII,wBAAwB,YAAY,6BAA0B,aAAA,kDAAA;iBAiB7D;EACf,UAAU;;EAEV;;EAEA;;EAEA;;EAEA;EACA;EACA;EACA;;wBA+Bc,0BACd,UACA,WACA,iBACA,aACA,iBACA,kBACA,WACA,qBACC,+CAA4B"}
|
|
@@ -3,9 +3,9 @@ import { EASE_OUT } from "../../lib/ease.js";
|
|
|
3
3
|
import { t as PresenceGate } from "../../presence-gate-BekdC4Bo.js";
|
|
4
4
|
import { cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { cn } from "@kumix/utils";
|
|
6
|
+
import { X } from "lucide-react";
|
|
6
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
8
|
-
import { X } from "lucide-react";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
//#region src/components/motion/center-morph-modal.tsx
|
|
11
11
|
const CenterMorphModalContext = createContext(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/components/motion/checkbox.d.ts
|
|
2
|
-
interface CheckboxProps {
|
|
2
|
+
export interface CheckboxProps {
|
|
3
3
|
checked: boolean;
|
|
4
4
|
onCheckedChange: (checked: boolean) => void;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -11,7 +11,6 @@ interface CheckboxProps {
|
|
|
11
11
|
/** Associates an external message (e.g. a form error) with the control. */
|
|
12
12
|
"aria-describedby"?: string;
|
|
13
13
|
}
|
|
14
|
-
declare function Checkbox({ checked, onCheckedChange, disabled, indeterminate, label, className, id: idProp, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy }: CheckboxProps): import("react").JSX.Element;
|
|
14
|
+
export declare function Checkbox({ checked, onCheckedChange, disabled, indeterminate, label, className, id: idProp, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy }: CheckboxProps): import("react").JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { Checkbox, CheckboxProps };
|
|
17
16
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../../src/components/motion/checkbox.tsx"],"mappings":";
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../../src/components/motion/checkbox.tsx"],"mappings":";iBAWiB;EACf;EACA,kBAAkB;EAClB;EACA;EACA;EACA;EACA;EACA;;EAEA;;wBAGc,WACd,SACA,iBACA,UACA,eACA,OACA,WACA,IAAI,sBACU,+BACM,mBACnB,gCAAa,IAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseInViewOptions } from "motion/react";
|
|
2
2
|
//#region src/components/motion/chromatic-text-reveal.d.ts
|
|
3
|
-
type ChromaticTextRevealProps = {
|
|
3
|
+
export type ChromaticTextRevealProps = {
|
|
4
4
|
/** Sentence fragment that remains fixed while the final word changes. */
|
|
5
5
|
prefix: string;
|
|
6
6
|
/** Words revealed one after another after the fixed prefix. */
|
|
@@ -25,7 +25,6 @@ type ChromaticTextRevealProps = {
|
|
|
25
25
|
inViewMargin?: UseInViewOptions["margin"];
|
|
26
26
|
className?: string;
|
|
27
27
|
};
|
|
28
|
-
declare function ChromaticTextReveal({ prefix, words, colors, foregroundColor, duration, delay, pauseDuration, loop, startOnView, once, inViewMargin, className }: ChromaticTextRevealProps): import("react").JSX.Element;
|
|
28
|
+
export declare function ChromaticTextReveal({ prefix, words, colors, foregroundColor, duration, delay, pauseDuration, loop, startOnView, once, inViewMargin, className }: ChromaticTextRevealProps): import("react").JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { ChromaticTextReveal, ChromaticTextRevealProps };
|
|
31
30
|
//# sourceMappingURL=chromatic-text-reveal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chromatic-text-reveal.d.ts","names":[],"sources":["../../../src/components/motion/chromatic-text-reveal.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"chromatic-text-reveal.d.ts","names":[],"sources":["../../../src/components/motion/chromatic-text-reveal.tsx"],"mappings":";;YAoBY;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,eAAe;EACf;;wBAkBc,sBACd,QACA,OACA,QACA,iBACA,UACA,OACA,eACA,MACA,aACA,MACA,cACA,aACC,2CAAwB,IAAA"}
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from "react";
|
|
|
2
2
|
//#region src/components/motion/combobox/content.d.ts
|
|
3
3
|
type Side = "top" | "bottom";
|
|
4
4
|
type Align = "start" | "center" | "end";
|
|
5
|
-
interface ComboboxContentProps {
|
|
5
|
+
export interface ComboboxContentProps {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
side?: Side;
|
|
8
8
|
align?: Align;
|
|
@@ -10,7 +10,6 @@ interface ComboboxContentProps {
|
|
|
10
10
|
avoidCollisions?: boolean;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare function ComboboxContent({ children, side, align, sideOffset, avoidCollisions, className }: ComboboxContentProps): import("react").ReactPortal | null;
|
|
13
|
+
export declare function ComboboxContent({ children, side, align, sideOffset, avoidCollisions, className }: ComboboxContentProps): import("react").ReactPortal | null;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { ComboboxContent, ComboboxContentProps };
|
|
16
15
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/content.tsx"],"mappings":";;KAiBK;KACA;
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/content.tsx"],"mappings":";;KAiBK;KACA;iBAWY;EACf,UAAU;EACV,OAAO;EACP,QAAQ;EACR;EACA;EACA;;wBAGc,kBACd,UACA,MACA,OACA,YACA,iBACA,aACC,uCAAoB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MutableRefObject, ReactNode, Ref } from "react";
|
|
2
2
|
//#region src/components/motion/combobox/context.d.ts
|
|
3
|
-
type RegisteredItem = {
|
|
3
|
+
export type RegisteredItem = {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
6
6
|
keywords: string[];
|
|
@@ -9,8 +9,8 @@ type RegisteredItem = {
|
|
|
9
9
|
id: string;
|
|
10
10
|
ref: MutableRefObject<HTMLButtonElement | null>;
|
|
11
11
|
};
|
|
12
|
-
type ComboboxFilter = (value: string, query: string, keywords: string[]) => boolean;
|
|
13
|
-
type ComboboxContextValue = {
|
|
12
|
+
export type ComboboxFilter = (value: string, query: string, keywords: string[]) => boolean;
|
|
13
|
+
export type ComboboxContextValue = {
|
|
14
14
|
open: boolean;
|
|
15
15
|
setOpen: (open: boolean, restoreFocus?: boolean) => void;
|
|
16
16
|
value: string | undefined;
|
|
@@ -44,11 +44,11 @@ type ComboboxContextValue = {
|
|
|
44
44
|
inputRef: MutableRefObject<HTMLInputElement | null>;
|
|
45
45
|
activeLayoutId: string;
|
|
46
46
|
};
|
|
47
|
-
declare const ComboboxContext: import("react").Context<ComboboxContextValue | null>;
|
|
48
|
-
declare const ComboboxGroupContext: import("react").Context<string | null>;
|
|
49
|
-
declare function useComboboxContext(component: string): ComboboxContextValue;
|
|
50
|
-
declare function mergeRefs<T>(...refs: Array<Ref<T> | undefined>): (node: T | null) => void;
|
|
51
|
-
interface ComboboxProps {
|
|
47
|
+
export declare const ComboboxContext: import("react").Context<ComboboxContextValue | null>;
|
|
48
|
+
export declare const ComboboxGroupContext: import("react").Context<string | null>;
|
|
49
|
+
export declare function useComboboxContext(component: string): ComboboxContextValue;
|
|
50
|
+
export declare function mergeRefs<T>(...refs: Array<Ref<T> | undefined>): (node: T | null) => void;
|
|
51
|
+
export interface ComboboxProps {
|
|
52
52
|
children: ReactNode;
|
|
53
53
|
value?: string;
|
|
54
54
|
defaultValue?: string;
|
|
@@ -63,7 +63,6 @@ interface ComboboxProps {
|
|
|
63
63
|
disabled?: boolean;
|
|
64
64
|
className?: string;
|
|
65
65
|
}
|
|
66
|
-
declare function Combobox({ children, value: controlledValue, defaultValue, onValueChange, open: controlledOpen, defaultOpen, onOpenChange, query: controlledQuery, defaultQuery, onQueryChange, filter, disabled, className }: ComboboxProps): import("react").JSX.Element;
|
|
66
|
+
export declare function Combobox({ children, value: controlledValue, defaultValue, onValueChange, open: controlledOpen, defaultOpen, onOpenChange, query: controlledQuery, defaultQuery, onQueryChange, filter, disabled, className }: ComboboxProps): import("react").JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
|
-
export { Combobox, ComboboxContext, ComboboxContextValue, ComboboxFilter, ComboboxGroupContext, ComboboxProps, RegisteredItem, mergeRefs, useComboboxContext };
|
|
69
68
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/context.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"context.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/context.tsx"],"mappings":";;YAoBY;EACV;EACA;EACA;EACA;EACA;EACA;EACA,KAAK,iBAAiB;;YAGZ,kBAAkB,eAAe,eAAe;YAehD;EACV;EACA,UAAU,eAAe;EACzB;EACA,SAAS;EACT;EACA,WAAW;;EAEX;;;;;;EAMA,iBAAiB;EACjB,aAAa;EACb;EACA,eAAe,MAAM;EACrB,iBAAiB;EACjB,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY,iBAAiB;EAC7B,YAAY,iBAAiB;EAC7B,UAAU,iBAAiB;EAC3B;;qBAGW,iCAAe,QAAA;qBACf,sCAAoB;wBAEjB,mBAAmB,oBAAiB;wBAMpC,UAAU,MAAM,MAAM,MAAM,IAAI,mBACtC,MAAM;iBAQC;EACf,UAAU;EACV;EACA;EACA,iBAAiB;EACjB;EACA;EACA,gBAAgB;EAChB;EACA;EACA,iBAAiB;EACjB,SAAS;EACT;EACA;;wBAGc,WACd,UACA,OAAO,iBACP,cACA,eACA,MAAM,gBACN,aACA,cACA,OAAO,iBACP,cACA,eACA,QACA,UACA,aACC,gCAAa,IAAA"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/components/motion/combobox/list.d.ts
|
|
3
|
-
interface ComboboxListProps {
|
|
3
|
+
export interface ComboboxListProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
ariaLabel?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare function ComboboxList({ children, ariaLabel, className }: ComboboxListProps): import("react").JSX.Element;
|
|
9
|
-
interface ComboboxGroupProps {
|
|
8
|
+
export declare function ComboboxList({ children, ariaLabel, className }: ComboboxListProps): import("react").JSX.Element;
|
|
9
|
+
export interface ComboboxGroupProps {
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare function ComboboxGroup({ children, className }: ComboboxGroupProps): import("react").JSX.Element;
|
|
14
|
-
interface ComboboxLabelProps {
|
|
13
|
+
export declare function ComboboxGroup({ children, className }: ComboboxGroupProps): import("react").JSX.Element;
|
|
14
|
+
export interface ComboboxLabelProps {
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
|
-
declare function ComboboxLabel({ children, className }: ComboboxLabelProps): import("react").JSX.Element;
|
|
19
|
-
interface ComboboxItemProps {
|
|
18
|
+
export declare function ComboboxLabel({ children, className }: ComboboxLabelProps): import("react").JSX.Element;
|
|
19
|
+
export interface ComboboxItemProps {
|
|
20
20
|
value: string;
|
|
21
21
|
children: ReactNode;
|
|
22
22
|
textValue?: string;
|
|
@@ -25,16 +25,15 @@ interface ComboboxItemProps {
|
|
|
25
25
|
onSelect?: (value: string) => void;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare function ComboboxItem({ value, children, textValue, keywords, disabled, onSelect, className }: ComboboxItemProps): import("react").JSX.Element | null;
|
|
29
|
-
interface ComboboxEmptyProps {
|
|
28
|
+
export declare function ComboboxItem({ value, children, textValue, keywords, disabled, onSelect, className }: ComboboxItemProps): import("react").JSX.Element | null;
|
|
29
|
+
export interface ComboboxEmptyProps {
|
|
30
30
|
children?: ReactNode;
|
|
31
31
|
className?: string;
|
|
32
32
|
}
|
|
33
|
-
declare function ComboboxEmpty({ children, className }: ComboboxEmptyProps): import("react").JSX.Element | null;
|
|
34
|
-
interface ComboboxSeparatorProps {
|
|
33
|
+
export declare function ComboboxEmpty({ children, className }: ComboboxEmptyProps): import("react").JSX.Element | null;
|
|
34
|
+
export interface ComboboxSeparatorProps {
|
|
35
35
|
className?: string;
|
|
36
36
|
}
|
|
37
|
-
declare function ComboboxSeparator({ className }: ComboboxSeparatorProps): import("react").JSX.Element;
|
|
37
|
+
export declare function ComboboxSeparator({ className }: ComboboxSeparatorProps): import("react").JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
|
-
export { ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxSeparator, ComboboxSeparatorProps };
|
|
40
39
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"list.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/list.tsx"],"mappings":";;iBAUiB;EACf,UAAU;EACV;EACA;;wBAGc,eAAe,UAAU,WAAuB,aAAa,oCAAiB,IAAA;iBAiB7E;EACf,UAAU;EACV;;wBAGc,gBAAgB,UAAU,aAAa,qCAAkB,IAAA;iBAexD;EACf,UAAU;EACV;;wBAGc,gBAAgB,UAAU,aAAa,qCAAkB,IAAA;iBAaxD;EACf;EACA,UAAU;EACV;EACA;EACA;EACA,YAAY;EACZ;;wBAGc,eACd,OACA,UACA,WACA,UACA,UACA,UACA,aACC,oCAAiB,IAAA;iBAoFH;EACf,WAAW;EACX;;wBAGc,gBAAgB,UAAgC,aAAa,qCAAkB,IAAA;iBAa9E;EACf;;wBAGc,oBAAoB,aAAa,yCAAsB,IAAA"}
|
|
@@ -3,9 +3,9 @@ import { EASE_OUT, SPRING_LAYOUT } from "../../../lib/ease.js";
|
|
|
3
3
|
import { ComboboxGroupContext, useComboboxContext } from "./context.js";
|
|
4
4
|
import { useContext, useId, useLayoutEffect, useMemo, useRef } 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 { motion } from "motion/react";
|
|
8
|
-
import { Check } from "lucide-react";
|
|
9
9
|
//#region src/components/motion/combobox/list.tsx
|
|
10
10
|
function ComboboxList({ children, ariaLabel = "Options", className }) {
|
|
11
11
|
const context = useComboboxContext("ComboboxList");
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { InputHTMLAttributes, ReactNode, Ref } from "react";
|
|
2
2
|
//#region src/components/motion/combobox/trigger.d.ts
|
|
3
|
-
interface ComboboxTriggerProps {
|
|
3
|
+
export interface ComboboxTriggerProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
declare function ComboboxTrigger({ children, className }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
8
|
-
interface ComboboxValueProps {
|
|
7
|
+
export declare function ComboboxTrigger({ children, className }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
8
|
+
export interface ComboboxValueProps {
|
|
9
9
|
placeholder?: ReactNode;
|
|
10
10
|
children?: ReactNode | ((value: string | undefined, label: string | undefined) => ReactNode);
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare function ComboboxValue({ placeholder, children, className }: ComboboxValueProps): import("react").JSX.Element;
|
|
14
|
-
interface ComboboxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "value"> {
|
|
13
|
+
export declare function ComboboxValue({ placeholder, children, className }: ComboboxValueProps): import("react").JSX.Element;
|
|
14
|
+
export interface ComboboxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "value"> {
|
|
15
15
|
ref?: Ref<HTMLInputElement>;
|
|
16
16
|
wrapperClassName?: string;
|
|
17
17
|
}
|
|
18
|
-
declare function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLabel, onChange, onClick, onFocus, onKeyDown, onPointerDown, placeholder, ...props }: ComboboxInputProps): import("react").JSX.Element;
|
|
18
|
+
export declare function ComboboxInput({ ref, className, wrapperClassName, "aria-label": ariaLabel, onChange, onClick, onFocus, onKeyDown, onPointerDown, placeholder, ...props }: ComboboxInputProps): import("react").JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { ComboboxInput, ComboboxInputProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps };
|
|
21
20
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/motion/combobox/trigger.tsx"],"mappings":";;iBAaiB;EACf,UAAU;EACV;;wBAGc,kBAAkB,UAAU,aAAa,uCAAoB,IAAA;iBA6B5D;EACf,cAAc;EACd,WAAW,cAAc,2BAA2B,8BAA8B;EAClF;;wBAGc,gBACd,aACA,UACA,aACC,qCAAkB,IAAA;iBAqBJ,2BACP,KAAK,oBAAoB;EACjC,MAAM,IAAI;EACV;;wBAGc,gBACd,KACA,WACA,gCACc,WACd,UACA,SACA,SACA,WACA,eACA,gBACG,SACF,qCAAkB,IAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { mergeRefs, useComboboxContext } from "./context.js";
|
|
3
3
|
import { cn } from "@kumix/utils";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { ChevronsUpDown, Search } from "lucide-react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/motion/combobox/trigger.tsx
|
|
7
7
|
function ComboboxTrigger({ children, className }) {
|
|
8
8
|
const context = useComboboxContext("ComboboxTrigger");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { LucideIcon } from "lucide-react";
|
|
3
3
|
//#region src/components/motion/command-palette.d.ts
|
|
4
|
-
type CommandItem = {
|
|
4
|
+
export type CommandItem = {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
7
|
group?: string;
|
|
@@ -11,7 +11,7 @@ type CommandItem = {
|
|
|
11
11
|
badge?: ReactNode;
|
|
12
12
|
onSelect: () => void;
|
|
13
13
|
};
|
|
14
|
-
interface CommandPaletteProps {
|
|
14
|
+
export interface CommandPaletteProps {
|
|
15
15
|
items: CommandItem[];
|
|
16
16
|
/** Opens with Cmd/Ctrl + this key. Default: "k" */
|
|
17
17
|
shortcut?: string;
|
|
@@ -20,7 +20,6 @@ interface CommandPaletteProps {
|
|
|
20
20
|
open?: boolean;
|
|
21
21
|
onOpenChange?: (open: boolean) => void;
|
|
22
22
|
}
|
|
23
|
-
declare function CommandPalette({ items, shortcut, placeholder, emptyMessage, open: controlledOpen, onOpenChange }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
23
|
+
export declare function CommandPalette({ items, shortcut, placeholder, emptyMessage, open: controlledOpen, onOpenChange }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { CommandItem, CommandPalette, CommandPaletteProps };
|
|
26
25
|
//# sourceMappingURL=command-palette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-palette.d.ts","names":[],"sources":["../../../src/components/motion/command-palette.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"command-palette.d.ts","names":[],"sources":["../../../src/components/motion/command-palette.tsx"],"mappings":";;;YAcY;EACV;EACA;EACA;EACA;EACA;EACA,OAAO;EACP,QAAQ;EACR;;iBAGe;EACf,OAAO;;EAEP;EACA;EACA;EACA;EACA,gBAAgB;;wBAwBF,iBACd,OACA,UACA,aACA,cACA,MAAM,gBACN,gBACC,sCAAmB"}
|
|
@@ -6,9 +6,9 @@ import { EASE_OUT } from "../../lib/ease.js";
|
|
|
6
6
|
import { t as PresenceGate } from "../../presence-gate-BekdC4Bo.js";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { cn } from "@kumix/utils";
|
|
9
|
+
import { Search } from "lucide-react";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
|
11
|
-
import { Search } from "lucide-react";
|
|
12
12
|
import { createPortal } from "react-dom";
|
|
13
13
|
//#region src/components/motion/command-palette.tsx
|
|
14
14
|
function fuzzyMatch(needle, hay) {
|
|
@@ -3,28 +3,28 @@ import { ReactElement, ReactNode, Ref } from "react";
|
|
|
3
3
|
type TriggerElementProps = React.HTMLAttributes<HTMLElement> & {
|
|
4
4
|
ref?: Ref<HTMLElement>;
|
|
5
5
|
};
|
|
6
|
-
interface ContextMenuProps {
|
|
6
|
+
export interface ContextMenuProps {
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
open?: boolean;
|
|
9
9
|
defaultOpen?: boolean;
|
|
10
10
|
onOpenChange?: (open: boolean) => void;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare function ContextMenu({ children, open: controlledOpen, defaultOpen, onOpenChange, className }: ContextMenuProps): import("react").JSX.Element;
|
|
14
|
-
interface ContextMenuTriggerProps {
|
|
13
|
+
export declare function ContextMenu({ children, open: controlledOpen, defaultOpen, onOpenChange, className }: ContextMenuProps): import("react").JSX.Element;
|
|
14
|
+
export interface ContextMenuTriggerProps {
|
|
15
15
|
children: ReactElement<TriggerElementProps>;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
declare function ContextMenuTrigger({ children, disabled, className }: ContextMenuTriggerProps): ReactElement<TriggerElementProps, string | import("react").JSXElementConstructor<any>>;
|
|
20
|
-
interface ContextMenuContentProps {
|
|
19
|
+
export declare function ContextMenuTrigger({ children, disabled, className }: ContextMenuTriggerProps): ReactElement<TriggerElementProps, string | import("react").JSXElementConstructor<any>>;
|
|
20
|
+
export interface ContextMenuContentProps {
|
|
21
21
|
children: ReactNode;
|
|
22
22
|
className?: string;
|
|
23
23
|
ariaLabel?: string;
|
|
24
24
|
}
|
|
25
|
-
declare function ContextMenuContent({ children, className, ariaLabel }: ContextMenuContentProps): import("react").ReactPortal | null;
|
|
25
|
+
export declare function ContextMenuContent({ children, className, ariaLabel }: ContextMenuContentProps): import("react").ReactPortal | null;
|
|
26
26
|
type ContextMenuItemTone = "default" | "destructive";
|
|
27
|
-
interface ContextMenuItemProps {
|
|
27
|
+
export interface ContextMenuItemProps {
|
|
28
28
|
children: ReactNode;
|
|
29
29
|
onSelect?: () => void;
|
|
30
30
|
disabled?: boolean;
|
|
@@ -34,38 +34,37 @@ interface ContextMenuItemProps {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
textValue?: string;
|
|
36
36
|
}
|
|
37
|
-
declare function ContextMenuItem(props: ContextMenuItemProps): import("react").JSX.Element;
|
|
38
|
-
interface ContextMenuCheckboxItemProps extends Omit<ContextMenuItemProps, "onSelect"> {
|
|
37
|
+
export declare function ContextMenuItem(props: ContextMenuItemProps): import("react").JSX.Element;
|
|
38
|
+
export interface ContextMenuCheckboxItemProps extends Omit<ContextMenuItemProps, "onSelect"> {
|
|
39
39
|
checked: boolean;
|
|
40
40
|
onCheckedChange?: (checked: boolean) => void;
|
|
41
41
|
}
|
|
42
|
-
declare function ContextMenuCheckboxItem({ checked, onCheckedChange, children, ...props }: ContextMenuCheckboxItemProps): import("react").JSX.Element;
|
|
43
|
-
interface ContextMenuRadioGroupProps {
|
|
42
|
+
export declare function ContextMenuCheckboxItem({ checked, onCheckedChange, children, ...props }: ContextMenuCheckboxItemProps): import("react").JSX.Element;
|
|
43
|
+
export interface ContextMenuRadioGroupProps {
|
|
44
44
|
value: string;
|
|
45
45
|
onValueChange?: (value: string) => void;
|
|
46
46
|
children: ReactNode;
|
|
47
47
|
className?: string;
|
|
48
48
|
}
|
|
49
|
-
declare function ContextMenuRadioGroup({ value, onValueChange, children, className }: ContextMenuRadioGroupProps): import("react").JSX.Element;
|
|
50
|
-
interface ContextMenuRadioItemProps extends Omit<ContextMenuItemProps, "onSelect"> {
|
|
49
|
+
export declare function ContextMenuRadioGroup({ value, onValueChange, children, className }: ContextMenuRadioGroupProps): import("react").JSX.Element;
|
|
50
|
+
export interface ContextMenuRadioItemProps extends Omit<ContextMenuItemProps, "onSelect"> {
|
|
51
51
|
value: string;
|
|
52
52
|
}
|
|
53
|
-
declare function ContextMenuRadioItem({ value, children, ...props }: ContextMenuRadioItemProps): import("react").JSX.Element;
|
|
54
|
-
interface ContextMenuLabelProps {
|
|
53
|
+
export declare function ContextMenuRadioItem({ value, children, ...props }: ContextMenuRadioItemProps): import("react").JSX.Element;
|
|
54
|
+
export interface ContextMenuLabelProps {
|
|
55
55
|
children: ReactNode;
|
|
56
56
|
inset?: boolean;
|
|
57
57
|
className?: string;
|
|
58
58
|
}
|
|
59
|
-
declare function ContextMenuLabel({ children, inset, className }: ContextMenuLabelProps): import("react").JSX.Element;
|
|
60
|
-
interface ContextMenuSeparatorProps {
|
|
59
|
+
export declare function ContextMenuLabel({ children, inset, className }: ContextMenuLabelProps): import("react").JSX.Element;
|
|
60
|
+
export interface ContextMenuSeparatorProps {
|
|
61
61
|
className?: string;
|
|
62
62
|
}
|
|
63
|
-
declare function ContextMenuSeparator({ className }: ContextMenuSeparatorProps): import("react").JSX.Element;
|
|
64
|
-
interface ContextMenuShortcutProps {
|
|
63
|
+
export declare function ContextMenuSeparator({ className }: ContextMenuSeparatorProps): import("react").JSX.Element;
|
|
64
|
+
export interface ContextMenuShortcutProps {
|
|
65
65
|
children: ReactNode;
|
|
66
66
|
className?: string;
|
|
67
67
|
}
|
|
68
|
-
declare function ContextMenuShortcut({ children, className }: ContextMenuShortcutProps): import("react").JSX.Element;
|
|
68
|
+
export declare function ContextMenuShortcut({ children, className }: ContextMenuShortcutProps): import("react").JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemProps, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuLabelProps, ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemProps, ContextMenuSeparator, ContextMenuSeparatorProps, ContextMenuShortcut, ContextMenuShortcutProps, ContextMenuTrigger, ContextMenuTriggerProps };
|
|
71
70
|
//# sourceMappingURL=context-menu.d.ts.map
|