@mantine/core 9.0.0 → 9.0.1
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/components/Accordion/Accordion.cjs.map +1 -1
- package/cjs/components/Accordion/Accordion.module.cjs.map +1 -1
- package/cjs/components/ActionIcon/ActionIcon.cjs.map +1 -1
- package/cjs/components/Affix/Affix.cjs.map +1 -1
- package/cjs/components/Alert/Alert.cjs.map +1 -1
- package/cjs/components/Anchor/Anchor.cjs.map +1 -1
- package/cjs/components/AngleSlider/AngleSlider.cjs.map +1 -1
- package/cjs/components/AppShell/AppShell.cjs.map +1 -1
- package/cjs/components/AspectRatio/AspectRatio.cjs.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.cjs +1 -1
- package/cjs/components/Autocomplete/Autocomplete.cjs.map +1 -1
- package/cjs/components/Avatar/Avatar.cjs.map +1 -1
- package/cjs/components/BackgroundImage/BackgroundImage.cjs.map +1 -1
- package/cjs/components/Badge/Badge.cjs.map +1 -1
- package/cjs/components/Badge/Badge.module.cjs.map +1 -1
- package/cjs/components/Blockquote/Blockquote.cjs.map +1 -1
- package/cjs/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
- package/cjs/components/Burger/Burger.cjs.map +1 -1
- package/cjs/components/Button/Button.cjs.map +1 -1
- package/cjs/components/Card/Card.cjs.map +1 -1
- package/cjs/components/Center/Center.cjs.map +1 -1
- package/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
- package/cjs/components/Checkbox/CheckboxGroup/CheckboxGroup.cjs.map +1 -1
- package/cjs/components/Chip/Chip.cjs.map +1 -1
- package/cjs/components/Chip/ChipGroup/ChipGroup.cjs.map +1 -1
- package/cjs/components/CloseButton/CloseButton.cjs.map +1 -1
- package/cjs/components/Code/Code.cjs.map +1 -1
- package/cjs/components/Collapse/Collapse.cjs.map +1 -1
- package/cjs/components/ColorInput/ColorInput.cjs.map +1 -1
- package/cjs/components/ColorPicker/AlphaSlider/AlphaSlider.cjs.map +1 -1
- package/cjs/components/ColorPicker/ColorPicker.cjs.map +1 -1
- package/cjs/components/ColorPicker/HueSlider/HueSlider.cjs.map +1 -1
- package/cjs/components/ColorSwatch/ColorSwatch.cjs.map +1 -1
- package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.cjs +1 -0
- package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.cjs.map +1 -1
- package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.cjs.map +1 -1
- package/cjs/components/Container/Container.cjs.map +1 -1
- package/cjs/components/Dialog/Dialog.cjs.map +1 -1
- package/cjs/components/Divider/Divider.cjs.map +1 -1
- package/cjs/components/Fieldset/Fieldset.cjs.map +1 -1
- package/cjs/components/FileButton/FileButton.cjs.map +1 -1
- package/cjs/components/FileInput/FileInput.cjs.map +1 -1
- package/cjs/components/Flex/Flex.cjs.map +1 -1
- package/cjs/components/FloatingIndicator/FloatingIndicator.cjs.map +1 -1
- package/cjs/components/FloatingWindow/FloatingWindow.cjs.map +1 -1
- package/cjs/components/Grid/Grid.cjs.map +1 -1
- package/cjs/components/Group/Group.cjs.map +1 -1
- package/cjs/components/Highlight/Highlight.cjs.map +1 -1
- package/cjs/components/Image/Image.cjs.map +1 -1
- package/cjs/components/Indicator/Indicator.cjs.map +1 -1
- package/cjs/components/Input/Input.cjs +3 -2
- package/cjs/components/Input/Input.cjs.map +1 -1
- package/cjs/components/InputBase/InputBase.cjs.map +1 -1
- package/cjs/components/JsonInput/JsonInput.cjs.map +1 -1
- package/cjs/components/Kbd/Kbd.cjs.map +1 -1
- package/cjs/components/List/List.cjs.map +1 -1
- package/cjs/components/Loader/Loader.cjs.map +1 -1
- package/cjs/components/LoadingOverlay/LoadingOverlay.cjs +1 -0
- package/cjs/components/LoadingOverlay/LoadingOverlay.cjs.map +1 -1
- package/cjs/components/Mark/Mark.cjs.map +1 -1
- package/cjs/components/Marquee/Marquee.cjs.map +1 -1
- package/cjs/components/Menu/Menu.cjs.map +1 -1
- package/cjs/components/Modal/Modal.cjs.map +1 -1
- package/cjs/components/MultiSelect/MultiSelect.cjs +3 -1
- package/cjs/components/MultiSelect/MultiSelect.cjs.map +1 -1
- package/cjs/components/NativeSelect/NativeSelect.cjs +4 -1
- package/cjs/components/NativeSelect/NativeSelect.cjs.map +1 -1
- package/cjs/components/NavLink/NavLink.cjs.map +1 -1
- package/cjs/components/Notification/Notification.cjs.map +1 -1
- package/cjs/components/NumberInput/NumberInput.cjs +1 -0
- package/cjs/components/NumberInput/NumberInput.cjs.map +1 -1
- package/cjs/components/OverflowList/OverflowList.cjs.map +1 -1
- package/cjs/components/Overlay/Overlay.cjs.map +1 -1
- package/cjs/components/Pagination/Pagination.cjs.map +1 -1
- package/cjs/components/Paper/Paper.cjs.map +1 -1
- package/cjs/components/PasswordInput/PasswordInput.cjs +4 -1
- package/cjs/components/PasswordInput/PasswordInput.cjs.map +1 -1
- package/cjs/components/Pill/Pill.cjs.map +1 -1
- package/cjs/components/PillsInput/PillsInput.cjs.map +1 -1
- package/cjs/components/PinInput/PinInput.cjs.map +1 -1
- package/cjs/components/Popover/Popover.cjs +9 -0
- package/cjs/components/Popover/Popover.cjs.map +1 -1
- package/cjs/components/Portal/OptionalPortal.cjs.map +1 -1
- package/cjs/components/Portal/Portal.cjs.map +1 -1
- package/cjs/components/Progress/Progress.cjs.map +1 -1
- package/cjs/components/Radio/Radio.cjs.map +1 -1
- package/cjs/components/Radio/RadioGroup/RadioGroup.cjs.map +1 -1
- package/cjs/components/Rating/Rating.cjs.map +1 -1
- package/cjs/components/RingProgress/RingProgress.cjs +1 -0
- package/cjs/components/RingProgress/RingProgress.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollArea.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.cjs.map +1 -1
- package/cjs/components/Scroller/Scroller.cjs.map +1 -1
- package/cjs/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
- package/cjs/components/Select/Select.cjs +1 -0
- package/cjs/components/Select/Select.cjs.map +1 -1
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs +1 -2
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs.map +1 -1
- package/cjs/components/SimpleGrid/SimpleGrid.cjs.map +1 -1
- package/cjs/components/Skeleton/Skeleton.cjs.map +1 -1
- package/cjs/components/Slider/RangeSlider/RangeSlider.cjs.map +1 -1
- package/cjs/components/Slider/Slider/Slider.cjs.map +1 -1
- package/cjs/components/Slider/Slider.module.cjs.map +1 -1
- package/cjs/components/Space/Space.cjs.map +1 -1
- package/cjs/components/Spoiler/Spoiler.cjs.map +1 -1
- package/cjs/components/Stack/Stack.cjs.map +1 -1
- package/cjs/components/Stepper/Stepper.cjs.map +1 -1
- package/cjs/components/Switch/Switch.cjs.map +1 -1
- package/cjs/components/Switch/SwitchGroup/SwitchGroup.cjs.map +1 -1
- package/cjs/components/Table/Table.cjs.map +1 -1
- package/cjs/components/TableOfContents/TableOfContents.cjs.map +1 -1
- package/cjs/components/Tabs/Tabs.cjs.map +1 -1
- package/cjs/components/TagsInput/TagsInput.cjs +3 -1
- package/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
- package/cjs/components/Text/Text.cjs.map +1 -1
- package/cjs/components/TextInput/TextInput.cjs.map +1 -1
- package/cjs/components/Textarea/Textarea.cjs.map +1 -1
- package/cjs/components/ThemeIcon/ThemeIcon.cjs.map +1 -1
- package/cjs/components/Timeline/Timeline.cjs.map +1 -1
- package/cjs/components/Title/Title.cjs.map +1 -1
- package/cjs/components/Tooltip/Tooltip.cjs.map +1 -1
- package/cjs/components/Tree/Tree.cjs.map +1 -1
- package/cjs/components/Typography/Typography.cjs.map +1 -1
- package/cjs/components/UnstyledButton/UnstyledButton.cjs.map +1 -1
- package/cjs/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
- package/cjs/core/MantineProvider/color-scheme-managers/local-storage-manager.cjs.map +1 -1
- package/cjs/core/utils/find-element-ancestor/find-element-ancestor.cjs.map +1 -1
- package/esm/components/Accordion/Accordion.mjs.map +1 -1
- package/esm/components/Accordion/Accordion.module.mjs.map +1 -1
- package/esm/components/ActionIcon/ActionIcon.mjs.map +1 -1
- package/esm/components/Affix/Affix.mjs.map +1 -1
- package/esm/components/Alert/Alert.mjs.map +1 -1
- package/esm/components/Anchor/Anchor.mjs.map +1 -1
- package/esm/components/AngleSlider/AngleSlider.mjs.map +1 -1
- package/esm/components/AppShell/AppShell.mjs.map +1 -1
- package/esm/components/AspectRatio/AspectRatio.mjs.map +1 -1
- package/esm/components/Autocomplete/Autocomplete.mjs +1 -1
- package/esm/components/Autocomplete/Autocomplete.mjs.map +1 -1
- package/esm/components/Avatar/Avatar.mjs.map +1 -1
- package/esm/components/BackgroundImage/BackgroundImage.mjs.map +1 -1
- package/esm/components/Badge/Badge.mjs.map +1 -1
- package/esm/components/Badge/Badge.module.mjs.map +1 -1
- package/esm/components/Blockquote/Blockquote.mjs.map +1 -1
- package/esm/components/Breadcrumbs/Breadcrumbs.mjs.map +1 -1
- package/esm/components/Burger/Burger.mjs.map +1 -1
- package/esm/components/Button/Button.mjs.map +1 -1
- package/esm/components/Card/Card.mjs.map +1 -1
- package/esm/components/Center/Center.mjs.map +1 -1
- package/esm/components/Checkbox/Checkbox.mjs.map +1 -1
- package/esm/components/Checkbox/CheckboxGroup/CheckboxGroup.mjs.map +1 -1
- package/esm/components/Chip/Chip.mjs.map +1 -1
- package/esm/components/Chip/ChipGroup/ChipGroup.mjs.map +1 -1
- package/esm/components/CloseButton/CloseButton.mjs.map +1 -1
- package/esm/components/Code/Code.mjs.map +1 -1
- package/esm/components/Collapse/Collapse.mjs.map +1 -1
- package/esm/components/ColorInput/ColorInput.mjs.map +1 -1
- package/esm/components/ColorPicker/AlphaSlider/AlphaSlider.mjs.map +1 -1
- package/esm/components/ColorPicker/ColorPicker.mjs.map +1 -1
- package/esm/components/ColorPicker/HueSlider/HueSlider.mjs.map +1 -1
- package/esm/components/ColorSwatch/ColorSwatch.mjs.map +1 -1
- package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.mjs +1 -0
- package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.mjs.map +1 -1
- package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.mjs.map +1 -1
- package/esm/components/Container/Container.mjs.map +1 -1
- package/esm/components/Dialog/Dialog.mjs.map +1 -1
- package/esm/components/Divider/Divider.mjs.map +1 -1
- package/esm/components/Fieldset/Fieldset.mjs.map +1 -1
- package/esm/components/FileButton/FileButton.mjs.map +1 -1
- package/esm/components/FileInput/FileInput.mjs.map +1 -1
- package/esm/components/Flex/Flex.mjs.map +1 -1
- package/esm/components/FloatingIndicator/FloatingIndicator.mjs.map +1 -1
- package/esm/components/FloatingWindow/FloatingWindow.mjs.map +1 -1
- package/esm/components/Grid/Grid.mjs.map +1 -1
- package/esm/components/Group/Group.mjs.map +1 -1
- package/esm/components/Highlight/Highlight.mjs.map +1 -1
- package/esm/components/Image/Image.mjs.map +1 -1
- package/esm/components/Indicator/Indicator.mjs.map +1 -1
- package/esm/components/Input/Input.mjs +3 -2
- package/esm/components/Input/Input.mjs.map +1 -1
- package/esm/components/InputBase/InputBase.mjs.map +1 -1
- package/esm/components/JsonInput/JsonInput.mjs.map +1 -1
- package/esm/components/Kbd/Kbd.mjs.map +1 -1
- package/esm/components/List/List.mjs.map +1 -1
- package/esm/components/Loader/Loader.mjs.map +1 -1
- package/esm/components/LoadingOverlay/LoadingOverlay.mjs +1 -0
- package/esm/components/LoadingOverlay/LoadingOverlay.mjs.map +1 -1
- package/esm/components/Mark/Mark.mjs.map +1 -1
- package/esm/components/Marquee/Marquee.mjs.map +1 -1
- package/esm/components/Menu/Menu.mjs.map +1 -1
- package/esm/components/Modal/Modal.mjs.map +1 -1
- package/esm/components/MultiSelect/MultiSelect.mjs +3 -1
- package/esm/components/MultiSelect/MultiSelect.mjs.map +1 -1
- package/esm/components/NativeSelect/NativeSelect.mjs +4 -1
- package/esm/components/NativeSelect/NativeSelect.mjs.map +1 -1
- package/esm/components/NavLink/NavLink.mjs.map +1 -1
- package/esm/components/Notification/Notification.mjs.map +1 -1
- package/esm/components/NumberInput/NumberInput.mjs +1 -0
- package/esm/components/NumberInput/NumberInput.mjs.map +1 -1
- package/esm/components/OverflowList/OverflowList.mjs.map +1 -1
- package/esm/components/Overlay/Overlay.mjs.map +1 -1
- package/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/esm/components/Paper/Paper.mjs.map +1 -1
- package/esm/components/PasswordInput/PasswordInput.mjs +4 -1
- package/esm/components/PasswordInput/PasswordInput.mjs.map +1 -1
- package/esm/components/Pill/Pill.mjs.map +1 -1
- package/esm/components/PillsInput/PillsInput.mjs.map +1 -1
- package/esm/components/PinInput/PinInput.mjs.map +1 -1
- package/esm/components/Popover/Popover.mjs +9 -0
- package/esm/components/Popover/Popover.mjs.map +1 -1
- package/esm/components/Portal/OptionalPortal.mjs.map +1 -1
- package/esm/components/Portal/Portal.mjs.map +1 -1
- package/esm/components/Progress/Progress.mjs.map +1 -1
- package/esm/components/Radio/Radio.mjs.map +1 -1
- package/esm/components/Radio/RadioGroup/RadioGroup.mjs.map +1 -1
- package/esm/components/Rating/Rating.mjs.map +1 -1
- package/esm/components/RingProgress/RingProgress.mjs +1 -0
- package/esm/components/RingProgress/RingProgress.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollArea.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs.map +1 -1
- package/esm/components/Scroller/Scroller.mjs.map +1 -1
- package/esm/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
- package/esm/components/Select/Select.mjs +1 -0
- package/esm/components/Select/Select.mjs.map +1 -1
- package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs +1 -2
- package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs.map +1 -1
- package/esm/components/SimpleGrid/SimpleGrid.mjs.map +1 -1
- package/esm/components/Skeleton/Skeleton.mjs.map +1 -1
- package/esm/components/Slider/RangeSlider/RangeSlider.mjs.map +1 -1
- package/esm/components/Slider/Slider/Slider.mjs.map +1 -1
- package/esm/components/Slider/Slider.module.mjs.map +1 -1
- package/esm/components/Space/Space.mjs.map +1 -1
- package/esm/components/Spoiler/Spoiler.mjs.map +1 -1
- package/esm/components/Stack/Stack.mjs.map +1 -1
- package/esm/components/Stepper/Stepper.mjs.map +1 -1
- package/esm/components/Switch/Switch.mjs.map +1 -1
- package/esm/components/Switch/SwitchGroup/SwitchGroup.mjs.map +1 -1
- package/esm/components/Table/Table.mjs.map +1 -1
- package/esm/components/TableOfContents/TableOfContents.mjs.map +1 -1
- package/esm/components/Tabs/Tabs.mjs.map +1 -1
- package/esm/components/TagsInput/TagsInput.mjs +3 -1
- package/esm/components/TagsInput/TagsInput.mjs.map +1 -1
- package/esm/components/Text/Text.mjs.map +1 -1
- package/esm/components/TextInput/TextInput.mjs.map +1 -1
- package/esm/components/Textarea/Textarea.mjs.map +1 -1
- package/esm/components/ThemeIcon/ThemeIcon.mjs.map +1 -1
- package/esm/components/Timeline/Timeline.mjs.map +1 -1
- package/esm/components/Title/Title.mjs.map +1 -1
- package/esm/components/Tooltip/Tooltip.mjs.map +1 -1
- package/esm/components/Tree/Tree.mjs.map +1 -1
- package/esm/components/Typography/Typography.mjs.map +1 -1
- package/esm/components/UnstyledButton/UnstyledButton.mjs.map +1 -1
- package/esm/components/VisuallyHidden/VisuallyHidden.mjs.map +1 -1
- package/esm/core/MantineProvider/color-scheme-managers/local-storage-manager.mjs.map +1 -1
- package/esm/core/utils/find-element-ancestor/find-element-ancestor.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +21 -3
- package/lib/components/Accordion/index.d.ts +0 -17
- package/lib/components/ActionIcon/ActionIcon.d.ts +20 -2
- package/lib/components/ActionIcon/index.d.ts +0 -18
- package/lib/components/Affix/Affix.d.ts +6 -0
- package/lib/components/Affix/index.d.ts +0 -6
- package/lib/components/Alert/Alert.d.ts +6 -0
- package/lib/components/Alert/index.d.ts +0 -6
- package/lib/components/Anchor/Anchor.d.ts +7 -0
- package/lib/components/Anchor/index.d.ts +0 -8
- package/lib/components/AngleSlider/AngleSlider.d.ts +6 -0
- package/lib/components/AngleSlider/index.d.ts +0 -6
- package/lib/components/AppShell/AppShell.d.ts +30 -6
- package/lib/components/AppShell/index.d.ts +0 -24
- package/lib/components/AspectRatio/AspectRatio.d.ts +6 -0
- package/lib/components/AspectRatio/index.d.ts +0 -6
- package/lib/components/Autocomplete/Autocomplete.d.ts +6 -0
- package/lib/components/Autocomplete/index.d.ts +0 -6
- package/lib/components/Avatar/Avatar.d.ts +15 -1
- package/lib/components/Avatar/index.d.ts +0 -14
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +6 -0
- package/lib/components/BackgroundImage/index.d.ts +0 -6
- package/lib/components/Badge/Badge.d.ts +7 -0
- package/lib/components/Badge/index.d.ts +0 -7
- package/lib/components/Blockquote/Blockquote.d.ts +6 -0
- package/lib/components/Blockquote/index.d.ts +0 -6
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/lib/components/Breadcrumbs/index.d.ts +0 -7
- package/lib/components/Burger/Burger.d.ts +6 -0
- package/lib/components/Burger/index.d.ts +0 -6
- package/lib/components/Button/Button.d.ts +22 -2
- package/lib/components/Button/index.d.ts +0 -20
- package/lib/components/Card/Card.d.ts +11 -1
- package/lib/components/Card/index.d.ts +0 -10
- package/lib/components/Center/Center.d.ts +5 -0
- package/lib/components/Center/index.d.ts +0 -5
- package/lib/components/Checkbox/Checkbox.d.ts +29 -3
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +8 -8
- package/lib/components/Checkbox/index.d.ts +0 -26
- package/lib/components/Chip/Chip.d.ts +12 -1
- package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +8 -8
- package/lib/components/Chip/index.d.ts +0 -11
- package/lib/components/CloseButton/CloseButton.d.ts +7 -0
- package/lib/components/CloseButton/index.d.ts +0 -7
- package/lib/components/Code/Code.d.ts +6 -0
- package/lib/components/Code/index.d.ts +0 -6
- package/lib/components/Collapse/Collapse.d.ts +4 -0
- package/lib/components/Collapse/index.d.ts +0 -4
- package/lib/components/ColorInput/ColorInput.d.ts +6 -0
- package/lib/components/ColorInput/index.d.ts +0 -6
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +4 -0
- package/lib/components/ColorPicker/ColorPicker.d.ts +6 -0
- package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +4 -0
- package/lib/components/ColorPicker/index.d.ts +0 -14
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +6 -0
- package/lib/components/ColorSwatch/index.d.ts +0 -6
- package/lib/components/Container/Container.d.ts +6 -0
- package/lib/components/Container/index.d.ts +0 -6
- package/lib/components/Dialog/Dialog.d.ts +6 -0
- package/lib/components/Dialog/index.d.ts +0 -6
- package/lib/components/Divider/Divider.d.ts +7 -0
- package/lib/components/Divider/index.d.ts +0 -7
- package/lib/components/Fieldset/Fieldset.d.ts +6 -0
- package/lib/components/Fieldset/index.d.ts +0 -6
- package/lib/components/FileButton/FileButton.d.ts +4 -0
- package/lib/components/FileButton/index.d.ts +0 -4
- package/lib/components/FileInput/FileInput.d.ts +4 -0
- package/lib/components/FileInput/index.d.ts +0 -4
- package/lib/components/Flex/Flex.d.ts +5 -0
- package/lib/components/Flex/index.d.ts +0 -5
- package/lib/components/FloatingIndicator/FloatingIndicator.d.ts +6 -0
- package/lib/components/FloatingIndicator/index.d.ts +0 -6
- package/lib/components/FloatingWindow/FloatingWindow.d.ts +5 -0
- package/lib/components/FloatingWindow/index.d.ts +0 -5
- package/lib/components/Grid/Grid.d.ts +13 -2
- package/lib/components/Grid/index.d.ts +0 -11
- package/lib/components/Group/Group.d.ts +7 -0
- package/lib/components/Group/index.d.ts +0 -7
- package/lib/components/Highlight/Highlight.d.ts +5 -0
- package/lib/components/Highlight/index.d.ts +0 -5
- package/lib/components/Image/Image.d.ts +6 -0
- package/lib/components/Image/index.d.ts +0 -6
- package/lib/components/Indicator/Indicator.d.ts +6 -0
- package/lib/components/Indicator/index.d.ts +0 -6
- package/lib/components/Input/Input.d.ts +51 -7
- package/lib/components/Input/index.d.ts +0 -42
- package/lib/components/InputBase/InputBase.d.ts +4 -0
- package/lib/components/InputBase/index.d.ts +0 -4
- package/lib/components/JsonInput/JsonInput.d.ts +4 -0
- package/lib/components/JsonInput/index.d.ts +0 -4
- package/lib/components/Kbd/Kbd.d.ts +6 -0
- package/lib/components/Kbd/index.d.ts +0 -6
- package/lib/components/List/List.d.ts +12 -1
- package/lib/components/List/index.d.ts +0 -11
- package/lib/components/Loader/Loader.d.ts +6 -0
- package/lib/components/Loader/index.d.ts +0 -6
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +6 -0
- package/lib/components/LoadingOverlay/index.d.ts +0 -6
- package/lib/components/Mark/Mark.d.ts +6 -0
- package/lib/components/Mark/index.d.ts +0 -6
- package/lib/components/Marquee/Marquee.d.ts +6 -0
- package/lib/components/Marquee/index.d.ts +0 -6
- package/lib/components/Menu/Menu.d.ts +43 -6
- package/lib/components/Menu/index.d.ts +0 -33
- package/lib/components/Modal/Modal.d.ts +37 -7
- package/lib/components/Modal/index.d.ts +0 -30
- package/lib/components/MultiSelect/MultiSelect.d.ts +5 -0
- package/lib/components/MultiSelect/index.d.ts +0 -6
- package/lib/components/NativeSelect/NativeSelect.d.ts +5 -0
- package/lib/components/NativeSelect/index.d.ts +0 -6
- package/lib/components/NavLink/NavLink.d.ts +7 -0
- package/lib/components/NavLink/index.d.ts +0 -7
- package/lib/components/Notification/Notification.d.ts +6 -0
- package/lib/components/Notification/index.d.ts +0 -6
- package/lib/components/NumberInput/NumberInput.d.ts +7 -0
- package/lib/components/NumberInput/index.d.ts +0 -7
- package/lib/components/OverflowList/OverflowList.d.ts +6 -0
- package/lib/components/OverflowList/index.d.ts +0 -6
- package/lib/components/Overlay/Overlay.d.ts +6 -0
- package/lib/components/Overlay/index.d.ts +0 -6
- package/lib/components/Pagination/Pagination.d.ts +25 -4
- package/lib/components/Pagination/index.d.ts +0 -21
- package/lib/components/Paper/Paper.d.ts +7 -0
- package/lib/components/Paper/index.d.ts +0 -7
- package/lib/components/PasswordInput/PasswordInput.d.ts +6 -0
- package/lib/components/PasswordInput/index.d.ts +0 -6
- package/lib/components/Pill/Pill.d.ts +14 -1
- package/lib/components/Pill/index.d.ts +0 -13
- package/lib/components/PillsInput/PillsInput.d.ts +12 -1
- package/lib/components/PillsInput/index.d.ts +0 -10
- package/lib/components/PinInput/PinInput.d.ts +5 -0
- package/lib/components/PinInput/index.d.ts +0 -5
- package/lib/components/Popover/Popover.d.ts +9 -0
- package/lib/components/Portal/OptionalPortal.d.ts +3 -0
- package/lib/components/Portal/Portal.d.ts +3 -0
- package/lib/components/Portal/index.d.ts +0 -6
- package/lib/components/Progress/Progress.d.ts +19 -3
- package/lib/components/Progress/index.d.ts +0 -15
- package/lib/components/Radio/Radio.d.ts +29 -3
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +8 -8
- package/lib/components/Radio/index.d.ts +0 -26
- package/lib/components/Rating/Rating.d.ts +5 -0
- package/lib/components/Rating/index.d.ts +0 -5
- package/lib/components/RingProgress/RingProgress.d.ts +7 -0
- package/lib/components/RingProgress/index.d.ts +0 -7
- package/lib/components/ScrollArea/ScrollArea.d.ts +10 -0
- package/lib/components/ScrollArea/index.d.ts +0 -10
- package/lib/components/Scroller/Scroller.d.ts +6 -0
- package/lib/components/Scroller/index.d.ts +0 -6
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +7 -0
- package/lib/components/SegmentedControl/index.d.ts +0 -8
- package/lib/components/Select/Select.d.ts +5 -0
- package/lib/components/Select/index.d.ts +0 -6
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +6 -0
- package/lib/components/SemiCircleProgress/index.d.ts +0 -6
- package/lib/components/SimpleGrid/SimpleGrid.d.ts +5 -0
- package/lib/components/SimpleGrid/index.d.ts +0 -5
- package/lib/components/Skeleton/Skeleton.d.ts +6 -0
- package/lib/components/Skeleton/index.d.ts +0 -6
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +8 -0
- package/lib/components/Slider/Slider/Slider.d.ts +7 -0
- package/lib/components/Slider/index.d.ts +0 -15
- package/lib/components/Space/Space.d.ts +4 -0
- package/lib/components/Space/index.d.ts +0 -5
- package/lib/components/Spoiler/Spoiler.d.ts +6 -0
- package/lib/components/Spoiler/index.d.ts +0 -6
- package/lib/components/Stack/Stack.d.ts +6 -0
- package/lib/components/Stack/index.d.ts +0 -6
- package/lib/components/Stepper/Stepper.d.ts +17 -2
- package/lib/components/Stepper/index.d.ts +0 -14
- package/lib/components/Switch/Switch.d.ts +13 -1
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +8 -8
- package/lib/components/Switch/index.d.ts +0 -12
- package/lib/components/Table/Table.d.ts +35 -2
- package/lib/components/Table/index.d.ts +0 -32
- package/lib/components/TableOfContents/TableOfContents.d.ts +7 -0
- package/lib/components/TableOfContents/index.d.ts +0 -7
- package/lib/components/Tabs/Tabs.d.ts +24 -3
- package/lib/components/Tabs/index.d.ts +0 -20
- package/lib/components/TagsInput/TagsInput.d.ts +5 -0
- package/lib/components/TagsInput/index.d.ts +0 -5
- package/lib/components/Text/Text.d.ts +7 -0
- package/lib/components/Text/index.d.ts +0 -7
- package/lib/components/TextInput/TextInput.d.ts +4 -0
- package/lib/components/TextInput/index.d.ts +0 -4
- package/lib/components/Textarea/Textarea.d.ts +4 -0
- package/lib/components/Textarea/index.d.ts +0 -4
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +7 -0
- package/lib/components/ThemeIcon/index.d.ts +0 -7
- package/lib/components/Timeline/Timeline.d.ts +12 -1
- package/lib/components/Timeline/index.d.ts +0 -11
- package/lib/components/Title/Title.d.ts +8 -0
- package/lib/components/Title/index.d.ts +0 -8
- package/lib/components/Tooltip/Tooltip.d.ts +15 -2
- package/lib/components/Tooltip/index.d.ts +0 -13
- package/lib/components/Tree/Tree.d.ts +7 -0
- package/lib/components/Tree/index.d.ts +0 -7
- package/lib/components/Typography/Typography.d.ts +5 -0
- package/lib/components/Typography/index.d.ts +0 -5
- package/lib/components/UnstyledButton/UnstyledButton.d.ts +5 -0
- package/lib/components/UnstyledButton/index.d.ts +0 -5
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts +3 -0
- package/lib/components/VisuallyHidden/index.d.ts +0 -3
- package/package.json +2 -2
- package/styles/Accordion.css +0 -4
- package/styles/Accordion.layer.css +0 -4
- package/styles/Badge.css +0 -2
- package/styles/Badge.layer.css +0 -2
- package/styles/Slider.css +10 -10
- package/styles/Slider.layer.css +10 -10
- package/styles.css +10 -16
- package/styles.layer.css +10 -16
|
@@ -27,3 +27,9 @@ export declare const Blockquote: import("../..").MantineComponent<{
|
|
|
27
27
|
stylesNames: BlockquoteStylesNames;
|
|
28
28
|
vars: BlockquoteCssVariables;
|
|
29
29
|
}>;
|
|
30
|
+
export declare namespace Blockquote {
|
|
31
|
+
type Props = BlockquoteProps;
|
|
32
|
+
type StylesNames = BlockquoteStylesNames;
|
|
33
|
+
type CssVariables = BlockquoteCssVariables;
|
|
34
|
+
type Factory = BlockquoteFactory;
|
|
35
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { BlockquoteCssVariables, BlockquoteFactory, BlockquoteProps, BlockquoteStylesNames } from './Blockquote';
|
|
2
2
|
export { Blockquote } from './Blockquote';
|
|
3
3
|
export type { BlockquoteProps, BlockquoteStylesNames, BlockquoteCssVariables, BlockquoteFactory };
|
|
4
|
-
export declare namespace Blockquote {
|
|
5
|
-
type Props = BlockquoteProps;
|
|
6
|
-
type StylesNames = BlockquoteStylesNames;
|
|
7
|
-
type CssVariables = BlockquoteCssVariables;
|
|
8
|
-
type Factory = BlockquoteFactory;
|
|
9
|
-
}
|
|
@@ -23,3 +23,9 @@ export declare const Breadcrumbs: import("../..").MantineComponent<{
|
|
|
23
23
|
stylesNames: BreadcrumbsStylesNames;
|
|
24
24
|
vars: BreadcrumbsCssVariables;
|
|
25
25
|
}>;
|
|
26
|
+
export declare namespace Breadcrumbs {
|
|
27
|
+
type Props = BreadcrumbsProps;
|
|
28
|
+
type StylesNames = BreadcrumbsStylesNames;
|
|
29
|
+
type CssVariables = BreadcrumbsCssVariables;
|
|
30
|
+
type Factory = BreadcrumbsFactory;
|
|
31
|
+
}
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import type { BreadcrumbsCssVariables, BreadcrumbsFactory, BreadcrumbsProps, BreadcrumbsStylesNames } from './Breadcrumbs';
|
|
2
1
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
3
2
|
export type { BreadcrumbsCssVariables, BreadcrumbsFactory, BreadcrumbsProps, BreadcrumbsStylesNames, } from './Breadcrumbs';
|
|
4
|
-
export declare namespace Breadcrumbs {
|
|
5
|
-
type Props = BreadcrumbsProps;
|
|
6
|
-
type StylesNames = BreadcrumbsStylesNames;
|
|
7
|
-
type CssVariables = BreadcrumbsCssVariables;
|
|
8
|
-
type Factory = BreadcrumbsFactory;
|
|
9
|
-
}
|
|
@@ -29,3 +29,9 @@ export declare const Burger: import("../..").MantineComponent<{
|
|
|
29
29
|
stylesNames: BurgerStylesNames;
|
|
30
30
|
vars: BurgerCssVariables;
|
|
31
31
|
}>;
|
|
32
|
+
export declare namespace Burger {
|
|
33
|
+
type Props = BurgerProps;
|
|
34
|
+
type StylesNames = BurgerStylesNames;
|
|
35
|
+
type CssVariables = BurgerCssVariables;
|
|
36
|
+
type Factory = BurgerFactory;
|
|
37
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { BurgerCssVariables, BurgerFactory, BurgerProps, BurgerStylesNames } from './Burger';
|
|
2
2
|
export { Burger } from './Burger';
|
|
3
3
|
export type { BurgerProps, BurgerStylesNames, BurgerCssVariables, BurgerFactory };
|
|
4
|
-
export declare namespace Burger {
|
|
5
|
-
type Props = BurgerProps;
|
|
6
|
-
type StylesNames = BurgerStylesNames;
|
|
7
|
-
type CssVariables = BurgerCssVariables;
|
|
8
|
-
type Factory = BurgerFactory;
|
|
9
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BoxProps, MantineColor, MantineGradient, MantineRadius, MantineSize, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
2
2
|
import { LoaderProps } from '../Loader';
|
|
3
|
-
import { ButtonGroup } from './ButtonGroup/ButtonGroup';
|
|
4
|
-
import { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
|
|
3
|
+
import { ButtonGroup, type ButtonGroupProps, type ButtonGroupStylesNames, type ButtonGroupCssVariables, type ButtonGroupFactory } from './ButtonGroup/ButtonGroup';
|
|
4
|
+
import { ButtonGroupSection, type ButtonGroupSectionProps, type ButtonGroupSectionStylesNames, type ButtonGroupSectionCssVariables, type ButtonGroupSectionFactory } from './ButtonGroupSection/ButtonGroupSection';
|
|
5
5
|
export type ButtonSize = MantineSize | `compact-${MantineSize}` | (string & {});
|
|
6
6
|
export type ButtonStylesNames = 'root' | 'inner' | 'loader' | 'section' | 'label';
|
|
7
7
|
export type ButtonVariant = 'filled' | 'light' | 'outline' | 'transparent' | 'white' | 'subtle' | 'default' | 'gradient';
|
|
@@ -107,3 +107,23 @@ export declare const Button: (<C = "button">(props: import("../..").PolymorphicC
|
|
|
107
107
|
Group: typeof ButtonGroup;
|
|
108
108
|
GroupSection: typeof ButtonGroupSection;
|
|
109
109
|
};
|
|
110
|
+
export declare namespace Button {
|
|
111
|
+
type Props = ButtonProps;
|
|
112
|
+
type StylesNames = ButtonStylesNames;
|
|
113
|
+
type CssVariables = ButtonCssVariables;
|
|
114
|
+
type Factory = ButtonFactory;
|
|
115
|
+
type Variant = ButtonVariant;
|
|
116
|
+
type Size = ButtonSize;
|
|
117
|
+
namespace Group {
|
|
118
|
+
type Props = ButtonGroupProps;
|
|
119
|
+
type StylesNames = ButtonGroupStylesNames;
|
|
120
|
+
type CssVariables = ButtonGroupCssVariables;
|
|
121
|
+
type Factory = ButtonGroupFactory;
|
|
122
|
+
}
|
|
123
|
+
namespace GroupSection {
|
|
124
|
+
type Props = ButtonGroupSectionProps;
|
|
125
|
+
type StylesNames = ButtonGroupSectionStylesNames;
|
|
126
|
+
type CssVariables = ButtonGroupSectionCssVariables;
|
|
127
|
+
type Factory = ButtonGroupSectionFactory;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -5,23 +5,3 @@ export { Button } from './Button';
|
|
|
5
5
|
export { ButtonGroup } from './ButtonGroup/ButtonGroup';
|
|
6
6
|
export { ButtonGroupSection } from './ButtonGroupSection/ButtonGroupSection';
|
|
7
7
|
export type { ButtonProps, ButtonStylesNames, ButtonFactory, ButtonCssVariables, ButtonVariant, ButtonSize, ButtonGroupProps, ButtonGroupCssVariables, ButtonGroupStylesNames, ButtonGroupFactory, ButtonGroupSectionProps, ButtonGroupSectionCssVariables, ButtonGroupSectionStylesNames, ButtonGroupSectionFactory, };
|
|
8
|
-
export declare namespace Button {
|
|
9
|
-
type Props = ButtonProps;
|
|
10
|
-
type StylesNames = ButtonStylesNames;
|
|
11
|
-
type CssVariables = ButtonCssVariables;
|
|
12
|
-
type Factory = ButtonFactory;
|
|
13
|
-
type Variant = ButtonVariant;
|
|
14
|
-
type Size = ButtonSize;
|
|
15
|
-
namespace Group {
|
|
16
|
-
type Props = ButtonGroupProps;
|
|
17
|
-
type StylesNames = ButtonGroupStylesNames;
|
|
18
|
-
type CssVariables = ButtonGroupCssVariables;
|
|
19
|
-
type Factory = ButtonGroupFactory;
|
|
20
|
-
}
|
|
21
|
-
namespace GroupSection {
|
|
22
|
-
type Props = ButtonGroupSectionProps;
|
|
23
|
-
type StylesNames = ButtonGroupSectionStylesNames;
|
|
24
|
-
type CssVariables = ButtonGroupSectionCssVariables;
|
|
25
|
-
type Factory = ButtonGroupSectionFactory;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BoxProps, MantineRadius, MantineShadow, MantineSpacing, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
2
|
-
import { CardSection } from './CardSection/CardSection';
|
|
2
|
+
import { CardSection, type CardSectionProps } from './CardSection/CardSection';
|
|
3
3
|
export type CardStylesNames = 'root' | 'section';
|
|
4
4
|
export type CardCssVariables = {
|
|
5
5
|
root: '--card-padding';
|
|
@@ -77,3 +77,13 @@ export declare const Card: (<C = "div">(props: import("../..").PolymorphicCompon
|
|
|
77
77
|
}> & {
|
|
78
78
|
Section: typeof CardSection;
|
|
79
79
|
};
|
|
80
|
+
export declare namespace Card {
|
|
81
|
+
type Props = CardProps;
|
|
82
|
+
type StylesNames = CardStylesNames;
|
|
83
|
+
type CssVariables = CardCssVariables;
|
|
84
|
+
type Factory = CardFactory;
|
|
85
|
+
type SectionProps = CardSectionProps;
|
|
86
|
+
namespace Section {
|
|
87
|
+
type Props = CardSectionProps;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -3,13 +3,3 @@ import type { CardSectionProps } from './CardSection/CardSection';
|
|
|
3
3
|
export { Card } from './Card';
|
|
4
4
|
export { CardSection } from './CardSection/CardSection';
|
|
5
5
|
export type { CardProps, CardStylesNames, CardCssVariables, CardFactory, CardSectionProps };
|
|
6
|
-
export declare namespace Card {
|
|
7
|
-
type Props = CardProps;
|
|
8
|
-
type StylesNames = CardStylesNames;
|
|
9
|
-
type CssVariables = CardCssVariables;
|
|
10
|
-
type Factory = CardFactory;
|
|
11
|
-
type SectionProps = CardSectionProps;
|
|
12
|
-
namespace Section {
|
|
13
|
-
type Props = CardSectionProps;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -36,3 +36,8 @@ export declare const Center: (<C = "div">(props: import("../..").PolymorphicComp
|
|
|
36
36
|
defaultComponent: "div";
|
|
37
37
|
stylesNames: CenterStylesNames;
|
|
38
38
|
}> & Record<string, never>;
|
|
39
|
+
export declare namespace Center {
|
|
40
|
+
type Props = CenterProps;
|
|
41
|
+
type Factory = CenterFactory;
|
|
42
|
+
type StylesNames = CenterStylesNames;
|
|
43
|
+
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import type { CenterFactory, CenterProps, CenterStylesNames } from './Center';
|
|
2
2
|
export { Center } from './Center';
|
|
3
3
|
export type { CenterProps, CenterFactory, CenterStylesNames };
|
|
4
|
-
export declare namespace Center {
|
|
5
|
-
type Props = CenterProps;
|
|
6
|
-
type Factory = CenterFactory;
|
|
7
|
-
type StylesNames = CenterStylesNames;
|
|
8
|
-
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BoxProps, DataAttributes, ElementProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
|
|
2
2
|
import { InlineInputStylesNames } from '../../utils/InlineInput';
|
|
3
|
-
import { CheckboxCard } from './CheckboxCard/CheckboxCard';
|
|
4
|
-
import { CheckboxGroup } from './CheckboxGroup/CheckboxGroup';
|
|
5
|
-
import { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
|
|
3
|
+
import { CheckboxCard, type CheckboxCardProps, type CheckboxCardStylesNames, type CheckboxCardCssVariables, type CheckboxCardFactory } from './CheckboxCard/CheckboxCard';
|
|
4
|
+
import { CheckboxGroup, type CheckboxGroupProps, type CheckboxGroupStylesNames, type CheckboxGroupFactory } from './CheckboxGroup/CheckboxGroup';
|
|
5
|
+
import { CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxIndicatorStylesNames, type CheckboxIndicatorCssVariables, type CheckboxIndicatorFactory, type CheckboxIndicatorVariant } from './CheckboxIndicator/CheckboxIndicator';
|
|
6
6
|
export type CheckboxVariant = 'filled' | 'outline';
|
|
7
7
|
export type CheckboxStylesNames = 'icon' | 'inner' | 'input' | InlineInputStylesNames;
|
|
8
8
|
export type CheckboxCssVariables = {
|
|
@@ -68,3 +68,29 @@ export declare const Checkbox: import("../..").MantineComponent<{
|
|
|
68
68
|
Card: typeof CheckboxCard;
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
71
|
+
export declare namespace Checkbox {
|
|
72
|
+
type Props = CheckboxProps;
|
|
73
|
+
type StylesNames = CheckboxStylesNames;
|
|
74
|
+
type CssVariables = CheckboxCssVariables;
|
|
75
|
+
type Factory = CheckboxFactory;
|
|
76
|
+
type Variant = CheckboxVariant;
|
|
77
|
+
type IconComponent = CheckboxIconComponent;
|
|
78
|
+
namespace Group {
|
|
79
|
+
type Props = CheckboxGroupProps;
|
|
80
|
+
type StylesNames = CheckboxGroupStylesNames;
|
|
81
|
+
type Factory = CheckboxGroupFactory;
|
|
82
|
+
}
|
|
83
|
+
namespace Indicator {
|
|
84
|
+
type Props = CheckboxIndicatorProps;
|
|
85
|
+
type StylesNames = CheckboxIndicatorStylesNames;
|
|
86
|
+
type CssVariables = CheckboxIndicatorCssVariables;
|
|
87
|
+
type Factory = CheckboxIndicatorFactory;
|
|
88
|
+
type Variant = CheckboxIndicatorVariant;
|
|
89
|
+
}
|
|
90
|
+
namespace Card {
|
|
91
|
+
type Props = CheckboxCardProps;
|
|
92
|
+
type StylesNames = CheckboxCardStylesNames;
|
|
93
|
+
type CssVariables = CheckboxCardCssVariables;
|
|
94
|
+
type Factory = CheckboxCardFactory;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DataAttributes, Factory, MantineSize } from '../../../core';
|
|
1
|
+
import { DataAttributes, Factory, MantineSize, Primitive } from '../../../core';
|
|
2
2
|
import { InputWrapperProps, InputWrapperStylesNames } from '../../Input';
|
|
3
|
-
export interface CheckboxGroupContextValue<Value extends
|
|
3
|
+
export interface CheckboxGroupContextValue<Value extends Primitive = string> {
|
|
4
4
|
value: Value[];
|
|
5
5
|
onChange: (event: React.ChangeEvent<HTMLInputElement> | string) => void;
|
|
6
6
|
size: MantineSize | (string & {}) | undefined;
|
|
@@ -8,7 +8,7 @@ export interface CheckboxGroupContextValue<Value extends string = string> {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const CheckboxGroupContext: import("react").Context<CheckboxGroupContextValue<string> | null>;
|
|
10
10
|
export type CheckboxGroupStylesNames = InputWrapperStylesNames;
|
|
11
|
-
export interface CheckboxGroupProps<Value extends
|
|
11
|
+
export interface CheckboxGroupProps<Value extends Primitive = string> extends Omit<InputWrapperProps, 'onChange' | 'value' | 'defaultValue'> {
|
|
12
12
|
/** `Checkbox` components and any other elements */
|
|
13
13
|
children: React.ReactNode;
|
|
14
14
|
/** Controlled component value */
|
|
@@ -38,23 +38,23 @@ export type CheckboxGroupFactory = Factory<{
|
|
|
38
38
|
props: CheckboxGroupProps;
|
|
39
39
|
ref: HTMLDivElement;
|
|
40
40
|
stylesNames: CheckboxGroupStylesNames;
|
|
41
|
-
signature: <Value extends
|
|
41
|
+
signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
|
|
42
42
|
}>;
|
|
43
|
-
export declare const CheckboxGroup: (<Value extends
|
|
43
|
+
export declare const CheckboxGroup: (<Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
|
|
44
44
|
props: CheckboxGroupProps;
|
|
45
45
|
ref: HTMLDivElement;
|
|
46
46
|
stylesNames: CheckboxGroupStylesNames;
|
|
47
|
-
signature: <Value extends
|
|
47
|
+
signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
|
|
48
48
|
}> & import("../../..").ComponentClasses<{
|
|
49
49
|
props: CheckboxGroupProps;
|
|
50
50
|
ref: HTMLDivElement;
|
|
51
51
|
stylesNames: CheckboxGroupStylesNames;
|
|
52
|
-
signature: <Value extends
|
|
52
|
+
signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
|
|
53
53
|
}> & Record<string, never> & import("../../..").FactoryComponentWithProps<{
|
|
54
54
|
props: CheckboxGroupProps;
|
|
55
55
|
ref: HTMLDivElement;
|
|
56
56
|
stylesNames: CheckboxGroupStylesNames;
|
|
57
|
-
signature: <Value extends
|
|
57
|
+
signature: <Value extends Primitive = string>(props: CheckboxGroupProps<Value>) => React.JSX.Element;
|
|
58
58
|
}> & {
|
|
59
59
|
displayName?: string;
|
|
60
60
|
};
|
|
@@ -9,29 +9,3 @@ export { CheckIcon } from './CheckIcon';
|
|
|
9
9
|
export { CheckboxIndicator } from './CheckboxIndicator/CheckboxIndicator';
|
|
10
10
|
export { CheckboxCard, CheckboxCardContext } from './CheckboxCard/CheckboxCard';
|
|
11
11
|
export type { CheckboxProps, CheckboxStylesNames, CheckboxCssVariables, CheckboxFactory, CheckboxVariant, CheckboxIconComponent, CheckboxGroupProps, CheckboxGroupStylesNames, CheckboxGroupFactory, CheckboxIndicatorProps, CheckboxIndicatorStylesNames, CheckboxIndicatorCssVariables, CheckboxIndicatorFactory, CheckboxIndicatorVariant, CheckboxCardProps, CheckboxCardStylesNames, CheckboxCardCssVariables, CheckboxCardFactory, CheckboxIconProps, CheckIconProps, };
|
|
12
|
-
export declare namespace Checkbox {
|
|
13
|
-
type Props = CheckboxProps;
|
|
14
|
-
type StylesNames = CheckboxStylesNames;
|
|
15
|
-
type CssVariables = CheckboxCssVariables;
|
|
16
|
-
type Factory = CheckboxFactory;
|
|
17
|
-
type Variant = CheckboxVariant;
|
|
18
|
-
type IconComponent = CheckboxIconComponent;
|
|
19
|
-
namespace Group {
|
|
20
|
-
type Props = CheckboxGroupProps;
|
|
21
|
-
type StylesNames = CheckboxGroupStylesNames;
|
|
22
|
-
type Factory = CheckboxGroupFactory;
|
|
23
|
-
}
|
|
24
|
-
namespace Indicator {
|
|
25
|
-
type Props = CheckboxIndicatorProps;
|
|
26
|
-
type StylesNames = CheckboxIndicatorStylesNames;
|
|
27
|
-
type CssVariables = CheckboxIndicatorCssVariables;
|
|
28
|
-
type Factory = CheckboxIndicatorFactory;
|
|
29
|
-
type Variant = CheckboxIndicatorVariant;
|
|
30
|
-
}
|
|
31
|
-
namespace Card {
|
|
32
|
-
type Props = CheckboxCardProps;
|
|
33
|
-
type StylesNames = CheckboxCardStylesNames;
|
|
34
|
-
type CssVariables = CheckboxCardCssVariables;
|
|
35
|
-
type Factory = CheckboxCardFactory;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BoxProps, DataAttributes, ElementProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
|
|
2
|
-
import { ChipGroup } from './ChipGroup/ChipGroup';
|
|
2
|
+
import { ChipGroup, type ChipGroupProps, type ChipGroupContextValue } from './ChipGroup/ChipGroup';
|
|
3
3
|
export type ChipStylesNames = 'root' | 'input' | 'iconWrapper' | 'checkIcon' | 'label';
|
|
4
4
|
export type ChipVariant = 'outline' | 'filled' | 'light';
|
|
5
5
|
export type ChipCssVariables = {
|
|
@@ -53,3 +53,14 @@ export declare const Chip: import("../..").MantineComponent<{
|
|
|
53
53
|
Group: typeof ChipGroup;
|
|
54
54
|
};
|
|
55
55
|
}>;
|
|
56
|
+
export declare namespace Chip {
|
|
57
|
+
type Props = ChipProps;
|
|
58
|
+
type StylesNames = ChipStylesNames;
|
|
59
|
+
type CssVariables = ChipCssVariables;
|
|
60
|
+
type Factory = ChipFactory;
|
|
61
|
+
type Variant = ChipVariant;
|
|
62
|
+
namespace Group {
|
|
63
|
+
type Props<Multiple extends boolean = false, Value extends string = string> = ChipGroupProps<Multiple, Value>;
|
|
64
|
+
type ContextValue<Value extends string = string> = ChipGroupContextValue<Value>;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Factory } from '../../../core';
|
|
2
|
-
export interface ChipGroupProps<Multiple extends boolean = false, Value extends
|
|
1
|
+
import { Factory, Primitive } from '../../../core';
|
|
2
|
+
export interface ChipGroupProps<Multiple extends boolean = false, Value extends Primitive = string> {
|
|
3
3
|
/** If set, multiple values can be selected */
|
|
4
4
|
multiple?: Multiple;
|
|
5
5
|
/** Controlled component value */
|
|
@@ -13,21 +13,21 @@ export interface ChipGroupProps<Multiple extends boolean = false, Value extends
|
|
|
13
13
|
}
|
|
14
14
|
export type ChipGroupFactory = Factory<{
|
|
15
15
|
props: ChipGroupProps;
|
|
16
|
-
signature: <Multiple extends boolean = false, Value extends
|
|
16
|
+
signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const ChipGroup: (<Multiple extends boolean = false, Value extends
|
|
18
|
+
export declare const ChipGroup: (<Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element) & import("../../..").ThemeExtend<{
|
|
19
19
|
props: ChipGroupProps;
|
|
20
|
-
signature: <Multiple extends boolean = false, Value extends
|
|
20
|
+
signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
|
|
21
21
|
}> & import("../../..").ComponentClasses<{
|
|
22
22
|
props: ChipGroupProps;
|
|
23
|
-
signature: <Multiple extends boolean = false, Value extends
|
|
23
|
+
signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
|
|
24
24
|
}> & Record<string, never> & import("../../..").FactoryComponentWithProps<{
|
|
25
25
|
props: ChipGroupProps;
|
|
26
|
-
signature: <Multiple extends boolean = false, Value extends
|
|
26
|
+
signature: <Multiple extends boolean = false, Value extends Primitive = string>(props: ChipGroupProps<Multiple, Value>) => React.JSX.Element;
|
|
27
27
|
}> & {
|
|
28
28
|
displayName?: string;
|
|
29
29
|
};
|
|
30
|
-
export interface ChipGroupContextValue<Value extends
|
|
30
|
+
export interface ChipGroupContextValue<Value extends Primitive = string> {
|
|
31
31
|
isChipSelected: (value: Value) => boolean;
|
|
32
32
|
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
33
33
|
multiple: boolean | undefined;
|
|
@@ -3,14 +3,3 @@ import type { ChipGroupContextValue, ChipGroupProps } from './ChipGroup/ChipGrou
|
|
|
3
3
|
export { Chip } from './Chip';
|
|
4
4
|
export { ChipGroup, ChipGroupContext } from './ChipGroup/ChipGroup';
|
|
5
5
|
export type { ChipProps, ChipStylesNames, ChipCssVariables, ChipFactory, ChipVariant, ChipGroupProps, ChipGroupContextValue, };
|
|
6
|
-
export declare namespace Chip {
|
|
7
|
-
type Props = ChipProps;
|
|
8
|
-
type StylesNames = ChipStylesNames;
|
|
9
|
-
type CssVariables = ChipCssVariables;
|
|
10
|
-
type Factory = ChipFactory;
|
|
11
|
-
type Variant = ChipVariant;
|
|
12
|
-
namespace Group {
|
|
13
|
-
type Props<Multiple extends boolean = false, Value extends string = string> = ChipGroupProps<Multiple, Value>;
|
|
14
|
-
type ContextValue<Value extends string = string> = ChipGroupContextValue<Value>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -69,3 +69,10 @@ export declare const CloseButton: (<C = "button">(props: import("../..").Polymor
|
|
|
69
69
|
variant: CloseButtonVariant;
|
|
70
70
|
vars: CloseButtonCssVariables;
|
|
71
71
|
}> & Record<string, never>;
|
|
72
|
+
export declare namespace CloseButton {
|
|
73
|
+
type Props = CloseButtonProps;
|
|
74
|
+
type StylesNames = CloseButtonStylesNames;
|
|
75
|
+
type Factory = CloseButtonFactory;
|
|
76
|
+
type Variant = CloseButtonVariant;
|
|
77
|
+
type CssVariables = CloseButtonCssVariables;
|
|
78
|
+
}
|
|
@@ -3,10 +3,3 @@ import type { CloseIconProps } from './CloseIcon';
|
|
|
3
3
|
export { CloseIcon } from './CloseIcon';
|
|
4
4
|
export { CloseButton } from './CloseButton';
|
|
5
5
|
export type { CloseButtonProps, CloseButtonStylesNames, CloseButtonFactory, CloseButtonVariant, CloseButtonCssVariables, __CloseButtonProps, CloseIconProps, };
|
|
6
|
-
export declare namespace CloseButton {
|
|
7
|
-
type Props = CloseButtonProps;
|
|
8
|
-
type StylesNames = CloseButtonStylesNames;
|
|
9
|
-
type Factory = CloseButtonFactory;
|
|
10
|
-
type Variant = CloseButtonVariant;
|
|
11
|
-
type CssVariables = CloseButtonCssVariables;
|
|
12
|
-
}
|
|
@@ -21,3 +21,9 @@ export declare const Code: import("../..").MantineComponent<{
|
|
|
21
21
|
stylesNames: CodeStylesNames;
|
|
22
22
|
vars: CodeCssVariables;
|
|
23
23
|
}>;
|
|
24
|
+
export declare namespace Code {
|
|
25
|
+
type Props = CodeProps;
|
|
26
|
+
type CssVariables = CodeCssVariables;
|
|
27
|
+
type Factory = CodeFactory;
|
|
28
|
+
type StylesNames = CodeStylesNames;
|
|
29
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { CodeCssVariables, CodeFactory, CodeProps, CodeStylesNames } from './Code';
|
|
2
2
|
export { Code } from './Code';
|
|
3
3
|
export type { CodeProps, CodeCssVariables, CodeFactory, CodeStylesNames };
|
|
4
|
-
export declare namespace Code {
|
|
5
|
-
type Props = CodeProps;
|
|
6
|
-
type CssVariables = CodeCssVariables;
|
|
7
|
-
type Factory = CodeFactory;
|
|
8
|
-
type StylesNames = CodeStylesNames;
|
|
9
|
-
}
|
|
@@ -40,3 +40,9 @@ export declare const ColorInput: import("../..").MantineComponent<{
|
|
|
40
40
|
vars: ColorInputCssVariables;
|
|
41
41
|
variant: InputVariant;
|
|
42
42
|
}>;
|
|
43
|
+
export declare namespace ColorInput {
|
|
44
|
+
type Props = ColorInputProps;
|
|
45
|
+
type StylesNames = ColorInputStylesNames;
|
|
46
|
+
type CssVariables = ColorInputCssVariables;
|
|
47
|
+
type Factory = ColorInputFactory;
|
|
48
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { ColorInputCssVariables, ColorInputFactory, ColorInputProps, ColorInputStylesNames } from './ColorInput';
|
|
2
2
|
export { ColorInput } from './ColorInput';
|
|
3
3
|
export type { ColorInputProps, ColorInputStylesNames, ColorInputCssVariables, ColorInputFactory };
|
|
4
|
-
export declare namespace ColorInput {
|
|
5
|
-
type Props = ColorInputProps;
|
|
6
|
-
type StylesNames = ColorInputStylesNames;
|
|
7
|
-
type CssVariables = ColorInputCssVariables;
|
|
8
|
-
type Factory = ColorInputFactory;
|
|
9
|
-
}
|
|
@@ -55,3 +55,9 @@ export declare const ColorPicker: import("../..").MantineComponent<{
|
|
|
55
55
|
stylesNames: ColorPickerStylesNames;
|
|
56
56
|
vars: ColorPickerCssVariables;
|
|
57
57
|
}>;
|
|
58
|
+
export declare namespace ColorPicker {
|
|
59
|
+
type Props = ColorPickerProps;
|
|
60
|
+
type CssVariables = ColorPickerCssVariables;
|
|
61
|
+
type Factory = ColorPickerFactory;
|
|
62
|
+
type StylesNames = ColorPickerStylesNames;
|
|
63
|
+
}
|
|
@@ -7,17 +7,3 @@ export { AlphaSlider } from './AlphaSlider/AlphaSlider';
|
|
|
7
7
|
export { HueSlider } from './HueSlider/HueSlider';
|
|
8
8
|
export * from './converters';
|
|
9
9
|
export type { ColorPickerProps, ColorPickerCssVariables, ColorPickerFactory, ColorPickerStylesNames, __ColorPickerProps, ColorSliderFactory, HueSliderFactory, HueSliderProps, AlphaSliderFactory, AlphaSliderProps, };
|
|
10
|
-
export declare namespace ColorPicker {
|
|
11
|
-
type Props = ColorPickerProps;
|
|
12
|
-
type CssVariables = ColorPickerCssVariables;
|
|
13
|
-
type Factory = ColorPickerFactory;
|
|
14
|
-
type StylesNames = ColorPickerStylesNames;
|
|
15
|
-
}
|
|
16
|
-
export declare namespace HueSlider {
|
|
17
|
-
type Props = HueSliderProps;
|
|
18
|
-
type Factory = HueSliderFactory;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace AlphaSlider {
|
|
21
|
-
type Props = AlphaSliderProps;
|
|
22
|
-
type Factory = AlphaSliderFactory;
|
|
23
|
-
}
|
|
@@ -57,3 +57,9 @@ export declare const ColorSwatch: (<C = "div">(props: import("../..").Polymorphi
|
|
|
57
57
|
stylesNames: ColorSwatchStylesNames;
|
|
58
58
|
vars: ColorSwatchCssVariables;
|
|
59
59
|
}> & Record<string, never>;
|
|
60
|
+
export declare namespace ColorSwatch {
|
|
61
|
+
type Props = ColorSwatchProps;
|
|
62
|
+
type CssVariables = ColorSwatchCssVariables;
|
|
63
|
+
type Factory = ColorSwatchFactory;
|
|
64
|
+
type StylesNames = ColorSwatchStylesNames;
|
|
65
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { ColorSwatchCssVariables, ColorSwatchFactory, ColorSwatchProps, ColorSwatchStylesNames } from './ColorSwatch';
|
|
2
2
|
export { ColorSwatch } from './ColorSwatch';
|
|
3
3
|
export type { ColorSwatchProps, ColorSwatchCssVariables, ColorSwatchFactory, ColorSwatchStylesNames, };
|
|
4
|
-
export declare namespace ColorSwatch {
|
|
5
|
-
type Props = ColorSwatchProps;
|
|
6
|
-
type CssVariables = ColorSwatchCssVariables;
|
|
7
|
-
type Factory = ColorSwatchFactory;
|
|
8
|
-
type StylesNames = ColorSwatchStylesNames;
|
|
9
|
-
}
|
|
@@ -23,3 +23,9 @@ export declare const Container: import("../..").MantineComponent<{
|
|
|
23
23
|
stylesNames: ContainerStylesNames;
|
|
24
24
|
vars: ContainerCssVariables;
|
|
25
25
|
}>;
|
|
26
|
+
export declare namespace Container {
|
|
27
|
+
type Props = ContainerProps;
|
|
28
|
+
type StylesNames = ContainerStylesNames;
|
|
29
|
+
type CssVariables = ContainerCssVariables;
|
|
30
|
+
type Factory = ContainerFactory;
|
|
31
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { ContainerCssVariables, ContainerFactory, ContainerProps, ContainerStylesNames } from './Container';
|
|
2
2
|
export { Container } from './Container';
|
|
3
3
|
export type { ContainerProps, ContainerStylesNames, ContainerCssVariables, ContainerFactory };
|
|
4
|
-
export declare namespace Container {
|
|
5
|
-
type Props = ContainerProps;
|
|
6
|
-
type StylesNames = ContainerStylesNames;
|
|
7
|
-
type CssVariables = ContainerCssVariables;
|
|
8
|
-
type Factory = ContainerFactory;
|
|
9
|
-
}
|
|
@@ -34,3 +34,9 @@ export declare const Dialog: import("../..").MantineComponent<{
|
|
|
34
34
|
stylesNames: DialogStylesNames;
|
|
35
35
|
vars: DialogCssVariables;
|
|
36
36
|
}>;
|
|
37
|
+
export declare namespace Dialog {
|
|
38
|
+
type Props = DialogProps;
|
|
39
|
+
type StylesNames = DialogStylesNames;
|
|
40
|
+
type CssVariables = DialogCssVariables;
|
|
41
|
+
type Factory = DialogFactory;
|
|
42
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { DialogCssVariables, DialogFactory, DialogProps, DialogStylesNames } from './Dialog';
|
|
2
2
|
export { Dialog } from './Dialog';
|
|
3
3
|
export type { DialogProps, DialogStylesNames, DialogCssVariables, DialogFactory };
|
|
4
|
-
export declare namespace Dialog {
|
|
5
|
-
type Props = DialogProps;
|
|
6
|
-
type StylesNames = DialogStylesNames;
|
|
7
|
-
type CssVariables = DialogCssVariables;
|
|
8
|
-
type Factory = DialogFactory;
|
|
9
|
-
}
|
|
@@ -30,3 +30,10 @@ export declare const Divider: import("../..").MantineComponent<{
|
|
|
30
30
|
vars: DividerCssVariables;
|
|
31
31
|
variant: DividerVariant;
|
|
32
32
|
}>;
|
|
33
|
+
export declare namespace Divider {
|
|
34
|
+
type Props = DividerProps;
|
|
35
|
+
type StylesNames = DividerStylesNames;
|
|
36
|
+
type CssVariables = DividerCssVariables;
|
|
37
|
+
type Factory = DividerFactory;
|
|
38
|
+
type Variant = DividerVariant;
|
|
39
|
+
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { DividerCssVariables, DividerFactory, DividerProps, DividerStylesNames, DividerVariant } from './Divider';
|
|
2
2
|
export { Divider } from './Divider';
|
|
3
3
|
export type { DividerProps, DividerStylesNames, DividerCssVariables, DividerFactory, DividerVariant, };
|
|
4
|
-
export declare namespace Divider {
|
|
5
|
-
type Props = DividerProps;
|
|
6
|
-
type StylesNames = DividerStylesNames;
|
|
7
|
-
type CssVariables = DividerCssVariables;
|
|
8
|
-
type Factory = DividerFactory;
|
|
9
|
-
type Variant = DividerVariant;
|
|
10
|
-
}
|
|
@@ -24,3 +24,9 @@ export declare const Fieldset: import("../..").MantineComponent<{
|
|
|
24
24
|
vars: FieldsetCSSVariables;
|
|
25
25
|
variant: FieldsetVariant;
|
|
26
26
|
}>;
|
|
27
|
+
export declare namespace Fieldset {
|
|
28
|
+
type Props = FieldsetProps;
|
|
29
|
+
type StylesNames = FieldsetStylesNames;
|
|
30
|
+
type Factory = FieldsetFactory;
|
|
31
|
+
type Variant = FieldsetVariant;
|
|
32
|
+
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { FieldsetFactory, FieldsetProps, FieldsetStylesNames, FieldsetVariant } from './Fieldset';
|
|
2
2
|
export { Fieldset } from './Fieldset';
|
|
3
3
|
export type { FieldsetProps, FieldsetStylesNames, FieldsetFactory, FieldsetVariant };
|
|
4
|
-
export declare namespace Fieldset {
|
|
5
|
-
type Props = FieldsetProps;
|
|
6
|
-
type StylesNames = FieldsetStylesNames;
|
|
7
|
-
type Factory = FieldsetFactory;
|
|
8
|
-
type Variant = FieldsetVariant;
|
|
9
|
-
}
|
|
@@ -41,3 +41,7 @@ export declare const FileButton: (<Multiple extends boolean = false>(props: File
|
|
|
41
41
|
}> & {
|
|
42
42
|
displayName?: string;
|
|
43
43
|
};
|
|
44
|
+
export declare namespace FileButton {
|
|
45
|
+
type Props<Multiple extends boolean = false> = FileButtonProps<Multiple>;
|
|
46
|
+
type Factory = FileButtonFactory;
|
|
47
|
+
}
|