@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,248 @@
|
|
|
1
|
+
import { handleAndDispatchCustomEvent } from '../dismissable-layer'
|
|
2
|
+
import { findValuesBetween, type ListboxSelectionBehavior } from '../listbox'
|
|
3
|
+
import type { FocusIntent } from '../roving-focus'
|
|
4
|
+
|
|
5
|
+
export type TreeValue = Record<string, any>
|
|
6
|
+
|
|
7
|
+
export interface FlattenedItem<T> {
|
|
8
|
+
_id: string
|
|
9
|
+
index: number
|
|
10
|
+
value: T
|
|
11
|
+
level: number
|
|
12
|
+
hasChildren: boolean
|
|
13
|
+
parentItem?: T
|
|
14
|
+
bind: {
|
|
15
|
+
value: T
|
|
16
|
+
level: number
|
|
17
|
+
'aria-setsize': number
|
|
18
|
+
'aria-posinset': number
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface TreeAccessors<T> {
|
|
23
|
+
getKey: (value: T) => string
|
|
24
|
+
getChildren: (value: T) => T[] | undefined
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const TREE_SELECT = 'tree.select'
|
|
28
|
+
export const TREE_TOGGLE = 'tree.toggle'
|
|
29
|
+
|
|
30
|
+
export const TREE_KEY_TO_INTENT: Record<string, FocusIntent> = {
|
|
31
|
+
ArrowLeft: 'prev',
|
|
32
|
+
ArrowUp: 'prev',
|
|
33
|
+
ArrowRight: 'next',
|
|
34
|
+
ArrowDown: 'next',
|
|
35
|
+
PageUp: 'first',
|
|
36
|
+
Home: 'first',
|
|
37
|
+
PageDown: 'last',
|
|
38
|
+
End: 'last',
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function defaultTreeChildren<T extends TreeValue>(value: T) {
|
|
42
|
+
return value.children as T[] | undefined
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function flatten<U, T extends { children?: any[] }>(items: T[]): U[] {
|
|
46
|
+
return items.reduce((acc: any[], item: T) => {
|
|
47
|
+
acc.push(item)
|
|
48
|
+
if (item.children) acc.push(...flatten(item.children))
|
|
49
|
+
return acc
|
|
50
|
+
}, [])
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function flattenTree<T>(
|
|
54
|
+
items: T[],
|
|
55
|
+
accessors: TreeAccessors<T>,
|
|
56
|
+
expanded: string[],
|
|
57
|
+
level = 1,
|
|
58
|
+
parentItem?: T,
|
|
59
|
+
): FlattenedItem<T>[] {
|
|
60
|
+
return items.reduce((acc: FlattenedItem<T>[], item: T, index: number) => {
|
|
61
|
+
const key = accessors.getKey(item)
|
|
62
|
+
const children = accessors.getChildren(item)
|
|
63
|
+
acc.push({
|
|
64
|
+
_id: key,
|
|
65
|
+
value: item,
|
|
66
|
+
index,
|
|
67
|
+
level,
|
|
68
|
+
parentItem,
|
|
69
|
+
hasChildren: !!children,
|
|
70
|
+
bind: {
|
|
71
|
+
value: item,
|
|
72
|
+
level,
|
|
73
|
+
'aria-setsize': items.length,
|
|
74
|
+
'aria-posinset': index + 1,
|
|
75
|
+
},
|
|
76
|
+
})
|
|
77
|
+
if (children && expanded.includes(key))
|
|
78
|
+
acc.push(...flattenTree(children, accessors, expanded, level + 1, item))
|
|
79
|
+
return acc
|
|
80
|
+
}, [])
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function treeSelectedKeys<T>(
|
|
84
|
+
model: unknown,
|
|
85
|
+
multiple: boolean,
|
|
86
|
+
getKey: (value: T) => string,
|
|
87
|
+
) {
|
|
88
|
+
if (multiple && Array.isArray(model)) return model.map(item => getKey(item as T))
|
|
89
|
+
return [getKey((model ?? {}) as T)]
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface TreeSelectionOptions<T> extends TreeAccessors<T> {
|
|
93
|
+
multiple: boolean
|
|
94
|
+
selectionBehavior: ListboxSelectionBehavior
|
|
95
|
+
propagateSelect: boolean
|
|
96
|
+
bubbleSelect: boolean
|
|
97
|
+
flattened: FlattenedItem<T>[]
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function bubbleSelection<T>(
|
|
101
|
+
item: FlattenedItem<T>,
|
|
102
|
+
model: T[],
|
|
103
|
+
options: TreeSelectionOptions<T>,
|
|
104
|
+
): T[] {
|
|
105
|
+
const { getKey, getChildren, flattened } = options
|
|
106
|
+
if (item.parentItem == null || !options.multiple) return model
|
|
107
|
+
const parentItem = flattened.find(
|
|
108
|
+
entry => item.parentItem != null && getKey(entry.value) === getKey(item.parentItem),
|
|
109
|
+
)
|
|
110
|
+
if (parentItem == null) return model
|
|
111
|
+
const all = getChildren(parentItem.value)?.every(child =>
|
|
112
|
+
model.find(value => getKey(value) === getKey(child)),
|
|
113
|
+
)
|
|
114
|
+
const next = all
|
|
115
|
+
? [...model, parentItem.value]
|
|
116
|
+
: model.filter(value => getKey(value) !== getKey(parentItem.value))
|
|
117
|
+
return bubbleSelection(parentItem, next, options)
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function nextTreeSelection<T>(
|
|
121
|
+
model: unknown,
|
|
122
|
+
value: T,
|
|
123
|
+
options: TreeSelectionOptions<T>,
|
|
124
|
+
): { value: unknown; anchor: boolean } {
|
|
125
|
+
const { getKey, getChildren, multiple, selectionBehavior } = options
|
|
126
|
+
const condition = (base: unknown) => getKey((base ?? {}) as T) === getKey(value)
|
|
127
|
+
const exist = multiple && Array.isArray(model) ? model.findIndex(condition) !== -1 : undefined
|
|
128
|
+
let next: unknown
|
|
129
|
+
let anchor = false
|
|
130
|
+
if (multiple && Array.isArray(model)) {
|
|
131
|
+
if (selectionBehavior === 'replace') {
|
|
132
|
+
next = [value]
|
|
133
|
+
anchor = true
|
|
134
|
+
} else {
|
|
135
|
+
const index = model.findIndex(item => condition(item))
|
|
136
|
+
next = index !== -1 ? model.filter((_, i) => i !== index) : [...model, value]
|
|
137
|
+
}
|
|
138
|
+
} else if (selectionBehavior === 'replace') next = { ...value }
|
|
139
|
+
else if (!Array.isArray(model) && condition(model)) next = undefined
|
|
140
|
+
else next = { ...value }
|
|
141
|
+
|
|
142
|
+
if (options.bubbleSelect && multiple && Array.isArray(next)) {
|
|
143
|
+
const item = options.flattened.find(entry => getKey(entry.value) === getKey(value))
|
|
144
|
+
if (item != null) next = bubbleSelection(item, next as T[], options)
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (options.propagateSelect && multiple && Array.isArray(next)) {
|
|
148
|
+
const children = flatten<T, any>((getChildren(value) ?? []) as any[])
|
|
149
|
+
next = exist
|
|
150
|
+
? (next as T[]).filter(
|
|
151
|
+
item => !children.some(child => getKey((item ?? {}) as T) === getKey(child)),
|
|
152
|
+
)
|
|
153
|
+
: [...(next as T[]), ...children]
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return { value: next, anchor }
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function treeRangeValues(
|
|
160
|
+
intent: FocusIntent | undefined,
|
|
161
|
+
current: Element | null,
|
|
162
|
+
entries: { ref: HTMLElement; value?: unknown }[],
|
|
163
|
+
options: unknown[],
|
|
164
|
+
state: { firstValue: unknown; multiple: boolean; model: unknown },
|
|
165
|
+
): unknown[] | null | undefined {
|
|
166
|
+
if (!state.firstValue || !state.multiple || !Array.isArray(state.model)) return
|
|
167
|
+
const lastValue = entries
|
|
168
|
+
.filter(item => item.ref.dataset.disabled !== '')
|
|
169
|
+
.find(item => item.ref === current)?.value
|
|
170
|
+
if (!lastValue) return
|
|
171
|
+
switch (intent) {
|
|
172
|
+
case 'prev':
|
|
173
|
+
case 'next':
|
|
174
|
+
return findValuesBetween(options, state.firstValue, lastValue)
|
|
175
|
+
case 'first':
|
|
176
|
+
return findValuesBetween(options, state.firstValue, options[0])
|
|
177
|
+
case 'last':
|
|
178
|
+
return findValuesBetween(options, state.firstValue, options.at(-1))
|
|
179
|
+
}
|
|
180
|
+
return null
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export function toggleTreeExpanded(expanded: string[], key: string) {
|
|
184
|
+
return expanded.includes(key) ? expanded.filter(item => item !== key) : [...expanded, key]
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function treeIndeterminate<T>(input: {
|
|
188
|
+
value: T
|
|
189
|
+
model: unknown
|
|
190
|
+
isSelected: boolean
|
|
191
|
+
hasChildren: boolean
|
|
192
|
+
bubbleSelect: boolean
|
|
193
|
+
propagateSelect: boolean
|
|
194
|
+
getKey: (value: T) => string
|
|
195
|
+
getChildren: (value: T) => T[] | undefined
|
|
196
|
+
}) {
|
|
197
|
+
const { model, getKey } = input
|
|
198
|
+
if (!input.hasChildren || !Array.isArray(model)) return undefined
|
|
199
|
+
const found = (child: T) => model.find(item => getKey(item as T) === getKey(child))
|
|
200
|
+
if (input.bubbleSelect) {
|
|
201
|
+
const children = flatten<T, any>((input.getChildren(input.value) || []) as any[])
|
|
202
|
+
return children.some(found) && !children.every(found)
|
|
203
|
+
}
|
|
204
|
+
if (input.propagateSelect && input.isSelected) {
|
|
205
|
+
const children = flatten<T, any>((input.getChildren(input.value) || []) as any[])
|
|
206
|
+
return !children.every(found)
|
|
207
|
+
}
|
|
208
|
+
return undefined
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function indent(element: HTMLElement) {
|
|
212
|
+
return Number(element.getAttribute('data-indent'))
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export function treeChildTarget(collection: HTMLElement[], current: Element | null, level: number) {
|
|
216
|
+
const index = collection.indexOf(current as HTMLElement)
|
|
217
|
+
return collection.slice(index).find(element => indent(element) === level + 1)
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export function treeParentTarget(
|
|
221
|
+
collection: HTMLElement[],
|
|
222
|
+
current: Element | null,
|
|
223
|
+
level: number,
|
|
224
|
+
) {
|
|
225
|
+
const index = collection.indexOf(current as HTMLElement)
|
|
226
|
+
return collection
|
|
227
|
+
.slice(0, index)
|
|
228
|
+
.reverse()
|
|
229
|
+
.find(element => indent(element) === level - 1)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface TreeItemEventDetail<T> {
|
|
233
|
+
originalEvent: Event
|
|
234
|
+
value?: T
|
|
235
|
+
isExpanded: boolean
|
|
236
|
+
isSelected: boolean
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export type TreeItemSelectEvent<T> = CustomEvent<TreeItemEventDetail<T>>
|
|
240
|
+
export type TreeItemToggleEvent<T> = CustomEvent<TreeItemEventDetail<T>>
|
|
241
|
+
|
|
242
|
+
export function dispatchTreeItemEvent<T>(
|
|
243
|
+
name: typeof TREE_SELECT | typeof TREE_TOGGLE,
|
|
244
|
+
handler: (event: CustomEvent<TreeItemEventDetail<T>>) => void,
|
|
245
|
+
detail: TreeItemEventDetail<T>,
|
|
246
|
+
) {
|
|
247
|
+
handleAndDispatchCustomEvent<CustomEvent<TreeItemEventDetail<T>>>(name, handler, detail)
|
|
248
|
+
}
|
|
@@ -132,7 +132,9 @@
|
|
|
132
132
|
@media (hover: hover) {
|
|
133
133
|
&:hover:not(:disabled):not([data-disabled]):not(
|
|
134
134
|
:has(:is(input, textarea, [data-hn-segment]):focus-visible)
|
|
135
|
-
):not([data-invalid])
|
|
135
|
+
):not([data-invalid]),
|
|
136
|
+
:where([data-hn-field-group]:hover:not(:has(input:focus-visible)))
|
|
137
|
+
&:not([data-disabled]):not([data-invalid]) {
|
|
136
138
|
background-color: color-mix(
|
|
137
139
|
in oklab,
|
|
138
140
|
var(--hn-field-bg, var(--hn-surface)) calc(100% - var(--hn-state-hover-opacity) * 100%),
|
|
@@ -142,7 +144,9 @@
|
|
|
142
144
|
|
|
143
145
|
&[data-invalid]:hover:not(:disabled):not([data-disabled]):not(
|
|
144
146
|
:has(:is(input, textarea, [data-hn-segment]):focus-visible)
|
|
145
|
-
)
|
|
147
|
+
),
|
|
148
|
+
:where([data-hn-field-group]:hover:not(:has(input:focus-visible)))
|
|
149
|
+
&[data-invalid]:not([data-disabled]) {
|
|
146
150
|
background-color: color-mix(
|
|
147
151
|
in oklab,
|
|
148
152
|
color-mix(
|
|
@@ -9,14 +9,18 @@
|
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.hn-line-clamp {
|
|
13
|
+
display: flow-root;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
.hn-line-clamp:not([data-expanded]),
|
|
13
17
|
.hn-line-clamp[data-animating],
|
|
14
18
|
.hn-line-clamp[data-measuring] {
|
|
15
19
|
overflow: hidden;
|
|
16
20
|
}
|
|
17
21
|
|
|
18
|
-
.hn-line-clamp:not([data-expanded]):not([data-animating]),
|
|
19
|
-
.hn-line-clamp[data-measuring] {
|
|
22
|
+
.hn-line-clamp:not([data-expanded]):not([data-animating]):not([data-measuring='full']),
|
|
23
|
+
.hn-line-clamp[data-measuring='clamped'] {
|
|
20
24
|
display: -webkit-box;
|
|
21
25
|
-webkit-box-orient: vertical;
|
|
22
26
|
-webkit-line-clamp: var(--hn-line-clamp, 3);
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.hn-pin-native {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
border: 0;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
outline: 0;
|
|
11
|
+
background: transparent;
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
color: transparent;
|
|
14
|
+
caret-color: transparent;
|
|
15
|
+
cursor: text;
|
|
16
|
+
font-family: ui-monospace, monospace;
|
|
17
|
+
font-size: var(--hn-pin-size, 2.5rem);
|
|
18
|
+
line-height: 1;
|
|
19
|
+
letter-spacing: -0.5em;
|
|
20
|
+
appearance: none;
|
|
21
|
+
forced-color-adjust: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@supports (-webkit-touch-callout: none) {
|
|
25
|
+
.hn-pin-native {
|
|
26
|
+
left: -1px;
|
|
27
|
+
right: 1px;
|
|
28
|
+
font-weight: 100;
|
|
29
|
+
font-stretch: ultra-condensed;
|
|
30
|
+
font-optical-sizing: none;
|
|
31
|
+
letter-spacing: -0.6em;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.hn-pin-native:disabled {
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hn-pin-native::selection {
|
|
40
|
+
background: transparent;
|
|
41
|
+
color: transparent;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hn-pin-native::-ms-reveal {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.hn-pin-native::-ms-clear {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.hn-pin-native::-webkit-credentials-auto-fill-button,
|
|
53
|
+
.hn-pin-native::-webkit-contacts-auto-fill-button,
|
|
54
|
+
.hn-pin-native::-webkit-strong-password-auto-fill-button,
|
|
55
|
+
.hn-pin-native::-webkit-caps-lock-indicator {
|
|
56
|
+
display: none !important;
|
|
57
|
+
visibility: hidden;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hn-pin-native:-webkit-autofill {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.hn-pin-native:autofill {
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-hn-pin-cell]::before {
|
|
70
|
+
content: '\200b';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.hn-pin-caret {
|
|
74
|
+
width: 1px;
|
|
75
|
+
height: 1.25em;
|
|
76
|
+
background-color: var(--hn-fg-default);
|
|
77
|
+
animation: hn-pin-caret 1.2s step-end infinite;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes hn-pin-caret {
|
|
81
|
+
50% {
|
|
82
|
+
opacity: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
@import './data-table.css';
|
|
12
12
|
@import './timeline.css';
|
|
13
13
|
@import './stepper.css';
|
|
14
|
+
@import './tour.css';
|
|
14
15
|
@import './float-button.css';
|
|
15
16
|
@import './line-clamp.css';
|
|
17
|
+
@import './pin-input.css';
|
|
16
18
|
@import './masonry.css';
|
|
17
19
|
@import './carousel.css';
|
|
18
20
|
@import './base.css';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@keyframes hn-tour-hole-in {
|
|
2
|
+
from {
|
|
3
|
+
clip-path: var(--hn-tour-hole-origin);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@keyframes hn-tour-hole-out {
|
|
8
|
+
from {
|
|
9
|
+
clip-path: var(--hn-tour-hole);
|
|
10
|
+
}
|
|
11
|
+
to {
|
|
12
|
+
clip-path: var(--hn-tour-hole-origin);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@utility hn-tour-mask {
|
|
17
|
+
transition: clip-path var(--hn-duration-base) var(--hn-ease-move);
|
|
18
|
+
|
|
19
|
+
&[data-state='open'][data-hn-tour-hole='shown'] {
|
|
20
|
+
animation:
|
|
21
|
+
hn-fade-in var(--hn-duration-base) var(--hn-ease-enter),
|
|
22
|
+
hn-tour-hole-in var(--hn-duration-base) var(--hn-ease-enter);
|
|
23
|
+
}
|
|
24
|
+
&[data-state='open'][data-hn-tour-hole='hidden'] {
|
|
25
|
+
animation:
|
|
26
|
+
hn-fade-in var(--hn-duration-base) var(--hn-ease-enter),
|
|
27
|
+
hn-tour-hole-out var(--hn-duration-exit) var(--hn-ease-exit);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -2,7 +2,7 @@ import { tv, type VariantProps } from '../lib/tv'
|
|
|
2
2
|
|
|
3
3
|
export const navLink = tv({
|
|
4
4
|
base: [
|
|
5
|
-
'hn-interactive hn-state-layer hn-press-none relative isolate flex cursor-pointer items-center',
|
|
5
|
+
'hn-interactive hn-state-layer hn-press-none relative isolate flex min-w-0 cursor-pointer items-center',
|
|
6
6
|
'data-disabled:pointer-events-none data-disabled:opacity-50',
|
|
7
7
|
'h-9 gap-[var(--hn-control-gap)] rounded-md ps-2.5 pe-2 text-sm select-none',
|
|
8
8
|
'[&_svg]:size-4 [&_svg]:shrink-0',
|
|
@@ -17,5 +17,9 @@ export const navLink = tv({
|
|
|
17
17
|
})
|
|
18
18
|
|
|
19
19
|
export const navLinkLabel = tv({
|
|
20
|
-
base: 'hn-sidebar-label
|
|
20
|
+
base: 'hn-sidebar-label min-w-0 truncate',
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
export const navLinkTrailing = tv({
|
|
24
|
+
base: 'hn-sidebar-label ms-auto flex shrink-0 items-center',
|
|
21
25
|
})
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { tv, type VariantProps } from '../lib/tv'
|
|
2
2
|
|
|
3
3
|
export const pinInput = tv({
|
|
4
|
-
base: 'inline-flex max-w-full gap-2',
|
|
4
|
+
base: 'relative inline-flex max-w-full gap-2',
|
|
5
|
+
variants: {
|
|
6
|
+
size: {
|
|
7
|
+
sm: '[--hn-pin-size:var(--hn-control-h-sm)]',
|
|
8
|
+
md: '[--hn-pin-size:var(--hn-control-h-md)]',
|
|
9
|
+
lg: '[--hn-pin-size:var(--hn-control-h-lg)]',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
size: 'md',
|
|
14
|
+
},
|
|
5
15
|
})
|
|
6
16
|
|
|
7
17
|
export const pinInputCell = tv({
|
|
8
18
|
base: [
|
|
9
|
-
'hn-field text-fg shrink-0 rounded-md border
|
|
10
|
-
'
|
|
11
|
-
'
|
|
19
|
+
'hn-field text-fg inline-flex size-[var(--hn-pin-size)] shrink-0 items-center justify-center rounded-md border font-medium tabular-nums select-none',
|
|
20
|
+
'not-data-filled:text-faint not-data-filled:font-normal',
|
|
21
|
+
'data-active:[--hn-field-ring-w:2px] data-invalid:data-active:[--hn-field-ring-w:1px]',
|
|
22
|
+
'data-disabled:opacity-50',
|
|
12
23
|
],
|
|
13
24
|
variants: {
|
|
14
25
|
variant: {
|
|
@@ -17,9 +28,9 @@ export const pinInputCell = tv({
|
|
|
17
28
|
secondary: 'border-transparent [--hn-field-bg:var(--hn-bg-inset)]',
|
|
18
29
|
},
|
|
19
30
|
size: {
|
|
20
|
-
sm: '
|
|
21
|
-
md: '
|
|
22
|
-
lg: '
|
|
31
|
+
sm: 'text-sm',
|
|
32
|
+
md: 'text-base',
|
|
33
|
+
lg: 'text-md',
|
|
23
34
|
},
|
|
24
35
|
},
|
|
25
36
|
defaultVariants: {
|
|
@@ -28,4 +39,12 @@ export const pinInputCell = tv({
|
|
|
28
39
|
},
|
|
29
40
|
})
|
|
30
41
|
|
|
42
|
+
export const pinInputNative = tv({
|
|
43
|
+
base: 'hn-pin-native',
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
export const pinInputCaret = tv({
|
|
47
|
+
base: 'hn-pin-caret',
|
|
48
|
+
})
|
|
49
|
+
|
|
31
50
|
export type PinInputVariants = VariantProps<typeof pinInputCell>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { tv } from '../lib/tv'
|
|
2
|
+
|
|
3
|
+
export const tourMask = tv({ base: 'hn-scrim hn-tour-mask' })
|
|
4
|
+
|
|
5
|
+
export const tourBlocker = tv({ base: 'fixed z-(--hn-z-overlay)' })
|
|
6
|
+
|
|
7
|
+
export const tourCard = tv({
|
|
8
|
+
base: 'relative z-(--hn-z-overlay) flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-3 overflow-visible p-4 shadow-lg outline-none',
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
export const tourCentered = tv({
|
|
12
|
+
base: 'pointer-events-none fixed inset-0 z-(--hn-z-overlay) grid place-items-center p-4 [&>*]:pointer-events-auto',
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
export const tourBeacon = tv({
|
|
16
|
+
base: 'hn-focus-ring fixed z-(--hn-z-overlay) size-4 -translate-x-1/2 -translate-y-1/2 cursor-pointer rounded-full',
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
export const tourBeaconPulse = tv({
|
|
20
|
+
base: 'hn-ping bg-accent pointer-events-none absolute inset-0 rounded-full',
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
export const tourBeaconDot = tv({
|
|
24
|
+
base: 'bg-accent ring-surface pointer-events-none relative block size-full rounded-full ring-2',
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
export const tourHeader = tv({ base: 'flex items-start gap-2' })
|
|
28
|
+
|
|
29
|
+
export const tourFooter = tv({ base: 'flex items-center gap-2' })
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-time.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/lib/css-time.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,UAKxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-clamp.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/lib/line-clamp.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,IAAI,CAAA;AAEnC,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAGvD;
|
|
1
|
+
{"version":3,"file":"line-clamp.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/lib/line-clamp.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,IAAI,CAAA;AAEnC,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAGvD;AASD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,kBAIpD;AAUD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,cA2CzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,QAEvD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export type TourSide = 'top' | 'right' | 'bottom' | 'left';
|
|
2
|
+
export type TourAlign = 'start' | 'center' | 'end';
|
|
3
|
+
export type TourTarget = string | HTMLElement | (() => HTMLElement | null | undefined) | null;
|
|
4
|
+
export interface TourStepBase {
|
|
5
|
+
target?: TourTarget;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
side?: TourSide;
|
|
9
|
+
align?: TourAlign;
|
|
10
|
+
padding?: number;
|
|
11
|
+
radius?: number;
|
|
12
|
+
blockTarget?: boolean;
|
|
13
|
+
scroll?: boolean;
|
|
14
|
+
beacon?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type TourBeforeChange = (step: number, previousStep: number) => boolean | void | Promise<boolean | void>;
|
|
17
|
+
export interface TourRect {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const TOUR_PADDING = 8;
|
|
24
|
+
export declare const TOUR_RADIUS = 8;
|
|
25
|
+
export declare const TOUR_SIDE_OFFSET = 12;
|
|
26
|
+
export declare const TOUR_ARROW_WIDTH = 16;
|
|
27
|
+
export declare const TOUR_ARROW_HEIGHT = 8;
|
|
28
|
+
export declare const TOUR_ARROW_PADDING = 12;
|
|
29
|
+
export declare const TOUR_ARROW_PATH = "M0 0L6 6L12 0";
|
|
30
|
+
export declare function tourBeaconOnArrival(step: TourStepBase, beacon: boolean, navigated: boolean): boolean;
|
|
31
|
+
export declare function tourTargetBlocked(step: TourStepBase, blockTarget: boolean): boolean;
|
|
32
|
+
export declare function resolveTourTarget(target: TourTarget | undefined): HTMLElement | null;
|
|
33
|
+
export declare function clampTourStep(step: number | undefined, count: number): number;
|
|
34
|
+
export declare function spotlightRect(rect: {
|
|
35
|
+
left: number;
|
|
36
|
+
top: number;
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
}, padding?: number): TourRect;
|
|
40
|
+
export declare function spotlightPath(viewport: {
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
}, hole: TourRect, radius?: number): string;
|
|
44
|
+
export interface TourSpotlight {
|
|
45
|
+
shape: string;
|
|
46
|
+
origin: string;
|
|
47
|
+
}
|
|
48
|
+
export type TourHoleState = 'shown' | 'hidden';
|
|
49
|
+
export declare function spotlightShape(viewport: {
|
|
50
|
+
width: number;
|
|
51
|
+
height: number;
|
|
52
|
+
}, hole: TourRect, radius?: number): TourSpotlight;
|
|
53
|
+
export declare function spotlightMask(spotlight: TourSpotlight | null, last: TourSpotlight | null): {
|
|
54
|
+
hole?: TourHoleState;
|
|
55
|
+
style?: Record<string, string>;
|
|
56
|
+
};
|
|
57
|
+
export declare function beaconPoint(rect: TourRect, dir: 'ltr' | 'rtl'): {
|
|
58
|
+
x: number;
|
|
59
|
+
y: number;
|
|
60
|
+
};
|
|
61
|
+
export declare function tourKeyAction(event: KeyboardEvent, dir: 'ltr' | 'rtl'): "prev" | "next" | null;
|
|
62
|
+
export declare function runTourChange(beforeChange: TourBeforeChange | undefined, step: number, previousStep: number, setBusy: (busy: boolean) => void): Promise<boolean>;
|
|
63
|
+
export declare function tourReference(element: HTMLElement, padding?: number): {
|
|
64
|
+
contextElement: HTMLElement;
|
|
65
|
+
getBoundingClientRect(): {
|
|
66
|
+
left: number;
|
|
67
|
+
top: number;
|
|
68
|
+
right: number;
|
|
69
|
+
bottom: number;
|
|
70
|
+
x: number;
|
|
71
|
+
y: number;
|
|
72
|
+
width: number;
|
|
73
|
+
height: number;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export declare function watchTourTarget(element: HTMLElement, onChange: () => void): () => void;
|
|
77
|
+
export declare function isFullyVisible(element: HTMLElement): boolean;
|
|
78
|
+
export declare function revealTourTarget(element: HTMLElement): void;
|
|
79
|
+
export declare function hideOutsideTour(elements: (HTMLElement | null | undefined)[]): import("aria-hidden").Undo;
|
|
80
|
+
export declare function trapTourFocus(getContainers: () => (HTMLElement | null | undefined)[], getLayer: () => HTMLElement | null | undefined): () => void;
|
|
81
|
+
//# sourceMappingURL=tour.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tour.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/lib/tour.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AAC1D,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAClD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,CAAA;AAE7F,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAC7B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,KACjB,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;AAE7C,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,YAAY,IAAI,CAAA;AAC7B,eAAO,MAAM,WAAW,IAAI,CAAA;AAC5B,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAClC,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAClC,eAAO,MAAM,iBAAiB,IAAI,CAAA;AAClC,eAAO,MAAM,kBAAkB,KAAK,CAAA;AACpC,eAAO,MAAM,eAAe,kBAAkB,CAAA;AAE9C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,WAE1F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,WAEzE;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,IAAI,CAMpF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,UAIpE;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAClE,OAAO,SAAe,GACrB,QAAQ,CAOV;AAMD,wBAAgB,aAAa,CAC3B,QAAQ,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC3C,IAAI,EAAE,QAAQ,EACd,MAAM,SAAc,UAerB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE9C,wBAAgB,cAAc,CAC5B,QAAQ,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC3C,IAAI,EAAE,QAAQ,EACd,MAAM,SAAc,GACnB,aAAa,CAMf;AAED,wBAAgB,aAAa,CAC3B,SAAS,EAAE,aAAa,GAAG,IAAI,EAC/B,IAAI,EAAE,aAAa,GAAG,IAAI,GACzB;IAAE,IAAI,CAAC,EAAE,aAAa,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAY1D;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,GAAG,KAAK;;;EAE7D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,GAAG,KAAK,0BAUrE;AAED,wBAAsB,aAAa,CACjC,YAAY,EAAE,gBAAgB,GAAG,SAAS,EAC1C,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,oBAWjC;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,SAAe;;;;;;;WA7IrE,MAAM;WACN,MAAM;eACF,MAAM;gBACL,MAAM;;EAwJf;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,cAGzE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,WAQlD;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,QAQpD;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,8BAG3E;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,EACvD,QAAQ,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,cA2C/C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function createCollatorFilter(options?: Intl.CollatorOptions): {
|
|
2
|
+
startsWith(string: string, substring: string): boolean;
|
|
3
|
+
endsWith(string: string, substring: string): boolean;
|
|
4
|
+
contains(string: string, substring: string): boolean;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../../../../../shared/src/lib/virtual/filter.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,eAAe;uBAG5C,MAAM,aAAa,MAAM;qBAM3B,MAAM,aAAa,MAAM;qBAMzB,MAAM,aAAa,MAAM;EAU7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/en-US.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/en-US.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,eAAO,MAAM,IAAI,EAAE,UAqOlB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE5D,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE5D,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,GAAG,UAAU,CA+CtF;AAED,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-JP.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/ja-JP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ja-JP.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/locale/ja-JP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,eAAO,MAAM,IAAI,EAAE,UA2OlB,CAAA"}
|
|
@@ -42,6 +42,14 @@ export interface UiMessages {
|
|
|
42
42
|
completed: string;
|
|
43
43
|
error: string;
|
|
44
44
|
};
|
|
45
|
+
tour: {
|
|
46
|
+
prev: string;
|
|
47
|
+
next: string;
|
|
48
|
+
finish: string;
|
|
49
|
+
skip: string;
|
|
50
|
+
progress: (step: number, total: number) => string;
|
|
51
|
+
beacon: (step: number, title: string) => string;
|
|
52
|
+
};
|
|
45
53
|
common: {
|
|
46
54
|
close: string;
|
|
47
55
|
copy: string;
|