@mantine/core 5.0.0-alpha.13 → 5.0.0-alpha.14
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/lib/components/Accordion/AccordionControl/AccordionControl.styles.d.ts +2 -2
- package/lib/components/Alert/Alert.styles.d.ts +2 -2
- package/lib/components/AppShell/AppShell.styles.d.ts +2 -2
- package/lib/components/AppShell/HorizontalSection/HorizontalSection.d.ts +1 -1
- package/lib/components/Autocomplete/Autocomplete.styles.d.ts +2 -2
- package/lib/components/Avatar/Avatar.styles.d.ts +2 -2
- package/lib/components/Badge/Badge.styles.d.ts +2 -2
- package/lib/components/Blockquote/Blockquote.styles.d.ts +2 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
- package/lib/components/Button/Button.styles.d.ts +2 -2
- package/lib/components/Checkbox/Checkbox.styles.d.ts +2 -2
- package/lib/components/Chip/Chip.styles.d.ts +2 -2
- package/lib/components/Code/Code.styles.d.ts +2 -2
- package/lib/components/ColorPicker/ColorPicker.styles.d.ts +2 -2
- package/lib/components/ColorSwatch/ColorSwatch.styles.d.ts +2 -2
- package/lib/components/Divider/Divider.styles.d.ts +2 -2
- package/lib/components/Drawer/Drawer.styles.d.ts +2 -2
- package/lib/components/Group/Group.styles.d.ts +2 -2
- package/lib/components/Image/Image.styles.d.ts +2 -2
- package/lib/components/Input/Input.styles.d.ts +2 -2
- package/lib/components/Input/use-input-props.d.ts +1 -1
- package/lib/components/List/ListItem/ListItem.styles.d.ts +2 -2
- package/lib/components/Menu/MenuItem/MenuItem.styles.d.ts +2 -2
- package/lib/components/Modal/Modal.styles.d.ts +2 -2
- package/lib/components/MultiSelect/MultiSelect.styles.d.ts +2 -2
- package/lib/components/NavLink/NavLink.styles.d.ts +2 -2
- package/lib/components/Notification/Notification.styles.d.ts +2 -2
- package/lib/components/NumberInput/NumberInput.styles.d.ts +2 -2
- package/lib/components/Popover/PopoverDropdown/PopoverDropdown.styles.d.ts +2 -2
- package/lib/components/Progress/Progress.styles.d.ts +2 -2
- package/lib/components/Radio/Radio.styles.d.ts +2 -2
- package/lib/components/RingProgress/RingProgress.styles.d.ts +2 -2
- package/lib/components/ScrollArea/ScrollArea.styles.d.ts +2 -2
- package/lib/components/SegmentedControl/SegmentedControl.styles.d.ts +2 -2
- package/lib/components/Select/SelectItems/SelectItems.styles.d.ts +2 -2
- package/lib/components/Skeleton/Skeleton.styles.d.ts +2 -2
- package/lib/components/Spoiler/Spoiler.styles.d.ts +2 -2
- package/lib/components/Stepper/Stepper.styles.d.ts +2 -2
- package/lib/components/Switch/Switch.styles.d.ts +2 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.styles.d.ts +2 -2
- package/lib/components/TransferList/RenderList/RenderList.styles.d.ts +2 -2
- package/package.json +6 -6
|
@@ -5,8 +5,8 @@ export interface AccordionControlStylesParams extends AccordionStylesParams {
|
|
|
5
5
|
transitionDuration: number;
|
|
6
6
|
chevronSize: number;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: AccordionControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: AccordionControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "label" | "chevron" | "itemTitle" | "control">) => {
|
|
9
|
+
classes: Record<"icon" | "label" | "chevron" | "itemTitle" | "control", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: MantineTheme;
|
|
12
12
|
};
|
|
@@ -5,8 +5,8 @@ export interface AlertStylesParams {
|
|
|
5
5
|
radius: MantineNumberSize;
|
|
6
6
|
variant: AlertVariant;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: AlertStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: AlertStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "body" | "label" | "title" | "root" | "wrapper" | "message" | "closeButton">) => {
|
|
9
|
+
classes: Record<"icon" | "body" | "label" | "title" | "root" | "wrapper" | "message" | "closeButton", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: MantineTheme;
|
|
12
12
|
};
|
|
@@ -5,8 +5,8 @@ export interface AppShellStylesParams {
|
|
|
5
5
|
navbarOffsetBreakpoint: MantineNumberSize;
|
|
6
6
|
asideOffsetBreakpoint: MantineNumberSize;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: AppShellStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: AppShellStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "main" | "root">) => {
|
|
9
|
+
classes: Record<"body" | "main" | "root", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: MantineTheme;
|
|
12
12
|
};
|
|
@@ -23,5 +23,5 @@ export interface HorizontalSectionProps extends HorizontalSectionSharedProps, Om
|
|
|
23
23
|
section: 'navbar' | 'aside';
|
|
24
24
|
__staticSelector: string;
|
|
25
25
|
}
|
|
26
|
-
export declare const HorizontalSection: React.ForwardRefExoticComponent<Pick<HorizontalSectionProps, "color" | "height" | "position" | "translate" | "width" | "zIndex" | "fixed" | "
|
|
26
|
+
export declare const HorizontalSection: React.ForwardRefExoticComponent<Pick<HorizontalSectionProps, "color" | "height" | "position" | "translate" | "width" | "zIndex" | "hidden" | "fixed" | "style" | "children" | "className" | "sx" | "classNames" | "styles" | "unstyled" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "pl" | "pr" | "slot" | "section" | "title" | "defaultValue" | "onChange" | "id" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "hiddenBreakpoint" | "__staticSelector"> & React.RefAttributes<HTMLElement>>;
|
|
27
27
|
//# sourceMappingURL=HorizontalSection.d.ts.map
|
|
@@ -2,8 +2,8 @@ import { MantineSize } from '@mantine/styles';
|
|
|
2
2
|
export interface AutocompleteStylesParams {
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: AutocompleteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: AutocompleteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"item" | "wrapper" | "nothingFound" | "hovered">) => {
|
|
6
|
+
classes: Record<"item" | "wrapper" | "nothingFound" | "hovered", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -13,8 +13,8 @@ export declare const sizes: {
|
|
|
13
13
|
lg: number;
|
|
14
14
|
xl: number;
|
|
15
15
|
};
|
|
16
|
-
declare const _default: (params: AvatarStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
17
|
-
classes: Record<"
|
|
16
|
+
declare const _default: (params: AvatarStylesParams, options?: import("@mantine/styles").UseStylesOptions<"image" | "placeholder" | "root" | "placeholderIcon">) => {
|
|
17
|
+
classes: Record<"image" | "placeholder" | "root" | "placeholderIcon", string>;
|
|
18
18
|
cx: (...args: any) => string;
|
|
19
19
|
theme: MantineTheme;
|
|
20
20
|
};
|
|
@@ -8,8 +8,8 @@ export interface BadgeStylesParams {
|
|
|
8
8
|
variant: BadgeVariant;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: (params: BadgeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "rightSection" | "
|
|
12
|
-
classes: Record<"root" | "rightSection" | "
|
|
11
|
+
declare const _default: (params: BadgeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "rightSection" | "leftSection" | "inner">) => {
|
|
12
|
+
classes: Record<"root" | "rightSection" | "leftSection" | "inner", string>;
|
|
13
13
|
cx: (...args: any) => string;
|
|
14
14
|
theme: MantineTheme;
|
|
15
15
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineColor } from '@mantine/styles';
|
|
|
2
2
|
export interface BlockquoteStylesParams {
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: BlockquoteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: BlockquoteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "body" | "cite" | "root" | "inner">) => {
|
|
6
|
+
classes: Record<"icon" | "body" | "cite" | "root" | "inner", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"
|
|
2
|
-
classes: Record<"
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"separator" | "root" | "breadcrumb">) => {
|
|
2
|
+
classes: Record<"separator" | "root" | "breadcrumb", string>;
|
|
3
3
|
cx: (...args: any) => string;
|
|
4
4
|
theme: import("@mantine/styles").MantineTheme;
|
|
5
5
|
};
|
|
@@ -63,8 +63,8 @@ export declare const sizes: {
|
|
|
63
63
|
paddingRight: number;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
declare const _default: (params: ButtonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
67
|
-
classes: Record<"
|
|
66
|
+
declare const _default: (params: ButtonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "label" | "root" | "inner" | "leftIcon" | "rightIcon">) => {
|
|
67
|
+
classes: Record<"icon" | "label" | "root" | "inner" | "leftIcon" | "rightIcon", string>;
|
|
68
68
|
cx: (...args: any) => string;
|
|
69
69
|
theme: MantineTheme;
|
|
70
70
|
};
|
|
@@ -5,8 +5,8 @@ export interface CheckboxStylesParams {
|
|
|
5
5
|
color: MantineColor;
|
|
6
6
|
transitionDuration: number;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: CheckboxStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: CheckboxStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "input" | "label" | "root" | "inner">) => {
|
|
9
|
+
classes: Record<"icon" | "input" | "label" | "root" | "inner", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: import("@mantine/styles").MantineTheme;
|
|
12
12
|
};
|
|
@@ -11,8 +11,8 @@ export interface ChipStylesParams {
|
|
|
11
11
|
size: MantineSize;
|
|
12
12
|
color: MantineColor;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: (params: ChipStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
15
|
-
classes: Record<"
|
|
14
|
+
declare const _default: (params: ChipStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "label" | "root" | "iconWrapper" | "checkIcon">) => {
|
|
15
|
+
classes: Record<"input" | "label" | "root" | "iconWrapper" | "checkIcon", string>;
|
|
16
16
|
cx: (...args: any) => string;
|
|
17
17
|
theme: import("@mantine/styles").MantineTheme;
|
|
18
18
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineColor } from '@mantine/styles';
|
|
|
2
2
|
export interface CodeStylesParams {
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: CodeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: CodeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"block" | "root">) => {
|
|
6
|
+
classes: Record<"block" | "root", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -10,8 +10,8 @@ export declare const sizes: {
|
|
|
10
10
|
lg: number;
|
|
11
11
|
xl: number;
|
|
12
12
|
};
|
|
13
|
-
declare const _default: (params: ColorPickerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "slider" | "wrapper" | "
|
|
14
|
-
classes: Record<"body" | "slider" | "wrapper" | "
|
|
13
|
+
declare const _default: (params: ColorPickerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "slider" | "wrapper" | "swatch" | "preview" | "sliders">) => {
|
|
14
|
+
classes: Record<"body" | "slider" | "wrapper" | "swatch" | "preview" | "sliders", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -3,8 +3,8 @@ export interface ColorSwatchStylesParams {
|
|
|
3
3
|
radius: MantineNumberSize;
|
|
4
4
|
size: number;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ColorSwatchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: ColorSwatchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"overlay" | "children" | "root" | "shadowOverlay" | "alphaOverlay">) => {
|
|
7
|
+
classes: Record<"overlay" | "children" | "root" | "shadowOverlay" | "alphaOverlay", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -4,8 +4,8 @@ export interface DividerStylesParams {
|
|
|
4
4
|
variant: 'solid' | 'dashed' | 'dotted';
|
|
5
5
|
color: MantineColor;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: DividerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
8
|
-
classes: Record<"
|
|
7
|
+
declare const _default: (params: DividerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"left" | "right" | "horizontal" | "vertical" | "label" | "root" | "withLabel" | "labelDefaultStyles">) => {
|
|
8
|
+
classes: Record<"left" | "right" | "horizontal" | "vertical" | "label" | "root" | "withLabel" | "labelDefaultStyles", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: MantineTheme;
|
|
11
11
|
};
|
|
@@ -6,8 +6,8 @@ export interface DrawerStylesParams {
|
|
|
6
6
|
size: number | string;
|
|
7
7
|
zIndex: React.CSSProperties['zIndex'];
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: DrawerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: DrawerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"overlay" | "header" | "title" | "root" | "closeButton" | "drawer">) => {
|
|
10
|
+
classes: Record<"overlay" | "header" | "title" | "root" | "closeButton" | "drawer", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: MantineTheme;
|
|
13
13
|
};
|
|
@@ -15,8 +15,8 @@ export declare const GROUP_POSITIONS: {
|
|
|
15
15
|
right: string;
|
|
16
16
|
apart: string;
|
|
17
17
|
};
|
|
18
|
-
declare const _default: (params: GroupStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
19
|
-
classes: Record<"
|
|
18
|
+
declare const _default: (params: GroupStylesParams, options?: import("@mantine/styles").UseStylesOptions<"child" | "root">) => {
|
|
19
|
+
classes: Record<"child" | "root", string>;
|
|
20
20
|
cx: (...args: any) => string;
|
|
21
21
|
theme: import("@mantine/styles").MantineTheme;
|
|
22
22
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineNumberSize } from '@mantine/styles';
|
|
|
2
2
|
export interface ImageStylesParams {
|
|
3
3
|
radius: MantineNumberSize;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: ImageStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: ImageStylesParams, options?: import("@mantine/styles").UseStylesOptions<"caption" | "figure" | "image" | "placeholder" | "root" | "imageWrapper">) => {
|
|
6
|
+
classes: Record<"caption" | "figure" | "image" | "placeholder" | "root" | "imageWrapper", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -20,8 +20,8 @@ export declare const sizes: {
|
|
|
20
20
|
lg: number;
|
|
21
21
|
xl: number;
|
|
22
22
|
};
|
|
23
|
-
declare const _default: (params: InputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
24
|
-
classes: Record<"
|
|
23
|
+
declare const _default: (params: InputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "disabled" | "input" | "wrapper" | "withIcon" | "invalid" | "rightSection">) => {
|
|
24
|
+
classes: Record<"icon" | "disabled" | "input" | "wrapper" | "withIcon" | "invalid" | "rightSection", string>;
|
|
25
25
|
cx: (...args: any) => string;
|
|
26
26
|
theme: MantineTheme;
|
|
27
27
|
};
|
|
@@ -5,7 +5,7 @@ interface BaseProps extends InputWrapperBaseProps, InputSharedProps, DefaultProp
|
|
|
5
5
|
__staticSelector?: string;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function useInputProps<T extends BaseProps>(component: string, defaultProps: Partial<T>, props: T): Omit<import("@mantine/styles").MantineStyleSystemProps & Omit<T, "
|
|
8
|
+
export declare function useInputProps<T extends BaseProps>(component: string, defaultProps: Partial<T>, props: T): Omit<import("@mantine/styles").MantineStyleSystemProps & Omit<T, "size" | "style" | "className" | "sx" | "classNames" | "styles" | "unstyled" | "label" | "id" | "required" | "__staticSelector" | "error" | "description" | "labelProps" | "descriptionProps" | "errorProps" | "inputContainer" | "inputWrapperOrder" | "wrapperProps">, "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "pl" | "pr"> & {
|
|
9
9
|
classNames: Partial<Record<never, string>>;
|
|
10
10
|
styles: import("@mantine/styles").Styles<never, never>;
|
|
11
11
|
unstyled: boolean;
|
|
@@ -3,8 +3,8 @@ interface ListItemStyles {
|
|
|
3
3
|
spacing: MantineNumberSize;
|
|
4
4
|
center: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ListItemStyles, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: ListItemStyles, options?: import("@mantine/styles").UseStylesOptions<"item" | "withIcon" | "itemWrapper" | "itemIcon">) => {
|
|
7
|
+
classes: Record<"item" | "withIcon" | "itemWrapper" | "itemIcon", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -3,8 +3,8 @@ interface MenuItemStylesParams {
|
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
radius: MantineNumberSize;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: MenuItemStylesParams, options?: import("@mantine/styles").UseStylesOptions<"item" | "
|
|
7
|
-
classes: Record<"item" | "
|
|
6
|
+
declare const _default: (params: MenuItemStylesParams, options?: import("@mantine/styles").UseStylesOptions<"item" | "itemIcon" | "itemLabel" | "itemRightSection">) => {
|
|
7
|
+
classes: Record<"item" | "itemIcon" | "itemLabel" | "itemRightSection", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export interface ModalStylesParams {
|
|
|
6
6
|
zIndex: React.CSSProperties['zIndex'];
|
|
7
7
|
fullScreen: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: ModalStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: ModalStylesParams, options?: import("@mantine/styles").UseStylesOptions<"overlay" | "body" | "header" | "title" | "root" | "modal" | "inner" | "close">) => {
|
|
10
|
+
classes: Record<"overlay" | "body" | "header" | "title" | "root" | "modal" | "inner" | "close", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ export interface MultiSelectStylesParams {
|
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
invalid: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: MultiSelectStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "
|
|
7
|
-
classes: Record<"input" | "
|
|
6
|
+
declare const _default: (params: MultiSelectStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "value" | "values" | "wrapper" | "searchInput" | "searchInputEmpty" | "searchInputInputHidden" | "searchInputPointer">) => {
|
|
7
|
+
classes: Record<"input" | "value" | "values" | "wrapper" | "searchInput" | "searchInputEmpty" | "searchInputInputHidden" | "searchInputPointer", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export interface NavLinkStylesParams {
|
|
|
6
6
|
childrenOffset: MantineNumberSize;
|
|
7
7
|
alignIcon: 'top' | 'center';
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: NavLinkStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: NavLinkStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "children" | "body" | "label" | "root" | "description" | "rightSection">) => {
|
|
10
|
+
classes: Record<"icon" | "children" | "body" | "label" | "root" | "description" | "rightSection", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ export interface NotificationStylesParams {
|
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
radius: MantineNumberSize;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: NotificationStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: NotificationStylesParams, options?: import("@mantine/styles").UseStylesOptions<"icon" | "body" | "title" | "root" | "loader" | "closeButton" | "description" | "withIcon">) => {
|
|
7
|
+
classes: Record<"icon" | "body" | "title" | "root" | "loader" | "closeButton" | "description" | "withIcon", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -10,8 +10,8 @@ export declare const CONTROL_SIZES: {
|
|
|
10
10
|
lg: number;
|
|
11
11
|
xl: number;
|
|
12
12
|
};
|
|
13
|
-
declare const _default: (params: NumberInputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
14
|
-
classes: Record<"
|
|
13
|
+
declare const _default: (params: NumberInputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"control" | "rightSection" | "controlUp" | "controlDown">) => {
|
|
14
|
+
classes: Record<"control" | "rightSection" | "controlUp" | "controlDown", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -3,8 +3,8 @@ export interface PopoverStylesParams {
|
|
|
3
3
|
radius?: MantineNumberSize;
|
|
4
4
|
shadow?: MantineShadow;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: PopoverStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: PopoverStylesParams, options?: import("@mantine/styles").UseStylesOptions<"dropdown" | "arrow">) => {
|
|
7
|
+
classes: Record<"dropdown" | "arrow", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export interface ProgressStylesParams {
|
|
|
6
6
|
striped: boolean;
|
|
7
7
|
animate: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: ProgressStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: ProgressStylesParams, options?: import("@mantine/styles").UseStylesOptions<"label" | "root" | "bar">) => {
|
|
10
|
+
classes: Record<"label" | "root" | "bar", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -4,8 +4,8 @@ export interface RadioStylesParams {
|
|
|
4
4
|
color: MantineColor;
|
|
5
5
|
transitionDuration: number;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: RadioStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
8
|
-
classes: Record<"
|
|
7
|
+
declare const _default: (params: RadioStylesParams, options?: import("@mantine/styles").UseStylesOptions<"radio" | "icon" | "label" | "inner" | "radioWrapper">) => {
|
|
8
|
+
classes: Record<"radio" | "icon" | "label" | "inner" | "radioWrapper", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: import("@mantine/styles").MantineTheme;
|
|
11
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"
|
|
2
|
-
classes: Record<"
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"label" | "root">) => {
|
|
2
|
+
classes: Record<"label" | "root", string>;
|
|
3
3
|
cx: (...args: any) => string;
|
|
4
4
|
theme: import("@mantine/styles").MantineTheme;
|
|
5
5
|
};
|
|
@@ -3,8 +3,8 @@ export interface ScrollAreaStylesParams {
|
|
|
3
3
|
offsetScrollbars: boolean;
|
|
4
4
|
scrollbarHovered: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ScrollAreaStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: ScrollAreaStylesParams, options?: import("@mantine/styles").UseStylesOptions<"scrollbar" | "root" | "viewport" | "thumb" | "corner">) => {
|
|
7
|
+
classes: Record<"scrollbar" | "root" | "viewport" | "thumb" | "corner", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -10,8 +10,8 @@ export interface SegmentedControlStylesParams {
|
|
|
10
10
|
size: MantineSize;
|
|
11
11
|
orientation: 'vertical' | 'horizontal';
|
|
12
12
|
}
|
|
13
|
-
declare const _default: (params: SegmentedControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
14
|
-
classes: Record<"
|
|
13
|
+
declare const _default: (params: SegmentedControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"active" | "disabled" | "input" | "label" | "root" | "control" | "controlActive" | "labelActive">) => {
|
|
14
|
+
classes: Record<"active" | "disabled" | "input" | "label" | "root" | "control" | "controlActive" | "labelActive", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineSize } from '@mantine/styles';
|
|
|
2
2
|
interface SelectItemsStyles {
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: SelectItemsStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "
|
|
6
|
-
classes: Record<"separator" | "
|
|
5
|
+
declare const _default: (params: SelectItemsStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "item" | "nothingFound" | "separatorLabel">) => {
|
|
6
|
+
classes: Record<"separator" | "item" | "nothingFound" | "separatorLabel", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -7,8 +7,8 @@ export interface SkeletonStylesParams {
|
|
|
7
7
|
animate: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const fade: import("@emotion/serialize").Keyframes;
|
|
10
|
-
declare const _default: (params: SkeletonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
11
|
-
classes: Record<"
|
|
10
|
+
declare const _default: (params: SkeletonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"visible" | "root">) => {
|
|
11
|
+
classes: Record<"visible" | "root", string>;
|
|
12
12
|
cx: (...args: any) => string;
|
|
13
13
|
theme: import("@mantine/styles").MantineTheme;
|
|
14
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface SpoilerStylesParams {
|
|
2
2
|
transitionDuration: number;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: (params: SpoilerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
5
|
-
classes: Record<"
|
|
4
|
+
declare const _default: (params: SpoilerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"content" | "root" | "control">) => {
|
|
5
|
+
classes: Record<"content" | "root" | "control", string>;
|
|
6
6
|
cx: (...args: any) => string;
|
|
7
7
|
theme: import("@mantine/styles").MantineTheme;
|
|
8
8
|
};
|
|
@@ -8,8 +8,8 @@ export interface StepperStylesParams {
|
|
|
8
8
|
iconPosition: 'right' | 'left';
|
|
9
9
|
breakpoint: MantineNumberSize;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: (params: StepperStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
12
|
-
classes: Record<"
|
|
11
|
+
declare const _default: (params: StepperStylesParams, options?: import("@mantine/styles").UseStylesOptions<"content" | "separator" | "root" | "steps" | "separatorActive">) => {
|
|
12
|
+
classes: Record<"content" | "separator" | "root" | "steps" | "separatorActive", string>;
|
|
13
13
|
cx: (...args: any) => string;
|
|
14
14
|
theme: import("@mantine/styles").MantineTheme;
|
|
15
15
|
};
|
|
@@ -6,8 +6,8 @@ export interface SwitchStylesParams {
|
|
|
6
6
|
offLabel: string;
|
|
7
7
|
onLabel: string;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: SwitchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: SwitchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "label" | "root">) => {
|
|
10
|
+
classes: Record<"input" | "label" | "root", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -7,8 +7,8 @@ interface TimelineItemStyles {
|
|
|
7
7
|
lineVariant: 'solid' | 'dashed' | 'dotted';
|
|
8
8
|
lineWidth: number;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: (params: TimelineItemStyles, options?: import("@mantine/styles").UseStylesOptions<"
|
|
11
|
-
classes: Record<"
|
|
10
|
+
declare const _default: (params: TimelineItemStyles, options?: import("@mantine/styles").UseStylesOptions<"item" | "itemTitle" | "itemBody" | "itemContent" | "itemBulletWithChild" | "itemBullet" | "itemLineActive" | "itemActive">) => {
|
|
11
|
+
classes: Record<"item" | "itemTitle" | "itemBody" | "itemContent" | "itemBulletWithChild" | "itemBullet" | "itemLineActive" | "itemActive", string>;
|
|
12
12
|
cx: (...args: any) => string;
|
|
13
13
|
theme: import("@mantine/styles").MantineTheme;
|
|
14
14
|
};
|
|
@@ -4,8 +4,8 @@ interface RenderListStyles {
|
|
|
4
4
|
native: boolean;
|
|
5
5
|
radius: MantineNumberSize;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: RenderListStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl"
|
|
8
|
-
classes: Record<"separator" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl"
|
|
7
|
+
declare const _default: (params: RenderListStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "separatorLabel" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl">) => {
|
|
8
|
+
classes: Record<"separator" | "separatorLabel" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: import("@mantine/styles").MantineTheme;
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/core",
|
|
3
3
|
"description": "React components library focused on usability, accessibility and developer experience",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.14",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"emotion"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@mantine/hooks": "5.0.0-alpha.
|
|
30
|
+
"@mantine/hooks": "5.0.0-alpha.14",
|
|
31
31
|
"react": ">=16.8.0",
|
|
32
32
|
"react-dom": ">=16.8.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@mantine/utils": "5.0.0-alpha.
|
|
36
|
-
"@mantine/styles": "5.0.0-alpha.
|
|
37
|
-
"@radix-ui/react-scroll-area": "
|
|
38
|
-
"react-textarea-autosize": "
|
|
35
|
+
"@mantine/utils": "5.0.0-alpha.14",
|
|
36
|
+
"@mantine/styles": "5.0.0-alpha.14",
|
|
37
|
+
"@radix-ui/react-scroll-area": "0.1.4",
|
|
38
|
+
"react-textarea-autosize": "8.3.4",
|
|
39
39
|
"@floating-ui/react-dom-interactions": "0.3.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {}
|