@pandacss/types 0.0.0-dev-20240107170553 → 0.0.0-dev-20240108000519

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/config.d.ts +16 -8
  2. package/package.json +2 -2
package/dist/config.d.ts CHANGED
@@ -107,13 +107,20 @@ export interface ExtendableOptions {
107
107
  patterns?: ExtendablePatterns
108
108
  }
109
109
 
110
- export interface OutdirImportMap {
110
+ export interface ImportMapInput {
111
111
  css: string
112
112
  recipes: string
113
113
  patterns: string
114
114
  jsx?: string
115
115
  }
116
116
 
117
+ export interface ImportMapOutput<T = string[]> {
118
+ css: T
119
+ recipe: T
120
+ pattern: T
121
+ jsx: T
122
+ }
123
+
117
124
  interface FileSystemOptions {
118
125
  /**
119
126
  * Whether to clean the output directory before generating the css.
@@ -137,7 +144,7 @@ interface FileSystemOptions {
137
144
  * }
138
145
  * ```
139
146
  */
140
- importMap?: string | OutdirImportMap
147
+ importMap?: string | ImportMapInput
141
148
  /**
142
149
  * List of files glob to watch for changes.
143
150
  * @default []
@@ -305,11 +312,6 @@ interface PresetOptions {
305
312
  * Used to create reusable config presets for your project or team.
306
313
  */
307
314
  presets?: (string | Preset | Promise<Preset>)[]
308
- /**
309
- * Whether to opt-out of the defaults config presets: [`@pandacss/preset-base`, `@pandacss/preset-panda`]
310
- * @default 'false'
311
- */
312
- eject?: boolean
313
315
  }
314
316
 
315
317
  interface HooksOptions {
@@ -324,7 +326,13 @@ export interface Config
324
326
  FileSystemOptions,
325
327
  JsxOptions,
326
328
  PresetOptions,
327
- HooksOptions {}
329
+ HooksOptions {
330
+ /**
331
+ * Whether to opt-out of the defaults config presets: [`@pandacss/preset-base`, `@pandacss/preset-panda`]
332
+ * @default 'false'
333
+ */
334
+ eject?: boolean
335
+ }
328
336
 
329
337
  export interface Preset extends ExtendableOptions, PresetOptions {}
330
338
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20240107170553",
3
+ "version": "0.0.0-dev-20240108000519",
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
  "hookable": "5.5.3",
31
31
  "ncp": "^2.0.0",
32
32
  "pkg-types": "1.0.3",
33
- "@pandacss/extractor": "0.0.0-dev-20240107170553"
33
+ "@pandacss/extractor": "0.0.0-dev-20240108000519"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "tsx scripts/watch.ts",