@pandacss/types 0.37.1 → 0.37.2
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/recipe.d.ts +3 -0
- package/package.json +2 -2
package/dist/recipe.d.ts
CHANGED
|
@@ -122,6 +122,9 @@ export interface SlotRecipeRuntimeFn<S extends string, T extends SlotRecipeVaria
|
|
|
122
122
|
raw: (props?: RecipeSelection<T>) => Record<S, SystemStyleObject>
|
|
123
123
|
variantKeys: (keyof T)[]
|
|
124
124
|
variantMap: RecipeVariantMap<T>
|
|
125
|
+
splitVariantProps<Props extends RecipeSelection<T>>(
|
|
126
|
+
props: Props,
|
|
127
|
+
): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
|
|
125
128
|
getVariantProps: (props?: RecipeSelection<T>) => RecipeSelection<T>
|
|
126
129
|
}
|
|
127
130
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.2",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ncp": "2.0.0",
|
|
32
32
|
"pkg-types": "1.0.3",
|
|
33
33
|
"ts-morph": "21.0.1",
|
|
34
|
-
"@pandacss/extractor": "0.37.
|
|
34
|
+
"@pandacss/extractor": "0.37.2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "tsx scripts/watch.ts",
|