@pandacss/types 0.0.0-dev-20230124104736 → 0.0.0-dev-20230125082549
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/config.d.ts +4 -4
- package/dist/tokens.d.ts +8 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export type Config<
|
|
|
22
22
|
* Whether to emit the artifacts to `node_modules` as a package.
|
|
23
23
|
*/
|
|
24
24
|
emitPackage?: boolean
|
|
25
|
+
/**
|
|
26
|
+
* The namespace prefix for the generated css classes and css variables.
|
|
27
|
+
*/
|
|
28
|
+
prefix?: string
|
|
25
29
|
/**
|
|
26
30
|
* Whether to update the .gitignore file.
|
|
27
31
|
*/
|
|
@@ -68,10 +72,6 @@ export type Config<
|
|
|
68
72
|
* The output directory.
|
|
69
73
|
*/
|
|
70
74
|
outdir?: string
|
|
71
|
-
/**
|
|
72
|
-
* The prefix for the css variables.
|
|
73
|
-
*/
|
|
74
|
-
cssVarPrefix?: string
|
|
75
75
|
/**
|
|
76
76
|
* The root selector for the css variables.
|
|
77
77
|
* @default ':where(:host, :root)'
|
package/dist/tokens.d.ts
CHANGED
|
@@ -60,6 +60,13 @@ type Gradient = {
|
|
|
60
60
|
}>
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
type Asset =
|
|
64
|
+
| {
|
|
65
|
+
type: 'url' | 'data'
|
|
66
|
+
value: string
|
|
67
|
+
}
|
|
68
|
+
| { type: 'svg'; path: string }
|
|
69
|
+
|
|
63
70
|
export type TokenDataTypes = {
|
|
64
71
|
zIndex: number
|
|
65
72
|
opacity: number
|
|
@@ -80,6 +87,7 @@ export type TokenDataTypes = {
|
|
|
80
87
|
blurs: string
|
|
81
88
|
gradients: string | Gradient
|
|
82
89
|
screens: string
|
|
90
|
+
assets: string | Asset
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
export type Tokens = {
|