@pandacss/studio 0.0.0-dev-20240313015603 → 0.0.0-dev-20240315002504
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-
|
|
3
|
+
"version": "0.0.0-dev-20240315002504",
|
|
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-
|
|
52
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
53
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
54
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
55
|
-
"@pandacss/types": "0.0.0-dev-
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.0.0-dev-
|
|
51
|
+
"@pandacss/config": "0.0.0-dev-20240315002504",
|
|
52
|
+
"@pandacss/logger": "0.0.0-dev-20240315002504",
|
|
53
|
+
"@pandacss/shared": "0.0.0-dev-20240315002504",
|
|
54
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240315002504",
|
|
55
|
+
"@pandacss/types": "0.0.0-dev-20240315002504",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.0.0-dev-20240315002504"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "18.2.55",
|
|
@@ -377,7 +377,13 @@ type StrictableProps =
|
|
|
377
377
|
| 'writingMode'
|
|
378
378
|
|
|
379
379
|
type WithColorOpacityModifier<T> = T extends string ? `${T}/${string}` : T
|
|
380
|
-
|
|
380
|
+
|
|
381
|
+
type ImportantMark = "!" | "!important"
|
|
382
|
+
type WhitespaceImportant = ` ${ImportantMark}`
|
|
383
|
+
type Important = ImportantMark | WhitespaceImportant
|
|
384
|
+
type WithImportant<T> = T extends string ? `${T}${Important}${string}` : T
|
|
385
|
+
|
|
386
|
+
type WithEscapeHatch<T> = T | `[${string}]` | (T extends string ? WithColorOpacityModifier<string> | WithImportant<T> : T)
|
|
381
387
|
|
|
382
388
|
type FilterVagueString<Key, Value> = Value extends boolean
|
|
383
389
|
? Value
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue,
|
|
2
|
+
import type { ConditionalValue, Nested } from './conditions';
|
|
3
3
|
import type { PropertiesFallback } from './csstype';
|
|
4
4
|
import type { SystemProperties, CssVarProperties } from './style-props';
|
|
5
5
|
|
|
@@ -36,10 +36,6 @@ export interface CssKeyframes {
|
|
|
36
36
|
* Conditional css properties
|
|
37
37
|
* -----------------------------------------------------------------------------*/
|
|
38
38
|
|
|
39
|
-
type MinimalNested<P> = {
|
|
40
|
-
[K in keyof Conditions]?: Nested<P>
|
|
41
|
-
}
|
|
42
|
-
|
|
43
39
|
interface GenericProperties {
|
|
44
40
|
[key: string]: ConditionalValue<String | Number | boolean>
|
|
45
41
|
}
|
|
@@ -72,7 +68,7 @@ export type CompositionStyleObject<Property extends string> = Nested<FilterStyle
|
|
|
72
68
|
interface WithCss {
|
|
73
69
|
css?: SystemStyleObject
|
|
74
70
|
}
|
|
75
|
-
type StyleProps =
|
|
71
|
+
type StyleProps = SystemStyleObject & WithCss
|
|
76
72
|
|
|
77
73
|
export type JsxStyleProps = StyleProps & WithCss
|
|
78
74
|
|