@mantine-vue/core 3.6.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 +546 -569
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +548 -570
- 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 -2
- 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.d.ts +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts +1 -4
- package/lib/components/AppShell/AppShell.vue.d.ts +3 -2
- 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/AppShellSection/AppShellSection.d.ts +1 -1
- package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +1 -1
- 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.types.d.ts +4 -3
- package/lib/components/Avatar/Avatar.d.ts +1 -1
- package/lib/components/Avatar/Avatar.types.d.ts +1 -4
- 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.types.d.ts +6 -4
- 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 +1 -1
- package/lib/components/Checkbox/Checkbox.types.d.ts +4 -7
- package/lib/components/Checkbox/Checkbox.vue.d.ts +3 -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 +1 -4
- 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/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/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.types.d.ts +6 -5
- 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/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 +12 -3
- package/lib/components/Popover/Popover.vue.d.ts +1 -0
- 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 +1 -1
- package/lib/components/Radio/Radio.types.d.ts +4 -7
- package/lib/components/Radio/Radio.vue.d.ts +3 -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 +1 -4
- 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.types.d.ts +6 -5
- 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.types.d.ts +2 -1
- 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/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.types.d.ts +6 -5
- 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 +1 -1
- package/lib/components/Toggle/Toggle.types.d.ts +1 -4
- package/lib/components/Toggle/Toggle.vue.d.ts +3 -2
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Toolbar/Toolbar.types.d.ts +1 -4
- package/lib/components/Toolbar/Toolbar.vue.d.ts +3 -2
- package/lib/components/Tooltip/Tooltip.types.d.ts +9 -6
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +2 -1
- package/lib/components/Tour/Tour.d.ts +6 -6
- package/lib/components/Tour/Tour.types.d.ts +6 -8
- package/lib/components/Tour/Tour.vue.d.ts +3 -2
- package/lib/components/Tour/TourRoot.vue.d.ts +4 -2
- 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.types.d.ts +4 -3
- 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/core/Box/Box.d.ts +0 -8
- package/lib/core/factory/index.d.ts +0 -1
- package/package.json +3 -3
- package/lib/core/factory/use-forwarded-ref.d.ts +0 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, InputHTMLAttributes, VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../../core';
|
|
4
3
|
import type { SliderStylesNames } from '../Slider.context';
|
|
5
4
|
import type { SliderMark } from '../SliderMark';
|
|
5
|
+
import type { TransitionOverride } from '../../Transition';
|
|
6
6
|
export type { SliderStylesNames };
|
|
7
7
|
export type SliderCssVariables = {
|
|
8
8
|
root: '--slider-size' | '--slider-color' | '--slider-radius' | '--slider-thumb-size';
|
|
@@ -17,8 +17,6 @@ export interface SliderSlots {
|
|
|
17
17
|
}
|
|
18
18
|
/** Props declared by `Slider` itself. See `SliderProps` for the full public type. */
|
|
19
19
|
export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
20
|
-
/** Receives the root DOM node. */
|
|
21
|
-
rootRef?: VueRefTarget<Element>;
|
|
22
20
|
/**
|
|
23
21
|
* Key of `theme.colors` or any valid CSS color.
|
|
24
22
|
*
|
|
@@ -79,7 +77,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
79
77
|
*/
|
|
80
78
|
label?: MantineNode | ((value: number) => MantineNode);
|
|
81
79
|
/** Props passed down to the label transition. */
|
|
82
|
-
labelTransitionProps?:
|
|
80
|
+
labelTransitionProps?: TransitionOverride;
|
|
83
81
|
/**
|
|
84
82
|
* If set, the label is always visible.
|
|
85
83
|
*
|
|
@@ -135,7 +133,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
135
133
|
*/
|
|
136
134
|
orientation?: 'horizontal' | 'vertical';
|
|
137
135
|
/** Props passed down to the hidden input. */
|
|
138
|
-
hiddenInputProps?:
|
|
136
|
+
hiddenInputProps?: InputHTMLAttributes;
|
|
139
137
|
/**
|
|
140
138
|
* If set, the value can only be one of the `marks` values.
|
|
141
139
|
*
|
|
@@ -143,7 +141,7 @@ export interface SliderOwnProps extends StylesApiProps<SliderFactory> {
|
|
|
143
141
|
*/
|
|
144
142
|
restrictToMarks?: boolean;
|
|
145
143
|
/** Props passed down to the thumb element. */
|
|
146
|
-
thumbProps?:
|
|
144
|
+
thumbProps?: HTMLAttributes;
|
|
147
145
|
}
|
|
148
146
|
export interface SliderProps extends Omit<BoxProps, keyof SliderOwnProps>, SliderOwnProps {
|
|
149
147
|
}
|
|
@@ -156,7 +154,7 @@ export interface SliderEmits {
|
|
|
156
154
|
'change-end': [value: number];
|
|
157
155
|
}
|
|
158
156
|
export type SliderFactory = Factory<{
|
|
159
|
-
props:
|
|
157
|
+
props: SliderProps;
|
|
160
158
|
slots: SliderSlots;
|
|
161
159
|
emits: SliderEmits;
|
|
162
160
|
ref: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SliderOwnProps, SliderSlots } from './Slider.types';
|
|
2
3
|
/**
|
|
3
4
|
* `label` and `scale` default to functions. They are resolved by `useProps`, never by
|
|
@@ -21,13 +22,13 @@ declare const varsResolver: (theme: import("../../..").MantineTheme, props: any,
|
|
|
21
22
|
export { defaultProps, varsResolver };
|
|
22
23
|
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
24
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SliderOwnProps
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SliderOwnProps & RootRefProps<Element>, {
|
|
25
26
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
26
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
28
|
change: (value: number) => any;
|
|
28
29
|
"update:modelValue": (value: number) => any;
|
|
29
30
|
"change-end": (value: number) => any;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<SliderOwnProps
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<SliderOwnProps & RootRefProps<Element>> & Readonly<{
|
|
31
32
|
onChange?: ((value: number) => any) | undefined;
|
|
32
33
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
33
34
|
"onChange-end"?: ((value: number) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SliderRoot: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./SliderRoot.types").SliderRootProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./SliderRoot.types").SliderRootSlots;
|
|
5
5
|
element: "div";
|
|
@@ -6,8 +6,6 @@ export interface SliderRootSlots {
|
|
|
6
6
|
}
|
|
7
7
|
/** Props declared by `SliderRoot` itself. See `SliderRootProps` for the full public type. */
|
|
8
8
|
export interface SliderRootOwnProps {
|
|
9
|
-
/** Receives the root DOM node. */
|
|
10
|
-
rootRef?: VueRefTarget<Element>;
|
|
11
9
|
/** Controls the size of the track. Passed through to the Styles API payload. */
|
|
12
10
|
size: string | number;
|
|
13
11
|
/**
|
|
@@ -29,9 +27,8 @@ export interface SliderRootProps extends Omit<BoxProps, keyof SliderRootOwnProps
|
|
|
29
27
|
}
|
|
30
28
|
export type SliderRootStylesNames = 'root';
|
|
31
29
|
export type SliderRootFactory = Factory<{
|
|
32
|
-
props:
|
|
30
|
+
props: SliderRootProps;
|
|
33
31
|
ref: HTMLDivElement;
|
|
34
32
|
slots: SliderRootSlots;
|
|
35
33
|
element: 'div';
|
|
36
34
|
}>;
|
|
37
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SliderRootOwnProps, SliderRootSlots } from './SliderRoot.types';
|
|
3
|
+
type __VLS_Props = SliderRootOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = SliderRootSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
4
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
8
10
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
2
|
import type { BoxProps } from '../../../core';
|
|
3
|
+
import type { TransitionOverride } from '../../Transition';
|
|
3
4
|
export interface SliderThumbSlots {
|
|
4
5
|
/** Content rendered inside the thumb. */
|
|
5
6
|
default?: () => VNodeChild;
|
|
@@ -25,7 +26,7 @@ export interface SliderThumbOwnProps {
|
|
|
25
26
|
/** `aria-valuetext`, or a function that builds it from the current value. */
|
|
26
27
|
thumbValueText?: string | ((value: number) => string);
|
|
27
28
|
/** Props passed down to the label transition. */
|
|
28
|
-
labelTransitionProps?:
|
|
29
|
+
labelTransitionProps?: TransitionOverride;
|
|
29
30
|
/**
|
|
30
31
|
* If set, the label is always visible.
|
|
31
32
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
2
2
|
import type { SliderMark } from '../SliderMark';
|
|
3
3
|
export interface SliderTrackSlots {
|
|
4
4
|
/** Thumbs rendered over the track. */
|
|
@@ -39,5 +39,5 @@ export interface SliderTrackProps {
|
|
|
39
39
|
*/
|
|
40
40
|
inverted?: boolean;
|
|
41
41
|
/** Props passed down to the track container element. */
|
|
42
|
-
containerProps?:
|
|
42
|
+
containerProps?: HTMLAttributes;
|
|
43
43
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { BoxProps, Factory } from '../../core';
|
|
2
2
|
/** Props declared by `Space` itself. See `SpaceProps` for the full public type. */
|
|
3
3
|
export interface SpaceOwnProps {
|
|
4
|
-
/** Receives the root DOM node. */
|
|
5
|
-
rootRef?: VueRefTarget<Element>;
|
|
6
4
|
/** Width, theme key: theme.spacing */
|
|
7
5
|
w?: string | number;
|
|
8
6
|
/** Height, theme key: theme.spacing */
|
|
@@ -15,8 +13,7 @@ export interface SpaceOwnProps {
|
|
|
15
13
|
export interface SpaceProps extends Omit<BoxProps, keyof SpaceOwnProps>, SpaceOwnProps {
|
|
16
14
|
}
|
|
17
15
|
export type SpaceFactory = Factory<{
|
|
18
|
-
props:
|
|
16
|
+
props: SpaceProps;
|
|
19
17
|
ref: HTMLDivElement;
|
|
20
18
|
element: 'div';
|
|
21
19
|
}>;
|
|
22
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SpaceOwnProps } from './Space.types';
|
|
3
|
+
type __VLS_Props = SpaceOwnProps & RootRefProps<Element>;
|
|
2
4
|
declare var __VLS_8: {};
|
|
3
5
|
type __VLS_Slots = {} & {
|
|
4
6
|
default?: (props: typeof __VLS_8) => any;
|
|
5
7
|
};
|
|
6
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
7
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
12
|
declare const _default: typeof __VLS_export;
|
|
11
13
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SplitterPane } from './SplitterPane/SplitterPane';
|
|
2
2
|
export declare const Splitter: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./Splitter.types").SplitterProps;
|
|
4
4
|
ref: HTMLDivElement;
|
|
5
5
|
slots: import("./Splitter.types").SplitterSlots;
|
|
6
6
|
emits: import("./Splitter.types").SplitterEmits;
|
|
@@ -13,8 +13,6 @@ export interface SplitterSlots {
|
|
|
13
13
|
}
|
|
14
14
|
/** Props declared by `Splitter` itself. See `SplitterProps` for the full public type. */
|
|
15
15
|
export interface SplitterOwnProps extends StylesApiProps<SplitterFactory> {
|
|
16
|
-
/** Receives the root DOM node. */
|
|
17
|
-
rootRef?: VueRefTarget<Element>;
|
|
18
16
|
/**
|
|
19
17
|
* Direction the panes are laid out in.
|
|
20
18
|
*
|
|
@@ -88,7 +86,7 @@ export interface SplitterEmits {
|
|
|
88
86
|
'collapse-change': [panelIndex: number, collapsed: boolean];
|
|
89
87
|
}
|
|
90
88
|
export type SplitterFactory = Factory<{
|
|
91
|
-
props:
|
|
89
|
+
props: SplitterProps;
|
|
92
90
|
ref: HTMLDivElement;
|
|
93
91
|
slots: SplitterSlots;
|
|
94
92
|
emits: SplitterEmits;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SplitterOwnProps, SplitterSlots } from './Splitter.types';
|
|
2
3
|
import type { VNode } from 'vue';
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -18,7 +19,7 @@ declare function flattenChildren(children: VNode[]): VNode[];
|
|
|
18
19
|
export { defaultProps, varsResolver, flattenChildren };
|
|
19
20
|
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SplitterOwnProps
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SplitterOwnProps & RootRefProps<Element>, {
|
|
22
23
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
23
24
|
sizes: number[];
|
|
24
25
|
collapsed: boolean[];
|
|
@@ -36,7 +37,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Splitt
|
|
|
36
37
|
"resize-end": (handleIndex: number, sizes: number[]) => any;
|
|
37
38
|
"update:sizes": (sizes: number[]) => any;
|
|
38
39
|
"collapse-change": (panelIndex: number, collapsed: boolean) => any;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<SplitterOwnProps
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<SplitterOwnProps & RootRefProps<Element>> & Readonly<{
|
|
40
41
|
"onSize-change"?: ((sizes: number[]) => any) | undefined;
|
|
41
42
|
"onResize-start"?: ((handleIndex: number) => any) | undefined;
|
|
42
43
|
"onResize-end"?: ((handleIndex: number, sizes: number[]) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SplitterPane: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./SplitterPane.types").SplitterPaneProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./SplitterPane.types").SplitterPaneSlots;
|
|
5
5
|
element: "div";
|
|
@@ -7,8 +7,6 @@ export interface SplitterPaneSlots {
|
|
|
7
7
|
}
|
|
8
8
|
/** Props declared by `SplitterPane` itself. See `SplitterPaneProps` for the full public type. */
|
|
9
9
|
export interface SplitterPaneOwnProps {
|
|
10
|
-
/** Receives the root DOM node. */
|
|
11
|
-
rootRef?: VueRefTarget<Element>;
|
|
12
10
|
/** Size the pane starts at, as a percentage of the splitter. */
|
|
13
11
|
defaultSize: number;
|
|
14
12
|
/** Smallest size the pane can be resized to, as a percentage. */
|
|
@@ -37,10 +35,9 @@ export interface SplitterPaneOwnProps {
|
|
|
37
35
|
export interface SplitterPaneProps extends Omit<BoxProps, keyof SplitterPaneOwnProps>, SplitterPaneOwnProps {
|
|
38
36
|
}
|
|
39
37
|
export type SplitterPaneFactory = Factory<{
|
|
40
|
-
props:
|
|
38
|
+
props: SplitterPaneProps;
|
|
41
39
|
ref: HTMLDivElement;
|
|
42
40
|
slots: SplitterPaneSlots;
|
|
43
41
|
element: 'div';
|
|
44
42
|
stylesNames: SplitterPaneStylesNames;
|
|
45
43
|
}>;
|
|
46
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { SplitterPaneOwnProps, SplitterPaneSlots } from './SplitterPane.types';
|
|
3
|
+
type __VLS_Props = SplitterPaneOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = SplitterPaneSlots;
|
|
3
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
4
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
8
10
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Spoiler: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Spoiler.types").SpoilerProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./Spoiler.types").SpoilerSlots;
|
|
5
5
|
emits: import("./Spoiler.types").SpoilerEmits;
|
|
@@ -14,8 +14,6 @@ export interface SpoilerSlots {
|
|
|
14
14
|
}
|
|
15
15
|
/** Props declared by `Spoiler` itself. See `SpoilerProps` for the full public type. */
|
|
16
16
|
export interface SpoilerOwnProps extends StylesApiProps<SpoilerFactory> {
|
|
17
|
-
/** Receives the root DOM node. */
|
|
18
|
-
rootRef?: VueRefTarget<Element>;
|
|
19
17
|
/**
|
|
20
18
|
* Maximum height of visible content in px. When content exceeds this height,
|
|
21
19
|
* the toggle control appears.
|
|
@@ -59,7 +57,7 @@ export interface SpoilerEmits {
|
|
|
59
57
|
'update:expanded': [expanded: boolean];
|
|
60
58
|
}
|
|
61
59
|
export type SpoilerFactory = Factory<{
|
|
62
|
-
props:
|
|
60
|
+
props: SpoilerProps;
|
|
63
61
|
ref: HTMLDivElement;
|
|
64
62
|
slots: SpoilerSlots;
|
|
65
63
|
emits: SpoilerEmits;
|
|
@@ -67,4 +65,3 @@ export type SpoilerFactory = Factory<{
|
|
|
67
65
|
stylesNames: SpoilerStylesNames;
|
|
68
66
|
vars: SpoilerCssVariables;
|
|
69
67
|
}>;
|
|
70
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SpoilerOwnProps, SpoilerSlots } from './Spoiler.types';
|
|
2
3
|
declare const defaultProps: {
|
|
3
4
|
readonly maxHeight: 100;
|
|
@@ -8,11 +9,11 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
8
9
|
export { defaultProps, varsResolver };
|
|
9
10
|
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SpoilerOwnProps
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SpoilerOwnProps & RootRefProps<Element>, {
|
|
12
13
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
13
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
15
|
"update:expanded": (expanded: boolean) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<SpoilerOwnProps
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<SpoilerOwnProps & RootRefProps<Element>> & Readonly<{
|
|
16
17
|
"onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
|
|
17
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SpoilerSlots>;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { AlignItems, BoxProps, JustifyContent, MantineSpacing, StylesApiProps, Factory } from '../../core';
|
|
2
2
|
/** Props declared by `Stack` itself. See `StackProps` for the full public type. */
|
|
3
3
|
export interface StackOwnProps extends StylesApiProps<StackFactory> {
|
|
4
|
-
/** Receives the root DOM node. */
|
|
5
|
-
rootRef?: VueRefTarget<Element>;
|
|
6
4
|
/**
|
|
7
5
|
* Key of `theme.spacing` or any valid CSS value to set `gap` property, numbers are converted to rem
|
|
8
6
|
*
|
|
@@ -29,10 +27,9 @@ export type StackCssVariables = {
|
|
|
29
27
|
root: '--stack-gap' | '--stack-align' | '--stack-justify';
|
|
30
28
|
};
|
|
31
29
|
export type StackFactory = Factory<{
|
|
32
|
-
props:
|
|
30
|
+
props: StackProps;
|
|
33
31
|
ref: HTMLDivElement;
|
|
34
32
|
element: 'div';
|
|
35
33
|
stylesNames: StackStylesNames;
|
|
36
34
|
vars: StackCssVariables;
|
|
37
35
|
}>;
|
|
38
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { StackOwnProps } from './Stack.types';
|
|
2
3
|
/** Module scope: created once, not per component instance. */
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -9,9 +10,9 @@ declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ct
|
|
|
9
10
|
export { defaultProps, varsResolver };
|
|
10
11
|
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
12
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StackOwnProps
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StackOwnProps & RootRefProps<Element>, {
|
|
13
14
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackOwnProps
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
16
|
default?: (props: {}) => any;
|
|
16
17
|
}>;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepperCompleted } from './StepperCompleted/StepperCompleted';
|
|
2
2
|
import { StepperStep } from './StepperStep/StepperStep';
|
|
3
3
|
export declare const Stepper: import("../..").MantineComponent<{
|
|
4
|
-
props:
|
|
4
|
+
props: import("./Stepper.types").StepperProps;
|
|
5
5
|
ref: HTMLDivElement;
|
|
6
6
|
slots: import("./Stepper.types").StepperSlots;
|
|
7
7
|
emits: import("./Stepper.types").StepperEmits;
|
|
@@ -23,8 +23,6 @@ export interface StepperSlots {
|
|
|
23
23
|
}
|
|
24
24
|
/** Props declared by `Stepper` itself. See `StepperProps` for the full public type. */
|
|
25
25
|
export interface StepperOwnProps extends StylesApiProps<StepperFactory> {
|
|
26
|
-
/** Receives the root DOM node. */
|
|
27
|
-
rootRef?: VueRefTarget<Element>;
|
|
28
26
|
/** Zero based index of the active step, bound with `v-model:active`. */
|
|
29
27
|
active: number;
|
|
30
28
|
/**
|
|
@@ -111,7 +109,7 @@ export interface StepperEmits {
|
|
|
111
109
|
'step-click': [index: number];
|
|
112
110
|
}
|
|
113
111
|
export type StepperFactory = Factory<{
|
|
114
|
-
props:
|
|
112
|
+
props: StepperProps;
|
|
115
113
|
ref: HTMLDivElement;
|
|
116
114
|
slots: StepperSlots;
|
|
117
115
|
emits: StepperEmits;
|
|
@@ -123,4 +121,3 @@ export type StepperFactory = Factory<{
|
|
|
123
121
|
Completed: typeof StepperCompleted;
|
|
124
122
|
};
|
|
125
123
|
}>;
|
|
126
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { StepperOwnProps, StepperSlots } from './Stepper.types';
|
|
2
3
|
import { type VNode } from 'vue';
|
|
3
4
|
declare const defaultProps: {
|
|
@@ -19,12 +20,12 @@ declare function flattenChildren(children: VNode[]): VNode[];
|
|
|
19
20
|
export { defaultProps, varsResolver, getSlotContent, flattenChildren };
|
|
20
21
|
declare const _default: typeof __VLS_export;
|
|
21
22
|
export default _default;
|
|
22
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StepperOwnProps
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<StepperOwnProps & RootRefProps<Element>, {
|
|
23
24
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
24
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
26
|
"update:active": (index: number) => any;
|
|
26
27
|
"step-click": (index: number) => any;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<StepperOwnProps
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<StepperOwnProps & RootRefProps<Element>> & Readonly<{
|
|
28
29
|
"onUpdate:active"?: ((index: number) => any) | undefined;
|
|
29
30
|
"onStep-click"?: ((index: number) => any) | undefined;
|
|
30
31
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, StepperSlots>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StepperStep: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./StepperStep.types").StepperStepProps;
|
|
3
3
|
ref: HTMLButtonElement;
|
|
4
4
|
slots: import("./StepperStep.types").StepperStepSlots;
|
|
5
5
|
element: "button";
|
|
@@ -9,8 +9,6 @@ export type StepperStepState = 'stepInactive' | 'stepProgress' | 'stepCompleted'
|
|
|
9
9
|
export type StepperStepStylesNames = 'step' | 'stepLoader' | 'verticalSeparator' | 'stepWrapper' | 'stepIcon' | 'stepCompletedIcon' | 'stepIconContent' | 'stepBody' | 'stepLabel' | 'stepDescription';
|
|
10
10
|
/** Props declared by `StepperStep` itself. See `StepperStepProps` for the full public type. */
|
|
11
11
|
export interface StepperStepOwnProps {
|
|
12
|
-
/** Receives the root DOM node. */
|
|
13
|
-
rootRef?: VueRefTarget<Element>;
|
|
14
12
|
/** 0-based step index, automatically set by Stepper component */
|
|
15
13
|
step?: number;
|
|
16
14
|
/** Step state, automatically set by Stepper component based on active prop. stepInactive: not reached, stepProgress: current, stepCompleted: passed */
|
|
@@ -83,10 +81,9 @@ export interface StepperStepSlots {
|
|
|
83
81
|
export interface StepperStepProps extends Omit<BoxProps, keyof StepperStepOwnProps>, StepperStepOwnProps {
|
|
84
82
|
}
|
|
85
83
|
export type StepperStepFactory = Factory<{
|
|
86
|
-
props:
|
|
84
|
+
props: StepperStepProps;
|
|
87
85
|
ref: HTMLButtonElement;
|
|
88
86
|
slots: StepperStepSlots;
|
|
89
87
|
element: 'button';
|
|
90
88
|
stylesNames: StepperStepStylesNames;
|
|
91
89
|
}>;
|
|
92
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { StepperStepOwnProps, StepperStepSlots } from './StepperStep.types';
|
|
3
|
+
type __VLS_Props = StepperStepOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = StepperStepSlots;
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { SwitchGroup } from './SwitchGroup/SwitchGroup';
|
|
2
2
|
export declare const Switch: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./Switch.types").SwitchProps;
|
|
4
4
|
slots: import("./Switch.types").SwitchSlots;
|
|
5
5
|
emits: import("./Switch.types").SwitchEmits;
|
|
6
6
|
ref: HTMLDivElement;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { SwitchGroup } from './SwitchGroup/SwitchGroup';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
2
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
3
|
+
import type { BoxMod, BoxProps, DataAttributes, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
5
4
|
export type SwitchStylesNames = 'root' | 'track' | 'trackLabel' | 'thumb' | 'input' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error';
|
|
6
5
|
export type SwitchCssVariables = {
|
|
7
6
|
root: '--switch-radius' | '--switch-height' | '--switch-width' | '--switch-thumb-size' | '--switch-label-font-size' | '--switch-track-label-padding' | '--switch-color';
|
|
@@ -59,7 +58,7 @@ export interface SwitchOwnProps extends StylesApiProps<SwitchFactory> {
|
|
|
59
58
|
*/
|
|
60
59
|
radius?: MantineRadius;
|
|
61
60
|
/** Props passed down to the root element. */
|
|
62
|
-
wrapperProps?:
|
|
61
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
63
62
|
/**
|
|
64
63
|
* Icon rendered inside the thumb.
|
|
65
64
|
* Can also be set with the `thumbIcon` slot – the slot takes precedence.
|
|
@@ -81,8 +80,6 @@ export interface SwitchOwnProps extends StylesApiProps<SwitchFactory> {
|
|
|
81
80
|
* Can also be set with the `error` slot – the slot takes precedence.
|
|
82
81
|
*/
|
|
83
82
|
error?: MantineNode | boolean;
|
|
84
|
-
/** Ref assigned to the root element. */
|
|
85
|
-
rootRef?: VueRefTarget<Element>;
|
|
86
83
|
/**
|
|
87
84
|
* If set, the thumb displays an indicator when the switch is unchecked.
|
|
88
85
|
* Ignored when `thumbIcon` is set.
|
|
@@ -122,7 +119,7 @@ export interface SwitchEmits {
|
|
|
122
119
|
change: [checked: boolean];
|
|
123
120
|
}
|
|
124
121
|
export type SwitchFactory = Factory<{
|
|
125
|
-
props:
|
|
122
|
+
props: SwitchProps;
|
|
126
123
|
slots: SwitchSlots;
|
|
127
124
|
emits: SwitchEmits;
|
|
128
125
|
ref: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { SwitchOwnProps, SwitchSlots } from './Switch.types';
|
|
2
3
|
declare const mergedClasses: {
|
|
3
4
|
[x: string]: string;
|
|
@@ -18,13 +19,13 @@ declare const defaultProps: {
|
|
|
18
19
|
export { mergedClasses, varsResolver, defaultProps, DEFAULT_SIZE };
|
|
19
20
|
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchOwnProps
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchOwnProps & RootRefProps<Element>, {
|
|
22
23
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
23
24
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
25
|
change: (checked: boolean) => any;
|
|
25
26
|
"update:modelValue": (checked: boolean) => any;
|
|
26
27
|
"update:checked": (checked: boolean) => any;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<SwitchOwnProps
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<SwitchOwnProps & RootRefProps<Element>> & Readonly<{
|
|
28
29
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
29
30
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
30
31
|
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { BoxProps, MantineNode, MantineSize, StylesApiProps } from '../../../core';
|
|
1
|
+
import type { HTMLAttributes, InputHTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, DataAttributes, MantineNode, MantineSize, StylesApiProps } from '../../../core';
|
|
3
3
|
export interface SwitchGroupContextValue {
|
|
4
4
|
/** Values of the currently selected switches. */
|
|
5
5
|
value: string[];
|
|
@@ -29,7 +29,7 @@ export interface SwitchGroupOwnProps extends StylesApiProps<SwitchGroupProps> {
|
|
|
29
29
|
/** Controls the size of every switch in the group that does not set its own `size`. */
|
|
30
30
|
size?: MantineSize | (string & {});
|
|
31
31
|
/** Props passed down to the `Input.Wrapper` root element. */
|
|
32
|
-
wrapperProps?:
|
|
32
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
33
33
|
/**
|
|
34
34
|
* If set, the selection cannot be changed by the user.
|
|
35
35
|
*
|
|
@@ -39,7 +39,7 @@ export interface SwitchGroupOwnProps extends StylesApiProps<SwitchGroupProps> {
|
|
|
39
39
|
/** `name` of the hidden input that carries the joined values in an uncontrolled form. */
|
|
40
40
|
name?: string;
|
|
41
41
|
/** Props passed down to the hidden input. */
|
|
42
|
-
hiddenInputProps?:
|
|
42
|
+
hiddenInputProps?: InputHTMLAttributes & DataAttributes;
|
|
43
43
|
/**
|
|
44
44
|
* Separator used to join the values in the hidden input.
|
|
45
45
|
*
|
|
@@ -2,7 +2,7 @@ import { TableCaption, TableTbody, TableTd, TableTfoot, TableTh, TableThead, Tab
|
|
|
2
2
|
import { TableDataRenderer } from './TableDataRenderer';
|
|
3
3
|
import { TableScrollContainer } from './TableScrollContainer';
|
|
4
4
|
export declare const Table: import("../..").MantineComponent<{
|
|
5
|
-
props:
|
|
5
|
+
props: import("./Table.types").TableProps;
|
|
6
6
|
ref: HTMLTableElement;
|
|
7
7
|
slots: import("./Table.types").TableSlots;
|
|
8
8
|
element: "table";
|
|
@@ -27,8 +27,6 @@ export interface TableSlots {
|
|
|
27
27
|
}
|
|
28
28
|
/** Props declared by `Table` itself. See `TableProps` for the full public type. */
|
|
29
29
|
export interface TableOwnProps extends StylesApiProps<TableFactory> {
|
|
30
|
-
/** Receives the root DOM node. */
|
|
31
|
-
rootRef?: VueRefTarget<Element>;
|
|
32
30
|
/** Value of the `table-layout` CSS property. */
|
|
33
31
|
layout?: CSSProperties['tableLayout'];
|
|
34
32
|
/**
|
|
@@ -108,7 +106,7 @@ export interface TableOwnProps extends StylesApiProps<TableFactory> {
|
|
|
108
106
|
export interface TableProps extends Omit<BoxProps, keyof TableOwnProps>, TableOwnProps {
|
|
109
107
|
}
|
|
110
108
|
export type TableFactory = Factory<{
|
|
111
|
-
props:
|
|
109
|
+
props: TableProps;
|
|
112
110
|
ref: HTMLTableElement;
|
|
113
111
|
slots: TableSlots;
|
|
114
112
|
element: 'table';
|
|
@@ -127,4 +125,3 @@ export type TableFactory = Factory<{
|
|
|
127
125
|
DataRenderer: typeof TableDataRenderer;
|
|
128
126
|
};
|
|
129
127
|
}>;
|
|
130
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|