@mkbabb/keyframes.js 5.3.2 → 5.3.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/README.md +14 -10
- package/package.json +7 -207
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ src/animation/ # THE library — engine + every primitive
|
|
|
47
47
|
demo/ # Vue 3 demo apps
|
|
48
48
|
test/ # Vitest suites (jsdom)
|
|
49
49
|
bench/ # Vitest benchmarks
|
|
50
|
-
scripts/ #
|
|
50
|
+
scripts/ # package/demo checks + code generators
|
|
51
51
|
docs/ # Migration guide, published surface manifest, architecture notes
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -217,7 +217,11 @@ String(keyframes.get("0%")?.color); // => "rgb(0 0 255)"
|
|
|
217
217
|
|
|
218
218
|
**What it refuses.** A condition that resolves to nothing is a CSS *guaranteed-invalid value* — `if()` with no matching branch and no `else`, or an over-deep/self-referential `@function` chain (cycle-guarded at depth 32) — **drops the declaration** (the prior/initial value wins), never an empty or malformed string. A `@function` call whose argument can't be coerced to the parameter's declared syntax drops the whole call too, surfaced as a named `CUSTOM_FN_ARG_DROP` diagnostic on `resolveKeyframes`'s `diagnostics` channel — never a silent `NaN`.
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
Covered by the three focused Vitest files in `test/resolve/` (the
|
|
221
|
+
`if(supports)`/`if(media)` pass, the element-aware
|
|
222
|
+
`if(style)`/`sibling-index()`/`sibling-count()` pass, and `@function`
|
|
223
|
+
call-inlining) — all jsdom-clean, behavior-level; no browser required, because
|
|
224
|
+
the resolution is kf's JS, not a platform feature.
|
|
221
225
|
|
|
222
226
|
## `CSSKeyframesAnimation`
|
|
223
227
|
|
|
@@ -410,7 +414,7 @@ const { css, eligible, refusals } = await compileToCSS([fade]);
|
|
|
410
414
|
|
|
411
415
|
A refusal is **marketing for the moat**: it names exactly the kf axis (weighted blending, perceptual color) that exceeds pure CSS. `compileToCSS(input, options?)` options: `staggerDelays` (the materialized `stagger.delays(total)`, emitted as literal per-child `animation-delay`), `densifyStops` (the oklab stop count), `deltaEEpsilon` (the ship-vs-refuse threshold), `printWidth`.
|
|
412
416
|
|
|
413
|
-
> The snippets in this section are reached through `loadAnimationEngine()` and run against the built `dist
|
|
417
|
+
> The snippets in this section are reached through `loadAnimationEngine()` and run against the built `dist/`; the executable examples are covered by the test suite.
|
|
414
418
|
|
|
415
419
|
## Web Animations API
|
|
416
420
|
|
|
@@ -418,7 +422,7 @@ When `useWAAPI` is `true` (default), eligible animations run on the compositor t
|
|
|
418
422
|
|
|
419
423
|
A spring timing function (`springTimingFunction`) carries its CSS `linear()` equivalent, so a WAAPI-delegated spring animation runs the true overshoot/settle curve on the compositor instead of a flattened `linear` ramp — the JS easing and the compositor curve are one solver.
|
|
420
424
|
|
|
421
|
-
A spring keyframed across **multiple** declared stops is compositor-eligible too: rather than restart the curve at each stop (WAAPI's one-easing-per-segment model would), kf **densifies** the composite curve into extra keyframe stops fed a single bare `linear` effect easing, so the compositor's piecewise-linear fill still tracks the true multi-segment curve.
|
|
425
|
+
A spring keyframed across **multiple** declared stops is compositor-eligible too: rather than restart the curve at each stop (WAAPI's one-easing-per-segment model would), kf **densifies** the composite curve into extra keyframe stops fed a single bare `linear` effect easing, so the compositor's piecewise-linear fill still tracks the true multi-segment curve. Covered by `test/waapi/waapi-densify.test.ts`.
|
|
422
426
|
|
|
423
427
|
## Baseline, tree-shaking & reduced motion
|
|
424
428
|
|
|
@@ -432,7 +436,7 @@ keyframes.js targets a modern-web Baseline and documents the tier of every platf
|
|
|
432
436
|
| `Element.animate()` (WAAPI) | Widely available | Opt-out via `useWAAPI: false` |
|
|
433
437
|
| CSS `if()` / `@function` | Limited availability (Chromium) | kf resolves both in JS at parse/bind time — see [The emerging-CSS resolver](#the-emerging-css-resolver) |
|
|
434
438
|
|
|
435
|
-
**Tree-shaking — the value.js boundary.** The package is `"sideEffects": false` and splits along a static/dynamic boundary. The light physics/interpolation engines — `SpringProgress`, `SmoothProgress`, `NumericAnimation`, `ElementMorph`, the `Timeline` family, `RAFPlayback`, and the spring-stop helpers — carry **zero** static import edge to `@mkbabb/value.js`. A consumer that imports only these never pulls value.js (or the heavy CSS-keyframe parser) into its graph; the heavy engine (`KeyframesAnimation`, `CSSKeyframesAnimation`, `AnimationGroup`) is reached only through `loadAnimationEngine()`'s dynamic `import()`.
|
|
439
|
+
**Tree-shaking — the value.js boundary.** The package is `"sideEffects": false` and splits along a static/dynamic boundary. The light physics/interpolation engines — `SpringProgress`, `SmoothProgress`, `NumericAnimation`, `ElementMorph`, the `Timeline` family, `RAFPlayback`, and the spring-stop helpers — carry **zero** static import edge to `@mkbabb/value.js`. A consumer that imports only these never pulls value.js (or the heavy CSS-keyframe parser) into its graph; the heavy engine (`KeyframesAnimation`, `CSSKeyframesAnimation`, `AnimationGroup`) is reached only through `loadAnimationEngine()`'s dynamic `import()`. `npm run proof:publish` verifies both sides of this boundary: it bundles every LIGHT entry from source, then bundles the published `dist/keyframes.js` as a downstream consumer and fails if either eager graph carries value.js, parse-that, or a statically inlined engine class. (Deliberately no prose kB figure here: the check floors the LIGHT edge's *composition* — zero value.js, zero engine — not a byte count.)
|
|
436
440
|
|
|
437
441
|
**Reduced motion.** Both the light and heavy engines honor `prefers-reduced-motion: reduce`. Opt in per surface:
|
|
438
442
|
|
|
@@ -451,7 +455,7 @@ The library also ships general-purpose interpolation primitives, decoupled from
|
|
|
451
455
|
Everything in this section lives on the **light static barrel** — `import { NumericAnimation, SpringProgress, … } from "@mkbabb/keyframes.js"` — and carries zero static value.js edge (see [tree-shaking](#baseline-tree-shaking--reduced-motion)). Two conventions hold throughout:
|
|
452
456
|
|
|
453
457
|
- **Easing is callable.** Every light primitive takes a `TimingFunction` (`t => t'`) or a typed `Easing` — `toEasing` normalizes a bare callable to the typed shape, synchronously. A string easing *name* throws an `UnknownEasingError` — resolve it once, up front: `const easing = await resolveEasing("easeOutCubic")`.
|
|
454
|
-
- **Every snippet executes.** Each example below runs
|
|
458
|
+
- **Every snippet executes.** Each example below runs against the built package in CI; `// =>` comments are asserted results, not aspirations.
|
|
455
459
|
|
|
456
460
|
### `NumericAnimation`
|
|
457
461
|
|
|
@@ -799,7 +803,7 @@ npm run gh-pages # demo (multi-scene SPA, demo/app) → dist/gh-pages/
|
|
|
799
803
|
npm run dev # vite dev server (demo/app)
|
|
800
804
|
npm test # vitest (jsdom)
|
|
801
805
|
npm run bench # vitest bench
|
|
802
|
-
npm run proof:
|
|
806
|
+
npm test -- --run && npm run proof:publish # correctness + packaged public surface
|
|
803
807
|
```
|
|
804
808
|
|
|
805
809
|
### Local CI repro
|
|
@@ -807,7 +811,7 @@ npm run proof:readme-runs # execute every runnable README snippet against the b
|
|
|
807
811
|
A macOS-pass / Linux-fail CI flake (a render-race, an absolute frame/ms threshold) can be reproduced locally — no push, no 30-minute wait — by running the demo-smoke roster inside the same Linux container the CI runner uses:
|
|
808
812
|
|
|
809
813
|
```sh
|
|
810
|
-
make ci-linux # node:24-slim container · npm ci → gh-pages →
|
|
814
|
+
make ci-linux # node:24-slim container · npm ci → gh-pages → demo:correctness
|
|
811
815
|
```
|
|
812
816
|
|
|
813
817
|
It pulls `node:24-slim` (kf's CI Node), mounts the repo at `/workspace`, installs the Playwright browser, builds the demo, and runs the demo gate roster with `KF_REQUIRE_BROWSER=1`, exiting with the container's code. `docker` is the only requirement.
|
|
@@ -820,8 +824,8 @@ It pulls `node:24-slim` (kf's CI Node), mounts the repo at `/workspace`, install
|
|
|
820
824
|
|
|
821
825
|
## Contributing
|
|
822
826
|
|
|
823
|
-
Open a PR against `master`. Run `npm
|
|
824
|
-
|
|
827
|
+
Open a PR against `master`. Run `npm test -- --run && npm run proof:publish`
|
|
828
|
+
before pushing.
|
|
825
829
|
|
|
826
830
|
## License
|
|
827
831
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mkbabb/keyframes.js",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Create keyframe animations for anything in JavaScript; specify your keyframes in standards-complaint CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -41,216 +41,16 @@
|
|
|
41
41
|
"build:lib": "vite build --mode production",
|
|
42
42
|
"build:watch": "vite build --watch --mode production",
|
|
43
43
|
"gh-pages": "vite build --mode gh-pages",
|
|
44
|
-
"proof:boundary": "node scripts/proof-boundary.mjs",
|
|
45
|
-
"proof:published-surface": "node scripts/proof-published-surface.mjs",
|
|
46
|
-
"proof:publish": "node scripts/gates/surface/index.mjs",
|
|
47
|
-
"proof:engine-subpath-mirror": "node scripts/proof-engine-subpath-mirror.mjs",
|
|
48
|
-
"proof:no-any-default": "node scripts/proof-no-any-default.mjs",
|
|
49
|
-
"proof:dts-rollups-agree": "node scripts/proof-dts-rollups-agree.mjs",
|
|
50
|
-
"proof:alias-dropped": "node scripts/proof-alias-dropped.mjs",
|
|
51
|
-
"proof:changelog": "node scripts/proof-changelog.mjs",
|
|
52
|
-
"proof:agent-surface": "node scripts/proof-agent-surface.mjs",
|
|
53
|
-
"proof:in-is-importable": "node scripts/proof-in-is-importable.mjs",
|
|
54
|
-
"proof:agent-validate": "node scripts/proof-agent-validate.mjs && vitest run test/compile/agent-validate.test.ts",
|
|
55
|
-
"proof:demo-on-published-surface": "node scripts/proof-demo-on-published-surface.mjs",
|
|
56
|
-
"proof:color-fidelity": "node scripts/proof-color-fidelity.mjs && vitest run test/engine/color-fidelity.test.ts",
|
|
57
|
-
"proof:readme-runs": "node scripts/proof-readme-runs.mjs",
|
|
58
|
-
"proof:readme-paths-live": "node scripts/proof-readme-paths-live.mjs",
|
|
59
|
-
"proof:deps-current": "node scripts/proof-deps-current.mjs",
|
|
60
|
-
"proof:repin-witness": "node scripts/proof-repin-witness.mjs",
|
|
61
|
-
"proof:dogfood": "node scripts/proof-dogfood.mjs",
|
|
62
|
-
"proof:engine": "node scripts/proof-engine.mjs",
|
|
63
|
-
"proof:decomposition": "node scripts/proof-decomposition.mjs",
|
|
64
|
-
"proof:zone-cohesion": "node scripts/proof-zone-cohesion.mjs",
|
|
65
|
-
"proof:compile-backward-leg": "node scripts/proof-compile-backward-leg.mjs",
|
|
66
|
-
"proof:no-flat-siblings": "node scripts/proof-no-flat-siblings.mjs",
|
|
67
|
-
"proof:no-orphan-module": "node scripts/proof-no-orphan-module.mjs",
|
|
68
|
-
"proof:idioms": "node scripts/proof-idioms.mjs",
|
|
69
|
-
"proof:brittleness": "node scripts/proof-brittleness.mjs",
|
|
70
|
-
"proof:modern-web": "node scripts/proof-modern-web.mjs",
|
|
71
|
-
"proof:lighthouse-mobile": "node scripts/proof-lighthouse-mobile.mjs",
|
|
72
|
-
"proof:demo-elevate": "node scripts/proof-demo-elevate.mjs",
|
|
73
|
-
"proof:platform-adopt": "node scripts/proof-platform-adopt.mjs && vitest run test/ingest/platform-adopt.test.ts",
|
|
74
|
-
"proof:compile-replay": "node scripts/proof-compile-replay.mjs && vitest run test/compile/compile-roundtrip.test.ts",
|
|
75
|
-
"proof:roundtrip-easing": "vitest run test/compile/roundtrip-easing.test.ts",
|
|
76
|
-
"proof:sync-step": "vitest run test/physics/sync-step.test.ts",
|
|
77
|
-
"proof:zero-alloc": "vitest run test/engine/zero-alloc.test.ts",
|
|
78
|
-
"proof:compile-browser-parse": "node scripts/proof-compile-browser-parse.mjs",
|
|
79
|
-
"proof:split-a11y": "node scripts/proof-split-a11y.mjs",
|
|
80
|
-
"proof:vt-roundtrip": "node scripts/proof-vt-roundtrip.mjs",
|
|
81
|
-
"proof:entry-roundtrip": "node scripts/proof-entry-roundtrip.mjs",
|
|
82
|
-
"proof:trigger-roundtrip": "node scripts/proof-trigger-roundtrip.mjs",
|
|
83
|
-
"proof:replay-equality": "node scripts/proof-replay-equality.mjs && vitest run test/engine/replay-equality.test.ts",
|
|
84
|
-
"proof:bench-runs": "node scripts/proof-bench-runs.mjs",
|
|
85
|
-
"proof:bench-taxonomy": "node scripts/proof-bench-taxonomy.mjs",
|
|
86
|
-
"proof:scheduler-posttask": "node scripts/proof-scheduler-posttask.mjs",
|
|
87
|
-
"proof:epf1-measure": "node scripts/proof-epf1-measure.mjs",
|
|
88
|
-
"proof:orchestration": "node scripts/proof-orchestration.mjs",
|
|
89
|
-
"proof:transport-events": "node scripts/proof-transport-events.mjs",
|
|
90
|
-
"proof:interp-fastprops": "node --allow-natives-syntax scripts/proof-interp-fastprops.mjs && vitest run test/engine/interp-fastprops.test.ts",
|
|
91
|
-
"proof:composition-honored": "node scripts/proof-composition-honored.mjs && vitest run test/engine/composition-honored.test.ts",
|
|
92
|
-
"proof:diagnostics-channel": "node scripts/proof-diagnostics-channel.mjs && vitest run test/compile/diagnostics-channel.test.ts",
|
|
93
|
-
"proof:scroll-roundtrip": "node scripts/proof-scroll-roundtrip.mjs && vitest run test/scroll/scroll-scene.test.ts",
|
|
94
|
-
"proof:blend": "node scripts/proof-blend.mjs && vitest run test/group/blend.test.ts",
|
|
95
|
-
"proof:spring-blend-weight": "node scripts/proof-spring-blend-weight.mjs && vitest run test/group/spring-blend-weight.test.ts",
|
|
96
|
-
"proof:drawsvg": "node scripts/proof-drawsvg.mjs && vitest run test/svg/draw-svg.test.ts",
|
|
97
|
-
"proof:finished": "node scripts/proof-finished.mjs && vitest run test/engine/finished.test.ts",
|
|
98
|
-
"proof:adopt-compiled": "node scripts/proof-adopt-compiled.mjs && vitest run test/ingest/adopt-compiled.test.ts",
|
|
99
|
-
"proof:interpolate-anything": "node scripts/proof-interpolate-anything.mjs && vitest run test/engine/interpolate-anything.test.ts",
|
|
100
|
-
"proof:roundtrip-fidelity": "node scripts/proof-roundtrip-fidelity.mjs && vitest run test/compile/roundtrip-fidelity.test.ts",
|
|
101
|
-
"proof:ingest-replay": "node scripts/proof-ingest-replay.mjs && vitest run test/ingest/ingest.test.ts",
|
|
102
|
-
"proof:orbital-rotate3d": "node scripts/proof-orbital-rotate3d.mjs && vitest run test/demo/scenes/orbital-rotate3d.test.ts",
|
|
103
|
-
"proof:computed-real-dom": "node scripts/proof-computed-real-dom.mjs",
|
|
104
|
-
"proof:demo-usability": "node scripts/proof-demo-usability.mjs",
|
|
105
|
-
"proof:demo-smoke": "node scripts/demo-smoke.mjs",
|
|
106
|
-
"proof:occlusion": "node scripts/occlusion-gate.mjs",
|
|
107
|
-
"proof:lighthouse-a11y": "node scripts/lighthouse-gate.mjs",
|
|
108
|
-
"proof:live-session": "node scripts/proof-live-session.mjs",
|
|
109
|
-
"proof:live-session-mobile": "node scripts/proof-live-session-mobile.mjs",
|
|
110
|
-
"proof:appearance-suffusion": "node scripts/proof-appearance-suffusion.mjs",
|
|
111
|
-
"proof:accent-census": "node scripts/proof-accent-census.mjs",
|
|
112
|
-
"proof:engine-no-throw-on-play": "node scripts/proof-engine-no-throw-on-play.mjs",
|
|
113
|
-
"proof:subject-animates": "node scripts/proof-subject-animates.mjs",
|
|
114
|
-
"proof:cube-silhouette": "node scripts/proof-cube-silhouette.mjs",
|
|
115
|
-
"proof:cube-settle": "node scripts/proof-cube-settle.mjs",
|
|
116
|
-
"proof:cube-relight-writes": "node scripts/proof-cube-relight-writes.mjs",
|
|
117
|
-
"proof:cold-entry": "node scripts/proof-cold-entry.mjs",
|
|
118
|
-
"proof:amiga-subject-is-pivot": "node scripts/proof-amiga-subject-is-pivot.mjs",
|
|
119
|
-
"proof:icon-paint-live": "node scripts/proof-icon-paint-live.mjs",
|
|
120
|
-
"proof:specular-absent-at-rest": "node scripts/proof-specular-absent-at-rest.mjs",
|
|
121
|
-
"proof:demo-fonts": "node scripts/proof-demo-fonts.mjs",
|
|
122
|
-
"proof:font-census": "node scripts/proof-font-census.mjs",
|
|
123
|
-
"proof:drag-gesture": "node scripts/proof-drag-gesture.mjs",
|
|
124
|
-
"proof:perf-frame-budget": "node scripts/proof-perf-frame-budget.mjs",
|
|
125
|
-
"proof:perf-counters": "node scripts/proof-perf-counters.mjs",
|
|
126
|
-
"proof:scene-rests": "node scripts/proof-scene-rests.mjs",
|
|
127
|
-
"proof:no-layout-animation": "node scripts/proof-no-layout-animation.mjs",
|
|
128
|
-
"proof:easing-editor-live": "node scripts/proof-easing-editor-live.mjs",
|
|
129
|
-
"proof:easing-gallery": "node scripts/proof-easing-gallery.mjs",
|
|
130
|
-
"proof:fsm-suspend-resume-live": "node scripts/proof-fsm-suspend-resume-live.mjs",
|
|
131
|
-
"proof:browser": "node scripts/proof-browser.mjs",
|
|
132
|
-
"proof:scene-facility": "node scripts/proof-scene-facility.mjs",
|
|
133
|
-
"proof:scene-machine-irrefragable": "node scripts/proof-scene-machine-irrefragable.mjs",
|
|
134
|
-
"proof:scene-superkey-single-source": "node scripts/proof-scene-superkey-single-source.mjs",
|
|
135
|
-
"proof:drawer-spring": "node scripts/proof-drawer-spring.mjs",
|
|
136
|
-
"proof:panel-naked-rail": "node scripts/proof-panel-naked-rail.mjs",
|
|
137
|
-
"proof:scene-control-dfa": "node scripts/proof-scene-control-dfa.mjs && vitest run test/demo/state/control-surface-dfa.test.ts",
|
|
138
|
-
"proof:dfa-derived": "node scripts/proof-dfa-derived.mjs",
|
|
139
|
-
"proof:scene-transition-perf": "node scripts/proof-scene-transition-perf.mjs",
|
|
140
|
-
"proof:control-surface-single-writer": "node scripts/proof-control-surface-single-writer.mjs",
|
|
141
|
-
"proof:no-shadow-playback-authority": "node scripts/proof-no-shadow-playback-authority.mjs && vitest run test/demo/state/no-shadow-playback-authority.test.ts",
|
|
142
|
-
"proof:one-adapter": "node scripts/proof-one-adapter.mjs",
|
|
143
|
-
"proof:sheet-reopen-scroll": "node scripts/proof-sheet-reopen-scroll.mjs",
|
|
144
|
-
"proof:dock-popover-opens": "node scripts/proof-dock-popover-opens.mjs",
|
|
145
|
-
"proof:single-toggle": "node scripts/proof-single-toggle.mjs",
|
|
146
|
-
"proof:single-column-pack": "node scripts/proof-single-column-pack.mjs",
|
|
147
|
-
"proof:label-subgrid": "node scripts/proof-label-subgrid.mjs",
|
|
148
|
-
"proof:timeline-rail-width": "node scripts/proof-timeline-rail-width.mjs",
|
|
149
|
-
"proof:demo-shell-grid": "node scripts/proof-demo-shell-grid.mjs",
|
|
150
|
-
"proof:stage-not-clipped": "node scripts/proof-stage-not-clipped.mjs",
|
|
151
|
-
"proof:layout-cluster": "node scripts/proof-layout-cluster.mjs",
|
|
152
|
-
"proof:cartoon-shadow-unclipped": "node scripts/proof-cartoon-shadow-unclipped.mjs",
|
|
153
|
-
"proof:no-deprecated-guard": "node scripts/proof-no-deprecated-guard.mjs",
|
|
154
|
-
"proof:single-writer": "node scripts/proof-single-writer.mjs",
|
|
155
|
-
"proof:composable-encapsulation": "node scripts/proof-composable-encapsulation.mjs",
|
|
156
|
-
"proof:scene-colocated": "node scripts/proof-scene-colocated.mjs",
|
|
157
|
-
"proof:shared-has-n-consumers": "node scripts/proof-shared-has-n-consumers.mjs",
|
|
158
|
-
"proof:colocation": "node scripts/proof-colocation.mjs",
|
|
159
|
-
"proof:style-file-ceiling": "node scripts/proof-style-file-ceiling.mjs",
|
|
160
|
-
"proof:app-is-shell": "node scripts/proof-app-is-shell.mjs",
|
|
161
|
-
"proof:no-brittle-selector": "node scripts/proof-no-brittle-selector.mjs",
|
|
162
|
-
"proof:no-dup-utility": "node scripts/proof-no-dup-utility.mjs",
|
|
163
|
-
"proof:cartoon-is-panel-depth": "node scripts/proof-cartoon-is-panel-depth.mjs",
|
|
164
|
-
"proof:glass-and-cartoon": "node scripts/proof-glass-and-cartoon.mjs",
|
|
165
|
-
"proof:phi-leaf-zero": "node scripts/proof-phi-leaf-zero.mjs",
|
|
166
|
-
"proof:icon-idiom": "node scripts/proof-icon-idiom.mjs",
|
|
167
|
-
"proof:styling-idioms": "node scripts/proof-styling-idioms.mjs",
|
|
168
|
-
"proof:scene-parity": "node scripts/proof-scene-parity.mjs",
|
|
169
|
-
"proof:typing-dots": "node scripts/proof-typing-dots.mjs",
|
|
170
|
-
"proof:dogfood-hero": "node scripts/proof-dogfood-hero.mjs",
|
|
171
|
-
"proof:scene-uses-standard-ribbon": "node scripts/proof-scene-uses-standard-ribbon.mjs",
|
|
172
|
-
"proof:scene-card-rounded": "node scripts/proof-scene-card-rounded.mjs",
|
|
173
|
-
"proof:stage-glass-card": "node scripts/proof-stage-glass-card.mjs",
|
|
174
|
-
"proof:card-rounded-primitive": "node scripts/proof-card-rounded-primitive.mjs",
|
|
175
|
-
"proof:stage-within-docks": "node scripts/proof-stage-within-docks.mjs",
|
|
176
|
-
"proof:mobile-single-page": "node scripts/proof-mobile-single-page.mjs",
|
|
177
|
-
"proof:stage-visible": "node scripts/proof-stage-visible.mjs",
|
|
178
|
-
"proof:dock-zorder": "node scripts/proof-dock-zorder.mjs",
|
|
179
|
-
"proof:pp-logo-svg": "node scripts/proof-pp-logo-svg.mjs",
|
|
180
|
-
"proof:darkmode-row-toggle": "node scripts/proof-darkmode-row-toggle.mjs",
|
|
181
|
-
"proof:idle-fade": "node scripts/proof-idle-fade.mjs",
|
|
182
|
-
"proof:scene-perf-budget": "node scripts/proof-scene-perf-budget.mjs && vitest run test/demo/scenes/amiga-sphere-spin.test.ts",
|
|
183
|
-
"proof:hero-two-focal": "node scripts/proof-hero-two-focal.mjs",
|
|
184
|
-
"proof:hero-deck-voice": "node scripts/proof-hero-deck-voice.mjs",
|
|
185
|
-
"proof:cursor-light-subtle": "node scripts/proof-cursor-light-subtle.mjs",
|
|
186
|
-
"proof:no-hand-rolled-cursor-tracker": "node scripts/proof-no-hand-rolled-cursor-tracker.mjs",
|
|
187
|
-
"proof:sequence-rows-draggable": "node scripts/proof-sequence-rows-draggable.mjs",
|
|
188
|
-
"proof:square-honest": "node scripts/proof-square-honest.mjs",
|
|
189
|
-
"proof:crayon-preserved": "node scripts/proof-crayon-preserved.mjs",
|
|
190
|
-
"proof:spring-slider-continuous": "node scripts/proof-spring-slider-continuous.mjs",
|
|
191
|
-
"proof:taste-packet": "node scripts/proof-taste-packet.mjs",
|
|
192
|
-
"proof:no-single-option-select": "node scripts/proof-no-single-option-select.mjs",
|
|
193
|
-
"proof:peer-satisfied": "node scripts/proof-peer-satisfied.mjs",
|
|
194
|
-
"proof:css-parity": "node scripts/proof-css-parity.mjs",
|
|
195
|
-
"proof:packrat-sound": "node scripts/proof-packrat-sound.mjs",
|
|
196
|
-
"proof:consume-bundle": "node scripts/proof-consume-bundle.mjs",
|
|
197
|
-
"proof:workaround-deletion": "node scripts/proof-workaround-deletion.mjs",
|
|
198
|
-
"proof:glass-ui-gap-tripwire": "node scripts/proof-glass-ui-gap-tripwire.mjs",
|
|
199
|
-
"proof:no-hand-rolled-labeled-select": "node scripts/proof-no-hand-rolled-labeled-select.mjs",
|
|
200
|
-
"proof:transport-action-order": "node scripts/proof-transport-action-order.mjs",
|
|
201
|
-
"proof:transport-play-first-render": "node scripts/proof-transport-play-first-render.mjs",
|
|
202
|
-
"proof:dock-grammar": "node scripts/proof-dock-grammar.mjs",
|
|
203
|
-
"proof:dock-elision": "node scripts/proof-dock-elision.mjs",
|
|
204
|
-
"proof:dock-single-tooltip": "node scripts/proof-dock-single-tooltip.mjs",
|
|
205
|
-
"proof:dock-rest-crisp": "node scripts/proof-dock-rest-crisp.mjs",
|
|
206
|
-
"proof:dock-morph-continuity": "node scripts/proof-dock-morph-continuity.mjs",
|
|
207
|
-
"proof:settle-is-predicate": "node scripts/proof-settle-is-predicate.mjs",
|
|
208
|
-
"proof:manifest-sourced": "node scripts/proof-manifest-sourced.mjs",
|
|
209
|
-
"proof:no-foreign-symbol-stamp": "node scripts/proof-no-foreign-symbol-stamp.mjs",
|
|
210
|
-
"proof:emerging-css-resolve": "node scripts/proof-emerging-css-resolve-now.mjs && node scripts/proof-emerging-css-resolve-p2.mjs && node scripts/proof-emerging-css-resolve-fn.mjs && vitest run test/resolve/emerging-css-resolve-now.test.ts test/resolve/emerging-css-resolve-p2.test.ts test/resolve/emerging-css-resolve-fn.test.ts",
|
|
211
|
-
"proof:morph": "node scripts/proof-morphsvg-consume.mjs && node scripts/proof-morph-renders-d.mjs && node scripts/proof-morph-orients.mjs && vitest run test/svg/morph-svg.test.ts",
|
|
212
|
-
"proof:portable-perf": "node scripts/proof-portable-perf.mjs",
|
|
213
|
-
"proof:spring-heatmap": "node scripts/proof-spring-heatmap.mjs",
|
|
214
|
-
"proof:record-truth": "node scripts/proof-record-truth.mjs",
|
|
215
|
-
"proof:lint-clean": "node scripts/proof-lint-clean.mjs",
|
|
216
|
-
"proof:no-silent-fallback": "node scripts/proof-no-silent-fallback.mjs",
|
|
217
44
|
"lint": "depcruise src",
|
|
218
|
-
"proof:drag2d-light-certified": "node scripts/proof-drag2d-light-certified.mjs",
|
|
219
|
-
"proof:wave-charter": "node scripts/proof-wave-charter.mjs",
|
|
220
|
-
"proof:pin-ledger-current": "node scripts/proof-pin-ledger-current.mjs",
|
|
221
|
-
"proof:nan-frame": "node scripts/proof-nan-frame.mjs && vitest run test/engine/nan-frame.test.ts",
|
|
222
|
-
"proof:grammar-fuzz": "node scripts/proof-grammar-fuzz.mjs && vitest run test/compile/grammar-fuzz.test.ts",
|
|
223
|
-
"proof:kf-differential": "node scripts/proof-kf-differential.mjs",
|
|
224
|
-
"proof:amiga-decay-visible": "node scripts/proof-amiga-decay-visible.mjs",
|
|
225
|
-
"proof:no-cross-realm-cast": "node scripts/proof-no-cross-realm-cast.mjs",
|
|
226
|
-
"proof:no-collision-rename": "node scripts/proof-no-collision-rename.mjs",
|
|
227
|
-
"proof:no-nested-self-dependency": "node scripts/proof-no-nested-self-dependency.mjs",
|
|
228
|
-
"proof:glassui-aria-ask": "node scripts/proof-glassui-aria-ask.mjs",
|
|
229
|
-
"proof:no-dead-dependency": "node scripts/proof-no-dead-dependency.mjs",
|
|
230
|
-
"proof:no-dead-export": "node scripts/proof-no-dead-export.mjs",
|
|
231
|
-
"proof:any-ceiling": "node scripts/proof-any-ceiling.mjs",
|
|
232
|
-
"proof:owner-verdict-recorded": "node scripts/proof-owner-verdict-recorded.mjs",
|
|
233
|
-
"proof:owner-review-gate": "node scripts/proof-owner-review-gate.mjs",
|
|
234
|
-
"proof:gate-authority": "node scripts/proof-gate-authority.mjs",
|
|
235
|
-
"proof:prompt-recap-u": "node scripts/proof-prompt-recap-u.mjs",
|
|
236
|
-
"proof:owner-golden": "node scripts/proof-owner-golden.mjs",
|
|
237
|
-
"proof:stage-inventory": "node scripts/proof-stage-inventory.mjs",
|
|
238
|
-
"proof:subject-legible": "node scripts/proof-subject-legible.mjs",
|
|
239
|
-
"proof:subject-full": "node scripts/proof-subject-full.mjs",
|
|
240
|
-
"proof:blur-not-resampled": "node scripts/proof-blur-not-resampled.mjs",
|
|
241
|
-
"proof:library-correctness": "vitest run --project=library && npm run proof:replay-equality && npm run proof:compile-replay && npm run proof:roundtrip-fidelity && npm run proof:roundtrip-easing && npm run proof:sync-step && npm run proof:zero-alloc && npm run proof:nan-frame && npm run proof:grammar-fuzz && npm run proof:interpolate-anything && npm run proof:composition-honored && npm run proof:interp-fastprops && npm run proof:diagnostics-channel && npm run proof:scroll-roundtrip && npm run proof:blend && npm run proof:spring-blend-weight && npm run proof:drawsvg && npm run proof:finished && npm run proof:adopt-compiled && npm run proof:ingest-replay && npm run proof:orbital-rotate3d && npm run proof:orchestration && npm run proof:transport-events && npm run proof:color-fidelity && npm run proof:scheduler-posttask && npm run proof:morph && npm run proof:emerging-css-resolve",
|
|
242
|
-
"proof:demo-correctness": "npm run proof:engine-no-throw-on-play && npm run proof:subject-animates && npm run proof:cold-entry && npm run proof:fsm-suspend-resume-live && npm run proof:easing-editor-live && npm run proof:easing-gallery && npm run proof:amiga-subject-is-pivot && npm run proof:drag-gesture && npm run proof:control-surface-single-writer && npm run proof:sheet-reopen-scroll && npm run proof:perf-frame-budget && npm run proof:icon-paint-live && npm run proof:specular-absent-at-rest && npm run proof:demo-fonts && npm run proof:font-census && npm run proof:live-session && npm run proof:live-session-mobile && npm run proof:appearance-suffusion && npm run proof:accent-census && npm run proof:spring-slider-continuous && npm run proof:spring-heatmap && npm run proof:amiga-decay-visible && npm run proof:square-honest && npm run proof:perf-counters && npm run proof:scene-rests && npm run proof:no-layout-animation",
|
|
243
|
-
"proof:hygiene": "node scripts/run-all.mjs --tier=proof:hygiene-chain",
|
|
244
|
-
"proof:hygiene-chain": "npm run proof:publish && npm run proof:record-truth && npm run proof:deps-current && npm run proof:repin-witness && npm run proof:boundary && npm run proof:consume-bundle && npm run proof:css-parity && npm run proof:packrat-sound && npm run proof:workaround-deletion && npm run proof:glass-ui-gap-tripwire && npm run proof:no-hand-rolled-labeled-select && npm run proof:transport-action-order && npm run proof:scene-facility && npm run proof:dogfood && npm run proof:engine && npm run proof:decomposition && npm run proof:zone-cohesion && npm run proof:compile-backward-leg && npm run proof:no-flat-siblings && npm run proof:no-orphan-module && npm run proof:no-deprecated-guard && npm run proof:single-writer && npm run proof:composable-encapsulation && npm run proof:scene-colocated && npm run proof:app-is-shell && npm run proof:shared-has-n-consumers && npm run proof:colocation && npm run proof:style-file-ceiling && npm run proof:no-brittle-selector && npm run proof:no-dup-utility && npm run proof:no-single-option-select && npm run proof:dock-grammar && npm run proof:dock-elision && npm run proof:dock-single-tooltip && npm run proof:transport-play-first-render && npm run proof:settle-is-predicate && npm run proof:demo-smoke && npm run proof:occlusion && npm run proof:cartoon-is-panel-depth && npm run proof:glass-and-cartoon && npm run proof:dock-popover-opens && npm run proof:single-toggle && npm run proof:darkmode-row-toggle && npm run proof:idle-fade && npm run proof:single-column-pack && npm run proof:label-subgrid && npm run proof:timeline-rail-width && npm run proof:demo-shell-grid && npm run proof:layout-cluster && npm run proof:stage-not-clipped && npm run proof:cartoon-shadow-unclipped && npm run proof:scene-machine-irrefragable && npm run proof:scene-superkey-single-source && npm run proof:scene-control-dfa && npm run proof:dfa-derived && npm run proof:no-shadow-playback-authority && npm run proof:one-adapter && npm run proof:scene-transition-perf && npm run proof:drawer-spring && npm run proof:panel-naked-rail && npm run proof:idioms && npm run proof:phi-leaf-zero && npm run proof:icon-idiom && npm run proof:styling-idioms && npm run proof:scene-parity && npm run proof:sequence-rows-draggable && npm run proof:crayon-preserved && npm run proof:typing-dots && npm run proof:dogfood-hero && npm run proof:scene-uses-standard-ribbon && npm run proof:scene-card-rounded && npm run proof:stage-glass-card && npm run proof:card-rounded-primitive && npm run proof:stage-within-docks && npm run proof:mobile-single-page && npm run proof:pp-logo-svg && npm run proof:scene-perf-budget && npm run proof:no-hand-rolled-cursor-tracker && npm run proof:brittleness && npm run proof:demo-elevate && npm run proof:modern-web && npm run proof:platform-adopt && npm run proof:demo-usability && npm run proof:computed-real-dom && npm run proof:lighthouse-a11y && npm run proof:lighthouse-mobile && npm run proof:published-surface && npm run proof:alias-dropped && npm run proof:changelog && npm run proof:agent-surface && npm run proof:in-is-importable && npm run proof:agent-validate && npm run proof:demo-on-published-surface && npm run proof:readme-runs && npm run proof:readme-paths-live && npm run proof:manifest-sourced && npm run proof:bench-runs && npm run proof:bench-taxonomy && npm run proof:epf1-measure && npm run proof:taste-packet && npm run proof:no-foreign-symbol-stamp && npm run proof:portable-perf && npm run proof:lint-clean && npm run proof:no-silent-fallback && npm run proof:drag2d-light-certified && npm run proof:wave-charter && npm run proof:pin-ledger-current && npm run proof:no-cross-realm-cast && npm run proof:glassui-aria-ask && npm run proof:no-dead-dependency && npm run proof:kf-differential && npm run proof:owner-verdict-recorded && npm run proof:owner-review-gate && npm run proof:gate-authority && npm run proof:prompt-recap-u && npm run proof:engine-subpath-mirror && npm run proof:no-any-default && npm run proof:dts-rollups-agree && npm run proof:no-dead-export && npm run proof:any-ceiling && vitest run --project=library && vitest run --project=demo",
|
|
245
|
-
"proof:observed": "node scripts/run-all.mjs --tier=proof:observed-chain",
|
|
246
|
-
"proof:observed-chain": "npm run proof:compile-browser-parse && npm run proof:split-a11y && npm run proof:vt-roundtrip && npm run proof:entry-roundtrip && npm run proof:trigger-roundtrip && npm run proof:cube-silhouette && npm run proof:cube-settle && npm run proof:cube-relight-writes && npm run proof:stage-visible && npm run proof:hero-two-focal && npm run proof:hero-deck-voice && npm run proof:cursor-light-subtle",
|
|
247
|
-
"proof:all": "node scripts/run-all.mjs --all",
|
|
248
|
-
"proof:all:demo": "npm run proof:demo-smoke && npm run proof:occlusion && npm run proof:peer-satisfied",
|
|
249
|
-
"demo:correctness": "node scripts/run-demo-roster.mjs --tier=correctness",
|
|
250
45
|
"test": "vitest",
|
|
251
46
|
"bench": "vitest bench",
|
|
252
47
|
"bench:color-fidelity": "vitest run test/engine/color-fidelity.test.ts && node scripts/color-fidelity-harness.mjs",
|
|
253
|
-
"gen:agent-surface": "node scripts/gen-agent-surface.mjs"
|
|
48
|
+
"gen:agent-surface": "node scripts/gen-agent-surface.mjs",
|
|
49
|
+
"proof:publish": "node scripts/gates/surface/index.mjs",
|
|
50
|
+
"proof:owner-golden": "node scripts/gates/visual/index.mjs",
|
|
51
|
+
"demo:correctness": "node scripts/run-demo-roster.mjs",
|
|
52
|
+
"audit:lighthouse": "node scripts/observe/lighthouse.mjs",
|
|
53
|
+
"release:changelog": "node scripts/release/changelog.mjs"
|
|
254
54
|
},
|
|
255
55
|
"repository": {
|
|
256
56
|
"type": "git",
|