@riverbankcms/sdk 0.170.0 → 0.171.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 (219) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
  3. package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4fzXy8H9.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
  5. package/dist/_dts/{client-x82SZgwK.d.ts → client-BPoU758C.d.ts} +32 -1
  6. package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-TnkhoSls.d.ts} +3 -3
  7. package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-7wrMA79U.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
  10. package/dist/_dts/{index-BisbMZTW.d.ts → index-585vn6qb.d.ts} +72 -36
  11. package/dist/_dts/{index-B7Mq5M6P.d.ts → index-CZKSUcDs.d.ts} +4 -4
  12. package/dist/_dts/{index-B82pqQAC.d.ts → index-Cbw0IiY7.d.ts} +2 -2
  13. package/dist/_dts/{index-DXc_ewhR.d.ts → index-ChNbrcgD.d.ts} +1 -1
  14. package/dist/_dts/{index-C3rMEJ5a.d.ts → index-DDKJfaLY.d.ts} +2 -2
  15. package/dist/_dts/{index-CCugONHM.d.ts → index-DNCDENic.d.ts} +1 -1
  16. package/dist/_dts/{index-CstY6ZMa.d.ts → index-W9R3Bnf2.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
  18. package/dist/_dts/{request-CJ_ClHLv.d.ts → request-jXTRN1Y4.d.ts} +3554 -1370
  19. package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-BBgih00D.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-CbjK5ZLy.d.ts → types-BXuVxDYo.d.ts} +2 -2
  56. package/dist/_dts/{types-CpuxuS40.d.ts → types-DEAKoDNi.d.ts} +3 -3
  57. package/dist/_dts/{types-990t4t99.d.ts → types-kWvBwYK6.d.ts} +7 -7
  58. package/dist/_dts/{validation-BN95LiS0.d.ts → validation-BAO0_ntM.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-DXD5i0Ar.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-BnwcoFQN.mjs} +10 -7
  70. package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DuG6z02f.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
  72. package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BM7rTVSL.mjs} +42 -396
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.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-DH2sm4Cf.mjs} +2696 -2426
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-CsRlU46Y.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-Bbn1-jJ8.mjs} +52 -2
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.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-BozMM5NK.mjs} +3 -3
  90. package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-CqOOxPbW.mjs} +1 -1
  91. package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-CTWF5nbB.mjs} +3 -3
  92. package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
  94. package/dist/client/client.mjs +640 -218
  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-pzQkBLgS.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-Cl6mgSJa.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
  104. package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
  105. package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-dELKxxIe.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
  107. package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-B2HTUWLq.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
  109. package/dist/client/{form-Cfl8d6qc.mjs → form-DX70QG-J.mjs} +3 -3
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.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-CJuPX_1K.mjs} +2 -2
  115. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
  116. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
  117. package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-D1MHoPbh.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-DOQ7El1d.mjs} +1 -1
  121. package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
  122. package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-BN3zv5sa.mjs} +3 -3
  123. package/dist/client/{productList-BNZAsfaP.mjs → productList-GN_Id4bF.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
  125. package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-BOyra8CA.mjs} +1015 -926
  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-DnaJ8PQc.mjs} +1 -1
  131. package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
  132. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
  133. package/dist/client/{shop-PgmiVKSV.mjs → shop-LjBLDBqF.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
  135. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
  136. package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
  137. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
  138. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-D1jDTbms.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-CHGYDxdM.mjs} +2 -2
  144. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
  145. package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
  146. package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
  147. package/dist/client/{view-CgComegl.mjs → view-ShYH3WXh.mjs} +3 -3
  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-lW2aLGWd.mjs} +1 -1
  151. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
  152. package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-DsSqwrMS.mjs} +392 -11
  153. package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3264 -3199
  154. package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-C86Out4V.mjs} +5 -6
  155. package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-CBWYjBvQ.mjs} +20 -10
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
  157. package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1155 -330
  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-DygTyy7K.mjs} +1 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3558 -2230
  161. package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-DPeV7KaP.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-zTTFZ4MM.mjs} +2 -2
  164. package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
  165. package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +28 -3
  166. package/dist/preview-next/container-responsive.css +43 -0
  167. package/dist/preview-next/keepAlive.mjs +1 -1
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-CtSgU8UZ.mjs} +547 -188
  170. package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-ifgaBglp.mjs} +4 -4
  171. package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-DGDOH6OU.mjs} +3 -3
  172. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
  173. package/dist/server/bindings-CiYpie1M.mjs +1802 -0
  174. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  175. package/dist/server/{client-Djjv-NuA.mjs → client-ngWuFsmN.mjs} +638 -216
  176. package/dist/server/config-template-validation.mjs +30 -4
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +3 -34
  179. package/dist/server/data/resolveBlockData.mjs +1 -1
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
  182. package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-D4J747FQ.mjs} +2 -2
  183. package/dist/server/manifest.mjs +1 -1
  184. package/dist/server/next.mjs +8 -6
  185. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
  186. package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
  187. package/dist/server/page-converter.mjs +3 -3
  188. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  189. package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-DFv3h4Ib.mjs} +306 -287
  190. package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
  191. package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-CAZD0LcY.mjs} +848 -315
  192. package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
  193. package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-BKOCND3b.mjs} +1 -1
  194. package/dist/server/prebuild.mjs +1 -1
  195. package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
  196. package/dist/server/{registry-Djrj9gWy.mjs → registry-BogXzcOD.mjs} +4000 -1989
  197. package/dist/server/rendering/components/pageShared.mjs +1 -1
  198. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  199. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  200. package/dist/server/rendering/server.mjs +3 -3
  201. package/dist/server/rendering.mjs +7 -7
  202. package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
  203. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
  204. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  205. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  206. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
  207. package/dist/server/server.mjs +3 -3
  208. package/dist/server/theme-bridge.mjs +2 -2
  209. package/dist/server/theme.mjs +2 -1
  210. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  211. package/dist/server/{validation-Dh8htd6l.mjs → validation-vSBCWU3w.mjs} +9 -9
  212. package/dist/server/{version-LMwnoksN.mjs → version-Cw5vFmUY.mjs} +1 -1
  213. package/dist/styles/index.css +408 -10
  214. package/package.json +1 -1
  215. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  216. package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
  217. package/dist/server/bindings-C1-MNwwS.mjs +0 -257
  218. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  219. package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { Ft as CardListContentPart, Jt as formatEventPriceDisplay, Kt as formatEventPrice, qt as formatEventPriceAmount, rt as formatBookingSchedulePresentation, zt as MediaNodeServer } from "./shop.interactive-BH0xDlMF.mjs";
3
- import { Fo as publicEventPricingType, Gi as listLookSlot, Mo as publicEventPricingCurrency, No as publicEventPricingDisplay, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, Un as formatEventCompactDateRail, Wn as formatEventDateParts, go as CANCELLED_SESSION_STATUS, jo as isPublicEventPricingOptionDisplayable, ko as formatBookingPriceDisplay, nr as formatTotalCapacity, vo as orderedLiveRunSessions, wn as ImagePresets, yo as resolveWholeSeriesBookingPhase } from "./display-DDNmyb0z.mjs";
4
- import { $t as toBookingTimeZone, Ft as formatDateTimeRange, Gt as compareLocalScheduleDates, Ht as toScheduledBookingDateTime, Jt as getLocalScheduleDate, Mt as formatDate, Nt as formatDateRange, Zt as resolveBookingBusinessTimeZone, on as formatCurrencyAmount, qt as getBookingLocalDateKey, tn as toUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
5
- import { M as assertNever } from "./creditProducts-CMOmhWm2.mjs";
2
+ import { Ht as EventQuickFacts, Lt as CardListContentPart, Qt as formatEventPriceDisplay, Vt as MediaNodeServer, Xt as formatEventPrice, Zt as formatEventPriceAmount, it as formatBookingSchedulePresentation, ot as closedRunCopy } from "./shop.interactive-DAKyWK1B.mjs";
3
+ import { Bi as resolveEventRegistrationScopedEvents, Cn as ImagePresets, Hn as formatEventCompactDateRail, Kn as formatEventRunDates, Ln as eventDateOptions, Ss as publicEventPricingType, Un as formatEventDateParts, as as orderedLiveRunSessions, bs as publicEventPricingDisplay, gs as formatBookingPriceDisplay, nr as formatTotalCapacity, ns as CANCELLED_SESSION_STATUS, os as resolveWholeSeriesBookingPhase, qi as listLookSlot, vs as isPublicEventPricingOptionDisplayable, ys as publicEventPricingCurrency } from "./display-Cl6mgSJa.mjs";
4
+ import { Ft as formatDate, Gt as toScheduledBookingDateTime, It as formatDateRange, Jt as compareLocalScheduleDates, Rt as formatDateTimeRange, Xt as getBookingLocalDateKey, Zt as getLocalScheduleDate, en as resolveBookingBusinessTimeZone, in as toUtcIsoDateTimeString, ln as formatCurrencyAmount, nn as toBookingTimeZone } from "./noop-poI1m2yW.mjs";
5
+ import { N as assertNever } from "./creditProducts-BTRX4edc.mjs";
6
6
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-BFp2uQQQ.mjs";
8
- import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CfuyGqXL.mjs";
9
- import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DDWfmgpA.mjs";
7
+ import { t as LocationMapActions } from "./LocationMapActions-QahdLtdE.mjs";
8
+ import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-pzQkBLgS.mjs";
9
+ import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-Dy6UMuIw.mjs";
10
10
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
11
  import "react";
12
- import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  //#region ../blocks/src/system/blocks/events/shared/detailsSelection.ts
14
14
  function isFutureOrNow(iso, nowIso) {
15
15
  const ts = Date.parse(iso);
@@ -147,6 +147,7 @@ function cardProjectionBase(event, buttonText, context) {
147
147
  id: event.occurrenceId || event.id,
148
148
  title: event.title,
149
149
  titleLink: resolveEventLinkProps(event),
150
+ quickFacts: event.facts,
150
151
  text: event.presentation?.summary ?? event.description,
151
152
  media: event.presentation?.image,
152
153
  facts: offeringFacts(event, places?.label, offering),
@@ -177,7 +178,7 @@ function offeringSchedule(event, now) {
177
178
  return {
178
179
  numeral: run?.kind === "scheduled" ? {
179
180
  value: run.sessionCount,
180
- label: "sessions"
181
+ label: run.sessionCount === 1 ? "session" : "sessions"
181
182
  } : null,
182
183
  schedule: scheduleLine(summary, event, now)
183
184
  };
@@ -262,7 +263,7 @@ function eventHeaderContent(selection, show) {
262
263
  const event = selection.selected;
263
264
  const item = eventCardListContent(event, { kind: "event-details" });
264
265
  const groupSize = show.capacity ? formatTotalCapacity(event.capacity) : null;
265
- const { date, timeRange } = formatEventDateParts({
266
+ const { timeRange } = formatEventDateParts({
266
267
  startsAt: event.startsAt,
267
268
  endsAt: event.endsAt,
268
269
  ...eventDateOptions(event)
@@ -271,10 +272,7 @@ function eventHeaderContent(selection, show) {
271
272
  ...item,
272
273
  titleLink: void 0,
273
274
  facts: [
274
- {
275
- label: selection.mode === "next" ? "Next date" : "Date",
276
- value: date
277
- },
275
+ headerDateFact(selection),
278
276
  {
279
277
  label: "Time",
280
278
  value: timeRange
@@ -288,10 +286,36 @@ function eventHeaderContent(selection, show) {
288
286
  action: headerAction(selection, item.action)
289
287
  };
290
288
  }
289
+ /** A course run is described by its whole span, not by whichever session was selected. */
290
+ function headerDateFact(selection) {
291
+ const event = selection.selected;
292
+ if (selection.kind === "wholeSeries") {
293
+ const sessions = orderedLiveRunSessions(selection.sessions);
294
+ const first = sessions[0];
295
+ const last = sessions.at(-1);
296
+ if (first && last && first !== last) return {
297
+ label: "Dates",
298
+ value: formatEventRunDates(first, last, eventDateOptions({
299
+ ...event,
300
+ timeZone: first.timeZone
301
+ }))
302
+ };
303
+ }
304
+ const { date } = formatEventDateParts({
305
+ startsAt: event.startsAt,
306
+ endsAt: event.endsAt,
307
+ ...eventDateOptions(event)
308
+ });
309
+ return {
310
+ label: selection.mode === "next" ? "Next date" : "Date",
311
+ value: date
312
+ };
313
+ }
314
+ /** A closed run says why here, at the top of the page, so the panel below doesn't repeat it. */
291
315
  function headerAction(selection, action) {
292
316
  if (action.external) return action;
293
317
  if (!selection.selected.requiresRegistration) return { label: "No registration required — just show up" };
294
- if (selection.kind === "wholeSeries" && selection.bookingPhase.kind === "closed") return { label: "Registration closed" };
318
+ if (selection.kind === "wholeSeries" && selection.bookingPhase.kind === "closed") return { label: closedRunCopy(selection.bookingPhase.reason).titleText };
295
319
  if (!action.href) return action;
296
320
  return {
297
321
  ...action,
@@ -331,6 +355,7 @@ function EventHeader({ selection, presentation, showCost, showCapacity }) {
331
355
  ...listLookSlot(presentation, "headline"),
332
356
  children: item.title
333
357
  }),
358
+ /* @__PURE__ */ jsx(EventQuickFacts, { facts: presentation.quickFacts }),
334
359
  item.text ? /* @__PURE__ */ jsx("p", {
335
360
  ...listLookSlot(presentation, "lede"),
336
361
  children: item.text
@@ -501,7 +526,7 @@ function resolveSelection(input) {
501
526
  events: input.events ?? null,
502
527
  occurrenceContext: input.occurrenceContext ?? null,
503
528
  subject: input.subject,
504
- nowIso: input.nowIso,
529
+ nowIso: input.now,
505
530
  otherDatesLimit: input.otherDatesLimit
506
531
  });
507
532
  }
@@ -534,6 +559,7 @@ function resolveEventDetailsPresentation(input) {
534
559
  return {
535
560
  selection,
536
561
  arrangement: input.arrangement,
562
+ quickFacts: input.quickFacts,
537
563
  entryTitle: input.entryTitle,
538
564
  actionSize: input.actionSize,
539
565
  lookSlots: input.lookSlots,
@@ -589,8 +615,12 @@ function lookPartShown(blockKind, field, arrangement) {
589
615
  }
590
616
  //#endregion
591
617
  //#region ../blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.tsx
618
+ /** A course lists every active option, whether or not its sale window is open. */
619
+ function wholeSeriesPriceOptions(pricing) {
620
+ return pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
621
+ }
592
622
  function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
593
- const options = pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
623
+ const options = wholeSeriesPriceOptions(pricing);
594
624
  return /* @__PURE__ */ jsxs("div", {
595
625
  className: "rb-mt-6",
596
626
  children: [
@@ -609,7 +639,7 @@ function WholeSeriesPricingDisplay({ pricing, acceptedItems }) {
609
639
  className: "rb-caption status-muted",
610
640
  children: option.description
611
641
  }) : null] }, option.id))
612
- }) : /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: formatBookingPriceDisplay(publicEventPricingDisplay(pricing)) }) }),
642
+ }) : /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: formatBookingPriceDisplay(publicEventPricingDisplay(pricing), { decimals: "auto" }) }) }),
613
643
  acceptedItems.length > 0 ? /* @__PURE__ */ jsxs("p", {
614
644
  className: "rb-caption rb-mt-1",
615
645
  children: ["You can also attend with: ", acceptedItems.join(", ")]
@@ -677,7 +707,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
677
707
  className: "rb-caption rb-mt-1",
678
708
  children: formatAutoApplyDiscountLine(autoApplyDiscount, eventPricingCurrency)
679
709
  }) : null,
680
- eventPricingCurrency ? /* @__PURE__ */ jsx(TicketTypePriceList, {
710
+ eventPricingCurrency && ticketTypes.length > 1 ? /* @__PURE__ */ jsx(TicketTypePriceList, {
681
711
  ticketTypes,
682
712
  currency: eventPricingCurrency
683
713
  }) : null,
@@ -988,10 +1018,10 @@ function EventDetailsView(input) {
988
1018
  });
989
1019
  if (props.selection.kind === "empty") return /* @__PURE__ */ jsxs("div", {
990
1020
  ...listLookSlot(props, "layout"),
991
- children: [props.entryTitle ? /* @__PURE__ */ jsx("h1", {
1021
+ children: [props.entryTitle ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h1", {
992
1022
  ...listLookSlot(props, "headline"),
993
1023
  children: props.entryTitle
994
- }) : null, /* @__PURE__ */ jsx(LegacyEventDetailsView, { ...props })]
1024
+ }), /* @__PURE__ */ jsx(EventQuickFacts, { facts: props.quickFacts })] }) : null, /* @__PURE__ */ jsx(LegacyEventDetailsView, { ...props })]
995
1025
  });
996
1026
  return /* @__PURE__ */ jsxs("div", {
997
1027
  ...listLookSlot(props, "layout"),
@@ -1000,16 +1030,79 @@ function EventDetailsView(input) {
1000
1030
  presentation: props,
1001
1031
  showCost: props.showCost ?? true,
1002
1032
  showCapacity: props.showCapacity ?? false
1003
- }), /* @__PURE__ */ jsx("div", {
1004
- ...listLookSlot(props, "panel"),
1005
- children: /* @__PURE__ */ jsx(LegacyEventDetailsView, {
1006
- ...props,
1007
- showCost: props.showCost,
1008
- showCapacity: false
1009
- })
1033
+ }), /* @__PURE__ */ jsx(EventHeaderPanel, {
1034
+ ...props,
1035
+ selection: props.selection
1010
1036
  })]
1011
1037
  });
1012
1038
  }
1039
+ function EventHeaderPanel(props) {
1040
+ const content = headerPanelContent(props);
1041
+ if (!content.hasFacts && !content.hasMap && !content.hasDates) return null;
1042
+ return /* @__PURE__ */ jsx("div", {
1043
+ ...listLookSlot(props, "panel"),
1044
+ children: /* @__PURE__ */ jsxs("div", {
1045
+ className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
1046
+ children: [content.hasFacts || content.hasMap ? /* @__PURE__ */ jsxs("div", {
1047
+ className: "rb-grid rb-grid-cols-1 rb-gap-6 rb-items-start rb-sm-grid-cols-2",
1048
+ children: [content.hasFacts ? /* @__PURE__ */ jsx(HeaderPanelFacts, { ...content }) : null, /* @__PURE__ */ jsx(EventVenueMap, {
1049
+ venue: content.venue,
1050
+ showMap: props.showMap,
1051
+ drawing: props.selectedVenueDrawing,
1052
+ mapHeight: props.mapHeight ?? 200,
1053
+ mapClassName: props.mapClassName ?? "event-details-map"
1054
+ })]
1055
+ }) : null, content.hasDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection: props.selection }) : null]
1056
+ })
1057
+ });
1058
+ }
1059
+ function HeaderPanelFacts({ venue, teamMembers, pricing }) {
1060
+ return /* @__PURE__ */ jsxs("div", {
1061
+ className: "rb-flex rb-flex-col rb-gap-4",
1062
+ children: [
1063
+ /* @__PURE__ */ jsx(EventVenueFact, { venue }),
1064
+ /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
1065
+ pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
1066
+ ]
1067
+ });
1068
+ }
1069
+ /** What the panel has to add to the header, decided once. */
1070
+ function headerPanelContent(props) {
1071
+ const { selection } = props;
1072
+ const venue = props.showVenue ? selection.selected.venue : void 0;
1073
+ const teamMembers = selection.selected.teamMembers ?? [];
1074
+ const pricing = headerPanelPricing(props, selection.selected);
1075
+ const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
1076
+ return {
1077
+ venue,
1078
+ teamMembers,
1079
+ pricing,
1080
+ hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
1081
+ hasFacts: Boolean(venue) || teamMembers.length > 0 || pricing !== null,
1082
+ hasDates: props.showOtherDates && scheduled > 0
1083
+ };
1084
+ }
1085
+ /**
1086
+ * Price detail beyond the header's one Price line: several options, a
1087
+ * discount, or passes that also admit. Decided from the same projection
1088
+ * `EventPricingDetails` renders, so a panel is only drawn when it will show something.
1089
+ */
1090
+ function headerPanelPricing(props, event) {
1091
+ const pricing = selectedEventPricing(event, props.showCost ?? true);
1092
+ if (pricing.isDropIn) return null;
1093
+ const detail = {
1094
+ ...pricing,
1095
+ acceptedItems: acceptedProductNames(props),
1096
+ autoApplyDiscount: props.autoApplyDiscount ?? null
1097
+ };
1098
+ return pricingAddsDetail(detail) ? detail : null;
1099
+ }
1100
+ /** True when `EventPricingDetails` would show more than the header's one price. */
1101
+ function pricingAddsDetail(pricing) {
1102
+ const priced = Boolean(pricing.eventCostLabel && pricing.eventPricingCurrency);
1103
+ const courseOptions = pricing.wholeSeriesPricingDisplay ? wholeSeriesPriceOptions(pricing.wholeSeriesPricingDisplay).length : 0;
1104
+ return pricing.acceptedItems.length > 0 || courseOptions > 1 || priced && (pricing.ticketTypes.length > 1 || pricing.autoApplyDiscount !== null);
1105
+ }
1013
1106
  /** Turns off the toggles the arrangement leaves out, as `lookParts` declares them. */
1014
1107
  function withLookParts(props, arrangement) {
1015
1108
  const shown = (field) => lookPartShown("block.event-details", field, arrangement);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Gi as listLookSlot, d as membershipClassesLabel, f as passCardListContent, u as membershipCardListContent } from "./display-DDNmyb0z.mjs";
3
- import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
4
- import { r as EventItem, t as CardListCollection } from "./EventItem-gFuZn-dE.mjs";
2
+ import { d as membershipClassesLabel, f as passCardListContent, qi as listLookSlot, u as membershipCardListContent } from "./display-Cl6mgSJa.mjs";
3
+ import { r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
4
+ import { r as EventItem, t as CardListCollection } from "./EventItem-BnwcoFQN.mjs";
5
5
  import React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
@@ -100,23 +100,43 @@ function toBlocksMediaAssets(assets) {
100
100
  return assets.map((asset) => renderableMediaAssetSchema.parse(asset));
101
101
  }
102
102
  //#endregion
103
- //#region src/rendering/helpers/pageRuntimeSupport.ts
104
- function projectRenderablePageOutline(page) {
103
+ //#region ../blocks/src/structure/pageRegions.ts
104
+ function outlineRegions(page) {
105
+ return [{
106
+ region: "main",
107
+ blocks: page.blocks
108
+ }, ...page.aside === void 0 ? [] : [{
109
+ region: "aside",
110
+ blocks: page.aside
111
+ }]];
112
+ }
113
+ function mapOutlineRegions(page, project) {
114
+ const { blocks: _blocks, aside: _aside, ...metadata } = page;
115
+ const regions = outlineRegions(page).map(({ region, blocks }) => ({
116
+ region,
117
+ blocks: [...project(blocks, region)]
118
+ }));
105
119
  return {
106
- ...page,
107
- blocks: page.blocks.flatMap((block) => block.admission.kind === "renderable" ? [{
108
- id: block.id,
109
- draftContentId: block.draftContentId ?? null,
110
- publishedPlacement: block.publishedPlacement,
111
- ...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
112
- kind: block.kind,
113
- purpose: block.purpose,
114
- content: block.admission.content,
115
- ...block.bindings ? { bindings: block.bindings } : {}
116
- }] : [])
120
+ ...metadata,
121
+ blocks: regions[0]?.blocks ?? [],
122
+ ...page.aside === void 0 ? {} : { aside: regions[1]?.blocks ?? [] }
117
123
  };
118
124
  }
119
125
  //#endregion
126
+ //#region src/rendering/helpers/pageRuntimeSupport.ts
127
+ function projectRenderablePageOutline(page) {
128
+ return mapOutlineRegions(page, (blocks) => blocks.flatMap((block) => block.admission.kind === "renderable" ? [{
129
+ id: block.id,
130
+ draftContentId: block.draftContentId ?? null,
131
+ publishedPlacement: block.publishedPlacement,
132
+ ...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
133
+ kind: block.kind,
134
+ purpose: block.purpose,
135
+ content: block.admission.content,
136
+ ...block.bindings ? { bindings: block.bindings } : {}
137
+ }] : []));
138
+ }
139
+ //#endregion
120
140
  //#region src/preview-next/before-render.tsx
121
141
  function toSdkPreviewContent(content) {
122
142
  return {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { n as ThemedButton, nt as SpinnerNode } from "./ThemedButton-BQU45t-E.mjs";
3
+ import { n as ThemedButton, nt as SpinnerNode } from "./ThemedButton-CKYjeU_M.mjs";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ft as locationPinSchema } from "./lucide-react-DbC1o6_9.mjs";
2
+ import { Lt as locationPinSchema } from "./lucide-react-DygTyy7K.mjs";
3
3
  import { createContext, useContext } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../editor-blocks/src/widgets/location/editMapDecision.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { At as sameMeaningfulAddress, D as Minus, Ft as locationPinSchema, j as LocateFixed, y as Plus } from "./lucide-react-DbC1o6_9.mjs";
4
- import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-CwxRbAs2.mjs";
3
+ import { Lt as locationPinSchema, M as LocateFixed, Mt as sameMeaningfulAddress, O as Minus, b as Plus } from "./lucide-react-DygTyy7K.mjs";
4
+ import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-lW2aLGWd.mjs";
5
5
  import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createPortal } from "react-dom";