@pandacss/types 0.0.0-dev-20230926171939 → 0.0.0-dev-20230927131248
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/theme.d.ts +13 -1
- package/dist/utility.d.ts +6 -2
- package/package.json +2 -2
package/dist/theme.d.ts
CHANGED
|
@@ -39,6 +39,18 @@ export interface Theme {
|
|
|
39
39
|
slotRecipes?: Record<string, SlotRecipeConfig>
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
interface PartialTheme extends Omit<Theme, 'recipes' | 'slotRecipes'> {
|
|
43
|
+
/**
|
|
44
|
+
* Multi-variant style definitions for your project.
|
|
45
|
+
* Useful for defining component styles.
|
|
46
|
+
*/
|
|
47
|
+
recipes?: Record<string, Partial<RecipeConfig>>
|
|
48
|
+
/**
|
|
49
|
+
* Multi-variant style definitions for component slots.
|
|
50
|
+
*/
|
|
51
|
+
slotRecipes?: Record<string, Partial<SlotRecipeConfig>>
|
|
52
|
+
}
|
|
53
|
+
|
|
42
54
|
export interface ExtendableTheme extends Theme {
|
|
43
|
-
extend?:
|
|
55
|
+
extend?: PartialTheme | undefined
|
|
44
56
|
}
|
package/dist/utility.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ export type UtilityConfig = {
|
|
|
55
55
|
[property in LiteralUnion<CssProperty>]?: PropertyConfig
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
type UtilityConfigWithExtend = {
|
|
59
|
+
[pattern in LiteralUnion<CssProperty>]?: PropertyConfig | UtilityConfig | undefined
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type ExtendableUtilityConfig = UtilityConfigWithExtend & {
|
|
63
|
+
extend?: UtilityConfig | undefined
|
|
60
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230927131248",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"hookable": "5.5.3",
|
|
18
18
|
"ncp": "^2.0.0",
|
|
19
19
|
"pkg-types": "1.0.3",
|
|
20
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
20
|
+
"@pandacss/extractor": "0.0.0-dev-20230927131248"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsx scripts/build.ts",
|