@pandacss/studio 0.25.0 → 0.26.0
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.
|
|
3
|
+
"version": "0.26.0",
|
|
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.
|
|
51
|
-
"@pandacss/
|
|
52
|
-
"@pandacss/
|
|
53
|
-
"@pandacss/token-dictionary": "0.
|
|
54
|
-
"@pandacss/types": "0.
|
|
55
|
-
"@pandacss/astro-plugin-studio": "0.
|
|
50
|
+
"@pandacss/config": "0.26.0",
|
|
51
|
+
"@pandacss/shared": "0.26.0",
|
|
52
|
+
"@pandacss/logger": "0.26.0",
|
|
53
|
+
"@pandacss/token-dictionary": "0.26.0",
|
|
54
|
+
"@pandacss/types": "0.26.0",
|
|
55
|
+
"@pandacss/astro-plugin-studio": "0.26.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/react": "18.2.42",
|
|
@@ -116,9 +116,9 @@ export interface Conditions {
|
|
|
116
116
|
"_inRange": string
|
|
117
117
|
/** `&:out-of-range` */
|
|
118
118
|
"_outOfRange": string
|
|
119
|
-
/**
|
|
119
|
+
/** `&:is(:placeholder, [data-placeholder])` */
|
|
120
120
|
"_placeholder": string
|
|
121
|
-
/** `&:placeholder-shown` */
|
|
121
|
+
/** `&:is(:placeholder-shown, [data-placeholder-shown])` */
|
|
122
122
|
"_placeholderShown": string
|
|
123
123
|
/** `&:is([aria-pressed=true], [data-pressed])` */
|
|
124
124
|
"_pressed": string
|
|
@@ -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
|
-
|
|
315
|
-
|
|
316
|
-
|
|
398
|
+
type CssPropertyValue<T extends string> = T extends keyof CssProperties
|
|
399
|
+
? PropOrCondition<T, CssProperties[T]>
|
|
400
|
+
: never;
|
|
317
401
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
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>
|