@pandacss/node 0.14.0 → 0.15.1

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 CHANGED
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.2.2/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -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
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  mod
35
35
  ));
36
36
 
37
- // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js
37
+ // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.2.2/node_modules/tsup/assets/esm_shims.js
38
38
  var init_esm_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.2.2/node_modules/tsup/assets/esm_shims.js"() {
40
40
  "use strict";
41
41
  }
42
42
  });
@@ -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.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,28 +32,28 @@
32
32
  "postcss": "8.4.27",
33
33
  "preferred-pm": "^3.0.3",
34
34
  "ts-morph": "19.0.0",
35
- "ts-pattern": "5.0.4",
35
+ "ts-pattern": "5.0.5",
36
36
  "tsconfck": "^2.1.2",
37
- "@pandacss/config": "0.14.0",
38
- "@pandacss/core": "0.14.0",
39
- "@pandacss/error": "0.14.0",
40
- "@pandacss/extractor": "0.14.0",
41
- "@pandacss/generator": "0.14.0",
42
- "@pandacss/is-valid-prop": "0.14.0",
43
- "@pandacss/logger": "0.14.0",
44
- "@pandacss/parser": "0.14.0",
45
- "@pandacss/shared": "0.14.0",
46
- "@pandacss/token-dictionary": "0.14.0",
47
- "@pandacss/types": "0.14.0"
37
+ "@pandacss/config": "0.15.1",
38
+ "@pandacss/core": "0.15.1",
39
+ "@pandacss/error": "0.15.1",
40
+ "@pandacss/extractor": "0.15.1",
41
+ "@pandacss/generator": "0.15.1",
42
+ "@pandacss/is-valid-prop": "0.15.1",
43
+ "@pandacss/logger": "0.15.1",
44
+ "@pandacss/parser": "0.15.1",
45
+ "@pandacss/shared": "0.15.1",
46
+ "@pandacss/token-dictionary": "0.15.1",
47
+ "@pandacss/types": "0.15.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@types/fs-extra": "11.0.1",
50
+ "@types/fs-extra": "11.0.2",
51
51
  "@types/glob-parent": "^5.1.1",
52
52
  "@types/is-glob": "^4.0.2",
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.14.0"
56
+ "@pandacss/fixture": "0.15.1"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",