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
@@ -1,438 +1 @@
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/puck/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 isDesignGroupHeader(field: unknown): boolean;
115
- export declare function designGroupHeader(group: DesignGroup): CustomField<undefined>;
116
- export declare function foldTitleOf(field: unknown): string | null;
117
- export declare function foldMarker<F>(field: F, title: string): F;
118
- export declare function quietMarker<F>(field: F): F;
119
- export declare function PanelBand({ title, children }: {
120
- title: string;
121
- children: ReactNode;
122
- }): import("react").JSX.Element;
123
- export declare function GroupLabel({ label }: {
124
- label: string;
125
- }): import("react").JSX.Element;
126
- export declare function Swatches({ swatches, current, onPick, names, }: {
127
- swatches: readonly string[];
128
- current: string;
129
- onPick: (next: string) => void;
130
- names?: Readonly<Record<string, string>>;
131
- }): import("react").JSX.Element;
132
- export declare function backgroundField(label: string, builtIn: SectionBackground): CustomField<SectionBackground>;
133
- export declare function cardImageBackgroundField(label: string, builtIn: string): CustomField<unknown>;
134
- export declare function sectionThemeFields(readValue?: (v: unknown) => unknown, followLabel?: string): Record<string, CustomField<unknown>>;
135
- export declare function Slider({ min, max, step, value, onChange, suffix, readout, notch, ariaLabel, disabled, }: {
136
- min: number;
137
- max: number;
138
- step: number;
139
- value: number;
140
- onChange: (next: number) => void;
141
- suffix?: string;
142
- readout?: boolean;
143
- notch?: number;
144
- ariaLabel?: string;
145
- disabled?: boolean;
146
- }): import("react").JSX.Element;
147
- 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>;
148
- export declare function pxField(label: string, opts: {
149
- min: number;
150
- max: number;
151
- step?: number;
152
- unsetLabel?: string;
153
- icon?: ReactElement;
154
- hint?: ReactNode;
155
- unsetMark?: ReactElement<MarkProps>;
156
- restTrack?: (p: {
157
- min: number;
158
- max: number;
159
- step: number;
160
- px: number | null;
161
- label: string;
162
- onChange: (v: number) => void;
163
- }) => ReactElement;
164
- }): CustomField<number | null>;
165
- export declare function gapField(container: GapContainer): CustomField<number | string>;
166
- interface CornersRowTier {
167
- sidesKey: string;
168
- step?: number;
169
- useFollowed: () => number;
170
- useClosedReason?: () => string | null;
171
- mark: ReactElement<MarkProps>;
172
- hint: ReactNode;
173
- }
174
- export declare function cornersRowField(tier: CornersRowTier): CustomField<number | null>;
175
- export declare function useSelectedSibling(key: string): [unknown, (next: unknown) => void];
176
- export declare function cornerSidesField(): CustomField<string[] | null>;
177
- export declare function sectionCornersField(): CustomField<number | null>;
178
- 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.";
179
- export declare function sectionShapeFields(): Record<string, unknown>;
180
- export declare function sectionBorderField(tier: "desktop" | "mobile"): CustomField<SettingsBorderValue | undefined>;
181
- export declare function sectionAnimationFields(): Record<string, unknown>;
182
- export declare function cardCornersField(): CustomField<number | null>;
183
- export declare function templateField<V>(inner: CustomField<V>): CustomField<V>;
184
- export declare function cardShapeFields(): Record<string, unknown>;
185
- export declare function boxJustifyField(): SelectField;
186
- export declare function boxAlignField(): SelectField;
187
- export declare function boxWrapField(): SelectField;
188
- export declare function boxShareField(): CustomField<string>;
189
- export declare function boxBlockSpacingField(): SelectField;
190
- export declare function boxPhoneRowField(): CustomField<number>;
191
- export declare function directionField(container: DirectionContainer): CustomField<string>;
192
- export declare function sizeField(label: string, min: number, max: number, step: number, fallback: number, role: TypeRole): CustomField<TypeSizeValue>;
193
- export declare function cellWidthFields(): Record<string, unknown>;
194
- export declare function useSelectedProps(): Record<string, unknown>;
195
- export declare function phoneOverrideField(opts: {
196
- label: string;
197
- desktopKey: string;
198
- icon: ReactElement;
199
- min: number;
200
- max: number;
201
- step: number;
202
- fallback: number;
203
- }): CustomField<number | null>;
204
- export declare function phoneChoiceField<V extends string>(opts: {
205
- label: string;
206
- icon: ReactElement;
207
- options: {
208
- label: string;
209
- value: V;
210
- picture?: ReactElement;
211
- }[];
212
- desktopKey: string;
213
- resolve: (stored: unknown, desktop: unknown) => V;
214
- }): CustomField<V | undefined>;
215
- export declare function PhoneChoiceStrip<V extends string>({ label, icon, options, value, resolved, restWord, onChange, }: {
216
- label: string;
217
- icon: ReactElement;
218
- options: {
219
- label: string;
220
- value: V;
221
- picture?: ReactElement;
222
- }[];
223
- value: V | undefined;
224
- resolved: V;
225
- restWord: string;
226
- onChange: (next: V | undefined) => void;
227
- }): import("react").JSX.Element;
228
- export declare function PhoneChoiceRow<V extends string>({ label, icon, options, desktopKey, resolve, value, onChange, }: {
229
- label: string;
230
- icon: ReactElement;
231
- options: {
232
- label: string;
233
- value: V;
234
- picture?: ReactElement;
235
- }[];
236
- desktopKey: string;
237
- resolve: (stored: unknown, desktop: unknown) => V;
238
- value: V | undefined;
239
- onChange: (next: V | undefined) => void;
240
- }): import("react").JSX.Element;
241
- export declare function spacingFields(opts?: {
242
- top?: number;
243
- bottom?: number;
244
- keys?: {
245
- top: string;
246
- bottom: string;
247
- };
248
- group?: boolean;
249
- only?: "top";
250
- phone?: boolean;
251
- sides?: boolean;
252
- side?: number;
253
- sidePhone?: number;
254
- sideBounds?: {
255
- min: number;
256
- max: number;
257
- step: number;
258
- };
259
- }): Record<string, CustomField<undefined> | CustomField<number>>;
260
- type PadSide = "top" | "right" | "bottom" | "left";
261
- export declare const SIDE_PAD_KEYS: Record<PadSide, string>;
262
- export declare function sidesPaddingPatch(keys: Record<PadSide, string>, before: SettingsSidesValue, next: SettingsSidesValue): Record<string, number | undefined>;
263
- export type SidesPaddingOptions = {
264
- keys?: Partial<Record<PadSide, string>>;
265
- phone?: boolean;
266
- fallback?: Partial<Record<PadSide, number>>;
267
- group?: boolean;
268
- min?: number;
269
- max?: number;
270
- step?: number;
271
- };
272
- export declare function sidesPaddingFields(opts?: SidesPaddingOptions): Record<string, CustomField<undefined> | CustomField<number>>;
273
- type PositionKeys = {
274
- x: string;
275
- y: string;
276
- };
277
- export declare function positionPatch(keys: PositionKeys, before: PositionValue, next: PositionValue): Record<string, number | undefined>;
278
- export type PositionOptions = {
279
- keys: PositionKeys;
280
- min: number;
281
- max: number;
282
- step?: number;
283
- label?: string | null;
284
- };
285
- export declare function positionFields(o: PositionOptions): Record<string, CustomField<number>>;
286
- export declare function widthField(defaultMode: WidthMode, modes?: readonly WidthMode[], inheritable?: boolean): Record<string, CustomField<undefined> | CustomField<string> | CustomField<number>>;
287
- export declare function heightFields(): Record<string, CustomField<undefined> | CustomField<string> | CustomField<number>>;
288
- export declare function stickFields(): Record<string, CustomField<undefined> | CustomField<boolean> | CustomField<number>>;
289
- export declare function anchorFields(): Record<string, CustomField<undefined> | CustomField<HidableValue>>;
290
- export declare function dateTime(label: string, icon?: ReactNode, hint?: string): CustomField<string>;
291
- export declare function toggle(label: string, fallback: boolean, icon?: ReactNode): CustomField<boolean>;
292
- export declare function pageBackgroundField(): CustomField<string>;
293
- export declare function checkbox(label: string, fallback: boolean): CustomField<boolean>;
294
- export type FollowsSiteButton = {
295
- follows: "fill" | "ink";
296
- };
297
- export declare const FOLLOWS_SITE_BUTTON: FollowsSiteButton;
298
- export declare const FOLLOWS_SITE_BUTTON_INK: FollowsSiteButton;
299
- export declare function colorInput(label: string, fallback: string | FollowsSiteButton, icon?: ReactElement): CustomField<string>;
300
- export declare const FOCAL_POINTS: {
301
- value: string;
302
- label: string;
303
- }[];
304
- export { FOCAL_DEFAULT };
305
- export declare function FocalPicker({ label, value, onChange, points, }: {
306
- label: string;
307
- value: string;
308
- onChange: (next: string) => void;
309
- points?: readonly AlignmentPoint[];
310
- }): import("react").JSX.Element;
311
- export declare function focusKeptField(): CustomField<string>;
312
- export interface PlacementFieldOptions {
313
- stacking: boolean;
314
- fallback?: HeroGroupPlacement;
315
- }
316
- export declare function placementField(label: string, { stacking, fallback }: PlacementFieldOptions): CustomField<string>;
317
- export declare function PlacementGridView({ label, value, onChange, points, }: {
318
- label: string;
319
- value: string;
320
- onChange: (next: string) => void;
321
- points: readonly {
322
- value: string;
323
- label: string;
324
- disabled?: boolean;
325
- title?: string;
326
- }[];
327
- }): import("react").JSX.Element;
328
- export type { EdgeCell };
329
- export declare const EDGE_ARROWS: Record<EdgeCell, ReactNode>;
330
- export declare function edgePad(label: string, options: readonly {
331
- label: string;
332
- value: string;
333
- cell: EdgeCell;
334
- }[], fallback: string, hint: string, glyph: ReactNode, icons?: Partial<Record<EdgeCell, ReactNode>>): CustomField<string>;
335
- export interface SelectOption {
336
- value: string;
337
- label: string;
338
- }
339
- export type SelectField = CustomField<string> & SelectData;
340
- export declare function select(label: string, icon: ReactElement, options: readonly SelectOption[], fallback: string, note?: string): SelectField;
341
- export type MultiSelectFieldType = CustomField<string[]> & {
342
- options: readonly SelectOption[];
343
- };
344
- export declare function multiSelect(label: string, options: readonly SelectOption[], emptyLabel?: string): MultiSelectFieldType;
345
- export declare function searchSelect(label: string, options: readonly SelectOption[], fallback: string, placeholder?: string): SelectField;
346
- export declare function sourceField<V, E extends object = Record<never, never>>(Component: (props: {
347
- value: V;
348
- onChange: (v: V) => void;
349
- } & E) => ReactElement, extra?: E): CustomField<V>;
350
- export declare function Segmented<V = string>({ options, value, onChange, ariaLabel, disabled, }: {
351
- options: readonly {
352
- label: string;
353
- value: V;
354
- title?: string;
355
- picture?: ReactElement;
356
- }[];
357
- value: V;
358
- onChange: (next: V) => void;
359
- ariaLabel: string;
360
- disabled?: boolean;
361
- }): import("react").JSX.Element;
362
- export declare const MEDIA_TYPE_OPTIONS: {
363
- label: string;
364
- value: "image" | "video";
365
- }[];
366
- export declare function segmented(label: string, icon: ReactElement, options: (string | {
367
- label: string;
368
- value: string;
369
- picture?: ReactElement;
370
- })[], fallback: string): CustomField<string>;
371
- export declare function segmented<V>(label: string, icon: ReactElement, options: {
372
- label: string;
373
- value: V;
374
- picture?: ReactElement;
375
- }[], fallback: V): CustomField<V>;
376
- export declare function upload(label: string, accept: string, placeholder?: string, opts?: {
377
- focus?: string;
378
- focusWhen?: (props: Record<string, unknown>) => boolean;
379
- }): CustomField<MediaValue>;
380
- export declare const CUSTOM_FIELD_MEDIA: Record<string, string[]>;
381
- export declare function CoordsField({ value, onChange, label, }: {
382
- value: GeocodeState | undefined;
383
- onChange: (v: GeocodeState) => void;
384
- label: string;
385
- }): import("react").JSX.Element;
386
- export declare function rowText(items: {
387
- text?: string;
388
- }[], focused: number | null): string;
389
- export declare function setRowText(items: {
390
- text?: string;
391
- }[], focused: number | null, text: string): {
392
- text: string;
393
- }[];
394
- export declare function focusAfterRemove(focused: number | null, removed: number): number | null;
395
- export declare function aimAfterListChange(prev: readonly object[], next: readonly object[], focused: number | null): number | null;
396
- export type { TextListRendering };
397
- export declare const TICKER_ITEMS_ROW: {
398
- readonly label: "Ticker items";
399
- readonly icon: import("react").JSX.Element;
400
- };
401
- export declare function textList(label: string, icon: ReactElement, placeholder: string, rendering: TextListRendering): CustomField<{
402
- text?: string;
403
- }[]>;
404
- export declare function TextListField({ label, icon, items, placeholder, onChange, markup, }: {
405
- label: string;
406
- icon?: ReactNode;
407
- items: {
408
- text?: string;
409
- }[];
410
- placeholder: string;
411
- onChange: (next: {
412
- text: string;
413
- }[]) => void;
414
- markup?: boolean;
415
- }): import("react").JSX.Element;
416
- export declare function textListRowField(meta: TextFieldMeta, index: number): CustomField<HidableValue>;
417
- export declare function cardMediaFields(opts?: {
418
- coverHint?: string;
419
- spinDefault?: boolean;
420
- }): Record<string, CustomField<unknown>>;
421
- export declare function cardStyleFields(): Record<string, CustomField<unknown>>;
422
- export interface CardShowDefaults {
423
- showCardSizes: boolean;
424
- showCardBuy: boolean;
425
- showCardPage: boolean;
426
- }
427
- export declare function cardShowFields(opts?: {
428
- bottomDefault: boolean;
429
- } | {
430
- defaults: CardShowDefaults;
431
- }): Record<string, CustomField<unknown>>;
432
- export declare function displayFields(parts: readonly {
433
- id: string;
434
- label: string;
435
- }[], key?: string): Record<string, CustomField<unknown>>;
436
- export declare function cardImageField(): CustomField<number | null>;
437
- export declare function imageCornersField(): CustomField<number | null>;
438
- export declare function galleryLayoutField(): CustomField<string>;
1
+ export * from "../document/controls.d.ts";
@@ -1 +1 @@
1
- "use client";import{jsx as r,jsxs as O,Fragment as I}from"react/jsx-runtime";import{cloneElement as ge,useId as xt,useRef as ie,useState as U}from"react";import{useEasel as j,useSelectedFields as le}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 J,textFieldIdentifier as yt}from"efficient-easel/draw";import St from"../../components/ApplyCornersToSiblings.js";import Ct from"../../components/TemplateFieldRow.js";import{CARD_IMAGE_RADIUS_STEP as _t,CORNER_RADIUS_MAX as _e,CORNER_RADIUS_MIN as B}from"../../../format/lib/content/card-image-shape.js";import{IMAGE_CORNER_STEP as It,IMAGE_CORNERS_LABEL as Et}from"../../../format/lib/content/image-corners.js";import{GRID_MAX_COLUMNS as Tt}from"../../../format/lib/content/grid-span.js";import{GALLERY_ACROSS_BUCKETS as Ot,GALLERY_LAYOUTS as X,GALLERY_LAYOUT_KEYS as Ie}from"../../../format/lib/content/gallery-layout.js";import{anchorSiblingsOf as Rt,HERO_GROUP_PLACEMENTS as wt,HERO_GROUP_PLACEMENT_DEFAULT as Pt,normalisePlacement as kt,placementPoints as Ee}from"../../../format/lib/hero-group-placement.js";import Lt from"../../components/KeepHint.js";import Nt from"../../components/AnchorField.js";import{AdjustIcon as vt,AlignLeftIcon as At,EyeIcon as Ft,AlignSeparateIcon as Dt,AnimationIcon as Te,BackgroundIcon as Bt,BorderAllIcon as Ht,BlockSectionIcon as Gt,CartIcon as Mt,ColumnWidthsIcon as Oe,ColumnsIcon as Kt,CornerIcon as Wt,DirectionDownIcon as Ut,DirectionLeftIcon as jt,DirectionRightIcon as Xt,DirectionUpIcon as $t,DollarIcon as zt,FinishIcon as Vt,GapIcon as Re,GridIcon as Yt,GroundIcon as qt,HashIcon as we,HeightIcon as Jt,ImageIcon as Zt,ListIcon as Qt,LocationIcon as ae,NudgeIcon as en,PaddingAllIcon as tn,PaddingBottomIcon as Pe,PaddingLeftIcon as ke,PaddingRightIcon as Le,PaddingTopIcon as Ne,PageIcon as ve,PhoneIcon as nn,PlacementIcon as on,ProductSizeIcon as rn,StickyIcon as ln,RotateIcon as an,SquareIcon as sn,TypeIcon as cn,WidthIcon as dn,WrapIcon as un}from"efficient-easel/icons";import{FieldGlyph as Ae}from"../../components/FieldGlyph.js";import{resolvePageBackground as pn}from"../../../format/lib/content/page-background.js";import{CORNER_SIDES as Fe,CORNER_SIDE_POINTS as fn,hasOwnSectionCorners as hn,normalizeCornerSides as De}from"../../../format/lib/content/section-corners.js";import{SECTION_MOTION_NONE as mn,SECTION_MOTION_OPTIONS as gn}from"../../../format/lib/content/section-animation.js";import{enclosingSectionProps as Be}from"./enclosing-section.js";import{SettingsDefaultReset as y,SettingsField as m,SettingsGroup as bn,SettingsGroupSub as xn,SettingsBorder as yn,SettingsSegmented as Sn,SettingsSides as Cn,SettingsSidesEach as He,sidesStartEach as _n,SettingsSwitch as Ge,borderSides as In,borderStartEach as En}from"efficient-easel/panel";import{FieldSelect as Tn,ListField as On}from"efficient-easel/fields";import{DisplayChips as Rn}from"efficient-shell/ui";import{desktopDisplayChanged as wn,partShownOnDesktop as Pn,partShownOnPhone as kn,phoneDisplayChanged as Ln,withDesktopPart as Nn,withPhonePart as vn}from"../../../format/lib/content/part-display.js";import{AlignmentGrid as An,Checkbox as Fn,CornersInput as Dn,DateTimePicker as Bn,FOCAL_DEFAULT as Hn,PictureTiles as Me,PositionInput as Gn,Slider as Mn,Tooltip as Ke}from"efficient-shell/ui";import{ColourRow as We,InheritedColourRow as Kn}from"./ColourControl.js";import Ue from"./MarkupToolbar.js";import{deviceField as g}from"efficient-easel/screen/lib/puck/device-fields";import{NO_CONTROL_FIELD as Wn,NoControlMark as Z,noControlField as $}from"efficient-easel/screen/lib/puck/panel-no-control-mark";import{OWN_BOX_FIELD as Un}from"../../../format/lib/puck/own-box.js";import{PHONE_CLEAR as jn,phoneKey as H,resolvePhoneValue as se}from"../../../format/lib/puck/phone-override.js";import{SuppressibleText as Xn}from"./section-text-suppress.js";import{CARD_INDEX_OPTIONS as $n,CARD_OUTLINE_OPTIONS as zn,DEFAULT_CARD_INDEX_FORMAT as Vn,DEFAULT_CARD_OUTLINE as Yn}from"../../../format/lib/sections/product-card-style.js";import{COVER_INDEX_OPTIONS as qn,DEFAULT_COVER_INDEX as Jn}from"../../../format/lib/sections/card-cover-index.js";import{SCALAR_TEXT_CONTROLS as Zn}from"efficient-easel/draw";import Qn from"../../components/MediaUploadField.js";import eo from"../../components/MultiSelectField.js";import to from"../../components/SectionThemePicker.js";import no from"../../components/SearchSelectField.js";import oo from"../../components/StorefrontLinkField.js";import{UiIcon as je}from"efficient-easel/draw/client";import{SECTION_PADDING as T}from"../../../format/lib/content/section-padding.js";import{hasPhoneHeight as ro,resolveSectionMinHeight as io}from"../../../format/lib/content/section-min-height.js";import{SECTION_STICK_DISTANCE as Q,SECTION_STICK_LABEL as ce,hasPhoneStick as lo,resolveSectionStick as ao}from"../../../format/lib/content/section-sticky.js";import{SECTION_MIN_HEIGHT as so,SECTION_MIN_HEIGHT_GROUP_LABEL as z,SECTION_SCREEN_PCT as co}from"../../../format/lib/content/section-min-height.js";import{CONTAINER_DIRECTION_LABEL as uo,containerDirectionPoints as po,resolveContainerDirection as Xe}from"../../../format/lib/content/container-direction.js";import{BOX_ALIGN_POINTS as fo,BOX_BLOCK_SPACING_LABEL as ho,BOX_BLOCK_SPACING_POINTS as $e,BOX_JUSTIFY_POINTS as ze,BOX_PHONE_ROW_LABEL as mo,BOX_PHONE_ROW_MAX as go,BOX_PHONE_ROW_MIN as Ve,BOX_SHARE_LABEL as Ye,BOX_SHARE_POINTS as de,BOX_WRAP_LABEL as bo,BOX_WRAP_POINTS as qe}from"../../../format/lib/content/box-layout.js";import{usePreviewHeader as G}from"../../../render/components/PreviewHeaderContext.js";import{BORDER_MAX as xo}from"../../../format/lib/content/borders.js";import{DEFAULT_SURFACES as yo,normalizeTheme as So,siteButtonPaint as Co}from"../../../format/lib/theme.js";import{CONTAINER_GAP as ue,CONTAINER_GAP_BUILT_IN as _o,GAP_FIELD_CONTAINER as Io,hasOwnContainerGap as Eo,resolveContainerGap as To}from"../../../format/lib/content/container-gap.js";import{CARD_IMAGE_BG_INHERIT as Oo,CARD_IMAGE_BG_OFF as Ro,CARD_IMAGE_BG_SWATCH_NAMES as wo,CARD_IMAGE_BG_SWATCHES as Po,isCardImageBackgroundInheriting as ko,cardImageBackgroundChoice as Lo,THEME_CARD_IMAGE_BG as No}from"../../../format/lib/content/card-image-background.js";import{SECTION_BG_INHERIT as vo,SECTION_BG_SWATCHES as Ao,SECTION_BG_SWATCH_NAMES as Fo,THEME_SECTION_BG as Do,isSectionBackgroundInheriting as Bo}from"../../../format/lib/content/section-background.js";import{SECTION_THEME_GROUP_LABEL as Ho}from"../../../format/lib/content/section-surface.js";import{TYPE_SIZE_FIXED as Go,TYPE_SIZE_INHERIT as Mo,isTypeSizeInheriting as Ko}from"../../../format/lib/content/section-type-size.js";import{SECTION_WIDTH_CHOICES as Wo,WIDTH_CHOICE_LABEL as Uo,WIDTH_INHERIT as jo,resolveWidth as Xo,sectionRunsFullWidth as Je}from"../../../format/lib/content/section-width.js";import{useFoldHeadingLevel as $o}from"./panel-heading-scope.js";import{withStyleKind as zo}from"efficient-easel/style-clipboard";import{useEaselSession as Vo}from"efficient-easel/screen/lib/session-context";import{backendOf as Yo}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"&&!J(n)&&zo(n,`section:${t}`);return e}function al({children:e}){return r("div",{className:"sf-field-label",children:typeof e=="string"?l(e):e})}function Ze(){return null}function qo(e){if(!e.trim())throw new Error("noGlyph() needs a reason naming the ruling that decided it.");return r(Ze,{},e)}function Jo(e){return e.type===Ze}function k(e){return Jo(e)?void 0:e}function N(e,t){return l("{value} from {from}",{value:e,from:t})}function Zo(){const{appState:e}=j(i=>i),t=e.data.root?.props??{},{mode:n,pageWidth:o}=Xo(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 Qo(){const{blockGap:e}=G();return e===null?l("this container's own spacing"):N(`${e}px`,l("Styles"))}function er({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Qo(),onReset:t})}function tr({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Zo(),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=ie(null),p=ie(null),h=P=>t(c?{text:P,hidden:u}:P),b=()=>t({text:d,hidden:!u}),C=c&&u,w=xt(),_=i?lr(i)?r("span",{className:"sf-hint-keep sf-hint-while-typing",children:l(i)}):r(Lt,{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(cn,{}),htmlFor:w,className:C?"is-hidden":void 0,hint:_,action:c?r(Ke,{content:Y,children:r("button",{type:"button",className:"sf-field-eye","aria-pressed":u,"aria-label":Y,onClick:b,children:u?r(je,{name:"eye-off",size:14}):r(je,{name:"eye",size:14})})}):void 0,children:O("div",{className:"sf-copybox",children:[s&&r(Ue,{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 Qe="sfPanelOnly";function ul(e){if(!e[E])throw new Error("withPanelOnly: the field holds no authored text");return{...e,[Qe]:!0}}function pl(e){return!!e&&typeof e=="object"&&e[Qe]===!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 Aa,SCALAR_TEXT_CONTROLS as Fa}from"efficient-easel/draw";function hl(e,t){if(!e[E])throw new Error("inOwnBox: the field holds no authored text");const{[Wn]:o,...i}=e;return{...i,[Un]:!0,render:t}}const nr=new Set(Zn),ee={type:"radio",options:[{value:!0},{value:!1}]},et={text:{type:"object",objectFields:{text:{type:"text"},hidden:ee}},textarea:{type:"object",objectFields:{text:{type:"textarea"},hidden:ee}},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},{...et[e.control],label:e.label});if(!nr.has(e.control))return n;const o=t.render;return{...$(n,"authored-copy"),render:i=>r(Xn,{name:i.name,children:o(i)})}},ml="Everything else on this block comes from the linked post. Unlink it to edit by hand.",or={field:"source.slug",set:!0},gl={not:or},rr="Select a word, then press the highlighter.",ir=new Set([rr]),lr=e=>ir.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(oo,{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:vt,Animation:Te};function El(e,t){return e.includes("Design")?t!=="Design":null}function tt(e,t){return{type:"custom",[q]:{label:e,level:t},marker:!0,fold:e,render:()=>r(I,{})}}function S(e){return tt(e,2)}function Tl(e){return{type:"custom",render:()=>r(ar,{text:e})}}function ar({text:e}){return r("p",{className:"sf-note",children:l(e)})}function Ol(e){return tt(e,1)}function Rl(e){return J(e)!==null&&e?.tabs!==void 0}const nt=new Map;function wl(e,t){const n=`${e}\0${t?t.join(""):""}`,o=nt.get(n)??{type:"custom",tabs:t,[q]:{label:e,level:1},bucket:e,marker:!0,render:()=>r(I,{})};return nt.set(n,o),o}function Pl(e){return J(e)!==null&&e?.designGroup!==void 0}const ot=new Map;function kl(e){const t=ot.get(e)??{type:"custom",[q]:{label:e,level:1},designGroup:e,marker:!0,...e==="Content"?{}:{fold:e},render:()=>r(I,{})};return ot.set(e,t),t}function sr(e){const t=e;return t?.marker===!0&&typeof t.fold=="string"?t.fold:null}function Ll(e,t){return sr(e)===t?e:{...e,marker:!0,fold:t,render:()=>r(I,{})}}function Nl(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 vl({title:e,children:t}){const[n,o]=U(()=>!pe.has(e));return r(bn,{title:e,open:n,onToggle:i=>{o(i),i?pe.delete(e):pe.add(e)},children:t})}const pe=new Set;function Al({label:e}){return r(xn,{title:l(e),level:$o(2)})}function rt({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(Ke,{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 Fl(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=Bo(n,t);return r(m,{label:l(e),icon:r(Bt,{}),changed:!i,action:r(y,{words:x()?.panel,label:l(e),changed:!i,detail:l("the theme's section background"),onReset:()=>o(vo)}),children:rt({swatches:Ao,current:i?Do:n??t??"",onPick:o,names:Fo})})}}}function cr(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=n,a=ko(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(Oo)}),children:rt({swatches:Po,current:a?No:Lo(i,t),onPick:o,names:wo})})}}}function Dl(e=n=>n,t){return M({_gSectionTheme:S(Ho),sectionAccent:{type:"custom",render:({value:n,onChange:o})=>r(to,{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(Mn,{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 it(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 Bl(e){const t=W("Gap",r(Re,{}),ue.min,ue.max,ue.step,_o[e],"px",(n,o)=>r(er,{inherited:!Eo(e,n),onReset:()=>o(void 0),label:"Gap"}));return{type:"custom",[Io]:e,render:n=>t.render({...n,value:To(e,n.value,n.field?.siteGap),storedValue:n.value,onChange:o=>n.onChange(o)})}}const te="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(te),icon:r(Wt,{}),changed:i,action:ge(e.mark,{changed:i,onReset:()=>n(null)}),hint:e.hint,children:r(dr,{tier:e,px:o,onRadius:n})})}}}function lt(e){let t=null;try{t=le()}catch{t=null}return[t?.values?.[e],n=>t?.onChange(e,n)]}function dr({tier:e,px:t,onRadius:n}){const o=e.useFollowed(),i=e.useClosedReason?e.useClosedReason():null,[a,c]=lt(e.sidesKey),s=De(a)??[...Fe];return r(Dn,{label:l(te),value:s,corners:fn,onChange:d=>{const u=De(d)??[];c(u.length===Fe.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 at(){return $({type:"custom",render:()=>r(Z,{})},"always")}function ur({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 pr(){const{cornerRadiusPx:e}=G();return typeof e=="number"?e:B}function fr(){return fe({sidesKey:"sectionCornerSides",useFollowed:pr,useClosedReason:()=>ct()?l(st):null,mark:r(ur,{label:te}),hint:r(hr,{})})}const st="This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";function ct(){return Je(F())}function hr(){return r(I,{children:ct()?st:"Follows Styles ▸ Basics ▸ Corners until you set a number here."})}function Hl(){return M({_gShape:S("Shape"),sectionCorners:fr(),sectionCornerSides:at(),sectionBorder:dt("desktop"),sectionBorderPhone:dt("mobile")})}const mr=()=>({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 gr(e){const t=Object.fromEntries(Object.entries(e).filter(([,n])=>n!=null&&n!==""));return Object.keys(t).length?t:void 0}function br(){let e;try{const t=So(G().theme);e=t.themes[t.selected]?.line}catch{e=void 0}return e||yo.line}function xr({value:e,onChange:t,tier:n}){const[o]=lt("sectionBorder"),i=br(),a=e&&typeof e=="object"?e:{},c=n==="mobile"?o&&typeof o=="object"?o:{}:{},[s,d]=U(()=>En(a,c)),u=mr();return r(m,{label:l("Border"),icon:r(Ht,{}),action:r(He,{each:s,label:l("Each side"),onChange:d}),children:r(yn,{label:l("Border"),value:a,each:s,onChange:f=>t(gr(f)),placeholder:{sides:In(c),style:c.style??"solid",color:c.color||i},presets:[i],words:u,max:xo})})}function dt(e){return g(e,{type:"custom",render:({value:t,onChange:n})=>r(xr,{value:t,onChange:n,tier:e})})}function Gl(){return{_gMotion:S("Motion"),sectionAnimation:me("Entrance",r(Te,{}),[...gn],mn)}}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?Be(t?.data,o):null}catch{e=null}return e!==null&&Je(e)}function ut(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?Be(c?.data,d):null}catch{i=null}if(n||!i)return o;const a=i.sectionCorners;return hn(a)?a:o}function yr({label:e,changed:t=!1,onReset:n=()=>{}}){const o=he(),i=ut(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 Sr(){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 Cr(){return fe({sidesKey:"cardCornerSides",useFollowed:()=>ut(B),mark:r(yr,{label:te}),hint:r(Sr,{})})}function _r(){return{type:"custom",render:()=>r(St,{})}}function Ml(e){return{...e,render:t=>r(Ct,{render:e.render,props:t})}}function Kl(){return{_gShape:S("Shape"),cardCorners:Cr(),cardCornerSides:at(),cardCornersApplyAll:_r()}}function Wl(){return L("Justify",r(Dt,{}),ze,ze[0].value)}function Ul(){return L("Item alignment",r(At,{}),fo,"stretch")}function jl(){return L(bo,r(un,{}),qe,qe[0].value)}function Xl(){return{type:"custom",render:({value:e,onChange:t})=>{const n=de.find(o=>o.value===e)??de[0];return r(m,{label:l(Ye),icon:r(Oe,{}),value:l(n.label),children:r(Me,{className:"sf-gallery-layouts",label:l(Ye),value:n.value,onChange:t,options:de.map(o=>({value:o.value,label:l(o.label),picture:r("span",{className:"sf-gallery-pic",children:Ir(o.weights).map((i,a)=>r("i",{style:{gridColumn:`span ${i}`}},a))})}))})})}}}function Ir(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 $l(){return L(ho,r(Re,{}),$e,$e[0].value)}function zl(){return W(mo,r(nn,{}),Ve,go,1,Ve)}function Vl(e){const t=me(uo,qo("`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)."),po(e),Xe(e,void 0));return{type:"custom",render:n=>t.render({...n,value:Xe(e,n.value),onChange:o=>n.onChange(o)})}}function Yl(e,t,n,o,i,a){return{type:"custom",render:({value:c,onChange:s})=>r(m,{label:l(e),icon:r(Ae,{noun:a}),action:r(y,{words:x()?.panel,label:l(e),changed:!Ko(c),detail:l("the Text style in Styles"),onReset:()=>s(Mo),defaultAction:{onPress:()=>s(Go),title:l("Keep this section's own built-in size"),icon:r(Gt,{})}}),children:K({min:t,max:n,step:o,value:typeof c=="number"?c:i,suffix:"px",ariaLabel:e,onChange:s})})}}function ql(){return{_gCellWidth:S("Cell width"),gridSpan:L("Positions",r(Oe,{}),[{label:"Auto",value:""},...Array.from({length:Tt},(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 Er({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 Tr({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 Or(e){return it(e.label,{icon:e.icon,min:e.min,max:e.max,step:e.step,unsetLabel:"Follows Desktop",unsetMark:r(Tr,{label:e.label,desktopKey:e.desktopKey,fallback:e.fallback}),restTrack:t=>r(Er,{...t,desktopKey:e.desktopKey,fallback:e.fallback})})}function Jl(e){return{type:"custom",render:({value:t,onChange:n})=>r(wr,{...e,value:t,onChange:n})}}function Rr({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:oe({options:n,value:s?o:i,onChange:d=>c(d),ariaLabel:e})})}function wr({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(Rr,{label:e,icon:t,options:n,value:a,resolved:d,restWord:u,onChange:c})}const Pr={Top:"Padding top",Bottom:"Padding bottom",Left:"Padding left",Right:"Padding right"},kr={Top:Ne,Bottom:Pe,Left:ke,Right:Le},Lr=e=>{const t=kr[e];return r(t,{})};function Zl(e={}){const t=e.keys?.top??"sectionPaddingTop",n=e.keys?.bottom??"sectionPaddingBottom",o=e.group!==!1,i=_=>Pr[_],a=_=>W(i("Top"),r(Ne,{}),T.min,T.max,T.step,_,"px"),c=(_,Y,P,re=T)=>g("mobile",Or({label:i(_),icon:Lr(_),desktopKey:Y,min:re.min,max:re.max,step:re.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(Pe,{}),T.min,T.max,T.step,d,"px")),...C?{[H(n)]:c("Bottom",n,d)}:{}},...e.sides?{[u]:w(W(i("Left"),r(ke,{}),p.min,p.max,p.step,h,"px")),...C?{[H(u)]:c("Left",u,b,p)}:{},[f]:w(W(i("Right"),r(Le,{}),p.min,p.max,p.step,h,"px")),...C?{[H(f)]:c("Right",f,b,p)}:{}}:{}})}const V=["top","right","bottom","left"],Nr={top:"sectionPaddingTop",right:"sectionPaddingRight",bottom:"sectionPaddingBottom",left:"sectionPaddingLeft"},pt=e=>typeof e=="number"?e:null;function vr(e,t,n){const o={};for(const i of V)n[i]!==t[i]&&(o[e[i]]=n[i]??void 0);return o}function Ar({tier:e,o:t}){let n=null;try{n=le()}catch{n=null}const o=n?.values??{},i=e==="mobile"?t.phoneKeys:t.keys,a=Object.fromEntries(V.map(u=>[u,pt(o[i[u]])])),c=Object.fromEntries(V.map(u=>[u,String(e==="mobile"?pt(o[t.keys[u]])??t.fallback[u]:t.fallback[u])])),[s,d]=U(()=>_n(a,c));return r(m,{label:l("Padding"),icon:r(tn,{}),action:r(He,{each:s,label:l("Each side"),onChange:d}),children:r(Cn,{label:l("Padding"),each:s,value:a,placeholder:c,min:t.min,max:t.max,step:t.step,onChange:u=>{const f=vr(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 Ql(e={}){const t={...Nr,...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(Ar,{tier:s,o:n})};return o?g(s,d):d},a=()=>$({type:"custom",render:()=>r(Z,{})},"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 ft=e=>typeof e=="number"?e:null;function Fr(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 Dr({o:e}){let t=null;try{t=le()}catch{t=null}const n=t?.values??{},o={x:ft(n[e.keys.x]),y:ft(n[e.keys.y])},i=l(e.label??"Position"),a=!!(o.x||o.y),c=u=>{const f=Fr(e.keys,o,u);Object.keys(f).length&&t?.onChangeMany(f)},s=r(Gn,{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 ea(e){return{[e.keys.x]:{type:"custom",render:()=>r(Dr,{o:e})},[e.keys.y]:{...$({type:"custom",render:()=>r(Z,{})},"always"),reachedBy:e.keys.x}}}const Br={contained:"Contained",page:"Page",full:"Full"},ne="Width";function ta(e,t=Wo,n=!0){const o=t.map(i=>({label:Uo[i]??Br[i],value:i}));return M({...n?{_gWidth:S(ne)}:{},widthMode:{type:"custom",render:({onChange:i,field:a})=>r(m,{label:l(ne),icon:r(dn,{}),action:n?r(tr,{inherited:a?.inherited??!1,onReset:()=>i(jo),label:ne}):void 0,children:oe({options:o,value:a?.currentValue||e,onChange:i,ariaLabel:ne})})}})}function na(){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:oe({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==="%"?co:so;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(we,{}),[{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(Hr,{onClear:()=>o(void 0)}))),sectionHeightValuePhone:g("mobile",t()),sectionHeightUnitPhone:g("mobile",n())})}function Hr({onClear:e}){const t=F(),n=ro(t),o=io(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 oa(){const e=n=>({type:"custom",render:({value:o,onChange:i,id:a,name:c})=>r(Gr,{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:Q.min,max:Q.max,step:Q.step,value:typeof n=="number"?n:Q.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 Gr({value:e,onChange:t,labelId:n,phone:o}){const i=F(),a=ao(i),c=o?a.phone:e===!0;return r(m,{label:l(ce),labelId:n,icon:k(r(ln,{})),action:O(I,{children:[o?r(y,{words:x()?.panel,label:l(ce),changed:lo(i),detail:l("{value} on desktop",{value:a.desktop?`${a.desktopDistance}px`:l("Off")}),onReset:()=>t(void 0)}):null,r(Ge,{checked:c,onChange:t,ariaLabelledBy:n})]})})}const ht="e.g. about";function ra(){return{_gAnchor:S("Anchor"),anchor:A({control:"plainText",label:"Name",placeholder:ht},{type:"custom",render:({value:e,onChange:t})=>r(Nt,{value:e,onChange:t,nameBox:(n,o)=>r(v,{value:n,onChange:o,label:"Name",placeholder:ht,hideable:!1,markup:!1})})})}}function ia(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(Bn,{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({},{...ee,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(Ge,{checked:s,onChange:i,ariaLabelledBy:d})})}}}function la(){return{type:"custom",render:({value:e,onChange:t,id:n,name:o})=>{const i=`${String(n??o??"pageBackground")}-colour`;return r(We,{label:l("Background"),icon:r(ve,{}),id:i,value:pn(e),onChange:t})}}}function aa(e,t){return{type:"custom",...R({},{...ee,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(Fn,{id:c,checked:a,onChange:o})})}}}const sa={follows:"fill"},ca={follows:"ink"};function da(e,t,n){if(typeof t!="string"){const o=t.follows;return{type:"custom",render:({value:i,onChange:a})=>r(Mr,{label:e,part:o,icon:n,value:i,onChange:a})}}return{type:"custom",render:({value:o,onChange:i})=>r(We,{label:l(e),icon:n,value:o||t,onChange:i})}}function Mr({label:e,part:t,icon:n,value:o,onChange:i}){const a=Co(G().theme),c=t==="fill"?a.fill:a.ink;return r(Kn,{label:l(e),icon:n,value:o||"",inherited:c,resetTo:N(c.toUpperCase(),l("Styles")),onChange:i,onReset:()=>i("")})}const Kr=[{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 mt({label:e,value:t,onChange:n,points:o=Kr}){const i=o.map(a=>({...a,label:l(a.label),...a.title?{title:l(a.title)}:null}));return r(An,{label:l(e),value:t,points:i,onChange:n})}function ua(){return $({type:"custom",render:()=>r(Z,{})},"always")}const Wr=Ee([]);function pa(e,{stacking:t,fallback:n=Pt}){return{type:"custom",render:({value:o,onChange:i})=>{const a=wt.includes(o)?o:n;return t?r(Ur,{label:e,value:a,onChange:i}):gt({label:e,value:a,onChange:i,points:Wr})}}}function Ur({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?Rt(o?.data,a):[];return gt({label:e,value:t,onChange:n,points:Ee(c,a)})}function gt({label:e,value:t,onChange:n,points:o}){const i=o.find(a=>a.disabled);return r(m,{label:l(e),icon:r(on,{}),hint:i?.title?l(i.title):void 0,children:mt({label:e,value:kt(t),onChange:n,points:o})})}const fa={top:r($t,{}),right:r(Xt,{}),bottom:r(Ut,{}),left:r(jt,{})};function ha(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:mt({label:e,value:h,onChange:p,points:u})})}}}const jr="\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(Tn,{value:f,ariaLabel:l(e),onChange:c,options:[...i?[{label:l(i),value:jr,disabled:!0}]:[],...d.map(p=>({label:l(p.label),value:p.value}))]})})}}}function ma(e,t,n){return{type:"custom",options:t,render:({value:o,onChange:i,field:a})=>r(eo,{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 ga(e,t,n,o){return{type:"custom",options:t,fallback:n,...R({},{type:"select",label:e}),render:({value:i,onChange:a,field:c})=>r(no,{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 ba(e,t={}){return{type:"custom",render:({value:n,onChange:o})=>{const i={value:n,onChange:o,...t};return r(e,{...i})}}}function oe({options:e,value:t,onChange:n,ariaLabel:o,disabled:i=!1}){return r(Sn,{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 xa=[{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:oe({options:i,value:i.some(d=>d.value===a)?a:a||s?.currentValue||o,onChange:c,ariaLabel:e})})}}function ya(e,t,n,o={}){return{type:"custom",[Se]:!0,render:({value:i,onChange:a})=>r(Qn,{value:i||"",onChange:a,label:e,accept:t,placeholder:n,focusKey:o.focus,focusWhen:o.focusWhen})}}const Sa={HeroSingle:["imageFocal"],ContactLocations:["locations[].photo"],ProcessSteps:["steps[].image"]};function Ca({value:e,onChange:t,label:n}){const o=e||{},i=!!o.pending,a=i?"var(--fg-dim, #888)":o.ok?"#1d9e75":"#d85a30",c=!!Yo(Vo()).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 Xr(e,t){return t===null||t<0||t>=e.length?"":e[t]?.text??""}function $r(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 _a(e,t){return e===null?null:t>e?e:null}function zr(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 Ia={label:"Ticker items",icon:r(Qt,{})};function Ea(e,t,n,o){return{type:"custom",[E]:{control:"textList",label:e,placeholder:n,itemKey:"text",rendering:o},...R({},{...et.textList,label:e}),render:({value:i,onChange:a})=>r(Vr,{label:e,icon:k(t),items:Array.isArray(i)?i:[],placeholder:n,onChange:a,markup:o==="markup"})}}function Vr({label:e,icon:t,items:n,placeholder:o,onChange:i,markup:a=!1}){const c=ie(null),[s,d]=U(null),u=p=>p.map(h=>({text:h?.text??""})),f=p=>{const h=zr(n,p,s);h===null&&(c.current=null),d(h),i(u(p))};return r(On,{label:l(e),icon:t,noun:l("item"),items:n,onChange:f,newItem:()=>({text:""}),open:null,onOpen:()=>{},renderItem:()=>null,above:a?r(Ue,{target:c,value:Xr(n,s),onChange:p=>i($r(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 Ta(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 Oa(e){return{_gCards:S("Cards"),coverIndex:L("Cover image",r(Zt,{}),qn,String(Jn),e?.coverHint??"A card's opening picture — a card pinned to a finish keeps its own."),imageBackground:cr("Image background",Ro),cardImage:qr(),spinOnHover:D("Rotate on hover",e?.spinDefault??!0,r(an,{}))}}function Ra(){return{outline:L("Card outline",r(sn,{}),zn,Yn),indexBadge:L("Card number",r(we,{}),$n,Vn),showBadge:D("Product badge",!0,r(Ae,{noun:"tag"}))}}function wa(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(rn,{})),showCardBuy:D("Buy button",n.showCardBuy,r(Mt,{})),showCardPage:D("Page button",n.showCardPage,r(ve,{}))}}function Pa(e,t="display"){const n=H(t);return{[t]:g("desktop",{type:"custom",render:({value:o,onChange:i})=>r(bt,{parts:e,changed:wn(o),shown:a=>Pn(o,a),onPress:(a,c)=>i(Nn(o,a,c)),onReset:()=>i(void 0)})}),[n]:g("mobile",{type:"custom",render:({value:o,onChange:i})=>r(Yr,{parts:e,desktopKey:t,value:o,onChange:i})})}}function bt({parts:e,changed:t,shown:n,onPress:o,onReset:i,detail:a}){const c=l("Display");return r(m,{label:c,icon:r(Ft,{}),changed:t,action:r(y,{words:x()?.panel,label:c,changed:t,detail:a,onReset:i}),children:r(Rn,{label:c,items:e.map(s=>({id:s.id,label:l(s.label),shown:n(s.id)})),onChange:o})})}function Yr({parts:e,desktopKey:t,value:n,onChange:o}){const i=F()[t];return r(bt,{parts:e,changed:Ln(n),shown:a=>kn(i,n,a),onPress:(a,c)=>o(vn(n,a,c)),onReset:()=>o(jn),detail:l("the same as Desktop")})}function qr(){return it("Card image",{min:B,max:_e,step:_t,hint:"Rounds the picture. The card's own corner is in Styles."})}function ka(){return fe({sidesKey:"cornerSides",step:It,useFollowed:()=>B,mark:r(Jr,{label:Et}),hint:l("Rounds the picture. Left alone it stays square.")})}function Jr({label:e,changed:t=!1,onReset:n=()=>{}}){return r(y,{words:x()?.panel,label:l(e),changed:t,onReset:n})}function La(){return{type:"custom",render:({value:e,onChange:t})=>r(Zr,{value:typeof e=="string"?e:"",onChange:t})}}function Zr({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(Kt,{}),children:O("div",{className:"sf-gallery-filter",children:[r("button",{type:"button","aria-pressed":n===null,onClick:()=>o(null),children:l("All")}),Ot.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(Me,{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{or as BOUND_TO_POST,ml as BOUND_TO_POST_NOTE,Il as BUCKET_ICONS,Sa as CUSTOM_FIELD_MEDIA,Ca as CoordsField,fa as EDGE_ARROWS,Hn as FOCAL_DEFAULT,Kr as FOCAL_POINTS,q as FOLD_FIELD_MARKER,sa as FOLLOWS_SITE_BUTTON,ca as FOLLOWS_SITE_BUTTON_INK,mt as FocalPicker,Al as GroupLabel,rr as HIGHLIGHT_HINT,v as HidableTextField,ye as LINK_FIELD_MARKER,al as Label,Se as MEDIA_FIELD_MARKER,xa as MEDIA_TYPE_OPTIONS,gl as NOT_BOUND_TO_POST,vl as PanelBand,ar as PanelNoteLine,wr as PhoneChoiceRow,Rr as PhoneChoiceStrip,gt as PlacementGridView,Ce as SCAFFOLD_FIELD_MARKER,Fa as SCALAR_TEXT_CONTROLS,st as SECTION_BLEEDS_HINT,Nr as SIDE_PAD_KEYS,oe as Segmented,er as SiteGapDefaultReset,K as Slider,rt as Swatches,Aa as TEXT_CONTROL_KINDS,E as TEXT_FIELD_MARKER,Ia as TICKER_ITEMS_ROW,Vr as TextListField,tr as WidthDefaultReset,zr as aimAfterListChange,ra as anchorFields,N as backTo,Fl as backgroundField,Ul as boxAlignField,$l as boxBlockSpacingField,Wl as boxJustifyField,zl as boxPhoneRowField,Xl as boxShareField,jl as boxWrapField,wl as bucketHeader,Cr as cardCornersField,cr as cardImageBackgroundField,qr as cardImageField,Oa as cardMediaFields,Kl as cardShapeFields,wa as cardShowFields,Ra as cardStyleFields,ql as cellWidthFields,aa as checkbox,da as colorInput,Sl as copyText,at as cornerSidesField,fe as cornersRowField,ia as dateTime,kl as designGroupHeader,Vl as directionField,Pa as displayFields,ha as edgePad,El as entriesHiddenForTab,_a as focusAfterRemove,ua as focusKeptField,Ll as foldMarker,J as foldMetaOf,sr as foldTitleOf,La as galleryLayoutField,Bl as gapField,S as group,na as heightFields,xe as hidableText,lr as hintIsWhileTyping,k as iconOf,ka as imageCornersField,hl as inOwnBox,Rl as isBucketHeader,Pl as isDesignGroupHeader,Jo as isNoGlyph,Cl as linkField,ma as multiSelect,qo as noGlyph,la as pageBackgroundField,Tl as panelNote,Jl as phoneChoiceField,Or as phoneOverrideField,pa as placementField,yl as plainText,_l as plainTextarea,ea as positionFields,Fr as positionPatch,it as pxField,Nl as quietMarker,be as readHidable,Xr as rowText,ga as searchSelect,Ol as section,Gl as sectionAnimationFields,dt as sectionBorderField,fr as sectionCornersField,Hl as sectionShapeFields,Dl as sectionThemeFields,me as segmented,L as select,$r as setRowText,M as sharedStyleKinds,Ql as sidesPaddingFields,vr as sidesPaddingPatch,Yl as sizeField,W as slider,ba as sourceField,Zl as spacingFields,oa as stickFields,Ml as templateField,bl as text,yt as textFieldIdentifier,dl as textFieldOffPage,pl as textFieldPanelOnly,Ea as textList,Ta as textListRowField,xl as textarea,D as toggle,ya as upload,Zo as usePageWidthDetail,F as useSelectedProps,lt as useSelectedSibling,Qo as useSiteGapDetail,ta as widthField,fl as withIdentifier,cl as withOffPage,ul as withPanelOnly,sl as withScaffold};
1
+ export*from"../document/controls.js";
@@ -1 +1 @@
1
- export declare function enclosingSectionProps(data: unknown, id: string): Record<string, unknown> | null;
1
+ export * from "../document/enclosing-section.d.ts";
@@ -1 +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};
1
+ export*from"../document/enclosing-section.js";
@@ -1,7 +1 @@
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[];
1
+ export * from "../document/every-page.d.ts";
@@ -1 +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/puck/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};
1
+ export*from"../document/every-page.js";
@@ -1,34 +1 @@
1
- import { DESIGN_GROUPS, type DesignGroup } from "efficient-easel/panel";
2
- import { BUCKET_KEY, DESIGN_GROUP_KEY, type Bucket } from "efficient-easel/screen/lib/puck/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;
1
+ export * from "../document/field-groups.d.ts";