@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,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, type MantineSize } from '../../core';
|
|
3
3
|
export type RadioVariant = 'filled' | 'outline';
|
|
4
4
|
export interface RadioSlots {
|
|
5
5
|
label?: () => VNodeChild;
|
|
@@ -22,11 +22,11 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
24
|
color: {
|
|
25
|
-
type:
|
|
25
|
+
type: PropType<MantineColor>;
|
|
26
26
|
default: undefined;
|
|
27
27
|
};
|
|
28
28
|
size: {
|
|
29
|
-
type: PropType<
|
|
29
|
+
type: PropType<MantineSize | (string & {})>;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
icon: {
|
|
@@ -50,7 +50,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
radius: {
|
|
53
|
-
type: PropType<
|
|
53
|
+
type: PropType<MantineRadius>;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
rootRef: {
|
|
@@ -104,10 +104,10 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
104
104
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
105
105
|
[key: string]: any;
|
|
106
106
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
107
|
-
size:
|
|
107
|
+
size: MantineSize | (string & {});
|
|
108
108
|
label: MantineNode;
|
|
109
|
-
radius:
|
|
110
|
-
color:
|
|
109
|
+
radius: MantineRadius;
|
|
110
|
+
color: MantineColor;
|
|
111
111
|
autoContrast: boolean;
|
|
112
112
|
variant: RadioVariant;
|
|
113
113
|
error: MantineNode;
|
|
@@ -143,11 +143,11 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
143
143
|
default: undefined;
|
|
144
144
|
};
|
|
145
145
|
color: {
|
|
146
|
-
type:
|
|
146
|
+
type: PropType<MantineColor>;
|
|
147
147
|
default: undefined;
|
|
148
148
|
};
|
|
149
149
|
size: {
|
|
150
|
-
type: PropType<
|
|
150
|
+
type: PropType<MantineSize | (string & {})>;
|
|
151
151
|
default: string;
|
|
152
152
|
};
|
|
153
153
|
icon: {
|
|
@@ -171,7 +171,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
171
171
|
default: undefined;
|
|
172
172
|
};
|
|
173
173
|
radius: {
|
|
174
|
-
type: PropType<
|
|
174
|
+
type: PropType<MantineRadius>;
|
|
175
175
|
default: string;
|
|
176
176
|
};
|
|
177
177
|
rootRef: {
|
|
@@ -225,10 +225,10 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
225
225
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
226
226
|
[key: string]: any;
|
|
227
227
|
}>, {}, {}, {}, {
|
|
228
|
-
size:
|
|
228
|
+
size: MantineSize | (string & {});
|
|
229
229
|
label: MantineNode;
|
|
230
|
-
radius:
|
|
231
|
-
color:
|
|
230
|
+
radius: MantineRadius;
|
|
231
|
+
color: MantineColor;
|
|
232
232
|
autoContrast: boolean;
|
|
233
233
|
variant: RadioVariant;
|
|
234
234
|
error: MantineNode;
|
|
@@ -261,11 +261,11 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
261
261
|
default: undefined;
|
|
262
262
|
};
|
|
263
263
|
color: {
|
|
264
|
-
type:
|
|
264
|
+
type: PropType<MantineColor>;
|
|
265
265
|
default: undefined;
|
|
266
266
|
};
|
|
267
267
|
size: {
|
|
268
|
-
type: PropType<
|
|
268
|
+
type: PropType<MantineSize | (string & {})>;
|
|
269
269
|
default: string;
|
|
270
270
|
};
|
|
271
271
|
icon: {
|
|
@@ -289,7 +289,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
289
289
|
default: undefined;
|
|
290
290
|
};
|
|
291
291
|
radius: {
|
|
292
|
-
type: PropType<
|
|
292
|
+
type: PropType<MantineRadius>;
|
|
293
293
|
default: string;
|
|
294
294
|
};
|
|
295
295
|
rootRef: {
|
|
@@ -343,10 +343,10 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
343
343
|
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
344
344
|
[key: string]: any;
|
|
345
345
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
346
|
-
size:
|
|
346
|
+
size: MantineSize | (string & {});
|
|
347
347
|
label: MantineNode;
|
|
348
|
-
radius:
|
|
349
|
-
color:
|
|
348
|
+
radius: MantineRadius;
|
|
349
|
+
color: MantineColor;
|
|
350
350
|
autoContrast: boolean;
|
|
351
351
|
variant: RadioVariant;
|
|
352
352
|
error: MantineNode;
|
|
@@ -384,7 +384,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
384
384
|
default: undefined;
|
|
385
385
|
};
|
|
386
386
|
size: {
|
|
387
|
-
type: PropType<
|
|
387
|
+
type: PropType<MantineSize>;
|
|
388
388
|
default: undefined;
|
|
389
389
|
};
|
|
390
390
|
wrapperProps: {
|
|
@@ -447,7 +447,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
447
447
|
default: undefined;
|
|
448
448
|
};
|
|
449
449
|
size: {
|
|
450
|
-
type: PropType<
|
|
450
|
+
type: PropType<MantineSize>;
|
|
451
451
|
default: undefined;
|
|
452
452
|
};
|
|
453
453
|
wrapperProps: {
|
|
@@ -495,7 +495,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
495
495
|
default: boolean;
|
|
496
496
|
};
|
|
497
497
|
}>> & Readonly<{}>, {
|
|
498
|
-
size:
|
|
498
|
+
size: MantineSize;
|
|
499
499
|
label: MantineNode;
|
|
500
500
|
name: string;
|
|
501
501
|
error: MantineNode;
|
|
@@ -513,15 +513,15 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
513
513
|
}, SlotsType<import("./RadioGroup/RadioGroup").RadioGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
514
514
|
Indicator: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
515
515
|
color: {
|
|
516
|
-
type:
|
|
516
|
+
type: PropType<MantineColor>;
|
|
517
517
|
default: undefined;
|
|
518
518
|
};
|
|
519
519
|
size: {
|
|
520
|
-
type: PropType<string | number>;
|
|
520
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
521
521
|
default: string;
|
|
522
522
|
};
|
|
523
523
|
radius: {
|
|
524
|
-
type: PropType<
|
|
524
|
+
type: PropType<MantineRadius>;
|
|
525
525
|
default: undefined;
|
|
526
526
|
};
|
|
527
527
|
iconColor: {
|
|
@@ -572,15 +572,15 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
572
572
|
[key: string]: any;
|
|
573
573
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
574
574
|
color: {
|
|
575
|
-
type:
|
|
575
|
+
type: PropType<MantineColor>;
|
|
576
576
|
default: undefined;
|
|
577
577
|
};
|
|
578
578
|
size: {
|
|
579
|
-
type: PropType<string | number>;
|
|
579
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
580
580
|
default: string;
|
|
581
581
|
};
|
|
582
582
|
radius: {
|
|
583
|
-
type: PropType<
|
|
583
|
+
type: PropType<MantineRadius>;
|
|
584
584
|
default: undefined;
|
|
585
585
|
};
|
|
586
586
|
iconColor: {
|
|
@@ -628,9 +628,9 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
628
628
|
default: boolean;
|
|
629
629
|
};
|
|
630
630
|
}>> & Readonly<{}>, {
|
|
631
|
-
size:
|
|
632
|
-
radius:
|
|
633
|
-
color:
|
|
631
|
+
size: number | MantineSize | (string & {});
|
|
632
|
+
radius: MantineRadius;
|
|
633
|
+
color: MantineColor;
|
|
634
634
|
autoContrast: boolean;
|
|
635
635
|
variant: import(".").RadioIndicatorVariant;
|
|
636
636
|
classNames: Function | Record<string, any>;
|
|
@@ -653,7 +653,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
653
653
|
default: boolean;
|
|
654
654
|
};
|
|
655
655
|
radius: {
|
|
656
|
-
type: PropType<
|
|
656
|
+
type: PropType<MantineRadius>;
|
|
657
657
|
default: undefined;
|
|
658
658
|
};
|
|
659
659
|
value: {
|
|
@@ -696,7 +696,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
696
696
|
default: boolean;
|
|
697
697
|
};
|
|
698
698
|
radius: {
|
|
699
|
-
type: PropType<
|
|
699
|
+
type: PropType<MantineRadius>;
|
|
700
700
|
default: undefined;
|
|
701
701
|
};
|
|
702
702
|
value: {
|
|
@@ -728,7 +728,7 @@ export declare const Radio: import("../..").WithBoxProps<{
|
|
|
728
728
|
default: boolean;
|
|
729
729
|
};
|
|
730
730
|
}>> & Readonly<{}>, {
|
|
731
|
-
radius:
|
|
731
|
+
radius: MantineRadius;
|
|
732
732
|
name: string;
|
|
733
733
|
value: string;
|
|
734
734
|
classNames: Function | Record<string, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type MantineRadius } from '../../../core';
|
|
2
3
|
export interface RadioCardContextValue {
|
|
3
4
|
checked: boolean;
|
|
4
5
|
}
|
|
@@ -13,7 +14,7 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
|
|
|
13
14
|
default: boolean;
|
|
14
15
|
};
|
|
15
16
|
radius: {
|
|
16
|
-
type: PropType<
|
|
17
|
+
type: PropType<MantineRadius>;
|
|
17
18
|
default: undefined;
|
|
18
19
|
};
|
|
19
20
|
value: {
|
|
@@ -56,7 +57,7 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
|
|
|
56
57
|
default: boolean;
|
|
57
58
|
};
|
|
58
59
|
radius: {
|
|
59
|
-
type: PropType<
|
|
60
|
+
type: PropType<MantineRadius>;
|
|
60
61
|
default: undefined;
|
|
61
62
|
};
|
|
62
63
|
value: {
|
|
@@ -88,7 +89,7 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
|
|
|
88
89
|
default: boolean;
|
|
89
90
|
};
|
|
90
91
|
}>> & Readonly<{}>, {
|
|
91
|
-
radius:
|
|
92
|
+
radius: MantineRadius;
|
|
92
93
|
name: string;
|
|
93
94
|
value: string;
|
|
94
95
|
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 MantineNode, type MantineSize } from '../../../core';
|
|
3
3
|
export interface RadioGroupContextValue {
|
|
4
4
|
value: string | null;
|
|
5
5
|
onChange: (eventOrValue: Event | string) => void;
|
|
@@ -28,7 +28,7 @@ export declare const RadioGroup: import("vue").DefineComponent<import("vue").Ext
|
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
30
|
size: {
|
|
31
|
-
type: PropType<
|
|
31
|
+
type: PropType<MantineSize>;
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
wrapperProps: {
|
|
@@ -91,7 +91,7 @@ export declare const RadioGroup: import("vue").DefineComponent<import("vue").Ext
|
|
|
91
91
|
default: undefined;
|
|
92
92
|
};
|
|
93
93
|
size: {
|
|
94
|
-
type: PropType<
|
|
94
|
+
type: PropType<MantineSize>;
|
|
95
95
|
default: undefined;
|
|
96
96
|
};
|
|
97
97
|
wrapperProps: {
|
|
@@ -139,7 +139,7 @@ export declare const RadioGroup: import("vue").DefineComponent<import("vue").Ext
|
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{}>, {
|
|
142
|
-
size:
|
|
142
|
+
size: MantineSize;
|
|
143
143
|
label: MantineNode;
|
|
144
144
|
name: string;
|
|
145
145
|
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 RadioIndicatorVariant = 'filled' | 'outline';
|
|
3
4
|
export interface RadioIndicatorSlots {
|
|
4
5
|
icon?: (props: {
|
|
@@ -8,15 +9,15 @@ export interface RadioIndicatorSlots {
|
|
|
8
9
|
}
|
|
9
10
|
export declare const RadioIndicator: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
11
|
color: {
|
|
11
|
-
type:
|
|
12
|
+
type: PropType<MantineColor>;
|
|
12
13
|
default: undefined;
|
|
13
14
|
};
|
|
14
15
|
size: {
|
|
15
|
-
type: PropType<string | number>;
|
|
16
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
16
17
|
default: string;
|
|
17
18
|
};
|
|
18
19
|
radius: {
|
|
19
|
-
type: PropType<
|
|
20
|
+
type: PropType<MantineRadius>;
|
|
20
21
|
default: undefined;
|
|
21
22
|
};
|
|
22
23
|
iconColor: {
|
|
@@ -67,15 +68,15 @@ export declare const RadioIndicator: import("../../..").WithBoxProps<import("vue
|
|
|
67
68
|
[key: string]: any;
|
|
68
69
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
70
|
color: {
|
|
70
|
-
type:
|
|
71
|
+
type: PropType<MantineColor>;
|
|
71
72
|
default: undefined;
|
|
72
73
|
};
|
|
73
74
|
size: {
|
|
74
|
-
type: PropType<string | number>;
|
|
75
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
75
76
|
default: string;
|
|
76
77
|
};
|
|
77
78
|
radius: {
|
|
78
|
-
type: PropType<
|
|
79
|
+
type: PropType<MantineRadius>;
|
|
79
80
|
default: undefined;
|
|
80
81
|
};
|
|
81
82
|
iconColor: {
|
|
@@ -123,9 +124,9 @@ export declare const RadioIndicator: import("../../..").WithBoxProps<import("vue
|
|
|
123
124
|
default: boolean;
|
|
124
125
|
};
|
|
125
126
|
}>> & Readonly<{}>, {
|
|
126
|
-
size:
|
|
127
|
-
radius:
|
|
128
|
-
color:
|
|
127
|
+
size: number | MantineSize | (string & {});
|
|
128
|
+
radius: MantineRadius;
|
|
129
|
+
color: MantineColor;
|
|
129
130
|
autoContrast: boolean;
|
|
130
131
|
variant: RadioIndicatorVariant;
|
|
131
132
|
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 RatingStylesNames = 'root' | 'starSymbol' | 'input' | 'label' | 'symbolBody' | 'symbolGroup';
|
|
4
4
|
export interface RatingSlots {
|
|
5
5
|
emptySymbol?: (props: {
|
|
@@ -35,7 +35,7 @@ export declare const Rating: import("../..").WithBoxProps<import("vue").DefineCo
|
|
|
35
35
|
default: undefined;
|
|
36
36
|
};
|
|
37
37
|
size: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<MantineSize | number | (string & {})>;
|
|
39
39
|
default: undefined;
|
|
40
40
|
};
|
|
41
41
|
count: {
|
|
@@ -71,7 +71,7 @@ export declare const Rating: import("../..").WithBoxProps<import("vue").DefineCo
|
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
color: {
|
|
74
|
-
type:
|
|
74
|
+
type: PropType<MantineColor>;
|
|
75
75
|
default: undefined;
|
|
76
76
|
};
|
|
77
77
|
classNames: {
|
|
@@ -118,7 +118,7 @@ export declare const Rating: import("../..").WithBoxProps<import("vue").DefineCo
|
|
|
118
118
|
default: undefined;
|
|
119
119
|
};
|
|
120
120
|
size: {
|
|
121
|
-
type: PropType<
|
|
121
|
+
type: PropType<MantineSize | number | (string & {})>;
|
|
122
122
|
default: undefined;
|
|
123
123
|
};
|
|
124
124
|
count: {
|
|
@@ -154,7 +154,7 @@ export declare const Rating: import("../..").WithBoxProps<import("vue").DefineCo
|
|
|
154
154
|
default: boolean;
|
|
155
155
|
};
|
|
156
156
|
color: {
|
|
157
|
-
type:
|
|
157
|
+
type: PropType<MantineColor>;
|
|
158
158
|
default: undefined;
|
|
159
159
|
};
|
|
160
160
|
classNames: {
|
|
@@ -174,9 +174,9 @@ export declare const Rating: import("../..").WithBoxProps<import("vue").DefineCo
|
|
|
174
174
|
default: boolean;
|
|
175
175
|
};
|
|
176
176
|
}>> & Readonly<{}>, {
|
|
177
|
-
size:
|
|
177
|
+
size: number | MantineSize | (string & {});
|
|
178
178
|
name: string;
|
|
179
|
-
color:
|
|
179
|
+
color: MantineColor;
|
|
180
180
|
onChange: (value: number) => void;
|
|
181
181
|
value: number;
|
|
182
182
|
classNames: 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 Curve: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
value: {
|
|
4
5
|
type: NumberConstructor;
|
|
@@ -29,7 +30,7 @@ export declare const Curve: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
29
30
|
default: boolean;
|
|
30
31
|
};
|
|
31
32
|
color: {
|
|
32
|
-
type:
|
|
33
|
+
type: PropType<MantineColor>;
|
|
33
34
|
default: undefined;
|
|
34
35
|
};
|
|
35
36
|
getStyles: {
|
|
@@ -68,7 +69,7 @@ export declare const Curve: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
68
69
|
default: boolean;
|
|
69
70
|
};
|
|
70
71
|
color: {
|
|
71
|
-
type:
|
|
72
|
+
type: PropType<MantineColor>;
|
|
72
73
|
default: undefined;
|
|
73
74
|
};
|
|
74
75
|
getStyles: {
|
|
@@ -76,7 +77,7 @@ export declare const Curve: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
76
77
|
required: true;
|
|
77
78
|
};
|
|
78
79
|
}>> & Readonly<{}>, {
|
|
79
|
-
color:
|
|
80
|
+
color: MantineColor;
|
|
80
81
|
value: number;
|
|
81
82
|
root: boolean;
|
|
82
83
|
lineRoundCaps: boolean;
|
|
@@ -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 SegmentedControlStylesNames = 'root' | 'input' | 'label' | 'control' | 'indicator' | 'innerLabel';
|
|
3
4
|
export interface SegmentedControlItem<Value = string> {
|
|
4
5
|
value: Value;
|
|
@@ -35,15 +36,15 @@ export declare const SegmentedControl: import("vue").DefineComponent<import("vue
|
|
|
35
36
|
default: boolean;
|
|
36
37
|
};
|
|
37
38
|
color: {
|
|
38
|
-
type:
|
|
39
|
+
type: PropType<MantineColor>;
|
|
39
40
|
default: undefined;
|
|
40
41
|
};
|
|
41
42
|
size: {
|
|
42
|
-
type: PropType<
|
|
43
|
+
type: PropType<MantineSize | (string & {})>;
|
|
43
44
|
default: string;
|
|
44
45
|
};
|
|
45
46
|
radius: {
|
|
46
|
-
type: PropType<
|
|
47
|
+
type: PropType<MantineRadius>;
|
|
47
48
|
default: undefined;
|
|
48
49
|
};
|
|
49
50
|
transitionDuration: {
|
|
@@ -126,15 +127,15 @@ export declare const SegmentedControl: import("vue").DefineComponent<import("vue
|
|
|
126
127
|
default: boolean;
|
|
127
128
|
};
|
|
128
129
|
color: {
|
|
129
|
-
type:
|
|
130
|
+
type: PropType<MantineColor>;
|
|
130
131
|
default: undefined;
|
|
131
132
|
};
|
|
132
133
|
size: {
|
|
133
|
-
type: PropType<
|
|
134
|
+
type: PropType<MantineSize | (string & {})>;
|
|
134
135
|
default: string;
|
|
135
136
|
};
|
|
136
137
|
radius: {
|
|
137
|
-
type: PropType<
|
|
138
|
+
type: PropType<MantineRadius>;
|
|
138
139
|
default: undefined;
|
|
139
140
|
};
|
|
140
141
|
transitionDuration: {
|
|
@@ -186,11 +187,11 @@ export declare const SegmentedControl: import("vue").DefineComponent<import("vue
|
|
|
186
187
|
default: boolean;
|
|
187
188
|
};
|
|
188
189
|
}>> & Readonly<{}>, {
|
|
189
|
-
size:
|
|
190
|
+
size: MantineSize | (string & {});
|
|
190
191
|
orientation: "vertical" | "horizontal";
|
|
191
|
-
radius:
|
|
192
|
+
radius: MantineRadius;
|
|
192
193
|
name: string;
|
|
193
|
-
color:
|
|
194
|
+
color: MantineColor;
|
|
194
195
|
autoContrast: boolean;
|
|
195
196
|
variant: string;
|
|
196
197
|
onChange: (value: any) => void;
|
|
@@ -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
|
import type { SliderMark } from '../SliderMark';
|
|
3
4
|
export type RangeSliderValue = [number, number];
|
|
4
5
|
export interface RangeSliderSlots {
|
|
@@ -116,15 +117,15 @@ export declare const RangeSlider: import("vue").DefineComponent<import("vue").Ex
|
|
|
116
117
|
default: undefined;
|
|
117
118
|
};
|
|
118
119
|
size: {
|
|
119
|
-
type: PropType<string | number>;
|
|
120
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
120
121
|
default: undefined;
|
|
121
122
|
};
|
|
122
123
|
color: {
|
|
123
|
-
type:
|
|
124
|
+
type: PropType<MantineColor>;
|
|
124
125
|
default: undefined;
|
|
125
126
|
};
|
|
126
127
|
radius: {
|
|
127
|
-
type: PropType<
|
|
128
|
+
type: PropType<MantineRadius>;
|
|
128
129
|
default: undefined;
|
|
129
130
|
};
|
|
130
131
|
thumbSize: {
|
|
@@ -259,15 +260,15 @@ export declare const RangeSlider: import("vue").DefineComponent<import("vue").Ex
|
|
|
259
260
|
default: undefined;
|
|
260
261
|
};
|
|
261
262
|
size: {
|
|
262
|
-
type: PropType<string | number>;
|
|
263
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
263
264
|
default: undefined;
|
|
264
265
|
};
|
|
265
266
|
color: {
|
|
266
|
-
type:
|
|
267
|
+
type: PropType<MantineColor>;
|
|
267
268
|
default: undefined;
|
|
268
269
|
};
|
|
269
270
|
radius: {
|
|
270
|
-
type: PropType<
|
|
271
|
+
type: PropType<MantineRadius>;
|
|
271
272
|
default: undefined;
|
|
272
273
|
};
|
|
273
274
|
thumbSize: {
|
|
@@ -295,13 +296,13 @@ export declare const RangeSlider: import("vue").DefineComponent<import("vue").Ex
|
|
|
295
296
|
default: boolean;
|
|
296
297
|
};
|
|
297
298
|
}>> & Readonly<{}>, {
|
|
298
|
-
size:
|
|
299
|
+
size: number | MantineSize | (string & {});
|
|
299
300
|
max: number;
|
|
300
301
|
label: any;
|
|
301
302
|
orientation: "vertical" | "horizontal";
|
|
302
|
-
radius:
|
|
303
|
+
radius: MantineRadius;
|
|
303
304
|
name: string;
|
|
304
|
-
color:
|
|
305
|
+
color: MantineColor;
|
|
305
306
|
scale: (value: number) => number;
|
|
306
307
|
onChange: (value: RangeSliderValue) => void;
|
|
307
308
|
value: RangeSliderValue;
|
|
@@ -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
|
import { type SliderStylesNames } from '../Slider.context';
|
|
3
4
|
import type { SliderMark } from '../SliderMark';
|
|
4
5
|
export type { SliderStylesNames };
|
|
@@ -10,15 +11,15 @@ export interface SliderSlots {
|
|
|
10
11
|
}
|
|
11
12
|
export declare const Slider: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
13
|
color: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<MantineColor>;
|
|
14
15
|
default: undefined;
|
|
15
16
|
};
|
|
16
17
|
radius: {
|
|
17
|
-
type: PropType<
|
|
18
|
+
type: PropType<MantineRadius>;
|
|
18
19
|
default: undefined;
|
|
19
20
|
};
|
|
20
21
|
size: {
|
|
21
|
-
type: PropType<string | number>;
|
|
22
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
22
23
|
default: undefined;
|
|
23
24
|
};
|
|
24
25
|
min: {
|
|
@@ -149,15 +150,15 @@ export declare const Slider: import("../../..").WithBoxProps<import("vue").Defin
|
|
|
149
150
|
[key: string]: any;
|
|
150
151
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
151
152
|
color: {
|
|
152
|
-
type:
|
|
153
|
+
type: PropType<MantineColor>;
|
|
153
154
|
default: undefined;
|
|
154
155
|
};
|
|
155
156
|
radius: {
|
|
156
|
-
type: PropType<
|
|
157
|
+
type: PropType<MantineRadius>;
|
|
157
158
|
default: undefined;
|
|
158
159
|
};
|
|
159
160
|
size: {
|
|
160
|
-
type: PropType<string | number>;
|
|
161
|
+
type: PropType<MantineSize | (string & {}) | number>;
|
|
161
162
|
default: undefined;
|
|
162
163
|
};
|
|
163
164
|
min: {
|
|
@@ -285,13 +286,13 @@ export declare const Slider: import("../../..").WithBoxProps<import("vue").Defin
|
|
|
285
286
|
default: boolean;
|
|
286
287
|
};
|
|
287
288
|
}>> & Readonly<{}>, {
|
|
288
|
-
size:
|
|
289
|
+
size: number | MantineSize | (string & {});
|
|
289
290
|
max: number;
|
|
290
291
|
label: any;
|
|
291
292
|
orientation: "vertical" | "horizontal";
|
|
292
|
-
radius:
|
|
293
|
+
radius: MantineRadius;
|
|
293
294
|
name: string;
|
|
294
|
-
color:
|
|
295
|
+
color: MantineColor;
|
|
295
296
|
scale: (value: number) => number;
|
|
296
297
|
onChange: (value: number) => void;
|
|
297
298
|
value: number;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type AlignItems, type JustifyContent, type MantineSpacing } from '../../core';
|
|
2
3
|
export declare const Stack: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
gap: PropType<
|
|
4
|
+
gap: PropType<MantineSpacing>;
|
|
4
5
|
align: {
|
|
5
|
-
type:
|
|
6
|
+
type: PropType<AlignItems>;
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
justify: {
|
|
9
|
-
type:
|
|
10
|
+
type: PropType<JustifyContent>;
|
|
10
11
|
default: undefined;
|
|
11
12
|
};
|
|
12
13
|
classNames: {
|
|
@@ -28,13 +29,13 @@ export declare const Stack: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
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
|
-
gap: PropType<
|
|
32
|
+
gap: PropType<MantineSpacing>;
|
|
32
33
|
align: {
|
|
33
|
-
type:
|
|
34
|
+
type: PropType<AlignItems>;
|
|
34
35
|
default: undefined;
|
|
35
36
|
};
|
|
36
37
|
justify: {
|
|
37
|
-
type:
|
|
38
|
+
type: PropType<JustifyContent>;
|
|
38
39
|
default: undefined;
|
|
39
40
|
};
|
|
40
41
|
classNames: {
|
|
@@ -56,8 +57,8 @@ export declare const Stack: import("../..").WithBoxProps<import("vue").DefineCom
|
|
|
56
57
|
}>> & Readonly<{}>, {
|
|
57
58
|
classNames: Function | Record<string, any>;
|
|
58
59
|
styles: Function | Record<string, any>;
|
|
59
|
-
justify:
|
|
60
|
+
justify: import("csstype").Property.JustifyContent | undefined;
|
|
60
61
|
vars: Function | Record<string, any>;
|
|
61
62
|
unstyled: boolean;
|
|
62
|
-
align:
|
|
63
|
+
align: import("csstype").Property.AlignItems | undefined;
|
|
63
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|