@riverbankcms/sdk 0.180.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.
- package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
- package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +2 -2
- package/dist/_dts/{client-BP7VBRvs.d.ts → client-Chr9pNVW.d.ts} +58 -70
- package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-kjccgopX.d.ts} +2 -2
- package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-BodaiS00.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
- package/dist/_dts/{index-BeM5Ylwf.d.ts → index-Brl6_I2j.d.ts} +1 -2
- package/dist/_dts/{index-CB5Csefo.d.ts → index-CJkefwYh.d.ts} +2 -2
- package/dist/_dts/{index-DQBGwBPx.d.ts → index-D1WpKwQe.d.ts} +1 -1
- package/dist/_dts/{index-DQr358-m.d.ts → index-DG0OvBs0.d.ts} +8 -8
- package/dist/_dts/{index-Blrw2oVk.d.ts → index-Diqt0PvG.d.ts} +1 -1
- package/dist/_dts/{index-DCcxLa8p.d.ts → index-Dy50xUMK.d.ts} +2 -2
- package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
- package/dist/_dts/{request-P08l6mkr.d.ts → request-CA0izds5.d.ts} +2498 -1108
- package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-BvGyvblj.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-BgFbJQhU.d.ts} +6 -6
- package/dist/_dts/{types-HAy1-Jjo.d.ts → types-CQrsP1x_.d.ts} +3 -3
- package/dist/_dts/{types-DpEAnP4F.d.ts → types-CgS3xLk8.d.ts} +2 -2
- package/dist/_dts/{types-BrK6SS5c.d.ts → types-R65DKjPn.d.ts} +7 -7
- package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-6LTIbuBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
- package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-uWfR2kaG.mjs} +93 -18
- package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-CyNIKw6k.mjs} +7 -87
- package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
- package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +9 -6
- package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
- package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
- package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
- package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-CwzrjcRw.mjs} +6 -6
- package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
- package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
- package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DZ0qMFF4.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +700 -514
- package/dist/client/{Page-bX7iy_MK.mjs → Page-C7mygH_f.mjs} +389 -248
- package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +7 -11
- package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
- package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-atfDU82W.mjs} +21 -13
- package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
- package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
- package/dist/client/{accordion-wofJY8xY.mjs → accordion-CsW8U3ff.mjs} +1 -1
- package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-cBWM392H.mjs} +52 -29
- package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
- package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DgySpp6C.mjs} +4 -4
- package/dist/client/bookings.mjs +17 -11
- package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
- package/dist/client/{carousel-BE1dEFsD.mjs → carousel-DJoleFV3.mjs} +2 -2
- package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
- package/dist/client/{cart-BsjsdGZE.mjs → cart-EO5o6uPH.mjs} +3 -3
- package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-D_gPw45z.mjs} +1 -1
- package/dist/client/{checkout-B5KxEUDr.mjs → checkout-NVfZW0kR.mjs} +3 -3
- package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
- package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
- package/dist/client/client.mjs +87 -43
- package/dist/client/{constants-PfYJsEZF.mjs → constants-CoOkvw__.mjs} +1 -2
- package/dist/client/{context-DtKdUdkO.mjs → context-CRhn9qzS.mjs} +732 -370
- package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
- package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
- package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
- package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-D7YYKySQ.mjs} +191 -210
- package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
- package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
- package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-B3KIZNfY.mjs} +4 -4
- package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
- package/dist/client/{form-Zl1_8RJ6.mjs → form-DM8Zbxbv.mjs} +3 -3
- package/dist/client/{form.client-TaMUys6I.mjs → form.client-e2z_Tlgk.mjs} +5 -5
- package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-Ctljy1a3.mjs} +3 -3
- package/dist/client/gifting/client.mjs +32 -29
- package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-DWIsqQru.mjs} +4 -4
- package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
- package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
- package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DAkRkwb-.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-WYja9-WN.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-RuM86VAv.mjs} +23 -24
- package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
- package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
- package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-Dl4mZ-rr.mjs} +167 -49
- package/dist/client/portal/client.mjs +13040 -8190
- package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
- package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
- package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-pOAryevt.mjs} +1 -1
- package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CcUpUiud.mjs} +1 -1
- package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-BZJCfqat.mjs} +3 -3
- package/dist/client/{productList-BAdJ6z5S.mjs → productList-CiRs3mNb.mjs} +3 -3
- package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
- package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-CDNNd8wC.mjs} +247 -203
- 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-CQGE_wHV.mjs} +2 -1
- package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
- package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
- package/dist/client/{shop-BKsgxm_-.mjs → shop-Rx_gEMK8.mjs} +3 -3
- package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
- package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
- package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
- package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
- package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-BVbq7Nm-.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-ZSqRK3dD.mjs} +228 -90
- package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-BQJrSK0K.mjs} +9 -78
- package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
- package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-Dm3lKJKR.mjs} +2 -3
- package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
- package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
- package/dist/client/{view-CTBwSpKv.mjs → view-CC_yQLSA.mjs} +4 -4
- package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-BliJOzEX.mjs} +953 -279
- package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BhL0uADo.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +5 -5
- package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-BS32G4V9.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-RL0WfZXD.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +29 -5
- package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-CQyS8pcq.mjs} +5011 -2074
- package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlmbvbLN.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BNZtGM5g.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-R3PcMmax.mjs} +71 -37
- package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-CniF9tSu.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BQWsnGT6.mjs} +126 -120
- package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
- package/dist/server/accordions-By_0Ykks.mjs +111 -0
- package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DxojjtK3.mjs} +7 -7
- package/dist/server/{client-m0ylCj_f.mjs → client-CDndhbYO.mjs} +86 -42
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-VyF5nEhL.mjs +1474 -0
- package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-BKstMBmX.mjs} +5 -4
- package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-IgNnZaqr.mjs} +3 -3
- package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-TFjgNG61.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-quBYlSKD.mjs} +2 -2
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +134 -81
- package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-B7iULvKe.mjs} +8 -7
- package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-BytMroxn.mjs} +5 -5
- package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-Dcs_XTIO.mjs} +243 -323
- package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
- package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.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-agaH-vZV.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-DwpRjqw4.mjs} +4 -3
- package/dist/server/{registry-CvhFwbXJ.mjs → registry-DM9dHfDC.mjs} +345 -449
- 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-CinHGf8l.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
- 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-BBBhOtdE.mjs} +21 -20
- package/dist/server/theme-bridge.mjs +3 -2
- 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-DG5jX3jH.mjs} +70 -17
- package/dist/server/{version-DT_R5JAR.mjs → version-CipbxPHL.mjs} +1 -1
- package/dist/server/video-Cdr3wh-q.mjs +272 -0
- package/dist/styles/index.css +1013 -1840
- 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",
|
|
@@ -6887,7 +6891,7 @@ const API_ENDPOINTS = {
|
|
|
6887
6891
|
],
|
|
6888
6892
|
auth: "public",
|
|
6889
6893
|
responseKind: "json",
|
|
6890
|
-
errors: ["
|
|
6894
|
+
errors: ["server:internal_error"]
|
|
6891
6895
|
},
|
|
6892
6896
|
resolveRouteDecision: {
|
|
6893
6897
|
path: "/sites/{siteId}/route-decision",
|
|
@@ -6899,7 +6903,7 @@ const API_ENDPOINTS = {
|
|
|
6899
6903
|
],
|
|
6900
6904
|
auth: "public",
|
|
6901
6905
|
responseKind: "json",
|
|
6902
|
-
errors: ["
|
|
6906
|
+
errors: ["server:internal_error"]
|
|
6903
6907
|
},
|
|
6904
6908
|
getPageByPath: {
|
|
6905
6909
|
path: "/sites/{siteId}/pages",
|
|
@@ -7450,7 +7454,7 @@ const API_ENDPOINTS = {
|
|
|
7450
7454
|
tags: ["backup"],
|
|
7451
7455
|
auth: "user",
|
|
7452
7456
|
responseKind: "json",
|
|
7453
|
-
errors: ["
|
|
7457
|
+
errors: ["server:internal_error"]
|
|
7454
7458
|
},
|
|
7455
7459
|
deleteBackupUpload: {
|
|
7456
7460
|
path: "/backup/upload",
|
|
@@ -8086,7 +8090,7 @@ const API_ENDPOINTS = {
|
|
|
8086
8090
|
auth: "user",
|
|
8087
8091
|
responseKind: "json",
|
|
8088
8092
|
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
|
|
8089
|
-
errors: ["
|
|
8093
|
+
errors: ["server:internal_error"]
|
|
8090
8094
|
},
|
|
8091
8095
|
getBookingPass: {
|
|
8092
8096
|
path: "/sites/{siteId}/bookings/passes/{passId}",
|
|
@@ -8164,7 +8168,7 @@ const API_ENDPOINTS = {
|
|
|
8164
8168
|
auth: "user",
|
|
8165
8169
|
responseKind: "json",
|
|
8166
8170
|
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED,
|
|
8167
|
-
errors: ["
|
|
8171
|
+
errors: ["server:internal_error"]
|
|
8168
8172
|
},
|
|
8169
8173
|
getBookingMembership: {
|
|
8170
8174
|
path: "/sites/{siteId}/bookings/memberships/{membershipId}",
|
|
@@ -9414,18 +9418,23 @@ const API_ENDPOINTS = {
|
|
|
9414
9418
|
auth: "public",
|
|
9415
9419
|
responseKind: "json"
|
|
9416
9420
|
},
|
|
9417
|
-
|
|
9418
|
-
path: "/portal/
|
|
9421
|
+
portalGetDetails: {
|
|
9422
|
+
path: "/portal/details",
|
|
9419
9423
|
method: "GET",
|
|
9420
9424
|
auth: "public",
|
|
9421
|
-
responseKind: "json"
|
|
9425
|
+
responseKind: "json",
|
|
9426
|
+
errors: ["server:internal_error"]
|
|
9422
9427
|
},
|
|
9423
|
-
|
|
9424
|
-
path: "/portal/
|
|
9425
|
-
method: "
|
|
9426
|
-
errors: [],
|
|
9428
|
+
portalUpdateNewsletter: {
|
|
9429
|
+
path: "/portal/details/newsletter",
|
|
9430
|
+
method: "PATCH",
|
|
9427
9431
|
auth: "public",
|
|
9428
|
-
responseKind: "json"
|
|
9432
|
+
responseKind: "json",
|
|
9433
|
+
errors: [
|
|
9434
|
+
"validation:invalid_input",
|
|
9435
|
+
"resource:conflict",
|
|
9436
|
+
"server:internal_error"
|
|
9437
|
+
]
|
|
9429
9438
|
},
|
|
9430
9439
|
portalCreateOrderCheckout: {
|
|
9431
9440
|
path: "/portal/orders/{orderId}/checkout",
|
|
@@ -9466,42 +9475,74 @@ const API_ENDPOINTS = {
|
|
|
9466
9475
|
auth: "public",
|
|
9467
9476
|
responseKind: "json"
|
|
9468
9477
|
},
|
|
9469
|
-
|
|
9470
|
-
path: "/portal/
|
|
9478
|
+
portalGetEventTicket: {
|
|
9479
|
+
path: "/portal/events/{registrationId}/ticket",
|
|
9471
9480
|
method: "GET",
|
|
9472
9481
|
auth: "public",
|
|
9473
9482
|
responseKind: "json"
|
|
9474
9483
|
},
|
|
9475
|
-
|
|
9476
|
-
path: "/portal/
|
|
9484
|
+
portalGetRegularSessions: {
|
|
9485
|
+
path: "/portal/appointments/regular-sessions",
|
|
9477
9486
|
method: "GET",
|
|
9478
9487
|
auth: "public",
|
|
9479
|
-
responseKind: "json"
|
|
9488
|
+
responseKind: "json",
|
|
9489
|
+
errors: ["server:internal_error"]
|
|
9480
9490
|
},
|
|
9481
|
-
|
|
9482
|
-
path: "/portal/
|
|
9491
|
+
portalGetBookings: {
|
|
9492
|
+
path: "/portal/bookings",
|
|
9483
9493
|
method: "GET",
|
|
9484
9494
|
auth: "public",
|
|
9485
|
-
responseKind: "json"
|
|
9495
|
+
responseKind: "json",
|
|
9496
|
+
errors: ["server:internal_error"]
|
|
9486
9497
|
},
|
|
9487
|
-
|
|
9488
|
-
path: "/portal/
|
|
9498
|
+
portalGetHome: {
|
|
9499
|
+
path: "/portal/home",
|
|
9489
9500
|
method: "GET",
|
|
9490
9501
|
auth: "public",
|
|
9491
|
-
responseKind: "json"
|
|
9502
|
+
responseKind: "json",
|
|
9503
|
+
errors: ["server:internal_error"]
|
|
9492
9504
|
},
|
|
9493
|
-
|
|
9494
|
-
path: "/portal/
|
|
9505
|
+
portalGetOccurrenceBookings: {
|
|
9506
|
+
path: "/portal/occurrences/{occurrenceId}/bookings",
|
|
9495
9507
|
method: "GET",
|
|
9496
9508
|
auth: "public",
|
|
9497
9509
|
responseKind: "json",
|
|
9498
9510
|
errors: ["server:internal_error"]
|
|
9499
9511
|
},
|
|
9500
|
-
|
|
9501
|
-
path: "/portal/
|
|
9512
|
+
portalGetHoldings: {
|
|
9513
|
+
path: "/portal/holdings",
|
|
9502
9514
|
method: "GET",
|
|
9503
9515
|
auth: "public",
|
|
9504
|
-
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"]
|
|
9505
9546
|
},
|
|
9506
9547
|
portalGetAppointmentBookingQuestions: {
|
|
9507
9548
|
path: "/portal/appointments/{appointmentId}/booking-questions",
|
|
@@ -9602,13 +9643,6 @@ const API_ENDPOINTS = {
|
|
|
9602
9643
|
"server:internal_error"
|
|
9603
9644
|
]
|
|
9604
9645
|
},
|
|
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
9646
|
portalGetWholeSeriesBookingQuestions: {
|
|
9613
9647
|
path: "/portal/dated-offerings/whole-series/{registrationId}/booking-questions",
|
|
9614
9648
|
method: "GET",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Qn as siteHeaderManifest, Zn as siteFooterManifest, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, or as readRuntimeNow,
|
|
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 { 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-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import { r as
|
|
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 { 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
|
|
@@ -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)); }
|
|
@@ -1587,120 +1698,6 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="form"])`} {
|
|
|
1587
1698
|
`;
|
|
1588
1699
|
}
|
|
1589
1700
|
//#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
1701
|
//#region ../theme-core/src/blocks/vars/testimonials.ts
|
|
1705
1702
|
const QUOTE_SCALE_SIZE = {
|
|
1706
1703
|
sm: "2.5rem",
|
|
@@ -1795,7 +1792,6 @@ blockVarRegistry.set("event-spotlight", generateEventSpotlightVars);
|
|
|
1795
1792
|
blockVarRegistry.set("event-combined", generateEventCombinedVars);
|
|
1796
1793
|
blockVarRegistry.set("appointment-booking", generateAppointmentBookingVars);
|
|
1797
1794
|
blockVarRegistry.set("form", generateFormBlockVars);
|
|
1798
|
-
blockVarRegistry.set("customer-portal", generateCustomerPortalVars);
|
|
1799
1795
|
blockVarRegistry.set("testimonials", generateTestimonialsVars);
|
|
1800
1796
|
/**
|
|
1801
1797
|
* Generate all Tier 3 block-specific CSS variables.
|
|
@@ -1962,6 +1958,16 @@ function compileRule(selector, declarations, scopePrefix) {
|
|
|
1962
1958
|
return `${prefixSelector(selector, scopePrefix)} {\n${declarationLines}\n}`;
|
|
1963
1959
|
}
|
|
1964
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
|
|
1965
1971
|
//#region ../theme-core/src/runtime/themeStylesheet.ts
|
|
1966
1972
|
const channels = [
|
|
1967
1973
|
["layoutCss", "data-layout-styles"],
|
|
@@ -2023,4 +2029,4 @@ function ThemeScopeCore({ cssVars, dataAttrs, responsiveMode = DEFAULT_THEME_RES
|
|
|
2023
2029
|
});
|
|
2024
2030
|
}
|
|
2025
2031
|
//#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 _,
|
|
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 {
|
|
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,
|
|
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 };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { X as themeColorTokenSchema } from "./types-BKaBZFjD.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region ../site-contracts/src/theme/accordions.ts
|
|
4
|
+
/**
|
|
5
|
+
* Accordion icon styles for expand/collapse indicators
|
|
6
|
+
*/
|
|
7
|
+
const accordionIconSchema = z.enum([
|
|
8
|
+
"plus-minus",
|
|
9
|
+
"chevron",
|
|
10
|
+
"caret",
|
|
11
|
+
"arrow",
|
|
12
|
+
"circle-plus-minus"
|
|
13
|
+
]);
|
|
14
|
+
/**
|
|
15
|
+
* Accordion configuration for a theme
|
|
16
|
+
* Single style per theme (no variants needed)
|
|
17
|
+
*/
|
|
18
|
+
const accordionSystemSchema = z.object({
|
|
19
|
+
background: z.object({
|
|
20
|
+
type: z.literal("solid"),
|
|
21
|
+
colorToken: themeColorTokenSchema
|
|
22
|
+
}).nullable(),
|
|
23
|
+
spacing: z.enum([
|
|
24
|
+
"none",
|
|
25
|
+
"compact",
|
|
26
|
+
"cozy",
|
|
27
|
+
"medium",
|
|
28
|
+
"comfortable",
|
|
29
|
+
"spacious"
|
|
30
|
+
]),
|
|
31
|
+
corners: z.enum([
|
|
32
|
+
"square",
|
|
33
|
+
"soft",
|
|
34
|
+
"rounded",
|
|
35
|
+
"pill"
|
|
36
|
+
]).nullable(),
|
|
37
|
+
border: z.object({
|
|
38
|
+
widthClass: z.string(),
|
|
39
|
+
colorToken: themeColorTokenSchema
|
|
40
|
+
}).nullable(),
|
|
41
|
+
shadow: z.object({
|
|
42
|
+
elevation: z.enum([
|
|
43
|
+
"none",
|
|
44
|
+
"low",
|
|
45
|
+
"medium",
|
|
46
|
+
"high"
|
|
47
|
+
]),
|
|
48
|
+
softness: z.enum([
|
|
49
|
+
"soft",
|
|
50
|
+
"crisp",
|
|
51
|
+
"hard"
|
|
52
|
+
]).nullable(),
|
|
53
|
+
position: z.enum(["bottom", "bottom-right"])
|
|
54
|
+
}).nullable(),
|
|
55
|
+
icon: z.object({
|
|
56
|
+
style: accordionIconSchema,
|
|
57
|
+
position: z.enum(["left", "right"]),
|
|
58
|
+
size: z.enum([
|
|
59
|
+
"sm",
|
|
60
|
+
"md",
|
|
61
|
+
"lg"
|
|
62
|
+
]),
|
|
63
|
+
colorToken: themeColorTokenSchema.optional()
|
|
64
|
+
}),
|
|
65
|
+
trigger: z.object({
|
|
66
|
+
textColorToken: themeColorTokenSchema,
|
|
67
|
+
fontWeight: z.enum([
|
|
68
|
+
"regular",
|
|
69
|
+
"medium",
|
|
70
|
+
"semibold",
|
|
71
|
+
"bold"
|
|
72
|
+
]).nullable(),
|
|
73
|
+
fontFamily: z.enum(["body", "heading"]).optional(),
|
|
74
|
+
fontScale: z.enum([
|
|
75
|
+
"body",
|
|
76
|
+
"md",
|
|
77
|
+
"lg"
|
|
78
|
+
]).optional(),
|
|
79
|
+
letterSpacing: z.enum([
|
|
80
|
+
"normal",
|
|
81
|
+
"tight",
|
|
82
|
+
"wide"
|
|
83
|
+
]).optional(),
|
|
84
|
+
textTransform: z.enum(["none", "uppercase"]).optional()
|
|
85
|
+
}),
|
|
86
|
+
hover: z.object({
|
|
87
|
+
backgroundColorToken: themeColorTokenSchema.optional(),
|
|
88
|
+
textColorToken: themeColorTokenSchema.optional(),
|
|
89
|
+
borderColorToken: themeColorTokenSchema.optional()
|
|
90
|
+
}),
|
|
91
|
+
openState: z.object({
|
|
92
|
+
backgroundColorToken: themeColorTokenSchema.optional(),
|
|
93
|
+
triggerColorToken: themeColorTokenSchema.optional(),
|
|
94
|
+
accent: z.object({
|
|
95
|
+
edge: z.enum([
|
|
96
|
+
"left",
|
|
97
|
+
"top",
|
|
98
|
+
"bottom"
|
|
99
|
+
]),
|
|
100
|
+
colorToken: themeColorTokenSchema,
|
|
101
|
+
thickness: z.enum([
|
|
102
|
+
"thin",
|
|
103
|
+
"medium",
|
|
104
|
+
"thick"
|
|
105
|
+
])
|
|
106
|
+
}).optional()
|
|
107
|
+
}).optional(),
|
|
108
|
+
content: z.object({ textColorToken: themeColorTokenSchema })
|
|
109
|
+
});
|
|
110
|
+
//#endregion
|
|
111
|
+
export { accordionSystemSchema as n, accordionIconSchema as t };
|