@mantine-vue/core 2.4.0 → 3.1.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 +21433 -16837
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +21423 -16829
- 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 -217
- 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 +62 -154
- 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 -314
- 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 -817
- 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 -111
- 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 -183
- 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 -372
- 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 -50
- 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 -124
- 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 -77
- 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 -217
- 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 -139
- 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 -69
- 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 -481
- 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 -948
- 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 -98
- 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 -282
- 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 -1090
- 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 -439
- 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 -106
- 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 -147
- 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 +504 -1108
- 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 -208
- 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 -229
- 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 -445
- 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 -326
- 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 -388
- 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 -98
- 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 -337
- 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 -740
- 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 -102
- 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 -157
- 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 -197
- 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 -211
- 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 -239
- 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 -334
- 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 -323
- 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 -567
- 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 -183
- 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 -194
- 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 -3
- 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 -75
- 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 -363
- 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 +3 -3
- package/lib/core/factory/with-box-props.d.ts +0 -18
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Primitive } from '../../core';
|
|
2
|
+
import type { PopoverProps } from '../Popover/Popover.types';
|
|
3
|
+
import type { ComboboxStore } from './use-combobox/use-combobox';
|
|
2
4
|
export interface ComboboxGenericItem<Value extends Primitive = string> {
|
|
3
5
|
value: Value;
|
|
4
6
|
disabled?: boolean;
|
|
@@ -41,3 +43,216 @@ export type OptionsFilter<Value extends Primitive = string> = (input: {
|
|
|
41
43
|
search: string;
|
|
42
44
|
limit: number;
|
|
43
45
|
}) => ComboboxParsedItem<Value>[];
|
|
46
|
+
export interface ComboboxSlots {
|
|
47
|
+
/** Content of the component. */
|
|
48
|
+
default?: () => import('vue').VNodeChild;
|
|
49
|
+
}
|
|
50
|
+
export type ComboboxStylesNames = 'options' | 'dropdown' | 'option' | 'search' | 'empty' | 'footer' | 'header' | 'group' | 'groupLabel';
|
|
51
|
+
export interface ComboboxOptionProps {
|
|
52
|
+
/** Value of the option, passed to `onOptionSubmit` when it is selected. */
|
|
53
|
+
value: Primitive;
|
|
54
|
+
/**
|
|
55
|
+
* If set, the option is highlighted as the active one.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
active?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* If set, the option cannot be selected.
|
|
62
|
+
*
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
disabled?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* If set, the option is marked selected for assistive technology.
|
|
68
|
+
*
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
selected?: boolean;
|
|
72
|
+
/** `id` of the option. Generated automatically when not set. */
|
|
73
|
+
id?: string;
|
|
74
|
+
/** Any other prop is forwarded to the option element. */
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Props of `Combobox`.
|
|
79
|
+
*
|
|
80
|
+
* `Combobox` renders a `Popover`, so every `Popover` prop is accepted as well and
|
|
81
|
+
* forwarded through the fallthrough attributes.
|
|
82
|
+
*/
|
|
83
|
+
export interface ComboboxProps extends PopoverProps {
|
|
84
|
+
/** Store returned by `useCombobox`. An internal one is created when not set. */
|
|
85
|
+
store?: ComboboxStore;
|
|
86
|
+
/** Called with the option value and its props when an option is selected. */
|
|
87
|
+
onOptionSubmit?: (value: string, props: ComboboxOptionProps) => void;
|
|
88
|
+
/**
|
|
89
|
+
* Controls the size of the options and the search field.
|
|
90
|
+
*
|
|
91
|
+
* @default 'sm'
|
|
92
|
+
*/
|
|
93
|
+
size?: string;
|
|
94
|
+
/** Key of `theme.spacing` or any valid CSS value to set the dropdown padding. */
|
|
95
|
+
dropdownPadding?: string | number;
|
|
96
|
+
/**
|
|
97
|
+
* If set, the highlighted option is reset when the pointer moves over an option, so
|
|
98
|
+
* the keyboard and pointer selections do not fight each other.
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
102
|
+
resetSelectionOnOptionHover?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* If set, the dropdown does not open.
|
|
105
|
+
*
|
|
106
|
+
* @default false
|
|
107
|
+
*/
|
|
108
|
+
readOnly?: boolean;
|
|
109
|
+
/** Set to `viewport` to size the dropdown against the viewport rather than a fixed height. */
|
|
110
|
+
floatingHeight?: 'viewport';
|
|
111
|
+
/** Static selector the Styles API classes are generated from. Used by components built on `Combobox`. */
|
|
112
|
+
__staticSelector?: string;
|
|
113
|
+
}
|
|
114
|
+
/** Props shared by `Combobox.Target` and `Combobox.EventsTarget`. */
|
|
115
|
+
export interface ComboboxTargetProps {
|
|
116
|
+
/**
|
|
117
|
+
* Name of the prop the target ref is passed to on the child.
|
|
118
|
+
*
|
|
119
|
+
* @default 'ref'
|
|
120
|
+
*/
|
|
121
|
+
refProp?: string;
|
|
122
|
+
/**
|
|
123
|
+
* If set, the arrow keys and `Enter` move through and submit the options.
|
|
124
|
+
*
|
|
125
|
+
* @default true
|
|
126
|
+
*/
|
|
127
|
+
withKeyboardNavigation?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* If set, the combobox ARIA attributes are added to the target.
|
|
130
|
+
*
|
|
131
|
+
* @default true
|
|
132
|
+
*/
|
|
133
|
+
withAriaAttributes?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* If set, `aria-expanded` reflects the dropdown state.
|
|
136
|
+
*
|
|
137
|
+
* @default false
|
|
138
|
+
*/
|
|
139
|
+
withExpandedAttribute?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Kind of element the target is, which decides the ARIA role and the key handling.
|
|
142
|
+
*
|
|
143
|
+
* @default 'input'
|
|
144
|
+
*/
|
|
145
|
+
targetType?: 'button' | 'input';
|
|
146
|
+
/**
|
|
147
|
+
* `autocomplete` attribute of the target.
|
|
148
|
+
*
|
|
149
|
+
* @default 'off'
|
|
150
|
+
*/
|
|
151
|
+
autoComplete?: string;
|
|
152
|
+
/** Any other prop is merged into the cloned child. */
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
}
|
|
155
|
+
export type ComboboxEventsTargetProps = ComboboxTargetProps;
|
|
156
|
+
/** Props of `Combobox.DropdownTarget`. */
|
|
157
|
+
export interface ComboboxDropdownTargetProps {
|
|
158
|
+
/**
|
|
159
|
+
* Name of the prop the target ref is passed to on the child.
|
|
160
|
+
*
|
|
161
|
+
* @default 'ref'
|
|
162
|
+
*/
|
|
163
|
+
refProp?: string;
|
|
164
|
+
/** Any other prop is forwarded to `Popover.Target`. */
|
|
165
|
+
[key: string]: any;
|
|
166
|
+
}
|
|
167
|
+
/** Props of `Combobox.Dropdown`. */
|
|
168
|
+
export interface ComboboxDropdownProps {
|
|
169
|
+
/**
|
|
170
|
+
* If set, the dropdown is hidden without unmounting it.
|
|
171
|
+
*
|
|
172
|
+
* @default false
|
|
173
|
+
*/
|
|
174
|
+
hidden?: boolean;
|
|
175
|
+
/** Any other prop is forwarded to `Popover.Dropdown`. */
|
|
176
|
+
[key: string]: any;
|
|
177
|
+
}
|
|
178
|
+
/** Props of `Combobox.Options`. */
|
|
179
|
+
export interface ComboboxOptionsProps {
|
|
180
|
+
/** `id` of the option list. Generated automatically when not set. */
|
|
181
|
+
id?: string;
|
|
182
|
+
/** `id` of the element that labels the option list. */
|
|
183
|
+
labelledBy?: string;
|
|
184
|
+
/** Any other prop is forwarded to the list element. */
|
|
185
|
+
[key: string]: any;
|
|
186
|
+
}
|
|
187
|
+
/** Props of `Combobox.Search`. */
|
|
188
|
+
export interface ComboboxSearchProps {
|
|
189
|
+
/** Search value, bound with `v-model`. */
|
|
190
|
+
modelValue?: string;
|
|
191
|
+
/** Uncontrolled initial search value. */
|
|
192
|
+
defaultValue?: string;
|
|
193
|
+
/**
|
|
194
|
+
* If set, the combobox ARIA attributes are added to the field.
|
|
195
|
+
*
|
|
196
|
+
* @default true
|
|
197
|
+
*/
|
|
198
|
+
withAriaAttributes?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* If set, the arrow keys and `Enter` move through and submit the options.
|
|
201
|
+
*
|
|
202
|
+
* @default true
|
|
203
|
+
*/
|
|
204
|
+
withKeyboardNavigation?: boolean;
|
|
205
|
+
/** Controls the size of the field. Inherits the `Combobox` size when not set. */
|
|
206
|
+
size?: string;
|
|
207
|
+
/** Any other prop is forwarded to the underlying `Input`. */
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
}
|
|
210
|
+
/** Props of `Combobox.Empty`, rendered when no option matched. */
|
|
211
|
+
export interface ComboboxEmptyProps {
|
|
212
|
+
[key: string]: any;
|
|
213
|
+
}
|
|
214
|
+
/** Props of `Combobox.Header`. */
|
|
215
|
+
export interface ComboboxHeaderProps {
|
|
216
|
+
[key: string]: any;
|
|
217
|
+
}
|
|
218
|
+
/** Props of `Combobox.Footer`. */
|
|
219
|
+
export interface ComboboxFooterProps {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
}
|
|
222
|
+
/** Props of `Combobox.Group`. */
|
|
223
|
+
export interface ComboboxGroupProps {
|
|
224
|
+
/** Label of the group. No label element is rendered when not set. */
|
|
225
|
+
label?: any;
|
|
226
|
+
/** `id` of the label. Generated automatically when not set. */
|
|
227
|
+
id?: string;
|
|
228
|
+
/** Any other prop is forwarded to the group element. */
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
}
|
|
231
|
+
/** Props of `Combobox.Chevron`. */
|
|
232
|
+
export interface ComboboxChevronProps {
|
|
233
|
+
/** Controls the size of the chevron. */
|
|
234
|
+
size?: string;
|
|
235
|
+
/** Error state of the input the chevron belongs to. Applies error styles when truthy. */
|
|
236
|
+
error?: any;
|
|
237
|
+
/** Key of `theme.colors` or any valid CSS color. */
|
|
238
|
+
color?: string;
|
|
239
|
+
/** Any other prop is forwarded to the svg element. */
|
|
240
|
+
[key: string]: any;
|
|
241
|
+
}
|
|
242
|
+
/** Props of `Combobox.ClearButton`. */
|
|
243
|
+
export interface ComboboxClearButtonProps {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
}
|
|
246
|
+
/** Props of `Combobox.HiddenInput`, which carries the value in a form. */
|
|
247
|
+
export interface ComboboxHiddenInputProps {
|
|
248
|
+
/** Value, or values in multiple mode. */
|
|
249
|
+
value: Primitive | Primitive[] | null;
|
|
250
|
+
/**
|
|
251
|
+
* Separator used to join several values.
|
|
252
|
+
*
|
|
253
|
+
* @default ','
|
|
254
|
+
*/
|
|
255
|
+
valuesDivider?: string;
|
|
256
|
+
/** Any other prop is forwarded to the input element. */
|
|
257
|
+
[key: string]: any;
|
|
258
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComboboxOptionProps, ComboboxProps, ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<ComboboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"option-submit": (args_0: string, args_1: ComboboxOptionProps) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<ComboboxProps> & Readonly<{
|
|
6
|
+
"onOption-submit"?: ((args_0: string, args_1: ComboboxOptionProps) => 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,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComboboxSlots } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, 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
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
change: (value: string) => any;
|
|
3
|
+
"update:modelValue": (value: string) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -1,123 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type { ComboboxLikeRenderOptionInput, ComboboxParsedItem, OptionsFilter } from '../Combobox.types';
|
|
4
|
-
export type OptionsData = ComboboxParsedItem<Primitive>[];
|
|
5
|
-
export interface OptionsDropdownProps {
|
|
6
|
-
data: OptionsData;
|
|
7
|
-
filter?: OptionsFilter<Primitive>;
|
|
8
|
-
search?: string;
|
|
9
|
-
limit?: number;
|
|
10
|
-
withScrollArea?: boolean;
|
|
11
|
-
maxDropdownHeight?: number | string;
|
|
12
|
-
floatingHeight?: 'viewport';
|
|
13
|
-
hidden?: boolean;
|
|
14
|
-
hiddenWhenEmpty?: boolean;
|
|
15
|
-
filterOptions?: boolean;
|
|
16
|
-
withCheckIcon?: boolean;
|
|
17
|
-
withAlignedLabels?: boolean;
|
|
18
|
-
value?: Primitive | Primitive[] | null;
|
|
19
|
-
checkIconPosition?: 'left' | 'right';
|
|
20
|
-
nothingFoundMessage?: any;
|
|
21
|
-
unstyled?: boolean;
|
|
22
|
-
labelId?: string;
|
|
23
|
-
'aria-label'?: string;
|
|
24
|
-
renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => any;
|
|
25
|
-
scrollAreaProps?: Record<string, any>;
|
|
26
|
-
}
|
|
27
|
-
export interface OptionsDropdownSlots {
|
|
28
|
-
renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => VNodeChild;
|
|
29
|
-
nothingFound?: () => VNodeChild;
|
|
30
|
-
nothingFoundMessage?: () => VNodeChild;
|
|
31
|
-
}
|
|
32
|
-
export declare const OptionsDropdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
33
|
-
data: {
|
|
34
|
-
type: PropType<OptionsData>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
filter: PropType<OptionsFilter<Primitive>>;
|
|
38
|
-
search: StringConstructor;
|
|
39
|
-
limit: NumberConstructor;
|
|
40
|
-
withScrollArea: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
maxDropdownHeight: (NumberConstructor | StringConstructor)[];
|
|
45
|
-
floatingHeight: PropType<"viewport">;
|
|
46
|
-
hidden: BooleanConstructor;
|
|
47
|
-
hiddenWhenEmpty: BooleanConstructor;
|
|
48
|
-
filterOptions: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
withCheckIcon: BooleanConstructor;
|
|
53
|
-
withAlignedLabels: BooleanConstructor;
|
|
54
|
-
value: {
|
|
55
|
-
type: PropType<any>;
|
|
56
|
-
default: null;
|
|
57
|
-
};
|
|
58
|
-
checkIconPosition: {
|
|
59
|
-
type: PropType<"left" | "right">;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
nothingFoundMessage: {
|
|
63
|
-
type: PropType<any>;
|
|
64
|
-
default: undefined;
|
|
65
|
-
};
|
|
66
|
-
unstyled: BooleanConstructor;
|
|
67
|
-
labelId: StringConstructor;
|
|
68
|
-
ariaLabel: StringConstructor;
|
|
69
|
-
renderOption: PropType<any>;
|
|
70
|
-
scrollAreaProps: ObjectConstructor;
|
|
71
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
-
data: {
|
|
75
|
-
type: PropType<OptionsData>;
|
|
76
|
-
required: true;
|
|
77
|
-
};
|
|
78
|
-
filter: PropType<OptionsFilter<Primitive>>;
|
|
79
|
-
search: StringConstructor;
|
|
80
|
-
limit: NumberConstructor;
|
|
81
|
-
withScrollArea: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
maxDropdownHeight: (NumberConstructor | StringConstructor)[];
|
|
86
|
-
floatingHeight: PropType<"viewport">;
|
|
87
|
-
hidden: BooleanConstructor;
|
|
88
|
-
hiddenWhenEmpty: BooleanConstructor;
|
|
89
|
-
filterOptions: {
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
default: boolean;
|
|
92
|
-
};
|
|
93
|
-
withCheckIcon: BooleanConstructor;
|
|
94
|
-
withAlignedLabels: BooleanConstructor;
|
|
95
|
-
value: {
|
|
96
|
-
type: PropType<any>;
|
|
97
|
-
default: null;
|
|
98
|
-
};
|
|
99
|
-
checkIconPosition: {
|
|
100
|
-
type: PropType<"left" | "right">;
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
nothingFoundMessage: {
|
|
104
|
-
type: PropType<any>;
|
|
105
|
-
default: undefined;
|
|
106
|
-
};
|
|
107
|
-
unstyled: BooleanConstructor;
|
|
108
|
-
labelId: StringConstructor;
|
|
109
|
-
ariaLabel: StringConstructor;
|
|
110
|
-
renderOption: PropType<any>;
|
|
111
|
-
scrollAreaProps: ObjectConstructor;
|
|
112
|
-
}>> & Readonly<{}>, {
|
|
113
|
-
value: any;
|
|
114
|
-
hidden: boolean;
|
|
115
|
-
unstyled: boolean;
|
|
116
|
-
hiddenWhenEmpty: boolean;
|
|
117
|
-
withCheckIcon: boolean;
|
|
118
|
-
withAlignedLabels: boolean;
|
|
119
|
-
withScrollArea: boolean;
|
|
120
|
-
filterOptions: boolean;
|
|
121
|
-
checkIconPosition: "left" | "right";
|
|
122
|
-
nothingFoundMessage: any;
|
|
123
|
-
}, SlotsType<OptionsDropdownSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export { default as OptionsDropdown } from './OptionsDropdown.vue';
|
|
2
|
+
export type { OptionsData, OptionsDropdownProps, OptionsDropdownSlots, } from './OptionsDropdown.types';
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { MantineNode, Primitive } from '../../../core';
|
|
3
|
+
import type { ComboboxLikeRenderOptionInput, ComboboxParsedItem, OptionsFilter } from '../Combobox.types';
|
|
4
|
+
export type OptionsData = ComboboxParsedItem<Primitive>[];
|
|
5
|
+
export interface OptionsDropdownSlots {
|
|
6
|
+
/** Custom markup for a dropdown option. Takes precedence over the `renderOption` prop. */
|
|
7
|
+
renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => VNodeChild;
|
|
8
|
+
/** Content rendered when no option matches the current search. */
|
|
9
|
+
nothingFound?: () => VNodeChild;
|
|
10
|
+
/** Alias of the `nothingFound` slot. Takes precedence over it. */
|
|
11
|
+
nothingFoundMessage?: () => VNodeChild;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Props of `OptionsDropdown`.
|
|
15
|
+
*
|
|
16
|
+
* This component renders the shared dropdown used by `Select`, `MultiSelect`,
|
|
17
|
+
* `Autocomplete` and `TagsInput`. It is internal to those components.
|
|
18
|
+
*/
|
|
19
|
+
export interface OptionsDropdownProps {
|
|
20
|
+
/** Parsed options, already grouped. */
|
|
21
|
+
data: OptionsData;
|
|
22
|
+
/** Filters the options based on the current search. Uses a case-insensitive match when not set. */
|
|
23
|
+
filter?: OptionsFilter<Primitive>;
|
|
24
|
+
/** Current search value. Filtering is skipped entirely when this is not a string. */
|
|
25
|
+
search?: string;
|
|
26
|
+
/** Maximum number of options rendered at a time. All options are rendered when not set. */
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* If set, the options are rendered inside a `ScrollArea.Autosize`.
|
|
30
|
+
*
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
withScrollArea?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* `max-height` of the dropdown. Only used when `withScrollArea` is set.
|
|
36
|
+
*
|
|
37
|
+
* @default 220
|
|
38
|
+
*/
|
|
39
|
+
maxDropdownHeight?: number | string;
|
|
40
|
+
/** Set to `viewport` to size the dropdown against the viewport instead of `maxDropdownHeight`. */
|
|
41
|
+
floatingHeight?: 'viewport';
|
|
42
|
+
/**
|
|
43
|
+
* If set, the dropdown is hidden.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
hidden?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* If set, the dropdown is hidden when no option is left after filtering.
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
hiddenWhenEmpty?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* If set, the options are filtered by `search`. Turn off to filter them yourself while
|
|
56
|
+
* still showing the search value in the input.
|
|
57
|
+
*
|
|
58
|
+
* @default true
|
|
59
|
+
*/
|
|
60
|
+
filterOptions?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* If set, a check icon is rendered next to the selected options.
|
|
63
|
+
*
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
withCheckIcon?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* If set, unselected options reserve the space of the check icon so all labels line up.
|
|
69
|
+
*
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
withAlignedLabels?: boolean;
|
|
73
|
+
/** Selected value, or values in multiple mode. Used to mark the checked options. */
|
|
74
|
+
value?: Primitive | Primitive[] | null;
|
|
75
|
+
/**
|
|
76
|
+
* Side of the option the check icon is rendered on.
|
|
77
|
+
*
|
|
78
|
+
* @default 'left'
|
|
79
|
+
*/
|
|
80
|
+
checkIconPosition?: 'left' | 'right';
|
|
81
|
+
/**
|
|
82
|
+
* Content rendered when no option matches the current search.
|
|
83
|
+
* Can also be set with the `nothingFound` slot – the slot takes precedence.
|
|
84
|
+
*/
|
|
85
|
+
nothingFoundMessage?: MantineNode;
|
|
86
|
+
/**
|
|
87
|
+
* If set, all Mantine classes are removed.
|
|
88
|
+
*
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
91
|
+
unstyled?: boolean;
|
|
92
|
+
/** `id` of the element that labels the option list. */
|
|
93
|
+
labelId?: string;
|
|
94
|
+
/** `aria-label` of the option list, used when there is no visible label. */
|
|
95
|
+
ariaLabel?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Custom markup for a dropdown option.
|
|
98
|
+
* Can also be set with the scoped `renderOption` slot – the slot takes precedence.
|
|
99
|
+
*/
|
|
100
|
+
renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => VNodeChild;
|
|
101
|
+
/** Props passed down to the `ScrollArea.Autosize` of the dropdown. */
|
|
102
|
+
scrollAreaProps?: Record<string, any>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OptionsDropdownSlots } from './OptionsDropdown.types';
|
|
2
|
+
import { type VNodeChild } from 'vue';
|
|
3
|
+
import type { Primitive } from '../../../core';
|
|
4
|
+
import type { ComboboxParsedItem } from '../Combobox.types';
|
|
5
|
+
import type { OptionsDropdownProps } from './OptionsDropdown.types';
|
|
6
|
+
/** Single mode compares by value, multiple mode by membership. */
|
|
7
|
+
declare const checked: (value: Primitive | Primitive[] | null | undefined, option: Primitive) => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Renders one parsed item, recursing into groups.
|
|
10
|
+
*
|
|
11
|
+
* Kept as a plain function rather than a component: it walks an arbitrarily nested
|
|
12
|
+
* structure and has to be able to return either a group or an option.
|
|
13
|
+
*/
|
|
14
|
+
declare function renderItem(item: ComboboxParsedItem<Primitive>, props: OptionsDropdownProps): VNodeChild;
|
|
15
|
+
export { checked, renderItem };
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<OptionsDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OptionsDropdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, OptionsDropdownSlots>;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* The targets attach themselves to their child by cloning it, so there must be exactly
|
|
4
|
+
* one real child.
|
|
5
|
+
*/
|
|
6
|
+
export declare function childrenOne(slots: any, name: string): VNode;
|
|
7
|
+
/**
|
|
8
|
+
* The option variables are emitted on both selectors: `options` for a dropdown rendered
|
|
9
|
+
* inline, `dropdown` for the portalled one, which is not a descendant of `options`.
|
|
10
|
+
*/
|
|
11
|
+
export declare const varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
12
|
+
export declare const chevronVarsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds `Combobox.Empty`, `Combobox.Header` and `Combobox.Footer`.
|
|
3
|
+
*
|
|
4
|
+
* Deliberately a factory rather than three identical SFCs: each is a `Box` that reads
|
|
5
|
+
* one Styles API selector and renders its children, differing only in the selector name.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createComboboxSection(name: string, selector: string): import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|