@comercti/vue-components-hmg 0.32.1 → 0.32.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 +1 -1
- package/comerc-style-guide.es.js +5 -7
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -8082,10 +8082,7 @@ const l2 = /* @__PURE__ */ G({
|
|
|
8082
8082
|
},
|
|
8083
8083
|
containerClasses: l
|
|
8084
8084
|
};
|
|
8085
|
-
}, vu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, hu = ["onClick", "disabled"], pu = {
|
|
8086
|
-
key: 0,
|
|
8087
|
-
class: "py-1"
|
|
8088
|
-
}, x2 = /* @__PURE__ */ G({
|
|
8085
|
+
}, vu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, hu = ["onClick", "disabled"], pu = { key: 0 }, x2 = /* @__PURE__ */ G({
|
|
8089
8086
|
__name: "ce-collapse",
|
|
8090
8087
|
props: {
|
|
8091
8088
|
items: { default: () => [] },
|
|
@@ -8200,7 +8197,8 @@ const l2 = /* @__PURE__ */ G({
|
|
|
8200
8197
|
isOpen: { type: Boolean, default: !1 },
|
|
8201
8198
|
background: { default: "1" },
|
|
8202
8199
|
closeOutside: { type: Boolean, default: !0 },
|
|
8203
|
-
showCloseButton: { type: Boolean, default: !1 }
|
|
8200
|
+
showCloseButton: { type: Boolean, default: !1 },
|
|
8201
|
+
width: { default: "w-auto" }
|
|
8204
8202
|
},
|
|
8205
8203
|
emits: ["close"],
|
|
8206
8204
|
setup(e, { emit: t }) {
|
|
@@ -8211,7 +8209,7 @@ const l2 = /* @__PURE__ */ G({
|
|
|
8211
8209
|
onClick: o[2] || (o[2] = (l) => e.closeOutside ? a("close", !1) : null)
|
|
8212
8210
|
}, [
|
|
8213
8211
|
i("div", {
|
|
8214
|
-
class: "h-auto min-w-32 flex flex-col items-center bg-white dark:bg-ce_black rounded-lg shadow-lg p-5 relative my-auto",
|
|
8212
|
+
class: y(["h-auto min-w-32 flex flex-col items-center bg-white dark:bg-ce_black rounded-lg shadow-lg p-5 relative my-auto", e.width]),
|
|
8215
8213
|
onClick: o[1] || (o[1] = Le(() => {
|
|
8216
8214
|
}, ["stop"]))
|
|
8217
8215
|
}, [
|
|
@@ -8228,7 +8226,7 @@ const l2 = /* @__PURE__ */ G({
|
|
|
8228
8226
|
}, null, 8, ["name"])
|
|
8229
8227
|
])) : M("", !0),
|
|
8230
8228
|
q(n.$slots, "default")
|
|
8231
|
-
])
|
|
8229
|
+
], 2)
|
|
8232
8230
|
], 2)) : M("", !0);
|
|
8233
8231
|
}
|
|
8234
8232
|
}), gt = E([]), Zt = E(!1);
|