@comercti/vue-components-hmg 0.23.16 → 0.23.17
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 +4 -2
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +7 -0
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -7866,7 +7866,7 @@ const Wu = /* @__PURE__ */ X({
|
|
|
7866
7866
|
},
|
|
7867
7867
|
containerClasses: u
|
|
7868
7868
|
};
|
|
7869
|
-
}, tu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, au = ["onClick"], nu = {
|
|
7869
|
+
}, tu = { class: "flex gap-2 items-center p-4 text-left focus:outline-none justify-between" }, au = ["onClick", "disabled"], nu = {
|
|
7870
7870
|
key: 0,
|
|
7871
7871
|
class: "py-1"
|
|
7872
7872
|
}, s2 = /* @__PURE__ */ X({
|
|
@@ -7877,7 +7877,8 @@ const Wu = /* @__PURE__ */ X({
|
|
|
7877
7877
|
allOpen: { type: Boolean, default: !1 },
|
|
7878
7878
|
variant: { default: "accordion" },
|
|
7879
7879
|
direction: { default: "row" },
|
|
7880
|
-
closeCollapse: { default: null }
|
|
7880
|
+
closeCollapse: { default: null },
|
|
7881
|
+
disabled: { default: () => ({ field: "", value: "" }) }
|
|
7881
7882
|
},
|
|
7882
7883
|
emits: ["toggle-collapse"],
|
|
7883
7884
|
setup(e, { emit: t }) {
|
|
@@ -7899,6 +7900,7 @@ const Wu = /* @__PURE__ */ X({
|
|
|
7899
7900
|
N(g.$slots, "header", { item: k }),
|
|
7900
7901
|
s("button", {
|
|
7901
7902
|
onClick: (y) => r(l)(v, k),
|
|
7903
|
+
disabled: k[e.disabled.field] === e.disabled.value,
|
|
7902
7904
|
class: "text-left focus:outline-none",
|
|
7903
7905
|
type: "button"
|
|
7904
7906
|
}, [
|