efficient-web-builder 54.0.0 → 55.1.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 (187) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/editor/components/BlockGapField.js +1 -1
  3. package/dist/editor/components/CornersField.js +1 -1
  4. package/dist/editor/components/SectionWidthRows.d.ts +2 -1
  5. package/dist/editor/components/SectionWidthRows.js +1 -1
  6. package/dist/editor/components/SideSpaceField.js +1 -1
  7. package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
  8. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
  9. package/dist/editor/lib/document/blocks/general/CardList/fields.d.ts +2 -0
  10. package/dist/editor/lib/document/blocks/general/CardList/fields.js +1 -0
  11. package/dist/editor/lib/document/blocks/general/Eyebrow/fields.js +1 -1
  12. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  13. package/dist/editor/lib/document/blocks/general/Hero/fields.js +1 -1
  14. package/dist/editor/lib/document/blocks/general/HeroSingle/fields.js +1 -1
  15. package/dist/editor/lib/document/blocks/general/LogoBlock/fields.js +1 -1
  16. package/dist/editor/lib/document/blocks/general/Split/fields.js +1 -1
  17. package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
  18. package/dist/editor/lib/document/blocks/general/TitleWithButtons/fields.js +1 -1
  19. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  20. package/dist/editor/lib/document/blocks/general/index.js +1 -1
  21. package/dist/editor/lib/document/blocks/hero-shared-fields.d.ts +29 -2
  22. package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
  23. package/dist/editor/lib/document/blocks/shared-fields.d.ts +1 -5
  24. package/dist/editor/lib/document/blocks/shared-fields.js +1 -1
  25. package/dist/editor/lib/document/box-accordion-seed.d.ts +3 -0
  26. package/dist/editor/lib/document/box-accordion-seed.js +1 -0
  27. package/dist/editor/lib/document/box-fields.d.ts +11 -0
  28. package/dist/editor/lib/document/box-fields.js +1 -1
  29. package/dist/editor/lib/document/card-row-fields.js +1 -1
  30. package/dist/editor/lib/document/controls.d.ts +3 -1
  31. package/dist/editor/lib/document/controls.js +1 -1
  32. package/dist/editor/lib/document/field-groups.js +1 -1
  33. package/dist/editor/lib/document/mirror-cards-field.d.ts +1 -0
  34. package/dist/editor/lib/document/mirror-cards-field.js +1 -1
  35. package/dist/editor/lib/document/passes/inspector.js +1 -1
  36. package/dist/editor/lib/document/section-own-width-fields.d.ts +4 -0
  37. package/dist/editor/lib/document/section-own-width-fields.js +1 -0
  38. package/dist/editor/lib/document/shape-picker.d.ts +8 -0
  39. package/dist/editor/lib/document/shape-picker.js +1 -1
  40. package/dist/format/lib/content/block-align.d.ts +4 -1
  41. package/dist/format/lib/content/block-align.js +1 -1
  42. package/dist/format/lib/content/box-background.d.ts +19 -0
  43. package/dist/format/lib/content/box-background.js +1 -1
  44. package/dist/format/lib/content/box-layout.d.ts +7 -0
  45. package/dist/format/lib/content/box-layout.js +1 -1
  46. package/dist/format/lib/content/box-phone-place.d.ts +3 -3
  47. package/dist/format/lib/content/box-phone-place.js +1 -1
  48. package/dist/format/lib/content/box-separator.js +1 -1
  49. package/dist/format/lib/content/box-shadow.d.ts +4 -0
  50. package/dist/format/lib/content/box-shadow.js +1 -1
  51. package/dist/format/lib/content/box-shape.d.ts +1 -1
  52. package/dist/format/lib/content/box-shape.js +1 -1
  53. package/dist/format/lib/content/card-state.d.ts +2 -0
  54. package/dist/format/lib/content/card-state.js +1 -1
  55. package/dist/format/lib/content/card-template.d.ts +11 -2
  56. package/dist/format/lib/content/card-template.js +1 -1
  57. package/dist/format/lib/content/container-direction.d.ts +1 -1
  58. package/dist/format/lib/content/container-direction.js +1 -1
  59. package/dist/format/lib/content/gallery-card-layout.d.ts +16 -1
  60. package/dist/format/lib/content/gallery-card-layout.js +1 -1
  61. package/dist/format/lib/content/image-aspect.d.ts +2 -0
  62. package/dist/format/lib/content/image-aspect.js +1 -1
  63. package/dist/format/lib/content/page-width.d.ts +3 -0
  64. package/dist/format/lib/content/page-width.js +1 -1
  65. package/dist/format/lib/content/phone-focus.js +1 -1
  66. package/dist/format/lib/content/picture-focus-rows.js +1 -0
  67. package/dist/format/lib/content/section-height.d.ts +31 -2
  68. package/dist/format/lib/content/section-height.js +1 -1
  69. package/dist/format/lib/content/section-min-height.d.ts +2 -1
  70. package/dist/format/lib/content/section-min-height.js +1 -1
  71. package/dist/format/lib/content/section-width.d.ts +38 -1
  72. package/dist/format/lib/content/section-width.js +1 -1
  73. package/dist/format/lib/content/site-gutter.d.ts +2 -0
  74. package/dist/format/lib/content/site-gutter.js +1 -1
  75. package/dist/format/lib/content/view-overrides.d.ts +7 -0
  76. package/dist/format/lib/content/view-overrides.js +1 -0
  77. package/dist/format/lib/content/view-var-split.d.ts +11 -0
  78. package/dist/format/lib/content/view-var-split.js +1 -0
  79. package/dist/format/lib/document/blocks/general/CardList/item-seed.d.ts +4 -0
  80. package/dist/format/lib/document/blocks/general/CardList/item-seed.js +1 -0
  81. package/dist/format/lib/document/blocks/general/CardList/meta.d.ts +8 -0
  82. package/dist/format/lib/document/blocks/general/CardList/meta.js +1 -0
  83. package/dist/format/lib/document/blocks/general/Flex/meta.d.ts +4 -0
  84. package/dist/format/lib/document/blocks/general/Flex/meta.js +1 -1
  85. package/dist/format/lib/document/blocks/general/metas.d.ts +1 -0
  86. package/dist/format/lib/document/blocks/general/metas.js +1 -1
  87. package/dist/format/lib/document/general-order.d.ts +1 -1
  88. package/dist/format/lib/document/general-order.js +1 -1
  89. package/dist/format/lib/document/passes/types.d.ts +3 -0
  90. package/dist/format/lib/document/section-catalog.js +1 -1
  91. package/dist/format/lib/editor-words-catalogue.d.ts +12 -0
  92. package/dist/format/lib/editor-words-catalogue.js +5 -5
  93. package/dist/format/lib/fit-words.d.ts +8 -0
  94. package/dist/format/lib/fit-words.js +23 -12
  95. package/dist/format/lib/markup.d.ts +1 -0
  96. package/dist/format/lib/markup.js +2 -2
  97. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  98. package/dist/format/lib/sections/intro-bleed-layout.d.ts +1 -0
  99. package/dist/format/lib/sections/intro-bleed-layout.js +1 -1
  100. package/dist/format/lib/source-rules/padding-units-declared.d.ts +2 -0
  101. package/dist/format/lib/source-rules/padding-units-declared.js +6 -0
  102. package/dist/render/components/AccordionMark.d.ts +4 -0
  103. package/dist/render/components/AccordionMark.js +1 -0
  104. package/dist/render/components/BoxAccordionRow.d.ts +7 -0
  105. package/dist/render/components/BoxAccordionRow.js +1 -0
  106. package/dist/render/components/BoxTabPaneContext.d.ts +3 -1
  107. package/dist/render/components/BoxTabPaneContext.js +1 -1
  108. package/dist/render/components/BoxTabs.js +1 -1
  109. package/dist/render/components/ButtonBlock.d.ts +1 -0
  110. package/dist/render/components/ButtonBlock.js +1 -1
  111. package/dist/render/components/CardRowContext.d.ts +3 -2
  112. package/dist/render/components/CardRowContext.js +1 -1
  113. package/dist/render/components/Divider.js +1 -1
  114. package/dist/render/components/Eyebrow.d.ts +2 -1
  115. package/dist/render/components/Eyebrow.js +1 -1
  116. package/dist/render/components/FAQ.js +1 -1
  117. package/dist/render/components/Flex.d.ts +20 -2
  118. package/dist/render/components/Flex.js +1 -1
  119. package/dist/render/components/HeroSection.d.ts +4 -1
  120. package/dist/render/components/HeroSection.js +1 -1
  121. package/dist/render/components/HeroSingle.d.ts +4 -1
  122. package/dist/render/components/HeroSingle.js +1 -1
  123. package/dist/render/components/HeroSlide.d.ts +1 -0
  124. package/dist/render/components/HeroSlide.js +1 -1
  125. package/dist/render/components/ImageBlock.js +1 -1
  126. package/dist/render/components/IntroBleed.js +1 -1
  127. package/dist/render/components/LogoBlock.d.ts +1 -0
  128. package/dist/render/components/LogoBlock.js +1 -1
  129. package/dist/render/components/Logos.js +1 -1
  130. package/dist/render/components/ProcessSteps.d.ts +1 -0
  131. package/dist/render/components/ProcessSteps.js +1 -1
  132. package/dist/render/components/SiteGutterFrame.d.ts +18 -1
  133. package/dist/render/components/SiteGutterFrame.js +1 -1
  134. package/dist/render/components/Split.d.ts +2 -1
  135. package/dist/render/components/Split.js +1 -1
  136. package/dist/render/components/Text.d.ts +2 -1
  137. package/dist/render/components/Text.js +1 -1
  138. package/dist/render/components/TitleWithButtons.d.ts +2 -1
  139. package/dist/render/components/TitleWithButtons.js +1 -1
  140. package/dist/render/lib/content/block-size.d.ts +2 -6
  141. package/dist/render/lib/content/block-size.js +1 -1
  142. package/dist/render/lib/content/box-shared-columns.d.ts +2 -2
  143. package/dist/render/lib/content/box-shared-columns.js +1 -1
  144. package/dist/render/lib/content/box-stack-line.d.ts +15 -0
  145. package/dist/render/lib/content/box-stack-line.js +1 -0
  146. package/dist/render/lib/content/button-look.js +1 -1
  147. package/dist/render/lib/content/empty-hides.d.ts +8 -0
  148. package/dist/render/lib/content/empty-hides.js +1 -0
  149. package/dist/render/lib/content/section-edge.d.ts +1 -1
  150. package/dist/render/lib/content/section-edge.js +1 -1
  151. package/dist/render/lib/content/section-padding.d.ts +17 -3
  152. package/dist/render/lib/content/section-padding.js +1 -1
  153. package/dist/render/lib/content/view-values.d.ts +1 -7
  154. package/dist/render/lib/content/view-values.js +1 -1
  155. package/dist/render/lib/document/blocks/general/CardList/render.d.ts +2 -0
  156. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -0
  157. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  158. package/dist/render/lib/document/blocks/general/Hero/render.js +1 -1
  159. package/dist/render/lib/document/blocks/general/HeroSingle/render.js +1 -1
  160. package/dist/render/lib/document/blocks/general/HeroSlide/render.js +1 -1
  161. package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
  162. package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
  163. package/dist/render/lib/document/blocks/general/renders.d.ts +1 -0
  164. package/dist/render/lib/document/blocks/general/renders.js +1 -1
  165. package/dist/render/lib/document/blocks/general/section-head-looks.d.ts +1 -0
  166. package/dist/render/lib/document/blocks/general/section-head-looks.js +2 -2
  167. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  168. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
  169. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
  170. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  171. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  172. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -1
  173. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  174. package/dist/render/lib/document/head-core-boxes.d.ts +1 -0
  175. package/dist/render/lib/document/head-core-boxes.js +1 -0
  176. package/dist/render/lib/document/page-render.js +1 -1
  177. package/dist/render/lib/document/passes/block-size.js +1 -1
  178. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  179. package/dist/render/lib/document/passes/head-core.d.ts +3 -0
  180. package/dist/render/lib/document/passes/head-core.js +1 -0
  181. package/dist/render/lib/document/passes/index.js +1 -1
  182. package/dist/render/lib/document/passes/section-theme.js +1 -1
  183. package/dist/render/lib/document/passes/section-width.js +1 -1
  184. package/dist/render/lib/sections/section-to-box.js +1 -1
  185. package/package.json +5 -5
  186. package/dist/render/lib/content/picture-focus-rows.js +0 -1
  187. /package/dist/{render → format}/lib/content/picture-focus-rows.d.ts +0 -0
@@ -14,9 +14,46 @@ export declare function resolveWidth(props: WidthProps, defaultMode: WidthMode):
14
14
  };
15
15
  export declare function sectionRunsFullWidth(props: Readonly<Record<string, unknown>>): boolean;
16
16
  export type WidthAnswer = "full" | "content";
17
- export type SectionWidthFamily = "hero" | "scrollOver" | "background" | "both" | "contained" | "contentColumn" | "contentFull" | "productGrid" | "capped";
17
+ export type SectionWidthFamily = "hero" | "scrollOver" | "background" | "both" | "contained" | "contentColumn" | "contentFull" | "productGrid" | "capped" | "rawMarkup";
18
18
  export declare const SECTION_WIDTH_FAMILY: Readonly<Record<string, SectionWidthFamily>>;
19
+ export declare const NO_WIDTH_ROWS: readonly string[];
19
20
  export declare function hasWidthFamily(type: string): boolean;
21
+ export declare const SECTION_WIDTH_KEYS: {
22
+ readonly background: "sectionBackgroundWidth";
23
+ readonly content: "sectionContentWidth";
24
+ readonly contentMax: "sectionContentMax";
25
+ };
26
+ export interface OwnSectionWidth {
27
+ background: WidthAnswer | null;
28
+ content: WidthAnswer | null;
29
+ contentMax: number | null;
30
+ }
31
+ export declare function ownSectionWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
32
+ export declare function chromeOwnWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
33
+ export declare function hasOwnSectionWidth(own: OwnSectionWidth): boolean;
34
+ export declare const sectionBackgroundPatch: (next: WidthAnswer) => {
35
+ sectionBackgroundWidth: WidthAnswer;
36
+ };
37
+ export declare const sectionContentPatch: (next: WidthAnswer) => {
38
+ sectionContentWidth: "full";
39
+ sectionContentMax: undefined;
40
+ } | {
41
+ sectionContentWidth: "content";
42
+ sectionContentMax?: undefined;
43
+ };
44
+ export declare const sectionContentMaxPatch: (px: number) => {
45
+ sectionContentWidth: "content";
46
+ sectionContentMax: number;
47
+ };
48
+ export declare const sectionWidthResetPatch: (row: "background" | "content") => {
49
+ sectionBackgroundWidth: undefined;
50
+ sectionContentWidth?: undefined;
51
+ sectionContentMax?: undefined;
52
+ } | {
53
+ sectionContentWidth: undefined;
54
+ sectionContentMax: undefined;
55
+ sectionBackgroundWidth?: undefined;
56
+ };
20
57
  export declare const SITE_WIDTHS_KEY = "siteWidths";
21
58
  export interface SiteWidths {
22
59
  background: WidthAnswer | null;
@@ -1 +1 @@
1
- const r=["page","full"],l=["full","page"],g={full:"Full width",page:"Content width"},d="inherit",c=e=>typeof e=="string"&&r.includes(e),i=e=>e===d;function u(e,t){return i(e.widthMode)?{mode:"full",inherited:!0}:c(e.widthMode)?{mode:e.widthMode,inherited:!1}:{mode:t,inherited:t==="full"}}function b(e){return u(e,"page").mode==="full"}const p={Hero:"hero",HeroSingle:"hero",IntroBleed:"scrollOver",SpecStrip:"background",Timeline:"background",Footprint:"background",Prose:"background",ParagraphsA:"background",Cards:"background",KeyFeatures:"background",Chart:"background",Mockup:"background",Testimonials:"background",TitleWithButtons:"background",Countdown:"background",DocMasthead:"background",DocBody:"background",DocMetaCards:"background",Gallery:"background",GalleryB:"background",Reviews:"background",ReviewForm:"background",Form:"background",AppointmentBooking:"background",FAQ:"background",Events:"background",Split:"both",Breadcrumb:"both",Collections:"both",CatalogFilterBar:"both",AlloyWheelsListing:"both",Banner:"contained",Stats:"contained",Logos:"contained",Divider:"contained",OrderSummary:"contained",DeliveryOptions:"contained",PaymentBadges:"contained",CheckoutCTA:"contained",Flex:"contained",Grid:"contained",ContactCards:"contained",MessagingCards:"contained",OpeningHours:"contained",RateTable:"contained",Manifesto:"contentColumn",SectionHeader:"contentFull",ProductHero:"contentFull",ProductGrid:"productGrid",TimelineTrack:"capped",DetailRows:"capped",FitmentTable:"capped",TyreSizes:"capped",TyreFitment:"capped",EuTyreLabel:"capped",BundleOffer:"capped",CompatibleTyres:"capped",RelatedProducts:"capped",ProcessSteps:"capped",StatsParagraph:"capped",Masthead:"capped",FeaturedCover:"capped",LongRead:"capped",Series:"capped",ContactLocations:"capped",FitmentFinder:"capped",SpecTable:"capped",Subscribe:"capped",SubscribeBlogs:"capped",ContactRouting:"capped",SubmitBuild:"capped"};function h(e){return Object.prototype.hasOwnProperty.call(p,e)}const a="siteWidths",s=e=>e==="full"||e==="content";function n(e){return s(e)?e:null}function k(e,t){return{[a]:{background:n(e),content:n(t)}}}function m(e){const o=e.editor?.metadata?.[a];return{background:n(o?.background),content:n(o?.content)}}export{l as SECTION_WIDTH_CHOICES,p as SECTION_WIDTH_FAMILY,a as SITE_WIDTHS_KEY,g as WIDTH_CHOICE_LABEL,d as WIDTH_INHERIT,r as WIDTH_MODES,h as hasWidthFamily,i as isInheritValue,n as normalizeSiteBackground,u as resolveWidth,b as sectionRunsFullWidth,k as siteWidthsMetadata,m as siteWidthsOf};
1
+ import{normalizeSectionContentMax as r}from"./page-width.js";const d=["page","full"],k=["full","page"],f={full:"Full",page:"Content"},i="inherit",u=t=>typeof t=="string"&&d.includes(t),s=t=>t===i;function l(t,n){return s(t.widthMode)?{mode:"full",inherited:!0}:u(t.widthMode)?{mode:t.widthMode,inherited:!1}:{mode:n,inherited:n==="full"}}function m(t){return l(t,"page").mode==="full"}const p={CustomHTML:"rawMarkup",Hero:"hero",HeroSingle:"hero",IntroBleed:"scrollOver",SpecStrip:"background",Timeline:"background",Footprint:"background",Prose:"background",ParagraphsA:"background",Cards:"background",KeyFeatures:"background",Chart:"background",Mockup:"background",Testimonials:"background",TitleWithButtons:"background",Countdown:"background",DocMasthead:"background",DocBody:"background",DocMetaCards:"background",Gallery:"background",GalleryB:"background",Reviews:"background",ReviewForm:"background",Form:"background",AppointmentBooking:"background",FAQ:"background",Events:"background",Split:"both",Breadcrumb:"both",Collections:"both",CatalogFilterBar:"both",AlloyWheelsListing:"both",Banner:"contained",Stats:"contained",Logos:"contained",Divider:"contained",OrderSummary:"contained",DeliveryOptions:"contained",PaymentBadges:"contained",CheckoutCTA:"contained",Flex:"contained",Grid:"contained",ContactCards:"contained",MessagingCards:"contained",OpeningHours:"contained",RateTable:"contained",Manifesto:"contentColumn",SectionHeader:"contentFull",ProductHero:"contentFull",ProductGrid:"productGrid",TimelineTrack:"capped",DetailRows:"capped",FitmentTable:"capped",TyreSizes:"capped",TyreFitment:"capped",EuTyreLabel:"capped",BundleOffer:"capped",CompatibleTyres:"capped",RelatedProducts:"capped",ProcessSteps:"capped",StatsParagraph:"capped",Masthead:"capped",FeaturedCover:"capped",LongRead:"capped",Series:"capped",ContactLocations:"capped",FitmentFinder:"capped",SpecTable:"capped",Subscribe:"capped",SubscribeBlogs:"capped",ContactRouting:"capped",SubmitBuild:"capped"},x=["Ticker","CategoryBar","DocTabs","Header","Footer"];function C(t){return Object.prototype.hasOwnProperty.call(p,t)}const e={background:"sectionBackgroundWidth",content:"sectionContentWidth",contentMax:"sectionContentMax"};function g(t){const n=r(t[e.contentMax]),c=o(t[e.content])??(n===null?null:"content");return{background:o(t[e.background]),content:c,contentMax:c==="content"?n:null}}function T(t){const n=g(t);return n.content===null&&t.fullWidth===!0?{...n,content:"full"}:n}function S(t){return t.background!==null||t.content!==null}const W=t=>({[e.background]:t}),M=t=>t==="full"?{[e.content]:t,[e.contentMax]:void 0}:{[e.content]:t},F=t=>({[e.content]:"content",[e.contentMax]:t}),I=t=>t==="background"?{[e.background]:void 0}:{[e.content]:void 0,[e.contentMax]:void 0},a="siteWidths",b=t=>t==="full"||t==="content";function o(t){return b(t)?t:null}function H(t,n){return{[a]:{background:o(t),content:o(n)}}}function O(t){const c=t.editor?.metadata?.[a];return{background:o(c?.background),content:o(c?.content)}}export{x as NO_WIDTH_ROWS,k as SECTION_WIDTH_CHOICES,p as SECTION_WIDTH_FAMILY,e as SECTION_WIDTH_KEYS,a as SITE_WIDTHS_KEY,f as WIDTH_CHOICE_LABEL,i as WIDTH_INHERIT,d as WIDTH_MODES,T as chromeOwnWidth,S as hasOwnSectionWidth,C as hasWidthFamily,s as isInheritValue,o as normalizeSiteBackground,g as ownSectionWidth,l as resolveWidth,W as sectionBackgroundPatch,F as sectionContentMaxPatch,M as sectionContentPatch,m as sectionRunsFullWidth,I as sectionWidthResetPatch,H as siteWidthsMetadata,O as siteWidthsOf};
@@ -1,3 +1,4 @@
1
+ import { type OwnSectionWidth } from "./section-width.js";
1
2
  export declare function isFrameContainer(type: unknown): boolean;
2
3
  export declare const BOX_GUTTER_KEY = "contentWidth";
3
4
  export declare const BOX_GUTTER_OFF = "full";
@@ -14,5 +15,6 @@ export declare function boxRunsEdgeToEdge(props: {
14
15
  scrollDirection?: unknown;
15
16
  bgImage?: unknown;
16
17
  }): boolean;
18
+ export declare function ownNodeWidth(type: unknown, props: Readonly<Record<string, unknown>>): OwnSectionWidth;
17
19
  export declare function siteDrawsGutter(siteContent: unknown): boolean;
18
20
  export declare function boxPlaceOf(content: unknown, id: unknown, site: boolean): BoxPlace | undefined;
@@ -1 +1 @@
1
- import{isNodeList as l}from"efficient-easel/data";import{isVerticalLoop as g}from"../animation/loop.js";import{isBackgroundBox as p}from"./box-background.js";const G=new Set(["Flex","Grid"]);function b(t){return typeof t=="string"&&G.has(t)}const m="contentWidth",B="full",O="content";function E(t){const n=t?.[m];return n===B?!1:n===O?!0:void 0}function F(t,n){return t&&!n}function T(t){return t.loop==="scroll"&&t.direction!=="tabs"&&!p(typeof t.bgImage=="string"?t.bgImage:null)&&!g(t.scrollDirection)}function w(t){return t!=="full"}function A(t,n,i){if(!Array.isArray(t)||typeof n!="string")return;const u=(d,o)=>{for(const s of d){const e=s?.props??{};if(e.id===n)return o;const r=b(s?.type),x=r&&(o.inBox?E(e)??i:i),a={insideGutter:o.insideGutter||x||r&&T(e),inBox:o.inBox||r};for(const f of Object.values(e)){if(!l(f))continue;const c=u(f,a);if(c!==void 0)return c}}};return u(t,{insideGutter:!1,inBox:!1})}export{m as BOX_GUTTER_KEY,B as BOX_GUTTER_OFF,O as BOX_GUTTER_ON,E as boxGutterOf,A as boxPlaceOf,T as boxRunsEdgeToEdge,F as drawsSiteGutter,b as isFrameContainer,w as siteDrawsGutter};
1
+ import{isNodeList as w}from"efficient-easel/data";import{isVerticalLoop as B}from"../animation/loop.js";import{isBackgroundBox as O}from"./box-background.js";import{ownSectionWidth as d}from"./section-width.js";const E=new Set(["Flex","Grid"]);function a(t){return typeof t=="string"&&E.has(t)}const T="contentWidth",_="full",y="content";function R(t){const n=t?.[T];return n===_?!1:n===y?!0:void 0}function v(t,n){return t&&!n}function l(t){return t.loop==="scroll"&&t.direction!=="tabs"&&t.direction!=="accordion"&&!O(typeof t.bgImage=="string"?t.bgImage:null)&&!B(t.scrollDirection)}function h(t,n){return a(t)&&l(n)?d({}):d(n)}function I(t){return t!=="full"}function U(t,n,x){if(!Array.isArray(t)||typeof n!="string")return;const s=(m,e,g,G)=>{for(const r of m){const o=r?.props??{};if(o.id===n)return e;const i=a(r?.type),u=(G?h(r?.type,o).content:null)==="content"?!0:g,b=i&&(e.inBox?R(o)??u:u),p={insideGutter:e.insideGutter||b||i&&l(o),inBox:e.inBox||i};for(const c of Object.values(o)){if(!w(c))continue;const f=s(c,p,u,!1);if(f!==void 0)return f}}};return s(t,{insideGutter:!1,inBox:!1},x,!0)}export{T as BOX_GUTTER_KEY,_ as BOX_GUTTER_OFF,y as BOX_GUTTER_ON,R as boxGutterOf,U as boxPlaceOf,l as boxRunsEdgeToEdge,v as drawsSiteGutter,a as isFrameContainer,h as ownNodeWidth,I as siteDrawsGutter};
@@ -0,0 +1,7 @@
1
+ import { type AutoRule, type ViewValueKind } from "efficient-easel/screen/lib/content/view-tiers";
2
+ export declare function viewRules(): Record<ViewValueKind, AutoRule>;
3
+ export interface ViewOverrides<T> {
4
+ tablet?: T;
5
+ phone?: T;
6
+ }
7
+ export declare function viewOverrides<T>(kind: ViewValueKind, desktop: T, tablet: T | null | undefined, phone: T | null | undefined, rules?: Record<ViewValueKind, AutoRule>): ViewOverrides<T>;
@@ -0,0 +1 @@
1
+ import{AUTO_RULES as c,FOLLOW_RULES as p,isAuto as E,resolveViewValue as L}from"efficient-easel/screen/lib/content/view-tiers";import{RESPONSIVE_RULES as O}from"./view-lines.js";function R(){return O==="v2"?c:p}function v(f,n,r,i,s=R()){const e=L(f,n,r,i,s),o={},u=(l,t)=>!E(l)||t!=null&&t!==n;return u(r,e.tablet)&&(o.tablet=e.tablet),u(i,e.phone)&&(o.phone=e.phone),o}export{v as viewOverrides,R as viewRules};
@@ -0,0 +1,11 @@
1
+ import type { CSSProperties } from "react";
2
+ export type ViewVarNames = {
3
+ readonly tabletClass: string;
4
+ readonly tabletVar: string;
5
+ readonly phoneClass: string;
6
+ readonly phoneVar: string;
7
+ };
8
+ export declare function viewVarSplit(names: ViewVarNames, desktop: string | null, tablet: string | null, phone: string | null): {
9
+ className: string;
10
+ style: CSSProperties;
11
+ };
@@ -0,0 +1 @@
1
+ function c(n,r,l,t){const e=t??(l??r),o=l!==null&&l!==r,s=e!==null&&e!==r;return{className:[o?n.tabletClass:"",s?n.phoneClass:""].filter(Boolean).join(" "),style:{...o?{[n.tabletVar]:l}:{},...s?{[n.phoneVar]:e}:{}}}}export{c as viewVarSplit};
@@ -0,0 +1,4 @@
1
+ type Props = Record<string, unknown>;
2
+ export declare const CARD_LIST_ITEM_FIELD = "label";
3
+ export declare function withCardListTemplate(props: Props): Props;
4
+ export {};
@@ -0,0 +1 @@
1
+ import{BOX_TYPE as o,CONTAINER_BLOCKS_SLOT as r}from"../../../container-blocks.js";import{CARDS_BODY_LOOK as n,rowFieldTextSeed as _}from"../Cards/card-seed.js";import{INNER_BOX as d,TEXT as p,seedNodes as T}from"../../../seed-parts.js";import{nonEmptyString as l}from"../../../../non-empty-string.js";const s="label";function C(t){if(t.template!==void 0)return t;const e=l(t.id)??"CardList",m={type:o,props:{...d,name:"Item"},slots:{[r]:[_(s,{...p,tag:"p"},n)]}};return{...t,template:T([m],(O,i)=>i==="0"?`${e}~item`:`${e}~item.${i.slice(2)}`)}}export{s as CARD_LIST_ITEM_FIELD,C as withCardListTemplate};
@@ -0,0 +1,8 @@
1
+ import type { BlockMeta } from "../../block-types.js";
2
+ export declare const CardListSlots: {
3
+ template: {
4
+ type: "slot";
5
+ allow: string[];
6
+ };
7
+ };
8
+ export declare const CardListMeta: BlockMeta;
@@ -0,0 +1 @@
1
+ import{cardTemplateSlot as t}from"../../../../content/card-template.js";const e={template:t()},r={label:"Card list",inline:!0,fields:e,defaultProps:{rowField:""}};export{r as CardListMeta,e as CardListSlots};
@@ -1,5 +1,9 @@
1
1
  import type { BlockMeta } from "../../block-types.js";
2
2
  export declare const FlexSlots: {
3
+ rowTitle: {
4
+ type: "slot";
5
+ allow: string[];
6
+ };
3
7
  content: {
4
8
  type: "slot";
5
9
  };
@@ -1 +1 @@
1
- import{phoneKey as t}from"efficient-easel/screen/lib/content/view-tiers";const o={content:{type:"slot"}},r={label:"Box",fields:o,phoneOrder:{prop:t("order"),slot:"content"},defaultProps:{direction:"row",justify:"start",align:"stretch",wrap:!0,content:[],share:"equal",blockSpacing:"gap",padV2:!0,sectionPaddingTop:24,sectionPaddingBottom:24}};export{r as FlexMeta,o as FlexSlots};
1
+ import{phoneKey as t}from"efficient-easel/screen/lib/content/view-tiers";const o={rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},r={label:"Box",fields:o,phoneOrder:{prop:t("order"),slot:"content"},defaultProps:{direction:"row",justify:"start",align:"stretch",wrap:!0,content:[],share:"equal",blockSpacing:"gap",padV2:!0,sectionPaddingTop:24,sectionPaddingBottom:24}};export{r as FlexMeta,o as FlexSlots};
@@ -39,6 +39,7 @@ export declare const GENERAL_METAS: {
39
39
  Masthead: BlockMeta;
40
40
  Mockup: BlockMeta;
41
41
  OrderSummary: BlockMeta;
42
+ CardList: BlockMeta;
42
43
  ParagraphsA: BlockMeta;
43
44
  PaymentBadges: BlockMeta;
44
45
  PostCard: BlockMeta;
@@ -1 +1 @@
1
- import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as n}from"./ContactLocations/meta.js";import{CountdownMeta as s}from"./Countdown/meta.js";import{CustomHTMLMeta as c}from"./CustomHTML/meta.js";import{DividerMeta as d}from"./Divider/meta.js";import{ContentsMeta as S}from"./Contents/meta.js";import{DocBodyMeta as l}from"./DocBody/meta.js";import{DocMastheadMeta as u}from"./DocMasthead/meta.js";import{DocMetaCardsMeta as T}from"./DocMetaCards/meta.js";import{DocTabsMeta as g}from"./DocTabs/meta.js";import{EyebrowMeta as B}from"./Eyebrow/meta.js";import{FAQMeta as C}from"./FAQ/meta.js";import{FeaturedCoverMeta as H}from"./FeaturedCover/meta.js";import{FlexMeta as P}from"./Flex/meta.js";import{FootprintMeta as L}from"./Footprint/meta.js";import{GridMeta as y}from"./Grid/meta.js";import{HeadingMeta as h}from"./Heading/meta.js";import{HeroGroupMeta as k}from"./HeroGroup/meta.js";import{HeroMeta as E}from"./Hero/meta.js";import{HeroSingleMeta as A}from"./HeroSingle/meta.js";import{HeroSlideMeta as D}from"./HeroSlide/meta.js";import{ImageBlockMeta as F}from"./ImageBlock/meta.js";import{IntegrationsMeta as R}from"./Integrations/meta.js";import{IntroBleedMeta as I}from"./IntroBleed/meta.js";import{KeyFeaturesMeta as x}from"./KeyFeatures/meta.js";import{LocationMapMeta as G}from"./LocationMap/meta.js";import{LogoBlockMeta as b}from"./LogoBlock/meta.js";import{LogosMeta as _}from"./Logos/meta.js";import{LongReadMeta as v}from"./LongRead/meta.js";import{ManifestoMeta as w}from"./Manifesto/meta.js";import{MastheadMeta as O}from"./Masthead/meta.js";import{MockupMeta as N}from"./Mockup/meta.js";import{OrderSummaryMeta as K}from"./OrderSummary/meta.js";import{ParagraphsAMeta as Q}from"./ParagraphsA/meta.js";import{PaymentBadgesMeta as W}from"./PaymentBadges/meta.js";import{PostCardMeta as X}from"./PostCard/meta.js";import{ProcessStepsMeta as j}from"./ProcessSteps/meta.js";import{ProseMeta as q}from"./Prose/meta.js";import{SectionHeaderMeta as z}from"./SectionHeader/meta.js";import{SeriesMeta as J}from"./Series/meta.js";import{SpacerMeta as U}from"./Spacer/meta.js";import{SpecStripMeta as V}from"./SpecStrip/meta.js";import{SplitMeta as Y}from"./Split/meta.js";import{StatsMeta as Z}from"./Stats/meta.js";import{StatsParagraphMeta as $}from"./StatsParagraph/meta.js";import{TestimonialsMeta as oo}from"./Testimonials/meta.js";import{TextMeta as to}from"./Text/meta.js";import{TickerMeta as ro}from"./Ticker/meta.js";import{TimelineMeta as eo}from"./Timeline/meta.js";import{TimelineTrackMeta as ao}from"./TimelineTrack/meta.js";import{TitleWithButtonsMeta as mo}from"./TitleWithButtons/meta.js";import io from"./text-part-shapes.json";const po={Banner:a,Breadcrumb:m,ButtonBlock:i,Cards:p,CategoryBar:M,Chart:f,ContactLocations:n,CustomHTML:c,Divider:d,Contents:S,DocBody:l,DocMasthead:u,DocMetaCards:T,DocTabs:g,Eyebrow:B,FAQ:C,FeaturedCover:H,Flex:P,Footprint:L,Grid:y,Heading:h,Hero:E,HeroGroup:k,HeroSingle:A,HeroSlide:D,ImageBlock:F,Integrations:R,IntroBleed:I,Countdown:s,KeyFeatures:x,LocationMap:G,LogoBlock:b,Logos:_,LongRead:v,Manifesto:w,Masthead:O,Mockup:N,OrderSummary:K,ParagraphsA:Q,PaymentBadges:W,PostCard:X,ProcessSteps:j,Prose:q,SectionHeader:z,Series:J,Spacer:U,SpecStrip:V,Split:Y,Stats:Z,StatsParagraph:$,Testimonials:oo,Text:to,Ticker:ro,Timeline:eo,TimelineTrack:ao,TitleWithButtons:mo},Mo=io;function St(){const t={};for(const o of e){const r=Mo[o];t[o]={...po[o],...r?{textParts:r}:null}}return t}export{po as GENERAL_METAS,St as generalRenderMetas};
1
+ import{GENERAL_REGISTRATION_ORDER as e}from"../../general-order.js";import{BannerMeta as a}from"./Banner/meta.js";import{BreadcrumbMeta as m}from"./Breadcrumb/meta.js";import{ButtonBlockMeta as i}from"./ButtonBlock/meta.js";import{CardsMeta as p}from"./Cards/meta.js";import{CategoryBarMeta as M}from"./CategoryBar/meta.js";import{ChartMeta as f}from"./Chart/meta.js";import{ContactLocationsMeta as n}from"./ContactLocations/meta.js";import{CountdownMeta as s}from"./Countdown/meta.js";import{CustomHTMLMeta as c}from"./CustomHTML/meta.js";import{DividerMeta as d}from"./Divider/meta.js";import{ContentsMeta as S}from"./Contents/meta.js";import{DocBodyMeta as l}from"./DocBody/meta.js";import{DocMastheadMeta as u}from"./DocMasthead/meta.js";import{DocMetaCardsMeta as T}from"./DocMetaCards/meta.js";import{DocTabsMeta as g}from"./DocTabs/meta.js";import{EyebrowMeta as B}from"./Eyebrow/meta.js";import{FAQMeta as C}from"./FAQ/meta.js";import{FeaturedCoverMeta as H}from"./FeaturedCover/meta.js";import{FlexMeta as L}from"./Flex/meta.js";import{FootprintMeta as P}from"./Footprint/meta.js";import{GridMeta as y}from"./Grid/meta.js";import{HeadingMeta as h}from"./Heading/meta.js";import{HeroGroupMeta as k}from"./HeroGroup/meta.js";import{HeroMeta as E}from"./Hero/meta.js";import{HeroSingleMeta as A}from"./HeroSingle/meta.js";import{HeroSlideMeta as D}from"./HeroSlide/meta.js";import{ImageBlockMeta as F}from"./ImageBlock/meta.js";import{IntegrationsMeta as R}from"./Integrations/meta.js";import{IntroBleedMeta as I}from"./IntroBleed/meta.js";import{KeyFeaturesMeta as x}from"./KeyFeatures/meta.js";import{LocationMapMeta as G}from"./LocationMap/meta.js";import{LogoBlockMeta as b}from"./LogoBlock/meta.js";import{LogosMeta as _}from"./Logos/meta.js";import{LongReadMeta as v}from"./LongRead/meta.js";import{ManifestoMeta as w}from"./Manifesto/meta.js";import{MastheadMeta as O}from"./Masthead/meta.js";import{MockupMeta as N}from"./Mockup/meta.js";import{OrderSummaryMeta as K}from"./OrderSummary/meta.js";import{CardListMeta as Q}from"./CardList/meta.js";import{ParagraphsAMeta as W}from"./ParagraphsA/meta.js";import{PaymentBadgesMeta as X}from"./PaymentBadges/meta.js";import{PostCardMeta as j}from"./PostCard/meta.js";import{ProcessStepsMeta as q}from"./ProcessSteps/meta.js";import{ProseMeta as z}from"./Prose/meta.js";import{SectionHeaderMeta as J}from"./SectionHeader/meta.js";import{SeriesMeta as U}from"./Series/meta.js";import{SpacerMeta as V}from"./Spacer/meta.js";import{SpecStripMeta as Y}from"./SpecStrip/meta.js";import{SplitMeta as Z}from"./Split/meta.js";import{StatsMeta as $}from"./Stats/meta.js";import{StatsParagraphMeta as oo}from"./StatsParagraph/meta.js";import{TestimonialsMeta as to}from"./Testimonials/meta.js";import{TextMeta as ro}from"./Text/meta.js";import{TickerMeta as eo}from"./Ticker/meta.js";import{TimelineMeta as ao}from"./Timeline/meta.js";import{TimelineTrackMeta as mo}from"./TimelineTrack/meta.js";import{TitleWithButtonsMeta as io}from"./TitleWithButtons/meta.js";import po from"./text-part-shapes.json";const Mo={Banner:a,Breadcrumb:m,ButtonBlock:i,Cards:p,CategoryBar:M,Chart:f,ContactLocations:n,CustomHTML:c,Divider:d,Contents:S,DocBody:l,DocMasthead:u,DocMetaCards:T,DocTabs:g,Eyebrow:B,FAQ:C,FeaturedCover:H,Flex:L,Footprint:P,Grid:y,Heading:h,Hero:E,HeroGroup:k,HeroSingle:A,HeroSlide:D,ImageBlock:F,Integrations:R,IntroBleed:I,Countdown:s,KeyFeatures:x,LocationMap:G,LogoBlock:b,Logos:_,LongRead:v,Manifesto:w,Masthead:O,Mockup:N,OrderSummary:K,CardList:Q,ParagraphsA:W,PaymentBadges:X,PostCard:j,ProcessSteps:q,Prose:z,SectionHeader:J,Series:U,Spacer:V,SpecStrip:Y,Split:Z,Stats:$,StatsParagraph:oo,Testimonials:to,Text:ro,Ticker:eo,Timeline:ao,TimelineTrack:mo,TitleWithButtons:io},fo=po;function ut(){const t={};for(const o of e){const r=fo[o];t[o]={...Mo[o],...r?{textParts:r}:null}}return t}export{Mo as GENERAL_METAS,ut as generalRenderMetas};
@@ -1,3 +1,3 @@
1
1
  import type { Config } from "efficient-easel/blocks";
2
- export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML"];
2
+ export declare const GENERAL_REGISTRATION_ORDER: readonly ["Heading", "Text", "Eyebrow", "ImageBlock", "LogoBlock", "ButtonBlock", "Spacer", "Divider", "Grid", "Flex", "Breadcrumb", "Masthead", "CategoryBar", "FeaturedCover", "LongRead", "Series", "Banner", "ParagraphsA", "StatsParagraph", "Timeline", "Footprint", "TimelineTrack", "TitleWithButtons", "Stats", "Integrations", "Mockup", "Chart", "KeyFeatures", "Testimonials", "Prose", "Cards", "Logos", "Ticker", "Countdown", "ContactLocations", "LocationMap", "HeroSingle", "Hero", "HeroSlide", "HeroGroup", "PostCard", "DocMetaCards", "DocTabs", "DocMasthead", "DocBody", "Contents", "FAQ", "SpecStrip", "Manifesto", "SectionHeader", "IntroBleed", "Split", "ProcessSteps", "OrderSummary", "PaymentBadges", "CustomHTML", "CardList"];
3
3
  export declare function generalCategories(): Config["categories"];
@@ -1 +1 @@
1
- import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
1
+ import{blockSetOf as n,buildBlockCategories as s}from"./section-catalog.js";const c=["Heading","Text","Eyebrow","ImageBlock","LogoBlock","ButtonBlock","Spacer","Divider","Grid","Flex","Breadcrumb","Masthead","CategoryBar","FeaturedCover","LongRead","Series","Banner","ParagraphsA","StatsParagraph","Timeline","Footprint","TimelineTrack","TitleWithButtons","Stats","Integrations","Mockup","Chart","KeyFeatures","Testimonials","Prose","Cards","Logos","Ticker","Countdown","ContactLocations","LocationMap","HeroSingle","Hero","HeroSlide","HeroGroup","PostCard","DocMetaCards","DocTabs","DocMasthead","DocBody","Contents","FAQ","SpecStrip","Manifesto","SectionHeader","IntroBleed","Split","ProcessSteps","OrderSummary","PaymentBadges","CustomHTML","CardList"];function d(){const e={};for(const[o,t]of Object.entries(s())){const r=t.components.filter(a=>n(a)==="general");(r.length>0||o==="structure")&&(e[o]={...t,components:r})}return e}export{c as GENERAL_REGISTRATION_ORDER,d as generalCategories};
@@ -41,6 +41,9 @@ export type PassInspector = {
41
41
  cellWidthFields: () => FieldMap;
42
42
  widthField: (defaultMode: "full" | "page") => FieldMap;
43
43
  boxGutterFields: () => FieldMap;
44
+ sectionOwnWidthFields: (options?: {
45
+ drawsFullOnItsOwn?: boolean;
46
+ }) => FieldMap;
44
47
  heightFields: () => FieldMap;
45
48
  anchorFields: () => FieldMap;
46
49
  stickFields: () => FieldMap;
@@ -32,4 +32,4 @@ WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value
32
32
 
33
33
  WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
34
34
 
35
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const b=a("general"),T=a("commerce"),E=a("service"),c="Flex",s="Box",S=`${s}es`;function d(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===c?d(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,E as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
35
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`,SubscribeBlogs:"card 66396 — folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},u=["Grid","Spacer"],m=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(i)])),y=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),l={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ButtonBlock:"general",CardList:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ArticleBody:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},r={...l,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function g(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0}function a(e){return Object.keys(r).filter(t=>r[t]===e).sort()}const b=a("general"),T=a("commerce"),E=a("service"),c="Flex",s="Box",S=`${s}es`;function d(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===c?d(t):n}export{m as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,b as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,u as RETIRED_NESTABLE_SECTIONS,i as RETIRED_SECTIONS,o as SECTION_CATALOG,y as SECTION_LABELS,E as SERVICE_BLOCKS,l as UNLISTED_BLOCK_SETS,g as blockSetOf,a as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
@@ -80,6 +80,7 @@ export declare const WEB_BUILDER_WORDS: {
80
80
  readonly "A world map of your locations with a legend \u2014 designed here, sold worldwide.": "A world map of your locations with a legend — designed here, sold worldwide.";
81
81
  readonly "A write-a-review form \u2014 submissions wait for your approval before they show.": "A write-a-review form — submissions wait for your approval before they show.";
82
82
  readonly "About & brand story": "About & brand story";
83
+ readonly Accordion: "Accordion";
83
84
  readonly Account: "Account";
84
85
  readonly "Active tab": "Active tab";
85
86
  readonly Add: "Add";
@@ -234,6 +235,7 @@ export declare const WEB_BUILDER_WORDS: {
234
235
  readonly "Card image": "Card image";
235
236
  readonly "Card layout": "Card layout";
236
237
  readonly "Card link": "Card link";
238
+ readonly "Card list": "Card list";
237
239
  readonly "Card number": "Card number";
238
240
  readonly "Card outline": "Card outline";
239
241
  readonly "Card shadow": "Card shadow";
@@ -303,6 +305,7 @@ export declare const WEB_BUILDER_WORDS: {
303
305
  readonly "Contact, FAQ & forms": "Contact, FAQ & forms";
304
306
  readonly Contain: "Contain";
305
307
  readonly Content: "Content";
308
+ readonly "Content cannot be wider than the background.": "Content cannot be wider than the background.";
306
309
  readonly "Content position": "Content position";
307
310
  readonly "Content width": "Content width";
308
311
  readonly Contents: "Contents";
@@ -783,6 +786,7 @@ export declare const WEB_BUILDER_WORDS: {
783
786
  readonly Offices: "Offices";
784
787
  readonly "Offset tall": "Offset tall";
785
788
  readonly "On 1 page": "On 1 page";
789
+ readonly "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.": "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.";
786
790
  readonly "On a phone": "On a phone";
787
791
  readonly "On every blog post.": "On every blog post.";
788
792
  readonly "On every page": "On every page";
@@ -856,9 +860,11 @@ export declare const WEB_BUILDER_WORDS: {
856
860
  readonly Popup: "Popup";
857
861
  readonly "Portal card": "Portal card";
858
862
  readonly "Portal card (stock + button + orders)": "Portal card (stock + button + orders)";
863
+ readonly "Portrait 4:5": "Portrait 4:5";
859
864
  readonly Position: "Position";
860
865
  readonly Positions: "Positions";
861
866
  readonly "Post Card": "Post Card";
867
+ readonly "Poster 2:3": "Poster 2:3";
862
868
  readonly Prefix: "Prefix";
863
869
  readonly Preview: "Preview";
864
870
  readonly "Preview hover state": "Preview hover state";
@@ -893,6 +899,7 @@ export declare const WEB_BUILDER_WORDS: {
893
899
  readonly Quote: "Quote";
894
900
  readonly Quotes: "Quotes";
895
901
  readonly Rating: "Rating";
902
+ readonly Ratio: "Ratio";
896
903
  readonly "Read out in place of the picture, and shown if it can\u2019t load.": "Read out in place of the picture, and shown if it can’t load.";
897
904
  readonly "Read the story": "Read the story";
898
905
  readonly "Read time": "Read time";
@@ -1051,7 +1058,9 @@ export declare const WEB_BUILDER_WORDS: {
1051
1058
  readonly "Square 1:1": "Square 1:1";
1052
1059
  readonly Squares: "Squares";
1053
1060
  readonly Stacked: "Stacked";
1061
+ readonly "Stacks below": "Stacks below";
1054
1062
  readonly Standard: "Standard";
1063
+ readonly "Starts open": "Starts open";
1055
1064
  readonly Stat: "Stat";
1056
1065
  readonly "Stat & note": "Stat & note";
1057
1066
  readonly "Stat label": "Stat label";
@@ -1072,6 +1081,7 @@ export declare const WEB_BUILDER_WORDS: {
1072
1081
  readonly "Still to come: a hollow dot, and the gold line stops before it.": "Still to come: a hollow dot, and the gold line stops before it.";
1073
1082
  readonly "Storefront \u2192 Blog": "Storefront → Blog";
1074
1083
  readonly "Storefront \u25B8 Sites \u25B8 Settings": "Storefront ▸ Sites ▸ Settings";
1084
+ readonly "Story 9:16": "Story 9:16";
1075
1085
  readonly "Story Timeline": "Story Timeline";
1076
1086
  readonly "Street address": "Street address";
1077
1087
  readonly "Strip fill": "Strip fill";
@@ -1225,6 +1235,7 @@ export declare const WEB_BUILDER_WORDS: {
1225
1235
  readonly "Tyre Sizes": "Tyre Sizes";
1226
1236
  readonly "URL pill": "URL pill";
1227
1237
  readonly "URL: /{slug}": "URL: /{slug}";
1238
+ readonly "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.": "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.";
1228
1239
  readonly Undo: "Undo";
1229
1240
  readonly "Undo did not work. Nothing changed. Try again.": "Undo did not work. Nothing changed. Try again.";
1230
1241
  readonly Ungrouped: "Ungrouped";
@@ -1340,6 +1351,7 @@ export declare const WEB_BUILDER_WORDS: {
1340
1351
  readonly "the theme's section background": "the theme's section background";
1341
1352
  readonly "this container's own spacing": "this container's own spacing";
1342
1353
  readonly upper: "upper";
1354
+ readonly vh: "vh";
1343
1355
  readonly "{day}, {time}": "{day}, {time}";
1344
1356
  readonly "{grade} on the button": "{grade} on the button";
1345
1357
  readonly "{label} hex code": "{label} hex code";