Repository navigation
components(fix): accept motion 13 in the five motion components - #617
Merged
Merged
Conversation
hero-aurora, hero-kinetic, hero-video, integration-marquee and logo-cloud-marquee pinned `motion: ^12.0.0`, so `payload-components add` installed motion 12 even though direct shadcn installs, whose registry lists plain `motion`, already get 13. Widen the range to `^12.0.0 || ^13.0.0`. Motion 13's only breaking change drops the optional @emotion/is-prop-valid prop filter, which these components never relied on. The APIs they use from motion/react (motion, animate, useInView, useMotionValue, useReducedMotion, useSpring, useTransform, useScroll) are unchanged. 13.5 only moves useScroll offsets onto the main thread. Dependabot's #611, which moves the site to motion 13.5, already rendered all five green, including the visual specs. Manifest-only change, so no version bump, as with the #601 range sweep. Existing installs keep working and need no update. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Ducksss
added a commit
that referenced
this pull request
Oct 11, 2026
#611 merged as motion 14.0.0. Dependabot updated the PR from 13.5 after #617 was written, so the site now runs motion 14 while the five motion components still declared `^12.0.0 || ^13.0.0`. Widen them to `^12.0.0 || ^13.0.0 || ^14.0.0` so `payload-components add` installs what the site renders and tests. Motion 14.0.0's only breaking change removes internal APIs that 13.5.1 had restored for framer-motion compatibility. The public motion/react APIs these components use are unchanged in 14.0 and 14.1. #611's CI passed on 14.0.0, and the full int suite here compiles the shipped source against it. Manifest-only, so no version bump, as with #601 and #617. Co-authored-by: Claude Opus 5.5 <[email protected]>
Merged
This branch was successfully deployed
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.
What
The five motion components (
hero-aurora,hero-kinetic,hero-video,integration-marqueeandlogo-cloud-marquee) now declaremotion: "^12.0.0 || ^13.0.0"instead of^12.0.0. Only the five manifests change.Why
Dependabot's #611 moves this site to motion 13.5. Without this PR, the site and its tests would run motion 13 while
payload-components addkept installing 12. Directshadcn addinstalls already get 13, becauseregistry.jsonlists plainmotion. This lines all three up.Is motion 13 safe here?
@emotion/is-prop-validprop filter. These components never useisValidProp,MotionConfigor custom-prop filtering. The other removals (aMotionValue.set()third argument,ScrollTimelineinternals) don't touch them.motion/react):motion,animate,useInView,useMotionValue,useReducedMotion,useSpring,useTransform,useScroll. None changed in 13. In 13.5,hero-kinetic'suseScrolloffsets run on the main thread, a performance-only change.npm viewandpnpm viewboth resolvemotion@^12.0.0 || ^13.0.0(to 13.5.1), and the CLI passes it as a single argv element with no shell.Verification
pnpm test:registryexits 0.pnpm run test:intpasses 834 with 1 skipped. That includes the consumer fixture that already declaresmotion: ^12.0.0, which the widened range still accepts without reinstalling.This is a manifest-only change, so there's no version bump, following #601's range sweep. Existing installs need no update.
Merge order: this PR first, then #611.
No issue closed.
🤖 Generated with Claude Code