@mantine-vue/core 3.0.0 → 3.2.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 +21151 -17122
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +21141 -17114
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +47 -535
- package/lib/components/Accordion/Accordion.types.d.ts +86 -0
- package/lib/components/Accordion/Accordion.vue.d.ts +37 -0
- package/lib/components/Accordion/AccordionChevron.d.ts +2 -16
- package/lib/components/Accordion/AccordionChevron.types.d.ts +10 -0
- package/lib/components/Accordion/AccordionChevron.vue.d.ts +4 -0
- package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +8 -95
- package/lib/components/Accordion/AccordionControl/AccordionControl.types.d.ts +47 -0
- package/lib/components/Accordion/AccordionControl/AccordionControl.vue.d.ts +28 -0
- package/lib/components/Accordion/AccordionItem/AccordionItem.d.ts +7 -43
- package/lib/components/Accordion/AccordionItem/AccordionItem.types.d.ts +25 -0
- package/lib/components/Accordion/AccordionItem/AccordionItem.vue.d.ts +13 -0
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +12 -53
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.types.d.ts +32 -0
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.vue.d.ts +19 -0
- package/lib/components/Accordion/index.d.ts +4 -3
- package/lib/components/ActionIcon/ActionIcon.d.ts +20 -365
- package/lib/components/ActionIcon/ActionIcon.types.d.ts +92 -0
- package/lib/components/ActionIcon/ActionIcon.vue.d.ts +12 -0
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +9 -54
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.types.d.ts +38 -0
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue.d.ts +13 -0
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +9 -85
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.types.d.ts +39 -0
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.vue.d.ts +13 -0
- package/lib/components/Affix/Affix.d.ts +12 -86
- package/lib/components/Affix/Affix.types.d.ts +55 -0
- package/lib/components/Affix/Affix.vue.d.ts +13 -0
- package/lib/components/Affix/index.d.ts +1 -1
- package/lib/components/Alert/Alert.d.ts +10 -142
- package/lib/components/Alert/Alert.types.d.ts +79 -0
- package/lib/components/Alert/Alert.vue.d.ts +18 -0
- package/lib/components/Anchor/Anchor.d.ts +14 -72
- package/lib/components/Anchor/Anchor.types.d.ts +47 -0
- package/lib/components/Anchor/Anchor.vue.d.ts +11 -0
- package/lib/components/AngleSlider/AngleSlider.d.ts +7 -230
- package/lib/components/AngleSlider/AngleSlider.types.d.ts +63 -0
- package/lib/components/AngleSlider/AngleSlider.vue.d.ts +23 -0
- package/lib/components/AngleSlider/index.d.ts +1 -1
- package/lib/components/AppShell/AppShell.d.ts +20 -799
- package/lib/components/AppShell/AppShell.types.d.ts +107 -0
- package/lib/components/AppShell/AppShell.vue.d.ts +30 -0
- package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +6 -6
- package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +6 -6
- package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +6 -6
- package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +7 -20
- package/lib/components/AppShell/AppShellMain/AppShellMain.types.d.ts +28 -0
- package/lib/components/AppShell/AppShellMain/AppShellMain.vue.d.ts +13 -0
- package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +6 -6
- package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +12 -72
- package/lib/components/AppShell/AppShellSection/AppShellSection.types.d.ts +38 -0
- package/lib/components/AppShell/AppShellSection/AppShellSection.vue.d.ts +11 -0
- package/lib/components/AppShell/create-app-shell-component.d.ts +6 -6
- package/lib/components/AppShell/index.d.ts +2 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +8 -51
- package/lib/components/AspectRatio/AspectRatio.types.d.ts +26 -0
- package/lib/components/AspectRatio/AspectRatio.vue.d.ts +16 -0
- package/lib/components/Autocomplete/Autocomplete.d.ts +61 -155
- package/lib/components/Autocomplete/Autocomplete.types.d.ts +111 -0
- package/lib/components/Autocomplete/Autocomplete.vue.d.ts +25 -0
- package/lib/components/Autocomplete/index.d.ts +1 -1
- package/lib/components/Avatar/Avatar.d.ts +18 -304
- package/lib/components/Avatar/Avatar.types.d.ts +82 -0
- package/lib/components/Avatar/Avatar.vue.d.ts +12 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.context.d.ts +6 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +11 -53
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +34 -0
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.vue.d.ts +12 -0
- package/lib/components/Avatar/AvatarPlaceholderIcon.d.ts +2 -3
- package/lib/components/Avatar/AvatarPlaceholderIcon.types.d.ts +6 -0
- package/lib/components/Avatar/AvatarPlaceholderIcon.vue.d.ts +3 -0
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +13 -54
- package/lib/components/BackgroundImage/BackgroundImage.types.d.ts +39 -0
- package/lib/components/BackgroundImage/BackgroundImage.vue.d.ts +16 -0
- package/lib/components/Badge/Badge.d.ts +14 -140
- package/lib/components/Badge/Badge.types.d.ts +92 -0
- package/lib/components/Badge/Badge.vue.d.ts +14 -0
- package/lib/components/Blockquote/Blockquote.d.ts +8 -89
- package/lib/components/Blockquote/Blockquote.types.d.ts +53 -0
- package/lib/components/Blockquote/Blockquote.vue.d.ts +11 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +12 -59
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +43 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.vue.d.ts +12 -0
- package/lib/components/Burger/Burger.d.ts +9 -84
- package/lib/components/Burger/Burger.types.d.ts +54 -0
- package/lib/components/Burger/Burger.vue.d.ts +12 -0
- package/lib/components/Button/Button.d.ts +20 -500
- package/lib/components/Button/Button.types.d.ts +126 -0
- package/lib/components/Button/Button.vue.d.ts +17 -0
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +9 -54
- package/lib/components/Button/ButtonGroup/ButtonGroup.types.d.ts +38 -0
- package/lib/components/Button/ButtonGroup/ButtonGroup.vue.d.ts +13 -0
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +9 -85
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.types.d.ts +39 -0
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.vue.d.ts +13 -0
- package/lib/components/Card/Card.d.ts +17 -223
- package/lib/components/Card/Card.types.d.ts +66 -0
- package/lib/components/Card/Card.vue.d.ts +12 -0
- package/lib/components/Card/CardSection/CardSection.d.ts +13 -70
- package/lib/components/Card/CardSection/CardSection.types.d.ts +50 -0
- package/lib/components/Card/CardSection/CardSection.vue.d.ts +11 -0
- package/lib/components/Cascader/Cascader.d.ts +68 -315
- package/lib/components/Cascader/Cascader.types.d.ts +213 -0
- package/lib/components/Cascader/Cascader.vue.d.ts +27 -0
- package/lib/components/Cascader/cascader-helpers.d.ts +5 -0
- package/lib/components/Center/Center.d.ts +12 -60
- package/lib/components/Center/Center.types.d.ts +37 -0
- package/lib/components/Center/Center.vue.d.ts +13 -0
- package/lib/components/Checkbox/CheckIcon.d.ts +3 -31
- package/lib/components/Checkbox/CheckIcon.types.d.ts +15 -0
- package/lib/components/Checkbox/CheckIcon.vue.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.d.ts +20 -899
- package/lib/components/Checkbox/Checkbox.types.d.ts +156 -0
- package/lib/components/Checkbox/Checkbox.vue.d.ts +37 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.context.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +10 -124
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +52 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.vue.d.ts +22 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.context.d.ts +5 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +34 -195
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.types.d.ts +78 -0
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.vue.d.ts +19 -0
- package/lib/components/Checkbox/CheckboxIcon.vue.d.ts +4 -0
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +10 -151
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.types.d.ts +78 -0
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.vue.d.ts +13 -0
- package/lib/components/Checkbox/index.d.ts +4 -3
- package/lib/components/Chip/Chip.d.ts +15 -411
- package/lib/components/Chip/Chip.types.d.ts +104 -0
- package/lib/components/Chip/Chip.vue.d.ts +27 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.context.d.ts +5 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +33 -62
- package/lib/components/Chip/ChipGroup/ChipGroup.types.d.ts +28 -0
- package/lib/components/Chip/ChipGroup/ChipGroup.vue.d.ts +17 -0
- package/lib/components/Chip/index.d.ts +2 -2
- package/lib/components/CloseButton/CloseButton.d.ts +14 -100
- package/lib/components/CloseButton/CloseButton.types.d.ts +75 -0
- package/lib/components/CloseButton/CloseButton.vue.d.ts +11 -0
- package/lib/components/CloseButton/CloseIcon.d.ts +2 -15
- package/lib/components/CloseButton/CloseIcon.types.d.ts +8 -0
- package/lib/components/CloseButton/CloseIcon.vue.d.ts +4 -0
- package/lib/components/Code/Code.d.ts +9 -62
- package/lib/components/Code/Code.types.d.ts +36 -0
- package/lib/components/Code/Code.vue.d.ts +14 -0
- package/lib/components/Collapse/Collapse.d.ts +7 -78
- package/lib/components/Collapse/Collapse.types.d.ts +52 -0
- package/lib/components/Collapse/Collapse.vue.d.ts +17 -0
- package/lib/components/ColorInput/ColorInput.d.ts +48 -125
- package/lib/components/ColorInput/ColorInput.types.d.ts +85 -0
- package/lib/components/ColorInput/ColorInput.vue.d.ts +19 -0
- package/lib/components/ColorInput/EyeDropperIcon.d.ts +2 -3
- package/lib/components/ColorInput/EyeDropperIcon.types.d.ts +6 -0
- package/lib/components/ColorInput/EyeDropperIcon.vue.d.ts +3 -0
- package/lib/components/ColorInput/index.d.ts +1 -1
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +47 -99
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.types.d.ts +9 -0
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.vue.d.ts +25 -0
- package/lib/components/ColorPicker/ColorPicker.d.ts +42 -229
- package/lib/components/ColorPicker/ColorPicker.props.types.d.ts +72 -0
- package/lib/components/ColorPicker/ColorPicker.vue.d.ts +27 -0
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +47 -161
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.types.d.ts +44 -0
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.vue.d.ts +16 -0
- package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +47 -91
- package/lib/components/ColorPicker/HueSlider/HueSlider.types.d.ts +9 -0
- package/lib/components/ColorPicker/HueSlider/HueSlider.vue.d.ts +23 -0
- package/lib/components/ColorPicker/Saturation/Saturation.d.ts +13 -84
- package/lib/components/ColorPicker/Saturation/Saturation.types.d.ts +21 -0
- package/lib/components/ColorPicker/Saturation/Saturation.vue.d.ts +18 -0
- package/lib/components/ColorPicker/Swatches/Swatches.d.ts +7 -50
- package/lib/components/ColorPicker/Swatches/Swatches.types.d.ts +18 -0
- package/lib/components/ColorPicker/Swatches/Swatches.vue.d.ts +8 -0
- package/lib/components/ColorPicker/Thumb/Thumb.d.ts +3 -20
- package/lib/components/ColorPicker/Thumb/Thumb.types.d.ts +11 -0
- package/lib/components/ColorPicker/Thumb/Thumb.vue.d.ts +4 -0
- package/lib/components/ColorPicker/index.d.ts +4 -2
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +13 -65
- package/lib/components/ColorSwatch/ColorSwatch.types.d.ts +51 -0
- package/lib/components/ColorSwatch/ColorSwatch.vue.d.ts +12 -0
- package/lib/components/Combobox/Combobox.d.ts +247 -541
- package/lib/components/Combobox/Combobox.types.d.ts +215 -0
- package/lib/components/Combobox/Combobox.vue.d.ts +15 -0
- package/lib/components/Combobox/ComboboxChevron.vue.d.ts +3 -0
- package/lib/components/Combobox/ComboboxClearButton.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxDropdown.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxDropdownTarget.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxGroup.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxHiddenInput.vue.d.ts +3 -0
- package/lib/components/Combobox/ComboboxOption.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxOptions.vue.d.ts +11 -0
- package/lib/components/Combobox/ComboboxSearch.vue.d.ts +9 -0
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +2 -123
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.types.d.ts +103 -0
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.vue.d.ts +23 -0
- package/lib/components/Combobox/combobox-utils.d.ts +12 -0
- package/lib/components/Combobox/create-combobox-section.d.ts +9 -0
- package/lib/components/Combobox/create-combobox-target.d.ts +64 -0
- package/lib/components/Combobox/index.d.ts +1 -1
- package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +92 -986
- package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +72 -1
- package/lib/components/ComboboxPopover/ComboboxPopover.vue.d.ts +25 -0
- package/lib/components/ComboboxPopover/ComboboxPopoverTarget.d.ts +8 -0
- package/lib/components/ComboboxPopover/render-popover-option.d.ts +28 -0
- package/lib/components/Container/Container.d.ts +8 -64
- package/lib/components/Container/Container.types.d.ts +38 -0
- package/lib/components/Container/Container.vue.d.ts +19 -0
- package/lib/components/CopyButton/CopyButton.d.ts +2 -23
- package/lib/components/CopyButton/CopyButton.types.d.ts +25 -0
- package/lib/components/CopyButton/CopyButton.vue.d.ts +9 -0
- package/lib/components/DataList/DataList.d.ts +15 -302
- package/lib/components/DataList/DataList.types.d.ts +50 -0
- package/lib/components/DataList/DataList.vue.d.ts +17 -0
- package/lib/components/DataList/DataListItem/DataListItem.d.ts +8 -44
- package/lib/components/DataList/DataListItem/DataListItem.types.d.ts +28 -0
- package/lib/components/DataList/DataListItem/DataListItem.vue.d.ts +13 -0
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +8 -44
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.types.d.ts +28 -0
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.vue.d.ts +13 -0
- package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +8 -44
- package/lib/components/DataList/DataListItemValue/DataListItemValue.types.d.ts +28 -0
- package/lib/components/DataList/DataListItemValue/DataListItemValue.vue.d.ts +13 -0
- package/lib/components/DataList/index.d.ts +4 -4
- package/lib/components/Dialog/Dialog.d.ts +29 -184
- package/lib/components/Dialog/Dialog.types.d.ts +91 -0
- package/lib/components/Dialog/Dialog.vue.d.ts +14 -0
- package/lib/components/Dialog/index.d.ts +1 -2
- package/lib/components/Divider/Divider.d.ts +10 -96
- package/lib/components/Divider/Divider.types.d.ts +58 -0
- package/lib/components/Divider/Divider.vue.d.ts +13 -0
- package/lib/components/Drawer/Drawer.compound.d.ts +124 -0
- package/lib/components/Drawer/Drawer.context.d.ts +28 -0
- package/lib/components/Drawer/Drawer.d.ts +55 -635
- package/lib/components/Drawer/Drawer.types.d.ts +121 -0
- package/lib/components/Drawer/Drawer.vue.d.ts +15 -0
- package/lib/components/Drawer/DrawerRoot.vue.d.ts +21 -0
- package/lib/components/Drawer/DrawerStack.vue.d.ts +11 -0
- package/lib/components/Drawer/create-drawer-compound-component.d.ts +29 -0
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Drawer/use-drawers-stack.d.ts +25 -0
- package/lib/components/EmptyState/EmptyState.d.ts +18 -399
- package/lib/components/EmptyState/EmptyState.types.d.ts +94 -0
- package/lib/components/EmptyState/EmptyState.vue.d.ts +24 -0
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +8 -44
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.types.d.ts +28 -0
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.vue.d.ts +13 -0
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +8 -55
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.types.d.ts +30 -0
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.vue.d.ts +13 -0
- package/lib/components/EmptyState/index.d.ts +5 -5
- package/lib/components/Fieldset/Fieldset.d.ts +10 -77
- package/lib/components/Fieldset/Fieldset.types.d.ts +44 -0
- package/lib/components/Fieldset/Fieldset.vue.d.ts +13 -0
- package/lib/components/Fieldset/index.d.ts +1 -0
- package/lib/components/FileButton/FileButton.d.ts +35 -111
- package/lib/components/FileButton/FileButton.types.d.ts +43 -0
- package/lib/components/FileButton/FileButton.vue.d.ts +17 -0
- package/lib/components/FileButton/index.d.ts +1 -0
- package/lib/components/FileInput/FileInput.d.ts +33 -294
- package/lib/components/FileInput/FileInput.types.d.ts +127 -0
- package/lib/components/FileInput/FileInput.vue.d.ts +24 -0
- package/lib/components/FileInput/index.d.ts +1 -0
- package/lib/components/Flex/Flex.d.ts +12 -67
- package/lib/components/Flex/Flex.types.d.ts +47 -0
- package/lib/components/Flex/Flex.vue.d.ts +16 -0
- package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +11 -116
- package/lib/components/FloatingIndicator/FloatingIndicator.types.d.ts +58 -0
- package/lib/components/FloatingIndicator/FloatingIndicator.vue.d.ts +18 -0
- package/lib/components/FloatingIndicator/index.d.ts +1 -4
- package/lib/components/FloatingWindow/FloatingWindow.context.d.ts +3 -3
- package/lib/components/FloatingWindow/FloatingWindow.d.ts +65 -244
- package/lib/components/FloatingWindow/FloatingWindow.types.d.ts +66 -0
- package/lib/components/FloatingWindow/FloatingWindow.vue.d.ts +35 -0
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +7 -27
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.types.d.ts +36 -0
- package/lib/components/FloatingWindow/FloatingWindowResizeHandle.vue.d.ts +23 -0
- package/lib/components/FloatingWindow/index.d.ts +2 -1
- package/lib/components/Grid/Grid.d.ts +14 -306
- package/lib/components/Grid/Grid.types.d.ts +81 -0
- package/lib/components/Grid/Grid.vue.d.ts +12 -0
- package/lib/components/Grid/GridCol/GridCol.d.ts +11 -72
- package/lib/components/Grid/GridCol/GridCol.types.d.ts +44 -0
- package/lib/components/Grid/GridCol/GridCol.vue.d.ts +11 -0
- package/lib/components/Grid/GridCol/GridColVariables.d.ts +2 -53
- package/lib/components/Grid/GridCol/GridColVariables.vue.d.ts +30 -0
- package/lib/components/Grid/GridVariables.d.ts +2 -63
- package/lib/components/Grid/GridVariables.vue.d.ts +23 -0
- package/lib/components/Group/Group.d.ts +12 -91
- package/lib/components/Group/Group.types.d.ts +65 -0
- package/lib/components/Group/Group.vue.d.ts +13 -0
- package/lib/components/Highlight/Highlight.d.ts +17 -119
- package/lib/components/Highlight/Highlight.types.d.ts +86 -0
- package/lib/components/Highlight/Highlight.vue.d.ts +11 -0
- package/lib/components/Highlight/index.d.ts +2 -1
- package/lib/components/HoverCard/HoverCard.d.ts +52 -93
- package/lib/components/HoverCard/HoverCard.types.d.ts +30 -0
- package/lib/components/HoverCard/HoverCard.vue.d.ts +17 -0
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.d.ts +16 -6
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.types.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.vue.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.context.d.ts +3 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.d.ts +18 -35
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.types.d.ts +28 -0
- package/lib/components/HoverCard/HoverCardGroup/HoverCardGroup.vue.d.ts +11 -0
- package/lib/components/HoverCard/HoverCardTarget/HoverCardTarget.d.ts +8 -0
- package/lib/components/HoverCard/index.d.ts +3 -3
- package/lib/components/Image/Image.d.ts +13 -75
- package/lib/components/Image/Image.types.d.ts +46 -0
- package/lib/components/Image/Image.vue.d.ts +11 -0
- package/lib/components/Indicator/Indicator.d.ts +9 -172
- package/lib/components/Indicator/Indicator.types.d.ts +105 -0
- package/lib/components/Indicator/Indicator.vue.d.ts +13 -0
- package/lib/components/Input/Input.d.ts +30 -1159
- package/lib/components/Input/Input.types.d.ts +205 -0
- package/lib/components/Input/Input.vue.d.ts +33 -0
- package/lib/components/Input/InputClearButton/InputClearButton.d.ts +10 -44
- package/lib/components/Input/InputClearButton/InputClearButton.types.d.ts +31 -0
- package/lib/components/Input/InputClearButton/InputClearButton.vue.d.ts +13 -0
- package/lib/components/Input/InputDescription/InputDescription.d.ts +9 -63
- package/lib/components/Input/InputDescription/InputDescription.types.d.ts +39 -0
- package/lib/components/Input/InputDescription/InputDescription.vue.d.ts +14 -0
- package/lib/components/Input/InputError/InputError.d.ts +9 -63
- package/lib/components/Input/InputError/InputError.types.d.ts +39 -0
- package/lib/components/Input/InputError/InputError.vue.d.ts +14 -0
- package/lib/components/Input/InputLabel/InputLabel.d.ts +9 -90
- package/lib/components/Input/InputLabel/InputLabel.types.d.ts +48 -0
- package/lib/components/Input/InputLabel/InputLabel.vue.d.ts +17 -0
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +7 -53
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.types.d.ts +35 -0
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.vue.d.ts +13 -0
- package/lib/components/Input/InputWrapper/InputWrapper.d.ts +19 -187
- package/lib/components/Input/InputWrapper/InputWrapper.types.d.ts +88 -0
- package/lib/components/Input/InputWrapper/InputWrapper.vue.d.ts +22 -0
- package/lib/components/Input/InputWrapper.context.d.ts +1 -1
- package/lib/components/Input/index.d.ts +7 -6
- package/lib/components/InputBase/InputBase.d.ts +10 -478
- package/lib/components/InputBase/InputBase.types.d.ts +210 -0
- package/lib/components/InputBase/InputBase.vue.d.ts +24 -0
- package/lib/components/InputBase/index.d.ts +1 -1
- package/lib/components/JsonInput/JsonInput.d.ts +33 -118
- package/lib/components/JsonInput/JsonInput.types.d.ts +48 -0
- package/lib/components/JsonInput/JsonInput.vue.d.ts +18 -0
- package/lib/components/JsonInput/index.d.ts +1 -0
- package/lib/components/Kbd/Kbd.d.ts +9 -46
- package/lib/components/Kbd/Kbd.types.d.ts +31 -0
- package/lib/components/Kbd/Kbd.vue.d.ts +14 -0
- package/lib/components/List/List.context.d.ts +2 -1
- package/lib/components/List/List.d.ts +11 -279
- package/lib/components/List/List.types.d.ts +76 -0
- package/lib/components/List/List.vue.d.ts +12 -0
- package/lib/components/List/ListItem/ListItem.d.ts +8 -57
- package/lib/components/List/ListItem/ListItem.types.d.ts +28 -0
- package/lib/components/List/ListItem/ListItem.vue.d.ts +13 -0
- package/lib/components/Loader/Loader.d.ts +17 -75
- package/lib/components/Loader/Loader.types.d.ts +42 -1
- package/lib/components/Loader/Loader.vue.d.ts +14 -0
- package/lib/components/Loader/loaders/Bars.d.ts +1 -3
- package/lib/components/Loader/loaders/Bars.vue.d.ts +3 -0
- package/lib/components/Loader/loaders/Dots.d.ts +1 -3
- package/lib/components/Loader/loaders/Dots.vue.d.ts +3 -0
- package/lib/components/Loader/loaders/Oval.d.ts +1 -3
- package/lib/components/Loader/loaders/Oval.vue.d.ts +3 -0
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +11 -117
- package/lib/components/LoadingOverlay/LoadingOverlay.types.d.ts +49 -0
- package/lib/components/LoadingOverlay/LoadingOverlay.vue.d.ts +18 -0
- package/lib/components/Mark/Mark.d.ts +9 -53
- package/lib/components/Mark/Mark.types.d.ts +31 -0
- package/lib/components/Mark/Mark.vue.d.ts +17 -0
- package/lib/components/Marquee/Marquee.d.ts +9 -135
- package/lib/components/Marquee/Marquee.types.d.ts +82 -0
- package/lib/components/Marquee/Marquee.vue.d.ts +12 -0
- package/lib/components/Marquee/index.d.ts +1 -2
- package/lib/components/MaskInput/MaskInput.d.ts +43 -190
- package/lib/components/MaskInput/MaskInput.types.d.ts +82 -0
- package/lib/components/MaskInput/MaskInput.vue.d.ts +22 -0
- package/lib/components/MaskInput/index.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +503 -1185
- package/lib/components/Menu/Menu.select-context.d.ts +10 -0
- package/lib/components/Menu/Menu.types.d.ts +298 -0
- package/lib/components/Menu/Menu.vue.d.ts +19 -0
- package/lib/components/Menu/MenuCheckboxItem.vue.d.ts +17 -0
- package/lib/components/Menu/MenuContextMenu.vue.d.ts +11 -0
- package/lib/components/Menu/MenuDivider.vue.d.ts +3 -0
- package/lib/components/Menu/MenuDropdown.vue.d.ts +11 -0
- package/lib/components/Menu/MenuItem.vue.d.ts +11 -0
- package/lib/components/Menu/MenuLabel.vue.d.ts +11 -0
- package/lib/components/Menu/MenuRadioItem.vue.d.ts +15 -0
- package/lib/components/Menu/MenuSearch.vue.d.ts +9 -0
- package/lib/components/Menu/MenuSub.vue.d.ts +15 -0
- package/lib/components/Menu/MenuSubDropdown.vue.d.ts +11 -0
- package/lib/components/Menu/MenuSubItem.vue.d.ts +11 -0
- package/lib/components/Menu/MenuSubTarget.vue.d.ts +11 -0
- package/lib/components/Menu/MenuTarget.vue.d.ts +11 -0
- package/lib/components/Menu/create-menu-select-group.d.ts +37 -0
- package/lib/components/Menu/index.d.ts +1 -1
- package/lib/components/Menu/menu-utils.d.ts +25 -0
- package/lib/components/Menubar/Menubar.d.ts +13 -280
- package/lib/components/Menubar/Menubar.types.d.ts +55 -0
- package/lib/components/Menubar/Menubar.vue.d.ts +31 -0
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.d.ts +16 -10
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.types.d.ts +18 -0
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.vue.d.ts +11 -0
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.d.ts +17 -49
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.types.d.ts +20 -0
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.vue.d.ts +11 -0
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.d.ts +17 -35
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.types.d.ts +27 -0
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.vue.d.ts +20 -0
- package/lib/components/Menubar/index.d.ts +3 -2
- package/lib/components/Modal/Modal.compound.d.ts +121 -0
- package/lib/components/Modal/Modal.context.d.ts +11 -0
- package/lib/components/Modal/Modal.d.ts +36 -586
- package/lib/components/Modal/Modal.types.d.ts +130 -0
- package/lib/components/Modal/Modal.vue.d.ts +15 -0
- package/lib/components/Modal/ModalRoot.vue.d.ts +16 -0
- package/lib/components/Modal/create-modal-compound-component.d.ts +27 -0
- package/lib/components/Modal/index.d.ts +1 -1
- package/lib/components/ModalBase/ModalBase.d.ts +10 -180
- package/lib/components/ModalBase/ModalBase.types.d.ts +101 -0
- package/lib/components/ModalBase/ModalBase.vue.d.ts +17 -0
- package/lib/components/ModalBase/ModalBaseBody.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseBody.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseBody.vue.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseCloseButton.d.ts +26 -6
- package/lib/components/ModalBase/ModalBaseCloseButton.types.d.ts +13 -0
- package/lib/components/ModalBase/ModalBaseCloseButton.vue.d.ts +15 -0
- package/lib/components/ModalBase/ModalBaseContent.d.ts +11 -29
- package/lib/components/ModalBase/ModalBaseContent.types.d.ts +30 -0
- package/lib/components/ModalBase/ModalBaseContent.vue.d.ts +13 -0
- package/lib/components/ModalBase/ModalBaseHeader.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseHeader.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseHeader.vue.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseOverlay.d.ts +2 -29
- package/lib/components/ModalBase/ModalBaseOverlay.types.d.ts +11 -0
- package/lib/components/ModalBase/ModalBaseOverlay.vue.d.ts +4 -0
- package/lib/components/ModalBase/ModalBaseTitle.d.ts +6 -6
- package/lib/components/ModalBase/ModalBaseTitle.types.d.ts +16 -0
- package/lib/components/ModalBase/ModalBaseTitle.vue.d.ts +11 -0
- package/lib/components/ModalBase/NativeScrollArea.d.ts +16 -3
- package/lib/components/ModalBase/NativeScrollArea.types.d.ts +5 -0
- package/lib/components/ModalBase/NativeScrollArea.vue.d.ts +11 -0
- package/lib/components/ModalBase/index.d.ts +12 -7
- package/lib/components/MultiSelect/MultiSelect.d.ts +83 -209
- package/lib/components/MultiSelect/MultiSelect.types.d.ts +181 -0
- package/lib/components/MultiSelect/MultiSelect.vue.d.ts +38 -0
- package/lib/components/MultiSelect/index.d.ts +1 -1
- package/lib/components/NativeSelect/NativeSelect.d.ts +8 -242
- package/lib/components/NativeSelect/NativeSelect.types.d.ts +108 -0
- package/lib/components/NativeSelect/NativeSelect.vue.d.ts +22 -0
- package/lib/components/NativeSelect/NativeSelectChevron.vue.d.ts +3 -0
- package/lib/components/NativeSelect/index.d.ts +1 -1
- package/lib/components/NavLink/NavLink.d.ts +15 -213
- package/lib/components/NavLink/NavLink.types.d.ts +118 -0
- package/lib/components/NavLink/NavLink.vue.d.ts +17 -0
- package/lib/components/NavLink/index.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +9 -149
- package/lib/components/Notification/Notification.types.d.ts +70 -0
- package/lib/components/Notification/Notification.vue.d.ts +17 -0
- package/lib/components/Notification/index.d.ts +1 -1
- package/lib/components/NumberFormatter/NumberFormatter.d.ts +17 -100
- package/lib/components/NumberFormatter/NumberFormatter.types.d.ts +27 -0
- package/lib/components/NumberFormatter/NumberFormatter.vue.d.ts +4 -0
- package/lib/components/NumberFormatter/format-number.d.ts +2 -0
- package/lib/components/NumberFormatter/index.d.ts +1 -1
- package/lib/components/NumberInput/NumberInput.d.ts +9 -457
- package/lib/components/NumberInput/NumberInput.types.d.ts +239 -0
- package/lib/components/NumberInput/NumberInput.vue.d.ts +29 -0
- package/lib/components/NumberInput/NumberInputChevron.d.ts +2 -14
- package/lib/components/NumberInput/NumberInputChevron.types.d.ts +6 -0
- package/lib/components/NumberInput/NumberInputChevron.vue.d.ts +4 -0
- package/lib/components/NumberInput/index.d.ts +2 -2
- package/lib/components/NumberInput/number-input-utils.d.ts +19 -0
- package/lib/components/OverflowList/OverflowList.d.ts +9 -114
- package/lib/components/OverflowList/OverflowList.types.d.ts +76 -0
- package/lib/components/OverflowList/OverflowList.vue.d.ts +26 -0
- package/lib/components/OverflowList/index.d.ts +1 -1
- package/lib/components/Overlay/Overlay.d.ts +13 -104
- package/lib/components/Overlay/Overlay.types.d.ts +81 -0
- package/lib/components/Overlay/Overlay.vue.d.ts +19 -0
- package/lib/components/Pagination/Pagination.d.ts +95 -699
- package/lib/components/Pagination/Pagination.icons.d.ts +6 -15
- package/lib/components/Pagination/Pagination.types.d.ts +81 -0
- package/lib/components/Pagination/Pagination.vue.d.ts +18 -0
- package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +9 -70
- package/lib/components/Pagination/PaginationControl/PaginationControl.types.d.ts +50 -0
- package/lib/components/Pagination/PaginationControl/PaginationControl.vue.d.ts +13 -0
- package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +7 -19
- package/lib/components/Pagination/PaginationDots/PaginationDots.types.d.ts +23 -0
- package/lib/components/Pagination/PaginationDots/PaginationDots.vue.d.ts +13 -0
- package/lib/components/Pagination/PaginationDotsIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationEdges/PaginationEdge.vue.d.ts +27 -0
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +32 -100
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.types.d.ts +36 -0
- package/lib/components/Pagination/PaginationEdges/PaginationFirst.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationLast.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationNext.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationEdges/PaginationPrevious.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationFirstIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationIcon.types.d.ts +6 -0
- package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +3 -6
- package/lib/components/Pagination/PaginationItems/PaginationItems.types.d.ts +12 -0
- package/lib/components/Pagination/PaginationItems/PaginationItems.vue.d.ts +4 -0
- package/lib/components/Pagination/PaginationItems/PaginationItemsGroup.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.d.ts +6 -3
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.types.d.ts +15 -0
- package/lib/components/Pagination/PaginationLabel/PaginationLabel.vue.d.ts +11 -0
- package/lib/components/Pagination/PaginationLastIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationNextIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationPreviousIcon.vue.d.ts +3 -0
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +40 -171
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.types.d.ts +73 -0
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.vue.d.ts +25 -0
- package/lib/components/Pagination/index.d.ts +6 -2
- package/lib/components/Paper/Paper.d.ts +13 -73
- package/lib/components/Paper/Paper.types.d.ts +48 -0
- package/lib/components/Paper/Paper.vue.d.ts +14 -0
- package/lib/components/PasswordInput/PasswordInput.d.ts +41 -365
- package/lib/components/PasswordInput/PasswordInput.types.d.ts +150 -0
- package/lib/components/PasswordInput/PasswordInput.vue.d.ts +27 -0
- package/lib/components/PasswordInput/PasswordToggleIcon.d.ts +3 -15
- package/lib/components/PasswordInput/PasswordToggleIcon.types.d.ts +9 -0
- package/lib/components/PasswordInput/PasswordToggleIcon.vue.d.ts +4 -0
- package/lib/components/PasswordInput/index.d.ts +2 -1
- package/lib/components/Pill/Pill.d.ts +12 -279
- package/lib/components/Pill/Pill.types.d.ts +66 -0
- package/lib/components/Pill/Pill.vue.d.ts +17 -0
- package/lib/components/Pill/PillGroup/PillGroup.context.d.ts +4 -0
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +11 -77
- package/lib/components/Pill/PillGroup/PillGroup.types.d.ts +40 -0
- package/lib/components/Pill/PillGroup/PillGroup.vue.d.ts +12 -0
- package/lib/components/Pill/index.d.ts +3 -2
- package/lib/components/PillsInput/PillsInput.d.ts +11 -427
- package/lib/components/PillsInput/PillsInput.types.d.ts +99 -0
- package/lib/components/PillsInput/PillsInput.vue.d.ts +14 -0
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +7 -137
- package/lib/components/PillsInput/PillsInputField/PillsInputField.types.d.ts +49 -0
- package/lib/components/PillsInput/PillsInputField/PillsInputField.vue.d.ts +12 -0
- package/lib/components/PillsInput/index.d.ts +2 -1
- package/lib/components/PinInput/PinInput.d.ts +12 -350
- package/lib/components/PinInput/PinInput.types.d.ts +137 -0
- package/lib/components/PinInput/PinInput.vue.d.ts +37 -0
- package/lib/components/PinInput/index.d.ts +1 -1
- package/lib/components/Popover/Popover.d.ts +122 -483
- package/lib/components/Popover/Popover.types.d.ts +234 -0
- package/lib/components/Popover/Popover.vue.d.ts +45 -0
- package/lib/components/Popover/PopoverContextMenu.vue.d.ts +11 -0
- package/lib/components/Popover/PopoverDropdown.vue.d.ts +11 -0
- package/lib/components/Popover/PopoverTarget.vue.d.ts +11 -0
- package/lib/components/Popover/index.d.ts +1 -1
- package/lib/components/Popover/popover-utils.d.ts +13 -0
- package/lib/components/Portal/OptionalPortal.d.ts +2 -35
- package/lib/components/Portal/OptionalPortal.types.d.ts +37 -0
- package/lib/components/Portal/OptionalPortal.vue.d.ts +11 -0
- package/lib/components/Portal/Portal.d.ts +16 -25
- package/lib/components/Portal/Portal.types.d.ts +29 -0
- package/lib/components/Portal/Portal.vue.d.ts +11 -0
- package/lib/components/Progress/Progress.context.d.ts +2 -0
- package/lib/components/Progress/Progress.d.ts +19 -446
- package/lib/components/Progress/Progress.types.d.ts +75 -0
- package/lib/components/Progress/Progress.vue.d.ts +6 -0
- package/lib/components/Progress/ProgressLabel/ProgressLabel.d.ts +8 -43
- package/lib/components/Progress/ProgressLabel/ProgressLabel.types.d.ts +30 -0
- package/lib/components/Progress/ProgressLabel/ProgressLabel.vue.d.ts +13 -0
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +9 -99
- package/lib/components/Progress/ProgressRoot/ProgressRoot.types.d.ts +54 -0
- package/lib/components/Progress/ProgressRoot/ProgressRoot.vue.d.ts +13 -0
- package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +8 -88
- package/lib/components/Progress/ProgressSection/ProgressSection.types.d.ts +56 -0
- package/lib/components/Progress/ProgressSection/ProgressSection.vue.d.ts +11 -0
- package/lib/components/Progress/index.d.ts +5 -2
- package/lib/components/Radio/Radio.d.ts +20 -855
- package/lib/components/Radio/Radio.types.d.ts +148 -0
- package/lib/components/Radio/Radio.vue.d.ts +37 -0
- package/lib/components/Radio/RadioCard/RadioCard.context.d.ts +5 -0
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +10 -133
- package/lib/components/Radio/RadioCard/RadioCard.types.d.ts +54 -0
- package/lib/components/Radio/RadioCard/RadioCard.vue.d.ts +22 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.context.d.ts +5 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +34 -169
- package/lib/components/Radio/RadioGroup/RadioGroup.types.d.ts +70 -0
- package/lib/components/Radio/RadioGroup/RadioGroup.vue.d.ts +17 -0
- package/lib/components/Radio/RadioIcon.d.ts +2 -3
- package/lib/components/Radio/RadioIcon.types.d.ts +3 -0
- package/lib/components/Radio/RadioIcon.vue.d.ts +3 -0
- package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +10 -141
- package/lib/components/Radio/RadioIndicator/RadioIndicator.types.d.ts +71 -0
- package/lib/components/Radio/RadioIndicator/RadioIndicator.vue.d.ts +13 -0
- package/lib/components/Radio/index.d.ts +4 -4
- package/lib/components/Rating/Rating.d.ts +8 -209
- package/lib/components/Rating/Rating.types.d.ts +94 -0
- package/lib/components/Rating/Rating.vue.d.ts +31 -0
- package/lib/components/Rating/RatingItem/RatingItem.d.ts +7 -124
- package/lib/components/Rating/RatingItem/RatingItem.types.d.ts +44 -0
- package/lib/components/Rating/RatingItem/RatingItem.vue.d.ts +17 -0
- package/lib/components/Rating/StarSymbol/StarIcon.d.ts +2 -3
- package/lib/components/Rating/StarSymbol/StarIcon.types.d.ts +6 -0
- package/lib/components/Rating/StarSymbol/StarIcon.vue.d.ts +3 -0
- package/lib/components/Rating/StarSymbol/StarSymbol.d.ts +3 -14
- package/lib/components/Rating/StarSymbol/StarSymbol.types.d.ts +5 -0
- package/lib/components/Rating/StarSymbol/StarSymbol.vue.d.ts +4 -0
- package/lib/components/Rating/index.d.ts +3 -1
- package/lib/components/RingProgress/Curve/Curve.d.ts +3 -84
- package/lib/components/RingProgress/Curve/Curve.types.d.ts +28 -0
- package/lib/components/RingProgress/Curve/Curve.vue.d.ts +4 -0
- package/lib/components/RingProgress/RingProgress.d.ts +9 -148
- package/lib/components/RingProgress/RingProgress.types.d.ts +73 -0
- package/lib/components/RingProgress/RingProgress.vue.d.ts +32 -0
- package/lib/components/RingProgress/index.d.ts +1 -1
- package/lib/components/RollingNumber/DigitColumn.d.ts +3 -49
- package/lib/components/RollingNumber/DigitColumn.types.d.ts +17 -0
- package/lib/components/RollingNumber/DigitColumn.vue.d.ts +10 -0
- package/lib/components/RollingNumber/RollingNumber.d.ts +8 -172
- package/lib/components/RollingNumber/RollingNumber.types.d.ts +72 -0
- package/lib/components/RollingNumber/RollingNumber.vue.d.ts +15 -0
- package/lib/components/RollingNumber/index.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollArea.d.ts +24 -505
- package/lib/components/ScrollArea/ScrollArea.props.types.d.ts +94 -0
- package/lib/components/ScrollArea/ScrollArea.vue.d.ts +39 -0
- package/lib/components/ScrollArea/ScrollAreaAutosize.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.d.ts +2 -3
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.types.d.ts +6 -0
- package/lib/components/ScrollArea/ScrollAreaCorner/ScrollAreaCorner.vue.d.ts +3 -0
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +7 -43
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.types.d.ts +40 -0
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue.d.ts +16 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.d.ts +17 -24
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.types.d.ts +25 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +20 -16
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.vue.d.ts +11 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.d.ts +31 -106
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.types.d.ts +40 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.vue.d.ts +15 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.d.ts +16 -79
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.vue.d.ts +12 -0
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.d.ts +16 -79
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.vue.d.ts +12 -0
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.d.ts +2 -3
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.types.d.ts +9 -0
- package/lib/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.vue.d.ts +4 -0
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.d.ts +8 -25
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.types.d.ts +27 -0
- package/lib/components/ScrollArea/ScrollAreaViewport/ScrollAreaViewport.vue.d.ts +19 -0
- package/lib/components/ScrollArea/index.d.ts +1 -1
- package/lib/components/Scroller/Scroller.d.ts +9 -160
- package/lib/components/Scroller/Scroller.types.d.ts +50 -0
- package/lib/components/Scroller/Scroller.vue.d.ts +13 -0
- package/lib/components/Scroller/index.d.ts +1 -1
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +32 -223
- package/lib/components/SegmentedControl/SegmentedControl.types.d.ts +85 -0
- package/lib/components/SegmentedControl/SegmentedControl.vue.d.ts +11 -0
- package/lib/components/SegmentedControl/index.d.ts +1 -2
- package/lib/components/Select/Select.d.ts +73 -240
- package/lib/components/Select/Select.types.d.ts +178 -0
- package/lib/components/Select/Select.vue.d.ts +30 -0
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +9 -137
- package/lib/components/SemiCircleProgress/SemiCircleProgress.types.d.ts +78 -0
- package/lib/components/SemiCircleProgress/SemiCircleProgress.vue.d.ts +13 -0
- package/lib/components/SemiCircleProgress/index.d.ts +1 -1
- package/lib/components/SimpleGrid/SimpleGrid.d.ts +11 -101
- package/lib/components/SimpleGrid/SimpleGrid.types.d.ts +59 -0
- package/lib/components/SimpleGrid/SimpleGrid.vue.d.ts +11 -0
- package/lib/components/SimpleGrid/SimpleGridContainerVariables.vue.d.ts +4 -0
- package/lib/components/SimpleGrid/SimpleGridMediaVariables.vue.d.ts +4 -0
- package/lib/components/SimpleGrid/SimpleGridVariables.d.ts +3 -107
- package/lib/components/SimpleGrid/simple-grid-variables.d.ts +22 -0
- package/lib/components/Skeleton/Skeleton.d.ts +8 -76
- package/lib/components/Skeleton/Skeleton.types.d.ts +56 -0
- package/lib/components/Skeleton/Skeleton.vue.d.ts +20 -0
- package/lib/components/Slider/Marks/Marks.d.ts +3 -77
- package/lib/components/Slider/Marks/Marks.types.d.ts +28 -0
- package/lib/components/Slider/Marks/Marks.vue.d.ts +17 -0
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +13 -346
- package/lib/components/Slider/RangeSlider/RangeSlider.types.d.ts +77 -0
- package/lib/components/Slider/RangeSlider/RangeSlider.vue.d.ts +41 -0
- package/lib/components/Slider/Slider/Slider.d.ts +13 -335
- package/lib/components/Slider/Slider/Slider.types.d.ts +169 -0
- package/lib/components/Slider/Slider/Slider.vue.d.ts +39 -0
- package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +7 -42
- package/lib/components/Slider/SliderRoot/SliderRoot.types.d.ts +37 -0
- package/lib/components/Slider/SliderRoot/SliderRoot.vue.d.ts +13 -0
- package/lib/components/Slider/Thumb/Thumb.d.ts +37 -133
- package/lib/components/Slider/Thumb/Thumb.types.d.ts +63 -0
- package/lib/components/Slider/Thumb/Thumb.vue.d.ts +30 -0
- package/lib/components/Slider/Track/Track.d.ts +17 -103
- package/lib/components/Slider/Track/Track.types.d.ts +43 -0
- package/lib/components/Slider/Track/Track.vue.d.ts +11 -0
- package/lib/components/Slider/index.d.ts +3 -3
- package/lib/components/Space/Space.d.ts +6 -14
- package/lib/components/Space/Space.types.d.ts +22 -0
- package/lib/components/Space/Space.vue.d.ts +16 -0
- package/lib/components/Splitter/GripHorizontalIcon.vue.d.ts +3 -0
- package/lib/components/Splitter/GripIcon.d.ts +3 -6
- package/lib/components/Splitter/GripIcon.types.d.ts +6 -0
- package/lib/components/Splitter/GripVerticalIcon.vue.d.ts +3 -0
- package/lib/components/Splitter/Splitter.d.ts +12 -451
- package/lib/components/Splitter/Splitter.types.d.ts +103 -0
- package/lib/components/Splitter/Splitter.vue.d.ts +50 -0
- package/lib/components/Splitter/SplitterPane/SplitterPane.d.ts +8 -109
- package/lib/components/Splitter/SplitterPane/SplitterPane.types.d.ts +46 -0
- package/lib/components/Splitter/SplitterPane/SplitterPane.vue.d.ts +13 -0
- package/lib/components/Splitter/index.d.ts +1 -1
- package/lib/components/Spoiler/Spoiler.d.ts +10 -140
- package/lib/components/Spoiler/Spoiler.types.d.ts +70 -0
- package/lib/components/Spoiler/Spoiler.vue.d.ts +22 -0
- package/lib/components/Spoiler/index.d.ts +2 -0
- package/lib/components/Stack/Stack.d.ts +8 -64
- package/lib/components/Stack/Stack.types.d.ts +38 -0
- package/lib/components/Stack/Stack.vue.d.ts +21 -0
- package/lib/components/Stepper/Stepper.d.ts +14 -541
- package/lib/components/Stepper/Stepper.types.d.ts +119 -0
- package/lib/components/Stepper/Stepper.vue.d.ts +34 -0
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.d.ts +2 -1
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.types.d.ts +1 -0
- package/lib/components/Stepper/StepperCompleted/StepperCompleted.vue.d.ts +3 -0
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +8 -200
- package/lib/components/Stepper/StepperStep/StepperStep.types.d.ts +92 -0
- package/lib/components/Stepper/StepperStep/StepperStep.vue.d.ts +13 -0
- package/lib/components/Stepper/index.d.ts +3 -3
- package/lib/components/Switch/Switch.d.ts +15 -621
- package/lib/components/Switch/Switch.types.d.ts +138 -0
- package/lib/components/Switch/Switch.vue.d.ts +36 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.context.d.ts +5 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +34 -195
- package/lib/components/Switch/SwitchGroup/SwitchGroup.types.d.ts +78 -0
- package/lib/components/Switch/SwitchGroup/SwitchGroup.vue.d.ts +19 -0
- package/lib/components/Switch/index.d.ts +2 -2
- package/lib/components/Table/Table.components.d.ts +44 -577
- package/lib/components/Table/Table.d.ts +22 -1064
- package/lib/components/Table/Table.types.d.ts +130 -0
- package/lib/components/Table/Table.vue.d.ts +18 -0
- package/lib/components/Table/TableCaption.vue.d.ts +11 -0
- package/lib/components/Table/TableElement.types.d.ts +33 -0
- package/lib/components/Table/TableElement.vue.d.ts +31 -0
- package/lib/components/Table/TableScrollContainer.d.ts +12 -86
- package/lib/components/Table/TableScrollContainer.types.d.ts +38 -0
- package/lib/components/Table/TableScrollContainer.vue.d.ts +13 -0
- package/lib/components/Table/TableTbody.vue.d.ts +11 -0
- package/lib/components/Table/TableTd.vue.d.ts +11 -0
- package/lib/components/Table/TableTfoot.vue.d.ts +11 -0
- package/lib/components/Table/TableTh.vue.d.ts +11 -0
- package/lib/components/Table/TableThead.vue.d.ts +11 -0
- package/lib/components/Table/TableTr.vue.d.ts +11 -0
- package/lib/components/Table/index.d.ts +3 -2
- package/lib/components/TableOfContents/TableOfContents.d.ts +12 -160
- package/lib/components/TableOfContents/TableOfContents.types.d.ts +80 -0
- package/lib/components/TableOfContents/TableOfContents.vue.d.ts +7 -0
- package/lib/components/TableOfContents/index.d.ts +1 -2
- package/lib/components/Tabs/Tabs.d.ts +43 -534
- package/lib/components/Tabs/Tabs.types.d.ts +88 -0
- package/lib/components/Tabs/Tabs.vue.d.ts +32 -0
- package/lib/components/Tabs/TabsList/TabsList.d.ts +7 -54
- package/lib/components/Tabs/TabsList/TabsList.types.d.ts +39 -0
- package/lib/components/Tabs/TabsList/TabsList.vue.d.ts +13 -0
- package/lib/components/Tabs/TabsPanel/TabsPanel.d.ts +8 -52
- package/lib/components/Tabs/TabsPanel/TabsPanel.types.d.ts +36 -0
- package/lib/components/Tabs/TabsPanel/TabsPanel.vue.d.ts +13 -0
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +9 -119
- package/lib/components/Tabs/TabsTab/TabsTab.types.d.ts +59 -0
- package/lib/components/Tabs/TabsTab/TabsTab.vue.d.ts +19 -0
- package/lib/components/Tabs/index.d.ts +4 -4
- package/lib/components/TagsInput/TagsInput.d.ts +89 -195
- package/lib/components/TagsInput/TagsInput.types.d.ts +186 -0
- package/lib/components/TagsInput/TagsInput.vue.d.ts +35 -0
- package/lib/components/TagsInput/get-splitted-tags.d.ts +9 -0
- package/lib/components/TagsInput/index.d.ts +1 -1
- package/lib/components/Text/Text.d.ts +14 -159
- package/lib/components/Text/Text.types.d.ts +84 -0
- package/lib/components/Text/Text.vue.d.ts +12 -0
- package/lib/components/TextInput/TextInput.d.ts +33 -37
- package/lib/components/TextInput/TextInput.types.d.ts +13 -0
- package/lib/components/TextInput/TextInput.vue.d.ts +17 -0
- package/lib/components/TextInput/index.d.ts +1 -0
- package/lib/components/Textarea/Autosize.d.ts +2 -38
- package/lib/components/Textarea/Autosize.vue.d.ts +15 -0
- package/lib/components/Textarea/Textarea.d.ts +8 -105
- package/lib/components/Textarea/Textarea.types.d.ts +65 -0
- package/lib/components/Textarea/Textarea.vue.d.ts +19 -0
- package/lib/components/Textarea/autosize-utils.d.ts +17 -0
- package/lib/components/Textarea/index.d.ts +1 -1
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +10 -85
- package/lib/components/ThemeIcon/ThemeIcon.types.d.ts +59 -0
- package/lib/components/ThemeIcon/ThemeIcon.vue.d.ts +14 -0
- package/lib/components/Timeline/Timeline.context.d.ts +1 -1
- package/lib/components/Timeline/Timeline.d.ts +14 -383
- package/lib/components/Timeline/Timeline.types.d.ts +74 -0
- package/lib/components/Timeline/Timeline.vue.d.ts +12 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +8 -168
- package/lib/components/Timeline/TimelineItem/TimelineItem.types.d.ts +108 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.vue.d.ts +13 -0
- package/lib/components/Timeline/index.d.ts +2 -3
- package/lib/components/Title/Title.d.ts +8 -73
- package/lib/components/Title/Title.types.d.ts +37 -0
- package/lib/components/Title/Title.vue.d.ts +15 -0
- package/lib/components/Tooltip/Tooltip.d.ts +47 -360
- package/lib/components/Tooltip/Tooltip.types.d.ts +161 -5
- package/lib/components/Tooltip/Tooltip.vue.d.ts +51 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.d.ts +2 -69
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.types.d.ts +88 -0
- package/lib/components/Tooltip/TooltipFloating/TooltipFloating.vue.d.ts +27 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.context.d.ts +3 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.d.ts +18 -35
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.types.d.ts +28 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.vue.d.ts +11 -0
- package/lib/components/Tooltip/index.d.ts +3 -4
- package/lib/components/Transition/Transition.d.ts +38 -105
- package/lib/components/Transition/Transition.types.d.ts +36 -0
- package/lib/components/Transition/Transition.vue.d.ts +21 -0
- package/lib/components/Tree/FlatTreeNode.d.ts +2 -145
- package/lib/components/Tree/FlatTreeNode.vue.d.ts +64 -0
- package/lib/components/Tree/Tree.d.ts +9 -242
- package/lib/components/Tree/Tree.types.d.ts +154 -0
- package/lib/components/Tree/Tree.vue.d.ts +25 -0
- package/lib/components/Tree/TreeNode.d.ts +2 -2
- package/lib/components/Tree/TreeNode.vue.d.ts +58 -0
- package/lib/components/Tree/index.d.ts +1 -1
- package/lib/components/TreeSelect/TreeSelect.d.ts +75 -364
- package/lib/components/TreeSelect/TreeSelect.types.d.ts +164 -0
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +30 -0
- package/lib/components/TreeSelect/TreeSelectOption.vue.d.ts +36 -0
- package/lib/components/TreeSelect/index.d.ts +1 -1
- package/lib/components/TreeSelect/tree-select-utils.d.ts +32 -0
- package/lib/components/Typography/Typography.d.ts +6 -34
- package/lib/components/Typography/Typography.types.d.ts +11 -0
- package/lib/components/Typography/Typography.vue.d.ts +14 -0
- package/lib/components/Typography/index.d.ts +1 -0
- package/lib/components/UnstyledButton/UnstyledButton.d.ts +12 -79
- package/lib/components/UnstyledButton/UnstyledButton.types.d.ts +42 -0
- package/lib/components/UnstyledButton/UnstyledButton.vue.d.ts +13 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +6 -43
- package/lib/components/VisuallyHidden/VisuallyHidden.types.d.ts +11 -0
- package/lib/components/VisuallyHidden/VisuallyHidden.vue.d.ts +14 -0
- package/lib/components/component-props.d.ts +7 -170
- package/lib/core/Box/Box.d.ts +25 -3
- package/lib/core/InlineStyles/InlineStyles.d.ts +2 -2
- 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/MantineProvider/use-props.d.ts +14 -1
- package/lib/core/factory/create-factory.d.ts +3 -0
- package/lib/core/factory/create-polymorphic-component.d.ts +69 -0
- package/lib/core/factory/factory-payload.d.ts +73 -0
- package/lib/core/factory/factory-styles-api.d.ts +39 -0
- package/lib/core/factory/factory.d.ts +83 -23
- package/lib/core/factory/index.d.ts +10 -4
- package/lib/core/factory/polymorphic-factory.d.ts +32 -1
- package/lib/core/factory/use-forwarded-ref.d.ts +6 -34
- package/lib/core/renderable-node.d.ts +6 -1
- package/lib/core/styles-api/styles-api.types.d.ts +57 -6
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/core/utils/omit-attrs.d.ts +7 -0
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.d.ts +3 -55
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.types.d.ts +24 -0
- package/lib/utils/Floating/FloatingArrow/FloatingArrow.vue.d.ts +4 -0
- package/lib/utils/InlineInput/InlineInput.d.ts +5 -5
- package/lib/utils/InputsGroupFieldset.d.ts +10 -3
- package/lib/utils/InputsGroupFieldset.types.d.ts +17 -0
- package/lib/utils/InputsGroupFieldset.vue.d.ts +11 -0
- package/lib/utils/use-slot-revision.d.ts +13 -0
- package/package.json +13 -3
- package/lib/core/factory/with-box-props.d.ts +0 -18
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { ClassNames, Factory, MantineNode, Styles, Vars } from '../../core';
|
|
3
|
+
import type { ModalBaseOwnProps } from '../ModalBase/ModalBase.types';
|
|
4
|
+
import type { ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalTitle } from './Modal.compound';
|
|
5
|
+
import type { ModalRoot } from './Modal';
|
|
6
|
+
export type ModalStylesNames = 'root' | 'body' | 'close' | 'content' | 'header' | 'inner' | 'overlay' | 'title';
|
|
7
|
+
export type ModalCssVariables = {
|
|
8
|
+
root: '--modal-size' | '--modal-radius' | '--modal-y-offset' | '--modal-x-offset';
|
|
9
|
+
};
|
|
10
|
+
export interface ModalEmits {
|
|
11
|
+
/** Called when the modal is closed. */
|
|
12
|
+
close: [];
|
|
13
|
+
}
|
|
14
|
+
export type ModalFactory = Factory<{
|
|
15
|
+
props: ModalProps;
|
|
16
|
+
slots: ModalSlots;
|
|
17
|
+
emits: ModalEmits;
|
|
18
|
+
element: 'div';
|
|
19
|
+
stylesNames: ModalStylesNames;
|
|
20
|
+
vars: ModalCssVariables;
|
|
21
|
+
staticComponents: {
|
|
22
|
+
Root: typeof ModalRoot;
|
|
23
|
+
Overlay: typeof ModalOverlay;
|
|
24
|
+
Content: typeof ModalContent;
|
|
25
|
+
Body: typeof ModalBody;
|
|
26
|
+
Header: typeof ModalHeader;
|
|
27
|
+
Title: typeof ModalTitle;
|
|
28
|
+
CloseButton: typeof ModalCloseButton;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
export interface ModalSlots {
|
|
32
|
+
/** Content of the modal, rendered inside `Modal.Body`. */
|
|
33
|
+
default?: () => VNodeChild;
|
|
34
|
+
/** Title of the modal, rendered inside `Modal.Title`. */
|
|
35
|
+
title?: () => VNodeChild;
|
|
36
|
+
}
|
|
37
|
+
export interface ModalRootSlots {
|
|
38
|
+
/** `Modal.Overlay` and `Modal.Content`. */
|
|
39
|
+
default?: () => VNodeChild;
|
|
40
|
+
}
|
|
41
|
+
/** Props of every compound part of `Modal` – `Modal.Body`, `Modal.Header` and so on. */
|
|
42
|
+
export interface ModalCompoundProps {
|
|
43
|
+
/** Visible state, used by the parts that fade in and out with the modal. */
|
|
44
|
+
visible?: boolean;
|
|
45
|
+
/** Props passed down to the `Transition` of the part. */
|
|
46
|
+
transitionProps?: Record<string, any>;
|
|
47
|
+
/** Internal: hides the part without unmounting it. */
|
|
48
|
+
__hidden?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Props of `Modal.Root`.
|
|
52
|
+
*
|
|
53
|
+
* `Modal.Root` owns the Styles API and the layout of the modal; the behaviour comes
|
|
54
|
+
* from `ModalBase`, whose props are all accepted here as well.
|
|
55
|
+
*
|
|
56
|
+
* Extends `ModalBaseOwnProps` rather than `ModalBaseProps`: the `Omit<BoxProps, …>` in
|
|
57
|
+
* the latter is not resolvable by the SFC compiler across modules, and the `Box` props
|
|
58
|
+
* reach `ModalBase` through the fallthrough attributes anyway.
|
|
59
|
+
*/
|
|
60
|
+
export interface ModalRootProps extends ModalBaseOwnProps {
|
|
61
|
+
/**
|
|
62
|
+
* If set, the modal is centered vertically instead of offset from the top.
|
|
63
|
+
*
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
centered?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* If set, the modal takes the whole screen.
|
|
69
|
+
*
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
fullScreen?: boolean;
|
|
73
|
+
/** Key of `theme.radius` or any valid CSS value to set `border-radius`. */
|
|
74
|
+
radius?: string | number;
|
|
75
|
+
/**
|
|
76
|
+
* Horizontal offset of the modal.
|
|
77
|
+
*
|
|
78
|
+
* @default '5vw'
|
|
79
|
+
*/
|
|
80
|
+
xOffset?: string | number;
|
|
81
|
+
/**
|
|
82
|
+
* Vertical offset of the modal. Ignored when `centered` is set.
|
|
83
|
+
*
|
|
84
|
+
* @default '5dvh'
|
|
85
|
+
*/
|
|
86
|
+
yOffset?: string | number;
|
|
87
|
+
/**
|
|
88
|
+
* Key of `theme.spacing` or any valid CSS value to set the width of the modal.
|
|
89
|
+
*
|
|
90
|
+
* @default 'md'
|
|
91
|
+
*/
|
|
92
|
+
size?: string | number;
|
|
93
|
+
/** Component used to render the scrollable area of the content, for example `ScrollArea.Autosize`. */
|
|
94
|
+
scrollAreaComponent?: any;
|
|
95
|
+
/** `classNames` of the Styles API. */
|
|
96
|
+
classNames?: ClassNames<ModalRootProps>;
|
|
97
|
+
/** `styles` of the Styles API. */
|
|
98
|
+
styles?: Styles<ModalRootProps>;
|
|
99
|
+
/** CSS variables of the Styles API. */
|
|
100
|
+
vars?: Vars<ModalRootProps>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Props of `Modal`.
|
|
104
|
+
*
|
|
105
|
+
* `Modal` is the pre-composed variant. Use `Modal.Root` and the compound components when
|
|
106
|
+
* the default composition is not enough.
|
|
107
|
+
*/
|
|
108
|
+
export interface ModalProps extends ModalRootProps {
|
|
109
|
+
/**
|
|
110
|
+
* Title of the modal.
|
|
111
|
+
* Can also be set with the `title` slot – the slot takes precedence.
|
|
112
|
+
*/
|
|
113
|
+
title?: MantineNode;
|
|
114
|
+
/**
|
|
115
|
+
* If set, an overlay is rendered behind the modal.
|
|
116
|
+
*
|
|
117
|
+
* @default true
|
|
118
|
+
*/
|
|
119
|
+
withOverlay?: boolean;
|
|
120
|
+
/** Props passed down to `Modal.Overlay`. */
|
|
121
|
+
overlayProps?: Record<string, any>;
|
|
122
|
+
/**
|
|
123
|
+
* If set, a close button is rendered in the header.
|
|
124
|
+
*
|
|
125
|
+
* @default true
|
|
126
|
+
*/
|
|
127
|
+
withCloseButton?: boolean;
|
|
128
|
+
/** Props passed down to `Modal.CloseButton`. */
|
|
129
|
+
closeButtonProps?: Record<string, any>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModalProps, ModalSlots } from './Modal.types';
|
|
2
|
+
type __VLS_Slots = ModalSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
close: () => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
|
|
6
|
+
onClose?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ModalRootProps, ModalRootSlots } from './Modal.types';
|
|
2
|
+
/** Module scope: created once, not per component instance. */
|
|
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<ModalRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<ModalRootProps> & Readonly<{
|
|
10
|
+
onClose?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalRootSlots>;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds one of the compound parts of `Modal` – `Modal.Body`, `Modal.Header` and so on.
|
|
3
|
+
*
|
|
4
|
+
* Deliberately a factory rather than six near-identical SFCs: every part does exactly
|
|
5
|
+
* the same thing, differing only in the `ModalBase` component it wraps and the Styles
|
|
6
|
+
* API selector it reads. The same reasoning applies to `create-app-shell-component`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createModalCompoundComponent(name: string, Base: any, selector: string, extra?: (ctx: any) => Record<string, any>): import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
visible: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
transitionProps: ObjectConstructor;
|
|
14
|
+
__hidden: BooleanConstructor;
|
|
15
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
visible: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
transitionProps: ObjectConstructor;
|
|
23
|
+
__hidden: BooleanConstructor;
|
|
24
|
+
}>> & Readonly<{}>, {
|
|
25
|
+
visible: boolean;
|
|
26
|
+
__hidden: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Modal, ModalRoot, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalTitle, } from './Modal';
|
|
2
|
-
export type {
|
|
2
|
+
export type { ModalCompoundProps, ModalCssVariables, ModalEmits, ModalFactory, ModalProps, ModalRootProps, ModalRootSlots, ModalSlots, ModalStylesNames, } from './Modal';
|
|
@@ -1,180 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
closeOnClickOutside?: boolean;
|
|
12
|
-
transitionProps?: Record<string, any>;
|
|
13
|
-
onExitTransitionEnd?: () => void;
|
|
14
|
-
onEnterTransitionEnd?: () => void;
|
|
15
|
-
closeOnEscape?: boolean;
|
|
16
|
-
returnFocus?: boolean;
|
|
17
|
-
zIndex?: string | number;
|
|
18
|
-
shadow?: string;
|
|
19
|
-
padding?: string | number;
|
|
20
|
-
unstyled?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const ModalBase: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
23
|
-
opened: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
onClose: {
|
|
28
|
-
type: PropType<() => void>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
id: StringConstructor;
|
|
32
|
-
keepMounted: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
lockScroll: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
trapFocus: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
withinPortal: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
portalProps: {
|
|
49
|
-
type: ObjectConstructor;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
closeOnClickOutside: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
transitionProps: {
|
|
57
|
-
type: ObjectConstructor;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
onExitTransitionEnd: {
|
|
61
|
-
type: PropType<() => void>;
|
|
62
|
-
default: undefined;
|
|
63
|
-
};
|
|
64
|
-
onEnterTransitionEnd: {
|
|
65
|
-
type: PropType<() => void>;
|
|
66
|
-
default: undefined;
|
|
67
|
-
};
|
|
68
|
-
closeOnEscape: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
returnFocus: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
zIndex: {
|
|
77
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
78
|
-
default: undefined;
|
|
79
|
-
};
|
|
80
|
-
shadow: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
padding: {
|
|
85
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
unstyled: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
93
|
-
[key: string]: any;
|
|
94
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
95
|
-
opened: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
onClose: {
|
|
100
|
-
type: PropType<() => void>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
id: StringConstructor;
|
|
104
|
-
keepMounted: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
lockScroll: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
trapFocus: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
withinPortal: {
|
|
117
|
-
type: BooleanConstructor;
|
|
118
|
-
default: boolean;
|
|
119
|
-
};
|
|
120
|
-
portalProps: {
|
|
121
|
-
type: ObjectConstructor;
|
|
122
|
-
default: undefined;
|
|
123
|
-
};
|
|
124
|
-
closeOnClickOutside: {
|
|
125
|
-
type: BooleanConstructor;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
transitionProps: {
|
|
129
|
-
type: ObjectConstructor;
|
|
130
|
-
default: undefined;
|
|
131
|
-
};
|
|
132
|
-
onExitTransitionEnd: {
|
|
133
|
-
type: PropType<() => void>;
|
|
134
|
-
default: undefined;
|
|
135
|
-
};
|
|
136
|
-
onEnterTransitionEnd: {
|
|
137
|
-
type: PropType<() => void>;
|
|
138
|
-
default: undefined;
|
|
139
|
-
};
|
|
140
|
-
closeOnEscape: {
|
|
141
|
-
type: BooleanConstructor;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
returnFocus: {
|
|
145
|
-
type: BooleanConstructor;
|
|
146
|
-
default: boolean;
|
|
147
|
-
};
|
|
148
|
-
zIndex: {
|
|
149
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
150
|
-
default: undefined;
|
|
151
|
-
};
|
|
152
|
-
shadow: {
|
|
153
|
-
type: StringConstructor;
|
|
154
|
-
default: string;
|
|
155
|
-
};
|
|
156
|
-
padding: {
|
|
157
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
158
|
-
default: string;
|
|
159
|
-
};
|
|
160
|
-
unstyled: {
|
|
161
|
-
type: BooleanConstructor;
|
|
162
|
-
default: boolean;
|
|
163
|
-
};
|
|
164
|
-
}>> & Readonly<{}>, {
|
|
165
|
-
shadow: string;
|
|
166
|
-
keepMounted: boolean;
|
|
167
|
-
padding: string | number;
|
|
168
|
-
zIndex: string | number;
|
|
169
|
-
unstyled: boolean;
|
|
170
|
-
withinPortal: boolean;
|
|
171
|
-
transitionProps: Record<string, any>;
|
|
172
|
-
portalProps: Record<string, any>;
|
|
173
|
-
lockScroll: boolean;
|
|
174
|
-
trapFocus: boolean;
|
|
175
|
-
closeOnClickOutside: boolean;
|
|
176
|
-
onExitTransitionEnd: () => void;
|
|
177
|
-
onEnterTransitionEnd: () => void;
|
|
178
|
-
closeOnEscape: boolean;
|
|
179
|
-
returnFocus: boolean;
|
|
180
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
1
|
+
export declare const ModalBase: import("../..").MantineComponent<{
|
|
2
|
+
props: Omit<import("./ModalBase.types").ModalBaseProps, "rootRef">;
|
|
3
|
+
slots: import("./ModalBase.types").ModalBaseSlots;
|
|
4
|
+
ref: HTMLDivElement;
|
|
5
|
+
exposed: {
|
|
6
|
+
rootElement: Element | null;
|
|
7
|
+
};
|
|
8
|
+
element: "div";
|
|
9
|
+
}>;
|
|
10
|
+
export type { ModalBaseFactory, ModalBaseOwnProps, ModalBaseProps, ModalBaseSlots, } from './ModalBase.types';
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { VueRefTarget } from '@mantine-vue/hooks';
|
|
2
|
+
import type { VNodeChild } from 'vue';
|
|
3
|
+
import type { BoxProps, Factory } from '../../core';
|
|
4
|
+
export interface ModalBaseSlots {
|
|
5
|
+
/** Modal parts, usually `ModalBase.Overlay` and `ModalBase.Content`. */
|
|
6
|
+
default?: () => VNodeChild;
|
|
7
|
+
}
|
|
8
|
+
/** Props declared by `ModalBase` itself. See `ModalBaseProps` for the full public type. */
|
|
9
|
+
export interface ModalBaseOwnProps {
|
|
10
|
+
/** Receives the root DOM node. */
|
|
11
|
+
rootRef?: VueRefTarget<Element>;
|
|
12
|
+
/** Open state of the modal. */
|
|
13
|
+
opened: boolean;
|
|
14
|
+
/** Base `id` used to connect the content with its title and body. Generated when not set. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* If set, the modal stays mounted when closed and is hidden with CSS.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
keepMounted?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* If set, scroll is locked on the body element while the modal is open.
|
|
24
|
+
*
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
lockScroll?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* If set, focus is trapped inside the modal while it is open.
|
|
30
|
+
*
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
trapFocus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* If set, the modal is rendered inside a `Portal`.
|
|
36
|
+
*
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
withinPortal?: boolean;
|
|
40
|
+
/** Props passed down to the `Portal` when `withinPortal` is set. */
|
|
41
|
+
portalProps?: Record<string, any>;
|
|
42
|
+
/**
|
|
43
|
+
* If set, the modal is closed when the overlay is clicked.
|
|
44
|
+
*
|
|
45
|
+
* @default true
|
|
46
|
+
*/
|
|
47
|
+
closeOnClickOutside?: boolean;
|
|
48
|
+
/** Props passed down to the `Transition` used by the overlay and the content. */
|
|
49
|
+
transitionProps?: Record<string, any>;
|
|
50
|
+
/** Called after the exit transition of the content has finished. */
|
|
51
|
+
onExitTransitionEnd?: () => void;
|
|
52
|
+
/** Called after the enter transition of the content has finished. */
|
|
53
|
+
onEnterTransitionEnd?: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* If set, the modal is closed when the `Escape` key is pressed.
|
|
56
|
+
*
|
|
57
|
+
* @default true
|
|
58
|
+
*/
|
|
59
|
+
closeOnEscape?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* If set, focus returns to the last active element when the modal is closed.
|
|
62
|
+
*
|
|
63
|
+
* @default true
|
|
64
|
+
*/
|
|
65
|
+
returnFocus?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* `z-index` of the overlay and the content.
|
|
68
|
+
*
|
|
69
|
+
* @default getDefaultZIndex('modal')
|
|
70
|
+
*/
|
|
71
|
+
zIndex?: string | number;
|
|
72
|
+
/**
|
|
73
|
+
* Key of `theme.shadows` or any valid CSS value to set the content shadow.
|
|
74
|
+
*
|
|
75
|
+
* @default 'xl'
|
|
76
|
+
*/
|
|
77
|
+
shadow?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Key of `theme.spacing` or any valid CSS value to set the content padding.
|
|
80
|
+
*
|
|
81
|
+
* @default 'md'
|
|
82
|
+
*/
|
|
83
|
+
padding?: string | number;
|
|
84
|
+
/**
|
|
85
|
+
* If set, all Mantine classes are removed.
|
|
86
|
+
*
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
|
+
unstyled?: boolean;
|
|
90
|
+
}
|
|
91
|
+
export interface ModalBaseProps extends Omit<BoxProps, keyof ModalBaseOwnProps>, ModalBaseOwnProps {
|
|
92
|
+
}
|
|
93
|
+
export type ModalBaseFactory = Factory<{
|
|
94
|
+
props: Omit<ModalBaseProps, 'rootRef'>;
|
|
95
|
+
slots: ModalBaseSlots;
|
|
96
|
+
ref: HTMLDivElement;
|
|
97
|
+
exposed: {
|
|
98
|
+
rootElement: Element | null;
|
|
99
|
+
};
|
|
100
|
+
element: 'div';
|
|
101
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ModalBaseOwnProps, ModalBaseSlots } from './ModalBase.types';
|
|
2
|
+
type __VLS_Slots = ModalBaseSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<ModalBaseOwnProps, {
|
|
4
|
+
rootElement: import("vue").Ref<Element | null, Element | null>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<ModalBaseOwnProps> & Readonly<{
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ModalBaseBody: import("../..").
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export declare const ModalBaseBody: import("../..").MantineComponent<{
|
|
2
|
+
props: import("./ModalBaseBody.types").ModalBaseBodyProps;
|
|
3
|
+
slots: import("./ModalBaseBody.types").ModalBaseBodySlots;
|
|
4
|
+
element: "div";
|
|
5
|
+
}>;
|
|
6
|
+
export type { ModalBaseBodyProps, ModalBaseBodySlots, ModalBaseBodyFactory, } from './ModalBaseBody.types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, Factory } from '../../core';
|
|
3
|
+
/** Props accepted by `ModalBaseBody`. Native div attributes are forwarded to the root element. */
|
|
4
|
+
export interface ModalBaseBodyProps extends BoxProps {
|
|
5
|
+
/** Class applied to the modal body root. */
|
|
6
|
+
class?: any;
|
|
7
|
+
}
|
|
8
|
+
export interface ModalBaseBodySlots {
|
|
9
|
+
/** Modal body content. */
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export type ModalBaseBodyFactory = Factory<{
|
|
13
|
+
props: ModalBaseBodyProps;
|
|
14
|
+
slots: ModalBaseBodySlots;
|
|
15
|
+
element: 'div';
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModalBaseBodySlots } from './ModalBaseBody.types';
|
|
2
|
+
type __VLS_Slots = ModalBaseBodySlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
-
export declare const ModalBaseCloseButton:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export declare const ModalBaseCloseButton: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./ModalBaseCloseButton.types").ModalBaseCloseButtonOwnProps> & Readonly<{
|
|
3
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
click: (event: MouseEvent) => any;
|
|
6
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<import("./ModalBaseCloseButton.types").ModalBaseCloseButtonOwnProps> & Readonly<{
|
|
14
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, {}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("./ModalBaseCloseButton.types").ModalBaseCloseButtonOwnProps> & Readonly<{
|
|
20
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
click: (event: MouseEvent) => any;
|
|
23
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: import("./ModalBaseCloseButton.types").ModalBaseCloseButtonSlots;
|
|
25
|
+
});
|
|
26
|
+
export type { ModalBaseCloseButtonOwnProps, ModalBaseCloseButtonProps, ModalBaseCloseButtonSlots, } from './ModalBaseCloseButton.types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { CloseButtonProps } from '../CloseButton';
|
|
3
|
+
export interface ModalBaseCloseButtonOwnProps {
|
|
4
|
+
}
|
|
5
|
+
/** Full public props accepted by the close button rendered in a modal header. */
|
|
6
|
+
export interface ModalBaseCloseButtonProps extends Omit<CloseButtonProps, keyof ModalBaseCloseButtonOwnProps>, ModalBaseCloseButtonOwnProps {
|
|
7
|
+
}
|
|
8
|
+
export interface ModalBaseCloseButtonSlots {
|
|
9
|
+
/** Custom close button content. */
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
/** Custom close icon. */
|
|
12
|
+
icon?: () => VNodeChild;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModalBaseCloseButtonOwnProps, ModalBaseCloseButtonSlots } from './ModalBaseCloseButton.types';
|
|
2
|
+
type __VLS_Slots = ModalBaseCloseButtonSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<ModalBaseCloseButtonOwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
click: (event: MouseEvent) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<ModalBaseCloseButtonOwnProps> & Readonly<{
|
|
6
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,29 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
transitionProps: {
|
|
14
|
-
type: ObjectConstructor;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
innerProps: {
|
|
18
|
-
type: ObjectConstructor;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
transitionProps: Record<string, any>;
|
|
23
|
-
innerProps: Record<string, any>;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
25
|
-
export interface ModalBaseContentProps {
|
|
26
|
-
transitionProps?: Record<string, any>;
|
|
27
|
-
innerProps?: Record<string, any>;
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}
|
|
1
|
+
/** Transitioned, focus-trapped dialog surface shared by `Modal` and `Drawer`. */
|
|
2
|
+
export declare const ModalBaseContent: import("../..").MantineComponent<{
|
|
3
|
+
props: Omit<import("./ModalBaseContent.types").ModalBaseContentProps, "rootRef">;
|
|
4
|
+
slots: import("./ModalBaseContent.types").ModalBaseContentSlots;
|
|
5
|
+
ref: HTMLElement;
|
|
6
|
+
exposed: {
|
|
7
|
+
rootElement: Element | null;
|
|
8
|
+
};
|
|
9
|
+
element: "section";
|
|
10
|
+
}>;
|
|
11
|
+
export type { ModalBaseContentFactory, ModalBaseContentOwnProps, ModalBaseContentProps, ModalBaseContentSlots, } from './ModalBaseContent.types';
|