@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.
Files changed (98) hide show
  1. package/cjs/index.cjs +23 -19
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +23 -19
  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/Progress/Progress.d.ts +28 -27
  68. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +7 -6
  69. package/lib/components/Progress/ProgressSection/ProgressSection.d.ts +4 -3
  70. package/lib/components/Radio/Radio.d.ts +34 -34
  71. package/lib/components/Radio/RadioCard/RadioCard.d.ts +4 -3
  72. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +4 -4
  73. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +10 -9
  74. package/lib/components/Rating/Rating.d.ts +7 -7
  75. package/lib/components/RingProgress/Curve/Curve.d.ts +4 -3
  76. package/lib/components/SegmentedControl/SegmentedControl.d.ts +10 -9
  77. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +10 -9
  78. package/lib/components/Slider/Slider/Slider.d.ts +10 -9
  79. package/lib/components/Stack/Stack.d.ts +9 -8
  80. package/lib/components/Stepper/Stepper.d.ts +22 -21
  81. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +4 -3
  82. package/lib/components/Switch/Switch.d.ts +22 -22
  83. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +4 -4
  84. package/lib/components/TableOfContents/TableOfContents.d.ts +10 -9
  85. package/lib/components/Tabs/Tabs.d.ts +19 -18
  86. package/lib/components/Tabs/TabsList/TabsList.d.ts +4 -3
  87. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +4 -4
  88. package/lib/components/Text/Text.d.ts +3 -2
  89. package/lib/components/ThemeIcon/ThemeIcon.d.ts +11 -23
  90. package/lib/components/Timeline/Timeline.d.ts +19 -18
  91. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +7 -7
  92. package/lib/components/component-props.d.ts +190 -0
  93. package/lib/components/index.d.ts +1 -0
  94. package/lib/core/Box/Box.d.ts +4 -4
  95. package/lib/core/Box/style-props/style-props.types.d.ts +4 -4
  96. package/lib/core/MantineProvider/theme.types.d.ts +5 -0
  97. package/lib/core/types.d.ts +7 -0
  98. package/package.json +3 -3
@@ -1,4 +1,5 @@
1
1
  import { type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
2
+ import { type MantineColor, type MantineRadius, type MantineSize } from '../../core';
2
3
  export interface StepperSlots {
3
4
  default?: () => VNodeChild;
4
5
  icon?: (payload: {
@@ -35,7 +36,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
35
36
  default: undefined;
36
37
  };
37
38
  color: {
38
- type: StringConstructor;
39
+ type: PropType<MantineColor>;
39
40
  default: undefined;
40
41
  };
41
42
  iconSize: {
@@ -55,11 +56,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
55
56
  default: undefined;
56
57
  };
57
58
  size: {
58
- type: PropType<string | number>;
59
+ type: PropType<MantineSize>;
59
60
  default: undefined;
60
61
  };
61
62
  radius: {
62
- type: PropType<string | number>;
63
+ type: PropType<MantineRadius>;
63
64
  default: undefined;
64
65
  };
65
66
  allowNextStepsSelect: {
@@ -101,11 +102,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
101
102
  }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
102
103
  [key: string]: any;
103
104
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
104
- size: string | number;
105
+ size: MantineSize;
105
106
  orientation: "vertical" | "horizontal";
106
- radius: string | number;
107
+ radius: MantineRadius;
107
108
  wrap: boolean;
108
- color: string;
109
+ color: MantineColor;
109
110
  autoContrast: boolean;
110
111
  classNames: Function | Record<string, any>;
111
112
  styles: Function | Record<string, any>;
@@ -150,7 +151,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
150
151
  default: undefined;
151
152
  };
152
153
  color: {
153
- type: StringConstructor;
154
+ type: PropType<MantineColor>;
154
155
  default: undefined;
155
156
  };
156
157
  iconSize: {
@@ -170,11 +171,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
170
171
  default: undefined;
171
172
  };
172
173
  size: {
173
- type: PropType<string | number>;
174
+ type: PropType<MantineSize>;
174
175
  default: undefined;
175
176
  };
176
177
  radius: {
177
- type: PropType<string | number>;
178
+ type: PropType<MantineRadius>;
178
179
  default: undefined;
179
180
  };
180
181
  allowNextStepsSelect: {
@@ -216,11 +217,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
216
217
  }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
217
218
  [key: string]: any;
218
219
  }>, {}, {}, {}, {
219
- size: string | number;
220
+ size: MantineSize;
220
221
  orientation: "vertical" | "horizontal";
221
- radius: string | number;
222
+ radius: MantineRadius;
222
223
  wrap: boolean;
223
- color: string;
224
+ color: MantineColor;
224
225
  autoContrast: boolean;
225
226
  classNames: Function | Record<string, any>;
226
227
  styles: Function | Record<string, any>;
@@ -262,7 +263,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
262
263
  default: undefined;
263
264
  };
264
265
  color: {
265
- type: StringConstructor;
266
+ type: PropType<MantineColor>;
266
267
  default: undefined;
267
268
  };
268
269
  iconSize: {
@@ -282,11 +283,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
282
283
  default: undefined;
283
284
  };
284
285
  size: {
285
- type: PropType<string | number>;
286
+ type: PropType<MantineSize>;
286
287
  default: undefined;
287
288
  };
288
289
  radius: {
289
- type: PropType<string | number>;
290
+ type: PropType<MantineRadius>;
290
291
  default: undefined;
291
292
  };
292
293
  allowNextStepsSelect: {
@@ -328,11 +329,11 @@ export declare const Stepper: import("../..").WithBoxProps<{
328
329
  }>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
329
330
  [key: string]: any;
330
331
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
331
- size: string | number;
332
+ size: MantineSize;
332
333
  orientation: "vertical" | "horizontal";
333
- radius: string | number;
334
+ radius: MantineRadius;
334
335
  wrap: boolean;
335
- color: string;
336
+ color: MantineColor;
336
337
  autoContrast: boolean;
337
338
  classNames: Function | Record<string, any>;
338
339
  styles: Function | Record<string, any>;
@@ -361,7 +362,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
361
362
  default: undefined;
362
363
  };
363
364
  color: {
364
- type: StringConstructor;
365
+ type: PropType<MantineColor>;
365
366
  default: undefined;
366
367
  };
367
368
  withIcon: {
@@ -444,7 +445,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
444
445
  default: undefined;
445
446
  };
446
447
  color: {
447
- type: StringConstructor;
448
+ type: PropType<MantineColor>;
448
449
  default: undefined;
449
450
  };
450
451
  withIcon: {
@@ -519,7 +520,7 @@ export declare const Stepper: import("../..").WithBoxProps<{
519
520
  label: any;
520
521
  style: any;
521
522
  orientation: "vertical" | "horizontal";
522
- color: string;
523
+ color: MantineColor;
523
524
  classNames: Function | Record<string, any>;
524
525
  styles: Function | Record<string, any>;
525
526
  description: any;
@@ -1,4 +1,5 @@
1
1
  import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineColor } from '../../../core';
2
3
  export interface StepperStepFragmentSlotProps {
3
4
  step: number;
4
5
  }
@@ -21,7 +22,7 @@ export declare const StepperStep: import("../../..").WithBoxProps<import("vue").
21
22
  default: undefined;
22
23
  };
23
24
  color: {
24
- type: StringConstructor;
25
+ type: PropType<MantineColor>;
25
26
  default: undefined;
26
27
  };
27
28
  withIcon: {
@@ -104,7 +105,7 @@ export declare const StepperStep: import("../../..").WithBoxProps<import("vue").
104
105
  default: undefined;
105
106
  };
106
107
  color: {
107
- type: StringConstructor;
108
+ type: PropType<MantineColor>;
108
109
  default: undefined;
109
110
  };
110
111
  withIcon: {
@@ -179,7 +180,7 @@ export declare const StepperStep: import("../../..").WithBoxProps<import("vue").
179
180
  label: any;
180
181
  style: any;
181
182
  orientation: "vertical" | "horizontal";
182
- color: string;
183
+ color: MantineColor;
183
184
  classNames: Function | Record<string, any>;
184
185
  styles: Function | Record<string, any>;
185
186
  description: 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, type MantineSize } from '../../core';
3
3
  export interface SwitchSlots {
4
4
  label?: () => VNodeChild;
5
5
  description?: () => VNodeChild;
@@ -28,15 +28,15 @@ export declare const Switch: import("../..").WithBoxProps<{
28
28
  default: undefined;
29
29
  };
30
30
  color: {
31
- type: StringConstructor;
31
+ type: PropType<MantineColor>;
32
32
  default: undefined;
33
33
  };
34
34
  size: {
35
- type: PropType<string | number>;
35
+ type: PropType<MantineSize | (string & {})>;
36
36
  default: string;
37
37
  };
38
38
  radius: {
39
- type: PropType<string | number>;
39
+ type: PropType<MantineRadius>;
40
40
  default: string;
41
41
  };
42
42
  wrapperProps: {
@@ -110,10 +110,10 @@ export declare const Switch: import("../..").WithBoxProps<{
110
110
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
111
111
  [key: string]: any;
112
112
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
113
- size: string | number;
113
+ size: MantineSize | (string & {});
114
114
  label: MantineNode;
115
- radius: string | number;
116
- color: string;
115
+ radius: MantineRadius;
116
+ color: MantineColor;
117
117
  variant: string;
118
118
  error: MantineNode;
119
119
  onChange: (event: Event) => void;
@@ -159,15 +159,15 @@ export declare const Switch: import("../..").WithBoxProps<{
159
159
  default: undefined;
160
160
  };
161
161
  color: {
162
- type: StringConstructor;
162
+ type: PropType<MantineColor>;
163
163
  default: undefined;
164
164
  };
165
165
  size: {
166
- type: PropType<string | number>;
166
+ type: PropType<MantineSize | (string & {})>;
167
167
  default: string;
168
168
  };
169
169
  radius: {
170
- type: PropType<string | number>;
170
+ type: PropType<MantineRadius>;
171
171
  default: string;
172
172
  };
173
173
  wrapperProps: {
@@ -241,10 +241,10 @@ export declare const Switch: import("../..").WithBoxProps<{
241
241
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
242
242
  [key: string]: any;
243
243
  }>, {}, {}, {}, {
244
- size: string | number;
244
+ size: MantineSize | (string & {});
245
245
  label: MantineNode;
246
- radius: string | number;
247
- color: string;
246
+ radius: MantineRadius;
247
+ color: MantineColor;
248
248
  variant: string;
249
249
  error: MantineNode;
250
250
  onChange: (event: Event) => void;
@@ -287,15 +287,15 @@ export declare const Switch: import("../..").WithBoxProps<{
287
287
  default: undefined;
288
288
  };
289
289
  color: {
290
- type: StringConstructor;
290
+ type: PropType<MantineColor>;
291
291
  default: undefined;
292
292
  };
293
293
  size: {
294
- type: PropType<string | number>;
294
+ type: PropType<MantineSize | (string & {})>;
295
295
  default: string;
296
296
  };
297
297
  radius: {
298
- type: PropType<string | number>;
298
+ type: PropType<MantineRadius>;
299
299
  default: string;
300
300
  };
301
301
  wrapperProps: {
@@ -369,10 +369,10 @@ export declare const Switch: import("../..").WithBoxProps<{
369
369
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
370
370
  [key: string]: any;
371
371
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
372
- size: string | number;
372
+ size: MantineSize | (string & {});
373
373
  label: MantineNode;
374
- radius: string | number;
375
- color: string;
374
+ radius: MantineRadius;
375
+ color: MantineColor;
376
376
  variant: string;
377
377
  error: MantineNode;
378
378
  onChange: (event: Event) => void;
@@ -412,7 +412,7 @@ export declare const Switch: import("../..").WithBoxProps<{
412
412
  default: undefined;
413
413
  };
414
414
  size: {
415
- type: PropType<string | number>;
415
+ type: PropType<MantineSize | (string & {})>;
416
416
  default: undefined;
417
417
  };
418
418
  wrapperProps: {
@@ -487,7 +487,7 @@ export declare const Switch: import("../..").WithBoxProps<{
487
487
  default: undefined;
488
488
  };
489
489
  size: {
490
- type: PropType<string | number>;
490
+ type: PropType<MantineSize | (string & {})>;
491
491
  default: undefined;
492
492
  };
493
493
  wrapperProps: {
@@ -547,7 +547,7 @@ export declare const Switch: import("../..").WithBoxProps<{
547
547
  default: boolean;
548
548
  };
549
549
  }>> & Readonly<{}>, {
550
- size: string | number;
550
+ size: MantineSize | (string & {});
551
551
  label: MantineNode;
552
552
  name: string;
553
553
  error: MantineNode;
@@ -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 SwitchGroupContextValue {
4
4
  value: string[];
5
5
  onChange: (event: Event) => void;
@@ -27,7 +27,7 @@ export declare const SwitchGroup: import("vue").DefineComponent<import("vue").Ex
27
27
  default: undefined;
28
28
  };
29
29
  size: {
30
- type: PropType<string | number>;
30
+ type: PropType<MantineSize | (string & {})>;
31
31
  default: undefined;
32
32
  };
33
33
  wrapperProps: {
@@ -102,7 +102,7 @@ export declare const SwitchGroup: import("vue").DefineComponent<import("vue").Ex
102
102
  default: undefined;
103
103
  };
104
104
  size: {
105
- type: PropType<string | number>;
105
+ type: PropType<MantineSize | (string & {})>;
106
106
  default: undefined;
107
107
  };
108
108
  wrapperProps: {
@@ -162,7 +162,7 @@ export declare const SwitchGroup: import("vue").DefineComponent<import("vue").Ex
162
162
  default: boolean;
163
163
  };
164
164
  }>> & Readonly<{}>, {
165
- size: string | number;
165
+ size: MantineSize | (string & {});
166
166
  label: MantineNode;
167
167
  name: string;
168
168
  error: MantineNode;
@@ -1,5 +1,6 @@
1
1
  import { type PropType, type Ref } from 'vue';
2
2
  import { type UseScrollSpyHeadingData, type UseScrollSpyOptions } from '@mantine-vue/hooks';
3
+ import { type MantineColor, type MantineRadius, type MantineSize } from '../../core';
3
4
  export type TableOfContentsStylesNames = 'root' | 'control';
4
5
  export type TableOfContentsVariant = 'filled' | 'light' | 'none';
5
6
  export interface InitialTableOfContentsData {
@@ -9,11 +10,11 @@ export interface InitialTableOfContentsData {
9
10
  }
10
11
  export declare const TableOfContents: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
12
  color: {
12
- type: StringConstructor;
13
+ type: PropType<MantineColor>;
13
14
  default: undefined;
14
15
  };
15
16
  size: {
16
- type: PropType<string | number>;
17
+ type: PropType<MantineSize | (string & {}) | number>;
17
18
  default: undefined;
18
19
  };
19
20
  autoContrast: {
@@ -44,7 +45,7 @@ export declare const TableOfContents: import("../..").WithBoxProps<import("vue")
44
45
  default: undefined;
45
46
  };
46
47
  radius: {
47
- type: PropType<string | number>;
48
+ type: PropType<MantineRadius>;
48
49
  default: undefined;
49
50
  };
50
51
  reinitializeRef: {
@@ -75,11 +76,11 @@ export declare const TableOfContents: import("../..").WithBoxProps<import("vue")
75
76
  [key: string]: any;
76
77
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
78
  color: {
78
- type: StringConstructor;
79
+ type: PropType<MantineColor>;
79
80
  default: undefined;
80
81
  };
81
82
  size: {
82
- type: PropType<string | number>;
83
+ type: PropType<MantineSize | (string & {}) | number>;
83
84
  default: undefined;
84
85
  };
85
86
  autoContrast: {
@@ -110,7 +111,7 @@ export declare const TableOfContents: import("../..").WithBoxProps<import("vue")
110
111
  default: undefined;
111
112
  };
112
113
  radius: {
113
- type: PropType<string | number>;
114
+ type: PropType<MantineRadius>;
114
115
  default: undefined;
115
116
  };
116
117
  reinitializeRef: {
@@ -138,9 +139,9 @@ export declare const TableOfContents: import("../..").WithBoxProps<import("vue")
138
139
  default: boolean;
139
140
  };
140
141
  }>> & Readonly<{}>, {
141
- size: string | number;
142
- radius: string | number;
143
- color: string;
142
+ size: number | MantineSize | (string & {});
143
+ radius: MantineRadius;
144
+ color: MantineColor;
144
145
  autoContrast: boolean;
145
146
  variant: TableOfContentsVariant;
146
147
  classNames: Function | Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineColor, type MantineRadius } from '../../core';
2
3
  export type TabsStylesNames = 'root' | 'list' | 'panel' | 'tab' | 'tabSection' | 'tabLabel';
3
4
  export type TabsVariant = 'default' | 'outline' | 'pills';
4
5
  export declare const Tabs: {
@@ -44,11 +45,11 @@ export declare const Tabs: {
44
45
  default: undefined;
45
46
  };
46
47
  color: {
47
- type: StringConstructor;
48
+ type: PropType<MantineColor>;
48
49
  default: undefined;
49
50
  };
50
51
  radius: {
51
- type: PropType<string | number>;
52
+ type: PropType<MantineRadius>;
52
53
  default: undefined;
53
54
  };
54
55
  inverted: {
@@ -92,8 +93,8 @@ export declare const Tabs: {
92
93
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
93
94
  loop: boolean;
94
95
  orientation: "vertical" | "horizontal";
95
- radius: string | number;
96
- color: string;
96
+ radius: MantineRadius;
97
+ color: MantineColor;
97
98
  autoContrast: boolean;
98
99
  variant: TabsVariant;
99
100
  onChange: (value: string | null) => void;
@@ -160,11 +161,11 @@ export declare const Tabs: {
160
161
  default: undefined;
161
162
  };
162
163
  color: {
163
- type: StringConstructor;
164
+ type: PropType<MantineColor>;
164
165
  default: undefined;
165
166
  };
166
167
  radius: {
167
- type: PropType<string | number>;
168
+ type: PropType<MantineRadius>;
168
169
  default: undefined;
169
170
  };
170
171
  inverted: {
@@ -208,8 +209,8 @@ export declare const Tabs: {
208
209
  }>, {}, {}, {}, {
209
210
  loop: boolean;
210
211
  orientation: "vertical" | "horizontal";
211
- radius: string | number;
212
- color: string;
212
+ radius: MantineRadius;
213
+ color: MantineColor;
213
214
  autoContrast: boolean;
214
215
  variant: TabsVariant;
215
216
  onChange: (value: string | null) => void;
@@ -273,11 +274,11 @@ export declare const Tabs: {
273
274
  default: undefined;
274
275
  };
275
276
  color: {
276
- type: StringConstructor;
277
+ type: PropType<MantineColor>;
277
278
  default: undefined;
278
279
  };
279
280
  radius: {
280
- type: PropType<string | number>;
281
+ type: PropType<MantineRadius>;
281
282
  default: undefined;
282
283
  };
283
284
  inverted: {
@@ -321,8 +322,8 @@ export declare const Tabs: {
321
322
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
322
323
  loop: boolean;
323
324
  orientation: "vertical" | "horizontal";
324
- radius: string | number;
325
- color: string;
325
+ radius: MantineRadius;
326
+ color: MantineColor;
326
327
  autoContrast: boolean;
327
328
  variant: TabsVariant;
328
329
  onChange: (value: string | null) => void;
@@ -357,7 +358,7 @@ export declare const Tabs: {
357
358
  default: undefined;
358
359
  };
359
360
  color: {
360
- type: StringConstructor;
361
+ type: PropType<MantineColor>;
361
362
  default: undefined;
362
363
  };
363
364
  disabled: {
@@ -408,7 +409,7 @@ export declare const Tabs: {
408
409
  default: undefined;
409
410
  };
410
411
  color: {
411
- type: StringConstructor;
412
+ type: PropType<MantineColor>;
412
413
  default: undefined;
413
414
  };
414
415
  disabled: {
@@ -445,7 +446,7 @@ export declare const Tabs: {
445
446
  };
446
447
  }>> & Readonly<{}>, {
447
448
  onKeydown: (event: KeyboardEvent) => void;
448
- color: string;
449
+ color: MantineColor;
449
450
  onClick: (event: MouseEvent) => void;
450
451
  classNames: Function | Record<string, any>;
451
452
  styles: Function | Record<string, any>;
@@ -512,7 +513,7 @@ export declare const Tabs: {
512
513
  default: boolean;
513
514
  };
514
515
  justify: {
515
- type: StringConstructor;
516
+ type: PropType<import("../..").JustifyContent>;
516
517
  default: undefined;
517
518
  };
518
519
  mod: {
@@ -535,7 +536,7 @@ export declare const Tabs: {
535
536
  default: boolean;
536
537
  };
537
538
  justify: {
538
- type: StringConstructor;
539
+ type: PropType<import("../..").JustifyContent>;
539
540
  default: undefined;
540
541
  };
541
542
  mod: {
@@ -554,7 +555,7 @@ export declare const Tabs: {
554
555
  classNames: Function | Record<string, any>;
555
556
  styles: Function | Record<string, any>;
556
557
  mod: any;
557
- justify: string;
558
+ justify: import("csstype").Property.JustifyContent | undefined;
558
559
  grow: boolean;
559
560
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
560
561
  };
@@ -1,4 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type JustifyContent } from '../../../core';
2
3
  export type TabsListStylesNames = 'list';
3
4
  export declare const TabsList: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  grow: {
@@ -6,7 +7,7 @@ export declare const TabsList: import("../../..").WithBoxProps<import("vue").Def
6
7
  default: boolean;
7
8
  };
8
9
  justify: {
9
- type: StringConstructor;
10
+ type: PropType<JustifyContent>;
10
11
  default: undefined;
11
12
  };
12
13
  mod: {
@@ -29,7 +30,7 @@ export declare const TabsList: import("../../..").WithBoxProps<import("vue").Def
29
30
  default: boolean;
30
31
  };
31
32
  justify: {
32
- type: StringConstructor;
33
+ type: PropType<JustifyContent>;
33
34
  default: undefined;
34
35
  };
35
36
  mod: {
@@ -48,6 +49,6 @@ export declare const TabsList: import("../../..").WithBoxProps<import("vue").Def
48
49
  classNames: Function | Record<string, any>;
49
50
  styles: Function | Record<string, any>;
50
51
  mod: any;
51
- justify: string;
52
+ justify: import("csstype").Property.JustifyContent | undefined;
52
53
  grow: boolean;
53
54
  }, {}, {}, {}, 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, type SectionSlots } from '../../../core';
2
+ import { type MantineColor, type MantineNode, type SectionSlots } from '../../../core';
3
3
  export type TabsTabStylesNames = 'tab' | 'tabSection' | 'tabLabel';
4
4
  export interface TabsTabSlots extends SectionSlots {
5
5
  default?: () => VNodeChild;
@@ -18,7 +18,7 @@ export declare const TabsTab: import("vue").DefineComponent<import("vue").Extrac
18
18
  default: undefined;
19
19
  };
20
20
  color: {
21
- type: StringConstructor;
21
+ type: PropType<MantineColor>;
22
22
  default: undefined;
23
23
  };
24
24
  disabled: {
@@ -69,7 +69,7 @@ export declare const TabsTab: import("vue").DefineComponent<import("vue").Extrac
69
69
  default: undefined;
70
70
  };
71
71
  color: {
72
- type: StringConstructor;
72
+ type: PropType<MantineColor>;
73
73
  default: undefined;
74
74
  };
75
75
  disabled: {
@@ -106,7 +106,7 @@ export declare const TabsTab: import("vue").DefineComponent<import("vue").Extrac
106
106
  };
107
107
  }>> & Readonly<{}>, {
108
108
  onKeydown: (event: KeyboardEvent) => void;
109
- color: string;
109
+ color: MantineColor;
110
110
  onClick: (event: MouseEvent) => void;
111
111
  classNames: Function | Record<string, any>;
112
112
  styles: Function | Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineFontSize, type MantineLineHeight } from '../../core';
2
3
  export type TextTruncate = 'end' | 'start' | boolean;
3
4
  export type TextVariant = 'text' | 'gradient';
4
5
  export declare const Text: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -10,7 +11,7 @@ export declare const Text: import("../..").WithBoxProps<import("vue").DefineComp
10
11
  type: StringConstructor;
11
12
  default: undefined;
12
13
  };
13
- size: PropType<string | number>;
14
+ size: PropType<MantineFontSize | MantineLineHeight>;
14
15
  lineClamp: {
15
16
  type: NumberConstructor;
16
17
  default: undefined;
@@ -78,7 +79,7 @@ export declare const Text: import("../..").WithBoxProps<import("vue").DefineComp
78
79
  type: StringConstructor;
79
80
  default: undefined;
80
81
  };
81
- size: PropType<string | number>;
82
+ size: PropType<MantineFontSize | MantineLineHeight>;
82
83
  lineClamp: {
83
84
  type: NumberConstructor;
84
85
  default: undefined;