@riverbankcms/sdk 0.162.0 → 0.163.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/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +3 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-Chh3bnXC.d.ts} +1 -1
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-GJ1kGBsi.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-CaL0nKkl.d.ts} +81 -26
- package/dist/_dts/{index-DEu85xBt.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-CyQhZuhM.d.ts} +49 -3
- package/dist/_dts/{index-C39F9KaB.d.ts → index-D2y4Iy-d.d.ts} +1 -1
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DRxgeK8L.d.ts} +4 -3
- package/dist/_dts/{index-Du1IRglc.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DiLZoInK.d.ts} +7 -7
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-CWUnipv8.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 +13 -7
- 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/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CfNG5koF.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-ffa6920T.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-BfnOmxYD.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-wlyxASdT.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-B9oKSitp.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-BEF9HrAy.mjs} +584 -251
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-Bll4QwBi.mjs} +12 -12
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BFwxgZpB.mjs → context-Bg0SFWcM.mjs} +1 -1
- package/dist/client/{cta-DtA42Xio.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-CV45BH5M.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-SFtS9OkF.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-DIkX2S-X.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-4XFGzJpT.mjs} +3 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-VD4arFq1.mjs} +3 -3
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-qYbsatxH.mjs} +19 -19
- package/dist/client/rendering/client.mjs +26 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +19 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-BFwQDvJL.mjs} +846 -497
- package/dist/client/{shop-CF0dhnfH.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-Cf_kASpd.mjs} +44 -26
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-dy54AUdz.mjs} +747 -32
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-Bi8ruFgB.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-DiLbDqM3.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-BpBjo9Te.mjs → view-OvsxzgxP.mjs} +7 -7
- package/dist/client/{view-DMyTchi7.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-kbONzKUv.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +10 -8
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +139 -1264
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-nUnE3iMv.mjs} +403 -66
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-DHtSQIBE.mjs} +12933 -11769
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-Chq5KKKh.mjs} +3782 -2453
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-CxCstfkP.mjs} +9 -0
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-C2Q56xqV.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs} +713 -12
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-D7ItMsEl.mjs} +4 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-W1Cc6srh.mjs} +177 -80
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Cn9k3DW6.mjs} +10 -6
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-BVcJ6TG7.mjs} +11 -2
- package/dist/server/{registry-Digv02oV.mjs → registry-4ZF3bUuJ.mjs} +97 -42
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-DgrigZq9.mjs} +4118 -3769
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-CxE9F3hj.mjs} +36 -22
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-08GY1njw.mjs → src-C44_fMy5.mjs} +291 -106
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-CVc04B9m.mjs} +2 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +162 -72
- package/package.json +1 -1
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as generateInteractiveChildInheritanceCSS, $n as requirePaletteColorsFromEntries, Bt as makeBoundaryId, Ct as asDesignBoundaryId, Dt as asPageFlowPresetId, Et as asLayoutVariantKey, Fn as planForegroundHover, G as headerInteractionPaletteValues, Gt as requireNonEmptyReadonlyArray, H as cardRoleValues, Hn as scrimTone, In as TokenResolver, It as flushPanelFrame, J as logoSizePolicyValues, Jn as hexColorSchema, K as headerInteractionQuietPalette, Kn as featuresFromHex, On as surfaceToneFromForegroundToken, Ot as asSiteStyleId, Q as generateBaseInteractiveCSS, Qn as paletteValueKeySchema, Qt as resolveSurface, St as asDesignBlockId, Tt as asDesignSystemTemplateId, Ut as panelFrame, V as cardRoleSchema, Vn as gradientScrimSamples, Vt as noHeadingDecoration, Wn as resolveConcreteColorHex, Wt as plainFrame, X as buttonStyleSelectionSchema, Xn as paletteModeSchema, Y as defaultButtonStyleSelectionFor, Yn as paletteColorsSchema, Z as generateEffectsCSS, Zn as paletteValueKey, _r as parseEditorSessionGeneration, _t as arrangementModes, an as surfaceForegroundInputFromResolved, at as navLinkHoverColorCandidate, bt as asBlockOrderIndex, ct as navEffectPolicy, er as unsafeAsOpaqueButtonColourToken, et as NAV_LINK_BORDER_RADIUS_MAP, ft as runtimeBoxBackgroundSchema, gt as themeV2RuntimeStyleFieldNames, hn as rgbColorValue, it as NAV_LINK_TEXT_SIZE_MAP, jt as defineExactCatalog, kn as resolveSurfaceForeground, kt as assertNever, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nr as themeColorShadeSteps, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, rt as NAV_LINK_PADDING_X_MAP, sn as surfaceForegroundValue, st as navLinkOwnsUnderline, tr as parseThemeColorToken, tt as NAV_LINK_LETTER_SPACING_MAP, vt as asAppearancePresetId, wt as asDesignPageId, xt as asBoundaryOptionId, yt as asBlockContentVersionId, zn as expandPalette, zt as isArrangementMode } from "./schema-BFwQDvJL.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../theme-core/src/site-styles/appearancePresetTypes.ts
|
|
5
5
|
/** Block supply is capability, never a second Look catalogue. */
|
|
@@ -1185,6 +1185,14 @@ const appearancePresets = [
|
|
|
1185
1185
|
slotRoles: { copy: "card" },
|
|
1186
1186
|
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1187
1187
|
}),
|
|
1188
|
+
defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
|
|
1189
|
+
photoTreatment: "text-overlay",
|
|
1190
|
+
whenMissing: [{
|
|
1191
|
+
fact: "photo",
|
|
1192
|
+
look: id$1("hero-page-head")
|
|
1193
|
+
}],
|
|
1194
|
+
styleFallback: [id$1("hero-photo-behind-text")]
|
|
1195
|
+
}),
|
|
1188
1196
|
defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
|
|
1189
1197
|
slotRoles: { copy: "card" },
|
|
1190
1198
|
styleFallback: [id$1("hero-page-head")]
|
|
@@ -1576,12 +1584,30 @@ function parseCanonicalRuntimeBackground(content) {
|
|
|
1576
1584
|
if (!background) return { kind: "none" };
|
|
1577
1585
|
const parsed = runtimeBoxBackgroundSchema.safeParse(background);
|
|
1578
1586
|
if (!parsed.success) return { kind: "none" };
|
|
1579
|
-
|
|
1587
|
+
const painted = applyLookPhotoTreatment(content, parsed.data);
|
|
1588
|
+
return painted.contentOwner === "page-design-editor" ? {
|
|
1580
1589
|
kind: "page-design-override",
|
|
1581
|
-
background:
|
|
1590
|
+
background: painted
|
|
1582
1591
|
} : {
|
|
1583
1592
|
kind: "block-authored",
|
|
1584
|
-
background:
|
|
1593
|
+
background: painted
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
/** The Look owns shading and ink together; authored image/crop stay intact. */
|
|
1597
|
+
function applyLookPhotoTreatment(content, background) {
|
|
1598
|
+
const structure = readRecord(readRecord(readRecord(content._effectiveLook)?.look)?.structure);
|
|
1599
|
+
if (background.type !== "image" || structure?.photoTreatment !== "text-overlay") return background;
|
|
1600
|
+
return {
|
|
1601
|
+
...background,
|
|
1602
|
+
overlay: {
|
|
1603
|
+
type: "gradient",
|
|
1604
|
+
opacity: 1,
|
|
1605
|
+
gradient: "var(--rb-opening-photo-shade, linear-gradient(transparent, transparent)), linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.76) 25%, rgba(0,0,0,0.4) 46%, transparent 72%)"
|
|
1606
|
+
},
|
|
1607
|
+
textColor: "neutral-50",
|
|
1608
|
+
headingColor: "neutral-50",
|
|
1609
|
+
linkColor: "neutral-50",
|
|
1610
|
+
supportingColor: "neutral-50"
|
|
1585
1611
|
};
|
|
1586
1612
|
}
|
|
1587
1613
|
function resolveSectionBackground(source, lookDefault, rhythm, arrangementHeroPhoto) {
|
|
@@ -1627,7 +1653,7 @@ function sectionForegroundBackground(resolved, palette) {
|
|
|
1627
1653
|
if (resolved.kind !== "content-media") return resolved.background;
|
|
1628
1654
|
const original = resolveSurfaceForeground(resolved.background, palette);
|
|
1629
1655
|
const measured = resolveSurfaceForeground(resolved.ground, palette);
|
|
1630
|
-
if (original.kind
|
|
1656
|
+
if (original.kind !== "known" || measured.kind !== "known") return resolved.background;
|
|
1631
1657
|
return [
|
|
1632
1658
|
"text",
|
|
1633
1659
|
"heading",
|
|
@@ -2241,6 +2267,10 @@ function requireThemeColorToken$1(value) {
|
|
|
2241
2267
|
}
|
|
2242
2268
|
//#endregion
|
|
2243
2269
|
//#region ../theme-core/src/header/rootPaint.ts
|
|
2270
|
+
/** Detached branding needs protection even when the navigation has its own rail. */
|
|
2271
|
+
function headerNeedsPhotoShade(header) {
|
|
2272
|
+
return header.variant === "floating" && header.background?.type === "color" && header.background.color === "transparent" && (!header.container || (header.container.opacity ?? 1) < 1);
|
|
2273
|
+
}
|
|
2244
2274
|
/** The nav container takes precedence when a floating header also has one. */
|
|
2245
2275
|
function headerRootPaint(header) {
|
|
2246
2276
|
const navContainerType = header?.navContainer?.type ?? "none";
|
|
@@ -2403,6 +2433,681 @@ function validateUniquePageDesignPins(intent, ctx) {
|
|
|
2403
2433
|
});
|
|
2404
2434
|
}
|
|
2405
2435
|
//#endregion
|
|
2436
|
+
//#region ../theme-core/src/site-styles/headerDropdownRecipe.ts
|
|
2437
|
+
const neutralHeaderDropdown = {
|
|
2438
|
+
surface: {
|
|
2439
|
+
kind: "solid",
|
|
2440
|
+
background: "surface"
|
|
2441
|
+
},
|
|
2442
|
+
textColor: "text",
|
|
2443
|
+
borderColor: "border",
|
|
2444
|
+
shadow: "md",
|
|
2445
|
+
borderRadius: "md",
|
|
2446
|
+
textTransform: "none",
|
|
2447
|
+
letterSpacing: "normal"
|
|
2448
|
+
};
|
|
2449
|
+
({ ...neutralHeaderDropdown });
|
|
2450
|
+
//#endregion
|
|
2451
|
+
//#region ../theme-core/src/site-styles/bookingPageLookIds.ts
|
|
2452
|
+
/** Deterministic fallback order; Fulcrum is the default. */
|
|
2453
|
+
const bookingPageLookIdValues = [
|
|
2454
|
+
"site-style:fulcrum",
|
|
2455
|
+
"site-style:folio",
|
|
2456
|
+
"site-style:measure",
|
|
2457
|
+
"site-style:grounded-practice",
|
|
2458
|
+
"site-style:lantern",
|
|
2459
|
+
"site-style:poster"
|
|
2460
|
+
];
|
|
2461
|
+
/** Boundary admission for draft and suggestion inputs. */
|
|
2462
|
+
function parseBookingPageLookId(value) {
|
|
2463
|
+
const id = bookingPageLookIdValues.find((candidate) => candidate === value);
|
|
2464
|
+
return id ? asSiteStyleId(id) : null;
|
|
2465
|
+
}
|
|
2466
|
+
//#endregion
|
|
2467
|
+
//#region ../theme-core/src/site-styles/ownColours/bookingLookColourSpecs.ts
|
|
2468
|
+
const bookingLookGroundLimits = {
|
|
2469
|
+
"site-style:poster": {
|
|
2470
|
+
lightness: [.9, 1],
|
|
2471
|
+
maxChroma: .04
|
|
2472
|
+
},
|
|
2473
|
+
"site-style:fulcrum": {
|
|
2474
|
+
lightness: [.9, 1],
|
|
2475
|
+
maxChroma: .03
|
|
2476
|
+
},
|
|
2477
|
+
"site-style:folio": {
|
|
2478
|
+
lightness: [.88, 1],
|
|
2479
|
+
maxChroma: .05
|
|
2480
|
+
},
|
|
2481
|
+
"site-style:measure": {
|
|
2482
|
+
lightness: [.9, 1],
|
|
2483
|
+
maxChroma: .02
|
|
2484
|
+
},
|
|
2485
|
+
"site-style:grounded-practice": {
|
|
2486
|
+
lightness: [.85, 1],
|
|
2487
|
+
maxChroma: .06
|
|
2488
|
+
},
|
|
2489
|
+
"site-style:lantern": {
|
|
2490
|
+
lightness: [.12, .34],
|
|
2491
|
+
maxChroma: .07
|
|
2492
|
+
}
|
|
2493
|
+
};
|
|
2494
|
+
const contrast = (against, ratio = 3) => ({
|
|
2495
|
+
kind: "contrast",
|
|
2496
|
+
against,
|
|
2497
|
+
ratio
|
|
2498
|
+
});
|
|
2499
|
+
const distinct = (from, deltaE) => ({
|
|
2500
|
+
kind: "distinct",
|
|
2501
|
+
from,
|
|
2502
|
+
deltaE
|
|
2503
|
+
});
|
|
2504
|
+
const label = { kind: "label" };
|
|
2505
|
+
/** The quiet light grounds the five light looks share: faint tints of the leading colour, inside the look's limit. */
|
|
2506
|
+
function lightGrounds(limits, tint) {
|
|
2507
|
+
const page = Math.min(tint.page, limits.maxChroma);
|
|
2508
|
+
const band = Math.min(tint.band, limits.maxChroma);
|
|
2509
|
+
return {
|
|
2510
|
+
background: {
|
|
2511
|
+
l: [.955, .985],
|
|
2512
|
+
c: [0, page],
|
|
2513
|
+
chromaShare: .12,
|
|
2514
|
+
target: .972,
|
|
2515
|
+
name: "the page"
|
|
2516
|
+
},
|
|
2517
|
+
surface: {
|
|
2518
|
+
l: [.99, 1],
|
|
2519
|
+
c: [0, Math.min(page, .004)],
|
|
2520
|
+
chromaShare: .04,
|
|
2521
|
+
target: .997,
|
|
2522
|
+
name: "the cards"
|
|
2523
|
+
},
|
|
2524
|
+
surfaceAlt: {
|
|
2525
|
+
l: [.93, .965],
|
|
2526
|
+
c: [0, band],
|
|
2527
|
+
chromaShare: .25,
|
|
2528
|
+
target: .948,
|
|
2529
|
+
name: "the quieter panels",
|
|
2530
|
+
needs: [distinct("background", .015)]
|
|
2531
|
+
},
|
|
2532
|
+
muted: {
|
|
2533
|
+
l: tint.bandL,
|
|
2534
|
+
c: [0, band],
|
|
2535
|
+
chromaShare: .3,
|
|
2536
|
+
target: (tint.bandL[0] + tint.bandL[1]) / 2,
|
|
2537
|
+
name: "the band",
|
|
2538
|
+
needs: [distinct("background", .03)]
|
|
2539
|
+
},
|
|
2540
|
+
border: {
|
|
2541
|
+
l: [.8, .88],
|
|
2542
|
+
c: [0, band],
|
|
2543
|
+
chromaShare: .25,
|
|
2544
|
+
target: .85,
|
|
2545
|
+
name: "the rules"
|
|
2546
|
+
}
|
|
2547
|
+
};
|
|
2548
|
+
}
|
|
2549
|
+
const groundOrder = [
|
|
2550
|
+
"background",
|
|
2551
|
+
"surface",
|
|
2552
|
+
"muted",
|
|
2553
|
+
"surfaceAlt",
|
|
2554
|
+
"border"
|
|
2555
|
+
];
|
|
2556
|
+
const lightReading = [
|
|
2557
|
+
"background",
|
|
2558
|
+
"surface",
|
|
2559
|
+
"surfaceAlt",
|
|
2560
|
+
"muted"
|
|
2561
|
+
];
|
|
2562
|
+
/** Fulcrum: a quiet stone page, white sheets, a strong mid-tone on the buttons, a deep plate behind the opening panel. */
|
|
2563
|
+
const fulcrum = {
|
|
2564
|
+
roles: {
|
|
2565
|
+
...lightGrounds(bookingLookGroundLimits["site-style:fulcrum"], {
|
|
2566
|
+
page: .008,
|
|
2567
|
+
band: .022,
|
|
2568
|
+
bandL: [.9, .94]
|
|
2569
|
+
}),
|
|
2570
|
+
primary: {
|
|
2571
|
+
l: [.3, .6],
|
|
2572
|
+
c: [.04, .16],
|
|
2573
|
+
target: .45,
|
|
2574
|
+
name: "the buttons",
|
|
2575
|
+
mention: true,
|
|
2576
|
+
needs: [
|
|
2577
|
+
contrast("background"),
|
|
2578
|
+
contrast("surface"),
|
|
2579
|
+
contrast("muted"),
|
|
2580
|
+
label
|
|
2581
|
+
]
|
|
2582
|
+
},
|
|
2583
|
+
secondary: {
|
|
2584
|
+
l: [.18, .36],
|
|
2585
|
+
c: [.02, .11],
|
|
2586
|
+
target: .28,
|
|
2587
|
+
name: "the plate",
|
|
2588
|
+
mention: true,
|
|
2589
|
+
needs: [contrast("surface"), distinct("primary", .08)]
|
|
2590
|
+
},
|
|
2591
|
+
accent: {
|
|
2592
|
+
l: [.38, .72],
|
|
2593
|
+
c: [.06, .17],
|
|
2594
|
+
target: .62,
|
|
2595
|
+
name: "the small marks",
|
|
2596
|
+
analogous: true,
|
|
2597
|
+
needs: [
|
|
2598
|
+
contrast("background"),
|
|
2599
|
+
contrast("surface"),
|
|
2600
|
+
contrast("muted"),
|
|
2601
|
+
distinct("primary", .1)
|
|
2602
|
+
]
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
slots: [
|
|
2606
|
+
{
|
|
2607
|
+
roles: ["muted"],
|
|
2608
|
+
name: "the band"
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
roles: ["secondary"],
|
|
2612
|
+
name: "the plate"
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
roles: ["primary"],
|
|
2616
|
+
name: "the buttons"
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
roles: ["accent"],
|
|
2620
|
+
name: "the small marks"
|
|
2621
|
+
}
|
|
2622
|
+
],
|
|
2623
|
+
order: [
|
|
2624
|
+
...groundOrder,
|
|
2625
|
+
"primary",
|
|
2626
|
+
"secondary",
|
|
2627
|
+
"accent"
|
|
2628
|
+
],
|
|
2629
|
+
neutrals: {
|
|
2630
|
+
dark: [.24, .02],
|
|
2631
|
+
light: [.995, .005]
|
|
2632
|
+
},
|
|
2633
|
+
reading: lightReading,
|
|
2634
|
+
groundLimit: bookingLookGroundLimits["site-style:fulcrum"].maxChroma,
|
|
2635
|
+
contrast: [{
|
|
2636
|
+
label: "a muted complement on the plate",
|
|
2637
|
+
hue: "complement",
|
|
2638
|
+
second: "secondary",
|
|
2639
|
+
lead: "primary",
|
|
2640
|
+
l: .3,
|
|
2641
|
+
c: [.04, .07]
|
|
2642
|
+
}, {
|
|
2643
|
+
label: "a warm colour on the buttons",
|
|
2644
|
+
hue: "split-warm",
|
|
2645
|
+
second: "primary",
|
|
2646
|
+
lead: "secondary",
|
|
2647
|
+
l: .45,
|
|
2648
|
+
c: [.08, .13]
|
|
2649
|
+
}]
|
|
2650
|
+
};
|
|
2651
|
+
/** Folio: warm paper, sheets and a band; buttons and links share the primary (hovering to its 800 shade); small rules and marks. */
|
|
2652
|
+
const folio = {
|
|
2653
|
+
roles: {
|
|
2654
|
+
...lightGrounds(bookingLookGroundLimits["site-style:folio"], {
|
|
2655
|
+
page: .012,
|
|
2656
|
+
band: .03,
|
|
2657
|
+
bandL: [.9, .94]
|
|
2658
|
+
}),
|
|
2659
|
+
primary: {
|
|
2660
|
+
l: [.3, .55],
|
|
2661
|
+
c: [.03, .14],
|
|
2662
|
+
target: .42,
|
|
2663
|
+
name: "the buttons and links",
|
|
2664
|
+
mention: true,
|
|
2665
|
+
link: true,
|
|
2666
|
+
needs: [
|
|
2667
|
+
contrast("background"),
|
|
2668
|
+
contrast("surface"),
|
|
2669
|
+
contrast("muted"),
|
|
2670
|
+
label
|
|
2671
|
+
]
|
|
2672
|
+
},
|
|
2673
|
+
secondary: {
|
|
2674
|
+
l: [.45, .62],
|
|
2675
|
+
c: [.01, .04],
|
|
2676
|
+
target: .54,
|
|
2677
|
+
name: "the quiet details"
|
|
2678
|
+
},
|
|
2679
|
+
accent: {
|
|
2680
|
+
l: [.38, .68],
|
|
2681
|
+
c: [.05, .15],
|
|
2682
|
+
target: .6,
|
|
2683
|
+
name: "the marks",
|
|
2684
|
+
mention: true,
|
|
2685
|
+
analogous: true,
|
|
2686
|
+
needs: [
|
|
2687
|
+
contrast("background"),
|
|
2688
|
+
contrast("surface"),
|
|
2689
|
+
contrast("muted"),
|
|
2690
|
+
distinct("primary", .1)
|
|
2691
|
+
]
|
|
2692
|
+
}
|
|
2693
|
+
},
|
|
2694
|
+
slots: [
|
|
2695
|
+
{
|
|
2696
|
+
roles: ["muted"],
|
|
2697
|
+
name: "the band"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
roles: ["primary"],
|
|
2701
|
+
name: "the buttons and links"
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
roles: ["accent"],
|
|
2705
|
+
name: "the marks"
|
|
2706
|
+
}
|
|
2707
|
+
],
|
|
2708
|
+
order: [
|
|
2709
|
+
...groundOrder,
|
|
2710
|
+
"primary",
|
|
2711
|
+
"accent",
|
|
2712
|
+
"secondary"
|
|
2713
|
+
],
|
|
2714
|
+
neutrals: {
|
|
2715
|
+
dark: [.27, .015],
|
|
2716
|
+
light: [.985, .01]
|
|
2717
|
+
},
|
|
2718
|
+
reading: lightReading,
|
|
2719
|
+
groundLimit: bookingLookGroundLimits["site-style:folio"].maxChroma,
|
|
2720
|
+
contrast: [{
|
|
2721
|
+
label: "the complement on the buttons and links",
|
|
2722
|
+
hue: "complement",
|
|
2723
|
+
second: "primary",
|
|
2724
|
+
lead: "accent",
|
|
2725
|
+
l: .42,
|
|
2726
|
+
c: [.08, .13]
|
|
2727
|
+
}, {
|
|
2728
|
+
label: "a warm colour on the buttons and links",
|
|
2729
|
+
hue: "split-warm",
|
|
2730
|
+
second: "primary",
|
|
2731
|
+
lead: "accent",
|
|
2732
|
+
l: .42,
|
|
2733
|
+
c: [.08, .13]
|
|
2734
|
+
}]
|
|
2735
|
+
};
|
|
2736
|
+
/** Measure: one plain page. Flat buttons that fill with the secondary on hover, and a small square. */
|
|
2737
|
+
const measure = {
|
|
2738
|
+
roles: {
|
|
2739
|
+
...lightGrounds(bookingLookGroundLimits["site-style:measure"], {
|
|
2740
|
+
page: .008,
|
|
2741
|
+
band: .012,
|
|
2742
|
+
bandL: [.91, .94]
|
|
2743
|
+
}),
|
|
2744
|
+
primary: {
|
|
2745
|
+
l: [.18, .55],
|
|
2746
|
+
c: [0, .16],
|
|
2747
|
+
target: .26,
|
|
2748
|
+
derivedChroma: .035,
|
|
2749
|
+
name: "the buttons",
|
|
2750
|
+
needs: [
|
|
2751
|
+
contrast("background"),
|
|
2752
|
+
contrast("surface"),
|
|
2753
|
+
label
|
|
2754
|
+
]
|
|
2755
|
+
},
|
|
2756
|
+
secondary: {
|
|
2757
|
+
l: [.12, .5],
|
|
2758
|
+
c: [0, .16],
|
|
2759
|
+
target: {
|
|
2760
|
+
from: "primary",
|
|
2761
|
+
dl: -.06
|
|
2762
|
+
},
|
|
2763
|
+
hueFrom: "primary",
|
|
2764
|
+
name: "the button hover",
|
|
2765
|
+
needs: [contrast("background"), label]
|
|
2766
|
+
},
|
|
2767
|
+
accent: {
|
|
2768
|
+
l: [.4, .7],
|
|
2769
|
+
c: [.08, .2],
|
|
2770
|
+
target: .55,
|
|
2771
|
+
name: "the small square",
|
|
2772
|
+
mention: true,
|
|
2773
|
+
analogous: true,
|
|
2774
|
+
needs: [
|
|
2775
|
+
contrast("background"),
|
|
2776
|
+
contrast("surface"),
|
|
2777
|
+
distinct("primary", .1)
|
|
2778
|
+
]
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
slots: [{
|
|
2782
|
+
roles: ["primary"],
|
|
2783
|
+
name: "the buttons"
|
|
2784
|
+
}, {
|
|
2785
|
+
roles: ["accent"],
|
|
2786
|
+
name: "the small square"
|
|
2787
|
+
}],
|
|
2788
|
+
order: [
|
|
2789
|
+
...groundOrder,
|
|
2790
|
+
"primary",
|
|
2791
|
+
"secondary",
|
|
2792
|
+
"accent"
|
|
2793
|
+
],
|
|
2794
|
+
neutrals: {
|
|
2795
|
+
dark: [.22, .012],
|
|
2796
|
+
light: [.995, .004]
|
|
2797
|
+
},
|
|
2798
|
+
reading: lightReading,
|
|
2799
|
+
groundLimit: bookingLookGroundLimits["site-style:measure"].maxChroma,
|
|
2800
|
+
contrast: [{
|
|
2801
|
+
label: "the complement on the square and the button hover",
|
|
2802
|
+
hue: "complement",
|
|
2803
|
+
second: "accent",
|
|
2804
|
+
lead: "primary",
|
|
2805
|
+
alsoTints: {
|
|
2806
|
+
roles: ["secondary"],
|
|
2807
|
+
name: "the button hover"
|
|
2808
|
+
},
|
|
2809
|
+
l: .55,
|
|
2810
|
+
c: [.1, .17]
|
|
2811
|
+
}, {
|
|
2812
|
+
label: "a warm colour on the buttons",
|
|
2813
|
+
hue: "split-warm",
|
|
2814
|
+
second: "primary",
|
|
2815
|
+
lead: "accent",
|
|
2816
|
+
l: .38,
|
|
2817
|
+
c: [.08, .13]
|
|
2818
|
+
}]
|
|
2819
|
+
};
|
|
2820
|
+
/** Grounded Practice: an inset panel on the muted colour opens the page; links and buttons share the primary. */
|
|
2821
|
+
const grounded = {
|
|
2822
|
+
roles: {
|
|
2823
|
+
...lightGrounds(bookingLookGroundLimits["site-style:grounded-practice"], {
|
|
2824
|
+
page: .012,
|
|
2825
|
+
band: .04,
|
|
2826
|
+
bandL: [.9, .945]
|
|
2827
|
+
}),
|
|
2828
|
+
primary: {
|
|
2829
|
+
l: [.3, .55],
|
|
2830
|
+
c: [.03, .14],
|
|
2831
|
+
target: .42,
|
|
2832
|
+
name: "the buttons and links",
|
|
2833
|
+
mention: true,
|
|
2834
|
+
link: true,
|
|
2835
|
+
needs: [
|
|
2836
|
+
contrast("background"),
|
|
2837
|
+
contrast("muted"),
|
|
2838
|
+
label,
|
|
2839
|
+
{
|
|
2840
|
+
kind: "ladder",
|
|
2841
|
+
step: 600,
|
|
2842
|
+
against: "muted",
|
|
2843
|
+
ratio: 3
|
|
2844
|
+
}
|
|
2845
|
+
]
|
|
2846
|
+
},
|
|
2847
|
+
secondary: {
|
|
2848
|
+
l: [.45, .62],
|
|
2849
|
+
c: [.01, .04],
|
|
2850
|
+
target: .54,
|
|
2851
|
+
name: "the quiet details"
|
|
2852
|
+
},
|
|
2853
|
+
accent: {
|
|
2854
|
+
l: [.38, .68],
|
|
2855
|
+
c: [.05, .15],
|
|
2856
|
+
target: .6,
|
|
2857
|
+
name: "the small marks",
|
|
2858
|
+
analogous: true,
|
|
2859
|
+
needs: [contrast("background"), distinct("primary", .1)]
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
slots: [{
|
|
2863
|
+
roles: ["muted"],
|
|
2864
|
+
name: "the opening panel"
|
|
2865
|
+
}, {
|
|
2866
|
+
roles: ["primary"],
|
|
2867
|
+
name: "the buttons and links"
|
|
2868
|
+
}],
|
|
2869
|
+
order: [
|
|
2870
|
+
...groundOrder,
|
|
2871
|
+
"primary",
|
|
2872
|
+
"accent",
|
|
2873
|
+
"secondary"
|
|
2874
|
+
],
|
|
2875
|
+
neutrals: {
|
|
2876
|
+
dark: [.27, .015],
|
|
2877
|
+
light: [.985, .01]
|
|
2878
|
+
},
|
|
2879
|
+
reading: lightReading,
|
|
2880
|
+
groundLimit: bookingLookGroundLimits["site-style:grounded-practice"].maxChroma,
|
|
2881
|
+
contrast: [{
|
|
2882
|
+
label: "the complement on the buttons and links",
|
|
2883
|
+
hue: "complement",
|
|
2884
|
+
second: "primary",
|
|
2885
|
+
lead: "muted",
|
|
2886
|
+
l: .42,
|
|
2887
|
+
c: [.08, .13]
|
|
2888
|
+
}, {
|
|
2889
|
+
label: "a warm colour on the buttons and links",
|
|
2890
|
+
hue: "split-warm",
|
|
2891
|
+
second: "primary",
|
|
2892
|
+
lead: "muted",
|
|
2893
|
+
l: .42,
|
|
2894
|
+
c: [.08, .13]
|
|
2895
|
+
}]
|
|
2896
|
+
};
|
|
2897
|
+
/**
|
|
2898
|
+
* Lantern: always dark. A very dark page, a deep band, gilt buttons running
|
|
2899
|
+
* from the accent into the primary (one colour family, light into deeper),
|
|
2900
|
+
* and the accent on every ornament and the candle glow.
|
|
2901
|
+
*/
|
|
2902
|
+
const lanternLimits = bookingLookGroundLimits["site-style:lantern"];
|
|
2903
|
+
const lantern = {
|
|
2904
|
+
roles: {
|
|
2905
|
+
background: {
|
|
2906
|
+
l: [.14, .22],
|
|
2907
|
+
c: [0, Math.min(.03, lanternLimits.maxChroma)],
|
|
2908
|
+
chromaShare: .3,
|
|
2909
|
+
target: .18,
|
|
2910
|
+
name: "the page"
|
|
2911
|
+
},
|
|
2912
|
+
surface: {
|
|
2913
|
+
l: [.24, .3],
|
|
2914
|
+
c: [0, Math.min(.035, lanternLimits.maxChroma)],
|
|
2915
|
+
chromaShare: .3,
|
|
2916
|
+
target: .27,
|
|
2917
|
+
name: "the cards",
|
|
2918
|
+
needs: [distinct("background", .05)]
|
|
2919
|
+
},
|
|
2920
|
+
surfaceAlt: {
|
|
2921
|
+
l: [.28, .34],
|
|
2922
|
+
c: [0, Math.min(.035, lanternLimits.maxChroma)],
|
|
2923
|
+
chromaShare: .3,
|
|
2924
|
+
target: .31,
|
|
2925
|
+
name: "the quieter panels"
|
|
2926
|
+
},
|
|
2927
|
+
muted: {
|
|
2928
|
+
l: [.2, .32],
|
|
2929
|
+
c: [0, lanternLimits.maxChroma],
|
|
2930
|
+
chromaShare: .45,
|
|
2931
|
+
target: .235,
|
|
2932
|
+
name: "the band",
|
|
2933
|
+
needs: [distinct("background", .04)]
|
|
2934
|
+
},
|
|
2935
|
+
border: {
|
|
2936
|
+
l: [.35, .42],
|
|
2937
|
+
c: [0, .035],
|
|
2938
|
+
chromaShare: .3,
|
|
2939
|
+
target: .38,
|
|
2940
|
+
name: "the rules"
|
|
2941
|
+
},
|
|
2942
|
+
accent: {
|
|
2943
|
+
l: [.76, .9],
|
|
2944
|
+
c: [.03, .13],
|
|
2945
|
+
target: .86,
|
|
2946
|
+
name: "the ornaments and the light end of the gilt",
|
|
2947
|
+
mention: true,
|
|
2948
|
+
giltEnd: true,
|
|
2949
|
+
hueFrom: "primary",
|
|
2950
|
+
needs: [
|
|
2951
|
+
contrast("background"),
|
|
2952
|
+
contrast("muted"),
|
|
2953
|
+
label
|
|
2954
|
+
]
|
|
2955
|
+
},
|
|
2956
|
+
primary: {
|
|
2957
|
+
l: [.62, .82],
|
|
2958
|
+
c: [.03, .15],
|
|
2959
|
+
target: {
|
|
2960
|
+
from: "accent",
|
|
2961
|
+
dl: -.11
|
|
2962
|
+
},
|
|
2963
|
+
hueFrom: "accent",
|
|
2964
|
+
name: "the deep end of the gilt",
|
|
2965
|
+
giltEnd: true,
|
|
2966
|
+
needs: [
|
|
2967
|
+
contrast("background"),
|
|
2968
|
+
contrast("muted"),
|
|
2969
|
+
label,
|
|
2970
|
+
distinct("accent", .06)
|
|
2971
|
+
]
|
|
2972
|
+
},
|
|
2973
|
+
secondary: {
|
|
2974
|
+
l: [.24, .38],
|
|
2975
|
+
c: [.04, .11],
|
|
2976
|
+
target: .3,
|
|
2977
|
+
name: "the deep details"
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
slots: [{
|
|
2981
|
+
roles: ["muted"],
|
|
2982
|
+
name: "the band"
|
|
2983
|
+
}, {
|
|
2984
|
+
roles: ["accent", "primary"],
|
|
2985
|
+
name: "the gilt buttons"
|
|
2986
|
+
}],
|
|
2987
|
+
order: [
|
|
2988
|
+
...groundOrder,
|
|
2989
|
+
"accent",
|
|
2990
|
+
"primary",
|
|
2991
|
+
"secondary"
|
|
2992
|
+
],
|
|
2993
|
+
neutrals: {
|
|
2994
|
+
dark: [.2, .03],
|
|
2995
|
+
light: [.95, .02]
|
|
2996
|
+
},
|
|
2997
|
+
reading: [
|
|
2998
|
+
"background",
|
|
2999
|
+
"surface",
|
|
3000
|
+
"surfaceAlt",
|
|
3001
|
+
"muted"
|
|
3002
|
+
],
|
|
3003
|
+
groundLimit: lanternLimits.maxChroma,
|
|
3004
|
+
contrast: [{
|
|
3005
|
+
label: "a warm complement on the gilt",
|
|
3006
|
+
hue: "warm-complement",
|
|
3007
|
+
second: "accent",
|
|
3008
|
+
lead: "muted",
|
|
3009
|
+
l: .84,
|
|
3010
|
+
c: [.08, .12]
|
|
3011
|
+
}, {
|
|
3012
|
+
label: "a second warm colour on the gilt",
|
|
3013
|
+
hue: "warm-other",
|
|
3014
|
+
second: "accent",
|
|
3015
|
+
lead: "muted",
|
|
3016
|
+
l: .84,
|
|
3017
|
+
c: [.08, .12]
|
|
3018
|
+
}]
|
|
3019
|
+
};
|
|
3020
|
+
/** Poster: the brand block is the one large area meant to be loud. Its buttons are the pop colour; elsewhere buttons are the block colour. */
|
|
3021
|
+
const posterBand = {
|
|
3022
|
+
roles: ["muted", "surfaceAlt"],
|
|
3023
|
+
name: "a faint tint of it on the band"
|
|
3024
|
+
};
|
|
3025
|
+
/** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
|
|
3026
|
+
const bookingLookColourSpecs = {
|
|
3027
|
+
"site-style:fulcrum": fulcrum,
|
|
3028
|
+
"site-style:folio": folio,
|
|
3029
|
+
"site-style:measure": measure,
|
|
3030
|
+
"site-style:grounded-practice": grounded,
|
|
3031
|
+
"site-style:lantern": lantern,
|
|
3032
|
+
"site-style:poster": {
|
|
3033
|
+
roles: {
|
|
3034
|
+
...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
|
|
3035
|
+
page: .008,
|
|
3036
|
+
band: .04,
|
|
3037
|
+
bandL: [.92, .96]
|
|
3038
|
+
}),
|
|
3039
|
+
primary: {
|
|
3040
|
+
l: [.3, .62],
|
|
3041
|
+
c: [.08, .25],
|
|
3042
|
+
target: .48,
|
|
3043
|
+
name: "the big block",
|
|
3044
|
+
mention: true,
|
|
3045
|
+
needs: [
|
|
3046
|
+
contrast("surface", 3.6),
|
|
3047
|
+
contrast("background"),
|
|
3048
|
+
label
|
|
3049
|
+
]
|
|
3050
|
+
},
|
|
3051
|
+
accent: {
|
|
3052
|
+
l: [.62, .95],
|
|
3053
|
+
c: [.08, .25],
|
|
3054
|
+
target: .86,
|
|
3055
|
+
name: "the pop buttons and stickers",
|
|
3056
|
+
mention: true,
|
|
3057
|
+
analogous: true,
|
|
3058
|
+
needs: [
|
|
3059
|
+
contrast("primary"),
|
|
3060
|
+
label,
|
|
3061
|
+
distinct("primary", .15)
|
|
3062
|
+
]
|
|
3063
|
+
},
|
|
3064
|
+
secondary: {
|
|
3065
|
+
l: [.15, .32],
|
|
3066
|
+
c: [.03, .15],
|
|
3067
|
+
target: .24,
|
|
3068
|
+
name: "the hard shadows",
|
|
3069
|
+
needs: [distinct("primary", .1)]
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
slots: [{
|
|
3073
|
+
roles: ["primary"],
|
|
3074
|
+
name: "the big block"
|
|
3075
|
+
}, {
|
|
3076
|
+
roles: ["accent"],
|
|
3077
|
+
name: "the pop buttons and stickers"
|
|
3078
|
+
}],
|
|
3079
|
+
order: [
|
|
3080
|
+
...groundOrder,
|
|
3081
|
+
"primary",
|
|
3082
|
+
"accent",
|
|
3083
|
+
"secondary"
|
|
3084
|
+
],
|
|
3085
|
+
neutrals: {
|
|
3086
|
+
dark: [.2, .04],
|
|
3087
|
+
light: [1, 0]
|
|
3088
|
+
},
|
|
3089
|
+
reading: lightReading,
|
|
3090
|
+
groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
|
|
3091
|
+
contrast: [{
|
|
3092
|
+
label: "the complement on the pop buttons",
|
|
3093
|
+
hue: "complement",
|
|
3094
|
+
second: "accent",
|
|
3095
|
+
lead: "primary",
|
|
3096
|
+
alsoTints: posterBand,
|
|
3097
|
+
l: .82,
|
|
3098
|
+
c: [.12, .15]
|
|
3099
|
+
}, {
|
|
3100
|
+
label: "a warm triadic partner on the pop buttons",
|
|
3101
|
+
hue: "triadic-warm",
|
|
3102
|
+
second: "accent",
|
|
3103
|
+
lead: "primary",
|
|
3104
|
+
alsoTints: posterBand,
|
|
3105
|
+
l: .82,
|
|
3106
|
+
c: [.12, .15]
|
|
3107
|
+
}]
|
|
3108
|
+
}
|
|
3109
|
+
};
|
|
3110
|
+
//#endregion
|
|
2406
3111
|
//#region ../theme-core/src/site-styles/footerLookDefaults.ts
|
|
2407
3112
|
const defaultFooterLookRecipes = {
|
|
2408
3113
|
"footer-centred-name": {
|
|
@@ -7119,8 +7824,11 @@ const bookingPageNoPhotoHeroLookIds = {
|
|
|
7119
7824
|
"site-style:poster": "hero-page-head"
|
|
7120
7825
|
};
|
|
7121
7826
|
function bookingPageOfferingFor(siteStyleId) {
|
|
7122
|
-
const
|
|
7123
|
-
return
|
|
7827
|
+
const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
|
|
7828
|
+
return lookId ? {
|
|
7829
|
+
noPhotoHeroLookId: asAppearancePresetId(bookingPageNoPhotoHeroLookIds[lookId]),
|
|
7830
|
+
colourSpec: bookingLookColourSpecs[lookId]
|
|
7831
|
+
} : void 0;
|
|
7124
7832
|
}
|
|
7125
7833
|
function clientStyleMatchesSite(siteSlugs, target) {
|
|
7126
7834
|
if (target.audience !== "site-picker" && target.audience !== "local-demo") return false;
|
|
@@ -7473,7 +8181,11 @@ const headerCurationBySiteStyle = {
|
|
|
7473
8181
|
"site-style:folio": defineHeaderCuration([
|
|
7474
8182
|
{
|
|
7475
8183
|
layoutId: "floating",
|
|
7476
|
-
styleIds: [
|
|
8184
|
+
styleIds: [
|
|
8185
|
+
"minimal-surface",
|
|
8186
|
+
"soft-shell",
|
|
8187
|
+
"glass"
|
|
8188
|
+
]
|
|
7477
8189
|
},
|
|
7478
8190
|
{
|
|
7479
8191
|
layoutId: "classic",
|
|
@@ -8120,6 +8832,11 @@ const folioLooks = {
|
|
|
8120
8832
|
treatment: "hero-short-panel",
|
|
8121
8833
|
roleMap: folioRoles
|
|
8122
8834
|
},
|
|
8835
|
+
{
|
|
8836
|
+
id: id("hero-text-over-photo"),
|
|
8837
|
+
treatment: "hero-photo-overlay",
|
|
8838
|
+
roleMap: folioRoles
|
|
8839
|
+
},
|
|
8123
8840
|
{
|
|
8124
8841
|
id: id("hero-page-head"),
|
|
8125
8842
|
treatment: "hero-ruled",
|
|
@@ -8170,10 +8887,7 @@ const folioLooks = {
|
|
|
8170
8887
|
id: id("event-calendar-ruled-rows"),
|
|
8171
8888
|
treatment: "calendar-card",
|
|
8172
8889
|
itemRoles: { container: "card" },
|
|
8173
|
-
|
|
8174
|
-
source: "text",
|
|
8175
|
-
opacity: 8
|
|
8176
|
-
} },
|
|
8890
|
+
knobValues: { actionStyle: ["button"] },
|
|
8177
8891
|
roleMap: folioRoles
|
|
8178
8892
|
},
|
|
8179
8893
|
{
|
|
@@ -8184,6 +8898,7 @@ const folioLooks = {
|
|
|
8184
8898
|
{
|
|
8185
8899
|
id: id("event-calendar-next-three"),
|
|
8186
8900
|
treatment: "calendar-compact",
|
|
8901
|
+
knobValues: { actionStyle: ["button"] },
|
|
8187
8902
|
roleMap: folioRoles
|
|
8188
8903
|
},
|
|
8189
8904
|
{
|
|
@@ -10586,12 +11301,15 @@ const curatedSiteStyles = [
|
|
|
10586
11301
|
accordions: editorialDividedAccordionSystem,
|
|
10587
11302
|
testimonialQuote: serifDisplayQuote
|
|
10588
11303
|
},
|
|
10589
|
-
headerStyleRecipes: { "
|
|
11304
|
+
headerStyleRecipes: { "soft-shell": {
|
|
10590
11305
|
tone: "neutral",
|
|
11306
|
+
dropdown: neutralHeaderDropdown,
|
|
10591
11307
|
background: { kind: "transparent" },
|
|
10592
11308
|
nav: {
|
|
10593
|
-
kind: "
|
|
10594
|
-
|
|
11309
|
+
kind: "pill",
|
|
11310
|
+
backing: "capsule",
|
|
11311
|
+
hoverColorToken: "primary",
|
|
11312
|
+
hoverAlpha: 8
|
|
10595
11313
|
},
|
|
10596
11314
|
navWeight: "medium",
|
|
10597
11315
|
navLinkWeight: "medium",
|
|
@@ -10683,6 +11401,7 @@ const curatedSiteStyles = [
|
|
|
10683
11401
|
},
|
|
10684
11402
|
headerStyleRecipes: { "serif-line": {
|
|
10685
11403
|
tone: "neutral",
|
|
11404
|
+
dropdown: neutralHeaderDropdown,
|
|
10686
11405
|
background: {
|
|
10687
11406
|
kind: "token",
|
|
10688
11407
|
token: "background"
|
|
@@ -11589,22 +12308,6 @@ z.union([z.nullish(z.never()).transform(() => ({ kind: "automatic" })), pageDesi
|
|
|
11589
12308
|
const value = issue.input;
|
|
11590
12309
|
return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 2 ? "Unsupported page design decisions schemaVersion." : "Invalid page design decisions shape.";
|
|
11591
12310
|
} });
|
|
11592
|
-
//#endregion
|
|
11593
|
-
//#region ../theme-core/src/site-styles/bookingPageLookIds.ts
|
|
11594
|
-
/** Deterministic fallback order; Fulcrum is the default. */
|
|
11595
|
-
const bookingPageLookIdValues = [
|
|
11596
|
-
"site-style:fulcrum",
|
|
11597
|
-
"site-style:folio",
|
|
11598
|
-
"site-style:measure",
|
|
11599
|
-
"site-style:grounded-practice",
|
|
11600
|
-
"site-style:lantern",
|
|
11601
|
-
"site-style:poster"
|
|
11602
|
-
];
|
|
11603
|
-
/** Boundary admission for draft and suggestion inputs. */
|
|
11604
|
-
function parseBookingPageLookId(value) {
|
|
11605
|
-
const id = bookingPageLookIdValues.find((candidate) => candidate === value);
|
|
11606
|
-
return id ? asSiteStyleId(id) : null;
|
|
11607
|
-
}
|
|
11608
12311
|
bookingPageLookIdValues.map((value) => {
|
|
11609
12312
|
const id = parseBookingPageLookId(value);
|
|
11610
12313
|
if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
|
|
@@ -11615,5 +12318,17 @@ bookingPageLookIdValues.map((value) => {
|
|
|
11615
12318
|
id
|
|
11616
12319
|
};
|
|
11617
12320
|
});
|
|
12321
|
+
[...[
|
|
12322
|
+
165,
|
|
12323
|
+
150,
|
|
12324
|
+
135,
|
|
12325
|
+
120,
|
|
12326
|
+
105,
|
|
12327
|
+
90,
|
|
12328
|
+
75,
|
|
12329
|
+
60,
|
|
12330
|
+
45,
|
|
12331
|
+
30
|
|
12332
|
+
].flatMap((o) => [o, -o])];
|
|
11618
12333
|
//#endregion
|
|
11619
|
-
export {
|
|
12334
|
+
export { composeBoundary as A, defineBlockDesignMetadata as B, generateFooterCss as C, headerNeedsPhotoShade as D, generateNavLinkCSS as E, deriveSectionGround as F, cardListFamilyBlocks as H, heroPhotoPaintsGround as I, parseCanonicalRuntimeBackground as L, boundaryRuntimeMetricsForDecorativeTransition as M, anglePolygonCss as N, headerRootPaint as O, transitionCatalogueEntries as P, resolveSectionBackground as R, parseGradientPresetId as S, buildTextContrastShadow as T, cardListKnobBlocks as U, resolveEffectiveKnobs as V, deriveSiteStyleBlockPolicy as _, readOpeningForegroundProjection as a, gradientToCss as b, arrangementLookHooks as c, resolveLookSlotSurfaces as d, arrangementManifestFromVariants as f, resolvePublishedLook as g, resolveModeArrangement as h, transparentHeaderForegroundInput as i, sectionFactsForContent as j, boundaryLayout as k, arrangementSlotNames as l, resolveEffectiveArrangement as m, headerForegroundCandidates as n, mergeHeaderNavTypographyPreference as o, readStoredMode as p, headerLeafTextColor as r, readHeaderNavFontSizePreference as s, effectiveHeaderNavLinkStyle as t, resolveItemSurface as u, requireCuratedSiteStyle as v, footerForegroundCandidates as w, getGradientPreset as x, compiledRuntimeStyleFieldNames as y, sectionForegroundBackground as z };
|