@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
package/dist/cjs/index.cjs
CHANGED
|
@@ -24,6 +24,9 @@ const require_dropdown_menu_sub_trigger = require("./chunks/dropdown-menu-sub-tr
|
|
|
24
24
|
const require_popover_content = require("./chunks/popover-content.cjs");
|
|
25
25
|
const require_popover_trigger = require("./chunks/popover-trigger.cjs");
|
|
26
26
|
const require_range_calendar = require("./chunks/range-calendar.cjs");
|
|
27
|
+
const require_drawer_content = require("./chunks/drawer-content.cjs");
|
|
28
|
+
const require_drawer_trigger = require("./chunks/drawer-trigger.cjs");
|
|
29
|
+
const require_drawer_body = require("./chunks/drawer-body.cjs");
|
|
27
30
|
const require_dropdown_menu_group = require("./chunks/dropdown-menu-group.cjs");
|
|
28
31
|
const require_dropdown_menu_sub = require("./chunks/dropdown-menu-sub.cjs");
|
|
29
32
|
const require_dropdown_menu_trigger = require("./chunks/dropdown-menu-trigger.cjs");
|
|
@@ -90,6 +93,28 @@ const require_combobox_root = require("./chunks/combobox-root.cjs");
|
|
|
90
93
|
const require_combobox_separator = require("./chunks/combobox-separator.cjs");
|
|
91
94
|
const require_combobox = require("./chunks/combobox.cjs");
|
|
92
95
|
const require_date_picker = require("./chunks/date-picker.cjs");
|
|
96
|
+
const require_modal_body = require("./chunks/modal-body.cjs");
|
|
97
|
+
const require_dialog_body = require("./chunks/dialog-body.cjs");
|
|
98
|
+
const require_drawer_close = require("./chunks/drawer-close.cjs");
|
|
99
|
+
const require_modal_close = require("./chunks/modal-close.cjs");
|
|
100
|
+
const require_dialog_close = require("./chunks/dialog-close.cjs");
|
|
101
|
+
const require_modal_content = require("./chunks/modal-content.cjs");
|
|
102
|
+
const require_dialog_content = require("./chunks/dialog-content.cjs");
|
|
103
|
+
const require_dialog_description = require("./chunks/dialog-description.cjs");
|
|
104
|
+
const require_drawer_footer = require("./chunks/drawer-footer.cjs");
|
|
105
|
+
const require_modal_footer = require("./chunks/modal-footer.cjs");
|
|
106
|
+
const require_dialog_footer = require("./chunks/dialog-footer.cjs");
|
|
107
|
+
const require_drawer_description = require("./chunks/drawer-description.cjs");
|
|
108
|
+
const require_drawer_title = require("./chunks/drawer-title.cjs");
|
|
109
|
+
const require_drawer_header = require("./chunks/drawer-header.cjs");
|
|
110
|
+
const require_modal_header = require("./chunks/modal-header.cjs");
|
|
111
|
+
const require_dialog_header = require("./chunks/dialog-header.cjs");
|
|
112
|
+
const require_dialog_title = require("./chunks/dialog-title.cjs");
|
|
113
|
+
const require_modal_trigger = require("./chunks/modal-trigger.cjs");
|
|
114
|
+
const require_dialog_trigger = require("./chunks/dialog-trigger.cjs");
|
|
115
|
+
const require_dialog = require("./chunks/dialog.cjs");
|
|
116
|
+
const require_drawer = require("./chunks/drawer.cjs");
|
|
117
|
+
const require_modal = require("./chunks/modal.cjs");
|
|
93
118
|
const require_digit_input_group = require("./chunks/digit-input-group.cjs");
|
|
94
119
|
const require_digit_input = require("./chunks/digit-input.cjs");
|
|
95
120
|
const require_dropdown_menu = require("./chunks/dropdown-menu.cjs");
|
|
@@ -100,13 +125,6 @@ const require_tooltip_root = require("./chunks/tooltip-root.cjs");
|
|
|
100
125
|
const require_tooltip = require("./chunks/tooltip.cjs");
|
|
101
126
|
const require_label = require("./chunks/label2.cjs");
|
|
102
127
|
const require_mochi = require("./chunks/mochi.cjs");
|
|
103
|
-
const require_modal_body = require("./chunks/modal-body.cjs");
|
|
104
|
-
const require_modal_close = require("./chunks/modal-close.cjs");
|
|
105
|
-
const require_modal_content = require("./chunks/modal-content.cjs");
|
|
106
|
-
const require_modal_footer = require("./chunks/modal-footer.cjs");
|
|
107
|
-
const require_modal_header = require("./chunks/modal-header.cjs");
|
|
108
|
-
const require_modal_trigger = require("./chunks/modal-trigger.cjs");
|
|
109
|
-
const require_modal = require("./chunks/modal.cjs");
|
|
110
128
|
const require_pagination = require("./chunks/pagination.cjs");
|
|
111
129
|
const require_progress_bar = require("./chunks/progress-bar.cjs");
|
|
112
130
|
const require_progress_circle = require("./chunks/progress-circle.cjs");
|
|
@@ -262,9 +280,27 @@ exports.ContentDivider = require_content_divider.content_divider_default;
|
|
|
262
280
|
exports.CounterInput = require_counter_input.counter_input_default;
|
|
263
281
|
exports.DEFAULT_SWATCH = require_color.DEFAULT_SWATCH;
|
|
264
282
|
exports.DatePicker = require_date_picker.date_picker_default;
|
|
283
|
+
exports.Dialog = require_dialog.dialog_default;
|
|
284
|
+
exports.DialogBody = require_dialog_body.dialog_body_default;
|
|
285
|
+
exports.DialogClose = require_dialog_close.dialog_close_default;
|
|
286
|
+
exports.DialogContent = require_dialog_content.dialog_content_default;
|
|
287
|
+
exports.DialogDescription = require_dialog_description.dialog_description_default;
|
|
288
|
+
exports.DialogFooter = require_dialog_footer.dialog_footer_default;
|
|
289
|
+
exports.DialogHeader = require_dialog_header.dialog_header_default;
|
|
290
|
+
exports.DialogTitle = require_dialog_title.dialog_title_default;
|
|
291
|
+
exports.DialogTrigger = require_dialog_trigger.dialog_trigger_default;
|
|
265
292
|
exports.DigitInput = require_digit_input.digit_input_default;
|
|
266
293
|
exports.DigitInputGroup = require_digit_input_group.digit_input_group_default;
|
|
267
294
|
exports.DigitInputSlot = require_digit_input_slot.digit_input_slot_default;
|
|
295
|
+
exports.Drawer = require_drawer.drawer_default;
|
|
296
|
+
exports.DrawerBody = require_drawer_body.drawer_body_default;
|
|
297
|
+
exports.DrawerClose = require_drawer_close.drawer_close_default;
|
|
298
|
+
exports.DrawerContent = require_drawer_content.drawer_content_default;
|
|
299
|
+
exports.DrawerDescription = require_drawer_description.drawer_description_default;
|
|
300
|
+
exports.DrawerFooter = require_drawer_footer.drawer_footer_default;
|
|
301
|
+
exports.DrawerHeader = require_drawer_header.drawer_header_default;
|
|
302
|
+
exports.DrawerTitle = require_drawer_title.drawer_title_default;
|
|
303
|
+
exports.DrawerTrigger = require_drawer_trigger.drawer_trigger_default;
|
|
268
304
|
exports.DropdownMenu = require_dropdown_menu.dropdown_menu_default;
|
|
269
305
|
exports.DropdownMenuContent = require_dropdown_menu_content.dropdown_menu_content_default;
|
|
270
306
|
exports.DropdownMenuGroup = require_dropdown_menu_group.dropdown_menu_group_default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare const injectDialogContext: <T extends {
|
|
3
|
+
drawer: Ref<boolean>;
|
|
4
|
+
} | null | undefined = {
|
|
5
|
+
drawer: Ref<boolean>;
|
|
6
|
+
}>(fallback?: T | undefined) => T extends null ? {
|
|
7
|
+
drawer: Ref<boolean>;
|
|
8
|
+
} | null : {
|
|
9
|
+
drawer: Ref<boolean>;
|
|
10
|
+
}, provideDialogContext: (contextValue: {
|
|
11
|
+
drawer: Ref<boolean>;
|
|
12
|
+
}) => {
|
|
13
|
+
drawer: Ref<boolean>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogBodyProps {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_17) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_17) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogContentProps {
|
|
3
|
+
style?: HTMLAttributes['style'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_17) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogDescriptionProps {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogFooterProps {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_17) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogHeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<DialogHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogHeaderProps> & Readonly<{}>, {
|
|
10
|
+
dismissible: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DialogTitleProps {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_17) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { breakpoint as breakpoints } from '@youcan/celeste-tokens/json/breakpoint';
|
|
2
|
+
export interface DialogProps {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
defaultOpen?: boolean;
|
|
5
|
+
breakpoint?: keyof typeof breakpoints;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_8: {}, __VLS_17: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_17) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<DialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:open": (value: boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<DialogProps> & Readonly<{
|
|
16
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
open: boolean;
|
|
19
|
+
breakpoint: keyof typeof breakpoints;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './dialog-body';
|
|
2
|
+
export { default as DialogBody } from './dialog-body';
|
|
3
|
+
export * from './dialog-close';
|
|
4
|
+
export { default as DialogClose } from './dialog-close';
|
|
5
|
+
export * from './dialog-content';
|
|
6
|
+
export { default as DialogContent } from './dialog-content';
|
|
7
|
+
export * from './dialog-description';
|
|
8
|
+
export { default as DialogDescription } from './dialog-description';
|
|
9
|
+
export * from './dialog-footer';
|
|
10
|
+
export { default as DialogFooter } from './dialog-footer';
|
|
11
|
+
export * from './dialog-header';
|
|
12
|
+
export { default as DialogHeader } from './dialog-header';
|
|
13
|
+
export * from './dialog-title';
|
|
14
|
+
export { default as DialogTitle } from './dialog-title';
|
|
15
|
+
export * from './dialog-trigger';
|
|
16
|
+
export { default as DialogTrigger } from './dialog-trigger';
|
|
17
|
+
export * from './dialog';
|
|
18
|
+
export { default as Dialog } from './dialog';
|
|
@@ -6,8 +6,8 @@ declare const __VLS_export: <Type extends PinInputType = "text">(__VLS_props: No
|
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
7
|
hasError?: boolean;
|
|
8
8
|
}) & {
|
|
9
|
-
"onUpdate:modelValue"?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
10
|
-
onComplete?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: [Type] extends ["number"] ? (number | undefined)[] : string[]) => any) | undefined;
|
|
10
|
+
onComplete?: ((value: [Type] extends ["number"] ? (number | undefined)[] : string[]) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <Type extends PinInputType = "text">(__VLS_props: No
|
|
|
16
16
|
slots: {
|
|
17
17
|
default?: (props: {}) => any;
|
|
18
18
|
};
|
|
19
|
-
emit: ((evt: "update:modelValue", value: [Type] extends ["number"] ? number[] : string[]) => void) & ((evt: "complete", value: [Type] extends ["number"] ? number[] : string[]) => void);
|
|
19
|
+
emit: ((evt: "update:modelValue", value: [Type] extends ["number"] ? (number | undefined)[] : string[]) => void) & ((evt: "complete", value: [Type] extends ["number"] ? (number | undefined)[] : string[]) => void);
|
|
20
20
|
}>) => import('vue').VNode & {
|
|
21
21
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
22
22
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DrawerViewportProps as RekaDrawerViewportProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface DrawerBodyProps extends RekaDrawerViewportProps {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DrawerCloseProps as RekaDrawerCloseProps } from 'reka-ui';
|
|
2
|
+
export interface DrawerCloseProps extends RekaDrawerCloseProps {
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerCloseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DrawerContentProps as RekaDrawerContentProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface DrawerContentProps extends RekaDrawerContentProps {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_24: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_24) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
13
|
+
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
14
|
+
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
15
|
+
openAutoFocus: (event: Event) => any;
|
|
16
|
+
closeAutoFocus: (event: Event) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<DrawerContentProps> & Readonly<{
|
|
18
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
+
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
20
|
+
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
21
|
+
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
22
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
23
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DrawerDescriptionProps as RekaDrawerDescriptionProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface DrawerDescriptionProps extends RekaDrawerDescriptionProps {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DrawerFooterProps {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface DrawerHeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
divider?: boolean;
|
|
8
|
+
class?: HTMLAttributes['class'];
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_13: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
actions?: (props: typeof __VLS_13) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerHeaderProps> & Readonly<{}>, {
|
|
15
|
+
dismissible: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DrawerTitleProps as RekaDrawerTitleProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface DrawerTitleProps extends RekaDrawerTitleProps {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DrawerTriggerProps as RekaDrawerTriggerProps } from 'reka-ui';
|
|
2
|
+
export interface DrawerTriggerProps extends RekaDrawerTriggerProps {
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DrawerRootProps } from 'reka-ui';
|
|
2
|
+
export type DrawerSide = 'right' | 'left' | 'bottom' | 'top';
|
|
3
|
+
export interface DrawerProps extends Omit<DrawerRootProps, 'swipeDirection'> {
|
|
4
|
+
side?: DrawerSide;
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:open": (value: boolean, details?: import('reka-ui').DrawerOpenChangeDetails | undefined) => any;
|
|
12
|
+
"update:openComplete": (value: boolean) => any;
|
|
13
|
+
"update:snapPoint": (value: (string | number) | null) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<DrawerProps> & Readonly<{
|
|
15
|
+
"onUpdate:open"?: ((value: boolean, details?: import('reka-ui').DrawerOpenChangeDetails | undefined) => any) | undefined;
|
|
16
|
+
"onUpdate:openComplete"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
"onUpdate:snapPoint"?: ((value: (string | number) | null) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
open: boolean;
|
|
20
|
+
side: DrawerSide;
|
|
21
|
+
modal: import('reka-ui').DrawerModal;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './drawer-body';
|
|
2
|
+
export { default as DrawerBody } from './drawer-body';
|
|
3
|
+
export * from './drawer-close';
|
|
4
|
+
export { default as DrawerClose } from './drawer-close';
|
|
5
|
+
export * from './drawer-content';
|
|
6
|
+
export { default as DrawerContent } from './drawer-content';
|
|
7
|
+
export * from './drawer-description';
|
|
8
|
+
export { default as DrawerDescription } from './drawer-description';
|
|
9
|
+
export * from './drawer-footer';
|
|
10
|
+
export { default as DrawerFooter } from './drawer-footer';
|
|
11
|
+
export * from './drawer-header';
|
|
12
|
+
export { default as DrawerHeader } from './drawer-header';
|
|
13
|
+
export * from './drawer-title';
|
|
14
|
+
export { default as DrawerTitle } from './drawer-title';
|
|
15
|
+
export * from './drawer-trigger';
|
|
16
|
+
export { default as DrawerTrigger } from './drawer-trigger';
|
|
17
|
+
export * from './drawer';
|
|
18
|
+
export { default as Drawer } from './drawer';
|
|
@@ -10,7 +10,9 @@ export * from './combobox';
|
|
|
10
10
|
export * from './content-divider';
|
|
11
11
|
export * from './counter-input';
|
|
12
12
|
export * from './date-picker';
|
|
13
|
+
export * from './dialog';
|
|
13
14
|
export * from './digit-input';
|
|
15
|
+
export * from './drawer';
|
|
14
16
|
export * from './dropdown-menu';
|
|
15
17
|
export * from './file-upload';
|
|
16
18
|
export * from './hint-text';
|
|
@@ -4,9 +4,9 @@ type __VLS_Props = DialogContentProps & {
|
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
5
|
style: HTMLAttributes['style'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_26: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_26) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -8,7 +8,7 @@ import { t as useCollection } from "./Collection.js";
|
|
|
8
8
|
import { t as VisuallyHidden_default } from "./VisuallyHidden.js";
|
|
9
9
|
import { t as PopperRoot_default } from "./PopperRoot.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, ref, renderList, renderSlot, toRefs, unref, watch, withCtx } from "vue";
|
|
11
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
11
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/utils.js
|
|
12
12
|
var OPEN_KEYS = [
|
|
13
13
|
" ",
|
|
14
14
|
"Enter",
|
|
@@ -32,7 +32,7 @@ function shouldShowPlaceholder(value) {
|
|
|
32
32
|
return value === void 0 || value === null || value === "" || Array.isArray(value) && value.length === 0;
|
|
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/Select/SelectRoot.js
|
|
36
36
|
var _hoisted_1 = ["value"];
|
|
37
37
|
var [injectSelectRootContext, provideSelectRootContext] = /*#__PURE__*/ createContext("SelectRoot");
|
|
38
38
|
var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
@@ -204,7 +204,7 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
//#endregion
|
|
207
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
207
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/BubbleSelect.js
|
|
208
208
|
var BubbleSelect_default = /* @__PURE__ */ defineComponent({
|
|
209
209
|
__name: "BubbleSelect",
|
|
210
210
|
props: {
|
|
@@ -3,7 +3,7 @@ import { p as useVModel } from "./dist2.js";
|
|
|
3
3
|
import { t as Primitive } from "./Primitive.js";
|
|
4
4
|
import { t as useForwardExpose } from "./useForwardExpose.js";
|
|
5
5
|
import { createBlock, defineComponent, openBlock, renderSlot, toRefs, 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/Collapsible/CollapsibleRoot.js
|
|
7
7
|
var [injectCollapsibleRootContext, provideCollapsibleRootContext] = /*#__PURE__*/ createContext("CollapsibleRoot");
|
|
8
8
|
var CollapsibleRoot_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "CollapsibleRoot",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as Slot } from "./Primitive.js";
|
|
2
2
|
import { t as usePrimitiveElement } from "./usePrimitiveElement.js";
|
|
3
3
|
import { computed, defineComponent, h, inject, markRaw, provide, ref, watch, watchEffect } from "vue";
|
|
4
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.10.
|
|
4
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Collection/Collection.js
|
|
5
5
|
var ITEM_DATA_ATTR = "data-reka-collection-item";
|
|
6
6
|
function useCollection(options = {}) {
|
|
7
7
|
const { key = "", isProvider = false } = options;
|
|
@@ -15,6 +15,11 @@ function useCollection(options = {}) {
|
|
|
15
15
|
};
|
|
16
16
|
provide(injectionKey, context);
|
|
17
17
|
} else context = inject(injectionKey);
|
|
18
|
+
const getItem = (element, includeDisabledItem = false) => {
|
|
19
|
+
if (!context.collectionRef.value) return void 0;
|
|
20
|
+
const item = context.itemMap.value.get(element);
|
|
21
|
+
return item && (includeDisabledItem || item.ref.dataset.disabled !== "") ? item : void 0;
|
|
22
|
+
};
|
|
18
23
|
const getItems = (includeDisabledItem = false) => {
|
|
19
24
|
const collectionNode = context.collectionRef.value;
|
|
20
25
|
if (!collectionNode) return [];
|
|
@@ -63,6 +68,7 @@ function useCollection(options = {}) {
|
|
|
63
68
|
});
|
|
64
69
|
return {
|
|
65
70
|
getItems,
|
|
71
|
+
getItem,
|
|
66
72
|
reactiveItems: computed(() => Array.from(context.itemMap.value.values())),
|
|
67
73
|
itemMapSize: computed(() => context.itemMap.value.size),
|
|
68
74
|
CollectionSlot,
|