@riverbankcms/sdk 0.170.0 → 0.171.1

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 (221) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-D-6cWDDC.d.ts} +1 -1
  3. package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4jkUDm4D.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-DEvzvovi.d.ts} +4 -3
  5. package/dist/_dts/{client-x82SZgwK.d.ts → client-CXPH5esD.d.ts} +32 -1
  6. package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-DsCr4-ny.d.ts} +3 -3
  7. package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-BlmXM7xP.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-BA0DnxWU.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-B7IRJCFG.d.ts} +2 -2
  10. package/dist/_dts/{index-B7Mq5M6P.d.ts → index-B3gfKNI-.d.ts} +4 -4
  11. package/dist/_dts/{index-C3rMEJ5a.d.ts → index-BQPJbOkU.d.ts} +2 -2
  12. package/dist/_dts/{index-CstY6ZMa.d.ts → index-BZ8-c4iQ.d.ts} +3 -3
  13. package/dist/_dts/{index-B82pqQAC.d.ts → index-C9_OTCFQ.d.ts} +2 -2
  14. package/dist/_dts/{index-BisbMZTW.d.ts → index-DScYSl03.d.ts} +72 -36
  15. package/dist/_dts/{index-CCugONHM.d.ts → index-DlABXDte.d.ts} +1 -1
  16. package/dist/_dts/{index-DXc_ewhR.d.ts → index-Sua-7CF1.d.ts} +1 -1
  17. package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-Dx4fW3Pa.d.ts} +7 -7
  18. package/dist/_dts/{request-CJ_ClHLv.d.ts → request-DUTkELQn.d.ts} +66062 -63545
  19. package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-Cze35i_N.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-zf6-E-C3.d.ts} +2 -2
  21. package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +4 -4
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  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 +3 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  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 +4740 -3
  55. package/dist/_dts/{types-990t4t99.d.ts → types-BCzfYDW2.d.ts} +7 -7
  56. package/dist/_dts/{types-CbjK5ZLy.d.ts → types-CPHk5Voq.d.ts} +2 -2
  57. package/dist/_dts/{types-CpuxuS40.d.ts → types-JD-36x3P.d.ts} +3 -3
  58. package/dist/_dts/{validation-BN95LiS0.d.ts → validation-0MyQlzWJ.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-vTHQyBQF.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-Blge9FJo.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-wm6eeuin.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-DRH9qFny.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-DPGZArG9.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-FGg6yCLH.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-218_Gqgp.mjs} +8 -8
  68. package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
  69. package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-DKdZSW_R.mjs} +10 -7
  70. package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DZJ5qBhg.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-CCdsrqHc.mjs} +3 -3
  72. package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BVoHnVZA.mjs} +42 -396
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-BVxHCnxs.mjs} +13 -13
  74. package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
  75. package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
  76. package/dist/client/{Page-PW4Ojv9r.mjs → Page-CT4HaEMr.mjs} +2706 -2441
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-DRJy4eU3.mjs +894 -0
  79. package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
  80. package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
  81. package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-BnyVRqdU.mjs} +73 -26
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-BOApxi9U.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DDf8Lmo5.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-DWrgG-Xx.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-7MVCNWgc.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DeI76SEP.mjs} +2 -2
  88. package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
  89. package/dist/client/{cart-wlRXnOjO.mjs → cart-D_uxULCO.mjs} +3 -3
  90. package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-BxSMse88.mjs} +1 -1
  91. package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-DIbh4g5e.mjs} +3 -3
  92. package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-x4Lkw8-E.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-DqN3L-kl.mjs} +1 -1
  94. package/dist/client/client.mjs +656 -220
  95. package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
  96. package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
  97. package/dist/client/{cta-CfuyGqXL.mjs → cta-CP9l112u.mjs} +2 -2
  98. package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
  100. package/dist/client/{display-DDNmyb0z.mjs → display-ChgDe9Da.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-BEjg_h_6.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-COmbQ3mc.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BvQG3qEY.mjs} +48 -34
  104. package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-DiitbUpV.mjs} +4 -4
  105. package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-Da9Z8KDq.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Cf-kg7d6.mjs} +2 -2
  107. package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-xwXgVp7a.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-hlFYlgTA.mjs} +4 -4
  109. package/dist/client/{form-Cfl8d6qc.mjs → form-ERv_X_oZ.mjs} +3 -3
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-Cz24FYNj.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DeaH4kIe.mjs} +3 -3
  112. package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJvt0ZP4.mjs} +2 -2
  115. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-WuGDEzdD.mjs} +6 -6
  116. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DhnW6tdB.mjs} +2 -2
  117. package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-DxG7NV8U.mjs} +3 -3
  118. package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
  119. package/dist/client/portal/client.mjs +294 -48
  120. package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DsSfbmdV.mjs} +1 -1
  121. package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-Byzow88i.mjs} +1 -1
  122. package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-iXkmQpxG.mjs} +3 -3
  123. package/dist/client/{productList-BNZAsfaP.mjs → productList-HoFGQXFl.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-CH2-LJME.mjs} +8 -4
  125. package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-ed20Q7bV.mjs} +1021 -931
  126. package/dist/client/rendering/client.mjs +57 -32
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +1956 -191
  129. package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-CBUO-xuz.mjs} +1 -1
  131. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-3brbt2Jq.mjs} +1 -1
  132. package/dist/client/runtimeResponse-CTarP5K6.mjs +3 -0
  133. package/dist/client/{shop-PgmiVKSV.mjs → shop-DXyeSNgi.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce--klkHNzu.mjs} +13 -13
  135. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-BdpIWdc4.mjs} +1 -1
  136. package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-Sv7QVDmj.mjs} +13 -13
  137. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-C0IjiWOs.mjs} +89 -19
  138. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-Jt4TzcAG.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-BxbnEJCi.mjs} +11 -11
  141. package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
  142. package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
  143. package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-dToQs9oY.mjs} +2 -2
  144. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-C_aa_H69.mjs} +1 -1
  145. package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination--MFZBoJt.mjs} +7 -7
  146. package/dist/client/{view-CgComegl.mjs → view-C_brMDU2.mjs} +3 -3
  147. package/dist/client/{view-oToSpu1N.mjs → view-DhEwiTJG.mjs} +121 -28
  148. package/dist/preview-next/before-render.mjs +33 -13
  149. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
  150. package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-OwAxA2C0.mjs} +1 -1
  151. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-CaUOTCSh.mjs} +2 -2
  152. package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-Dfi8Y3AI.mjs} +660 -359
  153. package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-DJlX4sXP.mjs} +3597 -3217
  154. package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-FVAibBlC.mjs} +126 -138
  155. package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-9eAon7Z8.mjs} +21 -11
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-Byf-KW1x.mjs} +95 -404
  157. package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-eU-zMftO.mjs} +2507 -364
  158. package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
  159. package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-X0DjcFij.mjs} +1 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-3FZrzbK8.mjs} +6961 -6657
  161. package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-C4gyNQXE.mjs} +1 -1
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-DtyRbz4E.mjs} +2 -2
  164. package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-OIMkhbkP.mjs} +2 -2
  165. package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BNG9P9sM.mjs} +134 -6
  166. package/dist/preview-next/container-responsive.css +43 -0
  167. package/dist/preview-next/editor-base.css +14 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-BLY4ycq6.mjs} +563 -190
  171. package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-BC3jPIP4.mjs} +4 -4
  172. package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-B7Ey6AWT.mjs} +4 -4
  173. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BxsHs-jf.mjs} +52 -2
  174. package/dist/server/bindings-xQ9v3zrn.mjs +1802 -0
  175. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  176. package/dist/server/{client-Djjv-NuA.mjs → client-DCwLR0kQ.mjs} +654 -218
  177. package/dist/server/config-template-validation.mjs +30 -4
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -34
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/index.mjs +3 -3
  182. package/dist/server/loadContent-C4I3ltU_.mjs +2310 -0
  183. package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-COvxWN0r.mjs} +2 -2
  184. package/dist/server/manifest.mjs +1 -1
  185. package/dist/server/next.mjs +8 -6
  186. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-QiUjZmEV.mjs} +2 -2
  187. package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-BqQg6Iws.mjs} +3 -2
  188. package/dist/server/page-converter.mjs +3 -3
  189. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  190. package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-CVCGTj5S.mjs} +306 -287
  191. package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-C7Be9suN.mjs} +48 -35
  192. package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-H_bSBPLd.mjs} +848 -315
  193. package/dist/server/parseThemeForPersistence-Bk0o95m6.mjs +52 -0
  194. package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-HQNOeCs9.mjs} +1 -1
  195. package/dist/server/prebuild.mjs +1 -1
  196. package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-CbRsnhta.mjs} +4 -3
  197. package/dist/server/{registry-Djrj9gWy.mjs → registry-CaeRTf4E.mjs} +4014 -2007
  198. package/dist/server/rendering/components/pageShared.mjs +1 -1
  199. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  200. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  201. package/dist/server/rendering/server.mjs +3 -3
  202. package/dist/server/rendering.mjs +7 -7
  203. package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CUMjWbXQ.mjs} +4 -3
  204. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-euZnRMIu.mjs} +23 -24
  205. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  206. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  207. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-CxBsE9Dv.mjs} +463 -53
  208. package/dist/server/server.mjs +3 -3
  209. package/dist/server/theme-bridge.mjs +2 -2
  210. package/dist/server/theme.mjs +2 -1
  211. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  212. package/dist/server/{validation-Dh8htd6l.mjs → validation-CvmhnkDr.mjs} +9 -9
  213. package/dist/server/{version-LMwnoksN.mjs → version-Clp2evCf.mjs} +1 -1
  214. package/dist/styles/index.css +408 -10
  215. package/package.json +1 -1
  216. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  217. package/dist/client/runtimeResponse-D2LT--Gj.mjs +0 -3
  218. package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
  219. package/dist/server/bindings-C1-MNwwS.mjs +0 -257
  220. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  221. package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
@@ -1,2 +1,2 @@
1
- import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-CE9EBNSH.mjs";
1
+ import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-H_bSBPLd.mjs";
2
2
  export { PageContent, toPageHydrationBootstrapConfig };
@@ -1,2 +1,2 @@
1
- import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-QXSdPSYY.mjs";
1
+ import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-COvxWN0r.mjs";
2
2
  export { loadPage, loadPageWithDeps };
@@ -1,2 +1,2 @@
1
- import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-B2laBtff.mjs";
1
+ import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-C7Be9suN.mjs";
2
2
  export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteLocationRenderContext };
@@ -1,8 +1,8 @@
1
- import { d as MissingBlockOverrideError } from "../pageShared-CE9EBNSH.mjs";
1
+ import { d as MissingBlockOverrideError } from "../pageShared-H_bSBPLd.mjs";
2
2
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
3
3
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
4
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-Dx4j9CJT.mjs";
5
- import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-CMNx5tQg.mjs";
4
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-BC3jPIP4.mjs";
5
+ import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-BqQg6Iws.mjs";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/components/Block.server.tsx
8
8
  /**
@@ -1,13 +1,13 @@
1
- import { f as resolveAuthoredLinkHref } from "./pageRenderPlan-Bv6NbFeM.mjs";
2
- import { $ as RichText$2, Oi as parseFieldDefinition, at as resolveImageUrlWithContext$1, ci as sanitizeHref, it as resolveImageUrl$1, nt as computeMediaTransformStyle, rt as resolveImageSourceSetWithContext$1, st as buildResolveImageUrlContext } from "./registry-Djrj9gWy.mjs";
1
+ import { v as resolveAuthoredLinkHref } from "./pageRenderPlan-CVCGTj5S.mjs";
2
+ import { Li as parseFieldDefinition, _i as sanitizeHref, at as resolveImageUrl$1, ct as buildResolveImageUrlContext, et as RichText$2, it as resolveImageSourceSetWithContext$1, ot as resolveImageUrlWithContext$1, rt as computeMediaTransformStyle } from "./registry-CaeRTf4E.mjs";
3
3
  import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
4
- import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-CE9EBNSH.mjs";
5
- import { _ as deriveFieldValidationPlan, g as admitLayoutGridForPlan, v as projectRepeaterGridLayout$1, y as projectRepeaterGridLayoutForRendering$1 } from "./pageRuntimeSupport-B2laBtff.mjs";
4
+ import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-H_bSBPLd.mjs";
5
+ import { _ as admitLayoutGridForPlan, b as projectRepeaterGridLayout$1, v as deriveFieldValidationPlan, x as projectRepeaterGridLayoutForRendering$1 } from "./pageRuntimeSupport-C7Be9suN.mjs";
6
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-C4I3ltU_.mjs";
6
7
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
7
- import { t as loadPage } from "./loadPage-QXSdPSYY.mjs";
8
+ import { t as loadPage } from "./loadPage-COvxWN0r.mjs";
8
9
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
9
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-Dx4j9CJT.mjs";
10
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-DhraQ_Fi.mjs";
10
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-BC3jPIP4.mjs";
11
11
  import "react";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1,5 +1,6 @@
1
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-yL2hB2l_.mjs";
2
- import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
1
+ import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
2
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-CbRsnhta.mjs";
3
+ import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-DkzOr19P.mjs";
3
4
  import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-B3fXA54R.mjs";
4
5
  //#region src/data/dataLoaderValue.ts
5
6
  const MAX_DATA_LOADER_VALUE_NODES = 1e4;
@@ -266,7 +267,7 @@ function toFailureBase(context, loaderKey) {
266
267
  */
267
268
  async function executeCodeLoaders(page, context, overrides) {
268
269
  const tasks = [];
269
- for (const block of page.blocks) {
270
+ for (const block of allOutlineBlocks(page)) {
270
271
  const blockId = block.id;
271
272
  if (!blockId || !isBlockKind(block.kind)) continue;
272
273
  const blockLoaders = overrides[block.kind];
@@ -786,8 +786,12 @@ function generateShades(hexColor, name) {
786
786
  }
787
787
  //#endregion
788
788
  //#region ../theme-core/src/palette/neutralScale.ts
789
- function generateNeutralScale({ background, steps = 11, warm = false }) {
790
- const isDark = background === "#000000" || background.startsWith("#0") || background.startsWith("#1");
789
+ /**
790
+ * A neutral scale from near-white (`neutral-50`) to near-black (`neutral-950`)
791
+ * on every palette, light or dark. Readers that want "the ground" or "the
792
+ * text" ask the palette for those roles, not a fixed end of this scale.
793
+ */
794
+ function generateNeutralScale({ steps = 11, warm = false } = {}) {
791
795
  const shadeNames = [
792
796
  50,
793
797
  100,
@@ -802,18 +806,10 @@ function generateNeutralScale({ background, steps = 11, warm = false }) {
802
806
  950
803
807
  ];
804
808
  const count = Math.min(steps, shadeNames.length);
805
- const scale = [];
806
- for (let i = 0; i < count; i++) {
807
- const shadeName = shadeNames[i] ?? shadeNames[shadeNames.length - 1] ?? 950;
808
- const t = i / (count - 1);
809
- const hex = oklchToHexGamut(isDark ? mix(.06, .92, t) : mix(.98, .1, t), .02, warm ? 85 : 250);
810
- const name = `neutral-${shadeName}`;
811
- scale.push({
812
- name,
813
- hex
814
- });
815
- }
816
- return scale;
809
+ return shadeNames.slice(0, count).map((shadeName, index) => ({
810
+ name: `neutral-${shadeName}`,
811
+ hex: oklchToHexGamut(mix(.98, .1, index / (count - 1)), .02, warm ? 85 : 250)
812
+ }));
817
813
  }
818
814
  function mix(a, b, t) {
819
815
  return a + (b - a) * Math.max(0, Math.min(1, t));
@@ -886,13 +882,6 @@ function colorsToMap(palette) {
886
882
  for (const c of palette.colors) map[c.name] = c.hex;
887
883
  return map;
888
884
  }
889
- function isBackgroundDark(hex) {
890
- try {
891
- return featuresFromHex(hex).Y < .5;
892
- } catch {
893
- return false;
894
- }
895
- }
896
885
  const nonShadeablePaletteRoleNames = /* @__PURE__ */ new Set([
897
886
  "success",
898
887
  "warning",
@@ -927,7 +916,6 @@ function expandBasePalette(palette) {
927
916
  const base = colorsToMap(palette);
928
917
  const expanded = { ...base };
929
918
  generateNeutralScale({
930
- background: base.background || base.surface || "#ffffff",
931
919
  steps: 11,
932
920
  warm: false
933
921
  }).forEach((n) => {
@@ -942,8 +930,7 @@ function expandBasePalette(palette) {
942
930
  if (base.text) expanded.body = base.text;
943
931
  if (base.danger && !base.destructive) expanded.destructive = base.danger;
944
932
  Object.assign(expanded, statusAliasTokens(expanded));
945
- const isDark = base.background ? isBackgroundDark(base.background) : false;
946
- expanded.mutedText = palette.meta?.mode === "dark" || isDark ? expanded["neutral-600"] ?? "#666" : expanded["neutral-500"] ?? "#888";
933
+ expanded.mutedText = readableMutedText(expanded["neutral-500"] ?? "#888", base);
947
934
  for (const [token, hex] of Object.entries({ ...expanded })) {
948
935
  if (!hex || !isOnColorBackgroundCandidateToken(token)) continue;
949
936
  const onToken = onColorTokenName(token);
@@ -952,6 +939,16 @@ function expandBasePalette(palette) {
952
939
  }
953
940
  return expanded;
954
941
  }
942
+ /**
943
+ * The neutral step stays when it reads on the ground. Otherwise (a dark palette
944
+ * on a mid-tone ground, or a tinted light one) it's the ground-to-text blend
945
+ * with a 4.5:1 floor, heading for black or white when the text can't reach it.
946
+ */
947
+ function readableMutedText(step, base) {
948
+ const ground = base.background || base.surface;
949
+ if (!ground || contrastRatio(step, ground) >= 4.5) return step;
950
+ return deriveSurfaceMutedColor(ground, base.text && contrastRatio(base.text, ground) >= 4.5 ? base.text : getTextColorForBackground(ground));
951
+ }
955
952
  /** Derived decoration colours never become editable palette swatches. */
956
953
  function deriveSurfaceDecorationColors(ground, text, accent) {
957
954
  const ink = getTextColorForBackground(ground);
@@ -1114,6 +1111,7 @@ const SYSTEM_BLOCK_KINDS = [
1114
1111
  "block.body-text",
1115
1112
  "block.location-map",
1116
1113
  "block.faq",
1114
+ "block.list",
1117
1115
  "block.testimonials",
1118
1116
  "block.team-members",
1119
1117
  "block.embed",
@@ -1125,6 +1123,7 @@ const SYSTEM_BLOCK_KINDS = [
1125
1123
  "block.contact-newsletter",
1126
1124
  "block.appointment-booking",
1127
1125
  "block.appointment-services",
1126
+ "block.service-details",
1128
1127
  "block.weekly-slot-availability",
1129
1128
  "block.event-registration",
1130
1129
  ...[
@@ -0,0 +1,33 @@
1
+ //#region ../core/src/rich-text.ts
2
+ function isRecord(value) {
3
+ return typeof value === "object" && value !== null && !Array.isArray(value);
4
+ }
5
+ function hasOnlyKeys(value, allowed) {
6
+ return Object.keys(value).every((key) => allowed.has(key));
7
+ }
8
+ const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
9
+ const nodeKeys = /* @__PURE__ */ new Set([
10
+ "type",
11
+ "content",
12
+ "text",
13
+ "attrs",
14
+ "marks"
15
+ ]);
16
+ const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
17
+ function isDenseArrayOf(value, predicate) {
18
+ for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
19
+ return true;
20
+ }
21
+ function isTipTapMark(value) {
22
+ return isRecord(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord(value.attrs));
23
+ }
24
+ function isTipTapNode(value) {
25
+ if (!isRecord(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
26
+ if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
27
+ return value.text === void 0;
28
+ }
29
+ function isCanonicalRichTextDoc(value) {
30
+ return isRecord(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
31
+ }
32
+ //#endregion
33
+ export { isCanonicalRichTextDoc as t };
@@ -80,7 +80,7 @@ const RichTextDocSchema = z.object({
80
80
  * guard aligned with this detailed Zod validator.
81
81
  */
82
82
  function isRichTextDoc(value) {
83
- return RichTextDocSchema.safeParse(value).success;
83
+ return z.safeParse(RichTextDocSchema, value).success;
84
84
  }
85
85
  /**
86
86
  * Build a canonical {@link RichTextDoc} from plain-text paragraphs.
@@ -107,6 +107,35 @@ function createRichTextDoc(paragraphs) {
107
107
  } : { type: "paragraph" })
108
108
  };
109
109
  }
110
+ /**
111
+ * Build Zod validation schema for rich text fields
112
+ *
113
+ * @param options - Optional configuration
114
+ * @param options.required - If true, validates that content is not empty
115
+ * @param options.label - Field label for error messages (defaults to 'This field')
116
+ * @returns Zod schema for rich text validation
117
+ *
118
+ * @example
119
+ * // Basic usage
120
+ * const schema = buildRichTextSchema()
121
+ *
122
+ * @example
123
+ * // Required field with custom label
124
+ * const schema = buildRichTextSchema({ required: true, label: 'Description' })
125
+ */
126
+ function buildRichTextSchema(options) {
127
+ if (options?.required === true) {
128
+ const label = options.label ?? "This field";
129
+ return RichTextDocSchema.refine((val) => {
130
+ const content = val.content;
131
+ if (!Array.isArray(content) || content.length === 0) return false;
132
+ const first = content[0];
133
+ if (content.length === 1 && isRecord(first) && first.type === "paragraph" && (!("content" in first) || first.content == null)) return false;
134
+ return true;
135
+ }, { message: `${label} is required` });
136
+ }
137
+ return RichTextDocSchema;
138
+ }
110
139
  //#endregion
111
140
  //#region ../blocks/src/system/manifest/richTextSchema.ts
112
141
  function createHardBreakNode() {
@@ -180,4 +209,4 @@ function createRichTextDocFromMarkdown(markdown) {
180
209
  };
181
210
  }
182
211
  //#endregion
183
- export { isRecord as a, isRichTextDoc as i, RichTextDocSchema as n, createRichTextDoc as r, createRichTextDocFromMarkdown as t };
212
+ export { isRichTextDoc as a, createRichTextDoc as i, RichTextDocSchema as n, isRecord as o, buildRichTextSchema as r, createRichTextDocFromMarkdown as t };