@davincihealthcare/elty-design-system-vue 1.22.1 → 1.23.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.
@@ -10,6 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
10
10
  secondaryRow?: string | undefined;
11
11
  tertiaryRow?: string | undefined;
12
12
  horizontalPaddingLeft?: boolean | undefined;
13
+ cursor?: "default" | "pointer" | undefined;
13
14
  }>, {
14
15
  height: number;
15
16
  color: string;
@@ -19,6 +20,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
19
20
  secondaryRow: undefined;
20
21
  tertiaryRow: undefined;
21
22
  horizontalPaddingLeft: boolean;
23
+ cursor: string;
22
24
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
25
  height?: number | undefined;
24
26
  color: ElCalendarCardColor;
@@ -27,6 +29,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
27
29
  secondaryRow?: string | undefined;
28
30
  tertiaryRow?: string | undefined;
29
31
  horizontalPaddingLeft?: boolean | undefined;
32
+ cursor?: "default" | "pointer" | undefined;
30
33
  }>, {
31
34
  height: number;
32
35
  color: string;
@@ -36,6 +39,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
36
39
  secondaryRow: undefined;
37
40
  tertiaryRow: undefined;
38
41
  horizontalPaddingLeft: boolean;
42
+ cursor: string;
39
43
  }>>>, {
40
44
  color: ElCalendarCardColor;
41
45
  height: number;
@@ -44,6 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
44
48
  secondaryRow: string;
45
49
  tertiaryRow: string;
46
50
  horizontalPaddingLeft: boolean;
51
+ cursor: 'default' | 'pointer';
47
52
  }, {}>;
48
53
  export default _default;
49
54
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/dist/index.js CHANGED
@@ -16737,7 +16737,8 @@ const rG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16737
16737
  primaryRow: { default: void 0 },
16738
16738
  secondaryRow: { default: void 0 },
16739
16739
  tertiaryRow: { default: void 0 },
16740
- horizontalPaddingLeft: { type: Boolean, default: !0 }
16740
+ horizontalPaddingLeft: { type: Boolean, default: !0 },
16741
+ cursor: { default: "pointer" }
16741
16742
  },
16742
16743
  setup(t) {
16743
16744
  const e = {
@@ -16788,7 +16789,9 @@ const rG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16788
16789
  style: AA({ height: `${Math.max(12, i.height)}px` })
16789
16790
  }, [
16790
16791
  a("div", {
16791
- class: y(["grid max-w-full border rounded cursor-pointer h-full", {
16792
+ class: y(["grid max-w-full border rounded h-full", {
16793
+ "cursor-pointer": i.cursor === "pointer",
16794
+ "cursor-default": i.cursor === "default",
16792
16795
  "rounded-sm": i.height < 32,
16793
16796
  rounded: i.height >= 32,
16794
16797
  [e[i.color]]: i.status === "confirmed",