@nmorph/nmorph-ui-kit 0.2.114 → 0.2.115
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 +11 -7
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4618,7 +4618,7 @@ const Je = (t) => {
|
|
|
4618
4618
|
};
|
|
4619
4619
|
return { placement: c, placementCoords: u };
|
|
4620
4620
|
}, B9 = () => {
|
|
4621
|
-
}, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.
|
|
4621
|
+
}, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.115", Yu = "MIT", Gu = {
|
|
4622
4622
|
node: "18.13.0",
|
|
4623
4623
|
npm: "8.19.3"
|
|
4624
4624
|
}, Qu = "./dist/index.d.ts", Ku = "./dist/index.umd.js", Zu = "./dist/index.es.js", Xu = "./dist/style.css", Ju = [
|
|
@@ -4959,15 +4959,17 @@ const Je = (t) => {
|
|
|
4959
4959
|
},
|
|
4960
4960
|
setup(t) {
|
|
4961
4961
|
J((x) => ({
|
|
4962
|
-
|
|
4962
|
+
"4cca3c7a": m.value
|
|
4963
4963
|
}));
|
|
4964
4964
|
const e = t, l = y(e.forceShow), r = y(null), s = y(null), { placement: d } = B2({
|
|
4965
4965
|
initialPlacement: e.position,
|
|
4966
4966
|
contentDOMElement: r,
|
|
4967
4967
|
relativeElement: s
|
|
4968
|
-
}), c = h(
|
|
4969
|
-
|
|
4970
|
-
|
|
4968
|
+
}), c = h(
|
|
4969
|
+
() => A({
|
|
4970
|
+
"nmorph-tooltip": [d.value, `${(e.forceCoordinate.x || e.forceCoordinate.y) && "force-coords"}`]
|
|
4971
|
+
})
|
|
4972
|
+
), u = () => {
|
|
4971
4973
|
l.value = !0;
|
|
4972
4974
|
}, v = () => {
|
|
4973
4975
|
e.forceShow || (l.value = !1);
|
|
@@ -4996,14 +4998,16 @@ const Je = (t) => {
|
|
|
4996
4998
|
default: q(() => [
|
|
4997
4999
|
l.value && e.text ? (a(), o("div", {
|
|
4998
5000
|
key: 0,
|
|
4999
|
-
class: "nmorph-tooltip__info-content",
|
|
5001
|
+
class: B(["nmorph-tooltip__info-content", [
|
|
5002
|
+
{ "nmorph-tooltip__info-content--force-coords": e.forceCoordinate.x || e.forceCoordinate.y }
|
|
5003
|
+
]]),
|
|
5000
5004
|
style: I({ left: x.forceCoordinate?.x, bottom: x.forceCoordinate?.y })
|
|
5001
5005
|
}, [
|
|
5002
5006
|
n("div", pc, [
|
|
5003
5007
|
e.forceCoordinate ? O("", !0) : (a(), o("div", mc)),
|
|
5004
5008
|
n("span", null, F(x.text), 1)
|
|
5005
5009
|
])
|
|
5006
|
-
],
|
|
5010
|
+
], 6)) : O("", !0)
|
|
5007
5011
|
]),
|
|
5008
5012
|
_: 1
|
|
5009
5013
|
})) : (a(), E(_e, {
|