@pandacss/generator 0.0.0-dev-20250429212749 → 0.0.0-dev-20250520124008

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
@@ -3868,7 +3868,7 @@ function generateTokenCss(ctx, sheet) {
3868
3868
  const themeConds = themeVariants.map((key) => conditions.getThemeName(key));
3869
3869
  const themePrefix = ctx.conditions.getThemeName("");
3870
3870
  for (const [key, values] of tokens.view.vars.entries()) {
3871
- const isThemeSkipped = key.startsWith(themePrefix) && !themeConds.some((condName) => key.startsWith(condName));
3871
+ const isThemeSkipped = key.startsWith(themePrefix) && !themeConds.some((condName) => key === condName || key.startsWith(condName + ":"));
3872
3872
  if (isThemeSkipped) {
3873
3873
  continue;
3874
3874
  }
package/dist/index.mjs CHANGED
@@ -3832,7 +3832,7 @@ function generateTokenCss(ctx, sheet) {
3832
3832
  const themeConds = themeVariants.map((key) => conditions.getThemeName(key));
3833
3833
  const themePrefix = ctx.conditions.getThemeName("");
3834
3834
  for (const [key, values] of tokens.view.vars.entries()) {
3835
- const isThemeSkipped = key.startsWith(themePrefix) && !themeConds.some((condName) => key.startsWith(condName));
3835
+ const isThemeSkipped = key.startsWith(themePrefix) && !themeConds.some((condName) => key === condName || key.startsWith(condName + ":"));
3836
3836
  if (isThemeSkipped) {
3837
3837
  continue;
3838
3838
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20250429212749",
3
+ "version": "0.0.0-dev-20250520124008",
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.49",
39
39
  "ts-pattern": "5.0.8",
40
- "@pandacss/core": "0.0.0-dev-20250429212749",
41
- "@pandacss/is-valid-prop": "^0.0.0-dev-20250429212749",
42
- "@pandacss/logger": "0.0.0-dev-20250429212749",
43
- "@pandacss/shared": "0.0.0-dev-20250429212749",
44
- "@pandacss/token-dictionary": "0.0.0-dev-20250429212749",
45
- "@pandacss/types": "0.0.0-dev-20250429212749"
40
+ "@pandacss/core": "0.0.0-dev-20250520124008",
41
+ "@pandacss/is-valid-prop": "^0.0.0-dev-20250520124008",
42
+ "@pandacss/logger": "0.0.0-dev-20250520124008",
43
+ "@pandacss/shared": "0.0.0-dev-20250520124008",
44
+ "@pandacss/token-dictionary": "0.0.0-dev-20250520124008",
45
+ "@pandacss/types": "0.0.0-dev-20250520124008"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/pluralize": "0.0.33"