@pandacss/parser 0.32.0 → 0.33.0
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -252,7 +252,7 @@ function createParser(context) {
|
|
|
252
252
|
matchFn: (prop) => file.matchFn(prop.fnName),
|
|
253
253
|
matchProp: () => true,
|
|
254
254
|
matchArg: (prop) => {
|
|
255
|
-
if (prop.fnName
|
|
255
|
+
if (file.isJsxFactory(prop.fnName) && prop.index === 1 && import_ts_morph.Node.isIdentifier(prop.argNode))
|
|
256
256
|
return false;
|
|
257
257
|
return true;
|
|
258
258
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -218,7 +218,7 @@ function createParser(context) {
|
|
|
218
218
|
matchFn: (prop) => file.matchFn(prop.fnName),
|
|
219
219
|
matchProp: () => true,
|
|
220
220
|
matchArg: (prop) => {
|
|
221
|
-
if (prop.fnName
|
|
221
|
+
if (file.isJsxFactory(prop.fnName) && prop.index === 1 && Node.isIdentifier(prop.argNode))
|
|
222
222
|
return false;
|
|
223
223
|
return true;
|
|
224
224
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/parser",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "The static parser for panda css",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"magic-string": "0.30.7",
|
|
33
33
|
"ts-morph": "21.0.1",
|
|
34
34
|
"ts-pattern": "5.0.8",
|
|
35
|
-
"@pandacss/config": "^0.
|
|
36
|
-
"@pandacss/core": "^0.
|
|
37
|
-
"@pandacss/extractor": "0.
|
|
38
|
-
"@pandacss/logger": "0.
|
|
39
|
-
"@pandacss/shared": "0.
|
|
40
|
-
"@pandacss/types": "0.
|
|
35
|
+
"@pandacss/config": "^0.33.0",
|
|
36
|
+
"@pandacss/core": "^0.33.0",
|
|
37
|
+
"@pandacss/extractor": "0.33.0",
|
|
38
|
+
"@pandacss/logger": "0.33.0",
|
|
39
|
+
"@pandacss/shared": "0.33.0",
|
|
40
|
+
"@pandacss/types": "0.33.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@vue/compiler-core": "3.4.19",
|
|
44
|
-
"@pandacss/generator": "0.
|
|
44
|
+
"@pandacss/generator": "0.33.0"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"dist"
|