@pandacss/node 0.0.0-dev-20221121175259 → 0.0.0-dev-20221123192035
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 -42
- package/dist/index.js +50 -1705
- package/dist/index.mjs +65 -1742
- package/package.json +12 -13
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,13 +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?:
|
|
122
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
124
123
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
125
124
|
presets?: string[] | undefined;
|
|
126
125
|
preflight?: boolean | undefined;
|
|
@@ -128,10 +127,10 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
128
127
|
cssVarPrefix?: string | undefined;
|
|
129
128
|
watch?: boolean | undefined;
|
|
130
129
|
poll?: boolean | undefined;
|
|
131
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
132
|
-
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;
|
|
133
132
|
strictTokens?: boolean | undefined;
|
|
134
|
-
generator?:
|
|
133
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
135
134
|
include: string[];
|
|
136
135
|
outdir: string;
|
|
137
136
|
};
|
|
@@ -207,21 +206,17 @@ declare class Builder {
|
|
|
207
206
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
208
207
|
hasPattern: boolean;
|
|
209
208
|
getPattern: (name: string) => _pandacss_types.PatternConfig;
|
|
210
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.
|
|
211
|
-
[x: string]: string;
|
|
212
|
-
}, {
|
|
213
|
-
__type?: "never" | undefined;
|
|
214
|
-
}, 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>;
|
|
215
210
|
patternNodes: {
|
|
216
211
|
name: string;
|
|
217
212
|
props: string[];
|
|
218
213
|
baseName: string;
|
|
219
214
|
}[];
|
|
220
215
|
getPatternFnName: (jsx: string) => string;
|
|
221
|
-
recipes: Record<string, _pandacss_types.RecipeConfig<
|
|
222
|
-
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>;
|
|
223
218
|
hasRecipes: boolean;
|
|
224
|
-
jsxFramework: "
|
|
219
|
+
jsxFramework: "solid" | "react" | "preact" | undefined;
|
|
225
220
|
jsxFactory: string;
|
|
226
221
|
cssVarRoot: string;
|
|
227
222
|
properties: string[];
|
|
@@ -234,13 +229,13 @@ declare class Builder {
|
|
|
234
229
|
file: string;
|
|
235
230
|
} | undefined)[]>;
|
|
236
231
|
hash?: boolean | undefined;
|
|
237
|
-
semanticTokens?: _pandacss_types.SemanticTokens<string
|
|
232
|
+
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
238
233
|
separator?: "-" | "_" | "=" | undefined;
|
|
239
234
|
breakpoints?: _pandacss_types.Dict<any> | undefined;
|
|
240
|
-
keyframes?: _pandacss_types.
|
|
235
|
+
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
241
236
|
minify?: boolean | undefined;
|
|
242
237
|
utilities?: _pandacss_types.UtilityConfig | undefined;
|
|
243
|
-
globalCss?:
|
|
238
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
244
239
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
245
240
|
presets?: string[] | undefined;
|
|
246
241
|
preflight?: boolean | undefined;
|
|
@@ -248,10 +243,10 @@ declare class Builder {
|
|
|
248
243
|
cssVarPrefix?: string | undefined;
|
|
249
244
|
watch?: boolean | undefined;
|
|
250
245
|
poll?: boolean | undefined;
|
|
251
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
252
|
-
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;
|
|
253
248
|
strictTokens?: boolean | undefined;
|
|
254
|
-
generator?:
|
|
249
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
255
250
|
include: string[];
|
|
256
251
|
outdir: string;
|
|
257
252
|
};
|
|
@@ -325,21 +320,17 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
325
320
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
326
321
|
hasPattern: boolean;
|
|
327
322
|
getPattern: (name: string) => _pandacss_types.PatternConfig;
|
|
328
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.
|
|
329
|
-
[x: string]: string;
|
|
330
|
-
}, {
|
|
331
|
-
__type?: "never" | undefined;
|
|
332
|
-
}, 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>;
|
|
333
324
|
patternNodes: {
|
|
334
325
|
name: string;
|
|
335
326
|
props: string[];
|
|
336
327
|
baseName: string;
|
|
337
328
|
}[];
|
|
338
329
|
getPatternFnName: (jsx: string) => string;
|
|
339
|
-
recipes: Record<string, _pandacss_types.RecipeConfig<
|
|
340
|
-
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>;
|
|
341
332
|
hasRecipes: boolean;
|
|
342
|
-
jsxFramework: "
|
|
333
|
+
jsxFramework: "solid" | "react" | "preact" | undefined;
|
|
343
334
|
jsxFactory: string;
|
|
344
335
|
cssVarRoot: string;
|
|
345
336
|
properties: string[];
|
|
@@ -352,13 +343,13 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
352
343
|
file: string;
|
|
353
344
|
} | undefined)[]>;
|
|
354
345
|
hash?: boolean | undefined;
|
|
355
|
-
semanticTokens?: _pandacss_types.SemanticTokens<string
|
|
346
|
+
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
356
347
|
separator?: "-" | "_" | "=" | undefined;
|
|
357
348
|
breakpoints?: _pandacss_types.Dict<any> | undefined;
|
|
358
|
-
keyframes?: _pandacss_types.
|
|
349
|
+
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
359
350
|
minify?: boolean | undefined;
|
|
360
351
|
utilities?: _pandacss_types.UtilityConfig | undefined;
|
|
361
|
-
globalCss?:
|
|
352
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<_pandacss_types_dist_system_types.TCondition, _pandacss_types_dist_system_types.NeverType, false> | undefined;
|
|
362
353
|
logLevel?: "debug" | "info" | "warn" | "error" | "silent" | undefined;
|
|
363
354
|
presets?: string[] | undefined;
|
|
364
355
|
preflight?: boolean | undefined;
|
|
@@ -366,10 +357,10 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
366
357
|
cssVarPrefix?: string | undefined;
|
|
367
358
|
watch?: boolean | undefined;
|
|
368
359
|
poll?: boolean | undefined;
|
|
369
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
370
|
-
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;
|
|
371
362
|
strictTokens?: boolean | undefined;
|
|
372
|
-
generator?:
|
|
363
|
+
generator?: _pandacss_types_dist_generator.ClassGeneratorOptions | undefined;
|
|
373
364
|
include: string[];
|
|
374
365
|
outdir: string;
|
|
375
366
|
}>;
|