@topol.io/editor 1.0.0-alpha.8 → 1.0.0

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 (72) hide show
  1. package/README.md +160 -97
  2. package/dist/index.js +171 -0
  3. package/dist/types/src/email-editor/index.d.ts +16 -102
  4. package/dist/types/src/landing-page-editor/constants.d.ts +1 -1
  5. package/dist/types/src/landing-page-editor/index.d.ts +11 -6
  6. package/dist/types/src/landing-page-editor/schemas/api/apiSchema.d.ts +5 -11
  7. package/dist/types/src/landing-page-editor/schemas/contentBlock/contentBlockScheme.d.ts +34 -18
  8. package/dist/types/src/landing-page-editor/schemas/language/languageSchema.d.ts +1 -1
  9. package/dist/types/src/landing-page-editor/schemas/mjmlStore/mjmlStoreSchema.d.ts +8 -6
  10. package/dist/types/src/landing-page-editor/schemas/notification/notificationSchema.d.ts +0 -1
  11. package/dist/types/src/landing-page-editor/schemas/openAI/openAISchema.d.ts +1 -2
  12. package/dist/types/src/landing-page-editor/schemas/pluginOptions/pluginOptionsSchema.d.ts +150 -17
  13. package/dist/types/src/landing-page-editor/schemas/premadeSection/premadeSectionSchema.d.ts +30 -0
  14. package/dist/types/src/landing-page-editor/schemas/template/blocks/buttonBlockSchema.d.ts +687 -5
  15. package/dist/types/src/landing-page-editor/schemas/template/blocks/carouselBlockSchema.d.ts +9 -2
  16. package/dist/types/src/landing-page-editor/schemas/template/blocks/dividerBlockSchema.d.ts +11 -3
  17. package/dist/types/src/landing-page-editor/schemas/template/blocks/formBlockSchema.d.ts +1069 -0
  18. package/dist/types/src/landing-page-editor/schemas/template/blocks/imageAnGifBlockSchema.d.ts +35 -19
  19. package/dist/types/src/landing-page-editor/schemas/template/blocks/rawBlockSchema.d.ts +9 -1
  20. package/dist/types/src/landing-page-editor/schemas/template/blocks/socialBlockSchema.d.ts +11 -3
  21. package/dist/types/src/landing-page-editor/schemas/template/blocks/spacerBlockSchema.d.ts +18 -10
  22. package/dist/types/src/landing-page-editor/schemas/template/blocks/textBlockSchema.d.ts +9 -1
  23. package/dist/types/src/landing-page-editor/schemas/template/blocks/videoBlockSchema.d.ts +9 -1
  24. package/dist/types/src/landing-page-editor/schemas/template/commonSchema.d.ts +28 -8
  25. package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarCTASchema.d.ts +335 -0
  26. package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarHamburgerSchema.d.ts +1109 -0
  27. package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarLogoSchema.d.ts +252 -0
  28. package/dist/types/src/landing-page-editor/schemas/template/navbarBlocks/navbarMenuSchema.d.ts +1209 -0
  29. package/dist/types/src/landing-page-editor/schemas/template/settingsSchema.d.ts +4058 -546
  30. package/dist/types/src/landing-page-editor/schemas/template/structure/blockSchema.d.ts +5007 -2328
  31. package/dist/types/src/landing-page-editor/schemas/template/structure/columnSchema.d.ts +5501 -2412
  32. package/dist/types/src/landing-page-editor/schemas/template/structure/navbarSchema.d.ts +4394 -0
  33. package/dist/types/src/landing-page-editor/schemas/template/structure/rowSchema.d.ts +11094 -0
  34. package/dist/types/src/landing-page-editor/schemas/template/structure/sectionSchema.d.ts +8602 -3337
  35. package/dist/types/src/landing-page-editor/schemas/template/styleSchema.d.ts +55 -44
  36. package/dist/types/src/landing-page-editor/schemas/templateSchema.d.ts +34865 -48464
  37. package/dist/types/src/landing-page-editor/schemas/templateSettings/templateSettingsSchema.d.ts +4304 -794
  38. package/dist/types/src/landing-page-editor/schemas/theme/themeSchema.d.ts +6 -1
  39. package/dist/types/src/landing-page-editor/schemas/utils/cssValue.d.ts +21 -0
  40. package/dist/types/src/landing-page-editor/schemas/utils/transformBorder.d.ts +10 -5
  41. package/dist/types/src/main.d.ts +28 -108
  42. package/dist/types/types/API/API.d.ts +8 -9
  43. package/dist/types/types/APIBlocks/APIBlocks.d.ts +9 -0
  44. package/dist/types/types/Auth/IAuthorize.d.ts +6 -0
  45. package/dist/types/types/Auth/INonceAuthCallbacks.d.ts +10 -0
  46. package/dist/types/types/Callbacks/ICallbackPayloads.d.ts +27 -23
  47. package/dist/types/types/Callbacks/IEmailCallbacks.d.ts +73 -155
  48. package/dist/types/types/Cloud/ICloudOptions.d.ts +32 -0
  49. package/dist/types/types/ContentBlock/IContentBlockOptions.d.ts +1 -1
  50. package/dist/types/types/Countdown/ICountdownOptions.d.ts +48 -0
  51. package/dist/types/types/{ITopolOptions.d.ts → IEmailConfig.d.ts} +80 -28
  52. package/dist/types/types/IEmailEditorInstance.d.ts +64 -0
  53. package/dist/types/types/IEmailOptions.d.ts +7 -0
  54. package/dist/types/types/Language/Language.d.ts +1 -1
  55. package/dist/types/types/MergeTag/IMergeTag.d.ts +18 -0
  56. package/dist/types/types/Notification/INotification.d.ts +2 -1
  57. package/dist/types/types/Sections/ISections.d.ts +41 -0
  58. package/dist/types/types/Shortcuts/EditorShortcut.d.ts +4 -0
  59. package/dist/types/types/Theme/ITheme.d.ts +12 -2
  60. package/dist/types/types/landing-page/ILandingPageEditorInstance.d.ts +65 -5
  61. package/dist/types/types/landing-page/ILandingPageOptions.d.ts +105 -69
  62. package/logo.svg +1 -0
  63. package/package.json +11 -13
  64. package/dist/topol-plugin.es.js +0 -284
  65. package/dist/topol-plugin.umd.js +0 -1
  66. package/dist/types/src/landing-page-editor/schemas/helpdesk/helpdeskSchema.d.ts +0 -8
  67. package/dist/types/src/landing-page-editor/schemas/premadeBlock/premadeBlockSchema.d.ts +0 -59750
  68. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockApiSchema.d.ts +0 -44831
  69. package/dist/types/src/landing-page-editor/schemas/savedBlock/savedBlockSchema.d.ts +0 -59725
  70. package/dist/types/src/landing-page-editor/schemas/template/blocks/index.d.ts +0 -12
  71. package/dist/types/types/ITopolPlugin.d.ts +0 -44
  72. package/dist/types/types/SavedBlock/ISavedBlock.d.ts +0 -6
@@ -201,11 +201,20 @@ export declare const TopolButtonBlockAttributesSchema: z.ZodObject<{
201
201
  }>>>;
202
202
  "inner-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
203
203
  border: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
204
+ gradient: z.ZodCatch<z.ZodOptional<z.ZodString>>;
204
205
  }, z.core.$strip>;
205
- export declare const TopolButtonBlockSchema: z.ZodObject<{
206
+ export declare const TopolButtonBlockSchema: z.ZodPipe<z.ZodObject<{
206
207
  uid: z.ZodCatch<z.ZodString>;
208
+ id: z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>>;
207
209
  customKey: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
208
- locked: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
210
+ locked: z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
211
+ true: "true";
212
+ false: "false";
213
+ }>, z.ZodTransform<boolean, z.core.$InferEnumOutput<{
214
+ true: "true";
215
+ false: "false";
216
+ }>>>]>>>;
217
+ aiGenerateContent: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
209
218
  tagName: z.ZodLiteral<"mj-button">;
210
219
  attributes: z.ZodPipe<z.ZodDefault<z.ZodObject<{
211
220
  overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
@@ -293,6 +302,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
293
302
  }>>>;
294
303
  "inner-padding": z.ZodCatch<z.ZodOptional<z.ZodString>>;
295
304
  border: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
305
+ gradient: z.ZodCatch<z.ZodOptional<z.ZodString>>;
296
306
  }, z.core.$strip>>, z.ZodTransform<{
297
307
  href: string;
298
308
  target: z.core.$InferEnumOutput<{
@@ -321,7 +331,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
321
331
  saturation: "saturation";
322
332
  luminosity: "luminosity";
323
333
  }> | undefined;
324
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
334
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
325
335
  "box-shadow"?: string | undefined;
326
336
  "text-shadow"?: string | undefined;
327
337
  filter?: string | undefined;
@@ -371,6 +381,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
371
381
  }> | undefined;
372
382
  "inner-padding"?: string | undefined;
373
383
  border?: string | null | undefined;
384
+ gradient?: string | undefined;
374
385
  }, {
375
386
  href: string;
376
387
  target: z.core.$InferEnumOutput<{
@@ -399,7 +410,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
399
410
  saturation: "saturation";
400
411
  luminosity: "luminosity";
401
412
  }> | undefined;
402
- cursor?: "default" | "pointer" | "auto" | "crosshair" | "move" | "not-allowed" | undefined;
413
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
403
414
  "box-shadow"?: string | undefined;
404
415
  "text-shadow"?: string | undefined;
405
416
  filter?: string | undefined;
@@ -449,6 +460,7 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
449
460
  }> | undefined;
450
461
  "inner-padding"?: string | undefined;
451
462
  border?: string | null | undefined;
463
+ gradient?: string | undefined;
452
464
  }>>;
453
465
  mdAttributes: z.ZodDefault<z.ZodObject<{
454
466
  overflow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
@@ -644,6 +656,8 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
644
656
  }, z.core.$strip>>;
645
657
  content: z.ZodCatch<z.ZodString>;
646
658
  hover: z.ZodCatch<z.ZodOptional<z.ZodObject<{
659
+ gradient: z.ZodCatch<z.ZodOptional<z.ZodString>>;
660
+ border: z.ZodCatch<z.ZodOptional<z.ZodString>>;
647
661
  color: z.ZodCatch<z.ZodOptional<z.ZodString>>;
648
662
  "font-family": z.ZodCatch<z.ZodOptional<z.ZodString>>;
649
663
  "font-size": z.ZodCatch<z.ZodOptional<z.ZodString>>;
@@ -695,6 +709,674 @@ export declare const TopolButtonBlockSchema: z.ZodObject<{
695
709
  "transform-origin": z.ZodCatch<z.ZodOptional<z.ZodString>>;
696
710
  "backface-visibility": z.ZodCatch<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"hidden">, z.ZodLiteral<"visible">]>>>;
697
711
  }, z.core.$strip>>>;
698
- }, z.core.$strip>;
712
+ }, z.core.$strip>, z.ZodTransform<{
713
+ uid: string;
714
+ tagName: "mj-button";
715
+ attributes: {
716
+ href: string;
717
+ target: z.core.$InferEnumOutput<{
718
+ _blank: "_blank";
719
+ _self: "_self";
720
+ _parent: "_parent";
721
+ _top: "_top";
722
+ }>;
723
+ overflow?: string | undefined;
724
+ opacity?: number | undefined;
725
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
726
+ color: "color";
727
+ normal: "normal";
728
+ multiply: "multiply";
729
+ screen: "screen";
730
+ overlay: "overlay";
731
+ darken: "darken";
732
+ lighten: "lighten";
733
+ "color-dodge": "color-dodge";
734
+ "color-burn": "color-burn";
735
+ "hard-light": "hard-light";
736
+ "soft-light": "soft-light";
737
+ difference: "difference";
738
+ exclusion: "exclusion";
739
+ hue: "hue";
740
+ saturation: "saturation";
741
+ luminosity: "luminosity";
742
+ }> | undefined;
743
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
744
+ "box-shadow"?: string | undefined;
745
+ "text-shadow"?: string | undefined;
746
+ filter?: string | undefined;
747
+ "backdrop-filter"?: string | undefined;
748
+ transition?: string | undefined;
749
+ transform?: string | undefined;
750
+ "transform-origin"?: string | undefined;
751
+ "backface-visibility"?: "hidden" | "visible" | undefined;
752
+ "border-radius"?: string | undefined;
753
+ "border-width"?: string | undefined;
754
+ "border-style"?: string | undefined;
755
+ "border-color"?: string | undefined;
756
+ "background-color"?: string | undefined;
757
+ "background-image"?: string | null | undefined;
758
+ "background-size"?: string | undefined;
759
+ "background-repeat"?: string | undefined;
760
+ "background-position"?: string | null | undefined;
761
+ "background-attachment"?: string | undefined;
762
+ "background-clip"?: string | undefined;
763
+ width?: string | undefined;
764
+ height?: string | undefined;
765
+ "max-width"?: string | undefined;
766
+ "min-width"?: string | undefined;
767
+ "max-height"?: string | undefined;
768
+ "min-height"?: string | undefined;
769
+ padding?: string | undefined;
770
+ margin?: string | undefined;
771
+ color?: string | undefined;
772
+ "font-family"?: string | undefined;
773
+ "font-size"?: string | undefined;
774
+ "font-weight"?: string | undefined;
775
+ "font-style"?: string | undefined;
776
+ "text-transform"?: string | undefined;
777
+ "text-decoration"?: string | undefined;
778
+ "text-align"?: string | undefined;
779
+ "line-height"?: string | number | undefined;
780
+ "letter-spacing"?: string | undefined;
781
+ display?: z.core.$InferEnumOutput<{
782
+ block: "block";
783
+ none: "none";
784
+ }> | undefined;
785
+ "css-class"?: "" | string[] | null | undefined;
786
+ align?: z.core.$InferEnumOutput<{
787
+ left: "left";
788
+ right: "right";
789
+ center: "center";
790
+ }> | undefined;
791
+ "inner-padding"?: string | undefined;
792
+ border?: string | null | undefined;
793
+ gradient?: string | undefined;
794
+ };
795
+ mdAttributes: {
796
+ overflow?: string | undefined;
797
+ opacity?: number | undefined;
798
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
799
+ color: "color";
800
+ normal: "normal";
801
+ multiply: "multiply";
802
+ screen: "screen";
803
+ overlay: "overlay";
804
+ darken: "darken";
805
+ lighten: "lighten";
806
+ "color-dodge": "color-dodge";
807
+ "color-burn": "color-burn";
808
+ "hard-light": "hard-light";
809
+ "soft-light": "soft-light";
810
+ difference: "difference";
811
+ exclusion: "exclusion";
812
+ hue: "hue";
813
+ saturation: "saturation";
814
+ luminosity: "luminosity";
815
+ }> | undefined;
816
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
817
+ "box-shadow"?: string | undefined;
818
+ "text-shadow"?: string | undefined;
819
+ filter?: string | undefined;
820
+ "backdrop-filter"?: string | undefined;
821
+ transition?: string | undefined;
822
+ transform?: string | undefined;
823
+ "transform-origin"?: string | undefined;
824
+ "backface-visibility"?: "hidden" | "visible" | undefined;
825
+ "border-radius"?: string | undefined;
826
+ "border-width"?: string | undefined;
827
+ "border-style"?: string | undefined;
828
+ "border-color"?: string | undefined;
829
+ "background-color"?: string | undefined;
830
+ "background-image"?: string | null | undefined;
831
+ "background-size"?: string | undefined;
832
+ "background-repeat"?: string | undefined;
833
+ "background-position"?: string | null | undefined;
834
+ "background-attachment"?: string | undefined;
835
+ "background-clip"?: string | undefined;
836
+ width?: string | undefined;
837
+ height?: string | undefined;
838
+ "max-width"?: string | undefined;
839
+ "min-width"?: string | undefined;
840
+ "max-height"?: string | undefined;
841
+ "min-height"?: string | undefined;
842
+ padding?: string | undefined;
843
+ margin?: string | undefined;
844
+ color?: string | undefined;
845
+ "font-family"?: string | undefined;
846
+ "font-size"?: string | undefined;
847
+ "font-weight"?: string | undefined;
848
+ "font-style"?: string | undefined;
849
+ "text-transform"?: string | undefined;
850
+ "text-decoration"?: string | undefined;
851
+ "text-align"?: string | undefined;
852
+ "line-height"?: string | number | undefined;
853
+ "letter-spacing"?: string | undefined;
854
+ display?: z.core.$InferEnumOutput<{
855
+ block: "block";
856
+ none: "none";
857
+ }> | undefined;
858
+ };
859
+ smAttributes: {
860
+ overflow?: string | undefined;
861
+ opacity?: number | undefined;
862
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
863
+ color: "color";
864
+ normal: "normal";
865
+ multiply: "multiply";
866
+ screen: "screen";
867
+ overlay: "overlay";
868
+ darken: "darken";
869
+ lighten: "lighten";
870
+ "color-dodge": "color-dodge";
871
+ "color-burn": "color-burn";
872
+ "hard-light": "hard-light";
873
+ "soft-light": "soft-light";
874
+ difference: "difference";
875
+ exclusion: "exclusion";
876
+ hue: "hue";
877
+ saturation: "saturation";
878
+ luminosity: "luminosity";
879
+ }> | undefined;
880
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
881
+ "box-shadow"?: string | undefined;
882
+ "text-shadow"?: string | undefined;
883
+ filter?: string | undefined;
884
+ "backdrop-filter"?: string | undefined;
885
+ transition?: string | undefined;
886
+ transform?: string | undefined;
887
+ "transform-origin"?: string | undefined;
888
+ "backface-visibility"?: "hidden" | "visible" | undefined;
889
+ "border-radius"?: string | undefined;
890
+ "border-width"?: string | undefined;
891
+ "border-style"?: string | undefined;
892
+ "border-color"?: string | undefined;
893
+ "background-color"?: string | undefined;
894
+ "background-image"?: string | null | undefined;
895
+ "background-size"?: string | undefined;
896
+ "background-repeat"?: string | undefined;
897
+ "background-position"?: string | null | undefined;
898
+ "background-attachment"?: string | undefined;
899
+ "background-clip"?: string | undefined;
900
+ width?: string | undefined;
901
+ height?: string | undefined;
902
+ "max-width"?: string | undefined;
903
+ "min-width"?: string | undefined;
904
+ "max-height"?: string | undefined;
905
+ "min-height"?: string | undefined;
906
+ padding?: string | undefined;
907
+ margin?: string | undefined;
908
+ color?: string | undefined;
909
+ "font-family"?: string | undefined;
910
+ "font-size"?: string | undefined;
911
+ "font-weight"?: string | undefined;
912
+ "font-style"?: string | undefined;
913
+ "text-transform"?: string | undefined;
914
+ "text-decoration"?: string | undefined;
915
+ "text-align"?: string | undefined;
916
+ "line-height"?: string | number | undefined;
917
+ "letter-spacing"?: string | undefined;
918
+ display?: z.core.$InferEnumOutput<{
919
+ block: "block";
920
+ none: "none";
921
+ }> | undefined;
922
+ };
923
+ xsAttributes: {
924
+ overflow?: string | undefined;
925
+ opacity?: number | undefined;
926
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
927
+ color: "color";
928
+ normal: "normal";
929
+ multiply: "multiply";
930
+ screen: "screen";
931
+ overlay: "overlay";
932
+ darken: "darken";
933
+ lighten: "lighten";
934
+ "color-dodge": "color-dodge";
935
+ "color-burn": "color-burn";
936
+ "hard-light": "hard-light";
937
+ "soft-light": "soft-light";
938
+ difference: "difference";
939
+ exclusion: "exclusion";
940
+ hue: "hue";
941
+ saturation: "saturation";
942
+ luminosity: "luminosity";
943
+ }> | undefined;
944
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
945
+ "box-shadow"?: string | undefined;
946
+ "text-shadow"?: string | undefined;
947
+ filter?: string | undefined;
948
+ "backdrop-filter"?: string | undefined;
949
+ transition?: string | undefined;
950
+ transform?: string | undefined;
951
+ "transform-origin"?: string | undefined;
952
+ "backface-visibility"?: "hidden" | "visible" | undefined;
953
+ "border-radius"?: string | undefined;
954
+ "border-width"?: string | undefined;
955
+ "border-style"?: string | undefined;
956
+ "border-color"?: string | undefined;
957
+ "background-color"?: string | undefined;
958
+ "background-image"?: string | null | undefined;
959
+ "background-size"?: string | undefined;
960
+ "background-repeat"?: string | undefined;
961
+ "background-position"?: string | null | undefined;
962
+ "background-attachment"?: string | undefined;
963
+ "background-clip"?: string | undefined;
964
+ width?: string | undefined;
965
+ height?: string | undefined;
966
+ "max-width"?: string | undefined;
967
+ "min-width"?: string | undefined;
968
+ "max-height"?: string | undefined;
969
+ "min-height"?: string | undefined;
970
+ padding?: string | undefined;
971
+ margin?: string | undefined;
972
+ color?: string | undefined;
973
+ "font-family"?: string | undefined;
974
+ "font-size"?: string | undefined;
975
+ "font-weight"?: string | undefined;
976
+ "font-style"?: string | undefined;
977
+ "text-transform"?: string | undefined;
978
+ "text-decoration"?: string | undefined;
979
+ "text-align"?: string | undefined;
980
+ "line-height"?: string | number | undefined;
981
+ "letter-spacing"?: string | undefined;
982
+ display?: z.core.$InferEnumOutput<{
983
+ block: "block";
984
+ none: "none";
985
+ }> | undefined;
986
+ };
987
+ content: string;
988
+ id?: string | undefined;
989
+ customKey?: string | null | undefined;
990
+ locked?: boolean | undefined;
991
+ aiGenerateContent?: string | null | undefined;
992
+ hover?: {
993
+ gradient?: string | undefined;
994
+ border?: string | undefined;
995
+ color?: string | undefined;
996
+ "font-family"?: string | undefined;
997
+ "font-size"?: string | undefined;
998
+ "font-weight"?: string | undefined;
999
+ "font-style"?: string | undefined;
1000
+ "text-transform"?: string | undefined;
1001
+ "text-decoration"?: string | undefined;
1002
+ "text-align"?: string | undefined;
1003
+ "line-height"?: string | number | undefined;
1004
+ "letter-spacing"?: string | undefined;
1005
+ "border-radius"?: string | undefined;
1006
+ "border-width"?: string | undefined;
1007
+ "border-style"?: string | undefined;
1008
+ "border-color"?: string | undefined;
1009
+ "background-color"?: string | undefined;
1010
+ "background-image"?: string | null | undefined;
1011
+ "background-size"?: string | undefined;
1012
+ "background-repeat"?: string | undefined;
1013
+ "background-position"?: string | null | undefined;
1014
+ "background-attachment"?: string | undefined;
1015
+ "background-clip"?: string | undefined;
1016
+ overflow?: string | undefined;
1017
+ opacity?: number | undefined;
1018
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1019
+ color: "color";
1020
+ normal: "normal";
1021
+ multiply: "multiply";
1022
+ screen: "screen";
1023
+ overlay: "overlay";
1024
+ darken: "darken";
1025
+ lighten: "lighten";
1026
+ "color-dodge": "color-dodge";
1027
+ "color-burn": "color-burn";
1028
+ "hard-light": "hard-light";
1029
+ "soft-light": "soft-light";
1030
+ difference: "difference";
1031
+ exclusion: "exclusion";
1032
+ hue: "hue";
1033
+ saturation: "saturation";
1034
+ luminosity: "luminosity";
1035
+ }> | undefined;
1036
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1037
+ "box-shadow"?: string | undefined;
1038
+ "text-shadow"?: string | undefined;
1039
+ filter?: string | undefined;
1040
+ "backdrop-filter"?: string | undefined;
1041
+ transition?: string | undefined;
1042
+ transform?: string | undefined;
1043
+ "transform-origin"?: string | undefined;
1044
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1045
+ } | undefined;
1046
+ }, {
1047
+ uid: string;
1048
+ tagName: "mj-button";
1049
+ attributes: {
1050
+ href: string;
1051
+ target: z.core.$InferEnumOutput<{
1052
+ _blank: "_blank";
1053
+ _self: "_self";
1054
+ _parent: "_parent";
1055
+ _top: "_top";
1056
+ }>;
1057
+ overflow?: string | undefined;
1058
+ opacity?: number | undefined;
1059
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1060
+ color: "color";
1061
+ normal: "normal";
1062
+ multiply: "multiply";
1063
+ screen: "screen";
1064
+ overlay: "overlay";
1065
+ darken: "darken";
1066
+ lighten: "lighten";
1067
+ "color-dodge": "color-dodge";
1068
+ "color-burn": "color-burn";
1069
+ "hard-light": "hard-light";
1070
+ "soft-light": "soft-light";
1071
+ difference: "difference";
1072
+ exclusion: "exclusion";
1073
+ hue: "hue";
1074
+ saturation: "saturation";
1075
+ luminosity: "luminosity";
1076
+ }> | undefined;
1077
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1078
+ "box-shadow"?: string | undefined;
1079
+ "text-shadow"?: string | undefined;
1080
+ filter?: string | undefined;
1081
+ "backdrop-filter"?: string | undefined;
1082
+ transition?: string | undefined;
1083
+ transform?: string | undefined;
1084
+ "transform-origin"?: string | undefined;
1085
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1086
+ "border-radius"?: string | undefined;
1087
+ "border-width"?: string | undefined;
1088
+ "border-style"?: string | undefined;
1089
+ "border-color"?: string | undefined;
1090
+ "background-color"?: string | undefined;
1091
+ "background-image"?: string | null | undefined;
1092
+ "background-size"?: string | undefined;
1093
+ "background-repeat"?: string | undefined;
1094
+ "background-position"?: string | null | undefined;
1095
+ "background-attachment"?: string | undefined;
1096
+ "background-clip"?: string | undefined;
1097
+ width?: string | undefined;
1098
+ height?: string | undefined;
1099
+ "max-width"?: string | undefined;
1100
+ "min-width"?: string | undefined;
1101
+ "max-height"?: string | undefined;
1102
+ "min-height"?: string | undefined;
1103
+ padding?: string | undefined;
1104
+ margin?: string | undefined;
1105
+ color?: string | undefined;
1106
+ "font-family"?: string | undefined;
1107
+ "font-size"?: string | undefined;
1108
+ "font-weight"?: string | undefined;
1109
+ "font-style"?: string | undefined;
1110
+ "text-transform"?: string | undefined;
1111
+ "text-decoration"?: string | undefined;
1112
+ "text-align"?: string | undefined;
1113
+ "line-height"?: string | number | undefined;
1114
+ "letter-spacing"?: string | undefined;
1115
+ display?: z.core.$InferEnumOutput<{
1116
+ block: "block";
1117
+ none: "none";
1118
+ }> | undefined;
1119
+ "css-class"?: "" | string[] | null | undefined;
1120
+ align?: z.core.$InferEnumOutput<{
1121
+ left: "left";
1122
+ right: "right";
1123
+ center: "center";
1124
+ }> | undefined;
1125
+ "inner-padding"?: string | undefined;
1126
+ border?: string | null | undefined;
1127
+ gradient?: string | undefined;
1128
+ };
1129
+ mdAttributes: {
1130
+ overflow?: string | undefined;
1131
+ opacity?: number | undefined;
1132
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1133
+ color: "color";
1134
+ normal: "normal";
1135
+ multiply: "multiply";
1136
+ screen: "screen";
1137
+ overlay: "overlay";
1138
+ darken: "darken";
1139
+ lighten: "lighten";
1140
+ "color-dodge": "color-dodge";
1141
+ "color-burn": "color-burn";
1142
+ "hard-light": "hard-light";
1143
+ "soft-light": "soft-light";
1144
+ difference: "difference";
1145
+ exclusion: "exclusion";
1146
+ hue: "hue";
1147
+ saturation: "saturation";
1148
+ luminosity: "luminosity";
1149
+ }> | undefined;
1150
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1151
+ "box-shadow"?: string | undefined;
1152
+ "text-shadow"?: string | undefined;
1153
+ filter?: string | undefined;
1154
+ "backdrop-filter"?: string | undefined;
1155
+ transition?: string | undefined;
1156
+ transform?: string | undefined;
1157
+ "transform-origin"?: string | undefined;
1158
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1159
+ "border-radius"?: string | undefined;
1160
+ "border-width"?: string | undefined;
1161
+ "border-style"?: string | undefined;
1162
+ "border-color"?: string | undefined;
1163
+ "background-color"?: string | undefined;
1164
+ "background-image"?: string | null | undefined;
1165
+ "background-size"?: string | undefined;
1166
+ "background-repeat"?: string | undefined;
1167
+ "background-position"?: string | null | undefined;
1168
+ "background-attachment"?: string | undefined;
1169
+ "background-clip"?: string | undefined;
1170
+ width?: string | undefined;
1171
+ height?: string | undefined;
1172
+ "max-width"?: string | undefined;
1173
+ "min-width"?: string | undefined;
1174
+ "max-height"?: string | undefined;
1175
+ "min-height"?: string | undefined;
1176
+ padding?: string | undefined;
1177
+ margin?: string | undefined;
1178
+ color?: string | undefined;
1179
+ "font-family"?: string | undefined;
1180
+ "font-size"?: string | undefined;
1181
+ "font-weight"?: string | undefined;
1182
+ "font-style"?: string | undefined;
1183
+ "text-transform"?: string | undefined;
1184
+ "text-decoration"?: string | undefined;
1185
+ "text-align"?: string | undefined;
1186
+ "line-height"?: string | number | undefined;
1187
+ "letter-spacing"?: string | undefined;
1188
+ display?: z.core.$InferEnumOutput<{
1189
+ block: "block";
1190
+ none: "none";
1191
+ }> | undefined;
1192
+ };
1193
+ smAttributes: {
1194
+ overflow?: string | undefined;
1195
+ opacity?: number | undefined;
1196
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1197
+ color: "color";
1198
+ normal: "normal";
1199
+ multiply: "multiply";
1200
+ screen: "screen";
1201
+ overlay: "overlay";
1202
+ darken: "darken";
1203
+ lighten: "lighten";
1204
+ "color-dodge": "color-dodge";
1205
+ "color-burn": "color-burn";
1206
+ "hard-light": "hard-light";
1207
+ "soft-light": "soft-light";
1208
+ difference: "difference";
1209
+ exclusion: "exclusion";
1210
+ hue: "hue";
1211
+ saturation: "saturation";
1212
+ luminosity: "luminosity";
1213
+ }> | undefined;
1214
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1215
+ "box-shadow"?: string | undefined;
1216
+ "text-shadow"?: string | undefined;
1217
+ filter?: string | undefined;
1218
+ "backdrop-filter"?: string | undefined;
1219
+ transition?: string | undefined;
1220
+ transform?: string | undefined;
1221
+ "transform-origin"?: string | undefined;
1222
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1223
+ "border-radius"?: string | undefined;
1224
+ "border-width"?: string | undefined;
1225
+ "border-style"?: string | undefined;
1226
+ "border-color"?: string | undefined;
1227
+ "background-color"?: string | undefined;
1228
+ "background-image"?: string | null | undefined;
1229
+ "background-size"?: string | undefined;
1230
+ "background-repeat"?: string | undefined;
1231
+ "background-position"?: string | null | undefined;
1232
+ "background-attachment"?: string | undefined;
1233
+ "background-clip"?: string | undefined;
1234
+ width?: string | undefined;
1235
+ height?: string | undefined;
1236
+ "max-width"?: string | undefined;
1237
+ "min-width"?: string | undefined;
1238
+ "max-height"?: string | undefined;
1239
+ "min-height"?: string | undefined;
1240
+ padding?: string | undefined;
1241
+ margin?: string | undefined;
1242
+ color?: string | undefined;
1243
+ "font-family"?: string | undefined;
1244
+ "font-size"?: string | undefined;
1245
+ "font-weight"?: string | undefined;
1246
+ "font-style"?: string | undefined;
1247
+ "text-transform"?: string | undefined;
1248
+ "text-decoration"?: string | undefined;
1249
+ "text-align"?: string | undefined;
1250
+ "line-height"?: string | number | undefined;
1251
+ "letter-spacing"?: string | undefined;
1252
+ display?: z.core.$InferEnumOutput<{
1253
+ block: "block";
1254
+ none: "none";
1255
+ }> | undefined;
1256
+ };
1257
+ xsAttributes: {
1258
+ overflow?: string | undefined;
1259
+ opacity?: number | undefined;
1260
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1261
+ color: "color";
1262
+ normal: "normal";
1263
+ multiply: "multiply";
1264
+ screen: "screen";
1265
+ overlay: "overlay";
1266
+ darken: "darken";
1267
+ lighten: "lighten";
1268
+ "color-dodge": "color-dodge";
1269
+ "color-burn": "color-burn";
1270
+ "hard-light": "hard-light";
1271
+ "soft-light": "soft-light";
1272
+ difference: "difference";
1273
+ exclusion: "exclusion";
1274
+ hue: "hue";
1275
+ saturation: "saturation";
1276
+ luminosity: "luminosity";
1277
+ }> | undefined;
1278
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1279
+ "box-shadow"?: string | undefined;
1280
+ "text-shadow"?: string | undefined;
1281
+ filter?: string | undefined;
1282
+ "backdrop-filter"?: string | undefined;
1283
+ transition?: string | undefined;
1284
+ transform?: string | undefined;
1285
+ "transform-origin"?: string | undefined;
1286
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1287
+ "border-radius"?: string | undefined;
1288
+ "border-width"?: string | undefined;
1289
+ "border-style"?: string | undefined;
1290
+ "border-color"?: string | undefined;
1291
+ "background-color"?: string | undefined;
1292
+ "background-image"?: string | null | undefined;
1293
+ "background-size"?: string | undefined;
1294
+ "background-repeat"?: string | undefined;
1295
+ "background-position"?: string | null | undefined;
1296
+ "background-attachment"?: string | undefined;
1297
+ "background-clip"?: string | undefined;
1298
+ width?: string | undefined;
1299
+ height?: string | undefined;
1300
+ "max-width"?: string | undefined;
1301
+ "min-width"?: string | undefined;
1302
+ "max-height"?: string | undefined;
1303
+ "min-height"?: string | undefined;
1304
+ padding?: string | undefined;
1305
+ margin?: string | undefined;
1306
+ color?: string | undefined;
1307
+ "font-family"?: string | undefined;
1308
+ "font-size"?: string | undefined;
1309
+ "font-weight"?: string | undefined;
1310
+ "font-style"?: string | undefined;
1311
+ "text-transform"?: string | undefined;
1312
+ "text-decoration"?: string | undefined;
1313
+ "text-align"?: string | undefined;
1314
+ "line-height"?: string | number | undefined;
1315
+ "letter-spacing"?: string | undefined;
1316
+ display?: z.core.$InferEnumOutput<{
1317
+ block: "block";
1318
+ none: "none";
1319
+ }> | undefined;
1320
+ };
1321
+ content: string;
1322
+ id?: string | undefined;
1323
+ customKey?: string | null | undefined;
1324
+ locked?: boolean | undefined;
1325
+ aiGenerateContent?: string | null | undefined;
1326
+ hover?: {
1327
+ gradient?: string | undefined;
1328
+ border?: string | undefined;
1329
+ color?: string | undefined;
1330
+ "font-family"?: string | undefined;
1331
+ "font-size"?: string | undefined;
1332
+ "font-weight"?: string | undefined;
1333
+ "font-style"?: string | undefined;
1334
+ "text-transform"?: string | undefined;
1335
+ "text-decoration"?: string | undefined;
1336
+ "text-align"?: string | undefined;
1337
+ "line-height"?: string | number | undefined;
1338
+ "letter-spacing"?: string | undefined;
1339
+ "border-radius"?: string | undefined;
1340
+ "border-width"?: string | undefined;
1341
+ "border-style"?: string | undefined;
1342
+ "border-color"?: string | undefined;
1343
+ "background-color"?: string | undefined;
1344
+ "background-image"?: string | null | undefined;
1345
+ "background-size"?: string | undefined;
1346
+ "background-repeat"?: string | undefined;
1347
+ "background-position"?: string | null | undefined;
1348
+ "background-attachment"?: string | undefined;
1349
+ "background-clip"?: string | undefined;
1350
+ overflow?: string | undefined;
1351
+ opacity?: number | undefined;
1352
+ "mix-blend-mode"?: z.core.$InferEnumOutput<{
1353
+ color: "color";
1354
+ normal: "normal";
1355
+ multiply: "multiply";
1356
+ screen: "screen";
1357
+ overlay: "overlay";
1358
+ darken: "darken";
1359
+ lighten: "lighten";
1360
+ "color-dodge": "color-dodge";
1361
+ "color-burn": "color-burn";
1362
+ "hard-light": "hard-light";
1363
+ "soft-light": "soft-light";
1364
+ difference: "difference";
1365
+ exclusion: "exclusion";
1366
+ hue: "hue";
1367
+ saturation: "saturation";
1368
+ luminosity: "luminosity";
1369
+ }> | undefined;
1370
+ cursor?: "move" | "default" | "pointer" | "auto" | "crosshair" | "not-allowed" | undefined;
1371
+ "box-shadow"?: string | undefined;
1372
+ "text-shadow"?: string | undefined;
1373
+ filter?: string | undefined;
1374
+ "backdrop-filter"?: string | undefined;
1375
+ transition?: string | undefined;
1376
+ transform?: string | undefined;
1377
+ "transform-origin"?: string | undefined;
1378
+ "backface-visibility"?: "hidden" | "visible" | undefined;
1379
+ } | undefined;
1380
+ }>>;
699
1381
  export type TopolButtonBlock = z.infer<typeof TopolButtonBlockSchema>;
700
1382
  export type TopolButtonBlockStyleAttributes = z.infer<typeof TopolButtonStyleAttributesSchema>;