@pandacss/generator 0.0.0-dev-20230731182016 → 0.0.0-dev-20230801082734
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -525,7 +525,7 @@ function generateConditions(ctx) {
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
const underscoreRegex = /^_/
|
|
528
|
-
const
|
|
528
|
+
const conditionsSelectorRegex = /&|@/
|
|
529
529
|
|
|
530
530
|
export function finalizeConditions(paths){
|
|
531
531
|
return paths.map((path) => {
|
|
@@ -533,7 +533,7 @@ function generateConditions(ctx) {
|
|
|
533
533
|
return path.replace(underscoreRegex, '')
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
if (
|
|
536
|
+
if (conditionsSelectorRegex.test(path)){
|
|
537
537
|
return \`[\${withoutSpace(path.trim())}]\`
|
|
538
538
|
}
|
|
539
539
|
|
package/dist/index.mjs
CHANGED
|
@@ -494,7 +494,7 @@ function generateConditions(ctx) {
|
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
const underscoreRegex = /^_/
|
|
497
|
-
const
|
|
497
|
+
const conditionsSelectorRegex = /&|@/
|
|
498
498
|
|
|
499
499
|
export function finalizeConditions(paths){
|
|
500
500
|
return paths.map((path) => {
|
|
@@ -502,7 +502,7 @@ function generateConditions(ctx) {
|
|
|
502
502
|
return path.replace(underscoreRegex, '')
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
if (
|
|
505
|
+
if (conditionsSelectorRegex.test(path)){
|
|
506
506
|
return \`[\${withoutSpace(path.trim())}]\`
|
|
507
507
|
}
|
|
508
508
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230801082734",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"pluralize": "8.0.0",
|
|
21
21
|
"postcss": "8.4.25",
|
|
22
22
|
"ts-pattern": "5.0.4",
|
|
23
|
-
"@pandacss/core": "0.0.0-dev-
|
|
24
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
25
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
26
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
27
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
28
|
-
"@pandacss/types": "0.0.0-dev-
|
|
23
|
+
"@pandacss/core": "0.0.0-dev-20230801082734",
|
|
24
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230801082734",
|
|
25
|
+
"@pandacss/logger": "0.0.0-dev-20230801082734",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230801082734",
|
|
27
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230801082734",
|
|
28
|
+
"@pandacss/types": "0.0.0-dev-20230801082734"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.30",
|
|
32
32
|
"hookable": "5.5.3",
|
|
33
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
33
|
+
"@pandacss/fixture": "0.0.0-dev-20230801082734"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"prebuild": "tsx scripts/prebuild.ts",
|