@pygmalionjs/pygmalion 0.5.2 → 0.5.3

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,4 +1,4 @@
1
- import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-CX9oynoS.js";
1
+ import { F as s, N as a, e as r, s as i, a as t } from "./FrozenRoutePreview-C9535oYO.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.2",
3
+ "version": "0.5.3",
4
4
  "description": "Code-backed DOM design sandbox and visual QA editor",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
package/types.d.ts CHANGED
@@ -1488,6 +1488,13 @@ export interface InteractiveStateOption {
1488
1488
  label: string;
1489
1489
  /** Absent or empty marks the base state — the screen as captured. */
1490
1490
  steps?: readonly DesignScreenInteraction[];
1491
+ /**
1492
+ * Recognizes this option in the CAPTURED tree, making the base a property of
1493
+ * the frame instead of the axis. Declare it on every option (each with its own
1494
+ * steps) when the frames an axis covers were captured in different states —
1495
+ * otherwise the axis is a no-op wherever the capture is not the declared base.
1496
+ */
1497
+ capturedWhen?: { testId: string; attribute?: { name: string; value: string } };
1491
1498
  }
1492
1499
  export interface InteractiveStateDef {
1493
1500
  id: string;