@mobileaction/action-kit 1.40.6 → 1.40.7

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.40.7](https://github.com/mobileaction/action-kit/compare/v1.40.6...v1.40.7) (2025-01-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DUV-7033:** Review comment applied ([63782b5](https://github.com/mobileaction/action-kit/commit/63782b59258fef35ef36d30605d2a76196a16456))
11
+
5
12
  ## [1.40.6](https://github.com/mobileaction/action-kit/compare/v1.40.5...v1.40.6) (2025-01-15)
6
13
 
7
14
 
@@ -17158,7 +17158,8 @@ const MB = { class: "py-1" }, Ap = /* @__PURE__ */ Te({
17158
17158
  clearable: { type: Boolean, default: !1 },
17159
17159
  applyButtonText: { default: "Apply" },
17160
17160
  multiCalendars: { type: Boolean, default: !1 },
17161
- hideCalendarIcon: { type: Boolean, default: !1 }
17161
+ hideCalendarIcon: { type: Boolean, default: !1 },
17162
+ overlayClassName: { default: void 0 }
17162
17163
  },
17163
17164
  emits: [
17164
17165
  "update:value",
@@ -17196,15 +17197,16 @@ const MB = { class: "py-1" }, Ap = /* @__PURE__ */ Te({
17196
17197
  "ma-calendar-menu",
17197
17198
  `ma-preset-${c.presetLocation}`,
17198
17199
  c.presetDates.length ? "has-preset-dates" : "",
17199
- c.multiCalendars ? "ma-multi-calendar" : ""
17200
+ c.multiCalendars ? "ma-multi-calendar" : "",
17201
+ c.overlayClassName || ""
17200
17202
  ].join(" ")
17201
17203
  })), he = x(() => c.presetDates.map((Ie) => ({
17202
17204
  ...Ie,
17203
17205
  slot: Ie?.slot || "ma-calendar-preset"
17204
17206
  }))), de = () => v("cleared"), H = () => v("focus"), J = () => v("blur"), ne = () => v("rangeStart"), pe = () => v("rangeEnd"), Fe = (Ie) => Ie ? "chevron-up" : "chevron-down", $e = async () => {
17205
- T.value = !0, await Ls(), S.value.onScroll(), v("opened");
17207
+ T.value = !0, await Ls(), S.value.onScroll(), v("opened"), v("openChange", !0);
17206
17208
  }, Oe = () => {
17207
- T.value = !1, v("closed");
17209
+ T.value = !1, v("closed"), v("openChange", !1);
17208
17210
  }, Le = () => S.value.selectDate(), Ke = (Ie) => Array.isArray(Ie) ? Ie.length < 2 : !Ie;
17209
17211
  return (Ie, Be) => (k(), le(ve(Hy), ze(Ie.$attrs, {
17210
17212
  ref_key: "datepickerInput",
@@ -120,6 +120,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
120
120
  size: typeof import("./types").MaDatePickerSizes[number];
121
121
  disabled: boolean;
122
122
  value: import("@vuepic/vue-datepicker").ModelValue;
123
+ overlayClassName: string;
123
124
  position: typeof import("./types").MaDatePickerPositions[number];
124
125
  format: string | ((date: Date) => string) | ((dates: Date[]) => string);
125
126
  valueFormat: string;
@@ -37,8 +37,8 @@ export interface MaDatePickerProps {
37
37
  */
38
38
  readonly?: boolean;
39
39
  /**
40
- * Disable specific dates
41
- * Date[] | string[] | (date: Date) => boolean
40
+ * Disable specific dates
41
+ * Date[] | string[] | (date: Date) => boolean
42
42
  */
43
43
  disabledDates?: Date[] | string[] | ((date: Date) => boolean);
44
44
  /**
@@ -84,8 +84,8 @@ export interface MaDatePickerProps {
84
84
  */
85
85
  quarterPicker?: boolean;
86
86
  /**
87
- * If set to true, clicking on a date value will automatically select the value
88
- * @default false
87
+ * If set to true, clicking on a date value will automatically select the value
88
+ * @default false
89
89
  */
90
90
  autoApply?: boolean;
91
91
  /**
@@ -177,6 +177,12 @@ export interface MaDatePickerProps {
177
177
  * @default false
178
178
  */
179
179
  hideCalendarIcon?: boolean;
180
+ /**
181
+ * Custom class name for the menu overlay of the datepicker.
182
+ * This can be used to apply specific styles to the menu overlay.
183
+ * @default undefined
184
+ */
185
+ overlayClassName?: string;
180
186
  }
181
187
  export declare const MaDefaultVisibleDateFormat = "MMM D, YYYY";
182
188
  export declare const MaDefaultDateFormat = "YYYY-MM-DD";