chore(deps): update dependency motion to v12.42.2#88
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
12.34.3→12.42.2Release Notes
motiondivision/motion (motion)
v12.42.2Compare Source
Fixed
animateView: Cropped group layers now animateborder-radiusfrom the old to new radius.v12.42.1Compare Source
Fixed
animateView: Old layer fade out now cancelled when defining.new().v12.42.0Compare Source
Changed
animateView: Layers are automatically grouped to match their DOM-hierarchy. New.group(false)method opts-out.Fixed
animateView: Auto-crop is now aspect-ratio aware, disabling crops for matching aspect-ratios.animateView: Disabled automaticborder-radiusanimation.v12.41.0Compare Source
Added
animateView: Moves from Motion+ Early Access and alpha to main library.animateView:.add()resolves a CSS selector orElementto automatically generate, apply and removeview-transition-name.animateView:.new()and.old()configures values to animate on new and old layers.animateView:.layout()can set a custom transition on the size/position animation of the currently selected elements.animateView: Group layers now automatically crop with children set tocover, withborder-radiusanimating from old radius to new..crop(false)disables this behaviour.animateView:.class(name)tags currently selected elements with aview-transition-classas a custom CSS hook.Fixed
AnimatePresence: Prevent stuck exit animations when children interrupt.drag: Childe.stopPropagation()no longer break drag end.motionpackage.animateLayout: Improve handling of parallel/interleaved calls.Changed
animateView:.enter()and.exit()now refer specifically tonewandoldlayers where there are no matchingoldornewlayers.animateView: Interrupted transition setups now return resolved animation rather than throwing.v12.40.0Compare Source
Added
pathoption totransition.arc()for motion along an arc.v12.39.0Compare Source
Added
repeatTypeandrepeatDelayin animation sequences.Fixed
dragSnapToOriginno longer leaves the drag transform stranded after a layout swap.LazyMotion: Share React contexts between theframer-motionandframer-motion/m(and thereforemotion/reactandmotion/react-m) CJS bundles so that<m.div>from the/msubpath picks up features loaded by<LazyMotion>from the main entry point.useScroll: Support hydratingtargetandcontainerrefs from anywhere in the tree.<AnimatePresence initial={false} />.dragConstraints, when set as viewport-relative ref, no longer break on scroll.§visualElementhydration order.useAnimate: Now respectsskipAnimations.AnimatePresence: Fix object-forminitialvalues not applied on re-entry after exit completes.scroll: Fixed callback progress when tracking an element.useScroll: Fix hardware acceleration when tracking an element.v12.38.0Compare Source
Added
layoutAnchorprop to configure custom anchor point for resolving relative projection boxes.Fixed
Reorder: Fix axis switching after window resize.Reorder: Fix with virtualised lists.AnimatePresence: Ensure children are removed when exit animation matches current values.v12.37.0Compare Source
Added
"start"and"end"offsets inscrollanduseScroll.oklch,oklab,lab,lch,color,color-mix,light-darkcolor types.Fixed
whileInViewwith client-side navigation.useSpringreports correctisAnimating().v12.36.0Compare Source
Added
dragSnapToOriginto accept"x"or"y"for per-axis snapping.layout="x"andlayout="y".skipInitialAnimationtouseSpring.Fixed
heightandwidth: autoanimations withbox-sizing: border-box.anticipateeasing returns1atp === 1.@emotion/is-prop-validresolve error in Storybook.data-pop-layout-idfrom exiting elements when animation interrupted.MotionValueprops are not passed to SVG.AnimatePresence: Preventmode="wait"elements from getting stuck when switched rapidly.v12.35.2Compare Source
Fixed
styleEffect.popLayout.opacityanimations in React Strict Mode in development.useSpringis not affected by monitor framerate.%-based translation.autoplay: falsewith WAAPI animations.calc()values before making animatable templates.v12.35.1Compare Source
Fixed
delay.animation.time = 0on a finished animation sets the playhead in a paused state.v12.35.0Compare Source
Added
ViewTimelinesupport forscrollanduseScroll.v12.34.5Compare Source
Fixed
typeof windowchecks.v12.34.4Compare Source
Fixed
onCompletefires at the end of an animation sequence.Configuration
📅 Schedule: (UTC)
🚦 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.