@riverbankcms/sdk 0.180.0 → 0.182.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.
- package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
- package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
- package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
- package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
- package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- package/dist/_dts/sdk/src/index.d.ts +104 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +83 -52
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
- package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
- package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
- package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
- package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
- package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
- package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
- package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
- package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
- package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
- package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
- package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
- package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
- package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
- package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
- package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
- package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
- package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
- package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
- package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +17 -11
- package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
- package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
- package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +106 -43
- package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
- package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
- package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
- package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
- package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
- package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
- package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
- package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
- package/dist/client/gifting/client.mjs +32 -29
- package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
- package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
- package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
- package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
- package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
- package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
- package/dist/client/portal/client.mjs +12202 -7166
- package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
- package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
- package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
- package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -8
- package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
- package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
- package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
- package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
- package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-Al4ooTl_.mjs +164 -0
- package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
- package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
- package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
- package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
- package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
- package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
- package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
- package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
- package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
- package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +203 -174
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
- package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
- package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
- package/dist/server/accordions-By_0Ykks.mjs +111 -0
- package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
- package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-CeMywaiD.mjs +1485 -0
- package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
- package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
- package/dist/server/manifest.mjs +36 -25
- package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
- package/dist/server/media-BRmYrnzb.mjs +31 -0
- package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
- package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +134 -81
- package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
- package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
- package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
- package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
- package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
- package/dist/server/portal.mjs +3 -3
- package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
- package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
- package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +10 -9
- package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
- package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
- package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
- package/dist/server/theme-bridge.mjs +34 -8
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
- package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
- package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
- package/dist/server/types-BKaBZFjD.mjs +1085 -0
- package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
- package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/server/video-Cdr3wh-q.mjs +272 -0
- package/dist/styles/index.css +1098 -1885
- package/package.json +2 -1
- package/dist/_dts/index-B0_2-65A.d.ts +0 -101
- package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
- package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
- package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
- package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
- package/dist/server/constants-Cj7hfbrA.mjs +0 -41
- package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
- package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
|
@@ -1320,7 +1320,11 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1320
1320
|
method: "DELETE",
|
|
1321
1321
|
auth: "user",
|
|
1322
1322
|
responseKind: "json",
|
|
1323
|
-
errors: [
|
|
1323
|
+
errors: [
|
|
1324
|
+
"resource:not_found",
|
|
1325
|
+
"resource:conflict",
|
|
1326
|
+
"server:internal_error"
|
|
1327
|
+
]
|
|
1324
1328
|
},
|
|
1325
1329
|
getAppointmentSetup: {
|
|
1326
1330
|
path: "/sites/{siteId}/bookings/appointment-setup",
|
|
@@ -3149,6 +3153,21 @@ const GIFTING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3149
3153
|
"server:internal_error"
|
|
3150
3154
|
]
|
|
3151
3155
|
},
|
|
3156
|
+
changeGiftExpiry: {
|
|
3157
|
+
path: "/sites/{siteId}/gifting/gifts/{giftId}/expiry",
|
|
3158
|
+
method: "POST",
|
|
3159
|
+
tags: ["site-{siteId}", "gifting-gifts-{siteId}"],
|
|
3160
|
+
auth: "user",
|
|
3161
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN,
|
|
3162
|
+
responseKind: "json",
|
|
3163
|
+
errors: [
|
|
3164
|
+
"validation:invalid_input",
|
|
3165
|
+
"auth:forbidden",
|
|
3166
|
+
"resource:not_found",
|
|
3167
|
+
"resource:conflict",
|
|
3168
|
+
"server:internal_error"
|
|
3169
|
+
]
|
|
3170
|
+
},
|
|
3152
3171
|
updateGiftingSettings: {
|
|
3153
3172
|
path: "/sites/{siteId}/gifting/settings",
|
|
3154
3173
|
method: "PATCH",
|
|
@@ -6887,7 +6906,7 @@ const API_ENDPOINTS = {
|
|
|
6887
6906
|
],
|
|
6888
6907
|
auth: "public",
|
|
6889
6908
|
responseKind: "json",
|
|
6890
|
-
errors: ["
|
|
6909
|
+
errors: ["server:internal_error"]
|
|
6891
6910
|
},
|
|
6892
6911
|
resolveRouteDecision: {
|
|
6893
6912
|
path: "/sites/{siteId}/route-decision",
|
|
@@ -6899,7 +6918,7 @@ const API_ENDPOINTS = {
|
|
|
6899
6918
|
],
|
|
6900
6919
|
auth: "public",
|
|
6901
6920
|
responseKind: "json",
|
|
6902
|
-
errors: ["
|
|
6921
|
+
errors: ["server:internal_error"]
|
|
6903
6922
|
},
|
|
6904
6923
|
getPageByPath: {
|
|
6905
6924
|
path: "/sites/{siteId}/pages",
|
|
@@ -7450,7 +7469,7 @@ const API_ENDPOINTS = {
|
|
|
7450
7469
|
tags: ["backup"],
|
|
7451
7470
|
auth: "user",
|
|
7452
7471
|
responseKind: "json",
|
|
7453
|
-
errors: ["
|
|
7472
|
+
errors: ["server:internal_error"]
|
|
7454
7473
|
},
|
|
7455
7474
|
deleteBackupUpload: {
|
|
7456
7475
|
path: "/backup/upload",
|
|
@@ -8086,7 +8105,7 @@ const API_ENDPOINTS = {
|
|
|
8086
8105
|
auth: "user",
|
|
8087
8106
|
responseKind: "json",
|
|
8088
8107
|
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
|
|
8089
|
-
errors: ["
|
|
8108
|
+
errors: ["server:internal_error"]
|
|
8090
8109
|
},
|
|
8091
8110
|
getBookingPass: {
|
|
8092
8111
|
path: "/sites/{siteId}/bookings/passes/{passId}",
|
|
@@ -8164,7 +8183,7 @@ const API_ENDPOINTS = {
|
|
|
8164
8183
|
auth: "user",
|
|
8165
8184
|
responseKind: "json",
|
|
8166
8185
|
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
|
|
8167
|
-
errors: ["
|
|
8186
|
+
errors: ["server:internal_error"]
|
|
8168
8187
|
},
|
|
8169
8188
|
getBookingMembership: {
|
|
8170
8189
|
path: "/sites/{siteId}/bookings/memberships/{membershipId}",
|
|
@@ -9414,18 +9433,23 @@ const API_ENDPOINTS = {
|
|
|
9414
9433
|
auth: "public",
|
|
9415
9434
|
responseKind: "json"
|
|
9416
9435
|
},
|
|
9417
|
-
|
|
9418
|
-
path: "/portal/
|
|
9436
|
+
portalGetDetails: {
|
|
9437
|
+
path: "/portal/details",
|
|
9419
9438
|
method: "GET",
|
|
9420
9439
|
auth: "public",
|
|
9421
|
-
responseKind: "json"
|
|
9440
|
+
responseKind: "json",
|
|
9441
|
+
errors: ["server:internal_error"]
|
|
9422
9442
|
},
|
|
9423
|
-
|
|
9424
|
-
path: "/portal/
|
|
9425
|
-
method: "
|
|
9426
|
-
errors: [],
|
|
9443
|
+
portalUpdateNewsletter: {
|
|
9444
|
+
path: "/portal/details/newsletter",
|
|
9445
|
+
method: "PATCH",
|
|
9427
9446
|
auth: "public",
|
|
9428
|
-
responseKind: "json"
|
|
9447
|
+
responseKind: "json",
|
|
9448
|
+
errors: [
|
|
9449
|
+
"validation:invalid_input",
|
|
9450
|
+
"resource:conflict",
|
|
9451
|
+
"server:internal_error"
|
|
9452
|
+
]
|
|
9429
9453
|
},
|
|
9430
9454
|
portalCreateOrderCheckout: {
|
|
9431
9455
|
path: "/portal/orders/{orderId}/checkout",
|
|
@@ -9466,42 +9490,78 @@ const API_ENDPOINTS = {
|
|
|
9466
9490
|
auth: "public",
|
|
9467
9491
|
responseKind: "json"
|
|
9468
9492
|
},
|
|
9469
|
-
|
|
9470
|
-
path: "/portal/
|
|
9493
|
+
portalGetEventTicket: {
|
|
9494
|
+
path: "/portal/events/{registrationId}/ticket",
|
|
9471
9495
|
method: "GET",
|
|
9472
9496
|
auth: "public",
|
|
9473
9497
|
responseKind: "json"
|
|
9474
9498
|
},
|
|
9475
|
-
|
|
9476
|
-
path: "/portal/
|
|
9499
|
+
portalGetRegularSessions: {
|
|
9500
|
+
path: "/portal/appointments/regular-sessions",
|
|
9477
9501
|
method: "GET",
|
|
9478
9502
|
auth: "public",
|
|
9479
|
-
responseKind: "json"
|
|
9503
|
+
responseKind: "json",
|
|
9504
|
+
errors: ["server:internal_error"]
|
|
9480
9505
|
},
|
|
9481
|
-
|
|
9482
|
-
path: "/portal/
|
|
9506
|
+
portalGetBookings: {
|
|
9507
|
+
path: "/portal/bookings",
|
|
9483
9508
|
method: "GET",
|
|
9484
9509
|
auth: "public",
|
|
9485
|
-
responseKind: "json"
|
|
9510
|
+
responseKind: "json",
|
|
9511
|
+
errors: ["server:internal_error"]
|
|
9486
9512
|
},
|
|
9487
|
-
|
|
9488
|
-
path: "/portal/
|
|
9513
|
+
portalGetHome: {
|
|
9514
|
+
path: "/portal/home",
|
|
9489
9515
|
method: "GET",
|
|
9490
9516
|
auth: "public",
|
|
9491
|
-
responseKind: "json"
|
|
9517
|
+
responseKind: "json",
|
|
9518
|
+
errors: ["server:internal_error"]
|
|
9492
9519
|
},
|
|
9493
|
-
|
|
9494
|
-
path: "/portal/
|
|
9520
|
+
portalGetOccurrenceBookings: {
|
|
9521
|
+
path: "/portal/occurrences/{occurrenceId}/bookings",
|
|
9495
9522
|
method: "GET",
|
|
9496
9523
|
auth: "public",
|
|
9497
9524
|
responseKind: "json",
|
|
9498
9525
|
errors: ["server:internal_error"]
|
|
9499
9526
|
},
|
|
9500
|
-
|
|
9501
|
-
path: "/portal/
|
|
9527
|
+
portalGetHoldings: {
|
|
9528
|
+
path: "/portal/holdings",
|
|
9502
9529
|
method: "GET",
|
|
9503
9530
|
auth: "public",
|
|
9504
|
-
responseKind: "json"
|
|
9531
|
+
responseKind: "json",
|
|
9532
|
+
errors: ["server:internal_error"]
|
|
9533
|
+
},
|
|
9534
|
+
portalGetPayments: {
|
|
9535
|
+
path: "/portal/payments",
|
|
9536
|
+
method: "GET",
|
|
9537
|
+
auth: "public",
|
|
9538
|
+
responseKind: "json",
|
|
9539
|
+
errors: ["server:internal_error"]
|
|
9540
|
+
},
|
|
9541
|
+
portalGetReceipt: {
|
|
9542
|
+
path: "/portal/payments/receipts/{receiptId}",
|
|
9543
|
+
method: "GET",
|
|
9544
|
+
auth: "public",
|
|
9545
|
+
responseKind: "json",
|
|
9546
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
9547
|
+
},
|
|
9548
|
+
portalGetOrder: {
|
|
9549
|
+
path: "/portal/orders/{orderId}",
|
|
9550
|
+
method: "GET",
|
|
9551
|
+
auth: "public",
|
|
9552
|
+
responseKind: "json",
|
|
9553
|
+
errors: [
|
|
9554
|
+
"resource:not_found",
|
|
9555
|
+
"resource:gone",
|
|
9556
|
+
"server:internal_error"
|
|
9557
|
+
]
|
|
9558
|
+
},
|
|
9559
|
+
portalGetBooking: {
|
|
9560
|
+
path: "/portal/bookings/{kind}/{bookingId}",
|
|
9561
|
+
method: "GET",
|
|
9562
|
+
auth: "public",
|
|
9563
|
+
responseKind: "json",
|
|
9564
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
9505
9565
|
},
|
|
9506
9566
|
portalGetAppointmentBookingQuestions: {
|
|
9507
9567
|
path: "/portal/appointments/{appointmentId}/booking-questions",
|
|
@@ -9602,13 +9662,6 @@ const API_ENDPOINTS = {
|
|
|
9602
9662
|
"server:internal_error"
|
|
9603
9663
|
]
|
|
9604
9664
|
},
|
|
9605
|
-
portalGetWholeSeriesRegistrations: {
|
|
9606
|
-
path: "/portal/dated-offerings/whole-series",
|
|
9607
|
-
method: "GET",
|
|
9608
|
-
auth: "public",
|
|
9609
|
-
responseKind: "json",
|
|
9610
|
-
errors: ["server:internal_error"]
|
|
9611
|
-
},
|
|
9612
9665
|
portalGetWholeSeriesBookingQuestions: {
|
|
9613
9666
|
path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions",
|
|
9614
9667
|
method: "GET",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-
|
|
4
|
-
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-
|
|
1
|
+
import { Dr as resolveDateRuntimeContext, Er as readRuntimeNow, _r as siteFooterManifest, ht as setContextResolveImageUrlContext, lc as toUtcIsoDateTimeString, pt as buildResolveImageUrlContext, t as getBlockDefinition, vr as siteHeaderManifest } from "./registry-Cc88-23f.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-CG8O31Eo.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-D2-YMRei.mjs";
|
|
4
|
+
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-wrcuWmgp.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-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-BxUETRIZ.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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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 { I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as contrastRatio, M as resolveOpaqueSurfaceHex, S as neutralInk, V as solidPaint, a as compositeHex, j as resolveConcreteColorHex, t as SURFACE_SECONDARY_TEXT_TINT_ALPHA } from "./expandPalette-ehuW8r2g.mjs";
|
|
3
|
+
import { F as solveSurfaceInks, M as safeTokenOr, f as actionVariableFallback, j as resolveSurfaceForeground, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-Dskni4Xj.mjs";
|
|
4
|
+
import { a as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-C9kgPHvr.mjs";
|
|
5
|
+
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-H0fi4bJk.mjs";
|
|
5
6
|
import "react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -861,6 +862,108 @@ function buildResponsiveScopeRulePatternSource() {
|
|
|
861
862
|
].join("\\s*");
|
|
862
863
|
}
|
|
863
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
|
|
864
967
|
//#region ../theme-core/src/status/generateStatusCss.ts
|
|
865
968
|
/**
|
|
866
969
|
* Corner radius map - derives alert border-radius from theme.corners
|
|
@@ -888,6 +991,7 @@ const CORNER_MAP = {
|
|
|
888
991
|
function generateStatusCss({ themeId, theme, palette }) {
|
|
889
992
|
const root = `:where([data-theme-scope="${themeId}"])`;
|
|
890
993
|
return [
|
|
994
|
+
generateStatusToneCss(root, palette),
|
|
891
995
|
generateStatusTextCss(root),
|
|
892
996
|
generateAlertCss(root, CORNER_MAP[theme.corners], palette),
|
|
893
997
|
generateFieldNoteCss(root),
|
|
@@ -895,6 +999,13 @@ function generateStatusCss({ themeId, theme, palette }) {
|
|
|
895
999
|
generateButtonLinkCss(root)
|
|
896
1000
|
].join("\n\n");
|
|
897
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
|
+
}
|
|
898
1009
|
function generateStatusTextCss(root) {
|
|
899
1010
|
return `/* Status text indicators */
|
|
900
1011
|
${root} .status-error { color: rgb(var(--tb-destructive)); }
|
|
@@ -1278,9 +1389,16 @@ const registrationSurfaceVars = `
|
|
|
1278
1389
|
--er-event-card-border-width: var(--rb-border-width, 1px);
|
|
1279
1390
|
--er-event-card-hover-opacity: 1;
|
|
1280
1391
|
--er-control-bg: rgb(var(--tb-background, var(--tb-surface)));
|
|
1392
|
+
/* Secondary text on those controls: the background's own solved muted ink,
|
|
1393
|
+
not the surface's, which a dark surface would leave unreadable here. */
|
|
1394
|
+
--er-control-muted: rgb(var(--tb-onBackgroundMuted, var(--tb-mutedText, var(--tb-text))));
|
|
1281
1395
|
--er-control-text: rgb(var(--tb-foreground, var(--tb-text)));
|
|
1282
1396
|
--er-radius: var(--rb-block-radius);
|
|
1283
|
-
|
|
1397
|
+
/* Tints under text read their ground's faded tint where the palette
|
|
1398
|
+
publishes one (a tint that ground's muted ink can't read on), else the
|
|
1399
|
+
colour itself: page-background tints for the controls, surface tints
|
|
1400
|
+
elsewhere. */
|
|
1401
|
+
--er-surface-muted: rgb(var(--tb-surfaceTintMuted, var(--tb-muted, 241 245 249)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.muted});
|
|
1284
1402
|
--er-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
1285
1403
|
|
|
1286
1404
|
/* Step indicator */
|
|
@@ -1290,7 +1408,7 @@ const registrationSurfaceVars = `
|
|
|
1290
1408
|
--er-step-title-size: 1.75rem;
|
|
1291
1409
|
|
|
1292
1410
|
/* State backgrounds with alpha */
|
|
1293
|
-
--er-info-bg: rgb(var(--tb-primary) /
|
|
1411
|
+
--er-info-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
1294
1412
|
--er-info-text: rgb(var(--tb-primary));
|
|
1295
1413
|
--er-error-bg: rgb(var(--tb-destructive, 239 68 68) / 0.1);
|
|
1296
1414
|
--er-error-text: rgb(var(--tb-destructive, 239 68 68));
|
|
@@ -1318,14 +1436,14 @@ const registrationSurfaceVars = `
|
|
|
1318
1436
|
--er-payment-border: rgb(var(--tb-border));
|
|
1319
1437
|
--er-payment-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
1320
1438
|
--er-payment-border-selected: rgb(var(--tb-primary));
|
|
1321
|
-
--er-payment-bg-selected: rgb(var(--tb-primary) / 0.08);
|
|
1439
|
+
--er-payment-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.08);
|
|
1322
1440
|
|
|
1323
1441
|
/* Checkmark indicator */
|
|
1324
1442
|
--er-check-bg: rgb(var(--tb-primary));
|
|
1325
1443
|
--er-check-text: rgb(var(--tb-onPrimary, 255 255 255));
|
|
1326
1444
|
|
|
1327
1445
|
/* Order summary */
|
|
1328
|
-
--er-summary-bg: rgb(var(--tb-primary) /
|
|
1446
|
+
--er-summary-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
1329
1447
|
--er-summary-border: rgb(var(--tb-border));
|
|
1330
1448
|
|
|
1331
1449
|
/* Shared registration-surface mappings (issue 1174).
|
|
@@ -1336,6 +1454,7 @@ const registrationSurfaceVars = `
|
|
|
1336
1454
|
--rb-reg-border-hover: var(--er-border-hover);
|
|
1337
1455
|
--rb-reg-border-selected: var(--er-border-selected);
|
|
1338
1456
|
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
1457
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.06);
|
|
1339
1458
|
--rb-reg-option-bg: var(--er-control-bg);
|
|
1340
1459
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
1341
1460
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
@@ -1490,24 +1609,12 @@ function generateEventCombinedVars({ themeId }) {
|
|
|
1490
1609
|
}
|
|
1491
1610
|
//#endregion
|
|
1492
1611
|
//#region ../theme-core/src/blocks/vars/appointment-booking.ts
|
|
1493
|
-
|
|
1494
|
-
* Generate CSS variables for the appointment-booking block.
|
|
1495
|
-
*
|
|
1496
|
-
* Variables defined:
|
|
1497
|
-
* - Selection card states (background, border, selected)
|
|
1498
|
-
* - Success/error state colors
|
|
1499
|
-
* - Loading spinner color
|
|
1500
|
-
* - Text opacity levels
|
|
1501
|
-
* - Form element colors
|
|
1502
|
-
*/
|
|
1503
|
-
function generateAppointmentBookingVars({ themeId }) {
|
|
1504
|
-
return `
|
|
1505
|
-
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
1612
|
+
const appointmentSurfaceVars = `
|
|
1506
1613
|
/* Selection cards (service/resource/time) */
|
|
1507
1614
|
--ab-card-border: rgb(var(--tb-border));
|
|
1508
1615
|
--ab-card-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
1509
1616
|
--ab-card-border-selected: rgb(var(--tb-primary));
|
|
1510
|
-
--ab-card-bg-selected: rgb(var(--tb-primary) / 0.05);
|
|
1617
|
+
--ab-card-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.05);
|
|
1511
1618
|
|
|
1512
1619
|
/* Checkmark indicator */
|
|
1513
1620
|
--ab-check-bg: rgb(var(--tb-primary));
|
|
@@ -1522,7 +1629,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1522
1629
|
--ab-info-text: rgb(var(--tb-info));
|
|
1523
1630
|
|
|
1524
1631
|
/* Muted summary state */
|
|
1525
|
-
--ab-muted-bg: rgb(var(--tb-text) /
|
|
1632
|
+
--ab-muted-bg: rgb(var(--tb-surfaceTintText, var(--tb-text)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.text});
|
|
1526
1633
|
|
|
1527
1634
|
/* Focus ring used by shared registration-surface controls */
|
|
1528
1635
|
--ab-input-focus-ring: rgb(var(--tb-primary) / 0.3);
|
|
@@ -1536,13 +1643,14 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1536
1643
|
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
1537
1644
|
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
1538
1645
|
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
1646
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.06);
|
|
1539
1647
|
--rb-reg-option-bg: transparent;
|
|
1540
1648
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
1541
1649
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
1542
1650
|
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
1543
|
-
--rb-reg-on-surface-muted: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1544
|
-
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1545
|
-
--rb-reg-on-surface-faint: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1651
|
+
--rb-reg-on-surface-muted: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1652
|
+
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1653
|
+
--rb-reg-on-surface-faint: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1546
1654
|
--rb-reg-check-bg: var(--ab-check-bg);
|
|
1547
1655
|
--rb-reg-check-text: var(--ab-check-text);
|
|
1548
1656
|
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
@@ -1550,6 +1658,21 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1550
1658
|
--rb-reg-summary-border: var(--ab-card-border);
|
|
1551
1659
|
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
1552
1660
|
--rb-reg-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
1661
|
+
`;
|
|
1662
|
+
/**
|
|
1663
|
+
* Generate CSS variables for the appointment-booking block.
|
|
1664
|
+
*
|
|
1665
|
+
* Variables defined:
|
|
1666
|
+
* - Selection card states (background, border, selected)
|
|
1667
|
+
* - Success/error state colors
|
|
1668
|
+
* - Loading spinner color
|
|
1669
|
+
* - Text opacity levels
|
|
1670
|
+
* - Form element colors
|
|
1671
|
+
*/
|
|
1672
|
+
function generateAppointmentBookingVars({ themeId }) {
|
|
1673
|
+
return `
|
|
1674
|
+
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
1675
|
+
${appointmentSurfaceVars}
|
|
1553
1676
|
}
|
|
1554
1677
|
`;
|
|
1555
1678
|
}
|
|
@@ -1587,120 +1710,6 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="form"])`} {
|
|
|
1587
1710
|
`;
|
|
1588
1711
|
}
|
|
1589
1712
|
//#endregion
|
|
1590
|
-
//#region ../theme-core/src/runtime/themeCssVarNames.ts
|
|
1591
|
-
const THEME_RADIUS_CSS_VARS = {
|
|
1592
|
-
block: "--rb-block-radius",
|
|
1593
|
-
button: "--rb-button-radius",
|
|
1594
|
-
input: "--rb-input-radius",
|
|
1595
|
-
panel: "--rb-panel-radius",
|
|
1596
|
-
legacyCard: "--radius-card",
|
|
1597
|
-
legacyControl: "--radius-control"
|
|
1598
|
-
};
|
|
1599
|
-
//#endregion
|
|
1600
|
-
//#region ../theme-core/src/blocks/vars/customer-portal.ts
|
|
1601
|
-
/**
|
|
1602
|
-
* Generate CSS variables for the customer-portal block.
|
|
1603
|
-
*
|
|
1604
|
-
* Variables defined:
|
|
1605
|
-
* - Container styling (background, border, shadow)
|
|
1606
|
-
* - Input and form control styling
|
|
1607
|
-
* - Tab navigation colors
|
|
1608
|
-
* - Status badges (success, warning, error, info, default)
|
|
1609
|
-
* - Progress indicators for credit bars
|
|
1610
|
-
* - Card styling
|
|
1611
|
-
* - Alert/notification styling
|
|
1612
|
-
*
|
|
1613
|
-
* Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
|
|
1614
|
-
*/
|
|
1615
|
-
function generateCustomerPortalVars({ themeId, surface }) {
|
|
1616
|
-
const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
|
|
1617
|
-
return `
|
|
1618
|
-
${root} {${customerPortalVars}
|
|
1619
|
-
}
|
|
1620
|
-
${root} .cp-login {
|
|
1621
|
-
${surfaceInkDeclarations(surfaceInkPublication(surface ? resolveSurfaceForeground({
|
|
1622
|
-
type: "color",
|
|
1623
|
-
color: "surface"
|
|
1624
|
-
}, surface.palette) : { kind: "unmeasured-paint" }, surface?.solvedInks ?? "withhold")).join("\n ")}
|
|
1625
|
-
}
|
|
1626
|
-
`;
|
|
1627
|
-
}
|
|
1628
|
-
const customerPortalVars = `
|
|
1629
|
-
/* Container */
|
|
1630
|
-
--cp-bg: rgb(var(--tb-surface));
|
|
1631
|
-
--cp-text: rgb(var(--tb-text));
|
|
1632
|
-
--cp-muted: rgb(var(--tb-mutedText));
|
|
1633
|
-
--cp-border: rgb(var(--tb-border));
|
|
1634
|
-
--cp-shadow: var(--shadow-elev);
|
|
1635
|
-
--cp-primary: rgb(var(--tb-primary));
|
|
1636
|
-
--cp-primary-hover: rgb(var(--tb-primary-700, var(--tb-primary)));
|
|
1637
|
-
--cp-error: rgb(var(--tb-destructive));
|
|
1638
|
-
--cp-card-radius: var(${THEME_RADIUS_CSS_VARS.block}, var(${THEME_RADIUS_CSS_VARS.legacyCard}, 0.75rem));
|
|
1639
|
-
--cp-control-radius: var(${THEME_RADIUS_CSS_VARS.input}, var(${THEME_RADIUS_CSS_VARS.legacyControl}, 0.5rem));
|
|
1640
|
-
|
|
1641
|
-
/* Shared tab bar (underline style) */
|
|
1642
|
-
--rb-tab-border-width: 1px;
|
|
1643
|
-
--rb-tab-border-color: rgb(var(--tb-border));
|
|
1644
|
-
--rb-tab-active-border-width: 2px;
|
|
1645
|
-
--rb-tab-active-color: rgb(var(--tb-primary));
|
|
1646
|
-
--rb-tab-text: rgb(var(--tb-text));
|
|
1647
|
-
--rb-tab-opacity: 0.7;
|
|
1648
|
-
|
|
1649
|
-
/* Badge - Success (active, confirmed) */
|
|
1650
|
-
--cp-badge-success-bg: rgb(var(--tb-success) / 0.1);
|
|
1651
|
-
--cp-badge-success-text: rgb(var(--tb-success));
|
|
1652
|
-
|
|
1653
|
-
/* Badge - Warning (paused, low credits, waitlist) */
|
|
1654
|
-
--cp-badge-warning-bg: rgb(var(--tb-warning) / 0.1);
|
|
1655
|
-
--cp-badge-warning-text: rgb(var(--tb-warning));
|
|
1656
|
-
|
|
1657
|
-
/* Badge - Error (canceled, expired, past_due) */
|
|
1658
|
-
--cp-badge-error-bg: rgb(var(--tb-destructive) / 0.1);
|
|
1659
|
-
--cp-badge-error-text: rgb(var(--tb-destructive));
|
|
1660
|
-
|
|
1661
|
-
/* Badge - Info (trialing, scheduled) */
|
|
1662
|
-
--cp-badge-info-bg: rgb(var(--tb-primary) / 0.1);
|
|
1663
|
-
--cp-badge-info-text: rgb(var(--tb-primary));
|
|
1664
|
-
|
|
1665
|
-
/* Badge - Default (neutral states) */
|
|
1666
|
-
--cp-badge-default-bg: rgb(var(--tb-mutedText) / 0.1);
|
|
1667
|
-
--cp-badge-default-text: rgb(var(--tb-mutedText));
|
|
1668
|
-
|
|
1669
|
-
/* Progress bar (for credit display) */
|
|
1670
|
-
--cp-progress-bg: rgb(var(--tb-border));
|
|
1671
|
-
--cp-progress-fill: rgb(var(--tb-primary));
|
|
1672
|
-
|
|
1673
|
-
/* Card styling */
|
|
1674
|
-
--cp-card-bg: rgb(var(--tb-surface));
|
|
1675
|
-
--cp-card-border: rgb(var(--tb-border));
|
|
1676
|
-
|
|
1677
|
-
/* Alert/notification */
|
|
1678
|
-
--cp-alert-success-bg: rgb(var(--tb-success) / 0.1);
|
|
1679
|
-
--cp-alert-success-text: rgb(var(--tb-success));
|
|
1680
|
-
--cp-alert-success-border: rgb(var(--tb-success));
|
|
1681
|
-
--cp-alert-error-bg: rgb(var(--tb-destructive) / 0.1);
|
|
1682
|
-
--cp-alert-error-text: rgb(var(--tb-destructive));
|
|
1683
|
-
--cp-alert-error-border: rgb(var(--tb-destructive));
|
|
1684
|
-
|
|
1685
|
-
/* Modal (shared rb-modal classes) */
|
|
1686
|
-
--rb-modal-overlay-bg: rgb(var(--tb-text, 0 0 0) / 0.35);
|
|
1687
|
-
--rb-modal-bg: var(--cp-card-bg);
|
|
1688
|
-
--rb-modal-text: var(--cp-text);
|
|
1689
|
-
--rb-modal-heading: var(--cp-text);
|
|
1690
|
-
--rb-modal-link: var(--cp-primary);
|
|
1691
|
-
--rb-modal-supporting: var(--cp-muted);
|
|
1692
|
-
--rb-modal-border: var(--cp-card-border);
|
|
1693
|
-
--rb-modal-shadow: var(--shadow-lg, var(--shadow-elev));
|
|
1694
|
-
--rb-modal-radius: var(--cp-card-radius);
|
|
1695
|
-
--rb-modal-max-width: 560px;
|
|
1696
|
-
|
|
1697
|
-
/* Header */
|
|
1698
|
-
--cp-header-bg: transparent;
|
|
1699
|
-
--cp-header-border: rgb(var(--tb-border));
|
|
1700
|
-
|
|
1701
|
-
/* Section */
|
|
1702
|
-
--cp-section-bg: transparent;`;
|
|
1703
|
-
//#endregion
|
|
1704
1713
|
//#region ../theme-core/src/blocks/vars/testimonials.ts
|
|
1705
1714
|
const QUOTE_SCALE_SIZE = {
|
|
1706
1715
|
sm: "2.5rem",
|
|
@@ -1795,7 +1804,6 @@ blockVarRegistry.set("event-spotlight", generateEventSpotlightVars);
|
|
|
1795
1804
|
blockVarRegistry.set("event-combined", generateEventCombinedVars);
|
|
1796
1805
|
blockVarRegistry.set("appointment-booking", generateAppointmentBookingVars);
|
|
1797
1806
|
blockVarRegistry.set("form", generateFormBlockVars);
|
|
1798
|
-
blockVarRegistry.set("customer-portal", generateCustomerPortalVars);
|
|
1799
1807
|
blockVarRegistry.set("testimonials", generateTestimonialsVars);
|
|
1800
1808
|
/**
|
|
1801
1809
|
* Generate all Tier 3 block-specific CSS variables.
|
|
@@ -1962,6 +1970,16 @@ function compileRule(selector, declarations, scopePrefix) {
|
|
|
1962
1970
|
return `${prefixSelector(selector, scopePrefix)} {\n${declarationLines}\n}`;
|
|
1963
1971
|
}
|
|
1964
1972
|
//#endregion
|
|
1973
|
+
//#region ../theme-core/src/runtime/themeCssVarNames.ts
|
|
1974
|
+
const THEME_RADIUS_CSS_VARS = {
|
|
1975
|
+
block: "--rb-block-radius",
|
|
1976
|
+
button: "--rb-button-radius",
|
|
1977
|
+
input: "--rb-input-radius",
|
|
1978
|
+
panel: "--rb-panel-radius",
|
|
1979
|
+
legacyCard: "--radius-card",
|
|
1980
|
+
legacyControl: "--radius-control"
|
|
1981
|
+
};
|
|
1982
|
+
//#endregion
|
|
1965
1983
|
//#region ../theme-core/src/runtime/themeStylesheet.ts
|
|
1966
1984
|
const channels = [
|
|
1967
1985
|
["layoutCss", "data-layout-styles"],
|
|
@@ -2023,4 +2041,4 @@ function ThemeScopeCore({ cssVars, dataAttrs, responsiveMode = DEFAULT_THEME_RES
|
|
|
2023
2041
|
});
|
|
2024
2042
|
}
|
|
2025
2043
|
//#endregion
|
|
2026
|
-
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 _,
|
|
2044
|
+
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 };
|