Skip to content

Conversation

@titouanmathis
Copy link
Contributor

πŸ”— Linked issue

Fixes #441

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

  • 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

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.
  • I have updated the changelog.

- 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
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 52.32%. Comparing base (c2db39b) to head (f925170).

❗ There is a different number of reports uploaded between BASE (c2db39b) and HEAD (f925170). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (c2db39b) HEAD (f925170)
unittests 5 4
Additional details and impacted files
@@              Coverage Diff               @@
##             develop     #494       +/-   ##
==============================================
- Coverage      70.81%   52.32%   -18.49%     
  Complexity        20       20               
==============================================
  Files             74        4       -70     
  Lines           1850       86     -1764     
  Branches         332        0      -332     
==============================================
- Hits            1310       45     -1265     
+ Misses           477       41      -436     
+ Partials          63        0       -63     
Flag Coverage Ξ”
unittests 52.32% <ΓΈ> (-18.49%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

Export Size

@studiometa/ui

Name Size Diff
ScrollAnimationTimeline 3.82 kB +3.82 kB (+100.00%) πŸ”Ί
ScrollAnimationTarget 3.75 kB +3.75 kB (+100.00%) πŸ”Ί
animationScrollWithEase 763 B +115 B (+17.75%) πŸ”Ί
ScrollAnimationWithEase 4.28 kB +124 B (+2.98%) πŸ”Ί
ScrollAnimationChildWithEase 4.41 kB +111 B (+2.58%) πŸ”Ί
ScrollAnimationParent 3.88 kB +76 B (+2.00%) πŸ”Ί
ScrollAnimation 3.69 kB +72 B (+1.99%) πŸ”Ί
ScrollAnimationChild 3.81 kB +61 B (+1.63%) πŸ”Ί
Unchanged

@studiometa/ui

Name Size Diff
AbstractFrameTrigger 1.74 kB -
AbstractPrefetch 366 B -
AbstractScrollAnimation 3.56 kB -
AbstractSliderChild 600 B -
Accordion 1.77 kB -
AccordionItem 1.75 kB -
Action 1.11 kB -
AnchorNav 3.85 kB -
AnchorNavLink 3.74 kB -
AnchorNavTarget 125 B -
AnchorScrollTo 2.53 kB -
CircularMarquee 550 B -
Cursor 650 B -
DataBind 697 B -
DataComputed 856 B -
DataEffect 837 B -
DataModel 780 B -
Draggable 1.64 kB -
Fetch 2.34 kB -
Figure 1.72 kB -
FigureShopify 1.98 kB -
FigureTwicpics 2.26 kB -
FigureVideo 1.87 kB -
FigureVideoTwicpics 2.44 kB -
Frame 3.47 kB -
FrameAnchor 1.84 kB -
FrameForm 1.92 kB -
FrameLoader 1.45 kB -
FrameTarget 1.75 kB -
FrameTriggerLoader 1.46 kB -
Hoverable 953 B -
LargeText 713 B -
LazyInclude 322 B -
Menu 2.33 kB -
MenuBtn 140 B -
MenuList 1.9 kB -
Modal 1.99 kB -
ModalWithTransition 2.09 kB -
Panel 2.38 kB -
PrefetchWhenOver 408 B -
PrefetchWhenVisible 417 B -
ScrollReveal 1.63 kB -
Sentinel 129 B -
Slider 2.3 kB -
SliderBtn 817 B -
SliderCount 650 B -
SliderDots 1.86 kB -
SliderDrag 269 B -
SliderItem 998 B -
SliderProgress 961 B -
Sticky 771 B -
Tabs 1.38 kB -
Target 86 B -
Transition 1.41 kB -
withDeprecation 166 B -
withTransition 1.39 kB -

titouanmathis and others added 4 commits January 12, 2026 21:00
- 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>
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.

[ScrollAnimation] Refactor exported components

2 participants