@pandacss/generator 0.0.0-dev-20240403113532 → 0.0.0-dev-20240403210529

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
@@ -3637,7 +3637,7 @@ function generatePropTypes(ctx) {
3637
3637
  type ImportantMark = "!" | "!important"
3638
3638
  type WhitespaceImportant = \` \${ImportantMark}\`
3639
3639
  type Important = ImportantMark | WhitespaceImportant
3640
- type WithImportant<T> = T extends string ? \`\${T}\${Important}\${string}\` : T
3640
+ type WithImportant<T> = T extends string ? \`\${T}\${Important}\` & { __important?: true } : T;
3641
3641
 
3642
3642
  /**
3643
3643
  * Only relevant when using \`strictTokens\` or \`strictPropertyValues\` in your config.
@@ -3655,7 +3655,7 @@ function generatePropTypes(ctx) {
3655
3655
  * @see https://panda-css.com/docs/concepts/writing-styles#stricttokens
3656
3656
  * @see https://panda-css.com/docs/concepts/writing-styles#strictpropertyvalues
3657
3657
  */
3658
- export type WithEscapeHatch<T> = T | \`[\${string}]\` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
3658
+ export type WithEscapeHatch<T> = T | \`[\${string}]\` | WithColorOpacityModifier<T> | WithImportant<T>
3659
3659
 
3660
3660
  /**
3661
3661
  * Will restrict the value of properties that have predefined values to those values only.
package/dist/index.mjs CHANGED
@@ -3601,7 +3601,7 @@ function generatePropTypes(ctx) {
3601
3601
  type ImportantMark = "!" | "!important"
3602
3602
  type WhitespaceImportant = \` \${ImportantMark}\`
3603
3603
  type Important = ImportantMark | WhitespaceImportant
3604
- type WithImportant<T> = T extends string ? \`\${T}\${Important}\${string}\` : T
3604
+ type WithImportant<T> = T extends string ? \`\${T}\${Important}\` & { __important?: true } : T;
3605
3605
 
3606
3606
  /**
3607
3607
  * Only relevant when using \`strictTokens\` or \`strictPropertyValues\` in your config.
@@ -3619,7 +3619,7 @@ function generatePropTypes(ctx) {
3619
3619
  * @see https://panda-css.com/docs/concepts/writing-styles#stricttokens
3620
3620
  * @see https://panda-css.com/docs/concepts/writing-styles#strictpropertyvalues
3621
3621
  */
3622
- export type WithEscapeHatch<T> = T | \`[\${string}]\` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
3622
+ export type WithEscapeHatch<T> = T | \`[\${string}]\` | WithColorOpacityModifier<T> | WithImportant<T>
3623
3623
 
3624
3624
  /**
3625
3625
  * Will restrict the value of properties that have predefined values to those values only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20240403113532",
3
+ "version": "0.0.0-dev-20240403210529",
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-20240403113532",
41
- "@pandacss/is-valid-prop": "^0.0.0-dev-20240403113532",
42
- "@pandacss/logger": "0.0.0-dev-20240403113532",
43
- "@pandacss/shared": "0.0.0-dev-20240403113532",
44
- "@pandacss/token-dictionary": "0.0.0-dev-20240403113532",
45
- "@pandacss/types": "0.0.0-dev-20240403113532"
40
+ "@pandacss/core": "0.0.0-dev-20240403210529",
41
+ "@pandacss/is-valid-prop": "^0.0.0-dev-20240403210529",
42
+ "@pandacss/logger": "0.0.0-dev-20240403210529",
43
+ "@pandacss/shared": "0.0.0-dev-20240403210529",
44
+ "@pandacss/token-dictionary": "0.0.0-dev-20240403210529",
45
+ "@pandacss/types": "0.0.0-dev-20240403210529"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/pluralize": "0.0.33"