@riverbankcms/sdk 0.164.0 → 0.165.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-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
- package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
- package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
- package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
- package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.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 +6 -6
- 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/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 +2 -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 +1 -1
- 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/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/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 +1 -1
- package/dist/_dts/{types-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
- package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
- package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -13
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
- package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
- package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
- package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
- package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
- package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +914 -10
- package/package.json +1 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as MissingBlockOverrideError, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-
|
|
2
|
-
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-
|
|
3
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-
|
|
4
|
-
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-
|
|
1
|
+
import { b as MissingBlockOverrideError, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-DhF87Vsd.mjs";
|
|
2
|
+
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-CSknYpxk.mjs";
|
|
3
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-ClFI3qpX.mjs";
|
|
4
|
+
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-BIJbiXYc.mjs";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/rendering/components/Block.server.tsx
|
|
7
7
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { $ as RichText$2,
|
|
3
|
-
import { C as toBlocksImageResolveContextInput, S as toBlocksPageRendererDataContext, T as buildThemeRuntime, b as MissingBlockOverrideError, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as ThemeScope, w as toBlocksMediaAssets, x as PageRenderer, y as EditorPageRenderer } from "./overrides-
|
|
4
|
-
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as admitLayoutGridForPlan, y as deriveFieldValidationPlan } from "./themeAdmission-
|
|
5
|
-
import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-
|
|
6
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-
|
|
7
|
-
import { t as loadPage } from "./loadPage-
|
|
8
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
1
|
+
import { At as mediaIdentifierSchema, Ct as mediaSchema, Dt as renderableMediaAssetSchema, Et as buildRenderableMediaAssetIndex, Mt as parseMediaIdentifier, Tt as runtimeMediaSchema, jt as parseCanonicalMediaIdentifier, kt as resolveManagedMediaReference, wt as persistableMediaSchema } from "./schema-uSA_x1Zh.mjs";
|
|
2
|
+
import { $ as RichText$2, Ai as parseFieldDefinition, Bi as projectRepeaterGridLayout$1, Vi as projectRepeaterGridLayoutForRendering$1, at as resolveImageUrlWithContext$1, it as resolveImageUrl$1, nt as computeMediaTransformStyle, rt as resolveImageSourceSetWithContext$1, st as buildResolveImageUrlContext, ut as sanitizeHref } from "./registry-Cdvz1OtL.mjs";
|
|
3
|
+
import { C as toBlocksImageResolveContextInput, S as toBlocksPageRendererDataContext, T as buildThemeRuntime, b as MissingBlockOverrideError, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as ThemeScope, w as toBlocksMediaAssets, x as PageRenderer, y as EditorPageRenderer } from "./overrides-DhF87Vsd.mjs";
|
|
4
|
+
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as admitLayoutGridForPlan, y as deriveFieldValidationPlan } from "./themeAdmission-CSknYpxk.mjs";
|
|
5
|
+
import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-FwcsT5H2.mjs";
|
|
6
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-ClFI3qpX.mjs";
|
|
7
|
+
import { t as loadPage } from "./loadPage-DBFBad8A.mjs";
|
|
8
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-dEEhQxL7.mjs";
|
|
9
9
|
import "./bindings-Dgt_0goJ.mjs";
|
|
10
10
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
11
11
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
1
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-FwcsT5H2.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
3
|
//#region src/data/defineOwnDataProperty.ts
|
|
4
4
|
/** Define a string key as ordinary data without invoking legacy prototype setters. */
|
package/dist/server/routing.mjs
CHANGED
|
@@ -69,7 +69,7 @@ async function checkRedirectForPath(params) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/routing/resolveRoute.ts
|
|
71
71
|
const defaultResolveRouteDeps = { loadPage: async (params) => {
|
|
72
|
-
const { loadPage } = await import("./loadPage-
|
|
72
|
+
const { loadPage } = await import("./loadPage-CnVB-aeL.mjs");
|
|
73
73
|
return loadPage(params);
|
|
74
74
|
} };
|
|
75
75
|
/**
|
|
@@ -5908,7 +5908,7 @@ const themeV2NormalEditorRawStyleFieldNames = [
|
|
|
5908
5908
|
"styleGroup"
|
|
5909
5909
|
];
|
|
5910
5910
|
new Set(themeV2NormalEditorRawStyleFieldNames);
|
|
5911
|
-
[...themeV2RuntimeStyleFieldNames, ...themeV2BlockSpecificRawStyleFieldNames];
|
|
5911
|
+
const themeV2CompilerOwnedFieldNames = [...themeV2RuntimeStyleFieldNames, ...themeV2BlockSpecificRawStyleFieldNames];
|
|
5912
5912
|
const pageDesignEditorBackgroundOverrideOwner = "page-design-editor";
|
|
5913
5913
|
const siteChromeBackgroundOverrideOwner = "site-chrome-editor";
|
|
5914
5914
|
const staleTransitionStyleGroupPrefix = "site-style-transition-";
|
|
@@ -7904,7 +7904,7 @@ function normalizeAppearance(appearance) {
|
|
|
7904
7904
|
}
|
|
7905
7905
|
//#endregion
|
|
7906
7906
|
//#region ../theme-core/src/buttons/styles/recipes/sewnLabel.ts
|
|
7907
|
-
const visual = {
|
|
7907
|
+
const visual$1 = {
|
|
7908
7908
|
text: "treatment",
|
|
7909
7909
|
borderRadius: "rounded-lg",
|
|
7910
7910
|
sizes: {
|
|
@@ -7944,8 +7944,8 @@ const stitch = {
|
|
|
7944
7944
|
inset: 6
|
|
7945
7945
|
}
|
|
7946
7946
|
};
|
|
7947
|
-
const filled = {
|
|
7948
|
-
...visual,
|
|
7947
|
+
const filled$1 = {
|
|
7948
|
+
...visual$1,
|
|
7949
7949
|
background: {
|
|
7950
7950
|
type: "solid",
|
|
7951
7951
|
colorToken: "primary"
|
|
@@ -7953,33 +7953,33 @@ const filled = {
|
|
|
7953
7953
|
border: "none",
|
|
7954
7954
|
effects: [stitch]
|
|
7955
7955
|
};
|
|
7956
|
-
const filledStates = {
|
|
7957
|
-
base: filled,
|
|
7956
|
+
const filledStates$1 = {
|
|
7957
|
+
base: filled$1,
|
|
7958
7958
|
hover: {
|
|
7959
|
-
...filled,
|
|
7959
|
+
...filled$1,
|
|
7960
7960
|
effects: [stitch, {
|
|
7961
7961
|
effectId: "darken-background",
|
|
7962
7962
|
options: { amount: 100 }
|
|
7963
7963
|
}]
|
|
7964
7964
|
},
|
|
7965
7965
|
focus: {
|
|
7966
|
-
...filled,
|
|
7966
|
+
...filled$1,
|
|
7967
7967
|
shadow: "focus-indicator"
|
|
7968
7968
|
},
|
|
7969
7969
|
active: {
|
|
7970
|
-
...filled,
|
|
7970
|
+
...filled$1,
|
|
7971
7971
|
effects: [stitch, {
|
|
7972
7972
|
effectId: "darken-background",
|
|
7973
7973
|
options: { amount: 100 }
|
|
7974
7974
|
}]
|
|
7975
7975
|
},
|
|
7976
7976
|
disabled: {
|
|
7977
|
-
...filled,
|
|
7977
|
+
...filled$1,
|
|
7978
7978
|
effects: []
|
|
7979
7979
|
}
|
|
7980
7980
|
};
|
|
7981
7981
|
const quiet = {
|
|
7982
|
-
...visual,
|
|
7982
|
+
...visual$1,
|
|
7983
7983
|
background: {
|
|
7984
7984
|
type: "surface",
|
|
7985
7985
|
role: "link"
|
|
@@ -7997,7 +7997,7 @@ const quietStates = {
|
|
|
7997
7997
|
active: quiet,
|
|
7998
7998
|
disabled: quiet
|
|
7999
7999
|
};
|
|
8000
|
-
const ghost = {
|
|
8000
|
+
const ghost$1 = {
|
|
8001
8001
|
...quiet,
|
|
8002
8002
|
border: "none"
|
|
8003
8003
|
};
|
|
@@ -8011,9 +8011,158 @@ const sewnLabelRecipe = defineStaticButtonStyleRecipe({
|
|
|
8011
8011
|
era: "organic"
|
|
8012
8012
|
},
|
|
8013
8013
|
system: { roles: {
|
|
8014
|
-
primary: { states: filledStates },
|
|
8014
|
+
primary: { states: filledStates$1 },
|
|
8015
8015
|
secondary: { states: quietStates },
|
|
8016
8016
|
outline: { states: quietStates },
|
|
8017
|
+
ghost: { states: {
|
|
8018
|
+
base: ghost$1,
|
|
8019
|
+
hover: ghost$1,
|
|
8020
|
+
focus: {
|
|
8021
|
+
...ghost$1,
|
|
8022
|
+
shadow: "focus-indicator"
|
|
8023
|
+
},
|
|
8024
|
+
active: ghost$1,
|
|
8025
|
+
disabled: ghost$1
|
|
8026
|
+
} },
|
|
8027
|
+
accent: { states: filledStates$1 }
|
|
8028
|
+
} }
|
|
8029
|
+
});
|
|
8030
|
+
//#endregion
|
|
8031
|
+
//#region ../theme-core/src/buttons/styles/recipes/edgedPill.ts
|
|
8032
|
+
const visual = {
|
|
8033
|
+
text: "treatment",
|
|
8034
|
+
borderRadius: "rounded-full",
|
|
8035
|
+
sizes: {
|
|
8036
|
+
sm: {
|
|
8037
|
+
padding: "0.625rem 1.125rem",
|
|
8038
|
+
fontSize: "text-sm"
|
|
8039
|
+
},
|
|
8040
|
+
md: { padding: "0.875rem 1.75rem" },
|
|
8041
|
+
lg: {
|
|
8042
|
+
padding: "1.125rem 2.25rem",
|
|
8043
|
+
fontSize: "text-lg"
|
|
8044
|
+
},
|
|
8045
|
+
xl: {
|
|
8046
|
+
padding: "1.25rem 2.5rem",
|
|
8047
|
+
fontSize: "text-xl"
|
|
8048
|
+
}
|
|
8049
|
+
},
|
|
8050
|
+
typography: {
|
|
8051
|
+
fontWeight: 700,
|
|
8052
|
+
typography: "body",
|
|
8053
|
+
fontSize: null,
|
|
8054
|
+
letterSpacing: null,
|
|
8055
|
+
italic: false,
|
|
8056
|
+
textTransform: "none"
|
|
8057
|
+
},
|
|
8058
|
+
shadow: {
|
|
8059
|
+
elevation: "none",
|
|
8060
|
+
softness: null,
|
|
8061
|
+
position: "bottom"
|
|
8062
|
+
}
|
|
8063
|
+
};
|
|
8064
|
+
/**
|
|
8065
|
+
* Poise (issue 1659): a filled pill with a thin edge drawn in its label ink, so
|
|
8066
|
+
* a light brand fill still reads against a light page. The edge is declared as
|
|
8067
|
+
* the boundary, so the contrast rule can pass the button on its edge.
|
|
8068
|
+
*/
|
|
8069
|
+
const filled = {
|
|
8070
|
+
...visual,
|
|
8071
|
+
background: {
|
|
8072
|
+
type: "solid",
|
|
8073
|
+
colorToken: "primary"
|
|
8074
|
+
},
|
|
8075
|
+
border: {
|
|
8076
|
+
widthClass: "border-2",
|
|
8077
|
+
marksBoundary: true
|
|
8078
|
+
},
|
|
8079
|
+
effects: []
|
|
8080
|
+
};
|
|
8081
|
+
const filledStates = {
|
|
8082
|
+
base: filled,
|
|
8083
|
+
hover: {
|
|
8084
|
+
...filled,
|
|
8085
|
+
effects: [{ effectId: "lift" }]
|
|
8086
|
+
},
|
|
8087
|
+
focus: {
|
|
8088
|
+
...filled,
|
|
8089
|
+
shadow: "focus-indicator"
|
|
8090
|
+
},
|
|
8091
|
+
active: {
|
|
8092
|
+
...filled,
|
|
8093
|
+
effects: [{
|
|
8094
|
+
effectId: "scale-down",
|
|
8095
|
+
options: { scale: "0.98" }
|
|
8096
|
+
}]
|
|
8097
|
+
},
|
|
8098
|
+
disabled: filled
|
|
8099
|
+
};
|
|
8100
|
+
const accent = {
|
|
8101
|
+
...filled,
|
|
8102
|
+
background: {
|
|
8103
|
+
type: "solid",
|
|
8104
|
+
colorToken: "accent"
|
|
8105
|
+
}
|
|
8106
|
+
};
|
|
8107
|
+
const accentStates = {
|
|
8108
|
+
base: accent,
|
|
8109
|
+
hover: {
|
|
8110
|
+
...accent,
|
|
8111
|
+
effects: [{ effectId: "lift" }]
|
|
8112
|
+
},
|
|
8113
|
+
focus: {
|
|
8114
|
+
...accent,
|
|
8115
|
+
shadow: "focus-indicator"
|
|
8116
|
+
},
|
|
8117
|
+
active: {
|
|
8118
|
+
...accent,
|
|
8119
|
+
effects: [{
|
|
8120
|
+
effectId: "scale-down",
|
|
8121
|
+
options: { scale: "0.98" }
|
|
8122
|
+
}]
|
|
8123
|
+
},
|
|
8124
|
+
disabled: accent
|
|
8125
|
+
};
|
|
8126
|
+
/** The quieter pill: an outline in the text colour, on whatever ground it sits. */
|
|
8127
|
+
const outlined = {
|
|
8128
|
+
...visual,
|
|
8129
|
+
background: {
|
|
8130
|
+
type: "surface",
|
|
8131
|
+
role: "link"
|
|
8132
|
+
},
|
|
8133
|
+
border: { widthClass: "border-2" },
|
|
8134
|
+
effects: []
|
|
8135
|
+
};
|
|
8136
|
+
const outlinedStates = {
|
|
8137
|
+
base: outlined,
|
|
8138
|
+
hover: {
|
|
8139
|
+
...outlined,
|
|
8140
|
+
effects: [{ effectId: "lift" }]
|
|
8141
|
+
},
|
|
8142
|
+
focus: {
|
|
8143
|
+
...outlined,
|
|
8144
|
+
shadow: "focus-indicator"
|
|
8145
|
+
},
|
|
8146
|
+
active: outlined,
|
|
8147
|
+
disabled: outlined
|
|
8148
|
+
};
|
|
8149
|
+
const ghost = {
|
|
8150
|
+
...outlined,
|
|
8151
|
+
border: "none"
|
|
8152
|
+
};
|
|
8153
|
+
const edgedPillRecipe = defineStaticButtonStyleRecipe({
|
|
8154
|
+
id: "edged-pill",
|
|
8155
|
+
accessibilityLabel: "Bold pill buttons with a thin edge",
|
|
8156
|
+
tags: {
|
|
8157
|
+
tone: "bold",
|
|
8158
|
+
energy: "vibrant",
|
|
8159
|
+
motion: "subtle",
|
|
8160
|
+
era: "modern"
|
|
8161
|
+
},
|
|
8162
|
+
system: { roles: {
|
|
8163
|
+
primary: { states: filledStates },
|
|
8164
|
+
secondary: { states: outlinedStates },
|
|
8165
|
+
outline: { states: outlinedStates },
|
|
8017
8166
|
ghost: { states: {
|
|
8018
8167
|
base: ghost,
|
|
8019
8168
|
hover: ghost,
|
|
@@ -8024,7 +8173,7 @@ const sewnLabelRecipe = defineStaticButtonStyleRecipe({
|
|
|
8024
8173
|
active: ghost,
|
|
8025
8174
|
disabled: ghost
|
|
8026
8175
|
} },
|
|
8027
|
-
accent: { states:
|
|
8176
|
+
accent: { states: accentStates }
|
|
8028
8177
|
} }
|
|
8029
8178
|
});
|
|
8030
8179
|
//#endregion
|
|
@@ -8504,7 +8653,8 @@ const BUTTON_STYLE_IDS = [
|
|
|
8504
8653
|
"gilt-slab",
|
|
8505
8654
|
"hairline-tab",
|
|
8506
8655
|
"marquee",
|
|
8507
|
-
"sewn-label"
|
|
8656
|
+
"sewn-label",
|
|
8657
|
+
"edged-pill"
|
|
8508
8658
|
];
|
|
8509
8659
|
const quietArrowParametersSchema = z.object({
|
|
8510
8660
|
secondaryTreatment: z.enum(["outlined", "solid-accent"]),
|
|
@@ -8554,7 +8704,8 @@ const buttonStyleSelectionSchema = z.discriminatedUnion("styleId", [
|
|
|
8554
8704
|
selectionBranch("gilt-slab", emptyParametersSchema),
|
|
8555
8705
|
selectionBranch("hairline-tab", emptyParametersSchema),
|
|
8556
8706
|
selectionBranch("marquee", emptyParametersSchema),
|
|
8557
|
-
selectionBranch("sewn-label", emptyParametersSchema)
|
|
8707
|
+
selectionBranch("sewn-label", emptyParametersSchema),
|
|
8708
|
+
selectionBranch("edged-pill", emptyParametersSchema)
|
|
8558
8709
|
]);
|
|
8559
8710
|
//#endregion
|
|
8560
8711
|
//#region ../theme-core/src/buttons/styles/recipes/squareOutlineRecipe.ts
|
|
@@ -12737,7 +12888,8 @@ const buttonStyleRecipes = [
|
|
|
12737
12888
|
giltSlabRecipe,
|
|
12738
12889
|
hairlineTabRecipe,
|
|
12739
12890
|
marqueeRecipe,
|
|
12740
|
-
sewnLabelRecipe
|
|
12891
|
+
sewnLabelRecipe,
|
|
12892
|
+
edgedPillRecipe
|
|
12741
12893
|
];
|
|
12742
12894
|
const recipesById = new Map(buttonStyleRecipes.map((recipe) => [recipe.id, recipe]));
|
|
12743
12895
|
function findButtonStyleRecipe(id) {
|
|
@@ -12748,6 +12900,7 @@ function findButtonStyleRecipe(id) {
|
|
|
12748
12900
|
function resolveButtonStyleSelection(selection) {
|
|
12749
12901
|
switch (selection.styleId) {
|
|
12750
12902
|
case "sewn-label": return resolveButtonStyleRecipe(sewnLabelRecipe, selection.parameters);
|
|
12903
|
+
case "edged-pill": return resolveButtonStyleRecipe(edgedPillRecipe, selection.parameters);
|
|
12751
12904
|
case "soft-pill": return resolveButtonStyleRecipe(softPillRecipe, selection.parameters);
|
|
12752
12905
|
case "earth-pill": return resolveButtonStyleRecipe(earthPillRecipe, selection.parameters);
|
|
12753
12906
|
case "confident-chip": return resolveButtonStyleRecipe(confidentChipRecipe, selection.parameters);
|
|
@@ -13898,6 +14051,14 @@ function skinTokenCssVars(tokens) {
|
|
|
13898
14051
|
return Object.fromEntries(Object.entries(tokens ?? {}).map(([name, value]) => [`--rb-skin-${name}`, value]));
|
|
13899
14052
|
}
|
|
13900
14053
|
const skinMarksSchema = z.enum(["primary"]);
|
|
14054
|
+
/** The booking bar's paint and shape as applied from an arrangement style (issue 1659); the plain bar when absent. */
|
|
14055
|
+
const skinBookingBarSchema = z.object({
|
|
14056
|
+
token: z.string().refine((value) => {
|
|
14057
|
+
const parts = parseColorTokenParts(value);
|
|
14058
|
+
return parts.kind === "token" && parts.opacityPercent === null && parts.token === value && isThemeColorToken(value);
|
|
14059
|
+
}, "Expected a plain Theme V2 colour token, without spaces or opacity"),
|
|
14060
|
+
shape: z.enum(["edge-to-edge", "field"])
|
|
14061
|
+
});
|
|
13901
14062
|
const themeLookMetadataSchema = z.object({
|
|
13902
14063
|
name: z.string().min(1).max(30),
|
|
13903
14064
|
description: z.string().min(1).max(400),
|
|
@@ -13907,16 +14068,24 @@ const themeLookMetadataSchema = z.object({
|
|
|
13907
14068
|
skinTokens: skinTokensSchema.optional(),
|
|
13908
14069
|
fontLoading: fontLoadingSchema.optional(),
|
|
13909
14070
|
/** Which palette colour an arrangement style derives its graphic marks from (D9); accent when absent. */
|
|
13910
|
-
skinMarks: skinMarksSchema.optional()
|
|
14071
|
+
skinMarks: skinMarksSchema.optional(),
|
|
14072
|
+
skinBookingBar: skinBookingBarSchema.optional()
|
|
13911
14073
|
});
|
|
13912
14074
|
//#endregion
|
|
14075
|
+
//#region ../theme-core/src/palette/colourSeeds.ts
|
|
14076
|
+
/** Owner colours in priority order, validated once at the input boundary. */
|
|
14077
|
+
const colourSeedsSchema = z.union([z.tuple([hexColorSchema]), z.tuple([hexColorSchema, hexColorSchema])]).refine((seeds) => seeds.length === 1 || seeds[0] !== seeds[1], { message: "Choose distinct colours" });
|
|
14078
|
+
//#endregion
|
|
13913
14079
|
//#region ../theme-core/src/palette/schema.ts
|
|
13914
14080
|
const colourHexString = z.string().regex(/^#([0-9A-Fa-f]{3}){1,2}$/);
|
|
13915
14081
|
const paletteColorSchema = z.object({
|
|
13916
14082
|
name: z.string().min(1),
|
|
13917
14083
|
hex: colourHexString
|
|
13918
14084
|
});
|
|
13919
|
-
const paletteMetaSchema = z.object({
|
|
14085
|
+
const paletteMetaSchema = z.object({
|
|
14086
|
+
mode: z.enum(["light", "dark"]),
|
|
14087
|
+
seeds: colourSeedsSchema.optional()
|
|
14088
|
+
});
|
|
13920
14089
|
const paletteSchema = z.object({
|
|
13921
14090
|
colors: z.array(paletteColorSchema),
|
|
13922
14091
|
meta: paletteMetaSchema
|
|
@@ -16139,4 +16308,4 @@ z.object({
|
|
|
16139
16308
|
themes: z.array(themeSchema).length(3)
|
|
16140
16309
|
});
|
|
16141
16310
|
//#endregion
|
|
16142
|
-
export { logoSizePolicyValues as $,
|
|
16311
|
+
export { logoSizePolicyValues as $, onColorTokenName as $n, headingDecorationColorTokenValues as $t, RESOLVED_BUTTON_DISABLED_DECLARATIONS as A, resolveSurface as An, textColorStyle as Ar, mediaIdentifierSchema as At, generateCardCoreCss as B, resolveTokenOrCssColorValue as Bn, asDesignPageId as Bt, ACCORDION_SPACING_MAP as C, err as Cn, surfaceInkDeclarations as Cr, mediaSchema as Ct, ICON_SIZE_PX as D, opaqueSurfaceDeclarations as Dn, cssVarValue as Dr, renderableMediaAssetSchema as Dt, ICON_CONFIG as E, opaqueSurfaceContextFromTheme as En, borderColorStyle as Er, buildRenderableMediaAssetIndex as Et, themeButtonExtraClassesWithTrailingIcon as F, compileButtonColourStates as Fn, parseColorTokenParts as Fr, asBlockContentVersionId as Ft, generateShadowValue as G, selectLogoVariant as Gn, assertNever as Gt, cardSurfacePaint as H, PUBLIC_BUTTON_ROLES as Hn, asLayoutVariantKey as Ht, themeButtonSizeClassName as I, formatButtonColourContractError as In, asBlockOrderIndex as It, cardVariantRoleValues as J, safeTokenOr as Jn, defineFrameCapability as Jt, cardRoleSchema as K, surfaceToneFromForegroundToken as Kn, defineBlockDesignCapability as Kt, themeButtonVariantClassNames as L, isCssColorLiteral as Ln, asBoundaryOptionId as Lt, resolvedButtonFocusDeclarations as M, surfaceDecorationColors as Mn, parseThemeColorToken as Mr, parseMediaIdentifier as Mt, generateDefaultButtonSystem as N, gradientScrimSamples as Nn, themeColorShadeSteps as Nr, arrangementModes as Nt, generateButtonActionLayoutCss as O, parseResolvedSurface as On, mergeStyles as Or, indexRenderableMediaAssets as Ot, parseThemeButtonVariantId as P, scrimTone as Pn, parseBlockColorToken as Pr, asAppearancePresetId as Pt, brandDisplayModeValues as Q, isOnColorBackgroundCandidateToken as Qn, flushPanelFrame as Qt, parseThemeForPersistence as R, resolveOnColorForThemeToken as Rn, asDesignBlockId as Rt, ACCORDION_OPEN_ACCENT_THICKNESS as S, unsafeAsStoragePath as Sn, surfaceForegroundValueWithOpacity as Sr, themeV2RuntimeStyleFieldNames as St, ACCORDION_TRIGGER_LETTER_SPACING as T, mapDrawingStyle as Tn, backgroundColorStyle as Tr, runtimeMediaSchema as Tt, generateCardCss as U, buttonVariantIdSchema as Un, asPageFlowPresetId as Ut, getDefaultCardVariants as V, generateShadowValue$1 as Vn, asDesignSystemTemplateId as Vt, renderCssDeclarations as W, unsafeAsOpaqueButtonColourToken as Wn, asSiteStyleId as Wt, headerInteractionPaletteValues as X, solveSurfaceInks as Xn, eyebrowTreatmentValues as Xt, normalizeCardRole as Y, surfaceInkPublication as Yn, eventListTreatmentValues as Yt, headerInteractionQuietPalette as Z, expandPalette as Zn, featureCardCompositionTreatmentValues as Zt, parseCustomCssRules as _, parseSiteId as _n, SURFACE_INK_CSS_VARS as _r, runtimeBoxBackgroundSchema as _t, generateMobileOverlayBackdropFilterFix as a, panelFrame as an, paletteColorsSchema as ar, NAV_LINK_BORDER_RADIUS_MAP as at, INPUT_SPACING_MAP as b, unsafeAsMediaAssetId as bn, surfaceForegroundStyle as br, stripStaleTransitionStyleGroup as bt, MQ_LG_UP as c, testimonialsCompositionTreatmentValues as cn, paletteValueKeySchema as cr, NAV_LINK_PADDING_X_MAP as ct, MQ_SM_UP as d, visibleHeadingDecorationFamilyValues as dn, buildThemeTokens as dr, navLinkOwnsHoverForeground as dt, introCompositionTreatmentValues as en, getTextColorForBackground as er, defaultButtonStyleSelectionFor as et, MQ_TABLET_ONLY as f, parseApiKeyId as fn, defaultThemeTokens as fr, navLinkOwnsUnderline as ft, parseBlockCustomCssRules as g, parseEventSeriesId as gn, SURFACE_FOREGROUND_CSS_VARS as gr, boxBackgroundSchema as gt, getComponentShadowVar as h, parseEventOfferingId as hn, DEFAULT_SURFACE_TEXT_COLOR as hr, boxBackgroundOverlaySchema as ht, generateHeaderScrollTreatmentStyles as i, offeringsPreviewCompositionTreatmentValues as in, hexColorSchema as ir, generateInteractiveChildInheritanceCSS as it, resolvedButtonColourDeclarations as j, serializeSurfaceTree as jn, textColorValue as jr, parseCanonicalMediaIdentifier as jt, generateButtonCss as k, parseSurfaceTree as kn, rgbColorValue as kr, resolveManagedMediaReference as kt, MQ_MD_DOWN as l, tileTreatmentValues as ln, requirePaletteColorsFromEntries as lr, NAV_LINK_TEXT_SIZE_MAP as lt, getComponentBorderWidthPx as m, parseEditorSessionGeneration as mn, hexToRgb as mr, resolveCardRole as mt, headerPositioningValues as n, makeBoundaryId as nn, resolveConcreteColorHex as nr, generateEffectsCSS as nt, getHeaderPaintTargets as o, plainFrame as on, paletteModeSchema as or, NAV_LINK_LETTER_SPACING_MAP as ot, headerVariantValues as p, parseContentVersionId as pn, featuresFromHex as pr, navEffectPolicy as pt, cardRoleValues as q, resolveSurfaceForeground as qn, defineExactCatalog as qt, themeSchema as r, noHeadingDecoration as rn, resolveOpaqueSurfaceHex as rr, generateBaseInteractiveCSS as rt, renderHeaderPaintTargetRules as s, requireNonEmptyReadonlyArray as sn, paletteValueKey as sr, NAV_LINK_PADDING_MAP as st, corners as t, isArrangementMode as tn, planForegroundHover as tr, buttonStyleSelectionSchema as tt, MQ_SM_DOWN as u, toNonEmptyReadonlyArray as un, TokenResolver as ur, navLinkHoverColorCandidate as ut, FONT_WEIGHT_MAP as v, parseSiteTermsVersionId as vn, surfaceForegroundDeclarations as vr, pageDesignEditorBackgroundOverrideOwner as vt, ACCORDION_TRIGGER_FONT_SCALE as w, ok as wn, surfaceInkStyle as wr, persistableMediaSchema as wt, LABEL_FONT_SIZE_MAP as x, unsafeAsStorageBucketName as xn, surfaceForegroundValue as xr, themeV2CompilerOwnedFieldNames as xt, INPUT_FONT_SIZE_MAP as y, parseUserId as yn, surfaceForegroundInputFromResolved as yr, siteChromeBackgroundOverrideOwner as yt, skinTokenCssVars as z, resolveThemeColorReferenceValue as zn, asDesignBoundaryId as zt };
|
package/dist/server/server.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as loadPage } from "./loadPage-
|
|
2
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
3
|
-
import { t as createRiverbankClient } from "./client-
|
|
1
|
+
import { t as loadPage } from "./loadPage-DBFBad8A.mjs";
|
|
2
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-dEEhQxL7.mjs";
|
|
3
|
+
import { t as createRiverbankClient } from "./client-DfMDbZ41.mjs";
|
|
4
4
|
export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as logoSizePolicyValues, Ft as
|
|
2
|
-
import {
|
|
1
|
+
import { $ as logoSizePolicyValues, Bt as asDesignPageId, Ft as asBlockContentVersionId, Gt as assertNever, Ht as asLayoutVariantKey, It as asBlockOrderIndex, K as cardRoleSchema, Kn as surfaceToneFromForegroundToken, Mr as parseThemeColorToken, Nn as gradientScrimSamples, Nr as themeColorShadeSteps, Pn as scrimTone, Q as brandDisplayModeValues, Rt as asDesignBlockId, Ut as asPageFlowPresetId, Wt as asSiteStyleId, X as headerInteractionPaletteValues, _t as runtimeBoxBackgroundSchema, mn as parseEditorSessionGeneration, n as headerPositioningValues, nr as resolveConcreteColorHex, on as plainFrame, qn as resolveSurfaceForeground } from "./schema-uSA_x1Zh.mjs";
|
|
2
|
+
import { A as generatedDesignOptionCatalog, C as curatedSiteStyleIdValues, F as bookingPageLookIdValues, G as softBoundaryOption, I as parseBookingPageLookId, K as spaciousBoundaryOption, L as pageDesignDecisionsV2Schema, U as boundaryRuntimeMetricsForDecorativeTransition, V as sectionShapeFromContent, W as noneBoundaryOption, c as headerNavFontSizePreferenceValues, f as arrangementAppearancePresets, l as headerNavTypographyPreferenceValues, s as defaultHeaderNavPreferences, w as offeredSiteStyles } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../theme-core/src/site-styles/blockFlow.ts
|
|
5
5
|
function defineBlockDesignMetadata(input) {
|
|
@@ -63,7 +63,7 @@ function uniqueStrings(values) {
|
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
|
|
65
65
|
function parseCanonicalRuntimeBackground(content) {
|
|
66
|
-
const background = readRecord(readRecord(content._sectionStyles)?.background);
|
|
66
|
+
const background = readRecord$1(readRecord$1(content._sectionStyles)?.background);
|
|
67
67
|
if (!background) return { kind: "none" };
|
|
68
68
|
const parsed = runtimeBoxBackgroundSchema.safeParse(background);
|
|
69
69
|
if (!parsed.success) return { kind: "none" };
|
|
@@ -142,16 +142,6 @@ function sectionForegroundBackground(resolved, palette) {
|
|
|
142
142
|
"supporting"
|
|
143
143
|
].every((role) => original.roles[role] === measured.roles[role]) ? resolved.background : resolved.ground;
|
|
144
144
|
}
|
|
145
|
-
/** One photo-placement decision for legacy and arrangement hero renderers. */
|
|
146
|
-
function heroPhotoPaintsGround(variant) {
|
|
147
|
-
return ![
|
|
148
|
-
"split",
|
|
149
|
-
"splitReverse",
|
|
150
|
-
"headline-row",
|
|
151
|
-
"copy-over-gallery",
|
|
152
|
-
"page-head"
|
|
153
|
-
].includes(variant ?? "classic");
|
|
154
|
-
}
|
|
155
145
|
function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
156
146
|
const paintsBand = lookDefault.type === "color" || lookDefault.type === "gradient";
|
|
157
147
|
const lookScrim = paintsBand ? lookDefault.mediaScrim : void 0;
|
|
@@ -167,7 +157,7 @@ function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
|
167
157
|
});
|
|
168
158
|
return merged.success ? merged.data : authored;
|
|
169
159
|
}
|
|
170
|
-
function readRecord(value) {
|
|
160
|
+
function readRecord$1(value) {
|
|
171
161
|
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
172
162
|
}
|
|
173
163
|
function heroPhotoIsContent(source, photo, hasArrangementGround) {
|
|
@@ -282,14 +272,15 @@ function boundaryEndpointForSectionContent(content) {
|
|
|
282
272
|
}
|
|
283
273
|
}
|
|
284
274
|
/**
|
|
285
|
-
* Reads
|
|
275
|
+
* Reads every fact from final render content in one place. `_frameStyles` is
|
|
286
276
|
* the compiled frame; content without one (no page design, an SDK block)
|
|
287
277
|
* draws a plain frame.
|
|
288
278
|
*/
|
|
289
279
|
function sectionFactsForContent(content) {
|
|
290
280
|
return {
|
|
291
281
|
endpoint: boundaryEndpointForSectionContent(content),
|
|
292
|
-
frame: frameKindForContent(content)
|
|
282
|
+
frame: frameKindForContent(content),
|
|
283
|
+
shape: sectionShapeFromContent(content)
|
|
293
284
|
};
|
|
294
285
|
}
|
|
295
286
|
function frameKindForContent(content) {
|
|
@@ -306,11 +297,18 @@ function frameNotShownReason(previous, next) {
|
|
|
306
297
|
return previous === "flush-panel" || next === "flush-panel" ? "flush-panel" : null;
|
|
307
298
|
}
|
|
308
299
|
/**
|
|
309
|
-
*
|
|
310
|
-
*
|
|
300
|
+
* A field sits in from the page edge with page ground around it, so a break
|
|
301
|
+
* drawn across its edge would have nothing to join (issue 1659).
|
|
302
|
+
*/
|
|
303
|
+
function shapeNotShownReason(previous, next) {
|
|
304
|
+
return previous === "field" || next === "field" ? "field" : null;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Decides whether and how a join draws. The frame and shape rules win before
|
|
308
|
+
* paint is considered; two unpainted sides show nothing.
|
|
311
309
|
*/
|
|
312
310
|
function composeBoundary(previous, next) {
|
|
313
|
-
const frameReason = frameNotShownReason(previous.frame, next.frame);
|
|
311
|
+
const frameReason = frameNotShownReason(previous.frame, next.frame) ?? shapeNotShownReason(previous.shape, next.shape);
|
|
314
312
|
if (frameReason) return {
|
|
315
313
|
kind: "not-shown",
|
|
316
314
|
reason: frameReason
|
|
@@ -430,6 +428,15 @@ const defaultHeaderBrandPreferences = {
|
|
|
430
428
|
};
|
|
431
429
|
asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
|
|
432
430
|
//#endregion
|
|
431
|
+
//#region ../theme-core/src/site-styles/sectionPhoto.ts
|
|
432
|
+
/** The photo a section keeps, wherever its background `type` points. */
|
|
433
|
+
function storedSectionPhoto(content) {
|
|
434
|
+
return readRecord(readRecord(readRecord(content._sectionStyles)?.background)?.image);
|
|
435
|
+
}
|
|
436
|
+
function readRecord(value) {
|
|
437
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
433
440
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
434
441
|
const blockDesignFallback = {
|
|
435
442
|
sectionSurface: "base",
|
|
@@ -666,6 +673,24 @@ function collectBlockSequenceIssues(snapshots) {
|
|
|
666
673
|
});
|
|
667
674
|
}
|
|
668
675
|
//#endregion
|
|
676
|
+
//#region ../theme-core/src/site-styles/sectionPhotoGround.ts
|
|
677
|
+
/**
|
|
678
|
+
* How the Looks built on an arrangement use the photo. Looks that share an
|
|
679
|
+
* arrangement render the same tree, so they agree (a catalogue test holds
|
|
680
|
+
* them to it). Null for keys no arrangement Look uses.
|
|
681
|
+
*/
|
|
682
|
+
function arrangementPhotoUse(blockKind, arrangementKey) {
|
|
683
|
+
return arrangementAppearancePresets.find((entry) => entry.blockKinds.some((kind) => kind === blockKind) && Object.values(entry.structure.byMode).includes(arrangementKey))?.structure.photoUse ?? null;
|
|
684
|
+
}
|
|
685
|
+
/** Older hero layouts no arrangement Look is built on, which show the photo beside the text. */
|
|
686
|
+
const recipeOnlyHeroLayoutsWithPhotoBeside = ["splitReverse"];
|
|
687
|
+
/** One photo-placement decision for the hero's renderers: does the photo paint the section ground? */
|
|
688
|
+
function heroPhotoPaintsGround(variant) {
|
|
689
|
+
const key = variant ?? "classic";
|
|
690
|
+
const use = arrangementPhotoUse("block.hero", key);
|
|
691
|
+
return use === null ? !recipeOnlyHeroLayoutsWithPhotoBeside.includes(key) : use === "behind";
|
|
692
|
+
}
|
|
693
|
+
//#endregion
|
|
669
694
|
//#region ../theme-core/src/site-styles/tokenRecipes.ts
|
|
670
695
|
const themeTokenRecipeOptions = {
|
|
671
696
|
palette: [
|
|
@@ -742,16 +767,6 @@ z.union([z.nullish(z.never()).transform(() => ({ kind: "automatic" })), pageDesi
|
|
|
742
767
|
const value = issue.input;
|
|
743
768
|
return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 2 ? "Unsupported page design decisions schemaVersion." : "Invalid page design decisions shape.";
|
|
744
769
|
} });
|
|
745
|
-
bookingPageLookIdValues.map((value) => {
|
|
746
|
-
const id = parseBookingPageLookId(value);
|
|
747
|
-
if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
|
|
748
|
-
const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
|
|
749
|
-
if (!style) throw new Error(`Booking look is not offered: ${value}`);
|
|
750
|
-
return {
|
|
751
|
-
...style,
|
|
752
|
-
id
|
|
753
|
-
};
|
|
754
|
-
});
|
|
755
770
|
[...[
|
|
756
771
|
165,
|
|
757
772
|
150,
|
|
@@ -764,5 +779,15 @@ bookingPageLookIdValues.map((value) => {
|
|
|
764
779
|
45,
|
|
765
780
|
30
|
|
766
781
|
].flatMap((o) => [o, -o])];
|
|
782
|
+
bookingPageLookIdValues.map((value) => {
|
|
783
|
+
const id = parseBookingPageLookId(value);
|
|
784
|
+
if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
|
|
785
|
+
const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
|
|
786
|
+
if (!style) throw new Error(`Booking look is not offered: ${value}`);
|
|
787
|
+
return {
|
|
788
|
+
...style,
|
|
789
|
+
id
|
|
790
|
+
};
|
|
791
|
+
});
|
|
767
792
|
//#endregion
|
|
768
|
-
export {
|
|
793
|
+
export { sectionFactsForContent as a, parseCanonicalRuntimeBackground as c, defineBlockDesignMetadata as d, composeBoundary as i, resolveSectionBackground as l, storedSectionPhoto as n, applyLookPhotoTreatment as o, boundaryLayout as r, deriveSectionGround as s, heroPhotoPaintsGround as t, sectionForegroundBackground as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Cr as surfaceInkDeclarations, Gt as assertNever, W as renderCssDeclarations, Yn as surfaceInkPublication, Zn as expandPalette, a as generateMobileOverlayBackdropFilterFix, h as getComponentShadowVar, i as generateHeaderScrollTreatmentStyles, kr as rgbColorValue, l as MQ_MD_DOWN, m as getComponentBorderWidthPx, o as getHeaderPaintTargets, qn as resolveSurfaceForeground, s as renderHeaderPaintTargetRules, ur as TokenResolver, vr as surfaceForegroundDeclarations, xr as surfaceForegroundValue, yr as surfaceForegroundInputFromResolved, yt as siteChromeBackgroundOverrideOwner } from "./schema-uSA_x1Zh.mjs";
|
|
2
|
+
import { N as buildTextContrastShadow, P as generateNavLinkCSS, R as headerNeedsPhotoShade, d as readHeaderNavFontSizePreference, o as readOpeningToneProjection, t as effectiveHeaderNavLinkStyle, u as mergeHeaderNavTypographyPreference, z as headerRootPaint } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
|
|
3
3
|
//#region ../theme-core/src/responsive/mediaQuery.ts
|
|
4
4
|
/**
|
|
5
5
|
* Convert familiar viewport media queries to container queries when safe.
|