@mantine-vue/core 2.0.0 → 2.0.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 (60) hide show
  1. package/cjs/index.cjs +755 -979
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +754 -980
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +7 -7
  6. package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +14 -8
  7. package/lib/components/Alert/Alert.d.ts +14 -8
  8. package/lib/components/Autocomplete/Autocomplete.d.ts +14 -2
  9. package/lib/components/Badge/Badge.d.ts +12 -9
  10. package/lib/components/Blockquote/Blockquote.d.ts +14 -8
  11. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +10 -5
  12. package/lib/components/Checkbox/Checkbox.d.ts +44 -32
  13. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +18 -11
  14. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +9 -2
  15. package/lib/components/CloseButton/CloseButton.d.ts +10 -5
  16. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +6 -2
  17. package/lib/components/Divider/Divider.d.ts +10 -5
  18. package/lib/components/Drawer/Drawer.d.ts +14 -9
  19. package/lib/components/Fieldset/Fieldset.d.ts +10 -5
  20. package/lib/components/FileInput/FileInput.d.ts +26 -17
  21. package/lib/components/Indicator/Indicator.d.ts +10 -5
  22. package/lib/components/Input/Input.d.ts +29 -25
  23. package/lib/components/Input/InputWrapper/InputWrapper.d.ts +18 -11
  24. package/lib/components/InputBase/InputBase.d.ts +21 -14
  25. package/lib/components/List/List.d.ts +18 -13
  26. package/lib/components/List/ListItem/ListItem.d.ts +10 -5
  27. package/lib/components/Menu/Menu.d.ts +66 -27
  28. package/lib/components/Modal/Modal.d.ts +14 -9
  29. package/lib/components/MultiSelect/MultiSelect.d.ts +14 -2
  30. package/lib/components/NativeSelect/NativeSelect.d.ts +23 -14
  31. package/lib/components/NavLink/NavLink.d.ts +14 -8
  32. package/lib/components/Notification/Notification.d.ts +14 -8
  33. package/lib/components/NumberInput/NumberInput.d.ts +22 -14
  34. package/lib/components/Pagination/Pagination.d.ts +5 -5
  35. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +5 -2
  36. package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +8 -5
  37. package/lib/components/PasswordInput/PasswordInput.d.ts +25 -17
  38. package/lib/components/PillsInput/PillsInput.d.ts +30 -21
  39. package/lib/components/Radio/Radio.d.ts +42 -32
  40. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +18 -11
  41. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +8 -2
  42. package/lib/components/Rating/Rating.d.ts +17 -8
  43. package/lib/components/Select/Select.d.ts +14 -2
  44. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +9 -5
  45. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +11 -2
  46. package/lib/components/Slider/Slider/Slider.d.ts +8 -2
  47. package/lib/components/Spoiler/Spoiler.d.ts +18 -10
  48. package/lib/components/Stepper/Stepper.d.ts +16 -4
  49. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +12 -2
  50. package/lib/components/Switch/Switch.d.ts +58 -49
  51. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +18 -11
  52. package/lib/components/Tabs/Tabs.d.ts +7 -7
  53. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +12 -8
  54. package/lib/components/TagsInput/TagsInput.d.ts +14 -2
  55. package/lib/components/Timeline/Timeline.d.ts +7 -7
  56. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +14 -8
  57. package/lib/components/TreeSelect/TreeSelect.d.ts +11 -2
  58. package/lib/core/index.d.ts +1 -0
  59. package/lib/core/renderable-node.d.ts +10 -0
  60. package/package.json +3 -3
@@ -1,5 +1,14 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
2
3
  import { type NativeSelectData } from './get-parsed-data/get-parsed-data';
4
+ export interface NativeSelectSlots {
5
+ default?: () => VNodeChild;
6
+ label?: () => VNodeChild;
7
+ description?: () => VNodeChild;
8
+ error?: () => VNodeChild;
9
+ leftSection?: () => VNodeChild;
10
+ rightSection?: () => VNodeChild;
11
+ }
3
12
  export interface NativeSelectProps {
4
13
  data?: NativeSelectData<any>;
5
14
  size?: string | number;
@@ -33,11 +42,11 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
33
42
  default: undefined;
34
43
  };
35
44
  error: {
36
- type: PropType<any>;
45
+ type: PropType<MantineNode | boolean>;
37
46
  default: undefined;
38
47
  };
39
48
  rightSection: {
40
- type: PropType<any>;
49
+ type: PropType<MantineNode>;
41
50
  default: undefined;
42
51
  };
43
52
  rightSectionPointerEvents: {
@@ -45,11 +54,11 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
45
54
  default: undefined;
46
55
  };
47
56
  label: {
48
- type: PropType<any>;
57
+ type: PropType<MantineNode>;
49
58
  default: undefined;
50
59
  };
51
60
  description: {
52
- type: PropType<any>;
61
+ type: PropType<MantineNode>;
53
62
  default: undefined;
54
63
  };
55
64
  required: {
@@ -120,11 +129,11 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
120
129
  default: undefined;
121
130
  };
122
131
  error: {
123
- type: PropType<any>;
132
+ type: PropType<MantineNode | boolean>;
124
133
  default: undefined;
125
134
  };
126
135
  rightSection: {
127
- type: PropType<any>;
136
+ type: PropType<MantineNode>;
128
137
  default: undefined;
129
138
  };
130
139
  rightSectionPointerEvents: {
@@ -132,11 +141,11 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
132
141
  default: undefined;
133
142
  };
134
143
  label: {
135
- type: PropType<any>;
144
+ type: PropType<MantineNode>;
136
145
  default: undefined;
137
146
  };
138
147
  description: {
139
- type: PropType<any>;
148
+ type: PropType<MantineNode>;
140
149
  default: undefined;
141
150
  };
142
151
  required: {
@@ -200,21 +209,21 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
200
209
  radius: string | number;
201
210
  name: string;
202
211
  variant: "default" | "filled" | "unstyled";
203
- error: any;
212
+ error: MantineNode;
204
213
  onChange: (event: Event) => void;
205
214
  data: NativeSelectData<any>;
206
215
  form: string;
207
- label: any;
216
+ label: MantineNode;
208
217
  value: string;
209
218
  classNames: Function | Record<string, any>;
210
219
  styles: Function | Record<string, any>;
211
220
  required: boolean;
212
- description: any;
221
+ description: MantineNode;
213
222
  disabled: boolean;
214
223
  defaultValue: string;
215
224
  id: string;
216
225
  vars: Function | Record<string, any>;
217
226
  unstyled: boolean;
218
- rightSection: any;
227
+ rightSection: MantineNode;
219
228
  rightSectionPointerEvents: string;
220
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
229
+ }, SlotsType<NativeSelectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,12 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode, type SectionSlots } from '../../core';
2
3
  export type NavLinkStylesNames = 'root' | 'section' | 'body' | 'label' | 'description' | 'chevron' | 'collapse' | 'children';
3
4
  export type NavLinkVariant = 'filled' | 'light' | 'subtle';
5
+ export interface NavLinkSlots extends SectionSlots {
6
+ default?: () => VNodeChild;
7
+ label?: () => VNodeChild;
8
+ description?: () => VNodeChild;
9
+ }
4
10
  export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
11
  component: {
6
12
  type: StringConstructor;
@@ -11,7 +17,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
11
17
  default: undefined;
12
18
  };
13
19
  description: {
14
- type: PropType<any>;
20
+ type: PropType<MantineNode>;
15
21
  default: undefined;
16
22
  };
17
23
  leftSection: {
@@ -19,7 +25,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
19
25
  default: undefined;
20
26
  };
21
27
  rightSection: {
22
- type: PropType<any>;
28
+ type: PropType<MantineNode>;
23
29
  default: undefined;
24
30
  };
25
31
  active: {
@@ -102,7 +108,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
102
108
  default: undefined;
103
109
  };
104
110
  description: {
105
- type: PropType<any>;
111
+ type: PropType<MantineNode>;
106
112
  default: undefined;
107
113
  };
108
114
  leftSection: {
@@ -110,7 +116,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
110
116
  default: undefined;
111
117
  };
112
118
  rightSection: {
113
- type: PropType<any>;
119
+ type: PropType<MantineNode>;
114
120
  default: undefined;
115
121
  };
116
122
  active: {
@@ -189,7 +195,7 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
189
195
  label: any;
190
196
  classNames: Function | Record<string, any>;
191
197
  styles: Function | Record<string, any>;
192
- description: any;
198
+ description: MantineNode;
193
199
  opened: boolean;
194
200
  disabled: boolean;
195
201
  active: boolean;
@@ -199,9 +205,9 @@ export declare const NavLink: import("../..").WithBoxProps<import("vue").DefineC
199
205
  vars: Function | Record<string, any>;
200
206
  unstyled: boolean;
201
207
  leftSection: any;
202
- rightSection: any;
208
+ rightSection: MantineNode;
203
209
  childrenOffset: string | number;
204
210
  noWrap: boolean;
205
211
  defaultOpened: boolean;
206
212
  disableRightSectionRotation: boolean;
207
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
213
+ }, SlotsType<NavLinkSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,5 +1,11 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
2
3
  export type NotificationStylesNames = 'root' | 'icon' | 'loader' | 'body' | 'title' | 'description' | 'closeButton';
4
+ export interface NotificationSlots {
5
+ default?: () => VNodeChild;
6
+ icon?: () => VNodeChild;
7
+ title?: () => VNodeChild;
8
+ }
3
9
  export declare const Notification: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
10
  onClose: {
5
11
  type: PropType<() => void>;
@@ -14,11 +20,11 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
14
20
  default: undefined;
15
21
  };
16
22
  icon: {
17
- type: PropType<any>;
23
+ type: PropType<MantineNode>;
18
24
  default: undefined;
19
25
  };
20
26
  title: {
21
- type: PropType<any>;
27
+ type: PropType<MantineNode>;
22
28
  default: undefined;
23
29
  };
24
30
  loading: {
@@ -77,11 +83,11 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
77
83
  default: undefined;
78
84
  };
79
85
  icon: {
80
- type: PropType<any>;
86
+ type: PropType<MantineNode>;
81
87
  default: undefined;
82
88
  };
83
89
  title: {
84
- type: PropType<any>;
90
+ type: PropType<MantineNode>;
85
91
  default: undefined;
86
92
  };
87
93
  loading: {
@@ -128,11 +134,11 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
128
134
  radius: string | number;
129
135
  color: string;
130
136
  onClose: () => void;
131
- title: any;
137
+ title: MantineNode;
132
138
  classNames: Function | Record<string, any>;
133
139
  styles: Function | Record<string, any>;
134
140
  mod: any;
135
- icon: any;
141
+ icon: MantineNode;
136
142
  vars: Function | Record<string, any>;
137
143
  unstyled: boolean;
138
144
  withBorder: boolean;
@@ -140,4 +146,4 @@ export declare const Notification: import("../..").WithBoxProps<import("vue").De
140
146
  loaderProps: Record<string, any>;
141
147
  withCloseButton: boolean;
142
148
  closeButtonProps: Record<string, any>;
143
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
149
+ }, SlotsType<NotificationSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,4 +1,12 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
3
+ export interface NumberInputSlots {
4
+ label?: () => VNodeChild;
5
+ description?: () => VNodeChild;
6
+ error?: () => VNodeChild;
7
+ leftSection?: () => VNodeChild;
8
+ rightSection?: () => VNodeChild;
9
+ }
2
10
  import { type ThousandsGroupStyle } from '../NumberFormatter';
3
11
  export interface NumberInputHandlers {
4
12
  increment: () => void;
@@ -142,7 +150,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
142
150
  default: boolean;
143
151
  };
144
152
  rightSection: {
145
- type: PropType<any>;
153
+ type: PropType<MantineNode>;
146
154
  default: undefined;
147
155
  };
148
156
  rightSectionWidth: {
@@ -154,15 +162,15 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
154
162
  default: undefined;
155
163
  };
156
164
  label: {
157
- type: PropType<any>;
165
+ type: PropType<MantineNode>;
158
166
  default: undefined;
159
167
  };
160
168
  description: {
161
- type: PropType<any>;
169
+ type: PropType<MantineNode>;
162
170
  default: undefined;
163
171
  };
164
172
  error: {
165
- type: PropType<any>;
173
+ type: PropType<MantineNode | boolean>;
166
174
  default: undefined;
167
175
  };
168
176
  required: {
@@ -331,7 +339,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
331
339
  default: boolean;
332
340
  };
333
341
  rightSection: {
334
- type: PropType<any>;
342
+ type: PropType<MantineNode>;
335
343
  default: undefined;
336
344
  };
337
345
  rightSectionWidth: {
@@ -343,15 +351,15 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
343
351
  default: undefined;
344
352
  };
345
353
  label: {
346
- type: PropType<any>;
354
+ type: PropType<MantineNode>;
347
355
  default: undefined;
348
356
  };
349
357
  description: {
350
- type: PropType<any>;
358
+ type: PropType<MantineNode>;
351
359
  default: undefined;
352
360
  };
353
361
  error: {
354
- type: PropType<any>;
362
+ type: PropType<MantineNode | boolean>;
355
363
  default: undefined;
356
364
  };
357
365
  required: {
@@ -385,21 +393,21 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
385
393
  }>> & Readonly<{}>, {
386
394
  size: string | number;
387
395
  max: number | bigint | undefined;
388
- error: any;
396
+ error: MantineNode;
389
397
  onChange: (value: NumberInputValue) => void;
390
- label: any;
398
+ label: MantineNode;
391
399
  value: NumberInputValue | undefined;
392
400
  classNames: Function | Record<string, any>;
393
401
  styles: Function | Record<string, any>;
394
402
  required: boolean;
395
- description: any;
403
+ description: MantineNode;
396
404
  disabled: boolean;
397
405
  defaultValue: NumberInputValue | undefined;
398
406
  startValue: number | bigint;
399
407
  step: number | bigint;
400
408
  vars: Function | Record<string, any>;
401
409
  unstyled: boolean;
402
- rightSection: any;
410
+ rightSection: MantineNode;
403
411
  min: number | bigint | undefined;
404
412
  decimalScale: number;
405
413
  fixedDecimalScale: boolean;
@@ -434,4 +442,4 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
434
442
  selectAllOnFocus: boolean;
435
443
  onMinReached: () => void;
436
444
  onMaxReached: () => void;
437
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
445
+ }, SlotsType<NumberInputSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -604,7 +604,7 @@ export declare const Pagination: {
604
604
  };
605
605
  }>> & Readonly<{}>, {
606
606
  icon: any;
607
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
607
+ }, import("vue").SlotsType<import("./PaginationDots/PaginationDots").PaginationDotsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
608
608
  First: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
609
609
  icon: {
610
610
  type: PropType<any>;
@@ -628,7 +628,7 @@ export declare const Pagination: {
628
628
  }>> & Readonly<{}>, {
629
629
  disabled: boolean;
630
630
  icon: any;
631
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
631
+ }, import("vue").SlotsType<import("./PaginationEdges/PaginationEdges").PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
632
632
  Last: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
633
633
  icon: {
634
634
  type: PropType<any>;
@@ -652,7 +652,7 @@ export declare const Pagination: {
652
652
  }>> & Readonly<{}>, {
653
653
  disabled: boolean;
654
654
  icon: any;
655
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
655
+ }, import("vue").SlotsType<import("./PaginationEdges/PaginationEdges").PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
656
656
  Next: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
657
657
  icon: {
658
658
  type: PropType<any>;
@@ -676,7 +676,7 @@ export declare const Pagination: {
676
676
  }>> & Readonly<{}>, {
677
677
  disabled: boolean;
678
678
  icon: any;
679
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
679
+ }, import("vue").SlotsType<import("./PaginationEdges/PaginationEdges").PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
680
680
  Previous: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
681
681
  icon: {
682
682
  type: PropType<any>;
@@ -700,7 +700,7 @@ export declare const Pagination: {
700
700
  }>> & Readonly<{}>, {
701
701
  disabled: boolean;
702
702
  icon: any;
703
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
703
+ }, import("vue").SlotsType<import("./PaginationEdges/PaginationEdges").PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
704
704
  Items: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
705
705
  [key: string]: any;
706
706
  }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,7 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ export interface PaginationDotsSlots {
3
+ icon?: () => VNodeChild;
4
+ }
2
5
  export declare const PaginationDots: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
6
  icon: {
4
7
  type: PropType<any>;
@@ -13,4 +16,4 @@ export declare const PaginationDots: import("../../..").WithBoxProps<import("vue
13
16
  };
14
17
  }>> & Readonly<{}>, {
15
18
  icon: any;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
19
+ }, SlotsType<PaginationDotsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,4 +1,7 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ export interface PaginationEdgeSlots {
3
+ icon?: () => VNodeChild;
4
+ }
2
5
  export declare const PaginationNext: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
6
  icon: {
4
7
  type: PropType<any>;
@@ -22,7 +25,7 @@ export declare const PaginationNext: import("../../..").WithBoxProps<import("vue
22
25
  }>> & Readonly<{}>, {
23
26
  disabled: boolean;
24
27
  icon: any;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
28
+ }, SlotsType<PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
26
29
  export declare const PaginationPrevious: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
30
  icon: {
28
31
  type: PropType<any>;
@@ -46,7 +49,7 @@ export declare const PaginationPrevious: import("../../..").WithBoxProps<import(
46
49
  }>> & Readonly<{}>, {
47
50
  disabled: boolean;
48
51
  icon: any;
49
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
52
+ }, SlotsType<PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
50
53
  export declare const PaginationFirst: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
51
54
  icon: {
52
55
  type: PropType<any>;
@@ -70,7 +73,7 @@ export declare const PaginationFirst: import("../../..").WithBoxProps<import("vu
70
73
  }>> & Readonly<{}>, {
71
74
  disabled: boolean;
72
75
  icon: any;
73
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
76
+ }, SlotsType<PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
74
77
  export declare const PaginationLast: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
75
78
  icon: {
76
79
  type: PropType<any>;
@@ -94,4 +97,4 @@ export declare const PaginationLast: import("../../..").WithBoxProps<import("vue
94
97
  }>> & Readonly<{}>, {
95
98
  disabled: boolean;
96
99
  icon: any;
97
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
100
+ }, SlotsType<PaginationEdgeSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,4 +1,12 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
3
+ export interface PasswordInputSlots {
4
+ label?: () => VNodeChild;
5
+ description?: () => VNodeChild;
6
+ error?: () => VNodeChild;
7
+ leftSection?: () => VNodeChild;
8
+ rightSection?: () => VNodeChild;
9
+ }
2
10
  export type PasswordInputStylesNames = 'root' | 'visibilityToggle' | 'innerInput' | 'input' | 'wrapper' | 'section' | 'bottomSection' | 'label' | 'required' | 'description' | 'error';
3
11
  export declare const PasswordInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
12
  visibilityToggleIcon: {
@@ -22,15 +30,15 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
22
30
  default: undefined;
23
31
  };
24
32
  label: {
25
- type: PropType<any>;
33
+ type: PropType<MantineNode>;
26
34
  default: undefined;
27
35
  };
28
36
  description: {
29
- type: PropType<any>;
37
+ type: PropType<MantineNode>;
30
38
  default: undefined;
31
39
  };
32
40
  error: {
33
- type: PropType<any>;
41
+ type: PropType<MantineNode | boolean>;
34
42
  default: undefined;
35
43
  };
36
44
  required: {
@@ -86,7 +94,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
86
94
  default: boolean;
87
95
  };
88
96
  leftSection: {
89
- type: PropType<any>;
97
+ type: PropType<MantineNode>;
90
98
  default: undefined;
91
99
  };
92
100
  leftSectionWidth: {
@@ -102,7 +110,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
102
110
  default: undefined;
103
111
  };
104
112
  rightSection: {
105
- type: PropType<any>;
113
+ type: PropType<MantineNode>;
106
114
  default: undefined;
107
115
  };
108
116
  rightSectionWidth: {
@@ -161,15 +169,15 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
161
169
  default: undefined;
162
170
  };
163
171
  label: {
164
- type: PropType<any>;
172
+ type: PropType<MantineNode>;
165
173
  default: undefined;
166
174
  };
167
175
  description: {
168
- type: PropType<any>;
176
+ type: PropType<MantineNode>;
169
177
  default: undefined;
170
178
  };
171
179
  error: {
172
- type: PropType<any>;
180
+ type: PropType<MantineNode | boolean>;
173
181
  default: undefined;
174
182
  };
175
183
  required: {
@@ -225,7 +233,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
225
233
  default: boolean;
226
234
  };
227
235
  leftSection: {
228
- type: PropType<any>;
236
+ type: PropType<MantineNode>;
229
237
  default: undefined;
230
238
  };
231
239
  leftSectionWidth: {
@@ -241,7 +249,7 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
241
249
  default: undefined;
242
250
  };
243
251
  rightSection: {
244
- type: PropType<any>;
252
+ type: PropType<MantineNode>;
245
253
  default: undefined;
246
254
  };
247
255
  rightSectionWidth: {
@@ -280,19 +288,19 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
280
288
  size: string | number;
281
289
  radius: string | number;
282
290
  variant: "default" | "filled" | "unstyled";
283
- error: any;
284
- label: any;
291
+ error: MantineNode;
292
+ label: MantineNode;
285
293
  classNames: Function | Record<string, any>;
286
294
  styles: Function | Record<string, any>;
287
295
  required: boolean;
288
- description: any;
296
+ description: MantineNode;
289
297
  visible: boolean;
290
298
  disabled: boolean;
291
299
  id: string;
292
300
  vars: Function | Record<string, any>;
293
301
  unstyled: boolean;
294
- leftSection: any;
295
- rightSection: any;
302
+ leftSection: MantineNode;
303
+ rightSection: MantineNode;
296
304
  withAsterisk: boolean;
297
305
  labelProps: Record<string, any>;
298
306
  descriptionProps: Record<string, any>;
@@ -311,4 +319,4 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
311
319
  visibilityToggleButtonProps: Record<string, any>;
312
320
  defaultVisible: boolean;
313
321
  onVisibilityChange: (visible: boolean) => void;
314
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
322
+ }, SlotsType<PasswordInputSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;