@mantine-vue/core 3.5.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +5174 -2272
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +5154 -2273
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +3 -3
- package/lib/components/Accordion/Accordion.vue.d.ts +1 -4
- package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +1 -1
- package/lib/components/Accordion/AccordionControl/AccordionControl.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionControl/AccordionControl.vue.d.ts +3 -2
- package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem/AccordionItem.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionItem/AccordionItem.vue.d.ts +4 -2
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +1 -1
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.vue.d.ts +4 -2
- package/lib/components/ActionBar/ActionBar.d.ts +1 -1
- package/lib/components/ActionBar/ActionBar.types.d.ts +3 -5
- package/lib/components/ActionBar/ActionBar.vue.d.ts +3 -4
- package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIcon.types.d.ts +3 -5
- package/lib/components/ActionIcon/ActionIcon.vue.d.ts +3 -2
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.types.d.ts +1 -4
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue.d.ts +3 -2
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.types.d.ts +1 -4
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.vue.d.ts +3 -2
- package/lib/components/Affix/Affix.d.ts +1 -1
- package/lib/components/Affix/Affix.types.d.ts +3 -5
- package/lib/components/Affix/Affix.vue.d.ts +3 -2
- package/lib/components/Alert/Alert.d.ts +1 -1
- package/lib/components/Alert/Alert.types.d.ts +1 -4
- package/lib/components/Alert/Alert.vue.d.ts +3 -2
- package/lib/components/Anchor/Anchor.d.ts +1 -1
- package/lib/components/Anchor/Anchor.types.d.ts +1 -4
- package/lib/components/Anchor/Anchor.vue.d.ts +3 -2
- package/lib/components/AngleSlider/AngleSlider.types.d.ts +2 -2
- package/lib/components/AppShell/AppShell.context.d.ts +5 -0
- package/lib/components/AppShell/AppShell.d.ts +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts +45 -6
- package/lib/components/AppShell/AppShell.vue.d.ts +3 -2
- package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +3 -3
- package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +3 -3
- package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +3 -3
- package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +1 -1
- package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +1 -4
- package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +4 -2
- package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +9 -1
- package/lib/components/AppShell/AppShellMediaStyles/get-variables.d.ts +6 -2
- package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +3 -3
- package/lib/components/AppShell/AppShellResizeHandle/AppShellResizeHandle.d.ts +23 -0
- package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +1 -1
- package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +1 -1
- package/lib/components/AppShell/create-app-shell-component.d.ts +3 -3
- package/lib/components/AppShell/index.d.ts +2 -0
- package/lib/components/AppShell/use-app-shell-resize/clamp-resize-size.d.ts +7 -0
- package/lib/components/AppShell/use-app-shell-resize/resize-section-config.d.ts +18 -0
- package/lib/components/AppShell/use-app-shell-resize/use-app-shell-resize.d.ts +6 -0
- package/lib/components/AppShell/use-resizing/use-resizing.d.ts +1 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/lib/components/AspectRatio/AspectRatio.types.d.ts +1 -4
- package/lib/components/AspectRatio/AspectRatio.vue.d.ts +3 -2
- package/lib/components/Autocomplete/Autocomplete.d.ts +5 -5
- package/lib/components/Autocomplete/Autocomplete.types.d.ts +4 -3
- package/lib/components/Autocomplete/Autocomplete.vue.d.ts +2 -2
- package/lib/components/Avatar/Avatar.d.ts +1 -1
- package/lib/components/Avatar/Avatar.types.d.ts +3 -6
- package/lib/components/Avatar/Avatar.vue.d.ts +3 -2
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +1 -4
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +3 -2
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +1 -1
- package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +1 -4
- package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +3 -2
- package/lib/components/Badge/Badge.d.ts +1 -1
- package/lib/components/Badge/Badge.types.d.ts +1 -4
- package/lib/components/Badge/Badge.vue.d.ts +3 -2
- package/lib/components/Blockquote/Blockquote.d.ts +1 -1
- package/lib/components/Blockquote/Blockquote.types.d.ts +1 -4
- package/lib/components/Blockquote/Blockquote.vue.d.ts +3 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -4
- package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
- package/lib/components/Burger/Burger.d.ts +1 -1
- package/lib/components/Burger/Burger.types.d.ts +1 -4
- package/lib/components/Burger/Burger.vue.d.ts +3 -2
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Button/Button.types.d.ts +3 -5
- package/lib/components/Button/Button.vue.d.ts +3 -2
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +1 -4
- package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +3 -2
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +1 -1
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +1 -4
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +3 -2
- package/lib/components/Card/Card.d.ts +1 -1
- package/lib/components/Card/Card.types.d.ts +1 -4
- package/lib/components/Card/Card.vue.d.ts +3 -2
- package/lib/components/Card/CardSection/CardSection.d.ts +1 -1
- package/lib/components/Card/CardSection/CardSection.types.d.ts +1 -1
- package/lib/components/Cascader/Cascader.d.ts +5 -5
- package/lib/components/Cascader/Cascader.types.d.ts +6 -4
- package/lib/components/Cascader/Cascader.vue.d.ts +2 -2
- package/lib/components/Center/Center.d.ts +1 -1
- package/lib/components/Center/Center.types.d.ts +1 -4
- package/lib/components/Center/Center.vue.d.ts +4 -2
- package/lib/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/components/Checkbox/Checkbox.types.d.ts +7 -9
- package/lib/components/Checkbox/Checkbox.vue.d.ts +4 -2
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +1 -4
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +3 -2
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +4 -4
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +3 -6
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +3 -2
- package/lib/components/Chip/Chip.d.ts +1 -1
- package/lib/components/Chip/Chip.types.d.ts +4 -7
- package/lib/components/Chip/Chip.vue.d.ts +3 -2
- package/lib/components/CloseButton/CloseButton.d.ts +1 -1
- package/lib/components/CloseButton/CloseButton.types.d.ts +1 -1
- package/lib/components/Code/Code.d.ts +1 -1
- package/lib/components/Code/Code.types.d.ts +1 -4
- package/lib/components/Code/Code.vue.d.ts +3 -2
- package/lib/components/Collapse/Collapse.d.ts +1 -1
- package/lib/components/Collapse/Collapse.types.d.ts +1 -4
- package/lib/components/Collapse/Collapse.vue.d.ts +3 -2
- package/lib/components/ColorInput/ColorInput.types.d.ts +2 -1
- package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +3 -2
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +2 -1
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +1 -1
- package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +1 -4
- package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +3 -2
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +2 -1
- package/lib/components/Combobox/get-combobox-label-id.d.ts +9 -0
- package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +4 -3
- package/lib/components/Container/Container.d.ts +1 -1
- package/lib/components/Container/Container.types.d.ts +1 -4
- package/lib/components/Container/Container.vue.d.ts +3 -2
- package/lib/components/DataList/DataList.d.ts +1 -1
- package/lib/components/DataList/DataList.types.d.ts +1 -4
- package/lib/components/DataList/DataList.vue.d.ts +3 -2
- package/lib/components/DataList/DataListItem/DataListItem.d.ts +1 -1
- package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +1 -4
- package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +4 -2
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +1 -1
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +1 -4
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +4 -2
- package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +1 -1
- package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +1 -4
- package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +4 -2
- package/lib/components/Dialog/Dialog.types.d.ts +4 -7
- package/lib/components/Divider/Divider.d.ts +1 -1
- package/lib/components/Divider/Divider.types.d.ts +1 -4
- package/lib/components/Divider/Divider.vue.d.ts +3 -2
- package/lib/components/Drawer/Drawer.types.d.ts +6 -3
- package/lib/components/Drawer/DrawerRoot.vue.d.ts +3 -2
- package/lib/components/EmptyState/EmptyState.d.ts +1 -1
- package/lib/components/EmptyState/EmptyState.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyState.vue.d.ts +3 -2
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +4 -2
- package/lib/components/Fieldset/Fieldset.d.ts +1 -1
- package/lib/components/Fieldset/Fieldset.types.d.ts +1 -4
- package/lib/components/Fieldset/Fieldset.vue.d.ts +3 -2
- package/lib/components/FileButton/FileButton.types.d.ts +2 -2
- package/lib/components/FileInput/FileInput.types.d.ts +7 -5
- package/lib/components/Flex/Flex.d.ts +1 -1
- package/lib/components/Flex/Flex.types.d.ts +1 -4
- package/lib/components/Flex/Flex.vue.d.ts +4 -2
- package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +1 -1
- package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +1 -4
- package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +3 -2
- package/lib/components/FloatingWindow/FloatingWindow.d.ts +1 -1
- package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +2 -1
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +1 -1
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +1 -4
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +3 -2
- package/lib/components/Grid/Grid.d.ts +1 -1
- package/lib/components/Grid/Grid.types.d.ts +1 -4
- package/lib/components/Grid/Grid.vue.d.ts +3 -2
- package/lib/components/Grid/GridCol/GridCol.d.ts +1 -1
- package/lib/components/Grid/GridCol/GridCol.types.d.ts +1 -4
- package/lib/components/Grid/GridCol/GridCol.vue.d.ts +3 -2
- package/lib/components/Group/Group.d.ts +1 -1
- package/lib/components/Group/Group.types.d.ts +1 -4
- package/lib/components/Group/Group.vue.d.ts +3 -2
- package/lib/components/Highlight/Highlight.d.ts +1 -1
- package/lib/components/Highlight/Highlight.types.d.ts +1 -4
- package/lib/components/Highlight/Highlight.vue.d.ts +3 -2
- package/lib/components/HoverCard/HoverCard.context.d.ts +12 -0
- package/lib/components/HoverCard/HoverCard.d.ts +1 -1
- package/lib/components/HoverCard/HoverCard.types.d.ts +14 -0
- package/lib/components/HoverCard/index.d.ts +1 -1
- package/lib/components/HoverCard/use-hover-card.d.ts +3 -0
- package/lib/components/Image/Image.d.ts +1 -1
- package/lib/components/Image/Image.types.d.ts +1 -4
- package/lib/components/Image/Image.vue.d.ts +3 -2
- package/lib/components/Indicator/Indicator.d.ts +1 -1
- package/lib/components/Indicator/Indicator.types.d.ts +1 -4
- package/lib/components/Indicator/Indicator.vue.d.ts +3 -2
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/Input.types.d.ts +7 -12
- package/lib/components/Input/Input.vue.d.ts +3 -2
- package/lib/components/Input/InputClearButton/InputClearButton.d.ts +1 -1
- package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +1 -4
- package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +4 -2
- package/lib/components/Input/InputDescription/InputDescription.d.ts +1 -1
- package/lib/components/Input/InputDescription/InputDescription.types.d.ts +4 -7
- package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +3 -2
- package/lib/components/Input/InputError/InputError.d.ts +1 -1
- package/lib/components/Input/InputError/InputError.types.d.ts +4 -7
- package/lib/components/Input/InputError/InputError.vue.d.ts +3 -2
- package/lib/components/Input/InputLabel/InputLabel.d.ts +1 -1
- package/lib/components/Input/InputLabel/InputLabel.types.d.ts +4 -7
- package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +3 -2
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +1 -1
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +1 -4
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +4 -2
- package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +7 -4
- package/lib/components/InputBase/InputBase.d.ts +1 -1
- package/lib/components/InputBase/InputBase.types.d.ts +11 -16
- package/lib/components/InputBase/InputBase.vue.d.ts +3 -2
- package/lib/components/Kbd/Kbd.d.ts +1 -1
- package/lib/components/Kbd/Kbd.types.d.ts +1 -4
- package/lib/components/Kbd/Kbd.vue.d.ts +3 -2
- package/lib/components/List/List.d.ts +1 -1
- package/lib/components/List/List.types.d.ts +1 -4
- package/lib/components/List/List.vue.d.ts +3 -2
- package/lib/components/List/ListItem/ListItem.d.ts +1 -1
- package/lib/components/List/ListItem/ListItem.types.d.ts +1 -4
- package/lib/components/List/ListItem/ListItem.vue.d.ts +4 -2
- package/lib/components/Loader/Loader.d.ts +1 -1
- package/lib/components/Loader/Loader.types.d.ts +3 -6
- package/lib/components/Loader/Loader.vue.d.ts +3 -2
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -2
- package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +13 -7
- package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +10 -4
- package/lib/components/Mark/Mark.d.ts +1 -1
- package/lib/components/Mark/Mark.types.d.ts +1 -4
- package/lib/components/Mark/Mark.vue.d.ts +3 -2
- package/lib/components/Marquee/Marquee.d.ts +1 -1
- package/lib/components/Marquee/Marquee.types.d.ts +1 -4
- package/lib/components/Marquee/Marquee.vue.d.ts +3 -2
- package/lib/components/Menu/Menu.types.d.ts +6 -5
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +2 -5
- package/lib/components/Modal/Modal.types.d.ts +6 -3
- package/lib/components/ModalBase/ModalBase.d.ts +1 -1
- package/lib/components/ModalBase/ModalBase.types.d.ts +5 -6
- package/lib/components/ModalBase/ModalBase.vue.d.ts +4 -2
- package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +3 -2
- package/lib/components/ModalBase/ModalBaseContent.d.ts +1 -1
- package/lib/components/ModalBase/ModalBaseContent.types.d.ts +5 -7
- package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +4 -2
- package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +2 -2
- package/lib/components/MultiSelect/MultiSelect.d.ts +5 -5
- package/lib/components/MultiSelect/MultiSelect.types.d.ts +6 -5
- package/lib/components/MultiSelect/MultiSelect.vue.d.ts +2 -2
- package/lib/components/NativeSelect/NativeSelect.d.ts +1 -1
- package/lib/components/NativeSelect/NativeSelect.types.d.ts +1 -4
- package/lib/components/NativeSelect/NativeSelect.vue.d.ts +3 -2
- package/lib/components/NavLink/NavLink.d.ts +1 -1
- package/lib/components/NavLink/NavLink.types.d.ts +1 -4
- package/lib/components/NavLink/NavLink.vue.d.ts +3 -2
- package/lib/components/Notification/Notification.d.ts +1 -1
- package/lib/components/Notification/Notification.types.d.ts +3 -5
- package/lib/components/Notification/Notification.vue.d.ts +3 -2
- package/lib/components/NumberInput/NumberInput.d.ts +1 -1
- package/lib/components/NumberInput/NumberInput.types.d.ts +4 -7
- package/lib/components/OverflowList/OverflowList.d.ts +1 -1
- package/lib/components/OverflowList/OverflowList.types.d.ts +1 -4
- package/lib/components/OverflowList/OverflowList.vue.d.ts +4 -3
- package/lib/components/Overlay/Overlay.d.ts +1 -1
- package/lib/components/Overlay/Overlay.types.d.ts +4 -7
- package/lib/components/Overlay/Overlay.vue.d.ts +3 -2
- package/lib/components/Pagination/Pagination.d.ts +2 -2
- package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +1 -1
- package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +1 -4
- package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +4 -2
- package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +1 -1
- package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +1 -4
- package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +4 -2
- package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +3 -2
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +0 -3
- package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +3 -1
- package/lib/components/Paper/Paper.d.ts +1 -1
- package/lib/components/Paper/Paper.types.d.ts +1 -4
- package/lib/components/Paper/Paper.vue.d.ts +3 -2
- package/lib/components/PasswordInput/PasswordInput.types.d.ts +10 -9
- package/lib/components/PasswordInput/PasswordInputField.vue.d.ts +3 -0
- package/lib/components/Pill/Pill.d.ts +1 -1
- package/lib/components/Pill/Pill.types.d.ts +6 -6
- package/lib/components/Pill/Pill.vue.d.ts +3 -2
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +1 -1
- package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +1 -4
- package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +3 -2
- package/lib/components/PillsInput/PillsInput.d.ts +1 -1
- package/lib/components/PillsInput/PillsInput.types.d.ts +4 -7
- package/lib/components/PillsInput/PillsInput.vue.d.ts +3 -2
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
- package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +1 -4
- package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +4 -2
- package/lib/components/PinInput/PinInput.d.ts +1 -1
- package/lib/components/PinInput/PinInput.types.d.ts +6 -6
- package/lib/components/PinInput/PinInput.vue.d.ts +3 -2
- package/lib/components/Popover/Popover.context.d.ts +1 -0
- package/lib/components/Popover/Popover.types.d.ts +16 -3
- package/lib/components/Popover/Popover.vue.d.ts +3 -0
- package/lib/components/Portal/Portal.vue.d.ts +1 -3
- package/lib/components/Progress/Progress.d.ts +1 -1
- package/lib/components/Progress/Progress.types.d.ts +1 -4
- package/lib/components/Progress/Progress.vue.d.ts +4 -2
- package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +1 -1
- package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +1 -4
- package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +4 -2
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
- package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +1 -4
- package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +3 -2
- package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +1 -1
- package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +1 -4
- package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +3 -2
- package/lib/components/Radio/Radio.d.ts +2 -1
- package/lib/components/Radio/Radio.types.d.ts +7 -9
- package/lib/components/Radio/Radio.vue.d.ts +4 -2
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +1 -1
- package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +1 -4
- package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +3 -2
- package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +3 -3
- package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +1 -1
- package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +3 -6
- package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +3 -2
- package/lib/components/RingProgress/RingProgress.d.ts +1 -1
- package/lib/components/RingProgress/RingProgress.types.d.ts +1 -4
- package/lib/components/RingProgress/RingProgress.vue.d.ts +3 -2
- package/lib/components/RollingNumber/RollingNumber.d.ts +1 -1
- package/lib/components/RollingNumber/RollingNumber.types.d.ts +1 -4
- package/lib/components/RollingNumber/RollingNumber.vue.d.ts +3 -2
- package/lib/components/ScrollArea/ScrollArea.d.ts +1 -0
- package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +5 -7
- package/lib/components/ScrollArea/ScrollArea.vue.d.ts +4 -2
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +1 -4
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +3 -2
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +1 -4
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +4 -2
- package/lib/components/Scroller/Scroller.d.ts +1 -1
- package/lib/components/Scroller/Scroller.types.d.ts +4 -7
- package/lib/components/Scroller/Scroller.vue.d.ts +3 -2
- package/lib/components/Select/Select.d.ts +5 -5
- package/lib/components/Select/Select.types.d.ts +6 -5
- package/lib/components/Select/Select.vue.d.ts +2 -2
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +1 -1
- package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +1 -4
- package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +3 -2
- package/lib/components/SimpleGrid/SimpleGrid.d.ts +1 -1
- package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +1 -4
- package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +3 -2
- package/lib/components/Skeleton/Skeleton.d.ts +1 -1
- package/lib/components/Skeleton/Skeleton.types.d.ts +1 -4
- package/lib/components/Skeleton/Skeleton.vue.d.ts +3 -2
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -1
- package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +3 -6
- package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +3 -2
- package/lib/components/Slider/Slider/Slider.d.ts +1 -1
- package/lib/components/Slider/Slider/Slider.types.d.ts +6 -8
- package/lib/components/Slider/Slider/Slider.vue.d.ts +3 -2
- package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
- package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +1 -4
- package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +4 -2
- package/lib/components/Slider/Thumb/Thumb.d.ts +5 -5
- package/lib/components/Slider/Thumb/Thumb.types.d.ts +2 -1
- package/lib/components/Slider/Thumb/Thumb.vue.d.ts +2 -2
- package/lib/components/Slider/Track/Track.types.d.ts +2 -2
- package/lib/components/Space/Space.d.ts +1 -1
- package/lib/components/Space/Space.types.d.ts +1 -4
- package/lib/components/Space/Space.vue.d.ts +4 -2
- package/lib/components/Splitter/Splitter.d.ts +1 -1
- package/lib/components/Splitter/Splitter.types.d.ts +1 -3
- package/lib/components/Splitter/Splitter.vue.d.ts +3 -2
- package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +1 -1
- package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +1 -4
- package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +4 -2
- package/lib/components/Spoiler/Spoiler.d.ts +1 -1
- package/lib/components/Spoiler/Spoiler.types.d.ts +1 -4
- package/lib/components/Spoiler/Spoiler.vue.d.ts +3 -2
- package/lib/components/Stack/Stack.d.ts +1 -1
- package/lib/components/Stack/Stack.types.d.ts +1 -4
- package/lib/components/Stack/Stack.vue.d.ts +3 -2
- package/lib/components/Stepper/Stepper.d.ts +1 -1
- package/lib/components/Stepper/Stepper.types.d.ts +1 -4
- package/lib/components/Stepper/Stepper.vue.d.ts +3 -2
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
- package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +1 -4
- package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +4 -2
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/Switch.types.d.ts +4 -7
- package/lib/components/Switch/Switch.vue.d.ts +3 -2
- package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +4 -4
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/components/Table/Table.types.d.ts +1 -4
- package/lib/components/Table/Table.vue.d.ts +3 -2
- package/lib/components/Table/TableScrollContainer.d.ts +1 -1
- package/lib/components/Table/TableScrollContainer.types.d.ts +2 -5
- package/lib/components/Table/TableScrollContainer.vue.d.ts +3 -2
- package/lib/components/Table/index.d.ts +1 -1
- package/lib/components/TableOfContents/TableOfContents.d.ts +1 -1
- package/lib/components/TableOfContents/TableOfContents.types.d.ts +1 -4
- package/lib/components/TableOfContents/TableOfContents.vue.d.ts +3 -2
- package/lib/components/Tabs/Tabs.d.ts +3 -3
- package/lib/components/Tabs/TabsList/TabsList.d.ts +1 -1
- package/lib/components/Tabs/TabsList/TabsList.types.d.ts +1 -4
- package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +4 -2
- package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +1 -1
- package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +1 -4
- package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +4 -2
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +1 -1
- package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +1 -4
- package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +4 -2
- package/lib/components/TagsInput/TagsInput.d.ts +5 -5
- package/lib/components/TagsInput/TagsInput.types.d.ts +6 -5
- package/lib/components/TagsInput/TagsInput.vue.d.ts +2 -2
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Text/Text.types.d.ts +1 -4
- package/lib/components/Text/Text.vue.d.ts +3 -2
- package/lib/components/Textarea/Textarea.d.ts +1 -1
- package/lib/components/Textarea/Textarea.types.d.ts +3 -6
- package/lib/components/Textarea/Textarea.vue.d.ts +4 -2
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +1 -1
- package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +1 -4
- package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +3 -2
- package/lib/components/Timeline/Timeline.d.ts +1 -1
- package/lib/components/Timeline/Timeline.types.d.ts +1 -4
- package/lib/components/Timeline/Timeline.vue.d.ts +3 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +1 -4
- package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +4 -2
- package/lib/components/Title/Title.d.ts +1 -1
- package/lib/components/Title/Title.types.d.ts +1 -4
- package/lib/components/Title/Title.vue.d.ts +3 -2
- package/lib/components/Toggle/Toggle.d.ts +15 -0
- package/lib/components/Toggle/Toggle.types.d.ts +52 -0
- package/lib/components/Toggle/Toggle.vue.d.ts +20 -0
- package/lib/components/Toggle/index.d.ts +1 -0
- package/lib/components/Toolbar/Toolbar.context.d.ts +12 -0
- package/lib/components/Toolbar/Toolbar.d.ts +26 -0
- package/lib/components/Toolbar/Toolbar.types.d.ts +87 -0
- package/lib/components/Toolbar/Toolbar.vue.d.ts +14 -0
- package/lib/components/Toolbar/ToolbarDivider.vue.d.ts +3 -0
- package/lib/components/Toolbar/ToolbarGroup.vue.d.ts +13 -0
- package/lib/components/Toolbar/ToolbarToggle.vue.d.ts +14 -0
- package/lib/components/Toolbar/ToolbarToggleGroup.vue.d.ts +19 -0
- package/lib/components/Toolbar/ToolbarToggleItem.vue.d.ts +14 -0
- package/lib/components/Toolbar/index.d.ts +1 -0
- package/lib/components/Tooltip/Tooltip.types.d.ts +11 -6
- package/lib/components/Tooltip/Tooltip.vue.d.ts +1 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +2 -1
- package/lib/components/Tooltip/use-tooltip.d.ts +2 -0
- package/lib/components/Tour/Tour.context.d.ts +27 -0
- package/lib/components/Tour/Tour.d.ts +184 -0
- package/lib/components/Tour/Tour.types.d.ts +129 -0
- package/lib/components/Tour/Tour.vue.d.ts +26 -0
- package/lib/components/Tour/TourBeacon.vue.d.ts +4 -0
- package/lib/components/Tour/TourBeaconPositioned.vue.d.ts +12 -0
- package/lib/components/Tour/TourBody.vue.d.ts +13 -0
- package/lib/components/Tour/TourCloseButton.vue.d.ts +3 -0
- package/lib/components/Tour/TourNavigation.vue.d.ts +3 -0
- package/lib/components/Tour/TourOverlay.vue.d.ts +8 -0
- package/lib/components/Tour/TourRoot.vue.d.ts +28 -0
- package/lib/components/Tour/TourStep.vue.d.ts +13 -0
- package/lib/components/Tour/TourTitle.vue.d.ts +13 -0
- package/lib/components/Tour/TourTooltip.vue.d.ts +14 -0
- package/lib/components/Tour/get-overlay-hit-path.d.ts +6 -0
- package/lib/components/Tour/index.d.ts +3 -0
- package/lib/components/Tour/is-element-in-view.d.ts +1 -0
- package/lib/components/Tree/Tree.d.ts +1 -1
- package/lib/components/Tree/Tree.types.d.ts +4 -7
- package/lib/components/Tree/Tree.vue.d.ts +3 -2
- package/lib/components/TreeSelect/TreeSelect.d.ts +6 -6
- package/lib/components/TreeSelect/TreeSelect.types.d.ts +19 -3
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +2 -2
- package/lib/components/TreeSelect/index.d.ts +1 -1
- package/lib/components/UnstyledButton/UnstyledButton.d.ts +1 -1
- package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +1 -4
- package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +4 -2
- package/lib/components/index.d.ts +3 -0
- package/lib/core/Box/Box.d.ts +4 -12
- package/lib/core/MantineProvider/Mantine.context.d.ts +2 -2
- package/lib/core/MantineProvider/MantineProvider.d.ts +19 -19
- package/lib/core/MantineProvider/MantineThemeProvider.d.ts +9 -9
- package/lib/core/factory/index.d.ts +0 -1
- package/lib/core/styles-api/styles-api.types.d.ts +2 -0
- package/lib/core/utils/extract-style-props.d.ts +14 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
- package/package.json +3 -3
- package/styles.css +682 -142
- package/styles.layer.css +682 -142
- package/lib/core/factory/use-forwarded-ref.d.ts +0 -11
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { FlipOptions, InlineOptions, ShiftOptions, SizeOptions } from '@floating-ui/vue';
|
|
2
3
|
import type { ClassNames, MantineNode, Styles, Vars } from '../../core';
|
|
3
4
|
import type { ArrowPosition, FloatingAxesOffsets, FloatingPosition, FloatingStrategy } from '../../utils/Floating';
|
|
5
|
+
import type { PortalProps } from '../Portal';
|
|
6
|
+
import type { TransitionOverride } from '../Transition';
|
|
4
7
|
export type TooltipStylesNames = 'tooltip' | 'arrow';
|
|
5
8
|
export type TooltipCssVariables = '--tooltip-radius' | '--tooltip-bg' | '--tooltip-color';
|
|
6
9
|
export interface TooltipMiddlewares {
|
|
7
10
|
/** Shifts the tooltip along its axis so it stays inside the viewport. */
|
|
8
|
-
shift?: boolean |
|
|
11
|
+
shift?: boolean | ShiftOptions;
|
|
9
12
|
/** Flips the tooltip to the opposite side when it does not fit. */
|
|
10
|
-
flip?: boolean |
|
|
13
|
+
flip?: boolean | FlipOptions;
|
|
11
14
|
/** Improves the position for targets that span multiple lines. */
|
|
12
|
-
inline?: boolean |
|
|
15
|
+
inline?: boolean | InlineOptions;
|
|
13
16
|
/** Constrains the tooltip to the available space. */
|
|
14
|
-
size?: boolean |
|
|
17
|
+
size?: boolean | SizeOptions;
|
|
15
18
|
}
|
|
16
19
|
export interface TooltipSlots {
|
|
17
20
|
/**
|
|
@@ -67,7 +70,7 @@ export interface TooltipBaseProps {
|
|
|
67
70
|
*/
|
|
68
71
|
disabled?: boolean;
|
|
69
72
|
/** Props passed down to the `Portal` when `withinPortal` is set. */
|
|
70
|
-
portalProps?:
|
|
73
|
+
portalProps?: PortalProps;
|
|
71
74
|
/**
|
|
72
75
|
* Floating UI middlewares applied to the tooltip.
|
|
73
76
|
*
|
|
@@ -140,7 +143,7 @@ export interface TooltipProps extends TooltipBaseProps {
|
|
|
140
143
|
*
|
|
141
144
|
* @default { duration: 100, transition: 'fade' }
|
|
142
145
|
*/
|
|
143
|
-
transitionProps?:
|
|
146
|
+
transitionProps?: TransitionOverride;
|
|
144
147
|
/**
|
|
145
148
|
* Events that open and close the tooltip.
|
|
146
149
|
*
|
|
@@ -181,4 +184,6 @@ export interface TooltipProps extends TooltipBaseProps {
|
|
|
181
184
|
* default slot when the target is not a child of the tooltip.
|
|
182
185
|
*/
|
|
183
186
|
target?: any;
|
|
187
|
+
/** If set, the tooltip is hidden when its target is detached, hidden, or outside the visible area. @default true */
|
|
188
|
+
hideDetached?: boolean;
|
|
184
189
|
}
|
|
@@ -26,6 +26,7 @@ declare const defaults: {
|
|
|
26
26
|
readonly inline: false;
|
|
27
27
|
};
|
|
28
28
|
readonly floatingStrategy: "absolute";
|
|
29
|
+
readonly hideDetached: true;
|
|
29
30
|
};
|
|
30
31
|
/** Module scope: created once, not per component instance. */
|
|
31
32
|
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
2
|
import type { ClassNames, MantineNode, Styles, Vars } from '../../../core';
|
|
3
3
|
import type { FloatingPosition } from '../../../utils/Floating';
|
|
4
|
+
import type { PortalProps } from '../../Portal';
|
|
4
5
|
export interface TooltipFloatingSlots {
|
|
5
6
|
/**
|
|
6
7
|
* The element the tooltip follows. Must be a single element or component that accepts
|
|
@@ -72,7 +73,7 @@ export interface TooltipFloatingProps {
|
|
|
72
73
|
/** Key of `theme.colors` or any valid CSS color used as the background. */
|
|
73
74
|
color?: string;
|
|
74
75
|
/** Props passed down to the `Portal` when `withinPortal` is set. */
|
|
75
|
-
portalProps?:
|
|
76
|
+
portalProps?: PortalProps;
|
|
76
77
|
/** `classNames` of the Styles API. */
|
|
77
78
|
classNames?: ClassNames<TooltipFloatingProps>;
|
|
78
79
|
/** `styles` of the Styles API. */
|
|
@@ -15,6 +15,7 @@ export interface UseTooltipOptions {
|
|
|
15
15
|
};
|
|
16
16
|
strategy: () => FloatingStrategy;
|
|
17
17
|
middlewares: () => TooltipMiddlewares | undefined;
|
|
18
|
+
hideDetached?: () => boolean | undefined;
|
|
18
19
|
onPositionChange?: (position: FloatingPosition) => void;
|
|
19
20
|
}
|
|
20
21
|
export declare function useTooltip(options: UseTooltipOptions): {
|
|
@@ -27,6 +28,7 @@ export declare function useTooltip(options: UseTooltipOptions): {
|
|
|
27
28
|
placement: Readonly<import("vue").Ref<import("@floating-ui/utils").Placement, import("@floating-ui/utils").Placement>>;
|
|
28
29
|
arrowX: import("vue").ComputedRef<number | undefined>;
|
|
29
30
|
arrowY: import("vue").ComputedRef<number | undefined>;
|
|
31
|
+
referenceHidden: import("vue").ComputedRef<boolean | undefined>;
|
|
30
32
|
open: () => void;
|
|
31
33
|
close: () => void;
|
|
32
34
|
setOpened: (value: boolean, delay?: number) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { MantineColor } from '../../core';
|
|
2
|
+
import type { TourLabels } from './Tour.types';
|
|
3
|
+
export declare const defaultTourLabels: TourLabels;
|
|
4
|
+
export interface TourContextValue {
|
|
5
|
+
getStyles: (selector: string, options?: any) => any;
|
|
6
|
+
step: number;
|
|
7
|
+
setStep: (step: number) => void;
|
|
8
|
+
stepsCount: number;
|
|
9
|
+
close: () => void;
|
|
10
|
+
withOverlay: boolean;
|
|
11
|
+
withOverlayInteraction: boolean;
|
|
12
|
+
withCloseButton: boolean;
|
|
13
|
+
closeOnOverlayClick: boolean;
|
|
14
|
+
spotlightPadding: number;
|
|
15
|
+
spotlightRadius: number;
|
|
16
|
+
color?: MantineColor;
|
|
17
|
+
labels: TourLabels;
|
|
18
|
+
titleId: string;
|
|
19
|
+
bodyId: string;
|
|
20
|
+
titleMounted: boolean;
|
|
21
|
+
bodyMounted: boolean;
|
|
22
|
+
registerTitle: (id: string | null) => void;
|
|
23
|
+
registerBody: (id: string | null) => void;
|
|
24
|
+
targetElement: HTMLElement | null;
|
|
25
|
+
setTargetElement: (element: HTMLElement | null) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const provideTourContext: (value: TourContextValue) => void, useTourContext: () => TourContextValue;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import TourRoot from './TourRoot.vue';
|
|
2
|
+
import TourStep from './TourStep.vue';
|
|
3
|
+
import TourOverlay from './TourOverlay.vue';
|
|
4
|
+
import TourTooltip from './TourTooltip.vue';
|
|
5
|
+
import TourBeacon from './TourBeacon.vue';
|
|
6
|
+
import TourTitle from './TourTitle.vue';
|
|
7
|
+
import TourBody from './TourBody.vue';
|
|
8
|
+
import TourCloseButton from './TourCloseButton.vue';
|
|
9
|
+
import TourNavigation from './TourNavigation.vue';
|
|
10
|
+
export { TourRoot, TourStep, TourOverlay, TourTooltip, TourBeacon, TourTitle, TourBody, TourCloseButton, TourNavigation, };
|
|
11
|
+
export declare const Tour: {
|
|
12
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./Tour.types").TourOwnProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
13
|
+
onClose?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
15
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
16
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
17
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: () => any;
|
|
20
|
+
"update:step": (step: number) => any;
|
|
21
|
+
stepChange: (step: number) => any;
|
|
22
|
+
stepOpen: (step: number) => any;
|
|
23
|
+
stepClose: (step: number) => any;
|
|
24
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<import("./Tour.types").TourOwnProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
32
|
+
onClose?: (() => any) | undefined;
|
|
33
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
34
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
35
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
36
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, {}>;
|
|
38
|
+
__isFragment?: never;
|
|
39
|
+
__isTeleport?: never;
|
|
40
|
+
__isSuspense?: never;
|
|
41
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./Tour.types").TourOwnProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
42
|
+
onClose?: (() => any) | undefined;
|
|
43
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
44
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
45
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
46
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
close: () => any;
|
|
49
|
+
"update:step": (step: number) => any;
|
|
50
|
+
stepChange: (step: number) => any;
|
|
51
|
+
stepOpen: (step: number) => any;
|
|
52
|
+
stepClose: (step: number) => any;
|
|
53
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
54
|
+
$slots: {
|
|
55
|
+
default?: () => any;
|
|
56
|
+
};
|
|
57
|
+
}) & {
|
|
58
|
+
classes: Record<string, string>;
|
|
59
|
+
varsResolver: (theme: import("../../index.js").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
60
|
+
Root: {
|
|
61
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./Tour.types").TourRootProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
62
|
+
onClose?: (() => any) | undefined;
|
|
63
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
64
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
65
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
66
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
67
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
close: () => any;
|
|
69
|
+
"update:step": (step: number) => any;
|
|
70
|
+
stepChange: (step: number) => any;
|
|
71
|
+
stepOpen: (step: number) => any;
|
|
72
|
+
stepClose: (step: number) => any;
|
|
73
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
74
|
+
P: {};
|
|
75
|
+
B: {};
|
|
76
|
+
D: {};
|
|
77
|
+
C: {};
|
|
78
|
+
M: {};
|
|
79
|
+
Defaults: {};
|
|
80
|
+
}, Readonly<import("./Tour.types").TourRootProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
81
|
+
onClose?: (() => any) | undefined;
|
|
82
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
83
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
84
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
85
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
86
|
+
}>, {}, {}, {}, {}, {}>;
|
|
87
|
+
__isFragment?: never;
|
|
88
|
+
__isTeleport?: never;
|
|
89
|
+
__isSuspense?: never;
|
|
90
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./Tour.types").TourRootProps & import("../../index.js").RootRefProps<Element>> & Readonly<{
|
|
91
|
+
onClose?: (() => any) | undefined;
|
|
92
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
93
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
94
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
95
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
96
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
|
+
close: () => any;
|
|
98
|
+
"update:step": (step: number) => any;
|
|
99
|
+
stepChange: (step: number) => any;
|
|
100
|
+
stepOpen: (step: number) => any;
|
|
101
|
+
stepClose: (step: number) => any;
|
|
102
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
103
|
+
$slots: {
|
|
104
|
+
default?: (props: {}) => any;
|
|
105
|
+
};
|
|
106
|
+
});
|
|
107
|
+
Step: {
|
|
108
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./Tour.types").TourStepProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
109
|
+
P: {};
|
|
110
|
+
B: {};
|
|
111
|
+
D: {};
|
|
112
|
+
C: {};
|
|
113
|
+
M: {};
|
|
114
|
+
Defaults: {};
|
|
115
|
+
}, Readonly<import("./Tour.types").TourStepProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
116
|
+
__isFragment?: never;
|
|
117
|
+
__isTeleport?: never;
|
|
118
|
+
__isSuspense?: never;
|
|
119
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./Tour.types").TourStepProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
120
|
+
$slots: {
|
|
121
|
+
default?: () => any;
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
Overlay: import("vue").DefineComponent<import("./Tour.types").TourOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
125
|
+
click: (event: MouseEvent) => any;
|
|
126
|
+
}, string, import("vue").PublicProps, Readonly<import("./Tour.types").TourOverlayProps> & Readonly<{
|
|
127
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
128
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
129
|
+
Tooltip: {
|
|
130
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./Tour.types").TourTooltipProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
131
|
+
P: {};
|
|
132
|
+
B: {};
|
|
133
|
+
D: {};
|
|
134
|
+
C: {};
|
|
135
|
+
M: {};
|
|
136
|
+
Defaults: {};
|
|
137
|
+
}, Readonly<import("./Tour.types").TourTooltipProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
138
|
+
__isFragment?: never;
|
|
139
|
+
__isTeleport?: never;
|
|
140
|
+
__isSuspense?: never;
|
|
141
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./Tour.types").TourTooltipProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
142
|
+
$slots: {
|
|
143
|
+
default?: (props: {}) => any;
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
Beacon: import("vue").DefineComponent<import("./Tour.types").TourBeaconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./Tour.types").TourBeaconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
147
|
+
Title: {
|
|
148
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
149
|
+
P: {};
|
|
150
|
+
B: {};
|
|
151
|
+
D: {};
|
|
152
|
+
C: {};
|
|
153
|
+
M: {};
|
|
154
|
+
Defaults: {};
|
|
155
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
156
|
+
__isFragment?: never;
|
|
157
|
+
__isTeleport?: never;
|
|
158
|
+
__isSuspense?: never;
|
|
159
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
160
|
+
$slots: {
|
|
161
|
+
default?: (props: {}) => any;
|
|
162
|
+
};
|
|
163
|
+
});
|
|
164
|
+
Body: {
|
|
165
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
166
|
+
P: {};
|
|
167
|
+
B: {};
|
|
168
|
+
D: {};
|
|
169
|
+
C: {};
|
|
170
|
+
M: {};
|
|
171
|
+
Defaults: {};
|
|
172
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
173
|
+
__isFragment?: never;
|
|
174
|
+
__isTeleport?: never;
|
|
175
|
+
__isSuspense?: never;
|
|
176
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
177
|
+
$slots: {
|
|
178
|
+
default?: (props: {}) => any;
|
|
179
|
+
};
|
|
180
|
+
});
|
|
181
|
+
CloseButton: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
182
|
+
Navigation: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
183
|
+
};
|
|
184
|
+
export type * from './Tour.types';
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { Ref, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, Factory, MantineColor, StylesApiProps } from '../../core';
|
|
3
|
+
import type { FloatingPosition } from '../../utils/Floating';
|
|
4
|
+
import type { PortalProps } from '../Portal';
|
|
5
|
+
import type { TransitionOverride } from '../Transition';
|
|
6
|
+
export type TourTarget = string | Ref<HTMLElement | null>;
|
|
7
|
+
export interface TourLabels {
|
|
8
|
+
skip: string;
|
|
9
|
+
back: string;
|
|
10
|
+
next: string;
|
|
11
|
+
close: string;
|
|
12
|
+
stepCounter: (current: number, total: number) => string;
|
|
13
|
+
beacon: string;
|
|
14
|
+
}
|
|
15
|
+
export interface TourStepProps {
|
|
16
|
+
target?: TourTarget;
|
|
17
|
+
title?: VNodeChild;
|
|
18
|
+
position?: FloatingPosition;
|
|
19
|
+
withOverlay?: boolean;
|
|
20
|
+
spotlightPadding?: number;
|
|
21
|
+
spotlightRadius?: number;
|
|
22
|
+
withBeacon?: boolean;
|
|
23
|
+
onStepOpen?: () => void;
|
|
24
|
+
onStepClose?: () => void;
|
|
25
|
+
}
|
|
26
|
+
export interface TourStepData extends TourStepProps {
|
|
27
|
+
content?: () => VNodeChild;
|
|
28
|
+
}
|
|
29
|
+
export interface TourRootProps extends TourOwnProps {
|
|
30
|
+
stepsCount: number;
|
|
31
|
+
}
|
|
32
|
+
export interface TourOverlayProps {
|
|
33
|
+
targetRect?: {
|
|
34
|
+
top: number;
|
|
35
|
+
left: number;
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
} | null;
|
|
39
|
+
color?: string;
|
|
40
|
+
withInteraction?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface TourTooltipProps extends BoxProps {
|
|
43
|
+
targetElement?: HTMLElement | null;
|
|
44
|
+
position?: FloatingPosition;
|
|
45
|
+
mounted?: boolean;
|
|
46
|
+
transitionProps?: TransitionOverride;
|
|
47
|
+
}
|
|
48
|
+
export interface TourBeaconProps extends BoxProps {
|
|
49
|
+
target?: TourTarget;
|
|
50
|
+
}
|
|
51
|
+
export type TourNavigationProps = BoxProps;
|
|
52
|
+
export type TourTitleProps = BoxProps;
|
|
53
|
+
export type TourBodyProps = BoxProps;
|
|
54
|
+
export type TourCloseButtonProps = BoxProps;
|
|
55
|
+
export type TourStylesNames = 'root' | 'overlay' | 'spotlight' | 'tooltip' | 'title' | 'body' | 'navigation' | 'closeButton' | 'stepCounter' | 'beacon' | 'beaconPulse' | 'navigationButton';
|
|
56
|
+
export type TourCssVariables = {
|
|
57
|
+
root: '--tour-z-index' | '--tour-overlay-color' | '--tour-tooltip-radius' | '--tour-tooltip-shadow' | '--tour-beacon-size' | '--tour-beacon-color' | '--tour-color';
|
|
58
|
+
};
|
|
59
|
+
export interface TourOwnProps extends StylesApiProps<TourFactory> {
|
|
60
|
+
/** Whether the tour is active @default false */
|
|
61
|
+
active?: boolean;
|
|
62
|
+
/** Controlled current step index */
|
|
63
|
+
step?: number;
|
|
64
|
+
/** Uncontrolled default step index @default 0 */
|
|
65
|
+
defaultStep?: number;
|
|
66
|
+
/** Tour mode @default "guided" */
|
|
67
|
+
mode?: 'guided' | 'beacon';
|
|
68
|
+
/** Whether to display the overlay @default true */
|
|
69
|
+
withOverlay?: boolean;
|
|
70
|
+
/** Whether pointer events pass through the spotlight cutout to the target element, the rest of the overlay keeps blocking clicks @default false */
|
|
71
|
+
withOverlayInteraction?: boolean;
|
|
72
|
+
/** Whether to display the close button @default true */
|
|
73
|
+
withCloseButton?: boolean;
|
|
74
|
+
/** Whether keyboard navigation is enabled in guided mode @default true */
|
|
75
|
+
withKeyboardNavigation?: boolean;
|
|
76
|
+
/** Whether to scroll target elements into view @default true */
|
|
77
|
+
withScrollIntoView?: boolean;
|
|
78
|
+
/** Custom scroll handler */
|
|
79
|
+
scrollToHandler?: (element: HTMLElement) => void;
|
|
80
|
+
/** Padding around the spotlight cutout in px @default 8 */
|
|
81
|
+
spotlightPadding?: number;
|
|
82
|
+
/** Border radius of the spotlight cutout in px @default 4 */
|
|
83
|
+
spotlightRadius?: number;
|
|
84
|
+
/** Whether pressing Escape closes the tour @default true */
|
|
85
|
+
closeOnEscape?: boolean;
|
|
86
|
+
/** Whether clicking the overlay closes the tour, with `withOverlayInteraction` only clicks outside the spotlight cutout close it @default false */
|
|
87
|
+
closeOnOverlayClick?: boolean;
|
|
88
|
+
/** Labels for tour UI elements */
|
|
89
|
+
labels?: Partial<TourLabels>;
|
|
90
|
+
/** Whether to render inside a portal @default true */
|
|
91
|
+
withinPortal?: boolean;
|
|
92
|
+
/** Props passed to the Portal component */
|
|
93
|
+
portalProps?: PortalProps;
|
|
94
|
+
/** z-index of the tour @default 10000 */
|
|
95
|
+
zIndex?: string | number;
|
|
96
|
+
/** Transition props for the tooltip @default { duration: 200, transition: 'pop' } */
|
|
97
|
+
transitionProps?: TransitionOverride;
|
|
98
|
+
/** Duration of the tooltip position transition between steps in ms @default 300 */
|
|
99
|
+
stepTransitionDuration?: number;
|
|
100
|
+
/** Max width of the tooltip, tooltip always takes this width if viewport allows @default 360 */
|
|
101
|
+
maxWidth?: number;
|
|
102
|
+
/** Tour step overlay color @default "rgba(0, 0, 0, 0.5)" */
|
|
103
|
+
overlayColor?: string;
|
|
104
|
+
/** Key of `theme.colors` or any valid CSS color, controls beacon color and `Tour.Navigation` next button color @default theme.primaryColor */
|
|
105
|
+
color?: MantineColor;
|
|
106
|
+
/** Key of `theme.shadows` or any valid CSS box-shadow value, controls the tooltip shadow @default 'md' */
|
|
107
|
+
tooltipShadow?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface TourProps extends Omit<BoxProps, keyof TourOwnProps>, TourOwnProps {
|
|
110
|
+
}
|
|
111
|
+
export interface TourSlots {
|
|
112
|
+
default?: () => VNodeChild;
|
|
113
|
+
}
|
|
114
|
+
export interface TourEmits {
|
|
115
|
+
close: [];
|
|
116
|
+
'update:step': [step: number];
|
|
117
|
+
stepChange: [step: number];
|
|
118
|
+
stepOpen: [step: number];
|
|
119
|
+
stepClose: [step: number];
|
|
120
|
+
}
|
|
121
|
+
export type TourFactory = Factory<{
|
|
122
|
+
props: TourProps;
|
|
123
|
+
slots: TourSlots;
|
|
124
|
+
emits: TourEmits;
|
|
125
|
+
ref: HTMLDivElement;
|
|
126
|
+
element: 'div';
|
|
127
|
+
stylesNames: TourStylesNames;
|
|
128
|
+
vars: TourCssVariables;
|
|
129
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
2
|
+
import type { TourOwnProps } from './Tour.types';
|
|
3
|
+
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
4
|
+
export { varsResolver };
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TourOwnProps & RootRefProps<Element>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
"update:step": (step: number) => any;
|
|
10
|
+
stepChange: (step: number) => any;
|
|
11
|
+
stepOpen: (step: number) => any;
|
|
12
|
+
stepClose: (step: number) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<TourOwnProps & RootRefProps<Element>> & Readonly<{
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
16
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
17
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
18
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
default?: () => any;
|
|
21
|
+
}>;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TourBeaconProps } from './Tour.types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<TourBeaconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TourBeaconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TourTarget } from './Tour.types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
target?: TourTarget;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TourOverlayProps } from './Tour.types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<TourOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
click: (event: MouseEvent) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<TourOverlayProps> & Readonly<{
|
|
5
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
2
|
+
import type { TourRootProps } from './Tour.types';
|
|
3
|
+
type __VLS_Props = TourRootProps & RootRefProps<Element>;
|
|
4
|
+
declare var __VLS_14: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_14) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
close: () => any;
|
|
10
|
+
"update:step": (step: number) => any;
|
|
11
|
+
stepChange: (step: number) => any;
|
|
12
|
+
stepOpen: (step: number) => any;
|
|
13
|
+
stepClose: (step: number) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
17
|
+
onStepChange?: ((step: number) => any) | undefined;
|
|
18
|
+
onStepOpen?: ((step: number) => any) | undefined;
|
|
19
|
+
onStepClose?: ((step: number) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TourStepProps } from './Tour.types';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: () => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<TourStepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TourStepProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TourTooltipProps } from './Tour.types';
|
|
2
|
+
declare var __VLS_26: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_26) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<TourTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TourTooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isElementInView(element: HTMLElement): boolean;
|