@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
package/dist/server/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-DrwlRNAH.mjs";
|
|
2
|
+
import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-gvfIw3z8.mjs";
|
|
3
3
|
import { r as getResilienceStatusFromError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
|
|
4
4
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
5
5
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
6
|
-
import { t as prebuildCache } from "./prebuild-
|
|
6
|
+
import { t as prebuildCache } from "./prebuild-C8Amvzce.mjs";
|
|
7
7
|
import * as path from "path";
|
|
8
8
|
import * as fs from "fs";
|
|
9
9
|
//#region src/prebuild/loader.ts
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-
|
|
3
|
-
import {
|
|
1
|
+
import { $n as selectionRepresentativeEvent, Dr as resolveDateRuntimeContext, Zn as registrationDataForEventSelection, uc as resolveBookingBusinessTimeZone } from "./registry-Cc88-23f.mjs";
|
|
2
|
+
import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-D2-YMRei.mjs";
|
|
3
|
+
import { n as isRecord } from "./typeGuards-CTW_9AXq.mjs";
|
|
4
|
+
import { _ as buildTemplatePageOutline, c as buildBookingPageOutline, l as bookingPageIdentity, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, v as readStoredSectionValues, y as selectBlocksForDeclaredEntrySlot } from "./servicePageContent-BcFuhhD7.mjs";
|
|
4
5
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
5
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
6
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
7
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-OG3KOkig.mjs";
|
|
7
8
|
//#region ../api/src/publicBookingService.ts
|
|
8
9
|
/** Adapt an admitted service to the catalogue row consumed by booking pickers. */
|
|
9
10
|
function toPublicBookingServiceCatalogueItem(service, categoryId) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-
|
|
1
|
+
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-D2-YMRei.mjs";
|
|
2
2
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
3
|
-
import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-
|
|
3
|
+
import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-D0prFflT.mjs";
|
|
4
4
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
5
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
5
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-OG3KOkig.mjs";
|
|
6
6
|
//#region src/rendering/helpers/loadPage.ts
|
|
7
7
|
/**
|
|
8
8
|
* Server-side helper to fetch all data needed for <Page> component.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { E as surfaceInkDeclarations, N as rgbColorValue, Y as parseThemeColorToken, v as SURFACE_FOREGROUND_CSS_VARS, x as surfaceForegroundDeclarations, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
|
|
2
|
+
import { B as preparePaletteColourIndex, r as expandPalette } from "./expandPalette-ehuW8r2g.mjs";
|
|
3
|
+
import { A as ownedThemeSnapshot, a as requireResolvedSurface, k as freezeOwnedThemeValue, p as contextualButtonSurfaceResetStyles } from "./accessibleSurfaces-Dskni4Xj.mjs";
|
|
4
|
+
import { S as asAppearancePresetId, y as isArrangementMode } from "./customCss-C9kgPHvr.mjs";
|
|
4
5
|
//#region ../theme-core/src/surfaces/opaqueSurface.ts
|
|
5
6
|
function opaqueSurfaceContextFromTheme(theme) {
|
|
6
7
|
const palette = freezeOwnedThemeValue(expandPalette(theme.palette));
|
|
@@ -593,6 +594,16 @@ function resolveBlockAppearancePresetDesign(preset, layoutProfile = null) {
|
|
|
593
594
|
//#endregion
|
|
594
595
|
//#region ../theme-core/src/site-styles/blockAppearancePresets.ts
|
|
595
596
|
/**
|
|
597
|
+
* A card Look reaches every block that supplies its parts. Some of those pairings give an owner nothing new
|
|
598
|
+
* (numbered people, a ruled list beside the team's own ruled list), so the Look names the blocks it leaves out.
|
|
599
|
+
*/
|
|
600
|
+
function notFor(look, blocks) {
|
|
601
|
+
return {
|
|
602
|
+
...look,
|
|
603
|
+
blockKinds: look.blockKinds.filter((kind) => !blocks.includes(kind))
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
596
607
|
* One pin space for legacy recipes and arrangement Looks. Legacy recipes ask
|
|
597
608
|
* for a card role; the style owns its paint. Arrangement Looks own structure
|
|
598
609
|
* and never a section background. Removing an entry retires its pins to auto.
|
|
@@ -1850,7 +1861,7 @@ const blockAppearancePresets = [
|
|
|
1850
1861
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
1851
1862
|
itemRoles: { items: "card" }
|
|
1852
1863
|
}),
|
|
1853
|
-
defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
|
|
1864
|
+
notFor(defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
|
|
1854
1865
|
"media",
|
|
1855
1866
|
"title",
|
|
1856
1867
|
"text",
|
|
@@ -1863,8 +1874,12 @@ const blockAppearancePresets = [
|
|
|
1863
1874
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
1864
1875
|
itemRoles: { items: "card" },
|
|
1865
1876
|
styleFallback: [id("feature-cards-cards")]
|
|
1866
|
-
}),
|
|
1867
|
-
|
|
1877
|
+
}), [
|
|
1878
|
+
"block.team-members",
|
|
1879
|
+
"block.appointment-services",
|
|
1880
|
+
"block.offerings-preview"
|
|
1881
|
+
]),
|
|
1882
|
+
notFor(defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
|
|
1868
1883
|
"media",
|
|
1869
1884
|
"title",
|
|
1870
1885
|
"text",
|
|
@@ -1877,8 +1892,8 @@ const blockAppearancePresets = [
|
|
|
1877
1892
|
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
|
|
1878
1893
|
knobDefaults: { actionStyle: "link" },
|
|
1879
1894
|
styleFallback: [id("feature-cards-cards")]
|
|
1880
|
-
}),
|
|
1881
|
-
defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
|
|
1895
|
+
}), ["block.team-members"]),
|
|
1896
|
+
notFor(defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
|
|
1882
1897
|
"media",
|
|
1883
1898
|
"title",
|
|
1884
1899
|
"text",
|
|
@@ -1891,8 +1906,8 @@ const blockAppearancePresets = [
|
|
|
1891
1906
|
])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
|
|
1892
1907
|
itemRoles: { at: { first: "statement" } },
|
|
1893
1908
|
styleFallback: [id("feature-cards-cards")]
|
|
1894
|
-
}),
|
|
1895
|
-
defineCardListLook("feature-cards-index", "Ruled list", "index", [
|
|
1909
|
+
}), ["block.team-members"]),
|
|
1910
|
+
notFor(defineCardListLook("feature-cards-index", "Ruled list", "index", [
|
|
1896
1911
|
"title",
|
|
1897
1912
|
"text",
|
|
1898
1913
|
"action"
|
|
@@ -1901,7 +1916,7 @@ const blockAppearancePresets = [
|
|
|
1901
1916
|
knobDefaults: { cardMarker: "none" },
|
|
1902
1917
|
knobValues: { cardMarker: ["numbers", "none"] },
|
|
1903
1918
|
styleFallback: [id("feature-cards-cards")]
|
|
1904
|
-
}),
|
|
1919
|
+
}), ["block.team-members", "block.shop"]),
|
|
1905
1920
|
{
|
|
1906
1921
|
...defineCardListLook("feature-cards-timeline", "A timeline down the page", "index", [
|
|
1907
1922
|
"title",
|
|
@@ -1933,7 +1948,7 @@ const blockAppearancePresets = [
|
|
|
1933
1948
|
}),
|
|
1934
1949
|
blockKinds: ["block.feature-cards"]
|
|
1935
1950
|
},
|
|
1936
|
-
defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
|
|
1951
|
+
notFor(defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
|
|
1937
1952
|
"title",
|
|
1938
1953
|
"text",
|
|
1939
1954
|
"action"
|
|
@@ -1945,7 +1960,12 @@ const blockAppearancePresets = [
|
|
|
1945
1960
|
])]),
|
|
1946
1961
|
forcedKnobs: { cardMarker: "numbers" },
|
|
1947
1962
|
styleFallback: [id("feature-cards-cards")]
|
|
1948
|
-
}),
|
|
1963
|
+
}), [
|
|
1964
|
+
"block.team-members",
|
|
1965
|
+
"block.appointment-services",
|
|
1966
|
+
"block.offerings-preview",
|
|
1967
|
+
"block.shop"
|
|
1968
|
+
]),
|
|
1949
1969
|
defineCardListLook("card-list-plates", "Plates", "plates", [
|
|
1950
1970
|
"media",
|
|
1951
1971
|
"title",
|
|
@@ -2226,7 +2246,7 @@ const blockAppearancePresets = [
|
|
|
2226
2246
|
slotRoles: { panel: "card" },
|
|
2227
2247
|
styleFallback: [id("form-beside-introduction-arched-panel")]
|
|
2228
2248
|
}),
|
|
2229
|
-
defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
|
|
2249
|
+
notFor(defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
|
|
2230
2250
|
"media",
|
|
2231
2251
|
"title",
|
|
2232
2252
|
"text",
|
|
@@ -2245,7 +2265,7 @@ const blockAppearancePresets = [
|
|
|
2245
2265
|
dates: "summary"
|
|
2246
2266
|
},
|
|
2247
2267
|
styleFallback: [id("card-list-plates"), id("feature-cards-cards")]
|
|
2248
|
-
}),
|
|
2268
|
+
}), ["block.team-members", "block.appointment-services"]),
|
|
2249
2269
|
defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
|
|
2250
2270
|
"media",
|
|
2251
2271
|
"title",
|
|
@@ -2496,7 +2516,7 @@ const blockAppearancePresets = [
|
|
|
2496
2516
|
cardMarker: "none"
|
|
2497
2517
|
},
|
|
2498
2518
|
knobDefaults: { actionStyle: "link" },
|
|
2499
|
-
styleFallback: [id("feature-cards-
|
|
2519
|
+
styleFallback: [id("feature-cards-cards")]
|
|
2500
2520
|
}),
|
|
2501
2521
|
blockKinds: ["block.team-members"]
|
|
2502
2522
|
},
|
|
@@ -2514,7 +2534,7 @@ const blockAppearancePresets = [
|
|
|
2514
2534
|
sketch.button
|
|
2515
2535
|
])])]),
|
|
2516
2536
|
itemRoles: { items: "card" },
|
|
2517
|
-
styleFallback: [
|
|
2537
|
+
styleFallback: []
|
|
2518
2538
|
}),
|
|
2519
2539
|
defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
|
|
2520
2540
|
"title",
|
|
@@ -2559,7 +2579,7 @@ const blockAppearancePresets = [
|
|
|
2559
2579
|
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 })]),
|
|
2560
2580
|
forcedKnobs: { cardMarker: "none" },
|
|
2561
2581
|
knobDefaults: { actionStyle: "link" },
|
|
2562
|
-
styleFallback: [id("
|
|
2582
|
+
styleFallback: [id("shop-price-cards")]
|
|
2563
2583
|
}),
|
|
2564
2584
|
{
|
|
2565
2585
|
...defineCardListLook("card-list-photos-on-top", "Photos on top, three across", "cards", [
|
package/dist/server/manifest.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-
|
|
1
|
+
import { l as ALLOWED_TRANSFORM_IDS, o as LAYOUT_Z_INDEX_RULE, s as ALLOWED_NODE_TYPES } from "./titleSourceSchema-NhK6azFS.mjs";
|
|
2
|
+
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-DPaUPTfl.mjs";
|
|
3
3
|
//#region src/manifest/prompt/knowledge-base.ts
|
|
4
4
|
/**
|
|
5
5
|
* LLM Knowledge Base for HTML-to-Manifest Conversion
|
|
@@ -95,15 +95,12 @@ const TRANSFORM_DOCS = {
|
|
|
95
95
|
"value.fallback": "Provide fallback value if binding is empty. Options: { fallback: \"default\" }",
|
|
96
96
|
"date.formatShort": "Format date as short string",
|
|
97
97
|
"array.length": "Get length of array",
|
|
98
|
-
"value.jsonArray": "
|
|
98
|
+
"value.jsonArray": "Wrap a value, or a list of ids, into a JSON array string",
|
|
99
99
|
"layout.maxWidthClass": "Get max-width CSS class based on layout setting",
|
|
100
100
|
"background.resolveStyle": "Resolve background field to CSS styles",
|
|
101
|
-
"background.resolveClass": "Resolve background field to CSS classes",
|
|
102
101
|
"links.resolve": "Resolve link objects (LinkValue or {href}) to href strings using the route map",
|
|
103
102
|
"links.label": "Extract a human-readable label from link objects (label/title/identifier/href)",
|
|
104
|
-
"media.fromUrl": "Create media object from URL string"
|
|
105
|
-
"boxStyles.resolveRootClass": "Get root element class from box styles",
|
|
106
|
-
"boxStyles.resolveRootStyle": "Get root element style from box styles"
|
|
103
|
+
"media.fromUrl": "Create media object from URL string"
|
|
107
104
|
};
|
|
108
105
|
/**
|
|
109
106
|
* Generate transforms documentation string for the system prompt.
|
|
@@ -199,13 +196,13 @@ When converting styles from HTML/Tailwind to the manifest, follow this priority:
|
|
|
199
196
|
→ YES: Add to customCssRules
|
|
200
197
|
|
|
201
198
|
Example: Custom animation for hero section
|
|
202
|
-
1) Add a className to a node you want to target:
|
|
203
|
-
{ "type": "text", "props": { "className": "hero-title" }, "children": null, "$bind": { "from": "content.title", "fallback": null, "transforms": null }, "$repeat": null, "$when": null }
|
|
199
|
+
1) Add a className starting "cb-" to a node you want to target:
|
|
200
|
+
{ "type": "text", "props": { "className": "cb-hero-title" }, "children": null, "$bind": { "from": "content.title", "fallback": null, "transforms": null }, "$repeat": null, "$when": null }
|
|
204
201
|
|
|
205
202
|
2) Scope CSS to the block and target that class:
|
|
206
203
|
{
|
|
207
204
|
"id": "hero-pulse",
|
|
208
|
-
"selector": "[data-block=\"custom.hero\"] .hero-title",
|
|
205
|
+
"selector": "[data-block=\"custom.hero\"] .cb-hero-title",
|
|
209
206
|
"declarations": [{ "property": "animation", "value": "pulse 2s infinite" }]
|
|
210
207
|
}
|
|
211
208
|
|
|
@@ -218,6 +215,12 @@ When converting styles from HTML/Tailwind to the manifest, follow this priority:
|
|
|
218
215
|
→ Use inline styles in node props
|
|
219
216
|
|
|
220
217
|
Example: props: { style: { marginTop: '2rem' } }
|
|
218
|
+
|
|
219
|
+
Inline styles take layout, spacing, type, colour and border properties with plain values.
|
|
220
|
+
Validation rejects url() and image-set(), position: fixed or sticky, content and animation,
|
|
221
|
+
and allows ${LAYOUT_Z_INDEX_RULE}. className takes Tailwind layout, spacing, type, colour and
|
|
222
|
+
border utilities, plus your own classes starting "cb-" for customCssRules.
|
|
223
|
+
For an image, bind a media field to a media node or use a background.* transform.
|
|
221
224
|
`;
|
|
222
225
|
const BLOCK_BOUNDARY_HEURISTICS = `
|
|
223
226
|
## Block Boundary Heuristics
|
|
@@ -400,8 +403,7 @@ const heroExample = {
|
|
|
400
403
|
type: "section",
|
|
401
404
|
props: {
|
|
402
405
|
background: "primary",
|
|
403
|
-
|
|
404
|
-
className: "text-center py-24"
|
|
406
|
+
className: "text-center text-white py-24"
|
|
405
407
|
},
|
|
406
408
|
children: [{
|
|
407
409
|
type: "stack",
|
|
@@ -443,7 +445,7 @@ const heroExample = {
|
|
|
443
445
|
{
|
|
444
446
|
type: "button",
|
|
445
447
|
props: {
|
|
446
|
-
|
|
448
|
+
variantId: "secondary",
|
|
447
449
|
size: "lg",
|
|
448
450
|
href: { $bind: {
|
|
449
451
|
from: "content.cta",
|
|
@@ -479,7 +481,7 @@ const heroExample = {
|
|
|
479
481
|
|
|
480
482
|
Styling:
|
|
481
483
|
- bg-blue-900 mapped to 'primary' background token
|
|
482
|
-
- text-white
|
|
484
|
+
- text-white kept as a utility class on the section
|
|
483
485
|
- Layout uses section > stack for vertical centering`
|
|
484
486
|
};
|
|
485
487
|
//#endregion
|
|
@@ -575,7 +577,7 @@ const featuresGridExample = {
|
|
|
575
577
|
},
|
|
576
578
|
children: [{
|
|
577
579
|
type: "stack",
|
|
578
|
-
props: { gap: "
|
|
580
|
+
props: { gap: "lg" },
|
|
579
581
|
children: [{
|
|
580
582
|
type: "text",
|
|
581
583
|
props: {
|
|
@@ -586,7 +588,10 @@ const featuresGridExample = {
|
|
|
586
588
|
}, {
|
|
587
589
|
type: "grid",
|
|
588
590
|
props: {
|
|
589
|
-
|
|
591
|
+
cols: {
|
|
592
|
+
base: 1,
|
|
593
|
+
md: 3
|
|
594
|
+
},
|
|
590
595
|
gap: "lg"
|
|
591
596
|
},
|
|
592
597
|
$repeat: {
|
|
@@ -633,7 +638,7 @@ const featuresGridExample = {
|
|
|
633
638
|
- Repeating cards detected (3+ similar elements) → repeater field
|
|
634
639
|
- Each card has icon, title, description → schema.fields
|
|
635
640
|
- $repeat used to iterate over features array
|
|
636
|
-
- Grid layout with
|
|
641
|
+
- Grid layout with cols: { base: 1, md: 3 } for a responsive grid
|
|
637
642
|
- bg-gray-50 mapped to 'surface' token
|
|
638
643
|
- text-gray-600 mapped to 'muted' token
|
|
639
644
|
- Icon placeholder uses Lucide icon names`
|
|
@@ -741,7 +746,7 @@ const testimonialsExample = {
|
|
|
741
746
|
children: [{
|
|
742
747
|
type: "stack",
|
|
743
748
|
props: {
|
|
744
|
-
gap: "
|
|
749
|
+
gap: "lg",
|
|
745
750
|
align: "center"
|
|
746
751
|
},
|
|
747
752
|
children: [{
|
|
@@ -766,7 +771,10 @@ const testimonialsExample = {
|
|
|
766
771
|
}, {
|
|
767
772
|
type: "grid",
|
|
768
773
|
props: {
|
|
769
|
-
|
|
774
|
+
cols: {
|
|
775
|
+
base: 1,
|
|
776
|
+
md: 3
|
|
777
|
+
},
|
|
770
778
|
gap: "lg"
|
|
771
779
|
},
|
|
772
780
|
$repeat: {
|
|
@@ -963,7 +971,7 @@ const pricingExample = {
|
|
|
963
971
|
children: [{
|
|
964
972
|
type: "stack",
|
|
965
973
|
props: {
|
|
966
|
-
gap: "
|
|
974
|
+
gap: "lg",
|
|
967
975
|
align: "center"
|
|
968
976
|
},
|
|
969
977
|
children: [{
|
|
@@ -987,7 +995,10 @@ const pricingExample = {
|
|
|
987
995
|
}, {
|
|
988
996
|
type: "grid",
|
|
989
997
|
props: {
|
|
990
|
-
|
|
998
|
+
cols: {
|
|
999
|
+
base: 1,
|
|
1000
|
+
md: 3
|
|
1001
|
+
},
|
|
991
1002
|
gap: "lg",
|
|
992
1003
|
className: "max-w-5xl"
|
|
993
1004
|
},
|
|
@@ -1049,7 +1060,7 @@ const pricingExample = {
|
|
|
1049
1060
|
{
|
|
1050
1061
|
type: "button",
|
|
1051
1062
|
props: {
|
|
1052
|
-
|
|
1063
|
+
variantId: "primary",
|
|
1053
1064
|
className: "w-full",
|
|
1054
1065
|
href: { $bind: {
|
|
1055
1066
|
from: "plan.cta",
|
|
@@ -1211,7 +1222,7 @@ const ctaExample = {
|
|
|
1211
1222
|
children: [{
|
|
1212
1223
|
type: "button",
|
|
1213
1224
|
props: {
|
|
1214
|
-
|
|
1225
|
+
variantId: "secondary",
|
|
1215
1226
|
size: "lg",
|
|
1216
1227
|
href: { $bind: {
|
|
1217
1228
|
from: "content.primaryButton.link",
|
|
@@ -1230,7 +1241,7 @@ const ctaExample = {
|
|
|
1230
1241
|
}, {
|
|
1231
1242
|
type: "button",
|
|
1232
1243
|
props: {
|
|
1233
|
-
|
|
1244
|
+
variantId: "outline",
|
|
1234
1245
|
size: "lg",
|
|
1235
1246
|
href: { $bind: {
|
|
1236
1247
|
from: "content.secondaryButton.link",
|
|
@@ -1455,7 +1466,7 @@ If you define a field, you MUST use it with $bind somewhere in the layout (node.
|
|
|
1455
1466
|
4. **Theme Priority**: Use theme tokens when possible before adding customCssRules
|
|
1456
1467
|
|
|
1457
1468
|
5. **Custom CSS MUST match the layout**
|
|
1458
|
-
- If a customCssRules selector uses a class (e.g. ".
|
|
1469
|
+
- If a customCssRules selector uses a class (e.g. ".cb-hero-title"), you MUST add that class to some node via props.className.
|
|
1459
1470
|
- Do NOT target internal renderer classes like ".cms-node-*" (they are not guaranteed).
|
|
1460
1471
|
- Do NOT put "@media" / at-rules into selector (emit base styles only).
|
|
1461
1472
|
- Always scope selectors to the block: prefix with [data-block="custom.your-block-id"].
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region ../core/src/result.ts
|
|
2
|
+
function ok(value) {
|
|
3
|
+
return {
|
|
4
|
+
ok: true,
|
|
5
|
+
value
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
function err(error) {
|
|
9
|
+
return {
|
|
10
|
+
ok: false,
|
|
11
|
+
error
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../core/src/branded/uuid.ts
|
|
16
|
+
const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
17
|
+
function parseUuidBrand(value, unsafeConstructor) {
|
|
18
|
+
if (typeof value !== "string") return err({ kind: "not_string" });
|
|
19
|
+
const normalized = value.trim().toLowerCase();
|
|
20
|
+
if (normalized.length === 0) return err({ kind: "empty_string" });
|
|
21
|
+
if (!UUID_PATTERN.test(normalized)) return err({ kind: "invalid_uuid" });
|
|
22
|
+
return ok(unsafeConstructor(normalized));
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region ../core/src/branded/media.ts
|
|
26
|
+
const unsafeAsMediaAssetId = (id) => id;
|
|
27
|
+
const unsafeAsStorageBucketName = (value) => value;
|
|
28
|
+
const unsafeAsStoragePath = (value) => value;
|
|
29
|
+
const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
|
|
30
|
+
//#endregion
|
|
31
|
+
export { parseUuidBrand as a, unsafeAsStoragePath as i, unsafeAsMediaAssetId as n, err as o, unsafeAsStorageBucketName as r, ok as s, parseMediaAssetId as t };
|
|
@@ -1,34 +1,5 @@
|
|
|
1
|
+
import { o as err, s as ok, t as parseMediaAssetId } from "./media-BRmYrnzb.mjs";
|
|
1
2
|
import { z } from "zod";
|
|
2
|
-
//#region ../core/src/result.ts
|
|
3
|
-
function ok(value) {
|
|
4
|
-
return {
|
|
5
|
-
ok: true,
|
|
6
|
-
value
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
function err(error) {
|
|
10
|
-
return {
|
|
11
|
-
ok: false,
|
|
12
|
-
error
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region ../core/src/branded/uuid.ts
|
|
17
|
-
const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
18
|
-
function parseUuidBrand(value, unsafeConstructor) {
|
|
19
|
-
if (typeof value !== "string") return err({ kind: "not_string" });
|
|
20
|
-
const normalized = value.trim().toLowerCase();
|
|
21
|
-
if (normalized.length === 0) return err({ kind: "empty_string" });
|
|
22
|
-
if (!UUID_PATTERN.test(normalized)) return err({ kind: "invalid_uuid" });
|
|
23
|
-
return ok(unsafeConstructor(normalized));
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region ../core/src/branded/media.ts
|
|
27
|
-
const unsafeAsMediaAssetId = (id) => id;
|
|
28
|
-
const unsafeAsStorageBucketName = (value) => value;
|
|
29
|
-
const unsafeAsStoragePath = (value) => value;
|
|
30
|
-
const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
|
|
31
|
-
//#endregion
|
|
32
3
|
//#region ../media-core/src/identifiers.ts
|
|
33
4
|
function slugifyMediaIdentifier(value) {
|
|
34
5
|
return value.toLowerCase().trim().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-");
|
|
@@ -242,4 +213,4 @@ const runtimeMediaSchema = z.union([
|
|
|
242
213
|
assetMediaSchema
|
|
243
214
|
]);
|
|
244
215
|
//#endregion
|
|
245
|
-
export {
|
|
216
|
+
export { parseMediaIdentifier as _, persistableMediaSchema as a, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, PUBLIC_FILE_FIELD_KINDS as f, parseCanonicalMediaIdentifier as g, mediaIdentifierSchema as h, mediaSchema as i, renderableMediaAssetSchema as l, mediaTypeDiscriminants as m, externalMediaSchema as n, runtimeMediaSchema as o, isDisplayMediaKind as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { n as DEFAULT_PORTAL_REDIRECT } from "./constants-CeMywaiD.mjs";
|
|
1
2
|
import { n as normalizeRenderStage, r as resolveRouteHrefForStage, t as isRouteVisibleInStage } from "./dist-Xevqwf1U.mjs";
|
|
2
|
-
import "./constants-Cj7hfbrA.mjs";
|
|
3
3
|
//#region ../core/src/navigation-portal-labels.ts
|
|
4
4
|
/**
|
|
5
5
|
* What a customer sign-in link in a site's menu says when the site hasn't set
|
|
@@ -223,7 +223,7 @@ function isCommerceEnabled(options) {
|
|
|
223
223
|
return options?.commerceEnabled === true;
|
|
224
224
|
}
|
|
225
225
|
function resolvePortalHref(link) {
|
|
226
|
-
return link.path?.trim() ||
|
|
226
|
+
return link.path?.trim() || DEFAULT_PORTAL_REDIRECT;
|
|
227
227
|
}
|
|
228
228
|
function resolveCheckoutHref(options) {
|
|
229
229
|
if (options?.checkoutHref === null) return null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-
|
|
1
|
+
import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-wrcuWmgp.mjs";
|
|
2
2
|
export { buildChromeLogoContent, buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildLogoViewModel, buildMenu, buildMenuViewModel, getFooterNavigation, getFooterNavigationByRole, getNavigationByLocation, getPrimaryNavItems, getPrimaryNavigation, isNavDropdown, isNavLink, resolveNavigationLinkHref, transformToNavItems };
|