Update dependency framer-motion to v11
Created by: renovate
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
framer-motion | dependencies | major | ^10.16.4 -> ^11.0.0 |
Release Notes
framer/motion (framer-motion)
v11.1.9
Changed
- Reinstating async event handlers to fix issues with user code and Suspence within Framer.
v11.1.8
Fixed
- Animating between keyframe unit types when one keyframe is
0
and the other is an explicitly defined keyframe, e.gy: ["100%", 0]
.
v11.1.7
Changed
- Updating types for
motion.div
.
v11.1.6
Changed
- Binding
stop
toMainThreadAnimation
v11.1.5
Changed
- Exporting
DOMMotionComponents
.
v11.1.4
Fixed
- Fixing types of
motion.div
in certain TS5 environment configurations.
Changed
- Skip removal of existing motion value when
undefined
.
v11.1.3
Fixed
- ESM compat with CJS bundle.
v11.1.2
Fixed
- Ensuring transforms unset during unit conversion are restored.
v11.1.1
Changed
- Updating JSX transform.
v11.1.0
Changed
- TypeScript 5 upgrade.
v11.0.28
Fixed
- Ensure CSS var token is set as final animation keyframe.
v11.0.27
Fixed
- Skipping animations with
duration: 0
.
v11.0.26
Fixed
- Adding
perspective()
to projection transform. - Changing scheduling of
useTransform
to ensure frames are up-to-date.
v11.0.25
Fixed
- Ensuring
motion(Fragment)
nodes are skipped from layout projection.
v11.0.24
Fixed
- Changes in
style
are visible once a value is no longer present in animation props.
v11.0.23
Fixed
- Fixed layout animations when combined with
z
transforms.
v11.0.22
Fixed
- Fixed pre-generation of no-op WAAPI animations.
v11.0.21
Fixed
- Fixed interrupting WAAPI spring animations.
v11.0.20
Fixed
- Fixed interrupting shared element animations that contain
rotate
orskew
transforms.
v11.0.19
Fixed
- Fixed layout animations when combined with
skew
transforms.
v11.0.18
Fixed
- Default
duration
doesn't overrideduration: 0
WAAPI animations. - Fix error when trying to animate unmounted element.
- Avoid resolving WAAPI animation when stopping unresolved animation.
v11.0.17
Fixed
- Interruption of WAAPI animations now animates from correct value.
v11.0.16
Fixed
- Restored animation promise handling to match behaviour of <11.0.11.
v11.0.15
Fixed
- Fixed measurements when more than one transform changes unit type.
v11.0.14
Fixed
- Fixed animation controls in instances where keyframes resolve to be unanimatable.
v11.0.13
Added
- Added default value types for
backgroundPositionX
andbackgroundPositionY
.
Fixed
- Fixed
height: auto
animations.
v11.0.12
Fixed
- Updated
@emotion/is-valid-prop
as peer dependency.
v11.0.11
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
Fixed
- Improved speed and stability of regexes.
v11.0.9
Added
- Added support for Content Security Policy (CSP) nonces via
MotionConfig
.
v11.0.8
Fixed
- Ensure optimised appear animations are cancelled before layout animation measurements.
v11.0.7
Fixed
- Strip comments from strings before testing if they're CSS variables to prevent significant performance degradation.
v11.0.6
Updated
- Added support for
motion(Fragment)
for controlling variants. For internal Framer use only.
v11.0.5
Updated
- Performance updates.
v11.0.4
Fixed
- Tighten check for
navigator.userAgent
.
v11.0.3
Fixed
- Fixed layout animation bug in Framer.
v11.0.2
Fixed
- Ensure CSS var token is set as final animation keyframe.
v11.0.1
Fixed
- Fixed layout animations when combined with
skew
transforms.
v11.0.0
Changed
- Replaced velocity-check jobs in favour of passive detection.
- Post-commit render moved to a microtask.
v10.18.0
Added
-
globalTapTarget
for use in Framer.
v10.17.12
Fixed
- Fixed
animate
sequencing forMotionValue
s.
v10.17.11
Fixed
- Fixed
layout
prop crashing Framer Motion 3D.
v10.17.9
Fixed
- Improve error message when trying to animate multiple keyframes via spring.
v10.17.8
Fixed
- Adding
null
safeguard foruseAnimationControls
.
v10.17.7
Fixed
- Fix touch event filtering for hover gesture.
v10.17.6
Fixed
- Ensure cancelled WAAPI animations can't finish.
v10.17.5
Fixed
- Fixing final keyframe when using
repeatType
"reverse"
and"mirror"
. - Display warning if scroll
container
isposition: static
. - Move more scroll measurements to
read
frame lifecycle. - Adding
amount
touseInView
dependencies.
v10.17.4
Fixed
- Ensure keyframe animations don't rerun if all values are the same.
v10.17.3
Fixed
- Unset gestures correctly animate back to values defined in parent variant.
v10.17.2
Fixed
- Fixed issues with duration-based springs appearing stuck or snapping.
v10.17.1
Fixed
- Fixed
animate
sequencing forMotionValue
s.
v10.17.0
Added
- Adding
MotionGlobalConfig.skipAnimations
to globally disable animations when testing.
v10.16.16
Fixed
-
circInOut
easing fixed. - Improved optimised animation handoff.
v10.16.15
Fixed
- Ensure
animateChanges
only runs in layout effect in initial render.
v10.16.14
v10.16.13
Fixed
- Ensure animations don't attempt to fire when
initial
equalsanimate
.
v10.16.12
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
Fixed
- Ensure animation is never skipped if it's an interrupting animation.
v10.16.10
Fixed
- Fixing appear animation optimisation when React portal is present.
v10.16.9
Fixed
- Skipping no-op animations.
v10.16.8
Fixed
- Added
disableInstantAnimation
private API. - Ensure optimised appear animations don't run post-hydration.
v10.16.7
Fixed
- Fixing pan events within React portal.
v10.16.6
Fixed
- Fixing
Reorder
component types. - Fixing
Reorder.Item
order calculation. - Fixing broken
dragConstraints
if component re-renders during resize.
Configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.