efficient-web-builder 41.1.0 → 42.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 (652) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/README.md +0 -21
  3. package/dist/editor/components/SectionEditor.d.ts +0 -3
  4. package/dist/editor/components/SectionEditor.js +1 -1
  5. package/dist/editor/components/StorefrontEditor.js +1 -1
  6. package/dist/editor/components/storefront-editor.css +97 -117
  7. package/dist/editor/components/usePinnedChromeSeed.js +1 -1
  8. package/dist/editor/components/useSectionToBoxPass.d.ts +2 -0
  9. package/dist/editor/components/useSectionToBoxPass.js +1 -1
  10. package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
  11. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  12. package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
  13. package/dist/editor/lib/document/controls.d.ts +1 -0
  14. package/dist/editor/lib/document/controls.js +1 -1
  15. package/dist/editor/lib/document/footer-blocks.js +1 -1
  16. package/dist/editor/lib/document/overrides.js +1 -1
  17. package/dist/editor/lib/document/part-anchors.d.ts +0 -1
  18. package/dist/editor/lib/document/part-anchors.js +1 -1
  19. package/dist/editor/lib/sections/section-dry-run.d.ts +28 -3
  20. package/dist/editor/lib/sections/section-dry-run.js +2 -2
  21. package/dist/format/lib/content/authored-props.js +1 -1
  22. package/dist/format/lib/content/box-layout.d.ts +4 -0
  23. package/dist/format/lib/content/box-layout.js +1 -1
  24. package/dist/format/lib/content/footer.d.ts +5 -0
  25. package/dist/format/lib/content/footer.js +1 -1
  26. package/dist/format/lib/content/section-padding.js +1 -1
  27. package/dist/format/lib/content/section-sticky.js +1 -1
  28. package/dist/format/lib/content/section-width.d.ts +4 -0
  29. package/dist/format/lib/content/section-width.js +1 -1
  30. package/dist/format/lib/document/blocks/general/Divider/meta.js +1 -1
  31. package/dist/format/lib/document/box-footer.js +1 -1
  32. package/dist/format/lib/document/overlay-portal.d.ts +0 -1
  33. package/dist/format/lib/document/overlay-portal.js +1 -1
  34. package/dist/format/lib/document/section-catalog.d.ts +1 -2
  35. package/dist/format/lib/document/section-catalog.js +10 -2
  36. package/dist/format/lib/editor-words-catalogue.d.ts +3 -0
  37. package/dist/format/lib/editor-words-catalogue.js +2 -2
  38. package/dist/format/lib/finite-number.d.ts +1 -0
  39. package/dist/format/lib/finite-number.js +1 -0
  40. package/dist/format/lib/marked-children.d.ts +1 -0
  41. package/dist/format/lib/marked-children.js +1 -0
  42. package/dist/format/lib/sections/divider-style.d.ts +10 -2
  43. package/dist/format/lib/sections/divider-style.js +1 -1
  44. package/dist/format/lib/site-theme-row.d.ts +1 -0
  45. package/dist/format/lib/source-rules/document-surfaces.js +4 -4
  46. package/dist/format/lib/source-rules/editor-drag-off.js +3 -3
  47. package/dist/format/lib/source-rules/panel-colour-tokens.js +6 -6
  48. package/dist/format/lib/source-rules/panel-no-divider-lines.js +4 -4
  49. package/dist/format/lib/source-rules/panel-one-arrow.js +1 -1
  50. package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +8 -8
  51. package/dist/format/lib/source-rules/support/document-folder.d.ts +2 -2
  52. package/dist/format/lib/source-rules/support/document-folder.js +1 -1
  53. package/dist/render/components/BoxTabPaneContext.d.ts +2 -0
  54. package/dist/render/components/BoxTabPaneContext.js +1 -0
  55. package/dist/render/components/BoxTabs.js +1 -1
  56. package/dist/render/components/Divider.d.ts +5 -4
  57. package/dist/render/components/Divider.js +1 -1
  58. package/dist/render/components/Flex.js +1 -1
  59. package/dist/render/components/HeroSection.js +2 -2
  60. package/dist/render/components/PreviewHeaderContext.d.ts +3 -1
  61. package/dist/render/components/PreviewHeaderContext.js +1 -1
  62. package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
  63. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +0 -1
  64. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  65. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  66. package/dist/render/lib/document/hero-media-parts.d.ts +2 -2
  67. package/dist/render/lib/document/page-render.js +1 -1
  68. package/dist/render/lib/document/passes/section-padding.d.ts +1 -0
  69. package/dist/render/lib/document/passes/section-padding.js +1 -1
  70. package/dist/render/lib/sections/section-to-box.d.ts +36 -6
  71. package/dist/render/lib/sections/section-to-box.js +1 -1
  72. package/dist/render/lib/text-styles/site-text-styles.d.ts +2 -0
  73. package/dist/render/lib/text-styles/site-text-styles.js +2 -2
  74. package/package.json +3 -3
  75. package/dist/editor/lib/puck/ColourControl.d.ts +0 -1
  76. package/dist/editor/lib/puck/ColourControl.js +0 -1
  77. package/dist/editor/lib/puck/MarkupToolbar.d.ts +0 -2
  78. package/dist/editor/lib/puck/MarkupToolbar.js +0 -1
  79. package/dist/editor/lib/puck/add-palette.d.ts +0 -1
  80. package/dist/editor/lib/puck/add-palette.js +0 -1
  81. package/dist/editor/lib/puck/add-target.d.ts +0 -1
  82. package/dist/editor/lib/puck/add-target.js +0 -1
  83. package/dist/editor/lib/puck/apply-card-corners.d.ts +0 -1
  84. package/dist/editor/lib/puck/apply-card-corners.js +0 -1
  85. package/dist/editor/lib/puck/block-offer.d.ts +0 -1
  86. package/dist/editor/lib/puck/block-offer.js +0 -1
  87. package/dist/editor/lib/puck/block-source-fields.d.ts +0 -1
  88. package/dist/editor/lib/puck/block-source-fields.js +0 -1
  89. package/dist/editor/lib/puck/blocks/general/Banner/fields.d.ts +0 -1
  90. package/dist/editor/lib/puck/blocks/general/Banner/fields.js +0 -1
  91. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.d.ts +0 -1
  92. package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.js +0 -1
  93. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.d.ts +0 -1
  94. package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.js +0 -1
  95. package/dist/editor/lib/puck/blocks/general/Cards/fields.d.ts +0 -1
  96. package/dist/editor/lib/puck/blocks/general/Cards/fields.js +0 -1
  97. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.d.ts +0 -1
  98. package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.js +0 -1
  99. package/dist/editor/lib/puck/blocks/general/Chart/fields.d.ts +0 -1
  100. package/dist/editor/lib/puck/blocks/general/Chart/fields.js +0 -1
  101. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.d.ts +0 -1
  102. package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.js +0 -1
  103. package/dist/editor/lib/puck/blocks/general/Countdown/fields.d.ts +0 -1
  104. package/dist/editor/lib/puck/blocks/general/Countdown/fields.js +0 -1
  105. package/dist/editor/lib/puck/blocks/general/Divider/fields.d.ts +0 -1
  106. package/dist/editor/lib/puck/blocks/general/Divider/fields.js +0 -1
  107. package/dist/editor/lib/puck/blocks/general/DocBody/fields.d.ts +0 -1
  108. package/dist/editor/lib/puck/blocks/general/DocBody/fields.js +0 -1
  109. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.d.ts +0 -1
  110. package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.js +0 -1
  111. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.d.ts +0 -1
  112. package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.js +0 -1
  113. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.d.ts +0 -1
  114. package/dist/editor/lib/puck/blocks/general/DocTabs/fields.js +0 -1
  115. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.d.ts +0 -1
  116. package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.js +0 -1
  117. package/dist/editor/lib/puck/blocks/general/FAQ/fields.d.ts +0 -1
  118. package/dist/editor/lib/puck/blocks/general/FAQ/fields.js +0 -1
  119. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.d.ts +0 -1
  120. package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.js +0 -1
  121. package/dist/editor/lib/puck/blocks/general/Flex/fields.d.ts +0 -1
  122. package/dist/editor/lib/puck/blocks/general/Flex/fields.js +0 -1
  123. package/dist/editor/lib/puck/blocks/general/Footprint/fields.d.ts +0 -1
  124. package/dist/editor/lib/puck/blocks/general/Footprint/fields.js +0 -1
  125. package/dist/editor/lib/puck/blocks/general/Grid/fields.d.ts +0 -1
  126. package/dist/editor/lib/puck/blocks/general/Grid/fields.js +0 -1
  127. package/dist/editor/lib/puck/blocks/general/Heading/fields.d.ts +0 -1
  128. package/dist/editor/lib/puck/blocks/general/Heading/fields.js +0 -1
  129. package/dist/editor/lib/puck/blocks/general/Hero/fields.d.ts +0 -1
  130. package/dist/editor/lib/puck/blocks/general/Hero/fields.js +0 -1
  131. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.d.ts +0 -1
  132. package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.js +0 -1
  133. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.d.ts +0 -1
  134. package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.js +0 -1
  135. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.d.ts +0 -1
  136. package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.js +0 -1
  137. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.d.ts +0 -1
  138. package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.js +0 -1
  139. package/dist/editor/lib/puck/blocks/general/Integrations/fields.d.ts +0 -1
  140. package/dist/editor/lib/puck/blocks/general/Integrations/fields.js +0 -1
  141. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.d.ts +0 -1
  142. package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.js +0 -1
  143. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.d.ts +0 -1
  144. package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.js +0 -1
  145. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.d.ts +0 -1
  146. package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.js +0 -1
  147. package/dist/editor/lib/puck/blocks/general/Logos/fields.d.ts +0 -1
  148. package/dist/editor/lib/puck/blocks/general/Logos/fields.js +0 -1
  149. package/dist/editor/lib/puck/blocks/general/LongRead/fields.d.ts +0 -1
  150. package/dist/editor/lib/puck/blocks/general/LongRead/fields.js +0 -1
  151. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.d.ts +0 -1
  152. package/dist/editor/lib/puck/blocks/general/Manifesto/fields.js +0 -1
  153. package/dist/editor/lib/puck/blocks/general/Masthead/fields.d.ts +0 -1
  154. package/dist/editor/lib/puck/blocks/general/Masthead/fields.js +0 -1
  155. package/dist/editor/lib/puck/blocks/general/Mockup/fields.d.ts +0 -1
  156. package/dist/editor/lib/puck/blocks/general/Mockup/fields.js +0 -1
  157. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.d.ts +0 -1
  158. package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.js +0 -1
  159. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.d.ts +0 -1
  160. package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.js +0 -1
  161. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.d.ts +0 -1
  162. package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.js +0 -1
  163. package/dist/editor/lib/puck/blocks/general/PostCard/fields.d.ts +0 -1
  164. package/dist/editor/lib/puck/blocks/general/PostCard/fields.js +0 -1
  165. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.d.ts +0 -1
  166. package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.js +0 -1
  167. package/dist/editor/lib/puck/blocks/general/Prose/fields.d.ts +0 -1
  168. package/dist/editor/lib/puck/blocks/general/Prose/fields.js +0 -1
  169. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.d.ts +0 -1
  170. package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.js +0 -1
  171. package/dist/editor/lib/puck/blocks/general/Series/fields.d.ts +0 -1
  172. package/dist/editor/lib/puck/blocks/general/Series/fields.js +0 -1
  173. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.d.ts +0 -1
  174. package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.js +0 -1
  175. package/dist/editor/lib/puck/blocks/general/Split/fields.d.ts +0 -1
  176. package/dist/editor/lib/puck/blocks/general/Split/fields.js +0 -1
  177. package/dist/editor/lib/puck/blocks/general/Stats/fields.d.ts +0 -1
  178. package/dist/editor/lib/puck/blocks/general/Stats/fields.js +0 -1
  179. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.d.ts +0 -1
  180. package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.js +0 -1
  181. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.d.ts +0 -1
  182. package/dist/editor/lib/puck/blocks/general/Testimonials/fields.js +0 -1
  183. package/dist/editor/lib/puck/blocks/general/Text/fields.d.ts +0 -1
  184. package/dist/editor/lib/puck/blocks/general/Text/fields.js +0 -1
  185. package/dist/editor/lib/puck/blocks/general/Ticker/fields.d.ts +0 -1
  186. package/dist/editor/lib/puck/blocks/general/Ticker/fields.js +0 -1
  187. package/dist/editor/lib/puck/blocks/general/Timeline/fields.d.ts +0 -1
  188. package/dist/editor/lib/puck/blocks/general/Timeline/fields.js +0 -1
  189. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.d.ts +0 -1
  190. package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.js +0 -1
  191. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +0 -1
  192. package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.js +0 -1
  193. package/dist/editor/lib/puck/blocks/general/index.d.ts +0 -1
  194. package/dist/editor/lib/puck/blocks/general/index.js +0 -1
  195. package/dist/editor/lib/puck/blocks/shared-fields.d.ts +0 -1
  196. package/dist/editor/lib/puck/blocks/shared-fields.js +0 -1
  197. package/dist/editor/lib/puck/build-config.d.ts +0 -1
  198. package/dist/editor/lib/puck/build-config.js +0 -1
  199. package/dist/editor/lib/puck/canvas-typing.d.ts +0 -1
  200. package/dist/editor/lib/puck/canvas-typing.js +0 -1
  201. package/dist/editor/lib/puck/card-row-fields.d.ts +0 -1
  202. package/dist/editor/lib/puck/card-row-fields.js +0 -1
  203. package/dist/editor/lib/puck/controls.d.ts +0 -1
  204. package/dist/editor/lib/puck/controls.js +0 -1
  205. package/dist/editor/lib/puck/enclosing-section.d.ts +0 -1
  206. package/dist/editor/lib/puck/enclosing-section.js +0 -1
  207. package/dist/editor/lib/puck/every-page.d.ts +0 -1
  208. package/dist/editor/lib/puck/every-page.js +0 -1
  209. package/dist/editor/lib/puck/field-groups.d.ts +0 -1
  210. package/dist/editor/lib/puck/field-groups.js +0 -1
  211. package/dist/editor/lib/puck/footer-blocks.d.ts +0 -1
  212. package/dist/editor/lib/puck/footer-blocks.js +0 -1
  213. package/dist/editor/lib/puck/general-registry.d.ts +0 -2
  214. package/dist/editor/lib/puck/general-registry.js +0 -1
  215. package/dist/editor/lib/puck/geocode-resolve.d.ts +0 -1
  216. package/dist/editor/lib/puck/geocode-resolve.js +0 -1
  217. package/dist/editor/lib/puck/heading-outline.d.ts +0 -1
  218. package/dist/editor/lib/puck/heading-outline.js +0 -1
  219. package/dist/editor/lib/puck/hidable-rows-drawn.d.ts +0 -1
  220. package/dist/editor/lib/puck/hidable-rows-drawn.js +0 -1
  221. package/dist/editor/lib/puck/locations-focus.d.ts +0 -1
  222. package/dist/editor/lib/puck/locations-focus.js +0 -1
  223. package/dist/editor/lib/puck/locked-blocks.d.ts +0 -1
  224. package/dist/editor/lib/puck/locked-blocks.js +0 -1
  225. package/dist/editor/lib/puck/logo-color-fields.d.ts +0 -1
  226. package/dist/editor/lib/puck/logo-color-fields.js +0 -1
  227. package/dist/editor/lib/puck/overrides.d.ts +0 -1
  228. package/dist/editor/lib/puck/overrides.js +0 -1
  229. package/dist/editor/lib/puck/page-root-fields.d.ts +0 -1
  230. package/dist/editor/lib/puck/page-root-fields.js +0 -1
  231. package/dist/editor/lib/puck/page-root.d.ts +0 -1
  232. package/dist/editor/lib/puck/page-root.js +0 -1
  233. package/dist/editor/lib/puck/panel-drop-empty-headings.d.ts +0 -1
  234. package/dist/editor/lib/puck/panel-drop-empty-headings.js +0 -1
  235. package/dist/editor/lib/puck/panel-heading-scope.d.ts +0 -1
  236. package/dist/editor/lib/puck/panel-heading-scope.js +0 -1
  237. package/dist/editor/lib/puck/part-anchors.d.ts +0 -1
  238. package/dist/editor/lib/puck/part-anchors.js +0 -1
  239. package/dist/editor/lib/puck/part-row-field.d.ts +0 -1
  240. package/dist/editor/lib/puck/part-row-field.js +0 -1
  241. package/dist/editor/lib/puck/part-typing.d.ts +0 -1
  242. package/dist/editor/lib/puck/part-typing.js +0 -1
  243. package/dist/editor/lib/puck/passes/inspector.d.ts +0 -1
  244. package/dist/editor/lib/puck/passes/inspector.js +0 -1
  245. package/dist/editor/lib/puck/pinned-in-place-seed.d.ts +0 -1
  246. package/dist/editor/lib/puck/pinned-in-place-seed.js +0 -1
  247. package/dist/editor/lib/puck/registry.d.ts +0 -1
  248. package/dist/editor/lib/puck/registry.js +0 -1
  249. package/dist/editor/lib/puck/section-text-suppress.d.ts +0 -1
  250. package/dist/editor/lib/puck/section-text-suppress.js +0 -1
  251. package/dist/editor/lib/puck/section-width-fields.d.ts +0 -1
  252. package/dist/editor/lib/puck/section-width-fields.js +0 -1
  253. package/dist/editor/lib/puck/show-when-resolve.d.ts +0 -1
  254. package/dist/editor/lib/puck/show-when-resolve.js +0 -1
  255. package/dist/editor/lib/puck/template-field.d.ts +0 -1
  256. package/dist/editor/lib/puck/template-field.js +0 -1
  257. package/dist/editor/lib/puck/text-part-shape.d.ts +0 -1
  258. package/dist/editor/lib/puck/text-part-shape.js +0 -1
  259. package/dist/editor/lib/puck/theme-swatches.d.ts +0 -1
  260. package/dist/editor/lib/puck/theme-swatches.js +0 -1
  261. package/dist/format/lib/puck/blocks/block-types.d.ts +0 -1
  262. package/dist/format/lib/puck/blocks/block-types.js +0 -1
  263. package/dist/format/lib/puck/blocks/general/Banner/meta.d.ts +0 -1
  264. package/dist/format/lib/puck/blocks/general/Banner/meta.js +0 -1
  265. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.d.ts +0 -1
  266. package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.js +0 -1
  267. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.d.ts +0 -1
  268. package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.js +0 -1
  269. package/dist/format/lib/puck/blocks/general/Cards/meta.d.ts +0 -1
  270. package/dist/format/lib/puck/blocks/general/Cards/meta.js +0 -1
  271. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.d.ts +0 -1
  272. package/dist/format/lib/puck/blocks/general/CategoryBar/meta.js +0 -1
  273. package/dist/format/lib/puck/blocks/general/Chart/meta.d.ts +0 -1
  274. package/dist/format/lib/puck/blocks/general/Chart/meta.js +0 -1
  275. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.d.ts +0 -1
  276. package/dist/format/lib/puck/blocks/general/ContactLocations/meta.js +0 -1
  277. package/dist/format/lib/puck/blocks/general/Countdown/meta.d.ts +0 -1
  278. package/dist/format/lib/puck/blocks/general/Countdown/meta.js +0 -1
  279. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.d.ts +0 -1
  280. package/dist/format/lib/puck/blocks/general/CustomHTML/fields.js +0 -1
  281. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.d.ts +0 -1
  282. package/dist/format/lib/puck/blocks/general/CustomHTML/meta.js +0 -1
  283. package/dist/format/lib/puck/blocks/general/Divider/meta.d.ts +0 -1
  284. package/dist/format/lib/puck/blocks/general/Divider/meta.js +0 -1
  285. package/dist/format/lib/puck/blocks/general/DocBody/meta.d.ts +0 -1
  286. package/dist/format/lib/puck/blocks/general/DocBody/meta.js +0 -1
  287. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.d.ts +0 -1
  288. package/dist/format/lib/puck/blocks/general/DocMasthead/meta.js +0 -1
  289. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.d.ts +0 -1
  290. package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.js +0 -1
  291. package/dist/format/lib/puck/blocks/general/DocTabs/meta.d.ts +0 -1
  292. package/dist/format/lib/puck/blocks/general/DocTabs/meta.js +0 -1
  293. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.d.ts +0 -1
  294. package/dist/format/lib/puck/blocks/general/Eyebrow/meta.js +0 -1
  295. package/dist/format/lib/puck/blocks/general/FAQ/meta.d.ts +0 -1
  296. package/dist/format/lib/puck/blocks/general/FAQ/meta.js +0 -1
  297. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.d.ts +0 -1
  298. package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.js +0 -1
  299. package/dist/format/lib/puck/blocks/general/Flex/meta.d.ts +0 -1
  300. package/dist/format/lib/puck/blocks/general/Flex/meta.js +0 -1
  301. package/dist/format/lib/puck/blocks/general/Footprint/meta.d.ts +0 -1
  302. package/dist/format/lib/puck/blocks/general/Footprint/meta.js +0 -1
  303. package/dist/format/lib/puck/blocks/general/Grid/meta.d.ts +0 -1
  304. package/dist/format/lib/puck/blocks/general/Grid/meta.js +0 -1
  305. package/dist/format/lib/puck/blocks/general/Heading/meta.d.ts +0 -1
  306. package/dist/format/lib/puck/blocks/general/Heading/meta.js +0 -1
  307. package/dist/format/lib/puck/blocks/general/Hero/meta.d.ts +0 -1
  308. package/dist/format/lib/puck/blocks/general/Hero/meta.js +0 -1
  309. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.d.ts +0 -1
  310. package/dist/format/lib/puck/blocks/general/HeroGroup/meta.js +0 -1
  311. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.d.ts +0 -1
  312. package/dist/format/lib/puck/blocks/general/HeroSingle/meta.js +0 -1
  313. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.d.ts +0 -1
  314. package/dist/format/lib/puck/blocks/general/HeroSlide/meta.js +0 -1
  315. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.d.ts +0 -1
  316. package/dist/format/lib/puck/blocks/general/ImageBlock/meta.js +0 -1
  317. package/dist/format/lib/puck/blocks/general/Integrations/meta.d.ts +0 -1
  318. package/dist/format/lib/puck/blocks/general/Integrations/meta.js +0 -1
  319. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.d.ts +0 -1
  320. package/dist/format/lib/puck/blocks/general/IntroBleed/meta.js +0 -1
  321. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.d.ts +0 -1
  322. package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.js +0 -1
  323. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.d.ts +0 -1
  324. package/dist/format/lib/puck/blocks/general/LogoBlock/meta.js +0 -1
  325. package/dist/format/lib/puck/blocks/general/Logos/meta.d.ts +0 -1
  326. package/dist/format/lib/puck/blocks/general/Logos/meta.js +0 -1
  327. package/dist/format/lib/puck/blocks/general/LongRead/meta.d.ts +0 -1
  328. package/dist/format/lib/puck/blocks/general/LongRead/meta.js +0 -1
  329. package/dist/format/lib/puck/blocks/general/Manifesto/meta.d.ts +0 -1
  330. package/dist/format/lib/puck/blocks/general/Manifesto/meta.js +0 -1
  331. package/dist/format/lib/puck/blocks/general/Masthead/meta.d.ts +0 -1
  332. package/dist/format/lib/puck/blocks/general/Masthead/meta.js +0 -1
  333. package/dist/format/lib/puck/blocks/general/Mockup/meta.d.ts +0 -1
  334. package/dist/format/lib/puck/blocks/general/Mockup/meta.js +0 -1
  335. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.d.ts +0 -1
  336. package/dist/format/lib/puck/blocks/general/OrderSummary/meta.js +0 -1
  337. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.d.ts +0 -1
  338. package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.js +0 -1
  339. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.d.ts +0 -1
  340. package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.js +0 -1
  341. package/dist/format/lib/puck/blocks/general/PostCard/meta.d.ts +0 -1
  342. package/dist/format/lib/puck/blocks/general/PostCard/meta.js +0 -1
  343. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.d.ts +0 -1
  344. package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.js +0 -1
  345. package/dist/format/lib/puck/blocks/general/Prose/meta.d.ts +0 -1
  346. package/dist/format/lib/puck/blocks/general/Prose/meta.js +0 -1
  347. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.d.ts +0 -1
  348. package/dist/format/lib/puck/blocks/general/SectionHeader/meta.js +0 -1
  349. package/dist/format/lib/puck/blocks/general/Series/meta.d.ts +0 -1
  350. package/dist/format/lib/puck/blocks/general/Series/meta.js +0 -1
  351. package/dist/format/lib/puck/blocks/general/Spacer/fields.d.ts +0 -1
  352. package/dist/format/lib/puck/blocks/general/Spacer/fields.js +0 -1
  353. package/dist/format/lib/puck/blocks/general/Spacer/meta.d.ts +0 -1
  354. package/dist/format/lib/puck/blocks/general/Spacer/meta.js +0 -1
  355. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.d.ts +0 -1
  356. package/dist/format/lib/puck/blocks/general/SpecStrip/meta.js +0 -1
  357. package/dist/format/lib/puck/blocks/general/Split/meta.d.ts +0 -1
  358. package/dist/format/lib/puck/blocks/general/Split/meta.js +0 -1
  359. package/dist/format/lib/puck/blocks/general/Stats/meta.d.ts +0 -1
  360. package/dist/format/lib/puck/blocks/general/Stats/meta.js +0 -1
  361. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.d.ts +0 -1
  362. package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.js +0 -1
  363. package/dist/format/lib/puck/blocks/general/Testimonials/meta.d.ts +0 -1
  364. package/dist/format/lib/puck/blocks/general/Testimonials/meta.js +0 -1
  365. package/dist/format/lib/puck/blocks/general/Text/meta.d.ts +0 -1
  366. package/dist/format/lib/puck/blocks/general/Text/meta.js +0 -1
  367. package/dist/format/lib/puck/blocks/general/Ticker/meta.d.ts +0 -1
  368. package/dist/format/lib/puck/blocks/general/Ticker/meta.js +0 -1
  369. package/dist/format/lib/puck/blocks/general/Timeline/meta.d.ts +0 -1
  370. package/dist/format/lib/puck/blocks/general/Timeline/meta.js +0 -1
  371. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.d.ts +0 -1
  372. package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.js +0 -1
  373. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.d.ts +0 -1
  374. package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.js +0 -1
  375. package/dist/format/lib/puck/blocks/general/metas.d.ts +0 -1
  376. package/dist/format/lib/puck/blocks/general/metas.js +0 -1
  377. package/dist/format/lib/puck/blocks/general/section-bg-built-in.d.ts +0 -1
  378. package/dist/format/lib/puck/blocks/general/section-bg-built-in.js +0 -1
  379. package/dist/format/lib/puck/blocks/general/text-part-shapes.json +0 -2162
  380. package/dist/format/lib/puck/blocks/placeholders.d.ts +0 -1
  381. package/dist/format/lib/puck/blocks/placeholders.js +0 -1
  382. package/dist/format/lib/puck/box-footer.d.ts +0 -1
  383. package/dist/format/lib/puck/box-footer.js +0 -1
  384. package/dist/format/lib/puck/cap-hero-groups.d.ts +0 -1
  385. package/dist/format/lib/puck/cap-hero-groups.js +0 -1
  386. package/dist/format/lib/puck/card-template-layers.d.ts +0 -1
  387. package/dist/format/lib/puck/card-template-layers.js +0 -1
  388. package/dist/format/lib/puck/container-blocks.d.ts +0 -1
  389. package/dist/format/lib/puck/container-blocks.js +0 -1
  390. package/dist/format/lib/puck/editor-page-context.d.ts +0 -1
  391. package/dist/format/lib/puck/editor-page-context.js +0 -1
  392. package/dist/format/lib/puck/field-noun.d.ts +0 -1
  393. package/dist/format/lib/puck/field-noun.js +0 -1
  394. package/dist/format/lib/puck/footer-block-row-name.d.ts +0 -1
  395. package/dist/format/lib/puck/footer-block-row-name.js +0 -1
  396. package/dist/format/lib/puck/general-order.d.ts +0 -1
  397. package/dist/format/lib/puck/general-order.js +0 -1
  398. package/dist/format/lib/puck/home-page.d.ts +0 -1
  399. package/dist/format/lib/puck/home-page.js +0 -1
  400. package/dist/format/lib/puck/left-view.d.ts +0 -1
  401. package/dist/format/lib/puck/left-view.js +0 -1
  402. package/dist/format/lib/puck/locations-tree.d.ts +0 -1
  403. package/dist/format/lib/puck/locations-tree.js +0 -1
  404. package/dist/format/lib/puck/media-drop.d.ts +0 -1
  405. package/dist/format/lib/puck/media-drop.js +0 -1
  406. package/dist/format/lib/puck/media-manifest.json +0 -147
  407. package/dist/format/lib/puck/mockup-variant-fields.d.ts +0 -1
  408. package/dist/format/lib/puck/mockup-variant-fields.js +0 -1
  409. package/dist/format/lib/puck/nestable-content-sections.d.ts +0 -1
  410. package/dist/format/lib/puck/nestable-content-sections.js +0 -1
  411. package/dist/format/lib/puck/neutralization-contracts.d.ts +0 -1
  412. package/dist/format/lib/puck/neutralization-contracts.js +0 -1
  413. package/dist/format/lib/puck/new-site-header-seed.d.ts +0 -1
  414. package/dist/format/lib/puck/new-site-header-seed.js +0 -1
  415. package/dist/format/lib/puck/one-h1.d.ts +0 -1
  416. package/dist/format/lib/puck/one-h1.js +0 -1
  417. package/dist/format/lib/puck/overlay-portal.d.ts +0 -1
  418. package/dist/format/lib/puck/overlay-portal.js +0 -1
  419. package/dist/format/lib/puck/own-box.d.ts +0 -1
  420. package/dist/format/lib/puck/own-box.js +0 -1
  421. package/dist/format/lib/puck/panel-bands.d.ts +0 -1
  422. package/dist/format/lib/puck/panel-bands.js +0 -1
  423. package/dist/format/lib/puck/part-inks.d.ts +0 -1
  424. package/dist/format/lib/puck/part-inks.js +0 -1
  425. package/dist/format/lib/puck/part-key.d.ts +0 -1
  426. package/dist/format/lib/puck/part-key.js +0 -1
  427. package/dist/format/lib/puck/passes/catalogue-labels.d.ts +0 -1
  428. package/dist/format/lib/puck/passes/catalogue-labels.js +0 -1
  429. package/dist/format/lib/puck/passes/document-position.d.ts +0 -1
  430. package/dist/format/lib/puck/passes/document-position.js +0 -1
  431. package/dist/format/lib/puck/passes/empty-headings.d.ts +0 -1
  432. package/dist/format/lib/puck/passes/empty-headings.js +0 -1
  433. package/dist/format/lib/puck/passes/hidden-nodes.d.ts +0 -1
  434. package/dist/format/lib/puck/passes/hidden-nodes.js +0 -1
  435. package/dist/format/lib/puck/passes/media-values.d.ts +0 -1
  436. package/dist/format/lib/puck/passes/media-values.js +0 -1
  437. package/dist/format/lib/puck/passes/registry-context.d.ts +0 -1
  438. package/dist/format/lib/puck/passes/registry-context.js +0 -1
  439. package/dist/format/lib/puck/passes/settings-groups.d.ts +0 -1
  440. package/dist/format/lib/puck/passes/settings-groups.js +0 -1
  441. package/dist/format/lib/puck/passes/show-when-rows.d.ts +0 -1
  442. package/dist/format/lib/puck/passes/show-when-rows.js +0 -1
  443. package/dist/format/lib/puck/passes/slot-rules.d.ts +0 -1
  444. package/dist/format/lib/puck/passes/slot-rules.js +0 -1
  445. package/dist/format/lib/puck/passes/types.d.ts +0 -1
  446. package/dist/format/lib/puck/passes/types.js +0 -1
  447. package/dist/format/lib/puck/phone-override.d.ts +0 -1
  448. package/dist/format/lib/puck/phone-override.js +0 -1
  449. package/dist/format/lib/puck/pinned-seed-gate.d.ts +0 -1
  450. package/dist/format/lib/puck/pinned-seed-gate.js +0 -1
  451. package/dist/format/lib/puck/renamed-props.d.ts +0 -1
  452. package/dist/format/lib/puck/renamed-props.js +0 -1
  453. package/dist/format/lib/puck/section-catalog.d.ts +0 -1
  454. package/dist/format/lib/puck/section-catalog.js +0 -1
  455. package/dist/format/lib/puck/section-descriptions.d.ts +0 -1
  456. package/dist/format/lib/puck/section-descriptions.js +0 -1
  457. package/dist/format/lib/puck/section-groups.d.ts +0 -1
  458. package/dist/format/lib/puck/section-groups.js +0 -1
  459. package/dist/format/lib/puck/show-when-attach.d.ts +0 -1
  460. package/dist/format/lib/puck/show-when-attach.js +0 -1
  461. package/dist/format/lib/puck/site-gap-fields.d.ts +0 -1
  462. package/dist/format/lib/puck/site-gap-fields.js +0 -1
  463. package/dist/format/lib/puck/snapshot-contracts.d.ts +0 -1
  464. package/dist/format/lib/puck/snapshot-contracts.js +0 -1
  465. package/dist/format/lib/puck/source-bound-parts.d.ts +0 -1
  466. package/dist/format/lib/puck/source-bound-parts.js +0 -1
  467. package/dist/format/lib/puck/source-row-name.d.ts +0 -1
  468. package/dist/format/lib/puck/source-row-name.js +0 -1
  469. package/dist/format/lib/puck/templateFields.d.ts +0 -1
  470. package/dist/format/lib/puck/templateFields.js +0 -1
  471. package/dist/format/lib/puck/text-seeds.d.ts +0 -1
  472. package/dist/format/lib/puck/text-seeds.js +0 -1
  473. package/dist/format/lib/source-rules/editor-puck-drag-off.d.ts +0 -2
  474. package/dist/format/lib/source-rules/editor-puck-drag-off.js +0 -1
  475. package/dist/format/lib/source-rules/puck-document-surfaces.d.ts +0 -2
  476. package/dist/format/lib/source-rules/puck-document-surfaces.js +0 -1
  477. package/dist/render/lib/puck/blocks/general/Banner/render.d.ts +0 -1
  478. package/dist/render/lib/puck/blocks/general/Banner/render.js +0 -1
  479. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.d.ts +0 -1
  480. package/dist/render/lib/puck/blocks/general/Breadcrumb/render.js +0 -1
  481. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.d.ts +0 -1
  482. package/dist/render/lib/puck/blocks/general/ButtonBlock/render.js +0 -1
  483. package/dist/render/lib/puck/blocks/general/Cards/render.d.ts +0 -1
  484. package/dist/render/lib/puck/blocks/general/Cards/render.js +0 -1
  485. package/dist/render/lib/puck/blocks/general/CategoryBar/render.d.ts +0 -1
  486. package/dist/render/lib/puck/blocks/general/CategoryBar/render.js +0 -1
  487. package/dist/render/lib/puck/blocks/general/Chart/render.d.ts +0 -1
  488. package/dist/render/lib/puck/blocks/general/Chart/render.js +0 -1
  489. package/dist/render/lib/puck/blocks/general/ContactLocations/render.d.ts +0 -1
  490. package/dist/render/lib/puck/blocks/general/ContactLocations/render.js +0 -1
  491. package/dist/render/lib/puck/blocks/general/Countdown/render.d.ts +0 -1
  492. package/dist/render/lib/puck/blocks/general/Countdown/render.js +0 -1
  493. package/dist/render/lib/puck/blocks/general/CustomHTML/render.d.ts +0 -1
  494. package/dist/render/lib/puck/blocks/general/CustomHTML/render.js +0 -1
  495. package/dist/render/lib/puck/blocks/general/Divider/render.d.ts +0 -1
  496. package/dist/render/lib/puck/blocks/general/Divider/render.js +0 -1
  497. package/dist/render/lib/puck/blocks/general/DocBody/render.d.ts +0 -1
  498. package/dist/render/lib/puck/blocks/general/DocBody/render.js +0 -1
  499. package/dist/render/lib/puck/blocks/general/DocMasthead/render.d.ts +0 -1
  500. package/dist/render/lib/puck/blocks/general/DocMasthead/render.js +0 -1
  501. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.d.ts +0 -1
  502. package/dist/render/lib/puck/blocks/general/DocMetaCards/render.js +0 -1
  503. package/dist/render/lib/puck/blocks/general/DocTabs/render.d.ts +0 -1
  504. package/dist/render/lib/puck/blocks/general/DocTabs/render.js +0 -1
  505. package/dist/render/lib/puck/blocks/general/Eyebrow/render.d.ts +0 -1
  506. package/dist/render/lib/puck/blocks/general/Eyebrow/render.js +0 -1
  507. package/dist/render/lib/puck/blocks/general/FAQ/render.d.ts +0 -1
  508. package/dist/render/lib/puck/blocks/general/FAQ/render.js +0 -1
  509. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.d.ts +0 -1
  510. package/dist/render/lib/puck/blocks/general/FeaturedCover/render.js +0 -1
  511. package/dist/render/lib/puck/blocks/general/Flex/render.d.ts +0 -1
  512. package/dist/render/lib/puck/blocks/general/Flex/render.js +0 -1
  513. package/dist/render/lib/puck/blocks/general/Footprint/render.d.ts +0 -1
  514. package/dist/render/lib/puck/blocks/general/Footprint/render.js +0 -1
  515. package/dist/render/lib/puck/blocks/general/Grid/render.d.ts +0 -1
  516. package/dist/render/lib/puck/blocks/general/Grid/render.js +0 -1
  517. package/dist/render/lib/puck/blocks/general/Heading/render.d.ts +0 -1
  518. package/dist/render/lib/puck/blocks/general/Heading/render.js +0 -1
  519. package/dist/render/lib/puck/blocks/general/Hero/render.d.ts +0 -1
  520. package/dist/render/lib/puck/blocks/general/Hero/render.js +0 -1
  521. package/dist/render/lib/puck/blocks/general/HeroGroup/render.d.ts +0 -1
  522. package/dist/render/lib/puck/blocks/general/HeroGroup/render.js +0 -1
  523. package/dist/render/lib/puck/blocks/general/HeroSingle/render.d.ts +0 -1
  524. package/dist/render/lib/puck/blocks/general/HeroSingle/render.js +0 -1
  525. package/dist/render/lib/puck/blocks/general/HeroSlide/render.d.ts +0 -1
  526. package/dist/render/lib/puck/blocks/general/HeroSlide/render.js +0 -1
  527. package/dist/render/lib/puck/blocks/general/ImageBlock/render.d.ts +0 -1
  528. package/dist/render/lib/puck/blocks/general/ImageBlock/render.js +0 -1
  529. package/dist/render/lib/puck/blocks/general/Integrations/render.d.ts +0 -1
  530. package/dist/render/lib/puck/blocks/general/Integrations/render.js +0 -1
  531. package/dist/render/lib/puck/blocks/general/IntroBleed/render.d.ts +0 -1
  532. package/dist/render/lib/puck/blocks/general/IntroBleed/render.js +0 -1
  533. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.d.ts +0 -1
  534. package/dist/render/lib/puck/blocks/general/KeyFeatures/render.js +0 -1
  535. package/dist/render/lib/puck/blocks/general/LogoBlock/render.d.ts +0 -1
  536. package/dist/render/lib/puck/blocks/general/LogoBlock/render.js +0 -1
  537. package/dist/render/lib/puck/blocks/general/Logos/render.d.ts +0 -1
  538. package/dist/render/lib/puck/blocks/general/Logos/render.js +0 -1
  539. package/dist/render/lib/puck/blocks/general/LongRead/render.d.ts +0 -1
  540. package/dist/render/lib/puck/blocks/general/LongRead/render.js +0 -1
  541. package/dist/render/lib/puck/blocks/general/Manifesto/render.d.ts +0 -1
  542. package/dist/render/lib/puck/blocks/general/Manifesto/render.js +0 -1
  543. package/dist/render/lib/puck/blocks/general/Masthead/render.d.ts +0 -1
  544. package/dist/render/lib/puck/blocks/general/Masthead/render.js +0 -1
  545. package/dist/render/lib/puck/blocks/general/Mockup/render.d.ts +0 -1
  546. package/dist/render/lib/puck/blocks/general/Mockup/render.js +0 -1
  547. package/dist/render/lib/puck/blocks/general/OrderSummary/render.d.ts +0 -1
  548. package/dist/render/lib/puck/blocks/general/OrderSummary/render.js +0 -1
  549. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.d.ts +0 -1
  550. package/dist/render/lib/puck/blocks/general/ParagraphsA/render.js +0 -1
  551. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.d.ts +0 -1
  552. package/dist/render/lib/puck/blocks/general/PaymentBadges/render.js +0 -1
  553. package/dist/render/lib/puck/blocks/general/PostCard/render.d.ts +0 -1
  554. package/dist/render/lib/puck/blocks/general/PostCard/render.js +0 -1
  555. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.d.ts +0 -1
  556. package/dist/render/lib/puck/blocks/general/ProcessSteps/render.js +0 -1
  557. package/dist/render/lib/puck/blocks/general/Prose/render.d.ts +0 -1
  558. package/dist/render/lib/puck/blocks/general/Prose/render.js +0 -1
  559. package/dist/render/lib/puck/blocks/general/SectionHeader/render.d.ts +0 -1
  560. package/dist/render/lib/puck/blocks/general/SectionHeader/render.js +0 -1
  561. package/dist/render/lib/puck/blocks/general/Series/render.d.ts +0 -1
  562. package/dist/render/lib/puck/blocks/general/Series/render.js +0 -1
  563. package/dist/render/lib/puck/blocks/general/Spacer/render.d.ts +0 -1
  564. package/dist/render/lib/puck/blocks/general/Spacer/render.js +0 -1
  565. package/dist/render/lib/puck/blocks/general/SpecStrip/render.d.ts +0 -1
  566. package/dist/render/lib/puck/blocks/general/SpecStrip/render.js +0 -1
  567. package/dist/render/lib/puck/blocks/general/Split/render.d.ts +0 -1
  568. package/dist/render/lib/puck/blocks/general/Split/render.js +0 -1
  569. package/dist/render/lib/puck/blocks/general/Stats/render.d.ts +0 -1
  570. package/dist/render/lib/puck/blocks/general/Stats/render.js +0 -1
  571. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.d.ts +0 -1
  572. package/dist/render/lib/puck/blocks/general/StatsParagraph/render.js +0 -1
  573. package/dist/render/lib/puck/blocks/general/Testimonials/render.d.ts +0 -1
  574. package/dist/render/lib/puck/blocks/general/Testimonials/render.js +0 -1
  575. package/dist/render/lib/puck/blocks/general/Text/render.d.ts +0 -1
  576. package/dist/render/lib/puck/blocks/general/Text/render.js +0 -1
  577. package/dist/render/lib/puck/blocks/general/Ticker/render.d.ts +0 -1
  578. package/dist/render/lib/puck/blocks/general/Ticker/render.js +0 -1
  579. package/dist/render/lib/puck/blocks/general/Timeline/render.d.ts +0 -1
  580. package/dist/render/lib/puck/blocks/general/Timeline/render.js +0 -1
  581. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.d.ts +0 -1
  582. package/dist/render/lib/puck/blocks/general/TimelineTrack/render.js +0 -1
  583. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.d.ts +0 -1
  584. package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.js +0 -1
  585. package/dist/render/lib/puck/blocks/general/render-config.d.ts +0 -1
  586. package/dist/render/lib/puck/blocks/general/render-config.js +0 -1
  587. package/dist/render/lib/puck/blocks/general/renders.d.ts +0 -1
  588. package/dist/render/lib/puck/blocks/general/renders.js +0 -1
  589. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.d.ts +0 -1
  590. package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.js +0 -1
  591. package/dist/render/lib/puck/blocks/general/section-to-box-rows.d.ts +0 -1
  592. package/dist/render/lib/puck/blocks/general/section-to-box-rows.js +0 -1
  593. package/dist/render/lib/puck/blocks/scaffold.d.ts +0 -1
  594. package/dist/render/lib/puck/blocks/scaffold.js +0 -1
  595. package/dist/render/lib/puck/booking-preview.d.ts +0 -1
  596. package/dist/render/lib/puck/booking-preview.js +0 -1
  597. package/dist/render/lib/puck/editing-bridges.d.ts +0 -1
  598. package/dist/render/lib/puck/editing-bridges.js +0 -1
  599. package/dist/render/lib/puck/header-clearance.d.ts +0 -1
  600. package/dist/render/lib/puck/header-clearance.js +0 -1
  601. package/dist/render/lib/puck/header-ink.d.ts +0 -1
  602. package/dist/render/lib/puck/header-ink.js +0 -1
  603. package/dist/render/lib/puck/hero-media-parts.d.ts +0 -1
  604. package/dist/render/lib/puck/hero-media-parts.js +0 -1
  605. package/dist/render/lib/puck/migrate-legacy.d.ts +0 -1
  606. package/dist/render/lib/puck/migrate-legacy.js +0 -1
  607. package/dist/render/lib/puck/page-frame.d.ts +0 -1
  608. package/dist/render/lib/puck/page-frame.js +0 -1
  609. package/dist/render/lib/puck/page-render.d.ts +0 -2
  610. package/dist/render/lib/puck/page-render.js +0 -1
  611. package/dist/render/lib/puck/part-rows.d.ts +0 -1
  612. package/dist/render/lib/puck/part-rows.js +0 -1
  613. package/dist/render/lib/puck/part-styles.d.ts +0 -1
  614. package/dist/render/lib/puck/part-styles.js +0 -1
  615. package/dist/render/lib/puck/part-text.d.ts +0 -1
  616. package/dist/render/lib/puck/part-text.js +0 -1
  617. package/dist/render/lib/puck/passes/borders.d.ts +0 -1
  618. package/dist/render/lib/puck/passes/borders.js +0 -1
  619. package/dist/render/lib/puck/passes/cell-width.d.ts +0 -1
  620. package/dist/render/lib/puck/passes/cell-width.js +0 -1
  621. package/dist/render/lib/puck/passes/clickable-parts.d.ts +0 -1
  622. package/dist/render/lib/puck/passes/clickable-parts.js +0 -1
  623. package/dist/render/lib/puck/passes/corners.d.ts +0 -1
  624. package/dist/render/lib/puck/passes/corners.js +0 -1
  625. package/dist/render/lib/puck/passes/index.d.ts +0 -1
  626. package/dist/render/lib/puck/passes/index.js +0 -1
  627. package/dist/render/lib/puck/passes/section-anchor.d.ts +0 -1
  628. package/dist/render/lib/puck/passes/section-anchor.js +0 -1
  629. package/dist/render/lib/puck/passes/section-animation.d.ts +0 -1
  630. package/dist/render/lib/puck/passes/section-animation.js +0 -1
  631. package/dist/render/lib/puck/passes/section-height.d.ts +0 -1
  632. package/dist/render/lib/puck/passes/section-height.js +0 -1
  633. package/dist/render/lib/puck/passes/section-padding.d.ts +0 -1
  634. package/dist/render/lib/puck/passes/section-padding.js +0 -1
  635. package/dist/render/lib/puck/passes/section-sticky.d.ts +0 -1
  636. package/dist/render/lib/puck/passes/section-sticky.js +0 -1
  637. package/dist/render/lib/puck/passes/section-theme.d.ts +0 -1
  638. package/dist/render/lib/puck/passes/section-theme.js +0 -1
  639. package/dist/render/lib/puck/passes/section-width.d.ts +0 -1
  640. package/dist/render/lib/puck/passes/section-width.js +0 -1
  641. package/dist/render/lib/puck/render-registry.d.ts +0 -1
  642. package/dist/render/lib/puck/render-registry.js +0 -1
  643. package/dist/render/lib/puck/sanitize.d.ts +0 -1
  644. package/dist/render/lib/puck/sanitize.js +0 -1
  645. package/dist/render/lib/puck/selection-parent.d.ts +0 -1
  646. package/dist/render/lib/puck/selection-parent.js +0 -1
  647. package/dist/render/lib/puck/show-when.d.ts +0 -1
  648. package/dist/render/lib/puck/show-when.js +0 -1
  649. package/dist/render/lib/puck/slot-specs.d.ts +0 -1
  650. package/dist/render/lib/puck/slot-specs.js +0 -1
  651. package/dist/render/lib/puck/text-parts.d.ts +0 -1
  652. package/dist/render/lib/puck/text-parts.js +0 -1
@@ -2,10 +2,10 @@
2
2
  * Storefront editor chrome — themed to the efficient-shell design system.
3
3
  *
4
4
  * The editor is efficient-easel's engine (`efficient-easel/easel`), hosted by
5
- * StorefrontEditorChrome. Until blueprint 6.3 (2026-10-02) it was Puck
6
- * (@measured/puck) driven through its composition API, and much of the
7
- * reasoning below was measured against Puck's sheets; where a note names a
8
- * Puck class or `puck.css`, read it as history unless it says otherwise.
5
+ * StorefrontEditorChrome. Until blueprint 6.3 (2026-10-02) it was the old editor library
6
+ * (the old editor library) driven through its composition API, and much of the
7
+ * reasoning below was measured against the old editor library's sheets; where a note names a
8
+ * The old editor library class or the old editor library's stylesheet, read it as history unless it says otherwise.
9
9
  * This file:
10
10
  * 1. Tunes the canvas's own marks — the engine's lists, outlines and drop
11
11
  * cells (`efficient-easel/easel.css`, `drag.css`) — to the storefront's
@@ -144,7 +144,7 @@
144
144
  background: var(--sf-hover);
145
145
  }
146
146
 
147
- /* ── Left panel: section tree (wraps Puck.Outline) ────────────────────── */
147
+ /* ── Left panel: section tree (wraps the old editor library's outline part) ────────────────────── */
148
148
 
149
149
  /* `.sf-row`, its states and the `.sf-tree > .sf-row + …` seam WERE HERE. The
150
150
  Layers rows became the shell's `TreeRow` in redesign 2b and the seam matched
@@ -477,7 +477,7 @@
477
477
  color: var(--sf-text);
478
478
  }
479
479
 
480
- /* ── Center: device-framed preview (wraps Puck.Preview) ──────────────── */
480
+ /* ── Center: device-framed preview (wraps the old editor library's preview part) ──────────────── */
481
481
  .sf-frame--tablet,
482
482
  .sf-frame--mobile {
483
483
  /* device frames don't stretch to full width but still fill height */
@@ -502,7 +502,7 @@
502
502
  }
503
503
 
504
504
  /* The Cart / Checkout surfaces are previewed in-canvas by rendering the real
505
- components inside the Puck preview iframe (same-document, no nested `<iframe
505
+ components inside the old editor library preview iframe (same-document, no nested `<iframe
506
506
  src>`) — see components/EditorPreviewSurface. No editor-side frame CSS is
507
507
  needed; the ribbon is styled inline in that component. */
508
508
 
@@ -517,7 +517,7 @@
517
517
  The owner, 2026-09-01: hovering a section shows too many dashed lines. He
518
518
  wants to find the hover target directly, and ONE is enough.
519
519
 
520
- He was right, and the hover outline was never the cause. Puck draws FIVE
520
+ He was right, and the hover outline was never the cause. The old editor library draws FIVE
521
521
  dashed outlines and four of them are STATES -- they paint only while a
522
522
  merchant is hovering, selecting or dragging. The fifth has no state in its
523
523
  selector at all:
@@ -530,30 +530,30 @@
530
530
  hero. Hovering added the fifth, and his eye had to find it among the four
531
531
  that were already there.
532
532
 
533
- So the standing one goes and the four states stay. Puck set
534
- `[data-puck-dragging]` on `[data-easel-entry]` for the length of a drag, so
535
- scoping to `:not([data-puck-dragging])` left every drag affordance exactly
536
- as Puck shipped it -- a merchant still sees where a block can land, which is
533
+ So the standing one goes and the four states stay. The old editor library set
534
+ `[data-old-dragging]` on `[data-easel-entry]` for the length of a drag, so
535
+ scoping to `:not([data-old-dragging])` left every drag affordance exactly
536
+ as the old editor library shipped it -- a merchant still sees where a block can land, which is
537
537
  the one thing that must not be traded away for this. (The engine sets no
538
538
  such attribute and draws its drop targets over the frame, not in it, so the
539
539
  scope is gone; the note on the rule below says why that is safe.)
540
540
 
541
- ONLY the outline. Puck's rule paints a background tint as well, and that is
541
+ ONLY the outline. The old editor library's rule paints a background tint as well, and that is
542
542
  left alone: an empty slot stays a visible block, so nothing becomes
543
543
  unfindable -- it just stops drawing a line round itself.
544
544
 
545
- SPECIFICITY, NOT `!important`. Ours was (0,4,0) against Puck's (0,2,0), and
546
- `storefront-editor.css` was imported after `puck.css` at every call site so
545
+ SPECIFICITY, NOT `!important`. Ours was (0,4,0) against the old editor library's (0,2,0), and
546
+ `storefront-editor.css` was imported after the old editor library's stylesheet at every call site so
547
547
  source order settled any tie (it is imported after the engine's
548
548
  `efficient-easel/easel.css` now; guard §9). An `!important` here would also beat
549
549
  `._DropZone--isDestination_`, which IS `!important`, and blind the merchant
550
550
  mid-drag.
551
551
 
552
- `[class*=]`, NOT the literal class. Puck's CSS-module names carry a build
552
+ `[class*=]`, NOT the literal class. The old editor library's CSS-module names carry a build
553
553
  hash (`_DropZone_1i2sv_1`); a literal one would stop matching on the next
554
- Puck bump with no error at all, and the field of outlines would come back
554
+ the old editor library bump with no error at all, and the field of outlines would come back
555
555
  silently. `scripts/test-one-hover-outline.tsx` asserts all of this, and
556
- asserts Puck still draws the rule we are overriding -- if it ever stops,
556
+ asserts the old editor library still draws the rule we are overriding -- if it ever stops,
557
557
  this becomes dead code and the guard turns that into a red rather than
558
558
  leaving something that looks load-bearing.
559
559
 
@@ -562,11 +562,11 @@
562
562
  The paragraph above is right about the standing box and wrong about what
563
563
  else it took. `:empty` does not stop being true while a slot is HOVERED or
564
564
  SELECTED -- it only says the slot holds nothing -- and this selector is
565
- LONGER than the Puck rules that paint those two states:
565
+ LONGER than the old editor library rules that paint those two states:
566
566
 
567
- ours [data-easel-entry]:not([data-puck-dragging]) …:empty (0,4,0)
568
- Puck --hoveringOverArea_:not(--isRootZone_) (0,2,0)
569
- Puck --isAreaSelected_ (0,1,0)
567
+ ours [data-easel-entry]:not([data-old-dragging]) …:empty (0,4,0)
568
+ the old editor library --hoveringOverArea_:not(--isRootZone_) (0,2,0)
569
+ the old editor library --isAreaSelected_ (0,1,0)
570
570
 
571
571
  So on an empty slot this rule won everywhere instead of only at rest.
572
572
  Measured in the real editor on the `sharpen` homepage, merged main
@@ -580,20 +580,20 @@
580
580
  background tint the paragraph above relies on is true while nothing is
581
581
  happening -- and something IS happening here.
582
582
 
583
- THE TWO EXCLUSIONS ARE PUCK'S OWN CONDITIONS, NEGATED, NOT NEW ONES. Puck
583
+ THE TWO EXCLUSIONS ARE THE OLD EDITOR LIBRARY'S OWN CONDITIONS, NEGATED, NOT NEW ONES. The old editor library
584
584
  paints a non-drag dashed outline on a zone in exactly two cases:
585
585
 
586
586
  ._DropZone--isAreaSelected_
587
587
  ._DropZone--hoveringOverArea_:not(._DropZone--isRootZone_)
588
588
 
589
589
  and this rule now stands aside for each, character for character. §6 of
590
- the guard BUILDS those two exclusions out of Puck's stylesheet and fails if
591
- ours do not match, so a sixth state upstream becomes a red on the day Puck
590
+ the guard BUILDS those two exclusions out of the old editor library's stylesheet and fails if
591
+ ours do not match, so a sixth state upstream becomes a red on the day the old editor library
592
592
  ships it rather than a silent hole like this one.
593
593
 
594
- ⚠️ WHY THE HOVER EXCLUSION KEEPS ITS `:not(--isRootZone_)`, AND MUST. Puck
594
+ ⚠️ WHY THE HOVER EXCLUSION KEEPS ITS `:not(--isRootZone_)`, AND MUST. The old editor library
595
595
  computes `hoveringOverArea = inNextDeepestArea || isRootZone`, so THE ROOT
596
- ZONE CARRIES IT AT ALL TIMES -- that is why Puck's own rule qualifies it.
596
+ ZONE CARRIES IT AT ALL TIMES -- that is why the old editor library's own rule qualifies it.
597
597
  A bare `:not(--hoveringOverArea_)` here would therefore stop neutralising
598
598
  the root zone, and an empty page would get its standing dashed box back:
599
599
  half of the defect this rule exists to remove, restored quietly by a fix
@@ -609,17 +609,17 @@
609
609
 
610
610
  Whether any of this is really PAINTED is not a question CSS text can
611
611
  answer. `scripts/probe-empty-slot-outline.mjs` rendered these states in a
612
- browser over Puck's classes; it went with Puck (blueprint 6.3), so measure
612
+ browser over the old editor library's classes; it went with the old editor library (blueprint 6.3), so measure
613
613
  the engine's canvas in the live editor. */
614
614
  /* Since blueprint 5.5 the lists are efficient-easel's `.es-zone`, and the
615
- states this section answers are its classes: `.is-area-selected` (Puck's
615
+ states this section answers are its classes: `.is-area-selected` (the old editor library's
616
616
  `--isAreaSelected_`), `.is-hovering-area` (`--hoveringOverArea_`) and
617
617
  `.is-root` (`--isRootZone_`). The reasoning above is unchanged; only the
618
- names moved, from Puck's hashed modules to classes this repo can spell.
618
+ names moved, from the old editor library's hashed modules to classes this repo can spell.
619
619
 
620
620
  ⚠️ NO DRAG SCOPE ANY MORE, AND A DRAG STILL SHOWS WHERE A BLOCK CAN LAND.
621
- This rule and A/B below were scoped to `:not([data-puck-dragging])` so a
622
- drag kept Puck's in-frame drop targets (`--isDestination_`). Nothing has
621
+ This rule and A/B below were scoped to `:not([data-old-dragging])` so a
622
+ drag kept the old editor library's in-frame drop targets (`--isDestination_`). Nothing has
623
623
  set that attribute since 5.5 — the engine has no such state — so the
624
624
  `:not()` matched every time and only added specificity: dead code that
625
625
  looked load-bearing. The engine draws a drag's targets in the HOST page,
@@ -662,13 +662,13 @@
662
662
  the block you are POINTING AT [data-easel-overlay-portal]:hover
663
663
 
664
664
  MEASURED, not inferred, by scripts/probe-hover-outline-count.mjs (retired
665
- with Puck in blueprint 6.3) against both stylesheets in the app's own import
665
+ with the old editor library in blueprint 6.3) against both stylesheets in the app's own import
666
666
  order, with a real pointer:
667
667
 
668
668
  pointing at a block 2 dashed boxes
669
669
  pointing at a block you have clicked 3 dashed boxes <- his picture
670
670
 
671
- ⚠️ THE ROOT ZONE IS THE THIRD ONE, AND IT SURPRISES PEOPLE. Puck's
671
+ ⚠️ THE ROOT ZONE IS THE THIRD ONE, AND IT SURPRISES PEOPLE. The old editor library's
672
672
  `isAreaSelected` rule carries no `:not(--isRootZone_)`, unlike its hover
673
673
  rule, so selecting a top-level section outlines the whole page as well as
674
674
  the section. That is why the count goes 2 -> 3 on a click rather than
@@ -686,14 +686,14 @@
686
686
  has no block in it and therefore no overlay to carry the line, so rule B
687
687
  below gives it one of its own. Solid, like everything else here.
688
688
 
689
- ⚠️ A DRAG IS NOT TOUCHED, AND MUST NOT BE. Under Puck every rule here sat
690
- inside `:not([data-puck-dragging])`, so `--isDestination_` and
691
- `--isEnabled_` shipped exactly as Puck wrote them. Dashed means something
689
+ ⚠️ A DRAG IS NOT TOUCHED, AND MUST NOT BE. Under the old editor library every rule here sat
690
+ inside `:not([data-old-dragging])`, so `--isDestination_` and
691
+ `--isEnabled_` shipped exactly as the old editor library wrote them. Dashed means something
692
692
  during a drag — it is where a block can land — and that is the one
693
693
  affordance card 66395 said must never be traded away for this. It still
694
694
  holds, by other means: the engine draws a drag's targets over the frame
695
695
  (the drop line, the `.es-canvas-empty` cell), where nothing here reaches,
696
- so the scope went with Puck — see the note on the empty-slot rule above.
696
+ so the scope went with the old editor library — see the note on the empty-slot rule above.
697
697
 
698
698
  SPECIFICITY, NOT `!important`, the same as the rule above. A is (0,4,0)
699
699
  against the engine's (0,3,0) state rules; its first selector carries
@@ -702,11 +702,11 @@
702
702
  source order. Nothing is lost on the root: the engine never outlines a
703
703
  selected root list, and an EMPTY selected root still gets B. B is (0,5,0)
704
704
  so it wins over A on an empty zone. C has no upstream rule left to answer
705
- (Puck's overlay-portal sheet went in 5.5). Ours is imported after the
705
+ (the old editor library's overlay-portal sheet went in 5.5). Ours is imported after the
706
706
  engine's sheet at every call site all the same (guard §9).
707
707
 
708
- `[class*=]`, NOT the literal class names — Puck's CSS-module names carry a
709
- build hash, and a literal one would stop matching on the next Puck bump with
708
+ `[class*=]`, NOT the literal class names — the old editor library's CSS-module names carry a
709
+ build hash, and a literal one would stop matching on the next old editor library bump with
710
710
  no error at all, silently putting all three boxes back. */
711
711
 
712
712
  /* A · a zone draws no line while you point at it or after you click it. */
@@ -718,13 +718,12 @@
718
718
  /* ⚠️ EVERY COLOUR BELOW CARRIES ITS OWN FALLBACK, AND THAT IS NOT DECORATION.
719
719
  These rules paint inside the canvas FRAME, whose document has no `.es-editor`
720
720
  root, so no `--es-*` token is defined there (efficient-easel/easel.css
721
- falls back the same way). Until blueprint 5.5 they leaned on Puck's
722
- `puck.css`, which declared its `--puck-color-azure-*` ramp on the frame's
721
+ falls back the same way). Until blueprint 5.5 they leaned on the old editor library's stylesheet, which declared its `--old-azure-*` ramp on the frame's
723
722
  `:root` and drew the pointed-at block's colour and offset itself. 5.5 took
724
- that sheet off the canvas: a bare `var(--puck-color-azure-08)` then resolved
723
+ that sheet off the canvas: a bare `var(--old-azure-08)` then resolved
725
724
  to nothing, and an `outline` with an unresolvable colour is no outline at all
726
725
  — the empty slot stopped answering when pointed at, silently. The colours are
727
- Puck's ramp as the shell re-tints it (`--es-accent-line` = azure-08,
726
+ the old editor library's ramp as the shell re-tints it (`--es-accent-line` = azure-08,
728
727
  `--es-accent-tint-strong` = azure-09). */
729
728
 
730
729
  /* B · …except an EMPTY one, which has no block to carry the line for it. */
@@ -734,11 +733,11 @@
734
733
  }
735
734
 
736
735
  /* C · the block you are pointing at: one line, solid, 1px, 2px off the words.
737
- Puck's own overlay-portal sheet drew it 2px dashed and this file narrowed it;
736
+ the old editor library's own overlay-portal sheet drew it 2px dashed and this file narrowed it;
738
737
  since that sheet left with 5.5 the whole line is declared here.
739
738
  ITS COLOUR IS THE ENGINE'S HOVER COLOUR (2026-10-16): the accent at 60%, as
740
739
  `.es-canvas-outline.is-hover` draws it in efficient-easel easel.css, so a
741
- pointed-at word and a pointed-at block look the same. It was Puck's azure-09
740
+ pointed-at word and a pointed-at block look the same. It was the old editor library's azure-09
742
741
  (#dbeafe), a tint of white: next to the engine's box it read as a second,
743
742
  lighter box, and once E below took that box away it was all but invisible
744
743
  on a light page. */
@@ -747,7 +746,7 @@
747
746
  outline-offset: 2px;
748
747
  }
749
748
 
750
- /* …and the rest of what Puck's overlay-portal sheet (lib/overlay-portal/
749
+ /* …and the rest of what the old editor library's overlay-portal sheet (lib/overlay-portal/
751
750
  styles.css) gave a text-part anchor, carried here for the same reason: the
752
751
  anchor takes the pointer, and draws a ring while the caret is in it. The
753
752
  OPEN part's own hairline (PART_PICK_CSS, (0,3,0)) still outranks the ring
@@ -763,7 +762,7 @@
763
762
 
764
763
  /* D · …and ONLY the innermost one.
765
764
  ⚠️ FOUND IN THE REAL EDITOR, NOT ON THE BOARD, AND IT IS THE HALF THE BOARD
766
- COULD NOT SEE. Puck nests an overlay per component, and `:hover` matches
765
+ COULD NOT SEE. The old editor library nests an overlay per component, and `:hover` matches
767
766
  every ancestor in that chain — so pointing at the heading of a section put
768
767
  FOUR overlays in `:hover` at once. Measured at /edit/preview-footer with a
769
768
  real pointer: 4 hovered overlays, 4 painted lines. Rules A-C removed every
@@ -816,25 +815,6 @@
816
815
 
817
816
  /* @tokens canvas-end */
818
817
 
819
- /* ── A Gap only Box on the canvas draws what the page draws ───────────────────
820
- A Box set to "Gap only" (`sf-box-gap-only`, lib/content/box-layout) takes
821
- away its blocks' own top and bottom padding; the host's unlayered rules are
822
- `.sf-box-gap-only > *` and `.sf-box-gap-only > .sf-section-pad > *`. On the
823
- canvas two elements stand between the Box and each block's root: the
824
- editor's item (`[data-easel-block]`) and the part host
825
- (`[data-sf-part-host]`, components/PreviewPartAnchors, `display: contents`).
826
- A child selector stops at the item, so on the canvas every block kept its
827
- frame (a Heading +48px, a Text +32px) and the Box was taller than on the
828
- page. These are the host's two rules again, through the two elements.
829
- Unlayered, for the host's reason: it must beat the `py-4` / `py-6` utility.
830
- `scripts/test-gap-only-canvas.tsx` compares the canvas with the page.
831
- Outside the canvas region above, whose rules may name only `[data-puck-…]`
832
- (`scripts/test-editor-css-tokens.ts`); it holds no colour, radius or face. */
833
- .sf-box-gap-only > [data-easel-block] > [data-sf-part-host] > *,
834
- .sf-box-gap-only > [data-easel-block] > [data-sf-part-host] > .sf-section-pad > * {
835
- padding-block: 0;
836
- }
837
-
838
818
  /* ── Canvas "Add section" seams (overlay between preview sections) ──────────
839
819
  Absolutely positioned over .sf-preview-host (the iframe's box), one band per
840
820
  seam between top-level sections, placed at the boundary Y measured from the
@@ -843,7 +823,7 @@
843
823
  insertion line + a dark "Add section" pill; clicking opens the picker targeted
844
824
  at that seam. It sits inside the scaled device frame, so it tracks the zoom. */
845
825
 
846
- /* ── Right panel: inspector (wraps Puck.Fields) ──────────────────────── */
826
+ /* ── Right panel: inspector (wraps the old editor library's fields part) ──────────────────────── */
847
827
  /* The head — chip, the panel's name as its h2 (card 66127), the kind line and
848
828
  the Duplicate / Copy-to-page / Remove buttons — is editor-shell's
849
829
  `.es-insp-head` (efficient-easel/chrome.css), lifted from this sheet (redesign 2a). */
@@ -910,16 +890,16 @@
910
890
  /* THE DROPDOWN ARROW, WRITTEN ONCE — card 66399.c.
911
891
  Read by `.sf-insp-body select` at rest AND by the hover rule beside it. The
912
892
  hover rule HAS to restate the image (overriding without `!important`
913
- replaces only the properties you name, and Puck's hover repaints the arrow
893
+ replaces only the properties you name, and the old editor library's hover repaints the arrow
914
894
  darker), so without this token the glyph would be spelled out twice —
915
895
  putting back the second copy card 66399 had just removed, and leaving the
916
- two to drift apart on the next Puck bump.
896
+ two to drift apart on the next old editor library bump.
917
897
 
918
898
  ⚠️ NOT AN `--es-*` ALIAS, and deliberately not one. Every other `--sf-*`
919
899
  above is a design value we choose, so it belongs in the shell. This is
920
- PUCK'S OWN GLYPH, matched to the package polygon for polygon so the six
921
- rows Puck drew and the 55 the panel drew could not look different. Since
922
- Puck left (blueprint 6.3) it is the panel's one arrow, declared here once;
900
+ THE OLD EDITOR LIBRARY'S OWN GLYPH, matched to the package polygon for polygon so the six
901
+ rows the old editor library drew and the 55 the panel drew could not look different. Since
902
+ the old editor library left (blueprint 6.3) it is the panel's one arrow, declared here once;
923
903
  `scripts/test-panel-one-arrow.tsx` §4 fails if a second copy appears or a
924
904
  select resolves to anything else. */
925
905
  --sf-select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>");
@@ -947,7 +927,7 @@
947
927
  its minimum width.
948
928
 
949
929
  WHY 280, WHICH IS NOT A ROUND NUMBER AND NOT AN OPINION. All 88 registered
950
- sections were rendered as real inspector panels — the live Puck config's own
930
+ sections were rendered as real inspector panels — the live the old editor library config's own
951
931
  fields, each field's own `render()`, over this sheet and the shell's two — and
952
932
  swept across the resizable band in Chromium, counting elements whose
953
933
  `scrollWidth` exceeds their `clientWidth`:
@@ -989,7 +969,7 @@
989
969
  .sf-insp-body::-webkit-scrollbar-thumb { border-width: var(--space-2); }
990
970
  }
991
971
 
992
- /* Floating-styled form controls for Puck's native fields — and ONLY those.
972
+ /* Floating-styled form controls for the old editor library's native fields — and ONLY those.
993
973
 
994
974
  ⚠️ A FIELD THE SHELL DRAWS IS SKIPPED: `:not(:where(.rosh-focus-ring))` on
995
975
  every selector of this rule, its placeholder, its textarea and its focus
@@ -1050,31 +1030,31 @@
1050
1030
  .sf-insp-body select {
1051
1031
  width: 100%;
1052
1032
  border: 1px solid var(--sf-input-border);
1053
- /* ⚠️ LONGHAND, NEVER `background:` — card 66397. Puck draws this control's
1033
+ /* ⚠️ LONGHAND, NEVER `background:` — card 66397. The old editor library draws this control's
1054
1034
  dropdown arrow as a 100x100 SVG polygon and then shrinks it with longhands
1055
1035
  (`background-size: 12px`, `background-repeat: no-repeat`). The shorthand
1056
1036
  that used to sit here reset every longhand it did not name, so on hover —
1057
- where Puck re-declares only the IMAGE — the full-size tile repeated 2.48
1037
+ where the old editor library re-declares only the IMAGE — the full-size tile repeated 2.48
1058
1038
  times across the 248px row and drew a dark bar with three triangles. That
1059
1039
  is what Lewis filed. It shipped in 486bf97fd and was never a regression.
1060
1040
 
1061
- Setting only the colour leaves Puck's own geometry alone, which is why this
1062
- needs no override of the package's rules and no hashed Puck class name to
1041
+ Setting only the colour leaves the old editor library's own geometry alone, which is why this
1042
+ needs no override of the package's rules and no hashed the old editor library class name to
1063
1043
  rot on the next bump. `scripts/test-panel-one-arrow.tsx` §3 holds the
1064
- invariant (moved there when Puck left): the arrow is drawn ONCE or not at
1044
+ invariant (moved there when the old editor library left): the arrow is drawn ONCE or not at
1065
1045
  all, never tiled, at rest or on hover.
1066
1046
 
1067
1047
  🎨 THE ARROW COMING BACK IS THE OWNER'S OWN RULING, not a side effect. It
1068
- puts a visible arrow into the panel's six Puck selects, which have not had
1048
+ puts a visible arrow into the panel's six the old editor library selects, which have not had
1069
1049
  one since the editor shipped. He was shown the row as it is today, this,
1070
1050
  and an arrow-less alternative — three shots of the real panel at its own
1071
1051
  320px — and on 2026-09-01 he chose this one: "the little arrow is fine."
1072
1052
  Do not quietly take it away again; it is a decision, with a date.
1073
1053
 
1074
1054
  🎯 AND IT IS THE SAME ARROW ON EVERY ROW — card 66399. That ruling put an
1075
- arrow on the SIX selects Puck draws. The panel draws 55 more from its own
1055
+ arrow on the SIX selects the old editor library draws. The panel draws 55 more from its own
1076
1056
  markup (the `select()` helper's custom field, and the `<select>`s panel
1077
- components write themselves), and Puck never styles those: nothing set
1057
+ components write themselves), and the old editor library never styles those: nothing set
1078
1058
  `appearance`, so each one drew whatever arrow the merchant's own browser
1079
1059
  draws. Measured on origin/main at 320px and again at the 220px minimum, the
1080
1060
  Divider block's "Style" row and its "Spacing" row — three rows apart in one
@@ -1082,15 +1062,15 @@
1082
1062
  the 12px triangle. A merchant could ask why two rows look different and the
1083
1063
  only true answer was "because of which library declared them".
1084
1064
 
1085
- So the five declarations below repeat Puck's OWN geometry, exactly, onto
1065
+ So the five declarations below repeat the old editor library's OWN geometry, exactly, onto
1086
1066
  every select the panel draws. Two things follow from that, and both are the
1087
1067
  point rather than a side effect:
1088
1068
 
1089
- • THE SIX DO NOT MOVE. Puck's `select._Input-input_…` is (0,1,1) and this
1069
+ • THE SIX DO NOT MOVE. The old editor library's `select._Input-input_…` is (0,1,1) and this
1090
1070
  rule is (0,1,1) too, so the two collide at equal weight and source order
1091
1071
  decides — but they now declare the SAME values, so it does not matter
1092
1072
  which wins. Nothing here has to out-specify the package, and no hashed
1093
- Puck class is named where it would rot on the next bump.
1073
+ the old editor library class is named where it would rot on the next bump.
1094
1074
  • NEITHER TRAP IS SPRUNG. `appearance: none` alone leaves a row with NO
1095
1075
  arrow, which looks exactly like a stylesheet that failed to load; the
1096
1076
  image alone leaves the browser's arrow beside ours, TWO on one row.
@@ -1100,9 +1080,9 @@
1100
1080
  that would break if that were forgotten, because it is the rule that holds
1101
1081
  the image. `scripts/test-panel-one-arrow.tsx` resolves the whole cascade per
1102
1082
  markup shape and fails if any shape's arrow differs from any other's, and if
1103
- this image ever stops matching the one Puck ships.
1083
+ this image ever stops matching the one the old editor library ships.
1104
1084
 
1105
- ✅ NOW UNIFIED, one state along — card 66399.c. Puck darkens its own arrow on
1085
+ ✅ NOW UNIFIED, one state along — card 66399.c. The old editor library darkens its own arrow on
1106
1086
  HOVER at (0,4,1), and that rule can reach only its six. This card's rule
1107
1087
  below holds it off at (0,5,1) so all 61 rows answer the pointer the same
1108
1088
  way; `scripts/test-panel-one-hover.tsx` is the guard for it.
@@ -1110,7 +1090,7 @@
1110
1090
  ⚠️ THAT NUMBER WAS WRONG HERE UNTIL 66399.c. It read (0,4,2), and so did the
1111
1091
  arrow guard's header and sh#1024's body. `:has(> select)` counts in the
1112
1092
  ELEMENT column, not the class one — and one column out is exactly the
1113
- difference between three of our classes tying with Puck and losing to it. */
1093
+ difference between three of our classes tying with the old editor library and losing to it. */
1114
1094
  background-color: var(--sf-field-bg);
1115
1095
  appearance: none;
1116
1096
  -webkit-appearance: none;
@@ -1127,7 +1107,7 @@
1127
1107
 
1128
1108
  /* ── EVERY DROPDOWN ANSWERS THE POINTER THE SAME WAY — card 66399.c ─────────
1129
1109
  Card 66399 gave all 61 panel dropdowns the same arrow AT REST. Under the
1130
- pointer they still split: Puck repaints its own six — ground, arrow AND
1110
+ pointer they still split: the old editor library repaints its own six — ground, arrow AND
1131
1111
  border — from a rule the other 55 have no equivalent of, so one row lights up
1132
1112
  and the row three above it does nothing.
1133
1113
 
@@ -1144,27 +1124,27 @@
1144
1124
  also why nothing needs to change in `efficient-easel`: the shell already owns the
1145
1125
  VALUE (`--es-hover`), and this is the shop agreeing with it.
1146
1126
 
1147
- ⚠️ WHY FOUR CLASSES, AND WHY THAT IS NOT COSMETIC. Puck's hover rule is
1127
+ ⚠️ WHY FOUR CLASSES, AND WHY THAT IS NOT COSMETIC. The old editor library's hover rule is
1148
1128
  (0,4,1) — `._Input_`(class) + `:has(> select)`(ELEMENT: `:has()` takes its
1149
1129
  argument's specificity) + `:hover`(class) + `._Input-input_`(class) +
1150
1130
  `:not([disabled])`(attribute). Measured, three of our classes TIES it and then
1151
- wins only because `storefront-editor.css` is imported after `puck.css` at
1131
+ wins only because `storefront-editor.css` is imported after the old editor library's stylesheet at
1152
1132
  every editor entry; move an import anywhere and the six rows silently revert
1153
- to Puck's azure with nothing going red. The fourth class buys independence
1154
- from load order. No `!important`, and no hashed Puck class name that would rot
1133
+ to the old editor library's azure with nothing going red. The fourth class buys independence
1134
+ from load order. No `!important`, and no hashed the old editor library class name that would rot
1155
1135
  on the next bump.
1156
1136
 
1157
1137
  ⚠️ ALL THREE DECLARATIONS ARE LOAD-BEARING. Overriding without `!important`
1158
1138
  replaces only the properties you NAME, so the arrow and the border are
1159
- restated at their RESTING values purely to hold Puck's darker pair off. They
1139
+ restated at their RESTING values purely to hold the old editor library's darker pair off. They
1160
1140
  are not a second opinion about how the row should look.
1161
1141
 
1162
1142
  AND IT STANDS ASIDE EVERYWHERE ELSE. It needs `:hover`, so it cannot touch the
1163
1143
  row at rest; it is inside `.sf-insp-body`, so it cannot reach the storefront's
1164
- own selects; and carrying no `!important` is what keeps Puck's drag paint
1144
+ own selects; and carrying no `!important` is what keeps the old editor library's drag paint
1165
1145
  (`[data-dnd-placeholder]`, which IS `!important`) out of its reach. Card 66395
1166
1146
  §6 is the precedent for getting that wrong — a shop rule that out-specified
1167
- Puck the same way went on to win states it should have stood aside for, and
1147
+ the old editor library the same way went on to win states it should have stood aside for, and
1168
1148
  every guard stayed green. `scripts/test-panel-one-hover.tsx` resolves the
1169
1149
  whole cascade per markup shape and asserts what must NOT move as well as what
1170
1150
  must. */
@@ -1488,7 +1468,7 @@
1488
1468
  color: var(--sf-text-secondary);
1489
1469
  }
1490
1470
 
1491
- /* Collapsed-panel state hook (when Puck's UI flags hide a side) */
1471
+ /* Collapsed-panel state hook (when the old editor library's UI flags hide a side) */
1492
1472
  .sf-panel--hidden {
1493
1473
  display: none;
1494
1474
  }
@@ -1586,12 +1566,12 @@
1586
1566
  Deleted rather than left dead: a rule nobody renders is a rule the next person
1587
1567
  edits and watches do nothing.
1588
1568
  CARD 66300.a FINISHED THE JOB. The last selector that named `.sf-field-section`
1589
- went with them: a `[class*="_PuckFields-field_"]:first-child` descendant that
1569
+ went with them: a `[class*="_OldFields-field_"]:first-child` descendant that
1590
1570
  pulled the first header flush to the panel top. It had matched nothing since the
1591
1571
  rule above was deleted in this same pull request. The two comments that described
1592
1572
  the pair went with it, and so did the section header that had nothing left under
1593
1573
  it — the real "floating custom controls" rules live further up, at
1594
- `Floating-styled form controls for Puck's native fields`.
1574
+ `Floating-styled form controls for the old editor library's native fields`.
1595
1575
  MEASURED BEFORE CUTTING, with controls in the same sweep, so the zero is a
1596
1576
  measurement and not a query that finds nothing: `.sf-field-section` and
1597
1577
  `.sf-field-group` return ZERO renders across app/, components/, lib/ AND the
@@ -1603,7 +1583,7 @@
1603
1583
 
1604
1584
  /* ── The settings TABS (card 8802; the Inspector's since blueprint 4.4) ───────
1605
1585
  The strip is `.es-tabs` from `efficient-easel/panel.css`, drawn by
1606
- efficient-easel's `Inspector` (components/SiteFields) above its rows. Puck's
1586
+ efficient-easel's `Inspector` (components/SiteFields) above its rows. The old editor library's
1607
1587
  flat list of hashed wrappers, which made `lib/document/controls.tsx` mark each
1608
1588
  bucket and hide the others' rows with a DOM pass, is gone: a row on another
1609
1589
  tab is `hidden` by the Inspector itself, and a bucket header is a marker
@@ -1703,10 +1683,10 @@
1703
1683
  one setting to the next 50px
1704
1684
  the last setting to the next heading 74px
1705
1685
 
1706
- 36px OF EVERY ONE OF THOSE WAS NEVER A DECISION. Puck wraps each field in
1707
- `._PuckFields-field_` and gives it `padding: 16px 16px 12px` plus an 8px
1686
+ 36px OF EVERY ONE OF THOSE WAS NEVER A DECISION. The old editor library wraps each field in
1687
+ `._OldFields-field_` and gives it `padding: 16px 16px 12px` plus an 8px
1708
1688
  `margin-top` between wrappers. That padding was the air around a RULED cell
1709
- — Puck draws a `border-top` between fields. Card 66334 deleted every one of
1689
+ — the old editor library draws a `border-top` between fields. Card 66334 deleted every one of
1710
1690
  those lines, on the owner's word, and left the padding behind. It has been
1711
1691
  dead air stacked on top of the shell's rhythm ever since, and it is why a
1712
1692
  panel that reads as "too loose" measures as one nobody has loosened.
@@ -1782,7 +1762,7 @@
1782
1762
  Since 2026-10-14 the sheet has NO heading there (Lewis: one kind of group
1783
1763
  heading per panel, the folding band): it draws an empty
1784
1764
  `.sf-theme-module-break` where `SURFACES` stood, and these two selectors
1785
- carry the rule to it. The sheet does not draw Puck field wrappers: it renders
1765
+ carry the rule to it. The sheet does not draw the old editor library field wrappers: it renders
1786
1766
  its rows as bare `SettingsField`s inside its own container. Same 30px, same full
1787
1767
  bleed, same token-read cancel — one block, because a second copy of his
1788
1768
  number is the thing that goes stale.
@@ -1827,7 +1807,7 @@
1827
1807
  }
1828
1808
  /* A HEADING OWNS ITS FIRST SETTING, so that setting sits closer to it than to
1829
1809
  the settings below it. The shell says this as
1830
- `.es-group-body > .es-field:first-child`, which cannot fire here: Puck's
1810
+ `.es-group-body > .es-field:first-child`, which cannot fire here: the old editor library's
1831
1811
  inspector is a FLAT sibling list, so a heading never wraps the rows it heads
1832
1812
  and there is no `:first-child` to select. Same rule, said the only way this
1833
1813
  DOM can say it — the row after the heading's wrapper. Without it the
@@ -1899,7 +1879,7 @@
1899
1879
  needs the rule, and this sheet goes to one of them. It loads before this
1900
1880
  sheet, where the rule stood; no rule here meets it on `display !important`. */
1901
1881
  /* ── A field that draws NO CONTROL here (card 66178) ──────────────────────────
1902
- Puck owned the wrapper around every top-level field and ruled the gap between
1882
+ the old editor library owned the wrapper around every top-level field and ruled the gap between
1903
1883
  two of them, so a field whose render returned nothing still took its
1904
1884
  `16px 16px 12px` and still drew the line: a hairline with only blank space on
1905
1885
  one side. (Since blueprint 4.4 the row is efficient-easel's `.es-insp-row`.) It was three of
@@ -1926,7 +1906,7 @@
1926
1906
  it: the rule below is drawn by a PACKAGE, it is the majority of what is
1927
1907
  actually on screen, and it cannot be deleted from here.
1928
1908
 
1929
- Puck rules the gap between every pair of top-level fields, so it draws once
1909
+ the old editor library rules the gap between every pair of top-level fields, so it draws once
1930
1910
  per field for the whole panel — 28 lines in a single section panel, measured.
1931
1911
  That is most of the panel's lines on its own, which is why removing the shop's
1932
1912
  own two heading rules (card 66300) did not change what he saw.
@@ -1936,21 +1916,21 @@
1936
1916
  text parts. It was held here under a written expiry, because a rule that lives
1937
1917
  in another repo could not be reached from this one. editor-shell 0.29.0 (card
1938
1918
  66350) deleted it AT SOURCE and card 66351 deleted this repo's copy with it —
1939
- the ending the Puck rule below cannot have, since `@measured/puck` is not ours
1919
+ the ending the old editor library rule below cannot have, since `The old editor library` is not ours
1940
1920
  to change. That seam is now held from both ends by
1941
1921
  `scripts/test-drill-rows-separated-by-air.ts`: it fails if the shell starts
1942
1922
  drawing on it again, and it fails if a local override for it reappears here.
1943
1923
 
1944
- ⚠️ SPECIFICITY, NOT `!important`. Puck's rule is (0,3,0) —
1924
+ ⚠️ SPECIFICITY, NOT `!important`. The old editor library's rule is (0,3,0) —
1945
1925
  `wrapFields field + field` — so this restates all three parts to match it, and
1946
- wins on order: `storefront-editor.css` is imported after `puck.css` and after
1926
+ wins on order: `storefront-editor.css` is imported after the old editor library's stylesheet and after
1947
1927
  `panel.css` at every call site. The `[class*=]` form is this file's existing
1948
- idiom for Puck's hashed module names (see the three rules above); a bare class
1949
- would break on the next Puck bump, silently, by putting the lines back.
1928
+ idiom for the old editor library's hashed module names (see the three rules above); a bare class
1929
+ would break on the next old editor library bump, silently, by putting the lines back.
1950
1930
 
1951
1931
  This is an override of a live upstream rule, not dead code:
1952
1932
  `scripts/test-panel-no-divider-lines.tsx` §2 asserts the upstream rule still
1953
- exists before checking it, so if Puck ever drops its own line, the guard says
1933
+ exists before checking it, so if the old editor library ever drops its own line, the guard says
1954
1934
  to delete the override rather than leave it lying here — which is exactly what
1955
1935
  happened to the drill one above. */
1956
1936
 
@@ -2463,7 +2443,7 @@
2463
2443
 
2464
2444
  ⚠️ NOT CAUSED BY THE PANEL-SPACING CARD. Checked rather than assumed: the
2465
2445
  same three tabs measure 38 / 38 / 0 on `ad353cf60`, the commit before that
2466
- card's three PRs. Those changed `.sf-field` and Puck's field wrappers; this
2446
+ card's three PRs. Those changed `.sf-field` and the old editor library's field wrappers; this
2467
2447
  panel draws the shell's `.es-field`, whose 38 has stood since card 66301 —
2468
2448
  the owner's own re-scale on 2026-08-31.
2469
2449
 
@@ -3919,7 +3899,7 @@ input.sf-list-marking {
3919
3899
  }
3920
3900
 
3921
3901
  /* ── A slot section's children, listed in its OWN panel (card 66186) ──────────
3922
- The Hero Slideshow's Content tab was empty: `slides` is a slot, and Puck draws
3902
+ The Hero Slideshow's Content tab was empty: `slides` is a slot, and the old editor library draws
3923
3903
  a slot as nothing in the inspector, so the slides were reachable only from the
3924
3904
  Sections tree. The rows are the shell's `.es-drill` (single source, as in
3925
3905
  `.sf-entries` above) and the heading is the panel's own `.sf-field-group`, so
@@ -1 +1 @@
1
- "use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,P=w===L,h=J().getState,g=q(null);j(()=>{if(!W({docId:S,saveStatus:H,seededDocId:g.current})||(g.current=S,!Y))return;const p=h().appState.data,n=p.content,d=C?.content??[],r=(e,s)=>e.some(i=>i?.type===s);if(!B){const e=new Set(O(n)),s=e.size?n.filter(c=>!e.has(c.props.id)):n;if(e.size&&t.setDocument({...p,content:s}),P)return;const i=V(s,d);if(i.includes(a)){const c=s.length,o=t.insertSection(a,c);t.replaceComponent(l,c,{type:a,props:{id:o,blocks:b()}})}i.includes(E)&&t.insertNode(l,0,N());return}if(P){const e=X(n);if(e!==n&&t.setDocument({...p,content:[...e]}),!e.find(i=>i.type===a)&&!r(d,a)&&!r(e,f)&&!r(d,f)){const i=(o,m)=>T(D,o,m),c={type:a,props:{blocks:b()}};t.insertNode(l,e.length,U(c,i,I(f)))}return}if(A){const e=!!_?.pinnedChrome?.state().docId,s=$(n,{hasChromeDoc:e}),i=new Set([...s.remove,...O(n.filter(o=>!s.remove.includes(String(o.props.id))))]),c=i.size?n.filter(o=>!i.has(String(o.props.id))):n;if(c.length!==n.length&&t.setDocument({...p,content:c}),s.seedFooter&&!r(d,a)&&!r(d,f)){const o=(u,Z)=>T(D,u,Z),m={type:a,props:{blocks:b()}};t.insertNode(l,c.length,U(m,o,I(f)))}if(s.seedHeader&&!r(d,E)){const o=c[0]?.type===R?1:0;t.insertNode(l,o,N())}if(s.seedSiteHeader&&!r(d,R)&&!r(d,a)&&!r(d,f)){const o=S;ee({blocks:te(z),make:(m,u)=>T(D,m,u),id:I(R),siteId:v??null,token:x.current,latest:()=>h().appState.data.content,stillOpen:()=>g.current===o,write:m=>{const u=h().appState.data;t.setDocument({...u,content:[...m]})}})}return}const k=n.filter(e=>e.type!==a),G=new Set(O(k)),F=G.size?k.filter(e=>!G.has(e.props.id)):k;F.length!==n.length&&t.setDocument({...p,content:F}),!r(F,E)&&!r(d,E)&&t.insertNode(l,0,N())},[S,H,C,h,t,B,Y,P,A,_,z,v,x])}export{De as usePinnedChromeSeed};
1
+ "use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,g=w===L,h=J().getState,P=q(null);j(()=>{if(!W({docId:S,saveStatus:H,seededDocId:P.current})||(P.current=S,!Y))return;const p=h().appState.data,n=p.content,d=C?.content??[],r=(e,s)=>e.some(i=>i?.type===s);if(!B){const e=new Set(O(n)),s=e.size?n.filter(c=>!e.has(c.props.id)):n;if(e.size&&t.setDocument({...p,content:s}),g)return;const i=V(s,d);if(i.includes(a)){const c=s.length,o=t.insertSection(a,c);t.replaceComponent(l,c,{type:a,props:{id:o,blocks:b()}})}i.includes(E)&&t.insertNode(l,0,N());return}if(g){const e=X(n);if(e!==n&&t.setDocument({...p,content:[...e]}),!e.find(i=>i.type===a)&&!r(d,a)&&!r(e,f)&&!r(d,f)){const i=(o,m)=>T(D,o,m),c={type:a,props:{blocks:b()}};t.insertNode(l,e.length,U(c,i,I(f)))}return}if(A){const e=!!_?.pinnedChrome?.state().docId,s=$(n,{hasChromeDoc:e}),i=new Set([...s.remove,...O(n.filter(o=>!s.remove.includes(String(o.props.id))))]),c=i.size?n.filter(o=>!i.has(String(o.props.id))):n;if(c.length!==n.length&&t.setDocument({...p,content:c}),s.seedFooter&&!r(d,a)&&!r(d,f)){const o=(u,Z)=>T(D,u,Z),m={type:a,props:{blocks:b()}};t.insertNode(l,c.length,U(m,o,I(f)))}if(s.seedHeader&&!r(d,E)){const o=c[0]?.type===R?1:0;t.insertNode(l,o,N())}if(s.seedSiteHeader&&!r(d,R)&&!r(d,a)&&!r(d,f)){const o=S;ee({blocks:te(z),make:(m,u)=>T(D,m,u),id:I(R),siteId:v??null,token:x.current,latest:()=>h().appState.data.content,stillOpen:()=>P.current===o,write:m=>{const u=h().appState.data;t.setDocument({...u,content:[...m]})}})}return}const k=n.filter(e=>e.type!==a),G=new Set(O(k)),F=G.size?k.filter(e=>!G.has(e.props.id)):k;F.length!==n.length&&t.setDocument({...p,content:F}),!r(F,E)&&!r(d,E)&&t.insertNode(l,0,N())},[S,H,C,h,t,B,Y,g,A,_,z,v,x])}export{De as usePinnedChromeSeed};
@@ -1,2 +1,4 @@
1
1
  import type { ScreenDocumentOps } from "efficient-easel/screen/lib/screen-parts";
2
+ import { type SectionToBoxEdit } from "../../render/lib/sections/section-to-box.js";
2
3
  export declare function useSectionToBoxPass(ops: ScreenDocumentOps): void;
4
+ export declare function applySectionToBoxEdits(edits: readonly SectionToBoxEdit[], ops: Pick<ScreenDocumentOps, "replaceComponent" | "insertNode">, done: Set<string>): void;
@@ -1 +1 @@
1
- "use client";import{useEffect as s,useRef as i}from"react";import{useEasel as f}from"efficient-easel/easel";import{ROOT_ZONE as d}from"efficient-easel/draw";import{sectionToBoxEdits as p}from"../../render/lib/sections/section-to-box.js";function x(e){const t=f(o=>o.appState.data.content),n=i(new Set);s(()=>{for(const{index:o,node:c}of p(t)){const r=String(t[o]?.props.id??"");n.current.has(r)||(n.current.add(r),e.replaceComponent(d,o,c))}},[t,e])}export{x as useSectionToBoxPass};
1
+ "use client";import{useEffect as p,useRef as d}from"react";import{useEasel as f}from"efficient-easel/easel";import{ROOT_ZONE as s}from"efficient-easel/draw";import{usePreviewHeader as m}from"../../render/components/PreviewHeaderContext.js";import{siteCardThemeMetadata as u}from"../../format/lib/content/section-width.js";import{pageConvertContextOf as x,sectionToBoxEdits as l}from"../../render/lib/sections/section-to-box.js";function B(n){const o=f(e=>e.appState.data.content),r=d(new Set),{cardThemeIndex:t}=m();p(()=>{const e=x(u(t));E(l(o,e),n,r.current)},[o,n,t])}function E(n,o,r){for(const{index:t,nodes:e}of[...n].sort((i,c)=>c.index-i.index)){const i=String(e[0].props.id);r.has(i)||(r.add(i),o.replaceComponent(s,t,e[0]),e.slice(1).forEach((c,a)=>{o.insertNode(s,t+1+a,c),o.replaceComponent(s,t+1+a,c)}))}}export{E as applySectionToBoxEdits,B as useSectionToBoxPass};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as s,StylesIcon as t,WeightIcon as o,WidthIcon as m}from"efficient-easel/icons";import{deviceField as r}from"efficient-easel/screen/lib/document/device-fields";import{select as n,slider as l,toggle as c}from"../../../controls.js";import{DEFAULT_DIVIDER_STYLE as i,DIVIDER_STYLE_OPTIONS as a}from"../../../../../../format/lib/sections/divider-style.js";import{withRowRules as d}from"../../../../../../render/lib/document/show-when.js";const f={any:[{field:"style",set:!1},{field:"style",is:i}]},D={fields:d({style:n("Style",e(t,{}),a,i),spacing:{type:"select",options:[{label:"Small",value:"sm"},{label:"Medium",value:"md"},{label:"Large",value:"lg"}]},thickness:l("Thickness",e(o,{}),1,8,1,1,"px"),lengthPct:l("Length",e(m,{}),10,100,1,100,"%"),hideOnMobile:r("mobile",c("Hide",!1,e(s,{})))},[[["thickness"],f]])};export{D as DividerFields};
1
+ import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as r,StylesIcon as d,WeightIcon as c,WidthIcon as p}from"efficient-easel/icons";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{NoControlMark as m,noControlField as f}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{select as g,sidesPaddingFields as I,slider as i,swapPadding as h,toggle as y}from"../../../controls.js";import{DEFAULT_DIVIDER_STYLE as s,DIVIDER_SPACE_PX as D,DIVIDER_STYLE_OPTIONS as E,parseDividerSpacing as _}from"../../../../../../format/lib/sections/divider-style.js";import{withRowRules as S}from"../../../../../../render/lib/document/show-when.js";const P={any:[{field:"style",set:!1},{field:"style",is:s}]},R={not:{field:"style",is:"none"}},v={fields:S({style:g("Style",e(d,{}),E,s),spacing:{...f({type:"custom",render:()=>e(m,{})},"always"),reachedBy:"sectionPaddingTop"},thickness:i("Thickness",e(c,{}),1,8,1,1,"px"),lengthPct:i("Length",e(p,{}),10,100,1,100,"%"),hideOnMobile:a("mobile",y("Hide",!1,e(r,{})))},[[["thickness"],P],[["lengthPct"],R]]),resolveFields:(t,{fields:n})=>{const o=D[_(t.props.spacing)],l=I({fallback:{top:o,bottom:o}});return h(n,l)}};export{v as DividerFields};