Skip to content

Conversation

@f-elix
Copy link
Contributor

@f-elix f-elix commented Feb 25, 2025

Update to Svelte 5 and Motion 12.

@f-elix f-elix changed the title Animations Animations and page transition Feb 25, 2025
@f-elix f-elix requested a review from nitriques March 3, 2025 22:35
@f-elix f-elix marked this pull request as ready for review March 3, 2025 22:35
onDestroy(unsubscribe);
return transitioning;
};
}) as ArchitectInstance['start'];
Copy link
Member

Choose a reason for hiding this comment

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

Consider statisfies instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried but ts complains that the ...args type is not good. Its a pretty complex type but since I'm just passing the args to registerTransition directly I figured it wouldn't matter much that I cast it.

* Easing of the animation. DEFAULT: 'linear'
*/
easing?: Easing;
ease?: Easing;
Copy link
Member

Choose a reason for hiding this comment

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

Please mark easing as deprecated

@nitriques nitriques changed the title Animations and page transition Svelte 5 - Animations and page transition Mar 13, 2025
@f-elix f-elix requested a review from nitriques March 13, 2025 15:23
@f-elix f-elix requested review from patrickM288 and vsylvestre May 6, 2025 14:49
@nitriques nitriques removed the request for review from vsylvestre December 11, 2025 15:19
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.

3 participants