Skip to content

Commit ed90c2e

Browse files
Version Packages (#2539)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3c902cf commit ed90c2e

19 files changed

+93
-76
lines changed

.changeset/flat-schools-crash.md

-5
This file was deleted.

.changeset/purple-tigers-breathe.md

-8
This file was deleted.

.changeset/seventy-balloons-build.md

-8
This file was deleted.

.changeset/silver-fireants-jump.md

-5
This file was deleted.

.changeset/sixty-balloons-build.md

-30
This file was deleted.

.changeset/strange-kids-change.md

-6
This file was deleted.

packages/cache/CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @emotion/cache
22

3+
## 11.6.0
4+
5+
### Minor Changes
6+
7+
- [#2521](https://github.com/emotion-js/emotion/pull/2521) [`516fe458`](https://github.com/emotion-js/emotion/commit/516fe458058c9ec8218740472b301e935801ebbc) Thanks [@mnajdova](https://github.com/mnajdova)! - Added `insertionPoint` option to the `createCache`. It can be used to insert rules after the specified element. For example, to use it with the `CacheProvider` from `@emotion/react` you can do this:
8+
9+
```jsx
10+
const head = document.querySelector('head')
11+
12+
// <meta name="emotion-insertion-point" content="">
13+
const emotionInsertionPoint = document.createElement('meta')
14+
emotionInsertionPoint.setAttribute('name', 'emotion-insertion-point')
15+
emotionInsertionPoint.setAttribute('content', '')
16+
17+
head.appendChild(emotionInsertionPoint)
18+
19+
// the emotion sheets should be inserted right after the meta tag
20+
const cache = createCache({
21+
key: 'my-app',
22+
insertionPoint: emotionInsertionPoint
23+
})
24+
25+
function App() {
26+
return (
27+
<CacheProvider value={cache}>
28+
<Main />
29+
</CacheProvider>
30+
)
31+
}
32+
```
33+
34+
### Patch Changes
35+
36+
- Updated dependencies [[`9e82a991`](https://github.com/emotion-js/emotion/commit/9e82a991624b18c20c46c5974e8a127c94a54711)]:
37+
- @emotion/sheet@1.1.0
38+
339
## 11.5.0
440

541
### Patch Changes

packages/cache/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/cache",
3-
"version": "11.5.0",
3+
"version": "11.6.0",
44
"description": "emotion's cache",
55
"main": "dist/emotion-cache.cjs.js",
66
"module": "dist/emotion-cache.esm.js",
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@emotion/memoize": "^0.7.4",
19-
"@emotion/sheet": "^1.0.3",
19+
"@emotion/sheet": "^1.1.0",
2020
"@emotion/utils": "^1.0.0",
2121
"@emotion/weak-memoize": "^0.2.5",
2222
"stylis": "^4.0.10"

packages/is-prop-valid/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @emotion/is-prop-valid
22

3+
## 1.1.1
4+
5+
### Patch Changes
6+
7+
- [#2540](https://github.com/emotion-js/emotion/pull/2540) [`9861a18b`](https://github.com/emotion-js/emotion/commit/9861a18bbf4a9480fad7f21a833ddfcf814cc893) Thanks [@fabb](https://github.com/fabb)! - Added `enterKeyHint` prop to the allowlist of forwardable props.
8+
39
## 1.1.0
410

511
### Minor Changes

packages/is-prop-valid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/is-prop-valid",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "A function to check whether a prop is valid for HTML and SVG elements",
55
"main": "dist/emotion-is-prop-valid.cjs.js",
66
"module": "dist/emotion-is-prop-valid.esm.js",

packages/jest/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @emotion/jest
22

3+
## 11.6.0
4+
5+
### Minor Changes
6+
7+
- [#2542](https://github.com/emotion-js/emotion/pull/2542) [`eb013d25`](https://github.com/emotion-js/emotion/commit/eb013d25722f4fd9af9acf699789bf6b8afac871) Thanks [@eps1lon](https://github.com/eps1lon), [@Andarist](https://github.com/Andarist)! - Adjusted the serialization logic to unwrap rendered elements from Fragments that had to be added to fix hydration mismatches caused by `React.useId` usage (the upcoming API of the React 18).
8+
39
## 11.5.0
410

511
### Minor Changes

packages/jest/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/jest",
3-
"version": "11.5.0",
3+
"version": "11.6.0",
44
"description": "Jest utilities for emotion",
55
"main": "dist/emotion-jest.cjs.js",
66
"module": "dist/emotion-jest.esm.js",
@@ -37,7 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"@emotion/css": "11.5.0",
40-
"@emotion/react": "11.5.0",
40+
"@emotion/react": "11.6.0",
4141
"@types/jest": "^26.0.14",
4242
"dtslint": "^0.3.0",
4343
"enzyme-to-json": "^3.6.1",

packages/primitives-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"react": ">=16.8.0"
2121
},
2222
"devDependencies": {
23-
"@emotion/react": "11.5.0",
23+
"@emotion/react": "11.6.0",
2424
"react": "16.14.0"
2525
},
2626
"homepage": "https://emotion.sh",

packages/react/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @emotion/react
22

3+
## 11.6.0
4+
5+
### Minor Changes
6+
7+
- [#2542](https://github.com/emotion-js/emotion/pull/2542) [`eb013d25`](https://github.com/emotion-js/emotion/commit/eb013d25722f4fd9af9acf699789bf6b8afac871) Thanks [@eps1lon](https://github.com/eps1lon)! - Fixed hydration mismatches if `React.useId` (the upcoming API of the React 18) is used within a tree below our components.
8+
9+
### Patch Changes
10+
11+
- [#2551](https://github.com/emotion-js/emotion/pull/2551) [`99fcea04`](https://github.com/emotion-js/emotion/commit/99fcea04a27458b94982bb8fcd7d209f21278013) Thanks [@Andarist](https://github.com/Andarist)! - Shorten the path of the "private" `isolated-hoist-non-react-statics-do-not-use-this-in-your-code` entrypoint to avoid exeeding path limitations on Windows.
12+
13+
- Updated dependencies [[`9e82a991`](https://github.com/emotion-js/emotion/commit/9e82a991624b18c20c46c5974e8a127c94a54711), [`516fe458`](https://github.com/emotion-js/emotion/commit/516fe458058c9ec8218740472b301e935801ebbc)]:
14+
- @emotion/sheet@1.1.0
15+
- @emotion/cache@11.6.0
16+
317
## 11.5.0
418

519
### Patch Changes

packages/react/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/react",
3-
"version": "11.5.0",
3+
"version": "11.6.0",
44
"main": "dist/emotion-react.cjs.js",
55
"module": "dist/emotion-react.esm.js",
66
"browser": {
@@ -27,9 +27,9 @@
2727
},
2828
"dependencies": {
2929
"@babel/runtime": "^7.13.10",
30-
"@emotion/cache": "^11.5.0",
30+
"@emotion/cache": "^11.6.0",
3131
"@emotion/serialize": "^1.0.2",
32-
"@emotion/sheet": "^1.0.3",
32+
"@emotion/sheet": "^1.1.0",
3333
"@emotion/utils": "^1.0.0",
3434
"@emotion/weak-memoize": "^0.2.5",
3535
"hoist-non-react-statics": "^3.3.1"
@@ -51,7 +51,7 @@
5151
"@emotion/css": "11.5.0",
5252
"@emotion/css-prettifier": "1.0.0",
5353
"@emotion/server": "11.4.0",
54-
"@emotion/styled": "11.3.0",
54+
"@emotion/styled": "11.6.0",
5555
"@types/react": "^16.9.11",
5656
"dtslint": "^0.3.0",
5757
"html-tag-names": "^1.1.2",

packages/sheet/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @emotion/sheet
22

3+
## 1.1.0
4+
5+
### Minor Changes
6+
7+
- [#2521](https://github.com/emotion-js/emotion/pull/2521) [`516fe45`](https://github.com/emotion-js/emotion/commit/516fe458058c9ec8218740472b301e935801ebbc) Thanks [@mnajdova](https://github.com/mnajdova)! - Added `insertionPoint` option to the `Sheet`'s constructor. It can be used to insert rules after the specified element.
8+
39
## 1.0.3
410

511
### Patch Changes

packages/sheet/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/sheet",
3-
"version": "1.0.3",
3+
"version": "1.1.0",
44
"description": "emotion's stylesheet",
55
"main": "dist/emotion-sheet.cjs.js",
66
"module": "dist/emotion-sheet.esm.js",

packages/styled/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @emotion/styled
22

3+
## 11.6.0
4+
5+
### Minor Changes
6+
7+
- [#2542](https://github.com/emotion-js/emotion/pull/2542) [`eb013d25`](https://github.com/emotion-js/emotion/commit/eb013d25722f4fd9af9acf699789bf6b8afac871) Thanks [@eps1lon](https://github.com/eps1lon)! - Fixed hydration mismatches if `React.useId` (the upcoming API of the React 18) is used within a tree below our components.
8+
9+
### Patch Changes
10+
11+
- Updated dependencies [[`9861a18b`](https://github.com/emotion-js/emotion/commit/9861a18bbf4a9480fad7f21a833ddfcf814cc893)]:
12+
- @emotion/is-prop-valid@1.1.1
13+
314
## 11.3.0
415

516
### Patch Changes

packages/styled/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emotion/styled",
3-
"version": "11.3.0",
3+
"version": "11.6.0",
44
"description": "styled API for emotion",
55
"main": "dist/emotion-styled.cjs.js",
66
"module": "dist/emotion-styled.esm.js",
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@babel/runtime": "^7.13.10",
1515
"@emotion/babel-plugin": "^11.3.0",
16-
"@emotion/is-prop-valid": "^1.1.0",
16+
"@emotion/is-prop-valid": "^1.1.1",
1717
"@emotion/serialize": "^1.0.2",
1818
"@emotion/utils": "^1.0.0"
1919
},
@@ -32,7 +32,7 @@
3232
},
3333
"devDependencies": {
3434
"@babel/core": "^7.13.10",
35-
"@emotion/react": "11.5.0",
35+
"@emotion/react": "11.6.0",
3636
"dtslint": "^0.3.0",
3737
"react": "16.14.0"
3838
},

0 commit comments

Comments
 (0)