@pandacss/types 0.0.0-dev-20231121133835 → 0.0.0-dev-20231122132114

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 -2
  2. package/package.json +2 -2
package/dist/recipe.d.ts CHANGED
@@ -7,7 +7,7 @@ export type RecipeVariantRecord = Record<any, Record<any, SystemStyleObject>>
7
7
  export type RecipeSelection<T extends RecipeVariantRecord> = keyof any extends keyof T
8
8
  ? {}
9
9
  : {
10
- [K in keyof T]?: StringToBoolean<keyof T[K]>
10
+ [K in keyof T]?: StringToBoolean<keyof T[K]> | undefined
11
11
  }
12
12
 
13
13
  export type RecipeVariantFn<T extends RecipeVariantRecord> = (props?: RecipeSelection<T>) => string
@@ -38,7 +38,7 @@ export interface RecipeRuntimeFn<T extends RecipeVariantRecord> extends RecipeVa
38
38
  type OneOrMore<T> = T | Array<T>
39
39
 
40
40
  export type RecipeCompoundSelection<T> = {
41
- [K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>>
41
+ [K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>> | undefined
42
42
  }
43
43
 
44
44
  export type RecipeCompoundVariant<T> = T & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20231121133835",
3
+ "version": "0.0.0-dev-20231122132114",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -24,7 +24,7 @@
24
24
  "hookable": "5.5.3",
25
25
  "ncp": "^2.0.0",
26
26
  "pkg-types": "1.0.3",
27
- "@pandacss/extractor": "0.0.0-dev-20231121133835"
27
+ "@pandacss/extractor": "0.0.0-dev-20231122132114"
28
28
  },
29
29
  "scripts": {
30
30
  "dev": "tsx scripts/watch.ts",