@riverbankcms/sdk 0.159.0 → 0.161.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/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- 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 +13 -7
- 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 +6 -6
- 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 +10 -28
- 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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import {
|
|
1
|
+
import { $n as resolveOpaqueSurfaceHex, A as RESOLVED_BUTTON_DISABLED_DECLARATIONS, Bn as SURFACE_FOREGROUND_CSS_VARS, C as ACCORDION_SPACING_MAP, Cn as textColorValue, Ct as generateCardCss, D as ICON_SIZE_PX, Dn as compileButtonColourStates, E as ICON_CONFIG, En as opaqueSurfaceDeclarations, Gn as surfaceForegroundValueWithOpacity, Hn as surfaceForegroundInputFromResolved, Jn as onColorTokenName, Kn as expandPalette, Ln as buildThemeTokens, M as resolvedButtonFocusDeclarations, Nn as generateShadowValue$1, O as generateButtonActionLayoutCss, On as formatButtonColourContractError, S as ACCORDION_OPEN_ACCENT_THICKNESS, St as getDefaultCardVariants, T as ACCORDION_TRIGGER_LETTER_SPACING, Tn as opaqueSurfaceContextFromTheme, Tt as generateShadowValue, Vn as surfaceForegroundDeclarations, Wn as surfaceForegroundValue, Yn as getTextColorForBackground, _ as parseCustomCssRules, at as boxBackgroundSchema, b as INPUT_SPACING_MAP, c as MQ_LG_UP, cr as buttonVariantIdSchema, d as MQ_SM_UP, f as MQ_TABLET_ONLY, g as parseBlockCustomCssRules, ir as paletteModeSchema, j as resolvedButtonColourDeclarations, k as generateButtonCss, lr as unsafeAsOpaqueButtonColourToken, mn as safeTokenOr, pn as resolveSurfaceForeground, pr as parseColorTokenParts, qn as isOnColorBackgroundCandidateToken, rr as paletteColorsSchema, t as corners, tr as hexToRgb, u as MQ_SM_DOWN, un as resolveSurface, ur as parseThemeColorToken, v as FONT_WEIGHT_MAP, w as ACCORDION_TRIGGER_FONT_SCALE, wt as renderCssDeclarations, x as LABEL_FONT_SIZE_MAP, xn as rgbColorValue, xt as generateCardCoreCss, y as INPUT_FONT_SIZE_MAP, yn as cssVarValue, z as skinTokenCssVars, zn as DEFAULT_SURFACE_TEXT_COLOR } from "./schema-CD4peO7m.mjs";
|
|
2
|
+
import { L as boundaryRuntimeMetricsForDecorativeTransition, O as generateFooterCss, R as anglePolygonCss, S as requireCuratedSiteStyle, z as transitionCatalogueEntries } from "./effectiveNavLinkStyle-CGvGr3yD.mjs";
|
|
3
|
+
import { c as DEFAULT_THEME_RESPONSIVE_MODE, d as convertMediaQueryToContainerQuery, s as generateHeaderCss, u as getResponsiveScopeSpec } from "./siteChromeOverlayClearance-DNC2k1U0.mjs";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
import "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -45,6 +46,193 @@ function themeRuntimeScopeProps(runtime) {
|
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
//#endregion
|
|
49
|
+
//#region ../theme-core/src/accordions/defaults.ts
|
|
50
|
+
/**
|
|
51
|
+
* Generate default accordion system based on theme configuration
|
|
52
|
+
*
|
|
53
|
+
* Creates a single accordion style that harmonizes with the theme's
|
|
54
|
+
* visual language (spacing, borders, shadows, colors).
|
|
55
|
+
*/
|
|
56
|
+
function generateDefaultAccordionSystem(theme) {
|
|
57
|
+
const overrides = theme.siteStyleId ? requireCuratedSiteStyle(theme.siteStyleId).themeOverrides?.accordions : void 0;
|
|
58
|
+
if (overrides) return overrides;
|
|
59
|
+
const { axes, space } = theme;
|
|
60
|
+
return {
|
|
61
|
+
background: {
|
|
62
|
+
type: "solid",
|
|
63
|
+
colorToken: "surface"
|
|
64
|
+
},
|
|
65
|
+
spacing: space === "comfortable" ? "comfortable" : space === "dense" ? "compact" : "medium",
|
|
66
|
+
corners: null,
|
|
67
|
+
border: defaultAccordionBorder(theme),
|
|
68
|
+
shadow: defaultAccordionShadow(theme),
|
|
69
|
+
icon: {
|
|
70
|
+
style: axes.tone === "bold" ? "plus-minus" : "chevron",
|
|
71
|
+
position: "right",
|
|
72
|
+
size: axes.density === "compact" ? "sm" : "md"
|
|
73
|
+
},
|
|
74
|
+
trigger: {
|
|
75
|
+
textColorToken: "text",
|
|
76
|
+
fontWeight: axes.tone === "bold" ? "bold" : axes.tone === "minimal" ? "medium" : "semibold"
|
|
77
|
+
},
|
|
78
|
+
hover: generateHoverEffects(axes),
|
|
79
|
+
content: { textColorToken: "neutral-700" }
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function defaultAccordionBorder({ axes, border }) {
|
|
83
|
+
return axes.conversionBias === "high" || border.width !== "none" ? {
|
|
84
|
+
widthClass: border.width === "thick" ? "border-2" : "border",
|
|
85
|
+
colorToken: "border"
|
|
86
|
+
} : null;
|
|
87
|
+
}
|
|
88
|
+
function defaultAccordionShadow({ axes, shadow }) {
|
|
89
|
+
return axes.conversionBias === "high" || shadow.elevation !== "none" ? {
|
|
90
|
+
elevation: shadow.elevation === "none" ? "low" : shadow.elevation,
|
|
91
|
+
softness: shadow.softness === "crisp" || shadow.softness === null ? "soft" : shadow.softness,
|
|
92
|
+
position: shadow.position
|
|
93
|
+
} : null;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Generate hover effects based on theme characteristics
|
|
97
|
+
*
|
|
98
|
+
* Strategy:
|
|
99
|
+
* - Minimal/calm themes: subtle text color change only
|
|
100
|
+
* - Bold/vibrant themes: background + text color
|
|
101
|
+
* - High conversion themes: background + shadow elevation
|
|
102
|
+
*/
|
|
103
|
+
function generateHoverEffects(axes) {
|
|
104
|
+
const { tone, energy, conversionBias } = axes;
|
|
105
|
+
if (tone === "minimal" && energy === "calm") return { textColorToken: "primary" };
|
|
106
|
+
if (tone === "bold" || conversionBias === "high") return {
|
|
107
|
+
backgroundColorToken: "primary/10",
|
|
108
|
+
textColorToken: "primary"
|
|
109
|
+
};
|
|
110
|
+
if (energy === "vibrant") return {
|
|
111
|
+
backgroundColorToken: "primary/5",
|
|
112
|
+
textColorToken: "primary"
|
|
113
|
+
};
|
|
114
|
+
return {
|
|
115
|
+
backgroundColorToken: "primary/5",
|
|
116
|
+
textColorToken: "primary"
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region ../theme-core/src/blockOverrides.ts
|
|
121
|
+
const BLOCK_PREFIX = "block.";
|
|
122
|
+
function isPlainObject(value) {
|
|
123
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
124
|
+
}
|
|
125
|
+
function isUnknownArray(value) {
|
|
126
|
+
return Array.isArray(value);
|
|
127
|
+
}
|
|
128
|
+
function cloneValue(value) {
|
|
129
|
+
if (isUnknownArray(value)) return value.map((item) => cloneValue(item));
|
|
130
|
+
if (isPlainObject(value)) {
|
|
131
|
+
const cloned = {};
|
|
132
|
+
for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
|
|
133
|
+
return cloned;
|
|
134
|
+
}
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
function mergeDeep(defaultValue, overrideValue) {
|
|
138
|
+
if (overrideValue === void 0) return cloneValue(defaultValue);
|
|
139
|
+
if (overrideValue === null) return null;
|
|
140
|
+
if (isPlainObject(defaultValue) && isPlainObject(overrideValue)) {
|
|
141
|
+
const merged = {};
|
|
142
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
|
|
143
|
+
for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
|
|
144
|
+
return merged;
|
|
145
|
+
}
|
|
146
|
+
return cloneValue(overrideValue);
|
|
147
|
+
}
|
|
148
|
+
function normalizeBlockKind(blockKind) {
|
|
149
|
+
return blockKind.replace(/^block\./, "");
|
|
150
|
+
}
|
|
151
|
+
function buildBlockKindCandidates(blockKind) {
|
|
152
|
+
const normalized = normalizeBlockKind(blockKind);
|
|
153
|
+
const prefixed = `${BLOCK_PREFIX}${normalized}`;
|
|
154
|
+
return Array.from(/* @__PURE__ */ new Set([
|
|
155
|
+
blockKind,
|
|
156
|
+
normalized,
|
|
157
|
+
prefixed
|
|
158
|
+
]));
|
|
159
|
+
}
|
|
160
|
+
function resolveEffectiveHeadingDecoration(themeDecoration, override) {
|
|
161
|
+
if (override === "off" || !themeDecoration || themeDecoration.family === "none") return { kind: "none" };
|
|
162
|
+
return {
|
|
163
|
+
kind: "visible",
|
|
164
|
+
decoration: themeDecoration
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function resolveBlockThemeOverride(theme, blockKind) {
|
|
168
|
+
if (!theme?.blockOverrides || !blockKind) return void 0;
|
|
169
|
+
for (const candidate of buildBlockKindCandidates(blockKind)) {
|
|
170
|
+
const override = theme.blockOverrides[candidate];
|
|
171
|
+
if (override) return override;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
|
|
175
|
+
const styleOverrides = resolveBlockThemeOverride(theme, blockKind)?.styles;
|
|
176
|
+
const mergedContent = { ...content };
|
|
177
|
+
if (styleOverrides) {
|
|
178
|
+
applyStyleOverride(mergedContent, "_sectionStyles", styleOverrides.sectionStyles);
|
|
179
|
+
applyStyleOverride(mergedContent, "_containerStyles", styleOverrides.containerStyles);
|
|
180
|
+
applyStyleOverride(mergedContent, "_cardStyles", styleOverrides.cardStyles);
|
|
181
|
+
}
|
|
182
|
+
applyHeadingDecorationSignature(mergedContent, theme?.headingDecoration);
|
|
183
|
+
return mergedContent;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Projects the site-wide heading decoration signature onto a transient
|
|
187
|
+
* `_sectionStyles.headingDecoration`, honouring the per-section override:
|
|
188
|
+
* - `off` strips the decoration (the section opts out).
|
|
189
|
+
* - `site-default` / absent use the theme signature.
|
|
190
|
+
*
|
|
191
|
+
* Clone-on-write so the caller's content is never mutated in place. Any value
|
|
192
|
+
* previously baked into content is intentionally overwritten — the theme is the
|
|
193
|
+
* single runtime source.
|
|
194
|
+
*/
|
|
195
|
+
function applyHeadingDecorationSignature(target, themeDecoration) {
|
|
196
|
+
const existing = target["_sectionStyles"];
|
|
197
|
+
const existingObj = isPlainObject(existing) ? existing : void 0;
|
|
198
|
+
const rawOverride = existingObj?.["headingDecorationOverride"];
|
|
199
|
+
const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
|
|
200
|
+
if (effective.kind === "none") {
|
|
201
|
+
if (existingObj && "headingDecoration" in existingObj) {
|
|
202
|
+
const next = { ...existingObj };
|
|
203
|
+
delete next["headingDecoration"];
|
|
204
|
+
target["_sectionStyles"] = next;
|
|
205
|
+
}
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const next = existingObj ? { ...existingObj } : {};
|
|
209
|
+
next["headingDecoration"] = { ...effective.decoration };
|
|
210
|
+
target["_sectionStyles"] = next;
|
|
211
|
+
}
|
|
212
|
+
function applyStyleOverride(target, key, defaults) {
|
|
213
|
+
if (defaults === void 0) return;
|
|
214
|
+
target[key] = mergeStyleOverride(defaults, target[key]);
|
|
215
|
+
}
|
|
216
|
+
function mergeStyleOverride(defaultValue, contentValue) {
|
|
217
|
+
if (!isPlainObject(defaultValue) || !isPlainObject(contentValue)) return mergeDeep(defaultValue, contentValue);
|
|
218
|
+
const merged = mergeDeep(defaultValue, contentValue);
|
|
219
|
+
if (!isPlainObject(merged)) return merged;
|
|
220
|
+
return {
|
|
221
|
+
...merged,
|
|
222
|
+
background: mergeBoxBackground(defaultValue.background, contentValue.background)
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
function mergeBoxBackground(defaultValue, contentValue) {
|
|
226
|
+
if (contentValue === void 0) return cloneValue(defaultValue);
|
|
227
|
+
if (contentValue === null) return null;
|
|
228
|
+
const defaults = boxBackgroundSchema.safeParse(defaultValue);
|
|
229
|
+
const content = boxBackgroundSchema.safeParse(contentValue);
|
|
230
|
+
if (!content.success) return cloneValue(contentValue);
|
|
231
|
+
if (!defaults.success || defaults.data.type !== content.data.type) return content.data;
|
|
232
|
+
const merged = boxBackgroundSchema.safeParse(mergeDeep(defaults.data, content.data));
|
|
233
|
+
return merged.success ? merged.data : content.data;
|
|
234
|
+
}
|
|
235
|
+
//#endregion
|
|
48
236
|
//#region ../theme-core/src/runtime/fontFamily.ts
|
|
49
237
|
/**
|
|
50
238
|
* Font Family Formatting Utilities
|
|
@@ -573,77 +761,6 @@ function accordionSurfaceRules(theme, system) {
|
|
|
573
761
|
return [`background-color: ${rgbColorValue(system.background.colorToken)}`, ...surfaceForegroundDeclarations(foreground.kind === "known" ? surfaceForegroundInputFromResolved(foreground, rgbColorValue) : { text: rgbColorValue(system.content.textColorToken) })];
|
|
574
762
|
}
|
|
575
763
|
//#endregion
|
|
576
|
-
//#region ../theme-core/src/accordions/defaults.ts
|
|
577
|
-
/**
|
|
578
|
-
* Generate default accordion system based on theme configuration
|
|
579
|
-
*
|
|
580
|
-
* Creates a single accordion style that harmonizes with the theme's
|
|
581
|
-
* visual language (spacing, borders, shadows, colors).
|
|
582
|
-
*/
|
|
583
|
-
function generateDefaultAccordionSystem(theme) {
|
|
584
|
-
const overrides = theme.siteStyleId ? requireCuratedSiteStyle(theme.siteStyleId).themeOverrides?.accordions : void 0;
|
|
585
|
-
if (overrides) return overrides;
|
|
586
|
-
const { axes, space } = theme;
|
|
587
|
-
return {
|
|
588
|
-
background: {
|
|
589
|
-
type: "solid",
|
|
590
|
-
colorToken: "surface"
|
|
591
|
-
},
|
|
592
|
-
spacing: space === "comfortable" ? "comfortable" : space === "dense" ? "compact" : "medium",
|
|
593
|
-
corners: null,
|
|
594
|
-
border: defaultAccordionBorder(theme),
|
|
595
|
-
shadow: defaultAccordionShadow(theme),
|
|
596
|
-
icon: {
|
|
597
|
-
style: axes.tone === "bold" ? "plus-minus" : "chevron",
|
|
598
|
-
position: "right",
|
|
599
|
-
size: axes.density === "compact" ? "sm" : "md"
|
|
600
|
-
},
|
|
601
|
-
trigger: {
|
|
602
|
-
textColorToken: "text",
|
|
603
|
-
fontWeight: axes.tone === "bold" ? "bold" : axes.tone === "minimal" ? "medium" : "semibold"
|
|
604
|
-
},
|
|
605
|
-
hover: generateHoverEffects(axes),
|
|
606
|
-
content: { textColorToken: "neutral-700" }
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
function defaultAccordionBorder({ axes, border }) {
|
|
610
|
-
return axes.conversionBias === "high" || border.width !== "none" ? {
|
|
611
|
-
widthClass: border.width === "thick" ? "border-2" : "border",
|
|
612
|
-
colorToken: "border"
|
|
613
|
-
} : null;
|
|
614
|
-
}
|
|
615
|
-
function defaultAccordionShadow({ axes, shadow }) {
|
|
616
|
-
return axes.conversionBias === "high" || shadow.elevation !== "none" ? {
|
|
617
|
-
elevation: shadow.elevation === "none" ? "low" : shadow.elevation,
|
|
618
|
-
softness: shadow.softness === "crisp" || shadow.softness === null ? "soft" : shadow.softness,
|
|
619
|
-
position: shadow.position
|
|
620
|
-
} : null;
|
|
621
|
-
}
|
|
622
|
-
/**
|
|
623
|
-
* Generate hover effects based on theme characteristics
|
|
624
|
-
*
|
|
625
|
-
* Strategy:
|
|
626
|
-
* - Minimal/calm themes: subtle text color change only
|
|
627
|
-
* - Bold/vibrant themes: background + text color
|
|
628
|
-
* - High conversion themes: background + shadow elevation
|
|
629
|
-
*/
|
|
630
|
-
function generateHoverEffects(axes) {
|
|
631
|
-
const { tone, energy, conversionBias } = axes;
|
|
632
|
-
if (tone === "minimal" && energy === "calm") return { textColorToken: "primary" };
|
|
633
|
-
if (tone === "bold" || conversionBias === "high") return {
|
|
634
|
-
backgroundColorToken: "primary/10",
|
|
635
|
-
textColorToken: "primary"
|
|
636
|
-
};
|
|
637
|
-
if (energy === "vibrant") return {
|
|
638
|
-
backgroundColorToken: "primary/5",
|
|
639
|
-
textColorToken: "primary"
|
|
640
|
-
};
|
|
641
|
-
return {
|
|
642
|
-
backgroundColorToken: "primary/5",
|
|
643
|
-
textColorToken: "primary"
|
|
644
|
-
};
|
|
645
|
-
}
|
|
646
|
-
//#endregion
|
|
647
764
|
//#region ../theme-core/src/inputs/checkable.ts
|
|
648
765
|
/**
|
|
649
766
|
* Checkbox and radio CSS shared by the full theme generator and the SDK
|
|
@@ -2357,122 +2474,6 @@ function generateBlockCustomVarsCss(themeId, blockCustomVars) {
|
|
|
2357
2474
|
return cssChunks.join("\n\n");
|
|
2358
2475
|
}
|
|
2359
2476
|
//#endregion
|
|
2360
|
-
//#region ../theme-core/src/blockOverrides.ts
|
|
2361
|
-
const BLOCK_PREFIX = "block.";
|
|
2362
|
-
function isPlainObject(value) {
|
|
2363
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
2364
|
-
}
|
|
2365
|
-
function isUnknownArray(value) {
|
|
2366
|
-
return Array.isArray(value);
|
|
2367
|
-
}
|
|
2368
|
-
function cloneValue(value) {
|
|
2369
|
-
if (isUnknownArray(value)) return value.map((item) => cloneValue(item));
|
|
2370
|
-
if (isPlainObject(value)) {
|
|
2371
|
-
const cloned = {};
|
|
2372
|
-
for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
|
|
2373
|
-
return cloned;
|
|
2374
|
-
}
|
|
2375
|
-
return value;
|
|
2376
|
-
}
|
|
2377
|
-
function mergeDeep(defaultValue, overrideValue) {
|
|
2378
|
-
if (overrideValue === void 0) return cloneValue(defaultValue);
|
|
2379
|
-
if (overrideValue === null) return null;
|
|
2380
|
-
if (isPlainObject(defaultValue) && isPlainObject(overrideValue)) {
|
|
2381
|
-
const merged = {};
|
|
2382
|
-
const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
|
|
2383
|
-
for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
|
|
2384
|
-
return merged;
|
|
2385
|
-
}
|
|
2386
|
-
return cloneValue(overrideValue);
|
|
2387
|
-
}
|
|
2388
|
-
function normalizeBlockKind(blockKind) {
|
|
2389
|
-
return blockKind.replace(/^block\./, "");
|
|
2390
|
-
}
|
|
2391
|
-
function buildBlockKindCandidates(blockKind) {
|
|
2392
|
-
const normalized = normalizeBlockKind(blockKind);
|
|
2393
|
-
const prefixed = `${BLOCK_PREFIX}${normalized}`;
|
|
2394
|
-
return Array.from(/* @__PURE__ */ new Set([
|
|
2395
|
-
blockKind,
|
|
2396
|
-
normalized,
|
|
2397
|
-
prefixed
|
|
2398
|
-
]));
|
|
2399
|
-
}
|
|
2400
|
-
function resolveEffectiveHeadingDecoration(themeDecoration, override) {
|
|
2401
|
-
if (override === "off" || !themeDecoration || themeDecoration.family === "none") return { kind: "none" };
|
|
2402
|
-
return {
|
|
2403
|
-
kind: "visible",
|
|
2404
|
-
decoration: themeDecoration
|
|
2405
|
-
};
|
|
2406
|
-
}
|
|
2407
|
-
function resolveBlockThemeOverride(theme, blockKind) {
|
|
2408
|
-
if (!theme?.blockOverrides || !blockKind) return void 0;
|
|
2409
|
-
for (const candidate of buildBlockKindCandidates(blockKind)) {
|
|
2410
|
-
const override = theme.blockOverrides[candidate];
|
|
2411
|
-
if (override) return override;
|
|
2412
|
-
}
|
|
2413
|
-
}
|
|
2414
|
-
function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
|
|
2415
|
-
const styleOverrides = resolveBlockThemeOverride(theme, blockKind)?.styles;
|
|
2416
|
-
const mergedContent = { ...content };
|
|
2417
|
-
if (styleOverrides) {
|
|
2418
|
-
applyStyleOverride(mergedContent, "_sectionStyles", styleOverrides.sectionStyles);
|
|
2419
|
-
applyStyleOverride(mergedContent, "_containerStyles", styleOverrides.containerStyles);
|
|
2420
|
-
applyStyleOverride(mergedContent, "_cardStyles", styleOverrides.cardStyles);
|
|
2421
|
-
}
|
|
2422
|
-
applyHeadingDecorationSignature(mergedContent, theme?.headingDecoration);
|
|
2423
|
-
return mergedContent;
|
|
2424
|
-
}
|
|
2425
|
-
/**
|
|
2426
|
-
* Projects the site-wide heading decoration signature onto a transient
|
|
2427
|
-
* `_sectionStyles.headingDecoration`, honouring the per-section override:
|
|
2428
|
-
* - `off` strips the decoration (the section opts out).
|
|
2429
|
-
* - `site-default` / absent use the theme signature.
|
|
2430
|
-
*
|
|
2431
|
-
* Clone-on-write so the caller's content is never mutated in place. Any value
|
|
2432
|
-
* previously baked into content is intentionally overwritten — the theme is the
|
|
2433
|
-
* single runtime source.
|
|
2434
|
-
*/
|
|
2435
|
-
function applyHeadingDecorationSignature(target, themeDecoration) {
|
|
2436
|
-
const existing = target["_sectionStyles"];
|
|
2437
|
-
const existingObj = isPlainObject(existing) ? existing : void 0;
|
|
2438
|
-
const rawOverride = existingObj?.["headingDecorationOverride"];
|
|
2439
|
-
const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
|
|
2440
|
-
if (effective.kind === "none") {
|
|
2441
|
-
if (existingObj && "headingDecoration" in existingObj) {
|
|
2442
|
-
const next = { ...existingObj };
|
|
2443
|
-
delete next["headingDecoration"];
|
|
2444
|
-
target["_sectionStyles"] = next;
|
|
2445
|
-
}
|
|
2446
|
-
return;
|
|
2447
|
-
}
|
|
2448
|
-
const next = existingObj ? { ...existingObj } : {};
|
|
2449
|
-
next["headingDecoration"] = { ...effective.decoration };
|
|
2450
|
-
target["_sectionStyles"] = next;
|
|
2451
|
-
}
|
|
2452
|
-
function applyStyleOverride(target, key, defaults) {
|
|
2453
|
-
if (defaults === void 0) return;
|
|
2454
|
-
target[key] = mergeStyleOverride(defaults, target[key]);
|
|
2455
|
-
}
|
|
2456
|
-
function mergeStyleOverride(defaultValue, contentValue) {
|
|
2457
|
-
if (!isPlainObject(defaultValue) || !isPlainObject(contentValue)) return mergeDeep(defaultValue, contentValue);
|
|
2458
|
-
const merged = mergeDeep(defaultValue, contentValue);
|
|
2459
|
-
if (!isPlainObject(merged)) return merged;
|
|
2460
|
-
return {
|
|
2461
|
-
...merged,
|
|
2462
|
-
background: mergeBoxBackground(defaultValue.background, contentValue.background)
|
|
2463
|
-
};
|
|
2464
|
-
}
|
|
2465
|
-
function mergeBoxBackground(defaultValue, contentValue) {
|
|
2466
|
-
if (contentValue === void 0) return cloneValue(defaultValue);
|
|
2467
|
-
if (contentValue === null) return null;
|
|
2468
|
-
const defaults = boxBackgroundSchema.safeParse(defaultValue);
|
|
2469
|
-
const content = boxBackgroundSchema.safeParse(contentValue);
|
|
2470
|
-
if (!content.success) return cloneValue(contentValue);
|
|
2471
|
-
if (!defaults.success || defaults.data.type !== content.data.type) return content.data;
|
|
2472
|
-
const merged = boxBackgroundSchema.safeParse(mergeDeep(defaults.data, content.data));
|
|
2473
|
-
return merged.success ? merged.data : content.data;
|
|
2474
|
-
}
|
|
2475
|
-
//#endregion
|
|
2476
2477
|
//#region ../theme-core/src/customCss/selectorUtils.ts
|
|
2477
2478
|
/**
|
|
2478
2479
|
* Shared CSS Selector Utilities
|
|
@@ -5059,6 +5060,25 @@ const containerResponsiveThemeCss = `/*
|
|
|
5059
5060
|
}
|
|
5060
5061
|
}
|
|
5061
5062
|
|
|
5063
|
+
/* Shared upload structure: included in both public theme CSS and editor CSS.
|
|
5064
|
+
* Palette, row framing and animation belong to each surface. No Tailwind required. */
|
|
5065
|
+
@layer components {
|
|
5066
|
+
.rb-upload-progress { position: relative; width: 100%; height: 8px; overflow: hidden; border-radius: 9999px; }
|
|
5067
|
+
.rb-upload-progress[data-size="thin"] { height: 4px; }
|
|
5068
|
+
.rb-upload-progress-fill { height: 100%; border-radius: inherit; }
|
|
5069
|
+
.rb-upload-progress[data-indeterminate] .rb-upload-progress-fill { position: absolute; }
|
|
5070
|
+
.rb-upload-content { min-width: 0; }
|
|
5071
|
+
.rb-upload-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; line-height: 1.3; font-weight: 500; }
|
|
5072
|
+
.rb-upload-content > .rb-upload-progress { margin-top: 6px; }
|
|
5073
|
+
.rb-upload-error { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--foreground); }
|
|
5074
|
+
.rb-upload-status { white-space: nowrap; text-align: right; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--muted-foreground); }
|
|
5075
|
+
.rb-upload-row:is([data-failed], [data-done], [data-sending]) > .rb-upload-status { font-weight: 500; color: var(--foreground); }
|
|
5076
|
+
.rb-upload-row[data-failed] > .rb-upload-status { color: var(--upload-attention); }
|
|
5077
|
+
.rb-upload-done-icon { display: inline; margin-right: 6px; }
|
|
5078
|
+
.rb-upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
|
|
5079
|
+
.rb-upload-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
|
|
5080
|
+
}
|
|
5081
|
+
|
|
5062
5082
|
@layer rb-theme {
|
|
5063
5083
|
/* Fallback defaults so preview doesn't look broken before ThemeScope injects vars */
|
|
5064
5084
|
:root {
|
|
@@ -14309,6 +14329,57 @@ const containerResponsiveThemeCss = `/*
|
|
|
14309
14329
|
/* Styles for SSR placeholder */
|
|
14310
14330
|
}
|
|
14311
14331
|
|
|
14332
|
+
/* Document uploads: the shared upload row (uploads-react UploadRow), drawn in the
|
|
14333
|
+
* site's palette and type rather than editor chrome. The tokens below are the
|
|
14334
|
+
* ones that row reads; the editor defines the same set in editor-base.css. */
|
|
14335
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field {
|
|
14336
|
+
--foreground: var(--cp-text);
|
|
14337
|
+
--muted-foreground: var(--cp-muted);
|
|
14338
|
+
--card: var(--cp-card-bg);
|
|
14339
|
+
--primary: var(--cp-primary);
|
|
14340
|
+
--muted: color-mix(in srgb, var(--cp-primary) 9%, var(--cp-card-bg));
|
|
14341
|
+
--upload-track: color-mix(in srgb, var(--cp-primary) 14%, var(--cp-card-bg));
|
|
14342
|
+
--upload-row-hover: color-mix(in srgb, var(--cp-text) 3%, var(--cp-card-bg));
|
|
14343
|
+
--upload-attention: var(--cp-error);
|
|
14344
|
+
--upload-attention-wash: color-mix(in srgb, var(--cp-error) 7%, var(--cp-card-bg));
|
|
14345
|
+
--upload-attention-soft: color-mix(in srgb, var(--cp-error) 14%, var(--cp-card-bg));
|
|
14346
|
+
display: flex;
|
|
14347
|
+
flex-direction: column;
|
|
14348
|
+
align-items: flex-start;
|
|
14349
|
+
gap: 10px;
|
|
14350
|
+
}
|
|
14351
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-list { display: contents; }
|
|
14352
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-scroll, :where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-scroll[data-overflow] { align-self: stretch; padding: 0; max-height: none; overflow: visible; mask-image: none; }
|
|
14353
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-trigger { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
|
|
14354
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-trigger:has(input:focus-visible) { outline: 2px solid var(--cp-primary); outline-offset: 2px; }
|
|
14355
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 28px; gap: 12px; align-items: center; padding: 8px 8px 8px 10px; border: 1px solid var(--cp-border); border-radius: var(--cp-control-radius); background: var(--cp-card-bg); color: var(--cp-text); transition: background-color .15s; }
|
|
14356
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row:hover, :where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row:focus-within { background: var(--upload-row-hover); }
|
|
14357
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row[data-failed] { align-items: start; border-color: color-mix(in srgb, var(--cp-error) 22%, var(--cp-card-bg)); background: var(--upload-attention-wash); }
|
|
14358
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row[data-failed] > .rb-upload-status { color: var(--upload-attention); }
|
|
14359
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-status svg { color: var(--cp-primary); }
|
|
14360
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-thumb { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; overflow: hidden; border-radius: 4px; background: var(--muted); color: var(--cp-muted); }
|
|
14361
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-thumb[data-failed] { background: var(--upload-attention-soft); color: var(--upload-attention); }
|
|
14362
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--cp-muted); }
|
|
14363
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-icon:hover { background: color-mix(in srgb, var(--cp-text) 8%, transparent); color: var(--cp-text); }
|
|
14364
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-icon:focus-visible { outline: 2px solid var(--cp-primary); outline-offset: 2px; }
|
|
14365
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-link { color: var(--cp-primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
|
|
14366
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress { background: var(--upload-track); }
|
|
14367
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress-fill { background: var(--cp-primary); transition: width 250ms ease; }
|
|
14368
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress[data-waiting] .rb-upload-progress-fill { opacity: .35; }
|
|
14369
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress[data-indeterminate] .rb-upload-progress-fill { position: absolute; width: 38%; animation: cp-upload-comet 1.5s ease-in-out infinite; }
|
|
14370
|
+
@keyframes cp-upload-comet { from { transform: translateX(-100%); } to { transform: translateX(365%); } }
|
|
14371
|
+
@container rb-site (max-width: 639px) {
|
|
14372
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
14373
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row { gap: 8px; }
|
|
14374
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row[data-failed] > .rb-upload-status { display: none; }
|
|
14375
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-row[data-failed] > .rb-upload-icon { grid-column: 4; }
|
|
14376
|
+
}
|
|
14377
|
+
}
|
|
14378
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14379
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress-fill { transition: none; }
|
|
14380
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-upload-field .rb-upload-progress[data-indeterminate] .rb-upload-progress-fill { animation: none; width: 100%; opacity: .35; }
|
|
14381
|
+
}
|
|
14382
|
+
|
|
14312
14383
|
/* Reserved portal ticket and digital-product pages.
|
|
14313
14384
|
* These render without site chrome, so the page itself sits on the site
|
|
14314
14385
|
* background (from the surrounding theme scope) and the card mirrors .cp-login. */
|
|
@@ -17771,6 +17842,15 @@ const containerResponsiveThemeCss = `/*
|
|
|
17771
17842
|
.theme-scope [data-arrangement] [data-slot="item-text"] { margin-block: 0.5rem 0; }
|
|
17772
17843
|
.theme-scope [data-arrangement="grid"] [data-slot="item-body"] { padding: 1.5rem; }
|
|
17773
17844
|
.theme-scope [data-arrangement="grid"] [data-slot="item-actions"] { margin-top: 1rem; }
|
|
17845
|
+
/* Event spotlight (issue 1612): the date heads the card on one line, inside the card's padding,
|
|
17846
|
+
* so every skin gets a deliberate date without its own treatment rules. */
|
|
17847
|
+
.theme-scope [data-arrangement="grid"][data-treat="calendar-spotlight"] [data-slot="item"] > [data-slot="date"] { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; padding: 1rem 1.5rem 0.875rem; }
|
|
17848
|
+
.theme-scope [data-arrangement="grid"][data-treat="calendar-spotlight"] [data-slot="item"] > [data-slot="date"] > :is([data-slot="weekday"], [data-slot="month"]) { width: auto; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-surface-supporting-color); }
|
|
17849
|
+
.theme-scope [data-arrangement="grid"][data-treat="calendar-spotlight"] [data-slot="item"] > [data-slot="date"] > [data-slot="day"] { width: auto; font-family: var(--font-heading); font-size: 2.25rem; font-weight: 500; line-height: 1; color: var(--rb-surface-heading-color); }
|
|
17850
|
+
.theme-scope [data-arrangement="grid"][data-treat="calendar-spotlight"] [data-slot="item"] > [data-slot="date"] + [data-slot="item-body"] { padding-top: 0.75rem; }
|
|
17851
|
+
/* Calendar grid photos (spotlight and session cards) share one crop, so cards in a row line up
|
|
17852
|
+
* whatever shape each event's photo is. */
|
|
17853
|
+
.theme-scope [data-block="event-calendar"][data-arrangement="grid"] [data-slot="item"] > [data-slot="item-media"] [data-slot="photo"] { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
|
|
17774
17854
|
|
|
17775
17855
|
/* Item bodies fill the card so their actions share a bottom baseline. */
|
|
17776
17856
|
.theme-scope [data-arrangement="grid"] [data-slot="item"] { display: flex; flex-direction: column; }
|
|
@@ -18362,6 +18442,63 @@ const containerResponsiveThemeCss = `/*
|
|
|
18362
18442
|
}
|
|
18363
18443
|
}
|
|
18364
18444
|
|
|
18445
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
18446
|
+
/* Map above the details is the block's own layout (location-map.css). The three Look-only layouts put
|
|
18447
|
+
* the heading in the head slot (Measure hangs it in the rail) and stack the details in one column:
|
|
18448
|
+
* address, door note and actions, then the opening hours. The authored map height is a minimum here. */
|
|
18449
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="layout"] { row-gap: clamp(2rem, 4cqi, 3rem); }
|
|
18450
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="head"] { margin-bottom: 0; }
|
|
18451
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; align-content: start; }
|
|
18452
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-address { font-size: 1.1875rem; line-height: 1.45; }
|
|
18453
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours td { white-space: nowrap; }
|
|
18454
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours tbody tr:last-child :is(th, td) { border-bottom: 1px solid var(--rb-surface-line-color, color-mix(in srgb, currentColor 18%, transparent)); }
|
|
18455
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing { display: flex; flex-direction: column; min-width: 0; }
|
|
18456
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing-crop { flex: 1 1 auto; }
|
|
18457
|
+
|
|
18458
|
+
/* Map beside the address: the details on the left, the map filling the row on the right. */
|
|
18459
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5cqi, 4rem); align-items: stretch; }
|
|
18460
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map-details { grid-column: 1; grid-row: 1; align-self: center; }
|
|
18461
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 2; grid-row: 1; min-height: 30rem; }
|
|
18462
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing svg { width: max(135%, 680px); }
|
|
18463
|
+
|
|
18464
|
+
/* Address over a wide map: the details on a sheet (the card role) laid over the left of a tall map,
|
|
18465
|
+
* the drawing moved right so the pin stays clear of the sheet, and the attribution over the map's top corner. */
|
|
18466
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
|
|
18467
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: 1 / 1; }
|
|
18468
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { position: relative; min-height: clamp(34rem, 48cqi, 40rem); }
|
|
18469
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing figcaption { position: absolute; top: var(--map-frame-width, 1px); right: var(--map-frame-width, 1px); z-index: 1; padding: 0.25rem 0.5rem; background: var(--map-land, rgb(var(--tb-surface))); color: var(--map-label, currentColor); }
|
|
18470
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: calc(50% + 10rem); width: max(calc(100% + 20rem), 680px); }
|
|
18471
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { position: relative; z-index: 1; align-self: start; justify-self: start; width: min(25rem, calc(100% - 3rem)); margin: clamp(1.5rem, 4cqi, 3rem); padding: 2rem 2rem 1.75rem; gap: 1.5rem; box-sizing: border-box; }
|
|
18472
|
+
|
|
18473
|
+
/* Photo of the entrance beside the details: a tall photo in place of the map. Published without a
|
|
18474
|
+
* photo it reads as Map beside the address; in the editor the photo slot asks for one. */
|
|
18475
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 5.5cqi, 4.5rem); }
|
|
18476
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] > * { grid-column: auto; }
|
|
18477
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 5; overflow: hidden; }
|
|
18478
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] > [data-placeholder-field] { height: 100%; }
|
|
18479
|
+
|
|
18480
|
+
/* No drawing yet (or none possible): the map Looks set the details out on their own, address and
|
|
18481
|
+
* actions beside the hours, rather than beside an empty map. Wide keeps its sheet, across the row. */
|
|
18482
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] { grid-template-columns: minmax(0, 1fr); }
|
|
18483
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] .rb-location-map-details { align-self: start; }
|
|
18484
|
+
.theme-scope [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem); column-gap: clamp(2rem, 5cqi, 4rem); }
|
|
18485
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { justify-self: stretch; width: auto; margin: 0; padding: clamp(1.75rem, 4cqi, 2.75rem); }
|
|
18486
|
+
|
|
18487
|
+
@container rb-site (max-width: 767px) {
|
|
18488
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
18489
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
18490
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 1; grid-row: 2; min-height: 0; }
|
|
18491
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: auto; }
|
|
18492
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { min-height: 0; }
|
|
18493
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: 50%; width: max(100%, 680px); }
|
|
18494
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { width: auto; margin: -3rem 0.5rem 0; padding: 1.5rem 1.25rem 1.25rem; }
|
|
18495
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
18496
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 3; }
|
|
18497
|
+
.theme-scope:is(*, :scope) [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr); }
|
|
18498
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { margin: 0; padding: 1.5rem 1.25rem 1.25rem; }
|
|
18499
|
+
}
|
|
18500
|
+
}
|
|
18501
|
+
|
|
18365
18502
|
/* Bounded style skins (issue 1575, D14): one stylesheet per arrangement style, keyed on data-skin. */
|
|
18366
18503
|
|
|
18367
18504
|
/* =============================================================================
|
|
@@ -19081,6 +19218,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
19081
19218
|
}
|
|
19082
19219
|
}
|
|
19083
19220
|
|
|
19221
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
19222
|
+
/* map-beside, map-wide, map-entrance: the entrance photo sits on the offset plate; the wide map's sheet
|
|
19223
|
+
* opens with the start mark; the address takes the heading face. */
|
|
19224
|
+
[data-skin="fulcrum"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
|
|
19225
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: -0.5rem; background: var(--rb-surface-mark-color); }
|
|
19226
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { overflow: visible; margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0; box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour); }
|
|
19227
|
+
|
|
19084
19228
|
/* =============================================================================
|
|
19085
19229
|
* Poster skin (issue 1575 Phase 1a, D14).
|
|
19086
19230
|
*
|
|
@@ -19803,6 +19947,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
19803
19947
|
}
|
|
19804
19948
|
}
|
|
19805
19949
|
|
|
19950
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
19951
|
+
/* map-beside, map-wide, map-entrance: a loud bold address over ink-ruled hours; the entrance photo and
|
|
19952
|
+
* the wide map's sheet take the same ink frame and hard shadow as the map. The entrance photo keeps its
|
|
19953
|
+
* full colour, like gallery photos: its job is to help people recognise the real door. */
|
|
19954
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4cqi, 1.875rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; }
|
|
19955
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-top: 2px solid var(--rb-surface-text-color); }
|
|
19956
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] [data-slot="row"]:last-child :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-bottom: 2px solid var(--rb-surface-text-color); }
|
|
19957
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
19958
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border: 3px solid var(--rb-surface-text-color); box-shadow: var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0 var(--rb-surface-text-color); }
|
|
19959
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { margin: 0 var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0; }
|
|
19960
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { filter: none; }
|
|
19961
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"]:has([data-slot="photo"])::after { content: none; }
|
|
19962
|
+
|
|
19806
19963
|
/* =============================================================================
|
|
19807
19964
|
* Lantern skin (issue 1575 Phase 1b, D10, D14).
|
|
19808
19965
|
*
|
|
@@ -21061,6 +21218,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
21061
21218
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="item-body"] { align-items: center; padding: 0; }
|
|
21062
21219
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="facts"] { justify-content: center; }
|
|
21063
21220
|
|
|
21221
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
21222
|
+
/* map-beside, map-wide, map-entrance: the entrance photo under the arch, the address in the display
|
|
21223
|
+
* face, and the wide map's sheet softly rounded. */
|
|
21224
|
+
[data-skin="lantern"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; }
|
|
21225
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { border-radius: var(--lantern-arch); }
|
|
21226
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { border-radius: var(--rb-skin-radius, 12px); }
|
|
21227
|
+
|
|
21064
21228
|
/* =============================================================================
|
|
21065
21229
|
* Measure skin (issue 1575 Phase 1b, D14).
|
|
21066
21230
|
*
|
|
@@ -21750,6 +21914,12 @@ const containerResponsiveThemeCss = `/*
|
|
|
21750
21914
|
[data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 3.6cqi, 2.875rem); font-weight: 500; font-stretch: 88%; line-height: 1.04; letter-spacing: -0.025em; }
|
|
21751
21915
|
[data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1rem; line-height: 1.6; }
|
|
21752
21916
|
|
|
21917
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
21918
|
+
/* map-beside, map-wide, map-entrance: the title hangs in the rail; the wide map's sheet opens with a
|
|
21919
|
+
* heavy rule in the mark colour, square like the map. */
|
|
21920
|
+
[data-skin="measure"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.8cqi, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
|
|
21921
|
+
[data-skin="measure"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { box-shadow: inset 0 var(--rb-skin-mark-weight, 4px) 0 var(--rb-surface-mark-color); }
|
|
21922
|
+
|
|
21753
21923
|
/* Folio: serif sheets, quiet rules and full-colour photographs. */
|
|
21754
21924
|
[data-skin="folio"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
|
|
21755
21925
|
[data-skin="folio"] [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
|
|
@@ -22110,7 +22280,74 @@ const containerResponsiveThemeCss = `/*
|
|
|
22110
22280
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="figure-label"] { padding-top: 0.875rem; border-top: 1px solid var(--rb-surface-line-color); font-size: 1rem; }
|
|
22111
22281
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="head"] { margin-bottom: 0; }
|
|
22112
22282
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 1.4rem + 2cqi, 2.875rem); }
|
|
22113
|
-
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
|
|
22283
|
+
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
|
|
22284
|
+
|
|
22285
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
22286
|
+
/* map-beside, map-wide, map-entrance: the address in the serif under a thin mark; the entrance photo
|
|
22287
|
+
* and the wide map's sheet take the soft radius. */
|
|
22288
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 500; line-height: 1.25; }
|
|
22289
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="copy"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: 0.625rem; background: var(--rb-surface-mark-color); }
|
|
22290
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
22291
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border-radius: var(--rb-skin-radius, 10px); }
|
|
22292
|
+
|
|
22293
|
+
/* Geometry display contract (issue 1611). Theme-core's map token contract
|
|
22294
|
+
* (surfaces/mapDrawingTokens.ts) supplies every --map-* value from the section
|
|
22295
|
+
* ground and site style. Fallbacks use existing opaque section theme roles,
|
|
22296
|
+
* never artifact colours. */
|
|
22297
|
+
:where(.theme-scope) .rb-map-drawing{margin:0;width:100%;container-type:inline-size}
|
|
22298
|
+
:where(.theme-scope) .rb-map-drawing-crop{position:relative;overflow:hidden;width:100%;min-height:max(255px,37.5cqw);box-sizing:border-box;border:var(--map-frame-width,1px) solid var(--map-frame-color,rgb(var(--tb-border)));border-radius:var(--map-frame-radius,0);box-shadow:var(--map-frame-shadow,none);background:var(--map-land,rgb(var(--tb-surface)))}
|
|
22299
|
+
:where(.theme-scope) .rb-map-drawing svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,680px);height:auto;aspect-ratio:1}
|
|
22300
|
+
:where(.theme-scope) .rb-map-drawing figcaption{font-size:.75rem;line-height:1.4;padding-top:.5rem;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,currentColor))}
|
|
22301
|
+
:where(.theme-scope) .rb-map-drawing figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
|
|
22302
|
+
:where(.theme-scope) .rb-map-drawing .map-land{fill:var(--map-land,rgb(var(--tb-surface)))}
|
|
22303
|
+
:where(.theme-scope) .rb-map-drawing .map-water{fill:var(--map-water,rgb(var(--tb-background)))}
|
|
22304
|
+
:where(.theme-scope) .rb-map-drawing .map-park{fill:var(--map-park,rgb(var(--tb-surface)))}
|
|
22305
|
+
:where(.theme-scope) .rb-map-drawing .map-building{fill:var(--map-building,rgb(var(--tb-surface)));stroke:var(--map-building-edge,rgb(var(--tb-border)));stroke-width:.75}
|
|
22306
|
+
:where(.theme-scope) .rb-map-drawing [class^=map-road]{fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
22307
|
+
/* Casing width is the stroke plus a style-scaled edge (scale 1 gives the tuned 13/8.5 and 7/4). */
|
|
22308
|
+
:where(.theme-scope) .rb-map-drawing .map-road-major-casing{stroke:var(--map-road-major-casing,rgb(var(--tb-border)));stroke-width:calc(10 + 3 * var(--map-casing-scale,1))}
|
|
22309
|
+
:where(.theme-scope) .rb-map-drawing .map-road-major{stroke:var(--map-road-major,rgb(var(--tb-surface)));stroke-width:10}
|
|
22310
|
+
:where(.theme-scope) .rb-map-drawing .map-road-minor-casing{stroke:var(--map-road-casing,rgb(var(--tb-border)));stroke-width:calc(6 + 2.5 * var(--map-casing-scale,1))}
|
|
22311
|
+
:where(.theme-scope) .rb-map-drawing .map-road-minor{stroke:var(--map-road,rgb(var(--tb-surface)));stroke-width:6}
|
|
22312
|
+
:where(.theme-scope) .rb-map-drawing .map-road-path{stroke:var(--map-path,rgb(var(--tb-text)));stroke-width:1.4;stroke-dasharray:4 3}
|
|
22313
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major-casing{stroke-width:calc(5 + 2 * var(--map-casing-scale,1))}
|
|
22314
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major{stroke-width:5}
|
|
22315
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor-casing{stroke-width:calc(2.5 + 1.5 * var(--map-casing-scale,1))}
|
|
22316
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor{stroke-width:2.5}
|
|
22317
|
+
/* Labels stay 12.5 units: the generator's collision budget assumes a compact face no larger than 13. */
|
|
22318
|
+
:where(.theme-scope) .rb-map-drawing .map-label,:where(.theme-scope) .rb-map-drawing .map-label-halo{text-anchor:middle;dominant-baseline:central;font-family:var(--map-label-font,system-ui,sans-serif);font-size:12.5px;font-weight:var(--map-label-weight,500);font-style:normal;letter-spacing:.01em;text-transform:none}
|
|
22319
|
+
:where(.theme-scope) .rb-map-drawing .map-label{fill:var(--map-label,rgb(var(--tb-text)))}
|
|
22320
|
+
:where(.theme-scope) .rb-map-drawing .map-label-halo{fill:none;stroke:var(--map-label-halo,rgb(var(--tb-surface)));stroke-width:3.5;stroke-linejoin:round}
|
|
22321
|
+
/* Unbound surfaces (event details and cards) draw on the surface fallback, where an accent pin can vanish
|
|
22322
|
+
* (Poster's light blue on near-white); the text ink always stands off the surface. */
|
|
22323
|
+
:where(.theme-scope) .rb-map-drawing .map-pin{fill:var(--map-pin,rgb(var(--tb-text)));stroke:var(--map-pin-edge,rgb(var(--tb-surface)));stroke-width:2}
|
|
22324
|
+
|
|
22325
|
+
/* 400 visible units at .85 px/unit need 340 px. At narrower containers retain details only. */
|
|
22326
|
+
@container (max-width: 339px) {
|
|
22327
|
+
:where(.theme-scope) .rb-map-drawing-crop, :where(.theme-scope) .rb-map-drawing figcaption { display: none; }
|
|
22328
|
+
}
|
|
22329
|
+
|
|
22330
|
+
/* Map block details (issue 1611): address, door note, directions and hours under the drawing.
|
|
22331
|
+
* Colours come from the section's surface roles, so every ground reads the same way. */
|
|
22332
|
+
:where(.theme-scope) .rb-location-map{display:grid;gap:clamp(1.25rem,3cqi,2rem);text-align:left;container-type:inline-size}
|
|
22333
|
+
:where(.theme-scope) .rb-location-map-details{display:grid;gap:1.75rem 3rem;align-items:start}
|
|
22334
|
+
:where(.theme-scope) .rb-location-map-place{display:grid;gap:.5rem;justify-items:start;min-width:0}
|
|
22335
|
+
:where(.theme-scope) .rb-location-map-address{margin:0;font-size:1.0625rem;line-height:1.5;font-weight:500;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit));max-width:40ch}
|
|
22336
|
+
/* The door note is directions people need, so it reads in the text ink (softened, as in the mockup), not the muted role. */
|
|
22337
|
+
:where(.theme-scope) .rb-location-map-door{margin:0;line-height:1.55;color:color-mix(in srgb,var(--rb-surface-text-color,currentColor) 82%,transparent);max-width:52ch}
|
|
22338
|
+
:where(.theme-scope) .rb-location-map-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.75rem}
|
|
22339
|
+
:where(.theme-scope) .rb-location-map-link{color:var(--rb-surface-link-color,var(--rb-surface-text-color,inherit));font-weight:500;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
|
|
22340
|
+
:where(.theme-scope) .rb-location-map-link:hover{color:var(--rb-surface-link-hover-color,var(--rb-surface-link-color,inherit));text-decoration-thickness:2px}
|
|
22341
|
+
:where(.theme-scope) .rb-location-map-hours{min-width:0}
|
|
22342
|
+
:where(.theme-scope) .rb-location-map-hours table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
|
|
22343
|
+
:where(.theme-scope) .rb-location-map-hours caption{text-align:left;font-weight:600;padding-bottom:.5rem;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit))}
|
|
22344
|
+
:where(.theme-scope) .rb-location-map-hours th,:where(.theme-scope) .rb-location-map-hours td{padding:.4rem 0;border-top:1px solid var(--rb-surface-line-color,color-mix(in srgb,currentColor 18%,transparent));font-weight:400;text-align:left;vertical-align:top}
|
|
22345
|
+
:where(.theme-scope) .rb-location-map-hours td{text-align:right;padding-left:1.5rem}
|
|
22346
|
+
:where(.theme-scope) .rb-location-map-hours tr[data-closed] :is(th,td){color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
|
|
22347
|
+
:where(.theme-scope) .rb-location-map-hours p{margin:.6rem 0 0;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
|
|
22348
|
+
@container (min-width: 640px) {
|
|
22349
|
+
:where(.theme-scope) .rb-location-map-details{grid-template-columns:minmax(0,1fr) minmax(15rem,21rem)}
|
|
22350
|
+
}`;
|
|
22114
22351
|
//#endregion
|
|
22115
22352
|
//#region ../theme-core/src/ThemeScopeCore.tsx
|
|
22116
22353
|
/**
|