diff --git a/.changeset/famous-ghosts-roll.md b/.changeset/famous-ghosts-roll.md deleted file mode 100644 index 3da89ca103..0000000000 --- a/.changeset/famous-ghosts-roll.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@emotion/cache': patch -'@emotion/css': patch -'@emotion/react': patch ---- - -Fixed an edge case issue with incorrect rules being generated. When a context selector (`&`) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector. diff --git a/.changeset/hip-cherries-arrive.md b/.changeset/hip-cherries-arrive.md deleted file mode 100644 index 3ba5e2b7f2..0000000000 --- a/.changeset/hip-cherries-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/react': patch ---- - -Fix error loading @emotion/react in alternative JS environments diff --git a/.changeset/itchy-waves-beg.md b/.changeset/itchy-waves-beg.md deleted file mode 100644 index 9404417e45..0000000000 --- a/.changeset/itchy-waves-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/cache': patch ---- - -Improved the declared types related to Stylis. This should improve the compatibility with the types published in `@types/stylis`. diff --git a/.changeset/nasty-gorillas-notice.md b/.changeset/nasty-gorillas-notice.md deleted file mode 100644 index 6b6fe1deeb..0000000000 --- a/.changeset/nasty-gorillas-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/sheet': patch ---- - -Fixed an issue with `sheet.flush()` crashing if its style elements were already detached by something else. diff --git a/.changeset/ninety-bugs-tie.md b/.changeset/ninety-bugs-tie.md deleted file mode 100644 index 01ace0a700..0000000000 --- a/.changeset/ninety-bugs-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/jest': minor ---- - -Support typings for Jest v27 diff --git a/.changeset/sweet-planes-begin.md b/.changeset/sweet-planes-begin.md deleted file mode 100644 index 8161c19534..0000000000 --- a/.changeset/sweet-planes-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@emotion/jest": patch ---- - -Add `RegExp` as a valid type for the `target` option accepted by `toHaveStyleRule`. diff --git a/.changeset/sweet-plums-behave.md b/.changeset/sweet-plums-behave.md deleted file mode 100644 index 0f3780900b..0000000000 --- a/.changeset/sweet-plums-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/eslint-plugin': patch ---- - -implement automatic adding of jsxImportSource pragma definition diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 55e25b280c..92eddac028 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -1,5 +1,16 @@ # @emotion/cache +## 11.5.0 + +### Patch Changes + +- [#2498](https://github.com/emotion-js/emotion/pull/2498) [`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an edge case issue with incorrect rules being generated. When a context selector (`&`) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector. + +* [#2493](https://github.com/emotion-js/emotion/pull/2493) [`9ae4a91a`](https://github.com/emotion-js/emotion/commit/9ae4a91a08a6f7c5ca26a585f1c271a179db4623) Thanks [@Andarist](https://github.com/Andarist)! - Improved the declared types related to Stylis. This should improve the compatibility with the types published in `@types/stylis`. + +* Updated dependencies [[`f2eda829`](https://github.com/emotion-js/emotion/commit/f2eda8295429dd1892a06cbc9496321f2a55c10a)]: + - @emotion/sheet@1.0.3 + ## 11.4.0 ### Patch Changes diff --git a/packages/cache/package.json b/packages/cache/package.json index f29734c00b..1e851faee2 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/cache", - "version": "11.4.0", + "version": "11.5.0", "description": "emotion's cache", "main": "dist/emotion-cache.cjs.js", "module": "dist/emotion-cache.esm.js", @@ -16,7 +16,7 @@ }, "dependencies": { "@emotion/memoize": "^0.7.4", - "@emotion/sheet": "^1.0.0", + "@emotion/sheet": "^1.0.3", "@emotion/utils": "^1.0.0", "@emotion/weak-memoize": "^0.2.5", "stylis": "^4.0.10" diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index d300513252..76696b8ccd 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,15 @@ # emotion +## 11.5.0 + +### Patch Changes + +- [#2498](https://github.com/emotion-js/emotion/pull/2498) [`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an edge case issue with incorrect rules being generated. When a context selector (`&`) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector. + +- Updated dependencies [[`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43), [`9ae4a91a`](https://github.com/emotion-js/emotion/commit/9ae4a91a08a6f7c5ca26a585f1c271a179db4623), [`f2eda829`](https://github.com/emotion-js/emotion/commit/f2eda8295429dd1892a06cbc9496321f2a55c10a)]: + - @emotion/cache@11.5.0 + - @emotion/sheet@1.0.3 + ## 11.1.3 ### Patch Changes diff --git a/packages/css/package.json b/packages/css/package.json index b5ba665d98..5985321dd5 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/css", - "version": "11.1.3", + "version": "11.5.0", "description": "The Next Generation of CSS-in-JS.", "main": "dist/emotion-css.cjs.js", "module": "dist/emotion-css.esm.js", @@ -19,9 +19,9 @@ }, "dependencies": { "@emotion/babel-plugin": "^11.0.0", - "@emotion/cache": "^11.1.3", + "@emotion/cache": "^11.5.0", "@emotion/serialize": "^1.0.0", - "@emotion/sheet": "^1.0.0", + "@emotion/sheet": "^1.0.3", "@emotion/utils": "^1.0.0" }, "peerDependencies": { diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index cb4ebcf723..0c58caf04e 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/eslint-plugin +## 11.5.0 + +### Patch Changes + +- [#2353](https://github.com/emotion-js/emotion/pull/2353) [`d7d768e0`](https://github.com/emotion-js/emotion/commit/d7d768e056e6cd7a10c2de6ecb2b564e6444dac3) Thanks [@iChenLei](https://github.com/iChenLei)! - implement automatic adding of jsxImportSource pragma definition + ## 11.2.0 ### Patch Changes diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 7f4416d334..8b1f1ef998 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/eslint-plugin", - "version": "11.2.0", + "version": "11.5.0", "description": "ESLint rules for emotion", "scripts": { "test:typescript": "exit 0" diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index 951f234aad..dc59ad14ed 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -1,5 +1,15 @@ # @emotion/jest +## 11.5.0 + +### Minor Changes + +- [#2456](https://github.com/emotion-js/emotion/pull/2456) [`500cdd82`](https://github.com/emotion-js/emotion/commit/500cdd828b65ad4b778c8a1459094b099d50f08a) Thanks [@billyjanitsch](https://github.com/billyjanitsch)! - Support typings for Jest v27 + +### Patch Changes + +- [#2457](https://github.com/emotion-js/emotion/pull/2457) [`218e4f78`](https://github.com/emotion-js/emotion/commit/218e4f78ca03b36cd8ed595bc1a93892b9783eda) Thanks [@jcleefw](https://github.com/jcleefw)! - Add `RegExp` as a valid type for the `target` option accepted by `toHaveStyleRule`. + ## 11.3.0 ### Patch Changes diff --git a/packages/jest/package.json b/packages/jest/package.json index d06f538cca..92d1a9104b 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/jest", - "version": "11.3.0", + "version": "11.5.0", "description": "Jest utilities for emotion", "main": "dist/emotion-jest.cjs.js", "module": "dist/emotion-jest.esm.js", @@ -36,8 +36,8 @@ } }, "devDependencies": { - "@emotion/css": "11.1.3", - "@emotion/react": "11.4.1", + "@emotion/css": "11.5.0", + "@emotion/react": "11.5.0", "@types/jest": "^26.0.14", "dtslint": "^0.3.0", "enzyme-to-json": "^3.6.1", diff --git a/packages/primitives-core/package.json b/packages/primitives-core/package.json index 4a7c245a87..634aed768c 100644 --- a/packages/primitives-core/package.json +++ b/packages/primitives-core/package.json @@ -20,7 +20,7 @@ "react": ">=16.8.0" }, "devDependencies": { - "@emotion/react": "11.4.1", + "@emotion/react": "11.5.0", "react": "16.14.0" }, "homepage": "https://emotion.sh", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index d5f5ba2a3e..944f0ac8b0 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,17 @@ # @emotion/react +## 11.5.0 + +### Patch Changes + +- [#2498](https://github.com/emotion-js/emotion/pull/2498) [`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an edge case issue with incorrect rules being generated. When a context selector (`&`) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector. + +* [#2500](https://github.com/emotion-js/emotion/pull/2500) [`eda5e687`](https://github.com/emotion-js/emotion/commit/eda5e687c0bc4eddcafb243a2b1028296fb45cba) Thanks [@Jarred-Sumner](https://github.com/Jarred-Sumner)! - Fix error loading @emotion/react in alternative JS environments + +* Updated dependencies [[`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43), [`9ae4a91a`](https://github.com/emotion-js/emotion/commit/9ae4a91a08a6f7c5ca26a585f1c271a179db4623), [`f2eda829`](https://github.com/emotion-js/emotion/commit/f2eda8295429dd1892a06cbc9496321f2a55c10a)]: + - @emotion/cache@11.5.0 + - @emotion/sheet@1.0.3 + ## 11.4.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 7f536f927f..abfccac2a0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/react", - "version": "11.4.1", + "version": "11.5.0", "main": "dist/emotion-react.cjs.js", "module": "dist/emotion-react.esm.js", "browser": { @@ -27,9 +27,9 @@ }, "dependencies": { "@babel/runtime": "^7.13.10", - "@emotion/cache": "^11.4.0", + "@emotion/cache": "^11.5.0", "@emotion/serialize": "^1.0.2", - "@emotion/sheet": "^1.0.2", + "@emotion/sheet": "^1.0.3", "@emotion/utils": "^1.0.0", "@emotion/weak-memoize": "^0.2.5", "hoist-non-react-statics": "^3.3.1" @@ -48,7 +48,7 @@ }, "devDependencies": { "@babel/core": "^7.13.10", - "@emotion/css": "11.1.3", + "@emotion/css": "11.5.0", "@emotion/css-prettifier": "1.0.0", "@emotion/server": "11.4.0", "@emotion/styled": "11.3.0", diff --git a/packages/server/package.json b/packages/server/package.json index fdb6ec6d76..4f124c88d2 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@emotion/babel-plugin": "11.3.0", - "@emotion/css": "11.1.3", + "@emotion/css": "11.5.0", "@emotion/css-prettifier": "1.0.0", "@types/node": "^10.11.4", "dtslint": "^0.3.0" diff --git a/packages/sheet/CHANGELOG.md b/packages/sheet/CHANGELOG.md index af8a8a8020..54554728b7 100644 --- a/packages/sheet/CHANGELOG.md +++ b/packages/sheet/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/sheet +## 1.0.3 + +### Patch Changes + +- [#2447](https://github.com/emotion-js/emotion/pull/2447) [`f2eda829`](https://github.com/emotion-js/emotion/commit/f2eda8295429dd1892a06cbc9496321f2a55c10a) Thanks [@mdesantis](https://github.com/mdesantis)! - Fixed an issue with `sheet.flush()` crashing if its style elements were already detached by something else. + ## 1.0.2 ### Patch Changes diff --git a/packages/sheet/package.json b/packages/sheet/package.json index 802e22fe93..d761900102 100644 --- a/packages/sheet/package.json +++ b/packages/sheet/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/sheet", - "version": "1.0.2", + "version": "1.0.3", "description": "emotion's stylesheet", "main": "dist/emotion-sheet.cjs.js", "module": "dist/emotion-sheet.esm.js", diff --git a/packages/styled/package.json b/packages/styled/package.json index 74ef178370..d92a5cb55e 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@babel/core": "^7.13.10", - "@emotion/react": "11.4.1", + "@emotion/react": "11.5.0", "dtslint": "^0.3.0", "react": "16.14.0" },