[Feature] Refactor ScrollAnimation exports#494
Merged
titouanmathis merged 42 commits intodevelopfrom Jan 28, 2026
Merged
Conversation
- Add ScrollAnimationTimeline (new name for ScrollAnimationParent) - Add ScrollAnimationTarget (new name for ScrollAnimationChild) - Deprecate ScrollAnimation, ScrollAnimationWithEase, ScrollAnimationChild, ScrollAnimationChildWithEase, ScrollAnimationParent and animationScrollWithEase - Add tests for the new components Fixes #441 Co-authored-by: Claude <claude@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #494 +/- ##
=============================================
- Coverage 70.81% 67.82% -2.99%
Complexity 20 20
=============================================
Files 74 77 +3
Lines 1850 1989 +139
Branches 332 357 +25
=============================================
+ Hits 1310 1349 +39
- Misses 477 558 +81
- Partials 63 82 +19
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Export Size@studiometa/ui
Unchanged@studiometa/ui
|
- Add documentation for ScrollAnimationTimeline and ScrollAnimationTarget - Update examples to use new component names - Add deprecation notices for old components - Update changelog with PR reference Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
6d1b472 to
82bba35
Compare
- Move ScrollAnimationTimeline to the top as the recommended API - Add clear separation between Timeline and Target components - Document all options under ScrollAnimationTarget section - Move deprecated ScrollAnimation to the bottom with warning - Update all code examples to use the new Timeline/Target pattern
Document all breaking changes for ScrollAnimation components: - ScrollAnimation → ScrollAnimationTimeline + ScrollAnimationTarget - ScrollAnimationParent → ScrollAnimationTimeline - ScrollAnimationChild → ScrollAnimationTarget - ScrollAnimationChildWithEase → ScrollAnimationTarget with dampFactor - ScrollAnimationWithEase → ScrollAnimationTimeline + ScrollAnimationTarget - animationScrollWithEase decorator removed
bf0aa2f to
befc0d4
Compare
Add a custom Vite plugin that serves the public/play directory using sirv middleware. This prevents VitePress from intercepting requests to /play/* and rendering them as pages instead of serving the static files.
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
The decorator adds debug capabilities to ScrollAnimationTimeline. It is exported separately to allow tree-shaking from production bundles. Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
- Reorganize examples with simple option examples first - Add scroll indicators to all examples - Add debug and offset examples Co-authored-by: Claude <claude@anthropic.com>
- Add debug option documentation - Add offset option documentation - Add withScrollAnimationDebug decorator documentation Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
- Separate each offset example into its own playground - Add plain English explanations for each offset value - Explain the offset format and its components Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@anthropic.com>
9670b5a to
47f1606
Compare
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.
🔗 Linked issue
Fixes #441
❓ Type of change
📚 Description
📝 Checklist