@pygmalionjs/pygmalion 0.5.2 → 0.5.4
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.
- package/dist-lib/{FrozenRoutePreview-CX9oynoS.js → FrozenRoutePreview-gn0xHRPG.js} +1356 -1260
- package/dist-lib/pygmalion.js +2172 -2239
- package/dist-lib/testing.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +14 -0
package/dist-lib/testing.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1488,6 +1488,20 @@ 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
|
+
* Boot condition for states no gesture can reach — a failed request, an empty
|
|
1493
|
+
* result, a stalled stream. Merged into the frame's environment, which already
|
|
1494
|
+
* belongs to the recipe identity, so the existing supply path reproduces it.
|
|
1495
|
+
* The base is the option with neither steps nor a condition.
|
|
1496
|
+
*/
|
|
1497
|
+
environment?: StoryboardEnvironment;
|
|
1498
|
+
/**
|
|
1499
|
+
* Recognizes this option in the CAPTURED tree, making the base a property of
|
|
1500
|
+
* the frame instead of the axis. Declare it on every option (each with its own
|
|
1501
|
+
* steps) when the frames an axis covers were captured in different states —
|
|
1502
|
+
* otherwise the axis is a no-op wherever the capture is not the declared base.
|
|
1503
|
+
*/
|
|
1504
|
+
capturedWhen?: { testId: string; attribute?: { name: string; value: string } };
|
|
1491
1505
|
}
|
|
1492
1506
|
export interface InteractiveStateDef {
|
|
1493
1507
|
id: string;
|