@pandacss/types 0.0.0-dev-20240218165800 → 0.0.0-dev-20240218185104

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/dist/config.d.ts CHANGED
@@ -184,13 +184,13 @@ interface FileSystemOptions {
184
184
  logLevel?: 'debug' | 'info' | 'warn' | 'error' | 'silent'
185
185
  }
186
186
 
187
- type JsxFramework = 'react' | 'solid' | 'preact' | 'vue' | 'qwik'
187
+ export type JsxFramework = 'react' | 'solid' | 'preact' | 'vue' | 'qwik'
188
188
 
189
189
  interface JsxOptions {
190
190
  /**
191
191
  * The framework to use for generating supercharged elements.
192
192
  */
193
- jsxFramework?: JsxFramework
193
+ jsxFramework?: JsxFramework | (string & {})
194
194
  /**
195
195
  * The factory name of the element
196
196
  * @default 'styled'
package/dist/recipe.d.ts CHANGED
@@ -74,10 +74,6 @@ export interface RecipeDefinition<T extends RecipeVariantRecord = RecipeVariantR
74
74
  * The styles to apply when a combination of variants is selected.
75
75
  */
76
76
  compoundVariants?: Pretty<RecipeCompoundVariant<RecipeCompoundSelection<T>>>[]
77
- /**
78
- * Variants to pre-generate, will be include in the final `config.staticCss`
79
- */
80
- staticCss?: RecipeRule[]
81
77
  }
82
78
 
83
79
  export type RecipeCreatorFn = <T extends RecipeVariantRecord>(config: RecipeDefinition<T>) => RecipeRuntimeFn<T>
@@ -98,6 +94,10 @@ interface RecipeConfigMeta {
98
94
  * @example ['Button', 'Link', /Button$/]
99
95
  */
100
96
  jsx?: Array<string | RegExp>
97
+ /**
98
+ * Variants to pre-generate, will be include in the final `config.staticCss`
99
+ */
100
+ staticCss?: RecipeRule[]
101
101
  }
102
102
 
103
103
  export interface RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord>
@@ -152,10 +152,6 @@ export interface SlotRecipeDefinition<
152
152
  * The styles to apply when a combination of variants is selected.
153
153
  */
154
154
  compoundVariants?: Pretty<SlotRecipeCompoundVariant<S, RecipeCompoundSelection<T>>>[]
155
- /**
156
- * Variants to pre-generate, will be include in the final `config.staticCss`
157
- */
158
- staticCss?: RecipeRule[]
159
155
  }
160
156
 
161
157
  export type SlotRecipeCreatorFn = <S extends string, T extends SlotRecipeVariantRecord<S>>(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20240218165800",
3
+ "version": "0.0.0-dev-20240218185104",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -30,7 +30,7 @@
30
30
  "microdiff": "1.3.2",
31
31
  "ncp": "2.0.0",
32
32
  "pkg-types": "1.0.3",
33
- "@pandacss/extractor": "0.0.0-dev-20240218165800"
33
+ "@pandacss/extractor": "0.0.0-dev-20240218185104"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "tsx scripts/watch.ts",