framer-motion 6.2.3 → 6.2.7

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.
@@ -265,11 +265,11 @@ export declare function createProjectionNode<I>({ attachResizeListener, defaultP
265
265
  /**
266
266
  * Animation
267
267
  */
268
- animationProgress: number;
269
268
  animationValues?: ResolvedValues | undefined;
270
269
  pendingAnimation?: Process | undefined;
271
270
  currentAnimation?: AnimationPlaybackControls | undefined;
272
271
  mixTargetDelta: (progress: number) => void;
272
+ animationProgress: number;
273
273
  setAnimationOrigin(delta: Delta, hasOnlyRelativeTargetChanged?: boolean): void;
274
274
  startAnimation(options: AnimationOptions<number>): void;
275
275
  completeAnimation(): void;
@@ -0,0 +1,6 @@
1
+ export declare const useId: () => number;
2
+ /**
3
+ * Ideally we'd use the following code to support React 18 optionally.
4
+ * But this fairly fails in Webpack (otherwise treeshaking wouldn't work at all).
5
+ * Need to come up with a different way of figuring this out.
6
+ */
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function useIsMounted(): import("react").MutableRefObject<boolean>;