@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
@@ -246,7 +246,7 @@ export declare const TreeSelect: import("vue").DefineComponent<import("vue").Ext
246
246
  chevronAriaLabels: PropType<TreeSelectChevronAriaLabels>;
247
247
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
248
248
  [key: string]: any;
249
- }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchValue")[], "update:modelValue" | "update:searchValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
249
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:searchValue")[], "change" | "update:modelValue" | "update:searchValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
250
250
  data: {
251
251
  type: PropType<TreeNodeData[]>;
252
252
  required: true;
@@ -336,17 +336,18 @@ export declare const TreeSelect: import("vue").DefineComponent<import("vue").Ext
336
336
  };
337
337
  chevronAriaLabels: PropType<TreeSelectChevronAriaLabels>;
338
338
  }>> & Readonly<{
339
+ onChange?: ((...args: any[]) => any) | undefined;
339
340
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
340
341
  "onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
341
342
  }>, {
342
343
  mode: TreeSelectMode;
343
344
  value: any;
344
345
  defaultValue: any;
346
+ modelValue: any;
345
347
  clearable: boolean;
346
348
  checkStrictly: boolean;
347
349
  expandOnClick: boolean;
348
350
  withLines: boolean;
349
- modelValue: any;
350
351
  maxDropdownHeight: string | number;
351
352
  nothingFoundMessage: any;
352
353
  dropdownOpened: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/core",
3
- "version": "2.4.0",
3
+ "version": "3.0.0",
4
4
  "description": "Vue component foundation architecturally equivalent to @mantine/core",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -44,8 +44,8 @@
44
44
  "vue": "^3.5.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "@mantine-vue/hooks": "2.4.0",
48
- "@mantine-vue/utils": "2.4.0",
47
+ "@mantine-vue/hooks": "3.0.0",
48
+ "@mantine-vue/utils": "3.0.0",
49
49
  "vue": "^3.5.0"
50
50
  }
51
51
  }