@mantine/core 7.0.0-alpha.17 → 7.0.0-alpha.18
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.module.css.js +1 -1
- package/cjs/components/ActionIcon/ActionIcon.js +1 -1
- package/cjs/components/ActionIcon/ActionIcon.js.map +1 -1
- package/cjs/components/ActionIcon/ActionIcon.module.css.js +1 -1
- package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.js +7 -6
- package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.js.map +1 -1
- package/cjs/components/Affix/Affix.js.map +1 -1
- package/cjs/components/Affix/Affix.module.css.js +1 -1
- package/cjs/components/Alert/Alert.module.css.js +1 -1
- package/cjs/components/Anchor/Anchor.module.css.js +1 -1
- package/cjs/components/AppShell/AppShell.context.js +13 -0
- package/cjs/components/AppShell/AppShell.context.js.map +1 -0
- package/cjs/components/AppShell/AppShell.js +146 -0
- package/cjs/components/AppShell/AppShell.js.map +1 -0
- package/cjs/components/AppShell/AppShell.module.css.js +8 -0
- package/cjs/components/AppShell/AppShell.module.css.js.map +1 -0
- package/cjs/components/AppShell/AppShellAside/AppShellAside.js +72 -0
- package/cjs/components/AppShell/AppShellAside/AppShellAside.js.map +1 -0
- package/cjs/components/AppShell/AppShellFooter/AppShellFooter.js +71 -0
- package/cjs/components/AppShell/AppShellFooter/AppShellFooter.js.map +1 -0
- package/cjs/components/AppShell/AppShellHeader/AppShellHeader.js +71 -0
- package/cjs/components/AppShell/AppShellHeader/AppShellHeader.js.map +1 -0
- package/cjs/components/AppShell/AppShellMain/AppShellMain.js +61 -0
- package/cjs/components/AppShell/AppShellMain/AppShellMain.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js +29 -0
- package/cjs/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js +64 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js +51 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js +51 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js +64 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js +33 -0
- package/cjs/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js +13 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js +19 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js +12 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js +17 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js +48 -0
- package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js +11 -0
- package/cjs/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js.map +1 -0
- package/cjs/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js +16 -0
- package/cjs/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js.map +1 -0
- package/cjs/components/AppShell/AppShellNavbar/AppShellNavbar.js +72 -0
- package/cjs/components/AppShell/AppShellNavbar/AppShellNavbar.js.map +1 -0
- package/cjs/components/AppShell/AppShellSection/AppShellSection.js +61 -0
- package/cjs/components/AppShell/AppShellSection/AppShellSection.js.map +1 -0
- package/cjs/components/AppShell/use-resizing/use-resizing.js +26 -0
- package/cjs/components/AppShell/use-resizing/use-resizing.js.map +1 -0
- package/cjs/components/AspectRatio/AspectRatio.js.map +1 -1
- package/cjs/components/AspectRatio/AspectRatio.module.css.js +1 -1
- package/cjs/components/Avatar/Avatar.module.css.js +1 -1
- package/cjs/components/Avatar/AvatarGroup/AvatarGroup.js +8 -7
- package/cjs/components/Avatar/AvatarGroup/AvatarGroup.js.map +1 -1
- package/cjs/components/BackgroundImage/BackgroundImage.js.map +1 -1
- package/cjs/components/BackgroundImage/BackgroundImage.module.css.js +1 -1
- package/cjs/components/Badge/Badge.module.css.js +1 -1
- package/cjs/components/Blockquote/Blockquote.js.map +1 -1
- package/cjs/components/Blockquote/Blockquote.module.css.js +1 -1
- package/cjs/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/cjs/components/Breadcrumbs/Breadcrumbs.module.css.js +1 -1
- package/cjs/components/Burger/Burger.js.map +1 -1
- package/cjs/components/Burger/Burger.module.css.js +1 -1
- package/cjs/components/Button/Button.js +7 -10
- package/cjs/components/Button/Button.js.map +1 -1
- package/cjs/components/Button/Button.module.css.js +1 -1
- package/cjs/components/Button/ButtonGroup/ButtonGroup.js +7 -6
- package/cjs/components/Button/ButtonGroup/ButtonGroup.js.map +1 -1
- package/cjs/components/Center/Center.js.map +1 -1
- package/cjs/components/Center/Center.module.css.js +1 -1
- package/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.module.css.js +1 -1
- package/cjs/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/cjs/components/Code/Code.js.map +1 -1
- package/cjs/components/Code/Code.module.css.js +1 -1
- package/cjs/components/ColorPicker/ColorPicker.js.map +1 -1
- package/cjs/components/ColorPicker/ColorPicker.module.css.js +1 -1
- package/cjs/components/ColorSwatch/ColorSwatch.js.map +1 -1
- package/cjs/components/ColorSwatch/ColorSwatch.module.css.js +1 -1
- package/cjs/components/Combobox/Combobox.module.css.js +1 -1
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js +7 -6
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
- package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.js +6 -4
- package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.js.map +1 -1
- package/cjs/components/Combobox/OptionsDropdown/validate-options.js +34 -0
- package/cjs/components/Combobox/OptionsDropdown/validate-options.js.map +1 -0
- package/cjs/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js +3 -0
- package/cjs/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js.map +1 -1
- package/cjs/components/Container/Container.js.map +1 -1
- package/cjs/components/Container/Container.module.css.js +1 -1
- package/cjs/components/Divider/Divider.module.css.js +1 -1
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/Drawer.module.css.js +1 -1
- package/cjs/components/Drawer/DrawerRoot.js.map +1 -1
- package/cjs/components/Fieldset/Fieldset.module.css.js +1 -1
- package/cjs/components/Group/Group.js.map +1 -1
- package/cjs/components/Group/Group.module.css.js +1 -1
- package/cjs/components/InlineInput/InlineInput.module.css.js +1 -1
- package/cjs/components/Input/Input.js +8 -5
- package/cjs/components/Input/Input.js.map +1 -1
- package/cjs/components/Input/Input.module.css.js +1 -1
- package/cjs/components/Input/InputDescription/InputDescription.js +3 -3
- package/cjs/components/Input/InputDescription/InputDescription.js.map +1 -1
- package/cjs/components/Input/InputError/InputError.js +3 -3
- package/cjs/components/Input/InputError/InputError.js.map +1 -1
- package/cjs/components/Input/InputLabel/InputLabel.js +3 -3
- package/cjs/components/Input/InputLabel/InputLabel.js.map +1 -1
- package/cjs/components/Input/InputPlaceholder/InputPlaceholder.js +3 -3
- package/cjs/components/Input/InputPlaceholder/InputPlaceholder.js.map +1 -1
- package/cjs/components/Input/InputWrapper/InputWrapper.js +3 -3
- package/cjs/components/Input/InputWrapper/InputWrapper.js.map +1 -1
- package/cjs/components/Kbd/Kbd.js.map +1 -1
- package/cjs/components/Kbd/Kbd.module.css.js +1 -1
- package/cjs/components/Loader/Loader.js.map +1 -1
- package/cjs/components/Loader/Loader.module.css.js +1 -1
- package/cjs/components/Loader/loaders/Bars.js +2 -2
- package/cjs/components/Loader/loaders/Bars.js.map +1 -1
- package/cjs/components/Loader/loaders/Dots.js +2 -2
- package/cjs/components/Loader/loaders/Dots.js.map +1 -1
- package/cjs/components/Loader/loaders/Oval.js +2 -2
- package/cjs/components/Loader/loaders/Oval.js.map +1 -1
- package/cjs/components/Mark/Mark.js.map +1 -1
- package/cjs/components/Mark/Mark.module.css.js +1 -1
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/Modal.module.css.js +1 -1
- package/cjs/components/Modal/ModalRoot.js.map +1 -1
- package/cjs/components/ModalBase/ModalBase.module.css.js +1 -1
- package/cjs/components/MultiSelect/MultiSelect.js +5 -2
- package/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- package/cjs/components/Notification/Notification.js.map +1 -1
- package/cjs/components/Notification/Notification.module.css.js +1 -1
- package/cjs/components/Overlay/Overlay.js.map +1 -1
- package/cjs/components/Overlay/Overlay.module.css.js +1 -1
- package/cjs/components/Pagination/Pagination.context.js +13 -0
- package/cjs/components/Pagination/Pagination.context.js.map +1 -0
- package/cjs/components/Pagination/Pagination.icons.js +93 -0
- package/cjs/components/Pagination/Pagination.icons.js.map +1 -0
- package/cjs/components/Pagination/Pagination.js +96 -0
- package/cjs/components/Pagination/Pagination.js.map +1 -0
- package/cjs/components/Pagination/Pagination.module.css.js +8 -0
- package/cjs/components/Pagination/Pagination.module.css.js.map +1 -0
- package/cjs/components/Pagination/PaginationControl/PaginationControl.js +85 -0
- package/cjs/components/Pagination/PaginationControl/PaginationControl.js.map +1 -0
- package/cjs/components/Pagination/PaginationDots/PaginationDots.js +67 -0
- package/cjs/components/Pagination/PaginationDots/PaginationDots.js.map +1 -0
- package/cjs/components/Pagination/PaginationEdges/PaginationEdges.js +103 -0
- package/cjs/components/Pagination/PaginationEdges/PaginationEdges.js.map +1 -0
- package/cjs/components/Pagination/PaginationItems/PaginationItems.js +54 -0
- package/cjs/components/Pagination/PaginationItems/PaginationItems.js.map +1 -0
- package/cjs/components/Pagination/PaginationRoot/PaginationRoot.js +158 -0
- package/cjs/components/Pagination/PaginationRoot/PaginationRoot.js.map +1 -0
- package/cjs/components/Paper/Paper.js.map +1 -1
- package/cjs/components/Paper/Paper.module.css.js +1 -1
- package/cjs/components/Pill/Pill.module.css.js +1 -1
- package/cjs/components/Pill/PillGroup/PillGroup.js +7 -6
- package/cjs/components/Pill/PillGroup/PillGroup.js.map +1 -1
- package/cjs/components/{Pill/PillGroup/PillGroup.module.css.js → PillsInput/PillsInput.module.css.js} +2 -2
- package/cjs/components/PillsInput/PillsInput.module.css.js.map +1 -0
- package/cjs/components/PillsInput/PillsInputField/PillsInputField.js +6 -5
- package/cjs/components/PillsInput/PillsInputField/PillsInputField.js.map +1 -1
- package/cjs/components/Popover/Popover.module.css.js +1 -1
- package/cjs/components/ScrollArea/ScrollArea.js.map +1 -1
- package/cjs/components/ScrollArea/ScrollArea.module.css.js +1 -1
- package/cjs/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.js.map +1 -1
- package/cjs/components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/cjs/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
- package/cjs/components/Select/Select.js +8 -0
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Skeleton/Skeleton.js +112 -0
- package/cjs/components/Skeleton/Skeleton.js.map +1 -0
- package/cjs/components/Skeleton/Skeleton.module.css.js +8 -0
- package/cjs/components/Skeleton/Skeleton.module.css.js.map +1 -0
- package/cjs/components/Slider/RangeSlider/RangeSlider.js.map +1 -1
- package/cjs/components/Slider/Slider/Slider.js +1 -1
- package/cjs/components/Slider/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/Slider.context.js.map +1 -1
- package/cjs/components/Slider/Slider.module.css.js +1 -1
- package/cjs/components/Stack/Stack.js.map +1 -1
- package/cjs/components/Stack/Stack.module.css.js +1 -1
- package/cjs/components/Switch/Switch.js.map +1 -1
- package/cjs/components/Switch/Switch.module.css.js +1 -1
- package/cjs/components/Switch/SwitchGroup/SwitchGroup.js.map +1 -1
- package/cjs/components/Table/Table.js.map +1 -1
- package/cjs/components/Table/Table.module.css.js +1 -1
- package/cjs/components/Tabs/Tabs.module.css.js +1 -1
- package/cjs/components/TagsInput/TagsInput.js +5 -2
- package/cjs/components/TagsInput/TagsInput.js.map +1 -1
- package/cjs/components/Text/Text.module.css.js +1 -1
- package/cjs/components/Title/Title.js.map +1 -1
- package/cjs/components/Title/Title.module.css.js +1 -1
- package/cjs/components/Tooltip/Tooltip.module.css.js +1 -1
- package/cjs/components/TypographyStylesProvider/TypographyStylesProvider.js.map +1 -1
- package/cjs/components/TypographyStylesProvider/TypographyStylesProvider.module.css.js +1 -1
- package/cjs/components/UnstyledButton/UnstyledButton.module.css.js +1 -1
- package/cjs/components/VisuallyHidden/VisuallyHidden.module.css.js +1 -1
- package/cjs/core/Box/Box.js +6 -2
- package/cjs/core/Box/Box.js.map +1 -1
- package/cjs/core/Box/style-props/extract-style-props/extract-style-props.js +9 -3
- package/cjs/core/Box/style-props/extract-style-props/extract-style-props.js.map +1 -1
- package/cjs/core/Box/style-props/parse-style-props/parse-style-props.js +3 -0
- package/cjs/core/Box/style-props/parse-style-props/parse-style-props.js.map +1 -1
- package/cjs/core/MantineProvider/Mantine.context.js.map +1 -1
- package/cjs/core/MantineProvider/MantineClasses/MantineClasses.js +38 -0
- package/cjs/core/MantineProvider/MantineClasses/MantineClasses.js.map +1 -0
- package/cjs/core/MantineProvider/MantineProvider.js +4 -2
- package/cjs/core/MantineProvider/MantineProvider.js.map +1 -1
- package/cjs/core/utils/create-event-handler/create-event-handler.js +13 -0
- package/cjs/core/utils/create-event-handler/create-event-handler.js.map +1 -0
- package/cjs/index.css +1261 -964
- package/cjs/index.js +33 -0
- package/cjs/index.js.map +1 -1
- package/esm/components/Accordion/Accordion.module.css.js +1 -1
- package/esm/components/ActionIcon/ActionIcon.js +1 -1
- package/esm/components/ActionIcon/ActionIcon.js.map +1 -1
- package/esm/components/ActionIcon/ActionIcon.module.css.js +1 -1
- package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js +5 -4
- package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js.map +1 -1
- package/esm/components/Affix/Affix.js.map +1 -1
- package/esm/components/Affix/Affix.module.css.js +1 -1
- package/esm/components/Alert/Alert.module.css.js +1 -1
- package/esm/components/Anchor/Anchor.module.css.js +1 -1
- package/esm/components/AppShell/AppShell.context.js +8 -0
- package/esm/components/AppShell/AppShell.context.js.map +1 -0
- package/esm/components/AppShell/AppShell.js +138 -0
- package/esm/components/AppShell/AppShell.js.map +1 -0
- package/esm/components/AppShell/AppShell.module.css.js +4 -0
- package/esm/components/AppShell/AppShell.module.css.js.map +1 -0
- package/esm/components/AppShell/AppShellAside/AppShellAside.js +64 -0
- package/esm/components/AppShell/AppShellAside/AppShellAside.js.map +1 -0
- package/esm/components/AppShell/AppShellFooter/AppShellFooter.js +63 -0
- package/esm/components/AppShell/AppShellFooter/AppShellFooter.js.map +1 -0
- package/esm/components/AppShell/AppShellHeader/AppShellHeader.js +63 -0
- package/esm/components/AppShell/AppShellHeader/AppShellHeader.js.map +1 -0
- package/esm/components/AppShell/AppShellMain/AppShellMain.js +53 -0
- package/esm/components/AppShell/AppShellMain/AppShellMain.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js +21 -0
- package/esm/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js +60 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js +47 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js +47 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js +60 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js +29 -0
- package/esm/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js +9 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js +15 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js +8 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js +13 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js +44 -0
- package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js +7 -0
- package/esm/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.js.map +1 -0
- package/esm/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js +12 -0
- package/esm/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.js.map +1 -0
- package/esm/components/AppShell/AppShellNavbar/AppShellNavbar.js +64 -0
- package/esm/components/AppShell/AppShellNavbar/AppShellNavbar.js.map +1 -0
- package/esm/components/AppShell/AppShellSection/AppShellSection.js +53 -0
- package/esm/components/AppShell/AppShellSection/AppShellSection.js.map +1 -0
- package/esm/components/AppShell/use-resizing/use-resizing.js +22 -0
- package/esm/components/AppShell/use-resizing/use-resizing.js.map +1 -0
- package/esm/components/AspectRatio/AspectRatio.js.map +1 -1
- package/esm/components/AspectRatio/AspectRatio.module.css.js +1 -1
- package/esm/components/Avatar/Avatar.module.css.js +1 -1
- package/esm/components/Avatar/AvatarGroup/AvatarGroup.js +6 -5
- package/esm/components/Avatar/AvatarGroup/AvatarGroup.js.map +1 -1
- package/esm/components/BackgroundImage/BackgroundImage.js.map +1 -1
- package/esm/components/BackgroundImage/BackgroundImage.module.css.js +1 -1
- package/esm/components/Badge/Badge.module.css.js +1 -1
- package/esm/components/Blockquote/Blockquote.js.map +1 -1
- package/esm/components/Blockquote/Blockquote.module.css.js +1 -1
- package/esm/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/esm/components/Breadcrumbs/Breadcrumbs.module.css.js +1 -1
- package/esm/components/Burger/Burger.js.map +1 -1
- package/esm/components/Burger/Burger.module.css.js +1 -1
- package/esm/components/Button/Button.js +7 -10
- package/esm/components/Button/Button.js.map +1 -1
- package/esm/components/Button/Button.module.css.js +1 -1
- package/esm/components/Button/ButtonGroup/ButtonGroup.js +5 -4
- package/esm/components/Button/ButtonGroup/ButtonGroup.js.map +1 -1
- package/esm/components/Center/Center.js.map +1 -1
- package/esm/components/Center/Center.module.css.js +1 -1
- package/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/esm/components/Checkbox/Checkbox.module.css.js +1 -1
- package/esm/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/esm/components/Code/Code.js.map +1 -1
- package/esm/components/Code/Code.module.css.js +1 -1
- package/esm/components/ColorPicker/ColorPicker.js.map +1 -1
- package/esm/components/ColorPicker/ColorPicker.module.css.js +1 -1
- package/esm/components/ColorSwatch/ColorSwatch.js.map +1 -1
- package/esm/components/ColorSwatch/ColorSwatch.module.css.js +1 -1
- package/esm/components/Combobox/Combobox.module.css.js +1 -1
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js +5 -4
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
- package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.js +6 -4
- package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.js.map +1 -1
- package/esm/components/Combobox/OptionsDropdown/validate-options.js +30 -0
- package/esm/components/Combobox/OptionsDropdown/validate-options.js.map +1 -0
- package/esm/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js +3 -0
- package/esm/components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js.map +1 -1
- package/esm/components/Container/Container.js.map +1 -1
- package/esm/components/Container/Container.module.css.js +1 -1
- package/esm/components/Divider/Divider.module.css.js +1 -1
- package/esm/components/Drawer/Drawer.js.map +1 -1
- package/esm/components/Drawer/Drawer.module.css.js +1 -1
- package/esm/components/Drawer/DrawerRoot.js.map +1 -1
- package/esm/components/Fieldset/Fieldset.module.css.js +1 -1
- package/esm/components/Group/Group.js.map +1 -1
- package/esm/components/Group/Group.module.css.js +1 -1
- package/esm/components/InlineInput/InlineInput.module.css.js +1 -1
- package/esm/components/Input/Input.js +8 -5
- package/esm/components/Input/Input.js.map +1 -1
- package/esm/components/Input/Input.module.css.js +1 -1
- package/esm/components/Input/InputDescription/InputDescription.js +1 -1
- package/esm/components/Input/InputDescription/InputDescription.js.map +1 -1
- package/esm/components/Input/InputError/InputError.js +1 -1
- package/esm/components/Input/InputError/InputError.js.map +1 -1
- package/esm/components/Input/InputLabel/InputLabel.js +1 -1
- package/esm/components/Input/InputLabel/InputLabel.js.map +1 -1
- package/esm/components/Input/InputPlaceholder/InputPlaceholder.js +1 -1
- package/esm/components/Input/InputPlaceholder/InputPlaceholder.js.map +1 -1
- package/esm/components/Input/InputWrapper/InputWrapper.js +1 -1
- package/esm/components/Input/InputWrapper/InputWrapper.js.map +1 -1
- package/esm/components/Kbd/Kbd.js.map +1 -1
- package/esm/components/Kbd/Kbd.module.css.js +1 -1
- package/esm/components/Loader/Loader.js.map +1 -1
- package/esm/components/Loader/Loader.module.css.js +1 -1
- package/esm/components/Loader/loaders/Bars.js +2 -2
- package/esm/components/Loader/loaders/Bars.js.map +1 -1
- package/esm/components/Loader/loaders/Dots.js +2 -2
- package/esm/components/Loader/loaders/Dots.js.map +1 -1
- package/esm/components/Loader/loaders/Oval.js +2 -2
- package/esm/components/Loader/loaders/Oval.js.map +1 -1
- package/esm/components/Mark/Mark.js.map +1 -1
- package/esm/components/Mark/Mark.module.css.js +1 -1
- package/esm/components/Modal/Modal.js.map +1 -1
- package/esm/components/Modal/Modal.module.css.js +1 -1
- package/esm/components/Modal/ModalRoot.js.map +1 -1
- package/esm/components/ModalBase/ModalBase.module.css.js +1 -1
- package/esm/components/MultiSelect/MultiSelect.js +5 -2
- package/esm/components/MultiSelect/MultiSelect.js.map +1 -1
- package/esm/components/Notification/Notification.js.map +1 -1
- package/esm/components/Notification/Notification.module.css.js +1 -1
- package/esm/components/Overlay/Overlay.js.map +1 -1
- package/esm/components/Overlay/Overlay.module.css.js +1 -1
- package/esm/components/Pagination/Pagination.context.js +8 -0
- package/esm/components/Pagination/Pagination.context.js.map +1 -0
- package/esm/components/Pagination/Pagination.icons.js +81 -0
- package/esm/components/Pagination/Pagination.icons.js.map +1 -0
- package/esm/components/Pagination/Pagination.js +88 -0
- package/esm/components/Pagination/Pagination.js.map +1 -0
- package/esm/components/Pagination/Pagination.module.css.js +4 -0
- package/esm/components/Pagination/Pagination.module.css.js.map +1 -0
- package/esm/components/Pagination/PaginationControl/PaginationControl.js +77 -0
- package/esm/components/Pagination/PaginationControl/PaginationControl.js.map +1 -0
- package/esm/components/Pagination/PaginationDots/PaginationDots.js +59 -0
- package/esm/components/Pagination/PaginationDots/PaginationDots.js.map +1 -0
- package/esm/components/Pagination/PaginationEdges/PaginationEdges.js +91 -0
- package/esm/components/Pagination/PaginationEdges/PaginationEdges.js.map +1 -0
- package/esm/components/Pagination/PaginationItems/PaginationItems.js +46 -0
- package/esm/components/Pagination/PaginationItems/PaginationItems.js.map +1 -0
- package/esm/components/Pagination/PaginationRoot/PaginationRoot.js +150 -0
- package/esm/components/Pagination/PaginationRoot/PaginationRoot.js.map +1 -0
- package/esm/components/Paper/Paper.js.map +1 -1
- package/esm/components/Paper/Paper.module.css.js +1 -1
- package/esm/components/Pill/Pill.module.css.js +1 -1
- package/esm/components/Pill/PillGroup/PillGroup.js +5 -4
- package/esm/components/Pill/PillGroup/PillGroup.js.map +1 -1
- package/esm/components/PillsInput/PillsInput.module.css.js +4 -0
- package/esm/components/PillsInput/PillsInput.module.css.js.map +1 -0
- package/esm/components/PillsInput/PillsInputField/PillsInputField.js +4 -3
- package/esm/components/PillsInput/PillsInputField/PillsInputField.js.map +1 -1
- package/esm/components/Popover/Popover.module.css.js +1 -1
- package/esm/components/ScrollArea/ScrollArea.js.map +1 -1
- package/esm/components/ScrollArea/ScrollArea.module.css.js +1 -1
- package/esm/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.js.map +1 -1
- package/esm/components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/esm/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
- package/esm/components/Select/Select.js +8 -0
- package/esm/components/Select/Select.js.map +1 -1
- package/esm/components/Skeleton/Skeleton.js +104 -0
- package/esm/components/Skeleton/Skeleton.js.map +1 -0
- package/esm/components/Skeleton/Skeleton.module.css.js +4 -0
- package/esm/components/Skeleton/Skeleton.module.css.js.map +1 -0
- package/esm/components/Slider/RangeSlider/RangeSlider.js.map +1 -1
- package/esm/components/Slider/Slider/Slider.js +1 -1
- package/esm/components/Slider/Slider/Slider.js.map +1 -1
- package/esm/components/Slider/Slider.context.js.map +1 -1
- package/esm/components/Slider/Slider.module.css.js +1 -1
- package/esm/components/Stack/Stack.js.map +1 -1
- package/esm/components/Stack/Stack.module.css.js +1 -1
- package/esm/components/Switch/Switch.js.map +1 -1
- package/esm/components/Switch/Switch.module.css.js +1 -1
- package/esm/components/Switch/SwitchGroup/SwitchGroup.js.map +1 -1
- package/esm/components/Table/Table.js.map +1 -1
- package/esm/components/Table/Table.module.css.js +1 -1
- package/esm/components/Tabs/Tabs.module.css.js +1 -1
- package/esm/components/TagsInput/TagsInput.js +5 -2
- package/esm/components/TagsInput/TagsInput.js.map +1 -1
- package/esm/components/Text/Text.module.css.js +1 -1
- package/esm/components/Title/Title.js.map +1 -1
- package/esm/components/Title/Title.module.css.js +1 -1
- package/esm/components/Tooltip/Tooltip.module.css.js +1 -1
- package/esm/components/TypographyStylesProvider/TypographyStylesProvider.js.map +1 -1
- package/esm/components/TypographyStylesProvider/TypographyStylesProvider.module.css.js +1 -1
- package/esm/components/UnstyledButton/UnstyledButton.module.css.js +1 -1
- package/esm/components/VisuallyHidden/VisuallyHidden.module.css.js +1 -1
- package/esm/core/Box/Box.js +6 -2
- package/esm/core/Box/Box.js.map +1 -1
- package/esm/core/Box/style-props/extract-style-props/extract-style-props.js +9 -3
- package/esm/core/Box/style-props/extract-style-props/extract-style-props.js.map +1 -1
- package/esm/core/Box/style-props/parse-style-props/parse-style-props.js +3 -0
- package/esm/core/Box/style-props/parse-style-props/parse-style-props.js.map +1 -1
- package/esm/core/MantineProvider/Mantine.context.js.map +1 -1
- package/esm/core/MantineProvider/MantineClasses/MantineClasses.js +30 -0
- package/esm/core/MantineProvider/MantineClasses/MantineClasses.js.map +1 -0
- package/esm/core/MantineProvider/MantineProvider.js +4 -2
- package/esm/core/MantineProvider/MantineProvider.js.map +1 -1
- package/esm/core/utils/create-event-handler/create-event-handler.js +9 -0
- package/esm/core/utils/create-event-handler/create-event-handler.js.map +1 -0
- package/esm/index.css +1261 -964
- package/esm/index.js +15 -0
- package/esm/index.js.map +1 -1
- package/esm/styles/Accordion.css +1 -0
- package/esm/styles/ActionIcon.css +1 -0
- package/esm/styles/Affix.css +1 -0
- package/esm/styles/Alert.css +1 -0
- package/esm/styles/Anchor.css +1 -0
- package/esm/styles/AppShell.css +7 -0
- package/esm/styles/AspectRatio.css +1 -0
- package/esm/styles/Avatar.css +1 -0
- package/esm/styles/BackgroundImage.css +1 -0
- package/esm/styles/Badge.css +1 -0
- package/esm/styles/Blockquote.css +1 -0
- package/esm/styles/Breadcrumbs.css +1 -0
- package/esm/styles/Burger.css +1 -0
- package/esm/styles/Button.css +1 -0
- package/esm/styles/Center.css +1 -0
- package/esm/styles/Checkbox.css +1 -0
- package/esm/styles/Code.css +1 -0
- package/esm/styles/ColorPicker.css +1 -0
- package/esm/styles/ColorSwatch.css +1 -0
- package/esm/styles/Combobox.css +1 -0
- package/esm/styles/Container.css +1 -0
- package/esm/styles/Divider.css +1 -0
- package/esm/styles/Drawer.css +1 -0
- package/esm/styles/Fieldset.css +1 -0
- package/esm/styles/Group.css +1 -0
- package/esm/styles/InlineInput.css +1 -0
- package/esm/styles/Input.css +3 -0
- package/esm/styles/Kbd.css +1 -0
- package/esm/styles/Loader.css +1 -0
- package/esm/styles/Mark.css +1 -0
- package/esm/styles/Modal.css +1 -0
- package/esm/styles/ModalBase.css +1 -0
- package/esm/styles/Notification.css +1 -0
- package/esm/styles/Overlay.css +1 -0
- package/esm/styles/Pagination.css +1 -0
- package/esm/styles/Paper.css +1 -0
- package/esm/styles/Pill.css +1 -0
- package/esm/styles/PillsInput.css +1 -0
- package/esm/styles/Popover.css +1 -0
- package/esm/styles/ScrollArea.css +1 -0
- package/esm/styles/SegmentedControl.css +1 -0
- package/esm/styles/Skeleton.css +1 -0
- package/esm/styles/Slider.css +1 -0
- package/esm/styles/Stack.css +1 -0
- package/esm/styles/Switch.css +1 -0
- package/esm/styles/Table.css +1 -0
- package/esm/styles/Tabs.css +1 -0
- package/esm/styles/Text.css +1 -0
- package/esm/styles/Title.css +1 -0
- package/esm/styles/Tooltip.css +1 -0
- package/esm/styles/TypographyStylesProvider.css +1 -0
- package/esm/styles/UnstyledButton.css +1 -0
- package/esm/styles/VisuallyHidden.css +1 -0
- package/esm/styles/global.css +1 -0
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +2 -5
- package/lib/components/Affix/Affix.d.ts +0 -3
- package/lib/components/Affix/index.d.ts +1 -1
- package/lib/components/AppShell/AppShell.context.d.ts +13 -0
- package/lib/components/AppShell/AppShell.d.ts +96 -0
- package/lib/components/AppShell/AppShellAside/AppShellAside.d.ts +19 -0
- package/lib/components/AppShell/AppShellFooter/AppShellFooter.d.ts +27 -0
- package/lib/components/AppShell/AppShellHeader/AppShellHeader.d.ts +27 -0
- package/lib/components/AppShell/AppShellMain/AppShellMain.d.ts +16 -0
- package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +11 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.d.ts +12 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-footer-variables/assign-footer-variables.d.ts +9 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-header-variables/assign-header-variables.d.ts +9 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-header-variables.d.ts +12 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.d.ts +12 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-navbar-variables.d.ts +12 -0
- package/lib/components/AppShell/AppShellMediaStyles/assign-padding-variables/assign-padding-variables.d.ts +9 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-base-size/get-base-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-base-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-breakpoint-value/get-breakpoint-value.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-breakpoint-value.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-padding-value/get-padding-value.d.ts +1 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-padding-value.d.ts +1 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints/get-sorted-breakpoints.d.ts +5 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-sorted-breakpoints.d.ts +5 -0
- package/lib/components/AppShell/AppShellMediaStyles/get-variables/get-variables.d.ts +20 -0
- package/lib/components/AppShell/AppShellMediaStyles/is-primitive-size/is-primitive-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/is-primitive-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/is-responsive-size/is-responsive-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellMediaStyles/is-responsive-size.d.ts +2 -0
- package/lib/components/AppShell/AppShellNavbar/AppShellNavbar.d.ts +19 -0
- package/lib/components/AppShell/AppShellSection/AppShellSection.d.ts +33 -0
- package/lib/components/AppShell/index.d.ts +14 -0
- package/lib/components/AppShell/use-resizing/use-resizing.d.ts +6 -0
- package/lib/components/AspectRatio/AspectRatio.d.ts +0 -3
- package/lib/components/AspectRatio/index.d.ts +1 -1
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +2 -5
- package/lib/components/Avatar/index.d.ts +1 -1
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +0 -4
- package/lib/components/BackgroundImage/index.d.ts +1 -1
- package/lib/components/Blockquote/Blockquote.d.ts +0 -3
- package/lib/components/Blockquote/index.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
- package/lib/components/Breadcrumbs/index.d.ts +1 -1
- package/lib/components/Burger/Burger.d.ts +0 -3
- package/lib/components/Burger/index.d.ts +1 -1
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -5
- package/lib/components/Center/Center.d.ts +0 -4
- package/lib/components/Center/index.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +0 -3
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +0 -1
- package/lib/components/Checkbox/index.d.ts +2 -2
- package/lib/components/Code/Code.d.ts +0 -3
- package/lib/components/Code/index.d.ts +1 -1
- package/lib/components/ColorPicker/ColorPicker.d.ts +0 -3
- package/lib/components/ColorPicker/index.d.ts +1 -1
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +0 -5
- package/lib/components/ColorSwatch/index.d.ts +1 -1
- package/lib/components/Combobox/Combobox.d.ts +1 -1
- package/lib/components/Combobox/ComboboxChevron/ComboboxChevron.d.ts +2 -2
- package/lib/components/Combobox/OptionsDropdown/validate-options.d.ts +1 -0
- package/lib/components/Container/Container.d.ts +0 -3
- package/lib/components/Container/index.d.ts +1 -1
- package/lib/components/Drawer/Drawer.d.ts +0 -3
- package/lib/components/Drawer/DrawerRoot.d.ts +0 -3
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Group/Group.d.ts +0 -3
- package/lib/components/Group/index.d.ts +1 -1
- package/lib/components/Input/Input.d.ts +2 -0
- package/lib/components/Input/InputDescription/InputDescription.d.ts +0 -3
- package/lib/components/Input/InputError/InputError.d.ts +0 -3
- package/lib/components/Input/InputLabel/InputLabel.d.ts +0 -3
- package/lib/components/Input/InputPlaceholder/InputPlaceholder.d.ts +0 -3
- package/lib/components/Input/index.d.ts +4 -4
- package/lib/components/Input/use-input-props.d.ts +46 -46
- package/lib/components/InputBase/InputBase.d.ts +1 -1
- package/lib/components/Kbd/Kbd.d.ts +0 -3
- package/lib/components/Kbd/index.d.ts +1 -1
- package/lib/components/Loader/Loader.d.ts +0 -1
- package/lib/components/Mark/Mark.d.ts +0 -1
- package/lib/components/Modal/Modal.d.ts +0 -3
- package/lib/components/Modal/ModalRoot.d.ts +0 -3
- package/lib/components/Modal/index.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +0 -3
- package/lib/components/Notification/index.d.ts +1 -1
- package/lib/components/Overlay/Overlay.d.ts +0 -4
- package/lib/components/Overlay/index.d.ts +1 -1
- package/lib/components/Pagination/Pagination.context.d.ts +21 -0
- package/lib/components/Pagination/Pagination.d.ts +61 -0
- package/lib/components/Pagination/Pagination.icons.d.ts +12 -0
- package/lib/components/Pagination/PaginationControl/PaginationControl.d.ts +20 -0
- package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +20 -0
- package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +47 -0
- package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +10 -0
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +49 -0
- package/lib/components/Pagination/index.d.ts +12 -0
- package/lib/components/Paper/Paper.d.ts +0 -1
- package/lib/components/Paper/index.d.ts +1 -1
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +2 -2
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollArea.d.ts +0 -1
- package/lib/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.d.ts +0 -1
- package/lib/components/ScrollArea/index.d.ts +1 -1
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +0 -1
- package/lib/components/SegmentedControl/index.d.ts +1 -1
- package/lib/components/Skeleton/Skeleton.d.ts +32 -0
- package/lib/components/Skeleton/index.d.ts +2 -0
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +1 -3
- package/lib/components/Slider/Slider/Slider.d.ts +1 -3
- package/lib/components/Slider/Slider.context.d.ts +0 -1
- package/lib/components/Slider/index.d.ts +1 -1
- package/lib/components/Stack/Stack.d.ts +0 -3
- package/lib/components/Stack/index.d.ts +1 -1
- package/lib/components/Switch/Switch.d.ts +0 -3
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +0 -1
- package/lib/components/Switch/index.d.ts +2 -2
- package/lib/components/Table/Table.d.ts +0 -1
- package/lib/components/Table/index.d.ts +1 -1
- package/lib/components/Title/Title.d.ts +0 -3
- package/lib/components/Title/index.d.ts +1 -1
- package/lib/components/Tooltip/Tooltip.types.d.ts +0 -1
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/TypographyStylesProvider/TypographyStylesProvider.d.ts +0 -3
- package/lib/components/TypographyStylesProvider/index.d.ts +1 -1
- package/lib/components/index.d.ts +3 -0
- package/lib/core/Box/Box.d.ts +6 -1
- package/lib/core/MantineProvider/Mantine.context.d.ts +1 -0
- package/lib/core/MantineProvider/MantineClasses/MantineClasses.d.ts +2 -0
- package/lib/core/MantineProvider/MantineClasses/index.d.ts +1 -0
- package/lib/core/MantineProvider/MantineProvider.d.ts +1 -3
- package/lib/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.d.ts +1 -1
- package/lib/core/utils/create-event-handler/create-event-handler.d.ts +3 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/package.json +5 -5
- package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js +0 -8
- package/cjs/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js.map +0 -1
- package/cjs/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +0 -8
- package/cjs/components/Avatar/AvatarGroup/AvatarGroup.module.css.js.map +0 -1
- package/cjs/components/Button/ButtonGroup/ButtonGroup.module.css.js +0 -8
- package/cjs/components/Button/ButtonGroup/ButtonGroup.module.css.js.map +0 -1
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js +0 -8
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js.map +0 -1
- package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js +0 -8
- package/cjs/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js.map +0 -1
- package/cjs/components/Input/InputPlaceholder/InputPlaceholder.module.css.js +0 -8
- package/cjs/components/Input/InputPlaceholder/InputPlaceholder.module.css.js.map +0 -1
- package/cjs/components/Input/InputWrapper/InputWrapper.module.css.js +0 -8
- package/cjs/components/Input/InputWrapper/InputWrapper.module.css.js.map +0 -1
- package/cjs/components/Loader/loaders/Bars.module.css.js +0 -8
- package/cjs/components/Loader/loaders/Bars.module.css.js.map +0 -1
- package/cjs/components/Loader/loaders/Dots.module.css.js +0 -8
- package/cjs/components/Loader/loaders/Dots.module.css.js.map +0 -1
- package/cjs/components/Loader/loaders/Oval.module.css.js +0 -8
- package/cjs/components/Loader/loaders/Oval.module.css.js.map +0 -1
- package/cjs/components/Pill/PillGroup/PillGroup.module.css.js.map +0 -1
- package/cjs/components/PillsInput/PillsInputField/PillsInputField.module.css.js +0 -8
- package/cjs/components/PillsInput/PillsInputField/PillsInputField.module.css.js.map +0 -1
- package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js +0 -4
- package/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.module.css.js.map +0 -1
- package/esm/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +0 -4
- package/esm/components/Avatar/AvatarGroup/AvatarGroup.module.css.js.map +0 -1
- package/esm/components/Button/ButtonGroup/ButtonGroup.module.css.js +0 -4
- package/esm/components/Button/ButtonGroup/ButtonGroup.module.css.js.map +0 -1
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js +0 -4
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.module.css.js.map +0 -1
- package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js +0 -4
- package/esm/components/Combobox/OptionsDropdown/OptionsDropdown.module.css.js.map +0 -1
- package/esm/components/Input/InputPlaceholder/InputPlaceholder.module.css.js +0 -4
- package/esm/components/Input/InputPlaceholder/InputPlaceholder.module.css.js.map +0 -1
- package/esm/components/Input/InputWrapper/InputWrapper.module.css.js +0 -4
- package/esm/components/Input/InputWrapper/InputWrapper.module.css.js.map +0 -1
- package/esm/components/Loader/loaders/Bars.module.css.js +0 -4
- package/esm/components/Loader/loaders/Bars.module.css.js.map +0 -1
- package/esm/components/Loader/loaders/Dots.module.css.js +0 -4
- package/esm/components/Loader/loaders/Dots.module.css.js.map +0 -1
- package/esm/components/Loader/loaders/Oval.module.css.js +0 -4
- package/esm/components/Loader/loaders/Oval.module.css.js.map +0 -1
- package/esm/components/Pill/PillGroup/PillGroup.module.css.js +0 -4
- package/esm/components/Pill/PillGroup/PillGroup.module.css.js.map +0 -1
- package/esm/components/PillsInput/PillsInputField/PillsInputField.module.css.js +0 -4
- package/esm/components/PillsInput/PillsInputField/PillsInputField.module.css.js.map +0 -1
|
@@ -9,7 +9,6 @@ import { ModalContent } from './ModalContent';
|
|
|
9
9
|
import { ModalTitle } from './ModalTitle';
|
|
10
10
|
import { ModalHeader } from './ModalHeader';
|
|
11
11
|
export type ModalStylesNames = ModalRootStylesNames;
|
|
12
|
-
export type ModalVariant = string;
|
|
13
12
|
export type ModalCssVariables = ModalRootCssVariables;
|
|
14
13
|
export interface ModalProps extends ModalRootProps {
|
|
15
14
|
__staticSelector?: string;
|
|
@@ -31,7 +30,6 @@ export type ModalFactory = Factory<{
|
|
|
31
30
|
ref: HTMLDivElement;
|
|
32
31
|
stylesNames: ModalStylesNames;
|
|
33
32
|
vars: ModalCssVariables;
|
|
34
|
-
variant: ModalVariant;
|
|
35
33
|
staticComponents: {
|
|
36
34
|
Root: typeof ModalRoot;
|
|
37
35
|
Overlay: typeof ModalOverlay;
|
|
@@ -47,7 +45,6 @@ export declare const Modal: import("../../core").MantineComponent<{
|
|
|
47
45
|
ref: HTMLDivElement;
|
|
48
46
|
stylesNames: ModalStylesNames;
|
|
49
47
|
vars: ModalCssVariables;
|
|
50
|
-
variant: ModalVariant;
|
|
51
48
|
staticComponents: {
|
|
52
49
|
Root: typeof ModalRoot;
|
|
53
50
|
Overlay: typeof ModalOverlay;
|
|
@@ -3,7 +3,6 @@ import { StylesApiProps, Factory, MantineRadius } from '../../core';
|
|
|
3
3
|
import { ModalBaseProps, ModalBaseStylesNames } from '../ModalBase';
|
|
4
4
|
import { ScrollAreaComponent } from './Modal.context';
|
|
5
5
|
export type ModalRootStylesNames = ModalBaseStylesNames;
|
|
6
|
-
export type ModalRootVariant = string;
|
|
7
6
|
export type ModalRootCssVariables = {
|
|
8
7
|
root: '--modal-radius' | '--modal-size' | '--modal-y-offset' | '--modal-x-offset';
|
|
9
8
|
};
|
|
@@ -27,7 +26,6 @@ export type ModalRootFactory = Factory<{
|
|
|
27
26
|
ref: HTMLDivElement;
|
|
28
27
|
stylesNames: ModalRootStylesNames;
|
|
29
28
|
vars: ModalRootCssVariables;
|
|
30
|
-
variant: ModalRootVariant;
|
|
31
29
|
compound: true;
|
|
32
30
|
}>;
|
|
33
31
|
export declare const ModalRoot: import("../../core").MantineComponent<{
|
|
@@ -35,6 +33,5 @@ export declare const ModalRoot: import("../../core").MantineComponent<{
|
|
|
35
33
|
ref: HTMLDivElement;
|
|
36
34
|
stylesNames: ModalRootStylesNames;
|
|
37
35
|
vars: ModalRootCssVariables;
|
|
38
|
-
variant: ModalRootVariant;
|
|
39
36
|
compound: true;
|
|
40
37
|
}>;
|
|
@@ -6,7 +6,7 @@ export { ModalContent } from './ModalContent';
|
|
|
6
6
|
export { ModalHeader } from './ModalHeader';
|
|
7
7
|
export { ModalOverlay } from './ModalOverlay';
|
|
8
8
|
export { ModalTitle } from './ModalTitle';
|
|
9
|
-
export type { ModalCssVariables, ModalFactory, ModalProps, ModalStylesNames
|
|
9
|
+
export type { ModalCssVariables, ModalFactory, ModalProps, ModalStylesNames } from './Modal';
|
|
10
10
|
export type { ModalRootProps } from './ModalRoot';
|
|
11
11
|
export type { ModalBodyProps } from './ModalBody';
|
|
12
12
|
export type { ModalCloseButtonProps } from './ModalCloseButton';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, Factory, MantineRadius, MantineColor } from '../../core';
|
|
3
3
|
export type NotificationStylesNames = 'root' | 'icon' | 'loader' | 'body' | 'title' | 'description' | 'closeButton';
|
|
4
|
-
export type NotificationVariant = string;
|
|
5
4
|
export type NotificationCssVariables = {
|
|
6
5
|
root: '--notification-radius' | '--notification-color';
|
|
7
6
|
};
|
|
@@ -33,12 +32,10 @@ export type NotificationFactory = Factory<{
|
|
|
33
32
|
ref: HTMLDivElement;
|
|
34
33
|
stylesNames: NotificationStylesNames;
|
|
35
34
|
vars: NotificationCssVariables;
|
|
36
|
-
variant: NotificationVariant;
|
|
37
35
|
}>;
|
|
38
36
|
export declare const Notification: import("../../core").MantineComponent<{
|
|
39
37
|
props: NotificationProps;
|
|
40
38
|
ref: HTMLDivElement;
|
|
41
39
|
stylesNames: NotificationStylesNames;
|
|
42
40
|
vars: NotificationCssVariables;
|
|
43
|
-
variant: NotificationVariant;
|
|
44
41
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Notification } from './Notification';
|
|
2
|
-
export type { NotificationCssVariables, NotificationFactory, NotificationProps, NotificationStylesNames,
|
|
2
|
+
export type { NotificationCssVariables, NotificationFactory, NotificationProps, NotificationStylesNames, } from './Notification';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, PolymorphicFactory, MantineRadius } from '../../core';
|
|
3
3
|
export type OverlayStylesNames = 'root';
|
|
4
|
-
export type OverlayVariant = string;
|
|
5
4
|
export type OverlayCssVariables = {
|
|
6
5
|
root: '--overlay-bg' | '--overlay-filter' | '--overlay-radius' | '--overlay-z-index';
|
|
7
6
|
};
|
|
@@ -31,7 +30,6 @@ export type OverlayFactory = PolymorphicFactory<{
|
|
|
31
30
|
defaultComponent: 'div';
|
|
32
31
|
stylesNames: OverlayStylesNames;
|
|
33
32
|
vars: OverlayCssVariables;
|
|
34
|
-
variant: OverlayVariant;
|
|
35
33
|
}>;
|
|
36
34
|
export declare const Overlay: (<C = "div">(props: import("../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, OverlayProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(OverlayProps & {
|
|
37
35
|
component?: any;
|
|
@@ -45,12 +43,10 @@ export declare const Overlay: (<C = "div">(props: import("../../core/factory/cre
|
|
|
45
43
|
defaultComponent: 'div';
|
|
46
44
|
stylesNames: OverlayStylesNames;
|
|
47
45
|
vars: OverlayCssVariables;
|
|
48
|
-
variant: OverlayVariant;
|
|
49
46
|
}> & import("../../core/factory/factory").ComponentClasses<{
|
|
50
47
|
props: OverlayProps;
|
|
51
48
|
defaultRef: HTMLDivElement;
|
|
52
49
|
defaultComponent: 'div';
|
|
53
50
|
stylesNames: OverlayStylesNames;
|
|
54
51
|
vars: OverlayCssVariables;
|
|
55
|
-
variant: OverlayVariant;
|
|
56
52
|
}> & Record<string, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Overlay } from './Overlay';
|
|
2
|
-
export type { OverlayCssVariables, OverlayFactory, OverlayProps, OverlayStylesNames,
|
|
2
|
+
export type { OverlayCssVariables, OverlayFactory, OverlayProps, OverlayStylesNames, } from './Overlay';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GetStylesApi } from '../../core';
|
|
3
|
+
import type { PaginationRootFactory } from './PaginationRoot/PaginationRoot';
|
|
4
|
+
interface PaginationContext {
|
|
5
|
+
total: number;
|
|
6
|
+
range: (number | 'dots')[];
|
|
7
|
+
active: number;
|
|
8
|
+
disabled: boolean | undefined;
|
|
9
|
+
getItemProps?(page: number): Record<string, any>;
|
|
10
|
+
onChange(page: number): void;
|
|
11
|
+
onNext(): void;
|
|
12
|
+
onPrevious(): void;
|
|
13
|
+
onFirst(): void;
|
|
14
|
+
onLast(): void;
|
|
15
|
+
getStyles: GetStylesApi<PaginationRootFactory>;
|
|
16
|
+
}
|
|
17
|
+
export declare const PaginationProvider: ({ children, value }: {
|
|
18
|
+
value: PaginationContext;
|
|
19
|
+
children: import("react").ReactNode;
|
|
20
|
+
}) => JSX.Element, usePaginationContext: () => PaginationContext;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Factory, MantineSize } from '../../core';
|
|
2
|
+
import { PaginationRoot, PaginationRootCssVariables, PaginationRootProps, PaginationRootStylesNames } from './PaginationRoot/PaginationRoot';
|
|
3
|
+
import { PaginationControl } from './PaginationControl/PaginationControl';
|
|
4
|
+
import { PaginationDots } from './PaginationDots/PaginationDots';
|
|
5
|
+
import { PaginationFirst, PaginationLast, PaginationNext, PaginationPrevious } from './PaginationEdges/PaginationEdges';
|
|
6
|
+
import { PaginationItems } from './PaginationItems/PaginationItems';
|
|
7
|
+
import { PaginationIcon } from './Pagination.icons';
|
|
8
|
+
export type PaginationStylesNames = PaginationRootStylesNames;
|
|
9
|
+
export type PaginationCssVariables = PaginationRootCssVariables;
|
|
10
|
+
export interface PaginationProps extends PaginationRootProps {
|
|
11
|
+
/** Determines whether first/last controls should be rendered, false by default */
|
|
12
|
+
withEdges?: boolean;
|
|
13
|
+
/** Determines whether next/previous controls should be rendered, true by default */
|
|
14
|
+
withControls?: boolean;
|
|
15
|
+
/** Adds props to next/previous/first/last controls */
|
|
16
|
+
getControlProps?(control: 'first' | 'previous' | 'last' | 'next'): Record<string, any>;
|
|
17
|
+
/** Next control icon component */
|
|
18
|
+
nextIcon?: PaginationIcon;
|
|
19
|
+
/** Previous control icon component */
|
|
20
|
+
previousIcon?: PaginationIcon;
|
|
21
|
+
/** Last control icon component */
|
|
22
|
+
lastIcon?: PaginationIcon;
|
|
23
|
+
/** First control icon component */
|
|
24
|
+
firstIcon?: PaginationIcon;
|
|
25
|
+
/** Dots icon component */
|
|
26
|
+
dotsIcon?: PaginationIcon;
|
|
27
|
+
/** Key of `theme.spacing`, gap between controls, `8` by default */
|
|
28
|
+
gap?: MantineSize | (string & {}) | number;
|
|
29
|
+
}
|
|
30
|
+
export type PaginationFactory = Factory<{
|
|
31
|
+
props: PaginationProps;
|
|
32
|
+
ref: HTMLDivElement;
|
|
33
|
+
stylesNames: PaginationStylesNames;
|
|
34
|
+
vars: PaginationCssVariables;
|
|
35
|
+
staticComponents: {
|
|
36
|
+
Root: typeof PaginationRoot;
|
|
37
|
+
Control: typeof PaginationControl;
|
|
38
|
+
Dots: typeof PaginationDots;
|
|
39
|
+
First: typeof PaginationFirst;
|
|
40
|
+
Last: typeof PaginationLast;
|
|
41
|
+
Next: typeof PaginationNext;
|
|
42
|
+
Previous: typeof PaginationPrevious;
|
|
43
|
+
Items: typeof PaginationItems;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
export declare const Pagination: import("../../core").MantineComponent<{
|
|
47
|
+
props: PaginationProps;
|
|
48
|
+
ref: HTMLDivElement;
|
|
49
|
+
stylesNames: PaginationStylesNames;
|
|
50
|
+
vars: PaginationCssVariables;
|
|
51
|
+
staticComponents: {
|
|
52
|
+
Root: typeof PaginationRoot;
|
|
53
|
+
Control: typeof PaginationControl;
|
|
54
|
+
Dots: typeof PaginationDots;
|
|
55
|
+
First: typeof PaginationFirst;
|
|
56
|
+
Last: typeof PaginationLast;
|
|
57
|
+
Next: typeof PaginationNext;
|
|
58
|
+
Previous: typeof PaginationPrevious;
|
|
59
|
+
Items: typeof PaginationItems;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface _PaginationIconProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
3
|
+
path: string;
|
|
4
|
+
}
|
|
5
|
+
export type PaginationIconProps = Omit<_PaginationIconProps, 'path'>;
|
|
6
|
+
export type PaginationIcon = React.FC<PaginationIconProps>;
|
|
7
|
+
export declare const PaginationNextIcon: (props: PaginationIconProps) => JSX.Element;
|
|
8
|
+
export declare const PaginationPreviousIcon: (props: PaginationIconProps) => JSX.Element;
|
|
9
|
+
export declare const PaginationFirstIcon: (props: PaginationIconProps) => JSX.Element;
|
|
10
|
+
export declare const PaginationLastIcon: (props: PaginationIconProps) => JSX.Element;
|
|
11
|
+
export declare const PaginationDotsIcon: (props: PaginationIconProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
|
|
2
|
+
export type PaginationControlStylesNames = 'control';
|
|
3
|
+
export interface PaginationControlProps extends BoxProps, StylesApiProps<PaginationControlFactory>, ElementProps<'button'> {
|
|
4
|
+
/** Determines whether control should have active styles */
|
|
5
|
+
active?: boolean;
|
|
6
|
+
/** Determines whether control should have padding, true by default */
|
|
7
|
+
withPadding?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type PaginationControlFactory = Factory<{
|
|
10
|
+
props: PaginationControlProps;
|
|
11
|
+
ref: HTMLButtonElement;
|
|
12
|
+
stylesNames: PaginationControlStylesNames;
|
|
13
|
+
compound: true;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const PaginationControl: import("../../../core").MantineComponent<{
|
|
16
|
+
props: PaginationControlProps;
|
|
17
|
+
ref: HTMLButtonElement;
|
|
18
|
+
stylesNames: PaginationControlStylesNames;
|
|
19
|
+
compound: true;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
|
|
3
|
+
import { PaginationIconProps } from '../Pagination.icons';
|
|
4
|
+
export type PaginationDotsStylesNames = 'dots';
|
|
5
|
+
export interface PaginationDotsProps extends BoxProps, StylesApiProps<PaginationDotsFactory>, ElementProps<'div'> {
|
|
6
|
+
/** Custom dots icon component, must accept svg element props and size prop */
|
|
7
|
+
icon?: React.FC<PaginationIconProps>;
|
|
8
|
+
}
|
|
9
|
+
export type PaginationDotsFactory = Factory<{
|
|
10
|
+
props: PaginationDotsProps;
|
|
11
|
+
ref: HTMLDivElement;
|
|
12
|
+
stylesNames: PaginationDotsStylesNames;
|
|
13
|
+
compound: true;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const PaginationDots: import("../../../core").MantineComponent<{
|
|
16
|
+
props: PaginationDotsProps;
|
|
17
|
+
ref: HTMLDivElement;
|
|
18
|
+
stylesNames: PaginationDotsStylesNames;
|
|
19
|
+
compound: true;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps } from '../../../core';
|
|
3
|
+
import { PaginationIconProps } from '../Pagination.icons';
|
|
4
|
+
export interface CreateEdgeComponent {
|
|
5
|
+
icon: React.FC<PaginationIconProps>;
|
|
6
|
+
name: string;
|
|
7
|
+
action: 'onNext' | 'onPrevious' | 'onFirst' | 'onLast';
|
|
8
|
+
type: 'next' | 'previous';
|
|
9
|
+
}
|
|
10
|
+
export interface PaginationEdgeProps extends BoxProps {
|
|
11
|
+
icon?: React.FC<PaginationIconProps>;
|
|
12
|
+
}
|
|
13
|
+
export declare function createEdgeComponent({ icon, name, action, type }: CreateEdgeComponent): (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
|
|
14
|
+
component?: any;
|
|
15
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
|
|
16
|
+
ref?: any;
|
|
17
|
+
}) | (PaginationEdgeProps & {
|
|
18
|
+
component: React.ElementType<any>;
|
|
19
|
+
})>, never> & Record<string, never>;
|
|
20
|
+
export declare const PaginationNext: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
|
|
21
|
+
component?: any;
|
|
22
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
|
|
23
|
+
ref?: any;
|
|
24
|
+
}) | (PaginationEdgeProps & {
|
|
25
|
+
component: React.ElementType<any>;
|
|
26
|
+
})>, never> & Record<string, never>;
|
|
27
|
+
export declare const PaginationPrevious: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
|
|
28
|
+
component?: any;
|
|
29
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
|
|
30
|
+
ref?: any;
|
|
31
|
+
}) | (PaginationEdgeProps & {
|
|
32
|
+
component: React.ElementType<any>;
|
|
33
|
+
})>, never> & Record<string, never>;
|
|
34
|
+
export declare const PaginationFirst: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
|
|
35
|
+
component?: any;
|
|
36
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
|
|
37
|
+
ref?: any;
|
|
38
|
+
}) | (PaginationEdgeProps & {
|
|
39
|
+
component: React.ElementType<any>;
|
|
40
|
+
})>, never> & Record<string, never>;
|
|
41
|
+
export declare const PaginationLast: (<C = "button">(props: import("../../../core/factory/create-polymorphic-component").PolymorphicComponentProps<C, PaginationEdgeProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(PaginationEdgeProps & {
|
|
42
|
+
component?: any;
|
|
43
|
+
} & Omit<Omit<any, "ref">, "component" | keyof PaginationEdgeProps> & {
|
|
44
|
+
ref?: any;
|
|
45
|
+
}) | (PaginationEdgeProps & {
|
|
46
|
+
component: React.ElementType<any>;
|
|
47
|
+
})>, never> & Record<string, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaginationIcon } from '../Pagination.icons';
|
|
3
|
+
export interface PaginationItemsProps {
|
|
4
|
+
/** Dots icon component */
|
|
5
|
+
dotsIcon?: PaginationIcon;
|
|
6
|
+
}
|
|
7
|
+
export declare function PaginationItems({ dotsIcon }: PaginationItemsProps): JSX.Element;
|
|
8
|
+
export declare namespace PaginationItems {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { BoxProps, StylesApiProps, ElementProps, Factory, MantineSize, MantineColor, MantineRadius } from '../../../core';
|
|
2
|
+
export type PaginationRootStylesNames = 'root' | 'control' | 'dots';
|
|
3
|
+
export type PaginationRootCssVariables = {
|
|
4
|
+
root: '--pagination-control-size' | '--pagination-control-radius' | '--pagination-control-fz' | '--pagination-active-bg';
|
|
5
|
+
};
|
|
6
|
+
export interface PaginationRootProps extends BoxProps, StylesApiProps<PaginationRootFactory>, ElementProps<'div', 'value' | 'onChange'> {
|
|
7
|
+
/** `height` and `min-width` of controls, `'md'` by default */
|
|
8
|
+
size?: MantineSize | (string & {}) | number;
|
|
9
|
+
/** Total number of pages, must be an integer */
|
|
10
|
+
total: number;
|
|
11
|
+
/** Active page for controlled component, must be an integer in [0, total] interval */
|
|
12
|
+
value?: number;
|
|
13
|
+
/** Active page for uncontrolled component, must be an integer in [0, total] interval */
|
|
14
|
+
defaultValue?: number;
|
|
15
|
+
/** Called when page changes */
|
|
16
|
+
onChange?(value: number): void;
|
|
17
|
+
/** Determines whether all controls should be disabled, `false` by default */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Number of siblings displayed on the left/right side of the selected page, `1` by default */
|
|
20
|
+
siblings?: number;
|
|
21
|
+
/** Number of elements visible on the left/right edges, `1` by default */
|
|
22
|
+
boundaries?: number;
|
|
23
|
+
/** Key of `theme.colors`, active item color, `theme.primaryColor` by default */
|
|
24
|
+
color?: MantineColor;
|
|
25
|
+
/** Key of `theme.radius` or any valid CSS value to set `border-radius`, numbers are converted to rem, `theme.defaultRadius` by default */
|
|
26
|
+
radius?: MantineRadius | (string & {}) | number;
|
|
27
|
+
/** Called when next page control is clicked */
|
|
28
|
+
onNextPage?(): void;
|
|
29
|
+
/** Called when previous page control is clicked */
|
|
30
|
+
onPreviousPage?(): void;
|
|
31
|
+
/** Called when first page control is clicked */
|
|
32
|
+
onFirstPage?(): void;
|
|
33
|
+
/** Called when last page control is clicked */
|
|
34
|
+
onLastPage?(): void;
|
|
35
|
+
/** Additional props passed down to controls */
|
|
36
|
+
getItemProps?(page: number): Record<string, any>;
|
|
37
|
+
}
|
|
38
|
+
export type PaginationRootFactory = Factory<{
|
|
39
|
+
props: PaginationRootProps;
|
|
40
|
+
ref: HTMLDivElement;
|
|
41
|
+
stylesNames: PaginationRootStylesNames;
|
|
42
|
+
vars: PaginationRootCssVariables;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const PaginationRoot: import("../../../core").MantineComponent<{
|
|
45
|
+
props: PaginationRootProps;
|
|
46
|
+
ref: HTMLDivElement;
|
|
47
|
+
stylesNames: PaginationRootStylesNames;
|
|
48
|
+
vars: PaginationRootCssVariables;
|
|
49
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Pagination } from './Pagination';
|
|
2
|
+
export { PaginationControl } from './PaginationControl/PaginationControl';
|
|
3
|
+
export { PaginationDots } from './PaginationDots/PaginationDots';
|
|
4
|
+
export { PaginationFirst, PaginationLast, PaginationNext, PaginationPrevious, } from './PaginationEdges/PaginationEdges';
|
|
5
|
+
export { PaginationItems } from './PaginationItems/PaginationItems';
|
|
6
|
+
export { PaginationRoot } from './PaginationRoot/PaginationRoot';
|
|
7
|
+
export type { PaginationCssVariables, PaginationFactory, PaginationProps, PaginationStylesNames, } from './Pagination';
|
|
8
|
+
export type { PaginationRootProps } from './PaginationRoot/PaginationRoot';
|
|
9
|
+
export type { PaginationControlProps } from './PaginationControl/PaginationControl';
|
|
10
|
+
export type { PaginationDotsProps } from './PaginationDots/PaginationDots';
|
|
11
|
+
export type { PaginationEdgeProps } from './PaginationEdges/PaginationEdges';
|
|
12
|
+
export type { PaginationItemsProps } from './PaginationItems/PaginationItems';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, MantineShadow, MantineRadius, PolymorphicFactory } from '../../core';
|
|
3
3
|
export type PaperStylesNames = 'root';
|
|
4
|
-
export type PaperVariant = string;
|
|
5
4
|
export type PaperCssVariables = {
|
|
6
5
|
root: '--paper-radius' | '--paper-shadow';
|
|
7
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Paper } from './Paper';
|
|
2
|
-
export type { PaperProps, PaperStylesNames, PaperCssVariables, PaperFactory
|
|
2
|
+
export type { PaperProps, PaperStylesNames, PaperCssVariables, PaperFactory } from './Paper';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BoxProps, StylesApiProps, ElementProps, Factory, MantineSize } from '../../../core';
|
|
2
|
-
export type PillGroupStylesNames = '
|
|
2
|
+
export type PillGroupStylesNames = 'group';
|
|
3
3
|
export type PillGroupCssVariables = {
|
|
4
|
-
|
|
4
|
+
group: '--pg-gap';
|
|
5
5
|
};
|
|
6
6
|
export interface PillGroupProps extends BoxProps, StylesApiProps<PillGroupFactory>, ElementProps<'div'> {
|
|
7
7
|
/** Controls spacing between pills, by default controlled by `size` */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../../core';
|
|
2
|
-
export type PillsInputFieldStylesNames = '
|
|
2
|
+
export type PillsInputFieldStylesNames = 'field';
|
|
3
3
|
export interface PillsInputFieldProps extends BoxProps, StylesApiProps<PillsInputFieldFactory>, ElementProps<'input', 'type'> {
|
|
4
4
|
/** Controls input styles when focused. If `auto` the input is hidden when not focused. If `visible` the input will always remain visible. `'visible'` by default */
|
|
5
5
|
type?: 'auto' | 'visible' | 'hidden';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../core';
|
|
3
3
|
export type ScrollAreaStylesNames = 'root' | 'viewport' | 'scrollbar' | 'thumb' | 'corner';
|
|
4
|
-
export type ScrollAreaVariant = string;
|
|
5
4
|
export type ScrollAreaCssVariables = {
|
|
6
5
|
root: '--scrollarea-scrollbar-size';
|
|
7
6
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, ElementProps, Factory } from '../../../core';
|
|
3
3
|
export type ScrollAreaRootStylesNames = 'root' | 'viewport' | 'viewportInner' | 'scrollbar' | 'thumb' | 'corner';
|
|
4
|
-
export type ScrollAreaRootVariant = string;
|
|
5
4
|
export type ScrollAreaRootCssVariables = {
|
|
6
5
|
root: '--sa-corner-width' | '--sa-corner-height';
|
|
7
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ScrollArea, ScrollAreaAutosize } from './ScrollArea';
|
|
2
|
-
export type { ScrollAreaProps, ScrollAreaAutosizeProps, ScrollAreaStylesNames, ScrollAreaCssVariables, ScrollAreaFactory,
|
|
2
|
+
export type { ScrollAreaProps, ScrollAreaAutosizeProps, ScrollAreaStylesNames, ScrollAreaCssVariables, ScrollAreaFactory, } from './ScrollArea';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineSize, MantineRadius, Factory } from '../../core';
|
|
3
3
|
export type SegmentedControlStylesNames = 'root' | 'input' | 'label' | 'control' | 'indicator';
|
|
4
|
-
export type SegmentedControlVariant = string;
|
|
5
4
|
export type SegmentedControlCssVariables = {
|
|
6
5
|
root: '--sc-radius' | '--sc-color' | '--sc-font-size' | '--sc-padding' | '--sc-shadow' | '--sc-transition-duration' | '--sc-transition-timing-function';
|
|
7
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SegmentedControl } from './SegmentedControl';
|
|
2
|
-
export type { SegmentedControlCssVariables, SegmentedControlFactory, SegmentedControlItem, SegmentedControlProps, SegmentedControlStylesNames,
|
|
2
|
+
export type { SegmentedControlCssVariables, SegmentedControlFactory, SegmentedControlItem, SegmentedControlProps, SegmentedControlStylesNames, } from './SegmentedControl';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps, StylesApiProps, ElementProps, Factory } from '../../core';
|
|
3
|
+
export type SkeletonStylesNames = 'root';
|
|
4
|
+
export type SkeletonCssVariables = {
|
|
5
|
+
root: '--skeleton-width' | '--skeleton-height' | '--skeleton-radius';
|
|
6
|
+
};
|
|
7
|
+
export interface SkeletonProps extends BoxProps, StylesApiProps<SkeletonFactory>, ElementProps<'div'> {
|
|
8
|
+
/** Determines whether Skeleton overlay should be displayed, `true` by default */
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
/** Skeleton `height`, numbers are converted to rem, `auto` by default */
|
|
11
|
+
height?: React.CSSProperties['height'];
|
|
12
|
+
/** Skeleton `width`, numbers are converted to rem, `100%` by default, ignored when `circle` prop is set */
|
|
13
|
+
width?: React.CSSProperties['width'];
|
|
14
|
+
/** If set, Skeleton `width` and `border-radius` are equal to its `height`, `false` by default */
|
|
15
|
+
circle?: boolean;
|
|
16
|
+
/** Key of `theme.radius` or any valid CSS value to set border-radius. Numbers are converted to rem. `theme.defaultRadius` by default. */
|
|
17
|
+
radius?: React.CSSProperties['borderRadius'];
|
|
18
|
+
/** Determines whether Skeleton should be animated, `true` by default */
|
|
19
|
+
animate?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export type SkeletonFactory = Factory<{
|
|
22
|
+
props: SkeletonProps;
|
|
23
|
+
ref: HTMLDivElement;
|
|
24
|
+
stylesNames: SkeletonStylesNames;
|
|
25
|
+
vars: SkeletonCssVariables;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const Skeleton: import("../../core").MantineComponent<{
|
|
28
|
+
props: SkeletonProps;
|
|
29
|
+
ref: HTMLDivElement;
|
|
30
|
+
stylesNames: SkeletonStylesNames;
|
|
31
|
+
vars: SkeletonCssVariables;
|
|
32
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineRadius, MantineSize, Factory } from '../../../core';
|
|
3
3
|
import { TransitionOverride } from '../../Transition';
|
|
4
|
-
import { SliderStylesNames, SliderCssVariables
|
|
4
|
+
import { SliderStylesNames, SliderCssVariables } from '../Slider.context';
|
|
5
5
|
export type RangeSliderValue = [number, number];
|
|
6
6
|
export interface RangeSliderProps extends BoxProps, StylesApiProps<RangeSliderFactory>, ElementProps<'div', 'onChange' | 'value' | 'defaultValue'> {
|
|
7
7
|
/** Key of `theme.colors` or any valid CSS color, controls color of track and thumb, `theme.primaryColor` by default */
|
|
@@ -65,12 +65,10 @@ export type RangeSliderFactory = Factory<{
|
|
|
65
65
|
ref: HTMLDivElement;
|
|
66
66
|
stylesNames: SliderStylesNames;
|
|
67
67
|
vars: SliderCssVariables;
|
|
68
|
-
variant: SliderVariant;
|
|
69
68
|
}>;
|
|
70
69
|
export declare const RangeSlider: import("../../../core").MantineComponent<{
|
|
71
70
|
props: RangeSliderProps;
|
|
72
71
|
ref: HTMLDivElement;
|
|
73
72
|
stylesNames: SliderStylesNames;
|
|
74
73
|
vars: SliderCssVariables;
|
|
75
|
-
variant: SliderVariant;
|
|
76
74
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineRadius, MantineSize, Factory } from '../../../core';
|
|
3
3
|
import { TransitionOverride } from '../../Transition';
|
|
4
|
-
import { SliderCssVariables, SliderStylesNames
|
|
4
|
+
import { SliderCssVariables, SliderStylesNames } from '../Slider.context';
|
|
5
5
|
export interface SliderProps extends BoxProps, StylesApiProps<SliderFactory>, ElementProps<'div', 'onChange'> {
|
|
6
6
|
/** Key of `theme.colors` or any valid CSS color, controls color of track and thumb, `theme.primaryColor` by default */
|
|
7
7
|
color?: MantineColor;
|
|
@@ -58,12 +58,10 @@ export type SliderFactory = Factory<{
|
|
|
58
58
|
ref: HTMLDivElement;
|
|
59
59
|
stylesNames: SliderStylesNames;
|
|
60
60
|
vars: SliderCssVariables;
|
|
61
|
-
variant: SliderVariant;
|
|
62
61
|
}>;
|
|
63
62
|
export declare const Slider: import("../../../core").MantineComponent<{
|
|
64
63
|
props: SliderProps;
|
|
65
64
|
ref: HTMLDivElement;
|
|
66
65
|
stylesNames: SliderStylesNames;
|
|
67
66
|
vars: SliderCssVariables;
|
|
68
|
-
variant: SliderVariant;
|
|
69
67
|
}>;
|
|
@@ -4,7 +4,6 @@ export type SliderStylesNames = 'root' | 'label' | 'thumb' | 'trackContainer' |
|
|
|
4
4
|
export type SliderCssVariables = {
|
|
5
5
|
root: '--slider-size' | '--slider-color' | '--slider-thumb-size' | '--slider-radius';
|
|
6
6
|
};
|
|
7
|
-
export type SliderVariant = string;
|
|
8
7
|
interface SliderContextValue {
|
|
9
8
|
getStyles: GetStylesApi<{
|
|
10
9
|
stylesNames: SliderStylesNames;
|
|
@@ -2,4 +2,4 @@ export { Slider } from './Slider/Slider';
|
|
|
2
2
|
export { RangeSlider } from './RangeSlider/RangeSlider';
|
|
3
3
|
export type { SliderFactory, SliderProps } from './Slider/Slider';
|
|
4
4
|
export type { RangeSliderFactory, RangeSliderProps, RangeSliderValue, } from './RangeSlider/RangeSlider';
|
|
5
|
-
export type { SliderStylesNames, SliderCssVariables
|
|
5
|
+
export type { SliderStylesNames, SliderCssVariables } from './Slider.context';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps, StylesApiProps, ElementProps, MantineSpacing, Factory } from '../../core';
|
|
3
3
|
export type StackStylesNames = 'root';
|
|
4
|
-
export type StackVariant = string;
|
|
5
4
|
export type StackCssVariables = {
|
|
6
5
|
root: '--stack-gap' | '--stack-align' | '--stack-justify';
|
|
7
6
|
};
|
|
@@ -18,12 +17,10 @@ export type StackFactory = Factory<{
|
|
|
18
17
|
ref: HTMLDivElement;
|
|
19
18
|
stylesNames: StackStylesNames;
|
|
20
19
|
vars: StackCssVariables;
|
|
21
|
-
variant: StackVariant;
|
|
22
20
|
}>;
|
|
23
21
|
export declare const Stack: import("../../core").MantineComponent<{
|
|
24
22
|
props: StackProps;
|
|
25
23
|
ref: HTMLDivElement;
|
|
26
24
|
stylesNames: StackStylesNames;
|
|
27
25
|
vars: StackCssVariables;
|
|
28
|
-
variant: StackVariant;
|
|
29
26
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Stack } from './Stack';
|
|
2
|
-
export type { StackCssVariables, StackFactory, StackStylesNames, StackProps
|
|
2
|
+
export type { StackCssVariables, StackFactory, StackStylesNames, StackProps } from './Stack';
|
|
@@ -3,7 +3,6 @@ import { BoxProps, StylesApiProps, ElementProps, MantineColor, MantineSize, Mant
|
|
|
3
3
|
import { InlineInputStylesNames } from '../InlineInput';
|
|
4
4
|
import { SwitchGroup } from './SwitchGroup/SwitchGroup';
|
|
5
5
|
export type SwitchStylesNames = 'root' | 'track' | 'trackLabel' | 'thumb' | 'input' | InlineInputStylesNames;
|
|
6
|
-
export type SwitchVariant = string;
|
|
7
6
|
export type SwitchCssVariables = {
|
|
8
7
|
root: '--switch-radius' | '--switch-height' | '--switch-width' | '--switch-thumb-size' | '--switch-label-font-size' | '--switch-track-label-padding' | '--switch-color';
|
|
9
8
|
};
|
|
@@ -38,7 +37,6 @@ export type SwitchFactory = Factory<{
|
|
|
38
37
|
ref: HTMLInputElement;
|
|
39
38
|
stylesNames: SwitchStylesNames;
|
|
40
39
|
vars: SwitchCssVariables;
|
|
41
|
-
variant: SwitchVariant;
|
|
42
40
|
staticComponents: {
|
|
43
41
|
Group: typeof SwitchGroup;
|
|
44
42
|
};
|
|
@@ -48,7 +46,6 @@ export declare const Switch: import("../../core").MantineComponent<{
|
|
|
48
46
|
ref: HTMLInputElement;
|
|
49
47
|
stylesNames: SwitchStylesNames;
|
|
50
48
|
vars: SwitchCssVariables;
|
|
51
|
-
variant: SwitchVariant;
|
|
52
49
|
staticComponents: {
|
|
53
50
|
Group: typeof SwitchGroup;
|
|
54
51
|
};
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { MantineSize, Factory } from '../../../core';
|
|
3
3
|
import { InputWrapperStylesNames, InputWrapperProps } from '../../Input';
|
|
4
4
|
export type SwitchGroupStylesNames = InputWrapperStylesNames;
|
|
5
|
-
export type SwitchGroupVariant = string;
|
|
6
5
|
export interface SwitchGroupProps extends Omit<InputWrapperProps, 'onChange'> {
|
|
7
6
|
/** `Switch` components */
|
|
8
7
|
children: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Switch } from './Switch';
|
|
2
2
|
export { SwitchGroup } from './SwitchGroup/SwitchGroup';
|
|
3
|
-
export type { SwitchCssVariables, SwitchFactory, SwitchProps, SwitchStylesNames
|
|
4
|
-
export type { SwitchGroupFactory, SwitchGroupProps, SwitchGroupStylesNames,
|
|
3
|
+
export type { SwitchCssVariables, SwitchFactory, SwitchProps, SwitchStylesNames } from './Switch';
|
|
4
|
+
export type { SwitchGroupFactory, SwitchGroupProps, SwitchGroupStylesNames, } from './SwitchGroup/SwitchGroup';
|