Update dependency framer-motion to v12 #140
Open
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.0Release Notes
motiondivision/motion (framer-motion)
v12.23.24Compare Source
Fixed
initial={false}.v12.23.23Compare Source
Added
PresenceChildandPopChildtype for internal use.v12.23.22Compare Source
Added
HTMLElementsanduseComposedRefstype for internal use.v12.23.21Compare Source
Fixed
scrollwith animations that containdelay.v12.23.20Compare Source
Fixed
v12.23.19Compare Source
Fixed
refprop.v12.23.18Compare Source
Fixed
<motion />components now support changingrefprop.v12.23.16Compare Source
Fixed
refwhen passed to a child ofAnimatePresencein"popLayout"mode.v12.23.15Compare Source
Fixed
export *error in RSC.v12.23.14Compare Source
Fixed
Reorder.ItemandReorder.Groupso incorrect HTML props are correctly flagged.externalRefwhen it switches.v12.23.13Compare Source
Fixed
useMotionReffunction now properly includesexternalRefin the dependency array to ensure ref callbacks update when the external ref changes.Changed
v12.23.12Compare Source
Added
v12.23.11Compare Source
Added
delayChildren: stagger()will now be staggered correctly alongside their newly-entering siblings.v12.23.10Compare Source
Fixed
motioncomponents have re-rendered between shared element switching.v12.23.9Compare Source
Changed
renderRequestMotionValuelifecycle.v12.23.7Compare Source
Fixed
springValuecleanup.removeNodefromAnimatePresencewhen usingpopLayout.v12.23.6Compare Source
Changed
motioncomponent creation to remove indirection.v12.23.5Compare Source
Fixed
v12.23.3Compare Source
Changed
useScroll: Re-attempt to initialise scroll animation within auseEffectif refs weren't hydrated during theuseLayoutEffect. Throw if refs are still not hydrated during theuseEffect.v12.23.2Compare Source
Fixed
initial={false}.v12.23.1Compare Source
Fixed
refprop.v12.23.0Compare Source
Added
.stop()and.cancel()methods touseDragControls().v12.22.0Compare Source
Added
delayChildrento acceptstagger(). This enablesfromandeaseoptions when staggering variant children.Deprecated
staggerChildrenandstaggerDirectionoptions.v12.20.5Compare Source
Fixed
element.style.v12.20.4Compare Source
Fixed
v12.20.3Compare Source
Fixed
v12.20.2Compare Source
Fixed
Transitiontype to be more permissive.v12.20.1Compare Source
Fixed
Targettype to match previous definition.v12.20.0Compare Source
Added
AnimatePresencerootprop to attach"popLayout"styles to a different root element.v12.19.4Compare Source
Fixed
v12.19.3Compare Source
Fixed
transformPerspectivetoTargetAndTransition.CSSStyleDeclaration.v12.19.2Compare Source
Fixed
v12.19.1Compare Source
Fixed
export *error message in Next.js.v12.19.0Compare Source
Added
usePageInViewfor tracking document visibility.v12.18.2Compare Source
Fixed
"motion".translateX,originXetc values in animation targets.v12.18.1Compare Source
Fixed
"react"import from"motion-dom".v12.18.0Compare Source
Added
<+0.5,<-1)v12.17.3Compare Source
Changed
MotionPropsinto vanillaMotionNodeOptionstype within"motion-dom"package.v12.17.2Compare Source
Changed
"none"keyframes for complex strings.v12.17.1Compare Source
Fixed
isValidPropcheck with Rolldown.v12.17.0Compare Source
Added
Fixed
linear()easing curves.v12.16.0Compare Source
Added
resize().v12.15.0Compare Source
Added
pathLength/pathSpacing/pathOffsetforsvgEffect.dataandariaattributes inattrEffect.attrEffectapplies attributes via JS property where possible.transform-box: fill-boxfor SVGs withtransforminstyleEffect.v12.14.0Compare Source
Added
originX/Y/ZinstyleEffect.Fixed
v12.13.0Compare Source
Added
svgEffect,propEffectandattrEffect.Fixed
v12.12.2Compare Source
Fixed
v12.12.1Compare Source
Fixed
instanceof HTMLElementmade compatible with dynamically generatediframes.v12.12.0Compare Source
Added
springValueFixed
v12.11.4Compare Source
Fixed
transformfrom the DOM for initial independent transforms when there's no active projection.v12.11.3Compare Source
Changed
useWillChangenow only addstransformtowill-changeto prevent issues with prematurely flattenedpreserve-3d.v12.11.2Compare Source
Fixed
__VERSION__placeholder from motion value.Reordercomponent.v12.11.1Compare Source
Fixed
scrolltracking todocument.scrollingElement.v12.11.0Compare Source
Added
value.isEffectActivefor internal use.v12.10.6Compare Source
Fixed
.then()after.stop()and.cancel().v12.10.5Compare Source
Fixed
presshandlers on the same element.v12.10.4Compare Source
Fixed
v12.10.3Compare Source
Fixed
v12.10.2Compare Source
Fixed
.cancel()after.stop().v12.10.1Compare Source
Changed
scrollanimations are now lazy, resolving after"scroll"events instead of every animation frame.v12.10.0Compare Source
Added
styleEffectnow supports:v12.9.7Compare Source
Fixed
PopChildwith Astro view transitions.v12.9.6Compare Source
Fixed
transformBoxviastyle.v12.9.5Compare Source
Fixed
undefinederror in React 19 Strict Mode.v12.9.4Compare Source
Fixed
MotionValue.v12.9.3Compare Source
Fixed
motioncomponents.v12.9.2Compare Source
Fixed
offset.document.bodyand use this instead ofdocument.documentElement.v12.9.1Compare Source
Fixed
.speednow works as expected.v12.9.0Compare Source
Added
styleEffectv12.8.2Compare Source
Changed
transformbehaviour for SVG and CSS switched from element measurements fortransform-box: fill-box.v12.8.0Compare Source
Added
mapValuetransformValueChanged
CustomValueType.v12.7.5Compare Source
Changed
linear()easing.instantAnimationState.currenttoMotionGlobalConfig.instantAnimations.delayfromreadtosetupframeloop step.Fixed
.then()andawaitearly resolution..speedworks correctly across all animation types.v12.7.4Compare Source
Fixed
AnimatePresence.v12.7.3Compare Source
Fixed
durationforanimateViewtransitions..commitStyles()onpseudoElementanimations.v12.7.2Compare Source
Fixed
"sideEffects": falsetomotion-domandmotion-utilspackages.v12.7.1Compare Source
Fixed
.commitStylesonpsuedoElementanimations.v12.7.0Compare Source
Added
layoutCrossfadeallows disabling crossfade of shared layout elements.v12.6.5Compare Source
Fixed
syncandcancelSyncexports.v12.6.4Compare Source
Added
WillChangeMotionValuefor internal Framer use.v12.6.3Compare Source
Changed
animateandanimateViewto share the sameNativeAnimation. Minianimatedown to2.3kb.Fixed
v12.6.2Compare Source
Fixed
transformvalues when amotioncomponent has a definedtransformTemplate.v12.6.1Compare Source
Fixed
v12.6.0Compare Source
Changed
viewtoanimateView.Added
interrupt: "wait"mode asanimateViewdefault.v12.5.0Compare Source
Added
motionValueto vanilla JS entrypoint.Removed
framer-motion-3dpackage.v12.4.13Compare Source
Fixed
v12.4.12Compare Source
Fixed
v12.4.11Compare Source
Fixed
typeoreaseare explicitly set.v12.4.10Compare Source
Fixed
motion-domandmotion-utils.v12.4.9Compare Source
Fixed
Reorder.Itemreordering causinglostpointercaptureevent to fire.v12.4.7Compare Source
Fixed
AnimatePresencenot triggering exit animations when a child withlayoutordragis removed.v12.4.6Compare Source
Fixed
v12.4.5Compare Source
Fixed
onClickhandlers not working insidepressevents.v12.4.4Compare Source
Fixed
iframeembeds.v12.4.3Compare Source
Fixed
v12.4.2Compare Source
Fixed
pressfrom triggering when an element is disabled.v12.4.1Compare Source
Fixed
v12.4.0Compare Source
Added
initialoption touseInView.v12.3.1Compare Source
Fixed
animateanimation.v12.3.0Compare Source
Added
usePresenceDatato get custom data passed toAnimatePresencein descendant components.v12.2.0Compare Source
Added
useSpring.v12.1.0Compare Source
Fixed
AnimatePresencein React 19 strict mode.Deprecated
v12.0.11Compare Source
Fixed
updateSVGDimensionsto its own file to help with tree-shaking.v12.0.10Compare Source
Fixed
MotionValuetomotioncomponent frommotion/react-cliententrypoint.v12.0.9Compare Source
Fixed
v12.0.8Compare Source
Fixed
childrenprop formotion.create.v12.0.6Compare Source
Fixed
v12.0.5Compare Source
Fixed
v12.0.4Compare Source
Fixed
v12.0.3Compare Source
Fixed
Added
anchorXprop toAnimatePresence.Changed
useSpringfor smaller bundlesize.v12.0.1Compare Source
Fixed
updateSVGDimensionsto its own file to help with tree-shaking.v12.0.0Compare Source
Changed
press,hoverandinViewnow pass the target element as the first argument to the gesture start callback.v11.18.2Compare Source
Fixed
transformTemplatenot hardware accelerated.v11.18.1Compare Source
Fixed
AnimatePresencetypes in React 19.transformnot always setting styles correctly on mount.v11.18.0Compare Source
Added
animateSequenceto perform animation sequences via WAAPI for a tiny bundlesize.Fixed
AnimationControlstype export.v11.17.1Compare Source
Fixed
transform-origin.v11.17.0Compare Source
Added
propagatetoAnimatePresence. This prop allows parent exit animations to be propagated to children.Removed
exitBeforeEnterfromAnimatePresence.v11.16.7Compare Source
Fixed
v11.16.6Compare Source
Changed
heightandtopare now blocked by reduced motion.v11.16.4Compare Source
Fixed
attachTimelinewhenskipLibCheckis disabled.v11.16.3Compare Source
Fixed
press,hover, andinViewcallbacks before calling.v11.16.2Compare Source
Fixed
v11.16.1Compare Source
Fixed
displayNametomotioncomponents.pressdoesn't overridetabindexwhen explicitly set.v11.16.0Compare Source
Added
view()alpha to early access.v11.15.0Compare Source
Added
repeatin animation sequences.Fixed
v11.14.4Compare Source
Fixed
AnimationSequencevia"motion"entrypoint.motion.create()in React 19.v11.14.3Compare Source
Fixed
motion-domandmotion-utilsentrypoints.v11.14.2Compare Source
Fixed
timefor internal use.MotionValue.updatedAtpublic for internal use.v11.14.1Compare Source
Fixed
motion-domandmotion-utilspackages.v11.14.0Compare Source
Added
pressgesture in Motion+ early access.v11.13.5Compare Source
Fixed
"framer-motion"packages.v11.13.4Compare Source
Fixed
v11.13.3Compare Source
Fixed
v11.13.1Compare Source
Fixed
motion.text) now update when given aMotionValueas children, matching HTML element behavior.DynamicAnimationOptionstype.v11.13.0Compare Source
Added
hovergesture in Motion+ early access.v11.12.0Compare Source
Added
visualDurationoption forspringanimations.spring(visualDuration, bounce)syntax.v11.11.17Compare Source
v11.11.16Compare Source
Fixed
staggerwith minianimate.v11.11.15Compare Source
Fixed
miniandreact-minientrypoints.v11.11.13Compare Source
Fixed
"motion".v11.11.12Compare Source
Changed
"motion"package.v11.11.11Compare Source
Fixed
update()call on mount.v11.11.10Compare Source
Fixed
will-changefrom SSR.v11.11.9Compare Source
Changed
will-changeis now no longer automatically managed withoutuseWillChange.v11.11.8Compare Source
Fixed
package.jsonfor entrypoints in older versions of Node.v11.11.7Compare Source
Fixed
animate.v11.11.6Compare Source
Fixed
animate.v11.11.5Compare Source
Fixed
stylewithout casting, as this was conflicting with ReactCSSProperties.v11.11.4Compare Source
Fixed
AnimatePresencesafeToRemove.layout="size"annotation.v11.11.3Compare Source
Fixed
as anyrequirement for CSS variables.v11.11.2Compare Source
Fixed
BezierDefinitionreadonlyfor easier definition outside aTransition.v11.11.1Compare Source
Fixed
staggerwith minianimate.v11.11.0Compare Source
Added
animatecan now animate any object.v11.10.0Compare Source
Added
delaywith seconds now exported from"framer-motion/dom".Fixed
transformis added towill-changewhen a potentially layerising value is animated asopacityandfilterwill prematurely flattenpreserve-3d.v11.9.0Compare Source
Added
animateanduseAnimatefunctions.v11.8.0Compare Source
Added
linear()easings when animating via WAAPI.v11.7.0Compare Source
Added
type.v11.6.0Compare Source
Added
infoand element tracking toscroll.stepseasing.Changed
will-changenow stay there for their lifespan to prevent GPU thrashing and weird Safari subpixel jitters.v11.5.6Compare Source
Fixed
renderdoesn't lock rendering for an element.v11.5.5Compare Source
Fixed
v11.5.4Compare Source
Fixed
v11.5.3Compare Source
Fixed
Reordercomponents now importmotionproxy.v11.5.2Compare Source
Added
motion()deprecation warning towarnOnce.v11.5.1Compare Source
Added
findSpringfor internal use.v11.5.0Compare Source
Added
motion.create()andm.create().Deprecrated
motion()andm().v11.4.0Compare Source
Added
motionandmcomponents.v11.3.31Compare Source
Fixed
style.v11.3.30Compare Source
Fixed
"change"handler on externally-providedMotionValues.v11.3.29Compare Source
Fixed
v11.3.28Compare Source
Fixed
startTimeinstead ofelapsedto sync optimised animations.v11.3.27Compare Source
Changed
startTimevia animation options (currently for internal use only).v11.3.26Compare Source
Fixed
MotionValues and internalMotionValues.MotionValues.v11.3.25Compare Source
Changed
startTimeto 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.24Compare Source
Fixed
v11.3.23Compare Source
Fixed
data-appear-idto active recording of started animations.transform.v11.3.22Compare Source
Fixed
v11.3.21Compare Source
Changed
transformstring provided totransformTemplate.v11.3.20Compare Source
Changed
transformby up to 30% when providing many default transforms asMotionValues.v11.3.19Compare Source
Fixed
AnimatePresencenot rerendering children unless their presence had changed.v11.3.18Compare Source
Fixed
AnimatePresenceand made safe to use with concurrent rendering.v11.3.17Compare Source
Added
domMinfeature bundle.v11.3.16Compare Source
Changed
UseScrollOptionstype.v11.3.15Compare Source
Changed
inView()'smarginproperty.v11.3.14Compare Source
Fixed
usePresence'ssafeToRemovecallback inuseCallbackleading to fewer re-renders.v11.3.13Compare Source
Fixed
position: fixedlayout animations while scrolling.v11.3.12Compare Source
Fixed
useSpringtypes so it accepts `MConfiguration
📅 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.