@pandacss/types 0.0.0-dev-20230804155540 → 0.0.0-dev-20230807180010

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.
Files changed (2) hide show
  1. package/dist/recipe.d.ts +3 -1
  2. package/package.json +3 -3
package/dist/recipe.d.ts CHANGED
@@ -14,7 +14,9 @@ export type RecipeSelection<T extends RecipeVariantRecord> = keyof any extends k
14
14
 
15
15
  export type RecipeVariantFn<T extends RecipeVariantRecord> = (props?: RecipeSelection<T>) => string
16
16
 
17
- export type RecipeVariantProps<T extends RecipeVariantFn<RecipeVariantRecord>> = Pretty<Parameters<T>[0]>
17
+ export type RecipeVariantProps<
18
+ T extends RecipeVariantFn<RecipeVariantRecord> | SlotRecipeVariantFn<string, SlotRecipeVariantRecord<string>>,
19
+ > = Pretty<Parameters<T>[0]>
18
20
 
19
21
  type RecipeVariantMap<T extends RecipeVariantRecord> = {
20
22
  [K in keyof T]: Array<keyof T[K]>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230804155540",
3
+ "version": "0.0.0-dev-20230807180010",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -17,8 +17,8 @@
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-20230804155540",
21
- "@pandacss/token-dictionary": "0.0.0-dev-20230804155540"
20
+ "@pandacss/extractor": "0.0.0-dev-20230807180010",
21
+ "@pandacss/token-dictionary": "0.0.0-dev-20230807180010"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsx scripts/build.ts",