@pandacss/generator 0.0.0-dev-20240310025819 → 0.0.0-dev-20240310153511

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
@@ -876,7 +876,7 @@ function generateTokenJs(ctx) {
876
876
  const map = /* @__PURE__ */ new Map();
877
877
  tokens.allTokens.forEach((token) => {
878
878
  const { varRef, isVirtual } = token.extensions;
879
- const value = token.isConditional || isVirtual ? varRef : token.value;
879
+ const value = isVirtual || token.extensions.condition !== "base" ? varRef : token.value;
880
880
  map.set(token.name, { value, variable: varRef });
881
881
  });
882
882
  const obj = Object.fromEntries(map);
package/dist/index.mjs CHANGED
@@ -840,7 +840,7 @@ function generateTokenJs(ctx) {
840
840
  const map = /* @__PURE__ */ new Map();
841
841
  tokens.allTokens.forEach((token) => {
842
842
  const { varRef, isVirtual } = token.extensions;
843
- const value = token.isConditional || isVirtual ? varRef : token.value;
843
+ const value = isVirtual || token.extensions.condition !== "base" ? varRef : token.value;
844
844
  map.set(token.name, { value, variable: varRef });
845
845
  });
846
846
  const obj = Object.fromEntries(map);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20240310025819",
3
+ "version": "0.0.0-dev-20240310153511",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -37,12 +37,12 @@
37
37
  "pluralize": "8.0.0",
38
38
  "postcss": "8.4.35",
39
39
  "ts-pattern": "5.0.8",
40
- "@pandacss/core": "0.0.0-dev-20240310025819",
41
- "@pandacss/is-valid-prop": "^0.0.0-dev-20240310025819",
42
- "@pandacss/logger": "0.0.0-dev-20240310025819",
43
- "@pandacss/shared": "0.0.0-dev-20240310025819",
44
- "@pandacss/token-dictionary": "0.0.0-dev-20240310025819",
45
- "@pandacss/types": "0.0.0-dev-20240310025819"
40
+ "@pandacss/core": "0.0.0-dev-20240310153511",
41
+ "@pandacss/is-valid-prop": "^0.0.0-dev-20240310153511",
42
+ "@pandacss/logger": "0.0.0-dev-20240310153511",
43
+ "@pandacss/shared": "0.0.0-dev-20240310153511",
44
+ "@pandacss/token-dictionary": "0.0.0-dev-20240310153511",
45
+ "@pandacss/types": "0.0.0-dev-20240310153511"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/pluralize": "0.0.33"