@riverbankcms/sdk 0.162.0 → 0.164.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/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-CDzsagB2.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-CbeYTSry.d.ts} +13 -41
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types--uYRIcIF.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
- package/dist/_dts/{index-DEu85xBt.d.ts → index-BZE-1azr.d.ts} +1 -1
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-BpEbwDM7.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-CjdIn9-_.d.ts} +2 -2
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DYQFmf--.d.ts} +4 -3
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-D_pQO-AS.d.ts} +21723 -21361
- package/dist/_dts/{index-Du1IRglc.d.ts → index-DriYVLfT.d.ts} +2 -2
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-JS8WYgD3.d.ts} +31248 -30975
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-wegfy7lf.d.ts} +3 -3
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- 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/spam-protection/index.d.ts +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DiciZDrk.d.ts} +3 -3
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-DubJnBnI.d.ts} +7 -7
- package/dist/_dts/{types-CfNG5koF.d.ts → types-W40f2olO.d.ts} +3 -2
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-BF4_zNkR.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-hrSyTApW.mjs} +102 -22
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-Dub71o3c.mjs} +956 -378
- package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-vCG_JC5t.mjs} +1 -1
- package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-FM1mkkL0.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-BDFhbh9j.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-x3HOke6T.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-BibhwnTd.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-BFwxgZpB.mjs → context-BNAM7NsW.mjs} +17 -3
- package/dist/client/{cta-DtA42Xio.mjs → cta-ChiN1Vgg.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-GXqjObPC.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-CoKNba2e.mjs} +33 -24
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-magB_epJ.mjs} +6 -5
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BiloOyjS.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-BMQCPHT3.mjs} +2 -2
- package/dist/client/mediaAssets-BX-vWwQc.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-C2vZse15.mjs} +3 -3
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BsCao6X4.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-Cc-PmbEe.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BMsWpx8y.mjs +894 -0
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-BpLZo3bC.mjs} +27 -24
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-DMUkBtIO.mjs} +3517 -3147
- package/dist/client/{shop-CF0dhnfH.mjs → shop-DyXtB5TD.mjs} +3 -3
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-QOKqQPgK.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-BQdm441g.mjs} +62 -34
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-CyW6MU48.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-BLHYJ8S7.mjs} +755 -35
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
- package/dist/client/{view-DMyTchi7.mjs → view-BnaOmrap.mjs} +4 -4
- package/dist/client/{view-BpBjo9Te.mjs → view-vhKGFfC3.mjs} +7 -7
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
- 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-43wIAWr4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +74 -72
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-C-1zDCR_.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +371 -1433
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-g7NPrsGp.mjs} +462 -110
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-By_zfrS5.mjs} +164988 -163471
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-BiSyYyyr.mjs} +10854 -9509
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-DnWpeDp2.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-D5tHZEz5.mjs} +40 -42
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Iy7g11iP.mjs} +17 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-BVJGgUT0.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-CiKaE8ms.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +725 -18
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-BuintpdO.mjs} +6 -4
- package/dist/server/loadPage-BwjncpJf.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-Dk4wea8M.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-DVemf-GV.mjs} +231 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-DubLNgRH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Bnbwoe5n.mjs} +53 -28
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-D3Fc5TKk.mjs} +85 -70
- package/dist/server/{registry-Digv02oV.mjs → registry-zjd1P2Dl.mjs} +127 -59
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-BlTWmTSl.mjs} +4163 -3793
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-yHytcXIB.mjs} +33 -20
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +159 -107
- package/dist/server/{src-08GY1njw.mjs → src-cbbK3Bho.mjs} +547 -147
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-CGH-Xs4E.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-DoOG6F13.mjs} +1 -1
- package/dist/styles/index.css +399 -112
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-C39F9KaB.d.ts +0 -77
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-EDSdd_oK.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-BlTWmTSl.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": {
|
|
@@ -6319,7 +7006,6 @@ z.object({
|
|
|
6319
7006
|
fields: nonEmptyRuntimeStyleFieldNamesSchema,
|
|
6320
7007
|
authority: styleAuthoritySchema
|
|
6321
7008
|
}).strict();
|
|
6322
|
-
asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
|
|
6323
7009
|
/**
|
|
6324
7010
|
* Curated library of gradient presets.
|
|
6325
7011
|
* All gradients use theme color tokens, so they adapt to the site's palette.
|
|
@@ -6706,8 +7392,11 @@ const bookingPageNoPhotoHeroLookIds = {
|
|
|
6706
7392
|
"site-style:poster": "hero-page-head"
|
|
6707
7393
|
};
|
|
6708
7394
|
function bookingPageOfferingFor(siteStyleId) {
|
|
6709
|
-
const
|
|
6710
|
-
return
|
|
7395
|
+
const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
|
|
7396
|
+
return lookId ? {
|
|
7397
|
+
noPhotoHeroLookId: asAppearancePresetId(bookingPageNoPhotoHeroLookIds[lookId]),
|
|
7398
|
+
colourSpec: bookingLookColourSpecs[lookId]
|
|
7399
|
+
} : void 0;
|
|
6711
7400
|
}
|
|
6712
7401
|
function clientStyleMatchesSite(siteSlugs, target) {
|
|
6713
7402
|
if (target.audience !== "site-picker" && target.audience !== "local-demo") return false;
|
|
@@ -7060,7 +7749,11 @@ const headerCurationBySiteStyle = {
|
|
|
7060
7749
|
"site-style:folio": defineHeaderCuration([
|
|
7061
7750
|
{
|
|
7062
7751
|
layoutId: "floating",
|
|
7063
|
-
styleIds: [
|
|
7752
|
+
styleIds: [
|
|
7753
|
+
"minimal-surface",
|
|
7754
|
+
"soft-shell",
|
|
7755
|
+
"glass"
|
|
7756
|
+
]
|
|
7064
7757
|
},
|
|
7065
7758
|
{
|
|
7066
7759
|
layoutId: "classic",
|
|
@@ -7263,6 +7956,7 @@ const loomLooks = {
|
|
|
7263
7956
|
"band"
|
|
7264
7957
|
]
|
|
7265
7958
|
},
|
|
7959
|
+
defaultJoin: noneBoundaryOption.id,
|
|
7266
7960
|
offers: [
|
|
7267
7961
|
{
|
|
7268
7962
|
id: id("event-details-panel"),
|
|
@@ -7290,7 +7984,8 @@ const loomLooks = {
|
|
|
7290
7984
|
{
|
|
7291
7985
|
id: id("team-members-tall-portraits"),
|
|
7292
7986
|
treatment: "team-tall-portraits",
|
|
7293
|
-
roleMap: loomRoles
|
|
7987
|
+
roleMap: loomRoles,
|
|
7988
|
+
itemRoles: { items: "card" }
|
|
7294
7989
|
},
|
|
7295
7990
|
{
|
|
7296
7991
|
id: id("shop-price-cards-featured"),
|
|
@@ -7368,7 +8063,8 @@ const loomLooks = {
|
|
|
7368
8063
|
{
|
|
7369
8064
|
id: id("location-map-beside-address"),
|
|
7370
8065
|
treatment: "map-beside-address",
|
|
7371
|
-
roleMap: loomRoles
|
|
8066
|
+
roleMap: loomRoles,
|
|
8067
|
+
slotRoles: { panel: "card" }
|
|
7372
8068
|
},
|
|
7373
8069
|
{
|
|
7374
8070
|
id: id("event-calendar-month-grid"),
|
|
@@ -7707,6 +8403,11 @@ const folioLooks = {
|
|
|
7707
8403
|
treatment: "hero-short-panel",
|
|
7708
8404
|
roleMap: folioRoles
|
|
7709
8405
|
},
|
|
8406
|
+
{
|
|
8407
|
+
id: id("hero-text-over-photo"),
|
|
8408
|
+
treatment: "hero-photo-overlay",
|
|
8409
|
+
roleMap: folioRoles
|
|
8410
|
+
},
|
|
7710
8411
|
{
|
|
7711
8412
|
id: id("hero-page-head"),
|
|
7712
8413
|
treatment: "hero-ruled",
|
|
@@ -7757,10 +8458,7 @@ const folioLooks = {
|
|
|
7757
8458
|
id: id("event-calendar-ruled-rows"),
|
|
7758
8459
|
treatment: "calendar-card",
|
|
7759
8460
|
itemRoles: { container: "card" },
|
|
7760
|
-
|
|
7761
|
-
source: "text",
|
|
7762
|
-
opacity: 8
|
|
7763
|
-
} },
|
|
8461
|
+
knobValues: { actionStyle: ["button"] },
|
|
7764
8462
|
roleMap: folioRoles
|
|
7765
8463
|
},
|
|
7766
8464
|
{
|
|
@@ -7771,6 +8469,7 @@ const folioLooks = {
|
|
|
7771
8469
|
{
|
|
7772
8470
|
id: id("event-calendar-next-three"),
|
|
7773
8471
|
treatment: "calendar-compact",
|
|
8472
|
+
knobValues: { actionStyle: ["button"] },
|
|
7774
8473
|
roleMap: folioRoles
|
|
7775
8474
|
},
|
|
7776
8475
|
{
|
|
@@ -10173,12 +10872,15 @@ const curatedSiteStyles = [
|
|
|
10173
10872
|
accordions: editorialDividedAccordionSystem,
|
|
10174
10873
|
testimonialQuote: serifDisplayQuote
|
|
10175
10874
|
},
|
|
10176
|
-
headerStyleRecipes: { "
|
|
10875
|
+
headerStyleRecipes: { "soft-shell": {
|
|
10177
10876
|
tone: "neutral",
|
|
10877
|
+
dropdown: neutralHeaderDropdown,
|
|
10178
10878
|
background: { kind: "transparent" },
|
|
10179
10879
|
nav: {
|
|
10180
|
-
kind: "
|
|
10181
|
-
|
|
10880
|
+
kind: "pill",
|
|
10881
|
+
backing: "capsule",
|
|
10882
|
+
hoverColorToken: "primary",
|
|
10883
|
+
hoverAlpha: 8
|
|
10182
10884
|
},
|
|
10183
10885
|
navWeight: "medium",
|
|
10184
10886
|
navLinkWeight: "medium",
|
|
@@ -10270,6 +10972,7 @@ const curatedSiteStyles = [
|
|
|
10270
10972
|
},
|
|
10271
10973
|
headerStyleRecipes: { "serif-line": {
|
|
10272
10974
|
tone: "neutral",
|
|
10975
|
+
dropdown: neutralHeaderDropdown,
|
|
10273
10976
|
background: {
|
|
10274
10977
|
kind: "token",
|
|
10275
10978
|
token: "background"
|
|
@@ -10282,7 +10985,7 @@ const curatedSiteStyles = [
|
|
|
10282
10985
|
navWeight: "semibold",
|
|
10283
10986
|
navLinkWeight: "semibold",
|
|
10284
10987
|
navTypography: "plain",
|
|
10285
|
-
border: "
|
|
10988
|
+
border: "none",
|
|
10286
10989
|
shadow: { kind: "explicit-none" },
|
|
10287
10990
|
frame: { kind: "none" },
|
|
10288
10991
|
logo: {
|
|
@@ -10712,11 +11415,11 @@ function itemSurfaceSpec(role, ground, style) {
|
|
|
10712
11415
|
return spec;
|
|
10713
11416
|
}
|
|
10714
11417
|
/** Fixed standalone slots and collection slots share the role resolver. */
|
|
10715
|
-
function resolveLookSlotSurfaces(look, roles, surfaces) {
|
|
11418
|
+
function resolveLookSlotSurfaces({ look, slotRoles }, roles, surfaces) {
|
|
10716
11419
|
const arrangement = Object.values(look.structure.byMode)[0];
|
|
10717
11420
|
const container = arrangement === "compact" ? "panel" : look.target === "events" ? "list" : "items";
|
|
10718
11421
|
const entries = [
|
|
10719
|
-
...Object.entries(
|
|
11422
|
+
...Object.entries(slotRoles).map(([slot, role]) => [slot, surfaces[role]]),
|
|
10720
11423
|
...roles.container ? [[container, surfaces[roles.container]]] : [],
|
|
10721
11424
|
...roles.items ? [
|
|
10722
11425
|
["item", surfaces[roles.items]],
|
|
@@ -10814,6 +11517,10 @@ function glassStateEffects(opacity) {
|
|
|
10814
11517
|
function readOpeningForegroundProjection(header) {
|
|
10815
11518
|
return header?.__runtimeOpeningForeground ?? null;
|
|
10816
11519
|
}
|
|
11520
|
+
/** Decided by the foreground compiler, independently of scrolling behavior. */
|
|
11521
|
+
function readOpeningToneProjection(header) {
|
|
11522
|
+
return header.__runtimeOpeningTone ?? null;
|
|
11523
|
+
}
|
|
10817
11524
|
//#endregion
|
|
10818
11525
|
//#region ../theme-core/src/header/effectiveNavLinkStyle.ts
|
|
10819
11526
|
function effectiveHeaderNavLinkStyle(header, contrastTreatment = null, navTextSize = null) {
|
|
@@ -10864,4 +11571,4 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
|
|
|
10864
11571
|
};
|
|
10865
11572
|
}
|
|
10866
11573
|
//#endregion
|
|
10867
|
-
export {
|
|
11574
|
+
export { generateFooterCss as A, noneBoundaryOption as B, offeredSiteStyles as C, getGradientPreset as D, gradientToCss as E, parseBookingPageLookId as F, resolveEffectiveKnobs as G, spaciousBoundaryOption as H, pageDesignDecisionsV2Schema as I, cardListFamilyBlocks as K, headerNeedsPhotoShade as L, buildTextContrastShadow as M, generateNavLinkCSS as N, parseGradientPresetId as O, bookingPageLookIdValues as P, headerRootPaint as R, curatedSiteStyleIdValues as S, compiledRuntimeStyleFieldNames as T, anglePolygonCss as U, softBoundaryOption as V, transitionCatalogueEntries as W, readStoredMode as _, readOpeningForegroundProjection as a, resolvePublishedLook as b, headerNavFontSizePreferenceValues as c, readHeaderNavFontSizePreference as d, arrangementLookHooks as f, arrangementManifestFromVariants as g, resolveLookSlotSurfaces as h, transparentHeaderForegroundInput as i, footerForegroundCandidates as j, generatedDesignOptionCatalog as k, headerNavTypographyPreferenceValues as l, resolveItemSurface as m, headerForegroundCandidates as n, readOpeningToneProjection as o, arrangementSlotNames as p, cardListKnobBlocks as q, headerLeafTextColor as r, defaultHeaderNavPreferences as s, effectiveHeaderNavLinkStyle as t, mergeHeaderNavTypographyPreference as u, resolveEffectiveArrangement as v, requireCuratedSiteStyle as w, deriveSiteStyleBlockPolicy as x, resolveModeArrangement as y, boundaryRuntimeMetricsForDecorativeTransition as z };
|