@pandacss/generator 0.16.0 → 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";
@@ -168,7 +168,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
168
168
  getStaticCss: (ctx: {
169
169
  patterns: {
170
170
  keys: string[];
171
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
171
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
172
172
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
173
173
  getNames: (name: string) => {
174
174
  upperName: string;
@@ -180,7 +180,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
180
180
  details: {
181
181
  props: string[];
182
182
  blocklistType: string;
183
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
183
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
184
184
  type: "pattern";
185
185
  match: RegExp;
186
186
  jsx: (string | RegExp)[];
@@ -194,7 +194,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
194
194
  filter: (jsxName: string) => {
195
195
  props: string[];
196
196
  blocklistType: string;
197
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
197
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
198
198
  type: "pattern";
199
199
  match: RegExp;
200
200
  jsx: (string | RegExp)[];
@@ -210,6 +210,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
210
210
  factoryName: string;
211
211
  upperName: string;
212
212
  typeName: string;
213
+ variantName: string;
213
214
  componentName: string;
214
215
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
215
216
  styleProps: "all" | "minimal" | "none";
@@ -280,7 +281,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
280
281
  getGlobalCss: (ctx: {
281
282
  patterns: {
282
283
  keys: string[];
283
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
284
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
284
285
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
285
286
  getNames: (name: string) => {
286
287
  upperName: string;
@@ -292,7 +293,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
292
293
  details: {
293
294
  props: string[];
294
295
  blocklistType: string;
295
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
296
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
296
297
  type: "pattern";
297
298
  match: RegExp;
298
299
  jsx: (string | RegExp)[];
@@ -306,7 +307,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
306
307
  filter: (jsxName: string) => {
307
308
  props: string[];
308
309
  blocklistType: string;
309
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
310
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
310
311
  type: "pattern";
311
312
  match: RegExp;
312
313
  jsx: (string | RegExp)[];
@@ -322,6 +323,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
322
323
  factoryName: string;
323
324
  upperName: string;
324
325
  typeName: string;
326
+ variantName: string;
325
327
  componentName: string;
326
328
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
327
329
  styleProps: "all" | "minimal" | "none";
@@ -416,7 +418,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
416
418
  nodes: ({
417
419
  props: string[];
418
420
  blocklistType: string;
419
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
421
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
420
422
  type: "pattern";
421
423
  match: RegExp;
422
424
  jsx: (string | RegExp)[];
@@ -459,7 +461,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
459
461
  getPatternsByJsxName: (jsxName: string) => {
460
462
  props: string[];
461
463
  blocklistType: string;
462
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
464
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
463
465
  type: "pattern";
464
466
  match: RegExp;
465
467
  jsx: (string | RegExp)[];
@@ -474,7 +476,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
474
476
  };
475
477
  patterns: {
476
478
  keys: string[];
477
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
479
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
478
480
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
479
481
  getNames: (name: string) => {
480
482
  upperName: string;
@@ -486,7 +488,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
486
488
  details: {
487
489
  props: string[];
488
490
  blocklistType: string;
489
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
491
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
490
492
  type: "pattern";
491
493
  match: RegExp;
492
494
  jsx: (string | RegExp)[];
@@ -500,7 +502,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
500
502
  filter: (jsxName: string) => {
501
503
  props: string[];
502
504
  blocklistType: string;
503
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
505
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
504
506
  type: "pattern";
505
507
  match: RegExp;
506
508
  jsx: (string | RegExp)[];
@@ -516,6 +518,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
516
518
  factoryName: string;
517
519
  upperName: string;
518
520
  typeName: string;
521
+ variantName: string;
519
522
  componentName: string;
520
523
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
521
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";
@@ -168,7 +168,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
168
168
  getStaticCss: (ctx: {
169
169
  patterns: {
170
170
  keys: string[];
171
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
171
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
172
172
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
173
173
  getNames: (name: string) => {
174
174
  upperName: string;
@@ -180,7 +180,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
180
180
  details: {
181
181
  props: string[];
182
182
  blocklistType: string;
183
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
183
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
184
184
  type: "pattern";
185
185
  match: RegExp;
186
186
  jsx: (string | RegExp)[];
@@ -194,7 +194,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
194
194
  filter: (jsxName: string) => {
195
195
  props: string[];
196
196
  blocklistType: string;
197
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
197
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
198
198
  type: "pattern";
199
199
  match: RegExp;
200
200
  jsx: (string | RegExp)[];
@@ -210,6 +210,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
210
210
  factoryName: string;
211
211
  upperName: string;
212
212
  typeName: string;
213
+ variantName: string;
213
214
  componentName: string;
214
215
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
215
216
  styleProps: "all" | "minimal" | "none";
@@ -280,7 +281,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
280
281
  getGlobalCss: (ctx: {
281
282
  patterns: {
282
283
  keys: string[];
283
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
284
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
284
285
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
285
286
  getNames: (name: string) => {
286
287
  upperName: string;
@@ -292,7 +293,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
292
293
  details: {
293
294
  props: string[];
294
295
  blocklistType: string;
295
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
296
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
296
297
  type: "pattern";
297
298
  match: RegExp;
298
299
  jsx: (string | RegExp)[];
@@ -306,7 +307,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
306
307
  filter: (jsxName: string) => {
307
308
  props: string[];
308
309
  blocklistType: string;
309
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
310
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
310
311
  type: "pattern";
311
312
  match: RegExp;
312
313
  jsx: (string | RegExp)[];
@@ -322,6 +323,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
322
323
  factoryName: string;
323
324
  upperName: string;
324
325
  typeName: string;
326
+ variantName: string;
325
327
  componentName: string;
326
328
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
327
329
  styleProps: "all" | "minimal" | "none";
@@ -416,7 +418,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
416
418
  nodes: ({
417
419
  props: string[];
418
420
  blocklistType: string;
419
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
421
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
420
422
  type: "pattern";
421
423
  match: RegExp;
422
424
  jsx: (string | RegExp)[];
@@ -459,7 +461,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
459
461
  getPatternsByJsxName: (jsxName: string) => {
460
462
  props: string[];
461
463
  blocklistType: string;
462
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
464
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
463
465
  type: "pattern";
464
466
  match: RegExp;
465
467
  jsx: (string | RegExp)[];
@@ -474,7 +476,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
474
476
  };
475
477
  patterns: {
476
478
  keys: string[];
477
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
479
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
478
480
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
479
481
  getNames: (name: string) => {
480
482
  upperName: string;
@@ -486,7 +488,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
486
488
  details: {
487
489
  props: string[];
488
490
  blocklistType: string;
489
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
491
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
490
492
  type: "pattern";
491
493
  match: RegExp;
492
494
  jsx: (string | RegExp)[];
@@ -500,7 +502,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
500
502
  filter: (jsxName: string) => {
501
503
  props: string[];
502
504
  blocklistType: string;
503
- config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
505
+ config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
504
506
  type: "pattern";
505
507
  match: RegExp;
506
508
  jsx: (string | RegExp)[];
@@ -516,6 +518,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
516
518
  factoryName: string;
517
519
  upperName: string;
518
520
  typeName: string;
521
+ variantName: string;
519
522
  componentName: string;
520
523
  framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
521
524
  styleProps: "all" | "minimal" | "none";