@pandacss/studio 0.0.0-dev-20240403123832 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.0.0-dev-20240403123832",
3
+ "version": "0.0.0-dev-20240403210529",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -48,12 +48,12 @@
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
50
  "vite": "5.1.3",
51
- "@pandacss/config": "0.0.0-dev-20240403123832",
52
- "@pandacss/logger": "0.0.0-dev-20240403123832",
53
- "@pandacss/shared": "0.0.0-dev-20240403123832",
54
- "@pandacss/token-dictionary": "0.0.0-dev-20240403123832",
55
- "@pandacss/types": "0.0.0-dev-20240403123832",
56
- "@pandacss/astro-plugin-studio": "0.0.0-dev-20240403123832"
51
+ "@pandacss/config": "0.0.0-dev-20240403210529",
52
+ "@pandacss/logger": "0.0.0-dev-20240403210529",
53
+ "@pandacss/token-dictionary": "0.0.0-dev-20240403210529",
54
+ "@pandacss/shared": "0.0.0-dev-20240403210529",
55
+ "@pandacss/types": "0.0.0-dev-20240403210529",
56
+ "@pandacss/astro-plugin-studio": "0.0.0-dev-20240403210529"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -208,7 +208,7 @@ type WithColorOpacityModifier<T> = T extends string ? `${T}/${string}` : T
208
208
  type ImportantMark = "!" | "!important"
209
209
  type WhitespaceImportant = ` ${ImportantMark}`
210
210
  type Important = ImportantMark | WhitespaceImportant
211
- type WithImportant<T> = T extends string ? `${T}${Important}${string}` : T
211
+ type WithImportant<T> = T extends string ? `${T}${Important}` & { __important?: true } : T;
212
212
 
213
213
  /**
214
214
  * Only relevant when using `strictTokens` or `strictPropertyValues` in your config.
@@ -226,7 +226,7 @@ type WithImportant<T> = T extends string ? `${T}${Important}${string}` : T
226
226
  * @see https://panda-css.com/docs/concepts/writing-styles#stricttokens
227
227
  * @see https://panda-css.com/docs/concepts/writing-styles#strictpropertyvalues
228
228
  */
229
- export type WithEscapeHatch<T> = T | `[${string}]` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
229
+ export type WithEscapeHatch<T> = T | `[${string}]` | WithColorOpacityModifier<T> | WithImportant<T>
230
230
 
231
231
  /**
232
232
  * Will restrict the value of properties that have predefined values to those values only.