@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.
- package/dist-lib/{FrozenRoutePreview-CX9oynoS.js → FrozenRoutePreview-C9535oYO.js} +1028 -927
- package/dist-lib/pygmalion.js +2079 -2146
- package/dist-lib/testing.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +7 -0
package/dist-lib/testing.js
CHANGED
package/package.json
CHANGED
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;
|