efficient-web-builder 0.9.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 -338
  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-YVSO4HE3.js +0 -4
  1019. package/dist/chunks/PreviewFooter-34YJU76X.js +0 -1
  1020. package/dist/chunks/SectionEditorShell-CVWJ6DSU.js +0 -1
  1021. package/dist/chunks/SiteEditorProvider-ECGZVKLG.js +0 -1
  1022. package/dist/chunks/StorefrontEditorChrome-YKEMJT3Z.js +0 -1
  1023. package/dist/chunks/chunk-2XX3N727.js +0 -153
  1024. package/dist/chunks/chunk-2XX3N727.js.LEGAL.txt +0 -4
  1025. package/dist/chunks/chunk-6CP4D6VJ.js +0 -1
  1026. package/dist/chunks/chunk-7QXLVNFD.js +0 -1
  1027. package/dist/chunks/chunk-EKKAVQJX.js +0 -1
  1028. package/dist/chunks/chunk-FU5UZ4UY.js +0 -1
  1029. package/dist/chunks/chunk-HVOO2GNE.js +0 -1
  1030. package/dist/chunks/chunk-J5WPJJCW.js +0 -2
  1031. package/dist/chunks/chunk-MEIUD5LJ.js +0 -1
  1032. package/dist/chunks/chunk-N3IM4XBG.js +0 -1
  1033. package/dist/chunks/chunk-RRHBLOH4.js +0 -1
  1034. package/dist/chunks/chunk-TUB4O4RZ.js +0 -15
  1035. package/dist/chunks/chunk-TUB4O4RZ.js.LEGAL.txt +0 -27
  1036. package/dist/chunks/chunk-UM3P3PXW.js +0 -230
  1037. package/dist/chunks/chunk-XQGZKQII.js +0 -1
  1038. package/dist/chunks/chunk-Y6SLVHK3.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-VMLB4BTY.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 -11050
  1048. package/dist/links.d.ts +0 -86
  1049. package/dist/links.js +0 -1
@@ -0,0 +1 @@
1
+ const p=["general","commerce","service"],o=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero Slideshow",set:"general"},{type:"HeroSingle",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"BrandStrip",label:"Brand Strip",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",set:"commerce"},{type:"SpecStrip",label:"Spec Strip",set:"general"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"TyreFitment",label:"Tyre Fitment Form",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"},{type:"RelatedProducts",label:"Related Products",set:"commerce"},{type:"BundleOffer",label:"Bundle Products",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"DeliveryOptions",label:"Delivery Options",set:"commerce"},{type:"PaymentBadges",label:"Payment Methods",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Cards",label:"Cards",set:"general"},{type:"KeyFeatures",label:"Key Features",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"StatsParagraph",label:"Stats with Text",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Testimonials",label:"Testimonials",set:"general"},{type:"Reviews",label:"Reviews",set:"service"},{type:"Logos",label:"Logos",set:"general"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"Masthead",label:"Issue Header",set:"general"},{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"Series",label:"Recurring Columns",set:"general"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocMasthead",label:"Document Header",set:"general"},{type:"DocBody",label:"Document Text",set:"general"},{type:"DocMetaCards",label:"Document Detail Cards",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Spacer",label:"Spacer",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]}];function h(){return Object.fromEntries(o.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}const l={Grid:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A \u2014 shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or a shape (Big left, Big right, Bigger left, Bigger right) and its own `Columns on phone`. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` \u2014 256 documents): 2 Grid nodes, and they are ONE Grid counted twice \u2014 the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 \u2014 equal thirds \u2014 and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n\u26A0\uFE0F THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned \u2014 hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. \u26D4 So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says \u2014 Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS \u2014 the owner redoes live sections himself.\n\n\u26A0\uFE0F AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/puck/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot \u2014 a Box included \u2014 refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` \xA73 pins it.',CompatibleTyres:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings \u2014 it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 \u2014 it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n\u26A0\uFE0F THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call \u2014 nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n \u2022 settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT \u2014 the map holds only TimelineTrack and Footprint, both AUTHORED lists\n \u2022 read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n \u2022 panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n \u2022 head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero \u2014 neither can style them \u2014 and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/puck/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS \u2014 the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n\u26A0\uFE0F AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.',SubscribeBlogs:"card 66396 \u2014 folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},m=["Grid"],y=Array.from(new Set([...o.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(l)])),u=Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.label]))),i={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",MenuBlock:"service",EmailFormBlock:"service",SocialLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},a={...i,...Object.fromEntries(o.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function b(e){return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0}function r(e){return Object.keys(a).filter(t=>a[t]===e).sort()}const g=r("general"),T=r("commerce"),S=r("service"),c="Flex",s="Box",E=`${s}es`;function d(e){return e==="section"?"Blank section":s}function w(e,t,n){return e===c?d(t):n}export{y as ALL_SECTION_TYPES,p as BLOCK_SETS,s as BOX_LABEL,E as BOX_LABEL_PLURAL,T as COMMERCE_BLOCKS,g as GENERAL_BLOCKS,c as LEVEL_NAMED_TYPE,m as RETIRED_NESTABLE_SECTIONS,l as RETIRED_SECTIONS,o as SECTION_CATALOG,u as SECTION_LABELS,S as SERVICE_BLOCKS,i as UNLISTED_BLOCK_SETS,b as blockSetOf,r as blocksInSet,h as buildPuckCategories,w as labelAtLevel,d as labelForFlex};
@@ -0,0 +1 @@
1
+ export declare const SECTION_DESCRIPTIONS: Record<string, string>;
@@ -0,0 +1 @@
1
+ const e={Hero:"Full-screen opener with rotating slides.",HeroSingle:"Full-screen image or video with a headline.",IntroBleed:"Full-bleed intro image the next section scrolls over.",Collections:"Product collections in a tidy grid.",AlloyWheelsListing:"A full product-listing page: filter rail, sortable card grid and pagination, from the live catalog. Choose which product types it shows.",CatalogFilterBar:"Filters the collection grids below it \u2014 a sticky row of Pills (the default), or Columns, one per filter you switch on.",ProductGrid:"Hand-picked products in a tidy grid.",FitmentFinder:"A vehicle picker \u2014 make, model, year and trim resolve the OEM stock fitment live.",Gallery:"Two image galleries with tabs and filters.",GalleryB:"Customer photos in a card grid with a click-to-open lightbox.",SpecStrip:"A thin one-line spec strip \u2014 small-caps items spread across the width, as a dark band or a bare hairline row.",ProductHero:"A product hero \u2014 image beside price, bullets and a buy button.",SpecTable:"A spec sheet \u2014 labeled rows of product specifications.",ProcessSteps:"A heading over columns of image, title, blurb and specs.",DetailRows:"Repeating full-width rows \u2014 eyebrow, title and copy beside a numbered close-up image, alternating sides each row.",FitmentTable:"A fitment table \u2014 per-size bolt patterns, offsets and load ratings, filterable by diameter.",CompatibleTyres:"The current product's compatible tyres \u2014 image, size, key specs and price per tyre, with an inquiry link. Display only.",RelatedProducts:"The current product's related items in a tidy row \u2014 the product page's built-in 'Pair with' cross-sell.",OrderSummary:"A display order-summary panel \u2014 items, totals and a note.",DeliveryOptions:"Delivery tiers as cards \u2014 name, window and price, one highlighted.",PaymentBadges:"A payment-methods trust strip with reassurance lines.",CheckoutCTA:"A centered 'ready to order?' headline with the checkout button.",Manifesto:"A bold brand statement beside a full-height image, with a stat strip.",ParagraphsA:"An editorial text panel with a stat strip and founders' note.",StatsParagraph:"An editorial heading and paragraph over a row of theme-color-accented stat cards.",Chart:"A titled chart \u2014 bars, line or donut \u2014 drawn from your own labeled data points.",Mockup:"A headline beside a stylized product-UI mockup card \u2014 spec sheet, fitment, portal, kanban and more.",Prose:"A plain editorial text section \u2014 eyebrow, heading and body copy.",Timeline:"An editorial aside beside a rail-marked timeline of dated entries.",TimelineTrack:"A horizontal year track of milestones \u2014 company history or roadmap.",Footprint:"A world map of your locations with a legend \u2014 designed here, sold worldwide.",TitleWithButtons:"A big headline beside a stack of call-to-action buttons.",Split:"Side-by-side image and text in two columns.",Cards:"A heading over a grid of free-text title-and-blurb cards.",FAQ:"A frequently-asked-questions accordion with a header.",Testimonials:"Customer quotes in a grid \u2014 the quote, a name and a role.",Masthead:"A journal issue header with a lead statement and contents.",Breadcrumb:"A slim trail showing where the reader is (Home / Journal\u2026).",CategoryBar:"A sticky row of category tabs with counts and links.",FeaturedCover:"A featured article \u2014 big cover image beside a headline and dek.",LongRead:"A long-form article spread with a pull-quote and cover image.",Series:"A section heading over a grid of column cards.",Subscribe:"A newsletter signup beside a list of recent issues.",SubscribeBlogs:"A newsletter signup beside your latest blog posts, pulled live.",Events:"Latest journal posts in a three-card row.",DocMasthead:"A document header \u2014 headline, metadata and standfirst.",DocTabs:"A sticky tab bar to switch between documents.",DocBody:"Long-form document body with an 'On this page' contents list.",DocMetaCards:"A three-up meta strip for the foot of a document.",Banner:"Wide promo strip with background image.",Stats:"Highlight key numbers \u2014 years, designs.",KeyFeatures:"A theme-color chip and heading over a grid of short feature labels.",Logos:"A row of partner or brand logos.",Ticker:"A scrolling marquee of short phrases, full width.",Reviews:"Approved customer reviews in a star-rated card grid, pulled live.",SubmitBuild:"A 'Show us yours.' headline with a photo-submission form.",ReviewForm:"A write-a-review form \u2014 submissions wait for your approval before they show.",ContactRouting:"Pick who to reach, then a form that routes the message.",ContactLocations:"Your locations as a city gallery plus address and map cards.",SectionHeader:"A numbered section title with optional link.",Grid:"Multi-column container for blocks.",Flex:"An empty section. Add whatever you want inside.",Spacer:"Vertical breathing room between sections.",Divider:"A thin horizontal rule between sections.",CustomHTML:"Drop in your own sanitized HTML.",Heading:"A single heading line.",Text:"A paragraph of body copy.",ImageBlock:"A standalone image, at the width you set.",ButtonBlock:"A call-to-action button."};export{e as SECTION_DESCRIPTIONS};
@@ -0,0 +1,5 @@
1
+ import type { Data } from "efficient-easel/blocks";
2
+ import { type TreeItem } from "./content-tree.js";
3
+ export declare function nodeToDoc(node: TreeItem): Data;
4
+ export declare function docToNode(data: Data): TreeItem | null;
5
+ export declare function cloneNodeWithFreshIds(node: TreeItem): TreeItem;
@@ -0,0 +1 @@
1
+ import{newNodeId as r}from"./content-tree.js";function i(o){return{root:{props:{}},content:[o],zones:{}}}function y(o){return(o.content??[])[0]??null}function p(o){return Array.isArray(o)&&o.length>0&&o.every(t=>!!t&&typeof t=="object"&&typeof t.type=="string"&&typeof t.props=="object")}function c(o){const t={...o.props,id:r(o.type)};for(const[n,e]of Object.entries(t))p(e)&&(t[n]=e.map(c));return{type:o.type,props:t}}export{c as cloneNodeWithFreshIds,y as docToNode,i as nodeToDoc};
@@ -0,0 +1,21 @@
1
+ export declare const SITE_HEADER_TYPE = "SiteHeader";
2
+ export declare const SITE_FOOTER_TYPE = "SiteFooter";
3
+ export declare const SECTION_GROUP_SLOT = "sections";
4
+ export declare const SECTION_GROUP_TYPES: readonly ["SiteHeader", "SiteFooter"];
5
+ export type SectionGroupType = (typeof SECTION_GROUP_TYPES)[number];
6
+ export declare const isSectionGroupType: (type: string | undefined) => type is SectionGroupType;
7
+ type Node = {
8
+ type?: string;
9
+ props?: Record<string, unknown>;
10
+ };
11
+ export declare const sectionGroupZone: (groupId: string) => string;
12
+ export declare function buildSectionGroup(type: SectionGroupType, id: string, sections?: Node[]): {
13
+ type: "SiteHeader" | "SiteFooter";
14
+ props: {
15
+ id: string;
16
+ sections: Node[];
17
+ };
18
+ };
19
+ export declare function siteFooterDocChrome<T extends Node>(content: readonly T[]): readonly T[];
20
+ export declare function withSectionGroup<T extends Node>(content: readonly T[], group: T): readonly T[];
21
+ export {};
@@ -0,0 +1 @@
1
+ const n="SiteHeader",s="SiteFooter",i="sections",S=[n,s],E=e=>e===n||e===s,f=e=>`${e}:${i}`;function T(e,t,r=[]){return{type:e,props:{id:t,[i]:r}}}const c=new Set(["Footer",n,s]);function a(e){const t=new Set;let r=!1;const p=e.filter(u=>{const o=u?.type??"";return o==="Header"?(r=!0,!1):c.has(o)?t.has(o)?(r=!0,!1):(t.add(o),!0):!0});return r?p:e}function x(e,t){return e.some(r=>r?.type===t.type)?e:t.type===n?[t,...e]:[...e,t]}export{i as SECTION_GROUP_SLOT,S as SECTION_GROUP_TYPES,s as SITE_FOOTER_TYPE,n as SITE_HEADER_TYPE,T as buildSectionGroup,E as isSectionGroupType,f as sectionGroupZone,a as siteFooterDocChrome,x as withSectionGroup};
@@ -0,0 +1,9 @@
1
+ import { type ReactNode } from "react";
2
+ export declare function SectionTextSuppressProvider({ children }: {
3
+ children: ReactNode;
4
+ }): import("react").JSX.Element;
5
+ export declare function useSectionTextSuppressed(): boolean;
6
+ export declare function SuppressibleText({ name, children }: {
7
+ name?: string;
8
+ children: ReactNode;
9
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as r,Fragment as s}from"react/jsx-runtime";import{createContext as n,useContext as p}from"react";import{isStructuralTextProp as u}from"./neutralization-contracts.js";import{NoControlMark as i}from"./panel-no-control-mark.js";const t=n(!1);function l({children:e}){return r(t.Provider,{value:!0,children:e})}function c(){return p(t)}function S({name:e,children:o}){return!c()||!e||u(e)?r(s,{children:o}):r(i,{})}export{l as SectionTextSuppressProvider,S as SuppressibleText,c as useSectionTextSuppressed};
@@ -0,0 +1,2 @@
1
+ import type { Config } from "efficient-easel/blocks";
2
+ export declare function withSiteBlockGapFields(config: Config, siteGap: number | null): Config;
@@ -0,0 +1 @@
1
+ import{GAP_FIELD_CONTAINER as u}from"../content/container-gap.js";function f(t){return!!t&&typeof t=="object"&&typeof t[u]=="string"}function p(t,c){if(!t)return t;let e=null;for(const[o,n]of Object.entries(t))f(n)&&(e??={...t},e[o]={...n,siteGap:c});return e??t}function a(t,c){const e=t;let o=!1;const n={};for(const[s,r]of Object.entries(e.components)){const i=p(r.fields,c);if(i===r.fields){n[s]=r;continue}o=!0,n[s]={...r,fields:i}}return o?{...t,components:n}:t}export{a as withSiteBlockGapFields};
@@ -0,0 +1,9 @@
1
+ export type TypedNumberOutcome = {
2
+ handled: boolean;
3
+ editing: boolean;
4
+ commit: number | null;
5
+ };
6
+ export declare const TYPED_NUMBER_COMMIT = "Enter";
7
+ export declare const TYPED_NUMBER_CANCEL = "Escape";
8
+ export declare function typedNumberValue(text: string, min: number, max: number, step: number): number | null;
9
+ export declare function typedNumberKey(key: string, draft: string, min: number, max: number, step: number): TypedNumberOutcome;
@@ -0,0 +1 @@
1
+ const l="Enter",c="Escape",s=/^[+-]?(?:\d+(?:\.\d+)?|\.\d+)$/,m=/(px|%)$/i;function p(n,e,r,t){const u=n.trim().replace(/\s+/g,"").replace(m,"");if(!s.test(u))return null;const i=Number(u);if(!Number.isFinite(i))return null;const a=Math.min(r,Math.max(e,i));if(!(t>0))return a;const d=e+Math.round((a-e)/t)*t,o=Math.min(r,Math.max(e,d));return Number(o.toFixed(4))}function f(n,e,r,t,u){return n===l?{handled:!0,editing:!1,commit:p(e,r,t,u)}:n===c?{handled:!0,editing:!1,commit:null}:{handled:!1,editing:!0,commit:null}}export{c as TYPED_NUMBER_CANCEL,l as TYPED_NUMBER_COMMIT,f as typedNumberKey,p as typedNumberValue};
@@ -0,0 +1,8 @@
1
+ export type SlotChild = {
2
+ type: string;
3
+ props: Record<string, unknown>;
4
+ };
5
+ export declare function slotChildName(child: SlotChild, wheelName?: (code: string) => string | undefined): string;
6
+ export declare function slotChildRowName(child: SlotChild, compLabel: (type: string) => string, wheelName?: (code: string) => string | undefined): string;
7
+ export declare function slotChildRenameProp(fields: Record<string, unknown> | undefined): "name" | "altName" | null;
8
+ export declare function rootRowName(node: SlotChild, fallback: string): string;
@@ -0,0 +1 @@
1
+ import{stripMarkup as s}from"../markup.js";import{hidableText as n,textFieldIdentifier as a}from"./controls.js";function m(t,r){const o=n(t.props.name);if(o)return o;const p=n(t.props.altName);if(p)return p;const i=t.props.collection?.name;if(i)return i;const u=t.props.source?.title;if(u)return u;const e=t.props.code;return e?r?.(e)??e:""}function c(t,r,o){return s(m(t,o))||r(t.type)}function x(t){if(!t)return null;for(const r of["name","altName"])if(a(t[r]))return r;return null}function N(t,r){return n(t.props?.name).trim()||r}export{N as rootRowName,m as slotChildName,x as slotChildRenameProp,c as slotChildRowName};
@@ -0,0 +1,2 @@
1
+ import type { TreeItem } from "./content-tree.js";
2
+ export declare function dedupeSlotChildren(item: TreeItem, slots: string[]): TreeItem["props"] | null;
@@ -0,0 +1 @@
1
+ function u(r,l){let t=!1;const o={...r.props};for(const e of l){const s=Array.isArray(r.props[e])?r.props[e]:[],p=new Set,d=s.filter(c=>{const n=c?.props?.id;return!n||p.has(n)?!1:(p.add(n),!0)});d.length!==s.length&&(o[e]=d,t=!0)}return t?o:null}export{u as dedupeSlotChildren};
@@ -0,0 +1,20 @@
1
+ import { type TreeItem } from "./content-tree.js";
2
+ export type NodeDefaults = (type: string) => Record<string, unknown>;
3
+ export interface SlotSectionSpec {
4
+ slot: string;
5
+ childType: string;
6
+ addLabel: string;
7
+ fixed?: boolean;
8
+ slider?: boolean;
9
+ seeds: (defaultsFor?: NodeDefaults) => Record<string, unknown>[];
10
+ legacy?: (props: Record<string, unknown>) => Record<string, unknown>[];
11
+ addBlocked?: (children: readonly unknown[], incoming?: unknown) => string | null;
12
+ skipSeed?: (props: Record<string, unknown>) => boolean;
13
+ notice?: (children: readonly unknown[]) => string | null;
14
+ }
15
+ export declare const SLOT_SECTION_SPECS: Record<string, SlotSectionSpec>;
16
+ export declare function registerSlotSectionSpecs(specs: Record<string, SlotSectionSpec>): void;
17
+ export declare function buildSlotSeedChildren(type: string, defaultsFor?: NodeDefaults): {
18
+ slot: string;
19
+ children: TreeItem[];
20
+ } | null;
@@ -0,0 +1 @@
1
+ import{HERO_SLIDE_SEEDS as a}from"../../components/HeroSlide.js";import{heroGroupAddBlocked as l,heroGroupOverCapNotice as c}from"../hero-group-placement.js";import{newNodeId as p}from"./content-tree.js";import{BOX_TYPE as t,CONTAINER_BLOCKS_SLOT as n}from"./container-blocks.js";import{BOX_LABEL as i}from"./section-catalog.js";const m="ImageBlock",E=3,d=(e,r,o={})=>({type:e,props:{...r?.(e)??{},id:p(e),...o}}),T=e=>({...e?.(t)??{},direction:"column",[n]:[d(m,e),d(t,e,{direction:"column",[n]:[d("Heading",e),d("Text",e)]})]}),s={Hero:{slot:"slides",childType:"HeroSlide",addLabel:"Add slide",slider:!0,seeds:()=>a.map(e=>({...e}))},HeroSlide:{slot:"groups",childType:"HeroGroup",addLabel:`Add ${i.toLowerCase()}`,seeds:()=>[],addBlocked:l,notice:c},HeroSingle:{slot:"boxes",childType:"HeroGroup",addLabel:`Add ${i.toLowerCase()}`,seeds:()=>[],addBlocked:l,notice:c},ProcessSteps:{slot:"boxes",childType:t,addLabel:`Add ${i.toLowerCase()}`,seeds:e=>Array.from({length:E},()=>T(e)),skipSeed:e=>Array.isArray(e.steps)&&e.steps.length>0}};function u(e){for(const[r,o]of Object.entries(e)){if(r in s&&s[r]!==o)throw new Error(`lib/puck/slot-specs: "${r}" already has a slot spec`);s[r]=o}}function A(e,r){const o=s[e];return o?{slot:o.slot,children:o.seeds(r).map(S=>({type:o.childType,props:{id:p(o.childType),...S}}))}:null}export{s as SLOT_SECTION_SPECS,A as buildSlotSeedChildren,u as registerSlotSectionSpecs};
@@ -0,0 +1,4 @@
1
+ export declare const SNAPSHOT_OBJECTS: Record<string, Record<string, {
2
+ keep: string[];
3
+ }>>;
4
+ export declare const HYDRATED_LISTS: Record<string, string[]>;
@@ -0,0 +1 @@
1
+ const e={ProductGrid:{source:{keep:["slug"]}},GalleryItem:{product:{keep:["code","finish"]}},FeaturedCover:{source:{keep:["slug"]}},LongRead:{source:{keep:["slug"]}}},s={Events:["posts"],SubscribeBlogs:["posts"]};export{s as HYDRATED_LISTS,e as SNAPSHOT_OBJECTS};
@@ -0,0 +1,12 @@
1
+ export type PartSource = "product" | "blog" | "menu";
2
+ export declare function sourceBoundBlocks(): string[];
3
+ export declare function hydratedPropsOf(block: string): string[];
4
+ export declare const PART_SOURCES: Record<string, PartSource>;
5
+ export declare const SOURCE_LINES: Record<PartSource, string>;
6
+ export declare const SOURCE_ACTION_LABEL = "Open";
7
+ export declare const SOURCE_ACTIONS: Record<PartSource, {
8
+ type: "storefront-editor:open-product" | "storefront-editor:open-post" | "storefront-editor:open-menus";
9
+ needsSlug: boolean;
10
+ }>;
11
+ export declare function sourceSlugOf(props: unknown): string | undefined;
12
+ export declare function partSourceOf(nodeType: string): PartSource | null;
@@ -0,0 +1 @@
1
+ import{CUSTOM_FIELD_VALUES as n}from"./neutralization-contracts.js";import{HYDRATED_LISTS as s,SNAPSHOT_OBJECTS as u}from"./snapshot-contracts.js";function l(){const e=new Set([...Object.keys(u),...Object.keys(s)]);for(const[t,o]of Object.entries(n))for(const r of Object.values(o))r.verb==="snapshot"&&e.add(t);return[...e].sort()}function f(e){const t=new Set([...Object.keys(u[e]??{}),...s[e]??[]]);for(const[o,r]of Object.entries(n[e]??{}))r.verb==="snapshot"&&t.add(o);return[...t].sort()}const c={CollectionCard:"product",FooterMenu:"menu",Gallery:"product",GalleryItem:"product",ProductGrid:"product",ProductHero:"product",SpecTable:"product",Events:"blog",FeaturedCover:"blog",LongRead:"blog",SubscribeBlogs:"blog"},S={product:"Synced from the product.",blog:"Synced from the blog post.",menu:"Synced from the site menu."},i="Open",O={product:{type:"storefront-editor:open-product",needsSlug:!0},blog:{type:"storefront-editor:open-post",needsSlug:!0},menu:{type:"storefront-editor:open-menus",needsSlug:!1}};function b(e){const o=e?.source?.slug;return typeof o=="string"&&o.length>0?o:void 0}function g(e){return c[e]??null}export{c as PART_SOURCES,O as SOURCE_ACTIONS,i as SOURCE_ACTION_LABEL,S as SOURCE_LINES,f as hydratedPropsOf,g as partSourceOf,l as sourceBoundBlocks,b as sourceSlugOf};
@@ -0,0 +1,19 @@
1
+ import { type StyleRow } from "efficient-easel/style-clipboard";
2
+ import { panelFieldsOf } from "./panel-fields.js";
3
+ type Props = Record<string, unknown>;
4
+ type NodeLike = {
5
+ type: string;
6
+ props: Props;
7
+ };
8
+ type ConfigLike = Parameters<typeof panelFieldsOf>[0];
9
+ export declare function siteStyleScope(siteId: string | null | undefined): string;
10
+ export declare function shopFieldKind(field: unknown): string | null;
11
+ export declare function nodeStyleRows(config: ConfigLike, node: NodeLike): StyleRow[];
12
+ export declare function copyNodeStyle(config: ConfigLike, scope: string, node: NodeLike, label: string): void;
13
+ export declare function planNodePaste(config: ConfigLike, scope: string, node: NodeLike, label: string): {
14
+ props: Props;
15
+ changed: boolean;
16
+ pasted: number;
17
+ message: string;
18
+ } | null;
19
+ export {};
@@ -0,0 +1 @@
1
+ import{fieldKind as l,STYLE_KIND as p,copyStyle as f,heldStyle as y,pasteMessage as E,planPaste as S}from"efficient-easel/style-clipboard";import{anchorFields as m,foldMetaOf as _,LINK_FIELD_MARKER as h,MEDIA_FIELD_MARKER as K,TEXT_FIELD_MARKER as R}from"./controls.js";import{deviceMetaOf as A,withoutDeviceGate as a}from"./device-fields.js";import{BUCKET_KEY as c}from"./field-groups.js";import{panelFieldsOf as L}from"./panel-fields.js";const O=new Set([c.Style,c.Layout]),w=new Set(Object.values(c)),d=new Set(Object.keys(m())),D=new Set(["focal","imageFocal"]),M=[K,R,h];function v(t){return`site:${t??""}`}function b(t){if(!t||typeof t!="object")return null;const n=t,e=a(t)??t,o=n[p]??e[p];if(typeof o=="string")return o;const r=n.options??e.options;return Array.isArray(r)?`choice:${r.map(i=>String(i?.value)).sort().join("|")}`:l(e)}function F(t){const n=t,e=a(t);return M.some(o=>o in n||e&&o in e)}function u(t,n){const e=L(t,n)??{},o=[];let r=!1;for(const[s,i]of Object.entries(e)){if(w.has(s)){r=O.has(s);continue}!r||!i||typeof i!="object"||s.startsWith("_")||_(i)||d.has(s)||D.has(s)||F(i)||i.type!=="slot"&&o.push({path:[s],kind:b(i),counted:A(i)?.tier!=="mobile"})}return o}function x(t,n,e,o){f({scope:n,type:e.type,label:o,rows:u(t,e),props:e.props})}function C(t,n,e,o){const r=y(n);if(!r)return null;const s=S(r,{type:e.type,rows:u(t,e),props:e.props});return{...s,message:E(s,r.sourceLabel,o)}}export{x as copyNodeStyle,u as nodeStyleRows,C as planNodePaste,b as shopFieldKind,v as siteStyleScope};
@@ -0,0 +1,2 @@
1
+ import type { Config } from "efficient-easel/blocks";
2
+ export declare function withTemplateMediaPlaceholders(config: Config, placeholderFrames: boolean): Config;
@@ -0,0 +1 @@
1
+ import c from"./media-manifest.json";const p=c.mediaFields,u=c.snapshotObjects,y=c.hydratedLists;function h(r){return typeof r=="string"?"":Array.isArray(r)?[]:r&&typeof r=="object"?null:r}function a(r,o){if(o.length===0)return h(r);const[n,...e]=o,t=n.endsWith("[]"),s=t?n.slice(0,-2):n;if(!r||typeof r!="object"||Array.isArray(r))return r;const i=r;if(!(s in i))return r;const f=i[s];return t?Array.isArray(f)?{...i,[s]:f.map(A=>a(A,e.length?e:[]))}:r:{...i,[s]:a(f,e)}}function d(r,o){if(Array.isArray(r))return r.map(t=>d(t,o));if(!r||typeof r!="object")return r;const n=r,e={};for(const t of o)t in n&&(e[t]=n[t]);return e}function m(r,o){let n=o;for(const t of p[r]??[])n=a(n,t.split("."));const e=u[r];if(e)for(const[t,s]of Object.entries(e))t in n&&(n={...n,[t]:d(n[t],s.keep)});for(const t of y[r]??[])Array.isArray(n[t])&&(n={...n,[t]:[]});return n}function b(r,o){return typeof o!="function"?o:n=>o(m(r,n))}function S(r,o){if(!o)return r;const n=r,e={};for(const[t,s]of Object.entries(n.components)){const i=(p[t]?.length??0)>0||u[t]||y[t];e[t]=i&&s.render?{...s,render:b(t,s.render)}:s}return{...n,components:e}}export{S as withTemplateMediaPlaceholders};
@@ -0,0 +1,13 @@
1
+ export declare const TEXT_CONTROL_KINDS: {
2
+ readonly text: "scalar";
3
+ readonly textarea: "scalar";
4
+ readonly plainText: "scalar";
5
+ readonly copyText: "scalar";
6
+ readonly plainTextarea: "scalar";
7
+ readonly textList: "list";
8
+ };
9
+ export type TextControlKind = keyof typeof TEXT_CONTROL_KINDS;
10
+ export type ScalarTextControlKind = {
11
+ [K in TextControlKind]: (typeof TEXT_CONTROL_KINDS)[K] extends "scalar" ? K : never;
12
+ }[TextControlKind];
13
+ export declare const SCALAR_TEXT_CONTROLS: readonly ScalarTextControlKind[];
@@ -0,0 +1 @@
1
+ const t={text:"scalar",textarea:"scalar",plainText:"scalar",copyText:"scalar",plainTextarea:"scalar",textList:"list"},e=Object.entries(t).filter(([,a])=>a==="scalar").map(([a])=>a);export{e as SCALAR_TEXT_CONTROLS,t as TEXT_CONTROL_KINDS};
@@ -0,0 +1,33 @@
1
+ import { type TextFieldMeta } from "./field-markers.js";
2
+ import { type PartRow } from "./part-rows.js";
3
+ export declare const PART_ATTR = "data-sf-part";
4
+ export declare const PART_SELECTED_ATTR = "data-sf-part-selected";
5
+ export declare const PART_KIND_ATTR = "data-sf-part-kind";
6
+ export type PartNeedle = {
7
+ key: string;
8
+ label: string;
9
+ texts: string[];
10
+ row?: PartRow;
11
+ };
12
+ export declare function encodePartId(nodeId: string, propKey: string | null): string;
13
+ export declare function decodePartId(partId: string): {
14
+ nodeId: string;
15
+ propKey: string | null;
16
+ } | null;
17
+ export declare function partOpenOn(selectedPartId: string | null, nodeId: string): boolean;
18
+ export declare function normalizePartText(value: string): string;
19
+ export declare function holdsAuthoredText(field: unknown): boolean;
20
+ export declare function partLabel(field: Record<string, unknown>, key: string): string;
21
+ export declare function partHeadLabel(label: string): string;
22
+ export declare function partNeedles(fields: Record<string, unknown> | undefined, props: Record<string, unknown> | undefined): PartNeedle[];
23
+ export type SectionTextPart = {
24
+ key: string;
25
+ label: string;
26
+ preview: string;
27
+ offPage: boolean;
28
+ identifier: boolean;
29
+ hidden: boolean;
30
+ };
31
+ export declare function entryPartMetaOf(key: string, field: unknown): TextFieldMeta | null;
32
+ export declare function fieldDrawsEntryRow(key: string, field: unknown): boolean;
33
+ export declare function sectionTextParts(fields: Record<string, unknown> | undefined, props: Record<string, unknown> | undefined): SectionTextPart[];
@@ -0,0 +1 @@
1
+ import{stripMarkup as y}from"../markup.js";import{LINK_FIELD_MARKER as h,SCAFFOLD_FIELD_MARKER as R,TEXT_FIELD_MARKER as u}from"./field-markers.js";import{readHidable as b}from"./hidable.js";import{SCALAR_TEXT_CONTROLS as P}from"./text-control-kinds.js";import{isStructuralTextProp as A}from"./neutralization-contracts.js";import{partRowTexts as g}from"./part-rows.js";const C="data-sf-part",k="data-sf-part-selected",z="data-sf-part-kind",T="::",_=2;function X(t,e){return`${t}${T}${e??""}`}function L(t){const e=t.indexOf(T);return e<=0?null:{nodeId:t.slice(0,e),propKey:t.slice(e+T.length)||null}}function $(t,e){if(!t)return!1;const r=L(t);return!!r?.propKey&&r.nodeId===e}function E(t){return y(t).replace(/\s+/gu,"")}function l(t,e,r){const n=t[u];if(n){if(n.control==="textList"){const o=n.itemKey??"text";if(!Array.isArray(e))return;for(const c of e){const i=c?.[o];typeof i=="string"&&r.push(i)}return}const{text:s}=b(e);s?r.push(s):n.placeholder&&r.push(n.placeholder);return}if(!t[h]){if(t.type==="text"||t.type==="textarea"){typeof e=="string"&&e&&r.push(e);return}if(t.arrayFields&&Array.isArray(e)){for(const s of e)for(const[o,c]of Object.entries(t.arrayFields))l(c,s?.[o],r);return}if(t.objectFields&&e&&typeof e=="object")for(const[s,o]of Object.entries(t.objectFields))l(o,e[s],r)}}function H(t){if(!t||typeof t!="object")return!1;const e=t;return e[h]?!1:!!e[u]||e.type==="text"||e.type==="textarea"}function O(t,e){const r=t[u];return r?.label?r.label:typeof t.label=="string"?t.label:e}function j(t){const e=t.indexOf(" (");return(e>0?t.slice(0,e):t).trim()}function B(t,e){if(!t)return[];const r=[];for(const[n,s]of Object.entries(t)){if(!s||typeof s!="object"||A(n))continue;const o=s,c=[];l(o,e?.[n],c),!c.length&&o[R]!==void 0&&l(o,o[R],c);const i=O(o,n),a=new Set;for(const{row:d,text:f}of g(o,e?.[n])){const m=E(f);m.length<_||(a.add(m),r.push({key:n,label:i,texts:[m],row:d}))}const p=new Set(a),x=[];for(const d of c){const f=E(d);f.length<_||p.has(f)||(p.add(f),x.push(f))}x.length&&r.push({key:n,label:i,texts:x})}return r}const F=P;function w(t,e){if(!e||typeof e!="object"||A(t))return null;const r=e[u];return!r||!F.includes(r.control)?null:r}function Y(t,e){const r=w(t,e);return r!==null&&r.identifier!==!0}function q(t,e){if(!t)return[];const r=[];for(const[n,s]of Object.entries(t)){const o=w(n,s);if(!o)continue;const{text:c,hidden:i}=b(e?.[n]),a=c||o.placeholder||"",p=y(a).replace(/\s+/gu," ").trim();r.push({key:n,label:j(O(s,n)),preview:p,offPage:o.offPage===!0,identifier:o.identifier===!0,hidden:!!i})}return r}export{C as PART_ATTR,z as PART_KIND_ATTR,k as PART_SELECTED_ATTR,L as decodePartId,X as encodePartId,w as entryPartMetaOf,Y as fieldDrawsEntryRow,H as holdsAuthoredText,E as normalizePartText,j as partHeadLabel,O as partLabel,B as partNeedles,$ as partOpenOn,q as sectionTextParts};
@@ -0,0 +1,3 @@
1
+ import type { ThemeColour } from "efficient-easel/pick";
2
+ import { type ThemeValue } from "../theme.js";
3
+ export declare function themeSwatches(value?: ThemeValue | null): ThemeColour[];
@@ -0,0 +1 @@
1
+ import{typedHex as f}from"efficient-easel/pick";import{normalizeTheme as h}from"../theme.js";function l(a){const n=new Set,r=[];return h(a).themes.forEach((o,t)=>{const m=[[`Theme ${t+1} main color`,o.accent],[`Theme ${t+1} text color`,o.text],[`Theme ${t+1} background`,o.background]];for(const[s,c]of m){const e=c?f(c):null;!e||n.has(e)||(n.add(e),r.push({name:s,value:e}))}}),r}export{l as themeSwatches};
@@ -0,0 +1,11 @@
1
+ type Selector = {
2
+ index: number;
3
+ zone?: string;
4
+ } | null;
5
+ export declare function sameSelector(a: Selector, b: Selector, rootZone: string): boolean;
6
+ export declare function revealSelectedTreeRow(doc?: Document | undefined): boolean;
7
+ export declare function markedTreeNodeId(mode: {
8
+ kind: string;
9
+ nodeId?: string;
10
+ }, selectedId: string | null | undefined): string | null;
11
+ export {};
@@ -0,0 +1 @@
1
+ const o=".es-tree",i=".es-tree-row.is-selected";function l(e,n,t){return!e||!n?!1:e.index===n.index&&(e.zone??t)===(n.zone??t)}function u(e,n){if(typeof e.getBoundingClientRect!="function"||typeof n.getBoundingClientRect!="function")return!1;const t=e.getBoundingClientRect(),r=n.getBoundingClientRect();return!t.height||!r.height?!1:r.top>=t.top&&r.bottom<=t.bottom}function c(e=typeof document>"u"?void 0:document){const n=e?.querySelector(o),t=n?.querySelector(i);return t?(u(n,t)||t.scrollIntoView({block:"center",inline:"nearest"}),!0):!1}function f(e,n){return e.kind==="part"?e.nodeId??null:e.kind!=="puck"||n==null?null:String(n)}export{f as markedTreeNodeId,c as revealSelectedTreeRow,l as sameSelector};
@@ -0,0 +1,25 @@
1
+ import type { Data } from "efficient-easel/blocks";
2
+ import { type TreeItem } from "./content-tree.js";
3
+ export type NodeSelector = {
4
+ index: number;
5
+ zone?: string;
6
+ } | null;
7
+ type ComponentData = TreeItem;
8
+ export type SectionOps = {
9
+ insertComponent: (zone: string, type: string, index: number) => string;
10
+ insertSection: (type: string, index: number) => string;
11
+ replaceComponent: (zone: string, index: number, data: ComponentData) => void;
12
+ seedChild: (zone: string, index: number, childType: string, props: Record<string, unknown>) => void;
13
+ insertNode: (zone: string, index: number, node: TreeItem) => string;
14
+ removeComponent: (zone: string, index: number) => void;
15
+ reorderComponent: (zone: string, sourceIndex: number, destinationIndex: number) => void;
16
+ duplicateComponent: (zone: string, index: number) => void;
17
+ select: (selector: NodeSelector) => void;
18
+ setDocument: (data: Data) => void;
19
+ commitDocument: (data: Data) => void;
20
+ };
21
+ export type SectionOpsOptions = {
22
+ readOnly?: boolean;
23
+ };
24
+ export declare function useSectionOps(options?: SectionOpsOptions): SectionOps;
25
+ export {};
@@ -0,0 +1 @@
1
+ "use client";import{useMemo as d}from"react";import{useEasel as m}from"efficient-easel/easel";import{ROOT_ZONE as a,newNodeId as y}from"./content-tree.js";function O(u={}){const{dispatch:n}=m(s=>s),o=u.readOnly===!0;return d(()=>{const s=(e,t,r)=>{const i=y(t);return o||n({type:"insert",componentType:t,destinationZone:e,destinationIndex:r,id:i}),i},p=(e,t,r)=>{o||n({type:"replace",destinationZone:e,destinationIndex:t,data:r})};return{insertComponent:s,insertSection:(e,t)=>s(a,e,t),replaceComponent:p,seedChild:(e,t,r,i)=>{const c=s(e,r,t);p(e,t,{type:r,props:{id:c,...i}})},insertNode:(e,t,r)=>{const i=s(e,r.type,t);return p(e,t,{type:r.type,props:{...r.props,id:i}}),i},removeComponent:(e,t)=>{o||n({type:"remove",index:t,zone:e})},reorderComponent:(e,t,r)=>{o||n({type:"reorder",sourceIndex:t,destinationIndex:r,destinationZone:e})},duplicateComponent:(e,t)=>{o||n({type:"duplicate",sourceIndex:t,sourceZone:e})},select:e=>n({type:"setUi",ui:{itemSelector:e}}),setDocument:e=>{o||n({type:"setData",data:e})},commitDocument:e=>{o||n({type:"setData",data:()=>e,recordHistory:!0})}}},[n,o])}export{O as useSectionOps};
@@ -0,0 +1,33 @@
1
+ import { type HeroGroupPlacement } from "./hero-group-placement.js";
2
+ export declare const REEL_PLACEMENTS: readonly ["top-left", "top-center", "top-right", "left", "center", "right", "bottom-left", "bottom-center", "bottom-right"];
3
+ export type ReelPlacement = HeroGroupPlacement;
4
+ export declare const REEL_PLACEMENT_LABELS: Readonly<Record<"left" | "right" | "top-left" | "top-center" | "top-right" | "center" | "bottom-left" | "bottom-center" | "bottom-right", string>>;
5
+ export declare const REEL_PLACEMENT_DEFAULT: ReelPlacement;
6
+ export declare const REEL_SHAPES: readonly ["cards", "dots", "numbers", "bar", "tabs"];
7
+ export type ReelShape = (typeof REEL_SHAPES)[number];
8
+ export declare const HERO_REEL_SHAPES: readonly ["cards", "dots", "numbers", "bar"];
9
+ export type HeroReelShape = (typeof HERO_REEL_SHAPES)[number];
10
+ export declare const REEL_SHAPE_DEFAULT: HeroReelShape;
11
+ export declare const REEL_SHAPE_LABELS: Readonly<Record<ReelShape, string>>;
12
+ export declare const REEL_SHOWN_DEFAULT = true;
13
+ export declare function normaliseReelShape(value: unknown): ReelShape;
14
+ export declare function normaliseHeroReelShape(value: unknown): HeroReelShape;
15
+ export declare function normaliseReelPlacement(value: unknown): ReelPlacement;
16
+ export declare function reelRailClass(shape: unknown, placement: unknown): string;
17
+ export declare function reelSurfaceRailClass(shape: unknown): string;
18
+ export declare function reelShown(o: {
19
+ shown?: unknown;
20
+ count?: number;
21
+ }): boolean;
22
+ export type ReelItem = {
23
+ name: string;
24
+ process: string;
25
+ video: boolean;
26
+ };
27
+ export type ReelSlideSource = {
28
+ dataset: {
29
+ [key: string]: string | undefined;
30
+ };
31
+ };
32
+ export declare function sameReel(a: readonly ReelItem[], b: readonly ReelItem[]): boolean;
33
+ export declare function nextReel(prev: readonly ReelItem[], slides: Iterable<ReelSlideSource>): ReelItem[];
@@ -0,0 +1 @@
1
+ import{HERO_GROUP_PLACEMENTS as E,HERO_GROUP_PLACEMENT_LABELS as c}from"./hero-group-placement.js";import{heroOverlayRailClass as l}from"./hero-overlay-anchor.js";const u=E,_=c,i="top-right",d=["cards","dots","numbers","bar","tabs"],p=["cards","dots","numbers","bar"],s="cards",A={cards:"Cards",dots:"Dots",numbers:"Numbers",bar:"Bar",tabs:"Tabs"},S=!0;function n(e){return d.includes(e)?e:s}function P(e){return p.includes(e)?e:s}function f(e){return u.includes(e)?e:i}const a={cards:"flex-col gap-2.5",dots:"flex-row items-center gap-2",numbers:"flex-col gap-2",bar:"h-0.5 w-[34%] max-w-[420px] gap-px overflow-hidden rounded-full",tabs:"flex-row items-stretch w-full overflow-x-auto"};function h(e,r){return l(f(r),a[n(e)])}function H(e){return`flex ${a[n(e)]}`}function b(e){return e.shown!==!1&&(e.count??0)>1}function x(e){return{name:e.dataset.slideName||"",process:e.dataset.slideProcess||"",video:e.dataset.slideMedia==="video"}}function m(e,r){return e===r?!0:e.length!==r.length?!1:e.every((t,o)=>t.name===r[o].name&&t.process===r[o].process&&t.video===r[o].video)}function w(e,r){const t=Array.from(r,x);return m(e,t)?e:t}export{p as HERO_REEL_SHAPES,u as REEL_PLACEMENTS,i as REEL_PLACEMENT_DEFAULT,_ as REEL_PLACEMENT_LABELS,d as REEL_SHAPES,s as REEL_SHAPE_DEFAULT,A as REEL_SHAPE_LABELS,S as REEL_SHOWN_DEFAULT,w as nextReel,P as normaliseHeroReelShape,f as normaliseReelPlacement,n as normaliseReelShape,h as reelRailClass,b as reelShown,H as reelSurfaceRailClass,m as sameReel};
@@ -0,0 +1,10 @@
1
+ export interface StorageLike {
2
+ getItem(key: string): string | null;
3
+ setItem(key: string, value: string): void;
4
+ removeItem(key: string): void;
5
+ }
6
+ export declare function createSafeStorage(getStorage: () => StorageLike | null): StorageLike;
7
+ export declare function canPersist(storage: StorageLike): boolean;
8
+ export declare const safeLocalStorage: StorageLike;
9
+ export declare const safeSessionStorage: StorageLike;
10
+ export declare function safeLocalStorageFor(doc: Document): StorageLike;
@@ -0,0 +1 @@
1
+ function n(e){return{getItem(t){try{return e()?.getItem(t)??null}catch{return null}},setItem(t,r){try{e()?.setItem(t,r)}catch{}},removeItem(t){try{e()?.removeItem(t)}catch{}}}}const o="__storefront_probe__";function c(e){try{e.setItem(o,o);const t=e.getItem(o)===o;return e.removeItem(o),t}catch{return!1}}const a=n(()=>typeof window>"u"?null:window.localStorage),l=n(()=>typeof window>"u"?null:window.sessionStorage);function s(e){return n(()=>e.defaultView?.localStorage??null)}export{c as canPersist,n as createSafeStorage,a as safeLocalStorage,s as safeLocalStorageFor,l as safeSessionStorage};
@@ -0,0 +1,29 @@
1
+ export type SaveAsTemplateHidden = "no-console" | "not-operator" | "not-a-site-page" | "no-site";
2
+ export type SaveAsTemplateAction = {
3
+ visible: false;
4
+ hiddenReason: SaveAsTemplateHidden;
5
+ } | {
6
+ visible: true;
7
+ enabled: true;
8
+ } | {
9
+ visible: true;
10
+ enabled: false;
11
+ disabledReason: string;
12
+ };
13
+ export declare const UNSAVED_REASON = "Save your page changes first";
14
+ export declare function resolveSaveAsTemplateAction(input: {
15
+ hasTrustedConsole: boolean;
16
+ canCreatePlatformTemplate: boolean;
17
+ capabilities: {
18
+ canPublish: boolean;
19
+ hasSiteSettings: boolean;
20
+ };
21
+ siteId: string | null | undefined;
22
+ hasUnsavedEdits: boolean;
23
+ }): SaveAsTemplateAction;
24
+ export declare const SAVE_AS_TEMPLATE_EVENT: "storefront-editor:save-as-template";
25
+ export type SaveAsTemplateRequest = {
26
+ type: typeof SAVE_AS_TEMPLATE_EVENT;
27
+ siteId: string;
28
+ slug: string;
29
+ };
@@ -0,0 +1 @@
1
+ const s="Save your page changes first";function a(e){return e.hasTrustedConsole?e.canCreatePlatformTemplate?!e.capabilities.canPublish||!e.capabilities.hasSiteSettings?{visible:!1,hiddenReason:"not-a-site-page"}:e.siteId?e.hasUnsavedEdits?{visible:!0,enabled:!1,disabledReason:s}:{visible:!0,enabled:!0}:{visible:!1,hiddenReason:"no-site"}:{visible:!1,hiddenReason:"not-operator"}:{visible:!1,hiddenReason:"no-console"}}const i="storefront-editor:save-as-template";export{i as SAVE_AS_TEMPLATE_EVENT,s as UNSAVED_REASON,a as resolveSaveAsTemplateAction};
@@ -0,0 +1,21 @@
1
+ import type { TreeItem } from "./puck/content-tree.js";
2
+ export interface SectionTemplateRecord {
3
+ id: string;
4
+ name: string;
5
+ component_type: string;
6
+ node: TreeItem | null;
7
+ created_at: string;
8
+ updated_at: string;
9
+ }
10
+ export interface SectionTemplate extends SectionTemplateRecord {
11
+ node: TreeItem;
12
+ }
13
+ export interface SectionTemplateStore {
14
+ list(): Promise<SectionTemplate[]>;
15
+ get(id: string): Promise<SectionTemplateRecord | null>;
16
+ ensure(id: string, name: string, node: TreeItem): Promise<SectionTemplate>;
17
+ save(name: string, node: TreeItem): Promise<SectionTemplate>;
18
+ update(id: string, node: TreeItem): Promise<SectionTemplate>;
19
+ rename(id: string, name: string): Promise<SectionTemplateRecord>;
20
+ remove(id: string): Promise<void>;
21
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ export declare const COVER_INDEX_MIN = 1;
2
+ export declare const COVER_INDEX_MAX = 5;
3
+ export declare const DEFAULT_COVER_INDEX = 1;
4
+ export declare const COVER_INDEX_OPTIONS: readonly {
5
+ value: string;
6
+ label: string;
7
+ }[];
@@ -0,0 +1 @@
1
+ const e=1,l=5,n=1,r=[{value:"1",label:"1st rendering"},{value:"2",label:"2nd rendering"},{value:"3",label:"3rd rendering"},{value:"4",label:"4th rendering"},{value:"5",label:"5th rendering"}];export{l as COVER_INDEX_MAX,e as COVER_INDEX_MIN,r as COVER_INDEX_OPTIONS,n as DEFAULT_COVER_INDEX};
@@ -0,0 +1,4 @@
1
+ import type { TextRegions } from "./text-regions.js";
2
+ export type CollectionCardRegionKey = "tag" | "name" | "body" | "price" | "link";
3
+ export declare const COLLECTION_CARD_REGIONS: Readonly<Record<CollectionCardRegionKey, TextRegions[string]>>;
4
+ export declare const COLLECTION_CARD_TEXT_REGIONS: TextRegions;
@@ -0,0 +1 @@
1
+ const l={tag:{label:"Tag",follows:"Labels",builtIn:"13px",writable:!0},name:{label:"Name",follows:"Heading 2",builtIn:"48px",writable:!0},body:{label:"Body",follows:"Body",builtIn:"14px",writable:!0},price:{label:"Price",follows:"Labels",builtIn:"15px",writable:!0},link:{label:"Link",follows:"Labels",builtIn:"14px",writable:!0}},e=l;export{l as COLLECTION_CARD_REGIONS,e as COLLECTION_CARD_TEXT_REGIONS};
@@ -0,0 +1,12 @@
1
+ export type DividerStyle = "line" | "stripes-fine" | "stripes-medium" | "stripes-bold";
2
+ export declare const DEFAULT_DIVIDER_STYLE: DividerStyle;
3
+ export declare const DIVIDER_STYLE_OPTIONS: readonly {
4
+ label: string;
5
+ value: DividerStyle;
6
+ }[];
7
+ export declare const STRIPE_BAND_HEIGHT_PX = 28;
8
+ export declare const STRIPE_ANGLE = "-45deg";
9
+ export declare const STRIPE_INK = "color-mix(in oklab, var(--accent) 50%, var(--bg))";
10
+ export declare function isStriped(style: DividerStyle): style is Exclude<DividerStyle, "line">;
11
+ export declare function parseDividerStyle(value: unknown): DividerStyle;
12
+ export declare function stripeBackground(style: DividerStyle): string | null;
@@ -0,0 +1 @@
1
+ import{parseOption as t}from"../parse-option.js";const n="line",o=[{label:"Line",value:"line"},{label:"Stripes \xB7 fine",value:"stripes-fine"},{label:"Stripes \xB7 medium",value:"stripes-medium"},{label:"Stripes \xB7 bold",value:"stripes-bold"}],p={"stripes-fine":{ink:4,period:12},"stripes-medium":{ink:8,period:18},"stripes-bold":{ink:14,period:28}},d=28,s="-45deg",l="color-mix(in oklab, var(--accent) 50%, var(--bg))";function a(e){return e!=="line"}function c(e){return t(o,n,e)}function E(e){if(!a(e))return null;const{ink:r,period:i}=p[e];return`repeating-linear-gradient(${s}, ${l} 0 ${r}px, transparent ${r}px ${i}px)`}export{n as DEFAULT_DIVIDER_STYLE,o as DIVIDER_STYLE_OPTIONS,s as STRIPE_ANGLE,d as STRIPE_BAND_HEIGHT_PX,l as STRIPE_INK,a as isStriped,c as parseDividerStyle,E as stripeBackground};
@@ -0,0 +1,4 @@
1
+ import type { TextRegions } from "./text-regions.js";
2
+ export type FaqRegionKey = "number" | "question" | "answer";
3
+ export declare const FAQ_REGIONS: Readonly<Record<FaqRegionKey, TextRegions[string]>>;
4
+ export declare const FAQ_TEXT_REGIONS: TextRegions;
@@ -0,0 +1 @@
1
+ const l={number:{label:"Number",follows:"Labels",builtIn:"14px",writable:!0},question:{label:"Question",follows:"Body",builtIn:"18px",writable:!0},answer:{label:"Answer",follows:"Body",builtIn:"15px",writable:!0}},e=l;export{l as FAQ_REGIONS,e as FAQ_TEXT_REGIONS};
@@ -0,0 +1,10 @@
1
+ export type OverlayPosition = "top" | "right" | "bottom" | "left";
2
+ export declare const DEFAULT_OVERLAY_POSITION: OverlayPosition;
3
+ export declare const DEFAULT_OVERLAY_COLOR = "#0A0A0A";
4
+ export declare const OVERLAY_POSITION_OPTIONS: readonly {
5
+ label: string;
6
+ value: OverlayPosition;
7
+ cell: OverlayPosition;
8
+ }[];
9
+ export declare function parseOverlayPosition(value: unknown): OverlayPosition;
10
+ export declare function overlayGradient(color?: string, at?: unknown): string;
@@ -0,0 +1 @@
1
+ import{parseOption as i}from"../parse-option.js";const r="bottom",a="#0A0A0A",p=[{label:"Bottom",value:"bottom",cell:"bottom"},{label:"Top",value:"top",cell:"top"},{label:"Left",value:"left",cell:"left"},{label:"Right",value:"right",cell:"right"}],O={bottom:180,top:0,left:270,right:90},u=[[.55,0],[.15,18],[null,35],[null,55],[.85,100]],b=[[null,33],[.6,67],[.94,100]];function A(t,n){const o=/^#[0-9a-f]{6}$/i.test(t)?t:a,e=parseInt(o.slice(1),16);return`rgba(${e>>16&255},${e>>8&255},${e&255},${n})`}function L(t){return i(p,r,t)}function m(t=a,n=r){const o=L(n),s=(o==="top"||o==="bottom"?u:b).map(([l,c])=>`${l===null?"transparent":A(t,l)} ${c}%`);return`linear-gradient(${O[o]}deg, ${s.join(", ")})`}export{a as DEFAULT_OVERLAY_COLOR,r as DEFAULT_OVERLAY_POSITION,p as OVERLAY_POSITION_OPTIONS,m as overlayGradient,L as parseOverlayPosition};
@@ -0,0 +1,15 @@
1
+ export type IntroBleedLayout = "overlay" | "stacked";
2
+ export declare const DEFAULT_INTRO_BLEED_LAYOUT: IntroBleedLayout;
3
+ export declare const INTRO_BLEED_LAYOUT_OPTIONS: readonly {
4
+ label: string;
5
+ value: IntroBleedLayout;
6
+ }[];
7
+ export declare function parseIntroBleedLayout(value: unknown): IntroBleedLayout;
8
+ export declare const INTRO_BLEED_COPY_SHARE: {
9
+ readonly desktop: 40;
10
+ readonly mobile: 45;
11
+ readonly min: 20;
12
+ readonly max: 80;
13
+ readonly step: 5;
14
+ };
15
+ export declare function resolveCopyShare(stored: number | undefined, builtIn: number): string;
@@ -0,0 +1 @@
1
+ import{parseOption as r}from"../parse-option.js";const t="overlay",a=[{label:"Copy over image",value:"overlay"},{label:"Copy above image",value:"stacked"}];function n(e){return r(a,t,e)}const l={desktop:40,mobile:45,min:20,max:80,step:5};function O(e,o){return`${typeof e=="number"?e:o}%`}export{t as DEFAULT_INTRO_BLEED_LAYOUT,l as INTRO_BLEED_COPY_SHARE,a as INTRO_BLEED_LAYOUT_OPTIONS,n as parseIntroBleedLayout,O as resolveCopyShare};
@@ -0,0 +1,18 @@
1
+ export type CardIndexFormat = "off" | "plain" | "padded" | "numero";
2
+ export type CardOutline = "none" | "hairline";
3
+ export declare const DEFAULT_CARD_INDEX_FORMAT: CardIndexFormat;
4
+ export declare const DEFAULT_CARD_OUTLINE: CardOutline;
5
+ export declare const CARD_INDEX_OPTIONS: readonly {
6
+ label: string;
7
+ value: CardIndexFormat;
8
+ }[];
9
+ export declare const CARD_OUTLINE_OPTIONS: readonly {
10
+ label: string;
11
+ value: CardOutline;
12
+ }[];
13
+ export declare function parseCardIndexFormat(value: unknown): CardIndexFormat;
14
+ export declare function parseCardOutline(value: unknown): CardOutline;
15
+ export declare const CARD_INDEX_CLASS = "sf-card-index";
16
+ export declare const CARD_INDEX_BADGE_CLASS = "pointer-events-none absolute left-[18px] top-[18px] z-10 border border-line bg-bg/70 px-2 py-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.16em] text-fg-dim";
17
+ export declare function cardIndexCss(scopeClass: string, format: CardIndexFormat): string;
18
+ export declare function cardOutlineClass(outline: CardOutline): string;
@@ -0,0 +1 @@
1
+ import{parseOption as o}from"../parse-option.js";const a="off",l="none",i=[{label:"None",value:"off"},{label:"1, 2, 3",value:"plain"},{label:"01, 02, 03",value:"padded"},{label:"N\xB001, N\xB002",value:"numero"}],c=[{label:"None",value:"none"},{label:"Hairline",value:"hairline"}];function u(e){return o(i,a,e)}function x(e){return o(c,l,e)}const t="sf-card-index",n="sf-card-index",N="pointer-events-none absolute left-[18px] top-[18px] z-10 border border-line bg-bg/70 px-2 py-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.16em] text-fg-dim",d={plain:`counter(${n})`,padded:`counter(${n}, decimal-leading-zero)`,numero:`"N\xB0" counter(${n}, decimal-leading-zero)`};function f(e,r){return r==="off"?"":`.${e}{counter-reset:${n}}.${e} .${t}{counter-increment:${n}}.${e} .${t}::before{content:${d[r]}}`}function _(e){return e==="hairline"?"border border-line hover:border-accent":""}export{N as CARD_INDEX_BADGE_CLASS,t as CARD_INDEX_CLASS,i as CARD_INDEX_OPTIONS,c as CARD_OUTLINE_OPTIONS,a as DEFAULT_CARD_INDEX_FORMAT,l as DEFAULT_CARD_OUTLINE,f as cardIndexCss,_ as cardOutlineClass,u as parseCardIndexFormat,x as parseCardOutline};