@pandacss/studio 0.24.0 → 0.24.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -47,12 +47,12 @@
47
47
  "react": "18.2.0",
48
48
  "react-dom": "18.2.0",
49
49
  "vite": "5.0.7",
50
- "@pandacss/config": "0.24.0",
51
- "@pandacss/logger": "0.24.0",
52
- "@pandacss/shared": "0.24.0",
53
- "@pandacss/token-dictionary": "0.24.0",
54
- "@pandacss/types": "0.24.0",
55
- "@pandacss/astro-plugin-studio": "0.24.0"
50
+ "@pandacss/config": "0.24.2",
51
+ "@pandacss/logger": "0.24.2",
52
+ "@pandacss/shared": "0.24.2",
53
+ "@pandacss/token-dictionary": "0.24.2",
54
+ "@pandacss/types": "0.24.2",
55
+ "@pandacss/astro-plugin-studio": "0.24.2"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/react": "18.2.42",
@@ -47,7 +47,7 @@ export type RecipeCompoundVariant<T> = T & {
47
47
  css: SystemStyleObject
48
48
  }
49
49
 
50
- export interface RecipeDefinition<T extends RecipeVariantRecord> {
50
+ export interface RecipeDefinition<T extends RecipeVariantRecord = RecipeVariantRecord> {
51
51
  /**
52
52
  * The base styles of the recipe.
53
53
  */
@@ -118,7 +118,10 @@ export type SlotRecipeCompoundVariant<S extends string, T> = T & {
118
118
  css: SlotRecord<S, SystemStyleObject>
119
119
  }
120
120
 
121
- export interface SlotRecipeDefinition<S extends string, T extends SlotRecipeVariantRecord<S>> {
121
+ export interface SlotRecipeDefinition<
122
+ S extends string = string,
123
+ T extends SlotRecipeVariantRecord<S> = SlotRecipeVariantRecord<S>,
124
+ > {
122
125
  /**
123
126
  * The parts/slots of the recipe.
124
127
  */