@pandacss/studio 0.0.0-dev-20230905135910 → 0.0.0-dev-20230905150548
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 +8 -8
- package/styled-system/jsx/index.d.ts +1 -1
- package/styled-system/patterns/aspect-ratio.d.ts +1 -1
- package/styled-system/patterns/bleed.d.ts +1 -1
- package/styled-system/patterns/box.d.ts +1 -1
- package/styled-system/patterns/center.d.ts +1 -1
- package/styled-system/patterns/circle.d.ts +1 -1
- package/styled-system/patterns/container.d.ts +1 -1
- package/styled-system/patterns/divider.d.ts +1 -1
- package/styled-system/patterns/flex.d.ts +1 -1
- package/styled-system/patterns/float.d.ts +1 -1
- package/styled-system/patterns/grid-item.d.ts +1 -1
- package/styled-system/patterns/grid.d.ts +1 -1
- package/styled-system/patterns/hstack.d.ts +1 -1
- package/styled-system/patterns/link-box.d.ts +1 -1
- package/styled-system/patterns/link-overlay.d.ts +1 -1
- package/styled-system/patterns/spacer.d.ts +1 -1
- package/styled-system/patterns/square.d.ts +1 -1
- package/styled-system/patterns/stack.d.ts +1 -1
- package/styled-system/patterns/styled-link.d.ts +1 -1
- package/styled-system/patterns/visually-hidden.d.ts +1 -1
- package/styled-system/patterns/vstack.d.ts +1 -1
- package/styled-system/patterns/wrap.d.ts +1 -1
- package/styled-system/types/index.d.ts +2 -0
- package/styled-system/types/recipe.d.ts +1 -0
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-20230905150548",
|
|
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.4.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-20230905150548",
|
|
37
|
+
"@pandacss/config": "0.0.0-dev-20230905150548",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20230905150548",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230905150548",
|
|
40
|
+
"@pandacss/logger": "0.0.0-dev-20230905150548",
|
|
41
|
+
"@pandacss/node": "0.0.0-dev-20230905150548"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "18.2.18",
|
|
45
45
|
"@types/react-dom": "18.2.7",
|
|
46
46
|
"@vitejs/plugin-react": "4.0.4",
|
|
47
47
|
"execa": "7.2.0",
|
|
48
|
-
"@pandacss/dev": "0.0.0-dev-
|
|
48
|
+
"@pandacss/dev": "0.0.0-dev-20230905150548"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|
|
@@ -14,7 +14,7 @@ type AspectRatioStyles = AspectRatioProperties & DistributiveOmit<SystemStyleObj
|
|
|
14
14
|
|
|
15
15
|
interface AspectRatioPatternFn {
|
|
16
16
|
(styles?: AspectRatioStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: AspectRatioStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -15,7 +15,7 @@ type BleedStyles = BleedProperties & DistributiveOmit<SystemStyleObject, keyof B
|
|
|
15
15
|
|
|
16
16
|
interface BleedPatternFn {
|
|
17
17
|
(styles?: BleedStyles): string
|
|
18
|
-
raw: (styles
|
|
18
|
+
raw: (styles?: BleedStyles) => SystemStyleObject
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
@@ -14,7 +14,7 @@ type CenterStyles = CenterProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
14
14
|
|
|
15
15
|
interface CenterPatternFn {
|
|
16
16
|
(styles?: CenterStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: CenterStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type CircleStyles = CircleProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
14
14
|
|
|
15
15
|
interface CirclePatternFn {
|
|
16
16
|
(styles?: CircleStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: CircleStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type ContainerStyles = ContainerProperties & DistributiveOmit<SystemStyleObject,
|
|
|
14
14
|
|
|
15
15
|
interface ContainerPatternFn {
|
|
16
16
|
(styles?: ContainerStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: ContainerStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -16,7 +16,7 @@ type DividerStyles = DividerProperties & DistributiveOmit<SystemStyleObject, key
|
|
|
16
16
|
|
|
17
17
|
interface DividerPatternFn {
|
|
18
18
|
(styles?: DividerStyles): string
|
|
19
|
-
raw: (styles
|
|
19
|
+
raw: (styles?: DividerStyles) => SystemStyleObject
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
@@ -17,7 +17,7 @@ type FloatStyles = FloatProperties & DistributiveOmit<SystemStyleObject, keyof F
|
|
|
17
17
|
|
|
18
18
|
interface FloatPatternFn {
|
|
19
19
|
(styles?: FloatStyles): string
|
|
20
|
-
raw: (styles
|
|
20
|
+
raw: (styles?: FloatStyles) => SystemStyleObject
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
@@ -19,7 +19,7 @@ type GridItemStyles = GridItemProperties & DistributiveOmit<SystemStyleObject, k
|
|
|
19
19
|
|
|
20
20
|
interface GridItemPatternFn {
|
|
21
21
|
(styles?: GridItemStyles): string
|
|
22
|
-
raw: (styles
|
|
22
|
+
raw: (styles?: GridItemStyles) => SystemStyleObject
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
@@ -15,7 +15,7 @@ type HstackStyles = HstackProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
15
15
|
|
|
16
16
|
interface HstackPatternFn {
|
|
17
17
|
(styles?: HstackStyles): string
|
|
18
|
-
raw: (styles
|
|
18
|
+
raw: (styles?: HstackStyles) => SystemStyleObject
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
@@ -14,7 +14,7 @@ type LinkBoxStyles = LinkBoxProperties & DistributiveOmit<SystemStyleObject, key
|
|
|
14
14
|
|
|
15
15
|
interface LinkBoxPatternFn {
|
|
16
16
|
(styles?: LinkBoxStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: LinkBoxStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type LinkOverlayStyles = LinkOverlayProperties & DistributiveOmit<SystemStyleObj
|
|
|
14
14
|
|
|
15
15
|
interface LinkOverlayPatternFn {
|
|
16
16
|
(styles?: LinkOverlayStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: LinkOverlayStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type SpacerStyles = SpacerProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
14
14
|
|
|
15
15
|
interface SpacerPatternFn {
|
|
16
16
|
(styles?: SpacerStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: SpacerStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type SquareStyles = SquareProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
14
14
|
|
|
15
15
|
interface SquarePatternFn {
|
|
16
16
|
(styles?: SquareStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: SquareStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ type StackStyles = StackProperties & DistributiveOmit<SystemStyleObject, keyof S
|
|
|
17
17
|
|
|
18
18
|
interface StackPatternFn {
|
|
19
19
|
(styles?: StackStyles): string
|
|
20
|
-
raw: (styles
|
|
20
|
+
raw: (styles?: StackStyles) => SystemStyleObject
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
@@ -14,7 +14,7 @@ type StyledLinkStyles = StyledLinkProperties & DistributiveOmit<SystemStyleObjec
|
|
|
14
14
|
|
|
15
15
|
interface StyledLinkPatternFn {
|
|
16
16
|
(styles?: StyledLinkStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: StyledLinkStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ type VisuallyHiddenStyles = VisuallyHiddenProperties & DistributiveOmit<SystemSt
|
|
|
14
14
|
|
|
15
15
|
interface VisuallyHiddenPatternFn {
|
|
16
16
|
(styles?: VisuallyHiddenStyles): string
|
|
17
|
-
raw: (styles
|
|
17
|
+
raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -15,7 +15,7 @@ type VstackStyles = VstackProperties & DistributiveOmit<SystemStyleObject, keyof
|
|
|
15
15
|
|
|
16
16
|
interface VstackPatternFn {
|
|
17
17
|
(styles?: VstackStyles): string
|
|
18
|
-
raw: (styles
|
|
18
|
+
raw: (styles?: VstackStyles) => SystemStyleObject
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import './global.d.ts'
|
|
3
3
|
export type { ConditionalValue } from './conditions';
|
|
4
|
+
export type { PatternConfig, PatternProperties } from './pattern';
|
|
5
|
+
export type { RecipeVariantRecord, RecipeConfig, SlotRecipeVariantRecord, SlotRecipeConfig } from './recipe';
|
|
4
6
|
export type { GlobalStyleObject, JsxStyleProps, SystemStyleObject } from './system-types';
|
|
@@ -100,6 +100,7 @@ export type SlotRecipeVariantFn<S extends string, T extends RecipeVariantRecord>
|
|
|
100
100
|
) => SlotRecord<S, string>
|
|
101
101
|
|
|
102
102
|
export type SlotRecipeRuntimeFn<S extends string, T extends SlotRecipeVariantRecord<S>> = SlotRecipeVariantFn<S, T> & {
|
|
103
|
+
raw: (props?: RecipeSelection<T>) => Record<S, SystemStyleObject>
|
|
103
104
|
variantKeys: (keyof T)[]
|
|
104
105
|
variantMap: RecipeVariantMap<T>
|
|
105
106
|
splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
|