Skip to content

feat: remove animations dependency #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2025
Merged

feat: remove animations dependency #531

merged 2 commits into from
Jun 8, 2025

Conversation

timdeschryver
Copy link
Member

@timdeschryver timdeschryver commented Jun 7, 2025

Closes #525

Angular recommends using css animations, https://angular.dev/guide/animations/migration

BREAKING CHANGE

Because of the removal of the animations dependency, the NoopAnimationsModule is no longer automatically imported in the render function.

BEFORE:

The NoopAnimationsModule is always imported to the render the component.

AFTER:

Import the NoopAnimationsModule in your render configuration where needed:

 await render(SutComponent, {
    imports: [NoopAnimationsModule],
});

BREAKING CHANGE

Because of the removal of the animations dependency, the NoopAnimationsModule is no longer automatically imported in the render.

BEFORE:

The NoopAnimationsModule was always imported to the render.

AFTER:

Import the NoopAnimationsModule where needed, or configure the default imports using configure:

`	s
configure({
  defaultImports: [NoopAnimationsModule],
});
`
@timdeschryver timdeschryver merged commit 59f73ae into beta Jun 8, 2025
6 checks passed
@timdeschryver timdeschryver deleted the remove-animations branch June 8, 2025 17:39
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.

1 participant