@davincihealthcare/elty-design-system-vue 1.11.3 → 1.12.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.
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: NumberConstructor;
9
9
  default: number;
10
10
  };
11
+ textareaClass: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
11
15
  modelValue: {
12
16
  type: import("vue").PropType<TextualValueType>;
13
17
  default: string;
@@ -53,6 +57,10 @@ declare const _default: import("vue").DefineComponent<{
53
57
  type: NumberConstructor;
54
58
  default: number;
55
59
  };
60
+ textareaClass: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
56
64
  modelValue: {
57
65
  type: import("vue").PropType<TextualValueType>;
58
66
  default: string;
@@ -99,5 +107,6 @@ declare const _default: import("vue").DefineComponent<{
99
107
  validation: string;
100
108
  resizable: boolean;
101
109
  maxCharacters: number;
110
+ textareaClass: string;
102
111
  }, {}>;
103
112
  export default _default;
package/dist/index.js CHANGED
@@ -16480,7 +16480,7 @@ const Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16480
16480
  "bg-primary hover:bg-primary-hover focus:bg-primary-pressed focus:outlined-primary text-white": e.variant === "primary" && !e.error && !e.disabled,
16481
16481
  "bg-error hover:bg-error-hover focus:bg-error-pressed focus:outlined-error text-white": e.variant === "primary" && e.error && !e.disabled,
16482
16482
  "bg-neutral-inactive text-neutral-inactive cursor-not-allowed": e.variant === "primary" && e.disabled,
16483
- "bg-white border border-primary hover:border-primary-hover hover:bg-primary-light-hover hover:text-primary-hover focus:text-primary-pressed focus:bg-primary-light focus:border-primary-pressed text-secondary focus:outlined-primary": e.variant === "secondary" && !e.error && !e.disabled,
16483
+ "bg-white border border-primary hover:border-primary-hover hover:bg-primary-light-hover hover:text-primary-hover focus:text-primary-pressed focus:bg-primary-light focus:border-primary-pressed text-primary focus:outlined-primary": e.variant === "secondary" && !e.error && !e.disabled,
16484
16484
  "border-error text-error hover:bg-error-light-hover focus:bg-error-light-pressed focus:outlined-error border bg-white": e.variant === "secondary" && e.error && !e.disabled,
16485
16485
  "text-neutral-inactive border-neutral-inactive cursor-not-allowed border": e.variant === "secondary" && e.disabled,
16486
16486
  "text-primary hover:text-primary-hover hover:bg-primary-light-hover focus:text-primary-pressed focus:bg-primary-light-pressed focus:outlined-primary border-none bg-transparent": e.variant === "tertiary" && !e.error && !e.disabled,
@@ -22049,6 +22049,10 @@ const fG = { class: "pointer-events-none fixed inset-0 z-50 flex items-end px-4
22049
22049
  maxCharacters: {
22050
22050
  type: Number,
22051
22051
  default: -1
22052
+ },
22053
+ textareaClass: {
22054
+ type: String,
22055
+ default: "min-h-20"
22052
22056
  }
22053
22057
  },
22054
22058
  emits: ["update:modelValue"],
@@ -22083,7 +22087,8 @@ const fG = { class: "pointer-events-none fixed inset-0 z-50 flex items-end px-4
22083
22087
  {
22084
22088
  error: Z,
22085
22089
  "resize-none": !t.resizable
22086
- }
22090
+ },
22091
+ t.textareaClass
22087
22092
  ]]),
22088
22093
  "data-cy": `${u.label.trim().replaceAll(" ", "")}-textarea`,
22089
22094
  onBlur: B[1] || (B[1] = (v) => k(V).validate()),