@motion.page/sdk 1.0.7 → 1.0.8

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.
@@ -11,6 +11,7 @@ import type { AnimationVars, AnimationTarget, TargetInput, StaggerVars, SplitTyp
11
11
  interface BuilderConfig {
12
12
  fromVars?: AnimationVars;
13
13
  toVars?: AnimationVars;
14
+ setVars?: AnimationVars;
14
15
  duration: number;
15
16
  delay: number;
16
17
  ease: string;
@@ -40,6 +41,7 @@ export declare class AnimationBuilder {
40
41
  private _originalTargets;
41
42
  private _fromVars?;
42
43
  private _toVars?;
44
+ private _setVars?;
43
45
  private _duration;
44
46
  private _delay;
45
47
  private _ease;
@@ -71,8 +71,6 @@ export declare class Timeline {
71
71
  private _transformElements;
72
72
  private _savedTransitions;
73
73
  private _transitionsDisabled;
74
- private _savedWillChange;
75
- private _willChangeApplied;
76
74
  private _splitParentOverrides;
77
75
  constructor(name?: string, config?: TimelineConfig);
78
76
  /**
@@ -103,12 +101,6 @@ export declare class Timeline {
103
101
  * from fighting frame-by-frame SDK rendering.
104
102
  */
105
103
  private _disableTransitions;
106
- /**
107
- * Apply will-change: transform to elements with transform animations.
108
- * Deferred from build time to first tick so the browser has at least one
109
- * frame to layout newly-created elements (e.g. text split spans).
110
- */
111
- private _applyWillChange;
112
104
  /**
113
105
  * Restore original CSS transition values on all animated elements.
114
106
  * Called on timeline completion and kill to re-enable CSS hover/focus
@@ -119,10 +111,6 @@ export declare class Timeline {
119
111
  * Clear all saved transition data (for kill/clear).
120
112
  */
121
113
  private _clearTransitionData;
122
- /**
123
- * Restore original will-change values on elements promoted for transforms.
124
- */
125
- private _restoreWillChange;
126
114
  /**
127
115
  * Internal: Add animation entry (used by Motion function)
128
116
  * @internal