efficient-web-builder 40.1.1 → 41.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1297) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +27 -6
  3. package/dist/editor/components/ApplyCornersToSiblings.d.ts +1 -1
  4. package/dist/editor/components/ApplyCornersToSiblings.js +1 -1
  5. package/dist/editor/components/BlockGapField.js +1 -1
  6. package/dist/editor/components/CanvasPartsBridge.js +1 -1
  7. package/dist/editor/components/ChatSettingsPanel.js +1 -1
  8. package/dist/editor/components/CornersField.js +1 -1
  9. package/dist/editor/components/DuplicateToPageMenu.js +1 -1
  10. package/dist/editor/components/FieldGlyph.d.ts +1 -1
  11. package/dist/editor/components/HeroPartPanel.d.ts +1 -1
  12. package/dist/editor/components/HeroPartPanel.js +1 -1
  13. package/dist/editor/components/LocationsGroupedField.js +1 -1
  14. package/dist/editor/components/MediaUploadField.js +1 -1
  15. package/dist/editor/components/PartGlyphs.d.ts +1 -8
  16. package/dist/editor/components/PartGlyphs.js +1 -1
  17. package/dist/editor/components/PartInkControl.d.ts +1 -1
  18. package/dist/editor/components/PartInkControl.js +1 -1
  19. package/dist/editor/components/PartSettingsPanel.d.ts +2 -2
  20. package/dist/editor/components/PartSettingsPanel.js +1 -1
  21. package/dist/editor/components/PartTextBox.d.ts +1 -1
  22. package/dist/editor/components/PartTextBox.js +1 -1
  23. package/dist/editor/components/PreviewPartAnchors.d.ts +2 -2
  24. package/dist/editor/components/PreviewPartAnchors.js +1 -1
  25. package/dist/editor/components/PreviewPartStyleContext.d.ts +1 -1
  26. package/dist/editor/components/PreviewThemeFrame.d.ts +1 -1
  27. package/dist/editor/components/PreviewThemeFrame.js +13 -9
  28. package/dist/editor/components/SectionEditor.d.ts +3 -0
  29. package/dist/editor/components/SectionEditor.js +1 -1
  30. package/dist/editor/components/SectionTextEntries.d.ts +1 -1
  31. package/dist/editor/components/SectionTextPartBridge.js +1 -1
  32. package/dist/editor/components/SectionWidthRows.js +1 -1
  33. package/dist/editor/components/ShadowColourField.js +1 -1
  34. package/dist/editor/components/SideSpaceField.js +1 -1
  35. package/dist/editor/components/SiteFields.d.ts +1 -1
  36. package/dist/editor/components/SiteFields.js +1 -1
  37. package/dist/editor/components/SlotChildRows.js +1 -1
  38. package/dist/editor/components/StandaloneSectionEditor.js +1 -1
  39. package/dist/editor/components/StorefrontEditor.js +1 -1
  40. package/dist/editor/components/SwitchToBoxFooter.js +1 -1
  41. package/dist/editor/components/TemplateFieldRow.js +1 -1
  42. package/dist/editor/components/ThemeCard.js +1 -1
  43. package/dist/editor/components/ThemeColourField.js +1 -1
  44. package/dist/editor/components/ThemeField.js +1 -1
  45. package/dist/editor/components/TickerSettingsPanel.js +1 -1
  46. package/dist/editor/components/WebsiteScreenParts.js +1 -1
  47. package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
  48. package/dist/editor/components/storefront-editor.css +23 -23
  49. package/dist/editor/components/useLocationsTree.js +1 -1
  50. package/dist/editor/components/usePinnedChromeSeed.js +1 -1
  51. package/dist/editor/components/useSectionToBoxPass.d.ts +2 -0
  52. package/dist/editor/components/useSectionToBoxPass.js +1 -0
  53. package/dist/editor/lib/document/ColourControl.d.ts +33 -0
  54. package/dist/editor/lib/document/ColourControl.js +1 -0
  55. package/dist/editor/lib/document/MarkupToolbar.d.ts +13 -0
  56. package/dist/editor/lib/document/MarkupToolbar.js +1 -0
  57. package/dist/editor/lib/document/add-palette.d.ts +12 -0
  58. package/dist/editor/lib/document/add-palette.js +1 -0
  59. package/dist/editor/lib/document/add-target.d.ts +2 -0
  60. package/dist/editor/lib/document/add-target.js +1 -0
  61. package/dist/editor/lib/document/apply-card-corners.d.ts +21 -0
  62. package/dist/editor/lib/document/apply-card-corners.js +1 -0
  63. package/dist/editor/lib/document/block-offer.d.ts +10 -0
  64. package/dist/editor/lib/document/block-offer.js +1 -0
  65. package/dist/editor/lib/document/block-source-fields.d.ts +7 -0
  66. package/dist/editor/lib/document/block-source-fields.js +1 -0
  67. package/dist/editor/lib/document/blocks/general/Banner/fields.d.ts +2 -0
  68. package/dist/editor/lib/document/blocks/general/Banner/fields.js +1 -0
  69. package/dist/editor/lib/document/blocks/general/Breadcrumb/fields.d.ts +2 -0
  70. package/dist/editor/lib/document/blocks/general/Breadcrumb/fields.js +1 -0
  71. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.d.ts +2 -0
  72. package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -0
  73. package/dist/editor/lib/document/blocks/general/Cards/fields.d.ts +2 -0
  74. package/dist/editor/lib/document/blocks/general/Cards/fields.js +1 -0
  75. package/dist/editor/lib/document/blocks/general/CategoryBar/fields.d.ts +2 -0
  76. package/dist/editor/lib/document/blocks/general/CategoryBar/fields.js +1 -0
  77. package/dist/editor/lib/document/blocks/general/Chart/fields.d.ts +2 -0
  78. package/dist/editor/lib/document/blocks/general/Chart/fields.js +1 -0
  79. package/dist/editor/lib/document/blocks/general/ContactLocations/fields.d.ts +2 -0
  80. package/dist/editor/lib/document/blocks/general/ContactLocations/fields.js +1 -0
  81. package/dist/editor/lib/document/blocks/general/Countdown/fields.d.ts +2 -0
  82. package/dist/editor/lib/document/blocks/general/Countdown/fields.js +1 -0
  83. package/dist/editor/lib/document/blocks/general/Divider/fields.d.ts +2 -0
  84. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -0
  85. package/dist/editor/lib/document/blocks/general/DocBody/fields.d.ts +2 -0
  86. package/dist/editor/lib/document/blocks/general/DocBody/fields.js +1 -0
  87. package/dist/editor/lib/document/blocks/general/DocMasthead/fields.d.ts +2 -0
  88. package/dist/editor/lib/document/blocks/general/DocMasthead/fields.js +1 -0
  89. package/dist/editor/lib/document/blocks/general/DocMetaCards/fields.d.ts +2 -0
  90. package/dist/editor/lib/document/blocks/general/DocMetaCards/fields.js +1 -0
  91. package/dist/editor/lib/document/blocks/general/DocTabs/fields.d.ts +2 -0
  92. package/dist/editor/lib/document/blocks/general/DocTabs/fields.js +1 -0
  93. package/dist/editor/lib/document/blocks/general/Eyebrow/fields.d.ts +2 -0
  94. package/dist/editor/lib/document/blocks/general/Eyebrow/fields.js +1 -0
  95. package/dist/editor/lib/document/blocks/general/FAQ/fields.d.ts +2 -0
  96. package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -0
  97. package/dist/editor/lib/document/blocks/general/FeaturedCover/fields.d.ts +2 -0
  98. package/dist/editor/lib/document/blocks/general/FeaturedCover/fields.js +1 -0
  99. package/dist/editor/lib/document/blocks/general/Flex/fields.d.ts +2 -0
  100. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -0
  101. package/dist/editor/lib/document/blocks/general/Footprint/fields.d.ts +3 -0
  102. package/dist/editor/lib/document/blocks/general/Footprint/fields.js +1 -0
  103. package/dist/editor/lib/document/blocks/general/Grid/fields.d.ts +2 -0
  104. package/dist/editor/lib/document/blocks/general/Grid/fields.js +1 -0
  105. package/dist/editor/lib/document/blocks/general/Heading/fields.d.ts +2 -0
  106. package/dist/editor/lib/document/blocks/general/Heading/fields.js +1 -0
  107. package/dist/editor/lib/document/blocks/general/Hero/fields.d.ts +2 -0
  108. package/dist/editor/lib/document/blocks/general/Hero/fields.js +1 -0
  109. package/dist/editor/lib/document/blocks/general/HeroGroup/fields.d.ts +2 -0
  110. package/dist/editor/lib/document/blocks/general/HeroGroup/fields.js +1 -0
  111. package/dist/editor/lib/document/blocks/general/HeroSingle/fields.d.ts +2 -0
  112. package/dist/editor/lib/document/blocks/general/HeroSingle/fields.js +1 -0
  113. package/dist/editor/lib/document/blocks/general/HeroSlide/fields.d.ts +2 -0
  114. package/dist/editor/lib/document/blocks/general/HeroSlide/fields.js +1 -0
  115. package/dist/editor/lib/document/blocks/general/ImageBlock/fields.d.ts +2 -0
  116. package/dist/editor/lib/document/blocks/general/ImageBlock/fields.js +1 -0
  117. package/dist/editor/lib/document/blocks/general/Integrations/fields.d.ts +2 -0
  118. package/dist/editor/lib/document/blocks/general/Integrations/fields.js +2 -0
  119. package/dist/editor/lib/document/blocks/general/IntroBleed/fields.d.ts +2 -0
  120. package/dist/editor/lib/document/blocks/general/IntroBleed/fields.js +1 -0
  121. package/dist/editor/lib/document/blocks/general/KeyFeatures/fields.d.ts +2 -0
  122. package/dist/editor/lib/document/blocks/general/KeyFeatures/fields.js +1 -0
  123. package/dist/editor/lib/document/blocks/general/LogoBlock/fields.d.ts +2 -0
  124. package/dist/editor/lib/document/blocks/general/LogoBlock/fields.js +1 -0
  125. package/dist/editor/lib/document/blocks/general/Logos/fields.d.ts +2 -0
  126. package/dist/editor/lib/document/blocks/general/Logos/fields.js +1 -0
  127. package/dist/editor/lib/document/blocks/general/LongRead/fields.d.ts +2 -0
  128. package/dist/editor/lib/document/blocks/general/LongRead/fields.js +1 -0
  129. package/dist/editor/lib/document/blocks/general/Manifesto/fields.d.ts +2 -0
  130. package/dist/editor/lib/document/blocks/general/Manifesto/fields.js +2 -0
  131. package/dist/editor/lib/document/blocks/general/Masthead/fields.d.ts +2 -0
  132. package/dist/editor/lib/document/blocks/general/Masthead/fields.js +1 -0
  133. package/dist/editor/lib/document/blocks/general/Mockup/fields.d.ts +2 -0
  134. package/dist/editor/lib/document/blocks/general/Mockup/fields.js +2 -0
  135. package/dist/editor/lib/document/blocks/general/OrderSummary/fields.d.ts +2 -0
  136. package/dist/editor/lib/document/blocks/general/OrderSummary/fields.js +1 -0
  137. package/dist/editor/lib/document/blocks/general/ParagraphsA/fields.d.ts +2 -0
  138. package/dist/editor/lib/document/blocks/general/ParagraphsA/fields.js +1 -0
  139. package/dist/editor/lib/document/blocks/general/PaymentBadges/fields.d.ts +2 -0
  140. package/dist/editor/lib/document/blocks/general/PaymentBadges/fields.js +1 -0
  141. package/dist/editor/lib/document/blocks/general/PostCard/fields.d.ts +2 -0
  142. package/dist/editor/lib/document/blocks/general/PostCard/fields.js +1 -0
  143. package/dist/editor/lib/document/blocks/general/ProcessSteps/fields.d.ts +2 -0
  144. package/dist/editor/lib/document/blocks/general/ProcessSteps/fields.js +1 -0
  145. package/dist/editor/lib/document/blocks/general/Prose/fields.d.ts +2 -0
  146. package/dist/editor/lib/document/blocks/general/Prose/fields.js +1 -0
  147. package/dist/editor/lib/document/blocks/general/SectionHeader/fields.d.ts +2 -0
  148. package/dist/editor/lib/document/blocks/general/SectionHeader/fields.js +1 -0
  149. package/dist/editor/lib/document/blocks/general/Series/fields.d.ts +2 -0
  150. package/dist/editor/lib/document/blocks/general/Series/fields.js +1 -0
  151. package/dist/editor/lib/document/blocks/general/SpecStrip/fields.d.ts +2 -0
  152. package/dist/editor/lib/document/blocks/general/SpecStrip/fields.js +1 -0
  153. package/dist/editor/lib/document/blocks/general/Split/fields.d.ts +2 -0
  154. package/dist/editor/lib/document/blocks/general/Split/fields.js +1 -0
  155. package/dist/editor/lib/document/blocks/general/Stats/fields.d.ts +2 -0
  156. package/dist/editor/lib/document/blocks/general/Stats/fields.js +1 -0
  157. package/dist/editor/lib/document/blocks/general/StatsParagraph/fields.d.ts +2 -0
  158. package/dist/editor/lib/document/blocks/general/StatsParagraph/fields.js +1 -0
  159. package/dist/editor/lib/document/blocks/general/Testimonials/fields.d.ts +2 -0
  160. package/dist/editor/lib/document/blocks/general/Testimonials/fields.js +1 -0
  161. package/dist/editor/lib/document/blocks/general/Text/fields.d.ts +2 -0
  162. package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -0
  163. package/dist/editor/lib/document/blocks/general/Ticker/fields.d.ts +2 -0
  164. package/dist/editor/lib/document/blocks/general/Ticker/fields.js +1 -0
  165. package/dist/editor/lib/document/blocks/general/Timeline/fields.d.ts +2 -0
  166. package/dist/editor/lib/document/blocks/general/Timeline/fields.js +1 -0
  167. package/dist/editor/lib/document/blocks/general/TimelineTrack/fields.d.ts +2 -0
  168. package/dist/editor/lib/document/blocks/general/TimelineTrack/fields.js +1 -0
  169. package/dist/editor/lib/document/blocks/general/TitleWithButtons/fields.d.ts +2 -0
  170. package/dist/editor/lib/document/blocks/general/TitleWithButtons/fields.js +1 -0
  171. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -0
  172. package/dist/editor/lib/document/blocks/general/index.js +1 -0
  173. package/dist/editor/lib/document/blocks/shared-fields.d.ts +15 -0
  174. package/dist/editor/lib/document/blocks/shared-fields.js +1 -0
  175. package/dist/editor/lib/document/build-config.d.ts +3 -0
  176. package/dist/editor/lib/document/build-config.js +1 -0
  177. package/dist/editor/lib/document/canvas-typing.d.ts +30 -0
  178. package/dist/editor/lib/document/canvas-typing.js +1 -0
  179. package/dist/editor/lib/document/card-row-fields.d.ts +12 -0
  180. package/dist/editor/lib/document/card-row-fields.js +1 -0
  181. package/dist/editor/lib/document/controls.d.ts +437 -0
  182. package/dist/editor/lib/document/controls.js +1 -0
  183. package/dist/editor/lib/document/enclosing-section.d.ts +1 -0
  184. package/dist/editor/lib/document/enclosing-section.js +1 -0
  185. package/dist/editor/lib/document/every-page.d.ts +7 -0
  186. package/dist/editor/lib/document/every-page.js +1 -0
  187. package/dist/editor/lib/document/field-groups.d.ts +34 -0
  188. package/dist/editor/lib/document/field-groups.js +1 -0
  189. package/dist/editor/lib/document/footer-blocks.d.ts +10 -0
  190. package/dist/editor/lib/document/footer-blocks.js +1 -0
  191. package/dist/editor/lib/document/general-registry.d.ts +4 -0
  192. package/dist/editor/lib/document/general-registry.js +1 -0
  193. package/dist/editor/lib/document/geocode-resolve.d.ts +14 -0
  194. package/dist/editor/lib/document/geocode-resolve.js +1 -0
  195. package/dist/editor/lib/document/heading-outline.d.ts +7 -0
  196. package/dist/editor/lib/document/heading-outline.js +1 -0
  197. package/dist/editor/lib/document/hidable-rows-drawn.d.ts +21 -0
  198. package/dist/editor/lib/document/hidable-rows-drawn.js +1 -0
  199. package/dist/editor/lib/document/locations-focus.d.ts +21 -0
  200. package/dist/editor/lib/document/locations-focus.js +1 -0
  201. package/dist/editor/lib/document/locked-blocks.d.ts +3 -0
  202. package/dist/editor/lib/document/locked-blocks.js +1 -0
  203. package/dist/editor/lib/document/logo-color-fields.d.ts +11 -0
  204. package/dist/editor/lib/document/logo-color-fields.js +1 -0
  205. package/dist/editor/lib/document/overrides.d.ts +2 -0
  206. package/dist/editor/lib/document/overrides.js +1 -0
  207. package/dist/editor/lib/document/page-root-fields.d.ts +31 -0
  208. package/dist/editor/lib/document/page-root-fields.js +1 -0
  209. package/dist/editor/lib/document/page-root.d.ts +32 -0
  210. package/dist/editor/lib/document/page-root.js +2 -0
  211. package/dist/editor/lib/document/panel-drop-empty-headings.d.ts +3 -0
  212. package/dist/editor/lib/document/panel-drop-empty-headings.js +1 -0
  213. package/dist/editor/lib/document/panel-heading-scope.d.ts +8 -0
  214. package/dist/editor/lib/document/panel-heading-scope.js +1 -0
  215. package/dist/editor/lib/document/part-anchors.d.ts +26 -0
  216. package/dist/editor/lib/document/part-anchors.js +1 -0
  217. package/dist/editor/lib/document/part-row-field.d.ts +2 -0
  218. package/dist/editor/lib/document/part-row-field.js +1 -0
  219. package/dist/editor/lib/document/part-typing.d.ts +11 -0
  220. package/dist/editor/lib/document/part-typing.js +1 -0
  221. package/dist/editor/lib/document/passes/inspector.d.ts +2 -0
  222. package/dist/editor/lib/document/passes/inspector.js +1 -0
  223. package/dist/editor/lib/document/pinned-in-place-seed.d.ts +16 -0
  224. package/dist/editor/lib/document/pinned-in-place-seed.js +1 -0
  225. package/dist/editor/lib/document/registry.d.ts +3 -0
  226. package/dist/editor/lib/document/registry.js +1 -0
  227. package/dist/editor/lib/document/section-text-suppress.d.ts +9 -0
  228. package/dist/editor/lib/document/section-text-suppress.js +1 -0
  229. package/dist/editor/lib/document/section-width-fields.d.ts +2 -0
  230. package/dist/editor/lib/document/section-width-fields.js +1 -0
  231. package/dist/editor/lib/document/show-when-resolve.d.ts +9 -0
  232. package/dist/editor/lib/document/show-when-resolve.js +1 -0
  233. package/dist/editor/lib/document/template-field.d.ts +13 -0
  234. package/dist/editor/lib/document/template-field.js +1 -0
  235. package/dist/editor/lib/document/text-part-shape.d.ts +18 -0
  236. package/dist/editor/lib/document/text-part-shape.js +2 -0
  237. package/dist/editor/lib/document/theme-swatches.d.ts +3 -0
  238. package/dist/editor/lib/document/theme-swatches.js +1 -0
  239. package/dist/editor/lib/editor-blocks.d.ts +1 -1
  240. package/dist/editor/lib/editor-blocks.js +1 -1
  241. package/dist/editor/lib/pinned-chrome-doc.js +1 -1
  242. package/dist/editor/lib/puck/ColourControl.d.ts +1 -33
  243. package/dist/editor/lib/puck/ColourControl.js +1 -1
  244. package/dist/editor/lib/puck/MarkupToolbar.d.ts +2 -13
  245. package/dist/editor/lib/puck/MarkupToolbar.js +1 -1
  246. package/dist/editor/lib/puck/add-palette.d.ts +1 -13
  247. package/dist/editor/lib/puck/add-palette.js +1 -1
  248. package/dist/editor/lib/puck/add-target.d.ts +1 -2
  249. package/dist/editor/lib/puck/add-target.js +1 -1
  250. package/dist/editor/lib/puck/apply-card-corners.d.ts +1 -21
  251. package/dist/editor/lib/puck/apply-card-corners.js +1 -1
  252. package/dist/editor/lib/puck/block-offer.d.ts +1 -10
  253. package/dist/editor/lib/puck/block-offer.js +1 -1
  254. package/dist/editor/lib/puck/block-source-fields.d.ts +1 -7
  255. package/dist/editor/lib/puck/block-source-fields.js +1 -1
  256. package/dist/editor/lib/puck/blocks/general/Banner/fields.d.ts +1 -2
  257. package/dist/editor/lib/puck/blocks/general/Banner/fields.js +1 -1
  258. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.d.ts +1 -2
  259. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.js +1 -1
  260. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.d.ts +1 -2
  261. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.js +1 -1
  262. package/dist/editor/lib/puck/blocks/general/Cards/fields.d.ts +1 -2
  263. package/dist/editor/lib/puck/blocks/general/Cards/fields.js +1 -1
  264. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.d.ts +1 -2
  265. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.js +1 -1
  266. package/dist/editor/lib/puck/blocks/general/Chart/fields.d.ts +1 -2
  267. package/dist/editor/lib/puck/blocks/general/Chart/fields.js +1 -1
  268. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.d.ts +1 -2
  269. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.js +1 -1
  270. package/dist/editor/lib/puck/blocks/general/Countdown/fields.d.ts +1 -2
  271. package/dist/editor/lib/puck/blocks/general/Countdown/fields.js +1 -1
  272. package/dist/editor/lib/puck/blocks/general/Divider/fields.d.ts +1 -2
  273. package/dist/editor/lib/puck/blocks/general/Divider/fields.js +1 -1
  274. package/dist/editor/lib/puck/blocks/general/DocBody/fields.d.ts +1 -2
  275. package/dist/editor/lib/puck/blocks/general/DocBody/fields.js +1 -1
  276. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.d.ts +1 -2
  277. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.js +1 -1
  278. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.d.ts +1 -2
  279. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.js +1 -1
  280. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.d.ts +1 -2
  281. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.js +1 -1
  282. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.d.ts +1 -2
  283. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.js +1 -1
  284. package/dist/editor/lib/puck/blocks/general/FAQ/fields.d.ts +1 -2
  285. package/dist/editor/lib/puck/blocks/general/FAQ/fields.js +1 -1
  286. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.d.ts +1 -2
  287. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.js +1 -1
  288. package/dist/editor/lib/puck/blocks/general/Flex/fields.d.ts +1 -2
  289. package/dist/editor/lib/puck/blocks/general/Flex/fields.js +1 -1
  290. package/dist/editor/lib/puck/blocks/general/Footprint/fields.d.ts +1 -3
  291. package/dist/editor/lib/puck/blocks/general/Footprint/fields.js +1 -1
  292. package/dist/editor/lib/puck/blocks/general/Grid/fields.d.ts +1 -2
  293. package/dist/editor/lib/puck/blocks/general/Grid/fields.js +1 -1
  294. package/dist/editor/lib/puck/blocks/general/Heading/fields.d.ts +1 -2
  295. package/dist/editor/lib/puck/blocks/general/Heading/fields.js +1 -1
  296. package/dist/editor/lib/puck/blocks/general/Hero/fields.d.ts +1 -2
  297. package/dist/editor/lib/puck/blocks/general/Hero/fields.js +1 -1
  298. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.d.ts +1 -2
  299. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.js +1 -1
  300. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.d.ts +1 -2
  301. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.js +1 -1
  302. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.d.ts +1 -2
  303. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.js +1 -1
  304. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.d.ts +1 -2
  305. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.js +1 -1
  306. package/dist/editor/lib/puck/blocks/general/Integrations/fields.d.ts +1 -2
  307. package/dist/editor/lib/puck/blocks/general/Integrations/fields.js +1 -2
  308. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.d.ts +1 -2
  309. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.js +1 -1
  310. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.d.ts +1 -2
  311. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.js +1 -1
  312. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.d.ts +1 -2
  313. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.js +1 -1
  314. package/dist/editor/lib/puck/blocks/general/Logos/fields.d.ts +1 -2
  315. package/dist/editor/lib/puck/blocks/general/Logos/fields.js +1 -1
  316. package/dist/editor/lib/puck/blocks/general/LongRead/fields.d.ts +1 -2
  317. package/dist/editor/lib/puck/blocks/general/LongRead/fields.js +1 -1
  318. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.d.ts +1 -2
  319. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.js +1 -2
  320. package/dist/editor/lib/puck/blocks/general/Masthead/fields.d.ts +1 -2
  321. package/dist/editor/lib/puck/blocks/general/Masthead/fields.js +1 -1
  322. package/dist/editor/lib/puck/blocks/general/Mockup/fields.d.ts +1 -2
  323. package/dist/editor/lib/puck/blocks/general/Mockup/fields.js +1 -2
  324. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.d.ts +1 -2
  325. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.js +1 -1
  326. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.d.ts +1 -2
  327. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.js +1 -1
  328. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.d.ts +1 -2
  329. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.js +1 -1
  330. package/dist/editor/lib/puck/blocks/general/PostCard/fields.d.ts +1 -2
  331. package/dist/editor/lib/puck/blocks/general/PostCard/fields.js +1 -1
  332. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.d.ts +1 -2
  333. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.js +1 -1
  334. package/dist/editor/lib/puck/blocks/general/Prose/fields.d.ts +1 -2
  335. package/dist/editor/lib/puck/blocks/general/Prose/fields.js +1 -1
  336. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.d.ts +1 -2
  337. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.js +1 -1
  338. package/dist/editor/lib/puck/blocks/general/Series/fields.d.ts +1 -2
  339. package/dist/editor/lib/puck/blocks/general/Series/fields.js +1 -1
  340. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.d.ts +1 -2
  341. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.js +1 -1
  342. package/dist/editor/lib/puck/blocks/general/Split/fields.d.ts +1 -2
  343. package/dist/editor/lib/puck/blocks/general/Split/fields.js +1 -1
  344. package/dist/editor/lib/puck/blocks/general/Stats/fields.d.ts +1 -2
  345. package/dist/editor/lib/puck/blocks/general/Stats/fields.js +1 -1
  346. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.d.ts +1 -2
  347. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.js +1 -1
  348. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.d.ts +1 -2
  349. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.js +1 -1
  350. package/dist/editor/lib/puck/blocks/general/Text/fields.d.ts +1 -2
  351. package/dist/editor/lib/puck/blocks/general/Text/fields.js +1 -1
  352. package/dist/editor/lib/puck/blocks/general/Ticker/fields.d.ts +1 -2
  353. package/dist/editor/lib/puck/blocks/general/Ticker/fields.js +1 -1
  354. package/dist/editor/lib/puck/blocks/general/Timeline/fields.d.ts +1 -2
  355. package/dist/editor/lib/puck/blocks/general/Timeline/fields.js +1 -1
  356. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.d.ts +1 -2
  357. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.js +1 -1
  358. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +1 -2
  359. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.js +1 -1
  360. package/dist/editor/lib/puck/blocks/general/index.d.ts +1 -2
  361. package/dist/editor/lib/puck/blocks/general/index.js +1 -1
  362. package/dist/editor/lib/puck/blocks/shared-fields.d.ts +1 -15
  363. package/dist/editor/lib/puck/blocks/shared-fields.js +1 -1
  364. package/dist/editor/lib/puck/build-config.d.ts +1 -3
  365. package/dist/editor/lib/puck/build-config.js +1 -1
  366. package/dist/editor/lib/puck/canvas-typing.d.ts +1 -30
  367. package/dist/editor/lib/puck/canvas-typing.js +1 -1
  368. package/dist/editor/lib/puck/card-row-fields.d.ts +1 -0
  369. package/dist/editor/lib/puck/card-row-fields.js +1 -0
  370. package/dist/editor/lib/puck/controls.d.ts +1 -438
  371. package/dist/editor/lib/puck/controls.js +1 -1
  372. package/dist/editor/lib/puck/enclosing-section.d.ts +1 -1
  373. package/dist/editor/lib/puck/enclosing-section.js +1 -1
  374. package/dist/editor/lib/puck/every-page.d.ts +1 -7
  375. package/dist/editor/lib/puck/every-page.js +1 -1
  376. package/dist/editor/lib/puck/field-groups.d.ts +1 -34
  377. package/dist/editor/lib/puck/field-groups.js +1 -1
  378. package/dist/editor/lib/puck/footer-blocks.d.ts +1 -10
  379. package/dist/editor/lib/puck/footer-blocks.js +1 -1
  380. package/dist/editor/lib/puck/general-registry.d.ts +2 -4
  381. package/dist/editor/lib/puck/general-registry.js +1 -1
  382. package/dist/editor/lib/puck/geocode-resolve.d.ts +1 -14
  383. package/dist/editor/lib/puck/geocode-resolve.js +1 -1
  384. package/dist/editor/lib/puck/heading-outline.d.ts +1 -7
  385. package/dist/editor/lib/puck/heading-outline.js +1 -1
  386. package/dist/editor/lib/puck/hidable-rows-drawn.d.ts +1 -21
  387. package/dist/editor/lib/puck/hidable-rows-drawn.js +1 -1
  388. package/dist/editor/lib/puck/locations-focus.d.ts +1 -22
  389. package/dist/editor/lib/puck/locations-focus.js +1 -1
  390. package/dist/editor/lib/puck/locked-blocks.d.ts +1 -3
  391. package/dist/editor/lib/puck/locked-blocks.js +1 -1
  392. package/dist/editor/lib/puck/logo-color-fields.d.ts +1 -11
  393. package/dist/editor/lib/puck/logo-color-fields.js +1 -1
  394. package/dist/editor/lib/puck/overrides.d.ts +1 -2
  395. package/dist/editor/lib/puck/overrides.js +1 -1
  396. package/dist/editor/lib/puck/page-root-fields.d.ts +1 -31
  397. package/dist/editor/lib/puck/page-root-fields.js +1 -1
  398. package/dist/editor/lib/puck/page-root.d.ts +1 -32
  399. package/dist/editor/lib/puck/page-root.js +1 -2
  400. package/dist/editor/lib/puck/panel-drop-empty-headings.d.ts +1 -3
  401. package/dist/editor/lib/puck/panel-drop-empty-headings.js +1 -1
  402. package/dist/editor/lib/puck/panel-heading-scope.d.ts +1 -8
  403. package/dist/editor/lib/puck/panel-heading-scope.js +1 -1
  404. package/dist/editor/lib/puck/part-anchors.d.ts +1 -25
  405. package/dist/editor/lib/puck/part-anchors.js +1 -1
  406. package/dist/editor/lib/puck/part-row-field.d.ts +1 -2
  407. package/dist/editor/lib/puck/part-row-field.js +1 -1
  408. package/dist/editor/lib/puck/part-typing.d.ts +1 -11
  409. package/dist/editor/lib/puck/part-typing.js +1 -1
  410. package/dist/editor/lib/puck/passes/inspector.d.ts +1 -2
  411. package/dist/editor/lib/puck/passes/inspector.js +1 -1
  412. package/dist/editor/lib/puck/pinned-in-place-seed.d.ts +1 -16
  413. package/dist/editor/lib/puck/pinned-in-place-seed.js +1 -1
  414. package/dist/editor/lib/puck/registry.d.ts +1 -3
  415. package/dist/editor/lib/puck/registry.js +1 -1
  416. package/dist/editor/lib/puck/section-text-suppress.d.ts +1 -9
  417. package/dist/editor/lib/puck/section-text-suppress.js +1 -1
  418. package/dist/editor/lib/puck/section-width-fields.d.ts +1 -2
  419. package/dist/editor/lib/puck/section-width-fields.js +1 -1
  420. package/dist/editor/lib/puck/show-when-resolve.d.ts +1 -9
  421. package/dist/editor/lib/puck/show-when-resolve.js +1 -1
  422. package/dist/editor/lib/puck/template-field.d.ts +1 -13
  423. package/dist/editor/lib/puck/template-field.js +1 -1
  424. package/dist/editor/lib/puck/text-part-shape.d.ts +1 -18
  425. package/dist/editor/lib/puck/text-part-shape.js +1 -2
  426. package/dist/editor/lib/puck/theme-swatches.d.ts +1 -3
  427. package/dist/editor/lib/puck/theme-swatches.js +1 -1
  428. package/dist/editor/lib/sections/new-section-node.js +1 -1
  429. package/dist/editor/lib/sections/section-dry-run.d.ts +81 -0
  430. package/dist/editor/lib/sections/section-dry-run.js +3 -0
  431. package/dist/editor/lib/shared-sections-layer.d.ts +0 -1
  432. package/dist/editor/lib/shared-sections-layer.js +1 -1
  433. package/dist/editor/lib/website-document-addressing.js +1 -1
  434. package/dist/format/lib/content/borders.d.ts +0 -1
  435. package/dist/format/lib/content/borders.js +1 -1
  436. package/dist/format/lib/content/box-layout.d.ts +1 -1
  437. package/dist/format/lib/content/box-layout.js +1 -1
  438. package/dist/format/lib/content/card-image-background.d.ts +0 -1
  439. package/dist/format/lib/content/card-image-background.js +1 -1
  440. package/dist/format/lib/content/card-template.d.ts +34 -0
  441. package/dist/format/lib/content/card-template.js +1 -0
  442. package/dist/format/lib/content/cart-drawer.d.ts +0 -1
  443. package/dist/format/lib/content/cart-drawer.js +1 -1
  444. package/dist/format/lib/content/grid-span.d.ts +0 -2
  445. package/dist/format/lib/content/grid-span.js +1 -1
  446. package/dist/format/lib/content/page-width.d.ts +0 -4
  447. package/dist/format/lib/content/page-width.js +1 -1
  448. package/dist/format/lib/content/product-page.d.ts +0 -1
  449. package/dist/format/lib/content/product-page.js +1 -1
  450. package/dist/format/lib/content/section-width.js +1 -1
  451. package/dist/format/lib/content/subscribe.d.ts +0 -1
  452. package/dist/format/lib/content/subscribe.js +2 -2
  453. package/dist/format/lib/document/blocks/block-types.d.ts +17 -0
  454. package/dist/format/lib/document/blocks/block-types.js +1 -0
  455. package/dist/format/lib/document/blocks/general/Banner/meta.d.ts +2 -0
  456. package/dist/format/lib/document/blocks/general/Banner/meta.js +1 -0
  457. package/dist/format/lib/document/blocks/general/Breadcrumb/meta.d.ts +5 -0
  458. package/dist/format/lib/document/blocks/general/Breadcrumb/meta.js +1 -0
  459. package/dist/format/lib/document/blocks/general/ButtonBlock/meta.d.ts +2 -0
  460. package/dist/format/lib/document/blocks/general/ButtonBlock/meta.js +1 -0
  461. package/dist/format/lib/document/blocks/general/Cards/meta.d.ts +7 -0
  462. package/dist/format/lib/document/blocks/general/Cards/meta.js +1 -0
  463. package/dist/format/lib/document/blocks/general/CategoryBar/meta.d.ts +2 -0
  464. package/dist/format/lib/document/blocks/general/CategoryBar/meta.js +1 -0
  465. package/dist/format/lib/document/blocks/general/Chart/meta.d.ts +6 -0
  466. package/dist/format/lib/document/blocks/general/Chart/meta.js +2 -0
  467. package/dist/format/lib/document/blocks/general/ContactLocations/meta.d.ts +2 -0
  468. package/dist/format/lib/document/blocks/general/ContactLocations/meta.js +1 -0
  469. package/dist/format/lib/document/blocks/general/Countdown/meta.d.ts +6 -0
  470. package/dist/format/lib/document/blocks/general/Countdown/meta.js +1 -0
  471. package/dist/format/lib/document/blocks/general/CustomHTML/fields.d.ts +2 -0
  472. package/dist/format/lib/document/blocks/general/CustomHTML/fields.js +1 -0
  473. package/dist/format/lib/document/blocks/general/CustomHTML/meta.d.ts +2 -0
  474. package/dist/format/lib/document/blocks/general/CustomHTML/meta.js +3 -0
  475. package/dist/format/lib/document/blocks/general/Divider/meta.d.ts +2 -0
  476. package/dist/format/lib/document/blocks/general/Divider/meta.js +1 -0
  477. package/dist/format/lib/document/blocks/general/DocBody/meta.d.ts +5 -0
  478. package/dist/format/lib/document/blocks/general/DocBody/meta.js +1 -0
  479. package/dist/format/lib/document/blocks/general/DocMasthead/meta.d.ts +7 -0
  480. package/dist/format/lib/document/blocks/general/DocMasthead/meta.js +1 -0
  481. package/dist/format/lib/document/blocks/general/DocMetaCards/meta.d.ts +4 -0
  482. package/dist/format/lib/document/blocks/general/DocMetaCards/meta.js +1 -0
  483. package/dist/format/lib/document/blocks/general/DocTabs/meta.d.ts +6 -0
  484. package/dist/format/lib/document/blocks/general/DocTabs/meta.js +1 -0
  485. package/dist/format/lib/document/blocks/general/Eyebrow/meta.d.ts +2 -0
  486. package/dist/format/lib/document/blocks/general/Eyebrow/meta.js +1 -0
  487. package/dist/format/lib/document/blocks/general/FAQ/meta.d.ts +7 -0
  488. package/dist/format/lib/document/blocks/general/FAQ/meta.js +1 -0
  489. package/dist/format/lib/document/blocks/general/FeaturedCover/meta.d.ts +13 -0
  490. package/dist/format/lib/document/blocks/general/FeaturedCover/meta.js +1 -0
  491. package/dist/format/lib/document/blocks/general/Flex/meta.d.ts +7 -0
  492. package/dist/format/lib/document/blocks/general/Flex/meta.js +1 -0
  493. package/dist/format/lib/document/blocks/general/Footprint/meta.d.ts +7 -0
  494. package/dist/format/lib/document/blocks/general/Footprint/meta.js +2 -0
  495. package/dist/format/lib/document/blocks/general/Grid/meta.d.ts +7 -0
  496. package/dist/format/lib/document/blocks/general/Grid/meta.js +1 -0
  497. package/dist/format/lib/document/blocks/general/Heading/meta.d.ts +2 -0
  498. package/dist/format/lib/document/blocks/general/Heading/meta.js +1 -0
  499. package/dist/format/lib/document/blocks/general/Hero/meta.d.ts +7 -0
  500. package/dist/format/lib/document/blocks/general/Hero/meta.js +1 -0
  501. package/dist/format/lib/document/blocks/general/HeroGroup/meta.d.ts +8 -0
  502. package/dist/format/lib/document/blocks/general/HeroGroup/meta.js +1 -0
  503. package/dist/format/lib/document/blocks/general/HeroSingle/meta.d.ts +8 -0
  504. package/dist/format/lib/document/blocks/general/HeroSingle/meta.js +1 -0
  505. package/dist/format/lib/document/blocks/general/HeroSlide/meta.d.ts +8 -0
  506. package/dist/format/lib/document/blocks/general/HeroSlide/meta.js +1 -0
  507. package/dist/format/lib/document/blocks/general/ImageBlock/meta.d.ts +2 -0
  508. package/dist/format/lib/document/blocks/general/ImageBlock/meta.js +1 -0
  509. package/dist/format/lib/document/blocks/general/Integrations/meta.d.ts +2 -0
  510. package/dist/format/lib/document/blocks/general/Integrations/meta.js +1 -0
  511. package/dist/format/lib/document/blocks/general/IntroBleed/meta.d.ts +7 -0
  512. package/dist/format/lib/document/blocks/general/IntroBleed/meta.js +2 -0
  513. package/dist/format/lib/document/blocks/general/KeyFeatures/meta.d.ts +8 -0
  514. package/dist/format/lib/document/blocks/general/KeyFeatures/meta.js +1 -0
  515. package/dist/format/lib/document/blocks/general/LogoBlock/meta.d.ts +2 -0
  516. package/dist/format/lib/document/blocks/general/LogoBlock/meta.js +1 -0
  517. package/dist/format/lib/document/blocks/general/Logos/meta.d.ts +2 -0
  518. package/dist/format/lib/document/blocks/general/Logos/meta.js +1 -0
  519. package/dist/format/lib/document/blocks/general/LongRead/meta.d.ts +19 -0
  520. package/dist/format/lib/document/blocks/general/LongRead/meta.js +1 -0
  521. package/dist/format/lib/document/blocks/general/Manifesto/meta.d.ts +2 -0
  522. package/dist/format/lib/document/blocks/general/Manifesto/meta.js +1 -0
  523. package/dist/format/lib/document/blocks/general/Masthead/meta.d.ts +8 -0
  524. package/dist/format/lib/document/blocks/general/Masthead/meta.js +1 -0
  525. package/dist/format/lib/document/blocks/general/Mockup/meta.d.ts +2 -0
  526. package/dist/format/lib/document/blocks/general/Mockup/meta.js +1 -0
  527. package/dist/format/lib/document/blocks/general/OrderSummary/meta.d.ts +12 -0
  528. package/dist/format/lib/document/blocks/general/OrderSummary/meta.js +1 -0
  529. package/dist/format/lib/document/blocks/general/ParagraphsA/meta.d.ts +9 -0
  530. package/dist/format/lib/document/blocks/general/ParagraphsA/meta.js +1 -0
  531. package/dist/format/lib/document/blocks/general/PaymentBadges/meta.d.ts +5 -0
  532. package/dist/format/lib/document/blocks/general/PaymentBadges/meta.js +1 -0
  533. package/dist/format/lib/document/blocks/general/PostCard/meta.d.ts +9 -0
  534. package/dist/format/lib/document/blocks/general/PostCard/meta.js +1 -0
  535. package/dist/format/lib/document/blocks/general/ProcessSteps/meta.d.ts +13 -0
  536. package/dist/format/lib/document/blocks/general/ProcessSteps/meta.js +1 -0
  537. package/dist/format/lib/document/blocks/general/Prose/meta.d.ts +7 -0
  538. package/dist/format/lib/document/blocks/general/Prose/meta.js +1 -0
  539. package/dist/format/lib/document/blocks/general/SectionHeader/meta.d.ts +2 -0
  540. package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -0
  541. package/dist/format/lib/document/blocks/general/Series/meta.d.ts +8 -0
  542. package/dist/format/lib/document/blocks/general/Series/meta.js +1 -0
  543. package/dist/format/lib/document/blocks/general/Spacer/fields.d.ts +2 -0
  544. package/dist/format/lib/document/blocks/general/Spacer/fields.js +1 -0
  545. package/dist/format/lib/document/blocks/general/Spacer/meta.d.ts +2 -0
  546. package/dist/format/lib/document/blocks/general/Spacer/meta.js +1 -0
  547. package/dist/format/lib/document/blocks/general/SpecStrip/meta.d.ts +2 -0
  548. package/dist/format/lib/document/blocks/general/SpecStrip/meta.js +1 -0
  549. package/dist/format/lib/document/blocks/general/Split/meta.d.ts +10 -0
  550. package/dist/format/lib/document/blocks/general/Split/meta.js +2 -0
  551. package/dist/format/lib/document/blocks/general/Stats/meta.d.ts +2 -0
  552. package/dist/format/lib/document/blocks/general/Stats/meta.js +1 -0
  553. package/dist/format/lib/document/blocks/general/StatsParagraph/meta.d.ts +7 -0
  554. package/dist/format/lib/document/blocks/general/StatsParagraph/meta.js +1 -0
  555. package/dist/format/lib/document/blocks/general/Testimonials/meta.d.ts +6 -0
  556. package/dist/format/lib/document/blocks/general/Testimonials/meta.js +1 -0
  557. package/dist/format/lib/document/blocks/general/Text/meta.d.ts +2 -0
  558. package/dist/format/lib/document/blocks/general/Text/meta.js +1 -0
  559. package/dist/format/lib/document/blocks/general/Ticker/meta.d.ts +5 -0
  560. package/dist/format/lib/document/blocks/general/Ticker/meta.js +1 -0
  561. package/dist/format/lib/document/blocks/general/Timeline/meta.d.ts +12 -0
  562. package/dist/format/lib/document/blocks/general/Timeline/meta.js +2 -0
  563. package/dist/format/lib/document/blocks/general/TimelineTrack/meta.d.ts +10 -0
  564. package/dist/format/lib/document/blocks/general/TimelineTrack/meta.js +1 -0
  565. package/dist/format/lib/document/blocks/general/TitleWithButtons/meta.d.ts +5 -0
  566. package/dist/format/lib/document/blocks/general/TitleWithButtons/meta.js +2 -0
  567. package/dist/format/lib/document/blocks/general/metas.d.ts +62 -0
  568. package/dist/format/lib/document/blocks/general/metas.js +1 -0
  569. package/dist/format/lib/document/blocks/general/section-bg-built-in.d.ts +6 -0
  570. package/dist/format/lib/document/blocks/general/section-bg-built-in.js +1 -0
  571. package/dist/format/lib/document/blocks/general/text-part-shapes.json +2162 -0
  572. package/dist/format/lib/document/blocks/placeholders.d.ts +25 -0
  573. package/dist/format/lib/document/blocks/placeholders.js +1 -0
  574. package/dist/format/lib/document/box-footer.d.ts +9 -0
  575. package/dist/format/lib/document/box-footer.js +1 -0
  576. package/dist/format/lib/document/cap-hero-groups.d.ts +1 -0
  577. package/dist/format/lib/document/cap-hero-groups.js +1 -0
  578. package/dist/format/lib/document/card-template-layers.d.ts +4 -0
  579. package/dist/format/lib/document/card-template-layers.js +1 -0
  580. package/dist/format/lib/document/container-blocks.d.ts +10 -0
  581. package/dist/format/lib/document/container-blocks.js +1 -0
  582. package/dist/format/lib/document/editor-page-context.d.ts +7 -0
  583. package/dist/format/lib/document/editor-page-context.js +1 -0
  584. package/dist/format/lib/document/field-noun.d.ts +3 -0
  585. package/dist/format/lib/document/field-noun.js +1 -0
  586. package/dist/format/lib/document/footer-block-row-name.d.ts +4 -0
  587. package/dist/format/lib/document/footer-block-row-name.js +1 -0
  588. package/dist/format/lib/document/general-order.d.ts +3 -0
  589. package/dist/format/lib/document/general-order.js +1 -0
  590. package/dist/format/lib/document/home-page.d.ts +1 -0
  591. package/dist/format/lib/document/home-page.js +1 -0
  592. package/dist/format/lib/document/left-view.d.ts +5 -0
  593. package/dist/format/lib/document/left-view.js +1 -0
  594. package/dist/format/lib/document/locations-tree.d.ts +23 -0
  595. package/dist/format/lib/document/locations-tree.js +2 -0
  596. package/dist/format/lib/document/media-drop.d.ts +3 -0
  597. package/dist/format/lib/document/media-drop.js +1 -0
  598. package/dist/format/lib/document/media-manifest.json +147 -0
  599. package/dist/format/lib/document/mockup-variant-fields.d.ts +10 -0
  600. package/dist/format/lib/document/mockup-variant-fields.js +1 -0
  601. package/dist/format/lib/document/nestable-content-sections.d.ts +2 -0
  602. package/dist/format/lib/document/nestable-content-sections.js +1 -0
  603. package/dist/format/lib/document/neutralization-contracts.d.ts +43 -0
  604. package/dist/format/lib/document/neutralization-contracts.js +1 -0
  605. package/dist/format/lib/document/new-site-header-seed.d.ts +17 -0
  606. package/dist/format/lib/document/new-site-header-seed.js +1 -0
  607. package/dist/format/lib/document/one-h1.d.ts +3 -0
  608. package/dist/format/lib/document/one-h1.js +1 -0
  609. package/dist/format/lib/document/overlay-portal.d.ts +3 -0
  610. package/dist/format/lib/document/overlay-portal.js +1 -0
  611. package/dist/format/lib/document/own-box.d.ts +2 -0
  612. package/dist/format/lib/document/own-box.js +1 -0
  613. package/dist/format/lib/document/panel-bands.d.ts +14 -0
  614. package/dist/format/lib/document/panel-bands.js +1 -0
  615. package/dist/format/lib/document/part-inks.d.ts +11 -0
  616. package/dist/format/lib/document/part-inks.js +1 -0
  617. package/dist/format/lib/document/part-key.d.ts +9 -0
  618. package/dist/format/lib/document/part-key.js +1 -0
  619. package/dist/format/lib/document/passes/catalogue-labels.d.ts +2 -0
  620. package/dist/format/lib/document/passes/catalogue-labels.js +1 -0
  621. package/dist/format/lib/document/passes/document-position.d.ts +16 -0
  622. package/dist/format/lib/document/passes/document-position.js +1 -0
  623. package/dist/format/lib/document/passes/empty-headings.d.ts +2 -0
  624. package/dist/format/lib/document/passes/empty-headings.js +1 -0
  625. package/dist/format/lib/document/passes/hidden-nodes.d.ts +2 -0
  626. package/dist/format/lib/document/passes/hidden-nodes.js +1 -0
  627. package/dist/format/lib/document/passes/media-values.d.ts +3 -0
  628. package/dist/format/lib/document/passes/media-values.js +1 -0
  629. package/dist/format/lib/document/passes/registry-context.d.ts +2 -0
  630. package/dist/format/lib/document/passes/registry-context.js +1 -0
  631. package/dist/format/lib/document/passes/settings-groups.d.ts +3 -0
  632. package/dist/format/lib/document/passes/settings-groups.js +1 -0
  633. package/dist/format/lib/document/passes/show-when-rows.d.ts +4 -0
  634. package/dist/format/lib/document/passes/show-when-rows.js +1 -0
  635. package/dist/format/lib/document/passes/slot-rules.d.ts +4 -0
  636. package/dist/format/lib/document/passes/slot-rules.js +1 -0
  637. package/dist/format/lib/document/passes/types.d.ts +71 -0
  638. package/dist/format/lib/document/passes/types.js +0 -0
  639. package/dist/format/lib/document/phone-override.d.ts +3 -0
  640. package/dist/format/lib/document/phone-override.js +1 -0
  641. package/dist/format/lib/document/pinned-seed-gate.d.ts +6 -0
  642. package/dist/format/lib/document/pinned-seed-gate.js +1 -0
  643. package/dist/format/lib/document/renamed-props.d.ts +2 -0
  644. package/dist/format/lib/document/renamed-props.js +1 -0
  645. package/dist/format/lib/document/section-catalog.d.ts +37 -0
  646. package/dist/format/lib/document/section-catalog.js +7 -0
  647. package/dist/format/lib/document/section-descriptions.d.ts +1 -0
  648. package/dist/format/lib/document/section-descriptions.js +1 -0
  649. package/dist/format/lib/document/section-groups.d.ts +30 -0
  650. package/dist/format/lib/document/section-groups.js +1 -0
  651. package/dist/format/lib/document/show-when-attach.d.ts +12 -0
  652. package/dist/format/lib/document/show-when-attach.js +1 -0
  653. package/dist/format/lib/document/site-gap-fields.d.ts +2 -0
  654. package/dist/format/lib/document/site-gap-fields.js +1 -0
  655. package/dist/format/lib/document/snapshot-contracts.d.ts +4 -0
  656. package/dist/format/lib/document/snapshot-contracts.js +1 -0
  657. package/dist/format/lib/document/source-bound-parts.d.ts +14 -0
  658. package/dist/format/lib/document/source-bound-parts.js +1 -0
  659. package/dist/format/lib/document/source-row-name.d.ts +2 -0
  660. package/dist/format/lib/document/source-row-name.js +1 -0
  661. package/dist/format/lib/document/templateFields.d.ts +2 -0
  662. package/dist/format/lib/document/templateFields.js +1 -0
  663. package/dist/format/lib/document/text-seeds.d.ts +2 -0
  664. package/dist/format/lib/document/text-seeds.js +1 -0
  665. package/dist/format/lib/editor/preview-href.js +1 -1
  666. package/dist/format/lib/editor-words-catalogue.d.ts +4 -5
  667. package/dist/format/lib/editor-words-catalogue.js +3 -3
  668. package/dist/format/lib/fonts.d.ts +0 -1
  669. package/dist/format/lib/fonts.js +1 -1
  670. package/dist/format/lib/hero-arrows.d.ts +0 -1
  671. package/dist/format/lib/hero-arrows.js +1 -1
  672. package/dist/format/lib/hero-group-placement.d.ts +0 -1
  673. package/dist/format/lib/hero-group-placement.js +1 -1
  674. package/dist/format/lib/hero-phone-stack.d.ts +0 -1
  675. package/dist/format/lib/hero-phone-stack.js +1 -1
  676. package/dist/format/lib/links/page-link-rules.js +1 -1
  677. package/dist/format/lib/puck/blocks/block-types.d.ts +1 -17
  678. package/dist/format/lib/puck/blocks/block-types.js +1 -1
  679. package/dist/format/lib/puck/blocks/general/Banner/meta.d.ts +1 -2
  680. package/dist/format/lib/puck/blocks/general/Banner/meta.js +1 -1
  681. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.d.ts +1 -5
  682. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.js +1 -1
  683. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.d.ts +1 -2
  684. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.js +1 -1
  685. package/dist/format/lib/puck/blocks/general/Cards/meta.d.ts +1 -7
  686. package/dist/format/lib/puck/blocks/general/Cards/meta.js +1 -1
  687. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.d.ts +1 -2
  688. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.js +1 -1
  689. package/dist/format/lib/puck/blocks/general/Chart/meta.d.ts +1 -6
  690. package/dist/format/lib/puck/blocks/general/Chart/meta.js +1 -2
  691. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.d.ts +1 -2
  692. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.js +1 -1
  693. package/dist/format/lib/puck/blocks/general/Countdown/meta.d.ts +1 -6
  694. package/dist/format/lib/puck/blocks/general/Countdown/meta.js +1 -1
  695. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.d.ts +1 -2
  696. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.js +1 -1
  697. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.d.ts +1 -2
  698. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.js +1 -3
  699. package/dist/format/lib/puck/blocks/general/Divider/meta.d.ts +1 -2
  700. package/dist/format/lib/puck/blocks/general/Divider/meta.js +1 -1
  701. package/dist/format/lib/puck/blocks/general/DocBody/meta.d.ts +1 -5
  702. package/dist/format/lib/puck/blocks/general/DocBody/meta.js +1 -1
  703. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.d.ts +1 -7
  704. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.js +1 -1
  705. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.d.ts +1 -4
  706. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.js +1 -1
  707. package/dist/format/lib/puck/blocks/general/DocTabs/meta.d.ts +1 -6
  708. package/dist/format/lib/puck/blocks/general/DocTabs/meta.js +1 -1
  709. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.d.ts +1 -2
  710. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.js +1 -1
  711. package/dist/format/lib/puck/blocks/general/FAQ/meta.d.ts +1 -7
  712. package/dist/format/lib/puck/blocks/general/FAQ/meta.js +1 -1
  713. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.d.ts +1 -13
  714. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.js +1 -1
  715. package/dist/format/lib/puck/blocks/general/Flex/meta.d.ts +1 -7
  716. package/dist/format/lib/puck/blocks/general/Flex/meta.js +1 -1
  717. package/dist/format/lib/puck/blocks/general/Footprint/meta.d.ts +1 -7
  718. package/dist/format/lib/puck/blocks/general/Footprint/meta.js +1 -2
  719. package/dist/format/lib/puck/blocks/general/Grid/meta.d.ts +1 -7
  720. package/dist/format/lib/puck/blocks/general/Grid/meta.js +1 -1
  721. package/dist/format/lib/puck/blocks/general/Heading/meta.d.ts +1 -2
  722. package/dist/format/lib/puck/blocks/general/Heading/meta.js +1 -1
  723. package/dist/format/lib/puck/blocks/general/Hero/meta.d.ts +1 -7
  724. package/dist/format/lib/puck/blocks/general/Hero/meta.js +1 -1
  725. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.d.ts +1 -8
  726. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.js +1 -1
  727. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.d.ts +1 -8
  728. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.js +1 -1
  729. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.d.ts +1 -8
  730. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.js +1 -1
  731. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.d.ts +1 -2
  732. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.js +1 -1
  733. package/dist/format/lib/puck/blocks/general/Integrations/meta.d.ts +1 -2
  734. package/dist/format/lib/puck/blocks/general/Integrations/meta.js +1 -1
  735. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.d.ts +1 -7
  736. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.js +1 -2
  737. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.d.ts +1 -8
  738. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.js +1 -1
  739. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.d.ts +1 -2
  740. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.js +1 -1
  741. package/dist/format/lib/puck/blocks/general/Logos/meta.d.ts +1 -2
  742. package/dist/format/lib/puck/blocks/general/Logos/meta.js +1 -1
  743. package/dist/format/lib/puck/blocks/general/LongRead/meta.d.ts +1 -19
  744. package/dist/format/lib/puck/blocks/general/LongRead/meta.js +1 -1
  745. package/dist/format/lib/puck/blocks/general/Manifesto/meta.d.ts +1 -2
  746. package/dist/format/lib/puck/blocks/general/Manifesto/meta.js +1 -1
  747. package/dist/format/lib/puck/blocks/general/Masthead/meta.d.ts +1 -8
  748. package/dist/format/lib/puck/blocks/general/Masthead/meta.js +1 -1
  749. package/dist/format/lib/puck/blocks/general/Mockup/meta.d.ts +1 -2
  750. package/dist/format/lib/puck/blocks/general/Mockup/meta.js +1 -1
  751. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.d.ts +1 -6
  752. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.js +1 -1
  753. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.d.ts +1 -9
  754. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.js +1 -1
  755. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.d.ts +1 -5
  756. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.js +1 -1
  757. package/dist/format/lib/puck/blocks/general/PostCard/meta.d.ts +1 -9
  758. package/dist/format/lib/puck/blocks/general/PostCard/meta.js +1 -1
  759. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.d.ts +1 -13
  760. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.js +1 -1
  761. package/dist/format/lib/puck/blocks/general/Prose/meta.d.ts +1 -7
  762. package/dist/format/lib/puck/blocks/general/Prose/meta.js +1 -1
  763. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.d.ts +1 -2
  764. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.js +1 -1
  765. package/dist/format/lib/puck/blocks/general/Series/meta.d.ts +1 -8
  766. package/dist/format/lib/puck/blocks/general/Series/meta.js +1 -1
  767. package/dist/format/lib/puck/blocks/general/Spacer/fields.d.ts +1 -2
  768. package/dist/format/lib/puck/blocks/general/Spacer/fields.js +1 -1
  769. package/dist/format/lib/puck/blocks/general/Spacer/meta.d.ts +1 -2
  770. package/dist/format/lib/puck/blocks/general/Spacer/meta.js +1 -1
  771. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.d.ts +1 -2
  772. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.js +1 -1
  773. package/dist/format/lib/puck/blocks/general/Split/meta.d.ts +1 -10
  774. package/dist/format/lib/puck/blocks/general/Split/meta.js +1 -2
  775. package/dist/format/lib/puck/blocks/general/Stats/meta.d.ts +1 -2
  776. package/dist/format/lib/puck/blocks/general/Stats/meta.js +1 -1
  777. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.d.ts +1 -7
  778. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.js +1 -1
  779. package/dist/format/lib/puck/blocks/general/Testimonials/meta.d.ts +1 -6
  780. package/dist/format/lib/puck/blocks/general/Testimonials/meta.js +1 -1
  781. package/dist/format/lib/puck/blocks/general/Text/meta.d.ts +1 -2
  782. package/dist/format/lib/puck/blocks/general/Text/meta.js +1 -1
  783. package/dist/format/lib/puck/blocks/general/Ticker/meta.d.ts +1 -5
  784. package/dist/format/lib/puck/blocks/general/Ticker/meta.js +1 -1
  785. package/dist/format/lib/puck/blocks/general/Timeline/meta.d.ts +1 -12
  786. package/dist/format/lib/puck/blocks/general/Timeline/meta.js +1 -2
  787. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.d.ts +1 -10
  788. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.js +1 -1
  789. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.d.ts +1 -5
  790. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.js +1 -2
  791. package/dist/format/lib/puck/blocks/general/metas.d.ts +1 -62
  792. package/dist/format/lib/puck/blocks/general/metas.js +1 -1
  793. package/dist/format/lib/puck/blocks/general/section-bg-built-in.d.ts +1 -6
  794. package/dist/format/lib/puck/blocks/general/section-bg-built-in.js +1 -1
  795. package/dist/format/lib/puck/blocks/placeholders.d.ts +1 -25
  796. package/dist/format/lib/puck/blocks/placeholders.js +1 -1
  797. package/dist/format/lib/puck/box-footer.d.ts +1 -9
  798. package/dist/format/lib/puck/box-footer.js +1 -1
  799. package/dist/format/lib/puck/cap-hero-groups.d.ts +1 -1
  800. package/dist/format/lib/puck/cap-hero-groups.js +1 -1
  801. package/dist/format/lib/puck/card-template-layers.d.ts +1 -0
  802. package/dist/format/lib/puck/card-template-layers.js +1 -0
  803. package/dist/format/lib/puck/container-blocks.d.ts +1 -10
  804. package/dist/format/lib/puck/container-blocks.js +1 -1
  805. package/dist/format/lib/puck/editor-page-context.d.ts +1 -7
  806. package/dist/format/lib/puck/editor-page-context.js +1 -1
  807. package/dist/format/lib/puck/field-noun.d.ts +1 -3
  808. package/dist/format/lib/puck/field-noun.js +1 -1
  809. package/dist/format/lib/puck/footer-block-row-name.d.ts +1 -4
  810. package/dist/format/lib/puck/footer-block-row-name.js +1 -1
  811. package/dist/format/lib/puck/general-order.d.ts +1 -3
  812. package/dist/format/lib/puck/general-order.js +1 -1
  813. package/dist/format/lib/puck/home-page.d.ts +1 -1
  814. package/dist/format/lib/puck/home-page.js +1 -1
  815. package/dist/format/lib/puck/left-view.d.ts +1 -5
  816. package/dist/format/lib/puck/left-view.js +1 -1
  817. package/dist/format/lib/puck/locations-tree.d.ts +1 -23
  818. package/dist/format/lib/puck/locations-tree.js +1 -2
  819. package/dist/format/lib/puck/media-drop.d.ts +1 -3
  820. package/dist/format/lib/puck/media-drop.js +1 -1
  821. package/dist/format/lib/puck/mockup-variant-fields.d.ts +1 -10
  822. package/dist/format/lib/puck/mockup-variant-fields.js +1 -1
  823. package/dist/format/lib/puck/nestable-content-sections.d.ts +1 -0
  824. package/dist/format/lib/puck/nestable-content-sections.js +1 -0
  825. package/dist/format/lib/puck/neutralization-contracts.d.ts +1 -43
  826. package/dist/format/lib/puck/neutralization-contracts.js +1 -1
  827. package/dist/format/lib/puck/new-site-header-seed.d.ts +1 -17
  828. package/dist/format/lib/puck/new-site-header-seed.js +1 -1
  829. package/dist/format/lib/puck/one-h1.d.ts +1 -3
  830. package/dist/format/lib/puck/one-h1.js +1 -1
  831. package/dist/format/lib/puck/overlay-portal.d.ts +1 -2
  832. package/dist/format/lib/puck/overlay-portal.js +1 -1
  833. package/dist/format/lib/puck/own-box.d.ts +1 -2
  834. package/dist/format/lib/puck/own-box.js +1 -1
  835. package/dist/format/lib/puck/panel-bands.d.ts +1 -14
  836. package/dist/format/lib/puck/panel-bands.js +1 -1
  837. package/dist/format/lib/puck/part-inks.d.ts +1 -11
  838. package/dist/format/lib/puck/part-inks.js +1 -1
  839. package/dist/format/lib/puck/part-key.d.ts +1 -9
  840. package/dist/format/lib/puck/part-key.js +1 -1
  841. package/dist/format/lib/puck/passes/catalogue-labels.d.ts +1 -2
  842. package/dist/format/lib/puck/passes/catalogue-labels.js +1 -1
  843. package/dist/format/lib/puck/passes/document-position.d.ts +1 -16
  844. package/dist/format/lib/puck/passes/document-position.js +1 -1
  845. package/dist/format/lib/puck/passes/empty-headings.d.ts +1 -2
  846. package/dist/format/lib/puck/passes/empty-headings.js +1 -1
  847. package/dist/format/lib/puck/passes/hidden-nodes.d.ts +1 -2
  848. package/dist/format/lib/puck/passes/hidden-nodes.js +1 -1
  849. package/dist/format/lib/puck/passes/media-values.d.ts +1 -3
  850. package/dist/format/lib/puck/passes/media-values.js +1 -1
  851. package/dist/format/lib/puck/passes/registry-context.d.ts +1 -2
  852. package/dist/format/lib/puck/passes/registry-context.js +1 -1
  853. package/dist/format/lib/puck/passes/settings-groups.d.ts +1 -3
  854. package/dist/format/lib/puck/passes/settings-groups.js +1 -1
  855. package/dist/format/lib/puck/passes/show-when-rows.d.ts +1 -4
  856. package/dist/format/lib/puck/passes/show-when-rows.js +1 -1
  857. package/dist/format/lib/puck/passes/slot-rules.d.ts +1 -4
  858. package/dist/format/lib/puck/passes/slot-rules.js +1 -1
  859. package/dist/format/lib/puck/passes/types.d.ts +1 -71
  860. package/dist/format/lib/puck/passes/types.js +1 -0
  861. package/dist/format/lib/puck/phone-override.d.ts +1 -4
  862. package/dist/format/lib/puck/phone-override.js +1 -1
  863. package/dist/format/lib/puck/pinned-seed-gate.d.ts +1 -6
  864. package/dist/format/lib/puck/pinned-seed-gate.js +1 -1
  865. package/dist/format/lib/puck/renamed-props.d.ts +1 -2
  866. package/dist/format/lib/puck/renamed-props.js +1 -1
  867. package/dist/format/lib/puck/section-catalog.d.ts +1 -36
  868. package/dist/format/lib/puck/section-catalog.js +1 -7
  869. package/dist/format/lib/puck/section-descriptions.d.ts +1 -1
  870. package/dist/format/lib/puck/section-descriptions.js +1 -1
  871. package/dist/format/lib/puck/section-groups.d.ts +1 -30
  872. package/dist/format/lib/puck/section-groups.js +1 -1
  873. package/dist/format/lib/puck/show-when-attach.d.ts +1 -12
  874. package/dist/format/lib/puck/show-when-attach.js +1 -1
  875. package/dist/format/lib/puck/site-gap-fields.d.ts +1 -2
  876. package/dist/format/lib/puck/site-gap-fields.js +1 -1
  877. package/dist/format/lib/puck/snapshot-contracts.d.ts +1 -4
  878. package/dist/format/lib/puck/snapshot-contracts.js +1 -1
  879. package/dist/format/lib/puck/source-bound-parts.d.ts +1 -14
  880. package/dist/format/lib/puck/source-bound-parts.js +1 -1
  881. package/dist/format/lib/puck/source-row-name.d.ts +1 -2
  882. package/dist/format/lib/puck/source-row-name.js +1 -1
  883. package/dist/format/lib/puck/templateFields.d.ts +1 -2
  884. package/dist/format/lib/puck/templateFields.js +1 -1
  885. package/dist/format/lib/puck/text-seeds.d.ts +1 -2
  886. package/dist/format/lib/puck/text-seeds.js +1 -1
  887. package/dist/format/lib/reel.d.ts +0 -1
  888. package/dist/format/lib/reel.js +1 -1
  889. package/dist/format/lib/sections/section-head-placement.js +1 -1
  890. package/dist/format/lib/sections/section-head-style.js +1 -1
  891. package/dist/format/lib/sections/section-presets.js +1 -1
  892. package/dist/format/lib/sections/section-text-kinds.d.ts +0 -1
  893. package/dist/format/lib/sections/section-text-kinds.js +1 -1
  894. package/dist/format/lib/sections/spec-table-regions.d.ts +0 -1
  895. package/dist/format/lib/sections/spec-table-regions.js +1 -1
  896. package/dist/format/lib/source-rules/document-surfaces.d.ts +16 -0
  897. package/dist/format/lib/source-rules/document-surfaces.js +8 -0
  898. package/dist/format/lib/source-rules/editor-drag-off.d.ts +8 -0
  899. package/dist/format/lib/source-rules/editor-drag-off.js +4 -0
  900. package/dist/format/lib/source-rules/editor-puck-drag-off.d.ts +2 -8
  901. package/dist/format/lib/source-rules/editor-puck-drag-off.js +1 -4
  902. package/dist/format/lib/source-rules/label-hints.js +4 -4
  903. package/dist/format/lib/source-rules/label-vocabulary.js +4 -4
  904. package/dist/format/lib/source-rules/mirrored-rows-agree.js +6 -6
  905. package/dist/format/lib/source-rules/no-glyph-rows.d.ts +1 -1
  906. package/dist/format/lib/source-rules/no-glyph-rows.js +4 -4
  907. package/dist/format/lib/source-rules/one-show-when.js +3 -3
  908. package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.d.ts +1 -1
  909. package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +15 -15
  910. package/dist/format/lib/source-rules/puck-document-surfaces.d.ts +2 -16
  911. package/dist/format/lib/source-rules/puck-document-surfaces.js +1 -8
  912. package/dist/format/lib/source-rules/support/document-folder.d.ts +4 -0
  913. package/dist/format/lib/source-rules/support/document-folder.js +1 -0
  914. package/dist/format/lib/source-rules/support/registry-source.d.ts +4 -3
  915. package/dist/format/lib/source-rules/support/registry-source.js +3 -3
  916. package/dist/format/lib/theme.d.ts +0 -3
  917. package/dist/format/lib/theme.js +2 -2
  918. package/dist/render/components/CardRowContext.d.ts +25 -0
  919. package/dist/render/components/CardRowContext.js +1 -0
  920. package/dist/render/components/CategoryBar.js +1 -1
  921. package/dist/render/components/ContactLocations.js +1 -1
  922. package/dist/render/components/Countdown.js +1 -1
  923. package/dist/render/components/DocTabs.js +1 -1
  924. package/dist/render/components/FAQ.d.ts +1 -1
  925. package/dist/render/components/FAQ.js +1 -1
  926. package/dist/render/components/Heading.js +1 -1
  927. package/dist/render/components/HeroSection.js +2 -2
  928. package/dist/render/components/HeroSingle.js +2 -2
  929. package/dist/render/components/IntroBleed.js +1 -1
  930. package/dist/render/components/OrderSummary.d.ts +3 -1
  931. package/dist/render/components/OrderSummary.js +1 -1
  932. package/dist/render/components/PartStyledKind.js +1 -1
  933. package/dist/render/components/PartStyledText.js +1 -1
  934. package/dist/render/components/PublishedPartStylesContext.d.ts +2 -2
  935. package/dist/render/components/PublishedPartStylesContext.js +1 -1
  936. package/dist/render/components/SectionHeader.js +1 -1
  937. package/dist/render/components/Text.js +1 -1
  938. package/dist/render/components/goldPhrases.js +1 -1
  939. package/dist/render/lib/document/blocks/general/Banner/render.d.ts +2 -0
  940. package/dist/render/lib/document/blocks/general/Banner/render.js +1 -0
  941. package/dist/render/lib/document/blocks/general/Breadcrumb/render.d.ts +2 -0
  942. package/dist/render/lib/document/blocks/general/Breadcrumb/render.js +1 -0
  943. package/dist/render/lib/document/blocks/general/ButtonBlock/render.d.ts +2 -0
  944. package/dist/render/lib/document/blocks/general/ButtonBlock/render.js +1 -0
  945. package/dist/render/lib/document/blocks/general/Cards/render.d.ts +2 -0
  946. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -0
  947. package/dist/render/lib/document/blocks/general/CategoryBar/render.d.ts +2 -0
  948. package/dist/render/lib/document/blocks/general/CategoryBar/render.js +1 -0
  949. package/dist/render/lib/document/blocks/general/Chart/render.d.ts +2 -0
  950. package/dist/render/lib/document/blocks/general/Chart/render.js +1 -0
  951. package/dist/render/lib/document/blocks/general/ContactLocations/render.d.ts +2 -0
  952. package/dist/render/lib/document/blocks/general/ContactLocations/render.js +1 -0
  953. package/dist/render/lib/document/blocks/general/Countdown/render.d.ts +2 -0
  954. package/dist/render/lib/document/blocks/general/Countdown/render.js +1 -0
  955. package/dist/render/lib/document/blocks/general/CustomHTML/render.d.ts +2 -0
  956. package/dist/render/lib/document/blocks/general/CustomHTML/render.js +1 -0
  957. package/dist/render/lib/document/blocks/general/Divider/render.d.ts +2 -0
  958. package/dist/render/lib/document/blocks/general/Divider/render.js +1 -0
  959. package/dist/render/lib/document/blocks/general/DocBody/render.d.ts +2 -0
  960. package/dist/render/lib/document/blocks/general/DocBody/render.js +1 -0
  961. package/dist/render/lib/document/blocks/general/DocMasthead/render.d.ts +2 -0
  962. package/dist/render/lib/document/blocks/general/DocMasthead/render.js +1 -0
  963. package/dist/render/lib/document/blocks/general/DocMetaCards/render.d.ts +2 -0
  964. package/dist/render/lib/document/blocks/general/DocMetaCards/render.js +1 -0
  965. package/dist/render/lib/document/blocks/general/DocTabs/render.d.ts +2 -0
  966. package/dist/render/lib/document/blocks/general/DocTabs/render.js +1 -0
  967. package/dist/render/lib/document/blocks/general/Eyebrow/render.d.ts +2 -0
  968. package/dist/render/lib/document/blocks/general/Eyebrow/render.js +1 -0
  969. package/dist/render/lib/document/blocks/general/FAQ/render.d.ts +2 -0
  970. package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -0
  971. package/dist/render/lib/document/blocks/general/FeaturedCover/render.d.ts +2 -0
  972. package/dist/render/lib/document/blocks/general/FeaturedCover/render.js +1 -0
  973. package/dist/render/lib/document/blocks/general/Flex/render.d.ts +2 -0
  974. package/dist/render/lib/document/blocks/general/Flex/render.js +1 -0
  975. package/dist/render/lib/document/blocks/general/Footprint/render.d.ts +2 -0
  976. package/dist/render/lib/document/blocks/general/Footprint/render.js +1 -0
  977. package/dist/render/lib/document/blocks/general/Grid/render.d.ts +2 -0
  978. package/dist/render/lib/document/blocks/general/Grid/render.js +1 -0
  979. package/dist/render/lib/document/blocks/general/Heading/render.d.ts +2 -0
  980. package/dist/render/lib/document/blocks/general/Heading/render.js +1 -0
  981. package/dist/render/lib/document/blocks/general/Hero/render.d.ts +2 -0
  982. package/dist/render/lib/document/blocks/general/Hero/render.js +1 -0
  983. package/dist/render/lib/document/blocks/general/HeroGroup/render.d.ts +2 -0
  984. package/dist/render/lib/document/blocks/general/HeroGroup/render.js +1 -0
  985. package/dist/render/lib/document/blocks/general/HeroSingle/render.d.ts +2 -0
  986. package/dist/render/lib/document/blocks/general/HeroSingle/render.js +1 -0
  987. package/dist/render/lib/document/blocks/general/HeroSlide/render.d.ts +2 -0
  988. package/dist/render/lib/document/blocks/general/HeroSlide/render.js +1 -0
  989. package/dist/render/lib/document/blocks/general/ImageBlock/render.d.ts +2 -0
  990. package/dist/render/lib/document/blocks/general/ImageBlock/render.js +1 -0
  991. package/dist/render/lib/document/blocks/general/Integrations/render.d.ts +2 -0
  992. package/dist/render/lib/document/blocks/general/Integrations/render.js +2 -0
  993. package/dist/render/lib/document/blocks/general/IntroBleed/render.d.ts +2 -0
  994. package/dist/render/lib/document/blocks/general/IntroBleed/render.js +1 -0
  995. package/dist/render/lib/document/blocks/general/KeyFeatures/render.d.ts +2 -0
  996. package/dist/render/lib/document/blocks/general/KeyFeatures/render.js +1 -0
  997. package/dist/render/lib/document/blocks/general/LogoBlock/render.d.ts +2 -0
  998. package/dist/render/lib/document/blocks/general/LogoBlock/render.js +1 -0
  999. package/dist/render/lib/document/blocks/general/Logos/render.d.ts +2 -0
  1000. package/dist/render/lib/document/blocks/general/Logos/render.js +1 -0
  1001. package/dist/render/lib/document/blocks/general/LongRead/render.d.ts +2 -0
  1002. package/dist/render/lib/document/blocks/general/LongRead/render.js +1 -0
  1003. package/dist/render/lib/document/blocks/general/Manifesto/render.d.ts +2 -0
  1004. package/dist/render/lib/document/blocks/general/Manifesto/render.js +1 -0
  1005. package/dist/render/lib/document/blocks/general/Masthead/render.d.ts +2 -0
  1006. package/dist/render/lib/document/blocks/general/Masthead/render.js +1 -0
  1007. package/dist/render/lib/document/blocks/general/Mockup/render.d.ts +2 -0
  1008. package/dist/render/lib/document/blocks/general/Mockup/render.js +2 -0
  1009. package/dist/render/lib/document/blocks/general/OrderSummary/render.d.ts +2 -0
  1010. package/dist/render/lib/document/blocks/general/OrderSummary/render.js +1 -0
  1011. package/dist/render/lib/document/blocks/general/ParagraphsA/render.d.ts +2 -0
  1012. package/dist/render/lib/document/blocks/general/ParagraphsA/render.js +1 -0
  1013. package/dist/render/lib/document/blocks/general/PaymentBadges/render.d.ts +2 -0
  1014. package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -0
  1015. package/dist/render/lib/document/blocks/general/PostCard/render.d.ts +2 -0
  1016. package/dist/render/lib/document/blocks/general/PostCard/render.js +1 -0
  1017. package/dist/render/lib/document/blocks/general/ProcessSteps/render.d.ts +2 -0
  1018. package/dist/render/lib/document/blocks/general/ProcessSteps/render.js +1 -0
  1019. package/dist/render/lib/document/blocks/general/Prose/render.d.ts +2 -0
  1020. package/dist/render/lib/document/blocks/general/Prose/render.js +1 -0
  1021. package/dist/render/lib/document/blocks/general/SectionHeader/render.d.ts +2 -0
  1022. package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -0
  1023. package/dist/render/lib/document/blocks/general/Series/render.d.ts +2 -0
  1024. package/dist/render/lib/document/blocks/general/Series/render.js +1 -0
  1025. package/dist/render/lib/document/blocks/general/Spacer/render.d.ts +2 -0
  1026. package/dist/render/lib/document/blocks/general/Spacer/render.js +1 -0
  1027. package/dist/render/lib/document/blocks/general/SpecStrip/render.d.ts +2 -0
  1028. package/dist/render/lib/document/blocks/general/SpecStrip/render.js +1 -0
  1029. package/dist/render/lib/document/blocks/general/Split/render.d.ts +2 -0
  1030. package/dist/render/lib/document/blocks/general/Split/render.js +1 -0
  1031. package/dist/render/lib/document/blocks/general/Stats/render.d.ts +2 -0
  1032. package/dist/render/lib/document/blocks/general/Stats/render.js +1 -0
  1033. package/dist/render/lib/document/blocks/general/StatsParagraph/render.d.ts +2 -0
  1034. package/dist/render/lib/document/blocks/general/StatsParagraph/render.js +1 -0
  1035. package/dist/render/lib/document/blocks/general/Testimonials/render.d.ts +2 -0
  1036. package/dist/render/lib/document/blocks/general/Testimonials/render.js +1 -0
  1037. package/dist/render/lib/document/blocks/general/Text/render.d.ts +2 -0
  1038. package/dist/render/lib/document/blocks/general/Text/render.js +1 -0
  1039. package/dist/render/lib/document/blocks/general/Ticker/render.d.ts +2 -0
  1040. package/dist/render/lib/document/blocks/general/Ticker/render.js +1 -0
  1041. package/dist/render/lib/document/blocks/general/Timeline/render.d.ts +2 -0
  1042. package/dist/render/lib/document/blocks/general/Timeline/render.js +1 -0
  1043. package/dist/render/lib/document/blocks/general/TimelineTrack/render.d.ts +2 -0
  1044. package/dist/render/lib/document/blocks/general/TimelineTrack/render.js +1 -0
  1045. package/dist/render/lib/document/blocks/general/TitleWithButtons/render.d.ts +2 -0
  1046. package/dist/render/lib/document/blocks/general/TitleWithButtons/render.js +1 -0
  1047. package/dist/render/lib/document/blocks/general/render-config.d.ts +8 -0
  1048. package/dist/render/lib/document/blocks/general/render-config.js +1 -0
  1049. package/dist/render/lib/document/blocks/general/renders.d.ts +58 -0
  1050. package/dist/render/lib/document/blocks/general/renders.js +1 -0
  1051. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +26 -0
  1052. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -0
  1053. package/dist/render/lib/document/blocks/general/section-to-box-rows.d.ts +7 -0
  1054. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -0
  1055. package/dist/render/lib/document/blocks/scaffold.d.ts +23 -0
  1056. package/dist/render/lib/document/blocks/scaffold.js +1 -0
  1057. package/dist/render/lib/document/booking-preview.d.ts +3 -0
  1058. package/dist/render/lib/document/booking-preview.js +1 -0
  1059. package/dist/render/lib/document/editing-bridges.d.ts +11 -0
  1060. package/dist/render/lib/document/editing-bridges.js +1 -0
  1061. package/dist/render/lib/document/header-clearance.d.ts +49 -0
  1062. package/dist/render/lib/document/header-clearance.js +1 -0
  1063. package/dist/render/lib/document/header-ink.d.ts +15 -0
  1064. package/dist/render/lib/document/header-ink.js +1 -0
  1065. package/dist/render/lib/document/hero-media-parts.d.ts +42 -0
  1066. package/dist/render/lib/document/hero-media-parts.js +1 -0
  1067. package/dist/render/lib/document/migrate-legacy.d.ts +2 -0
  1068. package/dist/render/lib/document/migrate-legacy.js +1 -0
  1069. package/dist/render/lib/document/page-frame.d.ts +34 -0
  1070. package/dist/render/lib/document/page-frame.js +1 -0
  1071. package/dist/render/lib/document/page-render.d.ts +6 -0
  1072. package/dist/render/lib/document/page-render.js +1 -0
  1073. package/dist/render/lib/document/part-rows.d.ts +15 -0
  1074. package/dist/render/lib/document/part-rows.js +1 -0
  1075. package/dist/render/lib/document/part-styles.d.ts +153 -0
  1076. package/dist/render/lib/document/part-styles.js +2 -0
  1077. package/dist/render/lib/document/part-text.d.ts +11 -0
  1078. package/dist/render/lib/document/part-text.js +1 -0
  1079. package/dist/render/lib/document/passes/borders.d.ts +2 -0
  1080. package/dist/render/lib/document/passes/borders.js +1 -0
  1081. package/dist/render/lib/document/passes/cell-width.d.ts +4 -0
  1082. package/dist/render/lib/document/passes/cell-width.js +1 -0
  1083. package/dist/render/lib/document/passes/clickable-parts.d.ts +2 -0
  1084. package/dist/render/lib/document/passes/clickable-parts.js +1 -0
  1085. package/dist/render/lib/document/passes/corners.d.ts +4 -0
  1086. package/dist/render/lib/document/passes/corners.js +1 -0
  1087. package/dist/render/lib/document/passes/index.d.ts +5 -0
  1088. package/dist/render/lib/document/passes/index.js +1 -0
  1089. package/dist/render/lib/document/passes/section-anchor.d.ts +2 -0
  1090. package/dist/render/lib/document/passes/section-anchor.js +1 -0
  1091. package/dist/render/lib/document/passes/section-animation.d.ts +2 -0
  1092. package/dist/render/lib/document/passes/section-animation.js +1 -0
  1093. package/dist/render/lib/document/passes/section-height.d.ts +2 -0
  1094. package/dist/render/lib/document/passes/section-height.js +1 -0
  1095. package/dist/render/lib/document/passes/section-padding.d.ts +9 -0
  1096. package/dist/render/lib/document/passes/section-padding.js +1 -0
  1097. package/dist/render/lib/document/passes/section-sticky.d.ts +3 -0
  1098. package/dist/render/lib/document/passes/section-sticky.js +1 -0
  1099. package/dist/render/lib/document/passes/section-theme.d.ts +3 -0
  1100. package/dist/render/lib/document/passes/section-theme.js +1 -0
  1101. package/dist/render/lib/document/passes/section-width.d.ts +18 -0
  1102. package/dist/render/lib/document/passes/section-width.js +1 -0
  1103. package/dist/render/lib/document/render-registry.d.ts +3 -0
  1104. package/dist/render/lib/document/render-registry.js +1 -0
  1105. package/dist/render/lib/document/sanitize.d.ts +1 -0
  1106. package/dist/render/lib/document/sanitize.js +1 -0
  1107. package/dist/render/lib/document/selection-parent.d.ts +12 -0
  1108. package/dist/render/lib/document/selection-parent.js +1 -0
  1109. package/dist/render/lib/document/show-when.d.ts +19 -0
  1110. package/dist/render/lib/document/show-when.js +1 -0
  1111. package/dist/render/lib/document/slot-specs.d.ts +8 -0
  1112. package/dist/render/lib/document/slot-specs.js +1 -0
  1113. package/dist/render/lib/document/text-parts.d.ts +42 -0
  1114. package/dist/render/lib/document/text-parts.js +1 -0
  1115. package/dist/render/lib/media.d.ts +0 -1
  1116. package/dist/render/lib/media.js +1 -1
  1117. package/dist/render/lib/puck/blocks/general/Banner/render.d.ts +1 -2
  1118. package/dist/render/lib/puck/blocks/general/Banner/render.js +1 -1
  1119. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.d.ts +1 -2
  1120. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.js +1 -1
  1121. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.d.ts +1 -2
  1122. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.js +1 -1
  1123. package/dist/render/lib/puck/blocks/general/Cards/render.d.ts +1 -2
  1124. package/dist/render/lib/puck/blocks/general/Cards/render.js +1 -1
  1125. package/dist/render/lib/puck/blocks/general/CategoryBar/render.d.ts +1 -2
  1126. package/dist/render/lib/puck/blocks/general/CategoryBar/render.js +1 -1
  1127. package/dist/render/lib/puck/blocks/general/Chart/render.d.ts +1 -2
  1128. package/dist/render/lib/puck/blocks/general/Chart/render.js +1 -1
  1129. package/dist/render/lib/puck/blocks/general/ContactLocations/render.d.ts +1 -2
  1130. package/dist/render/lib/puck/blocks/general/ContactLocations/render.js +1 -1
  1131. package/dist/render/lib/puck/blocks/general/Countdown/render.d.ts +1 -2
  1132. package/dist/render/lib/puck/blocks/general/Countdown/render.js +1 -1
  1133. package/dist/render/lib/puck/blocks/general/CustomHTML/render.d.ts +1 -2
  1134. package/dist/render/lib/puck/blocks/general/CustomHTML/render.js +1 -1
  1135. package/dist/render/lib/puck/blocks/general/Divider/render.d.ts +1 -2
  1136. package/dist/render/lib/puck/blocks/general/Divider/render.js +1 -1
  1137. package/dist/render/lib/puck/blocks/general/DocBody/render.d.ts +1 -2
  1138. package/dist/render/lib/puck/blocks/general/DocBody/render.js +1 -1
  1139. package/dist/render/lib/puck/blocks/general/DocMasthead/render.d.ts +1 -2
  1140. package/dist/render/lib/puck/blocks/general/DocMasthead/render.js +1 -1
  1141. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.d.ts +1 -2
  1142. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.js +1 -1
  1143. package/dist/render/lib/puck/blocks/general/DocTabs/render.d.ts +1 -2
  1144. package/dist/render/lib/puck/blocks/general/DocTabs/render.js +1 -1
  1145. package/dist/render/lib/puck/blocks/general/Eyebrow/render.d.ts +1 -2
  1146. package/dist/render/lib/puck/blocks/general/Eyebrow/render.js +1 -1
  1147. package/dist/render/lib/puck/blocks/general/FAQ/render.d.ts +1 -2
  1148. package/dist/render/lib/puck/blocks/general/FAQ/render.js +1 -1
  1149. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.d.ts +1 -2
  1150. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.js +1 -1
  1151. package/dist/render/lib/puck/blocks/general/Flex/render.d.ts +1 -2
  1152. package/dist/render/lib/puck/blocks/general/Flex/render.js +1 -1
  1153. package/dist/render/lib/puck/blocks/general/Footprint/render.d.ts +1 -2
  1154. package/dist/render/lib/puck/blocks/general/Footprint/render.js +1 -1
  1155. package/dist/render/lib/puck/blocks/general/Grid/render.d.ts +1 -2
  1156. package/dist/render/lib/puck/blocks/general/Grid/render.js +1 -1
  1157. package/dist/render/lib/puck/blocks/general/Heading/render.d.ts +1 -2
  1158. package/dist/render/lib/puck/blocks/general/Heading/render.js +1 -1
  1159. package/dist/render/lib/puck/blocks/general/Hero/render.d.ts +1 -2
  1160. package/dist/render/lib/puck/blocks/general/Hero/render.js +1 -1
  1161. package/dist/render/lib/puck/blocks/general/HeroGroup/render.d.ts +1 -2
  1162. package/dist/render/lib/puck/blocks/general/HeroGroup/render.js +1 -1
  1163. package/dist/render/lib/puck/blocks/general/HeroSingle/render.d.ts +1 -2
  1164. package/dist/render/lib/puck/blocks/general/HeroSingle/render.js +1 -1
  1165. package/dist/render/lib/puck/blocks/general/HeroSlide/render.d.ts +1 -2
  1166. package/dist/render/lib/puck/blocks/general/HeroSlide/render.js +1 -1
  1167. package/dist/render/lib/puck/blocks/general/ImageBlock/render.d.ts +1 -2
  1168. package/dist/render/lib/puck/blocks/general/ImageBlock/render.js +1 -1
  1169. package/dist/render/lib/puck/blocks/general/Integrations/render.d.ts +1 -2
  1170. package/dist/render/lib/puck/blocks/general/Integrations/render.js +1 -2
  1171. package/dist/render/lib/puck/blocks/general/IntroBleed/render.d.ts +1 -2
  1172. package/dist/render/lib/puck/blocks/general/IntroBleed/render.js +1 -1
  1173. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.d.ts +1 -2
  1174. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.js +1 -1
  1175. package/dist/render/lib/puck/blocks/general/LogoBlock/render.d.ts +1 -2
  1176. package/dist/render/lib/puck/blocks/general/LogoBlock/render.js +1 -1
  1177. package/dist/render/lib/puck/blocks/general/Logos/render.d.ts +1 -2
  1178. package/dist/render/lib/puck/blocks/general/Logos/render.js +1 -1
  1179. package/dist/render/lib/puck/blocks/general/LongRead/render.d.ts +1 -2
  1180. package/dist/render/lib/puck/blocks/general/LongRead/render.js +1 -1
  1181. package/dist/render/lib/puck/blocks/general/Manifesto/render.d.ts +1 -2
  1182. package/dist/render/lib/puck/blocks/general/Manifesto/render.js +1 -1
  1183. package/dist/render/lib/puck/blocks/general/Masthead/render.d.ts +1 -2
  1184. package/dist/render/lib/puck/blocks/general/Masthead/render.js +1 -1
  1185. package/dist/render/lib/puck/blocks/general/Mockup/render.d.ts +1 -2
  1186. package/dist/render/lib/puck/blocks/general/Mockup/render.js +1 -2
  1187. package/dist/render/lib/puck/blocks/general/OrderSummary/render.d.ts +1 -2
  1188. package/dist/render/lib/puck/blocks/general/OrderSummary/render.js +1 -1
  1189. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.d.ts +1 -2
  1190. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.js +1 -1
  1191. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.d.ts +1 -2
  1192. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.js +1 -1
  1193. package/dist/render/lib/puck/blocks/general/PostCard/render.d.ts +1 -2
  1194. package/dist/render/lib/puck/blocks/general/PostCard/render.js +1 -1
  1195. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.d.ts +1 -2
  1196. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.js +1 -1
  1197. package/dist/render/lib/puck/blocks/general/Prose/render.d.ts +1 -2
  1198. package/dist/render/lib/puck/blocks/general/Prose/render.js +1 -1
  1199. package/dist/render/lib/puck/blocks/general/SectionHeader/render.d.ts +1 -2
  1200. package/dist/render/lib/puck/blocks/general/SectionHeader/render.js +1 -1
  1201. package/dist/render/lib/puck/blocks/general/Series/render.d.ts +1 -2
  1202. package/dist/render/lib/puck/blocks/general/Series/render.js +1 -1
  1203. package/dist/render/lib/puck/blocks/general/Spacer/render.d.ts +1 -2
  1204. package/dist/render/lib/puck/blocks/general/Spacer/render.js +1 -1
  1205. package/dist/render/lib/puck/blocks/general/SpecStrip/render.d.ts +1 -2
  1206. package/dist/render/lib/puck/blocks/general/SpecStrip/render.js +1 -1
  1207. package/dist/render/lib/puck/blocks/general/Split/render.d.ts +1 -2
  1208. package/dist/render/lib/puck/blocks/general/Split/render.js +1 -1
  1209. package/dist/render/lib/puck/blocks/general/Stats/render.d.ts +1 -2
  1210. package/dist/render/lib/puck/blocks/general/Stats/render.js +1 -1
  1211. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.d.ts +1 -2
  1212. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.js +1 -1
  1213. package/dist/render/lib/puck/blocks/general/Testimonials/render.d.ts +1 -2
  1214. package/dist/render/lib/puck/blocks/general/Testimonials/render.js +1 -1
  1215. package/dist/render/lib/puck/blocks/general/Text/render.d.ts +1 -2
  1216. package/dist/render/lib/puck/blocks/general/Text/render.js +1 -1
  1217. package/dist/render/lib/puck/blocks/general/Ticker/render.d.ts +1 -2
  1218. package/dist/render/lib/puck/blocks/general/Ticker/render.js +1 -1
  1219. package/dist/render/lib/puck/blocks/general/Timeline/render.d.ts +1 -2
  1220. package/dist/render/lib/puck/blocks/general/Timeline/render.js +1 -1
  1221. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.d.ts +1 -2
  1222. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.js +1 -1
  1223. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.d.ts +1 -2
  1224. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.js +1 -1
  1225. package/dist/render/lib/puck/blocks/general/render-config.d.ts +1 -8
  1226. package/dist/render/lib/puck/blocks/general/render-config.js +1 -1
  1227. package/dist/render/lib/puck/blocks/general/renders.d.ts +1 -58
  1228. package/dist/render/lib/puck/blocks/general/renders.js +1 -1
  1229. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.d.ts +1 -0
  1230. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.js +1 -0
  1231. package/dist/render/lib/puck/blocks/general/section-to-box-rows.d.ts +1 -0
  1232. package/dist/render/lib/puck/blocks/general/section-to-box-rows.js +1 -0
  1233. package/dist/render/lib/puck/blocks/scaffold.d.ts +1 -23
  1234. package/dist/render/lib/puck/blocks/scaffold.js +1 -1
  1235. package/dist/render/lib/puck/booking-preview.d.ts +1 -3
  1236. package/dist/render/lib/puck/booking-preview.js +1 -1
  1237. package/dist/render/lib/puck/editing-bridges.d.ts +1 -11
  1238. package/dist/render/lib/puck/editing-bridges.js +1 -1
  1239. package/dist/render/lib/puck/header-clearance.d.ts +1 -49
  1240. package/dist/render/lib/puck/header-clearance.js +1 -1
  1241. package/dist/render/lib/puck/header-ink.d.ts +1 -16
  1242. package/dist/render/lib/puck/header-ink.js +1 -1
  1243. package/dist/render/lib/puck/hero-media-parts.d.ts +1 -42
  1244. package/dist/render/lib/puck/hero-media-parts.js +1 -1
  1245. package/dist/render/lib/puck/migrate-legacy.d.ts +1 -2
  1246. package/dist/render/lib/puck/migrate-legacy.js +1 -1
  1247. package/dist/render/lib/puck/page-frame.d.ts +1 -34
  1248. package/dist/render/lib/puck/page-frame.js +1 -1
  1249. package/dist/render/lib/puck/page-render.d.ts +2 -6
  1250. package/dist/render/lib/puck/page-render.js +1 -1
  1251. package/dist/render/lib/puck/part-rows.d.ts +1 -15
  1252. package/dist/render/lib/puck/part-rows.js +1 -1
  1253. package/dist/render/lib/puck/part-styles.d.ts +1 -153
  1254. package/dist/render/lib/puck/part-styles.js +1 -2
  1255. package/dist/render/lib/puck/part-text.d.ts +1 -12
  1256. package/dist/render/lib/puck/part-text.js +1 -1
  1257. package/dist/render/lib/puck/passes/borders.d.ts +1 -2
  1258. package/dist/render/lib/puck/passes/borders.js +1 -1
  1259. package/dist/render/lib/puck/passes/cell-width.d.ts +1 -4
  1260. package/dist/render/lib/puck/passes/cell-width.js +1 -1
  1261. package/dist/render/lib/puck/passes/clickable-parts.d.ts +1 -2
  1262. package/dist/render/lib/puck/passes/clickable-parts.js +1 -1
  1263. package/dist/render/lib/puck/passes/corners.d.ts +1 -4
  1264. package/dist/render/lib/puck/passes/corners.js +1 -1
  1265. package/dist/render/lib/puck/passes/index.d.ts +1 -5
  1266. package/dist/render/lib/puck/passes/index.js +1 -1
  1267. package/dist/render/lib/puck/passes/section-anchor.d.ts +1 -2
  1268. package/dist/render/lib/puck/passes/section-anchor.js +1 -1
  1269. package/dist/render/lib/puck/passes/section-animation.d.ts +1 -2
  1270. package/dist/render/lib/puck/passes/section-animation.js +1 -1
  1271. package/dist/render/lib/puck/passes/section-height.d.ts +1 -2
  1272. package/dist/render/lib/puck/passes/section-height.js +1 -1
  1273. package/dist/render/lib/puck/passes/section-padding.d.ts +1 -9
  1274. package/dist/render/lib/puck/passes/section-padding.js +1 -1
  1275. package/dist/render/lib/puck/passes/section-sticky.d.ts +1 -3
  1276. package/dist/render/lib/puck/passes/section-sticky.js +1 -1
  1277. package/dist/render/lib/puck/passes/section-theme.d.ts +1 -3
  1278. package/dist/render/lib/puck/passes/section-theme.js +1 -1
  1279. package/dist/render/lib/puck/passes/section-width.d.ts +1 -18
  1280. package/dist/render/lib/puck/passes/section-width.js +1 -1
  1281. package/dist/render/lib/puck/render-registry.d.ts +1 -3
  1282. package/dist/render/lib/puck/render-registry.js +1 -1
  1283. package/dist/render/lib/puck/sanitize.d.ts +1 -1
  1284. package/dist/render/lib/puck/sanitize.js +1 -1
  1285. package/dist/render/lib/puck/selection-parent.d.ts +1 -12
  1286. package/dist/render/lib/puck/selection-parent.js +1 -1
  1287. package/dist/render/lib/puck/show-when.d.ts +1 -19
  1288. package/dist/render/lib/puck/show-when.js +1 -1
  1289. package/dist/render/lib/puck/slot-specs.d.ts +1 -8
  1290. package/dist/render/lib/puck/slot-specs.js +1 -1
  1291. package/dist/render/lib/puck/text-parts.d.ts +1 -42
  1292. package/dist/render/lib/puck/text-parts.js +1 -1
  1293. package/dist/render/lib/sections/section-to-box.d.ts +146 -0
  1294. package/dist/render/lib/sections/section-to-box.js +1 -0
  1295. package/dist/render/lib/text-styles/site-text-styles.d.ts +1 -1
  1296. package/dist/render/lib/text-styles/site-text-styles.js +1 -1
  1297. package/package.json +5 -5
@@ -0,0 +1,437 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ import type { MediaValue } from "../../../format/lib/media-value.js";
3
+ import { readHidable, hidableText, type HidableValue } from "efficient-easel/draw";
4
+ import { FOLD_FIELD_MARKER, LINK_FIELD_MARKER, MEDIA_FIELD_MARKER, SCAFFOLD_FIELD_MARKER, TEXT_FIELD_MARKER, foldMetaOf, textFieldIdentifier, type EdgeCell, type FoldFieldMeta, type TextFieldMeta, type TextListRendering } from "efficient-easel/draw";
5
+ import type { ShowWhenRule } from "../../../render/lib/document/show-when.js";
6
+ import { type HeroGroupPlacement } from "../../../format/lib/hero-group-placement.js";
7
+ import { type SettingsSidesValue, type SettingsBorderValue } from "efficient-easel/panel";
8
+ import { type AlignmentPoint, FOCAL_DEFAULT, type PositionValue } from "efficient-shell/ui";
9
+ import type { GeocodeState } from "../../../format/lib/content/contact.js";
10
+ import { type DirectionContainer } from "../../../format/lib/content/container-direction.js";
11
+ import { GAP_FIELD_CONTAINER, type GapContainer } from "../../../format/lib/content/container-gap.js";
12
+ import { type SectionBackground } from "../../../format/lib/content/section-background.js";
13
+ import { type TypeRole, type TypeSizeValue } from "../../../format/lib/content/section-type-size.js";
14
+ import { type WidthMode } from "../../../format/lib/content/section-width.js";
15
+ import type { Bucket, DesignGroup } from "./field-groups.js";
16
+ export declare function sharedStyleKinds<T extends Record<string, unknown>>(fields: T): T;
17
+ type SelectData = {
18
+ options: readonly SelectOption[];
19
+ fallback: string;
20
+ note?: string;
21
+ };
22
+ type Render<V> = (p: {
23
+ value: V;
24
+ onChange: (v: V) => void;
25
+ field: {
26
+ label?: string;
27
+ currentValue?: string;
28
+ inherited?: boolean;
29
+ siteGap?: number | null;
30
+ tabs?: readonly Bucket[] | null;
31
+ } & Partial<SelectData>;
32
+ storedValue?: unknown;
33
+ id?: string;
34
+ name?: string;
35
+ }) => ReactElement;
36
+ export type CustomField<V> = {
37
+ type: "custom";
38
+ render: Render<V>;
39
+ [GAP_FIELD_CONTAINER]?: GapContainer;
40
+ showWhen?: ShowWhenRule;
41
+ };
42
+ export declare function Label({ children }: {
43
+ children: ReactNode;
44
+ }): import("react").JSX.Element;
45
+ export declare function noGlyph(reason: string): ReactElement;
46
+ export declare function isNoGlyph(icon: ReactElement): boolean;
47
+ export declare function iconOf(icon: ReactElement): ReactElement | undefined;
48
+ export declare function backTo(value: string, from: string): string;
49
+ type MarkProps = {
50
+ changed?: boolean;
51
+ onReset?: () => void;
52
+ };
53
+ export declare function usePageWidthDetail(): string;
54
+ export declare function useSiteGapDetail(): string;
55
+ export declare function SiteGapDefaultReset({ inherited, onReset, label, }: {
56
+ inherited: boolean;
57
+ onReset: () => void;
58
+ label: string;
59
+ }): import("react").JSX.Element;
60
+ export declare function WidthDefaultReset({ inherited, onReset, label, }: {
61
+ inherited: boolean;
62
+ onReset: () => void;
63
+ label: string;
64
+ }): import("react").JSX.Element;
65
+ export { readHidable, hidableText, type HidableValue };
66
+ export declare function HidableTextField({ value, onChange, label, placeholder, hint, multiline, hideable, markup, }: {
67
+ value: HidableValue;
68
+ onChange: (v: HidableValue) => void;
69
+ label: string;
70
+ placeholder?: string;
71
+ hint?: string;
72
+ multiline?: boolean;
73
+ hideable?: boolean;
74
+ markup?: boolean;
75
+ }): import("react").JSX.Element;
76
+ export { TEXT_FIELD_MARKER, LINK_FIELD_MARKER, SCAFFOLD_FIELD_MARKER };
77
+ export { MEDIA_FIELD_MARKER, FOLD_FIELD_MARKER, foldMetaOf, textFieldIdentifier };
78
+ export type { FoldFieldMeta };
79
+ export declare function withScaffold<F extends object>(field: F, scaffold: unknown): F;
80
+ export declare function withOffPage<F extends object>(field: F): F;
81
+ export declare function textFieldOffPage(field: unknown): boolean;
82
+ export declare function withPanelOnly<F extends object>(field: F): F;
83
+ export declare function textFieldPanelOnly(field: unknown): boolean;
84
+ export declare function withIdentifier<F extends object>(field: F): F;
85
+ export { TEXT_CONTROL_KINDS, SCALAR_TEXT_CONTROLS, type TextControlKind, type ScalarTextControlKind } from "efficient-easel/draw";
86
+ export type { TextFieldMeta };
87
+ export declare function inOwnBox<F extends object>(field: F, render: (props: {
88
+ value?: unknown;
89
+ onChange: (v: string) => void;
90
+ }) => ReactElement): F;
91
+ export declare const BOUND_TO_POST_NOTE = "Everything else on this block comes from the linked post. Unlink it to edit by hand.";
92
+ export declare const BOUND_TO_POST: ShowWhenRule;
93
+ export declare const NOT_BOUND_TO_POST: ShowWhenRule;
94
+ export declare const HIGHLIGHT_HINT = "Select a word, then press the highlighter.";
95
+ export declare const hintIsWhileTyping: (hint: string) => boolean;
96
+ export declare function text(label: string, placeholder?: string, hint?: string): CustomField<HidableValue>;
97
+ export declare function textarea(label: string, placeholder?: string, hint?: string): CustomField<HidableValue>;
98
+ export declare function plainText(label: string, placeholder?: string, hint?: string): CustomField<HidableValue>;
99
+ export declare function copyText(label: string, placeholder?: string, hint?: string): CustomField<HidableValue>;
100
+ export declare function linkField(label: string): CustomField<HidableValue>;
101
+ export declare function plainTextarea(label: string, placeholder?: string, hint?: string): CustomField<HidableValue>;
102
+ export declare const BUCKET_ICONS: Record<Bucket, (props: {
103
+ size?: number;
104
+ }) => ReactElement>;
105
+ export declare function entriesHiddenForTab(buckets: readonly Bucket[], active: string): boolean | null;
106
+ export declare function group(label: string): CustomField<undefined>;
107
+ export declare function panelNote(text: string): CustomField<undefined>;
108
+ export declare function PanelNoteLine({ text }: {
109
+ text: string;
110
+ }): import("react").JSX.Element;
111
+ export declare function section(label: string): CustomField<undefined>;
112
+ export declare function isBucketHeader(field: unknown): boolean;
113
+ export declare function bucketHeader(bucket: Bucket, tabs: readonly Bucket[] | null): CustomField<undefined>;
114
+ export declare function designGroupHeader(group: DesignGroup): CustomField<undefined>;
115
+ export declare function foldTitleOf(field: unknown): string | null;
116
+ export declare function foldMarker<F>(field: F, title: string): F;
117
+ export declare function quietMarker<F>(field: F): F;
118
+ export declare function PanelBand({ title, children }: {
119
+ title: string;
120
+ children: ReactNode;
121
+ }): import("react").JSX.Element;
122
+ export declare function GroupLabel({ label }: {
123
+ label: string;
124
+ }): import("react").JSX.Element;
125
+ export declare function Swatches({ swatches, current, onPick, names, }: {
126
+ swatches: readonly string[];
127
+ current: string;
128
+ onPick: (next: string) => void;
129
+ names?: Readonly<Record<string, string>>;
130
+ }): import("react").JSX.Element;
131
+ export declare function backgroundField(label: string, builtIn: SectionBackground): CustomField<SectionBackground>;
132
+ export declare function cardImageBackgroundField(label: string, builtIn: string): CustomField<unknown>;
133
+ export declare function sectionThemeFields(readValue?: (v: unknown) => unknown, followLabel?: string): Record<string, CustomField<unknown>>;
134
+ export declare function Slider({ min, max, step, value, onChange, suffix, readout, notch, ariaLabel, disabled, }: {
135
+ min: number;
136
+ max: number;
137
+ step: number;
138
+ value: number;
139
+ onChange: (next: number) => void;
140
+ suffix?: string;
141
+ readout?: boolean;
142
+ notch?: number;
143
+ ariaLabel?: string;
144
+ disabled?: boolean;
145
+ }): import("react").JSX.Element;
146
+ export declare function slider(label: string, icon: ReactElement, min: number, max: number, step: number, fallback: number, suffix?: string, action?: (value: unknown, onChange: (v: unknown) => void) => ReactNode): CustomField<number>;
147
+ export declare function pxField(label: string, opts: {
148
+ min: number;
149
+ max: number;
150
+ step?: number;
151
+ unsetLabel?: string;
152
+ icon?: ReactElement;
153
+ hint?: ReactNode;
154
+ unsetMark?: ReactElement<MarkProps>;
155
+ restTrack?: (p: {
156
+ min: number;
157
+ max: number;
158
+ step: number;
159
+ px: number | null;
160
+ label: string;
161
+ onChange: (v: number) => void;
162
+ }) => ReactElement;
163
+ }): CustomField<number | null>;
164
+ export declare function gapField(container: GapContainer): CustomField<number | string>;
165
+ interface CornersRowTier {
166
+ sidesKey: string;
167
+ step?: number;
168
+ useFollowed: () => number;
169
+ useClosedReason?: () => string | null;
170
+ mark: ReactElement<MarkProps>;
171
+ hint: ReactNode;
172
+ }
173
+ export declare function cornersRowField(tier: CornersRowTier): CustomField<number | null>;
174
+ export declare function useSelectedSibling(key: string): [unknown, (next: unknown) => void];
175
+ export declare function cornerSidesField(): CustomField<string[] | null>;
176
+ export declare function sectionCornersField(): CustomField<number | null>;
177
+ export declare const SECTION_BLEEDS_HINT = "This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";
178
+ export declare function sectionShapeFields(): Record<string, unknown>;
179
+ export declare function sectionBorderField(tier: "desktop" | "mobile"): CustomField<SettingsBorderValue | undefined>;
180
+ export declare function sectionAnimationFields(): Record<string, unknown>;
181
+ export declare function cardCornersField(): CustomField<number | null>;
182
+ export declare function templateField<V>(inner: CustomField<V>): CustomField<V>;
183
+ export declare function cardShapeFields(): Record<string, unknown>;
184
+ export declare function boxJustifyField(): SelectField;
185
+ export declare function boxAlignField(): SelectField;
186
+ export declare function boxWrapField(): SelectField;
187
+ export declare function boxShareField(): CustomField<string>;
188
+ export declare function boxBlockSpacingField(): SelectField;
189
+ export declare function boxPhoneRowField(): CustomField<number>;
190
+ export declare function directionField(container: DirectionContainer): CustomField<string>;
191
+ export declare function sizeField(label: string, min: number, max: number, step: number, fallback: number, role: TypeRole): CustomField<TypeSizeValue>;
192
+ export declare function cellWidthFields(): Record<string, unknown>;
193
+ export declare function useSelectedProps(): Record<string, unknown>;
194
+ export declare function phoneOverrideField(opts: {
195
+ label: string;
196
+ desktopKey: string;
197
+ icon: ReactElement;
198
+ min: number;
199
+ max: number;
200
+ step: number;
201
+ fallback: number;
202
+ }): CustomField<number | null>;
203
+ export declare function phoneChoiceField<V extends string>(opts: {
204
+ label: string;
205
+ icon: ReactElement;
206
+ options: {
207
+ label: string;
208
+ value: V;
209
+ picture?: ReactElement;
210
+ }[];
211
+ desktopKey: string;
212
+ resolve: (stored: unknown, desktop: unknown) => V;
213
+ }): CustomField<V | undefined>;
214
+ export declare function PhoneChoiceStrip<V extends string>({ label, icon, options, value, resolved, restWord, onChange, }: {
215
+ label: string;
216
+ icon: ReactElement;
217
+ options: {
218
+ label: string;
219
+ value: V;
220
+ picture?: ReactElement;
221
+ }[];
222
+ value: V | undefined;
223
+ resolved: V;
224
+ restWord: string;
225
+ onChange: (next: V | undefined) => void;
226
+ }): import("react").JSX.Element;
227
+ export declare function PhoneChoiceRow<V extends string>({ label, icon, options, desktopKey, resolve, value, onChange, }: {
228
+ label: string;
229
+ icon: ReactElement;
230
+ options: {
231
+ label: string;
232
+ value: V;
233
+ picture?: ReactElement;
234
+ }[];
235
+ desktopKey: string;
236
+ resolve: (stored: unknown, desktop: unknown) => V;
237
+ value: V | undefined;
238
+ onChange: (next: V | undefined) => void;
239
+ }): import("react").JSX.Element;
240
+ export declare function spacingFields(opts?: {
241
+ top?: number;
242
+ bottom?: number;
243
+ keys?: {
244
+ top: string;
245
+ bottom: string;
246
+ };
247
+ group?: boolean;
248
+ only?: "top";
249
+ phone?: boolean;
250
+ sides?: boolean;
251
+ side?: number;
252
+ sidePhone?: number;
253
+ sideBounds?: {
254
+ min: number;
255
+ max: number;
256
+ step: number;
257
+ };
258
+ }): Record<string, CustomField<undefined> | CustomField<number>>;
259
+ type PadSide = "top" | "right" | "bottom" | "left";
260
+ export declare const SIDE_PAD_KEYS: Record<PadSide, string>;
261
+ export declare function sidesPaddingPatch(keys: Record<PadSide, string>, before: SettingsSidesValue, next: SettingsSidesValue): Record<string, number | undefined>;
262
+ export type SidesPaddingOptions = {
263
+ keys?: Partial<Record<PadSide, string>>;
264
+ phone?: boolean;
265
+ fallback?: Partial<Record<PadSide, number>>;
266
+ group?: boolean;
267
+ min?: number;
268
+ max?: number;
269
+ step?: number;
270
+ };
271
+ export declare function sidesPaddingFields(opts?: SidesPaddingOptions): Record<string, CustomField<undefined> | CustomField<number>>;
272
+ type PositionKeys = {
273
+ x: string;
274
+ y: string;
275
+ };
276
+ export declare function positionPatch(keys: PositionKeys, before: PositionValue, next: PositionValue): Record<string, number | undefined>;
277
+ export type PositionOptions = {
278
+ keys: PositionKeys;
279
+ min: number;
280
+ max: number;
281
+ step?: number;
282
+ label?: string | null;
283
+ };
284
+ export declare function positionFields(o: PositionOptions): Record<string, CustomField<number>>;
285
+ export declare function widthField(defaultMode: WidthMode, modes?: readonly WidthMode[], inheritable?: boolean): Record<string, CustomField<undefined> | CustomField<string> | CustomField<number>>;
286
+ export declare function heightFields(): Record<string, CustomField<undefined> | CustomField<string> | CustomField<number>>;
287
+ export declare function stickFields(): Record<string, CustomField<undefined> | CustomField<boolean> | CustomField<number>>;
288
+ export declare function anchorFields(): Record<string, CustomField<undefined> | CustomField<HidableValue>>;
289
+ export declare function dateTime(label: string, icon?: ReactNode, hint?: string): CustomField<string>;
290
+ export declare function toggle(label: string, fallback: boolean, icon?: ReactNode): CustomField<boolean>;
291
+ export declare function pageBackgroundField(): CustomField<string>;
292
+ export declare function checkbox(label: string, fallback: boolean): CustomField<boolean>;
293
+ export type FollowsSiteButton = {
294
+ follows: "fill" | "ink";
295
+ };
296
+ export declare const FOLLOWS_SITE_BUTTON: FollowsSiteButton;
297
+ export declare const FOLLOWS_SITE_BUTTON_INK: FollowsSiteButton;
298
+ export declare function colorInput(label: string, fallback: string | FollowsSiteButton, icon?: ReactElement): CustomField<string>;
299
+ export declare const FOCAL_POINTS: {
300
+ value: string;
301
+ label: string;
302
+ }[];
303
+ export { FOCAL_DEFAULT };
304
+ export declare function FocalPicker({ label, value, onChange, points, }: {
305
+ label: string;
306
+ value: string;
307
+ onChange: (next: string) => void;
308
+ points?: readonly AlignmentPoint[];
309
+ }): import("react").JSX.Element;
310
+ export declare function focusKeptField(): CustomField<string>;
311
+ export interface PlacementFieldOptions {
312
+ stacking: boolean;
313
+ fallback?: HeroGroupPlacement;
314
+ }
315
+ export declare function placementField(label: string, { stacking, fallback }: PlacementFieldOptions): CustomField<string>;
316
+ export declare function PlacementGridView({ label, value, onChange, points, }: {
317
+ label: string;
318
+ value: string;
319
+ onChange: (next: string) => void;
320
+ points: readonly {
321
+ value: string;
322
+ label: string;
323
+ disabled?: boolean;
324
+ title?: string;
325
+ }[];
326
+ }): import("react").JSX.Element;
327
+ export type { EdgeCell };
328
+ export declare const EDGE_ARROWS: Record<EdgeCell, ReactNode>;
329
+ export declare function edgePad(label: string, options: readonly {
330
+ label: string;
331
+ value: string;
332
+ cell: EdgeCell;
333
+ }[], fallback: string, hint: string, glyph: ReactNode, icons?: Partial<Record<EdgeCell, ReactNode>>): CustomField<string>;
334
+ export interface SelectOption {
335
+ value: string;
336
+ label: string;
337
+ }
338
+ export type SelectField = CustomField<string> & SelectData;
339
+ export declare function select(label: string, icon: ReactElement, options: readonly SelectOption[], fallback: string, note?: string): SelectField;
340
+ export type MultiSelectFieldType = CustomField<string[]> & {
341
+ options: readonly SelectOption[];
342
+ };
343
+ export declare function multiSelect(label: string, options: readonly SelectOption[], emptyLabel?: string): MultiSelectFieldType;
344
+ export declare function searchSelect(label: string, options: readonly SelectOption[], fallback: string, placeholder?: string): SelectField;
345
+ export declare function sourceField<V, E extends object = Record<never, never>>(Component: (props: {
346
+ value: V;
347
+ onChange: (v: V) => void;
348
+ } & E) => ReactElement, extra?: E): CustomField<V>;
349
+ export declare function Segmented<V = string>({ options, value, onChange, ariaLabel, disabled, }: {
350
+ options: readonly {
351
+ label: string;
352
+ value: V;
353
+ title?: string;
354
+ picture?: ReactElement;
355
+ }[];
356
+ value: V;
357
+ onChange: (next: V) => void;
358
+ ariaLabel: string;
359
+ disabled?: boolean;
360
+ }): import("react").JSX.Element;
361
+ export declare const MEDIA_TYPE_OPTIONS: {
362
+ label: string;
363
+ value: "image" | "video";
364
+ }[];
365
+ export declare function segmented(label: string, icon: ReactElement, options: (string | {
366
+ label: string;
367
+ value: string;
368
+ picture?: ReactElement;
369
+ })[], fallback: string): CustomField<string>;
370
+ export declare function segmented<V>(label: string, icon: ReactElement, options: {
371
+ label: string;
372
+ value: V;
373
+ picture?: ReactElement;
374
+ }[], fallback: V): CustomField<V>;
375
+ export declare function upload(label: string, accept: string, placeholder?: string, opts?: {
376
+ focus?: string;
377
+ focusWhen?: (props: Record<string, unknown>) => boolean;
378
+ }): CustomField<MediaValue>;
379
+ export declare const CUSTOM_FIELD_MEDIA: Record<string, string[]>;
380
+ export declare function CoordsField({ value, onChange, label, }: {
381
+ value: GeocodeState | undefined;
382
+ onChange: (v: GeocodeState) => void;
383
+ label: string;
384
+ }): import("react").JSX.Element;
385
+ export declare function rowText(items: {
386
+ text?: string;
387
+ }[], focused: number | null): string;
388
+ export declare function setRowText(items: {
389
+ text?: string;
390
+ }[], focused: number | null, text: string): {
391
+ text: string;
392
+ }[];
393
+ export declare function focusAfterRemove(focused: number | null, removed: number): number | null;
394
+ export declare function aimAfterListChange(prev: readonly object[], next: readonly object[], focused: number | null): number | null;
395
+ export type { TextListRendering };
396
+ export declare const TICKER_ITEMS_ROW: {
397
+ readonly label: "Ticker items";
398
+ readonly icon: import("react").JSX.Element;
399
+ };
400
+ export declare function textList(label: string, icon: ReactElement, placeholder: string, rendering: TextListRendering): CustomField<{
401
+ text?: string;
402
+ }[]>;
403
+ export declare function TextListField({ label, icon, items, placeholder, onChange, markup, }: {
404
+ label: string;
405
+ icon?: ReactNode;
406
+ items: {
407
+ text?: string;
408
+ }[];
409
+ placeholder: string;
410
+ onChange: (next: {
411
+ text: string;
412
+ }[]) => void;
413
+ markup?: boolean;
414
+ }): import("react").JSX.Element;
415
+ export declare function textListRowField(meta: TextFieldMeta, index: number): CustomField<HidableValue>;
416
+ export declare function cardMediaFields(opts?: {
417
+ coverHint?: string;
418
+ spinDefault?: boolean;
419
+ }): Record<string, CustomField<unknown>>;
420
+ export declare function cardStyleFields(): Record<string, CustomField<unknown>>;
421
+ export interface CardShowDefaults {
422
+ showCardSizes: boolean;
423
+ showCardBuy: boolean;
424
+ showCardPage: boolean;
425
+ }
426
+ export declare function cardShowFields(opts?: {
427
+ bottomDefault: boolean;
428
+ } | {
429
+ defaults: CardShowDefaults;
430
+ }): Record<string, CustomField<unknown>>;
431
+ export declare function displayFields(parts: readonly {
432
+ id: string;
433
+ label: string;
434
+ }[], key?: string): Record<string, CustomField<unknown>>;
435
+ export declare function cardImageField(): CustomField<number | null>;
436
+ export declare function imageCornersField(): CustomField<number | null>;
437
+ export declare function galleryLayoutField(): CustomField<string>;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as r,jsxs as O,Fragment as I}from"react/jsx-runtime";import{cloneElement as ge,useId as yt,useRef as re,useState as U}from"react";import{useEasel as j,useSelectedFields as ie}from"efficient-easel/easel";import{say as l,editorEaselWords as x}from"../../../format/lib/editor-words.js";import{readHidable as be,hidableText as xe}from"efficient-easel/draw";import{FOLD_FIELD_MARKER as q,LINK_FIELD_MARKER as ye,MEDIA_FIELD_MARKER as Se,SCAFFOLD_FIELD_MARKER as Ce,TEXT_FIELD_MARKER as E,foldMetaOf as le,textFieldIdentifier as St}from"efficient-easel/draw";import Ct from"../../components/ApplyCornersToSiblings.js";import _t from"../../components/TemplateFieldRow.js";import{CARD_IMAGE_RADIUS_STEP as It,CORNER_RADIUS_MAX as _e,CORNER_RADIUS_MIN as B}from"../../../format/lib/content/card-image-shape.js";import{IMAGE_CORNER_STEP as Et,IMAGE_CORNERS_LABEL as Tt}from"../../../format/lib/content/image-corners.js";import{GRID_MAX_COLUMNS as Ot}from"../../../format/lib/content/grid-span.js";import{GALLERY_ACROSS_BUCKETS as Rt,GALLERY_LAYOUTS as X,GALLERY_LAYOUT_KEYS as Ie}from"../../../format/lib/content/gallery-layout.js";import{anchorSiblingsOf as wt,HERO_GROUP_PLACEMENTS as Pt,HERO_GROUP_PLACEMENT_DEFAULT as kt,normalisePlacement as Lt,placementPoints as Ee}from"../../../format/lib/hero-group-placement.js";import Nt from"../../components/KeepHint.js";import vt from"../../components/AnchorField.js";import{AdjustIcon as At,AlignLeftIcon as Ft,EyeIcon as Dt,AlignSeparateIcon as Bt,AnimationIcon as Te,BackgroundIcon as Ht,BorderAllIcon as Gt,BlockSectionIcon as Mt,CartIcon as Kt,ColumnWidthsIcon as Oe,ColumnsIcon as Re,CornerIcon as Wt,DirectionDownIcon as Ut,DirectionLeftIcon as jt,DirectionRightIcon as Xt,DirectionUpIcon as $t,DollarIcon as zt,FinishIcon as Vt,GapIcon as we,GridIcon as Yt,GroundIcon as qt,HashIcon as Pe,HeightIcon as Jt,ImageIcon as Zt,ListIcon as Qt,LocationIcon as ae,NudgeIcon as en,PaddingAllIcon as tn,PaddingBottomIcon as ke,PaddingLeftIcon as Le,PaddingRightIcon as Ne,PaddingTopIcon as ve,PageIcon as Ae,PlacementIcon as nn,ProductSizeIcon as on,StickyIcon as rn,RotateIcon as ln,SquareIcon as an,TypeIcon as sn,WidthIcon as cn,WrapIcon as dn}from"efficient-easel/icons";import{FieldGlyph as Fe}from"../../components/FieldGlyph.js";import{resolvePageBackground as un}from"../../../format/lib/content/page-background.js";import{CORNER_SIDES as De,CORNER_SIDE_POINTS as pn,hasOwnSectionCorners as fn,normalizeCornerSides as Be}from"../../../format/lib/content/section-corners.js";import{SECTION_MOTION_NONE as hn,SECTION_MOTION_OPTIONS as mn}from"../../../format/lib/content/section-animation.js";import{enclosingSectionProps as He}from"./enclosing-section.js";import{SettingsDefaultReset as y,SettingsField as m,SettingsGroup as gn,SettingsGroupSub as bn,SettingsBorder as xn,SettingsSegmented as yn,SettingsSides as Sn,SettingsSidesEach as Ge,sidesStartEach as Cn,SettingsSwitch as Me,borderSides as _n,borderStartEach as In}from"efficient-easel/panel";import{FieldSelect as En,ListField as Tn}from"efficient-easel/fields";import{DisplayChips as On}from"efficient-shell/ui";import{desktopDisplayChanged as Rn,partShownOnDesktop as wn,partShownOnPhone as Pn,phoneDisplayChanged as kn,withDesktopPart as Ln,withPhonePart as Nn}from"../../../format/lib/content/part-display.js";import{AlignmentGrid as vn,Checkbox as An,CornersInput as Fn,DateTimePicker as Dn,FOCAL_DEFAULT as Bn,PictureTiles as Ke,PositionInput as Hn,Slider as Gn,Tooltip as We}from"efficient-shell/ui";import{ColourRow as Ue,InheritedColourRow as Mn}from"./ColourControl.js";import je from"./MarkupToolbar.js";import{deviceField as g}from"efficient-easel/screen/lib/document/device-fields";import{NO_CONTROL_FIELD as Kn,NoControlMark as J,noControlField as $}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{OWN_BOX_FIELD as Wn}from"../../../format/lib/document/own-box.js";import{PHONE_CLEAR as Un,resolvePhoneValue as se}from"../../../format/lib/document/phone-override.js";import{phoneKey as H}from"efficient-easel/draw";import{SuppressibleText as jn}from"./section-text-suppress.js";import{CARD_INDEX_OPTIONS as Xn,CARD_OUTLINE_OPTIONS as $n,DEFAULT_CARD_INDEX_FORMAT as zn,DEFAULT_CARD_OUTLINE as Vn}from"../../../format/lib/sections/product-card-style.js";import{COVER_INDEX_OPTIONS as Yn,DEFAULT_COVER_INDEX as qn}from"../../../format/lib/sections/card-cover-index.js";import{SCALAR_TEXT_CONTROLS as Jn}from"efficient-easel/draw";import Zn from"../../components/MediaUploadField.js";import Qn from"../../components/MultiSelectField.js";import eo from"../../components/SectionThemePicker.js";import to from"../../components/SearchSelectField.js";import no from"../../components/StorefrontLinkField.js";import{UiIcon as Xe}from"efficient-easel/draw/client";import{SECTION_PADDING as T}from"../../../format/lib/content/section-padding.js";import{hasPhoneHeight as oo,resolveSectionMinHeight as ro}from"../../../format/lib/content/section-min-height.js";import{SECTION_STICK_DISTANCE as Z,SECTION_STICK_LABEL as ce,hasPhoneStick as io,resolveSectionStick as lo}from"../../../format/lib/content/section-sticky.js";import{SECTION_MIN_HEIGHT as ao,SECTION_MIN_HEIGHT_GROUP_LABEL as z,SECTION_SCREEN_PCT as so}from"../../../format/lib/content/section-min-height.js";import{CONTAINER_DIRECTION_LABEL as co,containerDirectionPoints as uo,resolveContainerDirection as $e}from"../../../format/lib/content/container-direction.js";import{BOX_ALIGN_POINTS as po,BOX_BLOCK_SPACING_LABEL as fo,BOX_BLOCK_SPACING_POINTS as ze,BOX_JUSTIFY_POINTS as Ve,BOX_PHONE_ROW_LABEL as ho,BOX_PHONE_ROW_MAX as mo,BOX_PHONE_ROW_MIN as Ye,BOX_SHARE_LABEL as qe,BOX_SHARE_POINTS as de,BOX_WRAP_LABEL as go,BOX_WRAP_POINTS as Je}from"../../../format/lib/content/box-layout.js";import{usePreviewHeader as G}from"../../../render/components/PreviewHeaderContext.js";import{BORDER_MAX as bo}from"../../../format/lib/content/borders.js";import{DEFAULT_SURFACES as xo,normalizeTheme as yo,siteButtonPaint as So}from"../../../format/lib/theme.js";import{CONTAINER_GAP as ue,CONTAINER_GAP_BUILT_IN as Co,GAP_FIELD_CONTAINER as _o,hasOwnContainerGap as Io,resolveContainerGap as Eo}from"../../../format/lib/content/container-gap.js";import{CARD_IMAGE_BG_INHERIT as To,CARD_IMAGE_BG_OFF as Oo,CARD_IMAGE_BG_SWATCH_NAMES as Ro,CARD_IMAGE_BG_SWATCHES as wo,isCardImageBackgroundInheriting as Po,cardImageBackgroundChoice as ko,THEME_CARD_IMAGE_BG as Lo}from"../../../format/lib/content/card-image-background.js";import{SECTION_BG_INHERIT as No,SECTION_BG_SWATCHES as vo,SECTION_BG_SWATCH_NAMES as Ao,THEME_SECTION_BG as Fo,isSectionBackgroundInheriting as Do}from"../../../format/lib/content/section-background.js";import{SECTION_THEME_GROUP_LABEL as Bo}from"../../../format/lib/content/section-surface.js";import{TYPE_SIZE_FIXED as Ho,TYPE_SIZE_INHERIT as Go,isTypeSizeInheriting as Mo}from"../../../format/lib/content/section-type-size.js";import{SECTION_WIDTH_CHOICES as Ko,WIDTH_CHOICE_LABEL as Wo,WIDTH_INHERIT as Uo,resolveWidth as jo,sectionRunsFullWidth as Ze}from"../../../format/lib/content/section-width.js";import{useFoldHeadingLevel as Xo}from"./panel-heading-scope.js";import{withStyleKind as $o}from"efficient-easel/style-clipboard";import{useEaselSession as zo}from"efficient-easel/screen/lib/session-context";import{backendOf as Vo}from"../website-session.js";import{describedAs as R}from"../../../format/lib/host-document-bridge.js";function M(e){for(const[t,n]of Object.entries(e))n&&typeof n=="object"&&!le(n)&&$o(n,`section:${t}`);return e}function al({children:e}){return r("div",{className:"sf-field-label",children:typeof e=="string"?l(e):e})}function Qe(){return null}function Yo(e){if(!e.trim())throw new Error("noGlyph() needs a reason naming the ruling that decided it.");return r(Qe,{},e)}function qo(e){return e.type===Qe}function k(e){return qo(e)?void 0:e}function N(e,t){return l("{value} from {from}",{value:e,from:t})}function Jo(){const{appState:e}=j(i=>i),t=e.data.root?.props??{},{mode:n,pageWidth:o}=jo(t,"full");return n==="page"?N(`${o}px`,l("the page")):n==="contained"?N(l("Contained"),l("the page")):N(l("Full"),l("the page"))}function Zo(){const{blockGap:e}=G();return e===null?l("this container's own spacing"):N(`${e}px`,l("Styles"))}function Qo({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Zo(),onReset:t})}function er({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Jo(),onReset:t})}function v({value:e,onChange:t,label:n,placeholder:o,hint:i,multiline:a,hideable:c=!0,markup:s=!0}){const{text:d,hidden:u}=be(e),f=re(null),p=re(null),h=P=>t(c?{text:P,hidden:u}:P),b=()=>t({text:d,hidden:!u}),C=c&&u,w=yt(),_=i?ir(i)?r("span",{className:"sf-hint-keep sf-hint-while-typing",children:l(i)}):r(Nt,{children:l(i)}):void 0,Y=u?l("Show {label} on the slide",{label:l(n)}):l("Hide {label} on the slide",{label:l(n)});return r(m,{label:l(n),icon:r(sn,{}),htmlFor:w,className:C?"is-hidden":void 0,hint:_,action:c?r(We,{content:Y,children:r("button",{type:"button",className:"sf-field-eye","aria-pressed":u,"aria-label":Y,onClick:b,children:u?r(Xe,{name:"eye-off",size:14}):r(Xe,{name:"eye",size:14})})}):void 0,children:O("div",{className:"sf-copybox",children:[s&&r(je,{target:a?p:f,value:d,onChange:h}),a?r("textarea",{id:w,ref:p,value:d,placeholder:o===void 0?void 0:l(o),onChange:P=>h(P.target.value)}):r("input",{id:w,ref:f,type:"text",value:d,placeholder:o===void 0?void 0:l(o),onChange:P=>h(P.target.value)})]})})}function sl(e,t){return{...e,[Ce]:t}}function cl(e){const t=e[E];if(!t)throw new Error("withOffPage: the field holds no authored text");return{...e,[E]:{...t,offPage:!0}}}function dl(e){return!e||typeof e!="object"?!1:e[E]?.offPage===!0}const et="sfPanelOnly";function ul(e){if(!e[E])throw new Error("withPanelOnly: the field holds no authored text");return{...e,[et]:!0}}function pl(e){return!!e&&typeof e=="object"&&e[et]===!0}function fl(e){const t=e[E];if(!t)throw new Error("withIdentifier: the field holds no authored text");return{...e,[E]:{...t,identifier:!0}}}import{TEXT_CONTROL_KINDS as va,SCALAR_TEXT_CONTROLS as Aa}from"efficient-easel/draw";function hl(e,t){if(!e[E])throw new Error("inOwnBox: the field holds no authored text");const{[Kn]:o,...i}=e;return{...i,[Wn]:!0,render:t}}const tr=new Set(Jn),Q={type:"radio",options:[{value:!0},{value:!1}]},tt={text:{type:"object",objectFields:{text:{type:"text"},hidden:Q}},textarea:{type:"object",objectFields:{text:{type:"textarea"},hidden:Q}},plainText:{type:"text"},copyText:{type:"text"},plainTextarea:{type:"textarea"},textList:{type:"array",arrayFields:{text:{type:"text"}}}},A=(e,t)=>{const n=R({...t,[E]:e},{...tt[e.control],label:e.label});if(!tr.has(e.control))return n;const o=t.render;return{...$(n,"authored-copy"),render:i=>r(jn,{name:i.name,children:o(i)})}},ml="Everything else on this block comes from the linked post. Unlink it to edit by hand.",nr={field:"source.slug",set:!0},gl={not:nr},or="Select a word, then press the highlighter.",rr=new Set([or]),ir=e=>rr.has(e);function bl(e,t,n){return A({control:"text",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n})})}function xl(e,t,n){return A({control:"textarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,multiline:!0})})}function yl(e,t,n){return A({control:"plainText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,hideable:!1,markup:!1})})}function Sl(e,t,n){return A({control:"copyText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,hideable:!1})})}function Cl(e){return{type:"custom",[ye]:{label:e},...R({},{type:"text",label:e}),render:({value:t,onChange:n})=>r(no,{value:xe(t),onChange:n,label:e})}}function _l(e,t,n){return A({control:"plainTextarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,multiline:!0,hideable:!1})})}const Il={Design:At,Animation:Te};function El(e,t){return e.includes("Design")?t!=="Design":null}function nt(e,t){return{type:"custom",[q]:{label:e,level:t},marker:!0,fold:e,render:()=>r(I,{})}}function S(e){return nt(e,2)}function Tl(e){return{type:"custom",render:()=>r(lr,{text:e})}}function lr({text:e}){return r("p",{className:"sf-note",children:l(e)})}function Ol(e){return nt(e,1)}function Rl(e){return le(e)!==null&&e?.tabs!==void 0}const ot=new Map;function wl(e,t){const n=`${e}\0${t?t.join(""):""}`,o=ot.get(n)??{type:"custom",tabs:t,[q]:{label:e,level:1},bucket:e,marker:!0,render:()=>r(I,{})};return ot.set(n,o),o}const rt=new Map;function Pl(e){const t=rt.get(e)??{type:"custom",[q]:{label:e,level:1},designGroup:e,marker:!0,...e==="Content"?{}:{fold:e},render:()=>r(I,{})};return rt.set(e,t),t}function ar(e){const t=e;return t?.marker===!0&&typeof t.fold=="string"?t.fold:null}function kl(e,t){return ar(e)===t?e:{...e,marker:!0,fold:t,render:()=>r(I,{})}}function Ll(e){const t=e;if(t.marker===!0&&t.fold===void 0)return e;const{fold:n,...o}=e;return{...o,marker:!0,render:()=>r(I,{})}}function Nl({title:e,children:t}){const[n,o]=U(()=>!pe.has(e));return r(gn,{title:e,open:n,onToggle:i=>{o(i),i?pe.delete(e):pe.add(e)},children:t})}const pe=new Set;function vl({label:e}){return r(bn,{title:l(e),level:Xo(2)})}function it({swatches:e,current:t,onPick:n,names:o}){const i=e.find(s=>s.toLowerCase()===t.toLowerCase()),a=i?o?.[i]:void 0,c=a?l(a):t;return O("div",{className:"sf-swatches",children:[e.map(s=>{const d=o?.[s]?l(o[s]):s;return r(We,{content:d,children:r("button",{type:"button","aria-pressed":t.toLowerCase()===s.toLowerCase(),className:`sf-swatch ${t.toLowerCase()===s.toLowerCase()?"is-active":""}`,style:{background:s},onClick:()=>n(s),"aria-label":d})},s)}),r("span",{className:"sf-swatch-hex",children:c})]})}function Al(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=Do(n,t);return r(m,{label:l(e),icon:r(Ht,{}),changed:!i,action:r(y,{words:x()?.panel,label:l(e),changed:!i,detail:l("the theme's section background"),onReset:()=>o(No)}),children:it({swatches:vo,current:i?Fo:n??t??"",onPick:o,names:Ao})})}}}function sr(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=n,a=Po(i,t);return r(m,{label:l(e),icon:r(qt,{}),changed:!a,action:r(y,{words:x()?.panel,label:l(e),changed:!a,detail:l("the theme's image stage"),onReset:()=>o(To)}),children:it({swatches:wo,current:a?Lo:ko(i,t),onPick:o,names:Ro})})}}}function Fl(e=n=>n,t){return M({_gSectionTheme:S(Bo),sectionAccent:{type:"custom",render:({value:n,onChange:o})=>r(eo,{value:e(n),onChange:o,followLabel:t})}})}function K({min:e,max:t,step:n,value:o,onChange:i,suffix:a="",readout:c=!0,notch:s,ariaLabel:d,disabled:u=!1}){const f=s!==void 0&&Number.isFinite(s)&&s>=e&&s<=t;return r("div",{className:f?"sf-slider has-notch":"sf-slider",style:f?{"--sf-notch":(s-e)/(t-e)}:void 0,children:r(Gn,{min:e,max:t,step:n,value:o,suffix:a||void 0,showInput:c,label:d===void 0?void 0:l(d),disabled:u,size:"sm",boxSize:"md",className:"sf-slider-track",onChange:p=>{p!==null&&p!==o&&i(p)}})})}function W(e,t,n,o,i,a,c="",s){return{type:"custom",...R({},{type:"number",label:e}),render:d=>r(m,{label:l(e),icon:k(t),action:s?s("storedValue"in d?d.storedValue:d.value,d.onChange):void 0,children:K({min:n,max:o,step:i,value:typeof d.value=="number"?d.value:a,suffix:c,ariaLabel:e,onChange:d.onChange})})}}function lt(e,t){const{min:n,max:o,step:i=1,unsetLabel:a,hint:c,restTrack:s,unsetMark:d,icon:u}=t;return{type:"custom",render:({value:f,onChange:p})=>{const h=typeof f=="number"?f:null,b=h===null;return r(m,{label:l(e),icon:u?k(u):void 0,value:b?d||a===void 0?void 0:l(a):`${h}px`,changed:!b,action:d?ge(d,{changed:!b,onReset:()=>p(null)}):r(y,{words:x()?.panel,label:l(e),changed:!b,onReset:()=>p(null)}),hint:typeof c=="string"?l(c):c,children:s?s({min:n,max:o,step:i,px:h,label:e,onChange:p}):K({min:n,max:o,step:i,value:h??n,readout:!1,ariaLabel:e,onChange:p})})}}}function Dl(e){const t=W("Gap",r(we,{}),ue.min,ue.max,ue.step,Co[e],"px",(n,o)=>r(Qo,{inherited:!Io(e,n),onReset:()=>o(void 0),label:"Gap"}));return{type:"custom",[_o]:e,render:n=>t.render({...n,value:Eo(e,n.value,n.field?.siteGap),storedValue:n.value,onChange:o=>n.onChange(o)})}}const ee="Corners";function fe(e){return{type:"custom",render:({value:t,onChange:n})=>{const o=typeof t=="number"&&Number.isFinite(t)?t:null,i=o!==null;return r(m,{label:l(ee),icon:r(Wt,{}),changed:i,action:ge(e.mark,{changed:i,onReset:()=>n(null)}),hint:e.hint,children:r(cr,{tier:e,px:o,onRadius:n})})}}}function at(e){let t=null;try{t=ie()}catch{t=null}return[t?.values?.[e],n=>t?.onChange(e,n)]}function cr({tier:e,px:t,onRadius:n}){const o=e.useFollowed(),i=e.useClosedReason?e.useClosedReason():null,[a,c]=at(e.sidesKey),s=Be(a)??[...De];return r(Fn,{label:l(ee),value:s,corners:pn,onChange:d=>{const u=Be(d)??[];c(u.length===De.length?null:u)},radius:t,onRadiusChange:n,radiusMin:B,radiusMax:_e,radiusStep:e.step??1,radiusPlaceholder:String(o),disabled:i!==null,disabledReason:i??void 0})}function st(){return $({type:"custom",render:()=>r(J,{})},"always")}function dr({label:e,changed:t=!1,onReset:n=()=>{}}){const{cornerRadiusPx:o}=G(),i=typeof o=="number"?`${o}px`:l("not set");return r(y,{words:x()?.panel,label:l(e),changed:t,detail:o==null?l("the built-in corners"):N(i,l("Styles")),onReset:n})}function ur(){const{cornerRadiusPx:e}=G();return typeof e=="number"?e:B}function pr(){return fe({sidesKey:"sectionCornerSides",useFollowed:ur,useClosedReason:()=>dt()?l(ct):null,mark:r(dr,{label:ee}),hint:r(fr,{})})}const ct="This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";function dt(){return Ze(F())}function fr(){return r(I,{children:dt()?ct:"Follows Styles ▸ Basics ▸ Corners until you set a number here."})}function Bl(){return M({_gShape:S("Shape"),sectionCorners:pr(),sectionCornerSides:st(),sectionBorder:ut("desktop"),sectionBorderPhone:ut("mobile")})}const hr=()=>({width:l("Border width"),sides:{top:l("Border top"),right:l("Border right"),bottom:l("Border bottom"),left:l("Border left")},style:l("Border style"),styles:{solid:l("Solid"),dashed:l("Dashed"),dotted:l("Dotted")},color:l("Border color"),unit:"px"});function mr(e){const t=Object.fromEntries(Object.entries(e).filter(([,n])=>n!=null&&n!==""));return Object.keys(t).length?t:void 0}function gr(){let e;try{const t=yo(G().theme);e=t.themes[t.selected]?.line}catch{e=void 0}return e||xo.line}function br({value:e,onChange:t,tier:n}){const[o]=at("sectionBorder"),i=gr(),a=e&&typeof e=="object"?e:{},c=n==="mobile"?o&&typeof o=="object"?o:{}:{},[s,d]=U(()=>In(a,c)),u=hr();return r(m,{label:l("Border"),icon:r(Gt,{}),action:r(Ge,{each:s,label:l("Each side"),onChange:d}),children:r(xn,{label:l("Border"),value:a,each:s,onChange:f=>t(mr(f)),placeholder:{sides:_n(c),style:c.style??"solid",color:c.color||i},presets:[i],words:u,max:bo})})}function ut(e){return g(e,{type:"custom",render:({value:t,onChange:n})=>r(br,{value:t,onChange:n,tier:e})})}function Hl(){return{_gMotion:S("Motion"),sectionAnimation:me("Entrance",r(Te,{}),[...mn],hn)}}function he(){let e=null;try{const{appState:t,selectedItem:n}=j(i=>i),o=n?.props?.id?String(n.props.id):void 0;e=o?He(t?.data,o):null}catch{e=null}return e!==null&&Ze(e)}function pt(e){const{cornerRadiusPx:t}=G(),n=he(),o=typeof t=="number"?t:e;let i=null;try{const{appState:c,selectedItem:s}=j(u=>u),d=s?.props?.id?String(s.props.id):void 0;i=d?He(c?.data,d):null}catch{i=null}if(n||!i)return o;const a=i.sectionCorners;return fn(a)?a:o}function xr({label:e,changed:t=!1,onReset:n=()=>{}}){const o=he(),i=pt(B),a=o?"Site":"Section";return r(y,{words:x()?.panel,label:l(e),changed:t,detail:N(`${i}px`,o?l("Styles"):l("the section")),onReset:n})}function yr(){return r(I,{children:he()?l("The section is full width, so this card follows Styles ▸ Basics ▸ Corners."):l("Follows the section's Corners until you set a number here.")})}function Sr(){return fe({sidesKey:"cardCornerSides",useFollowed:()=>pt(B),mark:r(xr,{label:ee}),hint:r(yr,{})})}function Cr(){return{type:"custom",render:()=>r(Ct,{})}}function Gl(e){return{...e,render:t=>r(_t,{render:e.render,props:t})}}function Ml(){return{_gShape:S("Shape"),cardCorners:Sr(),cardCornerSides:st(),cardCornersApplyAll:Cr()}}function Kl(){return L("Justify",r(Bt,{}),Ve,Ve[0].value)}function Wl(){return L("Item alignment",r(Ft,{}),po,"stretch")}function Ul(){return L(go,r(dn,{}),Je,Je[0].value)}function jl(){return{type:"custom",render:({value:e,onChange:t})=>{const n=de.find(o=>o.value===e)??de[0];return r(m,{label:l(qe),icon:r(Oe,{}),value:l(n.label),children:r(Ke,{className:"sf-gallery-layouts",label:l(qe),value:n.value,onChange:t,options:de.map(o=>({value:o.value,label:l(o.label),picture:r("span",{className:"sf-gallery-pic",children:_r(o.weights).map((i,a)=>r("i",{style:{gridColumn:`span ${i}`}},a))})}))})})}}}function _r(e){if(!e)return[3,4];const t=e.reduce((n,o)=>n+o,0);return e.map(n=>Math.round(n/t*12))}function Xl(){return L(fo,r(we,{}),ze,ze[0].value)}function $l(){return g("mobile",W(ho,r(Re,{}),Ye,mo,1,Ye))}function zl(e){const t=me(co,Yo("`Direction` names how a container's children run — a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),uo(e),$e(e,void 0));return{type:"custom",render:n=>t.render({...n,value:$e(e,n.value),onChange:o=>n.onChange(o)})}}function Vl(e,t,n,o,i,a){return{type:"custom",render:({value:c,onChange:s})=>r(m,{label:l(e),icon:r(Fe,{noun:a}),action:r(y,{words:x()?.panel,label:l(e),changed:!Mo(c),detail:l("the Text style in Styles"),onReset:()=>s(Go),defaultAction:{onPress:()=>s(Ho),title:l("Keep this section's own built-in size"),icon:r(Mt,{})}}),children:K({min:t,max:n,step:o,value:typeof c=="number"?c:i,suffix:"px",ariaLabel:e,onChange:s})})}}function Yl(){return{_gCellWidth:S("Cell width"),gridSpan:L("Positions",r(Oe,{}),[{label:"Auto",value:""},...Array.from({length:Ot},(e,t)=>({label:t===0?"1 position":`${t+1} positions`,value:String(t+1)}))],"")}}function F(){let e=null;try{e=j(t=>t).selectedItem}catch{e=null}return e?.props??{}}function Ir({min:e,max:t,step:n,px:o,label:i,onChange:a,desktopKey:c,fallback:s}){const d=F()[c],u=se(void 0,d,s);return r(I,{children:K({min:e,max:t,step:n,value:se(o,d,s),readout:!1,ariaLabel:i,notch:u,onChange:a})})}function Er({label:e,desktopKey:t,fallback:n,changed:o=!1,onReset:i=()=>{}}){const a=F()[t],c=se(void 0,a,n);return r(y,{words:x()?.panel,label:l(e),changed:o,detail:l("{value} on desktop",{value:`${c}px`}),onReset:i})}function Tr(e){return lt(e.label,{icon:e.icon,min:e.min,max:e.max,step:e.step,unsetLabel:"Follows Desktop",unsetMark:r(Er,{label:e.label,desktopKey:e.desktopKey,fallback:e.fallback}),restTrack:t=>r(Ir,{...t,desktopKey:e.desktopKey,fallback:e.fallback})})}function ql(e){return{type:"custom",render:({value:t,onChange:n})=>r(Rr,{...e,value:t,onChange:n})}}function Or({label:e,icon:t,options:n,value:o,resolved:i,restWord:a,onChange:c}){const s=n.some(d=>d.value===o);return r(m,{label:l(e),icon:k(t),action:r(y,{words:x()?.panel,label:l(e),changed:s,detail:l("{value} on desktop",{value:l(a)}),onReset:()=>c(void 0)}),children:ne({options:n,value:s?o:i,onChange:d=>c(d),ariaLabel:e})})}function Rr({label:e,icon:t,options:n,desktopKey:o,resolve:i,value:a,onChange:c}){const s=F()[o],d=i(void 0,s),u=n.find(f=>f.value===d)?.label??"";return r(Or,{label:e,icon:t,options:n,value:a,resolved:d,restWord:u,onChange:c})}const wr={Top:"Padding top",Bottom:"Padding bottom",Left:"Padding left",Right:"Padding right"},Pr={Top:ve,Bottom:ke,Left:Le,Right:Ne},kr=e=>{const t=Pr[e];return r(t,{})};function Jl(e={}){const t=e.keys?.top??"sectionPaddingTop",n=e.keys?.bottom??"sectionPaddingBottom",o=e.group!==!1,i=_=>wr[_],a=_=>W(i("Top"),r(ve,{}),T.min,T.max,T.step,_,"px"),c=(_,Y,P,oe=T)=>g("mobile",Tr({label:i(_),icon:kr(_),desktopKey:Y,min:oe.min,max:oe.max,step:oe.step,fallback:P})),s=e.top??T.min,d=e.bottom??T.min,u="sectionPaddingLeft",f="sectionPaddingRight",p=e.sideBounds??T,h=e.side??p.min,b=e.sidePhone??h,C=e.phone===!0,w=_=>C?g("desktop",_):_;return M({...o?{_gSpacing:S("Padding")}:{},[t]:w(a(s)),...C?{[H(t)]:c("Top",t,s)}:{},...e.only==="top"?{}:{[n]:w(W(i("Bottom"),r(ke,{}),T.min,T.max,T.step,d,"px")),...C?{[H(n)]:c("Bottom",n,d)}:{}},...e.sides?{[u]:w(W(i("Left"),r(Le,{}),p.min,p.max,p.step,h,"px")),...C?{[H(u)]:c("Left",u,b,p)}:{},[f]:w(W(i("Right"),r(Ne,{}),p.min,p.max,p.step,h,"px")),...C?{[H(f)]:c("Right",f,b,p)}:{}}:{}})}const V=["top","right","bottom","left"],Lr={top:"sectionPaddingTop",right:"sectionPaddingRight",bottom:"sectionPaddingBottom",left:"sectionPaddingLeft"},ft=e=>typeof e=="number"?e:null;function Nr(e,t,n){const o={};for(const i of V)n[i]!==t[i]&&(o[e[i]]=n[i]??void 0);return o}function vr({tier:e,o:t}){let n=null;try{n=ie()}catch{n=null}const o=n?.values??{},i=e==="mobile"?t.phoneKeys:t.keys,a=Object.fromEntries(V.map(u=>[u,ft(o[i[u]])])),c=Object.fromEntries(V.map(u=>[u,String(e==="mobile"?ft(o[t.keys[u]])??t.fallback[u]:t.fallback[u])])),[s,d]=U(()=>Cn(a,c));return r(m,{label:l("Padding"),icon:r(tn,{}),action:r(Ge,{each:s,label:l("Each side"),onChange:d}),children:r(Sn,{label:l("Padding"),each:s,value:a,placeholder:c,min:t.min,max:t.max,step:t.step,onChange:u=>{const f=Nr(i,a,u);Object.keys(f).length&&n?.onChangeMany(f)},words:{sides:{top:l("Padding top"),right:l("Padding right"),bottom:l("Padding bottom"),left:l("Padding left")},vertical:l("Top and bottom"),horizontal:l("Left and right"),unit:"px"}})})}function Zl(e={}){const t={...Lr,...e.keys},n={keys:t,phoneKeys:Object.fromEntries(V.map(s=>[s,H(t[s])])),fallback:{top:0,right:0,bottom:0,left:0,...e.fallback},min:e.min??0,max:e.max??200,step:e.step??4},o=e.phone!==!1,i=s=>{const d={type:"custom",render:()=>r(vr,{tier:s,o:n})};return o?g(s,d):d},a=()=>$({type:"custom",render:()=>r(J,{})},"always"),c=V.filter(s=>s!=="top");return M({...e.group===!1?{}:{_gSpacing:S("Padding")},[n.keys.top]:i("desktop"),...o?{[n.phoneKeys.top]:i("mobile")}:{},...Object.fromEntries(c.map(s=>[n.keys[s],{...a(),reachedBy:n.keys.top}])),...o?Object.fromEntries(c.map(s=>[n.phoneKeys[s],g("mobile",a())])):{}})}const ht=e=>typeof e=="number"?e:null;function Ar(e,t,n){const o={};for(const i of["x","y"])n[i]!==t[i]&&(o[e[i]]=n[i]??void 0);return o}function Fr({o:e}){let t=null;try{t=ie()}catch{t=null}const n=t?.values??{},o={x:ht(n[e.keys.x]),y:ht(n[e.keys.y])},i=l(e.label??"Position"),a=!!(o.x||o.y),c=u=>{const f=Ar(e.keys,o,u);Object.keys(f).length&&t?.onChangeMany(f)},s=r(Hn,{label:i,value:o,onChange:c,words:{x:l("Left and right"),y:l("Up and down"),unit:"px"},placeholder:{x:"0",y:"0"},min:e.min,max:e.max,step:e.step??1}),d=r(y,{words:x()?.panel,label:i,changed:a,detail:"0 px, 0 px",onReset:()=>c({x:null,y:null})});return e.label===null?O("div",{className:"sf-position-line",children:[s,d]}):r(m,{label:i,icon:r(en,{}),changed:a,action:d,children:s})}function Ql(e){return{[e.keys.x]:{type:"custom",render:()=>r(Fr,{o:e})},[e.keys.y]:{...$({type:"custom",render:()=>r(J,{})},"always"),reachedBy:e.keys.x}}}const Dr={contained:"Contained",page:"Page",full:"Full"},te="Width";function ea(e,t=Ko,n=!0){const o=t.map(i=>({label:Wo[i]??Dr[i],value:i}));return M({...n?{_gWidth:S(te)}:{},widthMode:{type:"custom",render:({onChange:i,field:a})=>r(m,{label:l(te),icon:r(cn,{}),action:n?r(er,{inherited:a?.inherited??!1,onReset:()=>i(Uo),label:te}):void 0,children:ne({options:o,value:a?.currentValue||e,onChange:i,ariaLabel:te})})}})}function ta(){const e=o=>({type:"custom",render:({value:i,onChange:a})=>r(m,{label:z,icon:k(r(Jt,{})),action:o?o(a):void 0,children:ne({options:[{label:"Auto",value:"auto"},{label:"Fixed",value:"fixed"},{label:"Screen",value:"screen"}],value:["auto","fixed","screen"].includes(i)?i:"auto",onChange:a,ariaLabel:z})})}),t=()=>({type:"custom",render:({value:o,onChange:i,field:a})=>{const c=a?.unit==="%"?"%":"px",s=c==="%"?so:ao;return r("div",{className:"sf-field",children:K({min:s.min,max:s.max,step:s.step,value:typeof o=="number"?o:s.fallback,suffix:c,ariaLabel:z,onChange:i})})}}),n=()=>me("Unit",r(Pe,{}),[{label:"px",value:"px"},{label:"%",value:"%"}],"px");return M({_gHeight:S(z),sectionHeightMode:g("desktop",e()),sectionHeightValue:g("desktop",t()),sectionHeightUnit:g("desktop",n()),sectionHeightModePhone:g("mobile",e(o=>r(Br,{onClear:()=>o(void 0)}))),sectionHeightValuePhone:g("mobile",t()),sectionHeightUnitPhone:g("mobile",n())})}function Br({onClear:e}){const t=F(),n=oo(t),o=ro(t),i=l("{value} on desktop",{value:o.mode==="auto"?l("Auto"):`${o.value}${o.unit}`});return r(y,{words:x()?.panel,label:l(z),changed:n,detail:i,onReset:e})}function na(){const e=n=>({type:"custom",render:({value:o,onChange:i,id:a,name:c})=>r(Hr,{value:o,onChange:i,labelId:`${a??c??"stickTop"}-label`,phone:n})}),t=()=>({type:"custom",render:({value:n,onChange:o})=>r("div",{className:"sf-field",children:K({min:Z.min,max:Z.max,step:Z.step,value:typeof n=="number"?n:Z.fallback,suffix:"px",ariaLabel:l("Distance from top"),onChange:o})})});return{_gStick:S(ce),stickTop:g("desktop",e(!1)),stickTopDistance:g("desktop",t()),stickTopPhone:g("mobile",e(!0)),stickTopDistancePhone:g("mobile",t())}}function Hr({value:e,onChange:t,labelId:n,phone:o}){const i=F(),a=lo(i),c=o?a.phone:e===!0;return r(m,{label:l(ce),labelId:n,icon:k(r(rn,{})),action:O(I,{children:[o?r(y,{words:x()?.panel,label:l(ce),changed:io(i),detail:l("{value} on desktop",{value:a.desktop?`${a.desktopDistance}px`:l("Off")}),onReset:()=>t(void 0)}):null,r(Me,{checked:c,onChange:t,ariaLabelledBy:n})]})})}const mt="e.g. about";function oa(){return{_gAnchor:S("Anchor"),anchor:A({control:"plainText",label:"Name",placeholder:mt},{type:"custom",render:({value:e,onChange:t})=>r(vt,{value:e,onChange:t,nameBox:(n,o)=>r(v,{value:n,onChange:o,label:"Name",placeholder:mt,hideable:!1,markup:!1})})})}}function ra(e,t,n){return{type:"custom",render:({value:o,onChange:i,id:a,name:c})=>{const s=`${a??c??e}-datetime`,d=Date.parse(typeof o=="string"?o:"");return r(m,{label:l(e),icon:t,htmlFor:s,hint:n===void 0?void 0:l(n),children:r(Dn,{id:s,value:Number.isFinite(d)?new Date(d):null,onChange:u=>i(u?u.toISOString():"")})})}}}function D(e,t,n){return{type:"custom",...R({},{...Q,label:e}),render:({value:o,onChange:i,id:a,name:c})=>{const s=typeof o=="boolean"?o:t,d=`${a??c??e}-label`;return r(m,{label:l(e),labelId:d,icon:n,action:r(Me,{checked:s,onChange:i,ariaLabelledBy:d})})}}}function ia(){return{type:"custom",render:({value:e,onChange:t,id:n,name:o})=>{const i=`${String(n??o??"pageBackground")}-colour`;return r(Ue,{label:l("Background"),icon:r(Ae,{}),id:i,value:un(e),onChange:t})}}}function la(e,t){return{type:"custom",...R({},{...Q,label:e}),render:({value:n,onChange:o,id:i})=>{const a=typeof n=="boolean"?n:t,c=`${i??e}-checkbox`;return r(m,{label:l(e),htmlFor:c,className:"sf-checkbox",action:r(An,{id:c,checked:a,onChange:o})})}}}const aa={follows:"fill"},sa={follows:"ink"};function ca(e,t,n){if(typeof t!="string"){const o=t.follows;return{type:"custom",render:({value:i,onChange:a})=>r(Gr,{label:e,part:o,icon:n,value:i,onChange:a})}}return{type:"custom",render:({value:o,onChange:i})=>r(Ue,{label:l(e),icon:n,value:o||t,onChange:i})}}function Gr({label:e,part:t,icon:n,value:o,onChange:i}){const a=So(G().theme),c=t==="fill"?a.fill:a.ink;return r(Mn,{label:l(e),icon:n,value:o||"",inherited:c,resetTo:N(c.toUpperCase(),l("Styles")),onChange:i,onReset:()=>i("")})}const Mr=[{value:"0% 0%",label:"Top left"},{value:"50% 0%",label:"Top"},{value:"100% 0%",label:"Top right"},{value:"0% 50%",label:"Left"},{value:"50% 50%",label:"Center"},{value:"100% 50%",label:"Right"},{value:"0% 100%",label:"Bottom left"},{value:"50% 100%",label:"Bottom"},{value:"100% 100%",label:"Bottom right"}];function gt({label:e,value:t,onChange:n,points:o=Mr}){const i=o.map(a=>({...a,label:l(a.label),...a.title?{title:l(a.title)}:null}));return r(vn,{label:l(e),value:t,points:i,onChange:n})}function da(){return $({type:"custom",render:()=>r(J,{})},"always")}const Kr=Ee([]);function ua(e,{stacking:t,fallback:n=kt}){return{type:"custom",render:({value:o,onChange:i})=>{const a=Pt.includes(o)?o:n;return t?r(Wr,{label:e,value:a,onChange:i}):bt({label:e,value:a,onChange:i,points:Kr})}}}function Wr({label:e,value:t,onChange:n}){const{appState:o,selectedItem:i}=j(s=>s),a=i?.props?.id?String(i.props.id):void 0,c=a?wt(o?.data,a):[];return bt({label:e,value:t,onChange:n,points:Ee(c,a)})}function bt({label:e,value:t,onChange:n,points:o}){const i=o.find(a=>a.disabled);return r(m,{label:l(e),icon:r(nn,{}),hint:i?.title?l(i.title):void 0,children:gt({label:e,value:Lt(t),onChange:n,points:o})})}const pa={top:r($t,{}),right:r(Xt,{}),bottom:r(Ut,{}),left:r(jt,{})};function fa(e,t,n,o,i,a){const c=f=>t.find(p=>p.value===f),s=f=>({value:f,label:"",disabled:!0,title:o}),d=f=>{const p=t.find(b=>b.cell===f);if(!p)return s(`missing-${f}`);const h=a?.[f];return h?{value:p.value,label:p.label,icon:h}:{value:p.value,label:p.label}},u=[s("corner-top-left"),d("top"),s("corner-top-right"),d("left"),s("centre"),d("right"),s("corner-bottom-left"),d("bottom"),s("corner-bottom-right")];return{type:"custom",render:({value:f,onChange:p})=>{const h=t.some(b=>b.value===f)?f:n;return r(m,{label:l(e),icon:i,value:c(h)?.label?l(c(h).label):"",children:gt({label:e,value:h,onChange:p,points:u})})}}}const Ur="\0note";function L(e,t,n,o,i){return{type:"custom",options:n,fallback:o,...i?{note:i}:{},...R({},{type:"select",label:e}),render:({value:a,onChange:c,field:s})=>{const d=s.options??n,u=s.fallback??o,f=d.some(p=>p.value===a)?a:u;return r(m,{label:l(e),icon:k(t),children:r(En,{value:f,ariaLabel:l(e),onChange:c,options:[...i?[{label:l(i),value:Ur,disabled:!0}]:[],...d.map(p=>({label:l(p.label),value:p.value}))]})})}}}function ha(e,t,n){return{type:"custom",options:t,render:({value:o,onChange:i,field:a})=>r(Qn,{label:e,options:(a.options??t).map(c=>({...c,label:l(c.label)})),value:Array.isArray(o)?o:[],onChange:i,...n?{emptyLabel:l(n)}:{}})}}function ma(e,t,n,o){return{type:"custom",options:t,fallback:n,...R({},{type:"select",label:e}),render:({value:i,onChange:a,field:c})=>r(to,{label:e,options:(c.options??t).map(s=>({...s,label:l(s.label)})),fallback:c.fallback??n,value:i,onChange:a,placeholder:o===void 0?void 0:l(o)})}}function ga(e,t={}){return{type:"custom",render:({value:n,onChange:o})=>{const i={value:n,onChange:o,...t};return r(e,{...i})}}}function ne({options:e,value:t,onChange:n,ariaLabel:o,disabled:i=!1}){return r(yn,{options:e.map(a=>a.picture?{id:a.value,label:a.picture,title:l(a.title??a.label)}:{id:a.value,label:l(a.label),title:a.title===void 0?void 0:l(a.title)}),value:t,onChange:n,ariaLabel:l(o),disabled:i})}const ba=[{label:"Image",value:"image"},{label:"Video",value:"video"}];function me(e,t,n,o){const i=n.map(a=>typeof a=="string"?{label:a,value:a}:a);return{type:"custom",...R({},{type:"radio",label:e,options:i.map(a=>({value:a.value,label:a.label}))}),render:({value:a,onChange:c,field:s})=>r(m,{label:l(e),icon:k(t),children:ne({options:i,value:i.some(d=>d.value===a)?a:a||s?.currentValue||o,onChange:c,ariaLabel:e})})}}function xa(e,t,n,o={}){return{type:"custom",[Se]:!0,render:({value:i,onChange:a})=>r(Zn,{value:i||"",onChange:a,label:e,accept:t,placeholder:n,focusKey:o.focus,focusWhen:o.focusWhen})}}const ya={HeroSingle:["imageFocal"],ContactLocations:["locations[].photo"],ProcessSteps:["steps[].image"]};function Sa({value:e,onChange:t,label:n}){const o=e||{},i=!!o.pending,a=i?"var(--fg-dim, #888)":o.ok?"#1d9e75":"#d85a30",c=!!Vo(zo()).geocode,s=(d,u)=>t({...o,[d]:u===""?void 0:Number(u)});return O(m,{label:l(n),icon:r(ae,{}),children:[c&&O(I,{children:[r("button",{type:"button",disabled:i,onClick:()=>t({...o,pending:!0,ok:!1,status:"Finding…"}),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 10px",fontSize:13,cursor:i?"default":"pointer",opacity:i?.6:1,border:"1px solid var(--border-strong, #ccc)",borderRadius:6,background:"transparent",color:"inherit"},children:i?l("Finding…"):l("Find coordinates")}),o.status&&r("div",{style:{marginTop:6,fontSize:12,lineHeight:1.4,color:a},children:l(o.status)}),r("div",{style:{marginTop:6,fontSize:11,color:"var(--fg-dim, #999)"},children:l("Coordinates from OpenStreetMap")})]}),r("button",{type:"button",onClick:()=>t({...o,manual:!o.manual}),style:{marginTop:8,padding:0,border:"none",background:"none",font:"inherit",fontSize:12,color:"var(--sf-accent, #2563eb)",cursor:"pointer",textDecoration:"underline"},children:o.manual?l("Hide manual coordinates"):l("Enter coordinates manually")}),o.manual&&O("div",{style:{marginTop:8,display:"grid",gap:8},children:[r(m,{label:l("Latitude"),icon:r(ae,{}),children:r("input",{type:"number",step:"any",placeholder:l("e.g. {example}",{example:"34.0990198"}),value:typeof o.lat=="number"?o.lat:"",onChange:d=>s("lat",d.target.value)})}),r(m,{label:l("Longitude"),icon:r(ae,{}),children:r("input",{type:"number",step:"any",placeholder:l("e.g. {example}",{example:"-117.9842833"}),value:typeof o.lng=="number"?o.lng:"",onChange:d=>s("lng",d.target.value)})})]})]})}function jr(e,t){return t===null||t<0||t>=e.length?"":e[t]?.text??""}function Xr(e,t,n){const o=e.map(i=>({text:i?.text??""}));return t===null||t<0||t>=e.length?o:o.map((i,a)=>a===t?{text:n}:i)}function Ca(e,t){return e===null?null:t>e?e:null}function $r(e,t,n){if(n===null||n>=t.length)return null;for(let o=0;o<n;o+=1)if(e[o]!==t[o])return null;return e[n]!==t[n]&&t.includes(e[n])||e[n]!==t[n]&&t.length!==e.length?null:n}const _a={label:"Ticker items",icon:r(Qt,{})};function Ia(e,t,n,o){return{type:"custom",[E]:{control:"textList",label:e,placeholder:n,itemKey:"text",rendering:o},...R({},{...tt.textList,label:e}),render:({value:i,onChange:a})=>r(zr,{label:e,icon:k(t),items:Array.isArray(i)?i:[],placeholder:n,onChange:a,markup:o==="markup"})}}function zr({label:e,icon:t,items:n,placeholder:o,onChange:i,markup:a=!1}){const c=re(null),[s,d]=U(null),u=p=>p.map(h=>({text:h?.text??""})),f=p=>{const h=$r(n,p,s);h===null&&(c.current=null),d(h),i(u(p))};return r(Tn,{label:l(e),icon:t,noun:l("item"),items:n,onChange:f,newItem:()=>({text:""}),open:null,onOpen:()=>{},renderItem:()=>null,above:a?r(je,{target:c,value:jr(n,s),onChange:p=>i(Xr(n,s??-1,p)),disabled:s===null,label:s===null?l("Formatting — click a row first"):l("Formatting — row {n}",{n:s+1})}):void 0,renderRow:(p,h,b)=>r("input",{type:"text",className:a&&s===h?"sf-list-marking":void 0,value:p?.text??"",placeholder:l(o),"aria-label":l("{label} {n}",{label:l(e),n:h+1}),onChange:C=>b({text:C.target.value}),onFocus:C=>{c.current=C.currentTarget,d(h)}})})}function Ea(e,t){const n=`${e.label} — row ${t+1}`;return A({control:"plainText",label:n,placeholder:e.placeholder,offPage:e.offPage},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:l("{label} — row {n}",{label:l(e.label),n:t+1}),placeholder:e.placeholder,hideable:!1,markup:e.rendering==="markup"})})}function Ta(e){return{_gCards:S("Cards"),coverIndex:L("Cover image",r(Zt,{}),Yn,String(qn),e?.coverHint??"A card's opening picture — a card pinned to a finish keeps its own."),imageBackground:sr("Image background",Oo),cardImage:Yr(),spinOnHover:D("Rotate on hover",e?.spinDefault??!0,r(ln,{}))}}function Oa(){return{outline:L("Card outline",r(an,{}),$n,Vn),indexBadge:L("Card number",r(Pe,{}),Xn,zn),showBadge:D("Product badge",!0,r(Fe,{noun:"tag"}))}}function Ra(e){const t=e&&"bottomDefault"in e?e.bottomDefault:!0,n=e&&"defaults"in e?e.defaults:{showCardSizes:t,showCardBuy:t,showCardPage:t};return{_gShowOnCard:S("Show on a card"),showCardPrice:D("Price",!0,r(zt,{})),showCardFinishes:D("Finish swatches",!0,r(Vt,{})),showCardSizes:D("Sizes",n.showCardSizes,r(on,{})),showCardBuy:D("Buy button",n.showCardBuy,r(Kt,{})),showCardPage:D("Page button",n.showCardPage,r(Ae,{}))}}function wa(e,t="display"){const n=H(t);return{[t]:g("desktop",{type:"custom",render:({value:o,onChange:i})=>r(xt,{parts:e,changed:Rn(o),shown:a=>wn(o,a),onPress:(a,c)=>i(Ln(o,a,c)),onReset:()=>i(void 0)})}),[n]:g("mobile",{type:"custom",render:({value:o,onChange:i})=>r(Vr,{parts:e,desktopKey:t,value:o,onChange:i})})}}function xt({parts:e,changed:t,shown:n,onPress:o,onReset:i,detail:a}){const c=l("Display");return r(m,{label:c,icon:r(Dt,{}),changed:t,action:r(y,{words:x()?.panel,label:c,changed:t,detail:a,onReset:i}),children:r(On,{label:c,items:e.map(s=>({id:s.id,label:l(s.label),shown:n(s.id)})),onChange:o})})}function Vr({parts:e,desktopKey:t,value:n,onChange:o}){const i=F()[t];return r(xt,{parts:e,changed:kn(n),shown:a=>Pn(i,n,a),onPress:(a,c)=>o(Nn(n,a,c)),onReset:()=>o(Un),detail:l("the same as Desktop")})}function Yr(){return lt("Card image",{min:B,max:_e,step:It,hint:"Rounds the picture. The card's own corner is in Styles."})}function Pa(){return fe({sidesKey:"cornerSides",step:Et,useFollowed:()=>B,mark:r(qr,{label:Tt}),hint:l("Rounds the picture. Left alone it stays square.")})}function qr({label:e,changed:t=!1,onReset:n=()=>{}}){return r(y,{words:x()?.panel,label:l(e),changed:t,onReset:n})}function ka(){return{type:"custom",render:({value:e,onChange:t})=>r(Jr,{value:typeof e=="string"?e:"",onChange:t})}}function Jr({value:e,onChange:t}){const[n,o]=U(null),i=Ie.filter(c=>n===null||X[c].across===n),a=e&&e in X?X[e]:null;return O(I,{children:[r(m,{label:l("Photos in a row"),icon:r(Re,{}),children:O("div",{className:"sf-gallery-filter",children:[r("button",{type:"button","aria-pressed":n===null,onClick:()=>o(null),children:l("All")}),Rt.map(c=>r("button",{type:"button","aria-pressed":n===c,onClick:()=>o(c),children:c},c))]})}),r(m,{label:l("Layout"),icon:r(Yt,{}),value:a?l(a.label):l("Not chosen"),hint:l("{n} of {total} layouts",{n:i.length,total:Ie.length}),children:r(Ke,{className:"sf-gallery-layouts",label:l("Layout"),value:e,onChange:t,onClear:()=>t(""),options:i.map(c=>({value:c,label:l(X[c].label),picture:r("span",{className:"sf-gallery-pic",children:X[c].desktop.map(([s,d],u)=>r("i",{style:{gridColumn:`span ${s}`,gridRow:`span ${d}`}},u))})}))})})]})}export{nr as BOUND_TO_POST,ml as BOUND_TO_POST_NOTE,Il as BUCKET_ICONS,ya as CUSTOM_FIELD_MEDIA,Sa as CoordsField,pa as EDGE_ARROWS,Bn as FOCAL_DEFAULT,Mr as FOCAL_POINTS,q as FOLD_FIELD_MARKER,aa as FOLLOWS_SITE_BUTTON,sa as FOLLOWS_SITE_BUTTON_INK,gt as FocalPicker,vl as GroupLabel,or as HIGHLIGHT_HINT,v as HidableTextField,ye as LINK_FIELD_MARKER,al as Label,Se as MEDIA_FIELD_MARKER,ba as MEDIA_TYPE_OPTIONS,gl as NOT_BOUND_TO_POST,Nl as PanelBand,lr as PanelNoteLine,Rr as PhoneChoiceRow,Or as PhoneChoiceStrip,bt as PlacementGridView,Ce as SCAFFOLD_FIELD_MARKER,Aa as SCALAR_TEXT_CONTROLS,ct as SECTION_BLEEDS_HINT,Lr as SIDE_PAD_KEYS,ne as Segmented,Qo as SiteGapDefaultReset,K as Slider,it as Swatches,va as TEXT_CONTROL_KINDS,E as TEXT_FIELD_MARKER,_a as TICKER_ITEMS_ROW,zr as TextListField,er as WidthDefaultReset,$r as aimAfterListChange,oa as anchorFields,N as backTo,Al as backgroundField,Wl as boxAlignField,Xl as boxBlockSpacingField,Kl as boxJustifyField,$l as boxPhoneRowField,jl as boxShareField,Ul as boxWrapField,wl as bucketHeader,Sr as cardCornersField,sr as cardImageBackgroundField,Yr as cardImageField,Ta as cardMediaFields,Ml as cardShapeFields,Ra as cardShowFields,Oa as cardStyleFields,Yl as cellWidthFields,la as checkbox,ca as colorInput,Sl as copyText,st as cornerSidesField,fe as cornersRowField,ra as dateTime,Pl as designGroupHeader,zl as directionField,wa as displayFields,fa as edgePad,El as entriesHiddenForTab,Ca as focusAfterRemove,da as focusKeptField,kl as foldMarker,le as foldMetaOf,ar as foldTitleOf,ka as galleryLayoutField,Dl as gapField,S as group,ta as heightFields,xe as hidableText,ir as hintIsWhileTyping,k as iconOf,Pa as imageCornersField,hl as inOwnBox,Rl as isBucketHeader,qo as isNoGlyph,Cl as linkField,ha as multiSelect,Yo as noGlyph,ia as pageBackgroundField,Tl as panelNote,ql as phoneChoiceField,Tr as phoneOverrideField,ua as placementField,yl as plainText,_l as plainTextarea,Ql as positionFields,Ar as positionPatch,lt as pxField,Ll as quietMarker,be as readHidable,jr as rowText,ma as searchSelect,Ol as section,Hl as sectionAnimationFields,ut as sectionBorderField,pr as sectionCornersField,Bl as sectionShapeFields,Fl as sectionThemeFields,me as segmented,L as select,Xr as setRowText,M as sharedStyleKinds,Zl as sidesPaddingFields,Nr as sidesPaddingPatch,Vl as sizeField,W as slider,ga as sourceField,Jl as spacingFields,na as stickFields,Gl as templateField,bl as text,St as textFieldIdentifier,dl as textFieldOffPage,pl as textFieldPanelOnly,Ia as textList,Ea as textListRowField,xl as textarea,D as toggle,xa as upload,Jo as usePageWidthDetail,F as useSelectedProps,at as useSelectedSibling,Zo as useSiteGapDetail,ea as widthField,fl as withIdentifier,cl as withOffPage,ul as withPanelOnly,sl as withScaffold};
@@ -0,0 +1 @@
1
+ export declare function enclosingSectionProps(data: unknown, id: string): Record<string, unknown> | null;
@@ -0,0 +1 @@
1
+ function f(r,n){const t=r?.content;if(!Array.isArray(t))return null;for(const o of t){if(!o||typeof o!="object")continue;const e=o.props;if(e?.id===n)return null;if(s(o,n,0))return e??{}}return null}function s(r,n,t){if(t>12||!r||typeof r!="object")return!1;if(Array.isArray(r))return r.some(e=>s(e,n,t+1));const o=r.props;return o&&typeof o=="object"&&o.id===n?!0:Object.values(r).some(e=>s(e,n,t+1))}export{f as enclosingSectionProps};
@@ -0,0 +1,7 @@
1
+ export declare function pinnedReach(node: {
2
+ type?: string;
3
+ }): string | null;
4
+ export declare const noOwnTab: () => string | null;
5
+ export declare const everyPageNotice: () => string;
6
+ export declare function websiteDuplicateBlocked(data: unknown, item: unknown): string | null;
7
+ export declare const EVERY_PAGE_PHRASES: readonly string[];
@@ -0,0 +1 @@
1
+ import{say as e}from"../../../format/lib/editor-words.js";import{FOOTER_TYPE as h,HEADER_TYPE as c}from"./footer-blocks.js";import{duplicateBlocked as p}from"../../../format/lib/hero-group-placement.js";import{groupDuplicateRefusal as l,SITE_FOOTER_TYPE as f,SITE_HEADER_TYPE as s}from"../../../format/lib/document/section-groups.js";function E(o){switch(o?.type){case s:case f:return e("On every page");case c:case h:return e("On every page · old style");default:return null}}const y=()=>null,g=()=>e("Changed on every page");function m(o,n){const r=p(o,n);if(r)return r;const t=l(o,n);if(!t)return null;const a=t.group===s;return t.why==="type"?a?e("The header cannot take another one of these"):e("The footer cannot take another one of these"):a?e("The header holds at most 3 sections"):e("The footer holds at most 6 sections")}const O=["On every page","On every page · old style","Changed on every page","The header cannot take another one of these","The footer cannot take another one of these","The header holds at most 3 sections","The footer holds at most 6 sections"];export{O as EVERY_PAGE_PHRASES,g as everyPageNotice,y as noOwnTab,E as pinnedReach,m as websiteDuplicateBlocked};
@@ -0,0 +1,34 @@
1
+ import { DESIGN_GROUPS, type DesignGroup } from "efficient-easel/panel";
2
+ import { BUCKET_KEY, DESIGN_GROUP_KEY, type Bucket } from "efficient-easel/screen/lib/document/field-buckets";
3
+ export declare const BUCKETS: readonly ["Design", "Animation"];
4
+ export type { Bucket };
5
+ export { DESIGN_GROUPS };
6
+ export type { DesignGroup };
7
+ export type Place = DesignGroup | "Animation";
8
+ export declare function bucketOfPlace(place: Place): Bucket;
9
+ export { BUCKET_KEY, DESIGN_GROUP_KEY };
10
+ export declare const EDITOR_ONLY_GROUP = "Editor only \u2014 not shown live";
11
+ export declare const LABEL_GROUP: Readonly<Record<string, Place>>;
12
+ export declare const KEY_GROUP: Readonly<Record<string, Place>>;
13
+ export declare const BLOCK_KEY_GROUP: Readonly<Record<string, Place>>;
14
+ export declare function placeOf(where: string, key: string, label: string): Place | undefined;
15
+ export declare function bucketOf(where: string, key: string, label: string): Bucket | undefined;
16
+ export declare function headerKeysOfPlace(place: Place): string[];
17
+ export declare function headerKeysOf(...builders: Record<string, unknown>[]): string[];
18
+ export declare const LAYOUT_FIELD_KEYS: readonly string[];
19
+ export declare const SECTION_THEME_FIELD_KEYS: readonly string[];
20
+ export declare const SECTION_SHAPE_FIELD_KEYS: readonly string[];
21
+ export declare const SECTION_ANIM_FIELD_KEYS: readonly string[];
22
+ export declare const CARD_MEDIA_FIELD_KEYS: readonly string[];
23
+ export declare const BOUND_CARD_MEDIA_FIELD_KEYS: readonly string[];
24
+ export declare const CARD_STYLE_FIELD_KEYS: readonly string[];
25
+ export declare const CARD_SHOW_FIELD_KEYS: readonly string[];
26
+ export declare const RETIRED: Readonly<Record<string, string>>;
27
+ export declare const PLACE_WORDS: Readonly<Record<Place, readonly string[]>>;
28
+ export declare const INJECTED_RETIRED: Readonly<Record<string, string>>;
29
+ export declare function foldTopTier(fields: Record<string, unknown>): 1 | 2;
30
+ export declare function retiredHeadings(where: string): string[];
31
+ export declare function assignSectionGroups<T extends Record<string, unknown>>(fields: T, where: string): T;
32
+ export declare function seatDesignBucket<T extends Record<string, unknown>>(fields: T): T;
33
+ export declare function hasBucketTabs(fields: Record<string, unknown>): boolean;
34
+ export declare function reseatBucketTabs<T extends Record<string, unknown>>(fields: T): T;