@pandacss/studio 0.23.0 → 0.24.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/dist/studio.d.mts +1 -1
- package/dist/studio.d.ts +1 -1
- package/dist/studio.mjs +1 -1
- package/package.json +13 -7
- package/styled-system/types/static-css.d.ts +23 -17
- package/index.ts +0 -1
package/dist/studio.d.mts
CHANGED
package/dist/studio.d.ts
CHANGED
package/dist/studio.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
7
7
|
"types": "dist/studio.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
|
+
"homepage": "https://panda-css.com",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/chakra-ui/panda.git",
|
|
13
|
+
"directory": "packages/studio"
|
|
14
|
+
},
|
|
9
15
|
"publishConfig": {
|
|
10
16
|
"access": "public"
|
|
11
17
|
},
|
|
@@ -41,12 +47,12 @@
|
|
|
41
47
|
"react": "18.2.0",
|
|
42
48
|
"react-dom": "18.2.0",
|
|
43
49
|
"vite": "5.0.7",
|
|
44
|
-
"@pandacss/config": "0.
|
|
45
|
-
"@pandacss/logger": "0.
|
|
46
|
-
"@pandacss/shared": "0.
|
|
47
|
-
"@pandacss/token-dictionary": "0.
|
|
48
|
-
"@pandacss/types": "0.
|
|
49
|
-
"@pandacss/astro-plugin-studio": "0.
|
|
50
|
+
"@pandacss/config": "0.24.0",
|
|
51
|
+
"@pandacss/logger": "0.24.0",
|
|
52
|
+
"@pandacss/shared": "0.24.0",
|
|
53
|
+
"@pandacss/token-dictionary": "0.24.0",
|
|
54
|
+
"@pandacss/types": "0.24.0",
|
|
55
|
+
"@pandacss/astro-plugin-studio": "0.24.0"
|
|
50
56
|
},
|
|
51
57
|
"devDependencies": {
|
|
52
58
|
"@types/react": "18.2.42",
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
interface
|
|
2
|
+
interface WithConditions {
|
|
3
3
|
/**
|
|
4
|
-
* The css
|
|
5
|
-
* @example ['margin', 'padding']
|
|
6
|
-
*/
|
|
7
|
-
properties: {
|
|
8
|
-
[property: string]: string[]
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The css conditions to generate utilities for.
|
|
4
|
+
* The css conditions to generate for the rule.
|
|
12
5
|
* @example ['hover', 'focus']
|
|
13
6
|
*/
|
|
14
7
|
conditions?: string[]
|
|
8
|
+
responsive?: boolean
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface CssRule extends WithConditions {
|
|
15
12
|
/**
|
|
16
|
-
*
|
|
13
|
+
* The css properties to generate utilities for.
|
|
14
|
+
* @example ['margin', 'padding']
|
|
17
15
|
*/
|
|
18
|
-
|
|
16
|
+
properties: {
|
|
17
|
+
[property: string]: Array<string | number>
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
interface RecipeRuleVariants {
|
|
22
|
+
[variant: string]: boolean | string[]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type RecipeRule = '*' | (RecipeRuleVariants & WithConditions)
|
|
26
|
+
export type PatternRule = '*' | CssRule
|
|
27
27
|
|
|
28
28
|
export interface StaticCssOptions {
|
|
29
29
|
/**
|
|
@@ -36,4 +36,10 @@ export interface StaticCssOptions {
|
|
|
36
36
|
recipes?: {
|
|
37
37
|
[recipe: string]: RecipeRule[]
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* The css patterns to generate.
|
|
41
|
+
*/
|
|
42
|
+
patterns?: {
|
|
43
|
+
[pattern: string]: PatternRule[]
|
|
44
|
+
}
|
|
39
45
|
}
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './scripts/studio'
|