@youcan/celeste 0.15.0 → 0.17.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/ai/README.md +1 -1
- package/ai/component-registry.json +922 -78
- package/ai/icons.json +2 -2
- package/ai/tokens.json +2 -2
- package/dist/celeste.css +406 -121
- package/dist/cjs/chunks/BubbleSelect.cjs +3 -3
- package/dist/cjs/chunks/CollapsibleRoot.cjs +1 -1
- package/dist/cjs/chunks/Collection.cjs +7 -1
- package/dist/cjs/chunks/ComboboxContent.cjs +9 -5
- package/dist/cjs/chunks/ComboboxGroup.cjs +2 -2
- package/dist/cjs/chunks/ComboboxInput.cjs +10 -6
- package/dist/cjs/chunks/ComboboxItem.cjs +4 -3
- package/dist/cjs/chunks/ComboboxLabel.cjs +1 -1
- package/dist/cjs/chunks/ComboboxRoot.cjs +69 -14
- package/dist/cjs/chunks/ComboboxSeparator.cjs +1 -1
- package/dist/cjs/chunks/ConfigProvider.cjs +1 -1
- package/dist/cjs/chunks/DialogClose.cjs +1 -1
- package/dist/cjs/chunks/DialogDescription.cjs +1 -1
- package/dist/cjs/chunks/DialogPortal.cjs +22 -19
- package/dist/cjs/chunks/DialogRoot.cjs +1 -1
- package/dist/cjs/chunks/DialogTitle.cjs +1 -1
- package/dist/cjs/chunks/DialogTrigger.cjs +1 -1
- package/dist/cjs/chunks/DismissableLayer.cjs +19 -9
- package/dist/cjs/chunks/DrawerClose.cjs +40 -0
- package/dist/cjs/chunks/DrawerDescription.cjs +37 -0
- package/dist/cjs/chunks/DrawerRoot.cjs +366 -0
- package/dist/cjs/chunks/DrawerTitle.cjs +37 -0
- package/dist/cjs/chunks/DropdownMenuPortal.cjs +2 -2
- package/dist/cjs/chunks/DropdownMenuRoot.cjs +1 -1
- package/dist/cjs/chunks/FocusScope.cjs +18 -9
- package/dist/cjs/chunks/Label.cjs +1 -1
- package/dist/cjs/chunks/MenuAnchor.cjs +1 -1
- package/dist/cjs/chunks/MenuContentImpl.cjs +2 -2
- package/dist/cjs/chunks/MenuGroup.cjs +1 -1
- package/dist/cjs/chunks/MenuItemImpl.cjs +3 -2
- package/dist/cjs/chunks/MenuRoot.cjs +2 -2
- package/dist/cjs/chunks/MenuSub.cjs +1 -1
- package/dist/cjs/chunks/PaginationRoot.cjs +1 -1
- package/dist/cjs/chunks/PinInputRoot.cjs +1 -1
- package/dist/cjs/chunks/PopoverRoot.cjs +1 -1
- package/dist/cjs/chunks/PopperAnchor.cjs +1 -1
- package/dist/cjs/chunks/PopperArrow.cjs +2 -2
- package/dist/cjs/chunks/PopperContent.cjs +2 -2
- package/dist/cjs/chunks/PopperRoot.cjs +1 -1
- package/dist/cjs/chunks/Presence.cjs +6 -5
- package/dist/cjs/chunks/Primitive.cjs +3 -3
- package/dist/cjs/chunks/ProgressIndicator.cjs +2 -2
- package/dist/cjs/chunks/RadioGroupRoot.cjs +1 -1
- package/dist/cjs/chunks/RovingFocusGroup.cjs +1 -1
- package/dist/cjs/chunks/RovingFocusItem.cjs +1 -1
- package/dist/cjs/chunks/SelectGroup.cjs +1 -1
- package/dist/cjs/chunks/SelectItemAlignedPosition.cjs +8 -4
- package/dist/cjs/chunks/TabsRoot.cjs +1 -1
- package/dist/cjs/chunks/Teleport.cjs +1 -1
- package/dist/cjs/chunks/ToggleGroupRoot.cjs +2 -2
- package/dist/cjs/chunks/TooltipProvider.cjs +1 -1
- package/dist/cjs/chunks/TooltipRoot.cjs +2 -2
- package/dist/cjs/chunks/VisuallyHidden.cjs +1 -1
- package/dist/cjs/chunks/VisuallyHiddenInput.cjs +2 -2
- package/dist/cjs/chunks/calendar.cjs +11 -11
- package/dist/cjs/chunks/checkbox.cjs +4 -4
- package/dist/cjs/chunks/clamp.cjs +1 -1
- package/dist/cjs/chunks/collapsible-content.cjs +1 -1
- package/dist/cjs/chunks/collapsible-trigger.cjs +1 -1
- package/dist/cjs/chunks/combobox-anchor.cjs +1 -1
- package/dist/cjs/chunks/combobox-empty.cjs +1 -1
- package/dist/cjs/chunks/combobox-list.cjs +2 -2
- package/dist/cjs/chunks/combobox-trigger.cjs +1 -1
- package/dist/cjs/chunks/components.cjs +43 -7
- package/dist/cjs/chunks/content-divider.cjs +2 -2
- package/dist/cjs/chunks/counter-input.cjs +67 -23
- package/dist/cjs/chunks/createContext.cjs +1 -1
- package/dist/cjs/chunks/dialog-body.cjs +46 -0
- package/dist/cjs/chunks/dialog-close.cjs +31 -0
- package/dist/cjs/chunks/dialog-content.cjs +39 -0
- package/dist/cjs/chunks/dialog-description.cjs +37 -0
- package/dist/cjs/chunks/dialog-footer.cjs +46 -0
- package/dist/cjs/chunks/dialog-header.cjs +39 -0
- package/dist/cjs/chunks/dialog-title.cjs +37 -0
- package/dist/cjs/chunks/dialog-trigger.cjs +31 -0
- package/dist/cjs/chunks/dialog.cjs +76 -0
- package/dist/cjs/chunks/digit-input-slot.cjs +28 -7
- package/dist/cjs/chunks/drawer-body.cjs +73 -0
- package/dist/cjs/chunks/drawer-close.cjs +27 -0
- package/dist/cjs/chunks/drawer-content.cjs +1201 -0
- package/dist/cjs/chunks/drawer-description.cjs +40 -0
- package/dist/cjs/chunks/drawer-footer.cjs +30 -0
- package/dist/cjs/chunks/drawer-header.cjs +75 -0
- package/dist/cjs/chunks/drawer-title.cjs +40 -0
- package/dist/cjs/chunks/drawer-trigger.cjs +75 -0
- package/dist/cjs/chunks/drawer.cjs +54 -0
- package/dist/cjs/chunks/dropdown-menu-content.cjs +4 -4
- package/dist/cjs/chunks/dropdown-menu-group.cjs +1 -1
- package/dist/cjs/chunks/dropdown-menu-item.cjs +2 -2
- package/dist/cjs/chunks/dropdown-menu-label.cjs +2 -2
- package/dist/cjs/chunks/dropdown-menu-separator.cjs +2 -2
- package/dist/cjs/chunks/dropdown-menu-sub-content.cjs +2 -2
- package/dist/cjs/chunks/dropdown-menu-sub-trigger.cjs +2 -2
- package/dist/cjs/chunks/dropdown-menu-sub.cjs +1 -1
- package/dist/cjs/chunks/dropdown-menu-trigger.cjs +1 -1
- package/dist/cjs/chunks/getActiveElement.cjs +1 -1
- package/dist/cjs/chunks/handleAndDispatchCustomEvent.cjs +1 -1
- package/dist/cjs/chunks/isValueEqualOrExist.cjs +1 -1
- package/dist/cjs/chunks/modal-content.cjs +11 -6
- package/dist/cjs/chunks/nullish.cjs +1 -1
- package/dist/cjs/chunks/pagination-content.cjs +2 -2
- package/dist/cjs/chunks/pagination-ellipsis.cjs +1 -1
- package/dist/cjs/chunks/pagination-first.cjs +1 -1
- package/dist/cjs/chunks/pagination-item.cjs +1 -1
- package/dist/cjs/chunks/pagination-last.cjs +1 -1
- package/dist/cjs/chunks/pagination-next.cjs +1 -1
- package/dist/cjs/chunks/pagination-previous.cjs +1 -1
- package/dist/cjs/chunks/popover-content.cjs +8 -8
- package/dist/cjs/chunks/popover-trigger.cjs +3 -2
- package/dist/cjs/chunks/radio-group-item.cjs +5 -5
- package/dist/cjs/chunks/range-calendar.cjs +11 -11
- package/dist/cjs/chunks/scroll-area.cjs +3 -3
- package/dist/cjs/chunks/scroll-bar.cjs +12 -12
- package/dist/cjs/chunks/segmented-control-item.cjs +2 -2
- package/dist/cjs/chunks/select-content.cjs +4 -4
- package/dist/cjs/chunks/select-item.cjs +3 -3
- package/dist/cjs/chunks/select-label.cjs +1 -1
- package/dist/cjs/chunks/select-separator.cjs +1 -1
- package/dist/cjs/chunks/select-trigger.cjs +3 -3
- package/dist/cjs/chunks/select-value.cjs +1 -1
- package/dist/cjs/chunks/slider.cjs +9 -9
- package/dist/cjs/chunks/switch.cjs +2 -2
- package/dist/cjs/chunks/tab-menu-content.cjs +1 -1
- package/dist/cjs/chunks/tab-menu-item.cjs +1 -1
- package/dist/cjs/chunks/tab-menu-list.cjs +1 -1
- package/dist/cjs/chunks/tooltip-content.cjs +28 -16
- package/dist/cjs/chunks/tooltip-trigger.cjs +5 -5
- package/dist/cjs/chunks/useArrowNavigation.cjs +1 -1
- package/dist/cjs/chunks/useCalendar.cjs +34 -11
- package/dist/cjs/chunks/useComposing.cjs +20 -1
- package/dist/cjs/chunks/useDirection.cjs +1 -1
- package/dist/cjs/chunks/useEmitAsProps.cjs +1 -1
- package/dist/cjs/chunks/useFocusGuards.cjs +1 -1
- package/dist/cjs/chunks/useFormControl.cjs +1 -1
- package/dist/cjs/chunks/useForwardExpose.cjs +1 -1
- package/dist/cjs/chunks/useForwardProps.cjs +1 -1
- package/dist/cjs/chunks/useForwardPropsEmits.cjs +1 -1
- package/dist/cjs/chunks/useForwardScopeId.cjs +1 -1
- package/dist/cjs/chunks/useHideOthers.cjs +1 -1
- package/dist/cjs/chunks/useId.cjs +1 -1
- package/dist/cjs/chunks/useKbd.cjs +1 -1
- package/dist/cjs/chunks/useLocale.cjs +1 -1
- package/dist/cjs/chunks/useNonce.cjs +1 -1
- package/dist/cjs/chunks/usePrimitiveElement.cjs +1 -1
- package/dist/cjs/chunks/useSize.cjs +1 -1
- package/dist/cjs/chunks/useTypeahead.cjs +1 -1
- package/dist/cjs/chunks/utils.cjs +1 -1
- package/dist/cjs/chunks/utils2.cjs +1 -1
- package/dist/cjs/chunks/utils3.cjs +1 -1
- package/dist/cjs/context.cjs +6 -0
- package/dist/cjs/dialog-body.cjs +2 -0
- package/dist/cjs/dialog-close.cjs +2 -0
- package/dist/cjs/dialog-content.cjs +2 -0
- package/dist/cjs/dialog-description.cjs +2 -0
- package/dist/cjs/dialog-footer.cjs +2 -0
- package/dist/cjs/dialog-header.cjs +2 -0
- package/dist/cjs/dialog-title.cjs +2 -0
- package/dist/cjs/dialog-trigger.cjs +2 -0
- package/dist/cjs/dialog.cjs +2 -0
- package/dist/cjs/drawer-body.cjs +2 -0
- package/dist/cjs/drawer-close.cjs +2 -0
- package/dist/cjs/drawer-content.cjs +2 -0
- package/dist/cjs/drawer-description.cjs +2 -0
- package/dist/cjs/drawer-footer.cjs +2 -0
- package/dist/cjs/drawer-header.cjs +2 -0
- package/dist/cjs/drawer-title.cjs +2 -0
- package/dist/cjs/drawer-trigger.cjs +2 -0
- package/dist/cjs/drawer.cjs +2 -0
- package/dist/cjs/index.cjs +43 -7
- package/dist/components/dialog/context.d.ts +14 -0
- package/dist/components/dialog/dialog-body.d.ts +19 -0
- package/dist/components/dialog/dialog-close.d.ts +15 -0
- package/dist/components/dialog/dialog-content.d.ts +19 -0
- package/dist/components/dialog/dialog-description.d.ts +17 -0
- package/dist/components/dialog/dialog-footer.d.ts +19 -0
- package/dist/components/dialog/dialog-header.d.ts +13 -0
- package/dist/components/dialog/dialog-title.d.ts +17 -0
- package/dist/components/dialog/dialog-trigger.d.ts +15 -0
- package/dist/components/dialog/dialog.d.ts +28 -0
- package/dist/components/dialog/index.d.ts +18 -0
- package/dist/components/digit-input/digit-input.d.ts +3 -3
- package/dist/components/drawer/drawer-body.d.ts +18 -0
- package/dist/components/drawer/drawer-close.d.ts +16 -0
- package/dist/components/drawer/drawer-content.d.ts +32 -0
- package/dist/components/drawer/drawer-description.d.ts +18 -0
- package/dist/components/drawer/drawer-footer.d.ts +17 -0
- package/dist/components/drawer/drawer-header.d.ts +24 -0
- package/dist/components/drawer/drawer-title.d.ts +18 -0
- package/dist/components/drawer/drawer-trigger.d.ts +16 -0
- package/dist/components/drawer/drawer.d.ts +30 -0
- package/dist/components/drawer/index.d.ts +18 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/modal/modal-content.d.ts +2 -2
- package/dist/es/chunks/BubbleSelect.js +3 -3
- package/dist/es/chunks/CollapsibleRoot.js +1 -1
- package/dist/es/chunks/Collection.js +7 -1
- package/dist/es/chunks/ComboboxContent.js +11 -7
- package/dist/es/chunks/ComboboxGroup.js +2 -2
- package/dist/es/chunks/ComboboxInput.js +10 -6
- package/dist/es/chunks/ComboboxItem.js +4 -3
- package/dist/es/chunks/ComboboxLabel.js +1 -1
- package/dist/es/chunks/ComboboxRoot.js +69 -14
- package/dist/es/chunks/ComboboxSeparator.js +1 -1
- package/dist/es/chunks/ConfigProvider.js +1 -1
- package/dist/es/chunks/DialogClose.js +1 -1
- package/dist/es/chunks/DialogDescription.js +1 -1
- package/dist/es/chunks/DialogPortal.js +23 -20
- package/dist/es/chunks/DialogRoot.js +1 -1
- package/dist/es/chunks/DialogTitle.js +1 -1
- package/dist/es/chunks/DialogTrigger.js +1 -1
- package/dist/es/chunks/DismissableLayer.js +14 -10
- package/dist/es/chunks/DrawerClose.js +35 -0
- package/dist/es/chunks/DrawerDescription.js +32 -0
- package/dist/es/chunks/DrawerRoot.js +325 -0
- package/dist/es/chunks/DrawerTitle.js +32 -0
- package/dist/es/chunks/DropdownMenuPortal.js +2 -2
- package/dist/es/chunks/DropdownMenuRoot.js +1 -1
- package/dist/es/chunks/FocusScope.js +13 -10
- package/dist/es/chunks/Label.js +1 -1
- package/dist/es/chunks/MenuAnchor.js +1 -1
- package/dist/es/chunks/MenuContentImpl.js +3 -3
- package/dist/es/chunks/MenuGroup.js +1 -1
- package/dist/es/chunks/MenuItemImpl.js +3 -2
- package/dist/es/chunks/MenuRoot.js +2 -2
- package/dist/es/chunks/MenuSub.js +1 -1
- package/dist/es/chunks/PaginationRoot.js +1 -1
- package/dist/es/chunks/PinInputRoot.js +1 -1
- package/dist/es/chunks/PopoverRoot.js +1 -1
- package/dist/es/chunks/PopperAnchor.js +1 -1
- package/dist/es/chunks/PopperArrow.js +2 -2
- package/dist/es/chunks/PopperContent.js +2 -2
- package/dist/es/chunks/PopperRoot.js +1 -1
- package/dist/es/chunks/Presence.js +6 -5
- package/dist/es/chunks/Primitive.js +3 -3
- package/dist/es/chunks/ProgressIndicator.js +2 -2
- package/dist/es/chunks/RadioGroupRoot.js +1 -1
- package/dist/es/chunks/RovingFocusGroup.js +1 -1
- package/dist/es/chunks/RovingFocusItem.js +1 -1
- package/dist/es/chunks/SelectGroup.js +1 -1
- package/dist/es/chunks/SelectItemAlignedPosition.js +9 -5
- package/dist/es/chunks/TabsRoot.js +1 -1
- package/dist/es/chunks/Teleport.js +1 -1
- package/dist/es/chunks/ToggleGroupRoot.js +2 -2
- package/dist/es/chunks/TooltipProvider.js +1 -1
- package/dist/es/chunks/TooltipRoot.js +2 -2
- package/dist/es/chunks/VisuallyHidden.js +1 -1
- package/dist/es/chunks/VisuallyHiddenInput.js +2 -2
- package/dist/es/chunks/calendar.js +11 -11
- package/dist/es/chunks/checkbox.js +4 -4
- package/dist/es/chunks/clamp.js +1 -1
- package/dist/es/chunks/collapsible-content.js +1 -1
- package/dist/es/chunks/collapsible-trigger.js +1 -1
- package/dist/es/chunks/combobox-anchor.js +1 -1
- package/dist/es/chunks/combobox-empty.js +1 -1
- package/dist/es/chunks/combobox-list.js +2 -2
- package/dist/es/chunks/combobox-trigger.js +1 -1
- package/dist/es/chunks/components.js +43 -7
- package/dist/es/chunks/content-divider.js +2 -2
- package/dist/es/chunks/counter-input.js +68 -24
- package/dist/es/chunks/createContext.js +1 -1
- package/dist/es/chunks/dialog-body.js +39 -0
- package/dist/es/chunks/dialog-close.js +26 -0
- package/dist/es/chunks/dialog-content.js +34 -0
- package/dist/es/chunks/dialog-description.js +30 -0
- package/dist/es/chunks/dialog-footer.js +39 -0
- package/dist/es/chunks/dialog-header.js +34 -0
- package/dist/es/chunks/dialog-title.js +30 -0
- package/dist/es/chunks/dialog-trigger.js +26 -0
- package/dist/es/chunks/dialog.js +71 -0
- package/dist/es/chunks/digit-input-slot.js +28 -7
- package/dist/es/chunks/drawer-body.js +65 -0
- package/dist/es/chunks/drawer-close.js +22 -0
- package/dist/es/chunks/drawer-content.js +1193 -0
- package/dist/es/chunks/drawer-description.js +33 -0
- package/dist/es/chunks/drawer-footer.js +23 -0
- package/dist/es/chunks/drawer-header.js +69 -0
- package/dist/es/chunks/drawer-title.js +33 -0
- package/dist/es/chunks/drawer-trigger.js +70 -0
- package/dist/es/chunks/drawer.js +49 -0
- package/dist/es/chunks/dropdown-menu-content.js +4 -4
- package/dist/es/chunks/dropdown-menu-group.js +1 -1
- package/dist/es/chunks/dropdown-menu-item.js +2 -2
- package/dist/es/chunks/dropdown-menu-label.js +2 -2
- package/dist/es/chunks/dropdown-menu-separator.js +2 -2
- package/dist/es/chunks/dropdown-menu-sub-content.js +2 -2
- package/dist/es/chunks/dropdown-menu-sub-trigger.js +2 -2
- package/dist/es/chunks/dropdown-menu-sub.js +1 -1
- package/dist/es/chunks/dropdown-menu-trigger.js +1 -1
- package/dist/es/chunks/getActiveElement.js +1 -1
- package/dist/es/chunks/handleAndDispatchCustomEvent.js +1 -1
- package/dist/es/chunks/isValueEqualOrExist.js +1 -1
- package/dist/es/chunks/modal-content.js +12 -7
- package/dist/es/chunks/nullish.js +1 -1
- package/dist/es/chunks/pagination-content.js +2 -2
- package/dist/es/chunks/pagination-ellipsis.js +1 -1
- package/dist/es/chunks/pagination-first.js +1 -1
- package/dist/es/chunks/pagination-item.js +1 -1
- package/dist/es/chunks/pagination-last.js +1 -1
- package/dist/es/chunks/pagination-next.js +1 -1
- package/dist/es/chunks/pagination-previous.js +1 -1
- package/dist/es/chunks/popover-content.js +9 -9
- package/dist/es/chunks/popover-trigger.js +3 -2
- package/dist/es/chunks/radio-group-item.js +5 -5
- package/dist/es/chunks/range-calendar.js +11 -11
- package/dist/es/chunks/scroll-area.js +3 -3
- package/dist/es/chunks/scroll-bar.js +12 -12
- package/dist/es/chunks/segmented-control-item.js +2 -2
- package/dist/es/chunks/select-content.js +4 -4
- package/dist/es/chunks/select-item.js +3 -3
- package/dist/es/chunks/select-label.js +1 -1
- package/dist/es/chunks/select-separator.js +1 -1
- package/dist/es/chunks/select-trigger.js +3 -3
- package/dist/es/chunks/select-value.js +1 -1
- package/dist/es/chunks/slider.js +9 -9
- package/dist/es/chunks/switch.js +2 -2
- package/dist/es/chunks/tab-menu-content.js +1 -1
- package/dist/es/chunks/tab-menu-item.js +1 -1
- package/dist/es/chunks/tab-menu-list.js +1 -1
- package/dist/es/chunks/tooltip-content.js +28 -16
- package/dist/es/chunks/tooltip-trigger.js +6 -6
- package/dist/es/chunks/useArrowNavigation.js +1 -1
- package/dist/es/chunks/useCalendar.js +34 -11
- package/dist/es/chunks/useComposing.js +21 -2
- package/dist/es/chunks/useDirection.js +1 -1
- package/dist/es/chunks/useEmitAsProps.js +1 -1
- package/dist/es/chunks/useFocusGuards.js +1 -1
- package/dist/es/chunks/useFormControl.js +1 -1
- package/dist/es/chunks/useForwardExpose.js +1 -1
- package/dist/es/chunks/useForwardProps.js +1 -1
- package/dist/es/chunks/useForwardPropsEmits.js +1 -1
- package/dist/es/chunks/useForwardScopeId.js +1 -1
- package/dist/es/chunks/useHideOthers.js +1 -1
- package/dist/es/chunks/useId.js +1 -1
- package/dist/es/chunks/useKbd.js +1 -1
- package/dist/es/chunks/useLocale.js +1 -1
- package/dist/es/chunks/useNonce.js +1 -1
- package/dist/es/chunks/usePrimitiveElement.js +1 -1
- package/dist/es/chunks/useSize.js +1 -1
- package/dist/es/chunks/useTypeahead.js +1 -1
- package/dist/es/chunks/utils.js +1 -1
- package/dist/es/chunks/utils2.js +1 -1
- package/dist/es/chunks/utils3.js +1 -1
- package/dist/es/context.js +5 -0
- package/dist/es/dialog-body.js +2 -0
- package/dist/es/dialog-close.js +2 -0
- package/dist/es/dialog-content.js +2 -0
- package/dist/es/dialog-description.js +2 -0
- package/dist/es/dialog-footer.js +2 -0
- package/dist/es/dialog-header.js +2 -0
- package/dist/es/dialog-title.js +2 -0
- package/dist/es/dialog-trigger.js +2 -0
- package/dist/es/dialog.js +2 -0
- package/dist/es/drawer-body.js +2 -0
- package/dist/es/drawer-close.js +2 -0
- package/dist/es/drawer-content.js +2 -0
- package/dist/es/drawer-description.js +2 -0
- package/dist/es/drawer-footer.js +2 -0
- package/dist/es/drawer-header.js +2 -0
- package/dist/es/drawer-title.js +2 -0
- package/dist/es/drawer-trigger.js +2 -0
- package/dist/es/drawer.js +2 -0
- package/dist/es/index.js +26 -8
- package/package.json +4 -4
- package/src/components/dialog/context.ts +4 -0
- package/src/components/dialog/dialog-body.vue +30 -0
- package/src/components/dialog/dialog-close.vue +16 -0
- package/src/components/dialog/dialog-content.vue +23 -0
- package/src/components/dialog/dialog-description.vue +28 -0
- package/src/components/dialog/dialog-footer.vue +32 -0
- package/src/components/dialog/dialog-header.vue +29 -0
- package/src/components/dialog/dialog-title.vue +28 -0
- package/src/components/dialog/dialog-trigger.vue +16 -0
- package/src/components/dialog/dialog.vue +38 -0
- package/src/components/dialog/index.ts +18 -0
- package/src/components/dialog/stories/dialog.stories.ts +74 -0
- package/src/components/drawer/drawer-body.vue +30 -0
- package/src/components/drawer/drawer-close.vue +14 -0
- package/src/components/drawer/drawer-content.vue +259 -0
- package/src/components/drawer/drawer-description.vue +29 -0
- package/src/components/drawer/drawer-footer.vue +27 -0
- package/src/components/drawer/drawer-header.vue +95 -0
- package/src/components/drawer/drawer-title.vue +29 -0
- package/src/components/drawer/drawer-trigger.vue +14 -0
- package/src/components/drawer/drawer.vue +29 -0
- package/src/components/drawer/index.ts +18 -0
- package/src/components/drawer/stories/drawer.stories.ts +78 -0
- package/src/components/index.ts +2 -0
- package/src/components/modal/modal-content.vue +41 -17
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx.js";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { f as reactiveOmit } from "./dist.js";
|
|
4
|
+
import { t as DrawerDescription_default } from "./DrawerDescription.js";
|
|
5
|
+
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/drawer/drawer-description.vue
|
|
8
|
+
var drawer_description_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "drawer-description",
|
|
10
|
+
props: {
|
|
11
|
+
class: { type: [
|
|
12
|
+
Boolean,
|
|
13
|
+
null,
|
|
14
|
+
String,
|
|
15
|
+
Object,
|
|
16
|
+
Array
|
|
17
|
+
] },
|
|
18
|
+
asChild: { type: Boolean },
|
|
19
|
+
as: {}
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const delegated = reactiveOmit(props, "class");
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createBlock(unref(DrawerDescription_default), mergeProps({ class: unref(clsx)("celeste-drawer-description", props.class) }, unref(delegated)), {
|
|
26
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
27
|
+
_: 3
|
|
28
|
+
}, 16, ["class"]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}), [["__scopeId", "data-v-2570c59f"]]);
|
|
32
|
+
//#endregion
|
|
33
|
+
export { drawer_description_default as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx.js";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/drawer/drawer-footer.vue
|
|
6
|
+
var drawer_footer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "drawer-footer",
|
|
8
|
+
props: { class: { type: [
|
|
9
|
+
Boolean,
|
|
10
|
+
null,
|
|
11
|
+
String,
|
|
12
|
+
Object,
|
|
13
|
+
Array
|
|
14
|
+
] } },
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(clsx)("celeste-drawer-footer", props.class)) }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 2);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}), [["__scopeId", "data-v-92c5134c"]]);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { drawer_footer_default as t };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx.js";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { t as DrawerClose_default } from "./DrawerClose.js";
|
|
4
|
+
import { t as compact_button_default } from "./compact-button.js";
|
|
5
|
+
import { t as drawer_description_default } from "./drawer-description.js";
|
|
6
|
+
import { t as drawer_title_default } from "./drawer-title.js";
|
|
7
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
8
|
+
//#region src/components/drawer/drawer-header.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var _hoisted_1 = ["data-size", "data-divider"];
|
|
10
|
+
var _hoisted_2 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "icon"
|
|
13
|
+
};
|
|
14
|
+
var _hoisted_3 = { class: "content" };
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/drawer/drawer-header.vue
|
|
17
|
+
var drawer_header_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
18
|
+
__name: "drawer-header",
|
|
19
|
+
props: {
|
|
20
|
+
title: {},
|
|
21
|
+
description: {},
|
|
22
|
+
icon: {},
|
|
23
|
+
dismissible: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: true
|
|
26
|
+
},
|
|
27
|
+
divider: { type: Boolean },
|
|
28
|
+
class: { type: [
|
|
29
|
+
Boolean,
|
|
30
|
+
null,
|
|
31
|
+
String,
|
|
32
|
+
Object,
|
|
33
|
+
Array
|
|
34
|
+
] }
|
|
35
|
+
},
|
|
36
|
+
setup(__props) {
|
|
37
|
+
const props = __props;
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return openBlock(), createElementBlock("div", {
|
|
40
|
+
class: normalizeClass(unref(clsx)("celeste-drawer-header", props.class)),
|
|
41
|
+
"data-size": __props.description ? "lg" : "sm",
|
|
42
|
+
"data-divider": __props.divider
|
|
43
|
+
}, [
|
|
44
|
+
__props.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createElementVNode("i", { class: normalizeClass(__props.icon) }, null, 2)])) : createCommentVNode("", true),
|
|
45
|
+
createElementVNode("div", _hoisted_3, [createVNode(drawer_title_default, null, {
|
|
46
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
47
|
+
_: 1
|
|
48
|
+
}), __props.description ? (openBlock(), createBlock(drawer_description_default, { key: 0 }, {
|
|
49
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.description), 1)]),
|
|
50
|
+
_: 1
|
|
51
|
+
})) : createCommentVNode("", true)]),
|
|
52
|
+
renderSlot(_ctx.$slots, "actions", {}, void 0, true),
|
|
53
|
+
__props.dismissible ? (openBlock(), createBlock(unref(DrawerClose_default), {
|
|
54
|
+
key: 1,
|
|
55
|
+
"as-child": ""
|
|
56
|
+
}, {
|
|
57
|
+
default: withCtx(() => [createVNode(compact_button_default, {
|
|
58
|
+
icon: "i-celeste-close-line",
|
|
59
|
+
variant: "ghost",
|
|
60
|
+
size: "lg"
|
|
61
|
+
})]),
|
|
62
|
+
_: 1
|
|
63
|
+
})) : createCommentVNode("", true)
|
|
64
|
+
], 10, _hoisted_1);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}), [["__scopeId", "data-v-fb4512f2"]]);
|
|
68
|
+
//#endregion
|
|
69
|
+
export { drawer_header_default as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx.js";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
|
+
import { f as reactiveOmit } from "./dist.js";
|
|
4
|
+
import { t as DrawerTitle_default } from "./DrawerTitle.js";
|
|
5
|
+
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/drawer/drawer-title.vue
|
|
8
|
+
var drawer_title_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "drawer-title",
|
|
10
|
+
props: {
|
|
11
|
+
class: { type: [
|
|
12
|
+
Boolean,
|
|
13
|
+
null,
|
|
14
|
+
String,
|
|
15
|
+
Object,
|
|
16
|
+
Array
|
|
17
|
+
] },
|
|
18
|
+
asChild: { type: Boolean },
|
|
19
|
+
as: {}
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const delegated = reactiveOmit(props, "class");
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createBlock(unref(DrawerTitle_default), mergeProps({ class: unref(clsx)("celeste-drawer-title", props.class) }, unref(delegated)), {
|
|
26
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
27
|
+
_: 3
|
|
28
|
+
}, 16, ["class"]);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}), [["__scopeId", "data-v-208ff7c2"]]);
|
|
32
|
+
//#endregion
|
|
33
|
+
export { drawer_title_default as t };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { t as Primitive } from "./Primitive.js";
|
|
2
|
+
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
3
|
+
import { n as injectDrawerRootContext } from "./DrawerRoot.js";
|
|
4
|
+
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, onUnmounted, openBlock, renderSlot, unref, watch, withCtx } from "vue";
|
|
5
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Drawer/DrawerTrigger.js
|
|
6
|
+
var DrawerTrigger_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "DrawerTrigger",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
required: false
|
|
12
|
+
},
|
|
13
|
+
as: {
|
|
14
|
+
type: null,
|
|
15
|
+
required: false,
|
|
16
|
+
default: "button"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const rootContext = injectDrawerRootContext();
|
|
22
|
+
const { forwardRef, currentElement } = useForwardExpose();
|
|
23
|
+
watch(currentElement, (el) => {
|
|
24
|
+
rootContext.triggerElement.value = el;
|
|
25
|
+
}, { immediate: true });
|
|
26
|
+
onUnmounted(() => {
|
|
27
|
+
if (rootContext.triggerElement.value === currentElement.value) rootContext.triggerElement.value = void 0;
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
31
|
+
ref: unref(forwardRef),
|
|
32
|
+
type: _ctx.as === "button" ? "button" : void 0,
|
|
33
|
+
"aria-haspopup": "dialog",
|
|
34
|
+
"aria-expanded": unref(rootContext).open.value,
|
|
35
|
+
"aria-controls": unref(rootContext).open.value ? unref(rootContext).contentId : void 0,
|
|
36
|
+
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
37
|
+
onClick: unref(rootContext).onOpenToggle
|
|
38
|
+
}), {
|
|
39
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
40
|
+
_: 3
|
|
41
|
+
}, 16, [
|
|
42
|
+
"type",
|
|
43
|
+
"aria-expanded",
|
|
44
|
+
"aria-controls",
|
|
45
|
+
"data-state",
|
|
46
|
+
"onClick"
|
|
47
|
+
]);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/drawer/drawer-trigger.vue
|
|
53
|
+
var drawer_trigger_default = /* @__PURE__ */ defineComponent({
|
|
54
|
+
__name: "drawer-trigger",
|
|
55
|
+
props: {
|
|
56
|
+
asChild: { type: Boolean },
|
|
57
|
+
as: {}
|
|
58
|
+
},
|
|
59
|
+
setup(__props) {
|
|
60
|
+
const props = __props;
|
|
61
|
+
return (_ctx, _cache) => {
|
|
62
|
+
return openBlock(), createBlock(unref(DrawerTrigger_default), normalizeProps(guardReactiveProps(props)), {
|
|
63
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
64
|
+
_: 3
|
|
65
|
+
}, 16);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
//#endregion
|
|
70
|
+
export { drawer_trigger_default as t };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { f as reactiveOmit } from "./dist.js";
|
|
2
|
+
import { t as useForwardPropsEmits } from "./useForwardPropsEmits.js";
|
|
3
|
+
import { t as DrawerRoot_default } from "./DrawerRoot.js";
|
|
4
|
+
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/drawer/drawer.vue
|
|
7
|
+
var drawer_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "drawer",
|
|
9
|
+
props: {
|
|
10
|
+
side: { default: "right" },
|
|
11
|
+
open: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: void 0
|
|
14
|
+
},
|
|
15
|
+
defaultOpen: { type: Boolean },
|
|
16
|
+
modal: {
|
|
17
|
+
type: [Boolean, String],
|
|
18
|
+
default: true
|
|
19
|
+
},
|
|
20
|
+
snapPoints: {},
|
|
21
|
+
snapPoint: {},
|
|
22
|
+
defaultSnapPoint: {},
|
|
23
|
+
snapToSequentialPoints: { type: Boolean }
|
|
24
|
+
},
|
|
25
|
+
emits: [
|
|
26
|
+
"update:open",
|
|
27
|
+
"update:openComplete",
|
|
28
|
+
"update:snapPoint"
|
|
29
|
+
],
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const emits = __emit;
|
|
33
|
+
const directions = {
|
|
34
|
+
right: "right",
|
|
35
|
+
left: "left",
|
|
36
|
+
bottom: "down",
|
|
37
|
+
top: "up"
|
|
38
|
+
};
|
|
39
|
+
const forwarded = useForwardPropsEmits(reactiveOmit(props, "side"), emits);
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return openBlock(), createBlock(unref(DrawerRoot_default), mergeProps(unref(forwarded), { "swipe-direction": directions[__props.side] }), {
|
|
42
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16, ["swipe-direction"]);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { drawer_default as t };
|
|
@@ -11,7 +11,7 @@ import { t as DropdownMenuPortal_default } from "./DropdownMenuPortal.js";
|
|
|
11
11
|
import { n as injectDropdownMenuRootContext } from "./DropdownMenuRoot.js";
|
|
12
12
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
13
13
|
import { createBlock, createVNode, defineComponent, mergeProps, normalizeProps, openBlock, ref, renderSlot, unref, withCtx, withModifiers } from "vue";
|
|
14
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
14
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuRootContentModal.js
|
|
15
15
|
var MenuRootContentModal_default = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "MenuRootContentModal",
|
|
17
17
|
props: {
|
|
@@ -136,7 +136,7 @@ var MenuRootContentModal_default = /* @__PURE__ */ defineComponent({
|
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
139
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuRootContentNonModal.js
|
|
140
140
|
var MenuRootContentNonModal_default = /* @__PURE__ */ defineComponent({
|
|
141
141
|
__name: "MenuRootContentNonModal",
|
|
142
142
|
props: {
|
|
@@ -255,7 +255,7 @@ var MenuRootContentNonModal_default = /* @__PURE__ */ defineComponent({
|
|
|
255
255
|
}
|
|
256
256
|
});
|
|
257
257
|
//#endregion
|
|
258
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
258
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuContent.js
|
|
259
259
|
var MenuContent_default = /* @__PURE__ */ defineComponent({
|
|
260
260
|
__name: "MenuContent",
|
|
261
261
|
props: {
|
|
@@ -386,7 +386,7 @@ var MenuContent_default = /* @__PURE__ */ defineComponent({
|
|
|
386
386
|
}
|
|
387
387
|
});
|
|
388
388
|
//#endregion
|
|
389
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
389
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuContent.js
|
|
390
390
|
var DropdownMenuContent_default = /* @__PURE__ */ defineComponent({
|
|
391
391
|
__name: "DropdownMenuContent",
|
|
392
392
|
props: {
|
|
@@ -2,7 +2,7 @@ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-hel
|
|
|
2
2
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
3
3
|
import { t as MenuGroup_default } from "./MenuGroup.js";
|
|
4
4
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
5
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuGroup.js
|
|
6
6
|
var DropdownMenuGroup_default = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "DropdownMenuGroup",
|
|
8
8
|
props: {
|
|
@@ -9,7 +9,7 @@ import { n as injectMenuContentContext } from "./MenuContentImpl.js";
|
|
|
9
9
|
import { t as MenuItemImpl_default } from "./MenuItemImpl.js";
|
|
10
10
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
11
11
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeProps, openBlock, ref, renderSlot, unref, withCtx } from "vue";
|
|
12
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
12
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuItem.js
|
|
13
13
|
var MenuItem_default = /* @__PURE__ */ defineComponent({
|
|
14
14
|
__name: "MenuItem",
|
|
15
15
|
props: {
|
|
@@ -85,7 +85,7 @@ var MenuItem_default = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
//#endregion
|
|
88
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
88
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItem.js
|
|
89
89
|
var DropdownMenuItem_default = /* @__PURE__ */ defineComponent({
|
|
90
90
|
__name: "DropdownMenuItem",
|
|
91
91
|
props: {
|
|
@@ -6,7 +6,7 @@ import { t as useForwardProps } from "./useForwardProps.js";
|
|
|
6
6
|
import { n as injectMenuGroupContext } from "./MenuGroup.js";
|
|
7
7
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
8
8
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
9
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
9
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuLabel.js
|
|
10
10
|
var MenuLabel_default = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "MenuLabel",
|
|
12
12
|
props: {
|
|
@@ -32,7 +32,7 @@ var MenuLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
35
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuLabel.js
|
|
36
36
|
var DropdownMenuLabel_default = /* @__PURE__ */ defineComponent({
|
|
37
37
|
__name: "DropdownMenuLabel",
|
|
38
38
|
props: {
|
|
@@ -4,7 +4,7 @@ import { t as Primitive } from "./Primitive.js";
|
|
|
4
4
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
5
5
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
6
6
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
7
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
7
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuSeparator.js
|
|
8
8
|
var MenuSeparator_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "MenuSeparator",
|
|
10
10
|
props: {
|
|
@@ -31,7 +31,7 @@ var MenuSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
34
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSeparator.js
|
|
35
35
|
var DropdownMenuSeparator_default = /* @__PURE__ */ defineComponent({
|
|
36
36
|
__name: "DropdownMenuSeparator",
|
|
37
37
|
props: {
|
|
@@ -11,7 +11,7 @@ import { t as DropdownMenuPortal_default } from "./DropdownMenuPortal.js";
|
|
|
11
11
|
import { n as injectMenuSubContext } from "./MenuSub.js";
|
|
12
12
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
13
13
|
import { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx, withModifiers } from "vue";
|
|
14
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
14
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuSubContent.js
|
|
15
15
|
var MenuSubContent_default = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "MenuSubContent",
|
|
17
17
|
props: {
|
|
@@ -169,7 +169,7 @@ var MenuSubContent_default = /* @__PURE__ */ defineComponent({
|
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
172
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubContent.js
|
|
173
173
|
var DropdownMenuSubContent_default = /* @__PURE__ */ defineComponent({
|
|
174
174
|
__name: "DropdownMenuSubContent",
|
|
175
175
|
props: {
|
|
@@ -11,7 +11,7 @@ import { t as MenuItemImpl_default } from "./MenuItemImpl.js";
|
|
|
11
11
|
import { n as injectMenuSubContext } from "./MenuSub.js";
|
|
12
12
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
13
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.
|
|
14
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Menu/MenuSubTrigger.js
|
|
15
15
|
var MenuSubTrigger_default = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "MenuSubTrigger",
|
|
17
17
|
props: {
|
|
@@ -157,7 +157,7 @@ var MenuSubTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
//#endregion
|
|
160
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
160
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js
|
|
161
161
|
var DropdownMenuSubTrigger_default = /* @__PURE__ */ defineComponent({
|
|
162
162
|
__name: "DropdownMenuSubTrigger",
|
|
163
163
|
props: {
|
|
@@ -3,7 +3,7 @@ import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
|
3
3
|
import { t as useForwardPropsEmits } from "./useForwardPropsEmits.js";
|
|
4
4
|
import { t as MenuSub_default } from "./MenuSub.js";
|
|
5
5
|
import { createBlock, defineComponent, guardReactiveProps, isRef, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
6
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSub.js
|
|
7
7
|
var DropdownMenuSub_default = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "DropdownMenuSub",
|
|
9
9
|
props: {
|
|
@@ -6,7 +6,7 @@ import { t as useId } from "./useId.js";
|
|
|
6
6
|
import { t as MenuAnchor_default } from "./MenuAnchor.js";
|
|
7
7
|
import { n as injectDropdownMenuRootContext } from "./DropdownMenuRoot.js";
|
|
8
8
|
import { createBlock, createVNode, defineComponent, mergeProps, nextTick, onMounted, openBlock, renderSlot, unref, withCtx, withKeys } from "vue";
|
|
9
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
9
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js
|
|
10
10
|
var DropdownMenuTrigger_default = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "DropdownMenuTrigger",
|
|
12
12
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/getActiveElement.js
|
|
2
2
|
function getActiveElement() {
|
|
3
3
|
let activeElement = document.activeElement;
|
|
4
4
|
if (activeElement == null) return null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
|
|
2
2
|
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
3
3
|
const target = detail.originalEvent.target;
|
|
4
4
|
const event = new CustomEvent(name, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isEqual } from "./ohash.D__AXeF1.js";
|
|
2
2
|
import { t as isNullish } from "./nullish.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
3
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/isValueEqualOrExist.js
|
|
4
4
|
/**
|
|
5
5
|
* The function `isValueEqualOrExist` checks if a value is equal to or exists in another value or
|
|
6
6
|
* array.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx.js";
|
|
2
2
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
3
3
|
import { t as useForwardPropsEmits } from "./useForwardPropsEmits.js";
|
|
4
|
+
import { n as injectDialogRootContext } from "./DialogRoot.js";
|
|
4
5
|
import { n as DialogOverlay_default, r as DialogContent_default, t as DialogPortal_default } from "./DialogPortal.js";
|
|
5
6
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
6
|
-
import { Transition, createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
7
|
+
import { Transition, createBlock, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
7
8
|
//#endregion
|
|
8
9
|
//#region src/components/modal/modal-content.vue
|
|
9
10
|
var modal_content_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -41,19 +42,23 @@ var modal_content_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
41
42
|
const emits = __emit;
|
|
42
43
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
43
44
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
45
|
+
const root = injectDialogRootContext();
|
|
44
46
|
return (_ctx, _cache) => {
|
|
45
47
|
return openBlock(), createBlock(unref(DialogPortal_default), null, {
|
|
46
|
-
default: withCtx(() => [
|
|
47
|
-
default: withCtx(() => [createVNode(
|
|
48
|
-
default: withCtx(() => [
|
|
48
|
+
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(root).modal.value ? unref(DialogOverlay_default) : "div"), { class: normalizeClass(unref(root).modal.value ? "celeste-modal-overlay" : "celeste-modal-viewport") }, {
|
|
49
|
+
default: withCtx(() => [createVNode(Transition, { name: "fade" }, {
|
|
50
|
+
default: withCtx(() => [createVNode(unref(DialogContent_default), mergeProps(unref(forwarded), { class: unref(clsx)("celeste-modal-content", props.class) }), {
|
|
51
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
52
|
+
_: 3
|
|
53
|
+
}, 16, ["class"])]),
|
|
49
54
|
_: 3
|
|
50
|
-
}
|
|
55
|
+
})]),
|
|
51
56
|
_: 3
|
|
52
|
-
})]),
|
|
57
|
+
}, 8, ["class"]))]),
|
|
53
58
|
_: 3
|
|
54
59
|
});
|
|
55
60
|
};
|
|
56
61
|
}
|
|
57
|
-
}), [["__scopeId", "data-v-
|
|
62
|
+
}), [["__scopeId", "data-v-f6a37b86"]]);
|
|
58
63
|
//#endregion
|
|
59
64
|
export { modal_content_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/nullish.js
|
|
2
2
|
function isNullish(value) {
|
|
3
3
|
return value === null || value === void 0;
|
|
4
4
|
}
|
|
@@ -5,7 +5,7 @@ import { t as Primitive } from "./Primitive.js";
|
|
|
5
5
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
6
6
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
7
7
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
8
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/utils.js
|
|
9
9
|
function range(start, end) {
|
|
10
10
|
const length = end - start + 1;
|
|
11
11
|
return Array.from({ length }, (_, idx) => idx + start);
|
|
@@ -56,7 +56,7 @@ function getRange(currentPage, pageCount, siblingCount, showEdges) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
59
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationList.js
|
|
60
60
|
var PaginationList_default = /* @__PURE__ */ defineComponent({
|
|
61
61
|
__name: "PaginationList",
|
|
62
62
|
props: {
|
|
@@ -4,7 +4,7 @@ import { f as reactiveOmit } from "./dist.js";
|
|
|
4
4
|
import { t as Primitive } from "./Primitive.js";
|
|
5
5
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
6
6
|
import { createBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
7
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
7
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationEllipsis.js
|
|
8
8
|
var PaginationEllipsis_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "PaginationEllipsis",
|
|
10
10
|
props: {
|
|
@@ -5,7 +5,7 @@ import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
|
5
5
|
import { t as useForwardProps } from "./useForwardProps.js";
|
|
6
6
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
7
7
|
import { computed, createBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
8
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationFirst.js
|
|
9
9
|
var PaginationFirst_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "PaginationFirst",
|
|
11
11
|
props: {
|
|
@@ -4,7 +4,7 @@ import { t as Primitive } from "./Primitive.js";
|
|
|
4
4
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
5
5
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
6
6
|
import { computed, createBlock, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
7
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
7
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationListItem.js
|
|
8
8
|
var PaginationListItem_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "PaginationListItem",
|
|
10
10
|
props: {
|
|
@@ -5,7 +5,7 @@ import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
|
5
5
|
import { t as useForwardProps } from "./useForwardProps.js";
|
|
6
6
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
7
7
|
import { computed, createBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
8
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationLast.js
|
|
9
9
|
var PaginationLast_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "PaginationLast",
|
|
11
11
|
props: {
|
|
@@ -5,7 +5,7 @@ import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
|
5
5
|
import { t as useForwardProps } from "./useForwardProps.js";
|
|
6
6
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
7
7
|
import { computed, createBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
8
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationNext.js
|
|
9
9
|
var PaginationNext_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "PaginationNext",
|
|
11
11
|
props: {
|
|
@@ -5,7 +5,7 @@ import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
|
5
5
|
import { t as useForwardProps } from "./useForwardProps.js";
|
|
6
6
|
import { n as injectPaginationRootContext } from "./PaginationRoot.js";
|
|
7
7
|
import { computed, createBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
8
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Pagination/PaginationPrev.js
|
|
9
9
|
var PaginationPrev_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "PaginationPrev",
|
|
11
11
|
props: {
|