@pandacss/node 0.0.0-dev-20221122153914 → 0.0.0-dev-20221124070053
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 +33 -54
- package/dist/index.js +60 -1724
- package/dist/index.mjs +75 -1761
- package/package.json +11 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as _pandacss_core from '@pandacss/core';
|
|
2
2
|
import { StylesheetContext, Conditions, Utility } from '@pandacss/core';
|
|
3
3
|
export { discardDuplicate } from '@pandacss/core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _pandacss_types_dist_generator from '@pandacss/types/dist/generator';
|
|
5
|
+
import * as _pandacss_types_dist_composition from '@pandacss/types/dist/composition';
|
|
6
|
+
import * as _pandacss_types_dist_recipe from '@pandacss/types/dist/recipe';
|
|
7
|
+
import * as _pandacss_types_dist_system_types from '@pandacss/types/dist/system-types';
|
|
5
8
|
import * as ts_morph from 'ts-morph';
|
|
6
9
|
import * as _pandacss_types from '@pandacss/types';
|
|
7
10
|
import { RecipeConfig, Config } from '@pandacss/types';
|
|
@@ -87,21 +90,17 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
87
90
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
88
91
|
hasPattern: boolean;
|
|
89
92
|
getPattern: (name: string) => _pandacss_types.PatternConfig;
|
|
90
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.
|
|
91
|
-
[x: string]: string;
|
|
92
|
-
}, {
|
|
93
|
-
__type?: "never" | undefined;
|
|
94
|
-
}, false>;
|
|
93
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false>;
|
|
95
94
|
patternNodes: {
|
|
96
95
|
name: string;
|
|
97
96
|
props: string[];
|
|
98
97
|
baseName: string;
|
|
99
98
|
}[];
|
|
100
99
|
getPatternFnName: (jsx: string) => string;
|
|
101
|
-
recipes: Record<string, RecipeConfig<
|
|
100
|
+
recipes: Record<string, RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
|
|
102
101
|
getRecipe: (name: string) => RecipeConfig;
|
|
103
102
|
hasRecipes: boolean;
|
|
104
|
-
jsxFramework: "
|
|
103
|
+
jsxFramework: "solid" | "react" | "preact" | undefined;
|
|
105
104
|
jsxFactory: string;
|
|
106
105
|
cssVarRoot: string;
|
|
107
106
|
properties: string[];
|
|
@@ -114,17 +113,13 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
114
113
|
file: string;
|
|
115
114
|
} | undefined)[]>;
|
|
116
115
|
hash?: boolean | undefined;
|
|
117
|
-
semanticTokens?: _pandacss_types.SemanticTokens<string
|
|
116
|
+
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
118
117
|
separator?: "-" | "_" | "=" | undefined;
|
|
119
118
|
breakpoints?: _pandacss_types.Dict<any> | undefined;
|
|
120
|
-
keyframes?: _pandacss_types.
|
|
119
|
+
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
121
120
|
minify?: boolean | undefined;
|
|
122
121
|
utilities?: _pandacss_types.UtilityConfig | undefined;
|
|
123
|
-
globalCss?:
|
|
124
|
-
[x: string]: string;
|
|
125
|
-
}, {
|
|
126
|
-
__type?: "never" | undefined;
|
|
127
|
-
}, false> | undefined;
|
|
122
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
128
123
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
129
124
|
presets?: string[] | undefined;
|
|
130
125
|
preflight?: boolean | undefined;
|
|
@@ -132,10 +127,10 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
132
127
|
cssVarPrefix?: string | undefined;
|
|
133
128
|
watch?: boolean | undefined;
|
|
134
129
|
poll?: boolean | undefined;
|
|
135
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
136
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
130
|
+
textStyles?: _pandacss_types.TextStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
131
|
+
layerStyles?: _pandacss_types.LayerStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
137
132
|
strictTokens?: boolean | undefined;
|
|
138
|
-
generator?:
|
|
133
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
139
134
|
include: string[];
|
|
140
135
|
outdir: string;
|
|
141
136
|
};
|
|
@@ -211,21 +206,17 @@ declare class Builder {
|
|
|
211
206
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
212
207
|
hasPattern: boolean;
|
|
213
208
|
getPattern: (name: string) => _pandacss_types.PatternConfig;
|
|
214
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.
|
|
215
|
-
[x: string]: string;
|
|
216
|
-
}, {
|
|
217
|
-
__type?: "never" | undefined;
|
|
218
|
-
}, false>;
|
|
209
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false>;
|
|
219
210
|
patternNodes: {
|
|
220
211
|
name: string;
|
|
221
212
|
props: string[];
|
|
222
213
|
baseName: string;
|
|
223
214
|
}[];
|
|
224
215
|
getPatternFnName: (jsx: string) => string;
|
|
225
|
-
recipes: Record<string, _pandacss_types.RecipeConfig<
|
|
226
|
-
getRecipe: (name: string) => _pandacss_types.RecipeConfig<
|
|
216
|
+
recipes: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
|
|
217
|
+
getRecipe: (name: string) => _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>;
|
|
227
218
|
hasRecipes: boolean;
|
|
228
|
-
jsxFramework: "
|
|
219
|
+
jsxFramework: "solid" | "react" | "preact" | undefined;
|
|
229
220
|
jsxFactory: string;
|
|
230
221
|
cssVarRoot: string;
|
|
231
222
|
properties: string[];
|
|
@@ -238,17 +229,13 @@ declare class Builder {
|
|
|
238
229
|
file: string;
|
|
239
230
|
} | undefined)[]>;
|
|
240
231
|
hash?: boolean | undefined;
|
|
241
|
-
semanticTokens?: _pandacss_types.SemanticTokens<string
|
|
232
|
+
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
242
233
|
separator?: "-" | "_" | "=" | undefined;
|
|
243
234
|
breakpoints?: _pandacss_types.Dict<any> | undefined;
|
|
244
|
-
keyframes?: _pandacss_types.
|
|
235
|
+
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
245
236
|
minify?: boolean | undefined;
|
|
246
237
|
utilities?: _pandacss_types.UtilityConfig | undefined;
|
|
247
|
-
globalCss?:
|
|
248
|
-
[x: string]: string;
|
|
249
|
-
}, {
|
|
250
|
-
__type?: "never" | undefined;
|
|
251
|
-
}, false> | undefined;
|
|
238
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
252
239
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
253
240
|
presets?: string[] | undefined;
|
|
254
241
|
preflight?: boolean | undefined;
|
|
@@ -256,10 +243,10 @@ declare class Builder {
|
|
|
256
243
|
cssVarPrefix?: string | undefined;
|
|
257
244
|
watch?: boolean | undefined;
|
|
258
245
|
poll?: boolean | undefined;
|
|
259
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
260
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
246
|
+
textStyles?: _pandacss_types.TextStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
247
|
+
layerStyles?: _pandacss_types.LayerStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
261
248
|
strictTokens?: boolean | undefined;
|
|
262
|
-
generator?:
|
|
249
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
263
250
|
include: string[];
|
|
264
251
|
outdir: string;
|
|
265
252
|
};
|
|
@@ -333,21 +320,17 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
333
320
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
334
321
|
hasPattern: boolean;
|
|
335
322
|
getPattern: (name: string) => _pandacss_types.PatternConfig;
|
|
336
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.
|
|
337
|
-
[x: string]: string;
|
|
338
|
-
}, {
|
|
339
|
-
__type?: "never" | undefined;
|
|
340
|
-
}, false>;
|
|
323
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false>;
|
|
341
324
|
patternNodes: {
|
|
342
325
|
name: string;
|
|
343
326
|
props: string[];
|
|
344
327
|
baseName: string;
|
|
345
328
|
}[];
|
|
346
329
|
getPatternFnName: (jsx: string) => string;
|
|
347
|
-
recipes: Record<string, _pandacss_types.RecipeConfig<
|
|
348
|
-
getRecipe: (name: string) => _pandacss_types.RecipeConfig<
|
|
330
|
+
recipes: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>>;
|
|
331
|
+
getRecipe: (name: string) => _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>;
|
|
349
332
|
hasRecipes: boolean;
|
|
350
|
-
jsxFramework: "
|
|
333
|
+
jsxFramework: "solid" | "react" | "preact" | undefined;
|
|
351
334
|
jsxFactory: string;
|
|
352
335
|
cssVarRoot: string;
|
|
353
336
|
properties: string[];
|
|
@@ -360,17 +343,13 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
360
343
|
file: string;
|
|
361
344
|
} | undefined)[]>;
|
|
362
345
|
hash?: boolean | undefined;
|
|
363
|
-
semanticTokens?: _pandacss_types.SemanticTokens<string
|
|
346
|
+
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
364
347
|
separator?: "-" | "_" | "=" | undefined;
|
|
365
348
|
breakpoints?: _pandacss_types.Dict<any> | undefined;
|
|
366
|
-
keyframes?: _pandacss_types.
|
|
349
|
+
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
367
350
|
minify?: boolean | undefined;
|
|
368
351
|
utilities?: _pandacss_types.UtilityConfig | undefined;
|
|
369
|
-
globalCss?:
|
|
370
|
-
[x: string]: string;
|
|
371
|
-
}, {
|
|
372
|
-
__type?: "never" | undefined;
|
|
373
|
-
}, false> | undefined;
|
|
352
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
374
353
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
375
354
|
presets?: string[] | undefined;
|
|
376
355
|
preflight?: boolean | undefined;
|
|
@@ -378,10 +357,10 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
378
357
|
cssVarPrefix?: string | undefined;
|
|
379
358
|
watch?: boolean | undefined;
|
|
380
359
|
poll?: boolean | undefined;
|
|
381
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
382
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
360
|
+
textStyles?: _pandacss_types.TextStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
361
|
+
layerStyles?: _pandacss_types.LayerStyles<_pandacss_types_dist_composition.TCondition> | undefined;
|
|
383
362
|
strictTokens?: boolean | undefined;
|
|
384
|
-
generator?:
|
|
363
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
385
364
|
include: string[];
|
|
386
365
|
outdir: string;
|
|
387
366
|
}>;
|