@pandacss/studio 0.18.3 → 0.20.1
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.20.1",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@astrojs/react": "2.2
|
|
40
|
-
"astro": "2.
|
|
39
|
+
"@astrojs/react": "2.3.2",
|
|
40
|
+
"astro": "2.10.15",
|
|
41
41
|
"javascript-stringify": "2.1.0",
|
|
42
42
|
"react": "18.2.0",
|
|
43
43
|
"react-dom": "18.2.0",
|
|
44
44
|
"vite": "4.4.11",
|
|
45
|
-
"@pandacss/config": "0.
|
|
46
|
-
"@pandacss/logger": "0.
|
|
47
|
-
"@pandacss/node": "0.
|
|
48
|
-
"@pandacss/shared": "0.
|
|
49
|
-
"@pandacss/token-dictionary": "0.
|
|
50
|
-
"@pandacss/types": "0.
|
|
45
|
+
"@pandacss/config": "0.20.1",
|
|
46
|
+
"@pandacss/logger": "0.20.1",
|
|
47
|
+
"@pandacss/node": "0.20.1",
|
|
48
|
+
"@pandacss/shared": "0.20.1",
|
|
49
|
+
"@pandacss/token-dictionary": "0.20.1",
|
|
50
|
+
"@pandacss/types": "0.20.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "18.2.37",
|
package/styled-system/reset.css
CHANGED
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
pre {
|
|
169
169
|
font-size: 1em;
|
|
170
170
|
--font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
|
|
171
|
-
font-family: var(--global-font-mono, var(--font-fallback));
|
|
171
|
+
font-family: var(--global-font-mono, var(--font-mono-fallback));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
|
|
@@ -302,6 +302,7 @@ interface PropertyValueTypes {
|
|
|
302
302
|
y: Shorthand<"translateY">;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
+
|
|
305
306
|
export type PropertyValue<T extends string> = T extends keyof PropertyTypes
|
|
306
307
|
? ConditionalValue<PropertyTypes[T] | CssValue<T> | (string & {})>
|
|
307
308
|
: T extends keyof CssProperties
|
|
@@ -8,7 +8,7 @@ export type RecipeVariantRecord = Record<any, Record<any, SystemStyleObject>>
|
|
|
8
8
|
export type RecipeSelection<T extends RecipeVariantRecord> = keyof any extends keyof T
|
|
9
9
|
? {}
|
|
10
10
|
: {
|
|
11
|
-
[K in keyof T]?: StringToBoolean<keyof T[K]>
|
|
11
|
+
[K in keyof T]?: StringToBoolean<keyof T[K]> | undefined
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export type RecipeVariantFn<T extends RecipeVariantRecord> = (props?: RecipeSelection<T>) => string
|
|
@@ -39,7 +39,7 @@ export interface RecipeRuntimeFn<T extends RecipeVariantRecord> extends RecipeVa
|
|
|
39
39
|
type OneOrMore<T> = T | Array<T>
|
|
40
40
|
|
|
41
41
|
export type RecipeCompoundSelection<T> = {
|
|
42
|
-
[K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>>
|
|
42
|
+
[K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>> | undefined
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export type RecipeCompoundVariant<T> = T & {
|
|
@@ -60,9 +60,11 @@ export interface ExtendableGlobalStyleObject {
|
|
|
60
60
|
extend?: GlobalStyleObject | undefined
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
[K in
|
|
65
|
-
}
|
|
63
|
+
type FilterStyleObject<P extends string> = {
|
|
64
|
+
[K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
|
|
66
68
|
|
|
67
69
|
/* -----------------------------------------------------------------------------
|
|
68
70
|
* Jsx style props
|