@pygmalionjs/pygmalion 0.24.0 → 0.26.0

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { n as C, R as g, aM as P, ck as R, cl as k, Y as E, cm as I, a7 as m, a4 as b } from "./runtime-DLaOoI2y.js";
2
+ import { n as C, R as g, aM as P, cl as R, cm as E, Y as k, cn as I, a7 as m, a4 as b } from "./runtime-Bb9_M0iT.js";
3
3
  import { useRef as L, useLayoutEffect as h } from "react";
4
4
  function v(n) {
5
5
  return `translate(${n.panX}px, ${n.panY}px) scale(${n.zoom})`;
@@ -61,13 +61,13 @@ function w(n) {
61
61
  x: t.x ?? 0,
62
62
  y: t.y ?? 0,
63
63
  width: t.width ?? 390,
64
- height: E(t)
64
+ height: k(t)
65
65
  },
66
66
  pinned: t.id === e.activePageId || (r == null ? void 0 : r.kind) === "frame" && r.id === t.id || // A standby variant renders its full surface hidden at the group's
67
67
  // slot, so the switch to it has nothing left to mount.
68
68
  e.isScreenStateStandby(t) || // Catalog sheets need a full first render to replace their 1x1 seed.
69
69
  // Their live DOM remains mounted afterwards; offscreen paint may be skipped.
70
- k(t) || n.schedulers.previewIntent.hasPreviewIntent(t.id),
70
+ E(t) || n.schedulers.previewIntent.hasPreviewIntent(t.id),
71
71
  weightBytes: z(n, t, i, t.id === e.activePageId),
72
72
  screenshotDensity: F(
73
73
  n,