@topol.io/editor 1.0.0-alpha.0 → 1.0.0-alpha.10

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 (41) hide show
  1. package/README.md +150 -101
  2. package/dist/topol-plugin.es.js +131 -190
  3. package/dist/topol-plugin.umd.cjs +1 -0
  4. package/dist/types/src/core/script-loader.d.ts +15 -0
  5. package/dist/types/src/email-editor/constants.d.ts +3 -3
  6. package/dist/types/src/email-editor/index.d.ts +15 -90
  7. package/dist/types/src/landing-page-editor/index.d.ts +18 -6
  8. package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +1 -1
  9. package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +1 -2
  10. package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +89 -0
  11. package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +816 -816
  12. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +612 -612
  13. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +816 -816
  14. package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +2 -2
  15. package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +2 -2
  16. package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +6 -6
  17. package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +2 -2
  18. package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +2 -2
  19. package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +92 -92
  20. package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +94 -94
  21. package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +204 -204
  22. package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +804 -804
  23. package/dist/types/src/main.d.ts +14 -68
  24. package/dist/types/types/API/API.d.ts +8 -7
  25. package/dist/types/types/Auth/INonceAuthCallbacks.d.ts +9 -0
  26. package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +20 -17
  27. package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +65 -104
  28. package/dist/types/types/Cloud/ICloudOptions.d.ts +32 -0
  29. package/dist/types/types/ContentBlock/IContentBlockOptions.d.ts +1 -1
  30. package/dist/types/types/Countdown/ICountdownOptions.d.ts +48 -0
  31. package/dist/types/types/IEmailConfig.d.ts +199 -0
  32. package/dist/types/types/IEmailEditorInstance.d.ts +54 -0
  33. package/dist/types/types/ITopolOptions.d.ts +4 -120
  34. package/dist/types/types/ITopolPlugin.d.ts +2 -37
  35. package/dist/types/types/Language/Language.d.ts +6 -1
  36. package/dist/types/types/SavedBlock/ISavedBlock.d.ts +2 -6
  37. package/dist/types/types/Sections/ISections.d.ts +30 -0
  38. package/dist/types/types/landing-page/ILandingPageEditorInstance.d.ts +12 -4
  39. package/dist/types/types/landing-page/ILandingPageOptions.d.ts +96 -58
  40. package/package.json +10 -13
  41. package/dist/topol-plugin.umd.js +0 -1
@@ -321,7 +321,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
321
321
  saturation: "saturation";
322
322
  luminosity: "luminosity";
323
323
  }> | undefined;
324
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
324
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
325
325
  "box-shadow"?: string | undefined;
326
326
  "text-shadow"?: string | undefined;
327
327
  filter?: string | undefined;
@@ -399,7 +399,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
399
399
  saturation: "saturation";
400
400
  luminosity: "luminosity";
401
401
  }> | undefined;
402
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
402
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
403
403
  "box-shadow"?: string | undefined;
404
404
  "text-shadow"?: string | undefined;
405
405
  filter?: string | undefined;
@@ -123,7 +123,7 @@ export declare const TopolDividerBlockSchema: z.ZodObject<{
123
123
  saturation: "saturation";
124
124
  luminosity: "luminosity";
125
125
  }> | undefined;
126
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
126
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
127
127
  "box-shadow"?: string | undefined;
128
128
  "text-shadow"?: string | undefined;
129
129
  filter?: string | undefined;
@@ -171,7 +171,7 @@ export declare const TopolDividerBlockSchema: z.ZodObject<{
171
171
  saturation: "saturation";
172
172
  luminosity: "luminosity";
173
173
  }> | undefined;
174
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
174
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
175
175
  "box-shadow"?: string | undefined;
176
176
  "text-shadow"?: string | undefined;
177
177
  filter?: string | undefined;
@@ -257,7 +257,7 @@ export declare const TopolImageGifBlockAttributesTransformSchema: z.ZodPipe<z.Zo
257
257
  saturation: "saturation";
258
258
  luminosity: "luminosity";
259
259
  }> | undefined;
260
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
260
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
261
261
  "box-shadow"?: string | undefined;
262
262
  "text-shadow"?: string | undefined;
263
263
  filter?: string | undefined;
@@ -324,7 +324,7 @@ export declare const TopolImageGifBlockAttributesTransformSchema: z.ZodPipe<z.Zo
324
324
  saturation: "saturation";
325
325
  luminosity: "luminosity";
326
326
  }> | undefined;
327
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
327
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
328
328
  "box-shadow"?: string | undefined;
329
329
  "text-shadow"?: string | undefined;
330
330
  filter?: string | undefined;
@@ -472,7 +472,7 @@ export declare const TopolImageBlockSchema: z.ZodObject<{
472
472
  saturation: "saturation";
473
473
  luminosity: "luminosity";
474
474
  }> | undefined;
475
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
475
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
476
476
  "box-shadow"?: string | undefined;
477
477
  "text-shadow"?: string | undefined;
478
478
  filter?: string | undefined;
@@ -539,7 +539,7 @@ export declare const TopolImageBlockSchema: z.ZodObject<{
539
539
  saturation: "saturation";
540
540
  luminosity: "luminosity";
541
541
  }> | undefined;
542
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
542
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
543
543
  "box-shadow"?: string | undefined;
544
544
  "text-shadow"?: string | undefined;
545
545
  filter?: string | undefined;
@@ -864,7 +864,7 @@ export declare const TopolGifBlockSchema: z.ZodObject<{
864
864
  saturation: "saturation";
865
865
  luminosity: "luminosity";
866
866
  }> | undefined;
867
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
867
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
868
868
  "box-shadow"?: string | undefined;
869
869
  "text-shadow"?: string | undefined;
870
870
  filter?: string | undefined;
@@ -931,7 +931,7 @@ export declare const TopolGifBlockSchema: z.ZodObject<{
931
931
  saturation: "saturation";
932
932
  luminosity: "luminosity";
933
933
  }> | undefined;
934
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
934
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
935
935
  "box-shadow"?: string | undefined;
936
936
  "text-shadow"?: string | undefined;
937
937
  filter?: string | undefined;
@@ -244,7 +244,7 @@ export declare const TopolSocialBlockSchema: z.ZodObject<{
244
244
  saturation: "saturation";
245
245
  luminosity: "luminosity";
246
246
  }> | undefined;
247
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
247
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
248
248
  "box-shadow"?: string | undefined;
249
249
  "text-shadow"?: string | undefined;
250
250
  filter?: string | undefined;
@@ -326,7 +326,7 @@ export declare const TopolSocialBlockSchema: z.ZodObject<{
326
326
  saturation: "saturation";
327
327
  luminosity: "luminosity";
328
328
  }> | undefined;
329
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
329
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
330
330
  "box-shadow"?: string | undefined;
331
331
  "text-shadow"?: string | undefined;
332
332
  filter?: string | undefined;
@@ -128,7 +128,7 @@ export declare const TopolSpacerBlockSchema: z.ZodObject<{
128
128
  saturation: "saturation";
129
129
  luminosity: "luminosity";
130
130
  }> | undefined;
131
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
131
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
132
132
  "box-shadow"?: string | undefined;
133
133
  "text-shadow"?: string | undefined;
134
134
  filter?: string | undefined;
@@ -176,7 +176,7 @@ export declare const TopolSpacerBlockSchema: z.ZodObject<{
176
176
  saturation: "saturation";
177
177
  luminosity: "luminosity";
178
178
  }> | undefined;
179
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
179
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
180
180
  "box-shadow"?: string | undefined;
181
181
  "text-shadow"?: string | undefined;
182
182
  filter?: string | undefined;