@pandacss/generator 0.4.0 → 0.5.1
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 +270 -0
- package/dist/index.d.ts +80 -75
- package/dist/index.js +836 -175
- package/dist/index.mjs +828 -167
- package/package.json +8 -8
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import * as _pandacss_types_dist_shared from '@pandacss/types/dist/shared';
|
|
2
|
+
import * as _pandacss_core from '@pandacss/core';
|
|
3
|
+
import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
|
|
4
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
5
|
+
import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
|
|
6
|
+
|
|
7
|
+
declare const getEngine: (conf: ConfigResultWithHooks) => {
|
|
8
|
+
patterns: {
|
|
9
|
+
transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
|
|
10
|
+
nodes: {
|
|
11
|
+
type: "pattern";
|
|
12
|
+
name: string;
|
|
13
|
+
props: string[];
|
|
14
|
+
baseName: string;
|
|
15
|
+
}[];
|
|
16
|
+
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
17
|
+
getConfig: (name: string) => _pandacss_types.PatternConfig;
|
|
18
|
+
getNames: (name: string) => {
|
|
19
|
+
name: string;
|
|
20
|
+
upperName: string;
|
|
21
|
+
dashName: string;
|
|
22
|
+
styleFnName: string;
|
|
23
|
+
jsxName: string;
|
|
24
|
+
};
|
|
25
|
+
details: {
|
|
26
|
+
props: string[];
|
|
27
|
+
blocklistType: string;
|
|
28
|
+
config: _pandacss_types.PatternConfig;
|
|
29
|
+
name: string;
|
|
30
|
+
upperName: string;
|
|
31
|
+
dashName: string;
|
|
32
|
+
styleFnName: string;
|
|
33
|
+
jsxName: string;
|
|
34
|
+
}[];
|
|
35
|
+
getFnName: (jsx: string) => string;
|
|
36
|
+
isEmpty: () => boolean;
|
|
37
|
+
};
|
|
38
|
+
jsx: {
|
|
39
|
+
factoryName: string;
|
|
40
|
+
upperName: string;
|
|
41
|
+
typeName: string;
|
|
42
|
+
componentName: string;
|
|
43
|
+
framework: ("solid" | "react" | "preact" | "vue" | "qwik") | undefined;
|
|
44
|
+
};
|
|
45
|
+
paths: {
|
|
46
|
+
get: (file?: string | undefined) => string[];
|
|
47
|
+
root: string[];
|
|
48
|
+
css: string[];
|
|
49
|
+
token: string[];
|
|
50
|
+
types: string[];
|
|
51
|
+
recipe: string[];
|
|
52
|
+
pattern: string[];
|
|
53
|
+
chunk: string[];
|
|
54
|
+
outCss: string[];
|
|
55
|
+
jsx: string[];
|
|
56
|
+
};
|
|
57
|
+
file: {
|
|
58
|
+
ext(file: string): string;
|
|
59
|
+
import(mod: string, file: string): string;
|
|
60
|
+
export(file: string): string;
|
|
61
|
+
};
|
|
62
|
+
isTemplateLiteralSyntax: boolean;
|
|
63
|
+
studio: {
|
|
64
|
+
outdir: string;
|
|
65
|
+
logo?: string | undefined;
|
|
66
|
+
inject?: {
|
|
67
|
+
head?: string | undefined;
|
|
68
|
+
body?: string | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
};
|
|
71
|
+
hash: {
|
|
72
|
+
tokens: boolean | undefined;
|
|
73
|
+
className: boolean | undefined;
|
|
74
|
+
};
|
|
75
|
+
prefix: {
|
|
76
|
+
tokens: string | undefined;
|
|
77
|
+
className: string | undefined;
|
|
78
|
+
};
|
|
79
|
+
tokens: _pandacss_token_dictionary.TokenDictionary;
|
|
80
|
+
utility: _pandacss_core.Utility;
|
|
81
|
+
properties: string[];
|
|
82
|
+
isValidProperty: (key: string) => boolean;
|
|
83
|
+
recipes: _pandacss_core.Recipes;
|
|
84
|
+
conditions: _pandacss_core.Conditions;
|
|
85
|
+
createSheetContext: () => _pandacss_core.StylesheetContext;
|
|
86
|
+
createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
|
|
87
|
+
hooks: _pandacss_types.PandaHookable;
|
|
88
|
+
path: string;
|
|
89
|
+
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "include" | "outdir" | "cwd">>;
|
|
90
|
+
tsconfig?: TSConfig | undefined;
|
|
91
|
+
tsconfigFile?: string | undefined;
|
|
92
|
+
dependencies: string[];
|
|
93
|
+
};
|
|
94
|
+
type Context = ReturnType<typeof getEngine>;
|
|
95
|
+
|
|
96
|
+
declare const artifactsGenerated: (ctx: Context) => () => string;
|
|
97
|
+
declare const configExists: (cmd: string) => string;
|
|
98
|
+
declare const thankYou: () => string;
|
|
99
|
+
declare const codegenComplete: () => string;
|
|
100
|
+
declare const noExtract: () => string;
|
|
101
|
+
declare const watch: () => string;
|
|
102
|
+
declare const configWatch: () => string;
|
|
103
|
+
declare const buildComplete: (count: number) => string;
|
|
104
|
+
declare const getMessages: (ctx: Context) => {
|
|
105
|
+
artifactsGenerated: () => string;
|
|
106
|
+
configExists: (cmd: string) => string;
|
|
107
|
+
thankYou: () => string;
|
|
108
|
+
codegenComplete: () => string;
|
|
109
|
+
noExtract: () => string;
|
|
110
|
+
watch: () => string;
|
|
111
|
+
buildComplete: (count: number) => string;
|
|
112
|
+
configWatch: () => string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
declare const messages_artifactsGenerated: typeof artifactsGenerated;
|
|
116
|
+
declare const messages_buildComplete: typeof buildComplete;
|
|
117
|
+
declare const messages_codegenComplete: typeof codegenComplete;
|
|
118
|
+
declare const messages_configExists: typeof configExists;
|
|
119
|
+
declare const messages_configWatch: typeof configWatch;
|
|
120
|
+
declare const messages_getMessages: typeof getMessages;
|
|
121
|
+
declare const messages_noExtract: typeof noExtract;
|
|
122
|
+
declare const messages_thankYou: typeof thankYou;
|
|
123
|
+
declare const messages_watch: typeof watch;
|
|
124
|
+
declare namespace messages {
|
|
125
|
+
export {
|
|
126
|
+
messages_artifactsGenerated as artifactsGenerated,
|
|
127
|
+
messages_buildComplete as buildComplete,
|
|
128
|
+
messages_codegenComplete as codegenComplete,
|
|
129
|
+
messages_configExists as configExists,
|
|
130
|
+
messages_configWatch as configWatch,
|
|
131
|
+
messages_getMessages as getMessages,
|
|
132
|
+
messages_noExtract as noExtract,
|
|
133
|
+
messages_thankYou as thankYou,
|
|
134
|
+
messages_watch as watch,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare const createGenerator: (conf: ConfigResultWithHooks) => {
|
|
139
|
+
getArtifacts: () => _pandacss_types.Artifact[];
|
|
140
|
+
getCss: (options: {
|
|
141
|
+
files: string[];
|
|
142
|
+
resolve?: boolean | undefined;
|
|
143
|
+
}) => string;
|
|
144
|
+
getParserCss: (result: _pandacss_types.ParserResultType) => string | undefined;
|
|
145
|
+
messages: {
|
|
146
|
+
artifactsGenerated: () => string;
|
|
147
|
+
configExists: (cmd: string) => string;
|
|
148
|
+
thankYou: () => string;
|
|
149
|
+
codegenComplete: () => string;
|
|
150
|
+
noExtract: () => string;
|
|
151
|
+
watch: () => string;
|
|
152
|
+
buildComplete: (count: number) => string;
|
|
153
|
+
configWatch: () => string;
|
|
154
|
+
};
|
|
155
|
+
parserOptions: {
|
|
156
|
+
importMap: {
|
|
157
|
+
css: string;
|
|
158
|
+
recipe: string;
|
|
159
|
+
pattern: string;
|
|
160
|
+
jsx: string;
|
|
161
|
+
};
|
|
162
|
+
jsx: {
|
|
163
|
+
factory: string;
|
|
164
|
+
isStyleProp: (key: string) => boolean;
|
|
165
|
+
nodes: ({
|
|
166
|
+
type: "pattern";
|
|
167
|
+
name: string;
|
|
168
|
+
props: string[];
|
|
169
|
+
baseName: string;
|
|
170
|
+
} | {
|
|
171
|
+
type: "recipe";
|
|
172
|
+
name: string;
|
|
173
|
+
props: string[];
|
|
174
|
+
baseName: string;
|
|
175
|
+
jsx: (string | RegExp)[];
|
|
176
|
+
match: RegExp;
|
|
177
|
+
})[];
|
|
178
|
+
};
|
|
179
|
+
getRecipeName: (jsxName: string) => string;
|
|
180
|
+
getRecipeByName: (name: string) => _pandacss_types.RecipeConfig | undefined;
|
|
181
|
+
};
|
|
182
|
+
patterns: {
|
|
183
|
+
transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
|
|
184
|
+
nodes: {
|
|
185
|
+
type: "pattern";
|
|
186
|
+
name: string;
|
|
187
|
+
props: string[];
|
|
188
|
+
baseName: string;
|
|
189
|
+
}[];
|
|
190
|
+
patterns: Record<string, _pandacss_types.PatternConfig>;
|
|
191
|
+
getConfig: (name: string) => _pandacss_types.PatternConfig;
|
|
192
|
+
getNames: (name: string) => {
|
|
193
|
+
name: string;
|
|
194
|
+
upperName: string;
|
|
195
|
+
dashName: string;
|
|
196
|
+
styleFnName: string;
|
|
197
|
+
jsxName: string;
|
|
198
|
+
};
|
|
199
|
+
details: {
|
|
200
|
+
props: string[];
|
|
201
|
+
blocklistType: string;
|
|
202
|
+
config: _pandacss_types.PatternConfig;
|
|
203
|
+
name: string;
|
|
204
|
+
upperName: string;
|
|
205
|
+
dashName: string;
|
|
206
|
+
styleFnName: string;
|
|
207
|
+
jsxName: string;
|
|
208
|
+
}[];
|
|
209
|
+
getFnName: (jsx: string) => string;
|
|
210
|
+
isEmpty: () => boolean;
|
|
211
|
+
};
|
|
212
|
+
jsx: {
|
|
213
|
+
factoryName: string;
|
|
214
|
+
upperName: string;
|
|
215
|
+
typeName: string;
|
|
216
|
+
componentName: string;
|
|
217
|
+
framework: ("solid" | "react" | "preact" | "vue" | "qwik") | undefined;
|
|
218
|
+
};
|
|
219
|
+
paths: {
|
|
220
|
+
get: (file?: string | undefined) => string[];
|
|
221
|
+
root: string[];
|
|
222
|
+
css: string[];
|
|
223
|
+
token: string[];
|
|
224
|
+
types: string[];
|
|
225
|
+
recipe: string[];
|
|
226
|
+
pattern: string[];
|
|
227
|
+
chunk: string[];
|
|
228
|
+
outCss: string[];
|
|
229
|
+
jsx: string[];
|
|
230
|
+
};
|
|
231
|
+
file: {
|
|
232
|
+
ext(file: string): string;
|
|
233
|
+
import(mod: string, file: string): string;
|
|
234
|
+
export(file: string): string;
|
|
235
|
+
};
|
|
236
|
+
isTemplateLiteralSyntax: boolean;
|
|
237
|
+
studio: {
|
|
238
|
+
outdir: string;
|
|
239
|
+
logo?: string | undefined;
|
|
240
|
+
inject?: {
|
|
241
|
+
head?: string | undefined;
|
|
242
|
+
body?: string | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
};
|
|
245
|
+
hash: {
|
|
246
|
+
tokens: boolean | undefined;
|
|
247
|
+
className: boolean | undefined;
|
|
248
|
+
};
|
|
249
|
+
prefix: {
|
|
250
|
+
tokens: string | undefined;
|
|
251
|
+
className: string | undefined;
|
|
252
|
+
};
|
|
253
|
+
tokens: _pandacss_token_dictionary.TokenDictionary;
|
|
254
|
+
utility: _pandacss_core.Utility;
|
|
255
|
+
properties: string[];
|
|
256
|
+
isValidProperty: (key: string) => boolean;
|
|
257
|
+
recipes: _pandacss_core.Recipes;
|
|
258
|
+
conditions: _pandacss_core.Conditions;
|
|
259
|
+
createSheetContext: () => _pandacss_core.StylesheetContext;
|
|
260
|
+
createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
|
|
261
|
+
hooks: _pandacss_types.PandaHookable;
|
|
262
|
+
path: string;
|
|
263
|
+
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "include" | "outdir" | "cwd">>;
|
|
264
|
+
tsconfig?: TSConfig | undefined;
|
|
265
|
+
tsconfigFile?: string | undefined;
|
|
266
|
+
dependencies: string[];
|
|
267
|
+
};
|
|
268
|
+
type Generator = ReturnType<typeof createGenerator>;
|
|
269
|
+
|
|
270
|
+
export { Generator, createGenerator, messages };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as _pandacss_types_dist_shared from '@pandacss/types/dist/shared';
|
|
2
2
|
import * as _pandacss_core from '@pandacss/core';
|
|
3
3
|
import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
|
|
4
|
-
import * as _pandacss_types_dist_config from '@pandacss/types/dist/config';
|
|
5
4
|
import * as _pandacss_types from '@pandacss/types';
|
|
6
|
-
import { ConfigResultWithHooks } from '@pandacss/types';
|
|
5
|
+
import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
|
|
7
6
|
|
|
8
7
|
declare const getEngine: (conf: ConfigResultWithHooks) => {
|
|
9
8
|
patterns: {
|
|
@@ -41,7 +40,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
|
|
|
41
40
|
upperName: string;
|
|
42
41
|
typeName: string;
|
|
43
42
|
componentName: string;
|
|
44
|
-
framework:
|
|
43
|
+
framework: ("solid" | "react" | "preact" | "vue" | "qwik") | undefined;
|
|
45
44
|
};
|
|
46
45
|
paths: {
|
|
47
46
|
get: (file?: string | undefined) => string[];
|
|
@@ -60,6 +59,7 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
|
|
|
60
59
|
import(mod: string, file: string): string;
|
|
61
60
|
export(file: string): string;
|
|
62
61
|
};
|
|
62
|
+
isTemplateLiteralSyntax: boolean;
|
|
63
63
|
studio: {
|
|
64
64
|
outdir: string;
|
|
65
65
|
logo?: string | undefined;
|
|
@@ -87,6 +87,8 @@ declare const getEngine: (conf: ConfigResultWithHooks) => {
|
|
|
87
87
|
hooks: _pandacss_types.PandaHookable;
|
|
88
88
|
path: string;
|
|
89
89
|
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "include" | "outdir" | "cwd">>;
|
|
90
|
+
tsconfig?: TSConfig | undefined;
|
|
91
|
+
tsconfigFile?: string | undefined;
|
|
90
92
|
dependencies: string[];
|
|
91
93
|
};
|
|
92
94
|
type Context = ReturnType<typeof getEngine>;
|
|
@@ -134,27 +136,49 @@ declare namespace messages {
|
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
declare const createGenerator: (conf: ConfigResultWithHooks) => {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
139
|
+
getArtifacts: () => _pandacss_types.Artifact[];
|
|
140
|
+
getCss: (options: {
|
|
141
|
+
files: string[];
|
|
142
|
+
resolve?: boolean | undefined;
|
|
143
|
+
}) => string;
|
|
144
|
+
getParserCss: (result: _pandacss_types.ParserResultType) => string | undefined;
|
|
145
|
+
messages: {
|
|
146
|
+
artifactsGenerated: () => string;
|
|
147
|
+
configExists: (cmd: string) => string;
|
|
148
|
+
thankYou: () => string;
|
|
149
|
+
codegenComplete: () => string;
|
|
150
|
+
noExtract: () => string;
|
|
151
|
+
watch: () => string;
|
|
152
|
+
buildComplete: (count: number) => string;
|
|
153
|
+
configWatch: () => string;
|
|
148
154
|
};
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
parserOptions: {
|
|
156
|
+
importMap: {
|
|
157
|
+
css: string;
|
|
158
|
+
recipe: string;
|
|
159
|
+
pattern: string;
|
|
160
|
+
jsx: string;
|
|
161
|
+
};
|
|
162
|
+
jsx: {
|
|
163
|
+
factory: string;
|
|
164
|
+
isStyleProp: (key: string) => boolean;
|
|
165
|
+
nodes: ({
|
|
166
|
+
type: "pattern";
|
|
167
|
+
name: string;
|
|
168
|
+
props: string[];
|
|
169
|
+
baseName: string;
|
|
170
|
+
} | {
|
|
171
|
+
type: "recipe";
|
|
172
|
+
name: string;
|
|
173
|
+
props: string[];
|
|
174
|
+
baseName: string;
|
|
175
|
+
jsx: (string | RegExp)[];
|
|
176
|
+
match: RegExp;
|
|
177
|
+
})[];
|
|
178
|
+
};
|
|
179
|
+
getRecipeName: (jsxName: string) => string;
|
|
180
|
+
getRecipeByName: (name: string) => _pandacss_types.RecipeConfig | undefined;
|
|
156
181
|
};
|
|
157
|
-
recipes: _pandacss_core.Recipes;
|
|
158
182
|
patterns: {
|
|
159
183
|
transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
|
|
160
184
|
nodes: {
|
|
@@ -185,32 +209,12 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
|
|
|
185
209
|
getFnName: (jsx: string) => string;
|
|
186
210
|
isEmpty: () => boolean;
|
|
187
211
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
} | undefined;
|
|
195
|
-
};
|
|
196
|
-
hooks: _pandacss_types.PandaHookable;
|
|
197
|
-
createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
|
|
198
|
-
properties: string[];
|
|
199
|
-
getArtifacts: () => _pandacss_types.Artifact[];
|
|
200
|
-
getCss: (options: {
|
|
201
|
-
files: string[];
|
|
202
|
-
resolve?: boolean | undefined;
|
|
203
|
-
}) => string;
|
|
204
|
-
getParserCss: (result: _pandacss_types.ParserResultType) => string | undefined;
|
|
205
|
-
messages: {
|
|
206
|
-
artifactsGenerated: () => string;
|
|
207
|
-
configExists: (cmd: string) => string;
|
|
208
|
-
thankYou: () => string;
|
|
209
|
-
codegenComplete: () => string;
|
|
210
|
-
noExtract: () => string;
|
|
211
|
-
watch: () => string;
|
|
212
|
-
buildComplete: (count: number) => string;
|
|
213
|
-
configWatch: () => string;
|
|
212
|
+
jsx: {
|
|
213
|
+
factoryName: string;
|
|
214
|
+
upperName: string;
|
|
215
|
+
typeName: string;
|
|
216
|
+
componentName: string;
|
|
217
|
+
framework: ("solid" | "react" | "preact" | "vue" | "qwik") | undefined;
|
|
214
218
|
};
|
|
215
219
|
paths: {
|
|
216
220
|
get: (file?: string | undefined) => string[];
|
|
@@ -229,36 +233,37 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
|
|
|
229
233
|
import(mod: string, file: string): string;
|
|
230
234
|
export(file: string): string;
|
|
231
235
|
};
|
|
236
|
+
isTemplateLiteralSyntax: boolean;
|
|
237
|
+
studio: {
|
|
238
|
+
outdir: string;
|
|
239
|
+
logo?: string | undefined;
|
|
240
|
+
inject?: {
|
|
241
|
+
head?: string | undefined;
|
|
242
|
+
body?: string | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
};
|
|
245
|
+
hash: {
|
|
246
|
+
tokens: boolean | undefined;
|
|
247
|
+
className: boolean | undefined;
|
|
248
|
+
};
|
|
249
|
+
prefix: {
|
|
250
|
+
tokens: string | undefined;
|
|
251
|
+
className: string | undefined;
|
|
252
|
+
};
|
|
253
|
+
tokens: _pandacss_token_dictionary.TokenDictionary;
|
|
254
|
+
utility: _pandacss_core.Utility;
|
|
255
|
+
properties: string[];
|
|
232
256
|
isValidProperty: (key: string) => boolean;
|
|
257
|
+
recipes: _pandacss_core.Recipes;
|
|
258
|
+
conditions: _pandacss_core.Conditions;
|
|
233
259
|
createSheetContext: () => _pandacss_core.StylesheetContext;
|
|
260
|
+
createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
|
|
261
|
+
hooks: _pandacss_types.PandaHookable;
|
|
262
|
+
path: string;
|
|
263
|
+
config: _pandacss_types_dist_shared.UnwrapExtend<_pandacss_types.RequiredBy<_pandacss_types.Config, "include" | "outdir" | "cwd">>;
|
|
264
|
+
tsconfig?: TSConfig | undefined;
|
|
265
|
+
tsconfigFile?: string | undefined;
|
|
234
266
|
dependencies: string[];
|
|
235
|
-
parserOptions: {
|
|
236
|
-
importMap: {
|
|
237
|
-
css: string;
|
|
238
|
-
recipe: string;
|
|
239
|
-
pattern: string;
|
|
240
|
-
jsx: string;
|
|
241
|
-
};
|
|
242
|
-
jsx: {
|
|
243
|
-
factory: string;
|
|
244
|
-
isStyleProp: (key: string) => boolean;
|
|
245
|
-
nodes: ({
|
|
246
|
-
type: "pattern";
|
|
247
|
-
name: string;
|
|
248
|
-
props: string[];
|
|
249
|
-
baseName: string;
|
|
250
|
-
} | {
|
|
251
|
-
type: "recipe";
|
|
252
|
-
name: string;
|
|
253
|
-
props: string[];
|
|
254
|
-
baseName: string;
|
|
255
|
-
jsx: (string | RegExp)[];
|
|
256
|
-
match: RegExp;
|
|
257
|
-
})[];
|
|
258
|
-
};
|
|
259
|
-
getRecipeName: (jsxName: string) => string;
|
|
260
|
-
getRecipeByName: (name: string) => _pandacss_types.RecipeConfig | undefined;
|
|
261
|
-
};
|
|
262
267
|
};
|
|
263
268
|
type Generator = ReturnType<typeof createGenerator>;
|
|
264
269
|
|