@topol.io/editor 1.0.0-alpha.8 → 2.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.
- package/README.md +89 -110
- package/dist/topol-plugin.es.js +122 -249
- package/dist/topol-plugin.umd.cjs +1 -0
- package/dist/types/src/email-editor/constants.d.ts +3 -3
- package/dist/types/src/email-editor/index.d.ts +15 -101
- package/dist/types/src/landing-page-editor/index.d.ts +1 -1
- package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +1 -1
- package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +1 -2
- package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +89 -0
- package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +816 -816
- package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +612 -612
- package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +816 -816
- package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +2 -2
- package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +2 -2
- package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +6 -6
- package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +2 -2
- package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +2 -2
- package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +92 -92
- package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +94 -94
- package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +204 -204
- package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +804 -804
- package/dist/types/src/main.d.ts +11 -74
- package/dist/types/types/API/API.d.ts +8 -7
- package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +19 -22
- package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +64 -155
- package/dist/types/types/Cloud/ICloudOptions.d.ts +33 -0
- package/dist/types/types/ContentBlock/IContentBlockOptions.d.ts +1 -1
- package/dist/types/types/IEmailConfig.d.ts +190 -0
- package/dist/types/types/IEmailEditorInstance.d.ts +54 -0
- package/dist/types/types/ITopolOptions.d.ts +4 -153
- package/dist/types/types/ITopolPlugin.d.ts +2 -44
- package/dist/types/types/Language/Language.d.ts +1 -1
- package/dist/types/types/SavedBlock/ISavedBlock.d.ts +2 -6
- package/dist/types/types/Sections/ISections.d.ts +30 -0
- package/dist/types/types/landing-page/ILandingPageOptions.d.ts +96 -63
- package/package.json +7 -10
- 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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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;
|
package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts
CHANGED
|
@@ -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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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;
|