@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,18 +1,18 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type AlignItems, type JustifyContent, type MantineSpacing, type Overflow, type StyleProp } from '../../core';
|
|
2
3
|
import { type GridBreakpoints } from './Grid.context';
|
|
3
|
-
type StyleProp<T> = T | Partial<Record<string, T>>;
|
|
4
4
|
export declare const Grid: import("../..").WithBoxProps<{
|
|
5
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
6
6
|
gap: {
|
|
7
|
-
type: PropType<StyleProp<
|
|
7
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
8
8
|
default: undefined;
|
|
9
9
|
};
|
|
10
10
|
rowGap: {
|
|
11
|
-
type: PropType<StyleProp<
|
|
11
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
columnGap: {
|
|
15
|
-
type: PropType<StyleProp<
|
|
15
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
grow: {
|
|
@@ -20,11 +20,11 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
justify: {
|
|
23
|
-
type:
|
|
23
|
+
type: PropType<JustifyContent>;
|
|
24
24
|
default: undefined;
|
|
25
25
|
};
|
|
26
26
|
align: {
|
|
27
|
-
type:
|
|
27
|
+
type: PropType<AlignItems>;
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
30
|
columns: {
|
|
@@ -32,7 +32,7 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
overflow: {
|
|
35
|
-
type:
|
|
35
|
+
type: PropType<Overflow>;
|
|
36
36
|
default: undefined;
|
|
37
37
|
};
|
|
38
38
|
type: {
|
|
@@ -66,15 +66,15 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
66
66
|
type: "media" | "container";
|
|
67
67
|
classNames: Function | Record<string, any>;
|
|
68
68
|
styles: Function | Record<string, any>;
|
|
69
|
-
justify:
|
|
70
|
-
columnGap: StyleProp<
|
|
71
|
-
rowGap: StyleProp<
|
|
69
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
70
|
+
columnGap: StyleProp<MantineSpacing>;
|
|
71
|
+
rowGap: StyleProp<MantineSpacing>;
|
|
72
72
|
columns: number;
|
|
73
|
-
gap: StyleProp<
|
|
74
|
-
overflow:
|
|
73
|
+
gap: StyleProp<MantineSpacing>;
|
|
74
|
+
overflow: import("csstype").Property.Overflow | undefined;
|
|
75
75
|
vars: Function | Record<string, any>;
|
|
76
76
|
unstyled: boolean;
|
|
77
|
-
align:
|
|
77
|
+
align: import("csstype").Property.AlignItems | undefined;
|
|
78
78
|
grow: boolean;
|
|
79
79
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
80
80
|
P: {};
|
|
@@ -85,15 +85,15 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
85
85
|
Defaults: {};
|
|
86
86
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
87
87
|
gap: {
|
|
88
|
-
type: PropType<StyleProp<
|
|
88
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
89
89
|
default: undefined;
|
|
90
90
|
};
|
|
91
91
|
rowGap: {
|
|
92
|
-
type: PropType<StyleProp<
|
|
92
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
93
93
|
default: undefined;
|
|
94
94
|
};
|
|
95
95
|
columnGap: {
|
|
96
|
-
type: PropType<StyleProp<
|
|
96
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
97
97
|
default: undefined;
|
|
98
98
|
};
|
|
99
99
|
grow: {
|
|
@@ -101,11 +101,11 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
justify: {
|
|
104
|
-
type:
|
|
104
|
+
type: PropType<JustifyContent>;
|
|
105
105
|
default: undefined;
|
|
106
106
|
};
|
|
107
107
|
align: {
|
|
108
|
-
type:
|
|
108
|
+
type: PropType<AlignItems>;
|
|
109
109
|
default: undefined;
|
|
110
110
|
};
|
|
111
111
|
columns: {
|
|
@@ -113,7 +113,7 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
113
113
|
default: undefined;
|
|
114
114
|
};
|
|
115
115
|
overflow: {
|
|
116
|
-
type:
|
|
116
|
+
type: PropType<Overflow>;
|
|
117
117
|
default: undefined;
|
|
118
118
|
};
|
|
119
119
|
type: {
|
|
@@ -147,15 +147,15 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
147
147
|
type: "media" | "container";
|
|
148
148
|
classNames: Function | Record<string, any>;
|
|
149
149
|
styles: Function | Record<string, any>;
|
|
150
|
-
justify:
|
|
151
|
-
columnGap: StyleProp<
|
|
152
|
-
rowGap: StyleProp<
|
|
150
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
151
|
+
columnGap: StyleProp<MantineSpacing>;
|
|
152
|
+
rowGap: StyleProp<MantineSpacing>;
|
|
153
153
|
columns: number;
|
|
154
|
-
gap: StyleProp<
|
|
155
|
-
overflow:
|
|
154
|
+
gap: StyleProp<MantineSpacing>;
|
|
155
|
+
overflow: import("csstype").Property.Overflow | undefined;
|
|
156
156
|
vars: Function | Record<string, any>;
|
|
157
157
|
unstyled: boolean;
|
|
158
|
-
align:
|
|
158
|
+
align: import("csstype").Property.AlignItems | undefined;
|
|
159
159
|
grow: boolean;
|
|
160
160
|
}>;
|
|
161
161
|
__isFragment?: never;
|
|
@@ -163,15 +163,15 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
163
163
|
__isSuspense?: never;
|
|
164
164
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
165
165
|
gap: {
|
|
166
|
-
type: PropType<StyleProp<
|
|
166
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
167
167
|
default: undefined;
|
|
168
168
|
};
|
|
169
169
|
rowGap: {
|
|
170
|
-
type: PropType<StyleProp<
|
|
170
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
171
171
|
default: undefined;
|
|
172
172
|
};
|
|
173
173
|
columnGap: {
|
|
174
|
-
type: PropType<StyleProp<
|
|
174
|
+
type: PropType<StyleProp<MantineSpacing>>;
|
|
175
175
|
default: undefined;
|
|
176
176
|
};
|
|
177
177
|
grow: {
|
|
@@ -179,11 +179,11 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
179
179
|
default: boolean;
|
|
180
180
|
};
|
|
181
181
|
justify: {
|
|
182
|
-
type:
|
|
182
|
+
type: PropType<JustifyContent>;
|
|
183
183
|
default: undefined;
|
|
184
184
|
};
|
|
185
185
|
align: {
|
|
186
|
-
type:
|
|
186
|
+
type: PropType<AlignItems>;
|
|
187
187
|
default: undefined;
|
|
188
188
|
};
|
|
189
189
|
columns: {
|
|
@@ -191,7 +191,7 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
191
191
|
default: undefined;
|
|
192
192
|
};
|
|
193
193
|
overflow: {
|
|
194
|
-
type:
|
|
194
|
+
type: PropType<Overflow>;
|
|
195
195
|
default: undefined;
|
|
196
196
|
};
|
|
197
197
|
type: {
|
|
@@ -225,32 +225,32 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
225
225
|
type: "media" | "container";
|
|
226
226
|
classNames: Function | Record<string, any>;
|
|
227
227
|
styles: Function | Record<string, any>;
|
|
228
|
-
justify:
|
|
229
|
-
columnGap: StyleProp<
|
|
230
|
-
rowGap: StyleProp<
|
|
228
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
229
|
+
columnGap: StyleProp<MantineSpacing>;
|
|
230
|
+
rowGap: StyleProp<MantineSpacing>;
|
|
231
231
|
columns: number;
|
|
232
|
-
gap: StyleProp<
|
|
233
|
-
overflow:
|
|
232
|
+
gap: StyleProp<MantineSpacing>;
|
|
233
|
+
overflow: import("csstype").Property.Overflow | undefined;
|
|
234
234
|
vars: Function | Record<string, any>;
|
|
235
235
|
unstyled: boolean;
|
|
236
|
-
align:
|
|
236
|
+
align: import("csstype").Property.AlignItems | undefined;
|
|
237
237
|
grow: boolean;
|
|
238
238
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
239
239
|
Col: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
240
240
|
span: {
|
|
241
|
-
type: PropType<
|
|
241
|
+
type: PropType<StyleProp<import("./GridCol/GridColVariables").ColSpan>>;
|
|
242
242
|
default: undefined;
|
|
243
243
|
};
|
|
244
244
|
order: {
|
|
245
|
-
type: PropType<
|
|
245
|
+
type: PropType<StyleProp<number>>;
|
|
246
246
|
default: undefined;
|
|
247
247
|
};
|
|
248
248
|
offset: {
|
|
249
|
-
type: PropType<
|
|
249
|
+
type: PropType<StyleProp<number>>;
|
|
250
250
|
default: undefined;
|
|
251
251
|
};
|
|
252
252
|
align: {
|
|
253
|
-
type: PropType<
|
|
253
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
254
254
|
default: undefined;
|
|
255
255
|
};
|
|
256
256
|
classNames: {
|
|
@@ -269,19 +269,19 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
269
269
|
[key: string]: any;
|
|
270
270
|
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
271
|
span: {
|
|
272
|
-
type: PropType<
|
|
272
|
+
type: PropType<StyleProp<import("./GridCol/GridColVariables").ColSpan>>;
|
|
273
273
|
default: undefined;
|
|
274
274
|
};
|
|
275
275
|
order: {
|
|
276
|
-
type: PropType<
|
|
276
|
+
type: PropType<StyleProp<number>>;
|
|
277
277
|
default: undefined;
|
|
278
278
|
};
|
|
279
279
|
offset: {
|
|
280
|
-
type: PropType<
|
|
280
|
+
type: PropType<StyleProp<number>>;
|
|
281
281
|
default: undefined;
|
|
282
282
|
};
|
|
283
283
|
align: {
|
|
284
|
-
type: PropType<
|
|
284
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
285
285
|
default: undefined;
|
|
286
286
|
};
|
|
287
287
|
classNames: {
|
|
@@ -297,13 +297,12 @@ export declare const Grid: import("../..").WithBoxProps<{
|
|
|
297
297
|
default: undefined;
|
|
298
298
|
};
|
|
299
299
|
}>> & Readonly<{}>, {
|
|
300
|
-
span:
|
|
300
|
+
span: StyleProp<import("./GridCol/GridColVariables").ColSpan>;
|
|
301
301
|
classNames: Function | Record<string, any>;
|
|
302
302
|
styles: Function | Record<string, any>;
|
|
303
|
-
offset:
|
|
304
|
-
order:
|
|
303
|
+
offset: StyleProp<number>;
|
|
304
|
+
order: StyleProp<number>;
|
|
305
305
|
vars: Function | Record<string, any>;
|
|
306
|
-
align:
|
|
306
|
+
align: StyleProp<import("csstype").Property.AlignItems | undefined>;
|
|
307
307
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
308
308
|
}>;
|
|
309
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type AlignItems, type StyleProp } from '../../../core';
|
|
2
3
|
import { type ColSpan } from './GridColVariables';
|
|
3
|
-
type StyleProp<T> = T | Partial<Record<string, T>>;
|
|
4
4
|
export declare const GridCol: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
span: {
|
|
6
6
|
type: PropType<StyleProp<ColSpan>>;
|
|
@@ -15,7 +15,7 @@ export declare const GridCol: import("../../..").WithBoxProps<import("vue").Defi
|
|
|
15
15
|
default: undefined;
|
|
16
16
|
};
|
|
17
17
|
align: {
|
|
18
|
-
type: PropType<StyleProp<
|
|
18
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
19
19
|
default: undefined;
|
|
20
20
|
};
|
|
21
21
|
classNames: {
|
|
@@ -46,7 +46,7 @@ export declare const GridCol: import("../../..").WithBoxProps<import("vue").Defi
|
|
|
46
46
|
default: undefined;
|
|
47
47
|
};
|
|
48
48
|
align: {
|
|
49
|
-
type: PropType<StyleProp<
|
|
49
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
classNames: {
|
|
@@ -68,6 +68,5 @@ export declare const GridCol: import("../../..").WithBoxProps<import("vue").Defi
|
|
|
68
68
|
offset: StyleProp<number>;
|
|
69
69
|
order: StyleProp<number>;
|
|
70
70
|
vars: Function | Record<string, any>;
|
|
71
|
-
align: StyleProp<
|
|
71
|
+
align: StyleProp<import("csstype").Property.AlignItems | undefined>;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
73
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type AlignItems, type StyleProp } from '../../../core';
|
|
2
3
|
export type ColSpan = number | 'auto' | 'content';
|
|
3
|
-
type StyleProp<T> = T | Partial<Record<string, T>>;
|
|
4
4
|
export declare const GridColVariables: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
selector: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -19,7 +19,7 @@ export declare const GridColVariables: import("vue").DefineComponent<import("vue
|
|
|
19
19
|
default: undefined;
|
|
20
20
|
};
|
|
21
21
|
align: {
|
|
22
|
-
type: PropType<StyleProp<
|
|
22
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
23
23
|
default: undefined;
|
|
24
24
|
};
|
|
25
25
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -42,13 +42,12 @@ export declare const GridColVariables: import("vue").DefineComponent<import("vue
|
|
|
42
42
|
default: undefined;
|
|
43
43
|
};
|
|
44
44
|
align: {
|
|
45
|
-
type: PropType<StyleProp<
|
|
45
|
+
type: PropType<StyleProp<AlignItems>>;
|
|
46
46
|
default: undefined;
|
|
47
47
|
};
|
|
48
48
|
}>> & Readonly<{}>, {
|
|
49
49
|
span: StyleProp<ColSpan>;
|
|
50
50
|
offset: StyleProp<number>;
|
|
51
51
|
order: StyleProp<number>;
|
|
52
|
-
align: StyleProp<
|
|
52
|
+
align: StyleProp<import("csstype").Property.AlignItems | undefined>;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
-
export {};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
import { type AlignItems, type FlexWrap, type JustifyContent, type MantineSpacing } from '../../core';
|
|
2
3
|
export declare const Group: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
justify: {
|
|
4
|
-
type:
|
|
5
|
+
type: PropType<JustifyContent>;
|
|
5
6
|
default: undefined;
|
|
6
7
|
};
|
|
7
8
|
align: {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<AlignItems>;
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
11
12
|
wrap: {
|
|
12
|
-
type:
|
|
13
|
+
type: PropType<FlexWrap>;
|
|
13
14
|
default: undefined;
|
|
14
15
|
};
|
|
15
|
-
gap: PropType<
|
|
16
|
+
gap: PropType<MantineSpacing>;
|
|
16
17
|
grow: {
|
|
17
18
|
type: BooleanConstructor;
|
|
18
19
|
default: boolean;
|
|
@@ -41,18 +42,18 @@ export declare const Group: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
41
42
|
[key: string]: any;
|
|
42
43
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
44
|
justify: {
|
|
44
|
-
type:
|
|
45
|
+
type: PropType<JustifyContent>;
|
|
45
46
|
default: undefined;
|
|
46
47
|
};
|
|
47
48
|
align: {
|
|
48
|
-
type:
|
|
49
|
+
type: PropType<AlignItems>;
|
|
49
50
|
default: undefined;
|
|
50
51
|
};
|
|
51
52
|
wrap: {
|
|
52
|
-
type:
|
|
53
|
+
type: PropType<FlexWrap>;
|
|
53
54
|
default: undefined;
|
|
54
55
|
};
|
|
55
|
-
gap: PropType<
|
|
56
|
+
gap: PropType<MantineSpacing>;
|
|
56
57
|
grow: {
|
|
57
58
|
type: BooleanConstructor;
|
|
58
59
|
default: boolean;
|
|
@@ -78,13 +79,13 @@ export declare const Group: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
78
79
|
default: boolean;
|
|
79
80
|
};
|
|
80
81
|
}>> & Readonly<{}>, {
|
|
81
|
-
wrap:
|
|
82
|
+
wrap: import("csstype").Property.FlexWrap | undefined;
|
|
82
83
|
classNames: Function | Record<string, any>;
|
|
83
84
|
styles: Function | Record<string, any>;
|
|
84
|
-
justify:
|
|
85
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
85
86
|
vars: Function | Record<string, any>;
|
|
86
87
|
unstyled: boolean;
|
|
87
|
-
align:
|
|
88
|
+
align: import("csstype").Property.AlignItems | undefined;
|
|
88
89
|
grow: boolean;
|
|
89
90
|
preventGrowOverflow: boolean;
|
|
90
91
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineColor } from '../../core';
|
|
2
3
|
export interface HighlightTerm {
|
|
3
4
|
text: string;
|
|
4
|
-
color?:
|
|
5
|
+
color?: MantineColor;
|
|
5
6
|
}
|
|
6
7
|
export declare const Highlight: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
8
|
highlight: {
|
|
@@ -9,7 +10,7 @@ export declare const Highlight: import("vue").DefineComponent<import("vue").Extr
|
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
11
12
|
color: {
|
|
12
|
-
type:
|
|
13
|
+
type: PropType<MantineColor>;
|
|
13
14
|
default: undefined;
|
|
14
15
|
};
|
|
15
16
|
highlightStyles: {
|
|
@@ -60,7 +61,7 @@ export declare const Highlight: import("vue").DefineComponent<import("vue").Extr
|
|
|
60
61
|
required: true;
|
|
61
62
|
};
|
|
62
63
|
color: {
|
|
63
|
-
type:
|
|
64
|
+
type: PropType<MantineColor>;
|
|
64
65
|
default: undefined;
|
|
65
66
|
};
|
|
66
67
|
highlightStyles: {
|
|
@@ -105,7 +106,7 @@ export declare const Highlight: import("vue").DefineComponent<import("vue").Extr
|
|
|
105
106
|
};
|
|
106
107
|
}>> & Readonly<{}>, {
|
|
107
108
|
span: boolean;
|
|
108
|
-
color:
|
|
109
|
+
color: MantineColor;
|
|
109
110
|
classNames: Function | Record<string, any>;
|
|
110
111
|
styles: Function | Record<string, any>;
|
|
111
112
|
component: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius, type ObjectFit } from '../../core';
|
|
2
3
|
export declare const Image: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
src: {
|
|
4
5
|
type: PropType<any>;
|
|
@@ -8,9 +9,9 @@ export declare const Image: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
8
9
|
type: StringConstructor;
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
11
|
-
radius: PropType<
|
|
12
|
+
radius: PropType<MantineRadius>;
|
|
12
13
|
fit: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<ObjectFit>;
|
|
14
15
|
default: undefined;
|
|
15
16
|
};
|
|
16
17
|
classNames: {
|
|
@@ -40,9 +41,9 @@ export declare const Image: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
40
41
|
type: StringConstructor;
|
|
41
42
|
default: undefined;
|
|
42
43
|
};
|
|
43
|
-
radius: PropType<
|
|
44
|
+
radius: PropType<MantineRadius>;
|
|
44
45
|
fit: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<ObjectFit>;
|
|
46
47
|
default: undefined;
|
|
47
48
|
};
|
|
48
49
|
classNames: {
|
|
@@ -68,7 +69,7 @@ export declare const Image: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
68
69
|
styles: Function | Record<string, any>;
|
|
69
70
|
vars: Function | Record<string, any>;
|
|
70
71
|
unstyled: boolean;
|
|
71
|
-
fit:
|
|
72
|
+
fit: import("csstype").Property.ObjectFit | undefined;
|
|
72
73
|
src: any;
|
|
73
74
|
fallbackSrc: string;
|
|
74
75
|
}, {}, {}, {}, 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 MantineColor, type MantineNode, type MantineRadius } from '../../core';
|
|
3
3
|
import type { IndicatorPosition } from './Indicator.types';
|
|
4
4
|
export interface IndicatorSlots {
|
|
5
5
|
default?: () => VNodeChild;
|
|
@@ -26,9 +26,9 @@ export declare const Indicator: import("../..").WithBoxProps<import("vue").Defin
|
|
|
26
26
|
type: PropType<MantineNode>;
|
|
27
27
|
default: undefined;
|
|
28
28
|
};
|
|
29
|
-
radius: PropType<
|
|
29
|
+
radius: PropType<MantineRadius>;
|
|
30
30
|
color: {
|
|
31
|
-
type:
|
|
31
|
+
type: PropType<MantineColor>;
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
withBorder: {
|
|
@@ -99,9 +99,9 @@ export declare const Indicator: import("../..").WithBoxProps<import("vue").Defin
|
|
|
99
99
|
type: PropType<MantineNode>;
|
|
100
100
|
default: undefined;
|
|
101
101
|
};
|
|
102
|
-
radius: PropType<
|
|
102
|
+
radius: PropType<MantineRadius>;
|
|
103
103
|
color: {
|
|
104
|
-
type:
|
|
104
|
+
type: PropType<MantineColor>;
|
|
105
105
|
default: undefined;
|
|
106
106
|
};
|
|
107
107
|
withBorder: {
|
|
@@ -151,7 +151,7 @@ export declare const Indicator: import("../..").WithBoxProps<import("vue").Defin
|
|
|
151
151
|
};
|
|
152
152
|
}>> & Readonly<{}>, {
|
|
153
153
|
label: MantineNode;
|
|
154
|
-
color:
|
|
154
|
+
color: MantineColor;
|
|
155
155
|
autoContrast: boolean;
|
|
156
156
|
classNames: Function | Record<string, any>;
|
|
157
157
|
styles: Function | Record<string, any>;
|