efficient-web-builder 73.1.0 → 74.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 (136) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/dist/editor/components/CustomHtmlCodeWindow.d.ts +11 -0
  3. package/dist/editor/components/CustomHtmlCodeWindow.js +20 -0
  4. package/dist/editor/components/SectionThemePicker.d.ts +3 -2
  5. package/dist/editor/components/SectionThemePicker.js +1 -1
  6. package/dist/editor/components/SiteTextStylesField.d.ts +2 -1
  7. package/dist/editor/components/SiteTextStylesField.js +1 -1
  8. package/dist/editor/components/SlotChildRows.js +1 -1
  9. package/dist/editor/components/StandaloneSectionEditor.js +1 -1
  10. package/dist/editor/components/StorefrontEditor.js +1 -1
  11. package/dist/editor/components/TickerSettingsPanel.js +1 -1
  12. package/dist/editor/components/WebsiteSettingsPanel.d.ts +2 -0
  13. package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
  14. package/dist/editor/components/storefront-editor.css +111 -0
  15. package/dist/editor/components/useHostDocumentBridge.js +1 -1
  16. package/dist/editor/lib/document/blocks/general/CustomHTML/fields.d.ts +6 -0
  17. package/dist/editor/lib/document/blocks/general/CustomHTML/fields.js +1 -0
  18. package/dist/editor/lib/document/blocks/general/Footprint/fields.js +1 -1
  19. package/dist/editor/lib/document/blocks/general/Hero/fields.js +1 -1
  20. package/dist/editor/lib/document/blocks/general/HeroSingle/fields.js +1 -1
  21. package/dist/editor/lib/document/blocks/general/index.js +1 -1
  22. package/dist/editor/lib/document/blocks/hero-shared-fields.d.ts +5 -0
  23. package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
  24. package/dist/editor/lib/document/controls.js +1 -1
  25. package/dist/editor/lib/document/custom-html-preview.d.ts +12 -0
  26. package/dist/editor/lib/document/custom-html-preview.js +1 -0
  27. package/dist/editor/lib/document/footer-blocks.js +1 -1
  28. package/dist/editor/lib/document/own-pad-fields.d.ts +5 -0
  29. package/dist/editor/lib/document/own-pad-fields.js +1 -0
  30. package/dist/editor/lib/document/passes/inspector.js +1 -1
  31. package/dist/editor/lib/editor-document-adapter.js +1 -1
  32. package/dist/format/lib/animation/hover.js +1 -1
  33. package/dist/format/lib/animation/loop.js +1 -1
  34. package/dist/format/lib/content/accordion-row-style.d.ts +3 -1
  35. package/dist/format/lib/content/accordion-row-style.js +1 -1
  36. package/dist/format/lib/content/box-layout.js +1 -1
  37. package/dist/format/lib/content/box-shape.d.ts +1 -1
  38. package/dist/format/lib/content/button-icon.d.ts +3 -1
  39. package/dist/format/lib/content/button-icon.js +1 -1
  40. package/dist/format/lib/content/card-place.d.ts +3 -1
  41. package/dist/format/lib/content/card-place.js +1 -1
  42. package/dist/format/lib/content/chat-launcher.js +1 -1
  43. package/dist/format/lib/content/container-direction.js +1 -1
  44. package/dist/format/lib/content/footprint.d.ts +22 -0
  45. package/dist/format/lib/content/footprint.js +1 -1
  46. package/dist/format/lib/content/image-fit.js +1 -1
  47. package/dist/format/lib/content/image-text-rows.d.ts +5 -2
  48. package/dist/format/lib/content/image-text-rows.js +1 -1
  49. package/dist/format/lib/content/list-number.js +1 -1
  50. package/dist/format/lib/content/list-position.js +1 -1
  51. package/dist/format/lib/content/text-tag.js +1 -1
  52. package/dist/format/lib/document/blocks/general/Footprint/card-seed.js +1 -1
  53. package/dist/format/lib/document/blocks/general/text-part-shapes.json +0 -6
  54. package/dist/format/lib/document/box-footer.js +1 -1
  55. package/dist/format/lib/document/custom-html-place.d.ts +19 -0
  56. package/dist/format/lib/document/custom-html-place.js +7 -0
  57. package/dist/format/lib/document/left-view.js +1 -1
  58. package/dist/format/lib/document/mockup-variant-fields.js +1 -1
  59. package/dist/format/lib/document/part-inks.d.ts +1 -0
  60. package/dist/format/lib/document/part-inks.js +1 -1
  61. package/dist/format/lib/document/passes/types.d.ts +1 -0
  62. package/dist/format/lib/document/section-groups.js +1 -1
  63. package/dist/format/lib/editor-words-catalogue.d.ts +28 -0
  64. package/dist/format/lib/editor-words-catalogue.js +5 -5
  65. package/dist/format/lib/hero-arrows.js +1 -1
  66. package/dist/format/lib/hero-group-placement.js +1 -1
  67. package/dist/format/lib/hero-media-layout.js +1 -1
  68. package/dist/format/lib/hero-phone-stack.d.ts +12 -0
  69. package/dist/format/lib/hero-phone-stack.js +1 -1
  70. package/dist/format/lib/hero-video.js +1 -1
  71. package/dist/format/lib/reel.js +1 -1
  72. package/dist/format/lib/sections/divider-style.js +1 -1
  73. package/dist/format/lib/sections/hero-overlay.js +1 -1
  74. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  75. package/dist/format/lib/sections/intro-bleed-layout.js +1 -1
  76. package/dist/format/lib/sections/logo-look.js +1 -1
  77. package/dist/format/lib/sections/product-card-style.js +1 -1
  78. package/dist/format/lib/sections/section-eyebrow-look.js +1 -1
  79. package/dist/format/lib/sections/section-head-placement.d.ts +3 -1
  80. package/dist/format/lib/sections/section-head-placement.js +1 -1
  81. package/dist/format/lib/sections/section-head-style.js +1 -1
  82. package/dist/format/lib/sections/section-number-style.js +1 -1
  83. package/dist/format/lib/sections/ticker-style.js +1 -1
  84. package/dist/format/lib/text-style-face.d.ts +6 -0
  85. package/dist/format/lib/text-style-face.js +2 -1
  86. package/dist/format/lib/theme.d.ts +2 -1
  87. package/dist/format/lib/theme.js +4 -4
  88. package/dist/render/components/BoxTabPaneContext.d.ts +2 -3
  89. package/dist/render/components/BoxTabs.js +1 -1
  90. package/dist/render/components/ButtonBlock.d.ts +2 -0
  91. package/dist/render/components/ButtonBlock.js +1 -1
  92. package/dist/render/components/DealerFinder.d.ts +7 -1
  93. package/dist/render/components/DealerFinder.js +1 -1
  94. package/dist/render/components/Footprint.d.ts +6 -2
  95. package/dist/render/components/Footprint.js +1 -1
  96. package/dist/render/components/Heading.d.ts +1 -1
  97. package/dist/render/components/Heading.js +1 -1
  98. package/dist/render/components/HeroSection.d.ts +4 -1
  99. package/dist/render/components/HeroSection.js +1 -1
  100. package/dist/render/components/HeroSingle.d.ts +4 -1
  101. package/dist/render/components/HeroSingle.js +1 -1
  102. package/dist/render/components/HeroSlide.d.ts +3 -0
  103. package/dist/render/components/HeroSlide.js +1 -1
  104. package/dist/render/components/SideListLayout.d.ts +8 -2
  105. package/dist/render/components/SideListLayout.js +1 -1
  106. package/dist/render/components/SiteGutterFrame.js +1 -1
  107. package/dist/render/components/Text.d.ts +1 -1
  108. package/dist/render/components/Text.js +1 -1
  109. package/dist/render/lib/content/section-padding.d.ts +36 -2
  110. package/dist/render/lib/content/section-padding.js +1 -1
  111. package/dist/render/lib/document/blocks/general/ButtonBlock/render.js +1 -1
  112. package/dist/render/lib/document/blocks/general/CustomHTML/render.js +1 -1
  113. package/dist/render/lib/document/blocks/general/Footprint/render.js +1 -1
  114. package/dist/render/lib/document/blocks/general/Hero/render.js +1 -1
  115. package/dist/render/lib/document/blocks/general/HeroSingle/render.js +1 -1
  116. package/dist/render/lib/document/blocks/general/LocationMap/render.js +1 -1
  117. package/dist/render/lib/document/blocks/general/LogoBlock/render.js +1 -1
  118. package/dist/render/lib/document/blocks/general/section-head-looks.js +2 -2
  119. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
  120. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -1
  121. package/dist/render/lib/document/custom-css.d.ts +8 -2
  122. package/dist/render/lib/document/custom-css.js +3 -2
  123. package/dist/render/lib/document/header-clearance.js +1 -1
  124. package/dist/render/lib/document/header-ink.js +1 -1
  125. package/dist/render/lib/document/passes/section-padding.d.ts +4 -0
  126. package/dist/render/lib/document/passes/section-padding.js +1 -1
  127. package/dist/render/lib/document/sanitize.d.ts +4 -1
  128. package/dist/render/lib/document/sanitize.js +1 -1
  129. package/dist/render/lib/text-styles/site-text-styles.js +2 -2
  130. package/dist/routine-index.json +1 -0
  131. package/dist/value-index.json +1 -0
  132. package/package.json +29 -7
  133. package/dist/format/lib/document/blocks/general/CustomHTML/fields.d.ts +0 -2
  134. package/dist/format/lib/document/blocks/general/CustomHTML/fields.js +0 -1
  135. package/dist/format/lib/parse-option.d.ts +0 -3
  136. package/dist/format/lib/parse-option.js +0 -1
@@ -94,6 +94,7 @@ export declare const WEB_BUILDER_WORDS: {
94
94
  readonly "Add a *headline* for this post.": "Add a *headline* for this post.";
95
95
  readonly "Add a *headline* for this story.": "Add a *headline* for this story.";
96
96
  readonly "Add a page": "Add a page";
97
+ readonly "Add a ready-made part": "Add a ready-made part";
97
98
  readonly "Add a sentence or two introducing this document.": "Add a sentence or two introducing this document.";
98
99
  readonly "Add a sentence or two of supporting copy.": "Add a sentence or two of supporting copy.";
99
100
  readonly "Add a short heading.": "Add a short heading.";
@@ -106,6 +107,7 @@ export declare const WEB_BUILDER_WORDS: {
106
107
  readonly "Add new theme": "Add new theme";
107
108
  readonly "Add office coordinates to plot the map": "Add office coordinates to plot the map";
108
109
  readonly "Add page": "Add page";
110
+ readonly "Add part": "Add part";
109
111
  readonly "Add slide": "Add slide";
110
112
  readonly "Add this section's copy here.": "Add this section's copy here.";
111
113
  readonly "Add this section's copy here. A blank line starts a new paragraph.": "Add this section's copy here. A blank line starts a new paragraph.";
@@ -115,6 +117,7 @@ export declare const WEB_BUILDER_WORDS: {
115
117
  readonly "Add your first question": "Add your first question";
116
118
  readonly "Add your numbers.": "Add your numbers.";
117
119
  readonly "Add \u201C{name}\u201D": "Add “{name}”";
120
+ readonly "Added on line": "Added on line";
118
121
  readonly Address: "Address";
119
122
  readonly Advanced: "Advanced";
120
123
  readonly After: "After";
@@ -229,6 +232,7 @@ export declare const WEB_BUILDER_WORDS: {
229
232
  readonly "Browser shop": "Browser shop";
230
233
  readonly "Browser storefront (hero + tiles)": "Browser storefront (hero + tiles)";
231
234
  readonly "Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.": "Build this footer out of Boxes and blocks, like a page: the same menus, signup, social links and logo, with the copyright as a Legal Line. Your current footer is kept.";
235
+ readonly "Build this section in HTML and CSS. The CSS changes this section only. Scripts do not run.": "Build this section in HTML and CSS. The CSS changes this section only. Scripts do not run.";
232
236
  readonly "Bundle Products": "Bundle Products";
233
237
  readonly Button: "Button";
234
238
  readonly "Button Right Text": "Button Right Text";
@@ -304,11 +308,14 @@ export declare const WEB_BUILDER_WORDS: {
304
308
  readonly "Claims panel (rows + defect bars)": "Claims panel (rows + defect bars)";
305
309
  readonly "Clear colors": "Clear colors";
306
310
  readonly "Clear this site\u2019s colors?": "Clear this site’s colors?";
311
+ readonly "Click a colour, text style or spacing to put a link to it in your code, at the cursor. If you change Styles later, this section changes with it.": "Click a colour, text style or spacing to put a link to it in your code, at the cursor. If you change Styles later, this section changes with it.";
307
312
  readonly "Click to play": "Click to play";
313
+ readonly Code: "Code";
308
314
  readonly Collapse: "Collapse";
309
315
  readonly "Collapse {name}": "Collapse {name}";
310
316
  readonly Collections: "Collections";
311
317
  readonly Color: "Color";
318
+ readonly Colours: "Colours";
312
319
  readonly "Column *title.*": "Column *title.*";
313
320
  readonly "Column 1 cards": "Column 1 cards";
314
321
  readonly "Column 1 title": "Column 1 title";
@@ -444,6 +451,7 @@ export declare const WEB_BUILDER_WORDS: {
444
451
  readonly "Each website created from this template sets its own {what} afterwards.": "Each website created from this template sets its own {what} afterwards.";
445
452
  readonly "Easy to read": "Easy to read";
446
453
  readonly Edit: "Edit";
454
+ readonly "Edit code": "Edit code";
447
455
  readonly "Edit colors": "Edit colors";
448
456
  readonly "Edit colors for {name}": "Edit colors for {name}";
449
457
  readonly "Edit {name}": "Edit {name}";
@@ -471,6 +479,7 @@ export declare const WEB_BUILDER_WORDS: {
471
479
  readonly "Every text on the site that follows {style} changes to look like this one. This text\u2019s own changes are cleared, and it keeps following {style}.": "Every text on the site that follows {style} changes to look like this one. This text’s own changes are cleared, and it keeps following {style}.";
472
480
  readonly "Every {part} in this section follows it. The face and the size change; the letter case is the section\u2019s own and stays as it is.": "Every {part} in this section follows it. The face and the size change; the letter case is the section’s own and stays as it is.";
473
481
  readonly "Everything else on this block comes from the linked post. Unlink it to edit by hand.": "Everything else on this block comes from the linked post. Unlink it to edit by hand.";
482
+ readonly "Everything here is published as written.": "Everything here is published as written.";
474
483
  readonly "Everything is live": "Everything is live";
475
484
  readonly Excerpt: "Excerpt";
476
485
  readonly "Extra large \u2014 64px": "Extra large — 64px";
@@ -533,6 +542,7 @@ export declare const WEB_BUILDER_WORDS: {
533
542
  readonly "Form eyebrow": "Form eyebrow";
534
543
  readonly "Form heading": "Form heading";
535
544
  readonly "Form intro": "Form intro";
545
+ readonly "Format code": "Format code";
536
546
  readonly "Formatting \u2014 click a row first": "Formatting — click a row first";
537
547
  readonly "Formatting \u2014 row {n}": "Formatting — row {n}";
538
548
  readonly Founders: "Founders";
@@ -546,6 +556,7 @@ export declare const WEB_BUILDER_WORDS: {
546
556
  readonly "From the bottom": "From the bottom";
547
557
  readonly "From your template": "From your template";
548
558
  readonly Full: "Full";
559
+ readonly "Full height": "Full height";
549
560
  readonly "Full row": "Full row";
550
561
  readonly "Full width": "Full width";
551
562
  readonly "Full-bleed intro image the next section scrolls over.": "Full-bleed intro image the next section scrolls over.";
@@ -553,6 +564,7 @@ export declare const WEB_BUILDER_WORDS: {
553
564
  readonly "Full-screen opener with rotating slides.": "Full-screen opener with rotating slides.";
554
565
  readonly Gallery: "Gallery";
555
566
  readonly Gap: "Gap";
567
+ readonly "Gap between blocks": "Gap between blocks";
556
568
  readonly "Gap only": "Gap only";
557
569
  readonly "Give the new template page a name. It starts blank \u2014 add sections once it opens.": "Give the new template page a name. It starts blank — add sections once it opens.";
558
570
  readonly "Gives the other card this card's Corners.": "Gives the other card this card's Corners.";
@@ -645,6 +657,7 @@ export declare const WEB_BUILDER_WORDS: {
645
657
  readonly "In its own box": "In its own box";
646
658
  readonly "In progress (main)": "In progress (main)";
647
659
  readonly "In the card": "In the card";
660
+ readonly "In the list column": "In the list column";
648
661
  readonly "In the product": "In the product";
649
662
  readonly "In this issue": "In this issue";
650
663
  readonly "In this section": "In this section";
@@ -724,6 +737,7 @@ export declare const WEB_BUILDER_WORDS: {
724
737
  readonly Links: "Links";
725
738
  readonly "Links to": "Links to";
726
739
  readonly List: "List";
740
+ readonly "List only": "List only";
727
741
  readonly "List search": "List search";
728
742
  readonly Live: "Live";
729
743
  readonly "Live chat": "Live chat";
@@ -765,6 +779,9 @@ export declare const WEB_BUILDER_WORDS: {
765
779
  readonly Manual: "Manual";
766
780
  readonly Map: "Map";
767
781
  readonly "Map & Theme": "Map & Theme";
782
+ readonly "Map and list": "Map and list";
783
+ readonly "Map height": "Map height";
784
+ readonly "Map only": "Map only";
768
785
  readonly "Map theme": "Map theme";
769
786
  readonly Marks: "Marks";
770
787
  readonly Marquee: "Marquee";
@@ -883,6 +900,7 @@ export declare const WEB_BUILDER_WORDS: {
883
900
  readonly "Order content": "Order content";
884
901
  readonly "Order summary": "Order summary";
885
902
  readonly Others: "Others";
903
+ readonly "Outer padding": "Outer padding";
886
904
  readonly Outline: "Outline";
887
905
  readonly Outlined: "Outlined";
888
906
  readonly Overlay: "Overlay";
@@ -1044,6 +1062,7 @@ export declare const WEB_BUILDER_WORDS: {
1044
1062
  readonly "Screen 16:10": "Screen 16:10";
1045
1063
  readonly "Screen top": "Screen top";
1046
1064
  readonly Screens: "Screens";
1065
+ readonly "Scripts and event attributes are removed for safety.": "Scripts and event attributes are removed for safety.";
1047
1066
  readonly Scroll: "Scroll";
1048
1067
  readonly "Scroll-Over Text": "Scroll-Over Text";
1049
1068
  readonly "Scrolling Bar": "Scrolling Bar";
@@ -1062,6 +1081,7 @@ export declare const WEB_BUILDER_WORDS: {
1062
1081
  readonly "Section above": "Section above";
1063
1082
  readonly "Section band": "Section band";
1064
1083
  readonly "Section below": "Section below";
1084
+ readonly "Section code": "Section code";
1065
1085
  readonly "Section header": "Section header";
1066
1086
  readonly "Section heading": "Section heading";
1067
1087
  readonly "Section heading\n*Highlight line*": "Section heading\n*Highlight line*";
@@ -1112,6 +1132,7 @@ export declare const WEB_BUILDER_WORDS: {
1112
1132
  readonly "Shown beside the heading": "Shown beside the heading";
1113
1133
  readonly "Shown by the section: {name}": "Shown by the section: {name}";
1114
1134
  readonly Shows: "Shows";
1135
+ readonly "Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.": "Shows the preview in this Theme. It adds no code. The section uses the Theme in its own settings.";
1115
1136
  readonly "Shows when a visitor points at the button": "Shows when a visitor points at the button";
1116
1137
  readonly Shrink: "Shrink";
1117
1138
  readonly "Shrink to fit": "Shrink to fit";
@@ -1144,7 +1165,9 @@ export declare const WEB_BUILDER_WORDS: {
1144
1165
  readonly "Somebody else": "Somebody else";
1145
1166
  readonly Source: "Source";
1146
1167
  readonly "Space above and below": "Space above and below";
1168
+ readonly "Space between boxes": "Space between boxes";
1147
1169
  readonly Spacer: "Spacer";
1170
+ readonly Spacing: "Spacing";
1148
1171
  readonly "Spec Strip": "Spec Strip";
1149
1172
  readonly "Spec Table": "Spec Table";
1150
1173
  readonly "Spec label": "Spec label";
@@ -1248,6 +1271,7 @@ export declare const WEB_BUILDER_WORDS: {
1248
1271
  readonly "Text position": "Text position";
1249
1272
  readonly "Text size": "Text size";
1250
1273
  readonly "Text style": "Text style";
1274
+ readonly "Text styles": "Text styles";
1251
1275
  readonly Texts: "Texts";
1252
1276
  readonly Texture: "Texture";
1253
1277
  readonly "Texture color": "Texture color";
@@ -1428,6 +1452,8 @@ export declare const WEB_BUILDER_WORDS: {
1428
1452
  readonly Wording: "Wording";
1429
1453
  readonly Words: "Words";
1430
1454
  readonly "Words first": "Words first";
1455
+ readonly "Words space bottom": "Words space bottom";
1456
+ readonly "Words space top": "Words space top";
1431
1457
  readonly Wrap: "Wrap";
1432
1458
  readonly "Write the answer here.": "Write the answer here.";
1433
1459
  readonly "Write the opening paragraph here.\n\n- Start a line with a dash for a bullet.\n- Add as many as you like.": "Write the opening paragraph here.\n\n- Start a line with a dash for a bullet.\n- Add as many as you like.";
@@ -1458,6 +1484,7 @@ export declare const WEB_BUILDER_WORDS: {
1458
1484
  readonly Zoom: "Zoom";
1459
1485
  readonly "Zoom in": "Zoom in";
1460
1486
  readonly "Zoom out": "Zoom out";
1487
+ readonly add: "add";
1461
1488
  readonly "all theme colors": "all theme colors";
1462
1489
  readonly arrangement: "arrangement";
1463
1490
  readonly "body text": "body text";
@@ -1484,6 +1511,7 @@ export declare const WEB_BUILDER_WORDS: {
1484
1511
  readonly "not set": "not set";
1485
1512
  readonly "not shown live": "not shown live";
1486
1513
  readonly part: "part";
1514
+ readonly "plus {n} px (older setting)": "plus {n} px (older setting)";
1487
1515
  readonly px: "px";
1488
1516
  readonly tabs: "tabs";
1489
1517
  readonly "the Text style in Styles": "the Text style in Styles";