@mantine/core 7.3.0-alpha.0 → 7.3.0-alpha.2
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/Menu/MenuDropdown/MenuDropdown.cjs.map +1 -1
- package/cjs/components/ScrollArea/utils/add-unlinked-scroll-listener.cjs.map +1 -1
- package/esm/components/Menu/MenuDropdown/MenuDropdown.mjs.map +1 -1
- package/esm/components/ScrollArea/utils/add-unlinked-scroll-listener.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.context.d.ts +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/AccordionChevron.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.context.d.ts +1 -1
- package/lib/components/AppShell/AppShell.context.d.ts +1 -1
- package/lib/components/AppShell/AppShellMediaStyles/AppShellMediaStyles.d.ts +2 -1
- package/lib/components/Avatar/AvatarPlaceholderIcon.d.ts +1 -1
- package/lib/components/Card/Card.context.d.ts +1 -1
- package/lib/components/Checkbox/CheckIcon.d.ts +2 -2
- package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +1 -1
- package/lib/components/Chip/ChipGroup.context.d.ts +1 -1
- package/lib/components/ColorInput/EyeDropperIcon.d.ts +1 -1
- package/lib/components/ColorPicker/ColorPicker.context.d.ts +1 -1
- package/lib/components/ColorPicker/Saturation/Saturation.d.ts +2 -1
- package/lib/components/Combobox/Combobox.context.d.ts +1 -1
- package/lib/components/Combobox/Combobox.d.ts +1 -1
- package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +1 -1
- package/lib/components/CopyButton/CopyButton.d.ts +1 -1
- package/lib/components/Drawer/Drawer.context.d.ts +1 -1
- package/lib/components/Grid/Grid.context.d.ts +1 -1
- package/lib/components/Grid/GridCol/GridColVariables.d.ts +2 -1
- package/lib/components/Grid/GridVariables.d.ts +2 -1
- package/lib/components/HoverCard/HoverCard.context.d.ts +1 -1
- package/lib/components/HoverCard/HoverCard.d.ts +1 -1
- package/lib/components/HoverCard/HoverCardDropdown/HoverCardDropdown.d.ts +1 -1
- package/lib/components/Input/InputWrapper.context.d.ts +1 -1
- package/lib/components/InputsGroupFieldset/InputsGroupFieldset.d.ts +1 -1
- package/lib/components/List/List.context.d.ts +1 -1
- package/lib/components/Menu/Menu.context.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +1 -1
- package/lib/components/Modal/Modal.context.d.ts +1 -1
- package/lib/components/ModalBase/ModalBase.context.d.ts +1 -1
- package/lib/components/ModalBase/NativeScrollArea.d.ts +1 -1
- package/lib/components/NativeSelect/NativeSelectOption.d.ts +2 -1
- package/lib/components/NumberFormatter/NumberFormatter.d.ts +1 -1
- package/lib/components/NumberInput/NumberInputChevron.d.ts +1 -1
- package/lib/components/Pagination/Pagination.context.d.ts +1 -1
- package/lib/components/Pagination/Pagination.icons.d.ts +5 -5
- package/lib/components/Pagination/PaginationItems/PaginationItems.d.ts +2 -1
- package/lib/components/Pill/PillGroup.context.d.ts +1 -1
- package/lib/components/PillsInput/PillsInput.context.d.ts +1 -1
- package/lib/components/Popover/Popover.context.d.ts +1 -1
- package/lib/components/Popover/Popover.d.ts +1 -1
- package/lib/components/Portal/OptionalPortal.d.ts +2 -1
- package/lib/components/Progress/Progress.context.d.ts +1 -1
- package/lib/components/Radio/RadioGroup.context.d.ts +1 -1
- package/lib/components/Radio/RadioIcon.d.ts +1 -1
- package/lib/components/Rating/Rating.context.d.ts +1 -1
- package/lib/components/Rating/RatingItem/RatingItem.d.ts +1 -1
- package/lib/components/Rating/StarSymbol/StarIcon.d.ts +1 -1
- package/lib/components/Rating/StarSymbol/StarSymbol.d.ts +2 -1
- package/lib/components/RingProgress/Curve/Curve.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollArea.context.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.context.d.ts +1 -1
- package/lib/components/SimpleGrid/SimpleGridVariables.d.ts +2 -1
- package/lib/components/Slider/Marks/Marks.d.ts +1 -1
- package/lib/components/Slider/Slider.context.d.ts +1 -1
- package/lib/components/Slider/Track/Track.d.ts +1 -1
- package/lib/components/Stepper/Stepper.context.d.ts +1 -1
- package/lib/components/Table/Table.context.d.ts +1 -1
- package/lib/components/Table/TableDataRenderer.d.ts +2 -1
- package/lib/components/Tabs/Tabs.context.d.ts +1 -1
- package/lib/components/Timeline/Timeline.context.d.ts +1 -1
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.d.ts +1 -1
- package/lib/components/Transition/Transition.d.ts +1 -1
- package/lib/core/DirectionProvider/DirectionProvider.d.ts +1 -1
- package/lib/core/InlineStyles/InlineStyles.d.ts +1 -1
- package/lib/core/MantineProvider/ColorSchemeScript/ColorSchemeScript.d.ts +1 -1
- package/lib/core/MantineProvider/MantineClasses/MantineClasses.d.ts +2 -1
- package/lib/core/MantineProvider/MantineCssVariables/MantineCssVariables.d.ts +2 -1
- package/lib/core/MantineProvider/MantineProvider.d.ts +1 -1
- package/lib/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.d.ts +1 -1
- package/lib/core/utils/create-optional-context/create-optional-context.d.ts +1 -1
- package/lib/core/utils/create-safe-context/create-safe-context.d.ts +1 -1
- package/package.json +10 -6
- package/esm/index.css +0 -11
- /package/{esm/styles → styles}/Accordion.css +0 -0
- /package/{esm/styles → styles}/Accordion.layer.css +0 -0
- /package/{esm/styles → styles}/ActionIcon.css +0 -0
- /package/{esm/styles → styles}/ActionIcon.layer.css +0 -0
- /package/{esm/styles → styles}/Affix.css +0 -0
- /package/{esm/styles → styles}/Affix.layer.css +0 -0
- /package/{esm/styles → styles}/Alert.css +0 -0
- /package/{esm/styles → styles}/Alert.layer.css +0 -0
- /package/{esm/styles → styles}/Anchor.css +0 -0
- /package/{esm/styles → styles}/Anchor.layer.css +0 -0
- /package/{esm/styles → styles}/AppShell.css +0 -0
- /package/{esm/styles → styles}/AppShell.layer.css +0 -0
- /package/{esm/styles → styles}/AspectRatio.css +0 -0
- /package/{esm/styles → styles}/AspectRatio.layer.css +0 -0
- /package/{esm/styles → styles}/Avatar.css +0 -0
- /package/{esm/styles → styles}/Avatar.layer.css +0 -0
- /package/{esm/styles → styles}/BackgroundImage.css +0 -0
- /package/{esm/styles → styles}/BackgroundImage.layer.css +0 -0
- /package/{esm/styles → styles}/Badge.css +0 -0
- /package/{esm/styles → styles}/Badge.layer.css +0 -0
- /package/{esm/styles → styles}/Blockquote.css +0 -0
- /package/{esm/styles → styles}/Blockquote.layer.css +0 -0
- /package/{esm/styles → styles}/Breadcrumbs.css +0 -0
- /package/{esm/styles → styles}/Breadcrumbs.layer.css +0 -0
- /package/{esm/styles → styles}/Burger.css +0 -0
- /package/{esm/styles → styles}/Burger.layer.css +0 -0
- /package/{esm/styles → styles}/Button.css +0 -0
- /package/{esm/styles → styles}/Button.layer.css +0 -0
- /package/{esm/styles → styles}/Card.css +0 -0
- /package/{esm/styles → styles}/Card.layer.css +0 -0
- /package/{esm/styles → styles}/Center.css +0 -0
- /package/{esm/styles → styles}/Center.layer.css +0 -0
- /package/{esm/styles → styles}/Checkbox.css +0 -0
- /package/{esm/styles → styles}/Checkbox.layer.css +0 -0
- /package/{esm/styles → styles}/Chip.css +0 -0
- /package/{esm/styles → styles}/Chip.layer.css +0 -0
- /package/{esm/styles → styles}/CloseButton.css +0 -0
- /package/{esm/styles → styles}/CloseButton.layer.css +0 -0
- /package/{esm/styles → styles}/Code.css +0 -0
- /package/{esm/styles → styles}/Code.layer.css +0 -0
- /package/{esm/styles → styles}/ColorInput.css +0 -0
- /package/{esm/styles → styles}/ColorInput.layer.css +0 -0
- /package/{esm/styles → styles}/ColorPicker.css +0 -0
- /package/{esm/styles → styles}/ColorPicker.layer.css +0 -0
- /package/{esm/styles → styles}/ColorSwatch.css +0 -0
- /package/{esm/styles → styles}/ColorSwatch.layer.css +0 -0
- /package/{esm/styles → styles}/Combobox.css +0 -0
- /package/{esm/styles → styles}/Combobox.layer.css +0 -0
- /package/{esm/styles → styles}/Container.css +0 -0
- /package/{esm/styles → styles}/Container.layer.css +0 -0
- /package/{esm/styles → styles}/Dialog.css +0 -0
- /package/{esm/styles → styles}/Dialog.layer.css +0 -0
- /package/{esm/styles → styles}/Divider.css +0 -0
- /package/{esm/styles → styles}/Divider.layer.css +0 -0
- /package/{esm/styles → styles}/Drawer.css +0 -0
- /package/{esm/styles → styles}/Drawer.layer.css +0 -0
- /package/{esm/styles → styles}/Fieldset.css +0 -0
- /package/{esm/styles → styles}/Fieldset.layer.css +0 -0
- /package/{esm/styles → styles}/Flex.css +0 -0
- /package/{esm/styles → styles}/Flex.layer.css +0 -0
- /package/{esm/styles → styles}/Grid.css +0 -0
- /package/{esm/styles → styles}/Grid.layer.css +0 -0
- /package/{esm/styles → styles}/Group.css +0 -0
- /package/{esm/styles → styles}/Group.layer.css +0 -0
- /package/{esm/styles → styles}/Image.css +0 -0
- /package/{esm/styles → styles}/Image.layer.css +0 -0
- /package/{esm/styles → styles}/Indicator.css +0 -0
- /package/{esm/styles → styles}/Indicator.layer.css +0 -0
- /package/{esm/styles → styles}/InlineInput.css +0 -0
- /package/{esm/styles → styles}/InlineInput.layer.css +0 -0
- /package/{esm/styles → styles}/Input.css +0 -0
- /package/{esm/styles → styles}/Input.layer.css +0 -0
- /package/{esm/styles → styles}/Kbd.css +0 -0
- /package/{esm/styles → styles}/Kbd.layer.css +0 -0
- /package/{esm/styles → styles}/List.css +0 -0
- /package/{esm/styles → styles}/List.layer.css +0 -0
- /package/{esm/styles → styles}/Loader.css +0 -0
- /package/{esm/styles → styles}/Loader.layer.css +0 -0
- /package/{esm/styles → styles}/LoadingOverlay.css +0 -0
- /package/{esm/styles → styles}/LoadingOverlay.layer.css +0 -0
- /package/{esm/styles → styles}/Mark.css +0 -0
- /package/{esm/styles → styles}/Mark.layer.css +0 -0
- /package/{esm/styles → styles}/Menu.css +0 -0
- /package/{esm/styles → styles}/Menu.layer.css +0 -0
- /package/{esm/styles → styles}/Modal.css +0 -0
- /package/{esm/styles → styles}/Modal.layer.css +0 -0
- /package/{esm/styles → styles}/ModalBase.css +0 -0
- /package/{esm/styles → styles}/ModalBase.layer.css +0 -0
- /package/{esm/styles → styles}/NavLink.css +0 -0
- /package/{esm/styles → styles}/NavLink.layer.css +0 -0
- /package/{esm/styles → styles}/Notification.css +0 -0
- /package/{esm/styles → styles}/Notification.layer.css +0 -0
- /package/{esm/styles → styles}/NumberInput.css +0 -0
- /package/{esm/styles → styles}/NumberInput.layer.css +0 -0
- /package/{esm/styles → styles}/Overlay.css +0 -0
- /package/{esm/styles → styles}/Overlay.layer.css +0 -0
- /package/{esm/styles → styles}/Pagination.css +0 -0
- /package/{esm/styles → styles}/Pagination.layer.css +0 -0
- /package/{esm/styles → styles}/Paper.css +0 -0
- /package/{esm/styles → styles}/Paper.layer.css +0 -0
- /package/{esm/styles → styles}/PasswordInput.css +0 -0
- /package/{esm/styles → styles}/PasswordInput.layer.css +0 -0
- /package/{esm/styles → styles}/Pill.css +0 -0
- /package/{esm/styles → styles}/Pill.layer.css +0 -0
- /package/{esm/styles → styles}/PillsInput.css +0 -0
- /package/{esm/styles → styles}/PillsInput.layer.css +0 -0
- /package/{esm/styles → styles}/PinInput.css +0 -0
- /package/{esm/styles → styles}/PinInput.layer.css +0 -0
- /package/{esm/styles → styles}/Popover.css +0 -0
- /package/{esm/styles → styles}/Popover.layer.css +0 -0
- /package/{esm/styles → styles}/Progress.css +0 -0
- /package/{esm/styles → styles}/Progress.layer.css +0 -0
- /package/{esm/styles → styles}/Radio.css +0 -0
- /package/{esm/styles → styles}/Radio.layer.css +0 -0
- /package/{esm/styles → styles}/Rating.css +0 -0
- /package/{esm/styles → styles}/Rating.layer.css +0 -0
- /package/{esm/styles → styles}/RingProgress.css +0 -0
- /package/{esm/styles → styles}/RingProgress.layer.css +0 -0
- /package/{esm/styles → styles}/ScrollArea.css +0 -0
- /package/{esm/styles → styles}/ScrollArea.layer.css +0 -0
- /package/{esm/styles → styles}/SegmentedControl.css +0 -0
- /package/{esm/styles → styles}/SegmentedControl.layer.css +0 -0
- /package/{esm/styles → styles}/SimpleGrid.css +0 -0
- /package/{esm/styles → styles}/SimpleGrid.layer.css +0 -0
- /package/{esm/styles → styles}/Skeleton.css +0 -0
- /package/{esm/styles → styles}/Skeleton.layer.css +0 -0
- /package/{esm/styles → styles}/Slider.css +0 -0
- /package/{esm/styles → styles}/Slider.layer.css +0 -0
- /package/{esm/styles → styles}/Spoiler.css +0 -0
- /package/{esm/styles → styles}/Spoiler.layer.css +0 -0
- /package/{esm/styles → styles}/Stack.css +0 -0
- /package/{esm/styles → styles}/Stack.layer.css +0 -0
- /package/{esm/styles → styles}/Stepper.css +0 -0
- /package/{esm/styles → styles}/Stepper.layer.css +0 -0
- /package/{esm/styles → styles}/Switch.css +0 -0
- /package/{esm/styles → styles}/Switch.layer.css +0 -0
- /package/{esm/styles → styles}/Table.css +0 -0
- /package/{esm/styles → styles}/Table.layer.css +0 -0
- /package/{esm/styles → styles}/Tabs.css +0 -0
- /package/{esm/styles → styles}/Tabs.layer.css +0 -0
- /package/{esm/styles → styles}/Text.css +0 -0
- /package/{esm/styles → styles}/Text.layer.css +0 -0
- /package/{esm/styles → styles}/ThemeIcon.css +0 -0
- /package/{esm/styles → styles}/ThemeIcon.layer.css +0 -0
- /package/{esm/styles → styles}/Timeline.css +0 -0
- /package/{esm/styles → styles}/Timeline.layer.css +0 -0
- /package/{esm/styles → styles}/Title.css +0 -0
- /package/{esm/styles → styles}/Title.layer.css +0 -0
- /package/{esm/styles → styles}/Tooltip.css +0 -0
- /package/{esm/styles → styles}/Tooltip.layer.css +0 -0
- /package/{esm/styles → styles}/TypographyStylesProvider.css +0 -0
- /package/{esm/styles → styles}/TypographyStylesProvider.layer.css +0 -0
- /package/{esm/styles → styles}/UnstyledButton.css +0 -0
- /package/{esm/styles → styles}/UnstyledButton.layer.css +0 -0
- /package/{esm/styles → styles}/VisuallyHidden.css +0 -0
- /package/{esm/styles → styles}/VisuallyHidden.layer.css +0 -0
- /package/{esm/styles → styles}/global.css +0 -0
- /package/{esm/styles → styles}/global.layer.css +0 -0
- /package/{cjs/index.css → styles.css} +0 -0
- /package/{esm/index.layer.css → styles.layer.css} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function StarIcon(props: React.ComponentPropsWithoutRef<'svg'>):
|
|
2
|
+
export declare function StarIcon(props: React.ComponentPropsWithoutRef<'svg'>): React.JSX.Element;
|
|
3
3
|
export declare namespace StarIcon {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface StarSymbolProps {
|
|
2
3
|
type: 'empty' | 'full';
|
|
3
4
|
}
|
|
4
|
-
export declare function StarSymbol({ type }: StarSymbolProps):
|
|
5
|
+
export declare function StarSymbol({ type }: StarSymbolProps): React.JSX.Element;
|
|
5
6
|
export declare namespace StarSymbol {
|
|
6
7
|
var displayName: string;
|
|
7
8
|
}
|
|
@@ -13,7 +13,7 @@ interface CurveProps extends React.ComponentPropsWithRef<'circle'> {
|
|
|
13
13
|
tooltip?: React.ReactNode;
|
|
14
14
|
getStyles: GetStylesApi<RingProgressFactory>;
|
|
15
15
|
}
|
|
16
|
-
export declare function Curve({ size, value, offset, sum, thickness, root, color, lineRoundCaps, tooltip, getStyles, display, ...others }: CurveProps):
|
|
16
|
+
export declare function Curve({ size, value, offset, sum, thickness, root, color, lineRoundCaps, tooltip, getStyles, display, ...others }: CurveProps): React.JSX.Element;
|
|
17
17
|
export declare namespace Curve {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
|
@@ -20,4 +20,4 @@ export interface ScrollAreaContextValue {
|
|
|
20
20
|
export declare const ScrollAreaProvider: ({ children, value }: {
|
|
21
21
|
value: ScrollAreaContextValue;
|
|
22
22
|
children: import("react").ReactNode;
|
|
23
|
-
}) => import("react
|
|
23
|
+
}) => import("react").JSX.Element, useScrollAreaContext: () => ScrollAreaContextValue;
|
|
@@ -12,4 +12,4 @@ export interface ScrollbarContextValue {
|
|
|
12
12
|
export declare const ScrollbarProvider: ({ children, value }: {
|
|
13
13
|
value: ScrollbarContextValue;
|
|
14
14
|
children: import("react").ReactNode;
|
|
15
|
-
}) => import("react
|
|
15
|
+
}) => import("react").JSX.Element, useScrollbarContext: () => ScrollbarContextValue;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { SimpleGridProps } from './SimpleGrid';
|
|
2
3
|
interface SimpleGridVariablesProps extends SimpleGridProps {
|
|
3
4
|
selector: string;
|
|
4
5
|
}
|
|
5
|
-
export declare function SimpleGridVariables({ spacing, verticalSpacing, cols, selector, }: SimpleGridVariablesProps):
|
|
6
|
+
export declare function SimpleGridVariables({ spacing, verticalSpacing, cols, selector, }: SimpleGridVariablesProps): React.JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -11,7 +11,7 @@ export interface MarksProps {
|
|
|
11
11
|
disabled: boolean | undefined;
|
|
12
12
|
inverted: boolean | undefined;
|
|
13
13
|
}
|
|
14
|
-
export declare function Marks({ marks, min, max, disabled, value, offset, inverted }: MarksProps):
|
|
14
|
+
export declare function Marks({ marks, min, max, disabled, value, offset, inverted }: MarksProps): React.JSX.Element | null;
|
|
15
15
|
export declare namespace Marks {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -15,5 +15,5 @@ interface SliderContextValue {
|
|
|
15
15
|
export declare const SliderProvider: ({ children, value }: {
|
|
16
16
|
value: SliderContextValue;
|
|
17
17
|
children: import("react").ReactNode;
|
|
18
|
-
}) => import("react
|
|
18
|
+
}) => import("react").JSX.Element, useSliderContext: () => SliderContextValue;
|
|
19
19
|
export {};
|
|
@@ -15,7 +15,7 @@ export interface TrackProps {
|
|
|
15
15
|
inverted: boolean | undefined;
|
|
16
16
|
containerProps?: React.PropsWithRef<React.ComponentProps<'div'>>;
|
|
17
17
|
}
|
|
18
|
-
export declare function Track({ filled, children, offset, disabled, marksOffset, inverted, containerProps, ...others }: TrackProps):
|
|
18
|
+
export declare function Track({ filled, children, offset, disabled, marksOffset, inverted, containerProps, ...others }: TrackProps): React.JSX.Element;
|
|
19
19
|
export declare namespace Track {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -8,5 +8,5 @@ interface StepperContextValue {
|
|
|
8
8
|
export declare const StepperProvider: ({ children, value }: {
|
|
9
9
|
value: StepperContextValue;
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
|
-
}) => import("react
|
|
11
|
+
}) => import("react").JSX.Element, useStepperContext: () => StepperContextValue;
|
|
12
12
|
export {};
|
|
@@ -12,4 +12,4 @@ export interface TableContextValue {
|
|
|
12
12
|
export declare const TableProvider: ({ children, value }: {
|
|
13
13
|
value: TableContextValue;
|
|
14
14
|
children: import("react").ReactNode;
|
|
15
|
-
}) => import("react
|
|
15
|
+
}) => import("react").JSX.Element, useTableContext: () => TableContextValue;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { TableData } from './Table';
|
|
2
3
|
export interface TableDataRendererProps {
|
|
3
4
|
data: TableData;
|
|
4
5
|
}
|
|
5
|
-
export declare function TableDataRenderer({ data }: TableDataRendererProps):
|
|
6
|
+
export declare function TableDataRenderer({ data }: TableDataRendererProps): React.JSX.Element;
|
|
6
7
|
export declare namespace TableDataRenderer {
|
|
7
8
|
var displayName: string;
|
|
8
9
|
}
|
|
@@ -22,4 +22,4 @@ export interface TabsContextValue {
|
|
|
22
22
|
export declare const TabsProvider: ({ children, value }: {
|
|
23
23
|
value: TabsContextValue;
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
|
-
}) => import("react
|
|
25
|
+
}) => import("react").JSX.Element, useTabsContext: () => TabsContextValue;
|
|
@@ -6,5 +6,5 @@ interface TimelineContextValue {
|
|
|
6
6
|
export declare const TimelineProvider: ({ children, value }: {
|
|
7
7
|
value: TimelineContextValue;
|
|
8
8
|
children: import("react").ReactNode;
|
|
9
|
-
}) => import("react
|
|
9
|
+
}) => import("react").JSX.Element, useTimelineContext: () => TimelineContextValue;
|
|
10
10
|
export {};
|
|
@@ -7,7 +7,7 @@ export interface TooltipGroupProps {
|
|
|
7
7
|
/** Close delay in ms */
|
|
8
8
|
closeDelay?: number;
|
|
9
9
|
}
|
|
10
|
-
export declare function TooltipGroup(props: TooltipGroupProps):
|
|
10
|
+
export declare function TooltipGroup(props: TooltipGroupProps): React.JSX.Element;
|
|
11
11
|
export declare namespace TooltipGroup {
|
|
12
12
|
var displayName: string;
|
|
13
13
|
}
|
|
@@ -25,7 +25,7 @@ export interface TransitionProps {
|
|
|
25
25
|
onEntered?: () => void;
|
|
26
26
|
}
|
|
27
27
|
export type TransitionOverride = Partial<Omit<TransitionProps, 'mounted'>>;
|
|
28
|
-
export declare function Transition({ keepMounted, transition, duration, exitDuration, mounted, children, timingFunction, onExit, onEntered, onEnter, onExited, }: TransitionProps):
|
|
28
|
+
export declare function Transition({ keepMounted, transition, duration, exitDuration, mounted, children, timingFunction, onExit, onEntered, onEnter, onExited, }: TransitionProps): React.JSX.Element | null;
|
|
29
29
|
export declare namespace Transition {
|
|
30
30
|
var displayName: string;
|
|
31
31
|
}
|
|
@@ -15,4 +15,4 @@ export interface DirectionProviderProps {
|
|
|
15
15
|
/** Determines whether direction should be updated on mount based on `dir` attribute set on root element (usually html element), `true` by default */
|
|
16
16
|
detectDirection?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export declare function DirectionProvider({ children, initialDirection, detectDirection, }: DirectionProviderProps):
|
|
18
|
+
export declare function DirectionProvider({ children, initialDirection, detectDirection, }: DirectionProviderProps): React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
import { InlineStylesInput } from './styles-to-string/styles-to-string';
|
|
3
3
|
export interface InlineStylesProps extends InlineStylesInput, Omit<React.ComponentPropsWithoutRef<'style'>, keyof InlineStylesInput> {
|
|
4
4
|
}
|
|
5
|
-
export declare function InlineStyles({ selector, styles, media }: InlineStylesInput):
|
|
5
|
+
export declare function InlineStyles({ selector, styles, media }: InlineStylesInput): React.JSX.Element;
|
|
@@ -5,4 +5,4 @@ export interface ColorSchemeScriptProps extends React.ComponentPropsWithoutRef<'
|
|
|
5
5
|
defaultColorScheme?: MantineColorScheme;
|
|
6
6
|
localStorageKey?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function ColorSchemeScript({ defaultColorScheme, localStorageKey, forceColorScheme, ...others }: ColorSchemeScriptProps):
|
|
8
|
+
export declare function ColorSchemeScript({ defaultColorScheme, localStorageKey, forceColorScheme, ...others }: ColorSchemeScriptProps): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function MantineClasses(): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface MantineCssVariablesProps {
|
|
2
3
|
cssVariablesSelector: string;
|
|
3
4
|
}
|
|
4
|
-
export declare function MantineCssVariables({ cssVariablesSelector }: MantineCssVariablesProps):
|
|
5
|
+
export declare function MantineCssVariables({ cssVariablesSelector }: MantineCssVariablesProps): React.JSX.Element | null;
|
|
5
6
|
export declare namespace MantineCssVariables {
|
|
6
7
|
var displayName: string;
|
|
7
8
|
}
|
|
@@ -27,7 +27,7 @@ export interface MantineProviderProps {
|
|
|
27
27
|
/** Your application */
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}
|
|
30
|
-
export declare function MantineProvider({ theme, children, getStyleNonce, withCssVariables, cssVariablesSelector, classNamesPrefix, colorSchemeManager, defaultColorScheme, getRootElement, cssVariablesResolver, forceColorScheme, }: MantineProviderProps):
|
|
30
|
+
export declare function MantineProvider({ theme, children, getStyleNonce, withCssVariables, cssVariablesSelector, classNamesPrefix, colorSchemeManager, defaultColorScheme, getRootElement, cssVariablesResolver, forceColorScheme, }: MantineProviderProps): React.JSX.Element;
|
|
31
31
|
export declare namespace MantineProvider {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
@@ -11,7 +11,7 @@ export interface MantineThemeProviderProps {
|
|
|
11
11
|
/** Your application or part of the application that requires different theme */
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
}
|
|
14
|
-
export declare function MantineThemeProvider({ theme, children, inherit, }: MantineThemeProviderProps):
|
|
14
|
+
export declare function MantineThemeProvider({ theme, children, inherit, }: MantineThemeProviderProps): React.JSX.Element;
|
|
15
15
|
export declare namespace MantineThemeProvider {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare function createOptionalContext<ContextValue>(initialValue?: ContextValue | null): readonly [({ children, value }: {
|
|
3
3
|
value: ContextValue;
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element, () => ContextValue | null];
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare function createSafeContext<ContextValue>(errorMessage: string): readonly [({ children, value }: {
|
|
3
3
|
value: ContextValue;
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element, () => ContextValue & ({} | undefined)];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/core",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.2",
|
|
4
4
|
"description": "React components library focused on usability, accessibility and developer experience",
|
|
5
5
|
"homepage": "https://mantine.dev/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"default": "./cjs/index.cjs"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"./styles.css": "./
|
|
37
|
-
"./styles.layer.css": "./
|
|
38
|
-
"./styles/*": "./
|
|
36
|
+
"./styles.css": "./styles.css",
|
|
37
|
+
"./styles.layer.css": "./styles.layer.css",
|
|
38
|
+
"./styles/*": "./styles/*"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|
|
41
41
|
"url": "https://github.com/mantinedev/mantine.git",
|
|
42
42
|
"type": "git",
|
|
43
|
-
"directory": "
|
|
43
|
+
"directory": "packages/@mantine/core"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@mantine/hooks": "7.3.0-alpha.
|
|
46
|
+
"@mantine/hooks": "7.3.0-alpha.2",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-dom": "^18.2.0"
|
|
49
49
|
},
|
|
@@ -54,5 +54,9 @@
|
|
|
54
54
|
"react-remove-scroll": "^2.5.7",
|
|
55
55
|
"react-textarea-autosize": "8.5.3",
|
|
56
56
|
"type-fest": "^3.13.1"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@mantine-tests/core": "1.0.1",
|
|
60
|
+
"@mantine/hooks": "7.3.0-alpha.2"
|
|
57
61
|
}
|
|
58
62
|
}
|