efficient-web-builder 48.1.0 → 48.2.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 (30) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  3. package/dist/editor/lib/sections/city-presets.d.ts +1 -1
  4. package/dist/editor/lib/sections/city-presets.js +1 -1
  5. package/dist/editor/lib/sections/text-layouts.d.ts +1 -1
  6. package/dist/editor/lib/sections/text-layouts.js +1 -1
  7. package/dist/format/lib/content/box-separator.js +1 -1
  8. package/dist/format/lib/content/box-shape.d.ts +1 -1
  9. package/dist/format/lib/content/box-shape.js +1 -1
  10. package/dist/format/lib/document/container-blocks.js +1 -1
  11. package/dist/format/lib/document/section-catalog.js +2 -2
  12. package/dist/format/lib/editor-words-catalogue.d.ts +1 -0
  13. package/dist/format/lib/editor-words-catalogue.js +1 -1
  14. package/dist/render/components/Flex.d.ts +2 -1
  15. package/dist/render/components/Flex.js +1 -1
  16. package/dist/render/components/InBoxContext.d.ts +2 -0
  17. package/dist/render/components/InBoxContext.js +1 -1
  18. package/dist/render/components/SiteGutterFrame.d.ts +3 -1
  19. package/dist/render/components/SiteGutterFrame.js +1 -1
  20. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  21. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +10 -1
  22. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  23. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.d.ts +2 -0
  24. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -0
  25. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.d.ts +8 -2
  26. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  27. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  28. package/dist/render/lib/sections/section-to-box.d.ts +3 -1
  29. package/dist/render/lib/sections/section-to-box.js +1 -1
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 48.2.0 - 2026-11-04
4
+
5
+ From main at `1ac8ab56`: #467, #468, #470, #472. A minor: exports are added, no export is removed, four signatures take an optional argument or a new value, peers are unchanged (`efficient-easel` `^27.0.0`, `efficient-shell` `^11.8.0`). The converter rows stay OFF (`SECTION_TO_BOX_ON` is empty) and the new Add-menu list is empty (`SECTION_TO_BOX_PRESS`), so no stored page converts and the Add menu does not change.
6
+
7
+ **For hosts:** SpecTable, FitmentTable and FitmentFinder no longer get a head-only row from this package (#470). A host that wants them convertible registers its own row with `headOnlyRow(type, ext)` (`HOST_ROW_HEAD_TYPES` names them); until then they have no converter row.
8
+
9
+ ### Added
10
+
11
+ - Scroll-Over Text (`IntroBleed`), Brand Text (`Manifesto`) and Image & Text Split (`Split`) get converter rows, switched off (#467, `EDITORIAL_SECTION_TO_BOX`). The Box shape offers Landscape (4:3) from the shared ratio table (`BOX_SHAPES` gains `landscape`); a section's root Box draws its picture across the section (`useSectionRoot`, `pictureCell`, `lineSides`, `NO_PAD`, `siteGutterOf`).
12
+ - The Add menu has its own list of types that press as a Box (#468): `SECTION_TO_BOX_PRESS` and `pressesAsBox(type, press?)`. `layoutPresetFor(type, press?)` and `cityPalettePresets(press?)` read it, not the render switch.
13
+ - A host gives the whole converter row for 3 head-only types (#470): `HOST_ROW_HEAD_TYPES`; `headOnlyRow(type, ext?)` takes a `HeadOnlyRowExtension` (`slots`, `partsAfter`, `drop`).
14
+ - A Box hands its own id to the blocks it holds (#472): `useBoxId()` reads the nearest Box's id; `Flex` takes `boxId`. No markup change.
15
+
16
+ ## 48.1.1 - 2026-11-04
17
+
18
+ A patch from main: #465 only. No export is added or removed; peers are unchanged (`efficient-easel` `^27.0.0`, `efficient-shell` `^11.8.0`). No drawing changes; no stored page changes.
19
+
20
+ **For hosts:** efficient-storefront-blocks takes this in #336; it clears the five guard failures that #336 met on 48.1.0 (all from the Contents block).
21
+
22
+ ### Fixed
23
+
24
+ - The Contents block is in every general block list (#465). The catalogue rules it `general` (`UNLISTED_BLOCK_SETS`), so `GENERAL_BLOCKS` holds it and a host that narrows its editor by `sets` offers it. It moves to the end of `WORD_AND_PICTURE_PRIMITIVES`, the one list both Box menus spread, so a Slide box offers it too. New guard `scripts/test-box-menus-agree.ts`; `scripts/test-unlisted-block-sets.ts` §3 rules every general block `general`.
25
+
3
26
  ## 48.1.0 - 2026-11-03
4
27
 
5
28
  From main at `88c0e0a8`: #459, #460, #461, #462, and #463 (CI only). A minor: exports are added, no export is removed, peers are unchanged (`efficient-easel` `^27.0.0`, `efficient-shell` `^11.8.0`). The converter rows stay OFF (`SECTION_TO_BOX_ON` is empty), so no stored page converts.
@@ -1,2 +1,2 @@
1
- export declare const assembleGeneralBlocks: () => Record<"Grid" | "HeroGroup" | "HeroSlide" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Footprint" | "Prose" | "ParagraphsA" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Flex" | "Divider" | "CustomHTML" | "Manifesto" | "Split" | "Ticker" | "SpecStrip" | "TimelineTrack" | "Timeline" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "LogoBlock" | "LocationMap" | "ButtonBlock" | "PostCard" | "Integrations" | "Contents", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
2
- export declare const generalBlocks: Record<"Grid" | "HeroGroup" | "HeroSlide" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Footprint" | "Prose" | "ParagraphsA" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Flex" | "Divider" | "CustomHTML" | "Manifesto" | "Split" | "Ticker" | "SpecStrip" | "TimelineTrack" | "Timeline" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "LogoBlock" | "LocationMap" | "ButtonBlock" | "PostCard" | "Integrations" | "Contents", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
1
+ export declare const assembleGeneralBlocks: () => Record<"Grid" | "HeroGroup" | "HeroSlide" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Footprint" | "Prose" | "ParagraphsA" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Flex" | "Divider" | "CustomHTML" | "Manifesto" | "Split" | "Ticker" | "SpecStrip" | "TimelineTrack" | "Timeline" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "LogoBlock" | "LocationMap" | "Contents" | "ButtonBlock" | "PostCard" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
2
+ export declare const generalBlocks: Record<"Grid" | "HeroGroup" | "HeroSlide" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Footprint" | "Prose" | "ParagraphsA" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Logos" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "Flex" | "Divider" | "CustomHTML" | "Manifesto" | "Split" | "Ticker" | "SpecStrip" | "TimelineTrack" | "Timeline" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "LogoBlock" | "LocationMap" | "Contents" | "ButtonBlock" | "PostCard" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
@@ -1,4 +1,4 @@
1
1
  import type { PalettePreset } from "efficient-easel/screen/lib/document/palette-sections";
2
2
  export declare const CITY_PICTURES = "CityPictures";
3
3
  export declare const CITY_MAPS = "CityMaps";
4
- export declare function cityPalettePresets(on?: readonly string[]): PalettePreset[];
4
+ export declare function cityPalettePresets(press?: readonly string[]): PalettePreset[];
@@ -1 +1 @@
1
- import{SECTION_CATALOG as p}from"../../../format/lib/document/section-catalog.js";import{SECTION_TO_BOX_ON as d,sectionToBoxRow as l}from"../../../render/lib/sections/section-to-box.js";import{conversionPreset as y}from"./text-layouts.js";const o="ContactLocations",u="CityPictures",C="CityMaps",f=[{key:u,label:"City pictures",desc:"A wall of city photos, grouped by region. Each photo links to its city's card."},{key:C,label:"City maps",desc:"A card per city, grouped by region: address, phone, hours and a map."}];function h(i=d){const s=p.find(t=>t.sections.some(e=>e.type===o))?.key;return!i.includes(o)||!s?[]:f.map(({key:t,label:e,desc:c},a)=>({key:t,label:e,cat:s,after:o,desc:c,alias:"locations offices stores branches",insert:r=>{const n=l(o);return n?y(o,n,a)(r.nodeDefaults,r.newNodeId):null}}))}export{C as CITY_MAPS,u as CITY_PICTURES,h as cityPalettePresets};
1
+ import{SECTION_CATALOG as p}from"../../../format/lib/document/section-catalog.js";import{SECTION_TO_BOX_PRESS as d,sectionToBoxRow as l}from"../../../render/lib/sections/section-to-box.js";import{conversionPreset as y}from"./text-layouts.js";const o="ContactLocations",u="CityPictures",C="CityMaps",f=[{key:u,label:"City pictures",desc:"A wall of city photos, grouped by region. Each photo links to its city's card."},{key:C,label:"City maps",desc:"A card per city, grouped by region: address, phone, hours and a map."}];function O(i=d){const s=p.find(t=>t.sections.some(e=>e.type===o))?.key;return!i.includes(o)||!s?[]:f.map(({key:t,label:e,desc:c},a)=>({key:t,label:e,cat:s,after:o,desc:c,alias:"locations offices stores branches",insert:r=>{const n=l(o);return n?y(o,n,a)(r.nodeDefaults,r.newNodeId):null}}))}export{C as CITY_MAPS,u as CITY_PICTURES,O as cityPalettePresets};
@@ -2,5 +2,5 @@ import { type SectionToBoxRow } from "../../../render/lib/sections/section-to-bo
2
2
  import { type SectionPreset } from "../../../format/lib/sections/section-presets.js";
3
3
  export declare const TEXT_LAYOUTS: readonly string[];
4
4
  export declare function conversionPreset(type: string, row: SectionToBoxRow, piece?: number): SectionPreset;
5
- export declare function layoutPresetFor(type: string): SectionPreset | null;
5
+ export declare function layoutPresetFor(type: string, press?: readonly string[]): SectionPreset | null;
6
6
  export declare function layoutTypes(): string[];
@@ -1 +1 @@
1
- import{convertSection as p,convertsToBox as i,sectionToBoxRow as T}from"../../../render/lib/sections/section-to-box.js";import{SECTION_PRESETS as m,presetFor as O}from"../../../format/lib/sections/section-presets.js";import{GENERAL_SECTION_TO_BOX as x}from"../../../render/lib/document/blocks/general/section-to-box-rows.js";import{isNodeList as E}from"efficient-easel/data";const c=Object.keys(x);function u(o,t,s){const r={};for(const e of Object.keys(t(o.type)))r[e]=void 0;for(const[e,n]of Object.entries(o.props))r[e]=E(n)?n.map(f=>u(f,t,s)):n;return r.id=s(o.type),{type:o.type,props:r}}function l(o,t,s=0){return(r,e)=>{const{nodes:n}=p({type:o,props:{...r(o),id:e(o)}},t);return u(n[s],r,e)}}function y(o){return c.includes(o)}function S(o){if(!y(o)||!i(o))return null;const t=T(o);return t?l(o,t):null}function j(o){return O(o)??S(o)}function v(){return[...Object.keys(m),...c.filter(o=>i(o))]}export{c as TEXT_LAYOUTS,l as conversionPreset,j as layoutPresetFor,v as layoutTypes};
1
+ import{convertSection as u,pressesAsBox as i,SECTION_TO_BOX_PRESS as f,sectionToBoxRow as O}from"../../../render/lib/sections/section-to-box.js";import{SECTION_PRESETS as T,presetFor as m}from"../../../format/lib/sections/section-presets.js";import{GENERAL_SECTION_TO_BOX as E}from"../../../render/lib/document/blocks/general/section-to-box-rows.js";import{isNodeList as S}from"efficient-easel/data";const _=Object.keys(E);function c(r,o,t){const e={};for(const n of Object.keys(o(r.type)))e[n]=void 0;for(const[n,s]of Object.entries(r.props))e[n]=S(s)?s.map(p=>c(p,o,t)):s;return e.id=t(r.type),{type:r.type,props:e}}function x(r,o,t=0){return(e,n)=>{const{nodes:s}=u({type:r,props:{...e(r),id:n(r)}},o);return c(s[t],e,n)}}function k(r,o){if(!i(r,o))return null;const t=O(r);return t?x(r,t):null}function b(r,o=f){return m(r)??k(r,o)}function j(){return[...Object.keys(T),..._.filter(r=>i(r))]}export{_ as TEXT_LAYOUTS,x as conversionPreset,b as layoutPresetFor,j as layoutTypes};
@@ -1 +1 @@
1
- import{parseTickerSeparator as r,SEPARATOR_GLYPH as n,separatorScaleClass as c,TICKER_SEPARATOR_OPTIONS as f}from"../sections/ticker-style.js";const d=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function o(h){return f.some(t=>t.value===h)?r(h):void 0}const a="overflow-hidden [&>*]:shrink-0 [&>*]:max-[800px]:basis-[content] [&>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>*_:is(.sf-button-block>div)]:font-mono [&>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-[800px]:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)]";function s(h,t){return h==="row"&&o(t)!==void 0}function v(h,t){return s(h,t)?a:""}const p="[&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:inline-flex [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:items-center [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:align-top [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:h-[calc(1lh/var(--sf-sep-k,1))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:ml-[var(--sf-gap-len,0px)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-[800px]:after:ml-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-accent [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-[var(--sf-sep-mark)]";function u(h,t){return s(h,t)?p:""}function k(h,t){if(!s(h,t))return{};const i=o(t),e=/^text-\[([\d.]+)em\]$/.exec(c("small",i))?.[1],l=n[i];return{"--sf-sep-mark":l===""?"none":JSON.stringify(l),...e?{"--sf-sep-k":e}:{}}}export{d as BOX_SEPARATOR_POINTS,v as boxSeparatorClasses,o as boxSeparatorOf,u as boxSeparatorSeamClass,k as boxSeparatorStyle,s as isStripBox};
1
+ import{parseTickerSeparator as r,SEPARATOR_GLYPH as c,separatorScaleClass as f,TICKER_SEPARATOR_OPTIONS as n}from"../sections/ticker-style.js";const d=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function o(h){return n.some(t=>t.value===h)?r(h):void 0}const a="overflow-x-clip [&>*]:shrink-0 [&>*]:max-[800px]:basis-[content] [&>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>*_:is(.sf-button-block>div)]:font-mono [&>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-[800px]:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)]";function s(h,t){return h==="row"&&o(t)!==void 0}function v(h,t){return s(h,t)?a:""}const p="[&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:inline-flex [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:items-center [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:align-top [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:h-[calc(1lh/var(--sf-sep-k,1))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:ml-[var(--sf-gap-len,0px)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-[800px]:after:ml-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-accent [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-[var(--sf-sep-mark)]";function u(h,t){return s(h,t)?p:""}function x(h,t){if(!s(h,t))return{};const i=o(t),e=/^text-\[([\d.]+)em\]$/.exec(f("small",i))?.[1],l=c[i];return{"--sf-sep-mark":l===""?"none":JSON.stringify(l),...e?{"--sf-sep-k":e}:{}}}export{d as BOX_SEPARATOR_POINTS,v as boxSeparatorClasses,o as boxSeparatorOf,u as boxSeparatorSeamClass,x as boxSeparatorStyle,s as isStripBox};
@@ -1,4 +1,4 @@
1
- export declare const BOX_SHAPES: readonly ["auto", "tall", "square", "wide"];
1
+ export declare const BOX_SHAPES: readonly ["auto", "tall", "square", "landscape", "wide"];
2
2
  export type BoxShape = (typeof BOX_SHAPES)[number];
3
3
  export declare const BOX_SHAPE_OPTIONS: readonly {
4
4
  label: string;
@@ -1 +1 @@
1
- import{galleryCardRatioClass as n}from"./gallery-card-layout.js";const u=["auto","tall","square","wide"],c=[{label:"Auto",value:"auto"},{label:"Tall (3:4)",value:"tall"},{label:"Square (1:1)",value:"square"},{label:"Wide (2:1)",value:"wide"}];function e(a){return u.includes(String(a??""))?a:"auto"}function r(a){const t=e(a);return t==="auto"?"":n(t)}const s={tall:"min-[800px]:aspect-[3/4]",square:"min-[800px]:aspect-square",wide:"min-[800px]:aspect-[2/1]"},x={auto:"max-[800px]:aspect-auto",tall:"max-[800px]:h-auto max-[800px]:aspect-[3/4]",square:"max-[800px]:h-auto max-[800px]:aspect-square",wide:"max-[800px]:h-auto max-[800px]:aspect-[2/1]"};function p(a,t){return u.includes(String(t??""))?t===e(a)?null:t:null}function m(a,t){const l=p(a,t);if(l===null)return r(a);const o=e(a);return[o==="auto"?"":s[o],x[l]].filter(Boolean).join(" ")}export{u as BOX_SHAPES,c as BOX_SHAPE_OPTIONS,r as boxShapeClass,m as boxShapeClasses,e as boxShapeOf,p as boxShapePhoneOf};
1
+ import{galleryCardRatioClass as o}from"./gallery-card-layout.js";const u=["auto","tall","square","landscape","wide"],i=[{label:"Auto",value:"auto"},{label:"Tall (3:4)",value:"tall"},{label:"Square (1:1)",value:"square"},{label:"Landscape (4:3)",value:"landscape"},{label:"Wide (2:1)",value:"wide"}];function t(a){return u.includes(String(a??""))?a:"auto"}function p(a){const e=t(a);return e==="auto"?"":o(e)}const s={tall:"min-[800px]:aspect-[3/4]",square:"min-[800px]:aspect-square",landscape:"min-[800px]:aspect-[4/3]",wide:"min-[800px]:aspect-[2/1]"},r={auto:"max-[800px]:aspect-auto",tall:"max-[800px]:h-auto max-[800px]:aspect-[3/4]",square:"max-[800px]:h-auto max-[800px]:aspect-square",landscape:"max-[800px]:h-auto max-[800px]:aspect-[4/3]",wide:"max-[800px]:h-auto max-[800px]:aspect-[2/1]"};function x(a,e){return u.includes(String(e??""))?e===t(a)?null:e:null}function m(a,e){const l=x(a,e);if(l===null)return p(a);const n=t(a);return[n==="auto"?"":s[n],r[l]].filter(Boolean).join(" ")}export{u as BOX_SHAPES,i as BOX_SHAPE_OPTIONS,p as boxShapeClass,m as boxShapeClasses,t as boxShapeOf,x as boxShapePhoneOf};
@@ -1 +1 @@
1
- import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",T="Flex",s="Text & media",y="Layout & structure",c=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"}],i=[...c,{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats"},{type:"MenuBlock",label:"Menu"},{type:"Contents",label:"Contents"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:s})),E=(p.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:y})),a=[...i,...E],l=[...c,{type:"HeroGroup",label:n}],B=l.map(e=>e.type),O=1,C=l.filter(e=>e.type!=="HeroGroup");function b(e){return e<O?l:C}const u={Flex:{slot:o,choices:()=>a},Grid:{slot:o,choices:()=>a},HeroGroup:{slot:o,choices:b}};function S(e,r=0){const t=u[e];return t?{slot:t.slot,choices:t.choices(r)}:null}export{T as BOX_TYPE,o as CONTAINER_BLOCKS_SLOT,a as CONTAINER_BLOCK_CHOICES,B as HERO_GROUP_BLOCK_TYPES,O as HERO_GROUP_NEST_DEPTH,S as containerBlocksFor};
1
+ import{BOX_LABEL as n,SECTION_CATALOG as p}from"./section-catalog.js";const o="content",T="Flex",s="Text & media",y="Layout & structure",c=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],i=[...c,{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats"},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:s})),E=(p.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:y})),a=[...i,...E],l=[...c,{type:"HeroGroup",label:n}],B=l.map(e=>e.type),O=1,C=l.filter(e=>e.type!=="HeroGroup");function b(e){return e<O?l:C}const u={Flex:{slot:o,choices:()=>a},Grid:{slot:o,choices:()=>a},HeroGroup:{slot:o,choices:b}};function S(e,r=0){const t=u[e];return t?{slot:t.slot,choices:t.choices(r)}:null}export{T as BOX_TYPE,o as CONTAINER_BLOCKS_SLOT,a as CONTAINER_BLOCK_CHOICES,B as HERO_GROUP_BLOCK_TYPES,O as HERO_GROUP_NEST_DEPTH,S as containerBlocksFor};
@@ -4,7 +4,7 @@ WHAT REPLACES IT: a Divider with Style set to None. It draws no line, only its s
4
4
 
5
5
  WHAT A MERCHANT LOSES on a NEW space: nothing the Spacer had. Four fixed sizes become any number on the 4px grid, top and bottom apart, and a phone value.
6
6
 
7
- NO CONVERTER ROW: 0 Spacer nodes on any page, draft or published, in any schema of the local production clone (read-only count, 2026-10-26), and none in the backend's seed files. It stays in \`scripts/fixtures/section-to-box.baseline.json\` with that reason.
7
+ NO CONVERTER ROW: 0 Spacer nodes on any page, draft or published, in any schema of the local production clone (read-only count, 2026-10-26), and none in the backend's seed files. This entry is its reason in the guard (\`scripts/test-section-to-box.tsx\` §5: a retired type is accounted for).
8
8
 
9
9
  THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Spacer anywhere still renders through it and can still be edited; no document is rewritten.`,KeyFeatures:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds Cards and Key Features; Key Features' diamond cells are the card style "Label only". Retired by card [MERGE] One Text Block And Click Through Parts (2026-10-22).
10
10
 
@@ -12,4 +12,4 @@ WHAT REPLACES IT: a Cards section with Card style set to Label only. It draws th
12
12
 
13
13
  WHAT A MERCHANT LOSES on a NEW Label only section: nothing this section had. It GAINS the Cards head split (its head can move into a box of its own), which Key Features never had: that head draws the shared \`simple\` head, eyebrow ABOVE the heading, where Key Features drew it beside.
14
14
 
15
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`,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."},m=["Grid","Spacer"],y=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(l)])),u=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),i={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"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",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...i,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function b(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0}function r(e){return Object.keys(a).filter(t=>a[t]===e).sort()}const g=r("general"),T=r("commerce"),E=r("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{y as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,g as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,m as RETIRED_NESTABLE_SECTIONS,l as RETIRED_SECTIONS,o as SECTION_CATALOG,u as SECTION_LABELS,E as SERVICE_BLOCKS,i as UNLISTED_BLOCK_SETS,b as blockSetOf,r as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
15
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`,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."},m=["Grid","Spacer"],y=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(l)])),u=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),i={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",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"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",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...i,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function b(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0}function r(e){return Object.keys(a).filter(t=>a[t]===e).sort()}const g=r("general"),T=r("commerce"),E=r("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{y as ALL_SECTION_TYPES,h as BLOCK_SETS,s as BOX_LABEL,S as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,g as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,m as RETIRED_NESTABLE_SECTIONS,l as RETIRED_SECTIONS,o as SECTION_CATALOG,u as SECTION_LABELS,E as SERVICE_BLOCKS,i as UNLISTED_BLOCK_SETS,b as blockSetOf,r as blocksInSet,p as buildBlockCategories,w as labelAtLevel,d as labelForFlex};
@@ -622,6 +622,7 @@ export declare const WEB_BUILDER_WORDS: {
622
622
  readonly "Label only": "Label only";
623
623
  readonly Labels: "Labels";
624
624
  readonly Ladder: "Ladder";
625
+ readonly "Landscape (4:3)": "Landscape (4:3)";
625
626
  readonly Large: "Large";
626
627
  readonly "Large tabs": "Large tabs";
627
628
  readonly "Large text only": "Large text only";
@@ -1,5 +1,5 @@
1
1
  const e={"$ efficient …":"$ efficient …","0 min":"0 min","0 min read":"0 min read","01 / Section":"01 / Section","100s":"100s","1st rendering":"1st rendering","2nd rendering":"2nd rendering","30-day returns":"30-day returns","3rd rendering":"3rd rendering","4th rendering":"4th rendering","5th rendering":"5th rendering","A 'Show us yours.' headline with a photo-submission form.":"A 'Show us yours.' headline with a photo-submission form.","A big headline beside a stack of call-to-action buttons.":"A big headline beside a stack of call-to-action buttons.","A bold brand statement beside a full-height image, with a stat strip.":"A bold brand statement beside a full-height image, with a stat strip.","A call-to-action button.":"A call-to-action button.","A card per city, grouped by region: address, phone, hours and a map.":"A card per city, grouped by region: address, phone, hours and a map.","A card's opening picture — a card pinned to a finish keeps its own.":"A card's opening picture — a card pinned to a finish keeps its own.","A centered 'ready to order?' headline with the checkout button.":"A centered 'ready to order?' headline with the checkout button.","A change waiting to go live could not be saved.":"A change waiting to go live could not be saved.","A chat bubble on every page":"A chat bubble on every page","A corner would need a diagonal ramp, which this overlay does not draw.":"A corner would need a diagonal ramp, which this overlay does not draw.","A detail line":"A detail line","A display order-summary panel — items, totals and a note.":"A display order-summary panel — items, totals and a note.","A document header — headline, metadata and standfirst.":"A document header — headline, metadata and standfirst.","A featured article — big cover image beside a headline and dek.":"A featured article — big cover image beside a headline and dek.","A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.":"A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.","A frequently-asked-questions accordion with a header.":"A frequently-asked-questions accordion with a header.","A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.":"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.","A heading over a grid of free-text title-and-blurb cards.":"A heading over a grid of free-text title-and-blurb cards.","A heading over columns of image, title, blurb and specs.":"A heading over columns of image, title, blurb and specs.","A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.":"A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.","A horizontal year track of milestones — company history or roadmap.":"A horizontal year track of milestones — company history or roadmap.","A journal issue header with a lead statement and contents.":"A journal issue header with a lead statement and contents.","A line across the blocks, with a dot on each.":"A line across the blocks, with a dot on each.","A line or two of supporting copy.":"A line or two of supporting copy.","A long-form article spread with a pull-quote and cover image.":"A long-form article spread with a pull-quote and cover image.","A marquee cannot run diagonally, so the corners are not answers.":"A marquee cannot run diagonally, so the corners are not answers.","A milestone still to come.":"A milestone still to come.","A newsletter signup beside a list of recent issues.":"A newsletter signup beside a list of recent issues.","A newsletter signup beside your latest blog posts, pulled live.":"A newsletter signup beside your latest blog posts, pulled live.","A numbered section title with optional link.":"A numbered section title with optional link.","A paragraph of body copy.":"A paragraph of body copy.","A payment-methods trust strip with reassurance lines.":"A payment-methods trust strip with reassurance lines.","A picture worth\n*a thousand rows.*":`A picture worth
2
- *a thousand rows.*`,"A plain editorial text section — eyebrow, heading and body copy.":"A plain editorial text section — eyebrow, heading and body copy.","A product hero — image beside price, bullets and a buy button.":"A product hero — image beside price, bullets and a buy button.","A row of partner or brand logos.":"A row of partner or brand logos.","A scrolling marquee of short phrases, full width.":"A scrolling marquee of short phrases, full width.","A second customer quote — what they loved, in a sentence or two.":"A second customer quote — what they loved, in a sentence or two.","A section heading over a grid of column cards.":"A section heading over a grid of column cards.","A sentence or two of supporting copy.":"A sentence or two of supporting copy.","A shared section":"A shared section","A short customer quote goes here — replace it with a real testimonial from your customers.":"A short customer quote goes here — replace it with a real testimonial from your customers.","A short customer quote goes here.":"A short customer quote goes here.","A short description of this recurring column.":"A short description of this recurring column.","A short lead paragraph introducing this section — a sentence or two about its theme.":"A short lead paragraph introducing this section — a sentence or two about its theme.","A short line about this card.":"A short line about this card.","A short line about this milestone.":"A short line about this milestone.","A short pull quote.":"A short pull quote.","A short reassurance note under the total.":"A short reassurance note under the total.","A short summary of the article goes here.":"A short summary of the article goes here.","A short summary of the featured article — one or two sentences that draw the reader in.":"A short summary of the featured article — one or two sentences that draw the reader in.","A short summary of the post — one or two sentences.":"A short summary of the post — one or two sentences.","A single heading line.":"A single heading line.","A slim trail showing where the reader is (Home / Journal…).":"A slim trail showing where the reader is (Home / Journal…).","A spec sheet — labeled rows of product specifications.":"A spec sheet — labeled rows of product specifications.","A standalone image, at the width you set.":"A standalone image, at the width you set.","A sticky row of category tabs with counts and links.":"A sticky row of category tabs with counts and links.","A sticky tab bar to switch between documents.":"A sticky tab bar to switch between documents.","A template is a blueprint — it has no website of its own, so there is nothing here to change.":"A template is a blueprint — it has no website of its own, so there is nothing here to change.","A theme-color chip and heading over a grid of short feature labels.":"A theme-color chip and heading over a grid of short feature labels.","A thin horizontal rule between sections.":"A thin horizontal rule between sections.","A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.":"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.","A third short quote to round out the row.":"A third short quote to round out the row.","A three-up meta strip for the foot of a document.":"A three-up meta strip for the foot of a document.","A titled chart — bars, line or donut — drawn from your own labeled data points.":"A titled chart — bars, line or donut — drawn from your own labeled data points.","A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.":"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.","A wall of city photos, grouped by region. Each photo links to its city's card.":"A wall of city photos, grouped by region. Each photo links to its city's card.","A world map of your locations with a legend — designed here, sold worldwide.":"A world map of your locations with a legend — designed here, sold worldwide.","A write-a-review form — submissions wait for your approval before they show.":"A write-a-review form — submissions wait for your approval before they show.","About & brand story":"About & brand story",Accent:"Accent","Accent button":"Accent button","Accent footnote":"Accent footnote",Account:"Account","Active tab":"Active tab",Add:"Add","Add a *headline* for this post.":"Add a *headline* for this post.","Add a *headline* for this story.":"Add a *headline* for this story.","Add a page":"Add a page","Add a sentence or two introducing this document.":"Add a sentence or two introducing this document.","Add a sentence or two of supporting copy.":"Add a sentence or two of supporting copy.","Add a short heading.":"Add a short heading.","Add a short statement here — a sentence or two is plenty.":"Add a short statement here — a sentence or two is plenty.","Add an anchor":"Add an anchor","Add an office in the inspector":"Add an office in the inspector","Add another question":"Add another question","Add city":"Add city","Add group":"Add group","Add new theme":"Add new theme","Add office coordinates to plot the map":"Add office coordinates to plot the map","Add page":"Add page","Add slide":"Add slide","Add this section's copy here.":"Add this section's copy here.","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.","Add your answer here — a sentence or two is plenty.":"Add your answer here — a sentence or two is plenty.","Add your answer here.":"Add your answer here.","Add your answer here. Keep it clear and concise so it stays easy to scan.":"Add your answer here. Keep it clear and concise so it stays easy to scan.","Add your first question":"Add your first question","Add your numbers.":"Add your numbers.",Address:"Address",After:"After",All:"All","Alt text":"Alt text","Alternating (zig-zag)":"Alternating (zig-zag)",Amount:"Amount","An editorial aside beside a rail-marked timeline of dated entries.":"An editorial aside beside a rail-marked timeline of dated entries.","An editorial heading and paragraph over a row of theme-color-accented stat cards.":"An editorial heading and paragraph over a row of theme-color-accented stat cards.","An editorial text panel with a stat strip and founders' note.":"An editorial text panel with a stat strip and founders' note.","An empty section. Add whatever you want inside.":"An empty section. Add whatever you want inside.",Anchor:"Anchor",Animation:"Animation","Another group already uses this heading — pick a different one.":"Another group already uses this heading — pick a different one.",Answer:"Answer","Any color":"Any color",App:"App","App chips":"App chips","App name":"App name",Appearance:"Appearance","Appearance settings belong to a website.":"Appearance settings belong to a website.","Applied to {n} card":"Applied to {n} card","Applied to {n} cards":"Applied to {n} cards","Apply to all cards":"Apply to all cards","Approved customer reviews in a star-rated card grid, pulled live.":"Approved customer reviews in a star-rated card grid, pulled live.",Arrows:"Arrows","Arrows placement":"Arrows placement","Arrows shape":"Arrows shape",Article:"Article","Article *headline* goes here.":"Article *headline* goes here.","Article Text":"Article Text","Article headline":"Article headline","Article title":"Article title","As shot":"As shot","As uploaded":"As uploaded","Aspect ratio":"Aspect ratio","At zero":"At zero",Attribution:"Attribution",Auto:"Auto","Auto contrast":"Auto contrast","Auto-advance slides":"Auto-advance slides","Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.":"Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.","Auto-slide":"Auto-slide","Avg rating":"Avg rating",Background:"Background","Background color":"Background color","Background image":"Background image","Background images":"Background images","Background width":"Background width",Badge:"Badge","Bank transfer":"Bank transfer",Banner:"Banner","Banner headline":"Banner headline",Bar:"Bar",Bare:"Bare",Bars:"Bars","Bars (comparison / funnel)":"Bars (comparison / funnel)","Bars heading":"Bars heading",Basics:"Basics",Before:"Before","Begin reading":"Begin reading",Below:"Below","Below picture":"Below picture","Big first":"Big first","Big left":"Big left","Big right":"Big right","Big stat":"Big stat","Bigger left":"Bigger left","Bigger right":"Bigger right","Black and white":"Black and white","Black and white logos":"Black and white logos",Block:"Block","Block gap":"Block gap","Block spacing":"Block spacing","Block widths":"Block widths","Blog & journal":"Blog & journal","Blog post":"Blog post","Blog post source":"Blog post source",Body:"Body",Bold:"Bold","Bold word":"Bold word","Booking Form":"Booking Form",Border:"Border","Border bottom":"Border bottom","Border color":"Border color","Border left":"Border left","Border right":"Border right","Border style":"Border style","Border top":"Border top","Border width":"Border width",Borders:"Borders",Bottom:"Bottom","Bottom center":"Bottom center","Bottom left":"Bottom left","Bottom right":"Bottom right",Bounce:"Bounce",Box:"Box","Box name":"Box name","Box shape":"Box shape","Brand Text":"Brand Text","Brand name":"Brand name",Breadcrumb:"Breadcrumb",Brick:"Brick","Browser mock":"Browser mock","Browser storefront (hero + tiles)":"Browser storefront (hero + tiles)","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.","Bundle Products":"Bundle Products",Button:"Button","Button Right Text":"Button Right Text","Button color":"Button color","Button label":"Button label","Button link":"Button link","Button text color":"Button text color",Buttons:"Buttons","Buy button":"Buy button","By the *numbers*":"By the *numbers*","By the numbers":"By the numbers","Call-to-Action Heading":"Call-to-Action Heading",Cancel:"Cancel",Caption:"Caption",Card:"Card","Card body":"Card body","Card button":"Card button","Card header strip":"Card header strip","Card height":"Card height","Card image":"Card image","Card layout":"Card layout","Card link":"Card link","Card number":"Card number","Card outline":"Card outline","Card shadow":"Card shadow","Card style":"Card style","Card subtitle":"Card subtitle","Card template":"Card template","Card title":"Card title","Card title one":"Card title one","Card title three":"Card title three","Card title two":"Card title two","Card type":"Card type",Cards:"Cards","Cards from":"Cards from",Cart:"Cart",Cash:"Cash","Catalog Filter Bar":"Catalog Filter Bar",Category:"Category","Category Bar":"Category Bar","Category bar":"Category bar","Cell width":"Cell width",Center:"Center","Changed on every page":"Changed on every page","Changes not live yet":"Changes not live yet",Chart:"Chart","Chart style":"Chart style","Chat with us":"Chat with us","Check it with Preview. Press Publish to put it live.":"Check it with Preview. Press Publish to put it live.","Checkout & ordering":"Checkout & ordering","Chip label":"Chip label","Choose a page":"Choose a page","Choose a popup":"Choose a popup","Choose a post":"Choose a post","Choose a product":"Choose a product","Choose a section":"Choose a section","Choose an image":"Choose an image","Cities in this group":"Cities in this group",City:"City","City maps":"City maps","City pictures":"City pictures","City strip":"City strip","Claims bars":"Claims bars","Claims panel (rows + defect bars)":"Claims panel (rows + defect bars)","Clear colors":"Clear colors","Clear this site’s colors?":"Clear this site’s colors?","Click to play":"Click to play",Collapse:"Collapse","Collapse {name}":"Collapse {name}",Collections:"Collections",Color:"Color","Column *title.*":"Column *title.*","Column 1 cards":"Column 1 cards","Column 1 title":"Column 1 title","Column 2 cards":"Column 2 cards","Column 2 title":"Column 2 title","Column 3 cards":"Column 3 cards","Column 3 title":"Column 3 title","Column 4 cards":"Column 4 cards","Column 4 title":"Column 4 title","Column {n}":"Column {n}",Columns:"Columns","Connect to a live number":"Connect to a live number","Contact / Locations":"Contact / Locations","Contact Form":"Contact Form","Contact, FAQ & forms":"Contact, FAQ & forms",Contain:"Contain",Content:"Content","Content position":"Content position","Content width":"Content width",Contents:"Contents","Contents heading":"Contents heading","Contents label":"Contents label",Coordinates:"Coordinates","Copy above image":"Copy above image","Copy over image":"Copy over image","Copying…":"Copying…",Corners:"Corners","Couldn’t add the page — please retry.":"Couldn’t add the page — please retry.","Couldn’t add the popup — please retry.":"Couldn’t add the popup — please retry.","Couldn’t delete the page — please retry.":"Couldn’t delete the page — please retry.","Couldn’t duplicate the section — please retry":"Couldn’t duplicate the section — please retry","Couldn’t load pages":"Couldn’t load pages","Couldn’t open this section.":"Couldn’t open this section.","Couldn’t reach {place}.":"Couldn’t reach {place}.",Count:"Count",Countdown:"Countdown",Country:"Country","Country Switch":"Country Switch",Cover:"Cover","Cover image":"Cover image","Cross ✕":"Cross ✕",Crumbs:"Crumbs","Current page":"Current page","Custom HTML":"Custom HTML","Custom URL":"Custom URL","Custom color":"Custom color","Customer Photo Grid":"Customer Photo Grid","Customer name":"Customer name","Customer photos in a card grid with a click-to-open lightbox.":"Customer photos in a card grid with a click-to-open lightbox.","Customer quotes in a grid — the quote, a name and a role.":"Customer quotes in a grid — the quote, a name and a role.",Dark:"Dark","Dark band":"Dark band",Darken:"Darken","Darken style":"Darken style",Dashed:"Dashed","Data points":"Data points",Date:"Date",Dealers:"Dealers","Dealers are not available on this website":"Dealers are not available on this website","Deck / standfirst":"Deck / standfirst",Default:"Default","Defect rate by product":"Defect rate by product",Dek:"Dek",Delay:"Delay","Delete city":"Delete city","Delete group ({n} cities)":"Delete group ({n} cities)","Delete group ({n} city)":"Delete group ({n} city)","Delete {label} group ({n} cities)":"Delete {label} group ({n} cities)","Delete {label} group ({n} city)":"Delete {label} group ({n} city)","Delete {name}":"Delete {name}","Delete “{name}”":"Delete “{name}”","Deleted “{name}”":"Deleted “{name}”",Delivery:"Delivery","Delivery Options":"Delivery Options","Delivery tiers as cards — name, window and price, one highlighted.":"Delivery tiers as cards — name, window and price, one highlighted.","Describe this section in a sentence or two.":"Describe this section in a sentence or two.","Describe this step in a sentence or two.":"Describe this step in a sentence or two.","Describe what happened, in a sentence or two.":"Describe what happened, in a sentence or two.",Design:"Design",Desktop:"Desktop",Detail:"Detail","Detail line":"Detail line",Direction:"Direction","Directions link":"Directions link","Dismiss link":"Dismiss link",Display:"Display",Distance:"Distance","Distance from top":"Distance from top",Divider:"Divider","Document Detail Cards":"Document Detail Cards","Document Header":"Document Header","Document Tabs":"Document Tabs","Document Text":"Document Text","Document body":"Document body","Document masthead":"Document masthead","Document tabs":"Document tabs",Done:"Done","Donut (split of a whole)":"Donut (split of a whole)","Dot ●":"Dot ●",Dots:"Dots",Dotted:"Dotted",Down:"Down","Draft before restore":"Draft before restore","Drop in your own sanitized HTML.":"Drop in your own sanitized HTML.","Duplicate section":"Duplicate section","Duplicate to another page":"Duplicate to another page","Duplicate to page":"Duplicate to page","Duplicate “{name}”":"Duplicate “{name}”","Duplicated to “{name}”":"Duplicated to “{name}”",Duration:"Duration",Dynamic:"Dynamic","Dynamic Pages":"Dynamic Pages","EU Tyre Label":"EU Tyre Label","Each block":"Each block","Each side":"Each side","Each website created from this template sets its own appearance afterwards.":"Each website created from this template sets its own appearance afterwards.","Each website created from this template sets its own header afterwards.":"Each website created from this template sets its own header afterwards.","Each website created from this template sets its own live chat afterwards.":"Each website created from this template sets its own live chat afterwards.","Each website created from this template sets its own social link afterwards.":"Each website created from this template sets its own social link afterwards.","Each website created from this template sets its own {what} afterwards.":"Each website created from this template sets its own {what} afterwards.","Easy to read":"Easy to read",Edit:"Edit","Edit colors":"Edit colors","Edit colors for {name}":"Edit colors for {name}","Edit {name}":"Edit {name}","Editing {name} changes it everywhere.":"Editing {name} changes it everywhere.","Editor only — not shown live":"Editor only — not shown live",Editorial:"Editorial","Editorial Text":"Editorial Text",Effect:"Effect",Email:"Email","Email Form":"Email Form","Email address":"Email address","Email signup":"Email signup",Empty:"Empty",Ends:"Ends","Enter by hand":"Enter by hand",Entrance:"Entrance",Entries:"Entries","Entries count":"Entries count",Equal:"Equal",Essay:"Essay",Even:"Even","Every Publish keeps a copy of the whole website: pages, menus and site styles.":"Every Publish keeps a copy of the whole website: pages, menus and site styles.","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}.":"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}.","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.":"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.","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.","Everything is live":"Everything is live",Excerpt:"Excerpt","Extra large — 64px":"Extra large — 64px",Eyebrow:"Eyebrow","Eyebrow style":"Eyebrow style",Facebook:"Facebook",Fade:"Fade",Feature:"Feature","Feature Banner":"Feature Banner","Feature Rows":"Feature Rows","Feature label":"Feature label","Feature label five":"Feature label five","Feature label four":"Feature label four","Feature label one":"Feature label one","Feature label six":"Feature label six","Feature label three":"Feature label three","Feature label two":"Feature label two","Feature story":"Feature story",Featured:"Featured","Featured *image*":"Featured *image*","Featured cover":"Featured cover",Features:"Features",Feedback:"Feedback","Field label":"Field label","Field notes":"Field notes",Fill:"Fill","Fill color":"Fill color",Filled:"Filled","Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.":"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.","Find from the address":"Find from the address","Find from the address (OpenStreetMap)":"Find from the address (OpenStreetMap)","Finding…":"Finding…","Fine print":"Fine print","Finish swatches":"Finish swatches","Finish · Size · ×1":"Finish · Size · ×1","First item":"First item","First section":"First section","Fit content":"Fit content","Fitment Form":"Fitment Form","Fitment Table":"Fitment Table",Fixed:"Fixed","Fixed size — the site’s Text setting doesn’t resize this.":"Fixed size — the site’s Text setting doesn’t resize this.",Flip:"Flip","Follow the page":"Follow the page","Follow the slideshow":"Follow the slideshow","Follows Desktop":"Follows Desktop","Follows Styles ▸ Basics ▸ Corners until you set a number here.":"Follows Styles ▸ Basics ▸ Corners until you set a number here.","Follows the section's Corners until you set a number here.":"Follows the section's Corners until you set a number here.","Follows the site":"Follows the site","Follows the style":"Follows the style","Footer Box":"Footer Box",Footnote:"Footnote",Form:"Form","Form eyebrow":"Form eyebrow","Form heading":"Form heading","Form intro":"Form intro","Formatting — click a row first":"Formatting — click a row first","Formatting — row {n}":"Formatting — row {n}",Founders:"Founders","Founders heading":"Founders heading","Founders statement":"Founders statement","Four across":"Four across","Four stagger":"Four stagger",Frequency:"Frequency","Frequently *asked.*":"Frequently *asked.*",From:"From","From the bottom":"From the bottom",Full:"Full","Full width":"Full width","Full-bleed intro image the next section scrolls over.":"Full-bleed intro image the next section scrolls over.","Full-screen image or video with a headline.":"Full-screen image or video with a headline.","Full-screen opener with rotating slides.":"Full-screen opener with rotating slides.",Gap:"Gap","Gap only":"Gap only","Give the new template page a name. It starts blank — add sections once it opens.":"Give the new template page a name. It starts blank — add sections once it opens.","Gives the other card this card's Corners.":"Gives the other card this card's Corners.","Gives the other {n} cards this card's Corners.":"Gives the other {n} cards this card's Corners.",Glide:"Glide",Good:"Good","Greeting message":"Greeting message",Grid:"Grid",Group:"Group","Group heading":"Group heading","Group name":"Group name",Gutter:"Gutter",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",HQ:"HQ",HTML:"HTML","HTML tag":"HTML tag",Hairline:"Hairline","Hairline borders":"Hairline borders","Hand-picked products in a tidy grid.":"Hand-picked products in a tidy grid.","Hard to read":"Hard to read",Header:"Header","Header and footer not live yet":"Header and footer not live yet","Header badge":"Header badge","Header settings belong to a website.":"Header settings belong to a website.",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading font size":"Heading font size",Headings:"Headings",Headquarters:"Headquarters",Height:"Height",Hero:"Hero","Hero & intros":"Hero & intros","Hero Slide":"Hero Slide","Hero Slideshow":"Hero Slideshow","Hero button":"Hero button","Hero line":"Hero line","Hidden on the page":"Hidden on the page",Hide:"Hide","Hide {label} on the slide":"Hide {label} on the slide",Highlight:"Highlight","Highlight key numbers — years, designs.":"Highlight key numbers — years, designs.","Highlight line":"Highlight line","Highlight when a link jumps here":"Highlight when a link jumps here",Hint:"Hint","Hold video":"Hold video",Home:"Home","Hours, minutes and seconds to a set date and time, then one line.":"Hours, minutes and seconds to a set date and time, then one line.",Hover:"Hover","Hover effect":"Hover effect",Icon:"Icon","Icon after text":"Icon after text","Icon at the far end":"Icon at the far end","Icon before text":"Icon before text","Icon only":"Icon only","Icon position":"Icon position","Illustrative example":"Illustrative example",Image:"Image","Image & Text Columns":"Image & Text Columns","Image & Text Split":"Image & Text Split","Image 2":"Image 2","Image background":"Image background","Image caption":"Image caption","Image column":"Image column","Image date":"Image date","Image fit":"Image fit","Image focus":"Image focus","Image label":"Image label","Image left":"Image left","Image meta":"Image meta","Image right":"Image right","Image side":"Image side","Image stage":"Image stage","Image tint":"Image tint","Image — set a path":"Image — set a path","In its own box":"In its own box","In progress (accent)":"In progress (accent)","In the product":"In the product","In this issue":"In this issue","In this section":"In this section","In your own time zone. Every visitor counts down to the same moment.":"In your own time zone. Every visitor counts down to the same moment.",Instagram:"Instagram",Integrations:"Integrations","Integrations Grid":"Integrations Grid",Interview:"Interview",Intro:"Intro","Introduce your company in a paragraph or two.":"Introduce your company in a paragraph or two.","Issue Header":"Issue Header","Issue lines":"Issue lines","Issue meta lines":"Issue meta lines",Item:"Item",Items:"Items","Its own":"Its own","Its size follows Styles ▸ {follows} — {px}px right now.":"Its size follows Styles ▸ {follows} — {px}px right now.","Its size follows Styles ▸ {follows}.":"Its size follows Styles ▸ {follows}.","Job card label":"Job card label",Join:"Join","Join our email list":"Join our email list","Jumps to a section on that page.":"Jumps to a section on that page.","Kanban board (job columns)":"Kanban board (job columns)","Kanban columns":"Kanban columns","Keep this section's own built-in size":"Keep this section's own built-in size","Key *features.*":"Key *features.*","Key Features":"Key Features",LINE:"LINE",LIVE:"LIVE",Label:"Label","Label color":"Label color","Label only":"Label only",Labels:"Labels",Ladder:"Ladder",Large:"Large","Large tabs":"Large tabs","Large text only":"Large text only","Large — 56px":"Large — 56px","Latest Posts":"Latest Posts","Latest journal posts in a three-card row.":"Latest journal posts in a three-card row.",Latitude:"Latitude","Latitude, longitude":"Latitude, longitude",Layout:"Layout","Layout & structure":"Layout & structure","Layout, structure & embeds":"Layout, structure & embeds",Layouts:"Layouts",Lead:"Lead","Lead Text":"Lead Text","Learn more":"Learn more","Leave a blank line between paragraphs to start a new one.":"Leave a blank line between paragraphs to start a new one.","Leave a field blank to use the built-in wording.":"Leave a field blank to use the built-in wording.",Left:"Left","Left of the copy":"Left of the copy","Legal & documents":"Legal & documents","Legal Line":"Legal Line",Length:"Length",Level:"Level",Lift:"Lift",Lifted:"Lifted",Light:"Light",Lightbox:"Lightbox","Limited release":"Limited release",Line:"Line","Line (trend)":"Line (trend)",Link:"Link","Link to":"Link to","Linked to a blog post. This editor has no blog to pick another from; choose “None (manual)” to author the section yourself.":"Linked to a blog post. This editor has no blog to pick another from; choose “None (manual)” to author the section yourself.","Linked to “{name}”":"Linked to “{name}”",LinkedIn:"LinkedIn",Links:"Links","Links to":"Links to",List:"List",Live:"Live","Live chat":"Live chat","Live chat settings belong to a website.":"Live chat settings belong to a website.","Live numbers":"Live numbers","Loading versions":"Loading versions","Loading…":"Loading…","Location name":"Location name",Locations:"Locations","Locations Map":"Locations Map","Locations from":"Locations from",Logo:"Logo","Logo alt text":"Logo alt text","Logo color":"Logo color","Logo description":"Logo description","Logo five":"Logo five","Logo four":"Logo four","Logo height":"Logo height","Logo image":"Logo image","Logo one":"Logo one","Logo style":"Logo style","Logo three":"Logo three","Logo two":"Logo two",Logos:"Logos","Long read":"Long read","Long-form document body with an 'On this page' contents list.":"Long-form document body with an 'On this page' contents list.",Longitude:"Longitude",Look:"Look","Lookup busy — try again in a moment.":"Lookup busy — try again in a moment.",Loop:"Loop",Main:"Main","Main Pages":"Main Pages","Main color":"Main color","Main heading":"Main heading","Main heading\n*Highlight line*":`Main heading
2
+ *a thousand rows.*`,"A plain editorial text section — eyebrow, heading and body copy.":"A plain editorial text section — eyebrow, heading and body copy.","A product hero — image beside price, bullets and a buy button.":"A product hero — image beside price, bullets and a buy button.","A row of partner or brand logos.":"A row of partner or brand logos.","A scrolling marquee of short phrases, full width.":"A scrolling marquee of short phrases, full width.","A second customer quote — what they loved, in a sentence or two.":"A second customer quote — what they loved, in a sentence or two.","A section heading over a grid of column cards.":"A section heading over a grid of column cards.","A sentence or two of supporting copy.":"A sentence or two of supporting copy.","A shared section":"A shared section","A short customer quote goes here — replace it with a real testimonial from your customers.":"A short customer quote goes here — replace it with a real testimonial from your customers.","A short customer quote goes here.":"A short customer quote goes here.","A short description of this recurring column.":"A short description of this recurring column.","A short lead paragraph introducing this section — a sentence or two about its theme.":"A short lead paragraph introducing this section — a sentence or two about its theme.","A short line about this card.":"A short line about this card.","A short line about this milestone.":"A short line about this milestone.","A short pull quote.":"A short pull quote.","A short reassurance note under the total.":"A short reassurance note under the total.","A short summary of the article goes here.":"A short summary of the article goes here.","A short summary of the featured article — one or two sentences that draw the reader in.":"A short summary of the featured article — one or two sentences that draw the reader in.","A short summary of the post — one or two sentences.":"A short summary of the post — one or two sentences.","A single heading line.":"A single heading line.","A slim trail showing where the reader is (Home / Journal…).":"A slim trail showing where the reader is (Home / Journal…).","A spec sheet — labeled rows of product specifications.":"A spec sheet — labeled rows of product specifications.","A standalone image, at the width you set.":"A standalone image, at the width you set.","A sticky row of category tabs with counts and links.":"A sticky row of category tabs with counts and links.","A sticky tab bar to switch between documents.":"A sticky tab bar to switch between documents.","A template is a blueprint — it has no website of its own, so there is nothing here to change.":"A template is a blueprint — it has no website of its own, so there is nothing here to change.","A theme-color chip and heading over a grid of short feature labels.":"A theme-color chip and heading over a grid of short feature labels.","A thin horizontal rule between sections.":"A thin horizontal rule between sections.","A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.":"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.","A third short quote to round out the row.":"A third short quote to round out the row.","A three-up meta strip for the foot of a document.":"A three-up meta strip for the foot of a document.","A titled chart — bars, line or donut — drawn from your own labeled data points.":"A titled chart — bars, line or donut — drawn from your own labeled data points.","A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.":"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.","A wall of city photos, grouped by region. Each photo links to its city's card.":"A wall of city photos, grouped by region. Each photo links to its city's card.","A world map of your locations with a legend — designed here, sold worldwide.":"A world map of your locations with a legend — designed here, sold worldwide.","A write-a-review form — submissions wait for your approval before they show.":"A write-a-review form — submissions wait for your approval before they show.","About & brand story":"About & brand story",Accent:"Accent","Accent button":"Accent button","Accent footnote":"Accent footnote",Account:"Account","Active tab":"Active tab",Add:"Add","Add a *headline* for this post.":"Add a *headline* for this post.","Add a *headline* for this story.":"Add a *headline* for this story.","Add a page":"Add a page","Add a sentence or two introducing this document.":"Add a sentence or two introducing this document.","Add a sentence or two of supporting copy.":"Add a sentence or two of supporting copy.","Add a short heading.":"Add a short heading.","Add a short statement here — a sentence or two is plenty.":"Add a short statement here — a sentence or two is plenty.","Add an anchor":"Add an anchor","Add an office in the inspector":"Add an office in the inspector","Add another question":"Add another question","Add city":"Add city","Add group":"Add group","Add new theme":"Add new theme","Add office coordinates to plot the map":"Add office coordinates to plot the map","Add page":"Add page","Add slide":"Add slide","Add this section's copy here.":"Add this section's copy here.","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.","Add your answer here — a sentence or two is plenty.":"Add your answer here — a sentence or two is plenty.","Add your answer here.":"Add your answer here.","Add your answer here. Keep it clear and concise so it stays easy to scan.":"Add your answer here. Keep it clear and concise so it stays easy to scan.","Add your first question":"Add your first question","Add your numbers.":"Add your numbers.",Address:"Address",After:"After",All:"All","Alt text":"Alt text","Alternating (zig-zag)":"Alternating (zig-zag)",Amount:"Amount","An editorial aside beside a rail-marked timeline of dated entries.":"An editorial aside beside a rail-marked timeline of dated entries.","An editorial heading and paragraph over a row of theme-color-accented stat cards.":"An editorial heading and paragraph over a row of theme-color-accented stat cards.","An editorial text panel with a stat strip and founders' note.":"An editorial text panel with a stat strip and founders' note.","An empty section. Add whatever you want inside.":"An empty section. Add whatever you want inside.",Anchor:"Anchor",Animation:"Animation","Another group already uses this heading — pick a different one.":"Another group already uses this heading — pick a different one.",Answer:"Answer","Any color":"Any color",App:"App","App chips":"App chips","App name":"App name",Appearance:"Appearance","Appearance settings belong to a website.":"Appearance settings belong to a website.","Applied to {n} card":"Applied to {n} card","Applied to {n} cards":"Applied to {n} cards","Apply to all cards":"Apply to all cards","Approved customer reviews in a star-rated card grid, pulled live.":"Approved customer reviews in a star-rated card grid, pulled live.",Arrows:"Arrows","Arrows placement":"Arrows placement","Arrows shape":"Arrows shape",Article:"Article","Article *headline* goes here.":"Article *headline* goes here.","Article Text":"Article Text","Article headline":"Article headline","Article title":"Article title","As shot":"As shot","As uploaded":"As uploaded","Aspect ratio":"Aspect ratio","At zero":"At zero",Attribution:"Attribution",Auto:"Auto","Auto contrast":"Auto contrast","Auto-advance slides":"Auto-advance slides","Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.":"Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set.","Auto-slide":"Auto-slide","Avg rating":"Avg rating",Background:"Background","Background color":"Background color","Background image":"Background image","Background images":"Background images","Background width":"Background width",Badge:"Badge","Bank transfer":"Bank transfer",Banner:"Banner","Banner headline":"Banner headline",Bar:"Bar",Bare:"Bare",Bars:"Bars","Bars (comparison / funnel)":"Bars (comparison / funnel)","Bars heading":"Bars heading",Basics:"Basics",Before:"Before","Begin reading":"Begin reading",Below:"Below","Below picture":"Below picture","Big first":"Big first","Big left":"Big left","Big right":"Big right","Big stat":"Big stat","Bigger left":"Bigger left","Bigger right":"Bigger right","Black and white":"Black and white","Black and white logos":"Black and white logos",Block:"Block","Block gap":"Block gap","Block spacing":"Block spacing","Block widths":"Block widths","Blog & journal":"Blog & journal","Blog post":"Blog post","Blog post source":"Blog post source",Body:"Body",Bold:"Bold","Bold word":"Bold word","Booking Form":"Booking Form",Border:"Border","Border bottom":"Border bottom","Border color":"Border color","Border left":"Border left","Border right":"Border right","Border style":"Border style","Border top":"Border top","Border width":"Border width",Borders:"Borders",Bottom:"Bottom","Bottom center":"Bottom center","Bottom left":"Bottom left","Bottom right":"Bottom right",Bounce:"Bounce",Box:"Box","Box name":"Box name","Box shape":"Box shape","Brand Text":"Brand Text","Brand name":"Brand name",Breadcrumb:"Breadcrumb",Brick:"Brick","Browser mock":"Browser mock","Browser storefront (hero + tiles)":"Browser storefront (hero + tiles)","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.","Bundle Products":"Bundle Products",Button:"Button","Button Right Text":"Button Right Text","Button color":"Button color","Button label":"Button label","Button link":"Button link","Button text color":"Button text color",Buttons:"Buttons","Buy button":"Buy button","By the *numbers*":"By the *numbers*","By the numbers":"By the numbers","Call-to-Action Heading":"Call-to-Action Heading",Cancel:"Cancel",Caption:"Caption",Card:"Card","Card body":"Card body","Card button":"Card button","Card header strip":"Card header strip","Card height":"Card height","Card image":"Card image","Card layout":"Card layout","Card link":"Card link","Card number":"Card number","Card outline":"Card outline","Card shadow":"Card shadow","Card style":"Card style","Card subtitle":"Card subtitle","Card template":"Card template","Card title":"Card title","Card title one":"Card title one","Card title three":"Card title three","Card title two":"Card title two","Card type":"Card type",Cards:"Cards","Cards from":"Cards from",Cart:"Cart",Cash:"Cash","Catalog Filter Bar":"Catalog Filter Bar",Category:"Category","Category Bar":"Category Bar","Category bar":"Category bar","Cell width":"Cell width",Center:"Center","Changed on every page":"Changed on every page","Changes not live yet":"Changes not live yet",Chart:"Chart","Chart style":"Chart style","Chat with us":"Chat with us","Check it with Preview. Press Publish to put it live.":"Check it with Preview. Press Publish to put it live.","Checkout & ordering":"Checkout & ordering","Chip label":"Chip label","Choose a page":"Choose a page","Choose a popup":"Choose a popup","Choose a post":"Choose a post","Choose a product":"Choose a product","Choose a section":"Choose a section","Choose an image":"Choose an image","Cities in this group":"Cities in this group",City:"City","City maps":"City maps","City pictures":"City pictures","City strip":"City strip","Claims bars":"Claims bars","Claims panel (rows + defect bars)":"Claims panel (rows + defect bars)","Clear colors":"Clear colors","Clear this site’s colors?":"Clear this site’s colors?","Click to play":"Click to play",Collapse:"Collapse","Collapse {name}":"Collapse {name}",Collections:"Collections",Color:"Color","Column *title.*":"Column *title.*","Column 1 cards":"Column 1 cards","Column 1 title":"Column 1 title","Column 2 cards":"Column 2 cards","Column 2 title":"Column 2 title","Column 3 cards":"Column 3 cards","Column 3 title":"Column 3 title","Column 4 cards":"Column 4 cards","Column 4 title":"Column 4 title","Column {n}":"Column {n}",Columns:"Columns","Connect to a live number":"Connect to a live number","Contact / Locations":"Contact / Locations","Contact Form":"Contact Form","Contact, FAQ & forms":"Contact, FAQ & forms",Contain:"Contain",Content:"Content","Content position":"Content position","Content width":"Content width",Contents:"Contents","Contents heading":"Contents heading","Contents label":"Contents label",Coordinates:"Coordinates","Copy above image":"Copy above image","Copy over image":"Copy over image","Copying…":"Copying…",Corners:"Corners","Couldn’t add the page — please retry.":"Couldn’t add the page — please retry.","Couldn’t add the popup — please retry.":"Couldn’t add the popup — please retry.","Couldn’t delete the page — please retry.":"Couldn’t delete the page — please retry.","Couldn’t duplicate the section — please retry":"Couldn’t duplicate the section — please retry","Couldn’t load pages":"Couldn’t load pages","Couldn’t open this section.":"Couldn’t open this section.","Couldn’t reach {place}.":"Couldn’t reach {place}.",Count:"Count",Countdown:"Countdown",Country:"Country","Country Switch":"Country Switch",Cover:"Cover","Cover image":"Cover image","Cross ✕":"Cross ✕",Crumbs:"Crumbs","Current page":"Current page","Custom HTML":"Custom HTML","Custom URL":"Custom URL","Custom color":"Custom color","Customer Photo Grid":"Customer Photo Grid","Customer name":"Customer name","Customer photos in a card grid with a click-to-open lightbox.":"Customer photos in a card grid with a click-to-open lightbox.","Customer quotes in a grid — the quote, a name and a role.":"Customer quotes in a grid — the quote, a name and a role.",Dark:"Dark","Dark band":"Dark band",Darken:"Darken","Darken style":"Darken style",Dashed:"Dashed","Data points":"Data points",Date:"Date",Dealers:"Dealers","Dealers are not available on this website":"Dealers are not available on this website","Deck / standfirst":"Deck / standfirst",Default:"Default","Defect rate by product":"Defect rate by product",Dek:"Dek",Delay:"Delay","Delete city":"Delete city","Delete group ({n} cities)":"Delete group ({n} cities)","Delete group ({n} city)":"Delete group ({n} city)","Delete {label} group ({n} cities)":"Delete {label} group ({n} cities)","Delete {label} group ({n} city)":"Delete {label} group ({n} city)","Delete {name}":"Delete {name}","Delete “{name}”":"Delete “{name}”","Deleted “{name}”":"Deleted “{name}”",Delivery:"Delivery","Delivery Options":"Delivery Options","Delivery tiers as cards — name, window and price, one highlighted.":"Delivery tiers as cards — name, window and price, one highlighted.","Describe this section in a sentence or two.":"Describe this section in a sentence or two.","Describe this step in a sentence or two.":"Describe this step in a sentence or two.","Describe what happened, in a sentence or two.":"Describe what happened, in a sentence or two.",Design:"Design",Desktop:"Desktop",Detail:"Detail","Detail line":"Detail line",Direction:"Direction","Directions link":"Directions link","Dismiss link":"Dismiss link",Display:"Display",Distance:"Distance","Distance from top":"Distance from top",Divider:"Divider","Document Detail Cards":"Document Detail Cards","Document Header":"Document Header","Document Tabs":"Document Tabs","Document Text":"Document Text","Document body":"Document body","Document masthead":"Document masthead","Document tabs":"Document tabs",Done:"Done","Donut (split of a whole)":"Donut (split of a whole)","Dot ●":"Dot ●",Dots:"Dots",Dotted:"Dotted",Down:"Down","Draft before restore":"Draft before restore","Drop in your own sanitized HTML.":"Drop in your own sanitized HTML.","Duplicate section":"Duplicate section","Duplicate to another page":"Duplicate to another page","Duplicate to page":"Duplicate to page","Duplicate “{name}”":"Duplicate “{name}”","Duplicated to “{name}”":"Duplicated to “{name}”",Duration:"Duration",Dynamic:"Dynamic","Dynamic Pages":"Dynamic Pages","EU Tyre Label":"EU Tyre Label","Each block":"Each block","Each side":"Each side","Each website created from this template sets its own appearance afterwards.":"Each website created from this template sets its own appearance afterwards.","Each website created from this template sets its own header afterwards.":"Each website created from this template sets its own header afterwards.","Each website created from this template sets its own live chat afterwards.":"Each website created from this template sets its own live chat afterwards.","Each website created from this template sets its own social link afterwards.":"Each website created from this template sets its own social link afterwards.","Each website created from this template sets its own {what} afterwards.":"Each website created from this template sets its own {what} afterwards.","Easy to read":"Easy to read",Edit:"Edit","Edit colors":"Edit colors","Edit colors for {name}":"Edit colors for {name}","Edit {name}":"Edit {name}","Editing {name} changes it everywhere.":"Editing {name} changes it everywhere.","Editor only — not shown live":"Editor only — not shown live",Editorial:"Editorial","Editorial Text":"Editorial Text",Effect:"Effect",Email:"Email","Email Form":"Email Form","Email address":"Email address","Email signup":"Email signup",Empty:"Empty",Ends:"Ends","Enter by hand":"Enter by hand",Entrance:"Entrance",Entries:"Entries","Entries count":"Entries count",Equal:"Equal",Essay:"Essay",Even:"Even","Every Publish keeps a copy of the whole website: pages, menus and site styles.":"Every Publish keeps a copy of the whole website: pages, menus and site styles.","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}.":"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}.","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.":"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.","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.","Everything is live":"Everything is live",Excerpt:"Excerpt","Extra large — 64px":"Extra large — 64px",Eyebrow:"Eyebrow","Eyebrow style":"Eyebrow style",Facebook:"Facebook",Fade:"Fade",Feature:"Feature","Feature Banner":"Feature Banner","Feature Rows":"Feature Rows","Feature label":"Feature label","Feature label five":"Feature label five","Feature label four":"Feature label four","Feature label one":"Feature label one","Feature label six":"Feature label six","Feature label three":"Feature label three","Feature label two":"Feature label two","Feature story":"Feature story",Featured:"Featured","Featured *image*":"Featured *image*","Featured cover":"Featured cover",Features:"Features",Feedback:"Feedback","Field label":"Field label","Field notes":"Field notes",Fill:"Fill","Fill color":"Fill color",Filled:"Filled","Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.":"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.","Find from the address":"Find from the address","Find from the address (OpenStreetMap)":"Find from the address (OpenStreetMap)","Finding…":"Finding…","Fine print":"Fine print","Finish swatches":"Finish swatches","Finish · Size · ×1":"Finish · Size · ×1","First item":"First item","First section":"First section","Fit content":"Fit content","Fitment Form":"Fitment Form","Fitment Table":"Fitment Table",Fixed:"Fixed","Fixed size — the site’s Text setting doesn’t resize this.":"Fixed size — the site’s Text setting doesn’t resize this.",Flip:"Flip","Follow the page":"Follow the page","Follow the slideshow":"Follow the slideshow","Follows Desktop":"Follows Desktop","Follows Styles ▸ Basics ▸ Corners until you set a number here.":"Follows Styles ▸ Basics ▸ Corners until you set a number here.","Follows the section's Corners until you set a number here.":"Follows the section's Corners until you set a number here.","Follows the site":"Follows the site","Follows the style":"Follows the style","Footer Box":"Footer Box",Footnote:"Footnote",Form:"Form","Form eyebrow":"Form eyebrow","Form heading":"Form heading","Form intro":"Form intro","Formatting — click a row first":"Formatting — click a row first","Formatting — row {n}":"Formatting — row {n}",Founders:"Founders","Founders heading":"Founders heading","Founders statement":"Founders statement","Four across":"Four across","Four stagger":"Four stagger",Frequency:"Frequency","Frequently *asked.*":"Frequently *asked.*",From:"From","From the bottom":"From the bottom",Full:"Full","Full width":"Full width","Full-bleed intro image the next section scrolls over.":"Full-bleed intro image the next section scrolls over.","Full-screen image or video with a headline.":"Full-screen image or video with a headline.","Full-screen opener with rotating slides.":"Full-screen opener with rotating slides.",Gap:"Gap","Gap only":"Gap only","Give the new template page a name. It starts blank — add sections once it opens.":"Give the new template page a name. It starts blank — add sections once it opens.","Gives the other card this card's Corners.":"Gives the other card this card's Corners.","Gives the other {n} cards this card's Corners.":"Gives the other {n} cards this card's Corners.",Glide:"Glide",Good:"Good","Greeting message":"Greeting message",Grid:"Grid",Group:"Group","Group heading":"Group heading","Group name":"Group name",Gutter:"Gutter",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",HQ:"HQ",HTML:"HTML","HTML tag":"HTML tag",Hairline:"Hairline","Hairline borders":"Hairline borders","Hand-picked products in a tidy grid.":"Hand-picked products in a tidy grid.","Hard to read":"Hard to read",Header:"Header","Header and footer not live yet":"Header and footer not live yet","Header badge":"Header badge","Header settings belong to a website.":"Header settings belong to a website.",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading font size":"Heading font size",Headings:"Headings",Headquarters:"Headquarters",Height:"Height",Hero:"Hero","Hero & intros":"Hero & intros","Hero Slide":"Hero Slide","Hero Slideshow":"Hero Slideshow","Hero button":"Hero button","Hero line":"Hero line","Hidden on the page":"Hidden on the page",Hide:"Hide","Hide {label} on the slide":"Hide {label} on the slide",Highlight:"Highlight","Highlight key numbers — years, designs.":"Highlight key numbers — years, designs.","Highlight line":"Highlight line","Highlight when a link jumps here":"Highlight when a link jumps here",Hint:"Hint","Hold video":"Hold video",Home:"Home","Hours, minutes and seconds to a set date and time, then one line.":"Hours, minutes and seconds to a set date and time, then one line.",Hover:"Hover","Hover effect":"Hover effect",Icon:"Icon","Icon after text":"Icon after text","Icon at the far end":"Icon at the far end","Icon before text":"Icon before text","Icon only":"Icon only","Icon position":"Icon position","Illustrative example":"Illustrative example",Image:"Image","Image & Text Columns":"Image & Text Columns","Image & Text Split":"Image & Text Split","Image 2":"Image 2","Image background":"Image background","Image caption":"Image caption","Image column":"Image column","Image date":"Image date","Image fit":"Image fit","Image focus":"Image focus","Image label":"Image label","Image left":"Image left","Image meta":"Image meta","Image right":"Image right","Image side":"Image side","Image stage":"Image stage","Image tint":"Image tint","Image — set a path":"Image — set a path","In its own box":"In its own box","In progress (accent)":"In progress (accent)","In the product":"In the product","In this issue":"In this issue","In this section":"In this section","In your own time zone. Every visitor counts down to the same moment.":"In your own time zone. Every visitor counts down to the same moment.",Instagram:"Instagram",Integrations:"Integrations","Integrations Grid":"Integrations Grid",Interview:"Interview",Intro:"Intro","Introduce your company in a paragraph or two.":"Introduce your company in a paragraph or two.","Issue Header":"Issue Header","Issue lines":"Issue lines","Issue meta lines":"Issue meta lines",Item:"Item",Items:"Items","Its own":"Its own","Its size follows Styles ▸ {follows} — {px}px right now.":"Its size follows Styles ▸ {follows} — {px}px right now.","Its size follows Styles ▸ {follows}.":"Its size follows Styles ▸ {follows}.","Job card label":"Job card label",Join:"Join","Join our email list":"Join our email list","Jumps to a section on that page.":"Jumps to a section on that page.","Kanban board (job columns)":"Kanban board (job columns)","Kanban columns":"Kanban columns","Keep this section's own built-in size":"Keep this section's own built-in size","Key *features.*":"Key *features.*","Key Features":"Key Features",LINE:"LINE",LIVE:"LIVE",Label:"Label","Label color":"Label color","Label only":"Label only",Labels:"Labels",Ladder:"Ladder","Landscape (4:3)":"Landscape (4:3)",Large:"Large","Large tabs":"Large tabs","Large text only":"Large text only","Large — 56px":"Large — 56px","Latest Posts":"Latest Posts","Latest journal posts in a three-card row.":"Latest journal posts in a three-card row.",Latitude:"Latitude","Latitude, longitude":"Latitude, longitude",Layout:"Layout","Layout & structure":"Layout & structure","Layout, structure & embeds":"Layout, structure & embeds",Layouts:"Layouts",Lead:"Lead","Lead Text":"Lead Text","Learn more":"Learn more","Leave a blank line between paragraphs to start a new one.":"Leave a blank line between paragraphs to start a new one.","Leave a field blank to use the built-in wording.":"Leave a field blank to use the built-in wording.",Left:"Left","Left of the copy":"Left of the copy","Legal & documents":"Legal & documents","Legal Line":"Legal Line",Length:"Length",Level:"Level",Lift:"Lift",Lifted:"Lifted",Light:"Light",Lightbox:"Lightbox","Limited release":"Limited release",Line:"Line","Line (trend)":"Line (trend)",Link:"Link","Link to":"Link to","Linked to a blog post. This editor has no blog to pick another from; choose “None (manual)” to author the section yourself.":"Linked to a blog post. This editor has no blog to pick another from; choose “None (manual)” to author the section yourself.","Linked to “{name}”":"Linked to “{name}”",LinkedIn:"LinkedIn",Links:"Links","Links to":"Links to",List:"List",Live:"Live","Live chat":"Live chat","Live chat settings belong to a website.":"Live chat settings belong to a website.","Live numbers":"Live numbers","Loading versions":"Loading versions","Loading…":"Loading…","Location name":"Location name",Locations:"Locations","Locations Map":"Locations Map","Locations from":"Locations from",Logo:"Logo","Logo alt text":"Logo alt text","Logo color":"Logo color","Logo description":"Logo description","Logo five":"Logo five","Logo four":"Logo four","Logo height":"Logo height","Logo image":"Logo image","Logo one":"Logo one","Logo style":"Logo style","Logo three":"Logo three","Logo two":"Logo two",Logos:"Logos","Long read":"Long read","Long-form document body with an 'On this page' contents list.":"Long-form document body with an 'On this page' contents list.",Longitude:"Longitude",Look:"Look","Lookup busy — try again in a moment.":"Lookup busy — try again in a moment.",Loop:"Loop",Main:"Main","Main Pages":"Main Pages","Main color":"Main color","Main heading":"Main heading","Main heading\n*Highlight line*":`Main heading
3
3
  *Highlight line*`,Manual:"Manual",Map:"Map","Map & Theme":"Map & Theme","Map theme":"Map theme","Match / done (green)":"Match / done (green)",Media:"Media",Medium:"Medium","Medium — 48px":"Medium — 48px",Menu:"Menu",Message:"Message","Meta line":"Meta line",Metadata:"Metadata","Metadata rows":"Metadata rows","Methods from":"Methods from",Middle:"Middle","Middle meta":"Middle meta",Milestone:"Milestone","Milestone Timeline":"Milestone Timeline","Milestone title.":"Milestone title.",Milestones:"Milestones",Mixed:"Mixed","Mockup Card":"Mockup Card","Mockup card":"Mockup card","Mockup position":"Mockup position",Mono:"Mono","Month DD, YYYY":"Month DD, YYYY",More:"More","Multi-column container for blocks.":"Multi-column container for blocks.",Muted:"Muted",Name:"Name","Name / alt":"Name / alt","Name this version":"Name this version","Named versions are always kept. Leave it empty to take the name away.":"Named versions are always kept. Leave it empty to take the name away.",Natural:"Natural","Navigation & wayfinding":"Navigation & wayfinding","Never published":"Never published","New page":"New page","New popup":"New popup","Next slide":"Next slide","No fill":"No fill","No locations yet.":"No locations yet.","No match":"No match","No match (gray ✕)":"No match (gray ✕)","No other pages":"No other pages","No pages match your search":"No pages match your search","No pages yet. Add one with + above.":"No pages yet. Add one with + above.","No place found. Try another postcode.":"No place found. Try another postcode.","No section anchors yet":"No section anchors yet","No style":"No style","No versions yet. Every Publish from now on keeps one.":"No versions yet. Every Publish from now on keeps one.","No. 1":"No. 1",None:"None","None (manual)":"None (manual)",Normal:"Normal","Not changed":"Not changed","Not chosen":"Not chosen","Not published":"Not published","Not saved. Reload the page.":"Not saved. Reload the page.","Not saved. Try again.":"Not saved. Try again.","Not set":"Not set","Not shown on the page":"Not shown on the page",Note:"Note","Note label":"Note label","Note value":"Note value",Nothing:"Nothing",Nudge:"Nudge",Number:"Number","Number style":"Number style",Numbers:"Numbers","N°01, N°02":"N°01, N°02",Off:"Off",Office:"Office",Offices:"Offices","Offset tall":"Offset tall","On 1 page":"On 1 page","On a phone":"On a phone","On every blog post.":"On every blog post.","On every page":"On every page","On every page · old style":"On every page · old style","On other pages":"On other pages","On picture":"On picture","On this page":"On this page","On {count} pages":"On {count} pages",One:"One","One line":"One line","One row":"One row","One then four":"One then four","Only the size follows a site style. This section sets its own font, weight and letter case.":"Only the size follows a site style. This section sets its own font, weight and letter case.",Open:"Open","Open first answer":"Open first answer","Open the {name} in a new tab":"Open the {name} in a new tab","Open your saved draft in a new tab. Visitors don't see it.":"Open your saved draft in a new tab. Visitors don't see it.","Opening hours":"Opening hours",Option:"Option","Order Table":"Order Table","Order content":"Order content","Order summary":"Order summary",Outline:"Outline",Outlined:"Outlined",Overlay:"Overlay","Overlay - ConsentBanner":"Overlay - ConsentBanner","Overlay button":"Overlay button","Overlay button link":"Overlay button link","Overlay color":"Overlay color","Overlay position":"Overlay position",Padding:"Padding","Padding bottom":"Padding bottom","Padding left":"Padding left","Padding right":"Padding right","Padding top":"Padding top",Page:"Page","Page button":"Page button","Page name":"Page name","Page settings for “{name}”":"Page settings for “{name}”","Page width":"Page width",Pages:"Pages","Panel heading":"Panel heading","Panels & cards":"Panels & cards","Panels and cards":"Panels and cards",Paragraph:"Paragraph","Paragraph size — 13px":"Paragraph size — 13px","Part of {name}":"Part of {name}","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.","Payment Logos":"Payment Logos","Payment Methods":"Payment Methods","Payment methods":"Payment methods",Phone:"Phone","Photo Submission Form":"Photo Submission Form","Photo behind the words":"Photo behind the words",Photography:"Photography","Photos in a row":"Photos in a row","Pick a color to see how it reads.":"Pick a color to see how it reads.","Pick a post from {place} to auto-fill this section, or keep “None (manual)” to author it yourself below.":"Pick a post from {place} to auto-fill this section, or keep “None (manual)” to author it yourself below.","Pick who to reach, then a form that routes the message.":"Pick who to reach, then a form that routes the message.",Pinterest:"Pinterest",Placement:"Placement",Plain:"Plain","Play video":"Play video",Playback:"Playback","Playback speed":"Playback speed","Plays well with\n*your favourite apps.*":`Plays well with
4
4
  *your favourite apps.*`,Popup:"Popup","Portal card (stock + button + orders)":"Portal card (stock + button + orders)",Position:"Position",Positions:"Positions","Post Card":"Post Card",Prefix:"Prefix",Preview:"Preview","Preview hover state":"Preview hover state","Preview the live site (opens in a new tab)":"Preview the live site (opens in a new tab)","Preview the live site in a new tab":"Preview the live site in a new tab","Preview your saved draft in a new tab":"Preview your saved draft in a new tab","Previous slide":"Previous slide",Price:"Price",Product:"Product","Product Grid":"Product Grid","Product Hero":"Product Hero","Product badge":"Product badge","Product collections in a tidy grid.":"Product collections in a tidy grid.","Product name":"Product name","Product page":"Product page","Product record":"Product record","Product record (spec tiles)":"Product record (spec tiles)","Product tiles":"Product tiles","Products, prices and forms always show as they are now.":"Products, prices and forms always show as they are now.","Promotions & sign-ups":"Promotions & sign-ups",Publish:"Publish",Published:"Published","Pull quote":"Pull quote","Put these drafts back":"Put these drafts back","Put this page on your site":"Put this page on your site","Put your changes on your site":"Put your changes on your site","Put your drafts back?":"Put your drafts back?","Q&A":"Q&A",Question:"Question",Questions:"Questions",Quiet:"Quiet",Quote:"Quote",Quotes:"Quotes",Rating:"Rating","Read out in place of the picture, and shown if it can’t load.":"Read out in place of the picture, and shown if it can’t load.","Read the story":"Read the story","Read time":"Read time","Reads in":"Reads in","Ready-to-Order Banner":"Ready-to-Order Banner","Reassurance lines":"Reassurance lines","Record type":"Record type","Recurring Columns":"Recurring Columns","Reel label":"Reel label","Refresh now":"Refresh now","Region · country":"Region · country","Related Products":"Related Products","Remove section":"Remove section","Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.":"Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.","Reset color":"Reset color","Reset {name} to the preset":"Reset {name} to the preset",Rest:"Rest",Restore:"Restore","Restore as draft":"Restore as draft","Restore one page only":"Restore one page only","Restore version {n}?":"Restore version {n}?","Restore whole website":"Restore whole website","Restore {page} from version {n}?":"Restore {page} from version {n}?","Result / order rows":"Result / order rows",Reveal:"Reveal","Review Form":"Review Form",Reviews:"Reviews",Right:"Right","Right Top Text":"Right Top Text","Right links":"Right links","Right of the copy":"Right of the copy",Rigs:"Rigs","Rigs fitted":"Rigs fitted",Rise:"Rise",Role:"Role","Role · Location":"Role · Location","Role · location":"Role · location","Rotate on hover":"Rotate on hover","Rounds the picture. Left alone it stays square.":"Rounds the picture. Left alone it stays square.","Rounds the picture. The card's own corner is in Styles.":"Rounds the picture. The card's own corner is in Styles.",Sans:"Sans",Save:"Save","Save as Template":"Save as Template","Save this website as a platform template":"Save this website as a platform template","Save your page changes first":"Save your page changes first",Scale:"Scale",Screen:"Screen",Scroll:"Scroll","Scroll direction":"Scroll direction","Scroll-Over Text":"Scroll-Over Text","Scrolling Bar":"Scrolling Bar",Search:"Search","Search all pages":"Search all pages","Search all pages…":"Search all pages…",Season:"Season","Second item":"Second item","Second section":"Second section","Second surface":"Second surface",Section:"Section","Section *heading.*":"Section *heading.*","Section *title*":"Section *title*","Section Header":"Section Header","Section above":"Section above","Section band":"Section band","Section below":"Section below","Section header":"Section header","Section heading":"Section heading","Section heading\n*Highlight line*":`Section heading
5
5
  *Highlight line*`,"Section heading *here.*":"Section heading *here.*","Section headline\n*Highlight line*":`Section headline
@@ -48,7 +48,8 @@ interface FlexProps {
48
48
  boxShapePhone?: unknown;
49
49
  jumpHighlight?: unknown;
50
50
  anchor?: unknown;
51
+ boxId?: string;
51
52
  content: SlotComponent;
52
53
  }
53
- export default function Flex({ direction, label, tabShape, gap, gapPhone, gapTablet, justify, align, wrap, share, sharePhone, wrapPhone, phoneRow, columns, columnsTablet, separator, blockSpacing, bgImage, bgImagePhone, darken, darkenStyle, placement, padV2, border, borderPhone, pad, contained, fillHeight, shadow, loop, scrollDirection, loopSeconds, loopDelay, editing, fillColor, line, upcoming, link, boxShape, boxShapePhone, jumpHighlight, anchor, content: Content, }: FlexProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
54
+ export default function Flex({ direction, label, tabShape, gap, gapPhone, gapTablet, justify, align, wrap, share, sharePhone, wrapPhone, phoneRow, columns, columnsTablet, separator, blockSpacing, bgImage, bgImagePhone, darken, darkenStyle, placement, padV2, border, borderPhone, pad, contained, fillHeight, shadow, loop, scrollDirection, loopSeconds, loopDelay, editing, fillColor, line, upcoming, link, boxShape, boxShapePhone, jumpHighlight, anchor, boxId, content: Content, }: FlexProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
54
55
  export {};
@@ -1 +1 @@
1
- import{Fragment as W,jsx as e,jsxs as xo}from"react/jsx-runtime";import{useId as ms}from"react";import{parseHexColor as cs}from"efficient-shell/format";import is from"./BoxTabs.js";import{BoxTabPaneContext as us,useIsTabPane as fs}from"./BoxTabPaneContext.js";import{CellFillContext as ds,InBoxContext as bs,useCellOfStretchedRow as ps,useFillsCell as xs}from"./InBoxContext.js";import Cs,{InsideSiteColumn as Co}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as Ss}from"./BoxSurfaceContext.js";import{BoxCellWidthContext as hs}from"./BoxCellWidthContext.js";import{useInSiteHeader as $s}from"./PhoneMenuTools.js";import{FRAME_BASE as So,FRAME_GUTTER as ho}from"./BlockFrame.js";import{containerGapProps as _s}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as Ps,boxBlockSpacingClass as Ls,boxFitContentClass as ys,boxRowColumnsClass as As,boxRowTabletColumnsClass as Bs,boxPhoneRowClasses as C,boxPhoneRowFits as Ts,boxShareClasses as X,boxWrapClass as gs}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as Os,boxSeparatorSeamClass as Es,boxSeparatorStyle as Rs,isStripBox as ws}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as Ns,DEFAULT_LOOP_DIRECTION as vs,DEFAULT_LOOP_SECONDS as Fs,isVerticalLoop as ks}from"../../format/lib/animation/index.js";import{LoopTrack as Ds}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as r,BOX_OWNS_SIDES_CLASS as Is,boxDarkenStyle as Us,boxPlacementClasses as Ws,CARD_SHADOW_CLASS as Xs,isBackgroundBox as $o}from"../../format/lib/content/box-background.js";import{boxShadowAttrs as js}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as Hs}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as Ms,boxShapeClasses as zs}from"../../format/lib/content/box-shape.js";import{BOX_JUMP_ATTR as Gs,BOX_LINK_ATTR as _o,BOX_LINK_CLASS as Po,BOX_LINKED_CLASS as Js,boxJumpBlocksClass as Ks,boxJumpCss as Ys,boxJumpSlug as Vs,boxLinkOf as qs}from"../../format/lib/content/box-link.js";import{SiteLink as Qs}from"../lib/site-runtime.js";import{sectionBorderStyle as Zs}from"../../format/lib/content/borders.js";import{finiteNumber as a}from"../../format/lib/finite-number.js";import{sectionPadAttrs as oe}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as j}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as se}from"../../format/lib/content/ink.js";import{sizedBackground as H}from"../../format/lib/sized-image.js";import{BoxRail as ee,BoxRailStop as te,RAIL_STOPS_CLASS as ne,useTimelineRail as le}from"./TimelineRail.js";const M={"--sf-site-gutter":"0px"},re="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-[720px]:bg-[image:var(--sf-box-bg-p)]";function ae({children:s}){return e(W,{children:s(ms())})}function me({direction:s,label:Lo,tabShape:yo,gap:Ao,gapPhone:Bo,gapTablet:To,justify:B,align:f,wrap:go,share:S,sharePhone:T,wrapPhone:Oo,phoneRow:h,columns:z,columnsTablet:Eo,separator:c,blockSpacing:Ro,bgImage:$,bgImagePhone:G,darken:wo,darkenStyle:No,placement:vo,padV2:Fo=!1,border:ko,borderPhone:Do,pad:n={},contained:Io=!0,fillHeight:d=!1,shadow:Uo,loop:_,scrollDirection:g=vs,loopSeconds:Wo=Fs,loopDelay:Xo=Ns,editing:J=!1,fillColor:K,line:O,upcoming:jo,link:Ho,boxShape:Y,boxShapePhone:Mo,jumpHighlight:zo,anchor:Go,content:E}){const b=J?"":qs(Ho),i=d?"":zs(Y,Mo),Jo=!d&&Ms(Y)!=="",u=Vs(zo,Go),V=typeof K=="string"?cs(K.trim()):null,q=V?{backgroundColor:V}:void 0,Q=le(),R=O===!0&&s!=="tabs",t=$o($),w=$s(),Z=fs(),N=xs(),Ko=ps(),P=ws(s,c),m=_==="scroll"&&s!=="tabs",L=As({direction:s,separator:c,loop:_,line:O,columns:z}),v=Bs({direction:s,separator:c,loop:_,line:O,columnsTablet:Eo}),oo=[X(S),s==="row"?ys(S):"",L,v,Ls(Ro),Os(s,c)].filter(Boolean).join(" "),Yo=oo?` ${oo}`:"",so=["flex",s==="row"?P||m?"flex-row":`flex-row ${C(h,T,Oo)}`:"flex-col",gs(m?!1:go),t?Ws(vo??"center",s):Ps(m?void 0:B,f)].join(" ")+Yo,p=d||t||i||N?` ${j}`:"",F=Jo?` ${i}`:i?`${p} ${i}`:p,eo=Ko&&s==="column"&&!t&&!m&&X(S)===""&&typeof B=="string"&&B!=="start",to=p||(eo?` ${j}`:""),k=b?` ${Js}`:"",D=t||w||Fo?"":" py-6",Vo=`${So}${D} ${ho}${F}${k}`,qo=w?`${F}${k}`.trim():`w-full${D}${F}${k}`,x=_s("Flex",Ao,s==="row"?"inline":"block",Bo,P||m?void 0:To),Qo=P?{...x.style,...Rs(s,c)}:x.style,no=(o="")=>e(E,{className:`${so}${x.className}${to}${o?` ${o}`:""}${R?` ${ne}`:""}${u?` ${Ks(u)}`:""}`,style:Qo,minEmptyHeight:120}),lo=ks(g)?"":Es(s,c),ro=m?e(Ds,{direction:g,seconds:Wo,delay:Xo,editing:J,copy:o=>no(o&&lo?`${o} ${lo}`:o)}):no(),ao=s==="tabs"?e(is,{className:`${so}${x.className}${N&&!d&&!t&&!i?"":p}`,style:x.style,shape:yo,children:ro}):ro,Zo=Z?e(us.Provider,{value:!1,children:ao}):ao,os={stretchedRow:s==="row"&&!t&&(f===void 0||f==="stretch"),fillingColumn:s==="column"&&(N||eo),columnsRow:L!==""||v!==""},mo=e(bs.Provider,{value:os,children:e(ds.Provider,{value:!1,children:Zo})}),I=R?e(ee,{row:s==="row",stops:E.blockCount??0,children:mo}):mo,ss=Lo?.trim()||(Z?"":void 0),es={values:n,frame:D?24:0},ts=o=>Q?e(te,{on:Q,future:jo===!0,children:o}):o,ns=o=>b.startsWith("/")?e(Qs,{href:b,className:Po,"aria-labelledby":o,[_o]:""}):e("a",{href:b,className:Po,"aria-labelledby":o,[_o]:""}),co=u?e("style",{dangerouslySetInnerHTML:{__html:Ys(u)}}):null,ls=o=>({...t?null:js(Uo),...u?{[Gs]:u}:null,...o?{id:o}:null}),io=L!==""?Number(z):0,rs=C(h,T)===C(void 0),as=(s==="column"||s==="row"&&!P&&!m&&(io===1&&rs||io===0&&E.blockCount===1))&&!t&&!R&&!w,y=Hs({loop:_,direction:s,scrollDirection:g,bgImage:$}),uo=(o,l)=>ts(e(Cs,{contained:Io&&!y,style:y?M:void 0,framedClass:Vo,fillClass:qo,columnClass:`${So} ${ho}${to}`,tabLabel:ss,pad:t?void 0:es,border:Zs(ko,Do),outerAttrs:ls(l),box:!0,edge:as,outerStyle:t?void 0:q,children:co||l?xo(W,{children:[co,l?ns(l):null,y?e(Co,{children:o}):o]}):y?e(Co,{children:o}):o})),fo=o=>b?e(ae,{children:l=>uo(o,l)}):uo(o);if(!t){const o=f===void 0||f==="stretch",l=(X(S)!==""||L!==""||v!=="")&&!Ts(h,T)&&(o||C(h)!==C(void 0));return fo((s==="row"?l:s==="column"&&o)?e(hs.Provider,{value:!0,children:I}):I)}const A=Us(wo,No),bo=$o(G),U=oe({...n,top:a(n.top)??r.desktop,bottom:a(n.bottom)??r.desktop,topPhone:a(n.topPhone)??r.phone,bottomPhone:a(n.bottomPhone)??r.phone,left:a(n.left)??r.side,right:a(n.right)??r.side,leftPhone:a(n.leftPhone)??r.sidePhone,rightPhone:a(n.rightPhone)??r.sidePhone}),po=e("div",{className:`relative z-[1] ${Is} ${U?.className??""}${d||i?` ${j}`:""}`.trimEnd(),style:A?{...U?.style,...M,...se}:{...U?.style,...M},children:I});return fo(e(W,{children:xo("div",{className:`relative isolate overflow-hidden ${Xs}${p}${bo?` ${re}`:""}`,style:{...q,...bo?{"--sf-box-bg":H($??""),"--sf-box-bg-p":H(G??"")}:{backgroundImage:H($??""),backgroundSize:"cover",backgroundPosition:"center"}},children:[A&&e("div",{className:"absolute inset-0 z-0",style:A,"aria-hidden":!0}),A?e(Ss,{children:po}):po]})}))}export{me as default};
1
+ import{Fragment as X,jsx as e,jsxs as Po}from"react/jsx-runtime";import{useId as fs}from"react";import{parseHexColor as ds}from"efficient-shell/format";import bs from"./BoxTabs.js";import{BoxTabPaneContext as ps,useIsTabPane as Ss}from"./BoxTabPaneContext.js";import{CellFillContext as xs,InBoxContext as Cs,useCellOfStretchedRow as $s,useFillsCell as hs}from"./InBoxContext.js";import _s,{InsideSiteColumn as Lo,useSectionRoot as Ps}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as Ls}from"./BoxSurfaceContext.js";import{BoxCellWidthContext as ys}from"./BoxCellWidthContext.js";import{useInSiteHeader as As}from"./PhoneMenuTools.js";import{FRAME_BASE as j,FRAME_GUTTER as M}from"./BlockFrame.js";import{containerGapProps as Bs}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as Ts,boxBlockSpacingClass as Rs,boxFitContentClass as gs,boxRowColumnsClass as Os,boxRowTabletColumnsClass as Es,boxPhoneRowClasses as x,boxPhoneRowFits as Ns,boxShareClasses as z,boxWrapClass as vs}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as ws,boxSeparatorSeamClass as Fs,boxSeparatorStyle as ks,isStripBox as Ds}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as Is,DEFAULT_LOOP_DIRECTION as Us,DEFAULT_LOOP_SECONDS as Ws,isVerticalLoop as Xs}from"../../format/lib/animation/index.js";import{LoopTrack as js}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as r,BOX_OWNS_SIDES_CLASS as Ms,boxDarkenStyle as zs,boxPlacementClasses as Gs,CARD_SHADOW_CLASS as Hs,isBackgroundBox as yo}from"../../format/lib/content/box-background.js";import{boxShadowAttrs as Js}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as Ks}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as Ys,boxShapeClasses as Vs}from"../../format/lib/content/box-shape.js";import{BOX_JUMP_ATTR as qs,BOX_LINK_ATTR as Ao,BOX_LINK_CLASS as Bo,BOX_LINKED_CLASS as Qs,boxJumpBlocksClass as Zs,boxJumpCss as oe,boxJumpSlug as se,boxLinkOf as ee}from"../../format/lib/content/box-link.js";import{SiteLink as te}from"../lib/site-runtime.js";import{sectionBorderStyle as ne}from"../../format/lib/content/borders.js";import{finiteNumber as a}from"../../format/lib/finite-number.js";import{sectionPadAttrs as le}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as T}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as re}from"../../format/lib/content/ink.js";import{sizedBackground as G}from"../../format/lib/sized-image.js";import{BoxRail as ae,BoxRailStop as ce,RAIL_STOPS_CLASS as me,useTimelineRail as ie}from"./TimelineRail.js";const H={"--sf-site-gutter":"0px"},ue="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-[720px]:bg-[image:var(--sf-box-bg-p)]";function fe({children:s}){return e(X,{children:s(fs())})}function de({direction:s,label:To,tabShape:Ro,gap:go,gapPhone:Oo,gapTablet:Eo,justify:R,align:d,wrap:No,share:C,sharePhone:g,wrapPhone:vo,phoneRow:$,columns:J,columnsTablet:wo,separator:i,blockSpacing:Fo,bgImage:h,bgImagePhone:K,darken:ko,darkenStyle:Do,placement:Io,padV2:Uo=!1,border:Wo,borderPhone:Xo,pad:n={},contained:Y=!0,fillHeight:u=!1,shadow:jo,loop:_,scrollDirection:O=Us,loopSeconds:Mo=Ws,loopDelay:zo=Is,editing:V=!1,fillColor:q,line:E,upcoming:Go,link:Ho,boxShape:Q,boxShapePhone:Jo,jumpHighlight:Ko,anchor:Yo,boxId:Z,content:N}){const b=V?"":ee(Ho),c=u?"":Vs(Q,Jo),Vo=!u&&Ys(Q)!=="",f=se(Ko,Yo),oo=typeof q=="string"?ds(q.trim()):null,so=oo?{backgroundColor:oo}:void 0,eo=ie(),v=E===!0&&s!=="tabs",t=yo(h),P=As(),qo=Ps(),to=Ss(),w=hs(),Qo=$s(),L=Ds(s,i),m=_==="scroll"&&s!=="tabs",y=Os({direction:s,separator:i,loop:_,line:E,columns:J}),F=Es({direction:s,separator:i,loop:_,line:E,columnsTablet:wo}),no=[z(C),s==="row"?gs(C):"",y,F,Rs(Fo),ws(s,i)].filter(Boolean).join(" "),Zo=no?` ${no}`:"",lo=["flex",s==="row"?L||m?"flex-row":`flex-row ${x($,g,vo)}`:"flex-col",vs(m?!1:No),t?Gs(Io??"center",s):Ts(m?void 0:R,d)].join(" ")+Zo,p=u||t||c||w?` ${T}`:"",k=Vo?` ${c}`:c?`${p} ${c}`:p,ro=Qo&&s==="column"&&!t&&!m&&z(C)===""&&typeof R=="string"&&R!=="start",ao=p||(ro?` ${T}`:""),D=b?` ${Qs}`:"",I=t||P||Uo?"":" py-6",os=`${j}${I} ${M}${k}${D}`,ss=P?`${k}${D}`.trim():`w-full${I}${k}${D}`,S=Bs("Flex",go,s==="row"?"inline":"block",Oo,L||m?void 0:Eo),es=L?{...S.style,...ks(s,i)}:S.style,co=(o="")=>e(N,{className:`${lo}${S.className}${ao}${o?` ${o}`:""}${v?` ${me}`:""}${f?` ${Zs(f)}`:""}`,style:es,minEmptyHeight:120}),mo=Xs(O)?"":Fs(s,i),io=m?e(js,{direction:O,seconds:Mo,delay:zo,editing:V,copy:o=>co(o&&mo?`${o} ${mo}`:o)}):co(),uo=s==="tabs"?e(bs,{className:`${lo}${S.className}${w&&!u&&!t&&!c?"":p}`,style:S.style,shape:Ro,children:io}):io,ts=to?e(ps.Provider,{value:!1,children:uo}):uo,ns={stretchedRow:s==="row"&&!t&&(d===void 0||d==="stretch"),fillingColumn:s==="column"&&(w||ro),columnsRow:y!==""||F!=="",...Z?{id:Z}:null},fo=e(Cs.Provider,{value:ns,children:e(xs.Provider,{value:!1,children:ts})}),U=v?e(ae,{row:s==="row",stops:N.blockCount??0,children:fo}):fo,ls=To?.trim()||(to?"":void 0),rs={values:n,frame:I?24:0},as=o=>eo?e(ce,{on:eo,future:Go===!0,children:o}):o,cs=o=>b.startsWith("/")?e(te,{href:b,className:Bo,"aria-labelledby":o,[Ao]:""}):e("a",{href:b,className:Bo,"aria-labelledby":o,[Ao]:""}),bo=f?e("style",{dangerouslySetInnerHTML:{__html:oe(f)}}):null,ms=o=>({...t?null:Js(jo),...f?{[qs]:f}:null,...o?{id:o}:null}),po=y!==""?Number(J):0,is=x($,g)===x(void 0),us=(s==="column"||s==="row"&&!L&&!m&&(po===1&&is||po===0&&N.blockCount===1))&&!t&&!v&&!P,A=Ks({loop:_,direction:s,scrollDirection:O,bgImage:h}),So=t&&qo&&!P,xo=(o,l)=>as(e(_s,{contained:Y&&!A,style:A?H:void 0,framedClass:os,fillClass:ss,columnClass:`${j} ${M}${ao}`,tabLabel:ls,pad:t?void 0:rs,border:ne(Wo,Xo),outerAttrs:ms(l),box:!0,edge:us,outerStyle:t?void 0:so,bleed:So,children:bo||l?Po(X,{children:[bo,l?cs(l):null,A?e(Lo,{children:o}):o]}):A?e(Lo,{children:o}):o})),Co=o=>b?e(fe,{children:l=>xo(o,l)}):xo(o);if(!t){const o=d===void 0||d==="stretch",l=(z(C)!==""||y!==""||F!=="")&&!Ns($,g)&&(o||x($)!==x(void 0));return Co((s==="row"?l:s==="column"&&o)?e(ys.Provider,{value:!0,children:U}):U)}const B=zs(ko,Do),$o=yo(K),W=le({...n,top:a(n.top)??r.desktop,bottom:a(n.bottom)??r.desktop,topPhone:a(n.topPhone)??r.phone,bottomPhone:a(n.bottomPhone)??r.phone,left:a(n.left)??r.side,right:a(n.right)??r.side,leftPhone:a(n.leftPhone)??r.sidePhone,rightPhone:a(n.rightPhone)??r.sidePhone}),ho=e("div",{className:`relative z-[1] ${Ms} ${W?.className??""}${u||c?` ${T}`:""}`.trimEnd(),style:B?{...W?.style,...H,...re}:{...W?.style,...H},children:U}),_o=So&&Y?e("div",{className:`${j} ${M}${u||c?` ${T}`:""}`,children:ho}):ho;return Co(e(X,{children:Po("div",{className:`relative isolate overflow-hidden ${Hs}${p}${$o?` ${ue}`:""}`,style:{...so,...$o?{"--sf-box-bg":G(h??""),"--sf-box-bg-p":G(K??"")}:{backgroundImage:G(h??""),backgroundSize:"cover",backgroundPosition:"center"}},children:[B&&e("div",{className:"absolute inset-0 z-0",style:B,"aria-hidden":!0}),B?e(Ls,{children:_o}):_o]})}))}export{de as default};
@@ -3,10 +3,12 @@ export type BoxCell = {
3
3
  stretchedRow: boolean;
4
4
  fillingColumn: boolean;
5
5
  columnsRow?: boolean;
6
+ id?: string;
6
7
  };
7
8
  export declare const InBoxContext: import("react").Context<BoxCell | null>;
8
9
  export declare const useInBox: () => boolean;
9
10
  export declare const useBoxCell: () => BoxCell | null;
11
+ export declare const useBoxId: () => string | null;
10
12
  export declare const CellFillContext: import("react").Context<boolean>;
11
13
  export declare function useCellOfStretchedRow(): boolean;
12
14
  export declare const useFillsCell: () => boolean;
@@ -1 +1 @@
1
- "use client";import{jsx as n}from"react/jsx-runtime";import{createContext as u,useContext as t}from"react";import{SECTION_FILL_CLASS as f}from"../../format/lib/content/section-min-height.js";const a={stretchedRow:!1,fillingColumn:!1},l=u(null),d=()=>t(l)!==null,w=()=>t(l),c=u(!1);function C(){const e=t(l)?.stretchedRow===!0,o=t(c);return e&&!o}const p=()=>t(c);function m(){const e=t(l),o=C(),r=p();return{fill:r?` ${f}`:"",inner:s=>{const i=o||r?n(c.Provider,{value:!0,children:s}):s;return e?.columnsRow?n(l.Provider,{value:{...e,columnsRow:!1},children:i}):i}}}function R({className:e,style:o,attrs:r,children:s}){const{fill:i,inner:x}=m();return n("div",{className:`${e}${i}`,...o?{style:o}:{},...r,children:x(s)})}function B({children:e}){const o=d();return n(l.Provider,{value:o?a:null,children:n(c.Provider,{value:!1,children:e})})}export{c as CellFillContext,R as CellWrap,l as InBoxContext,B as SlotsStartAfresh,w as useBoxCell,m as useCellLayer,C as useCellOfStretchedRow,p as useFillsCell,d as useInBox};
1
+ "use client";import{jsx as r}from"react/jsx-runtime";import{createContext as u,useContext as t}from"react";import{SECTION_FILL_CLASS as f}from"../../format/lib/content/section-min-height.js";const x={stretchedRow:!1,fillingColumn:!1},l=u(null),S=()=>t(l)!==null,w=()=>t(l),R=()=>t(l)?.id??null,c=u(!1);function a(){const o=t(l)?.stretchedRow===!0,e=t(c);return o&&!e}const p=()=>t(c);function C(){const o=t(l),e=a(),n=p();return{fill:n?` ${f}`:"",inner:s=>{const i=e||n?r(c.Provider,{value:!0,children:s}):s;return o?.columnsRow?r(l.Provider,{value:{...o,columnsRow:!1},children:i}):i}}}function I({className:o,style:e,attrs:n,children:s}){const{fill:i,inner:d}=C();return r("div",{className:`${o}${i}`,...e?{style:e}:{},...n,children:d(s)})}function B({children:o}){const e=t(l),n=e===null?null:e.id===void 0?x:{...x,id:e.id};return r(l.Provider,{value:n,children:r(c.Provider,{value:!1,children:o})})}export{c as CellFillContext,I as CellWrap,l as InBoxContext,B as SlotsStartAfresh,w as useBoxCell,R as useBoxId,C as useCellLayer,a as useCellOfStretchedRow,p as useFillsCell,S as useInBox};
@@ -14,8 +14,9 @@ export declare function NestedBoxChoice({ atTop, nested }: {
14
14
  export declare function NotASectionEdge({ children }: {
15
15
  children?: ReactNode;
16
16
  }): import("react").JSX.Element;
17
+ export declare function useSectionRoot(): boolean;
17
18
  export declare function useSectionEdge(): SectionEdge | null;
18
- export default function SiteGutterFrame({ contained, framedClass, fillClass, columnClass, style, tabLabel, pad, border, outerAttrs, box, edge, outerStyle, children, }: {
19
+ export default function SiteGutterFrame({ contained, framedClass, fillClass, columnClass, style, tabLabel, pad, border, outerAttrs, box, edge, outerStyle, bleed, children, }: {
19
20
  contained: boolean;
20
21
  framedClass: string;
21
22
  fillClass: string;
@@ -31,5 +32,6 @@ export default function SiteGutterFrame({ contained, framedClass, fillClass, col
31
32
  box?: boolean;
32
33
  edge?: boolean;
33
34
  outerStyle?: CSSProperties;
35
+ bleed?: boolean;
34
36
  children?: ReactNode;
35
37
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- "use client";import{jsx as e,Fragment as D}from"react/jsx-runtime";import{createContext as a,useContext as s}from"react";import{rootPadAttrs as T,wrapperPadAttrs as k}from"../lib/content/section-padding.js";import{SECTION_BORDER_CLASS as b,SECTION_BORDER_SELF_CLASS as q}from"../../format/lib/content/borders.js";import{drawsSiteGutter as z}from"../../format/lib/content/site-gutter.js";const p=a(!1);function V({children:n}){return e(p.Provider,{value:!0,children:n})}const x=a(!1);function W({children:n}){return e(x.Provider,{value:!0,children:n})}const I=a(!1);function X({atTop:n,nested:d}){return e(D,{children:s(I)?d:n})}const u=a(void 0);function Y({children:n}){return e(u.Provider,{value:null,children:n})}function Z(){return s(u)??null}function H({contained:n,framedClass:d,fillClass:R,columnClass:y,style:S,tabLabel:j,pad:t,border:r,outerAttrs:m,box:C=!1,edge:A=!1,outerStyle:i,children:N}){const F=s(p),P=s(x),c=z(n,F),l=c&&!P,f=t&&!l?T(t.values,t.frame):null,v=r&&!l?r:null,w=[l?d:R,f?.className,v?q:null].filter(Boolean).join(" "),B=f||v?{...S,...f?.style,...v}:S,G=s(u),L=C&&A&&G===void 0?{gutter:c,...t?{pad:t.values}:{}}:null,E=C?e(I.Provider,{value:!0,children:e(u.Provider,{value:L,children:N})}):N,h=c?e(p.Provider,{value:!0,children:E}):E,o=t&&l?k(t.values):null,g=m&&Object.keys(m).length>0?m:null,O=e("div",{...o?null:g,className:w,style:o||!i?B:{...B,...i},"data-tab-label":j,children:P?e(x.Provider,{value:!1,children:c?e("div",{className:y,children:h}):h}):h}),_=o?e("div",{...g,className:o.className,style:i?{...o.style,...i}:o.style,children:O}):O;return r&&l?e("div",{className:b,style:{display:"contents",...r},children:_}):_}export{V as InsideSiteColumn,X as NestedBoxChoice,Y as NotASectionEdge,W as SplitBandAndColumn,H as default,Z as useSectionEdge};
1
+ "use client";import{jsx as e,Fragment as T}from"react/jsx-runtime";import{createContext as d,useContext as t}from"react";import{rootPadAttrs as k,wrapperPadAttrs as q}from"../lib/content/section-padding.js";import{SECTION_BORDER_CLASS as z,SECTION_BORDER_SELF_CLASS as H}from"../../format/lib/content/borders.js";import{drawsSiteGutter as J}from"../../format/lib/content/site-gutter.js";const f=d(!1);function Y({children:n}){return e(f.Provider,{value:!0,children:n})}const S=d(!1);function Z({children:n}){return e(S.Provider,{value:!0,children:n})}const x=d(!1);function $({atTop:n,nested:r}){return e(T,{children:t(x)?r:n})}const i=d(void 0);function b({children:n}){return e(i.Provider,{value:null,children:n})}function ee(){return t(i)===void 0&&!t(x)&&!t(f)}function ne(){return t(i)??null}function K({contained:n,framedClass:r,fillClass:j,columnClass:w,style:C,tabLabel:y,pad:o,border:c,outerAttrs:m,box:g=!1,edge:A=!1,outerStyle:a,bleed:N=!1,children:P}){const F=t(f),B=t(S),u=J(n,F),l=u&&!B,v=o&&!l?k(o.values,o.frame):null,h=c&&!l?c:null,L=[l?r:j,v?.className,h?H:null].filter(Boolean).join(" "),E=M(N&&l,v||h?{...C,...v?.style,...h}:C),G=t(i),D=g&&A&&G===void 0?{gutter:u,...o?{pad:o.values}:{}}:null,R=g?e(x.Provider,{value:!0,children:e(i.Provider,{value:D,children:P})}):P,p=u?e(f.Provider,{value:!0,children:R}):R,s=o&&l?q(o.values):null,O=m&&Object.keys(m).length>0?m:null,_=e("div",{...s?null:O,className:L,style:s||!a?E:{...E,...a},"data-tab-label":y,children:B?e(S.Provider,{value:!1,children:u&&!N?e("div",{className:w,children:p}):p}):p}),I=s?e("div",{...O,className:s.className,style:a?{...s.style,...a}:s.style,children:_}):_;return c&&l?e("div",{className:z,style:{display:"contents",...c},children:I}):I}function M(n,r){return n?{...r,paddingLeft:0,paddingRight:0}:r}export{Y as InsideSiteColumn,$ as NestedBoxChoice,b as NotASectionEdge,Z as SplitBandAndColumn,K as default,ne as useSectionEdge,ee as useSectionRoot};
@@ -1 +1 @@
1
- import{jsx as n}from"react/jsx-runtime";import{phoneKey as o,tabletKey as l}from"efficient-easel/draw";import{CountRowsContext as c,NO_COUNTS as h}from"../../../../../components/CountRowsContext.js";import m from"../../../../../components/Flex.js";import{loopDelayOf as d,loopSecondsOf as g,parseLoop as r,parseLoopDirection as u}from"../../../../../../format/lib/animation/index.js";import{COUNTS_SOURCE as b,declaredBlockSource as f,servedRows as S}from"../../../../../../format/lib/content/block-sources.js";import{padValuesOf as x}from"../../../../content/section-padding.js";import{sectionFillsHeight as w}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as y}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const H={...y,render:e=>{const t=n(m,{direction:e.direction,label:e.label,tabShape:e.tabShape,gap:e.gap,gapPhone:e[o("gap")],gapTablet:e[l("gap")],justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,sharePhone:e[o("share")],wrapPhone:e[o("wrap")],phoneRow:e.phoneRow,columns:e.columns,columnsTablet:e[l("columns")],separator:e.separator,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,pad:x(e),contained:e.contained,fillHeight:w(e),shadow:e.shadow,loop:r(e.loop),scrollDirection:u(e.scrollDirection),loopSeconds:g({loopDuration:e.loopDuration}),loopDelay:d({loopDelay:e.loopDelay}),editing:!!e.editor?.isEditing,fillColor:e.fillColor,line:e.line,upcoming:e.upcoming,link:e.link,boxShape:e.boxShape,boxShapePhone:e[o("boxShape")],jumpHighlight:e.jumpHighlight,anchor:e.anchor,content:e.content}),a=f(e),i=a?a===b?S(e):h:null;return n(c.Provider,{value:i,children:t})}};export{H as FlexRender};
1
+ import{jsx as a}from"react/jsx-runtime";import{phoneKey as o,tabletKey as l}from"efficient-easel/draw";import{CountRowsContext as c,NO_COUNTS as d}from"../../../../../components/CountRowsContext.js";import h from"../../../../../components/Flex.js";import{loopDelayOf as m,loopSecondsOf as g,parseLoop as r,parseLoopDirection as u}from"../../../../../../format/lib/animation/index.js";import{COUNTS_SOURCE as b,declaredBlockSource as f,servedRows as S}from"../../../../../../format/lib/content/block-sources.js";import{padValuesOf as x}from"../../../../content/section-padding.js";import{sectionFillsHeight as y}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as w}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const F={...w,render:e=>{const i=a(h,{direction:e.direction,label:e.label,tabShape:e.tabShape,gap:e.gap,gapPhone:e[o("gap")],gapTablet:e[l("gap")],justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,sharePhone:e[o("share")],wrapPhone:e[o("wrap")],phoneRow:e.phoneRow,columns:e.columns,columnsTablet:e[l("columns")],separator:e.separator,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,pad:x(e),contained:e.contained,fillHeight:y(e),shadow:e.shadow,loop:r(e.loop),scrollDirection:u(e.scrollDirection),loopSeconds:g({loopDuration:e.loopDuration}),loopDelay:m({loopDelay:e.loopDelay}),editing:!!e.editor?.isEditing,fillColor:e.fillColor,line:e.line,upcoming:e.upcoming,link:e.link,boxShape:e.boxShape,boxShapePhone:e[o("boxShape")],jumpHighlight:e.jumpHighlight,anchor:e.anchor,boxId:typeof e.id=="string"?e.id:void 0,content:e.content}),n=f(e),t=n?n===b?S(e):d:null;return a(c.Provider,{value:t,children:i})}};export{F as FlexRender};
@@ -1,5 +1,5 @@
1
1
  import { SECTION_PAD_INNER_DEFAULTS } from "../../passes/section-padding.js";
2
- import { type BoxEntry, type ConvertContext, type PartRow, type SiteWrite } from "../../../sections/section-to-box.js";
2
+ import { type BoxEntry, type ConvertContext, type OwnProps, type PartRow, type SiteWrite } from "../../../sections/section-to-box.js";
3
3
  type Props = Record<string, unknown>;
4
4
  export declare const TEXT: Props;
5
5
  export declare const NUMBER_TEXT: Props;
@@ -41,4 +41,13 @@ export declare const bandProps: (p: Props, ctx: ConvertContext) => Props;
41
41
  export declare const bandWrites: (node: {
42
42
  props: Props;
43
43
  }, ctx: ConvertContext) => SiteWrite[];
44
+ export declare const siteGutterOf: (ctx: ConvertContext) => number;
45
+ export declare const NO_PAD: Props;
46
+ export declare const lineSides: (sides: {
47
+ top?: number;
48
+ right?: number;
49
+ bottom?: number;
50
+ left?: number;
51
+ }) => Props;
52
+ export declare const pictureCell: (name: string, key: string, props: OwnProps, parts?: readonly PartRow[]) => PartRow;
44
53
  export {};
@@ -1 +1 @@
1
- import{phoneKey as T}from"efficient-easel/draw";import{ENTRANCE_KEYS as u}from"../../../animation/entrance.js";import{COUNT_KEY_PROP as x}from"../../../../../format/lib/content/block-sources.js";import{NESTED_BOX_PADDING as f}from"../../../../../format/lib/content/box-layout.js";import{resolveSectionPadding as _}from"../../../content/section-padding.js";import{ButtonBlockMeta as B}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{TextMeta as E}from"../../../../../format/lib/document/blocks/general/Text/meta.js";import{SECTION_PAD_INNER_DEFAULTS as S}from"../../passes/section-padding.js";import{finiteNumber as s}from"../../../../../format/lib/finite-number.js";import{convertTheme as a,hasWords as N}from"../../../sections/section-to-box.js";import{bandPresetIndex as O}from"../../../../../format/lib/theme.js";const{text:j,tag:V,...A}=E.defaultProps,p=A,D={...p,[x]:""},Y={...p,tone:"dim"},{label:$,href:J,...I}=B.defaultProps,q=I,z={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},h={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},Q={...h,direction:"column",...f},Z={...h,sectionAccent:0},tt=["gridSpan","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden",...Object.values(u).flatMap(t=>[t,T(t)]),"widthFit","widthFitPhone","width","widthPhone","minWidth","minWidthPhone","maxWidth","maxWidthPhone"],r="a section width key, ignored since efficient-web-builder 45 (every section, and a section's root Box, follows Site styles only; Lewis 2026-10-29), so dropping it changes nothing",ot={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:r,fullWidth:r,pageWidth:r,backgroundWidth:r,contentWidth:r,contentMax:r},et=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftTablet","sectionPaddingRightTablet","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(t=>[t,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"]));function y(t,o){const e=s(t.sectionPaddingTop)??0,n=s(t.sectionPaddingBottom)??0,i=s(t.sectionPaddingTopTablet),d=s(t.sectionPaddingBottomTablet);return{sectionPaddingTop:e+o.top,sectionPaddingBottom:n+o.bottom,...i===void 0?{}:{sectionPaddingTopTablet:i+o.top},...d===void 0?{}:{sectionPaddingBottomTablet:d+o.bottom},sectionPaddingTopPhone:(s(t.sectionPaddingTopPhone)??i??e)+o.topPhone,sectionPaddingBottomPhone:(s(t.sectionPaddingBottomPhone)??d??n)+o.bottomPhone}}const nt=t=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopTablet","sectionPaddingBottomTablet","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(e,n)=>y(n,typeof t=="function"?t(n):t)[o]]);function c(t,o){const e=_(t,S[o]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const it=t=>[["padTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom]],R={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},dt=t=>o=>N(o.props[t])?[R]:[],st=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:p,...o?{style:o}:{}}),l=t=>t.background!=="transparent",k=(t,o)=>{const[e,n]=[t,o].map(i=>typeof i=="string"?i.trim():"");return e?n?`[${e} ]{color=text}${n}`:`[${e}]{color=text}`:n},m={align:"right",alignPhone:"left"},v=(t,o,e)=>{const n=i=>k(i[t],i[o]);return{kind:"block",type:"Text",when:(i,d)=>d!==void 0&&n(d)!=="",box:[[t,"text",(i,d)=>n(d)],[o,"text",(i,d)=>n(d)]],props:e}},rt=(t,o,e,n={})=>v(t,o,{...D,...m,...n,_partStyles:{text:{textStyle:"body-5",color:"labels",...e,case:"upper",...m}}}),g=(t,o)=>typeof t=="number"&&Number.isInteger(t)&&t>=0?t:a(o)?.selected??0,b=(t,o)=>a(o)?.themes[g(t.sectionAccent??0,o)],ct=t=>(o,e)=>{const n=b(o,e)?.[t];return n?{fillColor:n}:{}},at=(t,o)=>{const e=b(t,o)?.line;return e?{buttonBorder:{width:1,color:e}}:{}},P=(t,o)=>{const e=a(o)?.themes;return e&&l(t)?O(e,g(t.sectionAccent,o)):-1},pt=(t,o,e)=>{const n=P(o,e);return n>=0?n:t},gt=(t,o)=>{const e=P(t,o);return e>=0?{sectionAccent:e}:{}},Pt=(t,o)=>l(t.props)&&P(t.props,o)<0?[{kind:"band-preset",page:g(t.props.sectionAccent,o)}]:[];export{h as BOX,q as BUTTON,Y as DIM,ot as DROP_COMMON,et as DROP_SIDE_PADDING,R as HEADING_CASE_UPPER,Q as INNER_BOX,D as NUMBER_TEXT,m as RIGHT_WORDS,tt as SAME_KEYS,Z as SECTION_BOX,z as SH_LINK,p as TEXT,pt as bandAccent,P as bandIndex,g as bandPage,gt as bandProps,Pt as bandWrites,ct as fillFrom,dt as headingCaseOf,c as innerPad,it as innerPadKeys,rt as leadLine,v as leadText,at as lineBorder,k as numberAndUnit,b as sectionPage,st as smallText,y as wrapperPad,nt as wrapperPadKeys};
1
+ import{phoneKey as b}from"efficient-easel/draw";import{ENTRANCE_KEYS as f}from"../../../animation/entrance.js";import{COUNT_KEY_PROP as x}from"../../../../../format/lib/content/block-sources.js";import{NESTED_BOX_PADDING as T}from"../../../../../format/lib/content/box-layout.js";import{normalizeSiteGutter as B}from"../../../../../format/lib/content/page-width.js";import{resolveSectionPadding as _}from"../../../content/section-padding.js";import{ButtonBlockMeta as E}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{TextMeta as S}from"../../../../../format/lib/document/blocks/general/Text/meta.js";import{SECTION_PAD_INNER_DEFAULTS as O}from"../../passes/section-padding.js";import{finiteNumber as s}from"../../../../../format/lib/finite-number.js";import{convertTheme as a,hasWords as N}from"../../../sections/section-to-box.js";import{bandPresetIndex as A}from"../../../../../format/lib/theme.js";const{text:z,tag:q,...D}=S.defaultProps,p=D,y={...p,[x]:""},Q={...p,tone:"dim"},{label:Z,href:tt,...I}=E.defaultProps,ot=I,et={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},h={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},R={...h,direction:"column",...T},nt={...h,sectionAccent:0},it=["gridSpan","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden",...Object.values(f).flatMap(t=>[t,b(t)]),"widthFit","widthFitPhone","width","widthPhone","minWidth","minWidthPhone","maxWidth","maxWidthPhone"],r="a section width key, ignored since efficient-web-builder 45 (every section, and a section's root Box, follows Site styles only; Lewis 2026-10-29), so dropping it changes nothing",dt={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing",widthMode:r,fullWidth:r,pageWidth:r,backgroundWidth:r,contentWidth:r,contentMax:r},st=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftTablet","sectionPaddingRightTablet","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(t=>[t,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"]));function k(t,o){const e=s(t.sectionPaddingTop)??0,n=s(t.sectionPaddingBottom)??0,i=s(t.sectionPaddingTopTablet),d=s(t.sectionPaddingBottomTablet);return{sectionPaddingTop:e+o.top,sectionPaddingBottom:n+o.bottom,...i===void 0?{}:{sectionPaddingTopTablet:i+o.top},...d===void 0?{}:{sectionPaddingBottomTablet:d+o.bottom},sectionPaddingTopPhone:(s(t.sectionPaddingTopPhone)??i??e)+o.topPhone,sectionPaddingBottomPhone:(s(t.sectionPaddingBottomPhone)??d??n)+o.bottomPhone}}const rt=t=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopTablet","sectionPaddingBottomTablet","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(e,n)=>k(n,typeof t=="function"?t(n):t)[o]]);function c(t,o){const e=_(t,O[o]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const ct=t=>[["padTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["padBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(o,e)=>c(e,t).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(o,e)=>c(e,t).sectionPaddingBottom]],v={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},at=t=>o=>N(o.props[t])?[v]:[],pt=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:p,...o?{style:o}:{}}),m=t=>t.background!=="transparent",w=(t,o)=>{const[e,n]=[t,o].map(i=>typeof i=="string"?i.trim():"");return e?n?`[${e} ]{color=text}${n}`:`[${e}]{color=text}`:n},l={align:"right",alignPhone:"left"},C=(t,o,e)=>{const n=i=>w(i[t],i[o]);return{kind:"block",type:"Text",when:(i,d)=>d!==void 0&&n(d)!=="",box:[[t,"text",(i,d)=>n(d)],[o,"text",(i,d)=>n(d)]],props:e}},gt=(t,o,e,n={})=>C(t,o,{...y,...l,...n,_partStyles:{text:{textStyle:"body-5",color:"labels",...e,case:"upper",...l}}}),g=(t,o)=>typeof t=="number"&&Number.isInteger(t)&&t>=0?t:a(o)?.selected??0,u=(t,o)=>a(o)?.themes[g(t.sectionAccent??0,o)],M=t=>(o,e)=>{const n=u(o,e)?.[t];return n?{fillColor:n}:{}},Pt=(t,o)=>{const e=u(t,o)?.line;return e?{buttonBorder:{width:1,color:e}}:{}},P=(t,o)=>{const e=a(o)?.themes;return e&&m(t)?A(e,g(t.sectionAccent,o)):-1},ht=(t,o,e)=>{const n=P(o,e);return n>=0?n:t},mt=(t,o)=>{const e=P(t,o);return e>=0?{sectionAccent:e}:{}},lt=(t,o)=>m(t.props)&&P(t.props,o)<0?[{kind:"band-preset",page:g(t.props.sectionAccent,o)}]:[],ut=t=>B(t.site?.siteGutter),W=Object.fromEntries(["Top","Right","Bottom","Left","TopPhone","RightPhone","BottomPhone","LeftPhone"].map(t=>[`sectionPadding${t}`,0])),bt=t=>({top:0,right:0,bottom:0,left:0,...t}),ft=(t,o,e,n=[])=>({kind:"group",name:t,keepEmpty:!0,props:(i,d)=>({...R,...W,...M("surface")(i,d),...typeof e=="function"?e(i,d):e}),box:[[o,"bgImage"]],parts:n});export{h as BOX,ot as BUTTON,Q as DIM,dt as DROP_COMMON,st as DROP_SIDE_PADDING,v as HEADING_CASE_UPPER,R as INNER_BOX,W as NO_PAD,y as NUMBER_TEXT,l as RIGHT_WORDS,it as SAME_KEYS,nt as SECTION_BOX,et as SH_LINK,p as TEXT,ht as bandAccent,P as bandIndex,g as bandPage,mt as bandProps,lt as bandWrites,M as fillFrom,at as headingCaseOf,c as innerPad,ct as innerPadKeys,gt as leadLine,C as leadText,Pt as lineBorder,bt as lineSides,w as numberAndUnit,ft as pictureCell,u as sectionPage,ut as siteGutterOf,pt as smallText,k as wrapperPad,rt as wrapperPadKeys};
@@ -0,0 +1,2 @@
1
+ import type { SectionToBoxRow } from "../../../sections/section-to-box.js";
2
+ export declare const EDITORIAL_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
@@ -0,0 +1 @@
1
+ import{finiteNumber as a}from"../../../../../format/lib/finite-number.js";import{parseIntroBleedLayout as R}from"../../../../../format/lib/sections/intro-bleed-layout.js";import{fluidToken as U,token as n}from"./section-head-looks.js";import{BUTTON as g,DIM as f,DROP_COMMON as c,DROP_SIDE_PADDING as x,INNER_BOX as i,NO_PAD as p,NUMBER_TEXT as F,SAME_KEYS as u,SECTION_BOX as y,TEXT as P,fillFrom as S,lineSides as r,pictureCell as w,siteGutterOf as m,smallText as s,wrapperPad as T,wrapperPadKeys as B}from"./section-to-box-row-parts.js";const H=(e,t)=>{const o=a(e),k=a(t);return{...o===void 0?{}:{size:o},...k===void 0?{}:{sizePhone:k}}},L=e=>R(e.layout)==="stacked",M=e=>Math.min(Math.max(a(e.overlay)??60,0),100),d=e=>a(e)??100,C={textStyle:"heading-1",sizeToken:{...U("headingLarge",48,7,96).sizeToken,pxPhone:36},weight:500,lineHeight:.95,letterSpacing:-.03},W=[s("eyebrow",n("label",14)),...[!0,!1].map(e=>({kind:"text",key:"title",role:"heading",props:P,style:{...C,case:e?"upper":"none"},styleFrom:t=>H(t.titleSizeDesktop,t.titleSizeMobile),when:t=>t.uppercase===!0===e})),{kind:"text",key:"body",props:{...f,maxWidth:560},style:{textStyle:"body-1",...n("body",17,16),lineHeight:1.6,paragraphSpacing:24},styleFrom:e=>H(e.bodySizeDesktop,e.bodySizeMobile)},{kind:"group",name:"Button",props:{...i,align:"start",sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],A=e=>`${e}: a Button block has no colour of its own (it follows the site Button colour, as the old fallback did); 0 of 3 live US nodes store one (CLI read, 2026-11-03)`,V=()=>({name:"Scroll-Over Text",skip:e=>L(e)?"the stacked layout: its words row's height floor (`copyShare*`) and the header subtraction have no Box setting; 0 live US nodes":void 0,boxProps:e=>({...y,direction:"column",justify:"center",align:"start",gap:24,gapPhone:24,share:"content",...p,placement:"left",darken:M(e),darkenStyle:"even",sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:d(e.heightDesktop),sectionHeightModePhone:"fixed",sectionHeightUnitPhone:"%",sectionHeightValuePhone:d(e.heightMobile)}),box:[...u.filter(e=>!String(typeof e=="string"?e:e[0]).startsWith("sectionHeight")),["imageSrc","bgImage"],["imageSrcMobile","bgImagePhone"],["overlay","darken",(e,t)=>M(t)],["heightDesktop","sectionHeightValue",e=>d(e)],["heightMobile","sectionHeightValuePhone",e=>d(e)]],parts:W,drop:{uppercase:"not a value of its own: it picks the heading part — Case Upper when on, None (as typed) when off",layout:"not a value of its own: the overlay layout is this tree; a stacked node is skipped (`skip`)",copyShareDesktop:"the stacked layout's words-row floor, read only there; a stacked node is skipped",copyShareMobile:"the stacked layout's words-row floor, read only there; a stacked node is skipped",sticky:"the old pin never held on a live page (its theme wrapper is as tall as the section; decision 3, 2026-10-14), so the Box does not pin",titleSizeDesktop:"read by the heading part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",titleSizeMobile:"read by the heading part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",bodySizeDesktop:"read by the words part's `styleFrom`: a number is its Size, `inherit` and unset follow the token",bodySizeMobile:"read by the words part's `styleFrom`: a number is its phone Size, `inherit` and unset follow the token",buttonColor:A("Button color"),buttonTextColor:A("Button text color"),...c}}),v={textStyle:"heading-2",...n("headingMedium",56,36),weight:400,lineHeight:1.05,letterSpacing:-.03},X={textStyle:"body-1",...n("body",16),lineHeight:1.7},O=e=>({kind:"text",key:"body",props:{...f,maxWidth:520},style:{...X,paragraphSpacing:e}}),l={top:0,bottom:0,topPhone:0,bottomPhone:0},b=(e,t)=>typeof e.sectionHeightMode=="string"&&e.sectionHeightMode!=="auto"?{}:{sectionHeightMode:"fixed",sectionHeightUnit:"%",sectionHeightValue:t,sectionHeightModePhone:"auto"},j=(e,t)=>{const o=b(e,t);return Object.keys(o).length?o:{sectionHeightMode:e.sectionHeightMode,...e.sectionHeightValue===void 0?{}:{sectionHeightValue:e.sectionHeightValue},...e.sectionHeightUnit===void 0?{}:{sectionHeightUnit:e.sectionHeightUnit},sectionHeightModePhone:"auto"}},I={boxShapePhone:"landscape"},_="needs a black-and-white setting on a Box picture (the old photograph followed it, else the site's Photography); 0 live US nodes store it (CLI read, 2026-11-03)",G=(e,t)=>({[e]:t,[`${e}Phone`]:t}),q={textStyle:"heading-2",...n("headingMedium",40),weight:500,case:"none",lineHeight:1,letterSpacing:-.02},D=e=>(Array.isArray(e.stats)?e.stats:[]).filter(t=>t&&(String(t.value??"").trim()!==""||String(t.label??"").trim()!=="")),Y=()=>({name:"Brand Text",boxProps:(e,t)=>({...y,...S("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...T(e,l),...b(e,100)}),box:[...u,...B(l)],parts:[{kind:"group",name:"Words",props:(e,t)=>({...i,justify:"center",gap:28,gapPhone:28,sectionBorder:r({right:1}),sectionBorderPhone:r({}),...p,sectionPaddingTop:100,sectionPaddingBottom:100,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60,sectionPaddingRight:m(t)}),parts:[s("eyebrow",n("label",14)),{kind:"text",key:"heading",role:"heading",props:P,style:{...v,case:"none"},mark:"accentItalic"},O(28),{kind:"group",name:"Stats",props:{...i,sectionPaddingTop:16,sectionPaddingTopPhone:16},parts:[{kind:"group",name:"Figures",props:e=>({...i,direction:"row",share:"equal",gap:24,gapPhone:24,maxWidth:520,phoneRow:Math.min(Math.max(D(e).length,1),3),...G("sectionBorder",r({top:1})),sectionPaddingTop:28,sectionPaddingTopPhone:28}),parts:[{kind:"list",key:"stats",name:"Stat",of:D,props:{...i,gap:4,gapPhone:4},parts:[{kind:"text",key:"value",props:F,style:q},s("label",{...n("label",13),color:"labels",letterSpacing:.2})]}]}]}]},w("Picture","imageSrc",I)],drop:{...c,grayscale:_,...x}}),h=e=>{const t=e.textAlign==="center"||e.textAlign==="right"?{align:e.textAlign}:{},o=e.textAlignPhone==="left"||e.textAlignPhone==="center"||e.textAlignPhone==="right"?{alignPhone:e.textAlignPhone}:{};return{...t,...o}},K=e=>e.textAlign==="center"?"center":e.textAlign==="right"?"end":"stretch",$=e=>Math.min(Math.max(a(e.overlay)??60,0),100),N=e=>typeof e=="string"&&e.trim()!=="",Z={...g,align:"center",alignPhone:"center",buttonFillOpacity:0,buttonBorder:{width:1},buttonPaddingTop:16,buttonPaddingRight:28,buttonPaddingBottom:16,buttonPaddingLeft:28,buttonPaddingTopPhone:12,buttonPaddingRightPhone:20,buttonPaddingBottomPhone:12,buttonPaddingLeftPhone:20},E=e=>({...w("Picture","imageSrc",(t,o)=>({...N(t.imageSrc)?{darken:40,darkenStyle:"even"}:{},placement:"center",...I,sectionBorder:r(e?{left:1}:{right:1}),...z(e?"left":"right",m(o))}),[{kind:"button",key:"imageBtnText",href:"imageBtnHref",variant:"ghost",props:Z,style:{textStyle:"body-5",...n("label",13,12),case:"upper",letterSpacing:.18}}]),when:t=>t.reverse===!0===e}),z=(e,t)=>{const o=Math.max(60-t,0);return{sectionPaddingLeft:e==="left"?60:o,sectionPaddingRight:e==="right"?60:o}},J={kind:"group",name:"Words",props:(e,t)=>{const o=e.reverse===!0;return{...i,justify:"center",align:K(e),placement:e.textAlign==="center"?"center":e.textAlign==="right"?"right":"left",...j(e,72),gap:24,gapPhone:24,...N(e.textBgSrc)?{darken:$(e),darkenStyle:"even"}:{},...p,sectionPaddingTop:100,sectionPaddingBottom:100,...z(o?"right":"left",m(t)),sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60}},box:[["textBgSrc","bgImage"]],parts:[{...s("eyebrow",n("label",14)),styleFrom:h},{kind:"text",key:"title",role:"heading",props:P,style:v,styleFrom:e=>({case:e.uppercase===!0?"upper":"none",...h(e)})},{...O(24),styleFrom:h},{kind:"group",name:"Button",props:{...i,sectionPaddingTop:8,sectionPaddingTopPhone:8},parts:[{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:e=>{const t=h(e);return{...g,...t.align?{align:t.align}:{},...t.alignPhone?{alignPhone:t.alignPhone}:{}}}}]}]},Q=()=>({name:"Image & Text Split",boxProps:(e,t)=>({...y,...S("background")(e,t),direction:"row",share:"equal",gap:0,gapPhone:0,sectionBorder:{top:1,bottom:1},...T(e,l),...b(e,72)}),box:[...u,...B(l)],parts:[E(!1),J,E(!0)],drop:{reverse:"not a value of its own: it picks the order — the Picture Box first, or after the Words",uppercase:"not a value of its own: the heading part's Case — Upper when on, None (as typed) when off",textAlign:"read by each words part (its Align) and the Words Box (its Align); left writes nothing, as the old emitted no class",textAlignPhone:"read by each words part as its phone Align",overlay:"read by the Words Box: its Darken over the words picture (60 when unset); no picture, no wash",grayscale:_,...c,...x}}),ie={IntroBleed:V(),Manifesto:Y(),Split:Q()};export{ie as EDITORIAL_SECTION_TO_BOX};
@@ -1,4 +1,10 @@
1
- import type { SectionToBoxRow } from "../../../sections/section-to-box.js";
1
+ import type { PartRow, SectionToBoxRow, SlotFill } from "../../../sections/section-to-box.js";
2
2
  export declare const HEAD_ONLY_TYPES: readonly string[];
3
- export declare function headOnlyRow(type: string): SectionToBoxRow;
3
+ export declare const HOST_ROW_HEAD_TYPES: readonly string[];
4
+ export type HeadOnlyRowExtension = {
5
+ slots?: Readonly<Record<string, readonly SlotFill[]>>;
6
+ partsAfter?: readonly PartRow[];
7
+ drop?: Readonly<Record<string, string>>;
8
+ };
9
+ export declare function headOnlyRow(type: string, ext?: HeadOnlyRowExtension): SectionToBoxRow;
4
10
  export declare const HEAD_ONLY_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
@@ -1 +1 @@
1
- import{SPLITTABLE_SECTIONS as p}from"../../../../../format/lib/sections/section-head-placement.js";import{SECTION_LABELS as l}from"../../../../../format/lib/document/section-catalog.js";import{SAME_KEYS as m,SECTION_BOX as P,innerPad as h}from"./section-to-box-row-parts.js";import{HEAD_BELOW as T,headLookOf as E,headTree as O}from"./section-head-looks.js";import{finiteNumber as u}from"../../../../../format/lib/finite-number.js";const S=["Collections","Events","FAQ","FitmentFinder","FitmentTable","Footprint","GalleryB","LongRead","ProcessSteps","ProductGrid","RelatedProducts","SpecTable"],t=(o,e)=>()=>({top:o,topPhone:e}),a=o=>e=>{const n=h(e,o).sectionPaddingTop;return{top:n,topPhone:n}},f={Collections:t(120,70),Events:t(120,70),FAQ:t(120,70),GalleryB:t(120,70),FitmentTable:t(120,80),SpecTable:t(120,80),LongRead:t(120,80),FitmentFinder:o=>o.layout==="bar"?{top:32,topPhone:20}:{top:80,topPhone:60},RelatedProducts:t(0,0),Footprint:a("Footprint"),ProcessSteps:a("ProcessSteps"),ProductGrid:o=>({top:u(o.padTop)??120,topPhone:0})};function b(o){const e=p[o],n=f[o];if(!e||!n)throw new Error(`section-to-box-rows-head: "${o}" has no head row or no head room`);const s=e.padKey,c=O(o),d=e.headRows.filter(r=>![e.num,e.title,e.description,"linkText","linkHref"].includes(r));return{name:l[o]??o,boxProps:r=>{const i=n(r);return{...P,direction:"column",gap:T[E(o)],sectionPaddingTop:i.top,sectionPaddingTopPhone:i.topPhone}},box:[...m,...s?[[s,"sectionPaddingTop",(r,i)=>n(i).top]]:[]],parts:[c,{kind:"core",keep:"rest",...s?{props:{[s]:0}}:{}}],...d.length?{drop:Object.fromEntries(d.map(r=>[r,"a head setting: the Header Box's Text parts draw it (lib/document/blocks/general/section-head-looks)"]))}:{}}}const A=Object.fromEntries(S.map(o=>[o,b(o)]));export{A as HEAD_ONLY_SECTION_TO_BOX,S as HEAD_ONLY_TYPES,b as headOnlyRow};
1
+ import{SPLITTABLE_SECTIONS as m}from"../../../../../format/lib/sections/section-head-placement.js";import{SECTION_LABELS as P}from"../../../../../format/lib/document/section-catalog.js";import{SAME_KEYS as T,SECTION_BOX as E,innerPad as h}from"./section-to-box-row-parts.js";import{HEAD_BELOW as O,headLookOf as S,headTree as _}from"./section-head-looks.js";import{finiteNumber as f}from"../../../../../format/lib/finite-number.js";const u=["Collections","Events","FAQ","Footprint","GalleryB","LongRead","ProcessSteps","ProductGrid","RelatedProducts"],B=["FitmentFinder","FitmentTable","SpecTable"],n=(o,e)=>()=>({top:o,topPhone:e}),c=o=>e=>{const t=h(e,o).sectionPaddingTop;return{top:t,topPhone:t}},b={Collections:n(120,70),Events:n(120,70),FAQ:n(120,70),GalleryB:n(120,70),FitmentTable:n(120,80),SpecTable:n(120,80),LongRead:n(120,80),FitmentFinder:o=>o.layout==="bar"?{top:32,topPhone:20}:{top:80,topPhone:60},RelatedProducts:n(0,0),Footprint:c("Footprint"),ProcessSteps:c("ProcessSteps"),ProductGrid:o=>({top:f(o.padTop)??120,topPhone:0})};function g(o,e={}){const t=m[o],d=b[o];if(!t||!d)throw new Error(`section-to-box-rows-head: "${o}" has no head row or no head room`);const s=t.padKey,p=_(o),l=t.headRows.filter(r=>![t.num,t.title,t.description,"linkText","linkHref"].includes(r)),a={...Object.fromEntries(l.map(r=>[r,"a head setting: the Header Box's Text parts draw it (lib/document/blocks/general/section-head-looks)"])),...e.drop};return{name:P[o]??o,boxProps:r=>{const i=d(r);return{...E,direction:"column",gap:O[S(o)],sectionPaddingTop:i.top,sectionPaddingTopPhone:i.topPhone}},box:[...T,...s?[[s,"sectionPaddingTop",(r,i)=>d(i).top]]:[]],parts:[p,{kind:"core",keep:"rest",...s?{props:{[s]:0}}:{},...e.slots?{slots:e.slots}:{}},...e.partsAfter??[]],...Object.keys(a).length?{drop:a}:{}}}const H=Object.fromEntries(u.map(o=>[o,g(o)]));export{H as HEAD_ONLY_SECTION_TO_BOX,u as HEAD_ONLY_TYPES,B as HOST_ROW_HEAD_TYPES,g as headOnlyRow};
@@ -1 +1 @@
1
- import{hasWords as v,registerSectionToBox as n}from"../../../sections/section-to-box.js";import{BUTTON as g,DIM as m,DROP_COMMON as s,DROP_SIDE_PADDING as c,INNER_BOX as t,leadLine as H,SAME_KEYS as d,SECTION_BOX as p,lineBorder as A,TEXT as l,innerPad as S,innerPadKeys as f,smallText as P,wrapperPad as u,wrapperPadKeys as b}from"./section-to-box-row-parts.js";import{CARDS_SECTION_TO_BOX as R}from"./section-to-box-rows-cards.js";import{normalizeSiteGutter as L,normalizeSiteGutterPhone as C,siteGutterPhoneFollows as D}from"../../../../../format/lib/content/page-width.js";import{finiteNumber as W}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as X}from"./section-to-box-rows-stats.js";import{LOGOS_SECTION_TO_BOX as G}from"./section-to-box-rows-logos.js";import{STRIP_SECTION_TO_BOX as M}from"./section-to-box-rows-strip.js";import{TIMELINE_SECTION_TO_BOX as F}from"./section-to-box-rows-timeline.js";import{LOCATIONS_SECTION_TO_BOX as z}from"./section-to-box-rows-locations.js";import{HEAD_ONLY_SECTION_TO_BOX as K}from"./section-to-box-rows-head.js";import{PAGE_HEADER_SECTION_TO_BOX as Y}from"./section-to-box-rows-pageheader.js";import{DOCBODY_SECTION_TO_BOX as j}from"./section-to-box-rows-docbody.js";import{fluidToken as U,headTree as w,token as r}from"./section-head-looks.js";const T={top:72,bottom:72,topPhone:72,bottomPhone:72},q={name:"Editorial Text",boxProps:e=>({...p,direction:"column",gap:28,gapPhone:28,sectionBorder:{top:1},...u(e,T)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,...b(T)],parts:[w("Prose"),{kind:"text",key:"body",props:m,style:{textStyle:"body-1",...r("body",16),lineHeight:1.7,paragraphSpacing:18}}],drop:{...s,...c,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (the live export, 2026-10-24)"}},k={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},O=(e,o)=>o?.variant==="primary",_=(e,o)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",when:O,variant:"primary",style:{letterSpacing:.3},props:{...g,...k,...o}},{kind:"button",key:"label",href:"href",when:(i,a)=>!O(i,a),variant:"ghost",style:{letterSpacing:.3},props:(i,a)=>({...g,...k,...o,...A(i,a)})}]}),h=e=>v(e.title),J={name:"Call-to-Action Heading",boxProps:e=>({...p,direction:"row",align:"center",justify:h(e)?"between":"end",gap:60,gapPhone:60,share:"content",sectionBorder:{bottom:1},...S(e,"TitleWithButtons")}),box:[...d,...f("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:{...t,maxWidth:1e3,widthFitPhone:"fill"},parts:[{kind:"text",key:"title",role:"heading",props:l,style:{textStyle:"heading-1",...U("headingLarge",48,7,108),case:"upper",lineHeight:.94,letterSpacing:-.035}}]},{kind:"group",name:"Buttons",props:e=>({...t,gap:14,gapPhone:14,widthFitPhone:"fill",...h(e)?{minWidth:280,minWidthPhone:0}:{}}),parts:[_(h,{widthFit:"fill",iconPosition:"end"}),_(e=>!h(e),{})]}],drop:{...s,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (the live export, 2026-10-24)",buttonsAlignPhone:"the phone's own side of `buttonsAlign`, read only with no heading; no old node stores it (it is new with the Phone view's Block alignment row), so nothing moves"}};function Q(e){const{siteGutter:o,siteGutterPhone:i}=e.site??{},a=L(o),y=Math.min(20,C(i)??D(o));return{sectionPaddingLeft:a,sectionPaddingRight:a,sectionPaddingLeftPhone:y,sectionPaddingRightPhone:y}}const B={top:40,bottom:64,topPhone:24,bottomPhone:36},V={name:"Section Header",boxProps:(e,o)=>({...p,direction:"column",gap:0,...u(e,B),...Q(o)}),box:[...d,...b(B)],parts:[w("SectionHeader")],drop:{...s,...c,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (the live export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},x={...t,direction:"row",share:"bigLeft",gap:30},E={...t,sectionPaddingLeft:30,sectionPaddingLeftPhone:0},N=(e,o,i)=>({kind:"group",name:e,props:o,parts:[i]}),Z={name:"Lead Text",boxProps:e=>({...p,direction:"column",gap:40,gapPhone:40,sectionBorder:{bottom:1},...S(e,"ParagraphsA")}),box:[...d,...f("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...x,gapPhone:24,sectionBorder:{bottom:1},sectionPaddingBottom:40,sectionPaddingBottomPhone:40},parts:[{kind:"group",name:"Eyebrow",props:{...t,sectionPaddingTop:5,sectionPaddingBottom:1,sectionPaddingTopPhone:5,sectionPaddingBottomPhone:1},parts:[P("eyebrow",{color:"labels",...r("label",12),letterSpacing:.24})]},N("Stats column",t,{kind:"group",name:"Stats",props:{...E,gap:0,gapPhone:0},parts:[{kind:"list",key:"stats",name:"Stat",flat:!0,parts:[H("value","label",{...r("label",13),letterSpacing:.18,lineHeight:1.8})]}]})]},{kind:"group",name:"Words",props:{...x,gapPhone:28},parts:[{kind:"group",name:"Lead",props:t,parts:[{kind:"group",name:"Measure",props:{...t,maxWidth:780},parts:[{kind:"text",key:"lead",props:l,style:{textStyle:"heading-3",...r("headingSmall",22,20),weight:400,case:"none",lineHeight:1.45,letterSpacing:-.005}}]}]},N("Note column",{...t,justify:"end",widthFit:"fill"},{kind:"group",name:"Founders",props:{...E,gap:8,gapPhone:8},parts:[{kind:"group",name:"Note",props:{...t,gap:6,gapPhone:6},parts:[{kind:"text",key:"foundersHeading",props:l,style:{textStyle:"body-1",fontRole:"heading",...r("body",18,16),weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:m,style:{textStyle:"body-5",fontRole:"heading",...r("body",14,12),lineHeight:1.7}}]},P("attribution",{...r("label",12,10),letterSpacing:.24,lineHeight:1.7})]})]}],drop:{...s}},I={top:24,bottom:24,topPhone:24,bottomPhone:24},$={name:"Banner",boxProps:e=>({...p,direction:"column",gap:0,...u(e,I)}),box:[...d,"contained",...b(I)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...t,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(W(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...t,gap:20},parts:[P("eyebrow"),{kind:"text",key:"title",role:"heading",props:{...l,maxWidth:680},style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none"}},{kind:"text",key:"body",props:{...m,maxWidth:680},style:{textStyle:"body-1",lineHeight:1.6},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],drop:{...s,...c}},ee={Prose:q,TitleWithButtons:J,SectionHeader:V,ParagraphsA:Z,Banner:$};function Pe(){n(ee),n(X),n(G),n(R),n(M),n(F),n(z),n(K),n(Y),n(j)}export{ee as GENERAL_SECTION_TO_BOX,Pe as registerGeneralSectionRows};
1
+ import{hasWords as v,registerSectionToBox as o}from"../../../sections/section-to-box.js";import{BUTTON as g,DIM as m,DROP_COMMON as s,DROP_SIDE_PADDING as c,INNER_BOX as t,leadLine as A,SAME_KEYS as d,SECTION_BOX as p,lineBorder as H,TEXT as l,innerPad as f,siteGutterOf as R,innerPadKeys as S,smallText as P,wrapperPad as u,wrapperPadKeys as b}from"./section-to-box-row-parts.js";import{CARDS_SECTION_TO_BOX as L}from"./section-to-box-rows-cards.js";import{normalizeSiteGutterPhone as C,siteGutterPhoneFollows as D}from"../../../../../format/lib/content/page-width.js";import{finiteNumber as W}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as X}from"./section-to-box-rows-stats.js";import{LOGOS_SECTION_TO_BOX as G}from"./section-to-box-rows-logos.js";import{STRIP_SECTION_TO_BOX as M}from"./section-to-box-rows-strip.js";import{TIMELINE_SECTION_TO_BOX as F}from"./section-to-box-rows-timeline.js";import{LOCATIONS_SECTION_TO_BOX as z}from"./section-to-box-rows-locations.js";import{HEAD_ONLY_SECTION_TO_BOX as K}from"./section-to-box-rows-head.js";import{PAGE_HEADER_SECTION_TO_BOX as Y}from"./section-to-box-rows-pageheader.js";import{DOCBODY_SECTION_TO_BOX as j}from"./section-to-box-rows-docbody.js";import{EDITORIAL_SECTION_TO_BOX as U}from"./section-to-box-rows-editorial.js";import{fluidToken as q,headTree as O,token as r}from"./section-head-looks.js";const T={top:72,bottom:72,topPhone:72,bottomPhone:72},J={name:"Editorial Text",boxProps:e=>({...p,direction:"column",gap:28,gapPhone:28,sectionBorder:{top:1},...u(e,T)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,...b(T)],parts:[O("Prose"),{kind:"text",key:"body",props:m,style:{textStyle:"body-1",...r("body",16),lineHeight:1.7,paragraphSpacing:18}}],drop:{...s,...c,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (the live export, 2026-10-24)"}},w={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},k=(e,n)=>n?.variant==="primary",_=(e,n)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",when:k,variant:"primary",style:{letterSpacing:.3},props:{...g,...w,...n}},{kind:"button",key:"label",href:"href",when:(i,a)=>!k(i,a),variant:"ghost",style:{letterSpacing:.3},props:(i,a)=>({...g,...w,...n,...H(i,a)})}]}),h=e=>v(e.title),Q={name:"Call-to-Action Heading",boxProps:e=>({...p,direction:"row",align:"center",justify:h(e)?"between":"end",gap:60,gapPhone:60,share:"content",sectionBorder:{bottom:1},...f(e,"TitleWithButtons")}),box:[...d,...S("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:{...t,maxWidth:1e3,widthFitPhone:"fill"},parts:[{kind:"text",key:"title",role:"heading",props:l,style:{textStyle:"heading-1",...q("headingLarge",48,7,108),case:"upper",lineHeight:.94,letterSpacing:-.035}}]},{kind:"group",name:"Buttons",props:e=>({...t,gap:14,gapPhone:14,widthFitPhone:"fill",...h(e)?{minWidth:280,minWidthPhone:0}:{}}),parts:[_(h,{widthFit:"fill",iconPosition:"end"}),_(e=>!h(e),{})]}],drop:{...s,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (the live export, 2026-10-24)",buttonsAlignPhone:"the phone's own side of `buttonsAlign`, read only with no heading; no old node stores it (it is new with the Phone view's Block alignment row), so nothing moves"}};function V(e){const{siteGutter:n,siteGutterPhone:i}=e.site??{},a=R(e),y=Math.min(20,C(i)??D(n));return{sectionPaddingLeft:a,sectionPaddingRight:a,sectionPaddingLeftPhone:y,sectionPaddingRightPhone:y}}const B={top:40,bottom:64,topPhone:24,bottomPhone:36},Z={name:"Section Header",boxProps:(e,n)=>({...p,direction:"column",gap:0,...u(e,B),...V(n)}),box:[...d,...b(B)],parts:[O("SectionHeader")],drop:{...s,...c,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (the live export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},x={...t,direction:"row",share:"bigLeft",gap:30},E={...t,sectionPaddingLeft:30,sectionPaddingLeftPhone:0},N=(e,n,i)=>({kind:"group",name:e,props:n,parts:[i]}),$={name:"Lead Text",boxProps:e=>({...p,direction:"column",gap:40,gapPhone:40,sectionBorder:{bottom:1},...f(e,"ParagraphsA")}),box:[...d,...S("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...x,gapPhone:24,sectionBorder:{bottom:1},sectionPaddingBottom:40,sectionPaddingBottomPhone:40},parts:[{kind:"group",name:"Eyebrow",props:{...t,sectionPaddingTop:5,sectionPaddingBottom:1,sectionPaddingTopPhone:5,sectionPaddingBottomPhone:1},parts:[P("eyebrow",{color:"labels",...r("label",12),letterSpacing:.24})]},N("Stats column",t,{kind:"group",name:"Stats",props:{...E,gap:0,gapPhone:0},parts:[{kind:"list",key:"stats",name:"Stat",flat:!0,parts:[A("value","label",{...r("label",13),letterSpacing:.18,lineHeight:1.8})]}]})]},{kind:"group",name:"Words",props:{...x,gapPhone:28},parts:[{kind:"group",name:"Lead",props:t,parts:[{kind:"group",name:"Measure",props:{...t,maxWidth:780},parts:[{kind:"text",key:"lead",props:l,style:{textStyle:"heading-3",...r("headingSmall",22,20),weight:400,case:"none",lineHeight:1.45,letterSpacing:-.005}}]}]},N("Note column",{...t,justify:"end",widthFit:"fill"},{kind:"group",name:"Founders",props:{...E,gap:8,gapPhone:8},parts:[{kind:"group",name:"Note",props:{...t,gap:6,gapPhone:6},parts:[{kind:"text",key:"foundersHeading",props:l,style:{textStyle:"body-1",fontRole:"heading",...r("body",18,16),weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:m,style:{textStyle:"body-5",fontRole:"heading",...r("body",14,12),lineHeight:1.7}}]},P("attribution",{...r("label",12,10),letterSpacing:.24,lineHeight:1.7})]})]}],drop:{...s}},I={top:24,bottom:24,topPhone:24,bottomPhone:24},ee={name:"Banner",boxProps:e=>({...p,direction:"column",gap:0,...u(e,I)}),box:[...d,"contained",...b(I)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...t,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(W(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...t,gap:20},parts:[P("eyebrow"),{kind:"text",key:"title",role:"heading",props:{...l,maxWidth:680},style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none"}},{kind:"text",key:"body",props:{...m,maxWidth:680},style:{textStyle:"body-1",lineHeight:1.6},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:g}]}],drop:{...s,...c}},te={Prose:J,TitleWithButtons:Q,SectionHeader:Z,ParagraphsA:$,Banner:ee};function be(){o(te),o(X),o(G),o(L),o(M),o(F),o(z),o(K),o(Y),o(j),o(U)}export{te as GENERAL_SECTION_TO_BOX,be as registerGeneralSectionRows};
@@ -119,7 +119,7 @@ type PartRowKind = {
119
119
  size: number;
120
120
  sizePhone?: number;
121
121
  };
122
- mark?: "accentLead";
122
+ mark?: "accentLead" | "accentItalic";
123
123
  } | {
124
124
  kind: "button";
125
125
  key: string;
@@ -176,10 +176,12 @@ export declare function sectionBoxIdOf(oldId: string, piece: number): string;
176
176
  export declare function registerBoxNativeSections(types: Readonly<Record<string, string>>): void;
177
177
  export declare function boxNativeReason(type: string): string | undefined;
178
178
  export declare const SECTION_TO_BOX_ON: readonly string[];
179
+ export declare const SECTION_TO_BOX_PRESS: readonly string[];
179
180
  export declare function registerSectionToBox(rows: Readonly<Record<string, SectionToBoxRow>>): void;
180
181
  export declare function sectionToBoxRow(type: string): SectionToBoxRow | undefined;
181
182
  export declare function sectionToBoxTypes(): string[];
182
183
  export declare function convertsToBox(type: string): boolean;
184
+ export declare function pressesAsBox(type: string, press?: readonly string[]): boolean;
183
185
  export declare function headParts(type: string): PartRow[];
184
186
  export declare const hasWords: (v: unknown) => boolean;
185
187
  export declare function convertSection(node: SectionNode, row: SectionToBoxRow, ctx?: ConvertContext): SectionConversion;
@@ -1 +1 @@
1
- import{readHidable as Z}from"efficient-easel/draw";import{BOX_TYPE as ee,CONTAINER_BLOCKS_SLOT as te}from"../../../format/lib/document/container-blocks.js";import{headingTextSeed as oe,labelTextSeed as ne}from"../../../format/lib/document/text-seeds.js";import{SPLITTABLE_SECTIONS as se}from"../../../format/lib/sections/section-head-placement.js";import{finiteNumber as R}from"../../../format/lib/finite-number.js";import{bucketByGroup as re}from"../../../format/lib/locations-grid.js";import{normalizeTheme as V}from"../../../format/lib/theme.js";const _=ee,P=te;function ge(t){if(t.theme)return V(t.theme);const o=t.site?.themePresets;return o?V({selected:t.site?.selectedPreset??0,themes:[...o]}):void 0}function ie(t,o){return o===0?`${t}~box`:`${t}~box-${o+1}`}const A={Flex:"the Box itself",Hero:"its slides hold Boxes of real blocks (Hero › Slide › Box)",Divider:"one block with no text, picture or button",CustomHTML:"the HTML box is the whole section; it has no parts"};function xe(t){for(const[o,r]of Object.entries(t)){if(o in A&&A[o]!==r)throw new Error(`lib/sections/section-to-box: "${o}" is already Box-native`);A[o]=r}}function we(t){return A[t]}const Y=new Set(["id"]),j={},H=[];function $e(t){for(const[o,r]of Object.entries(t)){if(o in j&&j[o]!==r)throw new Error(`lib/sections/section-to-box: "${o}" already has a row`);j[o]=r}}function Oe(t){return j[t]}function Se(){return Object.keys(j)}function Be(t){return t in j&&H.includes(t)}function Te(t){const o=se[t];if(!o)throw new Error(`lib/sections/section-to-box: "${t}" has no head row in SPLITTABLE_SECTIONS`);const r=[{kind:"text",key:o.num,role:"eyebrow"},{kind:"text",key:o.title,role:"heading"}];return o.description&&r.push({kind:"text",key:o.description,role:"body"}),o.headRows.includes("linkText")&&o.headRows.includes("linkHref")&&r.push({kind:"button",key:"linkText",href:"linkHref"}),r}const F=t=>Z(t),_e=t=>F(t).text.trim()!=="";function ae(t){if(t.includes("=="))return t;const o=t.indexOf("/"),r=o===-1?t:t.slice(0,o),i=r.trim();if(!i)return t;const h=r.indexOf(i);return`${r.slice(0,h)}==${i}==${r.slice(h+i.length)}${o===-1?"":t.slice(o)}`}const ce=t=>t==="heading"?oe():t==="eyebrow"?ne():{};function fe(t,o,r,i){const c={...t._partStyles?.text??{},...o??{},...r??{}};return(i==="center"||i==="right")&&c.align===void 0&&(c.align=i),Object.keys(c).length?{_partStyles:{text:c}}:{}}function le(t,o){if(t===void 0)return{};if(typeof t=="string")return{variant:t};const r=o[t.key];return{variant:typeof r=="string"&&Object.hasOwn(t.map,r)?t.map[r]:t.fallback}}function D(t,o,r,i,h={}){const c={...o};for(const y of t){const[g,S,v]=typeof y=="string"?[y,y,void 0]:y;if(r[g]===void 0)continue;const B=v?v(r[g],r,h):r[g];B===void 0?delete c[S]:c[S]=B,i(g,S,B===void 0)}return c}function de(t){const o=new Set([...Y,"headPlacement","_partStyles",...Object.keys(t.drop??{}),...Object.keys(t.reads??{})]),r=h=>{for(const c of h??[])o.add(typeof c=="string"?c:c[0])},i=h=>{for(const c of h)switch(c.kind){case"text":case"image":o.add(c.key),c.kind==="image"&&c.alt&&o.add(c.alt);break;case"button":o.add(c.key),o.add(c.href),typeof c.variant=="object"&&o.add(c.variant.key);break;case"list":o.add(c.key);break;case"group":case"block":r(c.box),i(c.parts??[]);break;case"core":c.keep!=="rest"&&c.keep.forEach(y=>o.add(y)),Object.keys(c.rename??{}).forEach(y=>o.add(y));for(const y of Object.values(c.slots??{}))for(const g of y)"kind"in g&&o.add(g.key);break}};for(const h of[t,...t.also??[]])r(h.box),i(h.parts);return o}function q(t,o,r={}){const i=t.props,h=o.skip?.(i);if(h!==void 0)return{node:t,nodes:[t],carried:[],dropped:[],siteWrites:[],restyled:[],skipped:h};const c=String(i.id??t.type),y=[],g=[],S=[],v=new Set,B=(n,s)=>{y.push({key:n,home:s}),v.add(n)},X=i._partStyles??{},L=de(o);let J=0;const w=(n,s)=>({type:n,props:{...s,id:`${c}~${n}-${++J}`}}),K=(n,s,b,u,x,l,$)=>{if(x){for(const a of n??[]){const p=typeof a=="string"?a:a[0];b[p]!==void 0&&$(p,`nothing — the ${u} has no parts, so it is not drawn`)}return}const e=typeof s=="function"?s(i,r):s??{};return D(n??[],e,b,(a,p,f)=>$(a,f?`nothing — the old value draws nothing (${u}: no ${p})`:`${l}${u}: ${p}`),r)},M=n=>n.map(s=>{const b={...s.props??{}};for(const[u,x]of Object.entries(s.slots??{}))b[u]=M(x);return w(s.type,b)}),W=(n,s,b)=>{const u=n.of?n.of(s):Array.isArray(s[n.key])?s[n.key]:[],x=typeof n.props=="function"?n.props(i,r):n.props??{},l=u.map((f,d)=>{const k=f??{},m=n.item?.(k,d,i)??{},E=N(m.reverse?[...n.parts].reverse():n.parts,k,!1,`item ${d+1}: `);return n.flat?m.props?E.map(T=>({...T,props:{...T.props,...m.props,id:T.props.id}})):E:[w(_,{name:`${n.name} ${d+1}`,...x,...m.props??{},[P]:E})]});if(n.groups){const f=n.groups;return b(n.key,u.length?`one Box per item (${u.length}), in a Box per group`:"nothing — the list is empty"),re(u.map(d=>d??{}),f.of,f.of).map((d,k)=>{const m=d.items.map(O=>O.item),E=f.parts?N(f.parts,f.head?.(m,i)??{},!1,`group ${k+1}: `):[],T=d.items.map(O=>l[O.index]),z=f.perRow?.(m.length,i),I=Number.isInteger(z)&&z>=1?z:1,C=[];if(f.perRow&&I<T.length)for(let O=0;O*I<T.length;O++)C.push(T.slice(O*I,(O+1)*I).flat());return w(_,{name:`${f.name} ${k+1}`,...f.props??{},[P]:[...E,w(_,{name:`${f.itemsName} ${k+1}`,...f.itemsProps?.(m.length,i)??{},[P]:C.length?C.map((O,U)=>w(_,{name:`${f.rowName??`${f.itemsName} row`} ${U+1}`,...f.rowProps??{},[P]:O})):T.flat()})]})})}const $=n.perRow?.(i),e=n.perRow?Number.isInteger($)&&$>=1?$:1:0;if(b(n.key,(u.length?n.flat?`each item's parts (${u.length} items), in order`:`one Box per item (${u.length}), its parts inside`:"nothing — the list is empty")+(e&&u.length?`, in rows of ${e}`:"")),!e)return l.flat();const a=typeof n.rowProps=="function"?n.rowProps(i,r):n.rowProps??{},p=[];for(let f=0;f*e<l.length;f++){const d=l.slice(f*e,(f+1)*e).flat(),k=n.rowFiller?e-l.slice(f*e,(f+1)*e).length:0;p.push(w(_,{name:`${n.rowName??`${n.name} row`} ${f+1}`,...a,[P]:[...d,...Array.from({length:k},(m,E)=>w(_,{name:`Empty ${E+1}`,...n.rowFiller,[P]:[]}))]}))}return p},N=(n,s,b,u)=>{const x=[],l=(e,a)=>b?B(e,a):void 0,$=e=>b?X[e]:void 0;for(const e of n)if(!(e.when&&!e.when(i,b?void 0:s)))switch(e.kind){case"text":{const a=F(s[e.key]);if(!a.text.trim()){l(e.key,"nothing — empty words draw nothing, so no block");break}const p=ce(e.role??"body"),{_partStyles:f,...d}=p,k=fe(p,e.styleFrom?{...e.style,...e.styleFrom(i,r)}:e.style,$(e.key),e.props?.align);if(e.was&&b){const m=k._partStyles?.text??{};S.push({key:e.key,was:e.was,...typeof m.textStyle=="string"?{textStyle:m.textStyle}:{},...R(m.size)!==void 0?{size:R(m.size)}:{},...R(m.sizePhone)!==void 0?{sizePhone:R(m.sizePhone)}:{}})}x.push(w("Text",{text:e.mark==="accentLead"?ae(a.text):a.text,...d,...e.props??{},...k,...a.hidden?{_hidden:!0}:{}})),l(e.key,`${u}Text block: its words${a.hidden?", hidden":""}`);break}case"button":{const a=F(s[e.key]);if(!a.text.trim()){l(e.key,"nothing — no words, no button"),l(e.href,"nothing — no button to link"),typeof e.variant=="object"&&l(e.variant.key,"nothing — no button to style");break}const p=typeof s[e.href]=="string"&&s[e.href]?s[e.href]:"#",f={...e.style??{},...$(e.key)??{}};x.push(w("ButtonBlock",{label:a.text,href:p,...typeof e.props=="function"?e.props(s,r):e.props??{},...le(e.variant,s),...Object.keys(f).length?{_partStyles:{label:f}}:{},...a.hidden?{_hidden:!0}:{}})),l(e.key,`${u}Button block: its words`),l(e.href,`${u}Button block: its link`),typeof e.variant=="object"&&l(e.variant.key,`${u}Button block: its Style`);break}case"image":{const a=s[e.key];if(typeof a!="string"||!a){l(e.key,"nothing — no picture, no block"),e.alt&&l(e.alt,"nothing — no picture to describe");break}const p=e.alt&&typeof s[e.alt]=="string"?s[e.alt]:"";x.push(w("ImageBlock",{src:a,alt:p,...e.props??{}})),l(e.key,`${u}Image block: its picture`),e.alt&&l(e.alt,`${u}Image block: its alt text`);break}case"list":{x.push(...W(e,s,l));break}case"group":{const a=N(e.parts,s,b,u),p=K(e.box,e.props,s,`${e.name} Box`,!a.length&&!e.keepEmpty,u,l);p&&x.push(w(_,{name:e.name,...p,[P]:a}));break}case"block":{const a=e.parts?N(e.parts,s,b,u):[],p=K(e.box,e.props,s,`${e.type} block`,!!e.parts&&!a.length&&!e.keepEmpty,u,l);p&&x.push(w(e.type,{...p,...e.slot?{[e.slot]:a}:{}}));break}case"core":{const a=e.as??t.type,p={headPlacement:"own-box",...e.props??{}},f=e.keep==="rest"?Object.keys(s).filter(d=>!L.has(d)&&!(d in p)):e.keep;for(const d of f)s[d]!==void 0&&(p[d]=s[d],l(d,`the ${a} block inside the Box`));if(e.keep==="rest"){for(const k of Object.keys(e.props??{}))s[k]!==void 0&&!L.has(k)&&l(k,`nothing — the ${a} block inside the Box has the row's own value`);s.headPlacement!==void 0&&l("headPlacement",`the ${a} block inside the Box: own-box`);const d=Object.fromEntries(Object.entries(X).filter(([k])=>!L.has(k)));Object.keys(d).length&&(p._partStyles=d)}for(const[d,k]of Object.entries(e.rename??{}))s[d]!==void 0&&(p[k]=s[d],l(d,`the ${a} block inside the Box: ${k}`));for(const[d,k]of Object.entries(e.slots??{}))p[d]=k.flatMap(m=>"kind"in m?W(m,s,l):M([m]));x.push(w(a,p));break}}return x},Q=(n,s)=>{const b=s===0?"Box":`${n.name} Box`,u=N(n.parts,i,!0,s===0?"":`${b}: `),x=typeof n.boxProps=="function"?n.boxProps(i,r):n.boxProps??{},l=D(n.box??[],x,i,($,e,a)=>B($,a?`nothing — the old value draws nothing (${b}: no ${e})`:`${b}: ${e}`),r);return{type:_,props:{name:n.name,...l,[P]:u,id:ie(c,s)}}},G=[o,...o.also??[]].map(Q);i._partStyles!==void 0&&B("_partStyles","each old part's style moved to its new part");for(const[n,s]of Object.entries(o.reads??{}))i[n]!==void 0&&B(n,s);for(const[n,s]of Object.entries(o.drop??{}))n in i&&(g.push({key:n,why:s}),v.add(n));for(const n of Object.keys(i))Y.has(n)||v.has(n)||g.push({key:n,why:"not in the row — not carried"});return{node:G[0],nodes:G,carried:y,dropped:g,siteWrites:[...o.site?.(t,r)??[]],restyled:S}}function Pe(t,o=H,r={}){const i=t.content;if(!Array.isArray(i))return t;let h=!1;const c=i.flatMap(y=>{const g=y&&typeof y.type=="string"&&o.includes(y.type)?j[y.type]:void 0;if(!g)return[y];const S=q(y,g,r);return S.skipped!==void 0?[y]:(h=!0,S.nodes)});return h?{...t,content:c}:t}function je(t,o=H,r={}){if(!Array.isArray(t))return[];const i=[];return t.forEach((h,c)=>{const y=h&&typeof h.type=="string"&&o.includes(h.type)?j[h.type]:void 0;if(!y)return;const g=q(h,y,r);g.skipped===void 0&&i.push({index:c,node:g.node,nodes:g.nodes})}),i}export{P as SECTION_BOX_SLOT,_ as SECTION_BOX_TYPE,H as SECTION_TO_BOX_ON,we as boxNativeReason,q as convertSection,Pe as convertSectionsInPage,ge as convertTheme,Be as convertsToBox,_e as hasWords,Te as headParts,xe as registerBoxNativeSections,$e as registerSectionToBox,ie as sectionBoxIdOf,je as sectionToBoxEdits,Oe as sectionToBoxRow,Se as sectionToBoxTypes};
1
+ import{readHidable as Z}from"efficient-easel/draw";import{BOX_TYPE as ee,CONTAINER_BLOCKS_SLOT as te}from"../../../format/lib/document/container-blocks.js";import{headingTextSeed as oe,labelTextSeed as ne}from"../../../format/lib/document/text-seeds.js";import{SPLITTABLE_SECTIONS as se}from"../../../format/lib/sections/section-head-placement.js";import{finiteNumber as R}from"../../../format/lib/finite-number.js";import{bucketByGroup as re}from"../../../format/lib/locations-grid.js";import{normalizeTheme as V}from"../../../format/lib/theme.js";const P=ee,E=te;function $e(t){if(t.theme)return V(t.theme);const o=t.site?.themePresets;return o?V({selected:t.site?.selectedPreset??0,themes:[...o]}):void 0}function ie(t,o){return o===0?`${t}~box`:`${t}~box-${o+1}`}const A={Flex:"the Box itself",Hero:"its slides hold Boxes of real blocks (Hero › Slide › Box)",Divider:"one block with no text, picture or button",CustomHTML:"the HTML box is the whole section; it has no parts"};function Oe(t){for(const[o,r]of Object.entries(t)){if(o in A&&A[o]!==r)throw new Error(`lib/sections/section-to-box: "${o}" is already Box-native`);A[o]=r}}function Se(t){return A[t]}const Y=new Set(["id"]),B={},H=[],ce=[];function Be(t){for(const[o,r]of Object.entries(t)){if(o in B&&B[o]!==r)throw new Error(`lib/sections/section-to-box: "${o}" already has a row`);B[o]=r}}function Te(t){return B[t]}function _e(){return Object.keys(B)}function ae(t){return t in B&&H.includes(t)}function Pe(t,o=ce){return t in B&&(o.includes(t)||ae(t))}function Ee(t){const o=se[t];if(!o)throw new Error(`lib/sections/section-to-box: "${t}" has no head row in SPLITTABLE_SECTIONS`);const r=[{kind:"text",key:o.num,role:"eyebrow"},{kind:"text",key:o.title,role:"heading"}];return o.description&&r.push({kind:"text",key:o.description,role:"body"}),o.headRows.includes("linkText")&&o.headRows.includes("linkHref")&&r.push({kind:"button",key:"linkText",href:"linkHref"}),r}const W=t=>Z(t),je=t=>W(t).text.trim()!=="";function fe(t){return t.replace(/==(.+?)==/g,(o,r)=>r.startsWith("_")&&r.endsWith("_")?o:`==_${r}_==`)}function le(t){if(t.includes("=="))return t;const o=t.indexOf("/"),r=o===-1?t:t.slice(0,o),i=r.trim();if(!i)return t;const h=r.indexOf(i);return`${r.slice(0,h)}==${i}==${r.slice(h+i.length)}${o===-1?"":t.slice(o)}`}const de=t=>t==="heading"?oe():t==="eyebrow"?ne():{};function pe(t,o,r,i){const a={...t._partStyles?.text??{},...o??{},...r??{}};return(i==="center"||i==="right")&&a.align===void 0&&(a.align=i),Object.keys(a).length?{_partStyles:{text:a}}:{}}function ue(t,o){if(t===void 0)return{};if(typeof t=="string")return{variant:t};const r=o[t.key];return{variant:typeof r=="string"&&Object.hasOwn(t.map,r)?t.map[r]:t.fallback}}function D(t,o,r,i,h={}){const a={...o};for(const y of t){const[x,S,v]=typeof y=="string"?[y,y,void 0]:y;if(r[x]===void 0)continue;const T=v?v(r[x],r,h):r[x];T===void 0?delete a[S]:a[S]=T,i(x,S,T===void 0)}return a}function he(t){const o=new Set([...Y,"headPlacement","_partStyles",...Object.keys(t.drop??{}),...Object.keys(t.reads??{})]),r=h=>{for(const a of h??[])o.add(typeof a=="string"?a:a[0])},i=h=>{for(const a of h)switch(a.kind){case"text":case"image":o.add(a.key),a.kind==="image"&&a.alt&&o.add(a.alt);break;case"button":o.add(a.key),o.add(a.href),typeof a.variant=="object"&&o.add(a.variant.key);break;case"list":o.add(a.key);break;case"group":case"block":r(a.box),i(a.parts??[]);break;case"core":a.keep!=="rest"&&a.keep.forEach(y=>o.add(y)),Object.keys(a.rename??{}).forEach(y=>o.add(y));for(const y of Object.values(a.slots??{}))for(const x of y)"kind"in x&&o.add(x.key);break}};for(const h of[t,...t.also??[]])r(h.box),i(h.parts);return o}function q(t,o,r={}){const i=t.props,h=o.skip?.(i);if(h!==void 0)return{node:t,nodes:[t],carried:[],dropped:[],siteWrites:[],restyled:[],skipped:h};const a=String(i.id??t.type),y=[],x=[],S=[],v=new Set,T=(n,s)=>{y.push({key:n,home:s}),v.add(n)},X=i._partStyles??{},L=he(o);let J=0;const w=(n,s)=>({type:n,props:{...s,id:`${a}~${n}-${++J}`}}),F=(n,s,b,u,g,l,$)=>{if(g){for(const c of n??[]){const p=typeof c=="string"?c:c[0];b[p]!==void 0&&$(p,`nothing — the ${u} has no parts, so it is not drawn`)}return}const e=typeof s=="function"?s(i,r):s??{};return D(n??[],e,b,(c,p,f)=>$(c,f?`nothing — the old value draws nothing (${u}: no ${p})`:`${l}${u}: ${p}`),r)},K=n=>n.map(s=>{const b={...s.props??{}};for(const[u,g]of Object.entries(s.slots??{}))b[u]=K(g);return w(s.type,b)}),M=(n,s,b)=>{const u=n.of?n.of(s):Array.isArray(s[n.key])?s[n.key]:[],g=typeof n.props=="function"?n.props(i,r):n.props??{},l=u.map((f,d)=>{const k=f??{},m=n.item?.(k,d,i)??{},j=I(m.reverse?[...n.parts].reverse():n.parts,k,!1,`item ${d+1}: `);return n.flat?m.props?j.map(_=>({..._,props:{..._.props,...m.props,id:_.props.id}})):j:[w(P,{name:`${n.name} ${d+1}`,...g,...m.props??{},[E]:j})]});if(n.groups){const f=n.groups;return b(n.key,u.length?`one Box per item (${u.length}), in a Box per group`:"nothing — the list is empty"),re(u.map(d=>d??{}),f.of,f.of).map((d,k)=>{const m=d.items.map(O=>O.item),j=f.parts?I(f.parts,f.head?.(m,i)??{},!1,`group ${k+1}: `):[],_=d.items.map(O=>l[O.index]),z=f.perRow?.(m.length,i),N=Number.isInteger(z)&&z>=1?z:1,C=[];if(f.perRow&&N<_.length)for(let O=0;O*N<_.length;O++)C.push(_.slice(O*N,(O+1)*N).flat());return w(P,{name:`${f.name} ${k+1}`,...f.props??{},[E]:[...j,w(P,{name:`${f.itemsName} ${k+1}`,...f.itemsProps?.(m.length,i)??{},[E]:C.length?C.map((O,U)=>w(P,{name:`${f.rowName??`${f.itemsName} row`} ${U+1}`,...f.rowProps??{},[E]:O})):_.flat()})]})})}const $=n.perRow?.(i),e=n.perRow?Number.isInteger($)&&$>=1?$:1:0;if(b(n.key,(u.length?n.flat?`each item's parts (${u.length} items), in order`:`one Box per item (${u.length}), its parts inside`:"nothing — the list is empty")+(e&&u.length?`, in rows of ${e}`:"")),!e)return l.flat();const c=typeof n.rowProps=="function"?n.rowProps(i,r):n.rowProps??{},p=[];for(let f=0;f*e<l.length;f++){const d=l.slice(f*e,(f+1)*e).flat(),k=n.rowFiller?e-l.slice(f*e,(f+1)*e).length:0;p.push(w(P,{name:`${n.rowName??`${n.name} row`} ${f+1}`,...c,[E]:[...d,...Array.from({length:k},(m,j)=>w(P,{name:`Empty ${j+1}`,...n.rowFiller,[E]:[]}))]}))}return p},I=(n,s,b,u)=>{const g=[],l=(e,c)=>b?T(e,c):void 0,$=e=>b?X[e]:void 0;for(const e of n)if(!(e.when&&!e.when(i,b?void 0:s)))switch(e.kind){case"text":{const c=W(s[e.key]);if(!c.text.trim()){l(e.key,"nothing — empty words draw nothing, so no block");break}const p=de(e.role??"body"),{_partStyles:f,...d}=p,k=pe(p,e.styleFrom?{...e.style,...e.styleFrom(i,r)}:e.style,$(e.key),e.props?.align);if(e.was&&b){const m=k._partStyles?.text??{};S.push({key:e.key,was:e.was,...typeof m.textStyle=="string"?{textStyle:m.textStyle}:{},...R(m.size)!==void 0?{size:R(m.size)}:{},...R(m.sizePhone)!==void 0?{sizePhone:R(m.sizePhone)}:{}})}g.push(w("Text",{text:e.mark==="accentLead"?le(c.text):e.mark==="accentItalic"?fe(c.text):c.text,...d,...e.props??{},...k,...c.hidden?{_hidden:!0}:{}})),l(e.key,`${u}Text block: its words${c.hidden?", hidden":""}`);break}case"button":{const c=W(s[e.key]);if(!c.text.trim()){l(e.key,"nothing — no words, no button"),l(e.href,"nothing — no button to link"),typeof e.variant=="object"&&l(e.variant.key,"nothing — no button to style");break}const p=typeof s[e.href]=="string"&&s[e.href]?s[e.href]:"#",f={...e.style??{},...$(e.key)??{}};g.push(w("ButtonBlock",{label:c.text,href:p,...typeof e.props=="function"?e.props(s,r):e.props??{},...ue(e.variant,s),...Object.keys(f).length?{_partStyles:{label:f}}:{},...c.hidden?{_hidden:!0}:{}})),l(e.key,`${u}Button block: its words`),l(e.href,`${u}Button block: its link`),typeof e.variant=="object"&&l(e.variant.key,`${u}Button block: its Style`);break}case"image":{const c=s[e.key];if(typeof c!="string"||!c){l(e.key,"nothing — no picture, no block"),e.alt&&l(e.alt,"nothing — no picture to describe");break}const p=e.alt&&typeof s[e.alt]=="string"?s[e.alt]:"";g.push(w("ImageBlock",{src:c,alt:p,...e.props??{}})),l(e.key,`${u}Image block: its picture`),e.alt&&l(e.alt,`${u}Image block: its alt text`);break}case"list":{g.push(...M(e,s,l));break}case"group":{const c=I(e.parts,s,b,u),p=F(e.box,e.props,s,`${e.name} Box`,!c.length&&!e.keepEmpty,u,l);p&&g.push(w(P,{name:e.name,...p,[E]:c}));break}case"block":{const c=e.parts?I(e.parts,s,b,u):[],p=F(e.box,e.props,s,`${e.type} block`,!!e.parts&&!c.length&&!e.keepEmpty,u,l);p&&g.push(w(e.type,{...p,...e.slot?{[e.slot]:c}:{}}));break}case"core":{const c=e.as??t.type,p={headPlacement:"own-box",...e.props??{}},f=e.keep==="rest"?Object.keys(s).filter(d=>!L.has(d)&&!(d in p)):e.keep;for(const d of f)s[d]!==void 0&&(p[d]=s[d],l(d,`the ${c} block inside the Box`));if(e.keep==="rest"){for(const k of Object.keys(e.props??{}))s[k]!==void 0&&!L.has(k)&&l(k,`nothing — the ${c} block inside the Box has the row's own value`);s.headPlacement!==void 0&&l("headPlacement",`the ${c} block inside the Box: own-box`);const d=Object.fromEntries(Object.entries(X).filter(([k])=>!L.has(k)));Object.keys(d).length&&(p._partStyles=d)}for(const[d,k]of Object.entries(e.rename??{}))s[d]!==void 0&&(p[k]=s[d],l(d,`the ${c} block inside the Box: ${k}`));for(const[d,k]of Object.entries(e.slots??{}))p[d]=k.flatMap(m=>"kind"in m?M(m,s,l):K([m]));g.push(w(c,p));break}}return g},Q=(n,s)=>{const b=s===0?"Box":`${n.name} Box`,u=I(n.parts,i,!0,s===0?"":`${b}: `),g=typeof n.boxProps=="function"?n.boxProps(i,r):n.boxProps??{},l=D(n.box??[],g,i,($,e,c)=>T($,c?`nothing — the old value draws nothing (${b}: no ${e})`:`${b}: ${e}`),r);return{type:P,props:{name:n.name,...l,[E]:u,id:ie(a,s)}}},G=[o,...o.also??[]].map(Q);i._partStyles!==void 0&&T("_partStyles","each old part's style moved to its new part");for(const[n,s]of Object.entries(o.reads??{}))i[n]!==void 0&&T(n,s);for(const[n,s]of Object.entries(o.drop??{}))n in i&&(x.push({key:n,why:s}),v.add(n));for(const n of Object.keys(i))Y.has(n)||v.has(n)||x.push({key:n,why:"not in the row — not carried"});return{node:G[0],nodes:G,carried:y,dropped:x,siteWrites:[...o.site?.(t,r)??[]],restyled:S}}function ve(t,o=H,r={}){const i=t.content;if(!Array.isArray(i))return t;let h=!1;const a=i.flatMap(y=>{const x=y&&typeof y.type=="string"&&o.includes(y.type)?B[y.type]:void 0;if(!x)return[y];const S=q(y,x,r);return S.skipped!==void 0?[y]:(h=!0,S.nodes)});return h?{...t,content:a}:t}function Ie(t,o=H,r={}){if(!Array.isArray(t))return[];const i=[];return t.forEach((h,a)=>{const y=h&&typeof h.type=="string"&&o.includes(h.type)?B[h.type]:void 0;if(!y)return;const x=q(h,y,r);x.skipped===void 0&&i.push({index:a,node:x.node,nodes:x.nodes})}),i}export{E as SECTION_BOX_SLOT,P as SECTION_BOX_TYPE,H as SECTION_TO_BOX_ON,ce as SECTION_TO_BOX_PRESS,Se as boxNativeReason,q as convertSection,ve as convertSectionsInPage,$e as convertTheme,ae as convertsToBox,je as hasWords,Ee as headParts,Pe as pressesAsBox,Oe as registerBoxNativeSections,Be as registerSectionToBox,ie as sectionBoxIdOf,Ie as sectionToBoxEdits,Te as sectionToBoxRow,_e as sectionToBoxTypes};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-web-builder",
3
- "version": "48.1.0",
3
+ "version": "48.2.0",
4
4
  "description": "The EFFICIENT website builder: the website editor, the general sections and the renderer that draws them, compiled. Hostable by any EFFICIENT product; nothing here imports a host.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",