@mkbabb/keyframes.js 5.2.0 → 5.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkbabb/keyframes.js",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "Create keyframe animations for anything in JavaScript; specify your keyframes in standards-complaint CSS.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,17 +16,14 @@
16
16
  ],
17
17
  "type": "module",
18
18
  "sideEffects": false,
19
- "main": "./dist/keyframes.js",
20
19
  "types": "./dist/keyframes.d.ts",
21
20
  "exports": {
22
21
  ".": {
23
22
  "types": "./dist/keyframes.d.ts",
24
- "import": "./dist/keyframes.js",
25
23
  "default": "./dist/keyframes.js"
26
24
  },
27
25
  "./engine": {
28
26
  "types": "./dist/engine/index.d.ts",
29
- "import": "./dist/engine/index.js",
30
27
  "default": "./dist/engine/index.js"
31
28
  }
32
29
  },
@@ -46,6 +43,7 @@
46
43
  "gh-pages": "vite build --mode gh-pages",
47
44
  "proof:boundary": "node scripts/proof-boundary.mjs",
48
45
  "proof:published-surface": "node scripts/proof-published-surface.mjs",
46
+ "proof:publish": "node scripts/gates/surface/index.mjs",
49
47
  "proof:engine-subpath-mirror": "node scripts/proof-engine-subpath-mirror.mjs",
50
48
  "proof:no-any-default": "node scripts/proof-no-any-default.mjs",
51
49
  "proof:dts-rollups-agree": "node scripts/proof-dts-rollups-agree.mjs",
@@ -58,7 +56,6 @@
58
56
  "proof:color-fidelity": "node scripts/proof-color-fidelity.mjs && vitest run test/engine/color-fidelity.test.ts",
59
57
  "proof:readme-runs": "node scripts/proof-readme-runs.mjs",
60
58
  "proof:readme-paths-live": "node scripts/proof-readme-paths-live.mjs",
61
- "proof:claude-paths-live": "node scripts/proof-claude-paths-live.mjs",
62
59
  "proof:deps-current": "node scripts/proof-deps-current.mjs",
63
60
  "proof:repin-witness": "node scripts/proof-repin-witness.mjs",
64
61
  "proof:dogfood": "node scripts/proof-dogfood.mjs",
@@ -74,11 +71,10 @@
74
71
  "proof:lighthouse-mobile": "node scripts/proof-lighthouse-mobile.mjs",
75
72
  "proof:demo-elevate": "node scripts/proof-demo-elevate.mjs",
76
73
  "proof:platform-adopt": "node scripts/proof-platform-adopt.mjs && vitest run test/ingest/platform-adopt.test.ts",
77
- "proof:zero-alloc": "vitest run test/engine/zero-alloc.test.ts test/physics/snap-symmetry.test.ts test/compile/frame-compiler.test.ts",
78
- "proof:engine-correctness": "vitest run test/engine/engine-correctness.test.ts",
79
- "proof:standalone-zero-alloc": "vitest run test/engine/standalone-zero-alloc.test.ts",
80
- "proof:compile-deterministic": "vitest run test/compile/compile-deterministic.test.ts",
81
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",
82
78
  "proof:compile-browser-parse": "node scripts/proof-compile-browser-parse.mjs",
83
79
  "proof:split-a11y": "node scripts/proof-split-a11y.mjs",
84
80
  "proof:vt-roundtrip": "node scripts/proof-vt-roundtrip.mjs",
@@ -89,14 +85,9 @@
89
85
  "proof:bench-taxonomy": "node scripts/proof-bench-taxonomy.mjs",
90
86
  "proof:scheduler-posttask": "node scripts/proof-scheduler-posttask.mjs",
91
87
  "proof:epf1-measure": "node scripts/proof-epf1-measure.mjs",
92
- "proof:spring-vector": "node scripts/proof-spring-vector.mjs",
93
88
  "proof:orchestration": "node scripts/proof-orchestration.mjs",
94
89
  "proof:transport-events": "node scripts/proof-transport-events.mjs",
95
90
  "proof:interp-fastprops": "node --allow-natives-syntax scripts/proof-interp-fastprops.mjs && vitest run test/engine/interp-fastprops.test.ts",
96
- "proof:sync-step": "vitest run test/physics/sync-step.test.ts",
97
- "proof:event-ordering": "vitest run test/engine/event-ordering.test.ts",
98
- "proof:roundtrip-easing": "vitest run test/compile/roundtrip-easing.test.ts",
99
- "proof:adapter-capture": "vitest run test/compile/adapter-capture.test.ts",
100
91
  "proof:composition-honored": "node scripts/proof-composition-honored.mjs && vitest run test/engine/composition-honored.test.ts",
101
92
  "proof:diagnostics-channel": "node scripts/proof-diagnostics-channel.mjs && vitest run test/compile/diagnostics-channel.test.ts",
102
93
  "proof:scroll-roundtrip": "node scripts/proof-scroll-roundtrip.mjs && vitest run test/scroll/scroll-scene.test.ts",
@@ -108,11 +99,7 @@
108
99
  "proof:interpolate-anything": "node scripts/proof-interpolate-anything.mjs && vitest run test/engine/interpolate-anything.test.ts",
109
100
  "proof:roundtrip-fidelity": "node scripts/proof-roundtrip-fidelity.mjs && vitest run test/compile/roundtrip-fidelity.test.ts",
110
101
  "proof:ingest-replay": "node scripts/proof-ingest-replay.mjs && vitest run test/ingest/ingest.test.ts",
111
- "proof:orbital-rotate3d": "node scripts/proof-orbital-rotate3d.mjs && vitest run test/demo/orbital-rotate3d.test.ts",
112
- "proof:scene-raf-leak": "vitest run test/demo/scene-raf-leak.test.ts",
113
- "proof:scene-contract-identity": "vitest run test/demo/scene-contract-identity.test.ts",
114
- "proof:group-snapshot-identity": "vitest run test/group/group-snapshot-identity.test.ts",
115
- "proof:resize-tracks": "vitest run test/demo/resize-tracks.test.ts",
102
+ "proof:orbital-rotate3d": "node scripts/proof-orbital-rotate3d.mjs && vitest run test/demo/scenes/orbital-rotate3d.test.ts",
116
103
  "proof:computed-real-dom": "node scripts/proof-computed-real-dom.mjs",
117
104
  "proof:demo-usability": "node scripts/proof-demo-usability.mjs",
118
105
  "proof:demo-smoke": "node scripts/demo-smoke.mjs",
@@ -122,7 +109,6 @@
122
109
  "proof:live-session-mobile": "node scripts/proof-live-session-mobile.mjs",
123
110
  "proof:appearance-suffusion": "node scripts/proof-appearance-suffusion.mjs",
124
111
  "proof:accent-census": "node scripts/proof-accent-census.mjs",
125
- "proof:gate-is-runtime": "node scripts/proof-gate-is-runtime.mjs",
126
112
  "proof:engine-no-throw-on-play": "node scripts/proof-engine-no-throw-on-play.mjs",
127
113
  "proof:subject-animates": "node scripts/proof-subject-animates.mjs",
128
114
  "proof:cube-silhouette": "node scripts/proof-cube-silhouette.mjs",
@@ -148,11 +134,11 @@
148
134
  "proof:scene-superkey-single-source": "node scripts/proof-scene-superkey-single-source.mjs",
149
135
  "proof:drawer-spring": "node scripts/proof-drawer-spring.mjs",
150
136
  "proof:panel-naked-rail": "node scripts/proof-panel-naked-rail.mjs",
151
- "proof:scene-control-dfa": "node scripts/proof-scene-control-dfa.mjs && vitest run test/demo/control-surface-dfa.test.ts",
137
+ "proof:scene-control-dfa": "node scripts/proof-scene-control-dfa.mjs && vitest run test/demo/state/control-surface-dfa.test.ts",
152
138
  "proof:dfa-derived": "node scripts/proof-dfa-derived.mjs",
153
139
  "proof:scene-transition-perf": "node scripts/proof-scene-transition-perf.mjs",
154
140
  "proof:control-surface-single-writer": "node scripts/proof-control-surface-single-writer.mjs",
155
- "proof:no-shadow-playback-authority": "node scripts/proof-no-shadow-playback-authority.mjs && vitest run test/demo/no-shadow-playback-authority.test.ts",
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",
156
142
  "proof:one-adapter": "node scripts/proof-one-adapter.mjs",
157
143
  "proof:sheet-reopen-scroll": "node scripts/proof-sheet-reopen-scroll.mjs",
158
144
  "proof:dock-popover-opens": "node scripts/proof-dock-popover-opens.mjs",
@@ -167,7 +153,6 @@
167
153
  "proof:no-deprecated-guard": "node scripts/proof-no-deprecated-guard.mjs",
168
154
  "proof:single-writer": "node scripts/proof-single-writer.mjs",
169
155
  "proof:composable-encapsulation": "node scripts/proof-composable-encapsulation.mjs",
170
- "proof:demo-no-oversize": "node scripts/proof-demo-no-oversize.mjs",
171
156
  "proof:scene-colocated": "node scripts/proof-scene-colocated.mjs",
172
157
  "proof:shared-has-n-consumers": "node scripts/proof-shared-has-n-consumers.mjs",
173
158
  "proof:colocation": "node scripts/proof-colocation.mjs",
@@ -194,19 +179,16 @@
194
179
  "proof:pp-logo-svg": "node scripts/proof-pp-logo-svg.mjs",
195
180
  "proof:darkmode-row-toggle": "node scripts/proof-darkmode-row-toggle.mjs",
196
181
  "proof:idle-fade": "node scripts/proof-idle-fade.mjs",
197
- "proof:scene-perf-budget": "node scripts/proof-scene-perf-budget.mjs && vitest run test/demo/amiga-sphere-spin.test.ts",
182
+ "proof:scene-perf-budget": "node scripts/proof-scene-perf-budget.mjs && vitest run test/demo/scenes/amiga-sphere-spin.test.ts",
198
183
  "proof:hero-two-focal": "node scripts/proof-hero-two-focal.mjs",
199
184
  "proof:hero-deck-voice": "node scripts/proof-hero-deck-voice.mjs",
200
185
  "proof:cursor-light-subtle": "node scripts/proof-cursor-light-subtle.mjs",
201
186
  "proof:no-hand-rolled-cursor-tracker": "node scripts/proof-no-hand-rolled-cursor-tracker.mjs",
202
- "proof:cohesion": "vitest run test/engine/boundary-cohesion.test.ts",
203
187
  "proof:sequence-rows-draggable": "node scripts/proof-sequence-rows-draggable.mjs",
204
188
  "proof:square-honest": "node scripts/proof-square-honest.mjs",
205
189
  "proof:crayon-preserved": "node scripts/proof-crayon-preserved.mjs",
206
190
  "proof:spring-slider-continuous": "node scripts/proof-spring-slider-continuous.mjs",
207
191
  "proof:taste-packet": "node scripts/proof-taste-packet.mjs",
208
- "proof:ci-coverage": "node scripts/proof-ci-coverage.mjs",
209
- "proof:report-all": "node scripts/proof-report-all.mjs",
210
192
  "proof:no-single-option-select": "node scripts/proof-no-single-option-select.mjs",
211
193
  "proof:peer-satisfied": "node scripts/proof-peer-satisfied.mjs",
212
194
  "proof:css-parity": "node scripts/proof-css-parity.mjs",
@@ -224,9 +206,7 @@
224
206
  "proof:dock-morph-continuity": "node scripts/proof-dock-morph-continuity.mjs",
225
207
  "proof:settle-is-predicate": "node scripts/proof-settle-is-predicate.mjs",
226
208
  "proof:manifest-sourced": "node scripts/proof-manifest-sourced.mjs",
227
- "proof:chronic-closure": "node scripts/proof-chronic-closure.mjs",
228
209
  "proof:no-foreign-symbol-stamp": "node scripts/proof-no-foreign-symbol-stamp.mjs",
229
- "proof:soa-composite": "node scripts/proof-soa-composite.mjs && npm run proof:blend",
230
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",
231
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",
232
212
  "proof:portable-perf": "node scripts/proof-portable-perf.mjs",
@@ -234,22 +214,17 @@
234
214
  "proof:record-truth": "node scripts/proof-record-truth.mjs",
235
215
  "proof:lint-clean": "node scripts/proof-lint-clean.mjs",
236
216
  "proof:no-silent-fallback": "node scripts/proof-no-silent-fallback.mjs",
237
- "lint": "depcruise src --ignore-known",
217
+ "lint": "depcruise src",
238
218
  "proof:drag2d-light-certified": "node scripts/proof-drag2d-light-certified.mjs",
239
- "proof:published-on-master": "node scripts/proof-published-on-master.mjs",
240
- "proof:deploy-roundtrip": "node scripts/proof-deploy-roundtrip.mjs",
241
219
  "proof:wave-charter": "node scripts/proof-wave-charter.mjs",
242
220
  "proof:pin-ledger-current": "node scripts/proof-pin-ledger-current.mjs",
243
- "proof:processframe-soa": "node scripts/proof-processframe-soa.mjs",
244
221
  "proof:nan-frame": "node scripts/proof-nan-frame.mjs && vitest run test/engine/nan-frame.test.ts",
245
- "proof:waapi-adaptive-densify": "node scripts/proof-waapi-adaptive-densify.mjs",
246
222
  "proof:grammar-fuzz": "node scripts/proof-grammar-fuzz.mjs && vitest run test/compile/grammar-fuzz.test.ts",
247
223
  "proof:kf-differential": "node scripts/proof-kf-differential.mjs",
248
224
  "proof:amiga-decay-visible": "node scripts/proof-amiga-decay-visible.mjs",
249
225
  "proof:no-cross-realm-cast": "node scripts/proof-no-cross-realm-cast.mjs",
250
226
  "proof:no-collision-rename": "node scripts/proof-no-collision-rename.mjs",
251
227
  "proof:no-nested-self-dependency": "node scripts/proof-no-nested-self-dependency.mjs",
252
- "proof:color-soa": "node scripts/proof-color-soa.mjs",
253
228
  "proof:glassui-aria-ask": "node scripts/proof-glassui-aria-ask.mjs",
254
229
  "proof:no-dead-dependency": "node scripts/proof-no-dead-dependency.mjs",
255
230
  "proof:no-dead-export": "node scripts/proof-no-dead-export.mjs",
@@ -257,19 +232,18 @@
257
232
  "proof:owner-verdict-recorded": "node scripts/proof-owner-verdict-recorded.mjs",
258
233
  "proof:owner-review-gate": "node scripts/proof-owner-review-gate.mjs",
259
234
  "proof:gate-authority": "node scripts/proof-gate-authority.mjs",
260
- "proof:retirement-ledger": "node scripts/proof-retirement-ledger.mjs",
261
- "proof:board-live": "node scripts/proof-board-live.mjs",
262
- "proof:prompt-recap-t": "node scripts/proof-prompt-recap-t.mjs",
263
- "proof:roster-ceiling": "node scripts/proof-roster-ceiling.mjs",
235
+ "proof:prompt-recap-u": "node scripts/proof-prompt-recap-u.mjs",
264
236
  "proof:owner-golden": "node scripts/proof-owner-golden.mjs",
265
237
  "proof:stage-inventory": "node scripts/proof-stage-inventory.mjs",
266
238
  "proof:subject-legible": "node scripts/proof-subject-legible.mjs",
267
239
  "proof:subject-full": "node scripts/proof-subject-full.mjs",
268
240
  "proof:blur-not-resampled": "node scripts/proof-blur-not-resampled.mjs",
269
- "proof:library-correctness": "npm run proof:replay-equality && npm run proof:engine-correctness && npm run proof:compile-deterministic && npm run proof:compile-replay && npm run proof:zero-alloc && npm run proof:standalone-zero-alloc && npm run proof:roundtrip-fidelity && npm run proof:roundtrip-easing && 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:sync-step && npm run proof:event-ordering && npm run proof:adapter-capture && 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:spring-vector && npm run proof:orchestration && npm run proof:transport-events && npm run proof:soa-composite && npm run proof:color-soa && npm run proof:processframe-soa && npm run proof:waapi-adaptive-densify && npm run proof:color-fidelity && npm run proof:cohesion && npm run proof:scheduler-posttask && npm run proof:morph && npm run proof:emerging-css-resolve",
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",
270
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",
271
243
  "proof:hygiene": "node scripts/run-all.mjs --tier=proof:hygiene-chain",
272
- "proof:hygiene-chain": "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:demo-no-oversize && 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:claude-paths-live && npm run proof:scene-raf-leak && npm run proof:scene-contract-identity && npm run proof:group-snapshot-identity && npm run proof:resize-tracks && 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:gate-is-runtime && npm run proof:chronic-closure && npm run proof:taste-packet && npm run proof:ci-coverage && npm run proof:no-foreign-symbol-stamp && npm run proof:portable-perf && npm run proof:published-on-master && npm run proof:deploy-roundtrip && 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:retirement-ledger && npm run proof:board-live && npm run proof:prompt-recap-t && 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 && npm run proof:report-all && vitest run",
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",
273
247
  "proof:all": "node scripts/run-all.mjs --all",
274
248
  "proof:all:demo": "npm run proof:demo-smoke && npm run proof:occlusion && npm run proof:peer-satisfied",
275
249
  "demo:correctness": "node scripts/run-demo-roster.mjs --tier=correctness",
@@ -294,7 +268,7 @@
294
268
  "@mkbabb/value.js": "^3.1.0"
295
269
  },
296
270
  "optionalDependencies": {
297
- "@mkbabb/glass-ui": "~4.0.0"
271
+ "@mkbabb/glass-ui": "5.0.0"
298
272
  },
299
273
  "devDependencies": {
300
274
  "@iconify-json/radix-icons": "^1.2.6",
@@ -1,108 +0,0 @@
1
- import { COLOR_SPACE_RANGES as e, color2 as t, deltaEOK as n, normalizeColorUnit as r, sampleColorRamp as i, scale as a } from "@mkbabb/value.js";
2
- //#region src/animation/compile/backward/backward-color.ts
3
- var o = e.oklab.a.number.min, s = e.oklab.a.number.max, c = e.oklab.b.number.min, l = e.oklab.b.number.max, u = (e) => Math.round(e * 1e4) / 1e4, d = (e) => typeof e == "object" && !!e && e.unit === "color", f = (e) => r(e).value, p = (e) => {
4
- let n = t(e, "oklab");
5
- return [
6
- n.l,
7
- a(n.a, 0, 1, o, s),
8
- a(n.b, 0, 1, c, l)
9
- ];
10
- }, m = (e) => {
11
- let [t, n, r] = p(e);
12
- return `oklab(${u(t)} ${u(n)} ${u(r)})`;
13
- }, h = (e) => m(f(e)), g = (e, t) => {
14
- let [r, i, a] = p(e), [o, s, c] = p(t);
15
- return n(r, i, a, o, s, c);
16
- }, _ = (e, n, r) => t({
17
- colorSpace: "oklab",
18
- l: e,
19
- a: a(n, o, s, 0, 1),
20
- b: a(r, c, l, 0, 1),
21
- alpha: 1
22
- }, "oklab"), v = (e, t) => {
23
- let [n, r, i] = p(e), [a, o, s] = p(t);
24
- return _((n + a) / 2, (r + o) / 2, (i + s) / 2);
25
- }, y = (e) => {
26
- let t = /([\d.]+)\s*%/.exec(e.toString());
27
- return t ? parseFloat(t[1]) : 0;
28
- }, b = (e, t, n) => {
29
- let r = (e.parsedVars[t] ?? {})[n];
30
- if (Array.isArray(r)) return r.find((e) => d(e));
31
- };
32
- function x(e, t, n, r, a) {
33
- let o = t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), s = [], c = 0;
34
- for (let o = 0; o + 1 < e.templateFrames.length; o++) {
35
- let l = b(e, o, t), d = b(e, o + 1, t);
36
- if (!l || !d) continue;
37
- let p = y(e.templateFrames[o].start), h = y(e.templateFrames[o + 1].start);
38
- if (l.toString() === d.toString()) {
39
- s.push({
40
- pct: p,
41
- css: l.toString()
42
- });
43
- continue;
44
- }
45
- let _ = f(l), x = f(d), S = i(_, x, n, {
46
- space: r,
47
- ...a
48
- });
49
- for (let e = 0; e < S.length; e++) {
50
- let t = e / (S.length - 1), n = p + (h - p) * t;
51
- s.push({
52
- pct: u(n),
53
- css: m(S[e])
54
- });
55
- }
56
- let C = i(_, x, 1024, {
57
- space: r,
58
- ...a
59
- });
60
- for (let e = 0; e + 1 < S.length; e++) {
61
- let t = (e + .5) / (S.length - 1), n = C[Math.round(t * 1023)], r = v(S[e], S[e + 1]);
62
- c = Math.max(c, g(r, n));
63
- }
64
- }
65
- let l = e.templateFrames.length - 1, d = b(e, l, t);
66
- if (d) {
67
- let t = y(e.templateFrames[l].start);
68
- s[s.length - 1]?.pct !== t && s.push({
69
- pct: t,
70
- css: d.toString()
71
- });
72
- }
73
- return {
74
- cssProp: o,
75
- stops: s,
76
- worstDelta: c
77
- };
78
- }
79
- function S(e, t, n) {
80
- let r = [], i = /* @__PURE__ */ new Set();
81
- for (let t = 0; t + 1 < e.templateFrames.length; t++) {
82
- let n = e.parsedVars[t] ?? {};
83
- for (let [a, o] of Object.entries(n)) {
84
- if (i.has(a) || !Array.isArray(o) || !o.some((e) => d(e))) continue;
85
- let n = b(e, t, a), s = b(e, t + 1, a);
86
- n && s && n.toString() !== s.toString() && (r.push(a), i.add(a));
87
- }
88
- }
89
- if (r.length === 0) return null;
90
- let a = Math.max(3, t), o = e.options.colorSpace === "oklch" ? "oklch" : "oklab", s = e.options.hueMethod ? { hueMethod: e.options.hueMethod } : {}, c = 0, l = /* @__PURE__ */ new Map();
91
- for (let t of r) {
92
- let n = x(e, t, a, o, s);
93
- c = Math.max(c, n.worstDelta);
94
- for (let { pct: e, css: t } of n.stops) {
95
- let r = l.get(e);
96
- r || (r = [], l.set(e, r)), r.push(`${n.cssProp}: ${t};`);
97
- }
98
- }
99
- return c > n ? {
100
- refused: !0,
101
- delta: c
102
- } : {
103
- byPct: l,
104
- keys: r
105
- };
106
- }
107
- //#endregion
108
- export { u as i, S as n, d as r, h as t };
@@ -1,30 +0,0 @@
1
- import { n as e } from "./presets-DeDJYL4G.js";
2
- import { c as t, l as n, s as r, u as i } from "./engine-CPK_udUQ.js";
3
- import { n as a, r as o, t as s } from "./parse-flatten-ZZUSEQEL.js";
4
- import { t as c } from "./easing-registry-DHV2-5gA.js";
5
- import { a as l, r as u, t as d } from "./view-transition-BPJQxUTC.js";
6
- import { t as f } from "./easing-serialize-D4LZCB6i.js";
7
- import { i as p, n as m, t as h } from "./format-BdIvdLzG.js";
8
- import { t as g } from "./entry-D82NKUhP.js";
9
- //#region src/animation/compile/index.ts
10
- var _ = /* @__PURE__ */ e({
11
- CSSKeyframesToString: () => h,
12
- CSSKeyframesToStrings: () => m,
13
- DEFAULT_DELTA_E_EPSILON: () => u,
14
- DEFAULT_DENSIFY_STOPS: () => 16,
15
- FrameCompiler: () => r,
16
- NAMED_SELECTOR_SUPERTYPE: () => n,
17
- compileToCSS: () => l,
18
- compileToEntry: () => g,
19
- compileToViewTransition: () => d,
20
- createInterpVarValue: () => s,
21
- formatCSSKeyframeString: () => p,
22
- getTimingFunction: () => c,
23
- namedSelectorToFraction: () => i,
24
- parseAndFlattenObject: () => a,
25
- resolveEasingOption: () => t,
26
- serializeEasing: () => f,
27
- transformTargetsStyle: () => o
28
- });
29
- //#endregion
30
- export { _ as t };
@@ -1,259 +0,0 @@
1
- import { f as e, i as t } from "./sequence-s0bL7Uul.js";
2
- import { COMPUTED_UNITS as n, unflattenObjectToString as r } from "@mkbabb/value.js";
3
- //#region src/animation/internal/scroll-phases.ts
4
- var i = {
5
- entry: {
6
- start: 0,
7
- end: .25
8
- },
9
- cover: {
10
- start: .25,
11
- end: .75
12
- },
13
- contain: {
14
- start: .375,
15
- end: .625
16
- },
17
- exit: {
18
- start: .75,
19
- end: 1
20
- }
21
- }, a = new Set([
22
- ...n,
23
- "%",
24
- "vh",
25
- "vw",
26
- "vmin",
27
- "vmax",
28
- "vi",
29
- "vb",
30
- "svh",
31
- "svw",
32
- "svmin",
33
- "svmax",
34
- "svi",
35
- "svb",
36
- "lvh",
37
- "lvw",
38
- "lvmin",
39
- "lvmax",
40
- "lvi",
41
- "lvb",
42
- "dvh",
43
- "dvw",
44
- "dvmin",
45
- "dvmax",
46
- "dvi",
47
- "dvb",
48
- "cqw",
49
- "cqh",
50
- "cqi",
51
- "cqb",
52
- "cqmin",
53
- "cqmax"
54
- ]), o = (e) => typeof e == "string" && a.has(e), s = new Set(["offset-distance"]), c = (e) => s.has(e) || s.has(e.split(".").pop() ?? e), l = () => typeof globalThis.webkitConvertPointFromNodeToPage == "function";
55
- function u(e) {
56
- if (!e.targets || e.targets.length === 0) return {
57
- eligible: !1,
58
- reason: "no DOM targets"
59
- };
60
- if (typeof e.targets[0]?.animate != "function") return {
61
- eligible: !1,
62
- reason: "target does not implement Element.animate()"
63
- };
64
- for (let t of e.frames) if (!e.usesDefaultRenderer(t.transform)) return {
65
- eligible: !1,
66
- reason: "custom transform function (not the default DOM renderer)"
67
- };
68
- let t = e.frames[0]?.timingFunction;
69
- if (t && e.frames.length > 1) {
70
- for (let n = 1; n < e.frames.length; n++) if (e.frames[n].timingFunction.fn !== t.fn) return {
71
- eligible: !1,
72
- reason: "non-uniform per-frame timing function (WAAPI supports one easing per animation)"
73
- };
74
- }
75
- if (t && t.css === void 0) return {
76
- eligible: !1,
77
- reason: "easing has no faithful CSS twin (would run bare linear on the compositor)"
78
- };
79
- if (t?.css?.startsWith("linear(") && l()) return {
80
- eligible: !1,
81
- reason: "WebKit refuses HW-accel for linear() easing — the spring twin stays on the rAF path (CE-1.0)"
82
- };
83
- for (let t of e.frames) for (let [e, n] of Object.entries(t.interpVars)) {
84
- let t = c(e);
85
- for (let e of n) {
86
- let n = o(e.start?.unit) && !(t && e.start?.unit === "%"), r = o(e.stop?.unit) && !(t && e.stop?.unit === "%");
87
- if (n || r) return {
88
- eligible: !1,
89
- reason: `layout-dependent unit (${String(e.start?.unit ?? e.stop?.unit)}) would freeze to px under WAAPI`
90
- };
91
- if (e.start?.unit === "color" || e.stop?.unit === "color") return {
92
- eligible: !1,
93
- reason: "color interpolation requires perceptual lerp"
94
- };
95
- }
96
- }
97
- return { eligible: !0 };
98
- }
99
- var d = .005, f = (e, t) => {
100
- let n = /* @__PURE__ */ new Map(), r = e.interpFrames(t, !1);
101
- for (let e in r) {
102
- let t = r[e];
103
- if (t !== void 0) for (let r = 0; r < t.length; r++) {
104
- let i = t[r]?.value;
105
- typeof i == "number" && Number.isFinite(i) && n.set(t.length > 1 ? `${e}.${r}` : e, i);
106
- }
107
- }
108
- return n;
109
- }, p = 64, m = (e, t, n) => {
110
- let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = n - t;
111
- for (let n = 0; n <= p; n++) {
112
- let o = f(e, t + a * n / p);
113
- for (let [e, t] of o) {
114
- let n = r.get(e), a = i.get(e);
115
- (n === void 0 || t < n) && r.set(e, t), (a === void 0 || t > a) && i.set(e, t);
116
- }
117
- }
118
- let o = /* @__PURE__ */ new Map();
119
- for (let [e, t] of r) o.set(e, (i.get(e) ?? t) - t);
120
- return o;
121
- }, h = (e, t, n, r, i, a) => {
122
- let o = r - t, s = 0;
123
- for (let r of [.25, .75]) {
124
- let c = f(e, t + o * r);
125
- for (let [e, t] of c) {
126
- let o = n.get(e), c = i.get(e);
127
- if (o === void 0 || c === void 0) continue;
128
- let l = a.get(e);
129
- if (l === void 0 || l === 0) continue;
130
- let u = o + (c - o) * r, d = Math.abs(t - u) / l;
131
- d > s && (s = d);
132
- }
133
- }
134
- return s;
135
- };
136
- function g(e, t, n) {
137
- let r = /* @__PURE__ */ new Set();
138
- if (n <= 0) return r;
139
- for (let n = 1; n < t.length; n++) {
140
- let i = t[n - 1], a = t[n];
141
- if (a - i <= 0) continue;
142
- let o = m(e, i, a), s = f(e, i), c = f(e, a), l = (t, n, r, i) => ({
143
- a: t,
144
- sampleA: n,
145
- b: r,
146
- sampleB: i,
147
- error: h(e, t, n, r, i, o)
148
- }), u = [l(i, s, a, c)], p = 16;
149
- for (; p > 0;) {
150
- let t = -1, n = d;
151
- for (let e = 0; e < u.length; e++) u[e].error > n && (n = u[e].error, t = e);
152
- if (t === -1) break;
153
- let i = u[t], a = (i.a + i.b) / 2;
154
- if (a <= i.a || a >= i.b) {
155
- u.splice(t, 1);
156
- continue;
157
- }
158
- let o = f(e, a);
159
- r.add(a), p--, u.splice(t, 1, l(i.a, i.sampleA, a, o), l(a, o, i.b, i.sampleB));
160
- }
161
- }
162
- return r;
163
- }
164
- //#endregion
165
- //#region src/animation/waapi/emission.ts
166
- function _(t) {
167
- let n = t.options.duration, i = [], a = /* @__PURE__ */ new Set();
168
- for (let e of t.frames) a.add(e.time.start), a.add(e.time.stop);
169
- let o = [...a].sort((e, t) => e - t), s = new Set(o);
170
- for (let e of g(t, o, n)) s.add(e);
171
- for (let a of [...s].sort((e, t) => e - t)) {
172
- let o = t.interpFrames(a, !1);
173
- if (Object.keys(o).length === 0) continue;
174
- let s = r(o);
175
- i.push({
176
- offset: e(a / n, 0, 1),
177
- ...s
178
- });
179
- }
180
- return i;
181
- }
182
- //#endregion
183
- //#region src/animation/waapi/waapi-options.ts
184
- var v = {
185
- normal: "normal",
186
- reverse: "reverse",
187
- alternate: "alternate",
188
- "alternate-reverse": "alternate-reverse"
189
- }, y = {
190
- none: "none",
191
- forwards: "forwards",
192
- backwards: "backwards",
193
- both: "both"
194
- }, b = {
195
- replace: "replace",
196
- add: "add",
197
- accumulate: "accumulate"
198
- }, x = (e) => {
199
- for (let t of e.frames) {
200
- let e = t.composition;
201
- if (e != null && e !== "replace") return b[e] ?? "replace";
202
- }
203
- return "replace";
204
- };
205
- function S(e) {
206
- let t = e.options, n = v[t.direction], r = y[t.fillMode];
207
- if (n == null) throw TypeError(`Unrecognised animation direction "${t.direction}".`);
208
- if (r == null) throw TypeError(`Unrecognised animation fill mode "${t.fillMode}".`);
209
- let i = e.frames[0]?.timingFunction ?? e.options.timingFunction, a = e.frames.length > 1 ? "linear" : i.css ?? "linear", o = x(e), s = {
210
- duration: t.duration,
211
- delay: t.delay,
212
- iterations: t.iterationCount === Infinity ? Infinity : t.iterationCount,
213
- direction: n,
214
- fill: r,
215
- easing: a
216
- };
217
- return o !== "replace" && (s.composite = o), s;
218
- }
219
- //#endregion
220
- //#region src/animation/waapi/delegation.ts
221
- async function C(e) {
222
- let t = _(e), n = S(e), r = e.targets.map((e) => e.animate(t, n));
223
- e._playback._waAnimations = r, e.playback.loop(async (t) => {
224
- if (e.done) return !1;
225
- if (await e.advanceTo(t), e.paused) for (let e of r) e.pause();
226
- else for (let e of r) e.playState === "paused" && e.play();
227
- return !e.done;
228
- });
229
- try {
230
- await Promise.all(r.map((e) => e.finished));
231
- for (let t of r) try {
232
- e.restPosition === "final" && typeof t.commitStyles == "function" && t.commitStyles(), t.cancel();
233
- } catch {}
234
- } catch {} finally {
235
- e.playback.stop(), e._playback._waAnimations = [];
236
- }
237
- }
238
- function w(e, n) {
239
- let r = u(e);
240
- if (!r.eligible) return {
241
- attached: !1,
242
- reason: r.reason
243
- };
244
- let i = t(n);
245
- if (i == null) return {
246
- attached: !1,
247
- reason: "native scroll/view timeline unavailable (feature absent)"
248
- };
249
- let a = _(e), o = {
250
- ...S(e),
251
- timeline: i
252
- }, s = e.targets.map((e) => e.animate(a, o));
253
- return e._playback._waAnimations = s, {
254
- attached: !0,
255
- animations: s
256
- };
257
- }
258
- //#endregion
259
- export { i, C as n, u as r, w as t };
@@ -1,33 +0,0 @@
1
- import { n as e } from "./presets-DeDJYL4G.js";
2
- import { t } from "./engine-CPK_udUQ.js";
3
- import { t as n } from "./handle-D4xrf_ya.js";
4
- //#region src/animation/svg/draw-svg.ts
5
- var r = /* @__PURE__ */ e({
6
- DrawSVG: () => o,
7
- fromDrawSVG: () => a
8
- }), i = (e) => {
9
- if (typeof e == "number") {
10
- if (!Number.isFinite(e) || e < 0 || e > 1) throw Error(`fromDrawSVG(): a numeric draw position is a 0..1 fraction, got ${JSON.stringify(e)} — pass a fraction in [0, 1] or a percent string ("0%".."100%").`);
11
- return e;
12
- }
13
- if (!/^\s*\d*\.?\d+\s*%\s*$/.test(e)) throw Error(`fromDrawSVG(): invalid draw position ${JSON.stringify(e)} — pass a percent string ("0%".."100%") or a 0..1 number.`);
14
- return parseFloat(e) / 100;
15
- };
16
- function a(e, n = {}) {
17
- let { from: r = "0%", to: a = "100%", autoPlay: o = !0, ...s } = n;
18
- if (e == null || typeof e.getTotalLength != "function") throw Error("fromDrawSVG(): `target` must be an SVG geometry element exposing getTotalLength() (a <path>/<line>/<circle>/<rect>/<polygon>/…).");
19
- let c = i(r), l = i(a), u = e.getTotalLength();
20
- e.style.strokeDasharray = `${u}`;
21
- let d = {
22
- "0%": { "stroke-dashoffset": u * (1 - c) },
23
- "100%": { "stroke-dashoffset": u * (1 - l) }
24
- }, f = new t(s).fromKeyframes(d);
25
- return f.setTargets(e), o && f.play(), f;
26
- }
27
- var o = class extends n {
28
- constructor(e, t = {}) {
29
- super(a(e, t));
30
- }
31
- };
32
- //#endregion
33
- export { r as n, a as r, o as t };