@pandacss/studio 0.0.0-dev-20240108181940 → 0.0.0-dev-20240108205048

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-20240108181940",
3
+ "version": "0.0.0-dev-20240108205048",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -47,12 +47,12 @@
47
47
  "react": "18.2.0",
48
48
  "react-dom": "18.2.0",
49
49
  "vite": "5.0.7",
50
- "@pandacss/config": "0.0.0-dev-20240108181940",
51
- "@pandacss/logger": "0.0.0-dev-20240108181940",
52
- "@pandacss/shared": "0.0.0-dev-20240108181940",
53
- "@pandacss/token-dictionary": "0.0.0-dev-20240108181940",
54
- "@pandacss/types": "0.0.0-dev-20240108181940",
55
- "@pandacss/astro-plugin-studio": "0.0.0-dev-20240108181940"
50
+ "@pandacss/config": "0.0.0-dev-20240108205048",
51
+ "@pandacss/logger": "0.0.0-dev-20240108205048",
52
+ "@pandacss/shared": "0.0.0-dev-20240108205048",
53
+ "@pandacss/token-dictionary": "0.0.0-dev-20240108205048",
54
+ "@pandacss/types": "0.0.0-dev-20240108205048",
55
+ "@pandacss/astro-plugin-studio": "0.0.0-dev-20240108205048"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/react": "18.2.42",
@@ -309,19 +309,98 @@ interface PropertyValueTypes {
309
309
  y: Shorthand<"translateY">;
310
310
  }
311
311
 
312
+ type StrictableProps =
313
+ | 'alignContent'
314
+ | 'alignItems'
315
+ | 'alignSelf'
316
+ | 'all'
317
+ | 'animationComposition'
318
+ | 'animationDirection'
319
+ | 'animationFillMode'
320
+ | 'appearance'
321
+ | 'backfaceVisibility'
322
+ | 'backgroundAttachment'
323
+ | 'backgroundClip'
324
+ | 'borderCollapse'
325
+ | 'border'
326
+ | 'borderBlock'
327
+ | 'borderBlockEnd'
328
+ | 'borderBlockStart'
329
+ | 'borderBottom'
330
+ | 'borderInline'
331
+ | 'borderInlineEnd'
332
+ | 'borderInlineStart'
333
+ | 'borderLeft'
334
+ | 'borderRight'
335
+ | 'borderTop'
336
+ | 'borderBlockEndStyle'
337
+ | 'borderBlockStartStyle'
338
+ | 'borderBlockStyle'
339
+ | 'borderBottomStyle'
340
+ | 'borderInlineEndStyle'
341
+ | 'borderInlineStartStyle'
342
+ | 'borderInlineStyle'
343
+ | 'borderLeftStyle'
344
+ | 'borderRightStyle'
345
+ | 'borderTopStyle'
346
+ | 'boxDecorationBreak'
347
+ | 'boxSizing'
348
+ | 'breakAfter'
349
+ | 'breakBefore'
350
+ | 'breakInside'
351
+ | 'captionSide'
352
+ | 'clear'
353
+ | 'columnFill'
354
+ | 'columnRuleStyle'
355
+ | 'contentVisibility'
356
+ | 'direction'
357
+ | 'display'
358
+ | 'emptyCells'
359
+ | 'flexDirection'
360
+ | 'flexWrap'
361
+ | 'float'
362
+ | 'fontKerning'
363
+ | 'forcedColorAdjust'
364
+ | 'isolation'
365
+ | 'lineBreak'
366
+ | 'mixBlendMode'
367
+ | 'objectFit'
368
+ | 'outlineStyle'
369
+ | 'overflow'
370
+ | 'overflowX'
371
+ | 'overflowY'
372
+ | 'overflowBlock'
373
+ | 'overflowInline'
374
+ | 'overflowWrap'
375
+ | 'pointerEvents'
376
+ | 'position'
377
+ | 'resize'
378
+ | 'scrollBehavior'
379
+ | 'touchAction'
380
+ | 'transformBox'
381
+ | 'transformStyle'
382
+ | 'userSelect'
383
+ | 'visibility'
384
+ | 'wordBreak'
385
+ | 'writingMode'
386
+ type WithEscapeHatch<T> = T | `[${string}]`
387
+ type FilterVagueString<Key, Value> = Value extends boolean
388
+ ? Value
389
+ : Key extends StrictableProps
390
+ ? Value extends `${infer _}` ? Value : never
391
+ : Value
392
+ type PropOrCondition<Key, Value> = ConditionalValue<Value | (string & {})>
312
393
 
394
+ type PropertyTypeValue<T extends string> = T extends keyof PropertyTypes
395
+ ? PropOrCondition<T, PropertyTypes[T] | CssValue<T>>
396
+ : never;
313
397
 
314
- type PropertyTypeValue<T extends string> = T extends keyof PropertyTypes
315
- ? ConditionalValue<PropertyTypes[T] | CssValue<T> | (string & {})>
316
- : never;
398
+ type CssPropertyValue<T extends string> = T extends keyof CssProperties
399
+ ? PropOrCondition<T, CssProperties[T]>
400
+ : never;
317
401
 
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
-
402
+ export type PropertyValue<T extends string> = T extends keyof PropertyTypes
403
+ ? PropertyTypeValue<T>
404
+ : T extends keyof CssProperties
405
+ ? CssPropertyValue<T>
406
+ : PropOrCondition<T, string | number>