Expose motion ref type#78
Conversation
|
@QDyanbing is attempting to deploy a commit to the React Component Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #78 +/- ##
=======================================
Coverage 98.09% 98.09%
=======================================
Files 11 11
Lines 421 421
Branches 120 119 -1
=======================================
Hits 413 413
Misses 7 7
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review
This pull request updates the @rc-component/util dependency and adds CSSMotionRef to the library's public exports. The reviewer suggested also importing and exporting the MotionName type to further complete the public API and improve usability for downstream consumers.
| import type { | ||
| CSSMotionConfig, | ||
| CSSMotionProps, | ||
| CSSMotionRef, | ||
| } from './CSSMotion'; |
There was a problem hiding this comment.
| export type { | ||
| CSSMotionConfig, | ||
| CSSMotionProps, | ||
| CSSMotionRef, |
变更内容
@rc-component/util到当前 latest^1.11.1。CSSMotionRef类型,方便下游从包根入口使用公开 API。背景
配合 rc 包统一避免依赖其他 rc 包的
es/lib构建产物内部路径,缺失的类型从包根入口补齐导出。验证
git diff --checknpm run compile、npm run lint、npm test。