@emotion/sheet
Advanced tools
Comparing version 1.0.0-next.4 to 1.0.0-next.5
# @emotion/sheet | ||
## 1.0.0-next.5 | ||
### Patch Changes | ||
- [`42df3f3b`](https://github.com/emotion-js/emotion/commit/42df3f3bc01526eed61cedba106d86b9e3807f9d) [#2028](https://github.com/emotion-js/emotion/pull/2028) Thanks [@Andarist](https://github.com/Andarist)! - Generated style elements got `data-s="1"` attribute so `@emotion/cache` can recognize them as being already owned by another Emotion copy to avoid messing up existing style elements when initializing a new copy. | ||
## 1.0.0-next.4 | ||
@@ -4,0 +10,0 @@ |
@@ -54,2 +54,3 @@ 'use strict'; | ||
tag.appendChild(document.createTextNode('')); | ||
tag.setAttribute('data-s', ''); | ||
return tag; | ||
@@ -56,0 +57,0 @@ } |
@@ -50,2 +50,3 @@ /* | ||
tag.appendChild(document.createTextNode('')); | ||
tag.setAttribute('data-s', ''); | ||
return tag; | ||
@@ -52,0 +53,0 @@ } |
@@ -54,2 +54,3 @@ 'use strict'; | ||
tag.appendChild(document.createTextNode('')); | ||
tag.setAttribute('data-s', ''); | ||
return tag; | ||
@@ -56,0 +57,0 @@ } |
@@ -11,3 +11,3 @@ "use strict"; | ||
return tag.setAttribute("data-emotion", options.key), void 0 !== options.nonce && tag.setAttribute("nonce", options.nonce), | ||
tag.appendChild(document.createTextNode("")), tag; | ||
tag.appendChild(document.createTextNode("")), tag.setAttribute("data-s", ""), tag; | ||
} | ||
@@ -14,0 +14,0 @@ |
@@ -50,2 +50,3 @@ /* | ||
tag.appendChild(document.createTextNode('')); | ||
tag.setAttribute('data-s', ''); | ||
return tag; | ||
@@ -52,0 +53,0 @@ } |
{ | ||
"name": "@emotion/sheet", | ||
"version": "1.0.0-next.4", | ||
"version": "1.0.0-next.5", | ||
"description": "emotion's stylesheet", | ||
@@ -5,0 +5,0 @@ "main": "dist/sheet.cjs.js", |
@@ -60,2 +60,3 @@ // @flow | ||
tag.appendChild(document.createTextNode('')) | ||
tag.setAttribute('data-s', '') | ||
return tag | ||
@@ -62,0 +63,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33436
658