efficient-web-builder 41.1.0 → 43.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 (754) hide show
  1. package/CHANGELOG.md +263 -0
  2. package/README.md +0 -21
  3. package/dist/editor/components/AnchorField.js +1 -1
  4. package/dist/editor/components/DuplicatePageDialog.js +1 -1
  5. package/dist/editor/components/MediaUploadField.d.ts +3 -1
  6. package/dist/editor/components/MediaUploadField.js +1 -1
  7. package/dist/editor/components/PagesPanel.js +1 -1
  8. package/dist/editor/components/SectionEditor.d.ts +5 -4
  9. package/dist/editor/components/SectionEditor.js +1 -1
  10. package/dist/editor/components/SectionIcon.js +1 -1
  11. package/dist/editor/components/SectionThumbnail.js +1 -1
  12. package/dist/editor/components/SiteFields.d.ts +2 -1
  13. package/dist/editor/components/SiteFields.js +1 -1
  14. package/dist/editor/components/StylesPanel.d.ts +3 -1
  15. package/dist/editor/components/StylesPanel.js +1 -1
  16. package/dist/editor/components/WebsiteScreenParts.js +1 -1
  17. package/dist/editor/components/WebsiteSettingsPanel.d.ts +6 -1
  18. package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
  19. package/dist/editor/components/storefront-editor.css +97 -117
  20. package/dist/editor/components/useHostDocumentBridge.js +1 -1
  21. package/dist/editor/components/useLocationsTree.js +1 -1
  22. package/dist/editor/components/usePinnedChromeSeed.js +1 -1
  23. package/dist/editor/components/useSectionToBoxPass.d.ts +2 -0
  24. package/dist/editor/components/useSectionToBoxPass.js +1 -1
  25. package/dist/editor/components/useSocialSettings.d.ts +2 -2
  26. package/dist/editor/lib/document/ColourControl.d.ts +7 -2
  27. package/dist/editor/lib/document/ColourControl.js +1 -1
  28. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
  29. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
  30. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  31. package/dist/editor/lib/document/blocks/general/HeroSlide/fields.js +1 -1
  32. package/dist/editor/lib/document/blocks/general/Logos/fields.js +1 -1
  33. package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
  34. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  35. package/dist/editor/lib/document/canvas-typing.js +1 -1
  36. package/dist/editor/lib/document/consent-words-field.d.ts +6 -0
  37. package/dist/editor/lib/document/consent-words-field.js +1 -0
  38. package/dist/editor/lib/document/controls.d.ts +14 -2
  39. package/dist/editor/lib/document/controls.js +1 -1
  40. package/dist/editor/lib/document/field-groups.js +1 -1
  41. package/dist/editor/lib/document/footer-blocks.js +1 -1
  42. package/dist/editor/lib/document/locked-blocks.d.ts +3 -0
  43. package/dist/editor/lib/document/locked-blocks.js +1 -1
  44. package/dist/editor/lib/document/page-root-fields.d.ts +1 -0
  45. package/dist/editor/lib/document/page-root-fields.js +1 -1
  46. package/dist/editor/lib/document/part-anchors.d.ts +0 -1
  47. package/dist/editor/lib/document/part-anchors.js +1 -1
  48. package/dist/editor/lib/document/section-width-fields.js +1 -1
  49. package/dist/editor/lib/document/selected-host.d.ts +2 -0
  50. package/dist/editor/lib/document/selected-host.js +1 -0
  51. package/dist/editor/lib/page-copy.js +1 -1
  52. package/dist/editor/lib/sections/section-dry-run.d.ts +24 -6
  53. package/dist/editor/lib/sections/section-dry-run.js +2 -2
  54. package/dist/format/lib/content/authored-props.js +1 -1
  55. package/dist/format/lib/content/block-sources.js +1 -1
  56. package/dist/format/lib/content/box-layout.d.ts +5 -0
  57. package/dist/format/lib/content/box-layout.js +1 -1
  58. package/dist/format/lib/content/box-shadow.d.ts +3 -0
  59. package/dist/format/lib/content/box-shadow.js +1 -0
  60. package/dist/format/lib/content/button-icon.d.ts +2 -1
  61. package/dist/format/lib/content/button-icon.js +1 -1
  62. package/dist/format/lib/content/button-look.d.ts +46 -0
  63. package/dist/format/lib/content/button-look.js +1 -0
  64. package/dist/format/lib/content/consent-banner.d.ts +21 -0
  65. package/dist/format/lib/content/consent-banner.js +1 -1
  66. package/dist/format/lib/content/contact.js +1 -1
  67. package/dist/format/lib/content/footer.d.ts +15 -0
  68. package/dist/format/lib/content/footer.js +1 -1
  69. package/dist/format/lib/content/gallery-layout.d.ts +12 -0
  70. package/dist/format/lib/content/gallery-layout.js +1 -1
  71. package/dist/format/lib/content/section-padding.d.ts +10 -0
  72. package/dist/format/lib/content/section-padding.js +1 -1
  73. package/dist/format/lib/content/section-sticky.js +1 -1
  74. package/dist/format/lib/content/section-width.js +1 -1
  75. package/dist/format/lib/document/blocks/general/Divider/meta.js +1 -1
  76. package/dist/format/lib/document/blocks/general/Logos/meta.d.ts +6 -0
  77. package/dist/format/lib/document/blocks/general/Logos/meta.js +1 -1
  78. package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -1
  79. package/dist/format/lib/document/box-footer.js +1 -1
  80. package/dist/format/lib/document/container-blocks.js +1 -1
  81. package/dist/format/lib/document/media-manifest.json +3 -2
  82. package/dist/format/lib/document/nestable-content-sections.js +1 -1
  83. package/dist/format/lib/document/overlay-portal.d.ts +0 -1
  84. package/dist/format/lib/document/overlay-portal.js +1 -1
  85. package/dist/format/lib/document/passes/settings-groups.js +1 -1
  86. package/dist/format/lib/document/root-panel.d.ts +8 -0
  87. package/dist/format/lib/document/root-panel.js +1 -0
  88. package/dist/format/lib/document/section-catalog.d.ts +1 -2
  89. package/dist/format/lib/document/section-catalog.js +10 -2
  90. package/dist/format/lib/document/source-bound-parts.js +1 -1
  91. package/dist/format/lib/editor-words-catalogue.d.ts +26 -4
  92. package/dist/format/lib/editor-words-catalogue.js +4 -4
  93. package/dist/format/lib/editor-words.js +1 -1
  94. package/dist/format/lib/finite-number.d.ts +1 -0
  95. package/dist/format/lib/finite-number.js +1 -0
  96. package/dist/format/lib/hero-texture.js +1 -1
  97. package/dist/format/lib/hero-video.d.ts +7 -0
  98. package/dist/format/lib/hero-video.js +1 -1
  99. package/dist/format/lib/links/page-link-rules.js +1 -1
  100. package/dist/format/lib/marked-children.d.ts +1 -0
  101. package/dist/format/lib/marked-children.js +1 -0
  102. package/dist/format/lib/non-empty-string.d.ts +1 -0
  103. package/dist/format/lib/non-empty-string.js +1 -0
  104. package/dist/format/lib/popup/look.d.ts +1 -1
  105. package/dist/format/lib/popup/look.js +1 -1
  106. package/dist/format/lib/reel.d.ts +2 -1
  107. package/dist/format/lib/reel.js +1 -1
  108. package/dist/format/lib/sections/divider-style.d.ts +10 -2
  109. package/dist/format/lib/sections/divider-style.js +1 -1
  110. package/dist/format/lib/sections/hero-overlay.js +1 -1
  111. package/dist/format/lib/sections/logo-look.d.ts +7 -0
  112. package/dist/format/lib/sections/logo-look.js +1 -0
  113. package/dist/format/lib/sections/section-head-placement.d.ts +1 -0
  114. package/dist/format/lib/sections/section-head-placement.js +1 -1
  115. package/dist/format/lib/slugify.d.ts +1 -1
  116. package/dist/format/lib/slugify.js +1 -1
  117. package/dist/format/lib/source-rules/document-surfaces.js +4 -4
  118. package/dist/format/lib/source-rules/editor-drag-off.js +3 -3
  119. package/dist/format/lib/source-rules/panel-colour-tokens.js +6 -6
  120. package/dist/format/lib/source-rules/panel-no-divider-lines.js +4 -4
  121. package/dist/format/lib/source-rules/panel-one-arrow.js +1 -1
  122. package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +8 -8
  123. package/dist/format/lib/source-rules/support/document-folder.d.ts +2 -2
  124. package/dist/format/lib/source-rules/support/document-folder.js +1 -1
  125. package/dist/format/lib/theme.d.ts +2 -1
  126. package/dist/format/lib/theme.js +4 -4
  127. package/dist/render/components/BoxTabPaneContext.d.ts +2 -0
  128. package/dist/render/components/BoxTabPaneContext.js +1 -0
  129. package/dist/render/components/BoxTabs.d.ts +2 -1
  130. package/dist/render/components/BoxTabs.js +1 -1
  131. package/dist/render/components/Btn.d.ts +1 -0
  132. package/dist/render/components/Btn.js +1 -1
  133. package/dist/render/components/ButtonBlock.d.ts +12 -1
  134. package/dist/render/components/ButtonBlock.js +1 -1
  135. package/dist/render/components/Divider.d.ts +5 -4
  136. package/dist/render/components/Divider.js +1 -1
  137. package/dist/render/components/DocBody.js +5 -5
  138. package/dist/render/components/Flex.d.ts +3 -1
  139. package/dist/render/components/Flex.js +1 -1
  140. package/dist/render/components/HeroSection.js +2 -2
  141. package/dist/render/components/LogoBlock.d.ts +1 -1
  142. package/dist/render/components/LogoBlock.js +1 -1
  143. package/dist/render/components/LogoWallContext.d.ts +12 -0
  144. package/dist/render/components/LogoWallContext.js +1 -0
  145. package/dist/render/components/Logos.d.ts +16 -1
  146. package/dist/render/components/Logos.js +1 -1
  147. package/dist/render/components/PaymentBadges.d.ts +3 -1
  148. package/dist/render/components/PaymentBadges.js +1 -1
  149. package/dist/render/components/Reel.js +1 -1
  150. package/dist/render/components/SiteGutterFrame.d.ts +2 -1
  151. package/dist/render/components/SiteGutterFrame.js +1 -1
  152. package/dist/render/lib/document/blocks/general/ButtonBlock/render.js +1 -1
  153. package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
  154. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
  155. package/dist/render/lib/document/blocks/general/HeroSlide/render.js +1 -1
  156. package/dist/render/lib/document/blocks/general/Logos/render.js +1 -1
  157. package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
  158. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +4 -2
  159. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  160. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.d.ts +2 -0
  161. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -0
  162. package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.d.ts +5 -0
  163. package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -0
  164. package/dist/render/lib/document/blocks/general/section-to-box-rows.d.ts +0 -4
  165. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  166. package/dist/render/lib/document/hero-media-parts.d.ts +2 -2
  167. package/dist/render/lib/document/part-rows.js +1 -1
  168. package/dist/render/lib/document/passes/section-anchor.js +1 -1
  169. package/dist/render/lib/document/passes/section-padding.d.ts +1 -0
  170. package/dist/render/lib/document/passes/section-padding.js +1 -1
  171. package/dist/render/lib/document/text-parts.js +1 -1
  172. package/dist/render/lib/sections/section-to-box.d.ts +32 -11
  173. package/dist/render/lib/sections/section-to-box.js +1 -1
  174. package/dist/render/lib/text-styles/site-text-styles.d.ts +2 -0
  175. package/dist/render/lib/text-styles/site-text-styles.js +2 -2
  176. package/package.json +5 -5
  177. package/dist/editor/lib/puck/ColourControl.d.ts +0 -1
  178. package/dist/editor/lib/puck/ColourControl.js +0 -1
  179. package/dist/editor/lib/puck/MarkupToolbar.d.ts +0 -2
  180. package/dist/editor/lib/puck/MarkupToolbar.js +0 -1
  181. package/dist/editor/lib/puck/add-palette.d.ts +0 -1
  182. package/dist/editor/lib/puck/add-palette.js +0 -1
  183. package/dist/editor/lib/puck/add-target.d.ts +0 -1
  184. package/dist/editor/lib/puck/add-target.js +0 -1
  185. package/dist/editor/lib/puck/apply-card-corners.d.ts +0 -1
  186. package/dist/editor/lib/puck/apply-card-corners.js +0 -1
  187. package/dist/editor/lib/puck/block-offer.d.ts +0 -1
  188. package/dist/editor/lib/puck/block-offer.js +0 -1
  189. package/dist/editor/lib/puck/block-source-fields.d.ts +0 -1
  190. package/dist/editor/lib/puck/block-source-fields.js +0 -1
  191. package/dist/editor/lib/puck/blocks/general/Banner/fields.d.ts +0 -1
  192. package/dist/editor/lib/puck/blocks/general/Banner/fields.js +0 -1
  193. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.d.ts +0 -1
  194. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.js +0 -1
  195. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.d.ts +0 -1
  196. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.js +0 -1
  197. package/dist/editor/lib/puck/blocks/general/Cards/fields.d.ts +0 -1
  198. package/dist/editor/lib/puck/blocks/general/Cards/fields.js +0 -1
  199. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.d.ts +0 -1
  200. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.js +0 -1
  201. package/dist/editor/lib/puck/blocks/general/Chart/fields.d.ts +0 -1
  202. package/dist/editor/lib/puck/blocks/general/Chart/fields.js +0 -1
  203. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.d.ts +0 -1
  204. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.js +0 -1
  205. package/dist/editor/lib/puck/blocks/general/Countdown/fields.d.ts +0 -1
  206. package/dist/editor/lib/puck/blocks/general/Countdown/fields.js +0 -1
  207. package/dist/editor/lib/puck/blocks/general/Divider/fields.d.ts +0 -1
  208. package/dist/editor/lib/puck/blocks/general/Divider/fields.js +0 -1
  209. package/dist/editor/lib/puck/blocks/general/DocBody/fields.d.ts +0 -1
  210. package/dist/editor/lib/puck/blocks/general/DocBody/fields.js +0 -1
  211. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.d.ts +0 -1
  212. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.js +0 -1
  213. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.d.ts +0 -1
  214. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.js +0 -1
  215. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.d.ts +0 -1
  216. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.js +0 -1
  217. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.d.ts +0 -1
  218. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.js +0 -1
  219. package/dist/editor/lib/puck/blocks/general/FAQ/fields.d.ts +0 -1
  220. package/dist/editor/lib/puck/blocks/general/FAQ/fields.js +0 -1
  221. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.d.ts +0 -1
  222. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.js +0 -1
  223. package/dist/editor/lib/puck/blocks/general/Flex/fields.d.ts +0 -1
  224. package/dist/editor/lib/puck/blocks/general/Flex/fields.js +0 -1
  225. package/dist/editor/lib/puck/blocks/general/Footprint/fields.d.ts +0 -1
  226. package/dist/editor/lib/puck/blocks/general/Footprint/fields.js +0 -1
  227. package/dist/editor/lib/puck/blocks/general/Grid/fields.d.ts +0 -1
  228. package/dist/editor/lib/puck/blocks/general/Grid/fields.js +0 -1
  229. package/dist/editor/lib/puck/blocks/general/Heading/fields.d.ts +0 -1
  230. package/dist/editor/lib/puck/blocks/general/Heading/fields.js +0 -1
  231. package/dist/editor/lib/puck/blocks/general/Hero/fields.d.ts +0 -1
  232. package/dist/editor/lib/puck/blocks/general/Hero/fields.js +0 -1
  233. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.d.ts +0 -1
  234. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.js +0 -1
  235. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.d.ts +0 -1
  236. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.js +0 -1
  237. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.d.ts +0 -1
  238. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.js +0 -1
  239. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.d.ts +0 -1
  240. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.js +0 -1
  241. package/dist/editor/lib/puck/blocks/general/Integrations/fields.d.ts +0 -1
  242. package/dist/editor/lib/puck/blocks/general/Integrations/fields.js +0 -1
  243. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.d.ts +0 -1
  244. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.js +0 -1
  245. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.d.ts +0 -1
  246. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.js +0 -1
  247. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.d.ts +0 -1
  248. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.js +0 -1
  249. package/dist/editor/lib/puck/blocks/general/Logos/fields.d.ts +0 -1
  250. package/dist/editor/lib/puck/blocks/general/Logos/fields.js +0 -1
  251. package/dist/editor/lib/puck/blocks/general/LongRead/fields.d.ts +0 -1
  252. package/dist/editor/lib/puck/blocks/general/LongRead/fields.js +0 -1
  253. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.d.ts +0 -1
  254. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.js +0 -1
  255. package/dist/editor/lib/puck/blocks/general/Masthead/fields.d.ts +0 -1
  256. package/dist/editor/lib/puck/blocks/general/Masthead/fields.js +0 -1
  257. package/dist/editor/lib/puck/blocks/general/Mockup/fields.d.ts +0 -1
  258. package/dist/editor/lib/puck/blocks/general/Mockup/fields.js +0 -1
  259. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.d.ts +0 -1
  260. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.js +0 -1
  261. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.d.ts +0 -1
  262. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.js +0 -1
  263. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.d.ts +0 -1
  264. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.js +0 -1
  265. package/dist/editor/lib/puck/blocks/general/PostCard/fields.d.ts +0 -1
  266. package/dist/editor/lib/puck/blocks/general/PostCard/fields.js +0 -1
  267. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.d.ts +0 -1
  268. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.js +0 -1
  269. package/dist/editor/lib/puck/blocks/general/Prose/fields.d.ts +0 -1
  270. package/dist/editor/lib/puck/blocks/general/Prose/fields.js +0 -1
  271. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.d.ts +0 -1
  272. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.js +0 -1
  273. package/dist/editor/lib/puck/blocks/general/Series/fields.d.ts +0 -1
  274. package/dist/editor/lib/puck/blocks/general/Series/fields.js +0 -1
  275. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.d.ts +0 -1
  276. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.js +0 -1
  277. package/dist/editor/lib/puck/blocks/general/Split/fields.d.ts +0 -1
  278. package/dist/editor/lib/puck/blocks/general/Split/fields.js +0 -1
  279. package/dist/editor/lib/puck/blocks/general/Stats/fields.d.ts +0 -1
  280. package/dist/editor/lib/puck/blocks/general/Stats/fields.js +0 -1
  281. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.d.ts +0 -1
  282. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.js +0 -1
  283. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.d.ts +0 -1
  284. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.js +0 -1
  285. package/dist/editor/lib/puck/blocks/general/Text/fields.d.ts +0 -1
  286. package/dist/editor/lib/puck/blocks/general/Text/fields.js +0 -1
  287. package/dist/editor/lib/puck/blocks/general/Ticker/fields.d.ts +0 -1
  288. package/dist/editor/lib/puck/blocks/general/Ticker/fields.js +0 -1
  289. package/dist/editor/lib/puck/blocks/general/Timeline/fields.d.ts +0 -1
  290. package/dist/editor/lib/puck/blocks/general/Timeline/fields.js +0 -1
  291. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.d.ts +0 -1
  292. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.js +0 -1
  293. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +0 -1
  294. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.js +0 -1
  295. package/dist/editor/lib/puck/blocks/general/index.d.ts +0 -1
  296. package/dist/editor/lib/puck/blocks/general/index.js +0 -1
  297. package/dist/editor/lib/puck/blocks/shared-fields.d.ts +0 -1
  298. package/dist/editor/lib/puck/blocks/shared-fields.js +0 -1
  299. package/dist/editor/lib/puck/build-config.d.ts +0 -1
  300. package/dist/editor/lib/puck/build-config.js +0 -1
  301. package/dist/editor/lib/puck/canvas-typing.d.ts +0 -1
  302. package/dist/editor/lib/puck/canvas-typing.js +0 -1
  303. package/dist/editor/lib/puck/card-row-fields.d.ts +0 -1
  304. package/dist/editor/lib/puck/card-row-fields.js +0 -1
  305. package/dist/editor/lib/puck/controls.d.ts +0 -1
  306. package/dist/editor/lib/puck/controls.js +0 -1
  307. package/dist/editor/lib/puck/enclosing-section.d.ts +0 -1
  308. package/dist/editor/lib/puck/enclosing-section.js +0 -1
  309. package/dist/editor/lib/puck/every-page.d.ts +0 -1
  310. package/dist/editor/lib/puck/every-page.js +0 -1
  311. package/dist/editor/lib/puck/field-groups.d.ts +0 -1
  312. package/dist/editor/lib/puck/field-groups.js +0 -1
  313. package/dist/editor/lib/puck/footer-blocks.d.ts +0 -1
  314. package/dist/editor/lib/puck/footer-blocks.js +0 -1
  315. package/dist/editor/lib/puck/general-registry.d.ts +0 -2
  316. package/dist/editor/lib/puck/general-registry.js +0 -1
  317. package/dist/editor/lib/puck/geocode-resolve.d.ts +0 -1
  318. package/dist/editor/lib/puck/geocode-resolve.js +0 -1
  319. package/dist/editor/lib/puck/heading-outline.d.ts +0 -1
  320. package/dist/editor/lib/puck/heading-outline.js +0 -1
  321. package/dist/editor/lib/puck/hidable-rows-drawn.d.ts +0 -1
  322. package/dist/editor/lib/puck/hidable-rows-drawn.js +0 -1
  323. package/dist/editor/lib/puck/locations-focus.d.ts +0 -1
  324. package/dist/editor/lib/puck/locations-focus.js +0 -1
  325. package/dist/editor/lib/puck/locked-blocks.d.ts +0 -1
  326. package/dist/editor/lib/puck/locked-blocks.js +0 -1
  327. package/dist/editor/lib/puck/logo-color-fields.d.ts +0 -1
  328. package/dist/editor/lib/puck/logo-color-fields.js +0 -1
  329. package/dist/editor/lib/puck/overrides.d.ts +0 -1
  330. package/dist/editor/lib/puck/overrides.js +0 -1
  331. package/dist/editor/lib/puck/page-root-fields.d.ts +0 -1
  332. package/dist/editor/lib/puck/page-root-fields.js +0 -1
  333. package/dist/editor/lib/puck/page-root.d.ts +0 -1
  334. package/dist/editor/lib/puck/page-root.js +0 -1
  335. package/dist/editor/lib/puck/panel-drop-empty-headings.d.ts +0 -1
  336. package/dist/editor/lib/puck/panel-drop-empty-headings.js +0 -1
  337. package/dist/editor/lib/puck/panel-heading-scope.d.ts +0 -1
  338. package/dist/editor/lib/puck/panel-heading-scope.js +0 -1
  339. package/dist/editor/lib/puck/part-anchors.d.ts +0 -1
  340. package/dist/editor/lib/puck/part-anchors.js +0 -1
  341. package/dist/editor/lib/puck/part-row-field.d.ts +0 -1
  342. package/dist/editor/lib/puck/part-row-field.js +0 -1
  343. package/dist/editor/lib/puck/part-typing.d.ts +0 -1
  344. package/dist/editor/lib/puck/part-typing.js +0 -1
  345. package/dist/editor/lib/puck/passes/inspector.d.ts +0 -1
  346. package/dist/editor/lib/puck/passes/inspector.js +0 -1
  347. package/dist/editor/lib/puck/pinned-in-place-seed.d.ts +0 -1
  348. package/dist/editor/lib/puck/pinned-in-place-seed.js +0 -1
  349. package/dist/editor/lib/puck/registry.d.ts +0 -1
  350. package/dist/editor/lib/puck/registry.js +0 -1
  351. package/dist/editor/lib/puck/section-text-suppress.d.ts +0 -1
  352. package/dist/editor/lib/puck/section-text-suppress.js +0 -1
  353. package/dist/editor/lib/puck/section-width-fields.d.ts +0 -1
  354. package/dist/editor/lib/puck/section-width-fields.js +0 -1
  355. package/dist/editor/lib/puck/show-when-resolve.d.ts +0 -1
  356. package/dist/editor/lib/puck/show-when-resolve.js +0 -1
  357. package/dist/editor/lib/puck/template-field.d.ts +0 -1
  358. package/dist/editor/lib/puck/template-field.js +0 -1
  359. package/dist/editor/lib/puck/text-part-shape.d.ts +0 -1
  360. package/dist/editor/lib/puck/text-part-shape.js +0 -1
  361. package/dist/editor/lib/puck/theme-swatches.d.ts +0 -1
  362. package/dist/editor/lib/puck/theme-swatches.js +0 -1
  363. package/dist/format/lib/puck/blocks/block-types.d.ts +0 -1
  364. package/dist/format/lib/puck/blocks/block-types.js +0 -1
  365. package/dist/format/lib/puck/blocks/general/Banner/meta.d.ts +0 -1
  366. package/dist/format/lib/puck/blocks/general/Banner/meta.js +0 -1
  367. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.d.ts +0 -1
  368. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.js +0 -1
  369. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.d.ts +0 -1
  370. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.js +0 -1
  371. package/dist/format/lib/puck/blocks/general/Cards/meta.d.ts +0 -1
  372. package/dist/format/lib/puck/blocks/general/Cards/meta.js +0 -1
  373. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.d.ts +0 -1
  374. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.js +0 -1
  375. package/dist/format/lib/puck/blocks/general/Chart/meta.d.ts +0 -1
  376. package/dist/format/lib/puck/blocks/general/Chart/meta.js +0 -1
  377. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.d.ts +0 -1
  378. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.js +0 -1
  379. package/dist/format/lib/puck/blocks/general/Countdown/meta.d.ts +0 -1
  380. package/dist/format/lib/puck/blocks/general/Countdown/meta.js +0 -1
  381. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.d.ts +0 -1
  382. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.js +0 -1
  383. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.d.ts +0 -1
  384. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.js +0 -1
  385. package/dist/format/lib/puck/blocks/general/Divider/meta.d.ts +0 -1
  386. package/dist/format/lib/puck/blocks/general/Divider/meta.js +0 -1
  387. package/dist/format/lib/puck/blocks/general/DocBody/meta.d.ts +0 -1
  388. package/dist/format/lib/puck/blocks/general/DocBody/meta.js +0 -1
  389. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.d.ts +0 -1
  390. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.js +0 -1
  391. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.d.ts +0 -1
  392. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.js +0 -1
  393. package/dist/format/lib/puck/blocks/general/DocTabs/meta.d.ts +0 -1
  394. package/dist/format/lib/puck/blocks/general/DocTabs/meta.js +0 -1
  395. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.d.ts +0 -1
  396. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.js +0 -1
  397. package/dist/format/lib/puck/blocks/general/FAQ/meta.d.ts +0 -1
  398. package/dist/format/lib/puck/blocks/general/FAQ/meta.js +0 -1
  399. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.d.ts +0 -1
  400. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.js +0 -1
  401. package/dist/format/lib/puck/blocks/general/Flex/meta.d.ts +0 -1
  402. package/dist/format/lib/puck/blocks/general/Flex/meta.js +0 -1
  403. package/dist/format/lib/puck/blocks/general/Footprint/meta.d.ts +0 -1
  404. package/dist/format/lib/puck/blocks/general/Footprint/meta.js +0 -1
  405. package/dist/format/lib/puck/blocks/general/Grid/meta.d.ts +0 -1
  406. package/dist/format/lib/puck/blocks/general/Grid/meta.js +0 -1
  407. package/dist/format/lib/puck/blocks/general/Heading/meta.d.ts +0 -1
  408. package/dist/format/lib/puck/blocks/general/Heading/meta.js +0 -1
  409. package/dist/format/lib/puck/blocks/general/Hero/meta.d.ts +0 -1
  410. package/dist/format/lib/puck/blocks/general/Hero/meta.js +0 -1
  411. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.d.ts +0 -1
  412. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.js +0 -1
  413. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.d.ts +0 -1
  414. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.js +0 -1
  415. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.d.ts +0 -1
  416. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.js +0 -1
  417. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.d.ts +0 -1
  418. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.js +0 -1
  419. package/dist/format/lib/puck/blocks/general/Integrations/meta.d.ts +0 -1
  420. package/dist/format/lib/puck/blocks/general/Integrations/meta.js +0 -1
  421. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.d.ts +0 -1
  422. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.js +0 -1
  423. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.d.ts +0 -1
  424. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.js +0 -1
  425. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.d.ts +0 -1
  426. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.js +0 -1
  427. package/dist/format/lib/puck/blocks/general/Logos/meta.d.ts +0 -1
  428. package/dist/format/lib/puck/blocks/general/Logos/meta.js +0 -1
  429. package/dist/format/lib/puck/blocks/general/LongRead/meta.d.ts +0 -1
  430. package/dist/format/lib/puck/blocks/general/LongRead/meta.js +0 -1
  431. package/dist/format/lib/puck/blocks/general/Manifesto/meta.d.ts +0 -1
  432. package/dist/format/lib/puck/blocks/general/Manifesto/meta.js +0 -1
  433. package/dist/format/lib/puck/blocks/general/Masthead/meta.d.ts +0 -1
  434. package/dist/format/lib/puck/blocks/general/Masthead/meta.js +0 -1
  435. package/dist/format/lib/puck/blocks/general/Mockup/meta.d.ts +0 -1
  436. package/dist/format/lib/puck/blocks/general/Mockup/meta.js +0 -1
  437. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.d.ts +0 -1
  438. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.js +0 -1
  439. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.d.ts +0 -1
  440. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.js +0 -1
  441. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.d.ts +0 -1
  442. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.js +0 -1
  443. package/dist/format/lib/puck/blocks/general/PostCard/meta.d.ts +0 -1
  444. package/dist/format/lib/puck/blocks/general/PostCard/meta.js +0 -1
  445. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.d.ts +0 -1
  446. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.js +0 -1
  447. package/dist/format/lib/puck/blocks/general/Prose/meta.d.ts +0 -1
  448. package/dist/format/lib/puck/blocks/general/Prose/meta.js +0 -1
  449. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.d.ts +0 -1
  450. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.js +0 -1
  451. package/dist/format/lib/puck/blocks/general/Series/meta.d.ts +0 -1
  452. package/dist/format/lib/puck/blocks/general/Series/meta.js +0 -1
  453. package/dist/format/lib/puck/blocks/general/Spacer/fields.d.ts +0 -1
  454. package/dist/format/lib/puck/blocks/general/Spacer/fields.js +0 -1
  455. package/dist/format/lib/puck/blocks/general/Spacer/meta.d.ts +0 -1
  456. package/dist/format/lib/puck/blocks/general/Spacer/meta.js +0 -1
  457. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.d.ts +0 -1
  458. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.js +0 -1
  459. package/dist/format/lib/puck/blocks/general/Split/meta.d.ts +0 -1
  460. package/dist/format/lib/puck/blocks/general/Split/meta.js +0 -1
  461. package/dist/format/lib/puck/blocks/general/Stats/meta.d.ts +0 -1
  462. package/dist/format/lib/puck/blocks/general/Stats/meta.js +0 -1
  463. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.d.ts +0 -1
  464. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.js +0 -1
  465. package/dist/format/lib/puck/blocks/general/Testimonials/meta.d.ts +0 -1
  466. package/dist/format/lib/puck/blocks/general/Testimonials/meta.js +0 -1
  467. package/dist/format/lib/puck/blocks/general/Text/meta.d.ts +0 -1
  468. package/dist/format/lib/puck/blocks/general/Text/meta.js +0 -1
  469. package/dist/format/lib/puck/blocks/general/Ticker/meta.d.ts +0 -1
  470. package/dist/format/lib/puck/blocks/general/Ticker/meta.js +0 -1
  471. package/dist/format/lib/puck/blocks/general/Timeline/meta.d.ts +0 -1
  472. package/dist/format/lib/puck/blocks/general/Timeline/meta.js +0 -1
  473. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.d.ts +0 -1
  474. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.js +0 -1
  475. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.d.ts +0 -1
  476. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.js +0 -1
  477. package/dist/format/lib/puck/blocks/general/metas.d.ts +0 -1
  478. package/dist/format/lib/puck/blocks/general/metas.js +0 -1
  479. package/dist/format/lib/puck/blocks/general/section-bg-built-in.d.ts +0 -1
  480. package/dist/format/lib/puck/blocks/general/section-bg-built-in.js +0 -1
  481. package/dist/format/lib/puck/blocks/general/text-part-shapes.json +0 -2162
  482. package/dist/format/lib/puck/blocks/placeholders.d.ts +0 -1
  483. package/dist/format/lib/puck/blocks/placeholders.js +0 -1
  484. package/dist/format/lib/puck/box-footer.d.ts +0 -1
  485. package/dist/format/lib/puck/box-footer.js +0 -1
  486. package/dist/format/lib/puck/cap-hero-groups.d.ts +0 -1
  487. package/dist/format/lib/puck/cap-hero-groups.js +0 -1
  488. package/dist/format/lib/puck/card-template-layers.d.ts +0 -1
  489. package/dist/format/lib/puck/card-template-layers.js +0 -1
  490. package/dist/format/lib/puck/container-blocks.d.ts +0 -1
  491. package/dist/format/lib/puck/container-blocks.js +0 -1
  492. package/dist/format/lib/puck/editor-page-context.d.ts +0 -1
  493. package/dist/format/lib/puck/editor-page-context.js +0 -1
  494. package/dist/format/lib/puck/field-noun.d.ts +0 -1
  495. package/dist/format/lib/puck/field-noun.js +0 -1
  496. package/dist/format/lib/puck/footer-block-row-name.d.ts +0 -1
  497. package/dist/format/lib/puck/footer-block-row-name.js +0 -1
  498. package/dist/format/lib/puck/general-order.d.ts +0 -1
  499. package/dist/format/lib/puck/general-order.js +0 -1
  500. package/dist/format/lib/puck/home-page.d.ts +0 -1
  501. package/dist/format/lib/puck/home-page.js +0 -1
  502. package/dist/format/lib/puck/left-view.d.ts +0 -1
  503. package/dist/format/lib/puck/left-view.js +0 -1
  504. package/dist/format/lib/puck/locations-tree.d.ts +0 -1
  505. package/dist/format/lib/puck/locations-tree.js +0 -1
  506. package/dist/format/lib/puck/media-drop.d.ts +0 -1
  507. package/dist/format/lib/puck/media-drop.js +0 -1
  508. package/dist/format/lib/puck/media-manifest.json +0 -147
  509. package/dist/format/lib/puck/mockup-variant-fields.d.ts +0 -1
  510. package/dist/format/lib/puck/mockup-variant-fields.js +0 -1
  511. package/dist/format/lib/puck/nestable-content-sections.d.ts +0 -1
  512. package/dist/format/lib/puck/nestable-content-sections.js +0 -1
  513. package/dist/format/lib/puck/neutralization-contracts.d.ts +0 -1
  514. package/dist/format/lib/puck/neutralization-contracts.js +0 -1
  515. package/dist/format/lib/puck/new-site-header-seed.d.ts +0 -1
  516. package/dist/format/lib/puck/new-site-header-seed.js +0 -1
  517. package/dist/format/lib/puck/one-h1.d.ts +0 -1
  518. package/dist/format/lib/puck/one-h1.js +0 -1
  519. package/dist/format/lib/puck/overlay-portal.d.ts +0 -1
  520. package/dist/format/lib/puck/overlay-portal.js +0 -1
  521. package/dist/format/lib/puck/own-box.d.ts +0 -1
  522. package/dist/format/lib/puck/own-box.js +0 -1
  523. package/dist/format/lib/puck/panel-bands.d.ts +0 -1
  524. package/dist/format/lib/puck/panel-bands.js +0 -1
  525. package/dist/format/lib/puck/part-inks.d.ts +0 -1
  526. package/dist/format/lib/puck/part-inks.js +0 -1
  527. package/dist/format/lib/puck/part-key.d.ts +0 -1
  528. package/dist/format/lib/puck/part-key.js +0 -1
  529. package/dist/format/lib/puck/passes/catalogue-labels.d.ts +0 -1
  530. package/dist/format/lib/puck/passes/catalogue-labels.js +0 -1
  531. package/dist/format/lib/puck/passes/document-position.d.ts +0 -1
  532. package/dist/format/lib/puck/passes/document-position.js +0 -1
  533. package/dist/format/lib/puck/passes/empty-headings.d.ts +0 -1
  534. package/dist/format/lib/puck/passes/empty-headings.js +0 -1
  535. package/dist/format/lib/puck/passes/hidden-nodes.d.ts +0 -1
  536. package/dist/format/lib/puck/passes/hidden-nodes.js +0 -1
  537. package/dist/format/lib/puck/passes/media-values.d.ts +0 -1
  538. package/dist/format/lib/puck/passes/media-values.js +0 -1
  539. package/dist/format/lib/puck/passes/registry-context.d.ts +0 -1
  540. package/dist/format/lib/puck/passes/registry-context.js +0 -1
  541. package/dist/format/lib/puck/passes/settings-groups.d.ts +0 -1
  542. package/dist/format/lib/puck/passes/settings-groups.js +0 -1
  543. package/dist/format/lib/puck/passes/show-when-rows.d.ts +0 -1
  544. package/dist/format/lib/puck/passes/show-when-rows.js +0 -1
  545. package/dist/format/lib/puck/passes/slot-rules.d.ts +0 -1
  546. package/dist/format/lib/puck/passes/slot-rules.js +0 -1
  547. package/dist/format/lib/puck/passes/types.d.ts +0 -1
  548. package/dist/format/lib/puck/passes/types.js +0 -1
  549. package/dist/format/lib/puck/phone-override.d.ts +0 -1
  550. package/dist/format/lib/puck/phone-override.js +0 -1
  551. package/dist/format/lib/puck/pinned-seed-gate.d.ts +0 -1
  552. package/dist/format/lib/puck/pinned-seed-gate.js +0 -1
  553. package/dist/format/lib/puck/renamed-props.d.ts +0 -1
  554. package/dist/format/lib/puck/renamed-props.js +0 -1
  555. package/dist/format/lib/puck/section-catalog.d.ts +0 -1
  556. package/dist/format/lib/puck/section-catalog.js +0 -1
  557. package/dist/format/lib/puck/section-descriptions.d.ts +0 -1
  558. package/dist/format/lib/puck/section-descriptions.js +0 -1
  559. package/dist/format/lib/puck/section-groups.d.ts +0 -1
  560. package/dist/format/lib/puck/section-groups.js +0 -1
  561. package/dist/format/lib/puck/show-when-attach.d.ts +0 -1
  562. package/dist/format/lib/puck/show-when-attach.js +0 -1
  563. package/dist/format/lib/puck/site-gap-fields.d.ts +0 -1
  564. package/dist/format/lib/puck/site-gap-fields.js +0 -1
  565. package/dist/format/lib/puck/snapshot-contracts.d.ts +0 -1
  566. package/dist/format/lib/puck/snapshot-contracts.js +0 -1
  567. package/dist/format/lib/puck/source-bound-parts.d.ts +0 -1
  568. package/dist/format/lib/puck/source-bound-parts.js +0 -1
  569. package/dist/format/lib/puck/source-row-name.d.ts +0 -1
  570. package/dist/format/lib/puck/source-row-name.js +0 -1
  571. package/dist/format/lib/puck/templateFields.d.ts +0 -1
  572. package/dist/format/lib/puck/templateFields.js +0 -1
  573. package/dist/format/lib/puck/text-seeds.d.ts +0 -1
  574. package/dist/format/lib/puck/text-seeds.js +0 -1
  575. package/dist/format/lib/source-rules/editor-puck-drag-off.d.ts +0 -2
  576. package/dist/format/lib/source-rules/editor-puck-drag-off.js +0 -1
  577. package/dist/format/lib/source-rules/puck-document-surfaces.d.ts +0 -2
  578. package/dist/format/lib/source-rules/puck-document-surfaces.js +0 -1
  579. package/dist/render/lib/puck/blocks/general/Banner/render.d.ts +0 -1
  580. package/dist/render/lib/puck/blocks/general/Banner/render.js +0 -1
  581. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.d.ts +0 -1
  582. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.js +0 -1
  583. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.d.ts +0 -1
  584. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.js +0 -1
  585. package/dist/render/lib/puck/blocks/general/Cards/render.d.ts +0 -1
  586. package/dist/render/lib/puck/blocks/general/Cards/render.js +0 -1
  587. package/dist/render/lib/puck/blocks/general/CategoryBar/render.d.ts +0 -1
  588. package/dist/render/lib/puck/blocks/general/CategoryBar/render.js +0 -1
  589. package/dist/render/lib/puck/blocks/general/Chart/render.d.ts +0 -1
  590. package/dist/render/lib/puck/blocks/general/Chart/render.js +0 -1
  591. package/dist/render/lib/puck/blocks/general/ContactLocations/render.d.ts +0 -1
  592. package/dist/render/lib/puck/blocks/general/ContactLocations/render.js +0 -1
  593. package/dist/render/lib/puck/blocks/general/Countdown/render.d.ts +0 -1
  594. package/dist/render/lib/puck/blocks/general/Countdown/render.js +0 -1
  595. package/dist/render/lib/puck/blocks/general/CustomHTML/render.d.ts +0 -1
  596. package/dist/render/lib/puck/blocks/general/CustomHTML/render.js +0 -1
  597. package/dist/render/lib/puck/blocks/general/Divider/render.d.ts +0 -1
  598. package/dist/render/lib/puck/blocks/general/Divider/render.js +0 -1
  599. package/dist/render/lib/puck/blocks/general/DocBody/render.d.ts +0 -1
  600. package/dist/render/lib/puck/blocks/general/DocBody/render.js +0 -1
  601. package/dist/render/lib/puck/blocks/general/DocMasthead/render.d.ts +0 -1
  602. package/dist/render/lib/puck/blocks/general/DocMasthead/render.js +0 -1
  603. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.d.ts +0 -1
  604. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.js +0 -1
  605. package/dist/render/lib/puck/blocks/general/DocTabs/render.d.ts +0 -1
  606. package/dist/render/lib/puck/blocks/general/DocTabs/render.js +0 -1
  607. package/dist/render/lib/puck/blocks/general/Eyebrow/render.d.ts +0 -1
  608. package/dist/render/lib/puck/blocks/general/Eyebrow/render.js +0 -1
  609. package/dist/render/lib/puck/blocks/general/FAQ/render.d.ts +0 -1
  610. package/dist/render/lib/puck/blocks/general/FAQ/render.js +0 -1
  611. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.d.ts +0 -1
  612. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.js +0 -1
  613. package/dist/render/lib/puck/blocks/general/Flex/render.d.ts +0 -1
  614. package/dist/render/lib/puck/blocks/general/Flex/render.js +0 -1
  615. package/dist/render/lib/puck/blocks/general/Footprint/render.d.ts +0 -1
  616. package/dist/render/lib/puck/blocks/general/Footprint/render.js +0 -1
  617. package/dist/render/lib/puck/blocks/general/Grid/render.d.ts +0 -1
  618. package/dist/render/lib/puck/blocks/general/Grid/render.js +0 -1
  619. package/dist/render/lib/puck/blocks/general/Heading/render.d.ts +0 -1
  620. package/dist/render/lib/puck/blocks/general/Heading/render.js +0 -1
  621. package/dist/render/lib/puck/blocks/general/Hero/render.d.ts +0 -1
  622. package/dist/render/lib/puck/blocks/general/Hero/render.js +0 -1
  623. package/dist/render/lib/puck/blocks/general/HeroGroup/render.d.ts +0 -1
  624. package/dist/render/lib/puck/blocks/general/HeroGroup/render.js +0 -1
  625. package/dist/render/lib/puck/blocks/general/HeroSingle/render.d.ts +0 -1
  626. package/dist/render/lib/puck/blocks/general/HeroSingle/render.js +0 -1
  627. package/dist/render/lib/puck/blocks/general/HeroSlide/render.d.ts +0 -1
  628. package/dist/render/lib/puck/blocks/general/HeroSlide/render.js +0 -1
  629. package/dist/render/lib/puck/blocks/general/ImageBlock/render.d.ts +0 -1
  630. package/dist/render/lib/puck/blocks/general/ImageBlock/render.js +0 -1
  631. package/dist/render/lib/puck/blocks/general/Integrations/render.d.ts +0 -1
  632. package/dist/render/lib/puck/blocks/general/Integrations/render.js +0 -1
  633. package/dist/render/lib/puck/blocks/general/IntroBleed/render.d.ts +0 -1
  634. package/dist/render/lib/puck/blocks/general/IntroBleed/render.js +0 -1
  635. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.d.ts +0 -1
  636. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.js +0 -1
  637. package/dist/render/lib/puck/blocks/general/LogoBlock/render.d.ts +0 -1
  638. package/dist/render/lib/puck/blocks/general/LogoBlock/render.js +0 -1
  639. package/dist/render/lib/puck/blocks/general/Logos/render.d.ts +0 -1
  640. package/dist/render/lib/puck/blocks/general/Logos/render.js +0 -1
  641. package/dist/render/lib/puck/blocks/general/LongRead/render.d.ts +0 -1
  642. package/dist/render/lib/puck/blocks/general/LongRead/render.js +0 -1
  643. package/dist/render/lib/puck/blocks/general/Manifesto/render.d.ts +0 -1
  644. package/dist/render/lib/puck/blocks/general/Manifesto/render.js +0 -1
  645. package/dist/render/lib/puck/blocks/general/Masthead/render.d.ts +0 -1
  646. package/dist/render/lib/puck/blocks/general/Masthead/render.js +0 -1
  647. package/dist/render/lib/puck/blocks/general/Mockup/render.d.ts +0 -1
  648. package/dist/render/lib/puck/blocks/general/Mockup/render.js +0 -1
  649. package/dist/render/lib/puck/blocks/general/OrderSummary/render.d.ts +0 -1
  650. package/dist/render/lib/puck/blocks/general/OrderSummary/render.js +0 -1
  651. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.d.ts +0 -1
  652. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.js +0 -1
  653. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.d.ts +0 -1
  654. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.js +0 -1
  655. package/dist/render/lib/puck/blocks/general/PostCard/render.d.ts +0 -1
  656. package/dist/render/lib/puck/blocks/general/PostCard/render.js +0 -1
  657. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.d.ts +0 -1
  658. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.js +0 -1
  659. package/dist/render/lib/puck/blocks/general/Prose/render.d.ts +0 -1
  660. package/dist/render/lib/puck/blocks/general/Prose/render.js +0 -1
  661. package/dist/render/lib/puck/blocks/general/SectionHeader/render.d.ts +0 -1
  662. package/dist/render/lib/puck/blocks/general/SectionHeader/render.js +0 -1
  663. package/dist/render/lib/puck/blocks/general/Series/render.d.ts +0 -1
  664. package/dist/render/lib/puck/blocks/general/Series/render.js +0 -1
  665. package/dist/render/lib/puck/blocks/general/Spacer/render.d.ts +0 -1
  666. package/dist/render/lib/puck/blocks/general/Spacer/render.js +0 -1
  667. package/dist/render/lib/puck/blocks/general/SpecStrip/render.d.ts +0 -1
  668. package/dist/render/lib/puck/blocks/general/SpecStrip/render.js +0 -1
  669. package/dist/render/lib/puck/blocks/general/Split/render.d.ts +0 -1
  670. package/dist/render/lib/puck/blocks/general/Split/render.js +0 -1
  671. package/dist/render/lib/puck/blocks/general/Stats/render.d.ts +0 -1
  672. package/dist/render/lib/puck/blocks/general/Stats/render.js +0 -1
  673. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.d.ts +0 -1
  674. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.js +0 -1
  675. package/dist/render/lib/puck/blocks/general/Testimonials/render.d.ts +0 -1
  676. package/dist/render/lib/puck/blocks/general/Testimonials/render.js +0 -1
  677. package/dist/render/lib/puck/blocks/general/Text/render.d.ts +0 -1
  678. package/dist/render/lib/puck/blocks/general/Text/render.js +0 -1
  679. package/dist/render/lib/puck/blocks/general/Ticker/render.d.ts +0 -1
  680. package/dist/render/lib/puck/blocks/general/Ticker/render.js +0 -1
  681. package/dist/render/lib/puck/blocks/general/Timeline/render.d.ts +0 -1
  682. package/dist/render/lib/puck/blocks/general/Timeline/render.js +0 -1
  683. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.d.ts +0 -1
  684. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.js +0 -1
  685. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.d.ts +0 -1
  686. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.js +0 -1
  687. package/dist/render/lib/puck/blocks/general/render-config.d.ts +0 -1
  688. package/dist/render/lib/puck/blocks/general/render-config.js +0 -1
  689. package/dist/render/lib/puck/blocks/general/renders.d.ts +0 -1
  690. package/dist/render/lib/puck/blocks/general/renders.js +0 -1
  691. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.d.ts +0 -1
  692. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.js +0 -1
  693. package/dist/render/lib/puck/blocks/general/section-to-box-rows.d.ts +0 -1
  694. package/dist/render/lib/puck/blocks/general/section-to-box-rows.js +0 -1
  695. package/dist/render/lib/puck/blocks/scaffold.d.ts +0 -1
  696. package/dist/render/lib/puck/blocks/scaffold.js +0 -1
  697. package/dist/render/lib/puck/booking-preview.d.ts +0 -1
  698. package/dist/render/lib/puck/booking-preview.js +0 -1
  699. package/dist/render/lib/puck/editing-bridges.d.ts +0 -1
  700. package/dist/render/lib/puck/editing-bridges.js +0 -1
  701. package/dist/render/lib/puck/header-clearance.d.ts +0 -1
  702. package/dist/render/lib/puck/header-clearance.js +0 -1
  703. package/dist/render/lib/puck/header-ink.d.ts +0 -1
  704. package/dist/render/lib/puck/header-ink.js +0 -1
  705. package/dist/render/lib/puck/hero-media-parts.d.ts +0 -1
  706. package/dist/render/lib/puck/hero-media-parts.js +0 -1
  707. package/dist/render/lib/puck/migrate-legacy.d.ts +0 -1
  708. package/dist/render/lib/puck/migrate-legacy.js +0 -1
  709. package/dist/render/lib/puck/page-frame.d.ts +0 -1
  710. package/dist/render/lib/puck/page-frame.js +0 -1
  711. package/dist/render/lib/puck/page-render.d.ts +0 -2
  712. package/dist/render/lib/puck/page-render.js +0 -1
  713. package/dist/render/lib/puck/part-rows.d.ts +0 -1
  714. package/dist/render/lib/puck/part-rows.js +0 -1
  715. package/dist/render/lib/puck/part-styles.d.ts +0 -1
  716. package/dist/render/lib/puck/part-styles.js +0 -1
  717. package/dist/render/lib/puck/part-text.d.ts +0 -1
  718. package/dist/render/lib/puck/part-text.js +0 -1
  719. package/dist/render/lib/puck/passes/borders.d.ts +0 -1
  720. package/dist/render/lib/puck/passes/borders.js +0 -1
  721. package/dist/render/lib/puck/passes/cell-width.d.ts +0 -1
  722. package/dist/render/lib/puck/passes/cell-width.js +0 -1
  723. package/dist/render/lib/puck/passes/clickable-parts.d.ts +0 -1
  724. package/dist/render/lib/puck/passes/clickable-parts.js +0 -1
  725. package/dist/render/lib/puck/passes/corners.d.ts +0 -1
  726. package/dist/render/lib/puck/passes/corners.js +0 -1
  727. package/dist/render/lib/puck/passes/index.d.ts +0 -1
  728. package/dist/render/lib/puck/passes/index.js +0 -1
  729. package/dist/render/lib/puck/passes/section-anchor.d.ts +0 -1
  730. package/dist/render/lib/puck/passes/section-anchor.js +0 -1
  731. package/dist/render/lib/puck/passes/section-animation.d.ts +0 -1
  732. package/dist/render/lib/puck/passes/section-animation.js +0 -1
  733. package/dist/render/lib/puck/passes/section-height.d.ts +0 -1
  734. package/dist/render/lib/puck/passes/section-height.js +0 -1
  735. package/dist/render/lib/puck/passes/section-padding.d.ts +0 -1
  736. package/dist/render/lib/puck/passes/section-padding.js +0 -1
  737. package/dist/render/lib/puck/passes/section-sticky.d.ts +0 -1
  738. package/dist/render/lib/puck/passes/section-sticky.js +0 -1
  739. package/dist/render/lib/puck/passes/section-theme.d.ts +0 -1
  740. package/dist/render/lib/puck/passes/section-theme.js +0 -1
  741. package/dist/render/lib/puck/passes/section-width.d.ts +0 -1
  742. package/dist/render/lib/puck/passes/section-width.js +0 -1
  743. package/dist/render/lib/puck/render-registry.d.ts +0 -1
  744. package/dist/render/lib/puck/render-registry.js +0 -1
  745. package/dist/render/lib/puck/sanitize.d.ts +0 -1
  746. package/dist/render/lib/puck/sanitize.js +0 -1
  747. package/dist/render/lib/puck/selection-parent.d.ts +0 -1
  748. package/dist/render/lib/puck/selection-parent.js +0 -1
  749. package/dist/render/lib/puck/show-when.d.ts +0 -1
  750. package/dist/render/lib/puck/show-when.js +0 -1
  751. package/dist/render/lib/puck/slot-specs.d.ts +0 -1
  752. package/dist/render/lib/puck/slot-specs.js +0 -1
  753. package/dist/render/lib/puck/text-parts.d.ts +0 -1
  754. package/dist/render/lib/puck/text-parts.js +0 -1
@@ -1,7 +1,7 @@
1
- import{jsx as r,jsxs as f}from"react/jsx-runtime";import{renderGold as c}from"./goldPhrases.js";import{storefrontLines as u}from"../../format/lib/markup.js";import{say as p}from"../../format/lib/editor-words.js";function y(o,s){return o.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||`section-${s+1}`}function v(o){const s=[];for(const d of o.replace(/\r\n?/g,`
2
- `).split(/\n[ \t]*\n/))d.split(`
3
- `).map(a=>a.replace(/\s+$/,"")).filter(a=>a.trim()!=="").forEach((a,x)=>{const m=u(a)[0].bullet,n=s.at(-1),e=x===0||!n||n.type==="ul"!==m;if(m){const t=a.slice(2);!e&&n?.type==="ul"?n.items.push(t):s.push({type:"ul",items:[t]})}else!e&&n?.type==="p"?n.text+=`
4
- ${a}`:s.push({type:"p",text:a})});return s}const w=()=>[{label:p("First section"),heading:p("Your *first* section."),body:p(`Write the opening paragraph here.
1
+ import{jsx as r,jsxs as m}from"react/jsx-runtime";import{slugify as u}from"efficient-shell/format";import{renderGold as c}from"./goldPhrases.js";import{storefrontLines as y}from"../../format/lib/markup.js";import{say as p}from"../../format/lib/editor-words.js";function v(i,s){return u(i)||`section-${s+1}`}function w(i){const s=[];for(const f of i.replace(/\r\n?/g,`
2
+ `).split(/\n[ \t]*\n/))f.split(`
3
+ `).map(a=>a.replace(/\s+$/,"")).filter(a=>a.trim()!=="").forEach((a,d)=>{const x=y(a)[0].bullet,n=s.at(-1),e=d===0||!n||n.type==="ul"!==x;if(x){const t=a.slice(2);!e&&n?.type==="ul"?n.items.push(t):s.push({type:"ul",items:[t]})}else!e&&n?.type==="p"?n.text+=`
4
+ ${a}`:s.push({type:"p",text:a})});return s}const N=()=>[{label:p("First section"),heading:p("Your *first* section."),body:p(`Write the opening paragraph here.
5
5
 
6
6
  - Start a line with a dash for a bullet.
7
- - Add as many as you like.`)},{label:p("Second section"),heading:p("Your *second* section."),body:p("Leave a blank line between paragraphs to start a new one.")}],N=120;function S({tocTitle:o,sections:s,editing:d=!1,stickyTop:g=N}){const a=(s??[]).filter(e=>(e.heading??"").trim()!==""||(e.label??"").trim()!==""||(e.body??"").trim()!=="");if(a.length===0&&!d)return null;const x=a.length===0&&d?w():a,m=new Set,n=x.map((e,t)=>{const i=y(e.label||e.heading||"",t);let l=i,h=2;for(;m.has(l);)l=`${i}-${h++}`;return m.add(l),l});return r("section",{className:"relative z-[2] bg-bg",children:f("div",{className:"mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-[240px_1fr] items-start gap-20 border-b border-line px-[var(--sf-site-gutter,40px)] py-20 max-[900px]:grid-cols-1 max-[900px]:gap-10 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-[60px]",children:[f("aside",{className:"sticky flex flex-col self-start max-[900px]:static",style:{top:g},children:[o&&r("h4",{className:"mb-[18px] font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:c(o)}),x.map((e,t)=>f("a",{href:`#${n[t]}`,className:`flex items-center justify-between gap-3 border-b border-line py-2.5 font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.18em] text-fg-dim transition-colors hover:text-fg${t===0?" border-t":""}`,children:[r("span",{children:c(e.label||"Section")}),r("span",{className:"text-accent",children:String(t+1).padStart(2,"0")})]},n[t]))]}),r("div",{className:"flex flex-col gap-16",children:x.map((e,t)=>f("article",{id:n[t],className:"flex flex-col gap-[18px]",style:{scrollMarginTop:g},children:[f("span",{className:"font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:[String(t+1).padStart(2,"0")," · ",c(e.label||"Section")]}),e.heading&&r("h2",{className:"mb-2 border-b border-line pb-[18px] font-heading2 text-[length:min(var(--size-headingMedium,clamp(28px,3.5vw,44px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[1.04] tracking-[-0.025em]",children:c(e.heading)}),v(e.body??"").map((i,l)=>i.type==="ul"?r("ul",{className:"flex max-w-[680px] list-none flex-col gap-2.5 pl-0",children:i.items.map((h,b)=>r("li",{className:"relative pl-6 font-serif text-[length:var(--size-body,17px)] leading-[1.65] text-fg-dim before:absolute before:-top-0.5 before:left-1.5 before:text-[length:var(--size-body,24px)] before:leading-none before:text-accent before:content-['·']",children:c(h)},b))},l):r("p",{className:"max-w-[680px] font-serif text-[length:var(--size-body,17px)] leading-[1.7] text-fg-dim",children:c(i.text)},l))]},n[t]))})]})})}export{S as default,y as sectionAnchorId};
7
+ - Add as many as you like.`)},{label:p("Second section"),heading:p("Your *second* section."),body:p("Leave a blank line between paragraphs to start a new one.")}],S=120;function k({tocTitle:i,sections:s,editing:f=!1,stickyTop:h=S}){const a=(s??[]).filter(e=>(e.heading??"").trim()!==""||(e.label??"").trim()!==""||(e.body??"").trim()!=="");if(a.length===0&&!f)return null;const d=a.length===0&&f?N():a,x=new Set,n=d.map((e,t)=>{const o=v(e.label||e.heading||"",t);let l=o,g=2;for(;x.has(l);)l=`${o}-${g++}`;return x.add(l),l});return r("section",{className:"relative z-[2] bg-bg",children:m("div",{className:"mx-auto grid max-w-[var(--sf-site-width,1600px)] grid-cols-[240px_1fr] items-start gap-20 border-b border-line px-[var(--sf-site-gutter,40px)] py-20 max-[900px]:grid-cols-1 max-[900px]:gap-10 max-[900px]:px-[min(24px,var(--sf-site-gutter,40px))] max-[900px]:py-[60px]",children:[m("aside",{className:"sticky flex flex-col self-start max-[900px]:static",style:{top:h},children:[i&&r("h4",{className:"mb-[18px] font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:c(i)}),d.map((e,t)=>m("a",{href:`#${n[t]}`,className:`flex items-center justify-between gap-3 border-b border-line py-2.5 font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.18em] text-fg-dim transition-colors hover:text-fg${t===0?" border-t":""}`,children:[r("span",{children:c(e.label||"Section")}),r("span",{className:"text-accent",children:String(t+1).padStart(2,"0")})]},n[t]))]}),r("div",{className:"flex flex-col gap-16",children:d.map((e,t)=>m("article",{id:n[t],className:"flex flex-col gap-[18px]",style:{scrollMarginTop:h},children:[m("span",{className:"font-mono text-[length:var(--size-label,12px)] uppercase tracking-[0.3em] text-accent",children:[String(t+1).padStart(2,"0")," · ",c(e.label||"Section")]}),e.heading&&r("h2",{className:"mb-2 border-b border-line pb-[18px] font-heading2 text-[length:min(var(--size-headingMedium,clamp(28px,3.5vw,44px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[1.04] tracking-[-0.025em]",children:c(e.heading)}),w(e.body??"").map((o,l)=>o.type==="ul"?r("ul",{className:"flex max-w-[680px] list-none flex-col gap-2.5 pl-0",children:o.items.map((g,b)=>r("li",{className:"relative pl-6 font-serif text-[length:var(--size-body,17px)] leading-[1.65] text-fg-dim before:absolute before:-top-0.5 before:left-1.5 before:text-[length:var(--size-body,24px)] before:leading-none before:text-accent before:content-['·']",children:c(g)},b))},l):r("p",{className:"max-w-[680px] font-serif text-[length:var(--size-body,17px)] leading-[1.7] text-fg-dim",children:c(o.text)},l))]},n[t]))})]})})}export{k as default,v as sectionAnchorId};
@@ -8,6 +8,7 @@ interface FlexProps {
8
8
  borderPhone?: unknown;
9
9
  direction: Direction;
10
10
  label?: string;
11
+ tabShape?: unknown;
11
12
  gap?: number | string;
12
13
  justify: Justify;
13
14
  align: AlignItems;
@@ -30,7 +31,8 @@ interface FlexProps {
30
31
  padLeftPhone?: unknown;
31
32
  padRightPhone?: unknown;
32
33
  fillHeight?: boolean;
34
+ shadow?: unknown;
33
35
  content: SlotComponent;
34
36
  }
35
- export default function Flex({ direction, label, gap, justify, align, wrap, share, phoneRow, blockSpacing, bgImage, bgImagePhone, darken, darkenStyle, placement, padV2, border, borderPhone, padTop, padBottom, padTopPhone, padBottomPhone, padLeft, padRight, padLeftPhone, padRightPhone, contained, fillHeight, content: Content, }: FlexProps): import("react").JSX.Element;
37
+ export default function Flex({ direction, label, tabShape, gap, justify, align, wrap, share, phoneRow, blockSpacing, bgImage, bgImagePhone, darken, darkenStyle, placement, padV2, border, borderPhone, padTop, padBottom, padTopPhone, padBottomPhone, padLeft, padRight, padLeftPhone, padRightPhone, contained, fillHeight, shadow, content: Content, }: FlexProps): import("react").JSX.Element;
36
38
  export {};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as te,Fragment as ne}from"react/jsx-runtime";import le from"./BoxTabs.js";import ae from"./SiteGutterFrame.js";import{BoxSurfaceProvider as ie}from"./BoxSurfaceContext.js";import{BoxCellWidthContext as ce}from"./BoxCellWidthContext.js";import{useInSiteHeader as me}from"./PhoneMenuTools.js";import{FRAME_BASE as O,FRAME_GUTTER as j}from"./BlockFrame.js";import{containerGapProps as fe}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as ue,boxBlockSpacingClass as be,boxPhoneRowClasses as _,boxShareClasses as H,boxWrapClass as de}from"../../format/lib/content/box-layout.js";import{BOX_CARD_PAD as s,BOX_OWNS_SIDES_CLASS as xe,boxDarkenStyle as $e,boxPlacementClasses as pe,CARD_SHADOW_CLASS as ye,isBackgroundBox as W}from"../../format/lib/content/box-background.js";import{sectionBorderStyle as Ce}from"../../format/lib/content/borders.js";import{sectionPadAttrs as Se}from"../../format/lib/content/section-padding.js";import{ON_MEDIA_INK_STYLE as _e}from"../../format/lib/content/ink.js";import{sizedBackground as h}from"../../format/lib/sized-image.js";const R={"--sf-site-gutter":"0px"},he="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-[720px]:bg-[image:var(--sf-box-bg-p)]";function ge({direction:r,label:z,gap:G,justify:I,align:i,wrap:L,share:g,phoneRow:v,blockSpacing:M,bgImage:c,bgImagePhone:A,darken:T,darkenStyle:U,placement:X,padV2:K=!1,border:Y,borderPhone:q,padTop:m,padBottom:f,padTopPhone:u,padBottomPhone:b,padLeft:d,padRight:x,padLeftPhone:$,padRightPhone:p,contained:J=!0,fillHeight:E=!1,content:Q}){const t=W(c),N=me(),P=[H(g),be(M)].filter(Boolean).join(" "),V=P?` ${P}`:"",k=["flex",r==="row"?`flex-row ${_(v)}`:"flex-col",de(L),t?pe(X??"center",r):ue(I,i)].join(" ")+V,o=E||t?" h-full":"",y=t||N||K?"":" py-6",Z=`${O}${y} ${j}${o}`,ee=N?o.trim():`w-full${y}${o}`,n=fe("Flex",G,r==="row"?"inline":"block"),B=e(Q,{className:`${k}${n.className}${o}`,style:n.style,minEmptyHeight:120}),C=r==="tabs"?e(le,{className:`${k}${n.className}${o}`,style:n.style,children:B}):B,se=z?.trim()||void 0,oe={values:{top:m,bottom:f,topPhone:u,bottomPhone:b,left:d,right:x,leftPhone:$,rightPhone:p},frame:y?24:0},w=a=>e(ae,{contained:J,framedClass:Z,fillClass:ee,columnClass:`${O} ${j}${o}`,tabLabel:se,pad:t?void 0:oe,border:Ce(Y,q),children:a});if(!t){const a=i===void 0||i==="stretch",re=H(g)!==""&&(a||_(v)!==_(void 0));return w((r==="row"?re:r==="column"&&a)?e(ce.Provider,{value:!0,children:C}):C)}const l=$e(T,U),D=W(A),S=Se(typeof m=="number"?m:s.desktop,typeof f=="number"?f:s.desktop,typeof u=="number"?u:s.phone,typeof b=="number"?b:s.phone,typeof d=="number"?d:s.side,typeof x=="number"?x:s.side,typeof $=="number"?$:s.sidePhone,typeof p=="number"?p:s.sidePhone),F=e("div",{className:`relative z-[1] ${xe} ${S?.className??""}${E?" h-full":""}`.trimEnd(),style:l?{...S?.style,...R,..._e}:{...S?.style,...R},children:C});return w(e(ne,{children:te("div",{className:`relative isolate overflow-hidden ${ye}${o}${D?` ${he}`:""}`,style:D?{"--sf-box-bg":h(c??""),"--sf-box-bg-p":h(A??"")}:{backgroundImage:h(c??""),backgroundSize:"cover",backgroundPosition:"center"},children:[l&&e("div",{className:"absolute inset-0 z-0",style:l,"aria-hidden":!0}),l?e(ie,{children:F}):F]})}))}export{ge as default};
1
+ import{jsx as e,jsxs as ie,Fragment as ce}from"react/jsx-runtime";import me from"./BoxTabs.js";import{BoxTabPaneContext as fe,useIsTabPane as ue}from"./BoxTabPaneContext.js";import be from"./SiteGutterFrame.js";import{BoxSurfaceProvider as de}from"./BoxSurfaceContext.js";import{BoxCellWidthContext as xe}from"./BoxCellWidthContext.js";import{useInSiteHeader as pe}from"./PhoneMenuTools.js";import{FRAME_BASE as H,FRAME_GUTTER as T}from"./BlockFrame.js";import{containerGapProps as Ce}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as $e,boxBlockSpacingClass as ye,boxFitContentClass as Se,boxPhoneRowClasses as _,boxShareClasses as W,boxWrapClass as he}from"../../format/lib/content/box-layout.js";import{BOX_CARD_PAD as s,BOX_OWNS_SIDES_CLASS as _e,boxDarkenStyle as ve,boxPlacementClasses as Pe,CARD_SHADOW_CLASS as Ae,isBackgroundBox as R}from"../../format/lib/content/box-background.js";import{boxShadowAttrs as ge}from"../../format/lib/content/box-shadow.js";import{sectionBorderStyle as Ee}from"../../format/lib/content/borders.js";import{sectionPadAttrs as Ne}from"../../format/lib/content/section-padding.js";import{ON_MEDIA_INK_STYLE as Be}from"../../format/lib/content/ink.js";import{sizedBackground as v}from"../../format/lib/sized-image.js";const z={"--sf-site-gutter":"0px"},ke="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-[720px]:bg-[image:var(--sf-box-bg-p)]";function we({direction:o,label:G,tabShape:I,gap:L,justify:M,align:i,wrap:U,share:c,phoneRow:P,blockSpacing:X,bgImage:m,bgImagePhone:A,darken:K,darkenStyle:Y,placement:q,padV2:J=!1,border:Q,borderPhone:V,padTop:f,padBottom:u,padTopPhone:b,padBottomPhone:d,padLeft:x,padRight:p,padLeftPhone:C,padRightPhone:$,contained:Z=!0,fillHeight:g=!1,shadow:ee,content:se}){const r=R(m),E=pe(),N=ue(),B=[W(c),o==="row"?Se(c):"",ye(X)].filter(Boolean).join(" "),oe=B?` ${B}`:"",k=["flex",o==="row"?`flex-row ${_(P)}`:"flex-col",he(U),r?Pe(q??"center",o):$e(M,i)].join(" ")+oe,t=g||r?" h-full":"",y=r||E||J?"":" py-6",te=`${H}${y} ${T}${t}`,re=E?t.trim():`w-full${y}${t}`,n=Ce("Flex",L,o==="row"?"inline":"block"),w=e(se,{className:`${k}${n.className}${t}`,style:n.style,minEmptyHeight:120}),D=o==="tabs"?e(me,{className:`${k}${n.className}${t}`,style:n.style,shape:I,children:w}):w,S=N?e(fe.Provider,{value:!1,children:D}):D,ne=G?.trim()||(N?"":void 0),le={values:{top:f,bottom:u,topPhone:b,bottomPhone:d,left:x,right:p,leftPhone:C,rightPhone:$},frame:y?24:0},F=a=>e(be,{contained:Z,framedClass:te,fillClass:re,columnClass:`${H} ${T}${t}`,tabLabel:ne,pad:r?void 0:le,border:Ee(Q,V),outerAttrs:r?void 0:ge(ee),children:a});if(!r){const a=i===void 0||i==="stretch",ae=W(c)!==""&&(a||_(P)!==_(void 0));return F((o==="row"?ae:o==="column"&&a)?e(xe.Provider,{value:!0,children:S}):S)}const l=ve(K,Y),O=R(A),h=Ne(typeof f=="number"?f:s.desktop,typeof u=="number"?u:s.desktop,typeof b=="number"?b:s.phone,typeof d=="number"?d:s.phone,typeof x=="number"?x:s.side,typeof p=="number"?p:s.side,typeof C=="number"?C:s.sidePhone,typeof $=="number"?$:s.sidePhone),j=e("div",{className:`relative z-[1] ${_e} ${h?.className??""}${g?" h-full":""}`.trimEnd(),style:l?{...h?.style,...z,...Be}:{...h?.style,...z},children:S});return F(e(ce,{children:ie("div",{className:`relative isolate overflow-hidden ${Ae}${t}${O?` ${ke}`:""}`,style:O?{"--sf-box-bg":v(m??""),"--sf-box-bg-p":v(A??"")}:{backgroundImage:v(m??""),backgroundSize:"cover",backgroundPosition:"center"},children:[l&&e("div",{className:"absolute inset-0 z-0",style:l,"aria-hidden":!0}),l?e(de,{children:j}):j]})}))}export{we as default};
@@ -1,4 +1,4 @@
1
- "use client";import{jsx as c,jsxs as R}from"react/jsx-runtime";import{useCallback as m,useEffect as h,useId as Te,useRef as l,useState as k}from"react";import{markOverlayPortal as N}from"../../format/lib/document/overlay-portal.js";import Oe from"./Ticker.js";import{HeroSlideStyleContext as Ae}from"./HeroSlide.js";import He from"./HeroArrows.js";import Le from"./Reel.js";import{usePreviewTicker as Ce}from"./PreviewTickerContext.js";import{useReducedMotion as Ne}from"./useReducedMotion.js";import{CANVAS_ACCENT as Z}from"../../format/lib/canvas-accent.js";import{hasSectionHeight as Ie,resolveSectionHeight as ee}from"../../format/lib/content/section-height.js";import{HEADER_HEIGHT_CSS as Me}from"../lib/document/header-clearance.js";import{nextReel as Pe,normaliseHeroReelShape as De,reelShown as Ve}from"../../format/lib/reel.js";import{arrowsShown as $e,arrowStep as ze}from"../../format/lib/hero-arrows.js";import{swipeEnabled as Xe,swipeStep as qe}from"../../format/lib/hero-swipe.js";import{videoControlShown as Ge,videoHeld as je}from"../../format/lib/hero-video-control.js";import{HERO_SLIDER_GOTO_EVENT as I}from"efficient-easel/draw";import{say as te}from"../../format/lib/editor-words.js";import{DEFAULT_TICKER_ITEMS as Be}from"../../format/lib/hero-ticker.js";const Ye=`
1
+ "use client";import{jsx as c,jsxs as R}from"react/jsx-runtime";import{useCallback as f,useEffect as h,useId as Oe,useRef as l,useState as k}from"react";import{markOverlayPortal as N}from"../../format/lib/document/overlay-portal.js";import Ce from"./Ticker.js";import{HeroSlideStyleContext as He}from"./HeroSlide.js";import Le from"./HeroArrows.js";import Ae from"./Reel.js";import{usePreviewTicker as Ne}from"./PreviewTickerContext.js";import{useReducedMotion as Ie}from"./useReducedMotion.js";import{CANVAS_ACCENT as Z}from"../../format/lib/canvas-accent.js";import{hasSectionHeight as Me,resolveSectionHeight as ee}from"../../format/lib/content/section-height.js";import{HEADER_HEIGHT_CSS as Pe}from"../lib/document/header-clearance.js";import{nextReel as De,normaliseHeroReelShape as Ve,reelShown as $e}from"../../format/lib/reel.js";import{arrowsShown as ze,arrowStep as Xe}from"../../format/lib/hero-arrows.js";import{swipeEnabled as Be,swipeStep as Ge}from"../../format/lib/hero-swipe.js";import{videoControlShown as je,videoHeld as Ye}from"../../format/lib/hero-video-control.js";import{HERO_SLIDER_GOTO_EVENT as I}from"efficient-easel/draw";import{say as te}from"../../format/lib/editor-words.js";import{markedChildren as re}from"../../format/lib/marked-children.js";import{DEFAULT_TICKER_ITEMS as qe}from"../../format/lib/hero-ticker.js";const Fe=`
2
2
  .hero-ticker-pick { cursor: pointer; }
3
3
  .hero-ticker-pick:hover {
4
4
  outline: 2px solid color-mix(in srgb, ${Z} 45%, transparent);
@@ -8,4 +8,4 @@
8
8
  outline: 2px solid ${Z};
9
9
  outline-offset: -2px;
10
10
  }
11
- `,Fe="Play video",Ke="Hold video",Ue="flex h-7 cursor-pointer items-center gap-1.5 rounded-full border border-overlay-chrome/25 bg-overlay-scrim/80 px-[11px] font-mono text-[11px] leading-none tracking-[0.05em] text-overlay-fg",Je=()=>te("item"),re=new Map;function Qe(T,w){const p=T?.ownerDocument?.defaultView;if(p)return p.addEventListener(I,w),()=>p.removeEventListener(I,w)}function We({slides:T,alignment:w,textureOpacity:p,showTexture:oe,textureColor:ne,phoneUpDown:se,phoneSideways:ce,autoplay:M,autoplayInterval:O,showTicker:ae,tickerItems:le,heightDesktop:P,heightMobile:D,showPicker:ie,pickerShape:ue,pickerPlacement:de,showArrows:fe,arrowsShape:me,arrowsPlacement:he,editing:n}){const V=Ie(P,D),pe=V?"h-[var(--sf-hero-h-m)] min-[720px]:h-[var(--sf-hero-h-d)]":"h-screen min-h-[680px]",ve=V?{"--sf-hero-h-d":ee(P),"--sf-hero-h-m":ee(D)}:void 0,A=(le??Be.map(e=>({text:e}))).map(e=>e?.text?.trim()?e.text:n?Je():"").filter(Boolean),$=ae!==!1,u=l(null),z=l(null),X=l(null),q=l(null),G=l(null),j=Te(),y=l(j),[E,be]=k([]),[xe,B]=k(0),v=l(0),[Y,F]=k(!1),[S,ke]=k(!1),[K,we]=k(null),H=Ne(),{selectedHeroId:ye,select:U}=Ce(),g=m(()=>u.current?.querySelector(".hero-track")??null,[]),i=m((e,t=!1)=>{B(e),v.current=e,re.set(y.current,e);const r=u.current?.querySelector(".hero-track");if(r)if(t){const o=r.style.transition;r.style.transition="none",r.style.transform=`translateX(-${Math.max(0,e)*100}%)`,r.offsetHeight,r.style.transition=o}else r.style.transform=`translateX(-${Math.max(0,e)*100}%)`},[]);h(()=>{const e=u.current,t=e?.getAttribute("data-easel-block")||e?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||j;y.current=t,we(t);const r=re.get(t);typeof r=="number"&&(B(r),v.current=r)},[]),h(()=>{const e=g();if(!e)return;const t=()=>{be(o=>Pe(o,e.querySelectorAll("[data-slide-name]")))};t();const r=new MutationObserver(t);return r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-slide-name","data-slide-process","data-slide-media"]}),()=>{r.disconnect()}},[g]),h(()=>{if(!n)return;const e=t=>{const r=t.detail;if(!r||typeof r.index!="number")return;const o=u.current,a=o?.getAttribute("data-easel-block")||o?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||y.current;r.id&&r.id!==a||i(r.index,!0)};return Qe(u.current,e)},[n,i]);const s=E.length,d=Math.min(Math.max(xe,0),Math.max(0,s-1)),L=Ve({shown:ie,count:s}),J=$e({shown:fe,count:s}),Q=Ge({editing:n,shown:d,slides:E}),Ee=je({editing:n,playing:S,controlShown:Q}),_=Xe({count:s,editing:n}),f=l(null),b=l(null),Se=m(e=>{if(f.current=null,b.current=null,!_||e.touches.length!==1)return;const t=e.touches[0];f.current={x:t.clientX,y:t.clientY},b.current={x:t.clientX,y:t.clientY}},[_]),ge=m(e=>{if(!f.current)return;if(e.touches.length!==1){f.current=null;return}const t=e.touches[0];b.current={x:t.clientX,y:t.clientY}},[]),_e=m(()=>{const e=f.current,t=b.current;if(f.current=null,b.current=null,!_||!e||!t)return;const r=qe(t.x-e.x,t.y-e.y,v.current,s);r!==v.current&&i(r)},[_,s,i]);h(()=>{if(n||!M||Y||H||s<=1)return;const t=Math.max(1,typeof O=="number"?O:6)*1e3,r=window.setTimeout(()=>i((d+1)%s),t);return()=>window.clearTimeout(r)},[n,M,O,Y,H,s,d,i]),h(()=>{const e=[z.current,X.current,q.current].filter(Boolean),t=e.map(o=>N(o)),r=o=>{const a=o.target,x=a.closest("[data-hero-nav]"),W=x??a.closest("[data-idx]");if(!W)return;o.stopPropagation(),o.preventDefault();const C=x?ze(x.dataset.heroNav,v.current,s):Number(W.dataset.idx);Number.isNaN(C)||(i(C,n),g()?.querySelectorAll("[data-slide-name]")[C]?.click())};return e.forEach(o=>o.addEventListener("click",r,{capture:!0})),()=>{t.forEach(o=>o?.()),e.forEach(o=>o.removeEventListener("click",r,{capture:!0}))}},[s,i,g,n]),h(()=>{if(!n)return;const e=G.current;if(!e)return;const t=N(e),r=o=>{o.stopPropagation(),o.preventDefault();const a=u.current,x=a?.getAttribute("data-easel-block")||a?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||y.current;U(x)};return e.addEventListener("click",r,{capture:!0}),()=>{t?.(),e.removeEventListener("click",r,{capture:!0})}},[n,U,$,A.length]);const Re=m(e=>{if(!e)return;const t=N(e),r=o=>{o.stopPropagation(),o.preventDefault(),ke(a=>!a)};return e.addEventListener("click",r,{capture:!0}),()=>{t?.(),e.removeEventListener("click",r,{capture:!0})}},[]);return c(Ae.Provider,{value:{alignment:w,textureOpacity:p,textureOn:oe,textureColor:ne,quietVideo:Ee,phoneUpDown:se,phoneSideways:ce},children:R("div",{ref:u,className:`relative mx-[var(--sf-hero-bleed-m,calc(50%_-_50vw))] w-[var(--sf-hero-bleed-w,100vw)] ${pe} max-w-[var(--sf-hero-cap,none)] overflow-hidden`,style:ve,onMouseEnter:()=>F(!0),onMouseLeave:()=>F(!1),onTouchStart:Se,onTouchMove:ge,onTouchEnd:_e,children:[c(T,{className:"hero-track flex h-full [&>*]:h-full [&>*]:min-w-full [&>*]:shrink-0 [&>*]:basis-full",style:{transform:`translateX(-${d*100}%)`,transition:H?"none":"transform 600ms cubic-bezier(.22,.61,.36,1)"},minEmptyHeight:400}),Q&&c("div",{ref:Re,"data-hero-video-control":S?"playing":"held",className:"sf-hero-video-control absolute left-6 z-[7]",style:{top:`calc(${Me} + 16px)`},children:R("button",{type:"button",className:Ue,children:[c("span",{"aria-hidden":"true",children:S?"❚❚":"▶"}),te(S?Ke:Fe)]})}),(L||J)&&R("div",{className:"pointer-events-none absolute inset-y-0 left-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] right-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] z-[6] mx-auto max-w-[var(--sf-hero-chrome-cap,calc(var(--sf-site-width,1600px)_-_var(--sf-site-gutter,40px)*2))]",children:[L&&c(Le,{ref:z,slides:E,active:d,shape:De(ue),placement:de}),J&&c(He,{ref:q,shape:me,placement:he})]}),L&&c("div",{ref:X,className:"sf-hero-phone-dots absolute bottom-[80px] left-1/2 z-[6] hidden -translate-x-1/2 items-center gap-2",children:E.map((e,t)=>c("button",{type:"button","data-idx":t,"aria-label":`Go to slide ${t+1}`,className:`h-2 rounded-full transition-all motion-reduce:transition-none ${t===d?"w-5 bg-accent":"w-2 bg-white/45 hover:bg-white/70"}`},t))}),$&&A.length>0&&R("div",{ref:G,className:`sf-hero-ticker absolute inset-x-0 bottom-0 z-[5] border-t border-overlay-chrome/10 py-3.5${n?" hero-ticker-pick":""}`,"data-selected":n&&K!=null&&ye===K?"":void 0,style:{background:"rgba(10,10,10,.55)"},children:[n&&c("style",{children:Ye}),c(Oe,{items:A,backdrop:"dark-media"})]})]})})}export{I as HERO_SLIDER_GOTO_EVENT,Ke as HERO_VIDEO_HOLD_LABEL,Fe as HERO_VIDEO_PLAY_LABEL,We as default,Qe as subscribeSliderGoto};
11
+ `,Ke="Play video",Ue="Hold video",Je="flex h-7 cursor-pointer items-center gap-1.5 rounded-full border border-overlay-chrome/25 bg-overlay-scrim/80 px-[11px] font-mono text-[11px] leading-none tracking-[0.05em] text-overlay-fg",Qe=()=>te("item"),oe=new Map;function We(T,w){const p=T?.ownerDocument?.defaultView;if(p)return p.addEventListener(I,w),()=>p.removeEventListener(I,w)}function Ze({slides:T,alignment:w,textureOpacity:p,showTexture:ne,textureColor:se,phoneUpDown:ce,phoneSideways:ae,autoplay:M,autoplayInterval:O,showTicker:le,tickerItems:ie,heightDesktop:P,heightMobile:D,showPicker:ue,pickerShape:de,pickerPlacement:me,showArrows:fe,arrowsShape:he,arrowsPlacement:pe,editing:n}){const V=Me(P,D),ve=V?"h-[var(--sf-hero-h-m)] min-[720px]:h-[var(--sf-hero-h-d)]":"h-screen min-h-[680px]",be=V?{"--sf-hero-h-d":ee(P),"--sf-hero-h-m":ee(D)}:void 0,C=(ie??qe.map(e=>({text:e}))).map(e=>e?.text?.trim()?e.text:n?Qe():"").filter(Boolean),$=le!==!1,u=l(null),z=l(null),X=l(null),B=l(null),G=l(null),j=Oe(),E=l(j),[y,xe]=k([]),[ke,Y]=k(0),v=l(0),[q,F]=k(!1),[g,we]=k(!1),[K,Ee]=k(null),H=Ie(),{selectedHeroId:ye,select:U}=Ne(),S=f(()=>u.current?.querySelector(".hero-track")??null,[]),i=f((e,t=!1)=>{Y(e),v.current=e,oe.set(E.current,e);const r=u.current?.querySelector(".hero-track");if(r)if(t){const o=r.style.transition;r.style.transition="none",r.style.transform=`translateX(-${Math.max(0,e)*100}%)`,r.offsetHeight,r.style.transition=o}else r.style.transform=`translateX(-${Math.max(0,e)*100}%)`},[]);h(()=>{const e=u.current,t=e?.getAttribute("data-easel-block")||e?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||j;E.current=t,Ee(t);const r=oe.get(t);typeof r=="number"&&(Y(r),v.current=r)},[]),h(()=>{const e=S();if(!e)return;const t=()=>{xe(o=>De(o,re(e,"data-slide-name")))};t();const r=new MutationObserver(t);return r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-slide-name","data-slide-process","data-slide-media"]}),()=>{r.disconnect()}},[S]),h(()=>{if(!n)return;const e=t=>{const r=t.detail;if(!r||typeof r.index!="number")return;const o=u.current,a=o?.getAttribute("data-easel-block")||o?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||E.current;r.id&&r.id!==a||i(r.index,!0)};return We(u.current,e)},[n,i]);const s=y.length,d=Math.min(Math.max(ke,0),Math.max(0,s-1)),L=$e({shown:ue,count:s}),J=ze({shown:fe,count:s}),Q=je({editing:n,shown:d,slides:y}),ge=Ye({editing:n,playing:g,controlShown:Q}),_=Be({count:s,editing:n}),m=l(null),b=l(null),Se=f(e=>{if(m.current=null,b.current=null,!_||e.touches.length!==1)return;const t=e.touches[0];m.current={x:t.clientX,y:t.clientY},b.current={x:t.clientX,y:t.clientY}},[_]),_e=f(e=>{if(!m.current)return;if(e.touches.length!==1){m.current=null;return}const t=e.touches[0];b.current={x:t.clientX,y:t.clientY}},[]),Re=f(()=>{const e=m.current,t=b.current;if(m.current=null,b.current=null,!_||!e||!t)return;const r=Ge(t.x-e.x,t.y-e.y,v.current,s);r!==v.current&&i(r)},[_,s,i]);h(()=>{if(n||!M||q||H||s<=1)return;const t=Math.max(1,typeof O=="number"?O:6)*1e3,r=window.setTimeout(()=>i((d+1)%s),t);return()=>window.clearTimeout(r)},[n,M,O,q,H,s,d,i]),h(()=>{const e=[z.current,X.current,B.current].filter(Boolean),t=e.map(o=>N(o)),r=o=>{const a=o.target,x=a.closest("[data-hero-nav]"),W=x??a.closest("[data-idx]");if(!W)return;o.stopPropagation(),o.preventDefault();const A=x?Xe(x.dataset.heroNav,v.current,s):Number(W.dataset.idx);Number.isNaN(A)||(i(A,n),re(S(),"data-slide-name")[A]?.click())};return e.forEach(o=>o.addEventListener("click",r,{capture:!0})),()=>{t.forEach(o=>o?.()),e.forEach(o=>o.removeEventListener("click",r,{capture:!0}))}},[s,i,S,n]),h(()=>{if(!n)return;const e=G.current;if(!e)return;const t=N(e),r=o=>{o.stopPropagation(),o.preventDefault();const a=u.current,x=a?.getAttribute("data-easel-block")||a?.closest("[data-easel-block]")?.getAttribute("data-easel-block")||E.current;U(x)};return e.addEventListener("click",r,{capture:!0}),()=>{t?.(),e.removeEventListener("click",r,{capture:!0})}},[n,U,$,C.length]);const Te=f(e=>{if(!e)return;const t=N(e),r=o=>{o.stopPropagation(),o.preventDefault(),we(a=>!a)};return e.addEventListener("click",r,{capture:!0}),()=>{t?.(),e.removeEventListener("click",r,{capture:!0})}},[]);return c(He.Provider,{value:{alignment:w,textureOpacity:p,textureOn:ne,textureColor:se,quietVideo:ge,phoneUpDown:ce,phoneSideways:ae},children:R("div",{ref:u,className:`relative mx-[var(--sf-hero-bleed-m,calc(50%_-_50vw))] w-[var(--sf-hero-bleed-w,100vw)] ${ve} max-w-[var(--sf-hero-cap,none)] overflow-hidden`,style:be,onMouseEnter:()=>F(!0),onMouseLeave:()=>F(!1),onTouchStart:Se,onTouchMove:_e,onTouchEnd:Re,children:[c(T,{className:"hero-track flex h-full [&>*]:h-full [&>*]:min-w-full [&>*]:shrink-0 [&>*]:basis-full",style:{transform:`translateX(-${d*100}%)`,transition:H?"none":"transform 600ms cubic-bezier(.22,.61,.36,1)"},minEmptyHeight:400}),Q&&c("div",{ref:Te,"data-hero-video-control":g?"playing":"held",className:"sf-hero-video-control absolute left-6 z-[7]",style:{top:`calc(${Pe} + 16px)`},children:R("button",{type:"button",className:Je,children:[c("span",{"aria-hidden":"true",children:g?"❚❚":"▶"}),te(g?Ue:Ke)]})}),(L||J)&&R("div",{className:"pointer-events-none absolute inset-y-0 left-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] right-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] z-[6] mx-auto max-w-[var(--sf-hero-chrome-cap,calc(var(--sf-site-width,1600px)_-_var(--sf-site-gutter,40px)*2))]",children:[L&&c(Ae,{ref:z,slides:y,active:d,shape:Ve(de),placement:me}),J&&c(Le,{ref:B,shape:he,placement:pe})]}),L&&c("div",{ref:X,className:"sf-hero-phone-dots absolute bottom-[80px] left-1/2 z-[6] hidden -translate-x-1/2 items-center gap-2",children:y.map((e,t)=>c("button",{type:"button","data-idx":t,"aria-label":`Go to slide ${t+1}`,className:`h-2 rounded-full transition-all motion-reduce:transition-none ${t===d?"w-5 bg-accent":"w-2 bg-white/45 hover:bg-white/70"}`},t))}),$&&C.length>0&&R("div",{ref:G,className:`sf-hero-ticker absolute inset-x-0 bottom-0 z-[5] border-t border-overlay-chrome/10 py-3.5${n?" hero-ticker-pick":""}`,"data-selected":n&&K!=null&&ye===K?"":void 0,style:{background:"rgba(10,10,10,.55)"},children:[n&&c("style",{children:Fe}),c(Ce,{items:C,backdrop:"dark-media"})]})]})})}export{I as HERO_SLIDER_GOTO_EVENT,Ue as HERO_VIDEO_HOLD_LABEL,Ke as HERO_VIDEO_PLAY_LABEL,Ze as default,We as subscribeSliderGoto};
@@ -8,4 +8,4 @@ export interface LogoBlockProps {
8
8
  align?: BlockAlign;
9
9
  color?: string | null;
10
10
  }
11
- export default function LogoBlock({ src, alt, href, heightPx, reverse, align, color, }: LogoBlockProps): import("react").JSX.Element;
11
+ export default function LogoBlock(props: LogoBlockProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- "use client";import{jsx as i}from"react/jsx-runtime";import{useContext as L}from"react";import{SiteLink as v}from"../lib/site-runtime.js";import I,{FOOTER_LOGO_PX as C,WORDMARK_FIT_FLOOR_PX as O}from"./Logo.js";import{media as _}from"../lib/media.js";import{BoxSurfaceContext as h}from"./BoxSurfaceContext.js";import{useBoxCellHasWidth as D}from"./BoxCellWidthContext.js";import{useInSiteHeader as N}from"./PhoneMenuTools.js";import{useSiteLogo as B}from"./SiteLogoContext.js";import{BLOCK_ALIGN_JUSTIFY as F}from"../../format/lib/content/block-align.js";function T({src:f,alt:d,href:t,heightPx:k=C,reverse:u=!0,align:s,color:p=null}){const e=B(),a=(f??"").trim(),o=a?{src:_(a),reversedSrc:null,inkIsDark:null,wordmark:d?.trim()||null}:{src:e.src,reversedSrc:e.reversedSrc,inkIsDark:e.inkIsDark,wordmark:e.wordmark},x=L(h),l=N(),S=D(),r=!l&&S,n=i(I,{variant:"footer",sizePx:k,src:o.src,reverse:u,color:p,reversedSrc:o.reversedSrc,inkIsDark:o.inkIsDark,wordmark:o.wordmark,siteName:e.siteName,fitToContainer:l,fitWordmarkToContainer:r,fitFloorPx:r?O:void 0,...x?.dark?{onLightSurface:!1}:{}}),c=r?"inline-flex max-w-full overflow-x-clip":"inline-flex",m=t?i(v,{href:t,className:c,children:n}):r?i("span",{className:c,children:n}):n;if(!s&&!r)return m;const w=["flex min-w-0",s?F[s]:"",r?"[container-type:inline-size]":""].filter(Boolean).join(" ");return i("div",{className:w,children:m})}export{T as default};
1
+ "use client";import{jsx as r}from"react/jsx-runtime";import{useContext as g}from"react";import{SiteLink as S}from"../lib/site-runtime.js";import v,{FOOTER_LOGO_PX as h,WORDMARK_FIT_FLOOR_PX as I}from"./Logo.js";import{media as C}from"../lib/media.js";import{BoxSurfaceContext as O}from"./BoxSurfaceContext.js";import{useBoxCellHasWidth as _}from"./BoxCellWidthContext.js";import{useInSiteHeader as N}from"./PhoneMenuTools.js";import{useSiteLogo as B}from"./SiteLogoContext.js";import{useLogoWall as D}from"./LogoWallContext.js";import{LogoWallMark as H}from"./Logos.js";import{BLOCK_ALIGN_JUSTIFY as W}from"../../format/lib/content/block-align.js";function F(t){const e=D();if(!e)return r(T,{...t});const n=(t.src??"").trim();return r("div",{className:"text-center",children:r(H,{src:n||void 0,alt:t.alt,look:e.look,logoHeight:e.logoHeight,grayscale:e.grayscale})})}function T({src:t,alt:e,href:n,heightPx:k=h,reverse:u=!0,align:l,color:x=null}){const i=B(),c=(t??"").trim(),s=c?{src:C(c),reversedSrc:null,inkIsDark:null,wordmark:e?.trim()||null}:{src:i.src,reversedSrc:i.reversedSrc,inkIsDark:i.inkIsDark,wordmark:i.wordmark},p=g(O),m=N(),L=_(),o=!m&&L,a=r(v,{variant:"footer",sizePx:k,src:s.src,reverse:u,color:x,reversedSrc:s.reversedSrc,inkIsDark:s.inkIsDark,wordmark:s.wordmark,siteName:i.siteName,fitToContainer:m,fitWordmarkToContainer:o,fitFloorPx:o?I:void 0,...p?.dark?{onLightSurface:!1}:{}}),f=o?"inline-flex max-w-full overflow-x-clip":"inline-flex",d=n?r(S,{href:n,className:f,children:a}):o?r("span",{className:f,children:a}):a;if(!l&&!o)return d;const w=["flex min-w-0",l?W[l]:"",o?"[container-type:inline-size]":""].filter(Boolean).join(" ");return r("div",{className:w,children:d})}export{F as default};
@@ -0,0 +1,12 @@
1
+ import { type ReactNode } from "react";
2
+ import type { LogoLook } from "../../format/lib/sections/logo-look.js";
3
+ export type LogoWall = {
4
+ look: LogoLook;
5
+ logoHeight?: number;
6
+ grayscale?: boolean;
7
+ };
8
+ export declare function LogoWallProvider({ value, children }: {
9
+ value: LogoWall;
10
+ children: ReactNode;
11
+ }): import("react").JSX.Element;
12
+ export declare function useLogoWall(): LogoWall | null;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as t}from"react/jsx-runtime";import{createContext as n,useContext as l}from"react";const o=n(null);function s({value:e,children:r}){return t(o.Provider,{value:e,children:r})}function x(){return l(o)}export{s as LogoWallProvider,x as useLogoWall};
@@ -1,3 +1,6 @@
1
+ import type { SlotComponent } from "efficient-easel/blocks";
2
+ import type { ReactNode } from "react";
3
+ import { type LogoLook } from "../../format/lib/sections/logo-look.js";
1
4
  interface LogoItem {
2
5
  src: string;
3
6
  alt: string;
@@ -10,6 +13,18 @@ interface LogosProps {
10
13
  grayscale?: boolean;
11
14
  logoHeight?: number;
12
15
  bandPadding?: number;
16
+ logos?: SlotComponent;
17
+ look?: LogoLook;
18
+ omitHead?: boolean;
13
19
  }
14
- export default function Logos({ items, contained, heading, columns, grayscale, logoHeight, bandPadding, }: LogosProps): import("react").JSX.Element;
20
+ export default function Logos({ items, contained, heading, columns, grayscale, logoHeight, bandPadding, logos: LogoBlocks, look, omitHead, }: LogosProps): import("react").JSX.Element;
21
+ export declare const CARD_WORDS_CLASS = "font-mono text-[12px] uppercase tracking-[0.18em]";
22
+ export declare function LogoWallMark({ src, alt, look, logoHeight, grayscale, mark, }: {
23
+ src?: string;
24
+ alt?: string;
25
+ look: LogoLook;
26
+ logoHeight?: number;
27
+ grayscale?: boolean;
28
+ mark?: ReactNode;
29
+ }): import("react").JSX.Element;
15
30
  export {};
@@ -1 +1 @@
1
- import{jsx as t,jsxs as f}from"react/jsx-runtime";import x from"./BlockFrame.js";import{renderChrome as u,renderHeadline as d}from"./goldPhrases.js";import{media as y}from"../lib/media.js";import{sizedImage as h}from"../../format/lib/sized-image.js";const c={label:"text-[length:var(--size-label,13px)]"};function g({items:l,contained:e,heading:s,columns:n,grayscale:i,logoHeight:o,bandPadding:a}){const m=n!=null?{flex:`0 0 calc((100% - ${(n-1)*3.5}rem) / ${n})`}:void 0;return f(x,{contained:e,className:a==null?"py-10":"",style:a==null?void 0:{paddingTop:`${a}px`,paddingBottom:`${a}px`},children:[s!=null&&s!==""?t("h2",{className:`mb-8 text-center font-mono ${c.label} uppercase tracking-[0.2em] text-fg-dim`,children:d(s,!1)}):null,t("div",{className:"flex flex-wrap items-center justify-center gap-x-14 gap-y-8",children:(l??[]).map((r,p)=>t("div",{className:"text-center",style:m,children:r.src?t("img",{...$(y(r.src)),alt:r.alt,className:["mx-auto w-auto opacity-60 transition-opacity hover:opacity-100",o==null?"h-7":"",i===!1?"":"grayscale"].filter(Boolean).join(" "),style:o==null?void 0:{height:`${o}px`}}):t("span",{className:`font-mono ${c.label} uppercase tracking-[0.2em] text-fg-dim`,children:u(r.alt||"Logo")})},p))})]})}function $(l){const e=h(l,{fallbackWidth:640,maxWidth:960});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"240px"}:{src:l}}export{g as default};
1
+ import{jsx as a,jsxs as y}from"react/jsx-runtime";import{PaymentMark as A,paymentMarkItems as j}from"efficient-shell/icons/payment";import v from"./BlockFrame.js";import{renderChrome as z,renderGold as C,renderHeadline as E}from"./goldPhrases.js";import{LogoWallProvider as G}from"./LogoWallContext.js";import{media as h}from"../lib/media.js";import{sizedImage as g}from"../../format/lib/sized-image.js";import{stripMarkup as S}from"../../format/lib/markup.js";import{DEFAULT_LOGO_LOOK as R}from"../../format/lib/sections/logo-look.js";const $={label:"text-[length:var(--size-label,13px)]"},o="sf-logo-wall",_="sf-logo-items",L="flex flex-wrap items-center justify-center",m="plain",p={plain:{x:3.5,y:2},cards:{x:.75,y:.75}},N=t=>({columnGap:`${p[t].x}rem`,rowGap:`${p[t].y}rem`}),O=(t,e)=>`calc((100% - ${(t-1)*p[e].x}rem) / ${t})`;function M({items:t,contained:e,heading:n,columns:r,grayscale:s,logoHeight:l,bandPadding:i,logos:f,look:c=R,omitHead:d=!1}){const b=r!=null?{flex:`0 0 ${O(r,m)}`}:void 0,x=!d;return y(v,{contained:e,className:x&&i==null?"py-10":"",style:!x||i==null?void 0:{paddingTop:`${i}px`,paddingBottom:`${i}px`},children:[!d&&n!=null&&n!==""?a("h2",{className:`mb-8 text-center font-mono ${$.label} uppercase tracking-[0.2em] text-fg-dim`,children:E(n,!1)}):null,f?y(G,{value:{look:c,logoHeight:l,grayscale:s},children:[a("style",{children:`.${o}:empty{display:none}.${o}:not(:empty)~.${_}{display:none}`+(r!=null?`.${o}-c${r}>*{flex:0 0 ${O(r,c)}}`:"")}),a(f,{className:[o,r!=null?`${o}-c${r}`:"",L].filter(Boolean).join(" "),style:N(c),minEmptyHeight:80})]}):null,a("div",{className:`${_} ${L}`,style:N(m),children:(t??[]).map((u,k)=>a("div",{className:"text-center",style:b,children:a(T,{src:u.src,alt:u.alt,look:m,logoHeight:l,grayscale:s})},k))})]})}const W="font-mono text-[12px] uppercase tracking-[0.18em]";function w(t){const e=j({name:S(t)});return!e.length||e.length===1&&e[0].kind==="words"&&!e[0].glyph?null:a("span",{className:"flex items-center gap-3",children:e.map((n,r)=>a(A,{item:n,size:20,className:W},r))})}function T({src:t,alt:e,look:n,logoHeight:r,grayscale:s,mark:l}){return n==="cards"?a("div",{className:"sf-card flex h-10 items-center border border-line bg-surface px-4",children:l||(!t&&e&&w(e)?w(e):t?a("img",{...I(h(t)),alt:S(e||""),className:s===!1?"max-h-5 w-auto opacity-90":"max-h-5 w-auto opacity-90 grayscale"}):e&&a("span",{className:W,children:C(e)}))}):t?a("img",{...B(h(t)),alt:e,className:["mx-auto w-auto opacity-60 transition-opacity hover:opacity-100",r==null?"h-7":"",s===!1?"":"grayscale"].filter(Boolean).join(" "),style:r==null?void 0:{height:`${r}px`}}):a("span",{className:`font-mono ${$.label} uppercase tracking-[0.2em] text-fg-dim`,children:z(e||"Logo")})}function I(t){const e=g(t,{fallbackWidth:320,maxWidth:640});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"120px"}:{src:t}}function B(t){const e=g(t,{fallbackWidth:640,maxWidth:960});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"240px"}:{src:t}}export{W as CARD_WORDS_CLASS,T as LogoWallMark,M as default};
@@ -1,6 +1,7 @@
1
1
  export interface PaymentBadge {
2
2
  label?: string;
3
3
  src?: string;
4
+ kind?: string;
4
5
  }
5
6
  interface PaymentBadgesProps {
6
7
  heading?: string;
@@ -9,6 +10,7 @@ interface PaymentBadgesProps {
9
10
  text?: string;
10
11
  }[];
11
12
  contained: boolean;
13
+ sourced?: boolean;
12
14
  }
13
- export default function PaymentBadges({ heading, badges, assurances, contained }: PaymentBadgesProps): import("react").JSX.Element;
15
+ export default function PaymentBadges({ heading, badges, assurances, contained, sourced }: PaymentBadgesProps): import("react").JSX.Element;
14
16
  export {};
@@ -1 +1 @@
1
- import{jsx as r,jsxs as i}from"react/jsx-runtime";import n from"./BlockFrame.js";import{media as o}from"../lib/media.js";import{sizedImage as p}from"../../format/lib/sized-image.js";import{stripMarkup as d}from"../../format/lib/markup.js";import{renderGold as c}from"./goldPhrases.js";function x({heading:a,badges:t,assurances:l,contained:m}){return r(n,{contained:m,className:"py-6",children:i("div",{className:"flex flex-col items-center gap-5 border-y border-line py-8 text-center",children:[a&&r("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em] opacity-70",children:c(a)}),t.length>0&&r("ul",{className:"flex flex-wrap items-center justify-center gap-3",children:t.map((e,s)=>r("li",{className:"sf-card flex h-10 items-center border border-line bg-surface px-4",children:e.src?r("img",{...f(o(e.src)),alt:d(e.label||""),className:"max-h-5 w-auto opacity-90"}):e.label&&r("span",{className:"font-mono text-[12px] uppercase tracking-[0.18em]",children:c(e.label)})},s))}),l.length>0&&r("ul",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-1",children:l.map((e,s)=>e.text&&i("li",{className:"flex items-center gap-2 text-[13px] opacity-60",children:[r("span",{className:"h-1 w-1 rounded-full bg-accent","aria-hidden":!0}),c(e.text)]},s))})]})})}function f(a){const t=p(a,{fallbackWidth:320,maxWidth:640});return t.srcSet?{src:t.src,srcSet:t.srcSet,sizes:"120px"}:{src:a}}export{x as default};
1
+ import{jsx as a,jsxs as n}from"react/jsx-runtime";import{PaymentMark as d,paymentMarks as f}from"efficient-shell/icons/payment";import x from"./BlockFrame.js";import{CARD_WORDS_CLASS as y,LogoWallMark as c}from"./Logos.js";import{renderGold as i}from"./goldPhrases.js";function g({heading:r,badges:t,assurances:s,contained:o,sourced:p=!1}){const m=p?f(t.map(e=>({name:e.label,kind:e.kind}))).map(e=>({item:e})):t.map(e=>({src:e.src,label:e.label||""}));return a(x,{contained:o,className:"py-6",children:n("div",{className:"flex flex-col items-center gap-5 border-y border-line py-8 text-center",children:[r&&a("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em] opacity-70",children:i(r)}),m.length>0&&a("ul",{className:"flex flex-wrap items-center justify-center gap-3",children:m.map((e,l)=>a("li",{children:"item"in e?a(c,{look:"cards",alt:e.item.label,mark:a(d,{item:e.item,size:20,className:y})}):a(c,{src:e.src,alt:e.label,look:"cards",grayscale:!1})},l))}),s.length>0&&a("ul",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-1",children:s.map((e,l)=>e.text&&n("li",{className:"flex items-center gap-2 text-[13px] opacity-60",children:[a("span",{className:"h-1 w-1 rounded-full bg-accent","aria-hidden":!0}),i(e.text)]},l))})]})})}export{g as default};
@@ -1 +1 @@
1
- "use client";import{jsx as t,jsxs as c,Fragment as s}from"react/jsx-runtime";import{normaliseReelShape as u,reelRailClass as h,reelSurfaceRailClass as p}from"../../format/lib/reel.js";function g({slides:a,active:r,shape:o,placement:e,ref:n,tone:i="media",label:d}){const l=u(o),m=i==="surface"?{"--overlay-fg":"var(--fg)","--overlay-chrome":"var(--fg)","--overlay-scrim":"var(--site-surface-2)"}:void 0;return c("aside",{ref:n,"aria-label":d??"Featured slides",className:i==="surface"?p(l):h(l,e),style:{color:"var(--overlay-fg)",...m},children:[l==="cards"&&t(b,{slides:a,active:r}),l==="dots"&&t(x,{count:a.length,active:r}),l==="numbers"&&t(f,{count:a.length,active:r}),l==="bar"&&t(y,{count:a.length,active:r}),l==="squares"&&t(v,{count:a.length,active:r}),l==="tabs"&&t(N,{slides:a,active:r})]})}function b({slides:a,active:r}){return c(s,{children:[t("span",{className:"mb-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.28em] text-overlay-chrome/55",children:"Reel · pick a slide"}),a.map((o,e)=>{const n=e===r;return c("button",{type:"button","data-idx":e,"aria-pressed":n,"aria-label":`Go to ${o.name||`slide ${e+1}`}`,className:["group flex w-[170px] cursor-pointer flex-col items-start gap-0.5 border bg-overlay-scrim/55 px-3 py-2.5 text-left transition-all motion-reduce:transition-none max-[1100px]:w-[140px]",n?"border-accent bg-overlay-scrim/70":"border-overlay-chrome/15 hover:border-overlay-chrome/45 hover:bg-overlay-scrim/70"].join(" "),children:[t("span",{className:["font-display text-[length:var(--size-body,13px)] font-medium uppercase leading-tight tracking-[-0.01em]",n?"text-accent":"text-overlay-fg"].join(" "),children:o.name||`Slide ${e+1}`}),t("span",{className:"font-mono text-[length:var(--size-label,9px)] uppercase tracking-[0.2em] text-overlay-chrome/55",children:n?"▶ Now playing":o.process||" "})]},e)})]})}function x({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`h-2 cursor-pointer rounded-full transition-all motion-reduce:transition-none ${e===r?"w-5 bg-accent":"w-2 bg-overlay-chrome/45 hover:bg-overlay-chrome/70"}`},e))})}function f({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`cursor-pointer font-mono text-[length:var(--size-label,11px)] leading-none tracking-[0.06em] transition-colors ${e===r?"text-overlay-fg":"text-overlay-chrome/45 hover:text-overlay-chrome/80"}`,children:String(e+1).padStart(2,"0")},e))})}function v({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`grid h-8 w-8 cursor-pointer place-items-center border border-overlay-chrome/25 text-[length:var(--size-label,14px)] font-bold leading-none transition-colors motion-reduce:transition-none ${e===r?"bg-accent text-[color:var(--accent-ink)]":"bg-overlay-scrim/45 text-overlay-chrome/75 hover:text-overlay-chrome"}`,children:e+1},e))})}function y({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`h-full flex-1 cursor-pointer transition-colors ${e<=r?"bg-overlay-fg":"bg-overlay-chrome/25"}`},e))})}function N({slides:a,active:r}){return t(s,{children:a.map((o,e)=>{const n=e===r;return t("button",{type:"button","data-idx":e,"aria-pressed":n,className:["flex min-w-[140px] flex-1 cursor-pointer items-end px-6 py-7 text-left transition-colors",e>0?"border-l border-overlay-chrome/15":"",n?"bg-overlay-scrim/70":"hover:bg-overlay-scrim/40"].join(" "),children:t("span",{className:["font-heading3 text-[length:var(--size-headingSmall,24px)] font-medium uppercase leading-tight tracking-[-0.02em]",n?"text-overlay-fg":"text-overlay-chrome/55"].join(" "),children:o.name})},e)})})}export{g as default};
1
+ "use client";import{jsx as t,jsxs as c,Fragment as s}from"react/jsx-runtime";import{normaliseReelShape as x,reelRailClass as g,reelSurfaceRailClass as u}from"../../format/lib/reel.js";function h({slides:a,active:r,shape:o,placement:e,ref:n,tone:i="media",label:m}){const l=x(o),p=i==="surface"?{"--overlay-fg":"var(--fg)","--overlay-chrome":"var(--fg)","--overlay-scrim":"var(--site-surface-2)"}:void 0;return c("aside",{ref:n,"aria-label":m??"Featured slides",className:i==="surface"?u(l):g(l,e),style:{color:"var(--overlay-fg)",...p},children:[l==="cards"&&t(b,{slides:a,active:r}),l==="dots"&&t(f,{count:a.length,active:r}),l==="numbers"&&t(v,{count:a.length,active:r}),l==="bar"&&t(N,{count:a.length,active:r}),l==="squares"&&t(y,{count:a.length,active:r}),l==="tabs"&&t($,{slides:a,active:r}),l==="largeTabs"&&t(k,{slides:a,active:r})]})}function b({slides:a,active:r}){return c(s,{children:[t("span",{className:"mb-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.28em] text-overlay-chrome/55",children:"Reel · pick a slide"}),a.map((o,e)=>{const n=e===r;return c("button",{type:"button","data-idx":e,"aria-pressed":n,"aria-label":`Go to ${o.name||`slide ${e+1}`}`,className:["group flex w-[170px] cursor-pointer flex-col items-start gap-0.5 border bg-overlay-scrim/55 px-3 py-2.5 text-left transition-all motion-reduce:transition-none max-[1100px]:w-[140px]",n?"border-accent bg-overlay-scrim/70":"border-overlay-chrome/15 hover:border-overlay-chrome/45 hover:bg-overlay-scrim/70"].join(" "),children:[t("span",{className:["font-display text-[length:var(--size-body,13px)] font-medium uppercase leading-tight tracking-[-0.01em]",n?"text-accent":"text-overlay-fg"].join(" "),children:o.name||`Slide ${e+1}`}),t("span",{className:"font-mono text-[length:var(--size-label,9px)] uppercase tracking-[0.2em] text-overlay-chrome/55",children:n?"▶ Now playing":o.process||" "})]},e)})]})}function f({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`h-2 cursor-pointer rounded-full transition-all motion-reduce:transition-none ${e===r?"w-5 bg-accent":"w-2 bg-overlay-chrome/45 hover:bg-overlay-chrome/70"}`},e))})}function v({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`cursor-pointer font-mono text-[length:var(--size-label,11px)] leading-none tracking-[0.06em] transition-colors ${e===r?"text-overlay-fg":"text-overlay-chrome/45 hover:text-overlay-chrome/80"}`,children:String(e+1).padStart(2,"0")},e))})}function y({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`grid h-8 w-8 cursor-pointer place-items-center border border-overlay-chrome/25 text-[length:var(--size-label,14px)] font-bold leading-none transition-colors motion-reduce:transition-none ${e===r?"bg-accent text-[color:var(--accent-ink)]":"bg-overlay-scrim/45 text-overlay-chrome/75 hover:text-overlay-chrome"}`,children:e+1},e))})}function N({count:a,active:r}){return t(s,{children:Array.from({length:a},(o,e)=>t("button",{type:"button","data-idx":e,"aria-pressed":e===r,"aria-label":`Go to slide ${e+1}`,className:`h-full flex-1 cursor-pointer transition-colors ${e<=r?"bg-overlay-fg":"bg-overlay-chrome/25"}`},e))})}function $({slides:a,active:r}){return t(s,{children:a.map((o,e)=>{const n=e===r;return t("button",{type:"button","data-idx":e,"aria-pressed":n,className:["flex min-w-[140px] flex-1 cursor-pointer items-end px-6 py-7 text-left transition-colors",e>0?"border-l border-overlay-chrome/15":"",n?"bg-overlay-scrim/70":"hover:bg-overlay-scrim/40"].join(" "),children:t("span",{className:["font-heading3 text-[length:var(--size-headingSmall,24px)] font-medium uppercase leading-tight tracking-[-0.02em]",n?"text-overlay-fg":"text-overlay-chrome/55"].join(" "),children:o.name})},e)})})}const d={label:"text-[length:var(--size-label,13px)]",labelUpTo720:"max-[720px]:text-[length:var(--size-label,11px)]",nameUpTo720:"max-[720px]:text-[length:var(--size-body,15px)]"};function k({slides:a,active:r}){return t(s,{children:a.map((o,e)=>{const n=e===r,i=o.name.trim().split(/\s+/),m=i.slice(0,-1).join(" "),l=i.slice(-1)[0]??"";return c("button",{type:"button","data-idx":e,"aria-pressed":n,className:["group relative grid flex-1 cursor-pointer grid-cols-[auto_1fr] items-end gap-5 px-6 py-8 text-left transition-colors",e<a.length-1?"border-r border-line":"","max-[720px]:grid-cols-[auto_1fr] max-[720px]:items-center max-[720px]:gap-2 max-[720px]:px-3 max-[720px]:py-3",n?"bg-surface":"hover:bg-fg/[0.04]"].join(" "),children:[t("span",{className:[`pb-2 font-mono ${d.label} tracking-[0.3em] max-[720px]:pb-0 ${d.labelUpTo720} max-[720px]:tracking-[0.24em]`,n?"text-accent":"text-fg-dim group-hover:text-accent"].join(" "),children:String.fromCharCode(65+e%26)}),c("span",{className:`font-heading2 text-[length:min(var(--size-headingMedium,clamp(28px,3.6vw,48px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.02em] ${d.nameUpTo720}`,children:[m?c(s,{children:[m," "]}):null,t("em",{className:"font-normal italic text-accent",children:l})]}),n&&t("span",{className:"pointer-events-none absolute inset-x-0 -bottom-px h-0.5 bg-accent"})]},e)})})}export{h as default};
@@ -3,7 +3,7 @@ import { type PadValues } from "../../format/lib/content/section-padding.js";
3
3
  export declare function SplitBandAndColumn({ children }: {
4
4
  children?: ReactNode;
5
5
  }): import("react").JSX.Element;
6
- export default function SiteGutterFrame({ contained, framedClass, fillClass, columnClass, style, tabLabel, pad, border, children, }: {
6
+ export default function SiteGutterFrame({ contained, framedClass, fillClass, columnClass, style, tabLabel, pad, border, outerAttrs, children, }: {
7
7
  contained: boolean;
8
8
  framedClass: string;
9
9
  fillClass: string;
@@ -15,5 +15,6 @@ export default function SiteGutterFrame({ contained, framedClass, fillClass, col
15
15
  frame: number;
16
16
  };
17
17
  border?: CSSProperties;
18
+ outerAttrs?: Record<string, string>;
18
19
  children?: ReactNode;
19
20
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- "use client";import{jsx as t}from"react/jsx-runtime";import{createContext as p,useContext as C}from"react";import{rootPadAttrs as E,wrapperPadAttrs as O}from"../../format/lib/content/section-padding.js";import{SECTION_BORDER_CLASS as P,SECTION_BORDER_SELF_CLASS as I}from"../../format/lib/content/borders.js";import{drawsSiteGutter as j}from"../../format/lib/content/site-gutter.js";const N=p(!1),u=p(!1);function g({children:o}){return t(u.Provider,{value:!0,children:o})}function w({contained:o,framedClass:h,fillClass:x,columnClass:y,style:d,tabLabel:R,pad:e,border:n,children:m}){const _=C(N),f=C(u),l=j(o,_),s=l&&!f,r=e&&!s?E(e.values,e.frame):null,a=n&&!s?n:null,A=[s?h:x,r?.className,a?I:null].filter(Boolean).join(" "),B=r||a?{...d,...r?.style,...a}:d,i=l?t(N.Provider,{value:!0,children:m}):m,v=t("div",{className:A,style:B,"data-tab-label":R,children:f?t(u.Provider,{value:!1,children:l?t("div",{className:y,children:i}):i}):i}),c=e&&s?O(e.values):null,S=c?t("div",{className:c.className,style:c.style,children:v}):v;return n&&s?t("div",{className:P,style:{display:"contents",...n},children:S}):S}export{g as SplitBandAndColumn,w as default};
1
+ "use client";import{jsx as t}from"react/jsx-runtime";import{createContext as h,useContext as N}from"react";import{rootPadAttrs as j,wrapperPadAttrs as I}from"../../format/lib/content/section-padding.js";import{SECTION_BORDER_CLASS as w,SECTION_BORDER_SELF_CLASS as A}from"../../format/lib/content/borders.js";import{drawsSiteGutter as G}from"../../format/lib/content/site-gutter.js";const y=h(!1),d=h(!1);function b({children:o}){return t(d.Provider,{value:!0,children:o})}function L({contained:o,framedClass:O,fillClass:x,columnClass:R,style:m,tabLabel:_,pad:e,border:s,outerAttrs:r,children:f}){const B=N(y),v=N(d),a=G(o,B),n=a&&!v,i=e&&!n?j(e.values,e.frame):null,c=s&&!n?s:null,E=[n?O:x,i?.className,c?A:null].filter(Boolean).join(" "),P=i||c?{...m,...i?.style,...c}:m,u=a?t(y.Provider,{value:!0,children:f}):f,l=e&&n?I(e.values):null,S=r&&Object.keys(r).length>0?r:null,p=t("div",{...l?null:S,className:E,style:P,"data-tab-label":_,children:v?t(d.Provider,{value:!1,children:a?t("div",{className:R,children:u}):u}):u}),C=l?t("div",{...S,className:l.className,style:l.style,children:p}):p;return s&&n?t("div",{className:w,style:{display:"contents",...s},children:C}):C}export{b as SplitBandAndColumn,L as default};
@@ -1 +1 @@
1
- import{jsx as c}from"react/jsx-runtime";import{CardRowValues as P}from"../../../../../components/CardRowContext.js";import R from"../../../../../components/ButtonBlock.js";import{CARD_ROW_LINK_PROP as p,namedRowField as m}from"../../../../../../format/lib/content/card-template.js";import{CTA_PH as _}from"../../../../../../format/lib/document/blocks/placeholders.js";import{phPrev as k}from"../../scaffold.js";import{ButtonBlockMeta as v}from"../../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";const H={...v,render:o=>{const{label:n,href:i,variant:d,align:f,contained:s,arrow:u,icon:w,iconPosition:C,widthFit:b,buttonColor:h,buttonTextColor:x,editor:B}=o,e=(t,r)=>c(R,{label:k(t,_.text,B)??"",href:r,variant:d,align:f,contained:s,arrow:u,icon:w,iconPosition:C,widthFit:b,buttonColor:h,buttonTextColor:x}),a=m(o),l=m(o,p);return!a&&!l?e(n,i):c(P,{fields:[a,l],children:([t,r])=>e(t??n,r??i)})}};export{H as ButtonBlockRender};
1
+ import{jsx as c}from"react/jsx-runtime";import{CardRowValues as R}from"../../../../../components/CardRowContext.js";import O from"../../../../../components/ButtonBlock.js";import{CARD_ROW_LINK_PROP as _,namedRowField as d}from"../../../../../../format/lib/content/card-template.js";import{CTA_PH as j}from"../../../../../../format/lib/document/blocks/placeholders.js";import{phPrev as p}from"../../scaffold.js";import{ButtonBlockMeta as F}from"../../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";const D={...F,render:o=>{const{label:n,href:i,variant:m,align:s,contained:f,arrow:u,icon:b,iconPosition:w,widthFit:h,buttonColor:B,buttonTextColor:C,editor:P}=o,x=Object.fromEntries(Object.entries(o).filter(([t])=>t==="buttonFillOpacity"||t==="buttonBorder"||t.startsWith("buttonPadding"))),e=(t,r)=>c(O,{label:p(t,j.text,P)??"",href:r,variant:m,align:s,contained:f,arrow:u,icon:b,iconPosition:w,widthFit:h,buttonColor:B,buttonTextColor:C,...x}),l=d(o),a=d(o,_);return!l&&!a?e(n,i):c(R,{fields:[l,a],children:([t,r])=>e(t??n,r??i)})}};export{D as ButtonBlockRender};
@@ -1 +1 @@
1
- import{jsx as s}from"react/jsx-runtime";import d from"../../../../../components/Divider.js";import{DividerMeta as m}from"../../../../../../format/lib/document/blocks/general/Divider/meta.js";const f={...m,render:({spacing:e,contained:i,style:r,thickness:t,lengthPct:o,hideOnMobile:n})=>s(d,{spacing:e,contained:i,style:r,thickness:t,lengthPct:o,hideOnMobile:n===!0})};export{f as DividerRender};
1
+ import{jsx as d}from"react/jsx-runtime";import c from"../../../../../components/Divider.js";import{padValuesOf as a}from"../../../../../../format/lib/content/section-padding.js";import{DividerMeta as m}from"../../../../../../format/lib/document/blocks/general/Divider/meta.js";const g={...m,render:e=>{const{spacing:i,contained:t,style:n,thickness:r,lengthPct:o,hideOnMobile:s}=e;return d(c,{spacing:i,contained:t,style:n,thickness:r,lengthPct:o,hideOnMobile:s===!0,pad:a(e)})}};export{g as DividerRender};
@@ -1 +1 @@
1
- import{jsx as n}from"react/jsx-runtime";import t from"../../../../../components/Flex.js";import{sectionFillsHeight as a}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as i}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const h={...i,render:e=>n(t,{direction:e.direction,label:e.label,gap:e.gap,justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,phoneRow:e.phoneRow,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,padTop:e.sectionPaddingTop,padBottom:e.sectionPaddingBottom,padTopPhone:e.sectionPaddingTopPhone,padBottomPhone:e.sectionPaddingBottomPhone,padLeft:e.sectionPaddingLeft,padRight:e.sectionPaddingRight,padLeftPhone:e.sectionPaddingLeftPhone,padRightPhone:e.sectionPaddingRightPhone,contained:e.contained,fillHeight:a(e),content:e.content})};export{h as FlexRender};
1
+ import{jsx as n}from"react/jsx-runtime";import t from"../../../../../components/Flex.js";import{sectionFillsHeight as a}from"../../../../../../format/lib/content/section-min-height.js";import{FlexMeta as i}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const c={...i,render:e=>n(t,{direction:e.direction,label:e.label,tabShape:e.tabShape,gap:e.gap,justify:e.justify,align:e.align,wrap:e.wrap,share:e.share,phoneRow:e.phoneRow,blockSpacing:e.blockSpacing,bgImage:e.bgImage,bgImagePhone:e.bgImagePhone,darken:e.darken,darkenStyle:e.darkenStyle,placement:e.placement,padV2:e.padV2===!0,border:e.sectionBorder,borderPhone:e.sectionBorderPhone,padTop:e.sectionPaddingTop,padBottom:e.sectionPaddingBottom,padTopPhone:e.sectionPaddingTopPhone,padBottomPhone:e.sectionPaddingBottomPhone,padLeft:e.sectionPaddingLeft,padRight:e.sectionPaddingRight,padLeftPhone:e.sectionPaddingLeftPhone,padRightPhone:e.sectionPaddingRightPhone,contained:e.contained,fillHeight:a(e),shadow:e.shadow,content:e.content})};export{c as FlexRender};
@@ -1 +1 @@
1
- import{jsx as h}from"react/jsx-runtime";import S from"../../../../../components/HeroSlide.js";import{nestedAccentValue as b,sectionThemeWrap as j}from"../../../../../../format/lib/content/section-surface.js";import{phHide as H}from"../../scaffold.js";import{HeroSlideMeta as x}from"../../../../../../format/lib/document/blocks/general/HeroSlide/meta.js";const E={...x,render:({name:s,process:d,mediaType:e,mediaVideo:m,mediaImage:c,poster:f,mediaSrc:a,videoSpeed:n,imageFocal:p,imageFocalPhone:t,tintColor:u,overlay:l,groups:g,editor:i,...o})=>{const r=j({...o,sectionAccent:b(o.sectionAccent)});return h(S,{themeClassName:r?.className,themeStyle:r?.style,name:s||void 0,process:H(d,"Label",i),mediaType:e,mediaSrc:(e==="image"?c:m||a)||void 0,videoSpeed:typeof n=="number"?n:void 0,poster:f||void 0,objectPosition:e==="image"&&p||void 0,objectPositionPhone:e==="image"&&typeof t=="string"?t:void 0,tintColor:u,tintOpacity:e==="image"?l:0,groups:g,editing:i?.isEditing})}};export{E as HeroSlideRender};
1
+ import{jsx as b}from"react/jsx-runtime";import j from"../../../../../components/HeroSlide.js";import{nestedAccentValue as H,sectionThemeWrap as x}from"../../../../../../format/lib/content/section-surface.js";import{phHide as A}from"../../scaffold.js";import{HeroSlideMeta as y}from"../../../../../../format/lib/document/blocks/general/HeroSlide/meta.js";import{loadingStill as C}from"../../../../../../format/lib/hero-video.js";const R={...y,render:({name:m,process:s,mediaType:e,mediaVideo:d,mediaImage:c,poster:f,loadingShows:a,videoFrame:l,mediaSrc:p,videoSpeed:t,imageFocal:u,imageFocalPhone:i,tintColor:g,overlay:S,groups:h,editor:n,...o})=>{const r=x({...o,sectionAccent:H(o.sectionAccent)});return b(j,{themeClassName:r?.className,themeStyle:r?.style,name:m||void 0,process:A(s,"Label",n),mediaType:e,mediaSrc:(e==="image"?c:d||p)||void 0,videoSpeed:typeof t=="number"?t:void 0,poster:C({loadingShows:a,poster:f,videoFrame:l}),objectPosition:e==="image"&&u||void 0,objectPositionPhone:e==="image"&&typeof i=="string"?i:void 0,tintColor:g,tintOpacity:e==="image"?S:0,groups:h,editing:n?.isEditing})}};export{R as HeroSlideRender};
@@ -1 +1 @@
1
- import{jsx as c}from"react/jsx-runtime";import d from"../../../../../components/Logos.js";import{phRows as l,phHide as n}from"../../scaffold.js";import{say as o}from"../../../../../../format/lib/editor-words.js";import{LogosMeta as f}from"../../../../../../format/lib/document/blocks/general/Logos/meta.js";const p=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],y={...f,render:({items:s,contained:t,heading:e,columns:a,logoHeight:g,bandPadding:m,grayscale:i,editor:r})=>c(d,{items:l(s,p(),r),contained:t,heading:n(e,"Trusted by *teams worldwide*",r),columns:a,logoHeight:g,bandPadding:m,grayscale:i})};export{y as LogosRender};
1
+ import{jsx as f}from"react/jsx-runtime";import p from"../../../../../components/Logos.js";import{phRows as L,phHide as u}from"../../scaffold.js";import{say as o}from"../../../../../../format/lib/editor-words.js";import{parseLogoLook as w}from"../../../../../../format/lib/sections/logo-look.js";import{parseSectionHeadPlacement as h}from"../../../../../../format/lib/sections/section-head-placement.js";import{LogosMeta as x}from"../../../../../../format/lib/document/blocks/general/Logos/meta.js";const y=()=>[{src:"",alt:o("Logo one")},{src:"",alt:o("Logo two")},{src:"",alt:o("Logo three")},{src:"",alt:o("Logo four")},{src:"",alt:o("Logo five")}],S={...x,render:({items:e,contained:s,heading:a,columns:n,logoHeight:m,bandPadding:d,grayscale:i,logos:g,look:c,headPlacement:l,editor:t})=>{const r=h(l)==="own-box";return f(p,{items:r?Array.isArray(e)?e:[]:L(e,y(),t),contained:s,heading:r?void 0:u(a,"Trusted by *teams worldwide*",t),columns:n,logoHeight:m,bandPadding:d,grayscale:i,logos:r?g:void 0,look:w(c),omitHead:r})}};export{S as LogosRender};
@@ -1 +1 @@
1
- import{Fragment as u,jsx as s}from"react/jsx-runtime";import l from"../../../../../components/PaymentBadges.js";import{declaredBlockSource as y,sourcedRows as b}from"../../../../../../format/lib/content/block-sources.js";import{phRows as c,phHide as i}from"../../scaffold.js";import{say as a}from"../../../../../../format/lib/editor-words.js";import{PaymentBadgesMeta as f,PAYMENT_PH as g}from"../../../../../../format/lib/document/blocks/general/PaymentBadges/meta.js";const P=[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],p=()=>[{text:a("Secure encrypted checkout")},{text:a("30-day returns")}],A=()=>[{label:a("Payment method")},{label:a("Payment method")},{label:a("Payment method")}],w={...f,render:t=>{const{heading:o,badges:h,assurances:r,contained:d,editor:e}=t;if(y(t)!==""){const m=b(t,!!e?.isEditing,A()).rows.filter(n=>n.label).map(n=>({label:n.label}));return m.length?s(l,{heading:i(o,g.heading,e),badges:m,assurances:Array.isArray(r)?r:[],contained:d}):s(u,{})}return s(l,{heading:i(o,g.heading,e),badges:c(h,P,e),assurances:c(r,p(),e),contained:d})}};export{w as PaymentBadgesRender};
1
+ import{Fragment as b,jsx as t}from"react/jsx-runtime";import c from"../../../../../components/PaymentBadges.js";import{declaredBlockSource as h,sourcedRows as f}from"../../../../../../format/lib/content/block-sources.js";import{phRows as l,phHide as m}from"../../scaffold.js";import{say as a}from"../../../../../../format/lib/editor-words.js";import{PaymentBadgesMeta as y,PAYMENT_PH as u}from"../../../../../../format/lib/document/blocks/general/PaymentBadges/meta.js";const p=[{label:"Visa"},{label:"Mastercard"},{label:"Amex"},{label:"PayPal"}],k=()=>[{text:a("Secure encrypted checkout")},{text:a("30-day returns")}],A=()=>[{label:a("Cash"),kind:"cash"},{label:a("Card"),kind:"card"},{label:a("Bank transfer"),kind:"wire"}],M={...y,render:n=>{const{heading:d,badges:g,assurances:s,contained:o,editor:e}=n;if(h(n)!==""){const i=f(n,!!e?.isEditing,A()).rows.filter(r=>r.label).map(r=>({label:r.label,kind:r.kind}));return i.length?t(c,{heading:m(d,u.heading,e),badges:i,assurances:Array.isArray(s)?s:[],contained:o,sourced:!0}):t(b,{})}return t(c,{heading:m(d,u.heading,e),badges:l(g,p,e),assurances:l(s,k(),e),contained:o})}};export{M as PaymentBadgesRender};
@@ -1,3 +1,4 @@
1
+ import { SECTION_PAD_INNER_DEFAULTS } from "../../passes/section-padding.js";
1
2
  import { type BoxEntry, type PartRow, type SiteWrite } from "../../../sections/section-to-box.js";
2
3
  type Props = Record<string, unknown>;
3
4
  export declare const TEXT: Props;
@@ -9,7 +10,6 @@ export declare const SECTION_BOX: Props;
9
10
  export declare const SAME_KEYS: readonly BoxEntry[];
10
11
  export declare const DROP_COMMON: Readonly<Record<string, string>>;
11
12
  export declare const DROP_SIDE_PADDING: Readonly<Record<string, string>>;
12
- export declare const num: (v: unknown) => number | undefined;
13
13
  export type OwnPad = {
14
14
  top: number;
15
15
  bottom: number;
@@ -17,7 +17,9 @@ export type OwnPad = {
17
17
  bottomPhone: number;
18
18
  };
19
19
  export declare function wrapperPad(p: Props, own: OwnPad): Props;
20
- export declare const wrapperPadKeys: (own: OwnPad) => BoxEntry[];
20
+ export declare const wrapperPadKeys: (own: OwnPad | ((props: Props) => OwnPad)) => BoxEntry[];
21
+ export declare function innerPad(p: Props, type: keyof typeof SECTION_PAD_INNER_DEFAULTS): Props;
22
+ export declare const innerPadKeys: (type: keyof typeof SECTION_PAD_INNER_DEFAULTS) => BoxEntry[];
21
23
  export declare const HEADING_CASE_UPPER: SiteWrite;
22
24
  export declare const headingCaseOf: (key: string) => (node: {
23
25
  props: Props;
@@ -1 +1 @@
1
- import{hasWords as c}from"../../../sections/section-to-box.js";const s={align:"left",tone:"default",contained:!0},g={...s,tone:"dim"},h={variant:"primary",align:"left",contained:!0},d={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},P={...d,direction:"column",sectionPaddingTop:0,sectionPaddingBottom:0},m={...d,sectionAccent:0},u=["gridSpan","backgroundWidth","contentWidth","contentMax","widthMode","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden"],x={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing"},l=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(t=>[t,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"])),n=t=>typeof t=="number"&&Number.isFinite(t)?t:void 0;function a(t,o){const i=n(t.sectionPaddingTop)??0,e=n(t.sectionPaddingBottom)??0;return{sectionPaddingTop:i+o.top,sectionPaddingBottom:e+o.bottom,sectionPaddingTopPhone:(n(t.sectionPaddingTopPhone)??i)+o.topPhone,sectionPaddingBottomPhone:(n(t.sectionPaddingBottomPhone)??e)+o.bottomPhone}}const T=t=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(o=>[o,o,(i,e)=>a(e,t)[o]]),r={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},f=t=>o=>c(o.props[t])?[r]:[],B=(t,o)=>({kind:"text",key:t,role:"eyebrow",props:s,...o?{style:o}:{}});export{d as BOX,h as BUTTON,g as DIM,x as DROP_COMMON,l as DROP_SIDE_PADDING,r as HEADING_CASE_UPPER,P as INNER_BOX,u as SAME_KEYS,m as SECTION_BOX,s as TEXT,f as headingCaseOf,n as num,B as smallText,a as wrapperPad,T as wrapperPadKeys};
1
+ import{NESTED_BOX_PADDING as a}from"../../../../../format/lib/content/box-layout.js";import{resolveSectionPadding as r}from"../../../../../format/lib/content/section-padding.js";import{ButtonBlockMeta as p}from"../../../../../format/lib/document/blocks/general/ButtonBlock/meta.js";import{TextMeta as g}from"../../../../../format/lib/document/blocks/general/Text/meta.js";import{SECTION_PAD_INNER_DEFAULTS as P}from"../../passes/section-padding.js";import{finiteNumber as i}from"../../../../../format/lib/finite-number.js";import{hasWords as h}from"../../../sections/section-to-box.js";const{text:b,tag:N,...m}=g.defaultProps,s=m,O={...s,tone:"dim"},{label:A,href:M,...T}=p.defaultProps,I=T,c={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},k={...c,direction:"column",...a},v={...c,sectionAccent:0},C=["gridSpan","backgroundWidth","contentWidth","contentMax","widthMode","sectionHeightMode","sectionHeightValue","sectionHeightUnit","sectionHeightModePhone","sectionHeightValuePhone","sectionHeightUnitPhone","sectionCorners","sectionCornerSides","sectionBorder","sectionBorderPhone","sectionAccent","stickTop","stickTopDistance","stickTopPhone","stickTopDistancePhone","anchor","sectionAnimation","_hidden"],H={sectionSurface:"read by nothing in src/ (searched 2026-10-24): a retired theme key that draws nothing today, so dropping it changes nothing"},R=Object.fromEntries(["sectionPaddingLeft","sectionPaddingRight","sectionPaddingLeftPhone","sectionPaddingRightPhone"].map(o=>[o,"needs Box side padding outside its gutter: the old section added it outside its frame, a Box's side padding replaces the gutter. 0 live nodes store it (JJ's read-only export, 2026-10-24)"]));function x(o,t){const e=i(o.sectionPaddingTop)??0,n=i(o.sectionPaddingBottom)??0;return{sectionPaddingTop:e+t.top,sectionPaddingBottom:n+t.bottom,sectionPaddingTopPhone:(i(o.sectionPaddingTopPhone)??e)+t.topPhone,sectionPaddingBottomPhone:(i(o.sectionPaddingBottomPhone)??n)+t.bottomPhone}}const U=o=>["sectionPaddingTop","sectionPaddingBottom","sectionPaddingTopPhone","sectionPaddingBottomPhone"].map(t=>[t,t,(e,n)=>x(n,typeof o=="function"?o(n):o)[t]]);function d(o,t){const e=r(o,P[t]);return{sectionPaddingTop:e.top,sectionPaddingBottom:e.bottom}}const X=o=>[["padTop","sectionPaddingTop",(t,e)=>d(e,o).sectionPaddingTop],["padBottom","sectionPaddingBottom",(t,e)=>d(e,o).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(t,e)=>d(e,o).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(t,e)=>d(e,o).sectionPaddingBottom]],f={kind:"heading-case-upper",styles:["heading-1","heading-2","heading-3"]},y=o=>t=>h(t.props[o])?[f]:[],G=(o,t)=>({kind:"text",key:o,role:"eyebrow",props:s,...t?{style:t}:{}});export{c as BOX,I as BUTTON,O as DIM,H as DROP_COMMON,R as DROP_SIDE_PADDING,f as HEADING_CASE_UPPER,k as INNER_BOX,C as SAME_KEYS,v as SECTION_BOX,s as TEXT,y as headingCaseOf,d as innerPad,X as innerPadKeys,G as smallText,x as wrapperPad,U as wrapperPadKeys};
@@ -0,0 +1,2 @@
1
+ import { type SectionToBoxRow } from "../../../sections/section-to-box.js";
2
+ export declare const LOGOS_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
@@ -0,0 +1 @@
1
+ import{hasWords as t}from"../../../sections/section-to-box.js";import{DROP_COMMON as d,DROP_SIDE_PADDING as i,INNER_BOX as l,SAME_KEYS as c,SECTION_BOX as p,TEXT as n,smallText as g,wrapperPad as s,wrapperPadKeys as m}from"./section-to-box-row-parts.js";import{finiteNumber as P}from"../../../../../format/lib/finite-number.js";const h={contained:!1},b=(o,e)=>({logos:[{kind:"list",key:o,name:"Logo",flat:!0,parts:[{kind:"block",type:"LogoBlock",box:["src",[e,"alt"]],when:(S,r)=>t(r?.src)||t(r?.[e])}]}]}),a=o=>{const e=P(o.bandPadding)??40;return{top:e,bottom:e,topPhone:e,bottomPhone:e}},k={...g("heading",{color:"labels",letterSpacing:.2}),props:{...n,align:"center"}},f={name:"Logos",on:!1,boxProps:o=>({...p,direction:"column",gap:32,...s(o,a(o))}),box:[...c,...m(a),["bandPadding","sectionPaddingTop",(o,e)=>s(e,a(e)).sectionPaddingTop]],parts:[k,{kind:"core",keep:["columns","logoHeight","grayscale"],rename:{logosPerRow:"columns"},props:h,slots:b("items","alt")}],drop:{...d,...i,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)",headPlacement:"a Logos band has no split head (not in SPLITTABLE_SECTIONS): no stored node can hold one, and the converted block stores own-box"}},u={top:24,bottom:24,topPhone:24,bottomPhone:24},O={name:"Payment Methods",on:!1,boxProps:o=>({...p,direction:"column",...s(o,u)}),box:[...c,...m(u)],skip:o=>t(o.dataSource)?"its payment methods come from a data source (a venue's Setup): a sourced list needs the card template (plan §3.2), not built yet":void 0,parts:[{kind:"group",name:"Methods",props:{...l,align:"center",gap:20,sectionBorder:{top:1,bottom:1},sectionPaddingTop:32,sectionPaddingBottom:32},parts:[{...g("heading",{color:"labels"}),props:{...n,align:"center"}},{kind:"core",keep:[],as:"Logos",props:{...h,look:"cards",grayscale:!1},slots:b("badges","label")},{kind:"group",name:"Reassurance",props:{...l,direction:"row",wrap:!0,justify:"center",gap:24},parts:[{kind:"list",key:"assurances",name:"Line",flat:!0,parts:[{kind:"text",key:"text",props:{...n,align:"center"},style:{size:13,color:"labels"}}]}]}]}],drop:{...d,...i,contained:"the Box draws the site frame now; the Logos block inside it fills the Box's column (`contained: false`)",dataSource:"empty: no source, so the authored badges above are the list (a node that names a source is skipped, see `skip`)"}},L={Logos:f,PaymentBadges:O};export{L as LOGOS_SECTION_TO_BOX};
@@ -0,0 +1,5 @@
1
+ import { type SectionToBoxRow } from "../../../sections/section-to-box.js";
2
+ type Props = Record<string, unknown>;
3
+ export declare function figureWords(item: Props): string;
4
+ export declare const STATS_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
5
+ export {};
@@ -0,0 +1 @@
1
+ import{hasWords as l}from"../../../sections/section-to-box.js";import{DIM as g,DROP_COMMON as c,DROP_SIDE_PADDING as h,INNER_BOX as n,SAME_KEYS as u,SECTION_BOX as S,TEXT as o,headingCaseOf as w,innerPad as x,innerPadKeys as y,smallText as i}from"./section-to-box-row-parts.js";const a=e=>typeof e=="string"?e.trim():"";function p(e){const t=`${a(e.prefix)}${a(e.value)}`,s=a(e.suffix);return e.emphasizeAll===!0?t?`==_${t}_==`:"":`${t}${s?`==_${s}_==`:""}`}const r={kind:"block",type:"Text",props:{...o,_partStyles:{text:{textStyle:"heading-1",case:"none",lineHeight:.9,letterSpacing:-.04}}},box:[["value","text",(e,t)=>p(t)]],when:(e,t)=>t!==void 0&&typeof t.value=="string"&&p(t)!==""},d=e=>l(e?.supSuffix),b={name:"Stats with Text",on:!1,boxProps:e=>({...S,direction:"column",gap:60,sectionBorder:{bottom:1},...x(e,"StatsParagraph")}),box:[...u,...y("StatsParagraph")],parts:[{kind:"group",name:"Header",props:{...n,direction:"row",align:"end",justify:"between",gap:40,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:32},parts:[{kind:"group",name:"Title",props:{...n,direction:"row",align:"end",gap:40,share:"content"},parts:[i("eyebrow"),{kind:"text",key:"title",role:"heading",props:o,style:{lineHeight:1,letterSpacing:-.03}}]},{kind:"text",key:"desc",props:{...g,align:"right"},style:{textStyle:"body-1",lineHeight:1.5,width:360},was:{size:15}}]},{kind:"group",name:"Stats",props:{...n,gap:0},parts:[{kind:"list",key:"stats",name:"Stat",perRow:()=>4,rowName:"Stats row",rowProps:{...n,direction:"row",gap:0,share:"equal"},props:{...n,justify:"between",gap:12,sectionPaddingTop:48,sectionPaddingBottom:48,sectionPaddingLeft:32,sectionPaddingRight:32,sectionBorder:{top:1,right:1,bottom:1,left:1}},parts:[{...r,when:(e,t)=>!d(t)&&r.when(e,t)},{kind:"group",name:"Figure",props:{...n,direction:"row",align:"start",gap:32,share:"content"},when:(e,t)=>d(t),parts:[r,{kind:"text",key:"supSuffix",props:o,style:{textStyle:"body-5",color:"accent",letterSpacing:.18,lineHeight:1,padding:18}}]},{kind:"group",name:"Words",props:{...n,gap:4},parts:[{kind:"text",key:"label",props:o,style:{textStyle:"body-1",letterSpacing:-.01},was:{size:16}},i("sub",{color:"labels",letterSpacing:.24})]}]}]}],site:w("title"),drop:{...c,...h,background:"needs a Box fill: the old band painted this colour (the theme's section band, `var(--section-bg)`, or none) behind the head and round the cards, and a Box paints only its theme's page colour",headPlacement:"needs a row per head placement: an own-box Stats with Text draws no head (its words sit in a Section Header above it), the row always draws the head"}},k={StatsParagraph:b};export{k as STATS_SECTION_TO_BOX,p as figureWords};
@@ -1,7 +1,3 @@
1
1
  import { type SectionToBoxRow } from "../../../sections/section-to-box.js";
2
- export declare const XM_SITE: {
3
- readonly schema: "xtreme_mudder";
4
- readonly site: "xtreme-mudder";
5
- };
6
2
  export declare const GENERAL_SECTION_TO_BOX: Readonly<Record<string, SectionToBoxRow>>;
7
3
  export declare function registerGeneralSectionRows(): void;
@@ -1 +1 @@
1
- import{resolveSectionPadding as H}from"../../../../../format/lib/content/section-padding.js";import{SECTION_PAD_INNER_DEFAULTS as E}from"../../passes/section-padding.js";import{hasWords as v,headParts as N,registerSectionToBox as O}from"../../../sections/section-to-box.js";import{BUTTON as c,DIM as g,DROP_COMMON as s,DROP_SIDE_PADDING as h,INNER_BOX as o,SAME_KEYS as d,SECTION_BOX as p,TEXT as i,headingCaseOf as m,num as A,smallText as r,wrapperPad as u,wrapperPadKeys as P}from"./section-to-box-row-parts.js";function a(e,t){const n=H(e,E[t]);return{sectionPaddingTop:n.top,sectionPaddingBottom:n.bottom}}const k=e=>[["padTop","sectionPaddingTop",(t,n)=>a(n,e).sectionPaddingTop],["padBottom","sectionPaddingBottom",(t,n)=>a(n,e).sectionPaddingBottom],["sectionPaddingTop","sectionPaddingTop",(t,n)=>a(n,e).sectionPaddingTop],["sectionPaddingBottom","sectionPaddingBottom",(t,n)=>a(n,e).sectionPaddingBottom]],w={top:72,bottom:72,topPhone:72,bottomPhone:72},[R,D]=N("Prose"),I={name:"Editorial Text",on:!1,boxProps:e=>({...p,direction:"column",gap:28,sectionBorder:{top:1},...u(e,w)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...d,...P(w)],parts:[{kind:"group",name:"Heading",props:{...o,gap:16},parts:[{...R,props:i},{...D,props:i,style:{textStyle:"heading-3",lineHeight:1,letterSpacing:-.02}}]},{kind:"text",key:"body",props:g,style:{size:16,lineHeight:1.7,width:680,paragraphSpacing:18}}],site:m("title"),drop:{...s,...h,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (JJ's export, 2026-10-24)"}},W={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},f=(e,t)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",variant:{key:"variant",map:{primary:"primary",outline:"ghost"},fallback:"ghost"},style:{letterSpacing:.3},props:{...c,...W,...t}}]}),b=e=>v(e.title),C={name:"Call-to-Action Heading",on:!1,boxProps:e=>({...p,direction:"row",align:"center",justify:b(e)?"between":"end",gap:60,share:"content",sectionBorder:{bottom:1},...a(e,"TitleWithButtons")}),box:[...d,...k("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:o,parts:[{kind:"text",key:"title",role:"heading",props:i,style:{textStyle:"heading-1",lineHeight:.94,letterSpacing:-.035,width:1e3}}]},{kind:"group",name:"Buttons",props:{...o,gap:14},parts:[f(b,{widthFit:"fill",iconPosition:"end"}),f(e=>!b(e),{})]}],site:m("title"),drop:{...s,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (JJ's export, 2026-10-24)"}},S={top:40,bottom:64,topPhone:24,bottomPhone:36},z={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},L={name:"Section Header",on:!1,boxProps:e=>({...p,direction:"column",gap:0,...u(e,S)}),box:[...d,"fullWidth","pageWidth",...P(S)],parts:[{kind:"group",name:"Header",props:{...o,direction:"row",align:"end",justify:"between",gap:40,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:24,sectionPaddingBottomPhone:20},parts:[{kind:"group",name:"Title",props:{...o,direction:"row",align:"end",gap:40,share:"content"},parts:[{kind:"group",name:"Number",props:{...o,align:"start",gap:12},parts:[{kind:"image",key:"logoSrc",alt:"logoAlt",props:{aspect:"auto",contained:!1}},r("num")]},{kind:"text",key:"title",role:"heading",props:i,style:{lineHeight:.95,letterSpacing:-.025}}]},{kind:"group",name:"Words",props:{...o,align:"end",gap:12},parts:[{kind:"text",key:"description",props:{...g,align:"right"},style:{role:"heading",size:14,lineHeight:1.5,width:340}},{kind:"button",key:"linkText",href:"linkHref",variant:"ghost",props:{...c,align:"right",...z}}]}]}],site:m("title"),drop:{...s,...h,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (JJ's export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},M={name:"Lead Text",on:!1,boxProps:e=>({...p,direction:"column",gap:40,sectionBorder:{bottom:1},...a(e,"ParagraphsA")}),box:[...d,...k("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...o,direction:"row",justify:"between",gap:60,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:40},parts:[r("eyebrow",{color:"labels",letterSpacing:.24}),{kind:"group",name:"Stats",props:{...o,align:"end"},parts:[{kind:"list",key:"stats",name:"Stat",props:{...o,direction:"row",share:"content",justify:"end",gap:8},parts:[r("value",{color:"text",letterSpacing:.18,lineHeight:1.8}),r("label",{color:"labels",letterSpacing:.18,lineHeight:1.8})]}]}]},{kind:"group",name:"Words",props:{...o,direction:"row",align:"end",gap:60,share:"bigLeft"},parts:[{kind:"text",key:"lead",props:i,style:{role:"heading3",size:22,sizePhone:20,lineHeight:1.45,letterSpacing:-.005,width:780,paragraphSpacing:0}},{kind:"group",name:"Founders",props:{...o,gap:8},parts:[{kind:"group",name:"Note",props:{...o,gap:6},parts:[{kind:"text",key:"foundersHeading",props:i,style:{role:"heading",size:18,sizePhone:16,weight:500,letterSpacing:-.01,lineHeight:1.7}},{kind:"text",key:"foundersBody",props:g,style:{role:"heading",size:14,sizePhone:12,lineHeight:1.7}}]},r("attribution",{letterSpacing:.24,lineHeight:1.7})]}]}],drop:{...s}},B={top:24,bottom:24,topPhone:24,bottomPhone:24},x={schema:"xtreme_mudder",site:"xtreme-mudder"},X="#F2F2EF",F={kind:"add-theme-preset",copyOf:0,set:{background:X},reason:"Banner card with no picture"},T=e=>e.site?.schema===x.schema&&e.site.site===x.site,_=e=>typeof e.imageSrc!="string"||!e.imageSrc;function J(e,t){if(!_(e)||!T(t))return{};const n=t.site?.themePresets,l=t.site?.cardShadow,y=typeof l=="string"&&l!==""&&l!=="none"?l:void 0;return{...typeof n=="number"?{sectionAccent:n}:{},...y?{shadow:y}:{}}}const G={name:"Banner",on:!1,boxProps:e=>({...p,direction:"column",gap:0,...u(e,B)}),box:[...d,"contained",...P(B)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:(e,t)=>({...o,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24,...J(e,t)}),box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(A(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...o,gap:20},parts:[r("eyebrow"),{kind:"text",key:"title",role:"heading",props:i,style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none",width:680}},{kind:"text",key:"body",props:g,style:{size:16,lineHeight:1.6,width:680}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:c}]}],site:(e,t)=>_(e.props)&&T(t)?[F]:[],drop:{...s,...h}},K={Prose:I,TitleWithButtons:C,SectionHeader:L,ParagraphsA:M,Banner:G};function Q(){O(K)}export{K as GENERAL_SECTION_TO_BOX,x as XM_SITE,Q as registerGeneralSectionRows};
1
+ import{hasWords as f,headParts as x,registerSectionToBox as d}from"../../../sections/section-to-box.js";import{BUTTON as p,DIM as s,DROP_COMMON as i,DROP_SIDE_PADDING as l,INNER_BOX as t,SAME_KEYS as r,SECTION_BOX as a,TEXT as o,headingCaseOf as g,innerPad as y,innerPadKeys as b,smallText as n,wrapperPad as h,wrapperPadKeys as c}from"./section-to-box-row-parts.js";import{finiteNumber as B}from"../../../../../format/lib/finite-number.js";import{STATS_SECTION_TO_BOX as T}from"./section-to-box-rows-stats.js";import{LOGOS_SECTION_TO_BOX as O}from"./section-to-box-rows-logos.js";const u={top:72,bottom:72,topPhone:72,bottomPhone:72},[H,N]=x("Prose"),_={name:"Editorial Text",on:!1,boxProps:e=>({...a,direction:"column",gap:28,sectionBorder:{top:1},...h(e,u)}),box:[["topBorder","sectionBorder",e=>e===!1?void 0:{top:1}],...r,...c(u)],parts:[{kind:"group",name:"Heading",props:{...t,gap:16},parts:[{...H,props:o},{...N,props:o,style:{textStyle:"heading-3",lineHeight:1,letterSpacing:-.02}}]},{kind:"text",key:"body",props:s,style:{textStyle:"body-1",lineHeight:1.7,width:680,paragraphSpacing:18},was:{size:16}}],site:g("title"),drop:{...i,...l,headPlacement:"needs a row per head placement: an own-box Prose draws no head (its words sit in a Section Header above it), the row always draws the head. 0 of 123 live nodes store it (JJ's export, 2026-10-24)"}},E={buttonPaddingTop:20,buttonPaddingBottom:20,buttonPaddingLeft:28,buttonPaddingRight:28},k=(e,S)=>({kind:"list",key:"buttons",name:"Button",flat:!0,when:e,parts:[{kind:"button",key:"label",href:"href",variant:{key:"variant",map:{primary:"primary",outline:"ghost"},fallback:"ghost"},style:{letterSpacing:.3},props:{...p,...E,...S}}]}),m=e=>f(e.title),v={name:"Call-to-Action Heading",on:!1,boxProps:e=>({...a,direction:"row",align:"center",justify:m(e)?"between":"end",gap:60,share:"content",sectionBorder:{bottom:1},...y(e,"TitleWithButtons")}),box:[...r,...b("TitleWithButtons")],parts:[{kind:"group",name:"Title",props:t,parts:[{kind:"text",key:"title",role:"heading",props:o,style:{textStyle:"heading-1",lineHeight:.94,letterSpacing:-.035,width:1e3}}]},{kind:"group",name:"Buttons",props:{...t,gap:14},parts:[k(m,{widthFit:"fill",iconPosition:"end"}),k(e=>!m(e),{})]}],site:g("title"),drop:{...i,buttonsAlign:"moves the buttons only when there is no heading (4 of 128 live nodes), where the Box puts them at the end. 0 of 128 live nodes store it (JJ's export, 2026-10-24)"}},w={top:40,bottom:64,topPhone:24,bottomPhone:36},A={buttonFillOpacity:0,buttonBorder:{width:0},buttonPaddingTop:0,buttonPaddingRight:0,buttonPaddingBottom:0,buttonPaddingLeft:0},W={name:"Section Header",on:!1,boxProps:e=>({...a,direction:"column",gap:0,...h(e,w)}),box:[...r,"fullWidth","pageWidth",...c(w)],parts:[{kind:"group",name:"Header",props:{...t,direction:"row",align:"end",justify:"between",gap:40,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:24,sectionPaddingBottomPhone:20},parts:[{kind:"group",name:"Title",props:{...t,direction:"row",align:"end",gap:40,share:"content"},parts:[{kind:"group",name:"Number",props:{...t,align:"start",gap:12},parts:[{kind:"image",key:"logoSrc",alt:"logoAlt",props:{aspect:"auto",contained:!1}},n("num")]},{kind:"text",key:"title",role:"heading",props:o,style:{lineHeight:.95,letterSpacing:-.025}}]},{kind:"group",name:"Words",props:{...t,align:"end",gap:12},parts:[{kind:"text",key:"description",props:{...s,align:"right"},style:{textStyle:"body-5",lineHeight:1.5,width:340},was:{size:14}},{kind:"button",key:"linkText",href:"linkHref",variant:"ghost",props:{...p,align:"right",...A},style:{textStyle:"body-5",color:"labels"}}]}]}],site:g("title"),drop:{...i,...l,headStyle:"needs a row per head look: the row draws the standard look; the editorial, simple, statement, natural and essay looks are other layouts. 0 of 69 live nodes store it (JJ's export, 2026-10-24)",eyebrowLook:"read only by the simple, statement, natural and essay looks, which this row does not draw. 0 of 69 live nodes store it",rowGap:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",descriptionSize:"read only by the natural look, which this row does not draw. 0 of 69 live nodes store it",numStyle:"Solid (the default; 4 of 69 live nodes store it) IS the eyebrow Text the row draws; Outlined (0 live) needs an outlined-number text look"}},I={name:"Lead Text",on:!1,boxProps:e=>({...a,direction:"column",gap:40,sectionBorder:{bottom:1},...y(e,"ParagraphsA")}),box:[...r,...b("ParagraphsA")],parts:[{kind:"group",name:"Numbers",props:{...t,direction:"row",justify:"between",gap:60,share:"content",sectionBorder:{bottom:1},sectionPaddingBottom:40},parts:[n("eyebrow",{color:"labels",letterSpacing:.24}),{kind:"group",name:"Stats",props:{...t,align:"end"},parts:[{kind:"list",key:"stats",name:"Stat",props:{...t,direction:"row",share:"content",justify:"end",gap:8},parts:[n("value",{color:"text",letterSpacing:.18,lineHeight:1.8}),n("label",{color:"labels",letterSpacing:.18,lineHeight:1.8})]}]}]},{kind:"group",name:"Words",props:{...t,direction:"row",align:"end",gap:60,share:"bigLeft"},parts:[{kind:"text",key:"lead",props:o,style:{textStyle:"body-1",lineHeight:1.45,letterSpacing:-.005,width:780,paragraphSpacing:0},was:{size:22,sizePhone:20}},{kind:"group",name:"Founders",props:{...t,gap:8},parts:[{kind:"group",name:"Note",props:{...t,gap:6},parts:[{kind:"text",key:"foundersHeading",props:o,style:{textStyle:"body-1",weight:500,letterSpacing:-.01,lineHeight:1.7},was:{size:18,sizePhone:16}},{kind:"text",key:"foundersBody",props:s,style:{textStyle:"body-5",lineHeight:1.7},was:{size:14,sizePhone:12}}]},n("attribution",{letterSpacing:.24,lineHeight:1.7})]}]}],drop:{...i}},P={top:24,bottom:24,topPhone:24,bottomPhone:24},R={name:"Banner",on:!1,boxProps:e=>({...a,direction:"column",gap:0,...h(e,P)}),box:[...r,"contained",...c(P)],parts:[{kind:"group",name:"Card",keepEmpty:!0,props:{...t,gap:28,placement:"top-left",darken:60,darkenStyle:"even",sectionBorder:{width:1},sectionPaddingTop:64,sectionPaddingBottom:64,sectionPaddingTopPhone:40,sectionPaddingBottomPhone:40,sectionPaddingLeft:40,sectionPaddingRight:40,sectionPaddingLeftPhone:24,sectionPaddingRightPhone:24},box:[["imageSrc","bgImage"],["overlay","darken",e=>Math.min(Math.max(B(e)??60,0),100)]],parts:[{kind:"group",name:"Words",props:{...t,gap:20},parts:[n("eyebrow"),{kind:"text",key:"title",role:"heading",props:o,style:{weight:500,lineHeight:1.05,letterSpacing:-.03,case:"none",width:680}},{kind:"text",key:"body",props:s,style:{textStyle:"body-1",lineHeight:1.6,width:680},was:{size:16}}]},{kind:"button",key:"ctaText",href:"ctaHref",variant:"primary",props:p}]}],drop:{...i,...l}},z={Prose:_,TitleWithButtons:v,SectionHeader:W,ParagraphsA:I,Banner:R};function X(){d(z),d(T),d(O)}export{z as GENERAL_SECTION_TO_BOX,X as registerGeneralSectionRows};
@@ -12,8 +12,8 @@ export declare const VIDEO_FILE_LABEL = "Video file";
12
12
  export declare const VIDEO_FILE_PROMPT = "Upload a video file";
13
13
  export declare function forMediaType(type: "image" | "video", fallback: "image" | "video"): {
14
14
  readonly field: "mediaType";
15
- readonly is: "image" | "video";
16
- readonly default: "image" | "video";
15
+ readonly is: "video" | "image";
16
+ readonly default: "video" | "image";
17
17
  };
18
18
  export declare const HERO_MEDIA_PART_TYPES: ReadonlySet<string>;
19
19
  export declare function inPart<F extends object>(part: HeroMediaPart, field: F): F;
@@ -1 +1 @@
1
- import{TEXT_FIELD_MARKER as x}from"efficient-easel/draw";import{partText as s,partValueWithText as y,typeInPlaceKind as d}from"./part-text.js";import{decodePartKey as b,encodePartKey as j}from"../../../format/lib/document/part-key.js";function p(t){if(!(!t||typeof t!="object"))return t[x]}function l(t){if(!t||typeof t!="object")return null;const r=t.arrayFields;return r&&typeof r=="object"?r:null}function R(t,r){if(!Array.isArray(r))return[];const e=p(t),i=[];if(e?.control==="textList"){const n=e.itemKey??"text";return r.forEach((c,a)=>{const u=c?.[n];typeof u=="string"&&u&&i.push({row:{index:a,rowKey:n},text:u})}),i}const o=l(t);return o?(r.forEach((n,c)=>{for(const[a,u]of Object.entries(o)){if(!d(u))continue;const f=s(n?.[a])||p(u)?.placeholder||"";f&&i.push({row:{index:c,rowKey:a},text:f})}}),i):[]}function h(t,r){if(Array.isArray(t))return t[r.index]?.[r.rowKey]}function w(t,r,e,i){const o=t[r];return!Array.isArray(o)||e.index<0||e.index>=o.length?null:{...t,[r]:o.map((n,c)=>c===e.index?{...n,[e.rowKey]:i}:n)}}function T(t,r,e,i,o){const n=h(t[r],e);return s(n)===o?null:w(t,r,e,y(i,n,o))}function E(t,r){return r?`${t} · row ${r.index+1}`:t}export{l as arrayFieldsOf,b as decodePartKey,j as encodePartKey,T as partPropsWithRowText,w as partPropsWithRowValue,E as partRowHeadLabel,R as partRowTexts,h as partRowValue,p as textMeta};
1
+ import{TEXT_FIELD_MARKER as x}from"efficient-easel/draw";import{partText as p,partValueWithText as y,typeInPlaceKind as d}from"./part-text.js";import{nonEmptyString as l}from"../../../format/lib/non-empty-string.js";import{decodePartKey as L,encodePartKey as W}from"../../../format/lib/document/part-key.js";function s(t){if(!(!t||typeof t!="object"))return t[x]}function h(t){if(!t||typeof t!="object")return null;const r=t.arrayFields;return r&&typeof r=="object"?r:null}function T(t,r){if(!Array.isArray(r))return[];const e=s(t),i=[];if(e?.control==="textList"){const n=e.itemKey??"text";return r.forEach((u,a)=>{const c=l(u?.[n]);c&&i.push({row:{index:a,rowKey:n},text:c})}),i}const o=h(t);return o?(r.forEach((n,u)=>{for(const[a,c]of Object.entries(o)){if(!d(c))continue;const f=p(n?.[a])||s(c)?.placeholder||"";f&&i.push({row:{index:u,rowKey:a},text:f})}}),i):[]}function m(t,r){if(Array.isArray(t))return t[r.index]?.[r.rowKey]}function w(t,r,e,i){const o=t[r];return!Array.isArray(o)||e.index<0||e.index>=o.length?null:{...t,[r]:o.map((n,u)=>u===e.index?{...n,[e.rowKey]:i}:n)}}function F(t,r,e,i,o){const n=m(t[r],e);return p(n)===o?null:w(t,r,e,y(i,n,o))}function P(t,r){return r?`${t} · row ${r.index+1}`:t}export{h as arrayFieldsOf,L as decodePartKey,W as encodePartKey,F as partPropsWithRowText,w as partPropsWithRowValue,P as partRowHeadLabel,T as partRowTexts,m as partRowValue,s as textMeta};
@@ -1 +1 @@
1
- import{jsx as s,Fragment as i,jsxs as t}from"react/jsx-runtime";import{slugifyAnchor as a}from"../../../../format/lib/links/page-link-rules.js";function c({anchor:n}){const e=a(typeof n=="string"?n:"");return e?s("span",{id:e,className:"sf-section-anchor","aria-hidden":"true"}):null}const f={name:"sectionAnchor",applies:(n,e,r)=>e.isSection(n)&&!!r&&typeof r.render=="function",panel(n,e,r){const o=r.anchorFields;n.fields={...n.fields,...o()}},draw(n){n.defaultProps={...n.defaultProps,anchor:""};const e=n.render;n.render=r=>t(i,{children:[s(c,{anchor:r.anchor}),e(r)]})}};export{f as sectionAnchor};
1
+ import{jsx as s,Fragment as o,jsxs as t}from"react/jsx-runtime";import{slugify as a}from"efficient-shell/format";function c({anchor:n}){const e=a(typeof n=="string"?n:"");return e?s("span",{id:e,className:"sf-section-anchor","aria-hidden":"true"}):null}const f={name:"sectionAnchor",applies:(n,e,r)=>e.isSection(n)&&!!r&&typeof r.render=="function",panel(n,e,r){const i=r.anchorFields;n.fields={...n.fields,...i()}},draw(n){n.defaultProps={...n.defaultProps,anchor:""};const e=n.render;n.render=r=>t(o,{children:[s(c,{anchor:r.anchor}),e(r)]})}};export{f as sectionAnchor};
@@ -5,5 +5,6 @@ export declare const SECTION_PAD_INNER_DEFAULTS: Record<string, {
5
5
  }>;
6
6
  export declare const SECTION_PAD_INNER: Set<string>;
7
7
  export declare const PAD_ON_ROOT: ReadonlySet<string>;
8
+ export declare const PADS_ITS_OWN_SPACE: ReadonlySet<string>;
8
9
  export declare const sectionPadding: BlockPass;
9
10
  export declare const blockPadding: BlockPass;
@@ -1 +1 @@
1
- import{jsx as f}from"react/jsx-runtime";import{isBackgroundBox as u}from"../../../../format/lib/content/box-background.js";import{resolveSectionPadding as h,sectionPadAttrs as r}from"../../../../format/lib/content/section-padding.js";const c={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120},DetailRows:{top:100,bottom:100}},P=new Set(Object.keys(c)),l=new Set(["Flex","Text","Heading"]),T=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),g=new Set(["ProductGrid"]);function a(t,n,o=!1){const d=t.render;t.render=e=>{if(n?.(e))return d(e);const i=o?r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone,e.sectionPaddingLeft,e.sectionPaddingRight,e.sectionPaddingLeftPhone,e.sectionPaddingRightPhone):r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone),s=d(e);return i?f("div",{className:i.className,style:i.style,children:s}):s}}const x={name:"sectionPadding",applies:(t,n,o)=>n.isSection(t)&&!T.has(t)&&!!o&&typeof o.render=="function",panel(t,n,o){P.has(n)||g.has(n)||(t.fields={...t.fields,...o.sidesPaddingFields()})},draw(t,n){if(P.has(n)){const o=t.render,d=c[n];t.render=e=>{const i=h(e,d);return o({...e,padTop:i.top,padBottom:i.bottom})};return}if(g.has(n)){a(t);return}l.has(n)||a(t,n==="Flex"?o=>u(o.bgImage):void 0,!0)}},_=["Heading","Text"],m=["LogoBlock"],A={name:"blockPadding",applies:(t,n,o)=>(_.includes(t)||m.includes(t))&&!!o&&typeof o.render=="function",panel(t,n,o){t.fields={...t.fields,...o.sidesPaddingFields()}},draw(t,n){l.has(n)||a(t,void 0,!0)}};export{l as PAD_ON_ROOT,P as SECTION_PAD_INNER,c as SECTION_PAD_INNER_DEFAULTS,A as blockPadding,x as sectionPadding};
1
+ import{jsx as f}from"react/jsx-runtime";import{isBackgroundBox as _}from"../../../../format/lib/content/box-background.js";import{resolveSectionPadding as h,sectionPadAttrs as r}from"../../../../format/lib/content/section-padding.js";const P={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120},DetailRows:{top:100,bottom:100}},c=new Set(Object.keys(P)),l=new Set(["Flex","Text","Heading"]),u=new Set(["Divider"]),T=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),g=new Set(["ProductGrid"]);function a(t,n,o=!1){const d=t.render;t.render=e=>{if(n?.(e))return d(e);const i=o?r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone,e.sectionPaddingLeft,e.sectionPaddingRight,e.sectionPaddingLeftPhone,e.sectionPaddingRightPhone):r(e.sectionPaddingTop,e.sectionPaddingBottom,e.sectionPaddingTopPhone,e.sectionPaddingBottomPhone),s=d(e);return i?f("div",{className:i.className,style:i.style,children:s}):s}}const A={name:"sectionPadding",applies:(t,n,o)=>n.isSection(t)&&!T.has(t)&&!!o&&typeof o.render=="function",panel(t,n,o){c.has(n)||g.has(n)||(t.fields={...t.fields,...o.sidesPaddingFields()})},draw(t,n){if(c.has(n)){const o=t.render,d=P[n];t.render=e=>{const i=h(e,d);return o({...e,padTop:i.top,padBottom:i.bottom})};return}if(g.has(n)){a(t);return}l.has(n)||u.has(n)||a(t,n==="Flex"?o=>_(o.bgImage):void 0,!0)}},S=["Heading","Text"],m=["LogoBlock"],D={name:"blockPadding",applies:(t,n,o)=>(S.includes(t)||m.includes(t))&&!!o&&typeof o.render=="function",panel(t,n,o){t.fields={...t.fields,...o.sidesPaddingFields()}},draw(t,n){l.has(n)||a(t,void 0,!0)}};export{u as PADS_ITS_OWN_SPACE,l as PAD_ON_ROOT,c as SECTION_PAD_INNER,P as SECTION_PAD_INNER_DEFAULTS,D as blockPadding,A as sectionPadding};