@pandacss/node 0.0.0-dev-20230106105402 → 0.0.0-dev-20230106183338

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.ts CHANGED
@@ -90,6 +90,7 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
90
90
  }>) => Promise<void[]>;
91
91
  writeOutput: (output: Output) => Promise<void[]>;
92
92
  cleanOutdir: () => Promise<void>;
93
+ cssVarRoot: string;
93
94
  tokens: TokenDictionary;
94
95
  hasTokens: boolean;
95
96
  utility: Utility;
@@ -110,6 +111,14 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
110
111
  baseName: string;
111
112
  }[];
112
113
  getPatternFnName: (jsx: string) => string;
114
+ getPatternDetails: (name: string, pattern: PatternConfig | undefined) => {
115
+ name: string;
116
+ props: string[];
117
+ dashName: string;
118
+ upperName: string;
119
+ styleFn: string;
120
+ jsxName: string;
121
+ };
113
122
  recipes: Record<string, RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
114
123
  getRecipe: (name: string) => RecipeConfig | undefined;
115
124
  hasRecipes: boolean;
@@ -118,10 +127,14 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
118
127
  [x: string]: string[];
119
128
  }[];
120
129
  }[];
121
- jsxFramework: "solid" | "react" | "preact" | undefined;
122
- jsxFactoryName: string;
123
130
  jsxFactory: string;
124
- cssVarRoot: string;
131
+ jsxFactoryDetails: {
132
+ name: string;
133
+ upperName: string;
134
+ typeName: string;
135
+ componentName: string;
136
+ framework: "solid" | "react" | "preact" | undefined;
137
+ };
125
138
  properties: string[];
126
139
  extract: (fn: (file: string) => Promise<{
127
140
  css: string;
@@ -145,6 +158,7 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
145
158
  watch?: boolean | undefined;
146
159
  poll?: boolean | undefined;
147
160
  globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
161
+ jsxFramework?: "solid" | "react" | "preact" | undefined;
148
162
  strictTokens?: boolean | undefined;
149
163
  include: string[];
150
164
  outdir: string;
@@ -227,6 +241,7 @@ declare class Builder {
227
241
  }[]) => Promise<void[]>;
228
242
  writeOutput: (output: Output) => Promise<void[]>;
229
243
  cleanOutdir: () => Promise<void>;
244
+ cssVarRoot: string;
230
245
  tokens: _pandacss_token_dictionary.TokenDictionary;
231
246
  hasTokens: boolean;
232
247
  utility: _pandacss_core.Utility;
@@ -247,6 +262,14 @@ declare class Builder {
247
262
  baseName: string;
248
263
  }[];
249
264
  getPatternFnName: (jsx: string) => string;
265
+ getPatternDetails: (name: string, pattern: _pandacss_types.PatternConfig | undefined) => {
266
+ name: string;
267
+ props: string[];
268
+ dashName: string;
269
+ upperName: string;
270
+ styleFn: string;
271
+ jsxName: string;
272
+ };
250
273
  recipes: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
251
274
  getRecipe: (name: string) => _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants> | undefined;
252
275
  hasRecipes: boolean;
@@ -255,10 +278,14 @@ declare class Builder {
255
278
  [x: string]: string[];
256
279
  }[];
257
280
  }[];
258
- jsxFramework: "solid" | "react" | "preact" | undefined;
259
- jsxFactoryName: string;
260
281
  jsxFactory: string;
261
- cssVarRoot: string;
282
+ jsxFactoryDetails: {
283
+ name: string;
284
+ upperName: string;
285
+ typeName: string;
286
+ componentName: string;
287
+ framework: "solid" | "react" | "preact" | undefined;
288
+ };
262
289
  properties: string[];
263
290
  extract: (fn: (file: string) => Promise<{
264
291
  css: string;
@@ -282,6 +309,7 @@ declare class Builder {
282
309
  watch?: boolean | undefined;
283
310
  poll?: boolean | undefined;
284
311
  globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
312
+ jsxFramework?: "solid" | "react" | "preact" | undefined;
285
313
  strictTokens?: boolean | undefined;
286
314
  include: string[];
287
315
  outdir: string;
@@ -356,6 +384,7 @@ declare function loadConfigAndCreateContext(options?: {
356
384
  }[]) => Promise<void[]>;
357
385
  writeOutput: (output: Output) => Promise<void[]>;
358
386
  cleanOutdir: () => Promise<void>;
387
+ cssVarRoot: string;
359
388
  tokens: _pandacss_token_dictionary.TokenDictionary;
360
389
  hasTokens: boolean;
361
390
  utility: _pandacss_core.Utility;
@@ -376,6 +405,14 @@ declare function loadConfigAndCreateContext(options?: {
376
405
  baseName: string;
377
406
  }[];
378
407
  getPatternFnName: (jsx: string) => string;
408
+ getPatternDetails: (name: string, pattern: _pandacss_types.PatternConfig | undefined) => {
409
+ name: string;
410
+ props: string[];
411
+ dashName: string;
412
+ upperName: string;
413
+ styleFn: string;
414
+ jsxName: string;
415
+ };
379
416
  recipes: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
380
417
  getRecipe: (name: string) => _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants> | undefined;
381
418
  hasRecipes: boolean;
@@ -384,10 +421,14 @@ declare function loadConfigAndCreateContext(options?: {
384
421
  [x: string]: string[];
385
422
  }[];
386
423
  }[];
387
- jsxFramework: "solid" | "react" | "preact" | undefined;
388
- jsxFactoryName: string;
389
424
  jsxFactory: string;
390
- cssVarRoot: string;
425
+ jsxFactoryDetails: {
426
+ name: string;
427
+ upperName: string;
428
+ typeName: string;
429
+ componentName: string;
430
+ framework: "solid" | "react" | "preact" | undefined;
431
+ };
391
432
  properties: string[];
392
433
  extract: (fn: (file: string) => Promise<{
393
434
  css: string;
@@ -411,6 +452,7 @@ declare function loadConfigAndCreateContext(options?: {
411
452
  watch?: boolean | undefined;
412
453
  poll?: boolean | undefined;
413
454
  globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
455
+ jsxFramework?: "solid" | "react" | "preact" | undefined;
414
456
  strictTokens?: boolean | undefined;
415
457
  include: string[];
416
458
  outdir: string;