@mantine-vue/core 2.4.0 → 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 (48) hide show
  1. package/cjs/index.cjs +732 -165
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +732 -165
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/AngleSlider/AngleSlider.d.ts +15 -2
  6. package/lib/components/Autocomplete/Autocomplete.d.ts +3 -1
  7. package/lib/components/Cascader/Cascader.d.ts +2 -1
  8. package/lib/components/Checkbox/Checkbox.d.ts +91 -9
  9. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +15 -2
  10. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +14 -2
  11. package/lib/components/Chip/Chip.d.ts +46 -7
  12. package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +14 -2
  13. package/lib/components/ColorInput/ColorInput.d.ts +2 -1
  14. package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +26 -4
  15. package/lib/components/ColorPicker/ColorPicker.d.ts +14 -2
  16. package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +26 -4
  17. package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +26 -4
  18. package/lib/components/Combobox/Combobox.d.ts +64 -4
  19. package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +45 -7
  20. package/lib/components/FileButton/FileButton.d.ts +17 -4
  21. package/lib/components/FileInput/FileInput.d.ts +14 -2
  22. package/lib/components/Input/Input.d.ts +74 -5
  23. package/lib/components/InputBase/InputBase.d.ts +41 -2
  24. package/lib/components/JsonInput/JsonInput.d.ts +14 -2
  25. package/lib/components/MaskInput/MaskInput.d.ts +45 -2
  26. package/lib/components/Menu/Menu.d.ts +82 -4
  27. package/lib/components/MultiSelect/MultiSelect.d.ts +2 -1
  28. package/lib/components/NativeSelect/NativeSelect.d.ts +19 -6
  29. package/lib/components/NumberInput/NumberInput.d.ts +14 -2
  30. package/lib/components/PasswordInput/PasswordInput.d.ts +41 -2
  31. package/lib/components/PillsInput/PillsInput.d.ts +41 -2
  32. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +41 -2
  33. package/lib/components/PinInput/PinInput.d.ts +15 -2
  34. package/lib/components/Radio/Radio.d.ts +124 -9
  35. package/lib/components/Radio/RadioCard/RadioCard.d.ts +33 -2
  36. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +14 -2
  37. package/lib/components/Rating/Rating.d.ts +14 -2
  38. package/lib/components/SegmentedControl/SegmentedControl.d.ts +14 -2
  39. package/lib/components/Select/Select.d.ts +3 -2
  40. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +14 -2
  41. package/lib/components/Slider/Slider/Slider.d.ts +14 -2
  42. package/lib/components/Switch/Switch.d.ts +67 -13
  43. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +15 -3
  44. package/lib/components/TagsInput/TagsInput.d.ts +2 -1
  45. package/lib/components/TextInput/TextInput.d.ts +36 -2
  46. package/lib/components/Textarea/Textarea.d.ts +32 -2
  47. package/lib/components/TreeSelect/TreeSelect.d.ts +3 -2
  48. package/package.json +3 -3
@@ -13,6 +13,22 @@ export interface PasswordInputSlots {
13
13
  }
14
14
  export type PasswordInputStylesNames = 'root' | 'visibilityToggle' | 'innerInput' | 'input' | 'wrapper' | 'section' | 'bottomSection' | 'label' | 'required' | 'description' | 'error';
15
15
  export declare const PasswordInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
+ modelValue: {
17
+ type: StringConstructor;
18
+ default: undefined;
19
+ };
20
+ value: {
21
+ type: StringConstructor;
22
+ default: undefined;
23
+ };
24
+ defaultValue: {
25
+ type: StringConstructor;
26
+ default: undefined;
27
+ };
28
+ onChange: {
29
+ type: PropType<(value: string) => void>;
30
+ default: undefined;
31
+ };
16
32
  visibilityToggleIcon: {
17
33
  type: PropType<any>;
18
34
  default: undefined;
@@ -151,7 +167,23 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
151
167
  };
152
168
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
153
169
  [key: string]: any;
154
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
170
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
171
+ modelValue: {
172
+ type: StringConstructor;
173
+ default: undefined;
174
+ };
175
+ value: {
176
+ type: StringConstructor;
177
+ default: undefined;
178
+ };
179
+ defaultValue: {
180
+ type: StringConstructor;
181
+ default: undefined;
182
+ };
183
+ onChange: {
184
+ type: PropType<(value: string) => void>;
185
+ default: undefined;
186
+ };
155
187
  visibilityToggleIcon: {
156
188
  type: PropType<any>;
157
189
  default: undefined;
@@ -288,21 +320,28 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
288
320
  type: BooleanConstructor;
289
321
  default: boolean;
290
322
  };
291
- }>> & Readonly<{}>, {
323
+ }>> & Readonly<{
324
+ onChange?: ((...args: any[]) => any) | undefined;
325
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
326
+ }>, {
292
327
  size: number | MantineSize | (string & {});
293
328
  label: MantineNode;
294
329
  radius: MantineRadius;
295
330
  variant: "default" | "filled" | "unstyled";
296
331
  error: MantineNode;
332
+ onChange: (value: string) => void;
333
+ value: string;
297
334
  classNames: Function | Record<string, any>;
298
335
  styles: Function | Record<string, any>;
299
336
  required: boolean;
300
337
  description: MantineNode;
301
338
  visible: boolean;
302
339
  disabled: boolean;
340
+ defaultValue: string;
303
341
  id: string;
304
342
  vars: Function | Record<string, any>;
305
343
  unstyled: boolean;
344
+ modelValue: string;
306
345
  leftSection: MantineNode;
307
346
  rightSection: MantineNode;
308
347
  withAsterisk: boolean;
@@ -290,6 +290,22 @@ export declare const PillsInput: {
290
290
  }, {}, string, SlotsType<PillsInputSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
291
291
  classes: any;
292
292
  Field: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
293
+ modelValue: {
294
+ type: StringConstructor;
295
+ default: undefined;
296
+ };
297
+ value: {
298
+ type: StringConstructor;
299
+ default: undefined;
300
+ };
301
+ defaultValue: {
302
+ type: StringConstructor;
303
+ default: undefined;
304
+ };
305
+ onChange: {
306
+ type: PropType<(value: string) => void>;
307
+ default: undefined;
308
+ };
293
309
  type: {
294
310
  type: PropType<"auto" | "visible" | "hidden">;
295
311
  default: string;
@@ -332,7 +348,23 @@ export declare const PillsInput: {
332
348
  };
333
349
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
334
350
  [key: string]: any;
335
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
351
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
352
+ modelValue: {
353
+ type: StringConstructor;
354
+ default: undefined;
355
+ };
356
+ value: {
357
+ type: StringConstructor;
358
+ default: undefined;
359
+ };
360
+ defaultValue: {
361
+ type: StringConstructor;
362
+ default: undefined;
363
+ };
364
+ onChange: {
365
+ type: PropType<(value: string) => void>;
366
+ default: undefined;
367
+ };
336
368
  type: {
337
369
  type: PropType<"auto" | "visible" | "hidden">;
338
370
  default: string;
@@ -373,16 +405,23 @@ export declare const PillsInput: {
373
405
  type: BooleanConstructor;
374
406
  default: boolean;
375
407
  };
376
- }>> & Readonly<{}>, {
408
+ }>> & Readonly<{
409
+ onChange?: ((...args: any[]) => any) | undefined;
410
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
411
+ }>, {
377
412
  pointer: boolean;
378
413
  type: "auto" | "hidden" | "visible";
414
+ onChange: (value: string) => void;
415
+ value: string;
379
416
  classNames: Function | Record<string, any>;
380
417
  styles: Function | Record<string, any>;
381
418
  disabled: boolean;
419
+ defaultValue: string;
382
420
  mod: any;
383
421
  id: string;
384
422
  vars: Function | Record<string, any>;
385
423
  unstyled: boolean;
424
+ modelValue: string;
386
425
  inputRef: any;
387
426
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
388
427
  };
@@ -1,6 +1,22 @@
1
1
  import { type PropType } from 'vue';
2
2
  export type PillsInputFieldStylesNames = 'field';
3
3
  export declare const PillsInputField: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: undefined;
7
+ };
8
+ value: {
9
+ type: StringConstructor;
10
+ default: undefined;
11
+ };
12
+ defaultValue: {
13
+ type: StringConstructor;
14
+ default: undefined;
15
+ };
16
+ onChange: {
17
+ type: PropType<(value: string) => void>;
18
+ default: undefined;
19
+ };
4
20
  type: {
5
21
  type: PropType<"auto" | "visible" | "hidden">;
6
22
  default: string;
@@ -43,7 +59,23 @@ export declare const PillsInputField: import("../../..").WithBoxProps<import("vu
43
59
  };
44
60
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
61
  [key: string]: any;
46
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ modelValue: {
64
+ type: StringConstructor;
65
+ default: undefined;
66
+ };
67
+ value: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
71
+ defaultValue: {
72
+ type: StringConstructor;
73
+ default: undefined;
74
+ };
75
+ onChange: {
76
+ type: PropType<(value: string) => void>;
77
+ default: undefined;
78
+ };
47
79
  type: {
48
80
  type: PropType<"auto" | "visible" | "hidden">;
49
81
  default: string;
@@ -84,15 +116,22 @@ export declare const PillsInputField: import("../../..").WithBoxProps<import("vu
84
116
  type: BooleanConstructor;
85
117
  default: boolean;
86
118
  };
87
- }>> & Readonly<{}>, {
119
+ }>> & Readonly<{
120
+ onChange?: ((...args: any[]) => any) | undefined;
121
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
122
+ }>, {
88
123
  pointer: boolean;
89
124
  type: "auto" | "hidden" | "visible";
125
+ onChange: (value: string) => void;
126
+ value: string;
90
127
  classNames: Function | Record<string, any>;
91
128
  styles: Function | Record<string, any>;
92
129
  disabled: boolean;
130
+ defaultValue: string;
93
131
  mod: any;
94
132
  id: string;
95
133
  vars: Function | Record<string, any>;
96
134
  unstyled: boolean;
135
+ modelValue: string;
97
136
  inputRef: any;
98
137
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -14,6 +14,7 @@ export interface PinInputProps {
14
14
  radius?: string | number;
15
15
  size?: string | number;
16
16
  autoFocus?: boolean;
17
+ modelValue?: string;
17
18
  value?: string;
18
19
  defaultValue?: string;
19
20
  onChange?: (value: string) => void;
@@ -66,6 +67,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
66
67
  type: BooleanConstructor;
67
68
  default: boolean;
68
69
  };
70
+ modelValue: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
69
74
  value: {
70
75
  type: StringConstructor;
71
76
  default: undefined;
@@ -172,7 +177,7 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
172
177
  };
173
178
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
174
179
  [key: string]: any;
175
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
180
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
176
181
  name: {
177
182
  type: StringConstructor;
178
183
  default: undefined;
@@ -197,6 +202,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
197
202
  type: BooleanConstructor;
198
203
  default: boolean;
199
204
  };
205
+ modelValue: {
206
+ type: StringConstructor;
207
+ default: undefined;
208
+ };
200
209
  value: {
201
210
  type: StringConstructor;
202
211
  default: undefined;
@@ -301,7 +310,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
301
310
  type: BooleanConstructor;
302
311
  default: boolean;
303
312
  };
304
- }>> & Readonly<{}>, {
313
+ }>> & Readonly<{
314
+ onChange?: ((...args: any[]) => any) | undefined;
315
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
316
+ }>, {
305
317
  size: MantineSize;
306
318
  length: number;
307
319
  form: string;
@@ -322,6 +334,7 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
322
334
  onComplete: (value: string) => void;
323
335
  vars: Function | Record<string, any>;
324
336
  unstyled: boolean;
337
+ modelValue: string;
325
338
  hiddenInputProps: Record<string, any>;
326
339
  placeholder: string;
327
340
  inputRef: VueRefTarget<HTMLInputElement>;
@@ -69,14 +69,30 @@ export declare const Radio: import("../..").WithBoxProps<{
69
69
  type: BooleanConstructor;
70
70
  default: boolean;
71
71
  };
72
+ modelValue: {
73
+ type: BooleanConstructor;
74
+ default: undefined;
75
+ };
72
76
  checked: {
73
77
  type: BooleanConstructor;
74
78
  default: undefined;
75
79
  };
80
+ defaultChecked: {
81
+ type: BooleanConstructor;
82
+ default: undefined;
83
+ };
84
+ onChange: {
85
+ type: PropType<(checked: boolean) => void>;
86
+ default: undefined;
87
+ };
76
88
  disabled: {
77
89
  type: BooleanConstructor;
78
90
  default: boolean;
79
91
  };
92
+ readOnly: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
80
96
  variant: {
81
97
  type: PropType<RadioVariant>;
82
98
  default: string;
@@ -101,9 +117,13 @@ export declare const Radio: import("../..").WithBoxProps<{
101
117
  type: BooleanConstructor;
102
118
  default: boolean;
103
119
  };
104
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
120
+ }>> & Readonly<{
121
+ onChange?: ((...args: any[]) => any) | undefined;
122
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
123
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
124
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
105
125
  [key: string]: any;
106
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
126
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], import("vue").PublicProps, {
107
127
  size: MantineSize | (string & {});
108
128
  label: MantineNode;
109
129
  radius: MantineRadius;
@@ -111,6 +131,7 @@ export declare const Radio: import("../..").WithBoxProps<{
111
131
  autoContrast: boolean;
112
132
  variant: RadioVariant;
113
133
  error: MantineNode;
134
+ onChange: (checked: boolean) => void;
114
135
  classNames: Function | Record<string, any>;
115
136
  styles: Function | Record<string, any>;
116
137
  description: MantineNode;
@@ -121,10 +142,13 @@ export declare const Radio: import("../..").WithBoxProps<{
121
142
  vars: Function | Record<string, any>;
122
143
  unstyled: boolean;
123
144
  labelPosition: "left" | "right";
145
+ modelValue: boolean;
124
146
  withErrorStyles: boolean;
125
147
  wrapperProps: Record<string, any>;
126
148
  rootRef: any;
149
+ readOnly: boolean;
127
150
  checked: boolean;
151
+ defaultChecked: boolean;
128
152
  iconColor: string;
129
153
  }, true, {}, SlotsType<RadioSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
130
154
  P: {};
@@ -190,14 +214,30 @@ export declare const Radio: import("../..").WithBoxProps<{
190
214
  type: BooleanConstructor;
191
215
  default: boolean;
192
216
  };
217
+ modelValue: {
218
+ type: BooleanConstructor;
219
+ default: undefined;
220
+ };
193
221
  checked: {
194
222
  type: BooleanConstructor;
195
223
  default: undefined;
196
224
  };
225
+ defaultChecked: {
226
+ type: BooleanConstructor;
227
+ default: undefined;
228
+ };
229
+ onChange: {
230
+ type: PropType<(checked: boolean) => void>;
231
+ default: undefined;
232
+ };
197
233
  disabled: {
198
234
  type: BooleanConstructor;
199
235
  default: boolean;
200
236
  };
237
+ readOnly: {
238
+ type: BooleanConstructor;
239
+ default: boolean;
240
+ };
201
241
  variant: {
202
242
  type: PropType<RadioVariant>;
203
243
  default: string;
@@ -222,7 +262,11 @@ export declare const Radio: import("../..").WithBoxProps<{
222
262
  type: BooleanConstructor;
223
263
  default: boolean;
224
264
  };
225
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
265
+ }>> & Readonly<{
266
+ onChange?: ((...args: any[]) => any) | undefined;
267
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
268
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
269
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
226
270
  [key: string]: any;
227
271
  }>, {}, {}, {}, {
228
272
  size: MantineSize | (string & {});
@@ -232,6 +276,7 @@ export declare const Radio: import("../..").WithBoxProps<{
232
276
  autoContrast: boolean;
233
277
  variant: RadioVariant;
234
278
  error: MantineNode;
279
+ onChange: (checked: boolean) => void;
235
280
  classNames: Function | Record<string, any>;
236
281
  styles: Function | Record<string, any>;
237
282
  description: MantineNode;
@@ -242,10 +287,13 @@ export declare const Radio: import("../..").WithBoxProps<{
242
287
  vars: Function | Record<string, any>;
243
288
  unstyled: boolean;
244
289
  labelPosition: "left" | "right";
290
+ modelValue: boolean;
245
291
  withErrorStyles: boolean;
246
292
  wrapperProps: Record<string, any>;
247
293
  rootRef: any;
294
+ readOnly: boolean;
248
295
  checked: boolean;
296
+ defaultChecked: boolean;
249
297
  iconColor: string;
250
298
  }>;
251
299
  __isFragment?: never;
@@ -308,14 +356,30 @@ export declare const Radio: import("../..").WithBoxProps<{
308
356
  type: BooleanConstructor;
309
357
  default: boolean;
310
358
  };
359
+ modelValue: {
360
+ type: BooleanConstructor;
361
+ default: undefined;
362
+ };
311
363
  checked: {
312
364
  type: BooleanConstructor;
313
365
  default: undefined;
314
366
  };
367
+ defaultChecked: {
368
+ type: BooleanConstructor;
369
+ default: undefined;
370
+ };
371
+ onChange: {
372
+ type: PropType<(checked: boolean) => void>;
373
+ default: undefined;
374
+ };
315
375
  disabled: {
316
376
  type: BooleanConstructor;
317
377
  default: boolean;
318
378
  };
379
+ readOnly: {
380
+ type: BooleanConstructor;
381
+ default: boolean;
382
+ };
319
383
  variant: {
320
384
  type: PropType<RadioVariant>;
321
385
  default: string;
@@ -340,9 +404,13 @@ export declare const Radio: import("../..").WithBoxProps<{
340
404
  type: BooleanConstructor;
341
405
  default: boolean;
342
406
  };
343
- }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
407
+ }>> & Readonly<{
408
+ onChange?: ((...args: any[]) => any) | undefined;
409
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
410
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
411
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
344
412
  [key: string]: any;
345
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
413
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", {
346
414
  size: MantineSize | (string & {});
347
415
  label: MantineNode;
348
416
  radius: MantineRadius;
@@ -350,6 +418,7 @@ export declare const Radio: import("../..").WithBoxProps<{
350
418
  autoContrast: boolean;
351
419
  variant: RadioVariant;
352
420
  error: MantineNode;
421
+ onChange: (checked: boolean) => void;
353
422
  classNames: Function | Record<string, any>;
354
423
  styles: Function | Record<string, any>;
355
424
  description: MantineNode;
@@ -360,10 +429,13 @@ export declare const Radio: import("../..").WithBoxProps<{
360
429
  vars: Function | Record<string, any>;
361
430
  unstyled: boolean;
362
431
  labelPosition: "left" | "right";
432
+ modelValue: boolean;
363
433
  withErrorStyles: boolean;
364
434
  wrapperProps: Record<string, any>;
365
435
  rootRef: any;
436
+ readOnly: boolean;
366
437
  checked: boolean;
438
+ defaultChecked: boolean;
367
439
  iconColor: string;
368
440
  }, {}, string, SlotsType<RadioSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
369
441
  classes: {
@@ -371,6 +443,10 @@ export declare const Radio: import("../..").WithBoxProps<{
371
443
  };
372
444
  varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
373
445
  Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
446
+ modelValue: {
447
+ type: PropType<string | null | undefined>;
448
+ default: undefined;
449
+ };
374
450
  value: {
375
451
  type: PropType<string | null | undefined>;
376
452
  default: undefined;
@@ -433,7 +509,11 @@ export declare const Radio: import("../..").WithBoxProps<{
433
509
  };
434
510
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
435
511
  [key: string]: any;
436
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
512
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
513
+ modelValue: {
514
+ type: PropType<string | null | undefined>;
515
+ default: undefined;
516
+ };
437
517
  value: {
438
518
  type: PropType<string | null | undefined>;
439
519
  default: undefined;
@@ -494,7 +574,10 @@ export declare const Radio: import("../..").WithBoxProps<{
494
574
  type: BooleanConstructor;
495
575
  default: boolean;
496
576
  };
497
- }>> & Readonly<{}>, {
577
+ }>> & Readonly<{
578
+ onChange?: ((...args: any[]) => any) | undefined;
579
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
580
+ }>, {
498
581
  size: MantineSize;
499
582
  label: MantineNode;
500
583
  name: string;
@@ -508,6 +591,7 @@ export declare const Radio: import("../..").WithBoxProps<{
508
591
  defaultValue: string | null | undefined;
509
592
  vars: Function | Record<string, any>;
510
593
  unstyled: boolean;
594
+ modelValue: string | null | undefined;
511
595
  wrapperProps: Record<string, any>;
512
596
  readOnly: boolean;
513
597
  }, SlotsType<import("./RadioGroup/RadioGroup").RadioGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -644,10 +728,22 @@ export declare const Radio: import("../..").WithBoxProps<{
644
728
  iconColor: string;
645
729
  }, SlotsType<import("./RadioIndicator/RadioIndicator").RadioIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
646
730
  Card: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
731
+ modelValue: {
732
+ type: BooleanConstructor;
733
+ default: undefined;
734
+ };
647
735
  checked: {
648
736
  type: BooleanConstructor;
649
737
  default: undefined;
650
738
  };
739
+ defaultChecked: {
740
+ type: BooleanConstructor;
741
+ default: undefined;
742
+ };
743
+ onChange: {
744
+ type: PropType<(checked: boolean) => void>;
745
+ default: undefined;
746
+ };
651
747
  withBorder: {
652
748
  type: BooleanConstructor;
653
749
  default: boolean;
@@ -686,11 +782,23 @@ export declare const Radio: import("../..").WithBoxProps<{
686
782
  };
687
783
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
688
784
  [key: string]: any;
689
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
785
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
786
+ modelValue: {
787
+ type: BooleanConstructor;
788
+ default: undefined;
789
+ };
690
790
  checked: {
691
791
  type: BooleanConstructor;
692
792
  default: undefined;
693
793
  };
794
+ defaultChecked: {
795
+ type: BooleanConstructor;
796
+ default: undefined;
797
+ };
798
+ onChange: {
799
+ type: PropType<(checked: boolean) => void>;
800
+ default: undefined;
801
+ };
694
802
  withBorder: {
695
803
  type: BooleanConstructor;
696
804
  default: boolean;
@@ -727,9 +835,14 @@ export declare const Radio: import("../..").WithBoxProps<{
727
835
  type: BooleanConstructor;
728
836
  default: boolean;
729
837
  };
730
- }>> & Readonly<{}>, {
838
+ }>> & Readonly<{
839
+ onChange?: ((...args: any[]) => any) | undefined;
840
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
841
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
842
+ }>, {
731
843
  radius: MantineRadius;
732
844
  name: string;
845
+ onChange: (checked: boolean) => void;
733
846
  value: string;
734
847
  classNames: Function | Record<string, any>;
735
848
  styles: Function | Record<string, any>;
@@ -737,6 +850,8 @@ export declare const Radio: import("../..").WithBoxProps<{
737
850
  vars: Function | Record<string, any>;
738
851
  unstyled: boolean;
739
852
  withBorder: boolean;
853
+ modelValue: boolean;
740
854
  checked: boolean;
855
+ defaultChecked: boolean;
741
856
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
742
857
  }>;
@@ -5,10 +5,22 @@ export interface RadioCardContextValue {
5
5
  }
6
6
  export declare function useRadioCardContext(): RadioCardContextValue | null;
7
7
  export declare const RadioCard: 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;
11
15
  };
16
+ defaultChecked: {
17
+ type: BooleanConstructor;
18
+ default: undefined;
19
+ };
20
+ onChange: {
21
+ type: PropType<(checked: boolean) => void>;
22
+ default: undefined;
23
+ };
12
24
  withBorder: {
13
25
  type: BooleanConstructor;
14
26
  default: boolean;
@@ -47,11 +59,23 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
47
59
  };
48
60
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
61
  [key: string]: any;
50
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:checked")[], "change" | "update:modelValue" | "update:checked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ modelValue: {
64
+ type: BooleanConstructor;
65
+ default: undefined;
66
+ };
51
67
  checked: {
52
68
  type: BooleanConstructor;
53
69
  default: undefined;
54
70
  };
71
+ defaultChecked: {
72
+ type: BooleanConstructor;
73
+ default: undefined;
74
+ };
75
+ onChange: {
76
+ type: PropType<(checked: boolean) => void>;
77
+ default: undefined;
78
+ };
55
79
  withBorder: {
56
80
  type: BooleanConstructor;
57
81
  default: boolean;
@@ -88,9 +112,14 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
88
112
  type: BooleanConstructor;
89
113
  default: boolean;
90
114
  };
91
- }>> & Readonly<{}>, {
115
+ }>> & Readonly<{
116
+ onChange?: ((...args: any[]) => any) | undefined;
117
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
+ "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
119
+ }>, {
92
120
  radius: MantineRadius;
93
121
  name: string;
122
+ onChange: (checked: boolean) => void;
94
123
  value: string;
95
124
  classNames: Function | Record<string, any>;
96
125
  styles: Function | Record<string, any>;
@@ -98,5 +127,7 @@ export declare const RadioCard: import("../../..").WithBoxProps<import("vue").De
98
127
  vars: Function | Record<string, any>;
99
128
  unstyled: boolean;
100
129
  withBorder: boolean;
130
+ modelValue: boolean;
101
131
  checked: boolean;
132
+ defaultChecked: boolean;
102
133
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;