efficient-web-builder 0.10.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1049) hide show
  1. package/CHANGELOG.md +20 -367
  2. package/README.md +107 -261
  3. package/dist/components/AddBlockRow.d.ts +7 -0
  4. package/dist/components/AddBlockRow.js +1 -0
  5. package/dist/components/AddChildRow.d.ts +6 -0
  6. package/dist/components/AddChildRow.js +1 -0
  7. package/dist/components/AddSidePanel.d.ts +39 -0
  8. package/dist/components/AddSidePanel.js +1 -0
  9. package/dist/components/AnimatedStat.d.ts +6 -0
  10. package/dist/components/AnimatedStat.js +1 -0
  11. package/dist/components/ApplyCornersToSiblings.d.ts +9 -0
  12. package/dist/components/ApplyCornersToSiblings.js +1 -0
  13. package/dist/components/Banner.d.ts +12 -0
  14. package/dist/components/Banner.js +1 -0
  15. package/dist/components/BlockFrame.d.ts +15 -0
  16. package/dist/components/BlockFrame.js +1 -0
  17. package/dist/components/BlockGapField.d.ts +5 -0
  18. package/dist/components/BlockGapField.js +1 -0
  19. package/dist/components/BlogPostSource.d.ts +14 -0
  20. package/dist/components/BlogPostSource.js +1 -0
  21. package/dist/components/BoxSurfaceContext.d.ts +7 -0
  22. package/dist/components/BoxSurfaceContext.js +1 -0
  23. package/dist/components/BoxTabs.d.ts +6 -0
  24. package/dist/components/BoxTabs.js +1 -0
  25. package/dist/components/Breadcrumb.d.ts +10 -0
  26. package/dist/components/Breadcrumb.js +1 -0
  27. package/dist/components/Btn.d.ts +22 -0
  28. package/dist/components/Btn.js +1 -0
  29. package/dist/components/ButtonBlock.d.ts +13 -0
  30. package/dist/components/ButtonBlock.js +1 -0
  31. package/dist/components/CardShadowField.d.ts +6 -0
  32. package/dist/components/CardShadowField.js +1 -0
  33. package/dist/components/Cards.d.ts +15 -0
  34. package/dist/components/Cards.js +1 -0
  35. package/dist/components/CategoryBar.d.ts +16 -0
  36. package/dist/components/CategoryBar.js +1 -0
  37. package/dist/components/ChartSection.d.ts +16 -0
  38. package/dist/components/ChartSection.js +1 -0
  39. package/dist/components/ChatSettingsPanel.d.ts +1 -0
  40. package/dist/components/ChatSettingsPanel.js +1 -0
  41. package/dist/components/ClearColoursDialog.d.ts +5 -0
  42. package/dist/components/ClearColoursDialog.js +1 -0
  43. package/dist/components/ContactLocations.d.ts +17 -0
  44. package/dist/components/ContactLocations.js +73 -0
  45. package/dist/components/CornersField.d.ts +7 -0
  46. package/dist/components/CornersField.js +1 -0
  47. package/dist/components/CountUpText.d.ts +3 -0
  48. package/dist/components/CountUpText.js +1 -0
  49. package/dist/components/Divider.d.ts +9 -0
  50. package/dist/components/Divider.js +1 -0
  51. package/dist/components/DocBody.d.ts +13 -0
  52. package/dist/components/DocBody.js +7 -0
  53. package/dist/components/DocMasthead.d.ts +13 -0
  54. package/dist/components/DocMasthead.js +1 -0
  55. package/dist/components/DocMetaCards.d.ts +10 -0
  56. package/dist/components/DocMetaCards.js +1 -0
  57. package/dist/components/DocTabs.d.ts +12 -0
  58. package/dist/components/DocTabs.js +1 -0
  59. package/dist/components/DuplicateToPageMenu.d.ts +12 -0
  60. package/dist/components/DuplicateToPageMenu.js +1 -0
  61. package/dist/components/EditorialSectionHead.d.ts +11 -0
  62. package/dist/components/EditorialSectionHead.js +1 -0
  63. package/dist/components/Eyebrow.d.ts +9 -0
  64. package/dist/components/Eyebrow.js +1 -0
  65. package/dist/components/FAQ.d.ts +20 -0
  66. package/dist/components/FAQ.js +1 -0
  67. package/dist/components/FeaturedCover.d.ts +13 -0
  68. package/dist/components/FeaturedCover.js +1 -0
  69. package/dist/components/FieldGlyph.d.ts +12 -0
  70. package/dist/components/FieldGlyph.js +1 -0
  71. package/dist/components/Flex.d.ts +32 -0
  72. package/dist/components/Flex.js +1 -0
  73. package/dist/components/Footprint.d.ts +16 -0
  74. package/dist/components/Footprint.js +27 -0
  75. package/dist/components/Grid.d.ts +11 -0
  76. package/dist/components/Grid.js +1 -0
  77. package/dist/components/Heading.d.ts +11 -0
  78. package/dist/components/Heading.js +1 -0
  79. package/dist/components/HeadingAudit.d.ts +1 -0
  80. package/dist/components/HeadingAudit.js +1 -0
  81. package/dist/components/HeroArrows.d.ts +8 -0
  82. package/dist/components/HeroArrows.js +1 -0
  83. package/dist/components/HeroGroup.d.ts +20 -0
  84. package/dist/components/HeroGroup.js +1 -0
  85. package/dist/components/HeroHeldFrame.d.ts +8 -0
  86. package/dist/components/HeroHeldFrame.js +1 -0
  87. package/dist/components/HeroImageField.d.ts +6 -0
  88. package/dist/components/HeroImageField.js +1 -0
  89. package/dist/components/HeroPoster.d.ts +10 -0
  90. package/dist/components/HeroPoster.js +1 -0
  91. package/dist/components/HeroSection.d.ts +39 -0
  92. package/dist/components/HeroSection.js +11 -0
  93. package/dist/components/HeroSingle.d.ts +17 -0
  94. package/dist/components/HeroSingle.js +1 -0
  95. package/dist/components/HeroSlide.d.ts +30 -0
  96. package/dist/components/HeroSlide.js +1 -0
  97. package/dist/components/HoverEffectField.d.ts +6 -0
  98. package/dist/components/HoverEffectField.js +1 -0
  99. package/dist/components/ImageBlock.d.ts +18 -0
  100. package/dist/components/ImageBlock.js +1 -0
  101. package/dist/components/ImageFocusRow.d.ts +7 -0
  102. package/dist/components/ImageFocusRow.js +1 -0
  103. package/dist/components/IntegrationsSection.d.ts +14 -0
  104. package/dist/components/IntegrationsSection.js +1 -0
  105. package/dist/components/IntroBleed.d.ts +32 -0
  106. package/dist/components/IntroBleed.js +1 -0
  107. package/dist/components/KeyFeatures.d.ts +14 -0
  108. package/dist/components/KeyFeatures.js +1 -0
  109. package/dist/components/LocationGroupHeader.d.ts +5 -0
  110. package/dist/components/LocationGroupHeader.js +1 -0
  111. package/dist/components/LocationsGroupedField.d.ts +5 -0
  112. package/dist/components/LocationsGroupedField.js +1 -0
  113. package/dist/components/LocationsTreeContext.d.ts +2 -0
  114. package/dist/components/LocationsTreeContext.js +1 -0
  115. package/dist/components/Logo.d.ts +27 -0
  116. package/dist/components/Logo.js +1 -0
  117. package/dist/components/LogoBlock.d.ts +8 -0
  118. package/dist/components/LogoBlock.js +1 -0
  119. package/dist/components/Logos.d.ts +15 -0
  120. package/dist/components/Logos.js +1 -0
  121. package/dist/components/LongRead.d.ts +20 -0
  122. package/dist/components/LongRead.js +1 -0
  123. package/dist/components/Manifesto.d.ts +14 -0
  124. package/dist/components/Manifesto.js +1 -0
  125. package/dist/components/Masthead.d.ts +16 -0
  126. package/dist/components/Masthead.js +1 -0
  127. package/dist/components/MediaSidePanel.d.ts +6 -0
  128. package/dist/components/MediaSidePanel.js +1 -0
  129. package/dist/components/MediaUploadField.d.ts +9 -0
  130. package/dist/components/MediaUploadField.js +1 -0
  131. package/dist/components/MockupSection.d.ts +59 -0
  132. package/dist/components/MockupSection.js +1 -0
  133. package/dist/components/MultiSelectField.d.ts +16 -0
  134. package/dist/components/MultiSelectField.js +1 -0
  135. package/dist/components/NodeContextMenu.d.ts +96 -0
  136. package/dist/components/NodeContextMenu.js +1 -0
  137. package/dist/components/OrderSummary.d.ts +17 -0
  138. package/dist/components/OrderSummary.js +1 -0
  139. package/dist/components/PageEditGuardNotices.d.ts +1 -0
  140. package/dist/components/PageEditGuardNotices.js +1 -0
  141. package/dist/components/PagesPanel.d.ts +8 -0
  142. package/dist/components/PagesPanel.js +1 -0
  143. package/dist/components/PanelToggleIcon.d.ts +3 -0
  144. package/dist/components/PanelToggleIcon.js +1 -0
  145. package/dist/components/ParagraphsA.d.ts +15 -0
  146. package/dist/components/ParagraphsA.js +1 -0
  147. package/dist/components/PartGlyphs.d.ts +7 -0
  148. package/dist/components/PartGlyphs.js +1 -0
  149. package/dist/components/PartInkControl.d.ts +7 -0
  150. package/dist/components/PartInkControl.js +1 -0
  151. package/dist/components/PartResetDot.d.ts +5 -0
  152. package/dist/components/PartResetDot.js +1 -0
  153. package/dist/components/PartSettingsPanel.d.ts +63 -0
  154. package/dist/components/PartSettingsPanel.js +1 -0
  155. package/dist/components/PartStyledText.d.ts +5 -0
  156. package/dist/components/PartStyledText.js +1 -0
  157. package/dist/components/PartTextBox.d.ts +20 -0
  158. package/dist/components/PartTextBox.js +1 -0
  159. package/dist/components/PaymentBadges.d.ts +14 -0
  160. package/dist/components/PaymentBadges.js +1 -0
  161. package/dist/components/PhoneMenuTools.d.ts +12 -0
  162. package/dist/components/PhoneMenuTools.js +1 -0
  163. package/dist/components/PhotographyField.d.ts +6 -0
  164. package/dist/components/PhotographyField.js +1 -0
  165. package/dist/components/Placeholder.d.ts +18 -0
  166. package/dist/components/Placeholder.js +1 -0
  167. package/dist/components/PostCard.d.ts +37 -0
  168. package/dist/components/PostCard.js +1 -0
  169. package/dist/components/PreviewChatContext.d.ts +23 -0
  170. package/dist/components/PreviewChatContext.js +1 -0
  171. package/dist/components/PreviewDeviceContext.d.ts +4 -0
  172. package/dist/components/PreviewDeviceContext.js +1 -0
  173. package/dist/components/PreviewFocusContext.d.ts +15 -0
  174. package/dist/components/PreviewFocusContext.js +1 -0
  175. package/dist/components/PreviewFooterContext.d.ts +17 -0
  176. package/dist/components/PreviewFooterContext.js +1 -0
  177. package/dist/components/PreviewHeaderContext.d.ts +97 -0
  178. package/dist/components/PreviewHeaderContext.js +1 -0
  179. package/dist/components/PreviewLocationPartContext.d.ts +10 -0
  180. package/dist/components/PreviewLocationPartContext.js +1 -0
  181. package/dist/components/PreviewPartAnchors.d.ts +16 -0
  182. package/dist/components/PreviewPartAnchors.js +1 -0
  183. package/dist/components/PreviewPartStyleContext.d.ts +21 -0
  184. package/dist/components/PreviewPartStyleContext.js +1 -0
  185. package/dist/components/PreviewPartsContext.d.ts +3 -0
  186. package/dist/components/PreviewPartsContext.js +1 -0
  187. package/dist/components/PreviewSocialContext.d.ts +30 -0
  188. package/dist/components/PreviewSocialContext.js +1 -0
  189. package/dist/components/PreviewSurfaceContext.d.ts +10 -0
  190. package/dist/components/PreviewSurfaceContext.js +1 -0
  191. package/dist/components/PreviewThemeFrame.d.ts +6 -0
  192. package/dist/components/PreviewThemeFrame.js +11 -0
  193. package/dist/components/PreviewTickerContext.d.ts +4 -0
  194. package/dist/components/PreviewTickerContext.js +1 -0
  195. package/dist/components/ProcessSteps.d.ts +32 -0
  196. package/dist/components/ProcessSteps.js +1 -0
  197. package/dist/components/Prose.d.ts +9 -0
  198. package/dist/components/Prose.js +1 -0
  199. package/dist/components/PublishedFooterContext.d.ts +11 -0
  200. package/dist/components/PublishedFooterContext.js +1 -0
  201. package/dist/components/PublishedPartStylesContext.d.ts +15 -0
  202. package/dist/components/PublishedPartStylesContext.js +1 -0
  203. package/dist/components/RMark.d.ts +6 -0
  204. package/dist/components/RMark.js +1 -0
  205. package/dist/components/Reel.d.ts +15 -0
  206. package/dist/components/Reel.js +1 -0
  207. package/dist/components/RuleLine.d.ts +1 -0
  208. package/dist/components/RuleLine.js +1 -0
  209. package/dist/components/SearchSelectField.d.ts +20 -0
  210. package/dist/components/SearchSelectField.js +1 -0
  211. package/dist/components/SectionAnimation.d.ts +7 -0
  212. package/dist/components/SectionAnimation.js +1 -0
  213. package/dist/components/SectionEditor.d.ts +66 -0
  214. package/dist/components/SectionEditor.js +1 -0
  215. package/dist/components/SectionEditorShell.d.ts +1 -0
  216. package/dist/components/SectionEditorShell.js +1 -0
  217. package/dist/components/SectionEyebrow.d.ts +10 -0
  218. package/dist/components/SectionEyebrow.js +1 -0
  219. package/dist/components/SectionHeader.d.ts +29 -0
  220. package/dist/components/SectionHeader.js +1 -0
  221. package/dist/components/SectionIcon.d.ts +5 -0
  222. package/dist/components/SectionIcon.js +1 -0
  223. package/dist/components/SectionTextEntries.d.ts +5 -0
  224. package/dist/components/SectionTextEntries.js +1 -0
  225. package/dist/components/SectionTextPartBridge.d.ts +6 -0
  226. package/dist/components/SectionTextPartBridge.js +1 -0
  227. package/dist/components/SectionThemePicker.d.ts +23 -0
  228. package/dist/components/SectionThemePicker.js +1 -0
  229. package/dist/components/SectionThumbnail.d.ts +3 -0
  230. package/dist/components/SectionThumbnail.js +1 -0
  231. package/dist/components/Series.d.ts +19 -0
  232. package/dist/components/Series.js +1 -0
  233. package/dist/components/ShadowColourField.d.ts +5 -0
  234. package/dist/components/ShadowColourField.js +1 -0
  235. package/dist/components/SidePanelHead.d.ts +23 -0
  236. package/dist/components/SidePanelHead.js +1 -0
  237. package/dist/components/SideSpaceField.d.ts +8 -0
  238. package/dist/components/SideSpaceField.js +1 -0
  239. package/dist/components/SiteEditorProvider.d.ts +10 -0
  240. package/dist/components/SiteEditorProvider.js +1 -0
  241. package/dist/components/SiteFields.d.ts +6 -0
  242. package/dist/components/SiteFields.js +1 -0
  243. package/dist/components/SiteGutterFrame.d.ts +9 -0
  244. package/dist/components/SiteGutterFrame.js +1 -0
  245. package/dist/components/SiteLogoContext.d.ts +25 -0
  246. package/dist/components/SiteLogoContext.js +1 -0
  247. package/dist/components/SitePhotographyContext.d.ts +8 -0
  248. package/dist/components/SitePhotographyContext.js +1 -0
  249. package/dist/components/SiteStyleUnset.d.ts +1 -0
  250. package/dist/components/SiteStyleUnset.js +1 -0
  251. package/dist/components/SiteWidthField.d.ts +8 -0
  252. package/dist/components/SiteWidthField.js +1 -0
  253. package/dist/components/SlotChildActionsContext.d.ts +13 -0
  254. package/dist/components/SlotChildActionsContext.js +1 -0
  255. package/dist/components/SlotChildRows.d.ts +16 -0
  256. package/dist/components/SlotChildRows.js +1 -0
  257. package/dist/components/SocialLinksPanel.d.ts +3 -0
  258. package/dist/components/SocialLinksPanel.js +1 -0
  259. package/dist/components/SourceStatus.d.ts +14 -0
  260. package/dist/components/SourceStatus.js +1 -0
  261. package/dist/components/Spacer.d.ts +6 -0
  262. package/dist/components/Spacer.js +1 -0
  263. package/dist/components/SpecStrip.d.ts +10 -0
  264. package/dist/components/SpecStrip.js +1 -0
  265. package/dist/components/Split.d.ts +33 -0
  266. package/dist/components/Split.js +1 -0
  267. package/dist/components/StandaloneSectionEditor.d.ts +18 -0
  268. package/dist/components/StandaloneSectionEditor.js +1 -0
  269. package/dist/components/Stats.d.ts +14 -0
  270. package/dist/components/Stats.js +1 -0
  271. package/dist/components/StatsParagraph.d.ts +21 -0
  272. package/dist/components/StatsParagraph.js +1 -0
  273. package/dist/components/StorefrontDocumentContext.d.ts +67 -0
  274. package/dist/components/StorefrontDocumentContext.js +1 -0
  275. package/dist/components/StorefrontEditor.d.ts +18 -0
  276. package/dist/components/StorefrontEditor.js +1 -0
  277. package/dist/components/StorefrontEditorChrome.d.ts +1 -0
  278. package/dist/components/StorefrontEditorChrome.js +1 -0
  279. package/dist/components/StorefrontLinkField.d.ts +10 -0
  280. package/dist/components/StorefrontLinkField.js +1 -0
  281. package/dist/components/StylesPanel.d.ts +11 -0
  282. package/dist/components/StylesPanel.js +1 -0
  283. package/dist/components/SwitchToBoxFooter.d.ts +1 -0
  284. package/dist/components/SwitchToBoxFooter.js +1 -0
  285. package/dist/components/TemplateGlyph.d.ts +6 -0
  286. package/dist/components/TemplateGlyph.js +1 -0
  287. package/dist/components/Testimonials.d.ts +16 -0
  288. package/dist/components/Testimonials.js +1 -0
  289. package/dist/components/Text.d.ts +11 -0
  290. package/dist/components/Text.js +1 -0
  291. package/dist/components/TextStyleRow.d.ts +13 -0
  292. package/dist/components/TextStyleRow.js +1 -0
  293. package/dist/components/TextStylesField.d.ts +17 -0
  294. package/dist/components/TextStylesField.js +1 -0
  295. package/dist/components/ThemeCard.d.ts +40 -0
  296. package/dist/components/ThemeCard.js +1 -0
  297. package/dist/components/ThemeColourField.d.ts +5 -0
  298. package/dist/components/ThemeColourField.js +1 -0
  299. package/dist/components/ThemeField.d.ts +8 -0
  300. package/dist/components/ThemeField.js +1 -0
  301. package/dist/components/Ticker.d.ts +18 -0
  302. package/dist/components/Ticker.js +1 -0
  303. package/dist/components/TickerSection.d.ts +18 -0
  304. package/dist/components/TickerSection.js +1 -0
  305. package/dist/components/TickerSettingsPanel.d.ts +3 -0
  306. package/dist/components/TickerSettingsPanel.js +1 -0
  307. package/dist/components/Timeline.d.ts +24 -0
  308. package/dist/components/Timeline.js +1 -0
  309. package/dist/components/TimelineTrack.d.ts +22 -0
  310. package/dist/components/TimelineTrack.js +1 -0
  311. package/dist/components/TitleWithButtons.d.ts +14 -0
  312. package/dist/components/TitleWithButtons.js +1 -0
  313. package/dist/components/UiIcon.d.ts +10 -0
  314. package/dist/components/UiIcon.js +1 -0
  315. package/dist/components/WebsiteSettingsPanel.d.ts +46 -0
  316. package/dist/components/WebsiteSettingsPanel.js +1 -0
  317. package/dist/components/WidthFollowField.d.ts +10 -0
  318. package/dist/components/WidthFollowField.js +1 -0
  319. package/dist/components/cartGlyph.d.ts +1 -0
  320. package/dist/components/cartGlyph.js +1 -0
  321. package/dist/components/floating-editor/tokens.d.ts +27 -0
  322. package/dist/components/floating-editor/tokens.js +1 -0
  323. package/dist/components/goldPhrases.d.ts +7 -0
  324. package/dist/components/goldPhrases.js +2 -0
  325. package/dist/components/integrationIcons.d.ts +2 -0
  326. package/dist/components/integrationIcons.js +1 -0
  327. package/dist/components/panel-widths.d.ts +12 -0
  328. package/dist/components/panel-widths.js +1 -0
  329. package/dist/components/preview-devices.d.ts +3 -0
  330. package/dist/components/preview-devices.js +1 -0
  331. package/dist/components/socialIcons.d.ts +8 -0
  332. package/dist/components/socialIcons.js +1 -0
  333. package/dist/components/storefront-editor.css +5731 -0
  334. package/dist/components/useCountUp.d.ts +10 -0
  335. package/dist/components/useCountUp.js +1 -0
  336. package/dist/components/usePartBridge.d.ts +9 -0
  337. package/dist/components/usePartBridge.js +1 -0
  338. package/dist/components/usePreviewHref.d.ts +5 -0
  339. package/dist/components/usePreviewHref.js +1 -0
  340. package/dist/components/useReducedMotion.d.ts +4 -0
  341. package/dist/components/useReducedMotion.js +1 -0
  342. package/dist/components/useSnapshotSource.d.ts +17 -0
  343. package/dist/components/useSnapshotSource.js +1 -0
  344. package/dist/components/useSocialSettings.d.ts +14 -0
  345. package/dist/components/useSocialSettings.js +1 -0
  346. package/dist/components/useStorefrontBlogPosts.d.ts +2 -0
  347. package/dist/components/useStorefrontBlogPosts.js +1 -0
  348. package/dist/lib/content/authored-props.d.ts +4 -0
  349. package/dist/lib/content/authored-props.js +1 -0
  350. package/dist/lib/content/box-background.d.ts +31 -0
  351. package/dist/lib/content/box-background.js +1 -0
  352. package/dist/lib/content/box-layout.d.ts +78 -0
  353. package/dist/lib/content/box-layout.js +1 -0
  354. package/dist/lib/content/button-arrow.d.ts +2 -0
  355. package/dist/lib/content/button-arrow.js +1 -0
  356. package/dist/lib/content/card-corners.d.ts +12 -0
  357. package/dist/lib/content/card-corners.js +1 -0
  358. package/dist/lib/content/card-image-background.d.ts +11 -0
  359. package/dist/lib/content/card-image-background.js +1 -0
  360. package/dist/lib/content/card-image-shape.d.ts +5 -0
  361. package/dist/lib/content/card-image-shape.js +1 -0
  362. package/dist/lib/content/cart-drawer.d.ts +20 -0
  363. package/dist/lib/content/cart-drawer.js +1 -0
  364. package/dist/lib/content/contact.d.ts +79 -0
  365. package/dist/lib/content/contact.js +3 -0
  366. package/dist/lib/content/container-direction.d.ts +14 -0
  367. package/dist/lib/content/container-direction.js +1 -0
  368. package/dist/lib/content/container-gap.d.ts +31 -0
  369. package/dist/lib/content/container-gap.js +1 -0
  370. package/dist/lib/content/footer.d.ts +30 -0
  371. package/dist/lib/content/footer.js +1 -0
  372. package/dist/lib/content/footprint.d.ts +22 -0
  373. package/dist/lib/content/footprint.js +1 -0
  374. package/dist/lib/content/gallery-card-layout.d.ts +7 -0
  375. package/dist/lib/content/gallery-card-layout.js +1 -0
  376. package/dist/lib/content/gallery-layout.d.ts +154 -0
  377. package/dist/lib/content/gallery-layout.js +1 -0
  378. package/dist/lib/content/grid-span.d.ts +15 -0
  379. package/dist/lib/content/grid-span.js +1 -0
  380. package/dist/lib/content/image-corners.d.ts +7 -0
  381. package/dist/lib/content/image-corners.js +1 -0
  382. package/dist/lib/content/image-fit.d.ts +11 -0
  383. package/dist/lib/content/image-fit.js +1 -0
  384. package/dist/lib/content/image-treatment.d.ts +20 -0
  385. package/dist/lib/content/image-treatment.js +1 -0
  386. package/dist/lib/content/image-width.d.ts +9 -0
  387. package/dist/lib/content/image-width.js +1 -0
  388. package/dist/lib/content/page-background.d.ts +4 -0
  389. package/dist/lib/content/page-background.js +1 -0
  390. package/dist/lib/content/page-width.d.ts +63 -0
  391. package/dist/lib/content/page-width.js +1 -0
  392. package/dist/lib/content/product-page.d.ts +11 -0
  393. package/dist/lib/content/product-page.js +1 -0
  394. package/dist/lib/content/section-animation.d.ts +13 -0
  395. package/dist/lib/content/section-animation.js +1 -0
  396. package/dist/lib/content/section-background.d.ts +7 -0
  397. package/dist/lib/content/section-background.js +1 -0
  398. package/dist/lib/content/section-corners.d.ts +16 -0
  399. package/dist/lib/content/section-corners.js +1 -0
  400. package/dist/lib/content/section-height.d.ts +9 -0
  401. package/dist/lib/content/section-height.js +1 -0
  402. package/dist/lib/content/section-min-height.d.ts +60 -0
  403. package/dist/lib/content/section-min-height.js +1 -0
  404. package/dist/lib/content/section-padding.d.ts +33 -0
  405. package/dist/lib/content/section-padding.js +1 -0
  406. package/dist/lib/content/section-surface.d.ts +13 -0
  407. package/dist/lib/content/section-surface.js +1 -0
  408. package/dist/lib/content/section-type-size.d.ts +7 -0
  409. package/dist/lib/content/section-type-size.js +1 -0
  410. package/dist/lib/content/section-width.d.ts +19 -0
  411. package/dist/lib/content/section-width.js +1 -0
  412. package/dist/lib/content/site-gutter.d.ts +2 -0
  413. package/dist/lib/content/site-gutter.js +1 -0
  414. package/dist/lib/content/site-name.d.ts +2 -0
  415. package/dist/lib/content/site-name.js +1 -0
  416. package/dist/lib/content/social-links.d.ts +12 -0
  417. package/dist/lib/content/social-links.js +1 -0
  418. package/dist/lib/content/subscribe.d.ts +76 -0
  419. package/dist/lib/content/subscribe.js +2 -0
  420. package/dist/lib/content/view-tiers.d.ts +6 -0
  421. package/dist/lib/content/view-tiers.js +1 -0
  422. package/dist/lib/editor/preview-href.d.ts +6 -0
  423. package/dist/lib/editor/preview-href.js +1 -0
  424. package/dist/lib/editor-admin-bridge.d.ts +29 -0
  425. package/dist/lib/editor-admin-bridge.js +1 -0
  426. package/dist/lib/editor-auth.d.ts +3 -0
  427. package/dist/lib/editor-auth.js +1 -0
  428. package/dist/lib/editor-block-metadata.d.ts +6 -0
  429. package/dist/lib/editor-block-metadata.js +1 -0
  430. package/dist/lib/editor-blocks.d.ts +20 -0
  431. package/dist/lib/editor-blocks.js +1 -0
  432. package/dist/lib/editor-canvas-styles.d.ts +12 -0
  433. package/dist/lib/editor-canvas-styles.js +1 -0
  434. package/dist/lib/editor-chrome.d.ts +52 -0
  435. package/dist/lib/editor-chrome.js +1 -0
  436. package/dist/lib/editor-document-adapter.d.ts +55 -0
  437. package/dist/lib/editor-document-adapter.js +1 -0
  438. package/dist/lib/editor-document-hooks.d.ts +15 -0
  439. package/dist/lib/editor-document-hooks.js +0 -0
  440. package/dist/lib/editor-events.d.ts +8 -0
  441. package/dist/lib/editor-events.js +1 -0
  442. package/dist/lib/editor-failure.d.ts +4 -0
  443. package/dist/lib/editor-failure.js +1 -0
  444. package/dist/lib/editor-form-window.d.ts +21 -0
  445. package/dist/lib/editor-form-window.js +1 -0
  446. package/dist/lib/editor-host-inbound.d.ts +1 -0
  447. package/dist/lib/editor-host-inbound.js +1 -0
  448. package/dist/lib/editor-host.d.ts +135 -0
  449. package/dist/lib/editor-host.js +1 -0
  450. package/dist/lib/editor-key-scope.d.ts +3 -0
  451. package/dist/lib/editor-key-scope.js +1 -0
  452. package/dist/lib/editor-load-error.d.ts +4 -0
  453. package/dist/lib/editor-load-error.js +1 -0
  454. package/dist/lib/editor-media-panel.d.ts +23 -0
  455. package/dist/lib/editor-media-panel.js +1 -0
  456. package/dist/lib/editor-media-picker.d.ts +12 -0
  457. package/dist/lib/editor-media-picker.js +1 -0
  458. package/dist/lib/editor-page-lock.d.ts +1 -0
  459. package/dist/lib/editor-page-lock.js +1 -0
  460. package/dist/lib/editor-page-rows.d.ts +16 -0
  461. package/dist/lib/editor-page-rows.js +1 -0
  462. package/dist/lib/editor-section-templates.d.ts +2 -0
  463. package/dist/lib/editor-section-templates.js +1 -0
  464. package/dist/lib/editor-session-context.d.ts +7 -0
  465. package/dist/lib/editor-session-context.js +1 -0
  466. package/dist/lib/editor-session-loader.d.ts +4 -0
  467. package/dist/lib/editor-session-loader.js +1 -0
  468. package/dist/lib/editor-session.d.ts +45 -0
  469. package/dist/lib/editor-session.js +1 -0
  470. package/dist/lib/editor-site-slug.d.ts +2 -0
  471. package/dist/lib/editor-site-slug.js +1 -0
  472. package/dist/lib/editor-site.d.ts +3 -0
  473. package/dist/lib/editor-site.js +1 -0
  474. package/dist/lib/editor-theme.d.ts +1 -0
  475. package/dist/lib/editor-theme.js +1 -0
  476. package/dist/lib/fit-words.d.ts +3 -0
  477. package/dist/lib/fit-words.js +220 -0
  478. package/dist/lib/fonts.d.ts +32 -0
  479. package/dist/lib/fonts.js +1 -0
  480. package/dist/lib/geocode.d.ts +6 -0
  481. package/dist/lib/geocode.js +1 -0
  482. package/dist/lib/hero-arrows.d.ts +23 -0
  483. package/dist/lib/hero-arrows.js +1 -0
  484. package/dist/lib/hero-group-placement.d.ts +46 -0
  485. package/dist/lib/hero-group-placement.js +1 -0
  486. package/dist/lib/hero-overlay-anchor.d.ts +6 -0
  487. package/dist/lib/hero-overlay-anchor.js +1 -0
  488. package/dist/lib/hero-phone-stack.d.ts +27 -0
  489. package/dist/lib/hero-phone-stack.js +1 -0
  490. package/dist/lib/hero-swipe.d.ts +16 -0
  491. package/dist/lib/hero-swipe.js +1 -0
  492. package/dist/lib/hero-texture.d.ts +4 -0
  493. package/dist/lib/hero-texture.js +1 -0
  494. package/dist/lib/hero-video-control.d.ts +13 -0
  495. package/dist/lib/hero-video-control.js +1 -0
  496. package/dist/lib/image-focus.d.ts +16 -0
  497. package/dist/lib/image-focus.js +1 -0
  498. package/dist/lib/links/page-link-rules.d.ts +22 -0
  499. package/dist/lib/links/page-link-rules.js +1 -0
  500. package/dist/lib/locations-grid.d.ts +10 -0
  501. package/dist/lib/locations-grid.js +1 -0
  502. package/dist/lib/logo/analyze-logo-client.d.ts +3 -0
  503. package/dist/lib/logo/analyze-logo-client.js +1 -0
  504. package/dist/lib/logo/reverse-svg.d.ts +9 -0
  505. package/dist/lib/logo/reverse-svg.js +1 -0
  506. package/dist/lib/map-styles.d.ts +30 -0
  507. package/dist/lib/map-styles.js +1 -0
  508. package/dist/lib/maps-config.d.ts +16 -0
  509. package/dist/lib/maps-config.js +1 -0
  510. package/dist/lib/maps-loader.d.ts +3 -0
  511. package/dist/lib/maps-loader.js +1 -0
  512. package/dist/lib/markup.d.ts +38 -0
  513. package/dist/lib/markup.js +2 -0
  514. package/dist/lib/media.d.ts +10 -0
  515. package/dist/lib/media.js +1 -0
  516. package/dist/lib/parse-option.d.ts +3 -0
  517. package/dist/lib/parse-option.js +1 -0
  518. package/dist/lib/popup/text-kinds.d.ts +11 -0
  519. package/dist/lib/popup/text-kinds.js +1 -0
  520. package/dist/lib/preview-header-settings.d.ts +39 -0
  521. package/dist/lib/preview-header-settings.js +0 -0
  522. package/dist/lib/puck/ColourControl.d.ts +8 -0
  523. package/dist/lib/puck/ColourControl.js +1 -0
  524. package/dist/lib/puck/MarkupToolbar.d.ts +13 -0
  525. package/dist/lib/puck/MarkupToolbar.js +1 -0
  526. package/dist/lib/puck/add-palette.d.ts +20 -0
  527. package/dist/lib/puck/add-palette.js +1 -0
  528. package/dist/lib/puck/add-target.d.ts +10 -0
  529. package/dist/lib/puck/add-target.js +1 -0
  530. package/dist/lib/puck/apply-card-corners.d.ts +21 -0
  531. package/dist/lib/puck/apply-card-corners.js +1 -0
  532. package/dist/lib/puck/block-offer.d.ts +10 -0
  533. package/dist/lib/puck/block-offer.js +1 -0
  534. package/dist/lib/puck/block-types-in.d.ts +1 -0
  535. package/dist/lib/puck/block-types-in.js +1 -0
  536. package/dist/lib/puck/blocks/block-types.d.ts +12 -0
  537. package/dist/lib/puck/blocks/block-types.js +1 -0
  538. package/dist/lib/puck/blocks/general/Banner/fields.d.ts +2 -0
  539. package/dist/lib/puck/blocks/general/Banner/fields.js +1 -0
  540. package/dist/lib/puck/blocks/general/Banner/render.d.ts +2 -0
  541. package/dist/lib/puck/blocks/general/Banner/render.js +1 -0
  542. package/dist/lib/puck/blocks/general/Breadcrumb/fields.d.ts +2 -0
  543. package/dist/lib/puck/blocks/general/Breadcrumb/fields.js +1 -0
  544. package/dist/lib/puck/blocks/general/Breadcrumb/render.d.ts +5 -0
  545. package/dist/lib/puck/blocks/general/Breadcrumb/render.js +1 -0
  546. package/dist/lib/puck/blocks/general/ButtonBlock/fields.d.ts +2 -0
  547. package/dist/lib/puck/blocks/general/ButtonBlock/fields.js +1 -0
  548. package/dist/lib/puck/blocks/general/ButtonBlock/render.d.ts +2 -0
  549. package/dist/lib/puck/blocks/general/ButtonBlock/render.js +1 -0
  550. package/dist/lib/puck/blocks/general/Cards/fields.d.ts +2 -0
  551. package/dist/lib/puck/blocks/general/Cards/fields.js +1 -0
  552. package/dist/lib/puck/blocks/general/Cards/render.d.ts +6 -0
  553. package/dist/lib/puck/blocks/general/Cards/render.js +1 -0
  554. package/dist/lib/puck/blocks/general/CategoryBar/fields.d.ts +2 -0
  555. package/dist/lib/puck/blocks/general/CategoryBar/fields.js +1 -0
  556. package/dist/lib/puck/blocks/general/CategoryBar/render.d.ts +2 -0
  557. package/dist/lib/puck/blocks/general/CategoryBar/render.js +1 -0
  558. package/dist/lib/puck/blocks/general/Chart/fields.d.ts +2 -0
  559. package/dist/lib/puck/blocks/general/Chart/fields.js +1 -0
  560. package/dist/lib/puck/blocks/general/Chart/render.d.ts +6 -0
  561. package/dist/lib/puck/blocks/general/Chart/render.js +2 -0
  562. package/dist/lib/puck/blocks/general/ContactLocations/fields.d.ts +2 -0
  563. package/dist/lib/puck/blocks/general/ContactLocations/fields.js +1 -0
  564. package/dist/lib/puck/blocks/general/ContactLocations/render.d.ts +2 -0
  565. package/dist/lib/puck/blocks/general/ContactLocations/render.js +1 -0
  566. package/dist/lib/puck/blocks/general/CustomHTML/fields.d.ts +2 -0
  567. package/dist/lib/puck/blocks/general/CustomHTML/fields.js +1 -0
  568. package/dist/lib/puck/blocks/general/CustomHTML/render.d.ts +2 -0
  569. package/dist/lib/puck/blocks/general/CustomHTML/render.js +3 -0
  570. package/dist/lib/puck/blocks/general/Divider/fields.d.ts +2 -0
  571. package/dist/lib/puck/blocks/general/Divider/fields.js +1 -0
  572. package/dist/lib/puck/blocks/general/Divider/render.d.ts +2 -0
  573. package/dist/lib/puck/blocks/general/Divider/render.js +1 -0
  574. package/dist/lib/puck/blocks/general/DocBody/fields.d.ts +2 -0
  575. package/dist/lib/puck/blocks/general/DocBody/fields.js +1 -0
  576. package/dist/lib/puck/blocks/general/DocBody/render.d.ts +5 -0
  577. package/dist/lib/puck/blocks/general/DocBody/render.js +1 -0
  578. package/dist/lib/puck/blocks/general/DocMasthead/fields.d.ts +2 -0
  579. package/dist/lib/puck/blocks/general/DocMasthead/fields.js +1 -0
  580. package/dist/lib/puck/blocks/general/DocMasthead/render.d.ts +7 -0
  581. package/dist/lib/puck/blocks/general/DocMasthead/render.js +1 -0
  582. package/dist/lib/puck/blocks/general/DocMetaCards/fields.d.ts +2 -0
  583. package/dist/lib/puck/blocks/general/DocMetaCards/fields.js +1 -0
  584. package/dist/lib/puck/blocks/general/DocMetaCards/render.d.ts +4 -0
  585. package/dist/lib/puck/blocks/general/DocMetaCards/render.js +1 -0
  586. package/dist/lib/puck/blocks/general/DocTabs/fields.d.ts +2 -0
  587. package/dist/lib/puck/blocks/general/DocTabs/fields.js +1 -0
  588. package/dist/lib/puck/blocks/general/DocTabs/render.d.ts +6 -0
  589. package/dist/lib/puck/blocks/general/DocTabs/render.js +1 -0
  590. package/dist/lib/puck/blocks/general/Eyebrow/fields.d.ts +2 -0
  591. package/dist/lib/puck/blocks/general/Eyebrow/fields.js +1 -0
  592. package/dist/lib/puck/blocks/general/Eyebrow/render.d.ts +2 -0
  593. package/dist/lib/puck/blocks/general/Eyebrow/render.js +1 -0
  594. package/dist/lib/puck/blocks/general/FAQ/fields.d.ts +2 -0
  595. package/dist/lib/puck/blocks/general/FAQ/fields.js +1 -0
  596. package/dist/lib/puck/blocks/general/FAQ/render.d.ts +7 -0
  597. package/dist/lib/puck/blocks/general/FAQ/render.js +1 -0
  598. package/dist/lib/puck/blocks/general/FeaturedCover/fields.d.ts +2 -0
  599. package/dist/lib/puck/blocks/general/FeaturedCover/fields.js +1 -0
  600. package/dist/lib/puck/blocks/general/FeaturedCover/render.d.ts +13 -0
  601. package/dist/lib/puck/blocks/general/FeaturedCover/render.js +1 -0
  602. package/dist/lib/puck/blocks/general/Flex/fields.d.ts +2 -0
  603. package/dist/lib/puck/blocks/general/Flex/fields.js +1 -0
  604. package/dist/lib/puck/blocks/general/Flex/render.d.ts +7 -0
  605. package/dist/lib/puck/blocks/general/Flex/render.js +1 -0
  606. package/dist/lib/puck/blocks/general/Footprint/fields.d.ts +2 -0
  607. package/dist/lib/puck/blocks/general/Footprint/fields.js +1 -0
  608. package/dist/lib/puck/blocks/general/Footprint/render.d.ts +7 -0
  609. package/dist/lib/puck/blocks/general/Footprint/render.js +2 -0
  610. package/dist/lib/puck/blocks/general/Grid/fields.d.ts +2 -0
  611. package/dist/lib/puck/blocks/general/Grid/fields.js +1 -0
  612. package/dist/lib/puck/blocks/general/Grid/render.d.ts +7 -0
  613. package/dist/lib/puck/blocks/general/Grid/render.js +1 -0
  614. package/dist/lib/puck/blocks/general/Heading/fields.d.ts +2 -0
  615. package/dist/lib/puck/blocks/general/Heading/fields.js +1 -0
  616. package/dist/lib/puck/blocks/general/Heading/render.d.ts +2 -0
  617. package/dist/lib/puck/blocks/general/Heading/render.js +1 -0
  618. package/dist/lib/puck/blocks/general/Hero/fields.d.ts +2 -0
  619. package/dist/lib/puck/blocks/general/Hero/fields.js +1 -0
  620. package/dist/lib/puck/blocks/general/Hero/render.d.ts +7 -0
  621. package/dist/lib/puck/blocks/general/Hero/render.js +1 -0
  622. package/dist/lib/puck/blocks/general/HeroGroup/fields.d.ts +2 -0
  623. package/dist/lib/puck/blocks/general/HeroGroup/fields.js +1 -0
  624. package/dist/lib/puck/blocks/general/HeroGroup/render.d.ts +8 -0
  625. package/dist/lib/puck/blocks/general/HeroGroup/render.js +1 -0
  626. package/dist/lib/puck/blocks/general/HeroSingle/fields.d.ts +2 -0
  627. package/dist/lib/puck/blocks/general/HeroSingle/fields.js +1 -0
  628. package/dist/lib/puck/blocks/general/HeroSingle/render.d.ts +8 -0
  629. package/dist/lib/puck/blocks/general/HeroSingle/render.js +1 -0
  630. package/dist/lib/puck/blocks/general/HeroSlide/fields.d.ts +2 -0
  631. package/dist/lib/puck/blocks/general/HeroSlide/fields.js +1 -0
  632. package/dist/lib/puck/blocks/general/HeroSlide/render.d.ts +8 -0
  633. package/dist/lib/puck/blocks/general/HeroSlide/render.js +1 -0
  634. package/dist/lib/puck/blocks/general/ImageBlock/fields.d.ts +2 -0
  635. package/dist/lib/puck/blocks/general/ImageBlock/fields.js +1 -0
  636. package/dist/lib/puck/blocks/general/ImageBlock/render.d.ts +2 -0
  637. package/dist/lib/puck/blocks/general/ImageBlock/render.js +1 -0
  638. package/dist/lib/puck/blocks/general/Integrations/fields.d.ts +2 -0
  639. package/dist/lib/puck/blocks/general/Integrations/fields.js +2 -0
  640. package/dist/lib/puck/blocks/general/Integrations/render.d.ts +2 -0
  641. package/dist/lib/puck/blocks/general/Integrations/render.js +2 -0
  642. package/dist/lib/puck/blocks/general/IntroBleed/fields.d.ts +2 -0
  643. package/dist/lib/puck/blocks/general/IntroBleed/fields.js +1 -0
  644. package/dist/lib/puck/blocks/general/IntroBleed/render.d.ts +7 -0
  645. package/dist/lib/puck/blocks/general/IntroBleed/render.js +2 -0
  646. package/dist/lib/puck/blocks/general/KeyFeatures/fields.d.ts +2 -0
  647. package/dist/lib/puck/blocks/general/KeyFeatures/fields.js +1 -0
  648. package/dist/lib/puck/blocks/general/KeyFeatures/render.d.ts +6 -0
  649. package/dist/lib/puck/blocks/general/KeyFeatures/render.js +1 -0
  650. package/dist/lib/puck/blocks/general/LogoBlock/fields.d.ts +2 -0
  651. package/dist/lib/puck/blocks/general/LogoBlock/fields.js +1 -0
  652. package/dist/lib/puck/blocks/general/LogoBlock/render.d.ts +2 -0
  653. package/dist/lib/puck/blocks/general/LogoBlock/render.js +1 -0
  654. package/dist/lib/puck/blocks/general/Logos/fields.d.ts +2 -0
  655. package/dist/lib/puck/blocks/general/Logos/fields.js +1 -0
  656. package/dist/lib/puck/blocks/general/Logos/render.d.ts +2 -0
  657. package/dist/lib/puck/blocks/general/Logos/render.js +1 -0
  658. package/dist/lib/puck/blocks/general/LongRead/fields.d.ts +2 -0
  659. package/dist/lib/puck/blocks/general/LongRead/fields.js +1 -0
  660. package/dist/lib/puck/blocks/general/LongRead/render.d.ts +19 -0
  661. package/dist/lib/puck/blocks/general/LongRead/render.js +1 -0
  662. package/dist/lib/puck/blocks/general/Manifesto/fields.d.ts +2 -0
  663. package/dist/lib/puck/blocks/general/Manifesto/fields.js +2 -0
  664. package/dist/lib/puck/blocks/general/Manifesto/render.d.ts +2 -0
  665. package/dist/lib/puck/blocks/general/Manifesto/render.js +1 -0
  666. package/dist/lib/puck/blocks/general/Masthead/fields.d.ts +2 -0
  667. package/dist/lib/puck/blocks/general/Masthead/fields.js +1 -0
  668. package/dist/lib/puck/blocks/general/Masthead/render.d.ts +8 -0
  669. package/dist/lib/puck/blocks/general/Masthead/render.js +1 -0
  670. package/dist/lib/puck/blocks/general/Mockup/fields.d.ts +2 -0
  671. package/dist/lib/puck/blocks/general/Mockup/fields.js +2 -0
  672. package/dist/lib/puck/blocks/general/Mockup/render.d.ts +2 -0
  673. package/dist/lib/puck/blocks/general/Mockup/render.js +2 -0
  674. package/dist/lib/puck/blocks/general/OrderSummary/fields.d.ts +2 -0
  675. package/dist/lib/puck/blocks/general/OrderSummary/fields.js +1 -0
  676. package/dist/lib/puck/blocks/general/OrderSummary/render.d.ts +6 -0
  677. package/dist/lib/puck/blocks/general/OrderSummary/render.js +1 -0
  678. package/dist/lib/puck/blocks/general/ParagraphsA/fields.d.ts +2 -0
  679. package/dist/lib/puck/blocks/general/ParagraphsA/fields.js +1 -0
  680. package/dist/lib/puck/blocks/general/ParagraphsA/render.d.ts +9 -0
  681. package/dist/lib/puck/blocks/general/ParagraphsA/render.js +1 -0
  682. package/dist/lib/puck/blocks/general/PaymentBadges/fields.d.ts +2 -0
  683. package/dist/lib/puck/blocks/general/PaymentBadges/fields.js +1 -0
  684. package/dist/lib/puck/blocks/general/PaymentBadges/render.d.ts +5 -0
  685. package/dist/lib/puck/blocks/general/PaymentBadges/render.js +1 -0
  686. package/dist/lib/puck/blocks/general/PostCard/fields.d.ts +2 -0
  687. package/dist/lib/puck/blocks/general/PostCard/fields.js +1 -0
  688. package/dist/lib/puck/blocks/general/PostCard/render.d.ts +9 -0
  689. package/dist/lib/puck/blocks/general/PostCard/render.js +1 -0
  690. package/dist/lib/puck/blocks/general/ProcessSteps/fields.d.ts +2 -0
  691. package/dist/lib/puck/blocks/general/ProcessSteps/fields.js +1 -0
  692. package/dist/lib/puck/blocks/general/ProcessSteps/render.d.ts +13 -0
  693. package/dist/lib/puck/blocks/general/ProcessSteps/render.js +1 -0
  694. package/dist/lib/puck/blocks/general/Prose/fields.d.ts +2 -0
  695. package/dist/lib/puck/blocks/general/Prose/fields.js +1 -0
  696. package/dist/lib/puck/blocks/general/Prose/render.d.ts +7 -0
  697. package/dist/lib/puck/blocks/general/Prose/render.js +1 -0
  698. package/dist/lib/puck/blocks/general/SectionHeader/fields.d.ts +2 -0
  699. package/dist/lib/puck/blocks/general/SectionHeader/fields.js +1 -0
  700. package/dist/lib/puck/blocks/general/SectionHeader/render.d.ts +2 -0
  701. package/dist/lib/puck/blocks/general/SectionHeader/render.js +1 -0
  702. package/dist/lib/puck/blocks/general/Series/fields.d.ts +2 -0
  703. package/dist/lib/puck/blocks/general/Series/fields.js +1 -0
  704. package/dist/lib/puck/blocks/general/Series/render.d.ts +8 -0
  705. package/dist/lib/puck/blocks/general/Series/render.js +1 -0
  706. package/dist/lib/puck/blocks/general/Spacer/fields.d.ts +2 -0
  707. package/dist/lib/puck/blocks/general/Spacer/fields.js +1 -0
  708. package/dist/lib/puck/blocks/general/Spacer/render.d.ts +2 -0
  709. package/dist/lib/puck/blocks/general/Spacer/render.js +1 -0
  710. package/dist/lib/puck/blocks/general/SpecStrip/fields.d.ts +2 -0
  711. package/dist/lib/puck/blocks/general/SpecStrip/fields.js +1 -0
  712. package/dist/lib/puck/blocks/general/SpecStrip/render.d.ts +2 -0
  713. package/dist/lib/puck/blocks/general/SpecStrip/render.js +1 -0
  714. package/dist/lib/puck/blocks/general/Split/fields.d.ts +2 -0
  715. package/dist/lib/puck/blocks/general/Split/fields.js +1 -0
  716. package/dist/lib/puck/blocks/general/Split/render.d.ts +10 -0
  717. package/dist/lib/puck/blocks/general/Split/render.js +2 -0
  718. package/dist/lib/puck/blocks/general/Stats/fields.d.ts +2 -0
  719. package/dist/lib/puck/blocks/general/Stats/fields.js +1 -0
  720. package/dist/lib/puck/blocks/general/Stats/render.d.ts +2 -0
  721. package/dist/lib/puck/blocks/general/Stats/render.js +1 -0
  722. package/dist/lib/puck/blocks/general/StatsParagraph/fields.d.ts +2 -0
  723. package/dist/lib/puck/blocks/general/StatsParagraph/fields.js +1 -0
  724. package/dist/lib/puck/blocks/general/StatsParagraph/render.d.ts +7 -0
  725. package/dist/lib/puck/blocks/general/StatsParagraph/render.js +1 -0
  726. package/dist/lib/puck/blocks/general/Testimonials/fields.d.ts +2 -0
  727. package/dist/lib/puck/blocks/general/Testimonials/fields.js +1 -0
  728. package/dist/lib/puck/blocks/general/Testimonials/render.d.ts +6 -0
  729. package/dist/lib/puck/blocks/general/Testimonials/render.js +1 -0
  730. package/dist/lib/puck/blocks/general/Text/fields.d.ts +2 -0
  731. package/dist/lib/puck/blocks/general/Text/fields.js +1 -0
  732. package/dist/lib/puck/blocks/general/Text/render.d.ts +2 -0
  733. package/dist/lib/puck/blocks/general/Text/render.js +1 -0
  734. package/dist/lib/puck/blocks/general/Ticker/fields.d.ts +2 -0
  735. package/dist/lib/puck/blocks/general/Ticker/fields.js +1 -0
  736. package/dist/lib/puck/blocks/general/Ticker/render.d.ts +5 -0
  737. package/dist/lib/puck/blocks/general/Ticker/render.js +1 -0
  738. package/dist/lib/puck/blocks/general/Timeline/fields.d.ts +2 -0
  739. package/dist/lib/puck/blocks/general/Timeline/fields.js +1 -0
  740. package/dist/lib/puck/blocks/general/Timeline/render.d.ts +10 -0
  741. package/dist/lib/puck/blocks/general/Timeline/render.js +2 -0
  742. package/dist/lib/puck/blocks/general/TimelineTrack/fields.d.ts +2 -0
  743. package/dist/lib/puck/blocks/general/TimelineTrack/fields.js +1 -0
  744. package/dist/lib/puck/blocks/general/TimelineTrack/render.d.ts +8 -0
  745. package/dist/lib/puck/blocks/general/TimelineTrack/render.js +1 -0
  746. package/dist/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +2 -0
  747. package/dist/lib/puck/blocks/general/TitleWithButtons/fields.js +1 -0
  748. package/dist/lib/puck/blocks/general/TitleWithButtons/render.d.ts +5 -0
  749. package/dist/lib/puck/blocks/general/TitleWithButtons/render.js +2 -0
  750. package/dist/lib/puck/blocks/general/index.d.ts +2 -0
  751. package/dist/lib/puck/blocks/general/index.js +1 -0
  752. package/dist/lib/puck/blocks/general/renders.d.ts +57 -0
  753. package/dist/lib/puck/blocks/general/renders.js +1 -0
  754. package/dist/lib/puck/blocks/general/section-bg-built-in.d.ts +6 -0
  755. package/dist/lib/puck/blocks/general/section-bg-built-in.js +1 -0
  756. package/dist/lib/puck/blocks/placeholders.d.ts +25 -0
  757. package/dist/lib/puck/blocks/placeholders.js +1 -0
  758. package/dist/lib/puck/blocks/scaffold.d.ts +22 -0
  759. package/dist/lib/puck/blocks/scaffold.js +1 -0
  760. package/dist/lib/puck/blocks/shared-fields.d.ts +14 -0
  761. package/dist/lib/puck/blocks/shared-fields.js +1 -0
  762. package/dist/lib/puck/booking-preview.d.ts +3 -0
  763. package/dist/lib/puck/booking-preview.js +1 -0
  764. package/dist/lib/puck/box-footer.d.ts +9 -0
  765. package/dist/lib/puck/box-footer.js +1 -0
  766. package/dist/lib/puck/build-config.d.ts +3 -0
  767. package/dist/lib/puck/build-config.js +1 -0
  768. package/dist/lib/puck/cap-hero-groups.d.ts +1 -0
  769. package/dist/lib/puck/cap-hero-groups.js +1 -0
  770. package/dist/lib/puck/container-blocks.d.ts +10 -0
  771. package/dist/lib/puck/container-blocks.js +1 -0
  772. package/dist/lib/puck/content-tree.d.ts +43 -0
  773. package/dist/lib/puck/content-tree.js +1 -0
  774. package/dist/lib/puck/controls.d.ts +346 -0
  775. package/dist/lib/puck/controls.js +1 -0
  776. package/dist/lib/puck/device-fields.d.ts +24 -0
  777. package/dist/lib/puck/device-fields.js +1 -0
  778. package/dist/lib/puck/editor-page-context.d.ts +6 -0
  779. package/dist/lib/puck/editor-page-context.js +1 -0
  780. package/dist/lib/puck/enclosing-section.d.ts +1 -0
  781. package/dist/lib/puck/enclosing-section.js +1 -0
  782. package/dist/lib/puck/field-groups.d.ts +23 -0
  783. package/dist/lib/puck/field-groups.js +1 -0
  784. package/dist/lib/puck/field-markers.d.ts +16 -0
  785. package/dist/lib/puck/field-markers.js +1 -0
  786. package/dist/lib/puck/field-noun.d.ts +3 -0
  787. package/dist/lib/puck/field-noun.js +1 -0
  788. package/dist/lib/puck/footer-blocks.d.ts +19 -0
  789. package/dist/lib/puck/footer-blocks.js +1 -0
  790. package/dist/lib/puck/footer-return.d.ts +3 -0
  791. package/dist/lib/puck/footer-return.js +1 -0
  792. package/dist/lib/puck/general-registry.d.ts +4 -0
  793. package/dist/lib/puck/general-registry.js +1 -0
  794. package/dist/lib/puck/geocode-resolve.d.ts +14 -0
  795. package/dist/lib/puck/geocode-resolve.js +1 -0
  796. package/dist/lib/puck/header-clearance.d.ts +49 -0
  797. package/dist/lib/puck/header-clearance.js +1 -0
  798. package/dist/lib/puck/header-ink.d.ts +16 -0
  799. package/dist/lib/puck/header-ink.js +1 -0
  800. package/dist/lib/puck/heading-outline.d.ts +7 -0
  801. package/dist/lib/puck/heading-outline.js +1 -0
  802. package/dist/lib/puck/hidable.d.ts +9 -0
  803. package/dist/lib/puck/hidable.js +1 -0
  804. package/dist/lib/puck/home-page.d.ts +1 -0
  805. package/dist/lib/puck/home-page.js +1 -0
  806. package/dist/lib/puck/left-view.d.ts +5 -0
  807. package/dist/lib/puck/left-view.js +1 -0
  808. package/dist/lib/puck/locations-focus.d.ts +22 -0
  809. package/dist/lib/puck/locations-focus.js +1 -0
  810. package/dist/lib/puck/locations-tree.d.ts +23 -0
  811. package/dist/lib/puck/locations-tree.js +2 -0
  812. package/dist/lib/puck/locked-blocks.d.ts +2 -0
  813. package/dist/lib/puck/locked-blocks.js +1 -0
  814. package/dist/lib/puck/media-manifest.json +138 -0
  815. package/dist/lib/puck/migrate-legacy.d.ts +2 -0
  816. package/dist/lib/puck/migrate-legacy.js +1 -0
  817. package/dist/lib/puck/mockup-variant-fields.d.ts +10 -0
  818. package/dist/lib/puck/mockup-variant-fields.js +1 -0
  819. package/dist/lib/puck/neutralization-contracts.d.ts +43 -0
  820. package/dist/lib/puck/neutralization-contracts.js +1 -0
  821. package/dist/lib/puck/one-h1.d.ts +3 -0
  822. package/dist/lib/puck/one-h1.js +1 -0
  823. package/dist/lib/puck/overlay-portal.d.ts +2 -0
  824. package/dist/lib/puck/overlay-portal.js +1 -0
  825. package/dist/lib/puck/overrides.d.ts +2 -0
  826. package/dist/lib/puck/overrides.js +1 -0
  827. package/dist/lib/puck/page-render.d.ts +5 -0
  828. package/dist/lib/puck/page-render.js +1 -0
  829. package/dist/lib/puck/page-root-fields.d.ts +29 -0
  830. package/dist/lib/puck/page-root-fields.js +1 -0
  831. package/dist/lib/puck/page-root.d.ts +55 -0
  832. package/dist/lib/puck/page-root.js +1 -0
  833. package/dist/lib/puck/panel-drop-empty-headings.d.ts +3 -0
  834. package/dist/lib/puck/panel-drop-empty-headings.js +1 -0
  835. package/dist/lib/puck/panel-fields.d.ts +12 -0
  836. package/dist/lib/puck/panel-fields.js +1 -0
  837. package/dist/lib/puck/panel-heading-scope.d.ts +8 -0
  838. package/dist/lib/puck/panel-heading-scope.js +1 -0
  839. package/dist/lib/puck/panel-no-control-mark.d.ts +7 -0
  840. package/dist/lib/puck/panel-no-control-mark.js +1 -0
  841. package/dist/lib/puck/part-anchors.d.ts +23 -0
  842. package/dist/lib/puck/part-anchors.js +1 -0
  843. package/dist/lib/puck/part-inks.d.ts +9 -0
  844. package/dist/lib/puck/part-inks.js +1 -0
  845. package/dist/lib/puck/part-key.d.ts +9 -0
  846. package/dist/lib/puck/part-key.js +1 -0
  847. package/dist/lib/puck/part-row-field.d.ts +2 -0
  848. package/dist/lib/puck/part-row-field.js +1 -0
  849. package/dist/lib/puck/part-rows.d.ts +15 -0
  850. package/dist/lib/puck/part-rows.js +1 -0
  851. package/dist/lib/puck/part-styles.d.ts +133 -0
  852. package/dist/lib/puck/part-styles.js +2 -0
  853. package/dist/lib/puck/part-text.d.ts +12 -0
  854. package/dist/lib/puck/part-text.js +1 -0
  855. package/dist/lib/puck/part-typing.d.ts +11 -0
  856. package/dist/lib/puck/part-typing.js +1 -0
  857. package/dist/lib/puck/passes/catalogue-labels.d.ts +2 -0
  858. package/dist/lib/puck/passes/catalogue-labels.js +1 -0
  859. package/dist/lib/puck/passes/cell-width.d.ts +2 -0
  860. package/dist/lib/puck/passes/cell-width.js +1 -0
  861. package/dist/lib/puck/passes/clickable-parts.d.ts +2 -0
  862. package/dist/lib/puck/passes/clickable-parts.js +1 -0
  863. package/dist/lib/puck/passes/corners.d.ts +3 -0
  864. package/dist/lib/puck/passes/corners.js +1 -0
  865. package/dist/lib/puck/passes/document-position.d.ts +16 -0
  866. package/dist/lib/puck/passes/document-position.js +1 -0
  867. package/dist/lib/puck/passes/empty-headings.d.ts +2 -0
  868. package/dist/lib/puck/passes/empty-headings.js +1 -0
  869. package/dist/lib/puck/passes/hidden-nodes.d.ts +2 -0
  870. package/dist/lib/puck/passes/hidden-nodes.js +1 -0
  871. package/dist/lib/puck/passes/index.d.ts +5 -0
  872. package/dist/lib/puck/passes/index.js +1 -0
  873. package/dist/lib/puck/passes/inspector.d.ts +2 -0
  874. package/dist/lib/puck/passes/inspector.js +1 -0
  875. package/dist/lib/puck/passes/registry-context.d.ts +2 -0
  876. package/dist/lib/puck/passes/registry-context.js +1 -0
  877. package/dist/lib/puck/passes/section-anchor.d.ts +2 -0
  878. package/dist/lib/puck/passes/section-anchor.js +1 -0
  879. package/dist/lib/puck/passes/section-animation.d.ts +2 -0
  880. package/dist/lib/puck/passes/section-animation.js +1 -0
  881. package/dist/lib/puck/passes/section-height.d.ts +2 -0
  882. package/dist/lib/puck/passes/section-height.js +1 -0
  883. package/dist/lib/puck/passes/section-padding.d.ts +8 -0
  884. package/dist/lib/puck/passes/section-padding.js +1 -0
  885. package/dist/lib/puck/passes/section-theme.d.ts +3 -0
  886. package/dist/lib/puck/passes/section-theme.js +1 -0
  887. package/dist/lib/puck/passes/section-width.d.ts +10 -0
  888. package/dist/lib/puck/passes/section-width.js +1 -0
  889. package/dist/lib/puck/passes/settings-groups.d.ts +3 -0
  890. package/dist/lib/puck/passes/settings-groups.js +1 -0
  891. package/dist/lib/puck/passes/slot-rules.d.ts +4 -0
  892. package/dist/lib/puck/passes/slot-rules.js +1 -0
  893. package/dist/lib/puck/passes/types.d.ts +51 -0
  894. package/dist/lib/puck/passes/types.js +0 -0
  895. package/dist/lib/puck/phone-override.d.ts +4 -0
  896. package/dist/lib/puck/phone-override.js +1 -0
  897. package/dist/lib/puck/pinned-seed-gate.d.ts +17 -0
  898. package/dist/lib/puck/pinned-seed-gate.js +1 -0
  899. package/dist/lib/puck/preview-click.d.ts +2 -0
  900. package/dist/lib/puck/preview-click.js +1 -0
  901. package/dist/lib/puck/preview-dom.d.ts +6 -0
  902. package/dist/lib/puck/preview-dom.js +1 -0
  903. package/dist/lib/puck/preview-selection-context.d.ts +19 -0
  904. package/dist/lib/puck/preview-selection-context.js +1 -0
  905. package/dist/lib/puck/registry.d.ts +3 -0
  906. package/dist/lib/puck/registry.js +1 -0
  907. package/dist/lib/puck/renamed-props.d.ts +2 -0
  908. package/dist/lib/puck/renamed-props.js +1 -0
  909. package/dist/lib/puck/sanitize.d.ts +1 -0
  910. package/dist/lib/puck/sanitize.js +1 -0
  911. package/dist/lib/puck/section-catalog.d.ts +36 -0
  912. package/dist/lib/puck/section-catalog.js +1 -0
  913. package/dist/lib/puck/section-descriptions.d.ts +1 -0
  914. package/dist/lib/puck/section-descriptions.js +1 -0
  915. package/dist/lib/puck/section-doc.d.ts +5 -0
  916. package/dist/lib/puck/section-doc.js +1 -0
  917. package/dist/lib/puck/section-groups.d.ts +21 -0
  918. package/dist/lib/puck/section-groups.js +1 -0
  919. package/dist/lib/puck/section-text-suppress.d.ts +9 -0
  920. package/dist/lib/puck/section-text-suppress.js +1 -0
  921. package/dist/lib/puck/site-gap-fields.d.ts +2 -0
  922. package/dist/lib/puck/site-gap-fields.js +1 -0
  923. package/dist/lib/puck/slider-typing.d.ts +9 -0
  924. package/dist/lib/puck/slider-typing.js +1 -0
  925. package/dist/lib/puck/slot-child-name.d.ts +8 -0
  926. package/dist/lib/puck/slot-child-name.js +1 -0
  927. package/dist/lib/puck/slot-heal.d.ts +2 -0
  928. package/dist/lib/puck/slot-heal.js +1 -0
  929. package/dist/lib/puck/slot-specs.d.ts +20 -0
  930. package/dist/lib/puck/slot-specs.js +1 -0
  931. package/dist/lib/puck/snapshot-contracts.d.ts +4 -0
  932. package/dist/lib/puck/snapshot-contracts.js +1 -0
  933. package/dist/lib/puck/source-bound-parts.d.ts +12 -0
  934. package/dist/lib/puck/source-bound-parts.js +1 -0
  935. package/dist/lib/puck/style-clipboard.d.ts +19 -0
  936. package/dist/lib/puck/style-clipboard.js +1 -0
  937. package/dist/lib/puck/templateFields.d.ts +2 -0
  938. package/dist/lib/puck/templateFields.js +1 -0
  939. package/dist/lib/puck/text-control-kinds.d.ts +13 -0
  940. package/dist/lib/puck/text-control-kinds.js +1 -0
  941. package/dist/lib/puck/text-parts.d.ts +33 -0
  942. package/dist/lib/puck/text-parts.js +1 -0
  943. package/dist/lib/puck/theme-swatches.d.ts +3 -0
  944. package/dist/lib/puck/theme-swatches.js +1 -0
  945. package/dist/lib/puck/tree-reveal.d.ts +11 -0
  946. package/dist/lib/puck/tree-reveal.js +1 -0
  947. package/dist/lib/puck/use-section-ops.d.ts +25 -0
  948. package/dist/lib/puck/use-section-ops.js +1 -0
  949. package/dist/lib/reel.d.ts +33 -0
  950. package/dist/lib/reel.js +1 -0
  951. package/dist/lib/safe-storage.d.ts +10 -0
  952. package/dist/lib/safe-storage.js +1 -0
  953. package/dist/lib/save-as-template-action.d.ts +29 -0
  954. package/dist/lib/save-as-template-action.js +1 -0
  955. package/dist/lib/section-template-types.d.ts +21 -0
  956. package/dist/lib/section-template-types.js +0 -0
  957. package/dist/lib/sections/card-cover-index.d.ts +7 -0
  958. package/dist/lib/sections/card-cover-index.js +1 -0
  959. package/dist/lib/sections/collection-card-text-regions.d.ts +4 -0
  960. package/dist/lib/sections/collection-card-text-regions.js +1 -0
  961. package/dist/lib/sections/divider-style.d.ts +12 -0
  962. package/dist/lib/sections/divider-style.js +1 -0
  963. package/dist/lib/sections/faq-text-regions.d.ts +4 -0
  964. package/dist/lib/sections/faq-text-regions.js +1 -0
  965. package/dist/lib/sections/hero-overlay.d.ts +10 -0
  966. package/dist/lib/sections/hero-overlay.js +1 -0
  967. package/dist/lib/sections/intro-bleed-layout.d.ts +15 -0
  968. package/dist/lib/sections/intro-bleed-layout.js +1 -0
  969. package/dist/lib/sections/product-card-style.d.ts +18 -0
  970. package/dist/lib/sections/product-card-style.js +1 -0
  971. package/dist/lib/sections/section-eyebrow-look.d.ts +11 -0
  972. package/dist/lib/sections/section-eyebrow-look.js +1 -0
  973. package/dist/lib/sections/section-head-placement.d.ts +31 -0
  974. package/dist/lib/sections/section-head-placement.js +1 -0
  975. package/dist/lib/sections/section-head-style.d.ts +16 -0
  976. package/dist/lib/sections/section-head-style.js +1 -0
  977. package/dist/lib/sections/section-number-style.d.ts +10 -0
  978. package/dist/lib/sections/section-number-style.js +1 -0
  979. package/dist/lib/sections/section-presets.d.ts +9 -0
  980. package/dist/lib/sections/section-presets.js +1 -0
  981. package/dist/lib/sections/section-text-kinds.d.ts +8 -0
  982. package/dist/lib/sections/section-text-kinds.js +1 -0
  983. package/dist/lib/sections/section-text-regions.d.ts +3 -0
  984. package/dist/lib/sections/section-text-regions.js +1 -0
  985. package/dist/lib/sections/spec-table-regions.d.ts +11 -0
  986. package/dist/lib/sections/spec-table-regions.js +1 -0
  987. package/dist/lib/sections/text-regions.d.ts +21 -0
  988. package/dist/lib/sections/text-regions.js +1 -0
  989. package/dist/lib/sections/ticker-join.d.ts +9 -0
  990. package/dist/lib/sections/ticker-join.js +1 -0
  991. package/dist/lib/sections/ticker-scroll.d.ts +11 -0
  992. package/dist/lib/sections/ticker-scroll.js +1 -0
  993. package/dist/lib/sections/ticker-style.d.ts +17 -0
  994. package/dist/lib/sections/ticker-style.js +1 -0
  995. package/dist/lib/site-runtime.d.ts +28 -0
  996. package/dist/lib/site-runtime.js +1 -0
  997. package/dist/lib/site-theme-row.d.ts +52 -0
  998. package/dist/lib/site-theme-row.js +0 -0
  999. package/dist/lib/slugify.d.ts +1 -0
  1000. package/dist/lib/slugify.js +1 -0
  1001. package/dist/lib/theme-dom.d.ts +14 -0
  1002. package/dist/lib/theme-dom.js +1 -0
  1003. package/dist/lib/theme-row-persist.d.ts +34 -0
  1004. package/dist/lib/theme-row-persist.js +1 -0
  1005. package/dist/lib/theme-save-message.d.ts +6 -0
  1006. package/dist/lib/theme-save-message.js +1 -0
  1007. package/dist/lib/theme.d.ts +177 -0
  1008. package/dist/lib/theme.js +18 -0
  1009. package/dist/lib/use-host-products.d.ts +2 -0
  1010. package/dist/lib/use-host-products.js +1 -0
  1011. package/dist/lib/web-backend.d.ts +193 -0
  1012. package/dist/lib/web-backend.js +1 -0
  1013. package/dist/lib/web-runtime.d.ts +7 -0
  1014. package/dist/lib/web-runtime.js +1 -0
  1015. package/dist/lib/word-styles.d.ts +54 -0
  1016. package/dist/lib/word-styles.js +1 -0
  1017. package/package.json +40 -36
  1018. package/dist/chunks/EditorPreviewCheckout-5KOAA2SK.js +0 -4
  1019. package/dist/chunks/PreviewFooter-H6XJUR5S.js +0 -1
  1020. package/dist/chunks/SectionEditorShell-EEZR7KFE.js +0 -1
  1021. package/dist/chunks/SiteEditorProvider-ECGZVKLG.js +0 -1
  1022. package/dist/chunks/StorefrontEditorChrome-4TFS62GY.js +0 -1
  1023. package/dist/chunks/chunk-6CP4D6VJ.js +0 -1
  1024. package/dist/chunks/chunk-7QXLVNFD.js +0 -1
  1025. package/dist/chunks/chunk-BJOS4Y35.js +0 -15
  1026. package/dist/chunks/chunk-BJOS4Y35.js.LEGAL.txt +0 -27
  1027. package/dist/chunks/chunk-EIXUXJQ5.js +0 -153
  1028. package/dist/chunks/chunk-EIXUXJQ5.js.LEGAL.txt +0 -4
  1029. package/dist/chunks/chunk-H7O6ZYX6.js +0 -1
  1030. package/dist/chunks/chunk-HVOO2GNE.js +0 -1
  1031. package/dist/chunks/chunk-IFRGL3GL.js +0 -1
  1032. package/dist/chunks/chunk-ML2AR222.js +0 -1
  1033. package/dist/chunks/chunk-RRHBLOH4.js +0 -1
  1034. package/dist/chunks/chunk-S6SXIMIG.js +0 -2
  1035. package/dist/chunks/chunk-SNH7IFTZ.js +0 -1
  1036. package/dist/chunks/chunk-Y4CZD2YY.js +0 -230
  1037. package/dist/chunks/chunk-Y6SLVHK3.js +0 -1
  1038. package/dist/chunks/chunk-YVQUISDX.js +0 -1
  1039. package/dist/chunks/fitment-data-6NXSKODX.js +0 -1
  1040. package/dist/chunks/gallery-builds-data-SWA6XKFF.js +0 -1
  1041. package/dist/chunks/headers-3CAQXQEY.js +0 -1
  1042. package/dist/chunks/render-client-YGYDU3K2.js +0 -1
  1043. package/dist/contract.d.ts +0 -48
  1044. package/dist/contract.js +0 -1
  1045. package/dist/editor.css +0 -1
  1046. package/dist/index.d.ts +0 -721
  1047. package/dist/index.js +0 -11058
  1048. package/dist/links.d.ts +0 -86
  1049. package/dist/links.js +0 -1
package/README.md CHANGED
@@ -1,277 +1,123 @@
1
1
  # efficient-web-builder
2
2
 
3
- The EFFICIENT **website builder** — the website editor (the page, template and
4
- section editors) and every section the storefront renders — for an app that
5
- edits a website **inside its own page**. The admin portal's Storefront editor
6
- windows mount it.
7
-
8
- Published as `efficient-web` up to 0.3.0; 0.7.0 is the first release under
9
- this name (`CHANGELOG.md` says how to migrate).
10
-
11
- It is not a second copy of anything: `build.mjs` compiles the shop's own
12
- `components/` and `lib/` from this repository, starting at `src/index.tsx`.
13
- The shop itself never installs it; its pages import the same source directly.
14
-
15
- ## Use
16
-
17
- ```tsx
18
- import "efficient-web-builder/editor.css";
19
- import { WebsiteEditor, createEditorHost } from "efficient-web-builder";
20
-
21
- const { host, deliver } = createEditorHost({
22
- onMessage: (m) => { /* toasts, open the media picker, the form builder … */ },
23
- address: { search: () => "", show: () => {}, load: retargetWindow, reload: remount },
24
- });
25
- // Grant a token when the editor says it is ready, and again on auth-expired:
26
- // deliver({ type: "storefront-editor:auth", token, siteId, can })
27
-
28
- <WebsiteEditor host={host} target={{ kind: "page", slug: "homepage", siteId }} site={{ slug, origin }} />;
29
- ```
30
-
31
- - **Messages** are the `storefront-editor:*` protocol the editor once spoke
32
- over postMessage from the shop's `/edit` routes, as function calls — no
33
- origin, no iframe.
34
- `EditorToHostMessage` / `HostToEditorMessage` type every one.
35
- - **`site`** — the website's `slug` (public catalog reads name it with
36
- `?site=`, because the embedder's own host names no website) and its public
37
- `origin` (the routes only the storefront serves, and the Preview link).
38
- Re-mount the editor with a `key` to move to another website.
39
- - **One editor mounted at a time.** Parts of the editor keep the open website
40
- and page in module state; route every target into one window.
41
- - **Styles.** `efficient-web-builder/editor.css` is the chrome, scoped under
42
- `.sf-editor`; the engine's sheets are imported from the embedder's own
43
- `efficient-easel`. The canvas is styled from inside its own frame (the
44
- storefront's compiled `app/globals.css`), so neither page's styles reach the
45
- other.
46
- - **Peers:** `react`/`react-dom` 19, `efficient-easel`, `efficient-shell`.
47
-
48
- ## A backend of your own (0.4.0)
49
-
50
- The editor reaches its server only through a `WebsiteBackend`
51
- (`doc/adr/0002`). Leave `backend` out and it is EFFICIENT's — `/api/storefront/*`,
52
- authorised by the token you deliver with `storefront-editor:auth`, exactly as
53
- above. A product with its own backend passes its own:
54
-
55
- ```tsx
56
- import { WebsiteEditor, WebsiteBackendError, type WebsiteBackend } from "efficient-web-builder";
57
-
58
- const backend: WebsiteBackend = {
59
- pages: {
60
- list: () => api.pages(), // EditorPageRow[]
61
- load: (ref) => api.page(ref), // { id, layout, version } | null
62
- save: async (id, doc, expect) => {
63
- const res = await api.savePage(id, doc.layout, expect.version);
64
- if (res.conflict) {
65
- throw new WebsiteBackendError("changed-elsewhere", undefined, {
66
- conflict: { savedBy: res.by, savedByYou: res.mine, secondsAgo: res.ago },
67
- });
68
- }
69
- return { version: res.version };
70
- },
71
- },
72
- site: { get: () => api.site() }, // { name }
73
- media: { resolve: (ref) => (ref.startsWith("file:") ? cdn(ref) : null) },
74
- };
75
-
76
- <WebsiteEditor host={host} target={{ kind: "page", slug: "home" }} site={null} backend={backend} />;
77
- ```
78
-
79
- - **Required:** `pages` (`list`, `load`, `save`), `site.get`, `media.resolve`.
80
- **Optional**, each switching its own control on: `pages.version`,
81
- `pages.publish` (the main button reads Publish, not Save), `pages.create` /
82
- `pages.remove` (inline in the page list), `lock` (the "somebody else is
83
- editing" notices and take-over), `site.update` (the Maps key), `preview`
84
- (the Preview link), `sectionTemplates`, `templates`. A missing group is never
85
- a dead button: the editor does not draw what it cannot do.
86
- - **Failures are kinds.** Reject with `WebsiteBackendError`: `unauthorized`,
87
- `changed-elsewhere` (+ `conflict`), `lock-taken` (+ `holder`), `not-found`,
88
- `invalid`, `unavailable`. The editor never reads a status code or a body.
89
- - **No token.** How a call is authorised is the backend's business. The editor
90
- waits for no `auth` message and needs none; it announces `ready` once, and
91
- when a save, a publish or a lock claim is refused `unauthorized` it tells the
92
- host `auth-expired` and lets the autosave try again.
93
- - **No request of its own.** Under your backend the package's own HTTP client is
94
- closed and the canvas loads no font sheet from Google.
95
- - **`PageBundle`** is `{ layout, translations?, seo? }`. 0.4.0 reads and writes
96
- `layout` only; store the bundle anyway — `translations` and `seo` are where
97
- per-language content will live, and an absent member means "leave it".
98
- - **Not behind the interface yet** (they work under EFFICIENT's backend, and are
99
- absent under yours): site styles, the pinned header and footer, menus,
100
- forms, the catalog, "duplicate to page". Block
101
- settings that list such data (product link targets, product sources) list
102
- nothing, and a Form section's picker is inert: it offers no list, no "New
103
- form" and sends no `open-form`.
104
- - **`backend.pages.linkTargets`** (optional): your pages with their layouts, for
105
- the link picker. Without it the picker lists `pages.list` and no anchors.
106
- - **`backend.media.maxUploadBytes`** (optional): the largest file a media field
107
- takes before it reaches your panel or picker; leave it out to refuse none.
108
- - **`backend.theme`** (optional): `get` / `update` the website's appearance —
109
- the `SiteThemeRow` behind Site styles (colour themes, fonts and sizes,
110
- corners, cards, widths). `update` is handed only the keys that changed and
111
- answers the whole row. Without it the editor shows no Site styles and the
112
- website is drawn in the built-in look.
113
- - **`backend.social`** (optional): `get` / `update` the website's social links,
114
- one address per platform name. Reject a bad address with
115
- `new WebsiteBackendError("invalid", message, { fields: { instagram: "…" } })`
116
- and the reason is shown beside that platform's box.
117
- - **`backend.chat`** (optional): `get` / `update` the live-chat bubble's
118
- settings. (The Live chat panel itself is still drawn only where the site's
119
- settings are — EFFICIENT's backend — until those settings cross too.)
120
- - **`backend.blog`** (optional): `posts(scope?)` answers your published posts.
121
- With it a section's "Blog post source" and the link picker's "Blog post"
122
- list your blog; without it neither offers a list.
123
- - `backend` is read once, when the editor mounts — re-mount (a `key`) to change it.
124
-
125
- ## Which blocks the editor offers (0.7.0)
126
-
127
- Every block is in one of three **sets**:
128
-
129
- | Set | What it is |
130
- |---|---|
131
- | `general` | Draws from its own props and what the host hands it (media, the site's logo, its Maps key). Any host may offer it. |
132
- | `commerce` | The shop: products, the catalogue, the cart, the checkout, the pinned Header. |
133
- | `service` | Needs one of the EFFICIENT backend's site services: forms, bookings, reviews, the newsletter, the blog, menus, the pinned Footer. |
134
-
135
- Which block is in which set is `GENERAL_BLOCKS`, `COMMERCE_BLOCKS` and
136
- `SERVICE_BLOCKS` in `efficient-web-builder/contract`.
137
-
138
- Leave `blocks` out and the editor offers all of them, exactly as before 0.7.0.
139
- Pass it to choose:
140
-
141
- ```tsx
142
- import { WebsiteEditor, type WebsiteEditorBlocks } from "efficient-web-builder";
143
- import type { ComponentConfig } from "efficient-easel/blocks";
144
-
145
- const Roster: ComponentConfig = {
146
- label: "Roster",
147
- fields: { heading: { type: "text", label: "Heading" } },
148
- defaultProps: { heading: "On tonight" },
149
- // `puck.metadata` is whatever you hand the editor as `blocks.metadata`.
150
- render: ({ heading, puck }) => <RosterSection heading={heading} people={puck.metadata.roster} />,
151
- };
152
-
153
- const blocks: WebsiteEditorBlocks = {
154
- sets: ["general"], // default: all three
155
- deny: ["CustomHTML"], // never these
156
- // allow: [...], // or: only these (after `sets`)
157
- host: { "acme-roster": Roster }, // your own blocks, by type
158
- categories: [{ key: "acme", title: "Venue", components: ["acme-roster"], before: "openers" }],
159
- metadata: { roster }, // live: change it and the canvas redraws
160
- };
161
-
162
- <WebsiteEditor host={host} target={target} site={null} backend={backend} blocks={blocks} />;
163
- ```
164
-
165
- - **Offered, not registered.** A block you leave out is in no group of the Add
166
- panel, no slot's "Add block" menu and no drop target, and no section is
167
- seeded with it. It is still registered: a page that already holds one draws
168
- it, and it can be selected and deleted.
169
- - **A section is offered only with what it is built from.** Adding a Hero
170
- writes Hero Slides, and "Brand Text" lays down Boxes, a Heading and a Text —
171
- so a Hero is not offered where `HeroSlide` is not, and Brand Text is not
172
- where the Box is not. `allow: ["Hero"]` therefore offers nothing; `allow:
173
- ["Hero", "HeroSlide"]` offers the Hero. To see what a section writes, add it
174
- and run `blockTypesIn` on the saved layout. A section that is only *wrapped*
175
- in a Box when it is added (most sections with a heading) is added whole
176
- instead where the Box or the Section Header is not offered.
177
- - **With a set left out, what needs it is not drawn.** Without `service`: no
178
- "Blog post" link target, no "Blog post source" on Feature Banner, Article
179
- Text and Post Card, an inert Form picker. Without `commerce`: no "Product"
180
- link target, no catalog seed. The pinned Header and Footer need both.
181
- - **Your own blocks.** Written as the engine's `ComponentConfig`, with its
182
- field types (`text`, `textarea`, `number`, `select`, `radio`, `array`,
183
- `object`, `custom`, `slot`). A type the editor already registers is refused —
184
- the editor throws when it mounts — so give yours a prefix. A block is added
185
- from the Add panel, in the group `categories` names; one named in no group is
186
- registered and offered nowhere, and none is offered inside a Box. A
187
- `categories` entry whose `key` is an existing group (`content`, `structure`,
188
- …) adds to the end of that group.
189
- - **Your blocks get none of the editor's own section rows.** The Padding,
190
- Width, Height, Anchor, Theme, Corners and Animation rows, the four settings
191
- tabs and click-to-edit text are added to the editor's own blocks by ~25
192
- passes that run once, when the package loads, over lists fixed in its source.
193
- A block that arrives when the editor mounts is not on those lists, so it is
194
- drawn exactly as its `render` draws it and edited with exactly the fields it
195
- declares. The one exception is the Layers tree's eye, which hides your block
196
- as it hides any other (it stores `_hidden: true` on the node's props). Giving
197
- host blocks the rest needs an `applyBlockPasses(type, block)` the package
198
- does not have yet: each pass rewritten from a loop over a fixed list into a
199
- function of one block, run in the same order.
200
- - **`metadata` is live; the rest is read once.** `sets`, `allow`, `deny`,
201
- `host` and `categories` are read when the editor mounts, with `backend` —
202
- re-mount (a `key`) to change them. `metadata` is followed: hand the editor a
203
- new object and every block in the canvas redraws in place. It is never
204
- written to the page or to the undo history. Keep the object the same between
205
- renders while the data is the same (a `useMemo`, a state value): a new object
206
- each render redraws the canvas each render.
207
-
208
- ### Checking a saved page on your server
209
-
210
- **Hiding a block in the editor is not a security boundary.** `blocks` decides
211
- what the editor offers; a page is a JSON document, and whoever can call your
212
- save endpoint can send one holding any block type. Check it where you store it:
3
+ The EFFICIENT website builder: the website editor, the general sections, and
4
+ the renderer that draws a published page from them. It has no host in it. The
5
+ EFFICIENT storefront, the admin portal and Foyerboard each mount it and hand it
6
+ what is theirs.
7
+
8
+ This repository was the folder `packages/web-builder` of
9
+ [`efficient-storefront`](https://github.com/Efficient-Pty-Ltd/efficient-storefront)
10
+ until 2026-10-07, and carries that folder's history: each file's log goes back
11
+ to the day it was written there
12
+ ([`doc/adr/0001`](doc/adr/0001-extracted-from-the-storefront.md)).
13
+
14
+ ## The one rule
15
+
16
+ **Nothing in `src/` imports anything outside `src/`** except the packages
17
+ `package.json` declares as peer dependencies. Not a commerce block, not a page,
18
+ not a host's API client — by value or by type.
19
+
20
+ What a host adds, it hands over on the editor's session
21
+ (`src/lib/editor-session.ts`), read once for the life of the mount:
22
+
23
+ | The host's | Declared in | What it is |
24
+ |---|---|---|
25
+ | block registry | `src/lib/puck/registry.ts`, `general-registry.tsx` | Which blocks exist, in what order. The builder's own registry is the general blocks; a host registers its own among them. |
26
+ | backend | `src/lib/web-backend.ts` | Everything the editor asks a server for: pages, the edit lock, the site record, media, and the optional groups (blog, chat, social, theme, …). |
27
+ | chrome | `src/lib/editor-chrome.tsx` | The host's furniture round the editor, as components: a wrapper, panels, Pages-panel rows, its products and its row under a Link field. |
28
+ | document hooks | `src/lib/editor-document-hooks.ts` | What the host does to a document as it opens and as an edit is stored. |
29
+ | failure reader | `src/lib/web-backend.ts` (`provideHostFailures`) | How to read the host client's own errors. |
30
+
31
+ The storefront's are assembled in its `lib/storefront-editor.ts`.
32
+
33
+ Two checks hold the rule, both in CI and both without an allow-list:
34
+
35
+ - `pnpm run typecheck` — `@/…` points at `src/` and nowhere else, so an import
36
+ of a host does not resolve.
37
+ - `pnpm run test:boundary` — the packages the sources import are exactly the
38
+ manifest's peer dependencies, and the manifest declares no module type.
39
+
40
+ ## Layout
41
+
42
+ `src/` keeps the paths these files had in the storefront — `src/lib/…`,
43
+ `src/components/…` — and imports are written `@/lib/…`, `@/components/…`.
44
+ Comments that name a file say `lib/puck/controls`; read them from `src/`.
45
+
46
+ ## How the storefront uses it
47
+
48
+ The storefront compiles these sources: its commerce and service blocks are
49
+ written with the builder's control builders and passes, so it needs the source,
50
+ not a bundle. It keeps a **vendored copy** of this repository's `src/` at
51
+ `packages/web-builder/src`, pinned to a commit here, and resolves `@/…` in its
52
+ own tree first and in the copy second.
53
+
54
+ - A change to the builder is made HERE. The storefront then moves its pin
55
+ (`node scripts/sync-web-builder.mjs <ref>` there), in a pull request that
56
+ runs the storefront's whole suite over the new copy.
57
+ - The copy is never edited in place: the storefront's check fails when that
58
+ folder is not byte-for-byte the `src/` tree of the pinned commit.
59
+
60
+ So this repository's CI proves the builder stands alone, and the storefront's
61
+ proves it still does what it did. Most of the builder's behavioural guards live
62
+ in the storefront for now, because they run the editor assembled with a host.
63
+
64
+ The copy is on its way out ([`doc/adr/0002`](doc/adr/0002-published-from-here-compiled.md)).
65
+ Some 280 of the storefront's guards read these sources by path, and the package
66
+ below carries no source. Once the guards that are the builder's alone live
67
+ here, the storefront installs the package like any host and deletes
68
+ `packages/web-builder`.
69
+
70
+ ## Published as `efficient-web-builder`
71
+
72
+ From 1.0.0 the npm package `efficient-web-builder` is this repository and
73
+ nothing else, published from here. (Up to 0.10.0 that name was built in the
74
+ storefront: these sources assembled WITH the storefront's blocks and
75
+ EFFICIENT's backend, for the admin portal. That assembly is now
76
+ `efficient-storefront-blocks`.)
77
+
78
+ The source is closed, so the package is compiled: `pnpm run build` writes one
79
+ minified `.js` and one `.d.ts` to `dist/` for every file under `src/`, at the
80
+ same relative path, with no source map and no comment. There is no bundle and
81
+ no entry yet; a host imports the module it needs by the path it has here:
213
82
 
214
83
  ```ts
215
- import { GENERAL_BLOCKS, blockTypesIn } from "efficient-web-builder/contract";
216
-
217
- const ALLOWED = new Set([...GENERAL_BLOCKS, "acme-roster"]);
218
-
219
- function assertAllowed(layout: unknown) {
220
- const refused = blockTypesIn(layout).filter((type) => !ALLOWED.has(type));
221
- if (refused.length) throw new Error(`This page holds blocks this site does not allow: ${refused.join(", ")}`);
222
- }
84
+ import { createEditorSession } from "efficient-web-builder/lib/editor-session";
85
+ import type { WebsiteBackend } from "efficient-web-builder/lib/web-backend";
86
+ import "efficient-web-builder/components/storefront-editor.css";
223
87
  ```
224
88
 
225
- `efficient-web-builder/contract` is one small file that imports nothing — no React, no
226
- engine, no editor — so a server can load it. It exports `BLOCK_SETS`,
227
- `GENERAL_BLOCKS`, `COMMERCE_BLOCKS`, `SERVICE_BLOCKS`, `blockSetOf(type)` and
228
- `blockTypesIn(layout)`.
89
+ Inside the package `@/…` is already a relative path, so a host needs no
90
+ mapping of its own. It installs the peer dependencies the manifest lists.
229
91
 
230
- `blockTypesIn` reads a layout by shape: any `{ type, props }` in the page's
231
- `content`, in a `zones` entry, or in an array under a node's props is a block,
232
- to any depth. It errs wide — something that merely looks like a block is
233
- counted — so a check built on it can refuse a page it might have accepted, and
234
- never the reverse. If `ALLOWED` is narrower than what your editor offers, list
235
- the blocks your sections are built from as well (see above), or the editor will
236
- build pages your server refuses.
92
+ ### Releasing
237
93
 
238
- ### Drawing a link the way the editor does
94
+ A merge is not a release. The pull request that wants hosts to see a change
95
+ raises `version` in `package.json` and adds a section to `CHANGELOG.md`. After
96
+ it merges, publish a GitHub Release tagged `vX.Y.Z` on the merge commit:
239
97
 
240
- `efficient-web-builder/links` is the editor's link rules, for a host that draws the
241
- shared link picker (efficient-easel `LinkPicker`) somewhere else — the admin's
242
- menu items. It is built from the same file the editor's own Link field reads,
243
- so a link written in one place reads back the same in the other.
244
-
245
- ```ts
246
- import {
247
- LINK_KINDS, inferLinkKind, isSafeLink, listingFilterFields,
248
- listingTarget, productListingPaths, readListingFilter, withListingFilter,
249
- } from "efficient-web-builder/links";
250
-
251
- const listing = productListingPaths(pages, { fallback: sellsProducts });
252
- inferLinkKind("/shop?type=tyre", pagePaths, listing); // "page"
253
- withListingFilter("/wheels", { param: "collection", value: "Precision Forged" });
254
- // "/wheels?collection=Precision%20Forged"
255
- isSafeLink("javascript:alert(1)"); // false
98
+ ```bash
99
+ gh release create vX.Y.Z --target <full merge sha> --title vX.Y.Z --notes-file <notes>
256
100
  ```
257
101
 
258
- `listingFilterFields(catalogue, { listing, fieldUsage })` lists the filters a
259
- link onto the product listing may offer — the listing's own rail for the kinds
260
- the section shows, after the site's Product Types answers and the one-value
261
- rule — each with the values the site's catalogue has. Light like `/contract`:
262
- one file, no import of any kind.
263
-
264
- ## Release
102
+ `.github/workflows/release.yml` runs the whole gate again and publishes through
103
+ npm trusted publishing. There is no token anywhere; npm accepts the publish
104
+ only from that workflow file in this repository. The registry can answer with
105
+ the previous version for a couple of minutes after a green run.
265
106
 
266
- The version here is bumped **by hand** in the pull request that wants the admin
267
- to see a change (and a `CHANGELOG.md` section added). After it merges:
107
+ ## Working here
268
108
 
109
+ ```bash
110
+ pnpm install
111
+ pnpm run verify
269
112
  ```
270
- gh release create web-vX.Y.Z --target <merge sha> --notes-file <the CHANGELOG section>
271
- ```
272
113
 
273
- `.github/workflows/release-web.yml` builds and publishes it (npm trusted
274
- publishing). Then bump the admin portal's pin.
114
+ `verify` is the typecheck, the boundary check, the build and
115
+ `scripts/verify-dist.mjs`, which reads `dist/` as a host would: every file
116
+ there, every import resolving, every `"use client"` kept, no source in it.
117
+
118
+ Node 26 (`.node-version`), pnpm 11. Do not add `"type": "module"` to
119
+ `package.json`: the storefront loads these files beside its own, and a module
120
+ type here makes its test runner load every one of them twice.
275
121
 
276
- Closed source: © Efficient Pty Ltd, all rights reserved (`LICENSE`); the
277
- published files are minified and ship no source maps.
122
+ Shared conventions — commits, branches, CI, naming — are the organisation's
123
+ harness (`efficient-harness`), as in every platform repository.
@@ -0,0 +1,7 @@
1
+ import { type BlockChoice } from "../lib/puck/footer-blocks.js";
2
+ export default function AddBlockRow({ choices, onPick, open, onToggle, }: {
3
+ choices: BlockChoice[];
4
+ onPick: (type: string) => void;
5
+ open?: boolean;
6
+ onToggle?: () => void;
7
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as s,jsxs as n,Fragment as p}from"react/jsx-runtime";import{Fragment as d,useState as u}from"react";import f from"./SectionIcon.js";import{blockRuns as g}from"../lib/puck/footer-blocks.js";function h({choices:o,onPick:m,open:c,onToggle:r}){const[i,a]=u(!1),t=c??i;return n(p,{children:[n("button",{type:"button",className:"sf-add-card","aria-expanded":t,onClick:r??(()=>a(e=>!e)),children:[s("span",{className:"sf-plus sf-plus--sm",children:"+"}),"Add block"]}),t&&s("div",{className:"sf-blockmenu",role:"menu",children:g(o).map(e=>n(d,{children:[e.group&&n("div",{className:"sf-menugroup-head",role:"presentation",children:[s("span",{className:"sf-menugroup-title",children:e.group}),s("span",{className:"sf-menugroup-count",children:e.items.length})]}),e.items.map(l=>n("button",{type:"button",className:"sf-blockmenu-item",role:"menuitem",onClick:()=>{a(!1),m(l.type)},children:[s("span",{className:"sf-chip",children:s(f,{type:l.type,size:13})}),s("span",{className:"sf-row-name",children:l.label})]},l.type))]},e.group??"all"))})]})}export{h as default};
@@ -0,0 +1,6 @@
1
+ export default function AddChildRow({ label, blocked, onAdd, small, }: {
2
+ label: string;
3
+ blocked: string | null;
4
+ onAdd: () => void;
5
+ small?: boolean;
6
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as t,jsxs as a}from"react/jsx-runtime";function d({label:l,blocked:s,onAdd:e,small:n=!1}){return a("button",{type:"button",className:"sf-add-card",disabled:s!==null,title:s??void 0,onClick:e,children:[t("span",{className:n?"sf-plus sf-plus--sm":"sf-plus",children:"+"}),l]})}export{d as default};
@@ -0,0 +1,39 @@
1
+ import { type DragSession } from "efficient-easel/drag";
2
+ import type { SectionTemplate } from "../lib/section-template-types.js";
3
+ import { type BlockChoice } from "../lib/puck/footer-blocks.js";
4
+ export type AddKey = {
5
+ kind: "section";
6
+ type: string;
7
+ } | {
8
+ kind: "template";
9
+ template: SectionTemplate;
10
+ } | {
11
+ kind: "block";
12
+ type: string;
13
+ };
14
+ export declare const sectionKey: (type: string) => string;
15
+ export declare const blockKey: (type: string) => string;
16
+ export declare const templateKey: (id: string) => string;
17
+ export type AddSidePanelProps<I> = {
18
+ blocks: {
19
+ parentName: string;
20
+ choices: BlockChoice[];
21
+ } | null;
22
+ blocksOnly: boolean;
23
+ at?: {
24
+ label: string;
25
+ onClear: () => void;
26
+ };
27
+ onAdd: (key: AddKey) => void;
28
+ itemFor: (key: AddKey) => I;
29
+ session: DragSession<I>;
30
+ siteWide?: {
31
+ chatEnabled: boolean;
32
+ onToggleChat: (on: boolean) => void;
33
+ onOpenChat: () => void;
34
+ };
35
+ onClose: () => void;
36
+ onHide?: () => void;
37
+ readOnly?: boolean;
38
+ };
39
+ export default function AddSidePanel<I>({ blocks, blocksOnly, at, onAdd, itemFor, session, siteWide, onClose, onHide, readOnly, }: AddSidePanelProps<I>): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as s,jsxs as m,Fragment as T}from"react/jsx-runtime";import{useEffect as L,useMemo as g,useState as P}from"react";import{useEasel as j}from"efficient-easel/easel";import{AddPanel as D}from"efficient-easel/drag";import y from"./SectionIcon.js";import _,{PanelModeExit as z}from"./SidePanelHead.js";import{AddIcon as F}from"efficient-easel/icons";import S from"./SectionThumbnail.js";import{sectionTemplates as K}from"../lib/editor-section-templates.js";import{useEditorSession as O}from"../lib/editor-session-context.js";import{buildPaletteSections as B,categoryLabel as H,paletteWithoutPinned as M,pinnedSection as R}from"../lib/puck/add-palette.js";import{blockOfferOf as Y}from"../lib/puck/block-offer.js";import{blockTypesIn as q}from"../lib/puck/block-types-in.js";import{SettingsSwitch as G}from"efficient-easel/panel";import{blockRuns as J}from"../lib/puck/footer-blocks.js";import{SECTION_DESCRIPTIONS as Q}from"../lib/puck/section-descriptions.js";import{labelAtLevel as U}from"../lib/puck/section-catalog.js";const V=o=>`section:${o}`,X=o=>`block:${o}`,Z=o=>`template:${o}`;function W({blocks:o,blocksOnly:l,at:k,onAdd:x,itemFor:w,session:$,siteWide:d,onClose:A,onHide:v,readOnly:C}){const a=j(e=>e.config),h=O(),[p,E]=P([]);L(()=>{let e=!1;const n=Y(h);return K.list().then(c=>{if(e)return;const t=a.components;E(c.filter(i=>i.node?.type&&t[i.node.type]&&(!n||q(i.node).every(n.offers))))}).catch(()=>{}),()=>{e=!0}},[a,h]);const f=g(()=>B(a,Q),[a]),I=e=>U(e,"section",a.components[e]?.label??e),u=e=>({type:V(e.type),label:e.name,cover:s(S,{type:e.type}),title:e.desc?`${e.name} \u2014 ${e.desc}`:`Add ${e.name}`,keywords:[e.alias??"",e.desc,e.type,e.catLabel].filter(Boolean)}),N=g(()=>{const e=[];if(o&&o.choices.length>0&&J(o.choices).forEach((t,i)=>{e.push({title:i===0?`Inside ${o.parentName}${t.group?` \xB7 ${t.group}`:""}`:t.group??"",tiles:t.items.map(r=>({type:X(r.type),label:r.label,icon:s(y,{type:r.type,size:18}),title:`Add ${r.label}`}))})}),l)return e;const n=R(f);n&&e.push({title:"Start blank",tiles:[u(n)]}),p.length>0&&e.push({title:"Your templates",tiles:p.map(t=>({type:Z(t.id),label:t.name,cover:s(S,{type:t.node.type}),keywords:[I(t.node.type),t.node.type]}))});const c=M(f);for(const t of Object.keys(a.categories??{})){const i=c.filter(r=>r.cat===t);i.length!==0&&e.push({title:H(a,t),tiles:i.map(u)})}return e},[o,l,p,f,a]),b=e=>{const n=e.indexOf(":"),c=e.slice(0,n),t=e.slice(n+1);if(c==="section")return{kind:"section",type:t};if(c==="block")return{kind:"block",type:t};if(c==="template"){const i=p.find(r=>r.id===t);return i?{kind:"template",template:i}:null}return null};return m(T,{children:[s(_,{icon:s(F,{size:15}),title:"Add",context:l?"Blocks for this place":"Sections and blocks",actions:s(z,{label:"Done",description:"Close Add and go back",onClick:A}),onHide:v}),m("div",{className:"sf-addside sf-scroll",children:[s(D,{groups:N,session:$,itemFor:e=>w(b(e)??{kind:"section",type:e}),onInsert:e=>{const n=b(e);n&&x(n)},at:k,hint:l?"Drag into the page, or click to add.":"Drag onto the page, or click to add.",searchLabel:l?"Search blocks":"Search sections",readOnly:C}),d&&!l?m("div",{className:"sf-addside-sitewide",children:[s("span",{className:"sf-addside-sitewide-glyph","aria-hidden":"true",children:s(y,{type:"chat",size:16})}),m("button",{type:"button",className:"sf-addside-sitewide-name",onClick:d.onOpenChat,children:["Live chat",s("span",{className:"sf-addside-sitewide-desc",children:"A chat bubble on every page"})]}),s(G,{checked:d.chatEnabled,onChange:d.onToggleChat,ariaLabel:"Show the chat bubble on the whole site"})]}):null]})]})}export{X as blockKey,W as default,V as sectionKey,Z as templateKey};
@@ -0,0 +1,6 @@
1
+ interface Props {
2
+ target: string;
3
+ label: string;
4
+ }
5
+ export default function AnimatedStat({ target, label }: Props): import("react").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ "use client";import{jsx as n,jsxs as l}from"react/jsx-runtime";import{useCountUp as o}from"./useCountUp.js";function d({target:t,label:a}){const e=t.match(/^(\d+)(.*)$/),s=e?parseInt(e[1],10):0,i=e?e[2]:"",{ref:m,value:r}=o(s),c=e?r+i:t;return l("div",{ref:m,className:"min-w-0",children:[n("div",{className:"font-heading2 text-[length:var(--size-headingMedium,40px)] font-medium leading-none tracking-[-0.02em] tabular-nums","aria-label":t,children:c}),n("div",{className:"mt-1 font-mono text-[length:var(--size-label,13px)] uppercase tracking-[0.2em] text-fg-dim",children:a})]})}export{d as default};
@@ -0,0 +1,9 @@
1
+ import { type ApplyCornersPlan } from "../lib/puck/apply-card-corners.js";
2
+ export declare const APPLY_CORNERS_DONE_MS = 2200;
3
+ export declare const APPLY_CORNERS_LABEL = "Apply to all cards";
4
+ export declare function ApplyCornersButton({ plan, doneCount, onPress, }: {
5
+ plan: ApplyCornersPlan;
6
+ doneCount: number | null;
7
+ onPress: () => void;
8
+ }): import("react").JSX.Element;
9
+ export default function ApplyCornersToSiblings(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as l}from"react/jsx-runtime";import{useCallback as i,useEffect as a,useRef as m,useState as f}from"react";import{useEasel as C}from"efficient-easel/easel";import{SettingsAction as d}from"efficient-easel/panel";import{applyCorners as A,applyCornersDoneLabel as S,applyCornersNote as y,planApplyCorners as b}from"../lib/puck/apply-card-corners.js";import{useSectionOps as _}from"../lib/puck/use-section-ops.js";const x=2200,E="apply-corners-to-siblings",L="Apply to all cards";function P({plan:e,doneCount:n,onPress:r}){return l(d,{id:E,label:L,note:y(e),disabled:!e.can,done:n!==null,doneLabel:S(n??0),onPress:r})}function N(){const{appState:e,config:n}=C(u=>u),r=_(),[p,s]=f(null),o=m(null);a(()=>()=>{o.current&&clearTimeout(o.current)},[]);const t=b(n,e.data.content??[],e.ui.itemSelector),c=i(()=>{A(t,r.replaceComponent),t.can&&(s(t.others),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>s(null),x))},[t,r]);return l(P,{plan:t,doneCount:p,onPress:c})}export{x as APPLY_CORNERS_DONE_MS,L as APPLY_CORNERS_LABEL,P as ApplyCornersButton,N as default};
@@ -0,0 +1,12 @@
1
+ interface BannerProps {
2
+ eyebrow?: string;
3
+ title?: string;
4
+ body?: string;
5
+ ctaText?: string;
6
+ ctaHref?: string;
7
+ imageSrc: string;
8
+ overlay?: number;
9
+ contained: boolean;
10
+ }
11
+ export default function Banner({ eyebrow, title, body, ctaText, ctaHref, imageSrc, contained, overlay }: BannerProps): import("react").JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import h from"./BlockFrame.js";import f from"./Btn.js";import{media as v}from"../lib/media.js";import g from"./SectionEyebrow.js";import{renderGold as t,renderHeadline as u,splitParagraphs as N}from"./goldPhrases.js";function b({eyebrow:i,title:s,body:l,ctaText:n,ctaHref:d,imageSrc:a,contained:m,overlay:o=60}){const c=Math.min(Math.max(o,0),100)/100;return e(h,{contained:m,className:"py-6",children:r("div",{className:"sf-card relative overflow-hidden border border-line bg-surface px-10 py-16 max-[800px]:px-6 max-[800px]:py-10",children:[a&&r("div",{className:"absolute inset-0","aria-hidden":!0,children:[e("img",{src:v(a),alt:"",className:"h-full w-full object-cover"}),e("div",{className:"absolute inset-0",style:{background:`rgba(0,0,0,${c})`}})]}),r("div",{className:"relative z-[1] flex max-w-[680px] flex-col gap-5",style:a?{color:"var(--overlay-fg)"}:void 0,children:[i&&e(g,{text:i}),s&&e("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))] font-medium leading-[1.05] tracking-[-0.03em] max-[800px]:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",children:u(s,!1)}),l&&N(l).map((p,x)=>e("p",{className:"text-[length:var(--size-body,16px)] leading-[1.6] opacity-85",children:t(p)},x)),n&&e("div",{className:"mt-2 self-start",children:e(f,{href:d||"#",variant:"primary",children:t(n)})})]})]})})}export{b as default};
@@ -0,0 +1,15 @@
1
+ import type { CSSProperties, ReactNode } from "react";
2
+ interface BlockFrameProps {
3
+ contained: boolean;
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ children: ReactNode;
7
+ }
8
+ export declare const FRAME_BASE = "mx-auto w-full max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)]";
9
+ export declare const FRAME_GUTTER = "max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";
10
+ export declare const FRAME = "mx-auto w-full max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";
11
+ export declare const PRE_FRAME_BASE = "mx-auto w-full max-w-[1280px] px-[60px]";
12
+ export declare const PRE_FRAME_GUTTER = "max-[960px]:px-6";
13
+ export declare const PRE_FRAME = "mx-auto w-full max-w-[1280px] px-[60px] max-[960px]:px-6";
14
+ export default function BlockFrame({ contained, className, style, children }: BlockFrameProps): import("react").JSX.Element;
15
+ export {};
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import p from"./SiteGutterFrame.js";const s="mx-auto w-full max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)]",a="max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",l=`${s} ${a}`,m="mx-auto w-full max-w-[1280px] px-[60px]",n="max-[960px]:px-6",u=`${m} ${n}`;function E({contained:x,className:t="",style:r,children:o}){return e(p,{contained:x,framedClass:`${l} ${t}`,fillClass:`w-full ${t}`,style:r,children:o})}export{l as FRAME,s as FRAME_BASE,a as FRAME_GUTTER,u as PRE_FRAME,m as PRE_FRAME_BASE,n as PRE_FRAME_GUTTER,E as default};
@@ -0,0 +1,5 @@
1
+ export default function BlockGapField({ value, onChange, showHint, }: {
2
+ value: number | null;
3
+ onChange: (v: number | null) => void;
4
+ showHint?: boolean;
5
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as t}from"react/jsx-runtime";import{SettingsField as l}from"efficient-easel/panel";import{PartResetDot as s}from"./PartResetDot.js";import{AlignSeparateIcon as c}from"efficient-easel/icons";import{CONTAINER_GAP_BUILT_IN as m,SITE_BLOCK_GAP as a}from"../lib/content/container-gap.js";import{Slider as p}from"../lib/puck/controls.js";const d="The space between the blocks inside a row, a grid or a box. Not set means each one keeps the spacing it already has.",n="Block gap",f=m.Grid;function _({value:o,onChange:i,showHint:r=!0}){const e=o===null;return t(l,{label:n,labelId:"sf-block-gap",icon:t(c,{}),value:e?"Not set":`${o}px`,changed:!e,action:e?void 0:t(s,{label:n,what:"change",onClear:()=>i(null)}),hint:r?d:void 0,children:t(p,{min:a.min,max:a.max,step:a.step,value:e?f:o,readout:!1,ariaLabel:n,onChange:i})})}export{_ as default};
@@ -0,0 +1,14 @@
1
+ export interface BlogPostSourceValue {
2
+ slug: string;
3
+ image: string;
4
+ title: string;
5
+ dek: string;
6
+ date: string;
7
+ href: string;
8
+ }
9
+ interface Props {
10
+ value?: BlogPostSourceValue | null;
11
+ onChange: (value: BlogPostSourceValue | null) => void;
12
+ }
13
+ export default function BlogPostSource({ value, onChange }: Props): import("react").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ "use client";import{jsx as e,Fragment as u,jsxs as c}from"react/jsx-runtime";import{useContext as B}from"react";import{SettingsField as g}from"efficient-easel/panel";import{FieldSelect as d}from"efficient-easel/fields";import{BlogPostIcon as f}from"efficient-easel/icons";import{StorefrontDocumentContext as x}from"./StorefrontDocumentContext.js";import{loadStorefrontBlogPosts as N}from"./useStorefrontBlogPosts.js";import{useSnapshotSource as L}from"./useSnapshotSource.js";import P from"./SourceStatus.js";function T(o){if(!o)return"";const t=new Date(o);return Number.isNaN(t.getTime())?"":t.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"2-digit"})}function m(o){return{slug:o.slug,image:o.coverImage,title:o.title,dek:o.excerpt,date:T(o.publishedAt),href:o.href}}function C({value:o,onChange:t}){const r=B(x);return r&&!r.capabilities.hasBlog?o?.slug?e(D,{value:o,onChange:t}):e(u,{}):e(F,{value:o,onChange:t})}function D({value:o,onChange:t}){return c("div",{children:[e(g,{label:"Blog post source",icon:e(f,{}),children:e(d,{value:o.slug,ariaLabel:"Blog post source",onChange:r=>r?void 0:t(null),options:[{label:"None (manual)",value:""},{label:o.title||o.slug,value:o.slug}]})}),e("p",{className:"sf-blogsource-hint",style:{marginTop:7},children:"Linked to a blog post. This editor has no blog to pick another from; choose \u201CNone (manual)\u201D to author the section yourself."})]})}function F({value:o,onChange:t}){const{rows:r,loading:h,refreshing:l,errored:a,refresh:p}=L({load:N,resolve:(s,n)=>s.find(i=>i.slug===n.slug),snapshot:m,value:o,onChange:t}),b=s=>{if(!s){t(null);return}const n=(r??[]).find(i=>i.slug===s);n&&t(m(n))},S=o?.slug&&!(r??[]).some(s=>s.slug===o.slug),k=a?"error":l?"loading":"idle",y=a?"Couldn\u2019t reach Storefront \u2192 Blog.":l?"Syncing from Storefront \u2192 Blog\u2026":`Linked to \u201C${o?.title||o?.slug||""}\u201D`;return c("div",{children:[e(g,{label:"Blog post source",icon:e(f,{}),children:e(d,{value:o?.slug??"",ariaLabel:"Blog post source",onChange:b,readOnly:h,options:[{label:"None (manual)",value:""},...S?[{label:`${o.title||o.slug} (unavailable)`,value:o.slug}]:[],...(r??[]).map(s=>({label:s.title,value:s.slug}))]})}),o?.slug?e(P,{status:k,statusText:y,onRefresh:p,busy:l,hint:e(u,{children:"Auto-fills the cover image, headline, dek, date and link from this post each time you open the editor. Those fields are hidden while a post is linked; the remaining fields stay yours to set."})}):e("p",{className:"sf-blogsource-hint",style:{marginTop:7},children:"Pick a post from Storefront \u2192 Blog to auto-fill this section, or keep \u201CNone (manual)\u201D to author it yourself below."})]})}export{C as default};
@@ -0,0 +1,7 @@
1
+ export interface BoxSurface {
2
+ dark: boolean;
3
+ }
4
+ export declare const BoxSurfaceContext: import("react").Context<BoxSurface | null>;
5
+ export declare function BoxSurfaceProvider({ children }: {
6
+ children: React.ReactNode;
7
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as e}from"react/jsx-runtime";import{createContext as o}from"react";const t=o(null),n={dark:!0};function x({children:r}){return e(t.Provider,{value:n,children:r})}export{t as BoxSurfaceContext,x as BoxSurfaceProvider};
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from "react";
2
+ export default function BoxTabs({ children, className, style, }: {
3
+ children: ReactNode;
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as o,Fragment as g,jsxs as v}from"react/jsx-runtime";import{useEffect as c,useRef as A,useState as i}from"react";import j from"./Reel.js";function y({children:l,className:u,style:d}){const a=A(null),[r,b]=i([]),[f,m]=i(0);c(()=>{const t=a.current;if(!t)return;const s=()=>{const h=Array.from(t.querySelectorAll(":scope > *"));b(h.map((p,x)=>p.dataset.tabLabel?.trim()||`Tab ${x+1}`))};s();const e=new MutationObserver(s);return e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tab-label"]}),()=>e.disconnect()},[]);const n=r.length?Math.min(f,r.length-1):0;return c(()=>{const t=a.current;t&&Array.from(t.children).forEach((s,e)=>{s.hidden=r.length>1&&e!==n})},[r,n]),v(g,{children:[r.length>1&&o(j,{slides:r.map(t=>({name:t,process:""})),active:n,shape:"tabs",tone:"surface",label:"Tabs",ref:t=>{t&&(t.onclick=s=>{const e=s.target?.closest?.("[data-idx]")?.getAttribute("data-idx");e!=null&&m(Number(e))})}}),o("div",{ref:a,"data-box-tabs":!0,className:u,style:d,children:l})]})}export{y as default};
@@ -0,0 +1,10 @@
1
+ export interface BreadcrumbItem {
2
+ label: string;
3
+ href?: string;
4
+ }
5
+ export interface BreadcrumbProps {
6
+ items?: BreadcrumbItem[];
7
+ meta?: string;
8
+ editing?: boolean;
9
+ }
10
+ export default function Breadcrumb({ items, meta, editing }: BreadcrumbProps): import("react").JSX.Element | null;