@riverbankcms/sdk 0.172.0 → 0.173.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 (194) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
  5. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
  6. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
  15. package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
  18. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  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 +6 -6
  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/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
  59. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
  62. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
  63. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
  64. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
  65. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
  66. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  67. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  68. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
  69. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
  70. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  72. package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
  73. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
  74. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
  75. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
  76. package/dist/client/bookability-SargNwlO.mjs +17 -0
  77. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
  78. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  79. package/dist/client/bookings.mjs +5 -5
  80. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  81. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
  82. package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
  83. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  84. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
  85. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  87. package/dist/client/client.mjs +52 -4
  88. package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
  89. package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
  90. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  91. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  92. package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
  93. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
  94. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  95. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
  96. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  97. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  98. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  99. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  100. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  101. package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
  102. package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
  103. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
  104. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +2 -2
  106. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  107. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
  108. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
  109. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  110. package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
  111. package/dist/client/portal/client.mjs +7 -7
  112. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  113. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  114. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  115. package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
  116. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  117. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
  118. package/dist/client/rendering/client.mjs +25 -25
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +24 -55
  121. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  123. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  124. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  125. package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
  126. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
  127. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  128. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  129. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
  130. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
  131. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  132. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  133. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
  134. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  135. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  136. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  137. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
  138. package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
  139. package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
  140. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
  141. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
  142. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
  145. package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
  146. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
  147. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  148. package/dist/preview-next/client/runtime.mjs +3 -3
  149. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
  150. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
  151. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
  152. package/dist/preview-next/keepAlive.mjs +1 -1
  153. package/dist/preview-next/middleware.mjs +1 -1
  154. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
  155. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  156. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
  157. package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/data/resolveBlockData.mjs +1 -1
  161. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  162. package/dist/server/index.mjs +3 -3
  163. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
  164. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
  165. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  166. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  167. package/dist/server/navigation.mjs +1 -1
  168. package/dist/server/next.mjs +6 -6
  169. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
  172. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
  173. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
  174. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
  175. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  178. package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
  179. package/dist/server/rendering/components/pageShared.mjs +1 -1
  180. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  181. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  182. package/dist/server/rendering/server.mjs +3 -3
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
  185. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  186. package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
  190. package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
  191. package/dist/styles/index.css +174 -0
  192. package/package.json +1 -1
  193. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  194. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -3658,10 +3658,22 @@
3658
3658
  display: flex;
3659
3659
  justify-content: space-between;
3660
3660
  align-items: center;
3661
+ flex-wrap: wrap;
3661
3662
  gap: 1rem;
3662
3663
  margin-top: 1.5rem;
3663
3664
  }
3664
3665
 
3666
+ /* A button label stays on one line. In a narrow column (a style that nests the
3667
+ * booking panel inside padded frames, on a phone) the row wraps instead, and
3668
+ * the forward action keeps to the right on its own line. */
3669
+ :where(.theme-scope) :where([data-block="event-registration"], [data-block="appointment-booking"]) .rb-wizard-actions > * {
3670
+ white-space: nowrap;
3671
+ }
3672
+
3673
+ :where(.theme-scope) :where([data-block="event-registration"], [data-block="appointment-booking"]) .rb-wizard-actions > :last-child:not(:only-child) {
3674
+ margin-inline-start: auto;
3675
+ }
3676
+
3665
3677
  /* When there's only one action (no back button), push it to the right */
3666
3678
  :where(.theme-scope) :where([data-block="event-registration"], [data-block="appointment-booking"]) .rb-wizard-actions > :only-child {
3667
3679
  margin-inline-start: auto;
@@ -4241,6 +4253,160 @@
4241
4253
  opacity: 0.6;
4242
4254
  }
4243
4255
 
4256
+ :where(.theme-scope)
4257
+ :where([data-block='event-registration'])
4258
+ .er-date-option__radio:disabled {
4259
+ cursor: not-allowed;
4260
+ }
4261
+
4262
+ /* Booking several (issue 1725): a full row offers its waitlist; runs show their price */
4263
+ :where(.theme-scope)
4264
+ :where([data-block='event-registration'])
4265
+ .er-selection-lede {
4266
+ margin-top: -0.5rem;
4267
+ }
4268
+
4269
+ :where(.theme-scope)
4270
+ :where([data-block='event-registration'])
4271
+ .er-date-option__full-note {
4272
+ flex: 0 0 auto;
4273
+ font-size: 0.8125rem;
4274
+ white-space: nowrap;
4275
+ color: var(--rb-surface-supporting-color, var(--er-on-surface-muted));
4276
+ }
4277
+
4278
+ :where(.theme-scope)
4279
+ :where([data-block='event-registration'])
4280
+ .er-date-option__waitlist {
4281
+ padding: 0;
4282
+ border: 0;
4283
+ background: none;
4284
+ font: inherit;
4285
+ color: var(--er-on-surface);
4286
+ text-decoration: underline;
4287
+ cursor: pointer;
4288
+ }
4289
+
4290
+ :where(.theme-scope)
4291
+ :where([data-block='event-registration'])
4292
+ .er-date-option__price {
4293
+ flex: 0 0 auto;
4294
+ font-weight: 700;
4295
+ white-space: nowrap;
4296
+ }
4297
+
4298
+ :where(.theme-scope)
4299
+ :where([data-block='event-registration'])
4300
+ .er-run-pricing {
4301
+ display: flex;
4302
+ flex-direction: column;
4303
+ gap: 0.5rem;
4304
+ }
4305
+
4306
+ :where(.theme-scope)
4307
+ :where([data-block='event-registration'])
4308
+ .er-run-pricing__title {
4309
+ margin: 0;
4310
+ font-weight: 700;
4311
+ }
4312
+
4313
+ /* Several items on the payment step: the list sits under its heading */
4314
+ :where(.theme-scope)
4315
+ :where([data-block='event-registration'])
4316
+ .er-selection-payment {
4317
+ margin-top: 0;
4318
+ }
4319
+
4320
+ /* The several-items summary sits above the payment choice in the step's
4321
+ column, which has no gap of its own. */
4322
+ :where(.theme-scope)
4323
+ :where([data-block='event-registration'])
4324
+ .er-selection-payment-summary {
4325
+ margin-bottom: 1.5rem;
4326
+ }
4327
+
4328
+ /* Amounts stay on one line, so "−£1.20" never splits after the minus. */
4329
+ :where(.theme-scope)
4330
+ :where([data-block='event-registration'])
4331
+ .er-selection-payment
4332
+ dd {
4333
+ white-space: nowrap;
4334
+ }
4335
+
4336
+ /* Combination prices (issue 1725): the offer above the list, the working
4337
+ under the summary row, the next saving and code notes as soft notes */
4338
+ :where(.theme-scope)
4339
+ :where([data-block='event-registration'])
4340
+ .er-combination-offer {
4341
+ margin: 0;
4342
+ padding: 0.625rem 0.875rem;
4343
+ border: 1px solid var(--er-border);
4344
+ border-radius: calc(var(--rb-block-radius) * 0.75);
4345
+ background: var(--er-surface-muted);
4346
+ font-size: 0.9375rem;
4347
+ }
4348
+
4349
+ :where(.theme-scope)
4350
+ :where([data-block='event-registration'])
4351
+ :is(.er-combination-hint, .er-combination-note) {
4352
+ margin: 0;
4353
+ padding: 0.5rem 0.75rem;
4354
+ border-radius: calc(var(--rb-block-radius) * 0.75);
4355
+ background: var(--er-surface-muted);
4356
+ font-size: 0.875rem;
4357
+ }
4358
+
4359
+ :where(.theme-scope)
4360
+ :where([data-block='event-registration'])
4361
+ .er-summary-bar--combination {
4362
+ flex-wrap: wrap;
4363
+ row-gap: 0.125rem;
4364
+ }
4365
+
4366
+ :where(.theme-scope)
4367
+ :where([data-block='event-registration'])
4368
+ .er-combination-detail {
4369
+ flex-basis: 100%;
4370
+ margin: 0;
4371
+ font-size: 0.8125rem;
4372
+ color: var(--rb-surface-supporting-color, var(--er-on-surface-muted));
4373
+ }
4374
+
4375
+ :where(.theme-scope)
4376
+ :where([data-block='event-registration'])
4377
+ .er-combination-saving {
4378
+ margin: 0;
4379
+ font-weight: 700;
4380
+ color: var(--er-on-surface);
4381
+ }
4382
+
4383
+ :where(.theme-scope)
4384
+ :where([data-block='event-registration'])
4385
+ .er-selection-payment__group {
4386
+ margin: 0;
4387
+ font-size: 0.8125rem;
4388
+ font-weight: 700;
4389
+ letter-spacing: 0.04em;
4390
+ text-transform: uppercase;
4391
+ color: var(--rb-surface-supporting-color, var(--er-on-surface-muted));
4392
+ }
4393
+
4394
+ :where(.theme-scope)
4395
+ :where([data-block='event-registration'])
4396
+ .er-selection-payment__lines {
4397
+ display: flex;
4398
+ flex-direction: column;
4399
+ gap: 0.75rem;
4400
+ margin: 0;
4401
+ }
4402
+
4403
+ :where(.theme-scope)
4404
+ :where([data-block='event-registration'])
4405
+ .er-selection-payment__totals {
4406
+ padding-top: 0.75rem;
4407
+ border-top: 1px solid var(--er-border);
4408
+ }
4409
+
4244
4410
  /* Capacity badges */
4245
4411
  :where(.theme-scope)
4246
4412
  :where([data-block='event-registration'])
@@ -4944,6 +5110,11 @@
4944
5110
  :where([data-block='event-registration'])
4945
5111
  .er-discount__input {
4946
5112
  flex: 1;
5113
+ /* The input's default width would otherwise count towards the row's
5114
+ smallest size, and with Apply beside it the row pushes past a
5115
+ phone-width panel. flex: 1 still fills the row. */
5116
+ width: 0;
5117
+ min-width: 0;
4947
5118
  border-radius: calc(var(--rb-block-radius) * 0.6);
4948
5119
  border: 1px solid var(--er-border);
4949
5120
  padding: 0.5rem 0.75rem;
@@ -15736,6 +15907,9 @@
15736
15907
  .theme-scope :is([data-has-one-offering] [data-card-list-item], :is([data-arrangement="cards"], [data-arrangement="plates"]) [data-offerings-mode="catalogue"] [data-card-list] > [data-card-list-item]:only-child) [data-slot="dates"] [data-slot="date"] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-block: 0.875rem; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
15737
15908
  .theme-scope :is([data-has-one-offering] [data-card-list-item], :is([data-arrangement="cards"], [data-arrangement="plates"]) [data-offerings-mode="catalogue"] [data-card-list] > [data-card-list-item]:only-child) [data-slot="dates"] [data-slot="date"]:first-child { border-top: 0; padding-top: 0; }
15738
15909
  .theme-scope :is([data-has-one-offering] [data-card-list-item], :is([data-arrangement="cards"], [data-arrangement="plates"]) [data-offerings-mode="catalogue"] [data-card-list] > [data-card-list-item]:only-child) [data-slot="dates"] [data-slot="date"] time { flex: 1 1 auto; text-align: start; }
15910
+ /* "and 5 more" under a card's dates: a quiet secondary line in every style,
15911
+ * never a date row (it has no date slot, so no style's row rules reach it). */
15912
+ .theme-scope [data-card-list-item] [data-slot="dates"] > [data-dates-more] { margin: 0; padding: 0.375rem 0 0; border: 0; list-style: none; font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--rb-surface-muted-color); }
15739
15913
  .theme-scope :is([data-has-one-offering] [data-card-list-item], :is([data-arrangement="cards"], [data-arrangement="plates"]) [data-offerings-mode="catalogue"] [data-card-list] > [data-card-list-item]:only-child) [data-slot="date-places"] { color: var(--rb-surface-muted-color, var(--rb-surface-text-color)); font-size: 0.875rem; }
15740
15914
  @media (min-width: 768px) {
15741
15915
  .theme-scope:is(*, :scope) :is([data-has-one-offering] [data-card-list-item], :is([data-arrangement="cards"], [data-arrangement="plates"]) [data-offerings-mode="catalogue"] [data-card-list] > [data-card-list-item]:only-child):has(> [data-slot="item-media"]) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riverbankcms/sdk",
3
- "version": "0.172.0",
3
+ "version": "0.173.0",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
@@ -1,3 +0,0 @@
1
- "use client";
2
- import { t as restoreRuntimeResponse } from "./runtimeResponse-B-lrAGhX.mjs";
3
- export { restoreRuntimeResponse };
@@ -1,33 +0,0 @@
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 };