@pandacss/types 0.0.0-dev-20230611163318 → 0.0.0-dev-20230612162601

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 +5 -3
  2. package/package.json +2 -2
package/dist/recipe.d.ts CHANGED
@@ -6,9 +6,11 @@ type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T
6
6
 
7
7
  export type RecipeVariantRecord = Record<any, Record<any, SystemStyleObject>>
8
8
 
9
- export type RecipeSelection<T extends RecipeVariantRecord> = {
10
- [K in keyof T]?: StringToBoolean<keyof T[K]>
11
- }
9
+ export type RecipeSelection<T extends RecipeVariantRecord> = any extends T
10
+ ? {}
11
+ : {
12
+ [K in keyof T]?: StringToBoolean<keyof T[K]>
13
+ }
12
14
 
13
15
  export type RecipeVariantFn<T extends RecipeVariantRecord> = (props?: RecipeSelection<T>) => string
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230611163318",
3
+ "version": "0.0.0-dev-20230612162601",
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-20230611163318"
19
+ "@pandacss/extractor": "0.0.0-dev-20230612162601"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",