@nmorph/nmorph-ui-kit 0.2.24 → 0.2.26
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 +21 -21
- package/dist/index.umd.js +4 -4
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +1 -1
- package/dist/src/components/form/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +3 -3
- package/dist/src/components/form/checkbox/types.d.ts +3 -3
- package/dist/src/components/form/radio/types.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2856,13 +2856,13 @@ const Cf = /* @__PURE__ */ T({
|
|
|
2856
2856
|
emits: ["on-scroll", "update:modelValue", "on-scroll-end"],
|
|
2857
2857
|
setup(e, { expose: t, emit: a }) {
|
|
2858
2858
|
I((k) => ({
|
|
2859
|
-
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2862
|
-
"
|
|
2863
|
-
"
|
|
2864
|
-
"
|
|
2865
|
-
|
|
2859
|
+
b0004d9a: g.value,
|
|
2860
|
+
"494beda8": B.value,
|
|
2861
|
+
"122ffb6a": h.value,
|
|
2862
|
+
"18dc8a9d": d.value,
|
|
2863
|
+
"37ff63d2": i.value,
|
|
2864
|
+
"37ff63d0": r.value,
|
|
2865
|
+
"3624275e": $.value
|
|
2866
2866
|
}));
|
|
2867
2867
|
const l = e, r = _(() => l.scrollYProp), i = _(() => l.scrollXProp), h = _(() => l.scrollYProp !== "hidden" ? "--scrollbar-width" : "0"), d = _(() => l.scrollXProp !== "hidden" ? "--scrollbar-height" : "0");
|
|
2868
2868
|
let u;
|
|
@@ -2901,7 +2901,7 @@ const Cf = /* @__PURE__ */ T({
|
|
|
2901
2901
|
{ deep: !0, immediate: !0 }
|
|
2902
2902
|
);
|
|
2903
2903
|
const $ = _(() => l.cssScrollBehavior), g = _(() => l.height), B = _(() => l.maxHeight);
|
|
2904
|
-
return t({ scrollDOMContainer: w,
|
|
2904
|
+
return t({ scrollDOMContainer: w, moveTo: m }), (k, S) => (o(), s("div", {
|
|
2905
2905
|
ref_key: "scrollDOMContainer",
|
|
2906
2906
|
ref: w,
|
|
2907
2907
|
class: z(V.value),
|
|
@@ -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.26", 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
|
+
style: { 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.style]
|
|
4823
4823
|
})
|
|
4824
4824
|
);
|
|
4825
4825
|
return (M, V) => (o(), s("label", {
|
|
4826
4826
|
class: z(y.value)
|
|
4827
4827
|
}, [
|
|
4828
|
-
r.
|
|
4828
|
+
r.style === "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.style === "button" ? (o(), s("div", Dw, [
|
|
4849
4849
|
n("input", {
|
|
4850
4850
|
ref_key: "inputDOMRef",
|
|
4851
4851
|
ref: i,
|
|
@@ -4863,13 +4863,13 @@ const Vw = {
|
|
|
4863
4863
|
], 2));
|
|
4864
4864
|
}
|
|
4865
4865
|
});
|
|
4866
|
-
var k2 = /* @__PURE__ */ ((e) => (e
|
|
4866
|
+
var k2 = /* @__PURE__ */ ((e) => (e.checkbox = "checkbox", e.button = "button", e))(k2 || {});
|
|
4867
4867
|
const Pw = { class: "nmorph-checkbox-group__wrapper" }, Ew = { class: "nmorph-checkbox-group__content" }, Rw = /* @__PURE__ */ T({
|
|
4868
4868
|
__name: "NmorphCheckboxGroup",
|
|
4869
4869
|
props: {
|
|
4870
4870
|
modelValue: { default: () => [] },
|
|
4871
4871
|
options: { default: () => [] },
|
|
4872
|
-
styleType: { default: "checkbox
|
|
4872
|
+
styleType: { default: "checkbox" },
|
|
4873
4873
|
direction: { default: "row" },
|
|
4874
4874
|
height: {},
|
|
4875
4875
|
fill: { type: Boolean },
|
|
@@ -6354,7 +6354,7 @@ const Ve = (e) => {
|
|
|
6354
6354
|
}, C2 = (e) => {
|
|
6355
6355
|
const [t, a, l] = e, r = /* @__PURE__ */ new Date();
|
|
6356
6356
|
return r.setHours(t), r.setMinutes(a), r.setSeconds(l), r.setMilliseconds(0), r.getTime();
|
|
6357
|
-
}, nx = (e) => (R2("data-v-
|
|
6357
|
+
}, nx = (e) => (R2("data-v-e9167d49"), e = e(), F2(), e), ox = {
|
|
6358
6358
|
key: 0,
|
|
6359
6359
|
class: "nmorph-radio__content"
|
|
6360
6360
|
}, ax = { class: "nmorph-radio__input-wrapper" }, sx = ["name", "value", "checked"], lx = /* @__PURE__ */ nx(() => /* @__PURE__ */ n("div", { class: "nmorph-radio__fake" }, null, -1)), rx = {
|
|
@@ -6375,7 +6375,7 @@ const Ve = (e) => {
|
|
|
6375
6375
|
}, _x = /* @__PURE__ */ T({
|
|
6376
6376
|
__name: "NmorphRadio",
|
|
6377
6377
|
props: {
|
|
6378
|
-
styleType: { default: "button
|
|
6378
|
+
styleType: { default: "button" },
|
|
6379
6379
|
disabled: { type: Boolean, default: !1 },
|
|
6380
6380
|
label: { default: "" },
|
|
6381
6381
|
value: {}
|
|
@@ -6414,7 +6414,7 @@ const Ve = (e) => {
|
|
|
6414
6414
|
]),
|
|
6415
6415
|
r.label ? (o(), s("span", cx, R(r.label), 1)) : A(f.$slots, "label", { key: 1 }, void 0, !0)
|
|
6416
6416
|
])) : O("", !0),
|
|
6417
|
-
r.styleType === "button
|
|
6417
|
+
r.styleType === "button" ? (o(), s("div", ix, [
|
|
6418
6418
|
n("input", {
|
|
6419
6419
|
ref_key: "inputDOMRef",
|
|
6420
6420
|
ref: v,
|
|
@@ -6434,14 +6434,14 @@ const Ve = (e) => {
|
|
|
6434
6434
|
], 2));
|
|
6435
6435
|
}
|
|
6436
6436
|
});
|
|
6437
|
-
const S2 = /* @__PURE__ */ Ce(_x, [["__scopeId", "data-v-
|
|
6438
|
-
var A2 = /* @__PURE__ */ ((e) => (e["radio-style"] = "radio-style", e
|
|
6437
|
+
const S2 = /* @__PURE__ */ Ce(_x, [["__scopeId", "data-v-e9167d49"]]);
|
|
6438
|
+
var A2 = /* @__PURE__ */ ((e) => (e["radio-style"] = "radio-style", e.button = "button", e))(A2 || {});
|
|
6439
6439
|
const vx = { class: "nmorph-radio-group__wrapper" }, px = { class: "nmorph-radio-group__content" }, Ae = /* @__PURE__ */ T({
|
|
6440
6440
|
__name: "NmorphRadioGroup",
|
|
6441
6441
|
props: {
|
|
6442
6442
|
modelValue: { default: "" },
|
|
6443
6443
|
options: { default: () => [] },
|
|
6444
|
-
styleType: { default: "button
|
|
6444
|
+
styleType: { default: "button" },
|
|
6445
6445
|
direction: { default: "row" },
|
|
6446
6446
|
height: {},
|
|
6447
6447
|
fill: { type: Boolean },
|