Skip to content

Update dependency framer-motion to v12 #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 31, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
framer-motion ^11.18.2 -> ^12.0.0 age adoption passing confidence

Release Notes

motiondivision/motion (framer-motion)

v12.6.3

Compare Source

Changed
  • Refactored mini animate and animateView to share the same NativeAnimation. Mini animate down to 2.3kb.
Fixed
  • Fixed keyboard accessibility of press events.

v12.6.2

Compare Source

Fixed
  • Fixing hardware acceleration for non-transform values when a motion component has a defined transformTemplate.

v12.6.1

Compare Source

Fixed
  • Reverting pointer capture for press gesture.

v12.6.0

Compare Source

Changed
  • Renamed view to animateView.
Added
  • New interrupt: "wait" mode as animateView default.

v12.5.0

Compare Source

Added
  • Added motionValue to vanilla JS entrypoint.
Removed
  • Removed framer-motion-3d package.

v12.4.13

Compare Source

Fixed
  • Fixed reading initial transform values from elements.

v12.4.12

Compare Source

Fixed
  • Removed pointer capture from pan and drag gestures.

v12.4.11

Compare Source

Fixed
  • Preventing flattening of scroll animations when type or ease are explicitly set.

v12.4.10

Compare Source

Fixed
  • Adding UMD bundles for motion-dom and motion-utils.

v12.4.9

Compare Source

Fixed
  • Fixed Reorder.Item reordering causing lostpointercapture event to fire.

v12.4.7

Compare Source

Fixed
  • Fixed AnimatePresence not triggering exit animations when a child with layout or drag is removed.

v12.4.6

Compare Source

Fixed
  • Fixed drag gesture on child elements.

v12.4.5

Compare Source

Fixed
  • Fixed onClick handlers not working inside press events.

v12.4.4

Compare Source

Fixed
  • Changed press, drag and pan gestures to use pointer capturing for better usage within iframe embeds.

v12.4.3

Compare Source

Fixed
  • Restored warning for when animating more than two keyframes with a spring.

v12.4.2

Compare Source

Fixed
  • Preventing press from triggering when an element is disabled.

v12.4.1

Compare Source

Fixed
  • Check for transition in initial when animating removed values.

v12.4.0

Compare Source

Added
  • Added initial option to useInView.

v12.3.1

Compare Source

Fixed
  • Correctly applying CSS variables at the end of a mini animate animation.

v12.3.0

Compare Source

Added
  • Added usePresenceData to get custom data passed to AnimatePresence in descendant components.

v12.2.0

Compare Source

Added
  • Added unit support to useSpring.

v12.1.0

Compare Source

Fixed
  • Bug with AnimatePresence in React 19 strict mode.
Deprecated
  • Motion 3D.

v12.0.11

Compare Source

Fixed
  • Moving updateSVGDimensions to its own file to help with tree-shaking.

v12.0.10

Compare Source

Fixed
  • Providing MotionValue to motion component from motion/react-client entrypoint.

v12.0.9

Compare Source

Fixed
  • Removing React from bundle.

v12.0.8

Compare Source

Fixed
  • Infer type of children prop for motion.create.

v12.0.6

Compare Source

Fixed
  • Discard layout projection snapshots if 0x0.

v12.0.5

Compare Source

Fixed
  • Fix scale correction for CSS variables.

v12.0.4

Compare Source

Fixed
  • Add scale correction for CSS variables.

v12.0.3

Compare Source

Fixed
  • Fixed toggling between shared layout animations multiple times.
Added
  • Added private anchorX prop to AnimatePresence.
Changed
  • Simplified useSpring for smaller bundlesize.

v12.0.1

Compare Source

Fixed
  • Moving updateSVGDimensions to its own file to help with tree-shaking.

v12.0.0

Compare Source

Changed
  • press, hover and inView now pass the target element as the first argument to the gesture start callback.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants