@mantine-vue/dates 3.5.0 → 3.7.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.
@@ -1,13 +1,13 @@
1
1
  import type { PickerInputBaseProps, PickerInputBaseSlots } from '../../types';
2
2
  type __VLS_Slots = PickerInputBaseSlots;
3
3
  declare const __VLS_base: import("vue").DefineComponent<PickerInputBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
- clear: () => any;
5
4
  click: (event: MouseEvent) => any;
5
+ clear: () => any;
6
6
  "dropdown-open": () => any;
7
7
  "dropdown-close": () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<PickerInputBaseProps> & Readonly<{
9
- onClear?: (() => any) | undefined;
10
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
+ onClear?: (() => any) | undefined;
11
11
  "onDropdown-open"?: (() => any) | undefined;
12
12
  "onDropdown-close"?: (() => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
package/lib/types.d.ts CHANGED
@@ -591,6 +591,10 @@ export interface DateTimePickerProps extends PickerInputBaseProps {
591
591
  submitButtonProps?: ControlProps;
592
592
  /** Determines whether the picker should take the full width of its container @default false */
593
593
  fullWidth?: boolean;
594
+ /** Earliest selectable date and time. */
595
+ minDate?: string | Date;
596
+ /** Latest selectable date and time. */
597
+ maxDate?: string | Date;
594
598
  }
595
599
  /** Props accepted by the compact multi-day calendar. */
596
600
  export interface MiniCalendarProps extends DatesStyleProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/dates",
3
- "version": "3.5.0",
3
+ "version": "3.7.0",
4
4
  "description": "Vue date and time picker components equivalent to @mantine/dates",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -40,8 +40,8 @@
40
40
  "vue": "^3.5.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@mantine-vue/core": "3.5.0",
44
- "@mantine-vue/hooks": "3.5.0",
43
+ "@mantine-vue/core": "3.7.0",
44
+ "@mantine-vue/hooks": "3.7.0",
45
45
  "dayjs": ">=1.0.0",
46
46
  "vue": "^3.5.0"
47
47
  }