@nmorph/nmorph-ui-kit 0.2.72 → 0.2.73
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 +13 -13
- package/dist/index.umd.js +1 -1
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -4
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -41,7 +41,7 @@ const Q2 = (e, t) => {
|
|
|
41
41
|
loading: { type: Boolean, default: !1 },
|
|
42
42
|
ripple: { type: Boolean, default: !0 },
|
|
43
43
|
type: { default: "button" },
|
|
44
|
-
text: { default:
|
|
44
|
+
text: { default: void 0 },
|
|
45
45
|
accentBgOnHover: { type: Boolean, default: !1 },
|
|
46
46
|
shape: { default: "default" },
|
|
47
47
|
icon: { default: void 0 },
|
|
@@ -85,7 +85,7 @@ const Q2 = (e, t) => {
|
|
|
85
85
|
name: l.icon
|
|
86
86
|
}, null, 8, ["name"])) : (o(), s("div", I2, [
|
|
87
87
|
S(p.$slots, "default"),
|
|
88
|
-
!l.loading && l.text !==
|
|
88
|
+
!l.loading && l.text !== void 0 ? (o(), s("span", et, R(l.text), 1)) : O("", !0),
|
|
89
89
|
l.loading ? (o(), q(v(P), {
|
|
90
90
|
key: 1,
|
|
91
91
|
name: "loader",
|
|
@@ -2956,15 +2956,15 @@ const Of = /* @__PURE__ */ D({
|
|
|
2956
2956
|
shape: { default: "circle" },
|
|
2957
2957
|
src: {},
|
|
2958
2958
|
srcSet: {},
|
|
2959
|
-
fit: {
|
|
2959
|
+
fit: {},
|
|
2960
2960
|
alt: {}
|
|
2961
2961
|
},
|
|
2962
2962
|
emits: ["error", "load"],
|
|
2963
2963
|
setup(e, { emit: t }) {
|
|
2964
2964
|
I((y) => ({
|
|
2965
|
-
"
|
|
2966
|
-
|
|
2967
|
-
"
|
|
2965
|
+
"64f7d7ac": h.value,
|
|
2966
|
+
af55ff88: b.value,
|
|
2967
|
+
"7aa03a7b": f.value
|
|
2968
2968
|
}));
|
|
2969
2969
|
const a = e, l = t, r = w(!1), c = _(
|
|
2970
2970
|
() => A({
|
|
@@ -2979,12 +2979,12 @@ const Of = /* @__PURE__ */ D({
|
|
|
2979
2979
|
class: z(c.value)
|
|
2980
2980
|
}, [
|
|
2981
2981
|
k(v($e), {
|
|
2982
|
-
onLoad: d,
|
|
2983
|
-
onError: u,
|
|
2984
2982
|
fit: a.fit,
|
|
2985
2983
|
src: a.src,
|
|
2986
2984
|
"src-set": a.srcSet,
|
|
2987
|
-
alt: a.alt
|
|
2985
|
+
alt: a.alt,
|
|
2986
|
+
onLoad: d,
|
|
2987
|
+
onError: u
|
|
2988
2988
|
}, {
|
|
2989
2989
|
error: E(() => [
|
|
2990
2990
|
k(v(P), {
|
|
@@ -3016,7 +3016,7 @@ const Pf = {
|
|
|
3016
3016
|
},
|
|
3017
3017
|
setup(e) {
|
|
3018
3018
|
I((p) => ({
|
|
3019
|
-
"
|
|
3019
|
+
"4ef757c0": p.color
|
|
3020
3020
|
}));
|
|
3021
3021
|
const t = e, a = _(
|
|
3022
3022
|
() => A({
|
|
@@ -3027,7 +3027,7 @@ const Pf = {
|
|
|
3027
3027
|
"nmorph-badge__container": [`${t.hidden && "hidden"}`]
|
|
3028
3028
|
})
|
|
3029
3029
|
), r = _(() => typeof Number(t.value) == "number" && Number(t.value) > t.max ? `${t.max}+` : t.value), c = _(() => {
|
|
3030
|
-
const p =
|
|
3030
|
+
const p = `${d?.value / 2 + t.offsetX}px`, f = `${h?.value / 2 + t.offsetY}px`;
|
|
3031
3031
|
return {
|
|
3032
3032
|
x: p,
|
|
3033
3033
|
y: f
|
|
@@ -3553,7 +3553,7 @@ const eg = ["src", "alt", "srcset"], tg = {
|
|
|
3553
3553
|
emits: ["error", "load"],
|
|
3554
3554
|
setup(e, { emit: t }) {
|
|
3555
3555
|
I((b) => ({
|
|
3556
|
-
"
|
|
3556
|
+
"34158fac": f.value
|
|
3557
3557
|
}));
|
|
3558
3558
|
const a = e, l = w(!1), r = w(!1), c = t, u = (b) => {
|
|
3559
3559
|
l.value = !0, r.value = !1, c("load", b);
|
|
@@ -4468,7 +4468,7 @@ const Le = (e) => {
|
|
|
4468
4468
|
};
|
|
4469
4469
|
return { placement: u, placementCoords: d };
|
|
4470
4470
|
}, Wx = () => {
|
|
4471
|
-
}, Zg = "@nmorph/nmorph-ui-kit", Ng = "module", Ig = "0.2.
|
|
4471
|
+
}, Zg = "@nmorph/nmorph-ui-kit", Ng = "module", Ig = "0.2.73", ew = "MIT", tw = {
|
|
4472
4472
|
node: "18.13.0",
|
|
4473
4473
|
npm: "8.19.3"
|
|
4474
4474
|
}, nw = "./dist/index.d.ts", ow = "./dist/index.umd.js", aw = "./dist/index.es.js", sw = "./dist/style.css", lw = [
|