@pandacss/node 0.0.0-dev-20221228072806 → 0.0.0-dev-20221229135204
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 +12 -13
- package/dist/index.js +262 -179
- package/dist/index.mjs +244 -161
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import * as _pandacss_types_dist_system_types from '@pandacss/types/dist/system-
|
|
|
5
5
|
import * as ts_morph from 'ts-morph';
|
|
6
6
|
import * as _pandacss_types_dist_shared from '@pandacss/types/dist/shared';
|
|
7
7
|
import * as _pandacss_types_dist_recipe from '@pandacss/types/dist/recipe';
|
|
8
|
-
import * as _pandacss_types_dist_composition from '@pandacss/types/dist/composition';
|
|
9
8
|
import * as _pandacss_types from '@pandacss/types';
|
|
10
9
|
import { Dict, RecipeConfig, PatternConfig, Config } from '@pandacss/types';
|
|
11
10
|
import * as _pandacss_config from '@pandacss/config';
|
|
@@ -36,8 +35,8 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
36
35
|
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
37
36
|
tokens?: _pandacss_types.Tokens | undefined;
|
|
38
37
|
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
39
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
40
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
38
|
+
textStyles?: _pandacss_types.TextStyles<{}> | undefined;
|
|
39
|
+
layerStyles?: _pandacss_types.LayerStyles<{}> | undefined;
|
|
41
40
|
recipes?: Record<string, RecipeConfig<_pandacss_types_dist_recipe.TVariants>> | undefined;
|
|
42
41
|
};
|
|
43
42
|
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config<_pandacss_types.Conditions, Dict<any>, _pandacss_types.Tokens>, "include" | "outdir" | "cwd">>;
|
|
@@ -102,7 +101,7 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
102
101
|
patterns: Record<string, PatternConfig>;
|
|
103
102
|
hasPatterns: boolean;
|
|
104
103
|
getPattern: (name: string) => PatternConfig | undefined;
|
|
105
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<
|
|
104
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<{}, {}, false, {}>;
|
|
106
105
|
patternNodes: {
|
|
107
106
|
type: "pattern";
|
|
108
107
|
name: string;
|
|
@@ -141,7 +140,7 @@ declare function createContext(conf: LoadConfigResult, io?: IO): {
|
|
|
141
140
|
cssVarPrefix?: string | undefined;
|
|
142
141
|
watch?: boolean | undefined;
|
|
143
142
|
poll?: boolean | undefined;
|
|
144
|
-
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<
|
|
143
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
|
|
145
144
|
strictTokens?: boolean | undefined;
|
|
146
145
|
include: string[];
|
|
147
146
|
outdir: string;
|
|
@@ -170,8 +169,8 @@ declare class Builder {
|
|
|
170
169
|
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
171
170
|
tokens?: _pandacss_types.Tokens | undefined;
|
|
172
171
|
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
173
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
174
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
172
|
+
textStyles?: _pandacss_types.TextStyles<{}> | undefined;
|
|
173
|
+
layerStyles?: _pandacss_types.LayerStyles<{}> | undefined;
|
|
175
174
|
recipes?: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>> | undefined;
|
|
176
175
|
};
|
|
177
176
|
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config<_pandacss_types.Conditions, _pandacss_types.Dict<any>, _pandacss_types.Tokens>, "include" | "outdir" | "cwd">>;
|
|
@@ -236,7 +235,7 @@ declare class Builder {
|
|
|
236
235
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
237
236
|
hasPatterns: boolean;
|
|
238
237
|
getPattern: (name: string) => _pandacss_types.PatternConfig | undefined;
|
|
239
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<
|
|
238
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<{}, {}, false, {}>;
|
|
240
239
|
patternNodes: {
|
|
241
240
|
type: "pattern";
|
|
242
241
|
name: string;
|
|
@@ -275,7 +274,7 @@ declare class Builder {
|
|
|
275
274
|
cssVarPrefix?: string | undefined;
|
|
276
275
|
watch?: boolean | undefined;
|
|
277
276
|
poll?: boolean | undefined;
|
|
278
|
-
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<
|
|
277
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
|
|
279
278
|
strictTokens?: boolean | undefined;
|
|
280
279
|
include: string[];
|
|
281
280
|
outdir: string;
|
|
@@ -296,8 +295,8 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
296
295
|
keyframes?: _pandacss_types.CssKeyframes | undefined;
|
|
297
296
|
tokens?: _pandacss_types.Tokens | undefined;
|
|
298
297
|
semanticTokens?: _pandacss_types.SemanticTokens<string> | undefined;
|
|
299
|
-
textStyles?: _pandacss_types.TextStyles<
|
|
300
|
-
layerStyles?: _pandacss_types.LayerStyles<
|
|
298
|
+
textStyles?: _pandacss_types.TextStyles<{}> | undefined;
|
|
299
|
+
layerStyles?: _pandacss_types.LayerStyles<{}> | undefined;
|
|
301
300
|
recipes?: Record<string, _pandacss_types.RecipeConfig<_pandacss_types_dist_recipe.TVariants>> | undefined;
|
|
302
301
|
};
|
|
303
302
|
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<Config<_pandacss_types.Conditions, _pandacss_types.Dict<any>, _pandacss_types.Tokens>, "include" | "outdir" | "cwd">>;
|
|
@@ -362,7 +361,7 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
362
361
|
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
363
362
|
hasPatterns: boolean;
|
|
364
363
|
getPattern: (name: string) => _pandacss_types.PatternConfig | undefined;
|
|
365
|
-
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<
|
|
364
|
+
execPattern: (name: string, data: Record<string, any>) => _pandacss_types.StyleObject<{}, {}, false, {}>;
|
|
366
365
|
patternNodes: {
|
|
367
366
|
type: "pattern";
|
|
368
367
|
name: string;
|
|
@@ -401,7 +400,7 @@ declare function loadConfigAndCreateContext(options?: {
|
|
|
401
400
|
cssVarPrefix?: string | undefined;
|
|
402
401
|
watch?: boolean | undefined;
|
|
403
402
|
poll?: boolean | undefined;
|
|
404
|
-
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<
|
|
403
|
+
globalCss?: _pandacss_types_dist_system_types.GlobalStyleObject<{}, {}, false, {}> | undefined;
|
|
405
404
|
strictTokens?: boolean | undefined;
|
|
406
405
|
include: string[];
|
|
407
406
|
outdir: string;
|