@motion.page/sdk 1.0.3 → 1.0.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.
@@ -56,6 +56,7 @@ export declare class Animation {
56
56
  private _startCaptured;
57
57
  private _fitSetupFn;
58
58
  private _pendingFitSetup;
59
+ private _fitCleanupFn;
59
60
  private _unregisterCallback;
60
61
  /**
61
62
  * Initialize the animation
@@ -154,6 +155,11 @@ export declare class Animation {
154
155
  * copy (_pendingFitSetup) that is consumed by captureStartValues().
155
156
  */
156
157
  setPendingFitSetup(fn: (pool: typeof PropTweenPool) => void): void;
158
+ /**
159
+ * Register a cleanup function that resets inline styles written by a Fit animation.
160
+ * Called during resetForReplay() so chained fits start from a clean slate on replay.
161
+ */
162
+ setFitCleanup(fn: () => void): void;
157
163
  /**
158
164
  * Reset for timeline replay
159
165
  * Resets callback state for clean replay but KEEPS captured start values
@@ -72,6 +72,7 @@ export declare class Timeline {
72
72
  private _transitionsDisabled;
73
73
  private _savedWillChange;
74
74
  private _willChangeApplied;
75
+ private _splitParentOverrides;
75
76
  constructor(name?: string, config?: TimelineConfig);
76
77
  /**
77
78
  * Get timeline duration (single cycle)
@@ -102,6 +102,7 @@ export declare const steps: {
102
102
  };
103
103
  /**
104
104
  * Get an easing function by string name
105
+ * Supports both simple names ("back.out") and parameterized ("back.out(1.4)")
105
106
  * @param name Easing name (case insensitive)
106
107
  * @returns Easing function, or power1.out if not found
107
108
  */