efficient-web-builder 62.0.0 → 64.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 (111) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/editor/components/PreviewPartAnchors.js +1 -1
  3. package/dist/editor/lib/animation/fields.js +1 -1
  4. package/dist/editor/lib/animation/loop-fields.js +1 -1
  5. package/dist/editor/lib/animation/scroll-fields.d.ts +3 -0
  6. package/dist/editor/lib/animation/scroll-fields.js +1 -0
  7. package/dist/editor/lib/document/blocks/general/IntroBleed/fields.js +1 -1
  8. package/dist/editor/lib/document/card-display-chips.d.ts +3 -2
  9. package/dist/editor/lib/document/card-display-chips.js +1 -1
  10. package/dist/editor/lib/document/card-row-fields.js +1 -1
  11. package/dist/editor/lib/document/controls.d.ts +7 -2
  12. package/dist/editor/lib/document/controls.js +1 -1
  13. package/dist/editor/lib/document/field-groups.js +1 -1
  14. package/dist/editor/lib/document/part-motion-canvas.d.ts +2 -1
  15. package/dist/editor/lib/document/part-motion-canvas.js +1 -1
  16. package/dist/format/lib/animation/hover.d.ts +4 -2
  17. package/dist/format/lib/animation/hover.js +1 -1
  18. package/dist/format/lib/animation/loop.d.ts +1 -0
  19. package/dist/format/lib/animation/loop.js +1 -1
  20. package/dist/format/lib/animation/mark-zoom.d.ts +11 -0
  21. package/dist/format/lib/animation/mark-zoom.js +1 -0
  22. package/dist/format/lib/animation/scroll.d.ts +20 -0
  23. package/dist/format/lib/animation/scroll.js +1 -0
  24. package/dist/format/lib/content/block-sources.js +1 -1
  25. package/dist/format/lib/content/box-shape.d.ts +1 -1
  26. package/dist/format/lib/content/card-state.d.ts +11 -1
  27. package/dist/format/lib/content/card-state.js +1 -1
  28. package/dist/format/lib/content/card-template.d.ts +10 -5
  29. package/dist/format/lib/content/card-template.js +1 -1
  30. package/dist/format/lib/content/image-aspect.d.ts +6 -0
  31. package/dist/format/lib/content/image-aspect.js +1 -1
  32. package/dist/format/lib/content/section-sticky.d.ts +29 -13
  33. package/dist/format/lib/content/section-sticky.js +1 -1
  34. package/dist/format/lib/content/slot-field-blocks.d.ts +1 -0
  35. package/dist/format/lib/content/slot-field-blocks.js +1 -0
  36. package/dist/format/lib/document/blocks/block-types.d.ts +2 -0
  37. package/dist/format/lib/document/blocks/general/Banner/meta.js +1 -1
  38. package/dist/format/lib/document/blocks/general/ContactLocations/meta.js +1 -1
  39. package/dist/format/lib/document/blocks/general/FeaturedCover/meta.js +1 -1
  40. package/dist/format/lib/document/blocks/general/Hero/meta.d.ts +1 -0
  41. package/dist/format/lib/document/blocks/general/Hero/meta.js +1 -1
  42. package/dist/format/lib/document/blocks/general/HeroSingle/meta.js +1 -1
  43. package/dist/format/lib/document/blocks/general/ImageBlock/meta.js +1 -1
  44. package/dist/format/lib/document/blocks/general/IntroBleed/meta.js +2 -2
  45. package/dist/format/lib/document/blocks/general/LogoBlock/meta.js +1 -1
  46. package/dist/format/lib/document/blocks/general/Logos/meta.js +1 -1
  47. package/dist/format/lib/document/blocks/general/LongRead/meta.js +1 -1
  48. package/dist/format/lib/document/blocks/general/Manifesto/meta.js +1 -1
  49. package/dist/format/lib/document/blocks/general/PaymentBadges/meta.js +1 -1
  50. package/dist/format/lib/document/blocks/general/PostCard/meta.js +1 -1
  51. package/dist/format/lib/document/blocks/general/ProcessSteps/meta.js +1 -1
  52. package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -1
  53. package/dist/format/lib/document/blocks/general/Split/meta.js +1 -1
  54. package/dist/format/lib/document/blocks/general/Timeline/meta.js +1 -1
  55. package/dist/format/lib/document/easel-row-words.d.ts +7 -0
  56. package/dist/format/lib/document/easel-row-words.js +1 -1
  57. package/dist/format/lib/document/passes/types.d.ts +5 -1
  58. package/dist/format/lib/editor-words-catalogue.d.ts +11 -0
  59. package/dist/format/lib/editor-words-catalogue.js +4 -4
  60. package/dist/format/lib/editor-words-kept.js +1 -1
  61. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  62. package/dist/format/lib/source-rules/no-hard-coded-option-rows.d.ts +30 -0
  63. package/dist/format/lib/source-rules/no-hard-coded-option-rows.js +1 -0
  64. package/dist/render/components/Banner.js +1 -1
  65. package/dist/render/components/CardRowContext.d.ts +1 -0
  66. package/dist/render/components/CardRowContext.js +1 -1
  67. package/dist/render/components/ContactLocations.js +2 -2
  68. package/dist/render/components/HeroPictures.d.ts +22 -2
  69. package/dist/render/components/HeroPictures.js +1 -1
  70. package/dist/render/components/HeroSection.js +1 -1
  71. package/dist/render/components/HeroSingle.js +1 -1
  72. package/dist/render/components/HeroSlide.js +1 -1
  73. package/dist/render/components/ImageBlock.js +1 -1
  74. package/dist/render/components/InBoxContext.d.ts +2 -1
  75. package/dist/render/components/InBoxContext.js +1 -1
  76. package/dist/render/components/IntroBleed.d.ts +1 -2
  77. package/dist/render/components/IntroBleed.js +1 -1
  78. package/dist/render/components/LogoBlock.js +1 -1
  79. package/dist/render/components/Logos.js +1 -1
  80. package/dist/render/components/PictureZoom.d.ts +24 -0
  81. package/dist/render/components/PictureZoom.js +1 -0
  82. package/dist/render/components/Placeholder.js +1 -1
  83. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  84. package/dist/render/components/ScrollEffect.d.ts +14 -0
  85. package/dist/render/components/ScrollEffect.js +1 -0
  86. package/dist/render/components/ScrollProgressArm.d.ts +5 -0
  87. package/dist/render/components/ScrollProgressArm.js +1 -0
  88. package/dist/render/components/SectionAnimation.d.ts +4 -0
  89. package/dist/render/components/SectionAnimation.js +1 -1
  90. package/dist/render/components/SectionHeader.js +1 -1
  91. package/dist/render/components/Text.d.ts +2 -1
  92. package/dist/render/components/Text.js +1 -1
  93. package/dist/render/components/goldPhrases.d.ts +2 -1
  94. package/dist/render/components/goldPhrases.js +3 -2
  95. package/dist/render/lib/animation/part-motion.d.ts +4 -1
  96. package/dist/render/lib/animation/part-motion.js +2 -2
  97. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
  98. package/dist/render/lib/document/blocks/general/IntroBleed/render.js +1 -1
  99. package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
  100. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  101. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
  102. package/dist/render/lib/document/page-frame.d.ts +2 -1
  103. package/dist/render/lib/document/page-frame.js +1 -1
  104. package/dist/render/lib/document/part-styles.d.ts +9 -0
  105. package/dist/render/lib/document/part-styles.js +2 -2
  106. package/dist/render/lib/document/passes/index.js +1 -1
  107. package/dist/render/lib/document/passes/scroll-effect.d.ts +3 -0
  108. package/dist/render/lib/document/passes/scroll-effect.js +1 -0
  109. package/dist/render/lib/document/passes/section-sticky.js +1 -1
  110. package/dist/render/lib/document/passes/slots-start-afresh.js +1 -1
  111. package/package.json +3 -3
@@ -5,9 +5,11 @@ export type BlockSlots = Record<string, {
5
5
  type: "slot";
6
6
  allow?: string[];
7
7
  disallow?: string[];
8
+ ownPictures?: true;
8
9
  }>;
9
10
  export type BlockRender = Pick<Block, "label" | "defaultProps" | "render" | "inline" | "phoneOrder"> & {
10
11
  fields?: BlockSlots;
12
+ drawsPictures?: true;
11
13
  };
12
14
  export type BlockMeta = Omit<BlockRender, "render">;
13
15
  export type BlockFields = Pick<Block, "fields" | "resolveFields" | "resolveData"> & {
@@ -1 +1 @@
1
- const e={label:"Banner",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BannerMeta};
1
+ const e={label:"Banner",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BannerMeta};
@@ -1 +1 @@
1
- import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as a,CONTACT_LOCATIONS_DEFAULTS as e}from"../../../../content/contact.js";const o={label:"Contact / Locations",defaultProps:{sectionNumber:e.sectionNumber,heading:e.heading,tagline:e.tagline,galleryKicker:e.galleryKicker,galleryHint:e.galleryHint,locations:a,mapTheme:e.mapTheme}};export{o as ContactLocationsMeta};
1
+ import{CONTACT_LOCATIONS_CARDS_PLACEHOLDER as t,CONTACT_LOCATIONS_DEFAULTS as e}from"../../../../content/contact.js";const i={label:"Contact / Locations",drawsPictures:!0,defaultProps:{sectionNumber:e.sectionNumber,heading:e.heading,tagline:e.tagline,galleryKicker:e.galleryKicker,galleryHint:e.galleryHint,locations:t,mapTheme:e.mapTheme}};export{i as ContactLocationsMeta};
@@ -1 +1 @@
1
- import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={badge:"Featured",imageDate:e.date,category:e.category,readLabel:"0 min read",date:e.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article — one or two sentences that draw the reader in.",ctaText:"Read the story",ctaHref:t.href},d={label:"Featured cover",defaultProps:{source:null,image:"",badge:"",imageDate:"",category:"",readLabel:"",date:"",title:"",dek:"",ctaText:"",ctaHref:""}};export{r as FEATUREDCOVER_PH,d as FeaturedCoverMeta};
1
+ import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={badge:"Featured",imageDate:e.date,category:e.category,readLabel:"0 min read",date:e.date,title:"Add a *headline* for this story.",dek:"A short summary of the featured article — one or two sentences that draw the reader in.",ctaText:"Read the story",ctaHref:t.href},d={label:"Featured cover",drawsPictures:!0,defaultProps:{source:null,image:"",badge:"",imageDate:"",category:"",readLabel:"",date:"",title:"",dek:"",ctaText:"",ctaHref:""}};export{r as FEATUREDCOVER_PH,d as FeaturedCoverMeta};
@@ -2,6 +2,7 @@ import type { BlockMeta } from "../../block-types.js";
2
2
  export declare const HeroSlots: {
3
3
  slides: {
4
4
  type: "slot";
5
+ ownPictures: true;
5
6
  };
6
7
  strip: {
7
8
  type: "slot";
@@ -1 +1 @@
1
- const t={slides:{type:"slot"},strip:{type:"slot",allow:["Flex"]}},e={label:"Hero",fields:t,defaultProps:{alignment:"left",textureOpacity:40,autoplay:!1,autoplayInterval:6}};export{e as HeroMeta,t as HeroSlots};
1
+ const t={slides:{type:"slot",ownPictures:!0},strip:{type:"slot",allow:["Flex"]}},e={label:"Hero",drawsPictures:!0,fields:t,defaultProps:{alignment:"left",textureOpacity:40,autoplay:!1,autoplayInterval:6}};export{e as HeroMeta,t as HeroSlots};
@@ -1 +1 @@
1
- import{FOCAL_DEFAULT as e}from"efficient-shell/format";import{DEFAULT_OVERLAY_POSITION as r}from"../../../../sections/hero-overlay.js";import{DEFAULT_TINT as o}from"../../../../content/tint.js";const t={boxes:{type:"slot",allow:["HeroGroup"]}},p={label:"Hero Single",fields:t,defaultProps:{mediaType:"image",imageFocal:e,tintColor:o,tintOpacity:0,overlay:100,overlayColor:o,overlayPosition:r}};export{p as HeroSingleMeta,t as HeroSingleSlots};
1
+ import{FOCAL_DEFAULT as e}from"efficient-shell/format";import{DEFAULT_OVERLAY_POSITION as r}from"../../../../sections/hero-overlay.js";import{DEFAULT_TINT as o}from"../../../../content/tint.js";const t={boxes:{type:"slot",allow:["HeroGroup"]}},p={label:"Hero Single",drawsPictures:!0,fields:t,defaultProps:{mediaType:"image",imageFocal:e,tintColor:o,tintOpacity:0,overlay:100,overlayColor:o,overlayPosition:r}};export{p as HeroSingleMeta,t as HeroSingleSlots};
@@ -1 +1 @@
1
- const a={label:"Image",defaultProps:{src:"",alt:"",aspect:"16/9",contained:!1}};export{a as ImageBlockMeta};
1
+ const e={label:"Image",drawsPictures:!0,defaultProps:{src:"",alt:"",aspect:"16/9",contained:!1}};export{e as ImageBlockMeta};
@@ -1,2 +1,2 @@
1
- import{TYPE_SIZE_INHERIT as e}from"../../../../content/section-type-size.js";const o={eyebrow:"— Label",title:`Section headline
2
- *Highlight line*`,body:"A sentence or two of supporting copy."},i={label:"Scroll-Over Text",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",imageSrcMobile:"",heightDesktop:100,heightMobile:100,overlay:60,titleSizeDesktop:e,bodySizeDesktop:e,titleSizeMobile:e,bodySizeMobile:e,ctaText:"",ctaHref:"",buttonColor:"",buttonTextColor:"",sticky:!0,uppercase:!1}};export{o as INTRO_PH,i as IntroBleedMeta};
1
+ import{SECTION_PIN_SCREENS_KEY as t}from"../../../../content/section-sticky.js";import{TYPE_SIZE_INHERIT as e}from"../../../../content/section-type-size.js";const r={eyebrow:"— Label",title:`Section headline
2
+ *Highlight line*`,body:"A sentence or two of supporting copy."},l={label:"Scroll-Over Text",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",imageSrcMobile:"",heightDesktop:100,heightMobile:100,overlay:60,titleSizeDesktop:e,bodySizeDesktop:e,titleSizeMobile:e,bodySizeMobile:e,ctaText:"",ctaHref:"",buttonColor:"",buttonTextColor:"",stickTop:!0,[t]:0,uppercase:!1}};export{r as INTRO_PH,l as IntroBleedMeta};
@@ -1 +1 @@
1
- import{FOOTER_LOGO_PX as o}from"../../../../logo/logo-size.js";const t={label:"Logo",defaultProps:{heightPx:o,reverse:"auto"}};export{t as LogoBlockMeta};
1
+ import{FOOTER_LOGO_PX as o}from"../../../../logo/logo-size.js";const r={label:"Logo",drawsPictures:!0,defaultProps:{heightPx:o,reverse:"auto"}};export{r as LogoBlockMeta};
@@ -1 +1 @@
1
- import{say as o}from"../../../../editor-words.js";const s={heading:"Trusted by *teams worldwide*"},l=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],t={logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},r={label:"Logos",fields:t,defaultProps:{items:[],contained:!0}};export{s as LOGOS_PH,r as LogosMeta,t as LogosSlots,l as logosScaffoldItems};
1
+ import{say as o}from"../../../../editor-words.js";const s={heading:"Trusted by *teams worldwide*"},l=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],t={logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},r={label:"Logos",drawsPictures:!0,fields:t,defaultProps:{items:[],contained:!0}};export{s as LOGOS_PH,r as LogosMeta,t as LogosSlots,l as logosScaffoldItems};
@@ -1 +1 @@
1
- import{CTA_PH as t,PH as e}from"../../placeholders.js";const d={headNum:e.sectionNumber,headTitle:e.headingAccent,headDesc:e.body,category:e.category,metaMiddle:"Section",readLabel:"0 min read",title:"Article *headline* goes here.",dek:"A short summary of the article goes here.",quote:"A short pull quote.",quoteAttribution:"— "+e.date,ctaText:"Begin reading",ctaHref:t.href,imageLabel:"Featured *image*",metaPublished:e.date,metaReads:"0 min"},o={label:"Long read",defaultProps:{source:null,headNum:"",headTitle:"",headDesc:"",category:"",metaMiddle:"",readLabel:"",title:"",dek:"",quote:"",quoteAttribution:"",ctaText:"",ctaHref:"",image:"",imageLabel:"",metaPublished:"",metaReads:""}};export{d as LONGREAD_PH,o as LongReadMeta};
1
+ import{CTA_PH as t,PH as e}from"../../placeholders.js";const r={headNum:e.sectionNumber,headTitle:e.headingAccent,headDesc:e.body,category:e.category,metaMiddle:"Section",readLabel:"0 min read",title:"Article *headline* goes here.",dek:"A short summary of the article goes here.",quote:"A short pull quote.",quoteAttribution:"— "+e.date,ctaText:"Begin reading",ctaHref:t.href,imageLabel:"Featured *image*",metaPublished:e.date,metaReads:"0 min"},d={label:"Long read",drawsPictures:!0,defaultProps:{source:null,headNum:"",headTitle:"",headDesc:"",category:"",metaMiddle:"",readLabel:"",title:"",dek:"",quote:"",quoteAttribution:"",ctaText:"",ctaHref:"",image:"",imageLabel:"",metaPublished:"",metaReads:""}};export{r as LONGREAD_PH,d as LongReadMeta};
@@ -1 +1 @@
1
- const e={label:"Brand Text",defaultProps:{eyebrow:"",imageSrc:"",stats:[]}};export{e as ManifestoMeta};
1
+ const e={label:"Brand Text",drawsPictures:!0,defaultProps:{eyebrow:"",imageSrc:"",stats:[]}};export{e as ManifestoMeta};
@@ -1 +1 @@
1
- import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],o=()=>[{text:e("Secure encrypted checkout")},{text:e("30-day returns")}],n={label:"Payment Methods",defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{t as PAYMENT_PH,n as PaymentBadgesMeta,o as paymentScaffoldAssurances,s as paymentScaffoldBadges};
1
+ import{say as e}from"../../../../editor-words.js";const t={heading:"Ways to pay"},s=()=>[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],r=()=>[{text:e("Secure encrypted checkout")},{text:e("30-day returns")}],o={label:"Payment Methods",drawsPictures:!0,defaultProps:{heading:"",badges:[],assurances:[],contained:!0}};export{t as PAYMENT_PH,o as PaymentBadgesMeta,r as paymentScaffoldAssurances,s as paymentScaffoldBadges};
@@ -1 +1 @@
1
- import{BOX_DARKEN_STYLES as t}from"../../../../content/box-background.js";import{POST_CARD_HEIGHT as o,POST_CARD_LAYOUT_FALLBACK as r}from"../../../../post-card-layout.js";import{PH as e}from"../../placeholders.js";const s={title:"Add a *headline* for this post.",excerpt:"A short summary of the post — one or two sentences.",category:e.category,date:e.date,readLabel:"0 min read"},m={label:"Post Card",defaultProps:{source:null,image:"",title:"",excerpt:"",href:"",category:"",date:"",readLabel:"",layout:r,showCover:!0,placement:"bottom-left",darken:55,darkenStyle:t[0].value,minHeight:o.fallback}};export{s as POSTCARD_PH,m as PostCardMeta};
1
+ import{BOX_DARKEN_STYLES as t}from"../../../../content/box-background.js";import{POST_CARD_HEIGHT as r,POST_CARD_LAYOUT_FALLBACK as o}from"../../../../post-card-layout.js";import{PH as e}from"../../placeholders.js";const d={title:"Add a *headline* for this post.",excerpt:"A short summary of the post — one or two sentences.",category:e.category,date:e.date,readLabel:"0 min read"},m={label:"Post Card",drawsPictures:!0,defaultProps:{source:null,image:"",title:"",excerpt:"",href:"",category:"",date:"",readLabel:"",layout:o,showCover:!0,placement:"bottom-left",darken:55,darkenStyle:t[0].value,minHeight:r.fallback}};export{d as POSTCARD_PH,m as PostCardMeta};
@@ -1 +1 @@
1
- import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";const l={num:t.sectionNumber,title:t.headingAccent,description:t.body,cta:t.viewAll},o={boxes:{type:"slot"},template:e()},r={label:"Image & Text Columns",fields:o,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120}};export{l as PROCESS_PH,r as ProcessStepsMeta,o as ProcessStepsSlots};
1
+ import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";const p={num:t.sectionNumber,title:t.headingAccent,description:t.body,cta:t.viewAll},o={boxes:{type:"slot"},template:e()},l={label:"Image & Text Columns",drawsPictures:!0,fields:o,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120}};export{p as PROCESS_PH,l as ProcessStepsMeta,o as ProcessStepsSlots};
@@ -1 +1 @@
1
- import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as t}from"../../../../sections/section-head-style.js";const l={label:"Section Header",defaultProps:{headStyle:t,num:"01 / Section",numStyle:e,title:"Section *title*",description:"",logoSrc:"",logoAlt:"",linkText:"",linkHref:""}};export{l as SectionHeaderMeta};
1
+ import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as t}from"../../../../sections/section-head-style.js";const i={label:"Section Header",drawsPictures:!0,defaultProps:{headStyle:t,num:"01 / Section",numStyle:e,title:"Section *title*",description:"",logoSrc:"",logoAlt:"",linkText:"",linkHref:""}};export{i as SectionHeaderMeta};
@@ -1,2 +1,2 @@
1
1
  const e={eyebrow:"— Label",title:`Section headline *here.*
2
- *Highlight line*`,body:"Describe this section in a sentence or two."},t={text:"Learn more"},r={label:"Image & Text Split",defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60}};export{t as IMGBTN_PH,e as SPLIT_PH,r as SplitMeta};
2
+ *Highlight line*`,body:"Describe this section in a sentence or two."},t={text:"Learn more"},r={label:"Image & Text Split",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60}};export{t as IMGBTN_PH,e as SPLIT_PH,r as SplitMeta};
@@ -1,2 +1,2 @@
1
1
  import{CTA_PH as i,PH as t}from"../../placeholders.js";import{say as e}from"../../../../editor-words.js";const n={eyebrow:t.eyebrow,title:`Section heading
2
- *Highlight line*`,intro:t.body,imageCaption:t.imageCaption,imageMeta:t.imageMeta,cta:i.text},r=()=>[{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")}],l={label:"Story Timeline",defaultProps:{layout:"split",eyebrow:"",title:"",intro:"",imageSrc:"",imageCaption:"",imageMeta:"",ctaText:"",ctaHref:"",entries:[],padTop:120,padBottom:120}};export{n as TIMELINE_PH,l as TimelineMeta,r as timelineScaffoldEntries};
2
+ *Highlight line*`,intro:t.body,imageCaption:t.imageCaption,imageMeta:t.imageMeta,cta:i.text},r=()=>[{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")},{date:e("Year"),title:e("Milestone title."),body:e("Describe what happened, in a sentence or two.")}],l={label:"Story Timeline",drawsPictures:!0,defaultProps:{layout:"split",eyebrow:"",title:"",intro:"",imageSrc:"",imageCaption:"",imageMeta:"",ctaText:"",ctaHref:"",entries:[],padTop:120,padBottom:120}};export{n as TIMELINE_PH,l as TimelineMeta,r as timelineScaffoldEntries};
@@ -7,3 +7,10 @@ export declare const EASEL_ROW_WORDS: {
7
7
  readonly onTablet: "{value} on tablet";
8
8
  readonly onDesktop: "{value} on desktop";
9
9
  };
10
+ export declare const EASEL_MEDIA_ZONE_WORDS: {
11
+ readonly rendering: "Product renderings";
12
+ readonly photos: "Product photos";
13
+ readonly lifestyle: "Lifestyle photos";
14
+ readonly accessories: "Accessories";
15
+ readonly others: "Others";
16
+ };
@@ -1 +1 @@
1
- const e={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink",line:"One line",onTablet:"{value} on tablet",onDesktop:"{value} on desktop"};export{e as EASEL_ROW_WORDS};
1
+ const e={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink",line:"One line",onTablet:"{value} on tablet",onDesktop:"{value} on desktop"},o={rendering:"Product renderings",photos:"Product photos",lifestyle:"Lifestyle photos",accessories:"Accessories",others:"Others"};export{o as EASEL_MEDIA_ZONE_WORDS,e as EASEL_ROW_WORDS};
@@ -21,6 +21,7 @@ export type PassBlock = {
21
21
  fields?: Record<string, unknown>;
22
22
  textParts?: Record<string, unknown>;
23
23
  defaultProps?: Record<string, unknown>;
24
+ drawsPictures?: boolean;
24
25
  resolveFields?: PassResolveFields;
25
26
  resolveData?: PassResolveData;
26
27
  render: (props: PassRenderProps) => ReactNode;
@@ -46,7 +47,10 @@ export type PassInspector = {
46
47
  }) => FieldMap;
47
48
  heightFields: () => FieldMap;
48
49
  anchorFields: () => FieldMap;
49
- stickFields: () => FieldMap;
50
+ stickFields: (opts?: {
51
+ intro?: boolean;
52
+ screens?: boolean;
53
+ }) => FieldMap;
50
54
  sectionThemeFields: (readValue?: (v: unknown) => unknown, followLabel?: string) => FieldMap;
51
55
  animationTabFields: (kind: AnimationTabKind, blockKey?: string) => FieldMap;
52
56
  blockSizeFields: (opts?: {
@@ -462,6 +462,8 @@ export declare const WEB_BUILDER_WORDS: {
462
462
  readonly "Eyebrow style": "Eyebrow style";
463
463
  readonly Facebook: "Facebook";
464
464
  readonly Fade: "Fade";
465
+ readonly "Fade in": "Fade in";
466
+ readonly "Fade out": "Fade out";
465
467
  readonly Feature: "Feature";
466
468
  readonly "Feature Banner": "Feature Banner";
467
469
  readonly "Feature Rows": "Feature Rows";
@@ -767,6 +769,8 @@ export declare const WEB_BUILDER_WORDS: {
767
769
  readonly "Month DD, YYYY": "Month DD, YYYY";
768
770
  readonly More: "More";
769
771
  readonly "Most popular": "Most popular";
772
+ readonly "Move down": "Move down";
773
+ readonly "Move up": "Move up";
770
774
  readonly "Multi-column container for blocks.": "Multi-column container for blocks.";
771
775
  readonly Muted: "Muted";
772
776
  readonly Name: "Name";
@@ -875,6 +879,7 @@ export declare const WEB_BUILDER_WORDS: {
875
879
  readonly "Panorama 21:9": "Panorama 21:9";
876
880
  readonly Paragraph: "Paragraph";
877
881
  readonly "Paragraph size \u2014 13px": "Paragraph size — 13px";
882
+ readonly Parallax: "Parallax";
878
883
  readonly "Part of {name}": "Part of {name}";
879
884
  readonly "Paste a link to each profile. A platform left empty shows nothing on the site.": "Paste a link to each profile. A platform left empty shows nothing on the site.";
880
885
  readonly "Payment Logos": "Payment Logos";
@@ -891,6 +896,7 @@ export declare const WEB_BUILDER_WORDS: {
891
896
  readonly "Pick who to reach, then a form that routes the message.": "Pick who to reach, then a form that routes the message.";
892
897
  readonly Picture: "Picture";
893
898
  readonly "Picture first": "Picture first";
899
+ readonly "Pin while scrolling": "Pin while scrolling";
894
900
  readonly Pinterest: "Pinterest";
895
901
  readonly Place: "Place";
896
902
  readonly Placement: "Placement";
@@ -926,6 +932,7 @@ export declare const WEB_BUILDER_WORDS: {
926
932
  readonly "Product photos": "Product photos";
927
933
  readonly "Product record": "Product record";
928
934
  readonly "Product record (spec tiles)": "Product record (spec tiles)";
935
+ readonly "Product renderings": "Product renderings";
929
936
  readonly "Product tiles": "Product tiles";
930
937
  readonly "Products, prices and forms always show as they are now.": "Products, prices and forms always show as they are now.";
931
938
  readonly "Promotions & sign-ups": "Promotions & sign-ups";
@@ -1001,6 +1008,8 @@ export declare const WEB_BUILDER_WORDS: {
1001
1008
  readonly Scale: "Scale";
1002
1009
  readonly Screen: "Screen";
1003
1010
  readonly "Screen 16:10": "Screen 16:10";
1011
+ readonly Screens: "Screens";
1012
+ readonly Scroll: "Scroll";
1004
1013
  readonly "Scroll-Over Text": "Scroll-Over Text";
1005
1014
  readonly "Scrolling Bar": "Scrolling Bar";
1006
1015
  readonly Search: "Search";
@@ -1398,6 +1407,8 @@ export declare const WEB_BUILDER_WORDS: {
1398
1407
  readonly "Your unpublished changes are kept": "Your unpublished changes are kept";
1399
1408
  readonly Zigzag: "Zigzag";
1400
1409
  readonly Zoom: "Zoom";
1410
+ readonly "Zoom in": "Zoom in";
1411
+ readonly "Zoom out": "Zoom out";
1401
1412
  readonly "all theme colors": "all theme colors";
1402
1413
  readonly arrangement: "arrangement";
1403
1414
  readonly "body text": "body text";