@riverbankcms/sdk 0.179.0 → 0.181.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 (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -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 +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  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 +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1125,6 +1125,17 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1125
1125
  "server:internal_error"
1126
1126
  ]
1127
1127
  },
1128
+ getTeamMemberTemplatePreview: {
1129
+ path: "/sites/{siteId}/bookings/profile-editor/{entryId}/template-preview",
1130
+ method: "GET",
1131
+ auth: "user",
1132
+ responseKind: "json",
1133
+ errors: [
1134
+ "auth:forbidden",
1135
+ "resource:not_found",
1136
+ "server:internal_error"
1137
+ ]
1138
+ },
1128
1139
  updateTeamMemberProfilePolicy: {
1129
1140
  path: "/sites/{siteId}/bookings/resources/profile-policy",
1130
1141
  method: "PUT",
@@ -1309,7 +1320,11 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1309
1320
  method: "DELETE",
1310
1321
  auth: "user",
1311
1322
  responseKind: "json",
1312
- errors: ["resource:not_found", "server:internal_error"]
1323
+ errors: [
1324
+ "resource:not_found",
1325
+ "resource:conflict",
1326
+ "server:internal_error"
1327
+ ]
1313
1328
  },
1314
1329
  getAppointmentSetup: {
1315
1330
  path: "/sites/{siteId}/bookings/appointment-setup",
@@ -6876,7 +6891,7 @@ const API_ENDPOINTS = {
6876
6891
  ],
6877
6892
  auth: "public",
6878
6893
  responseKind: "json",
6879
- errors: ["validation:invalid_input", "server:internal_error"]
6894
+ errors: ["server:internal_error"]
6880
6895
  },
6881
6896
  resolveRouteDecision: {
6882
6897
  path: "/sites/{siteId}/route-decision",
@@ -6888,7 +6903,7 @@ const API_ENDPOINTS = {
6888
6903
  ],
6889
6904
  auth: "public",
6890
6905
  responseKind: "json",
6891
- errors: ["validation:invalid_input", "server:internal_error"]
6906
+ errors: ["server:internal_error"]
6892
6907
  },
6893
6908
  getPageByPath: {
6894
6909
  path: "/sites/{siteId}/pages",
@@ -7439,7 +7454,7 @@ const API_ENDPOINTS = {
7439
7454
  tags: ["backup"],
7440
7455
  auth: "user",
7441
7456
  responseKind: "json",
7442
- errors: ["validation:invalid_input", "server:internal_error"]
7457
+ errors: ["server:internal_error"]
7443
7458
  },
7444
7459
  deleteBackupUpload: {
7445
7460
  path: "/backup/upload",
@@ -7567,6 +7582,38 @@ const API_ENDPOINTS = {
7567
7582
  "server:internal_error"
7568
7583
  ]
7569
7584
  },
7585
+ getEventRoomsRoster: {
7586
+ errors: [],
7587
+ path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms",
7588
+ method: "GET",
7589
+ tags: ["site-{siteId}", "event-series-{seriesId}"],
7590
+ auth: "user",
7591
+ responseKind: "json"
7592
+ },
7593
+ getChangeEventRoomOptions: {
7594
+ errors: [],
7595
+ path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms/change/options",
7596
+ method: "GET",
7597
+ tags: [
7598
+ "site-{siteId}",
7599
+ "event-series-{seriesId}",
7600
+ "bookings"
7601
+ ],
7602
+ auth: "user",
7603
+ responseKind: "json"
7604
+ },
7605
+ changeEventRoom: {
7606
+ errors: [],
7607
+ path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms/change",
7608
+ method: "POST",
7609
+ tags: [
7610
+ "site-{siteId}",
7611
+ "event-series-{seriesId}",
7612
+ "bookings"
7613
+ ],
7614
+ auth: "user",
7615
+ responseKind: "json"
7616
+ },
7570
7617
  listEventSeriesAttendees: {
7571
7618
  path: "/sites/{siteId}/bookings/event-series/{seriesId}/attendees",
7572
7619
  method: "GET",
@@ -8043,7 +8090,7 @@ const API_ENDPOINTS = {
8043
8090
  auth: "user",
8044
8091
  responseKind: "json",
8045
8092
  demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
8046
- errors: ["validation:invalid_input", "server:internal_error"]
8093
+ errors: ["server:internal_error"]
8047
8094
  },
8048
8095
  getBookingPass: {
8049
8096
  path: "/sites/{siteId}/bookings/passes/{passId}",
@@ -8121,7 +8168,7 @@ const API_ENDPOINTS = {
8121
8168
  auth: "user",
8122
8169
  responseKind: "json",
8123
8170
  demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
8124
- errors: ["validation:invalid_input", "server:internal_error"]
8171
+ errors: ["server:internal_error"]
8125
8172
  },
8126
8173
  getBookingMembership: {
8127
8174
  path: "/sites/{siteId}/bookings/memberships/{membershipId}",
@@ -9371,18 +9418,23 @@ const API_ENDPOINTS = {
9371
9418
  auth: "public",
9372
9419
  responseKind: "json"
9373
9420
  },
9374
- portalGetCredit: {
9375
- path: "/portal/credit",
9421
+ portalGetDetails: {
9422
+ path: "/portal/details",
9376
9423
  method: "GET",
9377
9424
  auth: "public",
9378
- responseKind: "json"
9425
+ responseKind: "json",
9426
+ errors: ["server:internal_error"]
9379
9427
  },
9380
- portalGetOrders: {
9381
- path: "/portal/orders",
9382
- method: "GET",
9383
- errors: [],
9428
+ portalUpdateNewsletter: {
9429
+ path: "/portal/details/newsletter",
9430
+ method: "PATCH",
9384
9431
  auth: "public",
9385
- responseKind: "json"
9432
+ responseKind: "json",
9433
+ errors: [
9434
+ "validation:invalid_input",
9435
+ "resource:conflict",
9436
+ "server:internal_error"
9437
+ ]
9386
9438
  },
9387
9439
  portalCreateOrderCheckout: {
9388
9440
  path: "/portal/orders/{orderId}/checkout",
@@ -9423,42 +9475,74 @@ const API_ENDPOINTS = {
9423
9475
  auth: "public",
9424
9476
  responseKind: "json"
9425
9477
  },
9426
- portalGetPasses: {
9427
- path: "/portal/passes",
9478
+ portalGetEventTicket: {
9479
+ path: "/portal/events/{registrationId}/ticket",
9428
9480
  method: "GET",
9429
9481
  auth: "public",
9430
9482
  responseKind: "json"
9431
9483
  },
9432
- portalGetMemberships: {
9433
- path: "/portal/memberships",
9484
+ portalGetRegularSessions: {
9485
+ path: "/portal/appointments/regular-sessions",
9434
9486
  method: "GET",
9435
9487
  auth: "public",
9436
- responseKind: "json"
9488
+ responseKind: "json",
9489
+ errors: ["server:internal_error"]
9437
9490
  },
9438
- portalGetEvents: {
9439
- path: "/portal/events",
9491
+ portalGetBookings: {
9492
+ path: "/portal/bookings",
9440
9493
  method: "GET",
9441
9494
  auth: "public",
9442
- responseKind: "json"
9495
+ responseKind: "json",
9496
+ errors: ["server:internal_error"]
9443
9497
  },
9444
- portalGetEventTicket: {
9445
- path: "/portal/events/{registrationId}/ticket",
9498
+ portalGetHome: {
9499
+ path: "/portal/home",
9446
9500
  method: "GET",
9447
9501
  auth: "public",
9448
- responseKind: "json"
9502
+ responseKind: "json",
9503
+ errors: ["server:internal_error"]
9449
9504
  },
9450
- portalGetRegularSessions: {
9451
- path: "/portal/appointments/regular-sessions",
9505
+ portalGetOccurrenceBookings: {
9506
+ path: "/portal/occurrences/{occurrenceId}/bookings",
9452
9507
  method: "GET",
9453
9508
  auth: "public",
9454
9509
  responseKind: "json",
9455
9510
  errors: ["server:internal_error"]
9456
9511
  },
9457
- portalGetAppointments: {
9458
- path: "/portal/appointments",
9512
+ portalGetHoldings: {
9513
+ path: "/portal/holdings",
9459
9514
  method: "GET",
9460
9515
  auth: "public",
9461
- responseKind: "json"
9516
+ responseKind: "json",
9517
+ errors: ["server:internal_error"]
9518
+ },
9519
+ portalGetPayments: {
9520
+ path: "/portal/payments",
9521
+ method: "GET",
9522
+ auth: "public",
9523
+ responseKind: "json",
9524
+ errors: ["server:internal_error"]
9525
+ },
9526
+ portalGetReceipt: {
9527
+ path: "/portal/payments/receipts/{receiptId}",
9528
+ method: "GET",
9529
+ auth: "public",
9530
+ responseKind: "json",
9531
+ errors: ["resource:not_found", "server:internal_error"]
9532
+ },
9533
+ portalGetOrder: {
9534
+ path: "/portal/orders/{orderId}",
9535
+ method: "GET",
9536
+ auth: "public",
9537
+ responseKind: "json",
9538
+ errors: ["resource:not_found", "server:internal_error"]
9539
+ },
9540
+ portalGetBooking: {
9541
+ path: "/portal/bookings/{kind}/{bookingId}",
9542
+ method: "GET",
9543
+ auth: "public",
9544
+ responseKind: "json",
9545
+ errors: ["resource:not_found", "server:internal_error"]
9462
9546
  },
9463
9547
  portalGetAppointmentBookingQuestions: {
9464
9548
  path: "/portal/appointments/{appointmentId}/booking-questions",
@@ -9559,13 +9643,6 @@ const API_ENDPOINTS = {
9559
9643
  "server:internal_error"
9560
9644
  ]
9561
9645
  },
9562
- portalGetWholeSeriesRegistrations: {
9563
- path: "/portal/dated-offerings/whole-series",
9564
- method: "GET",
9565
- auth: "public",
9566
- responseKind: "json",
9567
- errors: ["server:internal_error"]
9568
- },
9569
9646
  portalGetWholeSeriesBookingQuestions: {
9570
9647
  path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions",
9571
9648
  method: "GET",
@@ -1,9 +1,9 @@
1
- import { Qn as siteHeaderManifest, Zn as siteFooterManifest, ec as toUtcIsoDateTimeString, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, or as readRuntimeNow, sr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-DH1VrsCl.mjs";
2
- import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-DU4ETFPS.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-DyNSd2Yj.mjs";
4
- import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-BcNfYYuu.mjs";
1
+ import { Qn as siteHeaderManifest, Qs as toUtcIsoDateTimeString, Zn as siteFooterManifest, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, or as readRuntimeNow, sr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-DM9dHfDC.mjs";
2
+ import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-Dcs_XTIO.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-BytMroxn.mjs";
4
+ import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-quBYlSKD.mjs";
5
5
  import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
6
- import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-xeMG42aw.mjs";
6
+ import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-DwpRjqw4.mjs";
7
7
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
8
8
  import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
9
9
  import "react";
@@ -1,7 +1,8 @@
1
- import { $ as SURFACE_FOREGROUND_CSS_VARS, Dt as parseThemeColorToken, Et as parseColorTokenParts, Q as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValue, et as SURFACE_INK_CSS_VARS, ft as cssVarValue, lt as surfaceInkValue, mt as rgbColorValue, ot as surfaceForegroundValueWithOpacity, st as surfaceInkDeclarations } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { F as resolveSurfaceForeground, I as safeTokenOr, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex, z as solveSurfaceInks } from "./accessibleSurfaces-CM3QANtw.mjs";
3
- import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-BZ8YSrQg.mjs";
4
- import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-CaH018pK.mjs";
1
+ import { E as surfaceInkDeclarations, J as parseColorTokenParts, N as rgbColorValue, O as surfaceInkValue, T as surfaceForegroundValueWithOpacity, Y as parseThemeColorToken, _ as DEFAULT_SURFACE_TEXT_COLOR, j as cssVarValue, v as SURFACE_FOREGROUND_CSS_VARS, w as surfaceForegroundValue, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
2
+ import { C as contrastRatio, O as solidPaint, x as ORDINARY_TEXT_MIN_CONTRAST_RATIO } from "./resolveButtonColourStates-B0O1IM16.mjs";
3
+ import { B as neutralInk, F as resolveSurfaceForeground, I as safeTokenOr, K as resolveConcreteColorHex, f as compositeHex, g as actionVariableFallback, o as resolveSurface, q as resolveOpaqueSurfaceHex, r as prepareSurfaceIndex, z as solveSurfaceInks } from "./accessibleSurfaces-WPzUAHp4.mjs";
4
+ import { a as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-C9kgPHvr.mjs";
5
+ import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-TFjgNG61.mjs";
5
6
  import "react";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  //#region ../theme-core/src/cards/decorations.ts
@@ -311,6 +312,13 @@ const opaquePanels = [
311
312
  token: "surface"
312
313
  }
313
314
  },
315
+ {
316
+ selector: ":where([data-block='event-registration']) .er-room-photos",
317
+ paint: {
318
+ kind: "solid",
319
+ token: "surface"
320
+ }
321
+ },
314
322
  {
315
323
  selector: ":where([data-block='event-calendar']) .event-agenda-card",
316
324
  paint: {
@@ -854,6 +862,108 @@ function buildResponsiveScopeRulePatternSource() {
854
862
  ].join("\\s*");
855
863
  }
856
864
  //#endregion
865
+ //#region ../theme-core/src/status/statusTones.ts
866
+ /**
867
+ * Status tones: the quiet tinted chips and notices that say a booking is
868
+ * confirmed (ok), needs something from the customer (attention) or has gone
869
+ * wrong (problem).
870
+ *
871
+ * Every site's palette is different, and a status colour that reads well as a
872
+ * border is often too light to read as text on its own tint (a yellow warning
873
+ * on cream, say). So the tone's ink is measured per palette: we start from the
874
+ * status colour and move it towards the palette's text colour until it clears
875
+ * ordinary-text contrast on the tint. The hue survives where it can, and the
876
+ * text always stays readable.
877
+ *
878
+ * Tones never carry meaning by colour alone; the components that use them pair
879
+ * each tone with a glyph and words.
880
+ */
881
+ const statusToneNames = [
882
+ "ok",
883
+ "attention",
884
+ "problem"
885
+ ];
886
+ /** The palette role each tone is drawn from. */
887
+ const TONE_SOURCE = {
888
+ ok: "success",
889
+ attention: "warning",
890
+ problem: "destructive"
891
+ };
892
+ /** How strongly the status colour tints the ground behind the tone's text. */
893
+ const TINT_ALPHA = .12;
894
+ /** Steps from the status colour towards the text colour, tried in order. */
895
+ const INK_STEPS = [
896
+ 0,
897
+ .2,
898
+ .4,
899
+ .55,
900
+ .7,
901
+ .85,
902
+ 1
903
+ ];
904
+ /**
905
+ * The tone for one status colour over a ground. When no step towards the
906
+ * palette's text clears the tint, the ink solver's measured neutral (black or
907
+ * white) does, so the text is always readable. Pure, so the per-palette sweep
908
+ * can check every result.
909
+ */
910
+ function decideStatusTone(input) {
911
+ const { statusHex, groundHex, textHex } = input;
912
+ const background = compositeHex(statusHex, TINT_ALPHA, groundHex);
913
+ return {
914
+ background,
915
+ text: INK_STEPS.map((step) => step === 0 ? statusHex : compositeHex(textHex, step, statusHex)).find((ink) => contrastRatio(ink, background) >= 4.5) ?? measuredNeutral(background),
916
+ border: statusHex
917
+ };
918
+ }
919
+ /** Black or white, whichever reads on the tint; the tint is opaque, so one always clears. */
920
+ function measuredNeutral(background) {
921
+ const ink = neutralInk(solidPaint(background), ORDINARY_TEXT_MIN_CONTRAST_RATIO);
922
+ return ink.kind === "ink" ? ink.hex : "#000000";
923
+ }
924
+ /** Every tone for a palette, over its page background, or null when the palette can't be read. */
925
+ function decideStatusTones(palette) {
926
+ const groundHex = resolveConcreteColorHex("background", palette);
927
+ const textHex = resolveConcreteColorHex("text", palette);
928
+ if (!groundHex || !textHex) return null;
929
+ const tone = (name) => {
930
+ const statusHex = resolveConcreteColorHex(TONE_SOURCE[name], palette);
931
+ return statusHex ? decideStatusTone({
932
+ statusHex,
933
+ groundHex,
934
+ textHex
935
+ }) : null;
936
+ };
937
+ const ok = tone("ok");
938
+ const attention = tone("attention");
939
+ const problem = tone("problem");
940
+ return ok && attention && problem ? {
941
+ ok,
942
+ attention,
943
+ problem
944
+ } : null;
945
+ }
946
+ /**
947
+ * The `--rb-tone-*` declarations for a palette. Without a readable palette the
948
+ * tones fall back to the plain text colour on the surface, which is always
949
+ * legible (the glyph and words still carry the meaning).
950
+ */
951
+ function statusToneDeclarations(palette) {
952
+ const tones = decideStatusTones(palette);
953
+ return statusToneNames.flatMap((name) => {
954
+ const tone = tones?.[name];
955
+ return tone ? [
956
+ `--rb-tone-${name}-bg: ${tone.background};`,
957
+ `--rb-tone-${name}-text: ${tone.text};`,
958
+ `--rb-tone-${name}-border: ${tone.border};`
959
+ ] : [
960
+ `--rb-tone-${name}-bg: transparent;`,
961
+ `--rb-tone-${name}-text: currentColor;`,
962
+ `--rb-tone-${name}-border: currentColor;`
963
+ ];
964
+ });
965
+ }
966
+ //#endregion
857
967
  //#region ../theme-core/src/status/generateStatusCss.ts
858
968
  /**
859
969
  * Corner radius map - derives alert border-radius from theme.corners
@@ -881,6 +991,7 @@ const CORNER_MAP = {
881
991
  function generateStatusCss({ themeId, theme, palette }) {
882
992
  const root = `:where([data-theme-scope="${themeId}"])`;
883
993
  return [
994
+ generateStatusToneCss(root, palette),
884
995
  generateStatusTextCss(root),
885
996
  generateAlertCss(root, CORNER_MAP[theme.corners], palette),
886
997
  generateFieldNoteCss(root),
@@ -888,6 +999,13 @@ function generateStatusCss({ themeId, theme, palette }) {
888
999
  generateButtonLinkCss(root)
889
1000
  ].join("\n\n");
890
1001
  }
1002
+ /** Measured status tones (see statusTones.ts) for chips and notices. */
1003
+ function generateStatusToneCss(root, palette) {
1004
+ return `/* Status tones */
1005
+ ${root} {
1006
+ ${statusToneDeclarations(palette).join("\n ")}
1007
+ }`;
1008
+ }
891
1009
  function generateStatusTextCss(root) {
892
1010
  return `/* Status text indicators */
893
1011
  ${root} .status-error { color: rgb(var(--tb-destructive)); }
@@ -1580,120 +1698,6 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="form"])`} {
1580
1698
  `;
1581
1699
  }
1582
1700
  //#endregion
1583
- //#region ../theme-core/src/runtime/themeCssVarNames.ts
1584
- const THEME_RADIUS_CSS_VARS = {
1585
- block: "--rb-block-radius",
1586
- button: "--rb-button-radius",
1587
- input: "--rb-input-radius",
1588
- panel: "--rb-panel-radius",
1589
- legacyCard: "--radius-card",
1590
- legacyControl: "--radius-control"
1591
- };
1592
- //#endregion
1593
- //#region ../theme-core/src/blocks/vars/customer-portal.ts
1594
- /**
1595
- * Generate CSS variables for the customer-portal block.
1596
- *
1597
- * Variables defined:
1598
- * - Container styling (background, border, shadow)
1599
- * - Input and form control styling
1600
- * - Tab navigation colors
1601
- * - Status badges (success, warning, error, info, default)
1602
- * - Progress indicators for credit bars
1603
- * - Card styling
1604
- * - Alert/notification styling
1605
- *
1606
- * Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
1607
- */
1608
- function generateCustomerPortalVars({ themeId, surface }) {
1609
- const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
1610
- return `
1611
- ${root} {${customerPortalVars}
1612
- }
1613
- ${root} .cp-login {
1614
- ${surfaceInkDeclarations(surfaceInkPublication(surface ? resolveSurfaceForeground({
1615
- type: "color",
1616
- color: "surface"
1617
- }, surface.palette) : { kind: "unmeasured-paint" }, surface?.solvedInks ?? "withhold")).join("\n ")}
1618
- }
1619
- `;
1620
- }
1621
- const customerPortalVars = `
1622
- /* Container */
1623
- --cp-bg: rgb(var(--tb-surface));
1624
- --cp-text: rgb(var(--tb-text));
1625
- --cp-muted: rgb(var(--tb-mutedText));
1626
- --cp-border: rgb(var(--tb-border));
1627
- --cp-shadow: var(--shadow-elev);
1628
- --cp-primary: rgb(var(--tb-primary));
1629
- --cp-primary-hover: rgb(var(--tb-primary-700, var(--tb-primary)));
1630
- --cp-error: rgb(var(--tb-destructive));
1631
- --cp-card-radius: var(${THEME_RADIUS_CSS_VARS.block}, var(${THEME_RADIUS_CSS_VARS.legacyCard}, 0.75rem));
1632
- --cp-control-radius: var(${THEME_RADIUS_CSS_VARS.input}, var(${THEME_RADIUS_CSS_VARS.legacyControl}, 0.5rem));
1633
-
1634
- /* Shared tab bar (underline style) */
1635
- --rb-tab-border-width: 1px;
1636
- --rb-tab-border-color: rgb(var(--tb-border));
1637
- --rb-tab-active-border-width: 2px;
1638
- --rb-tab-active-color: rgb(var(--tb-primary));
1639
- --rb-tab-text: rgb(var(--tb-text));
1640
- --rb-tab-opacity: 0.7;
1641
-
1642
- /* Badge - Success (active, confirmed) */
1643
- --cp-badge-success-bg: rgb(var(--tb-success) / 0.1);
1644
- --cp-badge-success-text: rgb(var(--tb-success));
1645
-
1646
- /* Badge - Warning (paused, low credits, waitlist) */
1647
- --cp-badge-warning-bg: rgb(var(--tb-warning) / 0.1);
1648
- --cp-badge-warning-text: rgb(var(--tb-warning));
1649
-
1650
- /* Badge - Error (canceled, expired, past_due) */
1651
- --cp-badge-error-bg: rgb(var(--tb-destructive) / 0.1);
1652
- --cp-badge-error-text: rgb(var(--tb-destructive));
1653
-
1654
- /* Badge - Info (trialing, scheduled) */
1655
- --cp-badge-info-bg: rgb(var(--tb-primary) / 0.1);
1656
- --cp-badge-info-text: rgb(var(--tb-primary));
1657
-
1658
- /* Badge - Default (neutral states) */
1659
- --cp-badge-default-bg: rgb(var(--tb-mutedText) / 0.1);
1660
- --cp-badge-default-text: rgb(var(--tb-mutedText));
1661
-
1662
- /* Progress bar (for credit display) */
1663
- --cp-progress-bg: rgb(var(--tb-border));
1664
- --cp-progress-fill: rgb(var(--tb-primary));
1665
-
1666
- /* Card styling */
1667
- --cp-card-bg: rgb(var(--tb-surface));
1668
- --cp-card-border: rgb(var(--tb-border));
1669
-
1670
- /* Alert/notification */
1671
- --cp-alert-success-bg: rgb(var(--tb-success) / 0.1);
1672
- --cp-alert-success-text: rgb(var(--tb-success));
1673
- --cp-alert-success-border: rgb(var(--tb-success));
1674
- --cp-alert-error-bg: rgb(var(--tb-destructive) / 0.1);
1675
- --cp-alert-error-text: rgb(var(--tb-destructive));
1676
- --cp-alert-error-border: rgb(var(--tb-destructive));
1677
-
1678
- /* Modal (shared rb-modal classes) */
1679
- --rb-modal-overlay-bg: rgb(var(--tb-text, 0 0 0) / 0.35);
1680
- --rb-modal-bg: var(--cp-card-bg);
1681
- --rb-modal-text: var(--cp-text);
1682
- --rb-modal-heading: var(--cp-text);
1683
- --rb-modal-link: var(--cp-primary);
1684
- --rb-modal-supporting: var(--cp-muted);
1685
- --rb-modal-border: var(--cp-card-border);
1686
- --rb-modal-shadow: var(--shadow-lg, var(--shadow-elev));
1687
- --rb-modal-radius: var(--cp-card-radius);
1688
- --rb-modal-max-width: 560px;
1689
-
1690
- /* Header */
1691
- --cp-header-bg: transparent;
1692
- --cp-header-border: rgb(var(--tb-border));
1693
-
1694
- /* Section */
1695
- --cp-section-bg: transparent;`;
1696
- //#endregion
1697
1701
  //#region ../theme-core/src/blocks/vars/testimonials.ts
1698
1702
  const QUOTE_SCALE_SIZE = {
1699
1703
  sm: "2.5rem",
@@ -1788,7 +1792,6 @@ blockVarRegistry.set("event-spotlight", generateEventSpotlightVars);
1788
1792
  blockVarRegistry.set("event-combined", generateEventCombinedVars);
1789
1793
  blockVarRegistry.set("appointment-booking", generateAppointmentBookingVars);
1790
1794
  blockVarRegistry.set("form", generateFormBlockVars);
1791
- blockVarRegistry.set("customer-portal", generateCustomerPortalVars);
1792
1795
  blockVarRegistry.set("testimonials", generateTestimonialsVars);
1793
1796
  /**
1794
1797
  * Generate all Tier 3 block-specific CSS variables.
@@ -1955,6 +1958,16 @@ function compileRule(selector, declarations, scopePrefix) {
1955
1958
  return `${prefixSelector(selector, scopePrefix)} {\n${declarationLines}\n}`;
1956
1959
  }
1957
1960
  //#endregion
1961
+ //#region ../theme-core/src/runtime/themeCssVarNames.ts
1962
+ const THEME_RADIUS_CSS_VARS = {
1963
+ block: "--rb-block-radius",
1964
+ button: "--rb-button-radius",
1965
+ input: "--rb-input-radius",
1966
+ panel: "--rb-panel-radius",
1967
+ legacyCard: "--radius-card",
1968
+ legacyControl: "--radius-control"
1969
+ };
1970
+ //#endregion
1958
1971
  //#region ../theme-core/src/runtime/themeStylesheet.ts
1959
1972
  const channels = [
1960
1973
  ["layoutCss", "data-layout-styles"],
@@ -2016,4 +2029,4 @@ function ThemeScopeCore({ cssVars, dataAttrs, responsiveMode = DEFAULT_THEME_RES
2016
2029
  });
2017
2030
  }
2018
2031
  //#endregion
2019
- export { generateShadowCssVars as A, INPUT_ERROR_BORDER_COLOR_VAR as C, RESOLVED_BUTTON_DISABLED_DECLARATIONS as D, generateOpaquePanelCss as E, cardBorderDeclarations as M, cardDecorationPseudoRules as N, resolvedButtonColourDeclarations as O, INPUT_EDGE_COLOR_VAR as S, generateCheckableCss as T, getResponsiveScopeSpec as _, prefixSelector as a, INPUT_GROUP_SELECTOR as b, parseCustomCssRules as c, THEME_RADIUS_CSS_VARS as d, generateTypographyCss as f, THEME_RESPONSIVE_CONTAINER_NAME as g, DEFAULT_THEME_RESPONSIVE_MODE as h, escapeStyleContent as i, renderCssDeclarations as j, resolvedButtonFocusDeclarations as k, generateAllBlockVarsCss as l, generateStatusCss as m, compileBlockCustomCssRules as n, toKebabCase as o, generateProgressCss as p, compileCustomCssRules as r, parseBlockCustomCssRules as s, ThemeScopeCore as t, generateBlockCustomVarsCss as u, INPUT_GROUP_ERROR_SELECTOR as v, inputEdgeColorValue as w, generateInputGroupCss as x, INPUT_GROUP_FOCUS_SELECTOR as y };
2032
+ export { generateShadowCssVars as A, INPUT_ERROR_BORDER_COLOR_VAR as C, RESOLVED_BUTTON_DISABLED_DECLARATIONS as D, generateOpaquePanelCss as E, cardBorderDeclarations as M, cardDecorationPseudoRules as N, resolvedButtonColourDeclarations as O, INPUT_EDGE_COLOR_VAR as S, generateCheckableCss as T, getResponsiveScopeSpec as _, escapeStyleContent as a, INPUT_GROUP_SELECTOR as b, parseBlockCustomCssRules as c, generateBlockCustomVarsCss as d, generateTypographyCss as f, THEME_RESPONSIVE_CONTAINER_NAME as g, DEFAULT_THEME_RESPONSIVE_MODE as h, compileCustomCssRules as i, renderCssDeclarations as j, resolvedButtonFocusDeclarations as k, parseCustomCssRules as l, generateStatusCss as m, THEME_RADIUS_CSS_VARS as n, prefixSelector as o, generateProgressCss as p, compileBlockCustomCssRules as r, toKebabCase as s, ThemeScopeCore as t, generateAllBlockVarsCss as u, INPUT_GROUP_ERROR_SELECTOR as v, inputEdgeColorValue as w, generateInputGroupCss as x, INPUT_GROUP_FOCUS_SELECTOR as y };
@@ -1,4 +1,5 @@
1
- import { A as deriveSurfaceMutedColor, B as preparePaletteColourIndex, Ct as paletteColorsFromEntries, D as colourFamily, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, F as pickBlackOrWhiteTextColor, G as hexToRgb, H as solidPaint, I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as assertContrastRatio, N as onColorTokenName, O as oklabDistance, R as contrastRatio, Tt as paletteModeSchema, U as worstContrast, V as relativeLuminance, W as featuresFromHex, X as rgbToHex, Y as oklchToOklab, _t as PALETTE_TOKEN_NAMES, d as generateShadowValue, j as expandPalette, k as deriveSurfaceDecorationColors, l as ELEVATION_OFFSET, mt as rgbColorValue, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as STANDARD_BUTTON_SURFACE_POLICY, q as oklabToSrgb, s as BORDER_WIDTH_MAP, t as buttonStateBorder, tt as completeSurfaceForegrounds, u as FONT_SIZE_MAP, w as opaqueButtonColourTokenSchema, x as buttonSystemSchema, xt as normalizePaletteHex, yt as hexColorSchema, z as maxContrastBlackOrWhite } from "./resolveButtonColourStates--6yJp9Tq.mjs";
1
+ import { G as paletteColorsFromEntries, J as parseColorTokenParts, N as rgbColorValue, U as normalizePaletteHex, V as hexColorSchema, Y as parseThemeColorToken, b as completeSurfaceForegrounds, g as VARIANT_ROLES, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, q as paletteModeSchema, u as buttonSystemSchema, z as PALETTE_TOKEN_NAMES } from "./types-BKaBZFjD.mjs";
2
+ import { A as featuresFromHex, C as contrastRatio, D as relativeLuminance, E as preparePaletteColourIndex, F as oklchToOklab, I as rgbToHex, N as oklabToSrgb, O as solidPaint, S as assertContrastRatio, T as maxContrastBlackOrWhite, b as pickBlackOrWhiteTextColor, d as generateShadowValue, f as colourFamily, g as expandPalette, h as deriveSurfaceMutedColor, j as hexToRgb, k as worstContrast, l as ELEVATION_OFFSET, m as deriveSurfaceDecorationColors, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as oklabDistance, s as BORDER_WIDTH_MAP, t as buttonStateBorder, u as FONT_SIZE_MAP, v as onColorTokenName, w as hexLuminance, x as ORDINARY_TEXT_MIN_CONTRAST_RATIO } from "./resolveButtonColourStates-B0O1IM16.mjs";
2
3
  import { z } from "zod";
3
4
  //#region ../theme-core/src/palette/colors.ts
4
5
  const PALETTE_VALUE_KEY_PREFIX = "palette-value:v1|";
@@ -340,6 +341,36 @@ function inkFrom(family, paint, ratio, maxDistance = BRAND_INK_MAX_DELTA_E) {
340
341
  source: "family"
341
342
  };
342
343
  }
344
+ /**
345
+ * Neutral text for a paint. The style's preferred neutral wins when one of its
346
+ * pair clears (the higher-contrast one, dark on a tie); otherwise literal black
347
+ * or white by `maxContrastBlackOrWhite`; otherwise `unpaintable`.
348
+ */
349
+ function neutralInk(paint, ratio, preferred) {
350
+ assertContrastRatio(ratio);
351
+ if (preferred) {
352
+ const dark = worstContrast(hexLuminance(preferred.dark), paint);
353
+ const light = worstContrast(hexLuminance(preferred.light), paint);
354
+ const [hex, achieved] = dark >= light ? [preferred.dark, dark] : [preferred.light, light];
355
+ if (achieved >= ratio) return {
356
+ kind: "ink",
357
+ hex,
358
+ ratio: achieved,
359
+ source: "neutral"
360
+ };
361
+ }
362
+ const literal = maxContrastBlackOrWhite(paint);
363
+ return literal.ratio >= ratio ? {
364
+ kind: "ink",
365
+ hex: literal.ink === "black" ? "#000000" : "#ffffff",
366
+ ratio: literal.ratio,
367
+ source: "neutral"
368
+ } : {
369
+ kind: "unpaintable",
370
+ interval: paint,
371
+ ratio
372
+ };
373
+ }
343
374
  //#endregion
344
375
  //#region ../theme-core/src/surfaces/surfaceInks.ts
345
376
  /** Lines and focus rings are graphics: WCAG non-text contrast. */
@@ -2606,4 +2637,4 @@ function mapSurfaceTreeChildren(value, map) {
2606
2637
  return isSurfaceTreeRecord(value) ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, map(item)])) : value;
2607
2638
  }
2608
2639
  //#endregion
2609
- export { resolveOnColorForThemeToken as A, HOVER_TEXT_THRESHOLD as B, materializeRuntimeButtonAppearance as C, mapButtonRoleAppearances as D, defineButtonStyleRecipe as E, resolveSurfaceForeground as F, resolveConcreteColorHex as G, contrastThresholdByPolicy as H, safeTokenOr as I, paletteValueKeySchema as J, resolveOpaqueSurfaceHex as K, surfaceInkPublication as L, resolveTokenOrCssColorValue as M, freezeOwnedThemeValue as N, mapButtonVisualAppearances as O, ownedThemeSnapshot as P, CONTROL_EDGE_SEED_TOKEN as R, buttonTypographyDeclarations as S, PUBLIC_BUTTON_ROLES as T, inkReference as U, certifyPaint as V, planForegroundHover as W, requirePaletteColorsFromEntries as Y, contextualButtonSurfaceResetStyles as _, requireResolvedSurface as a, buttonShadow as b, surfaceButtonRequest as c, toAccessibleColorSurfaceIntent as d, compositeHex as f, actionVariableFallback as g, scrimTone as h, prepareThemeSurfaceRevision as i, resolveThemeColorReferenceValue as j, isCssColorLiteral as k, surfaceDecorationColors as l, minimumScrimOpacity as m, parseSurfaceTree as n, resolveSurface as o, gradientScrimSamples as p, paletteValueKey as q, prepareSurfaceIndex as r, serializeSurfaceTree as s, parseResolvedSurface as t, surfaceTransportContext as u, buttonBorder as v, paddingDeclarations as w, buttonStateAppearanceDeclarations as x, buttonRadius as y, solveSurfaceInks as z };
2640
+ export { resolveOnColorForThemeToken as A, neutralInk as B, materializeRuntimeButtonAppearance as C, mapButtonRoleAppearances as D, defineButtonStyleRecipe as E, resolveSurfaceForeground as F, planForegroundHover as G, certifyPaint as H, safeTokenOr as I, paletteValueKey as J, resolveConcreteColorHex as K, surfaceInkPublication as L, resolveTokenOrCssColorValue as M, freezeOwnedThemeValue as N, mapButtonVisualAppearances as O, ownedThemeSnapshot as P, CONTROL_EDGE_SEED_TOKEN as R, buttonTypographyDeclarations as S, PUBLIC_BUTTON_ROLES as T, contrastThresholdByPolicy as U, HOVER_TEXT_THRESHOLD as V, inkReference as W, requirePaletteColorsFromEntries as X, paletteValueKeySchema as Y, contextualButtonSurfaceResetStyles as _, requireResolvedSurface as a, buttonShadow as b, surfaceButtonRequest as c, toAccessibleColorSurfaceIntent as d, compositeHex as f, actionVariableFallback as g, scrimTone as h, prepareThemeSurfaceRevision as i, resolveThemeColorReferenceValue as j, isCssColorLiteral as k, surfaceDecorationColors as l, minimumScrimOpacity as m, parseSurfaceTree as n, resolveSurface as o, gradientScrimSamples as p, resolveOpaqueSurfaceHex as q, prepareSurfaceIndex as r, serializeSurfaceTree as s, parseResolvedSurface as t, surfaceTransportContext as u, buttonBorder as v, paddingDeclarations as w, buttonStateAppearanceDeclarations as x, buttonRadius as y, solveSurfaceInks as z };