@riverbankcms/sdk 0.182.0 → 0.184.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 (231) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +83 -4
  3. package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-DjBTJYiF.d.ts} +1 -1
  4. package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-BpXEM2ET.d.ts} +7 -7
  5. package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-Bb3h7KRE.d.ts} +2 -2
  6. package/dist/_dts/{client-D6T430bk.d.ts → client-DgTRRtl_.d.ts} +14 -1
  7. package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-DZQJp_ak.d.ts} +9 -16
  8. package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-Ww1fmd-c.d.ts} +3 -3
  9. package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-BGc7dju6.d.ts} +2 -2
  10. package/dist/_dts/{index-CciRW_w1.d.ts → index-BECaUNYs.d.ts} +2 -2
  11. package/dist/_dts/{index-CEyYMhLJ.d.ts → index-Cc85KVLW.d.ts} +3 -3
  12. package/dist/_dts/{index-CQrb3Ccc.d.ts → index-Cni4jykw.d.ts} +4 -4
  13. package/dist/_dts/{index-DIU-wL1M.d.ts → index-DxxTQ_0V.d.ts} +2 -2
  14. package/dist/_dts/{index-Cqxis-nv.d.ts → index-W9-7djG3.d.ts} +1 -1
  15. package/dist/_dts/{index-DqPKdeTk.d.ts → index-ukS-Ffem.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-BlSWTlbD.d.ts} +7 -7
  17. package/dist/_dts/{request-DEwxUSw8.d.ts → request-CZz2BoXJ.d.ts} +89478 -88093
  18. package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D12HXnS3.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-BteMsSGP.d.ts} +1 -1
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +126 -2
  55. package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-aTlOvO3U.d.ts} +16 -8
  56. package/dist/_dts/{types-B3RjeBLV.d.ts → types-Bi7R07RX.d.ts} +45 -4
  57. package/dist/_dts/{types-BvUSGQrw.d.ts → types-CCcQlRBi.d.ts} +22 -12
  58. package/dist/_dts/{types-CkRFtBqd.d.ts → types-Du4aMnWC.d.ts} +13 -15
  59. package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-CjCWVmwe.d.ts} +4 -4
  60. package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs} +22 -18
  61. package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-C4LcfwyA.mjs} +8 -8
  62. package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DdcmoHqQ.mjs} +2 -2
  63. package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-DYGewmvh.mjs} +1 -1
  64. package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-ZfrUiiiI.mjs} +25 -8
  65. package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
  66. package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs} +7 -5
  67. package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-Ct1B3xI4.mjs} +10 -10
  68. package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DgfNtcgW.mjs} +9 -9
  69. package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-CjoaG1zy.mjs} +1 -1
  70. package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-KGKkK19N.mjs} +29 -14
  71. package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-Ba9ezxuC.mjs} +1 -1
  72. package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-xFKRDLwC.mjs} +3 -3
  73. package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-Dy36vWHi.mjs} +84 -7
  74. package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-Dth9L00x.mjs} +118 -76
  75. package/dist/client/{Page-sV6BJkXX.mjs → Page-DB5KODiu.mjs} +4491 -1398
  76. package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
  77. package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-BDVP_HeK.mjs} +3 -3
  78. package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-CLgDVzCs.mjs} +1 -1
  79. package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DRyZ8igu.mjs} +7 -7
  80. package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-C4rCsPCt.mjs} +52 -10
  81. package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-CqroimVQ.mjs} +1024 -619
  82. package/dist/client/{accordion-6cuswD_s.mjs → accordion-BQYRP5xV.mjs} +1 -1
  83. package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-B7ckDuOC.mjs} +191 -71
  84. package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-BeD4650p.mjs} +7 -6
  85. package/dist/client/bookings.mjs +5 -5
  86. package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CA7FirMH.mjs} +2 -2
  87. package/dist/client/buttonParts-C39GC0kz.mjs +1518 -0
  88. package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DJ9Aa1m3.mjs} +2 -2
  89. package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
  90. package/dist/client/{cart-BYOe7MCh.mjs → cart-DdCenbTy.mjs} +3 -3
  91. package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-BQm06qNw.mjs} +1 -1
  92. package/dist/client/{checkout-Dwd7Di77.mjs → checkout-45wPQULN.mjs} +3 -3
  93. package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-bSv4cc5z.mjs} +1 -1
  94. package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-CwlaMl3W.mjs} +1 -1
  95. package/dist/client/client.mjs +460 -119
  96. package/dist/client/{constants-DdxFG3Ic.mjs → constants-DXV4KR7l.mjs} +1 -1
  97. package/dist/client/{context-Hi1RuYEM.mjs → context-lCPfX-xe.mjs} +15 -5
  98. package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-Ce3Gyin_.mjs} +1 -1
  100. package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CGcDE9aE.mjs} +4 -4
  101. package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DlPfn4YG.mjs} +52 -29
  102. package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-CioAdryV.mjs} +4 -4
  103. package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-Dwt0G6ez.mjs} +4 -4
  104. package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-B3H9ifOC.mjs} +4 -4
  105. package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-Do7cAhXb.mjs} +7 -6
  106. package/dist/client/{form-DWnlEVSK.mjs → form-CsqzgC6v.mjs} +3 -3
  107. package/dist/client/{form.client-D7zmeqNI.mjs → form.client-DVDB7hY6.mjs} +5 -5
  108. package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-1q2rzSYt.mjs} +3 -3
  109. package/dist/client/gifting/client.mjs +16 -9
  110. package/dist/client/{gifting-Cn0jidP5.mjs → gifting-BrXQGX-k.mjs} +4 -4
  111. package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--zAjnY5N.mjs} +155 -85
  112. package/dist/client/gifting.interactive-CrwHpUJG.mjs +207 -0
  113. package/dist/client/gifting.parts-CcKdDaQq.mjs +124 -0
  114. package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-DlcDH4bi.mjs} +2 -2
  115. package/dist/client/{noop-jesvJXEE.mjs → islands-dMh0Oxli.mjs} +16103 -7965
  116. package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-BxA1PsdS.mjs} +6 -6
  117. package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-D0iRg7p2.mjs} +229 -197
  118. package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-Dmuklz0r.mjs} +2 -2
  119. package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CBzvgIfg.mjs} +3 -3
  120. package/dist/client/portal/client.mjs +51 -35
  121. package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
  122. package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DiGibcZI.mjs} +31 -9
  123. package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
  124. package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-D9MP8hvH.mjs} +1 -1
  125. package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-wCz1qcUY.mjs} +1 -1
  126. package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-D9-fCY6c.mjs} +3 -3
  127. package/dist/client/{productList-BuLemmod.mjs → productList-PJyxXSac.mjs} +3 -3
  128. package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-B8lrKGPw.mjs} +4 -2
  129. package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-CI63JVHW.mjs} +2444 -1078
  130. package/dist/client/rendering/client.mjs +32 -28
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +5 -5
  133. package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-Jt9hDHdh.mjs} +2 -2
  134. package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-ZSPcJWx1.mjs} +1 -1
  135. package/dist/client/runtimeResponse-DlPBWBd9.mjs +3 -0
  136. package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-_iW9oEYc.mjs} +1 -1
  137. package/dist/client/{shop-GuMqnDL-.mjs → shop-CbdJlWOw.mjs} +3 -3
  138. package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-BqLbzUUn.mjs} +47 -28
  139. package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-BT0-zRqN.mjs} +1 -1
  140. package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-Cws0lnSb.mjs} +2 -2
  141. package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-0cNErhJT.mjs} +54 -24
  142. package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-COuQ2MhQ.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
  145. package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-DqI6U1BS.mjs} +11 -8
  146. package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CeVUVzGf.mjs} +44 -1
  147. package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-B0mjVhZr.mjs} +2 -2
  148. package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-B_hfgdAP.mjs} +6 -2
  149. package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Ct4A6iR1.mjs} +14 -16
  150. package/dist/client/{view-DOyZc-DF.mjs → view-Cj151w4m.mjs} +24 -9
  151. package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-B3gsXNnb.mjs} +283 -222
  152. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
  153. package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
  154. package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
  155. package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-Dv4CW0AQ.mjs} +952 -138
  156. package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-B7WW58uE.mjs} +4774 -2040
  157. package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-BnJ1ughv.mjs} +71 -47
  158. package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-C7qWzAe4.mjs} +72 -40
  159. package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CYi4UHtG.mjs} +135 -30
  160. package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-CRgbU75r.mjs} +799 -17
  161. package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-B4c6U3ZU.mjs} +11 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-DrUoRNu9.mjs} +24203 -9291
  163. package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-CEYp90mM.mjs} +3 -90
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-DnO2_c0A.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-B3PwHw2z.mjs} +46 -11
  167. package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-DrdQ4ier.mjs} +49 -3
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-kuGRKaRL.mjs} +2008 -448
  169. package/dist/preview-next/container-responsive.css +469 -2
  170. package/dist/preview-next/editor-chrome.css +23 -2
  171. package/dist/preview-next/keepAlive.mjs +1 -1
  172. package/dist/preview-next/middleware.mjs +1 -1
  173. package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-CwrXkLT3.mjs} +177 -43
  174. package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-C5ucphCJ.mjs} +5 -5
  175. package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DvbqYXdK.mjs} +46 -10
  176. package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-CAcf1lHT.mjs} +732 -176
  177. package/dist/server/{accordions-By_0Ykks.mjs → accordions-DjcsqjCK.mjs} +1 -1
  178. package/dist/server/{bindings-DMJH4bvo.mjs → bindings-CFw4M-gZ.mjs} +69 -248
  179. package/dist/server/{client-DrwlRNAH.mjs → client-D0XCgITW.mjs} +488 -119
  180. package/dist/server/config-validation.mjs +1 -1
  181. package/dist/server/config.mjs +2 -2
  182. package/dist/server/{constants-CeMywaiD.mjs → constants-BZduY8jG.mjs} +31 -8
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +4 -4
  185. package/dist/server/{loadContent-D0prFflT.mjs → loadContent-C-qyB8Tq.mjs} +11 -10
  186. package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-BpKKmi8E.mjs} +3 -3
  187. package/dist/server/lookMediaFrame-EFws7tAj.mjs +31835 -0
  188. package/dist/server/manifest.mjs +2 -2
  189. package/dist/server/{navigation-wrcuWmgp.mjs → navigation-DYkuiNXa.mjs} +1 -1
  190. package/dist/server/navigation.mjs +1 -1
  191. package/dist/server/next.mjs +9 -9
  192. package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-DmZn4xUE.mjs} +1 -1
  193. package/dist/server/page-converter.mjs +18 -5
  194. package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-DRB7cUZ0.mjs} +674 -298
  195. package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-Uv1xDieJ.mjs} +13 -6
  196. package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-BdQF875z.mjs} +911 -516
  197. package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CwcWZL7u.mjs} +3 -3
  198. package/dist/server/{portal-pG_uhsI2.mjs → portal-BQ8qiQnk.mjs} +22 -2
  199. package/dist/server/portal.mjs +3 -3
  200. package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-B51QZVNe.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-CppDAfJW.mjs} +4 -4
  203. package/dist/server/{registry-Cc88-23f.mjs → registry-Bf4W8Qa7.mjs} +7585 -24378
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +10 -10
  209. package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-DMHAZooQ.mjs} +2 -2
  210. package/dist/server/{expandPalette-ehuW8r2g.mjs → resolveButtonColourStates-BMtAAPzp.mjs} +1670 -1346
  211. package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-DKYfR518.mjs} +1 -1
  212. package/dist/server/{schema-CwfxQjc4.mjs → schema-DGaihVwp.mjs} +300 -29
  213. package/dist/server/server.mjs +3 -3
  214. package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-CRvmreX7.mjs} +40 -16
  215. package/dist/server/theme-bridge.mjs +5 -4
  216. package/dist/server/theme.mjs +2 -2
  217. package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-mcy2E1Yd.mjs} +2 -2
  218. package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-B2qFOUwZ.mjs} +4 -5
  219. package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
  220. package/dist/server/{types-BKaBZFjD.mjs → types-C_S0pWbR.mjs} +487 -9
  221. package/dist/server/{validation-BovmbS8N.mjs → validation-CUtNT_EZ.mjs} +14 -10
  222. package/dist/server/{version-hws4hgyX.mjs → version-DebJQ4zn.mjs} +1 -1
  223. package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
  224. package/dist/styles/index.css +2987 -168
  225. package/package.json +1 -1
  226. package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
  227. package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
  228. package/dist/client/types-BEaKfam_.mjs +0 -778
  229. package/dist/server/customCss-C9kgPHvr.mjs +0 -247
  230. package/dist/server/lookMediaFrame-H0fi4bJk.mjs +0 -2701
  231. package/dist/server/media-gvfIw3z8.mjs +0 -216
@@ -1,4 +1,4 @@
1
- import { X as themeColorTokenSchema } from "./types-BKaBZFjD.mjs";
1
+ import { tt as themeColorTokenSchema } from "./types-C_S0pWbR.mjs";
2
2
  import { z } from "zod";
3
3
  //#region ../site-contracts/src/theme/accordions.ts
4
4
  /**
@@ -1,10 +1,9 @@
1
- import { et as parseStoredVariant, it as resolveRuntimeSection, rt as lookFillPartsFromContent, t as buildPageRenderPlan } from "./pageRenderPlan-BHrmogsW.mjs";
2
- import { $a as resolveArrangementLookForBlock, Fr as formatDate, Go as isDecorativeTransitionIntent, Ho as boundaryOptions, Jo as spaciousBoundaryOption, Ko as noneBoundaryOption, No as resolvePageDesignBlockLookChoice, Po as resolvePageDesignBoundaryChoice, Qa as getCompatibleBlockAppearancePresets, Vo as boundaryOptionForTransitionIntent, Wo as boundaryTreatmentForBoundaryOptionId, Xa as automaticArrangementLook, Ya as arrangementStyleAvailability, Yo as transitionIntentForTreatment, Za as compileArrangementLookRuntime, _o as getCuratedSiteStyle, bo as stripCompiledRuntimeStyleFields, do as filterLayoutProfilesForPolicy, eo as resolveLookForBlock, es as parseCanonicalRuntimeBackground, fo as filterLookIdsForPolicy, ft as systemCustomizeFacetDefinitionsForBlock, ga as plainTextToInlineText, io as resolveEffectiveArrangement, qa as arrangementAppearancePresets, qo as softBoundaryOption, ro as readStoredMode, rs as defaultHeroImageSurfaceTreatment, t as getBlockDefinition, ti as resolveDeclaredBlockDesignCapability, ts as resolveSectionBackground, uo as deriveSiteStyleBlockPolicy, yo as compilePageRuntimeFields } from "./registry-Cc88-23f.mjs";
3
- import { A as makeBoundaryId, D as asLayoutVariantKey, O as asPageFlowPresetId, w as asDesignBlockId, y as isArrangementMode } from "./customCss-C9kgPHvr.mjs";
4
- import { r as sectionStylesOverrideSchema } from "./schema-CwfxQjc4.mjs";
5
- import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-D2-YMRei.mjs";
6
- import { f as isRichTextDoc, n as isRecord } from "./typeGuards-CTW_9AXq.mjs";
7
- import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-H0fi4bJk.mjs";
1
+ import { $ as parseStoredVariant, it as lookFillPartsFromContent, t as buildPageRenderPlan } from "./pageRenderPlan-DRB7cUZ0.mjs";
2
+ import { Ir as formatDate, ao as pageFlowDefaultJoinCandidate, co as siteStyleEdges, fo as parseCanonicalRuntimeBackground, ft as systemCustomizeFacetDefinitionsForBlock, io as boundaryOptionsForStyle, lo as pageFlowPresets, ni as resolveDeclaredBlockDesignCapability, oo as resolveJoinTreatment, po as resolveSectionBackground, so as resolvePageJoins, t as getBlockDefinition, wa as plainTextToInlineText } from "./registry-Bf4W8Qa7.mjs";
3
+ import { D as getCuratedSiteStyle, Ft as lookModes, Gt as plainFrame, It as assertNever, Kt as requireNonEmptyReadonlyArray, Lt as defineBlockDesignCapability, P as defaultHeroImageSurfaceTreatment, S as filterLookIdsForPolicy, St as noneBoundaryOption, Vt as designIssueSeverityForPolicy, Yt as toNonEmptyReadonlyArray, _t as boundaryOptionIdForTreatment, a as arrangementStyleAvailability, b as deriveSiteStyleBlockPolicy, c as getCompatibleBlockAppearancePresets, d as resolveLookForBlock, ht as boundaryOptionForTransitionIntent, j as stripCompiledRuntimeStyleFields, k as compilePageRuntimeFields, m as resolveEffectiveArrangement, mt as resolvePageDesignBoundaryChoice, o as automaticArrangementLook, p as readStoredMode, pt as resolvePageDesignBlockLookChoice, qt as sectionBackgroundPaintValues, r as arrangementAppearancePresets, rt as sectionOwnerStyleChoices, s as compileArrangementLookRuntime, u as resolveArrangementLookForBlock, wt as sectionTransitionFamilies, x as filterLayoutProfilesForPolicy, xt as isDecorativeTransitionIntent } from "./lookMediaFrame-EFws7tAj.mjs";
4
+ import { B as makeBoundaryId, L as asLayoutVariantKey, P as asDesignBlockId, k as isArrangementMode, r as sectionStylesOverrideSchema } from "./schema-DGaihVwp.mjs";
5
+ import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-Uv1xDieJ.mjs";
6
+ import { n as isRecord, s as isRichTextDoc } from "./typeGuards-DZOaGTEv.mjs";
8
7
  import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
9
8
  //#region ../theme-core/src/site-styles/resolver.ts
10
9
  const repairActionsByIssueKind = {
@@ -475,220 +474,6 @@ function compositionCapabilityFor(composition) {
475
474
  }
476
475
  }
477
476
  //#endregion
478
- //#region ../theme-core/src/site-styles/pageFlowPresets.ts
479
- /**
480
- * Must remain non-empty; downstream code indexes `[0]` as the documented default.
481
- */
482
- const pageFlowPresets = [
483
- {
484
- id: asPageFlowPresetId("flow:quiet"),
485
- label: "Quiet",
486
- boundaryStrategy: "quiet",
487
- defaultBoundaryOptionId: noneBoundaryOption.id
488
- },
489
- {
490
- id: asPageFlowPresetId("flow:balanced"),
491
- label: "Balanced",
492
- boundaryStrategy: "balanced",
493
- defaultBoundaryOptionId: softBoundaryOption.id
494
- },
495
- {
496
- id: asPageFlowPresetId("flow:expressive"),
497
- label: "Expressive",
498
- boundaryStrategy: "expressive",
499
- defaultBoundaryOptionId: spaciousBoundaryOption.id
500
- }
501
- ];
502
- /**
503
- * The break a join gets when nothing more specific applies. An unknown preset
504
- * id (a stale or policy-owned one) falls back to the first boundary option,
505
- * and `preset` is null so callers can tell the two apart.
506
- */
507
- function pageFlowDefaultBoundary(pageFlowPresetId) {
508
- const preset = pageFlowPresets.find((candidate) => candidate.id === pageFlowPresetId) ?? null;
509
- return {
510
- preset,
511
- boundaryOptionId: preset?.defaultBoundaryOptionId ?? boundaryOptions[0].id
512
- };
513
- }
514
- //#endregion
515
- //#region ../theme-core/src/site-styles/joinTreatment.ts
516
- /**
517
- * The single rule set for which treatment a join gets. Candidates arrive in
518
- * priority order; the first supported one wins.
519
- *
520
- * - `none` ends the search and yields no join.
521
- * - A structured treatment the catalogue lacks falls through to the next one. When it was the user's
522
- * pin, the pin is reported unsupported and the existing
523
- * `pinned-boundary-option-unavailable` issue is raised.
524
- */
525
- function resolveJoinTreatment(input) {
526
- const boundaryId = makeBoundaryId(input.previousBlockId, input.nextBlockId);
527
- const selection = selectCandidate(input.candidates);
528
- const selectedOutcome = selection.kind === "selected" ? selection.outcome : { kind: "none" };
529
- const pin = pinStatus(input.candidates, selectedOutcome);
530
- const issues = pin.kind === "unsupported" ? [{
531
- kind: "pinned-boundary-option-unavailable",
532
- boundaryId,
533
- presetId: pin.optionId,
534
- feedback: "user-facing"
535
- }] : [];
536
- if (selection.kind === "exhausted") return {
537
- join: null,
538
- selectedSource: null,
539
- pin,
540
- issues
541
- };
542
- if (selection.outcome.kind === "none") return {
543
- join: null,
544
- selectedSource: selection.candidate.source,
545
- pin,
546
- issues
547
- };
548
- return {
549
- selectedSource: selection.candidate.source,
550
- join: {
551
- boundaryId,
552
- previousBlockId: input.previousBlockId,
553
- nextBlockId: input.nextBlockId,
554
- treatment: selection.outcome.treatment,
555
- source: selection.candidate.source
556
- },
557
- pin,
558
- issues
559
- };
560
- }
561
- function pinStatus(candidates, selectedOutcome) {
562
- const pinned = candidates.find((candidate) => candidate.source.kind === "user-pinned");
563
- if (!pinned) return { kind: "none" };
564
- return candidateOutcome(pinned.treatment).kind === "unsupported" ? {
565
- kind: "unsupported",
566
- optionId: fallbackOptionId(selectedOutcome)
567
- } : { kind: "supported" };
568
- }
569
- function selectCandidate(candidates) {
570
- for (const candidate of candidates) {
571
- const outcome = candidateOutcome(candidate.treatment);
572
- switch (outcome.kind) {
573
- case "decorative":
574
- case "none": return {
575
- kind: "selected",
576
- candidate,
577
- outcome
578
- };
579
- case "unsupported": continue;
580
- default: return assertNever(outcome, "Unhandled join candidate outcome");
581
- }
582
- }
583
- return { kind: "exhausted" };
584
- }
585
- function candidateOutcome(treatment) {
586
- if (treatment.kind === "none") return { kind: "none" };
587
- const intent = transitionIntentForTreatment(treatment);
588
- return intent ? {
589
- kind: "decorative",
590
- treatment: intent
591
- } : { kind: "unsupported" };
592
- }
593
- /**
594
- * Unavailable structured treatments use the selected catalogue option in the editor issue.
595
- */
596
- function fallbackOptionId(outcome) {
597
- switch (outcome.kind) {
598
- case "decorative": return boundaryOptionForTransitionIntent(outcome.treatment).id;
599
- case "none": return noneBoundaryOption.id;
600
- default: return assertNever(outcome, "Unhandled join fallback outcome");
601
- }
602
- }
603
- function requiresPhoto(option) {
604
- const treatment = boundaryTreatmentForBoundaryOptionId(option);
605
- return treatment?.kind === "wave-edge" && treatment.echo === true;
606
- }
607
- /**
608
- * A rule claims blocks on its side before later rules on that side count their first occurrence.
609
- * Claims are per side, so one style can join into a block and out of it.
610
- */
611
- function matchedRuleBlocks(rule, blocks, claimed) {
612
- const matches = blocks.flatMap((block, index) => {
613
- if (claimed.has(`${rule.side}:${index}`) || rule.position === "opening" && index !== 0) return [];
614
- return (rule.match.kind === "look" ? block.lookId !== null && rule.match.looks.includes(block.lookId) && (!requiresPhoto(rule.join) || block.paint === "photo") : block.paint === "paint" && rule.match.grounds.includes(block.ground)) ? [index] : [];
615
- });
616
- return rule.occurrence === "first" ? matches.slice(0, 1) : matches;
617
- }
618
- function pageRuleOptions(rules, blocks) {
619
- return rules.reduce((state, rule) => {
620
- const matched = matchedRuleBlocks(rule, blocks, state.claimed);
621
- const options = matched.map((index) => rule.side === "after" ? index : index - 1).filter((index) => index >= 0 && index < blocks.length - 1 && !state.options.has(index));
622
- return {
623
- claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched.map((index) => `${rule.side}:${index}`)]),
624
- options: new Map([...state.options, ...options.map((index) => [index, rule.join])])
625
- };
626
- }, {
627
- claimed: /* @__PURE__ */ new Set(),
628
- options: /* @__PURE__ */ new Map()
629
- }).options;
630
- }
631
- /** Section facts are read only by style rules; a style without rules needs none resolved. */
632
- function siteStyleHasJoinRules(siteStyleId) {
633
- return (getCuratedSiteStyle(siteStyleId)?.looks.joinRules?.length ?? 0) > 0;
634
- }
635
- /** The page-wide owner of style rules, automatic defaults and owner pins. */
636
- function resolvePageJoins(input) {
637
- const looks = getCuratedSiteStyle(input.siteStyleId)?.looks;
638
- const options = pageRuleOptions(looks?.joinRules ?? [], input.blocks);
639
- return input.blocks.flatMap((previous, index) => {
640
- const next = input.blocks[index + 1];
641
- if (!next) return [];
642
- const option = options.get(index) ?? (looks?.kind === "offers" ? looks.defaultJoin : void 0);
643
- const defaults = [...option ? [{
644
- source: {
645
- kind: "site-style-default",
646
- siteStyleId: input.siteStyleId
647
- },
648
- treatment: requireDefaultBoundaryTreatment(option)
649
- }] : [], pageFlowDefaultJoinCandidate(input.pageFlowPresetId)];
650
- const ids = {
651
- previousBlockId: previous.blockId,
652
- nextBlockId: next.blockId
653
- };
654
- const pin = input.choiceForBoundary(previous.blockId, next.blockId);
655
- const automatic = resolveJoinTreatment({
656
- ...ids,
657
- candidates: defaults
658
- });
659
- const resolution = pin.kind === "user-pinned" ? resolveJoinTreatment({
660
- ...ids,
661
- candidates: [{
662
- source: { kind: "user-pinned" },
663
- treatment: pin.value
664
- }, ...defaults]
665
- }) : automatic;
666
- return [{
667
- ...ids,
668
- automatic,
669
- resolution,
670
- pin
671
- }];
672
- });
673
- }
674
- /** The last-resort page-design default, also the source of a fully unsupported join. */
675
- function pageFlowDefaultJoinCandidate(pageFlowPresetId) {
676
- const pageFlow = pageFlowDefaultBoundary(pageFlowPresetId);
677
- return {
678
- source: {
679
- kind: "page-flow-default",
680
- pageFlowPresetId: pageFlow.preset?.id ?? null
681
- },
682
- treatment: requireDefaultBoundaryTreatment(pageFlow.boundaryOptionId)
683
- };
684
- }
685
- /** Current site-style and page-flow catalogues must reference an available boundary. */
686
- function requireDefaultBoundaryTreatment(optionId) {
687
- const treatment = boundaryTreatmentForBoundaryOptionId(optionId);
688
- if (!treatment) throw new Error(`Unknown default boundary option: ${optionId}`);
689
- return treatment;
690
- }
691
- //#endregion
692
477
  //#region ../theme-core/src/site-styles/previewCompiler.ts
693
478
  const previewCustomizePurpose = "preview-customize";
694
479
  /**
@@ -739,18 +524,23 @@ function compileEditorModelRuntime(input) {
739
524
  }
740
525
  /** The editor boundary's effective break as an intent-only join; none for no break. */
741
526
  function runtimeJoinForEditorBoundary(boundary) {
742
- const treatment = boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue)?.transitionAfter;
527
+ const treatment = boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue)?.intent;
743
528
  return treatment && isDecorativeTransitionIntent(treatment) ? [{
744
529
  previousBlockId: boundary.previousBlockId,
745
530
  nextBlockId: boundary.nextBlockId,
746
- treatment
531
+ treatment,
532
+ ...boundary.effectiveEdge ? { edge: boundary.effectiveEdge } : {}
747
533
  }] : [];
748
534
  }
749
535
  function applyCompiledRuntimeFieldsToContent(content, fields) {
750
536
  const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, preserveArrangementSectionSpacing(content, fields)) : fields;
751
537
  return {
752
538
  ...stripCompiledRuntimeStyleFields(content),
753
- ...runtimeFields
539
+ ...runtimeFields,
540
+ ...runtimeFields?._sectionStyles ? { _sectionStyles: {
541
+ ...sectionOwnerStyleChoices(content),
542
+ ...runtimeFields._sectionStyles
543
+ } } : {}
754
544
  };
755
545
  }
756
546
  /**
@@ -834,7 +624,7 @@ function resolveEditorArrangementLook(selection, mode, pin) {
834
624
  //#region ../theme-core/src/site-styles/pageJoinFacts.ts
835
625
  /** Compile fields, then project the render planner's decisions in authored order. No paint decisions live here. */
836
626
  function withPageJoinFacts(model, resolution) {
837
- if (resolution === null || !siteStyleHasJoinRules(model.siteStyleId)) return model.blocks;
627
+ if (resolution === null) return model.blocks;
838
628
  const compiled = compileEditorModelRuntime({
839
629
  editorModel: model,
840
630
  ...resolution
@@ -959,6 +749,43 @@ function editorEffectiveLayout(input) {
959
749
  });
960
750
  }
961
751
  //#endregion
752
+ //#region ../theme-core/src/site-styles/sectionBreakOffer.ts
753
+ const noneFamilyOffer = {
754
+ family: "none",
755
+ label: "None",
756
+ variants: [],
757
+ layers: [1],
758
+ colourPresets: ["fade"]
759
+ };
760
+ /** The families offered, in catalogue order, from the style's admitted breaks and its edge support. */
761
+ function sectionBreakOffer(availableBreaks, edges) {
762
+ const offered = new Set(availableBreaks.map((option) => option.id));
763
+ return sectionTransitionFamilies.flatMap((family) => {
764
+ const variants = family.variants.filter((variant) => offered.has(variant.boundaryOption.id));
765
+ if (variants.length === 0) return [];
766
+ if (family.id === "none") return [noneFamilyOffer];
767
+ const support = edges.supported.find((entry) => entry.family === family.id);
768
+ if (!support) return [];
769
+ return [{
770
+ family: family.id,
771
+ label: family.label,
772
+ variants: variants.map((variant) => ({
773
+ variant: variant.boundaryOption.treatment.variant ?? variant.variantId,
774
+ label: variant.label
775
+ })),
776
+ layers: layerRange(support.minLayers ?? 1, support.maxLayers),
777
+ colourPresets: requireNonEmptyReadonlyArray(support.colourPresets, `Edge support for ${family.id} offers no colours.`)
778
+ }];
779
+ });
780
+ }
781
+ function layerRange(minimum, maximum) {
782
+ return requireNonEmptyReadonlyArray([
783
+ 1,
784
+ 2,
785
+ 3
786
+ ].filter((layers) => layers >= minimum && layers <= maximum), `Edge support allows no layers between ${minimum} and ${maximum}.`);
787
+ }
788
+ //#endregion
962
789
  //#region ../theme-core/src/site-styles/pageDesignEditorBoundaries.ts
963
790
  function buildBoundaryReadModels(input) {
964
791
  return boundaryReadModels({
@@ -974,6 +801,7 @@ function boundaryPinIssues(input) {
974
801
  if (!next) return [];
975
802
  const choice = resolvePageDesignBoundaryChoice(input.intent, previous.blockId, next.blockId);
976
803
  return choice.kind === "user-pinned" ? resolveJoinTreatment({
804
+ siteStyleId: input.siteStyleId,
977
805
  previousBlockId: previous.blockId,
978
806
  nextBlockId: next.blockId,
979
807
  candidates: [{
@@ -984,33 +812,31 @@ function boundaryPinIssues(input) {
984
812
  });
985
813
  }
986
814
  function boundaryReadModels(input) {
987
- const ruled = siteStyleHasJoinRules(input.siteStyleId);
815
+ const availableBreaks = boundaryOptionsForStyle(input.siteStyleId);
816
+ const breakOffer = sectionBreakOffer(availableBreaks, siteStyleEdges(input.siteStyleId));
988
817
  return resolvePageJoins({
989
818
  ...input,
990
819
  blocks: input.blocks.map((block) => ({
991
820
  blockId: block.blockId,
992
- ...ruled ? requireJoinFacts(block) : unreadJoinFacts
821
+ ...requireJoinFacts(block)
993
822
  }))
994
823
  }).map((decision) => {
995
- const projection = decision.pin.kind === "user-pinned" ? pinnedBreakChoice(decision.resolution) : autoBreakChoice(decision.automatic, input.pageFlowPresetId);
824
+ const projection = decision.pin.kind === "user-pinned" ? pinnedBreakChoice(decision.resolution, decision.pin.value) : autoBreakChoice(decision.automatic, input.pageFlowPresetId);
996
825
  return {
997
826
  boundary: {
998
827
  boundaryId: makeBoundaryId(decision.previousBlockId, decision.nextBlockId),
999
828
  previousBlockId: decision.previousBlockId,
1000
829
  nextBlockId: decision.nextBlockId,
1001
830
  breakChoice: projection.breakChoice,
1002
- availableBreaks: boundaryOptions
831
+ ...decision.pin.kind === "user-pinned" ? { authoredEdge: decision.pin.value } : {},
832
+ ...decision.resolution.join ? { effectiveEdge: decision.resolution.join.edge } : {},
833
+ availableBreaks,
834
+ breakOffer
1003
835
  },
1004
836
  issues: projection.issues
1005
837
  };
1006
838
  });
1007
839
  }
1008
- /** No rule reads these, so a style without rules skips the render plan that would supply them. */
1009
- const unreadJoinFacts = {
1010
- lookId: null,
1011
- ground: "light",
1012
- paint: "other"
1013
- };
1014
840
  function requireJoinFacts(block) {
1015
841
  if (!block.joinFacts) throw new Error(`Boundary facts were not resolved for ${block.blockId}`);
1016
842
  return block.joinFacts;
@@ -1025,7 +851,7 @@ function autoBreakChoice(resolution, pageFlowPresetId) {
1025
851
  issues: resolution.issues
1026
852
  };
1027
853
  }
1028
- function pinnedBreakChoice(resolution) {
854
+ function pinnedBreakChoice(resolution, pinned) {
1029
855
  const effectiveValue = effectiveBreak(resolution);
1030
856
  switch (resolution.pin.kind) {
1031
857
  case "unsupported": return {
@@ -1041,7 +867,7 @@ function pinnedBreakChoice(resolution) {
1041
867
  case "none": return {
1042
868
  breakChoice: {
1043
869
  kind: "user-pinned",
1044
- value: effectiveValue ?? noneBoundaryOption.id,
870
+ value: boundaryOptionIdForTreatment(pinned) ?? noneBoundaryOption.id,
1045
871
  status: "supported",
1046
872
  effectiveValue
1047
873
  },
@@ -1115,6 +941,7 @@ function buildPageDesignEditorReadModel(input) {
1115
941
  pageFlowIssue,
1116
942
  ...blockResults.flatMap((result) => result.issues),
1117
943
  ...input.joinResolution === null ? boundaryPinIssues({
944
+ siteStyleId: input.siteStyleId,
1118
945
  intent: input.intent,
1119
946
  blocks
1120
947
  }) : boundaryResults.flatMap((result) => result.issues)
@@ -1549,6 +1376,7 @@ function blockDesignInputsForDefinition(blockKind, definition, content) {
1549
1376
  const resolveRuntimeJoinFacts = (blocks, palette, siteStyleId) => {
1550
1377
  const plan = buildPageRenderPlan({
1551
1378
  page: { blocks: blocks.map(joinPresentationBlock) },
1379
+ palette,
1552
1380
  siteStyleId,
1553
1381
  audience: "public",
1554
1382
  runtimeJoins: void 0,
@@ -1565,20 +1393,13 @@ const resolveRuntimeJoinFacts = (blocks, palette, siteStyleId) => {
1565
1393
  ground: "light",
1566
1394
  paint: "other"
1567
1395
  }];
1568
- const section = entry.sectionDecision ?? resolveRuntimeSection({
1569
- content: entry.renderableContent,
1570
- palette,
1571
- runtime: null,
1572
- look: null,
1573
- blockKind: block.blockKind,
1574
- arrangementKey: void 0,
1575
- position: 0,
1576
- placement: "page-wide"
1577
- });
1396
+ const section = entry.sectionDecision;
1397
+ if (!section) throw new Error("Render planner did not decide the section");
1578
1398
  return [block.blockId, {
1579
1399
  lookId: entry.sectionDecision?.lookId ?? block.lookId,
1580
1400
  ground: section.ground,
1581
- paint: section.paint
1401
+ groundName: section.groundName ?? section.surfaceToken,
1402
+ paint: section.paintKind
1582
1403
  }];
1583
1404
  }));
1584
1405
  };