@mkbabb/keyframes.js 6.2.0 → 6.2.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/README.md +1 -1
- package/dist/engine/index.d.ts +8 -5
- package/dist/engine/index.js +759 -766
- package/dist/keyframes.d.ts +8 -5
- package/package.json +1 -1
package/dist/keyframes.d.ts
CHANGED
|
@@ -306,9 +306,9 @@ export declare class AnimationGroup<V extends Vars> {
|
|
|
306
306
|
/** The master elapsed time a child's current position sits at (its delay +
|
|
307
307
|
* its completed iterations + its `t`) — the read `seek` inverts. */
|
|
308
308
|
elapsedOf(nameOrAnim: string | KeyframesAnimation<V>): number;
|
|
309
|
-
/** Advance all child animations to absolute clock `t`. SYNC
|
|
310
|
-
*
|
|
311
|
-
*
|
|
309
|
+
/** Advance all child animations to absolute clock `t`. SYNC (J.W6 S1; 6.2.1:
|
|
310
|
+
* a child's delay is a phase on `t`, never a sleep): a thenable only on the
|
|
311
|
+
* over-`YIELD_BATCH` yield path. */
|
|
312
312
|
advanceTo(t: number): this | Promise<this>;
|
|
313
313
|
/** The completion front-door (G.W13) — `await group.finished` resolves once
|
|
314
314
|
* the in-flight composite play settles. Exposes the ONE held `_playingPromise`
|
|
@@ -1919,9 +1919,9 @@ export declare class KeyframesAnimation<V extends Vars = Vars> {
|
|
|
1919
1919
|
* allocation-free.
|
|
1920
1920
|
*/
|
|
1921
1921
|
interpFrames(t: number, transformFrames?: boolean, out?: FlatAuthoredValues): FlatAuthoredValues;
|
|
1922
|
-
onStart():
|
|
1922
|
+
onStart(): void;
|
|
1923
1923
|
onEnd(): void;
|
|
1924
|
-
advanceTo(t: number): number
|
|
1924
|
+
advanceTo(t: number): number;
|
|
1925
1925
|
/** One frame of the standalone rAF play path (driven by `RAFPlayback.loop`). */
|
|
1926
1926
|
private _frame;
|
|
1927
1927
|
/** The completion front-door (G.W13) — `await anim.finished` resolves once
|
|
@@ -2475,6 +2475,9 @@ declare class PlaybackState {
|
|
|
2475
2475
|
* next rAF tick re-anchors the play to the first presented frame
|
|
2476
2476
|
* (`presentAnchor`). Any external `startTime` write clears it. */
|
|
2477
2477
|
anchorTick: number | undefined;
|
|
2478
|
+
/** True from a delayed play's anchor until its clock reaches it: the CSS
|
|
2479
|
+
* before-phase, whose end opens the active phase (`animationstart`). */
|
|
2480
|
+
startOwed: boolean;
|
|
2478
2481
|
pausedTime: number;
|
|
2479
2482
|
t: number;
|
|
2480
2483
|
iteration: number;
|
package/package.json
CHANGED