@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as accordionIconColorTokenValues, G as imageMediaSchema, K as mediaSchema, U as assetMediaSchema, W as externalMediaSchema, Y as videoMediaSchema, at as eyebrowTreatmentValues, ct as isArrangementMode, et as accordionIconMotionValues, it as eventListTreatmentValues, lt as tileTreatmentValues, nt as arrangementModes, ot as headingDecorationColorTokenValues, rt as decorativeTransitionIntentValues, st as headingDecorationOverrideValues, tt as accordionIconSetValues, ut as visibleHeadingDecorationFamilyValues } from "./src-CmXh3JWs.mjs";
|
|
3
3
|
import { C as paletteModeSchema, E as themeColorTokenSchema, O as VARIANT_ROLES, S as paletteColorsSchema, T as parseThemeColorToken, _ as hexColorSchema, b as paletteColorEntries, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, v as isThemeColorToken, w as parseColorTokenParts, x as paletteColorsFromEntries } from "./types-BEaKfam_.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { $ as resolveSurfaceForeground, Ct as resolveConcreteColorHex, D as ELEVATION_OFFSET, Dt as paletteInkRoles, Et as paletteInk, H as rgbColorValue, It as hexLuminance, J as expandPalette, Lt as luminanceInterval, M as mapButtonRoleAppearances, Mt as paletteValueKeySchema, N as mapButtonVisualAppearances, Nt as requirePaletteColorsFromEntries, Ot as paletteInkToken, Q as scrimTone, Rt as preparePaletteColourIndex, St as ownedThemeSnapshot, Vt as featuresFromHex, X as gradientScrimSamples, Y as compositeHex, Z as minimumScrimOpacity, a as requireResolvedSurface, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_FOREGROUND_CSS_VARS, ft as SURFACE_INK_CSS_VARS, g as BUTTON_CONTRAST_POLICY, gt as surfaceForegroundValue, i as prepareThemeSurfaceRevision, j as defineButtonStyleRecipe, jt as paletteValueKey, o as resolveSurface, p as contextualButtonSurfaceResetStyles, pt as surfaceForegroundDeclarations, st as contrastThresholdByPolicy, t as parseResolvedSurface, u as surfaceTransportContext, vt as surfaceInkDeclarations, wt as resolveOpaqueSurfaceHex, xt as freezeOwnedThemeValue } from "./accessibleSurfaces-BogaGutk.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../site-contracts/src/identity/designIds.ts
|
|
7
7
|
function asDesignBlockId(value) {
|
|
@@ -1516,8 +1516,43 @@ const FORBIDDEN_SELECTORS = [
|
|
|
1516
1516
|
];
|
|
1517
1517
|
/** Universal selector - forbidden because it affects everything */
|
|
1518
1518
|
const UNIVERSAL_SELECTOR = "*";
|
|
1519
|
-
/**
|
|
1520
|
-
|
|
1519
|
+
/**
|
|
1520
|
+
* The start of an address on another origin: an http(s) scheme (browsers
|
|
1521
|
+
* accept `http:evil.example` without slashes), or two slashes, where a
|
|
1522
|
+
* backslash counts as a slash and whitespace between them is dropped.
|
|
1523
|
+
*/
|
|
1524
|
+
const REMOTE_ADDRESS = String.raw`(?:https?:|[/\\]\s*[/\\])`;
|
|
1525
|
+
/**
|
|
1526
|
+
* A remote address in url(), or at the start of any quoted string, which is
|
|
1527
|
+
* how image-set(), -webkit-image-set() and src() take one without url(). In a
|
|
1528
|
+
* quoted string, two slashes followed by a space are text (`'// note'`): a
|
|
1529
|
+
* browser cannot read a host that starts with a space.
|
|
1530
|
+
*/
|
|
1531
|
+
const REMOTE_URL_PATTERN = new RegExp(String.raw`url\s*\(\s*['"]?\s*${REMOTE_ADDRESS}|['"]\s*(?:https?:|[/\\]\s*[/\\](?! ))`, "i");
|
|
1532
|
+
/** Comments and quoted strings, matched left to right the way a browser reads them. */
|
|
1533
|
+
const COMMENT_OR_STRING = /\/\*[\s\S]*?\*\/|"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/g;
|
|
1534
|
+
const DATA_URL_STRING = /^["']\s*data:/i;
|
|
1535
|
+
/**
|
|
1536
|
+
* A quoted `data:` URL holds its file inline, so the addresses inside it are
|
|
1537
|
+
* text and nothing is fetched: the standard inline SVG carries
|
|
1538
|
+
* `xmlns='http://www.w3.org/2000/svg'`. Those strings are emptied before the
|
|
1539
|
+
* remote check. Only a string the browser would also read as one is emptied,
|
|
1540
|
+
* so a comment or another string cannot pose as a `data:` URL around a real
|
|
1541
|
+
* `url()`.
|
|
1542
|
+
*/
|
|
1543
|
+
function withoutDataUrlStrings(value) {
|
|
1544
|
+
return value.replace(COMMENT_OR_STRING, (token) => DATA_URL_STRING.test(token) ? "\"\"" : token);
|
|
1545
|
+
}
|
|
1546
|
+
/** CSS comments, and escapes such as `\72` or `\/`, which can spell `url(` or `//`. */
|
|
1547
|
+
const CSS_COMMENT = /\/\*[\s\S]*?\*\//g;
|
|
1548
|
+
const CSS_ESCAPE = /\\(?:([0-9a-fA-F]{1,6})\s?|([^\n0-9a-fA-F]))/g;
|
|
1549
|
+
function decodeCss(value) {
|
|
1550
|
+
return value.replace(CSS_COMMENT, "").replace(CSS_ESCAPE, (_match, hex, char) => {
|
|
1551
|
+
if (hex === void 0) return char ?? "";
|
|
1552
|
+
const codePoint = Number.parseInt(hex, 16);
|
|
1553
|
+
return codePoint > 0 && codePoint <= 1114111 ? String.fromCodePoint(codePoint) : "�";
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1521
1556
|
/** Pattern to detect javascript: URLs */
|
|
1522
1557
|
const JAVASCRIPT_URL_PATTERN = /javascript\s*:/i;
|
|
1523
1558
|
/**
|
|
@@ -1563,13 +1598,14 @@ const selectorSchema = z.string().min(1, "Selector cannot be empty").max(200, "S
|
|
|
1563
1598
|
* Check if a CSS value contains a remote URL.
|
|
1564
1599
|
*/
|
|
1565
1600
|
function containsRemoteUrl(value) {
|
|
1566
|
-
|
|
1601
|
+
const checked = withoutDataUrlStrings(value);
|
|
1602
|
+
return REMOTE_URL_PATTERN.test(checked) || REMOTE_URL_PATTERN.test(decodeCss(checked));
|
|
1567
1603
|
}
|
|
1568
1604
|
/**
|
|
1569
1605
|
* Check if a CSS value contains a javascript: URL.
|
|
1570
1606
|
*/
|
|
1571
1607
|
function containsJavascriptUrl(value) {
|
|
1572
|
-
return JAVASCRIPT_URL_PATTERN.test(value);
|
|
1608
|
+
return JAVASCRIPT_URL_PATTERN.test(value) || JAVASCRIPT_URL_PATTERN.test(decodeCss(value));
|
|
1573
1609
|
}
|
|
1574
1610
|
/**
|
|
1575
1611
|
* Validates a CSS declaration value for safety.
|
|
@@ -1678,8 +1714,12 @@ const supportsAtRuleSchema = z.object({
|
|
|
1678
1714
|
function containsBlockedAtRule(css) {
|
|
1679
1715
|
return BLOCKED_AT_RULE_PATTERN.test(css);
|
|
1680
1716
|
}
|
|
1681
|
-
/**
|
|
1682
|
-
|
|
1717
|
+
/**
|
|
1718
|
+
* Raw CSS validation - blocks @import, @charset, must start with @.
|
|
1719
|
+
* A raw at-rule holds whole declarations, so it gets the same url() and
|
|
1720
|
+
* javascript: checks as a typed rule's declaration values.
|
|
1721
|
+
*/
|
|
1722
|
+
const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` }).refine((css) => !containsRemoteUrl(css), { message: "Remote url() references are not allowed. Use local paths, data URIs, or fragment IDs." }).refine((css) => !containsJavascriptUrl(css), { message: "javascript: URLs are not allowed" });
|
|
1683
1723
|
/** Raw at-rule schema */
|
|
1684
1724
|
const rawAtRuleSchema = z.object({
|
|
1685
1725
|
id: ruleIdSchema,
|
|
@@ -3245,6 +3285,16 @@ function resolveBlockAppearancePresetDesign(preset, layoutProfile = null) {
|
|
|
3245
3285
|
//#endregion
|
|
3246
3286
|
//#region ../theme-core/src/site-styles/blockAppearancePresets.ts
|
|
3247
3287
|
/**
|
|
3288
|
+
* A card Look reaches every block that supplies its parts. Some of those pairings give an owner nothing new
|
|
3289
|
+
* (numbered people, a ruled list beside the team's own ruled list), so the Look names the blocks it leaves out.
|
|
3290
|
+
*/
|
|
3291
|
+
function notFor(look, blocks) {
|
|
3292
|
+
return {
|
|
3293
|
+
...look,
|
|
3294
|
+
blockKinds: look.blockKinds.filter((kind) => !blocks.includes(kind))
|
|
3295
|
+
};
|
|
3296
|
+
}
|
|
3297
|
+
/**
|
|
3248
3298
|
* One pin space for legacy recipes and arrangement Looks. Legacy recipes ask
|
|
3249
3299
|
* for a card role; the style owns its paint. Arrangement Looks own structure
|
|
3250
3300
|
* and never a section background. Removing an entry retires its pins to auto.
|
|
@@ -4502,7 +4552,7 @@ const blockAppearancePresets = [
|
|
|
4502
4552
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
4503
4553
|
itemRoles: { items: "card" }
|
|
4504
4554
|
}),
|
|
4505
|
-
defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
|
|
4555
|
+
notFor(defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
|
|
4506
4556
|
"media",
|
|
4507
4557
|
"title",
|
|
4508
4558
|
"text",
|
|
@@ -4515,8 +4565,12 @@ const blockAppearancePresets = [
|
|
|
4515
4565
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
4516
4566
|
itemRoles: { items: "card" },
|
|
4517
4567
|
styleFallback: [id$1("feature-cards-cards")]
|
|
4518
|
-
}),
|
|
4519
|
-
|
|
4568
|
+
}), [
|
|
4569
|
+
"block.team-members",
|
|
4570
|
+
"block.appointment-services",
|
|
4571
|
+
"block.offerings-preview"
|
|
4572
|
+
]),
|
|
4573
|
+
notFor(defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
|
|
4520
4574
|
"media",
|
|
4521
4575
|
"title",
|
|
4522
4576
|
"text",
|
|
@@ -4529,8 +4583,8 @@ const blockAppearancePresets = [
|
|
|
4529
4583
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
|
|
4530
4584
|
knobDefaults: { actionStyle: "link" },
|
|
4531
4585
|
styleFallback: [id$1("feature-cards-cards")]
|
|
4532
|
-
}),
|
|
4533
|
-
defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
|
|
4586
|
+
}), ["block.team-members"]),
|
|
4587
|
+
notFor(defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
|
|
4534
4588
|
"media",
|
|
4535
4589
|
"title",
|
|
4536
4590
|
"text",
|
|
@@ -4543,8 +4597,8 @@ const blockAppearancePresets = [
|
|
|
4543
4597
|
])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
|
|
4544
4598
|
itemRoles: { at: { first: "statement" } },
|
|
4545
4599
|
styleFallback: [id$1("feature-cards-cards")]
|
|
4546
|
-
}),
|
|
4547
|
-
defineCardListLook("feature-cards-index", "Ruled list", "index", [
|
|
4600
|
+
}), ["block.team-members"]),
|
|
4601
|
+
notFor(defineCardListLook("feature-cards-index", "Ruled list", "index", [
|
|
4548
4602
|
"title",
|
|
4549
4603
|
"text",
|
|
4550
4604
|
"action"
|
|
@@ -4553,7 +4607,7 @@ const blockAppearancePresets = [
|
|
|
4553
4607
|
knobDefaults: { cardMarker: "none" },
|
|
4554
4608
|
knobValues: { cardMarker: ["numbers", "none"] },
|
|
4555
4609
|
styleFallback: [id$1("feature-cards-cards")]
|
|
4556
|
-
}),
|
|
4610
|
+
}), ["block.team-members", "block.shop"]),
|
|
4557
4611
|
{
|
|
4558
4612
|
...defineCardListLook("feature-cards-timeline", "A timeline down the page", "index", [
|
|
4559
4613
|
"title",
|
|
@@ -4585,7 +4639,7 @@ const blockAppearancePresets = [
|
|
|
4585
4639
|
}),
|
|
4586
4640
|
blockKinds: ["block.feature-cards"]
|
|
4587
4641
|
},
|
|
4588
|
-
defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
|
|
4642
|
+
notFor(defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
|
|
4589
4643
|
"title",
|
|
4590
4644
|
"text",
|
|
4591
4645
|
"action"
|
|
@@ -4597,7 +4651,12 @@ const blockAppearancePresets = [
|
|
|
4597
4651
|
])]),
|
|
4598
4652
|
forcedKnobs: { cardMarker: "numbers" },
|
|
4599
4653
|
styleFallback: [id$1("feature-cards-cards")]
|
|
4600
|
-
}),
|
|
4654
|
+
}), [
|
|
4655
|
+
"block.team-members",
|
|
4656
|
+
"block.appointment-services",
|
|
4657
|
+
"block.offerings-preview",
|
|
4658
|
+
"block.shop"
|
|
4659
|
+
]),
|
|
4601
4660
|
defineCardListLook("card-list-plates", "Plates", "plates", [
|
|
4602
4661
|
"media",
|
|
4603
4662
|
"title",
|
|
@@ -4878,7 +4937,7 @@ const blockAppearancePresets = [
|
|
|
4878
4937
|
slotRoles: { panel: "card" },
|
|
4879
4938
|
styleFallback: [id$1("form-beside-introduction-arched-panel")]
|
|
4880
4939
|
}),
|
|
4881
|
-
defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
|
|
4940
|
+
notFor(defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
|
|
4882
4941
|
"media",
|
|
4883
4942
|
"title",
|
|
4884
4943
|
"text",
|
|
@@ -4897,7 +4956,7 @@ const blockAppearancePresets = [
|
|
|
4897
4956
|
dates: "summary"
|
|
4898
4957
|
},
|
|
4899
4958
|
styleFallback: [id$1("card-list-plates"), id$1("feature-cards-cards")]
|
|
4900
|
-
}),
|
|
4959
|
+
}), ["block.team-members", "block.appointment-services"]),
|
|
4901
4960
|
defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
|
|
4902
4961
|
"media",
|
|
4903
4962
|
"title",
|
|
@@ -5148,7 +5207,7 @@ const blockAppearancePresets = [
|
|
|
5148
5207
|
cardMarker: "none"
|
|
5149
5208
|
},
|
|
5150
5209
|
knobDefaults: { actionStyle: "link" },
|
|
5151
|
-
styleFallback: [id$1("feature-cards-
|
|
5210
|
+
styleFallback: [id$1("feature-cards-cards")]
|
|
5152
5211
|
}),
|
|
5153
5212
|
blockKinds: ["block.team-members"]
|
|
5154
5213
|
},
|
|
@@ -5166,7 +5225,7 @@ const blockAppearancePresets = [
|
|
|
5166
5225
|
sketch.button
|
|
5167
5226
|
])])]),
|
|
5168
5227
|
itemRoles: { items: "card" },
|
|
5169
|
-
styleFallback: [
|
|
5228
|
+
styleFallback: []
|
|
5170
5229
|
}),
|
|
5171
5230
|
defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
|
|
5172
5231
|
"title",
|
|
@@ -5211,7 +5270,7 @@ const blockAppearancePresets = [
|
|
|
5211
5270
|
thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row(sketch.weight(3, [sketch.title(.6, "small")]), sketch.weight(1, [sketch.price]))], { ruled: true })]),
|
|
5212
5271
|
forcedKnobs: { cardMarker: "none" },
|
|
5213
5272
|
knobDefaults: { actionStyle: "link" },
|
|
5214
|
-
styleFallback: [id$1("
|
|
5273
|
+
styleFallback: [id$1("shop-price-cards")]
|
|
5215
5274
|
}),
|
|
5216
5275
|
{
|
|
5217
5276
|
...defineCardListLook("card-list-photos-on-top", "Photos on top, three across", "cards", [
|
|
@@ -5449,7 +5508,7 @@ function applyLookPhotoTreatment(background, treatment, palette, tint = "dark",
|
|
|
5449
5508
|
return darkPhotoTreatment(background, palette, placement);
|
|
5450
5509
|
}
|
|
5451
5510
|
function darkPhotoTreatment(background, palette, placement, brandWash) {
|
|
5452
|
-
const ink =
|
|
5511
|
+
const ink = photoCopyInk(palette);
|
|
5453
5512
|
return {
|
|
5454
5513
|
...background,
|
|
5455
5514
|
overlay: {
|
|
@@ -5463,14 +5522,24 @@ function darkPhotoTreatment(background, palette, placement, brandWash) {
|
|
|
5463
5522
|
supportingColor: ink
|
|
5464
5523
|
};
|
|
5465
5524
|
}
|
|
5525
|
+
/**
|
|
5526
|
+
* The least black any photo copy band puts behind its text: the centred band's
|
|
5527
|
+
* even 60%. The foot band is at least 76% where its copy sits and the foot
|
|
5528
|
+
* brand paint 80% (under a wash no lighter than 28% black), so 60% bounds all three.
|
|
5529
|
+
*/
|
|
5530
|
+
const PHOTO_COPY_MIN_SHADE = .6;
|
|
5466
5531
|
/** Centred copy gets an even 60% band (white text over a white photo stays above 5.5:1) that eases off at the edges; the foot keeps its original paint. */
|
|
5467
5532
|
function photoCopyShade(placement, brandWash) {
|
|
5468
5533
|
if (placement === "foot" && brandWash) return `linear-gradient(${brandWash}, ${brandWash}), linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8))`;
|
|
5469
|
-
|
|
5534
|
+
const band = `rgba(0,0,0,${PHOTO_COPY_MIN_SHADE})`;
|
|
5535
|
+
return `var(--rb-opening-photo-shade, linear-gradient(transparent, transparent)), ${placement === "centre" ? `linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, ${band} 15%, ${band} 85%, rgba(0,0,0,0.15) 100%)` : "linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.76) 25%, rgba(0,0,0,0.4) 46%, transparent 72%)"}${brandWash ? `, linear-gradient(${brandWash}, ${brandWash})` : ""}`;
|
|
5470
5536
|
}
|
|
5471
|
-
/**
|
|
5472
|
-
|
|
5473
|
-
|
|
5537
|
+
/** Every pixel behind photo copy: anything from black up to the minimum shade over a white photo. */
|
|
5538
|
+
const PHOTO_COPY_PAINT = luminanceInterval(0, hexLuminance(compositeHex("#000000", PHOTO_COPY_MIN_SHADE, "#ffffff")));
|
|
5539
|
+
/** The palette's own light colour (its background, or its text on a dark palette) when it reads over the copy band, else white. */
|
|
5540
|
+
function photoCopyInk(palette) {
|
|
5541
|
+
const ink = paletteInk(PHOTO_COPY_PAINT, paletteInkRoles(palette));
|
|
5542
|
+
return ink.kind === "unpaintable" ? "#FFFFFF" : paletteInkToken(ink);
|
|
5474
5543
|
}
|
|
5475
5544
|
/** A light brand's dark ink cannot sit on unknown pixels: give light ink a dark backing. */
|
|
5476
5545
|
function brandPhotoTreatment(background, treatment, palette, placement) {
|
|
@@ -6143,6 +6212,227 @@ function validateBookingBarSurface(skin, bookingBar, surfaces) {
|
|
|
6143
6212
|
if (bookingBar === void 0) return;
|
|
6144
6213
|
if (surfaces[bookingBar.surface]?.kind !== "token") throw new Error(`Booking bar for ${skin} needs a declared token surface: ${bookingBar.surface}`);
|
|
6145
6214
|
}
|
|
6215
|
+
//#endregion
|
|
6216
|
+
//#region ../theme-core/src/gradients/presets.ts
|
|
6217
|
+
/**
|
|
6218
|
+
* Curated gradient presets based on theme palette
|
|
6219
|
+
*/
|
|
6220
|
+
const gradientPresetData = {
|
|
6221
|
+
"primary-secondary": {
|
|
6222
|
+
name: "Primary to Secondary",
|
|
6223
|
+
description: "Blend your primary and secondary brand colors",
|
|
6224
|
+
type: "linear",
|
|
6225
|
+
angle: 135,
|
|
6226
|
+
stops: [{
|
|
6227
|
+
color: "primary-500",
|
|
6228
|
+
position: 0
|
|
6229
|
+
}, {
|
|
6230
|
+
color: "secondary-500",
|
|
6231
|
+
position: 100
|
|
6232
|
+
}]
|
|
6233
|
+
},
|
|
6234
|
+
"primary-accent": {
|
|
6235
|
+
name: "Primary to Accent",
|
|
6236
|
+
description: "Energetic gradient from primary to accent",
|
|
6237
|
+
type: "linear",
|
|
6238
|
+
angle: 135,
|
|
6239
|
+
stops: [{
|
|
6240
|
+
color: "primary-500",
|
|
6241
|
+
position: 0
|
|
6242
|
+
}, {
|
|
6243
|
+
color: "accent-500",
|
|
6244
|
+
position: 100
|
|
6245
|
+
}]
|
|
6246
|
+
},
|
|
6247
|
+
"secondary-accent": {
|
|
6248
|
+
name: "Secondary to Accent",
|
|
6249
|
+
description: "Vibrant secondary to accent blend",
|
|
6250
|
+
type: "linear",
|
|
6251
|
+
angle: 135,
|
|
6252
|
+
stops: [{
|
|
6253
|
+
color: "secondary-500",
|
|
6254
|
+
position: 0
|
|
6255
|
+
}, {
|
|
6256
|
+
color: "accent-500",
|
|
6257
|
+
position: 100
|
|
6258
|
+
}]
|
|
6259
|
+
},
|
|
6260
|
+
"primary-light-dark": {
|
|
6261
|
+
name: "Primary Light to Dark",
|
|
6262
|
+
description: "Subtle primary color fade",
|
|
6263
|
+
type: "linear",
|
|
6264
|
+
angle: 180,
|
|
6265
|
+
stops: [{
|
|
6266
|
+
color: "primary-500",
|
|
6267
|
+
position: 0
|
|
6268
|
+
}, {
|
|
6269
|
+
color: "primary-900",
|
|
6270
|
+
position: 100
|
|
6271
|
+
}]
|
|
6272
|
+
},
|
|
6273
|
+
"primary-dark-light": {
|
|
6274
|
+
name: "Primary Dark to Light",
|
|
6275
|
+
description: "Reverse primary fade",
|
|
6276
|
+
type: "linear",
|
|
6277
|
+
angle: 180,
|
|
6278
|
+
stops: [{
|
|
6279
|
+
color: "primary-900",
|
|
6280
|
+
position: 0
|
|
6281
|
+
}, {
|
|
6282
|
+
color: "primary-50",
|
|
6283
|
+
position: 100
|
|
6284
|
+
}]
|
|
6285
|
+
},
|
|
6286
|
+
"secondary-light-dark": {
|
|
6287
|
+
name: "Secondary Light to Dark",
|
|
6288
|
+
description: "Subtle secondary color fade",
|
|
6289
|
+
type: "linear",
|
|
6290
|
+
angle: 180,
|
|
6291
|
+
stops: [{
|
|
6292
|
+
color: "secondary-500",
|
|
6293
|
+
position: 0
|
|
6294
|
+
}, {
|
|
6295
|
+
color: "secondary-900",
|
|
6296
|
+
position: 100
|
|
6297
|
+
}]
|
|
6298
|
+
},
|
|
6299
|
+
"accent-light-dark": {
|
|
6300
|
+
name: "Accent Light to Dark",
|
|
6301
|
+
description: "Accent color depth fade",
|
|
6302
|
+
type: "linear",
|
|
6303
|
+
angle: 180,
|
|
6304
|
+
stops: [{
|
|
6305
|
+
color: "accent-500",
|
|
6306
|
+
position: 0
|
|
6307
|
+
}, {
|
|
6308
|
+
color: "accent-900",
|
|
6309
|
+
position: 100
|
|
6310
|
+
}]
|
|
6311
|
+
},
|
|
6312
|
+
"background-surface": {
|
|
6313
|
+
name: "Background to Surface",
|
|
6314
|
+
description: "Subtle depth using base colors",
|
|
6315
|
+
type: "linear",
|
|
6316
|
+
angle: 180,
|
|
6317
|
+
stops: [{
|
|
6318
|
+
color: "background",
|
|
6319
|
+
position: 0
|
|
6320
|
+
}, {
|
|
6321
|
+
color: "surface",
|
|
6322
|
+
position: 100
|
|
6323
|
+
}]
|
|
6324
|
+
},
|
|
6325
|
+
"neutral-fade": {
|
|
6326
|
+
name: "Neutral Gradient",
|
|
6327
|
+
description: "Elegant neutral color fade",
|
|
6328
|
+
type: "linear",
|
|
6329
|
+
angle: 180,
|
|
6330
|
+
stops: [{
|
|
6331
|
+
color: "neutral-900",
|
|
6332
|
+
position: 0
|
|
6333
|
+
}, {
|
|
6334
|
+
color: "neutral-50",
|
|
6335
|
+
position: 100
|
|
6336
|
+
}]
|
|
6337
|
+
},
|
|
6338
|
+
"primary-glow": {
|
|
6339
|
+
name: "Primary glow",
|
|
6340
|
+
description: "A soft top-centred glow using your primary palette",
|
|
6341
|
+
type: "radial",
|
|
6342
|
+
shape: "ellipse",
|
|
6343
|
+
position: "top center",
|
|
6344
|
+
stops: [{
|
|
6345
|
+
color: "primary-900",
|
|
6346
|
+
position: 0
|
|
6347
|
+
}, {
|
|
6348
|
+
color: "primary-950",
|
|
6349
|
+
position: 100
|
|
6350
|
+
}],
|
|
6351
|
+
foreground: {
|
|
6352
|
+
textColor: "onPrimary900",
|
|
6353
|
+
headingColor: "onPrimary900",
|
|
6354
|
+
linkColor: "onPrimary900",
|
|
6355
|
+
supportingColor: "onPrimary900"
|
|
6356
|
+
}
|
|
6357
|
+
},
|
|
6358
|
+
"accent-glow": {
|
|
6359
|
+
name: "Accent glow",
|
|
6360
|
+
description: "A soft top-centred glow using your accent palette",
|
|
6361
|
+
type: "radial",
|
|
6362
|
+
shape: "ellipse",
|
|
6363
|
+
position: "top center",
|
|
6364
|
+
stops: [{
|
|
6365
|
+
color: "accent-900",
|
|
6366
|
+
position: 0
|
|
6367
|
+
}, {
|
|
6368
|
+
color: "accent-950",
|
|
6369
|
+
position: 100
|
|
6370
|
+
}],
|
|
6371
|
+
foreground: {
|
|
6372
|
+
textColor: "onAccent900",
|
|
6373
|
+
headingColor: "onAccent900",
|
|
6374
|
+
linkColor: "onAccent900",
|
|
6375
|
+
supportingColor: "onAccent900"
|
|
6376
|
+
}
|
|
6377
|
+
},
|
|
6378
|
+
"primary-secondary-accent": {
|
|
6379
|
+
name: "Brand Trio",
|
|
6380
|
+
description: "All three brand colors in harmony",
|
|
6381
|
+
type: "linear",
|
|
6382
|
+
angle: 135,
|
|
6383
|
+
stops: [
|
|
6384
|
+
{
|
|
6385
|
+
color: "primary-500",
|
|
6386
|
+
position: 0
|
|
6387
|
+
},
|
|
6388
|
+
{
|
|
6389
|
+
color: "secondary-500",
|
|
6390
|
+
position: 50
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
color: "accent-500",
|
|
6394
|
+
position: 100
|
|
6395
|
+
}
|
|
6396
|
+
]
|
|
6397
|
+
}
|
|
6398
|
+
};
|
|
6399
|
+
const presetData = (id) => gradientPresetData[id];
|
|
6400
|
+
/**
|
|
6401
|
+
* Curated library of gradient presets.
|
|
6402
|
+
* All gradients use theme color tokens, so they adapt to the site's palette.
|
|
6403
|
+
*/
|
|
6404
|
+
const GRADIENT_PRESETS = gradientPresetIdValues.flatMap((value) => parseGradientPresetId(value) ?? []).map((id) => ({
|
|
6405
|
+
id,
|
|
6406
|
+
...presetData(id)
|
|
6407
|
+
}));
|
|
6408
|
+
const gradientPresetById = Object.fromEntries(GRADIENT_PRESETS.map((preset) => [preset.id, preset]));
|
|
6409
|
+
function getGradientPreset(id) {
|
|
6410
|
+
return gradientPresetById[id];
|
|
6411
|
+
}
|
|
6412
|
+
//#endregion
|
|
6413
|
+
//#region ../theme-core/src/gradients/utils.ts
|
|
6414
|
+
/**
|
|
6415
|
+
* Convert a GradientConfig to a CSS gradient string
|
|
6416
|
+
*
|
|
6417
|
+
* @param config - The gradient configuration using theme tokens
|
|
6418
|
+
* @param tokens - Map of theme color tokens to hex values
|
|
6419
|
+
* @returns CSS gradient string (e.g., "linear-gradient(180deg, #3b82f6 0%, #f59e0b 100%)")
|
|
6420
|
+
*/
|
|
6421
|
+
function gradientToCss(config, tokens) {
|
|
6422
|
+
const stops = config.stops.map((stop) => {
|
|
6423
|
+
return `${tokens[stop.color] ?? "#000000"} ${stop.position}%`;
|
|
6424
|
+
}).join(", ");
|
|
6425
|
+
const type = config.type ?? "linear";
|
|
6426
|
+
if (type === "radial") {
|
|
6427
|
+
const position = config.position ?? "center";
|
|
6428
|
+
return `radial-gradient(${config.shape ?? "circle"} at ${position}, ${stops})`;
|
|
6429
|
+
}
|
|
6430
|
+
if (type === "conic") {
|
|
6431
|
+
const position = config.position ?? "center";
|
|
6432
|
+
return `conic-gradient(from ${config.angle ?? 0}deg at ${position}, ${stops})`;
|
|
6433
|
+
}
|
|
6434
|
+
return `linear-gradient(${config.angle ?? 180}deg, ${stops})`;
|
|
6435
|
+
}
|
|
6146
6436
|
const pageDesignUserPinnedAppearanceChoiceSchema = z.object({
|
|
6147
6437
|
kind: z.literal("user-pinned"),
|
|
6148
6438
|
value: z.string().min(1).transform(asAppearancePresetId)
|
|
@@ -10030,8 +10320,8 @@ const gilt = {
|
|
|
10030
10320
|
shadow: flatShadow,
|
|
10031
10321
|
sizes: {
|
|
10032
10322
|
sm: {
|
|
10033
|
-
padding: "
|
|
10034
|
-
fontSize: "text-
|
|
10323
|
+
padding: "8px 16px",
|
|
10324
|
+
fontSize: "text-15px",
|
|
10035
10325
|
borderRadius: "rounded-lg"
|
|
10036
10326
|
},
|
|
10037
10327
|
md: {
|
|
@@ -10078,12 +10368,21 @@ const giltPrimaryHover = {
|
|
|
10078
10368
|
const giltSecondary = {
|
|
10079
10369
|
...gilt,
|
|
10080
10370
|
background: {
|
|
10081
|
-
type: "
|
|
10082
|
-
|
|
10083
|
-
}
|
|
10371
|
+
type: "surface",
|
|
10372
|
+
role: "link"
|
|
10373
|
+
},
|
|
10374
|
+
border: { widthClass: "border" }
|
|
10084
10375
|
};
|
|
10085
10376
|
const giltSecondaryHover = {
|
|
10086
|
-
...
|
|
10377
|
+
...gilt,
|
|
10378
|
+
background: {
|
|
10379
|
+
type: "solid",
|
|
10380
|
+
colorToken: "text"
|
|
10381
|
+
},
|
|
10382
|
+
border: {
|
|
10383
|
+
widthClass: "border",
|
|
10384
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("text")
|
|
10385
|
+
},
|
|
10087
10386
|
effects: [lift$1],
|
|
10088
10387
|
contextualHover: {
|
|
10089
10388
|
kind: "shade-shift",
|
|
@@ -18990,227 +19289,6 @@ function toPageRuntimeJoin(join) {
|
|
|
18990
19289
|
};
|
|
18991
19290
|
}
|
|
18992
19291
|
//#endregion
|
|
18993
|
-
//#region ../theme-core/src/gradients/presets.ts
|
|
18994
|
-
/**
|
|
18995
|
-
* Curated gradient presets based on theme palette
|
|
18996
|
-
*/
|
|
18997
|
-
const gradientPresetData = {
|
|
18998
|
-
"primary-secondary": {
|
|
18999
|
-
name: "Primary to Secondary",
|
|
19000
|
-
description: "Blend your primary and secondary brand colors",
|
|
19001
|
-
type: "linear",
|
|
19002
|
-
angle: 135,
|
|
19003
|
-
stops: [{
|
|
19004
|
-
color: "primary-500",
|
|
19005
|
-
position: 0
|
|
19006
|
-
}, {
|
|
19007
|
-
color: "secondary-500",
|
|
19008
|
-
position: 100
|
|
19009
|
-
}]
|
|
19010
|
-
},
|
|
19011
|
-
"primary-accent": {
|
|
19012
|
-
name: "Primary to Accent",
|
|
19013
|
-
description: "Energetic gradient from primary to accent",
|
|
19014
|
-
type: "linear",
|
|
19015
|
-
angle: 135,
|
|
19016
|
-
stops: [{
|
|
19017
|
-
color: "primary-500",
|
|
19018
|
-
position: 0
|
|
19019
|
-
}, {
|
|
19020
|
-
color: "accent-500",
|
|
19021
|
-
position: 100
|
|
19022
|
-
}]
|
|
19023
|
-
},
|
|
19024
|
-
"secondary-accent": {
|
|
19025
|
-
name: "Secondary to Accent",
|
|
19026
|
-
description: "Vibrant secondary to accent blend",
|
|
19027
|
-
type: "linear",
|
|
19028
|
-
angle: 135,
|
|
19029
|
-
stops: [{
|
|
19030
|
-
color: "secondary-500",
|
|
19031
|
-
position: 0
|
|
19032
|
-
}, {
|
|
19033
|
-
color: "accent-500",
|
|
19034
|
-
position: 100
|
|
19035
|
-
}]
|
|
19036
|
-
},
|
|
19037
|
-
"primary-light-dark": {
|
|
19038
|
-
name: "Primary Light to Dark",
|
|
19039
|
-
description: "Subtle primary color fade",
|
|
19040
|
-
type: "linear",
|
|
19041
|
-
angle: 180,
|
|
19042
|
-
stops: [{
|
|
19043
|
-
color: "primary-500",
|
|
19044
|
-
position: 0
|
|
19045
|
-
}, {
|
|
19046
|
-
color: "primary-900",
|
|
19047
|
-
position: 100
|
|
19048
|
-
}]
|
|
19049
|
-
},
|
|
19050
|
-
"primary-dark-light": {
|
|
19051
|
-
name: "Primary Dark to Light",
|
|
19052
|
-
description: "Reverse primary fade",
|
|
19053
|
-
type: "linear",
|
|
19054
|
-
angle: 180,
|
|
19055
|
-
stops: [{
|
|
19056
|
-
color: "primary-900",
|
|
19057
|
-
position: 0
|
|
19058
|
-
}, {
|
|
19059
|
-
color: "primary-50",
|
|
19060
|
-
position: 100
|
|
19061
|
-
}]
|
|
19062
|
-
},
|
|
19063
|
-
"secondary-light-dark": {
|
|
19064
|
-
name: "Secondary Light to Dark",
|
|
19065
|
-
description: "Subtle secondary color fade",
|
|
19066
|
-
type: "linear",
|
|
19067
|
-
angle: 180,
|
|
19068
|
-
stops: [{
|
|
19069
|
-
color: "secondary-500",
|
|
19070
|
-
position: 0
|
|
19071
|
-
}, {
|
|
19072
|
-
color: "secondary-900",
|
|
19073
|
-
position: 100
|
|
19074
|
-
}]
|
|
19075
|
-
},
|
|
19076
|
-
"accent-light-dark": {
|
|
19077
|
-
name: "Accent Light to Dark",
|
|
19078
|
-
description: "Accent color depth fade",
|
|
19079
|
-
type: "linear",
|
|
19080
|
-
angle: 180,
|
|
19081
|
-
stops: [{
|
|
19082
|
-
color: "accent-500",
|
|
19083
|
-
position: 0
|
|
19084
|
-
}, {
|
|
19085
|
-
color: "accent-900",
|
|
19086
|
-
position: 100
|
|
19087
|
-
}]
|
|
19088
|
-
},
|
|
19089
|
-
"background-surface": {
|
|
19090
|
-
name: "Background to Surface",
|
|
19091
|
-
description: "Subtle depth using base colors",
|
|
19092
|
-
type: "linear",
|
|
19093
|
-
angle: 180,
|
|
19094
|
-
stops: [{
|
|
19095
|
-
color: "background",
|
|
19096
|
-
position: 0
|
|
19097
|
-
}, {
|
|
19098
|
-
color: "surface",
|
|
19099
|
-
position: 100
|
|
19100
|
-
}]
|
|
19101
|
-
},
|
|
19102
|
-
"neutral-fade": {
|
|
19103
|
-
name: "Neutral Gradient",
|
|
19104
|
-
description: "Elegant neutral color fade",
|
|
19105
|
-
type: "linear",
|
|
19106
|
-
angle: 180,
|
|
19107
|
-
stops: [{
|
|
19108
|
-
color: "neutral-900",
|
|
19109
|
-
position: 0
|
|
19110
|
-
}, {
|
|
19111
|
-
color: "neutral-50",
|
|
19112
|
-
position: 100
|
|
19113
|
-
}]
|
|
19114
|
-
},
|
|
19115
|
-
"primary-glow": {
|
|
19116
|
-
name: "Primary glow",
|
|
19117
|
-
description: "A soft top-centred glow using your primary palette",
|
|
19118
|
-
type: "radial",
|
|
19119
|
-
shape: "ellipse",
|
|
19120
|
-
position: "top center",
|
|
19121
|
-
stops: [{
|
|
19122
|
-
color: "primary-900",
|
|
19123
|
-
position: 0
|
|
19124
|
-
}, {
|
|
19125
|
-
color: "primary-950",
|
|
19126
|
-
position: 100
|
|
19127
|
-
}],
|
|
19128
|
-
foreground: {
|
|
19129
|
-
textColor: "onPrimary900",
|
|
19130
|
-
headingColor: "onPrimary900",
|
|
19131
|
-
linkColor: "onPrimary900",
|
|
19132
|
-
supportingColor: "onPrimary900"
|
|
19133
|
-
}
|
|
19134
|
-
},
|
|
19135
|
-
"accent-glow": {
|
|
19136
|
-
name: "Accent glow",
|
|
19137
|
-
description: "A soft top-centred glow using your accent palette",
|
|
19138
|
-
type: "radial",
|
|
19139
|
-
shape: "ellipse",
|
|
19140
|
-
position: "top center",
|
|
19141
|
-
stops: [{
|
|
19142
|
-
color: "accent-900",
|
|
19143
|
-
position: 0
|
|
19144
|
-
}, {
|
|
19145
|
-
color: "accent-950",
|
|
19146
|
-
position: 100
|
|
19147
|
-
}],
|
|
19148
|
-
foreground: {
|
|
19149
|
-
textColor: "onAccent900",
|
|
19150
|
-
headingColor: "onAccent900",
|
|
19151
|
-
linkColor: "onAccent900",
|
|
19152
|
-
supportingColor: "onAccent900"
|
|
19153
|
-
}
|
|
19154
|
-
},
|
|
19155
|
-
"primary-secondary-accent": {
|
|
19156
|
-
name: "Brand Trio",
|
|
19157
|
-
description: "All three brand colors in harmony",
|
|
19158
|
-
type: "linear",
|
|
19159
|
-
angle: 135,
|
|
19160
|
-
stops: [
|
|
19161
|
-
{
|
|
19162
|
-
color: "primary-500",
|
|
19163
|
-
position: 0
|
|
19164
|
-
},
|
|
19165
|
-
{
|
|
19166
|
-
color: "secondary-500",
|
|
19167
|
-
position: 50
|
|
19168
|
-
},
|
|
19169
|
-
{
|
|
19170
|
-
color: "accent-500",
|
|
19171
|
-
position: 100
|
|
19172
|
-
}
|
|
19173
|
-
]
|
|
19174
|
-
}
|
|
19175
|
-
};
|
|
19176
|
-
const presetData = (id) => gradientPresetData[id];
|
|
19177
|
-
/**
|
|
19178
|
-
* Curated library of gradient presets.
|
|
19179
|
-
* All gradients use theme color tokens, so they adapt to the site's palette.
|
|
19180
|
-
*/
|
|
19181
|
-
const GRADIENT_PRESETS = gradientPresetIdValues.flatMap((value) => parseGradientPresetId(value) ?? []).map((id) => ({
|
|
19182
|
-
id,
|
|
19183
|
-
...presetData(id)
|
|
19184
|
-
}));
|
|
19185
|
-
const gradientPresetById = Object.fromEntries(GRADIENT_PRESETS.map((preset) => [preset.id, preset]));
|
|
19186
|
-
function getGradientPreset(id) {
|
|
19187
|
-
return gradientPresetById[id];
|
|
19188
|
-
}
|
|
19189
|
-
//#endregion
|
|
19190
|
-
//#region ../theme-core/src/gradients/utils.ts
|
|
19191
|
-
/**
|
|
19192
|
-
* Convert a GradientConfig to a CSS gradient string
|
|
19193
|
-
*
|
|
19194
|
-
* @param config - The gradient configuration using theme tokens
|
|
19195
|
-
* @param tokens - Map of theme color tokens to hex values
|
|
19196
|
-
* @returns CSS gradient string (e.g., "linear-gradient(180deg, #3b82f6 0%, #f59e0b 100%)")
|
|
19197
|
-
*/
|
|
19198
|
-
function gradientToCss(config, tokens) {
|
|
19199
|
-
const stops = config.stops.map((stop) => {
|
|
19200
|
-
return `${tokens[stop.color] ?? "#000000"} ${stop.position}%`;
|
|
19201
|
-
}).join(", ");
|
|
19202
|
-
const type = config.type ?? "linear";
|
|
19203
|
-
if (type === "radial") {
|
|
19204
|
-
const position = config.position ?? "center";
|
|
19205
|
-
return `radial-gradient(${config.shape ?? "circle"} at ${position}, ${stops})`;
|
|
19206
|
-
}
|
|
19207
|
-
if (type === "conic") {
|
|
19208
|
-
const position = config.position ?? "center";
|
|
19209
|
-
return `conic-gradient(from ${config.angle ?? 0}deg at ${position}, ${stops})`;
|
|
19210
|
-
}
|
|
19211
|
-
return `linear-gradient(${config.angle ?? 180}deg, ${stops})`;
|
|
19212
|
-
}
|
|
19213
|
-
//#endregion
|
|
19214
19292
|
//#region ../theme-core/src/site-styles/sectionSurfaceBackgrounds.ts
|
|
19215
19293
|
function compileGradientSectionBackground(background, foreground, palette) {
|
|
19216
19294
|
const preset = getGradientPreset(background.gradientPresetId);
|
|
@@ -20299,14 +20377,6 @@ const loomLooks = {
|
|
|
20299
20377
|
treatment: "events-recurring-week",
|
|
20300
20378
|
roleMap: loomRoles
|
|
20301
20379
|
},
|
|
20302
|
-
{
|
|
20303
|
-
id: id("hero-framed-title"),
|
|
20304
|
-
treatment: "hero-framed-title",
|
|
20305
|
-
roleMap: {
|
|
20306
|
-
...loomRoles,
|
|
20307
|
-
highlight: "deep"
|
|
20308
|
-
}
|
|
20309
|
-
},
|
|
20310
20380
|
{
|
|
20311
20381
|
id: id("testimonials-quote-cards"),
|
|
20312
20382
|
treatment: "quote-cards",
|
|
@@ -23995,6 +24065,7 @@ const lanternLooks = {
|
|
|
23995
24065
|
id: id("event-calendar-session-cards"),
|
|
23996
24066
|
treatment: "tablets",
|
|
23997
24067
|
removeKnobs: ["listColumns"],
|
|
24068
|
+
knobValues: { showPhotos: ["false"] },
|
|
23998
24069
|
surfaceTints: { date: {
|
|
23999
24070
|
source: "text",
|
|
24000
24071
|
opacity: 8
|
|
@@ -24873,7 +24944,7 @@ const curatedSiteStyles = [
|
|
|
24873
24944
|
compositionBudget: quietBudget,
|
|
24874
24945
|
typography: fulcrumTypography,
|
|
24875
24946
|
fontPairings: fulcrumFontPairings,
|
|
24876
|
-
looks: withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles),
|
|
24947
|
+
looks: withSharedLooks(withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles), fulcrumRoles),
|
|
24877
24948
|
contentTemplateDefaults: { event: "event-header" },
|
|
24878
24949
|
themeOverrides: {
|
|
24879
24950
|
accordions: {
|
|
@@ -24934,10 +25005,10 @@ const curatedSiteStyles = [
|
|
|
24934
25005
|
compositionBudget: expressiveBudget,
|
|
24935
25006
|
typography: posterTypography,
|
|
24936
25007
|
fontPairings: posterFontPairings,
|
|
24937
|
-
looks: withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
|
|
25008
|
+
looks: withSharedLooks(withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
|
|
24938
25009
|
...posterRoles,
|
|
24939
25010
|
statement: "pop"
|
|
24940
|
-
}),
|
|
25011
|
+
}), posterRoles, ["cta-text-in-panel", "faq-questions-in-panel"]),
|
|
24941
25012
|
contentTemplateDefaults: { event: "event-header" },
|
|
24942
25013
|
themeOverrides: {
|
|
24943
25014
|
accordions: boldBorderedAccordionSystem,
|
|
@@ -24977,7 +25048,7 @@ const curatedSiteStyles = [
|
|
|
24977
25048
|
compositionBudget: quietBudget,
|
|
24978
25049
|
typography: lanternTypography,
|
|
24979
25050
|
fontPairings: lanternFontPairings,
|
|
24980
|
-
looks: withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles),
|
|
25051
|
+
looks: withSharedLooks(withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles), lanternRoles),
|
|
24981
25052
|
contentTemplateDefaults: { event: "event-header" },
|
|
24982
25053
|
themeOverrides: {
|
|
24983
25054
|
accordions: warmInsetAccordionSystem,
|
|
@@ -25020,7 +25091,13 @@ const curatedSiteStyles = [
|
|
|
25020
25091
|
compositionBudget: quietBudget,
|
|
25021
25092
|
typography: measureTypography,
|
|
25022
25093
|
fontPairings: measureFontPairings,
|
|
25023
|
-
looks: withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles),
|
|
25094
|
+
looks: withSharedLooks(withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles), measureRoles, [
|
|
25095
|
+
"intro-large-photo-beside-text",
|
|
25096
|
+
"media-text-photo-to-edge",
|
|
25097
|
+
"image-gallery-moving-row",
|
|
25098
|
+
"cta-text-in-panel",
|
|
25099
|
+
"faq-questions-in-panel"
|
|
25100
|
+
]),
|
|
25024
25101
|
contentTemplateDefaults: { event: "event-header" },
|
|
25025
25102
|
themeOverrides: {
|
|
25026
25103
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -25062,7 +25139,7 @@ const curatedSiteStyles = [
|
|
|
25062
25139
|
typography: folioTypography,
|
|
25063
25140
|
fontPairings: folioFontPairings,
|
|
25064
25141
|
heroTypography: groundedSerifHeroTypography,
|
|
25065
|
-
looks: withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles),
|
|
25142
|
+
looks: withSharedLooks(withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles), folioRoles, ["faq-questions-in-panel"]),
|
|
25066
25143
|
contentTemplateDefaults: { event: "event-header" },
|
|
25067
25144
|
themeOverrides: {
|
|
25068
25145
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -25134,7 +25211,7 @@ const curatedSiteStyles = [
|
|
|
25134
25211
|
typography: loomTypography,
|
|
25135
25212
|
fontPairings: loomFontPairings,
|
|
25136
25213
|
heroTypography: groundedSerifHeroTypography,
|
|
25137
|
-
looks: loomLooks,
|
|
25214
|
+
looks: withSharedLooks(loomLooks, loomRoles),
|
|
25138
25215
|
contentTemplateDefaults: { event: "event-header" },
|
|
25139
25216
|
themeOverrides: {
|
|
25140
25217
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -25202,7 +25279,7 @@ const curatedSiteStyles = [
|
|
|
25202
25279
|
compositionBudget: balancedBudget,
|
|
25203
25280
|
typography: poiseTypography,
|
|
25204
25281
|
fontPairings: poiseFontPairings,
|
|
25205
|
-
looks: poiseLooks,
|
|
25282
|
+
looks: withSharedLooks(poiseLooks, poiseRoles, ["faq-questions-in-panel"]),
|
|
25206
25283
|
contentTemplateDefaults: { event: "event-header" },
|
|
25207
25284
|
themeOverrides: {
|
|
25208
25285
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -25268,7 +25345,7 @@ const curatedSiteStyles = [
|
|
|
25268
25345
|
},
|
|
25269
25346
|
compositionBudget: balancedBudget,
|
|
25270
25347
|
typography: havenTypography,
|
|
25271
|
-
looks: havenLooks,
|
|
25348
|
+
looks: withSharedLooks(havenLooks, havenRoles, ["faq-questions-in-panel"]),
|
|
25272
25349
|
contentTemplateDefaults: { event: "event-header" },
|
|
25273
25350
|
themeOverrides: {
|
|
25274
25351
|
accordions: editorialDividedAccordionSystem,
|
|
@@ -25330,7 +25407,7 @@ const curatedSiteStyles = [
|
|
|
25330
25407
|
name: "Orbit",
|
|
25331
25408
|
offering: {
|
|
25332
25409
|
kind: "client",
|
|
25333
|
-
siteSlugs: ["danu"]
|
|
25410
|
+
siteSlugs: ["danu", "south-west-twerk-school"]
|
|
25334
25411
|
},
|
|
25335
25412
|
description: "Round photos with a ring around them, three dots above each heading, white rounded cards and pill buttons, with arcs where your bands of colour begin and end. For dance schools, movement classes and community studios.",
|
|
25336
25413
|
generationBrief: "Use warm, lively words in sentence case for the text, and keep headings short, because they are set in capitals. Say plainly who a class is for and that beginners are welcome, give real times, prices and places, and avoid fitness slogans and promises about results.",
|
|
@@ -25480,6 +25557,46 @@ function withTeamLooks(looks, roleMap) {
|
|
|
25480
25557
|
]
|
|
25481
25558
|
};
|
|
25482
25559
|
}
|
|
25560
|
+
function withSharedLooks(looks, roleMap, leaveOut = []) {
|
|
25561
|
+
const shared = [
|
|
25562
|
+
{
|
|
25563
|
+
id: id("intro-large-photo-beside-text"),
|
|
25564
|
+
treatment: "intro-photo-large",
|
|
25565
|
+
roleMap
|
|
25566
|
+
},
|
|
25567
|
+
{
|
|
25568
|
+
id: id("media-text-photo-to-edge"),
|
|
25569
|
+
treatment: "media-edge",
|
|
25570
|
+
roleMap
|
|
25571
|
+
},
|
|
25572
|
+
{
|
|
25573
|
+
id: id("form-beside-introduction-no-card"),
|
|
25574
|
+
treatment: "form-open",
|
|
25575
|
+
roleMap
|
|
25576
|
+
},
|
|
25577
|
+
{
|
|
25578
|
+
id: id("image-gallery-moving-row"),
|
|
25579
|
+
treatment: "gallery-moving",
|
|
25580
|
+
roleMap
|
|
25581
|
+
},
|
|
25582
|
+
{
|
|
25583
|
+
id: id("cta-text-in-panel"),
|
|
25584
|
+
treatment: "cta-panel",
|
|
25585
|
+
roleMap
|
|
25586
|
+
},
|
|
25587
|
+
{
|
|
25588
|
+
id: id("faq-questions-in-panel"),
|
|
25589
|
+
treatment: "faq-panel",
|
|
25590
|
+
itemRoles: { container: "highlight" },
|
|
25591
|
+
roleMap
|
|
25592
|
+
}
|
|
25593
|
+
];
|
|
25594
|
+
const skipped = leaveOut.map(id);
|
|
25595
|
+
return {
|
|
25596
|
+
...looks,
|
|
25597
|
+
offers: [...looks.offers, ...shared.filter((offer) => !skipped.includes(offer.id) && !looks.offers.some((own) => own.id === offer.id))]
|
|
25598
|
+
};
|
|
25599
|
+
}
|
|
25483
25600
|
function withPriceLooks(looks, roleMap, featuredRoleMap = roleMap) {
|
|
25484
25601
|
return {
|
|
25485
25602
|
...looks,
|
|
@@ -25991,7 +26108,8 @@ const arrangementLookHooks = [
|
|
|
25991
26108
|
"data-shape",
|
|
25992
26109
|
"data-list-group",
|
|
25993
26110
|
"data-section-spacing",
|
|
25994
|
-
"data-video-provider"
|
|
26111
|
+
"data-video-provider",
|
|
26112
|
+
"data-portal"
|
|
25995
26113
|
];
|
|
25996
26114
|
const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
|
|
25997
26115
|
function arrangementStyleAvailability(style, preset, capabilities) {
|
|
@@ -26409,4 +26527,14 @@ function listItemPresentation(presentation, index, count, featured = false) {
|
|
|
26409
26527
|
} : presentation;
|
|
26410
26528
|
}
|
|
26411
26529
|
//#endregion
|
|
26412
|
-
|
|
26530
|
+
//#region ../logger/src/noop.ts
|
|
26531
|
+
const noop = () => {};
|
|
26532
|
+
const logger = {
|
|
26533
|
+
debug: noop,
|
|
26534
|
+
info: noop,
|
|
26535
|
+
warn: noop,
|
|
26536
|
+
error: noop,
|
|
26537
|
+
withFields: (_) => logger
|
|
26538
|
+
};
|
|
26539
|
+
//#endregion
|
|
26540
|
+
export { navLinkOwnsHoverForeground as $, TokenResolver as $t, filterLookIdsForPolicy as A, themeV2CompilerOwnedFieldNames as At, surfaceResolutionContextFromTheme as B, designIssueSeverityForPolicy as Bt, resolveModeArrangement as C, asPageFlowPresetId as Cn, deriveSectionGround as Ct, buildInitialPolicyPageDesignIntent as D, sectionSurfaceBase as Dt, applySiteStyleBlockPoliciesToPageDesignIntent as E, sectionForegroundBackground as Et, getCuratedSiteStyle as F, assertNever as Ft, getNavLinkPreset as G, sectionBackgroundPaintValues as Gt, generateDefaultCardSystem as H, introCompositionTreatmentValues as Ht, requireCuratedSiteStyle as I, defineBlockDesignCapability as It, generateEffectsCSS as J, opaqueSurfaceContextFromTheme as Jt, buildTextContrastShadow as K, testimonialsCompositionTreatmentValues as Kt, compilePageRuntimeFields as L, defineExactCatalog as Lt, componentRuntimeRulesForTheme as M, blockAppearancePresets as Mt, designRuntimeRulesForSiteStyle as N, resolveEffectiveKnobs as Nt, deriveSiteStyleBlockPolicy as O, defaultHeroImageSurfaceTreatment as Ot, designRuntimeRulesForTheme as P, lookModes as Pt, navLinkHoverColorCandidate as Q, arrangementSlotNames as Qt, compiledRuntimeStyleFieldNames as R, defineFrameCapability as Rt, resolveEffectiveArrangement as S, asLayoutVariantKey as Sn, applyLookPhotoTreatment as St, applyBlockContentVariantPolicy as T, makeBoundaryId as Tn, resolveSectionBackground as Tt, generateFooterCss as U, offeringsPreviewCompositionTreatmentValues as Ut, resolveCardRole as V, featureCardCompositionTreatmentValues as Vt, footerForegroundCandidates as W, plainFrame as Wt, resolveEffectPaint as X, selectLogoVariant as Xt, resolveEffectApplications as Y, opaqueSurfaceDeclarations as Yt, generateInteractiveChildInheritanceCSS as Z, surfaceToneFromForegroundToken as Zt, resolveArrangementLookForBlock as _, asHeaderLayoutId as _n, softBoundaryOption as _t, lookListPresentationSchemaShape as a, blockCustomCssRuleSchema as an, pageDesignDecisionsV2Schema as at, arrangementManifestFromVariants as b, asAppearancePresetId as bn, anglePolygonCss as bt, lookPresentationOnPalette as c, boxBackgroundSchema as cn, sectionShapeForGround as ct, arrangementAppearancePresets as d, cardRoleSchema as dn, boundaryOptionForTransitionIntent as dt, cardListFamilyBlocks as en, navLinkOwnsUnderline as et, arrangementLookHooks as f, cardVariantRoleValues as fn, boundaryOptions as ft, getCompatibleBlockAppearancePresets as g, parseGradientPresetId as gn, noneBoundaryOption as gt, compileArrangementLookRuntime as h, surfaceCardRoleValues as hn, isDecorativeTransitionIntent as ht, listLookSlot as i, headerVariantValues as in, resolvePageDesignBoundaryChoice as it, componentRuntimeRulesForSiteStyle as j, appearancePresets as jt, filterLayoutProfilesForPolicy as k, stripStaleTransitionStyleGroup as kt, resolveLookSurfacePresentation as l, runtimeBoxBackgroundSchema as ln, sectionShapeFromContent as lt, automaticArrangementLook as m, openCardRoleValue as mn, boundaryTreatmentForBoundaryOptionId as mt, listItemPresentation as n, sectionStylesOverrideSchema as nn, rebasePageDesignIntentToSiteStyle as nt, resolvedItemSurfaceProps as o, customCssRuleSchema as on, gradientToCss as ot, arrangementStyleAvailability as p, itemRoleValues as pn, boundaryRuntimeMetricsForDecorativeTransition as pt, generateNavLinkCSS as q, toNonEmptyReadonlyArray as qt, listLookControl as r, themeSchema as rn, resolvePageDesignBlockLookChoice as rt, itemRole as s, boxBackgroundOverlaySchema as sn, getGradientPreset as st, logger as t, cardListKnobBlocks as tn, parsePageDesignIntent as tt, selectItemSurfacePresentation as u, boxlessCardVariantValue as un, sectionShapeHook as ut, resolveLookForBlock as v, asHeaderStyleId as vn, spaciousBoundaryOption as vt, resolvePublishedLook as w, asSiteStyleId as wn, parseCanonicalRuntimeBackground as wt, readStoredMode as x, asDesignBlockId as xn, transitionCatalogueEntries as xt, styleSectionBackgroundForColour as y, siteChromeBackgroundOverrideOwner as yn, transitionIntentForTreatment as yt, stripCompiledRuntimeStyleFields as z, defineNoBlockDesignCapability as zt };
|