@riverbankcms/sdk 0.162.0 → 0.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +3 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-Chh3bnXC.d.ts} +1 -1
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-GJ1kGBsi.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-CaL0nKkl.d.ts} +81 -26
- package/dist/_dts/{index-DEu85xBt.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-CyQhZuhM.d.ts} +49 -3
- package/dist/_dts/{index-C39F9KaB.d.ts → index-D2y4Iy-d.d.ts} +1 -1
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DRxgeK8L.d.ts} +4 -3
- package/dist/_dts/{index-Du1IRglc.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DiLZoInK.d.ts} +7 -7
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CfNG5koF.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-ffa6920T.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-BfnOmxYD.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-wlyxASdT.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-B9oKSitp.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-BEF9HrAy.mjs} +584 -251
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-Bll4QwBi.mjs} +12 -12
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BFwxgZpB.mjs → context-Bg0SFWcM.mjs} +1 -1
- package/dist/client/{cta-DtA42Xio.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-CV45BH5M.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-SFtS9OkF.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-DIkX2S-X.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-4XFGzJpT.mjs} +3 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-VD4arFq1.mjs} +3 -3
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-qYbsatxH.mjs} +19 -19
- package/dist/client/rendering/client.mjs +26 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +19 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-BFwQDvJL.mjs} +846 -497
- package/dist/client/{shop-CF0dhnfH.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-Cf_kASpd.mjs} +44 -26
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-dy54AUdz.mjs} +747 -32
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-Bi8ruFgB.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-DiLbDqM3.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-BpBjo9Te.mjs → view-OvsxzgxP.mjs} +7 -7
- package/dist/client/{view-DMyTchi7.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-kbONzKUv.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +10 -8
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +139 -1264
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-nUnE3iMv.mjs} +403 -66
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-DHtSQIBE.mjs} +12933 -11769
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-Chq5KKKh.mjs} +3782 -2453
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-CxCstfkP.mjs} +9 -0
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-C2Q56xqV.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs} +713 -12
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-D7ItMsEl.mjs} +4 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-W1Cc6srh.mjs} +177 -80
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Cn9k3DW6.mjs} +10 -6
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-BVcJ6TG7.mjs} +11 -2
- package/dist/server/{registry-Digv02oV.mjs → registry-4ZF3bUuJ.mjs} +97 -42
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-DgrigZq9.mjs} +4118 -3769
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-CxE9F3hj.mjs} +36 -22
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-08GY1njw.mjs → src-C44_fMy5.mjs} +291 -106
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-CVc04B9m.mjs} +2 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +162 -72
- package/package.json +1 -1
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,21 +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 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-
|
|
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-
|
|
7
|
-
import { _ as plainTextToInlineText, g as parseInlineTextFromUnknown, h as inlineTextToPlainText, m as coerceInlineTextWithFallback } from "./timetableModel-
|
|
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-
|
|
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 { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-
|
|
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-
|
|
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";
|
|
13
13
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
14
14
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
15
|
-
import { t as formatDate$1 } from "./formatDate-
|
|
15
|
+
import { t as formatDate$1 } from "./formatDate-BKil_Psb.mjs";
|
|
16
16
|
import { s as declarativeCarouselSlides } from "./carousel.shared-DBnWEJzo.mjs";
|
|
17
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
18
|
-
import {
|
|
17
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
|
|
18
|
+
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-CGJE1Omu.mjs";
|
|
19
19
|
import * as React$1 from "react";
|
|
20
20
|
import React from "react";
|
|
21
21
|
import { z } from "zod";
|
|
@@ -3595,6 +3595,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3595
3595
|
auth: "user",
|
|
3596
3596
|
responseKind: "json"
|
|
3597
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
|
+
},
|
|
3598
3607
|
/** Continue on Free from the onboarding card page; only the attempt's owner. */
|
|
3599
3608
|
continueOnboardingOnFree: {
|
|
3600
3609
|
path: "/onboarding/attempts/{attemptToken}/plan/free",
|
|
@@ -13528,13 +13537,14 @@ const FLOATING_BLUR = "blur(16px)";
|
|
|
13528
13537
|
* Similar to button system - generates theme-scoped CSS using [data-theme-scope] selector
|
|
13529
13538
|
*/
|
|
13530
13539
|
function generateHeaderCss(options) {
|
|
13531
|
-
const { themeId, theme, responsiveMode = DEFAULT_THEME_RESPONSIVE_MODE } = options;
|
|
13540
|
+
const { themeId, theme, responsiveMode = DEFAULT_THEME_RESPONSIVE_MODE, solvedInks = "withhold" } = options;
|
|
13532
13541
|
const tokens = new TokenResolver(theme);
|
|
13533
13542
|
const header = theme.header;
|
|
13534
13543
|
const cssChunks = [];
|
|
13535
13544
|
const headerContrastTreatment = resolveHeaderContrastTreatment(header);
|
|
13536
13545
|
const headerNavTextSize = resolveHeaderNavTextSize(header);
|
|
13537
|
-
cssChunks.push(generateHeaderRootStyles(header, themeId, tokens));
|
|
13546
|
+
cssChunks.push(generateHeaderRootStyles(header, themeId, tokens, headerPaintInks(header, theme, solvedInks)));
|
|
13547
|
+
cssChunks.push(generateOpeningPhotoShade(header, themeId));
|
|
13538
13548
|
cssChunks.push(generateMobileOverlayBackdropFilterFix(themeId, header.variant));
|
|
13539
13549
|
cssChunks.push(generateHeaderLogoStyles({
|
|
13540
13550
|
logo: header.logo,
|
|
@@ -13548,17 +13558,23 @@ function generateHeaderCss(options) {
|
|
|
13548
13558
|
}));
|
|
13549
13559
|
cssChunks.push(generateLogoTextBehaviorStyles(header.logoText, themeId));
|
|
13550
13560
|
cssChunks.push(generateHeaderNavLinkStyles(header, themeId, tokens, theme, headerContrastTreatment, headerNavTextSize));
|
|
13551
|
-
|
|
13552
|
-
|
|
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));
|
|
13553
13565
|
cssChunks.push(generateDropdownCaretStyles(themeId));
|
|
13554
13566
|
cssChunks.push(generateDropdownTriggerOverrides(header, themeId));
|
|
13555
|
-
cssChunks.push(generateMobilePanelStyles(
|
|
13567
|
+
cssChunks.push(generateMobilePanelStyles(themeId, dropdown));
|
|
13556
13568
|
if (header.variant === "floating" && header.container) cssChunks.push(generateFloatingContainerStyles(header, themeId, tokens, responsiveMode));
|
|
13557
|
-
cssChunks.push(generateNavContainerStyles(header, themeId, tokens));
|
|
13569
|
+
cssChunks.push(generateNavContainerStyles(header, themeId, tokens, theme, solvedInks));
|
|
13558
13570
|
cssChunks.push(generateHeaderCtaTreatmentStyles(header, themeId, tokens));
|
|
13559
13571
|
cssChunks.push(generateCtaGapStyles(header, themeId));
|
|
13560
13572
|
return cssChunks.filter(Boolean).join("\n\n");
|
|
13561
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
|
+
}
|
|
13562
13578
|
function resolveHeaderContrastTreatment(header) {
|
|
13563
13579
|
if (header.navLinkStyle?.contrastTreatment) return header.navLinkStyle.contrastTreatment;
|
|
13564
13580
|
return isClearSplitHeaderShape(header) ? "soft-glow" : null;
|
|
@@ -13577,7 +13593,7 @@ function isDetachedFloatingHeaderShape(header) {
|
|
|
13577
13593
|
/**
|
|
13578
13594
|
* Generate root header container styles
|
|
13579
13595
|
*/
|
|
13580
|
-
function generateHeaderRootStyles(header, themeId, tokens) {
|
|
13596
|
+
function generateHeaderRootStyles(header, themeId, tokens, inks) {
|
|
13581
13597
|
const selector = `:where([data-theme-scope="${themeId}"]) .header-root`;
|
|
13582
13598
|
const rules = [];
|
|
13583
13599
|
const isContainedNav = headerRootPaint(header) === "contained-nav";
|
|
@@ -13589,7 +13605,11 @@ function generateHeaderRootStyles(header, themeId, tokens) {
|
|
|
13589
13605
|
} : buildHeaderSurfaceRules(header, tokens);
|
|
13590
13606
|
const floatingSurfaceBorder = header.variant === "floating";
|
|
13591
13607
|
if (!floatingSurfaceBorder) rules.push(...surfaceRules.border);
|
|
13592
|
-
const basePaintRules = floatingSurfaceBorder ? [
|
|
13608
|
+
const basePaintRules = floatingSurfaceBorder ? [
|
|
13609
|
+
...surfaceRules.base,
|
|
13610
|
+
...surfaceRules.border,
|
|
13611
|
+
...inks
|
|
13612
|
+
] : [...surfaceRules.base, ...inks];
|
|
13593
13613
|
const scrolledPaintRules = floatingSurfaceBorder ? surfaceRules.border : [];
|
|
13594
13614
|
if (header.positioning === "sticky" || header.positioning === "fixed") {
|
|
13595
13615
|
const shadowVar = getComponentShadowVar(header.shadow?.elevation ?? "none");
|
|
@@ -13635,14 +13655,13 @@ function generateLogoTextBehaviorStyles(logoText, themeId) {
|
|
|
13635
13655
|
/**
|
|
13636
13656
|
* Generate dropdown menu container styles
|
|
13637
13657
|
*/
|
|
13638
|
-
function generateDropdownContainerStyles(header, themeId, tokens,
|
|
13658
|
+
function generateDropdownContainerStyles(header, themeId, tokens, surface) {
|
|
13639
13659
|
const selector = `:where([data-theme-scope="${themeId}"]) .nav-dropdown-menu`;
|
|
13640
13660
|
const rules = [];
|
|
13641
13661
|
const dropdownStyle = header.dropdownStyle;
|
|
13642
13662
|
rules.push(...NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES);
|
|
13643
|
-
|
|
13644
|
-
rules.push(
|
|
13645
|
-
rules.push(...surface.declarations(tokens));
|
|
13663
|
+
rules.push(`background-color: ${surface.backgroundColor};`);
|
|
13664
|
+
rules.push(...surface.foregroundDeclarations);
|
|
13646
13665
|
const borderToken = dropdownStyle?.borderColor;
|
|
13647
13666
|
if (borderToken === null) rules.push(`border: none;`);
|
|
13648
13667
|
else rules.push(`border: 1px solid ${tokens.getColor(borderToken ?? "border")};`);
|
|
@@ -13656,71 +13675,61 @@ function generateDropdownContainerStyles(header, themeId, tokens, theme) {
|
|
|
13656
13675
|
lg: "0.75rem"
|
|
13657
13676
|
}[borderRadius]};`);
|
|
13658
13677
|
rules.push(`padding: 0.5rem 0;`);
|
|
13659
|
-
return `\n${selector} {\n ${rules.join("\n ")}\n}\n
|
|
13660
|
-
}
|
|
13661
|
-
function
|
|
13662
|
-
const
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
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
|
+
}
|
|
13680
13708
|
};
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
|
|
13685
|
-
});
|
|
13686
|
-
hoverEffects.active?.push({
|
|
13687
|
-
effectId: "text-color-change",
|
|
13688
|
-
options: { hoverColorToken: configuredDropdownStyle.hoverTextColor }
|
|
13689
|
-
});
|
|
13690
|
-
}
|
|
13691
|
-
const baseCSS = generateNavLinkCSS({
|
|
13692
|
-
themeId,
|
|
13693
|
-
tokens,
|
|
13694
|
-
theme,
|
|
13695
|
-
style: {
|
|
13696
|
-
name: "Dropdown",
|
|
13697
|
-
typography: "body",
|
|
13698
|
-
fontWeight: configuredDropdownStyle?.fontWeight ?? header.navWeight ?? "medium",
|
|
13699
|
-
textTransform: configuredDropdownStyle?.textTransform ?? "none",
|
|
13700
|
-
italic: false,
|
|
13701
|
-
colorToken: textColorToken,
|
|
13702
|
-
padding: "compact",
|
|
13703
|
-
borderRadius: "sm",
|
|
13704
|
-
effects: hoverEffects
|
|
13705
|
-
},
|
|
13706
|
-
className: "nav-dropdown-link"
|
|
13707
|
-
});
|
|
13708
|
-
const additionalRules = [];
|
|
13709
|
-
const letterSpacing = configuredDropdownStyle?.letterSpacing ?? "normal";
|
|
13710
|
-
if (letterSpacing !== "normal") additionalRules.push(`letter-spacing: ${{
|
|
13709
|
+
}
|
|
13710
|
+
function dropdownTypographyRules(style) {
|
|
13711
|
+
const letterSpacing = style?.letterSpacing ?? "normal";
|
|
13712
|
+
const spacing = {
|
|
13711
13713
|
normal: "0em",
|
|
13712
13714
|
wide: "0.05em",
|
|
13713
13715
|
wider: "0.1em"
|
|
13714
|
-
}
|
|
13715
|
-
const
|
|
13716
|
-
additionalRules.push(`font-size: ${{
|
|
13716
|
+
};
|
|
13717
|
+
const sizes = {
|
|
13717
13718
|
xs: "0.75rem",
|
|
13718
13719
|
sm: "0.875rem",
|
|
13719
13720
|
base: "1rem",
|
|
13720
13721
|
lg: "1.125rem"
|
|
13721
|
-
}
|
|
13722
|
-
|
|
13723
|
-
|
|
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`;
|
|
13724
13733
|
}
|
|
13725
13734
|
function generateDropdownCaretStyles(themeId) {
|
|
13726
13735
|
return `
|
|
@@ -13748,42 +13757,76 @@ ${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-trigger.header-nav-link
|
|
|
13748
13757
|
}
|
|
13749
13758
|
`.trim();
|
|
13750
13759
|
}
|
|
13751
|
-
/**
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13757
|
-
|
|
13758
|
-
|
|
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) {
|
|
13759
13790
|
const backgroundToken = header.dropdownStyle?.background ?? "surface";
|
|
13760
|
-
const candidate =
|
|
13791
|
+
const candidate = dropdownTextCandidate(header);
|
|
13761
13792
|
const foreground = resolveSurfaceForeground({
|
|
13762
13793
|
type: "color",
|
|
13763
13794
|
color: backgroundToken,
|
|
13764
13795
|
textColor: candidate
|
|
13765
13796
|
}, expandPalette(theme.palette));
|
|
13766
13797
|
return {
|
|
13767
|
-
backgroundToken,
|
|
13798
|
+
backgroundColor: tokens.getColor(backgroundToken),
|
|
13768
13799
|
textToken: foreground.kind === "known" ? foreground.roles.text : candidate,
|
|
13769
|
-
|
|
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
|
|
13770
13802
|
};
|
|
13771
13803
|
}
|
|
13772
|
-
/**
|
|
13773
|
-
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
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) {
|
|
13777
13821
|
const selector = `:where([data-theme-scope="${themeId}"]) .nav-mobile-panel`;
|
|
13778
13822
|
const selfSelector = `:where(.nav-mobile-panel[data-theme-scope="${themeId}"])`;
|
|
13779
|
-
const
|
|
13780
|
-
const body = renderCssDeclarations([`background-color: ${tokens.getColor(surface.backgroundToken)};`, ...surface.declarations(tokens)]);
|
|
13823
|
+
const body = renderCssDeclarations([`background-color: ${surface.backgroundColor};`, ...surface.foregroundDeclarations]);
|
|
13781
13824
|
return `\n${selector} {\n ${body}\n}\n\n${selfSelector} {\n ${body}\n}\n`;
|
|
13782
13825
|
}
|
|
13783
13826
|
/**
|
|
13784
13827
|
* Generate nav container styles (pill/glass)
|
|
13785
13828
|
*/
|
|
13786
|
-
function generateNavContainerStyles(header, themeId, tokens) {
|
|
13829
|
+
function generateNavContainerStyles(header, themeId, tokens, theme, solvedInks) {
|
|
13787
13830
|
const navContainer = header.navContainer;
|
|
13788
13831
|
const navContainerType = navContainer?.type ?? "none";
|
|
13789
13832
|
if (!navContainer || navContainerType === "none") return "";
|
|
@@ -13797,22 +13840,30 @@ function generateNavContainerStyles(header, themeId, tokens) {
|
|
|
13797
13840
|
rules.push("gap: 1.5rem;");
|
|
13798
13841
|
if (isDetachedFloatingHeaderShape(header)) rules.push("align-self: flex-start;");
|
|
13799
13842
|
}
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
|
|
13806
|
-
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
|
|
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
|
+
];
|
|
13816
13867
|
}
|
|
13817
13868
|
/**
|
|
13818
13869
|
* Generate floating container styles
|
|
@@ -13827,6 +13878,7 @@ function generateFloatingContainerStyles(header, themeId, tokens, responsiveMode
|
|
|
13827
13878
|
else rules.push(`background-color: ${buildRgbWhite(opacity)};`);
|
|
13828
13879
|
rules.push(`backdrop-filter: ${FLOATING_BLUR};`);
|
|
13829
13880
|
rules.push(`-webkit-backdrop-filter: ${FLOATING_BLUR};`);
|
|
13881
|
+
rules.push(...surfaceInkDeclarations({ kind: "reset" }));
|
|
13830
13882
|
if (container.border) rules.push(`border: 1px solid rgb(255 255 255 / 0.2);`);
|
|
13831
13883
|
rules.push(`border-radius: ${{
|
|
13832
13884
|
none: "0",
|
|
@@ -13942,11 +13994,24 @@ function applyAlpha(color, opacity) {
|
|
|
13942
13994
|
}
|
|
13943
13995
|
return color;
|
|
13944
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
|
+
}
|
|
13945
14010
|
//#endregion
|
|
13946
14011
|
//#region ../blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.ts
|
|
13947
14012
|
const sectionSurfaceCache = /* @__PURE__ */ new WeakMap();
|
|
13948
14013
|
function resolveHeaderRootForeground(header, palette, isTransparent) {
|
|
13949
|
-
if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "
|
|
14014
|
+
if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
|
|
13950
14015
|
const background = header?.background;
|
|
13951
14016
|
return resolveSurfaceForeground(background ?? {
|
|
13952
14017
|
type: "color",
|
|
@@ -13962,12 +14027,32 @@ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
|
|
|
13962
14027
|
function resolveSurfaceForegroundStyles(value, context, options) {
|
|
13963
14028
|
const resolved = cachedSectionSurface(value, context, options);
|
|
13964
14029
|
const foreground = resolved.foreground;
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
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)));
|
|
13971
14056
|
}
|
|
13972
14057
|
/** The section ground's resolved foreground, for decorations drawn on that ground (maps). */
|
|
13973
14058
|
function resolveSectionSurfaceForeground(value, context, options) {
|
|
@@ -13998,7 +14083,8 @@ function resolveRuntimeSectionSurface(value, context, options) {
|
|
|
13998
14083
|
palette: context.theme.palette,
|
|
13999
14084
|
buttonSystem: context.theme.buttons,
|
|
14000
14085
|
linkHoverToken: context.proseHoverCandidate,
|
|
14001
|
-
compositeBase: options?.fallbackToken
|
|
14086
|
+
compositeBase: options?.fallbackToken,
|
|
14087
|
+
solvedInks: transformSolvedInks(context)
|
|
14002
14088
|
});
|
|
14003
14089
|
}
|
|
14004
14090
|
function arrangementSurfaceInk(foreground, context) {
|
|
@@ -14007,7 +14093,7 @@ function arrangementSurfaceInk(foreground, context) {
|
|
|
14007
14093
|
}
|
|
14008
14094
|
/** Decoration roles already resolved by the surface owner, shared with footer arrangements. */
|
|
14009
14095
|
function surfaceInkStyles(foreground, palette) {
|
|
14010
|
-
if (foreground.kind
|
|
14096
|
+
if (foreground.kind !== "known") return {};
|
|
14011
14097
|
const decorations = surfaceDecorationColors(foreground, palette);
|
|
14012
14098
|
return {
|
|
14013
14099
|
"--rb-surface-muted-color": foreground.roles.muted ?? foreground.roles.text,
|
|
@@ -18938,8 +19024,11 @@ function resolveHeaderVisualStyles(header) {
|
|
|
18938
19024
|
return resolveBackgroundVisualStyles(colorToken);
|
|
18939
19025
|
}
|
|
18940
19026
|
function resolvedForegroundStyle(foreground) {
|
|
18941
|
-
|
|
18942
|
-
|
|
19027
|
+
switch (foreground.kind) {
|
|
19028
|
+
case "inherits":
|
|
19029
|
+
case "unmeasured-paint": return;
|
|
19030
|
+
case "known": return surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, rgbColorValue));
|
|
19031
|
+
}
|
|
18943
19032
|
}
|
|
18944
19033
|
function footerBottomBarBorderWidthStyle(width) {
|
|
18945
19034
|
if (!width) return void 0;
|
|
@@ -19009,7 +19098,10 @@ const headerRootStyleTransform = {
|
|
|
19009
19098
|
run: (value, _options, context) => {
|
|
19010
19099
|
const header = asPartialObject(value);
|
|
19011
19100
|
const visuals = resolveHeaderVisualStyles(header);
|
|
19012
|
-
|
|
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));
|
|
19013
19105
|
}
|
|
19014
19106
|
};
|
|
19015
19107
|
const headerSectionBackgroundTransform = {
|
|
@@ -19035,8 +19127,9 @@ const footerRootStyleTransform = {
|
|
|
19035
19127
|
styleParts.push(backgroundColorStyle(token));
|
|
19036
19128
|
}
|
|
19037
19129
|
}
|
|
19038
|
-
|
|
19039
|
-
|
|
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));
|
|
19040
19133
|
styleParts.push(borderColorStyle("border"));
|
|
19041
19134
|
return mergeStyles(...styleParts);
|
|
19042
19135
|
}
|
|
@@ -19098,18 +19191,27 @@ const footerBottomBarStyleTransform = {
|
|
|
19098
19191
|
run: (value, _options, context) => {
|
|
19099
19192
|
const footer = asPartialObject(value);
|
|
19100
19193
|
const bottomBar = footer?.bottomBar;
|
|
19101
|
-
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));
|
|
19102
19195
|
}
|
|
19103
19196
|
};
|
|
19104
19197
|
function footerBottomBarForegroundStyle(footer, palette) {
|
|
19105
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) {
|
|
19106
19208
|
const bar = footer.bottomBar;
|
|
19107
|
-
if (bar
|
|
19108
|
-
return
|
|
19209
|
+
if (bar?.background?.type !== "color") return null;
|
|
19210
|
+
return resolveSurfaceForeground(bar.background, palette, {
|
|
19109
19211
|
text: bar.textColor,
|
|
19110
19212
|
link: footer.bottomTextLinkStyle?.colorToken ?? bar.textColor,
|
|
19111
19213
|
linkHover: footer.bottomTextLinkStyle?.hoverColorToken
|
|
19112
|
-
}, { compositeBase: measuredFooterBackdrop(footer, palette) })
|
|
19214
|
+
}, { compositeBase: measuredFooterBackdrop(footer, palette) });
|
|
19113
19215
|
}
|
|
19114
19216
|
function backgroundlessBottomBarForegroundStyle(footer) {
|
|
19115
19217
|
if (footer.background?.contentOwner === "site-chrome-editor") return;
|
|
@@ -26780,7 +26882,10 @@ const systemCustomizeFacetDefinitions = [
|
|
|
26780
26882
|
], "icons"),
|
|
26781
26883
|
blockKinds: cardListFamilyBlocks
|
|
26782
26884
|
},
|
|
26783
|
-
|
|
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
|
+
}
|
|
26784
26889
|
];
|
|
26785
26890
|
systemCustomizeFacetDefinitions.map((definition) => definition.id);
|
|
26786
26891
|
Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
|
|
@@ -29665,6 +29770,7 @@ function applyArrangementRhythm(entry, position) {
|
|
|
29665
29770
|
const tinted = resolveArrangementTints(updated, grounded, runtime, surface) ?? grounded;
|
|
29666
29771
|
return {
|
|
29667
29772
|
...entry,
|
|
29773
|
+
styleBackground: arrangementGroundToken(resolveSectionBackground({ kind: "none" }, null, rhythm)),
|
|
29668
29774
|
renderableContent: {
|
|
29669
29775
|
...updated,
|
|
29670
29776
|
_effectiveLook: tinted,
|
|
@@ -30797,6 +30903,11 @@ const opaquePanels = [
|
|
|
30797
30903
|
token: "surface"
|
|
30798
30904
|
}
|
|
30799
30905
|
},
|
|
30906
|
+
{
|
|
30907
|
+
selector: ":where([data-block='event-registration'].event-registration--embedded) .er-container",
|
|
30908
|
+
contract: "inks-only",
|
|
30909
|
+
paint: { kind: "transparent" }
|
|
30910
|
+
},
|
|
30800
30911
|
{
|
|
30801
30912
|
selector: ":where([data-block='event-registration']) .er-booking-card",
|
|
30802
30913
|
paint: {
|
|
@@ -30936,7 +31047,7 @@ function generateOpaquePanelCss(input) {
|
|
|
30936
31047
|
const declarations = opaqueSurfaceDeclarations(resolveSurface({
|
|
30937
31048
|
kind: "paint",
|
|
30938
31049
|
paint: panel.paint
|
|
30939
|
-
}, input.surface));
|
|
31050
|
+
}, input.surface)).filter((declaration) => !("contract" in panel) || Object.values(SURFACE_INK_CSS_VARS).some((variable) => declaration.startsWith(`${variable}:`)));
|
|
30940
31051
|
return `:where([data-theme-scope="${input.themeId}"]) ${panel.selector} {\n ${renderCssDeclarations(declarations)}\n}`;
|
|
30941
31052
|
}).join("\n\n");
|
|
30942
31053
|
}
|
|
@@ -30984,7 +31095,7 @@ const FAQ_QUESTION_COLUMNS_TRIGGER_MIN_HEIGHT = "5rem";
|
|
|
30984
31095
|
* - .accordion-content: Answer/content text styling
|
|
30985
31096
|
* - .accordion-icon: Icon sizing and transitions
|
|
30986
31097
|
*/
|
|
30987
|
-
function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
31098
|
+
function generateAccordionCss({ themeId, theme, accordionSystem, solvedInks }) {
|
|
30988
31099
|
const rootSelector = `:where([data-theme-scope="${themeId}"]) .accordion-root`;
|
|
30989
31100
|
const itemSelector = `${rootSelector} .accordion-item`;
|
|
30990
31101
|
const triggerSelector = `${itemSelector} .accordion-trigger`;
|
|
@@ -30995,7 +31106,7 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
30995
31106
|
const questionColumnsItemSelector = `${rootSelector}.rb-faq-question-columns .accordion-item`;
|
|
30996
31107
|
const questionColumnsLastItemSelector = `${questionColumnsItemSelector}:last-child`;
|
|
30997
31108
|
const questionColumnsTriggerSelector = `${questionColumnsItemSelector} .accordion-trigger`;
|
|
30998
|
-
const rootRules = accordionSurfaceRules(theme, accordionSystem);
|
|
31109
|
+
const rootRules = accordionSurfaceRules(theme, accordionSystem, solvedInks);
|
|
30999
31110
|
const borderRadius = CORNER_MAP$2[accordionSystem.corners ?? theme.corners];
|
|
31000
31111
|
rootRules.push(`border-radius: ${borderRadius}`);
|
|
31001
31112
|
if (accordionSystem.border) {
|
|
@@ -31051,7 +31162,10 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
31051
31162
|
triggerRules.push(`transition: ${transitionProps.join(", ")}`);
|
|
31052
31163
|
const triggerHoverSelector = `${triggerSelector}:hover`;
|
|
31053
31164
|
const triggerHoverRules = [];
|
|
31054
|
-
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
|
+
}
|
|
31055
31169
|
if (accordionSystem.hover.textColorToken) triggerHoverRules.push(`color: ${rgbColorValue(accordionSystem.hover.textColorToken)}`);
|
|
31056
31170
|
if (accordionSystem.hover.borderColorToken) triggerHoverRules.push(`border-color: ${rgbColorValue(accordionSystem.hover.borderColorToken)}`);
|
|
31057
31171
|
const triggerFocusSelector = `${triggerSelector}:focus-visible`;
|
|
@@ -31063,7 +31177,10 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
31063
31177
|
const openItemRules = [];
|
|
31064
31178
|
const openTriggerRules = [];
|
|
31065
31179
|
const openState = accordionSystem.openState;
|
|
31066
|
-
if (openState?.backgroundColorToken)
|
|
31180
|
+
if (openState?.backgroundColorToken) {
|
|
31181
|
+
openItemRules.push(`background-color: ${rgbColorValue(openState.backgroundColorToken)}`);
|
|
31182
|
+
openItemRules.push(...accordionPaintInks(theme, openState.backgroundColorToken, solvedInks));
|
|
31183
|
+
}
|
|
31067
31184
|
if (openState?.accent) {
|
|
31068
31185
|
const thickness = ACCORDION_OPEN_ACCENT_THICKNESS[openState.accent.thickness];
|
|
31069
31186
|
const accentColor = rgbColorValue(openState.accent.colorToken);
|
|
@@ -31135,7 +31252,7 @@ function generateAccordionCss({ themeId, theme, accordionSystem }) {
|
|
|
31135
31252
|
if (iconRotateBlock.length > 0) cssBlocks.push(...iconRotateBlock);
|
|
31136
31253
|
return cssBlocks.join("\n\n");
|
|
31137
31254
|
}
|
|
31138
|
-
function accordionSurfaceRules(theme, system) {
|
|
31255
|
+
function accordionSurfaceRules(theme, system, solvedInks) {
|
|
31139
31256
|
if (!system.background) return [];
|
|
31140
31257
|
const foreground = resolveSurfaceForeground({
|
|
31141
31258
|
type: "color",
|
|
@@ -31143,7 +31260,19 @@ function accordionSurfaceRules(theme, system) {
|
|
|
31143
31260
|
textColor: system.content.textColorToken,
|
|
31144
31261
|
headingColor: system.trigger.textColorToken
|
|
31145
31262
|
}, expandPalette(theme.palette), { linkHover: theme.typography.proseLinkStyle?.hoverColorToken });
|
|
31146
|
-
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(/;$/, ""));
|
|
31147
31276
|
}
|
|
31148
31277
|
//#endregion
|
|
31149
31278
|
//#region ../theme-core/src/inputs/checkable.ts
|
|
@@ -31985,11 +32114,7 @@ ${root} .alert-success {
|
|
|
31985
32114
|
color: rgb(var(--tb-success));
|
|
31986
32115
|
}
|
|
31987
32116
|
|
|
31988
|
-
${root}
|
|
31989
|
-
border-color: rgb(var(--tb-warning));
|
|
31990
|
-
background-color: rgb(var(--tb-warning) / 0.1);
|
|
31991
|
-
color: ${noticeTextColor("warning", palette)};
|
|
31992
|
-
}
|
|
32117
|
+
${warningAlertCss(root, palette)}
|
|
31993
32118
|
|
|
31994
32119
|
${root} .alert-info {
|
|
31995
32120
|
border-color: rgb(var(--tb-info));
|
|
@@ -32075,6 +32200,16 @@ function noticeTextColor(status, palette) {
|
|
|
32075
32200
|
const text = parseThemeColorToken("text");
|
|
32076
32201
|
return ground && text ? rgbColorValue(safeTokenOr(status, text, ground, palette)) : `rgb(var(--tb-${status}))`;
|
|
32077
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
|
+
}
|
|
32078
32213
|
//#endregion
|
|
32079
32214
|
//#region ../theme-core/src/progress/generateProgressCss.ts
|
|
32080
32215
|
/**
|
|
@@ -32326,9 +32461,16 @@ function generateEventCalendarCss(_params) {
|
|
|
32326
32461
|
* - Checkmark indicator colors
|
|
32327
32462
|
* - Order summary styling
|
|
32328
32463
|
*/
|
|
32329
|
-
function generateEventRegistrationVars({ themeId }) {
|
|
32464
|
+
function generateEventRegistrationVars({ themeId, surface, embeddedRegistrationPaint }) {
|
|
32465
|
+
const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="event-registration"])`;
|
|
32330
32466
|
return `
|
|
32331
|
-
${
|
|
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 = `
|
|
32332
32474
|
/* Event selection cards should remain surfaced form controls even when the
|
|
32333
32475
|
theme defines a more opinionated shared tile treatment elsewhere. */
|
|
32334
32476
|
--er-event-card-bg: rgb(var(--tb-surface));
|
|
@@ -32406,9 +32548,31 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="event-registratio
|
|
|
32406
32548
|
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
32407
32549
|
--rb-reg-summary-border: var(--er-border);
|
|
32408
32550
|
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
32409
|
-
--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
|
+
}`;
|
|
32410
32565
|
}
|
|
32411
|
-
|
|
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");
|
|
32412
32576
|
}
|
|
32413
32577
|
//#endregion
|
|
32414
32578
|
//#region ../theme-core/src/blocks/vars/event-card-vars.ts
|
|
@@ -32647,9 +32811,20 @@ const THEME_RADIUS_CSS_VARS = {
|
|
|
32647
32811
|
*
|
|
32648
32812
|
* Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
|
|
32649
32813
|
*/
|
|
32650
|
-
function generateCustomerPortalVars({ themeId }) {
|
|
32814
|
+
function generateCustomerPortalVars({ themeId, surface }) {
|
|
32815
|
+
const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
|
|
32651
32816
|
return `
|
|
32652
|
-
${
|
|
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 = `
|
|
32653
32828
|
/* Container */
|
|
32654
32829
|
--cp-bg: rgb(var(--tb-surface));
|
|
32655
32830
|
--cp-text: rgb(var(--tb-text));
|
|
@@ -32723,10 +32898,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"]
|
|
|
32723
32898
|
--cp-header-border: rgb(var(--tb-border));
|
|
32724
32899
|
|
|
32725
32900
|
/* Section */
|
|
32726
|
-
--cp-section-bg: transparent
|
|
32727
|
-
}
|
|
32728
|
-
`;
|
|
32729
|
-
}
|
|
32901
|
+
--cp-section-bg: transparent;`;
|
|
32730
32902
|
//#endregion
|
|
32731
32903
|
//#region ../theme-core/src/blocks/vars/testimonials.ts
|
|
32732
32904
|
const QUOTE_SCALE_SIZE = {
|
|
@@ -33080,6 +33252,7 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33080
33252
|
const cssVars = buildThemeCssVars(hydrated);
|
|
33081
33253
|
const themeId = options?.themeId ?? "theme-default";
|
|
33082
33254
|
const responsiveMode = options?.responsiveMode ?? "viewport";
|
|
33255
|
+
const solvedInks = "publish";
|
|
33083
33256
|
const buttonOptions = {
|
|
33084
33257
|
themeId,
|
|
33085
33258
|
theme,
|
|
@@ -33089,7 +33262,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33089
33262
|
const headerCss = generateHeaderCss({
|
|
33090
33263
|
themeId,
|
|
33091
33264
|
theme,
|
|
33092
|
-
responsiveMode
|
|
33265
|
+
responsiveMode,
|
|
33266
|
+
solvedInks
|
|
33093
33267
|
});
|
|
33094
33268
|
const footerCss = generateFooterCss({
|
|
33095
33269
|
themeId,
|
|
@@ -33098,7 +33272,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33098
33272
|
const cardCss = [generateCardCss({
|
|
33099
33273
|
themeId,
|
|
33100
33274
|
theme,
|
|
33101
|
-
cardSystem: theme.cards
|
|
33275
|
+
cardSystem: theme.cards,
|
|
33276
|
+
solvedInks
|
|
33102
33277
|
}), generateOpaquePanelCss({
|
|
33103
33278
|
themeId,
|
|
33104
33279
|
surface: opaqueSurfaceContextFromTheme(theme)
|
|
@@ -33106,7 +33281,8 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33106
33281
|
const accordionCss = generateAccordionCss({
|
|
33107
33282
|
themeId,
|
|
33108
33283
|
theme,
|
|
33109
|
-
accordionSystem: theme.accordions ?? generateDefaultAccordionSystem(theme)
|
|
33284
|
+
accordionSystem: theme.accordions ?? generateDefaultAccordionSystem(theme),
|
|
33285
|
+
solvedInks
|
|
33110
33286
|
});
|
|
33111
33287
|
const inputCss = generateInputCss({
|
|
33112
33288
|
themeId,
|
|
@@ -33134,10 +33310,7 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33134
33310
|
themeId,
|
|
33135
33311
|
theme
|
|
33136
33312
|
});
|
|
33137
|
-
const blockVarsCss = [
|
|
33138
|
-
theme,
|
|
33139
|
-
themeId
|
|
33140
|
-
}), generateBlockOverrideCss(themeId, theme)].filter(Boolean).join("\n");
|
|
33313
|
+
const blockVarsCss = [generateThemeBlockVarsCss(theme, themeId), generateBlockOverrideCss(themeId, theme)].filter(Boolean).join("\n");
|
|
33141
33314
|
const blockCustomVarsCss = generateBlockCustomVarsCss(themeId, theme.blockCustomVars);
|
|
33142
33315
|
const atRulesCss = theme.customCssAtRules ? compileCustomCssAtRules(theme.customCssAtRules, themeId, { responsiveMode }) : void 0;
|
|
33143
33316
|
const customCss = theme.customCssRules ? compileCustomCssRules(parseCustomCssRules(theme.customCssRules), themeId) : void 0;
|
|
@@ -33145,7 +33318,10 @@ function buildThemeRuntime$1(theme, options) {
|
|
|
33145
33318
|
return {
|
|
33146
33319
|
hydrated,
|
|
33147
33320
|
cssVars,
|
|
33148
|
-
tokens:
|
|
33321
|
+
tokens: {
|
|
33322
|
+
...buildThemeTokens(hydrated.palette),
|
|
33323
|
+
solvedInks
|
|
33324
|
+
},
|
|
33149
33325
|
paletteTokens: hydrated.palette,
|
|
33150
33326
|
buttonCss,
|
|
33151
33327
|
headerCss,
|
|
@@ -33174,6 +33350,13 @@ function hydrateTheme(theme) {
|
|
|
33174
33350
|
})
|
|
33175
33351
|
};
|
|
33176
33352
|
}
|
|
33353
|
+
function pageSurfaceInks(palette) {
|
|
33354
|
+
return surfaceInkStyle(surfaceInkPublication(resolveSurfaceForeground({
|
|
33355
|
+
type: "color",
|
|
33356
|
+
color: "background",
|
|
33357
|
+
textColor: "text"
|
|
33358
|
+
}, palette), "publish"));
|
|
33359
|
+
}
|
|
33177
33360
|
function resolveThemeInputSystem(theme) {
|
|
33178
33361
|
return theme.inputs ?? generateDefaultInputSystem(theme);
|
|
33179
33362
|
}
|
|
@@ -33193,6 +33376,7 @@ function buildThemeCssVars(theme) {
|
|
|
33193
33376
|
["--tb-scrim"]: "0 0 0",
|
|
33194
33377
|
["--tb-shadow"]: "0 0 0",
|
|
33195
33378
|
...generateShadowCssVars(theme),
|
|
33379
|
+
...pageSurfaceInks(theme.palette),
|
|
33196
33380
|
...typographyFontRoleCssVars(typography),
|
|
33197
33381
|
["--font-eyebrow"]: typography.eyebrow?.family ? formatFontFamily(typography.eyebrow.family) : "var(--font-body)",
|
|
33198
33382
|
...typography.eyebrow?.size ? { ["--fs-eyebrow"]: mapEyebrowSize(typography.eyebrow.size) } : {},
|
|
@@ -33613,6 +33797,16 @@ function mapFontVariant(c) {
|
|
|
33613
33797
|
function mapFontStyle(italic) {
|
|
33614
33798
|
return italic ? "italic" : "normal";
|
|
33615
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
|
+
}
|
|
33616
33810
|
//#endregion
|
|
33617
33811
|
//#region ../blocks/src/pageRenderingMode.ts
|
|
33618
33812
|
var MissingBlockOverrideError$1 = class extends Error {
|
|
@@ -34221,7 +34415,7 @@ function preparedBlockProps(entry, content, data, input) {
|
|
|
34221
34415
|
function buildBlockOverrideProps(input) {
|
|
34222
34416
|
const { block, dataContext } = input;
|
|
34223
34417
|
return {
|
|
34224
|
-
content: input.content,
|
|
34418
|
+
content: bindArrangementInkPolicy(input.content, input.themeResources),
|
|
34225
34419
|
dateContext: pageDateRuntimeContext(dataContext),
|
|
34226
34420
|
now: dataContext?.now,
|
|
34227
34421
|
...overrideThemeProps(input.themeResources),
|
|
@@ -34366,6 +34560,11 @@ function preparedPlanEntry(entry, prepared) {
|
|
|
34366
34560
|
prepared
|
|
34367
34561
|
};
|
|
34368
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
|
+
}
|
|
34369
34568
|
//#endregion
|
|
34370
34569
|
//#region ../blocks/src/BlockErrorBoundary.tsx
|
|
34371
34570
|
/**
|
|
@@ -34443,7 +34642,7 @@ function EditorPageRenderer$1(props) {
|
|
|
34443
34642
|
}) });
|
|
34444
34643
|
}
|
|
34445
34644
|
function PageRendererCore(props) {
|
|
34446
|
-
const { page, audience, dataContext, routeMap
|
|
34645
|
+
const { page, audience, dataContext, routeMap } = props;
|
|
34447
34646
|
const imageResolveContext = React$1.useMemo(() => resolvePageRendererImageResolveContext(dataContext), [
|
|
34448
34647
|
dataContext?.imageResolveContext,
|
|
34449
34648
|
dataContext?.mediaAssets,
|
|
@@ -34471,16 +34670,20 @@ function PageRendererCore(props) {
|
|
|
34471
34670
|
themeResources,
|
|
34472
34671
|
imageResolveContext
|
|
34473
34672
|
]);
|
|
34474
|
-
const joinSlots = React$1.useMemo(() => joinSlotsByPair(preparation.joins), [preparation.joins]);
|
|
34475
34673
|
reportAndReplayOmissions({
|
|
34476
34674
|
plan,
|
|
34477
34675
|
preparation,
|
|
34478
34676
|
dataContext,
|
|
34479
34677
|
themeResources
|
|
34480
34678
|
});
|
|
34481
|
-
if (!page || preparation.entries.length === 0) return presentEmptyPage(audience);
|
|
34482
|
-
const resolvedRegistry = registry ?? getDefaultComponentRegistry();
|
|
34679
|
+
if (!page || preparation.entries.length === 0) return props.wrapPage ? props.wrapPage(plan, presentEmptyPage(audience)) : presentEmptyPage(audience);
|
|
34483
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);
|
|
34484
34687
|
return /* @__PURE__ */ jsx("div", { children: preparation.entries.map((entry, index) => renderGuardedPlanEntry({
|
|
34485
34688
|
entry,
|
|
34486
34689
|
index,
|
|
@@ -39475,7 +39678,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39475
39678
|
.er-event-grid
|
|
39476
39679
|
.er-event-card--selected
|
|
39477
39680
|
.er-event-title {
|
|
39478
|
-
color: rgb(var(--tb-primary));
|
|
39681
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
39479
39682
|
}
|
|
39480
39683
|
|
|
39481
39684
|
:where(.theme-scope)
|
|
@@ -39610,7 +39813,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39610
39813
|
border: 0;
|
|
39611
39814
|
background: none;
|
|
39612
39815
|
font-size: 0.9375rem;
|
|
39613
|
-
color: rgb(var(--tb-primary));
|
|
39816
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
39614
39817
|
text-decoration: underline;
|
|
39615
39818
|
text-underline-offset: 2px;
|
|
39616
39819
|
cursor: pointer;
|
|
@@ -39708,7 +39911,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
39708
39911
|
background: transparent;
|
|
39709
39912
|
border: 0;
|
|
39710
39913
|
padding: 0;
|
|
39711
|
-
color: rgb(var(--tb-primary));
|
|
39914
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
39712
39915
|
cursor: pointer;
|
|
39713
39916
|
font-size: 0.875rem;
|
|
39714
39917
|
text-decoration: underline;
|
|
@@ -40586,7 +40789,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40586
40789
|
padding: 0;
|
|
40587
40790
|
border: 0;
|
|
40588
40791
|
background: transparent;
|
|
40589
|
-
color: rgb(var(--tb-primary));
|
|
40792
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
40590
40793
|
font-size: 0.8125rem;
|
|
40591
40794
|
text-decoration: underline;
|
|
40592
40795
|
text-underline-offset: 2px;
|
|
@@ -40632,7 +40835,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40632
40835
|
:where([data-block='event-registration'])
|
|
40633
40836
|
.er-summary-bar-included {
|
|
40634
40837
|
font-size: 0.8125rem;
|
|
40635
|
-
color: rgb(var(--tb-primary-600));
|
|
40838
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary-600)));
|
|
40636
40839
|
font-weight: 500;
|
|
40637
40840
|
text-align: right;
|
|
40638
40841
|
}
|
|
@@ -40689,7 +40892,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
40689
40892
|
border: none;
|
|
40690
40893
|
padding: 0;
|
|
40691
40894
|
font-size: 0.9375rem;
|
|
40692
|
-
color: rgb(var(--tb-primary));
|
|
40895
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
40693
40896
|
cursor: pointer;
|
|
40694
40897
|
text-decoration: underline;
|
|
40695
40898
|
text-underline-offset: 2px;
|
|
@@ -41135,7 +41338,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41135
41338
|
:where([data-block='event-registration'])
|
|
41136
41339
|
.er-booking-bar[data-entry='inProgress'] .er-booking-bar__meta {
|
|
41137
41340
|
font-weight: 600;
|
|
41138
|
-
color: rgb(var(--tb-primary));
|
|
41341
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
41139
41342
|
}
|
|
41140
41343
|
|
|
41141
41344
|
:where(.theme-scope)
|
|
@@ -41188,7 +41391,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41188
41391
|
:where(.theme-scope)
|
|
41189
41392
|
:where([data-block='event-registration'])
|
|
41190
41393
|
.er-booking-bar__status:focus-visible {
|
|
41191
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
41394
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
41192
41395
|
outline-offset: 4px;
|
|
41193
41396
|
border-radius: 4px;
|
|
41194
41397
|
}
|
|
@@ -41669,7 +41872,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41669
41872
|
padding: 0;
|
|
41670
41873
|
border: 0;
|
|
41671
41874
|
background: none;
|
|
41672
|
-
color: rgb(var(--tb-primary));
|
|
41875
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
41673
41876
|
font: inherit;
|
|
41674
41877
|
font-weight: 700;
|
|
41675
41878
|
text-decoration: underline;
|
|
@@ -41719,7 +41922,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
41719
41922
|
border: none;
|
|
41720
41923
|
padding: 0;
|
|
41721
41924
|
font-size: inherit;
|
|
41722
|
-
color: rgb(var(--tb-primary));
|
|
41925
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
41723
41926
|
cursor: pointer;
|
|
41724
41927
|
text-decoration: underline;
|
|
41725
41928
|
text-underline-offset: 2px;
|
|
@@ -42189,7 +42392,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
42189
42392
|
:where(.theme-scope)
|
|
42190
42393
|
:where([data-block='event-calendar'])
|
|
42191
42394
|
.event-category-btn:focus-visible {
|
|
42192
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
42395
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
42193
42396
|
outline-offset: 2px;
|
|
42194
42397
|
}
|
|
42195
42398
|
|
|
@@ -42664,6 +42867,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
42664
42867
|
* ----------------------------------------------------------------------------- */
|
|
42665
42868
|
|
|
42666
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)));
|
|
42667
42872
|
display: flex;
|
|
42668
42873
|
flex-direction: column;
|
|
42669
42874
|
gap: 0.75rem;
|
|
@@ -42843,7 +43048,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
42843
43048
|
:where(.theme-scope)
|
|
42844
43049
|
:where([data-block='event-calendar'])
|
|
42845
43050
|
.event-timetable-event:focus-visible {
|
|
42846
|
-
|
|
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)));
|
|
42847
43053
|
outline-offset: 2px;
|
|
42848
43054
|
}
|
|
42849
43055
|
|
|
@@ -43028,7 +43234,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43028
43234
|
font-weight: 600;
|
|
43029
43235
|
letter-spacing: 0.12em;
|
|
43030
43236
|
text-transform: uppercase;
|
|
43031
|
-
color: rgb(var(--tb-primary));
|
|
43237
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
43032
43238
|
}
|
|
43033
43239
|
|
|
43034
43240
|
:where(.theme-scope)
|
|
@@ -43066,7 +43272,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43066
43272
|
:where(.theme-scope)
|
|
43067
43273
|
:where([data-block='event-calendar'])
|
|
43068
43274
|
.event-week-board-nav-button:focus-visible {
|
|
43069
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43275
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
43070
43276
|
outline-offset: 2px;
|
|
43071
43277
|
}
|
|
43072
43278
|
|
|
@@ -43282,7 +43488,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43282
43488
|
:where(.theme-scope)
|
|
43283
43489
|
:where([data-block='event-calendar'])
|
|
43284
43490
|
.event-week-board-card:focus-visible {
|
|
43285
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43491
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
43286
43492
|
outline-offset: 2px;
|
|
43287
43493
|
}
|
|
43288
43494
|
|
|
@@ -43627,7 +43833,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43627
43833
|
:where(.theme-scope)
|
|
43628
43834
|
:where([data-block='event-calendar'])
|
|
43629
43835
|
.ec-modal-close:focus-visible {
|
|
43630
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
43836
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
43631
43837
|
outline-offset: 2px;
|
|
43632
43838
|
}
|
|
43633
43839
|
|
|
@@ -43779,11 +43985,24 @@ const containerResponsiveThemeCss = `/*
|
|
|
43779
43985
|
* Styling is driven by --rb-tab-* CSS variables.
|
|
43780
43986
|
*/
|
|
43781
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
|
+
*/
|
|
43782
43993
|
:where(.theme-scope) .nav-tabs {
|
|
43783
43994
|
display: flex;
|
|
43784
43995
|
gap: 0.25rem;
|
|
43785
|
-
|
|
43996
|
+
box-shadow: inset 0 calc(-1 * var(--rb-tab-border-width, 1px)) 0 var(--rb-tab-border-color, rgb(var(--tb-border)));
|
|
43786
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;
|
|
43787
44006
|
}
|
|
43788
44007
|
|
|
43789
44008
|
:where(.theme-scope) .nav-tab {
|
|
@@ -43793,7 +44012,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
43793
44012
|
background: transparent;
|
|
43794
44013
|
border: none;
|
|
43795
44014
|
border-bottom: var(--rb-tab-active-border-width, 2px) solid transparent;
|
|
43796
|
-
|
|
44015
|
+
flex: 0 0 auto;
|
|
44016
|
+
white-space: nowrap;
|
|
43797
44017
|
cursor: pointer;
|
|
43798
44018
|
color: var(--rb-tab-text, rgb(var(--tb-text)));
|
|
43799
44019
|
opacity: var(--rb-tab-opacity, 0.7);
|
|
@@ -43956,7 +44176,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
43956
44176
|
/* Inline text-link button (e.g. "Load more dates") */
|
|
43957
44177
|
:where(.theme-scope) :where([data-block="appointment-booking"]) .ab-link {
|
|
43958
44178
|
display: inline;
|
|
43959
|
-
color: rgb(var(--tb-primary, 17 24 39));
|
|
44179
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary, 17 24 39)));
|
|
43960
44180
|
background: none;
|
|
43961
44181
|
border: none;
|
|
43962
44182
|
padding: 0;
|
|
@@ -44388,7 +44608,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
44388
44608
|
padding: 0.5rem 1rem;
|
|
44389
44609
|
font-size: 0.875rem;
|
|
44390
44610
|
font-weight: 500;
|
|
44391
|
-
color: rgb(var(--tb-primary));
|
|
44611
|
+
color: var(--rb-surface-brand-color, rgb(var(--tb-primary)));
|
|
44392
44612
|
background: transparent;
|
|
44393
44613
|
border: 1px solid rgb(var(--tb-primary));
|
|
44394
44614
|
border-radius: var(--rb-button-radius, 0.375rem);
|
|
@@ -44404,7 +44624,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
44404
44624
|
}
|
|
44405
44625
|
|
|
44406
44626
|
:where(.theme-scope) .event-reset-filters-btn:focus-visible {
|
|
44407
|
-
outline: 2px solid rgb(var(--tb-primary));
|
|
44627
|
+
outline: 2px solid var(--rb-surface-focus-color, rgb(var(--tb-primary)));
|
|
44408
44628
|
outline-offset: 2px;
|
|
44409
44629
|
}
|
|
44410
44630
|
|
|
@@ -45983,6 +46203,18 @@ const containerResponsiveThemeCss = `/*
|
|
|
45983
46203
|
gap: 0.5rem;
|
|
45984
46204
|
}
|
|
45985
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
|
+
|
|
45986
46218
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__actions--sticky {
|
|
45987
46219
|
position: sticky;
|
|
45988
46220
|
bottom: -1rem;
|
|
@@ -46201,6 +46433,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
46201
46433
|
display: none;
|
|
46202
46434
|
}
|
|
46203
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
|
+
|
|
46204
46441
|
:where(.theme-scope:is(*, :scope))
|
|
46205
46442
|
:where([data-block="customer-portal"])
|
|
46206
46443
|
.cp-table
|
|
@@ -46615,7 +46852,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
46615
46852
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-redeem__quote {
|
|
46616
46853
|
margin: 0 0 2rem;
|
|
46617
46854
|
padding: 0.1rem 0 0.1rem 1.25rem;
|
|
46618
|
-
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))));
|
|
46619
46856
|
color: var(--cp-text);
|
|
46620
46857
|
font-family: var(--font-heading);
|
|
46621
46858
|
font-size: 1.3em;
|
|
@@ -48608,7 +48845,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
48608
48845
|
|
|
48609
48846
|
:where(.theme-scope) :where([data-block="recurring-schedule"]) .recurring-schedule-eyebrow {
|
|
48610
48847
|
margin: 0;
|
|
48611
|
-
color: rgb(var(--tb-accent));
|
|
48848
|
+
color: var(--rb-surface-accent-color, rgb(var(--tb-accent)));
|
|
48612
48849
|
font-size: 0.72rem;
|
|
48613
48850
|
font-weight: 600;
|
|
48614
48851
|
letter-spacing: 0.14em;
|
|
@@ -49125,7 +49362,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
49125
49362
|
|
|
49126
49363
|
:where(.theme-scope) .rb-feature-cards-eyebrow {
|
|
49127
49364
|
margin: 0;
|
|
49128
|
-
color: rgb(var(--tb-accent));
|
|
49365
|
+
color: var(--rb-surface-accent-color, rgb(var(--tb-accent)));
|
|
49129
49366
|
font-size: 0.72rem;
|
|
49130
49367
|
font-weight: 600;
|
|
49131
49368
|
letter-spacing: 0.14em;
|
|
@@ -49765,18 +50002,18 @@ const containerResponsiveThemeCss = `/*
|
|
|
49765
50002
|
.theme-scope [data-arrangement="sequence"] [data-slot="numeral"]::before { content: counter(rb-feature-card-number); }
|
|
49766
50003
|
|
|
49767
50004
|
/* ===================================================== CALENDAR LIST */
|
|
49768
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="list"] { list-style: none; margin: 0; padding: 0; }
|
|
49769
|
-
.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; }
|
|
49770
50007
|
.theme-scope [data-arrangement="ledger"] [data-slot="row-continued"] [data-slot="date"] { visibility: hidden; }
|
|
49771
|
-
.theme-scope :
|
|
49772
|
-
.theme-scope :
|
|
49773
|
-
.theme-scope :
|
|
49774
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="date"] { display: flex; flex-direction: column; line-height: 1.2; margin: 0; }
|
|
49775
|
-
.theme-scope [data-arrangement][data-mode="list"] [data-slot="what"] { min-width: 0; }
|
|
49776
|
-
.theme-scope [data-arrangement][data-mode="list"] :is([data-slot="item-title"], [data-slot="item-meta"]) { margin: 0; }
|
|
49777
|
-
.theme-scope [data-arrangement="compact"] [data-slot="panel"] { margin-inline: 0 auto; }
|
|
49778
|
-
.theme-scope [data-arrangement="compact"] [data-slot="row"] { column-gap: 1rem; padding-block: 0.75rem; }
|
|
49779
|
-
.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; }
|
|
49780
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; }
|
|
49781
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; }
|
|
49782
50019
|
.theme-scope [data-arrangement="day-groups"] [data-slot="group"] > * + * { grid-column: 4 / -1; list-style: none; margin: 0; padding: 0; }
|
|
@@ -49809,10 +50046,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
49809
50046
|
.theme-scope:is(*, :scope) [data-arrangement="index"] [data-slot="item"] > *,
|
|
49810
50047
|
.theme-scope:is(*, :scope) [data-arrangement="index"][data-knob-card-marker="numbers"] [data-slot="item"] > * { grid-column: 1; grid-row: auto; }
|
|
49811
50048
|
|
|
49812
|
-
.theme-scope:is(*, :scope) :
|
|
49813
|
-
.theme-scope:is(*, :scope) :
|
|
49814
|
-
.theme-scope:is(*, :scope) :
|
|
49815
|
-
.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; }
|
|
49816
50053
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group"] { grid-template-columns: minmax(0, 1fr); row-gap: 0.5rem; }
|
|
49817
50054
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group-label"],
|
|
49818
50055
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"] [data-slot="group"] > * + * { grid-column: 1 / -1; }
|
|
@@ -49887,6 +50124,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
49887
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; }
|
|
49888
50125
|
.theme-scope [data-arrangement] [data-slot="control"]:disabled { cursor: default; }
|
|
49889
50126
|
|
|
50127
|
+
|
|
49890
50128
|
@container rb-site (max-width: 767px) {
|
|
49891
50129
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
49892
50130
|
.theme-scope:is(*, :scope) [data-arrangement] [data-slot="layout"] { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
|
|
@@ -49927,6 +50165,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
49927
50165
|
|
|
49928
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); }
|
|
49929
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
|
+
}
|
|
49930
50175
|
.theme-scope [data-arrangement="month-grid"] [data-slot="control"],
|
|
49931
50176
|
.theme-scope [data-arrangement="month-day"] [data-slot="control"] { min-height: 44px; min-width: 0; width: 100%; }
|
|
49932
50177
|
|
|
@@ -49943,7 +50188,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
49943
50188
|
|
|
49944
50189
|
/* Named event parts share the ordinary item foregrounds and action language. */
|
|
49945
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; }
|
|
49946
|
-
.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; }
|
|
49947
50192
|
.theme-scope [data-arrangement] [data-slot="item-text"] { margin-block: 0.5rem 0; }
|
|
49948
50193
|
.theme-scope [data-arrangement="grid"] [data-slot="item-body"] { padding: 1.5rem; }
|
|
49949
50194
|
.theme-scope [data-arrangement="grid"] [data-slot="item-actions"] { margin-top: 1rem; }
|
|
@@ -49971,14 +50216,14 @@ const containerResponsiveThemeCss = `/*
|
|
|
49971
50216
|
.theme-scope [data-arrangement] [data-availability="low"] [data-event-places]::before { background: var(--rb-surface-mark-color); }
|
|
49972
50217
|
.theme-scope [data-arrangement] [data-availability="full"] [data-event-places]::before { background: var(--rb-surface-muted-color); }
|
|
49973
50218
|
/* Compact date rails keep their own line at every width. */
|
|
49974
|
-
.theme-scope [data-arrangement="compact"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: max-content minmax(0, 1fr) auto; }
|
|
49975
|
-
.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; }
|
|
49976
50221
|
@container rb-site (max-width: 639px) {
|
|
49977
50222
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
49978
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] :is([data-slot="row"], [data-slot="row-continued"]) { grid-template-columns: minmax(0, 1fr) auto; }
|
|
49979
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] [data-slot="date"] { grid-column: 1 / -1; grid-row: 1; flex-direction: row; }
|
|
49980
|
-
.theme-scope:is(*, :scope) [data-arrangement="compact"] [data-slot="what"] { grid-column: 1; grid-row: 2; }
|
|
49981
|
-
.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; }
|
|
49982
50227
|
}
|
|
49983
50228
|
}
|
|
49984
50229
|
|
|
@@ -50104,19 +50349,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
50104
50349
|
.theme-scope [data-arrangement="month-day"] [data-slot="frame"] > * { grid-column: auto; }
|
|
50105
50350
|
|
|
50106
50351
|
/* Independent live time and places parts stay in their own columns. */
|
|
50107
|
-
.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; }
|
|
50108
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] [data-slot="time"] { grid-column: 3; }
|
|
50109
|
-
.theme-scope [data-arrangement="ledger"][data-mode="list"] [data-slot="places"] { grid-column: 4; }
|
|
50110
|
-
.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; }
|
|
50111
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; }
|
|
50112
50357
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="time"] { grid-column: 2; }
|
|
50113
50358
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="places"] { grid-column: 3; }
|
|
50114
50359
|
.theme-scope [data-arrangement="day-groups"][data-mode="list"] [data-slot="action"] { grid-column: 4; }
|
|
50115
|
-
.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; }
|
|
50116
50361
|
@container rb-site (max-width: 1023px) {
|
|
50117
50362
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
50118
|
-
.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; }
|
|
50119
|
-
.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; }
|
|
50120
50365
|
.theme-scope:is(*, :scope) [data-arrangement="day-groups"][data-mode="list"] [data-slot="row"] { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
|
|
50121
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; }
|
|
50122
50367
|
}
|
|
@@ -50644,6 +50889,17 @@ const containerResponsiveThemeCss = `/*
|
|
|
50644
50889
|
}
|
|
50645
50890
|
}
|
|
50646
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
|
+
|
|
50647
50903
|
/* Bounded style skins (issue 1575, D14): one stylesheet per arrangement style, keyed on data-skin. */
|
|
50648
50904
|
|
|
50649
50905
|
/* =============================================================================
|
|
@@ -54269,13 +54525,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
54269
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); }
|
|
54270
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; }
|
|
54271
54527
|
|
|
54272
|
-
/* Calendar:
|
|
54528
|
+
/* Calendar: untinted date rails, sheet surfaces and ordinary themed actions. */
|
|
54273
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; }
|
|
54274
|
-
[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); }
|
|
54275
54531
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="row"]:first-child { border-top: 0; }
|
|
54276
54532
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="row-continued"] [data-slot="date"] { visibility: hidden; }
|
|
54277
54533
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="time"] { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
|
|
54278
|
-
[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; }
|
|
54279
54535
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="date"] { grid-column: 1; grid-row: 1; }
|
|
54280
54536
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="what"] { grid-column: 2; grid-row: 1; }
|
|
54281
54537
|
[data-skin="folio"] [data-treat="calendar-card"] [data-slot="time"] { grid-column: 3; grid-row: 1; }
|
|
@@ -54288,7 +54544,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
54288
54544
|
[data-skin="folio"] [data-arrangement] [data-slot="day"] { font: 500 1.75rem/1 var(--font-heading); color: var(--rb-surface-text-color); }
|
|
54289
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; }
|
|
54290
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; }
|
|
54291
|
-
[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; }
|
|
54292
54551
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item"] { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
|
|
54293
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; }
|
|
54294
54553
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="date"] > * { display: inline; }
|
|
@@ -54297,8 +54556,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
54297
54556
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item-body"] { flex: 1; display: flex; flex-direction: column; gap: 8px; }
|
|
54298
54557
|
[data-skin="folio"] [data-treat="calendar-sheets"] [data-slot="item-actions"] { margin-top: auto; padding-top: 10px; }
|
|
54299
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; }
|
|
54300
|
-
[data-skin="folio"]
|
|
54301
|
-
[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; }
|
|
54302
54560
|
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="date"] { display: grid; justify-items: center; gap: 4px; min-width: 56px; }
|
|
54303
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; }
|
|
54304
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); }
|
|
@@ -54399,10 +54657,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
54399
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; }
|
|
54400
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; }
|
|
54401
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; }
|
|
54402
|
-
[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; }
|
|
54403
54661
|
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="head"]::before { content: none; }
|
|
54404
|
-
[data-skin="folio"] [data-treat="calendar-compact"] [data-slot="panel-heading"] { margin-bottom:
|
|
54405
|
-
[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; }
|
|
54406
54664
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="frame"] { display: block; }
|
|
54407
54665
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="panel"] { max-width: none; width: 100%; box-sizing: border-box; }
|
|
54408
54666
|
[data-skin="folio"] [data-treat="details-sheet"] [data-slot="stack"] > :has(> [data-slot="panel"]) { max-width: none; width: 100%; }
|
|
@@ -54440,9 +54698,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
54440
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; }
|
|
54441
54699
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] [data-slot="item"] [data-slot="facts"] { margin-top: 8px; }
|
|
54442
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; }
|
|
54443
|
-
[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; }
|
|
54444
54701
|
|
|
54445
|
-
/* 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. */
|
|
54446
54703
|
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-card-list] { --rb-skin-gutter: 24px; }
|
|
54447
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; }
|
|
54448
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; }
|
|
@@ -54450,11 +54707,9 @@ const containerResponsiveThemeCss = `/*
|
|
|
54450
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; }
|
|
54451
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; }
|
|
54452
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; }
|
|
54453
|
-
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-slot="controls"] { justify-content: flex-start; }
|
|
54454
|
-
[data-skin="folio"] [data-arrangement][data-treat="carousel-row-sheet"] [data-control="dots"] { order: 1; flex: 0 1 auto; margin: 0; }
|
|
54455
54710
|
|
|
54456
|
-
/* Shared: soft sheet cards, the type chip with its mark dot, muted text, ruled facts, the quiet date plate and
|
|
54457
|
-
[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; }
|
|
54458
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; }
|
|
54459
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; }
|
|
54460
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); }
|
|
@@ -54469,10 +54724,17 @@ const containerResponsiveThemeCss = `/*
|
|
|
54469
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; }
|
|
54470
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); }
|
|
54471
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; }
|
|
54472
|
-
[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:
|
|
54473
|
-
[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-
|
|
54474
|
-
[data-skin="folio"] [data-arrangement]:is([data-treat="carousel-wide-sheet"], [data-treat="carousel-row-sheet"]) [data-control="dots"] { display: flex; gap: 0; }
|
|
54475
|
-
[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
|
+
}
|
|
54476
54738
|
@container rb-site (max-width: 767px) {
|
|
54477
54739
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54478
54740
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-treat="carousel-wide-sheet"] [data-card-list] { --rb-skin-gutter: 16px; }
|
|
@@ -54577,6 +54839,43 @@ const containerResponsiveThemeCss = `/*
|
|
|
54577
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; }
|
|
54578
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; }
|
|
54579
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
|
+
|
|
54580
54879
|
/* =============================================================================
|
|
54581
54880
|
* Loom skin.
|
|
54582
54881
|
*
|
|
@@ -55536,8 +55835,17 @@ function parseBlocksTheme(theme) {
|
|
|
55536
55835
|
if (!parsed.ok) throw new Error(`Theme does not satisfy the canonical runtime contract: ${parsed.error.kind}`);
|
|
55537
55836
|
return parsed.value;
|
|
55538
55837
|
}
|
|
55539
|
-
|
|
55540
|
-
|
|
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
|
+
} };
|
|
55541
55849
|
}
|
|
55542
55850
|
//#endregion
|
|
55543
55851
|
//#region src/rendering/blocks-page-renderer.ts
|
|
@@ -55577,8 +55885,7 @@ function toBlocksPageRendererDataContext(dataContext) {
|
|
|
55577
55885
|
...resolveDateRuntimeContext(dataContext.dateContext?.timeZone ?? dataContext.bookingTimeZone),
|
|
55578
55886
|
...dataContext.dateContext?.locale ? { locale: dataContext.dateContext.locale } : {}
|
|
55579
55887
|
},
|
|
55580
|
-
|
|
55581
|
-
imageResolveContext: toBlocksImageResolveContextInput(dataContext.imageResolveContext)
|
|
55888
|
+
...resolveBlocksPageMediaContext(dataContext)
|
|
55582
55889
|
};
|
|
55583
55890
|
}
|
|
55584
55891
|
function toBlocksCommonProps(props) {
|
|
@@ -55653,6 +55960,20 @@ function planLayoutThemeRuntime(input) {
|
|
|
55653
55960
|
}
|
|
55654
55961
|
return requested;
|
|
55655
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
|
+
}
|
|
55656
55977
|
function renderWithSdkThemeRuntime({ themeRuntime, theme, children }) {
|
|
55657
55978
|
switch (themeRuntime.kind) {
|
|
55658
55979
|
case "cms-theme": return /* @__PURE__ */ jsx(ThemeScope, {
|
|
@@ -55684,7 +56005,11 @@ function isOverrideOnlyPage(props) {
|
|
|
55684
56005
|
return props.rendering?.kind === "overrides-only";
|
|
55685
56006
|
}
|
|
55686
56007
|
function resolvePageThemeTokens(props) {
|
|
55687
|
-
const
|
|
56008
|
+
const solvedInks = solvedInksForThemeRuntime(props.themeRuntime ?? defaultPageThemeRuntime);
|
|
56009
|
+
const baseTokens = {
|
|
56010
|
+
...props.themeTokens ?? buildThemeRuntime(props.theme).tokens,
|
|
56011
|
+
solvedInks
|
|
56012
|
+
};
|
|
55688
56013
|
return props.sdkConfig?.theme?.palette ? {
|
|
55689
56014
|
...baseTokens,
|
|
55690
56015
|
palette: {
|
|
@@ -55734,6 +56059,7 @@ function buildPageIdentityRenderContext(dataContext) {
|
|
|
55734
56059
|
}
|
|
55735
56060
|
function PageContent(props) {
|
|
55736
56061
|
const rendererCommonProps = buildPageRendererProps(props);
|
|
56062
|
+
const themeTokens = isOverrideOnlyPage(props) ? void 0 : resolvePageThemeTokens(props);
|
|
55737
56063
|
const content = isOverrideOnlyPage(props) ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
55738
56064
|
...rendererCommonProps,
|
|
55739
56065
|
rendering: { kind: "overrides-only" },
|
|
@@ -55741,16 +56067,23 @@ function PageContent(props) {
|
|
|
55741
56067
|
}) : /* @__PURE__ */ jsx(PageRenderer, {
|
|
55742
56068
|
...rendererCommonProps,
|
|
55743
56069
|
theme: props.theme,
|
|
55744
|
-
themeTokens
|
|
56070
|
+
themeTokens,
|
|
55745
56071
|
blockOverrides: props.blockOverrides
|
|
55746
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
|
+
});
|
|
55747
56080
|
return isOverrideOnlyPage(props) ? renderWithOverrideOnlyRuntime({
|
|
55748
56081
|
runtime: props.rendering.runtime,
|
|
55749
|
-
children
|
|
56082
|
+
children
|
|
55750
56083
|
}) : renderWithSdkThemeRuntime({
|
|
55751
56084
|
themeRuntime: props.themeRuntime ?? defaultPageThemeRuntime,
|
|
55752
56085
|
theme: props.theme,
|
|
55753
|
-
children
|
|
56086
|
+
children
|
|
55754
56087
|
});
|
|
55755
56088
|
}
|
|
55756
56089
|
/** The page shell owns the complete block context for both rendering modes. */
|
|
@@ -55845,4 +56178,4 @@ function Page(props) {
|
|
|
55845
56178
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
|
|
55846
56179
|
}
|
|
55847
56180
|
//#endregion
|
|
55848
|
-
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 };
|