@mantine-vue/core 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +23 -19
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +23 -19
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +7 -6
- package/lib/components/ActionIcon/ActionIcon.d.ts +29 -64
- package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +11 -22
- package/lib/components/Alert/Alert.d.ts +6 -6
- package/lib/components/Avatar/Avatar.d.ts +27 -50
- package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +3 -2
- package/lib/components/BackgroundImage/BackgroundImage.d.ts +3 -2
- package/lib/components/Badge/Badge.d.ts +18 -23
- package/lib/components/Blockquote/Blockquote.d.ts +6 -6
- package/lib/components/Burger/Burger.d.ts +6 -5
- package/lib/components/Button/Button.d.ts +29 -65
- package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +12 -23
- package/lib/components/Card/Card.d.ts +7 -6
- package/lib/components/Checkbox/Checkbox.d.ts +34 -34
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +4 -3
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +4 -4
- package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +10 -9
- package/lib/components/Chip/Chip.d.ts +19 -18
- package/lib/components/CloseButton/CloseButton.d.ts +5 -5
- package/lib/components/Code/Code.d.ts +5 -3
- package/lib/components/ColorPicker/ColorPicker.d.ts +4 -3
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +3 -2
- package/lib/components/Container/Container.d.ts +3 -2
- package/lib/components/Dialog/Dialog.d.ts +10 -9
- package/lib/components/Divider/Divider.d.ts +6 -6
- package/lib/components/EmptyState/EmptyState.d.ts +6 -6
- package/lib/components/Fieldset/Fieldset.d.ts +4 -4
- package/lib/components/FileInput/FileInput.d.ts +4 -4
- package/lib/components/Flex/Flex.d.ts +15 -15
- package/lib/components/Grid/Grid.d.ts +49 -50
- package/lib/components/Grid/GridCol/GridCol.d.ts +4 -5
- package/lib/components/Grid/GridCol/GridColVariables.d.ts +4 -5
- package/lib/components/Group/Group.d.ts +12 -11
- package/lib/components/Highlight/Highlight.d.ts +5 -4
- package/lib/components/Image/Image.d.ts +6 -5
- package/lib/components/Indicator/Indicator.d.ts +6 -6
- package/lib/components/Input/Input.d.ts +28 -28
- package/lib/components/Input/InputClearButton/InputClearButton.d.ts +4 -3
- package/lib/components/Input/InputDescription/InputDescription.d.ts +4 -3
- package/lib/components/Input/InputError/InputError.d.ts +4 -3
- package/lib/components/Input/InputLabel/InputLabel.d.ts +4 -3
- package/lib/components/Input/InputWrapper/InputWrapper.d.ts +4 -4
- package/lib/components/InputBase/InputBase.d.ts +7 -6
- package/lib/components/Kbd/Kbd.d.ts +3 -2
- package/lib/components/List/List.d.ts +10 -10
- package/lib/components/Loader/Loader.d.ts +6 -5
- package/lib/components/Mark/Mark.d.ts +5 -3
- package/lib/components/Marquee/Marquee.d.ts +4 -3
- package/lib/components/NativeSelect/NativeSelect.d.ts +7 -7
- package/lib/components/NavLink/NavLink.d.ts +7 -7
- package/lib/components/Notification/Notification.d.ts +7 -7
- package/lib/components/NumberInput/NumberInput.d.ts +4 -4
- package/lib/components/OverflowList/OverflowList.d.ts +4 -3
- package/lib/components/Overlay/Overlay.d.ts +3 -2
- package/lib/components/Pagination/Pagination.d.ts +34 -33
- package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +10 -9
- package/lib/components/Paper/Paper.d.ts +3 -2
- package/lib/components/PasswordInput/PasswordInput.d.ts +7 -7
- package/lib/components/Pill/Pill.d.ts +19 -18
- package/lib/components/Pill/PillGroup/PillGroup.d.ts +8 -7
- package/lib/components/PillsInput/PillsInput.d.ts +13 -13
- package/lib/components/PinInput/PinInput.d.ts +10 -9
- package/lib/components/Progress/Progress.d.ts +28 -27
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +7 -6
- package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +4 -3
- package/lib/components/Radio/Radio.d.ts +34 -34
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +4 -3
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +4 -4
- package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +10 -9
- package/lib/components/Rating/Rating.d.ts +7 -7
- package/lib/components/RingProgress/Curve/Curve.d.ts +4 -3
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +10 -9
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +10 -9
- package/lib/components/Slider/Slider/Slider.d.ts +10 -9
- package/lib/components/Stack/Stack.d.ts +9 -8
- package/lib/components/Stepper/Stepper.d.ts +22 -21
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +4 -3
- package/lib/components/Switch/Switch.d.ts +22 -22
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +4 -4
- package/lib/components/TableOfContents/TableOfContents.d.ts +10 -9
- package/lib/components/Tabs/Tabs.d.ts +19 -18
- package/lib/components/Tabs/TabsList/TabsList.d.ts +4 -3
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +4 -4
- package/lib/components/Text/Text.d.ts +3 -2
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +11 -23
- package/lib/components/Timeline/Timeline.d.ts +19 -18
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +7 -7
- package/lib/components/component-props.d.ts +190 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/core/Box/Box.d.ts +4 -4
- package/lib/core/Box/style-props/style-props.types.d.ts +4 -4
- package/lib/core/MantineProvider/theme.types.d.ts +5 -0
- package/lib/core/types.d.ts +7 -0
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type MantineNode } from '../../core';
|
|
2
|
+
import { type MantineNode, type MantineRadius, type MantineSize } from '../../core';
|
|
3
3
|
import { type NativeSelectData } from './get-parsed-data/get-parsed-data';
|
|
4
4
|
export interface NativeSelectSlots {
|
|
5
5
|
default?: () => VNodeChild;
|
|
@@ -38,7 +38,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
40
|
size: {
|
|
41
|
-
type: PropType<string | number>;
|
|
41
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
42
42
|
default: undefined;
|
|
43
43
|
};
|
|
44
44
|
error: {
|
|
@@ -98,7 +98,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
98
98
|
default: undefined;
|
|
99
99
|
};
|
|
100
100
|
radius: {
|
|
101
|
-
type: PropType<
|
|
101
|
+
type: PropType<MantineRadius>;
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
classNames: {
|
|
@@ -125,7 +125,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
125
125
|
default: undefined;
|
|
126
126
|
};
|
|
127
127
|
size: {
|
|
128
|
-
type: PropType<string | number>;
|
|
128
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
129
129
|
default: undefined;
|
|
130
130
|
};
|
|
131
131
|
error: {
|
|
@@ -185,7 +185,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
185
185
|
default: undefined;
|
|
186
186
|
};
|
|
187
187
|
radius: {
|
|
188
|
-
type: PropType<
|
|
188
|
+
type: PropType<MantineRadius>;
|
|
189
189
|
default: undefined;
|
|
190
190
|
};
|
|
191
191
|
classNames: {
|
|
@@ -205,11 +205,11 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
205
205
|
default: boolean;
|
|
206
206
|
};
|
|
207
207
|
}>> & Readonly<{}>, {
|
|
208
|
-
size:
|
|
208
|
+
size: number | MantineSize | (string & {});
|
|
209
209
|
data: NativeSelectData<any>;
|
|
210
210
|
form: string;
|
|
211
211
|
label: MantineNode;
|
|
212
|
-
radius:
|
|
212
|
+
radius: MantineRadius;
|
|
213
213
|
name: string;
|
|
214
214
|
variant: "default" | "filled" | "unstyled";
|
|
215
215
|
error: MantineNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type MantineNode, type SectionSlots } from '../../core';
|
|
2
|
+
import { type MantineColor, type MantineNode, type MantineSpacing, type SectionSlots } from '../../core';
|
|
3
3
|
export type NavLinkStylesNames = 'root' | 'section' | 'body' | 'label' | 'description' | 'chevron' | 'collapse' | 'children';
|
|
4
4
|
export type NavLinkVariant = 'filled' | 'light' | 'subtle';
|
|
5
5
|
export interface NavLinkSlots extends SectionSlots {
|
|
@@ -33,7 +33,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
35
|
color: {
|
|
36
|
-
type:
|
|
36
|
+
type: PropType<MantineColor>;
|
|
37
37
|
default: undefined;
|
|
38
38
|
};
|
|
39
39
|
noWrap: {
|
|
@@ -57,7 +57,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
59
|
childrenOffset: {
|
|
60
|
-
type: PropType<
|
|
60
|
+
type: PropType<MantineSpacing>;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
disabled: {
|
|
@@ -124,7 +124,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
124
124
|
default: boolean;
|
|
125
125
|
};
|
|
126
126
|
color: {
|
|
127
|
-
type:
|
|
127
|
+
type: PropType<MantineColor>;
|
|
128
128
|
default: undefined;
|
|
129
129
|
};
|
|
130
130
|
noWrap: {
|
|
@@ -148,7 +148,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
150
|
childrenOffset: {
|
|
151
|
-
type: PropType<
|
|
151
|
+
type: PropType<MantineSpacing>;
|
|
152
152
|
default: string;
|
|
153
153
|
};
|
|
154
154
|
disabled: {
|
|
@@ -189,7 +189,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
189
189
|
};
|
|
190
190
|
}>> & Readonly<{}>, {
|
|
191
191
|
label: any;
|
|
192
|
-
color:
|
|
192
|
+
color: MantineColor;
|
|
193
193
|
autoContrast: boolean;
|
|
194
194
|
variant: NavLinkVariant;
|
|
195
195
|
onChange: (opened: boolean) => void;
|
|
@@ -206,7 +206,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
206
206
|
unstyled: boolean;
|
|
207
207
|
leftSection: any;
|
|
208
208
|
rightSection: MantineNode;
|
|
209
|
-
childrenOffset:
|
|
209
|
+
childrenOffset: MantineSpacing;
|
|
210
210
|
noWrap: boolean;
|
|
211
211
|
defaultOpened: boolean;
|
|
212
212
|
disableRightSectionRotation: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type MantineNode } from '../../core';
|
|
2
|
+
import { type MantineColor, type MantineNode, type MantineRadius } from '../../core';
|
|
3
3
|
export type NotificationStylesNames = 'root' | 'icon' | 'loader' | 'body' | 'title' | 'description' | 'closeButton';
|
|
4
4
|
export interface NotificationSlots {
|
|
5
5
|
default?: () => VNodeChild;
|
|
@@ -12,11 +12,11 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
|
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
color: {
|
|
15
|
-
type:
|
|
15
|
+
type: PropType<MantineColor>;
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
radius: {
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<MantineRadius>;
|
|
20
20
|
default: undefined;
|
|
21
21
|
};
|
|
22
22
|
icon: {
|
|
@@ -75,11 +75,11 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
|
|
|
75
75
|
default: undefined;
|
|
76
76
|
};
|
|
77
77
|
color: {
|
|
78
|
-
type:
|
|
78
|
+
type: PropType<MantineColor>;
|
|
79
79
|
default: undefined;
|
|
80
80
|
};
|
|
81
81
|
radius: {
|
|
82
|
-
type: PropType<
|
|
82
|
+
type: PropType<MantineRadius>;
|
|
83
83
|
default: undefined;
|
|
84
84
|
};
|
|
85
85
|
icon: {
|
|
@@ -132,8 +132,8 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
|
|
|
132
132
|
};
|
|
133
133
|
}>> & Readonly<{}>, {
|
|
134
134
|
title: MantineNode;
|
|
135
|
-
radius:
|
|
136
|
-
color:
|
|
135
|
+
radius: MantineRadius;
|
|
136
|
+
color: MantineColor;
|
|
137
137
|
onClose: () => void;
|
|
138
138
|
classNames: Function | Record<string, any>;
|
|
139
139
|
styles: Function | Record<string, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type MantineNode } from '../../core';
|
|
2
|
+
import { type MantineNode, type MantineSize } from '../../core';
|
|
3
3
|
export interface NumberInputSlots {
|
|
4
4
|
label?: () => VNodeChild;
|
|
5
5
|
description?: () => VNodeChild;
|
|
@@ -138,7 +138,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
138
138
|
default: undefined;
|
|
139
139
|
};
|
|
140
140
|
size: {
|
|
141
|
-
type: PropType<string | number>;
|
|
141
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
142
142
|
default: string;
|
|
143
143
|
};
|
|
144
144
|
disabled: {
|
|
@@ -327,7 +327,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
327
327
|
default: undefined;
|
|
328
328
|
};
|
|
329
329
|
size: {
|
|
330
|
-
type: PropType<string | number>;
|
|
330
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
331
331
|
default: string;
|
|
332
332
|
};
|
|
333
333
|
disabled: {
|
|
@@ -391,7 +391,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
391
391
|
default: boolean;
|
|
392
392
|
};
|
|
393
393
|
}>> & Readonly<{}>, {
|
|
394
|
-
size:
|
|
394
|
+
size: number | MantineSize | (string & {});
|
|
395
395
|
max: number | bigint | undefined;
|
|
396
396
|
label: MantineNode;
|
|
397
397
|
error: MantineNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
import { type MantineSpacing } from '../../core';
|
|
2
3
|
export type OverflowListStylesNames = 'root';
|
|
3
4
|
export declare const OverflowList: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
5
|
data: {
|
|
@@ -22,7 +23,7 @@ export declare const OverflowList: import("../..").WithBoxProps<import("vue").De
|
|
|
22
23
|
default: undefined;
|
|
23
24
|
};
|
|
24
25
|
gap: {
|
|
25
|
-
type: PropType<
|
|
26
|
+
type: PropType<MantineSpacing>;
|
|
26
27
|
default: undefined;
|
|
27
28
|
};
|
|
28
29
|
collapseFrom: {
|
|
@@ -73,7 +74,7 @@ export declare const OverflowList: import("../..").WithBoxProps<import("vue").De
|
|
|
73
74
|
default: undefined;
|
|
74
75
|
};
|
|
75
76
|
gap: {
|
|
76
|
-
type: PropType<
|
|
77
|
+
type: PropType<MantineSpacing>;
|
|
77
78
|
default: undefined;
|
|
78
79
|
};
|
|
79
80
|
collapseFrom: {
|
|
@@ -103,7 +104,7 @@ export declare const OverflowList: import("../..").WithBoxProps<import("vue").De
|
|
|
103
104
|
}>> & Readonly<{}>, {
|
|
104
105
|
classNames: Function | Record<string, any>;
|
|
105
106
|
styles: Function | Record<string, any>;
|
|
106
|
-
gap:
|
|
107
|
+
gap: MantineSpacing;
|
|
107
108
|
vars: Function | Record<string, any>;
|
|
108
109
|
unstyled: boolean;
|
|
109
110
|
maxRows: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius } from '../../core';
|
|
2
3
|
export declare const Overlay: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
component: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -18,7 +19,7 @@ export declare const Overlay: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
18
19
|
default: undefined;
|
|
19
20
|
};
|
|
20
21
|
zIndex: PropType<string | number>;
|
|
21
|
-
radius: PropType<
|
|
22
|
+
radius: PropType<MantineRadius>;
|
|
22
23
|
center: {
|
|
23
24
|
type: BooleanConstructor;
|
|
24
25
|
default: boolean;
|
|
@@ -64,7 +65,7 @@ export declare const Overlay: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
64
65
|
default: undefined;
|
|
65
66
|
};
|
|
66
67
|
zIndex: PropType<string | number>;
|
|
67
|
-
radius: PropType<
|
|
68
|
+
radius: PropType<MantineRadius>;
|
|
68
69
|
center: {
|
|
69
70
|
type: BooleanConstructor;
|
|
70
71
|
default: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineColor, type MantineRadius, type MantineSize, type MantineSpacing } from '../../core';
|
|
2
3
|
import { type PaginationLayout } from './PaginationRoot/PaginationRoot';
|
|
3
4
|
export type PaginationStylesNames = 'root' | 'control' | 'dots' | 'items' | 'label';
|
|
4
5
|
export declare const Pagination: {
|
|
@@ -44,19 +45,19 @@ export declare const Pagination: {
|
|
|
44
45
|
default: boolean;
|
|
45
46
|
};
|
|
46
47
|
gap: {
|
|
47
|
-
type: PropType<
|
|
48
|
+
type: PropType<MantineSpacing>;
|
|
48
49
|
default: undefined;
|
|
49
50
|
};
|
|
50
51
|
color: {
|
|
51
|
-
type:
|
|
52
|
+
type: PropType<MantineColor>;
|
|
52
53
|
default: undefined;
|
|
53
54
|
};
|
|
54
55
|
radius: {
|
|
55
|
-
type: PropType<
|
|
56
|
+
type: PropType<MantineRadius>;
|
|
56
57
|
default: undefined;
|
|
57
58
|
};
|
|
58
59
|
size: {
|
|
59
|
-
type: PropType<string | number>;
|
|
60
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
60
61
|
default: undefined;
|
|
61
62
|
};
|
|
62
63
|
disabled: {
|
|
@@ -94,9 +95,9 @@ export declare const Pagination: {
|
|
|
94
95
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
95
96
|
[key: string]: any;
|
|
96
97
|
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
97
|
-
size: string |
|
|
98
|
-
radius:
|
|
99
|
-
color:
|
|
98
|
+
size: number | MantineSize | (string & {}) | "input-xs" | "input-sm" | "input-md" | "input-lg" | "input-xl";
|
|
99
|
+
radius: MantineRadius;
|
|
100
|
+
color: MantineColor;
|
|
100
101
|
autoContrast: boolean;
|
|
101
102
|
onChange: (page: number) => void;
|
|
102
103
|
value: number;
|
|
@@ -107,7 +108,7 @@ export declare const Pagination: {
|
|
|
107
108
|
siblings: number;
|
|
108
109
|
boundaries: number;
|
|
109
110
|
layout: PaginationLayout;
|
|
110
|
-
gap:
|
|
111
|
+
gap: MantineSpacing;
|
|
111
112
|
vars: Function | Record<string, any>;
|
|
112
113
|
unstyled: boolean;
|
|
113
114
|
getItemProps: (page: number) => Record<string, any>;
|
|
@@ -164,19 +165,19 @@ export declare const Pagination: {
|
|
|
164
165
|
default: boolean;
|
|
165
166
|
};
|
|
166
167
|
gap: {
|
|
167
|
-
type: PropType<
|
|
168
|
+
type: PropType<MantineSpacing>;
|
|
168
169
|
default: undefined;
|
|
169
170
|
};
|
|
170
171
|
color: {
|
|
171
|
-
type:
|
|
172
|
+
type: PropType<MantineColor>;
|
|
172
173
|
default: undefined;
|
|
173
174
|
};
|
|
174
175
|
radius: {
|
|
175
|
-
type: PropType<
|
|
176
|
+
type: PropType<MantineRadius>;
|
|
176
177
|
default: undefined;
|
|
177
178
|
};
|
|
178
179
|
size: {
|
|
179
|
-
type: PropType<string | number>;
|
|
180
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
180
181
|
default: undefined;
|
|
181
182
|
};
|
|
182
183
|
disabled: {
|
|
@@ -214,9 +215,9 @@ export declare const Pagination: {
|
|
|
214
215
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
215
216
|
[key: string]: any;
|
|
216
217
|
}> | null, {}, {}, {}, {
|
|
217
|
-
size: string |
|
|
218
|
-
radius:
|
|
219
|
-
color:
|
|
218
|
+
size: number | MantineSize | (string & {}) | "input-xs" | "input-sm" | "input-md" | "input-lg" | "input-xl";
|
|
219
|
+
radius: MantineRadius;
|
|
220
|
+
color: MantineColor;
|
|
220
221
|
autoContrast: boolean;
|
|
221
222
|
onChange: (page: number) => void;
|
|
222
223
|
value: number;
|
|
@@ -227,7 +228,7 @@ export declare const Pagination: {
|
|
|
227
228
|
siblings: number;
|
|
228
229
|
boundaries: number;
|
|
229
230
|
layout: PaginationLayout;
|
|
230
|
-
gap:
|
|
231
|
+
gap: MantineSpacing;
|
|
231
232
|
vars: Function | Record<string, any>;
|
|
232
233
|
unstyled: boolean;
|
|
233
234
|
getItemProps: (page: number) => Record<string, any>;
|
|
@@ -281,19 +282,19 @@ export declare const Pagination: {
|
|
|
281
282
|
default: boolean;
|
|
282
283
|
};
|
|
283
284
|
gap: {
|
|
284
|
-
type: PropType<
|
|
285
|
+
type: PropType<MantineSpacing>;
|
|
285
286
|
default: undefined;
|
|
286
287
|
};
|
|
287
288
|
color: {
|
|
288
|
-
type:
|
|
289
|
+
type: PropType<MantineColor>;
|
|
289
290
|
default: undefined;
|
|
290
291
|
};
|
|
291
292
|
radius: {
|
|
292
|
-
type: PropType<
|
|
293
|
+
type: PropType<MantineRadius>;
|
|
293
294
|
default: undefined;
|
|
294
295
|
};
|
|
295
296
|
size: {
|
|
296
|
-
type: PropType<string | number>;
|
|
297
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
297
298
|
default: undefined;
|
|
298
299
|
};
|
|
299
300
|
disabled: {
|
|
@@ -331,9 +332,9 @@ export declare const Pagination: {
|
|
|
331
332
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
332
333
|
[key: string]: any;
|
|
333
334
|
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
334
|
-
size: string |
|
|
335
|
-
radius:
|
|
336
|
-
color:
|
|
335
|
+
size: number | MantineSize | (string & {}) | "input-xs" | "input-sm" | "input-md" | "input-lg" | "input-xl";
|
|
336
|
+
radius: MantineRadius;
|
|
337
|
+
color: MantineColor;
|
|
337
338
|
autoContrast: boolean;
|
|
338
339
|
onChange: (page: number) => void;
|
|
339
340
|
value: number;
|
|
@@ -344,7 +345,7 @@ export declare const Pagination: {
|
|
|
344
345
|
siblings: number;
|
|
345
346
|
boundaries: number;
|
|
346
347
|
layout: PaginationLayout;
|
|
347
|
-
gap:
|
|
348
|
+
gap: MantineSpacing;
|
|
348
349
|
vars: Function | Record<string, any>;
|
|
349
350
|
unstyled: boolean;
|
|
350
351
|
getItemProps: (page: number) => Record<string, any>;
|
|
@@ -380,15 +381,15 @@ export declare const Pagination: {
|
|
|
380
381
|
default: undefined;
|
|
381
382
|
};
|
|
382
383
|
color: {
|
|
383
|
-
type:
|
|
384
|
+
type: PropType<MantineColor>;
|
|
384
385
|
default: undefined;
|
|
385
386
|
};
|
|
386
387
|
radius: {
|
|
387
|
-
type: PropType<
|
|
388
|
+
type: PropType<MantineRadius>;
|
|
388
389
|
default: undefined;
|
|
389
390
|
};
|
|
390
391
|
size: {
|
|
391
|
-
type: PropType<string | number>;
|
|
392
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
392
393
|
default: undefined;
|
|
393
394
|
};
|
|
394
395
|
disabled: {
|
|
@@ -455,15 +456,15 @@ export declare const Pagination: {
|
|
|
455
456
|
default: undefined;
|
|
456
457
|
};
|
|
457
458
|
color: {
|
|
458
|
-
type:
|
|
459
|
+
type: PropType<MantineColor>;
|
|
459
460
|
default: undefined;
|
|
460
461
|
};
|
|
461
462
|
radius: {
|
|
462
|
-
type: PropType<
|
|
463
|
+
type: PropType<MantineRadius>;
|
|
463
464
|
default: undefined;
|
|
464
465
|
};
|
|
465
466
|
size: {
|
|
466
|
-
type: PropType<string | number>;
|
|
467
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
467
468
|
default: undefined;
|
|
468
469
|
};
|
|
469
470
|
disabled: {
|
|
@@ -503,9 +504,9 @@ export declare const Pagination: {
|
|
|
503
504
|
default: boolean;
|
|
504
505
|
};
|
|
505
506
|
}>> & Readonly<{}>, {
|
|
506
|
-
size: string |
|
|
507
|
-
radius:
|
|
508
|
-
color:
|
|
507
|
+
size: number | MantineSize | (string & {}) | "input-xs" | "input-sm" | "input-md" | "input-lg" | "input-xl";
|
|
508
|
+
radius: MantineRadius;
|
|
509
|
+
color: MantineColor;
|
|
509
510
|
autoContrast: boolean;
|
|
510
511
|
onChange: (page: number) => void;
|
|
511
512
|
value: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineColor, type MantineRadius, type MantineSize } from '../../../core';
|
|
2
3
|
export type PaginationRootStylesNames = 'root' | 'control' | 'dots' | 'items' | 'label';
|
|
3
4
|
export type PaginationLayout = 'default' | 'responsive';
|
|
4
5
|
export declare const PaginationRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -27,15 +28,15 @@ export declare const PaginationRoot: import("vue").DefineComponent<import("vue")
|
|
|
27
28
|
default: undefined;
|
|
28
29
|
};
|
|
29
30
|
color: {
|
|
30
|
-
type:
|
|
31
|
+
type: PropType<MantineColor>;
|
|
31
32
|
default: undefined;
|
|
32
33
|
};
|
|
33
34
|
radius: {
|
|
34
|
-
type: PropType<
|
|
35
|
+
type: PropType<MantineRadius>;
|
|
35
36
|
default: undefined;
|
|
36
37
|
};
|
|
37
38
|
size: {
|
|
38
|
-
type: PropType<string | number>;
|
|
39
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
39
40
|
default: undefined;
|
|
40
41
|
};
|
|
41
42
|
disabled: {
|
|
@@ -102,15 +103,15 @@ export declare const PaginationRoot: import("vue").DefineComponent<import("vue")
|
|
|
102
103
|
default: undefined;
|
|
103
104
|
};
|
|
104
105
|
color: {
|
|
105
|
-
type:
|
|
106
|
+
type: PropType<MantineColor>;
|
|
106
107
|
default: undefined;
|
|
107
108
|
};
|
|
108
109
|
radius: {
|
|
109
|
-
type: PropType<
|
|
110
|
+
type: PropType<MantineRadius>;
|
|
110
111
|
default: undefined;
|
|
111
112
|
};
|
|
112
113
|
size: {
|
|
113
|
-
type: PropType<string | number>;
|
|
114
|
+
type: PropType<MantineSize | `input-${MantineSize}` | (string & {}) | number>;
|
|
114
115
|
default: undefined;
|
|
115
116
|
};
|
|
116
117
|
disabled: {
|
|
@@ -150,9 +151,9 @@ export declare const PaginationRoot: import("vue").DefineComponent<import("vue")
|
|
|
150
151
|
default: boolean;
|
|
151
152
|
};
|
|
152
153
|
}>> & Readonly<{}>, {
|
|
153
|
-
size: string |
|
|
154
|
-
radius:
|
|
155
|
-
color:
|
|
154
|
+
size: number | MantineSize | (string & {}) | "input-xs" | "input-sm" | "input-md" | "input-lg" | "input-xl";
|
|
155
|
+
radius: MantineRadius;
|
|
156
|
+
color: MantineColor;
|
|
156
157
|
autoContrast: boolean;
|
|
157
158
|
onChange: (page: number) => void;
|
|
158
159
|
value: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius } from '../../core';
|
|
2
3
|
export declare const Paper: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
component: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -8,7 +9,7 @@ export declare const Paper: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
8
9
|
type: StringConstructor;
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
11
|
-
radius: PropType<
|
|
12
|
+
radius: PropType<MantineRadius>;
|
|
12
13
|
withBorder: {
|
|
13
14
|
type: BooleanConstructor;
|
|
14
15
|
default: boolean;
|
|
@@ -40,7 +41,7 @@ export declare const Paper: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
40
41
|
type: StringConstructor;
|
|
41
42
|
default: undefined;
|
|
42
43
|
};
|
|
43
|
-
radius: PropType<
|
|
44
|
+
radius: PropType<MantineRadius>;
|
|
44
45
|
withBorder: {
|
|
45
46
|
type: BooleanConstructor;
|
|
46
47
|
default: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type MantineNode } from '../../core';
|
|
2
|
+
import { type MantineNode, type MantineRadius, type MantineSize } from '../../core';
|
|
3
3
|
export interface PasswordInputSlots {
|
|
4
4
|
label?: () => VNodeChild;
|
|
5
5
|
description?: () => VNodeChild;
|
|
@@ -78,7 +78,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
|
|
|
78
78
|
default: undefined;
|
|
79
79
|
};
|
|
80
80
|
size: {
|
|
81
|
-
type: PropType<string | number>;
|
|
81
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
variant: {
|
|
@@ -86,7 +86,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
|
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
88
88
|
radius: {
|
|
89
|
-
type: PropType<
|
|
89
|
+
type: PropType<MantineRadius>;
|
|
90
90
|
default: undefined;
|
|
91
91
|
};
|
|
92
92
|
disabled: {
|
|
@@ -217,7 +217,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
|
|
|
217
217
|
default: undefined;
|
|
218
218
|
};
|
|
219
219
|
size: {
|
|
220
|
-
type: PropType<string | number>;
|
|
220
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
221
221
|
default: string;
|
|
222
222
|
};
|
|
223
223
|
variant: {
|
|
@@ -225,7 +225,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
|
|
|
225
225
|
default: string;
|
|
226
226
|
};
|
|
227
227
|
radius: {
|
|
228
|
-
type: PropType<
|
|
228
|
+
type: PropType<MantineRadius>;
|
|
229
229
|
default: undefined;
|
|
230
230
|
};
|
|
231
231
|
disabled: {
|
|
@@ -285,9 +285,9 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
|
|
|
285
285
|
default: boolean;
|
|
286
286
|
};
|
|
287
287
|
}>> & Readonly<{}>, {
|
|
288
|
-
size:
|
|
288
|
+
size: number | MantineSize | (string & {});
|
|
289
289
|
label: MantineNode;
|
|
290
|
-
radius:
|
|
290
|
+
radius: MantineRadius;
|
|
291
291
|
variant: "default" | "filled" | "unstyled";
|
|
292
292
|
error: MantineNode;
|
|
293
293
|
classNames: Function | Record<string, any>;
|