@pandacss/generator 0.0.0-dev-20250429212749 → 0.0.0-dev-20250520124445
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 +7 -7
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-
|
|
3
|
+
"version": "0.0.0-dev-20250520124445",
|
|
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-
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.0.0-dev-
|
|
42
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
43
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
44
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
45
|
-
"@pandacss/types": "0.0.0-dev-
|
|
40
|
+
"@pandacss/core": "0.0.0-dev-20250520124445",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.0.0-dev-20250520124445",
|
|
42
|
+
"@pandacss/logger": "0.0.0-dev-20250520124445",
|
|
43
|
+
"@pandacss/shared": "0.0.0-dev-20250520124445",
|
|
44
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20250520124445",
|
|
45
|
+
"@pandacss/types": "0.0.0-dev-20250520124445"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|