@pandacss/studio 0.0.0-dev-20231212195947 → 0.0.0-dev-20231212201947
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-20231212201947",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"react": "18.2.0",
|
|
42
42
|
"react-dom": "18.2.0",
|
|
43
43
|
"vite": "5.0.7",
|
|
44
|
-
"@pandacss/config": "0.0.0-dev-
|
|
45
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
46
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
47
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
48
|
-
"@pandacss/types": "0.0.0-dev-
|
|
49
|
-
"@pandacss/astro-plugin-studio": "0.0.0-dev-
|
|
44
|
+
"@pandacss/config": "0.0.0-dev-20231212201947",
|
|
45
|
+
"@pandacss/logger": "0.0.0-dev-20231212201947",
|
|
46
|
+
"@pandacss/shared": "0.0.0-dev-20231212201947",
|
|
47
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231212201947",
|
|
48
|
+
"@pandacss/types": "0.0.0-dev-20231212201947",
|
|
49
|
+
"@pandacss/astro-plugin-studio": "0.0.0-dev-20231212201947"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/react": "18.2.42",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
interface CssRule {
|
|
3
|
+
/**
|
|
4
|
+
* The css properties to generate utilities for.
|
|
5
|
+
* @example ['margin', 'padding']
|
|
6
|
+
*/
|
|
7
|
+
properties: {
|
|
8
|
+
[property: string]: string[]
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The css conditions to generate utilities for.
|
|
12
|
+
* @example ['hover', 'focus']
|
|
13
|
+
*/
|
|
14
|
+
conditions?: string[]
|
|
15
|
+
/**
|
|
16
|
+
* Whether to generate responsive utilities.
|
|
17
|
+
*/
|
|
18
|
+
responsive?: boolean
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type RecipeRule =
|
|
22
|
+
| '*'
|
|
23
|
+
| ({
|
|
24
|
+
conditions?: string[]
|
|
25
|
+
responsive?: boolean
|
|
26
|
+
} & { [variant: string]: boolean | string[] })
|
|
27
|
+
|
|
28
|
+
export interface StaticCssOptions {
|
|
29
|
+
/**
|
|
30
|
+
* The css utility classes to generate.
|
|
31
|
+
*/
|
|
32
|
+
css?: CssRule[]
|
|
33
|
+
/**
|
|
34
|
+
* The css recipes to generate.
|
|
35
|
+
*/
|
|
36
|
+
recipes?: {
|
|
37
|
+
[recipe: string]: RecipeRule[]
|
|
38
|
+
}
|
|
39
|
+
}
|