@mantine-vue/core 2.2.2 → 2.3.1
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 +43 -31
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +43 -31
- 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/Popover/Popover.d.ts +10 -2
- package/lib/components/Popover/index.d.ts +1 -1
- 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,10 +1,11 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius, type MantineSize } from '../../core';
|
|
2
3
|
export type PillStylesNames = 'root' | 'label' | 'remove';
|
|
3
4
|
export type PillVariant = 'default' | 'contrast';
|
|
4
5
|
export declare const Pill: import("../..").WithBoxProps<{
|
|
5
6
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
6
7
|
size: {
|
|
7
|
-
type: PropType<
|
|
8
|
+
type: PropType<MantineSize>;
|
|
8
9
|
default: undefined;
|
|
9
10
|
};
|
|
10
11
|
withRemoveButton: {
|
|
@@ -20,7 +21,7 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
20
21
|
default: undefined;
|
|
21
22
|
};
|
|
22
23
|
radius: {
|
|
23
|
-
type: PropType<
|
|
24
|
+
type: PropType<MantineRadius>;
|
|
24
25
|
default: undefined;
|
|
25
26
|
};
|
|
26
27
|
disabled: {
|
|
@@ -54,8 +55,8 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
54
55
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
56
|
[key: string]: any;
|
|
56
57
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
57
|
-
size:
|
|
58
|
-
radius:
|
|
58
|
+
size: MantineSize;
|
|
59
|
+
radius: MantineRadius;
|
|
59
60
|
variant: PillVariant;
|
|
60
61
|
classNames: Function | Record<string, any>;
|
|
61
62
|
styles: Function | Record<string, any>;
|
|
@@ -75,7 +76,7 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
75
76
|
Defaults: {};
|
|
76
77
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
77
78
|
size: {
|
|
78
|
-
type: PropType<
|
|
79
|
+
type: PropType<MantineSize>;
|
|
79
80
|
default: undefined;
|
|
80
81
|
};
|
|
81
82
|
withRemoveButton: {
|
|
@@ -91,7 +92,7 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
91
92
|
default: undefined;
|
|
92
93
|
};
|
|
93
94
|
radius: {
|
|
94
|
-
type: PropType<
|
|
95
|
+
type: PropType<MantineRadius>;
|
|
95
96
|
default: undefined;
|
|
96
97
|
};
|
|
97
98
|
disabled: {
|
|
@@ -125,8 +126,8 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
125
126
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
126
127
|
[key: string]: any;
|
|
127
128
|
}>, {}, {}, {}, {
|
|
128
|
-
size:
|
|
129
|
-
radius:
|
|
129
|
+
size: MantineSize;
|
|
130
|
+
radius: MantineRadius;
|
|
130
131
|
variant: PillVariant;
|
|
131
132
|
classNames: Function | Record<string, any>;
|
|
132
133
|
styles: Function | Record<string, any>;
|
|
@@ -143,7 +144,7 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
143
144
|
__isSuspense?: never;
|
|
144
145
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
145
146
|
size: {
|
|
146
|
-
type: PropType<
|
|
147
|
+
type: PropType<MantineSize>;
|
|
147
148
|
default: undefined;
|
|
148
149
|
};
|
|
149
150
|
withRemoveButton: {
|
|
@@ -159,7 +160,7 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
159
160
|
default: undefined;
|
|
160
161
|
};
|
|
161
162
|
radius: {
|
|
162
|
-
type: PropType<
|
|
163
|
+
type: PropType<MantineRadius>;
|
|
163
164
|
default: undefined;
|
|
164
165
|
};
|
|
165
166
|
disabled: {
|
|
@@ -193,8 +194,8 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
193
194
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
194
195
|
[key: string]: any;
|
|
195
196
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
196
|
-
size:
|
|
197
|
-
radius:
|
|
197
|
+
size: MantineSize;
|
|
198
|
+
radius: MantineRadius;
|
|
198
199
|
variant: PillVariant;
|
|
199
200
|
classNames: Function | Record<string, any>;
|
|
200
201
|
styles: Function | Record<string, any>;
|
|
@@ -210,11 +211,11 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
210
211
|
varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
211
212
|
Group: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
212
213
|
gap: {
|
|
213
|
-
type: PropType<string | number>;
|
|
214
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
214
215
|
default: undefined;
|
|
215
216
|
};
|
|
216
217
|
size: {
|
|
217
|
-
type: PropType<
|
|
218
|
+
type: PropType<MantineSize | (string & {})>;
|
|
218
219
|
default: undefined;
|
|
219
220
|
};
|
|
220
221
|
disabled: {
|
|
@@ -241,11 +242,11 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
241
242
|
[key: string]: any;
|
|
242
243
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
243
244
|
gap: {
|
|
244
|
-
type: PropType<string | number>;
|
|
245
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
245
246
|
default: undefined;
|
|
246
247
|
};
|
|
247
248
|
size: {
|
|
248
|
-
type: PropType<
|
|
249
|
+
type: PropType<MantineSize | (string & {})>;
|
|
249
250
|
default: undefined;
|
|
250
251
|
};
|
|
251
252
|
disabled: {
|
|
@@ -269,11 +270,11 @@ export declare const Pill: import("../..").WithBoxProps<{
|
|
|
269
270
|
default: boolean;
|
|
270
271
|
};
|
|
271
272
|
}>> & Readonly<{}>, {
|
|
272
|
-
size:
|
|
273
|
+
size: MantineSize | (string & {});
|
|
273
274
|
classNames: Function | Record<string, any>;
|
|
274
275
|
styles: Function | Record<string, any>;
|
|
275
276
|
disabled: boolean;
|
|
276
|
-
gap:
|
|
277
|
+
gap: number | MantineSize | (string & {});
|
|
277
278
|
vars: Function | Record<string, any>;
|
|
278
279
|
unstyled: boolean;
|
|
279
280
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineSize } from '../../../core';
|
|
2
3
|
export interface PillGroupContextValue {
|
|
3
|
-
size?: string | number;
|
|
4
|
+
size?: MantineSize | (string & {}) | number;
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare function usePillGroupContext(): PillGroupContextValue | null;
|
|
7
8
|
export type PillGroupStylesNames = 'group';
|
|
8
9
|
export declare const PillGroup: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
10
|
gap: {
|
|
10
|
-
type: PropType<string | number>;
|
|
11
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
11
12
|
default: undefined;
|
|
12
13
|
};
|
|
13
14
|
size: {
|
|
14
|
-
type: PropType<
|
|
15
|
+
type: PropType<MantineSize | (string & {})>;
|
|
15
16
|
default: undefined;
|
|
16
17
|
};
|
|
17
18
|
disabled: {
|
|
@@ -38,11 +39,11 @@ export declare const PillGroup: import("../../..").WithBoxProps<import("vue").De
|
|
|
38
39
|
[key: string]: any;
|
|
39
40
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
41
|
gap: {
|
|
41
|
-
type: PropType<string | number>;
|
|
42
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
42
43
|
default: undefined;
|
|
43
44
|
};
|
|
44
45
|
size: {
|
|
45
|
-
type: PropType<
|
|
46
|
+
type: PropType<MantineSize | (string & {})>;
|
|
46
47
|
default: undefined;
|
|
47
48
|
};
|
|
48
49
|
disabled: {
|
|
@@ -66,11 +67,11 @@ export declare const PillGroup: import("../../..").WithBoxProps<import("vue").De
|
|
|
66
67
|
default: boolean;
|
|
67
68
|
};
|
|
68
69
|
}>> & Readonly<{}>, {
|
|
69
|
-
size:
|
|
70
|
+
size: MantineSize | (string & {});
|
|
70
71
|
classNames: Function | Record<string, any>;
|
|
71
72
|
styles: Function | Record<string, any>;
|
|
72
73
|
disabled: boolean;
|
|
73
|
-
gap:
|
|
74
|
+
gap: number | MantineSize | (string & {});
|
|
74
75
|
vars: Function | Record<string, any>;
|
|
75
76
|
unstyled: boolean;
|
|
76
77
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, 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, type MantineSize } from '../../core';
|
|
3
3
|
export interface PillsInputSlots {
|
|
4
4
|
default?: () => VNodeChild;
|
|
5
5
|
label?: () => VNodeChild;
|
|
@@ -11,7 +11,7 @@ export interface PillsInputSlots {
|
|
|
11
11
|
export declare const PillsInput: {
|
|
12
12
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
size: {
|
|
14
|
-
type: PropType<string | number>;
|
|
14
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
disabled: {
|
|
@@ -71,7 +71,7 @@ export declare const PillsInput: {
|
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
radius: {
|
|
74
|
-
type: PropType<
|
|
74
|
+
type: PropType<MantineRadius>;
|
|
75
75
|
default: undefined;
|
|
76
76
|
};
|
|
77
77
|
mod: {
|
|
@@ -81,9 +81,9 @@ export declare const PillsInput: {
|
|
|
81
81
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
82
82
|
[key: string]: any;
|
|
83
83
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
84
|
-
size:
|
|
84
|
+
size: number | MantineSize | (string & {});
|
|
85
85
|
label: MantineNode;
|
|
86
|
-
radius:
|
|
86
|
+
radius: MantineRadius;
|
|
87
87
|
variant: "default" | "filled" | "unstyled";
|
|
88
88
|
error: MantineNode;
|
|
89
89
|
classNames: Function | Record<string, any>;
|
|
@@ -107,7 +107,7 @@ export declare const PillsInput: {
|
|
|
107
107
|
Defaults: {};
|
|
108
108
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
109
109
|
size: {
|
|
110
|
-
type: PropType<string | number>;
|
|
110
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
111
111
|
default: string;
|
|
112
112
|
};
|
|
113
113
|
disabled: {
|
|
@@ -167,7 +167,7 @@ export declare const PillsInput: {
|
|
|
167
167
|
default: boolean;
|
|
168
168
|
};
|
|
169
169
|
radius: {
|
|
170
|
-
type: PropType<
|
|
170
|
+
type: PropType<MantineRadius>;
|
|
171
171
|
default: undefined;
|
|
172
172
|
};
|
|
173
173
|
mod: {
|
|
@@ -177,9 +177,9 @@ export declare const PillsInput: {
|
|
|
177
177
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
178
178
|
[key: string]: any;
|
|
179
179
|
}>, {}, {}, {}, {
|
|
180
|
-
size:
|
|
180
|
+
size: number | MantineSize | (string & {});
|
|
181
181
|
label: MantineNode;
|
|
182
|
-
radius:
|
|
182
|
+
radius: MantineRadius;
|
|
183
183
|
variant: "default" | "filled" | "unstyled";
|
|
184
184
|
error: MantineNode;
|
|
185
185
|
classNames: Function | Record<string, any>;
|
|
@@ -200,7 +200,7 @@ export declare const PillsInput: {
|
|
|
200
200
|
__isSuspense?: never;
|
|
201
201
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
202
202
|
size: {
|
|
203
|
-
type: PropType<string | number>;
|
|
203
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
204
204
|
default: string;
|
|
205
205
|
};
|
|
206
206
|
disabled: {
|
|
@@ -260,7 +260,7 @@ export declare const PillsInput: {
|
|
|
260
260
|
default: boolean;
|
|
261
261
|
};
|
|
262
262
|
radius: {
|
|
263
|
-
type: PropType<
|
|
263
|
+
type: PropType<MantineRadius>;
|
|
264
264
|
default: undefined;
|
|
265
265
|
};
|
|
266
266
|
mod: {
|
|
@@ -270,9 +270,9 @@ export declare const PillsInput: {
|
|
|
270
270
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
271
271
|
[key: string]: any;
|
|
272
272
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
273
|
-
size:
|
|
273
|
+
size: number | MantineSize | (string & {});
|
|
274
274
|
label: MantineNode;
|
|
275
|
-
radius:
|
|
275
|
+
radius: MantineRadius;
|
|
276
276
|
variant: "default" | "filled" | "unstyled";
|
|
277
277
|
error: MantineNode;
|
|
278
278
|
classNames: Function | Record<string, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { type VueRefTarget } from '@mantine-vue/hooks';
|
|
3
|
+
import { type MantineRadius, type MantineSize, type MantineSpacing } from '../../core';
|
|
3
4
|
export type PinInputStylesNames = 'root' | 'pinInput' | 'input';
|
|
4
5
|
export type PinInputCssVariables = {
|
|
5
6
|
root: '--pin-input-size';
|
|
@@ -50,15 +51,15 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
|
|
|
50
51
|
default: undefined;
|
|
51
52
|
};
|
|
52
53
|
gap: {
|
|
53
|
-
type: PropType<
|
|
54
|
+
type: PropType<MantineSpacing>;
|
|
54
55
|
default: undefined;
|
|
55
56
|
};
|
|
56
57
|
radius: {
|
|
57
|
-
type: PropType<
|
|
58
|
+
type: PropType<MantineRadius>;
|
|
58
59
|
default: undefined;
|
|
59
60
|
};
|
|
60
61
|
size: {
|
|
61
|
-
type: PropType<
|
|
62
|
+
type: PropType<MantineSize>;
|
|
62
63
|
default: undefined;
|
|
63
64
|
};
|
|
64
65
|
autoFocus: {
|
|
@@ -181,15 +182,15 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
|
|
|
181
182
|
default: undefined;
|
|
182
183
|
};
|
|
183
184
|
gap: {
|
|
184
|
-
type: PropType<
|
|
185
|
+
type: PropType<MantineSpacing>;
|
|
185
186
|
default: undefined;
|
|
186
187
|
};
|
|
187
188
|
radius: {
|
|
188
|
-
type: PropType<
|
|
189
|
+
type: PropType<MantineRadius>;
|
|
189
190
|
default: undefined;
|
|
190
191
|
};
|
|
191
192
|
size: {
|
|
192
|
-
type: PropType<
|
|
193
|
+
type: PropType<MantineSize>;
|
|
193
194
|
default: undefined;
|
|
194
195
|
};
|
|
195
196
|
autoFocus: {
|
|
@@ -301,11 +302,11 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
|
|
|
301
302
|
default: boolean;
|
|
302
303
|
};
|
|
303
304
|
}>> & Readonly<{}>, {
|
|
304
|
-
size:
|
|
305
|
+
size: MantineSize;
|
|
305
306
|
length: number;
|
|
306
307
|
form: string;
|
|
307
308
|
mask: boolean;
|
|
308
|
-
radius:
|
|
309
|
+
radius: MantineRadius;
|
|
309
310
|
name: string;
|
|
310
311
|
variant: string;
|
|
311
312
|
type: "number" | RegExp | "alphanumeric";
|
|
@@ -317,7 +318,7 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
|
|
|
317
318
|
disabled: boolean;
|
|
318
319
|
defaultValue: string;
|
|
319
320
|
id: string;
|
|
320
|
-
gap:
|
|
321
|
+
gap: MantineSpacing;
|
|
321
322
|
onComplete: (value: string) => void;
|
|
322
323
|
vars: Function | Record<string, any>;
|
|
323
324
|
unstyled: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type FlipOptions, type InlineOptions, type ShiftOptions, type SizeOptions } from '@floating-ui/vue';
|
|
1
2
|
import { type PropType, type VNode } from 'vue';
|
|
2
3
|
import { type ArrowPosition, type FloatingAxesOffsets, type FloatingPosition, type FloatingStrategy } from '../../utils/Floating';
|
|
3
4
|
export interface PopoverProps {
|
|
@@ -10,7 +11,7 @@ export interface PopoverProps {
|
|
|
10
11
|
onOpen?: () => void;
|
|
11
12
|
onClose?: () => void;
|
|
12
13
|
onDismiss?: () => void;
|
|
13
|
-
width?:
|
|
14
|
+
width?: PopoverWidth;
|
|
14
15
|
withArrow?: boolean;
|
|
15
16
|
arrowSize?: number;
|
|
16
17
|
arrowOffset?: number;
|
|
@@ -28,7 +29,7 @@ export interface PopoverProps {
|
|
|
28
29
|
transitionProps?: Record<string, any>;
|
|
29
30
|
zIndex?: string | number;
|
|
30
31
|
floatingStrategy?: FloatingStrategy;
|
|
31
|
-
middlewares?:
|
|
32
|
+
middlewares?: PopoverMiddlewares;
|
|
32
33
|
id?: string;
|
|
33
34
|
targetProps?: Record<string, any>;
|
|
34
35
|
withOverlay?: boolean;
|
|
@@ -40,6 +41,13 @@ export interface PopoverProps {
|
|
|
40
41
|
vars?: any;
|
|
41
42
|
unstyled?: boolean;
|
|
42
43
|
}
|
|
44
|
+
export type PopoverWidth = 'target' | string | number | null;
|
|
45
|
+
export interface PopoverMiddlewares {
|
|
46
|
+
shift?: boolean | ShiftOptions;
|
|
47
|
+
flip?: boolean | FlipOptions;
|
|
48
|
+
inline?: boolean | InlineOptions;
|
|
49
|
+
size?: boolean | SizeOptions;
|
|
50
|
+
}
|
|
43
51
|
export declare const PopoverTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
44
52
|
refProp: {
|
|
45
53
|
type: StringConstructor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Popover, PopoverTarget, PopoverDropdown, PopoverContextMenu } from './Popover';
|
|
2
|
-
export type { PopoverProps, PopoverStylesNames, PopoverCssVariables, PopoverTargetProps, PopoverDropdownProps, PopoverContextMenuProps, } from './Popover';
|
|
2
|
+
export type { PopoverProps, PopoverStylesNames, PopoverCssVariables, PopoverTargetProps, PopoverDropdownProps, PopoverContextMenuProps, PopoverMiddlewares, PopoverWidth, } from './Popover';
|
|
@@ -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 ProgressStylesNames = 'root' | 'section' | 'label';
|
|
3
4
|
export declare const Progress: {
|
|
4
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -7,7 +8,7 @@ export declare const Progress: {
|
|
|
7
8
|
required: true;
|
|
8
9
|
};
|
|
9
10
|
color: {
|
|
10
|
-
type:
|
|
11
|
+
type: PropType<MantineColor>;
|
|
11
12
|
default: undefined;
|
|
12
13
|
};
|
|
13
14
|
striped: {
|
|
@@ -19,11 +20,11 @@ export declare const Progress: {
|
|
|
19
20
|
default: boolean;
|
|
20
21
|
};
|
|
21
22
|
size: {
|
|
22
|
-
type: PropType<string | number>;
|
|
23
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
23
24
|
default: undefined;
|
|
24
25
|
};
|
|
25
26
|
radius: {
|
|
26
|
-
type: PropType<
|
|
27
|
+
type: PropType<MantineRadius>;
|
|
27
28
|
default: undefined;
|
|
28
29
|
};
|
|
29
30
|
autoContrast: {
|
|
@@ -57,10 +58,10 @@ export declare const Progress: {
|
|
|
57
58
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
58
59
|
[key: string]: any;
|
|
59
60
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
60
|
-
size:
|
|
61
|
+
size: number | MantineSize | (string & {});
|
|
61
62
|
orientation: "vertical" | "horizontal";
|
|
62
|
-
radius:
|
|
63
|
-
color:
|
|
63
|
+
radius: MantineRadius;
|
|
64
|
+
color: MantineColor;
|
|
64
65
|
autoContrast: boolean;
|
|
65
66
|
classNames: Function | Record<string, any>;
|
|
66
67
|
styles: Function | Record<string, any>;
|
|
@@ -82,7 +83,7 @@ export declare const Progress: {
|
|
|
82
83
|
required: true;
|
|
83
84
|
};
|
|
84
85
|
color: {
|
|
85
|
-
type:
|
|
86
|
+
type: PropType<MantineColor>;
|
|
86
87
|
default: undefined;
|
|
87
88
|
};
|
|
88
89
|
striped: {
|
|
@@ -94,11 +95,11 @@ export declare const Progress: {
|
|
|
94
95
|
default: boolean;
|
|
95
96
|
};
|
|
96
97
|
size: {
|
|
97
|
-
type: PropType<string | number>;
|
|
98
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
98
99
|
default: undefined;
|
|
99
100
|
};
|
|
100
101
|
radius: {
|
|
101
|
-
type: PropType<
|
|
102
|
+
type: PropType<MantineRadius>;
|
|
102
103
|
default: undefined;
|
|
103
104
|
};
|
|
104
105
|
autoContrast: {
|
|
@@ -132,10 +133,10 @@ export declare const Progress: {
|
|
|
132
133
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
133
134
|
[key: string]: any;
|
|
134
135
|
}>, {}, {}, {}, {
|
|
135
|
-
size:
|
|
136
|
+
size: number | MantineSize | (string & {});
|
|
136
137
|
orientation: "vertical" | "horizontal";
|
|
137
|
-
radius:
|
|
138
|
-
color:
|
|
138
|
+
radius: MantineRadius;
|
|
139
|
+
color: MantineColor;
|
|
139
140
|
autoContrast: boolean;
|
|
140
141
|
classNames: Function | Record<string, any>;
|
|
141
142
|
styles: Function | Record<string, any>;
|
|
@@ -154,7 +155,7 @@ export declare const Progress: {
|
|
|
154
155
|
required: true;
|
|
155
156
|
};
|
|
156
157
|
color: {
|
|
157
|
-
type:
|
|
158
|
+
type: PropType<MantineColor>;
|
|
158
159
|
default: undefined;
|
|
159
160
|
};
|
|
160
161
|
striped: {
|
|
@@ -166,11 +167,11 @@ export declare const Progress: {
|
|
|
166
167
|
default: boolean;
|
|
167
168
|
};
|
|
168
169
|
size: {
|
|
169
|
-
type: PropType<string | number>;
|
|
170
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
170
171
|
default: undefined;
|
|
171
172
|
};
|
|
172
173
|
radius: {
|
|
173
|
-
type: PropType<
|
|
174
|
+
type: PropType<MantineRadius>;
|
|
174
175
|
default: undefined;
|
|
175
176
|
};
|
|
176
177
|
autoContrast: {
|
|
@@ -204,10 +205,10 @@ export declare const Progress: {
|
|
|
204
205
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
206
|
[key: string]: any;
|
|
206
207
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
207
|
-
size:
|
|
208
|
+
size: number | MantineSize | (string & {});
|
|
208
209
|
orientation: "vertical" | "horizontal";
|
|
209
|
-
radius:
|
|
210
|
-
color:
|
|
210
|
+
radius: MantineRadius;
|
|
211
|
+
color: MantineColor;
|
|
211
212
|
autoContrast: boolean;
|
|
212
213
|
classNames: Function | Record<string, any>;
|
|
213
214
|
styles: Function | Record<string, any>;
|
|
@@ -220,11 +221,11 @@ export declare const Progress: {
|
|
|
220
221
|
classes: Record<string, string>;
|
|
221
222
|
Root: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
222
223
|
size: {
|
|
223
|
-
type: PropType<string | number>;
|
|
224
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
224
225
|
default: undefined;
|
|
225
226
|
};
|
|
226
227
|
radius: {
|
|
227
|
-
type: PropType<
|
|
228
|
+
type: PropType<MantineRadius>;
|
|
228
229
|
default: undefined;
|
|
229
230
|
};
|
|
230
231
|
autoContrast: {
|
|
@@ -263,11 +264,11 @@ export declare const Progress: {
|
|
|
263
264
|
[key: string]: any;
|
|
264
265
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
265
266
|
size: {
|
|
266
|
-
type: PropType<string | number>;
|
|
267
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
267
268
|
default: undefined;
|
|
268
269
|
};
|
|
269
270
|
radius: {
|
|
270
|
-
type: PropType<
|
|
271
|
+
type: PropType<MantineRadius>;
|
|
271
272
|
default: undefined;
|
|
272
273
|
};
|
|
273
274
|
autoContrast: {
|
|
@@ -303,9 +304,9 @@ export declare const Progress: {
|
|
|
303
304
|
default: boolean;
|
|
304
305
|
};
|
|
305
306
|
}>> & Readonly<{}>, {
|
|
306
|
-
size:
|
|
307
|
+
size: number | MantineSize | (string & {});
|
|
307
308
|
orientation: "vertical" | "horizontal";
|
|
308
|
-
radius:
|
|
309
|
+
radius: MantineRadius;
|
|
309
310
|
autoContrast: boolean;
|
|
310
311
|
classNames: Function | Record<string, any>;
|
|
311
312
|
styles: Function | Record<string, any>;
|
|
@@ -324,7 +325,7 @@ export declare const Progress: {
|
|
|
324
325
|
default: undefined;
|
|
325
326
|
};
|
|
326
327
|
color: {
|
|
327
|
-
type:
|
|
328
|
+
type: PropType<MantineColor>;
|
|
328
329
|
default: undefined;
|
|
329
330
|
};
|
|
330
331
|
striped: {
|
|
@@ -363,7 +364,7 @@ export declare const Progress: {
|
|
|
363
364
|
default: undefined;
|
|
364
365
|
};
|
|
365
366
|
color: {
|
|
366
|
-
type:
|
|
367
|
+
type: PropType<MantineColor>;
|
|
367
368
|
default: undefined;
|
|
368
369
|
};
|
|
369
370
|
striped: {
|
|
@@ -391,7 +392,7 @@ export declare const Progress: {
|
|
|
391
392
|
default: undefined;
|
|
392
393
|
};
|
|
393
394
|
}>> & Readonly<{}>, {
|
|
394
|
-
color:
|
|
395
|
+
color: MantineColor;
|
|
395
396
|
classNames: Function | Record<string, any>;
|
|
396
397
|
styles: Function | Record<string, any>;
|
|
397
398
|
mod: any;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius, type MantineSize } from '../../../core';
|
|
2
3
|
export type ProgressRootStylesNames = 'root' | 'section' | 'label';
|
|
3
4
|
export declare const ProgressRoot: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
5
|
size: {
|
|
5
|
-
type: PropType<string | number>;
|
|
6
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
radius: {
|
|
9
|
-
type: PropType<
|
|
10
|
+
type: PropType<MantineRadius>;
|
|
10
11
|
default: undefined;
|
|
11
12
|
};
|
|
12
13
|
autoContrast: {
|
|
@@ -45,11 +46,11 @@ export declare const ProgressRoot: import("../../..").WithBoxProps<import("vue")
|
|
|
45
46
|
[key: string]: any;
|
|
46
47
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
48
|
size: {
|
|
48
|
-
type: PropType<string | number>;
|
|
49
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
49
50
|
default: undefined;
|
|
50
51
|
};
|
|
51
52
|
radius: {
|
|
52
|
-
type: PropType<
|
|
53
|
+
type: PropType<MantineRadius>;
|
|
53
54
|
default: undefined;
|
|
54
55
|
};
|
|
55
56
|
autoContrast: {
|
|
@@ -85,9 +86,9 @@ export declare const ProgressRoot: import("../../..").WithBoxProps<import("vue")
|
|
|
85
86
|
default: boolean;
|
|
86
87
|
};
|
|
87
88
|
}>> & Readonly<{}>, {
|
|
88
|
-
size:
|
|
89
|
+
size: number | MantineSize | (string & {});
|
|
89
90
|
orientation: "vertical" | "horizontal";
|
|
90
|
-
radius:
|
|
91
|
+
radius: MantineRadius;
|
|
91
92
|
autoContrast: boolean;
|
|
92
93
|
classNames: Function | Record<string, any>;
|
|
93
94
|
styles: Function | Record<string, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineColor } from '../../../core';
|
|
2
3
|
export declare const ProgressSection: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
value: {
|
|
4
5
|
type: NumberConstructor;
|
|
@@ -9,7 +10,7 @@ export declare const ProgressSection: import("../../..").WithBoxProps<import("vu
|
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
11
12
|
color: {
|
|
12
|
-
type:
|
|
13
|
+
type: PropType<MantineColor>;
|
|
13
14
|
default: undefined;
|
|
14
15
|
};
|
|
15
16
|
striped: {
|
|
@@ -48,7 +49,7 @@ export declare const ProgressSection: import("../../..").WithBoxProps<import("vu
|
|
|
48
49
|
default: undefined;
|
|
49
50
|
};
|
|
50
51
|
color: {
|
|
51
|
-
type:
|
|
52
|
+
type: PropType<MantineColor>;
|
|
52
53
|
default: undefined;
|
|
53
54
|
};
|
|
54
55
|
striped: {
|
|
@@ -76,7 +77,7 @@ export declare const ProgressSection: import("../../..").WithBoxProps<import("vu
|
|
|
76
77
|
default: undefined;
|
|
77
78
|
};
|
|
78
79
|
}>> & Readonly<{}>, {
|
|
79
|
-
color:
|
|
80
|
+
color: MantineColor;
|
|
80
81
|
classNames: Function | Record<string, any>;
|
|
81
82
|
styles: Function | Record<string, any>;
|
|
82
83
|
mod: any;
|