@pygmalionjs/pygmalion 0.5.31 → 0.5.32

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.
@@ -5544,6 +5544,13 @@ const Ql = [
5544
5544
  "border-bottom-left-radius",
5545
5545
  "box-shadow",
5546
5546
  "opacity",
5547
+ // SVG gradient stops often receive their paint through CSS variables in an
5548
+ // inline style. `style` attributes are deliberately not copied as raw text,
5549
+ // so their resolved paint has to cross the computed-style boundary here.
5550
+ // Without it the <linearGradient> and url(#id) survive, but both stops fall
5551
+ // back to the browser default black in editable layers.
5552
+ "stop-color",
5553
+ "stop-opacity",
5547
5554
  "transform",
5548
5555
  "transform-origin",
5549
5556
  "color",
@@ -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-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";
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-BGssXLP2.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-BGssXLP2.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-B6E3mX9a.js").then((F) => F.bi), N = I();
2663
+ const { getDesignImportController: I } = await import("./FrozenRoutePreview-BGssXLP2.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-B6E3mX9a.js").then((N) => N.bh);
2670
+ const { settleScreen: I } = await import("./FrozenRoutePreview-BGssXLP2.js").then((N) => N.bh);
2671
2671
  return I(R, T);
2672
2672
  }
2673
2673
  async function W(R, T) {
@@ -18854,8 +18854,8 @@ const i1 = {
18854
18854
  Promise.resolve().then(() => Zs),
18855
18855
  Promise.resolve().then(() => sg),
18856
18856
  Promise.resolve().then(() => om),
18857
- import("./FrozenRoutePreview-B6E3mX9a.js").then((u) => u.bk),
18858
- import("./FrozenRoutePreview-B6E3mX9a.js").then((u) => u.bj)
18857
+ import("./FrozenRoutePreview-BGssXLP2.js").then((u) => u.bk),
18858
+ import("./FrozenRoutePreview-BGssXLP2.js").then((u) => u.bj)
18859
18859
  ]), a = i.getMountedShadowPreviewHandle(e), c = f.pages.find(
18860
18860
  (u) => u.id === e
18861
18861
  );
@@ -1,4 +1,4 @@
1
- import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-B6E3mX9a.js";
1
+ import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-BGssXLP2.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.31",
3
+ "version": "0.5.32",
4
4
  "description": "Code-backed DOM design sandbox and visual QA editor",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {