@wisemen/vue-core-components 2.2.3 → 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.
@@ -13,6 +13,11 @@ export interface DateFieldProps extends TestId, InteractableElement, FormElement
13
13
  * @default 'off'
14
14
  */
15
15
  autocomplete?: 'off' | 'on';
16
+ /**
17
+ * Whether the picker should remain open after a selection is made.
18
+ * @default false
19
+ */
20
+ dontCloseOnSelect?: boolean;
16
21
  /**
17
22
  * Hides the date picker dropdown trigger when set to `true`.
18
23
  *
@@ -45,6 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
45
45
  errorMessage: string | null;
46
46
  classConfig: ResolvedClassConfig<"dateField"> | null;
47
47
  autocomplete: "off" | "on";
48
+ dontCloseOnSelect: boolean;
48
49
  hideDatePicker: boolean;
49
50
  maxDate: Temporal.PlainDate | null;
50
51
  minDate: Temporal.PlainDate | null;
@@ -19,6 +19,11 @@ export interface DateRangeFieldProps extends TestId, InteractableElement, FormEl
19
19
  * @default 'off'
20
20
  */
21
21
  autocomplete?: 'off' | 'on';
22
+ /**
23
+ * Whether the picker should remain open after a selection is made.
24
+ * @default false
25
+ */
26
+ dontCloseOnSelect?: boolean;
22
27
  /**
23
28
  * Hides the date picker dropdown trigger when set to `true`.
24
29
  *
@@ -52,6 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
52
52
  errorMessage: string | null;
53
53
  classConfig: ResolvedClassConfig<"dateRangeField"> | null;
54
54
  autocomplete: "off" | "on";
55
+ dontCloseOnSelect: boolean;
55
56
  hideDatePicker: boolean;
56
57
  maxDate: Temporal.PlainDate | null;
57
58
  minDate: Temporal.PlainDate | null;
@@ -26,6 +26,7 @@ export interface FileUploadProps extends InteractableElement {
26
26
  * Confirms the upload of a file. In the case of a image, a blur hash can be provided to
27
27
  * generate a placeholder while the image is being uploaded.
28
28
  *
29
+ * @param uuid - The unique identifier of the file being uploaded.
29
30
  * @param blurHash - The blur hash of the image, or `null` if not applicable.
30
31
  * @returns A promise that resolves when the upload is confirmed.
31
32
  */