@nmorph/nmorph-ui-kit 0.2.115 → 0.2.117

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
@@ -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.115", Yu = "MIT", Gu = {
4621
+ }, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.117", 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,7 +4959,7 @@ const Je = (t) => {
4959
4959
  },
4960
4960
  setup(t) {
4961
4961
  J((x) => ({
4962
- "4cca3c7a": m.value
4962
+ "76576db6": 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,
@@ -4967,7 +4967,10 @@ const Je = (t) => {
4967
4967
  relativeElement: s
4968
4968
  }), c = h(
4969
4969
  () => A({
4970
- "nmorph-tooltip": [d.value, `${(e.forceCoordinate.x || e.forceCoordinate.y) && "force-coords"}`]
4970
+ "nmorph-tooltip": [
4971
+ d.value,
4972
+ `${!!e.forceCoordinate?.x && !!e.forceCoordinate?.y && "force-coords"}`
4973
+ ]
4971
4974
  })
4972
4975
  ), u = () => {
4973
4976
  l.value = !0;
@@ -4998,16 +5001,14 @@ const Je = (t) => {
4998
5001
  default: q(() => [
4999
5002
  l.value && e.text ? (a(), o("div", {
5000
5003
  key: 0,
5001
- class: B(["nmorph-tooltip__info-content", [
5002
- { "nmorph-tooltip__info-content--force-coords": e.forceCoordinate.x || e.forceCoordinate.y }
5003
- ]]),
5004
+ class: "nmorph-tooltip__info-content",
5004
5005
  style: I({ left: x.forceCoordinate?.x, bottom: x.forceCoordinate?.y })
5005
5006
  }, [
5006
5007
  n("div", pc, [
5007
5008
  e.forceCoordinate ? O("", !0) : (a(), o("div", mc)),
5008
5009
  n("span", null, F(x.text), 1)
5009
5010
  ])
5010
- ], 6)) : O("", !0)
5011
+ ], 4)) : O("", !0)
5011
5012
  ]),
5012
5013
  _: 1
5013
5014
  })) : (a(), E(_e, {