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

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
@@ -3682,8 +3682,7 @@ function generateStyleProps(ctx) {
3682
3682
  type CssVars = ${[cssVars || "`var(--${string})`"].filter(Boolean).join(" | ")}
3683
3683
  type CssVarValue = ConditionalValue<Token${ctx.globalVars.isEmpty() ? "" : " | CssVars"} | AnyString | (number & {})>
3684
3684
 
3685
- type CssVarName = ${(0, import_shared3.unionType)(ctx.globalVars.names)} | AnyString
3686
- type CssVarKeys = \`--\${CssVarName}\`
3685
+ type CssVarKeys = ${[...ctx.globalVars.names.map((name) => `"--${name}"`), "`--${string}` & {}"].filter(Boolean).join(" | ")}
3687
3686
 
3688
3687
  export type CssVarProperties = {
3689
3688
  [key in CssVarKeys]?: CssVarValue
package/dist/index.mjs CHANGED
@@ -3646,8 +3646,7 @@ function generateStyleProps(ctx) {
3646
3646
  type CssVars = ${[cssVars || "`var(--${string})`"].filter(Boolean).join(" | ")}
3647
3647
  type CssVarValue = ConditionalValue<Token${ctx.globalVars.isEmpty() ? "" : " | CssVars"} | AnyString | (number & {})>
3648
3648
 
3649
- type CssVarName = ${unionType3(ctx.globalVars.names)} | AnyString
3650
- type CssVarKeys = \`--\${CssVarName}\`
3649
+ type CssVarKeys = ${[...ctx.globalVars.names.map((name) => `"--${name}"`), "`--${string}` & {}"].filter(Boolean).join(" | ")}
3651
3650
 
3652
3651
  export type CssVarProperties = {
3653
3652
  [key in CssVarKeys]?: CssVarValue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20250425205651",
3
+ "version": "0.0.0-dev-20250429212749",
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-20250425205651",
41
- "@pandacss/is-valid-prop": "^0.0.0-dev-20250425205651",
42
- "@pandacss/logger": "0.0.0-dev-20250425205651",
43
- "@pandacss/shared": "0.0.0-dev-20250425205651",
44
- "@pandacss/token-dictionary": "0.0.0-dev-20250425205651",
45
- "@pandacss/types": "0.0.0-dev-20250425205651"
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"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/pluralize": "0.0.33"