@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.
Files changed (100) hide show
  1. package/cjs/index.cjs +43 -31
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +43 -31
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +7 -6
  6. package/lib/components/ActionIcon/ActionIcon.d.ts +29 -64
  7. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +11 -22
  8. package/lib/components/Alert/Alert.d.ts +6 -6
  9. package/lib/components/Avatar/Avatar.d.ts +27 -50
  10. package/lib/components/Avatar/AvatarGroup/AvatarGroup.d.ts +3 -2
  11. package/lib/components/BackgroundImage/BackgroundImage.d.ts +3 -2
  12. package/lib/components/Badge/Badge.d.ts +18 -23
  13. package/lib/components/Blockquote/Blockquote.d.ts +6 -6
  14. package/lib/components/Burger/Burger.d.ts +6 -5
  15. package/lib/components/Button/Button.d.ts +29 -65
  16. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +12 -23
  17. package/lib/components/Card/Card.d.ts +7 -6
  18. package/lib/components/Checkbox/Checkbox.d.ts +34 -34
  19. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +4 -3
  20. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +4 -4
  21. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +10 -9
  22. package/lib/components/Chip/Chip.d.ts +19 -18
  23. package/lib/components/CloseButton/CloseButton.d.ts +5 -5
  24. package/lib/components/Code/Code.d.ts +5 -3
  25. package/lib/components/ColorPicker/ColorPicker.d.ts +4 -3
  26. package/lib/components/ColorSwatch/ColorSwatch.d.ts +3 -2
  27. package/lib/components/Container/Container.d.ts +3 -2
  28. package/lib/components/Dialog/Dialog.d.ts +10 -9
  29. package/lib/components/Divider/Divider.d.ts +6 -6
  30. package/lib/components/EmptyState/EmptyState.d.ts +6 -6
  31. package/lib/components/Fieldset/Fieldset.d.ts +4 -4
  32. package/lib/components/FileInput/FileInput.d.ts +4 -4
  33. package/lib/components/Flex/Flex.d.ts +15 -15
  34. package/lib/components/Grid/Grid.d.ts +49 -50
  35. package/lib/components/Grid/GridCol/GridCol.d.ts +4 -5
  36. package/lib/components/Grid/GridCol/GridColVariables.d.ts +4 -5
  37. package/lib/components/Group/Group.d.ts +12 -11
  38. package/lib/components/Highlight/Highlight.d.ts +5 -4
  39. package/lib/components/Image/Image.d.ts +6 -5
  40. package/lib/components/Indicator/Indicator.d.ts +6 -6
  41. package/lib/components/Input/Input.d.ts +28 -28
  42. package/lib/components/Input/InputClearButton/InputClearButton.d.ts +4 -3
  43. package/lib/components/Input/InputDescription/InputDescription.d.ts +4 -3
  44. package/lib/components/Input/InputError/InputError.d.ts +4 -3
  45. package/lib/components/Input/InputLabel/InputLabel.d.ts +4 -3
  46. package/lib/components/Input/InputWrapper/InputWrapper.d.ts +4 -4
  47. package/lib/components/InputBase/InputBase.d.ts +7 -6
  48. package/lib/components/Kbd/Kbd.d.ts +3 -2
  49. package/lib/components/List/List.d.ts +10 -10
  50. package/lib/components/Loader/Loader.d.ts +6 -5
  51. package/lib/components/Mark/Mark.d.ts +5 -3
  52. package/lib/components/Marquee/Marquee.d.ts +4 -3
  53. package/lib/components/NativeSelect/NativeSelect.d.ts +7 -7
  54. package/lib/components/NavLink/NavLink.d.ts +7 -7
  55. package/lib/components/Notification/Notification.d.ts +7 -7
  56. package/lib/components/NumberInput/NumberInput.d.ts +4 -4
  57. package/lib/components/OverflowList/OverflowList.d.ts +4 -3
  58. package/lib/components/Overlay/Overlay.d.ts +3 -2
  59. package/lib/components/Pagination/Pagination.d.ts +34 -33
  60. package/lib/components/Pagination/PaginationRoot/PaginationRoot.d.ts +10 -9
  61. package/lib/components/Paper/Paper.d.ts +3 -2
  62. package/lib/components/PasswordInput/PasswordInput.d.ts +7 -7
  63. package/lib/components/Pill/Pill.d.ts +19 -18
  64. package/lib/components/Pill/PillGroup/PillGroup.d.ts +8 -7
  65. package/lib/components/PillsInput/PillsInput.d.ts +13 -13
  66. package/lib/components/PinInput/PinInput.d.ts +10 -9
  67. package/lib/components/Popover/Popover.d.ts +10 -2
  68. package/lib/components/Popover/index.d.ts +1 -1
  69. package/lib/components/Progress/Progress.d.ts +28 -27
  70. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +7 -6
  71. package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +4 -3
  72. package/lib/components/Radio/Radio.d.ts +34 -34
  73. package/lib/components/Radio/RadioCard/RadioCard.d.ts +4 -3
  74. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +4 -4
  75. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +10 -9
  76. package/lib/components/Rating/Rating.d.ts +7 -7
  77. package/lib/components/RingProgress/Curve/Curve.d.ts +4 -3
  78. package/lib/components/SegmentedControl/SegmentedControl.d.ts +10 -9
  79. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +10 -9
  80. package/lib/components/Slider/Slider/Slider.d.ts +10 -9
  81. package/lib/components/Stack/Stack.d.ts +9 -8
  82. package/lib/components/Stepper/Stepper.d.ts +22 -21
  83. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +4 -3
  84. package/lib/components/Switch/Switch.d.ts +22 -22
  85. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +4 -4
  86. package/lib/components/TableOfContents/TableOfContents.d.ts +10 -9
  87. package/lib/components/Tabs/Tabs.d.ts +19 -18
  88. package/lib/components/Tabs/TabsList/TabsList.d.ts +4 -3
  89. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +4 -4
  90. package/lib/components/Text/Text.d.ts +3 -2
  91. package/lib/components/ThemeIcon/ThemeIcon.d.ts +11 -23
  92. package/lib/components/Timeline/Timeline.d.ts +19 -18
  93. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +7 -7
  94. package/lib/components/component-props.d.ts +190 -0
  95. package/lib/components/index.d.ts +1 -0
  96. package/lib/core/Box/Box.d.ts +4 -4
  97. package/lib/core/Box/style-props/style-props.types.d.ts +4 -4
  98. package/lib/core/MantineProvider/theme.types.d.ts +5 -0
  99. package/lib/core/types.d.ts +7 -0
  100. 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 } from '../../core';
3
3
  export interface BlockquoteSlots {
4
4
  default?: () => VNodeChild;
5
5
  icon?: () => VNodeChild;
@@ -12,10 +12,10 @@ export declare const Blockquote: import("../..").WithBoxProps<import("vue").Defi
12
12
  };
13
13
  iconSize: PropType<string | number>;
14
14
  color: {
15
- type: StringConstructor;
15
+ type: PropType<MantineColor>;
16
16
  default: undefined;
17
17
  };
18
- radius: PropType<string | number>;
18
+ radius: PropType<MantineRadius>;
19
19
  cite: {
20
20
  type: PropType<MantineNode>;
21
21
  default: undefined;
@@ -49,10 +49,10 @@ export declare const Blockquote: import("../..").WithBoxProps<import("vue").Defi
49
49
  };
50
50
  iconSize: PropType<string | number>;
51
51
  color: {
52
- type: StringConstructor;
52
+ type: PropType<MantineColor>;
53
53
  default: undefined;
54
54
  };
55
- radius: PropType<string | number>;
55
+ radius: PropType<MantineRadius>;
56
56
  cite: {
57
57
  type: PropType<MantineNode>;
58
58
  default: undefined;
@@ -79,7 +79,7 @@ export declare const Blockquote: import("../..").WithBoxProps<import("vue").Defi
79
79
  };
80
80
  }>> & Readonly<{}>, {
81
81
  cite: MantineNode;
82
- color: string;
82
+ color: MantineColor;
83
83
  textWrap: "wrap" | "nowrap" | "balance" | "pretty" | "stable";
84
84
  classNames: Function | Record<string, any>;
85
85
  styles: Function | Record<string, any>;
@@ -1,9 +1,10 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineColor, type MantineSize } from '../../core';
2
3
  export declare const Burger: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- size: PropType<string | number>;
4
+ size: PropType<MantineSize | (string & {}) | number>;
4
5
  lineSize: PropType<string | number>;
5
6
  color: {
6
- type: StringConstructor;
7
+ type: PropType<MantineColor>;
7
8
  default: undefined;
8
9
  };
9
10
  opened: {
@@ -37,10 +38,10 @@ export declare const Burger: import("../..").WithBoxProps<import("vue").DefineCo
37
38
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
39
  [key: string]: any;
39
40
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
- size: PropType<string | number>;
41
+ size: PropType<MantineSize | (string & {}) | number>;
41
42
  lineSize: PropType<string | number>;
42
43
  color: {
43
- type: StringConstructor;
44
+ type: PropType<MantineColor>;
44
45
  default: undefined;
45
46
  };
46
47
  opened: {
@@ -72,7 +73,7 @@ export declare const Burger: import("../..").WithBoxProps<import("vue").DefineCo
72
73
  default: boolean;
73
74
  };
74
75
  }>> & Readonly<{}>, {
75
- color: string;
76
+ color: MantineColor;
76
77
  classNames: Function | Record<string, any>;
77
78
  styles: Function | Record<string, any>;
78
79
  opened: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type CSSProperties, type PropType, type SlotsType, type VNodeChild } from 'vue';
2
- import { type BoxProps, MantineSize, MantineRadius, type MantineVariant } from '../../core';
2
+ import { type BoxProps, type MantineSize, type MantineColor, type MantineGradient, type MantineRadius, type JustifyContent, type MantineVariant } from '../../core';
3
3
  export type ButtonSize = MantineSize | `compact-${MantineSize}` | (string & {});
4
4
  export type ButtonVariant = 'filled' | 'light' | 'outline' | 'transparent' | 'white' | 'subtle' | 'default' | 'gradient';
5
5
  export interface ButtonSlots {
@@ -54,11 +54,11 @@ export declare const Button: import("../..").WithBoxProps<{
54
54
  };
55
55
  size: PropType<ButtonSize>;
56
56
  color: {
57
- type: StringConstructor;
57
+ type: PropType<MantineColor>;
58
58
  default: undefined;
59
59
  };
60
60
  justify: {
61
- type: StringConstructor;
61
+ type: PropType<JustifyContent>;
62
62
  default: undefined;
63
63
  };
64
64
  leftSection: {
@@ -75,11 +75,7 @@ export declare const Button: import("../..").WithBoxProps<{
75
75
  };
76
76
  radius: PropType<MantineRadius>;
77
77
  gradient: {
78
- type: PropType<{
79
- from: string;
80
- to: string;
81
- deg?: number;
82
- }>;
78
+ type: PropType<MantineGradient>;
83
79
  default: undefined;
84
80
  };
85
81
  disabled: {
@@ -133,19 +129,15 @@ export declare const Button: import("../..").WithBoxProps<{
133
129
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
134
130
  [key: string]: any;
135
131
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
136
- color: string;
132
+ color: MantineColor;
137
133
  autoContrast: boolean;
138
134
  variant: MantineVariant<ButtonVariant>;
139
- gradient: {
140
- from: string;
141
- to: string;
142
- deg?: number;
143
- };
135
+ gradient: MantineGradient;
144
136
  classNames: Function | Record<string, any>;
145
137
  styles: Function | Record<string, any>;
146
138
  disabled: boolean;
147
139
  mod: any;
148
- justify: string;
140
+ justify: import("csstype").Property.JustifyContent | undefined;
149
141
  component: string;
150
142
  vars: Function | Record<string, any>;
151
143
  unstyled: boolean;
@@ -170,11 +162,11 @@ export declare const Button: import("../..").WithBoxProps<{
170
162
  };
171
163
  size: PropType<ButtonSize>;
172
164
  color: {
173
- type: StringConstructor;
165
+ type: PropType<MantineColor>;
174
166
  default: undefined;
175
167
  };
176
168
  justify: {
177
- type: StringConstructor;
169
+ type: PropType<JustifyContent>;
178
170
  default: undefined;
179
171
  };
180
172
  leftSection: {
@@ -191,11 +183,7 @@ export declare const Button: import("../..").WithBoxProps<{
191
183
  };
192
184
  radius: PropType<MantineRadius>;
193
185
  gradient: {
194
- type: PropType<{
195
- from: string;
196
- to: string;
197
- deg?: number;
198
- }>;
186
+ type: PropType<MantineGradient>;
199
187
  default: undefined;
200
188
  };
201
189
  disabled: {
@@ -249,19 +237,15 @@ export declare const Button: import("../..").WithBoxProps<{
249
237
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
250
238
  [key: string]: any;
251
239
  }>, {}, {}, {}, {
252
- color: string;
240
+ color: MantineColor;
253
241
  autoContrast: boolean;
254
242
  variant: MantineVariant<ButtonVariant>;
255
- gradient: {
256
- from: string;
257
- to: string;
258
- deg?: number;
259
- };
243
+ gradient: MantineGradient;
260
244
  classNames: Function | Record<string, any>;
261
245
  styles: Function | Record<string, any>;
262
246
  disabled: boolean;
263
247
  mod: any;
264
- justify: string;
248
+ justify: import("csstype").Property.JustifyContent | undefined;
265
249
  component: string;
266
250
  vars: Function | Record<string, any>;
267
251
  unstyled: boolean;
@@ -283,11 +267,11 @@ export declare const Button: import("../..").WithBoxProps<{
283
267
  };
284
268
  size: PropType<ButtonSize>;
285
269
  color: {
286
- type: StringConstructor;
270
+ type: PropType<MantineColor>;
287
271
  default: undefined;
288
272
  };
289
273
  justify: {
290
- type: StringConstructor;
274
+ type: PropType<JustifyContent>;
291
275
  default: undefined;
292
276
  };
293
277
  leftSection: {
@@ -304,11 +288,7 @@ export declare const Button: import("../..").WithBoxProps<{
304
288
  };
305
289
  radius: PropType<MantineRadius>;
306
290
  gradient: {
307
- type: PropType<{
308
- from: string;
309
- to: string;
310
- deg?: number;
311
- }>;
291
+ type: PropType<MantineGradient>;
312
292
  default: undefined;
313
293
  };
314
294
  disabled: {
@@ -362,19 +342,15 @@ export declare const Button: import("../..").WithBoxProps<{
362
342
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
363
343
  [key: string]: any;
364
344
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
365
- color: string;
345
+ color: MantineColor;
366
346
  autoContrast: boolean;
367
347
  variant: MantineVariant<ButtonVariant>;
368
- gradient: {
369
- from: string;
370
- to: string;
371
- deg?: number;
372
- };
348
+ gradient: MantineGradient;
373
349
  classNames: Function | Record<string, any>;
374
350
  styles: Function | Record<string, any>;
375
351
  disabled: boolean;
376
352
  mod: any;
377
- justify: string;
353
+ justify: import("csstype").Property.JustifyContent | undefined;
378
354
  component: string;
379
355
  vars: Function | Record<string, any>;
380
356
  unstyled: boolean;
@@ -440,18 +416,14 @@ export declare const Button: import("../..").WithBoxProps<{
440
416
  unstyled: boolean;
441
417
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
442
418
  GroupSection: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
443
- size: PropType<string | number>;
419
+ size: PropType<ButtonSize>;
444
420
  color: {
445
- type: StringConstructor;
421
+ type: PropType<MantineColor>;
446
422
  default: undefined;
447
423
  };
448
- radius: PropType<string | number>;
424
+ radius: PropType<MantineRadius>;
449
425
  gradient: {
450
- type: PropType<{
451
- from: string;
452
- to: string;
453
- deg?: number;
454
- }>;
426
+ type: PropType<MantineGradient>;
455
427
  default: undefined;
456
428
  };
457
429
  autoContrast: {
@@ -481,18 +453,14 @@ export declare const Button: import("../..").WithBoxProps<{
481
453
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
482
454
  [key: string]: any;
483
455
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
484
- size: PropType<string | number>;
456
+ size: PropType<ButtonSize>;
485
457
  color: {
486
- type: StringConstructor;
458
+ type: PropType<MantineColor>;
487
459
  default: undefined;
488
460
  };
489
- radius: PropType<string | number>;
461
+ radius: PropType<MantineRadius>;
490
462
  gradient: {
491
- type: PropType<{
492
- from: string;
493
- to: string;
494
- deg?: number;
495
- }>;
463
+ type: PropType<MantineGradient>;
496
464
  default: undefined;
497
465
  };
498
466
  autoContrast: {
@@ -520,14 +488,10 @@ export declare const Button: import("../..").WithBoxProps<{
520
488
  default: boolean;
521
489
  };
522
490
  }>> & Readonly<{}>, {
523
- color: string;
491
+ color: MantineColor;
524
492
  autoContrast: boolean;
525
493
  variant: ButtonVariant;
526
- gradient: {
527
- from: string;
528
- to: string;
529
- deg?: number;
530
- };
494
+ gradient: MantineGradient;
531
495
  classNames: Function | Record<string, any>;
532
496
  styles: Function | Record<string, any>;
533
497
  vars: Function | Record<string, any>;
@@ -1,18 +1,15 @@
1
1
  import { type PropType } from 'vue';
2
- import type { ButtonVariant } from '../Button';
2
+ import { type MantineColor, type MantineGradient, type MantineRadius } from '../../../core';
3
+ import type { ButtonSize, ButtonVariant } from '../Button';
3
4
  export declare const ButtonGroupSection: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- size: PropType<string | number>;
5
+ size: PropType<ButtonSize>;
5
6
  color: {
6
- type: StringConstructor;
7
+ type: PropType<MantineColor>;
7
8
  default: undefined;
8
9
  };
9
- radius: PropType<string | number>;
10
+ radius: PropType<MantineRadius>;
10
11
  gradient: {
11
- type: PropType<{
12
- from: string;
13
- to: string;
14
- deg?: number;
15
- }>;
12
+ type: PropType<MantineGradient>;
16
13
  default: undefined;
17
14
  };
18
15
  autoContrast: {
@@ -42,18 +39,14 @@ export declare const ButtonGroupSection: import("../../..").WithBoxProps<import(
42
39
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
40
  [key: string]: any;
44
41
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
- size: PropType<string | number>;
42
+ size: PropType<ButtonSize>;
46
43
  color: {
47
- type: StringConstructor;
44
+ type: PropType<MantineColor>;
48
45
  default: undefined;
49
46
  };
50
- radius: PropType<string | number>;
47
+ radius: PropType<MantineRadius>;
51
48
  gradient: {
52
- type: PropType<{
53
- from: string;
54
- to: string;
55
- deg?: number;
56
- }>;
49
+ type: PropType<MantineGradient>;
57
50
  default: undefined;
58
51
  };
59
52
  autoContrast: {
@@ -81,14 +74,10 @@ export declare const ButtonGroupSection: import("../../..").WithBoxProps<import(
81
74
  default: boolean;
82
75
  };
83
76
  }>> & Readonly<{}>, {
84
- color: string;
77
+ color: MantineColor;
85
78
  autoContrast: boolean;
86
79
  variant: ButtonVariant;
87
- gradient: {
88
- from: string;
89
- to: string;
90
- deg?: number;
91
- };
80
+ gradient: MantineGradient;
92
81
  classNames: Function | Record<string, any>;
93
82
  styles: Function | Record<string, any>;
94
83
  vars: Function | Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import { type PropType, type VNode } from 'vue';
2
+ import { type MantineRadius, type MantineSpacing } from '../../core';
2
3
  export declare const Card: import("../..").WithBoxProps<{
3
4
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
5
  component: {
@@ -9,12 +10,12 @@ export declare const Card: import("../..").WithBoxProps<{
9
10
  type: StringConstructor;
10
11
  default: undefined;
11
12
  };
12
- radius: PropType<string | number>;
13
+ radius: PropType<MantineRadius>;
13
14
  withBorder: {
14
15
  type: BooleanConstructor;
15
16
  default: boolean;
16
17
  };
17
- padding: PropType<string | number>;
18
+ padding: PropType<MantineSpacing>;
18
19
  orientation: {
19
20
  type: PropType<"horizontal" | "vertical">;
20
21
  default: undefined;
@@ -62,12 +63,12 @@ export declare const Card: import("../..").WithBoxProps<{
62
63
  type: StringConstructor;
63
64
  default: undefined;
64
65
  };
65
- radius: PropType<string | number>;
66
+ radius: PropType<MantineRadius>;
66
67
  withBorder: {
67
68
  type: BooleanConstructor;
68
69
  default: boolean;
69
70
  };
70
- padding: PropType<string | number>;
71
+ padding: PropType<MantineSpacing>;
71
72
  orientation: {
72
73
  type: PropType<"horizontal" | "vertical">;
73
74
  default: undefined;
@@ -112,12 +113,12 @@ export declare const Card: import("../..").WithBoxProps<{
112
113
  type: StringConstructor;
113
114
  default: undefined;
114
115
  };
115
- radius: PropType<string | number>;
116
+ radius: PropType<MantineRadius>;
116
117
  withBorder: {
117
118
  type: BooleanConstructor;
118
119
  default: boolean;
119
120
  };
120
- padding: PropType<string | number>;
121
+ padding: PropType<MantineSpacing>;
121
122
  orientation: {
122
123
  type: PropType<"horizontal" | "vertical">;
123
124
  default: undefined;
@@ -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 CheckboxVariant = 'filled' | 'outline';
4
4
  export interface CheckboxIconSlotProps {
5
5
  indeterminate?: boolean;
@@ -24,15 +24,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
24
24
  default: undefined;
25
25
  };
26
26
  color: {
27
- type: StringConstructor;
27
+ type: PropType<MantineColor>;
28
28
  default: undefined;
29
29
  };
30
30
  size: {
31
- type: PropType<string | number>;
31
+ type: PropType<MantineSize | (string & {})>;
32
32
  default: string;
33
33
  };
34
34
  radius: {
35
- type: PropType<string | number>;
35
+ type: PropType<MantineRadius>;
36
36
  default: string;
37
37
  };
38
38
  wrapperProps: {
@@ -114,10 +114,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
114
114
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
115
115
  [key: string]: any;
116
116
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
117
- size: string | number;
117
+ size: MantineSize | (string & {});
118
118
  label: MantineNode;
119
- radius: string | number;
120
- color: string;
119
+ radius: MantineRadius;
120
+ color: MantineColor;
121
121
  autoContrast: boolean;
122
122
  variant: CheckboxVariant;
123
123
  error: MantineNode;
@@ -155,15 +155,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
155
155
  default: undefined;
156
156
  };
157
157
  color: {
158
- type: StringConstructor;
158
+ type: PropType<MantineColor>;
159
159
  default: undefined;
160
160
  };
161
161
  size: {
162
- type: PropType<string | number>;
162
+ type: PropType<MantineSize | (string & {})>;
163
163
  default: string;
164
164
  };
165
165
  radius: {
166
- type: PropType<string | number>;
166
+ type: PropType<MantineRadius>;
167
167
  default: string;
168
168
  };
169
169
  wrapperProps: {
@@ -245,10 +245,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
245
245
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
246
246
  [key: string]: any;
247
247
  }>, {}, {}, {}, {
248
- size: string | number;
248
+ size: MantineSize | (string & {});
249
249
  label: MantineNode;
250
- radius: string | number;
251
- color: string;
250
+ radius: MantineRadius;
251
+ color: MantineColor;
252
252
  autoContrast: boolean;
253
253
  variant: CheckboxVariant;
254
254
  error: MantineNode;
@@ -283,15 +283,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
283
283
  default: undefined;
284
284
  };
285
285
  color: {
286
- type: StringConstructor;
286
+ type: PropType<MantineColor>;
287
287
  default: undefined;
288
288
  };
289
289
  size: {
290
- type: PropType<string | number>;
290
+ type: PropType<MantineSize | (string & {})>;
291
291
  default: string;
292
292
  };
293
293
  radius: {
294
- type: PropType<string | number>;
294
+ type: PropType<MantineRadius>;
295
295
  default: string;
296
296
  };
297
297
  wrapperProps: {
@@ -373,10 +373,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
373
373
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
374
374
  [key: string]: any;
375
375
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
376
- size: string | number;
376
+ size: MantineSize | (string & {});
377
377
  label: MantineNode;
378
- radius: string | number;
379
- color: string;
378
+ radius: MantineRadius;
379
+ color: MantineColor;
380
380
  autoContrast: boolean;
381
381
  variant: CheckboxVariant;
382
382
  error: MantineNode;
@@ -416,7 +416,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
416
416
  default: undefined;
417
417
  };
418
418
  size: {
419
- type: PropType<string | number>;
419
+ type: PropType<MantineSize | (string & {})>;
420
420
  default: undefined;
421
421
  };
422
422
  wrapperProps: {
@@ -491,7 +491,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
491
491
  default: undefined;
492
492
  };
493
493
  size: {
494
- type: PropType<string | number>;
494
+ type: PropType<MantineSize | (string & {})>;
495
495
  default: undefined;
496
496
  };
497
497
  wrapperProps: {
@@ -551,7 +551,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
551
551
  default: boolean;
552
552
  };
553
553
  }>> & Readonly<{}>, {
554
- size: string | number;
554
+ size: MantineSize | (string & {});
555
555
  label: MantineNode;
556
556
  name: string;
557
557
  error: MantineNode;
@@ -572,15 +572,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
572
572
  }, SlotsType<import("./CheckboxGroup/CheckboxGroup").CheckboxGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
573
573
  Indicator: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
574
574
  color: {
575
- type: StringConstructor;
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<string | number>;
583
+ type: PropType<MantineRadius>;
584
584
  default: string;
585
585
  };
586
586
  iconColor: {
@@ -635,15 +635,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
635
635
  [key: string]: any;
636
636
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
637
637
  color: {
638
- type: StringConstructor;
638
+ type: PropType<MantineColor>;
639
639
  default: undefined;
640
640
  };
641
641
  size: {
642
- type: PropType<string | number>;
642
+ type: PropType<MantineSize | (string & {}) | number>;
643
643
  default: string;
644
644
  };
645
645
  radius: {
646
- type: PropType<string | number>;
646
+ type: PropType<MantineRadius>;
647
647
  default: string;
648
648
  };
649
649
  iconColor: {
@@ -695,9 +695,9 @@ export declare const Checkbox: import("../..").WithBoxProps<{
695
695
  default: boolean;
696
696
  };
697
697
  }>> & Readonly<{}>, {
698
- size: string | number;
699
- radius: string | number;
700
- color: string;
698
+ size: number | MantineSize | (string & {});
699
+ radius: MantineRadius;
700
+ color: MantineColor;
701
701
  autoContrast: boolean;
702
702
  variant: import(".").CheckboxIndicatorVariant;
703
703
  classNames: Function | Record<string, any>;
@@ -729,7 +729,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
729
729
  default: boolean;
730
730
  };
731
731
  radius: {
732
- type: PropType<string | number>;
732
+ type: PropType<MantineRadius>;
733
733
  default: undefined;
734
734
  };
735
735
  value: {
@@ -776,7 +776,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
776
776
  default: boolean;
777
777
  };
778
778
  radius: {
779
- type: PropType<string | number>;
779
+ type: PropType<MantineRadius>;
780
780
  default: undefined;
781
781
  };
782
782
  value: {
@@ -804,7 +804,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
804
804
  default: boolean;
805
805
  };
806
806
  }>> & Readonly<{}>, {
807
- radius: string | number;
807
+ radius: MantineRadius;
808
808
  onChange: (value: boolean) => void;
809
809
  value: string;
810
810
  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 CheckboxCardContextValue {
3
4
  checked: boolean;
4
5
  }
@@ -21,7 +22,7 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
21
22
  default: boolean;
22
23
  };
23
24
  radius: {
24
- type: PropType<string | number>;
25
+ type: PropType<MantineRadius>;
25
26
  default: undefined;
26
27
  };
27
28
  value: {
@@ -68,7 +69,7 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
68
69
  default: boolean;
69
70
  };
70
71
  radius: {
71
- type: PropType<string | number>;
72
+ type: PropType<MantineRadius>;
72
73
  default: undefined;
73
74
  };
74
75
  value: {
@@ -96,7 +97,7 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
96
97
  default: boolean;
97
98
  };
98
99
  }>> & Readonly<{}>, {
99
- radius: string | number;
100
+ radius: MantineRadius;
100
101
  onChange: (value: boolean) => void;
101
102
  value: string;
102
103
  classNames: Function | Record<string, any>;