chore: bump motion from 12.40.0 to 12.42.2 in /site (#27748)

Bumps [motion](https://github.com/motiondivision/motion) from 12.40.0 to
12.42.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/motiondivision/motion/blob/main/CHANGELOG.md">motion's
changelog</a>.</em></p>
<blockquote>
<h2>[12.42.2] 2026-07-01</h2>
<h3>Fixed</h3>
<ul>
<li><code>animateView</code>: Cropped group layers now animate
<code>border-radius</code> from the old to new radius.</li>
</ul>
<h2>[12.42.1] 2026-06-30</h2>
<h3>Fixed</h3>
<ul>
<li><code>animateView</code>: Old layer fade out now cancelled when
defining <code>.new()</code>.</li>
</ul>
<h2>[12.42.0] 2026-06-24</h2>
<h3>Changed</h3>
<ul>
<li><code>animateView</code>: Layers are automatically grouped to match
their DOM-hierarchy. New <code>.group(false)</code> method
opts-out.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>animateView</code>: Auto-crop is now aspect-ratio aware,
disabling crops for matching aspect-ratios.</li>
<li><code>animateView</code>: Disabled automatic
<code>border-radius</code> animation.</li>
</ul>
<h2>[12.41.0] 2026-06-23</h2>
<h3>Added</h3>
<ul>
<li><code>animateView</code>: Moves from Motion+ Early Access and alpha
to main library.</li>
<li><code>animateView</code>: <code>.add()</code> resolves a CSS
selector or <code>Element</code> to automatically generate, apply and
remove <code>view-transition-name</code>.</li>
<li><code>animateView</code>: <code>.new()</code> and
<code>.old()</code> configures values to animate on new and old
layers.</li>
<li><code>animateView</code>: <code>.layout()</code> can set a custom
transition on the size/position animation of the currently selected
elements.</li>
<li><code>animateView</code>: Group layers now automatically crop with
children set to <code>cover</code>, with <code>border-radius</code>
animating from old radius to new. <code>.crop(false)</code> disables
this behaviour.</li>
<li><code>animateView</code>: <code>.class(name)</code> tags currently
selected elements with a <code>view-transition-class</code> as a custom
CSS hook.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>AnimatePresence</code>: Prevent stuck exit animations when
children interrupt.</li>
<li><code>drag</code>: Child <code>e.stopPropagation()</code> no longer
break drag end.</li>
<li>Fixing Next.js OOM on Windows when importing via <code>motion</code>
package.</li>
<li><code>animateLayout</code>: Improve handling of parallel/interleaved
calls.</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>animateView</code>: <code>.enter()</code> and
<code>.exit()</code> now refer specifically to <code>new</code> and
<code>old</code> layers where there are no matching <code>old</code> or
<code>new</code> layers.</li>
<li><code>animateView</code>: Interrupted transition setups now return
resolved animation rather than throwing.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/motiondivision/motion/commit/40e8756c63b258c9dd07de9501cb788410eefb02"><code>40e8756</code></a>
v12.42.2</li>
<li><a
href="https://github.com/motiondivision/motion/commit/718ccc7d4e8d17dddb36e73198b730fac57267c4"><code>718ccc7</code></a>
Merge pull request <a
href="https://redirect.github.com/motiondivision/motion/issues/3768">#3768</a>
from motiondivision/view-cropped-corner-radius</li>
<li><a
href="https://github.com/motiondivision/motion/commit/19195a4bfc77389afb9cfd06bb2fb9eaeb798e8f"><code>19195a4</code></a>
Dedupe corner-radius longhands; merge crop box/radii measurements</li>
<li><a
href="https://github.com/motiondivision/motion/commit/5299aa65a2428c55728d28b68c0d3242052d8b7a"><code>5299aa6</code></a>
Resolve cropped-clip radius timing once; fix transition-option leak</li>
<li><a
href="https://github.com/motiondivision/motion/commit/937cdf396c29fa2826ba0836c1e6f1a1466e5064"><code>937cdf3</code></a>
Animate cropped view-transition group corner radius</li>
<li><a
href="https://github.com/motiondivision/motion/commit/fd2d6f66d1cffcfeb2e2e0d9e39dc54796025db2"><code>fd2d6f6</code></a>
v12.42.1</li>
<li><a
href="https://github.com/motiondivision/motion/commit/2223d873d8c78bab03301e5d9e3272c6d76907e6"><code>2223d87</code></a>
Hold the old layer when only a non-opacity .new() is set</li>
<li><a
href="https://github.com/motiondivision/motion/commit/9c841455973b280c7989befd6dc918da0246a7fa"><code>9c84145</code></a>
v12.42.0</li>
<li><a
href="https://github.com/motiondivision/motion/commit/60d7c72bc3d8052e2453424542d102467f3ed2fc"><code>60d7c72</code></a>
Add view-transition group nesting and aspect-aware cropping</li>
<li><a
href="https://github.com/motiondivision/motion/commit/6437276caa543467a3bc407514ad0a4f842c37e0"><code>6437276</code></a>
Updating</li>
<li>Additional commits viewable in <a
href="https://github.com/motiondivision/motion/compare/v12.40.0...v12.42.2">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-08-01 11:22:31 +00:00
committed by GitHub
parent 6abd926807
commit 4fc605abe6
2 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -88,7 +88,7 @@
"lodash": "4.18.1",
"lucide-react": "0.555.0",
"monaco-editor": "0.55.1",
"motion": "12.40.0",
"motion": "12.42.2",
"pretty-bytes": "6.1.1",
"radix-ui": "1.4.3",
"react": "19.2.8",
+13 -13
View File
@@ -186,8 +186,8 @@ importers:
specifier: 0.55.1
version: 0.55.1
motion:
specifier: 12.40.0
version: 12.40.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
specifier: 12.42.2
version: 12.42.2(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
pretty-bytes:
specifier: 6.1.1
version: 6.1.1
@@ -4023,8 +4023,8 @@ packages:
fraction.js@5.3.4:
resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==, tarball: https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz}
framer-motion@12.40.0:
resolution: {integrity: sha512-uaBd3qC1v3KQqBEjwTUd183K6PbS+j0yR9w9VmEOLWA/tnUcSn8Xa3uck7t4dgpDoUss8xQTcj8W2L07lrnLFg==, tarball: https://registry.npmjs.org/framer-motion/-/framer-motion-12.40.0.tgz}
framer-motion@12.43.0:
resolution: {integrity: sha512-1eaL3RvR/kAlbG7UYcpMptEyzPoENO0c6w7ZnB3/hh2vSAz/6uGAFn6fdoqTBguNstf3MsFhJHsD/0DHiclG+g==, tarball: https://registry.npmjs.org/framer-motion/-/framer-motion-12.43.0.tgz}
peerDependencies:
'@emotion/is-prop-valid': '*'
react: ^18.0.0 || ^19.0.0
@@ -4909,14 +4909,14 @@ packages:
moo-color@1.0.3:
resolution: {integrity: sha512-i/+ZKXMDf6aqYtBhuOcej71YSlbjT3wCO/4H1j8rPvxDJEifdwgg5MaFyu6iYAT8GBZJg2z0dkgK4YMzvURALQ==, tarball: https://registry.npmjs.org/moo-color/-/moo-color-1.0.3.tgz}
motion-dom@12.40.0:
resolution: {integrity: sha512-HxU3ZaBwNPVQUBQf1xxgq+7JrPNZvjLVxgbpEZL7RrWJnsxOf0/OM+yrHG9ogLQ31Do/r57Oz2gQWPK+6q62mg==, tarball: https://registry.npmjs.org/motion-dom/-/motion-dom-12.40.0.tgz}
motion-dom@12.43.0:
resolution: {integrity: sha512-azKON4d9S65PEoFUiQTMTgPheEmzf2QngdRc50AKfJp9Q9mmcBVw22c8eMq9k8kxOFHdL7+WZY7N/5F/lwiDag==, tarball: https://registry.npmjs.org/motion-dom/-/motion-dom-12.43.0.tgz}
motion-utils@12.39.0:
resolution: {integrity: sha512-8nadJAJjTtqRkmRF36FoJTrywK9nnFmnPwnSMyxaOCU7GDjN9RTMJIxx9De8ErM+vpPhMccr/6fo5WciyQLnMQ==, tarball: https://registry.npmjs.org/motion-utils/-/motion-utils-12.39.0.tgz}
motion@12.40.0:
resolution: {integrity: sha512-yjrHUrBFW6kQvjJwRsoiPSAhC5tRwRqNGJWmiJ4CrGnbKp0V88AdzkhBmDoqIsIPfarOe0Uddd37Xq43/gIocA==, tarball: https://registry.npmjs.org/motion/-/motion-12.40.0.tgz}
motion@12.42.2:
resolution: {integrity: sha512-Atvv11yUKIid41cVrRBDVX5m8tF8kNpExRSlbpt6APClhDjtwQssgFHhQzejxw7/7YYbjHSPKBVbHo05BuJT5Q==, tarball: https://registry.npmjs.org/motion/-/motion-12.42.2.tgz}
peerDependencies:
'@emotion/is-prop-valid': '*'
react: ^18.0.0 || ^19.0.0
@@ -10286,9 +10286,9 @@ snapshots:
fraction.js@5.3.4: {}
framer-motion@12.40.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
framer-motion@12.43.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
dependencies:
motion-dom: 12.40.0
motion-dom: 12.43.0
motion-utils: 12.39.0
tslib: 2.8.1
optionalDependencies:
@@ -11403,15 +11403,15 @@ snapshots:
dependencies:
color-name: 1.1.4
motion-dom@12.40.0:
motion-dom@12.43.0:
dependencies:
motion-utils: 12.39.0
motion-utils@12.39.0: {}
motion@12.40.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
motion@12.42.2(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8):
dependencies:
framer-motion: 12.40.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
framer-motion: 12.43.0(@emotion/is-prop-valid@1.4.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
tslib: 2.8.1
optionalDependencies:
'@emotion/is-prop-valid': 1.4.0