@nmorph/nmorph-ui-kit 0.2.26 → 0.2.28
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/dist/index.es.js
CHANGED
|
@@ -4431,7 +4431,7 @@ const Fe = (e) => {
|
|
|
4431
4431
|
};
|
|
4432
4432
|
return { placement: h, placementCoords: d };
|
|
4433
4433
|
}, qx = () => {
|
|
4434
|
-
}, Jg = "@nmorph/nmorph-ui-kit", Qg = "module", Zg = "0.2.
|
|
4434
|
+
}, Jg = "@nmorph/nmorph-ui-kit", Qg = "module", Zg = "0.2.28", Ng = "MIT", Ig = {
|
|
4435
4435
|
node: "18.13.0",
|
|
4436
4436
|
npm: "8.19.3"
|
|
4437
4437
|
}, ew = "./dist/index.d.ts", tw = "./dist/index.umd.js", nw = "./dist/index.es.js", ow = "./dist/style.css", aw = [
|
|
@@ -4795,7 +4795,7 @@ const Vw = {
|
|
|
4795
4795
|
disabled: { type: Boolean, default: !1 },
|
|
4796
4796
|
modelValue: { type: Boolean, default: !1 },
|
|
4797
4797
|
label: { default: "" },
|
|
4798
|
-
|
|
4798
|
+
design: { default: "checkbox" }
|
|
4799
4799
|
},
|
|
4800
4800
|
emits: ["inputDOMRef", "update:modelValue"],
|
|
4801
4801
|
setup(e, { emit: t }) {
|
|
@@ -4819,13 +4819,13 @@ const Vw = {
|
|
|
4819
4819
|
}
|
|
4820
4820
|
}, y = _(
|
|
4821
4821
|
() => D({
|
|
4822
|
-
"nmorph-checkbox": [`${u.value && "checked"}`, `${r.disabled && "disabled"}`, r.
|
|
4822
|
+
"nmorph-checkbox": [`${u.value && "checked"}`, `${r.disabled && "disabled"}`, r.design]
|
|
4823
4823
|
})
|
|
4824
4824
|
);
|
|
4825
4825
|
return (M, V) => (o(), s("label", {
|
|
4826
4826
|
class: z(y.value)
|
|
4827
4827
|
}, [
|
|
4828
|
-
r.
|
|
4828
|
+
r.design === "checkbox" ? (o(), s("div", Vw, [
|
|
4829
4829
|
n("div", Hw, [
|
|
4830
4830
|
n("input", {
|
|
4831
4831
|
ref_key: "inputDOMRef",
|
|
@@ -4845,7 +4845,7 @@ const Vw = {
|
|
|
4845
4845
|
A(M.$slots, "default")
|
|
4846
4846
|
]))
|
|
4847
4847
|
])) : O("", !0),
|
|
4848
|
-
r.
|
|
4848
|
+
r.design === "button" ? (o(), s("div", Dw, [
|
|
4849
4849
|
n("input", {
|
|
4850
4850
|
ref_key: "inputDOMRef",
|
|
4851
4851
|
ref: i,
|