@pygmalionjs/pygmalion 0.5.34 → 0.6.0
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/README.md +7 -3
- package/dist-lib/{FrozenRoutePreview-hofdx4eP.js → FrozenRoutePreview-DStbZQD4.js} +2525 -2237
- package/dist-lib/pygmalion.js +5000 -4954
- package/dist-lib/testing.js +1 -1
- package/dist-lib/types/editor/designImport.d.ts +7 -1
- package/dist-lib/types/editor/heldPseudoStates.d.ts +18 -0
- package/dist-lib/types/editor/interactiveStates.d.ts +26 -1
- package/dist-lib/types/editor/shadowPreview.d.ts +6 -0
- package/dist-lib/types/lib.d.ts +12 -7
- package/dist-lib/types/shell/ComponentStateControls.d.ts +1 -5
- package/docs/screen-state-contract.md +127 -0
- package/node/storyboard-capture-runtime.mjs +7 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -220,9 +220,12 @@ either:
|
|
|
220
220
|
A scenario must appear in exactly one category. Invalid references, missing
|
|
221
221
|
coverage, and duplicate classifications fail before the editor opens.
|
|
222
222
|
|
|
223
|
-
Screen recipes support `click`, `
|
|
224
|
-
|
|
225
|
-
repeatable application state.
|
|
223
|
+
Screen recipes support `click`, `focus`, `hover`, `focus-visible`, `active`,
|
|
224
|
+
`fill`, `check`, `press`, `wait`, and `storage` steps. Use deterministic recipes
|
|
225
|
+
and assertions so each frame represents a repeatable application state. The
|
|
226
|
+
[screen state contract](./docs/screen-state-contract.md) defines when a
|
|
227
|
+
variation is a frame, an interaction state, a condition state, an editable
|
|
228
|
+
parameter, or behavior-only QA.
|
|
226
229
|
|
|
227
230
|
Keep user journeys explicit instead of relying only on source navigation
|
|
228
231
|
inference. Paths expand into adjacent graph edges, and source-discovered edges
|
|
@@ -322,6 +325,7 @@ npm run lint:language
|
|
|
322
325
|
|
|
323
326
|
- [Architecture](./ARCHITECTURE.md) defines the package and host boundary.
|
|
324
327
|
- [Design compiler and component connections](./docs/design-compiler.md) defines the versioned IR, target adapters, diagnostics, and external design mappings.
|
|
328
|
+
- [Screen state contract](./docs/screen-state-contract.md) defines frame versus same-frame placement and held pseudo-state capture.
|
|
325
329
|
- [Editor usability](./EDITOR-USABILITY.md) defines interaction coverage.
|
|
326
330
|
- [Product readiness](./PRODUCTIZATION.md) defines quality gates and remaining
|
|
327
331
|
work.
|