@pandacss/studio 0.0.0-dev-20230705181609 → 0.0.0-dev-20230706113853
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-20230706113853",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0",
|
|
35
35
|
"vite": "4.3.9",
|
|
36
|
-
"@pandacss/types": "0.0.0-dev-
|
|
37
|
-
"@pandacss/config": "0.0.0-dev-
|
|
38
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
39
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
40
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
41
|
-
"@pandacss/node": "0.0.0-dev-
|
|
36
|
+
"@pandacss/types": "0.0.0-dev-20230706113853",
|
|
37
|
+
"@pandacss/config": "0.0.0-dev-20230706113853",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20230706113853",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230706113853",
|
|
40
|
+
"@pandacss/logger": "0.0.0-dev-20230706113853",
|
|
41
|
+
"@pandacss/node": "0.0.0-dev-20230706113853"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "18.2.14",
|
|
45
45
|
"@types/react-dom": "18.2.6",
|
|
46
46
|
"@vitejs/plugin-react": "4.0.1",
|
|
47
47
|
"execa": "7.1.1",
|
|
48
|
-
"@pandacss/dev": "0.0.0-dev-
|
|
48
|
+
"@pandacss/dev": "0.0.0-dev-20230706113853"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { RecipeVariantRecord, RecipeConfig } from './recipe'
|
|
3
3
|
import type { Parts } from './parts'
|
|
4
|
-
import type { PatternConfig } from './pattern'
|
|
4
|
+
import type { PatternConfig, PatternProperties } from './pattern'
|
|
5
5
|
import type { GlobalStyleObject, SystemStyleObject } from './system-types'
|
|
6
6
|
import type { CompositionStyles } from './composition'
|
|
7
7
|
|
|
@@ -11,6 +11,6 @@ declare module '@pandacss/dev' {
|
|
|
11
11
|
export function defineGlobalStyles(definition: GlobalStyleObject): GlobalStyleObject
|
|
12
12
|
export function defineTextStyles(definition: CompositionStyles['textStyles']): CompositionStyles['textStyles']
|
|
13
13
|
export function defineLayerStyles(definition: CompositionStyles['layerStyles']): CompositionStyles['layerStyles']
|
|
14
|
-
export function definePattern<T>(config: PatternConfig<T>): PatternConfig
|
|
14
|
+
export function definePattern<T extends PatternProperties>(config: PatternConfig<T>): PatternConfig
|
|
15
15
|
export function defineParts<T extends Parts>(parts: T): (config: Partial<Record<keyof T, SystemStyleObject>>) => Partial<Record<keyof T, SystemStyleObject>>;
|
|
16
16
|
}
|
|
@@ -15,7 +15,7 @@ export type PatternHelpers = {
|
|
|
15
15
|
map: (value: any, fn: (value: string) => string | undefined) => any
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
type PatternProperties = Record<string, PatternProperty>
|
|
18
|
+
export type PatternProperties = Record<string, PatternProperty>
|
|
19
19
|
|
|
20
20
|
type Props<T> = Record<LiteralUnion<keyof T>, any>
|
|
21
21
|
|