@comercti/react-components-hmg 0.23.1 → 0.23.3
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/comerc-style-guide.cjs.js +2 -2
- package/comerc-style-guide.es.js +5 -4
- package/comerc-style-guide.umd.js +2 -2
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -25,7 +25,8 @@ const pn = ["id", ".indeterminate", "checked", "disabled"], bn = { class: "flex-
|
|
|
25
25
|
disabled: { type: Boolean, default: !1 },
|
|
26
26
|
block: { type: Boolean, default: !1 },
|
|
27
27
|
indeterminate: { type: Boolean, default: !1 },
|
|
28
|
-
reserveSpaceFeedback: { type: Boolean, default: !0 }
|
|
28
|
+
reserveSpaceFeedback: { type: Boolean, default: !0 },
|
|
29
|
+
clickDisabled: { type: Boolean, default: !1 }
|
|
29
30
|
},
|
|
30
31
|
emits: ["update:modelValue", "change"],
|
|
31
32
|
setup(e, { expose: t, emit: a }) {
|
|
@@ -74,7 +75,7 @@ const pn = ["id", ".indeterminate", "checked", "disabled"], bn = { class: "flex-
|
|
|
74
75
|
class: "sr-only peer",
|
|
75
76
|
".indeterminate": e.indeterminate,
|
|
76
77
|
checked: c.value,
|
|
77
|
-
disabled: e.disabled,
|
|
78
|
+
disabled: e.disabled || e.clickDisabled,
|
|
78
79
|
onChange: f
|
|
79
80
|
}, null, 40, pn),
|
|
80
81
|
s("div", {
|
|
@@ -4233,7 +4234,7 @@ const Ul = /* @__PURE__ */ pt(Il, [["render", ql]]), Zl = ["id", "checked", "dis
|
|
|
4233
4234
|
N(c.$slots, "default")
|
|
4234
4235
|
], 16));
|
|
4235
4236
|
}
|
|
4236
|
-
}), Ys = { class: "
|
|
4237
|
+
}), Ys = { class: "flex flex-col gap-2" }, Gs = { class: "shadow-[0px 1px 2px 0px #1018280D] border-[1px] border-[#E5E5E5] rounded-md p-2 mb-3" }, Js = ["for"], Ks = {
|
|
4237
4238
|
key: 0,
|
|
4238
4239
|
class: "text-[#525252] dark:text-ce_light_gray font-[400]"
|
|
4239
4240
|
}, _s = ["id", "multiple", "disabled", "accept"], ei = ["for"], ti = { class: "font-semibold" }, ai = ["id", "multiple", "disabled", "accept"], ni = {
|
|
@@ -4404,7 +4405,7 @@ const Ul = /* @__PURE__ */ pt(Il, [["render", ql]]), Zl = ["id", "checked", "dis
|
|
|
4404
4405
|
"border-[#C0002B]": r(f) || e.invalid || e.invalidFeedback,
|
|
4405
4406
|
"border-gray-300": !r(f) && !r(c) && !r(g) && !e.invalid && !e.invalidFeedback
|
|
4406
4407
|
}
|
|
4407
|
-
], "border flex flex-row items-center justify-center rounded-lg p-2 gap-2"]),
|
|
4408
|
+
], "border flex flex-row items-center justify-center rounded-lg p-2 gap-2 h-12"]),
|
|
4408
4409
|
onDragover: V[7] || (V[7] = //@ts-ignore
|
|
4409
4410
|
(...D) => r(I) && r(I)(...D)),
|
|
4410
4411
|
onDragleave: V[8] || (V[8] = //@ts-ignore
|