@riverbankcms/sdk 0.172.0 → 0.174.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/README.md +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.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 +6 -2
- 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-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/bookability-CE637yDE.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +206 -7
- package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +34 -61
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
- 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-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -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-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
- 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/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
- package/dist/server/{parseThemeForPersistence-B18KDEue.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-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
- 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 +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
- 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-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
- package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +1038 -200
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -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
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
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";
|
|
3
|
+
import { i as mediaSchema, n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-luf7RF22.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 = [
|
|
@@ -695,6 +598,398 @@ const gradientsSchema = z.object({
|
|
|
695
598
|
background: z.string().min(1).nullable().optional()
|
|
696
599
|
});
|
|
697
600
|
//#endregion
|
|
601
|
+
//#region ../site-contracts/src/theme/bodyFontFamilies.generated.ts
|
|
602
|
+
const bodyFontFamilies = [
|
|
603
|
+
"AR One Sans",
|
|
604
|
+
"Abhaya Libre",
|
|
605
|
+
"Advent Pro",
|
|
606
|
+
"Afacad",
|
|
607
|
+
"Afacad Flux",
|
|
608
|
+
"Agdasima",
|
|
609
|
+
"Akatab",
|
|
610
|
+
"Akshar",
|
|
611
|
+
"Albert Sans",
|
|
612
|
+
"Alef",
|
|
613
|
+
"Alegreya",
|
|
614
|
+
"Alegreya Sans",
|
|
615
|
+
"Aleo",
|
|
616
|
+
"Alexandria",
|
|
617
|
+
"Almarai",
|
|
618
|
+
"Alumni Sans",
|
|
619
|
+
"Amaranth",
|
|
620
|
+
"Amiko",
|
|
621
|
+
"Amiri",
|
|
622
|
+
"Anaheim",
|
|
623
|
+
"Andada Pro",
|
|
624
|
+
"Andika",
|
|
625
|
+
"Anek Bangla",
|
|
626
|
+
"Anek Latin",
|
|
627
|
+
"Anek Telugu",
|
|
628
|
+
"Anuphan",
|
|
629
|
+
"Archivo",
|
|
630
|
+
"Aref Ruqaa",
|
|
631
|
+
"Arimo",
|
|
632
|
+
"Arsenal",
|
|
633
|
+
"Arvo",
|
|
634
|
+
"Asap",
|
|
635
|
+
"Asap Sharp",
|
|
636
|
+
"Assistant",
|
|
637
|
+
"Asul",
|
|
638
|
+
"Athiti",
|
|
639
|
+
"Atkinson Hyperlegible",
|
|
640
|
+
"Atkinson Hyperlegible Next",
|
|
641
|
+
"B612",
|
|
642
|
+
"BIZ UDGothic",
|
|
643
|
+
"BIZ UDMincho",
|
|
644
|
+
"BIZ UDPGothic",
|
|
645
|
+
"BIZ UDPMincho",
|
|
646
|
+
"Bai Jamjuree",
|
|
647
|
+
"Barlow",
|
|
648
|
+
"Baskervville",
|
|
649
|
+
"Be Vietnam Pro",
|
|
650
|
+
"Belanosima",
|
|
651
|
+
"BenchNine",
|
|
652
|
+
"Besley",
|
|
653
|
+
"BioRhyme",
|
|
654
|
+
"Biryani",
|
|
655
|
+
"Bitter",
|
|
656
|
+
"Blinker",
|
|
657
|
+
"Bodoni Moda",
|
|
658
|
+
"Bona Nova",
|
|
659
|
+
"Bricolage Grotesque",
|
|
660
|
+
"Brygada 1918",
|
|
661
|
+
"Buenard",
|
|
662
|
+
"Cabin",
|
|
663
|
+
"Cairo",
|
|
664
|
+
"Caladea",
|
|
665
|
+
"Cambay",
|
|
666
|
+
"Cantarell",
|
|
667
|
+
"Cardo",
|
|
668
|
+
"Carlito",
|
|
669
|
+
"Castoro",
|
|
670
|
+
"Catamaran",
|
|
671
|
+
"Caudex",
|
|
672
|
+
"Changa",
|
|
673
|
+
"Charis SIL",
|
|
674
|
+
"Chiron GoRound TC",
|
|
675
|
+
"Chivo",
|
|
676
|
+
"Commissioner",
|
|
677
|
+
"Cormorant",
|
|
678
|
+
"Cormorant Garamond",
|
|
679
|
+
"Cormorant Infant",
|
|
680
|
+
"Cormorant Upright",
|
|
681
|
+
"Crimson Pro",
|
|
682
|
+
"Crimson Text",
|
|
683
|
+
"Cuprum",
|
|
684
|
+
"DM Sans",
|
|
685
|
+
"Darker Grotesque",
|
|
686
|
+
"David Libre",
|
|
687
|
+
"Domine",
|
|
688
|
+
"Dongle",
|
|
689
|
+
"Dosis",
|
|
690
|
+
"EB Garamond",
|
|
691
|
+
"Economica",
|
|
692
|
+
"Eczar",
|
|
693
|
+
"El Messiri",
|
|
694
|
+
"Elms Sans",
|
|
695
|
+
"Encode Sans",
|
|
696
|
+
"Encode Sans Expanded",
|
|
697
|
+
"Encode Sans Semi Expanded",
|
|
698
|
+
"Enriqueta",
|
|
699
|
+
"Epilogue",
|
|
700
|
+
"Estedad",
|
|
701
|
+
"Exo",
|
|
702
|
+
"Exo 2",
|
|
703
|
+
"Fahkwang",
|
|
704
|
+
"Familjen Grotesk",
|
|
705
|
+
"Farro",
|
|
706
|
+
"Faustina",
|
|
707
|
+
"Figtree",
|
|
708
|
+
"Finlandica Text",
|
|
709
|
+
"Fira Sans",
|
|
710
|
+
"Frank Ruhl Libre",
|
|
711
|
+
"Fraunces",
|
|
712
|
+
"Fredoka",
|
|
713
|
+
"Funnel Sans",
|
|
714
|
+
"Fustat",
|
|
715
|
+
"Gantari",
|
|
716
|
+
"Gayathri",
|
|
717
|
+
"Geist",
|
|
718
|
+
"Gelasio",
|
|
719
|
+
"Gentium Book Plus",
|
|
720
|
+
"Gentium Plus",
|
|
721
|
+
"Geologica",
|
|
722
|
+
"Geom",
|
|
723
|
+
"Georama",
|
|
724
|
+
"Glegoo",
|
|
725
|
+
"Glory",
|
|
726
|
+
"Golos Text",
|
|
727
|
+
"Google Sans",
|
|
728
|
+
"Google Sans Flex",
|
|
729
|
+
"Gothic A1",
|
|
730
|
+
"Gowun Batang",
|
|
731
|
+
"Gudea",
|
|
732
|
+
"Halant",
|
|
733
|
+
"Hanken Grotesk",
|
|
734
|
+
"Hanuman",
|
|
735
|
+
"Heebo",
|
|
736
|
+
"Hepta Slab",
|
|
737
|
+
"Hind",
|
|
738
|
+
"Hind Guntur",
|
|
739
|
+
"Hind Madurai",
|
|
740
|
+
"Hind Siliguri",
|
|
741
|
+
"Hind Vadodara",
|
|
742
|
+
"Host Grotesk",
|
|
743
|
+
"IBM Plex Sans",
|
|
744
|
+
"IBM Plex Sans Arabic",
|
|
745
|
+
"IBM Plex Sans Hebrew",
|
|
746
|
+
"IBM Plex Sans JP",
|
|
747
|
+
"IBM Plex Sans KR",
|
|
748
|
+
"IBM Plex Sans Thai",
|
|
749
|
+
"IBM Plex Sans Thai Looped",
|
|
750
|
+
"IBM Plex Serif",
|
|
751
|
+
"Ibarra Real Nova",
|
|
752
|
+
"Inclusive Sans",
|
|
753
|
+
"Inknut Antiqua",
|
|
754
|
+
"Inria Sans",
|
|
755
|
+
"Inria Serif",
|
|
756
|
+
"Instrument Sans",
|
|
757
|
+
"Inter",
|
|
758
|
+
"Inter Tight",
|
|
759
|
+
"Istok Web",
|
|
760
|
+
"Josefin Sans",
|
|
761
|
+
"Jost",
|
|
762
|
+
"Jura",
|
|
763
|
+
"K2D",
|
|
764
|
+
"Kaisei Decol",
|
|
765
|
+
"Kaisei Opti",
|
|
766
|
+
"Kalnia",
|
|
767
|
+
"Kameron",
|
|
768
|
+
"Kanit",
|
|
769
|
+
"Kantumruy Pro",
|
|
770
|
+
"Karla",
|
|
771
|
+
"Karma",
|
|
772
|
+
"Khula",
|
|
773
|
+
"KoHo",
|
|
774
|
+
"Kreon",
|
|
775
|
+
"Krub",
|
|
776
|
+
"Kumbh Sans",
|
|
777
|
+
"LINE Seed JP",
|
|
778
|
+
"Laila",
|
|
779
|
+
"Lateef",
|
|
780
|
+
"Lato",
|
|
781
|
+
"League Spartan",
|
|
782
|
+
"Lexend",
|
|
783
|
+
"Lexend Deca",
|
|
784
|
+
"Lexend Exa",
|
|
785
|
+
"Lexend Giga",
|
|
786
|
+
"Lexend Mega",
|
|
787
|
+
"Lexend Zetta",
|
|
788
|
+
"Libertinus Sans",
|
|
789
|
+
"Libre Baskerville",
|
|
790
|
+
"Libre Bodoni",
|
|
791
|
+
"Libre Caslon Text",
|
|
792
|
+
"Libre Franklin",
|
|
793
|
+
"Literata",
|
|
794
|
+
"Livvic",
|
|
795
|
+
"Lora",
|
|
796
|
+
"Lusitana",
|
|
797
|
+
"M PLUS 1",
|
|
798
|
+
"M PLUS 1p",
|
|
799
|
+
"M PLUS 2",
|
|
800
|
+
"M PLUS Rounded 1c",
|
|
801
|
+
"Mada",
|
|
802
|
+
"Maitree",
|
|
803
|
+
"Manrope",
|
|
804
|
+
"Markazi Text",
|
|
805
|
+
"Martel",
|
|
806
|
+
"Martel Sans",
|
|
807
|
+
"Marvel",
|
|
808
|
+
"Maven Pro",
|
|
809
|
+
"Menbere",
|
|
810
|
+
"Merriweather",
|
|
811
|
+
"Merriweather Sans",
|
|
812
|
+
"Mina",
|
|
813
|
+
"Miriam Libre",
|
|
814
|
+
"Mitr",
|
|
815
|
+
"Moderustic",
|
|
816
|
+
"Mona Sans",
|
|
817
|
+
"Monda",
|
|
818
|
+
"Montagu Slab",
|
|
819
|
+
"Montserrat",
|
|
820
|
+
"Montserrat Underline",
|
|
821
|
+
"Mozilla Headline",
|
|
822
|
+
"Mozilla Text",
|
|
823
|
+
"Mukta",
|
|
824
|
+
"Mukta Malar",
|
|
825
|
+
"Mukta Vaani",
|
|
826
|
+
"Mulish",
|
|
827
|
+
"Murecho",
|
|
828
|
+
"Nanum Gothic",
|
|
829
|
+
"Nanum Myeongjo",
|
|
830
|
+
"Neuton",
|
|
831
|
+
"News Cycle",
|
|
832
|
+
"Newsreader",
|
|
833
|
+
"Niramit",
|
|
834
|
+
"Nokora",
|
|
835
|
+
"Noticia Text",
|
|
836
|
+
"Noto Emoji",
|
|
837
|
+
"Noto Kufi Arabic",
|
|
838
|
+
"Noto Naskh Arabic",
|
|
839
|
+
"Noto Nastaliq Urdu",
|
|
840
|
+
"Noto Sans",
|
|
841
|
+
"Noto Sans Arabic",
|
|
842
|
+
"Noto Sans Armenian",
|
|
843
|
+
"Noto Sans Bengali",
|
|
844
|
+
"Noto Sans Devanagari",
|
|
845
|
+
"Noto Sans Duployan",
|
|
846
|
+
"Noto Sans Georgian",
|
|
847
|
+
"Noto Sans Gujarati",
|
|
848
|
+
"Noto Sans Gurmukhi",
|
|
849
|
+
"Noto Sans HK",
|
|
850
|
+
"Noto Sans Hebrew",
|
|
851
|
+
"Noto Sans JP",
|
|
852
|
+
"Noto Sans KR",
|
|
853
|
+
"Noto Sans Kannada",
|
|
854
|
+
"Noto Sans Khmer",
|
|
855
|
+
"Noto Sans Malayalam",
|
|
856
|
+
"Noto Sans Meetei Mayek",
|
|
857
|
+
"Noto Sans Mono",
|
|
858
|
+
"Noto Sans Myanmar",
|
|
859
|
+
"Noto Sans Ol Chiki",
|
|
860
|
+
"Noto Sans Oriya",
|
|
861
|
+
"Noto Sans Sinhala",
|
|
862
|
+
"Noto Sans Sundanese",
|
|
863
|
+
"Noto Sans Symbols",
|
|
864
|
+
"Noto Sans TC",
|
|
865
|
+
"Noto Sans Tamil",
|
|
866
|
+
"Noto Sans Telugu",
|
|
867
|
+
"Noto Sans Thai",
|
|
868
|
+
"Noto Sans Thai Looped",
|
|
869
|
+
"Noto Serif",
|
|
870
|
+
"Noto Serif Bengali",
|
|
871
|
+
"Noto Serif Devanagari",
|
|
872
|
+
"Noto Serif Georgian",
|
|
873
|
+
"Noto Serif JP",
|
|
874
|
+
"Noto Serif KR",
|
|
875
|
+
"Noto Serif Malayalam",
|
|
876
|
+
"Noto Serif TC",
|
|
877
|
+
"Noto Serif Tamil",
|
|
878
|
+
"Noto Serif Thai",
|
|
879
|
+
"Nunito",
|
|
880
|
+
"Nunito Sans",
|
|
881
|
+
"Ojuju",
|
|
882
|
+
"Old Standard TT",
|
|
883
|
+
"Onest",
|
|
884
|
+
"Open Sans",
|
|
885
|
+
"Outfit",
|
|
886
|
+
"Overpass",
|
|
887
|
+
"Oxygen",
|
|
888
|
+
"PT Sans",
|
|
889
|
+
"PT Sans Caption",
|
|
890
|
+
"PT Serif",
|
|
891
|
+
"Padauk",
|
|
892
|
+
"Palanquin",
|
|
893
|
+
"Palanquin Dark",
|
|
894
|
+
"Parkinsans",
|
|
895
|
+
"Petrona",
|
|
896
|
+
"Philosopher",
|
|
897
|
+
"Piazzolla",
|
|
898
|
+
"Platypi",
|
|
899
|
+
"Play",
|
|
900
|
+
"Playfair",
|
|
901
|
+
"Plus Jakarta Sans",
|
|
902
|
+
"Podkova",
|
|
903
|
+
"Pontano Sans",
|
|
904
|
+
"Poppins",
|
|
905
|
+
"Pridi",
|
|
906
|
+
"Prompt",
|
|
907
|
+
"Proza Libre",
|
|
908
|
+
"Public Sans",
|
|
909
|
+
"Quattrocento",
|
|
910
|
+
"Quattrocento Sans",
|
|
911
|
+
"Quicksand",
|
|
912
|
+
"REM",
|
|
913
|
+
"Radio Canada",
|
|
914
|
+
"Radio Canada Big",
|
|
915
|
+
"Raleway",
|
|
916
|
+
"Rasa",
|
|
917
|
+
"Readex Pro",
|
|
918
|
+
"Recursive",
|
|
919
|
+
"Red Hat Text",
|
|
920
|
+
"Reddit Sans",
|
|
921
|
+
"Reem Kufi",
|
|
922
|
+
"Rethink Sans",
|
|
923
|
+
"Roboto",
|
|
924
|
+
"Roboto Serif",
|
|
925
|
+
"Roboto Slab",
|
|
926
|
+
"Rokkitt",
|
|
927
|
+
"Rosario",
|
|
928
|
+
"Rubik",
|
|
929
|
+
"Ruda",
|
|
930
|
+
"Rufina",
|
|
931
|
+
"Ruwudu",
|
|
932
|
+
"STIX Two Text",
|
|
933
|
+
"Saira",
|
|
934
|
+
"Sansita",
|
|
935
|
+
"Sarabun",
|
|
936
|
+
"Sarala",
|
|
937
|
+
"Scada",
|
|
938
|
+
"Schibsted Grotesk",
|
|
939
|
+
"Sen",
|
|
940
|
+
"Share",
|
|
941
|
+
"Shippori Mincho",
|
|
942
|
+
"Shippori Mincho B1",
|
|
943
|
+
"Signika",
|
|
944
|
+
"Signika Negative",
|
|
945
|
+
"Sintony",
|
|
946
|
+
"Sofia Sans",
|
|
947
|
+
"Solway",
|
|
948
|
+
"Sora",
|
|
949
|
+
"Sour Gummy",
|
|
950
|
+
"Source Sans 3",
|
|
951
|
+
"Source Serif 4",
|
|
952
|
+
"Space Grotesk",
|
|
953
|
+
"Special Gothic",
|
|
954
|
+
"Spectral",
|
|
955
|
+
"Spline Sans",
|
|
956
|
+
"Sulphur Point",
|
|
957
|
+
"Sumana",
|
|
958
|
+
"Sura",
|
|
959
|
+
"Syne",
|
|
960
|
+
"TASA Orbiter",
|
|
961
|
+
"Tajawal",
|
|
962
|
+
"Taviraj",
|
|
963
|
+
"TikTok Sans",
|
|
964
|
+
"Tinos",
|
|
965
|
+
"Titillium Web",
|
|
966
|
+
"Trirong",
|
|
967
|
+
"Trispace",
|
|
968
|
+
"Ubuntu",
|
|
969
|
+
"Ubuntu Sans",
|
|
970
|
+
"Unbounded",
|
|
971
|
+
"Unna",
|
|
972
|
+
"Urbanist",
|
|
973
|
+
"Vazirmatn",
|
|
974
|
+
"Vesper Libre",
|
|
975
|
+
"Volkhov",
|
|
976
|
+
"Vollkorn",
|
|
977
|
+
"Wix Madefor Text",
|
|
978
|
+
"Work Sans",
|
|
979
|
+
"Xmind",
|
|
980
|
+
"Yanone Kaffeesatz",
|
|
981
|
+
"Yantramanav",
|
|
982
|
+
"Yrsa",
|
|
983
|
+
"Ysabeau",
|
|
984
|
+
"Zalando Sans",
|
|
985
|
+
"Zalando Sans SemiExpanded",
|
|
986
|
+
"Zen Kaku Gothic Antique",
|
|
987
|
+
"Zen Kaku Gothic New",
|
|
988
|
+
"Zen Maru Gothic",
|
|
989
|
+
"Zen Old Mincho",
|
|
990
|
+
"Zilla Slab"
|
|
991
|
+
];
|
|
992
|
+
//#endregion
|
|
698
993
|
//#region ../site-contracts/src/theme/fonts.ts
|
|
699
994
|
const fontWeightListSchema = z.array(z.number().int().min(100).max(900));
|
|
700
995
|
const fontLoadingSchema = z.object({
|
|
@@ -718,6 +1013,7 @@ const curatedFontWidths = {
|
|
|
718
1013
|
function getFontWidthRange(family) {
|
|
719
1014
|
return curatedFontWidths[(family.split(",")[0] ?? "").trim().replace(/^["']|["']$/g, "")];
|
|
720
1015
|
}
|
|
1016
|
+
new Set(bodyFontFamilies.map((family) => family.toLocaleLowerCase()));
|
|
721
1017
|
//#endregion
|
|
722
1018
|
//#region ../site-contracts/src/theme/typography.ts
|
|
723
1019
|
const typographyStyleSchema = z.object({
|
|
@@ -958,6 +1254,19 @@ const componentShadowSchema = z.object({ elevation: z.enum([
|
|
|
958
1254
|
"2xl"
|
|
959
1255
|
]).default("sm") });
|
|
960
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
|
|
961
1270
|
//#region ../site-contracts/src/theme/tokenOrColor.ts
|
|
962
1271
|
/**
|
|
963
1272
|
* Runtime color-reference fields intentionally accept any string, including
|
|
@@ -1714,26 +2023,7 @@ const headerSchema = z.object({
|
|
|
1714
2023
|
ctaInMobileBar: z.literal(true).optional(),
|
|
1715
2024
|
dropdownStyle: dropdownStyleSchema
|
|
1716
2025
|
});
|
|
1717
|
-
const footerVariant = z.enum([
|
|
1718
|
-
"simple",
|
|
1719
|
-
"columns",
|
|
1720
|
-
"split",
|
|
1721
|
-
"centred"
|
|
1722
|
-
]).transform((value) => value === "columns" ? "simple" : value);
|
|
1723
2026
|
const footerMaxWidth = z.enum(["container", "full"]);
|
|
1724
|
-
const footerNavLayoutMode = z.enum([
|
|
1725
|
-
"stack",
|
|
1726
|
-
"inline",
|
|
1727
|
-
"inline-wrap"
|
|
1728
|
-
]);
|
|
1729
|
-
const footerSpacing = z.enum([
|
|
1730
|
-
"none",
|
|
1731
|
-
"tight",
|
|
1732
|
-
"compact",
|
|
1733
|
-
"default",
|
|
1734
|
-
"relaxed",
|
|
1735
|
-
"spacious"
|
|
1736
|
-
]);
|
|
1737
2027
|
const footerLogoSize = z.enum([
|
|
1738
2028
|
"sm",
|
|
1739
2029
|
"md",
|
|
@@ -1752,53 +2042,49 @@ const footerBottomTextLinkStyleSchema = z.object({
|
|
|
1752
2042
|
decorationColorToken: themeColorTokenSchema.nullable().optional(),
|
|
1753
2043
|
underline: z.boolean().optional()
|
|
1754
2044
|
});
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
"medium",
|
|
1773
|
-
"thick"
|
|
1774
|
-
]).optional()
|
|
1775
|
-
}).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()
|
|
1776
2062
|
});
|
|
1777
|
-
const footerNavLayoutSchema = z.object({ layout: footerNavLayoutMode.optional() });
|
|
1778
2063
|
const footerLogoSchema = z.object({
|
|
1779
2064
|
size: footerLogoSize.optional(),
|
|
1780
|
-
maxHeight: footerLogoMaxHeight.optional()
|
|
1781
|
-
align: z.enum([
|
|
1782
|
-
"start",
|
|
1783
|
-
"center",
|
|
1784
|
-
"end"
|
|
1785
|
-
]).optional()
|
|
2065
|
+
maxHeight: footerLogoMaxHeight.optional()
|
|
1786
2066
|
});
|
|
1787
2067
|
const footerSchema = z.object({
|
|
1788
|
-
|
|
2068
|
+
layout: z.enum([
|
|
2069
|
+
"beside-links",
|
|
2070
|
+
"centred",
|
|
2071
|
+
"compact"
|
|
2072
|
+
]).default("beside-links"),
|
|
1789
2073
|
maxWidth: footerMaxWidth,
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
2074
|
+
bands: footerBandsSchema.default({
|
|
2075
|
+
main: { ground: "surface" },
|
|
2076
|
+
band: null,
|
|
2077
|
+
strip: null,
|
|
2078
|
+
base: null
|
|
1793
2079
|
}),
|
|
1794
2080
|
navStyle: headerNavStyle.default("minimal"),
|
|
1795
2081
|
navColor: themeColorTokenSchema.nullable().optional(),
|
|
1796
2082
|
navWeight: navFontWeight.default("medium"),
|
|
1797
2083
|
navLinkStyle: navLinkStyleSchema.optional(),
|
|
1798
2084
|
bottomTextLinkStyle: footerBottomTextLinkStyleSchema.optional(),
|
|
1799
|
-
navLayout: footerNavLayoutSchema.optional(),
|
|
1800
2085
|
logo: footerLogoSchema.optional(),
|
|
1801
|
-
|
|
2086
|
+
/** The shape the footer draws where the page above meets it; absent draws none. */
|
|
2087
|
+
edge: z.enum(footerEdgeIntentValues).optional()
|
|
1802
2088
|
});
|
|
1803
2089
|
const containerPaddingPresetSchema = z.enum([
|
|
1804
2090
|
"tight",
|
|
@@ -1933,4 +2219,4 @@ const themeSchema = z.object({
|
|
|
1933
2219
|
styleGroups: z.record(z.string(), z.array(z.string())).optional()
|
|
1934
2220
|
});
|
|
1935
2221
|
//#endregion
|
|
1936
|
-
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-aYRTVneD.mjs";
|
|
2
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-Cgpfr44e.mjs";
|
|
3
|
+
import { t as loadPage } from "./loadPage-RDk10NMP.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
|
};
|