@pandacss/studio 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230801082734",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0",
|
|
35
35
|
"vite": "4.4.2",
|
|
36
|
-
"@pandacss/types": "0.0.0-dev-
|
|
37
|
-
"@pandacss/config": "0.0.0-dev-
|
|
38
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
39
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
40
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
41
|
-
"@pandacss/node": "0.0.0-dev-
|
|
36
|
+
"@pandacss/types": "0.0.0-dev-20230801082734",
|
|
37
|
+
"@pandacss/config": "0.0.0-dev-20230801082734",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20230801082734",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230801082734",
|
|
40
|
+
"@pandacss/logger": "0.0.0-dev-20230801082734",
|
|
41
|
+
"@pandacss/node": "0.0.0-dev-20230801082734"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "18.2.14",
|
|
45
45
|
"@types/react-dom": "18.2.6",
|
|
46
46
|
"@vitejs/plugin-react": "4.0.3",
|
|
47
47
|
"execa": "7.1.1",
|
|
48
|
-
"@pandacss/dev": "0.0.0-dev-
|
|
48
|
+
"@pandacss/dev": "0.0.0-dev-20230801082734"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|
|
@@ -120,7 +120,7 @@ export function isCondition(value) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
const underscoreRegex = /^_/
|
|
123
|
-
const
|
|
123
|
+
const conditionsSelectorRegex = /&|@/
|
|
124
124
|
|
|
125
125
|
export function finalizeConditions(paths) {
|
|
126
126
|
return paths.map((path) => {
|
|
@@ -128,7 +128,7 @@ export function finalizeConditions(paths) {
|
|
|
128
128
|
return path.replace(underscoreRegex, '')
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
if (
|
|
131
|
+
if (conditionsSelectorRegex.test(path)) {
|
|
132
132
|
return `[${withoutSpace(path.trim())}]`
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -138,6 +138,7 @@ type PropertyValueTypes = {
|
|
|
138
138
|
borderBlockEndColor: Tokens["colors"];
|
|
139
139
|
borderBlockStart: Tokens["borders"];
|
|
140
140
|
borderBlockStartColor: Tokens["colors"];
|
|
141
|
+
opacity: Tokens["opacity"];
|
|
141
142
|
boxShadow: Tokens["shadows"];
|
|
142
143
|
boxShadowColor: Tokens["colors"];
|
|
143
144
|
filter: "auto";
|