@pandacss/types 0.0.0-dev-20230516185132 → 0.0.0-dev-20230516191725

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 -0
  2. package/package.json +2 -2
package/dist/recipe.d.ts CHANGED
@@ -18,6 +18,9 @@ export type RecipeRuntimeFn<T extends RecipeVariantRecord> = RecipeVariantFn<T>
18
18
  variants: (keyof T)[]
19
19
  resolve: (props: RecipeSelection<T>) => SystemStyleObject
20
20
  config: RecipeConfig<T>
21
+ splitVariantProps<Props extends RecipeSelection<T>>(
22
+ props: Props,
23
+ ): [RecipeSelection<T>, Pretty<Omit<Props, keyof RecipeVariantRecord>>]
21
24
  }
22
25
 
23
26
  export type RecipeCompoundSelection<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230516185132",
3
+ "version": "0.0.0-dev-20230516191725",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -16,7 +16,7 @@
16
16
  "csstype": "3.1.2"
17
17
  },
18
18
  "dependencies": {
19
- "@pandacss/extractor": "0.0.0-dev-20230516185132"
19
+ "@pandacss/extractor": "0.0.0-dev-20230516191725"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",