Skip to content
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

fix(core): bump stylis for proper @layer support in makeResetStyles #374

Merged
merged 1 commit into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: bump stylis",
"packageName": "@griffel/babel-preset",
"email": "olfedias@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: bump stylis for proper @layer support",
"packageName": "@griffel/core",
"email": "olfedias@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: bump stylis",
"packageName": "@griffel/webpack-extraction-plugin",
"email": "olfedias@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"enhanced-resolve": "^5.8.2",
"rtl-css-js": "^1.16.1",
"source-map-js": "1.0.2",
"stylis": "^4.0.13",
"stylis": "^4.2.0",
"tslib": "^2.1.0"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@linaria/babel-preset": "^3.0.0-beta.23",
"@linaria/shaker": "^3.0.0-beta.22",
"ajv": "^8.4.0",
"stylis": "^4.0.13",
"stylis": "^4.2.0",
"tslib": "^2.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@emotion/hash": "^0.9.0",
"csstype": "^3.1.2",
"rtl-css-js": "^1.16.1",
"stylis": "^4.0.13",
"stylis": "^4.2.0",
"tslib": "^2.1.0"
}
}
6 changes: 4 additions & 2 deletions packages/core/src/runtime/resolveResetStyleRules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ describe('resolveResetStyleRules', () => {

expect(result).toMatchInlineSnapshot(`
@layer utilities {
color: orange;
:focus {
.rvhnavh {
color: orange;
}
.rvhnavh:focus {
color: yellow;
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-extraction-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@babel/helper-module-imports": "^7.12.13",
"@babel/helper-plugin-utils": "^7.12.13",
"@griffel/core": "^1.11.0",
"stylis": "^4.0.13",
"stylis": "^4.2.0",
"tslib": "^2.1.0"
},
"peerDependencies": {
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14267,7 +14267,7 @@ __metadata:
simple-git-hooks: 2.7.0
source-map-js: 1.0.2
styled-components: ^5.3.6
stylis: ^4.0.13
stylis: ^4.2.0
syncpack: 8.5.14
tmp: 0.2.1
ts-jest: 28.0.8
Expand Down Expand Up @@ -23617,6 +23617,13 @@ __metadata:
languageName: node
linkType: hard

"stylis@npm:^4.2.0":
version: 4.2.0
resolution: "stylis@npm:4.2.0"
checksum: 0eb6cc1b866dc17a6037d0a82ac7fa877eba6a757443e79e7c4f35bacedbf6421fadcab4363b39667b43355cbaaa570a3cde850f776498e5450f32ed2f9b7584
languageName: node
linkType: hard

"stylus-loader@npm:^7.1.0":
version: 7.1.0
resolution: "stylus-loader@npm:7.1.0"
Expand Down