Anber / wyw-in-js

MIT License
191 stars 8 forks source link

feat(transform): scoped keyframes #51

Closed Anber closed 4 months ago

Anber commented 4 months ago

Motivation

Originally in Linaria, keyframes were scoped. This behaviour was broken during migration to Stylis@4.

Summary

The old behaviour has been restored. Also, support for the :global selector in keyframes has been added.

Test plan

A few new tests were added.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 997018091a8febd2ca0f5239e397781399106bcd

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR