@pandacss/generator 0.15.0 → 0.15.2

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
@@ -1,12 +1,12 @@
1
- import * as _pandacss_types_dist_shared from '@pandacss/types/dist/shared';
2
1
  import * as _pandacss_core from '@pandacss/core';
3
2
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
4
3
  import * as _pandacss_types from '@pandacss/types';
5
4
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
5
+ import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
6
6
 
7
7
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
8
  patterns: {
9
- getConfig: (name: string) => _pandacss_types.PatternConfig;
9
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
10
10
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
11
11
  getNames: (name: string) => {
12
12
  upperName: string;
@@ -18,7 +18,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
18
18
  details: {
19
19
  props: string[];
20
20
  blocklistType: string;
21
- config: _pandacss_types.PatternConfig;
21
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
22
22
  type: "pattern";
23
23
  match: RegExp;
24
24
  jsx: (string | RegExp)[];
@@ -32,7 +32,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
32
32
  filter: (jsxName: string) => {
33
33
  props: string[];
34
34
  blocklistType: string;
35
- config: _pandacss_types.PatternConfig;
35
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
36
36
  type: "pattern";
37
37
  match: RegExp;
38
38
  jsx: (string | RegExp)[];
@@ -106,7 +106,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
106
106
  layerNames: string[];
107
107
  hooks: _pandacss_types.PandaHookable;
108
108
  path: string;
109
- config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "outdir" | "cwd" | "include">>;
109
+ config: _pandacss_types.UserConfig;
110
110
  tsconfig?: TSConfig | undefined;
111
111
  tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
112
112
  tsconfigFile?: string | undefined;
@@ -187,7 +187,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
187
187
  nodes: ({
188
188
  props: string[];
189
189
  blocklistType: string;
190
- config: _pandacss_types.PatternConfig;
190
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
191
191
  type: "pattern";
192
192
  match: RegExp;
193
193
  jsx: (string | RegExp)[];
@@ -206,7 +206,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
206
206
  dashName: string;
207
207
  jsxName: string;
208
208
  match: RegExp;
209
- config: _pandacss_types.RecipeConfig | _pandacss_types.SlotRecipeConfig;
209
+ config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
210
210
  splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
211
211
  props: string[];
212
212
  })[];
@@ -221,14 +221,14 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
221
221
  dashName: string;
222
222
  jsxName: string;
223
223
  match: RegExp;
224
- config: _pandacss_types.RecipeConfig | _pandacss_types.SlotRecipeConfig;
224
+ config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
225
225
  splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
226
226
  props: string[];
227
227
  }[];
228
228
  getPatternsByJsxName: (jsxName: string) => {
229
229
  props: string[];
230
230
  blocklistType: string;
231
- config: _pandacss_types.PatternConfig;
231
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
232
232
  type: "pattern";
233
233
  match: RegExp;
234
234
  jsx: (string | RegExp)[];
@@ -242,7 +242,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
242
242
  tsOptions: _pandacss_types.ConfigTsOptions | undefined;
243
243
  };
244
244
  patterns: {
245
- getConfig: (name: string) => _pandacss_types.PatternConfig;
245
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
246
246
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
247
247
  getNames: (name: string) => {
248
248
  upperName: string;
@@ -254,7 +254,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
254
254
  details: {
255
255
  props: string[];
256
256
  blocklistType: string;
257
- config: _pandacss_types.PatternConfig;
257
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
258
258
  type: "pattern";
259
259
  match: RegExp;
260
260
  jsx: (string | RegExp)[];
@@ -268,7 +268,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
268
268
  filter: (jsxName: string) => {
269
269
  props: string[];
270
270
  blocklistType: string;
271
- config: _pandacss_types.PatternConfig;
271
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
272
272
  type: "pattern";
273
273
  match: RegExp;
274
274
  jsx: (string | RegExp)[];
@@ -342,7 +342,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
342
342
  layerNames: string[];
343
343
  hooks: _pandacss_types.PandaHookable;
344
344
  path: string;
345
- config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "outdir" | "cwd" | "include">>;
345
+ config: _pandacss_types.UserConfig;
346
346
  tsconfig?: TSConfig | undefined;
347
347
  tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
348
348
  tsconfigFile?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import * as _pandacss_types_dist_shared from '@pandacss/types/dist/shared';
2
1
  import * as _pandacss_core from '@pandacss/core';
3
2
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
4
3
  import * as _pandacss_types from '@pandacss/types';
5
4
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
5
+ import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
6
6
 
7
7
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
8
  patterns: {
9
- getConfig: (name: string) => _pandacss_types.PatternConfig;
9
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
10
10
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
11
11
  getNames: (name: string) => {
12
12
  upperName: string;
@@ -18,7 +18,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
18
18
  details: {
19
19
  props: string[];
20
20
  blocklistType: string;
21
- config: _pandacss_types.PatternConfig;
21
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
22
22
  type: "pattern";
23
23
  match: RegExp;
24
24
  jsx: (string | RegExp)[];
@@ -32,7 +32,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
32
32
  filter: (jsxName: string) => {
33
33
  props: string[];
34
34
  blocklistType: string;
35
- config: _pandacss_types.PatternConfig;
35
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
36
36
  type: "pattern";
37
37
  match: RegExp;
38
38
  jsx: (string | RegExp)[];
@@ -106,7 +106,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
106
106
  layerNames: string[];
107
107
  hooks: _pandacss_types.PandaHookable;
108
108
  path: string;
109
- config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "outdir" | "cwd" | "include">>;
109
+ config: _pandacss_types.UserConfig;
110
110
  tsconfig?: TSConfig | undefined;
111
111
  tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
112
112
  tsconfigFile?: string | undefined;
@@ -187,7 +187,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
187
187
  nodes: ({
188
188
  props: string[];
189
189
  blocklistType: string;
190
- config: _pandacss_types.PatternConfig;
190
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
191
191
  type: "pattern";
192
192
  match: RegExp;
193
193
  jsx: (string | RegExp)[];
@@ -206,7 +206,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
206
206
  dashName: string;
207
207
  jsxName: string;
208
208
  match: RegExp;
209
- config: _pandacss_types.RecipeConfig | _pandacss_types.SlotRecipeConfig;
209
+ config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
210
210
  splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
211
211
  props: string[];
212
212
  })[];
@@ -221,14 +221,14 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
221
221
  dashName: string;
222
222
  jsxName: string;
223
223
  match: RegExp;
224
- config: _pandacss_types.RecipeConfig | _pandacss_types.SlotRecipeConfig;
224
+ config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
225
225
  splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
226
226
  props: string[];
227
227
  }[];
228
228
  getPatternsByJsxName: (jsxName: string) => {
229
229
  props: string[];
230
230
  blocklistType: string;
231
- config: _pandacss_types.PatternConfig;
231
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
232
232
  type: "pattern";
233
233
  match: RegExp;
234
234
  jsx: (string | RegExp)[];
@@ -242,7 +242,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
242
242
  tsOptions: _pandacss_types.ConfigTsOptions | undefined;
243
243
  };
244
244
  patterns: {
245
- getConfig: (name: string) => _pandacss_types.PatternConfig;
245
+ getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
246
246
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
247
247
  getNames: (name: string) => {
248
248
  upperName: string;
@@ -254,7 +254,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
254
254
  details: {
255
255
  props: string[];
256
256
  blocklistType: string;
257
- config: _pandacss_types.PatternConfig;
257
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
258
258
  type: "pattern";
259
259
  match: RegExp;
260
260
  jsx: (string | RegExp)[];
@@ -268,7 +268,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
268
268
  filter: (jsxName: string) => {
269
269
  props: string[];
270
270
  blocklistType: string;
271
- config: _pandacss_types.PatternConfig;
271
+ config: _pandacss_types.PatternConfig<_pandacss_types_dist_pattern.PatternProperties>;
272
272
  type: "pattern";
273
273
  match: RegExp;
274
274
  jsx: (string | RegExp)[];
@@ -342,7 +342,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
342
342
  layerNames: string[];
343
343
  hooks: _pandacss_types.PandaHookable;
344
344
  path: string;
345
- config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "outdir" | "cwd" | "include">>;
345
+ config: _pandacss_types.UserConfig;
346
346
  tsconfig?: TSConfig | undefined;
347
347
  tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
348
348
  tsconfigFile?: string | undefined;