@pandacss/types 0.37.0 → 0.37.1

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 +2 -1
  2. package/package.json +2 -2
package/dist/recipe.d.ts CHANGED
@@ -45,6 +45,7 @@ export interface RecipeRuntimeFn<T extends RecipeVariantRecord> extends RecipeVa
45
45
  splitVariantProps<Props extends RecipeSelection<T>>(
46
46
  props: Props,
47
47
  ): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
48
+ getVariantProps: (props?: RecipeSelection<T>) => RecipeSelection<T>
48
49
  }
49
50
 
50
51
  type OneOrMore<T> = T | Array<T>
@@ -121,7 +122,7 @@ export interface SlotRecipeRuntimeFn<S extends string, T extends SlotRecipeVaria
121
122
  raw: (props?: RecipeSelection<T>) => Record<S, SystemStyleObject>
122
123
  variantKeys: (keyof T)[]
123
124
  variantMap: RecipeVariantMap<T>
124
- splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
125
+ getVariantProps: (props?: RecipeSelection<T>) => RecipeSelection<T>
125
126
  }
126
127
 
127
128
  export type SlotRecipeCompoundVariant<S extends string, T> = T & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
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.0"
34
+ "@pandacss/extractor": "0.37.1"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "tsx scripts/watch.ts",