Skip to content

components(fix): accept motion 13 in the five motion components - #617

Merged
Ducksss merged 1 commit into
mainfrom
claude/motion-12-or-13
Oct 10, 2026
Merged

Ducksss merged 1 commit into
mainfrom
claude/motion-12-or-13

Conversation

@Ducksss

@Ducksss Ducksss commented Oct 10, 2026

Copy link
Copy Markdown
Owner

What

The five motion components (hero-aurora, hero-kinetic, hero-video, integration-marquee and logo-cloud-marquee) now declare motion: "^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 add kept installing 12. Direct shadcn add installs already get 13, because registry.json lists plain motion. This lines all three up.

Is motion 13 safe here?

  • Breaking changes in 13.0–13.5: the only one drops the optional @emotion/is-prop-valid prop filter. These components never use isValidProp, MotionConfig or custom-prop filtering. The other removals (a MotionValue.set() third argument, ScrollTimeline internals) don't touch them.
  • APIs used (from motion/react): motion, animate, useInView, useMotionValue, useReducedMotion, useSpring, useTransform, useScroll. None changed in 13. In 13.5, hero-kinetic's useScroll offsets run on the main thread, a performance-only change.
  • ci(deps-dev): bump motion from 12.43.0 to 14.0.0 #611's CI rendered all five on motion 13.5 with every check green, including the component and template visual specs.
  • The range string: npm view and pnpm view both resolve motion@^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:registry exits 0.
  • pnpm run test:int passes 834 with 1 skipped. That includes the consumer fixture that already declares motion: ^12.0.0, which the widened range still accepts without reinstalling.
  • Prettier is clean.

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

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]>
@vercel

vercel Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
payload-components Ready Ready Preview Oct 10, 2026 4:37pm UTC

Copilot AI balanced review requested due to automatic review settings October 10, 2026 16:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: Ducksss/payload-components/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 96b49ea9-137c-4756-a380-bbd27db405c7

📥 Commits

Reviewing files that changed from the base of the PR and between fe8e295 and 155d817.


📒 Files selected for processing (5)
  • payload-components/manifests/hero-aurora.json
  • payload-components/manifests/hero-kinetic.json
  • payload-components/manifests/hero-video.json
  • payload-components/manifests/integration-marquee.json
  • payload-components/manifests/logo-cloud-marquee.json

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Ducksss
Ducksss merged commit 6d6f878 into main Oct 10, 2026
17 checks passed
@Ducksss
Ducksss deleted the claude/motion-12-or-13 branch October 10, 2026 17:01
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]>
@Ducksss Ducksss mentioned this pull request Oct 29, 2026

This branch was successfully deployed

1 active deployment
Preview — 155d817a Deployed Oct 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants