@mantine-vue/core 2.3.1 → 3.0.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 (84) hide show
  1. package/cjs/index.cjs +1718 -292
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +1713 -293
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +24 -4
  6. package/lib/components/Accordion/index.d.ts +1 -1
  7. package/lib/components/AngleSlider/AngleSlider.d.ts +15 -2
  8. package/lib/components/Autocomplete/Autocomplete.d.ts +3 -1
  9. package/lib/components/Cascader/Cascader.d.ts +315 -0
  10. package/lib/components/Cascader/cascader-utils.d.ts +11 -0
  11. package/lib/components/Cascader/index.d.ts +4 -0
  12. package/lib/components/Checkbox/Checkbox.d.ts +91 -9
  13. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +15 -2
  14. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +14 -2
  15. package/lib/components/Chip/Chip.d.ts +46 -7
  16. package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +14 -2
  17. package/lib/components/ColorInput/ColorInput.d.ts +9 -3
  18. package/lib/components/ColorInput/index.d.ts +1 -1
  19. package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +26 -4
  20. package/lib/components/ColorPicker/ColorPicker.d.ts +14 -2
  21. package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +26 -4
  22. package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +26 -4
  23. package/lib/components/Combobox/Combobox.d.ts +64 -4
  24. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +1 -0
  25. package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +49 -7
  26. package/lib/components/Drawer/Drawer.d.ts +33 -0
  27. package/lib/components/FileButton/FileButton.d.ts +17 -4
  28. package/lib/components/FileInput/FileInput.d.ts +14 -2
  29. package/lib/components/FloatingWindow/FloatingWindow.context.d.ts +23 -0
  30. package/lib/components/FloatingWindow/FloatingWindow.d.ts +37 -0
  31. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +27 -0
  32. package/lib/components/FloatingWindow/index.d.ts +2 -0
  33. package/lib/components/Input/Input.d.ts +74 -5
  34. package/lib/components/InputBase/InputBase.d.ts +41 -2
  35. package/lib/components/InputBase/index.d.ts +1 -1
  36. package/lib/components/JsonInput/JsonInput.d.ts +14 -2
  37. package/lib/components/MaskInput/MaskInput.d.ts +45 -2
  38. package/lib/components/Menu/Menu.context.d.ts +1 -0
  39. package/lib/components/Menu/Menu.d.ts +82 -4
  40. package/lib/components/Modal/Modal.d.ts +33 -0
  41. package/lib/components/MultiSelect/MultiSelect.d.ts +9 -1
  42. package/lib/components/MultiSelect/index.d.ts +1 -1
  43. package/lib/components/NativeSelect/NativeSelect.d.ts +19 -6
  44. package/lib/components/NumberInput/NumberInput.d.ts +14 -2
  45. package/lib/components/PasswordInput/PasswordInput.d.ts +45 -2
  46. package/lib/components/PasswordInput/index.d.ts +1 -1
  47. package/lib/components/PillsInput/PillsInput.d.ts +41 -2
  48. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +41 -2
  49. package/lib/components/PinInput/PinInput.d.ts +15 -2
  50. package/lib/components/Radio/Radio.d.ts +124 -9
  51. package/lib/components/Radio/RadioCard/RadioCard.d.ts +33 -2
  52. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +14 -2
  53. package/lib/components/Rating/Rating.d.ts +14 -2
  54. package/lib/components/ScrollArea/ScrollArea.d.ts +25 -0
  55. package/lib/components/Scroller/Scroller.d.ts +9 -2
  56. package/lib/components/Scroller/index.d.ts +1 -1
  57. package/lib/components/SegmentedControl/SegmentedControl.d.ts +14 -2
  58. package/lib/components/Select/Select.d.ts +4 -2
  59. package/lib/components/Select/index.d.ts +1 -1
  60. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +14 -2
  61. package/lib/components/Slider/Slider/Slider.d.ts +14 -2
  62. package/lib/components/Slider/index.d.ts +2 -1
  63. package/lib/components/Splitter/Splitter.d.ts +8 -3
  64. package/lib/components/Splitter/index.d.ts +1 -1
  65. package/lib/components/Stepper/Stepper.d.ts +2 -1
  66. package/lib/components/Switch/Switch.d.ts +67 -13
  67. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +15 -3
  68. package/lib/components/Tabs/Tabs.context.d.ts +0 -1
  69. package/lib/components/Tabs/Tabs.d.ts +0 -15
  70. package/lib/components/TagsInput/TagsInput.d.ts +9 -1
  71. package/lib/components/TagsInput/index.d.ts +1 -1
  72. package/lib/components/TextInput/TextInput.d.ts +36 -2
  73. package/lib/components/Textarea/Textarea.d.ts +39 -4
  74. package/lib/components/Textarea/index.d.ts +1 -0
  75. package/lib/components/Timeline/Timeline.d.ts +19 -1
  76. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +20 -1
  77. package/lib/components/Tree/Tree.d.ts +7 -2
  78. package/lib/components/Tree/index.d.ts +1 -1
  79. package/lib/components/TreeSelect/TreeSelect.d.ts +5 -2
  80. package/lib/components/TreeSelect/index.d.ts +1 -1
  81. package/lib/components/index.d.ts +1 -0
  82. package/package.json +3 -3
  83. package/styles.css +471 -129
  84. package/styles.layer.css +471 -129
@@ -75,10 +75,22 @@ export declare const Checkbox: import("../..").WithBoxProps<{
75
75
  type: BooleanConstructor;
76
76
  default: boolean;
77
77
  };
78
+ modelValue: {
79
+ type: BooleanConstructor;
80
+ default: undefined;
81
+ };
78
82
  checked: {
79
83
  type: BooleanConstructor;
80
84
  default: undefined;
81
85
  };
86
+ defaultChecked: {
87
+ type: BooleanConstructor;
88
+ default: undefined;
89
+ };
90
+ onChange: {
91
+ type: PropType<(checked: boolean) => void>;
92
+ default: undefined;
93
+ };
82
94
  disabled: {
83
95
  type: BooleanConstructor;
84
96
  default: boolean;
@@ -111,9 +123,13 @@ export declare const Checkbox: import("../..").WithBoxProps<{
111
123
  type: BooleanConstructor;
112
124
  default: boolean;
113
125
  };
114
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
126
+ }>> & Readonly<{
127
+ onChange?: ((...args: any[]) => any) | undefined;
128
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
129
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
130
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
115
131
  [key: string]: any;
116
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
132
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], import("vue").PublicProps, {
117
133
  size: MantineSize | (string & {});
118
134
  label: MantineNode;
119
135
  radius: MantineRadius;
@@ -121,6 +137,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
121
137
  autoContrast: boolean;
122
138
  variant: CheckboxVariant;
123
139
  error: MantineNode;
140
+ onChange: (checked: boolean) => void;
124
141
  classNames: Function | Record<string, any>;
125
142
  styles: Function | Record<string, any>;
126
143
  description: MantineNode;
@@ -131,12 +148,14 @@ export declare const Checkbox: import("../..").WithBoxProps<{
131
148
  vars: Function | Record<string, any>;
132
149
  unstyled: boolean;
133
150
  labelPosition: "left" | "right";
151
+ modelValue: boolean;
134
152
  withErrorStyles: boolean;
135
153
  wrapperProps: Record<string, any>;
136
154
  rootRef: any;
137
155
  readOnly: boolean;
138
156
  checked: boolean;
139
157
  indeterminate: boolean;
158
+ defaultChecked: boolean;
140
159
  iconColor: string;
141
160
  }, true, {}, SlotsType<CheckboxSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
142
161
  P: {};
@@ -206,10 +225,22 @@ export declare const Checkbox: import("../..").WithBoxProps<{
206
225
  type: BooleanConstructor;
207
226
  default: boolean;
208
227
  };
228
+ modelValue: {
229
+ type: BooleanConstructor;
230
+ default: undefined;
231
+ };
209
232
  checked: {
210
233
  type: BooleanConstructor;
211
234
  default: undefined;
212
235
  };
236
+ defaultChecked: {
237
+ type: BooleanConstructor;
238
+ default: undefined;
239
+ };
240
+ onChange: {
241
+ type: PropType<(checked: boolean) => void>;
242
+ default: undefined;
243
+ };
213
244
  disabled: {
214
245
  type: BooleanConstructor;
215
246
  default: boolean;
@@ -242,7 +273,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
242
273
  type: BooleanConstructor;
243
274
  default: boolean;
244
275
  };
245
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
276
+ }>> & Readonly<{
277
+ onChange?: ((...args: any[]) => any) | undefined;
278
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
279
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
280
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
246
281
  [key: string]: any;
247
282
  }>, {}, {}, {}, {
248
283
  size: MantineSize | (string & {});
@@ -252,6 +287,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
252
287
  autoContrast: boolean;
253
288
  variant: CheckboxVariant;
254
289
  error: MantineNode;
290
+ onChange: (checked: boolean) => void;
255
291
  classNames: Function | Record<string, any>;
256
292
  styles: Function | Record<string, any>;
257
293
  description: MantineNode;
@@ -262,12 +298,14 @@ export declare const Checkbox: import("../..").WithBoxProps<{
262
298
  vars: Function | Record<string, any>;
263
299
  unstyled: boolean;
264
300
  labelPosition: "left" | "right";
301
+ modelValue: boolean;
265
302
  withErrorStyles: boolean;
266
303
  wrapperProps: Record<string, any>;
267
304
  rootRef: any;
268
305
  readOnly: boolean;
269
306
  checked: boolean;
270
307
  indeterminate: boolean;
308
+ defaultChecked: boolean;
271
309
  iconColor: string;
272
310
  }>;
273
311
  __isFragment?: never;
@@ -334,10 +372,22 @@ export declare const Checkbox: import("../..").WithBoxProps<{
334
372
  type: BooleanConstructor;
335
373
  default: boolean;
336
374
  };
375
+ modelValue: {
376
+ type: BooleanConstructor;
377
+ default: undefined;
378
+ };
337
379
  checked: {
338
380
  type: BooleanConstructor;
339
381
  default: undefined;
340
382
  };
383
+ defaultChecked: {
384
+ type: BooleanConstructor;
385
+ default: undefined;
386
+ };
387
+ onChange: {
388
+ type: PropType<(checked: boolean) => void>;
389
+ default: undefined;
390
+ };
341
391
  disabled: {
342
392
  type: BooleanConstructor;
343
393
  default: boolean;
@@ -370,9 +420,13 @@ export declare const Checkbox: import("../..").WithBoxProps<{
370
420
  type: BooleanConstructor;
371
421
  default: boolean;
372
422
  };
373
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
423
+ }>> & Readonly<{
424
+ onChange?: ((...args: any[]) => any) | undefined;
425
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
426
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
427
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
374
428
  [key: string]: any;
375
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
429
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", {
376
430
  size: MantineSize | (string & {});
377
431
  label: MantineNode;
378
432
  radius: MantineRadius;
@@ -380,6 +434,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
380
434
  autoContrast: boolean;
381
435
  variant: CheckboxVariant;
382
436
  error: MantineNode;
437
+ onChange: (checked: boolean) => void;
383
438
  classNames: Function | Record<string, any>;
384
439
  styles: Function | Record<string, any>;
385
440
  description: MantineNode;
@@ -390,12 +445,14 @@ export declare const Checkbox: import("../..").WithBoxProps<{
390
445
  vars: Function | Record<string, any>;
391
446
  unstyled: boolean;
392
447
  labelPosition: "left" | "right";
448
+ modelValue: boolean;
393
449
  withErrorStyles: boolean;
394
450
  wrapperProps: Record<string, any>;
395
451
  rootRef: any;
396
452
  readOnly: boolean;
397
453
  checked: boolean;
398
454
  indeterminate: boolean;
455
+ defaultChecked: boolean;
399
456
  iconColor: string;
400
457
  }, {}, string, SlotsType<CheckboxSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
401
458
  classes: {
@@ -403,6 +460,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
403
460
  };
404
461
  varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
405
462
  Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
463
+ modelValue: {
464
+ type: PropType<string[] | undefined>;
465
+ default: undefined;
466
+ };
406
467
  value: {
407
468
  type: PropType<string[] | undefined>;
408
469
  default: undefined;
@@ -477,7 +538,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
477
538
  };
478
539
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
479
540
  [key: string]: any;
480
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
541
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
542
+ modelValue: {
543
+ type: PropType<string[] | undefined>;
544
+ default: undefined;
545
+ };
481
546
  value: {
482
547
  type: PropType<string[] | undefined>;
483
548
  default: undefined;
@@ -550,7 +615,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
550
615
  type: BooleanConstructor;
551
616
  default: boolean;
552
617
  };
553
- }>> & Readonly<{}>, {
618
+ }>> & Readonly<{
619
+ onChange?: ((...args: any[]) => any) | undefined;
620
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
621
+ }>, {
554
622
  size: MantineSize | (string & {});
555
623
  label: MantineNode;
556
624
  name: string;
@@ -564,6 +632,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
564
632
  defaultValue: string[] | undefined;
565
633
  vars: Function | Record<string, any>;
566
634
  unstyled: boolean;
635
+ modelValue: string[] | undefined;
567
636
  hiddenInputProps: Record<string, any>;
568
637
  wrapperProps: Record<string, any>;
569
638
  readOnly: boolean;
@@ -712,6 +781,10 @@ export declare const Checkbox: import("../..").WithBoxProps<{
712
781
  iconColor: string;
713
782
  }, SlotsType<import("./CheckboxIndicator/CheckboxIndicator").CheckboxIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
714
783
  Card: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
784
+ modelValue: {
785
+ type: BooleanConstructor;
786
+ default: undefined;
787
+ };
715
788
  checked: {
716
789
  type: BooleanConstructor;
717
790
  default: undefined;
@@ -758,7 +831,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
758
831
  };
759
832
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
760
833
  [key: string]: any;
761
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
834
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
835
+ modelValue: {
836
+ type: BooleanConstructor;
837
+ default: undefined;
838
+ };
762
839
  checked: {
763
840
  type: BooleanConstructor;
764
841
  default: undefined;
@@ -803,7 +880,11 @@ export declare const Checkbox: import("../..").WithBoxProps<{
803
880
  type: BooleanConstructor;
804
881
  default: boolean;
805
882
  };
806
- }>> & Readonly<{}>, {
883
+ }>> & Readonly<{
884
+ onChange?: ((...args: any[]) => any) | undefined;
885
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
886
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
887
+ }>, {
807
888
  radius: MantineRadius;
808
889
  onChange: (value: boolean) => void;
809
890
  value: string;
@@ -813,6 +894,7 @@ export declare const Checkbox: import("../..").WithBoxProps<{
813
894
  vars: Function | Record<string, any>;
814
895
  unstyled: boolean;
815
896
  withBorder: boolean;
897
+ modelValue: boolean;
816
898
  checked: boolean;
817
899
  defaultChecked: boolean;
818
900
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -5,6 +5,10 @@ export interface CheckboxCardContextValue {
5
5
  }
6
6
  export declare function useCheckboxCardContext(): CheckboxCardContextValue | null;
7
7
  export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ modelValue: {
9
+ type: BooleanConstructor;
10
+ default: undefined;
11
+ };
8
12
  checked: {
9
13
  type: BooleanConstructor;
10
14
  default: undefined;
@@ -51,7 +55,11 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
51
55
  };
52
56
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
57
  [key: string]: any;
54
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
+ modelValue: {
60
+ type: BooleanConstructor;
61
+ default: undefined;
62
+ };
55
63
  checked: {
56
64
  type: BooleanConstructor;
57
65
  default: undefined;
@@ -96,7 +104,11 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
96
104
  type: BooleanConstructor;
97
105
  default: boolean;
98
106
  };
99
- }>> & Readonly<{}>, {
107
+ }>> & Readonly<{
108
+ onChange?: ((...args: any[]) => any) | undefined;
109
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
110
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
111
+ }>, {
100
112
  radius: MantineRadius;
101
113
  onChange: (value: boolean) => void;
102
114
  value: string;
@@ -106,6 +118,7 @@ export declare const CheckboxCard: import("../../..").WithBoxProps<import("vue")
106
118
  vars: Function | Record<string, any>;
107
119
  unstyled: boolean;
108
120
  withBorder: boolean;
121
+ modelValue: boolean;
109
122
  checked: boolean;
110
123
  defaultChecked: boolean;
111
124
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -14,6 +14,10 @@ export interface CheckboxGroupSlots {
14
14
  }
15
15
  export declare function useCheckboxGroupContext(): CheckboxGroupContextValue | null;
16
16
  export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
+ modelValue: {
18
+ type: PropType<string[] | undefined>;
19
+ default: undefined;
20
+ };
17
21
  value: {
18
22
  type: PropType<string[] | undefined>;
19
23
  default: undefined;
@@ -88,7 +92,11 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
88
92
  };
89
93
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
90
94
  [key: string]: any;
91
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
95
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
96
+ modelValue: {
97
+ type: PropType<string[] | undefined>;
98
+ default: undefined;
99
+ };
92
100
  value: {
93
101
  type: PropType<string[] | undefined>;
94
102
  default: undefined;
@@ -161,7 +169,10 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
161
169
  type: BooleanConstructor;
162
170
  default: boolean;
163
171
  };
164
- }>> & Readonly<{}>, {
172
+ }>> & Readonly<{
173
+ onChange?: ((...args: any[]) => any) | undefined;
174
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
175
+ }>, {
165
176
  size: MantineSize | (string & {});
166
177
  label: MantineNode;
167
178
  name: string;
@@ -175,6 +186,7 @@ export declare const CheckboxGroup: import("vue").DefineComponent<import("vue").
175
186
  defaultValue: string[] | undefined;
176
187
  vars: Function | Record<string, any>;
177
188
  unstyled: boolean;
189
+ modelValue: string[] | undefined;
178
190
  hiddenInputProps: Record<string, any>;
179
191
  wrapperProps: Record<string, any>;
180
192
  readOnly: boolean;
@@ -20,6 +20,10 @@ export declare const Chip: import("../..").WithBoxProps<{
20
20
  type: PropType<"radio" | "checkbox">;
21
21
  default: string;
22
22
  };
23
+ modelValue: {
24
+ type: BooleanConstructor;
25
+ default: undefined;
26
+ };
23
27
  checked: {
24
28
  type: BooleanConstructor;
25
29
  default: undefined;
@@ -84,9 +88,13 @@ export declare const Chip: import("../..").WithBoxProps<{
84
88
  type: BooleanConstructor;
85
89
  default: boolean;
86
90
  };
87
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
91
+ }>> & Readonly<{
92
+ onChange?: ((...args: any[]) => any) | undefined;
93
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
94
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
95
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
88
96
  [key: string]: any;
89
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
97
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], import("vue").PublicProps, {
90
98
  size: MantineSize;
91
99
  radius: MantineRadius;
92
100
  color: MantineColor;
@@ -103,6 +111,7 @@ export declare const Chip: import("../..").WithBoxProps<{
103
111
  icon: any;
104
112
  vars: Function | Record<string, any>;
105
113
  unstyled: boolean;
114
+ modelValue: boolean;
106
115
  wrapperProps: Record<string, any>;
107
116
  rootRef: any;
108
117
  checked: boolean;
@@ -131,6 +140,10 @@ export declare const Chip: import("../..").WithBoxProps<{
131
140
  type: PropType<"radio" | "checkbox">;
132
141
  default: string;
133
142
  };
143
+ modelValue: {
144
+ type: BooleanConstructor;
145
+ default: undefined;
146
+ };
134
147
  checked: {
135
148
  type: BooleanConstructor;
136
149
  default: undefined;
@@ -195,7 +208,11 @@ export declare const Chip: import("../..").WithBoxProps<{
195
208
  type: BooleanConstructor;
196
209
  default: boolean;
197
210
  };
198
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
211
+ }>> & Readonly<{
212
+ onChange?: ((...args: any[]) => any) | undefined;
213
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
214
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
215
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
199
216
  [key: string]: any;
200
217
  }>, {}, {}, {}, {
201
218
  size: MantineSize;
@@ -214,6 +231,7 @@ export declare const Chip: import("../..").WithBoxProps<{
214
231
  icon: any;
215
232
  vars: Function | Record<string, any>;
216
233
  unstyled: boolean;
234
+ modelValue: boolean;
217
235
  wrapperProps: Record<string, any>;
218
236
  rootRef: any;
219
237
  checked: boolean;
@@ -239,6 +257,10 @@ export declare const Chip: import("../..").WithBoxProps<{
239
257
  type: PropType<"radio" | "checkbox">;
240
258
  default: string;
241
259
  };
260
+ modelValue: {
261
+ type: BooleanConstructor;
262
+ default: undefined;
263
+ };
242
264
  checked: {
243
265
  type: BooleanConstructor;
244
266
  default: undefined;
@@ -303,9 +325,13 @@ export declare const Chip: import("../..").WithBoxProps<{
303
325
  type: BooleanConstructor;
304
326
  default: boolean;
305
327
  };
306
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
328
+ }>> & Readonly<{
329
+ onChange?: ((...args: any[]) => any) | undefined;
330
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
331
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
332
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
307
333
  [key: string]: any;
308
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
334
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", {
309
335
  size: MantineSize;
310
336
  radius: MantineRadius;
311
337
  color: MantineColor;
@@ -322,6 +348,7 @@ export declare const Chip: import("../..").WithBoxProps<{
322
348
  icon: any;
323
349
  vars: Function | Record<string, any>;
324
350
  unstyled: boolean;
351
+ modelValue: boolean;
325
352
  wrapperProps: Record<string, any>;
326
353
  rootRef: any;
327
354
  checked: boolean;
@@ -334,6 +361,10 @@ export declare const Chip: import("../..").WithBoxProps<{
334
361
  type: BooleanConstructor;
335
362
  default: boolean;
336
363
  };
364
+ modelValue: {
365
+ type: PropType<string | string[] | null | undefined>;
366
+ default: undefined;
367
+ };
337
368
  value: {
338
369
  type: PropType<string | string[] | null | undefined>;
339
370
  default: undefined;
@@ -348,11 +379,15 @@ export declare const Chip: import("../..").WithBoxProps<{
348
379
  };
349
380
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
350
381
  [key: string]: any;
351
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
382
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
352
383
  multiple: {
353
384
  type: BooleanConstructor;
354
385
  default: boolean;
355
386
  };
387
+ modelValue: {
388
+ type: PropType<string | string[] | null | undefined>;
389
+ default: undefined;
390
+ };
356
391
  value: {
357
392
  type: PropType<string | string[] | null | undefined>;
358
393
  default: undefined;
@@ -365,10 +400,14 @@ export declare const Chip: import("../..").WithBoxProps<{
365
400
  type: PropType<(value: string | string[]) => void>;
366
401
  default: undefined;
367
402
  };
368
- }>> & Readonly<{}>, {
403
+ }>> & Readonly<{
404
+ onChange?: ((...args: any[]) => any) | undefined;
405
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
406
+ }>, {
369
407
  onChange: (value: string | string[]) => void;
370
408
  value: string | string[] | null | undefined;
371
409
  defaultValue: string | string[] | null | undefined;
372
410
  multiple: boolean;
411
+ modelValue: string | string[] | null | undefined;
373
412
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
374
413
  }>;
@@ -11,6 +11,10 @@ export declare const ChipGroup: import("vue").DefineComponent<import("vue").Extr
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
+ modelValue: {
15
+ type: PropType<string | string[] | null | undefined>;
16
+ default: undefined;
17
+ };
14
18
  value: {
15
19
  type: PropType<string | string[] | null | undefined>;
16
20
  default: undefined;
@@ -25,11 +29,15 @@ export declare const ChipGroup: import("vue").DefineComponent<import("vue").Extr
25
29
  };
26
30
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
31
  [key: string]: any;
28
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
33
  multiple: {
30
34
  type: BooleanConstructor;
31
35
  default: boolean;
32
36
  };
37
+ modelValue: {
38
+ type: PropType<string | string[] | null | undefined>;
39
+ default: undefined;
40
+ };
33
41
  value: {
34
42
  type: PropType<string | string[] | null | undefined>;
35
43
  default: undefined;
@@ -42,9 +50,13 @@ export declare const ChipGroup: import("vue").DefineComponent<import("vue").Extr
42
50
  type: PropType<(value: string | string[]) => void>;
43
51
  default: undefined;
44
52
  };
45
- }>> & Readonly<{}>, {
53
+ }>> & Readonly<{
54
+ onChange?: ((...args: any[]) => any) | undefined;
55
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
+ }>, {
46
57
  onChange: (value: string | string[]) => void;
47
58
  value: string | string[] | null | undefined;
48
59
  defaultValue: string | string[] | null | undefined;
49
60
  multiple: boolean;
61
+ modelValue: string | string[] | null | undefined;
50
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,6 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
2
  import { type ColorFormat } from '../ColorPicker';
3
+ import { type InputBaseSlots } from '../InputBase';
3
4
  export interface ColorInputProps {
4
5
  modelValue?: string;
5
6
  value?: string;
@@ -17,6 +18,10 @@ export interface ColorInputProps {
17
18
  eyeDropperIcon?: any;
18
19
  [key: string]: any;
19
20
  }
21
+ export interface ColorInputSlots extends InputBaseSlots {
22
+ /** Custom eye dropper button icon, alternative to the `eyeDropperIcon` prop */
23
+ eyeDropperIcon?: () => VNodeChild;
24
+ }
20
25
  export declare const ColorInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
26
  modelValue: StringConstructor;
22
27
  value: StringConstructor;
@@ -61,7 +66,7 @@ export declare const ColorInput: import("vue").DefineComponent<import("vue").Ext
61
66
  };
62
67
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
68
  [key: string]: any;
64
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
70
  modelValue: StringConstructor;
66
71
  value: StringConstructor;
67
72
  defaultValue: {
@@ -104,6 +109,7 @@ export declare const ColorInput: import("vue").DefineComponent<import("vue").Ext
104
109
  default: number;
105
110
  };
106
111
  }>> & Readonly<{
112
+ onChange?: ((...args: any[]) => any) | undefined;
107
113
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
108
114
  }>, {
109
115
  defaultValue: string;
@@ -116,4 +122,4 @@ export declare const ColorInput: import("vue").DefineComponent<import("vue").Ext
116
122
  withEyeDropper: boolean;
117
123
  closeOnColorSwatchClick: boolean;
118
124
  eyeDropperIcon: any;
119
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
125
+ }, SlotsType<ColorInputSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
1
  export { ColorInput } from './ColorInput';
2
- export type { ColorInputProps } from './ColorInput';
2
+ export type { ColorInputProps, ColorInputSlots } from './ColorInput';
@@ -1,8 +1,16 @@
1
1
  import { type PropType } from 'vue';
2
2
  export declare const AlphaSlider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ modelValue: {
4
+ type: NumberConstructor;
5
+ default: undefined;
6
+ };
3
7
  value: {
4
8
  type: NumberConstructor;
5
- required: true;
9
+ default: undefined;
10
+ };
11
+ defaultValue: {
12
+ type: NumberConstructor;
13
+ default: undefined;
6
14
  };
7
15
  color: {
8
16
  type: StringConstructor;
@@ -34,10 +42,18 @@ export declare const AlphaSlider: import("vue").DefineComponent<import("vue").Ex
34
42
  };
35
43
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
44
  [key: string]: any;
37
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ modelValue: {
47
+ type: NumberConstructor;
48
+ default: undefined;
49
+ };
38
50
  value: {
39
51
  type: NumberConstructor;
40
- required: true;
52
+ default: undefined;
53
+ };
54
+ defaultValue: {
55
+ type: NumberConstructor;
56
+ default: undefined;
41
57
  };
42
58
  color: {
43
59
  type: StringConstructor;
@@ -67,11 +83,17 @@ export declare const AlphaSlider: import("vue").DefineComponent<import("vue").Ex
67
83
  type: BooleanConstructor;
68
84
  default: boolean;
69
85
  };
70
- }>> & Readonly<{}>, {
86
+ }>> & Readonly<{
87
+ onChange?: ((...args: any[]) => any) | undefined;
88
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
+ }>, {
71
90
  size: string;
72
91
  onChange: (value: number) => void;
92
+ value: number;
93
+ defaultValue: number;
73
94
  onChangeEnd: (value: number) => void;
74
95
  onScrubStart: () => void;
75
96
  onScrubEnd: () => void;
76
97
  focusable: boolean;
98
+ modelValue: number;
77
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;