@pandacss/studio 0.0.0-dev-20231203213411 → 0.0.0-dev-20231204140648

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-20231203213411",
3
+ "version": "0.0.0-dev-20231204140648",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -42,12 +42,12 @@
42
42
  "react": "18.2.0",
43
43
  "react-dom": "18.2.0",
44
44
  "vite": "4.4.11",
45
- "@pandacss/config": "0.0.0-dev-20231203213411",
46
- "@pandacss/logger": "0.0.0-dev-20231203213411",
47
- "@pandacss/node": "0.0.0-dev-20231203213411",
48
- "@pandacss/shared": "0.0.0-dev-20231203213411",
49
- "@pandacss/token-dictionary": "0.0.0-dev-20231203213411",
50
- "@pandacss/types": "0.0.0-dev-20231203213411"
45
+ "@pandacss/config": "0.0.0-dev-20231204140648",
46
+ "@pandacss/logger": "0.0.0-dev-20231204140648",
47
+ "@pandacss/node": "0.0.0-dev-20231204140648",
48
+ "@pandacss/shared": "0.0.0-dev-20231204140648",
49
+ "@pandacss/token-dictionary": "0.0.0-dev-20231204140648",
50
+ "@pandacss/types": "0.0.0-dev-20231204140648"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "18.2.37",
@@ -310,8 +310,18 @@ interface PropertyValueTypes {
310
310
  }
311
311
 
312
312
 
313
- export type PropertyValue<T extends string> = T extends keyof PropertyTypes
314
- ? ConditionalValue<PropertyTypes[T] | CssValue<T> | (string & {})>
315
- : T extends keyof CssProperties
316
- ? ConditionalValue<CssProperties[T] | (string & {})>
317
- : ConditionalValue<string | number>
313
+
314
+ type PropertyTypeValue<T extends string> = T extends keyof PropertyTypes
315
+ ? ConditionalValue<PropertyTypes[T] | CssValue<T> | (string & {})>
316
+ : never;
317
+
318
+ type CssPropertyValue<T extends string> = T extends keyof CssProperties
319
+ ? ConditionalValue<CssProperties[T] | (string & {})>
320
+ : never;
321
+
322
+ export type PropertyValue<T extends string> = T extends keyof PropertyTypes
323
+ ? PropertyTypeValue<T>
324
+ : T extends keyof CssProperties
325
+ ? CssPropertyValue<T>
326
+ : ConditionalValue<string | number>
327
+