@mantine-vue/core 3.5.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +5174 -2272
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +5154 -2273
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +3 -3
- package/lib/components/Accordion/Accordion.vue.d.ts +1 -4
- package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +1 -1
- package/lib/components/Accordion/AccordionControl/AccordionControl.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionControl/AccordionControl.vue.d.ts +3 -2
- package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem/AccordionItem.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionItem/AccordionItem.vue.d.ts +4 -2
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +1 -1
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.types.d.ts +1 -4
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.vue.d.ts +4 -2
- package/lib/components/ActionBar/ActionBar.d.ts +1 -1
- package/lib/components/ActionBar/ActionBar.types.d.ts +3 -5
- package/lib/components/ActionBar/ActionBar.vue.d.ts +3 -4
- package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIcon.types.d.ts +3 -5
- package/lib/components/ActionIcon/ActionIcon.vue.d.ts +3 -2
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.types.d.ts +1 -4
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue.d.ts +3 -2
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.types.d.ts +1 -4
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.vue.d.ts +3 -2
- package/lib/components/Affix/Affix.d.ts +1 -1
- package/lib/components/Affix/Affix.types.d.ts +3 -5
- package/lib/components/Affix/Affix.vue.d.ts +3 -2
- package/lib/components/Alert/Alert.d.ts +1 -1
- package/lib/components/Alert/Alert.types.d.ts +1 -4
- package/lib/components/Alert/Alert.vue.d.ts +3 -2
- package/lib/components/Anchor/Anchor.d.ts +1 -1
- package/lib/components/Anchor/Anchor.types.d.ts +1 -4
- package/lib/components/Anchor/Anchor.vue.d.ts +3 -2
- package/lib/components/AngleSlider/AngleSlider.types.d.ts +2 -2
- package/lib/components/AppShell/AppShell.context.d.ts +5 -0
- package/lib/components/AppShell/AppShell.d.ts +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts +45 -6
- package/lib/components/AppShell/AppShell.vue.d.ts +3 -2
- package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +3 -3
- package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +3 -3
- package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +3 -3
- package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +1 -1
- package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +1 -4
- package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +4 -2
- package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +9 -1
- package/lib/components/AppShell/AppShellMediaStyles/get-variables.d.ts +6 -2
- package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +3 -3
- package/lib/components/AppShell/AppShellResizeHandle/AppShellResizeHandle.d.ts +23 -0
- package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +1 -1
- package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +1 -1
- package/lib/components/AppShell/create-app-shell-component.d.ts +3 -3
- package/lib/components/AppShell/index.d.ts +2 -0
- package/lib/components/AppShell/use-app-shell-resize/clamp-resize-size.d.ts +7 -0
- package/lib/components/AppShell/use-app-shell-resize/resize-section-config.d.ts +18 -0
- package/lib/components/AppShell/use-app-shell-resize/use-app-shell-resize.d.ts +6 -0
- package/lib/components/AppShell/use-resizing/use-resizing.d.ts +1 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/lib/components/AspectRatio/AspectRatio.types.d.ts +1 -4
- package/lib/components/AspectRatio/AspectRatio.vue.d.ts +3 -2
- package/lib/components/Autocomplete/Autocomplete.d.ts +5 -5
- package/lib/components/Autocomplete/Autocomplete.types.d.ts +4 -3
- package/lib/components/Autocomplete/Autocomplete.vue.d.ts +2 -2
- package/lib/components/Avatar/Avatar.d.ts +1 -1
- package/lib/components/Avatar/Avatar.types.d.ts +3 -6
- package/lib/components/Avatar/Avatar.vue.d.ts +3 -2
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +1 -4
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +3 -2
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +1 -1
- package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +1 -4
- package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +3 -2
- package/lib/components/Badge/Badge.d.ts +1 -1
- package/lib/components/Badge/Badge.types.d.ts +1 -4
- package/lib/components/Badge/Badge.vue.d.ts +3 -2
- package/lib/components/Blockquote/Blockquote.d.ts +1 -1
- package/lib/components/Blockquote/Blockquote.types.d.ts +1 -4
- package/lib/components/Blockquote/Blockquote.vue.d.ts +3 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -4
- package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
- package/lib/components/Burger/Burger.d.ts +1 -1
- package/lib/components/Burger/Burger.types.d.ts +1 -4
- package/lib/components/Burger/Burger.vue.d.ts +3 -2
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Button/Button.types.d.ts +3 -5
- package/lib/components/Button/Button.vue.d.ts +3 -2
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +1 -4
- package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +3 -2
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +1 -1
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +1 -4
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +3 -2
- package/lib/components/Card/Card.d.ts +1 -1
- package/lib/components/Card/Card.types.d.ts +1 -4
- package/lib/components/Card/Card.vue.d.ts +3 -2
- package/lib/components/Card/CardSection/CardSection.d.ts +1 -1
- package/lib/components/Card/CardSection/CardSection.types.d.ts +1 -1
- package/lib/components/Cascader/Cascader.d.ts +5 -5
- package/lib/components/Cascader/Cascader.types.d.ts +6 -4
- package/lib/components/Cascader/Cascader.vue.d.ts +2 -2
- package/lib/components/Center/Center.d.ts +1 -1
- package/lib/components/Center/Center.types.d.ts +1 -4
- package/lib/components/Center/Center.vue.d.ts +4 -2
- package/lib/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/components/Checkbox/Checkbox.types.d.ts +7 -9
- package/lib/components/Checkbox/Checkbox.vue.d.ts +4 -2
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +1 -4
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +3 -2
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +4 -4
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +3 -6
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +3 -2
- package/lib/components/Chip/Chip.d.ts +1 -1
- package/lib/components/Chip/Chip.types.d.ts +4 -7
- package/lib/components/Chip/Chip.vue.d.ts +3 -2
- package/lib/components/CloseButton/CloseButton.d.ts +1 -1
- package/lib/components/CloseButton/CloseButton.types.d.ts +1 -1
- package/lib/components/Code/Code.d.ts +1 -1
- package/lib/components/Code/Code.types.d.ts +1 -4
- package/lib/components/Code/Code.vue.d.ts +3 -2
- package/lib/components/Collapse/Collapse.d.ts +1 -1
- package/lib/components/Collapse/Collapse.types.d.ts +1 -4
- package/lib/components/Collapse/Collapse.vue.d.ts +3 -2
- package/lib/components/ColorInput/ColorInput.types.d.ts +2 -1
- package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +3 -2
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +2 -1
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +1 -1
- package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +1 -4
- package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +3 -2
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +2 -1
- package/lib/components/Combobox/get-combobox-label-id.d.ts +9 -0
- package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +4 -3
- package/lib/components/Container/Container.d.ts +1 -1
- package/lib/components/Container/Container.types.d.ts +1 -4
- package/lib/components/Container/Container.vue.d.ts +3 -2
- package/lib/components/DataList/DataList.d.ts +1 -1
- package/lib/components/DataList/DataList.types.d.ts +1 -4
- package/lib/components/DataList/DataList.vue.d.ts +3 -2
- package/lib/components/DataList/DataListItem/DataListItem.d.ts +1 -1
- package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +1 -4
- package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +4 -2
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +1 -1
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +1 -4
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +4 -2
- package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +1 -1
- package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +1 -4
- package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +4 -2
- package/lib/components/Dialog/Dialog.types.d.ts +4 -7
- package/lib/components/Divider/Divider.d.ts +1 -1
- package/lib/components/Divider/Divider.types.d.ts +1 -4
- package/lib/components/Divider/Divider.vue.d.ts +3 -2
- package/lib/components/Drawer/Drawer.types.d.ts +6 -3
- package/lib/components/Drawer/DrawerRoot.vue.d.ts +3 -2
- package/lib/components/EmptyState/EmptyState.d.ts +1 -1
- package/lib/components/EmptyState/EmptyState.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyState.vue.d.ts +3 -2
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +4 -2
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +1 -1
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +1 -4
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +4 -2
- package/lib/components/Fieldset/Fieldset.d.ts +1 -1
- package/lib/components/Fieldset/Fieldset.types.d.ts +1 -4
- package/lib/components/Fieldset/Fieldset.vue.d.ts +3 -2
- package/lib/components/FileButton/FileButton.types.d.ts +2 -2
- package/lib/components/FileInput/FileInput.types.d.ts +7 -5
- package/lib/components/Flex/Flex.d.ts +1 -1
- package/lib/components/Flex/Flex.types.d.ts +1 -4
- package/lib/components/Flex/Flex.vue.d.ts +4 -2
- package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +1 -1
- package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +1 -4
- package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +3 -2
- package/lib/components/FloatingWindow/FloatingWindow.d.ts +1 -1
- package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +2 -1
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +1 -1
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +1 -4
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +3 -2
- package/lib/components/Grid/Grid.d.ts +1 -1
- package/lib/components/Grid/Grid.types.d.ts +1 -4
- package/lib/components/Grid/Grid.vue.d.ts +3 -2
- package/lib/components/Grid/GridCol/GridCol.d.ts +1 -1
- package/lib/components/Grid/GridCol/GridCol.types.d.ts +1 -4
- package/lib/components/Grid/GridCol/GridCol.vue.d.ts +3 -2
- package/lib/components/Group/Group.d.ts +1 -1
- package/lib/components/Group/Group.types.d.ts +1 -4
- package/lib/components/Group/Group.vue.d.ts +3 -2
- package/lib/components/Highlight/Highlight.d.ts +1 -1
- package/lib/components/Highlight/Highlight.types.d.ts +1 -4
- package/lib/components/Highlight/Highlight.vue.d.ts +3 -2
- package/lib/components/HoverCard/HoverCard.context.d.ts +12 -0
- package/lib/components/HoverCard/HoverCard.d.ts +1 -1
- package/lib/components/HoverCard/HoverCard.types.d.ts +14 -0
- package/lib/components/HoverCard/index.d.ts +1 -1
- package/lib/components/HoverCard/use-hover-card.d.ts +3 -0
- package/lib/components/Image/Image.d.ts +1 -1
- package/lib/components/Image/Image.types.d.ts +1 -4
- package/lib/components/Image/Image.vue.d.ts +3 -2
- package/lib/components/Indicator/Indicator.d.ts +1 -1
- package/lib/components/Indicator/Indicator.types.d.ts +1 -4
- package/lib/components/Indicator/Indicator.vue.d.ts +3 -2
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/Input.types.d.ts +7 -12
- package/lib/components/Input/Input.vue.d.ts +3 -2
- package/lib/components/Input/InputClearButton/InputClearButton.d.ts +1 -1
- package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +1 -4
- package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +4 -2
- package/lib/components/Input/InputDescription/InputDescription.d.ts +1 -1
- package/lib/components/Input/InputDescription/InputDescription.types.d.ts +4 -7
- package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +3 -2
- package/lib/components/Input/InputError/InputError.d.ts +1 -1
- package/lib/components/Input/InputError/InputError.types.d.ts +4 -7
- package/lib/components/Input/InputError/InputError.vue.d.ts +3 -2
- package/lib/components/Input/InputLabel/InputLabel.d.ts +1 -1
- package/lib/components/Input/InputLabel/InputLabel.types.d.ts +4 -7
- package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +3 -2
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +1 -1
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +1 -4
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +4 -2
- package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +7 -4
- package/lib/components/InputBase/InputBase.d.ts +1 -1
- package/lib/components/InputBase/InputBase.types.d.ts +11 -16
- package/lib/components/InputBase/InputBase.vue.d.ts +3 -2
- package/lib/components/Kbd/Kbd.d.ts +1 -1
- package/lib/components/Kbd/Kbd.types.d.ts +1 -4
- package/lib/components/Kbd/Kbd.vue.d.ts +3 -2
- package/lib/components/List/List.d.ts +1 -1
- package/lib/components/List/List.types.d.ts +1 -4
- package/lib/components/List/List.vue.d.ts +3 -2
- package/lib/components/List/ListItem/ListItem.d.ts +1 -1
- package/lib/components/List/ListItem/ListItem.types.d.ts +1 -4
- package/lib/components/List/ListItem/ListItem.vue.d.ts +4 -2
- package/lib/components/Loader/Loader.d.ts +1 -1
- package/lib/components/Loader/Loader.types.d.ts +3 -6
- package/lib/components/Loader/Loader.vue.d.ts +3 -2
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -2
- package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +13 -7
- package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +10 -4
- package/lib/components/Mark/Mark.d.ts +1 -1
- package/lib/components/Mark/Mark.types.d.ts +1 -4
- package/lib/components/Mark/Mark.vue.d.ts +3 -2
- package/lib/components/Marquee/Marquee.d.ts +1 -1
- package/lib/components/Marquee/Marquee.types.d.ts +1 -4
- package/lib/components/Marquee/Marquee.vue.d.ts +3 -2
- package/lib/components/Menu/Menu.types.d.ts +6 -5
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +2 -5
- package/lib/components/Modal/Modal.types.d.ts +6 -3
- package/lib/components/ModalBase/ModalBase.d.ts +1 -1
- package/lib/components/ModalBase/ModalBase.types.d.ts +5 -6
- package/lib/components/ModalBase/ModalBase.vue.d.ts +4 -2
- package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +3 -2
- package/lib/components/ModalBase/ModalBaseContent.d.ts +1 -1
- package/lib/components/ModalBase/ModalBaseContent.types.d.ts +5 -7
- package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +4 -2
- package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +2 -2
- package/lib/components/MultiSelect/MultiSelect.d.ts +5 -5
- package/lib/components/MultiSelect/MultiSelect.types.d.ts +6 -5
- package/lib/components/MultiSelect/MultiSelect.vue.d.ts +2 -2
- package/lib/components/NativeSelect/NativeSelect.d.ts +1 -1
- package/lib/components/NativeSelect/NativeSelect.types.d.ts +1 -4
- package/lib/components/NativeSelect/NativeSelect.vue.d.ts +3 -2
- package/lib/components/NavLink/NavLink.d.ts +1 -1
- package/lib/components/NavLink/NavLink.types.d.ts +1 -4
- package/lib/components/NavLink/NavLink.vue.d.ts +3 -2
- package/lib/components/Notification/Notification.d.ts +1 -1
- package/lib/components/Notification/Notification.types.d.ts +3 -5
- package/lib/components/Notification/Notification.vue.d.ts +3 -2
- package/lib/components/NumberInput/NumberInput.d.ts +1 -1
- package/lib/components/NumberInput/NumberInput.types.d.ts +4 -7
- package/lib/components/OverflowList/OverflowList.d.ts +1 -1
- package/lib/components/OverflowList/OverflowList.types.d.ts +1 -4
- package/lib/components/OverflowList/OverflowList.vue.d.ts +4 -3
- package/lib/components/Overlay/Overlay.d.ts +1 -1
- package/lib/components/Overlay/Overlay.types.d.ts +4 -7
- package/lib/components/Overlay/Overlay.vue.d.ts +3 -2
- package/lib/components/Pagination/Pagination.d.ts +2 -2
- package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +1 -1
- package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +1 -4
- package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +4 -2
- package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +1 -1
- package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +1 -4
- package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +4 -2
- package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +3 -2
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +0 -3
- package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +3 -1
- package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +3 -1
- package/lib/components/Paper/Paper.d.ts +1 -1
- package/lib/components/Paper/Paper.types.d.ts +1 -4
- package/lib/components/Paper/Paper.vue.d.ts +3 -2
- package/lib/components/PasswordInput/PasswordInput.types.d.ts +10 -9
- package/lib/components/PasswordInput/PasswordInputField.vue.d.ts +3 -0
- package/lib/components/Pill/Pill.d.ts +1 -1
- package/lib/components/Pill/Pill.types.d.ts +6 -6
- package/lib/components/Pill/Pill.vue.d.ts +3 -2
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +1 -1
- package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +1 -4
- package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +3 -2
- package/lib/components/PillsInput/PillsInput.d.ts +1 -1
- package/lib/components/PillsInput/PillsInput.types.d.ts +4 -7
- package/lib/components/PillsInput/PillsInput.vue.d.ts +3 -2
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
- package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +1 -4
- package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +4 -2
- package/lib/components/PinInput/PinInput.d.ts +1 -1
- package/lib/components/PinInput/PinInput.types.d.ts +6 -6
- package/lib/components/PinInput/PinInput.vue.d.ts +3 -2
- package/lib/components/Popover/Popover.context.d.ts +1 -0
- package/lib/components/Popover/Popover.types.d.ts +16 -3
- package/lib/components/Popover/Popover.vue.d.ts +3 -0
- package/lib/components/Portal/Portal.vue.d.ts +1 -3
- package/lib/components/Progress/Progress.d.ts +1 -1
- package/lib/components/Progress/Progress.types.d.ts +1 -4
- package/lib/components/Progress/Progress.vue.d.ts +4 -2
- package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +1 -1
- package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +1 -4
- package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +4 -2
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
- package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +1 -4
- package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +3 -2
- package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +1 -1
- package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +1 -4
- package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +3 -2
- package/lib/components/Radio/Radio.d.ts +2 -1
- package/lib/components/Radio/Radio.types.d.ts +7 -9
- package/lib/components/Radio/Radio.vue.d.ts +4 -2
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +1 -1
- package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +1 -4
- package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +3 -2
- package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +3 -3
- package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +1 -1
- package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +3 -6
- package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +3 -2
- package/lib/components/RingProgress/RingProgress.d.ts +1 -1
- package/lib/components/RingProgress/RingProgress.types.d.ts +1 -4
- package/lib/components/RingProgress/RingProgress.vue.d.ts +3 -2
- package/lib/components/RollingNumber/RollingNumber.d.ts +1 -1
- package/lib/components/RollingNumber/RollingNumber.types.d.ts +1 -4
- package/lib/components/RollingNumber/RollingNumber.vue.d.ts +3 -2
- package/lib/components/ScrollArea/ScrollArea.d.ts +1 -0
- package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +5 -7
- package/lib/components/ScrollArea/ScrollArea.vue.d.ts +4 -2
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +1 -4
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +3 -2
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +1 -4
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +4 -2
- package/lib/components/Scroller/Scroller.d.ts +1 -1
- package/lib/components/Scroller/Scroller.types.d.ts +4 -7
- package/lib/components/Scroller/Scroller.vue.d.ts +3 -2
- package/lib/components/Select/Select.d.ts +5 -5
- package/lib/components/Select/Select.types.d.ts +6 -5
- package/lib/components/Select/Select.vue.d.ts +2 -2
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +1 -1
- package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +1 -4
- package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +3 -2
- package/lib/components/SimpleGrid/SimpleGrid.d.ts +1 -1
- package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +1 -4
- package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +3 -2
- package/lib/components/Skeleton/Skeleton.d.ts +1 -1
- package/lib/components/Skeleton/Skeleton.types.d.ts +1 -4
- package/lib/components/Skeleton/Skeleton.vue.d.ts +3 -2
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -1
- package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +3 -6
- package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +3 -2
- package/lib/components/Slider/Slider/Slider.d.ts +1 -1
- package/lib/components/Slider/Slider/Slider.types.d.ts +6 -8
- package/lib/components/Slider/Slider/Slider.vue.d.ts +3 -2
- package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
- package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +1 -4
- package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +4 -2
- package/lib/components/Slider/Thumb/Thumb.d.ts +5 -5
- package/lib/components/Slider/Thumb/Thumb.types.d.ts +2 -1
- package/lib/components/Slider/Thumb/Thumb.vue.d.ts +2 -2
- package/lib/components/Slider/Track/Track.types.d.ts +2 -2
- package/lib/components/Space/Space.d.ts +1 -1
- package/lib/components/Space/Space.types.d.ts +1 -4
- package/lib/components/Space/Space.vue.d.ts +4 -2
- package/lib/components/Splitter/Splitter.d.ts +1 -1
- package/lib/components/Splitter/Splitter.types.d.ts +1 -3
- package/lib/components/Splitter/Splitter.vue.d.ts +3 -2
- package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +1 -1
- package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +1 -4
- package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +4 -2
- package/lib/components/Spoiler/Spoiler.d.ts +1 -1
- package/lib/components/Spoiler/Spoiler.types.d.ts +1 -4
- package/lib/components/Spoiler/Spoiler.vue.d.ts +3 -2
- package/lib/components/Stack/Stack.d.ts +1 -1
- package/lib/components/Stack/Stack.types.d.ts +1 -4
- package/lib/components/Stack/Stack.vue.d.ts +3 -2
- package/lib/components/Stepper/Stepper.d.ts +1 -1
- package/lib/components/Stepper/Stepper.types.d.ts +1 -4
- package/lib/components/Stepper/Stepper.vue.d.ts +3 -2
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
- package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +1 -4
- package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +4 -2
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/Switch.types.d.ts +4 -7
- package/lib/components/Switch/Switch.vue.d.ts +3 -2
- package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +4 -4
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/components/Table/Table.types.d.ts +1 -4
- package/lib/components/Table/Table.vue.d.ts +3 -2
- package/lib/components/Table/TableScrollContainer.d.ts +1 -1
- package/lib/components/Table/TableScrollContainer.types.d.ts +2 -5
- package/lib/components/Table/TableScrollContainer.vue.d.ts +3 -2
- package/lib/components/Table/index.d.ts +1 -1
- package/lib/components/TableOfContents/TableOfContents.d.ts +1 -1
- package/lib/components/TableOfContents/TableOfContents.types.d.ts +1 -4
- package/lib/components/TableOfContents/TableOfContents.vue.d.ts +3 -2
- package/lib/components/Tabs/Tabs.d.ts +3 -3
- package/lib/components/Tabs/TabsList/TabsList.d.ts +1 -1
- package/lib/components/Tabs/TabsList/TabsList.types.d.ts +1 -4
- package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +4 -2
- package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +1 -1
- package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +1 -4
- package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +4 -2
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +1 -1
- package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +1 -4
- package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +4 -2
- package/lib/components/TagsInput/TagsInput.d.ts +5 -5
- package/lib/components/TagsInput/TagsInput.types.d.ts +6 -5
- package/lib/components/TagsInput/TagsInput.vue.d.ts +2 -2
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Text/Text.types.d.ts +1 -4
- package/lib/components/Text/Text.vue.d.ts +3 -2
- package/lib/components/Textarea/Textarea.d.ts +1 -1
- package/lib/components/Textarea/Textarea.types.d.ts +3 -6
- package/lib/components/Textarea/Textarea.vue.d.ts +4 -2
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +1 -1
- package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +1 -4
- package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +3 -2
- package/lib/components/Timeline/Timeline.d.ts +1 -1
- package/lib/components/Timeline/Timeline.types.d.ts +1 -4
- package/lib/components/Timeline/Timeline.vue.d.ts +3 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +1 -4
- package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +4 -2
- package/lib/components/Title/Title.d.ts +1 -1
- package/lib/components/Title/Title.types.d.ts +1 -4
- package/lib/components/Title/Title.vue.d.ts +3 -2
- package/lib/components/Toggle/Toggle.d.ts +15 -0
- package/lib/components/Toggle/Toggle.types.d.ts +52 -0
- package/lib/components/Toggle/Toggle.vue.d.ts +20 -0
- package/lib/components/Toggle/index.d.ts +1 -0
- package/lib/components/Toolbar/Toolbar.context.d.ts +12 -0
- package/lib/components/Toolbar/Toolbar.d.ts +26 -0
- package/lib/components/Toolbar/Toolbar.types.d.ts +87 -0
- package/lib/components/Toolbar/Toolbar.vue.d.ts +14 -0
- package/lib/components/Toolbar/ToolbarDivider.vue.d.ts +3 -0
- package/lib/components/Toolbar/ToolbarGroup.vue.d.ts +13 -0
- package/lib/components/Toolbar/ToolbarToggle.vue.d.ts +14 -0
- package/lib/components/Toolbar/ToolbarToggleGroup.vue.d.ts +19 -0
- package/lib/components/Toolbar/ToolbarToggleItem.vue.d.ts +14 -0
- package/lib/components/Toolbar/index.d.ts +1 -0
- package/lib/components/Tooltip/Tooltip.types.d.ts +11 -6
- package/lib/components/Tooltip/Tooltip.vue.d.ts +1 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +2 -1
- package/lib/components/Tooltip/use-tooltip.d.ts +2 -0
- package/lib/components/Tour/Tour.context.d.ts +27 -0
- package/lib/components/Tour/Tour.d.ts +184 -0
- package/lib/components/Tour/Tour.types.d.ts +129 -0
- package/lib/components/Tour/Tour.vue.d.ts +26 -0
- package/lib/components/Tour/TourBeacon.vue.d.ts +4 -0
- package/lib/components/Tour/TourBeaconPositioned.vue.d.ts +12 -0
- package/lib/components/Tour/TourBody.vue.d.ts +13 -0
- package/lib/components/Tour/TourCloseButton.vue.d.ts +3 -0
- package/lib/components/Tour/TourNavigation.vue.d.ts +3 -0
- package/lib/components/Tour/TourOverlay.vue.d.ts +8 -0
- package/lib/components/Tour/TourRoot.vue.d.ts +28 -0
- package/lib/components/Tour/TourStep.vue.d.ts +13 -0
- package/lib/components/Tour/TourTitle.vue.d.ts +13 -0
- package/lib/components/Tour/TourTooltip.vue.d.ts +14 -0
- package/lib/components/Tour/get-overlay-hit-path.d.ts +6 -0
- package/lib/components/Tour/index.d.ts +3 -0
- package/lib/components/Tour/is-element-in-view.d.ts +1 -0
- package/lib/components/Tree/Tree.d.ts +1 -1
- package/lib/components/Tree/Tree.types.d.ts +4 -7
- package/lib/components/Tree/Tree.vue.d.ts +3 -2
- package/lib/components/TreeSelect/TreeSelect.d.ts +6 -6
- package/lib/components/TreeSelect/TreeSelect.types.d.ts +19 -3
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +2 -2
- package/lib/components/TreeSelect/index.d.ts +1 -1
- package/lib/components/UnstyledButton/UnstyledButton.d.ts +1 -1
- package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +1 -4
- package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +4 -2
- package/lib/components/index.d.ts +3 -0
- package/lib/core/Box/Box.d.ts +4 -12
- package/lib/core/MantineProvider/Mantine.context.d.ts +2 -2
- package/lib/core/MantineProvider/MantineProvider.d.ts +19 -19
- package/lib/core/MantineProvider/MantineThemeProvider.d.ts +9 -9
- package/lib/core/factory/index.d.ts +0 -1
- package/lib/core/styles-api/styles-api.types.d.ts +2 -0
- package/lib/core/utils/extract-style-props.d.ts +14 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
- package/package.json +3 -3
- package/styles.css +682 -142
- package/styles.layer.css +682 -142
- package/lib/core/factory/use-forwarded-ref.d.ts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Component, VNodeChild } from 'vue';
|
|
2
|
-
import type { BoxProps, StylesApiProps, Factory } from '../../core';
|
|
1
|
+
import type { Component, HTMLAttributes, VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, DataAttributes, StylesApiProps, Factory } from '../../core';
|
|
3
3
|
import type { TreeAllowDrop, TreeDragHandleProps } from './use-tree-node-drag-drop';
|
|
4
4
|
import type { TreeController } from './use-tree';
|
|
5
5
|
export interface TreeNodeData {
|
|
@@ -35,7 +35,7 @@ export interface RenderTreeNodePayload {
|
|
|
35
35
|
/** Controller of the tree the node belongs to. */
|
|
36
36
|
tree: TreeController;
|
|
37
37
|
/** Props that must be spread onto the element rendered for the node. */
|
|
38
|
-
elementProps:
|
|
38
|
+
elementProps: HTMLAttributes & DataAttributes;
|
|
39
39
|
/** Props for the drag handle. Only set when `withDragHandle` is set. */
|
|
40
40
|
dragHandleProps: TreeDragHandleProps | undefined;
|
|
41
41
|
}
|
|
@@ -52,7 +52,7 @@ export interface TreeDragState {
|
|
|
52
52
|
currentDropTarget: HTMLElement | null;
|
|
53
53
|
}
|
|
54
54
|
export type TreeFactory = Factory<{
|
|
55
|
-
props:
|
|
55
|
+
props: TreeProps;
|
|
56
56
|
ref: HTMLUListElement;
|
|
57
57
|
slots: TreeSlots;
|
|
58
58
|
element: 'ul';
|
|
@@ -69,8 +69,6 @@ export interface TreeSlots {
|
|
|
69
69
|
}
|
|
70
70
|
/** Props declared by `Tree` itself. See `TreeProps` for the full public type. */
|
|
71
71
|
export interface TreeOwnProps extends StylesApiProps<TreeFactory> {
|
|
72
|
-
/** Receives the root DOM node. */
|
|
73
|
-
rootRef?: VueRefTarget<Element>;
|
|
74
72
|
/**
|
|
75
73
|
* Element or component rendered as the root.
|
|
76
74
|
*
|
|
@@ -149,6 +147,5 @@ export interface TreeOwnProps extends StylesApiProps<TreeFactory> {
|
|
|
149
147
|
*/
|
|
150
148
|
withLines?: boolean;
|
|
151
149
|
}
|
|
152
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
153
150
|
export interface TreeProps extends Omit<BoxProps, keyof TreeOwnProps>, TreeOwnProps {
|
|
154
151
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { TreeDragDropPayload } from './move-tree-node/move-tree-node';
|
|
2
3
|
import type { TreeOwnProps, TreeSlots } from './Tree.types';
|
|
3
4
|
import type { TreeNodeData } from './Tree.types';
|
|
@@ -11,11 +12,11 @@ declare function getFlatValues(data: TreeNodeData[]): string[];
|
|
|
11
12
|
export { varsResolver, getFlatValues };
|
|
12
13
|
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TreeOwnProps
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TreeOwnProps & RootRefProps<Element>, {
|
|
15
16
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
16
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
"drag-drop": (payload: TreeDragDropPayload) => any;
|
|
18
|
-
}, string, import("vue").PublicProps, Readonly<TreeOwnProps
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<TreeOwnProps & RootRefProps<Element>> & Readonly<{
|
|
19
20
|
"onDrag-drop"?: ((payload: TreeDragDropPayload) => any) | undefined;
|
|
20
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TreeSlots>;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,8 +2,8 @@ export declare const TreeSelectOption: import("vue").DefineComponent<import("./T
|
|
|
2
2
|
export declare const TreeSelect: {
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./TreeSelect.types").TreeSelectProps<any>> & Readonly<{
|
|
4
4
|
onRemove?: ((value: string) => any) | undefined;
|
|
5
|
-
onClear?: (() => any) | undefined;
|
|
6
5
|
onChange?: ((value: any) => any) | undefined;
|
|
6
|
+
onClear?: (() => any) | undefined;
|
|
7
7
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
8
8
|
"onDropdown-open"?: (() => any) | undefined;
|
|
9
9
|
"onDropdown-close"?: (() => any) | undefined;
|
|
@@ -11,8 +11,8 @@ export declare const TreeSelect: {
|
|
|
11
11
|
"onExpanded-change"?: ((values: string[]) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
remove: (value: string) => any;
|
|
14
|
-
clear: () => any;
|
|
15
14
|
change: (value: any) => any;
|
|
15
|
+
clear: () => any;
|
|
16
16
|
"update:modelValue": (value: any) => any;
|
|
17
17
|
"dropdown-open": () => any;
|
|
18
18
|
"dropdown-close": () => any;
|
|
@@ -27,8 +27,8 @@ export declare const TreeSelect: {
|
|
|
27
27
|
Defaults: {};
|
|
28
28
|
}, Readonly<import("./TreeSelect.types").TreeSelectProps<any>> & Readonly<{
|
|
29
29
|
onRemove?: ((value: string) => any) | undefined;
|
|
30
|
-
onClear?: (() => any) | undefined;
|
|
31
30
|
onChange?: ((value: any) => any) | undefined;
|
|
31
|
+
onClear?: (() => any) | undefined;
|
|
32
32
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
33
33
|
"onDropdown-open"?: (() => any) | undefined;
|
|
34
34
|
"onDropdown-close"?: (() => any) | undefined;
|
|
@@ -40,8 +40,8 @@ export declare const TreeSelect: {
|
|
|
40
40
|
__isSuspense?: never;
|
|
41
41
|
} & import("vue").ComponentOptionsBase<Readonly<import("./TreeSelect.types").TreeSelectProps<any>> & Readonly<{
|
|
42
42
|
onRemove?: ((value: string) => any) | undefined;
|
|
43
|
-
onClear?: (() => any) | undefined;
|
|
44
43
|
onChange?: ((value: any) => any) | undefined;
|
|
44
|
+
onClear?: (() => any) | undefined;
|
|
45
45
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
46
46
|
"onDropdown-open"?: (() => any) | undefined;
|
|
47
47
|
"onDropdown-close"?: (() => any) | undefined;
|
|
@@ -49,8 +49,8 @@ export declare const TreeSelect: {
|
|
|
49
49
|
"onExpanded-change"?: ((values: string[]) => any) | undefined;
|
|
50
50
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
remove: (value: string) => any;
|
|
52
|
-
clear: () => any;
|
|
53
52
|
change: (value: any) => any;
|
|
53
|
+
clear: () => any;
|
|
54
54
|
"update:modelValue": (value: any) => any;
|
|
55
55
|
"dropdown-open": () => any;
|
|
56
56
|
"dropdown-close": () => any;
|
|
@@ -72,4 +72,4 @@ export declare const TreeSelect: {
|
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
export type { TreeSelectOptionProps } from './TreeSelectOption.vue';
|
|
75
|
-
export type { CheckedStrategy, TreeSelectChevronAriaLabels, TreeSelectMode, TreeSelectProps, TreeSelectRenderNodePayload, TreeSelectSlots, TreeSelectValue, } from './TreeSelect.types';
|
|
75
|
+
export type { CheckedStrategy, TreeSelectChevronAriaLabels, TreeSelectMode, TreeSelectProps, TreeSelectRenderNodePayload, TreeSelectRenderPillPayload, TreeSelectSlots, TreeSelectValue, } from './TreeSelect.types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { InputHTMLAttributes, VNodeChild } from 'vue';
|
|
2
2
|
import type { MantineNode } from '../../core';
|
|
3
3
|
import type { TreeNodeData } from '../Tree';
|
|
4
4
|
import type { ComboboxProps } from '../Combobox';
|
|
5
|
+
import type { ScrollAreaProps } from '../ScrollArea';
|
|
5
6
|
export type TreeSelectMode = 'single' | 'multiple' | 'checkbox';
|
|
6
7
|
export type TreeSelectValue<Mode extends TreeSelectMode> = Mode extends 'single' ? string | null : string[];
|
|
7
8
|
export type CheckedStrategy = 'all' | 'parent' | 'child';
|
|
@@ -15,6 +16,18 @@ export interface TreeSelectRenderNodePayload {
|
|
|
15
16
|
indeterminate: boolean;
|
|
16
17
|
expand: (event?: Event) => void;
|
|
17
18
|
}
|
|
19
|
+
export interface TreeSelectRenderPillPayload {
|
|
20
|
+
/** Node associated with the pill. A placeholder node is used when the value is missing from data. */
|
|
21
|
+
node: TreeNodeData;
|
|
22
|
+
/** Selected value represented by the pill. */
|
|
23
|
+
value: string;
|
|
24
|
+
/** Removes the value from the selection. */
|
|
25
|
+
onRemove: () => void;
|
|
26
|
+
/** Value of the disabled prop passed to the component. */
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/** Value of the readOnly prop passed to the component. */
|
|
29
|
+
readOnly?: boolean;
|
|
30
|
+
}
|
|
18
31
|
export interface TreeSelectChevronAriaLabels {
|
|
19
32
|
expand?: string;
|
|
20
33
|
collapse?: string;
|
|
@@ -109,6 +122,8 @@ export interface TreeSelectProps<Mode extends TreeSelectMode = 'single'> {
|
|
|
109
122
|
maxDisplayedValuesContent?: VNodeChild | ((overflowCount: number) => VNodeChild);
|
|
110
123
|
/** Custom markup for a tree row. */
|
|
111
124
|
renderNode?: (payload: TreeSelectRenderNodePayload) => VNodeChild;
|
|
125
|
+
/** Custom pill rendering in multiple and checkbox modes. */
|
|
126
|
+
renderPill?: (payload: TreeSelectRenderPillPayload) => VNodeChild;
|
|
112
127
|
/**
|
|
113
128
|
* If set, connector lines between a node and its children are rendered.
|
|
114
129
|
*
|
|
@@ -116,7 +131,7 @@ export interface TreeSelectProps<Mode extends TreeSelectMode = 'single'> {
|
|
|
116
131
|
*/
|
|
117
132
|
withLines?: boolean;
|
|
118
133
|
/** Props passed down to the hidden input that carries the value in a form. */
|
|
119
|
-
hiddenInputProps?:
|
|
134
|
+
hiddenInputProps?: Omit<InputHTMLAttributes, 'value'>;
|
|
120
135
|
/**
|
|
121
136
|
* Separator used to join several values in the hidden input.
|
|
122
137
|
*
|
|
@@ -130,7 +145,7 @@ export interface TreeSelectProps<Mode extends TreeSelectMode = 'single'> {
|
|
|
130
145
|
*/
|
|
131
146
|
maxDropdownHeight?: number | string;
|
|
132
147
|
/** Props passed down to the scrollable wrapper of the dropdown. */
|
|
133
|
-
scrollAreaProps?:
|
|
148
|
+
scrollAreaProps?: ScrollAreaProps;
|
|
134
149
|
/** Open state of the dropdown. */
|
|
135
150
|
dropdownOpened?: boolean;
|
|
136
151
|
/** Uncontrolled initial open state of the dropdown. */
|
|
@@ -159,6 +174,7 @@ export interface TreeSelectSlots {
|
|
|
159
174
|
leftSection?: () => VNodeChild;
|
|
160
175
|
rightSection?: () => VNodeChild;
|
|
161
176
|
renderNode?: (payload: TreeSelectRenderNodePayload) => VNodeChild;
|
|
177
|
+
renderPill?: (payload: TreeSelectRenderPillPayload) => VNodeChild;
|
|
162
178
|
nothingFound?: () => VNodeChild;
|
|
163
179
|
nothingFoundMessage?: () => VNodeChild;
|
|
164
180
|
}
|
|
@@ -3,8 +3,8 @@ type __VLS_Props = TreeSelectProps<any>;
|
|
|
3
3
|
type __VLS_Slots = TreeSelectSlots;
|
|
4
4
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
remove: (value: string) => any;
|
|
6
|
-
clear: () => any;
|
|
7
6
|
change: (value: any) => any;
|
|
7
|
+
clear: () => any;
|
|
8
8
|
"update:modelValue": (value: any) => any;
|
|
9
9
|
"dropdown-open": () => any;
|
|
10
10
|
"dropdown-close": () => any;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
12
12
|
"expanded-change": (values: string[]) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
onRemove?: ((value: string) => any) | undefined;
|
|
15
|
-
onClear?: (() => any) | undefined;
|
|
16
15
|
onChange?: ((value: any) => any) | undefined;
|
|
16
|
+
onClear?: (() => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
18
18
|
"onDropdown-open"?: (() => any) | undefined;
|
|
19
19
|
"onDropdown-close"?: (() => any) | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TreeSelect, TreeSelectOption } from './TreeSelect';
|
|
2
|
-
export type { CheckedStrategy, TreeSelectChevronAriaLabels, TreeSelectMode, TreeSelectOptionProps, TreeSelectProps, TreeSelectRenderNodePayload, TreeSelectSlots, TreeSelectValue, } from './TreeSelect';
|
|
2
|
+
export type { CheckedStrategy, TreeSelectChevronAriaLabels, TreeSelectMode, TreeSelectOptionProps, TreeSelectProps, TreeSelectRenderNodePayload, TreeSelectRenderPillPayload, TreeSelectSlots, TreeSelectValue, } from './TreeSelect';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const UnstyledButton: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./UnstyledButton.types").UnstyledButtonProps, "component"
|
|
2
|
+
props: Omit<import("./UnstyledButton.types").UnstyledButtonProps, "component">;
|
|
3
3
|
slots: import("./UnstyledButton.types").UnstyledButtonSlots;
|
|
4
4
|
ref: HTMLButtonElement;
|
|
5
5
|
exposed: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { VNodeChild } from 'vue';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { BoxMod, BoxProps, StylesApiProps, PolymorphicFactory, MantineElementType } from '../../core';
|
|
4
3
|
/** Props declared by `UnstyledButton` itself. See `UnstyledButtonProps` for the full public type. */
|
|
5
4
|
export interface UnstyledButtonOwnProps extends StylesApiProps<UnstyledButtonProps> {
|
|
6
|
-
/** Receives the root DOM node. The factory narrows this to the element the selected root renders. */
|
|
7
|
-
rootRef?: VueRefTarget<Element>;
|
|
8
5
|
/**
|
|
9
6
|
* Root element or component rendered by `UnstyledButton`.
|
|
10
7
|
*
|
|
@@ -30,7 +27,7 @@ export interface UnstyledButtonSlots {
|
|
|
30
27
|
export type UnstyledButtonStylesNames = 'root';
|
|
31
28
|
/** Public contract of `UnstyledButton`. `component` and `rootRef` come from the factory. */
|
|
32
29
|
export type UnstyledButtonFactory = PolymorphicFactory<{
|
|
33
|
-
props: Omit<UnstyledButtonProps, 'component'
|
|
30
|
+
props: Omit<UnstyledButtonProps, 'component'>;
|
|
34
31
|
slots: UnstyledButtonSlots;
|
|
35
32
|
ref: HTMLButtonElement;
|
|
36
33
|
exposed: {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { UnstyledButtonOwnProps, UnstyledButtonSlots } from './UnstyledButton.types';
|
|
3
|
+
type __VLS_Props = UnstyledButtonOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = UnstyledButtonSlots;
|
|
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;
|
|
@@ -101,6 +101,9 @@ export * from './Drawer';
|
|
|
101
101
|
export * from './Popover';
|
|
102
102
|
export * from './Tooltip';
|
|
103
103
|
export * from './HoverCard';
|
|
104
|
+
export * from './Toggle';
|
|
105
|
+
export * from './Toolbar';
|
|
106
|
+
export * from './Tour';
|
|
104
107
|
export * from './Menu';
|
|
105
108
|
export * from './Menubar';
|
|
106
109
|
export * from './Combobox';
|
package/lib/core/Box/Box.d.ts
CHANGED
|
@@ -15,14 +15,6 @@ export interface BoxProps extends MantineStyleProps {
|
|
|
15
15
|
darkHidden?: boolean;
|
|
16
16
|
/** Element modifiers transformed into `data-` attributes, for example, `{ 'data-size': 'xl' }`, falsy values are removed */
|
|
17
17
|
mod?: BoxMod;
|
|
18
|
-
/**
|
|
19
|
-
* Receives the root DOM node rendered by `Box`.
|
|
20
|
-
*
|
|
21
|
-
* Vue resolves a template `ref` on a component to the component instance rather than the
|
|
22
|
-
* node it renders, so this prop is how a parent reaches the real element. When `component`
|
|
23
|
-
* is a Vue component, the component's own root node (`$el`) is assigned.
|
|
24
|
-
*/
|
|
25
|
-
rootRef?: VueRefTarget<Element>;
|
|
26
18
|
}
|
|
27
19
|
export declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
20
|
component: {
|
|
@@ -91,7 +83,7 @@ export declare const Box: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
91
83
|
/** Opacity */
|
|
92
84
|
opacity: PropType<import("./style-props").StyleProp<import("csstype").Property.Opacity | undefined>>;
|
|
93
85
|
/** FontFamily */
|
|
94
|
-
ff: PropType<import("./style-props").StyleProp<"text" | (string & {}) | "
|
|
86
|
+
ff: PropType<import("./style-props").StyleProp<"text" | (string & {}) | "headings" | "monospace" | "mono" | "heading"> | undefined>;
|
|
95
87
|
/** FontSize, theme key: theme.fontSizes */
|
|
96
88
|
fz: PropType<import("./style-props").StyleProp<number | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | import("..").MantineFontSize> | undefined>;
|
|
97
89
|
/** FontWeight */
|
|
@@ -218,7 +210,7 @@ export declare const Box: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
218
210
|
/** Opacity */
|
|
219
211
|
opacity: PropType<import("./style-props").StyleProp<import("csstype").Property.Opacity | undefined>>;
|
|
220
212
|
/** FontFamily */
|
|
221
|
-
ff: PropType<import("./style-props").StyleProp<"text" | (string & {}) | "
|
|
213
|
+
ff: PropType<import("./style-props").StyleProp<"text" | (string & {}) | "headings" | "monospace" | "mono" | "heading"> | undefined>;
|
|
222
214
|
/** FontSize, theme key: theme.fontSizes */
|
|
223
215
|
fz: PropType<import("./style-props").StyleProp<number | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | import("..").MantineFontSize> | undefined>;
|
|
224
216
|
/** FontWeight */
|
|
@@ -277,8 +269,8 @@ export declare const Box: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
277
269
|
default: undefined;
|
|
278
270
|
};
|
|
279
271
|
}>> & Readonly<{}>, {
|
|
280
|
-
rootRef: VueRefTarget<Element>;
|
|
281
|
-
component: string | Component;
|
|
282
272
|
lightHidden: boolean;
|
|
283
273
|
darkHidden: boolean;
|
|
274
|
+
rootRef: VueRefTarget<Element>;
|
|
275
|
+
component: string | Component;
|
|
284
276
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -29,7 +29,7 @@ export declare function useMantineClassNamesPrefix(): string;
|
|
|
29
29
|
export declare function useMantineStyleNonce(): (() => string | undefined) | undefined;
|
|
30
30
|
export declare function useMantineWithStaticClasses(): boolean;
|
|
31
31
|
export declare function useMantineIsHeadless(): boolean | undefined;
|
|
32
|
-
export declare function useMantineEnv(): "
|
|
32
|
+
export declare function useMantineEnv(): "default" | "test";
|
|
33
33
|
export declare function useMantineDeduplicateInlineStyles(): boolean;
|
|
34
34
|
export declare function createProviderColorScheme(defaultColorScheme: MantineColorScheme): {
|
|
35
35
|
colorScheme: Ref<MantineColorScheme, MantineColorScheme>;
|
|
@@ -46,4 +46,4 @@ export declare function useMantineColorScheme(): {
|
|
|
46
46
|
export interface UseComputedColorSchemeOptions {
|
|
47
47
|
getInitialValueInEffect?: boolean;
|
|
48
48
|
}
|
|
49
|
-
export declare function useComputedColorScheme(defaultValue?: 'light' | 'dark', options?: UseComputedColorSchemeOptions): ComputedRef<"
|
|
49
|
+
export declare function useComputedColorScheme(defaultValue?: 'light' | 'dark', options?: UseComputedColorSchemeOptions): ComputedRef<"light" | "dark">;
|
|
@@ -157,19 +157,19 @@ export declare const MantineProvider: import("vue").DefineComponent<import("vue"
|
|
|
157
157
|
colors?: {
|
|
158
158
|
[x: string & {}]: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
159
159
|
dark?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
160
|
+
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
161
|
+
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
162
|
+
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
163
|
+
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
164
|
+
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
165
|
+
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
160
166
|
blue?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
161
167
|
cyan?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
162
|
-
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
163
168
|
green?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
164
|
-
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
165
169
|
lime?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
170
|
+
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
166
171
|
orange?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
167
|
-
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
168
|
-
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
169
172
|
teal?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
170
|
-
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
171
|
-
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
172
|
-
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
173
173
|
} | undefined;
|
|
174
174
|
primaryShade?: import("./theme.types").MantineColorShade | {
|
|
175
175
|
light?: import("./theme.types").MantineColorShade | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const MantineProvider: import("vue").DefineComponent<import("vue"
|
|
|
184
184
|
headings?: {
|
|
185
185
|
fontFamily?: string | undefined;
|
|
186
186
|
fontWeight?: string | undefined;
|
|
187
|
-
textWrap?: "
|
|
187
|
+
textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
|
|
188
188
|
sizes?: {
|
|
189
189
|
h1?: {
|
|
190
190
|
fontSize?: string | undefined;
|
|
@@ -357,7 +357,7 @@ export declare const MantineProvider: import("vue").DefineComponent<import("vue"
|
|
|
357
357
|
} | undefined;
|
|
358
358
|
};
|
|
359
359
|
defaultColorScheme: MantineColorScheme;
|
|
360
|
-
forceColorScheme: "
|
|
360
|
+
forceColorScheme: "light" | "dark";
|
|
361
361
|
cssVariablesSelector: string;
|
|
362
362
|
withCssVariables: boolean;
|
|
363
363
|
deduplicateCssVariables: boolean;
|
|
@@ -369,7 +369,7 @@ export declare const MantineProvider: import("vue").DefineComponent<import("vue"
|
|
|
369
369
|
withGlobalClasses: boolean;
|
|
370
370
|
stylesTransform: MantineStylesTransform;
|
|
371
371
|
deduplicateInlineStyles: boolean;
|
|
372
|
-
env: "
|
|
372
|
+
env: "default" | "test";
|
|
373
373
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
374
374
|
export declare const HeadlessMantineProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
375
375
|
theme: {
|
|
@@ -401,19 +401,19 @@ export declare const HeadlessMantineProvider: import("vue").DefineComponent<impo
|
|
|
401
401
|
colors?: {
|
|
402
402
|
[x: string & {}]: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
403
403
|
dark?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
404
|
+
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
405
|
+
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
406
|
+
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
407
|
+
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
408
|
+
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
409
|
+
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
404
410
|
blue?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
405
411
|
cyan?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
406
|
-
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
407
412
|
green?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
408
|
-
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
409
413
|
lime?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
414
|
+
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
410
415
|
orange?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
411
|
-
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
412
|
-
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
413
416
|
teal?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
414
|
-
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
415
|
-
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
416
|
-
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
417
417
|
} | undefined;
|
|
418
418
|
primaryShade?: import("./theme.types").MantineColorShade | {
|
|
419
419
|
light?: import("./theme.types").MantineColorShade | undefined;
|
|
@@ -428,7 +428,7 @@ export declare const HeadlessMantineProvider: import("vue").DefineComponent<impo
|
|
|
428
428
|
headings?: {
|
|
429
429
|
fontFamily?: string | undefined;
|
|
430
430
|
fontWeight?: string | undefined;
|
|
431
|
-
textWrap?: "
|
|
431
|
+
textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
|
|
432
432
|
sizes?: {
|
|
433
433
|
h1?: {
|
|
434
434
|
fontSize?: string | undefined;
|
|
@@ -600,7 +600,7 @@ export declare const HeadlessMantineProvider: import("vue").DefineComponent<impo
|
|
|
600
600
|
[x: string]: any;
|
|
601
601
|
} | undefined;
|
|
602
602
|
};
|
|
603
|
-
env: "
|
|
603
|
+
env: "default" | "test";
|
|
604
604
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
605
605
|
export declare const MantineCssVariables: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
606
606
|
[key: string]: any;
|
|
@@ -23,7 +23,6 @@ export declare const MantineThemeProvider: import("vue").DefineComponent<import(
|
|
|
23
23
|
default: undefined;
|
|
24
24
|
};
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
|
-
inherit: boolean;
|
|
27
26
|
theme: {
|
|
28
27
|
focusRing?: "auto" | "always" | "never" | undefined;
|
|
29
28
|
scale?: number | undefined;
|
|
@@ -33,19 +32,19 @@ export declare const MantineThemeProvider: import("vue").DefineComponent<import(
|
|
|
33
32
|
colors?: {
|
|
34
33
|
[x: string & {}]: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
35
34
|
dark?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
35
|
+
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
36
|
+
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
37
|
+
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
38
|
+
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
39
|
+
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
40
|
+
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
36
41
|
blue?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
37
42
|
cyan?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
38
|
-
gray?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
39
43
|
green?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
40
|
-
indigo?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
41
44
|
lime?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
45
|
+
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
42
46
|
orange?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
43
|
-
pink?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
44
|
-
red?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
45
47
|
teal?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
46
|
-
violet?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
47
|
-
yellow?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
48
|
-
grape?: readonly [(string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?, ...(string | undefined)[]] | undefined;
|
|
49
48
|
} | undefined;
|
|
50
49
|
primaryShade?: import("./theme.types").MantineColorShade | {
|
|
51
50
|
light?: import("./theme.types").MantineColorShade | undefined;
|
|
@@ -60,7 +59,7 @@ export declare const MantineThemeProvider: import("vue").DefineComponent<import(
|
|
|
60
59
|
headings?: {
|
|
61
60
|
fontFamily?: string | undefined;
|
|
62
61
|
fontWeight?: string | undefined;
|
|
63
|
-
textWrap?: "
|
|
62
|
+
textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
|
|
64
63
|
sizes?: {
|
|
65
64
|
h1?: {
|
|
66
65
|
fontSize?: string | undefined;
|
|
@@ -232,4 +231,5 @@ export declare const MantineThemeProvider: import("vue").DefineComponent<import(
|
|
|
232
231
|
[x: string]: any;
|
|
233
232
|
} | undefined;
|
|
234
233
|
};
|
|
234
|
+
inherit: boolean;
|
|
235
235
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -7,4 +7,3 @@ export type { DataAttributes, ElementAttributes, EmitsToProps, FactoryComponentP
|
|
|
7
7
|
export type { CssVariable, FactoryClassNames, FactoryPartialVarsResolver, FactoryStyles, FactoryVarsResolver, PartialTransformVars, StylesApiRecord, StylesNamesOf, StylesRecord, TransformVars, } from './factory-styles-api';
|
|
8
8
|
export { polymorphicFactory } from './polymorphic-factory';
|
|
9
9
|
export type { MantinePolymorphicComponent, PolymorphicComponentWithProps, PolymorphicProps, } from './polymorphic-factory';
|
|
10
|
-
export { useForwardedRef } from './use-forwarded-ref';
|
|
@@ -64,6 +64,8 @@ export interface UseStylesInput<Payload = any> {
|
|
|
64
64
|
classes?: Record<string, string>;
|
|
65
65
|
props?: Record<string, any>;
|
|
66
66
|
stylesCtx?: Record<string, any>;
|
|
67
|
+
/** Reactive attributes proxy returned by `useAttrs`. */
|
|
68
|
+
attrs?: Record<string, any>;
|
|
67
69
|
className?: any;
|
|
68
70
|
style?: CSSProperties | CSSProperties[];
|
|
69
71
|
classNames?: LegacyClassNames<Payload>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type MantineStyleProps } from '../Box/style-props';
|
|
2
|
+
/**
|
|
3
|
+
* Splits `attrs` into style props (`mt`, `ml`, `bg`, ...) and the rest. Use this before
|
|
4
|
+
* forwarding fallthrough attrs to an inner element, so style props reach the component's
|
|
5
|
+
* root instead of landing on the inner element they were never meant for.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const { styleProps, rest } = extractStyleProps(attrs)
|
|
9
|
+
* // styleProps go on the root, rest (minus handlers) goes on the inner <input>
|
|
10
|
+
*/
|
|
11
|
+
export declare function extractStyleProps<T extends Record<string, unknown>>(attrs: MantineStyleProps & T): {
|
|
12
|
+
styleProps: MantineStyleProps;
|
|
13
|
+
rest: T;
|
|
14
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type InjectionKey } from 'vue';
|
|
2
2
|
export * from '@mantine-vue/utils';
|
|
3
3
|
export * from './create-scoped-keydown-handler';
|
|
4
|
+
export * from './extract-style-props';
|
|
4
5
|
export * from './omit-attrs';
|
|
5
6
|
export declare function createSafeInjectionContext<T>(errorMessage: string): readonly [(value: T) => void, () => T & ({} | undefined), InjectionKey<T>];
|
|
6
7
|
export declare const createSafeContext: typeof createSafeInjectionContext;
|
|
@@ -139,8 +139,8 @@ export declare const InlineInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
139
139
|
description: any;
|
|
140
140
|
error: any;
|
|
141
141
|
size: string | number;
|
|
142
|
-
mod: any;
|
|
143
142
|
variant: string;
|
|
143
|
+
mod: any;
|
|
144
144
|
classNames: Function | Record<string, any>;
|
|
145
145
|
styles: Function | Record<string, any>;
|
|
146
146
|
unstyled: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Vue component foundation architecturally equivalent to @mantine/core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"vue": "^3.5.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@mantine-vue/hooks": "3.
|
|
58
|
-
"@mantine-vue/utils": "3.
|
|
57
|
+
"@mantine-vue/hooks": "3.7.0",
|
|
58
|
+
"@mantine-vue/utils": "3.7.0",
|
|
59
59
|
"vue": "^3.5.0"
|
|
60
60
|
}
|
|
61
61
|
}
|