efficient-web-builder 65.0.0 → 67.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/editor/components/AnchorField.js +1 -1
  3. package/dist/editor/components/CardShadowField.js +1 -1
  4. package/dist/editor/components/MediaUploadField.js +1 -1
  5. package/dist/editor/components/PagesPanel.js +1 -1
  6. package/dist/editor/components/PartSettingsPanel.js +1 -1
  7. package/dist/editor/components/PartTextBox.js +1 -1
  8. package/dist/editor/components/PreviewPartAnchors.js +1 -1
  9. package/dist/editor/components/SectionEditor.js +1 -1
  10. package/dist/editor/components/SectionWidthRows.d.ts +3 -1
  11. package/dist/editor/components/SectionWidthRows.js +1 -1
  12. package/dist/editor/components/SiteTextStylesField.js +1 -1
  13. package/dist/editor/components/WebsitePreviewButton.js +1 -1
  14. package/dist/editor/components/storefront-editor.css +16 -24
  15. package/dist/editor/components/usePreviewHref.js +1 -1
  16. package/dist/editor/lib/animation/hover-fields.d.ts +1 -1
  17. package/dist/editor/lib/animation/hover-fields.js +1 -1
  18. package/dist/editor/lib/document/blocks/general/Banner/fields.js +1 -1
  19. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
  20. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
  21. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  22. package/dist/editor/lib/document/blocks/general/Footprint/fields.d.ts +0 -1
  23. package/dist/editor/lib/document/blocks/general/Footprint/fields.js +1 -1
  24. package/dist/editor/lib/document/blocks/general/HeroGroup/fields.js +1 -1
  25. package/dist/editor/lib/document/blocks/general/ImageBlock/fields.js +1 -1
  26. package/dist/editor/lib/document/blocks/general/IntroBleed/fields.js +1 -1
  27. package/dist/editor/lib/document/blocks/general/LogoBlock/fields.js +1 -1
  28. package/dist/editor/lib/document/blocks/general/PostCard/fields.js +1 -1
  29. package/dist/editor/lib/document/blocks/general/ProcessSteps/fields.js +1 -1
  30. package/dist/editor/lib/document/blocks/general/SectionHeader/fields.js +1 -1
  31. package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
  32. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  33. package/dist/editor/lib/document/blocks/hero-shared-fields.js +1 -1
  34. package/dist/editor/lib/document/box-fields.d.ts +2 -1
  35. package/dist/editor/lib/document/box-fields.js +1 -1
  36. package/dist/editor/lib/document/card-row-fields.d.ts +3 -0
  37. package/dist/editor/lib/document/card-row-fields.js +1 -1
  38. package/dist/editor/lib/document/controls.d.ts +31 -12
  39. package/dist/editor/lib/document/controls.js +1 -1
  40. package/dist/editor/lib/document/field-groups.d.ts +0 -3
  41. package/dist/editor/lib/document/field-groups.js +1 -1
  42. package/dist/editor/lib/document/passes/inspector.js +1 -1
  43. package/dist/editor/lib/document/section-own-width-fields.js +1 -1
  44. package/dist/editor/lib/sections/section-dry-run.d.ts +1 -20
  45. package/dist/editor/lib/sections/section-dry-run.js +2 -2
  46. package/dist/editor/lib/sections/text-layouts.js +1 -1
  47. package/dist/format/lib/animation/views.js +1 -1
  48. package/dist/format/lib/content/block-sources.d.ts +3 -0
  49. package/dist/format/lib/content/block-sources.js +1 -1
  50. package/dist/format/lib/content/borders.d.ts +12 -2
  51. package/dist/format/lib/content/borders.js +1 -1
  52. package/dist/format/lib/content/box-background.d.ts +1 -0
  53. package/dist/format/lib/content/box-background.js +1 -1
  54. package/dist/format/lib/content/box-link.d.ts +11 -0
  55. package/dist/format/lib/content/box-link.js +8 -8
  56. package/dist/format/lib/content/box-phone-place.d.ts +0 -2
  57. package/dist/format/lib/content/box-phone-place.js +1 -1
  58. package/dist/format/lib/content/box-side-space.js +1 -1
  59. package/dist/format/lib/content/card-corners.d.ts +3 -1
  60. package/dist/format/lib/content/card-corners.js +1 -1
  61. package/dist/format/lib/content/card-image-shape.d.ts +5 -1
  62. package/dist/format/lib/content/card-image-shape.js +1 -1
  63. package/dist/format/lib/content/card-template.d.ts +1 -0
  64. package/dist/format/lib/content/card-template.js +1 -1
  65. package/dist/format/lib/content/contact.d.ts +0 -1
  66. package/dist/format/lib/content/contact.js +2 -2
  67. package/dist/format/lib/content/css-length.d.ts +7 -0
  68. package/dist/format/lib/content/css-length.js +1 -0
  69. package/dist/format/lib/content/image-corners.d.ts +3 -1
  70. package/dist/format/lib/content/image-corners.js +1 -1
  71. package/dist/format/lib/content/page-width.d.ts +17 -1
  72. package/dist/format/lib/content/page-width.js +1 -1
  73. package/dist/format/lib/content/section-corners.d.ts +3 -1
  74. package/dist/format/lib/content/section-corners.js +1 -1
  75. package/dist/format/lib/content/section-sticky.d.ts +5 -0
  76. package/dist/format/lib/content/section-sticky.js +1 -1
  77. package/dist/format/lib/content/section-type-size.d.ts +12 -1
  78. package/dist/format/lib/content/section-type-size.js +1 -1
  79. package/dist/format/lib/content/section-width.d.ts +8 -0
  80. package/dist/format/lib/content/section-width.js +1 -1
  81. package/dist/format/lib/content/view-tier.d.ts +10 -0
  82. package/dist/format/lib/content/view-tier.js +1 -0
  83. package/dist/format/lib/document/blocks/general/Banner/meta.d.ts +5 -0
  84. package/dist/format/lib/document/blocks/general/Banner/meta.js +1 -1
  85. package/dist/format/lib/document/blocks/general/Footprint/card-seed.d.ts +2 -0
  86. package/dist/format/lib/document/blocks/general/Footprint/card-seed.js +1 -1
  87. package/dist/format/lib/document/blocks/general/Footprint/meta.js +2 -2
  88. package/dist/format/lib/document/blocks/general/ProcessSteps/column-seed.d.ts +5 -0
  89. package/dist/format/lib/document/blocks/general/ProcessSteps/column-seed.js +1 -0
  90. package/dist/format/lib/document/blocks/general/ProcessSteps/meta.js +1 -1
  91. package/dist/format/lib/document/blocks/general/SectionHeader/meta.d.ts +6 -0
  92. package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -1
  93. package/dist/format/lib/document/blocks/general/TitleWithButtons/meta.d.ts +2 -0
  94. package/dist/format/lib/document/blocks/general/TitleWithButtons/meta.js +2 -2
  95. package/dist/format/lib/document/media-drop.js +1 -1
  96. package/dist/format/lib/document/one-h1.d.ts +2 -0
  97. package/dist/format/lib/document/one-h1.js +1 -1
  98. package/dist/format/lib/document/passes/types.d.ts +1 -0
  99. package/dist/format/lib/document/renamed-props.d.ts +1 -0
  100. package/dist/format/lib/document/renamed-props.js +1 -1
  101. package/dist/format/lib/document/section-catalog.js +10 -2
  102. package/dist/format/lib/document/section-descriptions.js +1 -1
  103. package/dist/format/lib/editor-words-catalogue.d.ts +10 -0
  104. package/dist/format/lib/editor-words-catalogue.js +3 -3
  105. package/dist/format/lib/editor-words-kept.js +1 -1
  106. package/dist/format/lib/fit-words.js +4 -1
  107. package/dist/format/lib/links/page-link-rules.d.ts +0 -1
  108. package/dist/format/lib/links/page-link-rules.js +1 -1
  109. package/dist/format/lib/markup.d.ts +1 -0
  110. package/dist/format/lib/markup.js +2 -2
  111. package/dist/format/lib/post-card-layout.d.ts +3 -0
  112. package/dist/format/lib/post-card-layout.js +1 -1
  113. package/dist/format/lib/sections/divider-style.d.ts +9 -0
  114. package/dist/format/lib/sections/divider-style.js +1 -1
  115. package/dist/format/lib/sections/hero-single-to-hero.js +1 -1
  116. package/dist/format/lib/sections/section-presets.js +1 -1
  117. package/dist/format/lib/sections/timeline-year-shape.js +1 -1
  118. package/dist/format/lib/source-rules/editor-words.js +1 -1
  119. package/dist/format/lib/source-rules/one-length-control.d.ts +18 -0
  120. package/dist/format/lib/source-rules/one-length-control.js +16 -0
  121. package/dist/format/lib/source-rules/support/label-extraction.js +3 -3
  122. package/dist/format/lib/theme.d.ts +1 -2
  123. package/dist/format/lib/theme.js +4 -4
  124. package/dist/format/lib/web-runtime.d.ts +2 -0
  125. package/dist/format/lib/web-runtime.js +1 -1
  126. package/dist/render/components/BlockFrame.d.ts +3 -3
  127. package/dist/render/components/BlockFrame.js +1 -1
  128. package/dist/render/components/Breadcrumb.js +1 -1
  129. package/dist/render/components/Btn.js +1 -1
  130. package/dist/render/components/CardRowContext.d.ts +7 -1
  131. package/dist/render/components/CardRowContext.js +1 -1
  132. package/dist/render/components/CategoryBar.js +1 -1
  133. package/dist/render/components/ContactLocations.js +2 -2
  134. package/dist/render/components/DealerFinder.d.ts +4 -1
  135. package/dist/render/components/DealerFinder.js +1 -1
  136. package/dist/render/components/Divider.d.ts +3 -1
  137. package/dist/render/components/Divider.js +1 -1
  138. package/dist/render/components/DocMasthead.js +1 -1
  139. package/dist/render/components/DocTabs.js +1 -1
  140. package/dist/render/components/FeaturedCover.js +1 -1
  141. package/dist/render/components/Flex.d.ts +3 -1
  142. package/dist/render/components/Flex.js +1 -1
  143. package/dist/render/components/Footprint.d.ts +5 -3
  144. package/dist/render/components/Footprint.js +1 -1
  145. package/dist/render/components/Heading.d.ts +0 -1
  146. package/dist/render/components/Heading.js +1 -1
  147. package/dist/render/components/HeroGroup.d.ts +3 -1
  148. package/dist/render/components/HeroGroup.js +1 -1
  149. package/dist/render/components/ImageBlock.d.ts +2 -1
  150. package/dist/render/components/ImageBlock.js +1 -1
  151. package/dist/render/components/IntroBleed.d.ts +3 -2
  152. package/dist/render/components/IntroBleed.js +1 -1
  153. package/dist/render/components/KeyFeatures.js +1 -1
  154. package/dist/render/components/LocationMap.js +1 -1
  155. package/dist/render/components/LogoBlock.js +1 -1
  156. package/dist/render/components/Logos.d.ts +1 -2
  157. package/dist/render/components/Logos.js +1 -1
  158. package/dist/render/components/LongRead.js +1 -1
  159. package/dist/render/components/PictureHoverMove.d.ts +18 -0
  160. package/dist/render/components/PictureHoverMove.js +1 -0
  161. package/dist/render/components/PictureWash.d.ts +2 -1
  162. package/dist/render/components/PictureWash.js +1 -1
  163. package/dist/render/components/PostCard.js +1 -1
  164. package/dist/render/components/ProcessSteps.d.ts +2 -1
  165. package/dist/render/components/ProcessSteps.js +1 -1
  166. package/dist/render/components/SectionHeader.js +1 -1
  167. package/dist/render/components/SideListLayout.d.ts +4 -1
  168. package/dist/render/components/SideListLayout.js +1 -1
  169. package/dist/render/components/Split.js +1 -1
  170. package/dist/render/components/Text.d.ts +2 -1
  171. package/dist/render/components/Text.js +1 -1
  172. package/dist/render/components/Timeline.js +1 -1
  173. package/dist/render/components/TimelineRail.d.ts +11 -3
  174. package/dist/render/components/TimelineRail.js +1 -1
  175. package/dist/render/components/TimelineTrack.js +1 -1
  176. package/dist/render/components/TitleWithButtons.js +1 -1
  177. package/dist/render/components/goldPhrases.js +3 -3
  178. package/dist/render/lib/content/block-size.d.ts +5 -1
  179. package/dist/render/lib/content/block-size.js +1 -1
  180. package/dist/render/lib/content/box-stack-line.d.ts +1 -1
  181. package/dist/render/lib/content/box-stack-line.js +1 -1
  182. package/dist/render/lib/content/button-look.d.ts +2 -0
  183. package/dist/render/lib/content/button-look.js +1 -1
  184. package/dist/render/lib/content/section-edge.js +1 -1
  185. package/dist/render/lib/content/section-padding.d.ts +5 -2
  186. package/dist/render/lib/content/section-padding.js +1 -1
  187. package/dist/render/lib/dealer-source.d.ts +6 -2
  188. package/dist/render/lib/dealer-source.js +1 -1
  189. package/dist/render/lib/document/blocks/general/Banner/render.js +1 -1
  190. package/dist/render/lib/document/blocks/general/CardList/render.js +1 -1
  191. package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
  192. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  193. package/dist/render/lib/document/blocks/general/Footprint/render.js +1 -1
  194. package/dist/render/lib/document/blocks/general/HeroGroup/render.js +1 -1
  195. package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -1
  196. package/dist/render/lib/document/blocks/general/IntroBleed/render.js +1 -1
  197. package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
  198. package/dist/render/lib/document/blocks/general/Text/render.js +1 -1
  199. package/dist/render/lib/document/blocks/general/TitleWithButtons/render.js +1 -1
  200. package/dist/render/lib/document/blocks/general/section-head-looks.d.ts +2 -0
  201. package/dist/render/lib/document/blocks/general/section-head-looks.js +2 -2
  202. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  203. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  204. package/dist/render/lib/document/blocks/general/section-to-box-rows-editorial.js +1 -1
  205. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.d.ts +2 -2
  206. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  207. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  208. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -1
  209. package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -1
  210. package/dist/render/lib/document/blocks/general/section-to-box-rows-tabbar.d.ts +3 -0
  211. package/dist/render/lib/document/blocks/general/section-to-box-rows-tabbar.js +1 -0
  212. package/dist/render/lib/document/blocks/general/section-to-box-rows-timeline.js +2 -2
  213. package/dist/render/lib/document/blocks/general/section-to-box-rows.d.ts +3 -0
  214. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  215. package/dist/render/lib/document/card-press-titles.d.ts +10 -0
  216. package/dist/render/lib/document/card-press-titles.js +1 -0
  217. package/dist/render/lib/document/part-styles.d.ts +13 -0
  218. package/dist/render/lib/document/part-styles.js +2 -2
  219. package/dist/render/lib/document/passes/borders.js +1 -1
  220. package/dist/render/lib/document/passes/corners.js +1 -1
  221. package/dist/render/lib/document/passes/section-height.js +1 -1
  222. package/dist/render/lib/document/passes/section-padding.js +1 -1
  223. package/dist/render/lib/document/passes/section-width.js +1 -1
  224. package/dist/render/lib/document/published-passes.js +1 -1
  225. package/dist/render/lib/document/slot-specs.js +1 -1
  226. package/dist/render/lib/sections/section-to-box.d.ts +0 -15
  227. package/dist/render/lib/sections/section-to-box.js +1 -1
  228. package/dist/render/lib/site-runtime.d.ts +4 -1
  229. package/dist/render/lib/site-runtime.js +1 -1
  230. package/dist/render/lib/text-styles/site-text-styles.js +2 -2
  231. package/package.json +5 -5
  232. package/dist/editor/components/TemplateFieldRow.d.ts +0 -11
  233. package/dist/editor/components/TemplateFieldRow.js +0 -1
  234. package/dist/editor/lib/document/panel-heading-scope.d.ts +0 -8
  235. package/dist/editor/lib/document/panel-heading-scope.js +0 -1
  236. package/dist/editor/lib/document/template-field.d.ts +0 -13
  237. package/dist/editor/lib/document/template-field.js +0 -1
  238. package/dist/format/lib/canvas-accent.d.ts +0 -1
  239. package/dist/format/lib/canvas-accent.js +0 -1
  240. package/dist/format/lib/source-rules/padding-units-declared.d.ts +0 -2
  241. package/dist/format/lib/source-rules/padding-units-declared.js +0 -6
@@ -1,7 +1,9 @@
1
1
  import type { CSSProperties } from "react";
2
2
  import { CORNER_SIDES, type CornerSide, hasCornerSubset, normalizeCornerSides } from "efficient-easel/screen/lib/content/style-keys";
3
+ import { type LengthRow } from "efficient-easel/screen/lib/content/length-units";
4
+ export declare const SECTION_CORNERS_ROW: LengthRow;
3
5
  export declare function hasOwnSectionCorners(value: unknown): boolean;
4
- export declare function sectionCornerStyle(value: unknown, sides?: unknown): CSSProperties | undefined;
6
+ export declare function sectionCornerStyle(value: unknown, sides?: unknown, unit?: unknown): CSSProperties | undefined;
5
7
  export declare const SECTION_RADIUS_PROP = "--sf-section-radius";
6
8
  export declare const CARD_RADIUS_PROP = "--sf-card-radius";
7
9
  export { CORNER_SIDES, type CornerSide, hasCornerSubset, normalizeCornerSides };
@@ -1 +1 @@
1
- import{CORNER_SIDES as n,hasCornerSubset as i,normalizeCornerSides as s}from"efficient-easel/screen/lib/content/style-keys";import{cornerRadiusTokens as l,normalizeCornerRadius as a}from"../theme.js";function c(e){return typeof e=="number"&&Number.isFinite(e)}function m(e,t){if(!c(e))return;const r=l(a(e));if(Object.keys(r).length===0)return;const o=r[p];if(typeof o!="string")return r;const u=i(t)?d(o,s(t)??[]):o;return{...r,[f]:u}}const f="--sf-section-radius",p="--sf-card-radius";function d(e,t){return n.map(r=>t.includes(r)?e:"0").join(" ")}const R=[{value:"tl",label:"Top left"},{value:"tr",label:"Top right"},{value:"bl",label:"Bottom left"},{value:"br",label:"Bottom right"}];export{p as CARD_RADIUS_PROP,n as CORNER_SIDES,R as CORNER_SIDE_POINTS,f as SECTION_RADIUS_PROP,d as cornerSidesShorthand,i as hasCornerSubset,c as hasOwnSectionCorners,s as normalizeCornerSides,m as sectionCornerStyle};
1
+ import{CORNER_SIDES as i,hasCornerSubset as s,normalizeCornerSides as u}from"efficient-easel/screen/lib/content/style-keys";import{cornerRadiusTokens as c,normalizeCornerRadius as l}from"../theme.js";import{isLengthUnit as f}from"efficient-easel/screen/lib/content/length-units";const O={kind:"radius",unitKey:"sectionCornersUnit"};function p(r){return typeof r=="number"&&Number.isFinite(r)}function x(r,t,e){if(!p(r))return;const o=f(e)&&e!=="px"?c(r,e):c(l(r));if(Object.keys(o).length===0)return;const n=o[S];if(typeof n!="string")return o;const a=s(t)?R(n,u(t)??[]):n;return{...o,[d]:a}}const d="--sf-section-radius",S="--sf-card-radius";function R(r,t){return i.map(e=>t.includes(e)?r:"0").join(" ")}const _=[{value:"tl",label:"Top left"},{value:"tr",label:"Top right"},{value:"bl",label:"Bottom left"},{value:"br",label:"Bottom right"}];export{S as CARD_RADIUS_PROP,i as CORNER_SIDES,_ as CORNER_SIDE_POINTS,O as SECTION_CORNERS_ROW,d as SECTION_RADIUS_PROP,R as cornerSidesShorthand,s as hasCornerSubset,p as hasOwnSectionCorners,u as normalizeCornerSides,x as sectionCornerStyle};
@@ -1,5 +1,6 @@
1
1
  import type { CSSProperties } from "react";
2
2
  import { type ShowWhenRule } from "efficient-shell/format";
3
+ import { type LengthRow } from "efficient-easel/screen/lib/content/length-units";
3
4
  export declare const SECTION_STICK_LABEL = "Stick to top";
4
5
  export declare const SECTION_STICK_DISTANCE: {
5
6
  readonly min: 0;
@@ -7,6 +8,7 @@ export declare const SECTION_STICK_DISTANCE: {
7
8
  readonly step: 4;
8
9
  readonly fallback: 0;
9
10
  };
11
+ export declare const SECTION_STICK_DISTANCE_ROW: LengthRow;
10
12
  export declare const SECTION_PIN_LABEL = "Pin while scrolling";
11
13
  export declare const SECTION_PIN_GROUP = "Scroll";
12
14
  export declare const SECTION_PIN_VARS: {
@@ -68,13 +70,16 @@ export declare function resolveSectionStick(props: SectionStickProps, opts?: {
68
70
  }): {
69
71
  desktop: boolean;
70
72
  desktopDistance: number;
73
+ desktopUnit: "px" | "%" | "vw";
71
74
  desktopScreens: number;
72
75
  tablet: boolean;
73
76
  tabletDistance: number;
77
+ tabletUnit: "px" | "%" | "vw";
74
78
  tabletScreens: number;
75
79
  ownTablet: boolean;
76
80
  phone: boolean;
77
81
  phoneDistance: number;
82
+ phoneUnit: "px" | "%" | "vw";
78
83
  phoneScreens: number;
79
84
  ownPhone: boolean;
80
85
  };
@@ -1 +1 @@
1
- import{PIN_STICK_VAR as u,PIN_TRACK_POSITION_VAR as O,pinAttrs as d,pinStickVars as f,readPin as h}from"efficient-shell/format";import{finiteNumber as x}from"../finite-number.js";import{viewVarSplit as C}from"./view-var-split.js";const M="Stick to top",N={min:0,max:200,step:4,fallback:0},U="Pin while scrolling",j="Scroll",c={distance:"--sf-pin-distance",position:"--sf-pin-position",on:"--sf-pin-on",length:"--sf-pin-length",stick:"--sf-pin-stick",trackPosition:"--sf-pin-track-position",header:"--sf-pin-header"},A="stickTopScreens",D=[A,"stickTopScreensTablet","stickTopScreensPhone"],H="Screens",y="stickTopStop",k="screen",W="Pin stops at",F=[{value:"header",label:"Under the header"},{value:k,label:"Screen top"}],G="header",X="Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.";function m(t){return t===k?k:"header"}function q(t){return t===k?k:void 0}const g="stickAbove",z="Stays above",J="On: the pinned box stays on top, and the sections after it scroll under it.";function L(t){return t.stickAbove===!0}const Q=["stickTop","stickTopDistance","stickTopTablet","stickTopDistanceTablet","stickTopPhone","stickTopDistancePhone",...D,y,g],Z=new Set(["IntroBleed"]),tt=new Set(["CategoryBar","DocTabs","Contents"]);function K(t){return typeof t.stickTop=="boolean"?t.stickTop:t.sticky!==!1}const P=t=>h(!0,t).length,et={any:["stickTop","stickTopTablet","stickTopPhone"].map(t=>({field:t,is:!0}))},nt={all:[{not:{field:"stickTop",in:[!0,!1]}},{not:{field:"sticky",is:!1}}]};function E(t){const o=x(t)??N.fallback;return Math.min(N.max,Math.max(N.min,Math.round(o)))}function v(t){return typeof t.stickTopTablet=="boolean"}function R(t){return typeof t.stickTopPhone=="boolean"}function V(t,o={}){const e=o.intro?K(t):t.stickTop===!0,p=E(t.stickTopDistance),S=P(t.stickTopScreens),s=v(t),T=s?t.stickTopTablet===!0:e,i=s?E(t.stickTopDistanceTablet):p,a=s?P(t.stickTopScreensTablet):S,n=R(t),_=n?t.stickTopPhone===!0:T,r=n?E(t.stickTopDistancePhone):i,l=n?P(t.stickTopScreensPhone):a;return{desktop:e,desktopDistance:p,desktopScreens:S,tablet:T,tabletDistance:i,tabletScreens:a,ownTablet:s,phone:_,phoneDistance:r,phoneScreens:l,ownPhone:n}}function ot(t,o={}){const e=V(t,{intro:o.atScreenTop});if(!e.desktop&&!e.tablet&&!e.phone)return null;const p=o.atScreenTop===!0&&typeof t.stickTop!="boolean",S=e.desktop&&e.desktopScreens>0||e.tablet&&e.tabletScreens>0||e.phone&&e.phoneScreens>0,s=o.above===!0&&L(t),T=o.track===!0&&!p&&S&&!s,i=(r,l,I,b)=>C({tabletClass:"",tabletVar:`${r}-tablet`,phoneClass:"",phoneVar:`${r}-phone`},l,I,b).style,a={...o.atScreenTop||m(t.stickTopStop)===k?{[c.header]:"0px"}:{},[c.distance]:`${e.desktopDistance}px`,...i(c.distance,`${e.desktopDistance}px`,`${e.tabletDistance}px`,`${e.phoneDistance}px`)};if(T){const r=I=>I?"1":"0",l={...a,...e.desktop?{}:{[c.on]:"0"},...i(c.on,r(e.desktop),r(e.tablet),r(e.phone)),[c.length]:String(e.desktopScreens),...i(c.length,String(e.desktopScreens),String(e.tabletScreens),String(e.phoneScreens)),...B(e.desktop&&e.desktopScreens===0,e.tablet&&e.tabletScreens===0,e.phone&&e.phoneScreens===0,i)};return{attrs:d(h(!0),"track").attrs,style:l}}const n=r=>r?"sticky":"static",_={...a,...e.desktop?{}:{[c.position]:"static"},...i(c.position,n(e.desktop),n(e.tablet),n(e.phone))};return{attrs:d(h(!0),"stick",s?{above:s}:{}).attrs,style:_}}function B(t,o,e,p){const S=[[c.stick,u],[c.trackPosition,O]],[s,T,i]=[t,o,e].map(f);return Object.fromEntries(S.flatMap(([a,n])=>[...t?[[a,s[n]]]:[],...Object.entries(p(a,s[n],T[n],i[n]))]))}export{nt as INTRO_OLD_STICKY_PINS,Z as PIN_AT_SCREEN_TOP,J as SECTION_PIN_ABOVE_HINT,g as SECTION_PIN_ABOVE_KEY,z as SECTION_PIN_ABOVE_LABEL,j as SECTION_PIN_GROUP,Q as SECTION_PIN_KEYS,U as SECTION_PIN_LABEL,A as SECTION_PIN_SCREENS_KEY,D as SECTION_PIN_SCREENS_KEYS,H as SECTION_PIN_SCREENS_LABEL,G as SECTION_PIN_STOP_DEFAULT,X as SECTION_PIN_STOP_HINT,y as SECTION_PIN_STOP_KEY,W as SECTION_PIN_STOP_LABEL,F as SECTION_PIN_STOP_OPTIONS,k as SECTION_PIN_STOP_SCREEN,c as SECTION_PIN_VARS,N as SECTION_STICK_DISTANCE,tt as SECTION_STICK_EXCLUDED,M as SECTION_STICK_LABEL,et as SOME_VIEW_PINS,R as hasPhoneStick,v as hasTabletStick,V as resolveSectionStick,L as sectionPinAbove,ot as sectionPinAttrs,m as sectionPinStopOf,q as sectionPinStopWrite};
1
+ import{PIN_STICK_VAR as A,PIN_TRACK_POSITION_VAR as D,pinAttrs as f,pinStickVars as K,readPin as d}from"efficient-shell/format";import{finiteNumber as y}from"../finite-number.js";import{viewVarSplit as m}from"./view-var-split.js";import{cssLengthOf as E,rowUnitKeys as U,storedUnit as P}from"./css-length.js";const Q="Stick to top",h={min:0,max:200,step:4,fallback:0},L={kind:"position",unitKey:"stickTopDistanceUnit"},u=U(L),[g,R,v]=u,Z="Pin while scrolling",tt="Scroll",i={distance:"--sf-pin-distance",position:"--sf-pin-position",on:"--sf-pin-on",length:"--sf-pin-length",stick:"--sf-pin-stick",trackPosition:"--sf-pin-track-position",header:"--sf-pin-header"},B="stickTopScreens",V=[B,"stickTopScreensTablet","stickTopScreensPhone"],et="Screens",Y="stickTopStop",k="screen",nt="Pin stops at",ot=[{value:"header",label:"Under the header"},{value:k,label:"Screen top"}],st="header",ct="Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.";function w(e){return e===k?k:"header"}function it(e){return e===k?k:void 0}const M="stickAbove",rt="Stays above",at="On: the pinned box stays on top, and the sections after it scroll under it.";function H(e){return e.stickAbove===!0}const pt=["stickTop","stickTopDistance","stickTopTablet","stickTopDistanceTablet","stickTopPhone","stickTopDistancePhone",...u,...V,Y,M],St=new Set(["IntroBleed"]),Tt=new Set(["CategoryBar","DocTabs","Contents"]);function W(e){return typeof e.stickTop=="boolean"?e.stickTop:e.sticky!==!1}const O=e=>d(!0,e).length,_t={any:["stickTop","stickTopTablet","stickTopPhone"].map(e=>({field:e,is:!0}))},kt={all:[{not:{field:"stickTop",in:[!0,!1]}},{not:{field:"sticky",is:!1}}]};function b(e,s="px"){const t=y(e)??h.fallback;return s!=="px"?Math.max(h.min,t):Math.min(h.max,Math.max(h.min,Math.round(t)))}function j(e){return typeof e.stickTopTablet=="boolean"}function $(e){return typeof e.stickTopPhone=="boolean"}function F(e,s={}){const t=s.intro?W(e):e.stickTop===!0,S=e,T=P(S[g]),r=b(e.stickTopDistance,T),_=O(e.stickTopScreens),n=j(e),p=n?e.stickTopTablet===!0:t,o=n?P(S[R]):T,I=n?b(e.stickTopDistanceTablet,o):r,c=n?O(e.stickTopScreensTablet):_,a=$(e),l=a?e.stickTopPhone===!0:p,N=a?P(S[v]):o,C=a?b(e.stickTopDistancePhone,N):I,x=a?O(e.stickTopScreensPhone):c;return{desktop:t,desktopDistance:r,desktopUnit:T,desktopScreens:_,tablet:p,tabletDistance:I,tabletUnit:o,tabletScreens:c,ownTablet:n,phone:l,phoneDistance:C,phoneUnit:N,phoneScreens:x,ownPhone:a}}function lt(e,s={}){const t=F(e,{intro:s.atScreenTop});if(!t.desktop&&!t.tablet&&!t.phone)return null;const S=s.atScreenTop===!0&&typeof e.stickTop!="boolean",T=t.desktop&&t.desktopScreens>0||t.tablet&&t.tabletScreens>0||t.phone&&t.phoneScreens>0,r=s.above===!0&&H(e),_=s.track===!0&&!S&&T&&!r,n=(c,a,l,N)=>m({tabletClass:"",tabletVar:`${c}-tablet`,phoneClass:"",phoneVar:`${c}-phone`},a,l,N).style,p={...s.atScreenTop||w(e.stickTopStop)===k?{[i.header]:"0px"}:{},[i.distance]:E(t.desktopDistance,t.desktopUnit),...n(i.distance,E(t.desktopDistance,t.desktopUnit),E(t.tabletDistance,t.tabletUnit),E(t.phoneDistance,t.phoneUnit))};if(_){const c=l=>l?"1":"0",a={...p,...t.desktop?{}:{[i.on]:"0"},...n(i.on,c(t.desktop),c(t.tablet),c(t.phone)),[i.length]:String(t.desktopScreens),...n(i.length,String(t.desktopScreens),String(t.tabletScreens),String(t.phoneScreens)),...G(t.desktop&&t.desktopScreens===0,t.tablet&&t.tabletScreens===0,t.phone&&t.phoneScreens===0,n)};return{attrs:f(d(!0),"track").attrs,style:a}}const o=c=>c?"sticky":"static",I={...p,...t.desktop?{}:{[i.position]:"static"},...n(i.position,o(t.desktop),o(t.tablet),o(t.phone))};return{attrs:f(d(!0),"stick",r?{above:r}:{}).attrs,style:I}}function G(e,s,t,S){const T=[[i.stick,A],[i.trackPosition,D]],[r,_,n]=[e,s,t].map(K);return Object.fromEntries(T.flatMap(([p,o])=>[...e?[[p,r[o]]]:[],...Object.entries(S(p,r[o],_[o],n[o]))]))}export{kt as INTRO_OLD_STICKY_PINS,St as PIN_AT_SCREEN_TOP,at as SECTION_PIN_ABOVE_HINT,M as SECTION_PIN_ABOVE_KEY,rt as SECTION_PIN_ABOVE_LABEL,tt as SECTION_PIN_GROUP,pt as SECTION_PIN_KEYS,Z as SECTION_PIN_LABEL,B as SECTION_PIN_SCREENS_KEY,V as SECTION_PIN_SCREENS_KEYS,et as SECTION_PIN_SCREENS_LABEL,st as SECTION_PIN_STOP_DEFAULT,ct as SECTION_PIN_STOP_HINT,Y as SECTION_PIN_STOP_KEY,nt as SECTION_PIN_STOP_LABEL,ot as SECTION_PIN_STOP_OPTIONS,k as SECTION_PIN_STOP_SCREEN,i as SECTION_PIN_VARS,h as SECTION_STICK_DISTANCE,L as SECTION_STICK_DISTANCE_ROW,Tt as SECTION_STICK_EXCLUDED,Q as SECTION_STICK_LABEL,_t as SOME_VIEW_PINS,$ as hasPhoneStick,j as hasTabletStick,F as resolveSectionStick,H as sectionPinAbove,lt as sectionPinAttrs,w as sectionPinStopOf,it as sectionPinStopWrite};
@@ -1,7 +1,18 @@
1
1
  import type { SizeStep } from "../theme.js";
2
+ import { type LengthRow, type LengthUnit } from "efficient-easel/screen/lib/content/length-units";
2
3
  export type TypeRole = "heading" | "body" | "label";
3
4
  export declare const TYPE_SIZE_INHERIT: "inherit";
4
5
  export declare const TYPE_SIZE_FIXED: "fixed";
5
6
  export type TypeSizeValue = number | typeof TYPE_SIZE_INHERIT | typeof TYPE_SIZE_FIXED | undefined;
6
7
  export declare const isTypeSizeInheriting: (v: unknown) => boolean;
7
- export declare function resolveTypeSize(stored: TypeSizeValue, builtIn: string, role: TypeRole, step?: SizeStep): string;
8
+ export declare function resolveTypeSize(stored: TypeSizeValue, builtIn: string, role: TypeRole, step?: SizeStep, unit?: LengthUnit): string;
9
+ export declare const INTRO_TITLE_SIZE_ROW: LengthRow;
10
+ export declare const INTRO_BODY_SIZE_ROW: LengthRow;
11
+ export interface IntroSizeUnits {
12
+ titleDesktop: LengthUnit;
13
+ titleMobile: LengthUnit;
14
+ bodyDesktop: LengthUnit;
15
+ bodyMobile: LengthUnit;
16
+ }
17
+ export declare const INTRO_SIZE_UNIT_KEYS: readonly string[];
18
+ export declare function introSizeUnitsOf(props: Readonly<Record<string, unknown>>): IntroSizeUnits;
@@ -1 +1 @@
1
- const x="inherit",t="fixed",f=e=>typeof e!="number"&&e!==t,p="var(--sf-heading-max, 9999px)";function s(e,n,o,r){if(typeof e=="number")return`${e}px`;if(e===t)return n;const i=r?`var(--size-${r}, ${n})`:n;return o==="heading"?`min(${i}, ${p})`:i}export{t as TYPE_SIZE_FIXED,x as TYPE_SIZE_INHERIT,f as isTypeSizeInheriting,s as resolveTypeSize};
1
+ import{cssLengthOf as _,ownRowUnit as S,rowUnitKeys as f}from"./css-length.js";const x="inherit",p="fixed",y=e=>typeof e!="number"&&e!==p,E="var(--sf-heading-max, 9999px)";function a(e,t,i,o,I){if(typeof e=="number")return _(e,I);if(e===p)return t;const s=o?`var(--size-${o}, ${t})`:t;return i==="heading"?`min(${s}, ${E})`:s}const n={kind:"fontSize",unitKey:"titleSizeUnit"},r={kind:"fontSize",unitKey:"bodySizeUnit"},c=["desktop","mobile"],b=[n,r].flatMap(e=>f(e,c));function d(e){const t=(i,o)=>S(e,i,o);return{titleDesktop:t(n,"desktop"),titleMobile:t(n,"mobile"),bodyDesktop:t(r,"desktop"),bodyMobile:t(r,"mobile")}}export{r as INTRO_BODY_SIZE_ROW,b as INTRO_SIZE_UNIT_KEYS,n as INTRO_TITLE_SIZE_ROW,p as TYPE_SIZE_FIXED,x as TYPE_SIZE_INHERIT,d as introSizeUnitsOf,y as isTypeSizeInheriting,a as resolveTypeSize};
@@ -1,3 +1,4 @@
1
+ import { type LengthRow, type LengthUnit } from "efficient-easel/screen/lib/content/length-units";
1
2
  export type WidthMode = "page" | "full";
2
3
  export declare const WIDTH_MODES: readonly WidthMode[];
3
4
  export declare const SECTION_WIDTH_CHOICES: readonly WidthMode[];
@@ -22,11 +23,14 @@ export declare const SECTION_WIDTH_KEYS: {
22
23
  readonly background: "sectionBackgroundWidth";
23
24
  readonly content: "sectionContentWidth";
24
25
  readonly contentMax: "sectionContentMax";
26
+ readonly contentMaxUnit: "sectionContentMaxUnit";
25
27
  };
28
+ export declare const SECTION_CONTENT_MAX_ROW: LengthRow;
26
29
  export interface OwnSectionWidth {
27
30
  background: WidthAnswer | null;
28
31
  content: WidthAnswer | null;
29
32
  contentMax: number | null;
33
+ contentMaxUnit: LengthUnit;
30
34
  }
31
35
  export declare function ownSectionWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
32
36
  export declare function chromeOwnWidth(props: Readonly<Record<string, unknown>>): OwnSectionWidth;
@@ -37,9 +41,11 @@ export declare const sectionBackgroundPatch: (next: WidthAnswer) => {
37
41
  export declare const sectionContentPatch: (next: WidthAnswer) => {
38
42
  sectionContentWidth: "full";
39
43
  sectionContentMax: undefined;
44
+ sectionContentMaxUnit: undefined;
40
45
  } | {
41
46
  sectionContentWidth: "content";
42
47
  sectionContentMax?: undefined;
48
+ sectionContentMaxUnit?: undefined;
43
49
  };
44
50
  export declare const sectionContentMaxPatch: (px: number) => {
45
51
  sectionContentWidth: "content";
@@ -49,9 +55,11 @@ export declare const sectionWidthResetPatch: (row: "background" | "content") =>
49
55
  sectionBackgroundWidth: undefined;
50
56
  sectionContentWidth?: undefined;
51
57
  sectionContentMax?: undefined;
58
+ sectionContentMaxUnit?: undefined;
52
59
  } | {
53
60
  sectionContentWidth: undefined;
54
61
  sectionContentMax: undefined;
62
+ sectionContentMaxUnit: undefined;
55
63
  sectionBackgroundWidth?: undefined;
56
64
  };
57
65
  export declare const SITE_WIDTHS_KEY = "siteWidths";
@@ -1 +1 @@
1
- import{normalizeSectionContentMax as r}from"./page-width.js";const d=["page","full"],k=["full","page"],f={full:"Full",page:"Content"},i="inherit",u=t=>typeof t=="string"&&d.includes(t),s=t=>t===i;function l(t,n){return s(t.widthMode)?{mode:"full",inherited:!0}:u(t.widthMode)?{mode:t.widthMode,inherited:!1}:{mode:n,inherited:n==="full"}}function m(t){return l(t,"page").mode==="full"}const p={CustomHTML:"rawMarkup",Hero:"hero",HeroSingle:"hero",IntroBleed:"scrollOver",SpecStrip:"background",Timeline:"background",Footprint:"background",Prose:"background",ParagraphsA:"background",Cards:"background",KeyFeatures:"background",Chart:"background",Mockup:"background",Testimonials:"background",TitleWithButtons:"background",Countdown:"background",DocMasthead:"background",DocBody:"background",DocMetaCards:"background",Gallery:"background",GalleryB:"background",Reviews:"background",ReviewForm:"background",Form:"background",AppointmentBooking:"background",FAQ:"background",Events:"background",Split:"both",Breadcrumb:"both",Collections:"both",CatalogFilterBar:"both",AlloyWheelsListing:"both",Banner:"contained",Stats:"contained",Logos:"contained",Divider:"contained",OrderSummary:"contained",DeliveryOptions:"contained",PaymentBadges:"contained",CheckoutCTA:"contained",Flex:"contained",Grid:"contained",ContactCards:"contained",MessagingCards:"contained",OpeningHours:"contained",RateTable:"contained",Manifesto:"contentColumn",SectionHeader:"contentFull",ProductHero:"contentFull",ProductGrid:"productGrid",TimelineTrack:"capped",DetailRows:"capped",FitmentTable:"capped",TyreSizes:"capped",TyreFitment:"capped",EuTyreLabel:"capped",BundleOffer:"capped",CompatibleTyres:"capped",RelatedProducts:"capped",ProcessSteps:"capped",StatsParagraph:"capped",Masthead:"capped",FeaturedCover:"capped",LongRead:"capped",Series:"capped",ContactLocations:"capped",FitmentFinder:"capped",SpecTable:"capped",Subscribe:"capped",SubscribeBlogs:"capped",ContactRouting:"capped",SubmitBuild:"capped"},x=["Ticker","CategoryBar","DocTabs","Header","Footer"];function C(t){return Object.prototype.hasOwnProperty.call(p,t)}const e={background:"sectionBackgroundWidth",content:"sectionContentWidth",contentMax:"sectionContentMax"};function g(t){const n=r(t[e.contentMax]),c=o(t[e.content])??(n===null?null:"content");return{background:o(t[e.background]),content:c,contentMax:c==="content"?n:null}}function T(t){const n=g(t);return n.content===null&&t.fullWidth===!0?{...n,content:"full"}:n}function S(t){return t.background!==null||t.content!==null}const W=t=>({[e.background]:t}),M=t=>t==="full"?{[e.content]:t,[e.contentMax]:void 0}:{[e.content]:t},F=t=>({[e.content]:"content",[e.contentMax]:t}),I=t=>t==="background"?{[e.background]:void 0}:{[e.content]:void 0,[e.contentMax]:void 0},a="siteWidths",b=t=>t==="full"||t==="content";function o(t){return b(t)?t:null}function H(t,n){return{[a]:{background:o(t),content:o(n)}}}function O(t){const c=t.editor?.metadata?.[a];return{background:o(c?.background),content:o(c?.content)}}export{x as NO_WIDTH_ROWS,k as SECTION_WIDTH_CHOICES,p as SECTION_WIDTH_FAMILY,e as SECTION_WIDTH_KEYS,a as SITE_WIDTHS_KEY,f as WIDTH_CHOICE_LABEL,i as WIDTH_INHERIT,d as WIDTH_MODES,T as chromeOwnWidth,S as hasOwnSectionWidth,C as hasWidthFamily,s as isInheritValue,o as normalizeSiteBackground,g as ownSectionWidth,l as resolveWidth,W as sectionBackgroundPatch,F as sectionContentMaxPatch,M as sectionContentPatch,m as sectionRunsFullWidth,I as sectionWidthResetPatch,H as siteWidthsMetadata,O as siteWidthsOf};
1
+ import{storedUnit as u}from"./css-length.js";import{normalizeSectionContentMax as s}from"./page-width.js";const l=["page","full"],T=["full","page"],M={full:"Full",page:"Content"},p="inherit",g=t=>typeof t=="string"&&l.includes(t),b=t=>t===p;function h(t,e){return b(t.widthMode)?{mode:"full",inherited:!0}:g(t.widthMode)?{mode:t.widthMode,inherited:!1}:{mode:e,inherited:e==="full"}}function S(t){return h(t,"page").mode==="full"}const k={CustomHTML:"rawMarkup",Hero:"hero",HeroSingle:"hero",IntroBleed:"scrollOver",SpecStrip:"background",Timeline:"background",Footprint:"background",Prose:"background",ParagraphsA:"background",Cards:"background",KeyFeatures:"background",Chart:"background",Mockup:"background",Testimonials:"background",TitleWithButtons:"background",Countdown:"background",DocMasthead:"background",DocBody:"background",DocMetaCards:"background",Gallery:"background",GalleryB:"background",Reviews:"background",ReviewForm:"background",Form:"background",AppointmentBooking:"background",FAQ:"background",Events:"background",Split:"both",Breadcrumb:"both",Collections:"both",CatalogFilterBar:"both",AlloyWheelsListing:"both",Banner:"contained",Stats:"contained",Logos:"contained",Divider:"contained",OrderSummary:"contained",DeliveryOptions:"contained",PaymentBadges:"contained",CheckoutCTA:"contained",Flex:"contained",Grid:"contained",ContactCards:"contained",MessagingCards:"contained",OpeningHours:"contained",RateTable:"contained",Manifesto:"contentColumn",SectionHeader:"contentFull",ProductHero:"contentFull",ProductGrid:"productGrid",TimelineTrack:"capped",DetailRows:"capped",FitmentTable:"capped",TyreSizes:"capped",TyreFitment:"capped",EuTyreLabel:"capped",BundleOffer:"capped",CompatibleTyres:"capped",RelatedProducts:"capped",ProcessSteps:"capped",StatsParagraph:"capped",Masthead:"capped",FeaturedCover:"capped",LongRead:"capped",Series:"capped",ContactLocations:"capped",FitmentFinder:"capped",SpecTable:"capped",Subscribe:"capped",SubscribeBlogs:"capped",ContactRouting:"capped",SubmitBuild:"capped"},W=["Ticker","CategoryBar","DocTabs","Header","Footer"];function O(t){return Object.prototype.hasOwnProperty.call(k,t)}const n={background:"sectionBackgroundWidth",content:"sectionContentWidth",contentMax:"sectionContentMax",contentMaxUnit:"sectionContentMaxUnit"},F={kind:"size",unitKey:n.contentMaxUnit};function x(t){const e=t[n.contentMaxUnit],c=u(e),a=t[n.contentMax],r=c==="px"?s(a):typeof a=="number"&&Number.isFinite(a)&&a>0?a:null,d=o(t[n.content])??(r===null?null:"content");return{background:o(t[n.background]),content:d,contentMax:d==="content"?r:null,contentMaxUnit:c}}function I(t){const e=x(t);return e.content===null&&t.fullWidth===!0?{...e,content:"full"}:e}function y(t){return t.background!==null||t.content!==null}const H=t=>({[n.background]:t}),B=t=>t==="full"?{[n.content]:t,[n.contentMax]:void 0,[n.contentMaxUnit]:void 0}:{[n.content]:t},_=t=>({[n.content]:"content",[n.contentMax]:t}),D=t=>t==="background"?{[n.background]:void 0}:{[n.content]:void 0,[n.contentMax]:void 0,[n.contentMaxUnit]:void 0},i="siteWidths",f=t=>t==="full"||t==="content";function o(t){return f(t)?t:null}function E(t,e){return{[i]:{background:o(t),content:o(e)}}}function w(t){const c=t.editor?.metadata?.[i];return{background:o(c?.background),content:o(c?.content)}}export{W as NO_WIDTH_ROWS,F as SECTION_CONTENT_MAX_ROW,T as SECTION_WIDTH_CHOICES,k as SECTION_WIDTH_FAMILY,n as SECTION_WIDTH_KEYS,i as SITE_WIDTHS_KEY,M as WIDTH_CHOICE_LABEL,p as WIDTH_INHERIT,l as WIDTH_MODES,I as chromeOwnWidth,y as hasOwnSectionWidth,O as hasWidthFamily,b as isInheritValue,o as normalizeSiteBackground,x as ownSectionWidth,h as resolveWidth,H as sectionBackgroundPatch,_ as sectionContentMaxPatch,B as sectionContentPatch,S as sectionRunsFullWidth,D as sectionWidthResetPatch,E as siteWidthsMetadata,w as siteWidthsOf};
@@ -0,0 +1,10 @@
1
+ import type { VIEW_ABOVE } from "efficient-easel/screen/lib/content/length-units";
2
+ export type ViewTierName = keyof typeof VIEW_ABOVE;
3
+ export type PanelView = "desktop" | "tablet" | "phone";
4
+ export declare const TIER_OF_VIEW: {
5
+ readonly desktop: "desktop";
6
+ readonly tablet: "tablet";
7
+ readonly phone: "mobile";
8
+ };
9
+ export declare function tierOfView(view: PanelView | undefined): ViewTierName;
10
+ export declare function viewOfTier(tier: ViewTierName): PanelView;
@@ -0,0 +1 @@
1
+ const t={desktop:"desktop",tablet:"tablet",phone:"mobile"},n=Object.keys(t);function r(e){return t[e??"desktop"]}function i(e){return n.find(o=>t[o]===e)??"desktop"}export{t as TIER_OF_VIEW,r as tierOfView,i as viewOfTier};
@@ -1,2 +1,7 @@
1
1
  import type { BlockMeta } from "../../block-types.js";
2
+ export declare const BANNER_PH: {
3
+ eyebrow: string;
4
+ title: string;
5
+ body: string;
6
+ };
2
7
  export declare const BannerMeta: BlockMeta;
@@ -1 +1 @@
1
- const e={label:"Banner",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BannerMeta};
1
+ const e={eyebrow:"Limited release",title:"Banner headline",body:"A line or two of supporting copy."},t={label:"Banner",drawsPictures:!0,defaultProps:{eyebrow:"",title:"",body:"",imageSrc:"",ctaText:"",ctaHref:"",contained:!0,overlay:60}};export{e as BANNER_PH,t as BannerMeta};
@@ -3,3 +3,5 @@ export declare const footprintCardSeed: () => BlockSeed;
3
3
  export declare const footprintSideCardSeed: () => BlockSeed;
4
4
  export declare function isUntouchedFootprintSideRow(props: Record<string, unknown>): boolean;
5
5
  export declare function withFootprintSideTemplate(props: Record<string, unknown>): Record<string, unknown>;
6
+ export declare const footprintDealerCardSeed: (tile: boolean) => BlockSeed;
7
+ export declare function withFootprintListTemplate(props: Record<string, unknown>): Record<string, unknown>;
@@ -1 +1 @@
1
- import{BOX_TYPE as r,CONTAINER_BLOCKS_SLOT as d}from"../../../container-blocks.js";import{DIM as i,INNER_BOX as f,TEXT as o,boxPadding as p,labelLook as y,seedNodes as O,token as l}from"../../../seed-parts.js";import{listBesideMap as _}from"../../../../content/list-position.js";import{nonEmptyString as u}from"../../../../non-empty-string.js";import{shapeKeyOf as m}from"../../../seed-shape.js";import{rowFieldTextSeed as e}from"../Cards/card-seed.js";import{CARD_ROW_FIELD_PROP as w,CARD_ROW_LINK_PROP as S}from"../../../../content/card-template.js";const n=y(11),F={textStyle:"body-1",...l("body",18),weight:500,lineHeight:1.2},K=()=>({type:r,props:{...f,gap:8,gapPhone:8,...p(20,24,20,20),name:"Office"},slots:{[d]:[e("badge",{...o,tag:"p",widthFit:"fill"},n,!0),e("role",{...o,tag:"p",widthFit:"fill"},n,!0),e("city",{...o,tag:"p",widthFit:"fill"},F),e("country",{...i,tag:"p",widthFit:"fill"},n),e("address",{...i,tag:"p",widthFit:"fill"},n),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[w]:"linkLabel",[S]:"href"}}]}}),L={textStyle:"body-1",fontRole:"heading",...l("body",16),weight:500,lineHeight:1.25},h={textStyle:"body-1",...l("body",14),lineHeight:1.5},b=()=>({type:r,props:{...f,gap:4,gapPhone:4,...p(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[d]:[e("city",{...o,tag:"p",widthFit:"fill"},L),e("address",{...i,tag:"p",widthFit:"fill"},h),e("phone",{...i,tag:"p",widthFit:"fill"},h)]}});function g(t){const a=u(t.id)??"Footprint";let c=0;return O([b()],s=>s===r?`${a}~office`:`${a}~office.${c++}`)}function R(t){return Array.isArray(t.template)&&t.template.length>0&&m(t.template)===m(g(t))}const E=t=>t===void 0||Array.isArray(t)&&t.length===0;function N(t){return _(t.listPosition)?!E(t.template)||t.source==="dealers"?t:{...t,template:g(t)}:R(t)?{...t,template:[]}:t}export{K as footprintCardSeed,b as footprintSideCardSeed,R as isUntouchedFootprintSideRow,N as withFootprintSideTemplate};
1
+ import{BOX_TYPE as r,CONTAINER_BLOCKS_SLOT as a}from"../../../container-blocks.js";import{DIM as c,INNER_BOX as l,TEXT as d,boxPadding as f,labelLook as I,seedNodes as _,token as g}from"../../../seed-parts.js";import{listBesideMap as E}from"../../../../content/list-position.js";import{nonEmptyString as L}from"../../../../non-empty-string.js";import{shapeKeyOf as s}from"../../../seed-shape.js";import{rowFieldTextSeed as i}from"../Cards/card-seed.js";import{BOX_HIDE_WHEN_ROW_EMPTY as B,CARD_ROW_FIELD_PROP as N,CARD_ROW_LINK_PROP as D}from"../../../../content/card-template.js";import{DEALERS_SOURCE as T,declaredBlockSource as C}from"../../../../content/block-sources.js";const F=e=>C(e)===T,h=I(11),K={textStyle:"body-1",...g("body",18),weight:500,lineHeight:1.2},Q=()=>({type:r,props:{...l,gap:8,gapPhone:8,...f(20,24,20,20),name:"Office"},slots:{[a]:[i("badge",{...d,tag:"p",widthFit:"fill"},h,!0),i("role",{...d,tag:"p",widthFit:"fill"},h,!0),i("city",{...d,tag:"p",widthFit:"fill"},K),i("country",{...c,tag:"p",widthFit:"fill"},h),i("address",{...c,tag:"p",widthFit:"fill"},h),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[N]:"linkLabel",[D]:"href"}}]}}),R={textStyle:"body-1",fontRole:"heading",...g("body",16),weight:500,lineHeight:1.25},w={textStyle:"body-1",...g("body",14),lineHeight:1.5},k=()=>({type:r,props:{...l,gap:4,gapPhone:4,...f(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[a]:[i("city",{...d,tag:"p",widthFit:"fill"},R),i("address",{...c,tag:"p",widthFit:"fill"},w),i("phone",{...c,tag:"p",widthFit:"fill"},w)]}});function b(e){const t=L(e.id)??"Footprint";let o=0;return _([k()],n=>n===r?`${t}~office`:`${t}~office.${o++}`)}function P(e){return Array.isArray(e.template)&&e.template.length>0&&s(e.template)===s(b(e))}const S=e=>e===void 0||Array.isArray(e)&&e.length===0;function x(e){return E(e.listPosition)?!S(e.template)||F(e)?e:{...e,template:b(e)}:P(e)?{...e,template:[]}:e}const H=R,$=w,M={textFit:"line"},u=(e,t,o="",n={},m={})=>{const p=i(e,{...t?c:d,tag:"p",...n},{...$,...m});return o?{...p,props:{...p.props,[D]:o}}:p},y=(e,t,o,n)=>({type:r,props:{...l,gap:0,gapPhone:0,[B]:[e],name:n},slots:{[a]:[u(e,t,o,M,{align:"right"})]}}),W=e=>({type:r,props:{...l,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?f(20,24):{...f(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[a]:[{type:r,props:{...l,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[a]:[{type:r,props:{...l,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[a]:[i("name",{...d,tag:"p",widthFit:"fill"},H),u("address",!0)]}},u("place",!0,"",{widthFit:"fill"})]}},{type:r,props:{...l,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[a]:[y("distance",!0,"","Dealer distance"),y("phone",!1,"phoneHref","Dealer phone"),y("website",!1,"websiteHref","Dealer website")]}}]}}),X=e=>{const t=W(e),o={type:r,props:{...l,...f(0,12),name:"Dealer"},slots:{[a]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:o};function O(e,t){const o=L(e.id)??"Footprint";let n=0;return _([X(t)],(m,p)=>p==="0"?`${o}~dealer`:`${o}~dealer.${n++}`)}function A(e){if(!Array.isArray(e.template)||e.template.length===0)return!1;const t=s(e.template);return t===s(O(e,!0))||t===s(O(e,!1))}function V(e){if(F(e)){const n=O(e,!E(e.listPosition));return!(S(e.template)||P(e)||A(e))||s(e.template??[])===s(n)?e:{...e,template:n}}if(!A(e))return x(e);const t={...e,template:[]};return x(t)}export{Q as footprintCardSeed,X as footprintDealerCardSeed,k as footprintSideCardSeed,P as isUntouchedFootprintSideRow,V as withFootprintListTemplate,x as withFootprintSideTemplate};
@@ -1,2 +1,2 @@
1
- import{FOOTPRINT_DEFAULTS as t}from"../../../../content/footprint.js";import{PH as e}from"../../placeholders.js";import{cardTemplateSlot as o}from"../../../../content/card-template.js";const s={sectionNumber:e.sectionNumber,heading:`${e.heading}
2
- *${e.accent}*`,tagline:e.body},a={template:o()},p={label:"Locations Map",fields:a,defaultProps:{sectionNumber:"",heading:"",tagline:"",offices:[],mapTheme:t.mapTheme,padTop:120,padBottom:120,source:"typed",search:!1,searchHint:"",noMatchText:"",listPosition:"below",showDistance:!0}};export{s as FOOTPRINT_PH,p as FootprintMeta,a as FootprintSlots};
1
+ import{FOOTPRINT_DEFAULTS as e}from"../../../../content/footprint.js";import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as o}from"../../../../content/card-template.js";const s={sectionNumber:t.sectionNumber,heading:`${t.heading}
2
+ *${t.accent}*`,tagline:t.body},a={template:o()},p={label:"Locations Map",fields:a,defaultProps:{sectionNumber:"",heading:"",tagline:"",offices:[],mapTheme:e.mapTheme,padTop:120,padBottom:120,search:!1,searchHint:"",noMatchText:"",listPosition:"below",showDistance:!0}};export{s as FOOTPRINT_PH,p as FootprintMeta,a as FootprintSlots};
@@ -0,0 +1,5 @@
1
+ import type { BlockSeed } from "../../../seed-parts.js";
2
+ export declare const PROCESS_COLUMNS_SLOT = "boxes";
3
+ export declare const PROCESS_STEPS_SEED_COUNT = 3;
4
+ export declare const processColumnSeed: () => BlockSeed;
5
+ export declare const processColumnSeeds: () => BlockSeed[];
@@ -0,0 +1 @@
1
+ import{BOX_TYPE as o,CONTAINER_BLOCKS_SLOT as e}from"../../../container-blocks.js";import{headingTextSeed as t}from"../../../text-seeds.js";const n="boxes",p=3,r=()=>({type:o,props:{direction:"column"},slots:{[e]:[{type:"ImageBlock"},{type:o,props:{direction:"column"},slots:{[e]:[{type:"Text",props:t()},{type:"Text"}]}}]}}),c=()=>Array.from({length:p},r);export{n as PROCESS_COLUMNS_SLOT,p as PROCESS_STEPS_SEED_COUNT,r as processColumnSeed,c as processColumnSeeds};
@@ -1 +1 @@
1
- import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";const p={num:t.sectionNumber,title:t.headingAccent,description:t.body,cta:t.viewAll},o={boxes:{type:"slot"},template:e()},l={label:"Image & Text Columns",drawsPictures:!0,fields:o,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120}};export{p as PROCESS_PH,l as ProcessStepsMeta,o as ProcessStepsSlots};
1
+ import{PH as t}from"../../placeholders.js";import{cardTemplateSlot as e}from"../../../../content/card-template.js";import{PROCESS_COLUMNS_SLOT as o}from"./column-seed.js";const m={num:t.sectionNumber,title:t.headingAccent,description:t.body,cta:t.viewAll},s={[o]:{type:"slot"},template:e()},c={label:"Image & Text Columns",drawsPictures:!0,fields:s,defaultProps:{num:"",title:"",description:"",columns:3,padTop:120,padBottom:120}};export{m as PROCESS_PH,c as ProcessStepsMeta,s as ProcessStepsSlots};
@@ -1,2 +1,8 @@
1
1
  import type { BlockMeta } from "../../block-types.js";
2
+ export declare const SECTION_HEADER_PH: {
3
+ num: string;
4
+ title: string;
5
+ description: string;
6
+ linkText: string;
7
+ };
2
8
  export declare const SectionHeaderMeta: BlockMeta;
@@ -1 +1 @@
1
- import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as t}from"../../../../sections/section-head-style.js";const i={label:"Section Header",drawsPictures:!0,defaultProps:{headStyle:t,num:"01 / Section",numStyle:e,title:"Section *title*",description:"",logoSrc:"",logoAlt:"",linkText:"",linkHref:""}};export{i as SectionHeaderMeta};
1
+ import{DEFAULT_SECTION_NUMBER_STYLE as e}from"../../../../sections/section-number-style.js";import{DEFAULT_SECTION_HEAD_STYLE as o}from"../../../../sections/section-head-style.js";import{PH as i}from"../../placeholders.js";const t={num:"01 / Section",title:"Section *title*",description:"Short supporting line",linkText:i.viewAll},S={label:"Section Header",drawsPictures:!0,defaultProps:{headStyle:o,num:t.num,numStyle:e,title:t.title,description:"",logoSrc:"",logoAlt:"",linkText:"",linkHref:""}};export{t as SECTION_HEADER_PH,S as SectionHeaderMeta};
@@ -1,5 +1,7 @@
1
1
  import type { BlockMeta } from "../../block-types.js";
2
+ import type { TitleButton } from "../../../../../../render/components/TitleWithButtons.js";
2
3
  export declare const TITLE_WITH_BUTTONS_PH: {
3
4
  title: string;
4
5
  };
6
+ export declare const TITLE_WITH_BUTTONS_SCAFFOLD_BUTTONS: readonly TitleButton[];
5
7
  export declare const TitleWithButtonsMeta: BlockMeta;
@@ -1,2 +1,2 @@
1
- const t={title:`Section heading
2
- *Highlight line*`},o={label:"Call-to-Action Heading",defaultProps:{title:"",buttons:[],padTop:140,padBottom:140}};export{t as TITLE_WITH_BUTTONS_PH,o as TitleWithButtonsMeta};
1
+ import{CTA_PH as t}from"../../placeholders.js";const o={title:`Section heading
2
+ *Highlight line*`},i=[{label:t.text,href:t.href,variant:"primary"},{label:t.text,href:t.href,variant:"outline"}],a={label:"Call-to-Action Heading",defaultProps:{title:"",buttons:[],padTop:140,padBottom:140}};export{o as TITLE_WITH_BUTTONS_PH,i as TITLE_WITH_BUTTONS_SCAFFOLD_BUTTONS,a as TitleWithButtonsMeta};
@@ -1 +1 @@
1
- import c from"./media-manifest.json";const l=c.mediaFields,n=/video|poster|focal|phone/i;function r(e){return(l[e]??[]).find(t=>!t.includes("[]")&&!n.test(t))??null}const s={adds:{kind:"block",type:"ImageBlock"},takes:e=>r(e.type)!==null,replace:(e,t)=>{const o=r(e.type);return o?{...e.props,[o]:t.url}:{...e.props}},create:(e,t)=>({type:"ImageBlock",props:{...t.nodeDefaults("ImageBlock"),id:t.newNodeId("ImageBlock"),src:e.url}})};export{s as WEBSITE_MEDIA_DROP,r as mainPicturePath};
1
+ import e from"./media-manifest.json";import{boxNamesRowPicture as r}from"../content/box-background.js";import{rowBound as i}from"../content/card-template.js";import{BOX_TYPE as p}from"./container-blocks.js";const c=e.mediaFields,m=/video|poster|focal|phone/i;function n(o){return(c[o]??[]).find(t=>!t.includes("[]")&&!m.test(t))??null}function a(o){const t=n(o.type);return o.type!==p?t&&i(o.type,o.props,t)?{fromData:!0}:t:r(o.props)?{fromData:!0}:t}const d={adds:{kind:"block",type:"ImageBlock"},kinds:["image"],pictureOf:a,create:(o,t)=>({type:"ImageBlock",props:{...t.nodeDefaults("ImageBlock"),id:t.newNodeId("ImageBlock"),src:o.url}})};export{d as WEBSITE_MEDIA_DROP,n as mainPicturePath};
@@ -1,3 +1,5 @@
1
1
  export declare const H1_SECTIONS: readonly ["DocMasthead", "AlloyWheelsListing"];
2
2
  export declare const PAGE_TITLE_LEVEL_PROP = "titleLevel";
3
+ export declare const pageTitleTag: (level: unknown) => "h1" | "h2";
4
+ export declare const pageTitleDemoted: (props: Readonly<Record<string, unknown>> | undefined) => boolean;
3
5
  export declare function oneH1<T>(data: T): T;
@@ -1 +1 @@
1
- const c=["DocMasthead","AlloyWheelsListing"],l="titleLevel";function p(e){const n=e;if(!n?.content?.length)return e;let r=!1,s=!1;const o=n.content.map(t=>c.includes(t?.type??"")?r?(s=!0,{...t,props:{...t.props??{},[l]:2}}):(r=!0,t):t);return s?{...n,content:o}:e}export{c as H1_SECTIONS,l as PAGE_TITLE_LEVEL_PROP,p as oneH1};
1
+ const l=["DocMasthead","AlloyWheelsListing"],s="titleLevel",p=e=>e===2?"h2":"h1",i=e=>p(e?.[s])==="h2";function u(e){const n=e;if(!n?.content?.length)return e;let r=!1,o=!1;const c=n.content.map(t=>l.includes(t?.type??"")?r?(o=!0,{...t,props:{...t.props??{},[s]:2}}):(r=!0,t):t);return o?{...n,content:c}:e}export{l as H1_SECTIONS,s as PAGE_TITLE_LEVEL_PROP,u as oneH1,i as pageTitleDemoted,p as pageTitleTag};
@@ -36,6 +36,7 @@ export type PassInspector = {
36
36
  phone?: boolean;
37
37
  tablet?: boolean;
38
38
  group?: boolean;
39
+ siteSide?: boolean;
39
40
  }) => FieldMap;
40
41
  sectionShapeFields: () => FieldMap;
41
42
  cardShapeFields: () => FieldMap;
@@ -1,2 +1,3 @@
1
1
  export declare const RENAMED_PROPS: Readonly<Record<string, string>>;
2
+ export declare const SOURCE_PROPS_MOVED: Readonly<Record<string, string>>;
2
3
  export declare function migrateRenamedProps<T>(data: T): T;
@@ -1 +1 @@
1
- import{isNodeList as m}from"efficient-easel/data";import{templateOnRead as u}from"../content/card-template.js";const y={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"};function l(o){let e=o.props,c=!1;if(o.type&&e)for(const[t,r]of Object.entries(y)){const n=t.indexOf("."),i=t.slice(0,n),s=t.slice(n+1);if(i!==o.type||!(s in e))continue;const p=e[s],f={...e};delete f[s],(!(r in f)||f[r]===void 0)&&(f[r]=p),e=f,c=!0}if(o.type&&e){const t=u(o.type,e);t!==e&&(e=t,c=!0)}if(e){let t=e;for(const[r,n]of Object.entries(e)){if(!m(n))continue;const i=n.map(l);i.some((s,p)=>s!==n[p])&&(t===e&&(t={...e}),t[r]=i,c=!0)}e=t}return c?{...o,props:e}:o}function g(o){const e=o;if(!e||typeof e!="object")return o;let c=!1;const t={...o};if(Array.isArray(e.content)){const r=e.content.map(l);r.some((n,i)=>n!==e.content[i])&&(t.content=r,c=!0)}if(e.zones&&typeof e.zones=="object"){let r=!1;const n=Object.fromEntries(Object.entries(e.zones).map(([i,s])=>{if(!Array.isArray(s))return[i,s];const p=s.map(l);return p.some((f,a)=>f!==s[a])&&(r=!0),[i,p]}));r&&(t.zones=n,c=!0)}return c?t:o}export{y as RENAMED_PROPS,g as migrateRenamedProps};
1
+ import{isNodeList as m}from"efficient-easel/data";import{templateOnRead as a}from"../content/card-template.js";import{BLOCK_SOURCE_PROP as y,declaredBlockSource as O,isBlockSourceKey as d}from"../content/block-sources.js";const P={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"},R={"Footprint.source":"typed"};function l(o){let e=o.props,f=!1;if(o.type&&e)for(const[t,s]of Object.entries(P)){const i=t.indexOf("."),r=t.slice(0,i),n=t.slice(i+1);if(r!==o.type||!(n in e))continue;const c=e[n],p={...e};delete p[n],(!(s in p)||p[s]===void 0)&&(p[s]=c),e=p,f=!0}if(o.type&&e)for(const[t,s]of Object.entries(R)){const i=t.indexOf("."),r=t.slice(i+1);if(t.slice(0,i)!==o.type||!(r in e))continue;const n=typeof e[r]=="string"?e[r].trim():"",c={...e};delete c[r],d(n)&&n!==s&&!O(c)&&(c[y]=n),e=c,f=!0}if(o.type&&e){const t=a(o.type,e);t!==e&&(e=t,f=!0)}if(e){let t=e;for(const[s,i]of Object.entries(e)){if(!m(i))continue;const r=i.map(l);r.some((n,c)=>n!==i[c])&&(t===e&&(t={...e}),t[s]=r,f=!0)}e=t}return f?{...o,props:e}:o}function b(o){const e=o;if(!e||typeof e!="object")return o;let f=!1;const t={...o};if(Array.isArray(e.content)){const s=e.content.map(l);s.some((i,r)=>i!==e.content[r])&&(t.content=s,f=!0)}if(e.zones&&typeof e.zones=="object"){let s=!1;const i=Object.fromEntries(Object.entries(e.zones).map(([r,n])=>{if(!Array.isArray(n))return[r,n];const c=n.map(l);return c.some((p,u)=>p!==n[u])&&(s=!0),[r,c]}));s&&(t.zones=i,f=!0)}return f?t:o}export{P as RENAMED_PROPS,R as SOURCE_PROPS_MOVED,b as migrateRenamedProps};
@@ -1,4 +1,12 @@
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:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{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:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{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"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",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"}]}];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={Masthead:{label:"Issue Header",note:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
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.
2
+
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
+
5
+ WHAT A MERCHANT LOSES: typed tabs with typed counts (the Menu draws the blog's categories, or a Console menu); the Archive and RSS links at the bar's right end (a Box beside the Menu holds Buttons, if wanted); the first tab marked when no page matches (the Menu marks the page's own entry); the blur behind the bar.
6
+
7
+ 0 Category Bars are stored on the US sites (34 pages, draft and published; read only, 2026-11-09). Old sites stay as they are (owner, 2026-11-06).
8
+
9
+ THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding a Category Bar still renders through it and can still be edited; no document is rewritten. Delete the component when CategoryBar is on SECTION_TO_BOX_ON and the stored count on the US sites is 0.`},Masthead:{label:"Issue Header",note:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
2
10
 
3
11
  WHAT REPLACES IT: Page Header, a Box of Text blocks: a Header Box (the eyebrow, the title, a Details Box of one Text per line) over a Deck Box. Every Issue Header field is plain words with no data source, so the merchant makes the issue shape from Text blocks in that Box: the issue lines are Details lines, the lead is the Deck, and the "In this issue" panel is a Box of Texts beside it. Its converter row (\`section-to-box-rows-pageheader\` \`masthead\`, OFF) stays for a stored page that moves later.
4
12
 
@@ -54,4 +62,4 @@ WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a pres
54
62
 
55
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).
56
64
 
57
- 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",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.`},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};
@@ -1 +1 @@
1
- const e={Hero:"Full-screen opener with rotating slides.",HeroSingle:"Full-screen image or video with a headline.",IntroBleed:"Full-bleed intro image the next section scrolls over.",Collections:"Product collections in a tidy grid.",AlloyWheelsListing:"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.",CatalogFilterBar:"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.",ProductGrid:"Hand-picked products in a tidy grid.",FitmentFinder:"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.",Gallery:"Two image galleries with tabs and filters.",GalleryB:"A wall of your photos or your products' pictures, with a click-to-open lightbox.",SpecStrip:"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.",ProductHero:"A product hero — image beside price, bullets and a buy button.",SpecTable:"A spec sheet — labeled rows of product specifications.",ProcessSteps:"A heading over columns, or alternating rows, of image, title, blurb and specs.",DetailRows:"Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.",FitmentTable:"A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.",CompatibleTyres:"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.",RelatedProducts:"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.",OrderSummary:"A display order-summary panel — items, totals and a note.",DeliveryOptions:"Delivery tiers as cards — name, window and price, one highlighted.",PaymentBadges:"A payment-methods trust strip with reassurance lines.",CheckoutCTA:"A centered 'ready to order?' headline with the checkout button.",Manifesto:"A bold brand statement beside a full-height image, with a stat strip.",ParagraphsA:"An editorial text panel with a stat strip and founders' note.",StatsParagraph:"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.",Chart:"A titled chart — bars, line or donut — drawn from your own labeled data points.",Mockup:"A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.",Prose:"A plain editorial text section — eyebrow, heading and body copy.",Timeline:"An editorial aside beside a rail-marked timeline of dated entries.",TimelineTrack:"A horizontal year track of milestones — company history or roadmap.",Footprint:"A world map of your locations with a legend — designed here, sold worldwide.",TitleWithButtons:"A big headline beside a stack of call-to-action buttons.",Split:"Side-by-side image and text in two columns.",Cards:"A heading over a grid of free-text title-and-blurb cards.",FAQ:"A frequently-asked-questions accordion with a header.",Testimonials:"Customer quotes in a grid — the quote, a name and a role.",Masthead:"A journal issue header with a lead statement and contents.",Breadcrumb:"A slim trail showing where the reader is (Home / Journal…).",CategoryBar:"A sticky row of category tabs with counts and links.",FeaturedCover:"A featured article — big cover image beside a headline and dek.",LongRead:"A long-form article spread with a pull-quote and cover image.",Series:"A section heading over a grid of column cards.",Subscribe:"A newsletter signup beside a list of recent issues.",SubscribeBlogs:"A newsletter signup beside your latest blog posts, pulled live.",Events:"Latest journal posts in a three-card row.",DocMasthead:"A page header: eyebrow, title, details and a deck.",DocTabs:"A sticky tab bar to switch between documents.",DocBody:"Long-form document body with an 'On this page' contents list.",DocMetaCards:"A three-up meta strip for the foot of a document.",Banner:"Wide promo strip with background image.",Stats:"Highlight key numbers — years, designs.",Countdown:"Hours, minutes and seconds to a set date and time, then one line.",KeyFeatures:"A theme-color chip and heading over a grid of short feature labels.",Logos:"A row of partner or brand logos.",Ticker:"A scrolling marquee of short phrases, full width.",Reviews:"Approved customer reviews in a star-rated card grid, pulled live.",SubmitBuild:"A 'Show us yours.' headline with a photo-submission form.",ReviewForm:"A write-a-review form — submissions wait for your approval before they show.",ContactRouting:"Pick who to reach, then a form that routes the message.",ContactLocations:"Your locations as a city gallery plus address and map cards.",SectionHeader:"A numbered section title with optional link.",Grid:"Multi-column container for blocks.",Flex:"An empty section. Add whatever you want inside.",Spacer:"Vertical breathing room between sections.",Divider:"A thin horizontal rule between sections.",CustomHTML:"Drop in your own sanitized HTML.",Heading:"A single heading line.",Text:"A paragraph of body copy.",ImageBlock:"A standalone image, at the width you set.",ButtonBlock:"A call-to-action button."};export{e as SECTION_DESCRIPTIONS};
1
+ const e={Hero:"Full-screen opener with rotating slides.",HeroSingle:"Full-screen image or video with a headline.",IntroBleed:"Full-bleed intro image the next section scrolls over.",Collections:"Product collections in a tidy grid.",AlloyWheelsListing:"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.",CatalogFilterBar:"Filters the collection grids below it — a sticky row of Pills (the default), or Columns, one per filter you switch on.",ProductGrid:"Hand-picked products in a tidy grid.",FitmentFinder:"A vehicle picker — make, model, year and trim resolve the OEM stock fitment live.",Gallery:"Two image galleries with tabs and filters.",GalleryB:"A wall of your photos or your products' pictures, with a click-to-open lightbox.",SpecStrip:"A thin one-line spec strip — small-caps items spread across the width, as a dark band or a bare hairline row.",ProductHero:"A product hero — image beside price, bullets and a buy button.",SpecTable:"A spec sheet — labeled rows of product specifications.",ProcessSteps:"A heading over columns, or alternating rows, of image, title, blurb and specs.",DetailRows:"Repeating full-width rows — eyebrow, title and copy beside a numbered close-up image, alternating sides each row.",FitmentTable:"A fitment table — per-size bolt patterns, offsets and load ratings, filterable by diameter.",CompatibleTyres:"The current product's compatible tyres — image, size, key specs and price per tyre, with an inquiry link. Display only.",RelatedProducts:"The current product's related items in a tidy row — the product page's built-in 'Pair with' cross-sell.",OrderSummary:"A display order-summary panel — items, totals and a note.",DeliveryOptions:"Delivery tiers as cards — name, window and price, one highlighted.",PaymentBadges:"A payment-methods trust strip with reassurance lines.",CheckoutCTA:"A centered 'ready to order?' headline with the checkout button.",Manifesto:"A bold brand statement beside a full-height image, with a stat strip.",ParagraphsA:"An editorial text panel with a stat strip and founders' note.",StatsParagraph:"An editorial heading and paragraph over a row of stat cards whose units and small labels take the main color.",Chart:"A titled chart — bars, line or donut — drawn from your own labeled data points.",Mockup:"A headline beside a stylized product-UI mockup card — spec sheet, fitment, portal, kanban and more.",Prose:"A plain editorial text section — eyebrow, heading and body copy.",Timeline:"An editorial aside beside a rail-marked timeline of dated entries.",TimelineTrack:"A horizontal year track of milestones — company history or roadmap.",Footprint:"A world map of your locations with a legend — designed here, sold worldwide.",TitleWithButtons:"A big headline beside a stack of call-to-action buttons.",Split:"Side-by-side image and text in two columns.",Cards:"A heading over a grid of free-text title-and-blurb cards.",FAQ:"A frequently-asked-questions accordion with a header.",Testimonials:"Customer quotes in a grid — the quote, a name and a role.",Masthead:"A journal issue header with a lead statement and contents.",Breadcrumb:"A slim trail showing where the reader is (Home / Journal…).",CategoryBar:"A sticky row of category tabs with counts and links.",FeaturedCover:"A featured article — big cover image beside a headline and dek.",LongRead:"A long-form article spread with a pull-quote and cover image.",Series:"A section heading over a grid of column cards.",Subscribe:"A newsletter signup beside a list of recent issues.",SubscribeBlogs:"A newsletter signup beside your latest blog posts, pulled live.",Events:"Latest journal posts in a three-card row.",DocMasthead:"A page header: eyebrow, title, details and a deck.",DocTabs:"A sticky tab bar that marks the page you are on.",DocBody:"Long-form document body with an 'On this page' contents list.",DocMetaCards:"A three-up meta strip for the foot of a document.",Banner:"Wide promo strip with background image.",Stats:"Highlight key numbers — years, designs.",Countdown:"Hours, minutes and seconds to a set date and time, then one line.",KeyFeatures:"A theme-color chip and heading over a grid of short feature labels.",Logos:"A row of partner or brand logos.",Ticker:"A scrolling marquee of short phrases, full width.",Reviews:"Approved customer reviews in a star-rated card grid, pulled live.",SubmitBuild:"A 'Show us yours.' headline with a photo-submission form.",ReviewForm:"A write-a-review form — submissions wait for your approval before they show.",ContactRouting:"Pick who to reach, then a form that routes the message.",ContactLocations:"Your locations as a city gallery plus address and map cards.",SectionHeader:"A numbered section title with optional link.",Grid:"Multi-column container for blocks.",Flex:"An empty section. Add whatever you want inside.",Spacer:"Vertical breathing room between sections.",Divider:"A thin horizontal rule between sections.",CustomHTML:"Drop in your own sanitized HTML.",Heading:"A single heading line.",Text:"A paragraph of body copy.",ImageBlock:"A standalone image, at the width you set.",ButtonBlock:"A call-to-action button."};export{e as SECTION_DESCRIPTIONS};
@@ -70,6 +70,7 @@ export declare const WEB_BUILDER_WORDS: {
70
70
  readonly "A spec sheet \u2014 labeled rows of product specifications.": "A spec sheet — labeled rows of product specifications.";
71
71
  readonly "A standalone image, at the width you set.": "A standalone image, at the width you set.";
72
72
  readonly "A sticky row of category tabs with counts and links.": "A sticky row of category tabs with counts and links.";
73
+ readonly "A sticky tab bar that marks the page you are on.": "A sticky tab bar that marks the page you are on.";
73
74
  readonly "A sticky tab bar to switch between documents.": "A sticky tab bar to switch between documents.";
74
75
  readonly "A template is a blueprint \u2014 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.";
75
76
  readonly "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.";
@@ -287,6 +288,7 @@ export declare const WEB_BUILDER_WORDS: {
287
288
  readonly "City maps": "City maps";
288
289
  readonly "City pictures": "City pictures";
289
290
  readonly "City strip": "City strip";
291
+ readonly "City \u00B7 state \u00B7 postcode": "City · state · postcode";
290
292
  readonly "Claims bars": "Claims bars";
291
293
  readonly "Claims panel": "Claims panel";
292
294
  readonly "Claims panel (rows + defect bars)": "Claims panel (rows + defect bars)";
@@ -361,6 +363,7 @@ export declare const WEB_BUILDER_WORDS: {
361
363
  readonly Dashed: "Dashed";
362
364
  readonly "Data points": "Data points";
363
365
  readonly Date: "Date";
366
+ readonly "Dealer name": "Dealer name";
364
367
  readonly Dealers: "Dealers";
365
368
  readonly "Dealers are not available on this website": "Dealers are not available on this website";
366
369
  readonly "Deck / standfirst": "Deck / standfirst";
@@ -777,6 +780,7 @@ export declare const WEB_BUILDER_WORDS: {
777
780
  readonly "Name / alt": "Name / alt";
778
781
  readonly "Name this version": "Name this version";
779
782
  readonly "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.";
783
+ readonly "Narrows below": "Narrows below";
780
784
  readonly Natural: "Natural";
781
785
  readonly "Navigation & wayfinding": "Navigation & wayfinding";
782
786
  readonly "Never published": "Never published";
@@ -822,6 +826,7 @@ export declare const WEB_BUILDER_WORDS: {
822
826
  readonly "Odd cards": "Odd cards";
823
827
  readonly Off: "Off";
824
828
  readonly Office: "Office";
829
+ readonly "Office content": "Office content";
825
830
  readonly Offices: "Offices";
826
831
  readonly "Offset tall": "Offset tall";
827
832
  readonly "On 1 page": "On 1 page";
@@ -888,6 +893,7 @@ export declare const WEB_BUILDER_WORDS: {
888
893
  readonly "Payment content": "Payment content";
889
894
  readonly "Payment methods": "Payment methods";
890
895
  readonly Phone: "Phone";
896
+ readonly "Phone link": "Phone link";
891
897
  readonly "Photo Submission Form": "Photo Submission Form";
892
898
  readonly "Photo behind the words": "Photo behind the words";
893
899
  readonly Photography: "Photography";
@@ -1180,6 +1186,7 @@ export declare const WEB_BUILDER_WORDS: {
1180
1186
  readonly "Synced from the site menu.": "Synced from the site menu.";
1181
1187
  readonly "Syncing from {place}\u2026": "Syncing from {place}…";
1182
1188
  readonly Tab: "Tab";
1189
+ readonly "Tab Bar": "Tab Bar";
1183
1190
  readonly "Tab label": "Tab label";
1184
1191
  readonly "Tab name": "Tab name";
1185
1192
  readonly "Tab shape": "Tab shape";
@@ -1322,6 +1329,7 @@ export declare const WEB_BUILDER_WORDS: {
1322
1329
  readonly "Under the header": "Under the header";
1323
1330
  readonly "Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.": "Under the header: the section stops below the site header. Screen top: it stops at the top edge of the screen, under a see-through header.";
1324
1331
  readonly "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.": "Under this screen width the blocks stand one under another, with the Phone Gap and Padding.";
1332
+ readonly "Under this screen width the side space narrows and the Phone Padding is used.": "Under this screen width the side space narrows and the Phone Padding is used.";
1325
1333
  readonly Undo: "Undo";
1326
1334
  readonly "Undo did not work. Nothing changed. Try again.": "Undo did not work. Nothing changed. Try again.";
1327
1335
  readonly Ungrouped: "Ungrouped";
@@ -1359,6 +1367,8 @@ export declare const WEB_BUILDER_WORDS: {
1359
1367
  readonly "Ways to pay": "Ways to pay";
1360
1368
  readonly "We accept": "We accept";
1361
1369
  readonly WeChat: "WeChat";
1370
+ readonly Website: "Website";
1371
+ readonly "Website link": "Website link";
1362
1372
  readonly "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.": "What each card does when a shopper points at it, or taps it on a phone. Rotate turns the wheel picture.";
1363
1373
  readonly "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.": "What each card does when a shopper points at it. Show next image covers the card with this product's photos, with arrows; a phone shows the card as it is. Rotate turns the wheel picture.";
1364
1374
  readonly "What people *say.*": "What people *say.*";