@mt-gloss/ui 0.1.97 → 0.1.98

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.
Files changed (2) hide show
  1. package/index.js +2 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4168,10 +4168,8 @@ const Ia = {
4168
4168
  zIndex: 9999
4169
4169
  };
4170
4170
  function Ea(e) {
4171
- const { anchorRef: t, placement: n, gap: a, offset: i, dataHost: s, isOpen: o = !0, className: l, children: m } = e;
4172
- if (typeof window > "u" || typeof document > "u" || !o) return null;
4173
- const { style: c } = Pa({ anchorRef: t, placement: n, gap: a, offset: i, isOpen: o });
4174
- return Ee(
4171
+ const { anchorRef: t, placement: n, gap: a, offset: i, dataHost: s, isOpen: o = !0, className: l, children: m } = e, { style: c } = Pa({ anchorRef: t, placement: n, gap: a, offset: i, isOpen: o });
4172
+ return typeof window > "u" || typeof document > "u" || !o ? null : Ee(
4175
4173
  /* @__PURE__ */ r("div", { "data-portal-host": s, className: l, style: { ...Ia, ...c }, children: m }),
4176
4174
  document.body
4177
4175
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.1.97",
3
+ "version": "0.1.98",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"