@pandacss/generator 0.15.5 → 0.17.0

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/index.d.mts CHANGED
@@ -2,12 +2,11 @@ import * as _pandacss_core from '@pandacss/core';
2
2
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
3
3
  import * as _pandacss_types from '@pandacss/types';
4
4
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
5
- import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
6
5
 
7
6
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
7
  patterns: {
9
8
  keys: string[];
10
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
9
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
11
10
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
12
11
  getNames: (name: string) => {
13
12
  upperName: string;
@@ -19,7 +18,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
19
18
  details: {
20
19
  props: string[];
21
20
  blocklistType: string;
22
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
21
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
23
22
  type: "pattern";
24
23
  match: RegExp;
25
24
  jsx: (string | RegExp)[];
@@ -33,7 +32,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
33
32
  filter: (jsxName: string) => {
34
33
  props: string[];
35
34
  blocklistType: string;
36
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
35
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
37
36
  type: "pattern";
38
37
  match: RegExp;
39
38
  jsx: (string | RegExp)[];
@@ -49,6 +48,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
49
48
  factoryName: string;
50
49
  upperName: string;
51
50
  typeName: string;
51
+ variantName: string;
52
52
  componentName: string;
53
53
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
54
54
  styleProps: "all" | "minimal" | "none";
@@ -157,8 +157,237 @@ declare namespace messages {
157
157
  };
158
158
  }
159
159
 
160
+ declare function generateResetCss(ctx: Context, scope?: string): string;
161
+
162
+ declare function generateTokenCss(ctx: Context): string;
163
+
164
+ declare function generateKeyframeCss(ctx: Context): string;
165
+
160
166
  declare const createGenerator: (conf: ConfigResultWithHooks) => {
161
167
  getArtifacts: () => _pandacss_types.Artifact[];
168
+ getStaticCss: (ctx: {
169
+ patterns: {
170
+ keys: string[];
171
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
172
+ transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
173
+ getNames: (name: string) => {
174
+ upperName: string;
175
+ baseName: string;
176
+ dashName: string;
177
+ styleFnName: string;
178
+ jsxName: string;
179
+ };
180
+ details: {
181
+ props: string[];
182
+ blocklistType: string;
183
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
184
+ type: "pattern";
185
+ match: RegExp;
186
+ jsx: (string | RegExp)[];
187
+ upperName: string;
188
+ baseName: string;
189
+ dashName: string;
190
+ styleFnName: string;
191
+ jsxName: string;
192
+ }[];
193
+ find: (jsxName: string) => string;
194
+ filter: (jsxName: string) => {
195
+ props: string[];
196
+ blocklistType: string;
197
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
198
+ type: "pattern";
199
+ match: RegExp;
200
+ jsx: (string | RegExp)[];
201
+ upperName: string;
202
+ baseName: string;
203
+ dashName: string;
204
+ styleFnName: string;
205
+ jsxName: string;
206
+ }[];
207
+ isEmpty: () => boolean;
208
+ };
209
+ jsx: {
210
+ factoryName: string;
211
+ upperName: string;
212
+ typeName: string;
213
+ variantName: string;
214
+ componentName: string;
215
+ framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
216
+ styleProps: "all" | "minimal" | "none";
217
+ };
218
+ paths: {
219
+ get: (file?: string | undefined) => string[];
220
+ root: string[];
221
+ css: string[];
222
+ token: string[];
223
+ types: string[];
224
+ recipe: string[];
225
+ pattern: string[];
226
+ chunk: string[];
227
+ outCss: string[];
228
+ jsx: string[];
229
+ };
230
+ file: {
231
+ ext(file: string): string;
232
+ extDts(file: string): string;
233
+ __extDts(file: string): string;
234
+ import(mod: string, file: string): string;
235
+ importType(mod: string, file: string): string;
236
+ exportType(mod: string, file: string): string;
237
+ exportStar(file: string): string;
238
+ exportTypeStar(file: string): string;
239
+ isTypeFile(file: string): boolean;
240
+ };
241
+ isTemplateLiteralSyntax: boolean;
242
+ studio: {
243
+ outdir: string;
244
+ logo?: string | undefined;
245
+ inject?: {
246
+ head?: string | undefined;
247
+ body?: string | undefined;
248
+ } | undefined;
249
+ };
250
+ hash: {
251
+ tokens: boolean | undefined;
252
+ className: boolean | undefined;
253
+ };
254
+ prefix: {
255
+ tokens: string | undefined;
256
+ className: string | undefined;
257
+ };
258
+ tokens: _pandacss_token_dictionary.TokenDictionary;
259
+ utility: _pandacss_core.Utility;
260
+ properties: string[];
261
+ isValidProperty: (key: string) => boolean;
262
+ recipes: _pandacss_core.Recipes;
263
+ conditions: _pandacss_core.Conditions;
264
+ createSheetContext: () => _pandacss_core.StylesheetContext;
265
+ createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
266
+ layers: _pandacss_types.CascadeLayers;
267
+ isValidLayerRule: (layerRule: string) => boolean;
268
+ layerString: string;
269
+ layerNames: string[];
270
+ hooks: _pandacss_types.PandaHookable;
271
+ path: string;
272
+ config: _pandacss_types.UserConfig;
273
+ tsconfig?: TSConfig | undefined;
274
+ tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
275
+ tsconfigFile?: string | undefined;
276
+ dependencies: string[];
277
+ }) => string;
278
+ getResetCss: typeof generateResetCss;
279
+ getTokenCss: typeof generateTokenCss;
280
+ getKeyframeCss: typeof generateKeyframeCss;
281
+ getGlobalCss: (ctx: {
282
+ patterns: {
283
+ keys: string[];
284
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
285
+ transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
286
+ getNames: (name: string) => {
287
+ upperName: string;
288
+ baseName: string;
289
+ dashName: string;
290
+ styleFnName: string;
291
+ jsxName: string;
292
+ };
293
+ details: {
294
+ props: string[];
295
+ blocklistType: string;
296
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
297
+ type: "pattern";
298
+ match: RegExp;
299
+ jsx: (string | RegExp)[];
300
+ upperName: string;
301
+ baseName: string;
302
+ dashName: string;
303
+ styleFnName: string;
304
+ jsxName: string;
305
+ }[];
306
+ find: (jsxName: string) => string;
307
+ filter: (jsxName: string) => {
308
+ props: string[];
309
+ blocklistType: string;
310
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
311
+ type: "pattern";
312
+ match: RegExp;
313
+ jsx: (string | RegExp)[];
314
+ upperName: string;
315
+ baseName: string;
316
+ dashName: string;
317
+ styleFnName: string;
318
+ jsxName: string;
319
+ }[];
320
+ isEmpty: () => boolean;
321
+ };
322
+ jsx: {
323
+ factoryName: string;
324
+ upperName: string;
325
+ typeName: string;
326
+ variantName: string;
327
+ componentName: string;
328
+ framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
329
+ styleProps: "all" | "minimal" | "none";
330
+ };
331
+ paths: {
332
+ get: (file?: string | undefined) => string[];
333
+ root: string[];
334
+ css: string[];
335
+ token: string[];
336
+ types: string[];
337
+ recipe: string[];
338
+ pattern: string[];
339
+ chunk: string[];
340
+ outCss: string[];
341
+ jsx: string[];
342
+ };
343
+ file: {
344
+ ext(file: string): string;
345
+ extDts(file: string): string;
346
+ __extDts(file: string): string;
347
+ import(mod: string, file: string): string;
348
+ importType(mod: string, file: string): string;
349
+ exportType(mod: string, file: string): string;
350
+ exportStar(file: string): string;
351
+ exportTypeStar(file: string): string;
352
+ isTypeFile(file: string): boolean;
353
+ };
354
+ isTemplateLiteralSyntax: boolean;
355
+ studio: {
356
+ outdir: string;
357
+ logo?: string | undefined;
358
+ inject?: {
359
+ head?: string | undefined;
360
+ body?: string | undefined;
361
+ } | undefined;
362
+ };
363
+ hash: {
364
+ tokens: boolean | undefined;
365
+ className: boolean | undefined;
366
+ };
367
+ prefix: {
368
+ tokens: string | undefined;
369
+ className: string | undefined;
370
+ };
371
+ tokens: _pandacss_token_dictionary.TokenDictionary;
372
+ utility: _pandacss_core.Utility;
373
+ properties: string[];
374
+ isValidProperty: (key: string) => boolean;
375
+ recipes: _pandacss_core.Recipes;
376
+ conditions: _pandacss_core.Conditions;
377
+ createSheetContext: () => _pandacss_core.StylesheetContext;
378
+ createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
379
+ layers: _pandacss_types.CascadeLayers;
380
+ isValidLayerRule: (layerRule: string) => boolean;
381
+ layerString: string;
382
+ layerNames: string[];
383
+ hooks: _pandacss_types.PandaHookable;
384
+ path: string;
385
+ config: _pandacss_types.UserConfig;
386
+ tsconfig?: TSConfig | undefined;
387
+ tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
388
+ tsconfigFile?: string | undefined;
389
+ dependencies: string[];
390
+ }) => string;
162
391
  getCss: (options: {
163
392
  files: string[];
164
393
  resolve?: boolean | undefined;
@@ -189,7 +418,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
189
418
  nodes: ({
190
419
  props: string[];
191
420
  blocklistType: string;
192
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
421
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
193
422
  type: "pattern";
194
423
  match: RegExp;
195
424
  jsx: (string | RegExp)[];
@@ -232,7 +461,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
232
461
  getPatternsByJsxName: (jsxName: string) => {
233
462
  props: string[];
234
463
  blocklistType: string;
235
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
464
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
236
465
  type: "pattern";
237
466
  match: RegExp;
238
467
  jsx: (string | RegExp)[];
@@ -247,7 +476,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
247
476
  };
248
477
  patterns: {
249
478
  keys: string[];
250
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
479
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
251
480
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
252
481
  getNames: (name: string) => {
253
482
  upperName: string;
@@ -259,7 +488,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
259
488
  details: {
260
489
  props: string[];
261
490
  blocklistType: string;
262
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
491
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
263
492
  type: "pattern";
264
493
  match: RegExp;
265
494
  jsx: (string | RegExp)[];
@@ -273,7 +502,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
273
502
  filter: (jsxName: string) => {
274
503
  props: string[];
275
504
  blocklistType: string;
276
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
505
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
277
506
  type: "pattern";
278
507
  match: RegExp;
279
508
  jsx: (string | RegExp)[];
@@ -289,6 +518,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
289
518
  factoryName: string;
290
519
  upperName: string;
291
520
  typeName: string;
521
+ variantName: string;
292
522
  componentName: string;
293
523
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
294
524
  styleProps: "all" | "minimal" | "none";
package/dist/index.d.ts CHANGED
@@ -2,12 +2,11 @@ import * as _pandacss_core from '@pandacss/core';
2
2
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
3
3
  import * as _pandacss_types from '@pandacss/types';
4
4
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
5
- import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
6
5
 
7
6
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
7
  patterns: {
9
8
  keys: string[];
10
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
9
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
11
10
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
12
11
  getNames: (name: string) => {
13
12
  upperName: string;
@@ -19,7 +18,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
19
18
  details: {
20
19
  props: string[];
21
20
  blocklistType: string;
22
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
21
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
23
22
  type: "pattern";
24
23
  match: RegExp;
25
24
  jsx: (string | RegExp)[];
@@ -33,7 +32,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
33
32
  filter: (jsxName: string) => {
34
33
  props: string[];
35
34
  blocklistType: string;
36
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
35
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
37
36
  type: "pattern";
38
37
  match: RegExp;
39
38
  jsx: (string | RegExp)[];
@@ -49,6 +48,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
49
48
  factoryName: string;
50
49
  upperName: string;
51
50
  typeName: string;
51
+ variantName: string;
52
52
  componentName: string;
53
53
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
54
54
  styleProps: "all" | "minimal" | "none";
@@ -157,8 +157,237 @@ declare namespace messages {
157
157
  };
158
158
  }
159
159
 
160
+ declare function generateResetCss(ctx: Context, scope?: string): string;
161
+
162
+ declare function generateTokenCss(ctx: Context): string;
163
+
164
+ declare function generateKeyframeCss(ctx: Context): string;
165
+
160
166
  declare const createGenerator: (conf: ConfigResultWithHooks) => {
161
167
  getArtifacts: () => _pandacss_types.Artifact[];
168
+ getStaticCss: (ctx: {
169
+ patterns: {
170
+ keys: string[];
171
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
172
+ transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
173
+ getNames: (name: string) => {
174
+ upperName: string;
175
+ baseName: string;
176
+ dashName: string;
177
+ styleFnName: string;
178
+ jsxName: string;
179
+ };
180
+ details: {
181
+ props: string[];
182
+ blocklistType: string;
183
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
184
+ type: "pattern";
185
+ match: RegExp;
186
+ jsx: (string | RegExp)[];
187
+ upperName: string;
188
+ baseName: string;
189
+ dashName: string;
190
+ styleFnName: string;
191
+ jsxName: string;
192
+ }[];
193
+ find: (jsxName: string) => string;
194
+ filter: (jsxName: string) => {
195
+ props: string[];
196
+ blocklistType: string;
197
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
198
+ type: "pattern";
199
+ match: RegExp;
200
+ jsx: (string | RegExp)[];
201
+ upperName: string;
202
+ baseName: string;
203
+ dashName: string;
204
+ styleFnName: string;
205
+ jsxName: string;
206
+ }[];
207
+ isEmpty: () => boolean;
208
+ };
209
+ jsx: {
210
+ factoryName: string;
211
+ upperName: string;
212
+ typeName: string;
213
+ variantName: string;
214
+ componentName: string;
215
+ framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
216
+ styleProps: "all" | "minimal" | "none";
217
+ };
218
+ paths: {
219
+ get: (file?: string | undefined) => string[];
220
+ root: string[];
221
+ css: string[];
222
+ token: string[];
223
+ types: string[];
224
+ recipe: string[];
225
+ pattern: string[];
226
+ chunk: string[];
227
+ outCss: string[];
228
+ jsx: string[];
229
+ };
230
+ file: {
231
+ ext(file: string): string;
232
+ extDts(file: string): string;
233
+ __extDts(file: string): string;
234
+ import(mod: string, file: string): string;
235
+ importType(mod: string, file: string): string;
236
+ exportType(mod: string, file: string): string;
237
+ exportStar(file: string): string;
238
+ exportTypeStar(file: string): string;
239
+ isTypeFile(file: string): boolean;
240
+ };
241
+ isTemplateLiteralSyntax: boolean;
242
+ studio: {
243
+ outdir: string;
244
+ logo?: string | undefined;
245
+ inject?: {
246
+ head?: string | undefined;
247
+ body?: string | undefined;
248
+ } | undefined;
249
+ };
250
+ hash: {
251
+ tokens: boolean | undefined;
252
+ className: boolean | undefined;
253
+ };
254
+ prefix: {
255
+ tokens: string | undefined;
256
+ className: string | undefined;
257
+ };
258
+ tokens: _pandacss_token_dictionary.TokenDictionary;
259
+ utility: _pandacss_core.Utility;
260
+ properties: string[];
261
+ isValidProperty: (key: string) => boolean;
262
+ recipes: _pandacss_core.Recipes;
263
+ conditions: _pandacss_core.Conditions;
264
+ createSheetContext: () => _pandacss_core.StylesheetContext;
265
+ createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
266
+ layers: _pandacss_types.CascadeLayers;
267
+ isValidLayerRule: (layerRule: string) => boolean;
268
+ layerString: string;
269
+ layerNames: string[];
270
+ hooks: _pandacss_types.PandaHookable;
271
+ path: string;
272
+ config: _pandacss_types.UserConfig;
273
+ tsconfig?: TSConfig | undefined;
274
+ tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
275
+ tsconfigFile?: string | undefined;
276
+ dependencies: string[];
277
+ }) => string;
278
+ getResetCss: typeof generateResetCss;
279
+ getTokenCss: typeof generateTokenCss;
280
+ getKeyframeCss: typeof generateKeyframeCss;
281
+ getGlobalCss: (ctx: {
282
+ patterns: {
283
+ keys: string[];
284
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
285
+ transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
286
+ getNames: (name: string) => {
287
+ upperName: string;
288
+ baseName: string;
289
+ dashName: string;
290
+ styleFnName: string;
291
+ jsxName: string;
292
+ };
293
+ details: {
294
+ props: string[];
295
+ blocklistType: string;
296
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
297
+ type: "pattern";
298
+ match: RegExp;
299
+ jsx: (string | RegExp)[];
300
+ upperName: string;
301
+ baseName: string;
302
+ dashName: string;
303
+ styleFnName: string;
304
+ jsxName: string;
305
+ }[];
306
+ find: (jsxName: string) => string;
307
+ filter: (jsxName: string) => {
308
+ props: string[];
309
+ blocklistType: string;
310
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
311
+ type: "pattern";
312
+ match: RegExp;
313
+ jsx: (string | RegExp)[];
314
+ upperName: string;
315
+ baseName: string;
316
+ dashName: string;
317
+ styleFnName: string;
318
+ jsxName: string;
319
+ }[];
320
+ isEmpty: () => boolean;
321
+ };
322
+ jsx: {
323
+ factoryName: string;
324
+ upperName: string;
325
+ typeName: string;
326
+ variantName: string;
327
+ componentName: string;
328
+ framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
329
+ styleProps: "all" | "minimal" | "none";
330
+ };
331
+ paths: {
332
+ get: (file?: string | undefined) => string[];
333
+ root: string[];
334
+ css: string[];
335
+ token: string[];
336
+ types: string[];
337
+ recipe: string[];
338
+ pattern: string[];
339
+ chunk: string[];
340
+ outCss: string[];
341
+ jsx: string[];
342
+ };
343
+ file: {
344
+ ext(file: string): string;
345
+ extDts(file: string): string;
346
+ __extDts(file: string): string;
347
+ import(mod: string, file: string): string;
348
+ importType(mod: string, file: string): string;
349
+ exportType(mod: string, file: string): string;
350
+ exportStar(file: string): string;
351
+ exportTypeStar(file: string): string;
352
+ isTypeFile(file: string): boolean;
353
+ };
354
+ isTemplateLiteralSyntax: boolean;
355
+ studio: {
356
+ outdir: string;
357
+ logo?: string | undefined;
358
+ inject?: {
359
+ head?: string | undefined;
360
+ body?: string | undefined;
361
+ } | undefined;
362
+ };
363
+ hash: {
364
+ tokens: boolean | undefined;
365
+ className: boolean | undefined;
366
+ };
367
+ prefix: {
368
+ tokens: string | undefined;
369
+ className: string | undefined;
370
+ };
371
+ tokens: _pandacss_token_dictionary.TokenDictionary;
372
+ utility: _pandacss_core.Utility;
373
+ properties: string[];
374
+ isValidProperty: (key: string) => boolean;
375
+ recipes: _pandacss_core.Recipes;
376
+ conditions: _pandacss_core.Conditions;
377
+ createSheetContext: () => _pandacss_core.StylesheetContext;
378
+ createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
379
+ layers: _pandacss_types.CascadeLayers;
380
+ isValidLayerRule: (layerRule: string) => boolean;
381
+ layerString: string;
382
+ layerNames: string[];
383
+ hooks: _pandacss_types.PandaHookable;
384
+ path: string;
385
+ config: _pandacss_types.UserConfig;
386
+ tsconfig?: TSConfig | undefined;
387
+ tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
388
+ tsconfigFile?: string | undefined;
389
+ dependencies: string[];
390
+ }) => string;
162
391
  getCss: (options: {
163
392
  files: string[];
164
393
  resolve?: boolean | undefined;
@@ -189,7 +418,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
189
418
  nodes: ({
190
419
  props: string[];
191
420
  blocklistType: string;
192
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
421
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
193
422
  type: "pattern";
194
423
  match: RegExp;
195
424
  jsx: (string | RegExp)[];
@@ -232,7 +461,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
232
461
  getPatternsByJsxName: (jsxName: string) => {
233
462
  props: string[];
234
463
  blocklistType: string;
235
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
464
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
236
465
  type: "pattern";
237
466
  match: RegExp;
238
467
  jsx: (string | RegExp)[];
@@ -247,7 +476,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
247
476
  };
248
477
  patterns: {
249
478
  keys: string[];
250
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
479
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
251
480
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
252
481
  getNames: (name: string) => {
253
482
  upperName: string;
@@ -259,7 +488,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
259
488
  details: {
260
489
  props: string[];
261
490
  blocklistType: string;
262
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
491
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
263
492
  type: "pattern";
264
493
  match: RegExp;
265
494
  jsx: (string | RegExp)[];
@@ -273,7 +502,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
273
502
  filter: (jsxName: string) => {
274
503
  props: string[];
275
504
  blocklistType: string;
276
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
505
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
277
506
  type: "pattern";
278
507
  match: RegExp;
279
508
  jsx: (string | RegExp)[];
@@ -289,6 +518,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
289
518
  factoryName: string;
290
519
  upperName: string;
291
520
  typeName: string;
521
+ variantName: string;
292
522
  componentName: string;
293
523
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
294
524
  styleProps: "all" | "minimal" | "none";