@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,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 MantineNode, type MantineRadius, type MantineSize, type SectionSlots } from '../../core';
3
3
  import { type ClearSectionMode } from './InputClearSection/InputClearSection';
4
4
  export type InputStylesNames = 'input' | 'wrapper' | 'section' | 'bottomSection';
5
5
  export type InputVariant = 'default' | 'filled' | 'unstyled';
@@ -64,7 +64,7 @@ export declare const Input: import("../..").WithBoxProps<{
64
64
  default: boolean;
65
65
  };
66
66
  radius: {
67
- type: PropType<string | number>;
67
+ type: PropType<MantineRadius>;
68
68
  default: undefined;
69
69
  };
70
70
  disabled: {
@@ -72,7 +72,7 @@ export declare const Input: import("../..").WithBoxProps<{
72
72
  default: boolean;
73
73
  };
74
74
  size: {
75
- type: PropType<string | number>;
75
+ type: PropType<MantineSize | (string & {}) | number>;
76
76
  default: string;
77
77
  };
78
78
  pointer: {
@@ -170,8 +170,8 @@ export declare const Input: import("../..").WithBoxProps<{
170
170
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
171
171
  [key: string]: any;
172
172
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
173
- size: string | number;
174
- radius: string | number;
173
+ size: number | MantineSize | (string & {});
174
+ radius: MantineRadius;
175
175
  pointer: boolean;
176
176
  variant: InputVariant;
177
177
  error: any;
@@ -265,7 +265,7 @@ export declare const Input: import("../..").WithBoxProps<{
265
265
  default: boolean;
266
266
  };
267
267
  radius: {
268
- type: PropType<string | number>;
268
+ type: PropType<MantineRadius>;
269
269
  default: undefined;
270
270
  };
271
271
  disabled: {
@@ -273,7 +273,7 @@ export declare const Input: import("../..").WithBoxProps<{
273
273
  default: boolean;
274
274
  };
275
275
  size: {
276
- type: PropType<string | number>;
276
+ type: PropType<MantineSize | (string & {}) | number>;
277
277
  default: string;
278
278
  };
279
279
  pointer: {
@@ -371,8 +371,8 @@ export declare const Input: import("../..").WithBoxProps<{
371
371
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
372
372
  [key: string]: any;
373
373
  }>, {}, {}, {}, {
374
- size: string | number;
375
- radius: string | number;
374
+ size: number | MantineSize | (string & {});
375
+ radius: MantineRadius;
376
376
  pointer: boolean;
377
377
  variant: InputVariant;
378
378
  error: any;
@@ -463,7 +463,7 @@ export declare const Input: import("../..").WithBoxProps<{
463
463
  default: boolean;
464
464
  };
465
465
  radius: {
466
- type: PropType<string | number>;
466
+ type: PropType<MantineRadius>;
467
467
  default: undefined;
468
468
  };
469
469
  disabled: {
@@ -471,7 +471,7 @@ export declare const Input: import("../..").WithBoxProps<{
471
471
  default: boolean;
472
472
  };
473
473
  size: {
474
- type: PropType<string | number>;
474
+ type: PropType<MantineSize | (string & {}) | number>;
475
475
  default: string;
476
476
  };
477
477
  pointer: {
@@ -569,8 +569,8 @@ export declare const Input: import("../..").WithBoxProps<{
569
569
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
570
570
  [key: string]: any;
571
571
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
572
- size: string | number;
573
- radius: string | number;
572
+ size: number | MantineSize | (string & {});
573
+ radius: MantineRadius;
574
574
  pointer: boolean;
575
575
  variant: InputVariant;
576
576
  error: any;
@@ -656,7 +656,7 @@ export declare const Input: import("../..").WithBoxProps<{
656
656
  default: undefined;
657
657
  };
658
658
  size: {
659
- type: PropType<string | number>;
659
+ type: PropType<import("../..").MantineFontSize | number>;
660
660
  default: undefined;
661
661
  };
662
662
  labelElement: {
@@ -735,7 +735,7 @@ export declare const Input: import("../..").WithBoxProps<{
735
735
  default: undefined;
736
736
  };
737
737
  size: {
738
- type: PropType<string | number>;
738
+ type: PropType<import("../..").MantineFontSize | number>;
739
739
  default: undefined;
740
740
  };
741
741
  labelElement: {
@@ -767,7 +767,7 @@ export declare const Input: import("../..").WithBoxProps<{
767
767
  default: boolean;
768
768
  };
769
769
  }>> & Readonly<{}>, {
770
- size: string | number;
770
+ size: number | import("../..").MantineFontSize;
771
771
  label: MantineNode;
772
772
  variant: string;
773
773
  error: MantineNode;
@@ -793,7 +793,7 @@ export declare const Input: import("../..").WithBoxProps<{
793
793
  default: boolean;
794
794
  };
795
795
  size: {
796
- type: PropType<string | number>;
796
+ type: PropType<import("../..").MantineFontSize | number>;
797
797
  default: undefined;
798
798
  };
799
799
  labelElement: {
@@ -832,7 +832,7 @@ export declare const Input: import("../..").WithBoxProps<{
832
832
  default: boolean;
833
833
  };
834
834
  size: {
835
- type: PropType<string | number>;
835
+ type: PropType<import("../..").MantineFontSize | number>;
836
836
  default: undefined;
837
837
  };
838
838
  labelElement: {
@@ -864,7 +864,7 @@ export declare const Input: import("../..").WithBoxProps<{
864
864
  default: boolean;
865
865
  };
866
866
  }>> & Readonly<{}>, {
867
- size: string | number;
867
+ size: number | import("../..").MantineFontSize;
868
868
  classNames: Function | Record<string, any>;
869
869
  styles: Function | Record<string, any>;
870
870
  required: boolean;
@@ -876,7 +876,7 @@ export declare const Input: import("../..").WithBoxProps<{
876
876
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
877
877
  Error: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
878
878
  size: {
879
- type: PropType<string | number>;
879
+ type: PropType<import("../..").MantineFontSize | number>;
880
880
  default: undefined;
881
881
  };
882
882
  __inheritStyles: {
@@ -903,7 +903,7 @@ export declare const Input: import("../..").WithBoxProps<{
903
903
  [key: string]: any;
904
904
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
905
905
  size: {
906
- type: PropType<string | number>;
906
+ type: PropType<import("../..").MantineFontSize | number>;
907
907
  default: undefined;
908
908
  };
909
909
  __inheritStyles: {
@@ -927,7 +927,7 @@ export declare const Input: import("../..").WithBoxProps<{
927
927
  default: boolean;
928
928
  };
929
929
  }>> & Readonly<{}>, {
930
- size: string | number;
930
+ size: number | import("../..").MantineFontSize;
931
931
  classNames: Function | Record<string, any>;
932
932
  styles: Function | Record<string, any>;
933
933
  vars: Function | Record<string, any>;
@@ -936,7 +936,7 @@ export declare const Input: import("../..").WithBoxProps<{
936
936
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
937
937
  Description: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
938
938
  size: {
939
- type: PropType<string | number>;
939
+ type: PropType<import("../..").MantineFontSize | number>;
940
940
  default: undefined;
941
941
  };
942
942
  __inheritStyles: {
@@ -963,7 +963,7 @@ export declare const Input: import("../..").WithBoxProps<{
963
963
  [key: string]: any;
964
964
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
965
965
  size: {
966
- type: PropType<string | number>;
966
+ type: PropType<import("../..").MantineFontSize | number>;
967
967
  default: undefined;
968
968
  };
969
969
  __inheritStyles: {
@@ -987,7 +987,7 @@ export declare const Input: import("../..").WithBoxProps<{
987
987
  default: boolean;
988
988
  };
989
989
  }>> & Readonly<{}>, {
990
- size: string | number;
990
+ size: number | import("../..").MantineFontSize;
991
991
  classNames: Function | Record<string, any>;
992
992
  styles: Function | Record<string, any>;
993
993
  vars: Function | Record<string, any>;
@@ -1047,7 +1047,7 @@ export declare const Input: import("../..").WithBoxProps<{
1047
1047
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1048
1048
  ClearButton: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1049
1049
  size: {
1050
- type: PropType<string | number>;
1050
+ type: PropType<MantineSize | (string & {})>;
1051
1051
  default: undefined;
1052
1052
  };
1053
1053
  variant: {
@@ -1066,7 +1066,7 @@ export declare const Input: import("../..").WithBoxProps<{
1066
1066
  [key: string]: any;
1067
1067
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1068
1068
  size: {
1069
- type: PropType<string | number>;
1069
+ type: PropType<MantineSize | (string & {})>;
1070
1070
  default: undefined;
1071
1071
  };
1072
1072
  variant: {
@@ -1082,7 +1082,7 @@ export declare const Input: import("../..").WithBoxProps<{
1082
1082
  default: undefined;
1083
1083
  };
1084
1084
  }>> & Readonly<{}>, {
1085
- size: string | number;
1085
+ size: MantineSize | (string & {});
1086
1086
  variant: string;
1087
1087
  classNames: Function | Record<string, any>;
1088
1088
  styles: Function | Record<string, any>;
@@ -1,7 +1,8 @@
1
+ import { type MantineSize } from '../../../core';
1
2
  import { type PropType } from 'vue';
2
3
  export declare const InputClearButton: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
4
  size: {
4
- type: PropType<string | number>;
5
+ type: PropType<MantineSize | (string & {})>;
5
6
  default: undefined;
6
7
  };
7
8
  variant: {
@@ -20,7 +21,7 @@ export declare const InputClearButton: import("../../..").WithBoxProps<import("v
20
21
  [key: string]: any;
21
22
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
23
  size: {
23
- type: PropType<string | number>;
24
+ type: PropType<MantineSize | (string & {})>;
24
25
  default: undefined;
25
26
  };
26
27
  variant: {
@@ -36,7 +37,7 @@ export declare const InputClearButton: import("../../..").WithBoxProps<import("v
36
37
  default: undefined;
37
38
  };
38
39
  }>> & Readonly<{}>, {
39
- size: string | number;
40
+ size: MantineSize | (string & {});
40
41
  variant: string;
41
42
  classNames: Function | Record<string, any>;
42
43
  styles: Function | Record<string, any>;
@@ -1,8 +1,9 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineFontSize } from '../../../core';
2
3
  export type InputDescriptionStylesNames = 'description';
3
4
  export declare const InputDescription: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  size: {
5
- type: PropType<string | number>;
6
+ type: PropType<MantineFontSize | number>;
6
7
  default: undefined;
7
8
  };
8
9
  __inheritStyles: {
@@ -29,7 +30,7 @@ export declare const InputDescription: import("../../..").WithBoxProps<import("v
29
30
  [key: string]: any;
30
31
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
32
  size: {
32
- type: PropType<string | number>;
33
+ type: PropType<MantineFontSize | number>;
33
34
  default: undefined;
34
35
  };
35
36
  __inheritStyles: {
@@ -53,7 +54,7 @@ export declare const InputDescription: import("../../..").WithBoxProps<import("v
53
54
  default: boolean;
54
55
  };
55
56
  }>> & Readonly<{}>, {
56
- size: string | number;
57
+ size: number | MantineFontSize;
57
58
  classNames: Function | Record<string, any>;
58
59
  styles: Function | Record<string, any>;
59
60
  vars: Function | Record<string, any>;
@@ -1,8 +1,9 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineFontSize } from '../../../core';
2
3
  export type InputErrorStylesNames = 'error';
3
4
  export declare const InputError: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  size: {
5
- type: PropType<string | number>;
6
+ type: PropType<MantineFontSize | number>;
6
7
  default: undefined;
7
8
  };
8
9
  __inheritStyles: {
@@ -29,7 +30,7 @@ export declare const InputError: import("../../..").WithBoxProps<import("vue").D
29
30
  [key: string]: any;
30
31
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
32
  size: {
32
- type: PropType<string | number>;
33
+ type: PropType<MantineFontSize | number>;
33
34
  default: undefined;
34
35
  };
35
36
  __inheritStyles: {
@@ -53,7 +54,7 @@ export declare const InputError: import("../../..").WithBoxProps<import("vue").D
53
54
  default: boolean;
54
55
  };
55
56
  }>> & Readonly<{}>, {
56
- size: string | number;
57
+ size: number | MantineFontSize;
57
58
  classNames: Function | Record<string, any>;
58
59
  styles: Function | Record<string, any>;
59
60
  vars: Function | Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineFontSize } from '../../../core';
2
3
  export type InputLabelStylesNames = 'label' | 'required';
3
4
  export declare const InputLabel: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  required: {
@@ -6,7 +7,7 @@ export declare const InputLabel: import("../../..").WithBoxProps<import("vue").D
6
7
  default: boolean;
7
8
  };
8
9
  size: {
9
- type: PropType<string | number>;
10
+ type: PropType<MantineFontSize | number>;
10
11
  default: undefined;
11
12
  };
12
13
  labelElement: {
@@ -45,7 +46,7 @@ export declare const InputLabel: import("../../..").WithBoxProps<import("vue").D
45
46
  default: boolean;
46
47
  };
47
48
  size: {
48
- type: PropType<string | number>;
49
+ type: PropType<MantineFontSize | number>;
49
50
  default: undefined;
50
51
  };
51
52
  labelElement: {
@@ -77,7 +78,7 @@ export declare const InputLabel: import("../../..").WithBoxProps<import("vue").D
77
78
  default: boolean;
78
79
  };
79
80
  }>> & Readonly<{}>, {
80
- size: string | number;
81
+ size: number | MantineFontSize;
81
82
  classNames: Function | Record<string, any>;
82
83
  styles: Function | Record<string, any>;
83
84
  required: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
- import { type MantineNode } from '../../../core';
2
+ import { type MantineFontSize, type MantineNode } from '../../../core';
3
3
  import { type InputWrapperOrderPart } from './get-input-offsets/get-input-offsets';
4
4
  export type InputWrapperStylesNames = 'root' | 'label' | 'required' | 'description' | 'error';
5
5
  export interface InputWrapperSlots {
@@ -54,7 +54,7 @@ export declare const InputWrapper: import("vue").DefineComponent<import("vue").E
54
54
  default: undefined;
55
55
  };
56
56
  size: {
57
- type: PropType<string | number>;
57
+ type: PropType<MantineFontSize | number>;
58
58
  default: undefined;
59
59
  };
60
60
  labelElement: {
@@ -133,7 +133,7 @@ export declare const InputWrapper: import("vue").DefineComponent<import("vue").E
133
133
  default: undefined;
134
134
  };
135
135
  size: {
136
- type: PropType<string | number>;
136
+ type: PropType<MantineFontSize | number>;
137
137
  default: undefined;
138
138
  };
139
139
  labelElement: {
@@ -165,7 +165,7 @@ export declare const InputWrapper: import("vue").DefineComponent<import("vue").E
165
165
  default: boolean;
166
166
  };
167
167
  }>> & Readonly<{}>, {
168
- size: string | number;
168
+ size: number | MantineFontSize;
169
169
  label: MantineNode;
170
170
  variant: string;
171
171
  error: MantineNode;
@@ -1,3 +1,4 @@
1
+ import { type MantineRadius, type MantineSize } from '../../core';
1
2
  import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
3
  import type { InputSlots } from '../Input/Input';
3
4
  import type { MantineNode } from '../../core';
@@ -65,7 +66,7 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
65
66
  default: undefined;
66
67
  };
67
68
  size: {
68
- type: PropType<string | number>;
69
+ type: PropType<MantineSize | (string & {}) | number>;
69
70
  default: string;
70
71
  };
71
72
  labelElement: {
@@ -153,7 +154,7 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
153
154
  default: undefined;
154
155
  };
155
156
  radius: {
156
- type: PropType<string | number>;
157
+ type: PropType<MantineRadius>;
157
158
  default: undefined;
158
159
  };
159
160
  disabled: {
@@ -256,7 +257,7 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
256
257
  default: undefined;
257
258
  };
258
259
  size: {
259
- type: PropType<string | number>;
260
+ type: PropType<MantineSize | (string & {}) | number>;
260
261
  default: string;
261
262
  };
262
263
  labelElement: {
@@ -344,7 +345,7 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
344
345
  default: undefined;
345
346
  };
346
347
  radius: {
347
- type: PropType<string | number>;
348
+ type: PropType<MantineRadius>;
348
349
  default: undefined;
349
350
  };
350
351
  disabled: {
@@ -388,9 +389,9 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
388
389
  default: undefined;
389
390
  };
390
391
  }>> & Readonly<{}>, {
391
- size: string | number;
392
+ size: number | MantineSize | (string & {});
392
393
  label: MantineNode;
393
- radius: string | number;
394
+ radius: MantineRadius;
394
395
  pointer: boolean;
395
396
  variant: "default" | "filled" | "unstyled";
396
397
  error: MantineNode;
@@ -1,6 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineSize } from '../../core';
2
3
  export declare const Kbd: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- size: PropType<string | number>;
4
+ size: PropType<MantineSize | number | (string & {})>;
4
5
  classNames: {
5
6
  type: (ObjectConstructor | FunctionConstructor)[];
6
7
  default: undefined;
@@ -20,7 +21,7 @@ export declare const Kbd: import("../..").WithBoxProps<import("vue").DefineCompo
20
21
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
22
  [key: string]: any;
22
23
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
- size: PropType<string | number>;
24
+ size: PropType<MantineSize | number | (string & {})>;
24
25
  classNames: {
25
26
  type: (ObjectConstructor | FunctionConstructor)[];
26
27
  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 MantineNode, type MantineSize, type MantineSpacing } from '../../core';
3
3
  export interface ListSlots {
4
4
  default?: () => VNodeChild;
5
5
  icon?: () => VNodeChild;
@@ -15,14 +15,14 @@ export declare const List: import("../..").WithBoxProps<{
15
15
  default: boolean;
16
16
  };
17
17
  size: {
18
- type: StringConstructor;
18
+ type: PropType<MantineSize>;
19
19
  default: undefined;
20
20
  };
21
21
  icon: {
22
22
  type: PropType<MantineNode>;
23
23
  default: undefined;
24
24
  };
25
- spacing: PropType<string | number>;
25
+ spacing: PropType<MantineSpacing>;
26
26
  center: {
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
@@ -62,7 +62,7 @@ export declare const List: import("../..").WithBoxProps<{
62
62
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
63
  [key: string]: any;
64
64
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
65
- size: string;
65
+ size: MantineSize;
66
66
  center: boolean;
67
67
  type: "ordered" | "unordered";
68
68
  classNames: Function | Record<string, any>;
@@ -92,14 +92,14 @@ export declare const List: import("../..").WithBoxProps<{
92
92
  default: boolean;
93
93
  };
94
94
  size: {
95
- type: StringConstructor;
95
+ type: PropType<MantineSize>;
96
96
  default: undefined;
97
97
  };
98
98
  icon: {
99
99
  type: PropType<MantineNode>;
100
100
  default: undefined;
101
101
  };
102
- spacing: PropType<string | number>;
102
+ spacing: PropType<MantineSpacing>;
103
103
  center: {
104
104
  type: BooleanConstructor;
105
105
  default: boolean;
@@ -139,7 +139,7 @@ export declare const List: import("../..").WithBoxProps<{
139
139
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
140
140
  [key: string]: any;
141
141
  }>, {}, {}, {}, {
142
- size: string;
142
+ size: MantineSize;
143
143
  center: boolean;
144
144
  type: "ordered" | "unordered";
145
145
  classNames: Function | Record<string, any>;
@@ -166,14 +166,14 @@ export declare const List: import("../..").WithBoxProps<{
166
166
  default: boolean;
167
167
  };
168
168
  size: {
169
- type: StringConstructor;
169
+ type: PropType<MantineSize>;
170
170
  default: undefined;
171
171
  };
172
172
  icon: {
173
173
  type: PropType<MantineNode>;
174
174
  default: undefined;
175
175
  };
176
- spacing: PropType<string | number>;
176
+ spacing: PropType<MantineSpacing>;
177
177
  center: {
178
178
  type: BooleanConstructor;
179
179
  default: boolean;
@@ -213,7 +213,7 @@ export declare const List: import("../..").WithBoxProps<{
213
213
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
214
214
  [key: string]: any;
215
215
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
216
- size: string;
216
+ size: MantineSize;
217
217
  center: boolean;
218
218
  type: "ordered" | "unordered";
219
219
  classNames: Function | Record<string, any>;
@@ -1,10 +1,11 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineColor, type MantineSize } from '../../core';
2
3
  import type { MantineLoader, MantineLoadersRecord } from './Loader.types';
3
4
  export declare const defaultLoaders: MantineLoadersRecord;
4
5
  export declare const Loader: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- size: PropType<string | number>;
6
+ size: PropType<MantineSize | (string & {}) | number>;
6
7
  color: {
7
- type: StringConstructor;
8
+ type: PropType<MantineColor>;
8
9
  default: undefined;
9
10
  };
10
11
  type: {
@@ -34,9 +35,9 @@ export declare const Loader: import("../..").WithBoxProps<import("vue").DefineCo
34
35
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
36
  [key: string]: any;
36
37
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
- size: PropType<string | number>;
38
+ size: PropType<MantineSize | (string & {}) | number>;
38
39
  color: {
39
- type: StringConstructor;
40
+ type: PropType<MantineColor>;
40
41
  default: undefined;
41
42
  };
42
43
  type: {
@@ -64,7 +65,7 @@ export declare const Loader: import("../..").WithBoxProps<import("vue").DefineCo
64
65
  default: boolean;
65
66
  };
66
67
  }>> & Readonly<{}>, {
67
- color: string;
68
+ color: MantineColor;
68
69
  type: MantineLoader;
69
70
  classNames: Function | Record<string, any>;
70
71
  styles: Function | Record<string, any>;
@@ -1,6 +1,8 @@
1
+ import { type PropType } from 'vue';
2
+ import { type MantineColor } from '../../core';
1
3
  export declare const Mark: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  color: {
3
- type: StringConstructor;
5
+ type: PropType<MantineColor>;
4
6
  default: undefined;
5
7
  };
6
8
  classNames: {
@@ -23,7 +25,7 @@ export declare const Mark: import("../..").WithBoxProps<import("vue").DefineComp
23
25
  [key: string]: any;
24
26
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
27
  color: {
26
- type: StringConstructor;
28
+ type: PropType<MantineColor>;
27
29
  default: undefined;
28
30
  };
29
31
  classNames: {
@@ -43,7 +45,7 @@ export declare const Mark: import("../..").WithBoxProps<import("vue").DefineComp
43
45
  default: boolean;
44
46
  };
45
47
  }>> & Readonly<{}>, {
46
- color: string;
48
+ color: MantineColor;
47
49
  classNames: Function | Record<string, any>;
48
50
  styles: Function | Record<string, any>;
49
51
  vars: Function | Record<string, any>;
@@ -1,4 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
+ import { type MantineSpacing } from '../../core';
2
3
  export type MarqueeStylesNames = 'root' | 'content' | 'group';
3
4
  export declare const Marquee: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
5
  reverse: {
@@ -22,7 +23,7 @@ export declare const Marquee: import("../..").WithBoxProps<import("vue").DefineC
22
23
  default: undefined;
23
24
  };
24
25
  gap: {
25
- type: PropType<string | number>;
26
+ type: PropType<MantineSpacing>;
26
27
  default: undefined;
27
28
  };
28
29
  fadeEdges: {
@@ -81,7 +82,7 @@ export declare const Marquee: import("../..").WithBoxProps<import("vue").DefineC
81
82
  default: undefined;
82
83
  };
83
84
  gap: {
84
- type: PropType<string | number>;
85
+ type: PropType<MantineSpacing>;
85
86
  default: undefined;
86
87
  };
87
88
  fadeEdges: {
@@ -124,7 +125,7 @@ export declare const Marquee: import("../..").WithBoxProps<import("vue").DefineC
124
125
  styles: Function | Record<string, any>;
125
126
  duration: number;
126
127
  mod: any;
127
- gap: string | number;
128
+ gap: MantineSpacing;
128
129
  vars: Function | Record<string, any>;
129
130
  unstyled: boolean;
130
131
  fadeEdgeColor: string;