@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
package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as asDesignSystemTemplateId, Ht as asPageFlowPresetId, It as asBoundaryOptionId, Kt as defineExactCatalog, Lt as asDesignBlockId, Mt as arrangementModes, Nt as asAppearancePresetId, Or as rgbColorValue, Rt as asDesignBoundaryId, Un as unsafeAsOpaqueButtonColourToken, Ut as asSiteStyleId, Vt as asLayoutVariantKey, Wt as assertNever, Xn as expandPalette, Z as headerInteractionQuietPalette, Zt as flushPanelFrame, an as plainFrame, ar as paletteModeSchema, at as NAV_LINK_BORDER_RADIUS_MAP, br as surfaceForegroundValue, cr as requirePaletteColorsFromEntries, ct as NAV_LINK_PADDING_X_MAP, dt as navLinkOwnsHoverForeground, en as isArrangementMode, er as planForegroundHover, et as defaultButtonStyleSelectionFor, fr as featuresFromHex, ft as navLinkOwnsUnderline, in as panelFrame, ir as paletteColorsSchema, it as generateInteractiveChildInheritanceCSS, jr as parseThemeColorToken, kn as resolveSurface, lr as TokenResolver, lt as NAV_LINK_TEXT_SIZE_MAP, nn as noHeadingDecoration, nt as generateEffectsCSS, on as requireNonEmptyReadonlyArray, or as paletteValueKey, ot as NAV_LINK_LETTER_SPACING_MAP, pt as navEffectPolicy, q as cardRoleValues, rr as hexColorSchema, rt as generateBaseInteractiveCSS, sr as paletteValueKeySchema, st as NAV_LINK_PADDING_MAP, tn as makeBoundaryId, tt as buttonStyleSelectionSchema, ut as navLinkHoverColorCandidate, vr as surfaceForegroundInputFromResolved, xt as themeV2RuntimeStyleFieldNames, yt as siteChromeBackgroundOverrideOwner } from "./schema-DgrigZq9.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../theme-core/src/site-styles/appearancePresetTypes.ts
|
|
4
4
|
/** Block supply is capability, never a second Look catalogue. */
|
|
@@ -1184,6 +1184,14 @@ const appearancePresets = [
|
|
|
1184
1184
|
slotRoles: { copy: "card" },
|
|
1185
1185
|
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1186
1186
|
}),
|
|
1187
|
+
defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
|
|
1188
|
+
photoTreatment: "text-overlay",
|
|
1189
|
+
whenMissing: [{
|
|
1190
|
+
fact: "photo",
|
|
1191
|
+
look: id$1("hero-page-head")
|
|
1192
|
+
}],
|
|
1193
|
+
styleFallback: [id$1("hero-photo-behind-text")]
|
|
1194
|
+
}),
|
|
1187
1195
|
defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
|
|
1188
1196
|
slotRoles: { copy: "card" },
|
|
1189
1197
|
styleFallback: [id$1("hero-page-head")]
|
|
@@ -1869,6 +1877,10 @@ function stableTreatmentKey(treatment) {
|
|
|
1869
1877
|
}
|
|
1870
1878
|
//#endregion
|
|
1871
1879
|
//#region ../theme-core/src/header/rootPaint.ts
|
|
1880
|
+
/** Detached branding needs protection even when the navigation has its own rail. */
|
|
1881
|
+
function headerNeedsPhotoShade(header) {
|
|
1882
|
+
return header.variant === "floating" && header.background?.type === "color" && header.background.color === "transparent" && (!header.container || (header.container.opacity ?? 1) < 1);
|
|
1883
|
+
}
|
|
1872
1884
|
/** The nav container takes precedence when a floating header also has one. */
|
|
1873
1885
|
function headerRootPaint(header) {
|
|
1874
1886
|
const navContainerType = header?.navContainer?.type ?? "none";
|
|
@@ -1990,6 +2002,681 @@ function validateUniquePageDesignPins(intent, ctx) {
|
|
|
1990
2002
|
});
|
|
1991
2003
|
}
|
|
1992
2004
|
//#endregion
|
|
2005
|
+
//#region ../theme-core/src/site-styles/headerDropdownRecipe.ts
|
|
2006
|
+
const neutralHeaderDropdown = {
|
|
2007
|
+
surface: {
|
|
2008
|
+
kind: "solid",
|
|
2009
|
+
background: "surface"
|
|
2010
|
+
},
|
|
2011
|
+
textColor: "text",
|
|
2012
|
+
borderColor: "border",
|
|
2013
|
+
shadow: "md",
|
|
2014
|
+
borderRadius: "md",
|
|
2015
|
+
textTransform: "none",
|
|
2016
|
+
letterSpacing: "normal"
|
|
2017
|
+
};
|
|
2018
|
+
({ ...neutralHeaderDropdown });
|
|
2019
|
+
//#endregion
|
|
2020
|
+
//#region ../theme-core/src/site-styles/bookingPageLookIds.ts
|
|
2021
|
+
/** Deterministic fallback order; Fulcrum is the default. */
|
|
2022
|
+
const bookingPageLookIdValues = [
|
|
2023
|
+
"site-style:fulcrum",
|
|
2024
|
+
"site-style:folio",
|
|
2025
|
+
"site-style:measure",
|
|
2026
|
+
"site-style:grounded-practice",
|
|
2027
|
+
"site-style:lantern",
|
|
2028
|
+
"site-style:poster"
|
|
2029
|
+
];
|
|
2030
|
+
/** Boundary admission for draft and suggestion inputs. */
|
|
2031
|
+
function parseBookingPageLookId(value) {
|
|
2032
|
+
const id = bookingPageLookIdValues.find((candidate) => candidate === value);
|
|
2033
|
+
return id ? asSiteStyleId(id) : null;
|
|
2034
|
+
}
|
|
2035
|
+
//#endregion
|
|
2036
|
+
//#region ../theme-core/src/site-styles/ownColours/bookingLookColourSpecs.ts
|
|
2037
|
+
const bookingLookGroundLimits = {
|
|
2038
|
+
"site-style:poster": {
|
|
2039
|
+
lightness: [.9, 1],
|
|
2040
|
+
maxChroma: .04
|
|
2041
|
+
},
|
|
2042
|
+
"site-style:fulcrum": {
|
|
2043
|
+
lightness: [.9, 1],
|
|
2044
|
+
maxChroma: .03
|
|
2045
|
+
},
|
|
2046
|
+
"site-style:folio": {
|
|
2047
|
+
lightness: [.88, 1],
|
|
2048
|
+
maxChroma: .05
|
|
2049
|
+
},
|
|
2050
|
+
"site-style:measure": {
|
|
2051
|
+
lightness: [.9, 1],
|
|
2052
|
+
maxChroma: .02
|
|
2053
|
+
},
|
|
2054
|
+
"site-style:grounded-practice": {
|
|
2055
|
+
lightness: [.85, 1],
|
|
2056
|
+
maxChroma: .06
|
|
2057
|
+
},
|
|
2058
|
+
"site-style:lantern": {
|
|
2059
|
+
lightness: [.12, .34],
|
|
2060
|
+
maxChroma: .07
|
|
2061
|
+
}
|
|
2062
|
+
};
|
|
2063
|
+
const contrast = (against, ratio = 3) => ({
|
|
2064
|
+
kind: "contrast",
|
|
2065
|
+
against,
|
|
2066
|
+
ratio
|
|
2067
|
+
});
|
|
2068
|
+
const distinct = (from, deltaE) => ({
|
|
2069
|
+
kind: "distinct",
|
|
2070
|
+
from,
|
|
2071
|
+
deltaE
|
|
2072
|
+
});
|
|
2073
|
+
const label = { kind: "label" };
|
|
2074
|
+
/** The quiet light grounds the five light looks share: faint tints of the leading colour, inside the look's limit. */
|
|
2075
|
+
function lightGrounds(limits, tint) {
|
|
2076
|
+
const page = Math.min(tint.page, limits.maxChroma);
|
|
2077
|
+
const band = Math.min(tint.band, limits.maxChroma);
|
|
2078
|
+
return {
|
|
2079
|
+
background: {
|
|
2080
|
+
l: [.955, .985],
|
|
2081
|
+
c: [0, page],
|
|
2082
|
+
chromaShare: .12,
|
|
2083
|
+
target: .972,
|
|
2084
|
+
name: "the page"
|
|
2085
|
+
},
|
|
2086
|
+
surface: {
|
|
2087
|
+
l: [.99, 1],
|
|
2088
|
+
c: [0, Math.min(page, .004)],
|
|
2089
|
+
chromaShare: .04,
|
|
2090
|
+
target: .997,
|
|
2091
|
+
name: "the cards"
|
|
2092
|
+
},
|
|
2093
|
+
surfaceAlt: {
|
|
2094
|
+
l: [.93, .965],
|
|
2095
|
+
c: [0, band],
|
|
2096
|
+
chromaShare: .25,
|
|
2097
|
+
target: .948,
|
|
2098
|
+
name: "the quieter panels",
|
|
2099
|
+
needs: [distinct("background", .015)]
|
|
2100
|
+
},
|
|
2101
|
+
muted: {
|
|
2102
|
+
l: tint.bandL,
|
|
2103
|
+
c: [0, band],
|
|
2104
|
+
chromaShare: .3,
|
|
2105
|
+
target: (tint.bandL[0] + tint.bandL[1]) / 2,
|
|
2106
|
+
name: "the band",
|
|
2107
|
+
needs: [distinct("background", .03)]
|
|
2108
|
+
},
|
|
2109
|
+
border: {
|
|
2110
|
+
l: [.8, .88],
|
|
2111
|
+
c: [0, band],
|
|
2112
|
+
chromaShare: .25,
|
|
2113
|
+
target: .85,
|
|
2114
|
+
name: "the rules"
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
const groundOrder = [
|
|
2119
|
+
"background",
|
|
2120
|
+
"surface",
|
|
2121
|
+
"muted",
|
|
2122
|
+
"surfaceAlt",
|
|
2123
|
+
"border"
|
|
2124
|
+
];
|
|
2125
|
+
const lightReading = [
|
|
2126
|
+
"background",
|
|
2127
|
+
"surface",
|
|
2128
|
+
"surfaceAlt",
|
|
2129
|
+
"muted"
|
|
2130
|
+
];
|
|
2131
|
+
/** Fulcrum: a quiet stone page, white sheets, a strong mid-tone on the buttons, a deep plate behind the opening panel. */
|
|
2132
|
+
const fulcrum = {
|
|
2133
|
+
roles: {
|
|
2134
|
+
...lightGrounds(bookingLookGroundLimits["site-style:fulcrum"], {
|
|
2135
|
+
page: .008,
|
|
2136
|
+
band: .022,
|
|
2137
|
+
bandL: [.9, .94]
|
|
2138
|
+
}),
|
|
2139
|
+
primary: {
|
|
2140
|
+
l: [.3, .6],
|
|
2141
|
+
c: [.04, .16],
|
|
2142
|
+
target: .45,
|
|
2143
|
+
name: "the buttons",
|
|
2144
|
+
mention: true,
|
|
2145
|
+
needs: [
|
|
2146
|
+
contrast("background"),
|
|
2147
|
+
contrast("surface"),
|
|
2148
|
+
contrast("muted"),
|
|
2149
|
+
label
|
|
2150
|
+
]
|
|
2151
|
+
},
|
|
2152
|
+
secondary: {
|
|
2153
|
+
l: [.18, .36],
|
|
2154
|
+
c: [.02, .11],
|
|
2155
|
+
target: .28,
|
|
2156
|
+
name: "the plate",
|
|
2157
|
+
mention: true,
|
|
2158
|
+
needs: [contrast("surface"), distinct("primary", .08)]
|
|
2159
|
+
},
|
|
2160
|
+
accent: {
|
|
2161
|
+
l: [.38, .72],
|
|
2162
|
+
c: [.06, .17],
|
|
2163
|
+
target: .62,
|
|
2164
|
+
name: "the small marks",
|
|
2165
|
+
analogous: true,
|
|
2166
|
+
needs: [
|
|
2167
|
+
contrast("background"),
|
|
2168
|
+
contrast("surface"),
|
|
2169
|
+
contrast("muted"),
|
|
2170
|
+
distinct("primary", .1)
|
|
2171
|
+
]
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
slots: [
|
|
2175
|
+
{
|
|
2176
|
+
roles: ["muted"],
|
|
2177
|
+
name: "the band"
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
roles: ["secondary"],
|
|
2181
|
+
name: "the plate"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
roles: ["primary"],
|
|
2185
|
+
name: "the buttons"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
roles: ["accent"],
|
|
2189
|
+
name: "the small marks"
|
|
2190
|
+
}
|
|
2191
|
+
],
|
|
2192
|
+
order: [
|
|
2193
|
+
...groundOrder,
|
|
2194
|
+
"primary",
|
|
2195
|
+
"secondary",
|
|
2196
|
+
"accent"
|
|
2197
|
+
],
|
|
2198
|
+
neutrals: {
|
|
2199
|
+
dark: [.24, .02],
|
|
2200
|
+
light: [.995, .005]
|
|
2201
|
+
},
|
|
2202
|
+
reading: lightReading,
|
|
2203
|
+
groundLimit: bookingLookGroundLimits["site-style:fulcrum"].maxChroma,
|
|
2204
|
+
contrast: [{
|
|
2205
|
+
label: "a muted complement on the plate",
|
|
2206
|
+
hue: "complement",
|
|
2207
|
+
second: "secondary",
|
|
2208
|
+
lead: "primary",
|
|
2209
|
+
l: .3,
|
|
2210
|
+
c: [.04, .07]
|
|
2211
|
+
}, {
|
|
2212
|
+
label: "a warm colour on the buttons",
|
|
2213
|
+
hue: "split-warm",
|
|
2214
|
+
second: "primary",
|
|
2215
|
+
lead: "secondary",
|
|
2216
|
+
l: .45,
|
|
2217
|
+
c: [.08, .13]
|
|
2218
|
+
}]
|
|
2219
|
+
};
|
|
2220
|
+
/** Folio: warm paper, sheets and a band; buttons and links share the primary (hovering to its 800 shade); small rules and marks. */
|
|
2221
|
+
const folio = {
|
|
2222
|
+
roles: {
|
|
2223
|
+
...lightGrounds(bookingLookGroundLimits["site-style:folio"], {
|
|
2224
|
+
page: .012,
|
|
2225
|
+
band: .03,
|
|
2226
|
+
bandL: [.9, .94]
|
|
2227
|
+
}),
|
|
2228
|
+
primary: {
|
|
2229
|
+
l: [.3, .55],
|
|
2230
|
+
c: [.03, .14],
|
|
2231
|
+
target: .42,
|
|
2232
|
+
name: "the buttons and links",
|
|
2233
|
+
mention: true,
|
|
2234
|
+
link: true,
|
|
2235
|
+
needs: [
|
|
2236
|
+
contrast("background"),
|
|
2237
|
+
contrast("surface"),
|
|
2238
|
+
contrast("muted"),
|
|
2239
|
+
label
|
|
2240
|
+
]
|
|
2241
|
+
},
|
|
2242
|
+
secondary: {
|
|
2243
|
+
l: [.45, .62],
|
|
2244
|
+
c: [.01, .04],
|
|
2245
|
+
target: .54,
|
|
2246
|
+
name: "the quiet details"
|
|
2247
|
+
},
|
|
2248
|
+
accent: {
|
|
2249
|
+
l: [.38, .68],
|
|
2250
|
+
c: [.05, .15],
|
|
2251
|
+
target: .6,
|
|
2252
|
+
name: "the marks",
|
|
2253
|
+
mention: true,
|
|
2254
|
+
analogous: true,
|
|
2255
|
+
needs: [
|
|
2256
|
+
contrast("background"),
|
|
2257
|
+
contrast("surface"),
|
|
2258
|
+
contrast("muted"),
|
|
2259
|
+
distinct("primary", .1)
|
|
2260
|
+
]
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
slots: [
|
|
2264
|
+
{
|
|
2265
|
+
roles: ["muted"],
|
|
2266
|
+
name: "the band"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
roles: ["primary"],
|
|
2270
|
+
name: "the buttons and links"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
roles: ["accent"],
|
|
2274
|
+
name: "the marks"
|
|
2275
|
+
}
|
|
2276
|
+
],
|
|
2277
|
+
order: [
|
|
2278
|
+
...groundOrder,
|
|
2279
|
+
"primary",
|
|
2280
|
+
"accent",
|
|
2281
|
+
"secondary"
|
|
2282
|
+
],
|
|
2283
|
+
neutrals: {
|
|
2284
|
+
dark: [.27, .015],
|
|
2285
|
+
light: [.985, .01]
|
|
2286
|
+
},
|
|
2287
|
+
reading: lightReading,
|
|
2288
|
+
groundLimit: bookingLookGroundLimits["site-style:folio"].maxChroma,
|
|
2289
|
+
contrast: [{
|
|
2290
|
+
label: "the complement on the buttons and links",
|
|
2291
|
+
hue: "complement",
|
|
2292
|
+
second: "primary",
|
|
2293
|
+
lead: "accent",
|
|
2294
|
+
l: .42,
|
|
2295
|
+
c: [.08, .13]
|
|
2296
|
+
}, {
|
|
2297
|
+
label: "a warm colour on the buttons and links",
|
|
2298
|
+
hue: "split-warm",
|
|
2299
|
+
second: "primary",
|
|
2300
|
+
lead: "accent",
|
|
2301
|
+
l: .42,
|
|
2302
|
+
c: [.08, .13]
|
|
2303
|
+
}]
|
|
2304
|
+
};
|
|
2305
|
+
/** Measure: one plain page. Flat buttons that fill with the secondary on hover, and a small square. */
|
|
2306
|
+
const measure = {
|
|
2307
|
+
roles: {
|
|
2308
|
+
...lightGrounds(bookingLookGroundLimits["site-style:measure"], {
|
|
2309
|
+
page: .008,
|
|
2310
|
+
band: .012,
|
|
2311
|
+
bandL: [.91, .94]
|
|
2312
|
+
}),
|
|
2313
|
+
primary: {
|
|
2314
|
+
l: [.18, .55],
|
|
2315
|
+
c: [0, .16],
|
|
2316
|
+
target: .26,
|
|
2317
|
+
derivedChroma: .035,
|
|
2318
|
+
name: "the buttons",
|
|
2319
|
+
needs: [
|
|
2320
|
+
contrast("background"),
|
|
2321
|
+
contrast("surface"),
|
|
2322
|
+
label
|
|
2323
|
+
]
|
|
2324
|
+
},
|
|
2325
|
+
secondary: {
|
|
2326
|
+
l: [.12, .5],
|
|
2327
|
+
c: [0, .16],
|
|
2328
|
+
target: {
|
|
2329
|
+
from: "primary",
|
|
2330
|
+
dl: -.06
|
|
2331
|
+
},
|
|
2332
|
+
hueFrom: "primary",
|
|
2333
|
+
name: "the button hover",
|
|
2334
|
+
needs: [contrast("background"), label]
|
|
2335
|
+
},
|
|
2336
|
+
accent: {
|
|
2337
|
+
l: [.4, .7],
|
|
2338
|
+
c: [.08, .2],
|
|
2339
|
+
target: .55,
|
|
2340
|
+
name: "the small square",
|
|
2341
|
+
mention: true,
|
|
2342
|
+
analogous: true,
|
|
2343
|
+
needs: [
|
|
2344
|
+
contrast("background"),
|
|
2345
|
+
contrast("surface"),
|
|
2346
|
+
distinct("primary", .1)
|
|
2347
|
+
]
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
slots: [{
|
|
2351
|
+
roles: ["primary"],
|
|
2352
|
+
name: "the buttons"
|
|
2353
|
+
}, {
|
|
2354
|
+
roles: ["accent"],
|
|
2355
|
+
name: "the small square"
|
|
2356
|
+
}],
|
|
2357
|
+
order: [
|
|
2358
|
+
...groundOrder,
|
|
2359
|
+
"primary",
|
|
2360
|
+
"secondary",
|
|
2361
|
+
"accent"
|
|
2362
|
+
],
|
|
2363
|
+
neutrals: {
|
|
2364
|
+
dark: [.22, .012],
|
|
2365
|
+
light: [.995, .004]
|
|
2366
|
+
},
|
|
2367
|
+
reading: lightReading,
|
|
2368
|
+
groundLimit: bookingLookGroundLimits["site-style:measure"].maxChroma,
|
|
2369
|
+
contrast: [{
|
|
2370
|
+
label: "the complement on the square and the button hover",
|
|
2371
|
+
hue: "complement",
|
|
2372
|
+
second: "accent",
|
|
2373
|
+
lead: "primary",
|
|
2374
|
+
alsoTints: {
|
|
2375
|
+
roles: ["secondary"],
|
|
2376
|
+
name: "the button hover"
|
|
2377
|
+
},
|
|
2378
|
+
l: .55,
|
|
2379
|
+
c: [.1, .17]
|
|
2380
|
+
}, {
|
|
2381
|
+
label: "a warm colour on the buttons",
|
|
2382
|
+
hue: "split-warm",
|
|
2383
|
+
second: "primary",
|
|
2384
|
+
lead: "accent",
|
|
2385
|
+
l: .38,
|
|
2386
|
+
c: [.08, .13]
|
|
2387
|
+
}]
|
|
2388
|
+
};
|
|
2389
|
+
/** Grounded Practice: an inset panel on the muted colour opens the page; links and buttons share the primary. */
|
|
2390
|
+
const grounded = {
|
|
2391
|
+
roles: {
|
|
2392
|
+
...lightGrounds(bookingLookGroundLimits["site-style:grounded-practice"], {
|
|
2393
|
+
page: .012,
|
|
2394
|
+
band: .04,
|
|
2395
|
+
bandL: [.9, .945]
|
|
2396
|
+
}),
|
|
2397
|
+
primary: {
|
|
2398
|
+
l: [.3, .55],
|
|
2399
|
+
c: [.03, .14],
|
|
2400
|
+
target: .42,
|
|
2401
|
+
name: "the buttons and links",
|
|
2402
|
+
mention: true,
|
|
2403
|
+
link: true,
|
|
2404
|
+
needs: [
|
|
2405
|
+
contrast("background"),
|
|
2406
|
+
contrast("muted"),
|
|
2407
|
+
label,
|
|
2408
|
+
{
|
|
2409
|
+
kind: "ladder",
|
|
2410
|
+
step: 600,
|
|
2411
|
+
against: "muted",
|
|
2412
|
+
ratio: 3
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2415
|
+
},
|
|
2416
|
+
secondary: {
|
|
2417
|
+
l: [.45, .62],
|
|
2418
|
+
c: [.01, .04],
|
|
2419
|
+
target: .54,
|
|
2420
|
+
name: "the quiet details"
|
|
2421
|
+
},
|
|
2422
|
+
accent: {
|
|
2423
|
+
l: [.38, .68],
|
|
2424
|
+
c: [.05, .15],
|
|
2425
|
+
target: .6,
|
|
2426
|
+
name: "the small marks",
|
|
2427
|
+
analogous: true,
|
|
2428
|
+
needs: [contrast("background"), distinct("primary", .1)]
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
slots: [{
|
|
2432
|
+
roles: ["muted"],
|
|
2433
|
+
name: "the opening panel"
|
|
2434
|
+
}, {
|
|
2435
|
+
roles: ["primary"],
|
|
2436
|
+
name: "the buttons and links"
|
|
2437
|
+
}],
|
|
2438
|
+
order: [
|
|
2439
|
+
...groundOrder,
|
|
2440
|
+
"primary",
|
|
2441
|
+
"accent",
|
|
2442
|
+
"secondary"
|
|
2443
|
+
],
|
|
2444
|
+
neutrals: {
|
|
2445
|
+
dark: [.27, .015],
|
|
2446
|
+
light: [.985, .01]
|
|
2447
|
+
},
|
|
2448
|
+
reading: lightReading,
|
|
2449
|
+
groundLimit: bookingLookGroundLimits["site-style:grounded-practice"].maxChroma,
|
|
2450
|
+
contrast: [{
|
|
2451
|
+
label: "the complement on the buttons and links",
|
|
2452
|
+
hue: "complement",
|
|
2453
|
+
second: "primary",
|
|
2454
|
+
lead: "muted",
|
|
2455
|
+
l: .42,
|
|
2456
|
+
c: [.08, .13]
|
|
2457
|
+
}, {
|
|
2458
|
+
label: "a warm colour on the buttons and links",
|
|
2459
|
+
hue: "split-warm",
|
|
2460
|
+
second: "primary",
|
|
2461
|
+
lead: "muted",
|
|
2462
|
+
l: .42,
|
|
2463
|
+
c: [.08, .13]
|
|
2464
|
+
}]
|
|
2465
|
+
};
|
|
2466
|
+
/**
|
|
2467
|
+
* Lantern: always dark. A very dark page, a deep band, gilt buttons running
|
|
2468
|
+
* from the accent into the primary (one colour family, light into deeper),
|
|
2469
|
+
* and the accent on every ornament and the candle glow.
|
|
2470
|
+
*/
|
|
2471
|
+
const lanternLimits = bookingLookGroundLimits["site-style:lantern"];
|
|
2472
|
+
const lantern = {
|
|
2473
|
+
roles: {
|
|
2474
|
+
background: {
|
|
2475
|
+
l: [.14, .22],
|
|
2476
|
+
c: [0, Math.min(.03, lanternLimits.maxChroma)],
|
|
2477
|
+
chromaShare: .3,
|
|
2478
|
+
target: .18,
|
|
2479
|
+
name: "the page"
|
|
2480
|
+
},
|
|
2481
|
+
surface: {
|
|
2482
|
+
l: [.24, .3],
|
|
2483
|
+
c: [0, Math.min(.035, lanternLimits.maxChroma)],
|
|
2484
|
+
chromaShare: .3,
|
|
2485
|
+
target: .27,
|
|
2486
|
+
name: "the cards",
|
|
2487
|
+
needs: [distinct("background", .05)]
|
|
2488
|
+
},
|
|
2489
|
+
surfaceAlt: {
|
|
2490
|
+
l: [.28, .34],
|
|
2491
|
+
c: [0, Math.min(.035, lanternLimits.maxChroma)],
|
|
2492
|
+
chromaShare: .3,
|
|
2493
|
+
target: .31,
|
|
2494
|
+
name: "the quieter panels"
|
|
2495
|
+
},
|
|
2496
|
+
muted: {
|
|
2497
|
+
l: [.2, .32],
|
|
2498
|
+
c: [0, lanternLimits.maxChroma],
|
|
2499
|
+
chromaShare: .45,
|
|
2500
|
+
target: .235,
|
|
2501
|
+
name: "the band",
|
|
2502
|
+
needs: [distinct("background", .04)]
|
|
2503
|
+
},
|
|
2504
|
+
border: {
|
|
2505
|
+
l: [.35, .42],
|
|
2506
|
+
c: [0, .035],
|
|
2507
|
+
chromaShare: .3,
|
|
2508
|
+
target: .38,
|
|
2509
|
+
name: "the rules"
|
|
2510
|
+
},
|
|
2511
|
+
accent: {
|
|
2512
|
+
l: [.76, .9],
|
|
2513
|
+
c: [.03, .13],
|
|
2514
|
+
target: .86,
|
|
2515
|
+
name: "the ornaments and the light end of the gilt",
|
|
2516
|
+
mention: true,
|
|
2517
|
+
giltEnd: true,
|
|
2518
|
+
hueFrom: "primary",
|
|
2519
|
+
needs: [
|
|
2520
|
+
contrast("background"),
|
|
2521
|
+
contrast("muted"),
|
|
2522
|
+
label
|
|
2523
|
+
]
|
|
2524
|
+
},
|
|
2525
|
+
primary: {
|
|
2526
|
+
l: [.62, .82],
|
|
2527
|
+
c: [.03, .15],
|
|
2528
|
+
target: {
|
|
2529
|
+
from: "accent",
|
|
2530
|
+
dl: -.11
|
|
2531
|
+
},
|
|
2532
|
+
hueFrom: "accent",
|
|
2533
|
+
name: "the deep end of the gilt",
|
|
2534
|
+
giltEnd: true,
|
|
2535
|
+
needs: [
|
|
2536
|
+
contrast("background"),
|
|
2537
|
+
contrast("muted"),
|
|
2538
|
+
label,
|
|
2539
|
+
distinct("accent", .06)
|
|
2540
|
+
]
|
|
2541
|
+
},
|
|
2542
|
+
secondary: {
|
|
2543
|
+
l: [.24, .38],
|
|
2544
|
+
c: [.04, .11],
|
|
2545
|
+
target: .3,
|
|
2546
|
+
name: "the deep details"
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
slots: [{
|
|
2550
|
+
roles: ["muted"],
|
|
2551
|
+
name: "the band"
|
|
2552
|
+
}, {
|
|
2553
|
+
roles: ["accent", "primary"],
|
|
2554
|
+
name: "the gilt buttons"
|
|
2555
|
+
}],
|
|
2556
|
+
order: [
|
|
2557
|
+
...groundOrder,
|
|
2558
|
+
"accent",
|
|
2559
|
+
"primary",
|
|
2560
|
+
"secondary"
|
|
2561
|
+
],
|
|
2562
|
+
neutrals: {
|
|
2563
|
+
dark: [.2, .03],
|
|
2564
|
+
light: [.95, .02]
|
|
2565
|
+
},
|
|
2566
|
+
reading: [
|
|
2567
|
+
"background",
|
|
2568
|
+
"surface",
|
|
2569
|
+
"surfaceAlt",
|
|
2570
|
+
"muted"
|
|
2571
|
+
],
|
|
2572
|
+
groundLimit: lanternLimits.maxChroma,
|
|
2573
|
+
contrast: [{
|
|
2574
|
+
label: "a warm complement on the gilt",
|
|
2575
|
+
hue: "warm-complement",
|
|
2576
|
+
second: "accent",
|
|
2577
|
+
lead: "muted",
|
|
2578
|
+
l: .84,
|
|
2579
|
+
c: [.08, .12]
|
|
2580
|
+
}, {
|
|
2581
|
+
label: "a second warm colour on the gilt",
|
|
2582
|
+
hue: "warm-other",
|
|
2583
|
+
second: "accent",
|
|
2584
|
+
lead: "muted",
|
|
2585
|
+
l: .84,
|
|
2586
|
+
c: [.08, .12]
|
|
2587
|
+
}]
|
|
2588
|
+
};
|
|
2589
|
+
/** 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. */
|
|
2590
|
+
const posterBand = {
|
|
2591
|
+
roles: ["muted", "surfaceAlt"],
|
|
2592
|
+
name: "a faint tint of it on the band"
|
|
2593
|
+
};
|
|
2594
|
+
/** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
|
|
2595
|
+
const bookingLookColourSpecs = {
|
|
2596
|
+
"site-style:fulcrum": fulcrum,
|
|
2597
|
+
"site-style:folio": folio,
|
|
2598
|
+
"site-style:measure": measure,
|
|
2599
|
+
"site-style:grounded-practice": grounded,
|
|
2600
|
+
"site-style:lantern": lantern,
|
|
2601
|
+
"site-style:poster": {
|
|
2602
|
+
roles: {
|
|
2603
|
+
...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
|
|
2604
|
+
page: .008,
|
|
2605
|
+
band: .04,
|
|
2606
|
+
bandL: [.92, .96]
|
|
2607
|
+
}),
|
|
2608
|
+
primary: {
|
|
2609
|
+
l: [.3, .62],
|
|
2610
|
+
c: [.08, .25],
|
|
2611
|
+
target: .48,
|
|
2612
|
+
name: "the big block",
|
|
2613
|
+
mention: true,
|
|
2614
|
+
needs: [
|
|
2615
|
+
contrast("surface", 3.6),
|
|
2616
|
+
contrast("background"),
|
|
2617
|
+
label
|
|
2618
|
+
]
|
|
2619
|
+
},
|
|
2620
|
+
accent: {
|
|
2621
|
+
l: [.62, .95],
|
|
2622
|
+
c: [.08, .25],
|
|
2623
|
+
target: .86,
|
|
2624
|
+
name: "the pop buttons and stickers",
|
|
2625
|
+
mention: true,
|
|
2626
|
+
analogous: true,
|
|
2627
|
+
needs: [
|
|
2628
|
+
contrast("primary"),
|
|
2629
|
+
label,
|
|
2630
|
+
distinct("primary", .15)
|
|
2631
|
+
]
|
|
2632
|
+
},
|
|
2633
|
+
secondary: {
|
|
2634
|
+
l: [.15, .32],
|
|
2635
|
+
c: [.03, .15],
|
|
2636
|
+
target: .24,
|
|
2637
|
+
name: "the hard shadows",
|
|
2638
|
+
needs: [distinct("primary", .1)]
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
slots: [{
|
|
2642
|
+
roles: ["primary"],
|
|
2643
|
+
name: "the big block"
|
|
2644
|
+
}, {
|
|
2645
|
+
roles: ["accent"],
|
|
2646
|
+
name: "the pop buttons and stickers"
|
|
2647
|
+
}],
|
|
2648
|
+
order: [
|
|
2649
|
+
...groundOrder,
|
|
2650
|
+
"primary",
|
|
2651
|
+
"accent",
|
|
2652
|
+
"secondary"
|
|
2653
|
+
],
|
|
2654
|
+
neutrals: {
|
|
2655
|
+
dark: [.2, .04],
|
|
2656
|
+
light: [1, 0]
|
|
2657
|
+
},
|
|
2658
|
+
reading: lightReading,
|
|
2659
|
+
groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
|
|
2660
|
+
contrast: [{
|
|
2661
|
+
label: "the complement on the pop buttons",
|
|
2662
|
+
hue: "complement",
|
|
2663
|
+
second: "accent",
|
|
2664
|
+
lead: "primary",
|
|
2665
|
+
alsoTints: posterBand,
|
|
2666
|
+
l: .82,
|
|
2667
|
+
c: [.12, .15]
|
|
2668
|
+
}, {
|
|
2669
|
+
label: "a warm triadic partner on the pop buttons",
|
|
2670
|
+
hue: "triadic-warm",
|
|
2671
|
+
second: "accent",
|
|
2672
|
+
lead: "primary",
|
|
2673
|
+
alsoTints: posterBand,
|
|
2674
|
+
l: .82,
|
|
2675
|
+
c: [.12, .15]
|
|
2676
|
+
}]
|
|
2677
|
+
}
|
|
2678
|
+
};
|
|
2679
|
+
//#endregion
|
|
1993
2680
|
//#region ../theme-core/src/site-styles/footerLookDefaults.ts
|
|
1994
2681
|
const defaultFooterLookRecipes = {
|
|
1995
2682
|
"footer-centred-name": {
|
|
@@ -6706,8 +7393,11 @@ const bookingPageNoPhotoHeroLookIds = {
|
|
|
6706
7393
|
"site-style:poster": "hero-page-head"
|
|
6707
7394
|
};
|
|
6708
7395
|
function bookingPageOfferingFor(siteStyleId) {
|
|
6709
|
-
const
|
|
6710
|
-
return
|
|
7396
|
+
const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
|
|
7397
|
+
return lookId ? {
|
|
7398
|
+
noPhotoHeroLookId: asAppearancePresetId(bookingPageNoPhotoHeroLookIds[lookId]),
|
|
7399
|
+
colourSpec: bookingLookColourSpecs[lookId]
|
|
7400
|
+
} : void 0;
|
|
6711
7401
|
}
|
|
6712
7402
|
function clientStyleMatchesSite(siteSlugs, target) {
|
|
6713
7403
|
if (target.audience !== "site-picker" && target.audience !== "local-demo") return false;
|
|
@@ -7060,7 +7750,11 @@ const headerCurationBySiteStyle = {
|
|
|
7060
7750
|
"site-style:folio": defineHeaderCuration([
|
|
7061
7751
|
{
|
|
7062
7752
|
layoutId: "floating",
|
|
7063
|
-
styleIds: [
|
|
7753
|
+
styleIds: [
|
|
7754
|
+
"minimal-surface",
|
|
7755
|
+
"soft-shell",
|
|
7756
|
+
"glass"
|
|
7757
|
+
]
|
|
7064
7758
|
},
|
|
7065
7759
|
{
|
|
7066
7760
|
layoutId: "classic",
|
|
@@ -7707,6 +8401,11 @@ const folioLooks = {
|
|
|
7707
8401
|
treatment: "hero-short-panel",
|
|
7708
8402
|
roleMap: folioRoles
|
|
7709
8403
|
},
|
|
8404
|
+
{
|
|
8405
|
+
id: id("hero-text-over-photo"),
|
|
8406
|
+
treatment: "hero-photo-overlay",
|
|
8407
|
+
roleMap: folioRoles
|
|
8408
|
+
},
|
|
7710
8409
|
{
|
|
7711
8410
|
id: id("hero-page-head"),
|
|
7712
8411
|
treatment: "hero-ruled",
|
|
@@ -7757,10 +8456,7 @@ const folioLooks = {
|
|
|
7757
8456
|
id: id("event-calendar-ruled-rows"),
|
|
7758
8457
|
treatment: "calendar-card",
|
|
7759
8458
|
itemRoles: { container: "card" },
|
|
7760
|
-
|
|
7761
|
-
source: "text",
|
|
7762
|
-
opacity: 8
|
|
7763
|
-
} },
|
|
8459
|
+
knobValues: { actionStyle: ["button"] },
|
|
7764
8460
|
roleMap: folioRoles
|
|
7765
8461
|
},
|
|
7766
8462
|
{
|
|
@@ -7771,6 +8467,7 @@ const folioLooks = {
|
|
|
7771
8467
|
{
|
|
7772
8468
|
id: id("event-calendar-next-three"),
|
|
7773
8469
|
treatment: "calendar-compact",
|
|
8470
|
+
knobValues: { actionStyle: ["button"] },
|
|
7774
8471
|
roleMap: folioRoles
|
|
7775
8472
|
},
|
|
7776
8473
|
{
|
|
@@ -10173,12 +10870,15 @@ const curatedSiteStyles = [
|
|
|
10173
10870
|
accordions: editorialDividedAccordionSystem,
|
|
10174
10871
|
testimonialQuote: serifDisplayQuote
|
|
10175
10872
|
},
|
|
10176
|
-
headerStyleRecipes: { "
|
|
10873
|
+
headerStyleRecipes: { "soft-shell": {
|
|
10177
10874
|
tone: "neutral",
|
|
10875
|
+
dropdown: neutralHeaderDropdown,
|
|
10178
10876
|
background: { kind: "transparent" },
|
|
10179
10877
|
nav: {
|
|
10180
|
-
kind: "
|
|
10181
|
-
|
|
10878
|
+
kind: "pill",
|
|
10879
|
+
backing: "capsule",
|
|
10880
|
+
hoverColorToken: "primary",
|
|
10881
|
+
hoverAlpha: 8
|
|
10182
10882
|
},
|
|
10183
10883
|
navWeight: "medium",
|
|
10184
10884
|
navLinkWeight: "medium",
|
|
@@ -10270,6 +10970,7 @@ const curatedSiteStyles = [
|
|
|
10270
10970
|
},
|
|
10271
10971
|
headerStyleRecipes: { "serif-line": {
|
|
10272
10972
|
tone: "neutral",
|
|
10973
|
+
dropdown: neutralHeaderDropdown,
|
|
10273
10974
|
background: {
|
|
10274
10975
|
kind: "token",
|
|
10275
10976
|
token: "background"
|
|
@@ -10864,4 +11565,4 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
|
|
|
10864
11565
|
};
|
|
10865
11566
|
}
|
|
10866
11567
|
//#endregion
|
|
10867
|
-
export { footerForegroundCandidates as A,
|
|
11568
|
+
export { footerForegroundCandidates as A, transitionCatalogueEntries as B, requireCuratedSiteStyle as C, parseGradientPresetId as D, getGradientPreset as E, pageDesignDecisionsV2Schema as F, cardListFamilyBlocks as H, headerNeedsPhotoShade as I, headerRootPaint as L, generateNavLinkCSS as M, bookingPageLookIdValues as N, generatedDesignOptionCatalog as O, parseBookingPageLookId as P, boundaryRuntimeMetricsForDecorativeTransition as R, offeredSiteStyles as S, gradientToCss as T, cardListKnobBlocks as U, resolveEffectiveKnobs as V, resolveEffectiveArrangement as _, readOpeningForegroundProjection as a, deriveSiteStyleBlockPolicy as b, headerNavTypographyPreferenceValues as c, arrangementLookHooks as d, arrangementSlotNames as f, readStoredMode as g, arrangementManifestFromVariants as h, transparentHeaderForegroundInput as i, buildTextContrastShadow as j, generateFooterCss as k, mergeHeaderNavTypographyPreference as l, resolveLookSlotSurfaces as m, headerForegroundCandidates as n, defaultHeaderNavPreferences as o, resolveItemSurface as p, headerLeafTextColor as r, headerNavFontSizePreferenceValues as s, effectiveHeaderNavLinkStyle as t, readHeaderNavFontSizePreference as u, resolveModeArrangement as v, compiledRuntimeStyleFieldNames as w, curatedSiteStyleIdValues as x, resolvePublishedLook as y, anglePolygonCss as z };
|