@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,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { NativeSelectOwnProps, NativeSelectSlots } from './NativeSelect.types';
|
|
2
3
|
declare const defaultProps: {
|
|
3
4
|
readonly size: "sm";
|
|
@@ -6,12 +7,12 @@ declare const defaultProps: {
|
|
|
6
7
|
export { defaultProps };
|
|
7
8
|
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
9
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<NativeSelectOwnProps
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<NativeSelectOwnProps & RootRefProps<Element>, {
|
|
10
11
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
11
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
change: (value: string) => any;
|
|
13
14
|
"update:modelValue": (value: string) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<NativeSelectOwnProps
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<NativeSelectOwnProps & RootRefProps<Element>> & Readonly<{
|
|
15
16
|
onChange?: ((value: string) => any) | undefined;
|
|
16
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NativeSelectSlots>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const NavLink: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./NavLink.types").NavLinkProps, "component"
|
|
2
|
+
props: Omit<import("./NavLink.types").NavLinkProps, "component">;
|
|
3
3
|
slots: import("./NavLink.types").NavLinkSlots;
|
|
4
4
|
emits: import("./NavLink.types").NavLinkEmits;
|
|
5
5
|
ref: HTMLAnchorElement;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineSpacing, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
4
3
|
export type NavLinkStylesNames = 'root' | 'section' | 'body' | 'label' | 'description' | 'chevron' | 'collapse' | 'children';
|
|
5
4
|
export type NavLinkVariant = 'filled' | 'light' | 'subtle';
|
|
6
5
|
/** Props declared by `NavLink` itself. See `NavLinkProps` for the full public type. */
|
|
7
6
|
export interface NavLinkOwnProps extends StylesApiProps<NavLinkProps> {
|
|
8
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
9
|
-
rootRef?: VueRefTarget<Element>;
|
|
10
7
|
/**
|
|
11
8
|
* Root element or component rendered by `NavLink`.
|
|
12
9
|
*
|
|
@@ -103,7 +100,7 @@ export interface NavLinkEmits {
|
|
|
103
100
|
}
|
|
104
101
|
/** Public contract of `NavLink`. `component` and `rootRef` come from the factory. */
|
|
105
102
|
export type NavLinkFactory = PolymorphicFactory<{
|
|
106
|
-
props: Omit<NavLinkProps, 'component'
|
|
103
|
+
props: Omit<NavLinkProps, 'component'>;
|
|
107
104
|
slots: NavLinkSlots;
|
|
108
105
|
emits: NavLinkEmits;
|
|
109
106
|
ref: HTMLAnchorElement;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { NavLinkOwnProps, NavLinkSlots } from './NavLink.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<NavLinkOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<NavLinkOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
"update:opened": (opened: boolean) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<NavLinkOwnProps
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<NavLinkOwnProps & RootRefProps<Element>> & Readonly<{
|
|
11
12
|
"onUpdate:opened"?: ((opened: boolean) => any) | undefined;
|
|
12
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NavLinkSlots>;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Notification: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Notification.types").NotificationProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./Notification.types").NotificationSlots;
|
|
5
5
|
element: "div";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
2
|
import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineRadius, StylesApiProps, Factory } from '../../core';
|
|
3
3
|
import type { CloseButtonProps } from '../CloseButton';
|
|
4
|
+
import type { LoaderProps } from '../Loader';
|
|
4
5
|
export type NotificationStylesNames = 'root' | 'icon' | 'loader' | 'body' | 'title' | 'description' | 'closeButton';
|
|
5
6
|
/** Props declared by `Notification` itself. See `NotificationProps` for the full public type. */
|
|
6
7
|
export interface NotificationOwnProps extends StylesApiProps<NotificationFactory> {
|
|
7
|
-
/** Receives the root DOM node. */
|
|
8
|
-
rootRef?: VueRefTarget<Element>;
|
|
9
8
|
/**
|
|
10
9
|
* Controls icon background color or notification accent line color, key of `theme.colors` or any valid CSS color. When `icon` is provided, sets the icon background color. When no icon is provided, sets the colored accent line on the left.
|
|
11
10
|
*
|
|
@@ -43,7 +42,7 @@ export interface NotificationOwnProps extends StylesApiProps<NotificationFactory
|
|
|
43
42
|
/** Props passed down to the close button */
|
|
44
43
|
closeButtonProps?: CloseButtonProps;
|
|
45
44
|
/** Props passed down to the `Loader` component */
|
|
46
|
-
loaderProps?:
|
|
45
|
+
loaderProps?: LoaderProps;
|
|
47
46
|
/** Element modifiers transformed into `data-` attributes, for example, `{ 'data-size': 'xl' }`, falsy values are removed */
|
|
48
47
|
mod?: BoxMod;
|
|
49
48
|
}
|
|
@@ -61,11 +60,10 @@ export type NotificationCssVariables = {
|
|
|
61
60
|
root: '--notification-radius' | '--notification-color';
|
|
62
61
|
};
|
|
63
62
|
export type NotificationFactory = Factory<{
|
|
64
|
-
props:
|
|
63
|
+
props: NotificationProps;
|
|
65
64
|
ref: HTMLDivElement;
|
|
66
65
|
slots: NotificationSlots;
|
|
67
66
|
element: 'div';
|
|
68
67
|
stylesNames: NotificationStylesNames;
|
|
69
68
|
vars: NotificationCssVariables;
|
|
70
69
|
}>;
|
|
71
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { NotificationOwnProps, NotificationSlots } from './Notification.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<NotificationOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<NotificationOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
close: () => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<NotificationOwnProps
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<NotificationOwnProps & RootRefProps<Element>> & Readonly<{
|
|
11
12
|
onClose?: (() => any) | undefined;
|
|
12
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NotificationSlots>;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const NumberInput: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./NumberInput.types").NumberInputProps;
|
|
3
3
|
slots: import("./NumberInput.types").NumberInputSlots;
|
|
4
4
|
emits: import("./NumberInput.types").NumberInputEmits;
|
|
5
5
|
ref: HTMLInputElement;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { Factory, MantineNode, MantineSize, StylesApiProps } from '../../core';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
import type { DataAttributes, Factory, MantineNode, MantineSize, StylesApiProps } from '../../core';
|
|
4
3
|
import type { ThousandsGroupStyle } from '../NumberFormatter';
|
|
5
4
|
export interface NumberInputHandlers {
|
|
6
5
|
/** Increases the value by one step. */
|
|
@@ -44,8 +43,6 @@ export interface NumberInputValueChangePayload {
|
|
|
44
43
|
* Every prop of `InputBase` is also accepted and forwarded to the underlying input.
|
|
45
44
|
*/
|
|
46
45
|
export interface NumberInputProps extends StylesApiProps<NumberInputFactory> {
|
|
47
|
-
/** Receives the input element */
|
|
48
|
-
rootRef?: VueRefTarget<Element>;
|
|
49
46
|
/** Value, bound with `v-model`. */
|
|
50
47
|
modelValue?: NumberInputValue;
|
|
51
48
|
/** Uncontrolled initial value. */
|
|
@@ -205,7 +202,7 @@ export interface NumberInputProps extends StylesApiProps<NumberInputFactory> {
|
|
|
205
202
|
/** If set, the asterisk is shown without setting the `required` attribute. */
|
|
206
203
|
withAsterisk?: boolean;
|
|
207
204
|
/** Props passed down to the root element. */
|
|
208
|
-
wrapperProps?:
|
|
205
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
209
206
|
/**
|
|
210
207
|
* If set, all Mantine classes are removed.
|
|
211
208
|
*
|
|
@@ -230,7 +227,7 @@ export interface NumberInputEmits {
|
|
|
230
227
|
'max-reached': [];
|
|
231
228
|
}
|
|
232
229
|
export type NumberInputFactory = Factory<{
|
|
233
|
-
props:
|
|
230
|
+
props: NumberInputProps;
|
|
234
231
|
slots: NumberInputSlots;
|
|
235
232
|
emits: NumberInputEmits;
|
|
236
233
|
ref: HTMLInputElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const OverflowList: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./OverflowList.types").OverflowListProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./OverflowList.types").OverflowListSlots;
|
|
5
5
|
element: "div";
|
|
@@ -22,8 +22,6 @@ export interface OverflowListSlots {
|
|
|
22
22
|
}
|
|
23
23
|
/** Props declared by `OverflowList` itself. See `OverflowListProps` for the full public type. */
|
|
24
24
|
export interface OverflowListOwnProps extends StylesApiProps<OverflowListFactory> {
|
|
25
|
-
/** Receives the root DOM node. */
|
|
26
|
-
rootRef?: VueRefTarget<Element>;
|
|
27
25
|
/** Items rendered in the list. */
|
|
28
26
|
data: any[];
|
|
29
27
|
/**
|
|
@@ -66,11 +64,10 @@ export interface OverflowListOwnProps extends StylesApiProps<OverflowListFactory
|
|
|
66
64
|
export interface OverflowListProps extends Omit<BoxProps, keyof OverflowListOwnProps>, OverflowListOwnProps {
|
|
67
65
|
}
|
|
68
66
|
export type OverflowListFactory = Factory<{
|
|
69
|
-
props:
|
|
67
|
+
props: OverflowListProps;
|
|
70
68
|
ref: HTMLDivElement;
|
|
71
69
|
slots: OverflowListSlots;
|
|
72
70
|
element: 'div';
|
|
73
71
|
stylesNames: OverflowListStylesNames;
|
|
74
72
|
vars: OverflowListCssVariables;
|
|
75
73
|
}>;
|
|
76
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { OverflowListOwnProps, OverflowListSlots } from './OverflowList.types';
|
|
2
3
|
declare const defaultProps: {
|
|
3
4
|
readonly maxRows: 1;
|
|
@@ -15,10 +16,10 @@ declare function getEl(value: any): HTMLElement | null;
|
|
|
15
16
|
export { defaultProps, varsResolver, getDataSignature, getEl };
|
|
16
17
|
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<OverflowListOwnProps
|
|
19
|
-
root: import("vue").Ref<
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<OverflowListOwnProps & RootRefProps<Element>, {
|
|
20
|
+
root: import("vue").Ref<Element | null, Element | null>;
|
|
20
21
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
21
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OverflowListOwnProps
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OverflowListOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, OverflowListSlots>;
|
|
22
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
24
|
new (): {
|
|
24
25
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Overlay: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./Overlay.types").OverlayProps, "component"
|
|
2
|
+
props: Omit<import("./Overlay.types").OverlayProps, "component">;
|
|
3
3
|
slots: import("./Overlay.types").OverlaySlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { BoxProps, MantineRadius, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
3
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, DataAttributes, MantineRadius, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
4
3
|
/** Props declared by `Overlay` itself. See `OverlayProps` for the full public type. */
|
|
5
4
|
export interface OverlayOwnProps extends StylesApiProps<OverlayProps> {
|
|
6
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
5
|
/**
|
|
9
6
|
* Root element or component rendered by `Overlay`.
|
|
10
7
|
*
|
|
@@ -56,7 +53,7 @@ export interface OverlayOwnProps extends StylesApiProps<OverlayProps> {
|
|
|
56
53
|
*/
|
|
57
54
|
fixed?: boolean;
|
|
58
55
|
}
|
|
59
|
-
export interface OverlayProps extends Omit<BoxProps, keyof OverlayOwnProps>, OverlayOwnProps {
|
|
56
|
+
export interface OverlayProps extends Omit<BoxProps & HTMLAttributes & DataAttributes, keyof OverlayOwnProps>, OverlayOwnProps {
|
|
60
57
|
}
|
|
61
58
|
export type OverlayStylesNames = 'root';
|
|
62
59
|
export type OverlayCssVariables = {
|
|
@@ -68,7 +65,7 @@ export interface OverlaySlots {
|
|
|
68
65
|
}
|
|
69
66
|
/** Public contract of `Overlay`. `component` and `rootRef` come from the factory. */
|
|
70
67
|
export type OverlayFactory = PolymorphicFactory<{
|
|
71
|
-
props: Omit<OverlayProps, 'component'
|
|
68
|
+
props: Omit<OverlayProps, 'component'>;
|
|
72
69
|
slots: OverlaySlots;
|
|
73
70
|
ref: HTMLDivElement;
|
|
74
71
|
exposed: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { OverlayOwnProps } from './Overlay.types';
|
|
2
3
|
/** Module scope: created once, not per component instance. */
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -7,9 +8,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
7
8
|
export { defaultProps, varsResolver };
|
|
8
9
|
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<OverlayOwnProps
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<OverlayOwnProps & RootRefProps<Element>, {
|
|
11
12
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OverlayOwnProps
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OverlayOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
13
14
|
default?: (props: {}) => any;
|
|
14
15
|
}>;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -61,14 +61,14 @@ export declare const Pagination: {
|
|
|
61
61
|
varsResolver: (theme: import("../../index.js").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
62
62
|
};
|
|
63
63
|
Control: import("../../index.js").MantineComponent<{
|
|
64
|
-
props:
|
|
64
|
+
props: import("./index.js").PaginationControlProps;
|
|
65
65
|
ref: HTMLButtonElement;
|
|
66
66
|
slots: import("./index.js").PaginationControlSlots;
|
|
67
67
|
element: "button";
|
|
68
68
|
stylesNames: import("./PaginationControl/PaginationControl.types.js").PaginationControlStylesNames;
|
|
69
69
|
}>;
|
|
70
70
|
Dots: import("../../index.js").MantineComponent<{
|
|
71
|
-
props:
|
|
71
|
+
props: import("./PaginationDots/PaginationDots.types.js").PaginationDotsProps;
|
|
72
72
|
ref: HTMLSpanElement;
|
|
73
73
|
slots: import("./PaginationDots/PaginationDots.types.js").PaginationDotsSlots;
|
|
74
74
|
element: "span";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Single control of a `Pagination`: a page number or an edge button. */
|
|
2
2
|
export declare const PaginationControl: import("../../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./PaginationControl.types").PaginationControlProps;
|
|
4
4
|
ref: HTMLButtonElement;
|
|
5
5
|
slots: import("./PaginationControl.types").PaginationControlSlots;
|
|
6
6
|
element: "button";
|
|
@@ -9,8 +9,6 @@ export interface PaginationControlSlots {
|
|
|
9
9
|
* See `PaginationControlProps` for the full public type.
|
|
10
10
|
*/
|
|
11
11
|
export interface PaginationControlOwnProps {
|
|
12
|
-
/** Receives the root DOM node. */
|
|
13
|
-
rootRef?: VueRefTarget<Element>;
|
|
14
12
|
/**
|
|
15
13
|
* If set, the control is marked as the current page.
|
|
16
14
|
*
|
|
@@ -41,10 +39,9 @@ export interface PaginationControlProps extends Omit<BoxProps, keyof PaginationC
|
|
|
41
39
|
}
|
|
42
40
|
export type PaginationControlStylesNames = 'control';
|
|
43
41
|
export type PaginationControlFactory = Factory<{
|
|
44
|
-
props:
|
|
42
|
+
props: PaginationControlProps;
|
|
45
43
|
ref: HTMLButtonElement;
|
|
46
44
|
slots: PaginationControlSlots;
|
|
47
45
|
element: 'button';
|
|
48
46
|
stylesNames: PaginationControlStylesNames;
|
|
49
47
|
}>;
|
|
50
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationControlOwnProps, PaginationControlSlots } from './PaginationControl.types';
|
|
3
|
+
type __VLS_Props = PaginationControlOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = PaginationControlSlots;
|
|
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 PaginationDots: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./PaginationDots.types").PaginationDotsProps;
|
|
3
3
|
ref: HTMLSpanElement;
|
|
4
4
|
slots: import("./PaginationDots.types").PaginationDotsSlots;
|
|
5
5
|
element: "span";
|
|
@@ -2,8 +2,6 @@ import type { VNodeChild } from 'vue';
|
|
|
2
2
|
import type { BoxProps, Factory } from '../../../core';
|
|
3
3
|
/** Props declared by `PaginationDots` itself. See `PaginationDotsProps` for the full public type. */
|
|
4
4
|
export interface PaginationDotsOwnProps {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/** Custom dots icon component, must accept svg element props and size prop */
|
|
8
6
|
icon?: any;
|
|
9
7
|
}
|
|
@@ -15,9 +13,8 @@ export interface PaginationDotsProps extends Omit<BoxProps, keyof PaginationDots
|
|
|
15
13
|
}
|
|
16
14
|
export type PaginationDotsStylesNames = 'dots';
|
|
17
15
|
export type PaginationDotsFactory = Factory<{
|
|
18
|
-
props:
|
|
16
|
+
props: PaginationDotsProps;
|
|
19
17
|
ref: HTMLSpanElement;
|
|
20
18
|
slots: PaginationDotsSlots;
|
|
21
19
|
element: 'span';
|
|
22
20
|
}>;
|
|
23
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationDotsOwnProps, PaginationDotsSlots } from './PaginationDots.types';
|
|
3
|
+
type __VLS_Props = PaginationDotsOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = PaginationDotsSlots;
|
|
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,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationEdgeOwnProps } from './PaginationEdges.types';
|
|
2
3
|
import type { PaginationEdgeKind } from './PaginationEdges.types';
|
|
3
4
|
/**
|
|
@@ -15,9 +16,9 @@ declare const _default: typeof __VLS_export;
|
|
|
15
16
|
export default _default;
|
|
16
17
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaginationEdgeOwnProps & {
|
|
17
18
|
__edge: PaginationEdgeKind;
|
|
18
|
-
}
|
|
19
|
+
} & RootRefProps<HTMLButtonElement>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PaginationEdgeOwnProps & {
|
|
19
20
|
__edge: PaginationEdgeKind;
|
|
20
|
-
}
|
|
21
|
+
} & RootRefProps<HTMLButtonElement>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
21
22
|
icon?: () => any;
|
|
22
23
|
}>;
|
|
23
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Factory } from '../../../core';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { Component, VNodeChild } from 'vue';
|
|
4
3
|
import type { BoxProps } from '../../../core';
|
|
5
4
|
/** Which end of the pagination an edge control moves to. */
|
|
@@ -10,8 +9,6 @@ export interface PaginationEdgeSlots {
|
|
|
10
9
|
}
|
|
11
10
|
/** Props declared by the pagination edge controls. */
|
|
12
11
|
export interface PaginationEdgeOwnProps {
|
|
13
|
-
/** Receives the root DOM node -- the edge controls always render a button. */
|
|
14
|
-
rootRef?: VueRefTarget<HTMLButtonElement>;
|
|
15
12
|
/**
|
|
16
13
|
* Component rendered as the icon. Defaults to the icon that matches the edge.
|
|
17
14
|
* Can also be set with the `icon` slot – the slot takes precedence.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationEdgeOwnProps, PaginationEdgeSlots } from './PaginationEdges.types';
|
|
3
|
+
type __VLS_Props = PaginationEdgeOwnProps & RootRefProps<HTMLButtonElement>;
|
|
2
4
|
type __VLS_Slots = PaginationEdgeSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
7
|
declare const _default: typeof __VLS_export;
|
|
6
8
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationEdgeOwnProps, PaginationEdgeSlots } from './PaginationEdges.types';
|
|
3
|
+
type __VLS_Props = PaginationEdgeOwnProps & RootRefProps<HTMLButtonElement>;
|
|
2
4
|
type __VLS_Slots = PaginationEdgeSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
7
|
declare const _default: typeof __VLS_export;
|
|
6
8
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationEdgeOwnProps, PaginationEdgeSlots } from './PaginationEdges.types';
|
|
3
|
+
type __VLS_Props = PaginationEdgeOwnProps & RootRefProps<HTMLButtonElement>;
|
|
2
4
|
type __VLS_Slots = PaginationEdgeSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
7
|
declare const _default: typeof __VLS_export;
|
|
6
8
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PaginationEdgeOwnProps, PaginationEdgeSlots } from './PaginationEdges.types';
|
|
3
|
+
type __VLS_Props = PaginationEdgeOwnProps & RootRefProps<HTMLButtonElement>;
|
|
2
4
|
type __VLS_Slots = PaginationEdgeSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
7
|
declare const _default: typeof __VLS_export;
|
|
6
8
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Paper: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./Paper.types").PaperProps, "component"
|
|
2
|
+
props: Omit<import("./Paper.types").PaperProps, "component">;
|
|
3
3
|
slots: import("./Paper.types").PaperSlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -10,8 +10,6 @@ export interface PaperSlots {
|
|
|
10
10
|
}
|
|
11
11
|
/** Props declared by `Paper` itself. See `PaperProps` for the full public type. */
|
|
12
12
|
export interface PaperOwnProps extends StylesApiProps<PaperFactory> {
|
|
13
|
-
/** Receives the root DOM node. See the polymorphic components guide. */
|
|
14
|
-
rootRef?: VueRefTarget<Element>;
|
|
15
13
|
/**
|
|
16
14
|
* Root element or component rendered by `Paper`.
|
|
17
15
|
* @default 'div'
|
|
@@ -31,11 +29,10 @@ export interface PaperOwnProps extends StylesApiProps<PaperFactory> {
|
|
|
31
29
|
*/
|
|
32
30
|
withBorder?: boolean;
|
|
33
31
|
}
|
|
34
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
35
32
|
export interface PaperProps extends Omit<BoxProps, keyof PaperOwnProps>, PaperOwnProps {
|
|
36
33
|
}
|
|
37
34
|
export type PaperFactory = PolymorphicFactory<{
|
|
38
|
-
props: Omit<PaperProps, 'component'
|
|
35
|
+
props: Omit<PaperProps, 'component'>;
|
|
39
36
|
slots: PaperSlots;
|
|
40
37
|
ref: HTMLDivElement;
|
|
41
38
|
exposed: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { PaperOwnProps, PaperSlots } from './Paper.types';
|
|
2
3
|
/** Module scope: created once, not per component instance. */
|
|
3
4
|
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
4
5
|
export { varsResolver };
|
|
5
6
|
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
7
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaperOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaperOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PaperOwnProps
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PaperOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaperSlots>;
|
|
10
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
11
12
|
new (): {
|
|
12
13
|
$slots: S;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { Component, VNodeChild } from 'vue';
|
|
2
|
-
import type { BoxProps, MantineNode, MantineRadius, MantineSize, StylesApiProps } from '../../core';
|
|
1
|
+
import type { Component, HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, DataAttributes, MantineNode, MantineRadius, MantineSize, StylesApiProps } from '../../core';
|
|
3
|
+
import type { InputDescriptionProps, InputErrorProps, InputLabelProps } from '../Input';
|
|
3
4
|
export type PasswordInputStylesNames = 'root' | 'visibilityToggle' | 'innerInput' | 'input' | 'wrapper' | 'section' | 'bottomSection' | 'label' | 'required' | 'description' | 'error';
|
|
4
5
|
export type PasswordInputCssVariables = {
|
|
5
6
|
root: '--psi-icon-size' | '--psi-button-size';
|
|
@@ -27,7 +28,7 @@ export interface PasswordInputSlots {
|
|
|
27
28
|
* See `PasswordInputProps` for the full public type.
|
|
28
29
|
*
|
|
29
30
|
* The Styles API payload is left open because the resolved props are forwarded to
|
|
30
|
-
* `Input` and `Input.Wrapper` as `
|
|
31
|
+
* `Input` and `Input.Wrapper` as `__styles`ApiProps`.
|
|
31
32
|
*/
|
|
32
33
|
export interface PasswordInputOwnProps extends StylesApiProps {
|
|
33
34
|
/** Controlled value, bound with `v-model`. */
|
|
@@ -74,11 +75,11 @@ export interface PasswordInputOwnProps extends StylesApiProps {
|
|
|
74
75
|
*/
|
|
75
76
|
withAsterisk?: boolean;
|
|
76
77
|
/** Props passed down to the `Input.Label` component. */
|
|
77
|
-
labelProps?:
|
|
78
|
+
labelProps?: InputLabelProps & DataAttributes;
|
|
78
79
|
/** Props passed down to the `Input.Description` component. */
|
|
79
|
-
descriptionProps?:
|
|
80
|
+
descriptionProps?: InputDescriptionProps & DataAttributes;
|
|
80
81
|
/** Props passed down to the `Input.Error` component. */
|
|
81
|
-
errorProps?:
|
|
82
|
+
errorProps?: InputErrorProps & DataAttributes;
|
|
82
83
|
/** Function that renders the input around the given children. */
|
|
83
84
|
inputContainer?: (children: any) => any;
|
|
84
85
|
/**
|
|
@@ -88,7 +89,7 @@ export interface PasswordInputOwnProps extends StylesApiProps {
|
|
|
88
89
|
*/
|
|
89
90
|
inputWrapperOrder?: Array<'label' | 'input' | 'description' | 'error'>;
|
|
90
91
|
/** Props passed down to the root element (`Input.Wrapper` component). */
|
|
91
|
-
wrapperProps?:
|
|
92
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
92
93
|
/** `id` shared by the input, label, description and error elements. Generated when not set. */
|
|
93
94
|
id?: string;
|
|
94
95
|
/**
|
|
@@ -123,7 +124,7 @@ export interface PasswordInputOwnProps extends StylesApiProps {
|
|
|
123
124
|
/** Width of the left section. */
|
|
124
125
|
leftSectionWidth?: string | number;
|
|
125
126
|
/** Props passed down to the left section element. */
|
|
126
|
-
leftSectionProps?:
|
|
127
|
+
leftSectionProps?: HTMLAttributes;
|
|
127
128
|
/** Sets `pointer-events` on the left section. */
|
|
128
129
|
leftSectionPointerEvents?: string;
|
|
129
130
|
/**
|
|
@@ -134,7 +135,7 @@ export interface PasswordInputOwnProps extends StylesApiProps {
|
|
|
134
135
|
/** Width of the right section. */
|
|
135
136
|
rightSectionWidth?: string | number;
|
|
136
137
|
/** Props passed down to the right section element. */
|
|
137
|
-
rightSectionProps?:
|
|
138
|
+
rightSectionProps?: HTMLAttributes;
|
|
138
139
|
/**
|
|
139
140
|
* Sets `pointer-events` on the right section.
|
|
140
141
|
*
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PillGroup } from './PillGroup/PillGroup';
|
|
2
2
|
export declare const Pill: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./Pill.types").PillProps;
|
|
4
4
|
ref: HTMLSpanElement;
|
|
5
5
|
slots: import("./Pill.types").PillSlots;
|
|
6
6
|
element: "span";
|