Skip to content
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

fix(deps): update dependency framer-motion to v11 #51

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
framer-motion ^10.16.5 -> ^11.3.30 age adoption passing confidence

Release Notes

framer/motion (framer-motion)

v11.3.30

Compare Source

Fixed
  • Removed double "change" handler on externally-provided MotionValues.

v11.3.29

Compare Source

Fixed
  • Selective cancellation of optimised appear animations.

v11.3.28

Compare Source

Fixed
  • Use startTime instead of elapsed to sync optimised animations.

v11.3.27

Compare Source

Changed
  • Allow manual setting of startTime via animation options (currently for internal use only).

v11.3.26

Compare Source

Fixed
  • Improving synchronisation between DOM animations on externally-provided MotionValues and internal MotionValues.
  • Fixing unit conversion on DOM animations with externally-provided MotionValues.

v11.3.25

Compare Source

Changed
  • Improve calculation of startTime to prefer the immediacy of animation creation over keyframe resolution, but fall back to the latter if the former would lead to a perceptual jump.

v11.3.24

Compare Source

Fixed
  • Fixing incorrect version publish.

v11.3.23

Compare Source

Fixed
  • Improving optimised appear animation check from data-appear-id to active recording of started animations.
  • Only cancelling optimised appear animations from layout animations when they're animating transform.

v11.3.22

Compare Source

Fixed
  • Fixing spring animations with explicit velocities that animate to their current value.

v11.3.21

Compare Source

Changed
  • Removing default transforms from generated transform string provided to transformTemplate.

v11.3.20

Compare Source

Changed
  • Improved performance of transform by up to 30% when providing many default transforms as MotionValues.

v11.3.19

Compare Source

Fixed
  • Fixed problem with AnimatePresence not rerendering children unless their presence had changed.

v11.3.18

Compare Source

Fixed
  • Improved correctness of AnimatePresence and made safe to use with concurrent rendering.

v11.3.17

Compare Source

Added
  • domMin feature bundle.

v11.3.16

Compare Source

Changed
  • Exporting UseScrollOptions type.

v11.3.15

Compare Source

Changed
  • Improved types for inView()'s margin property.

v11.3.14

Compare Source

Fixed
  • Wrapping usePresence's safeToRemove callback in useCallback leading to fewer re-renders.

v11.3.13

Compare Source

Fixed
  • Fixing position: fixed layout animations while scrolling.

v11.3.12

Compare Source

Fixed
  • Improving useSpring types so it accepts MotionValue<string> or MotionValue<number> but always returns MotionValue<number>.

v11.3.11

Compare Source

Fixed
  • Removing "react" import from DOM-only bundle.

v11.3.10

Compare Source

Fixed
  • Changing isBrowser check from document to window.

v11.3.9

Compare Source

Changed
  • Improve performance of window.MotionDebug check.

v11.3.8

Compare Source

Changed
  • Improve performance of layout animation calculated projection comparisons.

v11.3.7

Compare Source

Changed
  • Active render scheduling check to prevent unnecessary Set lookups.

v11.3.6

Compare Source

Changed
  • Minor performance improvements for layout animations.

v11.3.5

Compare Source

Fixed
  • Ensuring DOM bundle doesn't include react and react-dom as dependencies.

v11.3.4

Compare Source

Changed
  • Check for display: contents elements now against component props instead of Element.style.

v11.3.3

Compare Source

Changed
  • Frameloop now uses a single Set vs Set and Array, leading to smaller bundlesize and better performance under heavy load.

v11.3.2

Compare Source

Fixed
  • No longer adding background-color to will-change.

v11.3.1

Compare Source

Updated
  • Externally-provided MotionValues are no longer permanently added to will-change.

v11.3.0

Compare Source

Updated
  • Animations automatically optimised via will-change.

v11.2.14

Compare Source

Updated
  • Improved performance of core render loop.

v11.2.13

Compare Source

Fixed
  • Checking for null before interpolating color values.

v11.2.12

Compare Source

Fixed
  • Fixing dragConstraints={ref} mixed with layout animations.

v11.2.11

Compare Source

Fixed
  • Fix animations in resuspended components.

v11.2.10

Compare Source

Fixed
  • Changing invalid number interpolation from error to warning and immediate mix.

v11.2.9

Compare Source

Fixed
  • Fixing animation of CSS variables when leading space is present.

v11.2.8

Compare Source

Fixed
  • Ensuring instant animations return animation controls.

v11.2.7

Compare Source

Fixed
  • Only allow layout animations to cancel optimised appear animations when on the same node or an ancestor.

v11.2.6

Compare Source

Fixed
  • Fixed optimised appear animations interrupted by layout animations triggered by a state update within useLayoutEffect.

v11.2.5

Compare Source

Fixed
  • Fixing layout animations within portals. Tag motion root within portal with data-framer-portal-id attribute.

v11.2.4

Compare Source

Fixed
  • Batching triggering animations with useSpring.

v11.2.3

Compare Source

Fixed
  • MotionValues created with undefined can track velocity correctly.

v11.2.2

Compare Source

Fixed
  • Fixed visual jump when interrupting an optimised appear animation.

v11.2.1

Compare Source

Changed
  • Improved performance of resolving variants by lazy resolving current MotionValue state.

v11.2.0

Compare Source

Added
  • Binary visibility interpolation i.e display: ["block", "none"] now maintains the visible state throughout the animation.

v11.1.9

Compare Source

Changed
  • Reinstating async event handlers to fix issues with user code and Suspence within Framer.

v11.1.8

Compare Source

Fixed
  • Animating between keyframe unit types when one keyframe is 0 and the other is an explicitly defined keyframe, e.g y: ["100%", 0].

v11.1.7

Compare Source

Changed
  • Updating types for motion.div.

v11.1.6

Compare Source

Changed
  • Binding stop to MainThreadAnimation

v11.1.5

Compare Source

Changed
  • Exporting DOMMotionComponents.

v11.1.4

Compare Source

Fixed
  • Fixing types of motion.div in certain TS5 environment configurations.
Changed
  • Skip removal of existing motion value when undefined.

v11.1.3

Compare Source

Fixed
  • ESM compat with CJS bundle.

v11.1.2

Compare Source

Fixed
  • Ensuring transforms unset during unit conversion are restored.

v11.1.1

Compare Source

Changed
  • Updating JSX transform.

v11.1.0

Compare Source

Changed
  • TypeScript 5 upgrade.

v11.0.28

Compare Source

Fixed
  • Ensure CSS var token is set as final animation keyframe.

v11.0.27

Compare Source

Fixed
  • Skipping animations with duration: 0.

v11.0.26

Compare Source

Fixed
  • Adding perspective() to projection transform.
  • Changing scheduling of useTransform to ensure frames are up-to-date.

v11.0.25

Compare Source

Fixed
  • Ensuring motion(Fragment) nodes are skipped from layout projection.

v11.0.24

Compare Source

Fixed
  • Changes in style are visible once a value is no longer present in animation props.

v11.0.23

Compare Source

Fixed
  • Fixed layout animations when combined with z transforms.

v11.0.22

Compare Source

Fixed
  • Fixed pre-generation of no-op WAAPI animations.

v11.0.21

Compare Source

Fixed
  • Fixed interrupting WAAPI spring animations.

v11.0.20

Compare Source

Fixed
  • Fixed interrupting shared element animations that contain rotate or skew transforms.

v11.0.19

Compare Source

Fixed
  • Fixed layout animations when combined with skew transforms.

v11.0.18

Compare Source

Fixed
  • Default duration doesn't override duration: 0 WAAPI animations.
  • Fix error when trying to animate unmounted element.
  • Avoid resolving WAAPI animation when stopping unresolved animation.

v11.0.17

Compare Source

v11.0.16

Compare Source

Fixed
  • Restored animation promise handling to match behaviour of <11.0.11.

v11.0.15

Compare Source

Fixed
  • Fixed measurements when more than one transform changes unit type.

v11.0.14

Compare Source

Fixed
  • Fixed animation controls in instances where keyframes resolve to be unanimatable.

v11.0.13

Compare Source

Added
  • Added default value types for backgroundPositionX and backgroundPositionY.
Fixed
  • Fixed height: auto animations.

v11.0.12

Compare Source

Fixed
  • Updated @emotion/is-valid-prop as peer dependency.

v11.0.11

Compare Source

Changed
  • Keyframes now resolved asynchronously.
  • External event handlers now fired synchronously.
  • CSS variables and unit conversion now supported with >2 keyframe animations.
  • Removed WAAPI animation of background-color.

v11.0.10

Compare Source

Fixed
  • Improved speed and stability of regexes.

v11.0.9

Compare Source

Added
  • Added support for Content Security Policy (CSP) nonces via MotionConfig.

v11.0.8

Compare Source

Fixed
  • Ensure optimised appear animations are cancelled before layout animation measurements.

v11.0.7

Compare Source

Fixed
  • Strip comments from strings before testing if they're CSS variables to prevent significant performance degradation.

v11.0.6

Compare Source

Updated
  • Added support for motion(Fragment) for controlling variants. For internal Framer use only.

v11.0.5

Compare Source

Updated
  • Performance updates.

v11.0.4

Compare Source

Fixed
  • Tighten check for navigator.userAgent.

v11.0.3

Compare Source

Fixed
  • Fixed layout animation bug in Framer.

v11.0.2

Compare Source

Fixed
  • Fixed velocity calculations when interrupting WAAPI animations.

v11.0.1

Compare Source

Removed
  • Support for internal transformValues prop.

v11.0.0

Compare Source

Changed
  • Replaced velocity-check jobs in favour of passive detection.
  • Post-commit render moved to a microtask.

v10.18.0

Compare Source

Added
  • globalTapTarget for use in Framer.

v10.17.12

Compare Source

Fixed
  • Fixed animate sequencing for MotionValues.

v10.17.11

Compare Source

Fixed
  • Fixed layout prop crashing Framer Motion 3D.

v10.17.9

Compare Source

Fixed
  • Improve error message when trying to animate multiple keyframes via spring.

v10.17.8

Compare Source

Fixed
  • Adding null safeguard for useAnimationControls.

v10.17.7

Compare Source

Fixed
  • Fix touch event filtering for hover gesture.

v10.17.6

Compare Source

Fixed
  • Ensure cancelled WAAPI animations can't finish.

v10.17.5

Compare Source

Fixed
  • Fixing final keyframe when using repeatType "reverse" and "mirror".
  • Display warning if scroll container is position: static.
  • Adding amount to useInView dependencies.

v10.17.4

Compare Source

Fixed
  • Ensure keyframe animations don't rerun if all values are the same.

v10.17.3

Compare Source

Fixed
  • Unset gestures correctly animate back to values defined in parent variant.

v10.17.2

Compare Source

Fixed
  • Fixed issues with duration-based springs appearing stuck or snapping.

v10.17.1

Compare Source

Fixed
  • Fixed issue with dragSnapToOrigin not continuing animation when interrupted.

v10.17.0

Compare Source

Added
  • Adding MotionGlobalConfig.skipAnimations to globally disable animations when testing.

v10.16.16

Compare Source

Fixed
  • circInOut easing fixed.
  • Improved optimised animation handoff.

v10.16.15

Compare Source

Fixed
  • Ensure animateChanges only runs in layout effect in initial render.

v10.16.14

Compare Source

v10.16.13

Compare Source

Fixed
  • Ensure animations don't attempt to fire when initial equals animate.

v10.16.12

Compare Source

Fixed
  • Use single animation to detect document paint ready before triggering optimised animations.
  • Measure one time for optimised animation start and one for handoff to emulate frame scheduling.

v10.16.11

Compare Source

Fixed
  • Ensure animation is never skipped if it's an interrupting animation.

v10.16.10

Compare Source

Fixed
  • Fixing appear animation optimisation when React portal is present.

v10.16.9

Compare Source

Fixed
  • Skipping no-op animations.

v10.16.8

Compare Source

Fixed
  • Added disableInstantAnimation private API.
  • Ensure optimised appear animations don't run post-hydration.

v10.16.7

Compare Source

Fixed
  • Fixing pan events within React portal.

v10.16.6

Compare Source

Fixed
  • Fixing Reorder component types.
  • Fixing Reorder.Item order calculation.
  • Fixing broken dragConstraints if component re-renders during resize.

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 25, 2024
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 2 times, most recently from 13c2ba4 to 4dc8fcf Compare February 7, 2024 15:06
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 2 times, most recently from f15b769 to 298fd4b Compare February 16, 2024 13:33
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 6b72c91 to a0ea932 Compare February 24, 2024 15:10
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch from a0ea932 to 4a7f0d9 Compare February 29, 2024 16:55
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 043b510 to 0dfc4b7 Compare March 15, 2024 13:26
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 9 times, most recently from eadc4fd to 2109eba Compare March 26, 2024 13:27
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 6 times, most recently from f2b0a7d to 41c9680 Compare April 1, 2024 15:37
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 126e77e to cabb246 Compare April 10, 2024 17:06
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 4958762 to 6919424 Compare June 5, 2024 15:33
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch from 6919424 to a75bc90 Compare June 8, 2024 15:03
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 1e7965a to 61e41fd Compare June 21, 2024 17:03
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch from 61e41fd to 10e515c Compare June 25, 2024 16:33
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 3c1f534 to 5923661 Compare July 9, 2024 17:15
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from 028ce6a to 8573884 Compare July 16, 2024 13:38
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 5 times, most recently from 55011ba to 455782f Compare July 24, 2024 13:54
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 4 times, most recently from 05db129 to c927b49 Compare August 1, 2024 16:21
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 3 times, most recently from a869d86 to 48e0df9 Compare August 14, 2024 15:55
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch 2 times, most recently from 59ac1ce to 6ebe2fe Compare August 21, 2024 15:02
@renovate renovate bot force-pushed the renovate/framer-motion-11.x branch from 6ebe2fe to 833f7d0 Compare August 23, 2024 15:53
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.

None yet

0 participants