sldeditor 0.19.0 → 0.19.1

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/sldeditor.js CHANGED
@@ -16934,24 +16934,34 @@ function wi() {
16934
16934
  }
16935
16935
  function s4({ tier: e }) {
16936
16936
  const t = Be(e, "tight"), n = y((i) => i.readOnly), [o, r] = Ck();
16937
- return /* @__PURE__ */ m(
16938
- "div",
16939
- {
16940
- className: "absolute z-20",
16941
- style: {
16942
- bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px))",
16943
- right: "calc(0.75rem + env(safe-area-inset-right, 0px))"
16944
- },
16945
- children: /* @__PURE__ */ I("div", { className: "ole-glass flex items-center gap-0.5 rounded-2xl border border-border p-1.5 shadow-sm", children: [
16946
- /* @__PURE__ */ m($k, {}),
16947
- !t && /* @__PURE__ */ m(Ek, {}),
16948
- /* @__PURE__ */ m(Ak, {}),
16949
- /* @__PURE__ */ m("div", { "aria-hidden": !0, className: "mx-1 h-4 w-px bg-border" }),
16950
- /* @__PURE__ */ m(Nk, {}),
16951
- /* @__PURE__ */ m(Tk, { grid: o, setGrid: r }),
16952
- !n && /* @__PURE__ */ m(i4, {})
16953
- ] })
16954
- }
16937
+ return (
16938
+ // z-50, not z-20: this container is its own stacking context, so the
16939
+ // Labels popover can never escape it however high the popover's own
16940
+ // z-index is. An embedding app that parks floating chrome over the
16941
+ // bottom-right corner — SmartSLD's help/feedback pills are `fixed z-40` —
16942
+ // would otherwise cover that popover and make its controls unclickable.
16943
+ // A toolbar's transient menu has to win over ambient host decoration.
16944
+ // Safe against host side panels: those are expected to move this toolbar
16945
+ // aside via `--ole-right-inset`, not to paint over it.
16946
+ /* @__PURE__ */ m(
16947
+ "div",
16948
+ {
16949
+ className: "absolute z-50",
16950
+ style: {
16951
+ bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px))",
16952
+ right: "calc(0.75rem + env(safe-area-inset-right, 0px))"
16953
+ },
16954
+ children: /* @__PURE__ */ I("div", { className: "ole-glass flex items-center gap-0.5 rounded-2xl border border-border p-1.5 shadow-sm", children: [
16955
+ /* @__PURE__ */ m($k, {}),
16956
+ !t && /* @__PURE__ */ m(Ek, {}),
16957
+ /* @__PURE__ */ m(Ak, {}),
16958
+ /* @__PURE__ */ m("div", { "aria-hidden": !0, className: "mx-1 h-4 w-px bg-border" }),
16959
+ /* @__PURE__ */ m(Nk, {}),
16960
+ /* @__PURE__ */ m(Tk, { grid: o, setGrid: r }),
16961
+ !n && /* @__PURE__ */ m(i4, {})
16962
+ ] })
16963
+ }
16964
+ )
16955
16965
  );
16956
16966
  }
16957
16967
  const vi = [