Skip to content

fix(deps): update dependency motion to v12 #145

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: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
motion 11.18.2 -> 12.12.1 age adoption passing confidence

Release Notes

motiondivision/motion (motion)

v12.12.1

Compare Source

Fixed
  • Checks for instanceof HTMLElement made compatible with dynamically generated iframes.

v12.12.0

Compare Source

Added
  • springValue
Fixed
  • Fixed various typos in the type definitions along with a stale documentation link.

v12.11.4

Compare Source

Fixed
  • Only read transform from the DOM for initial independent transforms when there's no active projection.

v12.11.3

Compare Source

Changed
  • useWillChange now only adds transform to will-change to prevent issues with prematurely flattened preserve-3d.

v12.11.2

Compare Source

Fixed
  • Removed __VERSION__ placeholder from motion value.
  • Fixed types for Reorder component.

v12.11.1

Compare Source

Fixed
  • Default scroll tracking to document.scrollingElement.

v12.11.0

Compare Source

Added
  • Added value.isEffectActive for internal use.

v12.10.6

Compare Source

Fixed
  • Stop firing .then() after .stop() and .cancel().

v12.10.5

Compare Source

Fixed
  • Fixed attaching multiple press handlers on the same element.

v12.10.4

Compare Source

Fixed
  • Fixed layout animations jumping when interrupted.
  • Lower memory and runtime overhead of layout animations.

v12.10.3

Compare Source

Fixed
  • Fixed layout animations jumping when interrupted.

v12.10.2

Compare Source

Fixed
  • Fixed .cancel() after .stop().

v12.10.1

Compare Source

Changed
  • Main thread scroll animations are now lazy, resolving after "scroll" events instead of every animation frame.

v12.10.0

Compare Source

Added
  • styleEffect now supports:
    • Default value types
    • Independent transforms
    • CSS variables

v12.9.7

Compare Source

Fixed
  • Fix mixing PopChild with Astro view transitions.

v12.9.6

Compare Source

Fixed
  • Fix setting transformBox via style.

v12.9.5

Compare Source

Fixed
  • Fixed drag undefined error in React 19 Strict Mode.
  • Skip keyframe measurements for values without support for unit conversion.

v12.9.4

Compare Source

Fixed
  • Remove version check for MotionValue.

v12.9.3

Compare Source

Fixed
  • Fixed memory leak when unmounting motion components.

v12.9.2

Compare Source

Fixed
  • Fixed scroll timeline cache when defining offset.
  • Detect when page scroll is attached to document.body and use this instead of document.documentElement.

v12.9.1

Compare Source

Fixed
  • Restarting a finished main thread animation with a negative .speed now works as expected.

v12.9.0

Compare Source

Added
  • styleEffect

v12.8.2

Compare Source

Changed
  • Unifying transform behaviour for SVG and CSS switched from element measurements for transform-box: fill-box.

v12.8.0

Compare Source

Added
  • mapValue
  • transformValue
Changed
  • Removed support for Framer's internal CustomValueType.

v12.7.5

Compare Source

Changed
  • Improved scroll timeline caching.
  • Replaced WAAPI keyframe generation with linear() easing.
  • Ensure final defined keyframe is always applied to animations when animation finishes.
  • Moved instantAnimationState.current to MotionGlobalConfig.instantAnimations.
  • Changed delay from read to setup frameloop step.
Fixed
  • Fixed .then() and await early resolution.
  • Fixed replaying main thread animations after finished.
  • .speed works correctly across all animation types.
  • Various imperative animation control fixes.

v12.7.4

Compare Source

Fixed
  • Removed non-deterministic behaviour from AnimatePresence.

v12.7.3

Compare Source

Fixed
  • Fixing duration for animateView transitions.
  • Prevent .commitStyles() on pseudoElement animations.

v12.7.2

Compare Source

Fixed
  • Adding "sideEffects": false to motion-dom and motion-utils packages.

v12.7.1

Compare Source

Fixed
  • Skip .commitStyles on psuedoElement animations.

v12.7.0

Compare Source

Added
  • Private layoutCrossfade allows disabling crossfade of shared layout elements.

v12.6.5

Compare Source

Fixed
  • Polyfilled sync and cancelSync exports.

v12.6.4

Compare Source

Added
  • Global injection of WillChangeMotionValue for internal Framer use.

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
  • Fixed reading initial transform values from elements.

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 - "after 9pm,before 9am" in timezone Asia/Shanghai, 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 added the renovate label Jan 20, 2025
Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
techtrek ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 4:14pm

@renovate renovate bot force-pushed the renovate/motion-12.x branch from 5005b48 to 62e9a9e Compare January 21, 2025 17:50
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 62e9a9e to b14d484 Compare January 23, 2025 17:53
@renovate renovate bot force-pushed the renovate/motion-12.x branch from b14d484 to bd12002 Compare January 26, 2025 16:46
@renovate renovate bot force-pushed the renovate/motion-12.x branch from bd12002 to c58caf6 Compare January 27, 2025 17:12
@renovate renovate bot force-pushed the renovate/motion-12.x branch from c58caf6 to 813da82 Compare February 3, 2025 14:19
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 813da82 to 6e81fd1 Compare February 3, 2025 17:10
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 6e81fd1 to 307247a Compare February 4, 2025 17:44
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 307247a to 32fecf5 Compare February 5, 2025 18:10
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 32fecf5 to c650432 Compare February 6, 2025 18:08
@renovate renovate bot force-pushed the renovate/motion-12.x branch from c650432 to 6db4931 Compare February 7, 2025 16:50
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 6db4931 to 33793dc Compare February 10, 2025 17:34
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 33793dc to b17a428 Compare February 14, 2025 19:23
@renovate renovate bot force-pushed the renovate/motion-12.x branch from b17a428 to 2f2ee16 Compare February 18, 2025 18:57
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 2f2ee16 to 3e98412 Compare February 19, 2025 15:08
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 433da0b to 82cd3af Compare April 17, 2025 16:15
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 82cd3af to 398e5ef Compare April 19, 2025 14:34
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 398e5ef to 96dfd1c Compare April 24, 2025 17:04
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 96dfd1c to 7f5c6c8 Compare April 25, 2025 19:13
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 7f5c6c8 to 1795263 Compare May 1, 2025 14:10
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 1795263 to cd49cfe Compare May 5, 2025 14:44
@renovate renovate bot force-pushed the renovate/motion-12.x branch from cd49cfe to 82fb8c6 Compare May 6, 2025 19:16
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 82fb8c6 to f8d0b2c Compare May 7, 2025 19:39
@renovate renovate bot force-pushed the renovate/motion-12.x branch from f8d0b2c to 5d29fdc Compare May 8, 2025 13:06
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 5d29fdc to 15c8935 Compare May 9, 2025 18:43
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 15c8935 to 604a309 Compare May 12, 2025 19:26
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 604a309 to 9358732 Compare May 14, 2025 17:26
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 9358732 to 3c3a616 Compare May 15, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants