@mt-gloss/ui 0.1.136 → 0.1.137

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.
@@ -363,7 +363,7 @@ function be() {
363
363
  function Pe() {
364
364
  return W(V);
365
365
  }
366
- const De = K.number().min(7).max(90), xe = K.array(K.string().min(1)).max(3);
366
+ const De = K.number().min(7).max(90), xe = K.array(K.string().min(1)).max(6);
367
367
  function Ne(e, n) {
368
368
  if (e === "timeframe") {
369
369
  const t = De.safeParse(n);
@@ -1,5 +1,5 @@
1
- import { u as D, g as J, h as z, f as we, S as Te, b as xe, j as Ee } from "./COMMITS-B_qGBoy7.js";
2
- import { C as Rt, N as Ft, n as zt, o as Ht, k as Bt, c as Yt, m as Vt, P as Ut, l as Kt, e as qt, i as Gt, r as Qt, d as Wt } from "./COMMITS-B_qGBoy7.js";
1
+ import { u as D, g as J, h as z, f as we, S as Te, b as xe, j as Ee } from "./COMMITS-B7dc_-m8.js";
2
+ import { C as Rt, N as Ft, n as zt, o as Ht, k as Bt, c as Yt, m as Vt, P as Ut, l as Kt, e as qt, i as Gt, r as Qt, d as Wt } from "./COMMITS-B7dc_-m8.js";
3
3
  import { jsx as a, jsxs as y, Fragment as pe } from "react/jsx-runtime";
4
4
  import B, { useState as x, useRef as U, createContext as me, useContext as he, useMemo as re, useEffect as F, useCallback as L, useLayoutEffect as Ae } from "react";
5
5
  import { useSensors as De, useSensor as oe, PointerSensor as ke, KeyboardSensor as Le, DndContext as Me, closestCenter as Oe } from "@dnd-kit/core";
@@ -13,8 +13,8 @@ function St() {
13
13
  return t?.kind === "card-overflow" ? t.cardId : null;
14
14
  }
15
15
  function fe({ span: e, rotating: t = !0, children: s }) {
16
- const l = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), n = s != null ? "full" : "fallback";
17
- return /* @__PURE__ */ a("div", { className: l, "data-clone-fidelity": n, children: s });
16
+ const o = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), n = s != null ? "full" : "fallback";
17
+ return /* @__PURE__ */ a("div", { className: o, "data-clone-fidelity": n, children: s });
18
18
  }
19
19
  function Pt({ primary: e, secondary: t }) {
20
20
  return /* @__PURE__ */ y("div", { className: "gloss-panel-chrome-v2__footer-msg", children: [
@@ -54,8 +54,8 @@ function Ye({
54
54
  onActivate: t,
55
55
  disabled: s
56
56
  }) {
57
- const l = "settings-shell__slot-pill settings-shell__slot-pill--ghost" + (s ? " settings-shell__slot-pill--ghost-disabled" : "");
58
- return /* @__PURE__ */ a("li", { className: l, "data-ghost": "true", children: /* @__PURE__ */ a(
57
+ const o = "settings-shell__slot-pill settings-shell__slot-pill--ghost" + (s ? " settings-shell__slot-pill--ghost-disabled" : "");
58
+ return /* @__PURE__ */ a("li", { className: o, "data-ghost": "true", children: /* @__PURE__ */ a(
59
59
  "button",
60
60
  {
61
61
  type: "button",
@@ -72,7 +72,7 @@ function Ve({
72
72
  onRemove: t,
73
73
  removeDisabled: s
74
74
  }) {
75
- const { attributes: l, listeners: n, setNodeRef: c, transform: p, transition: r, isDragging: i } = ze({ id: e }), o = {
75
+ const { attributes: o, listeners: n, setNodeRef: c, transform: p, transition: r, isDragging: i } = ze({ id: e }), l = {
76
76
  transform: He.Transform.toString(p),
77
77
  transition: r,
78
78
  opacity: i ? 0.6 : 1
@@ -81,7 +81,7 @@ function Ve({
81
81
  "li",
82
82
  {
83
83
  ref: c,
84
- style: o,
84
+ style: l,
85
85
  className: `settings-shell__slot-pill${i ? " settings-shell__slot-pill--dragging" : ""}`,
86
86
  children: [
87
87
  /* @__PURE__ */ a(
@@ -90,7 +90,7 @@ function Ve({
90
90
  type: "button",
91
91
  className: "settings-shell__slot-pill__handle",
92
92
  "aria-label": `Reorder ${e}`,
93
- ...l,
93
+ ...o,
94
94
  ...n,
95
95
  children: /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "settings-shell__slot-pill__grip", children: "⋮⋮" })
96
96
  }
@@ -116,7 +116,7 @@ function Ue({
116
116
  onChange: t,
117
117
  naturalSlots: s
118
118
  }) {
119
- const l = De(
119
+ const o = De(
120
120
  oe(ke, { activationConstraint: { distance: 4 } }),
121
121
  oe(Le, { coordinateGetter: Ie })
122
122
  ), n = (d) => {
@@ -129,11 +129,11 @@ function Ue({
129
129
  }, r = B.useMemo(() => new Set(e), [e]), i = B.useMemo(
130
130
  () => (s ?? []).filter((d) => !r.has(d)),
131
131
  [s, r]
132
- ), o = e.length >= 3, u = (d) => {
133
- o || t([...e, d]);
132
+ ), l = !1, u = (d) => {
133
+ t([...e, d]);
134
134
  };
135
135
  return /* @__PURE__ */ y("div", { className: "settings-shell__field settings-shell__field--slots", "aria-label": "Stack slots", children: [
136
- /* @__PURE__ */ a(Me, { sensors: l, collisionDetection: Oe, onDragEnd: n, children: /* @__PURE__ */ a($e, { items: [...e], strategy: Re, children: /* @__PURE__ */ y("ul", { className: "settings-shell__slots-list", role: "list", children: [
136
+ /* @__PURE__ */ a(Me, { sensors: o, collisionDetection: Oe, onDragEnd: n, children: /* @__PURE__ */ a($e, { items: [...e], strategy: Re, children: /* @__PURE__ */ y("ul", { className: "settings-shell__slots-list", role: "list", children: [
137
137
  e.map((d) => /* @__PURE__ */ a(
138
138
  Ve,
139
139
  {
@@ -148,7 +148,7 @@ function Ue({
148
148
  {
149
149
  id: d,
150
150
  onActivate: () => u(d),
151
- disabled: o
151
+ disabled: l
152
152
  },
153
153
  `ghost:${d}`
154
154
  ))
@@ -161,30 +161,30 @@ function wt({
161
161
  isOpen: e,
162
162
  cardSpan: t,
163
163
  cardLabel: s = "Metric",
164
- cardValue: l = "—",
164
+ cardValue: o = "—",
165
165
  previewSlot: n,
166
166
  dimensions: c = qe,
167
167
  initialTab: p,
168
168
  initialValues: r,
169
169
  naturalSlots: i
170
170
  }) {
171
- const o = D(), u = o?.state.activeTrigger, d = u?.kind === "card-overflow" ? u.cardId : null, h = J(), g = u?.span, m = t ?? g ?? 1, _ = c[0] ?? "timeframe", [v, N] = B.useState(p ?? _);
171
+ const l = D(), u = l?.state.activeTrigger, d = u?.kind === "card-overflow" ? u.cardId : null, h = J(), g = u?.span, m = t ?? g ?? 1, _ = c[0] ?? "timeframe", [v, N] = B.useState(p ?? _);
172
172
  B.useEffect(() => {
173
173
  c.includes(v) || N(_);
174
174
  }, [c, v, _]);
175
- const C = d != null ? o?.state?.bufferByCard?.[d]?.changes ?? {} : {}, O = typeof C.timeframe == "number" ? C.timeframe : typeof r?.timeframe == "number" ? r.timeframe : 30, I = Array.isArray(C.slots) ? C.slots : Array.isArray(r?.slots) ? r.slots : Ke, $ = (R) => {
176
- d == null || o == null || o.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "timeframe", value: Number(R.target.value) });
175
+ const C = d != null ? l?.state?.bufferByCard?.[d]?.changes ?? {} : {}, O = typeof C.timeframe == "number" ? C.timeframe : typeof r?.timeframe == "number" ? r.timeframe : 30, I = Array.isArray(C.slots) ? C.slots : Array.isArray(r?.slots) ? r.slots : Ke, $ = (R) => {
176
+ d == null || l == null || l.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "timeframe", value: Number(R.target.value) });
177
177
  }, S = (R) => {
178
- d == null || o == null || o.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: R });
179
- }, E = o?.state.isDirty ?? !1, H = d;
178
+ d == null || l == null || l.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: R });
179
+ }, E = l?.state.isDirty ?? !1, H = d;
180
180
  return /* @__PURE__ */ a(
181
181
  z,
182
182
  {
183
183
  variant: "with-stage",
184
- onClose: () => o?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
184
+ onClose: () => l?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
185
185
  stage: /* @__PURE__ */ a(fe, { span: m, rotating: !h, children: n ?? /* @__PURE__ */ y(pe, { children: [
186
186
  /* @__PURE__ */ a("div", { style: { fontSize: 9, textTransform: "uppercase", letterSpacing: "0.06em", color: "#9ca3af", marginBottom: 6 }, children: s }),
187
- /* @__PURE__ */ a("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: l })
187
+ /* @__PURE__ */ a("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: o })
188
188
  ] }) }),
189
189
  navigation: /* @__PURE__ */ a(
190
190
  we,
@@ -204,7 +204,7 @@ function wt({
204
204
  className: "gloss-panel-chrome-v2__footer-btn",
205
205
  disabled: !E,
206
206
  onClick: () => {
207
- H != null && o?.dispatch({ type: "CLEAR_BUFFER", cardId: H });
207
+ H != null && l?.dispatch({ type: "CLEAR_BUFFER", cardId: H });
208
208
  },
209
209
  children: "Reset"
210
210
  }
@@ -216,7 +216,7 @@ function wt({
216
216
  type: "button",
217
217
  className: "gloss-panel-chrome-v2__footer-btn gloss-panel-chrome-v2__footer-btn--primary",
218
218
  disabled: !E,
219
- onClick: () => o?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }),
219
+ onClick: () => l?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }),
220
220
  children: "Apply"
221
221
  }
222
222
  )
@@ -242,7 +242,7 @@ function Ge({
242
242
  isOpen: e,
243
243
  cardSpan: t,
244
244
  previewSlot: s,
245
- metricInfo: l
245
+ metricInfo: o
246
246
  }) {
247
247
  const n = D(), c = n?.state.activeTrigger, p = J(), r = c?.span;
248
248
  return /* @__PURE__ */ a(
@@ -258,8 +258,8 @@ function Ge({
258
258
  "data-shell": "metric-info",
259
259
  "aria-hidden": !e,
260
260
  children: [
261
- /* @__PURE__ */ a("h2", { className: "metric-info-shell__title", children: l.title }),
262
- /* @__PURE__ */ a("p", { className: "metric-info-shell__description", children: l.description })
261
+ /* @__PURE__ */ a("h2", { className: "metric-info-shell__title", children: o.title }),
262
+ /* @__PURE__ */ a("p", { className: "metric-info-shell__description", children: o.description })
263
263
  ]
264
264
  }
265
265
  )
@@ -588,10 +588,10 @@ function Ce({
588
588
  lenses: e,
589
589
  activeLens: t,
590
590
  onLensChange: s,
591
- variant: l = "pills",
591
+ variant: o = "pills",
592
592
  lensMeta: n = be
593
593
  }) {
594
- return l === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((c) => {
594
+ return o === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((c) => {
595
595
  const p = c === t, r = n[c], i = ["cat-pill"];
596
596
  return p && i.push("active"), /* @__PURE__ */ y(
597
597
  "button",
@@ -618,11 +618,11 @@ function Qe({
618
618
  activeLens: t,
619
619
  onLensChange: s
620
620
  }) {
621
- const [l, n] = x(!1), c = U(null), p = () => {
621
+ const [o, n] = x(!1), c = U(null), p = () => {
622
622
  c.current != null && (window.clearTimeout(c.current), c.current = null);
623
623
  }, r = () => {
624
624
  p(), c.current = window.setTimeout(() => n(!1), 100);
625
- }, i = e.filter((o) => o !== t);
625
+ }, i = e.filter((l) => l !== t);
626
626
  return /* @__PURE__ */ a("div", { className: "cat-segmented-wrap", children: /* @__PURE__ */ y("div", { className: "cat-segmented", children: [
627
627
  /* @__PURE__ */ a(
628
628
  "button",
@@ -643,26 +643,26 @@ function Qe({
643
643
  },
644
644
  onMouseLeave: r,
645
645
  children: [
646
- /* @__PURE__ */ a("button", { type: "button", className: "cat-seg cat-seg-more-btn", "aria-haspopup": "menu", "aria-expanded": l, children: "More ▾" }),
647
- l && /* @__PURE__ */ a(
646
+ /* @__PURE__ */ a("button", { type: "button", className: "cat-seg cat-seg-more-btn", "aria-haspopup": "menu", "aria-expanded": o, children: "More ▾" }),
647
+ o && /* @__PURE__ */ a(
648
648
  "div",
649
649
  {
650
650
  className: "cat-seg-overflow",
651
651
  role: "menu",
652
652
  onMouseEnter: p,
653
653
  onMouseLeave: r,
654
- children: i.map((o) => /* @__PURE__ */ a(
654
+ children: i.map((l) => /* @__PURE__ */ a(
655
655
  "button",
656
656
  {
657
657
  type: "button",
658
- "data-lens": o,
658
+ "data-lens": l,
659
659
  role: "menuitem",
660
660
  onClick: () => {
661
- s(o), n(!1);
661
+ s(l), n(!1);
662
662
  },
663
- children: o
663
+ children: l
664
664
  },
665
- o
665
+ l
666
666
  ))
667
667
  }
668
668
  )
@@ -671,14 +671,14 @@ function Qe({
671
671
  )
672
672
  ] }) });
673
673
  }
674
- function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: l }) {
674
+ function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: o }) {
675
675
  return /* @__PURE__ */ a("div", { className: "cat-tiles", children: e.map((n) => {
676
676
  const c = n.id === t, p = n.subStats != null && n.subStats.length > 0;
677
677
  let r = null;
678
678
  p ? n.subStats.length === 5 ? r = "span-5" : n.subStats.length === 3 ? r = "span-3" : r = "span-2" : n.stack === !0 && (r = "span-2");
679
679
  const i = ["cat-tile"];
680
680
  r && i.push(r), c && i.push("selected"), n.isNew && i.push("is-new"), n.startHere && i.push("start-here"), n.donut && i.push("has-donut");
681
- const o = 1;
681
+ const l = 1;
682
682
  let u = 0.7;
683
683
  if (n.donut) {
684
684
  const d = /([\d.]+)\s*%/.exec(n.value);
@@ -694,7 +694,7 @@ function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: l }) {
694
694
  className: i.join(" "),
695
695
  "data-metric": n.id,
696
696
  "data-desc": n.desc,
697
- "data-col-span": String(o),
697
+ "data-col-span": String(l),
698
698
  "data-donut": n.donut ? "true" : void 0,
699
699
  "data-accent": n.accent,
700
700
  "aria-pressed": c,
@@ -702,7 +702,7 @@ function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: l }) {
702
702
  style: n.accent ? { "--cat-tile-accent": n.accent } : void 0,
703
703
  children: [
704
704
  n.startHere && /* @__PURE__ */ a("span", { className: "cat-tile-start-here", "aria-hidden": "true", children: "START HERE" }),
705
- l ? l(n) : /* @__PURE__ */ a(
705
+ o ? o(n) : /* @__PURE__ */ a(
706
706
  "div",
707
707
  {
708
708
  className: "cat-tile-primitive-wrapper gloss-metric-card",
@@ -718,7 +718,7 @@ function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: l }) {
718
718
  donutValue: u,
719
719
  donutMax: 1,
720
720
  accentColor: n.accent,
721
- colSpan: o
721
+ colSpan: l
722
722
  }
723
723
  ) : /* @__PURE__ */ a(
724
724
  le,
@@ -726,7 +726,7 @@ function Z({ tiles: e, selectedTileId: t, onSelectTile: s, renderTile: l }) {
726
726
  variant: "standard",
727
727
  label: n.label,
728
728
  value: n.value,
729
- colSpan: o
729
+ colSpan: l
730
730
  }
731
731
  )
732
732
  }
@@ -746,7 +746,7 @@ function te() {
746
746
  function Tt({ mode: e, dispatch: t }) {
747
747
  const s = te();
748
748
  if (s == null && e == null) return null;
749
- const l = s?.mode ?? e ?? "add", n = s?.selectedTileId ?? null, c = s?.description ?? null, p = n == null;
749
+ const o = s?.mode ?? e ?? "add", n = s?.selectedTileId ?? null, c = s?.description ?? null, p = n == null;
750
750
  return /* @__PURE__ */ y("div", { className: "panel-footer catalog", children: [
751
751
  /* @__PURE__ */ a("div", { className: "cat-description", id: "cat-desc", children: c ?? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) }),
752
752
  /* @__PURE__ */ y("div", { style: { display: "flex", padding: "10px 14px", gap: 8 }, children: [
@@ -761,7 +761,7 @@ function Tt({ mode: e, dispatch: t }) {
761
761
  children: "Cancel"
762
762
  }
763
763
  ),
764
- l === "add" && /* @__PURE__ */ a(
764
+ o === "add" && /* @__PURE__ */ a(
765
765
  "button",
766
766
  {
767
767
  id: "btn-cat-add",
@@ -772,7 +772,7 @@ function Tt({ mode: e, dispatch: t }) {
772
772
  children: "Add metric"
773
773
  }
774
774
  ),
775
- l === "replace" && /* @__PURE__ */ a(
775
+ o === "replace" && /* @__PURE__ */ a(
776
776
  "button",
777
777
  {
778
778
  id: "btn-cat-replace",
@@ -791,8 +791,8 @@ function ie(e, t) {
791
791
  const s = t.toLowerCase();
792
792
  if (e.label.toLowerCase().includes(s) || e.value.toLowerCase().includes(s)) return !0;
793
793
  if (e.subStats) {
794
- for (const l of e.subStats)
795
- if (l.label.toLowerCase().includes(s) || l.value.toLowerCase().includes(s)) return !0;
794
+ for (const o of e.subStats)
795
+ if (o.label.toLowerCase().includes(s) || o.value.toLowerCase().includes(s)) return !0;
796
796
  }
797
797
  return !1;
798
798
  }
@@ -804,12 +804,12 @@ function xt({
804
804
  isOpen: e,
805
805
  lenses: t = ge,
806
806
  defaultLens: s = ye,
807
- tilesByLens: l = ve,
807
+ tilesByLens: o = ve,
808
808
  lensMeta: n = be,
809
809
  renderTile: c,
810
810
  onAdd: p
811
811
  }) {
812
- const r = D(), [i, o] = x(s), [u, d] = x(null), [h, g] = x(null), [m, _] = x(""), v = l[i] ?? { primary: [] }, N = n[i], w = re(
812
+ const r = D(), [i, l] = x(s), [u, d] = x(null), [h, g] = x(null), [m, _] = x(""), v = o[i] ?? { primary: [] }, N = n[i], w = re(
813
813
  () => v.primary.filter((S) => ie(S, m)),
814
814
  [v.primary, m]
815
815
  ), C = re(
@@ -862,7 +862,7 @@ function xt({
862
862
  lensMeta: n,
863
863
  variant: "pills",
864
864
  onLensChange: (S) => {
865
- o(S), d(null), g(null), _("");
865
+ l(S), d(null), g(null), _("");
866
866
  }
867
867
  }
868
868
  ),
@@ -914,15 +914,15 @@ function Et({
914
914
  isOpen: e,
915
915
  replacingLabel: t,
916
916
  lenses: s = ge,
917
- defaultLens: l = ye,
917
+ defaultLens: o = ye,
918
918
  tilesByLens: n = ve,
919
919
  renderTile: c
920
920
  }) {
921
- const p = D(), [r, i] = x(l), [o, u] = x(null), [d, h] = x(null), g = n[r] ?? { primary: [] }, m = [...g.primary, ...g.secondary ?? []], _ = () => p?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), v = () => p?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), N = o == null;
921
+ const p = D(), [r, i] = x(o), [l, u] = x(null), [d, h] = x(null), g = n[r] ?? { primary: [] }, m = [...g.primary, ...g.secondary ?? []], _ = () => p?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), v = () => p?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), N = l == null;
922
922
  return /* @__PURE__ */ a(
923
923
  ee.Provider,
924
924
  {
925
- value: { mode: "replace", selectedTileId: o, description: d },
925
+ value: { mode: "replace", selectedTileId: l, description: d },
926
926
  children: /* @__PURE__ */ a(
927
927
  z,
928
928
  {
@@ -962,7 +962,7 @@ function Et({
962
962
  Z,
963
963
  {
964
964
  tiles: m,
965
- selectedTileId: o,
965
+ selectedTileId: l,
966
966
  onSelectTile: (w, C) => {
967
967
  u(w), h(C);
968
968
  },
@@ -980,7 +980,7 @@ function Ne() {
980
980
  return he(_e);
981
981
  }
982
982
  function Ze(e = {}) {
983
- const t = Ne(), s = t?.createPage, l = t?.setPages;
983
+ const t = Ne(), s = t?.createPage, o = t?.setPages;
984
984
  return /* @__PURE__ */ y(
985
985
  "div",
986
986
  {
@@ -999,7 +999,7 @@ function Ze(e = {}) {
999
999
  s();
1000
1000
  return;
1001
1001
  }
1002
- l && l((n) => [
1002
+ o && o((n) => [
1003
1003
  ...n,
1004
1004
  { id: `new-${Date.now()}`, name: "Untitled", active: !1 }
1005
1005
  ]);
@@ -1011,7 +1011,7 @@ function Ze(e = {}) {
1011
1011
  }
1012
1012
  );
1013
1013
  }
1014
- function ce({ page: e, onRename: t, onKebab: s, onDragStart: l, onSwitchPage: n }) {
1014
+ function ce({ page: e, onRename: t, onKebab: s, onDragStart: o, onSwitchPage: n }) {
1015
1015
  const c = Ne(), [p, r] = x(!1), i = U(null);
1016
1016
  F(() => {
1017
1017
  if (!p) return;
@@ -1020,7 +1020,7 @@ function ce({ page: e, onRename: t, onKebab: s, onDragStart: l, onSwitchPage: n
1020
1020
  };
1021
1021
  return document.addEventListener("mousedown", m, !0), () => document.removeEventListener("mousedown", m, !0);
1022
1022
  }, [p]);
1023
- const o = () => {
1023
+ const l = () => {
1024
1024
  if (r(!1), t) return t(e.id);
1025
1025
  if (!c?.renamePage) return;
1026
1026
  const m = window.prompt("Rename page", e.name);
@@ -1038,7 +1038,7 @@ function ce({ page: e, onRename: t, onKebab: s, onDragStart: l, onSwitchPage: n
1038
1038
  {
1039
1039
  className: "pm-handle",
1040
1040
  "aria-hidden": "true",
1041
- onMouseDown: () => l?.(e.id),
1041
+ onMouseDown: () => o?.(e.id),
1042
1042
  children: "⋮⋮"
1043
1043
  }
1044
1044
  ),
@@ -1082,7 +1082,7 @@ function ce({ page: e, onRename: t, onKebab: s, onDragStart: l, onSwitchPage: n
1082
1082
  onPointerDown: (m) => m.stopPropagation(),
1083
1083
  onMouseDown: (m) => m.stopPropagation(),
1084
1084
  children: [
1085
- /* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: o, children: "Rename" }),
1085
+ /* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: l, children: "Rename" }),
1086
1086
  /* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: u, children: "Duplicate" }),
1087
1087
  /* @__PURE__ */ a(
1088
1088
  "button",
@@ -1109,13 +1109,13 @@ function At({
1109
1109
  isOpen: e,
1110
1110
  pages: t = Xe,
1111
1111
  externalPages: s,
1112
- activePageId: l,
1112
+ activePageId: o,
1113
1113
  onRename: n,
1114
1114
  onDuplicate: c,
1115
1115
  onDelete: p,
1116
1116
  onReorder: r,
1117
1117
  onCreatePage: i,
1118
- onSwitchPage: o
1118
+ onSwitchPage: l
1119
1119
  }) {
1120
1120
  const u = D(), [d, h] = x(() => [...t]), g = L((f, P) => {
1121
1121
  h((T) => T.map((A) => A.id === f ? { ...A, name: P } : A));
@@ -1137,7 +1137,7 @@ function At({
1137
1137
  const T = new Map(P.map((k) => [k.id, k])), A = f.map((k) => T.get(k)).filter(Boolean);
1138
1138
  return A.length === P.length ? A : P;
1139
1139
  });
1140
- }, []), N = s != null, w = N ? s : d, C = l != null ? w.map((f) => ({ ...f, active: f.id === l })) : [...w], O = n ?? (N ? void 0 : g), I = c ?? (N ? void 0 : m), $ = p ?? (N ? void 0 : _), S = r ?? (N ? void 0 : v), E = L(
1140
+ }, []), N = s != null, w = N ? s : d, C = o != null ? w.map((f) => ({ ...f, active: f.id === o })) : [...w], O = n ?? (N ? void 0 : g), I = c ?? (N ? void 0 : m), $ = p ?? (N ? void 0 : _), S = r ?? (N ? void 0 : v), E = L(
1141
1141
  (f) => {
1142
1142
  N || h(f);
1143
1143
  },
@@ -1163,7 +1163,7 @@ function At({
1163
1163
  ce,
1164
1164
  {
1165
1165
  page: f,
1166
- onSwitchPage: o
1166
+ onSwitchPage: l
1167
1167
  },
1168
1168
  f.id
1169
1169
  )
@@ -1173,7 +1173,7 @@ function At({
1173
1173
  ce,
1174
1174
  {
1175
1175
  page: f,
1176
- onSwitchPage: o
1176
+ onSwitchPage: l
1177
1177
  },
1178
1178
  f.id
1179
1179
  )) }), R = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" });
@@ -1231,15 +1231,15 @@ function kt() {
1231
1231
  }
1232
1232
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
1233
1233
  }, [e.activePanelId, t]);
1234
- const l = U(e);
1234
+ const o = U(e);
1235
1235
  return Ae(() => {
1236
- l.current = e;
1236
+ o.current = e;
1237
1237
  }), F(() => {
1238
1238
  if (process.env.NODE_ENV === "production") return;
1239
1239
  const n = window;
1240
1240
  return n.__panelsHostHandle && console.warn("[panels] multiple PanelHost/PanelHostShell instances mounted; dev handle is unreliable"), n.__panelsHostHandle = {
1241
1241
  dispatch: t,
1242
- getState: () => l.current,
1242
+ getState: () => o.current,
1243
1243
  getCloseLog: s
1244
1244
  }, () => {
1245
1245
  n.__panelsHostHandle?.dispatch === t && delete window.__panelsHostHandle;
@@ -1254,27 +1254,27 @@ function kt() {
1254
1254
  }
1255
1255
  const tt = 700;
1256
1256
  function nt(e, t) {
1257
- const [s, l] = x(null), n = U(null);
1257
+ const [s, o] = x(null), n = U(null);
1258
1258
  return F(() => {
1259
1259
  if (e != null) {
1260
- n.current != null && (clearTimeout(n.current), n.current = null), l(null);
1260
+ n.current != null && (clearTimeout(n.current), n.current = null), o(null);
1261
1261
  return;
1262
1262
  }
1263
1263
  if (t) {
1264
- n.current != null && (clearTimeout(n.current), n.current = null), l(null);
1264
+ n.current != null && (clearTimeout(n.current), n.current = null), o(null);
1265
1265
  return;
1266
1266
  }
1267
1267
  return n.current = setTimeout(() => {
1268
- l(null), n.current = null;
1268
+ o(null), n.current = null;
1269
1269
  }, tt), () => {
1270
1270
  n.current != null && (clearTimeout(n.current), n.current = null);
1271
1271
  };
1272
1272
  }, [e, t]), F(() => {
1273
- e != null && l(e);
1273
+ e != null && o(e);
1274
1274
  }, [e]), e != null ? { panelId: e, isOpen: !0 } : s != null ? { panelId: s, isOpen: !1 } : { panelId: null, isOpen: !1 };
1275
1275
  }
1276
1276
  function Lt({ panelComponents: e, children: t }) {
1277
- const s = D(), l = s?.state.lastClose?.reason === "section-hidden", n = nt(s?.state.activePanelId ?? null, l);
1277
+ const s = D(), o = s?.state.lastClose?.reason === "section-hidden", n = nt(s?.state.activePanelId ?? null, o);
1278
1278
  if (s == null || n.panelId == null) return null;
1279
1279
  const c = n.panelId, p = n.isOpen, r = e?.[c];
1280
1280
  return r == null && t == null ? (process.env.NODE_ENV !== "production" && console.error(
@@ -1290,8 +1290,8 @@ function Se(e, t) {
1290
1290
  if (typeof window > "u") return t;
1291
1291
  const s = window.getComputedStyle(document.documentElement).getPropertyValue(e).trim();
1292
1292
  if (!s) return t;
1293
- const l = parseFloat(s);
1294
- return Number.isNaN(l) ? t : s.endsWith("s") && !s.endsWith("ms") ? l * 1e3 : l;
1293
+ const o = parseFloat(s);
1294
+ return Number.isNaN(o) ? t : s.endsWith("s") && !s.endsWith("ms") ? o * 1e3 : o;
1295
1295
  }
1296
1296
  function ot(e, t) {
1297
1297
  return typeof window > "u" ? t : window.getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
@@ -1300,12 +1300,12 @@ function Y(e) {
1300
1300
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger });
1301
1301
  }
1302
1302
  function lt(e) {
1303
- const { mountEl: t, chromeEl: s, reducedMotion: l, onAssert: n } = e;
1303
+ const { mountEl: t, chromeEl: s, reducedMotion: o, onAssert: n } = e;
1304
1304
  if (t == null || s == null) {
1305
1305
  Y(e), n?.({ branch: "slide-fallback-no-dom", timestamp: Date.now() });
1306
1306
  return;
1307
1307
  }
1308
- if (l) {
1308
+ if (o) {
1309
1309
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), n?.({ branch: "slide-reduced-motion", timestamp: Date.now() });
1310
1310
  return;
1311
1311
  }
@@ -1333,14 +1333,14 @@ function it(e) {
1333
1333
  e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), setTimeout(() => Y(e), ue), s?.({ branch: "handoff-fallback-no-mount", timestamp: Date.now() });
1334
1334
  return;
1335
1335
  }
1336
- const l = Se("--panel-close-dur", ue);
1336
+ const o = Se("--panel-close-dur", ue);
1337
1337
  let n = !1, c = null;
1338
1338
  const p = (i) => {
1339
1339
  i.target !== t || i.propertyName !== "max-height" || n || (n = !0, c != null && clearTimeout(c), t.removeEventListener("transitionend", p), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), s?.({ branch: "handoff-complete", timestamp: Date.now() }));
1340
1340
  }, r = () => {
1341
1341
  n || (n = !0, t.removeEventListener("transitionend", p), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), s?.({ branch: "handoff-forced", timestamp: Date.now() }));
1342
1342
  };
1343
- t.addEventListener("transitionend", p), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), c = setTimeout(r, l + rt);
1343
+ t.addEventListener("transitionend", p), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), c = setTimeout(r, o + rt);
1344
1344
  }
1345
1345
  function ct(e) {
1346
1346
  const { state: t, onAssert: s } = e;
@@ -1348,8 +1348,8 @@ function ct(e) {
1348
1348
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), s?.({ branch: "blocked-dirty", timestamp: Date.now() });
1349
1349
  return;
1350
1350
  }
1351
- const l = de(t.activeTrigger), n = de(e.trigger);
1352
- if (!!t.activePanelId && l != null && l === n) {
1351
+ const o = de(t.activeTrigger), n = de(e.trigger);
1352
+ if (!!t.activePanelId && o != null && o === n) {
1353
1353
  lt(e);
1354
1354
  return;
1355
1355
  }
@@ -1366,12 +1366,12 @@ function dt() {
1366
1366
  function Mt() {
1367
1367
  const e = D(), t = J();
1368
1368
  return L(
1369
- (s, l) => {
1369
+ (s, o) => {
1370
1370
  if (!e)
1371
1371
  return;
1372
1372
  const n = typeof document < "u" ? document.querySelector('[data-mount="panel"]') : null, c = typeof document < "u" ? document.querySelector('[data-chrome="panel"]') : null, p = {
1373
1373
  panelId: s,
1374
- trigger: l,
1374
+ trigger: o,
1375
1375
  state: e.state,
1376
1376
  dispatch: e.dispatch,
1377
1377
  mountEl: n,
@@ -1394,9 +1394,9 @@ function X() {
1394
1394
  const e = [];
1395
1395
  let t = "cleaned";
1396
1396
  document.querySelectorAll("#panel-chrome-frozen").length > 0 && (e.push("#panel-chrome-frozen"), t = "lingering");
1397
- const l = document.querySelectorAll(".gloss-panel-mount");
1398
- l.length > 1 && e.push(`mount-count=${l.length}`);
1399
- const n = l[0] ?? null, c = n ? n.querySelectorAll(".gloss-panel-chrome") : [];
1397
+ const o = document.querySelectorAll(".gloss-panel-mount");
1398
+ o.length > 1 && e.push(`mount-count=${o.length}`);
1399
+ const n = o[0] ?? null, c = n ? n.querySelectorAll(".gloss-panel-chrome") : [];
1400
1400
  c.length > 1 && e.push(`chrome-count=${c.length}`);
1401
1401
  const p = c[0] ?? null;
1402
1402
  if (p) {
@@ -1414,25 +1414,25 @@ function X() {
1414
1414
  };
1415
1415
  }
1416
1416
  const G = "8px 8px 0px", Q = "64px", W = "inset(0px 0px 60px 0px)", j = "inset(0px -40px -40px -40px)";
1417
- function b(e, t, s, l, n) {
1418
- return { id: e, constraint: t, expected: s, actual: l, pass: n };
1417
+ function b(e, t, s, o, n) {
1418
+ return { id: e, constraint: t, expected: s, actual: o, pass: n };
1419
1419
  }
1420
1420
  function M(e) {
1421
1421
  const t = parseInt(e, 10);
1422
1422
  return Number.isFinite(t) ? t : NaN;
1423
1423
  }
1424
1424
  function ne() {
1425
- const e = [], t = document.querySelector(".gloss-panel-mount"), s = t?.querySelector(".gloss-panel-chrome") ?? null, l = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), n = document.querySelector(".bell-cutout"), c = document.querySelector(".bell-popover"), p = document.querySelector(".gloss-bottom-toolbar");
1425
+ const e = [], t = document.querySelector(".gloss-panel-mount"), s = t?.querySelector(".gloss-panel-chrome") ?? null, o = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), n = document.querySelector(".bell-cutout"), c = document.querySelector(".bell-popover"), p = document.querySelector(".gloss-bottom-toolbar");
1426
1426
  if (!t)
1427
1427
  e.push(b("C1", "mount --reveal-y matches clip-path inset-bottom Npx", "mount present", "absent", !1));
1428
1428
  else {
1429
- const r = getComputedStyle(t), i = r.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(), o = r.clipPath || t.style.clipPath || "", u = o.match(/inset\(\s*0(?:px)?\s+0(?:px)?\s+(\d+)px\s+0(?:px)?\s*\)/), d = u ? parseInt(u[1], 10) : NaN, h = M(i), g = Number.isFinite(d) && Number.isFinite(h) && d === h;
1429
+ const r = getComputedStyle(t), i = r.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(), l = r.clipPath || t.style.clipPath || "", u = l.match(/inset\(\s*0(?:px)?\s+0(?:px)?\s+(\d+)px\s+0(?:px)?\s*\)/), d = u ? parseInt(u[1], 10) : NaN, h = M(i), g = Number.isFinite(d) && Number.isFinite(h) && d === h;
1430
1430
  e.push(
1431
1431
  b(
1432
1432
  "C1",
1433
1433
  "mount --reveal-y matches clip-path inset-bottom Npx",
1434
1434
  `inset(0 0 ${h}px 0) === --reveal-y(${h}px)`,
1435
- `--reveal-y=${i || "n/a"} clip-path=${o || "n/a"}`,
1435
+ `--reveal-y=${i || "n/a"} clip-path=${l || "n/a"}`,
1436
1436
  g
1437
1437
  )
1438
1438
  );
@@ -1440,51 +1440,51 @@ function ne() {
1440
1440
  if (!t)
1441
1441
  e.push(b("C2", "mount padding constant", G, "absent", !1));
1442
1442
  else {
1443
- const r = t.style.padding, i = getComputedStyle(t), o = r || i.padding || "", u = o === G || o === "8px 8px 0px 8px";
1444
- e.push(b("C2", "mount padding constant", G, o || "n/a", u));
1443
+ const r = t.style.padding, i = getComputedStyle(t), l = r || i.padding || "", u = l === G || l === "8px 8px 0px 8px";
1444
+ e.push(b("C2", "mount padding constant", G, l || "n/a", u));
1445
1445
  }
1446
1446
  if (!t)
1447
1447
  e.push(b("C3", "mount.bottom resolves to var(--tb-h)=64px", Q, "absent", !1));
1448
1448
  else {
1449
- const i = getComputedStyle(t).bottom || t.style.bottom || "", o = i === Q;
1450
- e.push(b("C3", "mount.bottom resolves to var(--tb-h)=64px", Q, i || "n/a", o));
1449
+ const i = getComputedStyle(t).bottom || t.style.bottom || "", l = i === Q;
1450
+ e.push(b("C3", "mount.bottom resolves to var(--tb-h)=64px", Q, i || "n/a", l));
1451
1451
  }
1452
1452
  if (!s)
1453
1453
  e.push(b("C4", "panel-chrome height formula = (row-h*3)+(row-gap*3)-8px", "formula match", "absent", !1));
1454
1454
  else {
1455
1455
  const r = getComputedStyle(s), i = M(
1456
1456
  r.getPropertyValue("--row-h").trim() || s.style.getPropertyValue("--row-h").trim() || "0"
1457
- ), o = M(
1457
+ ), l = M(
1458
1458
  r.getPropertyValue("--row-gap").trim() || s.style.getPropertyValue("--row-gap").trim() || "0"
1459
- ), u = i * 3 + o * 3 - 8, d = M(r.height || s.style.height || ""), h = Number.isFinite(i) && Number.isFinite(o) && Number.isFinite(d) && Number.isFinite(u) && d === u;
1459
+ ), u = i * 3 + l * 3 - 8, d = M(r.height || s.style.height || ""), h = Number.isFinite(i) && Number.isFinite(l) && Number.isFinite(d) && Number.isFinite(u) && d === u;
1460
1460
  e.push(
1461
1461
  b(
1462
1462
  "C4",
1463
1463
  "panel-chrome height formula = (row-h*3)+(row-gap*3)-8px",
1464
- `${u}px (rh=${i} rg=${o})`,
1464
+ `${u}px (rh=${i} rg=${l})`,
1465
1465
  `${d}px`,
1466
1466
  h
1467
1467
  )
1468
1468
  );
1469
1469
  }
1470
- if (!l || !s)
1470
+ if (!o || !s)
1471
1471
  e.push(
1472
1472
  b(
1473
1473
  "C5",
1474
1474
  'coordinator perspective + origin "center bottom"; chrome perspective-style flat',
1475
1475
  "present",
1476
- `coordinator=${l ? "present" : "absent"} chrome=${s ? "present" : "absent"}`,
1476
+ `coordinator=${o ? "present" : "absent"} chrome=${s ? "present" : "absent"}`,
1477
1477
  !1
1478
1478
  )
1479
1479
  );
1480
1480
  else {
1481
- const r = getComputedStyle(l), i = getComputedStyle(s), o = r.perspective || l.style.perspective || "", u = (r.perspectiveOrigin || l.style.perspectiveOrigin || "").trim(), d = i.perspectiveStyle || s.style.perspectiveStyle || "", _ = o !== "" && o !== "none" && (u === "center bottom" || u === "50% 100%") && d === "flat";
1481
+ const r = getComputedStyle(o), i = getComputedStyle(s), l = r.perspective || o.style.perspective || "", u = (r.perspectiveOrigin || o.style.perspectiveOrigin || "").trim(), d = i.perspectiveStyle || s.style.perspectiveStyle || "", _ = l !== "" && l !== "none" && (u === "center bottom" || u === "50% 100%") && d === "flat";
1482
1482
  e.push(
1483
1483
  b(
1484
1484
  "C5",
1485
1485
  'coordinator perspective + origin "center bottom"; chrome perspective-style flat',
1486
1486
  "perspective:not-none, origin:center bottom, chrome-style:flat",
1487
- `perspective=${o} origin=${u} chrome-style=${d}`,
1487
+ `perspective=${l} origin=${u} chrome-style=${d}`,
1488
1488
  _
1489
1489
  )
1490
1490
  );
@@ -1492,10 +1492,10 @@ function ne() {
1492
1492
  {
1493
1493
  let r = !1, i = "absent";
1494
1494
  try {
1495
- for (const o of Array.from(document.styleSheets)) {
1495
+ for (const l of Array.from(document.styleSheets)) {
1496
1496
  let u = [];
1497
1497
  try {
1498
- u = Array.from(o.cssRules ?? []);
1498
+ u = Array.from(l.cssRules ?? []);
1499
1499
  } catch {
1500
1500
  continue;
1501
1501
  }
@@ -1521,21 +1521,21 @@ function ne() {
1521
1521
  );
1522
1522
  }
1523
1523
  {
1524
- const r = document.documentElement, i = getComputedStyle(r), o = i.getPropertyValue("--panel-open-dur").trim() || r.style.getPropertyValue("--panel-open-dur").trim(), u = i.getPropertyValue("--panel-close-dur").trim() || r.style.getPropertyValue("--panel-close-dur").trim(), d = M(o) || parseFloat(o) * (o.endsWith("s") && !o.endsWith("ms") ? 1e3 : 1), h = M(u) || parseFloat(u) * (u.endsWith("s") && !u.endsWith("ms") ? 1e3 : 1), g = Number.isFinite(d) && Number.isFinite(h) && d > h;
1524
+ const r = document.documentElement, i = getComputedStyle(r), l = i.getPropertyValue("--panel-open-dur").trim() || r.style.getPropertyValue("--panel-open-dur").trim(), u = i.getPropertyValue("--panel-close-dur").trim() || r.style.getPropertyValue("--panel-close-dur").trim(), d = M(l) || parseFloat(l) * (l.endsWith("s") && !l.endsWith("ms") ? 1e3 : 1), h = M(u) || parseFloat(u) * (u.endsWith("s") && !u.endsWith("ms") ? 1e3 : 1), g = Number.isFinite(d) && Number.isFinite(h) && d > h;
1525
1525
  e.push(
1526
- b("C7", "--panel-open-dur > --panel-close-dur", "open > close", `open=${o || "n/a"} close=${u || "n/a"}`, g)
1526
+ b("C7", "--panel-open-dur > --panel-close-dur", "open > close", `open=${l || "n/a"} close=${u || "n/a"}`, g)
1527
1527
  );
1528
1528
  }
1529
1529
  if (!n)
1530
1530
  e.push(b("C8", "BellCutout zero computed animation/transition", "no inline timing", "absent", !1));
1531
1531
  else {
1532
- const r = getComputedStyle(n), i = r.animationName || "", o = r.transitionProperty || "", u = (i === "" || i === "none") && (o === "" || o === "none" || o === "all");
1532
+ const r = getComputedStyle(n), i = r.animationName || "", l = r.transitionProperty || "", u = (i === "" || i === "none") && (l === "" || l === "none" || l === "all");
1533
1533
  e.push(
1534
1534
  b(
1535
1535
  "C8",
1536
1536
  "BellCutout zero computed animation/transition",
1537
1537
  "animation:none AND transition:none",
1538
- `animation=${i || "n/a"} transition=${o || "n/a"}`,
1538
+ `animation=${i || "n/a"} transition=${l || "n/a"}`,
1539
1539
  u
1540
1540
  )
1541
1541
  );
@@ -1543,8 +1543,8 @@ function ne() {
1543
1543
  if (!t)
1544
1544
  e.push(b("C9", "mount closed-state clipPath", W, "absent", !1));
1545
1545
  else {
1546
- const r = t.style.clipPath, i = getComputedStyle(t), o = r || i.clipPath || "", u = o === W;
1547
- e.push(b("C9", "mount closed-state clipPath", W, o || "n/a", u));
1546
+ const r = t.style.clipPath, i = getComputedStyle(t), l = r || i.clipPath || "", u = l === W;
1547
+ e.push(b("C9", "mount closed-state clipPath", W, l || "n/a", u));
1548
1548
  }
1549
1549
  if (!c)
1550
1550
  e.push(b("C10", "bell-popover parentElement === document.body (open)", "body", "absent", !1));
@@ -1560,17 +1560,17 @@ function ne() {
1560
1560
  )
1561
1561
  );
1562
1562
  }
1563
- if (!l)
1563
+ if (!o)
1564
1564
  e.push(b("C11", "coordinator overflow === visible", "visible", "absent", !1));
1565
1565
  else {
1566
- const i = getComputedStyle(l).overflow || l.style.overflow || "", o = i === "visible";
1567
- e.push(b("C11", "coordinator overflow === visible", "visible", i || "n/a", o));
1566
+ const i = getComputedStyle(o).overflow || o.style.overflow || "", l = i === "visible";
1567
+ e.push(b("C11", "coordinator overflow === visible", "visible", i || "n/a", l));
1568
1568
  }
1569
1569
  if (!p)
1570
1570
  e.push(b("C12", "toolbar clipPath = inset(0 -40 -40 -40)", j, "absent", !1));
1571
1571
  else {
1572
- const r = p.style.clipPath, i = getComputedStyle(p), o = r || i.clipPath || "", u = o === j;
1573
- e.push(b("C12", "toolbar clipPath = inset(0 -40 -40 -40)", j, o || "n/a", u));
1572
+ const r = p.style.clipPath, i = getComputedStyle(p), l = r || i.clipPath || "", u = l === j;
1573
+ e.push(b("C12", "toolbar clipPath = inset(0 -40 -40 -40)", j, l || "n/a", u));
1574
1574
  }
1575
1575
  return e.push(
1576
1576
  b(
package/index.js CHANGED
@@ -4,8 +4,8 @@ import { jsxs as f, jsx as r, Fragment as I } from "react/jsx-runtime";
4
4
  import * as O from "react";
5
5
  import V, { useRef as M, useEffect as E, useState as A, useCallback as C, useId as Ne, useMemo as ce, useLayoutEffect as ke, createContext as Ge, useContext as He } from "react";
6
6
  import { motion as z, useMotionValue as We, AnimatePresence as Ve, useDragControls as je } from "framer-motion";
7
- import { u as Ke } from "./COMMITS-B_qGBoy7.js";
8
- import { N as Cl, C as Nl, c as kl, P as Sl, f as Dl, S as xl, e as Tl, i as Rl, r as Ml, b as Pl, d as Al, a as El } from "./COMMITS-B_qGBoy7.js";
7
+ import { u as Ke } from "./COMMITS-B7dc_-m8.js";
8
+ import { N as Cl, C as Nl, c as kl, P as Sl, f as Dl, S as xl, e as Tl, i as Rl, r as Ml, b as Pl, d as Al, a as El } from "./COMMITS-B7dc_-m8.js";
9
9
  import { createPortal as Se } from "react-dom";
10
10
  import { B as Ue, U as de } from "./UIContext-CGQI_KJk.js";
11
11
  import { a as Il, u as Ll } from "./UIContext-CGQI_KJk.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.1.136",
3
+ "version": "0.1.137",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"