@riverbankcms/sdk 0.161.0 → 0.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +58 -91
- package/dist/_dts/{client-Ep0jI9eE.d.ts → client-Chh3bnXC.d.ts} +11 -3
- package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-GJ1kGBsi.d.ts} +13 -4
- package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-DvKQA6AZ.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{schema-BHu0PYWl.d.ts → index-CaL0nKkl.d.ts} +4166 -3355
- package/dist/_dts/{index-KPrWM0KF.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{types-BR1Yboa9.d.ts → index-CyQhZuhM.d.ts} +3347 -1692
- package/dist/_dts/{index-BVkP8f70.d.ts → index-D2y4Iy-d.d.ts} +13 -2
- package/dist/_dts/{index-CSsfq6KG.d.ts → index-DRxgeK8L.d.ts} +11 -6
- package/dist/_dts/{index-CF6Cjs7b.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-D_8uz4OP.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-ylivB7Jj.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-DiLZoInK.d.ts} +10 -7
- package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-D02ngcUH.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-CJXTCF_F.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BaV565gb.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -19
- package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +26 -10
- package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-ffa6920T.mjs} +16 -17
- package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-BfnOmxYD.mjs} +14 -70
- package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/LocationMapActions-wlyxASdT.mjs +62 -0
- package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-B9oKSitp.mjs} +2 -70
- package/dist/client/{Page-Bf2nPACI.mjs → Page-BEF9HrAy.mjs} +2333 -492
- package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-TcimLLRQ.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-Bll4QwBi.mjs} +137 -60
- package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-CGAk6j0m.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-D_h3rAZ2.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +34 -69
- package/dist/client/{context-9ZfMb6GA.mjs → context-Bg0SFWcM.mjs} +28 -1
- package/dist/client/{cta-D-ZqL7-e.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-CV45BH5M.mjs} +39 -2
- package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-SFtS9OkF.mjs} +2 -1
- package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-QZhtdFHA.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-CgvPACwG.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/mediaContext-DIkX2S-X.mjs +136 -0
- package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B7H6gCbj.mjs → noop-4XFGzJpT.mjs} +19 -3
- package/dist/client/portal/client.mjs +1116 -85
- package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-DEo8Bqoe.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-VD4arFq1.mjs} +4 -3
- package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-qYbsatxH.mjs} +272 -68
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +22 -19
- package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-C-m8XHuW.mjs → schema-BFwQDvJL.mjs} +4561 -3948
- package/dist/client/{shop-RGWa43H7.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-Cf_kASpd.mjs} +76 -51
- package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/{server/effectiveNavLinkStyle-CGvGr3yD.mjs → client/site-styles-dy54AUdz.mjs} +2781 -331
- package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-Bi8ruFgB.mjs} +10 -9
- package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-DiLbDqM3.mjs} +8 -11
- package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-Dj_FZHmg.mjs → view-OvsxzgxP.mjs} +64 -55
- package/dist/client/{view-BUh4LnLS.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-kbONzKUv.mjs} +59 -53
- package/dist/preview-next/before-render.mjs +3 -3
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +170 -1046
- package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-lndKKBtB.mjs} +157 -313
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +351 -1386
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-nUnE3iMv.mjs} +1010 -398
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-DHtSQIBE.mjs} +159416 -162308
- package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Chq5KKKh.mjs +14162 -0
- package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
- package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CxCstfkP.mjs} +403 -200
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-C5YpKuKt.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-Cv26lZQ4.mjs → client-C2Q56xqV.mjs} +34 -69
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/{client/mediaContext-jPeJ2PmJ.mjs → server/effectiveNavLinkStyle-DLzJPcDL.mjs} +1977 -1210
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-D7ItMsEl.mjs} +7 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-D1fiPOKF.mjs → overrides-W1Cc6srh.mjs} +434 -241
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-Cn9k3DW6.mjs} +36 -11
- package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-BVcJ6TG7.mjs} +656 -166
- package/dist/server/{registry-BVfCqaCq.mjs → registry-4ZF3bUuJ.mjs} +401 -74
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-CD4peO7m.mjs → schema-DgrigZq9.mjs} +7748 -7135
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-CxE9F3hj.mjs} +99 -117
- package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-ILxc6pid.mjs → src-C44_fMy5.mjs} +1190 -147
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CVc04B9m.mjs} +36 -29
- package/dist/server/{validation-B1ieVemg.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-BQK44wFg.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +1034 -113
- package/package.json +1 -1
- package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
- package/dist/client/mediaAssets-BvjcAZpS.mjs +0 -16
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
- package/dist/server/loadPage--DXBwI8V.mjs +0 -2
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { A as generateDefaultButtonSystem, An as safeTokenOr, At as defineBlockDesignCapability, B as generateShadowValue, Bt as makeBoundaryId, C as ACCORDION_SPACING_MAP, D as ICON_SIZE_PX, Dn as selectLogoVariant, E as ICON_CONFIG, Et as asLayoutVariantKey, F as parseThemeForPersistence, Ft as featureCardCompositionTreatmentValues, Gn as resolveOpaqueSurfaceHex, Ht as offeringsPreviewCompositionTreatmentValues, I as skinTokenCssVars, In as TokenResolver, Kt as testimonialsCompositionTreatmentValues, L as cardSurfacePaint, Ln as buildThemeTokens, Lt as headingDecorationColorTokenValues, Mn as solveSurfaceInks, Mr as err, Mt as defineFrameCapability, Nr as ok, Nt as eventListTreatmentValues, O as generateButtonActionLayoutCss, On as surfaceToneFromForegroundToken, Ot as asSiteStyleId, Pt as eyebrowTreatmentValues, Qt as resolveSurface, R as generateCardCss, Rn as defaultThemeTokens, Rt as introCompositionTreatmentValues, S as ACCORDION_OPEN_ACCENT_THICKNESS, Sr as parseUserId, St as asDesignBlockId, T as ACCORDION_TRIGGER_LETTER_SPACING, Tn as generateShadowValue$1, U as cardVariantRoleValues, Wn as resolveConcreteColorHex, Xn as paletteModeSchema, Xt as parseResolvedSurface, Yn as paletteColorsSchema, Yt as visibleHeadingDecorationFamilyValues, Zt as parseSurfaceTree, _ as parseCustomCssRules, _n as textColorValue, a as generateMobileOverlayBackdropFilterFix, an as surfaceForegroundInputFromResolved, ar as mediaSchema, b as INPUT_SPACING_MAP, bn as opaqueSurfaceDeclarations, br as parseSiteId, c as MQ_LG_UP, cn as surfaceForegroundValueWithOpacity, d as MQ_SM_UP, dn as backgroundColorStyle, dr as resolveManagedMediaReference, dt as boxBackgroundSchema, en as surfaceDecorationColors, f as MQ_TABLET_ONLY, fn as borderColorStyle, fr as mediaIdentifierSchema, ft as runtimeBoxBackgroundSchema, g as parseBlockCustomCssRules, gn as textColorStyle, gr as parseContentVersionId, h as getComponentShadowVar, hn as rgbColorValue, hr as parseApiKeyId, ht as stripStaleTransitionStyleGroup, i as generateHeaderScrollTreatmentStyles, in as surfaceForegroundDeclarations, ir as parseColorTokenParts, jn as surfaceInkPublication, k as generateButtonCss, kn as resolveSurfaceForeground, l as MQ_MD_DOWN, ln as surfaceInkDeclarations, lr as renderableMediaAssetSchema, lt as resolveCardRole, m as getComponentBorderWidthPx, mn as mergeStyles, mt as siteChromeBackgroundOverrideOwner, nn as SURFACE_FOREGROUND_CSS_VARS, o as getHeaderPaintTargets, on as surfaceForegroundStyle, p as headerVariantValues, pn as cssVarValue, qn as hexToRgb, qt as tileTreatmentValues, r as themeSchema, rn as SURFACE_INK_CSS_VARS, rr as parseBlockColorToken, s as renderHeaderPaintTargetRules, sn as surfaceForegroundValue, sr as runtimeMediaSchema, t as corners, tn as DEFAULT_SURFACE_TEXT_COLOR, tr as parseThemeColorToken, u as MQ_SM_DOWN, un as surfaceInkStyle, ur as indexRenderableMediaAssets, v as FONT_WEIGHT_MAP, vn as mapDrawingStyle, w as ACCORDION_TRIGGER_FONT_SCALE, x as LABEL_FONT_SIZE_MAP, xr as parseSiteTermsVersionId, y as INPUT_FONT_SIZE_MAP, yn as opaqueSurfaceContextFromTheme, z as renderCssDeclarations, zn as expandPalette } from "./schema-BFwQDvJL.mjs";
|
|
3
3
|
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Ir as resolvedItemSurfaceProps, Jr as parseMailingListProviderScope, Jt as MediaPlaceholder, Lr as itemRole, Yt as computeMediaTransformStyle, br as readRuntimeNow, on as eventCalendarWeekStart, xr as resolveDateRuntimeContext, yr as isBlockButtonRole, zr as isRecord$9 } from "./wizardSteps-
|
|
5
|
-
import { $ as
|
|
6
|
-
import { $ as
|
|
7
|
-
import { _ as plainTextToInlineText, g as parseInlineTextFromUnknown, h as inlineTextToPlainText, m as coerceInlineTextWithFallback } from "./timetableModel-
|
|
8
|
-
import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT,
|
|
9
|
-
import { A as
|
|
4
|
+
import { Ir as resolvedItemSurfaceProps, Jr as parseMailingListProviderScope, Jt as MediaPlaceholder, Lr as itemRole, Yt as computeMediaTransformStyle, br as readRuntimeNow, on as eventCalendarWeekStart, xr as resolveDateRuntimeContext, yr as isBlockButtonRole, zr as isRecord$9 } from "./wizardSteps-kbONzKUv.mjs";
|
|
5
|
+
import { $ as isObjectRecord, G as publicEventsArraySchema, Nt as toUtcIsoDateTimeString, Q as isRichTextDoc, Tt as getLocalScheduleDate, V as eventVenueDrawingSchema, Z as RichTextDocSchema, at as parseLocationValue, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as isRecord$10, g as resolveCalendarReadProfile, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, m as calendarWindowQuerySchema, nt as decideLocationSourcePermission, ot as projectPublicLocation, q as bookingConsentCarrierSchema, rt as locationValueSchema, st as publicLocationSchema, t as logger, tt as WHOLE_SERIES_EVENT_PRESET_VALUES, ut as formatDate, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision } from "./noop-4XFGzJpT.mjs";
|
|
6
|
+
import { $ as composeFragments, $t as normalizeSelectSource, A as eventRegistrationBlockDefinition, At as lookLeadSlotTransform, Bt as testimonialsReadiness, C as cartBlockDefinition, Cn as containerStylesField, Ct as richText, D as eventCalendarBlockDefinition, Dn as createButtonGroup, Dt as videoEmbed, E as shopBlockDefinition, En as getAnchorClasses, Et as text, F as cardListPhotoNumberFields, Ft as PUBLIC_DOWNLOAD_MEDIA_TYPES, G as normalizeMailingListBlockContent, Gt as DEFAULT_MEDIA_FIELD_KINDS, H as desktopOnlyDisplay, Ht as loadedReadinessFact, I as cardListPresentationBindings, It as augmentManifest, J as createBlockManifest, Jt as blockSectionDeclarationShape, K as formBlockDefinition, Kt as PUBLIC_FILE_FIELD_KINDS, L as cardListSectionActionFields, Lt as chosenString, M as FEATURE_CARD_ICON_TREATMENTS, Mt as lookSkinSlotTransform, N as cardListSectionAction, Nt as lookSlot, O as eventListingBlockDefinition, On as createButtonVariantField, Ot as when, P as cardListKnobFields, Pt as parseBlockIconValue, Q as buildFragmentDataLoaders, Qt as fieldSchema, R as normalizeCardListContent, Rt as galleryReadiness, S as checkoutBlockDefinition, Sn as cardStylesField, St as repeat, T as productListBlockDefinition, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as stack, U as mobileOnlyDisplay, Ut as pageTemplateFromEntry, Vt as admitReadinessFacts, W as teamMemberCardBiographyFallback, Wt as unavailableReadinessFact, X as withApiBindings, Xt as createSdkSelectField, Y as formEmbedFragment, Yt as builtInBlockKindsSchema, Z as formCopyFragment, Zt as createSiteOptionSelectField, _ as normalizeLocationMapSource, _n as cardStylingFields, _t as icon, a as buildLoadedOfferingsPreviewListing, at as styledContainer, b as sanitizeNewsletterSignupPublicContent, bn as eventDisplayFields, bt as media, cn as parseRepeaterGridInteger, ct as accordionList, dn as resolveRepeaterGridRowFieldId, dt as button, en as parseFieldDefinition, et as defineFragment, fn as resolveRepeaterGridSpanFieldId, ft as carousel, g as normalizeLocationMapProps, gn as linkSchema, gt as headerSection, h as LOCATION_MAP_LIMITS, hn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, ht as form, in as validateSdkBlockDeclaration, it as styledSection, j as FEATURE_CARD_GENERATED_ICON_SIZE_PX, jt as lookQuoteLimitTransform, k as mapDrawingStyleBinding, kt as lookCarouselRegionTransform, ln as resolveRepeaterGridColumnFieldId, lt as bind, m as LOCATION_MAP_DEFAULTS, mn as bindingSchema, mt as fileDownload, nn as validateManifestLookField, nt as sectionHeaderLayoutNodes, on as projectRepeaterGridLayoutForRendering, ot as sectionContainer, p as SectionNode, pn as NodeSchema, pt as el, q as formDataSchema, qt as blockCategoryEnum, rn as sdkBlockPresentationShape, rt as resolveBackgroundColorValue, s as buildAppointmentServicesView, sn as buildRepeaterGridLayout, st as backgroundFrame, t as serverComponentRegistry, tn as parseFieldDefinitions, tt as sectionHeaderFields, un as resolveRepeaterGridColumnsForBreakpoint, ut as bookingForm, v as resolveLocationMapLocation, vn as columnsField, vt as inline, w as productDetailBlockDefinition, wn as sectionStylesField, wt as section, x as giftingBlockDefinition, xn as layoutField, xt as props, y as newsletterSignupBlockDefinition, yn as emptyStateField, yt as link, zt as teamReadiness } from "./registry.server-qYbsatxH.mjs";
|
|
7
|
+
import { _ as plainTextToInlineText, g as parseInlineTextFromUnknown, h as inlineTextToPlainText, m as coerceInlineTextWithFallback } from "./timetableModel-Bi8ruFgB.mjs";
|
|
8
|
+
import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, Jt as buildEventListWeek, Ot as projectRecurringSchedule, Q as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, Qt as resolveEventSelection, at as normalizeOfferingsPreviewContentForWrite, cn as buildMailingListSignupBlockSourceRef, en as isHeaderScrollRuntimeEnabled, et as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, in as planSiteChromePlacement, it as isOfferingsPreviewSourceKey, kt as recurringScheduleProjectionSchema, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, on as publicMembershipProductCollectionSchema, pn as sameMailingListPlacementTargeting, rn as parseHeaderPositioning, sn as publicPassProductCollectionSchema, st as offeringsListingFor, tn as resolveHeaderChromeRuntimeContract, un as parseMailingListPlacementTargeting, vt as occurrenceContextSchema } from "./shop.interactive-Cf_kASpd.mjs";
|
|
9
|
+
import { A as composeBoundary, B as defineBlockDesignMetadata, C as generateFooterCss, D as headerNeedsPhotoShade, E as generateNavLinkCSS, F as deriveSectionGround, H as cardListFamilyBlocks, I as heroPhotoPaintsGround, L as parseCanonicalRuntimeBackground, M as boundaryRuntimeMetricsForDecorativeTransition, N as anglePolygonCss, O as headerRootPaint, P as transitionCatalogueEntries, R as resolveSectionBackground, S as parseGradientPresetId, T as buildTextContrastShadow, U as cardListKnobBlocks, V as resolveEffectiveKnobs, _ as deriveSiteStyleBlockPolicy, a as readOpeningForegroundProjection, b as gradientToCss, c as arrangementLookHooks, d as resolveLookSlotSurfaces, f as arrangementManifestFromVariants, g as resolvePublishedLook, h as resolveModeArrangement, i as transparentHeaderForegroundInput, j as sectionFactsForContent, k as boundaryLayout, l as arrangementSlotNames, m as resolveEffectiveArrangement, n as headerForegroundCandidates, o as mergeHeaderNavTypographyPreference, p as readStoredMode, r as headerLeafTextColor, s as readHeaderNavFontSizePreference, t as effectiveHeaderNavLinkStyle, u as resolveItemSurface, v as requireCuratedSiteStyle, w as footerForegroundCandidates, x as getGradientPreset, z as sectionForegroundBackground } from "./site-styles-dy54AUdz.mjs";
|
|
10
10
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DIkX2S-X.mjs";
|
|
12
|
+
import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-BfnOmxYD.mjs";
|
|
12
13
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
13
14
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
14
|
-
import { t as formatDate$1 } from "./formatDate-
|
|
15
|
+
import { t as formatDate$1 } from "./formatDate-BKil_Psb.mjs";
|
|
15
16
|
import { s as declarativeCarouselSlides } from "./carousel.shared-DBnWEJzo.mjs";
|
|
16
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
17
|
-
import {
|
|
17
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
|
|
18
|
+
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-CGJE1Omu.mjs";
|
|
18
19
|
import * as React$1 from "react";
|
|
19
20
|
import React from "react";
|
|
20
21
|
import { z } from "zod";
|
|
@@ -502,6 +503,14 @@ function resolveSiteVerticalBookingConfig(rawConfig) {
|
|
|
502
503
|
};
|
|
503
504
|
}
|
|
504
505
|
//#endregion
|
|
506
|
+
//#region ../core/src/committed-write-proof.ts
|
|
507
|
+
/** Positive atomic storage evidence survives a failed response projection. */
|
|
508
|
+
const committedWriteProofSchema = z.object({
|
|
509
|
+
operationId: z.string().uuid(),
|
|
510
|
+
committedAt: z.string(),
|
|
511
|
+
resultingRevision: z.number().int().nonnegative()
|
|
512
|
+
});
|
|
513
|
+
//#endregion
|
|
505
514
|
//#region ../media-core/src/mediaRefNormalizer.ts
|
|
506
515
|
function looksLikeUuid(value) {
|
|
507
516
|
return typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
|
|
@@ -540,6 +549,7 @@ const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
|
|
|
540
549
|
method: "POST",
|
|
541
550
|
auth: "user",
|
|
542
551
|
responseKind: "json",
|
|
552
|
+
editLease: "unleased-editor",
|
|
543
553
|
errors: [
|
|
544
554
|
"validation:invalid_input",
|
|
545
555
|
"auth:forbidden",
|
|
@@ -770,6 +780,22 @@ const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
770
780
|
//#endregion
|
|
771
781
|
//#region ../api/src/cache-tags.ts
|
|
772
782
|
/**
|
|
783
|
+
* Canonical cache tag catalog for Riverbank.
|
|
784
|
+
*
|
|
785
|
+
* Goal: eliminate ad-hoc tag strings and drift across apps/packages.
|
|
786
|
+
*
|
|
787
|
+
* Tag scheme: `riverbank:*`
|
|
788
|
+
* - `riverbank` is the global tag (invalidate everything)
|
|
789
|
+
* - Use `riverbank:<namespace>:...` for domain/resource tags
|
|
790
|
+
*
|
|
791
|
+
* Notes:
|
|
792
|
+
* - This module is intentionally Next.js-independent.
|
|
793
|
+
* - Apps can use these tags with Next's `revalidateTag()` and `unstable_cache`.
|
|
794
|
+
* - Endpoint definitions in `packages/api/src/endpoints.ts` may use the template
|
|
795
|
+
* strings (with `{param}` placeholders) for fetch cache tagging.
|
|
796
|
+
*/
|
|
797
|
+
const RIVERBANK_GLOBAL_TAG = "riverbank";
|
|
798
|
+
/**
|
|
773
799
|
* Tag templates for endpoint definitions (support `{param}` placeholders).
|
|
774
800
|
*/
|
|
775
801
|
const TAG_TEMPLATES = {
|
|
@@ -808,6 +834,186 @@ const TAG_TEMPLATES = {
|
|
|
808
834
|
navigationItemById: "riverbank:navigation-item:{itemId}",
|
|
809
835
|
siteTheme: "riverbank:site:{siteId}:theme"
|
|
810
836
|
};
|
|
837
|
+
function normalizeRevalidateTags(input) {
|
|
838
|
+
return Array.from(new Set(input.map((t) => t.trim()).filter(Boolean)));
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Tag builders for runtime invalidation and caching.
|
|
842
|
+
*/
|
|
843
|
+
const tags = {
|
|
844
|
+
global() {
|
|
845
|
+
return RIVERBANK_GLOBAL_TAG;
|
|
846
|
+
},
|
|
847
|
+
siteCollection() {
|
|
848
|
+
return TAG_TEMPLATES.siteCollection;
|
|
849
|
+
},
|
|
850
|
+
site(siteId) {
|
|
851
|
+
return `riverbank:site:${siteId}`;
|
|
852
|
+
},
|
|
853
|
+
siteById(siteId) {
|
|
854
|
+
return `riverbank:site:id:${siteId}`;
|
|
855
|
+
},
|
|
856
|
+
siteBySlug(slug) {
|
|
857
|
+
return `riverbank:site:slug:${slug}`;
|
|
858
|
+
},
|
|
859
|
+
siteByDomain(domain) {
|
|
860
|
+
return `riverbank:site:domain:${domain}`;
|
|
861
|
+
},
|
|
862
|
+
siteSettings(siteId) {
|
|
863
|
+
return `riverbank:site:${siteId}:settings`;
|
|
864
|
+
},
|
|
865
|
+
siteEmailSettings(siteId) {
|
|
866
|
+
return `riverbank:site:${siteId}:email-settings`;
|
|
867
|
+
},
|
|
868
|
+
siteBookingSettings(siteId) {
|
|
869
|
+
return `riverbank:site:${siteId}:booking-settings`;
|
|
870
|
+
},
|
|
871
|
+
siteNewsletter(siteId) {
|
|
872
|
+
return `riverbank:site:${siteId}:newsletter`;
|
|
873
|
+
},
|
|
874
|
+
siteRoutableContent(siteId) {
|
|
875
|
+
return `riverbank:site:${siteId}:routable-content`;
|
|
876
|
+
},
|
|
877
|
+
siteRedirects(siteId) {
|
|
878
|
+
return `riverbank:site:${siteId}:redirects`;
|
|
879
|
+
},
|
|
880
|
+
siteRouteOutcomes(siteId) {
|
|
881
|
+
return `riverbank:site:${siteId}:route-outcomes`;
|
|
882
|
+
},
|
|
883
|
+
route(routeId) {
|
|
884
|
+
return `riverbank:route:${routeId}`;
|
|
885
|
+
},
|
|
886
|
+
page(pageId) {
|
|
887
|
+
return `riverbank:page:${pageId}`;
|
|
888
|
+
},
|
|
889
|
+
pageSurface(pageSurfaceId) {
|
|
890
|
+
return `riverbank:page-surface:${pageSurfaceId}`;
|
|
891
|
+
},
|
|
892
|
+
surfaceSlot(surfaceSlotId) {
|
|
893
|
+
return `riverbank:surface-slot:${surfaceSlotId}`;
|
|
894
|
+
},
|
|
895
|
+
workflowRun(runId) {
|
|
896
|
+
return `riverbank:workflow-run:${runId}`;
|
|
897
|
+
},
|
|
898
|
+
siteForms(siteId) {
|
|
899
|
+
return `riverbank:site:${siteId}:forms`;
|
|
900
|
+
},
|
|
901
|
+
form(formId) {
|
|
902
|
+
return `riverbank:form:${formId}`;
|
|
903
|
+
},
|
|
904
|
+
entry(entryId) {
|
|
905
|
+
return `riverbank:entry:${entryId}`;
|
|
906
|
+
},
|
|
907
|
+
formSubmissionsBySlug(slug) {
|
|
908
|
+
return `riverbank:form-submissions:${slug}`;
|
|
909
|
+
},
|
|
910
|
+
publicEvents(siteId) {
|
|
911
|
+
return `riverbank:site:${siteId}:public-events`;
|
|
912
|
+
},
|
|
913
|
+
publicEventFilters(siteId) {
|
|
914
|
+
return `riverbank:site:${siteId}:public-event-filters`;
|
|
915
|
+
},
|
|
916
|
+
publicTeamMembers(siteId) {
|
|
917
|
+
return `riverbank:site:${siteId}:public-team-members`;
|
|
918
|
+
},
|
|
919
|
+
publicProducts(siteId) {
|
|
920
|
+
return `riverbank:site:${siteId}:public-products`;
|
|
921
|
+
},
|
|
922
|
+
publicPasses(siteId) {
|
|
923
|
+
return `riverbank:site:${siteId}:public-passes`;
|
|
924
|
+
},
|
|
925
|
+
publicMemberships(siteId) {
|
|
926
|
+
return `riverbank:site:${siteId}:public-memberships`;
|
|
927
|
+
},
|
|
928
|
+
publicGifting(siteId) {
|
|
929
|
+
return `riverbank:site:${siteId}:public-gifting`;
|
|
930
|
+
},
|
|
931
|
+
publicShop(siteId) {
|
|
932
|
+
return `riverbank:site:${siteId}:public-shop`;
|
|
933
|
+
},
|
|
934
|
+
publicCheckout(siteId) {
|
|
935
|
+
return `riverbank:site:${siteId}:public-checkout`;
|
|
936
|
+
},
|
|
937
|
+
publicBookingServices(siteId) {
|
|
938
|
+
return `riverbank:site:${siteId}:public-booking-services`;
|
|
939
|
+
},
|
|
940
|
+
/**
|
|
941
|
+
* Slot-level appointment availability for a site (dates, slots, weekly grid).
|
|
942
|
+
* Separate from `publicBookingServices` because every appointment booked or
|
|
943
|
+
* cancelled changes availability, while the service catalogue rarely moves.
|
|
944
|
+
*/
|
|
945
|
+
publicBookingAvailability(siteId) {
|
|
946
|
+
return `riverbank:site:${siteId}:public-booking-availability`;
|
|
947
|
+
},
|
|
948
|
+
siteNavigation(siteId) {
|
|
949
|
+
return `riverbank:site:${siteId}:navigation`;
|
|
950
|
+
},
|
|
951
|
+
navigationMenu(menuId) {
|
|
952
|
+
return `riverbank:navigation-menu:${menuId}`;
|
|
953
|
+
},
|
|
954
|
+
navigationItem(itemId) {
|
|
955
|
+
return `riverbank:navigation-item:${itemId}`;
|
|
956
|
+
},
|
|
957
|
+
siteTheme(siteId) {
|
|
958
|
+
return `riverbank:site:${siteId}:theme`;
|
|
959
|
+
}
|
|
960
|
+
};
|
|
961
|
+
/** Lookup tags work before a host/slug read knows the resolved site ID. */
|
|
962
|
+
function optionalLookupTag(value, build) {
|
|
963
|
+
return typeof value === "string" && value.trim() ? [build(value.trim())] : [];
|
|
964
|
+
}
|
|
965
|
+
function buildSiteReadTags(params) {
|
|
966
|
+
return normalizeRevalidateTags([
|
|
967
|
+
...optionalLookupTag(params.siteId, (id) => tags.site(normalizeSiteCacheId(id))),
|
|
968
|
+
...optionalLookupTag(params.id, (id) => tags.siteById(normalizeSiteCacheId(id))),
|
|
969
|
+
...optionalLookupTag(params.slug, tags.siteBySlug),
|
|
970
|
+
...optionalLookupTag(params.domain, (domain) => tags.siteByDomain(normalizeSiteCacheDomain(domain)))
|
|
971
|
+
]);
|
|
972
|
+
}
|
|
973
|
+
/** Resolve endpoint templates once; every read with a siteId shares its root tag. */
|
|
974
|
+
function buildCacheReadTags(templates, input = {}) {
|
|
975
|
+
const params = siteIdentifierTagParams(input);
|
|
976
|
+
return normalizeRevalidateTags([...templates.flatMap((template) => {
|
|
977
|
+
if ([
|
|
978
|
+
TAG_TEMPLATES.siteById,
|
|
979
|
+
TAG_TEMPLATES.siteBySlug,
|
|
980
|
+
TAG_TEMPLATES.siteByDomain
|
|
981
|
+
].some((lookup) => lookup === template)) return [];
|
|
982
|
+
const tag = template.replace(/\{([^}]+)\}/gu, (placeholder, key) => {
|
|
983
|
+
const value = params[key];
|
|
984
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean" ? String(value) : placeholder;
|
|
985
|
+
});
|
|
986
|
+
return /\{[^}]+\}/u.test(tag) || tag === tags.siteCollection() || tag === "riverbank" ? [] : [tag];
|
|
987
|
+
}), ...buildSiteReadTags({
|
|
988
|
+
siteId: params.siteId,
|
|
989
|
+
...templates.includes(TAG_TEMPLATES.siteById) ? { id: params.id } : {},
|
|
990
|
+
...templates.includes(TAG_TEMPLATES.siteBySlug) ? { slug: params.slug } : {},
|
|
991
|
+
...templates.includes(TAG_TEMPLATES.siteByDomain) ? { domain: params.domain } : {}
|
|
992
|
+
})]);
|
|
993
|
+
}
|
|
994
|
+
function normalizeSiteCacheDomain(domain) {
|
|
995
|
+
try {
|
|
996
|
+
return new URL(`https://${domain.trim()}`).hostname.toLowerCase().replace(/\.$/u, "");
|
|
997
|
+
} catch {
|
|
998
|
+
return domain.trim().toLowerCase();
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function siteIdentifierTagParams(params) {
|
|
1002
|
+
if (typeof params.site !== "string") return params;
|
|
1003
|
+
const siteId = parseSiteId(params.site);
|
|
1004
|
+
return siteId.ok ? {
|
|
1005
|
+
...params,
|
|
1006
|
+
id: siteId.value,
|
|
1007
|
+
siteId: siteId.value
|
|
1008
|
+
} : {
|
|
1009
|
+
...params,
|
|
1010
|
+
slug: params.site
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
function normalizeSiteCacheId(id) {
|
|
1014
|
+
const parsed = parseSiteId(id);
|
|
1015
|
+
return parsed.ok ? parsed.value : id;
|
|
1016
|
+
}
|
|
811
1017
|
//#endregion
|
|
812
1018
|
//#region ../api/src/sdkEntryReadEndpoints.ts
|
|
813
1019
|
const SDK_ENTRY_READ_ENDPOINTS = {
|
|
@@ -857,18 +1063,6 @@ const GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
857
1063
|
"resource:conflict"
|
|
858
1064
|
]
|
|
859
1065
|
},
|
|
860
|
-
restoreLiveTemplate: {
|
|
861
|
-
path: "/sites/{siteId}/content/types/{type}/template/restore",
|
|
862
|
-
method: "POST",
|
|
863
|
-
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
864
|
-
auth: "user",
|
|
865
|
-
responseKind: "json",
|
|
866
|
-
errors: [
|
|
867
|
-
"validation:invalid_input",
|
|
868
|
-
"resource:not_found",
|
|
869
|
-
"resource:conflict"
|
|
870
|
-
]
|
|
871
|
-
},
|
|
872
1066
|
restoreEntrySlotStructure: {
|
|
873
1067
|
editLease: "managed",
|
|
874
1068
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/restore",
|
|
@@ -1241,6 +1435,18 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1241
1435
|
"server:internal_error"
|
|
1242
1436
|
]
|
|
1243
1437
|
},
|
|
1438
|
+
draftTeamMemberProfileBio: {
|
|
1439
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/bio-draft",
|
|
1440
|
+
method: "POST",
|
|
1441
|
+
auth: "user",
|
|
1442
|
+
responseKind: "json",
|
|
1443
|
+
errors: [
|
|
1444
|
+
"auth:forbidden",
|
|
1445
|
+
"resource:not_found",
|
|
1446
|
+
"server:internal_error"
|
|
1447
|
+
],
|
|
1448
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
1449
|
+
},
|
|
1244
1450
|
scheduleTeamMemberProfile: {
|
|
1245
1451
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/schedule",
|
|
1246
1452
|
method: "POST",
|
|
@@ -1279,7 +1485,7 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1279
1485
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/routes/{routeId}/metadata",
|
|
1280
1486
|
method: "PATCH",
|
|
1281
1487
|
tags: [
|
|
1282
|
-
TAG_TEMPLATES.
|
|
1488
|
+
TAG_TEMPLATES.site,
|
|
1283
1489
|
TAG_TEMPLATES.siteRoutableContent,
|
|
1284
1490
|
TAG_TEMPLATES.routeById
|
|
1285
1491
|
],
|
|
@@ -1672,6 +1878,43 @@ const ACCOUNT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1672
1878
|
//#endregion
|
|
1673
1879
|
//#region ../api/src/eventSeriesRegistrationEndpointDefinitions.ts
|
|
1674
1880
|
const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1881
|
+
getBookingDetail: {
|
|
1882
|
+
path: "/sites/{siteId}/bookings/booking/{kind}/{bookingId}",
|
|
1883
|
+
method: "GET",
|
|
1884
|
+
auth: "user",
|
|
1885
|
+
responseKind: "json",
|
|
1886
|
+
errors: [
|
|
1887
|
+
"auth:forbidden",
|
|
1888
|
+
"resource:not_found",
|
|
1889
|
+
"server:internal_error"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
saveEventAttendeeAnswers: {
|
|
1893
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/answers",
|
|
1894
|
+
method: "PUT",
|
|
1895
|
+
auth: "user",
|
|
1896
|
+
responseKind: "json",
|
|
1897
|
+
errors: [
|
|
1898
|
+
"validation:invalid_input",
|
|
1899
|
+
"auth:forbidden",
|
|
1900
|
+
"resource:not_found",
|
|
1901
|
+
"resource:conflict",
|
|
1902
|
+
"server:internal_error"
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
correctBookingCheckIn: {
|
|
1906
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
|
|
1907
|
+
method: "PATCH",
|
|
1908
|
+
auth: "user",
|
|
1909
|
+
responseKind: "json",
|
|
1910
|
+
errors: [
|
|
1911
|
+
"validation:invalid_input",
|
|
1912
|
+
"auth:forbidden",
|
|
1913
|
+
"resource:not_found",
|
|
1914
|
+
"resource:conflict",
|
|
1915
|
+
"server:internal_error"
|
|
1916
|
+
]
|
|
1917
|
+
},
|
|
1675
1918
|
deleteEventOffering: {
|
|
1676
1919
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
|
|
1677
1920
|
method: "DELETE",
|
|
@@ -2754,6 +2997,7 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2754
2997
|
* event itself, so its address is written here rather than through a run.
|
|
2755
2998
|
*/
|
|
2756
2999
|
updateEventAddress: {
|
|
3000
|
+
editLease: "managed",
|
|
2757
3001
|
path: "/sites/{siteId}/bookings/events/{eventId}/address",
|
|
2758
3002
|
method: "PATCH",
|
|
2759
3003
|
tags: [
|
|
@@ -3121,6 +3365,64 @@ const SDK_MEDIA_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3121
3365
|
* derive freshness reviewable beside its route and tags.
|
|
3122
3366
|
*/
|
|
3123
3367
|
const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3368
|
+
checkRedirect: {
|
|
3369
|
+
path: "/public/content/redirect",
|
|
3370
|
+
method: "GET",
|
|
3371
|
+
revalidate: 86400,
|
|
3372
|
+
tags: [
|
|
3373
|
+
TAG_TEMPLATES.siteById,
|
|
3374
|
+
TAG_TEMPLATES.siteBySlug,
|
|
3375
|
+
TAG_TEMPLATES.siteRedirects
|
|
3376
|
+
],
|
|
3377
|
+
errors: [],
|
|
3378
|
+
auth: "public",
|
|
3379
|
+
responseKind: "json"
|
|
3380
|
+
},
|
|
3381
|
+
getSite: {
|
|
3382
|
+
path: "/sites",
|
|
3383
|
+
method: "GET",
|
|
3384
|
+
errors: [],
|
|
3385
|
+
revalidate: 900,
|
|
3386
|
+
tags: [
|
|
3387
|
+
TAG_TEMPLATES.siteById,
|
|
3388
|
+
TAG_TEMPLATES.siteBySlug,
|
|
3389
|
+
TAG_TEMPLATES.siteByDomain
|
|
3390
|
+
],
|
|
3391
|
+
auth: "public",
|
|
3392
|
+
responseKind: "json"
|
|
3393
|
+
},
|
|
3394
|
+
getRoutableContent: {
|
|
3395
|
+
path: "/sites/{siteId}/routable-content",
|
|
3396
|
+
method: "GET",
|
|
3397
|
+
revalidate: 60,
|
|
3398
|
+
errors: [],
|
|
3399
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
3400
|
+
auth: "user",
|
|
3401
|
+
responseKind: "json"
|
|
3402
|
+
},
|
|
3403
|
+
getPublicRoutableContent: {
|
|
3404
|
+
path: "/public/sites/{siteId}/routable-content",
|
|
3405
|
+
method: "GET",
|
|
3406
|
+
revalidate: 60,
|
|
3407
|
+
errors: [],
|
|
3408
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
3409
|
+
auth: "public",
|
|
3410
|
+
responseKind: "json"
|
|
3411
|
+
},
|
|
3412
|
+
getPublicSitemapRoutes: {
|
|
3413
|
+
path: "/public/sites/{siteId}/sitemap",
|
|
3414
|
+
method: "GET",
|
|
3415
|
+
revalidate: 60,
|
|
3416
|
+
errors: [],
|
|
3417
|
+
tags: [
|
|
3418
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
3419
|
+
TAG_TEMPLATES.siteSettings,
|
|
3420
|
+
TAG_TEMPLATES.publicEvents,
|
|
3421
|
+
TAG_TEMPLATES.publicBookingServices
|
|
3422
|
+
],
|
|
3423
|
+
auth: "public",
|
|
3424
|
+
responseKind: "json"
|
|
3425
|
+
},
|
|
3124
3426
|
getPublishedEntryPreview: {
|
|
3125
3427
|
path: "/public/content/{siteId}/{type}/{slug}/preview",
|
|
3126
3428
|
method: "GET",
|
|
@@ -3198,6 +3500,27 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3198
3500
|
* kept together so that stays obvious.
|
|
3199
3501
|
*/
|
|
3200
3502
|
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3503
|
+
mintOnboardingPagePreviewToken: {
|
|
3504
|
+
path: "/public/onboarding/attempts/{attemptToken}/page-preview-token",
|
|
3505
|
+
method: "POST",
|
|
3506
|
+
auth: "public",
|
|
3507
|
+
errors: [],
|
|
3508
|
+
responseKind: "json"
|
|
3509
|
+
},
|
|
3510
|
+
suggestPublicOnboardingLooks: {
|
|
3511
|
+
path: "/public/onboarding/attempts/{attemptToken}/look-suggestion",
|
|
3512
|
+
method: "POST",
|
|
3513
|
+
auth: "public",
|
|
3514
|
+
errors: [],
|
|
3515
|
+
responseKind: "json"
|
|
3516
|
+
},
|
|
3517
|
+
getOnboardingPagePreview: {
|
|
3518
|
+
path: "/public/onboarding/page-preview/{attemptId}",
|
|
3519
|
+
method: "GET",
|
|
3520
|
+
auth: "public",
|
|
3521
|
+
errors: [],
|
|
3522
|
+
responseKind: "json"
|
|
3523
|
+
},
|
|
3201
3524
|
createPublicOnboardingAttempt: {
|
|
3202
3525
|
path: "/public/onboarding/attempts",
|
|
3203
3526
|
method: "POST",
|
|
@@ -3272,6 +3595,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3272
3595
|
auth: "user",
|
|
3273
3596
|
responseKind: "json"
|
|
3274
3597
|
},
|
|
3598
|
+
/** Prepare or reconcile the card page; only the attempt's owner. */
|
|
3599
|
+
prepareOnboardingPlanCheckout: {
|
|
3600
|
+
path: "/onboarding/attempts/{attemptToken}/plan",
|
|
3601
|
+
method: "POST",
|
|
3602
|
+
tags: ["billing"],
|
|
3603
|
+
auth: "user",
|
|
3604
|
+
errors: [],
|
|
3605
|
+
responseKind: "json"
|
|
3606
|
+
},
|
|
3275
3607
|
/** Continue on Free from the onboarding card page; only the attempt's owner. */
|
|
3276
3608
|
continueOnboardingOnFree: {
|
|
3277
3609
|
path: "/onboarding/attempts/{attemptToken}/plan/free",
|
|
@@ -3281,12 +3613,72 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3281
3613
|
errors: [],
|
|
3282
3614
|
responseKind: "json"
|
|
3283
3615
|
},
|
|
3284
|
-
|
|
3285
|
-
path: "/billing/
|
|
3616
|
+
getAccountInvoiceRecovery: {
|
|
3617
|
+
path: "/billing/recovery",
|
|
3618
|
+
method: "GET",
|
|
3619
|
+
tags: ["billing"],
|
|
3620
|
+
auth: "user",
|
|
3621
|
+
responseKind: "json",
|
|
3622
|
+
errors: [
|
|
3623
|
+
"validation:invalid_input",
|
|
3624
|
+
"auth:unauthenticated",
|
|
3625
|
+
"external:service_error",
|
|
3626
|
+
"server:internal_error"
|
|
3627
|
+
]
|
|
3628
|
+
},
|
|
3629
|
+
getAccountBillingDetails: {
|
|
3630
|
+
path: "/billing/details",
|
|
3631
|
+
method: "GET",
|
|
3632
|
+
tags: ["billing"],
|
|
3633
|
+
auth: "user",
|
|
3634
|
+
responseKind: "json",
|
|
3635
|
+
errors: [
|
|
3636
|
+
"auth:unauthenticated",
|
|
3637
|
+
"external:service_error",
|
|
3638
|
+
"server:internal_error"
|
|
3639
|
+
]
|
|
3640
|
+
},
|
|
3641
|
+
getAccountBillingInvoices: {
|
|
3642
|
+
path: "/billing/invoices",
|
|
3643
|
+
method: "GET",
|
|
3644
|
+
tags: ["billing"],
|
|
3645
|
+
auth: "user",
|
|
3646
|
+
responseKind: "json",
|
|
3647
|
+
errors: [
|
|
3648
|
+
"validation:invalid_input",
|
|
3649
|
+
"auth:unauthenticated",
|
|
3650
|
+
"resource:conflict",
|
|
3651
|
+
"external:service_error",
|
|
3652
|
+
"server:internal_error"
|
|
3653
|
+
]
|
|
3654
|
+
},
|
|
3655
|
+
startAccountPaymentMethodSetup: {
|
|
3656
|
+
path: "/billing/payment-method/setup",
|
|
3286
3657
|
method: "POST",
|
|
3287
3658
|
tags: ["billing"],
|
|
3288
3659
|
auth: "user",
|
|
3289
|
-
responseKind: "json"
|
|
3660
|
+
responseKind: "json",
|
|
3661
|
+
errors: [
|
|
3662
|
+
"validation:invalid_input",
|
|
3663
|
+
"auth:unauthenticated",
|
|
3664
|
+
"resource:conflict",
|
|
3665
|
+
"external:service_error",
|
|
3666
|
+
"server:internal_error"
|
|
3667
|
+
]
|
|
3668
|
+
},
|
|
3669
|
+
finishAccountPaymentMethodSetup: {
|
|
3670
|
+
path: "/billing/payment-method/finish",
|
|
3671
|
+
method: "POST",
|
|
3672
|
+
tags: ["billing"],
|
|
3673
|
+
auth: "user",
|
|
3674
|
+
responseKind: "json",
|
|
3675
|
+
errors: [
|
|
3676
|
+
"validation:invalid_input",
|
|
3677
|
+
"auth:unauthenticated",
|
|
3678
|
+
"resource:conflict",
|
|
3679
|
+
"external:service_error",
|
|
3680
|
+
"server:internal_error"
|
|
3681
|
+
]
|
|
3290
3682
|
},
|
|
3291
3683
|
stripeConnectSetupStart: {
|
|
3292
3684
|
path: "/sites/{siteId}/billing/connect/setup",
|
|
@@ -3442,7 +3834,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3442
3834
|
acquireEditLease: {
|
|
3443
3835
|
path,
|
|
3444
3836
|
method: "POST",
|
|
3445
|
-
editLease: "
|
|
3837
|
+
editLease: "unleased-editor",
|
|
3446
3838
|
errors: lifecycleErrors,
|
|
3447
3839
|
auth: "user",
|
|
3448
3840
|
responseKind: "json"
|
|
@@ -3450,7 +3842,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3450
3842
|
takeOverEditLease: {
|
|
3451
3843
|
path,
|
|
3452
3844
|
method: "PUT",
|
|
3453
|
-
editLease: "
|
|
3845
|
+
editLease: "unleased-editor",
|
|
3454
3846
|
errors: lifecycleErrors,
|
|
3455
3847
|
auth: "user",
|
|
3456
3848
|
responseKind: "json"
|
|
@@ -3458,7 +3850,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3458
3850
|
heartbeatEditLease: {
|
|
3459
3851
|
path,
|
|
3460
3852
|
method: "PATCH",
|
|
3461
|
-
editLease: "
|
|
3853
|
+
editLease: "unleased-editor",
|
|
3462
3854
|
errors: [...lifecycleErrors, "auth:lease_lost"],
|
|
3463
3855
|
auth: "user",
|
|
3464
3856
|
responseKind: "json"
|
|
@@ -3474,7 +3866,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3474
3866
|
};
|
|
3475
3867
|
//#endregion
|
|
3476
3868
|
//#region ../api/src/pageSurfaceEditorEndpoints.ts
|
|
3477
|
-
const surfaceTags = [TAG_TEMPLATES.
|
|
3869
|
+
const surfaceTags = [TAG_TEMPLATES.site, TAG_TEMPLATES.pageSurfaceById];
|
|
3478
3870
|
const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
3479
3871
|
getPageSurfaceEditorDocument: {
|
|
3480
3872
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
@@ -3529,7 +3921,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3529
3921
|
"server:internal_error"
|
|
3530
3922
|
],
|
|
3531
3923
|
tags: [
|
|
3532
|
-
TAG_TEMPLATES.
|
|
3924
|
+
TAG_TEMPLATES.site,
|
|
3533
3925
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3534
3926
|
TAG_TEMPLATES.pageSurfaceById
|
|
3535
3927
|
],
|
|
@@ -3548,7 +3940,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3548
3940
|
"server:internal_error"
|
|
3549
3941
|
],
|
|
3550
3942
|
tags: [
|
|
3551
|
-
TAG_TEMPLATES.
|
|
3943
|
+
TAG_TEMPLATES.site,
|
|
3552
3944
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3553
3945
|
TAG_TEMPLATES.pageSurfaceById
|
|
3554
3946
|
],
|
|
@@ -3567,7 +3959,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3567
3959
|
"server:internal_error"
|
|
3568
3960
|
],
|
|
3569
3961
|
tags: [
|
|
3570
|
-
TAG_TEMPLATES.
|
|
3962
|
+
TAG_TEMPLATES.site,
|
|
3571
3963
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3572
3964
|
TAG_TEMPLATES.pageSurfaceById
|
|
3573
3965
|
],
|
|
@@ -3693,6 +4085,7 @@ const API_ENDPOINTS = {
|
|
|
3693
4085
|
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
3694
4086
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
3695
4087
|
applySeoChanges: {
|
|
4088
|
+
editLease: "unleased-editor",
|
|
3696
4089
|
path: "/seo/apply",
|
|
3697
4090
|
method: "POST",
|
|
3698
4091
|
auth: "user",
|
|
@@ -3810,6 +4203,14 @@ const API_ENDPOINTS = {
|
|
|
3810
4203
|
errors: [],
|
|
3811
4204
|
responseKind: "json"
|
|
3812
4205
|
},
|
|
4206
|
+
markBookingHomeSeen: {
|
|
4207
|
+
path: "/sites/{siteId}/home/seen",
|
|
4208
|
+
method: "POST",
|
|
4209
|
+
auth: "user",
|
|
4210
|
+
errors: [],
|
|
4211
|
+
responseKind: "json",
|
|
4212
|
+
demoMutation: DEMO_MUTATION_ALLOWED
|
|
4213
|
+
},
|
|
3813
4214
|
resendOnboardingPreviewConfirmation: {
|
|
3814
4215
|
path: "/public/sites/{siteId}/onboarding/resend-confirmation",
|
|
3815
4216
|
method: "POST",
|
|
@@ -3853,15 +4254,6 @@ const API_ENDPOINTS = {
|
|
|
3853
4254
|
errors: [],
|
|
3854
4255
|
responseKind: "text"
|
|
3855
4256
|
},
|
|
3856
|
-
checkRedirect: {
|
|
3857
|
-
path: "/public/content/redirect",
|
|
3858
|
-
method: "GET",
|
|
3859
|
-
revalidate: 86400,
|
|
3860
|
-
tags: ["redirect"],
|
|
3861
|
-
errors: [],
|
|
3862
|
-
auth: "public",
|
|
3863
|
-
responseKind: "json"
|
|
3864
|
-
},
|
|
3865
4257
|
listRedirectRules: {
|
|
3866
4258
|
path: "/sites/{siteId}/redirects",
|
|
3867
4259
|
method: "GET",
|
|
@@ -4104,6 +4496,19 @@ const API_ENDPOINTS = {
|
|
|
4104
4496
|
auth: "user",
|
|
4105
4497
|
responseKind: "json"
|
|
4106
4498
|
},
|
|
4499
|
+
updateEmailSendSetting: {
|
|
4500
|
+
path: "/sites/{siteId}/settings/emails/{emailKey}/send-setting",
|
|
4501
|
+
method: "PUT",
|
|
4502
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
4503
|
+
auth: "user",
|
|
4504
|
+
responseKind: "json",
|
|
4505
|
+
errors: [
|
|
4506
|
+
"validation:invalid_input",
|
|
4507
|
+
"auth:forbidden",
|
|
4508
|
+
"resource:conflict",
|
|
4509
|
+
"server:internal_error"
|
|
4510
|
+
]
|
|
4511
|
+
},
|
|
4107
4512
|
sendTestEmail: {
|
|
4108
4513
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4109
4514
|
method: "POST",
|
|
@@ -4122,37 +4527,12 @@ const API_ENDPOINTS = {
|
|
|
4122
4527
|
...NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
4123
4528
|
...APPOINTMENT_ENDPOINT_DEFINITIONS,
|
|
4124
4529
|
...EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS,
|
|
4125
|
-
|
|
4126
|
-
path: "/sites",
|
|
4127
|
-
method: "GET",
|
|
4128
|
-
revalidate: 900,
|
|
4129
|
-
tags: [
|
|
4130
|
-
TAG_TEMPLATES.siteCollection,
|
|
4131
|
-
TAG_TEMPLATES.siteById,
|
|
4132
|
-
TAG_TEMPLATES.siteBySlug,
|
|
4133
|
-
TAG_TEMPLATES.siteByDomain
|
|
4134
|
-
],
|
|
4135
|
-
auth: "public",
|
|
4136
|
-
responseKind: "json"
|
|
4137
|
-
},
|
|
4138
|
-
getSiteIdOnly: {
|
|
4139
|
-
path: "/sites",
|
|
4140
|
-
method: "GET",
|
|
4141
|
-
revalidate: 900,
|
|
4142
|
-
tags: [
|
|
4143
|
-
TAG_TEMPLATES.siteCollection,
|
|
4144
|
-
TAG_TEMPLATES.siteById,
|
|
4145
|
-
TAG_TEMPLATES.siteBySlug,
|
|
4146
|
-
TAG_TEMPLATES.siteByDomain
|
|
4147
|
-
],
|
|
4148
|
-
auth: "public",
|
|
4149
|
-
responseKind: "json"
|
|
4150
|
-
},
|
|
4530
|
+
getSiteIdOnly: PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite,
|
|
4151
4531
|
getSiteBySlug: {
|
|
4152
4532
|
path: "/sites/by-slug/{slug}",
|
|
4153
4533
|
method: "GET",
|
|
4154
4534
|
revalidate: 900,
|
|
4155
|
-
tags: [
|
|
4535
|
+
tags: [TAG_TEMPLATES.siteBySlug],
|
|
4156
4536
|
auth: "user",
|
|
4157
4537
|
responseKind: "json"
|
|
4158
4538
|
},
|
|
@@ -4160,7 +4540,7 @@ const API_ENDPOINTS = {
|
|
|
4160
4540
|
path: "/sites/by-domain/{domain}",
|
|
4161
4541
|
method: "GET",
|
|
4162
4542
|
revalidate: 900,
|
|
4163
|
-
tags: [
|
|
4543
|
+
tags: [TAG_TEMPLATES.siteByDomain],
|
|
4164
4544
|
auth: "user",
|
|
4165
4545
|
responseKind: "json"
|
|
4166
4546
|
},
|
|
@@ -4368,6 +4748,7 @@ const API_ENDPOINTS = {
|
|
|
4368
4748
|
responseKind: "json"
|
|
4369
4749
|
},
|
|
4370
4750
|
updateContentTemplateBlock: {
|
|
4751
|
+
editLease: "unleased-editor",
|
|
4371
4752
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
4372
4753
|
method: "PATCH",
|
|
4373
4754
|
tags: [
|
|
@@ -4379,6 +4760,7 @@ const API_ENDPOINTS = {
|
|
|
4379
4760
|
responseKind: "json"
|
|
4380
4761
|
},
|
|
4381
4762
|
applyContentTemplateAddon: {
|
|
4763
|
+
editLease: "unleased-editor",
|
|
4382
4764
|
path: "/sites/{siteId}/content/types/{type}/template/addons",
|
|
4383
4765
|
method: "POST",
|
|
4384
4766
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4386,6 +4768,7 @@ const API_ENDPOINTS = {
|
|
|
4386
4768
|
responseKind: "json"
|
|
4387
4769
|
},
|
|
4388
4770
|
updateContentTemplateBlockBindings: {
|
|
4771
|
+
editLease: "unleased-editor",
|
|
4389
4772
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings",
|
|
4390
4773
|
method: "PATCH",
|
|
4391
4774
|
tags: [
|
|
@@ -4397,6 +4780,7 @@ const API_ENDPOINTS = {
|
|
|
4397
4780
|
responseKind: "json"
|
|
4398
4781
|
},
|
|
4399
4782
|
createTemplateBlock: {
|
|
4783
|
+
editLease: "unleased-editor",
|
|
4400
4784
|
path: "/sites/{siteId}/content/types/{type}/template/blocks",
|
|
4401
4785
|
method: "POST",
|
|
4402
4786
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4404,6 +4788,7 @@ const API_ENDPOINTS = {
|
|
|
4404
4788
|
responseKind: "json"
|
|
4405
4789
|
},
|
|
4406
4790
|
deleteTemplateBlock: {
|
|
4791
|
+
editLease: "unleased-editor",
|
|
4407
4792
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
4408
4793
|
method: "DELETE",
|
|
4409
4794
|
tags: [
|
|
@@ -4415,6 +4800,7 @@ const API_ENDPOINTS = {
|
|
|
4415
4800
|
responseKind: "json"
|
|
4416
4801
|
},
|
|
4417
4802
|
reorderTemplateBlocks: {
|
|
4803
|
+
editLease: "unleased-editor",
|
|
4418
4804
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder",
|
|
4419
4805
|
method: "POST",
|
|
4420
4806
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4567,7 +4953,7 @@ const API_ENDPOINTS = {
|
|
|
4567
4953
|
path: "/sites/{siteId}/routes/{routeId}/metadata",
|
|
4568
4954
|
method: "PATCH",
|
|
4569
4955
|
tags: [
|
|
4570
|
-
TAG_TEMPLATES.
|
|
4956
|
+
TAG_TEMPLATES.site,
|
|
4571
4957
|
TAG_TEMPLATES.siteRoutableContent,
|
|
4572
4958
|
TAG_TEMPLATES.routeById
|
|
4573
4959
|
],
|
|
@@ -4718,6 +5104,7 @@ const API_ENDPOINTS = {
|
|
|
4718
5104
|
path: "/sites/{siteId}/content/{type}/bulk-publish",
|
|
4719
5105
|
method: "POST",
|
|
4720
5106
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5107
|
+
editLease: "unleased-editor",
|
|
4721
5108
|
auth: "user",
|
|
4722
5109
|
responseKind: "json"
|
|
4723
5110
|
},
|
|
@@ -4725,6 +5112,7 @@ const API_ENDPOINTS = {
|
|
|
4725
5112
|
path: "/sites/{siteId}/content/{type}/bulk-unpublish",
|
|
4726
5113
|
method: "POST",
|
|
4727
5114
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5115
|
+
editLease: "unleased-editor",
|
|
4728
5116
|
auth: "user",
|
|
4729
5117
|
responseKind: "json"
|
|
4730
5118
|
},
|
|
@@ -4732,6 +5120,7 @@ const API_ENDPOINTS = {
|
|
|
4732
5120
|
path: "/sites/{siteId}/content/{type}/bulk-delete",
|
|
4733
5121
|
method: "POST",
|
|
4734
5122
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5123
|
+
editLease: "unleased-editor",
|
|
4735
5124
|
auth: "user",
|
|
4736
5125
|
responseKind: "json",
|
|
4737
5126
|
errors: [
|
|
@@ -4752,11 +5141,7 @@ const API_ENDPOINTS = {
|
|
|
4752
5141
|
getSiteFooterBlocks: {
|
|
4753
5142
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4754
5143
|
method: "GET",
|
|
4755
|
-
tags: [
|
|
4756
|
-
TAG_TEMPLATES.siteCollection,
|
|
4757
|
-
TAG_TEMPLATES.site,
|
|
4758
|
-
TAG_TEMPLATES.siteSettings
|
|
4759
|
-
],
|
|
5144
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4760
5145
|
auth: "user",
|
|
4761
5146
|
responseKind: "json",
|
|
4762
5147
|
errors: [
|
|
@@ -4766,13 +5151,10 @@ const API_ENDPOINTS = {
|
|
|
4766
5151
|
]
|
|
4767
5152
|
},
|
|
4768
5153
|
updateSiteFooterBlocks: {
|
|
5154
|
+
editLease: "unleased-editor",
|
|
4769
5155
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4770
5156
|
method: "PUT",
|
|
4771
|
-
tags: [
|
|
4772
|
-
TAG_TEMPLATES.siteCollection,
|
|
4773
|
-
TAG_TEMPLATES.site,
|
|
4774
|
-
TAG_TEMPLATES.siteSettings
|
|
4775
|
-
],
|
|
5157
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4776
5158
|
auth: "user",
|
|
4777
5159
|
responseKind: "json",
|
|
4778
5160
|
errors: [
|
|
@@ -4785,7 +5167,7 @@ const API_ENDPOINTS = {
|
|
|
4785
5167
|
updateSiteDeploymentMode: {
|
|
4786
5168
|
path: "/sites/{siteId}/settings/deployment-mode",
|
|
4787
5169
|
method: "POST",
|
|
4788
|
-
tags: [TAG_TEMPLATES.
|
|
5170
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.site],
|
|
4789
5171
|
auth: "user",
|
|
4790
5172
|
responseKind: "json"
|
|
4791
5173
|
},
|
|
@@ -4950,6 +5332,7 @@ const API_ENDPOINTS = {
|
|
|
4950
5332
|
responseKind: "json"
|
|
4951
5333
|
},
|
|
4952
5334
|
updateFooterComposition: {
|
|
5335
|
+
editLease: "unleased-editor",
|
|
4953
5336
|
path: "/sites/{siteId}/settings/footer-composition",
|
|
4954
5337
|
method: "POST",
|
|
4955
5338
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -4972,6 +5355,7 @@ const API_ENDPOINTS = {
|
|
|
4972
5355
|
responseKind: "json"
|
|
4973
5356
|
},
|
|
4974
5357
|
updatePublicProfile: {
|
|
5358
|
+
editLease: "unleased-editor",
|
|
4975
5359
|
path: "/sites/{siteId}/settings/public-profile",
|
|
4976
5360
|
method: "POST",
|
|
4977
5361
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -5008,6 +5392,7 @@ const API_ENDPOINTS = {
|
|
|
5008
5392
|
responseKind: "json"
|
|
5009
5393
|
},
|
|
5010
5394
|
setHomepage: {
|
|
5395
|
+
editLease: "unleased-editor",
|
|
5011
5396
|
path: "/sites/{siteId}/settings/homepage",
|
|
5012
5397
|
method: "POST",
|
|
5013
5398
|
tags: ["site-{siteId}", "site-homepage"],
|
|
@@ -5500,7 +5885,7 @@ const API_ENDPOINTS = {
|
|
|
5500
5885
|
getNavigationMenus: {
|
|
5501
5886
|
path: "/sites/{siteId}/navigation/menus",
|
|
5502
5887
|
method: "GET",
|
|
5503
|
-
tags: [TAG_TEMPLATES.
|
|
5888
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNavigation],
|
|
5504
5889
|
auth: "user",
|
|
5505
5890
|
responseKind: "json"
|
|
5506
5891
|
},
|
|
@@ -5508,7 +5893,7 @@ const API_ENDPOINTS = {
|
|
|
5508
5893
|
path: "/sites/{siteId}/navigation/menus/{menuId}",
|
|
5509
5894
|
method: "GET",
|
|
5510
5895
|
tags: [
|
|
5511
|
-
TAG_TEMPLATES.
|
|
5896
|
+
TAG_TEMPLATES.site,
|
|
5512
5897
|
TAG_TEMPLATES.siteNavigation,
|
|
5513
5898
|
TAG_TEMPLATES.navigationMenuById
|
|
5514
5899
|
],
|
|
@@ -5519,7 +5904,7 @@ const API_ENDPOINTS = {
|
|
|
5519
5904
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items",
|
|
5520
5905
|
method: "POST",
|
|
5521
5906
|
tags: [
|
|
5522
|
-
TAG_TEMPLATES.
|
|
5907
|
+
TAG_TEMPLATES.site,
|
|
5523
5908
|
TAG_TEMPLATES.siteNavigation,
|
|
5524
5909
|
TAG_TEMPLATES.navigationMenuById
|
|
5525
5910
|
],
|
|
@@ -5530,7 +5915,7 @@ const API_ENDPOINTS = {
|
|
|
5530
5915
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5531
5916
|
method: "PATCH",
|
|
5532
5917
|
tags: [
|
|
5533
|
-
TAG_TEMPLATES.
|
|
5918
|
+
TAG_TEMPLATES.site,
|
|
5534
5919
|
TAG_TEMPLATES.siteNavigation,
|
|
5535
5920
|
TAG_TEMPLATES.navigationMenuById,
|
|
5536
5921
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5542,7 +5927,7 @@ const API_ENDPOINTS = {
|
|
|
5542
5927
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5543
5928
|
method: "DELETE",
|
|
5544
5929
|
tags: [
|
|
5545
|
-
TAG_TEMPLATES.
|
|
5930
|
+
TAG_TEMPLATES.site,
|
|
5546
5931
|
TAG_TEMPLATES.siteNavigation,
|
|
5547
5932
|
TAG_TEMPLATES.navigationMenuById,
|
|
5548
5933
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5554,42 +5939,13 @@ const API_ENDPOINTS = {
|
|
|
5554
5939
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder",
|
|
5555
5940
|
method: "POST",
|
|
5556
5941
|
tags: [
|
|
5557
|
-
TAG_TEMPLATES.
|
|
5942
|
+
TAG_TEMPLATES.site,
|
|
5558
5943
|
TAG_TEMPLATES.siteNavigation,
|
|
5559
5944
|
TAG_TEMPLATES.navigationMenuById
|
|
5560
5945
|
],
|
|
5561
5946
|
auth: "user",
|
|
5562
5947
|
responseKind: "json"
|
|
5563
5948
|
},
|
|
5564
|
-
getRoutableContent: {
|
|
5565
|
-
path: "/sites/{siteId}/routable-content",
|
|
5566
|
-
method: "GET",
|
|
5567
|
-
revalidate: 60,
|
|
5568
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5569
|
-
auth: "user",
|
|
5570
|
-
responseKind: "json"
|
|
5571
|
-
},
|
|
5572
|
-
getPublicRoutableContent: {
|
|
5573
|
-
path: "/public/sites/{siteId}/routable-content",
|
|
5574
|
-
method: "GET",
|
|
5575
|
-
revalidate: 60,
|
|
5576
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5577
|
-
auth: "public",
|
|
5578
|
-
responseKind: "json"
|
|
5579
|
-
},
|
|
5580
|
-
getPublicSitemapRoutes: {
|
|
5581
|
-
path: "/public/sites/{siteId}/sitemap",
|
|
5582
|
-
method: "GET",
|
|
5583
|
-
revalidate: 60,
|
|
5584
|
-
tags: [
|
|
5585
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
5586
|
-
TAG_TEMPLATES.siteSettings,
|
|
5587
|
-
TAG_TEMPLATES.publicEvents,
|
|
5588
|
-
TAG_TEMPLATES.publicBookingServices
|
|
5589
|
-
],
|
|
5590
|
-
auth: "public",
|
|
5591
|
-
responseKind: "json"
|
|
5592
|
-
},
|
|
5593
5949
|
getPublishedPostPreview: {
|
|
5594
5950
|
path: "/public/posts/{siteId}/{slug}/preview",
|
|
5595
5951
|
method: "GET",
|
|
@@ -5606,16 +5962,30 @@ const API_ENDPOINTS = {
|
|
|
5606
5962
|
responseKind: "json"
|
|
5607
5963
|
},
|
|
5608
5964
|
saveSiteTheme: {
|
|
5965
|
+
editLease: "unleased-editor",
|
|
5609
5966
|
path: "/sites/{siteId}/theme/save",
|
|
5610
5967
|
method: "POST",
|
|
5611
|
-
tags: [TAG_TEMPLATES.
|
|
5968
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5612
5969
|
auth: "user",
|
|
5613
5970
|
responseKind: "json"
|
|
5614
5971
|
},
|
|
5972
|
+
previewSiteStyleSelection: {
|
|
5973
|
+
path: "/public/sites/{siteId}/theme/style-selection/preview",
|
|
5974
|
+
method: "POST",
|
|
5975
|
+
auth: "public",
|
|
5976
|
+
errors: [
|
|
5977
|
+
"validation:invalid_input",
|
|
5978
|
+
"auth:forbidden",
|
|
5979
|
+
"resource:not_found",
|
|
5980
|
+
"server:internal_error"
|
|
5981
|
+
],
|
|
5982
|
+
responseKind: "json"
|
|
5983
|
+
},
|
|
5615
5984
|
applySiteStyleSelection: {
|
|
5985
|
+
editLease: "unleased-editor",
|
|
5616
5986
|
path: "/sites/{siteId}/theme/style-selection/apply",
|
|
5617
5987
|
method: "POST",
|
|
5618
|
-
tags: [TAG_TEMPLATES.
|
|
5988
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5619
5989
|
auth: "user",
|
|
5620
5990
|
errors: [
|
|
5621
5991
|
"validation:invalid_input",
|
|
@@ -5627,9 +5997,10 @@ const API_ENDPOINTS = {
|
|
|
5627
5997
|
responseKind: "json"
|
|
5628
5998
|
},
|
|
5629
5999
|
saveSiteChromeSelection: {
|
|
6000
|
+
editLease: "unleased-editor",
|
|
5630
6001
|
path: "/sites/{siteId}/theme/site-chrome-selection",
|
|
5631
6002
|
method: "POST",
|
|
5632
|
-
tags: [TAG_TEMPLATES.
|
|
6003
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5633
6004
|
auth: "user",
|
|
5634
6005
|
errors: [],
|
|
5635
6006
|
responseKind: "json"
|
|
@@ -5999,7 +6370,7 @@ const API_ENDPOINTS = {
|
|
|
5999
6370
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
|
|
6000
6371
|
method: "GET",
|
|
6001
6372
|
tags: [
|
|
6002
|
-
TAG_TEMPLATES.
|
|
6373
|
+
TAG_TEMPLATES.site,
|
|
6003
6374
|
TAG_TEMPLATES.pageSurfaceById,
|
|
6004
6375
|
"surface-slots",
|
|
6005
6376
|
"blocks"
|
|
@@ -6017,7 +6388,7 @@ const API_ENDPOINTS = {
|
|
|
6017
6388
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
6018
6389
|
method: "POST",
|
|
6019
6390
|
tags: [
|
|
6020
|
-
TAG_TEMPLATES.
|
|
6391
|
+
TAG_TEMPLATES.site,
|
|
6021
6392
|
TAG_TEMPLATES.pageSurfaceById,
|
|
6022
6393
|
"surface-slot-{slotKey}",
|
|
6023
6394
|
"blocks"
|
|
@@ -6036,7 +6407,7 @@ const API_ENDPOINTS = {
|
|
|
6036
6407
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
6037
6408
|
method: "POST",
|
|
6038
6409
|
tags: [
|
|
6039
|
-
TAG_TEMPLATES.
|
|
6410
|
+
TAG_TEMPLATES.site,
|
|
6040
6411
|
TAG_TEMPLATES.pageSurfaceById,
|
|
6041
6412
|
"surface-slot-{slotKey}",
|
|
6042
6413
|
"blocks"
|
|
@@ -6055,7 +6426,7 @@ const API_ENDPOINTS = {
|
|
|
6055
6426
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
6056
6427
|
method: "DELETE",
|
|
6057
6428
|
tags: [
|
|
6058
|
-
TAG_TEMPLATES.
|
|
6429
|
+
TAG_TEMPLATES.site,
|
|
6059
6430
|
TAG_TEMPLATES.pageSurfaceById,
|
|
6060
6431
|
"surface-slot-{slotKey}",
|
|
6061
6432
|
"blocks"
|
|
@@ -6787,20 +7158,6 @@ const API_ENDPOINTS = {
|
|
|
6787
7158
|
errors: [],
|
|
6788
7159
|
responseKind: "json"
|
|
6789
7160
|
},
|
|
6790
|
-
importSiteBackup: {
|
|
6791
|
-
path: "/sites/{siteId}/backup/import",
|
|
6792
|
-
method: "POST",
|
|
6793
|
-
tags: ["site-{siteId}", "backup"],
|
|
6794
|
-
auth: "user",
|
|
6795
|
-
responseKind: "json",
|
|
6796
|
-
errors: [
|
|
6797
|
-
"validation:invalid_input",
|
|
6798
|
-
"validation:payload_too_large",
|
|
6799
|
-
"auth:forbidden",
|
|
6800
|
-
"resource:not_found",
|
|
6801
|
-
"server:internal_error"
|
|
6802
|
-
]
|
|
6803
|
-
},
|
|
6804
7161
|
createBackupUploadUrl: {
|
|
6805
7162
|
path: "/backup/upload-url",
|
|
6806
7163
|
method: "POST",
|
|
@@ -7132,32 +7489,59 @@ const API_ENDPOINTS = {
|
|
|
7132
7489
|
responseKind: "json",
|
|
7133
7490
|
errors: []
|
|
7134
7491
|
},
|
|
7135
|
-
|
|
7136
|
-
|
|
7492
|
+
listEventBookingMoveClasses: {
|
|
7493
|
+
errors: [],
|
|
7494
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-classes",
|
|
7495
|
+
method: "GET",
|
|
7496
|
+
auth: "user",
|
|
7497
|
+
responseKind: "json"
|
|
7498
|
+
},
|
|
7499
|
+
listEventBookingMoveTargets: {
|
|
7500
|
+
errors: [],
|
|
7501
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-targets",
|
|
7502
|
+
method: "GET",
|
|
7503
|
+
auth: "user",
|
|
7504
|
+
responseKind: "json"
|
|
7505
|
+
},
|
|
7506
|
+
moveEventBooking: {
|
|
7507
|
+
errors: [],
|
|
7508
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move",
|
|
7137
7509
|
method: "POST",
|
|
7510
|
+
auth: "user",
|
|
7511
|
+
responseKind: "json",
|
|
7138
7512
|
tags: [
|
|
7139
7513
|
"site-{siteId}",
|
|
7140
7514
|
"event-attendee-{attendeeId}",
|
|
7141
7515
|
"bookings"
|
|
7142
|
-
]
|
|
7516
|
+
]
|
|
7517
|
+
},
|
|
7518
|
+
restoreEventBooking: {
|
|
7519
|
+
errors: [],
|
|
7520
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
|
|
7521
|
+
method: "POST",
|
|
7143
7522
|
auth: "user",
|
|
7144
7523
|
responseKind: "json",
|
|
7145
|
-
|
|
7146
|
-
"
|
|
7147
|
-
"
|
|
7148
|
-
"
|
|
7524
|
+
tags: [
|
|
7525
|
+
"site-{siteId}",
|
|
7526
|
+
"event-attendee-{attendeeId}",
|
|
7527
|
+
"bookings"
|
|
7149
7528
|
]
|
|
7150
7529
|
},
|
|
7151
|
-
|
|
7152
|
-
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/
|
|
7153
|
-
method: "
|
|
7530
|
+
transferEventAttendee: {
|
|
7531
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
|
|
7532
|
+
method: "POST",
|
|
7154
7533
|
tags: [
|
|
7155
7534
|
"site-{siteId}",
|
|
7156
7535
|
"event-attendee-{attendeeId}",
|
|
7157
7536
|
"bookings"
|
|
7158
7537
|
],
|
|
7159
7538
|
auth: "user",
|
|
7160
|
-
responseKind: "json"
|
|
7539
|
+
responseKind: "json",
|
|
7540
|
+
errors: [
|
|
7541
|
+
"validation:invalid_input",
|
|
7542
|
+
"resource:not_found",
|
|
7543
|
+
"server:internal_error"
|
|
7544
|
+
]
|
|
7161
7545
|
},
|
|
7162
7546
|
listEventSeriesOccurrences: {
|
|
7163
7547
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
|
|
@@ -7310,12 +7694,18 @@ const API_ENDPOINTS = {
|
|
|
7310
7694
|
responseKind: "json"
|
|
7311
7695
|
},
|
|
7312
7696
|
geocodeLocation: {
|
|
7313
|
-
errors: ["resource:not_found"],
|
|
7314
7697
|
path: "/sites/{siteId}/location/geocode",
|
|
7315
7698
|
method: "POST",
|
|
7316
7699
|
tags: ["site-{siteId}"],
|
|
7317
7700
|
auth: "user",
|
|
7318
|
-
responseKind: "json"
|
|
7701
|
+
responseKind: "json",
|
|
7702
|
+
errors: [
|
|
7703
|
+
"validation:invalid_input",
|
|
7704
|
+
"resource:not_found",
|
|
7705
|
+
"rate_limit:exceeded",
|
|
7706
|
+
"external:service_error",
|
|
7707
|
+
"server:internal_error"
|
|
7708
|
+
]
|
|
7319
7709
|
},
|
|
7320
7710
|
listBookingPasses: {
|
|
7321
7711
|
path: "/sites/{siteId}/bookings/passes",
|
|
@@ -7891,11 +8281,20 @@ const API_ENDPOINTS = {
|
|
|
7891
8281
|
auth: "user",
|
|
7892
8282
|
responseKind: "json"
|
|
7893
8283
|
},
|
|
7894
|
-
|
|
7895
|
-
path: "/sites/{siteId}/logs/emails/{emailId}
|
|
8284
|
+
getSentEmail: {
|
|
8285
|
+
path: "/sites/{siteId}/logs/emails/{emailId}",
|
|
7896
8286
|
method: "GET",
|
|
7897
8287
|
auth: "user",
|
|
7898
|
-
responseKind: "json"
|
|
8288
|
+
responseKind: "json",
|
|
8289
|
+
errors: []
|
|
8290
|
+
},
|
|
8291
|
+
resendSentEmail: {
|
|
8292
|
+
path: "/sites/{siteId}/logs/emails/{emailId}/resend",
|
|
8293
|
+
method: "POST",
|
|
8294
|
+
auth: "user",
|
|
8295
|
+
responseKind: "json",
|
|
8296
|
+
errors: [],
|
|
8297
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
7899
8298
|
},
|
|
7900
8299
|
listSitePublicErrorLogs: {
|
|
7901
8300
|
path: "/sites/{siteId}/logs/errors",
|
|
@@ -7904,6 +8303,7 @@ const API_ENDPOINTS = {
|
|
|
7904
8303
|
responseKind: "json"
|
|
7905
8304
|
},
|
|
7906
8305
|
aiPlaygroundApply: {
|
|
8306
|
+
editLease: "unleased-editor",
|
|
7907
8307
|
path: "/sites/{siteId}/ai/playground/apply",
|
|
7908
8308
|
method: "POST",
|
|
7909
8309
|
tags: ["site-{siteId}"],
|
|
@@ -8158,12 +8558,6 @@ const API_ENDPOINTS = {
|
|
|
8158
8558
|
responseKind: "json"
|
|
8159
8559
|
},
|
|
8160
8560
|
...SDK_MEDIA_ENDPOINT_DEFINITIONS,
|
|
8161
|
-
sdkIdentifiersBackfill: {
|
|
8162
|
-
path: "/sdk/{siteId}/identifiers/backfill",
|
|
8163
|
-
method: "POST",
|
|
8164
|
-
auth: "service",
|
|
8165
|
-
responseKind: "json"
|
|
8166
|
-
},
|
|
8167
8561
|
sdkUpdateWorkflowRunStatus: {
|
|
8168
8562
|
path: "/sdk/{siteId}/workflows/runs/{runId}/status",
|
|
8169
8563
|
method: "POST",
|
|
@@ -8736,6 +9130,20 @@ const API_ENDPOINTS = {
|
|
|
8736
9130
|
auth: "public",
|
|
8737
9131
|
responseKind: "json"
|
|
8738
9132
|
},
|
|
9133
|
+
portalListEventRescheduleDates: {
|
|
9134
|
+
errors: [],
|
|
9135
|
+
path: "/portal/events/{registrationId}/reschedule-dates",
|
|
9136
|
+
method: "GET",
|
|
9137
|
+
auth: "public",
|
|
9138
|
+
responseKind: "json"
|
|
9139
|
+
},
|
|
9140
|
+
portalRescheduleEventRegistration: {
|
|
9141
|
+
errors: [],
|
|
9142
|
+
path: "/portal/events/{registrationId}/reschedule",
|
|
9143
|
+
method: "POST",
|
|
9144
|
+
auth: "public",
|
|
9145
|
+
responseKind: "json"
|
|
9146
|
+
},
|
|
8739
9147
|
portalTransferEventRegistration: {
|
|
8740
9148
|
path: "/portal/events/{registrationId}/transfer",
|
|
8741
9149
|
method: "POST",
|
|
@@ -8923,6 +9331,23 @@ z.object({
|
|
|
8923
9331
|
refreshToken: z.string().min(1).max(4096)
|
|
8924
9332
|
}).strict();
|
|
8925
9333
|
z.object({ accessToken: z.string().min(1).max(8192) }).strict();
|
|
9334
|
+
z.object({
|
|
9335
|
+
type: z.literal("riverbank:preview-height"),
|
|
9336
|
+
height: z.number().finite().positive()
|
|
9337
|
+
}).strict();
|
|
9338
|
+
z.object({ type: z.literal("riverbank:preview-failed") }).strict();
|
|
9339
|
+
//#endregion
|
|
9340
|
+
//#region ../api/src/common/capacityOverride.ts
|
|
9341
|
+
const capacityOverrideRefusalSchema = z.object({
|
|
9342
|
+
booked: z.number().int().nonnegative(),
|
|
9343
|
+
held: z.number().int().nonnegative(),
|
|
9344
|
+
capacity: z.number().int().nonnegative(),
|
|
9345
|
+
name: z.string(),
|
|
9346
|
+
retryPersonId: z.string().optional()
|
|
9347
|
+
});
|
|
9348
|
+
function isCapacityOverrideRefusal(value) {
|
|
9349
|
+
return capacityOverrideRefusalSchema.safeParse(value).success;
|
|
9350
|
+
}
|
|
8926
9351
|
const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
8927
9352
|
"auth:unauthenticated",
|
|
8928
9353
|
"auth:token_expired",
|
|
@@ -8934,6 +9359,7 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
8934
9359
|
"auth:impersonation_restricted",
|
|
8935
9360
|
"auth:lease_required",
|
|
8936
9361
|
"auth:lease_lost",
|
|
9362
|
+
"client:editing_held",
|
|
8937
9363
|
"site_terms_changed",
|
|
8938
9364
|
"site_terms_agreement_missing",
|
|
8939
9365
|
"validation:invalid_input",
|
|
@@ -8969,7 +9395,7 @@ function isRecord$7(value) {
|
|
|
8969
9395
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8970
9396
|
}
|
|
8971
9397
|
function isFieldError(value) {
|
|
8972
|
-
return isRecord$7(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string";
|
|
9398
|
+
return isRecord$7(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string" && (value.capacityOverride === void 0 || isCapacityOverrideRefusal(value.capacityOverride));
|
|
8973
9399
|
}
|
|
8974
9400
|
function fieldErrorsFromUnknown(value) {
|
|
8975
9401
|
if (!Array.isArray(value)) return null;
|
|
@@ -9653,7 +10079,7 @@ function deriveSurfaceOwnedSiteSlugs() {
|
|
|
9653
10079
|
...siteRootHosts,
|
|
9654
10080
|
...SURFACE_IDS.map((surfaceId) => new URL(resolveSurfaceMarketingCanonicalOrigin(surfaceId)).hostname)
|
|
9655
10081
|
].flatMap((host) => siteRootHosts.flatMap((root) => siteSlugLabelUnderRoot(host, root)));
|
|
9656
|
-
return [
|
|
10082
|
+
return [.../* @__PURE__ */ new Set([...labels, "draft-preview"])].sort();
|
|
9657
10083
|
}
|
|
9658
10084
|
deriveSurfaceOwnedSiteSlugs();
|
|
9659
10085
|
const HOST_CANDIDATES = [...SURFACE_IDS.flatMap((surfaceId) => SURFACE_TIERS.flatMap((tier) => [
|
|
@@ -9781,6 +10207,74 @@ function resolveApiBaseUrl() {
|
|
|
9781
10207
|
return getCmsApiUrl();
|
|
9782
10208
|
}
|
|
9783
10209
|
//#endregion
|
|
10210
|
+
//#region ../api/src/common/operationId.ts
|
|
10211
|
+
const OPERATION_ID_HEADER = "X-Riverbank-Operation-Id";
|
|
10212
|
+
z.uuid();
|
|
10213
|
+
/** One client command owns this id; network retries retain the same header. */
|
|
10214
|
+
function commandHeaders(endpoint, headers, operationId) {
|
|
10215
|
+
const result = new Headers(headers);
|
|
10216
|
+
if (API_ENDPOINTS[endpoint].method !== "GET" && !result.has("X-Riverbank-Operation-Id")) result.set(OPERATION_ID_HEADER, operationId);
|
|
10217
|
+
return result;
|
|
10218
|
+
}
|
|
10219
|
+
//#endregion
|
|
10220
|
+
//#region ../api/src/common/pageCommit.ts
|
|
10221
|
+
const pageCommitConfirmationSchema = committedWriteProofSchema.extend({ kind: z.literal("committed-reconciliation-required") });
|
|
10222
|
+
/** Positive storage evidence with no usable projection: refresh, never repeat an unconfirmed write. */
|
|
10223
|
+
var ApiCommittedWriteNotice = class extends Error {
|
|
10224
|
+
constructor(confirmation) {
|
|
10225
|
+
super("Your change was saved. Refresh the page to continue editing.");
|
|
10226
|
+
this.confirmation = confirmation;
|
|
10227
|
+
this.name = "ApiCommittedWriteNotice";
|
|
10228
|
+
}
|
|
10229
|
+
};
|
|
10230
|
+
const pageCommitConfirmationEnvelopeSchema = z.object({
|
|
10231
|
+
success: z.literal(true),
|
|
10232
|
+
data: pageCommitConfirmationSchema
|
|
10233
|
+
});
|
|
10234
|
+
z.enum([
|
|
10235
|
+
"paused",
|
|
10236
|
+
"lease-lost",
|
|
10237
|
+
"session-stale",
|
|
10238
|
+
"authority-denied",
|
|
10239
|
+
"stale-preimage",
|
|
10240
|
+
"stale-revision",
|
|
10241
|
+
"obsolete-schedule",
|
|
10242
|
+
"invalid-plan",
|
|
10243
|
+
"provider-scope-changed",
|
|
10244
|
+
"missing-document",
|
|
10245
|
+
"invalid-content",
|
|
10246
|
+
"unpublishable-content",
|
|
10247
|
+
"unavailable-design",
|
|
10248
|
+
"invalid-metadata",
|
|
10249
|
+
"invalid-anchor",
|
|
10250
|
+
"invalid-intent",
|
|
10251
|
+
"boundary-not-adjacent",
|
|
10252
|
+
"invalid-aggregate",
|
|
10253
|
+
"missing-block",
|
|
10254
|
+
"identity-in-use",
|
|
10255
|
+
"identifier-in-use",
|
|
10256
|
+
"content-reference-in-use",
|
|
10257
|
+
"missing-history",
|
|
10258
|
+
"invalid-external-change",
|
|
10259
|
+
"invalid-construction-inventory",
|
|
10260
|
+
"invalid-target",
|
|
10261
|
+
"invalid-revision",
|
|
10262
|
+
"invalid-document",
|
|
10263
|
+
"invalid-history",
|
|
10264
|
+
"path-unavailable",
|
|
10265
|
+
"invalid-page-version",
|
|
10266
|
+
"invalid-block-reference",
|
|
10267
|
+
"invalid-content-reference",
|
|
10268
|
+
"duplicate-storage-identity",
|
|
10269
|
+
"invalid-schedule",
|
|
10270
|
+
"invalid-provider",
|
|
10271
|
+
"invalid-site-style",
|
|
10272
|
+
"invalid-manifest",
|
|
10273
|
+
"invalid-preimage-reference",
|
|
10274
|
+
"outcome-unknown",
|
|
10275
|
+
"committed-follow-up-failed"
|
|
10276
|
+
]);
|
|
10277
|
+
//#endregion
|
|
9784
10278
|
//#region ../api/src/request.ts
|
|
9785
10279
|
let revalidateTag = null;
|
|
9786
10280
|
let revalidateTagResolved = false;
|
|
@@ -9825,6 +10319,7 @@ var ApiRequestError = class extends Error {
|
|
|
9825
10319
|
this.body = options.body;
|
|
9826
10320
|
this.cause = options.cause;
|
|
9827
10321
|
this.errorCode = options.errorCode;
|
|
10322
|
+
this.tag = options.tag;
|
|
9828
10323
|
this.retryAfterMs = options.retryAfterMs;
|
|
9829
10324
|
}
|
|
9830
10325
|
};
|
|
@@ -9988,6 +10483,7 @@ async function parseSuccessResponse(endpoint, response, config) {
|
|
|
9988
10483
|
cause
|
|
9989
10484
|
});
|
|
9990
10485
|
}
|
|
10486
|
+
requireUsableCommitProjection(response, parsed);
|
|
9991
10487
|
if (parsed && typeof parsed === "object" && "success" in parsed && typeof parsed.success === "boolean") return parsed;
|
|
9992
10488
|
return buildSuccessEnvelope(parsed, requestId);
|
|
9993
10489
|
}
|
|
@@ -10008,7 +10504,10 @@ function createRawCMSClient(getHeaders = () => ({}), baseUrl) {
|
|
|
10008
10504
|
endpoint,
|
|
10009
10505
|
body,
|
|
10010
10506
|
params,
|
|
10011
|
-
options
|
|
10507
|
+
options: {
|
|
10508
|
+
...options,
|
|
10509
|
+
headers: commandHeaders(endpoint, options.headers, generateRequestId())
|
|
10510
|
+
},
|
|
10012
10511
|
headers: getHeaders(),
|
|
10013
10512
|
baseUrl: normalizeCmsApiBaseUrl(baseUrl ?? resolveApiBaseUrl()),
|
|
10014
10513
|
sdkVersion
|
|
@@ -10064,16 +10563,7 @@ function buildApiRequestPlan(input) {
|
|
|
10064
10563
|
const nextOptions = { ...options?.next ?? {} };
|
|
10065
10564
|
if (options?.cache === "no-store") delete nextOptions.revalidate;
|
|
10066
10565
|
else if (isGetOrHead && nextOptions.revalidate === void 0 && "revalidate" in endpointConfig && typeof endpointConfig.revalidate === "number") nextOptions.revalidate = endpointConfig.revalidate;
|
|
10067
|
-
if ("tags" in endpointConfig && Array.isArray(endpointConfig.tags))
|
|
10068
|
-
const processedTags = endpointConfig.tags.map((tag) => {
|
|
10069
|
-
let processedTag = tag;
|
|
10070
|
-
if (params) Object.entries(params).forEach(([key, value]) => {
|
|
10071
|
-
processedTag = processedTag.replace(`{${key}}`, String(value));
|
|
10072
|
-
});
|
|
10073
|
-
return /\{[^}]+\}/.test(processedTag) ? null : processedTag;
|
|
10074
|
-
}).filter((tag) => tag !== null);
|
|
10075
|
-
nextOptions.tags = Array.from(/* @__PURE__ */ new Set([...nextOptions.tags ?? [], ...processedTags]));
|
|
10076
|
-
}
|
|
10566
|
+
if ("tags" in endpointConfig && Array.isArray(endpointConfig.tags)) nextOptions.tags = buildCacheReadTags([...nextOptions.tags ?? [], ...endpointConfig.tags], params);
|
|
10077
10567
|
const init = {
|
|
10078
10568
|
method,
|
|
10079
10569
|
...options,
|
|
@@ -10106,6 +10596,7 @@ async function createApiRequestError(response, endpoint, fallbackMessage) {
|
|
|
10106
10596
|
requestId: response.headers.get("x-request-id") ?? void 0,
|
|
10107
10597
|
body,
|
|
10108
10598
|
errorCode: details.code ?? void 0,
|
|
10599
|
+
tag: details.tag ?? void 0,
|
|
10109
10600
|
retryAfterMs: parseRetryAfterHeader(response.headers.get("retry-after"))
|
|
10110
10601
|
});
|
|
10111
10602
|
}
|
|
@@ -10127,6 +10618,11 @@ function createInternalAPIClient(baseUrl) {
|
|
|
10127
10618
|
function createBearerAPIClient(token, baseUrl) {
|
|
10128
10619
|
return createParsedClient(createRawCMSClient(() => ({ Authorization: `Bearer ${typeof token === "function" ? token() : token}` }), baseUrl));
|
|
10129
10620
|
}
|
|
10621
|
+
/** Positive receipt evidence is kept distinct from an HTTP or request failure. */
|
|
10622
|
+
function requireUsableCommitProjection(response, parsed) {
|
|
10623
|
+
if (response.headers.get("x-rb-page-commit") !== "confirmed-refresh") return;
|
|
10624
|
+
throw new ApiCommittedWriteNotice(pageCommitConfirmationEnvelopeSchema.parse(parsed).data);
|
|
10625
|
+
}
|
|
10130
10626
|
//#endregion
|
|
10131
10627
|
//#region ../api/src/accountApi.ts
|
|
10132
10628
|
const siteRoleSchema = z.enum([
|
|
@@ -10772,6 +11268,7 @@ function parsePublicProductCategorySelector(value) {
|
|
|
10772
11268
|
productCategoryEntryId: record.productCategoryEntryId
|
|
10773
11269
|
};
|
|
10774
11270
|
}
|
|
11271
|
+
z.object({ expectedRevision: z.number().int().nonnegative() }).strict();
|
|
10775
11272
|
z.enum(["public", "unlisted"], { error: "visibility must be 'public' or 'unlisted'" });
|
|
10776
11273
|
z.object({
|
|
10777
11274
|
restoredOccurrenceIds: z.array(z.string().uuid()),
|
|
@@ -10786,9 +11283,8 @@ z.object({
|
|
|
10786
11283
|
//#endregion
|
|
10787
11284
|
//#region ../api/src/aiPlayground.ts
|
|
10788
11285
|
const PreparedPagePreconditionSchema = z.object({
|
|
10789
|
-
schemaVersion: z.literal(1),
|
|
10790
11286
|
pageId: z.string().uuid(),
|
|
10791
|
-
|
|
11287
|
+
revision: z.number().int().nonnegative()
|
|
10792
11288
|
}).strict();
|
|
10793
11289
|
/**
|
|
10794
11290
|
* RFC-6902 JSON Patch Operations
|
|
@@ -12049,33 +12545,36 @@ function compileManifestContentContract(manifestOrFields, options = {}) {
|
|
|
12049
12545
|
const plans = derivePlansFromManifestOrFields(manifestOrFields);
|
|
12050
12546
|
const strictOptions = { allowNull: false };
|
|
12051
12547
|
const strictStoredSchema = deriveStrictContentZodFromPlans(plans);
|
|
12052
|
-
return Object.freeze({
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12548
|
+
return Object.freeze({
|
|
12549
|
+
fields: Array.isArray(manifestOrFields) ? manifestOrFields : manifestOrFields.fields,
|
|
12550
|
+
[compiledManifestContentContract]: Object.freeze({
|
|
12551
|
+
plans,
|
|
12552
|
+
strictStoredSchema,
|
|
12553
|
+
renderSourceSchema: deriveStrictContentZodFromPlans(plans, "render-source"),
|
|
12554
|
+
writeSchema: deriveNormalizedContentZodFromPlans(plans, strictOptions, normalizeManifestContentForWrite).superRefine((value, ctx) => {
|
|
12555
|
+
if (options.unknownFields !== "reject") return;
|
|
12556
|
+
unknownManifestFieldPaths(plans, value).forEach((path) => {
|
|
12557
|
+
ctx.addIssue({
|
|
12558
|
+
code: "custom",
|
|
12559
|
+
path,
|
|
12560
|
+
message: `Unknown content field: ${path.join(".")}`
|
|
12561
|
+
});
|
|
12063
12562
|
});
|
|
12064
|
-
})
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
})
|
|
12563
|
+
}).transform((value) => canonicalizeObjectForWrite(plans, value)),
|
|
12564
|
+
draftSchema: deriveNormalizedContentZodFromPlans(plans, {
|
|
12565
|
+
allowNull: true,
|
|
12566
|
+
allowIncomplete: true,
|
|
12567
|
+
mode: "draft"
|
|
12568
|
+
}, normalizeStoredContentValues),
|
|
12569
|
+
renderDraftSchema: deriveNormalizedContentZodFromPlans(plans, {
|
|
12570
|
+
allowNull: true,
|
|
12571
|
+
allowIncomplete: true,
|
|
12572
|
+
mode: "draft"
|
|
12573
|
+
}, normalizeStoredContentValues, false),
|
|
12574
|
+
renderSchema: deriveStrictContentZodFromPlans(plans, "render"),
|
|
12575
|
+
findNonPortableMediaPaths: (content) => findNonPortableMediaPaths(plans, content)
|
|
12576
|
+
})
|
|
12577
|
+
});
|
|
12079
12578
|
}
|
|
12080
12579
|
function unknownManifestFieldPaths(plans, value, parent = [], discriminator) {
|
|
12081
12580
|
if (!isPlainRecord(value)) return [];
|
|
@@ -12093,6 +12592,10 @@ function nestedUnknownManifestFieldPaths(plan, value, path) {
|
|
|
12093
12592
|
return unknownManifestFieldPaths((isPlainRecord(item) ? plan.repeatedItemVariants?.find((entry) => entry.typeId === item._type) : void 0)?.fields ?? plan.repeatedItemPlan ?? [], item, [...path, index], plan.repeatedItemVariants ? "_type" : void 0);
|
|
12094
12593
|
});
|
|
12095
12594
|
}
|
|
12595
|
+
/** Presentation recovery preserves authored payloads and does not admit them for a write. */
|
|
12596
|
+
function projectStoredManifestContentForRendering(contract, content) {
|
|
12597
|
+
return projectLayoutGridPlansForRendering(contract[compiledManifestContentContract].plans, content);
|
|
12598
|
+
}
|
|
12096
12599
|
/** Validates raw editor state without granting a stored-content proof. */
|
|
12097
12600
|
function validateManifestDraft(contract, data) {
|
|
12098
12601
|
const parsed = contract[compiledManifestContentContract].draftSchema.safeParse(data);
|
|
@@ -12116,7 +12619,7 @@ function validateManifestDraft(contract, data) {
|
|
|
12116
12619
|
*/
|
|
12117
12620
|
function admitTransportedRenderableManifestContent(contract, content) {
|
|
12118
12621
|
const state = contract[compiledManifestContentContract];
|
|
12119
|
-
const projected =
|
|
12622
|
+
const projected = projectStoredManifestContentForRendering(contract, content);
|
|
12120
12623
|
const parsed = state.renderSchema.safeParse(projected);
|
|
12121
12624
|
return parsed.success ? {
|
|
12122
12625
|
ok: true,
|
|
@@ -13034,13 +13537,14 @@ const FLOATING_BLUR = "blur(16px)";
|
|
|
13034
13537
|
* Similar to button system - generates theme-scoped CSS using [data-theme-scope] selector
|
|
13035
13538
|
*/
|
|
13036
13539
|
function generateHeaderCss(options) {
|
|
13037
|
-
const { themeId, theme, responsiveMode = DEFAULT_THEME_RESPONSIVE_MODE } = options;
|
|
13540
|
+
const { themeId, theme, responsiveMode = DEFAULT_THEME_RESPONSIVE_MODE, solvedInks = "withhold" } = options;
|
|
13038
13541
|
const tokens = new TokenResolver(theme);
|
|
13039
13542
|
const header = theme.header;
|
|
13040
13543
|
const cssChunks = [];
|
|
13041
13544
|
const headerContrastTreatment = resolveHeaderContrastTreatment(header);
|
|
13042
13545
|
const headerNavTextSize = resolveHeaderNavTextSize(header);
|
|
13043
|
-
cssChunks.push(generateHeaderRootStyles(header, themeId, tokens));
|
|
13546
|
+
cssChunks.push(generateHeaderRootStyles(header, themeId, tokens, headerPaintInks(header, theme, solvedInks)));
|
|
13547
|
+
cssChunks.push(generateOpeningPhotoShade(header, themeId));
|
|
13044
13548
|
cssChunks.push(generateMobileOverlayBackdropFilterFix(themeId, header.variant));
|
|
13045
13549
|
cssChunks.push(generateHeaderLogoStyles({
|
|
13046
13550
|
logo: header.logo,
|
|
@@ -13054,17 +13558,23 @@ function generateHeaderCss(options) {
|
|
|
13054
13558
|
}));
|
|
13055
13559
|
cssChunks.push(generateLogoTextBehaviorStyles(header.logoText, themeId));
|
|
13056
13560
|
cssChunks.push(generateHeaderNavLinkStyles(header, themeId, tokens, theme, headerContrastTreatment, headerNavTextSize));
|
|
13057
|
-
|
|
13058
|
-
|
|
13561
|
+
const menuHeader = contextualDropdownHeader(header);
|
|
13562
|
+
const dropdown = resolveDropdownSurface(menuHeader, theme, tokens, solvedInks);
|
|
13563
|
+
cssChunks.push(generateDropdownContainerStyles(menuHeader, themeId, tokens, dropdown));
|
|
13564
|
+
cssChunks.push(generateDropdownLinkStyles(menuHeader, themeId, tokens, theme, dropdown));
|
|
13059
13565
|
cssChunks.push(generateDropdownCaretStyles(themeId));
|
|
13060
13566
|
cssChunks.push(generateDropdownTriggerOverrides(header, themeId));
|
|
13061
|
-
cssChunks.push(generateMobilePanelStyles(
|
|
13567
|
+
cssChunks.push(generateMobilePanelStyles(themeId, dropdown));
|
|
13062
13568
|
if (header.variant === "floating" && header.container) cssChunks.push(generateFloatingContainerStyles(header, themeId, tokens, responsiveMode));
|
|
13063
|
-
cssChunks.push(generateNavContainerStyles(header, themeId, tokens));
|
|
13569
|
+
cssChunks.push(generateNavContainerStyles(header, themeId, tokens, theme, solvedInks));
|
|
13064
13570
|
cssChunks.push(generateHeaderCtaTreatmentStyles(header, themeId, tokens));
|
|
13065
13571
|
cssChunks.push(generateCtaGapStyles(header, themeId));
|
|
13066
13572
|
return cssChunks.filter(Boolean).join("\n\n");
|
|
13067
13573
|
}
|
|
13574
|
+
/** Scope shading to the actual opening under overlay chrome, including hidden-header pages. */
|
|
13575
|
+
function generateOpeningPhotoShade(header, themeId) {
|
|
13576
|
+
return `:where([data-theme-scope="${themeId}"]) [data-site-document-layout-mode="header-overlay"] :is([data-page-block-position="first"], [data-page-block-position="only"]) { --rb-opening-photo-shade: ${headerNeedsPhotoShade(header) ? "linear-gradient(to bottom, rgba(0,0,0,0.78) 0px, rgba(0,0,0,0.64) 110px, transparent 220px)" : "linear-gradient(transparent, transparent)"}; }`;
|
|
13577
|
+
}
|
|
13068
13578
|
function resolveHeaderContrastTreatment(header) {
|
|
13069
13579
|
if (header.navLinkStyle?.contrastTreatment) return header.navLinkStyle.contrastTreatment;
|
|
13070
13580
|
return isClearSplitHeaderShape(header) ? "soft-glow" : null;
|
|
@@ -13083,7 +13593,7 @@ function isDetachedFloatingHeaderShape(header) {
|
|
|
13083
13593
|
/**
|
|
13084
13594
|
* Generate root header container styles
|
|
13085
13595
|
*/
|
|
13086
|
-
function generateHeaderRootStyles(header, themeId, tokens) {
|
|
13596
|
+
function generateHeaderRootStyles(header, themeId, tokens, inks) {
|
|
13087
13597
|
const selector = `:where([data-theme-scope="${themeId}"]) .header-root`;
|
|
13088
13598
|
const rules = [];
|
|
13089
13599
|
const isContainedNav = headerRootPaint(header) === "contained-nav";
|
|
@@ -13095,7 +13605,11 @@ function generateHeaderRootStyles(header, themeId, tokens) {
|
|
|
13095
13605
|
} : buildHeaderSurfaceRules(header, tokens);
|
|
13096
13606
|
const floatingSurfaceBorder = header.variant === "floating";
|
|
13097
13607
|
if (!floatingSurfaceBorder) rules.push(...surfaceRules.border);
|
|
13098
|
-
const basePaintRules = floatingSurfaceBorder ? [
|
|
13608
|
+
const basePaintRules = floatingSurfaceBorder ? [
|
|
13609
|
+
...surfaceRules.base,
|
|
13610
|
+
...surfaceRules.border,
|
|
13611
|
+
...inks
|
|
13612
|
+
] : [...surfaceRules.base, ...inks];
|
|
13099
13613
|
const scrolledPaintRules = floatingSurfaceBorder ? surfaceRules.border : [];
|
|
13100
13614
|
if (header.positioning === "sticky" || header.positioning === "fixed") {
|
|
13101
13615
|
const shadowVar = getComponentShadowVar(header.shadow?.elevation ?? "none");
|
|
@@ -13141,14 +13655,13 @@ function generateLogoTextBehaviorStyles(logoText, themeId) {
|
|
|
13141
13655
|
/**
|
|
13142
13656
|
* Generate dropdown menu container styles
|
|
13143
13657
|
*/
|
|
13144
|
-
function generateDropdownContainerStyles(header, themeId, tokens,
|
|
13658
|
+
function generateDropdownContainerStyles(header, themeId, tokens, surface) {
|
|
13145
13659
|
const selector = `:where([data-theme-scope="${themeId}"]) .nav-dropdown-menu`;
|
|
13146
13660
|
const rules = [];
|
|
13147
13661
|
const dropdownStyle = header.dropdownStyle;
|
|
13148
13662
|
rules.push(...NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES);
|
|
13149
|
-
|
|
13150
|
-
rules.push(
|
|
13151
|
-
rules.push(...surface.declarations(tokens));
|
|
13663
|
+
rules.push(`background-color: ${surface.backgroundColor};`);
|
|
13664
|
+
rules.push(...surface.foregroundDeclarations);
|
|
13152
13665
|
const borderToken = dropdownStyle?.borderColor;
|
|
13153
13666
|
if (borderToken === null) rules.push(`border: none;`);
|
|
13154
13667
|
else rules.push(`border: 1px solid ${tokens.getColor(borderToken ?? "border")};`);
|
|
@@ -13162,71 +13675,61 @@ function generateDropdownContainerStyles(header, themeId, tokens, theme) {
|
|
|
13162
13675
|
lg: "0.75rem"
|
|
13163
13676
|
}[borderRadius]};`);
|
|
13164
13677
|
rules.push(`padding: 0.5rem 0;`);
|
|
13165
|
-
return `\n${selector} {\n ${rules.join("\n ")}\n}\n
|
|
13166
|
-
}
|
|
13167
|
-
function
|
|
13168
|
-
const
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13678
|
+
return `\n${selector} {\n ${rules.join("\n ")}\n}\n` + generateDropdownFrosting(selector, surface);
|
|
13679
|
+
}
|
|
13680
|
+
function dropdownLinkEffects(style, textToken, opacity) {
|
|
13681
|
+
const background = style?.hoverBackground === void 0 ? textToken : style.hoverBackground;
|
|
13682
|
+
return [...background === null ? [] : [{
|
|
13683
|
+
effectId: "background-on-hover-alpha",
|
|
13684
|
+
options: {
|
|
13685
|
+
colorToken: background,
|
|
13686
|
+
opacity
|
|
13687
|
+
}
|
|
13688
|
+
}], ...style?.hoverTextColor ? [{
|
|
13689
|
+
effectId: "text-color-change",
|
|
13690
|
+
options: { hoverColorToken: style.hoverTextColor }
|
|
13691
|
+
}] : []];
|
|
13692
|
+
}
|
|
13693
|
+
function dropdownNavLinkStyle(header, textToken) {
|
|
13694
|
+
const style = header.dropdownStyle;
|
|
13695
|
+
return {
|
|
13696
|
+
name: "Dropdown",
|
|
13697
|
+
typography: "body",
|
|
13698
|
+
fontWeight: style?.fontWeight ?? header.navWeight ?? "medium",
|
|
13699
|
+
textTransform: style?.textTransform ?? "none",
|
|
13700
|
+
italic: false,
|
|
13701
|
+
colorToken: textToken,
|
|
13702
|
+
padding: "compact",
|
|
13703
|
+
borderRadius: "sm",
|
|
13704
|
+
effects: {
|
|
13705
|
+
hover: dropdownLinkEffects(style, textToken, 12),
|
|
13706
|
+
active: dropdownLinkEffects(style, textToken, 18)
|
|
13707
|
+
}
|
|
13186
13708
|
};
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
-
});
|
|
13192
|
-
hoverEffects.active?.push({
|
|
13193
|
-
effectId: "text-color-change",
|
|
13194
|
-
options: { hoverColorToken: configuredDropdownStyle.hoverTextColor }
|
|
13195
|
-
});
|
|
13196
|
-
}
|
|
13197
|
-
const baseCSS = generateNavLinkCSS({
|
|
13198
|
-
themeId,
|
|
13199
|
-
tokens,
|
|
13200
|
-
theme,
|
|
13201
|
-
style: {
|
|
13202
|
-
name: "Dropdown",
|
|
13203
|
-
typography: "body",
|
|
13204
|
-
fontWeight: configuredDropdownStyle?.fontWeight ?? header.navWeight ?? "medium",
|
|
13205
|
-
textTransform: configuredDropdownStyle?.textTransform ?? "none",
|
|
13206
|
-
italic: false,
|
|
13207
|
-
colorToken: textColorToken,
|
|
13208
|
-
padding: "compact",
|
|
13209
|
-
borderRadius: "sm",
|
|
13210
|
-
effects: hoverEffects
|
|
13211
|
-
},
|
|
13212
|
-
className: "nav-dropdown-link"
|
|
13213
|
-
});
|
|
13214
|
-
const additionalRules = [];
|
|
13215
|
-
const letterSpacing = configuredDropdownStyle?.letterSpacing ?? "normal";
|
|
13216
|
-
if (letterSpacing !== "normal") additionalRules.push(`letter-spacing: ${{
|
|
13709
|
+
}
|
|
13710
|
+
function dropdownTypographyRules(style) {
|
|
13711
|
+
const letterSpacing = style?.letterSpacing ?? "normal";
|
|
13712
|
+
const spacing = {
|
|
13217
13713
|
normal: "0em",
|
|
13218
13714
|
wide: "0.05em",
|
|
13219
13715
|
wider: "0.1em"
|
|
13220
|
-
}
|
|
13221
|
-
const
|
|
13222
|
-
additionalRules.push(`font-size: ${{
|
|
13716
|
+
};
|
|
13717
|
+
const sizes = {
|
|
13223
13718
|
xs: "0.75rem",
|
|
13224
13719
|
sm: "0.875rem",
|
|
13225
13720
|
base: "1rem",
|
|
13226
13721
|
lg: "1.125rem"
|
|
13227
|
-
}
|
|
13228
|
-
|
|
13229
|
-
|
|
13722
|
+
};
|
|
13723
|
+
return [...letterSpacing === "normal" ? [] : [`letter-spacing: ${spacing[letterSpacing]};`], `font-size: ${sizes[style?.textSize ?? "sm"]};`];
|
|
13724
|
+
}
|
|
13725
|
+
function generateDropdownLinkStyles(header, themeId, tokens, theme, surface) {
|
|
13726
|
+
return generateNavLinkCSS({
|
|
13727
|
+
themeId,
|
|
13728
|
+
tokens,
|
|
13729
|
+
theme,
|
|
13730
|
+
style: dropdownNavLinkStyle(header, surface.textToken),
|
|
13731
|
+
className: "nav-dropdown-link"
|
|
13732
|
+
}) + `\n${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-link`} {\n ${dropdownTypographyRules(header.dropdownStyle).join("\n ")}\n}\n`;
|
|
13230
13733
|
}
|
|
13231
13734
|
function generateDropdownCaretStyles(themeId) {
|
|
13232
13735
|
return `
|
|
@@ -13254,42 +13757,76 @@ ${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-trigger.header-nav-link
|
|
|
13254
13757
|
}
|
|
13255
13758
|
`.trim();
|
|
13256
13759
|
}
|
|
13257
|
-
/**
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
|
|
13760
|
+
/** Reuse the header's decided opening tone; unknown openings retain opaque paint. */
|
|
13761
|
+
function contextualDropdownHeader(header) {
|
|
13762
|
+
const style = header.dropdownStyle;
|
|
13763
|
+
const treatment = style?.surfaceTreatment;
|
|
13764
|
+
if (!style || treatment?.kind !== "frosted" || treatment.tone !== "opening") return header;
|
|
13765
|
+
const opening = header.scrollTreatment;
|
|
13766
|
+
if (!opening) return {
|
|
13767
|
+
...header,
|
|
13768
|
+
dropdownStyle: {
|
|
13769
|
+
...style,
|
|
13770
|
+
surfaceTreatment: { kind: "solid" }
|
|
13771
|
+
}
|
|
13772
|
+
};
|
|
13773
|
+
const dark = opening.backgroundTone === "dark";
|
|
13774
|
+
const textColor = dark ? "neutral-50" : "neutral-950";
|
|
13775
|
+
return {
|
|
13776
|
+
...header,
|
|
13777
|
+
dropdownStyle: {
|
|
13778
|
+
...style,
|
|
13779
|
+
background: dark ? "neutral-950" : "neutral-50",
|
|
13780
|
+
textColor,
|
|
13781
|
+
hoverBackground: textColor,
|
|
13782
|
+
borderColor: null
|
|
13783
|
+
}
|
|
13784
|
+
};
|
|
13785
|
+
}
|
|
13786
|
+
function dropdownTextCandidate(header) {
|
|
13787
|
+
return header.dropdownStyle?.textColor ?? ((header.navColor ?? header.textColor)?.trim() || "text");
|
|
13788
|
+
}
|
|
13789
|
+
function resolveDropdownSurface(header, theme, tokens, solvedInks) {
|
|
13265
13790
|
const backgroundToken = header.dropdownStyle?.background ?? "surface";
|
|
13266
|
-
const candidate =
|
|
13791
|
+
const candidate = dropdownTextCandidate(header);
|
|
13267
13792
|
const foreground = resolveSurfaceForeground({
|
|
13268
13793
|
type: "color",
|
|
13269
13794
|
color: backgroundToken,
|
|
13270
13795
|
textColor: candidate
|
|
13271
13796
|
}, expandPalette(theme.palette));
|
|
13272
13797
|
return {
|
|
13273
|
-
backgroundToken,
|
|
13798
|
+
backgroundColor: tokens.getColor(backgroundToken),
|
|
13274
13799
|
textToken: foreground.kind === "known" ? foreground.roles.text : candidate,
|
|
13275
|
-
|
|
13800
|
+
foregroundDeclarations: [...foreground.kind === "known" ? surfaceForegroundDeclarations(surfaceForegroundInputFromResolved(foreground, (token) => tokens.getColor(token))) : [`color: ${tokens.getColor(candidate)};`], ...surfaceInkDeclarations(surfaceInkPublication(foreground, solvedInks))],
|
|
13801
|
+
treatment: header.dropdownStyle?.surfaceTreatment
|
|
13276
13802
|
};
|
|
13277
13803
|
}
|
|
13278
|
-
/**
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13804
|
+
/** Solid paint is the fallback. Blur is enhancement, never the readability mechanism. */
|
|
13805
|
+
function generateDropdownFrosting(selector, surface) {
|
|
13806
|
+
if (surface.treatment?.kind !== "frosted") return "";
|
|
13807
|
+
const blur = surface.treatment.blur === "sm" ? "8px" : "12px";
|
|
13808
|
+
return `
|
|
13809
|
+
@supports (background-color: color-mix(in srgb, white, transparent)) and ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
13810
|
+
${selector} {
|
|
13811
|
+
background-color: color-mix(in srgb, ${surface.backgroundColor} ${surface.treatment.opacity * 100}%, transparent);
|
|
13812
|
+
backdrop-filter: blur(${blur});
|
|
13813
|
+
-webkit-backdrop-filter: blur(${blur});
|
|
13814
|
+
${surface.treatment.opacity < 1 ? surfaceInkDeclarations({ kind: "reset" }).join("\n ") : ""}
|
|
13815
|
+
}
|
|
13816
|
+
}
|
|
13817
|
+
`;
|
|
13818
|
+
}
|
|
13819
|
+
/** Mobile shares the resolved opaque surface, never desktop translucency. */
|
|
13820
|
+
function generateMobilePanelStyles(themeId, surface) {
|
|
13283
13821
|
const selector = `:where([data-theme-scope="${themeId}"]) .nav-mobile-panel`;
|
|
13284
13822
|
const selfSelector = `:where(.nav-mobile-panel[data-theme-scope="${themeId}"])`;
|
|
13285
|
-
const
|
|
13286
|
-
const body = renderCssDeclarations([`background-color: ${tokens.getColor(surface.backgroundToken)};`, ...surface.declarations(tokens)]);
|
|
13823
|
+
const body = renderCssDeclarations([`background-color: ${surface.backgroundColor};`, ...surface.foregroundDeclarations]);
|
|
13287
13824
|
return `\n${selector} {\n ${body}\n}\n\n${selfSelector} {\n ${body}\n}\n`;
|
|
13288
13825
|
}
|
|
13289
13826
|
/**
|
|
13290
13827
|
* Generate nav container styles (pill/glass)
|
|
13291
13828
|
*/
|
|
13292
|
-
function generateNavContainerStyles(header, themeId, tokens) {
|
|
13829
|
+
function generateNavContainerStyles(header, themeId, tokens, theme, solvedInks) {
|
|
13293
13830
|
const navContainer = header.navContainer;
|
|
13294
13831
|
const navContainerType = navContainer?.type ?? "none";
|
|
13295
13832
|
if (!navContainer || navContainerType === "none") return "";
|
|
@@ -13303,22 +13840,30 @@ function generateNavContainerStyles(header, themeId, tokens) {
|
|
|
13303
13840
|
rules.push("gap: 1.5rem;");
|
|
13304
13841
|
if (isDetachedFloatingHeaderShape(header)) rules.push("align-self: flex-start;");
|
|
13305
13842
|
}
|
|
13306
|
-
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
|
|
13310
|
-
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13843
|
+
rules.push(...navContainerSurfaceRules(header, navContainer, tokens, theme, solvedInks));
|
|
13844
|
+
return `${selector} { ${rules.join(" ")} }`;
|
|
13845
|
+
}
|
|
13846
|
+
/** Paint and publication are decided together, so translucent containers cannot borrow solid inks. */
|
|
13847
|
+
function navContainerSurfaceRules(header, container, tokens, theme, policy) {
|
|
13848
|
+
if (container.type === "glass") {
|
|
13849
|
+
const opacity = resolveFloatingGlassOpacity(header, container.opacity, .15);
|
|
13850
|
+
return [
|
|
13851
|
+
`background-color: ${container.tint ? buildTint(tokens.getColor(container.tint), opacity) : buildRgbWhite(opacity)};`,
|
|
13852
|
+
`backdrop-filter: ${HEADER_BLUR};`,
|
|
13853
|
+
`-webkit-backdrop-filter: ${HEADER_BLUR};`,
|
|
13854
|
+
"border: 1px solid rgba(255, 255, 255, 0.2);",
|
|
13855
|
+
"box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);",
|
|
13856
|
+
...surfaceInkDeclarations({ kind: "reset" })
|
|
13857
|
+
];
|
|
13858
|
+
}
|
|
13859
|
+
const opacity = clampOpacity(container.opacity, .15);
|
|
13860
|
+
const background = container.tint ? buildTint(tokens.getColor(container.tint), opacity) : tokens.getColor("surface");
|
|
13861
|
+
const solid = container.tint ? opacity === 1 ? container.tint : null : "surface";
|
|
13862
|
+
return [
|
|
13863
|
+
`background-color: ${background};`,
|
|
13864
|
+
`border: 1px solid ${tokens.getColor("border")};`,
|
|
13865
|
+
...headerContainerInks(solid, theme, policy)
|
|
13866
|
+
];
|
|
13322
13867
|
}
|
|
13323
13868
|
/**
|
|
13324
13869
|
* Generate floating container styles
|
|
@@ -13333,6 +13878,7 @@ function generateFloatingContainerStyles(header, themeId, tokens, responsiveMode
|
|
|
13333
13878
|
else rules.push(`background-color: ${buildRgbWhite(opacity)};`);
|
|
13334
13879
|
rules.push(`backdrop-filter: ${FLOATING_BLUR};`);
|
|
13335
13880
|
rules.push(`-webkit-backdrop-filter: ${FLOATING_BLUR};`);
|
|
13881
|
+
rules.push(...surfaceInkDeclarations({ kind: "reset" }));
|
|
13336
13882
|
if (container.border) rules.push(`border: 1px solid rgb(255 255 255 / 0.2);`);
|
|
13337
13883
|
rules.push(`border-radius: ${{
|
|
13338
13884
|
none: "0",
|
|
@@ -13448,11 +13994,24 @@ function applyAlpha(color, opacity) {
|
|
|
13448
13994
|
}
|
|
13449
13995
|
return color;
|
|
13450
13996
|
}
|
|
13997
|
+
/** Container glass is deliberately unmeasured; an opaque pill owns its solid paint. */
|
|
13998
|
+
function headerContainerInks(color, theme, policy) {
|
|
13999
|
+
if (color === null) return surfaceInkDeclarations({ kind: "reset" });
|
|
14000
|
+
return surfaceInkDeclarations(surfaceInkPublication(resolveSurfaceForeground({
|
|
14001
|
+
type: "color",
|
|
14002
|
+
color
|
|
14003
|
+
}, expandPalette(theme.palette)), policy));
|
|
14004
|
+
}
|
|
14005
|
+
/** Floating mobile bars paint the header background even when the root overlays the page. */
|
|
14006
|
+
function headerPaintInks(header, theme, policy) {
|
|
14007
|
+
if (headerRootPaint(header) === "contained-nav") return [];
|
|
14008
|
+
return surfaceInkDeclarations(surfaceInkPublication(resolveSurfaceForeground(header.background, expandPalette(theme.palette)), policy));
|
|
14009
|
+
}
|
|
13451
14010
|
//#endregion
|
|
13452
14011
|
//#region ../blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.ts
|
|
13453
14012
|
const sectionSurfaceCache = /* @__PURE__ */ new WeakMap();
|
|
13454
14013
|
function resolveHeaderRootForeground(header, palette, isTransparent) {
|
|
13455
|
-
if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "
|
|
14014
|
+
if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
|
|
13456
14015
|
const background = header?.background;
|
|
13457
14016
|
return resolveSurfaceForeground(background ?? {
|
|
13458
14017
|
type: "color",
|
|
@@ -13468,12 +14027,32 @@ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
|
|
|
13468
14027
|
function resolveSurfaceForegroundStyles(value, context, options) {
|
|
13469
14028
|
const resolved = cachedSectionSurface(value, context, options);
|
|
13470
14029
|
const foreground = resolved.foreground;
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
14030
|
+
const inks = surfaceInkStyle(resolved.inks);
|
|
14031
|
+
switch (foreground.kind) {
|
|
14032
|
+
case "inherits":
|
|
14033
|
+
case "unmeasured-paint": return {
|
|
14034
|
+
...resolved.buttonStyles,
|
|
14035
|
+
...inks
|
|
14036
|
+
};
|
|
14037
|
+
case "known": return {
|
|
14038
|
+
...arrangementSurfaceInk(foreground, context),
|
|
14039
|
+
...resolved.buttonStyles,
|
|
14040
|
+
...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context))),
|
|
14041
|
+
...inks
|
|
14042
|
+
};
|
|
14043
|
+
}
|
|
14044
|
+
}
|
|
14045
|
+
/**
|
|
14046
|
+
* The render's ink policy, set by the runtime its theme tokens came from. A
|
|
14047
|
+
* render that can't vouch for its runtime withholds, so its owned surfaces
|
|
14048
|
+
* reset the inks rather than publish ones solved for tokens that may differ.
|
|
14049
|
+
*/
|
|
14050
|
+
function transformSolvedInks(context) {
|
|
14051
|
+
return context.theme.solvedInks ?? "withhold";
|
|
14052
|
+
}
|
|
14053
|
+
/** Chrome roots publish the same ink decision as sections. */
|
|
14054
|
+
function solvedInkStyle(foreground, context) {
|
|
14055
|
+
return surfaceInkStyle(surfaceInkPublication(foreground, transformSolvedInks(context)));
|
|
13477
14056
|
}
|
|
13478
14057
|
/** The section ground's resolved foreground, for decorations drawn on that ground (maps). */
|
|
13479
14058
|
function resolveSectionSurfaceForeground(value, context, options) {
|
|
@@ -13504,7 +14083,8 @@ function resolveRuntimeSectionSurface(value, context, options) {
|
|
|
13504
14083
|
palette: context.theme.palette,
|
|
13505
14084
|
buttonSystem: context.theme.buttons,
|
|
13506
14085
|
linkHoverToken: context.proseHoverCandidate,
|
|
13507
|
-
compositeBase: options?.fallbackToken
|
|
14086
|
+
compositeBase: options?.fallbackToken,
|
|
14087
|
+
solvedInks: transformSolvedInks(context)
|
|
13508
14088
|
});
|
|
13509
14089
|
}
|
|
13510
14090
|
function arrangementSurfaceInk(foreground, context) {
|
|
@@ -13513,7 +14093,7 @@ function arrangementSurfaceInk(foreground, context) {
|
|
|
13513
14093
|
}
|
|
13514
14094
|
/** Decoration roles already resolved by the surface owner, shared with footer arrangements. */
|
|
13515
14095
|
function surfaceInkStyles(foreground, palette) {
|
|
13516
|
-
if (foreground.kind
|
|
14096
|
+
if (foreground.kind !== "known") return {};
|
|
13517
14097
|
const decorations = surfaceDecorationColors(foreground, palette);
|
|
13518
14098
|
return {
|
|
13519
14099
|
"--rb-surface-muted-color": foreground.roles.muted ?? foreground.roles.text,
|
|
@@ -16201,7 +16781,12 @@ const lookSticker = text({
|
|
|
16201
16781
|
as: "p",
|
|
16202
16782
|
...lookSlot("sticker")
|
|
16203
16783
|
}, when("content._effectiveKnobs.stickerLine.value"), bind("content.stickerLine"));
|
|
16204
|
-
const
|
|
16784
|
+
const heroActionsNote = richText({ className: "hero-actions-note" }, when("content.actionsNote"), bind("content.actionsNote"));
|
|
16785
|
+
const heroContentNodes = [
|
|
16786
|
+
lookCaption,
|
|
16787
|
+
...heroCopyAndCta.layout,
|
|
16788
|
+
heroActionsNote
|
|
16789
|
+
];
|
|
16205
16790
|
function heroContentCard(children, gap, copyAtCard) {
|
|
16206
16791
|
return styledContainer({
|
|
16207
16792
|
bindFrom: "_contentCardStyles",
|
|
@@ -16330,7 +16915,8 @@ const headlineRowLayout = heroLookLayout([
|
|
|
16330
16915
|
el("div", lookSlot("copy"), [
|
|
16331
16916
|
lookCaption,
|
|
16332
16917
|
...heroCopyFragment.layout.slice(2),
|
|
16333
|
-
...heroCtaRowFragment.layout
|
|
16918
|
+
...heroCtaRowFragment.layout,
|
|
16919
|
+
heroActionsNote
|
|
16334
16920
|
]),
|
|
16335
16921
|
lookPhoto
|
|
16336
16922
|
]);
|
|
@@ -16417,6 +17003,17 @@ const heroBlockDefinition = { manifest: createBlockManifest({
|
|
|
16417
17003
|
hidden: true
|
|
16418
17004
|
}
|
|
16419
17005
|
},
|
|
17006
|
+
{
|
|
17007
|
+
id: "actionsNote",
|
|
17008
|
+
type: "richText",
|
|
17009
|
+
label: "Line in place of the buttons",
|
|
17010
|
+
required: false,
|
|
17011
|
+
ui: {
|
|
17012
|
+
intent: "display",
|
|
17013
|
+
hidden: true,
|
|
17014
|
+
richTextVariant: "limited"
|
|
17015
|
+
}
|
|
17016
|
+
},
|
|
16420
17017
|
createImageShapeField({
|
|
16421
17018
|
id: "imageShape",
|
|
16422
17019
|
label: "Image shape",
|
|
@@ -18427,8 +19024,11 @@ function resolveHeaderVisualStyles(header) {
|
|
|
18427
19024
|
return resolveBackgroundVisualStyles(colorToken);
|
|
18428
19025
|
}
|
|
18429
19026
|
function resolvedForegroundStyle(foreground) {
|
|
18430
|
-
|
|
18431
|
-
|
|
19027
|
+
switch (foreground.kind) {
|
|
19028
|
+
case "inherits":
|
|
19029
|
+
case "unmeasured-paint": return;
|
|
19030
|
+
case "known": return surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, rgbColorValue));
|
|
19031
|
+
}
|
|
18432
19032
|
}
|
|
18433
19033
|
function footerBottomBarBorderWidthStyle(width) {
|
|
18434
19034
|
if (!width) return void 0;
|
|
@@ -18498,7 +19098,10 @@ const headerRootStyleTransform = {
|
|
|
18498
19098
|
run: (value, _options, context) => {
|
|
18499
19099
|
const header = asPartialObject(value);
|
|
18500
19100
|
const visuals = resolveHeaderVisualStyles(header);
|
|
18501
|
-
|
|
19101
|
+
const foreground = resolveHeaderRootForeground(header, context.theme.palette, visuals.isTransparent);
|
|
19102
|
+
const foregroundStyle = resolvedForegroundStyle(foreground) ?? (visuals.isTransparent ? surfaceForegroundStyle(transparentHeaderForegroundInput(header, context.theme.palette)) : { color: rgbColorValue(headerLeafTextColor(header)) });
|
|
19103
|
+
const borderColorToken = header?.border?.colorToken ?? "border";
|
|
19104
|
+
return mergeStyles(foregroundStyle, solvedInkStyle(foreground, context), borderColorStyle(borderColorToken));
|
|
18502
19105
|
}
|
|
18503
19106
|
};
|
|
18504
19107
|
const headerSectionBackgroundTransform = {
|
|
@@ -18524,8 +19127,9 @@ const footerRootStyleTransform = {
|
|
|
18524
19127
|
styleParts.push(backgroundColorStyle(token));
|
|
18525
19128
|
}
|
|
18526
19129
|
}
|
|
18527
|
-
|
|
18528
|
-
|
|
19130
|
+
const foreground = resolveFooterRootForeground(footer, context.theme.palette, context.proseHoverCandidate);
|
|
19131
|
+
styleParts.push(resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context));
|
|
19132
|
+
if (footer?.variant === "centred") styleParts.push(surfaceInkStyles(foreground, context.theme.palette));
|
|
18529
19133
|
styleParts.push(borderColorStyle("border"));
|
|
18530
19134
|
return mergeStyles(...styleParts);
|
|
18531
19135
|
}
|
|
@@ -18587,18 +19191,27 @@ const footerBottomBarStyleTransform = {
|
|
|
18587
19191
|
run: (value, _options, context) => {
|
|
18588
19192
|
const footer = asPartialObject(value);
|
|
18589
19193
|
const bottomBar = footer?.bottomBar;
|
|
18590
|
-
return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), footerBottomBarForegroundStyle(footer, context.theme.palette));
|
|
19194
|
+
return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), footerBottomBarForegroundStyle(footer, context.theme.palette), footerBottomBarInkStyle(footer, context));
|
|
18591
19195
|
}
|
|
18592
19196
|
};
|
|
18593
19197
|
function footerBottomBarForegroundStyle(footer, palette) {
|
|
18594
19198
|
if (!footer?.bottomBar) return void 0;
|
|
19199
|
+
const foreground = footerBottomBarSurfaceForeground(footer, palette);
|
|
19200
|
+
return foreground === null ? backgroundlessBottomBarForegroundStyle(footer) : resolvedForegroundStyle(foreground);
|
|
19201
|
+
}
|
|
19202
|
+
/** A bar without its own colour paints nothing, so the footer's inks carry on. */
|
|
19203
|
+
function footerBottomBarInkStyle(footer, context) {
|
|
19204
|
+
const foreground = footer ? footerBottomBarSurfaceForeground(footer, context.theme.palette) : null;
|
|
19205
|
+
return foreground === null ? void 0 : solvedInkStyle(foreground, context);
|
|
19206
|
+
}
|
|
19207
|
+
function footerBottomBarSurfaceForeground(footer, palette) {
|
|
18595
19208
|
const bar = footer.bottomBar;
|
|
18596
|
-
if (bar
|
|
18597
|
-
return
|
|
19209
|
+
if (bar?.background?.type !== "color") return null;
|
|
19210
|
+
return resolveSurfaceForeground(bar.background, palette, {
|
|
18598
19211
|
text: bar.textColor,
|
|
18599
19212
|
link: footer.bottomTextLinkStyle?.colorToken ?? bar.textColor,
|
|
18600
19213
|
linkHover: footer.bottomTextLinkStyle?.hoverColorToken
|
|
18601
|
-
}, { compositeBase: measuredFooterBackdrop(footer, palette) })
|
|
19214
|
+
}, { compositeBase: measuredFooterBackdrop(footer, palette) });
|
|
18602
19215
|
}
|
|
18603
19216
|
function backgroundlessBottomBarForegroundStyle(footer) {
|
|
18604
19217
|
if (footer.background?.contentOwner === "site-chrome-editor") return;
|
|
@@ -18825,6 +19438,11 @@ const contentTransforms = [{
|
|
|
18825
19438
|
summary: "Interpolate allowed tokens inside rich-text text nodes",
|
|
18826
19439
|
schema: interpolateRichTextTokensOptionsSchema,
|
|
18827
19440
|
run: (value, options, context) => interpolateRichTextTokens(value, options, context)
|
|
19441
|
+
}, {
|
|
19442
|
+
id: "teamMember.cardBiographyFallback",
|
|
19443
|
+
kind: "formatter",
|
|
19444
|
+
summary: "A team member's card bio when they have no short bio",
|
|
19445
|
+
run: (value) => teamMemberCardBiographyFallback(value)
|
|
18828
19446
|
}];
|
|
18829
19447
|
//#endregion
|
|
18830
19448
|
//#region ../blocks/src/system/transforms/typed.ts
|
|
@@ -19644,6 +20262,7 @@ const dataLoaders = { ...entriesLoader ? { entries: {
|
|
|
19644
20262
|
} } : {} };
|
|
19645
20263
|
const testimonialsBlockDefinition = {
|
|
19646
20264
|
manifest: createBlockManifest({
|
|
20265
|
+
arrangementOwnedFieldIds: ["maxEntries", "avatarLayout"],
|
|
19647
20266
|
variantMeaning: {
|
|
19648
20267
|
kind: "arrangement",
|
|
19649
20268
|
lookOnlyKeys: [
|
|
@@ -21718,6 +22337,10 @@ const eventDetailsBlockDefinition = {
|
|
|
21718
22337
|
fallback: null
|
|
21719
22338
|
} },
|
|
21720
22339
|
events: { $bind: { from: "data.eventDetailsData.events" } },
|
|
22340
|
+
venueDrawing: { $bind: {
|
|
22341
|
+
from: "data.eventDetailsData.venueDrawing",
|
|
22342
|
+
fallback: null
|
|
22343
|
+
} },
|
|
21721
22344
|
showVenue: { $bind: { from: "content.showVenue" } },
|
|
21722
22345
|
showTitle: { $bind: { from: "content.showTitle" } },
|
|
21723
22346
|
showDescription: { $bind: { from: "content.showDescription" } },
|
|
@@ -21755,6 +22378,7 @@ const eventDetailsBlockDefinition = {
|
|
|
21755
22378
|
dataSchemas: {
|
|
21756
22379
|
eventDetailsData: z.object({
|
|
21757
22380
|
events: publicEventsArraySchema,
|
|
22381
|
+
venueDrawing: eventVenueDrawingSchema.optional().catch(void 0),
|
|
21758
22382
|
sitePasses: publicPassProductCollectionSchema,
|
|
21759
22383
|
siteMemberships: publicMembershipProductCollectionSchema,
|
|
21760
22384
|
autoApplyDiscount: eventAutoApplyDiscountPreviewSchema.nullable().optional().default(null)
|
|
@@ -22300,6 +22924,16 @@ const offeringsPreviewFields = [
|
|
|
22300
22924
|
schema: { fields: groupOverrideFields }
|
|
22301
22925
|
},
|
|
22302
22926
|
createButtonVariantField(),
|
|
22927
|
+
{
|
|
22928
|
+
id: "oneOffering",
|
|
22929
|
+
type: "boolean",
|
|
22930
|
+
label: "Show one offering with its dates",
|
|
22931
|
+
required: false,
|
|
22932
|
+
ui: {
|
|
22933
|
+
intent: "display",
|
|
22934
|
+
hidden: true
|
|
22935
|
+
}
|
|
22936
|
+
},
|
|
22303
22937
|
{
|
|
22304
22938
|
id: "buttonText",
|
|
22305
22939
|
type: "text",
|
|
@@ -22401,6 +23035,10 @@ const offeringsPreviewLayout = [styledSection({
|
|
|
22401
23035
|
carouselRegion: { $bind: { from: "content.heading" } },
|
|
22402
23036
|
renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
|
|
22403
23037
|
displayMode: { $bind: displayModeBinding },
|
|
23038
|
+
oneOffering: { $bind: {
|
|
23039
|
+
from: "content.oneOffering",
|
|
23040
|
+
fallback: false
|
|
23041
|
+
} },
|
|
22404
23042
|
pathname: { $bind: { from: "$root.pathname" } },
|
|
22405
23043
|
catalogueEvents: { $bind: { from: "data.catalogueEvents" } },
|
|
22406
23044
|
quickDateEvents: { $bind: { from: "data.quickDateEvents" } },
|
|
@@ -22442,6 +23080,7 @@ const offeringsPreviewLayout = [styledSection({
|
|
|
22442
23080
|
spacing: "comfortable"
|
|
22443
23081
|
})];
|
|
22444
23082
|
const offeringsPreviewManifest = createBlockManifest({
|
|
23083
|
+
arrangementOwnedFieldIds: ["groupOverrides.presentation"],
|
|
22445
23084
|
variantMeaning: {
|
|
22446
23085
|
kind: "arrangement",
|
|
22447
23086
|
lookOnlyKeys: [
|
|
@@ -22497,6 +23136,7 @@ const offeringsPreviewBlockDefinition = {
|
|
|
22497
23136
|
contentNormalizer: {
|
|
22498
23137
|
fieldIds: [
|
|
22499
23138
|
"displayMode",
|
|
23139
|
+
"oneOffering",
|
|
22500
23140
|
"heading",
|
|
22501
23141
|
"description",
|
|
22502
23142
|
"itemLimit",
|
|
@@ -22598,6 +23238,7 @@ function normalizeOfferingsPreviewBlockContent(value) {
|
|
|
22598
23238
|
if (!record) return { displayMode: DEFAULT_OFFERINGS_PREVIEW_DISPLAY_MODE };
|
|
22599
23239
|
const normalized = {
|
|
22600
23240
|
displayMode: normalizeOfferingsPreviewDisplayMode(record.displayMode),
|
|
23241
|
+
...oneOfferingContent(record.oneOffering),
|
|
22601
23242
|
...normalizeCardListContent(record)
|
|
22602
23243
|
};
|
|
22603
23244
|
if (typeof record.heading === "string" || record.heading === null) normalized.heading = record.heading;
|
|
@@ -22616,6 +23257,9 @@ function normalizeOfferingsPreviewBlockContent(value) {
|
|
|
22616
23257
|
if (sectionStyles !== void 0) normalized._sectionStyles = sectionStyles;
|
|
22617
23258
|
return normalized;
|
|
22618
23259
|
}
|
|
23260
|
+
function oneOfferingContent(value) {
|
|
23261
|
+
return typeof value === "boolean" || value === null ? { oneOffering: value } : {};
|
|
23262
|
+
}
|
|
22619
23263
|
function normalizeOfferingsPreviewDisplayMode(value) {
|
|
22620
23264
|
return value === "catalogue" ? "catalogue" : DEFAULT_OFFERINGS_PREVIEW_DISPLAY_MODE;
|
|
22621
23265
|
}
|
|
@@ -24270,6 +24914,18 @@ const wrapVariant = (variantLayout) => styledSection({
|
|
|
24270
24914
|
baseClass: "",
|
|
24271
24915
|
spacing: "comfortable"
|
|
24272
24916
|
});
|
|
24917
|
+
const cardBiographyFallbackNode = richText({ className: "rb-prose rb-max-w-none" }, when("content.cardBiography", { equals: "any" }), bind(ITEM_NAME, { transforms: [{ id: "teamMember.cardBiographyFallback" }] }));
|
|
24918
|
+
const teamMemberGridLayout = withCardBiographyFallback(teamMemberFragment.layout);
|
|
24919
|
+
function withCardBiographyFallback(layout) {
|
|
24920
|
+
const roots = Array.isArray(layout) ? layout : [layout];
|
|
24921
|
+
const [card] = roots;
|
|
24922
|
+
if (!card || roots.length !== 1) throw new Error("teamMember fragment must have one root node");
|
|
24923
|
+
const children = card.children ?? [];
|
|
24924
|
+
return {
|
|
24925
|
+
...card,
|
|
24926
|
+
children: [...children, cardBiographyFallbackNode]
|
|
24927
|
+
};
|
|
24928
|
+
}
|
|
24273
24929
|
const teamMemberStackLayout = el("div", { className: "rb-team-member rb-team-member--stack rb-flex rb-flex-col rb-md-flex-row rb-items-start rb-gap-3" }, [el("div", { className: "rb-team-member-photo-col rb-w-full rb-shrink-0" }, [el("div", { className: memberPhotoClassName("rb-team-member-photo-wrap rb-w-full") }, [media({
|
|
24274
24930
|
className: "rb-team-member-photo rb-w-full rb-object-cover",
|
|
24275
24931
|
style: { aspectRatio: "1 / 1" },
|
|
@@ -24292,12 +24948,42 @@ const teamMemberStackLayout = el("div", { className: "rb-team-member rb-team-mem
|
|
|
24292
24948
|
as: "p",
|
|
24293
24949
|
className: "rb-team-member-role"
|
|
24294
24950
|
}, when("role"), bind("role")),
|
|
24295
|
-
richText({ className: "rb-prose rb-max-w-none" }, when("bio"), bind("bio"))
|
|
24951
|
+
richText({ className: "rb-prose rb-max-w-none" }, when("bio"), bind("bio")),
|
|
24952
|
+
cardBiographyFallbackNode
|
|
24296
24953
|
])]);
|
|
24954
|
+
const onePersonAboutWhen = { equals: "about" };
|
|
24955
|
+
const notOnePersonAboutWhen = {
|
|
24956
|
+
equals: "about",
|
|
24957
|
+
not: true
|
|
24958
|
+
};
|
|
24959
|
+
const aboutVariant = styledSection({
|
|
24960
|
+
children: sectionContainer([el("div", {
|
|
24961
|
+
className: "rb-team-layout",
|
|
24962
|
+
"data-one-person": "about"
|
|
24963
|
+
}, [el("div", { className: "rb-team-head" }, [headingNode], when("content.heading")), el("team-members", {
|
|
24964
|
+
onePerson: { $bind: { from: "content.onePerson" } },
|
|
24965
|
+
source: { $bind: {
|
|
24966
|
+
from: "content.source",
|
|
24967
|
+
fallback: "manual"
|
|
24968
|
+
} },
|
|
24969
|
+
members: { $bind: {
|
|
24970
|
+
from: "content.members",
|
|
24971
|
+
fallback: []
|
|
24972
|
+
} },
|
|
24973
|
+
siteMembers: { $bind: {
|
|
24974
|
+
from: "data.members",
|
|
24975
|
+
fallback: []
|
|
24976
|
+
} },
|
|
24977
|
+
sectionHeading: { $bind: { from: "content.heading" } }
|
|
24978
|
+
})])], { gap: "md" }),
|
|
24979
|
+
baseClass: "",
|
|
24980
|
+
spacing: "comfortable"
|
|
24981
|
+
});
|
|
24297
24982
|
const manualGridMembersNode = when("content.source", manualSourceWhen)(repeaterFragmentLayout({
|
|
24298
24983
|
collectionPath: "content.members",
|
|
24299
24984
|
itemName: ITEM_NAME,
|
|
24300
24985
|
fragments: { teamMember: teamMemberFragment },
|
|
24986
|
+
layoutOverrides: { teamMember: teamMemberGridLayout },
|
|
24301
24987
|
itemGap: "sm",
|
|
24302
24988
|
itemClassName: memberCardClassName
|
|
24303
24989
|
}));
|
|
@@ -24305,6 +24991,7 @@ const dynamicGridMembersNode = when("content.source", dynamicSourceWhen)(repeate
|
|
|
24305
24991
|
collectionPath: "data.members",
|
|
24306
24992
|
itemName: ITEM_NAME,
|
|
24307
24993
|
fragments: { teamMember: teamMemberFragment },
|
|
24994
|
+
layoutOverrides: { teamMember: teamMemberGridLayout },
|
|
24308
24995
|
itemGap: "sm",
|
|
24309
24996
|
itemClassName: memberCardClassName
|
|
24310
24997
|
}));
|
|
@@ -24338,14 +25025,23 @@ const stackVariant = wrapVariant({
|
|
|
24338
25025
|
}))]
|
|
24339
25026
|
});
|
|
24340
25027
|
const cardListVariant = styledSection({
|
|
24341
|
-
children: sectionContainer([el("div", {
|
|
24342
|
-
|
|
25028
|
+
children: sectionContainer([el("div", {
|
|
25029
|
+
className: "rb-team-layout",
|
|
25030
|
+
...lookSlot("layout"),
|
|
25031
|
+
"data-one-person": { $bind: { from: "content.onePerson" } }
|
|
25032
|
+
}, [
|
|
25033
|
+
el("div", {
|
|
25034
|
+
className: "rb-team-head",
|
|
25035
|
+
...lookSlot("head")
|
|
25036
|
+
}, [text({
|
|
24343
25037
|
as: "h2",
|
|
24344
25038
|
...lookSlot("heading")
|
|
24345
25039
|
}, bind("content.heading"), when("content.heading"))], when("content.heading")),
|
|
24346
25040
|
el("team-members", {
|
|
24347
25041
|
...cardListPresentationBindings,
|
|
24348
25042
|
biographySource: { $bind: { from: "content._effectiveLook.look.structure.teamBiography" } },
|
|
25043
|
+
onePerson: { $bind: { from: "content.onePerson" } },
|
|
25044
|
+
cardBiography: { $bind: { from: "content.cardBiography" } },
|
|
24349
25045
|
source: { $bind: {
|
|
24350
25046
|
from: "content.source",
|
|
24351
25047
|
fallback: "manual"
|
|
@@ -24420,6 +25116,37 @@ const teamMembersBlockDefinition = {
|
|
|
24420
25116
|
}],
|
|
24421
25117
|
ui: { intent: "behavior" }
|
|
24422
25118
|
}),
|
|
25119
|
+
parseFieldDefinition({
|
|
25120
|
+
id: "onePerson",
|
|
25121
|
+
type: "select",
|
|
25122
|
+
label: "One person",
|
|
25123
|
+
required: false,
|
|
25124
|
+
options: [{
|
|
25125
|
+
value: "about",
|
|
25126
|
+
label: "The section is about them, with their bio"
|
|
25127
|
+
}, {
|
|
25128
|
+
value: "portrait",
|
|
25129
|
+
label: "One small portrait"
|
|
25130
|
+
}],
|
|
25131
|
+
ui: {
|
|
25132
|
+
intent: "display",
|
|
25133
|
+
hidden: true
|
|
25134
|
+
}
|
|
25135
|
+
}),
|
|
25136
|
+
parseFieldDefinition({
|
|
25137
|
+
id: "cardBiography",
|
|
25138
|
+
type: "select",
|
|
25139
|
+
label: "Card bio",
|
|
25140
|
+
required: false,
|
|
25141
|
+
options: [{
|
|
25142
|
+
value: "any",
|
|
25143
|
+
label: "Whichever bio the person has"
|
|
25144
|
+
}],
|
|
25145
|
+
ui: {
|
|
25146
|
+
intent: "display",
|
|
25147
|
+
hidden: true
|
|
25148
|
+
}
|
|
25149
|
+
}),
|
|
24423
25150
|
parseFieldDefinition({
|
|
24424
25151
|
id: "layoutAlign",
|
|
24425
25152
|
type: "select",
|
|
@@ -24565,10 +25292,19 @@ const teamMembersBlockDefinition = {
|
|
|
24565
25292
|
],
|
|
24566
25293
|
layout: gridVariant,
|
|
24567
25294
|
variants: {
|
|
24568
|
-
grid: gridVariant,
|
|
25295
|
+
grid: [when("content.onePerson", notOnePersonAboutWhen)(gridVariant), when("content.onePerson", onePersonAboutWhen)(aboutVariant)],
|
|
24569
25296
|
stack: [when("content._effectiveLook", { not: true })(stackVariant), when("content._effectiveLook")(cardListVariant)],
|
|
24570
25297
|
...Object.fromEntries(arrangementOnlyKeys.map((key) => [key, cardListVariant]))
|
|
24571
25298
|
},
|
|
25299
|
+
arrangementOwnedFieldIds: [
|
|
25300
|
+
"layoutWidth",
|
|
25301
|
+
"thumbnailShape",
|
|
25302
|
+
"thumbnailPadding",
|
|
25303
|
+
"imageColSize",
|
|
25304
|
+
"stackImagePosition",
|
|
25305
|
+
"stackContentAlignment",
|
|
25306
|
+
"gap"
|
|
25307
|
+
],
|
|
24572
25308
|
variantMeaning: {
|
|
24573
25309
|
kind: "arrangement",
|
|
24574
25310
|
lookOnlyKeys: [...arrangementOnlyKeys]
|
|
@@ -25895,7 +26631,7 @@ function toEditorPresentationPage(page) {
|
|
|
25895
26631
|
*/
|
|
25896
26632
|
function resolveArrangementKnobs(input) {
|
|
25897
26633
|
const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
|
|
25898
|
-
const exposure = arrangementKnobExposure(input.blockKind, input.look, length);
|
|
26634
|
+
const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
|
|
25899
26635
|
return {
|
|
25900
26636
|
length,
|
|
25901
26637
|
exposure,
|
|
@@ -25905,14 +26641,16 @@ function resolveArrangementKnobs(input) {
|
|
|
25905
26641
|
})
|
|
25906
26642
|
};
|
|
25907
26643
|
}
|
|
25908
|
-
function arrangementKnobExposure(blockKind, look, length) {
|
|
26644
|
+
function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
|
|
25909
26645
|
return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
|
|
25910
26646
|
if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
|
|
25911
26647
|
const id = facet.target.field;
|
|
26648
|
+
const defaults = look.look.structure.knobDefaults ?? {};
|
|
26649
|
+
const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
|
|
25912
26650
|
return [{
|
|
25913
26651
|
definition: {
|
|
25914
26652
|
id,
|
|
25915
|
-
defaultValue:
|
|
26653
|
+
defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
|
|
25916
26654
|
values: facet.values.map((value) => value.value),
|
|
25917
26655
|
...knobKindMetadata(facet.knob)
|
|
25918
26656
|
},
|
|
@@ -25924,6 +26662,19 @@ function arrangementKnobExposure(blockKind, look, length) {
|
|
|
25924
26662
|
}];
|
|
25925
26663
|
});
|
|
25926
26664
|
}
|
|
26665
|
+
/**
|
|
26666
|
+
* A hero stored as "Split, photo on the left" or "Split, photo on the right"
|
|
26667
|
+
* already says which side its photo is on. Under a Look that side is the Photo
|
|
26668
|
+
* side default, so the photo stays where it was until the owner picks a side.
|
|
26669
|
+
*/
|
|
26670
|
+
function storedSplitPhotoSide(blockKind, content) {
|
|
26671
|
+
if (blockKind !== "block.hero") return null;
|
|
26672
|
+
switch (content.variant) {
|
|
26673
|
+
case "split": return "left";
|
|
26674
|
+
case "splitReverse": return "right";
|
|
26675
|
+
default: return null;
|
|
26676
|
+
}
|
|
26677
|
+
}
|
|
25927
26678
|
function knobKindMetadata(knob) {
|
|
25928
26679
|
return knob.kind === "fixed" ? { ordered: knob.ordered } : {
|
|
25929
26680
|
ordered: false,
|
|
@@ -26131,7 +26882,10 @@ const systemCustomizeFacetDefinitions = [
|
|
|
26131
26882
|
], "icons"),
|
|
26132
26883
|
blockKinds: cardListFamilyBlocks
|
|
26133
26884
|
},
|
|
26134
|
-
|
|
26885
|
+
{
|
|
26886
|
+
...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
|
|
26887
|
+
description: "Show how many places are left on each event"
|
|
26888
|
+
}
|
|
26135
26889
|
];
|
|
26136
26890
|
systemCustomizeFacetDefinitions.map((definition) => definition.id);
|
|
26137
26891
|
Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
|
|
@@ -28904,6 +29658,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
|
|
|
28904
29658
|
});
|
|
28905
29659
|
return {
|
|
28906
29660
|
...activeContent,
|
|
29661
|
+
...mode !== null ? { variant: mode } : {},
|
|
28907
29662
|
...effectiveContent,
|
|
28908
29663
|
...photoContent,
|
|
28909
29664
|
...arrangementShapeContent(effective.look.id, {
|
|
@@ -29015,6 +29770,7 @@ function applyArrangementRhythm(entry, position) {
|
|
|
29015
29770
|
const tinted = resolveArrangementTints(updated, grounded, runtime, surface) ?? grounded;
|
|
29016
29771
|
return {
|
|
29017
29772
|
...entry,
|
|
29773
|
+
styleBackground: arrangementGroundToken(resolveSectionBackground({ kind: "none" }, null, rhythm)),
|
|
29018
29774
|
renderableContent: {
|
|
29019
29775
|
...updated,
|
|
29020
29776
|
_effectiveLook: tinted,
|
|
@@ -30147,6 +30903,11 @@ const opaquePanels = [
|
|
|
30147
30903
|
token: "surface"
|
|
30148
30904
|
}
|
|
30149
30905
|
},
|
|
30906
|
+
{
|
|
30907
|
+
selector: ":where([data-block='event-registration'].event-registration--embedded) .er-container",
|
|
30908
|
+
contract: "inks-only",
|
|
30909
|
+
paint: { kind: "transparent" }
|
|
30910
|
+
},
|
|
30150
30911
|
{
|
|
30151
30912
|
selector: ":where([data-block='event-registration']) .er-booking-card",
|
|
30152
30913
|
paint: {
|
|
@@ -30286,7 +31047,7 @@ function generateOpaquePanelCss(input) {
|
|
|
30286
31047
|
const declarations = opaqueSurfaceDeclarations(resolveSurface({
|
|
30287
31048
|
kind: "paint",
|
|
30288
31049
|
paint: panel.paint
|
|
30289
|
-
}, input.surface));
|
|
31050
|
+
}, input.surface)).filter((declaration) => !("contract" in panel) || Object.values(SURFACE_INK_CSS_VARS).some((variable) => declaration.startsWith(`${variable}:`)));
|
|
30290
31051
|
return `:where([data-theme-scope="${input.themeId}"]) ${panel.selector} {\n ${renderCssDeclarations(declarations)}\n}`;
|
|
30291
31052
|
}).join("\n\n");
|
|
30292
31053
|
}
|
|
@@ -30334,7 +31095,7 @@ const FAQ_QUESTION_COLUMNS_TRIGGER_MIN_HEIGHT = "5rem";
|
|
|
30334
31095
|
* - .accordion-content: Answer/content text styling
|
|
30335
31096
|
* - .accordion-icon: Icon sizing and transitions
|
|
30336
31097
|
*/
|
|
30337
|
-
function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
31098
|
+
function generateAccordionCss({ themeId, theme, accordionSystem, solvedInks }) {
|
|
30338
31099
|
const rootSelector = `:where([data-theme-scope="${themeId}"]) .accordion-root`;
|
|
30339
31100
|
const itemSelector = `${rootSelector} .accordion-item`;
|
|
30340
31101
|
const triggerSelector = `${itemSelector} .accordion-trigger`;
|
|
@@ -30345,7 +31106,7 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
30345
31106
|
const questionColumnsItemSelector = `${rootSelector}.rb-faq-question-columns .accordion-item`;
|
|
30346
31107
|
const questionColumnsLastItemSelector = `${questionColumnsItemSelector}:last-child`;
|
|
30347
31108
|
const questionColumnsTriggerSelector = `${questionColumnsItemSelector} .accordion-trigger`;
|
|
30348
|
-
const rootRules = accordionSurfaceRules(theme, accordionSystem);
|
|
31109
|
+
const rootRules = accordionSurfaceRules(theme, accordionSystem, solvedInks);
|
|
30349
31110
|
const borderRadius = CORNER_MAP$2[accordionSystem.corners ?? theme.corners];
|
|
30350
31111
|
rootRules.push(`border-radius: ${borderRadius}`);
|
|
30351
31112
|
if (accordionSystem.border) {
|
|
@@ -30401,7 +31162,10 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
30401
31162
|
triggerRules.push(`transition: ${transitionProps.join(", ")}`);
|
|
30402
31163
|
const triggerHoverSelector = `${triggerSelector}:hover`;
|
|
30403
31164
|
const triggerHoverRules = [];
|
|
30404
|
-
if (accordionSystem.hover.backgroundColorToken)
|
|
31165
|
+
if (accordionSystem.hover.backgroundColorToken) {
|
|
31166
|
+
triggerHoverRules.push(`background-color: ${rgbColorValue(accordionSystem.hover.backgroundColorToken)}`);
|
|
31167
|
+
triggerHoverRules.push(...accordionPaintInks(theme, accordionSystem.hover.backgroundColorToken, solvedInks));
|
|
31168
|
+
}
|
|
30405
31169
|
if (accordionSystem.hover.textColorToken) triggerHoverRules.push(`color: ${rgbColorValue(accordionSystem.hover.textColorToken)}`);
|
|
30406
31170
|
if (accordionSystem.hover.borderColorToken) triggerHoverRules.push(`border-color: ${rgbColorValue(accordionSystem.hover.borderColorToken)}`);
|
|
30407
31171
|
const triggerFocusSelector = `${triggerSelector}:focus-visible`;
|
|
@@ -30413,7 +31177,10 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
30413
31177
|
const openItemRules = [];
|
|
30414
31178
|
const openTriggerRules = [];
|
|
30415
31179
|
const openState = accordionSystem.openState;
|
|
30416
|
-
if (openState?.backgroundColorToken)
|
|
31180
|
+
if (openState?.backgroundColorToken) {
|
|
31181
|
+
openItemRules.push(`background-color: ${rgbColorValue(openState.backgroundColorToken)}`);
|
|
31182
|
+
openItemRules.push(...accordionPaintInks(theme, openState.backgroundColorToken, solvedInks));
|
|
31183
|
+
}
|
|
30417
31184
|
if (openState?.accent) {
|
|
30418
31185
|
const thickness = ACCORDION_OPEN_ACCENT_THICKNESS[openState.accent.thickness];
|
|
30419
31186
|
const accentColor = rgbColorValue(openState.accent.colorToken);
|
|
@@ -30485,7 +31252,7 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
30485
31252
|
if (iconRotateBlock.length > 0) cssBlocks.push(...iconRotateBlock);
|
|
30486
31253
|
return cssBlocks.join("\n\n");
|
|
30487
31254
|
}
|
|
30488
|
-
function accordionSurfaceRules(theme, system) {
|
|
31255
|
+
function accordionSurfaceRules(theme, system, solvedInks) {
|
|
30489
31256
|
if (!system.background) return [];
|
|
30490
31257
|
const foreground = resolveSurfaceForeground({
|
|
30491
31258
|
type: "color",
|
|
@@ -30493,7 +31260,19 @@ function accordionSurfaceRules(theme, system) {
|
|
|
30493
31260
|
textColor: system.content.textColorToken,
|
|
30494
31261
|
headingColor: system.trigger.textColorToken
|
|
30495
31262
|
}, expandPalette(theme.palette), { linkHover: theme.typography.proseLinkStyle?.hoverColorToken });
|
|
30496
|
-
return [
|
|
31263
|
+
return [
|
|
31264
|
+
`background-color: ${rgbColorValue(system.background.colorToken)}`,
|
|
31265
|
+
...surfaceForegroundDeclarations(foreground.kind === "known" ? surfaceForegroundInputFromResolved(foreground, rgbColorValue) : { text: rgbColorValue(system.content.textColorToken) }),
|
|
31266
|
+
...surfaceInkDeclarations(surfaceInkPublication(foreground, solvedInks ?? "withhold"))
|
|
31267
|
+
];
|
|
31268
|
+
}
|
|
31269
|
+
function accordionPaintInks(theme, color, policy) {
|
|
31270
|
+
const palette = expandPalette(theme.palette);
|
|
31271
|
+
if (!resolveConcreteColorHex(color, palette)) return surfaceInkDeclarations({ kind: "reset" }).map((rule) => rule.replace(/;$/, ""));
|
|
31272
|
+
return surfaceInkDeclarations(surfaceInkPublication(resolveSurfaceForeground({
|
|
31273
|
+
type: "color",
|
|
31274
|
+
color
|
|
31275
|
+
}, palette), policy ?? "withhold")).map((rule) => rule.replace(/;$/, ""));
|
|
30497
31276
|
}
|
|
30498
31277
|
//#endregion
|
|
30499
31278
|
//#region ../theme-core/src/inputs/checkable.ts
|
|
@@ -31335,11 +32114,7 @@ ${root} .alert-success {
|
|
|
31335
32114
|
color: rgb(var(--tb-success));
|
|
31336
32115
|
}
|
|
31337
32116
|
|
|
31338
|
-
${root}
|
|
31339
|
-
border-color: rgb(var(--tb-warning));
|
|
31340
|
-
background-color: rgb(var(--tb-warning) / 0.1);
|
|
31341
|
-
color: ${noticeTextColor("warning", palette)};
|
|
31342
|
-
}
|
|
32117
|
+
${warningAlertCss(root, palette)}
|
|
31343
32118
|
|
|
31344
32119
|
${root} .alert-info {
|
|
31345
32120
|
border-color: rgb(var(--tb-info));
|
|
@@ -31425,6 +32200,16 @@ function noticeTextColor(status, palette) {
|
|
|
31425
32200
|
const text = parseThemeColorToken("text");
|
|
31426
32201
|
return ground && text ? rgbColorValue(safeTokenOr(status, text, ground, palette)) : `rgb(var(--tb-${status}))`;
|
|
31427
32202
|
}
|
|
32203
|
+
/** The warning tint owns an unmeasured paint, so descendants retain their authored inks. */
|
|
32204
|
+
function warningAlertCss(root, palette) {
|
|
32205
|
+
const inks = surfaceInkDeclarations({ kind: "reset" }).join("\n ");
|
|
32206
|
+
return `${root} .alert-warning {
|
|
32207
|
+
border-color: rgb(var(--tb-warning));
|
|
32208
|
+
background-color: rgb(var(--tb-warning) / 0.1);
|
|
32209
|
+
color: ${noticeTextColor("warning", palette)};
|
|
32210
|
+
${inks}
|
|
32211
|
+
}`;
|
|
32212
|
+
}
|
|
31428
32213
|
//#endregion
|
|
31429
32214
|
//#region ../theme-core/src/progress/generateProgressCss.ts
|
|
31430
32215
|
/**
|
|
@@ -31676,9 +32461,16 @@ function generateEventCalendarCss(_params) {
|
|
|
31676
32461
|
* - Checkmark indicator colors
|
|
31677
32462
|
* - Order summary styling
|
|
31678
32463
|
*/
|
|
31679
|
-
function generateEventRegistrationVars({ themeId }) {
|
|
32464
|
+
function generateEventRegistrationVars({ themeId, surface, embeddedRegistrationPaint }) {
|
|
32465
|
+
const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="event-registration"])`;
|
|
31680
32466
|
return `
|
|
31681
|
-
${
|
|
32467
|
+
${root} {${registrationSurfaceVars}
|
|
32468
|
+
}
|
|
32469
|
+
${includedSummaryInkCss(root, surface, embeddedRegistrationPaint)}
|
|
32470
|
+
`;
|
|
32471
|
+
}
|
|
32472
|
+
/** Static control roles are data; only the authored summary ink needs solving. */
|
|
32473
|
+
const registrationSurfaceVars = `
|
|
31682
32474
|
/* Event selection cards should remain surfaced form controls even when the
|
|
31683
32475
|
theme defines a more opinionated shared tile treatment elsewhere. */
|
|
31684
32476
|
--er-event-card-bg: rgb(var(--tb-surface));
|
|
@@ -31756,9 +32548,31 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="event-registratio
|
|
|
31756
32548
|
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
31757
32549
|
--rb-reg-summary-border: var(--er-border);
|
|
31758
32550
|
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
31759
|
-
--rb-reg-shell-line: var(--er-shell-line)
|
|
32551
|
+
--rb-reg-shell-line: var(--er-shell-line);`;
|
|
32552
|
+
/** Ordinary/overlay panels own surface; transparent embedded forms use the default card. */
|
|
32553
|
+
function includedSummaryInkCss(root, surface, embeddedPaint) {
|
|
32554
|
+
if (surface?.solvedInks !== "publish") return "";
|
|
32555
|
+
return `${root}:not(.event-registration--embedded) .er-summary-bar-included,
|
|
32556
|
+
${root} .er-container--overlay .er-summary-bar-included {
|
|
32557
|
+
${summaryInkDeclarations({
|
|
32558
|
+
kind: "solid",
|
|
32559
|
+
token: "surface"
|
|
32560
|
+
}, surface)}
|
|
32561
|
+
}
|
|
32562
|
+
${root}.event-registration--embedded .er-container:not(.er-container--overlay) .er-summary-bar-included {
|
|
32563
|
+
${summaryInkDeclarations(embeddedPaint, surface)}
|
|
32564
|
+
}`;
|
|
31760
32565
|
}
|
|
31761
|
-
|
|
32566
|
+
function summaryInkDeclarations(paint, surface) {
|
|
32567
|
+
const foreground = paint?.kind === "solid" ? resolveSurfaceForeground({
|
|
32568
|
+
type: "color",
|
|
32569
|
+
color: paint.token,
|
|
32570
|
+
textColor: paint.foregroundToken
|
|
32571
|
+
}, surface.palette) : { kind: "unmeasured-paint" };
|
|
32572
|
+
return surfaceInkDeclarations(foreground.kind === "known" && foreground.provenance.kind === "measured" ? {
|
|
32573
|
+
kind: "solved",
|
|
32574
|
+
inks: solveSurfaceInks(foreground.provenance.backdropHex, foreground.roles.text, surface.palette, { brand: "primary-600" })
|
|
32575
|
+
} : { kind: "reset" }).filter((declaration) => declaration.startsWith("--rb-surface-brand-color:")).join("\n");
|
|
31762
32576
|
}
|
|
31763
32577
|
//#endregion
|
|
31764
32578
|
//#region ../theme-core/src/blocks/vars/event-card-vars.ts
|
|
@@ -31997,9 +32811,20 @@ const THEME_RADIUS_CSS_VARS = {
|
|
|
31997
32811
|
*
|
|
31998
32812
|
* Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
|
|
31999
32813
|
*/
|
|
32000
|
-
function generateCustomerPortalVars({ themeId }) {
|
|
32814
|
+
function generateCustomerPortalVars({ themeId, surface }) {
|
|
32815
|
+
const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
|
|
32001
32816
|
return `
|
|
32002
|
-
${
|
|
32817
|
+
${root} {${customerPortalVars}
|
|
32818
|
+
}
|
|
32819
|
+
${root} .cp-login {
|
|
32820
|
+
${surfaceInkDeclarations(surfaceInkPublication(surface ? resolveSurfaceForeground({
|
|
32821
|
+
type: "color",
|
|
32822
|
+
color: "surface"
|
|
32823
|
+
}, surface.palette) : { kind: "unmeasured-paint" }, surface?.solvedInks ?? "withhold")).join("\n ")}
|
|
32824
|
+
}
|
|
32825
|
+
`;
|
|
32826
|
+
}
|
|
32827
|
+
const customerPortalVars = `
|
|
32003
32828
|
/* Container */
|
|
32004
32829
|
--cp-bg: rgb(var(--tb-surface));
|
|
32005
32830
|
--cp-text: rgb(var(--tb-text));
|
|
@@ -32073,10 +32898,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"]
|
|
|
32073
32898
|
--cp-header-border: rgb(var(--tb-border));
|
|
32074
32899
|
|
|
32075
32900
|
/* Section */
|
|
32076
|
-
--cp-section-bg: transparent
|
|
32077
|
-
}
|
|
32078
|
-
`;
|
|
32079
|
-
}
|
|
32901
|
+
--cp-section-bg: transparent;`;
|
|
32080
32902
|
//#endregion
|
|
32081
32903
|
//#region ../theme-core/src/blocks/vars/testimonials.ts
|
|
32082
32904
|
const QUOTE_SCALE_SIZE = {
|
|
@@ -32430,6 +33252,7 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32430
33252
|
const cssVars = buildThemeCssVars(hydrated);
|
|
32431
33253
|
const themeId = options?.themeId ?? "theme-default";
|
|
32432
33254
|
const responsiveMode = options?.responsiveMode ?? "viewport";
|
|
33255
|
+
const solvedInks = "publish";
|
|
32433
33256
|
const buttonOptions = {
|
|
32434
33257
|
themeId,
|
|
32435
33258
|
theme,
|
|
@@ -32439,7 +33262,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32439
33262
|
const headerCss = generateHeaderCss({
|
|
32440
33263
|
themeId,
|
|
32441
33264
|
theme,
|
|
32442
|
-
responsiveMode
|
|
33265
|
+
responsiveMode,
|
|
33266
|
+
solvedInks
|
|
32443
33267
|
});
|
|
32444
33268
|
const footerCss = generateFooterCss({
|
|
32445
33269
|
themeId,
|
|
@@ -32448,7 +33272,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32448
33272
|
const cardCss = [generateCardCss({
|
|
32449
33273
|
themeId,
|
|
32450
33274
|
theme,
|
|
32451
|
-
cardSystem: theme.cards
|
|
33275
|
+
cardSystem: theme.cards,
|
|
33276
|
+
solvedInks
|
|
32452
33277
|
}), generateOpaquePanelCss({
|
|
32453
33278
|
themeId,
|
|
32454
33279
|
surface: opaqueSurfaceContextFromTheme(theme)
|
|
@@ -32456,7 +33281,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32456
33281
|
const accordionCss = generateAccordionCss({
|
|
32457
33282
|
themeId,
|
|
32458
33283
|
theme,
|
|
32459
|
-
accordionSystem: theme.accordions ?? generateDefaultAccordionSystem(theme)
|
|
33284
|
+
accordionSystem: theme.accordions ?? generateDefaultAccordionSystem(theme),
|
|
33285
|
+
solvedInks
|
|
32460
33286
|
});
|
|
32461
33287
|
const inputCss = generateInputCss({
|
|
32462
33288
|
themeId,
|
|
@@ -32484,10 +33310,7 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32484
33310
|
themeId,
|
|
32485
33311
|
theme
|
|
32486
33312
|
});
|
|
32487
|
-
const blockVarsCss = [
|
|
32488
|
-
theme,
|
|
32489
|
-
themeId
|
|
32490
|
-
}), generateBlockOverrideCss(themeId, theme)].filter(Boolean).join("\n");
|
|
33313
|
+
const blockVarsCss = [generateThemeBlockVarsCss(theme, themeId), generateBlockOverrideCss(themeId, theme)].filter(Boolean).join("\n");
|
|
32491
33314
|
const blockCustomVarsCss = generateBlockCustomVarsCss(themeId, theme.blockCustomVars);
|
|
32492
33315
|
const atRulesCss = theme.customCssAtRules ? compileCustomCssAtRules(theme.customCssAtRules, themeId, { responsiveMode }) : void 0;
|
|
32493
33316
|
const customCss = theme.customCssRules ? compileCustomCssRules(parseCustomCssRules(theme.customCssRules), themeId) : void 0;
|
|
@@ -32495,7 +33318,10 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
32495
33318
|
return {
|
|
32496
33319
|
hydrated,
|
|
32497
33320
|
cssVars,
|
|
32498
|
-
tokens:
|
|
33321
|
+
tokens: {
|
|
33322
|
+
...buildThemeTokens(hydrated.palette),
|
|
33323
|
+
solvedInks
|
|
33324
|
+
},
|
|
32499
33325
|
paletteTokens: hydrated.palette,
|
|
32500
33326
|
buttonCss,
|
|
32501
33327
|
headerCss,
|
|
@@ -32524,6 +33350,13 @@ function hydrateTheme(theme) {
|
|
|
32524
33350
|
})
|
|
32525
33351
|
};
|
|
32526
33352
|
}
|
|
33353
|
+
function pageSurfaceInks(palette) {
|
|
33354
|
+
return surfaceInkStyle(surfaceInkPublication(resolveSurfaceForeground({
|
|
33355
|
+
type: "color",
|
|
33356
|
+
color: "background",
|
|
33357
|
+
textColor: "text"
|
|
33358
|
+
}, palette), "publish"));
|
|
33359
|
+
}
|
|
32527
33360
|
function resolveThemeInputSystem(theme) {
|
|
32528
33361
|
return theme.inputs ?? generateDefaultInputSystem(theme);
|
|
32529
33362
|
}
|
|
@@ -32543,6 +33376,7 @@ function buildThemeCssVars(theme) {
|
|
|
32543
33376
|
["--tb-scrim"]: "0 0 0",
|
|
32544
33377
|
["--tb-shadow"]: "0 0 0",
|
|
32545
33378
|
...generateShadowCssVars(theme),
|
|
33379
|
+
...pageSurfaceInks(theme.palette),
|
|
32546
33380
|
...typographyFontRoleCssVars(typography),
|
|
32547
33381
|
["--font-eyebrow"]: typography.eyebrow?.family ? formatFontFamily(typography.eyebrow.family) : "var(--font-body)",
|
|
32548
33382
|
...typography.eyebrow?.size ? { ["--fs-eyebrow"]: mapEyebrowSize(typography.eyebrow.size) } : {},
|
|
@@ -32963,6 +33797,16 @@ function mapFontVariant(c) {
|
|
|
32963
33797
|
function mapFontStyle(italic) {
|
|
32964
33798
|
return italic ? "italic" : "normal";
|
|
32965
33799
|
}
|
|
33800
|
+
/** Adapt the canonical default-card decision for the embedded registration. */
|
|
33801
|
+
function generateThemeBlockVarsCss(theme, themeId) {
|
|
33802
|
+
const card = resolveCardRole(theme, theme.cards ?? null, "default");
|
|
33803
|
+
return generateAllBlockVarsCss({
|
|
33804
|
+
theme,
|
|
33805
|
+
themeId,
|
|
33806
|
+
surface: opaqueSurfaceContextFromTheme(theme),
|
|
33807
|
+
embeddedRegistrationPaint: card.kind === "surface" ? cardSurfacePaint(card.variant) : { kind: "transparent" }
|
|
33808
|
+
});
|
|
33809
|
+
}
|
|
32966
33810
|
//#endregion
|
|
32967
33811
|
//#region ../blocks/src/pageRenderingMode.ts
|
|
32968
33812
|
var MissingBlockOverrideError$1 = class extends Error {
|
|
@@ -33571,7 +34415,7 @@ function preparedBlockProps(entry, content, data, input) {
|
|
|
33571
34415
|
function buildBlockOverrideProps(input) {
|
|
33572
34416
|
const { block, dataContext } = input;
|
|
33573
34417
|
return {
|
|
33574
|
-
content: input.content,
|
|
34418
|
+
content: bindArrangementInkPolicy(input.content, input.themeResources),
|
|
33575
34419
|
dateContext: pageDateRuntimeContext(dataContext),
|
|
33576
34420
|
now: dataContext?.now,
|
|
33577
34421
|
...overrideThemeProps(input.themeResources),
|
|
@@ -33716,6 +34560,11 @@ function preparedPlanEntry(entry, prepared) {
|
|
|
33716
34560
|
prepared
|
|
33717
34561
|
};
|
|
33718
34562
|
}
|
|
34563
|
+
/** Compiled Looks share the render's authority, including transported item contexts. */
|
|
34564
|
+
function bindArrangementInkPolicy(content, theme) {
|
|
34565
|
+
const policy = theme.kind === "available" ? theme.tokens.solvedInks ?? "withhold" : "withhold";
|
|
34566
|
+
return Object.fromEntries(Object.entries(content).map(([key, value]) => [key, key === "_effectiveLook" || key === "_arrangementLooks" ? parseSurfaceTree(value, policy) : value]));
|
|
34567
|
+
}
|
|
33719
34568
|
//#endregion
|
|
33720
34569
|
//#region ../blocks/src/BlockErrorBoundary.tsx
|
|
33721
34570
|
/**
|
|
@@ -33793,7 +34642,7 @@ function EditorPageRenderer$1(props) {
|
|
|
33793
34642
|
}) });
|
|
33794
34643
|
}
|
|
33795
34644
|
function PageRendererCore(props) {
|
|
33796
|
-
const { page, audience, dataContext, routeMap
|
|
34645
|
+
const { page, audience, dataContext, routeMap } = props;
|
|
33797
34646
|
const imageResolveContext = React$1.useMemo(() => resolvePageRendererImageResolveContext(dataContext), [
|
|
33798
34647
|
dataContext?.imageResolveContext,
|
|
33799
34648
|
dataContext?.mediaAssets,
|
|
@@ -33821,16 +34670,20 @@ function PageRendererCore(props) {
|
|
|
33821
34670
|
themeResources,
|
|
33822
34671
|
imageResolveContext
|
|
33823
34672
|
]);
|
|
33824
|
-
const joinSlots = React$1.useMemo(() => joinSlotsByPair(preparation.joins), [preparation.joins]);
|
|
33825
34673
|
reportAndReplayOmissions({
|
|
33826
34674
|
plan,
|
|
33827
34675
|
preparation,
|
|
33828
34676
|
dataContext,
|
|
33829
34677
|
themeResources
|
|
33830
34678
|
});
|
|
33831
|
-
if (!page || preparation.entries.length === 0) return presentEmptyPage(audience);
|
|
33832
|
-
const resolvedRegistry = registry ?? getDefaultComponentRegistry();
|
|
34679
|
+
if (!page || preparation.entries.length === 0) return props.wrapPage ? props.wrapPage(plan, presentEmptyPage(audience)) : presentEmptyPage(audience);
|
|
33833
34680
|
setContextResolveImageUrlContext(imageResolveContext);
|
|
34681
|
+
const rendered = renderPreparedPage(props, preparation, themeResources, imageResolveContext);
|
|
34682
|
+
return props.wrapPage ? props.wrapPage(plan, rendered) : rendered;
|
|
34683
|
+
}
|
|
34684
|
+
function renderPreparedPage(props, preparation, themeResources, imageResolveContext) {
|
|
34685
|
+
const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
|
|
34686
|
+
const joinSlots = joinSlotsByPair(preparation.joins);
|
|
33834
34687
|
return /* @__PURE__ */ jsx("div", { children: preparation.entries.map((entry, index) => renderGuardedPlanEntry({
|
|
33835
34688
|
entry,
|
|
33836
34689
|
index,
|
|
@@ -38825,7 +39678,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
38825
39678
|
.er-event-grid
|
|
38826
39679
|
.er-event-card--selected
|
|
38827
39680
|
.er-event-title {
|
|
38828
|
-
color: rgb(var(--tb-primary));
|
|
39681
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
38829
39682
|
}
|
|
38830
39683
|
|
|
38831
39684
|
:where(.theme-scope)
|
|
@@ -38960,7 +39813,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
38960
39813
|
border: 0;
|
|
38961
39814
|
background: none;
|
|
38962
39815
|
font-size: 0.9375rem;
|
|
38963
|
-
color: rgb(var(--tb-primary));
|
|
39816
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
38964
39817
|
text-decoration: underline;
|
|
38965
39818
|
text-underline-offset: 2px;
|
|
38966
39819
|
cursor: pointer;
|
|
@@ -39058,7 +39911,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39058
39911
|
background: transparent;
|
|
39059
39912
|
border: 0;
|
|
39060
39913
|
padding: 0;
|
|
39061
|
-
color: rgb(var(--tb-primary));
|
|
39914
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
39062
39915
|
cursor: pointer;
|
|
39063
39916
|
font-size: 0.875rem;
|
|
39064
39917
|
text-decoration: underline;
|
|
@@ -39936,7 +40789,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39936
40789
|
padding: 0;
|
|
39937
40790
|
border: 0;
|
|
39938
40791
|
background: transparent;
|
|
39939
|
-
color: rgb(var(--tb-primary));
|
|
40792
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
39940
40793
|
font-size: 0.8125rem;
|
|
39941
40794
|
text-decoration: underline;
|
|
39942
40795
|
text-underline-offset: 2px;
|
|
@@ -39982,7 +40835,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39982
40835
|
:where([data-block='event-registration'])
|
|
39983
40836
|
.er-summary-bar-included {
|
|
39984
40837
|
font-size: 0.8125rem;
|
|
39985
|
-
color: rgb(var(--tb-primary-600));
|
|
40838
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary-600)));
|
|
39986
40839
|
font-weight: 500;
|
|
39987
40840
|
text-align: right;
|
|
39988
40841
|
}
|
|
@@ -40039,7 +40892,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40039
40892
|
border: none;
|
|
40040
40893
|
padding: 0;
|
|
40041
40894
|
font-size: 0.9375rem;
|
|
40042
|
-
color: rgb(var(--tb-primary));
|
|
40895
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
40043
40896
|
cursor: pointer;
|
|
40044
40897
|
text-decoration: underline;
|
|
40045
40898
|
text-underline-offset: 2px;
|
|
@@ -40485,7 +41338,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40485
41338
|
:where([data-block='event-registration'])
|
|
40486
41339
|
.er-booking-bar[data-entry='inProgress'] .er-booking-bar__meta {
|
|
40487
41340
|
font-weight: 600;
|
|
40488
|
-
color: rgb(var(--tb-primary));
|
|
41341
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
40489
41342
|
}
|
|
40490
41343
|
|
|
40491
41344
|
:where(.theme-scope)
|
|
@@ -40538,7 +41391,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40538
41391
|
:where(.theme-scope)
|
|
40539
41392
|
:where([data-block='event-registration'])
|
|
40540
41393
|
.er-booking-bar__status:focus-visible {
|
|
40541
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
41394
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
40542
41395
|
outline-offset: 4px;
|
|
40543
41396
|
border-radius: 4px;
|
|
40544
41397
|
}
|
|
@@ -41019,7 +41872,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41019
41872
|
padding: 0;
|
|
41020
41873
|
border: 0;
|
|
41021
41874
|
background: none;
|
|
41022
|
-
color: rgb(var(--tb-primary));
|
|
41875
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
41023
41876
|
font: inherit;
|
|
41024
41877
|
font-weight: 700;
|
|
41025
41878
|
text-decoration: underline;
|
|
@@ -41069,7 +41922,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41069
41922
|
border: none;
|
|
41070
41923
|
padding: 0;
|
|
41071
41924
|
font-size: inherit;
|
|
41072
|
-
color: rgb(var(--tb-primary));
|
|
41925
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
41073
41926
|
cursor: pointer;
|
|
41074
41927
|
text-decoration: underline;
|
|
41075
41928
|
text-underline-offset: 2px;
|
|
@@ -41539,7 +42392,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41539
42392
|
:where(.theme-scope)
|
|
41540
42393
|
:where([data-block='event-calendar'])
|
|
41541
42394
|
.event-category-btn:focus-visible {
|
|
41542
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
42395
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
41543
42396
|
outline-offset: 2px;
|
|
41544
42397
|
}
|
|
41545
42398
|
|
|
@@ -42014,6 +42867,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
42014
42867
|
* ----------------------------------------------------------------------------- */
|
|
42015
42868
|
|
|
42016
42869
|
:where(.theme-scope) :where([data-block='event-calendar']) .event-timetable {
|
|
42870
|
+
/* Capture the section ink before an event card publishes its own paint. */
|
|
42871
|
+
--ec-timetable-focus-ink: var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42017
42872
|
display: flex;
|
|
42018
42873
|
flex-direction: column;
|
|
42019
42874
|
gap: 0.75rem;
|
|
@@ -42193,7 +43048,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
42193
43048
|
:where(.theme-scope)
|
|
42194
43049
|
:where([data-block='event-calendar'])
|
|
42195
43050
|
.event-timetable-event:focus-visible {
|
|
42196
|
-
|
|
43051
|
+
--rb-surface-focus-color: var(--ec-timetable-focus-ink, rgb(var(--tb-primary)));
|
|
43052
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42197
43053
|
outline-offset: 2px;
|
|
42198
43054
|
}
|
|
42199
43055
|
|
|
@@ -42378,7 +43234,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
42378
43234
|
font-weight: 600;
|
|
42379
43235
|
letter-spacing: 0.12em;
|
|
42380
43236
|
text-transform: uppercase;
|
|
42381
|
-
color: rgb(var(--tb-primary));
|
|
43237
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
42382
43238
|
}
|
|
42383
43239
|
|
|
42384
43240
|
:where(.theme-scope)
|
|
@@ -42416,7 +43272,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
42416
43272
|
:where(.theme-scope)
|
|
42417
43273
|
:where([data-block='event-calendar'])
|
|
42418
43274
|
.event-week-board-nav-button:focus-visible {
|
|
42419
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43275
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42420
43276
|
outline-offset: 2px;
|
|
42421
43277
|
}
|
|
42422
43278
|
|
|
@@ -42632,7 +43488,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
42632
43488
|
:where(.theme-scope)
|
|
42633
43489
|
:where([data-block='event-calendar'])
|
|
42634
43490
|
.event-week-board-card:focus-visible {
|
|
42635
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43491
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42636
43492
|
outline-offset: 2px;
|
|
42637
43493
|
}
|
|
42638
43494
|
|
|
@@ -42977,7 +43833,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
42977
43833
|
:where(.theme-scope)
|
|
42978
43834
|
:where([data-block='event-calendar'])
|
|
42979
43835
|
.ec-modal-close:focus-visible {
|
|
42980
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43836
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42981
43837
|
outline-offset: 2px;
|
|
42982
43838
|
}
|
|
42983
43839
|
|
|
@@ -43129,11 +43985,24 @@ const containerResponsiveThemeCss = `/*
|
|
|
43129
43985
|
* Styling is driven by --rb-tab-* CSS variables.
|
|
43130
43986
|
*/
|
|
43131
43987
|
|
|
43988
|
+
/*
|
|
43989
|
+
* Tabs that don't fit scroll sideways inside the bar rather than widening the
|
|
43990
|
+
* page. The baseline is an inset shadow, not a border, so the scroll box
|
|
43991
|
+
* doesn't clip the active tab's underline where it sits over the baseline.
|
|
43992
|
+
*/
|
|
43132
43993
|
:where(.theme-scope) .nav-tabs {
|
|
43133
43994
|
display: flex;
|
|
43134
43995
|
gap: 0.25rem;
|
|
43135
|
-
|
|
43996
|
+
box-shadow: inset 0 calc(-1 * var(--rb-tab-border-width, 1px)) 0 var(--rb-tab-border-color, rgb(var(--tb-border)));
|
|
43136
43997
|
margin-bottom: 1.5rem;
|
|
43998
|
+
max-width: 100%;
|
|
43999
|
+
overflow-x: auto;
|
|
44000
|
+
overflow-y: hidden;
|
|
44001
|
+
scrollbar-width: none;
|
|
44002
|
+
}
|
|
44003
|
+
|
|
44004
|
+
:where(.theme-scope) .nav-tabs::-webkit-scrollbar {
|
|
44005
|
+
display: none;
|
|
43137
44006
|
}
|
|
43138
44007
|
|
|
43139
44008
|
:where(.theme-scope) .nav-tab {
|
|
@@ -43143,7 +44012,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
43143
44012
|
background: transparent;
|
|
43144
44013
|
border: none;
|
|
43145
44014
|
border-bottom: var(--rb-tab-active-border-width, 2px) solid transparent;
|
|
43146
|
-
|
|
44015
|
+
flex: 0 0 auto;
|
|
44016
|
+
white-space: nowrap;
|
|
43147
44017
|
cursor: pointer;
|
|
43148
44018
|
color: var(--rb-tab-text, rgb(var(--tb-text)));
|
|
43149
44019
|
opacity: var(--rb-tab-opacity, 0.7);
|
|
@@ -43306,7 +44176,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43306
44176
|
/* Inline text-link button (e.g. "Load more dates") */
|
|
43307
44177
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-link {
|
|
43308
44178
|
display: inline;
|
|
43309
|
-
color: rgb(var(--tb-primary, 17 24 39));
|
|
44179
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary, 17 24 39)));
|
|
43310
44180
|
background: none;
|
|
43311
44181
|
border: none;
|
|
43312
44182
|
padding: 0;
|
|
@@ -43396,6 +44266,24 @@ const containerResponsiveThemeCss = `/*
|
|
|
43396
44266
|
}
|
|
43397
44267
|
}
|
|
43398
44268
|
|
|
44269
|
+
/* A line in the buttons' place, for a page with nothing to send people to yet.
|
|
44270
|
+
* It sits under a hairline so it reads as the hero's action, not more lede. */
|
|
44271
|
+
:where(.theme-scope) :where([data-block="hero"]) .hero-actions-note {
|
|
44272
|
+
width: min(100%, 38rem);
|
|
44273
|
+
margin-top: 0.5rem;
|
|
44274
|
+
padding-top: 1.75rem;
|
|
44275
|
+
border-top: 1px solid var(--rb-surface-line-color, rgb(var(--tb-border, 203 213 225)));
|
|
44276
|
+
font-size: 1.125rem;
|
|
44277
|
+
line-height: 1.6;
|
|
44278
|
+
color: var(--rb-surface-text-color, rgb(var(--tb-text, 17 24 39)));
|
|
44279
|
+
}
|
|
44280
|
+
|
|
44281
|
+
:where(.theme-scope) :where([data-block="hero"]) .hero-actions-note a {
|
|
44282
|
+
color: inherit;
|
|
44283
|
+
text-decoration: underline;
|
|
44284
|
+
text-underline-offset: 0.2em;
|
|
44285
|
+
}
|
|
44286
|
+
|
|
43399
44287
|
/* Hero typography scales. These classes are emitted by Theme V2 hero looks. */
|
|
43400
44288
|
:where(.theme-scope) :where([data-block="hero"]) .rb-hero-typography-quiet .hero-headline {
|
|
43401
44289
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
@@ -43720,7 +44608,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43720
44608
|
padding: 0.5rem 1rem;
|
|
43721
44609
|
font-size: 0.875rem;
|
|
43722
44610
|
font-weight: 500;
|
|
43723
|
-
color: rgb(var(--tb-primary));
|
|
44611
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
43724
44612
|
background: transparent;
|
|
43725
44613
|
border: 1px solid rgb(var(--tb-primary));
|
|
43726
44614
|
border-radius: var(--rb-button-radius, 0.375rem);
|
|
@@ -43736,7 +44624,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43736
44624
|
}
|
|
43737
44625
|
|
|
43738
44626
|
:where(.theme-scope) .event-reset-filters-btn:focus-visible {
|
|
43739
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
44627
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
43740
44628
|
outline-offset: 2px;
|
|
43741
44629
|
}
|
|
43742
44630
|
|
|
@@ -45160,6 +46048,267 @@ const containerResponsiveThemeCss = `/*
|
|
|
45160
46048
|
color: rgb(var(--tb-destructive));
|
|
45161
46049
|
}
|
|
45162
46050
|
|
|
46051
|
+
/* An action that exists for the booking but whose time has passed */
|
|
46052
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile--unavailable {
|
|
46053
|
+
background: transparent;
|
|
46054
|
+
border-style: dashed;
|
|
46055
|
+
cursor: default;
|
|
46056
|
+
}
|
|
46057
|
+
|
|
46058
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile--unavailable .cp-action-tile__title {
|
|
46059
|
+
color: var(--cp-muted);
|
|
46060
|
+
}
|
|
46061
|
+
|
|
46062
|
+
/* Event reschedule flow: the appointment flow's card-in-modal shape */
|
|
46063
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-section--reschedule .cp-reschedule {
|
|
46064
|
+
border: none;
|
|
46065
|
+
padding: 0;
|
|
46066
|
+
}
|
|
46067
|
+
|
|
46068
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__current {
|
|
46069
|
+
background: rgb(var(--tb-background));
|
|
46070
|
+
border: 1px solid var(--cp-card-border);
|
|
46071
|
+
border-radius: var(--cp-control-radius);
|
|
46072
|
+
padding: 0.8rem 0.95rem;
|
|
46073
|
+
}
|
|
46074
|
+
|
|
46075
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__current-meta {
|
|
46076
|
+
display: grid;
|
|
46077
|
+
gap: 0.1rem;
|
|
46078
|
+
margin-top: 0.35rem;
|
|
46079
|
+
font-size: 0.875rem;
|
|
46080
|
+
color: var(--cp-muted);
|
|
46081
|
+
}
|
|
46082
|
+
|
|
46083
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__lead {
|
|
46084
|
+
margin: 1rem 0 0.6rem;
|
|
46085
|
+
}
|
|
46086
|
+
|
|
46087
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__check {
|
|
46088
|
+
margin-bottom: 0.75rem;
|
|
46089
|
+
}
|
|
46090
|
+
|
|
46091
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__dates {
|
|
46092
|
+
border: 0;
|
|
46093
|
+
margin: 0;
|
|
46094
|
+
padding: 0;
|
|
46095
|
+
min-width: 0;
|
|
46096
|
+
}
|
|
46097
|
+
|
|
46098
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__legend {
|
|
46099
|
+
font-weight: 600;
|
|
46100
|
+
font-size: 0.875rem;
|
|
46101
|
+
margin: 0 0 0.5rem;
|
|
46102
|
+
padding: 0;
|
|
46103
|
+
}
|
|
46104
|
+
|
|
46105
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-list {
|
|
46106
|
+
display: grid;
|
|
46107
|
+
gap: 0.4rem;
|
|
46108
|
+
}
|
|
46109
|
+
|
|
46110
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option {
|
|
46111
|
+
appearance: none;
|
|
46112
|
+
font: inherit;
|
|
46113
|
+
color: var(--cp-text);
|
|
46114
|
+
text-align: left;
|
|
46115
|
+
width: 100%;
|
|
46116
|
+
display: grid;
|
|
46117
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
46118
|
+
align-items: center;
|
|
46119
|
+
gap: 0.7rem;
|
|
46120
|
+
padding: 0.7rem 0.85rem;
|
|
46121
|
+
border: 1px solid var(--cp-card-border);
|
|
46122
|
+
border-radius: var(--cp-control-radius);
|
|
46123
|
+
background: var(--cp-card-bg);
|
|
46124
|
+
cursor: pointer;
|
|
46125
|
+
}
|
|
46126
|
+
|
|
46127
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option:focus-visible {
|
|
46128
|
+
outline: 2px solid var(--cp-primary);
|
|
46129
|
+
outline-offset: 2px;
|
|
46130
|
+
}
|
|
46131
|
+
|
|
46132
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__radio {
|
|
46133
|
+
width: 18px;
|
|
46134
|
+
height: 18px;
|
|
46135
|
+
border-radius: 50%;
|
|
46136
|
+
border: 1.5px solid var(--cp-muted);
|
|
46137
|
+
display: grid;
|
|
46138
|
+
place-items: center;
|
|
46139
|
+
}
|
|
46140
|
+
|
|
46141
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__text {
|
|
46142
|
+
display: grid;
|
|
46143
|
+
min-width: 0;
|
|
46144
|
+
}
|
|
46145
|
+
|
|
46146
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__when {
|
|
46147
|
+
font-weight: 600;
|
|
46148
|
+
font-size: 0.9375rem;
|
|
46149
|
+
line-height: 1.3;
|
|
46150
|
+
}
|
|
46151
|
+
|
|
46152
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__where {
|
|
46153
|
+
font-size: 0.8125rem;
|
|
46154
|
+
color: var(--cp-muted);
|
|
46155
|
+
}
|
|
46156
|
+
|
|
46157
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected {
|
|
46158
|
+
border-color: var(--cp-primary);
|
|
46159
|
+
box-shadow: 0 0 0 1px var(--cp-primary);
|
|
46160
|
+
background: color-mix(in srgb, var(--cp-primary) 6%, var(--cp-card-bg));
|
|
46161
|
+
}
|
|
46162
|
+
|
|
46163
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected .cp-date-option__radio {
|
|
46164
|
+
border-color: var(--cp-primary);
|
|
46165
|
+
}
|
|
46166
|
+
|
|
46167
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected .cp-date-option__radio::after {
|
|
46168
|
+
content: "";
|
|
46169
|
+
width: 9px;
|
|
46170
|
+
height: 9px;
|
|
46171
|
+
border-radius: 50%;
|
|
46172
|
+
background: var(--cp-primary);
|
|
46173
|
+
}
|
|
46174
|
+
|
|
46175
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled {
|
|
46176
|
+
background: transparent;
|
|
46177
|
+
border-style: dashed;
|
|
46178
|
+
cursor: default;
|
|
46179
|
+
}
|
|
46180
|
+
|
|
46181
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__when,
|
|
46182
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__where {
|
|
46183
|
+
color: var(--cp-muted);
|
|
46184
|
+
font-weight: 500;
|
|
46185
|
+
}
|
|
46186
|
+
|
|
46187
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__radio {
|
|
46188
|
+
opacity: 0.45;
|
|
46189
|
+
}
|
|
46190
|
+
|
|
46191
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__more {
|
|
46192
|
+
margin-top: 0.6rem;
|
|
46193
|
+
}
|
|
46194
|
+
|
|
46195
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__fineprint {
|
|
46196
|
+
margin: 0.9rem 0 0;
|
|
46197
|
+
font-size: 0.8125rem;
|
|
46198
|
+
color: var(--cp-muted);
|
|
46199
|
+
}
|
|
46200
|
+
|
|
46201
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__actions {
|
|
46202
|
+
justify-content: flex-end;
|
|
46203
|
+
gap: 0.5rem;
|
|
46204
|
+
}
|
|
46205
|
+
|
|
46206
|
+
/* A portal modal taller than the screen scrolls its body, so a sticky footer stays reachable. */
|
|
46207
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .rb-modal {
|
|
46208
|
+
display: flex;
|
|
46209
|
+
flex-direction: column;
|
|
46210
|
+
max-height: calc(100dvh - 2rem);
|
|
46211
|
+
}
|
|
46212
|
+
|
|
46213
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .rb-modal__body {
|
|
46214
|
+
min-height: 0;
|
|
46215
|
+
overflow-y: auto;
|
|
46216
|
+
}
|
|
46217
|
+
|
|
46218
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__actions--sticky {
|
|
46219
|
+
position: sticky;
|
|
46220
|
+
bottom: -1rem;
|
|
46221
|
+
margin: 1rem -1rem -1rem;
|
|
46222
|
+
padding: 0.75rem 1rem 1rem;
|
|
46223
|
+
background: var(--cp-card-bg);
|
|
46224
|
+
border-top: 1px solid var(--cp-border);
|
|
46225
|
+
}
|
|
46226
|
+
|
|
46227
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change {
|
|
46228
|
+
border: 1px solid var(--cp-card-border);
|
|
46229
|
+
border-radius: var(--cp-control-radius);
|
|
46230
|
+
overflow: hidden;
|
|
46231
|
+
}
|
|
46232
|
+
|
|
46233
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row {
|
|
46234
|
+
display: grid;
|
|
46235
|
+
grid-template-columns: 4.5rem minmax(0, 1fr);
|
|
46236
|
+
gap: 0.75rem;
|
|
46237
|
+
padding: 0.75rem 0.95rem;
|
|
46238
|
+
}
|
|
46239
|
+
|
|
46240
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row + .cp-change__row {
|
|
46241
|
+
border-top: 1px solid var(--cp-card-border);
|
|
46242
|
+
background: color-mix(in srgb, var(--cp-primary) 6%, var(--cp-card-bg));
|
|
46243
|
+
}
|
|
46244
|
+
|
|
46245
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__label {
|
|
46246
|
+
font-size: 0.75rem;
|
|
46247
|
+
font-weight: 600;
|
|
46248
|
+
letter-spacing: 0.06em;
|
|
46249
|
+
text-transform: uppercase;
|
|
46250
|
+
color: var(--cp-muted);
|
|
46251
|
+
padding-top: 0.15rem;
|
|
46252
|
+
}
|
|
46253
|
+
|
|
46254
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__when {
|
|
46255
|
+
font-weight: 600;
|
|
46256
|
+
}
|
|
46257
|
+
|
|
46258
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row--from .cp-change__when {
|
|
46259
|
+
font-weight: 500;
|
|
46260
|
+
color: var(--cp-muted);
|
|
46261
|
+
text-decoration: line-through;
|
|
46262
|
+
}
|
|
46263
|
+
|
|
46264
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__where {
|
|
46265
|
+
font-size: 0.8125rem;
|
|
46266
|
+
color: var(--cp-muted);
|
|
46267
|
+
}
|
|
46268
|
+
|
|
46269
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__points {
|
|
46270
|
+
margin: 0.9rem 0 0;
|
|
46271
|
+
padding: 0 0 0 1.1rem;
|
|
46272
|
+
display: grid;
|
|
46273
|
+
gap: 0.3rem;
|
|
46274
|
+
}
|
|
46275
|
+
|
|
46276
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done {
|
|
46277
|
+
display: grid;
|
|
46278
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
46279
|
+
gap: 0.8rem;
|
|
46280
|
+
align-items: start;
|
|
46281
|
+
}
|
|
46282
|
+
|
|
46283
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__tick {
|
|
46284
|
+
width: 34px;
|
|
46285
|
+
height: 34px;
|
|
46286
|
+
border-radius: 50%;
|
|
46287
|
+
background: var(--cp-badge-success-bg);
|
|
46288
|
+
color: var(--cp-badge-success-text);
|
|
46289
|
+
display: grid;
|
|
46290
|
+
place-items: center;
|
|
46291
|
+
}
|
|
46292
|
+
|
|
46293
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__title {
|
|
46294
|
+
font-weight: 600;
|
|
46295
|
+
font-size: 1rem;
|
|
46296
|
+
margin: 0.2rem 0;
|
|
46297
|
+
}
|
|
46298
|
+
|
|
46299
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__detail {
|
|
46300
|
+
margin: 0;
|
|
46301
|
+
}
|
|
46302
|
+
|
|
46303
|
+
@container rb-site (max-width: 640px) {
|
|
46304
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
46305
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-date-option {
|
|
46306
|
+
gap: 0.6rem;
|
|
46307
|
+
padding: 0.65rem 0.7rem;
|
|
46308
|
+
}
|
|
46309
|
+
}
|
|
46310
|
+
}
|
|
46311
|
+
|
|
45163
46312
|
/* Modal form layout */
|
|
45164
46313
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-form-grid {
|
|
45165
46314
|
display: grid;
|
|
@@ -45284,6 +46433,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
45284
46433
|
display: none;
|
|
45285
46434
|
}
|
|
45286
46435
|
|
|
46436
|
+
/* Tighter cells, so three columns fit a 360px screen. */
|
|
46437
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-table :is(th, td) {
|
|
46438
|
+
padding-inline: 0.5rem;
|
|
46439
|
+
}
|
|
46440
|
+
|
|
45287
46441
|
:where(.theme-scope:is(*, :scope))
|
|
45288
46442
|
:where([data-block="customer-portal"])
|
|
45289
46443
|
.cp-table
|
|
@@ -45698,7 +46852,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
45698
46852
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-redeem__quote {
|
|
45699
46853
|
margin: 0 0 2rem;
|
|
45700
46854
|
padding: 0.1rem 0 0.1rem 1.25rem;
|
|
45701
|
-
border-left: 2px solid rgb(var(--tb-accent, var(--tb-primary)));
|
|
46855
|
+
border-left: 2px solid var(--rb-surface-accent-color, rgb(var(--tb-accent, var(--tb-primary))));
|
|
45702
46856
|
color: var(--cp-text);
|
|
45703
46857
|
font-family: var(--font-heading);
|
|
45704
46858
|
font-size: 1.3em;
|
|
@@ -46727,6 +47881,176 @@ const containerResponsiveThemeCss = `/*
|
|
|
46727
47881
|
border-radius: 9999px;
|
|
46728
47882
|
}
|
|
46729
47883
|
|
|
47884
|
+
/* -----------------------------------------------------------------------------
|
|
47885
|
+
* One person (a page that belongs to one person, such as a booking page)
|
|
47886
|
+
* -----------------------------------------------------------------------------
|
|
47887
|
+
* A page's composer sets \`onePerson\` on the block; owners don't choose it.
|
|
47888
|
+
*
|
|
47889
|
+
* \`about\`: the person has the section. The photo sits beside the heading, a
|
|
47890
|
+
* quiet name-and-role line and the bio in full. The node's wrapper is
|
|
47891
|
+
* \`display: contents\`, so the heading the block already renders and the
|
|
47892
|
+
* person's parts share one grid. The two spare rows centre a short bio against
|
|
47893
|
+
* the photo; a long bio fills them and runs on past it. Each skin adds its own
|
|
47894
|
+
* photo frame.
|
|
47895
|
+
*/
|
|
47896
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) {
|
|
47897
|
+
display: grid;
|
|
47898
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
47899
|
+
grid-template-rows: 1fr auto auto auto 1fr;
|
|
47900
|
+
column-gap: 1.75rem;
|
|
47901
|
+
text-align: left;
|
|
47902
|
+
}
|
|
47903
|
+
|
|
47904
|
+
.theme-scope [data-block="team-members"] .rb-team-layout > .rb-team-about {
|
|
47905
|
+
display: contents;
|
|
47906
|
+
}
|
|
47907
|
+
|
|
47908
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) > .rb-team-head {
|
|
47909
|
+
grid-column: 7 / 13;
|
|
47910
|
+
grid-row: 2;
|
|
47911
|
+
margin: 0;
|
|
47912
|
+
max-width: none;
|
|
47913
|
+
}
|
|
47914
|
+
|
|
47915
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo {
|
|
47916
|
+
grid-column: 1 / 6;
|
|
47917
|
+
grid-row: 1 / -1;
|
|
47918
|
+
align-self: start;
|
|
47919
|
+
position: relative;
|
|
47920
|
+
min-width: 0;
|
|
47921
|
+
margin: 0;
|
|
47922
|
+
}
|
|
47923
|
+
|
|
47924
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo img {
|
|
47925
|
+
display: block;
|
|
47926
|
+
width: 100%;
|
|
47927
|
+
height: auto;
|
|
47928
|
+
aspect-ratio: 4 / 5;
|
|
47929
|
+
object-fit: cover;
|
|
47930
|
+
}
|
|
47931
|
+
|
|
47932
|
+
/* A style with no skin rounds the photo as it rounds its cards; skins frame it themselves. */
|
|
47933
|
+
:where(.theme-scope) :where([data-block="team-members"]) :where(.rb-team-about-photo) img {
|
|
47934
|
+
border-radius: var(--radius-card, 0);
|
|
47935
|
+
}
|
|
47936
|
+
|
|
47937
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-line {
|
|
47938
|
+
grid-column: 7 / 13;
|
|
47939
|
+
grid-row: 3;
|
|
47940
|
+
margin: 1rem 0 0;
|
|
47941
|
+
font-size: 0.96875rem;
|
|
47942
|
+
line-height: 1.5;
|
|
47943
|
+
font-weight: 500;
|
|
47944
|
+
color: var(--rb-surface-muted-color, rgb(var(--tb-mutedText)));
|
|
47945
|
+
}
|
|
47946
|
+
|
|
47947
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio {
|
|
47948
|
+
/* Shown in full at every width, whatever the Look does with card text. */
|
|
47949
|
+
display: block;
|
|
47950
|
+
grid-column: 7 / 13;
|
|
47951
|
+
grid-row: 4;
|
|
47952
|
+
margin: 1.75rem 0 0;
|
|
47953
|
+
max-width: 34em;
|
|
47954
|
+
font-size: 1.125rem;
|
|
47955
|
+
line-height: 1.65;
|
|
47956
|
+
color: var(--rb-surface-text-color, inherit);
|
|
47957
|
+
}
|
|
47958
|
+
|
|
47959
|
+
/* One person's About: the bio stays shown at every width. Team Looks hide card
|
|
47960
|
+
text (tall portraits on phones, ruled names always), and their responsive
|
|
47961
|
+
rules would otherwise tie with the rule above and win on order. */
|
|
47962
|
+
.theme-scope [data-block="team-members"] [data-slot="layout"][data-one-person="about"] [data-team-about] > [data-slot="item-text"] {
|
|
47963
|
+
display: block;
|
|
47964
|
+
}
|
|
47965
|
+
|
|
47966
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio > * {
|
|
47967
|
+
margin: 0;
|
|
47968
|
+
font-size: inherit;
|
|
47969
|
+
line-height: inherit;
|
|
47970
|
+
}
|
|
47971
|
+
|
|
47972
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio > * + * {
|
|
47973
|
+
margin-top: 1em;
|
|
47974
|
+
}
|
|
47975
|
+
|
|
47976
|
+
/* No photo: the heading and name line sit beside the bio, so nothing looks
|
|
47977
|
+
like it is waiting for a picture. */
|
|
47978
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about[data-has-photo="false"]) {
|
|
47979
|
+
grid-template-rows: auto auto 1fr;
|
|
47980
|
+
}
|
|
47981
|
+
|
|
47982
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about[data-has-photo="false"]) > .rb-team-head {
|
|
47983
|
+
grid-column: 1 / 6;
|
|
47984
|
+
grid-row: 1;
|
|
47985
|
+
}
|
|
47986
|
+
|
|
47987
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-line {
|
|
47988
|
+
grid-column: 1 / 6;
|
|
47989
|
+
grid-row: 2;
|
|
47990
|
+
}
|
|
47991
|
+
|
|
47992
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-bio {
|
|
47993
|
+
grid-column: 6 / 13;
|
|
47994
|
+
grid-row: 1 / -1;
|
|
47995
|
+
margin-top: 0;
|
|
47996
|
+
}
|
|
47997
|
+
|
|
47998
|
+
@container rb-site (max-width: 767px) {
|
|
47999
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
48000
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) {
|
|
48001
|
+
display: flex;
|
|
48002
|
+
flex-direction: column;
|
|
48003
|
+
}
|
|
48004
|
+
|
|
48005
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo {
|
|
48006
|
+
order: -1;
|
|
48007
|
+
margin-bottom: 2.5rem;
|
|
48008
|
+
}
|
|
48009
|
+
|
|
48010
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio,
|
|
48011
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-bio {
|
|
48012
|
+
margin-top: 1.5rem;
|
|
48013
|
+
font-size: 1.0625rem;
|
|
48014
|
+
}
|
|
48015
|
+
}
|
|
48016
|
+
}
|
|
48017
|
+
|
|
48018
|
+
/*
|
|
48019
|
+
* \`portrait\`: the one person has a photo and no bio, so they stay under the
|
|
48020
|
+
* section's usual heading as one small portrait with their name beside it.
|
|
48021
|
+
*/
|
|
48022
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list]:has(> [data-card-list-item]:only-child) {
|
|
48023
|
+
display: block;
|
|
48024
|
+
}
|
|
48025
|
+
|
|
48026
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child {
|
|
48027
|
+
display: flex;
|
|
48028
|
+
flex-direction: row;
|
|
48029
|
+
align-items: center;
|
|
48030
|
+
gap: 1.75rem;
|
|
48031
|
+
}
|
|
48032
|
+
|
|
48033
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-media"] {
|
|
48034
|
+
flex: none;
|
|
48035
|
+
width: 12.5rem;
|
|
48036
|
+
}
|
|
48037
|
+
|
|
48038
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-body"] {
|
|
48039
|
+
padding: 0;
|
|
48040
|
+
}
|
|
48041
|
+
|
|
48042
|
+
@container rb-site (max-width: 767px) {
|
|
48043
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
48044
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child {
|
|
48045
|
+
gap: 1.25rem;
|
|
48046
|
+
}
|
|
48047
|
+
|
|
48048
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-media"] {
|
|
48049
|
+
width: 7.5rem;
|
|
48050
|
+
}
|
|
48051
|
+
}
|
|
48052
|
+
}
|
|
48053
|
+
|
|
46730
48054
|
/* The callout is its own opaque surface: tones tint over the theme surface,
|
|
46731
48055
|
* not over whatever band the callout sits on, so its foreground and button
|
|
46732
48056
|
* context (theme-core/src/blocks/opaquePanels.ts) hold on any section. */
|
|
@@ -47521,7 +48845,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
47521
48845
|
|
|
47522
48846
|
:where(.theme-scope) :where([data-block="recurring-schedule"]) .recurring-schedule-eyebrow {
|
|
47523
48847
|
margin: 0;
|
|
47524
|
-
color: rgb(var(--tb-accent));
|
|
48848
|
+
color: var(--rb-surface-accent-color, rgb(var(--tb-accent)));
|
|
47525
48849
|
font-size: 0.72rem;
|
|
47526
48850
|
font-weight: 600;
|
|
47527
48851
|
letter-spacing: 0.14em;
|
|
@@ -48038,7 +49362,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
48038
49362
|
|
|
48039
49363
|
:where(.theme-scope) .rb-feature-cards-eyebrow {
|
|
48040
49364
|
margin: 0;
|
|
48041
|
-
color: rgb(var(--tb-accent));
|
|
49365
|
+
color: var(--rb-surface-accent-color, rgb(var(--tb-accent)));
|
|
48042
49366
|
font-size: 0.72rem;
|
|
48043
49367
|
font-weight: 600;
|
|
48044
49368
|
letter-spacing: 0.14em;
|
|
@@ -48592,6 +49916,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
48592
49916
|
justify-items: start;
|
|
48593
49917
|
text-align: start;
|
|
48594
49918
|
}
|
|
49919
|
+
/* Short photo banner: the classic arrangement kept short for inner pages. It renders
|
|
49920
|
+
* every field the older Compact hero did. The text is held to two lines, and each
|
|
49921
|
+
* skin decides where one row of buttons sits, so it stays a banner. */
|
|
49922
|
+
.theme-scope [data-arrangement="classic"][data-look="hero-short-photo-banner"] [data-slot="actions"]:empty { display: none; }
|
|
49923
|
+
.theme-scope [data-arrangement="classic"][data-look="hero-short-photo-banner"] [data-slot="lede"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
|
|
48595
49924
|
|
|
48596
49925
|
/* ------------------------------------------------- hero: page-head */
|
|
48597
49926
|
.theme-scope [data-arrangement="page-head"] [data-slot="copy"] { grid-column: 1 / 10; }
|
|
@@ -48673,18 +50002,18 @@ const containerResponsiveThemeCss = `/*
|
|
|
48673
50002
|
.theme-scope [data-arrangement="sequence"] [data-slot="numeral"]::before { content: counter(rb-feature-card-number); }
|
|
48674
50003
|
|
|
48675
50004
|
/* ===================================================== CALENDAR LIST */
|
|
48676
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="list"] { list-style: none; margin: 0; padding: 0; }
|
|
48677
|
-
.theme-scope :
|
|
50005
|
+
.theme-scope :where([data-arrangement][data-mode="list"]) [data-slot="list"] { list-style: none; margin: 0; padding: 0; }
|
|
50006
|
+
.theme-scope :where([data-arrangement="ledger"], [data-arrangement="compact"]) :is([data-slot="row"], [data-slot="row-continued"]) { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; column-gap: 1.25rem; align-items: center; padding-block: 1.125rem; }
|
|
48678
50007
|
.theme-scope [data-arrangement="ledger"] [data-slot="row-continued"] [data-slot="date"] { visibility: hidden; }
|
|
48679
|
-
.theme-scope :
|
|
48680
|
-
.theme-scope :
|
|
48681
|
-
.theme-scope :
|
|
48682
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="date"] { display: flex; flex-direction: column; line-height: 1.2; margin: 0; }
|
|
48683
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="what"] { min-width: 0; }
|
|
48684
|
-
.theme-scope [data-arrangement][data-mode="list"] :is([data-slot="item-title"], [data-slot="item-meta"]) { margin: 0; }
|
|
48685
|
-
.theme-scope [data-arrangement="compact"] [data-slot="panel"] { margin-inline: 0 auto; }
|
|
48686
|
-
.theme-scope [data-arrangement="compact"] [data-slot="row"] { column-gap: 1rem; padding-block: 0.75rem; }
|
|
48687
|
-
.theme-scope [data-arrangement="compact"] [data-slot="date"] { flex-direction: row; gap: 0.375rem; align-items: baseline; }
|
|
50008
|
+
.theme-scope :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="date"] { grid-column: 1; }
|
|
50009
|
+
.theme-scope :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="what"] { grid-column: 2; }
|
|
50010
|
+
.theme-scope :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="action"] { grid-column: 3; justify-self: end; }
|
|
50011
|
+
.theme-scope :where([data-arrangement][data-mode="list"]) [data-slot="date"] { display: flex; flex-direction: column; line-height: 1.2; margin: 0; }
|
|
50012
|
+
.theme-scope :where([data-arrangement][data-mode="list"]) [data-slot="what"] { min-width: 0; }
|
|
50013
|
+
.theme-scope :where([data-arrangement][data-mode="list"]) :is([data-slot="item-title"], [data-slot="item-meta"]) { margin: 0; }
|
|
50014
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="panel"] { margin-inline: 0 auto; }
|
|
50015
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="row"] { column-gap: 1rem; padding-block: 0.75rem; }
|
|
50016
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="date"] { flex-direction: row; gap: 0.375rem; align-items: baseline; }
|
|
48688
50017
|
.theme-scope [data-arrangement="day-groups"] [data-slot="group"] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--rb-skin-gutter, 1.5rem); padding-block: 1.5rem 0.75rem; }
|
|
48689
50018
|
.theme-scope [data-arrangement="day-groups"] [data-slot="group-label"] { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 0.125rem; margin: 0; }
|
|
48690
50019
|
.theme-scope [data-arrangement="day-groups"] [data-slot="group"] > * + * { grid-column: 4 / -1; list-style: none; margin: 0; padding: 0; }
|
|
@@ -48717,10 +50046,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
48717
50046
|
.theme-scope:is(*, :scope) [data-arrangement="index"] [data-slot="item"] > *,
|
|
48718
50047
|
.theme-scope:is(*, :scope) [data-arrangement="index"][data-knob-card-marker="numbers"] [data-slot="item"] > * { grid-column: 1; grid-row: auto; }
|
|
48719
50048
|
|
|
48720
|
-
.theme-scope:is(*, :scope) :
|
|
48721
|
-
.theme-scope:is(*, :scope) :
|
|
48722
|
-
.theme-scope:is(*, :scope) :
|
|
48723
|
-
.theme-scope:is(*, :scope) :
|
|
50049
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"], [data-arrangement="compact"]) :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: 4rem minmax(0, 1fr); column-gap: 0.875rem; row-gap: 0.5rem; align-items: start; }
|
|
50050
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="date"] { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; }
|
|
50051
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="what"] { grid-column: 2; grid-row: 1; }
|
|
50052
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"], [data-arrangement="compact"]) [data-slot="action"] { grid-column: 2; grid-row: 2; justify-self: start; }
|
|
48724
50053
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group"] { grid-template-columns: minmax(0, 1fr); row-gap: 0.5rem; }
|
|
48725
50054
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group-label"],
|
|
48726
50055
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group"] > * + * { grid-column: 1 / -1; }
|
|
@@ -48795,6 +50124,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
48795
50124
|
.theme-scope [data-arrangement] [data-slot="controls"] [data-slot="control"] { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; }
|
|
48796
50125
|
.theme-scope [data-arrangement] [data-slot="control"]:disabled { cursor: default; }
|
|
48797
50126
|
|
|
50127
|
+
|
|
48798
50128
|
@container rb-site (max-width: 767px) {
|
|
48799
50129
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
48800
50130
|
.theme-scope:is(*, :scope) [data-arrangement] [data-slot="layout"] { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
|
|
@@ -48835,6 +50165,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
48835
50165
|
|
|
48836
50166
|
.theme-scope [data-arrangement] [data-slot="control"] { color: var(--rb-surface-text-color, rgb(var(--tb-text))); background: transparent; border: 1px solid var(--rb-surface-mark-color, currentcolor); }
|
|
48837
50167
|
.theme-scope [data-arrangement] [data-slot="control"]:focus-visible { outline: 2px solid currentcolor; outline-offset: 2px; }
|
|
50168
|
+
|
|
50169
|
+
/* Carousel state owns the paint outputs. Skins can consume them at their own
|
|
50170
|
+
specificity while supplying the backing, border opacity and hover tint. */
|
|
50171
|
+
.theme-scope :where([data-arrangement="slides"], [data-arrangement="track"]) [data-slot="controls"] [data-slot="control"] { --rb-carousel-control-border: color-mix(in srgb, currentcolor var(--rb-carousel-control-border-opacity, 100%), transparent); --rb-carousel-control-background: var(--rb-carousel-control-surface, transparent); box-sizing: border-box; min-height: 44px; border: 1px solid var(--rb-carousel-control-border); border-radius: 50%; background: var(--rb-carousel-control-background); color: var(--rb-surface-text-color); }
|
|
50172
|
+
@media (hover: hover) and (pointer: fine) {
|
|
50173
|
+
.theme-scope :where([data-arrangement="slides"], [data-arrangement="track"]) [data-slot="controls"] [data-slot="control"]:where(:not([aria-disabled="true"], :disabled):hover) { --rb-carousel-control-border: currentcolor; --rb-carousel-control-background: color-mix(in srgb, var(--rb-surface-text-color) var(--rb-carousel-control-hover-opacity, 8%), var(--rb-carousel-control-surface, transparent)); }
|
|
50174
|
+
}
|
|
48838
50175
|
.theme-scope [data-arrangement="month-grid"] [data-slot="control"],
|
|
48839
50176
|
.theme-scope [data-arrangement="month-day"] [data-slot="control"] { min-height: 44px; min-width: 0; width: 100%; }
|
|
48840
50177
|
|
|
@@ -48851,7 +50188,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
48851
50188
|
|
|
48852
50189
|
/* Named event parts share the ordinary item foregrounds and action language. */
|
|
48853
50190
|
.theme-scope .rb-item-text-link { color: var(--rb-surface-link-color); text-decoration: underline; text-decoration-color: var(--rb-surface-mark-color); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
|
|
48854
|
-
.theme-scope [data-arrangement] [data-slot="date"] [data-slot="day"] { font-size: 2rem; font-weight: 800; }
|
|
50191
|
+
.theme-scope :where([data-arrangement]) [data-slot="date"] [data-slot="day"] { font-size: 2rem; font-weight: 800; }
|
|
48855
50192
|
.theme-scope [data-arrangement] [data-slot="item-text"] { margin-block: 0.5rem 0; }
|
|
48856
50193
|
.theme-scope [data-arrangement="grid"] [data-slot="item-body"] { padding: 1.5rem; }
|
|
48857
50194
|
.theme-scope [data-arrangement="grid"] [data-slot="item-actions"] { margin-top: 1rem; }
|
|
@@ -48879,14 +50216,14 @@ const containerResponsiveThemeCss = `/*
|
|
|
48879
50216
|
.theme-scope [data-arrangement] [data-availability="low"] [data-event-places]::before { background: var(--rb-surface-mark-color); }
|
|
48880
50217
|
.theme-scope [data-arrangement] [data-availability="full"] [data-event-places]::before { background: var(--rb-surface-muted-color); }
|
|
48881
50218
|
/* Compact date rails keep their own line at every width. */
|
|
48882
|
-
.theme-scope [data-arrangement="compact"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: max-content minmax(0, 1fr) auto; }
|
|
48883
|
-
.theme-scope [data-arrangement="compact"] [data-slot="date"] { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; }
|
|
50219
|
+
.theme-scope :where([data-arrangement="compact"]) :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: max-content minmax(0, 1fr) auto; }
|
|
50220
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="date"] { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; }
|
|
48884
50221
|
@container rb-site (max-width: 639px) {
|
|
48885
50222
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
48886
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
48887
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] [data-slot="date"] { grid-column: 1 / -1; grid-row: 1; flex-direction: row; }
|
|
48888
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] [data-slot="what"] { grid-column: 1; grid-row: 2; }
|
|
48889
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] [data-slot="action"] { grid-column: 2; grid-row: 2; }
|
|
50223
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="compact"]) :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
50224
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="compact"]) [data-slot="date"] { grid-column: 1 / -1; grid-row: 1; flex-direction: row; }
|
|
50225
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="compact"]) [data-slot="what"] { grid-column: 1; grid-row: 2; }
|
|
50226
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="compact"]) [data-slot="action"] { grid-column: 2; grid-row: 2; }
|
|
48890
50227
|
}
|
|
48891
50228
|
}
|
|
48892
50229
|
|
|
@@ -48921,6 +50258,46 @@ const containerResponsiveThemeCss = `/*
|
|
|
48921
50258
|
.theme-scope:is(*, :scope) [data-arrangement="index"][data-knob-card-marker="numbers"] [data-card-list-item] > * { grid-column: 1; }
|
|
48922
50259
|
}
|
|
48923
50260
|
}
|
|
50261
|
+
/* One offering in a catalogue: the card runs the measure, with its dates beside
|
|
50262
|
+
* the details (or its photo beside both) so it doesn't sit as one narrow card
|
|
50263
|
+
* in an empty row. Date rows are ruled and carry their own Book link. */
|
|
50264
|
+
.theme-scope [data-has-one-offering] [data-card-list] { grid-template-columns: minmax(0, 1fr); }
|
|
50265
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] { display: grid; align-content: start; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
50266
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-block: 0.875rem; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
|
|
50267
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"]:first-child { border-top: 0; padding-top: 0; }
|
|
50268
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"] time { flex: 1 1 auto; text-align: start; }
|
|
50269
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="date-places"] { color: var(--rb-surface-muted-color, var(--rb-surface-text-color)); font-size: 0.875rem; }
|
|
50270
|
+
@container rb-site (min-width: 768px) {
|
|
50271
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
50272
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:has(> [data-slot="item-media"]) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
|
|
50273
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:has(> [data-slot="item-media"]) [data-slot="photo"] { height: 100%; aspect-ratio: auto; }
|
|
50274
|
+
/* The details keep the card's own padding; the dates take the second column
|
|
50275
|
+
* for the card's full height, behind a rule drawn from edge to edge. */
|
|
50276
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) {
|
|
50277
|
+
position: relative;
|
|
50278
|
+
display: grid;
|
|
50279
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
|
|
50280
|
+
grid-auto-rows: min-content;
|
|
50281
|
+
gap: 0 clamp(2.5rem, 6cqi, 5rem);
|
|
50282
|
+
}
|
|
50283
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) > * { grid-column: 1; }
|
|
50284
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) > :not(:last-child, [data-slot="dates"]) { margin-bottom: var(--rb-skin-copy-gap, 0.75rem); }
|
|
50285
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="item-actions"] { margin-top: 0.75rem; }
|
|
50286
|
+
/* The span must cover every part a card body can hold: the CardListItemPart
|
|
50287
|
+
* union in site-styles/appearancePresetTypes.ts, less media (which sits
|
|
50288
|
+
* outside the body), plus the numeral marker. That is eleven rows today;
|
|
50289
|
+
* raise the span if the union grows. */
|
|
50290
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="dates"] { grid-column: 2; grid-row: 1 / span 12; }
|
|
50291
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="dates"]::before {
|
|
50292
|
+
content: "";
|
|
50293
|
+
position: absolute;
|
|
50294
|
+
top: 0;
|
|
50295
|
+
bottom: 0;
|
|
50296
|
+
margin-left: calc(-0.5 * clamp(2.5rem, 6cqi, 5rem));
|
|
50297
|
+
border-left: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color);
|
|
50298
|
+
}
|
|
50299
|
+
}
|
|
50300
|
+
}
|
|
48924
50301
|
.theme-scope [data-arrangement="cards"] [data-card-list] { counter-reset: rb-feature-card-number; }
|
|
48925
50302
|
.theme-scope [data-arrangement="cards"] [data-card-list-item] { counter-increment: rb-feature-card-number; }
|
|
48926
50303
|
.theme-scope [data-arrangement] [data-card-list-item] [data-slot="numeral"] { display: none; }
|
|
@@ -48972,19 +50349,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
48972
50349
|
.theme-scope [data-arrangement="month-day"] [data-slot="frame"] > * { grid-column: auto; }
|
|
48973
50350
|
|
|
48974
50351
|
/* Independent live time and places parts stay in their own columns. */
|
|
48975
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: var(--rb-event-date-width, 7rem) minmax(0, 1fr) minmax(6rem, auto) minmax(5rem, auto) auto; }
|
|
48976
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] [data-slot="time"] { grid-column: 3; }
|
|
48977
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] [data-slot="places"] { grid-column: 4; }
|
|
48978
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] [data-slot="action"] { grid-column: 5; }
|
|
50352
|
+
.theme-scope :where([data-arrangement="ledger"][data-mode="list"]) :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: var(--rb-event-date-width, 7rem) minmax(0, 1fr) minmax(6rem, auto) minmax(5rem, auto) auto; }
|
|
50353
|
+
.theme-scope :where([data-arrangement="ledger"][data-mode="list"]) [data-slot="time"] { grid-column: 3; }
|
|
50354
|
+
.theme-scope :where([data-arrangement="ledger"][data-mode="list"]) [data-slot="places"] { grid-column: 4; }
|
|
50355
|
+
.theme-scope :where([data-arrangement="ledger"][data-mode="list"]) [data-slot="action"] { grid-column: 5; }
|
|
48979
50356
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="row"] { grid-template-columns: minmax(0, 1fr) minmax(6rem, auto) minmax(5rem, auto) auto; }
|
|
48980
50357
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="time"] { grid-column: 2; }
|
|
48981
50358
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="places"] { grid-column: 3; }
|
|
48982
50359
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="action"] { grid-column: 4; }
|
|
48983
|
-
.theme-scope [data-arrangement][data-mode="list"] :is([data-slot="time"], [data-slot="places"], [data-slot="price"]) { margin: 0; }
|
|
50360
|
+
.theme-scope :where([data-arrangement][data-mode="list"]) :is([data-slot="time"], [data-slot="places"], [data-slot="price"]) { margin: 0; }
|
|
48984
50361
|
@container rb-site (max-width: 1023px) {
|
|
48985
50362
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
48986
|
-
.theme-scope:is(*, :scope) [data-arrangement="ledger"][data-mode="list"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.5rem 0.875rem; }
|
|
48987
|
-
.theme-scope:is(*, :scope) [data-arrangement="ledger"][data-mode="list"] :is([data-slot="time"], [data-slot="places"], [data-slot="action"]) { grid-column: 2; grid-row: auto; justify-self: start; }
|
|
50363
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"][data-mode="list"]) :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.5rem 0.875rem; }
|
|
50364
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="ledger"][data-mode="list"]) :is([data-slot="time"], [data-slot="places"], [data-slot="action"]) { grid-column: 2; grid-row: auto; justify-self: start; }
|
|
48988
50365
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"][data-mode="list"] [data-slot="row"] { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
|
|
48989
50366
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"][data-mode="list"] :is([data-slot="time"], [data-slot="places"], [data-slot="action"]) { grid-column: 1; grid-row: auto; justify-self: start; }
|
|
48990
50367
|
}
|
|
@@ -49512,6 +50889,17 @@ const containerResponsiveThemeCss = `/*
|
|
|
49512
50889
|
}
|
|
49513
50890
|
}
|
|
49514
50891
|
|
|
50892
|
+
/* Compact event rows group the live time/status and action in one rail. */
|
|
50893
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="row"] > [data-slot="item-actions"] { grid-column: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
|
|
50894
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="time"] { display: flex; align-items: center; gap: 0.5rem; }
|
|
50895
|
+
.theme-scope :where([data-arrangement="compact"]) :is([data-slot="time"], [data-slot="item-meta"]) svg { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.1em; }
|
|
50896
|
+
.theme-scope :where([data-arrangement="compact"]) [data-slot="item-meta"] svg { margin-inline-end: 0.5rem; }
|
|
50897
|
+
@container rb-site (max-width: 767px) {
|
|
50898
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
50899
|
+
.theme-scope:is(*, :scope) :where([data-arrangement="compact"]) [data-slot="row"] > [data-slot="item-actions"] { grid-column: 2; align-items: flex-start; }
|
|
50900
|
+
}
|
|
50901
|
+
}
|
|
50902
|
+
|
|
49515
50903
|
/* Bounded style skins (issue 1575, D14): one stylesheet per arrangement style, keyed on data-skin. */
|
|
49516
50904
|
|
|
49517
50905
|
/* =============================================================================
|
|
@@ -49605,7 +50993,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
49605
50993
|
|
|
49606
50994
|
/* The start mark on a sheet: drawn over the sheet own top edge, since a sheet paints its own ground. */
|
|
49607
50995
|
[data-skin="fulcrum"] [data-arrangement] [data-slot="sticker"]::before,
|
|
49608
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="copy"]::before,
|
|
50996
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"]::before,
|
|
49609
50997
|
[data-skin="fulcrum"] [data-treat="compact"] [data-slot="panel"]::before {
|
|
49610
50998
|
content: "";
|
|
49611
50999
|
position: absolute;
|
|
@@ -49643,6 +51031,20 @@ const containerResponsiveThemeCss = `/*
|
|
|
49643
51031
|
margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0;
|
|
49644
51032
|
box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour);
|
|
49645
51033
|
}
|
|
51034
|
+
/* split · plate with no photo: the page head itself is what's mounted on the plate.
|
|
51035
|
+
* Not while the editor shows its photo placeholder, which keeps the two-column
|
|
51036
|
+
* split so there is somewhere to add the photo. The placeholder exemption also
|
|
51037
|
+
* lifts this above the image-position rules below, so the plate spans the row
|
|
51038
|
+
* whichever side the photo would have taken. */
|
|
51039
|
+
[data-skin="fulcrum"] [data-treat="plate"][data-has-photo="false"]:not(:has([data-placeholder-field])) [data-slot="copy"] {
|
|
51040
|
+
grid-column: 1 / -1;
|
|
51041
|
+
margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0;
|
|
51042
|
+
padding: clamp(2.25rem, 4.6cqi, 3.75rem) clamp(1.5rem, 5cqi, 4rem) clamp(2.25rem, 4.6cqi, 3.75rem);
|
|
51043
|
+
border: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color);
|
|
51044
|
+
background-color: rgb(var(--tb-surface));
|
|
51045
|
+
box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour);
|
|
51046
|
+
}
|
|
51047
|
+
[data-skin="fulcrum"] [data-treat="plate"][data-has-photo="false"]:not(:has([data-placeholder-field]))[data-length="short"] [data-slot="headline"] { font-size: clamp(2.625rem, 6.4cqi, 5.25rem); }
|
|
49646
51048
|
[data-skin="fulcrum"] [data-treat="plate"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / 6; }
|
|
49647
51049
|
[data-skin="fulcrum"] [data-treat="plate"][data-knob-image-position="left"] [data-slot="copy"] { grid-column: 7 / 13; }
|
|
49648
51050
|
[data-skin="fulcrum"] [data-treat="plate"] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: -2.5rem; bottom: 3rem; max-width: 16rem; }
|
|
@@ -49664,15 +51066,27 @@ const containerResponsiveThemeCss = `/*
|
|
|
49664
51066
|
[data-skin="fulcrum"] [data-treat="plates"] [data-slot="gallery"] [data-slot="sticker"] { position: absolute; left: 2rem; bottom: -1.5rem; }
|
|
49665
51067
|
|
|
49666
51068
|
/* classic · panel: the photo fills the section; the copy sits on a sheet low on the left. */
|
|
49667
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); padding-top: clamp(9rem, 16cqi, 12.5rem); }
|
|
49668
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="copy"] {
|
|
51069
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); padding-top: clamp(9rem, 16cqi, 12.5rem); }
|
|
51070
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"] {
|
|
49669
51071
|
position: relative;
|
|
49670
51072
|
max-width: min(36rem, 100%);
|
|
49671
51073
|
padding: clamp(2rem, 3.4cqi, 3rem);
|
|
49672
51074
|
border-radius: var(--rb-skin-radius, 3px);
|
|
49673
51075
|
}
|
|
49674
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="headline"] { font-size: clamp(2.25rem, 3.6cqi, 3.5rem); }
|
|
49675
|
-
[data-skin="fulcrum"] [data-treat="panel"][data-length="long"] [data-slot="headline"] { font-size: clamp(1.875rem, 2.6cqi, 2.5rem); }
|
|
51076
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="headline"] { font-size: clamp(2.25rem, 3.6cqi, 3.5rem); }
|
|
51077
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"])[data-length="long"] [data-slot="headline"] { font-size: clamp(1.875rem, 2.6cqi, 2.5rem); }
|
|
51078
|
+
/* Short photo banner: the same sheet low on the left of a shallow strip of photo. */
|
|
51079
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="section"] { padding-top: clamp(6rem, 12cqi, 10.5rem); padding-bottom: clamp(2rem, 3.4cqi, 3rem); }
|
|
51080
|
+
[data-skin="fulcrum"] [data-treat="short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: clamp(2rem, 3.4cqi, 3rem); }
|
|
51081
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"] { padding: clamp(1.375rem, 2.2cqi, 1.875rem) clamp(1.5rem, 3cqi, 2.5rem); gap: 0.625rem; }
|
|
51082
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
51083
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(54rem, 100%); }
|
|
51084
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
51085
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
51086
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
51087
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
51088
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
51089
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="short-panel"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.625rem, 2.6cqi, 2.375rem); line-height: 1.12; }
|
|
49676
51090
|
|
|
49677
51091
|
/* page-head · ruled: no photo; the title over a hairline that runs the measure. */
|
|
49678
51092
|
[data-skin="fulcrum"] [data-treat="ruled"] [data-slot="copy"] {
|
|
@@ -49913,8 +51327,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
49913
51327
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="plate"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / -1; }
|
|
49914
51328
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="plate"] [data-slot="media"] { aspect-ratio: 4 / 3.4; }
|
|
49915
51329
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: auto; right: 0.75rem; top: auto; bottom: 0.75rem; margin-top: 0; max-width: min(18rem, calc(100% - 1.5rem)); }
|
|
49916
|
-
[data-skin="fulcrum"]:is(*, :scope) [data-treat="panel"] [data-slot="section"] { padding-top: 13rem; }
|
|
49917
|
-
[data-skin="fulcrum"]:is(*, :scope) [data-treat="panel"] [data-slot="copy"] { padding: 1.75rem 1.375rem; }
|
|
51330
|
+
[data-skin="fulcrum"]:is(*, :scope) :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="section"] { padding-top: 13rem; }
|
|
51331
|
+
[data-skin="fulcrum"]:is(*, :scope) :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"] { padding: 1.75rem 1.375rem; }
|
|
51332
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"] [data-slot="section"] { padding-top: 8.5rem; }
|
|
51333
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: 2rem; }
|
|
51334
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"] [data-slot="copy"] { padding: 1.25rem 1.375rem; }
|
|
51335
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
51336
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
49918
51337
|
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement] [data-slot="item-title"] { font-size: 1.5rem; }
|
|
49919
51338
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="cards"] [data-slot="item-body"] { padding: 1.5rem 1.375rem; }
|
|
49920
51339
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="pathway"] [data-slot="lead"] > [data-slot="item-body"] { padding: 2rem 1.625rem; }
|
|
@@ -50182,6 +51601,25 @@ const containerResponsiveThemeCss = `/*
|
|
|
50182
51601
|
[data-skin="fulcrum"] :is([data-treat="team-portraits"], [data-treat="team-bio"]) [data-slot="photo"] { position: relative; filter: grayscale(1) contrast(1.05); }
|
|
50183
51602
|
[data-skin="fulcrum"] :is([data-treat="team-portraits"], [data-treat="team-bio"], [data-treat="team-names"]) [data-slot="chip"] { border-radius: 999px; }
|
|
50184
51603
|
|
|
51604
|
+
/* One person (issue 1629): the photo on the offset plate at its full step. With no photo the bio opens in the heading face under a hairline. */
|
|
51605
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { margin: 0 1rem 1rem 0; }
|
|
51606
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::before { inset: 1rem -1rem -1rem 1rem; }
|
|
51607
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { aspect-ratio: 4 / 4.6; }
|
|
51608
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { margin-top: 1.125rem; padding-top: 1.375rem; border-top: 1px solid var(--rb-surface-line-color); max-width: none; }
|
|
51609
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > * { max-width: 34em; color: var(--rb-surface-heading-color); }
|
|
51610
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > * + * { color: var(--rb-surface-text-color, inherit); }
|
|
51611
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > :first-child { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.4; letter-spacing: -0.01em; }
|
|
51612
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child { gap: 2.25rem; }
|
|
51613
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person="portrait"] [data-card-list-item] [data-slot="item-title"] { font-size: 1.75rem; letter-spacing: -0.015em; }
|
|
51614
|
+
@container rb-site (max-width: 767px) {
|
|
51615
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
51616
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { margin: 0 0.625rem 2.75rem 0; }
|
|
51617
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::before { inset: 0.625rem -0.625rem -0.625rem 0.625rem; }
|
|
51618
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { aspect-ratio: 1 / 1; }
|
|
51619
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > :first-child { font-size: 1.3125rem; }
|
|
51620
|
+
}
|
|
51621
|
+
}
|
|
51622
|
+
|
|
50185
51623
|
|
|
50186
51624
|
/* ---------------------------------------------------- Prices (C2) */
|
|
50187
51625
|
[data-skin="fulcrum"] :is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]) [data-slot="item-title"] { position: relative; padding-top: 1rem; font-size: 1.25rem; }
|
|
@@ -50384,13 +51822,25 @@ const containerResponsiveThemeCss = `/*
|
|
|
50384
51822
|
[data-skin="poster"] [data-treat="strip"] [data-slot="gallery"] [data-slot="sticker"] { position: absolute; top: -1.75rem; right: 12%; }
|
|
50385
51823
|
|
|
50386
51824
|
/* classic · band: the photo fills the section; the copy sits on a block that runs to the edge. */
|
|
50387
|
-
[data-skin="poster"] [data-treat="band"] > [data-slot="section"] { padding-top: clamp(14rem, 26cqi, 22rem); }
|
|
50388
|
-
[data-skin="poster"] [data-treat="band"] [data-slot="copy"] {
|
|
51825
|
+
[data-skin="poster"] :is([data-treat="band"], [data-treat="short-band"]) > [data-slot="section"] { padding-top: clamp(14rem, 26cqi, 22rem); }
|
|
51826
|
+
[data-skin="poster"] :is([data-treat="band"], [data-treat="short-band"]) [data-slot="copy"] {
|
|
50389
51827
|
max-width: min(46rem, 100%);
|
|
50390
51828
|
padding: clamp(1.75rem, 3cqi, 2.75rem) clamp(1.75rem, 3cqi, 2.75rem) clamp(2rem, 3.4cqi, 3rem);
|
|
50391
51829
|
border: var(--poster-edge);
|
|
50392
51830
|
box-shadow: var(--poster-lift) var(--poster-lift) 0 var(--poster-shadow);
|
|
50393
51831
|
}
|
|
51832
|
+
/* Short photo banner: the same block over a shallow strip of photo. */
|
|
51833
|
+
[data-skin="poster"] [data-treat="short-band"] > [data-slot="section"] { padding-top: clamp(6rem, 12cqi, 10.5rem); padding-bottom: clamp(2rem, 3.4cqi, 3rem); }
|
|
51834
|
+
[data-skin="poster"] [data-treat="short-band"][data-has-photo="false"] > [data-slot="section"] { padding-top: clamp(2rem, 3.4cqi, 3rem); }
|
|
51835
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"] { padding: clamp(1.25rem, 2cqi, 1.75rem) clamp(1.5rem, 3cqi, 2.75rem) clamp(1.375rem, 2.2cqi, 2rem); gap: 0.625rem; }
|
|
51836
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
51837
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(58rem, 100%); }
|
|
51838
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
51839
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
51840
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
51841
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
51842
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
51843
|
+
[data-skin="poster"] [data-arrangement][data-treat="short-band"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.875rem, 2.9cqi, 2.625rem); line-height: 0.94; }
|
|
50394
51844
|
|
|
50395
51845
|
/* page-head · numeral: no photo; with no facts to set huge, the title takes the measure over a heavy rule. */
|
|
50396
51846
|
[data-skin="poster"] [data-treat="numeral"] [data-slot="copy"] {
|
|
@@ -50647,7 +52097,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
50647
52097
|
}
|
|
50648
52098
|
[data-skin="poster"]:is(*, :scope) [data-treat="slab"] [data-slot="media"] [data-slot="sticker"] { left: auto; right: 1rem; top: -0.875rem; font-size: 1.1875rem; }
|
|
50649
52099
|
[data-skin="poster"]:is(*, :scope) [data-treat="strip"] [data-slot="gallery"] { margin-inline: -1rem; }
|
|
50650
|
-
[data-skin="poster"]:is(*, :scope) [data-treat="band"] > [data-slot="section"] { padding-top: 13rem; }
|
|
52100
|
+
[data-skin="poster"]:is(*, :scope) :is([data-treat="band"], [data-treat="short-band"]) > [data-slot="section"] { padding-top: 13rem; }
|
|
52101
|
+
[data-skin="poster"]:is(*, :scope) [data-arrangement][data-treat="short-band"] > [data-slot="section"] { padding-top: 8.5rem; }
|
|
52102
|
+
[data-skin="poster"]:is(*, :scope) [data-arrangement][data-treat="short-band"][data-has-photo="false"] > [data-slot="section"] { padding-top: 2rem; }
|
|
52103
|
+
[data-skin="poster"]:is(*, :scope) [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
52104
|
+
[data-skin="poster"]:is(*, :scope) [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
50651
52105
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="head"] { grid-template-columns: minmax(0, 1fr); row-gap: 0.75rem; }
|
|
50652
52106
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="head"] > [data-slot="intro"] { grid-column: 1; }
|
|
50653
52107
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="heading"] { font-size: 3rem; }
|
|
@@ -50914,6 +52368,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
50914
52368
|
}
|
|
50915
52369
|
}
|
|
50916
52370
|
|
|
52371
|
+
/* One person (issue 1629): the heading runs the width of the copy column, a step under a section title, beside the duotone slab. */
|
|
52372
|
+
[data-skin="poster"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) > [data-slot="head"] { grid-template-columns: minmax(0, 1fr); }
|
|
52373
|
+
[data-skin="poster"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) > [data-slot="head"] > [data-slot="heading"] { font-size: clamp(2.75rem, 5cqi, 4rem); }
|
|
52374
|
+
|
|
50917
52375
|
|
|
50918
52376
|
/* ---------------------------------------------------- Prices (C2) */
|
|
50919
52377
|
[data-skin="poster"] :is(:is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]), [data-treat="shop-price-list"]) [data-slot="item-title"] { font-weight: 800; font-stretch: 62%; font-size: 2rem; }
|
|
@@ -51049,7 +52507,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
51049
52507
|
[data-skin="lantern"] [data-arrangement] [data-slot="head"]::before,
|
|
51050
52508
|
[data-skin="lantern"] [data-treat="arches"] [data-slot="copy"]::before,
|
|
51051
52509
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="copy"]::before,
|
|
51052
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"]::before,
|
|
52510
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"]::before,
|
|
51053
52511
|
[data-skin="lantern"] [data-treat="quote-arch"] [data-slot="lead"] > [data-slot="quote"]::before {
|
|
51054
52512
|
content: "";
|
|
51055
52513
|
position: absolute;
|
|
@@ -51063,7 +52521,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
51063
52521
|
[data-skin="lantern"] [data-arrangement] [data-slot="head"]::after,
|
|
51064
52522
|
[data-skin="lantern"] [data-treat="arches"] [data-slot="copy"]::after,
|
|
51065
52523
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="copy"]::after,
|
|
51066
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"]::after,
|
|
52524
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"]::after,
|
|
51067
52525
|
[data-skin="lantern"] [data-treat="quote-arch"] [data-slot="lead"] > [data-slot="quote"]::after {
|
|
51068
52526
|
content: "";
|
|
51069
52527
|
position: absolute;
|
|
@@ -51101,7 +52559,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
51101
52559
|
[data-skin="lantern"] [data-length="long"] [data-slot="headline"] { font-size: clamp(2.125rem, 3.4cqi, 3rem); line-height: 1.08; }
|
|
51102
52560
|
|
|
51103
52561
|
/* Centred copy shared by the centred hero treatments. */
|
|
51104
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="copy"] {
|
|
52562
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="copy"] {
|
|
51105
52563
|
position: relative;
|
|
51106
52564
|
grid-column: 1 / -1;
|
|
51107
52565
|
justify-items: center;
|
|
@@ -51110,9 +52568,9 @@ const containerResponsiveThemeCss = `/*
|
|
|
51110
52568
|
max-width: 56rem;
|
|
51111
52569
|
margin-inline: auto;
|
|
51112
52570
|
}
|
|
51113
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"]) [data-slot="copy"] { padding-top: 2.5rem; }
|
|
51114
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="actions"] { justify-content: center; }
|
|
51115
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="lede"] { text-align: center; }
|
|
52571
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { padding-top: 2.5rem; }
|
|
52572
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="actions"] { justify-content: center; }
|
|
52573
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="lede"] { text-align: center; }
|
|
51116
52574
|
|
|
51117
52575
|
/* split · arch: one arched window beside a left-set title, lined inside. */
|
|
51118
52576
|
[data-skin="lantern"] [data-treat="arch"] [data-slot="frame"] { column-gap: var(--rb-skin-gutter, 32px); }
|
|
@@ -51155,16 +52613,16 @@ const containerResponsiveThemeCss = `/*
|
|
|
51155
52613
|
/* classic · veil: the photo fills the section; the copy is a band in the deepest tone
|
|
51156
52614
|
* at its foot (the copy slot is the card role, which Lantern maps to that tone). Under the
|
|
51157
52615
|
* type the band is the resolved opaque paint; above it the same paint fades up into the photo. */
|
|
51158
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="section"] { padding-bottom: 0; padding-top: clamp(14rem, 26cqi, 22rem); overflow: clip; }
|
|
51159
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="copy"] { max-width: none; padding: 3rem 0 4.5rem; }
|
|
51160
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"] {
|
|
52616
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="section"] { padding-bottom: 0; padding-top: clamp(14rem, 26cqi, 22rem); overflow: clip; }
|
|
52617
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { max-width: none; padding: 3rem 0 4.5rem; justify-content: center; }
|
|
52618
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"] {
|
|
51161
52619
|
margin-inline: calc(50% - 50cqi);
|
|
51162
52620
|
padding-inline: calc(50cqi - 50%);
|
|
51163
52621
|
}
|
|
51164
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="copy"] > * { justify-self: center; max-width: 56rem; }
|
|
51165
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"] > [data-slot="lede"] { max-width: 34em; }
|
|
52622
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] > * { justify-self: center; max-width: 56rem; }
|
|
52623
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"] > [data-slot="lede"] { max-width: 34em; }
|
|
51166
52624
|
/* Above the band, the same resolved paint fades up into the photo. */
|
|
51167
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"]::before {
|
|
52625
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"]::before {
|
|
51168
52626
|
content: "";
|
|
51169
52627
|
position: absolute;
|
|
51170
52628
|
left: 0;
|
|
@@ -51180,8 +52638,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
51180
52638
|
}
|
|
51181
52639
|
/* With a photo the copy pseudo is the fade (and in the arch frame it is the inner arch),
|
|
51182
52640
|
* so the lozenge sits on the headline. */
|
|
51183
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"] { position: relative; padding-top: 2.25rem; }
|
|
51184
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::before {
|
|
52641
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"] { position: relative; padding-top: 2.25rem; }
|
|
52642
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::before {
|
|
51185
52643
|
content: "";
|
|
51186
52644
|
position: absolute;
|
|
51187
52645
|
top: 0;
|
|
@@ -51191,7 +52649,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
51191
52649
|
transform: translateX(-50%);
|
|
51192
52650
|
background: linear-gradient(to right, var(--rb-surface-mark-color) 0 34px, transparent 34px 58px, var(--rb-surface-mark-color) 58px) center 4px / 92px 1px no-repeat;
|
|
51193
52651
|
}
|
|
51194
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::after {
|
|
52652
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::after {
|
|
51195
52653
|
content: "";
|
|
51196
52654
|
position: absolute;
|
|
51197
52655
|
top: 1px;
|
|
@@ -51201,12 +52659,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
51201
52659
|
border: 1.5px solid var(--rb-surface-mark-color);
|
|
51202
52660
|
transform: translateX(-50%) rotate(45deg);
|
|
51203
52661
|
}
|
|
51204
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"] {
|
|
52662
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"] {
|
|
51205
52663
|
padding: 4.5rem 2.75rem 4rem;
|
|
51206
52664
|
border-radius: 12px;
|
|
51207
52665
|
max-width: 61rem;
|
|
51208
52666
|
}
|
|
51209
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="caption"] { order: -1; }
|
|
52667
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="caption"] { order: -1; }
|
|
52668
|
+
/* Short photo banner: the same veil band at the foot of a shallow strip of photo. */
|
|
52669
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="true"] [data-slot="section"] { padding-top: clamp(9rem, 15cqi, 12.5rem); }
|
|
52670
|
+
[data-skin="lantern"] [data-treat="short-veil"] [data-slot="copy"] { padding: 1rem 0 2.25rem; gap: 0.625rem; }
|
|
52671
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="true"] [data-slot="copy"]::before { height: 6rem; }
|
|
52672
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
52673
|
+
[data-skin="lantern"] [data-arrangement][data-treat="short-veil"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.75rem, 2.9cqi, 2.625rem); line-height: 1.08; }
|
|
52674
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="false"] [data-slot="copy"] { padding: 2.5rem 2.75rem 2.25rem; }
|
|
51210
52675
|
|
|
51211
52676
|
/* page-head · centred: the title centred on the ground, the lozenge above it. */
|
|
51212
52677
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="facts"] {
|
|
@@ -51243,7 +52708,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
51243
52708
|
opacity: 0.55;
|
|
51244
52709
|
}
|
|
51245
52710
|
|
|
51246
|
-
[data-skin="lantern"] :is([data-treat="arch-frame"], [data-treat="veil"]) [data-slot="eyebrow"] { order: 5; }
|
|
52711
|
+
[data-skin="lantern"] :is([data-treat="arch-frame"], [data-treat="veil"], [data-treat="short-veil"]) [data-slot="eyebrow"] { order: 5; }
|
|
51247
52712
|
[data-skin="lantern"] [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] { aspect-ratio: 16 / 7; }
|
|
51248
52713
|
[data-skin="lantern"] [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] [data-slot="photo"] { border-radius: var(--lantern-arch-wide); }
|
|
51249
52714
|
[data-skin="lantern"] [data-treat="arch-frame"] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: 50%; top: -1.5rem; transform: translateX(-50%); white-space: nowrap; }
|
|
@@ -51639,9 +53104,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
51639
53104
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"][data-photo-count="3"] [data-slot="gallery"] { grid-template-columns: 0.5fr 1fr 0.5fr; }
|
|
51640
53105
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"] [data-slot="gallery"] [data-slot="media"] { aspect-ratio: 3 / 3.6; }
|
|
51641
53106
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"] [data-slot="gallery"] [data-slot="sticker"] { bottom: 1.5rem; white-space: normal; width: max-content; max-width: 80%; }
|
|
51642
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"][data-has-photo="true"] [data-slot="section"] { padding-top: 15rem; }
|
|
51643
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"] [data-slot="copy"] { padding-bottom: 3rem; }
|
|
51644
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"][data-has-photo="false"] [data-slot="copy"] { padding: 3.5rem 1.375rem 3rem; }
|
|
53107
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="section"] { padding-top: 15rem; }
|
|
53108
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { padding-bottom: 3rem; }
|
|
53109
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"] { padding: 3.5rem 1.375rem 3rem; }
|
|
53110
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"][data-has-photo="true"] [data-slot="section"] { padding-top: 9.5rem; }
|
|
53111
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"] [data-slot="copy"] { padding-bottom: 1.75rem; }
|
|
53112
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"] [data-slot="actions"] { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
53113
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"][data-has-photo="false"] [data-slot="copy"] { padding: 2rem 1.375rem 1.75rem; }
|
|
51645
53114
|
[data-skin="lantern"]:is(*, :scope) [data-treat="centred"] [data-slot="facts"] > * + * { border-left: 0; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
|
|
51646
53115
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arch-frame"] [data-slot="copy"] { padding: 6.5rem 1.25rem 2.5rem; }
|
|
51647
53116
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] { aspect-ratio: 4 / 3; }
|
|
@@ -52163,6 +53632,38 @@ const containerResponsiveThemeCss = `/*
|
|
|
52163
53632
|
[data-skin="lantern"] :is([data-treat="team-portraits"], [data-treat="team-bio"]) [data-slot="photo"] { border-radius: 48% 48% var(--rb-skin-radius, 10px) var(--rb-skin-radius, 10px); }
|
|
52164
53633
|
[data-skin="lantern"] :is([data-treat="team-portraits"], [data-treat="team-bio"], [data-treat="team-names"]) [data-slot="chip"] { border-radius: 999px; }
|
|
52165
53634
|
|
|
53635
|
+
/* One person (issue 1629): the photo through the arched window with the bio set left beside it. With no photo the head stays centred over the bio on a lit panel. */
|
|
53636
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) { column-gap: var(--rb-skin-gutter, 32px); }
|
|
53637
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] { justify-items: start; justify-self: start; text-align: left; margin: 0; }
|
|
53638
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] > [data-slot="heading"] { text-align: left; }
|
|
53639
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::before { left: 0; transform: none; }
|
|
53640
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::after { left: 41px; transform: rotate(45deg); }
|
|
53641
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { grid-column: 2 / 6; border-radius: var(--lantern-arch); overflow: hidden; }
|
|
53642
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::after { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid var(--rb-surface-text-color); border-bottom: 0; border-radius: var(--lantern-arch); opacity: 0.8; pointer-events: none; }
|
|
53643
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { border-radius: 0; }
|
|
53644
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-meta"] { font-size: 1.125rem; font-weight: 400; }
|
|
53645
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-text"] { max-width: 31em; font-size: 1.25rem; line-height: 1.6; color: var(--rb-surface-text-color); }
|
|
53646
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="false"]) { display: block; }
|
|
53647
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="false"]) > [data-slot="head"] { margin-inline: auto; }
|
|
53648
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-meta"] { text-align: center; }
|
|
53649
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { max-width: 47.5rem; margin: 2.25rem auto 0; padding: 2.5rem 3rem; border-radius: var(--rb-skin-radius, 10px); background: rgb(var(--tb-surface)); color: rgb(var(--tb-onSurface)); }
|
|
53650
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child { flex-direction: column; gap: 1.375rem; }
|
|
53651
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item] { text-align: center; }
|
|
53652
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child > [data-slot="item-media"] { width: 13.75rem; }
|
|
53653
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child > [data-slot="item-body"] { align-items: center; }
|
|
53654
|
+
@container rb-site (max-width: 767px) {
|
|
53655
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
53656
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] { justify-items: center; justify-self: center; text-align: center; margin-inline: auto; }
|
|
53657
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] > [data-slot="heading"] { text-align: center; }
|
|
53658
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::before { left: 50%; transform: translateX(-50%); }
|
|
53659
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::after { left: 50%; transform: translateX(-50%) rotate(45deg); }
|
|
53660
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { width: min(250px, 100%); margin: 0 auto 2.25rem; }
|
|
53661
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-meta"] { align-self: stretch; text-align: center; }
|
|
53662
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-text"] { font-size: 1.15625rem; }
|
|
53663
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { padding: 1.75rem 1.5rem; }
|
|
53664
|
+
}
|
|
53665
|
+
}
|
|
53666
|
+
|
|
52166
53667
|
|
|
52167
53668
|
/* ---------------------------------------------------- Prices (C2) */
|
|
52168
53669
|
[data-skin="lantern"] :is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]) [data-slot="item-body"] { align-items: center; text-align: center; padding-block: 2rem; }
|
|
@@ -52238,6 +53739,12 @@ const containerResponsiveThemeCss = `/*
|
|
|
52238
53739
|
[data-skin="lantern"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { border-radius: var(--lantern-arch); }
|
|
52239
53740
|
[data-skin="lantern"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { border-radius: var(--rb-skin-radius, 12px); }
|
|
52240
53741
|
|
|
53742
|
+
/* One offering in a catalogue reads left to right beside its dates, so the
|
|
53743
|
+
* centred column and its niche (made for a row of columns) stand down. */
|
|
53744
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"] [data-slot="item-body"]::before { display: none; }
|
|
53745
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"],
|
|
53746
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"] [data-slot="item-body"] { justify-items: start; text-align: start; }
|
|
53747
|
+
|
|
52241
53748
|
/* =============================================================================
|
|
52242
53749
|
* Measure skin (issue 1575 Phase 1b, D14).
|
|
52243
53750
|
*
|
|
@@ -52951,11 +54458,22 @@ const containerResponsiveThemeCss = `/*
|
|
|
52951
54458
|
[data-skin="folio"] [data-arrangement] [data-control="link"]:hover { text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
|
|
52952
54459
|
|
|
52953
54460
|
/* Hero: the surface resolver owns the copy sheet. Authored backgrounds stay authored. */
|
|
52954
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="section"] { padding-top: 140px; padding-bottom: clamp(48px, 7cqi, 96px); min-height: clamp(560px, 54cqi, 820px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
|
|
52955
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="section"] > [data-slot="frame"] { width: 100%; }
|
|
52956
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="copy"] { position: relative; width: fit-content; max-width: min(46rem, 100%); padding: clamp(28px, 3.2cqi, 44px) clamp(28px, 3.4cqi, 48px); border-radius: 10px; box-shadow: none; gap: 24px; }
|
|
52957
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="copy"]::before { content: ""; position: absolute; top: 0; left: clamp(28px, 3.4cqi, 48px); width: 44px; height: 2px; background: var(--rb-surface-mark-color); }
|
|
52958
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="headline"] { font-size: clamp(2.25rem, 1.5rem + 2.2cqi, 3.25rem); line-height: 1.06; }
|
|
54461
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] { padding-top: 140px; padding-bottom: clamp(48px, 7cqi, 96px); min-height: clamp(560px, 54cqi, 820px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
|
|
54462
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="frame"] { width: 100%; }
|
|
54463
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"] { position: relative; width: fit-content; max-width: min(46rem, 100%); padding: clamp(28px, 3.2cqi, 44px) clamp(28px, 3.4cqi, 48px); border-radius: 10px; box-shadow: none; gap: 24px; }
|
|
54464
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"]::before { content: ""; position: absolute; top: 0; left: clamp(28px, 3.4cqi, 48px); width: 44px; height: 2px; background: var(--rb-surface-mark-color); }
|
|
54465
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="headline"] { font-size: clamp(2.25rem, 1.5rem + 2.2cqi, 3.25rem); line-height: 1.06; }
|
|
54466
|
+
/* Short photo banner: the same sheet over a shallow strip of photo. */
|
|
54467
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="section"] { padding-top: 128px; padding-bottom: clamp(32px, 3.4cqi, 48px); min-height: clamp(340px, 28cqi, 420px); }
|
|
54468
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"] { padding: clamp(22px, 2.2cqi, 30px) clamp(28px, 3.4cqi, 48px); gap: 10px; }
|
|
54469
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
54470
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(58rem, 100%); }
|
|
54471
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
54472
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
54473
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
54474
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
54475
|
+
[data-skin="folio"] [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: clamp(40px, 5cqi, 72px); min-height: 0; }
|
|
54476
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="headline"] { font-size: clamp(1.75rem, 1.25rem + 1.4cqi, 2.375rem); line-height: 1.1; }
|
|
52959
54477
|
[data-skin="folio"] [data-treat="hero-framed"] [data-slot="frame"] { column-gap: clamp(32px, 5cqi, 72px); }
|
|
52960
54478
|
[data-skin="folio"] [data-treat="hero-framed"] [data-slot="media"] { aspect-ratio: 1 / 0.92; border-radius: 14px; overflow: hidden; }
|
|
52961
54479
|
[data-skin="folio"] [data-treat="hero-ruled"] [data-slot="copy"] { border-bottom: 1px solid var(--rb-surface-line-color); padding-bottom: 32px; }
|
|
@@ -53007,13 +54525,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
53007
54525
|
[data-skin="folio"] [data-treat="cards-accent-edged"] [data-slot="item-body"] { padding: 20px 22px 24px; gap: 10px; border-top: 2px solid var(--rb-surface-mark-color); }
|
|
53008
54526
|
[data-skin="folio"] [data-treat="cards-accent-edged"] [data-slot="item-text"] { --rb-surface-supporting-color: var(--rb-surface-text-color); color: var(--rb-surface-text-color); font-size: 15px; }
|
|
53009
54527
|
|
|
53010
|
-
/* Calendar:
|
|
54528
|
+
/* Calendar: untinted date rails, sheet surfaces and ordinary themed actions. */
|
|
53011
54529
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="list"] { border: 1px solid var(--rb-surface-line-color); border-radius: 10px; padding: 6px 32px; }
|
|
53012
|
-
[data-skin="folio"] [data-treat="calendar-card"] :is([data-slot="row"], [data-slot="row-continued"]) { display: grid; grid-template-columns: 64px minmax(0, 1fr)
|
|
54530
|
+
[data-skin="folio"] [data-treat="calendar-card"] :is([data-slot="row"], [data-slot="row-continued"]) { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto minmax(9rem, auto); align-items: center; gap: 0 20px; padding-block: 18px; border-top: 1px solid var(--rb-surface-line-color); }
|
|
53013
54531
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="row"]:first-child { border-top: 0; }
|
|
53014
54532
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="row-continued"] [data-slot="date"] { visibility: hidden; }
|
|
53015
54533
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="time"] { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
|
|
53016
|
-
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="action"] { grid-column: 5; grid-row: 1; justify-self: end; text-align: right; font-size: 14px; }
|
|
54534
|
+
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="action"] { grid-column: 5; min-width: 0; grid-row: 1; justify-self: end; text-align: right; font-size: 14px; }
|
|
53017
54535
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="date"] { grid-column: 1; grid-row: 1; }
|
|
53018
54536
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="what"] { grid-column: 2; grid-row: 1; }
|
|
53019
54537
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="time"] { grid-column: 3; grid-row: 1; }
|
|
@@ -53026,7 +54544,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
53026
54544
|
[data-skin="folio"] [data-arrangement] [data-slot="day"] { font: 500 1.75rem/1 var(--font-heading); color: var(--rb-surface-text-color); }
|
|
53027
54545
|
[data-skin="folio"] [data-arrangement] :is([data-slot="weekday"], [data-slot="month"]) { font: 600 11px/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
|
|
53028
54546
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="actions"] { display: grid; grid-auto-flow: column; gap: 20px; align-items: center; font-variant-numeric: tabular-nums; }
|
|
53029
|
-
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] { border: 1px solid var(--rb-surface-line-color); border-radius: 10px; padding:
|
|
54547
|
+
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] { border: 1px solid var(--rb-surface-line-color); border-radius: 10px; padding: 0; overflow: hidden; }
|
|
54548
|
+
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] > :not([data-slot="item-media"]) { margin-inline: 22px; }
|
|
54549
|
+
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] > :first-child:not([data-slot="item-media"]) { margin-top: 22px; }
|
|
54550
|
+
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] > :last-child { margin-bottom: 22px; }
|
|
53030
54551
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
|
|
53031
54552
|
[data-skin="folio"] [data-treat="calendar-sheets"][data-arrangement] [data-slot="item"] > [data-slot="date"] { align-self: flex-start; width: auto; min-height: 0; border-radius: 6px; padding: 5px 10px; display: inline-flex; flex-direction: row; gap: 6px; align-items: baseline; }
|
|
53032
54553
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="date"] > * { display: inline; }
|
|
@@ -53035,8 +54556,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
53035
54556
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item-body"] { flex: 1; display: flex; flex-direction: column; gap: 8px; }
|
|
53036
54557
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item-actions"] { margin-top: auto; padding-top: 10px; }
|
|
53037
54558
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item-actions"] > * { display: flex; width: 100%; box-sizing: border-box; justify-content: center; min-height: 44px; }
|
|
53038
|
-
[data-skin="folio"]
|
|
53039
|
-
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="list"] { border: 0; border-radius: 0; padding: 0; }
|
|
54559
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="list"] { border: 1px solid var(--rb-surface-line-color); border-radius: 16px; overflow: hidden; padding: 0; }
|
|
53040
54560
|
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="date"] { display: grid; justify-items: center; gap: 4px; min-width: 56px; }
|
|
53041
54561
|
[data-skin="folio"] [data-treat="calendar-month"] [data-slot="grid"] { gap: 0; padding: 20px 20px 16px; border: 1px solid var(--rb-surface-line-color); border-radius: 10px; }
|
|
53042
54562
|
[data-skin="folio"] [data-treat="calendar-month"] [data-slot="group-label"] { padding: 0 8px 10px; font: 600 12px/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-surface-muted-color); }
|
|
@@ -53091,14 +54611,21 @@ const containerResponsiveThemeCss = `/*
|
|
|
53091
54611
|
[data-skin="folio"]:is(*, :scope) [data-arrangement] [data-slot="section"] { --rb-section-pad-y: 56px; }
|
|
53092
54612
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: 56px; }
|
|
53093
54613
|
[data-skin="folio"]:is(*, :scope) :is([data-slot="schedule-section"], [data-slot="shop-section"]) { --rb-section-pad-y: 56px; }
|
|
53094
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] { padding-top: 0; padding-bottom: 0; min-height: 0; display: block; }
|
|
53095
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] > [data-slot="background"] { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; }
|
|
53096
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] > [data-slot="background"] [data-slot="photo"] { width: 100%; height: 100%; }
|
|
53097
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="frame"] { margin-top: -72px; padding-top: 0; padding-bottom: 8px; }
|
|
54614
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] { padding-top: 0; padding-bottom: 0; min-height: 0; display: block; }
|
|
54615
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="background"] { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; }
|
|
54616
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="background"] [data-slot="photo"] { width: 100%; height: 100%; }
|
|
54617
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="frame"] { margin-top: -72px; padding-top: 0; padding-bottom: 8px; }
|
|
54618
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="section"] > [data-slot="background"] { aspect-ratio: 4 / 3; }
|
|
54619
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="frame"] { margin-top: -44px; }
|
|
54620
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
54621
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
54622
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: 24px; }
|
|
54623
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] > [data-slot="background"] { aspect-ratio: auto; height: 0; }
|
|
54624
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="frame"] { margin-top: 0; }
|
|
53098
54625
|
[data-skin="folio"]:is(*, :scope) [data-arrangement] [data-slot="frame"] > * { grid-column: 1 / -1; }
|
|
53099
54626
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-knob-image-position] [data-slot="frame"] > * { grid-column: 1 / -1; }
|
|
53100
54627
|
[data-skin="folio"]:is(*, :scope) [data-treat="intro-ruled-split"] [data-slot="copy"] { border-left: 0; padding-left: 0; }
|
|
53101
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="copy"] { max-width: none; }
|
|
54628
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"] { max-width: none; }
|
|
53102
54629
|
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
53103
54630
|
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; min-height: 48px; }
|
|
53104
54631
|
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-card"] [data-slot="list"] { padding: 4px 16px; }
|
|
@@ -53130,10 +54657,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
53130
54657
|
[data-skin="folio"] [data-treat="body-reading"] [data-slot="heading"]::before { content: ""; display: block; width: 44px; height: 2px; background: var(--rb-surface-mark-color); margin-bottom: 18px; }
|
|
53131
54658
|
[data-skin="folio"] :is([data-treat="cards-sheet"], [data-treat="cards-open"], [data-treat="cards-accent-edged"]) [data-slot="head"] { justify-self: center; width: 100%; margin-inline: auto; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
|
|
53132
54659
|
[data-skin="folio"] :is([data-treat="cards-sheet"], [data-treat="cards-open"], [data-treat="cards-accent-edged"]) [data-slot="head"] [data-slot="intro"] { max-width: 40rem; }
|
|
53133
|
-
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel"] { max-width: none; padding:
|
|
54660
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel"] { max-width: none; padding: 36px 40px; border: 0; }
|
|
53134
54661
|
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="head"]::before { content: none; }
|
|
53135
|
-
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel-heading"] { margin-bottom:
|
|
53136
|
-
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel-heading"]::before { content:
|
|
54662
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel-heading"] { margin-bottom: 28px; font-size: 2.125rem; }
|
|
54663
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel-heading"]::before { content: none; }
|
|
53137
54664
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="frame"] { display: block; }
|
|
53138
54665
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="panel"] { max-width: none; width: 100%; box-sizing: border-box; }
|
|
53139
54666
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="stack"] > :has(> [data-slot="panel"]) { max-width: none; width: 100%; }
|
|
@@ -53171,9 +54698,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
53171
54698
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-text"] { font-size: 1.0625rem; }
|
|
53172
54699
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] [data-slot="item"] [data-slot="facts"] { margin-top: 8px; }
|
|
53173
54700
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-body"] > [data-slot="item-actions"] { margin-top: 8px; padding-top: 0; }
|
|
53174
|
-
[data-skin="folio"] [data-arrangement][data-treat="carousel-wide-sheet"] [data-control="dots"] { order: -1; flex: 1; justify-content: flex-start; margin: 0 0 0 -8px; }
|
|
53175
54701
|
|
|
53176
|
-
/* A row of cards: the same sheet at a third width, photo on top,
|
|
54702
|
+
/* A row of cards: the same sheet at a third width, photo on top, centred navigation below. */
|
|
53177
54703
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] { --rb-skin-gutter: 24px; }
|
|
53178
54704
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] [data-slot="item"] [data-has-date-plate] { min-height: 0; aspect-ratio: 4 / 3; }
|
|
53179
54705
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-media"] [data-slot="photo"] { height: auto; aspect-ratio: 4 / 3; }
|
|
@@ -53181,11 +54707,9 @@ const containerResponsiveThemeCss = `/*
|
|
|
53181
54707
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-title"] { font-size: clamp(1.5rem, 1.35rem + 0.5cqi, 1.75rem); line-height: 1.1; }
|
|
53182
54708
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-text"] { font-size: 15.5px; }
|
|
53183
54709
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] [data-slot="item"] [data-slot="item-body"] > [data-slot="item-actions"] { padding-top: 6px; }
|
|
53184
|
-
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-slot="controls"] { justify-content: flex-start; }
|
|
53185
|
-
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-control="dots"] { order: 1; flex: 0 1 auto; margin: 0; }
|
|
53186
54710
|
|
|
53187
|
-
/* Shared: soft sheet cards, the type chip with its mark dot, muted text, ruled facts, the quiet date plate and
|
|
53188
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list][data-slot="frame"] { gap:
|
|
54711
|
+
/* Shared: soft sheet cards, the type chip with its mark dot, muted text, ruled facts, the quiet date plate and centred neutral navigation. */
|
|
54712
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list][data-slot="frame"] { gap: 0; }
|
|
53189
54713
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] { border: 1px solid var(--rb-surface-line-color); border-radius: 10px; overflow: hidden; box-shadow: none; }
|
|
53190
54714
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] [data-slot="chips"] { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
|
|
53191
54715
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] [data-slot="chip"] { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; font: 600 12px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-surface-link-color); }
|
|
@@ -53200,10 +54724,17 @@ const containerResponsiveThemeCss = `/*
|
|
|
53200
54724
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] [data-has-date-plate] [data-slot="date"] { gap: 10px; }
|
|
53201
54725
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] [data-has-date-plate] [data-slot="day"] { font-family: var(--font-heading); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; color: var(--rb-surface-link-color); }
|
|
53202
54726
|
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-card-list] [data-slot="item"] [data-has-date-plate] :is([data-slot="weekday"], [data-slot="month"]) { font-size: 13px; letter-spacing: 0.12em; }
|
|
53203
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="controls"] { align-items: center; gap: 10px; margin-top:
|
|
53204
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="controls"] [data-slot="control"] { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid var(--rb-
|
|
53205
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-control="dots"] { display: flex; gap: 0; }
|
|
53206
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-control="dot"] { width:
|
|
54727
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="controls"] { align-items: center; justify-content: center; gap: 10px; margin-top: 32px; }
|
|
54728
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="controls"] [data-slot="control"] { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; --rb-carousel-control-border-opacity: 45%; --rb-carousel-control-surface: rgb(var(--tb-surface)); --rb-carousel-control-hover-opacity: 10%; border: 1px solid var(--rb-carousel-control-border); border-radius: 50%; background: var(--rb-carousel-control-background); color: var(--rb-surface-text-color); }
|
|
54729
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="controls"] [data-control="dots"] { display: flex; flex: 0 1 auto; gap: 0; margin: 0; }
|
|
54730
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-control="dot"] { width: 44px; color: var(--rb-surface-text-color); }
|
|
54731
|
+
/* Shared Folio card photo motion: clipping preserves geometry; reduced motion opts out. */
|
|
54732
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="calendar-sheets"], [data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="item-media"] { overflow: hidden; }
|
|
54733
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="calendar-sheets"], [data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="item-media"] > *:focus-visible { outline: 2px solid var(--rb-surface-text-color); outline-offset: -3px; }
|
|
54734
|
+
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
|
|
54735
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="calendar-sheets"], [data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="item-media"] [data-slot="photo"] { transition: transform 300ms ease; }
|
|
54736
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="calendar-sheets"], [data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-slot="item"]:hover [data-slot="item-media"] [data-slot="photo"] { transform: scale(1.04); }
|
|
54737
|
+
}
|
|
53207
54738
|
@container rb-site (max-width: 767px) {
|
|
53208
54739
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
53209
54740
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] { --rb-skin-gutter: 16px; }
|
|
@@ -53303,6 +54834,282 @@ const containerResponsiveThemeCss = `/*
|
|
|
53303
54834
|
[data-skin="folio"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
53304
54835
|
[data-skin="folio"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border-radius: var(--rb-skin-radius, 10px); }
|
|
53305
54836
|
|
|
54837
|
+
/* Live next dates use the same card parts in every arrangement. */
|
|
54838
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="dates"] { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
54839
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="dates"] [data-slot="date"] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.75rem; padding-block: 0.625rem; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); text-align: start; font-variant-numeric: tabular-nums; }
|
|
54840
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="date-places"] { color: var(--rb-surface-muted-color, var(--rb-surface-text-color)); font-size: 0.875rem; }
|
|
54841
|
+
|
|
54842
|
+
/* Text over photo keeps copy within the gradient's protected lower area. */
|
|
54843
|
+
[data-skin="folio"] [data-treat="hero-photo-overlay"] [data-slot="section"] { min-height: clamp(640px, 60cqi, 860px); padding-top: 220px; padding-bottom: clamp(40px, 5cqi, 72px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
|
|
54844
|
+
[data-skin="folio"] [data-treat="hero-photo-overlay"] [data-slot="section"] > [data-slot="frame"] { width: 100%; }
|
|
54845
|
+
[data-skin="folio"] [data-treat="hero-photo-overlay"] [data-slot="copy"] { max-width: 46rem; margin-inline: 0 auto; padding: 0; gap: 24px; text-align: left; }
|
|
54846
|
+
[data-skin="folio"] [data-treat="hero-photo-overlay"] [data-slot="headline"] { font-size: clamp(2.375rem, 1.65rem + 2.5cqi, 3.75rem); line-height: 1.08; }
|
|
54847
|
+
[data-skin="folio"] [data-treat="hero-photo-overlay"] [data-slot="actions"] { justify-content: flex-start; }
|
|
54848
|
+
@container rb-site (max-width: 767px) {
|
|
54849
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54850
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-photo-overlay"] [data-slot="section"] { min-height: 680px; padding-top: 200px; padding-bottom: 40px; }
|
|
54851
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-photo-overlay"] [data-slot="copy"] { gap: 20px; }
|
|
54852
|
+
}
|
|
54853
|
+
}
|
|
54854
|
+
|
|
54855
|
+
/* Compact rows retain the date / details / booking rails of the editorial timetable. */
|
|
54856
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="row"] { grid-template-columns: 100px minmax(0, 1fr) 280px; gap: 0 32px; padding: 16px 28px; border-top: 1px solid var(--rb-surface-line-color); }
|
|
54857
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="row"]:first-child { border-top: 0; }
|
|
54858
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="date"] { padding: 0 24px 0 0; border-inline-end: 1px solid var(--rb-surface-line-color); }
|
|
54859
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="item-title"] { font-size: 1.375rem; }
|
|
54860
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="item-meta"] { margin-top: 10px; font-size: 14px; color: var(--rb-surface-muted-color); }
|
|
54861
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="row"] > [data-slot="item-actions"] { align-items: stretch; padding-inline-start: 32px; border-inline-start: 1px solid var(--rb-surface-line-color); }
|
|
54862
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="time"] { font-size: 14px; color: var(--rb-surface-muted-color); }
|
|
54863
|
+
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="action"] > * { width: 100%; box-sizing: border-box; }
|
|
54864
|
+
@container rb-site (max-width: 1023px) {
|
|
54865
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54866
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-compact"] [data-slot="panel"] { padding: 24px 20px; }
|
|
54867
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-compact"] [data-slot="row"] { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 20px; padding: 20px; }
|
|
54868
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-compact"] [data-slot="date"] { grid-column: 1; grid-row: 1 / span 2; padding-inline-end: 16px; }
|
|
54869
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-compact"] [data-slot="what"] { grid-column: 2; grid-row: 1; }
|
|
54870
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-compact"] [data-slot="row"] > [data-slot="item-actions"] { grid-column: 2; align-items: flex-start; padding: 0; border: 0; }
|
|
54871
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-card"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: 56px minmax(0, 1fr); gap: 6px 14px; }
|
|
54872
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-card"] [data-slot="date"] { grid-row: 1 / span 4; }
|
|
54873
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-card"] :is([data-slot="time"], [data-slot="places"], [data-slot="action"]) { grid-column: 2; grid-row: auto; justify-self: start; }
|
|
54874
|
+
}
|
|
54875
|
+
}
|
|
54876
|
+
|
|
54877
|
+
[data-skin="folio"] [data-treat="calendar-compact"] :is([data-slot="weekday"], [data-slot="month"]) { color: var(--rb-surface-link-color); }
|
|
54878
|
+
|
|
54879
|
+
/* =============================================================================
|
|
54880
|
+
* Loom skin.
|
|
54881
|
+
*
|
|
54882
|
+
* Textile craft: sections are stitched together with dashed seams, cards and
|
|
54883
|
+
* photo frames are sheets with a stitched edge and a flat offset patch behind
|
|
54884
|
+
* them, and a short solid tack ties text to the seams. Grounds are flat.
|
|
54885
|
+
*
|
|
54886
|
+
* Bounded skin: only the shared hooks and slots, colours only from tokens and
|
|
54887
|
+
* resolved-surface variables, measurements from the --rb-skin-* tokens Loom
|
|
54888
|
+
* declares (radius, rule, mark-length, mark-weight, plate, gutter, copy-gap,
|
|
54889
|
+
* stack-gap, shadow-offset).
|
|
54890
|
+
*
|
|
54891
|
+
* How this file is organised (later slices keep to it):
|
|
54892
|
+
* 1. Thread: the local --loom-* properties every stitch is drawn from.
|
|
54893
|
+
* 2. Section chrome: padding, the seam, section heads, shared type.
|
|
54894
|
+
* 3. Shared pieces: sheets, photo frames, the tack, links, focus.
|
|
54895
|
+
* 4. Blocks, one banner each, in this order: hero, feature cards, event
|
|
54896
|
+
* calendar, testimonials, FAQ, call to action, newsletter signup. A block
|
|
54897
|
+
* keeps its own narrow-screen rules directly under its wide rules.
|
|
54898
|
+
* Treatments are addressed as [data-skin="loom"] [data-treat="<name>"] and a
|
|
54899
|
+
* shared piece is joined by adding the treatment to the :is() list of that piece.
|
|
54900
|
+
* ============================================================================= */
|
|
54901
|
+
|
|
54902
|
+
/* ---------------------------------------------------------------- 1. Thread */
|
|
54903
|
+
/* Surface variables live on slots, not on the block root, so every --loom-* property is defined on slots.
|
|
54904
|
+
* The thread is the stitching colour. On the grounds the palette designs for (page, band and sheet) it is
|
|
54905
|
+
* the border token, the palette contrast thread. Anywhere else (the brand field, the deep field, a ground
|
|
54906
|
+
* the owner chose) it is the surface text colour, which the resolver has already checked. */
|
|
54907
|
+
[data-skin="loom"] [data-arrangement] [data-slot] {
|
|
54908
|
+
--loom-thread: var(--rb-surface-text-color);
|
|
54909
|
+
--loom-stitch: var(--rb-skin-rule, 2px) dashed var(--loom-thread);
|
|
54910
|
+
--loom-patch: var(--rb-skin-shadow-offset, 3px) var(--rb-skin-shadow-offset, 3px) 0 var(--loom-thread);
|
|
54911
|
+
--loom-inner-radius: calc(var(--rb-skin-radius, 14px) / 2);
|
|
54912
|
+
}
|
|
54913
|
+
[data-skin="loom"] [data-arrangement]:is([data-surface="background"], [data-surface="surfaceAlt"]) [data-slot] { --loom-thread: rgb(var(--tb-border)); }
|
|
54914
|
+
[data-skin="loom"] [data-arrangement] [data-slot]:is([data-surface="primary"], [data-surface="secondary"], [data-surface="text"]),
|
|
54915
|
+
[data-skin="loom"] [data-arrangement] :is([data-surface="primary"], [data-surface="secondary"], [data-surface="text"]) [data-slot] { --loom-thread: var(--rb-surface-text-color); }
|
|
54916
|
+
[data-skin="loom"] [data-arrangement] [data-slot]:is([data-surface="surface"], [data-surface="background"], [data-surface="surfaceAlt"]),
|
|
54917
|
+
[data-skin="loom"] [data-arrangement] :is([data-surface="surface"], [data-surface="background"], [data-surface="surfaceAlt"]) [data-slot] { --loom-thread: rgb(var(--tb-border)); }
|
|
54918
|
+
|
|
54919
|
+
/* ------------------------------------------------------- 2. Section chrome */
|
|
54920
|
+
/* Every section opens with a seam drawn on its own ground in its own thread. */
|
|
54921
|
+
[data-skin="loom"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); }
|
|
54922
|
+
[data-skin="loom"] [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); }
|
|
54923
|
+
[data-skin="loom"] [data-arrangement] [data-slot="section"]::before { content: ""; position: absolute; inset: 0 0 auto; border-top: var(--loom-stitch); pointer-events: none; }
|
|
54924
|
+
|
|
54925
|
+
/* Section heads: a serif title with an optional muted line under it. No kicker. */
|
|
54926
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] { gap: 0.6rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4cqi, 2.75rem); }
|
|
54927
|
+
[data-skin="loom"] [data-arrangement] [data-slot="heading"] { font-size: clamp(1.8rem, 3.4cqi, 2.6rem); font-weight: 560; line-height: 1.12; letter-spacing: -0.008em; text-wrap: balance; overflow-wrap: anywhere; }
|
|
54928
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] [data-slot="intro"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); font-size: 1.1rem; line-height: 1.55; color: var(--rb-surface-muted-color); text-wrap: pretty; }
|
|
54929
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] [data-slot="intro"] > * { margin: 0; font: inherit; color: inherit; }
|
|
54930
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item-title"] { font-size: 1.35rem; font-weight: 560; line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
|
|
54931
|
+
[data-skin="loom"] [data-arrangement] [data-slot="lede"] { font-size: 1.2rem; line-height: 1.55; text-wrap: pretty; }
|
|
54932
|
+
|
|
54933
|
+
/* The eyebrow is rare (hero, page head, event header) and always leads with a tack. */
|
|
54934
|
+
[data-skin="loom"] [data-arrangement] [data-slot="eyebrow"] { display: flex; align-items: center; gap: 0.65rem; font: 700 0.8rem/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
|
|
54935
|
+
[data-skin="loom"] [data-arrangement] [data-slot="eyebrow"]::before { content: ""; flex: none; width: var(--rb-skin-mark-length, 30px); height: var(--rb-skin-mark-weight, 4px); border-radius: 2px; background: var(--rb-surface-mark-color); }
|
|
54936
|
+
|
|
54937
|
+
/* Headline steps: the length class and the knob pick the step, the browser never measures. */
|
|
54938
|
+
[data-skin="loom"] [data-arrangement] [data-slot="headline"] { font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; overflow-wrap: anywhere; }
|
|
54939
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(3.2rem, 8cqi, 6rem); }
|
|
54940
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54941
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(2.6rem, 6cqi, 4.5rem); }
|
|
54942
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="quiet"] [data-slot="headline"],
|
|
54943
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54944
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(2.1rem, 4.6cqi, 3.4rem); line-height: 1.08; }
|
|
54945
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="quiet"] [data-slot="headline"],
|
|
54946
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54947
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="quiet"] [data-slot="headline"] { font-size: clamp(1.9rem, 3.8cqi, 2.8rem); line-height: 1.1; }
|
|
54948
|
+
|
|
54949
|
+
/* -------------------------------------------------------- 3. Shared pieces */
|
|
54950
|
+
/* Sheets: an item that owns a surface is a card with a stitched edge and a flat patch behind it. */
|
|
54951
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item"][data-surface]:not([data-surface="section"]) { border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); }
|
|
54952
|
+
|
|
54953
|
+
/* Photo frames: the photo sits inside a stitched frame, one plate in from the edge. */
|
|
54954
|
+
[data-skin="loom"] :is([data-treat="hero-framed"]) [data-slot="media"] { border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); overflow: visible; }
|
|
54955
|
+
[data-skin="loom"] [data-arrangement]:is([data-treat="hero-framed"]) [data-slot="media"] [data-slot="photo"] { inset: var(--rb-skin-plate, 10px); width: calc(100% - 2 * var(--rb-skin-plate, 10px)); height: calc(100% - 2 * var(--rb-skin-plate, 10px)); border-radius: var(--loom-inner-radius); }
|
|
54956
|
+
|
|
54957
|
+
/* The tack: a short solid bar in the mark colour over a card title. */
|
|
54958
|
+
[data-skin="loom"] :is([data-treat="cards-sewn"]) [data-slot="item-title"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 30px); height: var(--rb-skin-mark-weight, 4px); margin-bottom: 0.85rem; border-radius: 2px; background: var(--rb-surface-mark-color); }
|
|
54959
|
+
|
|
54960
|
+
/* Links in running text: a solid underline in the mark colour. Dashes are kept for seams and edges. */
|
|
54961
|
+
[data-skin="loom"] [data-arrangement] [data-control="link"] { text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: var(--rb-surface-mark-color); text-decoration-thickness: 2px; text-underline-offset: 4px; }
|
|
54962
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item-title"] > :focus-visible { outline: 3px solid var(--rb-surface-mark-color); outline-offset: 3px; border-radius: 4px; }
|
|
54963
|
+
|
|
54964
|
+
/* ------------------------------------------------------------------- Hero */
|
|
54965
|
+
/* hero-framed: copy in seven columns, a tall stitched frame in five, the sticker sewn onto the frame corner. */
|
|
54966
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="frame"] { column-gap: clamp(2rem, 5cqi, 4rem); }
|
|
54967
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="copy"] { grid-column: 1 / 8; }
|
|
54968
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="media"] { grid-column: 8 / 13; align-self: center; aspect-ratio: 4 / 5; max-height: 560px; }
|
|
54969
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="copy"] { grid-column: 6 / 13; }
|
|
54970
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / 6; }
|
|
54971
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-has-photo="false"] [data-slot="copy"] { grid-column: 1 / -1; max-width: 46rem; margin-inline: 0 auto; }
|
|
54972
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="stack"] { gap: 1.2rem; }
|
|
54973
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="lede"] { max-width: 34rem; }
|
|
54974
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="actions"] { margin-top: 0.6rem; gap: 0.9rem 1rem; }
|
|
54975
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="sticker"] { position: absolute; top: 1.75rem; left: -1.25rem; max-width: min(18rem, 80%); padding: 0.55rem 1.1rem; border-radius: 8px; outline: 1.5px solid var(--rb-surface-text-color); outline-offset: -5px; font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
|
|
54976
|
+
@container rb-site (max-width: 767px) {
|
|
54977
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54978
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
54979
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="copy"],
|
|
54980
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="media"],
|
|
54981
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="copy"],
|
|
54982
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / -1; grid-row: auto; }
|
|
54983
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="media"] { order: 1; aspect-ratio: 4 / 3; max-height: none; }
|
|
54984
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="sticker"] { left: -0.5rem; top: 1.25rem; }
|
|
54985
|
+
}
|
|
54986
|
+
}
|
|
54987
|
+
@container rb-site (max-width: 639px) {
|
|
54988
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54989
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement] [data-slot="lede"] { font-size: 1.1rem; }
|
|
54990
|
+
[data-skin="loom"]:is(*, :scope) [data-treat="hero-framed"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
54991
|
+
[data-skin="loom"]:is(*, :scope) [data-treat="hero-framed"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
54992
|
+
}
|
|
54993
|
+
}
|
|
54994
|
+
|
|
54995
|
+
/* ---------------------------------------------------------- Feature cards */
|
|
54996
|
+
/* cards-sewn: three sheets across, no photos and no numerals, a tack over each title, muted text. */
|
|
54997
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rb-skin-gutter, 24px); }
|
|
54998
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-media"] { display: none; }
|
|
54999
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item"] > [data-slot="item-body"] { gap: 0.7rem; padding: 1.75rem; }
|
|
55000
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-text"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); flex: 1; color: var(--rb-surface-muted-color); line-height: 1.6; }
|
|
55001
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-actions"] { margin-top: 0.4rem; }
|
|
55002
|
+
@container rb-site (max-width: 1023px) {
|
|
55003
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55004
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
55005
|
+
}
|
|
55006
|
+
}
|
|
55007
|
+
@container rb-site (max-width: 639px) {
|
|
55008
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55009
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: minmax(0, 1fr); }
|
|
55010
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="item"] > [data-slot="item-body"] { padding: 1.5rem; }
|
|
55011
|
+
}
|
|
55012
|
+
}
|
|
55013
|
+
|
|
55014
|
+
/* --------------------------------------------------------- Event calendar */
|
|
55015
|
+
/* calendar-session-cards: ticket rows. A big date numeral in the mark colour, then the title, the facts
|
|
55016
|
+
* with the places pill at the end of the line, and the action on the right. No photos.
|
|
55017
|
+
* The body is flattened into the row grid so the action can sit beside it, or under a seam on phones. */
|
|
55018
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="list"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
|
|
55019
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.3rem 1.5rem; padding: 1.4rem 1.75rem; }
|
|
55020
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-media"] { display: none; }
|
|
55021
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] > [data-slot="item-body"] { display: contents; }
|
|
55022
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] > [data-slot="date"] { grid-column: 1; grid-row: 1 / span 3; align-items: center; gap: 0.25rem; min-width: 4.6rem; text-align: center; }
|
|
55023
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="date"] [data-slot="day"] { font-family: var(--font-heading); font-size: 42px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--rb-surface-mark-color); }
|
|
55024
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="date"] :is([data-slot="weekday"], [data-slot="month"]) { font-size: 0.8rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-surface-muted-color); }
|
|
55025
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] :is([data-slot="item-title"], [data-slot="item-meta"], [data-slot="item-text"]) { grid-column: 2; margin: 0; }
|
|
55026
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-meta"] { font-size: 0.95rem; line-height: 1.75; color: var(--rb-surface-muted-color); }
|
|
55027
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-text"] { font-size: 0.95rem; line-height: 1.5; color: var(--rb-surface-muted-color); }
|
|
55028
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-event-places] { display: inline-block; margin-left: 0.15rem; padding: 0.1rem 0.75rem; border: 1.5px solid var(--loom-thread); border-radius: 999px; font-size: 0.875rem; font-weight: 700; line-height: 1.5; white-space: nowrap; color: var(--rb-surface-text-color); }
|
|
55029
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-actions"] { grid-column: 3; grid-row: 1 / span 3; margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--rb-surface-muted-color); }
|
|
55030
|
+
/* Week view: quiet outlined controls beside the date range. */
|
|
55031
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
|
|
55032
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] [data-slot="control"] { min-height: 44px; padding: 0.5rem 1rem; border: 2px solid var(--rb-surface-text-color); border-radius: 8px; background: transparent; color: var(--rb-surface-text-color); font: 700 0.95rem/1.2 var(--font-body); }
|
|
55033
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] [data-slot="group-label"] { font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
55034
|
+
@container rb-site (max-width: 767px) {
|
|
55035
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55036
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] { grid-template-columns: auto minmax(0, 1fr); gap: 0.3rem 1.1rem; padding: 1.25rem; }
|
|
55037
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-actions"] { grid-column: 1 / -1; grid-row: auto; display: flex; justify-content: flex-end; margin-top: 0.7rem; padding-top: 1rem; border-top: var(--loom-stitch); }
|
|
55038
|
+
}
|
|
55039
|
+
}
|
|
55040
|
+
|
|
55041
|
+
/* ----------------------------------------------------------- Testimonials */
|
|
55042
|
+
/* quote-lead: one large centred quote on the ground under a hung mark, then the rest as quote cards. */
|
|
55043
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="items"] { gap: var(--rb-skin-gutter, 24px); }
|
|
55044
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="lead"] { justify-self: center; justify-items: center; gap: 1rem; max-width: 46rem; margin-bottom: 1rem; text-align: center; }
|
|
55045
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="quote"] { font-family: var(--font-heading); font-size: clamp(1.5rem, 3cqi, 2.1rem); font-style: italic; font-weight: 480; line-height: 1.35; text-wrap: pretty; }
|
|
55046
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="quote"]::before { content: "\\201C"; display: block; margin-bottom: 1rem; font-size: 54px; font-style: normal; line-height: 0.6; color: var(--rb-surface-mark-color); }
|
|
55047
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="attribution"] { justify-content: center; }
|
|
55048
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="item"] { gap: 0.9rem; padding: 1.6rem; }
|
|
55049
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="item"] > [data-slot="quote"] { font-family: var(--font-heading); font-size: 1.12rem; font-style: italic; font-weight: 400; line-height: 1.5; }
|
|
55050
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; }
|
|
55051
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] [data-slot="item-title"] { font-family: var(--font-body); font-size: inherit; font-weight: 700; line-height: inherit; }
|
|
55052
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] [data-slot="item-meta"] { color: var(--rb-surface-muted-color); }
|
|
55053
|
+
@container rb-site (max-width: 1023px) {
|
|
55054
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55055
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="quote-lead"] [data-slot="items"],
|
|
55056
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="quote-lead"] [data-slot="items"]:has(> [data-slot="item"]:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); gap: var(--rb-skin-gutter, 24px); }
|
|
55057
|
+
}
|
|
55058
|
+
}
|
|
55059
|
+
|
|
55060
|
+
/* ------------------------------------------------------------------- FAQ */
|
|
55061
|
+
/* faq-under: ruled disclosure rows. A dashed seam sits above each question and under the last one, and the
|
|
55062
|
+
* plus or minus marker stays in the text colour. The list is set flush with the heading rather than centred.
|
|
55063
|
+
* The question button adds its own inset, so the title and marker are pulled back out to the seams. */
|
|
55064
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="layout"] { margin-left: 0; }
|
|
55065
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] { max-width: 50rem; border-bottom: var(--loom-stitch); }
|
|
55066
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] > [data-slot="item"][data-surface] { border-top: var(--loom-stitch); }
|
|
55067
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="item"] > * { padding: 0; margin-block: -0.35rem; }
|
|
55068
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="item-title"] { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; margin-left: -1.5rem; }
|
|
55069
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="icon"] { color: var(--rb-surface-text-color); margin-right: -1.25rem; }
|
|
55070
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="item-text"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); padding: 0 0.25rem 1.3rem; color: var(--rb-surface-muted-color); line-height: 1.6; max-width: 44rem; }
|
|
55071
|
+
|
|
55072
|
+
/* ------------------------------------------------------- Call to action */
|
|
55073
|
+
/* cta-centred: a centred headline and line of text, with the buttons underneath. */
|
|
55074
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="copy"] { max-width: 52rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
|
|
55075
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="head"] { justify-items: center; text-align: center; max-width: 40rem; margin: 0 auto 1.1rem; }
|
|
55076
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="eyebrow"] { justify-content: center; color: var(--rb-surface-text-color); }
|
|
55077
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="heading"] { font-size: clamp(2.1rem, 4.6cqi, 3.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; }
|
|
55078
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="intro"] { max-width: 40rem; margin: 0 auto 2rem; font-size: 1.2rem; line-height: 1.55; color: var(--rb-surface-text-color); }
|
|
55079
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] { justify-content: center; margin: 0 auto; }
|
|
55080
|
+
@container rb-site (max-width: 639px) {
|
|
55081
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55082
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="intro"] { font-size: 1.1rem; }
|
|
55083
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
55084
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
55085
|
+
}
|
|
55086
|
+
}
|
|
55087
|
+
|
|
55088
|
+
/* ---------------------------------------------------------- Newsletter */
|
|
55089
|
+
/* signup-text-beside: heading and text on the left, the email field and the button in one row on the right.
|
|
55090
|
+
* The panel is handed a stitched sheet, since the Loom offer gives it the sheet role and the skin cannot clear
|
|
55091
|
+
* the inline paint. Phones stack the form. */
|
|
55092
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] { align-items: center; }
|
|
55093
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="head"] { grid-row: 1; align-self: center; }
|
|
55094
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"]:has([data-slot="heading"]) > [data-slot="panel"] { grid-column: 7 / 13; }
|
|
55095
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] > [data-slot="panel"] { grid-row: 1; align-self: center; padding: clamp(1.25rem, 2.5cqi, 1.75rem); border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); }
|
|
55096
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="grid"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 0.75rem; }
|
|
55097
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="item"] { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; }
|
|
55098
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="row"] { grid-column: 1; grid-row: 2; margin: 0; min-width: 0; }
|
|
55099
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
|
|
55100
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="caption"] { margin-top: 0.75rem; color: var(--rb-surface-muted-color); }
|
|
55101
|
+
@container rb-site (max-width: 1023px) {
|
|
55102
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
55103
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] > [data-slot="panel"] { grid-column: 1 / -1; grid-row: auto; }
|
|
55104
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="head"] { grid-column: 1 / -1; }
|
|
55105
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="grid"] { grid-template-columns: minmax(0, 1fr); }
|
|
55106
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="item"] { grid-row: 1; }
|
|
55107
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="row"] { grid-column: 1; grid-row: 2; }
|
|
55108
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] { grid-column: 1; grid-row: 3; align-self: stretch; }
|
|
55109
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
55110
|
+
}
|
|
55111
|
+
}
|
|
55112
|
+
|
|
53306
55113
|
/* Geometry display contract (issue 1611). Theme-core's map token contract
|
|
53307
55114
|
* (surfaces/mapDrawingTokens.ts) supplies every --map-* value from the section
|
|
53308
55115
|
* ground and site style. Fallbacks use existing opaque section theme roles,
|
|
@@ -54028,8 +55835,17 @@ function parseBlocksTheme(theme) {
|
|
|
54028
55835
|
if (!parsed.ok) throw new Error(`Theme does not satisfy the canonical runtime contract: ${parsed.error.kind}`);
|
|
54029
55836
|
return parsed.value;
|
|
54030
55837
|
}
|
|
54031
|
-
|
|
54032
|
-
|
|
55838
|
+
/**
|
|
55839
|
+
* Block tokens for a stored theme. The SDK decides the ink policy itself: only
|
|
55840
|
+
* a render whose own scope emits the stored theme's CSS (`cms-theme`) may
|
|
55841
|
+
* publish solved inks. Anything else withholds, because a bridge or a
|
|
55842
|
+
* consumer's own CSS may give the tokens different values.
|
|
55843
|
+
*/
|
|
55844
|
+
function buildThemeRuntime(theme, solvedInks = "withhold") {
|
|
55845
|
+
return { tokens: {
|
|
55846
|
+
...buildThemeRuntime$1(parseBlocksTheme(theme)).tokens,
|
|
55847
|
+
solvedInks
|
|
55848
|
+
} };
|
|
54033
55849
|
}
|
|
54034
55850
|
//#endregion
|
|
54035
55851
|
//#region src/rendering/blocks-page-renderer.ts
|
|
@@ -54069,8 +55885,7 @@ function toBlocksPageRendererDataContext(dataContext) {
|
|
|
54069
55885
|
...resolveDateRuntimeContext(dataContext.dateContext?.timeZone ?? dataContext.bookingTimeZone),
|
|
54070
55886
|
...dataContext.dateContext?.locale ? { locale: dataContext.dateContext.locale } : {}
|
|
54071
55887
|
},
|
|
54072
|
-
|
|
54073
|
-
imageResolveContext: toBlocksImageResolveContextInput(dataContext.imageResolveContext)
|
|
55888
|
+
...resolveBlocksPageMediaContext(dataContext)
|
|
54074
55889
|
};
|
|
54075
55890
|
}
|
|
54076
55891
|
function toBlocksCommonProps(props) {
|
|
@@ -54145,6 +55960,20 @@ function planLayoutThemeRuntime(input) {
|
|
|
54145
55960
|
}
|
|
54146
55961
|
return requested;
|
|
54147
55962
|
}
|
|
55963
|
+
/**
|
|
55964
|
+
* The one SDK rule for solved surface inks: only the runtime that emits the
|
|
55965
|
+
* stored theme's own CSS publishes them. A page whose layout emits that CSS
|
|
55966
|
+
* but whose own runtime is `none` withholds, so its sections reset the inks
|
|
55967
|
+
* rather than disagree with the scope around them.
|
|
55968
|
+
*/
|
|
55969
|
+
function solvedInksForThemeRuntime(themeRuntime) {
|
|
55970
|
+
switch (themeRuntime.kind) {
|
|
55971
|
+
case "cms-theme": return "publish";
|
|
55972
|
+
case "responsive-only":
|
|
55973
|
+
case "none": return "withhold";
|
|
55974
|
+
default: return assertNever$1(themeRuntime);
|
|
55975
|
+
}
|
|
55976
|
+
}
|
|
54148
55977
|
function renderWithSdkThemeRuntime({ themeRuntime, theme, children }) {
|
|
54149
55978
|
switch (themeRuntime.kind) {
|
|
54150
55979
|
case "cms-theme": return /* @__PURE__ */ jsx(ThemeScope, {
|
|
@@ -54176,7 +56005,11 @@ function isOverrideOnlyPage(props) {
|
|
|
54176
56005
|
return props.rendering?.kind === "overrides-only";
|
|
54177
56006
|
}
|
|
54178
56007
|
function resolvePageThemeTokens(props) {
|
|
54179
|
-
const
|
|
56008
|
+
const solvedInks = solvedInksForThemeRuntime(props.themeRuntime ?? defaultPageThemeRuntime);
|
|
56009
|
+
const baseTokens = {
|
|
56010
|
+
...props.themeTokens ?? buildThemeRuntime(props.theme).tokens,
|
|
56011
|
+
solvedInks
|
|
56012
|
+
};
|
|
54180
56013
|
return props.sdkConfig?.theme?.palette ? {
|
|
54181
56014
|
...baseTokens,
|
|
54182
56015
|
palette: {
|
|
@@ -54226,6 +56059,7 @@ function buildPageIdentityRenderContext(dataContext) {
|
|
|
54226
56059
|
}
|
|
54227
56060
|
function PageContent(props) {
|
|
54228
56061
|
const rendererCommonProps = buildPageRendererProps(props);
|
|
56062
|
+
const themeTokens = isOverrideOnlyPage(props) ? void 0 : resolvePageThemeTokens(props);
|
|
54229
56063
|
const content = isOverrideOnlyPage(props) ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
54230
56064
|
...rendererCommonProps,
|
|
54231
56065
|
rendering: { kind: "overrides-only" },
|
|
@@ -54233,16 +56067,23 @@ function PageContent(props) {
|
|
|
54233
56067
|
}) : /* @__PURE__ */ jsx(PageRenderer, {
|
|
54234
56068
|
...rendererCommonProps,
|
|
54235
56069
|
theme: props.theme,
|
|
54236
|
-
themeTokens
|
|
56070
|
+
themeTokens,
|
|
54237
56071
|
blockOverrides: props.blockOverrides
|
|
54238
56072
|
});
|
|
56073
|
+
const children = themeTokens?.solvedInks === "publish" ? content : /* @__PURE__ */ jsx("div", {
|
|
56074
|
+
style: {
|
|
56075
|
+
display: "contents",
|
|
56076
|
+
...surfaceInkStyle({ kind: "reset" })
|
|
56077
|
+
},
|
|
56078
|
+
children: content
|
|
56079
|
+
});
|
|
54239
56080
|
return isOverrideOnlyPage(props) ? renderWithOverrideOnlyRuntime({
|
|
54240
56081
|
runtime: props.rendering.runtime,
|
|
54241
|
-
children
|
|
56082
|
+
children
|
|
54242
56083
|
}) : renderWithSdkThemeRuntime({
|
|
54243
56084
|
themeRuntime: props.themeRuntime ?? defaultPageThemeRuntime,
|
|
54244
56085
|
theme: props.theme,
|
|
54245
|
-
children
|
|
56086
|
+
children
|
|
54246
56087
|
});
|
|
54247
56088
|
}
|
|
54248
56089
|
/** The page shell owns the complete block context for both rendering modes. */
|
|
@@ -54337,4 +56178,4 @@ function Page(props) {
|
|
|
54337
56178
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
|
|
54338
56179
|
}
|
|
54339
56180
|
//#endregion
|
|
54340
|
-
export {
|
|
56181
|
+
export { unwrapResponse as $, renderBlock as A, compileManifestContentContract as B, siteLocationRenderContext as C, requireSdkTheme as D, MissingSdkThemeError as E, resolveRouteHrefForStage as F, createBearerAPIClient as G, deriveFieldValidationPlan as H, getBlockDefinition as I, isSupportedLoaderEndpoint$1 as J, createInternalAPIClient as K, siteFooterManifest as L, resolveAuthoredLinkHref as M, isRouteVisibleInStage as N, prefetchBlockDataWithFailures as O, normalizeRenderStage as P, isApiError as Q, siteHeaderManifest as R, sanitizeSdkRuntimeBlockContent as S, MISSING_SDK_THEME_ERROR_CODE as T, encodePublicProductCategorySelector as U, admitLayoutGridForPlan as V, ApiRequestError as W, resolveSdkFooterMode as X, resolveFooterRenderPlan as Y, ApiEnvelopeError as Z, collectMediaAssetSidecar as _, solvedInksForThemeRuntime as a, readPublishedBlockPlacement as at, readInvalidBlockAdmission as b, MissingBlockOverrideError as c, buildThemeRuntime as d, PUBLIC_READ_ENDPOINT_DEFINITIONS as et, parseBlocksTheme as f, buildSiteRenderSupport as g, buildRenderablePageOutline as h, renderWithSdkThemeRuntime as i, publicReadFreshnessSeconds as it, getDefaultComponentRegistry as j, makeDefaultBlockComponent as k, PageRenderer as l, BINDING_TRANSFORM_VALUES as m, planLayoutThemeRuntime as n, getPublicReadCachePolicy as nt, ThemeScope as o, applyBindingsToContent as p, setSdkVersion as q, renderWithOverrideOnlyRuntime as r, isPublicReadEndpoint as rt, EditorPageRenderer as s, Page as t, TAG_TEMPLATES as tt, toBlocksPageRendererDataContext as u, invalidRenderableBlock as v, resolveSiteCustomBlocks as w, resolveSdkBlockManifest as x, projectRenderablePageOutline as y, admitTransportedRenderableManifestContent as z };
|