@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
|
@@ -6,8 +6,6 @@ export interface PillGroupContextValue {
|
|
|
6
6
|
}
|
|
7
7
|
/** Props declared by `PillGroup` itself. See `PillGroupProps` for the full public type. */
|
|
8
8
|
export interface PillGroupOwnProps extends StylesApiProps<PillGroupFactory> {
|
|
9
|
-
/** Receives the root DOM node. */
|
|
10
|
-
rootRef?: VueRefTarget<Element>;
|
|
11
9
|
/** Controls spacing between pills, by default controlled by `size` */
|
|
12
10
|
gap?: MantineSize | (string & {}) | number;
|
|
13
11
|
/**
|
|
@@ -30,11 +28,10 @@ export type PillGroupCssVariables = {
|
|
|
30
28
|
group: '--pg-gap';
|
|
31
29
|
};
|
|
32
30
|
export type PillGroupFactory = Factory<{
|
|
33
|
-
props:
|
|
31
|
+
props: PillGroupProps;
|
|
34
32
|
ref: HTMLDivElement;
|
|
35
33
|
slots: PillGroupSlots;
|
|
36
34
|
element: 'div';
|
|
37
35
|
stylesNames: PillGroupStylesNames;
|
|
38
36
|
vars: PillGroupCssVariables;
|
|
39
37
|
}>;
|
|
40
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PillGroupOwnProps, PillGroupSlots } from './PillGroup.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<PillGroupOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PillGroupOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PillGroupOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PillGroupOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PillGroupSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PillsInputField } from './PillsInputField/PillsInputField';
|
|
2
2
|
export declare const PillsInput: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./PillsInput.types").PillsInputProps;
|
|
4
4
|
slots: import("./PillsInput.types").PillsInputSlots;
|
|
5
5
|
ref: HTMLDivElement;
|
|
6
6
|
stylesNames: import("./PillsInput.types").PillsInputStylesNames;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { PillsInputField } from './PillsInputField/PillsInputField';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type { BoxMod, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
2
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
3
|
+
import type { BoxMod, DataAttributes, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
5
4
|
import type { InputBaseOwnProps, InputBaseStylesNames } from '../InputBase';
|
|
6
5
|
export type PillsInputStylesNames = InputBaseStylesNames;
|
|
7
6
|
export interface PillsInputSlots {
|
|
@@ -20,8 +19,6 @@ export interface PillsInputSlots {
|
|
|
20
19
|
}
|
|
21
20
|
/** Props declared by `PillsInput` itself. See `PillsInputProps` for the full public type. */
|
|
22
21
|
export interface PillsInputOwnProps extends StylesApiProps<PillsInputFactory> {
|
|
23
|
-
/** Receives the input element */
|
|
24
|
-
rootRef?: VueRefTarget<Element>;
|
|
25
22
|
/**
|
|
26
23
|
* Controls input height and horizontal padding.
|
|
27
24
|
*
|
|
@@ -75,7 +72,7 @@ export interface PillsInputOwnProps extends StylesApiProps<PillsInputFactory> {
|
|
|
75
72
|
*/
|
|
76
73
|
withAsterisk?: boolean;
|
|
77
74
|
/** Props passed down to the root element (`Input.Wrapper` component). */
|
|
78
|
-
wrapperProps?:
|
|
75
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
79
76
|
/**
|
|
80
77
|
* Key of `theme.radius` or any valid CSS value to set `border-radius`.
|
|
81
78
|
*
|
|
@@ -89,7 +86,7 @@ export interface PillsInputOwnProps extends StylesApiProps<PillsInputFactory> {
|
|
|
89
86
|
export interface PillsInputProps extends Omit<InputBaseOwnProps, keyof PillsInputOwnProps | 'component' | 'multiline' | 'withAria'>, PillsInputOwnProps {
|
|
90
87
|
}
|
|
91
88
|
export type PillsInputFactory = Factory<{
|
|
92
|
-
props:
|
|
89
|
+
props: PillsInputProps;
|
|
93
90
|
slots: PillsInputSlots;
|
|
94
91
|
ref: HTMLDivElement;
|
|
95
92
|
stylesNames: PillsInputStylesNames;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { PillsInputOwnProps, PillsInputSlots } from './PillsInput.types';
|
|
2
3
|
/** Fallthrough listeners arrive as a handler or an array of handlers. */
|
|
3
4
|
declare function callHandler(handler: any, event: Event): void;
|
|
4
5
|
export { callHandler };
|
|
5
6
|
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
7
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PillsInputOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PillsInputOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PillsInputOwnProps
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PillsInputOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PillsInputSlots>;
|
|
10
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
11
12
|
new (): {
|
|
12
13
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PillsInputField: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./PillsInputField.types").PillsInputFieldProps;
|
|
3
3
|
ref: HTMLInputElement;
|
|
4
4
|
element: "input";
|
|
5
5
|
stylesNames: import("./PillsInputField.types").PillsInputFieldStylesNames;
|
|
@@ -5,8 +5,6 @@ export type PillsInputFieldStylesNames = 'field';
|
|
|
5
5
|
* See `PillsInputFieldProps` for the full public type.
|
|
6
6
|
*/
|
|
7
7
|
export interface PillsInputFieldOwnProps extends StylesApiProps<PillsInputFieldFactory> {
|
|
8
|
-
/** Receives the root DOM node. */
|
|
9
|
-
rootRef?: VueRefTarget<Element>;
|
|
10
8
|
/** Controlled value, bound with `v-model`. */
|
|
11
9
|
modelValue?: string;
|
|
12
10
|
/** Uncontrolled initial value. */
|
|
@@ -41,9 +39,8 @@ export interface PillsInputFieldOwnProps extends StylesApiProps<PillsInputFieldF
|
|
|
41
39
|
export interface PillsInputFieldProps extends Omit<BoxProps, keyof PillsInputFieldOwnProps>, PillsInputFieldOwnProps {
|
|
42
40
|
}
|
|
43
41
|
export type PillsInputFieldFactory = Factory<{
|
|
44
|
-
props:
|
|
42
|
+
props: PillsInputFieldProps;
|
|
45
43
|
ref: HTMLInputElement;
|
|
46
44
|
element: 'input';
|
|
47
45
|
stylesNames: PillsInputFieldStylesNames;
|
|
48
46
|
}>;
|
|
49
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { PillsInputFieldOwnProps } from './PillsInputField.types';
|
|
2
|
-
|
|
3
|
+
type __VLS_Props = PillsInputFieldOwnProps & RootRefProps<Element>;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
3
5
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
4
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
7
|
change: (value: string) => any;
|
|
6
8
|
"update:modelValue": (value: string) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
10
|
onChange?: ((value: string) => any) | undefined;
|
|
9
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
2
|
-
import type {
|
|
2
|
+
import type { InputHTMLAttributes } from 'vue';
|
|
3
|
+
import type { BoxProps, DataAttributes, MantineRadius, MantineSize, MantineSpacing, StylesApiProps, Factory } from '../../core';
|
|
4
|
+
import type { InputProps } from '../Input';
|
|
3
5
|
export type PinInputStylesNames = 'root' | 'pinInput' | 'input';
|
|
4
6
|
export type PinInputCssVariables = {
|
|
5
7
|
root: '--pin-input-size';
|
|
@@ -104,13 +106,11 @@ export interface PinInputOwnProps extends StylesApiProps<PinInputFactory> {
|
|
|
104
106
|
*/
|
|
105
107
|
ariaLabel?: string;
|
|
106
108
|
/** Props passed down to the hidden input that carries the code in a form. */
|
|
107
|
-
hiddenInputProps?:
|
|
108
|
-
/** Ref assigned to the root element. */
|
|
109
|
-
rootRef?: VueRefTarget<HTMLDivElement>;
|
|
109
|
+
hiddenInputProps?: InputHTMLAttributes;
|
|
110
110
|
/** Ref assigned to the first field. */
|
|
111
111
|
inputRef?: VueRefTarget<HTMLInputElement>;
|
|
112
112
|
/** Returns extra props for the field at the given index. */
|
|
113
|
-
getInputProps?: (index: number) =>
|
|
113
|
+
getInputProps?: (index: number) => InputProps & Omit<InputHTMLAttributes, 'size'> & DataAttributes;
|
|
114
114
|
/** Controls the visual representation of the fields. */
|
|
115
115
|
variant?: string;
|
|
116
116
|
}
|
|
@@ -125,7 +125,7 @@ export interface PinInputEmits {
|
|
|
125
125
|
complete: [value: string];
|
|
126
126
|
}
|
|
127
127
|
export type PinInputFactory = Factory<{
|
|
128
|
-
props:
|
|
128
|
+
props: PinInputProps;
|
|
129
129
|
ref: HTMLDivElement;
|
|
130
130
|
exposed: {
|
|
131
131
|
rootElement: Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { PinInputOwnProps } from './PinInput.types';
|
|
2
3
|
/** Character classes the fields can be restricted to. */
|
|
3
4
|
declare const regex: {
|
|
@@ -24,13 +25,13 @@ declare function getInputElement(node: any): HTMLInputElement | null;
|
|
|
24
25
|
export { regex, defaultProps, varsResolver, getInputElement };
|
|
25
26
|
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
27
|
-
declare const __VLS_export: import("vue").DefineComponent<PinInputOwnProps
|
|
28
|
+
declare const __VLS_export: import("vue").DefineComponent<PinInputOwnProps & RootRefProps<HTMLDivElement>, {
|
|
28
29
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
29
30
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
31
|
change: (value: string) => any;
|
|
31
32
|
"update:modelValue": (value: string) => any;
|
|
32
33
|
complete: (value: string) => any;
|
|
33
|
-
}, string, import("vue").PublicProps, Readonly<PinInputOwnProps
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<PinInputOwnProps & RootRefProps<HTMLDivElement>> & Readonly<{
|
|
34
35
|
onChange?: ((value: string) => any) | undefined;
|
|
35
36
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
37
|
onComplete?: ((value: string) => any) | undefined;
|
|
@@ -34,6 +34,7 @@ export interface PopoverContextValue {
|
|
|
34
34
|
width: string | number | null;
|
|
35
35
|
zIndex: string | number;
|
|
36
36
|
floatingStrategy: FloatingStrategy;
|
|
37
|
+
referenceHidden: boolean;
|
|
37
38
|
getStyles: any;
|
|
38
39
|
}
|
|
39
40
|
export declare const providePopoverContext: (value: PopoverContextValue) => void, usePopoverContext: () => PopoverContextValue;
|
|
@@ -2,6 +2,9 @@ import type { VNodeChild } from 'vue';
|
|
|
2
2
|
import type { FlipOptions, InlineOptions, ShiftOptions, SizeOptions } from '@floating-ui/vue';
|
|
3
3
|
import type { ClassNames, Styles, Vars } from '../../core';
|
|
4
4
|
import type { ArrowPosition, FloatingAxesOffsets, FloatingPosition, FloatingStrategy } from '../../utils/Floating';
|
|
5
|
+
import type { OverlayProps } from '../Overlay';
|
|
6
|
+
import type { PortalProps } from '../Portal';
|
|
7
|
+
import type { TransitionOverride } from '../Transition';
|
|
5
8
|
export type PopoverStylesNames = 'dropdown' | 'arrow' | 'overlay';
|
|
6
9
|
export type PopoverCssVariables = '--popover-radius' | '--popover-shadow';
|
|
7
10
|
/** `target` matches the width of the target element; anything else is a CSS width. */
|
|
@@ -97,7 +100,7 @@ export interface PopoverProps {
|
|
|
97
100
|
*/
|
|
98
101
|
withinPortal?: boolean;
|
|
99
102
|
/** Props passed down to the `Portal` when `withinPortal` is set. */
|
|
100
|
-
portalProps?:
|
|
103
|
+
portalProps?: PortalProps;
|
|
101
104
|
/**
|
|
102
105
|
* If set, the dropdown closes on a click outside the target and the dropdown.
|
|
103
106
|
*
|
|
@@ -150,7 +153,7 @@ export interface PopoverProps {
|
|
|
150
153
|
*
|
|
151
154
|
* @default { transition: 'fade', duration: 150 }
|
|
152
155
|
*/
|
|
153
|
-
transitionProps?:
|
|
156
|
+
transitionProps?: TransitionOverride;
|
|
154
157
|
/**
|
|
155
158
|
* `z-index` of the dropdown.
|
|
156
159
|
*
|
|
@@ -169,6 +172,12 @@ export interface PopoverProps {
|
|
|
169
172
|
* @default { flip: true, shift: true }
|
|
170
173
|
*/
|
|
171
174
|
middlewares?: PopoverMiddlewares;
|
|
175
|
+
/**
|
|
176
|
+
* If set, the dropdown is hidden when the target is hidden with styles or not visible on the screen.
|
|
177
|
+
*
|
|
178
|
+
* @default true
|
|
179
|
+
*/
|
|
180
|
+
hideDetached?: boolean;
|
|
172
181
|
/** Base `id` used to connect the target with the dropdown. Generated when not set. */
|
|
173
182
|
id?: string;
|
|
174
183
|
/** Props merged into the target element. */
|
|
@@ -180,7 +189,7 @@ export interface PopoverProps {
|
|
|
180
189
|
*/
|
|
181
190
|
withOverlay?: boolean;
|
|
182
191
|
/** Props passed down to the `Overlay`. */
|
|
183
|
-
overlayProps?:
|
|
192
|
+
overlayProps?: OverlayProps;
|
|
184
193
|
/** Key of `theme.radius` or any valid CSS value to set `border-radius`. */
|
|
185
194
|
radius?: string | number;
|
|
186
195
|
/** Key of `theme.shadows` or any valid CSS value to set the shadow. */
|
|
@@ -2,7 +2,7 @@ import { ProgressLabel } from './ProgressLabel/ProgressLabel';
|
|
|
2
2
|
import { ProgressRoot } from './ProgressRoot/ProgressRoot';
|
|
3
3
|
import { ProgressSection } from './ProgressSection/ProgressSection';
|
|
4
4
|
export declare const Progress: import("../..").MantineComponent<{
|
|
5
|
-
props:
|
|
5
|
+
props: import("./Progress.types").ProgressProps;
|
|
6
6
|
ref: HTMLDivElement;
|
|
7
7
|
exposed: {
|
|
8
8
|
rootElement: Element | null;
|
|
@@ -2,13 +2,10 @@ import type { ProgressRootCssVariables } from './ProgressRoot/ProgressRoot.types
|
|
|
2
2
|
import type { ProgressLabel } from './ProgressLabel/ProgressLabel';
|
|
3
3
|
import type { ProgressSection } from './ProgressSection/ProgressSection';
|
|
4
4
|
import type { ProgressRoot } from './ProgressRoot/ProgressRoot';
|
|
5
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
6
5
|
import type { BoxProps, MantineColor, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
7
6
|
export type ProgressStylesNames = 'root' | 'section' | 'label';
|
|
8
7
|
/** Props declared by `Progress` itself. See `ProgressProps` for the full public type. */
|
|
9
8
|
export interface ProgressOwnProps extends StylesApiProps<ProgressFactory> {
|
|
10
|
-
/** Receives the root DOM node. */
|
|
11
|
-
rootRef?: VueRefTarget<Element>;
|
|
12
9
|
/** Value of the progress */
|
|
13
10
|
value: number;
|
|
14
11
|
/**
|
|
@@ -59,7 +56,7 @@ export interface ProgressOwnProps extends StylesApiProps<ProgressFactory> {
|
|
|
59
56
|
export interface ProgressProps extends Omit<BoxProps, keyof ProgressOwnProps>, ProgressOwnProps {
|
|
60
57
|
}
|
|
61
58
|
export type ProgressFactory = Factory<{
|
|
62
|
-
props:
|
|
59
|
+
props: ProgressProps;
|
|
63
60
|
ref: HTMLDivElement;
|
|
64
61
|
exposed: {
|
|
65
62
|
rootElement: Element | null;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { ProgressOwnProps } from './Progress.types';
|
|
2
|
-
|
|
3
|
+
type __VLS_Props = ProgressOwnProps & RootRefProps<Element>;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
3
5
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
7
|
declare const _default: typeof __VLS_export;
|
|
6
8
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ProgressLabel: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ProgressLabel.types").ProgressLabelProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ProgressLabel.types").ProgressLabelSlots;
|
|
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 `ProgressLabel` itself. See `ProgressLabelProps` for the full public type. */
|
|
4
4
|
export interface ProgressLabelOwnProps {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/** Class names applied to Progress elements. */
|
|
8
6
|
classNames?: StylesApiProps<ProgressLabelFactory>['classNames'];
|
|
9
7
|
/** Inline styles applied to Progress elements. */
|
|
@@ -21,10 +19,9 @@ export interface ProgressLabelProps extends Omit<BoxProps, keyof ProgressLabelOw
|
|
|
21
19
|
}
|
|
22
20
|
export type ProgressLabelStylesNames = 'label';
|
|
23
21
|
export type ProgressLabelFactory = Factory<{
|
|
24
|
-
props:
|
|
22
|
+
props: ProgressLabelProps;
|
|
25
23
|
ref: HTMLDivElement;
|
|
26
24
|
slots: ProgressLabelSlots;
|
|
27
25
|
element: 'div';
|
|
28
26
|
stylesNames: ProgressLabelStylesNames;
|
|
29
27
|
}>;
|
|
30
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { ProgressLabelOwnProps, ProgressLabelSlots } from './ProgressLabel.types';
|
|
3
|
+
type __VLS_Props = ProgressLabelOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = ProgressLabelSlots;
|
|
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 ProgressRoot: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ProgressRoot.types").ProgressRootProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ProgressRoot.types").ProgressRootSlots;
|
|
5
5
|
element: "div";
|
|
@@ -3,8 +3,6 @@ import type { BoxMod, BoxProps, MantineRadius, MantineSize, StylesApiProps, Fact
|
|
|
3
3
|
export type ProgressRootStylesNames = 'root' | 'section' | 'label';
|
|
4
4
|
/** Props declared by `ProgressRoot` itself. See `ProgressRootProps` for the full public type. */
|
|
5
5
|
export interface ProgressRootOwnProps extends StylesApiProps<ProgressRootFactory> {
|
|
6
|
-
/** Receives the root DOM node. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
6
|
/**
|
|
9
7
|
* Controls track height
|
|
10
8
|
*
|
|
@@ -44,11 +42,10 @@ export type ProgressRootCssVariables = {
|
|
|
44
42
|
root: '--progress-size' | '--progress-radius' | '--progress-transition-duration';
|
|
45
43
|
};
|
|
46
44
|
export type ProgressRootFactory = Factory<{
|
|
47
|
-
props:
|
|
45
|
+
props: ProgressRootProps;
|
|
48
46
|
ref: HTMLDivElement;
|
|
49
47
|
slots: ProgressRootSlots;
|
|
50
48
|
element: 'div';
|
|
51
49
|
stylesNames: ProgressRootStylesNames;
|
|
52
50
|
vars: ProgressRootCssVariables;
|
|
53
51
|
}>;
|
|
54
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { ProgressRootOwnProps, ProgressRootSlots } from './ProgressRoot.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<ProgressRootOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressRootOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressRootOwnProps
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressRootOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressRootSlots>;
|
|
9
10
|
type __VLS_WithSlots<T, S> = T & {
|
|
10
11
|
new (): {
|
|
11
12
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ProgressSection: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ProgressSection.types").ProgressSectionProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ProgressSection.types").ProgressSectionSlots;
|
|
5
5
|
element: "div";
|
|
@@ -3,8 +3,6 @@ import type { BoxMod, BoxProps, MantineColor, StylesApiProps, Factory } from '..
|
|
|
3
3
|
export type ProgressSectionStylesNames = 'section';
|
|
4
4
|
/** Props declared by `ProgressSection` itself. See `ProgressSectionProps` for the full public type. */
|
|
5
5
|
export interface ProgressSectionOwnProps {
|
|
6
|
-
/** Receives the root DOM node. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
6
|
/** Value of the section in 0–100 range */
|
|
9
7
|
value: number;
|
|
10
8
|
/**
|
|
@@ -47,10 +45,9 @@ export interface ProgressSectionSlots {
|
|
|
47
45
|
default?: () => VNodeChild;
|
|
48
46
|
}
|
|
49
47
|
export type ProgressSectionFactory = Factory<{
|
|
50
|
-
props:
|
|
48
|
+
props: ProgressSectionProps;
|
|
51
49
|
ref: HTMLDivElement;
|
|
52
50
|
slots: ProgressSectionSlots;
|
|
53
51
|
element: 'div';
|
|
54
52
|
stylesNames: ProgressSectionStylesNames;
|
|
55
53
|
}>;
|
|
56
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { ProgressSectionOwnProps, ProgressSectionSlots } from './ProgressSection.types';
|
|
2
3
|
declare const _default: typeof __VLS_export;
|
|
3
4
|
export default _default;
|
|
4
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressSectionOwnProps
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressSectionOwnProps & RootRefProps<Element>, {
|
|
5
6
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressSectionOwnProps
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressSectionOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSectionSlots>;
|
|
7
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
@@ -2,7 +2,7 @@ import { RadioCard } from './RadioCard/RadioCard';
|
|
|
2
2
|
import { RadioGroup } from './RadioGroup/RadioGroup';
|
|
3
3
|
import { RadioIndicator } from './RadioIndicator/RadioIndicator';
|
|
4
4
|
export declare const Radio: import("../..").MantineComponent<{
|
|
5
|
-
props:
|
|
5
|
+
props: import("./Radio.types").RadioProps;
|
|
6
6
|
slots: import("./Radio.types").RadioSlots;
|
|
7
7
|
emits: import("./Radio.types").RadioEmits;
|
|
8
8
|
ref: HTMLDivElement;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { RadioCard } from './RadioCard/RadioCard';
|
|
2
2
|
import type { RadioIndicator } from './RadioIndicator/RadioIndicator';
|
|
3
3
|
import type { RadioGroup } from './RadioGroup/RadioGroup';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type { BoxMod, BoxProps, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
4
|
+
import type { Component, HTMLAttributes, VNodeChild } from 'vue';
|
|
5
|
+
import type { BoxMod, BoxProps, DataAttributes, MantineColor, MantineNode, MantineRadius, MantineSize, StylesApiProps, Factory } from '../../core';
|
|
7
6
|
export type RadioVariant = 'filled' | 'outline' | 'light';
|
|
8
7
|
export type RadioStylesNames = 'root' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error' | 'inner' | 'radio' | 'icon';
|
|
9
8
|
export type RadioCssVariables = {
|
|
@@ -53,7 +52,7 @@ export interface RadioOwnProps extends StylesApiProps<RadioFactory> {
|
|
|
53
52
|
*/
|
|
54
53
|
icon?: Component;
|
|
55
54
|
/** Props passed down to the root element. */
|
|
56
|
-
wrapperProps?:
|
|
55
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
57
56
|
/**
|
|
58
57
|
* Position of the label relative to the radio.
|
|
59
58
|
*
|
|
@@ -76,8 +75,6 @@ export interface RadioOwnProps extends StylesApiProps<RadioFactory> {
|
|
|
76
75
|
* @default 'xl'
|
|
77
76
|
*/
|
|
78
77
|
radius?: MantineRadius;
|
|
79
|
-
/** Ref assigned to the root element. */
|
|
80
|
-
rootRef?: VueRefTarget<Element>;
|
|
81
78
|
/** Key of `theme.colors` or any valid CSS color used for the icon. */
|
|
82
79
|
iconColor?: MantineColor;
|
|
83
80
|
/**
|
|
@@ -129,7 +126,7 @@ export interface RadioEmits {
|
|
|
129
126
|
change: [checked: boolean];
|
|
130
127
|
}
|
|
131
128
|
export type RadioFactory = Factory<{
|
|
132
|
-
props:
|
|
129
|
+
props: RadioProps;
|
|
133
130
|
slots: RadioSlots;
|
|
134
131
|
emits: RadioEmits;
|
|
135
132
|
ref: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { RadioOwnProps, RadioSlots } from './Radio.types';
|
|
2
3
|
declare const mergedClasses: {
|
|
3
4
|
[x: string]: string;
|
|
@@ -19,14 +20,14 @@ declare const defaultProps: {
|
|
|
19
20
|
export { mergedClasses, varsResolver, defaultProps, DEFAULT_SIZE };
|
|
20
21
|
declare const _default: typeof __VLS_export;
|
|
21
22
|
export default _default;
|
|
22
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<RadioOwnProps
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<RadioOwnProps & RootRefProps<Element>, {
|
|
23
24
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
24
25
|
inputElement: import("vue").Ref<Element | null, Element | null>;
|
|
25
26
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
27
|
change: (checked: boolean) => any;
|
|
27
28
|
"update:modelValue": (checked: boolean) => any;
|
|
28
29
|
"update:checked": (checked: boolean) => any;
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<RadioOwnProps
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<RadioOwnProps & RootRefProps<Element>> & Readonly<{
|
|
30
31
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
31
32
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
32
33
|
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const RadioCard: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./RadioCard.types").RadioCardProps;
|
|
3
3
|
ref: HTMLButtonElement;
|
|
4
4
|
slots: import("./RadioCard.types").RadioCardSlots;
|
|
5
5
|
element: "button";
|
|
@@ -14,8 +14,6 @@ export interface RadioCardSlots {
|
|
|
14
14
|
}
|
|
15
15
|
/** Props declared by `RadioCard` itself. See `RadioCardProps` for the full public type. */
|
|
16
16
|
export interface RadioCardOwnProps extends StylesApiProps<RadioCardFactory> {
|
|
17
|
-
/** Receives the root DOM node. */
|
|
18
|
-
rootRef?: VueRefTarget<Element>;
|
|
19
17
|
/** Checked state, bound with `v-model`. */
|
|
20
18
|
modelValue?: boolean;
|
|
21
19
|
/** Checked state, bound with `v-model:checked`. */
|
|
@@ -44,11 +42,10 @@ export interface RadioCardOwnProps extends StylesApiProps<RadioCardFactory> {
|
|
|
44
42
|
export interface RadioCardProps extends Omit<BoxProps, keyof RadioCardOwnProps>, RadioCardOwnProps {
|
|
45
43
|
}
|
|
46
44
|
export type RadioCardFactory = Factory<{
|
|
47
|
-
props:
|
|
45
|
+
props: RadioCardProps;
|
|
48
46
|
ref: HTMLButtonElement;
|
|
49
47
|
slots: RadioCardSlots;
|
|
50
48
|
element: 'button';
|
|
51
49
|
stylesNames: RadioCardStylesNames;
|
|
52
50
|
vars: RadioCardCssVariables;
|
|
53
51
|
}>;
|
|
54
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { RadioCardOwnProps, RadioCardSlots } from './RadioCard.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<RadioCardOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<RadioCardOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
change: (checked: boolean) => any;
|
|
11
12
|
"update:modelValue": (checked: boolean) => any;
|
|
12
13
|
"update:checked": (checked: boolean) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<RadioCardOwnProps
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<RadioCardOwnProps & RootRefProps<Element>> & Readonly<{
|
|
14
15
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
15
16
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
16
17
|
"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, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, DataAttributes, MantineNode, MantineSize, StylesApiProps } from '../../../core';
|
|
3
3
|
export interface RadioGroupContextValue {
|
|
4
4
|
/** Value of the currently selected radio. */
|
|
5
5
|
value: string | null;
|
|
@@ -31,7 +31,7 @@ export interface RadioGroupOwnProps extends StylesApiProps<RadioGroupProps> {
|
|
|
31
31
|
/** Controls the size of every radio in the group that does not set its own `size`. */
|
|
32
32
|
size?: MantineSize;
|
|
33
33
|
/** Props passed down to the `Input.Wrapper` root element. */
|
|
34
|
-
wrapperProps?:
|
|
34
|
+
wrapperProps?: HTMLAttributes & DataAttributes;
|
|
35
35
|
/** `name` shared by every radio in the group. Generated automatically when not set. */
|
|
36
36
|
name?: string;
|
|
37
37
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const RadioIndicator: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./RadioIndicator.types").RadioIndicatorProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./RadioIndicator.types").RadioIndicatorSlots;
|
|
5
5
|
element: "div";
|