eddev 2.0.0-beta.38 → 2.0.0-beta.39

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.
Files changed (62) hide show
  1. package/dist/app/entry/ssr-root-client.d.ts +6 -0
  2. package/dist/app/entry/ssr-root.d.ts +10 -0
  3. package/dist/app/entry/ssr-root.js +24 -0
  4. package/dist/app/lib/blocks/EditableText.d.ts +41 -0
  5. package/dist/app/lib/blocks/EditableText.js +50 -0
  6. package/dist/app/lib/blocks/InnerBlocks.d.ts +52 -0
  7. package/dist/app/lib/blocks/InnerBlocks.js +63 -0
  8. package/dist/app/lib/blocks/defineBlock.d.ts +2 -0
  9. package/dist/app/lib/blocks/defineBlock.js +3 -0
  10. package/dist/app/lib/blocks/editor/controls.d.ts +10 -0
  11. package/dist/app/lib/blocks/editor/controls.js +20 -0
  12. package/dist/app/lib/blocks/index.d.ts +9 -0
  13. package/dist/app/lib/blocks/index.js +9 -0
  14. package/dist/app/lib/devtools/index.d.ts +1 -0
  15. package/dist/app/lib/devtools/index.js +1 -0
  16. package/dist/app/lib/devtools/tailwind.config.d.ts +23 -0
  17. package/dist/app/lib/devtools/tailwind.config.js +24 -0
  18. package/dist/app/lib/devtools/useQueryDebug.d.ts +15 -0
  19. package/dist/app/lib/devtools/useQueryDebug.js +10 -0
  20. package/dist/app/lib/dynamic/index.d.ts +1 -0
  21. package/dist/app/lib/dynamic/index.js +1 -0
  22. package/dist/app/lib/hooks/apiConfig.d.ts +20 -0
  23. package/dist/app/lib/hooks/apiConfig.js +9 -0
  24. package/dist/app/lib/hooks/index.d.ts +4 -0
  25. package/dist/app/lib/hooks/index.js +4 -0
  26. package/dist/app/lib/hooks/queryUtils.d.ts +49 -0
  27. package/dist/app/lib/hooks/queryUtils.js +182 -0
  28. package/dist/app/lib/hooks/useAppData.d.ts +4 -0
  29. package/dist/app/lib/hooks/useAppData.js +11 -0
  30. package/dist/app/lib/hooks/useRPC.d.ts +9 -0
  31. package/dist/app/lib/hooks/useRPC.js +9 -0
  32. package/dist/app/lib/internal/index.d.ts +4 -0
  33. package/dist/app/lib/internal/index.js +4 -0
  34. package/dist/app/lib/internal/internal-store.d.ts +9 -0
  35. package/dist/app/lib/internal/internal-store.js +7 -0
  36. package/dist/app/lib/legacy-stitches/createStitches.d.ts +615 -0
  37. package/dist/app/lib/legacy-stitches/createStitches.js +439 -0
  38. package/dist/app/lib/legacy-stitches/index.d.ts +1 -0
  39. package/dist/app/lib/legacy-stitches/index.js +1 -0
  40. package/dist/app/lib/routing/components/SSRRouter.d.ts +9 -0
  41. package/dist/app/lib/routing/components/SSRRouter.js +13 -0
  42. package/dist/app/lib/views/defineView.d.ts +4 -0
  43. package/dist/app/lib/views/defineView.js +3 -0
  44. package/dist/app/lib/views/index.d.ts +1 -0
  45. package/dist/app/lib/views/index.js +1 -0
  46. package/dist/app/server/defineRouter.d.ts +2 -0
  47. package/dist/app/server/defineRouter.js +4 -0
  48. package/dist/app/server/index.d.ts +4 -0
  49. package/dist/app/server/index.js +4 -0
  50. package/dist/app/server/proxy-wp-admin.d.ts +3 -0
  51. package/dist/app/server/proxy-wp-admin.js +105 -0
  52. package/dist/app/server/render-ssr-page.d.ts +5 -0
  53. package/dist/app/server/render-ssr-page.js +31 -0
  54. package/dist/app/server/server-context.d.ts +50 -0
  55. package/dist/app/server/server-context.js +145 -0
  56. package/dist/app/server/utils/headers.d.ts +5 -0
  57. package/dist/app/server/utils/headers.js +28 -0
  58. package/dist/app/server/utils/replace-host.d.ts +10 -0
  59. package/dist/app/server/utils/replace-host.js +61 -0
  60. package/dist/app/utils/wp.d.ts +26 -0
  61. package/dist/app/utils/wp.js +1 -0
  62. package/package.json +1 -1
@@ -0,0 +1,615 @@
1
+ import type { ConfigType } from "../../../../stitches-archive/config.js";
2
+ import { DefaultThemeMap } from "../../../../stitches-archive/index.js";
3
+ import { Properties as CSS } from "csstype";
4
+ type UtilValue<Theme extends ConfigType.Theme<any>, Scale extends string, CSSValue> = Scale extends keyof Theme ? `$${Exclude<keyof Theme[Scale], symbol>}` | CSSValue : CSSValue;
5
+ type AtMedias<T extends any> = T extends string ? `@${T}` : never;
6
+ type ResponsiveValue<Media extends ConfigType.Media<any>, T> = T | {
7
+ [K in AtMedias<keyof Media>]?: T | [T];
8
+ };
9
+ type TypographyConfig<Theme extends ConfigType.Theme<{}>, Media extends ConfigType.Media<{}>, T extends Record<string, any>> = {
10
+ [Property in keyof T]: {
11
+ fontFamily?: Theme["fonts"] extends {} ? `$${Extract<keyof Theme["fonts"], string>}` | CSS["fontFamily"] : CSS["fontFamily"];
12
+ fontSize?: ResponsiveValue<Media, Theme["fontSizes"] extends {} ? `$${Extract<keyof Theme["fontSizes"], string>}` | CSS["fontSize"] : CSS["fontSize"]>;
13
+ textTransform?: CSS["textTransform"];
14
+ fontWeight?: CSS["fontWeight"];
15
+ wordSpacing?: CSS["wordSpacing"];
16
+ letterSpacing?: CSS["letterSpacing"];
17
+ lineHeight?: ResponsiveValue<Media, Theme["lineHeights"] extends {} ? `$${Extract<keyof Theme["lineHeights"], string>}` | CSS["lineHeight"] : CSS["lineHeight"]>;
18
+ };
19
+ };
20
+ export type BreakpointArray = {
21
+ key: string;
22
+ min: string | null;
23
+ max: string | null;
24
+ }[];
25
+ export declare function parseBreakpoints(names: string[], medias: any): BreakpointArray;
26
+ interface GridConfig<Theme extends ConfigType.Theme<{}>, Media extends ConfigType.Media<{}>> {
27
+ columns: number;
28
+ breakpoints: {
29
+ [K in AtMedias<keyof Media>]?: {
30
+ container: string;
31
+ gutter: UtilValue<Theme, "space", string>;
32
+ margin: UtilValue<Theme, "space", string>;
33
+ };
34
+ };
35
+ }
36
+ type ResponsiveScale<Media extends ConfigType.Media<{}>, T extends {}> = {
37
+ [K in keyof T]: {
38
+ [M in AtMedias<keyof Media>]?: string | number | [string | number];
39
+ } | string | number;
40
+ };
41
+ type ResponsiveConfig<Media extends ConfigType.Media<{}>, T extends {
42
+ [key: string]: any;
43
+ }> = {
44
+ [Scale in keyof T]: ResponsiveScale<Media, T[Scale]>;
45
+ };
46
+ type ResponsiveAtom = {
47
+ lerpStart: boolean;
48
+ } & ({
49
+ type: "multiplier";
50
+ value: number;
51
+ } | {
52
+ type: "percent";
53
+ value: number;
54
+ } | {
55
+ type: "px";
56
+ value: number;
57
+ } | {
58
+ type: "number";
59
+ value: number;
60
+ } | {
61
+ type: "unknown";
62
+ value: string | number;
63
+ } | {
64
+ type: "undefined";
65
+ });
66
+ export type ResponsiveAtomCalc = ResponsiveAtom & {
67
+ defined: boolean;
68
+ breakpoint: string;
69
+ baseBreakpoint: string;
70
+ lastBreakpoint: string;
71
+ lerping?: {
72
+ fromBP: string | null;
73
+ toBP: string | null;
74
+ minMedia: number;
75
+ maxMedia: number;
76
+ minValue: number;
77
+ maxValue: number;
78
+ };
79
+ concreteValue: number | null;
80
+ };
81
+ export declare function parseResponsiveObject(breakpoints: ReturnType<typeof parseBreakpoints>, object: any): ResponsiveAtomCalc[];
82
+ export declare function getResponsiveObjectStyles(breakpoints: ReturnType<typeof parseBreakpoints>, object: any, varName: string, unit?: string): any[];
83
+ export declare function parseResponsiveTokens(theme: any, breakpoints: any): {
84
+ initialResponsive: any;
85
+ globalResponsive: any;
86
+ };
87
+ export declare function createStitches<Prefix extends string = "", Media extends {} = {}, Breakpoints extends (keyof Media)[] = [], Theme extends {} = {}, Responsive extends {} = {}, ThemeMap extends {} = DefaultThemeMap, Utils extends {} = {}, Typography extends {} = {}>(config: {
88
+ breakpoints: Breakpoints;
89
+ prefix?: ConfigType.Prefix<Prefix>;
90
+ media: ConfigType.Media<Media>;
91
+ theme: ConfigType.Theme<Theme>;
92
+ responsive: ResponsiveConfig<Media & {
93
+ initial: string;
94
+ editor: string;
95
+ }, Responsive>;
96
+ typography: TypographyConfig<Theme, Media & {
97
+ initial: string;
98
+ editor: string;
99
+ }, Typography>;
100
+ grid: GridConfig<Theme, Media & {
101
+ initial: string;
102
+ editor: string;
103
+ }>;
104
+ themeMap?: ConfigType.ThemeMap<ThemeMap>;
105
+ utils: ConfigType.Utils<Utils>;
106
+ }): {
107
+ originalConfig: {
108
+ breakpoints: Breakpoints;
109
+ prefix?: ConfigType.Prefix<Prefix>;
110
+ media: ConfigType.Media<Media>;
111
+ theme: ConfigType.Theme<Theme>;
112
+ responsive: ResponsiveConfig<Media & {
113
+ initial: string;
114
+ editor: string;
115
+ }, Responsive>;
116
+ typography: TypographyConfig<Theme, Media & {
117
+ initial: string;
118
+ editor: string;
119
+ }, Typography>;
120
+ grid: GridConfig<Theme, Media & {
121
+ initial: string;
122
+ editor: string;
123
+ }>;
124
+ themeMap?: ConfigType.ThemeMap<ThemeMap>;
125
+ utils: ConfigType.Utils<Utils>;
126
+ };
127
+ breakpoints: BreakpointArray;
128
+ typeVariants: { [key in keyof TypographyConfig<Theme, Media & {
129
+ initial: string;
130
+ editor: string;
131
+ }, Typography>]: any; };
132
+ gridVariants: {};
133
+ responsiveTokens: { [Scale in keyof Responsive]: { [T in keyof Responsive[Scale]]: number; }; };
134
+ responsiveGlobals: any;
135
+ config: {
136
+ prefix: "";
137
+ media: {
138
+ initial: "";
139
+ } & Media;
140
+ theme: Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; };
141
+ themeMap: ThemeMap;
142
+ utils: {
143
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
144
+ initial: string;
145
+ editor: string;
146
+ }, Typography>]: any; }[keyof Typography];
147
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
148
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
149
+ };
150
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
151
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
152
+ };
153
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
154
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
155
+ };
156
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
157
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
158
+ };
159
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
160
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
161
+ };
162
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
163
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
164
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
165
+ };
166
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
167
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
168
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
169
+ };
170
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
171
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
172
+ };
173
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
174
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
175
+ };
176
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
177
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
178
+ };
179
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
180
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
181
+ };
182
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
183
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
184
+ };
185
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
186
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
187
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
188
+ };
189
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
190
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
191
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
192
+ };
193
+ cols: (value: number) => {
194
+ gridColumn: string;
195
+ "--grid-columns": number;
196
+ };
197
+ };
198
+ };
199
+ prefix: "";
200
+ globalCss: <Styles extends {
201
+ [K: string]: any;
202
+ }>(...styles: ({
203
+ '@import'?: unknown;
204
+ '@font-face'?: unknown;
205
+ } & { [K in keyof Styles]: K extends "@import" ? string | string[] : K extends "@font-face" ? import("../../../../stitches-archive/css.js").AtRule.FontFace | import("../../../../stitches-archive/css.js").AtRule.FontFace[] : K extends `@keyframes ${string}` ? {
206
+ [x: string]: import("../../../../stitches-archive/css-util.js").CSS<{
207
+ initial: "";
208
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
209
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
210
+ initial: string;
211
+ editor: string;
212
+ }, Typography>]: any; }[keyof Typography];
213
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
214
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
215
+ };
216
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
217
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
218
+ };
219
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
220
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
221
+ };
222
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
223
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
224
+ };
225
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
226
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
227
+ };
228
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
229
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
230
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
231
+ };
232
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
233
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
234
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
235
+ };
236
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
237
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
238
+ };
239
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
240
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
241
+ };
242
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
243
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
244
+ };
245
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
246
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
247
+ };
248
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
249
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
250
+ };
251
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
252
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
253
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
254
+ };
255
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
256
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
257
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
258
+ };
259
+ cols: (value: number) => {
260
+ gridColumn: string;
261
+ "--grid-columns": number;
262
+ };
263
+ }>;
264
+ } : K extends `@property ${string}` ? import("../../../../stitches-archive/css.js").AtRule.Property : import("../../../../stitches-archive/css-util.js").CSS<{
265
+ initial: "";
266
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
267
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
268
+ initial: string;
269
+ editor: string;
270
+ }, Typography>]: any; }[keyof Typography];
271
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
272
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
273
+ };
274
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
275
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
276
+ };
277
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
278
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
279
+ };
280
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
281
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
282
+ };
283
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
284
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
285
+ };
286
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
287
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
288
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
289
+ };
290
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
291
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
292
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
293
+ };
294
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
295
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
296
+ };
297
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
298
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
299
+ };
300
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
301
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
302
+ };
303
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
304
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
305
+ };
306
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
307
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
308
+ };
309
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
310
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
311
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
312
+ };
313
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
314
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
315
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
316
+ };
317
+ cols: (value: number) => {
318
+ gridColumn: string;
319
+ "--grid-columns": number;
320
+ };
321
+ }>; })[]) => {
322
+ (): string;
323
+ };
324
+ keyframes: (style: {
325
+ [offset: string]: import("../../../../stitches-archive/css-util.js").CSS<{
326
+ initial: "";
327
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
328
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
329
+ initial: string;
330
+ editor: string;
331
+ }, Typography>]: any; }[keyof Typography];
332
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
333
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
334
+ };
335
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
336
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
337
+ };
338
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
339
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
340
+ };
341
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
342
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
343
+ };
344
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
345
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
346
+ };
347
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
348
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
349
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
350
+ };
351
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
352
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
353
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
354
+ };
355
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
356
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
357
+ };
358
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
359
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
360
+ };
361
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
362
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
363
+ };
364
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
365
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
366
+ };
367
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
368
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
369
+ };
370
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
371
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
372
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
373
+ };
374
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
375
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
376
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
377
+ };
378
+ cols: (value: number) => {
379
+ gridColumn: string;
380
+ "--grid-columns": number;
381
+ };
382
+ }>;
383
+ }) => {
384
+ (): string;
385
+ name: string;
386
+ };
387
+ createTheme: <Argument0 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_2 ? { [Scale_2 in keyof T_2]?: { [Token in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_2]]?: string | number | boolean | undefined; } | undefined; } : never) & {
388
+ [x: string]: {
389
+ [x: string]: string | number | boolean;
390
+ [x: number]: string | number | boolean;
391
+ };
392
+ }), Argument1 extends string | ((Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_3 ? { [Scale_3 in keyof T_3]?: { [Token_1 in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_3]]?: string | number | boolean | undefined; } | undefined; } : never) & {
393
+ [x: string]: {
394
+ [x: string]: string | number | boolean;
395
+ [x: number]: string | number | boolean;
396
+ };
397
+ })>(nameOrScalesArg0: Argument0, nameOrScalesArg1?: Argument1 | undefined) => string & {
398
+ className: string;
399
+ selector: string;
400
+ } & (Argument0 extends string ? import("../../../../stitches-archive/stitches.js").ThemeTokens<Argument1, ""> : import("../../../../stitches-archive/stitches.js").ThemeTokens<Argument0, "">);
401
+ theme: string & {
402
+ className: string;
403
+ selector: string;
404
+ } & (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; } extends infer T_2 extends {} ? { [Scale_2 in keyof T_2]: { [Token in keyof (Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; })[Scale_2]]: import("../../../../stitches-archive/theme.js").Token<Extract<Token, string | number>, string, Extract<Scale_2, string | void>, "">; }; } : never);
405
+ reset: {
406
+ (): void;
407
+ };
408
+ getCssText: {
409
+ (): string;
410
+ };
411
+ css: <Composers extends (string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | import("../../../../stitches-archive/util.js").Function | {
412
+ [name: string]: unknown;
413
+ })[], CSS = import("../../../../stitches-archive/css-util.js").CSS<{
414
+ initial: "";
415
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
416
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
417
+ initial: string;
418
+ editor: string;
419
+ }, Typography>]: any; }[keyof Typography];
420
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
421
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
422
+ };
423
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
424
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
425
+ };
426
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
427
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
428
+ };
429
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
430
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
431
+ };
432
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
433
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
434
+ };
435
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
436
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
437
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
438
+ };
439
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
440
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
441
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
442
+ };
443
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
444
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
445
+ };
446
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
447
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
448
+ };
449
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
450
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
451
+ };
452
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
453
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
454
+ };
455
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
456
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
457
+ };
458
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
459
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
460
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
461
+ };
462
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
463
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
464
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
465
+ };
466
+ cols: (value: number) => {
467
+ gridColumn: string;
468
+ "--grid-columns": number;
469
+ };
470
+ }>>(...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("react").JSXElementConstructor<any> | import("react").ExoticComponent<any> | import("../../../../stitches-archive/util.js").Function ? Composers[K] : import("../../../../stitches-archive/stitches.js").RemoveIndex<CSS> & {
471
+ variants?: {
472
+ [x: string]: {
473
+ [x: string]: CSS;
474
+ [x: number]: CSS;
475
+ };
476
+ } | undefined;
477
+ compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../../../../stitches-archive/util.js").String | import("../../../../stitches-archive/util.js").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]> | undefined; } : import("../../../../stitches-archive/util.js").WideObject) & {
478
+ css: CSS;
479
+ })[] | undefined;
480
+ defaultVariants?: ("variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../../../../stitches-archive/util.js").String | import("../../../../stitches-archive/util.js").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]> | undefined; } : import("../../../../stitches-archive/util.js").WideObject) | undefined;
481
+ } & CSS & { [K2 in keyof Composers[K]]: K2 extends "variants" | "compoundVariants" | "defaultVariants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("../../../../stitches-archive/styled-component.js").CssComponent<import("../../../../stitches-archive/styled-component.js").StyledComponentType<Composers>, import("../../../../stitches-archive/styled-component.js").StyledComponentProps<Composers>, {
482
+ initial: "";
483
+ } & Media, CSS>;
484
+ styled: <Type extends keyof JSX.IntrinsicElements | React.ComponentType<any> | import("../../../../stitches-archive/util.js").Function, Composers extends (string | React.ComponentType<any> | import("../../../../stitches-archive/util.js").Function | {
485
+ [name: string]: unknown;
486
+ })[], CSS = import("../../../../stitches-archive/css-util.js").CSS<{
487
+ initial: "";
488
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
489
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
490
+ initial: string;
491
+ editor: string;
492
+ }, Typography>]: any; }[keyof Typography];
493
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
494
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
495
+ };
496
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
497
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
498
+ };
499
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
500
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
501
+ };
502
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
503
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
504
+ };
505
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
506
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
507
+ };
508
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
509
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
510
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
511
+ };
512
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
513
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
514
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
515
+ };
516
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
517
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
518
+ };
519
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
520
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
521
+ };
522
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
523
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
524
+ };
525
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
526
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
527
+ };
528
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
529
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
530
+ };
531
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
532
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
533
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
534
+ };
535
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
536
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
537
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
538
+ };
539
+ cols: (value: number) => {
540
+ gridColumn: string;
541
+ "--grid-columns": number;
542
+ };
543
+ }>>(type: Type, ...composers: { [K in keyof Composers]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("react").ComponentType<any> | import("../../../../stitches-archive/util.js").Function ? Composers[K] : import("../../../../stitches-archive/stitches.js").RemoveIndex<CSS> & {
544
+ variants?: {
545
+ [x: string]: {
546
+ [x: string]: CSS;
547
+ [x: number]: CSS;
548
+ };
549
+ } | undefined;
550
+ compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../../../../stitches-archive/util.js").String | import("../../../../stitches-archive/util.js").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]> | undefined; } : import("../../../../stitches-archive/util.js").WideObject) & {
551
+ css: CSS;
552
+ })[] | undefined;
553
+ defaultVariants?: ("variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("../../../../stitches-archive/util.js").String | import("../../../../stitches-archive/util.js").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]> | undefined; } : import("../../../../stitches-archive/util.js").WideObject) | undefined;
554
+ } & CSS & { [K2 in keyof Composers[K]]: K2 extends "variants" | "compoundVariants" | "defaultVariants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("../../../../stitches-archive/styled-component.js").StyledComponent<Type, import("../../../../stitches-archive/styled-component.js").StyledComponentProps<Composers>, {
555
+ initial: "";
556
+ } & Media, import("../../../../stitches-archive/css-util.js").CSS<{
557
+ initial: "";
558
+ } & Media, Theme & { [Scale_1 in keyof Responsive]: { [T_1 in keyof Responsive[Scale_1]]: string; }; }, ThemeMap, {
559
+ typography: (key: keyof Typography) => { [key in keyof TypographyConfig<Theme, Media & {
560
+ initial: string;
561
+ editor: string;
562
+ }, Typography>]: any; }[keyof Typography];
563
+ m: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
564
+ margin: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
565
+ };
566
+ mt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
567
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
568
+ };
569
+ mr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
570
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
571
+ };
572
+ mb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
573
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
574
+ };
575
+ ml: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
576
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
577
+ };
578
+ mx: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
579
+ marginLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
580
+ marginRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
581
+ };
582
+ my: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
583
+ marginTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
584
+ marginBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
585
+ };
586
+ p: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
587
+ padding: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
588
+ };
589
+ pt: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
590
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
591
+ };
592
+ pr: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
593
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
594
+ };
595
+ pb: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
596
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
597
+ };
598
+ pl: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
599
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
600
+ };
601
+ px: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
602
+ paddingLeft: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
603
+ paddingRight: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
604
+ };
605
+ py: (value: import("csstype").Property.MarginTop<0 | (string & {})> | undefined) => {
606
+ paddingTop: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
607
+ paddingBottom: import("csstype").Property.MarginTop<0 | (string & {})> | undefined;
608
+ };
609
+ cols: (value: number) => {
610
+ gridColumn: string;
611
+ "--grid-columns": number;
612
+ };
613
+ }>>;
614
+ };
615
+ export {};