@hina-ui/vue 1.7.11 → 1.7.13
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/README.md +1 -1
- package/dist/index.js +25614 -10189
- package/dist/index.js.map +1 -1
- package/dist/shared/lib/css-time.ts +6 -0
- package/dist/shared/lib/line-clamp.ts +8 -8
- package/dist/shared/lib/tour.ts +261 -0
- package/dist/shared/locale/en-US.ts +8 -0
- package/dist/shared/locale/index.ts +1 -0
- package/dist/shared/locale/ja-JP.ts +9 -0
- package/dist/shared/locale/types.ts +8 -0
- package/dist/shared/locale/zh-CN.ts +8 -0
- package/dist/shared/primitives/combobox/LICENSE +44 -0
- package/dist/shared/primitives/combobox/index.ts +49 -0
- package/dist/shared/primitives/date/calendar-view.ts +264 -0
- package/dist/shared/primitives/date/calendar.ts +126 -0
- package/dist/shared/primitives/date/comparators.ts +144 -0
- package/dist/shared/primitives/date/field.ts +551 -0
- package/dist/shared/primitives/date/formatter.ts +110 -0
- package/dist/shared/primitives/date/parser.ts +182 -0
- package/dist/shared/primitives/date/parts.ts +16 -0
- package/dist/shared/primitives/date/picker-view.ts +186 -0
- package/dist/shared/primitives/date/placeholders.ts +485 -0
- package/dist/shared/primitives/date/range-calendar-view.ts +181 -0
- package/dist/shared/primitives/date/segment.ts +44 -0
- package/dist/shared/primitives/date/utils.ts +169 -0
- package/dist/shared/primitives/dialog/LICENSE +21 -0
- package/dist/shared/primitives/dialog/index.ts +73 -0
- package/dist/shared/primitives/grace-area/LICENSE +21 -0
- package/dist/shared/primitives/grace-area/index.ts +112 -0
- package/dist/shared/primitives/listbox/LICENSE +21 -0
- package/dist/shared/primitives/listbox/index.ts +213 -0
- package/dist/shared/primitives/menu/LICENSE +21 -0
- package/dist/shared/primitives/menu/index.ts +66 -0
- package/dist/shared/primitives/navigation-menu/LICENSE +44 -0
- package/dist/shared/primitives/navigation-menu/index.ts +125 -0
- package/dist/shared/primitives/pin-input/index.ts +394 -97
- package/dist/shared/primitives/popper/LICENSE +21 -0
- package/dist/shared/primitives/popper/index.ts +246 -0
- package/dist/shared/primitives/select/index.ts +98 -0
- package/dist/shared/primitives/tags-input/LICENSE +21 -0
- package/dist/shared/primitives/tags-input/index.ts +113 -0
- package/dist/shared/primitives/toast/LICENSE +44 -0
- package/dist/shared/primitives/toast/index.ts +106 -0
- package/dist/shared/primitives/tree/LICENSE +21 -0
- package/dist/shared/primitives/tree/index.ts +248 -0
- package/dist/shared/styles/interaction.css +6 -2
- package/dist/shared/styles/line-clamp.css +6 -2
- package/dist/shared/styles/pin-input.css +84 -0
- package/dist/shared/styles/tokens.css +2 -0
- package/dist/shared/styles/tour.css +29 -0
- package/dist/shared/variants/nav-link.ts +6 -2
- package/dist/shared/variants/pin-input.ts +26 -7
- package/dist/shared/variants/tour.ts +29 -0
- package/dist/types/shared/src/lib/css-time.d.ts +2 -0
- package/dist/types/shared/src/lib/css-time.d.ts.map +1 -0
- package/dist/types/shared/src/lib/line-clamp.d.ts.map +1 -1
- package/dist/types/shared/src/lib/tour.d.ts +81 -0
- package/dist/types/shared/src/lib/tour.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/filter.d.ts +6 -0
- package/dist/types/shared/src/lib/virtual/filter.d.ts.map +1 -0
- package/dist/types/shared/src/locale/en-US.d.ts.map +1 -1
- package/dist/types/shared/src/locale/index.d.ts.map +1 -1
- package/dist/types/shared/src/locale/ja-JP.d.ts.map +1 -1
- package/dist/types/shared/src/locale/types.d.ts +8 -0
- package/dist/types/shared/src/locale/types.d.ts.map +1 -1
- package/dist/types/shared/src/locale/zh-CN.d.ts.map +1 -1
- package/dist/types/shared/src/primitives/body-scroll-lock/index.d.ts +10 -0
- package/dist/types/shared/src/primitives/body-scroll-lock/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/collapsible/index.d.ts +1 -1
- package/dist/types/shared/src/primitives/combobox/index.d.ts +9 -0
- package/dist/types/shared/src/primitives/combobox/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/calendar-view.d.ts +53 -0
- package/dist/types/shared/src/primitives/date/calendar-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/calendar.d.ts +39 -0
- package/dist/types/shared/src/primitives/date/calendar.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/comparators.d.ts +31 -0
- package/dist/types/shared/src/primitives/date/comparators.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/field.d.ts +46 -0
- package/dist/types/shared/src/primitives/date/field.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/formatter.d.ts +20 -0
- package/dist/types/shared/src/primitives/date/formatter.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/parser.d.ts +49 -0
- package/dist/types/shared/src/primitives/date/parser.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/parts.d.ts +10 -0
- package/dist/types/shared/src/primitives/date/parts.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/picker-view.d.ts +34 -0
- package/dist/types/shared/src/primitives/date/picker-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/placeholders.d.ts +2 -0
- package/dist/types/shared/src/primitives/date/placeholders.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/range-calendar-view.d.ts +67 -0
- package/dist/types/shared/src/primitives/date/range-calendar-view.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/segment.d.ts +6 -0
- package/dist/types/shared/src/primitives/date/segment.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/date/utils.d.ts +37 -0
- package/dist/types/shared/src/primitives/date/utils.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/dialog/index.d.ts +32 -0
- package/dist/types/shared/src/primitives/dialog/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/focus-guards/index.d.ts +2 -0
- package/dist/types/shared/src/primitives/focus-guards/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/grace-area/index.d.ts +13 -0
- package/dist/types/shared/src/primitives/grace-area/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/listbox/index.d.ts +55 -0
- package/dist/types/shared/src/primitives/listbox/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/menu/index.d.ts +35 -0
- package/dist/types/shared/src/primitives/menu/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/navigation-menu/index.d.ts +23 -0
- package/dist/types/shared/src/primitives/navigation-menu/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/pin-input/index.d.ts +35 -27
- package/dist/types/shared/src/primitives/pin-input/index.d.ts.map +1 -1
- package/dist/types/shared/src/primitives/popper/index.d.ts +83 -0
- package/dist/types/shared/src/primitives/popper/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/select/index.d.ts +24 -0
- package/dist/types/shared/src/primitives/select/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/tags-input/index.d.ts +36 -0
- package/dist/types/shared/src/primitives/tags-input/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/toast/index.d.ts +42 -0
- package/dist/types/shared/src/primitives/toast/index.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/tree/index.d.ts +72 -0
- package/dist/types/shared/src/primitives/tree/index.d.ts.map +1 -0
- package/dist/types/shared/src/variants/nav-link.d.ts +2 -1
- package/dist/types/shared/src/variants/nav-link.d.ts.map +1 -1
- package/dist/types/shared/src/variants/pin-input.d.ts +30 -10
- package/dist/types/shared/src/variants/pin-input.d.ts.map +1 -1
- package/dist/types/shared/src/variants/tour.d.ts +10 -0
- package/dist/types/shared/src/variants/tour.d.ts.map +1 -0
- package/dist/types/vue/src/components/app-shell/AppShell.vue.d.ts +6 -6
- package/dist/types/vue/src/components/button/Button.vue.d.ts +1 -1
- package/dist/types/vue/src/components/button/Button.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/calendar/Calendar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/calendar/Calendar.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/carousel/composables/useCarousel.d.ts +1 -1
- package/dist/types/vue/src/components/combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/command-palette/CommandPalettePanel.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/config-provider/ConfigProvider.vue.d.ts +20 -0
- package/dist/types/vue/src/components/config-provider/ConfigProvider.vue.d.ts.map +1 -0
- package/dist/types/vue/src/components/config-provider/types.d.ts +10 -0
- package/dist/types/vue/src/components/config-provider/types.d.ts.map +1 -0
- package/dist/types/vue/src/components/config-provider/useConfig.d.ts +2 -0
- package/dist/types/vue/src/components/config-provider/useConfig.d.ts.map +1 -0
- package/dist/types/vue/src/components/date-range-field/DateRangeField.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/date-time-picker/DateTimePicker.vue.d.ts +1 -1
- package/dist/types/vue/src/components/date-time-picker/DateTimePicker.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dialog/ModalContent.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenu.vue.d.ts +20 -8
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/float-button/FloatButton.vue.d.ts +2 -2
- package/dist/types/vue/src/components/hover-card/HoverCard.vue.d.ts +1 -1
- package/dist/types/vue/src/components/hover-card/HoverCard.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/icon-button/IconButton.vue.d.ts +2 -2
- package/dist/types/vue/src/components/icon-button/IconButton.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/image/Image.vue.d.ts +1 -1
- package/dist/types/vue/src/components/image/Image.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/image/composables/useImage.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/menubar/MenubarMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/menubar/MenubarSub.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/month-grid/MonthGrid.vue.d.ts +1 -1
- package/dist/types/vue/src/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/nav-link/NavLink.vue.d.ts +5 -10
- package/dist/types/vue/src/components/nav-link/NavLink.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/nav-link/NavLinkChild.d.ts +8 -0
- package/dist/types/vue/src/components/nav-link/NavLinkChild.d.ts.map +1 -1
- package/dist/types/vue/src/components/navigation-menu/NavigationMenu.vue.d.ts +2 -2
- package/dist/types/vue/src/components/navigation-menu/NavigationMenu.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/navigation-menu/NavigationMenuContent.vue.d.ts +6 -6
- package/dist/types/vue/src/components/pagination/composables/usePaginationWindow.d.ts +6 -6
- package/dist/types/vue/src/components/pin-input/PinInput.vue.d.ts +2 -0
- package/dist/types/vue/src/components/pin-input/PinInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popconfirm/Popconfirm.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popover/Popover.vue.d.ts +9 -9
- package/dist/types/vue/src/components/popover/Popover.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/popover/PopoverContent.vue.d.ts +9 -9
- package/dist/types/vue/src/components/popover/PopoverContent.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-calendar/RangeCalendar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/range-calendar/RangeCalendar.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-slider/RangeSlider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/scroll-area/ScrollArea.vue.d.ts +1 -1
- package/dist/types/vue/src/components/scroll-area/ScrollArea.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/select/Select.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/sheet/Sheet.vue.d.ts +1 -1
- package/dist/types/vue/src/components/sheet/Sheet.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/slider/Slider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/split-button/SplitButton.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tags-input/TagsInput.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tags-input/TagsInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/toolbar/Toolbar.vue.d.ts +1 -1
- package/dist/types/vue/src/components/toolbar/ToolbarControl.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tour/Tour.vue.d.ts +34 -0
- package/dist/types/vue/src/components/tour/Tour.vue.d.ts.map +1 -0
- package/dist/types/vue/src/components/tour/tour.variants.d.ts +2 -0
- package/dist/types/vue/src/components/tour/tour.variants.d.ts.map +1 -0
- package/dist/types/vue/src/components/tour/types.d.ts +33 -0
- package/dist/types/vue/src/components/tour/types.d.ts.map +1 -0
- package/dist/types/vue/src/components/tree/TreeRows.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tree/TreeRows.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree/VirtualTreeWindow.vue.d.ts +1 -1
- package/dist/types/vue/src/components/tree/VirtualTreeWindow.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/virtual-list/composables/useVirtualList.d.ts +7 -7
- package/dist/types/vue/src/index.d.ts +5 -0
- package/dist/types/vue/src/index.d.ts.map +1 -1
- package/dist/types/vue/src/lib/anchored-overlay.d.ts +11 -5
- package/dist/types/vue/src/lib/anchored-overlay.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts +6 -6
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts.map +1 -1
- package/dist/types/vue/src/lib/useDirection.d.ts +1 -1
- package/dist/types/vue/src/primitives/alert-dialog/index.d.ts +133 -0
- package/dist/types/vue/src/primitives/alert-dialog/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarCellTrigger.d.ts +52 -0
- package/dist/types/vue/src/primitives/calendar/CalendarCellTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarGrid.d.ts +227 -0
- package/dist/types/vue/src/primitives/calendar/CalendarGrid.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarNav.d.ts +140 -0
- package/dist/types/vue/src/primitives/calendar/CalendarNav.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/CalendarRoot.d.ts +313 -0
- package/dist/types/vue/src/primitives/calendar/CalendarRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/context.d.ts +48 -0
- package/dist/types/vue/src/primitives/calendar/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/index.d.ts +6 -0
- package/dist/types/vue/src/primitives/calendar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/calendar/useCalendar.d.ts +65 -0
- package/dist/types/vue/src/primitives/calendar/useCalendar.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxContent.d.ts +273 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxItem.d.ts +166 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxRoot.d.ts +376 -0
- package/dist/types/vue/src/primitives/combobox/ComboboxRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/context.d.ts +68 -0
- package/dist/types/vue/src/primitives/combobox/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/combobox/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/combobox/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/context-menu/index.d.ts +949 -0
- package/dist/types/vue/src/primitives/context-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldInput.d.ts +40 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldRoot.d.ts +233 -0
- package/dist/types/vue/src/primitives/date-field/DateFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/context.d.ts +26 -0
- package/dist/types/vue/src/primitives/date-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/date-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/segmentInput.d.ts +36 -0
- package/dist/types/vue/src/primitives/date-field/segmentInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-field/useDateFieldSegment.d.ts +32 -0
- package/dist/types/vue/src/primitives/date-field/useDateFieldSegment.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldInput.d.ts +51 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldRoot.d.ts +221 -0
- package/dist/types/vue/src/primitives/date-range-field/DateRangeFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/context.d.ts +31 -0
- package/dist/types/vue/src/primitives/date-range-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/date-range-field/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/date-range-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogContent.d.ts +54 -0
- package/dist/types/vue/src/primitives/dialog/DialogContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogContentImpl.d.ts +65 -0
- package/dist/types/vue/src/primitives/dialog/DialogContentImpl.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogOverlay.d.ts +40 -0
- package/dist/types/vue/src/primitives/dialog/DialogOverlay.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogPortal.d.ts +49 -0
- package/dist/types/vue/src/primitives/dialog/DialogPortal.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogRoot.d.ts +62 -0
- package/dist/types/vue/src/primitives/dialog/DialogRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogText.d.ts +85 -0
- package/dist/types/vue/src/primitives/dialog/DialogText.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/DialogTrigger.d.ts +33 -0
- package/dist/types/vue/src/primitives/dialog/DialogTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/context.d.ts +16 -0
- package/dist/types/vue/src/primitives/dialog/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dialog/index.d.ts +8 -0
- package/dist/types/vue/src/primitives/dialog/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayer.d.ts +76 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayer.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayerBranch.d.ts +26 -0
- package/dist/types/vue/src/primitives/dismissable-layer/DismissableLayerBranch.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dismissable-layer/index.d.ts +3 -0
- package/dist/types/vue/src/primitives/dismissable-layer/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/dropdown-menu/index.d.ts +1033 -0
- package/dist/types/vue/src/primitives/dropdown-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/focus-scope/FocusScope.d.ts +72 -0
- package/dist/types/vue/src/primitives/focus-scope/FocusScope.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/focus-scope/index.d.ts +2 -0
- package/dist/types/vue/src/primitives/focus-scope/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/hover-card/index.d.ts +442 -0
- package/dist/types/vue/src/primitives/hover-card/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxContent.d.ts +30 -0
- package/dist/types/vue/src/primitives/listbox/ListboxContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxFilter.d.ts +67 -0
- package/dist/types/vue/src/primitives/listbox/ListboxFilter.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxGroup.d.ts +82 -0
- package/dist/types/vue/src/primitives/listbox/ListboxGroup.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/ListboxItem.d.ts +58 -0
- package/dist/types/vue/src/primitives/listbox/ListboxItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/{pin-input/PinInputRoot.d.ts → listbox/ListboxRoot.d.ts} +60 -53
- package/dist/types/vue/src/primitives/listbox/ListboxRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/context.d.ts +49 -0
- package/dist/types/vue/src/primitives/listbox/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/listbox/index.d.ts +7 -0
- package/dist/types/vue/src/primitives/listbox/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuContentImpl.d.ts +394 -0
- package/dist/types/vue/src/primitives/menu/MenuContentImpl.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuItem.d.ts +396 -0
- package/dist/types/vue/src/primitives/menu/MenuItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/MenuRoot.d.ts +746 -0
- package/dist/types/vue/src/primitives/menu/MenuRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/context.d.ts +74 -0
- package/dist/types/vue/src/primitives/menu/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menu/wrap.d.ts +14 -0
- package/dist/types/vue/src/primitives/menu/wrap.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/menubar/index.d.ts +1036 -0
- package/dist/types/vue/src/primitives/menubar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuContent.d.ts +101 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuParts.d.ts +165 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuRoot.d.ts +187 -0
- package/dist/types/vue/src/primitives/navigation-menu/NavigationMenuRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/context.d.ts +40 -0
- package/dist/types/vue/src/primitives/navigation-menu/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/navigation-menu/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/navigation-menu/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts +1 -1
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/picker/createPicker.d.ts +247 -0
- package/dist/types/vue/src/primitives/picker/createPicker.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/picker/index.d.ts +414 -0
- package/dist/types/vue/src/primitives/picker/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverContent.d.ts +257 -0
- package/dist/types/vue/src/primitives/popover/PopoverContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverParts.d.ts +183 -0
- package/dist/types/vue/src/primitives/popover/PopoverParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/PopoverRoot.d.ts +50 -0
- package/dist/types/vue/src/primitives/popover/PopoverRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/context.d.ts +13 -0
- package/dist/types/vue/src/primitives/popover/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popover/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/popover/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/Arrow.d.ts +67 -0
- package/dist/types/vue/src/primitives/popper/Arrow.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperAnchor.d.ts +40 -0
- package/dist/types/vue/src/primitives/popper/PopperAnchor.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperArrow.d.ts +61 -0
- package/dist/types/vue/src/primitives/popper/PopperArrow.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperContent.d.ts +370 -0
- package/dist/types/vue/src/primitives/popper/PopperContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/PopperRoot.d.ts +4 -0
- package/dist/types/vue/src/primitives/popper/PopperRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/context.d.ts +17 -0
- package/dist/types/vue/src/primitives/popper/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/popper/index.d.ts +7 -0
- package/dist/types/vue/src/primitives/popper/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/radio-group/RadioGroupRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarCellTrigger.d.ts +52 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarCellTrigger.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarGrid.d.ts +252 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarGrid.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarRoot.d.ts +345 -0
- package/dist/types/vue/src/primitives/range-calendar/RangeCalendarRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/context.d.ts +64 -0
- package/dist/types/vue/src/primitives/range-calendar/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/range-calendar/index.d.ts +6 -0
- package/dist/types/vue/src/primitives/range-calendar/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/rating/RatingRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/roving-focus/RovingFocusGroup.vue.d.ts +3 -3
- package/dist/types/vue/src/primitives/roving-focus/RovingFocusGroup.vue.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/select/SelectContent.d.ts +265 -0
- package/dist/types/vue/src/primitives/select/SelectContent.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/SelectItem.d.ts +107 -0
- package/dist/types/vue/src/primitives/select/SelectItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/SelectRoot.d.ts +275 -0
- package/dist/types/vue/src/primitives/select/SelectRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/context.d.ts +73 -0
- package/dist/types/vue/src/primitives/select/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/select/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/select/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/slider/SliderRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/stepper/StepperRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/{pin-input/PinInputInput.d.ts → tags-input/TagsInputInput.d.ts} +23 -14
- package/dist/types/vue/src/primitives/tags-input/TagsInputInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputItem.d.ts +76 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputRoot.d.ts +196 -0
- package/dist/types/vue/src/primitives/tags-input/TagsInputRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/context.d.ts +30 -0
- package/dist/types/vue/src/primitives/tags-input/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tags-input/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/tags-input/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/teleport/Teleport.d.ts +49 -0
- package/dist/types/vue/src/primitives/teleport/Teleport.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/teleport/index.d.ts +2 -0
- package/dist/types/vue/src/primitives/teleport/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldInput.d.ts +40 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldRoot.d.ts +220 -0
- package/dist/types/vue/src/primitives/time-field/TimeFieldRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/context.d.ts +25 -0
- package/dist/types/vue/src/primitives/time-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/time-field/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/time-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/ToastProvider.d.ts +177 -0
- package/dist/types/vue/src/primitives/toast/ToastProvider.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/ToastRoot.d.ts +233 -0
- package/dist/types/vue/src/primitives/toast/ToastRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toast/index.d.ts +3 -0
- package/dist/types/vue/src/primitives/toast/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/toolbar/ToolbarRoot.d.ts +1 -1
- package/dist/types/vue/src/primitives/tooltip/TooltipParts.d.ts +267 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipParts.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipRoot.d.ts +162 -0
- package/dist/types/vue/src/primitives/tooltip/TooltipRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/context.d.ts +32 -0
- package/dist/types/vue/src/primitives/tooltip/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tooltip/index.d.ts +4 -0
- package/dist/types/vue/src/primitives/tooltip/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/TreeItem.d.ts +40 -0
- package/dist/types/vue/src/primitives/tree/TreeItem.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/TreeRoot.d.ts +50 -0
- package/dist/types/vue/src/primitives/tree/TreeRoot.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/context.d.ts +29 -0
- package/dist/types/vue/src/primitives/tree/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/tree/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/tree/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/config.d.ts +14 -1
- package/dist/types/vue/src/primitives/utils/config.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/utils/defu.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/defu.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/env.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/env.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/layers.d.ts +5 -0
- package/dist/types/vue/src/primitives/utils/layers.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/propsWithoutDefaults.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/propsWithoutDefaults.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useBodyScrollLock.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/useBodyScrollLock.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useDirection.d.ts +1 -1
- package/dist/types/vue/src/primitives/utils/useDirection.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/utils/useFocusGuards.d.ts +2 -0
- package/dist/types/vue/src/primitives/utils/useFocusGuards.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useGraceArea.d.ts +6 -0
- package/dist/types/vue/src/primitives/utils/useGraceArea.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useHideOthers.d.ts +4 -0
- package/dist/types/vue/src/primitives/utils/useHideOthers.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useIsUsingKeyboard.d.ts +4 -0
- package/dist/types/vue/src/primitives/utils/useIsUsingKeyboard.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useLocale.d.ts +3 -0
- package/dist/types/vue/src/primitives/utils/useLocale.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts +1 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInput.d.ts +1 -1
- package/dist/types/vue/src/singletons.d.ts +1 -1
- package/dist/types/vue/src/singletons.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/alert-dialog/AlertDialog.vue +1 -1
- package/src/components/calendar/Calendar.vue +1 -1
- package/src/components/calendar/CalendarLevels.vue +1 -1
- package/src/components/combobox/Combobox.vue +6 -1
- package/src/components/combobox/ComboboxList.vue +1 -1
- package/src/components/command-palette/CommandPalette.vue +2 -2
- package/src/components/command-palette/CommandPaletteInput.vue +1 -1
- package/src/components/command-palette/CommandPaletteItem.vue +1 -1
- package/src/components/command-palette/CommandPalettePanel.vue +6 -1
- package/src/components/config-provider/ConfigProvider.vue +24 -0
- package/src/components/config-provider/types.ts +11 -0
- package/src/components/config-provider/useConfig.ts +5 -0
- package/src/components/context-menu/ContextMenu.vue +1 -1
- package/src/components/context-menu/ContextMenuCheckboxItem.vue +1 -1
- package/src/components/context-menu/ContextMenuGroup.vue +1 -1
- package/src/components/context-menu/ContextMenuItem.vue +1 -1
- package/src/components/context-menu/ContextMenuLabel.vue +1 -1
- package/src/components/context-menu/ContextMenuRadioGroup.vue +1 -1
- package/src/components/context-menu/ContextMenuRadioItem.vue +1 -1
- package/src/components/context-menu/ContextMenuSeparator.vue +1 -1
- package/src/components/context-menu/ContextMenuSub.vue +1 -1
- package/src/components/data-table/DataTableDragPreview.vue +1 -1
- package/src/components/date-field/DateField.vue +1 -1
- package/src/components/date-picker/DatePicker.vue +1 -1
- package/src/components/date-range-field/DateRangeField.vue +5 -1
- package/src/components/date-range-picker/DateRangePicker.vue +1 -1
- package/src/components/date-time-picker/DateTimePicker.vue +1 -1
- package/src/components/dialog/Dialog.vue +1 -1
- package/src/components/dialog/ModalContent.vue +2 -1
- package/src/components/drawer/Drawer.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenu.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuCheckboxItem.vue +4 -1
- package/src/components/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuRadioGroup.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuRadioItem.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/src/components/dropdown-menu/DropdownMenuSub.vue +1 -1
- package/src/components/hover-card/HoverCard.vue +6 -1
- package/src/components/hover-card/composables/useHoverCardAnchor.ts +1 -1
- package/src/components/icon-button/IconButton.vue +1 -1
- package/src/components/image/composables/useImage.ts +2 -1
- package/src/components/lightbox/Lightbox.vue +2 -1
- package/src/components/lightbox/LightboxChrome.vue +1 -1
- package/src/components/listbox/Listbox.vue +1 -1
- package/src/components/listbox/ListboxOptionContent.vue +1 -1
- package/src/components/menubar/Menubar.vue +1 -1
- package/src/components/menubar/MenubarCheckboxItem.vue +1 -1
- package/src/components/menubar/MenubarGroup.vue +1 -1
- package/src/components/menubar/MenubarItem.vue +1 -1
- package/src/components/menubar/MenubarLabel.vue +1 -1
- package/src/components/menubar/MenubarMenu.vue +6 -1
- package/src/components/menubar/MenubarRadioGroup.vue +1 -1
- package/src/components/menubar/MenubarRadioItem.vue +1 -1
- package/src/components/menubar/MenubarSeparator.vue +1 -1
- package/src/components/menubar/MenubarSub.vue +6 -1
- package/src/components/multi-combobox/MultiCombobox.vue +6 -1
- package/src/components/multi-select/MultiSelect.vue +1 -1
- package/src/components/nav-link/NavLink.vue +21 -2
- package/src/components/nav-link/NavLinkChild.ts +2 -0
- package/src/components/navigation-menu/NavigationMenu.vue +5 -1
- package/src/components/navigation-menu/NavigationMenuContent.vue +2 -2
- package/src/components/navigation-menu/NavigationMenuItem.vue +1 -1
- package/src/components/navigation-menu/NavigationMenuLink.vue +1 -1
- package/src/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/src/components/number-input/NumberInput.vue +1 -1
- package/src/components/pagination/PaginationPopup.vue +1 -1
- package/src/components/pin-input/PinInput.vue +103 -33
- package/src/components/popconfirm/Popconfirm.vue +6 -1
- package/src/components/popover/Popover.vue +6 -1
- package/src/components/popover/PopoverContent.vue +2 -2
- package/src/components/popover/composables/usePopoverCloseFocus.ts +1 -1
- package/src/components/range-calendar/RangeCalendar.vue +1 -1
- package/src/components/select/Select.vue +2 -1
- package/src/components/select/SelectList.vue +1 -1
- package/src/components/sheet/Sheet.vue +1 -1
- package/src/components/slider/SliderHandle.vue +1 -1
- package/src/components/tags-input/TagsInput.vue +1 -1
- package/src/components/tags-input/TagsInputChip.vue +1 -1
- package/src/components/time/Time.vue +1 -1
- package/src/components/time-field/TimeField.vue +1 -1
- package/src/components/toast/Toaster.vue +1 -1
- package/src/components/toggle/Toggle.vue +1 -1
- package/src/components/toolbar/ToolbarControl.vue +1 -1
- package/src/components/tooltip/Tooltip.vue +1 -1
- package/src/components/tooltip/TooltipBubble.vue +1 -1
- package/src/components/tooltip/TooltipDirectiveRoot.ts +1 -1
- package/src/components/tooltip/TooltipProvider.vue +1 -1
- package/src/components/tooltip/composables/useTooltipTarget.ts +1 -1
- package/src/components/tour/Tour.vue +447 -0
- package/src/components/tour/tour.variants.ts +1 -0
- package/src/components/tour/types.ts +43 -0
- package/src/components/tree/Tree.vue +1 -1
- package/src/components/tree/TreeRows.vue +1 -1
- package/src/components/tree/VirtualTreeWindow.vue +1 -1
- package/src/components/tree-select/TreeSelect.vue +2 -3
- package/src/components/tree-select/composables/useTreeSelect.ts +2 -2
- package/src/index.ts +15 -0
- package/src/lib/anchored-overlay.ts +2 -1
- package/src/lib/dialog-focus.ts +1 -1
- package/src/lib/reka/useVirtualChoices.ts +7 -8
- package/src/lib/reka/useVirtualTree.ts +1 -1
- package/src/primitives/alert-dialog/index.ts +166 -0
- package/src/primitives/calendar/CalendarCellTrigger.ts +190 -0
- package/src/primitives/calendar/CalendarGrid.ts +101 -0
- package/src/primitives/calendar/CalendarNav.ts +88 -0
- package/src/primitives/calendar/CalendarRoot.ts +324 -0
- package/src/primitives/calendar/LICENSE +44 -0
- package/src/primitives/calendar/context.ts +55 -0
- package/src/primitives/calendar/index.ts +12 -0
- package/src/primitives/calendar/useCalendar.ts +164 -0
- package/src/primitives/combobox/ComboboxContent.ts +199 -0
- package/src/primitives/combobox/ComboboxItem.ts +209 -0
- package/src/primitives/combobox/ComboboxRoot.ts +489 -0
- package/src/primitives/combobox/LICENSE +44 -0
- package/src/primitives/combobox/context.ts +47 -0
- package/src/primitives/combobox/index.ts +23 -0
- package/src/primitives/context-menu/LICENSE +44 -0
- package/src/primitives/context-menu/index.ts +388 -0
- package/src/primitives/date-field/DateFieldInput.ts +29 -0
- package/src/primitives/date-field/DateFieldRoot.ts +343 -0
- package/src/primitives/date-field/LICENSE +44 -0
- package/src/primitives/date-field/context.ts +29 -0
- package/src/primitives/date-field/index.ts +3 -0
- package/src/primitives/date-field/segmentInput.ts +96 -0
- package/src/primitives/date-field/useDateFieldSegment.ts +63 -0
- package/src/primitives/date-range-field/DateRangeFieldInput.ts +42 -0
- package/src/primitives/date-range-field/DateRangeFieldRoot.ts +389 -0
- package/src/primitives/date-range-field/LICENSE +44 -0
- package/src/primitives/date-range-field/context.ts +36 -0
- package/src/primitives/date-range-field/index.ts +12 -0
- package/src/primitives/dialog/DialogContent.ts +193 -0
- package/src/primitives/dialog/DialogContentImpl.ts +114 -0
- package/src/primitives/dialog/DialogOverlay.ts +99 -0
- package/src/primitives/dialog/DialogPortal.ts +33 -0
- package/src/primitives/dialog/DialogRoot.ts +61 -0
- package/src/primitives/dialog/DialogText.ts +59 -0
- package/src/primitives/dialog/DialogTrigger.ts +46 -0
- package/src/primitives/dialog/LICENSE +44 -0
- package/src/primitives/dialog/context.ts +19 -0
- package/src/primitives/dialog/index.ts +7 -0
- package/src/primitives/dismissable-layer/DismissableLayer.ts +212 -0
- package/src/primitives/dismissable-layer/DismissableLayerBranch.ts +36 -0
- package/src/primitives/dismissable-layer/LICENSE +44 -0
- package/src/primitives/dismissable-layer/index.ts +11 -0
- package/src/primitives/dropdown-menu/LICENSE +44 -0
- package/src/primitives/dropdown-menu/index.ts +344 -0
- package/src/primitives/focus-scope/FocusScope.ts +118 -0
- package/src/primitives/focus-scope/LICENSE +44 -0
- package/src/primitives/focus-scope/index.ts +1 -0
- package/src/primitives/hover-card/LICENSE +44 -0
- package/src/primitives/hover-card/index.ts +357 -0
- package/src/primitives/listbox/LICENSE +44 -0
- package/src/primitives/listbox/ListboxContent.ts +80 -0
- package/src/primitives/listbox/ListboxFilter.ts +130 -0
- package/src/primitives/listbox/ListboxGroup.ts +67 -0
- package/src/primitives/listbox/ListboxItem.ts +125 -0
- package/src/primitives/listbox/ListboxRoot.ts +376 -0
- package/src/primitives/listbox/context.ts +62 -0
- package/src/primitives/listbox/index.ts +17 -0
- package/src/primitives/menu/LICENSE +44 -0
- package/src/primitives/menu/MenuContentImpl.ts +304 -0
- package/src/primitives/menu/MenuItem.ts +495 -0
- package/src/primitives/menu/MenuRoot.ts +295 -0
- package/src/primitives/menu/context.ts +72 -0
- package/src/primitives/menu/index.ts +26 -0
- package/src/primitives/menu/wrap.ts +53 -0
- package/src/primitives/menubar/index.ts +494 -0
- package/src/primitives/navigation-menu/LICENSE +44 -0
- package/src/primitives/navigation-menu/NavigationMenuContent.ts +375 -0
- package/src/primitives/navigation-menu/NavigationMenuParts.ts +432 -0
- package/src/primitives/navigation-menu/NavigationMenuRoot.ts +260 -0
- package/src/primitives/navigation-menu/context.ts +50 -0
- package/src/primitives/navigation-menu/index.ts +20 -0
- package/src/primitives/number-field/__snapshots__/NumberField.test.ts.snap +288 -0
- package/src/primitives/picker/LICENSE +44 -0
- package/src/primitives/picker/createPicker.ts +618 -0
- package/src/primitives/picker/index.ts +26 -0
- package/src/primitives/popover/LICENSE +44 -0
- package/src/primitives/popover/PopoverContent.ts +243 -0
- package/src/primitives/popover/PopoverParts.ts +143 -0
- package/src/primitives/popover/PopoverRoot.ts +58 -0
- package/src/primitives/popover/context.ts +16 -0
- package/src/primitives/popover/index.ts +14 -0
- package/src/primitives/popper/Arrow.ts +49 -0
- package/src/primitives/popper/LICENSE +44 -0
- package/src/primitives/popper/PopperAnchor.ts +33 -0
- package/src/primitives/popper/PopperArrow.ts +77 -0
- package/src/primitives/popper/PopperContent.ts +262 -0
- package/src/primitives/popper/PopperRoot.ts +16 -0
- package/src/primitives/popper/context.ts +23 -0
- package/src/primitives/popper/index.ts +11 -0
- package/src/primitives/range-calendar/LICENSE +44 -0
- package/src/primitives/range-calendar/RangeCalendarCellTrigger.ts +241 -0
- package/src/primitives/range-calendar/RangeCalendarGrid.ts +90 -0
- package/src/primitives/range-calendar/RangeCalendarRoot.ts +413 -0
- package/src/primitives/range-calendar/context.ts +71 -0
- package/src/primitives/range-calendar/index.ts +21 -0
- package/src/primitives/select/LICENSE +44 -0
- package/src/primitives/select/SelectContent.ts +330 -0
- package/src/primitives/select/SelectItem.ts +204 -0
- package/src/primitives/select/SelectRoot.ts +408 -0
- package/src/primitives/select/context.ts +74 -0
- package/src/primitives/select/index.ts +17 -0
- package/src/primitives/tags-input/LICENSE +44 -0
- package/src/primitives/tags-input/TagsInputInput.ts +148 -0
- package/src/primitives/tags-input/TagsInputItem.ts +105 -0
- package/src/primitives/tags-input/TagsInputRoot.ts +215 -0
- package/src/primitives/tags-input/context.ts +36 -0
- package/src/primitives/tags-input/index.ts +9 -0
- package/src/primitives/teleport/LICENSE +44 -0
- package/src/primitives/teleport/Teleport.ts +41 -0
- package/src/primitives/teleport/index.ts +1 -0
- package/src/primitives/time-field/LICENSE +44 -0
- package/src/primitives/time-field/TimeFieldInput.ts +29 -0
- package/src/primitives/time-field/TimeFieldRoot.ts +379 -0
- package/src/primitives/time-field/context.ts +28 -0
- package/src/primitives/time-field/index.ts +4 -0
- package/src/primitives/toast/LICENSE +44 -0
- package/src/primitives/toast/ToastProvider.ts +311 -0
- package/src/primitives/toast/ToastRoot.ts +518 -0
- package/src/primitives/toast/index.ts +16 -0
- package/src/primitives/tooltip/LICENSE +44 -0
- package/src/primitives/tooltip/TooltipParts.ts +351 -0
- package/src/primitives/tooltip/TooltipRoot.ts +170 -0
- package/src/primitives/tooltip/context.ts +39 -0
- package/src/primitives/tooltip/index.ts +9 -0
- package/src/primitives/tree/LICENSE +44 -0
- package/src/primitives/tree/TreeItem.ts +256 -0
- package/src/primitives/tree/TreeRoot.ts +273 -0
- package/src/primitives/tree/context.ts +34 -0
- package/src/primitives/tree/index.ts +4 -0
- package/src/primitives/utils/config.ts +19 -1
- package/src/primitives/utils/defu.ts +26 -0
- package/src/primitives/utils/env.ts +5 -0
- package/src/primitives/utils/layers.ts +4 -0
- package/src/primitives/utils/propsWithoutDefaults.ts +8 -0
- package/src/primitives/utils/useBodyScrollLock.ts +29 -0
- package/src/primitives/utils/useFocusGuards.ts +10 -0
- package/src/primitives/utils/useGraceArea.ts +85 -0
- package/src/primitives/utils/useHideOthers.ts +18 -0
- package/src/primitives/utils/useIsUsingKeyboard.ts +25 -0
- package/src/primitives/utils/useLocale.ts +7 -0
- package/src/primitives/utils/useVModel.ts +8 -3
- package/src/singletons.ts +1 -1
- package/dist/types/vue/src/primitives/pin-input/PinInputInput.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/PinInputRoot.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/context.d.ts +0 -20
- package/dist/types/vue/src/primitives/pin-input/context.d.ts.map +0 -1
- package/dist/types/vue/src/primitives/pin-input/index.d.ts +0 -4
- package/dist/types/vue/src/primitives/pin-input/index.d.ts.map +0 -1
- package/src/primitives/pin-input/PinInputInput.ts +0 -218
- package/src/primitives/pin-input/PinInputRoot.ts +0 -136
- package/src/primitives/pin-input/context.ts +0 -24
- package/src/primitives/pin-input/index.ts +0 -3
- /package/dist/shared/primitives/{pin-input → date}/LICENSE +0 -0
- /package/src/primitives/{pin-input → alert-dialog}/LICENSE +0 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type PrimitiveProps } from '../primitive';
|
|
3
|
+
export declare const TooltipTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
asChild: {
|
|
5
|
+
readonly type: BooleanConstructor;
|
|
6
|
+
readonly required: false;
|
|
7
|
+
};
|
|
8
|
+
as: {
|
|
9
|
+
readonly default?: string | undefined;
|
|
10
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
11
|
+
readonly required: false;
|
|
12
|
+
};
|
|
13
|
+
reference: {
|
|
14
|
+
type: null;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
asChild: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
};
|
|
24
|
+
as: {
|
|
25
|
+
readonly default?: string | undefined;
|
|
26
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
27
|
+
readonly required: false;
|
|
28
|
+
};
|
|
29
|
+
reference: {
|
|
30
|
+
type: null;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
|
+
asChild: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export declare const TooltipContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
37
|
+
side: {
|
|
38
|
+
type: null;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
sideOffset: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
align: {
|
|
46
|
+
type: null;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
alignOffset: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
avoidCollisions: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
collisionBoundary: {
|
|
58
|
+
type: null;
|
|
59
|
+
required: false;
|
|
60
|
+
};
|
|
61
|
+
collisionPadding: {
|
|
62
|
+
type: PropType<number | Partial<Record<string, number>>>;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
arrowPadding: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
sticky: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
required: false;
|
|
72
|
+
};
|
|
73
|
+
hideWhenDetached: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
required: false;
|
|
76
|
+
};
|
|
77
|
+
positionStrategy: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
updatePositionStrategy: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: false;
|
|
84
|
+
};
|
|
85
|
+
asChild: {
|
|
86
|
+
readonly type: BooleanConstructor;
|
|
87
|
+
readonly required: false;
|
|
88
|
+
};
|
|
89
|
+
as: {
|
|
90
|
+
readonly default?: string | undefined;
|
|
91
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
92
|
+
readonly required: false;
|
|
93
|
+
};
|
|
94
|
+
forceMount: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
required: false;
|
|
97
|
+
};
|
|
98
|
+
ariaLabel: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
};
|
|
102
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("escapeKeyDown" | "pointerDownOutside")[], "escapeKeyDown" | "pointerDownOutside", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
side: {
|
|
106
|
+
type: null;
|
|
107
|
+
required: false;
|
|
108
|
+
};
|
|
109
|
+
sideOffset: {
|
|
110
|
+
type: NumberConstructor;
|
|
111
|
+
required: false;
|
|
112
|
+
};
|
|
113
|
+
align: {
|
|
114
|
+
type: null;
|
|
115
|
+
required: false;
|
|
116
|
+
};
|
|
117
|
+
alignOffset: {
|
|
118
|
+
type: NumberConstructor;
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
avoidCollisions: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
required: false;
|
|
124
|
+
};
|
|
125
|
+
collisionBoundary: {
|
|
126
|
+
type: null;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
collisionPadding: {
|
|
130
|
+
type: PropType<number | Partial<Record<string, number>>>;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
arrowPadding: {
|
|
134
|
+
type: NumberConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
sticky: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
hideWhenDetached: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
positionStrategy: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
required: false;
|
|
148
|
+
};
|
|
149
|
+
updatePositionStrategy: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
required: false;
|
|
152
|
+
};
|
|
153
|
+
asChild: {
|
|
154
|
+
readonly type: BooleanConstructor;
|
|
155
|
+
readonly required: false;
|
|
156
|
+
};
|
|
157
|
+
as: {
|
|
158
|
+
readonly default?: string | undefined;
|
|
159
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
160
|
+
readonly required: false;
|
|
161
|
+
};
|
|
162
|
+
forceMount: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
required: false;
|
|
165
|
+
};
|
|
166
|
+
ariaLabel: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
required: false;
|
|
169
|
+
};
|
|
170
|
+
}>> & Readonly<{
|
|
171
|
+
onEscapeKeyDown?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
onPointerDownOutside?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
}>, {
|
|
174
|
+
asChild: boolean;
|
|
175
|
+
avoidCollisions: boolean;
|
|
176
|
+
hideWhenDetached: boolean;
|
|
177
|
+
forceMount: boolean;
|
|
178
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
179
|
+
export declare const TooltipArrow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
180
|
+
asChild: {
|
|
181
|
+
readonly type: BooleanConstructor;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
};
|
|
184
|
+
as: {
|
|
185
|
+
readonly default?: string | undefined;
|
|
186
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
187
|
+
readonly required: false;
|
|
188
|
+
};
|
|
189
|
+
width: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
required: false;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
height: {
|
|
195
|
+
type: NumberConstructor;
|
|
196
|
+
required: false;
|
|
197
|
+
default: number;
|
|
198
|
+
};
|
|
199
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
200
|
+
[key: string]: any;
|
|
201
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
202
|
+
asChild: {
|
|
203
|
+
readonly type: BooleanConstructor;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
};
|
|
206
|
+
as: {
|
|
207
|
+
readonly default?: string | undefined;
|
|
208
|
+
readonly type: PropType<PrimitiveProps["as"]>;
|
|
209
|
+
readonly required: false;
|
|
210
|
+
};
|
|
211
|
+
width: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
required: false;
|
|
214
|
+
default: number;
|
|
215
|
+
};
|
|
216
|
+
height: {
|
|
217
|
+
type: NumberConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: number;
|
|
220
|
+
};
|
|
221
|
+
}>> & Readonly<{}>, {
|
|
222
|
+
height: number;
|
|
223
|
+
width: number;
|
|
224
|
+
asChild: boolean;
|
|
225
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
export declare const TooltipPortal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
227
|
+
to: {
|
|
228
|
+
type: null;
|
|
229
|
+
required: false;
|
|
230
|
+
};
|
|
231
|
+
disabled: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
required: false;
|
|
234
|
+
};
|
|
235
|
+
defer: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
required: false;
|
|
238
|
+
};
|
|
239
|
+
forceMount: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
required: false;
|
|
242
|
+
};
|
|
243
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
246
|
+
to: {
|
|
247
|
+
type: null;
|
|
248
|
+
required: false;
|
|
249
|
+
};
|
|
250
|
+
disabled: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
required: false;
|
|
253
|
+
};
|
|
254
|
+
defer: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
required: false;
|
|
257
|
+
};
|
|
258
|
+
forceMount: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
required: false;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{}>, {
|
|
263
|
+
disabled: boolean;
|
|
264
|
+
forceMount: boolean;
|
|
265
|
+
defer: boolean;
|
|
266
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
267
|
+
//# sourceMappingURL=TooltipParts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipParts.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tooltip/TooltipParts.ts"],"names":[],"mappings":"AAAA,OAAO,EAiBL,KAAK,QAAQ,EACd,MAAM,KAAK,CAAA;AAIZ,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAsB7D,eAAO,MAAM,cAAc;;;;;;;uBANI,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;uBAA9B,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;4EA8F3D,CAAA;AA4IF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;cAaK,QAAQ,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAvPnD,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuP7B,QAAQ,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAvPnD,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;4EAwR3D,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;uBA1RM,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;uBAA9B,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;4EAwS3D,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAcxB,CAAA"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
export declare const TooltipProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
delayDuration: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
skipDelayDuration: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
disableHoverableContent: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
disableClosingTrigger: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
ignoreNonKeyboardFocus: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
content: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
delayDuration: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
skipDelayDuration: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
disableHoverableContent: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
disableClosingTrigger: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
};
|
|
60
|
+
ignoreNonKeyboardFocus: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
content: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
delayDuration: number;
|
|
72
|
+
skipDelayDuration: number;
|
|
73
|
+
disableHoverableContent: boolean;
|
|
74
|
+
disableClosingTrigger: boolean;
|
|
75
|
+
ignoreNonKeyboardFocus: boolean;
|
|
76
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
export declare const TooltipRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
78
|
+
defaultOpen: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
open: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
delayDuration: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
required: false;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
disableHoverableContent: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
disableClosingTrigger: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
disabled: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
required: false;
|
|
106
|
+
default: undefined;
|
|
107
|
+
};
|
|
108
|
+
ignoreNonKeyboardFocus: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
required: false;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:open"[], "update:open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
116
|
+
defaultOpen: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
required: false;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
open: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
required: false;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
delayDuration: {
|
|
127
|
+
type: NumberConstructor;
|
|
128
|
+
required: false;
|
|
129
|
+
default: undefined;
|
|
130
|
+
};
|
|
131
|
+
disableHoverableContent: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
required: false;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
disableClosingTrigger: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
required: false;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
disabled: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
default: undefined;
|
|
145
|
+
};
|
|
146
|
+
ignoreNonKeyboardFocus: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
required: false;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
open: boolean;
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
delayDuration: number;
|
|
157
|
+
disableHoverableContent: boolean;
|
|
158
|
+
disableClosingTrigger: boolean;
|
|
159
|
+
ignoreNonKeyboardFocus: boolean;
|
|
160
|
+
defaultOpen: boolean;
|
|
161
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
162
|
+
//# sourceMappingURL=TooltipRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tooltip/TooltipRoot.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAmD1B,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA8FtB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export declare const TOOLTIP_OPEN = "tooltip.open";
|
|
3
|
+
export interface TooltipProviderContext {
|
|
4
|
+
isOpenDelayed: Ref<boolean>;
|
|
5
|
+
delayDuration: Ref<number>;
|
|
6
|
+
onOpen: () => void;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
isPointerInTransitRef: Ref<boolean>;
|
|
9
|
+
disableHoverableContent: Ref<boolean>;
|
|
10
|
+
disableClosingTrigger: Ref<boolean>;
|
|
11
|
+
disabled: Ref<boolean>;
|
|
12
|
+
ignoreNonKeyboardFocus: Ref<boolean>;
|
|
13
|
+
content: Ref<Record<string, unknown> | undefined>;
|
|
14
|
+
}
|
|
15
|
+
export declare const injectTooltipProviderContext: <T extends TooltipProviderContext | null | undefined = TooltipProviderContext>(fallback?: T | undefined) => T extends null ? TooltipProviderContext | null : TooltipProviderContext, provideTooltipProviderContext: (value: TooltipProviderContext) => TooltipProviderContext;
|
|
16
|
+
export interface TooltipRootContext {
|
|
17
|
+
contentId: string;
|
|
18
|
+
open: Ref<boolean>;
|
|
19
|
+
stateAttribute: ComputedRef<'closed' | 'delayed-open' | 'instant-open'>;
|
|
20
|
+
trigger: Ref<HTMLElement | undefined>;
|
|
21
|
+
onTriggerChange: (element: HTMLElement | undefined) => void;
|
|
22
|
+
onTriggerEnter: () => void;
|
|
23
|
+
onTriggerLeave: () => void;
|
|
24
|
+
onOpen: () => void;
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
disableHoverableContent: Ref<boolean>;
|
|
27
|
+
disableClosingTrigger: Ref<boolean>;
|
|
28
|
+
disabled: Ref<boolean>;
|
|
29
|
+
ignoreNonKeyboardFocus: Ref<boolean>;
|
|
30
|
+
}
|
|
31
|
+
export declare const injectTooltipRootContext: <T extends TooltipRootContext | null | undefined = TooltipRootContext>(fallback?: T | undefined) => T extends null ? TooltipRootContext | null : TooltipRootContext, provideTooltipRootContext: (value: TooltipRootContext) => TooltipRootContext;
|
|
32
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tooltip/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG3C,eAAO,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AA;IACtB,sBAAsB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CACrC;AAED,eAAO,MAAO,wBAAwB,uKAAE,yBAAyB,mDACf,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { injectTooltipProviderContext, injectTooltipRootContext, TOOLTIP_OPEN, type TooltipProviderContext, type TooltipRootContext, } from './context';
|
|
2
|
+
export { TooltipArrow, TooltipContent, TooltipPortal, TooltipTrigger } from './TooltipParts';
|
|
3
|
+
export { TooltipProvider, TooltipRoot } from './TooltipRoot';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,YAAY,EACZ,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC5F,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type AllowedComponentProps, type ComponentCustomProps, type VNode, type VNodeProps } from 'vue';
|
|
2
|
+
import { type TreeItemSelectEvent, type TreeItemToggleEvent, type TreeValue } from '../../../../shared/src/primitives/tree';
|
|
3
|
+
import { type PrimitiveProps } from '../primitive';
|
|
4
|
+
export interface TreeItemProps<T = TreeValue> {
|
|
5
|
+
value: T;
|
|
6
|
+
level: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
as?: PrimitiveProps['as'];
|
|
10
|
+
}
|
|
11
|
+
export type TreeItemEmits<T = TreeValue> = {
|
|
12
|
+
select: [event: TreeItemSelectEvent<T>];
|
|
13
|
+
toggle: [event: TreeItemToggleEvent<T>];
|
|
14
|
+
};
|
|
15
|
+
export interface TreeItemSlots {
|
|
16
|
+
default?: (props: {
|
|
17
|
+
isExpanded: boolean;
|
|
18
|
+
isSelected: boolean;
|
|
19
|
+
isIndeterminate: boolean | undefined;
|
|
20
|
+
isDisabled: boolean;
|
|
21
|
+
handleSelect: () => void;
|
|
22
|
+
handleToggle: () => void;
|
|
23
|
+
}) => unknown;
|
|
24
|
+
}
|
|
25
|
+
type TreeItemPublicProps<T> = TreeItemProps<T> & {
|
|
26
|
+
onSelect?: (event: TreeItemSelectEvent<T>) => void;
|
|
27
|
+
onToggle?: (event: TreeItemToggleEvent<T>) => void;
|
|
28
|
+
};
|
|
29
|
+
interface TreeItemSetup<T> {
|
|
30
|
+
props: TreeItemPublicProps<T>;
|
|
31
|
+
slots: TreeItemSlots;
|
|
32
|
+
attrs: Record<string, unknown>;
|
|
33
|
+
emit: unknown;
|
|
34
|
+
expose: (exposed: Record<string, never>) => void;
|
|
35
|
+
}
|
|
36
|
+
export declare const TreeItem: <T extends TreeValue = TreeValue>(props: TreeItemPublicProps<T> & VNodeProps & AllowedComponentProps & ComponentCustomProps, ctx?: Pick<TreeItemSetup<T>, "attrs" | "slots" | "emit">, expose?: TreeItemSetup<T>["expose"], setup?: Promise<TreeItemSetup<T>>) => VNode & {
|
|
37
|
+
__ctx?: TreeItemSetup<T>;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=TreeItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeItem.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tree/TreeItem.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAEzB,KAAK,KAAK,EACV,KAAK,UAAU,EAChB,MAAM,KAAK,CAAA;AAEZ,OAAO,EAOL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,SAAS,E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,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI,CAAA;CACjD;AAuLD,eAAO,MAAM,QAAQ,EAA8B,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACjF,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,UAAU,GAAG,qBAAqB,GAAG,oBAAoB,EACzF,GAAG,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC,EACxD,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EACnC,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,KAC9B,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type AllowedComponentProps, type ComponentCustomProps, type VNode, type VNodeProps } from 'vue';
|
|
2
|
+
import { type ListboxSelectionBehavior } from '../../../../shared/src/primitives/listbox';
|
|
3
|
+
import { type FlattenedItem, type TreeValue } from '../../../../shared/src/primitives/tree';
|
|
4
|
+
import { type PrimitiveProps } from '../primitive';
|
|
5
|
+
import { type Direction } from '../utils/useDirection';
|
|
6
|
+
type TreeModel<U, M extends boolean> = M extends true ? U[] : U;
|
|
7
|
+
export interface TreeRootProps<T = TreeValue, U = TreeValue, M extends boolean = false> {
|
|
8
|
+
modelValue?: TreeModel<U, M>;
|
|
9
|
+
defaultValue?: TreeModel<U, M>;
|
|
10
|
+
items?: T[];
|
|
11
|
+
expanded?: string[];
|
|
12
|
+
defaultExpanded?: string[];
|
|
13
|
+
getKey: (value: T) => string;
|
|
14
|
+
getChildren?: (value: T) => T[] | undefined;
|
|
15
|
+
selectionBehavior?: ListboxSelectionBehavior;
|
|
16
|
+
multiple?: M | boolean;
|
|
17
|
+
dir?: Direction;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
propagateSelect?: boolean;
|
|
20
|
+
bubbleSelect?: boolean;
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
as?: PrimitiveProps['as'];
|
|
23
|
+
}
|
|
24
|
+
export type TreeRootEmits<T = TreeValue, M extends boolean = false> = {
|
|
25
|
+
'update:modelValue': [value: TreeModel<T, M>];
|
|
26
|
+
'update:expanded': [value: string[]];
|
|
27
|
+
};
|
|
28
|
+
export interface TreeRootSlots<T, U, M extends boolean> {
|
|
29
|
+
default?: (props: {
|
|
30
|
+
flattenItems: FlattenedItem<T>[];
|
|
31
|
+
modelValue: TreeModel<U, M>;
|
|
32
|
+
expanded: string[];
|
|
33
|
+
}) => unknown;
|
|
34
|
+
}
|
|
35
|
+
type TreeRootPublicProps<T, U, M extends boolean> = TreeRootProps<T, U, M> & {
|
|
36
|
+
'onUpdate:modelValue'?: (value: TreeModel<U, M>) => void;
|
|
37
|
+
'onUpdate:expanded'?: (value: string[]) => void;
|
|
38
|
+
};
|
|
39
|
+
interface TreeRootSetup<T, U, M extends boolean> {
|
|
40
|
+
props: TreeRootPublicProps<T, U, M>;
|
|
41
|
+
slots: TreeRootSlots<T, U, M>;
|
|
42
|
+
attrs: Record<string, unknown>;
|
|
43
|
+
emit: unknown;
|
|
44
|
+
expose: (exposed: Record<string, never>) => void;
|
|
45
|
+
}
|
|
46
|
+
export declare const TreeRoot: <T extends TreeValue = TreeValue, U extends TreeValue = TreeValue, M extends boolean = false>(props: TreeRootPublicProps<T, U, M> & VNodeProps & AllowedComponentProps & ComponentCustomProps, ctx?: Pick<TreeRootSetup<T, U, M>, "attrs" | "slots" | "emit">, expose?: TreeRootSetup<T, U, M>["expose"], setup?: Promise<TreeRootSetup<T, U, M>>) => VNode & {
|
|
47
|
+
__ctx?: TreeRootSetup<T, U, M>;
|
|
48
|
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AmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IACnC,KAAK,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI,CAAA;CACjD;AAiLD,eAAO,MAAM,QAAQ,EAA8B,CACjD,CAAC,SAAS,SAAS,GAAG,SAAS,EAC/B,CAAC,SAAS,SAAS,GAAG,SAAS,EAC/B,CAAC,SAAS,OAAO,GAAG,KAAK,EAEzB,KAAK,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,UAAU,GAAG,qBAAqB,GAAG,oBAAoB,EAC/F,GAAG,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC,EAC9D,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EACzC,KAAK,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,KACpC,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { EventHook } from '../../../../shared/src/primitives/listbox';
|
|
3
|
+
import type { FocusIntent } from '../../../../shared/src/primitives/roving-focus';
|
|
4
|
+
import type { FlattenedItem } from '../../../../shared/src/primitives/tree';
|
|
5
|
+
import type { Direction } from '../utils/useDirection';
|
|
6
|
+
export interface TreeRootContext<T = Record<string, any>> {
|
|
7
|
+
modelValue: Ref<T | T[]>;
|
|
8
|
+
selectedKeys: Ref<string[]>;
|
|
9
|
+
onSelect: (value: T) => void;
|
|
10
|
+
expanded: Ref<string[]>;
|
|
11
|
+
onToggle: (value: T) => void;
|
|
12
|
+
items: Ref<T[] | undefined>;
|
|
13
|
+
expandedItems: Ref<FlattenedItem<T>[]>;
|
|
14
|
+
getKey: (value: T) => string;
|
|
15
|
+
getChildren: (value: T) => T[] | undefined;
|
|
16
|
+
multiple: Ref<boolean>;
|
|
17
|
+
disabled: Ref<boolean>;
|
|
18
|
+
dir: Ref<Direction>;
|
|
19
|
+
propagateSelect: Ref<boolean>;
|
|
20
|
+
bubbleSelect: Ref<boolean>;
|
|
21
|
+
isVirtual: Ref<boolean>;
|
|
22
|
+
virtualKeydownHook: EventHook<KeyboardEvent>;
|
|
23
|
+
handleMultipleReplace: (intent: FocusIntent | undefined, currentElement: Element | null, getItems: () => {
|
|
24
|
+
ref: HTMLElement;
|
|
25
|
+
value?: unknown;
|
|
26
|
+
}[], options: unknown[]) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const injectTreeRootContext: <T extends TreeRootContext<any> | null | undefined = TreeRootContext<any>>(fallback?: T | undefined) => T extends null ? TreeRootContext<any> | null : TreeRootContext<any>, provideTreeRootContext: (value: TreeRootContext<any>) => TreeRootContext<any>;
|
|
29
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tree/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAA;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAA;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,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,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,EACvD,OAAO,EAAE,OAAO,EAAE,KACf,IAAI,CAAA;CACV;AAED,eAAO,MAAO,qBAAqB,+KAAE,sBAAsB,uDACV,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { flatten, type FlattenedItem } from '../../../../shared/src/primitives/tree';
|
|
2
|
+
export { injectTreeRootContext, type TreeRootContext } from './context';
|
|
3
|
+
export { TreeItem, type TreeItemEmits, type TreeItemProps } from './TreeItem';
|
|
4
|
+
export { TreeRoot, type TreeRootEmits, type TreeRootProps } from './TreeRoot';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/tree/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAA;AACpF,OAAO,EAAE,qBAAqB,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export interface ScrollBodyOption {
|
|
3
|
+
padding?: boolean | number | string;
|
|
4
|
+
margin?: boolean | number | string;
|
|
5
|
+
}
|
|
6
|
+
export interface ConfigProviderContextValue {
|
|
7
|
+
dir?: Ref<'ltr' | 'rtl'>;
|
|
8
|
+
locale?: Ref<string>;
|
|
9
|
+
scrollBody?: Ref<boolean | ScrollBodyOption>;
|
|
10
|
+
nonce?: Ref<string | undefined>;
|
|
11
|
+
teleportTo?: Ref<string | HTMLElement | undefined>;
|
|
12
|
+
useId?: () => string;
|
|
13
|
+
}
|
|
14
|
+
export declare const injectConfigProviderContext: <T extends ConfigProviderContextValue | null | undefined = ConfigProviderContextValue>(fallback?: T | undefined) => T extends null ? ConfigProviderContextValue | null : ConfigProviderContextValue, provideConfigProviderContext: (value: ConfigProviderContextValue) => ConfigProviderContextValue;
|
|
2
15
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CACnC;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,CAAC,EAAE,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC,CAAA;IACxB,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACpB,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,gBAAgB,CAAC,CAAA;IAC5C,KAAK,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC/B,UAAU,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC,CAAA;IAClD,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;CACrB;AAED,eAAO,MAAO,2BAA2B,uMAAE,4BAA4B,mEACV,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defu.d.ts","sourceRoot":"","sources":["../../../../../../src/primitives/utils/defu.ts"],"names":[],"mappings":"AAkBA,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpD,GAAG,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAKrC,CAAC,CACP"}
|