efficient-web-builder 67.0.0 → 67.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 (79) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/editor/components/StorefrontEditor.js +1 -1
  3. package/dist/editor/components/storefront-editor.css +178 -0
  4. package/dist/editor/lib/animation/fields.js +1 -1
  5. package/dist/editor/lib/animation/hover-fields.d.ts +8 -0
  6. package/dist/editor/lib/animation/hover-fields.js +1 -1
  7. package/dist/editor/lib/document/block-offer.d.ts +2 -0
  8. package/dist/editor/lib/document/block-offer.js +1 -1
  9. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  10. package/dist/editor/lib/document/blocks/general/Split/fields.js +1 -1
  11. package/dist/editor/lib/document/box-fields.d.ts +1 -1
  12. package/dist/editor/lib/document/card-display-chips.d.ts +1 -0
  13. package/dist/editor/lib/document/card-display-chips.js +1 -1
  14. package/dist/editor/lib/document/controls.d.ts +4 -12
  15. package/dist/editor/lib/document/controls.js +1 -1
  16. package/dist/editor/lib/document/page-root.js +2 -2
  17. package/dist/editor/lib/document/passes/inspector.js +1 -1
  18. package/dist/editor/lib/sections/section-dry-run.js +2 -2
  19. package/dist/format/lib/animation/hover.d.ts +3 -0
  20. package/dist/format/lib/animation/hover.js +1 -1
  21. package/dist/format/lib/content/box-shape.d.ts +1 -1
  22. package/dist/format/lib/content/container-gap.d.ts +2 -2
  23. package/dist/format/lib/content/container-gap.js +1 -1
  24. package/dist/format/lib/content/css-length.d.ts +17 -1
  25. package/dist/format/lib/content/css-length.js +1 -1
  26. package/dist/format/lib/content/hover-media.d.ts +6 -1
  27. package/dist/format/lib/content/hover-media.js +1 -1
  28. package/dist/format/lib/content/image-treatment.d.ts +3 -0
  29. package/dist/format/lib/content/image-treatment.js +1 -1
  30. package/dist/format/lib/content/page-width.d.ts +3 -3
  31. package/dist/format/lib/content/page-width.js +1 -1
  32. package/dist/format/lib/content/section-min-height.d.ts +11 -1
  33. package/dist/format/lib/content/section-min-height.js +1 -1
  34. package/dist/format/lib/document/blocks/general/Split/meta.d.ts +1 -0
  35. package/dist/format/lib/document/blocks/general/Split/meta.js +2 -2
  36. package/dist/format/lib/document/easel-row-words.d.ts +2 -0
  37. package/dist/format/lib/document/easel-row-words.js +1 -1
  38. package/dist/format/lib/document/passes/types.d.ts +3 -1
  39. package/dist/format/lib/document/section-catalog.d.ts +5 -0
  40. package/dist/format/lib/document/section-catalog.js +10 -2
  41. package/dist/format/lib/editor-words-catalogue.d.ts +7 -0
  42. package/dist/format/lib/editor-words-catalogue.js +3 -3
  43. package/dist/format/lib/fit-words.js +4 -2
  44. package/dist/format/lib/sections/section-presets.js +1 -1
  45. package/dist/format/lib/site-theme-row.d.ts +6 -0
  46. package/dist/format/lib/source-rules/no-hard-coded-option-rows.d.ts +1 -1
  47. package/dist/format/lib/source-rules/no-hard-coded-option-rows.js +1 -1
  48. package/dist/format/lib/source-rules/site-square-by-default.js +1 -1
  49. package/dist/format/lib/theme.d.ts +1 -1
  50. package/dist/format/lib/theme.js +4 -4
  51. package/dist/render/components/CardRowContext.d.ts +3 -1
  52. package/dist/render/components/CardRowContext.js +1 -1
  53. package/dist/render/components/Flex.d.ts +2 -1
  54. package/dist/render/components/Flex.js +1 -1
  55. package/dist/render/components/HoverMediaLayer.d.ts +16 -1
  56. package/dist/render/components/HoverMediaLayer.js +1 -1
  57. package/dist/render/components/ImageBlock.d.ts +1 -1
  58. package/dist/render/components/ImageBlock.js +1 -1
  59. package/dist/render/components/PictureHoverMove.d.ts +1 -0
  60. package/dist/render/components/PictureHoverMove.js +1 -1
  61. package/dist/render/components/PreviewHeaderContext.d.ts +4 -1
  62. package/dist/render/components/PreviewHeaderContext.js +1 -1
  63. package/dist/render/components/ViewHideRoot.d.ts +6 -0
  64. package/dist/render/components/ViewHideRoot.js +1 -1
  65. package/dist/render/lib/content/block-size.d.ts +7 -1
  66. package/dist/render/lib/content/block-size.js +1 -1
  67. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  68. package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
  69. package/dist/render/lib/document/blocks/general/Split/render.js +1 -1
  70. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +6 -1
  71. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  72. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
  73. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  74. package/dist/render/lib/document/passes/block-size.js +1 -1
  75. package/dist/render/lib/document/passes/index.js +1 -1
  76. package/dist/render/lib/document/passes/section-height.d.ts +5 -1
  77. package/dist/render/lib/document/passes/section-height.js +1 -1
  78. package/dist/render/lib/sections/section-to-box.d.ts +2 -0
  79. package/package.json +4 -3
@@ -1 +1 @@
1
- import{MOTION_TIMING as m}from"efficient-shell/format";const d="grayscale(1) contrast(1.03)",y="Black and white";function _(o){return o===!0?{filter:d}:{}}function l(o){const{filter:e}=_(o);return e?{style:{filter:e}}:{}}const r="sf-photo-grayscale",S="data-sf-photo-host",c={duration:"--sf-photo-hover-duration",delay:"--sf-photo-hover-delay"},f=`@media (hover:hover){.${r}{filter:${d};transition:filter var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))}.${r}:hover,[data-sf-photo-host]:hover .${r}{filter:none}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${r}{transition:none}}`;function u(o){const e=m.hover,t={...o.duration!==e.duration.default?{[c.duration]:`${o.duration}s`}:{},...o.delay!==e.delay.default?{[c.delay]:`${o.delay}s`}:{}};return Object.keys(t).length?t:void 0}function O(o,e,t){if(o===!0)return l(!0);if(t?.kind==="mono"){const h=u(t);return{className:r,sheet:f,...h?{style:h}:{}}}return o===!1?{}:e===!0?{className:r}:{}}const v="data-sf-repeat",i="sf-photo-zoom",T="--sf-photo-zoom",x="sf-photo-wash",a="sf-photo-wash-rest",n="sf-photo-wash-hover",s="sf-photo-frame",p=(o,e)=>{const t=`:not([${v}]:not(:hover) .${o})`;return`${e},[${v}]:hover .${o}${t},[${S}]:hover .${o}${t}`},$=o=>`${o} var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))`,E=`.${n}{opacity:0}@media (hover:hover){.${a},.${n}{transition:${$("opacity")}}${p(n,`.${s}:hover .${n}`)}{opacity:1}${p(a,`.${s}:hover .${a}`)}{opacity:0}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.${i}{transition:${$("transform")}}${p(i,`.${s}:hover .${i}`)}{transform:scale(var(${T}))}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${a},.${n}{transition:none}}`,C="sf-photo-move";function R(o){if(!o||!o.zoom&&!o.darken)return null;const e=u(o);return{className:s,sheet:E,...e?{style:e}:{}}}function I(o){return o===!0?{[r]:f}:{}}export{v as CARD_COPY_ATTR,d as IMAGE_GRAYSCALE_FILTER,y as IMAGE_GRAYSCALE_LABEL,S as PHOTO_HOST_ATTR,c as PHOTO_HOVER_VARS,s as PICTURE_FRAME_CLASS,E as PICTURE_MOVE_CSS,C as PICTURE_MOVE_SHEET,x as PICTURE_WASH_CLASS,n as PICTURE_WASH_HOVER_CLASS,a as PICTURE_WASH_REST_CLASS,i as PICTURE_ZOOM_CLASS,T as PICTURE_ZOOM_VAR,r as SITE_PHOTO_CLASS,f as SITE_PHOTO_CSS,l as imageTreatmentProps,_ as imageTreatmentStyle,O as resolveImageTreatment,R as resolvePictureMove,I as sitePhotographyTokens};
1
+ import{MOTION_TIMING as O}from"efficient-shell/format";import{PHONE_EDGE as T}from"./view-lines.js";const f="grayscale(1) contrast(1.03)",g="Black and white";function A(o){return o===!0?{filter:f}:{}}function x(o){const{filter:e}=A(o);return e?{style:{filter:e}}:{}}const t="sf-photo-grayscale",y="data-sf-photo-host",$={duration:"--sf-photo-hover-duration",delay:"--sf-photo-hover-delay"},u=`@media (hover:hover){.${t}{filter:${f};transition:filter var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))}.${t}:hover,[data-sf-photo-host]:hover .${t}{filter:none}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${t}{transition:none}}`;function _(o){const e=O.hover,r={...o.duration!==e.duration.default?{[$.duration]:`${o.duration}s`}:{},...o.delay!==e.delay.default?{[$.delay]:`${o.delay}s`}:{}};return Object.keys(r).length?r:void 0}function H(o,e,r){if(o===!0)return x(!0);if(r?.kind==="mono"){const d=_(r);return{className:t,sheet:u,...d?{style:d}:{}}}return o===!1?{}:e===!0?{className:t}:{}}const m="data-sf-repeat",p="sf-photo-zoom",R="--sf-photo-zoom",V="sf-photo-wash",a="sf-photo-wash-rest",n="sf-photo-wash-hover",s="sf-photo-frame",v=(o,e)=>`:not([${m}]:not(${e}) .${o})`,c=(o,e)=>`[${m}]${e} .${o}${v(o,e)}`,h=(o,e)=>`${e},${c(o,":hover")},[${y}]:hover .${o}${v(o,":hover")}`,E=o=>`${o} var(--sf-photo-hover-duration,var(--page-motion-hover-duration)) var(--page-ease-media) var(--sf-photo-hover-delay,var(--page-motion-hover-delay))`,C=`.${n}{opacity:0}@media (hover:hover){.${a},.${n}{transition:${E("opacity")}}${h(n,`.${s}:hover .${n}`)}{opacity:1}${h(a,`.${s}:hover .${a}`)}{opacity:0}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.${p}{transition:${E("transform")}}${h(p,`.${s}:hover .${p}`)}{transform:scale(var(${R}))}}@media (hover:hover) and (prefers-reduced-motion:reduce){.${a},.${n}{transition:none}}`,M="sf-photo-move";function B(o){if(!o||!o.zoom&&!o.darken)return null;const e=_(o);return{className:s,sheet:C,...e?{style:e}:{}}}function U(o){return o===!0?{[t]:u}:{}}const i="sf-box-reveal",w="sf-box-reveal",I=8,S=.3,l=`(min-width:${T}px)`,N=`@media ${l}{.${i}{opacity:0;transform:translateY(${I}px);transition:opacity ${S}s ease-out,transform ${S}s ease-out}${c(i,":hover")},${c(i,":focus-within")}{opacity:1;transform:none}}@media ${l} and (prefers-reduced-motion:reduce){.${i}{transition:none;transform:none}}`;export{i as BOX_REVEAL_CLASS,N as BOX_REVEAL_CSS,w as BOX_REVEAL_SHEET,m as CARD_COPY_ATTR,f as IMAGE_GRAYSCALE_FILTER,g as IMAGE_GRAYSCALE_LABEL,y as PHOTO_HOST_ATTR,$ as PHOTO_HOVER_VARS,s as PICTURE_FRAME_CLASS,C as PICTURE_MOVE_CSS,M as PICTURE_MOVE_SHEET,V as PICTURE_WASH_CLASS,n as PICTURE_WASH_HOVER_CLASS,a as PICTURE_WASH_REST_CLASS,p as PICTURE_ZOOM_CLASS,R as PICTURE_ZOOM_VAR,t as SITE_PHOTO_CLASS,u as SITE_PHOTO_CSS,x as imageTreatmentProps,A as imageTreatmentStyle,H as resolveImageTreatment,B as resolvePictureMove,U as sitePhotographyTokens};
@@ -13,7 +13,7 @@ export declare const FULL_SECTION_WIDTH = "100vw";
13
13
  export declare const SITE_WIDTH_CAP_CLASS: string;
14
14
  export declare const PRE_SITE_WIDTH_CAP_CLASS: string;
15
15
  export declare function normalizeSiteWidth(v?: number | null): number;
16
- export declare function siteWidthTokens(v?: number | null): Record<string, string>;
16
+ export declare function siteWidthTokens(v?: number | null, unit?: unknown): Record<string, string>;
17
17
  export declare const SITE_GUTTER: {
18
18
  readonly min: 0;
19
19
  readonly max: 80;
@@ -61,10 +61,10 @@ export declare const BOX_HOLDS_NO_GUTTER_CLASS = "[--sf-box-g:var(--sf-site-gutt
61
61
  export declare function withoutBoxHoldsNoGutter(html: string): string;
62
62
  export declare const EDITORIAL_COLUMN = "mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";
63
63
  export declare function normalizeSiteGutter(v?: number | null): number;
64
- export declare function siteGutterTokens(v?: number | null): Record<string, string>;
64
+ export declare function siteGutterTokens(v?: number | null, unit?: unknown): Record<string, string>;
65
65
  export declare function normalizeSiteGutterPhone(v?: number | null): number | null;
66
66
  export declare function normalizeSectionContentMax(v: unknown): number | null;
67
- export declare function siteGutterPhoneTokens(v?: number | null): Record<string, string>;
67
+ export declare function siteGutterPhoneTokens(v?: number | null, unit?: unknown): Record<string, string>;
68
68
  export declare function siteGutterPhoneClass(v?: number | null): string;
69
69
  export declare function siteGutterPhoneFollows(gutter?: number | null): number;
70
70
  export declare function siteHalfColumnCap(dividerPx?: number): string;
@@ -1 +1 @@
1
- const n={min:1e3,max:2e3,step:50,default:1600};function a(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function L(t,e){if(t!==!1)return null;const i=typeof e=="number"?e:n.default;return a(i)}const m="--sf-site-width",p=`var(${m},${n.default}px)`,U="100vw",v=`max-w-[${p}]`,W=`max-w-[${n.default}px]`;function f(t){return typeof t!="number"||!Number.isFinite(t)?n.default:Math.round(Math.min(Math.max(t,n.min),n.max))}function k(t){const e=f(t);return e===n.default?{}:{[m]:`${e}px`}}const o={min:0,max:80,step:4,default:40},c="--sf-site-gutter",s={min:0,max:24,step:4},$="--sf-site-gutter-phone",h="max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!",r=`var(${c},${o.default}px)`,O=`px-[${r}]`,V=["px-10","px-[60px]"],x={md:`min(24px,${r})`,sm:`min(20px,${r})`,frame:`min(24px,${r})`,tabs:`min(16px,${r})`},g=[[`max-view-desktop:px-[${x.md}]`,"max-view-desktop:px-6"],[`max-view-desktop:px-[${x.tabs}]`,"max-view-desktop:px-4"],[`max-[960px]:px-[${x.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${x.md}]`,"max-[900px]:px-6"],[`max-view-wide:px-[${x.md}]`,"max-view-wide:px-6"],[`max-view-tablet:px-[${x.sm}]`,"max-view-tablet:px-5"],[`max-view-wide:px-[${x.sm}]`,"max-view-wide:px-5"],[`max-[640px]:px-[${x.sm}]`,"max-[640px]:px-5"],[`view-wide:px-[${r}]`,"view-wide:px-10"],[`max-view-tablet:px-[min(24px,${r})]`,"max-view-tablet:px-6"],[`max-view-wide:-mx-[min(20px,${r})]`,"max-view-wide:-mx-5"],[`max-view-tablet:-mx-[min(20px,${r})]`,"max-view-tablet:-mx-5"],[`-mx-[${r}]`,"-mx-10"],[O,"px-10"]];function B(t){return g.reduce((e,[i,A])=>e.split(i).join(A),t)}const _="max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]";function y(t){return I[t??"box"]}const l="var(--sf-pad-site,var(--sf-box-g,var(--sf-site-gutter,40px)))",E="[--sf-edge-g:var(--sf-pad-site)]",I={box:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-[960px]:[--sf-pad-site:min(24px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:l,edge:E,frame:"max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]"},site:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-view-wide:[--sf-pad-site:min(20px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:l,edge:E,frame:_}},F=`mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] ${_}`,d="[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";function z(t){const e=d.replace(/&/g,"&amp;").replace(/>/g,"&gt;");return t.split(` ${e}`).join("").split(` ${d}`).join("")}const j="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";function T(t){return typeof t!="number"||!Number.isFinite(t)?o.default:Math.round(Math.min(Math.max(t,o.min),o.max))}function K(t){const e=T(t);return e===o.default?{}:{[c]:`${e}px`}}function S(t){return typeof t!="number"||!Number.isFinite(t)?null:Math.round(Math.min(Math.max(t,s.min),s.max))}function X(t){return typeof t=="number"&&Number.isFinite(t)?f(t):null}function q(t){const e=S(t);return e===null?{}:{[$]:`${e}px`}}function J(t){return S(t)===null?"":h}function Q(t){return Math.min(s.max,T(t))}function H(t=0){return`calc(${p}/2 - ${r}*2 - ${t}px)`}function Y(t=0){return`max-w-[${H(t).replace(/ /g,"_")}]`}const R=p,Z=`max-w-[${R}]`,tt=`max-w-[min(var(--sf-page-cap,${n.default}px),${n.default}px)]`,w="--sf-hero-cap",b=`var(${w},none)`,et=`max-w-[${b}]`,P="--sf-hero-bleed-m",M="--sf-hero-bleed-w",G="--sf-hero-chrome-x",D="--sf-hero-chrome-cap";function rt(t){return t===!0?{[w]:R,[P]:"auto",[M]:"100%",[G]:"24px",[D]:"none"}:{}}const u=`calc(${p} - ${r}*2)`,nt=`max-w-[${u.replace(/ /g,"_")}]`,xt=v;function ot(t){return t!==!1?null:a(C)}const N="--sf-chrome-cap",C=`var(${N},${u})`,pt="data-page-width";function it(t){return t==="full"?"full":null}function at(t){return t==="full"?null:a(t==="content"?u:C)}function st(t){if(t==="full")return"full";if(t==="content")return"content"}export{d as BOX_HOLDS_NO_GUTTER_CLASS,C as CHROME_CAP_READ,N as CHROME_CAP_VAR,u as CHROME_WIDTH_CAP,nt as CHROME_WIDTH_CAP_CLASS,j as EDITORIAL_COLUMN,U as FULL_SECTION_WIDTH,b as HERO_BACKGROUND_CAP,et as HERO_BACKGROUND_CAP_CLASS,w as HERO_BACKGROUND_VAR,P as HERO_BLEED_MARGIN_VAR,M as HERO_BLEED_WIDTH_VAR,R as HERO_CAP,Z as HERO_CAP_CLASS,D as HERO_CHROME_CAP_VAR,G as HERO_CHROME_INSET_VAR,n as PAGE_WIDTH,pt as PAGE_WIDTH_ATTR,xt as PRE_CHROME_WIDTH_CAP_CLASS,tt as PRE_HERO_CAP_CLASS,V as PRE_SITE_GUTTER_CLASSES,W as PRE_SITE_WIDTH_CAP_CLASS,F as SITE_COLUMN,_ as SITE_COLUMN_NARROW,o as SITE_GUTTER,r as SITE_GUTTER_CAP,O as SITE_GUTTER_CLASS,x as SITE_GUTTER_NARROW,s as SITE_GUTTER_PHONE,h as SITE_GUTTER_PHONE_CLASS,$ as SITE_GUTTER_PHONE_VAR,g as SITE_GUTTER_SUBSTITUTIONS,c as SITE_GUTTER_VAR,p as SITE_WIDTH_CAP,v as SITE_WIDTH_CAP_CLASS,m as SITE_WIDTH_VAR,B as asMainGutters,a as centredCap,at as chromeWidthStyle,rt as heroBackgroundTokens,X as normalizeSectionContentMax,T as normalizeSiteGutter,S as normalizeSiteGutterPhone,f as normalizeSiteWidth,it as pageWidthMarker,L as pageWidthStyle,st as resolveChromeWidth,J as siteGutterPhoneClass,Q as siteGutterPhoneFollows,q as siteGutterPhoneTokens,K as siteGutterTokens,H as siteHalfColumnCap,Y as siteHalfColumnCapClass,y as siteSideRoom,ot as siteWidthCapStyle,k as siteWidthTokens,z as withoutBoxHoldsNoGutter};
1
+ import{siteLengthCss as u}from"./css-length.js";const x={min:1e3,max:2e3,step:50,default:1600};function m(t){return{maxWidth:t,marginInline:"auto",width:"100%"}}function W(t,e){if(t!==!1)return null;const r=typeof e=="number"?e:x.default;return m(r)}const f="--sf-site-width",s=`var(${f},${x.default}px)`,k="100vw",g=`max-w-[${s}]`,V=`max-w-[${x.default}px]`;function l(t){return typeof t!="number"||!Number.isFinite(t)?x.default:Math.round(Math.min(Math.max(t,x.min),x.max))}function B(t,e){const r=u(t,e,"size",x,{floor:!0});if(r!==null)return{[f]:r};const o=l(t);return o===x.default?{}:{[f]:`${o}px`}}const i={min:0,max:80,step:4,default:40},c="--sf-site-gutter",a={min:0,max:24,step:4},E="--sf-site-gutter-phone",v="max-view-tablet:[--sf-site-gutter:var(--sf-site-gutter-phone)]!",n=`var(${c},${i.default}px)`,O=`px-[${n}]`,y=["px-10","px-[60px]"],p={md:`min(24px,${n})`,sm:`min(20px,${n})`,frame:`min(24px,${n})`,tabs:`min(16px,${n})`},I=[[`max-view-desktop:px-[${p.md}]`,"max-view-desktop:px-6"],[`max-view-desktop:px-[${p.tabs}]`,"max-view-desktop:px-4"],[`max-[960px]:px-[${p.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${p.md}]`,"max-[900px]:px-6"],[`max-view-wide:px-[${p.md}]`,"max-view-wide:px-6"],[`max-view-tablet:px-[${p.sm}]`,"max-view-tablet:px-5"],[`max-view-wide:px-[${p.sm}]`,"max-view-wide:px-5"],[`max-[640px]:px-[${p.sm}]`,"max-[640px]:px-5"],[`view-wide:px-[${n}]`,"view-wide:px-10"],[`max-view-tablet:px-[min(24px,${n})]`,"max-view-tablet:px-6"],[`max-view-wide:-mx-[min(20px,${n})]`,"max-view-wide:-mx-5"],[`max-view-tablet:-mx-[min(20px,${n})]`,"max-view-tablet:-mx-5"],[`-mx-[${n}]`,"-mx-10"],[O,"px-10"]];function F(t){return I.reduce((e,[r,o])=>e.split(r).join(o),t)}const d="max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]";function z(t){return H[t??"box"]}const T="var(--sf-pad-site,var(--sf-box-g,var(--sf-site-gutter,40px)))",S="[--sf-edge-g:var(--sf-pad-site)]",H={box:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-[960px]:[--sf-pad-site:min(24px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:T,edge:S,frame:"max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]"},site:{className:"[--sf-pad-site:var(--sf-box-g,var(--sf-site-gutter,40px))] max-view-wide:[--sf-pad-site:min(20px,var(--sf-box-g,var(--sf-site-gutter,40px)))]",value:T,edge:S,frame:d}},j=`mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] ${d}`,R="[--sf-box-g:var(--sf-site-gutter,40px)] [&>*]:[--sf-site-gutter:0px]";function K(t){const e=R.replace(/&/g,"&amp;").replace(/>/g,"&gt;");return t.split(` ${e}`).join("").split(` ${R}`).join("")}const X="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-view-desktop:px-[min(24px,var(--sf-site-gutter,40px))]";function w(t){return typeof t!="number"||!Number.isFinite(t)?i.default:Math.round(Math.min(Math.max(t,i.min),i.max))}function q(t,e){const r=u(t,e,"spacing",i);if(r!==null)return{[c]:r};const o=w(t);return o===i.default?{}:{[c]:`${o}px`}}function C(t){return typeof t!="number"||!Number.isFinite(t)?null:Math.round(Math.min(Math.max(t,a.min),a.max))}function J(t){return typeof t=="number"&&Number.isFinite(t)?l(t):null}function Q(t,e){const r=u(t,e,"spacing",a);if(r!==null)return{[E]:r};const o=C(t);return o===null?{}:{[E]:`${o}px`}}function Y(t){return C(t)===null?"":v}function Z(t){return Math.min(a.max,w(t))}function b(t=0){return`calc(${s}/2 - ${n}*2 - ${t}px)`}function tt(t=0){return`max-w-[${b(t).replace(/ /g,"_")}]`}const A=s,et=`max-w-[${A}]`,rt=`max-w-[min(var(--sf-page-cap,${x.default}px),${x.default}px)]`,h="--sf-hero-cap",P=`var(${h},none)`,nt=`max-w-[${P}]`,M="--sf-hero-bleed-m",G="--sf-hero-bleed-w",D="--sf-hero-chrome-x",N="--sf-hero-chrome-cap";function ot(t){return t===!0?{[h]:A,[M]:"auto",[G]:"100%",[D]:"24px",[N]:"none"}:{}}const _=`calc(${s} - ${n}*2)`,xt=`max-w-[${_.replace(/ /g,"_")}]`,pt=g;function it(t){return t!==!1?null:m($)}const L="--sf-chrome-cap",$=`var(${L},${_})`,st="data-page-width";function at(t){return t==="full"?"full":null}function ut(t){return t==="full"?null:m(t==="content"?_:$)}function mt(t){if(t==="full")return"full";if(t==="content")return"content"}export{R as BOX_HOLDS_NO_GUTTER_CLASS,$ as CHROME_CAP_READ,L as CHROME_CAP_VAR,_ as CHROME_WIDTH_CAP,xt as CHROME_WIDTH_CAP_CLASS,X as EDITORIAL_COLUMN,k as FULL_SECTION_WIDTH,P as HERO_BACKGROUND_CAP,nt as HERO_BACKGROUND_CAP_CLASS,h as HERO_BACKGROUND_VAR,M as HERO_BLEED_MARGIN_VAR,G as HERO_BLEED_WIDTH_VAR,A as HERO_CAP,et as HERO_CAP_CLASS,N as HERO_CHROME_CAP_VAR,D as HERO_CHROME_INSET_VAR,x as PAGE_WIDTH,st as PAGE_WIDTH_ATTR,pt as PRE_CHROME_WIDTH_CAP_CLASS,rt as PRE_HERO_CAP_CLASS,y as PRE_SITE_GUTTER_CLASSES,V as PRE_SITE_WIDTH_CAP_CLASS,j as SITE_COLUMN,d as SITE_COLUMN_NARROW,i as SITE_GUTTER,n as SITE_GUTTER_CAP,O as SITE_GUTTER_CLASS,p as SITE_GUTTER_NARROW,a as SITE_GUTTER_PHONE,v as SITE_GUTTER_PHONE_CLASS,E as SITE_GUTTER_PHONE_VAR,I as SITE_GUTTER_SUBSTITUTIONS,c as SITE_GUTTER_VAR,s as SITE_WIDTH_CAP,g as SITE_WIDTH_CAP_CLASS,f as SITE_WIDTH_VAR,F as asMainGutters,m as centredCap,ut as chromeWidthStyle,ot as heroBackgroundTokens,J as normalizeSectionContentMax,w as normalizeSiteGutter,C as normalizeSiteGutterPhone,l as normalizeSiteWidth,at as pageWidthMarker,W as pageWidthStyle,mt as resolveChromeWidth,Y as siteGutterPhoneClass,Z as siteGutterPhoneFollows,Q as siteGutterPhoneTokens,q as siteGutterTokens,b as siteHalfColumnCap,tt as siteHalfColumnCapClass,z as siteSideRoom,it as siteWidthCapStyle,B as siteWidthTokens,K as withoutBoxHoldsNoGutter};
@@ -1,6 +1,7 @@
1
1
  import type { CSSProperties } from "react";
2
+ import { type ViewTier } from "efficient-easel/screen/lib/content/view-tiers";
2
3
  import { type LengthUnit } from "efficient-easel/screen/lib/content/length-units";
3
- export type SectionHeightMode = "auto" | "fixed" | "screen";
4
+ export type SectionHeightMode = "auto" | "fixed" | "screen" | "fill";
4
5
  export declare const SECTION_HEIGHT_MODES: readonly SectionHeightMode[];
5
6
  export type SectionHeightUnit = Extract<LengthUnit, "px" | "%">;
6
7
  export declare const SECTION_HEIGHT_UNITS: readonly SectionHeightUnit[];
@@ -80,3 +81,12 @@ export declare const SECTION_FILL_PASS_CLASS = "grid grid-cols-[minmax(0,1fr)]";
80
81
  export declare const SECTION_FILL_CLASS = "h-full";
81
82
  export declare const SECTION_FILL_PASS_PHONE_CLASS = "max-view-tablet:grid grid-cols-[minmax(0,1fr)]";
82
83
  export declare function sectionFillPassClass(props: Record<string, unknown>): string;
84
+ export declare const SECTION_HEIGHT_FILL_ATTR = "data-sf-height-fill";
85
+ type FillView = ViewTier;
86
+ export declare function sectionHeightFillViews(props: Record<string, unknown>): FillView[];
87
+ export declare function sectionHeightFillClass(props: Record<string, unknown>): string;
88
+ export declare function sectionHeightWrap(props: Record<string, unknown>): {
89
+ className: string;
90
+ style?: CSSProperties;
91
+ } | null;
92
+ export {};
@@ -1 +1 @@
1
- import{LENGTH_UNITS as N}from"efficient-easel/screen/lib/content/length-units";const m=["auto","fixed","screen"],C=N.filter(e=>e==="px"||e==="%"),b="svh",L="vh",M="var(--sf-header-h, 88px)",O={min:40,max:2e3,step:10,fallback:600},A={min:10,max:200,step:5,fallback:100},P="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",h={base:"--sf-section-minh",small:"--sf-section-minh-s"},a=e=>typeof e=="string"&&m.includes(e),G=e=>typeof e=="string"&&C.includes(e);function r(e){const t=a(e.sectionHeightMode)?e.sectionHeightMode:"auto",i=t==="screen"?"%":G(e.sectionHeightUnit)?e.sectionHeightUnit:"px",n=t==="screen"?A.fallback:O.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:n;return{mode:t,value:o,unit:i}}function H(e){const{mode:t,value:i,unit:n}=r(e);if(t==="auto")return;if(t==="fixed"&&n==="px")return[`${i}px`,null];const o=i/100,c=s=>t==="screen"?`(100${s} - ${M})`:`100${s}`;return[`calc(${c(L)} * ${o})`,`calc(${c(b)} * ${o})`]}function _(e){const t=H(e);if(!t)return;const[i,n]=t;return{display:"grid",[h.base]:i,...n?{[h.small]:n}:{}}}const y=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),B="Height",u="sf-section-minh-phone",f={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function U(e){return a(e.sectionHeightModePhone)}function D(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const I="sf-section-minh-tablet",T={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function p(e){return a(e.sectionHeightModeTablet)}function F(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function g(e){const t=_(e),i=(E,x,d)=>H({sectionHeightMode:E,sectionHeightValue:x,sectionHeightUnit:d})??(t?["auto",null]:void 0),n=p(e)?i(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=U(e)?i(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):n;if(!t&&!n&&!o)return null;const c=[P,l],s={...t??{}};return n&&(c.push(I),s[T.base]=n[0],n[1]&&(s[T.small]=n[1])),o&&(c.push(u),s[f.base]=o[0],o[1]&&(s[f.small]=o[1])),{className:c.join(" "),style:s}}function k(e){return g(e)!==null}const V=`grid ${l}`,w="h-full",R="view-tablet:max-view-desktop:grid",S="max-view-tablet:grid",$=`${S} ${l}`;function j(e){const t=g(e);if(!t)return"";if(_(e))return V;const i=t.className.split(" ");if(!i.includes(I))return $;const o=i.includes(u);return[R,o?S:"",l].filter(Boolean).join(" ")}export{M as HEADER_HEIGHT_VAR,w as SECTION_FILL_CLASS,V as SECTION_FILL_PASS_CLASS,$ as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,m as SECTION_HEIGHT_MODES,C as SECTION_HEIGHT_UNITS,O as SECTION_MIN_HEIGHT,P as SECTION_MIN_HEIGHT_CLASS,y as SECTION_MIN_HEIGHT_EXCLUDED,B as SECTION_MIN_HEIGHT_GROUP_LABEL,u as SECTION_MIN_HEIGHT_PHONE_CLASS,f as SECTION_MIN_HEIGHT_PHONE_VARS,I as SECTION_MIN_HEIGHT_TABLET_CLASS,T as SECTION_MIN_HEIGHT_TABLET_VARS,h as SECTION_MIN_HEIGHT_VARS,A as SECTION_SCREEN_PCT,b as VIEWPORT_UNIT,L as VIEWPORT_UNIT_FALLBACK,U as hasPhoneHeight,p as hasTabletHeight,D as resolvePhoneHeight,r as resolveSectionMinHeight,F as resolveTabletHeight,j as sectionFillPassClass,k as sectionFillsHeight,g as sectionMinHeightAttrs,H as sectionMinHeightLengths,_ as sectionMinHeightStyle};
1
+ import{FOLLOW_RULES as C,resolveViewValue as M}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as O}from"efficient-easel/screen/lib/content/length-units";const p=["auto","fixed","screen","fill"],A=O.filter(e=>e==="px"||e==="%"),w="svh",P="vh",V="var(--sf-header-h, 88px)",v={min:40,max:2e3,step:10,fallback:600},G={min:10,max:200,step:5,fallback:100},U="sf-section-minh",l="grid-cols-[minmax(0,1fr)]",u={base:"--sf-section-minh",small:"--sf-section-minh-s"},h=e=>typeof e=="string"&&p.includes(e),k=e=>typeof e=="string"&&A.includes(e);function r(e){const t=h(e.sectionHeightMode)?e.sectionHeightMode:"auto",n=t==="screen"?"%":k(e.sectionHeightUnit)?e.sectionHeightUnit:"px",i=t==="screen"?G.fallback:v.fallback,o=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:i;return{mode:t,value:o,unit:n}}function _(e){const{mode:t,value:n,unit:i}=r(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&i==="px")return[`${n}px`,null];const o=n/100,c=s=>t==="screen"?`(100${s} - ${V})`:`100${s}`;return[`calc(${c(P)} * ${o})`,`calc(${c(w)} * ${o})`]}function g(e){const t=_(e);if(!t)return;const[n,i]=t;return{display:"grid",[u.base]:n,...i?{[u.small]:i}:{}}}const K=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),X="Height",I="sf-section-minh-phone",T={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function d(e){return h(e.sectionHeightModePhone)}function F(e){return r({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}const S="sf-section-minh-tablet",x={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function E(e){return h(e.sectionHeightModeTablet)}function R(e){return r({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function H(e){const t=g(e),n=(N,L,b)=>_({sectionHeightMode:N,sectionHeightValue:L,sectionHeightUnit:b})??(t?["auto",null]:void 0),i=E(e)?n(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,o=d(e)?n(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):i;if(!t&&!i&&!o)return null;const c=[U,l],s={...t??{}};return i&&(c.push(S),s[x.base]=i[0],i[1]&&(s[x.small]=i[1])),o&&(c.push(I),s[T.base]=o[0],o[1]&&(s[T.small]=o[1])),{className:c.join(" "),style:s}}function q(e){return H(e)!==null||a(e).length>0}const f=`grid ${l}`,z="h-full",$="view-tablet:max-view-desktop:grid",m="max-view-tablet:grid",y=`${m} ${l}`;function J(e){if(a(e).length>0)return f;const t=H(e);if(!t)return"";if(g(e))return f;const n=t.className.split(" ");if(!n.includes(S))return y;const o=n.includes(I);return[$,o?m:"",l].filter(Boolean).join(" ")}const Q="data-sf-height-fill",B=["desktop","tablet","mobile"],D={desktop:"view-desktop:[.flex-col>&]:grow! view-desktop:[.flex-row>&]:self-stretch",tablet:"view-wide:max-view-desktop:[.flex-col>&]:grow! view-wide:max-view-desktop:[.flex-row>&]:self-stretch",mobile:"max-view-wide:[.flex-col>&]:grow!"};function a(e){const t=e,n=M("heightMode",r(t).mode,E(t)?R(t).mode:null,d(t)?F(t).mode:null,C),i={desktop:n.desktop==="fill",tablet:n.tablet==="fill",mobile:n.phone==="fill"};return B.filter(o=>i[o])}function Y(e){return a(e).map(t=>D[t]).join(" ")}function Z(e){const t=H(e);return a(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:f}}export{V as HEADER_HEIGHT_VAR,z as SECTION_FILL_CLASS,f as SECTION_FILL_PASS_CLASS,y as SECTION_FILL_PASS_PHONE_CLASS,l as SECTION_GRID_COLUMN_CLASS,Q as SECTION_HEIGHT_FILL_ATTR,p as SECTION_HEIGHT_MODES,A as SECTION_HEIGHT_UNITS,v as SECTION_MIN_HEIGHT,U as SECTION_MIN_HEIGHT_CLASS,K as SECTION_MIN_HEIGHT_EXCLUDED,X as SECTION_MIN_HEIGHT_GROUP_LABEL,I as SECTION_MIN_HEIGHT_PHONE_CLASS,T as SECTION_MIN_HEIGHT_PHONE_VARS,S as SECTION_MIN_HEIGHT_TABLET_CLASS,x as SECTION_MIN_HEIGHT_TABLET_VARS,u as SECTION_MIN_HEIGHT_VARS,G as SECTION_SCREEN_PCT,w as VIEWPORT_UNIT,P as VIEWPORT_UNIT_FALLBACK,d as hasPhoneHeight,E as hasTabletHeight,F as resolvePhoneHeight,r as resolveSectionMinHeight,R as resolveTabletHeight,J as sectionFillPassClass,q as sectionFillsHeight,Y as sectionHeightFillClass,a as sectionHeightFillViews,Z as sectionHeightWrap,H as sectionMinHeightAttrs,_ as sectionMinHeightLengths,g as sectionMinHeightStyle};
@@ -8,3 +8,4 @@ export declare const IMGBTN_PH: {
8
8
  text: string;
9
9
  };
10
10
  export declare const SplitMeta: BlockMeta;
11
+ export declare function splitImageOverlay(v: unknown): number;
@@ -1,2 +1,2 @@
1
- const e={eyebrow:"— Label",title:`Section headline *here.*
2
- *Highlight line*`,body:"Describe this section in a sentence or two."},t={text:"Learn more"},r={label:"Image & Text Split",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60}};export{t as IMGBTN_PH,e as SPLIT_PH,r as SplitMeta};
1
+ const t={eyebrow:"— Label",title:`Section headline *here.*
2
+ *Highlight line*`,body:"Describe this section in a sentence or two."},r={text:"Learn more"},a={label:"Image & Text Split",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",reverse:!1,uppercase:!1,textAlign:"left",ctaText:"",ctaHref:"",imageBtnText:"",imageBtnHref:"",textBgSrc:"",overlay:60,imageOverlay:40}};function i(e){return typeof e=="number"&&Number.isFinite(e)?Math.min(Math.max(e,0),100):40}export{r as IMGBTN_PH,t as SPLIT_PH,a as SplitMeta,i as splitImageOverlay};
@@ -4,6 +4,8 @@ export declare const EASEL_ROW_WORDS: {
4
4
  readonly wrap: "Wrap";
5
5
  readonly shrink: "Shrink";
6
6
  readonly line: "One line";
7
+ readonly shorten: "Shorten";
8
+ readonly shortenHint: "One line, ends with ...";
7
9
  readonly onTablet: "{value} on tablet";
8
10
  readonly onDesktop: "{value} on desktop";
9
11
  };
@@ -1 +1 @@
1
- const e={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink",line:"One line",onTablet:"{value} on tablet",onDesktop:"{value} on desktop"},o={rendering:"Product renderings",photos:"Product photos",lifestyle:"Lifestyle photos",accessories:"Accessories",others:"Others"};export{o as EASEL_MEDIA_ZONE_WORDS,e as EASEL_ROW_WORDS};
1
+ const e={fillColor:"Fill color",textFit:"When the text does not fit",wrap:"Wrap",shrink:"Shrink",line:"One line",shorten:"Shorten",shortenHint:"One line, ends with ...",onTablet:"{value} on tablet",onDesktop:"{value} on desktop"},t={rendering:"Product renderings",photos:"Product photos",lifestyle:"Lifestyle photos",accessories:"Accessories",others:"Others"};export{t as EASEL_MEDIA_ZONE_WORDS,e as EASEL_ROW_WORDS};
@@ -46,7 +46,9 @@ export type PassInspector = {
46
46
  sectionOwnWidthFields: (options?: {
47
47
  drawsFullOnItsOwn?: boolean;
48
48
  }) => FieldMap;
49
- heightFields: () => FieldMap;
49
+ heightFields: (opts?: {
50
+ fill?: boolean;
51
+ }) => FieldMap;
50
52
  anchorFields: () => FieldMap;
51
53
  stickFields: (opts?: {
52
54
  intro?: boolean;
@@ -25,6 +25,11 @@ export declare const ALL_SECTION_TYPES: string[];
25
25
  export declare const RETIRED_SECTION_LABELS: Readonly<Record<string, string>>;
26
26
  export declare const SECTION_LABELS: Record<string, string>;
27
27
  export declare const UNLISTED_BLOCK_SETS: Readonly<Record<string, BlockSet>>;
28
+ export interface PressNeedsSet {
29
+ readonly set: BlockSet;
30
+ readonly reason: string;
31
+ }
32
+ export declare const PRESS_NEEDS_SET: Readonly<Record<string, PressNeedsSet>>;
28
33
  export declare function blockSetOf(type: string): BlockSet | undefined;
29
34
  export declare function blocksInSet(set: BlockSet): string[];
30
35
  export declare const GENERAL_BLOCKS: readonly string[];
@@ -1,4 +1,4 @@
1
- const m=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"},{type:"DocTabs",label:"Tab Bar",set:"general"},{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Banner",label:"Banner",set:"general"}]}];function y(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const l="2027-02-05",s={CategoryBar:{label:"Category bar",note:`The reviewer, 2026-11-06 (the page headers and the tab bars become TWO Layouts rows, Page Header and Tab Bar): Category Bar folds into the Tab Bar. Retired from the Add menu with no second preset.
1
+ const m=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"HeroSingle",label:"Hero Single",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"},{type:"DocTabs",label:"Tab Bar",set:"general"},{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Banner",label:"Banner",set:"general"}]}];function y(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const l="2027-02-05",s={CategoryBar:{label:"Category bar",note:`The reviewer, 2026-11-06 (the page headers and the tab bars become TWO Layouts rows, Page Header and Tab Bar): Category Bar folds into the Tab Bar. Retired from the Add menu with no second preset.
2
2
 
3
3
  WHAT REPLACES IT: Tab Bar, a Box pinned under the header that stays above the sections after it, with a line below, holding the Menu block (One row, Menu style Tabs, Current page). Set the Menu's content to Blog categories: the blog's own categories, most posts first, each with its count in its cell (the host seeds the count card, Count on). Its converter row (\`section-to-box-rows-tabbar\` \`categoryBar\`, OFF) draws that bar for a stored page that moves later.
4
4
 
@@ -62,4 +62,12 @@ WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a pres
62
62
 
63
63
  NO CONVERTER ROW: 0 TyreFitment nodes on the US sites, draft or published (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
64
64
 
65
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items · Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. ⛔ A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},d=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.note])),b=["Grid","Spacer","TyreFitment"],g=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(d)])),c=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.label])),w={...c,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},h={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",PaymentBadges:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...h,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function T(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 E=r("general"),S=r("commerce"),f=r("service"),p="Flex",n="Box",O=`${n}es`;function u(e){return e==="section"?"Blank section":n}function v(e,t,i){return e===p?u(t):i}export{g as ALL_SECTION_TYPES,m as BLOCK_SETS,n as BOX_LABEL,O as BOX_LABEL_PLURAL,S as COMMERCE_BLOCKS,E as GENERAL_BLOCKS,l as KEY_FEATURES_DELETE_BY,p as LEVEL_NAMED_TYPE,b as RETIRED_NESTABLE_SECTIONS,d as RETIRED_SECTIONS,c as RETIRED_SECTION_LABELS,o as SECTION_CATALOG,w as SECTION_LABELS,f as SERVICE_BLOCKS,h as UNLISTED_BLOCK_SETS,T as blockSetOf,r as blocksInSet,y as buildBlockCategories,v as labelAtLevel,u as labelForFlex};
65
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`},EuTyreLabel:{label:"EU Tyre Label",note:`Owner, 2026-10-10 (approved): the EU Tyre Label becomes a Spec Table display chip. One place for a tyre's sheet, not two sections.
66
+
67
+ WHAT REPLACES IT: the Spec Table's "EU tyre label" Display chip (efficient-storefront-blocks, default off), which draws this page's grades under the tyre sheet; and the EU Tyre Label block (\`EuTyreLabelBlock\`, efficient-storefront-blocks), the same grades as a block of their own. Both read the grades live through the one grades draw (\`EuTyreLabelGrades\`), as this section did. Default on for sites that sell to the EU or UK waits for a site market source (a later step).
68
+
69
+ WHAT A MERCHANT LOSES: the label as a section of its own, with its fixed head ("EU tyre label.") and its section number (\`num\`, its only field). The grades, their source line and the live read are not lost.
70
+
71
+ NO CONVERTER ROW: 0 EU Tyre Labels are stored on the US and AU sites (inovit_us and inovit_au, \`layout\` and \`published_layout\`; read only, 2026-11-10). Old sites stay as they are (owner, 2026-11-06).
72
+
73
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks EuTyreLabels). A stored EU Tyre Label still renders through it and can still be edited, its width, heading level, settings groups and cover included; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items · Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. ⛔ A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},d=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.note])),b=["Grid","Spacer","TyreFitment"],g=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(d)])),c=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,t.label])),T={...c,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},h={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...h,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))},w={DocTabs:{set:"service",reason:"the Tab Bar press holds the Menu block, whose only source is a Console menu; a stored bar's typed tabs need nothing, so the Tab Bar stays general"}};function E(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 S=r("general"),f=r("commerce"),O=r("service"),p="Flex",n="Box",v=`${n}es`;function u(e){return e==="section"?"Blank section":n}function A(e,t,i){return e===p?u(t):i}export{g as ALL_SECTION_TYPES,m as BLOCK_SETS,n as BOX_LABEL,v as BOX_LABEL_PLURAL,f as COMMERCE_BLOCKS,S as GENERAL_BLOCKS,l as KEY_FEATURES_DELETE_BY,p as LEVEL_NAMED_TYPE,w as PRESS_NEEDS_SET,b as RETIRED_NESTABLE_SECTIONS,d as RETIRED_SECTIONS,c as RETIRED_SECTION_LABELS,o as SECTION_CATALOG,T as SECTION_LABELS,O as SERVICE_BLOCKS,h as UNLISTED_BLOCK_SETS,E as blockSetOf,r as blocksInSet,y as buildBlockCategories,A as labelAtLevel,u as labelForFlex};
@@ -119,6 +119,7 @@ export declare const WEB_BUILDER_WORDS: {
119
119
  readonly "Alt text": "Alt text";
120
120
  readonly Alternating: "Alternating";
121
121
  readonly "Alternating (zig-zag)": "Alternating (zig-zag)";
122
+ readonly Always: "Always";
122
123
  readonly Amount: "Amount";
123
124
  readonly "An editorial aside beside a rail-marked timeline of dated entries.": "An editorial aside beside a rail-marked timeline of dated entries.";
124
125
  readonly "An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.": "An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.";
@@ -617,6 +618,7 @@ export declare const WEB_BUILDER_WORDS: {
617
618
  readonly "Image label": "Image label";
618
619
  readonly "Image left": "Image left";
619
620
  readonly "Image meta": "Image meta";
621
+ readonly "Image overlay": "Image overlay";
620
622
  readonly "Image right": "Image right";
621
623
  readonly "Image side": "Image side";
622
624
  readonly "Image stage": "Image stage";
@@ -832,6 +834,7 @@ export declare const WEB_BUILDER_WORDS: {
832
834
  readonly "On 1 page": "On 1 page";
833
835
  readonly "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.": "On Tablet, this hero uses the Desktop vh. Set vh in the Desktop view.";
834
836
  readonly "On a phone": "On a phone";
837
+ readonly "On card hover": "On card hover";
835
838
  readonly "On every blog post.": "On every blog post.";
836
839
  readonly "On every page": "On every page";
837
840
  readonly "On every page \u00B7 old style": "On every page · old style";
@@ -843,6 +846,7 @@ export declare const WEB_BUILDER_WORDS: {
843
846
  readonly "On: the pinned box stays on top, and the sections after it scroll under it.": "On: the pinned box stays on top, and the sections after it scroll under it.";
844
847
  readonly One: "One";
845
848
  readonly "One line": "One line";
849
+ readonly "One line, ends with ...": "One line, ends with ...";
846
850
  readonly "One row": "One row";
847
851
  readonly "One then four": "One then four";
848
852
  readonly "One third": "One third";
@@ -1068,6 +1072,7 @@ export declare const WEB_BUILDER_WORDS: {
1068
1072
  readonly "Short description of this figure.": "Short description of this figure.";
1069
1073
  readonly "Short detail line": "Short detail line";
1070
1074
  readonly "Short supporting line": "Short supporting line";
1075
+ readonly Shorten: "Shorten";
1071
1076
  readonly Show: "Show";
1072
1077
  readonly "Show arrows": "Show arrows";
1073
1078
  readonly "Show cover image": "Show cover image";
@@ -1376,11 +1381,13 @@ export declare const WEB_BUILDER_WORDS: {
1376
1381
  readonly "What this does when a shopper points at it, or taps it on a phone.": "What this does when a shopper points at it, or taps it on a phone.";
1377
1382
  readonly "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.": "What this picture does when a shopper points at it. Black and white shows it in grey until then. A phone shows its colour.";
1378
1383
  readonly "What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.": "What this picture does when a shopper points at the card. Show next image covers the card or the picture with this product's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.";
1384
+ readonly "What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.": "What this picture does when a shopper points at the card. Show next image covers the picture with the card's photos, with arrows; a phone shows the picture as it is. Black and white shows it in grey until then.";
1379
1385
  readonly "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.": "What this picture does when a shopper points at the card. Show next image fades to the card's next photo. Black and white shows it in grey until then. A phone shows the first photo in colour.";
1380
1386
  readonly "What we count.": "What we count.";
1381
1387
  readonly WhatsApp: "WhatsApp";
1382
1388
  readonly "When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.": "When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.";
1383
1389
  readonly "When the text does not fit": "When the text does not fit";
1390
+ readonly "When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.": "When this shows. On card hover shows it while a shopper points at the card. A phone always shows it.";
1384
1391
  readonly "Where this content is edited.": "Where this content is edited.";
1385
1392
  readonly "Whether this page sits on the site's content column, or runs edge to edge.": "Whether this page sits on the site's content column, or runs edge to edge.";
1386
1393
  readonly "Which of the product's pictures the card shows.": "Which of the product's pictures the card shows.";