fix(deps): update dependency motion to v12 #491
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.18.0
->^12.0.0
Release Notes
motiondivision/motion (motion)
v12.23.12
Compare Source
Added
v12.23.11
Compare Source
Added
delayChildren: stagger()
will now be staggered correctly alongside their newly-entering siblings.v12.23.10
Compare Source
Fixed
motion
components have re-rendered between shared element switching.v12.23.9
Compare Source
Changed
renderRequest
MotionValue
lifecycle.v12.23.7
Compare Source
Fixed
springValue
cleanup.removeNode
fromAnimatePresence
when usingpopLayout
.v12.23.6
Compare Source
Changed
motion
component creation to remove indirection.v12.23.5
Compare Source
Fixed
v12.23.3
Compare Source
Changed
useScroll
: Re-attempt to initialise scroll animation within auseEffect
if refs weren't hydrated during theuseLayoutEffect
. Throw if refs are still not hydrated during theuseEffect
.v12.23.2
Compare Source
Added
v12.23.1
Compare Source
Changed
v12.23.0
Compare Source
Added
.stop()
and.cancel()
methods touseDragControls()
.v12.22.0
Compare Source
Added
delayChildren
to acceptstagger()
. This enablesfrom
andease
options when staggering variant children.Deprecated
staggerChildren
andstaggerDirection
options.v12.20.5
Compare Source
Fixed
element.style
.v12.20.4
Compare Source
Fixed
v12.20.3
Compare Source
Fixed
v12.20.2
Compare Source
Fixed
Transition
type to be more permissive.v12.20.1
Compare Source
Fixed
Target
type to match previous definition.v12.20.0
Compare Source
Added
AnimatePresence
root
prop to attach"popLayout"
styles to a different root element.v12.19.4
Compare Source
Fixed
v12.19.3
Compare Source
Fixed
transformPerspective
toTargetAndTransition
.CSSStyleDeclaration
.v12.19.2
Compare Source
Fixed
v12.19.1
Compare Source
Fixed
export *
error message in Next.js.v12.19.0
Compare Source
Added
usePageInView
for tracking document visibility.v12.18.2
Compare Source
Fixed
"motion"
.translateX
,originX
etc values in animation targets.v12.18.1
Compare Source
Fixed
"react"
import from"motion-dom"
.v12.18.0
Compare Source
Added
<+0.5
,<-1
)v12.17.3
Compare Source
Changed
MotionProps
into vanillaMotionNodeOptions
type within"motion-dom"
package.v12.17.2
Compare Source
Changed
"none"
keyframes for complex strings.v12.17.1
Compare Source
Fixed
isValidProp
check with Rolldown.v12.17.0
Compare Source
Added
Fixed
linear()
easing curves.v12.16.0
Compare Source
Added
resize()
.v12.15.0
Compare Source
Added
pathLength
/pathSpacing
/pathOffset
forsvgEffect
.data
andaria
attributes inattrEffect
.attrEffect
applies attributes via JS property where possible.transform-box: fill-box
for SVGs withtransform
instyleEffect
.v12.14.0
Compare Source
Added
originX
/Y
/Z
instyleEffect
.Fixed
v12.13.0
Compare Source
Added
svgEffect
,propEffect
andattrEffect
.Fixed
v12.12.2
Compare Source
Fixed
v12.12.1
Compare Source
Fixed
instanceof HTMLElement
made compatible with dynamically generatediframe
s.v12.12.0
Compare Source
Added
springValue
Fixed
v12.11.4
Compare Source
Fixed
transform
from the DOM for initial independent transforms when there's no active projection.v12.11.3
Compare Source
Changed
useWillChange
now only addstransform
towill-change
to prevent issues with prematurely flattenedpreserve-3d
.v12.11.2
Compare Source
Fixed
__VERSION__
placeholder from motion value.Reorder
component.v12.11.1
Compare Source
Fixed
scroll
tracking todocument.scrollingElement
.v12.11.0
Compare Source
Added
value.isEffectActive
for internal use.v12.10.6
Compare Source
Fixed
.then()
after.stop()
and.cancel()
.v12.10.5
Compare Source
Fixed
press
handlers on the same element.v12.10.4
Compare Source
Fixed
v12.10.3
Compare Source
Fixed
v12.10.2
Compare Source
Fixed
.cancel()
after.stop()
.v12.10.1
Compare Source
Changed
scroll
animations are now lazy, resolving after"scroll"
events instead of every animation frame.v12.10.0
Compare Source
Added
styleEffect
now supports:v12.9.7
Compare Source
Fixed
PopChild
with Astro view transitions.v12.9.6
Compare Source
Fixed
transformBox
viastyle
.v12.9.5
Compare Source
Fixed
undefined
error in React 19 Strict Mode.v12.9.4
Compare Source
Fixed
MotionValue
.v12.9.3
Compare Source
Fixed
motion
components.v12.9.2
Compare Source
Fixed
offset
.document.body
and use this instead ofdocument.documentElement
.v12.9.1
Compare Source
Fixed
.speed
now works as expected.v12.9.0
Compare Source
Added
styleEffect
v12.8.2
Compare Source
Changed
transform
behaviour for SVG and CSS switched from element measurements fortransform-box: fill-box
.v12.8.0
Compare Source
Added
mapValue
transformValue
Changed
CustomValueType
.v12.7.5
Compare Source
Changed
linear()
easing.instantAnimationState.current
toMotionGlobalConfig.instantAnimations
.delay
fromread
tosetup
frameloop step.Fixed
.then()
andawait
early resolution..speed
works correctly across all animation types.v12.7.4
Compare Source
Fixed
AnimatePresence
.v12.7.3
Compare Source
Fixed
duration
foranimateView
transitions..commitStyles()
onpseudoElement
animations.v12.7.2
Compare Source
Fixed
"sideEffects": false
tomotion-dom
andmotion-utils
packages.v12.7.1
Compare Source
Fixed
.commitStyles
onpsuedoElement
animations.v12.7.0
Compare Source
Added
layoutCrossfade
allows disabling crossfade of shared layout elements.v12.6.5
Compare Source
Fixed
sync
andcancelSync
exports.v12.6.4
Compare Source
Added
WillChangeMotionValue
for internal Framer use.v12.6.3
Compare Source
Changed
animate
andanimateView
to share the sameNativeAnimation
. Minianimate
down to2.3kb
.Fixed
v12.6.2
Compare Source
Fixed
transform
values when amotion
component has a definedtransformTemplate
.v12.6.1
Compare Source
Fixed
v12.6.0
Compare Source
Changed
view
toanimateView
.Added
interrupt: "wait"
mode asanimateView
default.v12.5.0
Compare Source
Added
motionValue
to vanilla JS entrypoint.Removed
framer-motion-3d
package.v12.4.13
Compare Source
Fixed
v12.4.12
Compare Source
Fixed
v12.4.11
Compare Source
Fixed
type
orease
are explicitly set.v12.4.10
Compare Source
Fixed
motion-dom
andmotion-utils
.v12.4.9
Compare Source
Fixed
Reorder.Item
reordering causinglostpointercapture
event to fire.v12.4.7
Compare Source
Fixed
AnimatePresence
not triggering exit animations when a child withlayout
ordrag
is removed.v12.4.6
Compare Source
Fixed
v12.4.5
Compare Source
Fixed
onClick
handlers not working insidepress
events.v12.4.4
Compare Source
Fixed
iframe
embeds.v12.4.3
Compare Source
Fixed
v12.4.2
Compare Source
Fixed
press
from triggering when an element is disabled.v12.4.1
Compare Source
Fixed
v12.4.0
Compare Source
Added
initial
option touseInView
.v12.3.1
Compare Source
Fixed
animate
animation.v12.3.0
Compare Source
Added
usePresenceData
to get custom data passed toAnimatePresence
in descendant components.v12.2.0
Compare Source
Added
useSpring
.v12.1.0
Compare Source
Fixed
AnimatePresence
in React 19 strict mode.Deprecated
v12.0.11
Compare Source
Fixed
updateSVGDimensions
to its own file to help with tree-shaking.v12.0.10
Compare Source
Fixed
MotionValue
tomotion
component frommotion/react-client
entrypoint.v12.0.9
Compare Source
Fixed
v12.0.8
Compare Source
Fixed
children
prop formotion.create
.v12.0.6
Compare Source
Fixed
v12.0.5
Compare Source
Fixed
v12.0.4
Compare Source
Fixed
v12.0.3
Compare Source
Fixed
Added
anchorX
prop toAnimatePresence
.Changed
useSpring
for smaller bundlesize.v12.0.1
Compare Source
Fixed
updateSVGDimensions
to its own file to help with tree-shaking.v12.0.0
Compare Source
Changed
press
,hover
andinView
now pass the target element as the first argument to the gesture start callback.v11.18.2
Compare Source
Fixed
transformTemplate
not hardware accelerated.v11.18.1
Compare Source
Fixed
AnimatePresence
types in React 19.transform
not always setting styles correctly on mount.v11.18.0
Compare Source
Added
animateSequence
to perform animation sequences via WAAPI for a tiny bundlesize.Fixed
AnimationControls
type export.v11.17.1
Compare Source
Fixed
transform-origin
.v11.17.0
Compare Source
Added
propagate
toAnimatePresence
. This prop allows parent exit animations to be propagated to children.Removed
exitBeforeEnter
fromAnimatePresence
.v11.16.7
Compare Source
Fixed
v11.16.6
Compare Source
Changed
height
andtop
are now blocked by reduced motion.v11.16.4
Compare Source
Fixed
attachTimeline
whenskipLibCheck
is disabled.v11.16.3
Compare Source
Fixed
press
,hover
, andinView
callbacks before calling.v11.16.2
Compare Source
Fixed
v11.16.1
Compare Source
Fixed
displayName
tomotion
components.press
doesn't overridetabindex
when explicitly set.v11.16.0
Compare Source
Added
view()
alpha to early access.v11.15.0
Compare Source
Added
repeat
in animation sequences.Fixed
v11.14.4
Compare Source
Fixed
AnimationSequence
via"motion"
entrypoint.motion.create()
in React 19.v11.14.3
Compare Source
Fixed
motion-dom
andmotion-utils
entrypoints.v11.14.2
Compare Source
Fixed
time
for internal use.MotionValue.updatedAt
public for internal use.v11.14.1
Compare Source
Fixed
motion-dom
andmotion-utils
packages.v11.14.0
Compare Source
Added
press
gesture in Motion+ early access.v11.13.5
Compare Source
Fixed
"framer-motion"
packages.v11.13.4
Compare Source
Fixed
v11.13.3
Compare Source
Fixed
v11.13.1
Compare Source
Fixed
motion.text
) now update when given aMotionValue
as children, matching HTML element behavior.DynamicAnimationOptions
type.v11.13.0
Compare Source
Added
hover
gesture in Motion+ early access.v11.12.0
Compare Source
Added
visualDuration
option forspring
animations.spring(visualDuration, bounce)
syntax.v11.11.17
Compare Source
v11.11.16
Compare Source
Fixed
stagger
with minianimate
.v11.11.15
Compare Source
Fixed
mini
andreact-mini
entrypoints.v11.11.14
Compare Source
Fixed
"motion/react"
etc.v11.11.13
Compare Source
Fixed
"motion"
.v11.11.12
Compare Source
Changed
"motion"
package.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.
This PR was generated by Mend Renovate. View the repository job log.