@mantine-vue/core 2.2.2 → 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 MantineSize } from '../../../core';
|
|
3
3
|
export interface CheckboxGroupContextValue {
|
|
4
4
|
value: string[];
|
|
5
5
|
onChange: (eventOrValue: Event | string) => void;
|
|
@@ -27,7 +27,7 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
|
|
|
27
27
|
default: undefined;
|
|
28
28
|
};
|
|
29
29
|
size: {
|
|
30
|
-
type: PropType<
|
|
30
|
+
type: PropType<MantineSize | (string & {})>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
33
|
wrapperProps: {
|
|
@@ -102,7 +102,7 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
|
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
size: {
|
|
105
|
-
type: PropType<
|
|
105
|
+
type: PropType<MantineSize | (string & {})>;
|
|
106
106
|
default: undefined;
|
|
107
107
|
};
|
|
108
108
|
wrapperProps: {
|
|
@@ -162,7 +162,7 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
|
|
|
162
162
|
default: boolean;
|
|
163
163
|
};
|
|
164
164
|
}>> & Readonly<{}>, {
|
|
165
|
-
size:
|
|
165
|
+
size: MantineSize | (string & {});
|
|
166
166
|
label: MantineNode;
|
|
167
167
|
name: string;
|
|
168
168
|
error: MantineNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
import { type MantineColor, type MantineRadius, type MantineSize } from '../../../core';
|
|
2
3
|
export type CheckboxIndicatorVariant = 'filled' | 'outline';
|
|
3
4
|
export interface CheckboxIndicatorSlots {
|
|
4
5
|
icon?: (props: {
|
|
@@ -9,15 +10,15 @@ export interface CheckboxIndicatorSlots {
|
|
|
9
10
|
}
|
|
10
11
|
export declare const CheckboxIndicator: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
12
|
color: {
|
|
12
|
-
type:
|
|
13
|
+
type: PropType<MantineColor>;
|
|
13
14
|
default: undefined;
|
|
14
15
|
};
|
|
15
16
|
size: {
|
|
16
|
-
type: PropType<string | number>;
|
|
17
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
17
18
|
default: string;
|
|
18
19
|
};
|
|
19
20
|
radius: {
|
|
20
|
-
type: PropType<
|
|
21
|
+
type: PropType<MantineRadius>;
|
|
21
22
|
default: string;
|
|
22
23
|
};
|
|
23
24
|
iconColor: {
|
|
@@ -72,15 +73,15 @@ export declare const CheckboxIndicator: import("../../..").WithBoxProps<import("
|
|
|
72
73
|
[key: string]: any;
|
|
73
74
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
75
|
color: {
|
|
75
|
-
type:
|
|
76
|
+
type: PropType<MantineColor>;
|
|
76
77
|
default: undefined;
|
|
77
78
|
};
|
|
78
79
|
size: {
|
|
79
|
-
type: PropType<string | number>;
|
|
80
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
80
81
|
default: string;
|
|
81
82
|
};
|
|
82
83
|
radius: {
|
|
83
|
-
type: PropType<
|
|
84
|
+
type: PropType<MantineRadius>;
|
|
84
85
|
default: string;
|
|
85
86
|
};
|
|
86
87
|
iconColor: {
|
|
@@ -132,9 +133,9 @@ export declare const CheckboxIndicator: import("../../..").WithBoxProps<import("
|
|
|
132
133
|
default: boolean;
|
|
133
134
|
};
|
|
134
135
|
}>> & Readonly<{}>, {
|
|
135
|
-
size:
|
|
136
|
-
radius:
|
|
137
|
-
color:
|
|
136
|
+
size: number | MantineSize | (string & {});
|
|
137
|
+
radius: MantineRadius;
|
|
138
|
+
color: MantineColor;
|
|
138
139
|
autoContrast: boolean;
|
|
139
140
|
variant: CheckboxIndicatorVariant;
|
|
140
141
|
classNames: Function | Record<string, any>;
|
|
@@ -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 ChipStylesNames = 'root' | 'input' | 'iconWrapper' | 'checkIcon' | 'label';
|
|
3
4
|
export type ChipVariant = 'outline' | 'filled' | 'light';
|
|
4
5
|
export declare const Chip: import("../..").WithBoxProps<{
|
|
@@ -8,11 +9,11 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
8
9
|
default: undefined;
|
|
9
10
|
};
|
|
10
11
|
radius: {
|
|
11
|
-
type: PropType<
|
|
12
|
+
type: PropType<MantineRadius>;
|
|
12
13
|
default: undefined;
|
|
13
14
|
};
|
|
14
15
|
size: {
|
|
15
|
-
type: PropType<
|
|
16
|
+
type: PropType<MantineSize>;
|
|
16
17
|
default: string;
|
|
17
18
|
};
|
|
18
19
|
type: {
|
|
@@ -32,7 +33,7 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
32
33
|
default: undefined;
|
|
33
34
|
};
|
|
34
35
|
color: {
|
|
35
|
-
type:
|
|
36
|
+
type: PropType<MantineColor>;
|
|
36
37
|
default: undefined;
|
|
37
38
|
};
|
|
38
39
|
value: {
|
|
@@ -86,9 +87,9 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
86
87
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
88
|
[key: string]: any;
|
|
88
89
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
89
|
-
size:
|
|
90
|
-
radius:
|
|
91
|
-
color:
|
|
90
|
+
size: MantineSize;
|
|
91
|
+
radius: MantineRadius;
|
|
92
|
+
color: MantineColor;
|
|
92
93
|
autoContrast: boolean;
|
|
93
94
|
variant: ChipVariant;
|
|
94
95
|
type: "radio" | "checkbox";
|
|
@@ -119,11 +120,11 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
119
120
|
default: undefined;
|
|
120
121
|
};
|
|
121
122
|
radius: {
|
|
122
|
-
type: PropType<
|
|
123
|
+
type: PropType<MantineRadius>;
|
|
123
124
|
default: undefined;
|
|
124
125
|
};
|
|
125
126
|
size: {
|
|
126
|
-
type: PropType<
|
|
127
|
+
type: PropType<MantineSize>;
|
|
127
128
|
default: string;
|
|
128
129
|
};
|
|
129
130
|
type: {
|
|
@@ -143,7 +144,7 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
143
144
|
default: undefined;
|
|
144
145
|
};
|
|
145
146
|
color: {
|
|
146
|
-
type:
|
|
147
|
+
type: PropType<MantineColor>;
|
|
147
148
|
default: undefined;
|
|
148
149
|
};
|
|
149
150
|
value: {
|
|
@@ -197,9 +198,9 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
197
198
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
198
199
|
[key: string]: any;
|
|
199
200
|
}>, {}, {}, {}, {
|
|
200
|
-
size:
|
|
201
|
-
radius:
|
|
202
|
-
color:
|
|
201
|
+
size: MantineSize;
|
|
202
|
+
radius: MantineRadius;
|
|
203
|
+
color: MantineColor;
|
|
203
204
|
autoContrast: boolean;
|
|
204
205
|
variant: ChipVariant;
|
|
205
206
|
type: "radio" | "checkbox";
|
|
@@ -227,11 +228,11 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
227
228
|
default: undefined;
|
|
228
229
|
};
|
|
229
230
|
radius: {
|
|
230
|
-
type: PropType<
|
|
231
|
+
type: PropType<MantineRadius>;
|
|
231
232
|
default: undefined;
|
|
232
233
|
};
|
|
233
234
|
size: {
|
|
234
|
-
type: PropType<
|
|
235
|
+
type: PropType<MantineSize>;
|
|
235
236
|
default: string;
|
|
236
237
|
};
|
|
237
238
|
type: {
|
|
@@ -251,7 +252,7 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
251
252
|
default: undefined;
|
|
252
253
|
};
|
|
253
254
|
color: {
|
|
254
|
-
type:
|
|
255
|
+
type: PropType<MantineColor>;
|
|
255
256
|
default: undefined;
|
|
256
257
|
};
|
|
257
258
|
value: {
|
|
@@ -305,9 +306,9 @@ export declare const Chip: import("../..").WithBoxProps<{
|
|
|
305
306
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
306
307
|
[key: string]: any;
|
|
307
308
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
308
|
-
size:
|
|
309
|
-
radius:
|
|
310
|
-
color:
|
|
309
|
+
size: MantineSize;
|
|
310
|
+
radius: MantineRadius;
|
|
311
|
+
color: MantineColor;
|
|
311
312
|
autoContrast: boolean;
|
|
312
313
|
variant: ChipVariant;
|
|
313
314
|
type: "radio" | "checkbox";
|
|
@@ -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 type CloseButtonVariant = 'subtle' | 'transparent';
|
|
4
4
|
export interface CloseButtonSlots {
|
|
5
5
|
default?: () => VNodeChild;
|
|
@@ -10,8 +10,8 @@ export declare const CloseButton: import("vue").DefineComponent<import("vue").Ex
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
-
size: PropType<string | number>;
|
|
14
|
-
radius: PropType<
|
|
13
|
+
size: PropType<MantineSize | (string & {}) | number>;
|
|
14
|
+
radius: PropType<MantineRadius>;
|
|
15
15
|
disabled: {
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
@@ -52,8 +52,8 @@ export declare const CloseButton: import("vue").DefineComponent<import("vue").Ex
|
|
|
52
52
|
type: StringConstructor;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
|
-
size: PropType<string | number>;
|
|
56
|
-
radius: PropType<
|
|
55
|
+
size: PropType<MantineSize | (string & {}) | number>;
|
|
56
|
+
radius: PropType<MantineRadius>;
|
|
57
57
|
disabled: {
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineColor } from '../../core';
|
|
1
3
|
export declare const Code: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
color: {
|
|
3
|
-
type:
|
|
5
|
+
type: PropType<MantineColor>;
|
|
4
6
|
default: undefined;
|
|
5
7
|
};
|
|
6
8
|
block: {
|
|
@@ -27,7 +29,7 @@ export declare const Code: import("../..").WithBoxProps<import("vue").DefineComp
|
|
|
27
29
|
[key: string]: any;
|
|
28
30
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
31
|
color: {
|
|
30
|
-
type:
|
|
32
|
+
type: PropType<MantineColor>;
|
|
31
33
|
default: undefined;
|
|
32
34
|
};
|
|
33
35
|
block: {
|
|
@@ -51,7 +53,7 @@ export declare const Code: import("../..").WithBoxProps<import("vue").DefineComp
|
|
|
51
53
|
default: boolean;
|
|
52
54
|
};
|
|
53
55
|
}>> & Readonly<{}>, {
|
|
54
|
-
color:
|
|
56
|
+
color: MantineColor;
|
|
55
57
|
classNames: Function | Record<string, any>;
|
|
56
58
|
styles: Function | Record<string, any>;
|
|
57
59
|
block: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineSize } from '../../core';
|
|
2
3
|
import type { ColorFormat } from './ColorPicker.types';
|
|
3
4
|
export type ColorPickerStylesNames = 'wrapper' | 'preview' | 'body' | 'sliders' | 'slider' | 'sliderOverlay' | 'thumb' | 'saturation' | 'saturationOverlay' | 'swatches' | 'swatch';
|
|
4
5
|
export declare const ColorPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -35,7 +36,7 @@ export declare const ColorPicker: import("vue").DefineComponent<import("vue").Ex
|
|
|
35
36
|
default: undefined;
|
|
36
37
|
};
|
|
37
38
|
size: {
|
|
38
|
-
type:
|
|
39
|
+
type: PropType<MantineSize | (string & {})>;
|
|
39
40
|
default: undefined;
|
|
40
41
|
};
|
|
41
42
|
fullWidth: {
|
|
@@ -130,7 +131,7 @@ export declare const ColorPicker: import("vue").DefineComponent<import("vue").Ex
|
|
|
130
131
|
default: undefined;
|
|
131
132
|
};
|
|
132
133
|
size: {
|
|
133
|
-
type:
|
|
134
|
+
type: PropType<MantineSize | (string & {})>;
|
|
134
135
|
default: undefined;
|
|
135
136
|
};
|
|
136
137
|
fullWidth: {
|
|
@@ -190,7 +191,7 @@ export declare const ColorPicker: import("vue").DefineComponent<import("vue").Ex
|
|
|
190
191
|
default: boolean;
|
|
191
192
|
};
|
|
192
193
|
}>> & Readonly<{}>, {
|
|
193
|
-
size: string;
|
|
194
|
+
size: MantineSize | (string & {});
|
|
194
195
|
name: string;
|
|
195
196
|
onChange: (value: string) => void;
|
|
196
197
|
value: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius } from '../../core';
|
|
2
3
|
export declare const ColorSwatch: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
color: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
required: true;
|
|
6
7
|
};
|
|
7
8
|
size: PropType<string | number>;
|
|
8
|
-
radius: PropType<
|
|
9
|
+
radius: PropType<MantineRadius>;
|
|
9
10
|
withShadow: {
|
|
10
11
|
type: BooleanConstructor;
|
|
11
12
|
default: undefined;
|
|
@@ -34,7 +35,7 @@ export declare const ColorSwatch: import("../..").WithBoxProps<import("vue").Def
|
|
|
34
35
|
required: true;
|
|
35
36
|
};
|
|
36
37
|
size: PropType<string | number>;
|
|
37
|
-
radius: PropType<
|
|
38
|
+
radius: PropType<MantineRadius>;
|
|
38
39
|
withShadow: {
|
|
39
40
|
type: BooleanConstructor;
|
|
40
41
|
default: undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineSize } from '../../core';
|
|
2
3
|
export declare const Container: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
size: PropType<string | number>;
|
|
4
|
+
size: PropType<MantineSize | (string & {}) | number>;
|
|
4
5
|
fluid: {
|
|
5
6
|
type: BooleanConstructor;
|
|
6
7
|
default: boolean;
|
|
@@ -28,7 +29,7 @@ export declare const Container: import("../..").WithBoxProps<import("vue").Defin
|
|
|
28
29
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
30
|
[key: string]: any;
|
|
30
31
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
size: PropType<string | number>;
|
|
32
|
+
size: PropType<MantineSize | (string & {}) | number>;
|
|
32
33
|
fluid: {
|
|
33
34
|
type: BooleanConstructor;
|
|
34
35
|
default: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius, type MantineSize, type MantineSpacing } from '../../core';
|
|
2
3
|
import { type AffixPosition } from '../Affix';
|
|
3
4
|
import { type MantineTransition } from '../Transition';
|
|
4
5
|
export type DialogStylesNames = 'root' | 'closeButton';
|
|
@@ -28,7 +29,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
28
29
|
default: undefined;
|
|
29
30
|
};
|
|
30
31
|
size: {
|
|
31
|
-
type: PropType<string | number>;
|
|
32
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
32
33
|
default: undefined;
|
|
33
34
|
};
|
|
34
35
|
zIndex: {
|
|
@@ -52,7 +53,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
52
53
|
default: undefined;
|
|
53
54
|
};
|
|
54
55
|
radius: {
|
|
55
|
-
type: PropType<
|
|
56
|
+
type: PropType<MantineRadius>;
|
|
56
57
|
default: undefined;
|
|
57
58
|
};
|
|
58
59
|
withBorder: {
|
|
@@ -60,7 +61,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
60
61
|
default: undefined;
|
|
61
62
|
};
|
|
62
63
|
p: {
|
|
63
|
-
type: PropType<
|
|
64
|
+
type: PropType<MantineSpacing>;
|
|
64
65
|
default: undefined;
|
|
65
66
|
};
|
|
66
67
|
classNames: {
|
|
@@ -107,7 +108,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
107
108
|
default: undefined;
|
|
108
109
|
};
|
|
109
110
|
size: {
|
|
110
|
-
type: PropType<string | number>;
|
|
111
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
111
112
|
default: undefined;
|
|
112
113
|
};
|
|
113
114
|
zIndex: {
|
|
@@ -131,7 +132,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
131
132
|
default: undefined;
|
|
132
133
|
};
|
|
133
134
|
radius: {
|
|
134
|
-
type: PropType<
|
|
135
|
+
type: PropType<MantineRadius>;
|
|
135
136
|
default: undefined;
|
|
136
137
|
};
|
|
137
138
|
withBorder: {
|
|
@@ -139,7 +140,7 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
139
140
|
default: undefined;
|
|
140
141
|
};
|
|
141
142
|
p: {
|
|
142
|
-
type: PropType<
|
|
143
|
+
type: PropType<MantineSpacing>;
|
|
143
144
|
default: undefined;
|
|
144
145
|
};
|
|
145
146
|
classNames: {
|
|
@@ -159,9 +160,9 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
159
160
|
default: boolean;
|
|
160
161
|
};
|
|
161
162
|
}>> & Readonly<{}>, {
|
|
162
|
-
size:
|
|
163
|
-
p:
|
|
164
|
-
radius:
|
|
163
|
+
size: number | MantineSize | (string & {});
|
|
164
|
+
p: MantineSpacing;
|
|
165
|
+
radius: MantineRadius;
|
|
165
166
|
shadow: string;
|
|
166
167
|
onClose: () => void;
|
|
167
168
|
classNames: 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 MantineColor, type MantineNode, type MantineSize } from '../../core';
|
|
3
3
|
export type DividerVariant = 'solid' | 'dashed' | 'dotted';
|
|
4
4
|
export interface DividerSlots {
|
|
5
5
|
default?: () => VNodeChild;
|
|
@@ -7,10 +7,10 @@ export interface DividerSlots {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const Divider: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
color: {
|
|
10
|
-
type:
|
|
10
|
+
type: PropType<MantineColor>;
|
|
11
11
|
default: undefined;
|
|
12
12
|
};
|
|
13
|
-
size: PropType<
|
|
13
|
+
size: PropType<MantineSize | number | (string & {})>;
|
|
14
14
|
label: {
|
|
15
15
|
type: PropType<MantineNode>;
|
|
16
16
|
default: undefined;
|
|
@@ -47,10 +47,10 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
47
47
|
[key: string]: any;
|
|
48
48
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
49
|
color: {
|
|
50
|
-
type:
|
|
50
|
+
type: PropType<MantineColor>;
|
|
51
51
|
default: undefined;
|
|
52
52
|
};
|
|
53
|
-
size: PropType<
|
|
53
|
+
size: PropType<MantineSize | number | (string & {})>;
|
|
54
54
|
label: {
|
|
55
55
|
type: PropType<MantineNode>;
|
|
56
56
|
default: undefined;
|
|
@@ -86,7 +86,7 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
87
|
label: MantineNode;
|
|
88
88
|
orientation: "vertical" | "horizontal";
|
|
89
|
-
color:
|
|
89
|
+
color: MantineColor;
|
|
90
90
|
variant: DividerVariant;
|
|
91
91
|
classNames: Function | Record<string, any>;
|
|
92
92
|
styles: Function | Record<string, any>;
|
|
@@ -50,7 +50,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
color: {
|
|
53
|
-
type:
|
|
53
|
+
type: PropType<MantineColor>;
|
|
54
54
|
default: undefined;
|
|
55
55
|
};
|
|
56
56
|
title: {
|
|
@@ -94,7 +94,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
94
94
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
95
95
|
size: MantineSize | (string & {});
|
|
96
96
|
title: MantineNode;
|
|
97
|
-
color:
|
|
97
|
+
color: MantineColor;
|
|
98
98
|
variant: (string & {}) | EmptyStateVariant;
|
|
99
99
|
classNames: Function | Record<string, any>;
|
|
100
100
|
styles: Function | Record<string, any>;
|
|
@@ -126,7 +126,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
126
126
|
default: undefined;
|
|
127
127
|
};
|
|
128
128
|
color: {
|
|
129
|
-
type:
|
|
129
|
+
type: PropType<MantineColor>;
|
|
130
130
|
default: undefined;
|
|
131
131
|
};
|
|
132
132
|
title: {
|
|
@@ -170,7 +170,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
170
170
|
}>, {}, {}, {}, {
|
|
171
171
|
size: MantineSize | (string & {});
|
|
172
172
|
title: MantineNode;
|
|
173
|
-
color:
|
|
173
|
+
color: MantineColor;
|
|
174
174
|
variant: (string & {}) | EmptyStateVariant;
|
|
175
175
|
classNames: Function | Record<string, any>;
|
|
176
176
|
styles: Function | Record<string, any>;
|
|
@@ -199,7 +199,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
199
199
|
default: undefined;
|
|
200
200
|
};
|
|
201
201
|
color: {
|
|
202
|
-
type:
|
|
202
|
+
type: PropType<MantineColor>;
|
|
203
203
|
default: undefined;
|
|
204
204
|
};
|
|
205
205
|
title: {
|
|
@@ -243,7 +243,7 @@ export declare const EmptyState: import("../..").WithBoxProps<{
|
|
|
243
243
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
244
244
|
size: MantineSize | (string & {});
|
|
245
245
|
title: MantineNode;
|
|
246
|
-
color:
|
|
246
|
+
color: MantineColor;
|
|
247
247
|
variant: (string & {}) | EmptyStateVariant;
|
|
248
248
|
classNames: Function | Record<string, any>;
|
|
249
249
|
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 MantineRadius } from '../../core';
|
|
3
3
|
export type FieldsetStylesNames = 'root' | 'legend';
|
|
4
4
|
export type FieldsetVariant = 'default' | 'filled' | 'unstyled';
|
|
5
5
|
export interface FieldsetSlots {
|
|
@@ -12,7 +12,7 @@ export declare const Fieldset: import("../..").WithBoxProps<import("vue").Define
|
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
radius: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<MantineRadius>;
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
variant: {
|
|
@@ -43,7 +43,7 @@ export declare const Fieldset: import("../..").WithBoxProps<import("vue").Define
|
|
|
43
43
|
default: undefined;
|
|
44
44
|
};
|
|
45
45
|
radius: {
|
|
46
|
-
type: PropType<
|
|
46
|
+
type: PropType<MantineRadius>;
|
|
47
47
|
default: undefined;
|
|
48
48
|
};
|
|
49
49
|
variant: {
|
|
@@ -68,7 +68,7 @@ export declare const Fieldset: import("../..").WithBoxProps<import("vue").Define
|
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
70
|
legend: MantineNode;
|
|
71
|
-
radius:
|
|
71
|
+
radius: MantineRadius;
|
|
72
72
|
variant: FieldsetVariant;
|
|
73
73
|
classNames: Function | Record<string, any>;
|
|
74
74
|
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
|
import type { ClearSectionMode } from '../Input';
|
|
4
4
|
export interface FileInputSlots {
|
|
5
5
|
label?: () => VNodeChild;
|
|
@@ -86,7 +86,7 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
86
86
|
default: undefined;
|
|
87
87
|
};
|
|
88
88
|
size: {
|
|
89
|
-
type: PropType<string | number>;
|
|
89
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
90
90
|
default: string;
|
|
91
91
|
};
|
|
92
92
|
label: {
|
|
@@ -205,7 +205,7 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
205
205
|
default: undefined;
|
|
206
206
|
};
|
|
207
207
|
size: {
|
|
208
|
-
type: PropType<string | number>;
|
|
208
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
209
209
|
default: string;
|
|
210
210
|
};
|
|
211
211
|
label: {
|
|
@@ -249,7 +249,7 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
249
249
|
default: boolean;
|
|
250
250
|
};
|
|
251
251
|
}>> & Readonly<{}>, {
|
|
252
|
-
size:
|
|
252
|
+
size: number | MantineSize | (string & {});
|
|
253
253
|
form: string;
|
|
254
254
|
label: MantineNode;
|
|
255
255
|
name: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import { type StyleProp } from '../../core';
|
|
2
|
+
import { type AlignItems, type FlexDirection, type FlexWrap, type JustifyContent, type MantineSpacing, type StyleProp } from '../../core';
|
|
3
3
|
export declare const Flex: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
component: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
-
gap: PropType<StyleProp<
|
|
9
|
-
rowGap: PropType<StyleProp<
|
|
10
|
-
columnGap: PropType<StyleProp<
|
|
11
|
-
align: PropType<StyleProp<
|
|
12
|
-
justify: PropType<StyleProp<
|
|
13
|
-
wrap: PropType<StyleProp<
|
|
14
|
-
direction: PropType<StyleProp<
|
|
8
|
+
gap: PropType<StyleProp<MantineSpacing>>;
|
|
9
|
+
rowGap: PropType<StyleProp<MantineSpacing>>;
|
|
10
|
+
columnGap: PropType<StyleProp<MantineSpacing>>;
|
|
11
|
+
align: PropType<StyleProp<AlignItems>>;
|
|
12
|
+
justify: PropType<StyleProp<JustifyContent>>;
|
|
13
|
+
wrap: PropType<StyleProp<FlexWrap>>;
|
|
14
|
+
direction: PropType<StyleProp<FlexDirection>>;
|
|
15
15
|
classNames: {
|
|
16
16
|
type: (ObjectConstructor | FunctionConstructor)[];
|
|
17
17
|
default: undefined;
|
|
@@ -35,13 +35,13 @@ export declare const Flex: import("../..").WithBoxProps<import("vue").DefineComp
|
|
|
35
35
|
type: StringConstructor;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
gap: PropType<StyleProp<
|
|
39
|
-
rowGap: PropType<StyleProp<
|
|
40
|
-
columnGap: PropType<StyleProp<
|
|
41
|
-
align: PropType<StyleProp<
|
|
42
|
-
justify: PropType<StyleProp<
|
|
43
|
-
wrap: PropType<StyleProp<
|
|
44
|
-
direction: PropType<StyleProp<
|
|
38
|
+
gap: PropType<StyleProp<MantineSpacing>>;
|
|
39
|
+
rowGap: PropType<StyleProp<MantineSpacing>>;
|
|
40
|
+
columnGap: PropType<StyleProp<MantineSpacing>>;
|
|
41
|
+
align: PropType<StyleProp<AlignItems>>;
|
|
42
|
+
justify: PropType<StyleProp<JustifyContent>>;
|
|
43
|
+
wrap: PropType<StyleProp<FlexWrap>>;
|
|
44
|
+
direction: PropType<StyleProp<FlexDirection>>;
|
|
45
45
|
classNames: {
|
|
46
46
|
type: (ObjectConstructor | FunctionConstructor)[];
|
|
47
47
|
default: undefined;
|