@riverbankcms/sdk 0.164.0 → 0.165.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
- package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
- package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
- package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
- package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
- package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
- package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -13
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
- package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
- package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
- package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
- package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
- package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +914 -10
- package/package.json +1 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as generateInteractiveChildInheritanceCSS,
|
|
2
|
+
import { $ as generateInteractiveChildInheritanceCSS, $t as resolveSurface, At as assertNever, Bt as isArrangementMode, Ct as asDesignBlockId, Dt as asLayoutVariantKey, En as expandPalette, Et as asDesignSystemTemplateId, G as headerInteractionPaletteValues, Gn as paletteColorsSchema, Gt as plainFrame, H as cardRoleValues, Hn as resolveConcreteColorHex, Ht as noHeadingDecoration, In as surfaceForegroundInputFromResolved, J as logoSizePolicyValues, Jn as paletteValueKeySchema, K as headerInteractionQuietPalette, Kn as paletteModeSchema, Kt as requireNonEmptyReadonlyArray, Lt as flushPanelFrame, Mt as defineExactCatalog, On as planForegroundHover, Ot as asPageFlowPresetId, Q as generateBaseInteractiveCSS, Rn as surfaceForegroundValue, St as asBoundaryOptionId, Tt as asDesignPageId, V as cardRoleSchema, Vt as makeBoundaryId, Wn as hexColorSchema, Wt as panelFrame, X as buttonStyleSelectionSchema, Y as defaultButtonStyleSelectionFor, Yn as requirePaletteColorsFromEntries, Z as generateEffectsCSS, Zn as featuresFromHex, _t as themeV2RuntimeStyleFieldNames, at as navLinkHoverColorCandidate, bn as resolveSurfaceForeground, bt as asBlockContentVersionId, ct as navEffectPolicy, et as NAV_LINK_BORDER_RADIUS_MAP, fn as rgbColorValue, ft as runtimeBoxBackgroundSchema, it as NAV_LINK_TEXT_SIZE_MAP, kn as TokenResolver, kt as asSiteStyleId, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nn as gradientScrimSamples, nr as parseThemeColorToken, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, qn as paletteValueKey, rn as scrimTone, rr as themeColorShadeSteps, rt as NAV_LINK_PADDING_X_MAP, st as navLinkOwnsUnderline, tr as unsafeAsOpaqueButtonColourToken, tt as NAV_LINK_LETTER_SPACING_MAP, vr as parseEditorSessionGeneration, vt as arrangementModes, wt as asDesignBoundaryId, xt as asBlockOrderIndex, yn as surfaceToneFromForegroundToken, yt as asAppearancePresetId } from "./schema-BdSglH2X.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../theme-core/src/site-styles/appearancePresetTypes.ts
|
|
5
5
|
/** Block supply is capability, never a second Look catalogue. */
|
|
@@ -64,6 +64,9 @@ const lookKnobBlocks = {
|
|
|
64
64
|
showPhotos: cardListKnobBlocks,
|
|
65
65
|
cardMarker: cardListFamilyBlocks,
|
|
66
66
|
dates: "block.offerings-preview",
|
|
67
|
+
columns: "block.feature-cards",
|
|
68
|
+
listColumns: "block.event-calendar",
|
|
69
|
+
blackAndWhite: "block.image-gallery",
|
|
67
70
|
showCapacity: "block.event-calendar",
|
|
68
71
|
quoteCount: "block.testimonials",
|
|
69
72
|
archFrame: [
|
|
@@ -73,6 +76,11 @@ const lookKnobBlocks = {
|
|
|
73
76
|
],
|
|
74
77
|
tilt: "block.testimonials"
|
|
75
78
|
};
|
|
79
|
+
/** Facts about how the owner set the block up, rather than what they filled in. */
|
|
80
|
+
const lookSettingFacts = ["listed-by-week"];
|
|
81
|
+
function isLookSettingFact(fact) {
|
|
82
|
+
return lookSettingFacts.includes(fact);
|
|
83
|
+
}
|
|
76
84
|
function isArrangementAppearancePreset(preset) {
|
|
77
85
|
return preset.structure.kind === "arrangement";
|
|
78
86
|
}
|
|
@@ -113,13 +121,15 @@ const arrangementLookTargets = {
|
|
|
113
121
|
"cta-full": "cta",
|
|
114
122
|
"location-map": "location"
|
|
115
123
|
};
|
|
116
|
-
function defineArrangementLook(id, block, name, arrangement, knobs, input
|
|
124
|
+
function defineArrangementLook(id, block, name, arrangement, knobs, input) {
|
|
117
125
|
const mode = block === "event-calendar" ? "list" : null;
|
|
126
|
+
const { thumbnail, ...structure } = input;
|
|
118
127
|
return {
|
|
119
128
|
id: asAppearancePresetId(id),
|
|
120
129
|
blockKinds: [`block.${block}`],
|
|
121
130
|
label: name,
|
|
122
131
|
target: arrangementLookTargets[block],
|
|
132
|
+
thumbnail,
|
|
123
133
|
structure: {
|
|
124
134
|
kind: "arrangement",
|
|
125
135
|
byMode: { [mode ?? "default"]: arrangement },
|
|
@@ -127,12 +137,13 @@ function defineArrangementLook(id, block, name, arrangement, knobs, input = {})
|
|
|
127
137
|
itemRoles: {},
|
|
128
138
|
whenMissing: [],
|
|
129
139
|
styleFallback: [],
|
|
130
|
-
|
|
131
|
-
...
|
|
140
|
+
photoUse: "none",
|
|
141
|
+
...structure,
|
|
142
|
+
...cardListKnobDefaults(block, arrangement, knobs, structure.knobDefaults)
|
|
132
143
|
}
|
|
133
144
|
};
|
|
134
145
|
}
|
|
135
|
-
function defineCardListLook(id, name, arrangement, requires, knobs, input
|
|
146
|
+
function defineCardListLook(id, name, arrangement, requires, knobs, input) {
|
|
136
147
|
const base = defineArrangementLook(id, "feature-cards", name, arrangement, knobs, input);
|
|
137
148
|
return {
|
|
138
149
|
...base,
|
|
@@ -152,6 +163,119 @@ function defineCardListLook(id, name, arrangement, requires, knobs, input = {})
|
|
|
152
163
|
};
|
|
153
164
|
}
|
|
154
165
|
//#endregion
|
|
166
|
+
//#region ../theme-core/src/site-styles/lookThumbnail.ts
|
|
167
|
+
/** Short builders, so each Look's drawing reads as one line in the catalogue. */
|
|
168
|
+
const sketch = {
|
|
169
|
+
page: (items, options = {}) => ({
|
|
170
|
+
ground: options.ground ?? "page",
|
|
171
|
+
align: options.align ?? "start",
|
|
172
|
+
items
|
|
173
|
+
}),
|
|
174
|
+
band: (items, options = {}) => ({
|
|
175
|
+
ground: "band",
|
|
176
|
+
align: options.align ?? "start",
|
|
177
|
+
items
|
|
178
|
+
}),
|
|
179
|
+
rule: { kind: "rule" },
|
|
180
|
+
title: (width = .55, size = "medium") => ({
|
|
181
|
+
kind: "title",
|
|
182
|
+
width,
|
|
183
|
+
size
|
|
184
|
+
}),
|
|
185
|
+
text: (lines = 3, width = 1) => ({
|
|
186
|
+
kind: "text",
|
|
187
|
+
lines,
|
|
188
|
+
width
|
|
189
|
+
}),
|
|
190
|
+
photo: (height = "medium", shape = "rect") => ({
|
|
191
|
+
kind: "photo",
|
|
192
|
+
shape,
|
|
193
|
+
height
|
|
194
|
+
}),
|
|
195
|
+
button: {
|
|
196
|
+
kind: "button",
|
|
197
|
+
style: "solid"
|
|
198
|
+
},
|
|
199
|
+
link: {
|
|
200
|
+
kind: "button",
|
|
201
|
+
style: "link"
|
|
202
|
+
},
|
|
203
|
+
field: { kind: "field" },
|
|
204
|
+
quote: (size = "small") => ({
|
|
205
|
+
kind: "quote",
|
|
206
|
+
size
|
|
207
|
+
}),
|
|
208
|
+
map: { kind: "map" },
|
|
209
|
+
calendar: { kind: "calendar" },
|
|
210
|
+
number: { kind: "number" },
|
|
211
|
+
price: { kind: "price" },
|
|
212
|
+
divider: { kind: "divider" },
|
|
213
|
+
row: (...columns) => ({
|
|
214
|
+
kind: "row",
|
|
215
|
+
align: "start",
|
|
216
|
+
columns: columns.map((column) => "items" in column ? column : {
|
|
217
|
+
weight: 1,
|
|
218
|
+
items: column
|
|
219
|
+
})
|
|
220
|
+
}),
|
|
221
|
+
middle: (...columns) => ({
|
|
222
|
+
kind: "row",
|
|
223
|
+
align: "center",
|
|
224
|
+
columns: columns.map((column) => "items" in column ? column : {
|
|
225
|
+
weight: 1,
|
|
226
|
+
items: column
|
|
227
|
+
})
|
|
228
|
+
}),
|
|
229
|
+
weight: (weight, items) => ({
|
|
230
|
+
weight,
|
|
231
|
+
items
|
|
232
|
+
}),
|
|
233
|
+
card: (items) => ({
|
|
234
|
+
kind: "box",
|
|
235
|
+
frame: "card",
|
|
236
|
+
items
|
|
237
|
+
}),
|
|
238
|
+
panel: (items) => ({
|
|
239
|
+
kind: "box",
|
|
240
|
+
frame: "panel",
|
|
241
|
+
items
|
|
242
|
+
}),
|
|
243
|
+
accentCard: (items) => ({
|
|
244
|
+
kind: "box",
|
|
245
|
+
frame: "accent",
|
|
246
|
+
items
|
|
247
|
+
}),
|
|
248
|
+
featured: (items) => ({
|
|
249
|
+
kind: "box",
|
|
250
|
+
frame: "featured",
|
|
251
|
+
items
|
|
252
|
+
}),
|
|
253
|
+
across: (count, item, options = {}) => ({
|
|
254
|
+
kind: "repeat",
|
|
255
|
+
count,
|
|
256
|
+
direction: "row",
|
|
257
|
+
item,
|
|
258
|
+
ruled: false,
|
|
259
|
+
overflow: options.overflow ?? false,
|
|
260
|
+
arrows: options.arrows ?? false
|
|
261
|
+
}),
|
|
262
|
+
down: (count, item, options = {}) => ({
|
|
263
|
+
kind: "repeat",
|
|
264
|
+
count,
|
|
265
|
+
direction: "column",
|
|
266
|
+
item,
|
|
267
|
+
ruled: options.ruled ?? false,
|
|
268
|
+
overflow: false,
|
|
269
|
+
arrows: false
|
|
270
|
+
}),
|
|
271
|
+
over: (photo, items, options = {}) => ({
|
|
272
|
+
kind: "overlay",
|
|
273
|
+
photo,
|
|
274
|
+
items,
|
|
275
|
+
panel: options.panel ?? false
|
|
276
|
+
})
|
|
277
|
+
};
|
|
278
|
+
//#endregion
|
|
155
279
|
//#region ../theme-core/src/site-styles/lookOptionGroups.ts
|
|
156
280
|
function defineLookOptionGroup(group) {
|
|
157
281
|
defaultOption(group);
|
|
@@ -1157,35 +1281,93 @@ const appearancePresets = [
|
|
|
1157
1281
|
eyebrowTreatment: "accent"
|
|
1158
1282
|
}
|
|
1159
1283
|
}),
|
|
1160
|
-
defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", []
|
|
1284
|
+
defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", [], { thumbnail: sketch.page([
|
|
1285
|
+
sketch.rule,
|
|
1286
|
+
sketch.title(.5),
|
|
1287
|
+
sketch.text(4)
|
|
1288
|
+
], { align: "center" }) }),
|
|
1161
1289
|
defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside a framed form", "two-column", [], {
|
|
1290
|
+
thumbnail: sketch.page([sketch.middle([
|
|
1291
|
+
sketch.rule,
|
|
1292
|
+
sketch.title(.8),
|
|
1293
|
+
sketch.text(3)
|
|
1294
|
+
], [sketch.panel([
|
|
1295
|
+
sketch.field,
|
|
1296
|
+
sketch.field,
|
|
1297
|
+
sketch.button
|
|
1298
|
+
])])]),
|
|
1162
1299
|
slotRoles: { panel: "card" },
|
|
1163
1300
|
styleFallback: [id$1("form-below-introduction")]
|
|
1164
1301
|
}),
|
|
1165
|
-
defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], {
|
|
1166
|
-
|
|
1167
|
-
|
|
1302
|
+
defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], {
|
|
1303
|
+
thumbnail: sketch.band([sketch.panel([
|
|
1304
|
+
sketch.title(.6),
|
|
1305
|
+
sketch.text(1, .7),
|
|
1306
|
+
sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
|
|
1307
|
+
])], { align: "center" }),
|
|
1308
|
+
styleFallback: [id$1("newsletter-signup-text-beside")]
|
|
1309
|
+
}),
|
|
1310
|
+
defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], { thumbnail: sketch.page([
|
|
1311
|
+
sketch.title(.4),
|
|
1312
|
+
sketch.across(4, [sketch.photo("short")]),
|
|
1313
|
+
sketch.across(4, [sketch.photo("short")])
|
|
1314
|
+
]) }),
|
|
1315
|
+
defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", ["blackAndWhite"], {
|
|
1316
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall", "arch"), sketch.text(1, .7)])]),
|
|
1317
|
+
styleFallback: [id$1("image-gallery-square-tiles")]
|
|
1318
|
+
}),
|
|
1168
1319
|
defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
|
|
1320
|
+
thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [sketch.title(.8), sketch.text(3)])]),
|
|
1169
1321
|
forcedKnobs: {
|
|
1170
1322
|
imageShape: "circle",
|
|
1171
1323
|
aspectRatio: "1/1"
|
|
1172
1324
|
},
|
|
1173
1325
|
styleFallback: [id$1("media-text-photo-beside-text")]
|
|
1174
1326
|
}),
|
|
1175
|
-
defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
|
|
1327
|
+
defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
|
|
1328
|
+
photoUse: "beside",
|
|
1329
|
+
thumbnail: sketch.page([sketch.middle([
|
|
1330
|
+
sketch.rule,
|
|
1331
|
+
sketch.title(.95, "large"),
|
|
1332
|
+
sketch.title(.7, "large"),
|
|
1333
|
+
sketch.text(2),
|
|
1334
|
+
sketch.button
|
|
1335
|
+
], [sketch.photo("tall")])]),
|
|
1336
|
+
slotRoles: { sticker: "highlight" }
|
|
1337
|
+
}),
|
|
1176
1338
|
defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
|
|
1339
|
+
photoUse: "beside",
|
|
1340
|
+
thumbnail: sketch.page([sketch.title(.9, "large"), sketch.row([sketch.text(3), sketch.button], [sketch.photo("medium")])]),
|
|
1177
1341
|
slotRoles: { sticker: "highlight" },
|
|
1178
1342
|
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1179
1343
|
}),
|
|
1180
1344
|
defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
|
|
1345
|
+
photoUse: "beside",
|
|
1346
|
+
thumbnail: sketch.page([
|
|
1347
|
+
sketch.title(.6, "large"),
|
|
1348
|
+
sketch.text(1, .5),
|
|
1349
|
+
sketch.across(3, [sketch.photo("short")])
|
|
1350
|
+
], { align: "center" }),
|
|
1181
1351
|
slotRoles: { sticker: "highlight" },
|
|
1182
1352
|
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1183
1353
|
}),
|
|
1184
1354
|
defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
|
|
1355
|
+
photoUse: "behind",
|
|
1356
|
+
thumbnail: sketch.page([sketch.over("full", [
|
|
1357
|
+
sketch.title(.7, "large"),
|
|
1358
|
+
sketch.text(2, .7),
|
|
1359
|
+
sketch.button
|
|
1360
|
+
], { panel: true })]),
|
|
1185
1361
|
slotRoles: { copy: "card" },
|
|
1186
1362
|
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1187
1363
|
}),
|
|
1188
1364
|
defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
|
|
1365
|
+
photoUse: "behind",
|
|
1366
|
+
thumbnail: sketch.page([sketch.over("full", [
|
|
1367
|
+
sketch.title(.6, "large"),
|
|
1368
|
+
sketch.text(2, .6),
|
|
1369
|
+
sketch.button
|
|
1370
|
+
])]),
|
|
1189
1371
|
photoTreatment: "text-overlay",
|
|
1190
1372
|
whenMissing: [{
|
|
1191
1373
|
fact: "photo",
|
|
@@ -1194,22 +1376,45 @@ const appearancePresets = [
|
|
|
1194
1376
|
styleFallback: [id$1("hero-photo-behind-text")]
|
|
1195
1377
|
}),
|
|
1196
1378
|
defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
|
|
1379
|
+
photoUse: "behind",
|
|
1380
|
+
thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
|
|
1197
1381
|
slotRoles: { copy: "card" },
|
|
1198
1382
|
styleFallback: [id$1("hero-page-head")]
|
|
1199
1383
|
}),
|
|
1200
|
-
defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], {
|
|
1384
|
+
defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], {
|
|
1385
|
+
photoUse: "none",
|
|
1386
|
+
thumbnail: sketch.page([
|
|
1387
|
+
sketch.rule,
|
|
1388
|
+
sketch.title(.6, "large"),
|
|
1389
|
+
sketch.text(1, .5),
|
|
1390
|
+
sketch.row([sketch.text(1, .7)], [sketch.text(1, .7)], [sketch.text(1, .7)])
|
|
1391
|
+
]),
|
|
1392
|
+
styleFallback: [id$1("hero-photo-beside-text")]
|
|
1393
|
+
}),
|
|
1201
1394
|
defineCardListLook("feature-cards-cards", "Cards", "cards", [
|
|
1202
1395
|
"media",
|
|
1203
1396
|
"title",
|
|
1204
1397
|
"text",
|
|
1205
1398
|
"action"
|
|
1206
|
-
], [
|
|
1399
|
+
], [
|
|
1400
|
+
"showPhotos",
|
|
1401
|
+
"cardMarker",
|
|
1402
|
+
"columns"
|
|
1403
|
+
], {
|
|
1404
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
1405
|
+
itemRoles: { items: "card" }
|
|
1406
|
+
}),
|
|
1207
1407
|
defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
|
|
1208
1408
|
"media",
|
|
1209
1409
|
"title",
|
|
1210
1410
|
"text",
|
|
1211
1411
|
"action"
|
|
1212
|
-
], [
|
|
1412
|
+
], [
|
|
1413
|
+
"showPhotos",
|
|
1414
|
+
"cardMarker",
|
|
1415
|
+
"columns"
|
|
1416
|
+
], {
|
|
1417
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
|
|
1213
1418
|
itemRoles: { items: "card" },
|
|
1214
1419
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1215
1420
|
}),
|
|
@@ -1218,7 +1423,12 @@ const appearancePresets = [
|
|
|
1218
1423
|
"title",
|
|
1219
1424
|
"text",
|
|
1220
1425
|
"action"
|
|
1221
|
-
], [
|
|
1426
|
+
], [
|
|
1427
|
+
"showPhotos",
|
|
1428
|
+
"cardMarker",
|
|
1429
|
+
"columns"
|
|
1430
|
+
], {
|
|
1431
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
|
|
1222
1432
|
knobDefaults: { actionStyle: "link" },
|
|
1223
1433
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1224
1434
|
}),
|
|
@@ -1228,6 +1438,11 @@ const appearancePresets = [
|
|
|
1228
1438
|
"text",
|
|
1229
1439
|
"action"
|
|
1230
1440
|
], ["showPhotos"], {
|
|
1441
|
+
thumbnail: sketch.page([sketch.row(sketch.weight(4, [sketch.featured([
|
|
1442
|
+
sketch.photo("medium"),
|
|
1443
|
+
sketch.title(.7),
|
|
1444
|
+
sketch.text(2)
|
|
1445
|
+
])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
|
|
1231
1446
|
itemRoles: { at: { first: "statement" } },
|
|
1232
1447
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1233
1448
|
}),
|
|
@@ -1236,6 +1451,7 @@ const appearancePresets = [
|
|
|
1236
1451
|
"text",
|
|
1237
1452
|
"action"
|
|
1238
1453
|
], ["cardMarker"], {
|
|
1454
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.8, "small")]), sketch.weight(2, [sketch.text(1)]))], { ruled: true })]),
|
|
1239
1455
|
knobDefaults: { cardMarker: "none" },
|
|
1240
1456
|
knobValues: { cardMarker: ["numbers", "none"] },
|
|
1241
1457
|
styleFallback: [id$1("feature-cards-cards")]
|
|
@@ -1245,6 +1461,11 @@ const appearancePresets = [
|
|
|
1245
1461
|
"text",
|
|
1246
1462
|
"action"
|
|
1247
1463
|
], [], {
|
|
1464
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
|
|
1465
|
+
sketch.number,
|
|
1466
|
+
sketch.title(.7, "small"),
|
|
1467
|
+
sketch.text(2)
|
|
1468
|
+
])]),
|
|
1248
1469
|
forcedKnobs: { cardMarker: "numbers" },
|
|
1249
1470
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1250
1471
|
}),
|
|
@@ -1256,105 +1477,210 @@ const appearancePresets = [
|
|
|
1256
1477
|
"schedule",
|
|
1257
1478
|
"action"
|
|
1258
1479
|
], ["showPhotos"], {
|
|
1480
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
|
|
1481
|
+
sketch.photo("short"),
|
|
1482
|
+
sketch.title(.7, "small"),
|
|
1483
|
+
sketch.text(1),
|
|
1484
|
+
sketch.link
|
|
1485
|
+
])])]),
|
|
1259
1486
|
knobDefaults: {
|
|
1260
1487
|
actionStyle: "link",
|
|
1261
1488
|
cardMarker: "none"
|
|
1262
1489
|
},
|
|
1263
1490
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1264
1491
|
}),
|
|
1265
|
-
defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"]),
|
|
1266
|
-
defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
|
|
1267
|
-
|
|
1492
|
+
defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"], { thumbnail: sketch.band([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]) }),
|
|
1493
|
+
defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
|
|
1494
|
+
thumbnail: sketch.band([sketch.title(.4), sketch.down(2, [sketch.title(.2, "small"), sketch.panel([sketch.down(2, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])])]),
|
|
1495
|
+
styleFallback: [id$1("event-calendar-ruled-rows")]
|
|
1496
|
+
}),
|
|
1497
|
+
{
|
|
1498
|
+
...defineArrangementLook("event-calendar-week-columns", "event-calendar", "The week in columns", "week-columns", [], { thumbnail: sketch.band([sketch.title(.4), sketch.across(5, [sketch.title(.5, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
|
|
1499
|
+
structure: {
|
|
1500
|
+
kind: "arrangement",
|
|
1501
|
+
byMode: { list: "week-columns" },
|
|
1502
|
+
knobs: ["showCapacity"],
|
|
1503
|
+
itemRoles: {},
|
|
1504
|
+
whenMissing: [{
|
|
1505
|
+
fact: "listed-by-week",
|
|
1506
|
+
look: id$1("event-calendar-grouped-by-day")
|
|
1507
|
+
}],
|
|
1508
|
+
styleFallback: [id$1("event-calendar-grouped-by-day")],
|
|
1509
|
+
photoUse: "none"
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", [
|
|
1513
|
+
"showCapacity",
|
|
1514
|
+
"showPhotos",
|
|
1515
|
+
"listColumns"
|
|
1516
|
+
], {
|
|
1517
|
+
thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([
|
|
1518
|
+
sketch.title(.4, "small"),
|
|
1519
|
+
sketch.title(.8, "small"),
|
|
1520
|
+
sketch.text(1),
|
|
1521
|
+
sketch.button
|
|
1522
|
+
])])]),
|
|
1268
1523
|
itemRoles: { items: "card" },
|
|
1269
1524
|
slotRoles: { date: "highlight" },
|
|
1270
1525
|
styleFallback: [id$1("event-calendar-ruled-rows")]
|
|
1271
1526
|
}),
|
|
1272
1527
|
defineArrangementLook("event-calendar-next-three", "event-calendar", "Compact rows", "compact", ["showCapacity"], {
|
|
1528
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]),
|
|
1273
1529
|
itemRoles: { container: "card" },
|
|
1274
1530
|
styleFallback: [id$1("event-calendar-ruled-rows")]
|
|
1275
1531
|
}),
|
|
1276
|
-
defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", [
|
|
1532
|
+
defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", [
|
|
1533
|
+
"showCapacity",
|
|
1534
|
+
"showPhotos",
|
|
1535
|
+
"listColumns"
|
|
1536
|
+
], {
|
|
1537
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
|
|
1538
|
+
sketch.photo("short"),
|
|
1539
|
+
sketch.title(.8, "small"),
|
|
1540
|
+
sketch.text(1),
|
|
1541
|
+
sketch.button
|
|
1542
|
+
])])]),
|
|
1277
1543
|
itemRoles: { items: "card" },
|
|
1278
1544
|
slotRoles: { date: "highlight" },
|
|
1279
1545
|
styleFallback: [id$1("event-calendar-session-cards")]
|
|
1280
1546
|
}),
|
|
1281
1547
|
{
|
|
1282
|
-
...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", []),
|
|
1548
|
+
...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", [], { thumbnail: sketch.page([sketch.title(.4), sketch.across(5, [sketch.title(.6, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
|
|
1283
1549
|
structure: {
|
|
1284
1550
|
kind: "arrangement",
|
|
1285
1551
|
byMode: { week: "ledger" },
|
|
1286
1552
|
knobs: [],
|
|
1287
1553
|
itemRoles: {},
|
|
1288
1554
|
whenMissing: [],
|
|
1289
|
-
styleFallback: []
|
|
1555
|
+
styleFallback: [],
|
|
1556
|
+
photoUse: "none"
|
|
1290
1557
|
}
|
|
1291
1558
|
},
|
|
1292
|
-
defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], {
|
|
1293
|
-
|
|
1559
|
+
defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], {
|
|
1560
|
+
photoUse: "beside",
|
|
1561
|
+
thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.95, "large"), sketch.title(.7, "large")], [sketch.photo("tall")])]),
|
|
1562
|
+
styleFallback: [id$1("hero-copy-over-gallery")]
|
|
1563
|
+
}),
|
|
1564
|
+
defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], {
|
|
1565
|
+
thumbnail: sketch.band([sketch.row(sketch.weight(3, [
|
|
1566
|
+
sketch.quote("large"),
|
|
1567
|
+
sketch.title(.95, "small"),
|
|
1568
|
+
sketch.title(.8, "small"),
|
|
1569
|
+
sketch.text(1, .3)
|
|
1570
|
+
]), sketch.weight(2, [sketch.down(2, [sketch.text(2), sketch.text(1, .3)])]))]),
|
|
1571
|
+
knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." }
|
|
1572
|
+
}),
|
|
1294
1573
|
defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
|
|
1574
|
+
thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([sketch.quote(), sketch.text(3)])])]),
|
|
1295
1575
|
knobDescriptions: { quoteCount: "Shows your chosen quotes as cards in a row." },
|
|
1296
1576
|
itemRoles: { items: "card" },
|
|
1297
1577
|
styleFallback: [id$1("testimonials-quote-columns")]
|
|
1298
1578
|
}),
|
|
1299
1579
|
defineArrangementLook("testimonials-quote-columns", "testimonials", "Quotes in open columns", "columns", ["quoteCount"], {
|
|
1580
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.quote(), sketch.text(3)])]),
|
|
1300
1581
|
knobDescriptions: { quoteCount: "Shows your chosen quotes in columns." },
|
|
1301
1582
|
styleFallback: [id$1("testimonials-lead-quote")]
|
|
1302
1583
|
}),
|
|
1303
|
-
defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], {
|
|
1584
|
+
defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], {
|
|
1585
|
+
thumbnail: sketch.page([
|
|
1586
|
+
sketch.quote("large"),
|
|
1587
|
+
sketch.title(.8, "small"),
|
|
1588
|
+
sketch.title(.7, "small"),
|
|
1589
|
+
sketch.text(1, .3)
|
|
1590
|
+
], { align: "center" }),
|
|
1591
|
+
styleFallback: [id$1("testimonials-lead-quote")]
|
|
1592
|
+
}),
|
|
1304
1593
|
defineArrangementLook("testimonials-one-at-a-time", "testimonials", "One at a time, with arrows", "slides", ["quoteCount"], {
|
|
1594
|
+
thumbnail: sketch.band([sketch.across(1, [sketch.card([sketch.quote(), sketch.text(3)])], { arrows: true })]),
|
|
1305
1595
|
knobDescriptions: { quoteCount: "Shows your chosen quotes, one at a time." },
|
|
1306
1596
|
styleFallback: [id$1("testimonials-one-quote")]
|
|
1307
1597
|
}),
|
|
1308
1598
|
defineArrangementLook("testimonials-scroll-row", "testimonials", "A row of cards you can scroll", "track", ["quoteCount"], {
|
|
1599
|
+
thumbnail: sketch.band([sketch.title(.4), sketch.across(4, [sketch.card([sketch.quote(), sketch.text(2)])], { overflow: true })]),
|
|
1309
1600
|
knobDescriptions: { quoteCount: "Shows your chosen quotes in a row you can scroll." },
|
|
1310
1601
|
itemRoles: { items: "card" },
|
|
1311
1602
|
styleFallback: [id$1("testimonials-quote-cards")]
|
|
1312
1603
|
}),
|
|
1313
1604
|
{
|
|
1314
|
-
...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", []),
|
|
1605
|
+
...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", [], { thumbnail: sketch.page([sketch.title(.4), sketch.calendar]) }),
|
|
1315
1606
|
structure: {
|
|
1316
1607
|
kind: "arrangement",
|
|
1317
1608
|
byMode: { calendar: "month-grid" },
|
|
1318
1609
|
knobs: [],
|
|
1319
1610
|
itemRoles: {},
|
|
1320
1611
|
whenMissing: [],
|
|
1321
|
-
styleFallback: []
|
|
1612
|
+
styleFallback: [],
|
|
1613
|
+
photoUse: "none"
|
|
1322
1614
|
}
|
|
1323
1615
|
},
|
|
1324
1616
|
{
|
|
1325
|
-
...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", []),
|
|
1617
|
+
...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", [], { thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.calendar]), sketch.weight(1, [sketch.title(.6, "small"), sketch.down(3, [sketch.text(1)], { ruled: true })]))]) }),
|
|
1326
1618
|
structure: {
|
|
1327
1619
|
kind: "arrangement",
|
|
1328
1620
|
byMode: { calendar: "month-day" },
|
|
1329
1621
|
knobs: [],
|
|
1330
1622
|
itemRoles: {},
|
|
1331
1623
|
whenMissing: [],
|
|
1332
|
-
styleFallback: [id$1("event-calendar-month-grid")]
|
|
1624
|
+
styleFallback: [id$1("event-calendar-month-grid")],
|
|
1625
|
+
photoUse: "none"
|
|
1333
1626
|
}
|
|
1334
1627
|
},
|
|
1335
1628
|
defineArrangementLook("event-details-header", "event-details", "Event header", "event-header", [], {
|
|
1629
|
+
thumbnail: sketch.page([
|
|
1630
|
+
sketch.rule,
|
|
1631
|
+
sketch.title(.7, "large"),
|
|
1632
|
+
sketch.text(1, .5),
|
|
1633
|
+
sketch.middle([sketch.text(1)], [sketch.text(1)], [sketch.button])
|
|
1634
|
+
]),
|
|
1336
1635
|
actionSize: "lg",
|
|
1337
1636
|
slotRoles: { availability: "highlight" }
|
|
1338
1637
|
}),
|
|
1339
1638
|
defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
|
|
1639
|
+
thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.title(.8, "large"), sketch.text(4)]), sketch.weight(1, [sketch.panel([sketch.text(3), sketch.button])]))]),
|
|
1340
1640
|
slotRoles: { panel: "card" },
|
|
1341
1641
|
styleFallback: [id$1("event-details-header")]
|
|
1342
1642
|
}),
|
|
1343
|
-
defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], {
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1643
|
+
defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], {
|
|
1644
|
+
thumbnail: sketch.page([sketch.row([sketch.title(.95, "large"), sketch.title(.8, "large")], [sketch.text(5)])]),
|
|
1645
|
+
styleFallback: [id$1("intro-photo-beside-text")]
|
|
1646
|
+
}),
|
|
1647
|
+
defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], {
|
|
1648
|
+
thumbnail: sketch.page([sketch.middle(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(2, [sketch.title(.7), sketch.text(3)]))]),
|
|
1649
|
+
whenMissing: [{
|
|
1650
|
+
fact: "photo",
|
|
1651
|
+
look: id$1("intro-statement-beside-text")
|
|
1652
|
+
}]
|
|
1653
|
+
}),
|
|
1654
|
+
defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], { thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
|
|
1655
|
+
sketch.rule,
|
|
1656
|
+
sketch.title(.8),
|
|
1657
|
+
sketch.text(3)
|
|
1658
|
+
])]) }),
|
|
1349
1659
|
defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
|
|
1660
|
+
thumbnail: sketch.band([
|
|
1661
|
+
sketch.title(.6),
|
|
1662
|
+
sketch.text(1, .6),
|
|
1663
|
+
sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
|
|
1664
|
+
]),
|
|
1350
1665
|
slotRoles: { panel: "card" },
|
|
1351
1666
|
styleFallback: [id$1("newsletter-signup-text-beside")]
|
|
1352
1667
|
}),
|
|
1353
1668
|
defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
|
|
1669
|
+
thumbnail: sketch.band([sketch.middle([sketch.title(.9), sketch.text(2)], [sketch.field, sketch.button])]),
|
|
1354
1670
|
slotRoles: { panel: "card" },
|
|
1355
1671
|
styleFallback: [id$1("newsletter-signup-in-arch")]
|
|
1356
1672
|
}),
|
|
1357
1673
|
defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
|
|
1674
|
+
thumbnail: sketch.page([
|
|
1675
|
+
sketch.rule,
|
|
1676
|
+
sketch.title(.5),
|
|
1677
|
+
sketch.text(2, .7),
|
|
1678
|
+
sketch.panel([
|
|
1679
|
+
sketch.field,
|
|
1680
|
+
sketch.field,
|
|
1681
|
+
sketch.button
|
|
1682
|
+
])
|
|
1683
|
+
]),
|
|
1358
1684
|
slotRoles: { panel: "card" },
|
|
1359
1685
|
styleFallback: [id$1("form-beside-introduction-arched-panel")]
|
|
1360
1686
|
}),
|
|
@@ -1364,6 +1690,11 @@ const appearancePresets = [
|
|
|
1364
1690
|
"text",
|
|
1365
1691
|
"action"
|
|
1366
1692
|
], ["showPhotos"], {
|
|
1693
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(1, [sketch.card([sketch.row([sketch.photo("medium")], [
|
|
1694
|
+
sketch.title(.7, "small"),
|
|
1695
|
+
sketch.text(2),
|
|
1696
|
+
sketch.button
|
|
1697
|
+
])])], { arrows: true })]),
|
|
1367
1698
|
itemRoles: { items: "card" },
|
|
1368
1699
|
slotRoles: { date: "highlight" },
|
|
1369
1700
|
knobDefaults: {
|
|
@@ -1378,6 +1709,11 @@ const appearancePresets = [
|
|
|
1378
1709
|
"text",
|
|
1379
1710
|
"action"
|
|
1380
1711
|
], ["showPhotos"], {
|
|
1712
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [sketch.card([
|
|
1713
|
+
sketch.photo("short"),
|
|
1714
|
+
sketch.title(.7, "small"),
|
|
1715
|
+
sketch.text(1)
|
|
1716
|
+
])], { overflow: true })]),
|
|
1381
1717
|
itemRoles: { items: "card" },
|
|
1382
1718
|
slotRoles: { date: "highlight" },
|
|
1383
1719
|
knobDefaults: {
|
|
@@ -1386,30 +1722,77 @@ const appearancePresets = [
|
|
|
1386
1722
|
},
|
|
1387
1723
|
styleFallback: [id$1("feature-cards-cards")]
|
|
1388
1724
|
}),
|
|
1389
|
-
defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], {
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
defineArrangementLook("
|
|
1398
|
-
|
|
1725
|
+
defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], {
|
|
1726
|
+
thumbnail: sketch.page([sketch.row(sketch.weight(2, [
|
|
1727
|
+
sketch.rule,
|
|
1728
|
+
sketch.title(.9),
|
|
1729
|
+
sketch.title(.6)
|
|
1730
|
+
]), sketch.weight(3, [sketch.text(5)]))]),
|
|
1731
|
+
styleFallback: [id$1("body-text-reading-column")]
|
|
1732
|
+
}),
|
|
1733
|
+
defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", [], {
|
|
1734
|
+
thumbnail: sketch.page([
|
|
1735
|
+
sketch.title(.45),
|
|
1736
|
+
sketch.title(.95, "small"),
|
|
1737
|
+
sketch.title(.8, "small"),
|
|
1738
|
+
sketch.text(2)
|
|
1739
|
+
]),
|
|
1740
|
+
styleFallback: [id$1("body-text-reading-column")]
|
|
1741
|
+
}),
|
|
1742
|
+
defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", [], { thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })]) }),
|
|
1743
|
+
defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
|
|
1744
|
+
thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.rule, sketch.title(.9)]), sketch.weight(2, [sketch.down(4, [sketch.text(1, .8)], { ruled: true })]))]),
|
|
1745
|
+
styleFallback: [id$1("faq-questions-under-title")]
|
|
1746
|
+
}),
|
|
1747
|
+
defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], {
|
|
1748
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.down(3, [sketch.text(1, .8)], { ruled: true })], [sketch.down(3, [sketch.text(1, .8)], { ruled: true })])]),
|
|
1749
|
+
styleFallback: [id$1("faq-questions-under-title")]
|
|
1750
|
+
}),
|
|
1751
|
+
defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], {
|
|
1752
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.title(.5, "small"), sketch.text(2)])]),
|
|
1753
|
+
styleFallback: [id$1("faq-questions-two-columns")]
|
|
1754
|
+
}),
|
|
1755
|
+
defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", ["blackAndWhite"], {
|
|
1756
|
+
thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.photo("tall")]), sketch.weight(1, [sketch.photo("short"), sketch.photo("short")]))]),
|
|
1757
|
+
styleFallback: [id$1("image-gallery-square-tiles")]
|
|
1758
|
+
}),
|
|
1759
|
+
defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", ["blackAndWhite"], {
|
|
1760
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("medium"), sketch.text(1, .8)])]),
|
|
1761
|
+
styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")]
|
|
1762
|
+
}),
|
|
1763
|
+
defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", [], { thumbnail: sketch.band([
|
|
1764
|
+
sketch.title(.6),
|
|
1765
|
+
sketch.text(1, .5),
|
|
1766
|
+
sketch.middle([sketch.button], [sketch.link])
|
|
1767
|
+
], { align: "center" }) }),
|
|
1768
|
+
defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], {
|
|
1769
|
+
thumbnail: sketch.band([sketch.middle(sketch.weight(3, [sketch.title(.9)]), sketch.weight(1, [sketch.button]))]),
|
|
1770
|
+
styleFallback: [id$1("cta-centred")]
|
|
1771
|
+
}),
|
|
1399
1772
|
defineArrangementLook("cta-figure-beside-offer", "cta-full", "Big figure beside the offer", "figure", [], {
|
|
1773
|
+
thumbnail: sketch.band([sketch.middle(sketch.weight(1, [sketch.title(.8, "large")]), sketch.weight(2, [
|
|
1774
|
+
sketch.title(.7, "small"),
|
|
1775
|
+
sketch.text(2),
|
|
1776
|
+
sketch.button
|
|
1777
|
+
]))]),
|
|
1400
1778
|
whenMissing: [{
|
|
1401
1779
|
fact: "figure",
|
|
1402
1780
|
look: id$1("cta-centred")
|
|
1403
1781
|
}],
|
|
1404
1782
|
styleFallback: [id$1("cta-centred")]
|
|
1405
1783
|
}),
|
|
1406
|
-
defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", []),
|
|
1407
|
-
defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
|
|
1784
|
+
defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", [], { thumbnail: sketch.page([sketch.map, sketch.row([sketch.text(2)], [sketch.text(2)])]) }),
|
|
1785
|
+
defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
|
|
1786
|
+
thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
|
|
1787
|
+
styleFallback: [id$1("location-map-above-details")]
|
|
1788
|
+
}),
|
|
1408
1789
|
defineArrangementLook("location-map-address-over-wide-map", "location-map", "Address over a wide map", "map-and-details", [], {
|
|
1790
|
+
thumbnail: sketch.page([sketch.over("map", [sketch.title(.7, "small"), sketch.text(3)], { panel: true })]),
|
|
1409
1791
|
slotRoles: { panel: "card" },
|
|
1410
1792
|
styleFallback: [id$1("location-map-beside-address")]
|
|
1411
1793
|
}),
|
|
1412
1794
|
defineArrangementLook("location-map-entrance-photo", "location-map", "Entrance photo beside the details", "photo-and-details", [], {
|
|
1795
|
+
thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.7, "small"), sketch.text(3)])]),
|
|
1413
1796
|
whenMissing: [{
|
|
1414
1797
|
fact: "entrance",
|
|
1415
1798
|
look: id$1("location-map-beside-address")
|
|
@@ -1425,6 +1808,11 @@ const appearancePresets = [
|
|
|
1425
1808
|
"chips",
|
|
1426
1809
|
"action"
|
|
1427
1810
|
], ["showPhotos"], {
|
|
1811
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [
|
|
1812
|
+
sketch.photo("tall"),
|
|
1813
|
+
sketch.title(.7, "small"),
|
|
1814
|
+
sketch.text(1, .6)
|
|
1815
|
+
])]),
|
|
1428
1816
|
knobDefaults: { actionStyle: "link" },
|
|
1429
1817
|
styleFallback: [id$1("team-members-ruled-names")]
|
|
1430
1818
|
}),
|
|
@@ -1439,6 +1827,7 @@ const appearancePresets = [
|
|
|
1439
1827
|
"chips",
|
|
1440
1828
|
"action"
|
|
1441
1829
|
], ["showPhotos"], {
|
|
1830
|
+
thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(3, [sketch.title(.5, "small"), sketch.text(2)]))])]),
|
|
1442
1831
|
teamBiography: "profile",
|
|
1443
1832
|
knobDefaults: { actionStyle: "link" },
|
|
1444
1833
|
styleFallback: [id$1("team-members-tall-portraits")]
|
|
@@ -1453,6 +1842,7 @@ const appearancePresets = [
|
|
|
1453
1842
|
"chips",
|
|
1454
1843
|
"action"
|
|
1455
1844
|
], [], {
|
|
1845
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row([sketch.title(.7, "small")], [sketch.text(1, .8)])], { ruled: true })]),
|
|
1456
1846
|
forcedKnobs: {
|
|
1457
1847
|
showPhotos: "false",
|
|
1458
1848
|
cardMarker: "none"
|
|
@@ -1469,6 +1859,12 @@ const appearancePresets = [
|
|
|
1469
1859
|
"price",
|
|
1470
1860
|
"action"
|
|
1471
1861
|
], [], {
|
|
1862
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
|
|
1863
|
+
sketch.title(.6, "small"),
|
|
1864
|
+
sketch.price,
|
|
1865
|
+
sketch.text(2),
|
|
1866
|
+
sketch.button
|
|
1867
|
+
])])]),
|
|
1472
1868
|
itemRoles: { items: "card" },
|
|
1473
1869
|
styleFallback: [id$1("shop-ruled-prices")]
|
|
1474
1870
|
}),
|
|
@@ -1479,6 +1875,22 @@ const appearancePresets = [
|
|
|
1479
1875
|
"price",
|
|
1480
1876
|
"action"
|
|
1481
1877
|
], [], {
|
|
1878
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.card([
|
|
1879
|
+
sketch.title(.6, "small"),
|
|
1880
|
+
sketch.price,
|
|
1881
|
+
sketch.text(2),
|
|
1882
|
+
sketch.button
|
|
1883
|
+
])], [sketch.featured([
|
|
1884
|
+
sketch.title(.6, "small"),
|
|
1885
|
+
sketch.price,
|
|
1886
|
+
sketch.text(2),
|
|
1887
|
+
sketch.button
|
|
1888
|
+
])], [sketch.card([
|
|
1889
|
+
sketch.title(.6, "small"),
|
|
1890
|
+
sketch.price,
|
|
1891
|
+
sketch.text(2),
|
|
1892
|
+
sketch.button
|
|
1893
|
+
])])]),
|
|
1482
1894
|
itemRoles: {
|
|
1483
1895
|
items: "card",
|
|
1484
1896
|
featured: "statement"
|
|
@@ -1496,6 +1908,7 @@ const appearancePresets = [
|
|
|
1496
1908
|
"price",
|
|
1497
1909
|
"action"
|
|
1498
1910
|
], [], {
|
|
1911
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row(sketch.weight(3, [sketch.title(.6, "small")]), sketch.weight(1, [sketch.price]))], { ruled: true })]),
|
|
1499
1912
|
forcedKnobs: { cardMarker: "none" },
|
|
1500
1913
|
knobDefaults: { actionStyle: "link" },
|
|
1501
1914
|
styleFallback: [id$1("feature-cards-index")]
|
|
@@ -1508,6 +1921,11 @@ const appearancePresets = [
|
|
|
1508
1921
|
"facts",
|
|
1509
1922
|
"action"
|
|
1510
1923
|
], ["showPhotos"], {
|
|
1924
|
+
thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
|
|
1925
|
+
sketch.photo("tall"),
|
|
1926
|
+
sketch.title(.7, "small"),
|
|
1927
|
+
sketch.text(1)
|
|
1928
|
+
])]),
|
|
1511
1929
|
knobDefaults: {
|
|
1512
1930
|
actionStyle: "link",
|
|
1513
1931
|
dates: "summary"
|
|
@@ -1580,7 +1998,7 @@ function uniqueStrings(values) {
|
|
|
1580
1998
|
//#endregion
|
|
1581
1999
|
//#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
|
|
1582
2000
|
function parseCanonicalRuntimeBackground(content) {
|
|
1583
|
-
const background = readRecord(readRecord(content._sectionStyles)?.background);
|
|
2001
|
+
const background = readRecord$1(readRecord$1(content._sectionStyles)?.background);
|
|
1584
2002
|
if (!background) return { kind: "none" };
|
|
1585
2003
|
const parsed = runtimeBoxBackgroundSchema.safeParse(background);
|
|
1586
2004
|
if (!parsed.success) return { kind: "none" };
|
|
@@ -1659,16 +2077,6 @@ function sectionForegroundBackground(resolved, palette) {
|
|
|
1659
2077
|
"supporting"
|
|
1660
2078
|
].every((role) => original.roles[role] === measured.roles[role]) ? resolved.background : resolved.ground;
|
|
1661
2079
|
}
|
|
1662
|
-
/** One photo-placement decision for legacy and arrangement hero renderers. */
|
|
1663
|
-
function heroPhotoPaintsGround(variant) {
|
|
1664
|
-
return ![
|
|
1665
|
-
"split",
|
|
1666
|
-
"splitReverse",
|
|
1667
|
-
"headline-row",
|
|
1668
|
-
"copy-over-gallery",
|
|
1669
|
-
"page-head"
|
|
1670
|
-
].includes(variant ?? "classic");
|
|
1671
|
-
}
|
|
1672
2080
|
function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
1673
2081
|
const paintsBand = lookDefault.type === "color" || lookDefault.type === "gradient";
|
|
1674
2082
|
const lookScrim = paintsBand ? lookDefault.mediaScrim : void 0;
|
|
@@ -1684,7 +2092,7 @@ function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
|
1684
2092
|
});
|
|
1685
2093
|
return merged.success ? merged.data : authored;
|
|
1686
2094
|
}
|
|
1687
|
-
function readRecord(value) {
|
|
2095
|
+
function readRecord$1(value) {
|
|
1688
2096
|
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
1689
2097
|
}
|
|
1690
2098
|
function heroPhotoIsContent(source, photo, hasArrangementGround) {
|
|
@@ -2114,6 +2522,40 @@ function stableTreatmentKey(treatment) {
|
|
|
2114
2522
|
}
|
|
2115
2523
|
}
|
|
2116
2524
|
//#endregion
|
|
2525
|
+
//#region ../theme-core/src/site-styles/sectionShape.ts
|
|
2526
|
+
/** The palette tokens whose sections draw as fields: a lookup derived from the declarations. */
|
|
2527
|
+
function fieldGroundTokens(surfaces) {
|
|
2528
|
+
return Object.values(surfaces).flatMap((surface) => surface.kind === "token" && surface.sectionShape === "field" ? [surface.token] : []);
|
|
2529
|
+
}
|
|
2530
|
+
/** The one shape decision for a section, from its resolved ground token. */
|
|
2531
|
+
function sectionShapeForGround(fieldGrounds, groundToken) {
|
|
2532
|
+
return fieldGrounds.includes(groundToken) ? "field" : "edge-to-edge";
|
|
2533
|
+
}
|
|
2534
|
+
/**
|
|
2535
|
+
* A field surface must own its token: a section painted with a token both a
|
|
2536
|
+
* field and an edge-to-edge surface declare could not say which it is.
|
|
2537
|
+
*/
|
|
2538
|
+
function validateSectionSurfaces(skin, surfaces) {
|
|
2539
|
+
const fields = fieldGroundTokens(surfaces);
|
|
2540
|
+
Object.entries(surfaces).forEach(([name, surface]) => {
|
|
2541
|
+
if (surface.kind === "token" && surface.sectionShape !== "field" && fields.includes(surface.token)) throw new Error(`Ambiguous section shape for ${skin}: ${name} shares ${surface.token} with a field surface`);
|
|
2542
|
+
});
|
|
2543
|
+
}
|
|
2544
|
+
/** The section hook carrying a field; absent for edge-to-edge sections, so their markup is unchanged. */
|
|
2545
|
+
function sectionShapeHook(shape) {
|
|
2546
|
+
return shape === "field" ? { "data-shape": "field" } : {};
|
|
2547
|
+
}
|
|
2548
|
+
/** Reads the decided shape back from final render content; anything else is edge to edge. */
|
|
2549
|
+
function sectionShapeFromContent(content) {
|
|
2550
|
+
const hooks = content._lookHooks;
|
|
2551
|
+
return typeof hooks === "object" && hooks !== null && "data-shape" in hooks && hooks["data-shape"] === "field" ? "field" : "edge-to-edge";
|
|
2552
|
+
}
|
|
2553
|
+
/** The booking bar paints with a declared token surface; anything else is a catalogue mistake. */
|
|
2554
|
+
function validateBookingBarSurface(skin, bookingBar, surfaces) {
|
|
2555
|
+
if (bookingBar === void 0) return;
|
|
2556
|
+
if (surfaces[bookingBar.surface]?.kind !== "token") throw new Error(`Booking bar for ${skin} needs a declared token surface: ${bookingBar.surface}`);
|
|
2557
|
+
}
|
|
2558
|
+
//#endregion
|
|
2117
2559
|
//#region ../theme-core/src/site-styles/sectionBoundaryComposition.ts
|
|
2118
2560
|
const backgroundToken = requireThemeColorToken$1("background");
|
|
2119
2561
|
/**
|
|
@@ -2158,14 +2600,15 @@ function boundaryEndpointForSectionContent(content) {
|
|
|
2158
2600
|
}
|
|
2159
2601
|
}
|
|
2160
2602
|
/**
|
|
2161
|
-
* Reads
|
|
2603
|
+
* Reads every fact from final render content in one place. `_frameStyles` is
|
|
2162
2604
|
* the compiled frame; content without one (no page design, an SDK block)
|
|
2163
2605
|
* draws a plain frame.
|
|
2164
2606
|
*/
|
|
2165
2607
|
function sectionFactsForContent(content) {
|
|
2166
2608
|
return {
|
|
2167
2609
|
endpoint: boundaryEndpointForSectionContent(content),
|
|
2168
|
-
frame: frameKindForContent(content)
|
|
2610
|
+
frame: frameKindForContent(content),
|
|
2611
|
+
shape: sectionShapeFromContent(content)
|
|
2169
2612
|
};
|
|
2170
2613
|
}
|
|
2171
2614
|
function frameKindForContent(content) {
|
|
@@ -2182,11 +2625,18 @@ function frameNotShownReason(previous, next) {
|
|
|
2182
2625
|
return previous === "flush-panel" || next === "flush-panel" ? "flush-panel" : null;
|
|
2183
2626
|
}
|
|
2184
2627
|
/**
|
|
2185
|
-
*
|
|
2186
|
-
*
|
|
2628
|
+
* A field sits in from the page edge with page ground around it, so a break
|
|
2629
|
+
* drawn across its edge would have nothing to join (issue 1659).
|
|
2630
|
+
*/
|
|
2631
|
+
function shapeNotShownReason(previous, next) {
|
|
2632
|
+
return previous === "field" || next === "field" ? "field" : null;
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* Decides whether and how a join draws. The frame and shape rules win before
|
|
2636
|
+
* paint is considered; two unpainted sides show nothing.
|
|
2187
2637
|
*/
|
|
2188
2638
|
function composeBoundary(previous, next) {
|
|
2189
|
-
const frameReason = frameNotShownReason(previous.frame, next.frame);
|
|
2639
|
+
const frameReason = frameNotShownReason(previous.frame, next.frame) ?? shapeNotShownReason(previous.shape, next.shape);
|
|
2190
2640
|
if (frameReason) return {
|
|
2191
2641
|
kind: "not-shown",
|
|
2192
2642
|
reason: frameReason
|
|
@@ -2454,7 +2904,8 @@ const bookingPageLookIdValues = [
|
|
|
2454
2904
|
"site-style:measure",
|
|
2455
2905
|
"site-style:grounded-practice",
|
|
2456
2906
|
"site-style:lantern",
|
|
2457
|
-
"site-style:poster"
|
|
2907
|
+
"site-style:poster",
|
|
2908
|
+
"site-style:loom"
|
|
2458
2909
|
];
|
|
2459
2910
|
/** Boundary admission for draft and suggestion inputs. */
|
|
2460
2911
|
function parseBookingPageLookId(value) {
|
|
@@ -2487,6 +2938,10 @@ const bookingLookGroundLimits = {
|
|
|
2487
2938
|
"site-style:lantern": {
|
|
2488
2939
|
lightness: [.12, .34],
|
|
2489
2940
|
maxChroma: .07
|
|
2941
|
+
},
|
|
2942
|
+
"site-style:loom": {
|
|
2943
|
+
lightness: [.88, 1],
|
|
2944
|
+
maxChroma: .04
|
|
2490
2945
|
}
|
|
2491
2946
|
};
|
|
2492
2947
|
const contrast = (against, ratio = 3) => ({
|
|
@@ -2558,7 +3013,12 @@ const lightReading = [
|
|
|
2558
3013
|
"muted"
|
|
2559
3014
|
];
|
|
2560
3015
|
/** Fulcrum: a quiet stone page, white sheets, a strong mid-tone on the buttons, a deep plate behind the opening panel. */
|
|
3016
|
+
const fulcrumButtons = {
|
|
3017
|
+
roles: ["primary"],
|
|
3018
|
+
name: "the buttons"
|
|
3019
|
+
};
|
|
2561
3020
|
const fulcrum = {
|
|
3021
|
+
buttonSlot: fulcrumButtons,
|
|
2562
3022
|
roles: {
|
|
2563
3023
|
...lightGrounds(bookingLookGroundLimits["site-style:fulcrum"], {
|
|
2564
3024
|
page: .008,
|
|
@@ -2609,10 +3069,7 @@ const fulcrum = {
|
|
|
2609
3069
|
roles: ["secondary"],
|
|
2610
3070
|
name: "the plate"
|
|
2611
3071
|
},
|
|
2612
|
-
|
|
2613
|
-
roles: ["primary"],
|
|
2614
|
-
name: "the buttons"
|
|
2615
|
-
},
|
|
3072
|
+
fulcrumButtons,
|
|
2616
3073
|
{
|
|
2617
3074
|
roles: ["accent"],
|
|
2618
3075
|
name: "the small marks"
|
|
@@ -2647,7 +3104,12 @@ const fulcrum = {
|
|
|
2647
3104
|
}]
|
|
2648
3105
|
};
|
|
2649
3106
|
/** Folio: warm paper, sheets and a band; buttons and links share the primary (hovering to its 800 shade); small rules and marks. */
|
|
3107
|
+
const folioButtons = {
|
|
3108
|
+
roles: ["primary"],
|
|
3109
|
+
name: "the buttons and links"
|
|
3110
|
+
};
|
|
2650
3111
|
const folio = {
|
|
3112
|
+
buttonSlot: folioButtons,
|
|
2651
3113
|
roles: {
|
|
2652
3114
|
...lightGrounds(bookingLookGroundLimits["site-style:folio"], {
|
|
2653
3115
|
page: .012,
|
|
@@ -2694,10 +3156,7 @@ const folio = {
|
|
|
2694
3156
|
roles: ["muted"],
|
|
2695
3157
|
name: "the band"
|
|
2696
3158
|
},
|
|
2697
|
-
|
|
2698
|
-
roles: ["primary"],
|
|
2699
|
-
name: "the buttons and links"
|
|
2700
|
-
},
|
|
3159
|
+
folioButtons,
|
|
2701
3160
|
{
|
|
2702
3161
|
roles: ["accent"],
|
|
2703
3162
|
name: "the marks"
|
|
@@ -2732,7 +3191,12 @@ const folio = {
|
|
|
2732
3191
|
}]
|
|
2733
3192
|
};
|
|
2734
3193
|
/** Measure: one plain page. Flat buttons that fill with the secondary on hover, and a small square. */
|
|
3194
|
+
const measureButtons = {
|
|
3195
|
+
roles: ["primary"],
|
|
3196
|
+
name: "the buttons"
|
|
3197
|
+
};
|
|
2735
3198
|
const measure = {
|
|
3199
|
+
buttonSlot: measureButtons,
|
|
2736
3200
|
roles: {
|
|
2737
3201
|
...lightGrounds(bookingLookGroundLimits["site-style:measure"], {
|
|
2738
3202
|
page: .008,
|
|
@@ -2776,10 +3240,7 @@ const measure = {
|
|
|
2776
3240
|
]
|
|
2777
3241
|
}
|
|
2778
3242
|
},
|
|
2779
|
-
slots: [{
|
|
2780
|
-
roles: ["primary"],
|
|
2781
|
-
name: "the buttons"
|
|
2782
|
-
}, {
|
|
3243
|
+
slots: [measureButtons, {
|
|
2783
3244
|
roles: ["accent"],
|
|
2784
3245
|
name: "the small square"
|
|
2785
3246
|
}],
|
|
@@ -2816,7 +3277,12 @@ const measure = {
|
|
|
2816
3277
|
}]
|
|
2817
3278
|
};
|
|
2818
3279
|
/** Grounded Practice: an inset panel on the muted colour opens the page; links and buttons share the primary. */
|
|
3280
|
+
const groundedButtons = {
|
|
3281
|
+
roles: ["primary"],
|
|
3282
|
+
name: "the buttons and links"
|
|
3283
|
+
};
|
|
2819
3284
|
const grounded = {
|
|
3285
|
+
buttonSlot: groundedButtons,
|
|
2820
3286
|
roles: {
|
|
2821
3287
|
...lightGrounds(bookingLookGroundLimits["site-style:grounded-practice"], {
|
|
2822
3288
|
page: .012,
|
|
@@ -2860,10 +3326,7 @@ const grounded = {
|
|
|
2860
3326
|
slots: [{
|
|
2861
3327
|
roles: ["muted"],
|
|
2862
3328
|
name: "the opening panel"
|
|
2863
|
-
},
|
|
2864
|
-
roles: ["primary"],
|
|
2865
|
-
name: "the buttons and links"
|
|
2866
|
-
}],
|
|
3329
|
+
}, groundedButtons],
|
|
2867
3330
|
order: [
|
|
2868
3331
|
...groundOrder,
|
|
2869
3332
|
"primary",
|
|
@@ -2898,7 +3361,12 @@ const grounded = {
|
|
|
2898
3361
|
* and the accent on every ornament and the candle glow.
|
|
2899
3362
|
*/
|
|
2900
3363
|
const lanternLimits = bookingLookGroundLimits["site-style:lantern"];
|
|
3364
|
+
const lanternButtons = {
|
|
3365
|
+
roles: ["accent", "primary"],
|
|
3366
|
+
name: "the gilt buttons"
|
|
3367
|
+
};
|
|
2901
3368
|
const lantern = {
|
|
3369
|
+
buttonSlot: lanternButtons,
|
|
2902
3370
|
roles: {
|
|
2903
3371
|
background: {
|
|
2904
3372
|
l: [.14, .22],
|
|
@@ -2978,10 +3446,7 @@ const lantern = {
|
|
|
2978
3446
|
slots: [{
|
|
2979
3447
|
roles: ["muted"],
|
|
2980
3448
|
name: "the band"
|
|
2981
|
-
},
|
|
2982
|
-
roles: ["accent", "primary"],
|
|
2983
|
-
name: "the gilt buttons"
|
|
2984
|
-
}],
|
|
3449
|
+
}, lanternButtons],
|
|
2985
3450
|
order: [
|
|
2986
3451
|
...groundOrder,
|
|
2987
3452
|
"accent",
|
|
@@ -3020,6 +3485,97 @@ const posterBand = {
|
|
|
3020
3485
|
roles: ["muted", "surfaceAlt"],
|
|
3021
3486
|
name: "a faint tint of it on the band"
|
|
3022
3487
|
};
|
|
3488
|
+
const posterButtons = {
|
|
3489
|
+
roles: ["accent"],
|
|
3490
|
+
name: "the pop buttons and stickers"
|
|
3491
|
+
};
|
|
3492
|
+
const poster = {
|
|
3493
|
+
buttonSlot: posterButtons,
|
|
3494
|
+
roles: {
|
|
3495
|
+
...lightGrounds(bookingLookGroundLimits["site-style:poster"], {
|
|
3496
|
+
page: .008,
|
|
3497
|
+
band: .04,
|
|
3498
|
+
bandL: [.92, .96]
|
|
3499
|
+
}),
|
|
3500
|
+
primary: {
|
|
3501
|
+
l: [.3, .62],
|
|
3502
|
+
c: [.08, .25],
|
|
3503
|
+
target: .48,
|
|
3504
|
+
name: "the big block",
|
|
3505
|
+
mention: true,
|
|
3506
|
+
needs: [
|
|
3507
|
+
contrast("surface", 3.6),
|
|
3508
|
+
contrast("background"),
|
|
3509
|
+
label
|
|
3510
|
+
]
|
|
3511
|
+
},
|
|
3512
|
+
accent: {
|
|
3513
|
+
l: [.62, .95],
|
|
3514
|
+
c: [.08, .25],
|
|
3515
|
+
target: .86,
|
|
3516
|
+
name: "the pop buttons and stickers",
|
|
3517
|
+
mention: true,
|
|
3518
|
+
analogous: true,
|
|
3519
|
+
needs: [
|
|
3520
|
+
contrast("primary"),
|
|
3521
|
+
label,
|
|
3522
|
+
distinct("primary", .15)
|
|
3523
|
+
]
|
|
3524
|
+
},
|
|
3525
|
+
secondary: {
|
|
3526
|
+
l: [.15, .32],
|
|
3527
|
+
c: [.03, .15],
|
|
3528
|
+
target: .24,
|
|
3529
|
+
name: "the hard shadows",
|
|
3530
|
+
needs: [distinct("primary", .1)]
|
|
3531
|
+
}
|
|
3532
|
+
},
|
|
3533
|
+
slots: [{
|
|
3534
|
+
roles: ["primary"],
|
|
3535
|
+
name: "the big block"
|
|
3536
|
+
}, posterButtons],
|
|
3537
|
+
order: [
|
|
3538
|
+
...groundOrder,
|
|
3539
|
+
"primary",
|
|
3540
|
+
"accent",
|
|
3541
|
+
"secondary"
|
|
3542
|
+
],
|
|
3543
|
+
neutrals: {
|
|
3544
|
+
dark: [.2, .04],
|
|
3545
|
+
light: [1, 0]
|
|
3546
|
+
},
|
|
3547
|
+
reading: lightReading,
|
|
3548
|
+
groundLimit: bookingLookGroundLimits["site-style:poster"].maxChroma,
|
|
3549
|
+
contrast: [{
|
|
3550
|
+
label: "the complement on the pop buttons",
|
|
3551
|
+
hue: "complement",
|
|
3552
|
+
second: "accent",
|
|
3553
|
+
lead: "primary",
|
|
3554
|
+
alsoTints: posterBand,
|
|
3555
|
+
l: .82,
|
|
3556
|
+
c: [.12, .15]
|
|
3557
|
+
}, {
|
|
3558
|
+
label: "a warm triadic partner on the pop buttons",
|
|
3559
|
+
hue: "triadic-warm",
|
|
3560
|
+
second: "accent",
|
|
3561
|
+
lead: "primary",
|
|
3562
|
+
alsoTints: posterBand,
|
|
3563
|
+
l: .82,
|
|
3564
|
+
c: [.12, .15]
|
|
3565
|
+
}]
|
|
3566
|
+
};
|
|
3567
|
+
/**
|
|
3568
|
+
* Loom: warm paper, a band on the quieter ground (Loom's band is surfaceAlt,
|
|
3569
|
+
* not muted), white sheets, filled buttons and a tack in the mark colour.
|
|
3570
|
+
* Every seam and sheet edge is stitched in the border colour, so the border
|
|
3571
|
+
* is a visible thread rather than a faint rule. The footer sits on the
|
|
3572
|
+
* secondary.
|
|
3573
|
+
*/
|
|
3574
|
+
const loomLimits = bookingLookGroundLimits["site-style:loom"];
|
|
3575
|
+
const loomButtons = {
|
|
3576
|
+
roles: ["primary"],
|
|
3577
|
+
name: "the buttons"
|
|
3578
|
+
};
|
|
3023
3579
|
/** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
|
|
3024
3580
|
const bookingLookColourSpecs = {
|
|
3025
3581
|
"site-style:fulcrum": fulcrum,
|
|
@@ -3027,81 +3583,120 @@ const bookingLookColourSpecs = {
|
|
|
3027
3583
|
"site-style:measure": measure,
|
|
3028
3584
|
"site-style:grounded-practice": grounded,
|
|
3029
3585
|
"site-style:lantern": lantern,
|
|
3030
|
-
"site-style:poster":
|
|
3586
|
+
"site-style:poster": poster,
|
|
3587
|
+
"site-style:loom": {
|
|
3588
|
+
buttonSlot: loomButtons,
|
|
3031
3589
|
roles: {
|
|
3032
|
-
...lightGrounds(
|
|
3033
|
-
page: .
|
|
3034
|
-
band: .
|
|
3035
|
-
bandL: [.
|
|
3590
|
+
...lightGrounds(loomLimits, {
|
|
3591
|
+
page: .012,
|
|
3592
|
+
band: .03,
|
|
3593
|
+
bandL: [.9, .945]
|
|
3036
3594
|
}),
|
|
3595
|
+
surfaceAlt: {
|
|
3596
|
+
l: [.9, .945],
|
|
3597
|
+
c: [0, .03],
|
|
3598
|
+
chromaShare: .3,
|
|
3599
|
+
target: .925,
|
|
3600
|
+
name: "the band",
|
|
3601
|
+
needs: [distinct("background", .03)]
|
|
3602
|
+
},
|
|
3603
|
+
muted: {
|
|
3604
|
+
l: [.93, .965],
|
|
3605
|
+
c: [0, .03],
|
|
3606
|
+
chromaShare: .25,
|
|
3607
|
+
target: .948,
|
|
3608
|
+
name: "the quieter panels",
|
|
3609
|
+
needs: [distinct("background", .015)]
|
|
3610
|
+
},
|
|
3611
|
+
border: {
|
|
3612
|
+
l: [.5, .65],
|
|
3613
|
+
c: [0, .05],
|
|
3614
|
+
chromaShare: .35,
|
|
3615
|
+
target: .58,
|
|
3616
|
+
name: "the stitching",
|
|
3617
|
+
needs: [
|
|
3618
|
+
contrast("background"),
|
|
3619
|
+
contrast("surfaceAlt"),
|
|
3620
|
+
contrast("surface")
|
|
3621
|
+
]
|
|
3622
|
+
},
|
|
3037
3623
|
primary: {
|
|
3038
|
-
l: [.3, .
|
|
3039
|
-
c: [.
|
|
3624
|
+
l: [.3, .56],
|
|
3625
|
+
c: [.03, .15],
|
|
3040
3626
|
target: .48,
|
|
3041
|
-
name: "the
|
|
3627
|
+
name: "the buttons",
|
|
3042
3628
|
mention: true,
|
|
3043
3629
|
needs: [
|
|
3044
|
-
contrast("surface", 3.6),
|
|
3045
3630
|
contrast("background"),
|
|
3631
|
+
contrast("surface"),
|
|
3632
|
+
contrast("surfaceAlt"),
|
|
3046
3633
|
label
|
|
3047
3634
|
]
|
|
3048
3635
|
},
|
|
3636
|
+
secondary: {
|
|
3637
|
+
l: [.18, .34],
|
|
3638
|
+
c: [.01, .08],
|
|
3639
|
+
target: .27,
|
|
3640
|
+
name: "the footer",
|
|
3641
|
+
mention: true,
|
|
3642
|
+
needs: [label, distinct("primary", .08)]
|
|
3643
|
+
},
|
|
3049
3644
|
accent: {
|
|
3050
|
-
l: [.
|
|
3051
|
-
c: [.
|
|
3052
|
-
target: .
|
|
3053
|
-
name: "the
|
|
3645
|
+
l: [.38, .66],
|
|
3646
|
+
c: [.05, .15],
|
|
3647
|
+
target: .52,
|
|
3648
|
+
name: "the small marks",
|
|
3054
3649
|
mention: true,
|
|
3055
3650
|
analogous: true,
|
|
3056
3651
|
needs: [
|
|
3057
|
-
contrast("
|
|
3058
|
-
|
|
3059
|
-
|
|
3652
|
+
contrast("background"),
|
|
3653
|
+
contrast("surface"),
|
|
3654
|
+
contrast("surfaceAlt"),
|
|
3655
|
+
distinct("primary", .1)
|
|
3060
3656
|
]
|
|
3061
|
-
},
|
|
3062
|
-
secondary: {
|
|
3063
|
-
l: [.15, .32],
|
|
3064
|
-
c: [.03, .15],
|
|
3065
|
-
target: .24,
|
|
3066
|
-
name: "the hard shadows",
|
|
3067
|
-
needs: [distinct("primary", .1)]
|
|
3068
3657
|
}
|
|
3069
3658
|
},
|
|
3070
|
-
slots: [
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3659
|
+
slots: [
|
|
3660
|
+
{
|
|
3661
|
+
roles: ["surfaceAlt"],
|
|
3662
|
+
name: "the band"
|
|
3663
|
+
},
|
|
3664
|
+
loomButtons,
|
|
3665
|
+
{
|
|
3666
|
+
roles: ["accent"],
|
|
3667
|
+
name: "the small marks"
|
|
3668
|
+
}
|
|
3669
|
+
],
|
|
3077
3670
|
order: [
|
|
3078
|
-
|
|
3671
|
+
"background",
|
|
3672
|
+
"surface",
|
|
3673
|
+
"surfaceAlt",
|
|
3674
|
+
"muted",
|
|
3675
|
+
"border",
|
|
3079
3676
|
"primary",
|
|
3080
3677
|
"accent",
|
|
3081
3678
|
"secondary"
|
|
3082
3679
|
],
|
|
3083
3680
|
neutrals: {
|
|
3084
|
-
dark: [.
|
|
3085
|
-
light: [
|
|
3681
|
+
dark: [.26, .02],
|
|
3682
|
+
light: [.985, .01]
|
|
3086
3683
|
},
|
|
3087
3684
|
reading: lightReading,
|
|
3088
|
-
groundLimit:
|
|
3685
|
+
groundLimit: loomLimits.maxChroma,
|
|
3089
3686
|
contrast: [{
|
|
3090
|
-
label: "the complement on the
|
|
3687
|
+
label: "the complement on the small marks",
|
|
3091
3688
|
hue: "complement",
|
|
3092
3689
|
second: "accent",
|
|
3093
3690
|
lead: "primary",
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
c: [.12, .15]
|
|
3691
|
+
l: .52,
|
|
3692
|
+
c: [.08, .13]
|
|
3097
3693
|
}, {
|
|
3098
|
-
label: "a warm
|
|
3099
|
-
hue: "
|
|
3100
|
-
second: "
|
|
3101
|
-
lead: "
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
c: [.12, .15]
|
|
3694
|
+
label: "a warm colour on the buttons",
|
|
3695
|
+
hue: "split-warm",
|
|
3696
|
+
second: "primary",
|
|
3697
|
+
lead: "accent",
|
|
3698
|
+
l: .48,
|
|
3699
|
+
c: [.08, .13]
|
|
3105
3700
|
}]
|
|
3106
3701
|
}
|
|
3107
3702
|
};
|
|
@@ -5852,295 +6447,709 @@ const loomEmber = defineCuratedPalette({
|
|
|
5852
6447
|
}
|
|
5853
6448
|
]
|
|
5854
6449
|
});
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
const curatedPalettes = [
|
|
5864
|
-
admitCuratedPaletteDefinition(brandLedCool),
|
|
5865
|
-
admitCuratedPaletteDefinition(brandLedWarm),
|
|
5866
|
-
admitCuratedPaletteDefinition(brandLedJewel),
|
|
5867
|
-
admitCuratedPaletteDefinition(brandLedBurgundyGold),
|
|
5868
|
-
admitCuratedPaletteDefinition(brandLedSpruce),
|
|
5869
|
-
admitCuratedPaletteDefinition(warmNeutralClay),
|
|
5870
|
-
admitCuratedPaletteDefinition(warmNeutralCream),
|
|
5871
|
-
admitCuratedPaletteDefinition(warmNeutralSoftEarth),
|
|
5872
|
-
admitCuratedPaletteDefinition(warmNeutralForest),
|
|
5873
|
-
admitCuratedPaletteDefinition(highContrastInk),
|
|
5874
|
-
admitCuratedPaletteDefinition(highContrastCharcoal),
|
|
5875
|
-
admitCuratedPaletteDefinition(highContrastMonochrome),
|
|
5876
|
-
admitCuratedPaletteDefinition(softNaturalSage),
|
|
5877
|
-
admitCuratedPaletteDefinition(softNaturalStone),
|
|
5878
|
-
admitCuratedPaletteDefinition(softNaturalWatercolor),
|
|
5879
|
-
admitCuratedPaletteDefinition(softNaturalLilac),
|
|
5880
|
-
admitCuratedPaletteDefinition(warmDarkEmber),
|
|
5881
|
-
admitCuratedPaletteDefinition(warmDarkKirtanGold)
|
|
5882
|
-
];
|
|
5883
|
-
/** Style-owned suggestions are readable for compilation, never globally offered. */
|
|
5884
|
-
const styleSuggestedPalettes = [
|
|
5885
|
-
{
|
|
5886
|
-
...admitCuratedPaletteDefinition(loomHearth),
|
|
5887
|
-
ownerStyleId: "site-style:loom"
|
|
5888
|
-
},
|
|
5889
|
-
{
|
|
5890
|
-
...admitCuratedPaletteDefinition(loomFlax),
|
|
5891
|
-
ownerStyleId: "site-style:loom"
|
|
5892
|
-
},
|
|
5893
|
-
{
|
|
5894
|
-
...admitCuratedPaletteDefinition(loomEmber),
|
|
5895
|
-
ownerStyleId: "site-style:loom"
|
|
5896
|
-
},
|
|
5897
|
-
{
|
|
5898
|
-
...admitCuratedPaletteDefinition(fulcrumDeepGreen),
|
|
5899
|
-
ownerStyleId: "site-style:fulcrum"
|
|
5900
|
-
},
|
|
5901
|
-
{
|
|
5902
|
-
...admitCuratedPaletteDefinition(fulcrumNight),
|
|
5903
|
-
ownerStyleId: "site-style:fulcrum"
|
|
5904
|
-
},
|
|
5905
|
-
{
|
|
5906
|
-
...admitCuratedPaletteDefinition(fulcrumClay),
|
|
5907
|
-
ownerStyleId: "site-style:fulcrum"
|
|
5908
|
-
},
|
|
5909
|
-
{
|
|
5910
|
-
...admitCuratedPaletteDefinition(posterCobalt),
|
|
5911
|
-
ownerStyleId: "site-style:poster"
|
|
5912
|
-
},
|
|
5913
|
-
{
|
|
5914
|
-
...admitCuratedPaletteDefinition(posterConcrete),
|
|
5915
|
-
ownerStyleId: "site-style:poster"
|
|
5916
|
-
},
|
|
5917
|
-
{
|
|
5918
|
-
...admitCuratedPaletteDefinition(posterRose),
|
|
5919
|
-
ownerStyleId: "site-style:poster"
|
|
5920
|
-
},
|
|
5921
|
-
{
|
|
5922
|
-
...admitCuratedPaletteDefinition(lanternPlum),
|
|
5923
|
-
ownerStyleId: "site-style:lantern"
|
|
5924
|
-
},
|
|
5925
|
-
{
|
|
5926
|
-
...admitCuratedPaletteDefinition(lanternPeacock),
|
|
5927
|
-
ownerStyleId: "site-style:lantern"
|
|
5928
|
-
},
|
|
5929
|
-
{
|
|
5930
|
-
...admitCuratedPaletteDefinition(lanternDawn),
|
|
5931
|
-
ownerStyleId: "site-style:lantern"
|
|
5932
|
-
},
|
|
5933
|
-
{
|
|
5934
|
-
...admitCuratedPaletteDefinition(measurePaper),
|
|
5935
|
-
ownerStyleId: "site-style:measure"
|
|
6450
|
+
const poiseButter = defineCuratedPalette({
|
|
6451
|
+
authoringKey: "poise-butter",
|
|
6452
|
+
name: "Poise — Butter",
|
|
6453
|
+
description: "Butter yellow on warm sand, ink text and a forest-green mark.",
|
|
6454
|
+
tags: {
|
|
6455
|
+
tone: "bold",
|
|
6456
|
+
energy: "calm",
|
|
6457
|
+
era: "modern"
|
|
5936
6458
|
},
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
fontScale: "lg"
|
|
5991
|
-
},
|
|
5992
|
-
hover: { textColorToken: "primary" },
|
|
5993
|
-
openState: {
|
|
5994
|
-
backgroundColorToken: "surfaceAlt",
|
|
5995
|
-
triggerColorToken: "primary",
|
|
5996
|
-
accent: {
|
|
5997
|
-
edge: "left",
|
|
5998
|
-
colorToken: "primary",
|
|
5999
|
-
thickness: "medium"
|
|
6459
|
+
mode: "light",
|
|
6460
|
+
colors: [
|
|
6461
|
+
{
|
|
6462
|
+
name: "primary",
|
|
6463
|
+
hex: "#f2d16b"
|
|
6464
|
+
},
|
|
6465
|
+
{
|
|
6466
|
+
name: "secondary",
|
|
6467
|
+
hex: "#8c5a3c"
|
|
6468
|
+
},
|
|
6469
|
+
{
|
|
6470
|
+
name: "accent",
|
|
6471
|
+
hex: "#2e5a43"
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
name: "success",
|
|
6475
|
+
hex: "#2f7a4c"
|
|
6476
|
+
},
|
|
6477
|
+
{
|
|
6478
|
+
name: "warning",
|
|
6479
|
+
hex: "#b7791f"
|
|
6480
|
+
},
|
|
6481
|
+
{
|
|
6482
|
+
name: "destructive",
|
|
6483
|
+
hex: "#b3402f"
|
|
6484
|
+
},
|
|
6485
|
+
{
|
|
6486
|
+
name: "background",
|
|
6487
|
+
hex: "#f4eee3"
|
|
6488
|
+
},
|
|
6489
|
+
{
|
|
6490
|
+
name: "surface",
|
|
6491
|
+
hex: "#fbf8f2"
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
name: "surfaceAlt",
|
|
6495
|
+
hex: "#eae1d0"
|
|
6496
|
+
},
|
|
6497
|
+
{
|
|
6498
|
+
name: "muted",
|
|
6499
|
+
hex: "#675c4e"
|
|
6500
|
+
},
|
|
6501
|
+
{
|
|
6502
|
+
name: "text",
|
|
6503
|
+
hex: "#1f1b16"
|
|
6504
|
+
},
|
|
6505
|
+
{
|
|
6506
|
+
name: "primaryForeground",
|
|
6507
|
+
hex: "#1f1b16"
|
|
6508
|
+
},
|
|
6509
|
+
{
|
|
6510
|
+
name: "border",
|
|
6511
|
+
hex: "#dcd1be"
|
|
6000
6512
|
}
|
|
6513
|
+
]
|
|
6514
|
+
});
|
|
6515
|
+
const poiseEmber = defineCuratedPalette({
|
|
6516
|
+
authoringKey: "poise-ember",
|
|
6517
|
+
name: "Poise — Ember",
|
|
6518
|
+
description: "Hot tangerine on cool chalk, near-black ink and an electric blue mark.",
|
|
6519
|
+
tags: {
|
|
6520
|
+
tone: "bold",
|
|
6521
|
+
energy: "vibrant",
|
|
6522
|
+
era: "modern"
|
|
6001
6523
|
},
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6524
|
+
mode: "light",
|
|
6525
|
+
colors: [
|
|
6526
|
+
{
|
|
6527
|
+
name: "primary",
|
|
6528
|
+
hex: "#ff7033"
|
|
6529
|
+
},
|
|
6530
|
+
{
|
|
6531
|
+
name: "secondary",
|
|
6532
|
+
hex: "#23262e"
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6535
|
+
name: "accent",
|
|
6536
|
+
hex: "#2d46e0"
|
|
6537
|
+
},
|
|
6538
|
+
{
|
|
6539
|
+
name: "success",
|
|
6540
|
+
hex: "#1e8a55"
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
name: "warning",
|
|
6544
|
+
hex: "#c27a12"
|
|
6545
|
+
},
|
|
6546
|
+
{
|
|
6547
|
+
name: "destructive",
|
|
6548
|
+
hex: "#d23b2f"
|
|
6549
|
+
},
|
|
6550
|
+
{
|
|
6551
|
+
name: "background",
|
|
6552
|
+
hex: "#f1f2ee"
|
|
6553
|
+
},
|
|
6554
|
+
{
|
|
6555
|
+
name: "surface",
|
|
6556
|
+
hex: "#ffffff"
|
|
6557
|
+
},
|
|
6558
|
+
{
|
|
6559
|
+
name: "surfaceAlt",
|
|
6560
|
+
hex: "#e2e5e0"
|
|
6561
|
+
},
|
|
6562
|
+
{
|
|
6563
|
+
name: "muted",
|
|
6564
|
+
hex: "#4e535c"
|
|
6565
|
+
},
|
|
6566
|
+
{
|
|
6567
|
+
name: "text",
|
|
6568
|
+
hex: "#14161a"
|
|
6569
|
+
},
|
|
6570
|
+
{
|
|
6571
|
+
name: "primaryForeground",
|
|
6572
|
+
hex: "#14161a"
|
|
6573
|
+
},
|
|
6574
|
+
{
|
|
6575
|
+
name: "border",
|
|
6576
|
+
hex: "#d0d4ce"
|
|
6044
6577
|
}
|
|
6578
|
+
]
|
|
6579
|
+
});
|
|
6580
|
+
const poiseNight = defineCuratedPalette({
|
|
6581
|
+
authoringKey: "poise-night",
|
|
6582
|
+
name: "Poise — Night",
|
|
6583
|
+
description: "Warm near-black with cream ink, and butter yellow kept for the brand panels.",
|
|
6584
|
+
tags: {
|
|
6585
|
+
tone: "bold",
|
|
6586
|
+
energy: "calm",
|
|
6587
|
+
era: "modern"
|
|
6045
6588
|
},
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6589
|
+
mode: "dark",
|
|
6590
|
+
colors: [
|
|
6591
|
+
{
|
|
6592
|
+
name: "primary",
|
|
6593
|
+
hex: "#f2d16b"
|
|
6594
|
+
},
|
|
6595
|
+
{
|
|
6596
|
+
name: "secondary",
|
|
6597
|
+
hex: "#c9a27e"
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
name: "accent",
|
|
6601
|
+
hex: "#9cc8a8"
|
|
6602
|
+
},
|
|
6603
|
+
{
|
|
6604
|
+
name: "success",
|
|
6605
|
+
hex: "#6fcf97"
|
|
6606
|
+
},
|
|
6607
|
+
{
|
|
6608
|
+
name: "warning",
|
|
6609
|
+
hex: "#f0b45a"
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
name: "destructive",
|
|
6613
|
+
hex: "#f07a66"
|
|
6614
|
+
},
|
|
6615
|
+
{
|
|
6616
|
+
name: "background",
|
|
6617
|
+
hex: "#15130f"
|
|
6618
|
+
},
|
|
6619
|
+
{
|
|
6620
|
+
name: "surface",
|
|
6621
|
+
hex: "#1f1c17"
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
name: "surfaceAlt",
|
|
6625
|
+
hex: "#29251e"
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
name: "muted",
|
|
6629
|
+
hex: "#ada493"
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6632
|
+
name: "text",
|
|
6633
|
+
hex: "#f3eee3"
|
|
6634
|
+
},
|
|
6635
|
+
{
|
|
6636
|
+
name: "primaryForeground",
|
|
6637
|
+
hex: "#1a1611"
|
|
6638
|
+
},
|
|
6639
|
+
{
|
|
6640
|
+
name: "border",
|
|
6641
|
+
hex: "#3b352c"
|
|
6642
|
+
}
|
|
6643
|
+
]
|
|
6644
|
+
});
|
|
6645
|
+
const havenBlush = defineCuratedPalette({
|
|
6646
|
+
authoringKey: "haven-blush",
|
|
6647
|
+
name: "Haven — Blush",
|
|
6648
|
+
description: "Warm oat with a blush pastel, dusky rose for buttons and a sand accent.",
|
|
6649
|
+
tags: {
|
|
6650
|
+
tone: "classic",
|
|
6651
|
+
energy: "calm",
|
|
6652
|
+
era: "organic"
|
|
6057
6653
|
},
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6654
|
+
mode: "light",
|
|
6655
|
+
colors: [
|
|
6656
|
+
{
|
|
6657
|
+
name: "primary",
|
|
6658
|
+
hex: "#8a4652"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
name: "secondary",
|
|
6662
|
+
hex: "#f0cdc3"
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
name: "accent",
|
|
6666
|
+
hex: "#d7b48c"
|
|
6667
|
+
},
|
|
6668
|
+
{
|
|
6669
|
+
name: "success",
|
|
6670
|
+
hex: "#3f6e4c"
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
name: "warning",
|
|
6674
|
+
hex: "#8f5f12"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
name: "destructive",
|
|
6678
|
+
hex: "#a23a3a"
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
name: "background",
|
|
6682
|
+
hex: "#f8f2eb"
|
|
6683
|
+
},
|
|
6684
|
+
{
|
|
6685
|
+
name: "surface",
|
|
6686
|
+
hex: "#fffaf5"
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
name: "surfaceAlt",
|
|
6690
|
+
hex: "#f5e1d9"
|
|
6691
|
+
},
|
|
6692
|
+
{
|
|
6693
|
+
name: "muted",
|
|
6694
|
+
hex: "#6c5a55"
|
|
6695
|
+
},
|
|
6696
|
+
{
|
|
6697
|
+
name: "text",
|
|
6698
|
+
hex: "#3b2a2b"
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
name: "primaryForeground",
|
|
6702
|
+
hex: "#fff8f3"
|
|
6703
|
+
},
|
|
6704
|
+
{
|
|
6705
|
+
name: "border",
|
|
6706
|
+
hex: "#e5d3c8"
|
|
6707
|
+
}
|
|
6708
|
+
]
|
|
6709
|
+
});
|
|
6710
|
+
const havenSage = defineCuratedPalette({
|
|
6711
|
+
authoringKey: "haven-sage",
|
|
6712
|
+
name: "Haven — Sage",
|
|
6713
|
+
description: "Cool mist greens, a deep sage for buttons and a lavender-blue accent.",
|
|
6714
|
+
tags: {
|
|
6715
|
+
tone: "classic",
|
|
6716
|
+
energy: "calm",
|
|
6717
|
+
era: "organic"
|
|
6067
6718
|
},
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6719
|
+
mode: "light",
|
|
6720
|
+
colors: [
|
|
6721
|
+
{
|
|
6722
|
+
name: "primary",
|
|
6723
|
+
hex: "#3e6455"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
name: "secondary",
|
|
6727
|
+
hex: "#c9dccf"
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
name: "accent",
|
|
6731
|
+
hex: "#b9c3dc"
|
|
6732
|
+
},
|
|
6733
|
+
{
|
|
6734
|
+
name: "success",
|
|
6735
|
+
hex: "#3b6b47"
|
|
6736
|
+
},
|
|
6737
|
+
{
|
|
6738
|
+
name: "warning",
|
|
6739
|
+
hex: "#855a10"
|
|
6740
|
+
},
|
|
6741
|
+
{
|
|
6742
|
+
name: "destructive",
|
|
6743
|
+
hex: "#9c3838"
|
|
6744
|
+
},
|
|
6745
|
+
{
|
|
6746
|
+
name: "background",
|
|
6747
|
+
hex: "#f0f4f1"
|
|
6748
|
+
},
|
|
6749
|
+
{
|
|
6750
|
+
name: "surface",
|
|
6751
|
+
hex: "#fafcfa"
|
|
6752
|
+
},
|
|
6753
|
+
{
|
|
6754
|
+
name: "surfaceAlt",
|
|
6755
|
+
hex: "#dde9e1"
|
|
6756
|
+
},
|
|
6757
|
+
{
|
|
6758
|
+
name: "muted",
|
|
6759
|
+
hex: "#52625a"
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
name: "text",
|
|
6763
|
+
hex: "#20302a"
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
name: "primaryForeground",
|
|
6767
|
+
hex: "#f5fbf7"
|
|
6768
|
+
},
|
|
6769
|
+
{
|
|
6770
|
+
name: "border",
|
|
6771
|
+
hex: "#ccdad1"
|
|
6772
|
+
}
|
|
6773
|
+
]
|
|
6774
|
+
});
|
|
6775
|
+
const havenPlum = defineCuratedPalette({
|
|
6776
|
+
authoringKey: "haven-plum",
|
|
6777
|
+
name: "Haven — Plum",
|
|
6778
|
+
description: "Deep aubergine with soft pink buttons and muted mauve shapes.",
|
|
6779
|
+
tags: {
|
|
6780
|
+
tone: "classic",
|
|
6781
|
+
energy: "calm",
|
|
6782
|
+
era: "organic"
|
|
6073
6783
|
},
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6784
|
+
mode: "dark",
|
|
6785
|
+
colors: [
|
|
6786
|
+
{
|
|
6787
|
+
name: "primary",
|
|
6788
|
+
hex: "#ecb9c6"
|
|
6789
|
+
},
|
|
6790
|
+
{
|
|
6791
|
+
name: "secondary",
|
|
6792
|
+
hex: "#573a58"
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
name: "accent",
|
|
6796
|
+
hex: "#b88aa8"
|
|
6797
|
+
},
|
|
6798
|
+
{
|
|
6799
|
+
name: "success",
|
|
6800
|
+
hex: "#9fd0ac"
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
name: "warning",
|
|
6804
|
+
hex: "#ecc27a"
|
|
6805
|
+
},
|
|
6806
|
+
{
|
|
6807
|
+
name: "destructive",
|
|
6808
|
+
hex: "#f0a1a1"
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
name: "background",
|
|
6812
|
+
hex: "#221822"
|
|
6813
|
+
},
|
|
6814
|
+
{
|
|
6815
|
+
name: "surface",
|
|
6816
|
+
hex: "#2c202d"
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
name: "surfaceAlt",
|
|
6820
|
+
hex: "#3a2a3b"
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
name: "muted",
|
|
6824
|
+
hex: "#c9b5c1"
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
name: "text",
|
|
6828
|
+
hex: "#f6eaf0"
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
name: "primaryForeground",
|
|
6832
|
+
hex: "#2a1823"
|
|
6833
|
+
},
|
|
6834
|
+
{
|
|
6835
|
+
name: "border",
|
|
6836
|
+
hex: "#4b384c"
|
|
6837
|
+
}
|
|
6838
|
+
]
|
|
6839
|
+
});
|
|
6840
|
+
//#endregion
|
|
6841
|
+
//#region ../theme-core/src/palette/curated/index.ts
|
|
6842
|
+
function admitCuratedPaletteDefinition(definition) {
|
|
6843
|
+
return {
|
|
6844
|
+
...definition,
|
|
6845
|
+
valueKey: definition.valueKey
|
|
6846
|
+
};
|
|
6847
|
+
}
|
|
6848
|
+
const curatedPalettes = [
|
|
6849
|
+
admitCuratedPaletteDefinition(brandLedCool),
|
|
6850
|
+
admitCuratedPaletteDefinition(brandLedWarm),
|
|
6851
|
+
admitCuratedPaletteDefinition(brandLedJewel),
|
|
6852
|
+
admitCuratedPaletteDefinition(brandLedBurgundyGold),
|
|
6853
|
+
admitCuratedPaletteDefinition(brandLedSpruce),
|
|
6854
|
+
admitCuratedPaletteDefinition(warmNeutralClay),
|
|
6855
|
+
admitCuratedPaletteDefinition(warmNeutralCream),
|
|
6856
|
+
admitCuratedPaletteDefinition(warmNeutralSoftEarth),
|
|
6857
|
+
admitCuratedPaletteDefinition(warmNeutralForest),
|
|
6858
|
+
admitCuratedPaletteDefinition(highContrastInk),
|
|
6859
|
+
admitCuratedPaletteDefinition(highContrastCharcoal),
|
|
6860
|
+
admitCuratedPaletteDefinition(highContrastMonochrome),
|
|
6861
|
+
admitCuratedPaletteDefinition(softNaturalSage),
|
|
6862
|
+
admitCuratedPaletteDefinition(softNaturalStone),
|
|
6863
|
+
admitCuratedPaletteDefinition(softNaturalWatercolor),
|
|
6864
|
+
admitCuratedPaletteDefinition(softNaturalLilac),
|
|
6865
|
+
admitCuratedPaletteDefinition(warmDarkEmber),
|
|
6866
|
+
admitCuratedPaletteDefinition(warmDarkKirtanGold)
|
|
6867
|
+
];
|
|
6868
|
+
/** Style-owned suggestions are readable for compilation, never globally offered. */
|
|
6869
|
+
const styleSuggestedPalettes = [
|
|
6870
|
+
{
|
|
6871
|
+
...admitCuratedPaletteDefinition(loomHearth),
|
|
6872
|
+
ownerStyleId: "site-style:loom"
|
|
6077
6873
|
},
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6874
|
+
{
|
|
6875
|
+
...admitCuratedPaletteDefinition(loomFlax),
|
|
6876
|
+
ownerStyleId: "site-style:loom"
|
|
6081
6877
|
},
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
* Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
|
|
6086
|
-
* a warm ground, with a quiet open recolour.
|
|
6087
|
-
*/
|
|
6088
|
-
const softEarthAccordionSystem = {
|
|
6089
|
-
background: {
|
|
6090
|
-
type: "solid",
|
|
6091
|
-
colorToken: "background"
|
|
6878
|
+
{
|
|
6879
|
+
...admitCuratedPaletteDefinition(loomEmber),
|
|
6880
|
+
ownerStyleId: "site-style:loom"
|
|
6092
6881
|
},
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
shadow: null,
|
|
6097
|
-
icon: {
|
|
6098
|
-
style: "plus-minus",
|
|
6099
|
-
position: "right",
|
|
6100
|
-
size: "md",
|
|
6101
|
-
colorToken: "primary"
|
|
6882
|
+
{
|
|
6883
|
+
...admitCuratedPaletteDefinition(poiseButter),
|
|
6884
|
+
ownerStyleId: "site-style:poise"
|
|
6102
6885
|
},
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
fontFamily: "heading",
|
|
6107
|
-
fontScale: "md"
|
|
6886
|
+
{
|
|
6887
|
+
...admitCuratedPaletteDefinition(poiseEmber),
|
|
6888
|
+
ownerStyleId: "site-style:poise"
|
|
6108
6889
|
},
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
}
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6890
|
+
{
|
|
6891
|
+
...admitCuratedPaletteDefinition(poiseNight),
|
|
6892
|
+
ownerStyleId: "site-style:poise"
|
|
6893
|
+
},
|
|
6894
|
+
{
|
|
6895
|
+
...admitCuratedPaletteDefinition(havenBlush),
|
|
6896
|
+
ownerStyleId: "site-style:haven"
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
...admitCuratedPaletteDefinition(havenSage),
|
|
6900
|
+
ownerStyleId: "site-style:haven"
|
|
6901
|
+
},
|
|
6902
|
+
{
|
|
6903
|
+
...admitCuratedPaletteDefinition(havenPlum),
|
|
6904
|
+
ownerStyleId: "site-style:haven"
|
|
6905
|
+
},
|
|
6906
|
+
{
|
|
6907
|
+
...admitCuratedPaletteDefinition(fulcrumDeepGreen),
|
|
6908
|
+
ownerStyleId: "site-style:fulcrum"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
...admitCuratedPaletteDefinition(fulcrumNight),
|
|
6912
|
+
ownerStyleId: "site-style:fulcrum"
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
...admitCuratedPaletteDefinition(fulcrumClay),
|
|
6916
|
+
ownerStyleId: "site-style:fulcrum"
|
|
6917
|
+
},
|
|
6918
|
+
{
|
|
6919
|
+
...admitCuratedPaletteDefinition(posterCobalt),
|
|
6920
|
+
ownerStyleId: "site-style:poster"
|
|
6921
|
+
},
|
|
6922
|
+
{
|
|
6923
|
+
...admitCuratedPaletteDefinition(posterConcrete),
|
|
6924
|
+
ownerStyleId: "site-style:poster"
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
...admitCuratedPaletteDefinition(posterRose),
|
|
6928
|
+
ownerStyleId: "site-style:poster"
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
...admitCuratedPaletteDefinition(lanternPlum),
|
|
6932
|
+
ownerStyleId: "site-style:lantern"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
...admitCuratedPaletteDefinition(lanternPeacock),
|
|
6936
|
+
ownerStyleId: "site-style:lantern"
|
|
6937
|
+
},
|
|
6938
|
+
{
|
|
6939
|
+
...admitCuratedPaletteDefinition(lanternDawn),
|
|
6940
|
+
ownerStyleId: "site-style:lantern"
|
|
6941
|
+
},
|
|
6942
|
+
{
|
|
6943
|
+
...admitCuratedPaletteDefinition(measurePaper),
|
|
6944
|
+
ownerStyleId: "site-style:measure"
|
|
6945
|
+
},
|
|
6946
|
+
{
|
|
6947
|
+
...admitCuratedPaletteDefinition(measurePlaster),
|
|
6948
|
+
ownerStyleId: "site-style:measure"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
...admitCuratedPaletteDefinition(measureNight),
|
|
6952
|
+
ownerStyleId: "site-style:measure"
|
|
6953
|
+
}
|
|
6954
|
+
];
|
|
6955
|
+
const allCuratedPalettes = [...curatedPalettes, ...styleSuggestedPalettes];
|
|
6956
|
+
new Map(allCuratedPalettes.map((palette) => [palette.valueKey, palette]));
|
|
6957
|
+
const curatedPalettesByAuthoringKey = new Map(allCuratedPalettes.map((palette) => [palette.authoringKey, palette]));
|
|
6958
|
+
function findCuratedPaletteByAuthoringKey(authoringKey) {
|
|
6959
|
+
return curatedPalettesByAuthoringKey.get(authoringKey);
|
|
6960
|
+
}
|
|
6961
|
+
function requireCuratedPaletteValueKey(authoringKey) {
|
|
6962
|
+
const palette = findCuratedPaletteByAuthoringKey(authoringKey);
|
|
6963
|
+
if (!palette) throw new Error(`Unknown curated palette authoring key "${authoringKey}"`);
|
|
6964
|
+
return palette.valueKey;
|
|
6965
|
+
}
|
|
6966
|
+
//#endregion
|
|
6967
|
+
//#region ../theme-core/src/accordions/siteStyleDefaults.ts
|
|
6968
|
+
/**
|
|
6969
|
+
* Reusable accordion "looks" for curated site styles.
|
|
6970
|
+
*
|
|
6971
|
+
* Each curated site style should declare one of these (or a bespoke variant)
|
|
6972
|
+
* via `themeOverrides.accordions` so its FAQ accordions carry the style's
|
|
6973
|
+
* personality instead of falling back to the generic generated default. The
|
|
6974
|
+
* looks vary the things that make an accordion read as designed vs. cheap:
|
|
6975
|
+
* box vs. boxless, question typography (body vs. heading font + scale), icon,
|
|
6976
|
+
* and how an open item is emphasised.
|
|
6977
|
+
*/
|
|
6978
|
+
/**
|
|
6979
|
+
* Boxless editorial list: transparent root, hairline dividers between rows,
|
|
6980
|
+
* generous spacing, heading-font questions, plus/minus marks, and an accented
|
|
6981
|
+
* tinted band on the open row. The reference "expensive" FAQ look.
|
|
6982
|
+
*/
|
|
6983
|
+
const editorialDividedAccordionSystem = {
|
|
6984
|
+
background: null,
|
|
6985
|
+
spacing: "comfortable",
|
|
6986
|
+
corners: "square",
|
|
6987
|
+
border: null,
|
|
6988
|
+
shadow: null,
|
|
6989
|
+
icon: {
|
|
6990
|
+
style: "plus-minus",
|
|
6991
|
+
position: "right",
|
|
6992
|
+
size: "md",
|
|
6993
|
+
colorToken: "primary"
|
|
6994
|
+
},
|
|
6995
|
+
trigger: {
|
|
6996
|
+
textColorToken: "text",
|
|
6997
|
+
fontWeight: "regular",
|
|
6998
|
+
fontFamily: "heading",
|
|
6999
|
+
fontScale: "lg"
|
|
7000
|
+
},
|
|
7001
|
+
hover: { textColorToken: "primary" },
|
|
7002
|
+
openState: {
|
|
7003
|
+
backgroundColorToken: "surfaceAlt",
|
|
7004
|
+
triggerColorToken: "primary",
|
|
7005
|
+
accent: {
|
|
7006
|
+
edge: "left",
|
|
7007
|
+
colorToken: "primary",
|
|
7008
|
+
thickness: "medium"
|
|
7009
|
+
}
|
|
7010
|
+
},
|
|
7011
|
+
content: { textColorToken: "neutral-700" }
|
|
7012
|
+
};
|
|
7013
|
+
/**
|
|
7014
|
+
* Bold bordered panel: a strong-bordered surface box, bold heading-font
|
|
7015
|
+
* questions, large plus/minus marks, and a high-emphasis tinted + accented
|
|
7016
|
+
* open state. For confident, conversion-led, high-energy styles.
|
|
7017
|
+
*/
|
|
7018
|
+
const boldBorderedAccordionSystem = {
|
|
7019
|
+
background: {
|
|
7020
|
+
type: "solid",
|
|
7021
|
+
colorToken: "surface"
|
|
7022
|
+
},
|
|
7023
|
+
spacing: "comfortable",
|
|
7024
|
+
corners: "soft",
|
|
7025
|
+
border: {
|
|
7026
|
+
widthClass: "border-2",
|
|
7027
|
+
colorToken: "border"
|
|
7028
|
+
},
|
|
7029
|
+
shadow: null,
|
|
7030
|
+
icon: {
|
|
7031
|
+
style: "plus-minus",
|
|
7032
|
+
position: "right",
|
|
7033
|
+
size: "lg",
|
|
7034
|
+
colorToken: "primary"
|
|
7035
|
+
},
|
|
7036
|
+
trigger: {
|
|
7037
|
+
textColorToken: "text",
|
|
7038
|
+
fontWeight: "bold",
|
|
7039
|
+
fontFamily: "heading",
|
|
7040
|
+
fontScale: "md"
|
|
7041
|
+
},
|
|
7042
|
+
hover: {
|
|
7043
|
+
backgroundColorToken: "primary/10",
|
|
7044
|
+
textColorToken: "primary"
|
|
7045
|
+
},
|
|
7046
|
+
openState: {
|
|
7047
|
+
backgroundColorToken: "primary/10",
|
|
7048
|
+
triggerColorToken: "primary",
|
|
7049
|
+
accent: {
|
|
7050
|
+
edge: "left",
|
|
7051
|
+
colorToken: "primary",
|
|
7052
|
+
thickness: "thick"
|
|
7053
|
+
}
|
|
7054
|
+
},
|
|
7055
|
+
content: { textColorToken: "neutral-700" }
|
|
7056
|
+
};
|
|
7057
|
+
/**
|
|
7058
|
+
* Warm inset tiles: a tinted (surfaceAlt) root with rounded corners and no
|
|
7059
|
+
* border; the open row lifts to the lighter surface colour. Friendly,
|
|
7060
|
+
* hands-on, community styles.
|
|
7061
|
+
*/
|
|
7062
|
+
const warmInsetAccordionSystem = {
|
|
7063
|
+
background: {
|
|
7064
|
+
type: "solid",
|
|
7065
|
+
colorToken: "surfaceAlt"
|
|
7066
|
+
},
|
|
7067
|
+
spacing: "comfortable",
|
|
7068
|
+
corners: "rounded",
|
|
7069
|
+
border: null,
|
|
7070
|
+
shadow: null,
|
|
7071
|
+
icon: {
|
|
7072
|
+
style: "circle-plus-minus",
|
|
7073
|
+
position: "right",
|
|
7074
|
+
size: "md",
|
|
7075
|
+
colorToken: "primary"
|
|
7076
|
+
},
|
|
7077
|
+
trigger: {
|
|
7078
|
+
textColorToken: "text",
|
|
7079
|
+
fontWeight: "semibold",
|
|
7080
|
+
fontFamily: "heading",
|
|
7081
|
+
fontScale: "md"
|
|
7082
|
+
},
|
|
7083
|
+
hover: {
|
|
7084
|
+
backgroundColorToken: "primary/5",
|
|
7085
|
+
textColorToken: "primary"
|
|
7086
|
+
},
|
|
7087
|
+
openState: {
|
|
7088
|
+
backgroundColorToken: "surface",
|
|
7089
|
+
triggerColorToken: "primary"
|
|
7090
|
+
},
|
|
7091
|
+
content: { textColorToken: "neutral-700" }
|
|
7092
|
+
};
|
|
7093
|
+
/**
|
|
7094
|
+
* Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
|
|
7095
|
+
* a warm ground, with a quiet open recolour.
|
|
7096
|
+
*/
|
|
7097
|
+
const softEarthAccordionSystem = {
|
|
7098
|
+
background: {
|
|
7099
|
+
type: "solid",
|
|
7100
|
+
colorToken: "background"
|
|
7101
|
+
},
|
|
7102
|
+
spacing: "comfortable",
|
|
7103
|
+
corners: "square",
|
|
7104
|
+
border: null,
|
|
7105
|
+
shadow: null,
|
|
7106
|
+
icon: {
|
|
7107
|
+
style: "plus-minus",
|
|
7108
|
+
position: "right",
|
|
7109
|
+
size: "md",
|
|
7110
|
+
colorToken: "primary"
|
|
7111
|
+
},
|
|
7112
|
+
trigger: {
|
|
7113
|
+
textColorToken: "text",
|
|
7114
|
+
fontWeight: "medium",
|
|
7115
|
+
fontFamily: "heading",
|
|
7116
|
+
fontScale: "md"
|
|
7117
|
+
},
|
|
7118
|
+
hover: { textColorToken: "primary" },
|
|
7119
|
+
openState: { triggerColorToken: "primary" },
|
|
7120
|
+
content: { textColorToken: "neutral-700" }
|
|
7121
|
+
};
|
|
7122
|
+
//#endregion
|
|
7123
|
+
//#region ../theme-core/src/cards/siteStyleDefaults.ts
|
|
7124
|
+
/**
|
|
7125
|
+
* Reusable card systems for curated site styles.
|
|
7126
|
+
*
|
|
7127
|
+
* generateCardCss emits a `.card-{id}` class per enabled variant, plus stable
|
|
7128
|
+
* `.card-role-{role}` aliases resolved through the fallback chain. Each variant
|
|
7129
|
+
* declares which role it implements:
|
|
7130
|
+
* - `default` — the quiet, everyday card (most blocks, most of the time)
|
|
7131
|
+
* - `alternative` — the prominent "statement" card for sections that pop
|
|
7132
|
+
* - `open` — boxless but marked; falls back to the generated baseline
|
|
7133
|
+
* The schema allows three variants, one per role. A block asking for a role a
|
|
7134
|
+
* site style does not define falls back per `resolveCardRole`: `alternative` →
|
|
7135
|
+
* `default` → generated baseline.
|
|
7136
|
+
*
|
|
7137
|
+
* Keep `default` close to the generated baseline so shared consumers (event
|
|
7138
|
+
* cards, testimonials) stay stable; put the personality in `alternative`.
|
|
7139
|
+
*/
|
|
7140
|
+
/**
|
|
7141
|
+
* South West Twerk School: a quiet default surface card plus a high-impact
|
|
7142
|
+
* "statement" card that reproduces the legacy accent-quote testimonial surface
|
|
7143
|
+
* — burgundy fill, light text, a heavy gold left accent bar, and an expressive
|
|
7144
|
+
* asymmetric top-right corner.
|
|
7145
|
+
*/
|
|
7146
|
+
const southWestCardSystem = { variants: [{
|
|
7147
|
+
id: "default",
|
|
7148
|
+
name: "Default",
|
|
7149
|
+
enabled: true,
|
|
7150
|
+
priority: 1,
|
|
7151
|
+
role: "default",
|
|
7152
|
+
background: {
|
|
6144
7153
|
type: "solid",
|
|
6145
7154
|
colorToken: "surface"
|
|
6146
7155
|
},
|
|
@@ -7408,7 +8417,99 @@ const loomTypography = {
|
|
|
7408
8417
|
},
|
|
7409
8418
|
scale: "spacious"
|
|
7410
8419
|
};
|
|
7411
|
-
|
|
8420
|
+
/** Poise: Schibsted Grotesk for headings and numerals (700, with 800 for display); Plus Jakarta Sans to read. */
|
|
8421
|
+
const poiseTypography = {
|
|
8422
|
+
body: {
|
|
8423
|
+
family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
|
|
8424
|
+
size: "lg",
|
|
8425
|
+
weight: "regular",
|
|
8426
|
+
lineHeight: "relaxed",
|
|
8427
|
+
letterSpacing: "normal"
|
|
8428
|
+
},
|
|
8429
|
+
smallHeading: {
|
|
8430
|
+
family: "\"Plus Jakarta Sans\", system-ui, sans-serif",
|
|
8431
|
+
weight: "bold"
|
|
8432
|
+
},
|
|
8433
|
+
headings: {
|
|
8434
|
+
default: {
|
|
8435
|
+
family: "\"Schibsted Grotesk\", \"Helvetica Neue\", Arial, sans-serif",
|
|
8436
|
+
weight: "bold",
|
|
8437
|
+
lineHeight: "normal",
|
|
8438
|
+
letterSpacing: "tight",
|
|
8439
|
+
italic: null,
|
|
8440
|
+
case: null
|
|
8441
|
+
},
|
|
8442
|
+
h1: {
|
|
8443
|
+
size: "2xl",
|
|
8444
|
+
weight: "bold",
|
|
8445
|
+
lineHeight: "tight",
|
|
8446
|
+
letterSpacing: "tight",
|
|
8447
|
+
italic: null
|
|
8448
|
+
},
|
|
8449
|
+
h2: {
|
|
8450
|
+
size: "xl",
|
|
8451
|
+
weight: "bold",
|
|
8452
|
+
lineHeight: "tight",
|
|
8453
|
+
letterSpacing: "tight",
|
|
8454
|
+
italic: null
|
|
8455
|
+
},
|
|
8456
|
+
h3: {
|
|
8457
|
+
size: "md",
|
|
8458
|
+
weight: "bold",
|
|
8459
|
+
lineHeight: "snug",
|
|
8460
|
+
letterSpacing: "tight",
|
|
8461
|
+
italic: null
|
|
8462
|
+
}
|
|
8463
|
+
},
|
|
8464
|
+
scale: "spacious"
|
|
8465
|
+
};
|
|
8466
|
+
/** Haven: Nunito for headings (700, with 750 at the hero step); Nunito Sans to read. */
|
|
8467
|
+
const havenTypography = {
|
|
8468
|
+
body: {
|
|
8469
|
+
family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
|
|
8470
|
+
size: "lg",
|
|
8471
|
+
weight: "regular",
|
|
8472
|
+
lineHeight: "relaxed",
|
|
8473
|
+
letterSpacing: "normal"
|
|
8474
|
+
},
|
|
8475
|
+
smallHeading: {
|
|
8476
|
+
family: "\"Nunito Sans\", \"Segoe UI\", system-ui, sans-serif",
|
|
8477
|
+
weight: "bold"
|
|
8478
|
+
},
|
|
8479
|
+
headings: {
|
|
8480
|
+
default: {
|
|
8481
|
+
family: "Nunito, \"Segoe UI\", system-ui, sans-serif",
|
|
8482
|
+
weight: "bold",
|
|
8483
|
+
lineHeight: "normal",
|
|
8484
|
+
letterSpacing: "tight",
|
|
8485
|
+
italic: null,
|
|
8486
|
+
case: null
|
|
8487
|
+
},
|
|
8488
|
+
h1: {
|
|
8489
|
+
size: "2xl",
|
|
8490
|
+
weight: "bold",
|
|
8491
|
+
lineHeight: "tight",
|
|
8492
|
+
letterSpacing: "tight",
|
|
8493
|
+
italic: null
|
|
8494
|
+
},
|
|
8495
|
+
h2: {
|
|
8496
|
+
size: "xl",
|
|
8497
|
+
weight: "bold",
|
|
8498
|
+
lineHeight: "tight",
|
|
8499
|
+
letterSpacing: "tight",
|
|
8500
|
+
italic: null
|
|
8501
|
+
},
|
|
8502
|
+
h3: {
|
|
8503
|
+
size: "md",
|
|
8504
|
+
weight: "bold",
|
|
8505
|
+
lineHeight: "snug",
|
|
8506
|
+
letterSpacing: "normal",
|
|
8507
|
+
italic: null
|
|
8508
|
+
}
|
|
8509
|
+
},
|
|
8510
|
+
scale: "spacious"
|
|
8511
|
+
};
|
|
8512
|
+
//#endregion
|
|
7412
8513
|
//#region ../theme-core/src/site-styles/designState.ts
|
|
7413
8514
|
const designResolutionPolicySchema = z.enum([
|
|
7414
8515
|
"generated",
|
|
@@ -7809,7 +8910,9 @@ const curatedSiteStyleIdValues = [
|
|
|
7809
8910
|
"site-style:lantern",
|
|
7810
8911
|
"site-style:measure",
|
|
7811
8912
|
"site-style:folio",
|
|
7812
|
-
"site-style:loom"
|
|
8913
|
+
"site-style:loom",
|
|
8914
|
+
"site-style:poise",
|
|
8915
|
+
"site-style:haven"
|
|
7813
8916
|
];
|
|
7814
8917
|
/** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
|
|
7815
8918
|
const bookingPageNoPhotoHeroLookIds = {
|
|
@@ -7818,7 +8921,8 @@ const bookingPageNoPhotoHeroLookIds = {
|
|
|
7818
8921
|
"site-style:measure": "hero-page-head",
|
|
7819
8922
|
"site-style:grounded-practice": "hero-contained-intro",
|
|
7820
8923
|
"site-style:lantern": "hero-framed-title",
|
|
7821
|
-
"site-style:poster": "hero-page-head"
|
|
8924
|
+
"site-style:poster": "hero-page-head",
|
|
8925
|
+
"site-style:loom": "hero-page-head"
|
|
7822
8926
|
};
|
|
7823
8927
|
function bookingPageOfferingFor(siteStyleId) {
|
|
7824
8928
|
const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
|
|
@@ -8043,6 +9147,14 @@ const headerCurationBySiteStyle = {
|
|
|
8043
9147
|
layoutId: "classic",
|
|
8044
9148
|
styleIds: ["serif-line"]
|
|
8045
9149
|
}]),
|
|
9150
|
+
"site-style:poise": defineHeaderCuration([{
|
|
9151
|
+
layoutId: "classic",
|
|
9152
|
+
styleIds: ["pill-nav"]
|
|
9153
|
+
}]),
|
|
9154
|
+
"site-style:haven": defineHeaderCuration([{
|
|
9155
|
+
layoutId: "classic",
|
|
9156
|
+
styleIds: ["fine-line"]
|
|
9157
|
+
}]),
|
|
8046
9158
|
"site-style:clarity-zen-blue": defineHeaderCuration([{
|
|
8047
9159
|
layoutId: "centered",
|
|
8048
9160
|
styleIds: [
|
|
@@ -8425,18 +9537,21 @@ const loomLooks = {
|
|
|
8425
9537
|
id: id("card-list-plates"),
|
|
8426
9538
|
treatment: "items-plates",
|
|
8427
9539
|
roleMap: loomRoles,
|
|
8428
|
-
|
|
8429
|
-
|
|
9540
|
+
knobValues: {
|
|
9541
|
+
showPhotos: ["false"],
|
|
9542
|
+
dates: ["next-dates"]
|
|
9543
|
+
},
|
|
8430
9544
|
itemRoles: { items: "card" }
|
|
8431
9545
|
},
|
|
8432
9546
|
{
|
|
8433
9547
|
id: id("feature-cards-cards"),
|
|
8434
9548
|
treatment: "cards-sewn",
|
|
8435
9549
|
roleMap: loomRoles,
|
|
8436
|
-
removeKnobs: ["showPhotos"],
|
|
8437
9550
|
knobValues: {
|
|
9551
|
+
showPhotos: ["false"],
|
|
8438
9552
|
cardMarker: ["none"],
|
|
8439
|
-
actionStyle: ["link"]
|
|
9553
|
+
actionStyle: ["link"],
|
|
9554
|
+
columns: ["3"]
|
|
8440
9555
|
}
|
|
8441
9556
|
},
|
|
8442
9557
|
{
|
|
@@ -8448,7 +9563,8 @@ const loomLooks = {
|
|
|
8448
9563
|
id: id("event-calendar-session-cards"),
|
|
8449
9564
|
treatment: "calendar-session-cards",
|
|
8450
9565
|
roleMap: loomRoles,
|
|
8451
|
-
removeKnobs: ["
|
|
9566
|
+
removeKnobs: ["listColumns"],
|
|
9567
|
+
knobValues: { showPhotos: ["false"] }
|
|
8452
9568
|
},
|
|
8453
9569
|
{
|
|
8454
9570
|
id: id("testimonials-lead-quote"),
|
|
@@ -8712,27 +9828,858 @@ const loomLooks = {
|
|
|
8712
9828
|
treatment: "team-portrait-bio",
|
|
8713
9829
|
roleMap: loomRoles
|
|
8714
9830
|
},
|
|
8715
|
-
{
|
|
8716
|
-
id: id("team-members-ruled-names"),
|
|
8717
|
-
treatment: "team-ruled-names",
|
|
8718
|
-
roleMap: loomRoles
|
|
9831
|
+
{
|
|
9832
|
+
id: id("team-members-ruled-names"),
|
|
9833
|
+
treatment: "team-ruled-names",
|
|
9834
|
+
roleMap: loomRoles
|
|
9835
|
+
},
|
|
9836
|
+
{
|
|
9837
|
+
id: id("shop-price-cards"),
|
|
9838
|
+
treatment: "shop-price-cards",
|
|
9839
|
+
roleMap: loomRoles
|
|
9840
|
+
},
|
|
9841
|
+
{
|
|
9842
|
+
id: id("shop-ruled-prices"),
|
|
9843
|
+
treatment: "shop-ruled-prices",
|
|
9844
|
+
roleMap: loomRoles
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
id: id("card-list-photos-on-top"),
|
|
9848
|
+
treatment: "items-photos-on-top",
|
|
9849
|
+
roleMap: loomRoles
|
|
9850
|
+
}
|
|
9851
|
+
]
|
|
9852
|
+
};
|
|
9853
|
+
/**
|
|
9854
|
+
* Poise (issue 1659): rounded panels on the page, the brand colour for statements and
|
|
9855
|
+
* highlights. The sheet ground classifies as the band ground, where cards drop back to
|
|
9856
|
+
* the page colour so they still show; on the brand field statements and highlights
|
|
9857
|
+
* swap so they never vanish into it.
|
|
9858
|
+
*/
|
|
9859
|
+
const poiseRoles = {
|
|
9860
|
+
card: {
|
|
9861
|
+
default: "sheet",
|
|
9862
|
+
band: "base"
|
|
9863
|
+
},
|
|
9864
|
+
statement: {
|
|
9865
|
+
default: "brand",
|
|
9866
|
+
brand: "inverse"
|
|
9867
|
+
},
|
|
9868
|
+
highlight: {
|
|
9869
|
+
default: "brand",
|
|
9870
|
+
brand: "sheet"
|
|
9871
|
+
}
|
|
9872
|
+
};
|
|
9873
|
+
const poiseOffers = [
|
|
9874
|
+
{
|
|
9875
|
+
id: id("team-members-portrait-bio"),
|
|
9876
|
+
treatment: "team-bio",
|
|
9877
|
+
roleMap: poiseRoles
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
id: id("team-members-tall-portraits"),
|
|
9881
|
+
treatment: "team-portraits",
|
|
9882
|
+
roleMap: poiseRoles,
|
|
9883
|
+
itemRoles: { items: "card" }
|
|
9884
|
+
},
|
|
9885
|
+
{
|
|
9886
|
+
id: id("shop-price-cards-featured"),
|
|
9887
|
+
treatment: "prices-featured",
|
|
9888
|
+
roleMap: poiseRoles
|
|
9889
|
+
},
|
|
9890
|
+
{
|
|
9891
|
+
id: id("shop-price-cards"),
|
|
9892
|
+
treatment: "prices",
|
|
9893
|
+
roleMap: poiseRoles
|
|
9894
|
+
},
|
|
9895
|
+
{
|
|
9896
|
+
id: id("shop-ruled-prices"),
|
|
9897
|
+
treatment: "price-rows",
|
|
9898
|
+
roleMap: poiseRoles
|
|
9899
|
+
},
|
|
9900
|
+
{
|
|
9901
|
+
id: id("card-list-plates"),
|
|
9902
|
+
treatment: "plates",
|
|
9903
|
+
roleMap: poiseRoles,
|
|
9904
|
+
itemRoles: { items: "card" }
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
id: id("hero-photo-beside-text"),
|
|
9908
|
+
treatment: "hero-split",
|
|
9909
|
+
roleMap: poiseRoles
|
|
9910
|
+
},
|
|
9911
|
+
{
|
|
9912
|
+
id: id("hero-headline-row"),
|
|
9913
|
+
treatment: "hero-headline-row",
|
|
9914
|
+
roleMap: poiseRoles
|
|
9915
|
+
},
|
|
9916
|
+
{
|
|
9917
|
+
id: id("hero-photo-behind-text"),
|
|
9918
|
+
treatment: "hero-behind",
|
|
9919
|
+
roleMap: poiseRoles
|
|
9920
|
+
},
|
|
9921
|
+
{
|
|
9922
|
+
id: id("hero-page-head"),
|
|
9923
|
+
treatment: "hero-page-head",
|
|
9924
|
+
roleMap: poiseRoles
|
|
9925
|
+
},
|
|
9926
|
+
{
|
|
9927
|
+
id: id("hero-copy-over-gallery"),
|
|
9928
|
+
treatment: "hero-gallery",
|
|
9929
|
+
roleMap: poiseRoles
|
|
9930
|
+
},
|
|
9931
|
+
{
|
|
9932
|
+
id: id("intro-photo-beside-text"),
|
|
9933
|
+
treatment: "intro-photo",
|
|
9934
|
+
roleMap: poiseRoles
|
|
9935
|
+
},
|
|
9936
|
+
{
|
|
9937
|
+
id: id("intro-statement-beside-text"),
|
|
9938
|
+
treatment: "intro-statement",
|
|
9939
|
+
roleMap: poiseRoles
|
|
9940
|
+
},
|
|
9941
|
+
{
|
|
9942
|
+
id: id("media-text-photo-beside-text"),
|
|
9943
|
+
treatment: "media-beside",
|
|
9944
|
+
roleMap: poiseRoles
|
|
9945
|
+
},
|
|
9946
|
+
{
|
|
9947
|
+
id: id("media-text-circle-beside-text"),
|
|
9948
|
+
treatment: "media-circle",
|
|
9949
|
+
roleMap: poiseRoles
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
id: id("feature-cards-cards"),
|
|
9953
|
+
treatment: "cards",
|
|
9954
|
+
roleMap: poiseRoles
|
|
9955
|
+
},
|
|
9956
|
+
{
|
|
9957
|
+
id: id("feature-cards-lead-support"),
|
|
9958
|
+
treatment: "cards-lead",
|
|
9959
|
+
roleMap: poiseRoles
|
|
9960
|
+
},
|
|
9961
|
+
{
|
|
9962
|
+
id: id("feature-cards-sequence"),
|
|
9963
|
+
treatment: "steps",
|
|
9964
|
+
roleMap: poiseRoles
|
|
9965
|
+
},
|
|
9966
|
+
{
|
|
9967
|
+
id: id("feature-cards-open-columns"),
|
|
9968
|
+
treatment: "open-columns",
|
|
9969
|
+
roleMap: poiseRoles
|
|
9970
|
+
},
|
|
9971
|
+
{
|
|
9972
|
+
id: id("card-list-photos-on-top"),
|
|
9973
|
+
treatment: "photos-on-top",
|
|
9974
|
+
roleMap: poiseRoles
|
|
9975
|
+
},
|
|
9976
|
+
{
|
|
9977
|
+
id: id("card-list-scroll-row"),
|
|
9978
|
+
treatment: "card-row",
|
|
9979
|
+
roleMap: poiseRoles
|
|
9980
|
+
},
|
|
9981
|
+
{
|
|
9982
|
+
id: id("event-calendar-ruled-rows"),
|
|
9983
|
+
treatment: "rows",
|
|
9984
|
+
roleMap: poiseRoles
|
|
9985
|
+
},
|
|
9986
|
+
{
|
|
9987
|
+
id: id("event-calendar-grouped-by-day"),
|
|
9988
|
+
treatment: "day-groups",
|
|
9989
|
+
roleMap: poiseRoles
|
|
9990
|
+
},
|
|
9991
|
+
{
|
|
9992
|
+
id: id("event-calendar-week-columns"),
|
|
9993
|
+
treatment: "week-columns",
|
|
9994
|
+
roleMap: poiseRoles,
|
|
9995
|
+
itemRoles: { container: "card" },
|
|
9996
|
+
slotRoles: { today: "highlight" }
|
|
9997
|
+
},
|
|
9998
|
+
{
|
|
9999
|
+
id: id("event-calendar-session-cards"),
|
|
10000
|
+
treatment: "times-row",
|
|
10001
|
+
roleMap: poiseRoles,
|
|
10002
|
+
removeKnobs: ["showPhotos"]
|
|
10003
|
+
},
|
|
10004
|
+
{
|
|
10005
|
+
id: id("events-spotlight"),
|
|
10006
|
+
treatment: "spotlight",
|
|
10007
|
+
roleMap: poiseRoles
|
|
10008
|
+
},
|
|
10009
|
+
{
|
|
10010
|
+
id: id("events-recurring-week"),
|
|
10011
|
+
treatment: "week-list",
|
|
10012
|
+
roleMap: poiseRoles
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
id: id("event-calendar-month-grid"),
|
|
10016
|
+
treatment: "month-grid",
|
|
10017
|
+
roleMap: poiseRoles
|
|
10018
|
+
},
|
|
10019
|
+
{
|
|
10020
|
+
id: id("event-calendar-month-day"),
|
|
10021
|
+
treatment: "month-day",
|
|
10022
|
+
roleMap: poiseRoles
|
|
10023
|
+
},
|
|
10024
|
+
{
|
|
10025
|
+
id: id("event-details-header"),
|
|
10026
|
+
treatment: "event-header",
|
|
10027
|
+
roleMap: poiseRoles,
|
|
10028
|
+
slotRoles: { panel: "card" }
|
|
10029
|
+
},
|
|
10030
|
+
{
|
|
10031
|
+
id: id("event-details-panel"),
|
|
10032
|
+
treatment: "details-panel",
|
|
10033
|
+
roleMap: poiseRoles
|
|
10034
|
+
},
|
|
10035
|
+
{
|
|
10036
|
+
id: id("testimonials-quote-cards"),
|
|
10037
|
+
treatment: "quote-cards",
|
|
10038
|
+
roleMap: poiseRoles
|
|
10039
|
+
},
|
|
10040
|
+
{
|
|
10041
|
+
id: id("testimonials-lead-quote"),
|
|
10042
|
+
treatment: "quote-lead",
|
|
10043
|
+
roleMap: poiseRoles,
|
|
10044
|
+
itemRoles: { items: "card" }
|
|
10045
|
+
},
|
|
10046
|
+
{
|
|
10047
|
+
id: id("testimonials-one-quote"),
|
|
10048
|
+
treatment: "quote-single",
|
|
10049
|
+
roleMap: poiseRoles
|
|
10050
|
+
},
|
|
10051
|
+
{
|
|
10052
|
+
id: id("testimonials-scroll-row"),
|
|
10053
|
+
treatment: "quote-row",
|
|
10054
|
+
roleMap: poiseRoles
|
|
10055
|
+
},
|
|
10056
|
+
{
|
|
10057
|
+
id: id("faq-title-beside-questions"),
|
|
10058
|
+
treatment: "faq-beside",
|
|
10059
|
+
itemRoles: { items: "card" },
|
|
10060
|
+
roleMap: poiseRoles
|
|
10061
|
+
},
|
|
10062
|
+
{
|
|
10063
|
+
id: id("faq-questions-under-title"),
|
|
10064
|
+
treatment: "faq-under",
|
|
10065
|
+
itemRoles: { items: "card" },
|
|
10066
|
+
roleMap: poiseRoles
|
|
10067
|
+
},
|
|
10068
|
+
{
|
|
10069
|
+
id: id("faq-questions-two-columns"),
|
|
10070
|
+
treatment: "faq-columns",
|
|
10071
|
+
itemRoles: { items: "card" },
|
|
10072
|
+
roleMap: poiseRoles
|
|
10073
|
+
},
|
|
10074
|
+
{
|
|
10075
|
+
id: id("faq-all-answers-showing"),
|
|
10076
|
+
treatment: "faq-open",
|
|
10077
|
+
roleMap: poiseRoles
|
|
10078
|
+
},
|
|
10079
|
+
{
|
|
10080
|
+
id: id("cta-centred"),
|
|
10081
|
+
treatment: "cta-left",
|
|
10082
|
+
roleMap: poiseRoles
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
id: id("cta-title-beside-buttons"),
|
|
10086
|
+
treatment: "cta-beside",
|
|
10087
|
+
roleMap: poiseRoles
|
|
10088
|
+
},
|
|
10089
|
+
{
|
|
10090
|
+
id: id("cta-figure-beside-offer"),
|
|
10091
|
+
treatment: "cta-figure",
|
|
10092
|
+
roleMap: poiseRoles
|
|
10093
|
+
},
|
|
10094
|
+
{
|
|
10095
|
+
id: id("newsletter-signup-text-beside"),
|
|
10096
|
+
treatment: "signup-beside",
|
|
10097
|
+
roleMap: poiseRoles
|
|
10098
|
+
},
|
|
10099
|
+
{
|
|
10100
|
+
id: id("newsletter-signup-one-row"),
|
|
10101
|
+
treatment: "signup-row",
|
|
10102
|
+
roleMap: poiseRoles
|
|
10103
|
+
},
|
|
10104
|
+
{
|
|
10105
|
+
id: id("newsletter-signup-in-arch"),
|
|
10106
|
+
treatment: "signup-frame",
|
|
10107
|
+
roleMap: poiseRoles
|
|
10108
|
+
},
|
|
10109
|
+
{
|
|
10110
|
+
id: id("form-beside-introduction-arched-panel"),
|
|
10111
|
+
treatment: "form-beside",
|
|
10112
|
+
roleMap: poiseRoles
|
|
10113
|
+
},
|
|
10114
|
+
{
|
|
10115
|
+
id: id("form-below-introduction"),
|
|
10116
|
+
treatment: "form-below",
|
|
10117
|
+
roleMap: poiseRoles
|
|
10118
|
+
},
|
|
10119
|
+
{
|
|
10120
|
+
id: id("body-text-reading-column"),
|
|
10121
|
+
treatment: "body-reading",
|
|
10122
|
+
roleMap: poiseRoles
|
|
10123
|
+
},
|
|
10124
|
+
{
|
|
10125
|
+
id: id("body-text-title-beside"),
|
|
10126
|
+
treatment: "body-beside",
|
|
10127
|
+
roleMap: poiseRoles
|
|
10128
|
+
},
|
|
10129
|
+
{
|
|
10130
|
+
id: id("body-text-large-opening"),
|
|
10131
|
+
treatment: "body-opening",
|
|
10132
|
+
roleMap: poiseRoles
|
|
10133
|
+
},
|
|
10134
|
+
{
|
|
10135
|
+
id: id("image-gallery-lead-photo"),
|
|
10136
|
+
treatment: "gallery-lead",
|
|
10137
|
+
roleMap: poiseRoles
|
|
10138
|
+
},
|
|
10139
|
+
{
|
|
10140
|
+
id: id("image-gallery-square-tiles"),
|
|
10141
|
+
treatment: "gallery-tiles",
|
|
10142
|
+
roleMap: poiseRoles
|
|
10143
|
+
},
|
|
10144
|
+
{
|
|
10145
|
+
id: id("image-gallery-captions-under"),
|
|
10146
|
+
treatment: "gallery-captions",
|
|
10147
|
+
roleMap: poiseRoles
|
|
10148
|
+
},
|
|
10149
|
+
{
|
|
10150
|
+
id: id("location-map-beside-address"),
|
|
10151
|
+
treatment: "map-beside",
|
|
10152
|
+
roleMap: poiseRoles,
|
|
10153
|
+
slotRoles: { panel: "card" }
|
|
10154
|
+
},
|
|
10155
|
+
{
|
|
10156
|
+
id: id("location-map-address-over-wide-map"),
|
|
10157
|
+
treatment: "map-wide",
|
|
10158
|
+
roleMap: poiseRoles
|
|
10159
|
+
},
|
|
10160
|
+
{
|
|
10161
|
+
id: id("location-map-entrance-photo"),
|
|
10162
|
+
treatment: "map-entrance",
|
|
10163
|
+
roleMap: poiseRoles
|
|
10164
|
+
},
|
|
10165
|
+
{
|
|
10166
|
+
id: id("location-map-above-details"),
|
|
10167
|
+
treatment: "map-above",
|
|
10168
|
+
roleMap: poiseRoles
|
|
10169
|
+
}
|
|
10170
|
+
];
|
|
10171
|
+
const poiseLooks = {
|
|
10172
|
+
kind: "offers",
|
|
10173
|
+
skin: "poise",
|
|
10174
|
+
skinTokens: {
|
|
10175
|
+
radius: "24px",
|
|
10176
|
+
rule: "1.5px",
|
|
10177
|
+
"mark-length": "22px",
|
|
10178
|
+
"mark-weight": "8px",
|
|
10179
|
+
plate: "0",
|
|
10180
|
+
gutter: "28px",
|
|
10181
|
+
"copy-gap": "1.25rem",
|
|
10182
|
+
"stack-gap": "2.5rem",
|
|
10183
|
+
"shadow-offset": "0",
|
|
10184
|
+
rotation: "0deg",
|
|
10185
|
+
margin: "20px"
|
|
10186
|
+
},
|
|
10187
|
+
fontLoading: {
|
|
10188
|
+
extraHeadingFontWeights: [700, 800],
|
|
10189
|
+
extraBodyFontWeights: [
|
|
10190
|
+
500,
|
|
10191
|
+
600,
|
|
10192
|
+
700
|
|
10193
|
+
]
|
|
10194
|
+
},
|
|
10195
|
+
surfaces: {
|
|
10196
|
+
base: {
|
|
10197
|
+
kind: "token",
|
|
10198
|
+
token: "background"
|
|
10199
|
+
},
|
|
10200
|
+
band: {
|
|
10201
|
+
kind: "token",
|
|
10202
|
+
token: "surfaceAlt"
|
|
10203
|
+
},
|
|
10204
|
+
sheet: {
|
|
10205
|
+
kind: "token",
|
|
10206
|
+
token: "surface"
|
|
10207
|
+
},
|
|
10208
|
+
brand: {
|
|
10209
|
+
kind: "token",
|
|
10210
|
+
token: "primary",
|
|
10211
|
+
buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") },
|
|
10212
|
+
sectionShape: "field"
|
|
10213
|
+
},
|
|
10214
|
+
inverse: {
|
|
10215
|
+
kind: "token",
|
|
10216
|
+
token: "text",
|
|
10217
|
+
sectionShape: "field"
|
|
10218
|
+
}
|
|
10219
|
+
},
|
|
10220
|
+
rhythm: {
|
|
10221
|
+
"flow:quiet": [
|
|
10222
|
+
"brand",
|
|
10223
|
+
"base",
|
|
10224
|
+
"band",
|
|
10225
|
+
"base"
|
|
10226
|
+
],
|
|
10227
|
+
"flow:balanced": [
|
|
10228
|
+
"brand",
|
|
10229
|
+
"base",
|
|
10230
|
+
"band",
|
|
10231
|
+
"base",
|
|
10232
|
+
"sheet",
|
|
10233
|
+
"inverse",
|
|
10234
|
+
"base",
|
|
10235
|
+
"brand",
|
|
10236
|
+
"band"
|
|
10237
|
+
],
|
|
10238
|
+
"flow:expressive": [
|
|
10239
|
+
"brand",
|
|
10240
|
+
"base",
|
|
10241
|
+
"band",
|
|
10242
|
+
"inverse",
|
|
10243
|
+
"base",
|
|
10244
|
+
"sheet",
|
|
10245
|
+
"brand",
|
|
10246
|
+
"band",
|
|
10247
|
+
"inverse"
|
|
10248
|
+
]
|
|
10249
|
+
},
|
|
10250
|
+
bookingBar: { surface: "inverse" },
|
|
10251
|
+
offers: poiseOffers
|
|
10252
|
+
};
|
|
10253
|
+
/**
|
|
10254
|
+
* Haven (issue 1661): soft grounds and pebbles. The mockup names its grounds base, soft, tint,
|
|
10255
|
+
* wash and brand; in code they are base (background), sheet (surface), band (surfaceAlt),
|
|
10256
|
+
* deep (secondary, the wash) and brand (primary). Cards are surface, and drop back to the
|
|
10257
|
+
* page colour on the surface ground; the featured price is the brand colour, back to surface
|
|
10258
|
+
* on brand; chips, date badges and the sticker take the wash, which shows on every light ground.
|
|
10259
|
+
*/
|
|
10260
|
+
const havenRoles = {
|
|
10261
|
+
card: {
|
|
10262
|
+
default: "sheet",
|
|
10263
|
+
band: "base"
|
|
10264
|
+
},
|
|
10265
|
+
statement: {
|
|
10266
|
+
default: "brand",
|
|
10267
|
+
brand: "sheet"
|
|
10268
|
+
},
|
|
10269
|
+
highlight: {
|
|
10270
|
+
default: "deep",
|
|
10271
|
+
brand: "sheet"
|
|
10272
|
+
}
|
|
10273
|
+
};
|
|
10274
|
+
const havenOffers = [
|
|
10275
|
+
{
|
|
10276
|
+
id: id("team-members-portrait-bio"),
|
|
10277
|
+
treatment: "team-bio",
|
|
10278
|
+
roleMap: havenRoles
|
|
10279
|
+
},
|
|
10280
|
+
{
|
|
10281
|
+
id: id("team-members-tall-portraits"),
|
|
10282
|
+
treatment: "team-portraits",
|
|
10283
|
+
roleMap: havenRoles,
|
|
10284
|
+
itemRoles: { items: "card" }
|
|
10285
|
+
},
|
|
10286
|
+
{
|
|
10287
|
+
id: id("team-members-ruled-names"),
|
|
10288
|
+
treatment: "team-names",
|
|
10289
|
+
roleMap: havenRoles,
|
|
10290
|
+
itemRoles: { container: "card" }
|
|
10291
|
+
},
|
|
10292
|
+
{
|
|
10293
|
+
id: id("shop-price-cards-featured"),
|
|
10294
|
+
treatment: "prices-featured",
|
|
10295
|
+
roleMap: havenRoles
|
|
10296
|
+
},
|
|
10297
|
+
{
|
|
10298
|
+
id: id("shop-price-cards"),
|
|
10299
|
+
treatment: "prices",
|
|
10300
|
+
roleMap: havenRoles
|
|
10301
|
+
},
|
|
10302
|
+
{
|
|
10303
|
+
id: id("shop-ruled-prices"),
|
|
10304
|
+
treatment: "price-rows",
|
|
10305
|
+
roleMap: havenRoles,
|
|
10306
|
+
itemRoles: { container: "card" }
|
|
10307
|
+
},
|
|
10308
|
+
{
|
|
10309
|
+
id: id("card-list-plates"),
|
|
10310
|
+
treatment: "plates",
|
|
10311
|
+
roleMap: havenRoles,
|
|
10312
|
+
itemRoles: { items: "card" }
|
|
10313
|
+
},
|
|
10314
|
+
{
|
|
10315
|
+
id: id("hero-photo-beside-text"),
|
|
10316
|
+
treatment: "hero-split",
|
|
10317
|
+
roleMap: havenRoles
|
|
10318
|
+
},
|
|
10319
|
+
{
|
|
10320
|
+
id: id("hero-headline-row"),
|
|
10321
|
+
treatment: "hero-headline-row",
|
|
10322
|
+
roleMap: havenRoles
|
|
10323
|
+
},
|
|
10324
|
+
{
|
|
10325
|
+
id: id("hero-framed-title"),
|
|
10326
|
+
treatment: "hero-framed",
|
|
10327
|
+
roleMap: havenRoles
|
|
10328
|
+
},
|
|
10329
|
+
{
|
|
10330
|
+
id: id("hero-page-head"),
|
|
10331
|
+
treatment: "hero-page-head",
|
|
10332
|
+
roleMap: havenRoles
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
id: id("intro-photo-beside-text"),
|
|
10336
|
+
treatment: "intro-photo",
|
|
10337
|
+
roleMap: havenRoles
|
|
10338
|
+
},
|
|
10339
|
+
{
|
|
10340
|
+
id: id("intro-statement-beside-text"),
|
|
10341
|
+
treatment: "intro-statement",
|
|
10342
|
+
roleMap: havenRoles
|
|
10343
|
+
},
|
|
10344
|
+
{
|
|
10345
|
+
id: id("media-text-photo-beside-text"),
|
|
10346
|
+
treatment: "media-beside",
|
|
10347
|
+
roleMap: havenRoles
|
|
10348
|
+
},
|
|
10349
|
+
{
|
|
10350
|
+
id: id("media-text-circle-beside-text"),
|
|
10351
|
+
treatment: "media-circle",
|
|
10352
|
+
roleMap: havenRoles
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
id: id("feature-cards-lead-support"),
|
|
10356
|
+
treatment: "cards-lead",
|
|
10357
|
+
roleMap: havenRoles,
|
|
10358
|
+
itemRoles: {
|
|
10359
|
+
items: "card",
|
|
10360
|
+
at: { first: "card" }
|
|
10361
|
+
}
|
|
10362
|
+
},
|
|
10363
|
+
{
|
|
10364
|
+
id: id("feature-cards-cards"),
|
|
10365
|
+
treatment: "cards",
|
|
10366
|
+
roleMap: havenRoles
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
id: id("feature-cards-sequence"),
|
|
10370
|
+
treatment: "steps",
|
|
10371
|
+
roleMap: havenRoles
|
|
10372
|
+
},
|
|
10373
|
+
{
|
|
10374
|
+
id: id("feature-cards-index"),
|
|
10375
|
+
treatment: "index",
|
|
10376
|
+
roleMap: havenRoles,
|
|
10377
|
+
itemRoles: { container: "card" }
|
|
10378
|
+
},
|
|
10379
|
+
{
|
|
10380
|
+
id: id("feature-cards-open-columns"),
|
|
10381
|
+
treatment: "open-columns",
|
|
10382
|
+
roleMap: havenRoles
|
|
10383
|
+
},
|
|
10384
|
+
{
|
|
10385
|
+
id: id("card-list-photos-on-top"),
|
|
10386
|
+
treatment: "photos-on-top",
|
|
10387
|
+
roleMap: havenRoles
|
|
10388
|
+
},
|
|
10389
|
+
{
|
|
10390
|
+
id: id("card-list-scroll-row"),
|
|
10391
|
+
treatment: "card-row",
|
|
10392
|
+
roleMap: havenRoles
|
|
10393
|
+
},
|
|
10394
|
+
{
|
|
10395
|
+
id: id("card-list-wide-slides"),
|
|
10396
|
+
treatment: "wide-slides",
|
|
10397
|
+
roleMap: havenRoles
|
|
10398
|
+
},
|
|
10399
|
+
{
|
|
10400
|
+
id: id("event-calendar-ruled-rows"),
|
|
10401
|
+
treatment: "rows",
|
|
10402
|
+
roleMap: havenRoles,
|
|
10403
|
+
itemRoles: { items: "card" },
|
|
10404
|
+
slotRoles: { date: "highlight" }
|
|
10405
|
+
},
|
|
10406
|
+
{
|
|
10407
|
+
id: id("event-calendar-grouped-by-day"),
|
|
10408
|
+
treatment: "day-groups",
|
|
10409
|
+
roleMap: havenRoles
|
|
10410
|
+
},
|
|
10411
|
+
{
|
|
10412
|
+
id: id("event-calendar-week-columns"),
|
|
10413
|
+
treatment: "week-columns",
|
|
10414
|
+
roleMap: havenRoles,
|
|
10415
|
+
itemRoles: { container: "card" },
|
|
10416
|
+
slotRoles: { today: "highlight" }
|
|
10417
|
+
},
|
|
10418
|
+
{
|
|
10419
|
+
id: id("event-calendar-session-cards"),
|
|
10420
|
+
treatment: "session-cards",
|
|
10421
|
+
roleMap: havenRoles
|
|
10422
|
+
},
|
|
10423
|
+
{
|
|
10424
|
+
id: id("event-calendar-next-three"),
|
|
10425
|
+
treatment: "compact",
|
|
10426
|
+
roleMap: havenRoles
|
|
10427
|
+
},
|
|
10428
|
+
{
|
|
10429
|
+
id: id("events-spotlight"),
|
|
10430
|
+
treatment: "spotlight",
|
|
10431
|
+
roleMap: havenRoles
|
|
10432
|
+
},
|
|
10433
|
+
{
|
|
10434
|
+
id: id("events-recurring-week"),
|
|
10435
|
+
treatment: "week-list",
|
|
10436
|
+
roleMap: havenRoles,
|
|
10437
|
+
itemRoles: { items: "card" },
|
|
10438
|
+
slotRoles: { date: "highlight" }
|
|
10439
|
+
},
|
|
10440
|
+
{
|
|
10441
|
+
id: id("event-calendar-month-grid"),
|
|
10442
|
+
treatment: "month-grid",
|
|
10443
|
+
roleMap: havenRoles,
|
|
10444
|
+
itemRoles: { container: "card" }
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
id: id("event-calendar-month-day"),
|
|
10448
|
+
treatment: "month-day",
|
|
10449
|
+
roleMap: havenRoles
|
|
10450
|
+
},
|
|
10451
|
+
{
|
|
10452
|
+
id: id("event-details-header"),
|
|
10453
|
+
treatment: "event-header",
|
|
10454
|
+
roleMap: havenRoles,
|
|
10455
|
+
slotRoles: { panel: "card" }
|
|
10456
|
+
},
|
|
10457
|
+
{
|
|
10458
|
+
id: id("event-details-panel"),
|
|
10459
|
+
treatment: "details-panel",
|
|
10460
|
+
roleMap: havenRoles
|
|
10461
|
+
},
|
|
10462
|
+
{
|
|
10463
|
+
id: id("testimonials-lead-quote"),
|
|
10464
|
+
treatment: "quote-lead",
|
|
10465
|
+
roleMap: {
|
|
10466
|
+
...havenRoles,
|
|
10467
|
+
highlight: "section"
|
|
10468
|
+
},
|
|
10469
|
+
itemRoles: {
|
|
10470
|
+
items: "card",
|
|
10471
|
+
at: { first: "highlight" }
|
|
10472
|
+
}
|
|
10473
|
+
},
|
|
10474
|
+
{
|
|
10475
|
+
id: id("testimonials-quote-cards"),
|
|
10476
|
+
treatment: "quote-cards",
|
|
10477
|
+
roleMap: havenRoles
|
|
10478
|
+
},
|
|
10479
|
+
{
|
|
10480
|
+
id: id("testimonials-quote-columns"),
|
|
10481
|
+
treatment: "quote-columns",
|
|
10482
|
+
roleMap: havenRoles
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
id: id("testimonials-one-quote"),
|
|
10486
|
+
treatment: "quote-single",
|
|
10487
|
+
roleMap: havenRoles
|
|
10488
|
+
},
|
|
10489
|
+
{
|
|
10490
|
+
id: id("testimonials-one-at-a-time"),
|
|
10491
|
+
treatment: "quote-slides",
|
|
10492
|
+
roleMap: havenRoles
|
|
10493
|
+
},
|
|
10494
|
+
{
|
|
10495
|
+
id: id("faq-title-beside-questions"),
|
|
10496
|
+
treatment: "faq-beside",
|
|
10497
|
+
itemRoles: { items: "card" },
|
|
10498
|
+
roleMap: havenRoles
|
|
10499
|
+
},
|
|
10500
|
+
{
|
|
10501
|
+
id: id("faq-questions-under-title"),
|
|
10502
|
+
treatment: "faq-under",
|
|
10503
|
+
itemRoles: { items: "card" },
|
|
10504
|
+
roleMap: havenRoles
|
|
10505
|
+
},
|
|
10506
|
+
{
|
|
10507
|
+
id: id("faq-questions-two-columns"),
|
|
10508
|
+
treatment: "faq-columns",
|
|
10509
|
+
itemRoles: { items: "card" },
|
|
10510
|
+
roleMap: havenRoles
|
|
10511
|
+
},
|
|
10512
|
+
{
|
|
10513
|
+
id: id("faq-all-answers-showing"),
|
|
10514
|
+
treatment: "faq-open",
|
|
10515
|
+
roleMap: havenRoles
|
|
10516
|
+
},
|
|
10517
|
+
{
|
|
10518
|
+
id: id("cta-centred"),
|
|
10519
|
+
treatment: "cta-centred",
|
|
10520
|
+
roleMap: havenRoles
|
|
10521
|
+
},
|
|
10522
|
+
{
|
|
10523
|
+
id: id("cta-title-beside-buttons"),
|
|
10524
|
+
treatment: "cta-beside",
|
|
10525
|
+
roleMap: havenRoles
|
|
10526
|
+
},
|
|
10527
|
+
{
|
|
10528
|
+
id: id("cta-figure-beside-offer"),
|
|
10529
|
+
treatment: "cta-figure",
|
|
10530
|
+
roleMap: havenRoles
|
|
10531
|
+
},
|
|
10532
|
+
{
|
|
10533
|
+
id: id("newsletter-signup-text-beside"),
|
|
10534
|
+
treatment: "signup-beside",
|
|
10535
|
+
roleMap: havenRoles
|
|
10536
|
+
},
|
|
10537
|
+
{
|
|
10538
|
+
id: id("newsletter-signup-one-row"),
|
|
10539
|
+
treatment: "signup-row",
|
|
10540
|
+
roleMap: havenRoles
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
id: id("newsletter-signup-in-arch"),
|
|
10544
|
+
treatment: "signup-frame",
|
|
10545
|
+
roleMap: havenRoles
|
|
10546
|
+
},
|
|
10547
|
+
{
|
|
10548
|
+
id: id("form-beside-introduction-arched-panel"),
|
|
10549
|
+
treatment: "form-beside",
|
|
10550
|
+
roleMap: havenRoles
|
|
10551
|
+
},
|
|
10552
|
+
{
|
|
10553
|
+
id: id("form-below-introduction"),
|
|
10554
|
+
treatment: "form-below",
|
|
10555
|
+
roleMap: havenRoles
|
|
10556
|
+
},
|
|
10557
|
+
{
|
|
10558
|
+
id: id("body-text-reading-column"),
|
|
10559
|
+
treatment: "body-reading",
|
|
10560
|
+
roleMap: havenRoles
|
|
10561
|
+
},
|
|
10562
|
+
{
|
|
10563
|
+
id: id("body-text-title-beside"),
|
|
10564
|
+
treatment: "body-beside",
|
|
10565
|
+
roleMap: havenRoles
|
|
10566
|
+
},
|
|
10567
|
+
{
|
|
10568
|
+
id: id("body-text-large-opening"),
|
|
10569
|
+
treatment: "body-opening",
|
|
10570
|
+
roleMap: havenRoles
|
|
10571
|
+
},
|
|
10572
|
+
{
|
|
10573
|
+
id: id("image-gallery-captions-under"),
|
|
10574
|
+
treatment: "gallery-captions",
|
|
10575
|
+
roleMap: havenRoles
|
|
10576
|
+
},
|
|
10577
|
+
{
|
|
10578
|
+
id: id("image-gallery-square-tiles"),
|
|
10579
|
+
treatment: "gallery-tiles",
|
|
10580
|
+
roleMap: havenRoles
|
|
10581
|
+
},
|
|
10582
|
+
{
|
|
10583
|
+
id: id("image-gallery-lead-photo"),
|
|
10584
|
+
treatment: "gallery-lead",
|
|
10585
|
+
roleMap: havenRoles
|
|
10586
|
+
},
|
|
10587
|
+
{
|
|
10588
|
+
id: id("location-map-beside-address"),
|
|
10589
|
+
treatment: "map-beside",
|
|
10590
|
+
roleMap: havenRoles,
|
|
10591
|
+
slotRoles: { panel: "card" }
|
|
10592
|
+
},
|
|
10593
|
+
{
|
|
10594
|
+
id: id("location-map-above-details"),
|
|
10595
|
+
treatment: "map-above",
|
|
10596
|
+
roleMap: havenRoles
|
|
10597
|
+
},
|
|
10598
|
+
{
|
|
10599
|
+
id: id("location-map-address-over-wide-map"),
|
|
10600
|
+
treatment: "map-wide",
|
|
10601
|
+
roleMap: havenRoles
|
|
10602
|
+
},
|
|
10603
|
+
{
|
|
10604
|
+
id: id("location-map-entrance-photo"),
|
|
10605
|
+
treatment: "map-entrance",
|
|
10606
|
+
roleMap: havenRoles
|
|
10607
|
+
}
|
|
10608
|
+
];
|
|
10609
|
+
const havenLooks = {
|
|
10610
|
+
kind: "offers",
|
|
10611
|
+
skin: "haven",
|
|
10612
|
+
skinTokens: {
|
|
10613
|
+
radius: "30px",
|
|
10614
|
+
rule: "1.5px",
|
|
10615
|
+
"mark-length": "14px",
|
|
10616
|
+
"mark-weight": "12px",
|
|
10617
|
+
plate: "1.25rem",
|
|
10618
|
+
gutter: "32px",
|
|
10619
|
+
"copy-gap": "1.25rem",
|
|
10620
|
+
"stack-gap": "3rem",
|
|
10621
|
+
"shadow-offset": "0",
|
|
10622
|
+
rotation: "0deg",
|
|
10623
|
+
wrap: "1200px"
|
|
10624
|
+
},
|
|
10625
|
+
fontLoading: {
|
|
10626
|
+
extraHeadingFontWeights: [750],
|
|
10627
|
+
extraBodyFontWeights: [600, 700]
|
|
10628
|
+
},
|
|
10629
|
+
surfaces: {
|
|
10630
|
+
base: {
|
|
10631
|
+
kind: "token",
|
|
10632
|
+
token: "background"
|
|
10633
|
+
},
|
|
10634
|
+
sheet: {
|
|
10635
|
+
kind: "token",
|
|
10636
|
+
token: "surface"
|
|
8719
10637
|
},
|
|
8720
|
-
{
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
roleMap: loomRoles
|
|
10638
|
+
band: {
|
|
10639
|
+
kind: "token",
|
|
10640
|
+
token: "surfaceAlt"
|
|
8724
10641
|
},
|
|
8725
|
-
{
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
10642
|
+
deep: {
|
|
10643
|
+
kind: "token",
|
|
10644
|
+
token: "secondary",
|
|
10645
|
+
roleOnly: true
|
|
8729
10646
|
},
|
|
8730
|
-
{
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
10647
|
+
brand: {
|
|
10648
|
+
kind: "token",
|
|
10649
|
+
token: "primary",
|
|
10650
|
+
buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
|
|
8734
10651
|
}
|
|
8735
|
-
|
|
10652
|
+
},
|
|
10653
|
+
rhythm: {
|
|
10654
|
+
"flow:quiet": [
|
|
10655
|
+
"base",
|
|
10656
|
+
"band",
|
|
10657
|
+
"base",
|
|
10658
|
+
"sheet"
|
|
10659
|
+
],
|
|
10660
|
+
"flow:balanced": [
|
|
10661
|
+
"base",
|
|
10662
|
+
"band",
|
|
10663
|
+
"base",
|
|
10664
|
+
"sheet",
|
|
10665
|
+
"base",
|
|
10666
|
+
"band",
|
|
10667
|
+
"brand",
|
|
10668
|
+
"sheet"
|
|
10669
|
+
],
|
|
10670
|
+
"flow:expressive": [
|
|
10671
|
+
"base",
|
|
10672
|
+
"band",
|
|
10673
|
+
"base",
|
|
10674
|
+
"brand",
|
|
10675
|
+
"sheet",
|
|
10676
|
+
"band",
|
|
10677
|
+
"base",
|
|
10678
|
+
"sheet"
|
|
10679
|
+
]
|
|
10680
|
+
},
|
|
10681
|
+
defaultJoin: noneBoundaryOption.id,
|
|
10682
|
+
offers: havenOffers
|
|
8736
10683
|
};
|
|
8737
10684
|
/** Folio: quiet sheets and band-coloured statements. */
|
|
8738
10685
|
const folioRoles = {
|
|
@@ -9658,17 +11605,20 @@ const posterOffers = [
|
|
|
9658
11605
|
{
|
|
9659
11606
|
id: id("image-gallery-square-tiles"),
|
|
9660
11607
|
treatment: "gallery-tiles",
|
|
9661
|
-
roleMap: posterRoles
|
|
11608
|
+
roleMap: posterRoles,
|
|
11609
|
+
removeKnobs: ["blackAndWhite"]
|
|
9662
11610
|
},
|
|
9663
11611
|
{
|
|
9664
11612
|
id: id("image-gallery-lead-photo"),
|
|
9665
11613
|
treatment: "gallery-lead",
|
|
9666
|
-
roleMap: posterRoles
|
|
11614
|
+
roleMap: posterRoles,
|
|
11615
|
+
removeKnobs: ["blackAndWhite"]
|
|
9667
11616
|
},
|
|
9668
11617
|
{
|
|
9669
11618
|
id: id("image-gallery-captions-under"),
|
|
9670
11619
|
treatment: "gallery-captions",
|
|
9671
|
-
roleMap: posterRoles
|
|
11620
|
+
roleMap: posterRoles,
|
|
11621
|
+
removeKnobs: ["blackAndWhite"]
|
|
9672
11622
|
},
|
|
9673
11623
|
{
|
|
9674
11624
|
id: id("cta-centred"),
|
|
@@ -10007,6 +11957,7 @@ const lanternLooks = {
|
|
|
10007
11957
|
{
|
|
10008
11958
|
id: id("event-calendar-session-cards"),
|
|
10009
11959
|
treatment: "tablets",
|
|
11960
|
+
removeKnobs: ["listColumns"],
|
|
10010
11961
|
surfaceTints: { date: {
|
|
10011
11962
|
source: "text",
|
|
10012
11963
|
opacity: 8
|
|
@@ -10341,6 +12292,7 @@ const measureLooks = {
|
|
|
10341
12292
|
{
|
|
10342
12293
|
id: id("event-calendar-session-cards"),
|
|
10343
12294
|
treatment: "big-day",
|
|
12295
|
+
knobValues: { listColumns: ["3"] },
|
|
10344
12296
|
roleMap: measureRoles
|
|
10345
12297
|
},
|
|
10346
12298
|
{
|
|
@@ -11377,7 +13329,10 @@ const curatedSiteStyles = [
|
|
|
11377
13329
|
defineCuratedSiteStyle({
|
|
11378
13330
|
id: "site-style:loom",
|
|
11379
13331
|
name: "Loom",
|
|
11380
|
-
offering: {
|
|
13332
|
+
offering: {
|
|
13333
|
+
kind: "public",
|
|
13334
|
+
generation: { kind: "explicit_only" }
|
|
13335
|
+
},
|
|
11381
13336
|
description: "Stitched seams, sewn-label buttons and one strong patch of colour on each page. Warm and handmade, for studios and makers who teach.",
|
|
11382
13337
|
generationBrief: "Use warm serif headings, clear working copy, flat grounds and one strong patch of colour. Keep workshop details and booking actions easy to find.",
|
|
11383
13338
|
headingDecoration: noHeadingDecoration,
|
|
@@ -11471,6 +13426,176 @@ const curatedSiteStyles = [
|
|
|
11471
13426
|
paletteRecommendation("loom-flax"),
|
|
11472
13427
|
paletteRecommendation("loom-ember")
|
|
11473
13428
|
]
|
|
13429
|
+
}),
|
|
13430
|
+
defineCuratedSiteStyle({
|
|
13431
|
+
id: "site-style:poise",
|
|
13432
|
+
name: "Poise",
|
|
13433
|
+
offering: {
|
|
13434
|
+
kind: "public",
|
|
13435
|
+
generation: { kind: "explicit_only" }
|
|
13436
|
+
},
|
|
13437
|
+
description: "Strong, plain headlines, rounded colour panels set in from the edge of the page, and pill buttons. For pilates, fitness and movement studios with a busy weekly timetable.",
|
|
13438
|
+
generationBrief: "Use short, direct headlines in plain words, friendly working copy and real times, prices and places left. Keep sentence case throughout, put the timetable and booking actions near the top, and avoid gym slogans and promises about results.",
|
|
13439
|
+
headingDecoration: noHeadingDecoration,
|
|
13440
|
+
tokenRecipes: {
|
|
13441
|
+
palette: "brand-led",
|
|
13442
|
+
contrast: "strong",
|
|
13443
|
+
radius: "rounded",
|
|
13444
|
+
shadow: "none",
|
|
13445
|
+
typography: "clean-sans",
|
|
13446
|
+
spacing: "regular",
|
|
13447
|
+
motion: "subtle"
|
|
13448
|
+
},
|
|
13449
|
+
compositionBudget: balancedBudget,
|
|
13450
|
+
typography: poiseTypography,
|
|
13451
|
+
looks: poiseLooks,
|
|
13452
|
+
contentTemplateDefaults: { event: "event-header" },
|
|
13453
|
+
themeOverrides: {
|
|
13454
|
+
accordions: editorialDividedAccordionSystem,
|
|
13455
|
+
testimonialQuote: accentGlyphQuote
|
|
13456
|
+
},
|
|
13457
|
+
headerStyleRecipes: { "pill-nav": {
|
|
13458
|
+
tone: "neutral",
|
|
13459
|
+
dropdown: neutralHeaderDropdown,
|
|
13460
|
+
background: {
|
|
13461
|
+
kind: "token",
|
|
13462
|
+
token: "background"
|
|
13463
|
+
},
|
|
13464
|
+
nav: {
|
|
13465
|
+
kind: "pill",
|
|
13466
|
+
backing: "capsule",
|
|
13467
|
+
hoverColorToken: "text",
|
|
13468
|
+
hoverAlpha: 8
|
|
13469
|
+
},
|
|
13470
|
+
navWeight: "semibold",
|
|
13471
|
+
navLinkWeight: "semibold",
|
|
13472
|
+
navTypography: "plain",
|
|
13473
|
+
border: "none",
|
|
13474
|
+
shadow: { kind: "absent" },
|
|
13475
|
+
frame: { kind: "none" },
|
|
13476
|
+
logo: {
|
|
13477
|
+
fontFamily: "heading",
|
|
13478
|
+
letterSpacing: "normal",
|
|
13479
|
+
gradient: false
|
|
13480
|
+
},
|
|
13481
|
+
cta: { treatment: "primary" }
|
|
13482
|
+
} },
|
|
13483
|
+
footerLookRecipes: { "footer-links-row": {
|
|
13484
|
+
arrangement: "simple",
|
|
13485
|
+
ground: {
|
|
13486
|
+
kind: "style-surface",
|
|
13487
|
+
surface: "inverse"
|
|
13488
|
+
},
|
|
13489
|
+
nav: {
|
|
13490
|
+
weight: "semibold",
|
|
13491
|
+
colorToken: "background",
|
|
13492
|
+
hoverColorToken: "background",
|
|
13493
|
+
typography: "body"
|
|
13494
|
+
},
|
|
13495
|
+
legal: {
|
|
13496
|
+
kind: "separate",
|
|
13497
|
+
bar: {
|
|
13498
|
+
fullBleed: false,
|
|
13499
|
+
background: {
|
|
13500
|
+
kind: "style-surface",
|
|
13501
|
+
surface: "inverse"
|
|
13502
|
+
},
|
|
13503
|
+
textColor: "background",
|
|
13504
|
+
textAlign: "left",
|
|
13505
|
+
paddingY: "compact",
|
|
13506
|
+
paddingX: "none",
|
|
13507
|
+
borderTop: {
|
|
13508
|
+
width: "thin",
|
|
13509
|
+
colorToken: "background"
|
|
13510
|
+
}
|
|
13511
|
+
}
|
|
13512
|
+
},
|
|
13513
|
+
brandAlign: "start",
|
|
13514
|
+
brandLogoSize: "md"
|
|
13515
|
+
} },
|
|
13516
|
+
recommendedFooterLookIds: ["footer-links-row"],
|
|
13517
|
+
buttonStyleChoices: [
|
|
13518
|
+
buttonChoice("edged-pill"),
|
|
13519
|
+
buttonChoice("soft-pill"),
|
|
13520
|
+
buttonChoice("editorial-link")
|
|
13521
|
+
],
|
|
13522
|
+
paletteRecommendations: [
|
|
13523
|
+
paletteRecommendation("poise-butter"),
|
|
13524
|
+
paletteRecommendation("poise-ember"),
|
|
13525
|
+
paletteRecommendation("poise-night")
|
|
13526
|
+
]
|
|
13527
|
+
}),
|
|
13528
|
+
defineCuratedSiteStyle({
|
|
13529
|
+
id: "site-style:haven",
|
|
13530
|
+
name: "Haven",
|
|
13531
|
+
offering: {
|
|
13532
|
+
kind: "public",
|
|
13533
|
+
generation: { kind: "explicit_only" }
|
|
13534
|
+
},
|
|
13535
|
+
description: "Soft colours, rounded cards and photos set on gentle pebble shapes. For massage, therapy and other practices where people might feel a little nervous about booking.",
|
|
13536
|
+
generationBrief: "Use warm, plain words that reassure a nervous first-timer: what happens at a first visit, who they will see, and that they can ask questions. Keep sentence case, give real prices, times and places left, and avoid medical claims and spa cliches.",
|
|
13537
|
+
headingDecoration: noHeadingDecoration,
|
|
13538
|
+
tokenRecipes: {
|
|
13539
|
+
palette: "warm-neutral",
|
|
13540
|
+
contrast: "standard",
|
|
13541
|
+
radius: "rounded",
|
|
13542
|
+
shadow: "none",
|
|
13543
|
+
typography: "friendly-sans",
|
|
13544
|
+
spacing: "airy",
|
|
13545
|
+
motion: "subtle"
|
|
13546
|
+
},
|
|
13547
|
+
compositionBudget: balancedBudget,
|
|
13548
|
+
typography: havenTypography,
|
|
13549
|
+
looks: havenLooks,
|
|
13550
|
+
contentTemplateDefaults: { event: "event-header" },
|
|
13551
|
+
themeOverrides: {
|
|
13552
|
+
accordions: editorialDividedAccordionSystem,
|
|
13553
|
+
testimonialQuote: accentGlyphQuote
|
|
13554
|
+
},
|
|
13555
|
+
footerLookRecipes: { "footer-links-row": {
|
|
13556
|
+
arrangement: "simple",
|
|
13557
|
+
ground: {
|
|
13558
|
+
kind: "style-surface",
|
|
13559
|
+
surface: "band"
|
|
13560
|
+
},
|
|
13561
|
+
nav: {
|
|
13562
|
+
weight: "regular",
|
|
13563
|
+
colorToken: "text",
|
|
13564
|
+
hoverColorToken: "text",
|
|
13565
|
+
typography: "body"
|
|
13566
|
+
},
|
|
13567
|
+
legal: {
|
|
13568
|
+
kind: "separate",
|
|
13569
|
+
bar: {
|
|
13570
|
+
fullBleed: false,
|
|
13571
|
+
background: {
|
|
13572
|
+
kind: "style-surface",
|
|
13573
|
+
surface: "band"
|
|
13574
|
+
},
|
|
13575
|
+
textColor: "text",
|
|
13576
|
+
textAlign: "left",
|
|
13577
|
+
paddingY: "compact",
|
|
13578
|
+
paddingX: "none",
|
|
13579
|
+
borderTop: {
|
|
13580
|
+
width: "thin",
|
|
13581
|
+
colorToken: "border"
|
|
13582
|
+
}
|
|
13583
|
+
}
|
|
13584
|
+
},
|
|
13585
|
+
brandAlign: "start",
|
|
13586
|
+
brandLogoSize: "md"
|
|
13587
|
+
} },
|
|
13588
|
+
recommendedFooterLookIds: ["footer-links-row"],
|
|
13589
|
+
buttonStyleChoices: [
|
|
13590
|
+
buttonChoice("soft-pill"),
|
|
13591
|
+
buttonChoice("pebble"),
|
|
13592
|
+
buttonChoice("editorial-link")
|
|
13593
|
+
],
|
|
13594
|
+
paletteRecommendations: [
|
|
13595
|
+
paletteRecommendation("haven-blush"),
|
|
13596
|
+
paletteRecommendation("haven-sage"),
|
|
13597
|
+
paletteRecommendation("haven-plum")
|
|
13598
|
+
]
|
|
11474
13599
|
})
|
|
11475
13600
|
];
|
|
11476
13601
|
const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
|
|
@@ -11507,6 +13632,8 @@ curatedSiteStyles.forEach((style) => {
|
|
|
11507
13632
|
if (style.looks.kind === "offers") {
|
|
11508
13633
|
validateLookFallbacks(style.looks);
|
|
11509
13634
|
validateCalendarModeOffers(style.looks);
|
|
13635
|
+
validateSectionSurfaces(style.looks.skin, style.looks.surfaces);
|
|
13636
|
+
validateBookingBarSurface(style.looks.skin, style.looks.bookingBar, style.looks.surfaces);
|
|
11510
13637
|
}
|
|
11511
13638
|
(/* @__PURE__ */ new Set([...Object.values(style.footerLookRecipes ?? {}), ...style.recommendedFooterLookIds.map((id) => resolveFooterLookRecipe(style, id))])).forEach((recipe) => validateFooterRecipeSurfaces(style, recipe));
|
|
11512
13639
|
});
|
|
@@ -11668,15 +13795,23 @@ function readStoredMode(manifest, content) {
|
|
|
11668
13795
|
const stored = content.variant;
|
|
11669
13796
|
return isArrangementMode(stored) && meaning.modes.includes(stored) ? stored : meaning.defaultMode;
|
|
11670
13797
|
}
|
|
13798
|
+
/**
|
|
13799
|
+
* Follows `whenMissing` while a named fact is false. Setting facts apply to
|
|
13800
|
+
* both audiences, so the editor preview matches the page; content facts apply
|
|
13801
|
+
* to visitors only, so owners keep the Look they chose and its prompts.
|
|
13802
|
+
*/
|
|
11671
13803
|
function resolvePublishedLook(input, visited = /* @__PURE__ */ new Set()) {
|
|
11672
|
-
if (
|
|
11673
|
-
const fallback = input.look.structure.whenMissing.find((rule) => !input.
|
|
13804
|
+
if (visited.has(input.look.id)) return input.look;
|
|
13805
|
+
const fallback = input.look.structure.whenMissing.find((rule) => !lookFactHolds(rule.fact, input.facts, input.audience));
|
|
11674
13806
|
const next = input.catalogue.find((entry) => entry.id === fallback?.look && entry.blockKinds.some((kind) => input.look.blockKinds.includes(kind)));
|
|
11675
13807
|
return next === void 0 ? input.look : resolvePublishedLook({
|
|
11676
13808
|
...input,
|
|
11677
13809
|
look: next
|
|
11678
13810
|
}, /* @__PURE__ */ new Set([...visited, input.look.id]));
|
|
11679
13811
|
}
|
|
13812
|
+
function lookFactHolds(fact, facts, audience) {
|
|
13813
|
+
return isLookSettingFact(fact) ? facts.settings[fact] : audience === "authoring" || facts.content[fact];
|
|
13814
|
+
}
|
|
11680
13815
|
//#endregion
|
|
11681
13816
|
//#region ../theme-core/src/site-styles/lookResolution.ts
|
|
11682
13817
|
function lookDefinitionForId(lookId, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
|
|
@@ -11728,9 +13863,10 @@ const arrangementLookHooks = [
|
|
|
11728
13863
|
"data-control",
|
|
11729
13864
|
"data-placeholder-field",
|
|
11730
13865
|
"data-one-person",
|
|
11731
|
-
"data-team-about"
|
|
13866
|
+
"data-team-about",
|
|
13867
|
+
"data-shape"
|
|
11732
13868
|
];
|
|
11733
|
-
appearancePresets.filter(isArrangementAppearancePreset);
|
|
13869
|
+
const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
|
|
11734
13870
|
/** Closed structural hooks shared by block arrangements and bounded skins. */
|
|
11735
13871
|
const arrangementSlotNames = [
|
|
11736
13872
|
"contact",
|
|
@@ -11787,6 +13923,7 @@ const arrangementSlotNames = [
|
|
|
11787
13923
|
"group-label",
|
|
11788
13924
|
"group-day",
|
|
11789
13925
|
"group-date",
|
|
13926
|
+
"group-empty",
|
|
11790
13927
|
"date",
|
|
11791
13928
|
"weekday",
|
|
11792
13929
|
"day",
|
|
@@ -11861,6 +13998,15 @@ function resolveLookSlotSurfaces({ look, slotRoles }, roles, surfaces) {
|
|
|
11861
13998
|
}
|
|
11862
13999
|
asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
|
|
11863
14000
|
//#endregion
|
|
14001
|
+
//#region ../theme-core/src/site-styles/sectionPhoto.ts
|
|
14002
|
+
/** The photo a section keeps, wherever its background `type` points. */
|
|
14003
|
+
function storedSectionPhoto(content) {
|
|
14004
|
+
return readRecord(readRecord(readRecord(content._sectionStyles)?.background)?.image);
|
|
14005
|
+
}
|
|
14006
|
+
function readRecord(value) {
|
|
14007
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
14008
|
+
}
|
|
14009
|
+
//#endregion
|
|
11864
14010
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
11865
14011
|
const blockDesignFallback = {
|
|
11866
14012
|
sectionSurface: "base",
|
|
@@ -12237,6 +14383,24 @@ function collectBlockSequenceIssues(snapshots) {
|
|
|
12237
14383
|
});
|
|
12238
14384
|
}
|
|
12239
14385
|
//#endregion
|
|
14386
|
+
//#region ../theme-core/src/site-styles/sectionPhotoGround.ts
|
|
14387
|
+
/**
|
|
14388
|
+
* How the Looks built on an arrangement use the photo. Looks that share an
|
|
14389
|
+
* arrangement render the same tree, so they agree (a catalogue test holds
|
|
14390
|
+
* them to it). Null for keys no arrangement Look uses.
|
|
14391
|
+
*/
|
|
14392
|
+
function arrangementPhotoUse(blockKind, arrangementKey) {
|
|
14393
|
+
return arrangementAppearancePresets.find((entry) => entry.blockKinds.some((kind) => kind === blockKind) && Object.values(entry.structure.byMode).includes(arrangementKey))?.structure.photoUse ?? null;
|
|
14394
|
+
}
|
|
14395
|
+
/** Older hero layouts no arrangement Look is built on, which show the photo beside the text. */
|
|
14396
|
+
const recipeOnlyHeroLayoutsWithPhotoBeside = ["splitReverse"];
|
|
14397
|
+
/** One photo-placement decision for the hero's renderers: does the photo paint the section ground? */
|
|
14398
|
+
function heroPhotoPaintsGround(variant) {
|
|
14399
|
+
const key = variant ?? "classic";
|
|
14400
|
+
const use = arrangementPhotoUse("block.hero", key);
|
|
14401
|
+
return use === null ? !recipeOnlyHeroLayoutsWithPhotoBeside.includes(key) : use === "behind";
|
|
14402
|
+
}
|
|
14403
|
+
//#endregion
|
|
12240
14404
|
//#region ../theme-core/src/site-styles/tokenRecipes.ts
|
|
12241
14405
|
const themeTokenRecipeOptions = {
|
|
12242
14406
|
palette: [
|
|
@@ -12313,16 +14477,6 @@ z.union([z.nullish(z.never()).transform(() => ({ kind: "automatic" })), pageDesi
|
|
|
12313
14477
|
const value = issue.input;
|
|
12314
14478
|
return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 2 ? "Unsupported page design decisions schemaVersion." : "Invalid page design decisions shape.";
|
|
12315
14479
|
} });
|
|
12316
|
-
bookingPageLookIdValues.map((value) => {
|
|
12317
|
-
const id = parseBookingPageLookId(value);
|
|
12318
|
-
if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
|
|
12319
|
-
const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
|
|
12320
|
-
if (!style) throw new Error(`Booking look is not offered: ${value}`);
|
|
12321
|
-
return {
|
|
12322
|
-
...style,
|
|
12323
|
-
id
|
|
12324
|
-
};
|
|
12325
|
-
});
|
|
12326
14480
|
[...[
|
|
12327
14481
|
165,
|
|
12328
14482
|
150,
|
|
@@ -12335,5 +14489,15 @@ bookingPageLookIdValues.map((value) => {
|
|
|
12335
14489
|
45,
|
|
12336
14490
|
30
|
|
12337
14491
|
].flatMap((o) => [o, -o])];
|
|
14492
|
+
bookingPageLookIdValues.map((value) => {
|
|
14493
|
+
const id = parseBookingPageLookId(value);
|
|
14494
|
+
if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
|
|
14495
|
+
const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
|
|
14496
|
+
if (!style) throw new Error(`Booking look is not offered: ${value}`);
|
|
14497
|
+
return {
|
|
14498
|
+
...style,
|
|
14499
|
+
id
|
|
14500
|
+
};
|
|
14501
|
+
});
|
|
12338
14502
|
//#endregion
|
|
12339
|
-
export {
|
|
14503
|
+
export { generateNavLinkCSS as A, anglePolygonCss as B, compiledRuntimeStyleFieldNames as C, generateFooterCss as D, parseGradientPresetId as E, sectionFactsForContent as F, resolveSectionBackground as G, applyLookPhotoTreatment as H, sectionShapeForGround as I, resolveEffectiveKnobs as J, sectionForegroundBackground as K, sectionShapeFromContent as L, headerRootPaint as M, boundaryLayout as N, footerForegroundCandidates as O, composeBoundary as P, sectionShapeHook as R, requireCuratedSiteStyle as S, getGradientPreset as T, deriveSectionGround as U, transitionCatalogueEntries as V, parseCanonicalRuntimeBackground as W, cardListKnobBlocks as X, cardListFamilyBlocks as Y, readStoredMode as _, transparentHeaderForegroundInput as a, resolvePublishedLook as b, mergeHeaderNavTypographyPreference as c, arrangementAppearancePresets as d, arrangementLookHooks as f, arrangementManifestFromVariants as g, resolveLookSlotSurfaces as h, headerLeafTextColor as i, headerNeedsPhotoShade as j, buildTextContrastShadow as k, readHeaderNavFontSizePreference as l, resolveItemSurface as m, effectiveHeaderNavLinkStyle as n, readOpeningForegroundProjection as o, arrangementSlotNames as p, defineBlockDesignMetadata as q, headerForegroundCandidates as r, readOpeningToneProjection as s, heroPhotoPaintsGround as t, storedSectionPhoto as u, resolveEffectiveArrangement as v, gradientToCss as w, deriveSiteStyleBlockPolicy as x, resolveModeArrangement as y, boundaryRuntimeMetricsForDecorativeTransition as z };
|