@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
4
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"version": "0.17.0",
|
|
4
|
+
"generatedAt": "2026-09-29T10:28:41.520Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"Alert": {
|
|
7
7
|
"name": "Alert",
|
|
@@ -3072,6 +3072,336 @@
|
|
|
3072
3072
|
"story": "src/components/date-picker/stories/date-picker.stories.ts",
|
|
3073
3073
|
"hasStory": true
|
|
3074
3074
|
},
|
|
3075
|
+
"Dialog": {
|
|
3076
|
+
"name": "Dialog",
|
|
3077
|
+
"group": "dialog",
|
|
3078
|
+
"file": "src/components/dialog/dialog.vue",
|
|
3079
|
+
"import": "@youcan/celeste",
|
|
3080
|
+
"props": [
|
|
3081
|
+
{
|
|
3082
|
+
"name": "breakpoint",
|
|
3083
|
+
"type": "\"sm\" | \"lg\" | \"md\" | \"xl\" | \"2xl\"",
|
|
3084
|
+
"values": [
|
|
3085
|
+
"sm",
|
|
3086
|
+
"lg",
|
|
3087
|
+
"md",
|
|
3088
|
+
"xl",
|
|
3089
|
+
"2xl"
|
|
3090
|
+
],
|
|
3091
|
+
"required": false,
|
|
3092
|
+
"default": "\"sm\""
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"name": "class",
|
|
3096
|
+
"type": "unknown",
|
|
3097
|
+
"required": false,
|
|
3098
|
+
"inherited": true
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"name": "defaultOpen",
|
|
3102
|
+
"type": "boolean",
|
|
3103
|
+
"required": false
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"name": "open",
|
|
3107
|
+
"type": "boolean",
|
|
3108
|
+
"required": false,
|
|
3109
|
+
"default": "undefined"
|
|
3110
|
+
}
|
|
3111
|
+
],
|
|
3112
|
+
"events": [
|
|
3113
|
+
{
|
|
3114
|
+
"name": "update:open",
|
|
3115
|
+
"type": "[value: boolean]"
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"slots": [
|
|
3119
|
+
{
|
|
3120
|
+
"name": "default",
|
|
3121
|
+
"type": "{}"
|
|
3122
|
+
}
|
|
3123
|
+
],
|
|
3124
|
+
"siblings": [
|
|
3125
|
+
"DialogBody",
|
|
3126
|
+
"DialogClose",
|
|
3127
|
+
"DialogContent",
|
|
3128
|
+
"DialogDescription",
|
|
3129
|
+
"DialogFooter",
|
|
3130
|
+
"DialogHeader",
|
|
3131
|
+
"DialogTitle",
|
|
3132
|
+
"DialogTrigger"
|
|
3133
|
+
],
|
|
3134
|
+
"story": "src/components/dialog/stories/dialog.stories.ts",
|
|
3135
|
+
"usage": "<Dialog>\n <DialogTrigger>\n <Button variant=\"stroke\" intent=\"neutral\">Open dialog</Button>\n </DialogTrigger>\n <DialogContent style=\"width: 440px\">\n <DialogHeader title=\"Virtual card\" description=\"Manage the card and its recent transactions.\" icon=\"i-celeste-history-line\" />\n <DialogBody>\n Below the breakpoint this is a bottom drawer. The content style applies to the modal only.\n </DialogBody>\n <DialogFooter>\n <DialogClose>\n <Button intent=\"neutral\" variant=\"stroke\" style=\"flex: 1\">Cancel</Button>\n </DialogClose>\n <Button style=\"flex: 1\">Continue</Button>\n </DialogFooter>\n </DialogContent>\n</Dialog>",
|
|
3136
|
+
"hasStory": true
|
|
3137
|
+
},
|
|
3138
|
+
"DialogBody": {
|
|
3139
|
+
"name": "DialogBody",
|
|
3140
|
+
"group": "dialog",
|
|
3141
|
+
"file": "src/components/dialog/dialog-body.vue",
|
|
3142
|
+
"import": "@youcan/celeste",
|
|
3143
|
+
"props": [
|
|
3144
|
+
{
|
|
3145
|
+
"name": "class",
|
|
3146
|
+
"type": "ClassValue",
|
|
3147
|
+
"required": false
|
|
3148
|
+
}
|
|
3149
|
+
],
|
|
3150
|
+
"events": [],
|
|
3151
|
+
"slots": [
|
|
3152
|
+
{
|
|
3153
|
+
"name": "default",
|
|
3154
|
+
"type": "{}"
|
|
3155
|
+
}
|
|
3156
|
+
],
|
|
3157
|
+
"siblings": [
|
|
3158
|
+
"Dialog",
|
|
3159
|
+
"DialogClose",
|
|
3160
|
+
"DialogContent",
|
|
3161
|
+
"DialogDescription",
|
|
3162
|
+
"DialogFooter",
|
|
3163
|
+
"DialogHeader",
|
|
3164
|
+
"DialogTitle",
|
|
3165
|
+
"DialogTrigger"
|
|
3166
|
+
],
|
|
3167
|
+
"hasStory": false
|
|
3168
|
+
},
|
|
3169
|
+
"DialogClose": {
|
|
3170
|
+
"name": "DialogClose",
|
|
3171
|
+
"group": "dialog",
|
|
3172
|
+
"file": "src/components/dialog/dialog-close.vue",
|
|
3173
|
+
"import": "@youcan/celeste",
|
|
3174
|
+
"props": [
|
|
3175
|
+
{
|
|
3176
|
+
"name": "class",
|
|
3177
|
+
"type": "unknown",
|
|
3178
|
+
"required": false,
|
|
3179
|
+
"inherited": true
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3182
|
+
"events": [],
|
|
3183
|
+
"slots": [
|
|
3184
|
+
{
|
|
3185
|
+
"name": "default",
|
|
3186
|
+
"type": "{}"
|
|
3187
|
+
}
|
|
3188
|
+
],
|
|
3189
|
+
"siblings": [
|
|
3190
|
+
"Dialog",
|
|
3191
|
+
"DialogBody",
|
|
3192
|
+
"DialogContent",
|
|
3193
|
+
"DialogDescription",
|
|
3194
|
+
"DialogFooter",
|
|
3195
|
+
"DialogHeader",
|
|
3196
|
+
"DialogTitle",
|
|
3197
|
+
"DialogTrigger"
|
|
3198
|
+
],
|
|
3199
|
+
"hasStory": false
|
|
3200
|
+
},
|
|
3201
|
+
"DialogContent": {
|
|
3202
|
+
"name": "DialogContent",
|
|
3203
|
+
"group": "dialog",
|
|
3204
|
+
"file": "src/components/dialog/dialog-content.vue",
|
|
3205
|
+
"import": "@youcan/celeste",
|
|
3206
|
+
"props": [
|
|
3207
|
+
{
|
|
3208
|
+
"name": "class",
|
|
3209
|
+
"type": "unknown",
|
|
3210
|
+
"required": false,
|
|
3211
|
+
"inherited": true
|
|
3212
|
+
}
|
|
3213
|
+
],
|
|
3214
|
+
"events": [],
|
|
3215
|
+
"slots": [
|
|
3216
|
+
{
|
|
3217
|
+
"name": "default",
|
|
3218
|
+
"type": "{}"
|
|
3219
|
+
}
|
|
3220
|
+
],
|
|
3221
|
+
"siblings": [
|
|
3222
|
+
"Dialog",
|
|
3223
|
+
"DialogBody",
|
|
3224
|
+
"DialogClose",
|
|
3225
|
+
"DialogDescription",
|
|
3226
|
+
"DialogFooter",
|
|
3227
|
+
"DialogHeader",
|
|
3228
|
+
"DialogTitle",
|
|
3229
|
+
"DialogTrigger"
|
|
3230
|
+
],
|
|
3231
|
+
"hasStory": false
|
|
3232
|
+
},
|
|
3233
|
+
"DialogDescription": {
|
|
3234
|
+
"name": "DialogDescription",
|
|
3235
|
+
"group": "dialog",
|
|
3236
|
+
"file": "src/components/dialog/dialog-description.vue",
|
|
3237
|
+
"import": "@youcan/celeste",
|
|
3238
|
+
"props": [
|
|
3239
|
+
{
|
|
3240
|
+
"name": "class",
|
|
3241
|
+
"type": "ClassValue",
|
|
3242
|
+
"required": false
|
|
3243
|
+
}
|
|
3244
|
+
],
|
|
3245
|
+
"events": [],
|
|
3246
|
+
"slots": [
|
|
3247
|
+
{
|
|
3248
|
+
"name": "default",
|
|
3249
|
+
"type": "{}"
|
|
3250
|
+
}
|
|
3251
|
+
],
|
|
3252
|
+
"siblings": [
|
|
3253
|
+
"Dialog",
|
|
3254
|
+
"DialogBody",
|
|
3255
|
+
"DialogClose",
|
|
3256
|
+
"DialogContent",
|
|
3257
|
+
"DialogFooter",
|
|
3258
|
+
"DialogHeader",
|
|
3259
|
+
"DialogTitle",
|
|
3260
|
+
"DialogTrigger"
|
|
3261
|
+
],
|
|
3262
|
+
"hasStory": false
|
|
3263
|
+
},
|
|
3264
|
+
"DialogFooter": {
|
|
3265
|
+
"name": "DialogFooter",
|
|
3266
|
+
"group": "dialog",
|
|
3267
|
+
"file": "src/components/dialog/dialog-footer.vue",
|
|
3268
|
+
"import": "@youcan/celeste",
|
|
3269
|
+
"props": [
|
|
3270
|
+
{
|
|
3271
|
+
"name": "class",
|
|
3272
|
+
"type": "ClassValue",
|
|
3273
|
+
"required": false
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
"events": [],
|
|
3277
|
+
"slots": [
|
|
3278
|
+
{
|
|
3279
|
+
"name": "default",
|
|
3280
|
+
"type": "{}"
|
|
3281
|
+
}
|
|
3282
|
+
],
|
|
3283
|
+
"siblings": [
|
|
3284
|
+
"Dialog",
|
|
3285
|
+
"DialogBody",
|
|
3286
|
+
"DialogClose",
|
|
3287
|
+
"DialogContent",
|
|
3288
|
+
"DialogDescription",
|
|
3289
|
+
"DialogHeader",
|
|
3290
|
+
"DialogTitle",
|
|
3291
|
+
"DialogTrigger"
|
|
3292
|
+
],
|
|
3293
|
+
"hasStory": false
|
|
3294
|
+
},
|
|
3295
|
+
"DialogHeader": {
|
|
3296
|
+
"name": "DialogHeader",
|
|
3297
|
+
"group": "dialog",
|
|
3298
|
+
"file": "src/components/dialog/dialog-header.vue",
|
|
3299
|
+
"import": "@youcan/celeste",
|
|
3300
|
+
"props": [
|
|
3301
|
+
{
|
|
3302
|
+
"name": "title",
|
|
3303
|
+
"type": "string",
|
|
3304
|
+
"required": true
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"name": "class",
|
|
3308
|
+
"type": "ClassValue",
|
|
3309
|
+
"required": false
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"name": "description",
|
|
3313
|
+
"type": "string",
|
|
3314
|
+
"required": false
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"name": "dismissible",
|
|
3318
|
+
"type": "boolean",
|
|
3319
|
+
"required": false,
|
|
3320
|
+
"default": "true"
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"name": "icon",
|
|
3324
|
+
"type": "string",
|
|
3325
|
+
"required": false
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"events": [],
|
|
3329
|
+
"slots": [],
|
|
3330
|
+
"siblings": [
|
|
3331
|
+
"Dialog",
|
|
3332
|
+
"DialogBody",
|
|
3333
|
+
"DialogClose",
|
|
3334
|
+
"DialogContent",
|
|
3335
|
+
"DialogDescription",
|
|
3336
|
+
"DialogFooter",
|
|
3337
|
+
"DialogTitle",
|
|
3338
|
+
"DialogTrigger"
|
|
3339
|
+
],
|
|
3340
|
+
"hasStory": false
|
|
3341
|
+
},
|
|
3342
|
+
"DialogTitle": {
|
|
3343
|
+
"name": "DialogTitle",
|
|
3344
|
+
"group": "dialog",
|
|
3345
|
+
"file": "src/components/dialog/dialog-title.vue",
|
|
3346
|
+
"import": "@youcan/celeste",
|
|
3347
|
+
"props": [
|
|
3348
|
+
{
|
|
3349
|
+
"name": "class",
|
|
3350
|
+
"type": "ClassValue",
|
|
3351
|
+
"required": false
|
|
3352
|
+
}
|
|
3353
|
+
],
|
|
3354
|
+
"events": [],
|
|
3355
|
+
"slots": [
|
|
3356
|
+
{
|
|
3357
|
+
"name": "default",
|
|
3358
|
+
"type": "{}"
|
|
3359
|
+
}
|
|
3360
|
+
],
|
|
3361
|
+
"siblings": [
|
|
3362
|
+
"Dialog",
|
|
3363
|
+
"DialogBody",
|
|
3364
|
+
"DialogClose",
|
|
3365
|
+
"DialogContent",
|
|
3366
|
+
"DialogDescription",
|
|
3367
|
+
"DialogFooter",
|
|
3368
|
+
"DialogHeader",
|
|
3369
|
+
"DialogTrigger"
|
|
3370
|
+
],
|
|
3371
|
+
"hasStory": false
|
|
3372
|
+
},
|
|
3373
|
+
"DialogTrigger": {
|
|
3374
|
+
"name": "DialogTrigger",
|
|
3375
|
+
"group": "dialog",
|
|
3376
|
+
"file": "src/components/dialog/dialog-trigger.vue",
|
|
3377
|
+
"import": "@youcan/celeste",
|
|
3378
|
+
"props": [
|
|
3379
|
+
{
|
|
3380
|
+
"name": "class",
|
|
3381
|
+
"type": "unknown",
|
|
3382
|
+
"required": false,
|
|
3383
|
+
"inherited": true
|
|
3384
|
+
}
|
|
3385
|
+
],
|
|
3386
|
+
"events": [],
|
|
3387
|
+
"slots": [
|
|
3388
|
+
{
|
|
3389
|
+
"name": "default",
|
|
3390
|
+
"type": "{}"
|
|
3391
|
+
}
|
|
3392
|
+
],
|
|
3393
|
+
"siblings": [
|
|
3394
|
+
"Dialog",
|
|
3395
|
+
"DialogBody",
|
|
3396
|
+
"DialogClose",
|
|
3397
|
+
"DialogContent",
|
|
3398
|
+
"DialogDescription",
|
|
3399
|
+
"DialogFooter",
|
|
3400
|
+
"DialogHeader",
|
|
3401
|
+
"DialogTitle"
|
|
3402
|
+
],
|
|
3403
|
+
"hasStory": false
|
|
3404
|
+
},
|
|
3075
3405
|
"DigitInput": {
|
|
3076
3406
|
"name": "DigitInput",
|
|
3077
3407
|
"group": "digit-input",
|
|
@@ -3096,100 +3426,473 @@
|
|
|
3096
3426
|
"name": "class",
|
|
3097
3427
|
"type": "ClassValue",
|
|
3098
3428
|
"required": false
|
|
3099
|
-
},
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"name": "defaultValue",
|
|
3432
|
+
"type": "PinInputValue<Type>",
|
|
3433
|
+
"required": false,
|
|
3434
|
+
"description": "The default value of the pin inputs when it is initially rendered. Use when you do not need to control its checked state.",
|
|
3435
|
+
"inherited": true
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
"name": "dir",
|
|
3439
|
+
"type": "Direction",
|
|
3440
|
+
"required": false,
|
|
3441
|
+
"description": "The reading direction of the combobox when applicable. <br> If omitted, inherits globally from `ConfigProvider` or assumes LTR (left-to-right) reading mode.",
|
|
3442
|
+
"inherited": true
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"name": "disabled",
|
|
3446
|
+
"type": "boolean",
|
|
3447
|
+
"required": false,
|
|
3448
|
+
"description": "When `true`, prevents the user from interacting with the pin input",
|
|
3449
|
+
"inherited": true
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"name": "hasError",
|
|
3453
|
+
"type": "boolean",
|
|
3454
|
+
"required": false,
|
|
3455
|
+
"default": "false"
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"name": "id",
|
|
3459
|
+
"type": "string",
|
|
3460
|
+
"required": false,
|
|
3461
|
+
"description": "Id of the element",
|
|
3462
|
+
"inherited": true
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"name": "mask",
|
|
3466
|
+
"type": "boolean",
|
|
3467
|
+
"required": false,
|
|
3468
|
+
"description": "When `true`, pin inputs will be treated as password.",
|
|
3469
|
+
"inherited": true
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"name": "modelValue",
|
|
3473
|
+
"type": "PinInputValue<Type> | null",
|
|
3474
|
+
"required": false,
|
|
3475
|
+
"default": "[] as any",
|
|
3476
|
+
"description": "The controlled checked state of the pin input. Can be binded as `v-model`.",
|
|
3477
|
+
"inherited": true
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "name",
|
|
3481
|
+
"type": "string",
|
|
3482
|
+
"required": false,
|
|
3483
|
+
"description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
|
|
3484
|
+
"inherited": true
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "otp",
|
|
3488
|
+
"type": "boolean",
|
|
3489
|
+
"required": false,
|
|
3490
|
+
"description": "When `true`, mobile devices will autodetect the OTP from messages or clipboard, and enable the autocomplete field.",
|
|
3491
|
+
"inherited": true
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
"name": "placeholder",
|
|
3495
|
+
"type": "string",
|
|
3496
|
+
"required": false,
|
|
3497
|
+
"description": "The placeholder character to use for empty pin-inputs.",
|
|
3498
|
+
"inherited": true
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"name": "required",
|
|
3502
|
+
"type": "boolean",
|
|
3503
|
+
"required": false,
|
|
3504
|
+
"description": "When `true`, indicates that the user must set the value before the owning form can be submitted.",
|
|
3505
|
+
"inherited": true
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"name": "type",
|
|
3509
|
+
"type": "Type",
|
|
3510
|
+
"required": false,
|
|
3511
|
+
"description": "Input type for the inputs.",
|
|
3512
|
+
"inherited": true
|
|
3513
|
+
}
|
|
3514
|
+
],
|
|
3515
|
+
"events": [
|
|
3516
|
+
{
|
|
3517
|
+
"name": "update:modelValue",
|
|
3518
|
+
"type": "[value: PinInputValue<Type>]"
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "complete",
|
|
3522
|
+
"type": "[value: PinInputValue<Type>]"
|
|
3523
|
+
}
|
|
3524
|
+
],
|
|
3525
|
+
"slots": [
|
|
3526
|
+
{
|
|
3527
|
+
"name": "default",
|
|
3528
|
+
"type": "{}"
|
|
3529
|
+
}
|
|
3530
|
+
],
|
|
3531
|
+
"siblings": [
|
|
3532
|
+
"DigitInputGroup",
|
|
3533
|
+
"DigitInputSlot"
|
|
3534
|
+
],
|
|
3535
|
+
"story": "src/components/digit-input/stories/digit-input.stories.ts",
|
|
3536
|
+
"usage": "<DigitInput v-model=\"value\" style=\"max-width: 640px;\">\n <DigitInputGroup>\n <DigitInputSlot v-for=\"(item, index) in 4\" :key=\"index\" :index=\"index\" />\n </DigitInputGroup>\n</DigitInput>",
|
|
3537
|
+
"hasStory": true
|
|
3538
|
+
},
|
|
3539
|
+
"DigitInputGroup": {
|
|
3540
|
+
"name": "DigitInputGroup",
|
|
3541
|
+
"group": "digit-input",
|
|
3542
|
+
"file": "src/components/digit-input/digit-input-group.vue",
|
|
3543
|
+
"import": "@youcan/celeste",
|
|
3544
|
+
"props": [
|
|
3545
|
+
{
|
|
3546
|
+
"name": "as",
|
|
3547
|
+
"type": "AsTag | Component",
|
|
3548
|
+
"required": false,
|
|
3549
|
+
"description": "Element or component to render as.",
|
|
3550
|
+
"inherited": true
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
"name": "asChild",
|
|
3554
|
+
"type": "boolean",
|
|
3555
|
+
"required": false,
|
|
3556
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
3557
|
+
"inherited": true
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "class",
|
|
3561
|
+
"type": "ClassValue",
|
|
3562
|
+
"required": false
|
|
3563
|
+
}
|
|
3564
|
+
],
|
|
3565
|
+
"events": [],
|
|
3566
|
+
"slots": [
|
|
3567
|
+
{
|
|
3568
|
+
"name": "default",
|
|
3569
|
+
"type": "{}"
|
|
3570
|
+
}
|
|
3571
|
+
],
|
|
3572
|
+
"siblings": [
|
|
3573
|
+
"DigitInput",
|
|
3574
|
+
"DigitInputSlot"
|
|
3575
|
+
],
|
|
3576
|
+
"hasStory": false
|
|
3577
|
+
},
|
|
3578
|
+
"DigitInputSlot": {
|
|
3579
|
+
"name": "DigitInputSlot",
|
|
3580
|
+
"group": "digit-input",
|
|
3581
|
+
"file": "src/components/digit-input/digit-input-slot.vue",
|
|
3582
|
+
"import": "@youcan/celeste",
|
|
3583
|
+
"props": [
|
|
3584
|
+
{
|
|
3585
|
+
"name": "index",
|
|
3586
|
+
"type": "number",
|
|
3587
|
+
"required": true,
|
|
3588
|
+
"description": "Position of the value this input binds to.",
|
|
3589
|
+
"inherited": true
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
"name": "as",
|
|
3593
|
+
"type": "AsTag | Component",
|
|
3594
|
+
"required": false,
|
|
3595
|
+
"description": "Element or component to render as.",
|
|
3596
|
+
"inherited": true
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"name": "asChild",
|
|
3600
|
+
"type": "boolean",
|
|
3601
|
+
"required": false,
|
|
3602
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
3603
|
+
"inherited": true
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"name": "class",
|
|
3607
|
+
"type": "ClassValue",
|
|
3608
|
+
"required": false
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"name": "disabled",
|
|
3612
|
+
"type": "boolean",
|
|
3613
|
+
"required": false,
|
|
3614
|
+
"description": "When `true`, prevents the user from interacting with the pin input",
|
|
3615
|
+
"inherited": true
|
|
3616
|
+
}
|
|
3617
|
+
],
|
|
3618
|
+
"events": [],
|
|
3619
|
+
"slots": [],
|
|
3620
|
+
"siblings": [
|
|
3621
|
+
"DigitInput",
|
|
3622
|
+
"DigitInputGroup"
|
|
3623
|
+
],
|
|
3624
|
+
"hasStory": false
|
|
3625
|
+
},
|
|
3626
|
+
"Drawer": {
|
|
3627
|
+
"name": "Drawer",
|
|
3628
|
+
"group": "drawer",
|
|
3629
|
+
"file": "src/components/drawer/drawer.vue",
|
|
3630
|
+
"import": "@youcan/celeste",
|
|
3631
|
+
"props": [
|
|
3632
|
+
{
|
|
3633
|
+
"name": "class",
|
|
3634
|
+
"type": "unknown",
|
|
3635
|
+
"required": false,
|
|
3636
|
+
"inherited": true
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
"name": "defaultOpen",
|
|
3640
|
+
"type": "boolean",
|
|
3641
|
+
"required": false,
|
|
3642
|
+
"inherited": true
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"name": "defaultSnapPoint",
|
|
3646
|
+
"type": "DrawerSnapPoint | null",
|
|
3647
|
+
"required": false,
|
|
3648
|
+
"inherited": true
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"name": "modal",
|
|
3652
|
+
"type": "DrawerModal",
|
|
3653
|
+
"required": false,
|
|
3654
|
+
"default": "true",
|
|
3655
|
+
"description": "Modality of the drawer. - `true` (default): modal with focus trap, scroll lock, and outside-press dismiss - `'trap-focus'`: traps focus but allows outside pointer events (non-modal side panels) - `false`: non-modal",
|
|
3656
|
+
"inherited": true
|
|
3657
|
+
},
|
|
3658
|
+
{
|
|
3659
|
+
"name": "open",
|
|
3660
|
+
"type": "boolean",
|
|
3661
|
+
"required": false,
|
|
3662
|
+
"default": "undefined",
|
|
3663
|
+
"description": "v-model:open",
|
|
3664
|
+
"inherited": true
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"name": "side",
|
|
3668
|
+
"type": "DrawerSide",
|
|
3669
|
+
"required": false,
|
|
3670
|
+
"default": "\"right\""
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "snapPoint",
|
|
3674
|
+
"type": "DrawerSnapPoint | null",
|
|
3675
|
+
"required": false,
|
|
3676
|
+
"description": "v-model:snapPoint",
|
|
3677
|
+
"inherited": true
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"name": "snapPoints",
|
|
3681
|
+
"type": "DrawerSnapPoint[]",
|
|
3682
|
+
"required": false,
|
|
3683
|
+
"description": "Preset snap positions (fractions 0-1, pixels >1, or '148px'/'30rem' strings)",
|
|
3684
|
+
"inherited": true
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"name": "snapToSequentialPoints",
|
|
3688
|
+
"type": "boolean",
|
|
3689
|
+
"required": false,
|
|
3690
|
+
"description": "When true, snaps to the next sequential snap point (one step at a time). When false, snaps to the nearest snap point by distance.",
|
|
3691
|
+
"inherited": true
|
|
3692
|
+
}
|
|
3693
|
+
],
|
|
3694
|
+
"events": [
|
|
3695
|
+
{
|
|
3696
|
+
"name": "update:open",
|
|
3697
|
+
"type": "[value: boolean, details?: DrawerOpenChangeDetails | undefined]"
|
|
3698
|
+
},
|
|
3699
|
+
{
|
|
3700
|
+
"name": "update:openComplete",
|
|
3701
|
+
"type": "[value: boolean]"
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"name": "update:snapPoint",
|
|
3705
|
+
"type": "[value: DrawerSnapPoint | null]"
|
|
3706
|
+
}
|
|
3707
|
+
],
|
|
3708
|
+
"slots": [
|
|
3709
|
+
{
|
|
3710
|
+
"name": "default",
|
|
3711
|
+
"type": "{}"
|
|
3712
|
+
}
|
|
3713
|
+
],
|
|
3714
|
+
"siblings": [
|
|
3715
|
+
"DrawerBody",
|
|
3716
|
+
"DrawerClose",
|
|
3717
|
+
"DrawerContent",
|
|
3718
|
+
"DrawerDescription",
|
|
3719
|
+
"DrawerFooter",
|
|
3720
|
+
"DrawerHeader",
|
|
3721
|
+
"DrawerTitle",
|
|
3722
|
+
"DrawerTrigger"
|
|
3723
|
+
],
|
|
3724
|
+
"story": "src/components/drawer/stories/drawer.stories.ts",
|
|
3725
|
+
"usage": "<Drawer>\n <DrawerTrigger as-child>\n <Button variant=\"stroke\" intent=\"neutral\">Open drawer</Button>\n </DrawerTrigger>\n <DrawerContent>\n <DrawerHeader title=\"Virtual card\" description=\"Manage the card and its recent transactions.\" icon=\"i-celeste-history-line\" divider />\n <DrawerBody>\n <ul style=\"margin: 0; padding: 20px; display: grid; gap: 12px; list-style: none;\">\n <li v-for=\"item in items\" :key=\"item\">{{ item }}</li>\n </ul>\n </DrawerBody>\n <DrawerFooter>\n <DrawerClose as-child>\n <Button intent=\"neutral\" variant=\"stroke\" style=\"flex: 1\">Cancel</Button>\n </DrawerClose>\n <Button style=\"flex: 1\">Continue</Button>\n </DrawerFooter>\n </DrawerContent>\n</Drawer>",
|
|
3726
|
+
"hasStory": true
|
|
3727
|
+
},
|
|
3728
|
+
"DrawerBody": {
|
|
3729
|
+
"name": "DrawerBody",
|
|
3730
|
+
"group": "drawer",
|
|
3731
|
+
"file": "src/components/drawer/drawer-body.vue",
|
|
3732
|
+
"import": "@youcan/celeste",
|
|
3733
|
+
"props": [
|
|
3734
|
+
{
|
|
3735
|
+
"name": "as",
|
|
3736
|
+
"type": "AsTag | Component",
|
|
3737
|
+
"required": false,
|
|
3738
|
+
"description": "Element or component to render as.",
|
|
3739
|
+
"inherited": true
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"name": "asChild",
|
|
3743
|
+
"type": "boolean",
|
|
3744
|
+
"required": false,
|
|
3745
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
3746
|
+
"inherited": true
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"name": "class",
|
|
3750
|
+
"type": "ClassValue",
|
|
3751
|
+
"required": false
|
|
3752
|
+
}
|
|
3753
|
+
],
|
|
3754
|
+
"events": [],
|
|
3755
|
+
"slots": [
|
|
3100
3756
|
{
|
|
3101
|
-
"name": "
|
|
3102
|
-
"type": "
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3757
|
+
"name": "default",
|
|
3758
|
+
"type": "{}"
|
|
3759
|
+
}
|
|
3760
|
+
],
|
|
3761
|
+
"siblings": [
|
|
3762
|
+
"Drawer",
|
|
3763
|
+
"DrawerClose",
|
|
3764
|
+
"DrawerContent",
|
|
3765
|
+
"DrawerDescription",
|
|
3766
|
+
"DrawerFooter",
|
|
3767
|
+
"DrawerHeader",
|
|
3768
|
+
"DrawerTitle",
|
|
3769
|
+
"DrawerTrigger"
|
|
3770
|
+
],
|
|
3771
|
+
"hasStory": false
|
|
3772
|
+
},
|
|
3773
|
+
"DrawerClose": {
|
|
3774
|
+
"name": "DrawerClose",
|
|
3775
|
+
"group": "drawer",
|
|
3776
|
+
"file": "src/components/drawer/drawer-close.vue",
|
|
3777
|
+
"import": "@youcan/celeste",
|
|
3778
|
+
"props": [
|
|
3107
3779
|
{
|
|
3108
|
-
"name": "
|
|
3109
|
-
"type": "
|
|
3780
|
+
"name": "as",
|
|
3781
|
+
"type": "AsTag | Component",
|
|
3110
3782
|
"required": false,
|
|
3111
|
-
"description": "
|
|
3783
|
+
"description": "Element or component to render as.",
|
|
3112
3784
|
"inherited": true
|
|
3113
3785
|
},
|
|
3114
3786
|
{
|
|
3115
|
-
"name": "
|
|
3787
|
+
"name": "asChild",
|
|
3116
3788
|
"type": "boolean",
|
|
3117
3789
|
"required": false,
|
|
3118
|
-
"description": "
|
|
3790
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
3119
3791
|
"inherited": true
|
|
3120
3792
|
},
|
|
3121
3793
|
{
|
|
3122
|
-
"name": "
|
|
3123
|
-
"type": "
|
|
3124
|
-
"required": false,
|
|
3125
|
-
"default": "false"
|
|
3126
|
-
},
|
|
3127
|
-
{
|
|
3128
|
-
"name": "id",
|
|
3129
|
-
"type": "string",
|
|
3794
|
+
"name": "class",
|
|
3795
|
+
"type": "unknown",
|
|
3130
3796
|
"required": false,
|
|
3131
|
-
"description": "Id of the element",
|
|
3132
3797
|
"inherited": true
|
|
3133
|
-
}
|
|
3798
|
+
}
|
|
3799
|
+
],
|
|
3800
|
+
"events": [],
|
|
3801
|
+
"slots": [
|
|
3134
3802
|
{
|
|
3135
|
-
"name": "
|
|
3136
|
-
"type": "
|
|
3803
|
+
"name": "default",
|
|
3804
|
+
"type": "{}"
|
|
3805
|
+
}
|
|
3806
|
+
],
|
|
3807
|
+
"siblings": [
|
|
3808
|
+
"Drawer",
|
|
3809
|
+
"DrawerBody",
|
|
3810
|
+
"DrawerContent",
|
|
3811
|
+
"DrawerDescription",
|
|
3812
|
+
"DrawerFooter",
|
|
3813
|
+
"DrawerHeader",
|
|
3814
|
+
"DrawerTitle",
|
|
3815
|
+
"DrawerTrigger"
|
|
3816
|
+
],
|
|
3817
|
+
"hasStory": false
|
|
3818
|
+
},
|
|
3819
|
+
"DrawerContent": {
|
|
3820
|
+
"name": "DrawerContent",
|
|
3821
|
+
"group": "drawer",
|
|
3822
|
+
"file": "src/components/drawer/drawer-content.vue",
|
|
3823
|
+
"import": "@youcan/celeste",
|
|
3824
|
+
"props": [
|
|
3825
|
+
{
|
|
3826
|
+
"name": "as",
|
|
3827
|
+
"type": "AsTag | Component",
|
|
3137
3828
|
"required": false,
|
|
3138
|
-
"description": "
|
|
3829
|
+
"description": "Element or component to render as.",
|
|
3139
3830
|
"inherited": true
|
|
3140
3831
|
},
|
|
3141
3832
|
{
|
|
3142
|
-
"name": "
|
|
3143
|
-
"type": "
|
|
3833
|
+
"name": "asChild",
|
|
3834
|
+
"type": "boolean",
|
|
3144
3835
|
"required": false,
|
|
3145
|
-
"
|
|
3146
|
-
"description": "The controlled checked state of the pin input. Can be binded as `v-model`.",
|
|
3836
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
3147
3837
|
"inherited": true
|
|
3148
3838
|
},
|
|
3149
3839
|
{
|
|
3150
|
-
"name": "
|
|
3151
|
-
"type": "
|
|
3152
|
-
"required": false
|
|
3153
|
-
"description": "The name of the field. Submitted with its owning form as part of a name/value pair.",
|
|
3154
|
-
"inherited": true
|
|
3840
|
+
"name": "class",
|
|
3841
|
+
"type": "ClassValue",
|
|
3842
|
+
"required": false
|
|
3155
3843
|
},
|
|
3156
3844
|
{
|
|
3157
|
-
"name": "
|
|
3845
|
+
"name": "disableOutsidePointerEvents",
|
|
3158
3846
|
"type": "boolean",
|
|
3159
3847
|
"required": false,
|
|
3160
|
-
"description": "When `true`,
|
|
3848
|
+
"description": "When `true`, hover/focus/click interactions will be disabled on elements outside the `DismissableLayer`. Users will need to click twice on outside elements to interact with them: once to close the `DismissableLayer`, and again to trigger the element.",
|
|
3161
3849
|
"inherited": true
|
|
3162
3850
|
},
|
|
3163
3851
|
{
|
|
3164
|
-
"name": "
|
|
3165
|
-
"type": "
|
|
3852
|
+
"name": "finalFocus",
|
|
3853
|
+
"type": "boolean | HTMLElement | null",
|
|
3166
3854
|
"required": false,
|
|
3167
|
-
"description": "
|
|
3855
|
+
"description": "Final focus target when the drawer closes. - `true` / default: focus the trigger - `false`: do not restore focus - element ref: focus that specific element",
|
|
3168
3856
|
"inherited": true
|
|
3169
3857
|
},
|
|
3170
3858
|
{
|
|
3171
|
-
"name": "
|
|
3859
|
+
"name": "forceMount",
|
|
3172
3860
|
"type": "boolean",
|
|
3173
3861
|
"required": false,
|
|
3174
|
-
"description": "When `true`, indicates that the user must set the value before the owning form can be submitted.",
|
|
3175
3862
|
"inherited": true
|
|
3176
3863
|
},
|
|
3177
3864
|
{
|
|
3178
|
-
"name": "
|
|
3179
|
-
"type": "
|
|
3865
|
+
"name": "initialFocus",
|
|
3866
|
+
"type": "boolean | HTMLElement | null",
|
|
3180
3867
|
"required": false,
|
|
3181
|
-
"description": "
|
|
3868
|
+
"description": "Initial focus target when the drawer opens. - `true` / default: focus the first focusable element inside - `false`: do not focus anything - element ref: focus that specific element",
|
|
3182
3869
|
"inherited": true
|
|
3183
3870
|
}
|
|
3184
3871
|
],
|
|
3185
3872
|
"events": [
|
|
3186
3873
|
{
|
|
3187
|
-
"name": "
|
|
3188
|
-
"type": "[
|
|
3874
|
+
"name": "escapeKeyDown",
|
|
3875
|
+
"type": "[event: KeyboardEvent]"
|
|
3189
3876
|
},
|
|
3190
3877
|
{
|
|
3191
|
-
"name": "
|
|
3192
|
-
"type": "[
|
|
3878
|
+
"name": "pointerDownOutside",
|
|
3879
|
+
"type": "[event: PointerDownOutsideEvent]"
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
"name": "focusOutside",
|
|
3883
|
+
"type": "[event: FocusOutsideEvent]"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"name": "interactOutside",
|
|
3887
|
+
"type": "[event: PointerDownOutsideEvent | FocusOutsideEvent]"
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"name": "openAutoFocus",
|
|
3891
|
+
"type": "[event: Event]"
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"name": "closeAutoFocus",
|
|
3895
|
+
"type": "[event: Event]"
|
|
3193
3896
|
}
|
|
3194
3897
|
],
|
|
3195
3898
|
"slots": [
|
|
@@ -3199,17 +3902,21 @@
|
|
|
3199
3902
|
}
|
|
3200
3903
|
],
|
|
3201
3904
|
"siblings": [
|
|
3202
|
-
"
|
|
3203
|
-
"
|
|
3905
|
+
"Drawer",
|
|
3906
|
+
"DrawerBody",
|
|
3907
|
+
"DrawerClose",
|
|
3908
|
+
"DrawerDescription",
|
|
3909
|
+
"DrawerFooter",
|
|
3910
|
+
"DrawerHeader",
|
|
3911
|
+
"DrawerTitle",
|
|
3912
|
+
"DrawerTrigger"
|
|
3204
3913
|
],
|
|
3205
|
-
"
|
|
3206
|
-
"usage": "<DigitInput v-model=\"value\" style=\"max-width: 640px;\">\n <DigitInputGroup>\n <DigitInputSlot v-for=\"(item, index) in 4\" :key=\"index\" :index=\"index\" />\n </DigitInputGroup>\n</DigitInput>",
|
|
3207
|
-
"hasStory": true
|
|
3914
|
+
"hasStory": false
|
|
3208
3915
|
},
|
|
3209
|
-
"
|
|
3210
|
-
"name": "
|
|
3211
|
-
"group": "
|
|
3212
|
-
"file": "src/components/
|
|
3916
|
+
"DrawerDescription": {
|
|
3917
|
+
"name": "DrawerDescription",
|
|
3918
|
+
"group": "drawer",
|
|
3919
|
+
"file": "src/components/drawer/drawer-description.vue",
|
|
3213
3920
|
"import": "@youcan/celeste",
|
|
3214
3921
|
"props": [
|
|
3215
3922
|
{
|
|
@@ -3240,24 +3947,111 @@
|
|
|
3240
3947
|
}
|
|
3241
3948
|
],
|
|
3242
3949
|
"siblings": [
|
|
3243
|
-
"
|
|
3244
|
-
"
|
|
3950
|
+
"Drawer",
|
|
3951
|
+
"DrawerBody",
|
|
3952
|
+
"DrawerClose",
|
|
3953
|
+
"DrawerContent",
|
|
3954
|
+
"DrawerFooter",
|
|
3955
|
+
"DrawerHeader",
|
|
3956
|
+
"DrawerTitle",
|
|
3957
|
+
"DrawerTrigger"
|
|
3245
3958
|
],
|
|
3246
3959
|
"hasStory": false
|
|
3247
3960
|
},
|
|
3248
|
-
"
|
|
3249
|
-
"name": "
|
|
3250
|
-
"group": "
|
|
3251
|
-
"file": "src/components/
|
|
3961
|
+
"DrawerFooter": {
|
|
3962
|
+
"name": "DrawerFooter",
|
|
3963
|
+
"group": "drawer",
|
|
3964
|
+
"file": "src/components/drawer/drawer-footer.vue",
|
|
3252
3965
|
"import": "@youcan/celeste",
|
|
3253
3966
|
"props": [
|
|
3254
3967
|
{
|
|
3255
|
-
"name": "
|
|
3256
|
-
"type": "
|
|
3257
|
-
"required":
|
|
3258
|
-
|
|
3259
|
-
|
|
3968
|
+
"name": "class",
|
|
3969
|
+
"type": "ClassValue",
|
|
3970
|
+
"required": false
|
|
3971
|
+
}
|
|
3972
|
+
],
|
|
3973
|
+
"events": [],
|
|
3974
|
+
"slots": [
|
|
3975
|
+
{
|
|
3976
|
+
"name": "default",
|
|
3977
|
+
"type": "{}"
|
|
3978
|
+
}
|
|
3979
|
+
],
|
|
3980
|
+
"siblings": [
|
|
3981
|
+
"Drawer",
|
|
3982
|
+
"DrawerBody",
|
|
3983
|
+
"DrawerClose",
|
|
3984
|
+
"DrawerContent",
|
|
3985
|
+
"DrawerDescription",
|
|
3986
|
+
"DrawerHeader",
|
|
3987
|
+
"DrawerTitle",
|
|
3988
|
+
"DrawerTrigger"
|
|
3989
|
+
],
|
|
3990
|
+
"hasStory": false
|
|
3991
|
+
},
|
|
3992
|
+
"DrawerHeader": {
|
|
3993
|
+
"name": "DrawerHeader",
|
|
3994
|
+
"group": "drawer",
|
|
3995
|
+
"file": "src/components/drawer/drawer-header.vue",
|
|
3996
|
+
"import": "@youcan/celeste",
|
|
3997
|
+
"props": [
|
|
3998
|
+
{
|
|
3999
|
+
"name": "title",
|
|
4000
|
+
"type": "string",
|
|
4001
|
+
"required": true
|
|
4002
|
+
},
|
|
4003
|
+
{
|
|
4004
|
+
"name": "class",
|
|
4005
|
+
"type": "ClassValue",
|
|
4006
|
+
"required": false
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
"name": "description",
|
|
4010
|
+
"type": "string",
|
|
4011
|
+
"required": false
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
"name": "dismissible",
|
|
4015
|
+
"type": "boolean",
|
|
4016
|
+
"required": false,
|
|
4017
|
+
"default": "true"
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"name": "divider",
|
|
4021
|
+
"type": "boolean",
|
|
4022
|
+
"required": false
|
|
3260
4023
|
},
|
|
4024
|
+
{
|
|
4025
|
+
"name": "icon",
|
|
4026
|
+
"type": "string",
|
|
4027
|
+
"required": false
|
|
4028
|
+
}
|
|
4029
|
+
],
|
|
4030
|
+
"events": [],
|
|
4031
|
+
"slots": [
|
|
4032
|
+
{
|
|
4033
|
+
"name": "actions",
|
|
4034
|
+
"type": "{}"
|
|
4035
|
+
}
|
|
4036
|
+
],
|
|
4037
|
+
"siblings": [
|
|
4038
|
+
"Drawer",
|
|
4039
|
+
"DrawerBody",
|
|
4040
|
+
"DrawerClose",
|
|
4041
|
+
"DrawerContent",
|
|
4042
|
+
"DrawerDescription",
|
|
4043
|
+
"DrawerFooter",
|
|
4044
|
+
"DrawerTitle",
|
|
4045
|
+
"DrawerTrigger"
|
|
4046
|
+
],
|
|
4047
|
+
"hasStory": false
|
|
4048
|
+
},
|
|
4049
|
+
"DrawerTitle": {
|
|
4050
|
+
"name": "DrawerTitle",
|
|
4051
|
+
"group": "drawer",
|
|
4052
|
+
"file": "src/components/drawer/drawer-title.vue",
|
|
4053
|
+
"import": "@youcan/celeste",
|
|
4054
|
+
"props": [
|
|
3261
4055
|
{
|
|
3262
4056
|
"name": "as",
|
|
3263
4057
|
"type": "AsTag | Component",
|
|
@@ -3276,20 +4070,70 @@
|
|
|
3276
4070
|
"name": "class",
|
|
3277
4071
|
"type": "ClassValue",
|
|
3278
4072
|
"required": false
|
|
4073
|
+
}
|
|
4074
|
+
],
|
|
4075
|
+
"events": [],
|
|
4076
|
+
"slots": [
|
|
4077
|
+
{
|
|
4078
|
+
"name": "default",
|
|
4079
|
+
"type": "{}"
|
|
4080
|
+
}
|
|
4081
|
+
],
|
|
4082
|
+
"siblings": [
|
|
4083
|
+
"Drawer",
|
|
4084
|
+
"DrawerBody",
|
|
4085
|
+
"DrawerClose",
|
|
4086
|
+
"DrawerContent",
|
|
4087
|
+
"DrawerDescription",
|
|
4088
|
+
"DrawerFooter",
|
|
4089
|
+
"DrawerHeader",
|
|
4090
|
+
"DrawerTrigger"
|
|
4091
|
+
],
|
|
4092
|
+
"hasStory": false
|
|
4093
|
+
},
|
|
4094
|
+
"DrawerTrigger": {
|
|
4095
|
+
"name": "DrawerTrigger",
|
|
4096
|
+
"group": "drawer",
|
|
4097
|
+
"file": "src/components/drawer/drawer-trigger.vue",
|
|
4098
|
+
"import": "@youcan/celeste",
|
|
4099
|
+
"props": [
|
|
4100
|
+
{
|
|
4101
|
+
"name": "as",
|
|
4102
|
+
"type": "AsTag | Component",
|
|
4103
|
+
"required": false,
|
|
4104
|
+
"description": "Element or component to render as.",
|
|
4105
|
+
"inherited": true
|
|
3279
4106
|
},
|
|
3280
4107
|
{
|
|
3281
|
-
"name": "
|
|
4108
|
+
"name": "asChild",
|
|
3282
4109
|
"type": "boolean",
|
|
3283
4110
|
"required": false,
|
|
3284
|
-
"description": "
|
|
4111
|
+
"description": "Render the child element instead of this component's own, merging props onto it.",
|
|
4112
|
+
"inherited": true
|
|
4113
|
+
},
|
|
4114
|
+
{
|
|
4115
|
+
"name": "class",
|
|
4116
|
+
"type": "unknown",
|
|
4117
|
+
"required": false,
|
|
3285
4118
|
"inherited": true
|
|
3286
4119
|
}
|
|
3287
4120
|
],
|
|
3288
4121
|
"events": [],
|
|
3289
|
-
"slots": [
|
|
4122
|
+
"slots": [
|
|
4123
|
+
{
|
|
4124
|
+
"name": "default",
|
|
4125
|
+
"type": "{}"
|
|
4126
|
+
}
|
|
4127
|
+
],
|
|
3290
4128
|
"siblings": [
|
|
3291
|
-
"
|
|
3292
|
-
"
|
|
4129
|
+
"Drawer",
|
|
4130
|
+
"DrawerBody",
|
|
4131
|
+
"DrawerClose",
|
|
4132
|
+
"DrawerContent",
|
|
4133
|
+
"DrawerDescription",
|
|
4134
|
+
"DrawerFooter",
|
|
4135
|
+
"DrawerHeader",
|
|
4136
|
+
"DrawerTitle"
|
|
3293
4137
|
],
|
|
3294
4138
|
"hasStory": false
|
|
3295
4139
|
},
|
|
@@ -4041,15 +4885,15 @@
|
|
|
4041
4885
|
"type": "[event: PointerDownOutsideEvent | FocusOutsideEvent]"
|
|
4042
4886
|
},
|
|
4043
4887
|
{
|
|
4044
|
-
"name": "
|
|
4888
|
+
"name": "openAutoFocus",
|
|
4045
4889
|
"type": "[event: Event]"
|
|
4046
4890
|
},
|
|
4047
4891
|
{
|
|
4048
|
-
"name": "
|
|
4892
|
+
"name": "closeAutoFocus",
|
|
4049
4893
|
"type": "[event: Event]"
|
|
4050
4894
|
},
|
|
4051
4895
|
{
|
|
4052
|
-
"name": "
|
|
4896
|
+
"name": "entryFocus",
|
|
4053
4897
|
"type": "[event: Event]"
|
|
4054
4898
|
}
|
|
4055
4899
|
],
|