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

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/purple-tigers-breathe.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/seventy-balloons-build.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/silver-fireants-jump.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sixty-balloons-build.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

.changeset/strange-kids-change.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/cache/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 6 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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",

0 commit comments

Comments
 (0)