@pygmalionjs/pygmalion 0.5.28 → 0.5.29

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.
@@ -8125,6 +8125,7 @@ ${e}`;
8125
8125
  state: o.state,
8126
8126
  stateKind: o.stateKind,
8127
8127
  lane: o.lane,
8128
+ runtimes: o.runtimes ? [...o.runtimes] : void 0,
8128
8129
  scenarioId: o.scenarioId,
8129
8130
  scenarioIds: o.scenarioIds ? [...o.scenarioIds] : void 0,
8130
8131
  interactions: (l = o.interactions) == null ? void 0 : l.map((f) => ({ ...f })),
@@ -2,8 +2,8 @@ var xh = Object.defineProperty;
2
2
  var yh = (e, t, n) => t in e ? xh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var gn = (e, t, n) => yh(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as s, jsxs as g, Fragment as Ye } from "react/jsx-runtime";
5
- import { R as oi, u as vh, c as $a, b as dd, g as lt, d as wh, m as Dt, e as f, f as Tt, r as cn, h as Cs, i as Yn, j as Ma, k as wn, l as ud, n as vr, p as Sh, o as hr, q as Be, t as Nh, v as Ih, w as Ch, x as Ph, y as $h, z as Mh, A as Eh, B as Ps, C as kh, D as Ah, E as Rh, G as Th, H as Fh, I as Lh, S as _h, J as Dh, K as fd, L as zh, M as $s, O as Oh, P as Bh, Q as jh, T as Wh, U as hd, V as Hh, W as Dc, X as Uh, Y as pd, Z as Vh, _ as Kh, $ as qh, a0 as Yh, a1 as Gh, a2 as Xh, a3 as md, a4 as Jh, a5 as Qh, a6 as J, a7 as zc, a8 as Oc, a9 as Zh, aa as rs, ab as ep, ac as Vo, ad as Ms, ae as tp, af as gd, ag as np, ah as rp, ai as op, s as ip, aj as bd, ak as ii, al as sp, am as ap, an as xd, ao as yd, ap as Es, aq as vd, ar as cp, as as lp, at as Bc, au as dp, av as up, aw as jc, ax as fp, ay as hp, az as pp, aA as mp, aB as gp, aC as bp, aD as xp, aE as yp, aF as vp, aG as wp, aH as Sp, aI as Np, a as Ip, aJ as Cp, aK as Pp, aL as $p, aM as Mp, aN as Ep, aO as kp, aP as Ap, aQ as Rp, aR as Tp, aS as Fp, aT as Lp, aU as _p, aV as Dp, aW as Wr, aX as Wc, aY as zp, aZ as Op, a_ as Bp, a$ as jp, b0 as Hc } from "./FrozenRoutePreview-fEKTwThA.js";
6
- import { b1 as f1, b2 as h1, b3 as p1, b4 as m1, b5 as g1, b6 as b1, b7 as x1, b8 as y1, b9 as v1, ba as w1, bb as S1, bc as N1, bd as I1, be as C1, bf as P1, bg as $1 } from "./FrozenRoutePreview-fEKTwThA.js";
5
+ import { R as oi, u as vh, c as $a, b as dd, g as lt, d as wh, m as Dt, e as f, f as Tt, r as cn, h as Cs, i as Yn, j as Ma, k as wn, l as ud, n as vr, p as Sh, o as hr, q as Be, t as Nh, v as Ih, w as Ch, x as Ph, y as $h, z as Mh, A as Eh, B as Ps, C as kh, D as Ah, E as Rh, G as Th, H as Fh, I as Lh, S as _h, J as Dh, K as fd, L as zh, M as $s, O as Oh, P as Bh, Q as jh, T as Wh, U as hd, V as Hh, W as Dc, X as Uh, Y as pd, Z as Vh, _ as Kh, $ as qh, a0 as Yh, a1 as Gh, a2 as Xh, a3 as md, a4 as Jh, a5 as Qh, a6 as J, a7 as zc, a8 as Oc, a9 as Zh, aa as rs, ab as ep, ac as Vo, ad as Ms, ae as tp, af as gd, ag as np, ah as rp, ai as op, s as ip, aj as bd, ak as ii, al as sp, am as ap, an as xd, ao as yd, ap as Es, aq as vd, ar as cp, as as lp, at as Bc, au as dp, av as up, aw as jc, ax as fp, ay as hp, az as pp, aA as mp, aB as gp, aC as bp, aD as xp, aE as yp, aF as vp, aG as wp, aH as Sp, aI as Np, a as Ip, aJ as Cp, aK as Pp, aL as $p, aM as Mp, aN as Ep, aO as kp, aP as Ap, aQ as Rp, aR as Tp, aS as Fp, aT as Lp, aU as _p, aV as Dp, aW as Wr, aX as Wc, aY as zp, aZ as Op, a_ as Bp, a$ as jp, b0 as Hc } from "./FrozenRoutePreview-B6E3mX9a.js";
6
+ import { b1 as f1, b2 as h1, b3 as p1, b4 as m1, b5 as g1, b6 as b1, b7 as x1, b8 as y1, b9 as v1, ba as w1, bb as S1, bc as N1, bd as I1, be as C1, bf as P1, bg as $1 } from "./FrozenRoutePreview-B6E3mX9a.js";
7
7
  import { useRef as Pe, useLayoutEffect as si, useSyncExternalStore as Xe, useCallback as Pt, useReducer as wd, useEffect as ae, memo as Sd, createElement as ao, useState as Q, useMemo as _t } from "react";
8
8
  import { createPortal as Wp } from "react-dom";
9
9
  const Ea = {
@@ -2660,14 +2660,14 @@ function Bi(e = {}) {
2660
2660
  }
2661
2661
  async function k(R, T) {
2662
2662
  if (e.prepare) return e.prepare(R, T);
2663
- const { getDesignImportController: I } = await import("./FrozenRoutePreview-fEKTwThA.js").then((F) => F.bi), N = I();
2663
+ const { getDesignImportController: I } = await import("./FrozenRoutePreview-B6E3mX9a.js").then((F) => F.bi), N = I();
2664
2664
  if (!N)
2665
2665
  throw new Error("The design import controller is not available.");
2666
2666
  return N.prepareScreenCapture(R, T);
2667
2667
  }
2668
2668
  async function L(R, T) {
2669
2669
  if (e.settle) return e.settle(R, T);
2670
- const { settleScreen: I } = await import("./FrozenRoutePreview-fEKTwThA.js").then((N) => N.bh);
2670
+ const { settleScreen: I } = await import("./FrozenRoutePreview-B6E3mX9a.js").then((N) => N.bh);
2671
2671
  return I(R, T);
2672
2672
  }
2673
2673
  async function W(R, T) {
@@ -13078,7 +13078,7 @@ const ys = Be(function({
13078
13078
  ii
13079
13079
  );
13080
13080
  const [o, i] = Ev("frames", 176), [a, c] = Q({}), l = sv(
13081
- f.pages,
13081
+ f.pages.filter((I) => f.isInSelectedRuntime(I)),
13082
13082
  f.canvasNames,
13083
13083
  (I) => f.isScreenStateShown(I)
13084
13084
  ), d = (I) => I.canvases.some((N) => N.canvas === f.activeCanvas), u = Xe(
@@ -18851,8 +18851,8 @@ const i1 = {
18851
18851
  Promise.resolve().then(() => Zs),
18852
18852
  Promise.resolve().then(() => sg),
18853
18853
  Promise.resolve().then(() => om),
18854
- import("./FrozenRoutePreview-fEKTwThA.js").then((u) => u.bk),
18855
- import("./FrozenRoutePreview-fEKTwThA.js").then((u) => u.bj)
18854
+ import("./FrozenRoutePreview-B6E3mX9a.js").then((u) => u.bk),
18855
+ import("./FrozenRoutePreview-B6E3mX9a.js").then((u) => u.bj)
18856
18856
  ]), a = i.getMountedShadowPreviewHandle(e), c = f.pages.find(
18857
18857
  (u) => u.id === e
18858
18858
  );
@@ -1,4 +1,4 @@
1
- import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-fEKTwThA.js";
1
+ import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-B6E3mX9a.js";
2
2
  export {
3
3
  s as FrozenRoutePreviewView,
4
4
  a as NodeModel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pygmalionjs/pygmalion",
3
- "version": "0.5.28",
3
+ "version": "0.5.29",
4
4
  "description": "Code-backed DOM design sandbox and visual QA editor",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {