@pandacss/types 0.0.0-dev-20240218160739 → 0.0.0-dev-20240218175501

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 +4 -8
  2. package/package.json +2 -2
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-20240218160739",
3
+ "version": "0.0.0-dev-20240218175501",
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-20240218160739"
33
+ "@pandacss/extractor": "0.0.0-dev-20240218175501"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "tsx scripts/watch.ts",