@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,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { AvatarOwnProps, AvatarSlots } from './Avatar.types';
|
|
2
3
|
export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AvatarOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AvatarOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AvatarSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useAvatarGroupContext } from './AvatarGroup.context';
|
|
2
2
|
export declare const AvatarGroup: import("../../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./AvatarGroup.types").AvatarGroupProps;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
slots: import("./AvatarGroup.types").AvatarGroupSlots;
|
|
6
6
|
element: "div";
|
|
@@ -5,8 +5,6 @@ export interface AvatarGroupContextValue {
|
|
|
5
5
|
}
|
|
6
6
|
/** Props declared by `AvatarGroup` itself. See `AvatarGroupProps` for the full public type. */
|
|
7
7
|
export interface AvatarGroupOwnProps extends StylesApiProps<AvatarGroupFactory> {
|
|
8
|
-
/** Receives the root DOM node. */
|
|
9
|
-
rootRef?: VueRefTarget<Element>;
|
|
10
8
|
/**
|
|
11
9
|
* Negative space between Avatar components
|
|
12
10
|
*
|
|
@@ -24,11 +22,10 @@ export type AvatarGroupCssVariables = {
|
|
|
24
22
|
group: '--ag-spacing';
|
|
25
23
|
};
|
|
26
24
|
export type AvatarGroupFactory = Factory<{
|
|
27
|
-
props:
|
|
25
|
+
props: AvatarGroupProps;
|
|
28
26
|
ref: HTMLDivElement;
|
|
29
27
|
slots: AvatarGroupSlots;
|
|
30
28
|
element: 'div';
|
|
31
29
|
stylesNames: AvatarGroupStylesNames;
|
|
32
30
|
vars: AvatarGroupCssVariables;
|
|
33
31
|
}>;
|
|
34
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { AvatarGroupOwnProps, AvatarGroupSlots } from './AvatarGroup.types';
|
|
2
3
|
export declare const varsResolver: (theme: import("../../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AvatarGroupOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AvatarGroupOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AvatarGroupSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const BackgroundImage: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./BackgroundImage.types").BackgroundImageProps, "component"
|
|
2
|
+
props: Omit<import("./BackgroundImage.types").BackgroundImageProps, "component">;
|
|
3
3
|
slots: import("./BackgroundImage.types").BackgroundImageSlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
2
|
import type { BoxProps, MantineRadius, StylesApiProps, PolymorphicFactory } from '../../core';
|
|
3
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
4
3
|
/** Props declared by `BackgroundImage` itself. See `BackgroundImageProps` for the full public type. */
|
|
5
4
|
export interface BackgroundImageOwnProps extends StylesApiProps<BackgroundImageProps> {
|
|
6
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
5
|
/** Image url */
|
|
9
6
|
src: string;
|
|
10
7
|
/**
|
|
@@ -26,7 +23,7 @@ export interface BackgroundImageSlots {
|
|
|
26
23
|
}
|
|
27
24
|
/** Public contract of `BackgroundImage`. `component` and `rootRef` come from the factory. */
|
|
28
25
|
export type BackgroundImageFactory = PolymorphicFactory<{
|
|
29
|
-
props: Omit<BackgroundImageProps, 'component'
|
|
26
|
+
props: Omit<BackgroundImageProps, 'component'>;
|
|
30
27
|
slots: BackgroundImageSlots;
|
|
31
28
|
ref: HTMLDivElement;
|
|
32
29
|
exposed: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { BackgroundImageOwnProps } from './BackgroundImage.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<BackgroundImageOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BackgroundImageOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BackgroundImageOwnProps
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BackgroundImageOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
11
|
default?: (props: {}) => any;
|
|
11
12
|
}>;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Badge: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./Badge.types").BadgeProps, "component"
|
|
2
|
+
props: Omit<import("./Badge.types").BadgeProps, "component">;
|
|
3
3
|
slots: import("./Badge.types").BadgeSlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { BoxProps, MantineColor, MantineGradient, MantineNode, MantineRadius, MantineSize, MantineVariant, SectionSlots, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
4
3
|
export type BadgeStylesNames = 'root' | 'section' | 'label';
|
|
5
4
|
export type BadgeVariant = 'filled' | 'light' | 'outline' | 'dot' | 'transparent' | 'white' | 'default' | 'gradient';
|
|
@@ -16,8 +15,6 @@ export interface BadgeSlots extends SectionSlots {
|
|
|
16
15
|
* fallthrough attributes rather than declaring at runtime.
|
|
17
16
|
*/
|
|
18
17
|
export interface BadgeOwnProps extends StylesApiProps<BadgeProps> {
|
|
19
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
20
|
-
rootRef?: VueRefTarget<Element>;
|
|
21
18
|
/**
|
|
22
19
|
* Root element or component rendered by `Badge`.
|
|
23
20
|
* @default 'div'
|
|
@@ -78,7 +75,7 @@ export interface BadgeProps extends Omit<BoxProps, keyof BadgeOwnProps>, BadgeOw
|
|
|
78
75
|
}
|
|
79
76
|
/** Public contract of `Badge`. `component` and `rootRef` come from the factory. */
|
|
80
77
|
export type BadgeFactory = PolymorphicFactory<{
|
|
81
|
-
props: Omit<BadgeProps, 'component'
|
|
78
|
+
props: Omit<BadgeProps, 'component'>;
|
|
82
79
|
slots: BadgeSlots;
|
|
83
80
|
ref: HTMLDivElement;
|
|
84
81
|
exposed: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { BadgeOwnProps, BadgeSlots } from './Badge.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<BadgeOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BadgeOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeOwnProps
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
10
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
11
12
|
new (): {
|
|
12
13
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Blockquote: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Blockquote.types").BlockquoteProps;
|
|
3
3
|
ref: HTMLQuoteElement;
|
|
4
4
|
slots: import("./Blockquote.types").BlockquoteSlots;
|
|
5
5
|
element: "blockquote";
|
|
@@ -2,8 +2,6 @@ import type { VNodeChild } from 'vue';
|
|
|
2
2
|
import type { BoxProps, MantineColor, MantineNode, MantineRadius, StylesApiProps, Factory } from '../../core';
|
|
3
3
|
/** Props declared by `Blockquote` itself. See `BlockquoteProps` for the full public type. */
|
|
4
4
|
export interface BlockquoteOwnProps extends StylesApiProps<BlockquoteFactory> {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/** Blockquote icon, displayed at the top left side */
|
|
8
6
|
icon?: MantineNode;
|
|
9
7
|
/**
|
|
@@ -44,10 +42,9 @@ export type BlockquoteCssVariables = {
|
|
|
44
42
|
root: '--bq-bg-light' | '--bq-bg-dark' | '--bq-bd' | '--bq-icon-size' | '--bq-radius' | '--bq-text-wrap';
|
|
45
43
|
};
|
|
46
44
|
export type BlockquoteFactory = Factory<{
|
|
47
|
-
props:
|
|
45
|
+
props: BlockquoteProps;
|
|
48
46
|
ref: HTMLQuoteElement;
|
|
49
47
|
slots: BlockquoteSlots;
|
|
50
48
|
element: 'blockquote';
|
|
51
49
|
stylesNames: BlockquoteStylesNames;
|
|
52
50
|
}>;
|
|
53
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { BlockquoteOwnProps, BlockquoteSlots } from './Blockquote.types';
|
|
2
3
|
declare const _default: typeof __VLS_export;
|
|
3
4
|
export default _default;
|
|
4
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BlockquoteOwnProps
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BlockquoteOwnProps & RootRefProps<Element>, {
|
|
5
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BlockquoteOwnProps
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BlockquoteOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BlockquoteSlots>;
|
|
7
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Breadcrumbs: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Breadcrumbs.types").BreadcrumbsProps;
|
|
3
3
|
slots: import("./Breadcrumbs.types").BreadcrumbsSlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
2
1
|
import type { VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, MantineNode, StylesApiProps, Factory } from '../../core';
|
|
4
3
|
/** Props declared by `Breadcrumbs` itself. See `BreadcrumbsProps` for the full public type. */
|
|
5
4
|
export interface BreadcrumbsOwnProps extends StylesApiProps<BreadcrumbsFactory> {
|
|
6
|
-
/** Receives the root DOM node. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
5
|
/**
|
|
9
6
|
* Separator between children
|
|
10
7
|
*
|
|
@@ -31,7 +28,7 @@ export type BreadcrumbsCssVariables = {
|
|
|
31
28
|
export interface BreadcrumbsProps extends Omit<BoxProps, keyof BreadcrumbsOwnProps>, BreadcrumbsOwnProps {
|
|
32
29
|
}
|
|
33
30
|
export type BreadcrumbsFactory = Factory<{
|
|
34
|
-
props:
|
|
31
|
+
props: BreadcrumbsProps;
|
|
35
32
|
slots: BreadcrumbsSlots;
|
|
36
33
|
ref: HTMLDivElement;
|
|
37
34
|
exposed: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { BreadcrumbsOwnProps, BreadcrumbsSlots } from './Breadcrumbs.types';
|
|
2
3
|
export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BreadcrumbsOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BreadcrumbsOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreadcrumbsOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreadcrumbsOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BreadcrumbsSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -2,8 +2,6 @@ import type { VNodeChild } from 'vue';
|
|
|
2
2
|
import type { BoxProps, MantineColor, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
3
3
|
/** Props declared by `Burger` itself. See `BurgerProps` for the full public type. */
|
|
4
4
|
export interface BurgerOwnProps extends StylesApiProps<BurgerFactory> {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/**
|
|
8
6
|
* Controls burger `width` and `height`, numbers are converted to rem
|
|
9
7
|
*
|
|
@@ -44,11 +42,10 @@ export type BurgerCssVariables = {
|
|
|
44
42
|
root: '--burger-color' | '--burger-size' | '--burger-line-size' | '--burger-transition-duration' | '--burger-transition-timing-function';
|
|
45
43
|
};
|
|
46
44
|
export type BurgerFactory = Factory<{
|
|
47
|
-
props:
|
|
45
|
+
props: BurgerProps;
|
|
48
46
|
ref: HTMLButtonElement;
|
|
49
47
|
slots: BurgerSlots;
|
|
50
48
|
element: 'button';
|
|
51
49
|
stylesNames: BurgerStylesNames;
|
|
52
50
|
vars: BurgerCssVariables;
|
|
53
51
|
}>;
|
|
54
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { BurgerOwnProps, BurgerSlots } from './Burger.types';
|
|
2
3
|
export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BurgerOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BurgerOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BurgerOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BurgerOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BurgerSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonGroup } from './ButtonGroup/ButtonGroup';
|
|
2
2
|
import { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
|
|
3
3
|
export declare const Button: import("../..").MantinePolymorphicComponent<{
|
|
4
|
-
props: Omit<import("./Button.types").ButtonProps, "component"
|
|
4
|
+
props: Omit<import("./Button.types").ButtonProps, "component">;
|
|
5
5
|
slots: import("./Button.types").ButtonSlots;
|
|
6
6
|
ref: HTMLButtonElement;
|
|
7
7
|
exposed: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties, VNodeChild } from 'vue';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { BoxMod, BoxProps, MantineColor, MantineElementType, MantineGradient, MantineNode, MantineRadius, MantineSize, MantineVariant, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
3
|
+
import type { LoaderProps } from '../Loader';
|
|
4
4
|
import type { ButtonGroup } from './ButtonGroup/ButtonGroup';
|
|
5
5
|
import type { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
|
|
6
6
|
export type ButtonSize = MantineSize | `compact-${MantineSize}` | (string & {});
|
|
@@ -70,7 +70,7 @@ export interface ButtonOwnProps extends StylesApiProps<ButtonFactory> {
|
|
|
70
70
|
*/
|
|
71
71
|
loading?: boolean;
|
|
72
72
|
/** Props passed down to the `Loader`. Only used when `loading` is set. */
|
|
73
|
-
loaderProps?:
|
|
73
|
+
loaderProps?: LoaderProps;
|
|
74
74
|
/**
|
|
75
75
|
* If set, adjusts the text color based on the background color for the `filled` variant.
|
|
76
76
|
* Inherits `theme.autoContrast` when not set.
|
|
@@ -99,8 +99,6 @@ export interface ButtonOwnProps extends StylesApiProps<ButtonFactory> {
|
|
|
99
99
|
dataDisabled?: boolean;
|
|
100
100
|
/** Element modifiers transformed into `data-` attributes, for example, `{ 'data-size': 'xl' }`, falsy values are removed */
|
|
101
101
|
mod?: BoxMod;
|
|
102
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
103
|
-
rootRef?: VueRefTarget<Element>;
|
|
104
102
|
}
|
|
105
103
|
export interface ButtonProps extends Omit<BoxProps, keyof ButtonOwnProps>, ButtonOwnProps {
|
|
106
104
|
}
|
|
@@ -108,7 +106,7 @@ export interface ButtonProps extends Omit<BoxProps, keyof ButtonOwnProps>, Butto
|
|
|
108
106
|
* Public contract of `Button`.
|
|
109
107
|
*/
|
|
110
108
|
export type ButtonFactory = PolymorphicFactory<{
|
|
111
|
-
props: Omit<ButtonProps, 'component'
|
|
109
|
+
props: Omit<ButtonProps, 'component'>;
|
|
112
110
|
slots: ButtonSlots;
|
|
113
111
|
ref: HTMLButtonElement;
|
|
114
112
|
exposed: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { ButtonOwnProps, ButtonSlots } from './Button.types';
|
|
2
3
|
import type { MantineTransition } from '../Transition';
|
|
3
4
|
/** The loader slides in from above the label instead of replacing it. */
|
|
@@ -7,9 +8,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
7
8
|
export { loaderTransition, varsResolver };
|
|
8
9
|
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonOwnProps
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonOwnProps & RootRefProps<Element>, {
|
|
11
12
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonOwnProps
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ButtonGroup: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ButtonGroup.types").ButtonGroupProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ButtonGroup.types").ButtonGroupSlots;
|
|
5
5
|
element: "div";
|
|
@@ -2,8 +2,6 @@ import type { VNodeChild } from 'vue';
|
|
|
2
2
|
import type { BoxProps, StylesApiProps, Factory } from '../../../core';
|
|
3
3
|
/** Props declared by `ButtonGroup` itself. See `ButtonGroupProps` for the full public type. */
|
|
4
4
|
export interface ButtonGroupOwnProps extends StylesApiProps<ButtonGroupFactory> {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/**
|
|
8
6
|
* Orientation of the group
|
|
9
7
|
*
|
|
@@ -28,11 +26,10 @@ export type ButtonGroupCssVariables = {
|
|
|
28
26
|
group: '--button-border-width';
|
|
29
27
|
};
|
|
30
28
|
export type ButtonGroupFactory = Factory<{
|
|
31
|
-
props:
|
|
29
|
+
props: ButtonGroupProps;
|
|
32
30
|
ref: HTMLDivElement;
|
|
33
31
|
slots: ButtonGroupSlots;
|
|
34
32
|
element: 'div';
|
|
35
33
|
stylesNames: ButtonGroupStylesNames;
|
|
36
34
|
vars: ButtonGroupCssVariables;
|
|
37
35
|
}>;
|
|
38
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { ButtonGroupOwnProps, ButtonGroupSlots } from './ButtonGroup.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<ButtonGroupOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonGroupOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupOwnProps
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonGroupSlots>;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
11
12
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ButtonGroupSection: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ButtonGroupSection.types").ButtonGroupSectionProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ButtonGroupSection.types").ButtonGroupSectionSlots;
|
|
5
5
|
element: "div";
|
|
@@ -7,8 +7,6 @@ export type ButtonGroupSectionCssVariables = {
|
|
|
7
7
|
};
|
|
8
8
|
/** Props declared by `ButtonGroupSection` itself. See `ButtonGroupSectionProps` for the full public type. */
|
|
9
9
|
export interface ButtonGroupSectionOwnProps extends StylesApiProps<ButtonGroupSectionFactory> {
|
|
10
|
-
/** Receives the root DOM node. */
|
|
11
|
-
rootRef?: VueRefTarget<Element>;
|
|
12
10
|
/** Controls section `height`, `font-size` and horizontal `padding`. @default 'sm' */
|
|
13
11
|
size?: ButtonSize;
|
|
14
12
|
/** Key of `theme.colors` or any valid CSS color. @default theme.primaryColor */
|
|
@@ -29,11 +27,10 @@ export interface ButtonGroupSectionSlots {
|
|
|
29
27
|
default?: () => VNodeChild;
|
|
30
28
|
}
|
|
31
29
|
export type ButtonGroupSectionFactory = Factory<{
|
|
32
|
-
props:
|
|
30
|
+
props: ButtonGroupSectionProps;
|
|
33
31
|
ref: HTMLDivElement;
|
|
34
32
|
slots: ButtonGroupSectionSlots;
|
|
35
33
|
element: 'div';
|
|
36
34
|
stylesNames: ButtonGroupSectionStylesNames;
|
|
37
35
|
vars: ButtonGroupSectionCssVariables;
|
|
38
36
|
}>;
|
|
39
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { ButtonGroupSectionOwnProps, ButtonGroupSectionSlots } from './ButtonGroupSection.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<ButtonGroupSectionOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonGroupSectionOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupSectionOwnProps
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupSectionOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonGroupSectionSlots>;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
11
12
|
$slots: S;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardSection } from './CardSection/CardSection';
|
|
2
2
|
export declare const Card: import("../..").MantinePolymorphicComponent<{
|
|
3
|
-
props: Omit<import("./Card.types").CardProps, "component"
|
|
3
|
+
props: Omit<import("./Card.types").CardProps, "component">;
|
|
4
4
|
slots: import("./Card.types").CardSlots;
|
|
5
5
|
ref: HTMLDivElement;
|
|
6
6
|
exposed: {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { BoxProps, MantineRadius, MantineSpacing, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
4
3
|
import type { CardSection } from './CardSection/CardSection';
|
|
5
4
|
/** Props declared by `Card` itself. See `CardProps` for the full public type. */
|
|
6
5
|
export interface CardOwnProps extends StylesApiProps<CardProps> {
|
|
7
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
8
|
-
rootRef?: VueRefTarget<Element>;
|
|
9
6
|
/**
|
|
10
7
|
* Root element or component rendered by `Card`.
|
|
11
8
|
*
|
|
@@ -50,7 +47,7 @@ export type CardCssVariables = {
|
|
|
50
47
|
};
|
|
51
48
|
/** Public contract of `Card`. `component` and `rootRef` come from the factory. */
|
|
52
49
|
export type CardFactory = PolymorphicFactory<{
|
|
53
|
-
props: Omit<CardProps, 'component'
|
|
50
|
+
props: Omit<CardProps, 'component'>;
|
|
54
51
|
slots: CardSlots;
|
|
55
52
|
ref: HTMLDivElement;
|
|
56
53
|
exposed: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { CardOwnProps, CardSlots } from './Card.types';
|
|
2
3
|
export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
4
5
|
export default _default;
|
|
5
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CardOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CardOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CardSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const CardSection: import("../../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./CardSection.types").CardSectionProps, "component"
|
|
2
|
+
props: Omit<import("./CardSection.types").CardSectionProps, "component">;
|
|
3
3
|
slots: import("./CardSection.types").CardSectionSlots;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
exposed: {
|
|
@@ -37,7 +37,7 @@ export interface CardSectionProps extends Omit<BoxProps, keyof CardSectionOwnPro
|
|
|
37
37
|
}
|
|
38
38
|
export type CardSectionStylesNames = 'section';
|
|
39
39
|
export type CardSectionFactory = PolymorphicFactory<{
|
|
40
|
-
props: Omit<CardSectionProps, 'component'
|
|
40
|
+
props: Omit<CardSectionProps, 'component'>;
|
|
41
41
|
slots: CardSectionSlots;
|
|
42
42
|
ref: HTMLDivElement;
|
|
43
43
|
exposed: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const Cascader: {
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
-
onClear?: (() => any) | undefined;
|
|
4
3
|
onChange?: ((value: string[] | null, options: import("./Cascader.types").CascaderOption[]) => any) | undefined;
|
|
4
|
+
onClear?: (() => any) | undefined;
|
|
5
5
|
"onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
|
|
6
6
|
"onDropdown-open"?: (() => any) | undefined;
|
|
7
7
|
"onDropdown-close"?: (() => any) | undefined;
|
|
8
8
|
"onSearch-change"?: ((value: string) => any) | undefined;
|
|
9
9
|
"onUpdate:searchValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
clear: () => any;
|
|
12
11
|
change: (value: string[] | null, options: import("./Cascader.types").CascaderOption[]) => any;
|
|
12
|
+
clear: () => any;
|
|
13
13
|
"update:modelValue": (value: string[] | null) => any;
|
|
14
14
|
"dropdown-open": () => any;
|
|
15
15
|
"dropdown-close": () => any;
|
|
@@ -23,8 +23,8 @@ export declare const Cascader: {
|
|
|
23
23
|
M: {};
|
|
24
24
|
Defaults: {};
|
|
25
25
|
}, Readonly<{}> & Readonly<{
|
|
26
|
-
onClear?: (() => any) | undefined;
|
|
27
26
|
onChange?: ((value: string[] | null, options: import("./Cascader.types").CascaderOption[]) => any) | undefined;
|
|
27
|
+
onClear?: (() => any) | undefined;
|
|
28
28
|
"onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
|
|
29
29
|
"onDropdown-open"?: (() => any) | undefined;
|
|
30
30
|
"onDropdown-close"?: (() => any) | undefined;
|
|
@@ -35,16 +35,16 @@ export declare const Cascader: {
|
|
|
35
35
|
__isTeleport?: never;
|
|
36
36
|
__isSuspense?: never;
|
|
37
37
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
38
|
-
onClear?: (() => any) | undefined;
|
|
39
38
|
onChange?: ((value: string[] | null, options: import("./Cascader.types").CascaderOption[]) => any) | undefined;
|
|
39
|
+
onClear?: (() => any) | undefined;
|
|
40
40
|
"onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
|
|
41
41
|
"onDropdown-open"?: (() => any) | undefined;
|
|
42
42
|
"onDropdown-close"?: (() => any) | undefined;
|
|
43
43
|
"onSearch-change"?: ((value: string) => any) | undefined;
|
|
44
44
|
"onUpdate:searchValue"?: ((value: string) => any) | undefined;
|
|
45
45
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
-
clear: () => any;
|
|
47
46
|
change: (value: string[] | null, options: import("./Cascader.types").CascaderOption[]) => any;
|
|
47
|
+
clear: () => any;
|
|
48
48
|
"update:modelValue": (value: string[] | null) => any;
|
|
49
49
|
"dropdown-open": () => any;
|
|
50
50
|
"dropdown-close": () => any;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { InputHTMLAttributes, VNodeChild } from 'vue';
|
|
2
2
|
import type { ClassNames, MantineNode, Styles } from '../../core';
|
|
3
|
+
import type { InputClearButtonProps } from '../Input';
|
|
4
|
+
import type { ScrollAreaProps } from '../ScrollArea';
|
|
3
5
|
export interface CascaderOption {
|
|
4
6
|
value: string;
|
|
5
7
|
label?: VNodeChild;
|
|
@@ -167,7 +169,7 @@ export interface CascaderProps {
|
|
|
167
169
|
*/
|
|
168
170
|
clearSectionMode?: 'both' | 'rightSection' | 'clear';
|
|
169
171
|
/** Props passed down to the clear button. */
|
|
170
|
-
clearButtonProps?:
|
|
172
|
+
clearButtonProps?: InputClearButtonProps;
|
|
171
173
|
/** Open state of the dropdown. */
|
|
172
174
|
dropdownOpened?: boolean;
|
|
173
175
|
/** Uncontrolled initial open state of the dropdown. */
|
|
@@ -175,11 +177,11 @@ export interface CascaderProps {
|
|
|
175
177
|
/** Props passed down to the underlying `Combobox`. */
|
|
176
178
|
comboboxProps?: Record<string, unknown>;
|
|
177
179
|
/** Props passed down to the scrollable wrapper of the dropdown. */
|
|
178
|
-
scrollAreaProps?:
|
|
180
|
+
scrollAreaProps?: ScrollAreaProps;
|
|
179
181
|
/** Key of `theme.colors` or any valid CSS color used by the chevron. */
|
|
180
182
|
chevronColor?: string;
|
|
181
183
|
/** Props passed down to the hidden input that carries the value in a form. */
|
|
182
|
-
hiddenInputProps?:
|
|
184
|
+
hiddenInputProps?: Omit<InputHTMLAttributes, 'value'>;
|
|
183
185
|
/**
|
|
184
186
|
* If set, the dropdown opens when a searchable input receives focus.
|
|
185
187
|
*
|