-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: upgrade stylis to v4 Update stylis in both the babel and atomic packages, along with their respective test snapshots. The babel snapshots updated in an innocuous way: the newer stylis includes a space where it didn't previously. The atomic snapshots updated in a way where something that was previously broken one way (`200;px`) is broken in a different way (`200 px`). Not a regression, so no reason to fix as part of this change. BREAKING CHANGE: stylis v4 handles nested pseudo-classes differently from v3. The old version joined `.x { :is(.y) }` to `.x:is(.y)` whereas the new version separates them `.x :is(.y)`. The new behavior matches how SCSS and other preprocessors work. Linaria consumers will need to check and possibly update their styles for the new behavior. * chore: changeset for #1373 --------- Co-authored-by: Anton Evzhakov <anton@evz.name>
- Loading branch information
Showing
7 changed files
with
196 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@linaria/atomic': patch | ||
'@linaria/babel-preset': patch | ||
'@linaria/testkit': patch | ||
--- | ||
|
||
Stylis has been upgraded from v3 to v4. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.