Skip to content

chore(deps): update dependency framer-motion to v12.40.0#12

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/framer-motion-12.x-lockfile
Open

chore(deps): update dependency framer-motion to v12.40.0#12
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/framer-motion-12.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 23, 2025

This PR contains the following updates:

Package Change Age Confidence
framer-motion 12.23.2412.40.0 age confidence

Release Notes

motiondivision/motion (framer-motion)

v12.40.0

Compare Source

Added
  • path option to transition.
  • arc() for motion along an arc.

v12.39.0

Compare Source

Added
  • Support for repeatType and repeatDelay in animation sequences.
Fixed
  • Variants: Re-run keyframe animations when switching between variant labels even when they share identical keyframe arrays.
  • Drag: Preserve in-flight motion value animations across React 19 reorder unmount/remount so dragSnapToOrigin no longer leaves the drag transform stranded after a layout swap.
  • LazyMotion: Share React contexts between the framer-motion and framer-motion/m (and therefore motion/react and motion/react-m) CJS bundles so that <m.div> from the /m subpath picks up features loaded by <LazyMotion> from the main entry point.
  • useScroll: Support hydrating target and container refs from anywhere in the tree.
  • Drag: Gesture no longer starts from incorrect start point when rendered inside <AnimatePresence initial={false} />.
  • Drag: dragConstraints, when set as viewport-relative ref, no longer break on scroll.§
  • Updated visualElement hydration order.
  • useAnimate: Now respects skipAnimations.
  • AnimatePresence: Fix object-form initial values not applied on re-entry after exit completes.
  • scroll: Fixed callback progress when tracking an element.
  • useScroll: Fix hardware acceleration when tracking an element.

v12.38.0

Compare Source

Added
  • Added layoutAnchor prop to configure custom anchor point for resolving relative projection boxes.
Fixed
  • Reorder: Fix axis switching after window resize.
  • Reorder: Fix with virtualised lists.
  • AnimatePresence: Ensure children are removed when exit animation matches current values.

v12.37.0

Compare Source

Added
  • Support for hardware accelerating "start" and "end" offsets in scroll and useScroll.
  • Support for oklch, oklab, lab, lch, color, color-mix, light-dark color types.
Fixed
  • Fix whileInView with client-side navigation.
  • Fix draggable elements when layout updates due to surrounding element re-renders.
  • Improved memory pressure of layout animations.
  • Ensure motion value returned from useSpring reports correct isAnimating().

v12.36.0

Compare Source

Added
  • Allow dragSnapToOrigin to accept "x" or "y" for per-axis snapping.
  • Added axis-locked layout animations with layout="x" and layout="y".
  • Added skipInitialAnimation to useSpring.
Fixed
  • Fixed height and width: auto animations with box-sizing: border-box.
  • Reset component values when exit animation finishes.
  • Ensure anticipate easing returns 1 at p === 1.
  • Fix @emotion/is-prop-valid resolve error in Storybook.
  • Remove data-pop-layout-id from exiting elements when animation interrupted.
  • Ensure we skip WAAPI for non-animatable keyframes.
  • Ensure we skip WAAPI for SVG transforms.
  • Ensure MotionValue props are not passed to SVG.
  • AnimatePresence: Prevent mode="wait" elements from getting stuck when switched rapidly.

v12.35.2

Compare Source

Fixed
  • Reduced filesize of styleEffect.
  • Fix rounding from popLayout.
  • opacity animations in React Strict Mode in development.
  • Ensure useSpring is not affected by monitor framerate.
  • Updating animations sequence segment types to exclude lifecycle handlers.
  • Fix layout animations with parents offset by a %-based translation.
  • Fix autoplay: false with WAAPI animations.
  • Fix layout jump in React Strict Mode in development.
  • Detect divide-by-zero in CSS calc() values before making animatable templates.

v12.35.1

Compare Source

Fixed
  • Fixing combination of string keyframes, spring and delay.
  • Gracefully handle negative scroll values.
  • Fix one-frame visual gap when rapidly switching WAAPI animations.
  • animation.time = 0 on a finished animation sets the playhead in a paused state.

v12.35.0

Compare Source

Added
  • ViewTimeline support for scroll and useScroll.

v12.34.5

Compare Source

Fixed
  • Ensure final WAAPI styles are always committed synchronously to prevent flash of incorrect styles in Firefox.
  • Prevent Next.js from caching typeof window checks.
  • Improve projection node cleanup.
  • Variant propagation fixed for asynchronously-mounted children.

v12.34.4

Compare Source

Fixed
  • Ensure onComplete fires at the end of an animation sequence.

v12.34.3

Compare Source

Fixed
  • Ensure velocity is never transferred to a time-derived spring.

v12.34.2

Compare Source

Fixed
  • Layout animations: Reset motion value velocity when starting a new layout animation.

v12.34.1

Compare Source

Fixed
  • useScroll: Ensure animations aren't hardware accelerated when target is set.
  • Improve animatable "none" generation for mask values.

v12.34.0

Compare Source

Fixed
  • useScroll: Hardware accelerated animations.

v12.33.2

Compare Source

Fixed
  • Improve detection of detached elements with vanilla layout animations.

v12.33.0

Compare Source

Added
  • <motion />: New propagate.tap prop prevents tap gestures from propagating to parents.

v12.32.0

Compare Source

Added
  • transition.inherit: When true, inherit transition values from less-specific transitions.

v12.31.3

Compare Source

Fixed
  • <motion />: Ensure animation state is reset after being re-suspended.
  • Prevent stale values when mixing transitionEnd and transition.type: false.
  • Drag: Fix "sticky" throw velocity on initial interaciton.
  • Drag: Ensure catching a thrown element kills its velocity.

v12.31.2

Compare Source

Fixed
  • onHoverStart and onHoverEnd first argument now correctly typed as PointerEvent.
  • whileHover: No longer persists after drag end.
  • AnimatePresence: Allow changing mode prop.

v12.31.1

Compare Source

Added
  • Drag constraints updated even when draggable or constraints resize outside of React renders.

v12.31.0

Compare Source

Added
  • animate: Support for bi-directional callbacks within animation sequences.
Fixed
  • Ensure onPan never fires before onPanStart.

v12.30.1

Compare Source

Fixed
  • Allow drag to be initiated by child a and button elements.

v12.30.0

Compare Source

Added
  • MotionConfig: Add skipAnimations option.
Fixed
  • animate: Prevent error when calling stop() on removed elements.
  • animateLayout: Fixing shared element animations when animate called before animateLayout.

v12.29.3

Compare Source

Fixed
  • Reorder: Fixed viewport autoscroll.

v12.29.2

Compare Source

Fixed
  • Updates to layout animations.

v12.29.0

Compare Source

Added
  • transformViewBoxPoint: Scale drag gestures within <svg> elements where viewBox and rendered width/height are mismatched.
  • trackContentSize: New scroll and useScroll option for tracking changes to content size.
Fixed
  • Add React 19 test suite to CI.
  • Fix types with motion.create().
  • Shared element animations now respect layoutDependency.

v12.28.2

Compare Source

Added
  • Add default value type px for fontSize.
Fixed
  • Removed default value type from radius.
  • Ensure LazyMotion animates initial state even when state has changed before Motion is loaded.

v12.28.1

Compare Source

Fixed
  • Ensure scale: "0%" isn't treated as default value.

v12.27.5

Compare Source

Fixed
  • Ensure pen gesture is correctly cleaned up on drag cancel.
  • Fix edge case where DocumentProjectionNode's attached element was null.

v12.27.4

Compare Source

Added
  • AnimatePresence: anchorY for vertically positioning popped children.
Fixed
  • Fixed path drawing animations in zoomed Safari contexts by switching to unitless values.

v12.27.3

Compare Source

Fixed
  • Ensure drag gestures trigger from keyboard-accessible elements (button, textarea etc) if these elements have drag applied directly.

v12.27.2

Compare Source

Fixed
  • Adding sourcemaps to motion-dom and motion-utils.
  • Fix Reorder autoscroll within scrollable pages.
  • Gracefully handle missing elements in animation sequences.

v12.27.1

Compare Source

Fixed
  • Improving projection node cleanup.

v12.27.0

Compare Source

Fixed
  • Adding new exports for internal use.

v12.26.2

Compare Source

Fixed
  • Internal refactor of projection system into motion-dom.

v12.26.1

Compare Source

Fixed
  • Improve overload selection for useTransform.

v12.26.0

Compare Source

Added
  • Support for multiple output value maps with useTransform.

v12.25.0

Compare Source

Added
  • Support for auto-scrolling when a Reorder.Item reaches the edges of its parent scrollable container.

v12.24.12

Compare Source

Fixed
  • Draggable elements now track pointer during page and element scroll.

v12.24.11

Compare Source

Fixed
  • Fixed time sampling of GPU animations under heavy CPU load.

v12.24.10

Compare Source

v12.24.9

Compare Source

Fixed
  • Fixing Radix Dialog with AnimatePresence.
  • Ensure drag constraints animation resumes after press interruption.
  • Prevent drag gesture from triggering when pressing focusable elements.

v12.24.8

Compare Source

Fixed
  • Perform unit conversion when animating to/from calc() values.

v12.24.7

Compare Source

Fixed
  • Fix duplicate exit animations in AnimatePresence.

v12.24.6

Compare Source

Fixed
  • Remove memory leak from retained matchMedia callbacks.

v12.24.5

Compare Source

Fixed
  • Prevent ref access error for AnimatePresence popLayout mode in React 19.

v12.24.4

Compare Source

Fixed
  • Support ref functions that return a cleanup callback.

v12.24.3

Compare Source

Fixed
  • Ensure onAnimationStart and onAnimationComplete callbacks fire for useSpring.

v12.24.2

Compare Source

Fixed
  • Ensure useDragControls snapToCursor: true` works with initial transforms.

v12.24.1

Compare Source

Fixed
  • Ensure CSS Motion Path properties are applied via style on SVG elements.
  • Ensure JSX is correctly imported by Reorder.Item.

v12.24.0

Compare Source

Added
  • { type: "svg" } option to motion.create() for creating custom SVG components.
  • px default value type for CSS logical properties (paddingBlock, paddingInline, marginBlock, marginInline).
Fixed
  • Ensure drag gesture updates with latest props every render.
  • Fix missing JSX import error.
  • Fix motion-dom build.
  • Exclude src from distributed package.

v12.23.28

Compare Source

Fixed
  • Fixing MotionStyle type with React 19 when skipLibCheck is false.
  • Add guard for process check for better compat with ESM environments.

v12.23.27

Compare Source

Fixed
  • Improved Intellisense detection for motion import.
  • Adding sourcemaps to release.

v12.23.26

Compare Source

Fixed
  • Moved initialisation of default scale correctors to allow for overwriting existing correctors.

v12.23.25

Compare Source

Fixed
  • Ensure relative projection boxes are re-measured when parent layout changes.

Configuration

📅 Schedule: (UTC)

  • 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.

@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch 2 times, most recently from 458423f to 7870561 Compare January 5, 2026 23:28
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.23.26 chore(deps): update dependency framer-motion to v12.24.0 Jan 5, 2026
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.24.0 chore(deps): update dependency framer-motion to v12.24.3 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch 2 times, most recently from e5a3fc0 to 1571d38 Compare January 7, 2026 07:04
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.24.3 chore(deps): update dependency framer-motion to v12.24.7 Jan 7, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 1571d38 to a473522 Compare January 8, 2026 11:57
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.24.7 chore(deps): update dependency framer-motion to v12.24.11 Jan 8, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from a473522 to 205ccd8 Compare January 9, 2026 12:18
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.24.11 chore(deps): update dependency framer-motion to v12.25.0 Jan 9, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 205ccd8 to 2297e04 Compare January 13, 2026 19:34
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.25.0 chore(deps): update dependency framer-motion to v12.26.2 Jan 13, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 2297e04 to 69dead3 Compare January 18, 2026 19:54
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.26.2 chore(deps): update dependency framer-motion to v12.27.0 Jan 18, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 69dead3 to dd4aa2d Compare January 20, 2026 12:03
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.27.0 chore(deps): update dependency framer-motion to v12.27.2 Jan 20, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from dd4aa2d to 0955ad0 Compare January 21, 2026 07:52
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.27.2 chore(deps): update dependency framer-motion to v12.27.5 Jan 21, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 0955ad0 to e307155 Compare January 22, 2026 07:59
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.27.5 chore(deps): update dependency framer-motion to v12.28.1 Jan 22, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from e307155 to 0a39acb Compare January 23, 2026 16:14
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.28.1 chore(deps): update dependency framer-motion to v12.29.0 Jan 23, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 0a39acb to 25d57df Compare January 26, 2026 20:11
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.29.0 chore(deps): update dependency framer-motion to v12.29.2 Jan 26, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 25d57df to d5779c4 Compare February 3, 2026 07:48
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.29.2 chore(deps): update dependency framer-motion to v12.30.0 Feb 3, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from d5779c4 to a3b66bd Compare February 4, 2026 08:02
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.30.0 chore(deps): update dependency framer-motion to v12.31.0 Feb 4, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from a3b66bd to 50bb850 Compare February 6, 2026 07:06
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.31.0 chore(deps): update dependency framer-motion to v12.33.0 Feb 6, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 50bb850 to dc29da6 Compare February 10, 2026 07:08
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.33.0 chore(deps): update dependency framer-motion to v12.34.0 Feb 10, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch 2 times, most recently from 6c23a20 to 0f49408 Compare February 18, 2026 23:50
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.34.0 chore(deps): update dependency framer-motion to v12.34.2 Feb 18, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 0f49408 to 2b886e9 Compare February 20, 2026 16:06
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.34.2 chore(deps): update dependency framer-motion to v12.34.3 Feb 20, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 2b886e9 to 8ff0a04 Compare March 8, 2026 08:17
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.34.3 chore(deps): update dependency framer-motion to v12.35.1 Mar 8, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 8ff0a04 to f609f13 Compare March 14, 2026 23:11
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.35.1 chore(deps): update dependency framer-motion to v12.36.0 Mar 14, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from f609f13 to 9ec46c8 Compare March 31, 2026 07:54
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.36.0 chore(deps): update dependency framer-motion to v12.38.0 Mar 31, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 9ec46c8 to 25b6ed3 Compare April 15, 2026 18:12
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 25b6ed3 to 9ce9391 Compare April 30, 2026 02:15
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 9ce9391 to 6f76694 Compare May 13, 2026 07:43
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 6f76694 to 59a6f54 Compare May 23, 2026 03:19
@renovate renovate Bot changed the title chore(deps): update dependency framer-motion to v12.38.0 chore(deps): update dependency framer-motion to v12.40.0 May 23, 2026
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x-lockfile branch from 59a6f54 to 442348b Compare May 30, 2026 11:36
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