@pandacss/node 0.14.0 → 0.15.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -491,10 +491,10 @@ var classifyTokens = (ctx, parserResultByFilepath) => {
|
|
|
491
491
|
if (patternProp.type === "boolean" || patternProp.type === "number") {
|
|
492
492
|
return true;
|
|
493
493
|
}
|
|
494
|
-
if (patternProp.type === "property") {
|
|
494
|
+
if (patternProp.type === "property" && patternProp.value) {
|
|
495
495
|
return Boolean(ctx.config.utilities?.[patternProp.value]);
|
|
496
496
|
}
|
|
497
|
-
if (patternProp.type === "enum") {
|
|
497
|
+
if (patternProp.type === "enum" && patternProp.value) {
|
|
498
498
|
return Boolean(patternProp.value.includes(String(value)));
|
|
499
499
|
}
|
|
500
500
|
if (patternProp.type === "token") {
|
package/dist/index.mjs
CHANGED
|
@@ -468,10 +468,10 @@ var classifyTokens = (ctx, parserResultByFilepath) => {
|
|
|
468
468
|
if (patternProp.type === "boolean" || patternProp.type === "number") {
|
|
469
469
|
return true;
|
|
470
470
|
}
|
|
471
|
-
if (patternProp.type === "property") {
|
|
471
|
+
if (patternProp.type === "property" && patternProp.value) {
|
|
472
472
|
return Boolean(ctx.config.utilities?.[patternProp.value]);
|
|
473
473
|
}
|
|
474
|
-
if (patternProp.type === "enum") {
|
|
474
|
+
if (patternProp.type === "enum" && patternProp.value) {
|
|
475
475
|
return Boolean(patternProp.value.includes(String(value)));
|
|
476
476
|
}
|
|
477
477
|
if (patternProp.type === "token") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"ts-morph": "19.0.0",
|
|
35
35
|
"ts-pattern": "5.0.4",
|
|
36
36
|
"tsconfck": "^2.1.2",
|
|
37
|
-
"@pandacss/config": "0.
|
|
38
|
-
"@pandacss/core": "0.
|
|
39
|
-
"@pandacss/error": "0.
|
|
40
|
-
"@pandacss/extractor": "0.
|
|
41
|
-
"@pandacss/generator": "0.
|
|
42
|
-
"@pandacss/is-valid-prop": "0.
|
|
43
|
-
"@pandacss/logger": "0.
|
|
44
|
-
"@pandacss/parser": "0.
|
|
45
|
-
"@pandacss/shared": "0.
|
|
46
|
-
"@pandacss/token-dictionary": "0.
|
|
47
|
-
"@pandacss/types": "0.
|
|
37
|
+
"@pandacss/config": "0.15.0",
|
|
38
|
+
"@pandacss/core": "0.15.0",
|
|
39
|
+
"@pandacss/error": "0.15.0",
|
|
40
|
+
"@pandacss/extractor": "0.15.0",
|
|
41
|
+
"@pandacss/generator": "0.15.0",
|
|
42
|
+
"@pandacss/is-valid-prop": "0.15.0",
|
|
43
|
+
"@pandacss/logger": "0.15.0",
|
|
44
|
+
"@pandacss/parser": "0.15.0",
|
|
45
|
+
"@pandacss/shared": "0.15.0",
|
|
46
|
+
"@pandacss/token-dictionary": "0.15.0",
|
|
47
|
+
"@pandacss/types": "0.15.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/fs-extra": "11.0.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/lodash.merge": "4.6.7",
|
|
54
54
|
"@types/pluralize": "0.0.30",
|
|
55
55
|
"boxen": "^7.1.1",
|
|
56
|
-
"@pandacss/fixture": "0.
|
|
56
|
+
"@pandacss/fixture": "0.15.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|