@compiled/css
Advanced tools
Comparing version 0.12.3 to 0.13.0
import type { Plugin } from 'postcss'; | ||
/** | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)". | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)". | ||
* This rule should run after CSS declarations have been atomicized and should not affect | ||
@@ -5,0 +5,0 @@ * the original generated class name. |
@@ -37,3 +37,3 @@ "use strict"; | ||
/** | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)". | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)". | ||
* This rule should run after CSS declarations have been atomicized and should not affect | ||
@@ -40,0 +40,0 @@ * the original generated class name. |
{ | ||
"name": "@compiled/css", | ||
"version": "0.12.3", | ||
"version": "0.13.0", | ||
"description": "A familiar and performant compile time CSS-in-JS library for React.", | ||
@@ -26,3 +26,3 @@ "homepage": "https://compiledcssinjs.com/docs/pkg-css", | ||
"dependencies": { | ||
"@compiled/utils": "^0.10.0", | ||
"@compiled/utils": "^0.11.0", | ||
"autoprefixer": "^10.4.14", | ||
@@ -29,0 +29,0 @@ "cssnano-preset-default": "^5.2.14", |
@@ -472,11 +472,11 @@ import { transformCss as transform, type TransformOpts } from '../transform'; | ||
expect(actual.join('\n')).toMatchInlineSnapshot(` | ||
"._ca0qftgi:not(#\\9){padding-top:8px} | ||
._u5f3ftgi:not(#\\9){padding-right:8px} | ||
._n3tdftgi:not(#\\9){padding-bottom:8px} | ||
._19bvftgi:not(#\\9){padding-left:8px} | ||
._syaz5scu:not(#\\9){color:red} | ||
._1kt9o5oc:not(#\\9):before{content:var(--hello-world)} | ||
._eid3ftgi:not(#\\9):before{margin-right:8px} | ||
._is0632ev:not(#\\9):before{color:pink} | ||
._14rn5scu:not(#\\9):after{color:red}" | ||
"._ca0qftgi:not(#\\#){padding-top:8px} | ||
._u5f3ftgi:not(#\\#){padding-right:8px} | ||
._n3tdftgi:not(#\\#){padding-bottom:8px} | ||
._19bvftgi:not(#\\#){padding-left:8px} | ||
._syaz5scu:not(#\\#){color:red} | ||
._1kt9o5oc:not(#\\#):before{content:var(--hello-world)} | ||
._eid3ftgi:not(#\\#):before{margin-right:8px} | ||
._is0632ev:not(#\\#):before{color:pink} | ||
._14rn5scu:not(#\\#):after{color:red}" | ||
`); | ||
@@ -494,5 +494,5 @@ }); | ||
expect(actual.join('\n')).toMatchInlineSnapshot(` | ||
"div ._kqan5scu:not(#\\9){color:red} | ||
div:hover ._12hc5scu:not(#\\9){color:red} | ||
div ._wntz5scu:not(#\\9):hover{color:red}" | ||
"div ._kqan5scu:not(#\\#){color:red} | ||
div:hover ._12hc5scu:not(#\\#){color:red} | ||
div ._wntz5scu:not(#\\#):hover{color:red}" | ||
`); | ||
@@ -499,0 +499,0 @@ }); |
@@ -23,3 +23,3 @@ import postcss from 'postcss'; | ||
expect(actual).toMatchInlineSnapshot(`"._foo:not(#\\9) {}"`); | ||
expect(actual).toMatchInlineSnapshot(`"._foo:not(#\\#) {}"`); | ||
}); | ||
@@ -37,3 +37,3 @@ | ||
@media { | ||
._foo:not(#\\9) {} | ||
._foo:not(#\\#) {} | ||
} | ||
@@ -71,7 +71,7 @@ " | ||
" | ||
._foo:not(#\\9):hover { | ||
._foo:not(#\\#):hover { | ||
color: red; | ||
} | ||
._baz:not(#\\9)::before { | ||
._baz:not(#\\#)::before { | ||
content: "bar"; | ||
@@ -78,0 +78,0 @@ } |
@@ -14,3 +14,3 @@ import { INCREASE_SPECIFICITY_SELECTOR } from '@compiled/utils'; | ||
/** | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)". | ||
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)". | ||
* This rule should run after CSS declarations have been atomicized and should not affect | ||
@@ -17,0 +17,0 @@ * the original generated class name. |
+ Added@compiled/utils@0.11.2(transitive)
- Removed@compiled/utils@0.10.0(transitive)
Updated@compiled/utils@^0.11.0