@youcan/celeste 0.6.102 → 0.7.1
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 +1549 -1547
- 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 +2 -2
- 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/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/sidebar-trigger.js +1 -1
- 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/{components → src/components}/alert/alert.d.ts +17 -14
- package/dist/{components → src/components}/button/button.d.ts +11 -8
- package/dist/{components → src/components}/button/compact-button.d.ts +4 -4
- package/dist/src/components/button/fancy-button.d.ts +24 -0
- package/dist/{components → src/components}/button/link-button.d.ts +11 -8
- package/dist/{components → src/components}/checkbox/checkbox-card.d.ts +1 -1
- package/dist/{components → src/components}/checkbox/checkbox-label.d.ts +1 -1
- package/dist/{components → src/components}/checkbox/checkbox.d.ts +3 -3
- package/dist/src/components/collapsible/collapsible-content.d.ts +18 -0
- package/dist/src/components/collapsible/collapsible-trigger.d.ts +16 -0
- package/dist/{components → src/components}/collapsible/collapsible.d.ts +12 -9
- package/dist/{components → src/components}/color-picker/color-picker.d.ts +11 -8
- package/dist/{components → src/components}/combobox/combobox-anchor.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-empty.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-group.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-input.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-item.d.ts +13 -10
- package/dist/src/components/combobox/combobox-list.d.ts +32 -0
- package/dist/{components → src/components}/combobox/combobox-root.d.ts +11 -7
- package/dist/{components → src/components}/combobox/combobox-separator.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-trigger.d.ts +9 -6
- package/dist/src/components/combobox/combobox.d.ts +52 -0
- package/dist/{components → src/components}/content-divider/content-divider.d.ts +3 -3
- package/dist/{components → src/components}/counter-input/counter-input.d.ts +2 -2
- package/dist/{components → src/components}/digit-input/digit-input-group.d.ts +1 -1
- package/dist/{components → src/components}/digit-input/digit-input-slot.d.ts +1 -1
- package/dist/src/components/digit-input/digit-input.d.ts +29 -0
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-content.d.ts +7 -7
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-group.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-item.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-label.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -7
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/{components → src/components}/file-upload/file-upload-area.d.ts +8 -7
- package/dist/{components → src/components}/label/label.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal-close.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal-content.d.ts +7 -7
- package/dist/{components → src/components}/modal/modal-trigger.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal.d.ts +1 -1
- package/dist/src/components/pagination/pagination-content.d.ts +25 -0
- package/dist/src/components/pagination/pagination-ellipsis.d.ts +18 -0
- package/dist/src/components/pagination/pagination-first.d.ts +18 -0
- package/dist/src/components/pagination/pagination-item.d.ts +20 -0
- package/dist/src/components/pagination/pagination-last.d.ts +18 -0
- package/dist/src/components/pagination/pagination-next.d.ts +18 -0
- package/dist/src/components/pagination/pagination-previous.d.ts +18 -0
- package/dist/src/components/pagination/pagination.d.ts +38 -0
- package/dist/src/components/popover/popover-content.d.ts +49 -0
- package/dist/{components → src/components}/popover/popover-trigger.d.ts +1 -1
- package/dist/{components → src/components}/popover/popover.d.ts +1 -1
- package/dist/{components → src/components}/progress/progress-bar.d.ts +1 -1
- package/dist/{components → src/components}/progress/progress-circle.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-card.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-item.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-label.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group.d.ts +3 -3
- package/dist/{components → src/components}/scroll-area/scroll-area.d.ts +1 -1
- package/dist/{components → src/components}/scroll-area/scroll-bar.d.ts +1 -1
- package/dist/{components → src/components}/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/{components → src/components}/segmented-control/segmented-control.d.ts +3 -3
- package/dist/{components → src/components}/select/select-content.d.ts +3 -3
- package/dist/{components → src/components}/select/select-group.d.ts +1 -1
- package/dist/{components → src/components}/select/select-item.d.ts +1 -1
- package/dist/{components → src/components}/select/select-label.d.ts +1 -1
- package/dist/{components → src/components}/select/select-separator.d.ts +1 -1
- package/dist/{components → src/components}/select/select-trigger.d.ts +1 -1
- package/dist/{components → src/components}/select/select-value.d.ts +1 -1
- package/dist/{components → src/components}/select/select.d.ts +3 -3
- package/dist/src/components/sheet/sheet-close.d.ts +18 -0
- package/dist/src/components/sheet/sheet-content.d.ts +35 -0
- package/dist/src/components/sheet/sheet-description.d.ts +18 -0
- package/dist/src/components/sheet/sheet-footer.d.ts +17 -0
- package/dist/src/components/sheet/sheet-header.d.ts +17 -0
- package/dist/src/components/sheet/sheet-title.d.ts +18 -0
- package/dist/src/components/sheet/sheet-trigger.d.ts +16 -0
- package/dist/{components → src/components}/sheet/sheet.d.ts +1 -1
- package/dist/src/components/sidebar/sidebar-element.d.ts +20 -0
- package/dist/src/components/sidebar/sidebar-footer.d.ts +17 -0
- package/dist/{components → src/components}/sidebar/sidebar-group-label.d.ts +1 -1
- package/dist/src/components/sidebar/sidebar-header.d.ts +17 -0
- package/dist/src/components/sidebar/sidebar-menu-action.d.ts +21 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-button.d.ts +2 -2
- package/dist/src/components/sidebar/sidebar-menu-sub-button.d.ts +24 -0
- package/dist/{components → src/components}/sidebar/sidebar.d.ts +11 -8
- package/dist/{components → src/components}/slider/slider.d.ts +1 -1
- package/dist/{components → src/components}/switch/switch.d.ts +3 -3
- package/dist/{components → src/components}/tab-menu/tab-menu-content.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu-item.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu-list.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu.d.ts +3 -3
- package/dist/src/components/table/table-body.d.ts +17 -0
- package/dist/src/components/table/table-caption.d.ts +17 -0
- package/dist/src/components/table/table-cell.d.ts +20 -0
- package/dist/src/components/table/table-empty.d.ts +20 -0
- package/dist/src/components/table/table-footer.d.ts +17 -0
- package/dist/src/components/table/table-head.d.ts +20 -0
- package/dist/src/components/table/table-header.d.ts +17 -0
- package/dist/src/components/table/table-row.d.ts +20 -0
- package/dist/src/components/table/table.d.ts +17 -0
- package/dist/{components → src/components}/tag/tag.d.ts +11 -8
- package/dist/{components → src/components}/text-input/text-input-button.d.ts +1 -1
- package/dist/src/components/text-input/text-input.d.ts +42 -0
- package/dist/{components → src/components}/textarea/textarea.d.ts +9 -8
- package/dist/{components → src/components}/tooltip/tooltip-content.d.ts +10 -7
- package/dist/src/components/tooltip/tooltip-provider.d.ts +18 -0
- package/dist/{components → src/components}/tooltip/tooltip-root.d.ts +10 -7
- package/dist/src/components/tooltip/tooltip-trigger.d.ts +16 -0
- package/dist/{components → src/components}/tooltip/tooltip.d.ts +10 -7
- 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 +39 -33
- 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 +7 -8
- 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-trigger.vue +1 -1
- 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
- package/dist/components/button/fancy-button.d.ts +0 -21
- package/dist/components/collapsible/collapsible-content.d.ts +0 -15
- package/dist/components/collapsible/collapsible-trigger.d.ts +0 -13
- package/dist/components/combobox/combobox-list.d.ts +0 -32
- package/dist/components/combobox/combobox.d.ts +0 -45
- package/dist/components/digit-input/digit-input.d.ts +0 -28
- package/dist/components/pagination/pagination-content.d.ts +0 -22
- package/dist/components/pagination/pagination-ellipsis.d.ts +0 -15
- package/dist/components/pagination/pagination-first.d.ts +0 -15
- package/dist/components/pagination/pagination-item.d.ts +0 -17
- package/dist/components/pagination/pagination-last.d.ts +0 -15
- package/dist/components/pagination/pagination-next.d.ts +0 -15
- package/dist/components/pagination/pagination-previous.d.ts +0 -15
- package/dist/components/pagination/pagination.d.ts +0 -35
- package/dist/components/popover/popover-content.d.ts +0 -46
- package/dist/components/sheet/sheet-close.d.ts +0 -15
- package/dist/components/sheet/sheet-content.d.ts +0 -32
- package/dist/components/sheet/sheet-description.d.ts +0 -15
- package/dist/components/sheet/sheet-footer.d.ts +0 -14
- package/dist/components/sheet/sheet-header.d.ts +0 -14
- package/dist/components/sheet/sheet-title.d.ts +0 -15
- package/dist/components/sheet/sheet-trigger.d.ts +0 -13
- package/dist/components/sidebar/sidebar-element.d.ts +0 -17
- package/dist/components/sidebar/sidebar-footer.d.ts +0 -14
- package/dist/components/sidebar/sidebar-header.d.ts +0 -14
- package/dist/components/sidebar/sidebar-menu-action.d.ts +0 -18
- package/dist/components/sidebar/sidebar-menu-sub-button.d.ts +0 -21
- package/dist/components/table/table-body.d.ts +0 -14
- package/dist/components/table/table-caption.d.ts +0 -14
- package/dist/components/table/table-cell.d.ts +0 -17
- package/dist/components/table/table-empty.d.ts +0 -17
- package/dist/components/table/table-footer.d.ts +0 -14
- package/dist/components/table/table-head.d.ts +0 -17
- package/dist/components/table/table-header.d.ts +0 -14
- package/dist/components/table/table-row.d.ts +0 -17
- package/dist/components/table/table.d.ts +0 -14
- package/dist/components/text-input/text-input.d.ts +0 -38
- package/dist/components/tooltip/tooltip-provider.d.ts +0 -15
- package/dist/components/tooltip/tooltip-trigger.d.ts +0 -13
- package/dist/{components → src/components}/alert/index.d.ts +0 -0
- package/dist/{components → src/components}/badge/badge.d.ts +2 -2
- package/dist/{components → src/components}/badge/index.d.ts +0 -0
- package/dist/{components → src/components}/badge/status-badge.d.ts +2 -2
- package/dist/{components → src/components}/button/index.d.ts +0 -0
- package/dist/{components → src/components}/button/social-button.d.ts +2 -2
- package/dist/{components → src/components}/checkbox/index.d.ts +0 -0
- package/dist/{components → src/components}/collapsible/index.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/alpha-slider.d.ts +2 -2
- package/dist/{components → src/components}/color-picker/color-area.d.ts +1 -1
- package/dist/{components → src/components}/color-picker/color-swatch.d.ts +2 -2
- package/dist/{components → src/components}/color-picker/composable/use-color-model.d.ts +1 -1
- package/dist/{components → src/components}/color-picker/composable/use-user-select.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/hue-slider.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/index.d.ts +0 -0
- package/dist/{components → src/components}/combobox/index.d.ts +0 -0
- package/dist/{components → src/components}/content-divider/index.d.ts +0 -0
- package/dist/{components → src/components}/counter-input/index.d.ts +0 -0
- package/dist/{components → src/components}/digit-input/index.d.ts +0 -0
- package/dist/{components → src/components}/dropdown-menu/index.d.ts +0 -0
- package/dist/{components → src/components}/file-upload/index.d.ts +0 -0
- package/dist/{components → src/components}/hint-text/hint-text.d.ts +2 -2
- package/dist/{components → src/components}/hint-text/index.d.ts +0 -0
- package/dist/{components → src/components}/index.d.ts +0 -0
- package/dist/{components → src/components}/label/index.d.ts +0 -0
- package/dist/{components → src/components}/modal/index.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-body.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-footer.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-header.d.ts +0 -0
- package/dist/{components → src/components}/pagination/index.d.ts +0 -0
- package/dist/{components → src/components}/popover/index.d.ts +0 -0
- package/dist/{components → src/components}/progress/index.d.ts +0 -0
- package/dist/{components → src/components}/radio-group/index.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/config.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/extra-settings.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/index.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/link-bubble.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/rich-editor.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/types.d.ts +0 -0
- package/dist/{components → src/components}/scroll-area/index.d.ts +0 -0
- package/dist/{components → src/components}/segmented-control/index.d.ts +0 -0
- package/dist/{components → src/components}/select/index.d.ts +0 -0
- package/dist/{components → src/components}/select/select-icon.d.ts +0 -0
- package/dist/{components → src/components}/sheet/index.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/index.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-content.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-group-content.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-group.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-badge.d.ts +2 -2
- package/dist/{components → src/components}/sidebar/sidebar-menu-item.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-sub-item.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-sub.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-provider.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-separator.d.ts +1 -1
- package/dist/{components → src/components}/sidebar/sidebar-trigger.d.ts +0 -0
- package/dist/{components → src/components}/slider/index.d.ts +0 -0
- package/dist/{components → src/components}/sonner/index.d.ts +0 -0
- package/dist/{components → src/components}/sonner/sonner-alert.d.ts +0 -0
- package/dist/{components → src/components}/sonner/sonner.d.ts +1 -1
- package/dist/{components → src/components}/switch/index.d.ts +0 -0
- package/dist/{components → src/components}/tab-menu/index.d.ts +0 -0
- package/dist/{components → src/components}/table/index.d.ts +0 -0
- package/dist/{components → src/components}/tag/index.d.ts +0 -0
- package/dist/{components → src/components}/text-input/index.d.ts +0 -0
- package/dist/{components → src/components}/text-input/text-input-affix.d.ts +0 -0
- package/dist/{components → src/components}/textarea/index.d.ts +0 -0
- package/dist/{components → src/components}/tooltip/index.d.ts +0 -0
- package/dist/{composables → src/composables}/index.d.ts +0 -0
- package/dist/{composables → src/composables}/use-delegated-props.d.ts +0 -0
- package/dist/{composables → src/composables}/use-sidebar.d.ts +0 -0
- package/dist/{index.d.ts → src/index.d.ts} +0 -0
- package/dist/{utils → src/utils}/color.d.ts +0 -0
- package/dist/{utils → src/utils}/crypto.d.ts +0 -0
- package/dist/{utils → src/utils}/index.d.ts +0 -0
- package/dist/{utils → src/utils}/sonner.d.ts +1 -1
|
@@ -1,8 +1,195 @@
|
|
|
1
|
-
import { L as Sh, O as Ot } from "./dist.js";
|
|
2
1
|
import { t as clsx } from "./clsx.js";
|
|
3
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
4
|
+
import { t as useForwardProps } from "./useForwardProps.js";
|
|
5
|
+
import { t as useId } from "./useId.js";
|
|
6
|
+
import { c as getOpenState, l as isMouseEvent, o as SUB_OPEN_KEYS } from "./utils.js";
|
|
7
|
+
import { t as MenuAnchor_default } from "./MenuAnchor.js";
|
|
8
|
+
import { n as injectMenuContext, r as injectMenuRootContext } from "./MenuRoot.js";
|
|
9
|
+
import { n as injectMenuContentContext } from "./MenuContentImpl.js";
|
|
10
|
+
import { t as MenuItemImpl_default } from "./MenuItemImpl.js";
|
|
11
|
+
import { n as injectMenuSubContext } from "./MenuSub.js";
|
|
4
12
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
5
|
-
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
13
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeProps, onUnmounted, openBlock, ref, renderSlot, unref, watch, withCtx } from "vue";
|
|
14
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuSubTrigger.js
|
|
15
|
+
var MenuSubTrigger_default = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "MenuSubTrigger",
|
|
17
|
+
props: {
|
|
18
|
+
disabled: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
required: false
|
|
21
|
+
},
|
|
22
|
+
textValue: {
|
|
23
|
+
type: String,
|
|
24
|
+
required: false
|
|
25
|
+
},
|
|
26
|
+
asChild: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
required: false
|
|
29
|
+
},
|
|
30
|
+
as: {
|
|
31
|
+
type: null,
|
|
32
|
+
required: false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
setup(__props) {
|
|
36
|
+
const props = __props;
|
|
37
|
+
const menuContext = injectMenuContext();
|
|
38
|
+
const rootContext = injectMenuRootContext();
|
|
39
|
+
const subContext = injectMenuSubContext();
|
|
40
|
+
const contentContext = injectMenuContentContext();
|
|
41
|
+
watch(menuContext.open, (open) => {
|
|
42
|
+
if (open) contentContext.activeSubmenuContext.value = {
|
|
43
|
+
onOpenChange: menuContext.onOpenChange,
|
|
44
|
+
trigger: subContext.trigger
|
|
45
|
+
};
|
|
46
|
+
else if (contentContext.activeSubmenuContext.value?.trigger.value === subContext.trigger.value) contentContext.activeSubmenuContext.value = void 0;
|
|
47
|
+
});
|
|
48
|
+
const openTimerRef = ref(null);
|
|
49
|
+
subContext.triggerId ||= useId(void 0, "reka-menu-sub-trigger");
|
|
50
|
+
function clearOpenTimer() {
|
|
51
|
+
if (openTimerRef.value) window.clearTimeout(openTimerRef.value);
|
|
52
|
+
openTimerRef.value = null;
|
|
53
|
+
}
|
|
54
|
+
onUnmounted(() => {
|
|
55
|
+
clearOpenTimer();
|
|
56
|
+
});
|
|
57
|
+
function handlePointerMove(event) {
|
|
58
|
+
if (!isMouseEvent(event)) return;
|
|
59
|
+
if (contentContext.onItemEnter(event)) return;
|
|
60
|
+
if (!props.disabled && !menuContext.open.value && !openTimerRef.value) {
|
|
61
|
+
contentContext.onPointerGraceIntentChange(null);
|
|
62
|
+
openTimerRef.value = window.setTimeout(() => {
|
|
63
|
+
menuContext.onOpenChange(true);
|
|
64
|
+
clearOpenTimer();
|
|
65
|
+
}, 100);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async function handlePointerLeave(event) {
|
|
69
|
+
if (!isMouseEvent(event)) return;
|
|
70
|
+
clearOpenTimer();
|
|
71
|
+
const contentRect = menuContext.content.value?.getBoundingClientRect();
|
|
72
|
+
if (contentRect?.width) {
|
|
73
|
+
const side = menuContext.content.value?.dataset.side;
|
|
74
|
+
const rightSide = side === "right";
|
|
75
|
+
const bleed = rightSide ? -5 : 5;
|
|
76
|
+
const contentNearEdge = contentRect[rightSide ? "left" : "right"];
|
|
77
|
+
const contentFarEdge = contentRect[rightSide ? "right" : "left"];
|
|
78
|
+
contentContext.onPointerGraceIntentChange({
|
|
79
|
+
area: [
|
|
80
|
+
{
|
|
81
|
+
x: event.clientX + bleed,
|
|
82
|
+
y: event.clientY
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
x: contentNearEdge,
|
|
86
|
+
y: contentRect.top
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
x: contentFarEdge,
|
|
90
|
+
y: contentRect.top
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
x: contentFarEdge,
|
|
94
|
+
y: contentRect.bottom
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
x: contentNearEdge,
|
|
98
|
+
y: contentRect.bottom
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
side
|
|
102
|
+
});
|
|
103
|
+
window.clearTimeout(contentContext.pointerGraceTimerRef.value);
|
|
104
|
+
contentContext.pointerGraceTimerRef.value = window.setTimeout(() => contentContext.onPointerGraceIntentChange(null), 300);
|
|
105
|
+
} else {
|
|
106
|
+
if (contentContext.onTriggerLeave(event)) return;
|
|
107
|
+
contentContext.onPointerGraceIntentChange(null);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
async function handleKeyDown(event) {
|
|
111
|
+
const isTypingAhead = contentContext.searchRef.value !== "";
|
|
112
|
+
if (props.disabled || isTypingAhead && event.key === " ") return;
|
|
113
|
+
if (SUB_OPEN_KEYS[rootContext.dir.value].includes(event.key)) {
|
|
114
|
+
menuContext.onOpenChange(true);
|
|
115
|
+
await nextTick();
|
|
116
|
+
menuContext.content.value?.focus();
|
|
117
|
+
event.preventDefault();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return (_ctx, _cache) => {
|
|
121
|
+
return openBlock(), createBlock(MenuAnchor_default, { "as-child": "" }, {
|
|
122
|
+
default: withCtx(() => [createVNode(MenuItemImpl_default, mergeProps(props, {
|
|
123
|
+
id: unref(subContext).triggerId,
|
|
124
|
+
ref: (vnode) => {
|
|
125
|
+
if (!vnode) return void 0;
|
|
126
|
+
unref(subContext)?.onTriggerChange(vnode?.$el);
|
|
127
|
+
},
|
|
128
|
+
"aria-haspopup": "menu",
|
|
129
|
+
"aria-expanded": unref(menuContext).open.value,
|
|
130
|
+
"aria-controls": unref(subContext).contentId,
|
|
131
|
+
"data-state": unref(getOpenState)(unref(menuContext).open.value),
|
|
132
|
+
onClick: _cache[0] || (_cache[0] = async (event) => {
|
|
133
|
+
if (props.disabled || event.defaultPrevented) return;
|
|
134
|
+
/**
|
|
135
|
+
* We manually focus because iOS Safari doesn't always focus on click (e.g. buttons)
|
|
136
|
+
* and we rely heavily on `onFocusOutside` for submenus to close when switching
|
|
137
|
+
* between separate submenus.
|
|
138
|
+
*/
|
|
139
|
+
event.currentTarget?.focus();
|
|
140
|
+
if (!unref(menuContext).open.value) unref(menuContext).onOpenChange(true);
|
|
141
|
+
}),
|
|
142
|
+
onPointermove: handlePointerMove,
|
|
143
|
+
onPointerleave: handlePointerLeave,
|
|
144
|
+
onKeydown: handleKeyDown
|
|
145
|
+
}), {
|
|
146
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
147
|
+
_: 3
|
|
148
|
+
}, 16, [
|
|
149
|
+
"id",
|
|
150
|
+
"aria-expanded",
|
|
151
|
+
"aria-controls",
|
|
152
|
+
"data-state"
|
|
153
|
+
])]),
|
|
154
|
+
_: 3
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js
|
|
161
|
+
var DropdownMenuSubTrigger_default = /* @__PURE__ */ defineComponent({
|
|
162
|
+
__name: "DropdownMenuSubTrigger",
|
|
163
|
+
props: {
|
|
164
|
+
disabled: {
|
|
165
|
+
type: Boolean,
|
|
166
|
+
required: false
|
|
167
|
+
},
|
|
168
|
+
textValue: {
|
|
169
|
+
type: String,
|
|
170
|
+
required: false
|
|
171
|
+
},
|
|
172
|
+
asChild: {
|
|
173
|
+
type: Boolean,
|
|
174
|
+
required: false
|
|
175
|
+
},
|
|
176
|
+
as: {
|
|
177
|
+
type: null,
|
|
178
|
+
required: false
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
setup(__props) {
|
|
182
|
+
const props = __props;
|
|
183
|
+
useForwardExpose();
|
|
184
|
+
return (_ctx, _cache) => {
|
|
185
|
+
return openBlock(), createBlock(unref(MenuSubTrigger_default), normalizeProps(guardReactiveProps(props)), {
|
|
186
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
187
|
+
_: 3
|
|
188
|
+
}, 16);
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
//#endregion
|
|
6
193
|
//#region src/components/dropdown-menu/dropdown-menu-sub-trigger.vue?vue&type=script&setup=true&lang.ts
|
|
7
194
|
var _hoisted_1 = {
|
|
8
195
|
key: 0,
|
|
@@ -22,9 +209,9 @@ var dropdown_menu_sub_trigger_default = /* @__PURE__ */ _plugin_vue_export_helpe
|
|
|
22
209
|
},
|
|
23
210
|
setup(__props) {
|
|
24
211
|
const props = __props;
|
|
25
|
-
const forwardedProps =
|
|
212
|
+
const forwardedProps = useForwardProps(useDelegatedProps(props, "class"));
|
|
26
213
|
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(unref(
|
|
214
|
+
return openBlock(), createBlock(unref(DropdownMenuSubTrigger_default), mergeProps(unref(forwardedProps), { class: unref(clsx)(props.class, "celeste-dropdown-menu-sub-trigger") }), {
|
|
28
215
|
default: withCtx(() => [
|
|
29
216
|
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "prefix", {}, void 0, true)])) : createCommentVNode("", true),
|
|
30
217
|
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
@@ -34,6 +221,6 @@ var dropdown_menu_sub_trigger_default = /* @__PURE__ */ _plugin_vue_export_helpe
|
|
|
34
221
|
}, 16, ["class"]);
|
|
35
222
|
};
|
|
36
223
|
}
|
|
37
|
-
}), [["__scopeId", "data-v-
|
|
224
|
+
}), [["__scopeId", "data-v-47876e9e"]]);
|
|
38
225
|
//#endregion
|
|
39
226
|
export { dropdown_menu_sub_trigger_default as t };
|
|
@@ -1,5 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { s as useVModel } from "./dist.js";
|
|
2
|
+
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
3
|
+
import { t as useForwardPropsEmits } from "./useForwardPropsEmits.js";
|
|
4
|
+
import { t as MenuSub_default } from "./MenuSub.js";
|
|
5
|
+
import { createBlock, defineComponent, guardReactiveProps, isRef, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSub.js
|
|
7
|
+
var DropdownMenuSub_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "DropdownMenuSub",
|
|
9
|
+
props: {
|
|
10
|
+
defaultOpen: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
required: false
|
|
13
|
+
},
|
|
14
|
+
open: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
required: false,
|
|
17
|
+
default: void 0
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:open"],
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const open = useVModel(props, "open", __emit, {
|
|
24
|
+
passive: props.open === void 0,
|
|
25
|
+
defaultValue: props.defaultOpen ?? false
|
|
26
|
+
});
|
|
27
|
+
useForwardExpose();
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createBlock(unref(MenuSub_default), {
|
|
30
|
+
open: unref(open),
|
|
31
|
+
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => isRef(open) ? open.value = $event : null)
|
|
32
|
+
}, {
|
|
33
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open: unref(open) })]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 8, ["open"]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
3
39
|
//#endregion
|
|
4
40
|
//#region src/components/dropdown-menu/dropdown-menu-sub.vue
|
|
5
41
|
var dropdown_menu_sub_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10,9 +46,9 @@ var dropdown_menu_sub_default = /* @__PURE__ */ defineComponent({
|
|
|
10
46
|
},
|
|
11
47
|
emits: ["update:open"],
|
|
12
48
|
setup(__props, { emit: __emit }) {
|
|
13
|
-
const forwarded =
|
|
49
|
+
const forwarded = useForwardPropsEmits(__props, __emit);
|
|
14
50
|
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(unref(
|
|
51
|
+
return openBlock(), createBlock(unref(DropdownMenuSub_default), normalizeProps(guardReactiveProps(unref(forwarded))), {
|
|
16
52
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
17
53
|
_: 3
|
|
18
54
|
}, 16);
|
|
@@ -1,6 +1,91 @@
|
|
|
1
|
-
import { O as Ot, pt as dh } from "./dist.js";
|
|
2
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
-
import {
|
|
2
|
+
import { t as Primitive } from "./Primitive.js";
|
|
3
|
+
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
4
|
+
import { t as useForwardProps } from "./useForwardProps.js";
|
|
5
|
+
import { t as useId } from "./useId.js";
|
|
6
|
+
import { t as MenuAnchor_default } from "./MenuAnchor.js";
|
|
7
|
+
import { n as injectDropdownMenuRootContext } from "./DropdownMenuRoot.js";
|
|
8
|
+
import { createBlock, createVNode, defineComponent, mergeProps, nextTick, onMounted, openBlock, renderSlot, unref, withCtx, withKeys } from "vue";
|
|
9
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js
|
|
10
|
+
var DropdownMenuTrigger_default = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "DropdownMenuTrigger",
|
|
12
|
+
props: {
|
|
13
|
+
disabled: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: false
|
|
16
|
+
},
|
|
17
|
+
asChild: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
required: false
|
|
20
|
+
},
|
|
21
|
+
as: {
|
|
22
|
+
type: null,
|
|
23
|
+
required: false,
|
|
24
|
+
default: "button"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(__props) {
|
|
28
|
+
const props = __props;
|
|
29
|
+
const rootContext = injectDropdownMenuRootContext();
|
|
30
|
+
const { forwardRef, currentElement: triggerElement } = useForwardExpose();
|
|
31
|
+
onMounted(() => {
|
|
32
|
+
rootContext.triggerElement = triggerElement;
|
|
33
|
+
});
|
|
34
|
+
rootContext.triggerId ||= useId(void 0, "reka-dropdown-menu-trigger");
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createBlock(unref(MenuAnchor_default), { "as-child": "" }, {
|
|
37
|
+
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
38
|
+
id: unref(rootContext).triggerId,
|
|
39
|
+
ref: unref(forwardRef),
|
|
40
|
+
type: _ctx.as === "button" ? "button" : void 0,
|
|
41
|
+
"as-child": props.asChild,
|
|
42
|
+
as: _ctx.as,
|
|
43
|
+
"aria-haspopup": "menu",
|
|
44
|
+
"aria-expanded": unref(rootContext).open.value,
|
|
45
|
+
"aria-controls": unref(rootContext).open.value ? unref(rootContext).contentId : void 0,
|
|
46
|
+
"data-disabled": _ctx.disabled ? "" : void 0,
|
|
47
|
+
disabled: _ctx.disabled,
|
|
48
|
+
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
49
|
+
onClick: _cache[0] || (_cache[0] = async (event) => {
|
|
50
|
+
if (!_ctx.disabled && event.button === 0 && event.ctrlKey === false) {
|
|
51
|
+
unref(rootContext)?.onOpenToggle();
|
|
52
|
+
await nextTick();
|
|
53
|
+
if (unref(rootContext).open.value) event.preventDefault();
|
|
54
|
+
}
|
|
55
|
+
}),
|
|
56
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys((event) => {
|
|
57
|
+
if (_ctx.disabled) return;
|
|
58
|
+
if (["Enter", " "].includes(event.key)) unref(rootContext).onOpenToggle();
|
|
59
|
+
if (event.key === "ArrowDown") unref(rootContext).onOpenChange(true);
|
|
60
|
+
if ([
|
|
61
|
+
"Enter",
|
|
62
|
+
" ",
|
|
63
|
+
"ArrowDown"
|
|
64
|
+
].includes(event.key)) event.preventDefault();
|
|
65
|
+
}, [
|
|
66
|
+
"enter",
|
|
67
|
+
"space",
|
|
68
|
+
"arrow-down"
|
|
69
|
+
]))
|
|
70
|
+
}, {
|
|
71
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
72
|
+
_: 3
|
|
73
|
+
}, 8, [
|
|
74
|
+
"id",
|
|
75
|
+
"type",
|
|
76
|
+
"as-child",
|
|
77
|
+
"as",
|
|
78
|
+
"aria-expanded",
|
|
79
|
+
"aria-controls",
|
|
80
|
+
"data-disabled",
|
|
81
|
+
"disabled",
|
|
82
|
+
"data-state"
|
|
83
|
+
])]),
|
|
84
|
+
_: 3
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
4
89
|
//#endregion
|
|
5
90
|
//#region src/components/dropdown-menu/dropdown-menu-trigger.vue
|
|
6
91
|
var dropdown_menu_trigger_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -11,14 +96,14 @@ var dropdown_menu_trigger_default = /* @__PURE__ */ _plugin_vue_export_helper_de
|
|
|
11
96
|
as: {}
|
|
12
97
|
},
|
|
13
98
|
setup(__props) {
|
|
14
|
-
const forwardedProps =
|
|
99
|
+
const forwardedProps = useForwardProps(__props);
|
|
15
100
|
return (_ctx, _cache) => {
|
|
16
|
-
return openBlock(), createBlock(unref(
|
|
101
|
+
return openBlock(), createBlock(unref(DropdownMenuTrigger_default), mergeProps({ class: "celeste-dropdown-menu-trigger" }, unref(forwardedProps), { as: "div" }), {
|
|
17
102
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
18
103
|
_: 3
|
|
19
104
|
}, 16);
|
|
20
105
|
};
|
|
21
106
|
}
|
|
22
|
-
}), [["__scopeId", "data-v-
|
|
107
|
+
}), [["__scopeId", "data-v-182db80e"]]);
|
|
23
108
|
//#endregion
|
|
24
109
|
export { dropdown_menu_trigger_default as t };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Bt as uh, I as Se } from "./dist.js";
|
|
2
1
|
import { t as clsx } from "./clsx.js";
|
|
3
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as useForwardPropsEmits } from "./useForwardPropsEmits.js";
|
|
4
|
+
import { t as DropdownMenuRoot_default } from "./DropdownMenuRoot.js";
|
|
4
5
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
5
6
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
7
|
//#endregion
|
|
@@ -18,14 +19,14 @@ var dropdown_menu_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
18
19
|
setup(__props, { emit: __emit }) {
|
|
19
20
|
const props = __props;
|
|
20
21
|
const emits = __emit;
|
|
21
|
-
const forwarded =
|
|
22
|
+
const forwarded = useForwardPropsEmits(useDelegatedProps(props, "class"), emits);
|
|
22
23
|
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(
|
|
24
|
+
return openBlock(), createBlock(unref(DropdownMenuRoot_default), mergeProps(unref(forwarded), { class: unref(clsx)("celeste-dropdown-menu", props.class) }), {
|
|
24
25
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
25
26
|
_: 3
|
|
26
27
|
}, 16, ["class"]);
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
}), [["__scopeId", "data-v-
|
|
30
|
+
}), [["__scopeId", "data-v-1cc87774"]]);
|
|
30
31
|
//#endregion
|
|
31
32
|
export { dropdown_menu_default as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as compact_button_default } from "./compact-button.js";
|
|
3
2
|
import { t as select_content_default } from "./select-content.js";
|
|
4
|
-
import { t as select_icon_default } from "./select-icon.js";
|
|
5
|
-
import { t as select_item_default } from "./select-item.js";
|
|
6
3
|
import { t as select_trigger_default } from "./select-trigger.js";
|
|
4
|
+
import { t as select_item_default } from "./select-item.js";
|
|
5
|
+
import { t as compact_button_default } from "./compact-button.js";
|
|
6
|
+
import { t as select_icon_default } from "./select-icon.js";
|
|
7
7
|
import { t as select_default } from "./select.js";
|
|
8
8
|
import { t as tooltip_default } from "./tooltip.js";
|
|
9
9
|
import { Fragment, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, toDisplayString, withCtx } from "vue";
|
|
@@ -123,6 +123,6 @@ var extra_settings_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
|
|
|
123
123
|
}, 8, ["modelValue"])]);
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
}), [["__scopeId", "data-v-
|
|
126
|
+
}), [["__scopeId", "data-v-8091e700"]]);
|
|
127
127
|
//#endregion
|
|
128
128
|
export { extra_settings_default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as O } from "./dist.js";
|
|
2
1
|
import { t as clsx } from "./clsx.js";
|
|
3
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as Primitive } from "./Primitive.js";
|
|
4
4
|
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/button/fancy-button.vue
|
|
@@ -16,7 +16,7 @@ var fancy_button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
16
16
|
setup(__props) {
|
|
17
17
|
const props = __props;
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(
|
|
19
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
20
20
|
as: _ctx.as,
|
|
21
21
|
"as-child": _ctx.asChild,
|
|
22
22
|
class: normalizeClass(unref(clsx)("celeste-fbutton", `celeste-fbutton-${_ctx.intent}`, `celeste-fbutton-${_ctx.size}`, props.class))
|
|
@@ -30,6 +30,6 @@ var fancy_button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
30
30
|
]);
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
}), [["__scopeId", "data-v-
|
|
33
|
+
}), [["__scopeId", "data-v-970a57eb"]]);
|
|
34
34
|
//#endregion
|
|
35
35
|
export { fancy_button_default as t };
|
|
@@ -127,6 +127,6 @@ var file_upload_area_default = /* @__PURE__ */ _plugin_vue_export_helper_default
|
|
|
127
127
|
}, 8, ["class", "data-over-drop-zone"]);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
}), [["__scopeId", "data-v-
|
|
130
|
+
}), [["__scopeId", "data-v-ec9187b9"]]);
|
|
131
131
|
//#endregion
|
|
132
132
|
export { file_upload_area_default as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/shared/getActiveElement.js
|
|
2
|
+
function getActiveElement() {
|
|
3
|
+
let activeElement = document.activeElement;
|
|
4
|
+
if (activeElement == null) return null;
|
|
5
|
+
while (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;
|
|
6
|
+
return activeElement;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { getActiveElement as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
|
|
2
|
+
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
3
|
+
const target = detail.originalEvent.target;
|
|
4
|
+
const event = new CustomEvent(name, {
|
|
5
|
+
bubbles: false,
|
|
6
|
+
cancelable: true,
|
|
7
|
+
detail
|
|
8
|
+
});
|
|
9
|
+
if (handler) target.addEventListener(name, handler, { once: true });
|
|
10
|
+
target.dispatchEvent(event);
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { handleAndDispatchCustomEvent as t };
|
|
@@ -26,6 +26,6 @@ var hint_text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__
|
|
|
26
26
|
}, null, 2)) : createCommentVNode("", true), _ctx.text ? (openBlock(), createElementBlock("p", _hoisted_2, toDisplayString(_ctx.text), 1)) : createCommentVNode("", true)], 10, _hoisted_1);
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
}), [["__scopeId", "data-v-
|
|
29
|
+
}), [["__scopeId", "data-v-9063842e"]]);
|
|
30
30
|
//#endregion
|
|
31
31
|
export { hint_text_default as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as isEqual } from "./ohash.D__AXeF1.js";
|
|
2
|
+
import { t as isNullish } from "./nullish.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/shared/isValueEqualOrExist.js
|
|
4
|
+
/**
|
|
5
|
+
* The function `isValueEqualOrExist` checks if a value is equal to or exists in another value or
|
|
6
|
+
* array.
|
|
7
|
+
* @param {T | T[] | undefined} base - It represents the base value that you want to compare with the `current` value.
|
|
8
|
+
* @param {T | T[] | undefined} current - The `current` parameter represents the current value that you want to compare with the `base` value or values.
|
|
9
|
+
* @returns The `isValueEqualOrExist` function returns a boolean value. It checks if the `base` value
|
|
10
|
+
* is equal to the `current` value or if the `current` value exists within the `base` value. The
|
|
11
|
+
* function handles cases where `base` can be a single value, an array of values, or undefined.
|
|
12
|
+
*/
|
|
13
|
+
function isValueEqualOrExist(base, current) {
|
|
14
|
+
if (isNullish(base)) return false;
|
|
15
|
+
if (Array.isArray(base)) return base.some((val) => isEqual(val, current));
|
|
16
|
+
else return isEqual(base, current);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { isValueEqualOrExist as t };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { D as O, U as Vh } from "./dist.js";
|
|
2
1
|
import { t as clsx } from "./clsx.js";
|
|
3
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as Primitive } from "./Primitive.js";
|
|
4
|
+
import { t as Label_default } from "./Label.js";
|
|
4
5
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
5
6
|
import { t as tooltip_default } from "./tooltip.js";
|
|
6
7
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
@@ -27,14 +28,14 @@ var label_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
27
28
|
const props = __props;
|
|
28
29
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
29
30
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createBlock(unref(
|
|
31
|
+
return openBlock(), createBlock(unref(Label_default), mergeProps(unref(delegatedProps), {
|
|
31
32
|
"aria-required": _ctx.required,
|
|
32
33
|
"aria-disabled": _ctx.disabled,
|
|
33
34
|
class: unref(clsx)("celeste-label", props.class)
|
|
34
35
|
}), {
|
|
35
36
|
default: withCtx(() => [
|
|
36
37
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
37
|
-
createVNode(unref(
|
|
38
|
+
createVNode(unref(Primitive), {
|
|
38
39
|
class: "celeste-label-button",
|
|
39
40
|
"as-child": ""
|
|
40
41
|
}, {
|
|
@@ -58,6 +59,6 @@ var label_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
58
59
|
]);
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
|
-
}), [["__scopeId", "data-v-
|
|
62
|
+
}), [["__scopeId", "data-v-5ae119db"]]);
|
|
62
63
|
//#endregion
|
|
63
64
|
export { label_default as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { t as switch_default } from "./switch.js";
|
|
2
3
|
import { t as button_default } from "./button.js";
|
|
3
4
|
import { t as compact_button_default } from "./compact-button.js";
|
|
4
5
|
import { t as link_button_default } from "./link-button.js";
|
|
5
6
|
import { t as text_input_affix_default } from "./text-input-affix.js";
|
|
6
7
|
import { t as text_input_default } from "./text-input.js";
|
|
7
|
-
import { t as label_default } from "./
|
|
8
|
-
import { t as switch_default } from "./switch.js";
|
|
8
|
+
import { t as label_default } from "./label2.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, nextTick, onMounted, onUnmounted, openBlock, ref, toDisplayString, unref, withCtx, withKeys } from "vue";
|
|
10
10
|
//#region src/components/rich-editor/link-bubble.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var _hoisted_1 = {
|
|
@@ -159,9 +159,9 @@ var link_bubble_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
159
159
|
_: 1
|
|
160
160
|
}), createVNode(switch_default, {
|
|
161
161
|
id: "open-in-new-tab",
|
|
162
|
-
|
|
163
|
-
"onUpdate:
|
|
164
|
-
}, null, 8, ["
|
|
162
|
+
modelValue: openInNewTab.value,
|
|
163
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => openInNewTab.value = $event)
|
|
164
|
+
}, null, 8, ["modelValue"])])])) : props.editor.isActive("link") ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
165
165
|
createVNode(link_button_default, {
|
|
166
166
|
href: _ctx.editor.getAttributes("link").href,
|
|
167
167
|
target: _ctx.editor.getAttributes("link").target
|
|
@@ -189,6 +189,6 @@ var link_bubble_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
189
189
|
}, 8, ["editor"]);
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
}), [["__scopeId", "data-v-
|
|
192
|
+
}), [["__scopeId", "data-v-41605266"]]);
|
|
193
193
|
//#endregion
|
|
194
194
|
export { link_bubble_default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as O } from "./dist.js";
|
|
2
1
|
import { t as clsx } from "./clsx.js";
|
|
3
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as Primitive } from "./Primitive.js";
|
|
4
4
|
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/button/link-button.vue
|
|
@@ -18,7 +18,7 @@ var link_button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
18
18
|
setup(__props) {
|
|
19
19
|
const props = __props;
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(
|
|
21
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
22
22
|
as: _ctx.as,
|
|
23
23
|
disabled: _ctx.disabled,
|
|
24
24
|
"as-child": _ctx.asChild,
|
|
@@ -36,6 +36,6 @@ var link_button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
|
|
|
36
36
|
]);
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
}), [["__scopeId", "data-v-
|
|
39
|
+
}), [["__scopeId", "data-v-6436f331"]]);
|
|
40
40
|
//#endregion
|
|
41
41
|
export { link_button_default as t };
|
package/dist/es/chunks/menus.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as autoPlacement, c as hide, d as shift, f as size, i as arrow$1, l as inline, o as computePosition, s as flip, u as offset } from "./PopperContent.js";
|
|
2
2
|
import { B as TextSelection, F as NodeSelection, I as Plugin, L as PluginKey, M as keydownHandler, O as posToDOMRect, R as Selection, S as isTextSelection, U as Fragment$1, W as Slice, g as getTextSerializersFromSchema, h as getText, z as SelectionRange } from "./dist2.js";
|
|
3
3
|
import { defineComponent, h, nextTick, onBeforeUnmount, onMounted, ref } from "vue";
|
|
4
4
|
//#region ../../node_modules/.pnpm/prosemirror-tables@1.7.1/node_modules/prosemirror-tables/dist/index.js
|
|
@@ -632,7 +632,7 @@ function atEndOfCell(view, axis, dir) {
|
|
|
632
632
|
}
|
|
633
633
|
new PluginKey("tableColumnResizing");
|
|
634
634
|
//#endregion
|
|
635
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.11.0_@floating-ui+dom@1.6.13_@tiptap+core@3.11.0_@tiptap+pm@3.11.0__@
|
|
635
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.11.0_@floating-ui+dom@1.6.13_@tiptap+core@3.11.0_@tiptap+pm@3.11.0__@ti_45b8c35b8241f1f45bcf18bc7e68b71b/node_modules/@tiptap/vue-3/dist/menus/index.js
|
|
636
636
|
function combineDOMRects(rect1, rect2) {
|
|
637
637
|
const top = Math.min(rect1.top, rect2.top);
|
|
638
638
|
const bottom = Math.max(rect1.bottom, rect2.bottom);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as DialogClose_default } from "./DialogClose.js";
|
|
2
2
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/modal/modal-close.vue
|
|
@@ -11,7 +11,7 @@ var modal_close_default = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const props = __props;
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
return openBlock(), createBlock(unref(
|
|
14
|
+
return openBlock(), createBlock(unref(DialogClose_default), mergeProps(props, { "as-child": "" }), {
|
|
15
15
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
16
16
|
_: 3
|
|
17
17
|
}, 16);
|