@youcan/celeste 0.6.102 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/celeste.css +1460 -1458
- package/dist/cjs/chunks/BubbleSelect.cjs +332 -0
- package/dist/cjs/chunks/CollapsibleRoot.cjs +90 -0
- package/dist/cjs/chunks/Collection.cjs +79 -0
- package/dist/cjs/chunks/ComboboxContent.cjs +442 -0
- package/dist/cjs/chunks/ComboboxGroup.cjs +90 -0
- package/dist/cjs/chunks/ComboboxInput.cjs +266 -0
- package/dist/cjs/chunks/ComboboxItem.cjs +195 -0
- package/dist/cjs/chunks/ComboboxLabel.cjs +47 -0
- package/dist/cjs/chunks/ComboboxRoot.cjs +695 -0
- package/dist/cjs/chunks/ComboboxSeparator.cjs +35 -0
- package/dist/cjs/chunks/ConfigProvider.cjs +11 -0
- package/dist/cjs/chunks/DialogClose.cjs +41 -0
- package/dist/cjs/chunks/DialogDescription.cjs +38 -0
- package/dist/cjs/chunks/DialogPortal.cjs +521 -0
- package/dist/cjs/chunks/DialogRoot.cjs +81 -0
- package/dist/cjs/chunks/DialogTitle.cjs +38 -0
- package/dist/cjs/chunks/DialogTrigger.cjs +57 -0
- package/dist/cjs/chunks/DismissableLayer.cjs +292 -0
- package/dist/cjs/chunks/DropdownMenuPortal.cjs +73 -0
- package/dist/cjs/chunks/DropdownMenuRoot.cjs +87 -0
- package/dist/cjs/chunks/FocusScope.cjs +368 -0
- package/dist/cjs/chunks/Label.cjs +42 -0
- package/dist/cjs/chunks/MenuAnchor.cjs +37 -0
- package/dist/cjs/chunks/MenuContentImpl.cjs +371 -0
- package/dist/cjs/chunks/MenuGroup.cjs +44 -0
- package/dist/cjs/chunks/MenuItemImpl.cjs +100 -0
- package/dist/cjs/chunks/MenuRoot.cjs +108 -0
- package/dist/cjs/chunks/MenuSub.cjs +68 -0
- package/dist/cjs/chunks/PaginationRoot.cjs +101 -0
- package/dist/cjs/chunks/PinInputRoot.cjs +153 -0
- package/dist/cjs/chunks/PopoverRoot.cjs +73 -0
- package/dist/cjs/chunks/PopperAnchor.cjs +48 -0
- package/dist/cjs/chunks/PopperArrow.cjs +152 -0
- package/dist/cjs/chunks/PopperContent.cjs +2134 -0
- package/dist/cjs/chunks/PopperRoot.cjs +32 -0
- package/dist/cjs/chunks/Presence.cjs +194 -0
- package/dist/cjs/chunks/Primitive.cjs +80 -0
- package/dist/cjs/chunks/ProgressIndicator.cjs +161 -0
- package/dist/cjs/chunks/RadioGroupRoot.cjs +143 -0
- package/dist/cjs/chunks/RovingFocusGroup.cjs +146 -0
- package/dist/cjs/chunks/RovingFocusItem.cjs +114 -0
- package/dist/cjs/chunks/SelectGroup.cjs +44 -0
- package/dist/cjs/chunks/SelectItemAlignedPosition.cjs +593 -0
- package/dist/cjs/chunks/TabsRoot.cjs +114 -0
- package/dist/cjs/chunks/Teleport.cjs +51 -0
- package/dist/cjs/chunks/ToggleGroupRoot.cjs +188 -0
- package/dist/cjs/chunks/TooltipProvider.cjs +87 -0
- package/dist/cjs/chunks/TooltipRoot.cjs +145 -0
- package/dist/cjs/chunks/VisuallyHidden.cjs +65 -0
- package/dist/cjs/chunks/VisuallyHiddenInput.cjs +146 -0
- package/dist/cjs/chunks/alert.cjs +2 -2
- package/dist/cjs/chunks/alpha-slider.cjs +1 -1
- package/dist/cjs/chunks/badge.cjs +2 -2
- package/dist/cjs/chunks/button.cjs +4 -3
- package/dist/cjs/chunks/checkbox-card.cjs +10 -8
- package/dist/cjs/chunks/checkbox-label.cjs +11 -9
- package/dist/cjs/chunks/checkbox.cjs +234 -9
- package/dist/cjs/chunks/chunk.cjs +50 -0
- package/dist/cjs/chunks/clamp.cjs +75 -0
- package/dist/cjs/chunks/collapsible-content.cjs +105 -2
- package/dist/cjs/chunks/collapsible-trigger.cjs +51 -2
- package/dist/cjs/chunks/collapsible.cjs +6 -3
- package/dist/cjs/chunks/color-area.cjs +4 -4
- package/dist/cjs/chunks/color-picker.cjs +14 -13
- package/dist/cjs/chunks/color-swatch.cjs +3 -3
- package/dist/cjs/chunks/combobox-anchor.cjs +45 -3
- package/dist/cjs/chunks/combobox-empty.cjs +31 -3
- package/dist/cjs/chunks/combobox-group.cjs +6 -4
- package/dist/cjs/chunks/combobox-input.cjs +7 -5
- package/dist/cjs/chunks/combobox-item.cjs +8 -6
- package/dist/cjs/chunks/combobox-list.cjs +105 -7
- package/dist/cjs/chunks/combobox-root.cjs +22 -18
- package/dist/cjs/chunks/combobox-separator.cjs +4 -3
- package/dist/cjs/chunks/combobox-trigger.cjs +64 -4
- package/dist/cjs/chunks/combobox.cjs +38 -30
- package/dist/cjs/chunks/compact-button.cjs +4 -3
- package/dist/cjs/chunks/components.cjs +47 -47
- package/dist/cjs/chunks/content-divider.cjs +87 -2
- package/dist/cjs/chunks/core.cjs +3 -3
- package/dist/cjs/chunks/counter-input.cjs +884 -8
- package/dist/cjs/chunks/createContext.cjs +38 -0
- package/dist/cjs/chunks/digit-input-group.cjs +6 -4
- package/dist/cjs/chunks/digit-input-slot.cjs +243 -4
- package/dist/cjs/chunks/digit-input.cjs +8 -6
- package/dist/cjs/chunks/dist.cjs +524 -12084
- package/dist/cjs/chunks/dropdown-menu-content.cjs +542 -5
- package/dist/cjs/chunks/dropdown-menu-group.cjs +30 -3
- package/dist/cjs/chunks/dropdown-menu-item.cjs +125 -4
- package/dist/cjs/chunks/dropdown-menu-label.cjs +59 -4
- package/dist/cjs/chunks/dropdown-menu-separator.cjs +57 -3
- package/dist/cjs/chunks/dropdown-menu-sub-content.cjs +295 -5
- package/dist/cjs/chunks/dropdown-menu-sub-trigger.cjs +192 -4
- package/dist/cjs/chunks/dropdown-menu-sub.cjs +39 -2
- package/dist/cjs/chunks/dropdown-menu-trigger.cjs +91 -4
- package/dist/cjs/chunks/dropdown-menu.cjs +6 -4
- package/dist/cjs/chunks/extra-settings.cjs +5 -5
- package/dist/cjs/chunks/fancy-button.cjs +4 -3
- package/dist/cjs/chunks/file-upload-area.cjs +2 -2
- package/dist/cjs/chunks/getActiveElement.cjs +14 -0
- package/dist/cjs/chunks/handleAndDispatchCustomEvent.cjs +18 -0
- package/dist/cjs/chunks/hint-text.cjs +2 -2
- package/dist/cjs/chunks/hue-slider.cjs +1 -1
- package/dist/cjs/chunks/isValueEqualOrExist.cjs +24 -0
- package/dist/cjs/chunks/{label.cjs → label2.cjs} +6 -4
- package/dist/cjs/chunks/link-bubble.cjs +7 -7
- package/dist/cjs/chunks/link-button.cjs +4 -3
- package/dist/cjs/chunks/menus.cjs +53 -52
- package/dist/cjs/chunks/modal-body.cjs +1 -1
- package/dist/cjs/chunks/modal-close.cjs +3 -2
- package/dist/cjs/chunks/modal-content.cjs +8 -7
- package/dist/cjs/chunks/modal-footer.cjs +1 -1
- package/dist/cjs/chunks/modal-header.cjs +8 -5
- package/dist/cjs/chunks/modal-trigger.cjs +3 -2
- package/dist/cjs/chunks/modal.cjs +7 -4
- package/dist/cjs/chunks/nullish.cjs +11 -0
- package/dist/cjs/chunks/ohash.D__AXeF1.cjs +114 -0
- package/dist/cjs/chunks/pagination-content.cjs +86 -3
- package/dist/cjs/chunks/pagination-ellipsis.cjs +30 -3
- package/dist/cjs/chunks/pagination-first.cjs +39 -3
- package/dist/cjs/chunks/pagination-item.cjs +51 -2
- package/dist/cjs/chunks/pagination-last.cjs +39 -3
- package/dist/cjs/chunks/pagination-next.cjs +39 -3
- package/dist/cjs/chunks/pagination-previous.cjs +39 -3
- package/dist/cjs/chunks/pagination.cjs +6 -4
- package/dist/cjs/chunks/popover-content.cjs +704 -7
- package/dist/cjs/chunks/popover-trigger.cjs +62 -3
- package/dist/cjs/chunks/popover.cjs +5 -3
- package/dist/cjs/chunks/progress-bar.cjs +7 -5
- package/dist/cjs/chunks/progress-circle.cjs +7 -5
- package/dist/cjs/chunks/radio-group-card.cjs +10 -8
- package/dist/cjs/chunks/radio-group-item.cjs +304 -6
- package/dist/cjs/chunks/radio-group-label.cjs +11 -9
- package/dist/cjs/chunks/radio-group.cjs +7 -5
- package/dist/cjs/chunks/rich-editor.cjs +162 -162
- package/dist/cjs/chunks/scroll-area.cjs +142 -6
- package/dist/cjs/chunks/scroll-bar.cjs +895 -4
- package/dist/cjs/chunks/segmented-control-item.cjs +163 -3
- package/dist/cjs/chunks/segmented-control.cjs +8 -4
- package/dist/cjs/chunks/select-content.cjs +320 -6
- package/dist/cjs/chunks/select-group.cjs +3 -2
- package/dist/cjs/chunks/select-icon.cjs +1 -1
- package/dist/cjs/chunks/select-item.cjs +227 -5
- package/dist/cjs/chunks/select-label.cjs +35 -3
- package/dist/cjs/chunks/select-separator.cjs +28 -3
- package/dist/cjs/chunks/select-trigger.cjs +165 -4
- package/dist/cjs/chunks/select-value.cjs +65 -3
- package/dist/cjs/chunks/select.cjs +9 -4
- package/dist/cjs/chunks/sheet-close.cjs +4 -3
- package/dist/cjs/chunks/sheet-content.cjs +9 -7
- package/dist/cjs/chunks/sheet-description.cjs +4 -3
- package/dist/cjs/chunks/sheet-footer.cjs +2 -2
- package/dist/cjs/chunks/sheet-header.cjs +2 -2
- package/dist/cjs/chunks/sheet-title.cjs +4 -3
- package/dist/cjs/chunks/sheet-trigger.cjs +3 -2
- package/dist/cjs/chunks/sheet.cjs +7 -4
- package/dist/cjs/chunks/sidebar-content.cjs +1 -1
- package/dist/cjs/chunks/sidebar-element.cjs +3 -2
- package/dist/cjs/chunks/sidebar-footer.cjs +1 -1
- package/dist/cjs/chunks/sidebar-group-content.cjs +1 -1
- package/dist/cjs/chunks/sidebar-group-label.cjs +3 -2
- package/dist/cjs/chunks/sidebar-group.cjs +1 -1
- package/dist/cjs/chunks/sidebar-header.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-action.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-badge.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-button.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-item.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-sub-button.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-sub-item.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-sub.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu.cjs +1 -1
- package/dist/cjs/chunks/sidebar-provider.cjs +1 -1
- package/dist/cjs/chunks/sidebar-trigger.cjs +1 -1
- package/dist/cjs/chunks/sidebar.cjs +1 -1
- package/dist/cjs/chunks/slider.cjs +751 -7
- package/dist/cjs/chunks/social-button.cjs +4 -3
- package/dist/cjs/chunks/sonner-alert.cjs +2 -2
- package/dist/cjs/chunks/sonner.cjs +1 -1
- package/dist/cjs/chunks/status-badge.cjs +2 -2
- package/dist/cjs/chunks/switch.cjs +192 -9
- package/dist/cjs/chunks/tab-menu-content.cjs +82 -3
- package/dist/cjs/chunks/tab-menu-item.cjs +89 -4
- package/dist/cjs/chunks/tab-menu-list.cjs +61 -3
- package/dist/cjs/chunks/tab-menu.cjs +7 -4
- package/dist/cjs/chunks/table-body.cjs +2 -2
- package/dist/cjs/chunks/table-caption.cjs +2 -2
- package/dist/cjs/chunks/table-cell.cjs +2 -2
- package/dist/cjs/chunks/table-footer.cjs +2 -2
- package/dist/cjs/chunks/table-head.cjs +2 -2
- package/dist/cjs/chunks/table-header.cjs +1 -1
- package/dist/cjs/chunks/table-row.cjs +2 -2
- package/dist/cjs/chunks/table.cjs +2 -2
- package/dist/cjs/chunks/table2.cjs +2 -2
- package/dist/cjs/chunks/tag.cjs +4 -3
- package/dist/cjs/chunks/text-input-affix.cjs +1 -1
- package/dist/cjs/chunks/text-input-button.cjs +12 -6
- package/dist/cjs/chunks/text-input.cjs +9 -8
- package/dist/cjs/chunks/textarea.cjs +2 -2
- package/dist/cjs/chunks/tooltip-content.cjs +589 -7
- package/dist/cjs/chunks/tooltip-provider.cjs +5 -3
- package/dist/cjs/chunks/tooltip-root.cjs +5 -3
- package/dist/cjs/chunks/tooltip-trigger.cjs +109 -3
- package/dist/cjs/chunks/tooltip.cjs +8 -5
- package/dist/cjs/chunks/use-color-model.cjs +1 -1
- package/dist/cjs/chunks/useArrowNavigation.cjs +65 -0
- package/dist/cjs/chunks/useComposing.cjs +27 -0
- package/dist/cjs/chunks/useDirection.cjs +20 -0
- package/dist/cjs/chunks/useEmitAsProps.cjs +34 -0
- package/dist/cjs/chunks/useFocusGuards.cjs +40 -0
- package/dist/cjs/chunks/useFormControl.cjs +14 -0
- package/dist/cjs/chunks/useForwardExpose.cjs +64 -0
- package/dist/cjs/chunks/useForwardProps.cjs +40 -0
- package/dist/cjs/chunks/useForwardPropsEmits.cjs +20 -0
- package/dist/cjs/chunks/useForwardScopeId.cjs +31 -0
- package/dist/cjs/chunks/useHideOthers.cjs +138 -0
- package/dist/cjs/chunks/useId.cjs +30 -0
- package/dist/cjs/chunks/useKbd.cjs +46 -0
- package/dist/cjs/chunks/useNonce.cjs +15 -0
- package/dist/cjs/chunks/usePrimitiveElement.cjs +18 -0
- package/dist/cjs/chunks/useSize.cjs +55 -0
- package/dist/cjs/chunks/useTypeahead.cjs +69 -0
- package/dist/cjs/chunks/utils.cjs +117 -0
- package/dist/cjs/chunks/utils2.cjs +73 -0
- package/dist/cjs/chunks/utils3.cjs +20 -0
- package/dist/cjs/command-group.cjs +6 -4
- package/dist/cjs/command-input.cjs +9 -6
- package/dist/cjs/command-item.cjs +6 -3
- package/dist/cjs/command-list.cjs +14 -7
- package/dist/cjs/command-root.cjs +20 -16
- package/dist/cjs/command-separator.cjs +4 -3
- package/dist/cjs/config.cjs +2 -2
- package/dist/cjs/index.cjs +47 -47
- package/dist/cjs/label.cjs +1 -1
- package/dist/cjs/use-delegated-props.cjs +1 -1
- package/dist/cjs/use-sidebar.cjs +2 -2
- package/dist/cjs/use-user-select.cjs +1 -1
- package/dist/components/alert/alert.d.ts +17 -14
- package/dist/components/badge/badge.d.ts +2 -2
- package/dist/components/badge/status-badge.d.ts +2 -2
- package/dist/components/button/button.d.ts +11 -8
- package/dist/components/button/compact-button.d.ts +4 -4
- package/dist/components/button/fancy-button.d.ts +11 -8
- package/dist/components/button/link-button.d.ts +11 -8
- package/dist/components/button/social-button.d.ts +2 -2
- package/dist/components/checkbox/checkbox-card.d.ts +1 -1
- package/dist/components/checkbox/checkbox-label.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +3 -3
- package/dist/components/collapsible/collapsible-content.d.ts +7 -4
- package/dist/components/collapsible/collapsible-trigger.d.ts +7 -4
- package/dist/components/collapsible/collapsible.d.ts +12 -9
- package/dist/components/color-picker/alpha-slider.d.ts +2 -2
- package/dist/components/color-picker/color-area.d.ts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +11 -8
- package/dist/components/color-picker/color-swatch.d.ts +2 -2
- package/dist/components/color-picker/composable/use-color-model.d.ts +1 -1
- package/dist/components/combobox/combobox-anchor.d.ts +1 -1
- package/dist/components/combobox/combobox-empty.d.ts +1 -1
- package/dist/components/combobox/combobox-group.d.ts +1 -1
- package/dist/components/combobox/combobox-input.d.ts +1 -1
- package/dist/components/combobox/combobox-item.d.ts +13 -10
- package/dist/components/combobox/combobox-list.d.ts +8 -8
- package/dist/components/combobox/combobox-root.d.ts +11 -7
- package/dist/components/combobox/combobox-separator.d.ts +1 -1
- package/dist/components/combobox/combobox-trigger.d.ts +9 -6
- package/dist/components/combobox/combobox.d.ts +26 -19
- package/dist/components/content-divider/content-divider.d.ts +3 -3
- package/dist/components/counter-input/counter-input.d.ts +2 -2
- package/dist/components/digit-input/digit-input-group.d.ts +1 -1
- package/dist/components/digit-input/digit-input-slot.d.ts +1 -1
- package/dist/components/digit-input/digit-input.d.ts +25 -24
- package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +7 -7
- package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -7
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/components/file-upload/file-upload-area.d.ts +8 -7
- package/dist/components/hint-text/hint-text.d.ts +2 -2
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/modal/modal-close.d.ts +1 -1
- package/dist/components/modal/modal-content.d.ts +7 -7
- package/dist/components/modal/modal-trigger.d.ts +1 -1
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/pagination/pagination-content.d.ts +14 -11
- package/dist/components/pagination/pagination-ellipsis.d.ts +7 -4
- package/dist/components/pagination/pagination-first.d.ts +7 -4
- package/dist/components/pagination/pagination-item.d.ts +7 -4
- package/dist/components/pagination/pagination-last.d.ts +7 -4
- package/dist/components/pagination/pagination-next.d.ts +7 -4
- package/dist/components/pagination/pagination-previous.d.ts +7 -4
- package/dist/components/pagination/pagination.d.ts +24 -21
- package/dist/components/popover/popover-content.d.ts +22 -19
- package/dist/components/popover/popover-trigger.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/progress/progress-bar.d.ts +1 -1
- package/dist/components/progress/progress-circle.d.ts +1 -1
- package/dist/components/radio-group/radio-group-card.d.ts +1 -1
- package/dist/components/radio-group/radio-group-item.d.ts +1 -1
- package/dist/components/radio-group/radio-group-label.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +3 -3
- package/dist/components/scroll-area/scroll-area.d.ts +1 -1
- package/dist/components/scroll-area/scroll-bar.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts +3 -3
- package/dist/components/select/select-content.d.ts +3 -3
- package/dist/components/select/select-group.d.ts +1 -1
- package/dist/components/select/select-item.d.ts +1 -1
- package/dist/components/select/select-label.d.ts +1 -1
- package/dist/components/select/select-separator.d.ts +1 -1
- package/dist/components/select/select-trigger.d.ts +1 -1
- package/dist/components/select/select-value.d.ts +1 -1
- package/dist/components/select/select.d.ts +3 -3
- package/dist/components/sheet/sheet-close.d.ts +7 -4
- package/dist/components/sheet/sheet-content.d.ts +16 -13
- package/dist/components/sheet/sheet-description.d.ts +7 -4
- package/dist/components/sheet/sheet-footer.d.ts +6 -3
- package/dist/components/sheet/sheet-header.d.ts +6 -3
- package/dist/components/sheet/sheet-title.d.ts +7 -4
- package/dist/components/sheet/sheet-trigger.d.ts +7 -4
- package/dist/components/sheet/sheet.d.ts +1 -1
- package/dist/components/sidebar/sidebar-element.d.ts +9 -6
- package/dist/components/sidebar/sidebar-footer.d.ts +6 -3
- package/dist/components/sidebar/sidebar-group-label.d.ts +1 -1
- package/dist/components/sidebar/sidebar-header.d.ts +6 -3
- package/dist/components/sidebar/sidebar-menu-action.d.ts +9 -6
- package/dist/components/sidebar/sidebar-menu-badge.d.ts +2 -2
- package/dist/components/sidebar/sidebar-menu-button.d.ts +2 -2
- package/dist/components/sidebar/sidebar-menu-sub-button.d.ts +11 -8
- package/dist/components/sidebar/sidebar-separator.d.ts +1 -1
- package/dist/components/sidebar/sidebar.d.ts +11 -8
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/sonner/sonner.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/components/tab-menu/tab-menu-content.d.ts +1 -1
- package/dist/components/tab-menu/tab-menu-item.d.ts +1 -1
- package/dist/components/tab-menu/tab-menu-list.d.ts +1 -1
- package/dist/components/tab-menu/tab-menu.d.ts +3 -3
- package/dist/components/table/table-body.d.ts +6 -3
- package/dist/components/table/table-caption.d.ts +6 -3
- package/dist/components/table/table-cell.d.ts +8 -5
- package/dist/components/table/table-empty.d.ts +8 -5
- package/dist/components/table/table-footer.d.ts +6 -3
- package/dist/components/table/table-head.d.ts +8 -5
- package/dist/components/table/table-header.d.ts +6 -3
- package/dist/components/table/table-row.d.ts +8 -5
- package/dist/components/table/table.d.ts +6 -3
- package/dist/components/tag/tag.d.ts +11 -8
- package/dist/components/text-input/text-input-button.d.ts +1 -1
- package/dist/components/text-input/text-input.d.ts +24 -20
- package/dist/components/textarea/textarea.d.ts +9 -8
- package/dist/components/tooltip/tooltip-content.d.ts +10 -7
- package/dist/components/tooltip/tooltip-provider.d.ts +9 -6
- package/dist/components/tooltip/tooltip-root.d.ts +10 -7
- package/dist/components/tooltip/tooltip-trigger.d.ts +7 -4
- package/dist/components/tooltip/tooltip.d.ts +10 -7
- package/dist/es/chunks/BubbleSelect.js +290 -0
- package/dist/es/chunks/CollapsibleRoot.js +78 -0
- package/dist/es/chunks/Collection.js +73 -0
- package/dist/es/chunks/ComboboxContent.js +436 -0
- package/dist/es/chunks/ComboboxGroup.js +78 -0
- package/dist/es/chunks/ComboboxInput.js +260 -0
- package/dist/es/chunks/ComboboxItem.js +189 -0
- package/dist/es/chunks/ComboboxLabel.js +41 -0
- package/dist/es/chunks/ComboboxRoot.js +671 -0
- package/dist/es/chunks/ComboboxSeparator.js +29 -0
- package/dist/es/chunks/ConfigProvider.js +6 -0
- package/dist/es/chunks/DialogClose.js +35 -0
- package/dist/es/chunks/DialogDescription.js +32 -0
- package/dist/es/chunks/DialogPortal.js +503 -0
- package/dist/es/chunks/DialogRoot.js +69 -0
- package/dist/es/chunks/DialogTitle.js +32 -0
- package/dist/es/chunks/DialogTrigger.js +51 -0
- package/dist/es/chunks/DismissableLayer.js +280 -0
- package/dist/es/chunks/DropdownMenuPortal.js +67 -0
- package/dist/es/chunks/DropdownMenuRoot.js +75 -0
- package/dist/es/chunks/FocusScope.js +356 -0
- package/dist/es/chunks/Label.js +36 -0
- package/dist/es/chunks/MenuAnchor.js +31 -0
- package/dist/es/chunks/MenuContentImpl.js +359 -0
- package/dist/es/chunks/MenuGroup.js +32 -0
- package/dist/es/chunks/MenuItemImpl.js +94 -0
- package/dist/es/chunks/MenuRoot.js +84 -0
- package/dist/es/chunks/MenuSub.js +56 -0
- package/dist/es/chunks/PaginationRoot.js +89 -0
- package/dist/es/chunks/PinInputRoot.js +141 -0
- package/dist/es/chunks/PopoverRoot.js +61 -0
- package/dist/es/chunks/PopperAnchor.js +42 -0
- package/dist/es/chunks/PopperArrow.js +146 -0
- package/dist/es/chunks/PopperContent.js +2089 -0
- package/dist/es/chunks/PopperRoot.js +20 -0
- package/dist/es/chunks/Presence.js +182 -0
- package/dist/es/chunks/Primitive.js +62 -0
- package/dist/es/chunks/ProgressIndicator.js +149 -0
- package/dist/es/chunks/RadioGroupRoot.js +131 -0
- package/dist/es/chunks/RovingFocusGroup.js +134 -0
- package/dist/es/chunks/RovingFocusItem.js +108 -0
- package/dist/es/chunks/SelectGroup.js +32 -0
- package/dist/es/chunks/SelectItemAlignedPosition.js +563 -0
- package/dist/es/chunks/TabsRoot.js +102 -0
- package/dist/es/chunks/Teleport.js +45 -0
- package/dist/es/chunks/ToggleGroupRoot.js +176 -0
- package/dist/es/chunks/TooltipProvider.js +75 -0
- package/dist/es/chunks/TooltipRoot.js +127 -0
- package/dist/es/chunks/VisuallyHidden.js +59 -0
- package/dist/es/chunks/VisuallyHiddenInput.js +140 -0
- package/dist/es/chunks/alert.js +1 -1
- package/dist/es/chunks/badge.js +1 -1
- package/dist/es/chunks/button.js +3 -3
- package/dist/es/chunks/checkbox-card.js +9 -8
- package/dist/es/chunks/checkbox-label.js +10 -9
- package/dist/es/chunks/checkbox.js +234 -10
- package/dist/es/chunks/clamp.js +64 -0
- package/dist/es/chunks/collapsible-content.js +105 -3
- package/dist/es/chunks/collapsible-trigger.js +50 -2
- package/dist/es/chunks/collapsible.js +5 -3
- package/dist/es/chunks/color-area.js +3 -3
- package/dist/es/chunks/color-picker.js +13 -13
- package/dist/es/chunks/color-swatch.js +2 -2
- package/dist/es/chunks/combobox-anchor.js +45 -4
- package/dist/es/chunks/combobox-empty.js +30 -4
- package/dist/es/chunks/combobox-group.js +5 -4
- package/dist/es/chunks/combobox-input.js +6 -5
- package/dist/es/chunks/combobox-item.js +7 -6
- package/dist/es/chunks/combobox-list.js +104 -8
- package/dist/es/chunks/combobox-root.js +21 -18
- package/dist/es/chunks/combobox-separator.js +3 -3
- package/dist/es/chunks/combobox-trigger.js +63 -5
- package/dist/es/chunks/combobox.js +38 -31
- package/dist/es/chunks/compact-button.js +3 -3
- package/dist/es/chunks/components.js +46 -46
- package/dist/es/chunks/content-divider.js +87 -3
- package/dist/es/chunks/core.js +2 -2
- package/dist/es/chunks/counter-input.js +884 -9
- package/dist/es/chunks/createContext.js +32 -0
- package/dist/es/chunks/digit-input-group.js +5 -4
- package/dist/es/chunks/digit-input-slot.js +242 -5
- package/dist/es/chunks/digit-input.js +7 -6
- package/dist/es/chunks/dist.js +486 -11478
- package/dist/es/chunks/dropdown-menu-content.js +541 -6
- package/dist/es/chunks/dropdown-menu-group.js +29 -4
- package/dist/es/chunks/dropdown-menu-item.js +125 -5
- package/dist/es/chunks/dropdown-menu-label.js +58 -5
- package/dist/es/chunks/dropdown-menu-separator.js +56 -4
- package/dist/es/chunks/dropdown-menu-sub-content.js +294 -6
- package/dist/es/chunks/dropdown-menu-sub-trigger.js +192 -5
- package/dist/es/chunks/dropdown-menu-sub.js +40 -4
- package/dist/es/chunks/dropdown-menu-trigger.js +90 -5
- package/dist/es/chunks/dropdown-menu.js +5 -4
- package/dist/es/chunks/extra-settings.js +4 -4
- package/dist/es/chunks/fancy-button.js +3 -3
- package/dist/es/chunks/file-upload-area.js +1 -1
- package/dist/es/chunks/getActiveElement.js +9 -0
- package/dist/es/chunks/handleAndDispatchCustomEvent.js +13 -0
- package/dist/es/chunks/hint-text.js +1 -1
- package/dist/es/chunks/isValueEqualOrExist.js +19 -0
- package/dist/es/chunks/{label.js → label2.js} +5 -4
- package/dist/es/chunks/link-bubble.js +6 -6
- package/dist/es/chunks/link-button.js +3 -3
- package/dist/es/chunks/menus.js +2 -2
- package/dist/es/chunks/modal-close.js +2 -2
- package/dist/es/chunks/modal-content.js +7 -7
- package/dist/es/chunks/modal-header.js +7 -5
- package/dist/es/chunks/modal-trigger.js +2 -2
- package/dist/es/chunks/modal.js +6 -4
- package/dist/es/chunks/nullish.js +6 -0
- package/dist/es/chunks/ohash.D__AXeF1.js +109 -0
- package/dist/es/chunks/pagination-content.js +85 -4
- package/dist/es/chunks/pagination-ellipsis.js +29 -4
- package/dist/es/chunks/pagination-first.js +39 -4
- package/dist/es/chunks/pagination-item.js +51 -3
- package/dist/es/chunks/pagination-last.js +39 -4
- package/dist/es/chunks/pagination-next.js +39 -4
- package/dist/es/chunks/pagination-previous.js +39 -4
- package/dist/es/chunks/pagination.js +5 -4
- package/dist/es/chunks/popover-content.js +704 -8
- package/dist/es/chunks/popover-trigger.js +61 -4
- package/dist/es/chunks/popover.js +4 -3
- package/dist/es/chunks/progress-bar.js +6 -5
- package/dist/es/chunks/progress-circle.js +6 -5
- package/dist/es/chunks/radio-group-card.js +9 -8
- package/dist/es/chunks/radio-group-item.js +304 -7
- package/dist/es/chunks/radio-group-label.js +10 -9
- package/dist/es/chunks/radio-group.js +6 -5
- package/dist/es/chunks/rich-editor.js +5 -5
- package/dist/es/chunks/scroll-area.js +141 -7
- package/dist/es/chunks/scroll-bar.js +883 -6
- package/dist/es/chunks/segmented-control-item.js +162 -4
- package/dist/es/chunks/segmented-control.js +7 -4
- package/dist/es/chunks/select-content.js +319 -7
- package/dist/es/chunks/select-group.js +2 -2
- package/dist/es/chunks/select-item.js +226 -6
- package/dist/es/chunks/select-label.js +33 -3
- package/dist/es/chunks/select-separator.js +27 -4
- package/dist/es/chunks/select-trigger.js +164 -5
- package/dist/es/chunks/select-value.js +64 -4
- package/dist/es/chunks/select.js +8 -4
- package/dist/es/chunks/sheet-close.js +3 -3
- package/dist/es/chunks/sheet-content.js +8 -7
- package/dist/es/chunks/sheet-description.js +3 -3
- package/dist/es/chunks/sheet-footer.js +1 -1
- package/dist/es/chunks/sheet-header.js +1 -1
- package/dist/es/chunks/sheet-title.js +3 -3
- package/dist/es/chunks/sheet-trigger.js +2 -2
- package/dist/es/chunks/sheet.js +6 -4
- package/dist/es/chunks/sidebar-element.js +2 -2
- package/dist/es/chunks/sidebar-group-label.js +2 -2
- package/dist/es/chunks/sidebar-menu-action.js +2 -2
- package/dist/es/chunks/sidebar-menu-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
- package/dist/es/chunks/slider.js +751 -8
- package/dist/es/chunks/social-button.js +3 -3
- package/dist/es/chunks/sonner-alert.js +1 -1
- package/dist/es/chunks/status-badge.js +1 -1
- package/dist/es/chunks/switch.js +192 -10
- package/dist/es/chunks/tab-menu-content.js +81 -4
- package/dist/es/chunks/tab-menu-item.js +89 -5
- package/dist/es/chunks/tab-menu-list.js +60 -4
- package/dist/es/chunks/tab-menu.js +6 -4
- package/dist/es/chunks/table-body.js +1 -1
- package/dist/es/chunks/table-caption.js +1 -1
- package/dist/es/chunks/table-cell.js +1 -1
- package/dist/es/chunks/table-footer.js +1 -1
- package/dist/es/chunks/table-head.js +1 -1
- package/dist/es/chunks/table-row.js +1 -1
- package/dist/es/chunks/table.js +1 -1
- package/dist/es/chunks/table2.js +1 -1
- package/dist/es/chunks/tag.js +3 -3
- package/dist/es/chunks/text-input-button.js +11 -5
- package/dist/es/chunks/text-input.js +8 -8
- package/dist/es/chunks/textarea.js +1 -1
- package/dist/es/chunks/tooltip-content.js +589 -8
- package/dist/es/chunks/tooltip-provider.js +4 -3
- package/dist/es/chunks/tooltip-root.js +4 -3
- package/dist/es/chunks/tooltip-trigger.js +109 -4
- package/dist/es/chunks/tooltip.js +7 -5
- package/dist/es/chunks/useArrowNavigation.js +60 -0
- package/dist/es/chunks/useComposing.js +21 -0
- package/dist/es/chunks/useDirection.js +14 -0
- package/dist/es/chunks/useEmitAsProps.js +28 -0
- package/dist/es/chunks/useFocusGuards.js +34 -0
- package/dist/es/chunks/useFormControl.js +8 -0
- package/dist/es/chunks/useForwardExpose.js +58 -0
- package/dist/es/chunks/useForwardProps.js +34 -0
- package/dist/es/chunks/useForwardPropsEmits.js +14 -0
- package/dist/es/chunks/useForwardScopeId.js +25 -0
- package/dist/es/chunks/useHideOthers.js +132 -0
- package/dist/es/chunks/useId.js +23 -0
- package/dist/es/chunks/useKbd.js +41 -0
- package/dist/es/chunks/useNonce.js +9 -0
- package/dist/es/chunks/usePrimitiveElement.js +12 -0
- package/dist/es/chunks/useSize.js +49 -0
- package/dist/es/chunks/useTypeahead.js +64 -0
- package/dist/es/chunks/utils.js +58 -0
- package/dist/es/chunks/utils2.js +44 -0
- package/dist/es/chunks/utils3.js +9 -0
- package/dist/es/command-group.js +5 -4
- package/dist/es/command-input.js +8 -6
- package/dist/es/command-item.js +5 -3
- package/dist/es/command-list.js +13 -7
- package/dist/es/command-root.js +19 -16
- package/dist/es/command-separator.js +3 -3
- package/dist/es/config.js +1 -1
- package/dist/es/index.js +46 -46
- package/dist/es/label.js +1 -1
- package/dist/es/use-sidebar.js +2 -2
- package/dist/utils/sonner.d.ts +1 -1
- package/package.json +11 -11
- package/src/components/alert/alert.vue +8 -10
- package/src/components/badge/badge.vue +7 -9
- package/src/components/badge/status-badge.vue +10 -11
- package/src/components/button/button.vue +9 -10
- package/src/components/button/compact-button.vue +8 -9
- package/src/components/button/fancy-button.vue +10 -11
- package/src/components/button/link-button.vue +8 -9
- package/src/components/button/social-button.vue +5 -7
- package/src/components/checkbox/checkbox-card.vue +2 -2
- package/src/components/checkbox/checkbox-label.vue +2 -1
- package/src/components/checkbox/checkbox.vue +2 -2
- package/src/components/checkbox/stories/checkbox.stories.ts +4 -5
- package/src/components/collapsible/collapsible-content.vue +4 -6
- package/src/components/collapsible/collapsible-trigger.vue +4 -6
- package/src/components/collapsible/collapsible.vue +4 -6
- package/src/components/color-picker/alpha-slider.vue +8 -10
- package/src/components/color-picker/color-area.vue +8 -10
- package/src/components/color-picker/color-picker.vue +43 -43
- package/src/components/color-picker/color-swatch.vue +11 -13
- package/src/components/color-picker/composable/use-color-model.ts +2 -1
- package/src/components/color-picker/composable/use-user-select.ts +2 -1
- package/src/components/combobox/combobox-anchor.vue +4 -3
- package/src/components/combobox/combobox-empty.vue +4 -3
- package/src/components/combobox/combobox-group.vue +5 -4
- package/src/components/combobox/combobox-input.vue +6 -3
- package/src/components/combobox/combobox-item.vue +19 -20
- package/src/components/combobox/combobox-list.vue +7 -6
- package/src/components/combobox/combobox-root.vue +2 -1
- package/src/components/combobox/combobox-separator.vue +4 -3
- package/src/components/combobox/combobox-trigger.vue +25 -23
- package/src/components/combobox/combobox.vue +38 -32
- package/src/components/command/command-group.vue +4 -3
- package/src/components/command/command-input.vue +4 -2
- package/src/components/command/command-item.vue +4 -3
- package/src/components/command/command-list.vue +5 -6
- package/src/components/command/command-root.vue +4 -3
- package/src/components/command/command-separator.vue +4 -3
- package/src/components/content-divider/content-divider.vue +7 -9
- package/src/components/counter-input/counter-input.vue +2 -1
- package/src/components/digit-input/digit-input-group.vue +2 -1
- package/src/components/digit-input/digit-input-slot.vue +2 -1
- package/src/components/digit-input/digit-input.vue +8 -5
- package/src/components/digit-input/stories/digit-input.stories.ts +13 -3
- package/src/components/dropdown-menu/dropdown-menu-content.vue +4 -4
- package/src/components/dropdown-menu/dropdown-menu-group.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-item.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-label.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-separator.vue +3 -2
- package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +4 -4
- package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +3 -2
- package/src/components/dropdown-menu/dropdown-menu-sub.vue +3 -3
- package/src/components/dropdown-menu/dropdown-menu-trigger.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu.vue +2 -2
- package/src/components/file-upload/file-upload-area.vue +26 -27
- package/src/components/file-upload/stories/file-upload-area.stories.ts +2 -1
- package/src/components/hint-text/hint-text.vue +4 -6
- package/src/components/label/label.vue +2 -1
- package/src/components/modal/modal-close.vue +2 -1
- package/src/components/modal/modal-content.vue +2 -2
- package/src/components/modal/modal-header.vue +1 -1
- package/src/components/modal/modal-trigger.vue +2 -2
- package/src/components/modal/modal.vue +2 -2
- package/src/components/pagination/pagination-content.vue +6 -7
- package/src/components/pagination/pagination-ellipsis.vue +6 -7
- package/src/components/pagination/pagination-first.vue +6 -7
- package/src/components/pagination/pagination-item.vue +6 -7
- package/src/components/pagination/pagination-last.vue +6 -7
- package/src/components/pagination/pagination-next.vue +6 -7
- package/src/components/pagination/pagination-previous.vue +7 -8
- package/src/components/pagination/pagination.vue +7 -8
- package/src/components/popover/popover-content.vue +19 -20
- package/src/components/popover/popover-trigger.vue +2 -1
- package/src/components/popover/popover.vue +2 -2
- package/src/components/popover/stories/popover.stories.ts +1 -1
- package/src/components/progress/progress-bar.vue +5 -3
- package/src/components/progress/progress-circle.vue +3 -2
- package/src/components/radio-group/radio-group-card.vue +2 -2
- package/src/components/radio-group/radio-group-item.vue +2 -1
- package/src/components/radio-group/radio-group-label.vue +2 -1
- package/src/components/radio-group/radio-group.vue +2 -1
- package/src/components/rich-editor/config.ts +1 -1
- package/src/components/rich-editor/extra-settings.vue +1 -1
- package/src/components/rich-editor/link-bubble.vue +1 -1
- package/src/components/rich-editor/rich-editor.vue +3 -2
- package/src/components/scroll-area/scroll-area.vue +3 -2
- package/src/components/scroll-area/scroll-bar.vue +2 -1
- package/src/components/segmented-control/segmented-control-item.vue +2 -1
- package/src/components/segmented-control/segmented-control.vue +2 -1
- package/src/components/select/select-content.vue +4 -3
- package/src/components/select/select-group.vue +2 -1
- package/src/components/select/select-item.vue +2 -1
- package/src/components/select/select-label.vue +2 -1
- package/src/components/select/select-separator.vue +2 -1
- package/src/components/select/select-trigger.vue +2 -1
- package/src/components/select/select-value.vue +2 -1
- package/src/components/select/select.vue +2 -1
- package/src/components/sheet/sheet-close.vue +4 -6
- package/src/components/sheet/sheet-content.vue +7 -9
- package/src/components/sheet/sheet-description.vue +6 -8
- package/src/components/sheet/sheet-footer.vue +2 -4
- package/src/components/sheet/sheet-header.vue +2 -4
- package/src/components/sheet/sheet-title.vue +6 -8
- package/src/components/sheet/sheet-trigger.vue +4 -6
- package/src/components/sheet/sheet.vue +2 -2
- package/src/components/sidebar/sidebar-element.vue +6 -8
- package/src/components/sidebar/sidebar-footer.vue +2 -4
- package/src/components/sidebar/sidebar-group-label.vue +2 -2
- package/src/components/sidebar/sidebar-header.vue +2 -4
- package/src/components/sidebar/sidebar-menu-action.vue +6 -8
- package/src/components/sidebar/sidebar-menu-badge.vue +6 -8
- package/src/components/sidebar/sidebar-menu-button.vue +2 -2
- package/src/components/sidebar/sidebar-menu-sub-button.vue +8 -10
- package/src/components/sidebar/sidebar-separator.vue +2 -4
- package/src/components/sidebar/sidebar.vue +6 -8
- package/src/components/slider/slider.vue +2 -1
- package/src/components/sonner/sonner-alert.vue +2 -1
- package/src/components/sonner/sonner.vue +4 -5
- package/src/components/switch/stories/switch.stories.ts +3 -3
- package/src/components/switch/switch.vue +2 -1
- package/src/components/tab-menu/tab-menu-content.vue +2 -1
- package/src/components/tab-menu/tab-menu-item.vue +2 -1
- package/src/components/tab-menu/tab-menu-list.vue +2 -1
- package/src/components/tab-menu/tab-menu.vue +2 -2
- package/src/components/table/table-body.vue +2 -4
- package/src/components/table/table-caption.vue +2 -4
- package/src/components/table/table-cell.vue +5 -7
- package/src/components/table/table-empty.vue +5 -7
- package/src/components/table/table-footer.vue +2 -4
- package/src/components/table/table-head.vue +5 -7
- package/src/components/table/table-header.vue +2 -4
- package/src/components/table/table-row.vue +5 -7
- package/src/components/table/table.vue +2 -4
- package/src/components/tag/tag.vue +10 -11
- package/src/components/text-input/text-input-button.vue +3 -2
- package/src/components/text-input/text-input.vue +9 -10
- package/src/components/textarea/textarea.vue +8 -10
- package/src/components/tooltip/tooltip-content.vue +14 -15
- package/src/components/tooltip/tooltip-provider.vue +4 -5
- package/src/components/tooltip/tooltip-root.vue +4 -5
- package/src/components/tooltip/tooltip-trigger.vue +4 -5
- package/src/components/tooltip/tooltip.vue +12 -14
- package/src/composables/use-delegated-props.ts +2 -1
- package/src/composables/use-sidebar.ts +1 -1
- package/src/utils/sonner.ts +2 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_chunk = require("./chunk.cjs");
|
|
2
|
+
const require_ConfigProvider = require("./ConfigProvider.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
vue = require_chunk.__toESM(vue, 1);
|
|
5
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useId.js
|
|
6
|
+
var count = 0;
|
|
7
|
+
/**
|
|
8
|
+
* The `useId` function generates a unique identifier using a provided deterministic ID,
|
|
9
|
+
* a configured `<ConfigProvider>` ID source, Vue's native `useId`, or a fallback counter.
|
|
10
|
+
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
11
|
+
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
12
|
+
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
13
|
+
* the configured ID source.
|
|
14
|
+
*/
|
|
15
|
+
function useId(deterministicId, prefix = "reka") {
|
|
16
|
+
if (deterministicId) return deterministicId;
|
|
17
|
+
let id;
|
|
18
|
+
const configProviderContext = require_ConfigProvider.injectConfigProviderContext({ useId: void 0 });
|
|
19
|
+
if (configProviderContext.useId) id = configProviderContext.useId();
|
|
20
|
+
else if ("useId" in vue) id = vue.useId?.();
|
|
21
|
+
else id = `${++count}`;
|
|
22
|
+
return prefix ? `${prefix}-${id}` : id;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
Object.defineProperty(exports, "useId", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function() {
|
|
28
|
+
return useId;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useKbd.js
|
|
2
|
+
function useKbd() {
|
|
3
|
+
return {
|
|
4
|
+
ALT: "Alt",
|
|
5
|
+
ARROW_DOWN: "ArrowDown",
|
|
6
|
+
ARROW_LEFT: "ArrowLeft",
|
|
7
|
+
ARROW_RIGHT: "ArrowRight",
|
|
8
|
+
ARROW_UP: "ArrowUp",
|
|
9
|
+
BACKSPACE: "Backspace",
|
|
10
|
+
CAPS_LOCK: "CapsLock",
|
|
11
|
+
CONTROL: "Control",
|
|
12
|
+
DELETE: "Delete",
|
|
13
|
+
END: "End",
|
|
14
|
+
ENTER: "Enter",
|
|
15
|
+
ESCAPE: "Escape",
|
|
16
|
+
F1: "F1",
|
|
17
|
+
F10: "F10",
|
|
18
|
+
F11: "F11",
|
|
19
|
+
F12: "F12",
|
|
20
|
+
F2: "F2",
|
|
21
|
+
F3: "F3",
|
|
22
|
+
F4: "F4",
|
|
23
|
+
F5: "F5",
|
|
24
|
+
F6: "F6",
|
|
25
|
+
F7: "F7",
|
|
26
|
+
F8: "F8",
|
|
27
|
+
F9: "F9",
|
|
28
|
+
HOME: "Home",
|
|
29
|
+
META: "Meta",
|
|
30
|
+
PAGE_DOWN: "PageDown",
|
|
31
|
+
PAGE_UP: "PageUp",
|
|
32
|
+
SHIFT: "Shift",
|
|
33
|
+
SPACE: " ",
|
|
34
|
+
TAB: "Tab",
|
|
35
|
+
CTRL: "Control",
|
|
36
|
+
ASTERISK: "*",
|
|
37
|
+
SPACE_CODE: "Space"
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
Object.defineProperty(exports, "useKbd", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function() {
|
|
44
|
+
return useKbd;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_ConfigProvider = require("./ConfigProvider.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useNonce.js
|
|
5
|
+
function useNonce(nonce) {
|
|
6
|
+
const context = require_ConfigProvider.injectConfigProviderContext({ nonce: (0, vue.ref)() });
|
|
7
|
+
return (0, vue.computed)(() => nonce?.value || context.nonce?.value);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
Object.defineProperty(exports, "useNonce", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function() {
|
|
13
|
+
return useNonce;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_dist = require("./dist.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js
|
|
5
|
+
function usePrimitiveElement() {
|
|
6
|
+
const primitiveElement = (0, vue.ref)();
|
|
7
|
+
return {
|
|
8
|
+
primitiveElement,
|
|
9
|
+
currentElement: (0, vue.computed)(() => ["#text", "#comment"].includes(primitiveElement.value?.$el.nodeName) ? primitiveElement.value?.$el.nextElementSibling : require_dist.unrefElement(primitiveElement))
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
Object.defineProperty(exports, "usePrimitiveElement", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return usePrimitiveElement;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_dist = require("./dist.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useSize.js
|
|
5
|
+
function useSize(element) {
|
|
6
|
+
const size = (0, vue.ref)();
|
|
7
|
+
const width = (0, vue.computed)(() => size.value?.width ?? 0);
|
|
8
|
+
const height = (0, vue.computed)(() => size.value?.height ?? 0);
|
|
9
|
+
let resizeObserver;
|
|
10
|
+
(0, vue.onMounted)(() => {
|
|
11
|
+
const el = require_dist.unrefElement(element);
|
|
12
|
+
if (el) {
|
|
13
|
+
size.value = {
|
|
14
|
+
width: el.offsetWidth,
|
|
15
|
+
height: el.offsetHeight
|
|
16
|
+
};
|
|
17
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
18
|
+
if (!Array.isArray(entries)) return;
|
|
19
|
+
if (!entries.length) return;
|
|
20
|
+
const entry = entries[0];
|
|
21
|
+
let width$1;
|
|
22
|
+
let height$1;
|
|
23
|
+
if ("borderBoxSize" in entry) {
|
|
24
|
+
const borderSizeEntry = entry.borderBoxSize;
|
|
25
|
+
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
26
|
+
width$1 = borderSize.inlineSize;
|
|
27
|
+
height$1 = borderSize.blockSize;
|
|
28
|
+
} else {
|
|
29
|
+
width$1 = el.offsetWidth;
|
|
30
|
+
height$1 = el.offsetHeight;
|
|
31
|
+
}
|
|
32
|
+
size.value = {
|
|
33
|
+
width: width$1,
|
|
34
|
+
height: height$1
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
resizeObserver.observe(el, { box: "border-box" });
|
|
38
|
+
} else size.value = void 0;
|
|
39
|
+
});
|
|
40
|
+
(0, vue.onUnmounted)(() => {
|
|
41
|
+
resizeObserver?.disconnect();
|
|
42
|
+
resizeObserver = void 0;
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
width,
|
|
46
|
+
height
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
Object.defineProperty(exports, "useSize", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function() {
|
|
53
|
+
return useSize;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const require_getActiveElement = require("./getActiveElement.cjs");
|
|
2
|
+
const require_dist = require("./dist.cjs");
|
|
3
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useTypeahead.js
|
|
4
|
+
function useTypeahead(callback) {
|
|
5
|
+
const search = require_dist.refAutoReset("", 1e3);
|
|
6
|
+
const handleTypeaheadSearch = (key, items) => {
|
|
7
|
+
search.value = search.value + key;
|
|
8
|
+
if (callback) callback(key);
|
|
9
|
+
else {
|
|
10
|
+
const currentItem = require_getActiveElement.getActiveElement();
|
|
11
|
+
const itemsWithTextValue = items.map((item) => ({
|
|
12
|
+
...item,
|
|
13
|
+
textValue: item.value?.textValue ?? item.ref.textContent?.trim() ?? ""
|
|
14
|
+
}));
|
|
15
|
+
const currentMatch = itemsWithTextValue.find((item) => item.ref === currentItem);
|
|
16
|
+
const nextMatch = getNextMatch(itemsWithTextValue.map((item) => item.textValue), search.value, currentMatch?.textValue);
|
|
17
|
+
const newItem = itemsWithTextValue.find((item) => item.textValue === nextMatch);
|
|
18
|
+
if (newItem) newItem.ref.focus();
|
|
19
|
+
return newItem?.ref;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
const resetTypeahead = () => {
|
|
23
|
+
search.value = "";
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
search,
|
|
27
|
+
handleTypeaheadSearch,
|
|
28
|
+
resetTypeahead
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Wraps an array around itself at a given start index
|
|
33
|
+
* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
|
|
34
|
+
*/
|
|
35
|
+
function wrapArray(array, startIndex) {
|
|
36
|
+
return array.map((_, index) => array[(startIndex + index) % array.length]);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* This is the "meat" of the typeahead matching logic. It takes in all the values,
|
|
40
|
+
* the search and the current match, and returns the next match (or `undefined`).
|
|
41
|
+
*
|
|
42
|
+
* We normalize the search because if a user has repeatedly pressed a character,
|
|
43
|
+
* we want the exact same behavior as if we only had that one character
|
|
44
|
+
* (ie. cycle through options starting with that character)
|
|
45
|
+
*
|
|
46
|
+
* We also reorder the values by wrapping the array around the current match.
|
|
47
|
+
* This is so we always look forward from the current match, and picking the first
|
|
48
|
+
* match will always be the correct one.
|
|
49
|
+
*
|
|
50
|
+
* Finally, if the normalized search is exactly one character, we exclude the
|
|
51
|
+
* current match from the values because otherwise it would be the first to match always
|
|
52
|
+
* and focus would never move. This is as opposed to the regular case, where we
|
|
53
|
+
* don't want focus to move if the current match still matches.
|
|
54
|
+
*/
|
|
55
|
+
function getNextMatch(values, search, currentMatch) {
|
|
56
|
+
const normalizedSearch = search.length > 1 && Array.from(search).every((char) => char === search[0]) ? search[0] : search;
|
|
57
|
+
const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;
|
|
58
|
+
let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));
|
|
59
|
+
if (normalizedSearch.length === 1) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);
|
|
60
|
+
const nextMatch = wrappedValues.find((value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase()));
|
|
61
|
+
return nextMatch !== currentMatch ? nextMatch : void 0;
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
Object.defineProperty(exports, "useTypeahead", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function() {
|
|
67
|
+
return useTypeahead;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
const require_getActiveElement = require("./getActiveElement.cjs");
|
|
2
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/Menu/utils.js
|
|
3
|
+
var ITEM_SELECT = "menu.itemSelect";
|
|
4
|
+
var SELECTION_KEYS = ["Enter", " "];
|
|
5
|
+
var FIRST_KEYS = [
|
|
6
|
+
"ArrowDown",
|
|
7
|
+
"PageUp",
|
|
8
|
+
"Home"
|
|
9
|
+
];
|
|
10
|
+
var LAST_KEYS = [
|
|
11
|
+
"ArrowUp",
|
|
12
|
+
"PageDown",
|
|
13
|
+
"End"
|
|
14
|
+
];
|
|
15
|
+
var FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];
|
|
16
|
+
var SUB_OPEN_KEYS = {
|
|
17
|
+
ltr: [...SELECTION_KEYS, "ArrowRight"],
|
|
18
|
+
rtl: [...SELECTION_KEYS, "ArrowLeft"]
|
|
19
|
+
};
|
|
20
|
+
var SUB_CLOSE_KEYS = {
|
|
21
|
+
ltr: ["ArrowLeft"],
|
|
22
|
+
rtl: ["ArrowRight"]
|
|
23
|
+
};
|
|
24
|
+
function getOpenState(open) {
|
|
25
|
+
return open ? "open" : "closed";
|
|
26
|
+
}
|
|
27
|
+
function focusFirst(candidates) {
|
|
28
|
+
const PREVIOUSLY_FOCUSED_ELEMENT = require_getActiveElement.getActiveElement();
|
|
29
|
+
for (const candidate of candidates) {
|
|
30
|
+
if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
31
|
+
candidate.focus();
|
|
32
|
+
if (require_getActiveElement.getActiveElement() !== PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function isPointInPolygon(point, polygon) {
|
|
36
|
+
const { x, y } = point;
|
|
37
|
+
let inside = false;
|
|
38
|
+
for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
|
|
39
|
+
const xi = polygon[i].x;
|
|
40
|
+
const yi = polygon[i].y;
|
|
41
|
+
const xj = polygon[j].x;
|
|
42
|
+
const yj = polygon[j].y;
|
|
43
|
+
if (yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi) inside = !inside;
|
|
44
|
+
}
|
|
45
|
+
return inside;
|
|
46
|
+
}
|
|
47
|
+
function isPointerInGraceArea(event, area) {
|
|
48
|
+
if (!area) return false;
|
|
49
|
+
return isPointInPolygon({
|
|
50
|
+
x: event.clientX,
|
|
51
|
+
y: event.clientY
|
|
52
|
+
}, area);
|
|
53
|
+
}
|
|
54
|
+
function isMouseEvent(event) {
|
|
55
|
+
return event.pointerType === "mouse";
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
Object.defineProperty(exports, "FIRST_LAST_KEYS", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function() {
|
|
61
|
+
return FIRST_LAST_KEYS;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "ITEM_SELECT", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function() {
|
|
67
|
+
return ITEM_SELECT;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "LAST_KEYS", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function() {
|
|
73
|
+
return LAST_KEYS;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "SELECTION_KEYS", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function() {
|
|
79
|
+
return SELECTION_KEYS;
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "SUB_CLOSE_KEYS", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function() {
|
|
85
|
+
return SUB_CLOSE_KEYS;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "SUB_OPEN_KEYS", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function() {
|
|
91
|
+
return SUB_OPEN_KEYS;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "focusFirst", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function() {
|
|
97
|
+
return focusFirst;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "getOpenState", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function() {
|
|
103
|
+
return getOpenState;
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "isMouseEvent", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function() {
|
|
109
|
+
return isMouseEvent;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "isPointerInGraceArea", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function() {
|
|
115
|
+
return isPointerInGraceArea;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const require_getActiveElement = require("./getActiveElement.cjs");
|
|
2
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/RovingFocus/utils.js
|
|
3
|
+
var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
|
|
4
|
+
var EVENT_OPTIONS = {
|
|
5
|
+
bubbles: false,
|
|
6
|
+
cancelable: true
|
|
7
|
+
};
|
|
8
|
+
var MAP_KEY_TO_FOCUS_INTENT = {
|
|
9
|
+
ArrowLeft: "prev",
|
|
10
|
+
ArrowUp: "prev",
|
|
11
|
+
ArrowRight: "next",
|
|
12
|
+
ArrowDown: "next",
|
|
13
|
+
PageUp: "first",
|
|
14
|
+
Home: "first",
|
|
15
|
+
PageDown: "last",
|
|
16
|
+
End: "last"
|
|
17
|
+
};
|
|
18
|
+
function getDirectionAwareKey(key, dir) {
|
|
19
|
+
if (dir !== "rtl") return key;
|
|
20
|
+
return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
|
|
21
|
+
}
|
|
22
|
+
function getFocusIntent(event, orientation, dir) {
|
|
23
|
+
const key = getDirectionAwareKey(event.key, dir);
|
|
24
|
+
if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
|
|
25
|
+
if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
|
|
26
|
+
return MAP_KEY_TO_FOCUS_INTENT[key];
|
|
27
|
+
}
|
|
28
|
+
function focusFirst(candidates, preventScroll = false) {
|
|
29
|
+
const PREVIOUSLY_FOCUSED_ELEMENT = require_getActiveElement.getActiveElement();
|
|
30
|
+
for (const candidate of candidates) {
|
|
31
|
+
if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
32
|
+
candidate.focus({ preventScroll });
|
|
33
|
+
if (require_getActiveElement.getActiveElement() !== PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Wraps an array around itself at a given start index
|
|
38
|
+
* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
|
|
39
|
+
*/
|
|
40
|
+
function wrapArray(array, startIndex) {
|
|
41
|
+
return array.map((_, index) => array[(startIndex + index) % array.length]);
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
Object.defineProperty(exports, "ENTRY_FOCUS", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function() {
|
|
47
|
+
return ENTRY_FOCUS;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "EVENT_OPTIONS", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function() {
|
|
53
|
+
return EVENT_OPTIONS;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "focusFirst", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function() {
|
|
59
|
+
return focusFirst;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "getFocusIntent", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function() {
|
|
65
|
+
return getFocusIntent;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "wrapArray", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function() {
|
|
71
|
+
return wrapArray;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/Tabs/utils.js
|
|
2
|
+
function makeTriggerId(baseId, value) {
|
|
3
|
+
return `${baseId}-trigger-${value}`;
|
|
4
|
+
}
|
|
5
|
+
function makeContentId(baseId, value) {
|
|
6
|
+
return `${baseId}-content-${value}`;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, "makeContentId", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return makeContentId;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "makeTriggerId", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return makeTriggerId;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunks/chunk.cjs");
|
|
2
2
|
const require__plugin_vue_export_helper = require("./chunks/_plugin-vue_export-helper.cjs");
|
|
3
|
+
const require_ComboboxGroup = require("./chunks/ComboboxGroup.cjs");
|
|
4
|
+
const require_ComboboxLabel = require("./chunks/ComboboxLabel.cjs");
|
|
3
5
|
let vue = require("vue");
|
|
4
6
|
//#region src/components/command/command-group.vue?vue&type=script&setup=true&lang.ts
|
|
5
7
|
var command_group_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -17,8 +19,8 @@ var command_group_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
17
19
|
return delegated;
|
|
18
20
|
});
|
|
19
21
|
return (_ctx, _cache) => {
|
|
20
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
21
|
-
default: (0, vue.withCtx)(() => [_ctx.heading ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
22
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ComboboxGroup.ComboboxGroup_default), (0, vue.mergeProps)(delegatedProps.value, { class: ["celeste-command-group", props.class] }), {
|
|
23
|
+
default: (0, vue.withCtx)(() => [_ctx.heading ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ComboboxLabel.ComboboxLabel_default), {
|
|
22
24
|
key: 0,
|
|
23
25
|
class: "celeste-command-label"
|
|
24
26
|
}, {
|
|
@@ -32,6 +34,6 @@ var command_group_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
32
34
|
});
|
|
33
35
|
//#endregion
|
|
34
36
|
//#region src/components/command/command-group.vue
|
|
35
|
-
var command_group_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(command_group_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
37
|
+
var command_group_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(command_group_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-01f1de74"]]);
|
|
36
38
|
//#endregion
|
|
37
39
|
module.exports = command_group_default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunks/chunk.cjs");
|
|
2
2
|
const require_clsx = require("./chunks/clsx.cjs");
|
|
3
3
|
const require__plugin_vue_export_helper = require("./chunks/_plugin-vue_export-helper.cjs");
|
|
4
|
+
const require_useForwardProps = require("./chunks/useForwardProps.cjs");
|
|
5
|
+
const require_ComboboxInput = require("./chunks/ComboboxInput.cjs");
|
|
4
6
|
let vue = require("vue");
|
|
5
7
|
//#region src/components/command/command-input.vue?vue&type=script&setup=true&lang.ts
|
|
6
8
|
var _hoisted_1 = {
|
|
@@ -11,21 +13,22 @@ var command_input_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
11
13
|
inheritAttrs: false,
|
|
12
14
|
__name: "command-input",
|
|
13
15
|
props: {
|
|
14
|
-
type:
|
|
15
|
-
|
|
16
|
+
displayValue: { type: Function },
|
|
17
|
+
modelValue: {},
|
|
16
18
|
autoFocus: { type: Boolean },
|
|
19
|
+
disabled: { type: Boolean },
|
|
17
20
|
asChild: { type: Boolean },
|
|
18
21
|
as: {},
|
|
19
22
|
class: {}
|
|
20
23
|
},
|
|
21
24
|
setup(__props) {
|
|
22
25
|
const props = __props;
|
|
23
|
-
const forwardedProps =
|
|
26
|
+
const forwardedProps = require_useForwardProps.useForwardProps((0, vue.computed)(() => {
|
|
24
27
|
const { class: _, ...delegated } = props;
|
|
25
28
|
return delegated;
|
|
26
29
|
}));
|
|
27
30
|
return (_ctx, _cache) => {
|
|
28
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [_cache[0] || (_cache[0] = (0, vue.createElementVNode)("i", { class: "celeste-command-input-icon i-celeste-search-line" }, null, -1)), (0, vue.createVNode)((0, vue.unref)(
|
|
31
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [_cache[0] || (_cache[0] = (0, vue.createElementVNode)("i", { class: "celeste-command-input-icon i-celeste-search-line" }, null, -1)), (0, vue.createVNode)((0, vue.unref)(require_ComboboxInput.ComboboxInput_default), (0, vue.mergeProps)({
|
|
29
32
|
...(0, vue.unref)(forwardedProps),
|
|
30
33
|
..._ctx.$attrs
|
|
31
34
|
}, {
|
|
@@ -37,6 +40,6 @@ var command_input_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
37
40
|
});
|
|
38
41
|
//#endregion
|
|
39
42
|
//#region src/components/command/command-input.vue
|
|
40
|
-
var command_input_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(command_input_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
43
|
+
var command_input_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(command_input_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f97ce037"]]);
|
|
41
44
|
//#endregion
|
|
42
45
|
module.exports = command_input_default;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunks/chunk.cjs");
|
|
2
|
+
const require_useForwardPropsEmits = require("./chunks/useForwardPropsEmits.cjs");
|
|
3
|
+
const require_ComboboxItem = require("./chunks/ComboboxItem.cjs");
|
|
2
4
|
let vue = require("vue");
|
|
3
5
|
//#endregion
|
|
4
6
|
//#region src/components/command/command-item.vue
|
|
5
7
|
var command_item_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
6
8
|
__name: "command-item",
|
|
7
9
|
props: {
|
|
10
|
+
textValue: {},
|
|
8
11
|
value: {},
|
|
9
12
|
disabled: { type: Boolean },
|
|
10
13
|
asChild: { type: Boolean },
|
|
@@ -15,12 +18,12 @@ var command_item_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
15
18
|
setup(__props, { emit: __emit }) {
|
|
16
19
|
const props = __props;
|
|
17
20
|
const emits = __emit;
|
|
18
|
-
const forwarded =
|
|
21
|
+
const forwarded = require_useForwardPropsEmits.useForwardPropsEmits((0, vue.computed)(() => {
|
|
19
22
|
const { class: _, ...delegated } = props;
|
|
20
23
|
return delegated;
|
|
21
24
|
}), emits);
|
|
22
25
|
return (_ctx, _cache) => {
|
|
23
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
26
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ComboboxItem.ComboboxItem_default), (0, vue.mergeProps)((0, vue.unref)(forwarded), { class: ["celeste-command-item", props.class] }), {
|
|
24
27
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
25
28
|
_: 3
|
|
26
29
|
}, 16, ["class"]);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunks/chunk.cjs");
|
|
2
|
+
const require_useForwardPropsEmits = require("./chunks/useForwardPropsEmits.cjs");
|
|
3
|
+
const require_ComboboxContent = require("./chunks/ComboboxContent.cjs");
|
|
2
4
|
let vue = require("vue");
|
|
3
5
|
//#region src/components/command/command-list.vue?vue&type=script&setup=true&lang.ts
|
|
4
6
|
var _hoisted_1 = { role: "presentation" };
|
|
@@ -10,22 +12,27 @@ var command_list_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
10
12
|
forceMount: { type: Boolean },
|
|
11
13
|
position: {},
|
|
12
14
|
bodyLock: { type: Boolean },
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
default: false
|
|
16
|
-
},
|
|
15
|
+
hideWhenEmpty: { type: Boolean },
|
|
16
|
+
memoDependencies: {},
|
|
17
17
|
side: {},
|
|
18
18
|
sideOffset: {},
|
|
19
|
+
sideFlip: { type: Boolean },
|
|
19
20
|
align: {},
|
|
20
21
|
alignOffset: {},
|
|
22
|
+
alignFlip: { type: Boolean },
|
|
21
23
|
avoidCollisions: { type: Boolean },
|
|
22
24
|
collisionBoundary: {},
|
|
23
25
|
collisionPadding: {},
|
|
24
26
|
arrowPadding: {},
|
|
27
|
+
hideShiftedArrow: { type: Boolean },
|
|
25
28
|
sticky: {},
|
|
26
29
|
hideWhenDetached: { type: Boolean },
|
|
30
|
+
positionStrategy: {},
|
|
27
31
|
updatePositionStrategy: {},
|
|
32
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
28
33
|
prioritizePosition: { type: Boolean },
|
|
34
|
+
reference: {},
|
|
35
|
+
dir: {},
|
|
29
36
|
asChild: { type: Boolean },
|
|
30
37
|
as: {},
|
|
31
38
|
disableOutsidePointerEvents: { type: Boolean },
|
|
@@ -40,12 +47,12 @@ var command_list_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
40
47
|
setup(__props, { emit: __emit }) {
|
|
41
48
|
const props = __props;
|
|
42
49
|
const emits = __emit;
|
|
43
|
-
const forwarded =
|
|
50
|
+
const forwarded = require_useForwardPropsEmits.useForwardPropsEmits((0, vue.computed)(() => {
|
|
44
51
|
const { class: _, ...delegated } = props;
|
|
45
52
|
return delegated;
|
|
46
53
|
}), emits);
|
|
47
54
|
return (_ctx, _cache) => {
|
|
48
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
55
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ComboboxContent.ComboboxContent_default), (0, vue.mergeProps)((0, vue.unref)(forwarded), { class: ["celeste-command-list", props.class] }), {
|
|
49
56
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1, [(0, vue.renderSlot)(_ctx.$slots, "default")])]),
|
|
50
57
|
_: 3
|
|
51
58
|
}, 16, ["class"]);
|
|
@@ -1,46 +1,50 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunks/chunk.cjs");
|
|
2
|
+
const require_ComboboxRoot = require("./chunks/ComboboxRoot.cjs");
|
|
3
|
+
const require_useForwardPropsEmits = require("./chunks/useForwardPropsEmits.cjs");
|
|
2
4
|
let vue = require("vue");
|
|
3
5
|
//#endregion
|
|
4
6
|
//#region src/components/command/command-root.vue
|
|
5
7
|
var command_root_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
6
8
|
__name: "command-root",
|
|
7
9
|
props: {
|
|
8
|
-
modelValue: { default: "" },
|
|
9
|
-
defaultValue: {},
|
|
10
10
|
open: {
|
|
11
11
|
type: Boolean,
|
|
12
12
|
default: true
|
|
13
13
|
},
|
|
14
14
|
defaultOpen: { type: Boolean },
|
|
15
|
-
searchTerm: {},
|
|
16
|
-
selectedValue: {},
|
|
17
|
-
multiple: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
name: {},
|
|
20
|
-
dir: {},
|
|
21
|
-
filterFunction: {},
|
|
22
|
-
displayValue: {},
|
|
23
15
|
resetSearchTermOnBlur: { type: Boolean },
|
|
24
16
|
resetSearchTermOnSelect: { type: Boolean },
|
|
17
|
+
openOnFocus: { type: Boolean },
|
|
18
|
+
openOnClick: { type: Boolean },
|
|
19
|
+
ignoreFilter: { type: Boolean },
|
|
20
|
+
resetModelValueOnClear: { type: Boolean },
|
|
21
|
+
modelValue: { default: "" },
|
|
22
|
+
defaultValue: {},
|
|
23
|
+
multiple: { type: Boolean },
|
|
24
|
+
dir: {},
|
|
25
|
+
disabled: { type: Boolean },
|
|
26
|
+
highlightOnHover: { type: Boolean },
|
|
27
|
+
by: {},
|
|
25
28
|
asChild: { type: Boolean },
|
|
26
29
|
as: {},
|
|
30
|
+
name: {},
|
|
31
|
+
required: { type: Boolean },
|
|
27
32
|
class: {}
|
|
28
33
|
},
|
|
29
34
|
emits: [
|
|
30
35
|
"update:modelValue",
|
|
31
|
-
"
|
|
32
|
-
"update:
|
|
33
|
-
"update:selectedValue"
|
|
36
|
+
"highlight",
|
|
37
|
+
"update:open"
|
|
34
38
|
],
|
|
35
39
|
setup(__props, { emit: __emit }) {
|
|
36
40
|
const props = __props;
|
|
37
41
|
const emits = __emit;
|
|
38
|
-
const forwarded =
|
|
42
|
+
const forwarded = require_useForwardPropsEmits.useForwardPropsEmits((0, vue.computed)(() => {
|
|
39
43
|
const { class: _, ...delegated } = props;
|
|
40
44
|
return delegated;
|
|
41
45
|
}), emits);
|
|
42
46
|
return (_ctx, _cache) => {
|
|
43
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
47
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ComboboxRoot.ComboboxRoot_default), (0, vue.mergeProps)((0, vue.unref)(forwarded), { class: ["celeste-command-root", props.class] }), {
|
|
44
48
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
45
49
|
_: 3
|
|
46
50
|
}, 16, ["class"]);
|