@topol.io/editor 0.3.0 → 1.0.0-alpha.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.
Files changed (54) hide show
  1. package/LICENSE +1 -1
  2. package/dist/topol-plugin.es.js +86 -20
  3. package/dist/topol-plugin.umd.js +1 -1
  4. package/dist/types/src/core/script-loader.d.ts +7 -0
  5. package/dist/types/src/email-editor/constants.d.ts +7 -0
  6. package/dist/types/src/email-editor/index.d.ts +97 -0
  7. package/dist/types/src/landing-page-editor/constants.d.ts +1 -0
  8. package/dist/types/src/landing-page-editor/index.d.ts +55 -0
  9. package/dist/types/src/landing-page-editor/schemas/ai/aiSchema.d.ts +15 -0
  10. package/dist/types/src/landing-page-editor/schemas/api/apiSchema.d.ts +33 -0
  11. package/dist/types/src/landing-page-editor/schemas/authHeaderConfig/authHeaderConfigScheme.d.ts +3 -0
  12. package/dist/types/src/landing-page-editor/schemas/autosave/autosaveSchema.d.ts +33 -0
  13. package/dist/types/src/landing-page-editor/schemas/comments/commentsSchema.d.ts +91 -0
  14. package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +470 -0
  15. package/dist/types/src/landing-page-editor/schemas/font/fontSchema.d.ts +12 -0
  16. package/dist/types/src/landing-page-editor/schemas/helpdesk/helpdeskSchema.d.ts +8 -0
  17. package/dist/types/src/landing-page-editor/schemas/image/imageSchema.d.ts +26 -0
  18. package/dist/types/src/landing-page-editor/schemas/language/languageSchema.d.ts +3 -0
  19. package/dist/types/src/landing-page-editor/schemas/mjmlStore/mjmlStoreSchema.d.ts +31 -0
  20. package/dist/types/src/landing-page-editor/schemas/notification/notificationSchema.d.ts +16 -0
  21. package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +7 -0
  22. package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +81 -0
  23. package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +59750 -0
  24. package/dist/types/src/landing-page-editor/schemas/premadeTemplates/premadeTemplatesSchema.d.ts +65 -0
  25. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +44831 -0
  26. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +59725 -0
  27. package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +700 -0
  28. package/dist/types/src/landing-page-editor/schemas/template/blocks/carouselBlockSchema.d.ts +74 -0
  29. package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +362 -0
  30. package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +1157 -0
  31. package/dist/types/src/landing-page-editor/schemas/template/blocks/index.d.ts +12 -0
  32. package/dist/types/src/landing-page-editor/schemas/template/blocks/rawBlockSchema.d.ts +45 -0
  33. package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +637 -0
  34. package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +392 -0
  35. package/dist/types/src/landing-page-editor/schemas/template/blocks/textBlockSchema.d.ts +480 -0
  36. package/dist/types/src/landing-page-editor/schemas/template/blocks/videoBlockSchema.d.ts +333 -0
  37. package/dist/types/src/landing-page-editor/schemas/template/commonSchema.d.ts +265 -0
  38. package/dist/types/src/landing-page-editor/schemas/template/settingsSchema.d.ts +4812 -0
  39. package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +7502 -0
  40. package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +7983 -0
  41. package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +15074 -0
  42. package/dist/types/src/landing-page-editor/schemas/template/styleSchema.d.ts +185 -0
  43. package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +58720 -0
  44. package/dist/types/src/landing-page-editor/schemas/templateSettings/templateSettingsSchema.d.ts +4959 -0
  45. package/dist/types/src/landing-page-editor/schemas/theme/themeSchema.d.ts +40 -0
  46. package/dist/types/src/landing-page-editor/schemas/user/userSchema.d.ts +13 -0
  47. package/dist/types/src/landing-page-editor/schemas/utils/transformBorder.d.ts +9 -0
  48. package/dist/types/src/main.d.ts +71 -24
  49. package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +29 -0
  50. package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +109 -0
  51. package/dist/types/types/ITopolOptions.d.ts +20 -38
  52. package/dist/types/types/landing-page/ILandingPageEditorInstance.d.ts +23 -0
  53. package/dist/types/types/landing-page/ILandingPageOptions.d.ts +114 -0
  54. package/package.json +12 -6
@@ -0,0 +1,637 @@
1
+ import { z } from "zod";
2
+ export declare const TopolSocialElementSchema: z.ZodObject<{
3
+ tagName: z.ZodLiteral<"mj-social-element">;
4
+ attributes: z.ZodDefault<z.ZodObject<{
5
+ src: z.ZodCatch<z.ZodString>;
6
+ name: z.ZodCatch<z.ZodString>;
7
+ alt: z.ZodCatch<z.ZodString>;
8
+ href: z.ZodCatch<z.ZodString>;
9
+ show: z.ZodCatch<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ export declare const TopolSocialBlockAttributesSchema: z.ZodObject<{
13
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
14
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
15
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
16
+ color: "color";
17
+ normal: "normal";
18
+ multiply: "multiply";
19
+ screen: "screen";
20
+ overlay: "overlay";
21
+ darken: "darken";
22
+ lighten: "lighten";
23
+ "color-dodge": "color-dodge";
24
+ "color-burn": "color-burn";
25
+ "hard-light": "hard-light";
26
+ "soft-light": "soft-light";
27
+ difference: "difference";
28
+ exclusion: "exclusion";
29
+ hue: "hue";
30
+ saturation: "saturation";
31
+ luminosity: "luminosity";
32
+ }>>>;
33
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
34
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
35
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
36
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
37
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
38
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
39
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
40
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
41
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
42
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
43
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
44
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
45
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
46
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
47
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
48
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
49
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
50
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
51
+ block: "block";
52
+ inline: "inline";
53
+ "inline-block": "inline-block";
54
+ flex: "flex";
55
+ grid: "grid";
56
+ none: "none";
57
+ }>>>;
58
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
59
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
60
+ center: "center";
61
+ start: "start";
62
+ end: "end";
63
+ "space-between": "space-between";
64
+ "space-around": "space-around";
65
+ "space-evenly": "space-evenly";
66
+ }>>>;
67
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
68
+ center: "center";
69
+ start: "start";
70
+ end: "end";
71
+ stretch: "stretch";
72
+ }>>>;
73
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
74
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
75
+ row: "row";
76
+ "row-reverse": "row-reverse";
77
+ column: "column";
78
+ "column-reverse": "column-reverse";
79
+ }>>>;
80
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
81
+ wrap: "wrap";
82
+ nowrap: "nowrap";
83
+ "wrap-reverse": "wrap-reverse";
84
+ }>>>;
85
+ "icon-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
86
+ "icon-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
87
+ "icon-border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
88
+ }, z.core.$strip>;
89
+ export declare const TopolSocialBlockSchema: z.ZodObject<{
90
+ uid: z.ZodCatch<z.ZodString>;
91
+ customKey: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
92
+ hover: z.ZodCatch<z.ZodOptional<z.ZodObject<{
93
+ "border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
94
+ "border-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
95
+ "border-style": z.ZodCatch<z.ZodOptional<z.ZodString>>;
96
+ "border-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
97
+ "background-color": z.ZodCatch<z.ZodOptional<z.ZodString>>;
98
+ "background-image": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
99
+ "background-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
100
+ "background-repeat": z.ZodCatch<z.ZodOptional<z.ZodString>>;
101
+ "background-position": z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
102
+ "background-attachment": z.ZodCatch<z.ZodOptional<z.ZodString>>;
103
+ "background-clip": z.ZodCatch<z.ZodOptional<z.ZodString>>;
104
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
105
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
106
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
107
+ color: "color";
108
+ normal: "normal";
109
+ multiply: "multiply";
110
+ screen: "screen";
111
+ overlay: "overlay";
112
+ darken: "darken";
113
+ lighten: "lighten";
114
+ "color-dodge": "color-dodge";
115
+ "color-burn": "color-burn";
116
+ "hard-light": "hard-light";
117
+ "soft-light": "soft-light";
118
+ difference: "difference";
119
+ exclusion: "exclusion";
120
+ hue: "hue";
121
+ saturation: "saturation";
122
+ luminosity: "luminosity";
123
+ }>>>;
124
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
125
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
126
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
127
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
128
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
129
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
130
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
131
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
132
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
133
+ }, z.core.$strip>>>;
134
+ locked: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
135
+ tagName: z.ZodLiteral<"mj-social">;
136
+ attributes: z.ZodPipe<z.ZodDefault<z.ZodObject<{
137
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
138
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
139
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
140
+ color: "color";
141
+ normal: "normal";
142
+ multiply: "multiply";
143
+ screen: "screen";
144
+ overlay: "overlay";
145
+ darken: "darken";
146
+ lighten: "lighten";
147
+ "color-dodge": "color-dodge";
148
+ "color-burn": "color-burn";
149
+ "hard-light": "hard-light";
150
+ "soft-light": "soft-light";
151
+ difference: "difference";
152
+ exclusion: "exclusion";
153
+ hue: "hue";
154
+ saturation: "saturation";
155
+ luminosity: "luminosity";
156
+ }>>>;
157
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
158
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
159
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
160
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
161
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
162
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
163
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
164
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
165
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
166
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
167
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
168
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
169
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
170
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
171
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
172
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
173
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
174
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
175
+ block: "block";
176
+ inline: "inline";
177
+ "inline-block": "inline-block";
178
+ flex: "flex";
179
+ grid: "grid";
180
+ none: "none";
181
+ }>>>;
182
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
183
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
184
+ center: "center";
185
+ start: "start";
186
+ end: "end";
187
+ "space-between": "space-between";
188
+ "space-around": "space-around";
189
+ "space-evenly": "space-evenly";
190
+ }>>>;
191
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
192
+ center: "center";
193
+ start: "start";
194
+ end: "end";
195
+ stretch: "stretch";
196
+ }>>>;
197
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
198
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
199
+ row: "row";
200
+ "row-reverse": "row-reverse";
201
+ column: "column";
202
+ "column-reverse": "column-reverse";
203
+ }>>>;
204
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
205
+ wrap: "wrap";
206
+ nowrap: "nowrap";
207
+ "wrap-reverse": "wrap-reverse";
208
+ }>>>;
209
+ "icon-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
210
+ "icon-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
211
+ "icon-border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
212
+ "css-class": z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
213
+ "": "";
214
+ hide_on_mobile: "hide_on_mobile";
215
+ hide_on_desktop: "hide_on_desktop";
216
+ }>, z.ZodArray<z.ZodString>]>>, z.ZodTransform<"" | string[] | null, string[] | z.core.$InferEnumOutput<{
217
+ "": "";
218
+ hide_on_mobile: "hide_on_mobile";
219
+ hide_on_desktop: "hide_on_desktop";
220
+ }> | null>>>>;
221
+ align: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
222
+ left: "left";
223
+ right: "right";
224
+ center: "center";
225
+ }>>>;
226
+ }, z.core.$strip>>, z.ZodTransform<{
227
+ overflow?: string | undefined;
228
+ opacity?: number | undefined;
229
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
230
+ color: "color";
231
+ normal: "normal";
232
+ multiply: "multiply";
233
+ screen: "screen";
234
+ overlay: "overlay";
235
+ darken: "darken";
236
+ lighten: "lighten";
237
+ "color-dodge": "color-dodge";
238
+ "color-burn": "color-burn";
239
+ "hard-light": "hard-light";
240
+ "soft-light": "soft-light";
241
+ difference: "difference";
242
+ exclusion: "exclusion";
243
+ hue: "hue";
244
+ saturation: "saturation";
245
+ luminosity: "luminosity";
246
+ }> | undefined;
247
+ cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
248
+ "box-shadow"?: string | undefined;
249
+ "text-shadow"?: string | undefined;
250
+ filter?: string | undefined;
251
+ "backdrop-filter"?: string | undefined;
252
+ transition?: string | undefined;
253
+ transform?: string | undefined;
254
+ "transform-origin"?: string | undefined;
255
+ "backface-visibility"?: "hidden" | "visible" | undefined;
256
+ width?: string | undefined;
257
+ height?: string | undefined;
258
+ "max-width"?: string | undefined;
259
+ "min-width"?: string | undefined;
260
+ "max-height"?: string | undefined;
261
+ "min-height"?: string | undefined;
262
+ padding?: string | undefined;
263
+ margin?: string | undefined;
264
+ display?: z.core.$InferEnumOutput<{
265
+ block: "block";
266
+ inline: "inline";
267
+ "inline-block": "inline-block";
268
+ flex: "flex";
269
+ grid: "grid";
270
+ none: "none";
271
+ }> | undefined;
272
+ "grid-template-columns"?: string | undefined;
273
+ "justify-content"?: z.core.$InferEnumOutput<{
274
+ center: "center";
275
+ start: "start";
276
+ end: "end";
277
+ "space-between": "space-between";
278
+ "space-around": "space-around";
279
+ "space-evenly": "space-evenly";
280
+ }> | undefined;
281
+ "align-items"?: z.core.$InferEnumOutput<{
282
+ center: "center";
283
+ start: "start";
284
+ end: "end";
285
+ stretch: "stretch";
286
+ }> | undefined;
287
+ gap?: string | undefined;
288
+ "flex-direction"?: z.core.$InferEnumOutput<{
289
+ row: "row";
290
+ "row-reverse": "row-reverse";
291
+ column: "column";
292
+ "column-reverse": "column-reverse";
293
+ }> | undefined;
294
+ "flex-wrap"?: z.core.$InferEnumOutput<{
295
+ wrap: "wrap";
296
+ nowrap: "nowrap";
297
+ "wrap-reverse": "wrap-reverse";
298
+ }> | undefined;
299
+ "icon-size"?: string | undefined;
300
+ "icon-padding"?: string | undefined;
301
+ "icon-border-radius"?: string | undefined;
302
+ "css-class"?: "" | string[] | null | undefined;
303
+ align?: z.core.$InferEnumOutput<{
304
+ left: "left";
305
+ right: "right";
306
+ center: "center";
307
+ }> | undefined;
308
+ }, {
309
+ overflow?: string | undefined;
310
+ opacity?: number | undefined;
311
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
312
+ color: "color";
313
+ normal: "normal";
314
+ multiply: "multiply";
315
+ screen: "screen";
316
+ overlay: "overlay";
317
+ darken: "darken";
318
+ lighten: "lighten";
319
+ "color-dodge": "color-dodge";
320
+ "color-burn": "color-burn";
321
+ "hard-light": "hard-light";
322
+ "soft-light": "soft-light";
323
+ difference: "difference";
324
+ exclusion: "exclusion";
325
+ hue: "hue";
326
+ saturation: "saturation";
327
+ luminosity: "luminosity";
328
+ }> | undefined;
329
+ cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
330
+ "box-shadow"?: string | undefined;
331
+ "text-shadow"?: string | undefined;
332
+ filter?: string | undefined;
333
+ "backdrop-filter"?: string | undefined;
334
+ transition?: string | undefined;
335
+ transform?: string | undefined;
336
+ "transform-origin"?: string | undefined;
337
+ "backface-visibility"?: "hidden" | "visible" | undefined;
338
+ width?: string | undefined;
339
+ height?: string | undefined;
340
+ "max-width"?: string | undefined;
341
+ "min-width"?: string | undefined;
342
+ "max-height"?: string | undefined;
343
+ "min-height"?: string | undefined;
344
+ padding?: string | undefined;
345
+ margin?: string | undefined;
346
+ display?: z.core.$InferEnumOutput<{
347
+ block: "block";
348
+ inline: "inline";
349
+ "inline-block": "inline-block";
350
+ flex: "flex";
351
+ grid: "grid";
352
+ none: "none";
353
+ }> | undefined;
354
+ "grid-template-columns"?: string | undefined;
355
+ "justify-content"?: z.core.$InferEnumOutput<{
356
+ center: "center";
357
+ start: "start";
358
+ end: "end";
359
+ "space-between": "space-between";
360
+ "space-around": "space-around";
361
+ "space-evenly": "space-evenly";
362
+ }> | undefined;
363
+ "align-items"?: z.core.$InferEnumOutput<{
364
+ center: "center";
365
+ start: "start";
366
+ end: "end";
367
+ stretch: "stretch";
368
+ }> | undefined;
369
+ gap?: string | undefined;
370
+ "flex-direction"?: z.core.$InferEnumOutput<{
371
+ row: "row";
372
+ "row-reverse": "row-reverse";
373
+ column: "column";
374
+ "column-reverse": "column-reverse";
375
+ }> | undefined;
376
+ "flex-wrap"?: z.core.$InferEnumOutput<{
377
+ wrap: "wrap";
378
+ nowrap: "nowrap";
379
+ "wrap-reverse": "wrap-reverse";
380
+ }> | undefined;
381
+ "icon-size"?: string | undefined;
382
+ "icon-padding"?: string | undefined;
383
+ "icon-border-radius"?: string | undefined;
384
+ "css-class"?: "" | string[] | null | undefined;
385
+ align?: z.core.$InferEnumOutput<{
386
+ left: "left";
387
+ right: "right";
388
+ center: "center";
389
+ }> | undefined;
390
+ }>>;
391
+ mdAttributes: z.ZodDefault<z.ZodObject<{
392
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
393
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
394
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
395
+ color: "color";
396
+ normal: "normal";
397
+ multiply: "multiply";
398
+ screen: "screen";
399
+ overlay: "overlay";
400
+ darken: "darken";
401
+ lighten: "lighten";
402
+ "color-dodge": "color-dodge";
403
+ "color-burn": "color-burn";
404
+ "hard-light": "hard-light";
405
+ "soft-light": "soft-light";
406
+ difference: "difference";
407
+ exclusion: "exclusion";
408
+ hue: "hue";
409
+ saturation: "saturation";
410
+ luminosity: "luminosity";
411
+ }>>>;
412
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
413
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
414
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
415
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
416
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
417
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
418
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
419
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
420
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
421
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
422
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
423
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
424
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
425
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
426
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
427
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
428
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
429
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
430
+ block: "block";
431
+ inline: "inline";
432
+ "inline-block": "inline-block";
433
+ flex: "flex";
434
+ grid: "grid";
435
+ none: "none";
436
+ }>>>;
437
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
438
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
439
+ center: "center";
440
+ start: "start";
441
+ end: "end";
442
+ "space-between": "space-between";
443
+ "space-around": "space-around";
444
+ "space-evenly": "space-evenly";
445
+ }>>>;
446
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
447
+ center: "center";
448
+ start: "start";
449
+ end: "end";
450
+ stretch: "stretch";
451
+ }>>>;
452
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
453
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
454
+ row: "row";
455
+ "row-reverse": "row-reverse";
456
+ column: "column";
457
+ "column-reverse": "column-reverse";
458
+ }>>>;
459
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
460
+ wrap: "wrap";
461
+ nowrap: "nowrap";
462
+ "wrap-reverse": "wrap-reverse";
463
+ }>>>;
464
+ "icon-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
465
+ "icon-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
466
+ "icon-border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
467
+ }, z.core.$strip>>;
468
+ smAttributes: z.ZodDefault<z.ZodObject<{
469
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
470
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
471
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
472
+ color: "color";
473
+ normal: "normal";
474
+ multiply: "multiply";
475
+ screen: "screen";
476
+ overlay: "overlay";
477
+ darken: "darken";
478
+ lighten: "lighten";
479
+ "color-dodge": "color-dodge";
480
+ "color-burn": "color-burn";
481
+ "hard-light": "hard-light";
482
+ "soft-light": "soft-light";
483
+ difference: "difference";
484
+ exclusion: "exclusion";
485
+ hue: "hue";
486
+ saturation: "saturation";
487
+ luminosity: "luminosity";
488
+ }>>>;
489
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
490
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
491
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
492
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
493
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
494
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
495
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
496
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
497
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
498
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
499
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
500
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
501
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
502
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
503
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
504
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
505
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
506
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
507
+ block: "block";
508
+ inline: "inline";
509
+ "inline-block": "inline-block";
510
+ flex: "flex";
511
+ grid: "grid";
512
+ none: "none";
513
+ }>>>;
514
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
515
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
516
+ center: "center";
517
+ start: "start";
518
+ end: "end";
519
+ "space-between": "space-between";
520
+ "space-around": "space-around";
521
+ "space-evenly": "space-evenly";
522
+ }>>>;
523
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
524
+ center: "center";
525
+ start: "start";
526
+ end: "end";
527
+ stretch: "stretch";
528
+ }>>>;
529
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
530
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
531
+ row: "row";
532
+ "row-reverse": "row-reverse";
533
+ column: "column";
534
+ "column-reverse": "column-reverse";
535
+ }>>>;
536
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
537
+ wrap: "wrap";
538
+ nowrap: "nowrap";
539
+ "wrap-reverse": "wrap-reverse";
540
+ }>>>;
541
+ "icon-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
542
+ "icon-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
543
+ "icon-border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
544
+ }, z.core.$strip>>;
545
+ xsAttributes: z.ZodDefault<z.ZodObject<{
546
+ overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
547
+ opacity: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
548
+ "mix-blend-mode": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
549
+ color: "color";
550
+ normal: "normal";
551
+ multiply: "multiply";
552
+ screen: "screen";
553
+ overlay: "overlay";
554
+ darken: "darken";
555
+ lighten: "lighten";
556
+ "color-dodge": "color-dodge";
557
+ "color-burn": "color-burn";
558
+ "hard-light": "hard-light";
559
+ "soft-light": "soft-light";
560
+ difference: "difference";
561
+ exclusion: "exclusion";
562
+ hue: "hue";
563
+ saturation: "saturation";
564
+ luminosity: "luminosity";
565
+ }>>>;
566
+ cursor: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"pointer">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"crosshair">, z.ZodLiteral<"move">, z.ZodLiteral<"not-allowed">]>>>;
567
+ "box-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
568
+ "text-shadow": z.ZodCatch<z.ZodOptional<z.ZodString>>;
569
+ filter: z.ZodCatch<z.ZodOptional<z.ZodString>>;
570
+ "backdrop-filter": z.ZodCatch<z.ZodOptional<z.ZodString>>;
571
+ transition: z.ZodCatch<z.ZodOptional<z.ZodString>>;
572
+ transform: z.ZodCatch<z.ZodOptional<z.ZodString>>;
573
+ "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
574
+ "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
575
+ width: z.ZodCatch<z.ZodOptional<z.ZodString>>;
576
+ height: z.ZodCatch<z.ZodOptional<z.ZodString>>;
577
+ "max-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
578
+ "min-width": z.ZodCatch<z.ZodOptional<z.ZodString>>;
579
+ "max-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
580
+ "min-height": z.ZodCatch<z.ZodOptional<z.ZodString>>;
581
+ padding: z.ZodCatch<z.ZodOptional<z.ZodString>>;
582
+ margin: z.ZodCatch<z.ZodOptional<z.ZodString>>;
583
+ display: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
584
+ block: "block";
585
+ inline: "inline";
586
+ "inline-block": "inline-block";
587
+ flex: "flex";
588
+ grid: "grid";
589
+ none: "none";
590
+ }>>>;
591
+ "grid-template-columns": z.ZodCatch<z.ZodOptional<z.ZodString>>;
592
+ "justify-content": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
593
+ center: "center";
594
+ start: "start";
595
+ end: "end";
596
+ "space-between": "space-between";
597
+ "space-around": "space-around";
598
+ "space-evenly": "space-evenly";
599
+ }>>>;
600
+ "align-items": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
601
+ center: "center";
602
+ start: "start";
603
+ end: "end";
604
+ stretch: "stretch";
605
+ }>>>;
606
+ gap: z.ZodCatch<z.ZodOptional<z.ZodString>>;
607
+ "flex-direction": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
608
+ row: "row";
609
+ "row-reverse": "row-reverse";
610
+ column: "column";
611
+ "column-reverse": "column-reverse";
612
+ }>>>;
613
+ "flex-wrap": z.ZodCatch<z.ZodOptional<z.ZodEnum<{
614
+ wrap: "wrap";
615
+ nowrap: "nowrap";
616
+ "wrap-reverse": "wrap-reverse";
617
+ }>>>;
618
+ "icon-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
619
+ "icon-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
620
+ "icon-border-radius": z.ZodCatch<z.ZodOptional<z.ZodString>>;
621
+ }, z.core.$strip>>;
622
+ children: z.ZodDefault<z.ZodArray<z.ZodObject<{
623
+ tagName: z.ZodLiteral<"mj-social-element">;
624
+ attributes: z.ZodDefault<z.ZodObject<{
625
+ src: z.ZodCatch<z.ZodString>;
626
+ name: z.ZodCatch<z.ZodString>;
627
+ alt: z.ZodCatch<z.ZodString>;
628
+ href: z.ZodCatch<z.ZodString>;
629
+ show: z.ZodCatch<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
630
+ }, z.core.$strip>>;
631
+ }, z.core.$strip>>>;
632
+ style: z.ZodCatch<z.ZodOptional<z.ZodString>>;
633
+ }, z.core.$strip>;
634
+ export type TopolSocialElement = z.infer<typeof TopolSocialElementSchema>;
635
+ export type TopolSocialBlock = z.infer<typeof TopolSocialBlockSchema>;
636
+ export type TopolSocialBlockStyleAttributes = z.infer<typeof TopolSocialBlockAttributesSchema>;
637
+ export declare const socialBlockDivStyleAttributes: readonly ["align", "padding"];