@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,11 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SemiCircleProgressOwnProps, SemiCircleProgressSlots } from './SemiCircleProgress.types';
|
|
2
3
|
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
export { varsResolver };
|
|
4
5
|
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SemiCircleProgressOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SemiCircleProgressOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SemiCircleProgressOwnProps
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SemiCircleProgressOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SemiCircleProgressSlots>;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
11
12
|
$slots: S;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
2
1
|
import type { VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, StyleProp, StylesApiProps, Factory } from '../../core';
|
|
4
3
|
export type SimpleGridStylesNames = 'root' | 'container';
|
|
5
4
|
/** Props declared by `SimpleGrid` itself. See `SimpleGridProps` for the full public type. */
|
|
6
5
|
export interface SimpleGridOwnProps extends StylesApiProps<SimpleGridFactory> {
|
|
7
|
-
/** Receives the root DOM node. */
|
|
8
|
-
rootRef?: VueRefTarget<Element>;
|
|
9
6
|
/**
|
|
10
7
|
* Number of columns
|
|
11
8
|
*
|
|
@@ -48,7 +45,7 @@ export interface SimpleGridSlots {
|
|
|
48
45
|
default?: () => VNodeChild;
|
|
49
46
|
}
|
|
50
47
|
export type SimpleGridFactory = Factory<{
|
|
51
|
-
props:
|
|
48
|
+
props: SimpleGridProps;
|
|
52
49
|
ref: HTMLDivElement;
|
|
53
50
|
exposed: {
|
|
54
51
|
rootElement: Element | null;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SimpleGridOwnProps, SimpleGridSlots } from './SimpleGrid.types';
|
|
2
3
|
declare const _default: typeof __VLS_export;
|
|
3
4
|
export default _default;
|
|
4
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SimpleGridOwnProps
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SimpleGridOwnProps & RootRefProps<Element>, {
|
|
5
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SimpleGridOwnProps
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SimpleGridOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SimpleGridSlots>;
|
|
7
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Skeleton: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Skeleton.types").SkeletonProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
element: "div";
|
|
5
5
|
stylesNames: import("./Skeleton.types").SkeletonStylesNames;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { BoxProps, StylesApiProps, Factory } from '../../core';
|
|
2
2
|
/** Props declared by `Skeleton` itself. See `SkeletonProps` for the full public type. */
|
|
3
3
|
export interface SkeletonOwnProps extends StylesApiProps<SkeletonFactory> {
|
|
4
|
-
/** Receives the root DOM node. */
|
|
5
|
-
rootRef?: VueRefTarget<Element>;
|
|
6
4
|
/**
|
|
7
5
|
* Determines whether Skeleton overlay should be displayed
|
|
8
6
|
*
|
|
@@ -47,10 +45,9 @@ export type SkeletonCssVariables = {
|
|
|
47
45
|
root: '--skeleton-height' | '--skeleton-width' | '--skeleton-radius';
|
|
48
46
|
};
|
|
49
47
|
export type SkeletonFactory = Factory<{
|
|
50
|
-
props:
|
|
48
|
+
props: SkeletonProps;
|
|
51
49
|
ref: HTMLDivElement;
|
|
52
50
|
element: 'div';
|
|
53
51
|
stylesNames: SkeletonStylesNames;
|
|
54
52
|
vars: SkeletonCssVariables;
|
|
55
53
|
}>;
|
|
56
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SkeletonOwnProps } from './Skeleton.types';
|
|
2
3
|
/** Module scope: created once, not per component instance. */
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -8,9 +9,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
8
9
|
export { defaultProps, varsResolver };
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SkeletonOwnProps
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SkeletonOwnProps & RootRefProps<Element>, {
|
|
12
13
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
13
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonOwnProps
|
|
14
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
14
15
|
default?: (props: {}) => any;
|
|
15
16
|
}>;
|
|
16
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const RangeSlider: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./RangeSlider.types").RangeSliderProps;
|
|
3
3
|
slots: import("./RangeSlider.types").RangeSliderSlots;
|
|
4
4
|
emits: import("./RangeSlider.types").RangeSliderEmits;
|
|
5
5
|
ref: HTMLDivElement;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, MantineNode, StylesApiProps, Factory } from '../../../core';
|
|
4
3
|
import type { SliderCssVariables, SliderOwnProps, SliderStylesNames } from '../Slider/Slider.types';
|
|
5
4
|
export type RangeSliderValue = [number, number];
|
|
@@ -20,8 +19,6 @@ export interface RangeSliderSlots {
|
|
|
20
19
|
* See `RangeSliderProps` for the full public type.
|
|
21
20
|
*/
|
|
22
21
|
export interface RangeSliderOwnProps extends Omit<SliderOwnProps, 'classNames' | 'styles' | 'vars' | 'unstyled' | 'modelValue' | 'defaultValue' | 'domain' | 'thumbLabel' | 'thumbChildren' | 'thumbProps' | 'startPointValue'>, StylesApiProps<RangeSliderFactory> {
|
|
23
|
-
/** Receives the root DOM node. */
|
|
24
|
-
rootRef?: VueRefTarget<Element>;
|
|
25
22
|
/** Selected range, bound with `v-model`. */
|
|
26
23
|
modelValue?: RangeSliderValue;
|
|
27
24
|
/** Uncontrolled initial range. */
|
|
@@ -51,7 +48,7 @@ export interface RangeSliderOwnProps extends Omit<SliderOwnProps, 'classNames' |
|
|
|
51
48
|
/** Content rendered inside each thumb, as a `[from, to]` pair. */
|
|
52
49
|
thumbChildren?: [MantineNode, MantineNode];
|
|
53
50
|
/** Returns the props passed down to the thumb at the given index. */
|
|
54
|
-
thumbProps?: (index:
|
|
51
|
+
thumbProps?: (index: 0 | 1) => HTMLAttributes;
|
|
55
52
|
}
|
|
56
53
|
export interface RangeSliderProps extends Omit<BoxProps, keyof RangeSliderOwnProps>, RangeSliderOwnProps {
|
|
57
54
|
}
|
|
@@ -64,7 +61,7 @@ export interface RangeSliderEmits {
|
|
|
64
61
|
'change-end': [value: RangeSliderValue];
|
|
65
62
|
}
|
|
66
63
|
export type RangeSliderFactory = Factory<{
|
|
67
|
-
props:
|
|
64
|
+
props: RangeSliderProps;
|
|
68
65
|
slots: RangeSliderSlots;
|
|
69
66
|
emits: RangeSliderEmits;
|
|
70
67
|
ref: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { RangeSliderOwnProps, RangeSliderSlots, RangeSliderValue } from './RangeSlider.types';
|
|
2
3
|
/**
|
|
3
4
|
* `label` and `scale` default to functions. They are resolved by `useProps`, never by
|
|
@@ -23,13 +24,13 @@ declare const varsResolver: (theme: import("../../..").MantineTheme, props: any,
|
|
|
23
24
|
export { defaultProps, varsResolver };
|
|
24
25
|
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<RangeSliderOwnProps
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<RangeSliderOwnProps & RootRefProps<Element>, {
|
|
27
28
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
28
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
30
|
change: (value: RangeSliderValue) => any;
|
|
30
31
|
"update:modelValue": (value: RangeSliderValue) => any;
|
|
31
32
|
"change-end": (value: RangeSliderValue) => any;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<RangeSliderOwnProps
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<RangeSliderOwnProps & RootRefProps<Element>> & Readonly<{
|
|
33
34
|
onChange?: ((value: RangeSliderValue) => any) | undefined;
|
|
34
35
|
"onUpdate:modelValue"?: ((value: RangeSliderValue) => any) | undefined;
|
|
35
36
|
"onChange-end"?: ((value: RangeSliderValue) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Slider: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Slider.types").SliderProps;
|
|
3
3
|
slots: import("./Slider.types").SliderSlots;
|
|
4
4
|
emits: import("./Slider.types").SliderEmits;
|
|
5
5
|
ref: HTMLDivElement;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, InputHTMLAttributes, VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../../core';
|
|
4
3
|
import type { SliderStylesNames } from '../Slider.context';
|
|
5
4
|
import type { SliderMark } from '../SliderMark';
|
|
5
|
+
import type { TransitionOverride } from '../../Transition';
|
|
6
6
|
export type { SliderStylesNames };
|
|
7
7
|
export type SliderCssVariables = {
|
|
8
8
|
root: '--slider-size' | '--slider-color' | '--slider-radius' | '--slider-thumb-size';
|
|
@@ -17,8 +17,6 @@ export interface SliderSlots {
|
|
|
17
17
|
}
|
|
18
18
|
/** Props declared by `Slider` itself. See `SliderProps` for the full public type. */
|
|
19
19
|
export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
20
|
-
/** Receives the root DOM node. */
|
|
21
|
-
rootRef?: VueRefTarget<Element>;
|
|
22
20
|
/**
|
|
23
21
|
* Key of `theme.colors` or any valid CSS color.
|
|
24
22
|
*
|
|
@@ -79,7 +77,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
79
77
|
*/
|
|
80
78
|
label?: MantineNode | ((value: number) => MantineNode);
|
|
81
79
|
/** Props passed down to the label transition. */
|
|
82
|
-
labelTransitionProps?:
|
|
80
|
+
labelTransitionProps?: TransitionOverride;
|
|
83
81
|
/**
|
|
84
82
|
* If set, the label is always visible.
|
|
85
83
|
*
|
|
@@ -135,7 +133,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
135
133
|
*/
|
|
136
134
|
orientation?: 'horizontal' | 'vertical';
|
|
137
135
|
/** Props passed down to the hidden input. */
|
|
138
|
-
hiddenInputProps?:
|
|
136
|
+
hiddenInputProps?: InputHTMLAttributes;
|
|
139
137
|
/**
|
|
140
138
|
* If set, the value can only be one of the `marks` values.
|
|
141
139
|
*
|
|
@@ -143,7 +141,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
143
141
|
*/
|
|
144
142
|
restrictToMarks?: boolean;
|
|
145
143
|
/** Props passed down to the thumb element. */
|
|
146
|
-
thumbProps?:
|
|
144
|
+
thumbProps?: HTMLAttributes;
|
|
147
145
|
}
|
|
148
146
|
export interface SliderProps extends Omit<BoxProps, keyof SliderOwnProps>, SliderOwnProps {
|
|
149
147
|
}
|
|
@@ -156,7 +154,7 @@ export interface SliderEmits {
|
|
|
156
154
|
'change-end': [value: number];
|
|
157
155
|
}
|
|
158
156
|
export type SliderFactory = Factory<{
|
|
159
|
-
props:
|
|
157
|
+
props: SliderProps;
|
|
160
158
|
slots: SliderSlots;
|
|
161
159
|
emits: SliderEmits;
|
|
162
160
|
ref: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SliderOwnProps, SliderSlots } from './Slider.types';
|
|
2
3
|
/**
|
|
3
4
|
* `label` and `scale` default to functions. They are resolved by `useProps`, never by
|
|
@@ -21,13 +22,13 @@ declare const varsResolver: (theme: import("../../..").MantineTheme, props: any,
|
|
|
21
22
|
export { defaultProps, varsResolver };
|
|
22
23
|
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
24
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SliderOwnProps
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SliderOwnProps & RootRefProps<Element>, {
|
|
25
26
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
26
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
28
|
change: (value: number) => any;
|
|
28
29
|
"update:modelValue": (value: number) => any;
|
|
29
30
|
"change-end": (value: number) => any;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<SliderOwnProps
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<SliderOwnProps & RootRefProps<Element>> & Readonly<{
|
|
31
32
|
onChange?: ((value: number) => any) | undefined;
|
|
32
33
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
33
34
|
"onChange-end"?: ((value: number) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SliderRoot: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./SliderRoot.types").SliderRootProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./SliderRoot.types").SliderRootSlots;
|
|
5
5
|
element: "div";
|
|
@@ -6,8 +6,6 @@ export interface SliderRootSlots {
|
|
|
6
6
|
}
|
|
7
7
|
/** Props declared by `SliderRoot` itself. See `SliderRootProps` for the full public type. */
|
|
8
8
|
export interface SliderRootOwnProps {
|
|
9
|
-
/** Receives the root DOM node. */
|
|
10
|
-
rootRef?: VueRefTarget<Element>;
|
|
11
9
|
/** Controls the size of the track. Passed through to the Styles API payload. */
|
|
12
10
|
size: string | number;
|
|
13
11
|
/**
|
|
@@ -29,9 +27,8 @@ export interface SliderRootProps extends Omit<BoxProps, keyof SliderRootOwnProps
|
|
|
29
27
|
}
|
|
30
28
|
export type SliderRootStylesNames = 'root';
|
|
31
29
|
export type SliderRootFactory = Factory<{
|
|
32
|
-
props:
|
|
30
|
+
props: SliderRootProps;
|
|
33
31
|
ref: HTMLDivElement;
|
|
34
32
|
slots: SliderRootSlots;
|
|
35
33
|
element: 'div';
|
|
36
34
|
}>;
|
|
37
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SliderRootOwnProps, SliderRootSlots } from './SliderRoot.types';
|
|
3
|
+
type __VLS_Props = SliderRootOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = SliderRootSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
4
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
8
10
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** Draggable thumb of a `Slider` or `RangeSlider`, including its floating label. */
|
|
2
2
|
export declare const Thumb: {
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./Thumb.types").SliderThumbOwnProps> & Readonly<{
|
|
4
|
-
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
5
4
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
6
5
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
6
|
+
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
9
8
|
blur: (event: FocusEvent) => any;
|
|
10
9
|
focus: (event: FocusEvent) => any;
|
|
10
|
+
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
11
11
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
12
12
|
P: {};
|
|
13
13
|
B: {};
|
|
@@ -16,21 +16,21 @@ export declare const Thumb: {
|
|
|
16
16
|
M: {};
|
|
17
17
|
Defaults: {};
|
|
18
18
|
}, Readonly<import("./Thumb.types").SliderThumbOwnProps> & Readonly<{
|
|
19
|
-
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
20
19
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
21
20
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
+
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, {}>;
|
|
23
23
|
__isFragment?: never;
|
|
24
24
|
__isTeleport?: never;
|
|
25
25
|
__isSuspense?: never;
|
|
26
26
|
} & import("vue").ComponentOptionsBase<Readonly<import("./Thumb.types").SliderThumbOwnProps> & Readonly<{
|
|
27
|
-
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
28
27
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
28
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
30
30
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
32
31
|
blur: (event: FocusEvent) => any;
|
|
33
32
|
focus: (event: FocusEvent) => any;
|
|
33
|
+
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
34
34
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
35
35
|
$slots: import("./Thumb.types").SliderThumbSlots;
|
|
36
36
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
2
|
import type { BoxProps } from '../../../core';
|
|
3
|
+
import type { TransitionOverride } from '../../Transition';
|
|
3
4
|
export interface SliderThumbSlots {
|
|
4
5
|
/** Content rendered inside the thumb. */
|
|
5
6
|
default?: () => VNodeChild;
|
|
@@ -25,7 +26,7 @@ export interface SliderThumbOwnProps {
|
|
|
25
26
|
/** `aria-valuetext`, or a function that builds it from the current value. */
|
|
26
27
|
thumbValueText?: string | ((value: number) => string);
|
|
27
28
|
/** Props passed down to the label transition. */
|
|
28
|
-
labelTransitionProps?:
|
|
29
|
+
labelTransitionProps?: TransitionOverride;
|
|
29
30
|
/**
|
|
30
31
|
* If set, the label is always visible.
|
|
31
32
|
*
|
|
@@ -15,13 +15,13 @@ export { ThumbLabel };
|
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SliderThumbOwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
19
18
|
blur: (event: FocusEvent) => any;
|
|
20
19
|
focus: (event: FocusEvent) => any;
|
|
20
|
+
mousedown: (event: MouseEvent | TouchEvent) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<SliderThumbOwnProps> & Readonly<{
|
|
22
|
-
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
23
22
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
24
23
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
24
|
+
onMousedown?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SliderThumbSlots>;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
27
27
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
2
2
|
import type { SliderMark } from '../SliderMark';
|
|
3
3
|
export interface SliderTrackSlots {
|
|
4
4
|
/** Thumbs rendered over the track. */
|
|
@@ -39,5 +39,5 @@ export interface SliderTrackProps {
|
|
|
39
39
|
*/
|
|
40
40
|
inverted?: boolean;
|
|
41
41
|
/** Props passed down to the track container element. */
|
|
42
|
-
containerProps?:
|
|
42
|
+
containerProps?: HTMLAttributes;
|
|
43
43
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { BoxProps, Factory } from '../../core';
|
|
2
2
|
/** Props declared by `Space` itself. See `SpaceProps` for the full public type. */
|
|
3
3
|
export interface SpaceOwnProps {
|
|
4
|
-
/** Receives the root DOM node. */
|
|
5
|
-
rootRef?: VueRefTarget<Element>;
|
|
6
4
|
/** Width, theme key: theme.spacing */
|
|
7
5
|
w?: string | number;
|
|
8
6
|
/** Height, theme key: theme.spacing */
|
|
@@ -15,8 +13,7 @@ export interface SpaceOwnProps {
|
|
|
15
13
|
export interface SpaceProps extends Omit<BoxProps, keyof SpaceOwnProps>, SpaceOwnProps {
|
|
16
14
|
}
|
|
17
15
|
export type SpaceFactory = Factory<{
|
|
18
|
-
props:
|
|
16
|
+
props: SpaceProps;
|
|
19
17
|
ref: HTMLDivElement;
|
|
20
18
|
element: 'div';
|
|
21
19
|
}>;
|
|
22
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SpaceOwnProps } from './Space.types';
|
|
3
|
+
type __VLS_Props = SpaceOwnProps & RootRefProps<Element>;
|
|
2
4
|
declare var __VLS_8: {};
|
|
3
5
|
type __VLS_Slots = {} & {
|
|
4
6
|
default?: (props: typeof __VLS_8) => any;
|
|
5
7
|
};
|
|
6
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
7
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
12
|
declare const _default: typeof __VLS_export;
|
|
11
13
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SplitterPane } from './SplitterPane/SplitterPane';
|
|
2
2
|
export declare const Splitter: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./Splitter.types").SplitterProps;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
slots: import("./Splitter.types").SplitterSlots;
|
|
6
6
|
emits: import("./Splitter.types").SplitterEmits;
|
|
@@ -13,8 +13,6 @@ export interface SplitterSlots {
|
|
|
13
13
|
}
|
|
14
14
|
/** Props declared by `Splitter` itself. See `SplitterProps` for the full public type. */
|
|
15
15
|
export interface SplitterOwnProps extends StylesApiProps<SplitterFactory> {
|
|
16
|
-
/** Receives the root DOM node. */
|
|
17
|
-
rootRef?: VueRefTarget<Element>;
|
|
18
16
|
/**
|
|
19
17
|
* Direction the panes are laid out in.
|
|
20
18
|
*
|
|
@@ -88,7 +86,7 @@ export interface SplitterEmits {
|
|
|
88
86
|
'collapse-change': [panelIndex: number, collapsed: boolean];
|
|
89
87
|
}
|
|
90
88
|
export type SplitterFactory = Factory<{
|
|
91
|
-
props:
|
|
89
|
+
props: SplitterProps;
|
|
92
90
|
ref: HTMLDivElement;
|
|
93
91
|
slots: SplitterSlots;
|
|
94
92
|
emits: SplitterEmits;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SplitterOwnProps, SplitterSlots } from './Splitter.types';
|
|
2
3
|
import type { VNode } from 'vue';
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -18,7 +19,7 @@ declare function flattenChildren(children: VNode[]): VNode[];
|
|
|
18
19
|
export { defaultProps, varsResolver, flattenChildren };
|
|
19
20
|
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SplitterOwnProps
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SplitterOwnProps & RootRefProps<Element>, {
|
|
22
23
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
23
24
|
sizes: number[];
|
|
24
25
|
collapsed: boolean[];
|
|
@@ -36,7 +37,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Splitt
|
|
|
36
37
|
"resize-end": (handleIndex: number, sizes: number[]) => any;
|
|
37
38
|
"update:sizes": (sizes: number[]) => any;
|
|
38
39
|
"collapse-change": (panelIndex: number, collapsed: boolean) => any;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<SplitterOwnProps
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<SplitterOwnProps & RootRefProps<Element>> & Readonly<{
|
|
40
41
|
"onSize-change"?: ((sizes: number[]) => any) | undefined;
|
|
41
42
|
"onResize-start"?: ((handleIndex: number) => any) | undefined;
|
|
42
43
|
"onResize-end"?: ((handleIndex: number, sizes: number[]) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SplitterPane: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./SplitterPane.types").SplitterPaneProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./SplitterPane.types").SplitterPaneSlots;
|
|
5
5
|
element: "div";
|
|
@@ -7,8 +7,6 @@ export interface SplitterPaneSlots {
|
|
|
7
7
|
}
|
|
8
8
|
/** Props declared by `SplitterPane` itself. See `SplitterPaneProps` for the full public type. */
|
|
9
9
|
export interface SplitterPaneOwnProps {
|
|
10
|
-
/** Receives the root DOM node. */
|
|
11
|
-
rootRef?: VueRefTarget<Element>;
|
|
12
10
|
/** Size the pane starts at, as a percentage of the splitter. */
|
|
13
11
|
defaultSize: number;
|
|
14
12
|
/** Smallest size the pane can be resized to, as a percentage. */
|
|
@@ -37,10 +35,9 @@ export interface SplitterPaneOwnProps {
|
|
|
37
35
|
export interface SplitterPaneProps extends Omit<BoxProps, keyof SplitterPaneOwnProps>, SplitterPaneOwnProps {
|
|
38
36
|
}
|
|
39
37
|
export type SplitterPaneFactory = Factory<{
|
|
40
|
-
props:
|
|
38
|
+
props: SplitterPaneProps;
|
|
41
39
|
ref: HTMLDivElement;
|
|
42
40
|
slots: SplitterPaneSlots;
|
|
43
41
|
element: 'div';
|
|
44
42
|
stylesNames: SplitterPaneStylesNames;
|
|
45
43
|
}>;
|
|
46
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SplitterPaneOwnProps, SplitterPaneSlots } from './SplitterPane.types';
|
|
3
|
+
type __VLS_Props = SplitterPaneOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = SplitterPaneSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
4
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
8
10
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Spoiler: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Spoiler.types").SpoilerProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./Spoiler.types").SpoilerSlots;
|
|
5
5
|
emits: import("./Spoiler.types").SpoilerEmits;
|
|
@@ -14,8 +14,6 @@ export interface SpoilerSlots {
|
|
|
14
14
|
}
|
|
15
15
|
/** Props declared by `Spoiler` itself. See `SpoilerProps` for the full public type. */
|
|
16
16
|
export interface SpoilerOwnProps extends StylesApiProps<SpoilerFactory> {
|
|
17
|
-
/** Receives the root DOM node. */
|
|
18
|
-
rootRef?: VueRefTarget<Element>;
|
|
19
17
|
/**
|
|
20
18
|
* Maximum height of visible content in px. When content exceeds this height,
|
|
21
19
|
* the toggle control appears.
|
|
@@ -59,7 +57,7 @@ export interface SpoilerEmits {
|
|
|
59
57
|
'update:expanded': [expanded: boolean];
|
|
60
58
|
}
|
|
61
59
|
export type SpoilerFactory = Factory<{
|
|
62
|
-
props:
|
|
60
|
+
props: SpoilerProps;
|
|
63
61
|
ref: HTMLDivElement;
|
|
64
62
|
slots: SpoilerSlots;
|
|
65
63
|
emits: SpoilerEmits;
|
|
@@ -67,4 +65,3 @@ export type SpoilerFactory = Factory<{
|
|
|
67
65
|
stylesNames: SpoilerStylesNames;
|
|
68
66
|
vars: SpoilerCssVariables;
|
|
69
67
|
}>;
|
|
70
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SpoilerOwnProps, SpoilerSlots } from './Spoiler.types';
|
|
2
3
|
declare const defaultProps: {
|
|
3
4
|
readonly maxHeight: 100;
|
|
@@ -8,11 +9,11 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
8
9
|
export { defaultProps, varsResolver };
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SpoilerOwnProps
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SpoilerOwnProps & RootRefProps<Element>, {
|
|
12
13
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
13
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
15
|
"update:expanded": (expanded: boolean) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<SpoilerOwnProps
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<SpoilerOwnProps & RootRefProps<Element>> & Readonly<{
|
|
16
17
|
"onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
|
|
17
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SpoilerSlots>;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { AlignItems, BoxProps, JustifyContent, MantineSpacing, StylesApiProps, Factory } from '../../core';
|
|
2
2
|
/** Props declared by `Stack` itself. See `StackProps` for the full public type. */
|
|
3
3
|
export interface StackOwnProps extends StylesApiProps<StackFactory> {
|
|
4
|
-
/** Receives the root DOM node. */
|
|
5
|
-
rootRef?: VueRefTarget<Element>;
|
|
6
4
|
/**
|
|
7
5
|
* Key of `theme.spacing` or any valid CSS value to set `gap` property, numbers are converted to rem
|
|
8
6
|
*
|
|
@@ -29,10 +27,9 @@ export type StackCssVariables = {
|
|
|
29
27
|
root: '--stack-gap' | '--stack-align' | '--stack-justify';
|
|
30
28
|
};
|
|
31
29
|
export type StackFactory = Factory<{
|
|
32
|
-
props:
|
|
30
|
+
props: StackProps;
|
|
33
31
|
ref: HTMLDivElement;
|
|
34
32
|
element: 'div';
|
|
35
33
|
stylesNames: StackStylesNames;
|
|
36
34
|
vars: StackCssVariables;
|
|
37
35
|
}>;
|
|
38
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|