@riverbankcms/sdk 0.173.0 → 0.174.1
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/README.md +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-Du0zX1B-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +14 -7
- package/dist/_dts/{client-ZlNEIvlU.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CHMlw9hT.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Dq_AboWN.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-BnatulTs.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-KXh8FQ2s.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-CJzs-yIJ.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DutLU2d2.d.ts → index-D9ZYmGAJ.d.ts} +2 -1
- package/dist/_dts/{index-DW3eeNph.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index-C611wjIL.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-M-s0p0rq.d.ts} +11 -11
- package/dist/_dts/{request-Bysk4QPI.d.ts → request-BK-pHf0P.d.ts} +3685 -1762
- package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
- 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 +9 -9
- 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/index.d.ts +8 -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 +7 -7
- 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 +4 -2
- 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 +13 -8
- 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 +5 -5
- 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 +36 -204
- package/dist/_dts/{types-BwitGNTl.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-BoEk9ZON.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-kpp8XyXv.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-ChftKX-o.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CwrMzj-k.mjs} +10 -10
- package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +5 -5
- package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-CDkkP-Lv.mjs} +9 -9
- package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-DK3aaz62.mjs} +7 -7
- package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-WeUipfIP.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-DKFImKOx.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +45 -18
- package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-D46Dmr7b.mjs → Page-BpeP9xdt.mjs} +731 -1549
- package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-CP6zrwkl.mjs} +6 -242
- package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
- package/dist/client/{accordion-P8xcfKxq.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-Ce-mQZ7W.mjs} +362 -47
- package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-B-qT_AQB.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-0Q4fjw_K.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-1J-3ftxF.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +159 -7
- package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
- package/dist/client/{course-CmOuoZHN.mjs → course-DHIrXqNT.mjs} +2 -2
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-lL-YRApN.mjs → display-Cf_j5stk.mjs} +2574 -763
- package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-zbuX36aA.mjs} +137 -131
- package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-uZrksODt.mjs} +4 -4
- package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-DxhvNAx8.mjs} +4 -4
- package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-B9KrnPvc.mjs} +4 -4
- package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-TjnURMKl.mjs} +4 -4
- package/dist/client/{form-DO6qKH3M.mjs → form-CfqIAhfN.mjs} +3 -3
- package/dist/client/{form.client-D12ljYiX.mjs → form.client-CL6fF0cW.mjs} +6 -6
- package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-Bb7GAZpO.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-DOVe-qY3.mjs} +3 -3
- package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-CMx4-XlG.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-mpBQt2AT.mjs} +3 -3
- package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-DdTJyar2.mjs} +31 -47
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -13
- package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-Cy6xXDM7.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-DkValjZj.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +2 -2
- package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-BTtZqNmv.mjs} +13 -13
- package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-DNRqG4aX.mjs} +18 -24
- package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-Nky6kPYr.mjs} +2 -2
- package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-DZArznD_.mjs} +25 -152
- package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
- package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-Da2JqxGC.mjs} +6 -6
- package/dist/client/{view-Sw075FOY.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-D6yebI4r.mjs → view-D9ObkFtz.mjs} +12 -11
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-DwxHT-2k.mjs} +57 -144
- package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +758 -1279
- package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-D8mUct32.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-L2AEdNUQ.mjs} +50 -30
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +47 -19
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-Jpj_HDra.mjs} +101003 -51855
- package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-DmGIG9Hk.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-DQCyswQ-.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +19 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-BOuNcOcN.mjs} +153 -2
- package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-wfJfhs08.mjs} +10 -5
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-BtrJNHTB.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Dge4sqel.mjs → bindings-P1CF2Gm6.mjs} +6 -4
- package/dist/server/{client-VVIQjC4r.mjs → client-CGtU5fHI.mjs} +156 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-ChnkJSay.mjs} +8 -9
- package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-DesHhgxj.mjs} +3 -3
- package/dist/server/lookMediaFrame-BBr0mkze.mjs +2626 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-DHEkHcZs.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-0jvm0RBk.mjs} +29 -331
- package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +14 -6
- package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-CuVFoV4z.mjs} +370 -291
- package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-BMCfcev6.mjs → registry-DmqxC8th.mjs} +1258 -3166
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-EgTtnTcY.mjs → validation-Bt_8IL1g.mjs} +4 -4
- package/dist/server/{version-LjgU0Cq1.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +989 -279
- package/package.json +1 -1
- package/dist/client/bookability-SargNwlO.mjs +0 -17
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-
|
|
1
|
+
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-CuVFoV4z.mjs";
|
|
2
2
|
export { PageContent, toPageHydrationBootstrapConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-
|
|
1
|
+
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-DesHhgxj.mjs";
|
|
2
2
|
export { loadPage, loadPageWithDeps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as
|
|
2
|
-
export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent,
|
|
1
|
+
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-8-f1Zr9e.mjs";
|
|
2
|
+
export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteBlockRenderContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as MissingBlockOverrideError } from "../pageShared-
|
|
1
|
+
import { d as MissingBlockOverrideError } from "../pageShared-CuVFoV4z.mjs";
|
|
2
2
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
|
|
3
3
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
|
|
4
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-
|
|
5
|
-
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-
|
|
4
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-wfJfhs08.mjs";
|
|
5
|
+
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-DHEkHcZs.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/components/Block.server.tsx
|
|
8
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { v as resolveAuthoredLinkHref } from "./pageRenderPlan-
|
|
2
|
-
import { $ as RichText$2,
|
|
1
|
+
import { v as resolveAuthoredLinkHref } from "./pageRenderPlan-0jvm0RBk.mjs";
|
|
2
|
+
import { $ as RichText$2, Li as parseFieldDefinition, at as resolveImageUrlWithContext$1, ha as sanitizeHref, it as resolveImageUrl$1, lt as buildResolveImageUrlContext, nt as computeMediaTransformStyle, rt as resolveImageSourceSetWithContext$1 } from "./registry-DmqxC8th.mjs";
|
|
3
3
|
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-luf7RF22.mjs";
|
|
4
|
-
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-
|
|
5
|
-
import { _ as admitLayoutGridForPlan, b as projectRepeaterGridLayout$1, v as deriveFieldValidationPlan, x as projectRepeaterGridLayoutForRendering$1 } from "./pageRuntimeSupport-
|
|
6
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
4
|
+
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-CuVFoV4z.mjs";
|
|
5
|
+
import { _ as admitLayoutGridForPlan, b as projectRepeaterGridLayout$1, v as deriveFieldValidationPlan, x as projectRepeaterGridLayoutForRendering$1 } from "./pageRuntimeSupport-8-f1Zr9e.mjs";
|
|
6
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-ChnkJSay.mjs";
|
|
7
7
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
|
-
import { t as loadPage } from "./loadPage-
|
|
8
|
+
import { t as loadPage } from "./loadPage-DesHhgxj.mjs";
|
|
9
9
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
|
|
10
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-
|
|
10
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-wfJfhs08.mjs";
|
|
11
11
|
import "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
2
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
2
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-5oC5kyHe.mjs";
|
|
3
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
5
5
|
//#region src/data/dataLoaderValue.ts
|
|
@@ -403,13 +403,23 @@ function surfaceForegroundValue(role, outsideProviderFallback = DEFAULT_ROLE_FAL
|
|
|
403
403
|
if (role === "linkHover") return `var(${roleVariable}, ${surfaceForegroundValue("link", fallback)})`;
|
|
404
404
|
return `var(${roleVariable}, var(${SURFACE_FOREGROUND_CSS_VARS.text}, ${fallback}))`;
|
|
405
405
|
}
|
|
406
|
-
/** The
|
|
406
|
+
/** The solved inks, published beside the foreground roles by the same surfaces. */
|
|
407
407
|
const SURFACE_INK_CSS_VARS = {
|
|
408
408
|
brand: "--rb-surface-brand-color",
|
|
409
409
|
accent: "--rb-surface-accent-color",
|
|
410
|
-
focus: "--rb-surface-focus-color"
|
|
410
|
+
focus: "--rb-surface-focus-color",
|
|
411
|
+
control: "--rb-surface-control-color"
|
|
411
412
|
};
|
|
412
413
|
/**
|
|
414
|
+
* Read a solved ink, falling back straight to the declaration's own previous
|
|
415
|
+
* expression. Unlike `surfaceForegroundValue` this never falls through to
|
|
416
|
+
* `--rb-surface-text-color`: where no ink is published (bridge pages, unmeasured
|
|
417
|
+
* paints) brand text must keep its brand colour, not turn into the text ink.
|
|
418
|
+
*/
|
|
419
|
+
function surfaceInkValue(role, previousExpression) {
|
|
420
|
+
return `var(${SURFACE_INK_CSS_VARS[role]}, ${requireSurfaceColorValue("fallback", previousExpression)})`;
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
413
423
|
* The declarations for a surface's ink publication. An exact ink is a token
|
|
414
424
|
* reference (`rgb(var(--tb-primary))`), so a site's own token value wins; a
|
|
415
425
|
* nudged or replaced ink is a literal colour.
|
|
@@ -432,7 +442,8 @@ function inkVariables(value) {
|
|
|
432
442
|
return {
|
|
433
443
|
[SURFACE_INK_CSS_VARS.brand]: value("brand"),
|
|
434
444
|
[SURFACE_INK_CSS_VARS.accent]: value("accent"),
|
|
435
|
-
[SURFACE_INK_CSS_VARS.focus]: value("focus")
|
|
445
|
+
[SURFACE_INK_CSS_VARS.focus]: value("focus"),
|
|
446
|
+
[SURFACE_INK_CSS_VARS.control]: value("control")
|
|
436
447
|
};
|
|
437
448
|
}
|
|
438
449
|
function surfaceForegroundValueWithOpacity(role, opacityPercent) {
|
|
@@ -2582,4 +2593,4 @@ function interpolateHex(startHex, endHex, position) {
|
|
|
2582
2593
|
return `#${channel(start.r, end.r)}${channel(start.g, end.g)}${channel(start.b, end.b)}`;
|
|
2583
2594
|
}
|
|
2584
2595
|
//#endregion
|
|
2585
|
-
export { SURFACE_FOREGROUND_CSS_VARS as $, deriveSurfaceMutedColor as A, preparePaletteColourIndex as B, buttonVisualStatesSchema as C, paletteColorsFromEntries as Ct, colourFamily as D, parseThemeColorToken as Dt, VARIANT_ROLES as E, parseColorTokenParts as Et, pickBlackOrWhiteTextColor as F, hexToRgb as G, solidPaint as H, ORDINARY_TEXT_MIN_CONTRAST_RATIO as I, oklchToHexGamut as J, oklabToOklch as K, assertContrastRatio as L, isOnColorBackgroundCandidateToken as M, onColorTokenName as N, oklabDistance as O, themeColorTokenSchema as Ot, getTextColorForBackground as P, DEFAULT_SURFACE_TEXT_COLOR as Q, contrastRatio as R, buttonVariantIdSchema as S, paletteColorEntries as St, SYSTEM_BLOCK_KINDS as T, paletteModeSchema as Tt, worstContrast as U, relativeLuminance as V, featuresFromHex as W, rgbToHex as X, oklchToOklab as Y, srgbToOklab as Z, isVariantRole as _, PALETTE_TOKEN_NAMES as _t, formatButtonColourContractError as a, surfaceForegroundValue as at, buttonPressOffsetSchema as b, isThemeColorToken as bt, DEFAULT_BUTTON_SIZES as c, surfaceInkStyle as ct, generateShadowValue as d,
|
|
2596
|
+
export { SURFACE_FOREGROUND_CSS_VARS as $, deriveSurfaceMutedColor as A, preparePaletteColourIndex as B, buttonVisualStatesSchema as C, paletteColorsFromEntries as Ct, colourFamily as D, parseThemeColorToken as Dt, VARIANT_ROLES as E, parseColorTokenParts as Et, pickBlackOrWhiteTextColor as F, hexToRgb as G, solidPaint as H, ORDINARY_TEXT_MIN_CONTRAST_RATIO as I, oklchToHexGamut as J, oklabToOklch as K, assertContrastRatio as L, isOnColorBackgroundCandidateToken as M, onColorTokenName as N, oklabDistance as O, themeColorTokenSchema as Ot, getTextColorForBackground as P, DEFAULT_SURFACE_TEXT_COLOR as Q, contrastRatio as R, buttonVariantIdSchema as S, paletteColorEntries as St, SYSTEM_BLOCK_KINDS as T, paletteModeSchema as Tt, worstContrast as U, relativeLuminance as V, featuresFromHex as W, rgbToHex as X, oklchToOklab as Y, srgbToOklab as Z, isVariantRole as _, PALETTE_TOKEN_NAMES as _t, formatButtonColourContractError as a, surfaceForegroundValue as at, buttonPressOffsetSchema as b, isThemeColorToken as bt, DEFAULT_BUTTON_SIZES as c, surfaceInkStyle as ct, generateShadowValue as d, borderColorStyle as dt, SURFACE_INK_CSS_VARS as et, DEFAULT_VARIANT_ALIAS_ID as f, cssVarValue as ft, createStandardButtonSurfacePolicy as g, textColorValue as gt, buttonSizeNameSchema as h, textColorStyle as ht, BUTTON_CONTRAST_POLICY as i, surfaceForegroundStyle as it, expandPalette as j, deriveSurfaceDecorationColors as k, ELEVATION_OFFSET as l, surfaceInkValue as lt, asSpecialVariantId as m, rgbColorValue as mt, compileButtonColourStates as n, surfaceForegroundDeclarations as nt, BORDER_RADIUS_MAP as o, surfaceForegroundValueWithOpacity as ot, STANDARD_BUTTON_SURFACE_POLICY as p, mergeStyles as pt, oklabToSrgb as q, resolveSolidButtonColour as r, surfaceForegroundInputFromResolved as rt, BORDER_WIDTH_MAP as s, surfaceInkDeclarations as st, buttonStateBorder as t, completeSurfaceForegrounds as tt, FONT_SIZE_MAP as u, backgroundColorStyle as ut, unsafeAsOpaqueButtonColourToken as v, blockColorTokenNames as vt, opaqueButtonColourTokenSchema as w, paletteColorsSchema as wt, buttonSystemSchema as x, normalizePaletteHex as xt, buttonEffectApplicationSchema as y, hexColorSchema as yt, maxContrastBlackOrWhite as z };
|
|
@@ -1,104 +1,7 @@
|
|
|
1
|
-
import { Ct as paletteColorsFromEntries, Et as parseColorTokenParts, Ot as themeColorTokenSchema, St as paletteColorEntries, bt as isThemeColorToken, x as buttonSystemSchema, yt as hexColorSchema } from "./resolveButtonColourStates
|
|
1
|
+
import { Ct as paletteColorsFromEntries, Et as parseColorTokenParts, Ot as themeColorTokenSchema, St as paletteColorEntries, bt as isThemeColorToken, x as buttonSystemSchema, yt as hexColorSchema } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
+
import { D as asSiteStyleId, a as declarationValueSchema, c as accordionIconColorTokenValues, f as decorativeTransitionIntentValues, g as headingDecorationOverrideValues, h as headingDecorationColorTokenValues, i as customCssRulesSchema, l as accordionIconMotionValues, m as eyebrowTreatmentValues, n as blockCustomCssRulesSchema, o as declarationsSchema, p as eventListTreatmentValues, s as selectorSchema, u as accordionIconSetValues, v as tileTreatmentValues, y as visibleHeadingDecorationFamilyValues } from "./customCss-BGB8gMVb.mjs";
|
|
2
3
|
import { i as mediaSchema, n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-luf7RF22.mjs";
|
|
3
|
-
import { a as declarationValueSchema, i as customCssRulesSchema, n as blockCustomCssRulesSchema, o as declarationsSchema, s as selectorSchema } from "./customCss-QymcmOZ-.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
//#region ../site-contracts/src/identity/designIds.ts
|
|
6
|
-
function asDesignBlockId(value) {
|
|
7
|
-
return brandNonEmptyString(value, "DesignBlockId");
|
|
8
|
-
}
|
|
9
|
-
function asDesignBoundaryId(value) {
|
|
10
|
-
const boundaryId = brandNonEmptyString(value, "DesignBoundaryId");
|
|
11
|
-
if (!boundaryId.startsWith("boundary:")) throw new Error(`DesignBoundaryId must start with "boundary:". Received: ${value}`);
|
|
12
|
-
return boundaryId;
|
|
13
|
-
}
|
|
14
|
-
function asLayoutVariantKey(value) {
|
|
15
|
-
return brandNonEmptyString(value, "LayoutVariantKey");
|
|
16
|
-
}
|
|
17
|
-
function asAppearancePresetId(value) {
|
|
18
|
-
return brandNonEmptyString(value, "AppearancePresetId");
|
|
19
|
-
}
|
|
20
|
-
function asBoundaryOptionId(value) {
|
|
21
|
-
return brandNonEmptyString(value, "BoundaryOptionId");
|
|
22
|
-
}
|
|
23
|
-
function asPageFlowPresetId(value) {
|
|
24
|
-
return brandNonEmptyString(value, "PageFlowPresetId");
|
|
25
|
-
}
|
|
26
|
-
function asSiteStyleId(value) {
|
|
27
|
-
const siteStyleId = brandNonEmptyString(value, "SiteStyleId");
|
|
28
|
-
if (!siteStyleId.startsWith("site-style:")) throw new Error(`SiteStyleId must start with "site-style:". Received: ${value}`);
|
|
29
|
-
return siteStyleId;
|
|
30
|
-
}
|
|
31
|
-
function asDesignSystemTemplateId(value) {
|
|
32
|
-
return brandNonEmptyString(value, "DesignSystemTemplateId");
|
|
33
|
-
}
|
|
34
|
-
function makeBoundaryId(previousBlockId, nextBlockId) {
|
|
35
|
-
return asDesignBoundaryId(`boundary:${encodeURIComponent(previousBlockId)}:${encodeURIComponent(nextBlockId)}`);
|
|
36
|
-
}
|
|
37
|
-
function brandNonEmptyString(value, label) {
|
|
38
|
-
if (value.length === 0) throw new Error(`${label} must be a non-empty string.`);
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region ../site-contracts/src/identity/presentationVocabulary.ts
|
|
43
|
-
const arrangementModes = [
|
|
44
|
-
"list",
|
|
45
|
-
"calendar",
|
|
46
|
-
"week",
|
|
47
|
-
"combined"
|
|
48
|
-
];
|
|
49
|
-
function isArrangementMode(value) {
|
|
50
|
-
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
51
|
-
}
|
|
52
|
-
const tileTreatmentValues = [
|
|
53
|
-
"default",
|
|
54
|
-
"quiet",
|
|
55
|
-
"brand-depth"
|
|
56
|
-
];
|
|
57
|
-
const eventListTreatmentValues = [
|
|
58
|
-
"plain",
|
|
59
|
-
"lined-panel",
|
|
60
|
-
"ruled-register",
|
|
61
|
-
"editorial-register",
|
|
62
|
-
"dense-index"
|
|
63
|
-
];
|
|
64
|
-
const eyebrowTreatmentValues = [
|
|
65
|
-
"plain",
|
|
66
|
-
"accent",
|
|
67
|
-
"pill",
|
|
68
|
-
"accent-pill",
|
|
69
|
-
"pill-bounce",
|
|
70
|
-
"accent-pill-bounce"
|
|
71
|
-
];
|
|
72
|
-
const visibleHeadingDecorationFamilyValues = ["organic-squiggle", "short-center-rule"];
|
|
73
|
-
const headingDecorationOverrideValues = ["site-default", "off"];
|
|
74
|
-
const headingDecorationColorTokenValues = [
|
|
75
|
-
"text",
|
|
76
|
-
"primary",
|
|
77
|
-
"secondary",
|
|
78
|
-
"accent",
|
|
79
|
-
"border",
|
|
80
|
-
"muted"
|
|
81
|
-
];
|
|
82
|
-
const accordionIconSetValues = [
|
|
83
|
-
"plus",
|
|
84
|
-
"chevron",
|
|
85
|
-
"caret",
|
|
86
|
-
"minimal-cross"
|
|
87
|
-
];
|
|
88
|
-
const accordionIconColorTokenValues = [
|
|
89
|
-
"text",
|
|
90
|
-
"muted",
|
|
91
|
-
"primary",
|
|
92
|
-
"secondary",
|
|
93
|
-
"accent",
|
|
94
|
-
"current"
|
|
95
|
-
];
|
|
96
|
-
const accordionIconMotionValues = [
|
|
97
|
-
"none",
|
|
98
|
-
"rotate",
|
|
99
|
-
"swap"
|
|
100
|
-
];
|
|
101
|
-
//#endregion
|
|
102
5
|
//#region ../site-contracts/src/identity/siteStyleLooks.ts
|
|
103
6
|
/** Deterministic fallback order; Fulcrum is the default. */
|
|
104
7
|
const bookingPageLookIdValues = [
|
|
@@ -1351,6 +1254,19 @@ const componentShadowSchema = z.object({ elevation: z.enum([
|
|
|
1351
1254
|
"2xl"
|
|
1352
1255
|
]).default("sm") });
|
|
1353
1256
|
//#endregion
|
|
1257
|
+
//#region ../site-contracts/src/siteStyle/footerPreferences.ts
|
|
1258
|
+
const footerEdgeIntentValues = decorativeTransitionIntentValues.filter((id) => id !== "wave-edge-echo");
|
|
1259
|
+
const footerEdgePreferenceSchema = z.discriminatedUnion("kind", [
|
|
1260
|
+
z.strictObject({ kind: z.literal("style-default") }),
|
|
1261
|
+
z.strictObject({ kind: z.literal("none") }),
|
|
1262
|
+
z.strictObject({
|
|
1263
|
+
kind: z.literal("option"),
|
|
1264
|
+
id: z.enum(footerEdgeIntentValues)
|
|
1265
|
+
})
|
|
1266
|
+
]);
|
|
1267
|
+
z.strictObject({ edge: footerEdgePreferenceSchema });
|
|
1268
|
+
z.strictObject({ edge: footerEdgePreferenceSchema });
|
|
1269
|
+
//#endregion
|
|
1354
1270
|
//#region ../site-contracts/src/theme/tokenOrColor.ts
|
|
1355
1271
|
/**
|
|
1356
1272
|
* Runtime color-reference fields intentionally accept any string, including
|
|
@@ -2107,26 +2023,7 @@ const headerSchema = z.object({
|
|
|
2107
2023
|
ctaInMobileBar: z.literal(true).optional(),
|
|
2108
2024
|
dropdownStyle: dropdownStyleSchema
|
|
2109
2025
|
});
|
|
2110
|
-
const footerVariant = z.enum([
|
|
2111
|
-
"simple",
|
|
2112
|
-
"columns",
|
|
2113
|
-
"split",
|
|
2114
|
-
"centred"
|
|
2115
|
-
]).transform((value) => value === "columns" ? "simple" : value);
|
|
2116
2026
|
const footerMaxWidth = z.enum(["container", "full"]);
|
|
2117
|
-
const footerNavLayoutMode = z.enum([
|
|
2118
|
-
"stack",
|
|
2119
|
-
"inline",
|
|
2120
|
-
"inline-wrap"
|
|
2121
|
-
]);
|
|
2122
|
-
const footerSpacing = z.enum([
|
|
2123
|
-
"none",
|
|
2124
|
-
"tight",
|
|
2125
|
-
"compact",
|
|
2126
|
-
"default",
|
|
2127
|
-
"relaxed",
|
|
2128
|
-
"spacious"
|
|
2129
|
-
]);
|
|
2130
2027
|
const footerLogoSize = z.enum([
|
|
2131
2028
|
"sm",
|
|
2132
2029
|
"md",
|
|
@@ -2145,53 +2042,49 @@ const footerBottomTextLinkStyleSchema = z.object({
|
|
|
2145
2042
|
decorationColorToken: themeColorTokenSchema.nullable().optional(),
|
|
2146
2043
|
underline: z.boolean().optional()
|
|
2147
2044
|
});
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
"medium",
|
|
2166
|
-
"thick"
|
|
2167
|
-
]).optional()
|
|
2168
|
-
}).optional()
|
|
2045
|
+
/**
|
|
2046
|
+
* One footer area's paint: a solid ground and, only where a style needs it, the
|
|
2047
|
+
* text colour to try first. Inks come from the ground's surface resolution.
|
|
2048
|
+
*/
|
|
2049
|
+
const footerBandPaintSchema = z.object({
|
|
2050
|
+
ground: themeColorTokenSchema,
|
|
2051
|
+
textColor: themeColorTokenSchema.optional()
|
|
2052
|
+
});
|
|
2053
|
+
/**
|
|
2054
|
+
* The footer's areas. `main` is the footer's own ground; an unpainted area
|
|
2055
|
+
* (`null`) sits on it under a hairline rule.
|
|
2056
|
+
*/
|
|
2057
|
+
const footerBandsSchema = z.object({
|
|
2058
|
+
main: footerBandPaintSchema,
|
|
2059
|
+
band: footerBandPaintSchema.nullable(),
|
|
2060
|
+
strip: footerBandPaintSchema.nullable(),
|
|
2061
|
+
base: footerBandPaintSchema.nullable()
|
|
2169
2062
|
});
|
|
2170
|
-
const footerNavLayoutSchema = z.object({ layout: footerNavLayoutMode.optional() });
|
|
2171
2063
|
const footerLogoSchema = z.object({
|
|
2172
2064
|
size: footerLogoSize.optional(),
|
|
2173
|
-
maxHeight: footerLogoMaxHeight.optional()
|
|
2174
|
-
align: z.enum([
|
|
2175
|
-
"start",
|
|
2176
|
-
"center",
|
|
2177
|
-
"end"
|
|
2178
|
-
]).optional()
|
|
2065
|
+
maxHeight: footerLogoMaxHeight.optional()
|
|
2179
2066
|
});
|
|
2180
2067
|
const footerSchema = z.object({
|
|
2181
|
-
|
|
2068
|
+
layout: z.enum([
|
|
2069
|
+
"beside-links",
|
|
2070
|
+
"centred",
|
|
2071
|
+
"compact"
|
|
2072
|
+
]).default("beside-links"),
|
|
2182
2073
|
maxWidth: footerMaxWidth,
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2074
|
+
bands: footerBandsSchema.default({
|
|
2075
|
+
main: { ground: "surface" },
|
|
2076
|
+
band: null,
|
|
2077
|
+
strip: null,
|
|
2078
|
+
base: null
|
|
2186
2079
|
}),
|
|
2187
2080
|
navStyle: headerNavStyle.default("minimal"),
|
|
2188
2081
|
navColor: themeColorTokenSchema.nullable().optional(),
|
|
2189
2082
|
navWeight: navFontWeight.default("medium"),
|
|
2190
2083
|
navLinkStyle: navLinkStyleSchema.optional(),
|
|
2191
2084
|
bottomTextLinkStyle: footerBottomTextLinkStyleSchema.optional(),
|
|
2192
|
-
navLayout: footerNavLayoutSchema.optional(),
|
|
2193
2085
|
logo: footerLogoSchema.optional(),
|
|
2194
|
-
|
|
2086
|
+
/** The shape the footer draws where the page above meets it; absent draws none. */
|
|
2087
|
+
edge: z.enum(footerEdgeIntentValues).optional()
|
|
2195
2088
|
});
|
|
2196
2089
|
const containerPaddingPresetSchema = z.enum([
|
|
2197
2090
|
"tight",
|
|
@@ -2326,4 +2219,4 @@ const themeSchema = z.object({
|
|
|
2326
2219
|
styleGroups: z.record(z.string(), z.array(z.string())).optional()
|
|
2327
2220
|
});
|
|
2328
2221
|
//#endregion
|
|
2329
|
-
export {
|
|
2222
|
+
export { asHeaderLayoutId as _, headerVariantValues as a, pageDesignEditorBackgroundOverrideOwner as b, runtimeBoxBackgroundSchema as c, cardRoleValues as d, cardVariantRoleValues as f, asFooterLookId as g, surfaceCardRoleValues as h, themeSchema as i, boxlessCardVariantValue as l, openCardRoleValue as m, containerStylesOverrideSchema as n, boxBackgroundOverlaySchema as o, itemRoleValues as p, sectionStylesOverrideSchema as r, boxBackgroundSchema as s, cardStylesOverrideSchema as t, cardRoleSchema as u, asHeaderStyleId as v, siteChromeBackgroundOverrideOwner as x, bookingPageLookIdValues as y };
|
package/dist/server/server.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createRiverbankClient } from "./client-
|
|
2
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
3
|
-
import { t as loadPage } from "./loadPage-
|
|
1
|
+
import { t as createRiverbankClient } from "./client-CGtU5fHI.mjs";
|
|
2
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-ChnkJSay.mjs";
|
|
3
|
+
import { t as loadPage } from "./loadPage-DesHhgxj.mjs";
|
|
4
4
|
export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
|
|
@@ -29,6 +29,9 @@ function prevalidateInput(value) {
|
|
|
29
29
|
function isHttpUrl(value) {
|
|
30
30
|
return /^https?:\/\//i.test(value);
|
|
31
31
|
}
|
|
32
|
+
function isRootedPathname(pathname) {
|
|
33
|
+
return pathname.startsWith("/") && !pathname.startsWith("//");
|
|
34
|
+
}
|
|
32
35
|
function pathContainsEncodedSeparator(pathname) {
|
|
33
36
|
return ENCODED_SEPARATOR_PATTERN.test(pathname);
|
|
34
37
|
}
|
|
@@ -50,7 +53,7 @@ function parseRedirectPath(value, policy) {
|
|
|
50
53
|
ok: false,
|
|
51
54
|
error: { tag: "EXTERNAL_URL" }
|
|
52
55
|
};
|
|
53
|
-
if (!candidate.pathname
|
|
56
|
+
if (!isRootedPathname(candidate.pathname)) return {
|
|
54
57
|
ok: false,
|
|
55
58
|
error: { tag: "INVALID_PATH" }
|
|
56
59
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as hexToRgb, M as isOnColorBackgroundCandidateToken, N as onColorTokenName, P as getTextColorForBackground, S as buttonVariantIdSchema, a as formatButtonColourContractError, gt as textColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates
|
|
2
|
-
import { A as
|
|
1
|
+
import { G as hexToRgb, M as isOnColorBackgroundCandidateToken, N as onColorTokenName, P as getTextColorForBackground, S as buttonVariantIdSchema, a as formatButtonColourContractError, gt as textColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
+
import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, p as generateProgressCss, r as compileCustomCssRules, t as ThemeScopeCore, v as INPUT_GROUP_ERROR_SELECTOR, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BtrJNHTB.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -453,6 +453,23 @@ function bridgeInputGroupCss(root, textToken) {
|
|
|
453
453
|
* @param settings - Input style settings
|
|
454
454
|
* @returns CSS string
|
|
455
455
|
*/
|
|
456
|
+
/** The rules every bridge field and the input group shell share. */
|
|
457
|
+
function bridgeSharedInputRules(settings, borderWidth, borderRadius) {
|
|
458
|
+
return `
|
|
459
|
+
background-color: rgb(var(--tb-${settings.backgroundToken}));
|
|
460
|
+
color: rgb(var(--tb-${settings.textToken}));
|
|
461
|
+
${INPUT_EDGE_COLOR_VAR}: rgb(var(--tb-${settings.borderToken}));
|
|
462
|
+
${INPUT_ERROR_BORDER_COLOR_VAR}: rgb(var(--tb-${settings.errorBorderToken}));
|
|
463
|
+
border: ${borderWidth} solid var(${INPUT_EDGE_COLOR_VAR});
|
|
464
|
+
border-radius: ${borderRadius};
|
|
465
|
+
padding: ${INPUT_PADDING};
|
|
466
|
+
font-size: 1rem;
|
|
467
|
+
width: 100%;
|
|
468
|
+
outline: none;
|
|
469
|
+
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
470
|
+
${settings.shadow !== "none" ? `box-shadow: ${SHADOW_VALUES[settings.shadow]};` : ""}
|
|
471
|
+
`.trim();
|
|
472
|
+
}
|
|
456
473
|
function generateInputCoreCss(scopeId, settings) {
|
|
457
474
|
const root = `:where([data-theme-scope="${scopeId}"])`;
|
|
458
475
|
const borderWidth = BORDER_WIDTH_MAP[settings.borderWidth];
|
|
@@ -465,18 +482,7 @@ function generateInputCoreCss(scopeId, settings) {
|
|
|
465
482
|
display: block;
|
|
466
483
|
margin-bottom: 0.25rem;
|
|
467
484
|
}`);
|
|
468
|
-
const sharedInputRules =
|
|
469
|
-
background-color: rgb(var(--tb-${settings.backgroundToken}));
|
|
470
|
-
color: rgb(var(--tb-${settings.textToken}));
|
|
471
|
-
border: ${borderWidth} solid rgb(var(--tb-${settings.borderToken}));
|
|
472
|
-
border-radius: ${borderRadius};
|
|
473
|
-
padding: ${INPUT_PADDING};
|
|
474
|
-
font-size: 1rem;
|
|
475
|
-
width: 100%;
|
|
476
|
-
outline: none;
|
|
477
|
-
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
478
|
-
${settings.shadow !== "none" ? `box-shadow: ${SHADOW_VALUES[settings.shadow]};` : ""}
|
|
479
|
-
`.trim();
|
|
485
|
+
const sharedInputRules = bridgeSharedInputRules(settings, borderWidth, borderRadius);
|
|
480
486
|
cssBlocks.push(`${root} .form-input,
|
|
481
487
|
${root} ${INPUT_GROUP_SELECTOR} {
|
|
482
488
|
${sharedInputRules}
|
|
@@ -508,7 +514,7 @@ ${root} ${INPUT_GROUP_FOCUS_SELECTOR} {
|
|
|
508
514
|
${root} .form-textarea[aria-invalid="true"],
|
|
509
515
|
${root} .form-select[aria-invalid="true"],
|
|
510
516
|
${root} ${INPUT_GROUP_ERROR_SELECTOR} {
|
|
511
|
-
border-color:
|
|
517
|
+
border-color: var(${INPUT_ERROR_BORDER_COLOR_VAR});
|
|
512
518
|
color: rgb(var(--tb-${settings.errorTextToken}));
|
|
513
519
|
}`);
|
|
514
520
|
cssBlocks.push(`${root} .form-input:disabled,
|
package/dist/server/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as themeSchema$1 } from "./schema-
|
|
2
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
1
|
+
import { i as themeSchema$1 } from "./schema-CUDHMirj.mjs";
|
|
2
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-Cwqb5pZx.mjs";
|
|
3
3
|
import * as fs from "fs/promises";
|
|
4
4
|
import * as path from "path";
|
|
5
5
|
//#region src/theme/loader.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as RichTextDocSchema, t as createRichTextDocFromMarkdown } from "./richTextSchema-QLaQrbII.mjs";
|
|
2
|
-
import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-
|
|
2
|
+
import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-Cu-3PRvv.mjs";
|
|
3
3
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/manifest/prompt/theme-summary.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as builtinTransformDefinitions } from "./pageRenderPlan-
|
|
2
|
-
import {
|
|
1
|
+
import { d as builtinTransformDefinitions } from "./pageRenderPlan-0jvm0RBk.mjs";
|
|
2
|
+
import { Go as blockSectionDeclarationShape, Jo as validateManifestLookField, Ko as builtInBlockKindsSchema, Vo as NodeSchema, Wo as blockCategoryEnum, ga as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, ms as parseMailingListProviderScope, qo as fieldSchema, t as getBlockDefinition } from "./registry-DmqxC8th.mjs";
|
|
3
3
|
import { a as SUPPORTED_LOADER_ENDPOINTS } from "./responseMedia-DpBC1hTM.mjs";
|
|
4
4
|
import { r as footerModeSchema } from "./mode-bkFS8glh.mjs";
|
|
5
|
-
import { a as ALLOWED_TRANSFORM_IDS_SET, r as ALLOWED_NODE_TYPES_SET, t as titleSourceValueSchema } from "./titleSourceSchema-
|
|
5
|
+
import { a as ALLOWED_TRANSFORM_IDS_SET, r as ALLOWED_NODE_TYPES_SET, t as titleSourceValueSchema } from "./titleSourceSchema-Cu-3PRvv.mjs";
|
|
6
6
|
import { n as collectBookingReservedFieldCollisions, t as APPOINTMENT_BOOKING_BLOCK_ID } from "./booking-form.reserved-fields-Cqp13TKc.mjs";
|
|
7
|
-
import { t as SUPPORTED_LOADER_ENDPOINTS$1 } from "./prefetchBlockData-
|
|
7
|
+
import { t as SUPPORTED_LOADER_ENDPOINTS$1 } from "./prefetchBlockData-5oC5kyHe.mjs";
|
|
8
8
|
import { n as BINDING_TRANSFORM_VALUES$1 } from "./bindings-DhmIW3Er.mjs";
|
|
9
9
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
10
10
|
import { i as safeParseRouteTemplate, t as describeRouteTemplateParseError } from "./routeTemplate-AsKQwa47.mjs";
|