@mantine-vue/core 2.0.0 → 2.1.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 (115) hide show
  1. package/cjs/index.cjs +3615 -2207
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +3594 -2208
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +11 -11
  6. package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +15 -9
  7. package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
  8. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
  9. package/lib/components/Alert/Alert.d.ts +14 -8
  10. package/lib/components/AppShell/AppShell.d.ts +3 -3
  11. package/lib/components/Autocomplete/Autocomplete.d.ts +15 -3
  12. package/lib/components/Badge/Badge.d.ts +13 -10
  13. package/lib/components/Blockquote/Blockquote.d.ts +14 -8
  14. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +10 -5
  15. package/lib/components/Button/Button.d.ts +1 -1
  16. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
  17. package/lib/components/Card/Card.d.ts +3 -3
  18. package/lib/components/Checkbox/Checkbox.d.ts +44 -32
  19. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +18 -11
  20. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +9 -2
  21. package/lib/components/CloseButton/CloseButton.d.ts +10 -5
  22. package/lib/components/Collapse/Collapse.d.ts +1 -1
  23. package/lib/components/Combobox/Combobox.d.ts +4 -4
  24. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +6 -2
  25. package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +970 -0
  26. package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +2 -0
  27. package/lib/components/ComboboxPopover/ComboboxPopoverTarget.d.ts +24 -0
  28. package/lib/components/ComboboxPopover/index.d.ts +5 -0
  29. package/lib/components/DataList/DataList.context.d.ts +4 -0
  30. package/lib/components/DataList/DataList.d.ts +304 -0
  31. package/lib/components/DataList/DataListItem/DataListItem.d.ts +44 -0
  32. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +44 -0
  33. package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +44 -0
  34. package/lib/components/DataList/index.d.ts +10 -0
  35. package/lib/components/Dialog/Dialog.d.ts +1 -1
  36. package/lib/components/Divider/Divider.d.ts +11 -6
  37. package/lib/components/Drawer/Drawer.d.ts +14 -9
  38. package/lib/components/EmptyState/EmptyState.context.d.ts +5 -0
  39. package/lib/components/EmptyState/EmptyState.d.ts +401 -0
  40. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +44 -0
  41. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +44 -0
  42. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +44 -0
  43. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +55 -0
  44. package/lib/components/EmptyState/index.d.ts +12 -0
  45. package/lib/components/Fieldset/Fieldset.d.ts +10 -5
  46. package/lib/components/FileButton/FileButton.d.ts +1 -1
  47. package/lib/components/FileInput/FileInput.d.ts +27 -18
  48. package/lib/components/Highlight/Highlight.d.ts +1 -1
  49. package/lib/components/HoverCard/HoverCard.context.d.ts +1 -0
  50. package/lib/components/HoverCard/use-hover-card.d.ts +1 -0
  51. package/lib/components/Indicator/Indicator.d.ts +10 -5
  52. package/lib/components/Input/Input.d.ts +29 -25
  53. package/lib/components/Input/InputWrapper/InputWrapper.d.ts +18 -11
  54. package/lib/components/InputBase/InputBase.d.ts +22 -15
  55. package/lib/components/List/List.d.ts +21 -16
  56. package/lib/components/List/ListItem/ListItem.d.ts +10 -5
  57. package/lib/components/Marquee/Marquee.d.ts +1 -1
  58. package/lib/components/Menu/Menu.d.ts +69 -30
  59. package/lib/components/Menubar/Menubar.context.d.ts +51 -0
  60. package/lib/components/Menubar/Menubar.d.ts +282 -0
  61. package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.d.ts +10 -0
  62. package/lib/components/Menubar/MenubarMenu/MenubarMenu.d.ts +49 -0
  63. package/lib/components/Menubar/MenubarTarget/MenubarTarget.d.ts +35 -0
  64. package/lib/components/Menubar/index.d.ts +10 -0
  65. package/lib/components/Modal/Modal.d.ts +14 -9
  66. package/lib/components/MultiSelect/MultiSelect.d.ts +16 -4
  67. package/lib/components/NativeSelect/NativeSelect.d.ts +25 -16
  68. package/lib/components/NavLink/NavLink.d.ts +15 -9
  69. package/lib/components/Notification/Notification.d.ts +14 -8
  70. package/lib/components/NumberInput/NumberInput.d.ts +22 -14
  71. package/lib/components/Overlay/Overlay.d.ts +1 -1
  72. package/lib/components/Pagination/Pagination.d.ts +5 -5
  73. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +5 -2
  74. package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +8 -5
  75. package/lib/components/PasswordInput/PasswordInput.d.ts +26 -18
  76. package/lib/components/PillsInput/PillsInput.d.ts +30 -21
  77. package/lib/components/PinInput/PinInput.d.ts +2 -2
  78. package/lib/components/Progress/Progress.d.ts +4 -4
  79. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
  80. package/lib/components/Radio/Radio.d.ts +42 -32
  81. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +18 -11
  82. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +8 -2
  83. package/lib/components/Rating/Rating.d.ts +17 -8
  84. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +1 -1
  85. package/lib/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  86. package/lib/components/Select/Select.d.ts +17 -5
  87. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +10 -6
  88. package/lib/components/Skeleton/Skeleton.d.ts +2 -2
  89. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +13 -4
  90. package/lib/components/Slider/Slider/Slider.d.ts +10 -4
  91. package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
  92. package/lib/components/Slider/Thumb/Thumb.d.ts +1 -1
  93. package/lib/components/Splitter/Splitter.d.ts +3 -3
  94. package/lib/components/Spoiler/Spoiler.d.ts +18 -10
  95. package/lib/components/Stepper/Stepper.d.ts +22 -10
  96. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +15 -5
  97. package/lib/components/Switch/Switch.d.ts +58 -49
  98. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +18 -11
  99. package/lib/components/Table/Table.d.ts +3 -3
  100. package/lib/components/Tabs/Tabs.d.ts +14 -14
  101. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +13 -9
  102. package/lib/components/TagsInput/TagsInput.d.ts +15 -3
  103. package/lib/components/Text/Text.d.ts +1 -1
  104. package/lib/components/Textarea/Textarea.d.ts +1 -1
  105. package/lib/components/Timeline/Timeline.d.ts +8 -8
  106. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +15 -9
  107. package/lib/components/TreeSelect/TreeSelect.d.ts +14 -5
  108. package/lib/components/index.d.ts +4 -0
  109. package/lib/core/Box/Box.d.ts +2 -2
  110. package/lib/core/index.d.ts +1 -0
  111. package/lib/core/renderable-node.d.ts +10 -0
  112. package/lib/core/utils/create-scoped-keydown-handler.d.ts +10 -0
  113. package/lib/core/utils/index.d.ts +1 -0
  114. package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
  115. package/package.json +3 -3
@@ -1,5 +1,17 @@
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 CheckboxVariant = 'filled' | 'outline';
4
+ export interface CheckboxIconSlotProps {
5
+ indeterminate?: boolean;
6
+ class?: any;
7
+ style?: any;
8
+ }
9
+ export interface CheckboxSlots {
10
+ label?: () => VNodeChild;
11
+ description?: () => VNodeChild;
12
+ error?: () => VNodeChild;
13
+ icon?: (props: CheckboxIconSlotProps) => VNodeChild;
14
+ }
3
15
  export type CheckboxStylesNames = 'icon' | 'inner' | 'input' | 'root' | 'body' | 'labelWrapper' | 'label' | 'description' | 'error';
4
16
  export declare const Checkbox: import("../..").WithBoxProps<{
5
17
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
@@ -8,7 +20,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
8
20
  default: undefined;
9
21
  };
10
22
  label: {
11
- type: PropType<any>;
23
+ type: PropType<MantineNode>;
12
24
  default: undefined;
13
25
  };
14
26
  color: {
@@ -32,11 +44,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
32
44
  default: string;
33
45
  };
34
46
  description: {
35
- type: PropType<any>;
47
+ type: PropType<MantineNode>;
36
48
  default: undefined;
37
49
  };
38
50
  error: {
39
- type: PropType<any>;
51
+ type: PropType<MantineNode | boolean>;
40
52
  default: undefined;
41
53
  };
42
54
  indeterminate: {
@@ -103,15 +115,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
103
115
  [key: string]: any;
104
116
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
105
117
  size: string | number;
118
+ label: MantineNode;
106
119
  radius: string | number;
107
120
  color: string;
108
121
  autoContrast: boolean;
109
122
  variant: CheckboxVariant;
110
- error: any;
111
- label: any;
123
+ error: MantineNode;
112
124
  classNames: Function | Record<string, any>;
113
125
  styles: Function | Record<string, any>;
114
- description: any;
126
+ description: MantineNode;
115
127
  disabled: boolean;
116
128
  mod: any;
117
129
  id: string;
@@ -126,7 +138,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
126
138
  checked: boolean;
127
139
  indeterminate: boolean;
128
140
  iconColor: string;
129
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
141
+ }, true, {}, SlotsType<CheckboxSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
130
142
  P: {};
131
143
  B: {};
132
144
  D: {};
@@ -139,7 +151,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
139
151
  default: undefined;
140
152
  };
141
153
  label: {
142
- type: PropType<any>;
154
+ type: PropType<MantineNode>;
143
155
  default: undefined;
144
156
  };
145
157
  color: {
@@ -163,11 +175,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
163
175
  default: string;
164
176
  };
165
177
  description: {
166
- type: PropType<any>;
178
+ type: PropType<MantineNode>;
167
179
  default: undefined;
168
180
  };
169
181
  error: {
170
- type: PropType<any>;
182
+ type: PropType<MantineNode | boolean>;
171
183
  default: undefined;
172
184
  };
173
185
  indeterminate: {
@@ -234,15 +246,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
234
246
  [key: string]: any;
235
247
  }>, {}, {}, {}, {
236
248
  size: string | number;
249
+ label: MantineNode;
237
250
  radius: string | number;
238
251
  color: string;
239
252
  autoContrast: boolean;
240
253
  variant: CheckboxVariant;
241
- error: any;
242
- label: any;
254
+ error: MantineNode;
243
255
  classNames: Function | Record<string, any>;
244
256
  styles: Function | Record<string, any>;
245
- description: any;
257
+ description: MantineNode;
246
258
  disabled: boolean;
247
259
  mod: any;
248
260
  id: string;
@@ -267,7 +279,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
267
279
  default: undefined;
268
280
  };
269
281
  label: {
270
- type: PropType<any>;
282
+ type: PropType<MantineNode>;
271
283
  default: undefined;
272
284
  };
273
285
  color: {
@@ -291,11 +303,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
291
303
  default: string;
292
304
  };
293
305
  description: {
294
- type: PropType<any>;
306
+ type: PropType<MantineNode>;
295
307
  default: undefined;
296
308
  };
297
309
  error: {
298
- type: PropType<any>;
310
+ type: PropType<MantineNode | boolean>;
299
311
  default: undefined;
300
312
  };
301
313
  indeterminate: {
@@ -362,15 +374,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
362
374
  [key: string]: any;
363
375
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
364
376
  size: string | number;
377
+ label: MantineNode;
365
378
  radius: string | number;
366
379
  color: string;
367
380
  autoContrast: boolean;
368
381
  variant: CheckboxVariant;
369
- error: any;
370
- label: any;
382
+ error: MantineNode;
371
383
  classNames: Function | Record<string, any>;
372
384
  styles: Function | Record<string, any>;
373
- description: any;
385
+ description: MantineNode;
374
386
  disabled: boolean;
375
387
  mod: any;
376
388
  id: string;
@@ -385,7 +397,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
385
397
  checked: boolean;
386
398
  indeterminate: boolean;
387
399
  iconColor: string;
388
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
400
+ }, {}, string, SlotsType<CheckboxSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
389
401
  classes: {
390
402
  [x: string]: string;
391
403
  };
@@ -436,15 +448,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
436
448
  default: boolean;
437
449
  };
438
450
  label: {
439
- type: PropType<any>;
451
+ type: PropType<MantineNode>;
440
452
  default: undefined;
441
453
  };
442
454
  description: {
443
- type: PropType<any>;
455
+ type: PropType<MantineNode>;
444
456
  default: undefined;
445
457
  };
446
458
  error: {
447
- type: PropType<any>;
459
+ type: PropType<MantineNode | boolean>;
448
460
  default: undefined;
449
461
  };
450
462
  classNames: {
@@ -511,15 +523,15 @@ export declare const Checkbox: import("../..").WithBoxProps<{
511
523
  default: boolean;
512
524
  };
513
525
  label: {
514
- type: PropType<any>;
526
+ type: PropType<MantineNode>;
515
527
  default: undefined;
516
528
  };
517
529
  description: {
518
- type: PropType<any>;
530
+ type: PropType<MantineNode>;
519
531
  default: undefined;
520
532
  };
521
533
  error: {
522
- type: PropType<any>;
534
+ type: PropType<MantineNode | boolean>;
523
535
  default: undefined;
524
536
  };
525
537
  classNames: {
@@ -540,14 +552,14 @@ export declare const Checkbox: import("../..").WithBoxProps<{
540
552
  };
541
553
  }>> & Readonly<{}>, {
542
554
  size: string | number;
555
+ label: MantineNode;
543
556
  name: string;
544
- error: any;
557
+ error: MantineNode;
545
558
  onChange: (value: string[]) => void;
546
- label: any;
547
559
  value: string[] | undefined;
548
560
  classNames: Function | Record<string, any>;
549
561
  styles: Function | Record<string, any>;
550
- description: any;
562
+ description: MantineNode;
551
563
  disabled: boolean;
552
564
  defaultValue: string[] | undefined;
553
565
  vars: Function | Record<string, any>;
@@ -557,7 +569,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
557
569
  readOnly: boolean;
558
570
  hiddenInputValuesSeparator: string;
559
571
  maxSelectedValues: number;
560
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
572
+ }, SlotsType<import("./CheckboxGroup/CheckboxGroup").CheckboxGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
561
573
  Indicator: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
562
574
  color: {
563
575
  type: StringConstructor;
@@ -698,7 +710,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
698
710
  checked: boolean;
699
711
  indeterminate: boolean;
700
712
  iconColor: string;
701
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
713
+ }, SlotsType<import("./CheckboxIndicator/CheckboxIndicator").CheckboxIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
702
714
  Card: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
703
715
  checked: {
704
716
  type: BooleanConstructor;
@@ -1,10 +1,17 @@
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 interface CheckboxGroupContextValue {
3
4
  value: string[];
4
5
  onChange: (eventOrValue: Event | string) => void;
5
6
  size?: string | number;
6
7
  isDisabled?: (value: string) => boolean;
7
8
  }
9
+ export interface CheckboxGroupSlots {
10
+ default?: () => VNodeChild;
11
+ label?: () => VNodeChild;
12
+ description?: () => VNodeChild;
13
+ error?: () => VNodeChild;
14
+ }
8
15
  export declare function useCheckboxGroupContext(): CheckboxGroupContextValue | null;
9
16
  export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
17
  value: {
@@ -52,15 +59,15 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
52
59
  default: boolean;
53
60
  };
54
61
  label: {
55
- type: PropType<any>;
62
+ type: PropType<MantineNode>;
56
63
  default: undefined;
57
64
  };
58
65
  description: {
59
- type: PropType<any>;
66
+ type: PropType<MantineNode>;
60
67
  default: undefined;
61
68
  };
62
69
  error: {
63
- type: PropType<any>;
70
+ type: PropType<MantineNode | boolean>;
64
71
  default: undefined;
65
72
  };
66
73
  classNames: {
@@ -127,15 +134,15 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
127
134
  default: boolean;
128
135
  };
129
136
  label: {
130
- type: PropType<any>;
137
+ type: PropType<MantineNode>;
131
138
  default: undefined;
132
139
  };
133
140
  description: {
134
- type: PropType<any>;
141
+ type: PropType<MantineNode>;
135
142
  default: undefined;
136
143
  };
137
144
  error: {
138
- type: PropType<any>;
145
+ type: PropType<MantineNode | boolean>;
139
146
  default: undefined;
140
147
  };
141
148
  classNames: {
@@ -156,14 +163,14 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
156
163
  };
157
164
  }>> & Readonly<{}>, {
158
165
  size: string | number;
166
+ label: MantineNode;
159
167
  name: string;
160
- error: any;
168
+ error: MantineNode;
161
169
  onChange: (value: string[]) => void;
162
- label: any;
163
170
  value: string[] | undefined;
164
171
  classNames: Function | Record<string, any>;
165
172
  styles: Function | Record<string, any>;
166
- description: any;
173
+ description: MantineNode;
167
174
  disabled: boolean;
168
175
  defaultValue: string[] | undefined;
169
176
  vars: Function | Record<string, any>;
@@ -173,4 +180,4 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
173
180
  readOnly: boolean;
174
181
  hiddenInputValuesSeparator: string;
175
182
  maxSelectedValues: number;
176
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
183
+ }, SlotsType<CheckboxGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,12 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
2
  export type CheckboxIndicatorVariant = 'filled' | 'outline';
3
+ export interface CheckboxIndicatorSlots {
4
+ icon?: (props: {
5
+ indeterminate?: boolean;
6
+ class?: any;
7
+ style?: any;
8
+ }) => VNodeChild;
9
+ }
3
10
  export declare const CheckboxIndicator: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
11
  color: {
5
12
  type: StringConstructor;
@@ -140,4 +147,4 @@ export declare const CheckboxIndicator: import("../../..").WithBoxProps<import("
140
147
  checked: boolean;
141
148
  indeterminate: boolean;
142
149
  iconColor: string;
143
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
150
+ }, SlotsType<CheckboxIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,5 +1,10 @@
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 CloseButtonVariant = 'subtle' | 'transparent';
4
+ export interface CloseButtonSlots {
5
+ default?: () => VNodeChild;
6
+ icon?: () => VNodeChild;
7
+ }
3
8
  export declare const CloseButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
9
  component: {
5
10
  type: StringConstructor;
@@ -13,7 +18,7 @@ export declare const CloseButton: import("vue").DefineComponent<import("vue").Ex
13
18
  };
14
19
  iconSize: PropType<string | number>;
15
20
  icon: {
16
- type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
21
+ type: PropType<MantineNode>;
17
22
  default: undefined;
18
23
  };
19
24
  variant: {
@@ -55,7 +60,7 @@ export declare const CloseButton: import("vue").DefineComponent<import("vue").Ex
55
60
  };
56
61
  iconSize: PropType<string | number>;
57
62
  icon: {
58
- type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
63
+ type: PropType<MantineNode>;
59
64
  default: undefined;
60
65
  };
61
66
  variant: {
@@ -87,9 +92,9 @@ export declare const CloseButton: import("vue").DefineComponent<import("vue").Ex
87
92
  classNames: Function | Record<string, any>;
88
93
  styles: Function | Record<string, any>;
89
94
  disabled: boolean;
90
- icon: string | Function | Record<string, any>;
95
+ icon: MantineNode;
91
96
  component: string;
92
97
  vars: Function | Record<string, any>;
93
98
  unstyled: boolean;
94
99
  __staticSelector: string;
95
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
+ }, SlotsType<CloseButtonSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -68,11 +68,11 @@ export declare const Collapse: import("../..").WithBoxProps<import("vue").Define
68
68
  default: undefined;
69
69
  };
70
70
  }>> & Readonly<{}>, {
71
+ orientation: "vertical" | "horizontal";
71
72
  transitionDuration: number;
72
73
  transitionTimingFunction: string;
73
74
  onTransitionEnd: () => void;
74
75
  onTransitionStart: () => void;
75
76
  keepMounted: boolean;
76
- orientation: "horizontal" | "vertical";
77
77
  animateOpacity: boolean;
78
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -71,7 +71,7 @@ export declare const ComboboxTarget: import("vue").DefineComponent<import("vue")
71
71
  withExpandedAttribute: boolean;
72
72
  withKeyboardNavigation: boolean;
73
73
  withAriaAttributes: boolean;
74
- targetType: "input" | "button";
74
+ targetType: "button" | "input";
75
75
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
76
76
  export declare const ComboboxEventsTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77
77
  refProp: {
@@ -125,7 +125,7 @@ export declare const ComboboxEventsTarget: import("vue").DefineComponent<import(
125
125
  withExpandedAttribute: boolean;
126
126
  withKeyboardNavigation: boolean;
127
127
  withAriaAttributes: boolean;
128
- targetType: "input" | "button";
128
+ targetType: "button" | "input";
129
129
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
130
130
  export declare const ComboboxDropdownTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
131
131
  refProp: {
@@ -429,7 +429,7 @@ export declare const Combobox: {
429
429
  withExpandedAttribute: boolean;
430
430
  withKeyboardNavigation: boolean;
431
431
  withAriaAttributes: boolean;
432
- targetType: "input" | "button";
432
+ targetType: "button" | "input";
433
433
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
434
434
  EventsTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
435
435
  refProp: {
@@ -483,7 +483,7 @@ export declare const Combobox: {
483
483
  withExpandedAttribute: boolean;
484
484
  withKeyboardNavigation: boolean;
485
485
  withAriaAttributes: boolean;
486
- targetType: "input" | "button";
486
+ targetType: "button" | "input";
487
487
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
488
488
  DropdownTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
489
489
  refProp: {
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
2
  import type { Primitive } from '../../../core';
3
3
  import type { ComboboxLikeRenderOptionInput, ComboboxParsedItem, OptionsFilter } from '../Combobox.types';
4
4
  export type OptionsData = ComboboxParsedItem<Primitive>[];
@@ -24,6 +24,10 @@ export interface OptionsDropdownProps {
24
24
  renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => any;
25
25
  scrollAreaProps?: Record<string, any>;
26
26
  }
27
+ export interface OptionsDropdownSlots {
28
+ renderOption?: (input: ComboboxLikeRenderOptionInput<any>) => VNodeChild;
29
+ nothingFound?: () => VNodeChild;
30
+ }
27
31
  export declare const OptionsDropdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
28
32
  data: {
29
33
  type: PropType<OptionsData>;
@@ -115,4 +119,4 @@ export declare const OptionsDropdown: import("vue").DefineComponent<import("vue"
115
119
  filterOptions: boolean;
116
120
  checkIconPosition: "left" | "right";
117
121
  nothingFoundMessage: any;
118
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
+ }, SlotsType<OptionsDropdownSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;