@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
|
@@ -2,8 +2,8 @@ import type { TagsInputSlots } from './TagsInput.types';
|
|
|
2
2
|
type __VLS_Slots = TagsInputSlots;
|
|
3
3
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
4
|
remove: (value: string) => any;
|
|
5
|
-
clear: () => any;
|
|
6
5
|
change: (value: string[]) => any;
|
|
6
|
+
clear: () => any;
|
|
7
7
|
"update:modelValue": (value: string[]) => any;
|
|
8
8
|
"option-submit": (value: string) => any;
|
|
9
9
|
"dropdown-open": () => any;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, impo
|
|
|
14
14
|
duplicate: (value: string) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
16
16
|
onRemove?: ((value: string) => any) | undefined;
|
|
17
|
-
onClear?: (() => any) | undefined;
|
|
18
17
|
onChange?: ((value: string[]) => any) | undefined;
|
|
18
|
+
onClear?: (() => any) | undefined;
|
|
19
19
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
20
20
|
"onOption-submit"?: ((value: string) => any) | undefined;
|
|
21
21
|
"onDropdown-open"?: (() => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Text: import("../..").MantinePolymorphicComponent<{
|
|
2
|
-
props: Omit<import("./Text.types").TextProps, "component"
|
|
2
|
+
props: Omit<import("./Text.types").TextProps, "component">;
|
|
3
3
|
slots: import("./Text.types").TextSlots;
|
|
4
4
|
ref: HTMLParagraphElement;
|
|
5
5
|
exposed: {
|
|
@@ -4,8 +4,6 @@ export type TextTruncate = 'end' | 'start' | boolean;
|
|
|
4
4
|
export type TextVariant = 'text' | 'gradient';
|
|
5
5
|
/** Props declared by `Text` itself. See `TextProps` for the full public type. */
|
|
6
6
|
export interface TextOwnProps extends StylesApiProps<TextFactory> {
|
|
7
|
-
/** Receives the root DOM node. See the polymorphic components guide. */
|
|
8
|
-
rootRef?: VueRefTarget<Element>;
|
|
9
7
|
/** Root element or component rendered by `Text`. */
|
|
10
8
|
component?: MantineElementType;
|
|
11
9
|
/**
|
|
@@ -68,9 +66,8 @@ export type TextStylesNames = 'root';
|
|
|
68
66
|
export type TextCssVariables = {
|
|
69
67
|
root: '--text-gradient' | '--text-line-clamp' | '--text-fz' | '--text-lh' | '--text-text-wrap';
|
|
70
68
|
};
|
|
71
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
72
69
|
export type TextFactory = PolymorphicFactory<{
|
|
73
|
-
props: Omit<TextProps, 'component'
|
|
70
|
+
props: Omit<TextProps, 'component'>;
|
|
74
71
|
slots: TextSlots;
|
|
75
72
|
ref: HTMLParagraphElement;
|
|
76
73
|
exposed: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { TextOwnProps, TextSlots } from './Text.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<TextOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TextOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TextSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Textarea: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Textarea.types").TextareaProps;
|
|
3
3
|
slots: import("./Textarea.types").TextareaSlots;
|
|
4
4
|
emits: import("./Textarea.types").TextareaEmits;
|
|
5
5
|
ref: HTMLTextAreaElement;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { VNodeChild } from 'vue';
|
|
1
|
+
import type { HTMLAttributes, VNodeChild } from 'vue';
|
|
3
2
|
import type { BoxProps, MantineNode, Factory } from '../../core';
|
|
4
3
|
import type { InputBaseOwnProps, InputBaseSlots, InputBaseStylesNames } from '../InputBase';
|
|
5
4
|
export type TextareaStylesNames = InputBaseStylesNames;
|
|
@@ -9,8 +8,6 @@ export interface TextareaSlots extends InputBaseSlots {
|
|
|
9
8
|
}
|
|
10
9
|
/** Props declared by `Textarea` itself. See `TextareaProps` for the full public type. */
|
|
11
10
|
export interface TextareaOwnProps {
|
|
12
|
-
/** Receives the input element */
|
|
13
|
-
rootRef?: VueRefTarget<Element>;
|
|
14
11
|
/** Controlled value, bound with `v-model`. */
|
|
15
12
|
modelValue?: string;
|
|
16
13
|
/** Uncontrolled initial value. */
|
|
@@ -40,7 +37,7 @@ export interface TextareaOwnProps {
|
|
|
40
37
|
*/
|
|
41
38
|
bottomSection?: MantineNode;
|
|
42
39
|
/** Props passed down to the `bottomSection` element. */
|
|
43
|
-
bottomSectionProps?:
|
|
40
|
+
bottomSectionProps?: HTMLAttributes;
|
|
44
41
|
/**
|
|
45
42
|
* Static selector used as the base of the generated class names.
|
|
46
43
|
*
|
|
@@ -57,7 +54,7 @@ export interface TextareaEmits {
|
|
|
57
54
|
change: [value: string];
|
|
58
55
|
}
|
|
59
56
|
export type TextareaFactory = Factory<{
|
|
60
|
-
props:
|
|
57
|
+
props: TextareaProps;
|
|
61
58
|
slots: TextareaSlots;
|
|
62
59
|
emits: TextareaEmits;
|
|
63
60
|
ref: HTMLTextAreaElement;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { TextareaOwnProps, TextareaSlots } from './Textarea.types';
|
|
3
|
+
type __VLS_Props = TextareaOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = TextareaSlots;
|
|
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
7
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
8
|
change: (value: string) => any;
|
|
7
9
|
"update:modelValue": (value: string) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
11
|
onChange?: ((value: string) => any) | undefined;
|
|
10
12
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ThemeIcon: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./ThemeIcon.types").ThemeIconProps;
|
|
3
3
|
ref: HTMLDivElement;
|
|
4
4
|
slots: import("./ThemeIcon.types").ThemeIconSlots;
|
|
5
5
|
element: "div";
|
|
@@ -11,8 +11,6 @@ export interface ThemeIconSlots {
|
|
|
11
11
|
}
|
|
12
12
|
/** Props declared by `ThemeIcon` itself. See `ThemeIconProps` for the full public type. */
|
|
13
13
|
export interface ThemeIconOwnProps extends StylesApiProps<ThemeIconFactory> {
|
|
14
|
-
/** Receives the root DOM node. */
|
|
15
|
-
rootRef?: VueRefTarget<Element>;
|
|
16
14
|
/**
|
|
17
15
|
* Controls width and height of the component. Numbers are converted to rem.
|
|
18
16
|
* @default 'md'
|
|
@@ -48,7 +46,7 @@ export interface ThemeIconOwnProps extends StylesApiProps<ThemeIconFactory> {
|
|
|
48
46
|
export interface ThemeIconProps extends Omit<BoxProps, keyof ThemeIconOwnProps>, ThemeIconOwnProps {
|
|
49
47
|
}
|
|
50
48
|
export type ThemeIconFactory = Factory<{
|
|
51
|
-
props:
|
|
49
|
+
props: ThemeIconProps;
|
|
52
50
|
ref: HTMLDivElement;
|
|
53
51
|
slots: ThemeIconSlots;
|
|
54
52
|
element: 'div';
|
|
@@ -56,4 +54,3 @@ export type ThemeIconFactory = Factory<{
|
|
|
56
54
|
vars: ThemeIconCssVariables;
|
|
57
55
|
variant: ThemeIconVariant;
|
|
58
56
|
}>;
|
|
59
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { ThemeIconOwnProps, ThemeIconSlots } from './ThemeIcon.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<ThemeIconOwnProps
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ThemeIconOwnProps & RootRefProps<Element>, {
|
|
8
9
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ThemeIconOwnProps
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ThemeIconOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ThemeIconSlots>;
|
|
10
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
11
12
|
new (): {
|
|
12
13
|
$slots: S;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimelineItem } from './TimelineItem/TimelineItem';
|
|
2
2
|
export declare const Timeline: import("../..").MantineComponent<{
|
|
3
|
-
props:
|
|
3
|
+
props: import("./Timeline.types").TimelineProps;
|
|
4
4
|
slots: import("./Timeline.types").TimelineSlots;
|
|
5
5
|
ref: HTMLDivElement;
|
|
6
6
|
exposed: {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { TimelineItem } from './TimelineItem/TimelineItem';
|
|
2
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
3
2
|
import type { VNodeChild } from 'vue';
|
|
4
3
|
import type { BoxMod, BoxProps, MantineColor, MantineRadius, StylesApiProps, Factory } from '../../core';
|
|
5
4
|
/** Props declared by `Timeline` itself. See `TimelineProps` for the full public type. */
|
|
6
5
|
export interface TimelineOwnProps extends StylesApiProps<TimelineFactory> {
|
|
7
|
-
/** Receives the root DOM node. */
|
|
8
|
-
rootRef?: VueRefTarget<Element>;
|
|
9
6
|
/**
|
|
10
7
|
* Index of the active element
|
|
11
8
|
*
|
|
@@ -59,7 +56,7 @@ export type TimelineCssVariables = {
|
|
|
59
56
|
root: '--tl-bullet-size' | '--tl-line-width' | '--tl-radius' | '--tl-color' | '--tl-icon-color';
|
|
60
57
|
};
|
|
61
58
|
export type TimelineFactory = Factory<{
|
|
62
|
-
props:
|
|
59
|
+
props: TimelineProps;
|
|
63
60
|
slots: TimelineSlots;
|
|
64
61
|
ref: HTMLDivElement;
|
|
65
62
|
exposed: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { TimelineOwnProps, TimelineSlots } from './Timeline.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<TimelineOwnProps
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TimelineOwnProps & RootRefProps<Element>, {
|
|
6
7
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelineOwnProps
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelineOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TimelineSlots>;
|
|
8
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
9
10
|
new (): {
|
|
10
11
|
$slots: S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TimelineItem: import("../../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./TimelineItem.types").TimelineItemProps;
|
|
3
3
|
ref: HTMLSpanElement;
|
|
4
4
|
slots: import("./TimelineItem.types").TimelineItemSlots;
|
|
5
5
|
element: "span";
|
|
@@ -17,8 +17,6 @@ export interface TimelineItemSlots {
|
|
|
17
17
|
* See `TimelineItemProps` for the full public type.
|
|
18
18
|
*/
|
|
19
19
|
export interface TimelineItemOwnProps {
|
|
20
|
-
/** Receives the root DOM node. */
|
|
21
|
-
rootRef?: VueRefTarget<Element>;
|
|
22
20
|
/**
|
|
23
21
|
* Active state assigned by the parent `Timeline` from its `active` index.
|
|
24
22
|
* Set by `Timeline`; the explicit `active` prop takes precedence.
|
|
@@ -99,10 +97,9 @@ export interface TimelineItemOwnProps {
|
|
|
99
97
|
export interface TimelineItemProps extends Omit<BoxProps, keyof TimelineItemOwnProps>, TimelineItemOwnProps {
|
|
100
98
|
}
|
|
101
99
|
export type TimelineItemFactory = Factory<{
|
|
102
|
-
props:
|
|
100
|
+
props: TimelineItemProps;
|
|
103
101
|
ref: HTMLSpanElement;
|
|
104
102
|
slots: TimelineItemSlots;
|
|
105
103
|
element: 'span';
|
|
106
104
|
stylesNames: TimelineItemStylesNames;
|
|
107
105
|
}>;
|
|
108
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../../core';
|
|
1
2
|
import type { TimelineItemOwnProps, TimelineItemSlots } from './TimelineItem.types';
|
|
3
|
+
type __VLS_Props = TimelineItemOwnProps & RootRefProps<Element>;
|
|
2
4
|
type __VLS_Slots = TimelineItemSlots;
|
|
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 Title: import("../..").MantineComponent<{
|
|
2
|
-
props:
|
|
2
|
+
props: import("./Title.types").TitleProps;
|
|
3
3
|
ref: HTMLHeadingElement;
|
|
4
4
|
element: "h1";
|
|
5
5
|
stylesNames: import("./Title.types").TitleStylesNames;
|
|
@@ -2,8 +2,6 @@ import type { BoxProps, StylesApiProps, Factory } from '../../core';
|
|
|
2
2
|
import type { TitleOrder, TitleSize } from './get-title-size';
|
|
3
3
|
/** Props declared by `Title` itself. See `TitleProps` for the full public type. */
|
|
4
4
|
export interface TitleOwnProps extends StylesApiProps<TitleFactory> {
|
|
5
|
-
/** Receives the root DOM node. */
|
|
6
|
-
rootRef?: VueRefTarget<Element>;
|
|
7
5
|
/**
|
|
8
6
|
* Heading order (1-6), controls `font-size` style if `size` prop is not set
|
|
9
7
|
*
|
|
@@ -28,10 +26,9 @@ export type TitleCssVariables = {
|
|
|
28
26
|
root: '--title-fw' | '--title-lh' | '--title-fz' | '--title-line-clamp' | '--title-text-wrap';
|
|
29
27
|
};
|
|
30
28
|
export type TitleFactory = Factory<{
|
|
31
|
-
props:
|
|
29
|
+
props: TitleProps;
|
|
32
30
|
ref: HTMLHeadingElement;
|
|
33
31
|
element: 'h1';
|
|
34
32
|
stylesNames: TitleStylesNames;
|
|
35
33
|
vars: TitleCssVariables;
|
|
36
34
|
}>;
|
|
37
|
-
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
1
2
|
import type { TitleOwnProps } from './Title.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<TitleOwnProps
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TitleOwnProps & RootRefProps<Element>, {
|
|
7
8
|
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TitleOwnProps
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TitleOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
9
10
|
default?: (props: {}) => any;
|
|
10
11
|
}>;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Toggle: import("../..").MantinePolymorphicComponent<{
|
|
2
|
+
props: Omit<import("./Toggle.types").ToggleProps, "component">;
|
|
3
|
+
slots: import("./Toggle.types").ToggleSlots;
|
|
4
|
+
emits: import("./Toggle.types").ToggleEmits;
|
|
5
|
+
ref: HTMLButtonElement;
|
|
6
|
+
exposed: {
|
|
7
|
+
rootElement: Element | null;
|
|
8
|
+
};
|
|
9
|
+
defaultComponent: "button";
|
|
10
|
+
defaultRef: HTMLButtonElement;
|
|
11
|
+
stylesNames: import("./Toggle.types").ToggleStylesNames;
|
|
12
|
+
vars: import("./Toggle.types").ToggleCssVariables;
|
|
13
|
+
variant: import("./Toggle.types").ToggleVariant;
|
|
14
|
+
}, "button">;
|
|
15
|
+
export type * from './Toggle.types';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, MantineColor, MantineElementType, MantineRadius, MantineSize, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
3
|
+
export type ToggleStylesNames = 'root';
|
|
4
|
+
export type ToggleVariant = 'light' | 'filled';
|
|
5
|
+
export type ToggleCssVariables = {
|
|
6
|
+
root: '--toggle-size' | '--toggle-radius' | '--toggle-active-bg' | '--toggle-active-hover' | '--toggle-active-color';
|
|
7
|
+
};
|
|
8
|
+
export interface ToggleOwnProps extends StylesApiProps<ToggleFactory> {
|
|
9
|
+
/** Root element or Vue component rendered by the component. @default 'button' */
|
|
10
|
+
component?: MantineElementType;
|
|
11
|
+
/** Controlled active state */
|
|
12
|
+
active?: boolean;
|
|
13
|
+
/** Uncontrolled default active state */
|
|
14
|
+
defaultActive?: boolean;
|
|
15
|
+
/** If set, the toggle is disabled */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Controls toggle height and min-width, `'md'` by default */
|
|
18
|
+
size?: MantineSize | (string & {});
|
|
19
|
+
/** Key of `theme.radius` or any valid CSS value to set `border-radius`, `theme.defaultRadius` by default */
|
|
20
|
+
radius?: MantineRadius;
|
|
21
|
+
/** If set, the toggle width adjusts to content instead of being square, `false` by default */
|
|
22
|
+
autoWidth?: boolean;
|
|
23
|
+
/** Key of `theme.colors` or any valid CSS color, `theme.primaryColor` by default */
|
|
24
|
+
color?: MantineColor;
|
|
25
|
+
/** Determines whether icon color with filled variant should be changed based on the given `color` prop */
|
|
26
|
+
autoContrast?: boolean;
|
|
27
|
+
/** Controls visual representation of the component. @default 'filled' */
|
|
28
|
+
variant?: ToggleVariant;
|
|
29
|
+
}
|
|
30
|
+
export interface ToggleProps extends Omit<BoxProps, keyof ToggleOwnProps>, ToggleOwnProps {
|
|
31
|
+
}
|
|
32
|
+
export interface ToggleSlots {
|
|
33
|
+
default?: () => VNodeChild;
|
|
34
|
+
}
|
|
35
|
+
export interface ToggleEmits {
|
|
36
|
+
'update:active': [active: boolean];
|
|
37
|
+
activeChange: [active: boolean];
|
|
38
|
+
}
|
|
39
|
+
export type ToggleFactory = PolymorphicFactory<{
|
|
40
|
+
props: Omit<ToggleProps, 'component'>;
|
|
41
|
+
slots: ToggleSlots;
|
|
42
|
+
emits: ToggleEmits;
|
|
43
|
+
ref: HTMLButtonElement;
|
|
44
|
+
exposed: {
|
|
45
|
+
rootElement: Element | null;
|
|
46
|
+
};
|
|
47
|
+
defaultComponent: 'button';
|
|
48
|
+
defaultRef: HTMLButtonElement;
|
|
49
|
+
stylesNames: ToggleStylesNames;
|
|
50
|
+
vars: ToggleCssVariables;
|
|
51
|
+
variant: ToggleVariant;
|
|
52
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
2
|
+
import type { ToggleOwnProps, ToggleSlots } from './Toggle.types';
|
|
3
|
+
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
4
|
+
export { varsResolver };
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ToggleOwnProps & RootRefProps<Element>, {
|
|
8
|
+
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:active": (active: boolean) => any;
|
|
11
|
+
activeChange: (active: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<ToggleOwnProps & RootRefProps<Element>> & Readonly<{
|
|
13
|
+
"onUpdate:active"?: ((active: boolean) => any) | undefined;
|
|
14
|
+
onActiveChange?: ((active: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ToggleSlots>;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Toggle';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ToolbarContextValue {
|
|
2
|
+
getStyles: (selector: string, options?: Record<string, any>) => any;
|
|
3
|
+
orientation: 'horizontal' | 'vertical';
|
|
4
|
+
}
|
|
5
|
+
export declare const provideToolbarContext: (value: ToolbarContextValue) => void, useToolbarContext: () => ToolbarContextValue;
|
|
6
|
+
export interface ToolbarToggleGroupContextValue {
|
|
7
|
+
value: string | string[] | null;
|
|
8
|
+
type: 'single' | 'multiple';
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const provideToolbarToggleGroupContext: (value: ToolbarToggleGroupContextValue) => void, useToolbarToggleGroupContext: () => ToolbarToggleGroupContextValue;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import ToolbarGroup from './ToolbarGroup.vue';
|
|
2
|
+
import ToolbarToggle from './ToolbarToggle.vue';
|
|
3
|
+
import ToolbarToggleGroup from './ToolbarToggleGroup.vue';
|
|
4
|
+
import ToolbarToggleItem from './ToolbarToggleItem.vue';
|
|
5
|
+
import ToolbarDivider from './ToolbarDivider.vue';
|
|
6
|
+
export { ToolbarGroup, ToolbarToggle, ToolbarToggleGroup, ToolbarToggleItem, ToolbarDivider };
|
|
7
|
+
export declare const Toolbar: import("../..").MantineComponent<{
|
|
8
|
+
props: import("./Toolbar.types").ToolbarProps;
|
|
9
|
+
slots: import("./Toolbar.types").ToolbarSlots;
|
|
10
|
+
ref: HTMLDivElement;
|
|
11
|
+
exposed: {
|
|
12
|
+
rootElement: Element | null;
|
|
13
|
+
};
|
|
14
|
+
element: "div";
|
|
15
|
+
stylesNames: import("./Toolbar.types").ToolbarStylesNames;
|
|
16
|
+
vars: import("./Toolbar.types").ToolbarCssVariables;
|
|
17
|
+
variant: import("..").ToggleVariant;
|
|
18
|
+
staticComponents: {
|
|
19
|
+
Group: typeof ToolbarGroup;
|
|
20
|
+
Toggle: typeof ToolbarToggle;
|
|
21
|
+
ToggleGroup: typeof ToolbarToggleGroup;
|
|
22
|
+
ToggleItem: typeof ToolbarToggleItem;
|
|
23
|
+
Divider: typeof ToolbarDivider;
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
26
|
+
export type * from './Toolbar.types';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
|
|
3
|
+
import type { ToggleVariant } from '../Toggle';
|
|
4
|
+
import type ToolbarDivider from './ToolbarDivider.vue';
|
|
5
|
+
import type ToolbarGroup from './ToolbarGroup.vue';
|
|
6
|
+
import type ToolbarToggle from './ToolbarToggle.vue';
|
|
7
|
+
import type ToolbarToggleGroup from './ToolbarToggleGroup.vue';
|
|
8
|
+
import type ToolbarToggleItem from './ToolbarToggleItem.vue';
|
|
9
|
+
export type ToolbarStylesNames = 'root' | 'group' | 'toggle' | 'divider';
|
|
10
|
+
export type ToolbarCssVariables = {
|
|
11
|
+
root: '--toolbar-toggle-size' | '--toolbar-padding' | '--toolbar-gap' | '--toolbar-radius';
|
|
12
|
+
toggle: '--toolbar-toggle-active-bg' | '--toolbar-toggle-active-hover' | '--toolbar-toggle-active-color';
|
|
13
|
+
};
|
|
14
|
+
export interface ToolbarOwnProps extends StylesApiProps<ToolbarFactory> {
|
|
15
|
+
/** Toolbar orientation, `'horizontal'` by default */
|
|
16
|
+
orientation?: 'horizontal' | 'vertical';
|
|
17
|
+
/** Whether arrow key navigation wraps from last to first item, `true` by default */
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
/** Controls size of toggle components, padding, and gap, `'md'` by default */
|
|
20
|
+
size?: MantineSize | (string & {});
|
|
21
|
+
/** Key of `theme.radius` or any valid CSS value to set `border-radius`, propagated to all children, `theme.defaultRadius` by default */
|
|
22
|
+
radius?: MantineRadius;
|
|
23
|
+
/** Determines whether the toolbar has a border, `true` by default */
|
|
24
|
+
withBorder?: boolean;
|
|
25
|
+
/** Key of `theme.colors` or any valid CSS color, controls color of child toggle components */
|
|
26
|
+
color?: MantineColor;
|
|
27
|
+
/** Determines whether icon color with filled variant should be changed based on the given `color` prop */
|
|
28
|
+
autoContrast?: boolean;
|
|
29
|
+
/** Controls visual representation of child toggle components. @default 'filled' */
|
|
30
|
+
variant?: ToggleVariant;
|
|
31
|
+
}
|
|
32
|
+
export interface ToolbarProps extends Omit<BoxProps, keyof ToolbarOwnProps>, ToolbarOwnProps {
|
|
33
|
+
}
|
|
34
|
+
export interface ToolbarSlots {
|
|
35
|
+
default?: () => VNodeChild;
|
|
36
|
+
}
|
|
37
|
+
export type ToolbarFactory = Factory<{
|
|
38
|
+
props: ToolbarProps;
|
|
39
|
+
slots: ToolbarSlots;
|
|
40
|
+
ref: HTMLDivElement;
|
|
41
|
+
exposed: {
|
|
42
|
+
rootElement: Element | null;
|
|
43
|
+
};
|
|
44
|
+
element: 'div';
|
|
45
|
+
stylesNames: ToolbarStylesNames;
|
|
46
|
+
vars: ToolbarCssVariables;
|
|
47
|
+
variant: ToggleVariant;
|
|
48
|
+
staticComponents: {
|
|
49
|
+
Group: typeof ToolbarGroup;
|
|
50
|
+
Toggle: typeof ToolbarToggle;
|
|
51
|
+
ToggleGroup: typeof ToolbarToggleGroup;
|
|
52
|
+
ToggleItem: typeof ToolbarToggleItem;
|
|
53
|
+
Divider: typeof ToolbarDivider;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
export interface ToolbarCompoundProps extends BoxProps {
|
|
57
|
+
classNames?: any;
|
|
58
|
+
styles?: any;
|
|
59
|
+
}
|
|
60
|
+
export type ToolbarGroupProps = ToolbarCompoundProps;
|
|
61
|
+
export type ToolbarDividerProps = ToolbarCompoundProps;
|
|
62
|
+
export interface ToolbarToggleProps extends ToolbarCompoundProps {
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
active?: boolean;
|
|
65
|
+
autoWidth?: boolean;
|
|
66
|
+
component?: any;
|
|
67
|
+
}
|
|
68
|
+
interface ToolbarToggleGroupBaseProps extends ToolbarCompoundProps {
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
}
|
|
71
|
+
export interface ToolbarToggleGroupSingleProps extends ToolbarToggleGroupBaseProps {
|
|
72
|
+
type: 'single';
|
|
73
|
+
modelValue?: string | null;
|
|
74
|
+
defaultValue?: string | null;
|
|
75
|
+
}
|
|
76
|
+
export interface ToolbarToggleGroupMultipleProps extends ToolbarToggleGroupBaseProps {
|
|
77
|
+
type: 'multiple';
|
|
78
|
+
modelValue?: string[];
|
|
79
|
+
defaultValue?: string[];
|
|
80
|
+
}
|
|
81
|
+
export type ToolbarToggleGroupProps = ToolbarToggleGroupSingleProps | ToolbarToggleGroupMultipleProps;
|
|
82
|
+
export interface ToolbarToggleItemProps extends ToolbarCompoundProps {
|
|
83
|
+
value: string;
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
autoWidth?: boolean;
|
|
86
|
+
}
|
|
87
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { RootRefProps } from '../../core';
|
|
2
|
+
import type { ToolbarOwnProps, ToolbarSlots } from './Toolbar.types';
|
|
3
|
+
declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
4
|
+
export { varsResolver };
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ToolbarOwnProps & RootRefProps<Element>, {
|
|
8
|
+
rootElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarOwnProps & RootRefProps<Element>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ToolbarSlots>;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("./Toolbar.types").ToolbarCompoundProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./Toolbar.types").ToolbarCompoundProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("./Toolbar.types").ToolbarCompoundProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./Toolbar.types").ToolbarCompoundProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ToolbarToggleProps } from './Toolbar.types';
|
|
2
|
+
declare var __VLS_10: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_10) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ToolbarToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare var __VLS_8: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_8) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("./Toolbar.types").ToolbarToggleGroupSingleProps | import("./Toolbar.types").ToolbarToggleGroupMultipleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
change: (value: string | string[] | null) => any;
|
|
7
|
+
"update:modelValue": (value: string | string[] | null) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("./Toolbar.types").ToolbarToggleGroupSingleProps | import("./Toolbar.types").ToolbarToggleGroupMultipleProps> & Readonly<{
|
|
9
|
+
onChange?: ((value: string | string[] | null) => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ToolbarToggleItemProps } from './Toolbar.types';
|
|
2
|
+
declare var __VLS_10: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_10) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ToolbarToggleItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarToggleItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Toolbar';
|