@riverbankcms/sdk 0.160.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/dist/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-Dm7_P13o.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +4 -4
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-BgAzCrBc.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-DUiOnj9e.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/{index-Blwl7yl6.d.ts → index-BQDBQvdu.d.ts} +1 -1
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-BVkP8f70.d.ts} +1 -1
- package/dist/_dts/{index-CEaKil7G.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-DahMwisK.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-C5xslEBn.d.ts → index-KPrWM0KF.d.ts} +1 -1
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-DTjKOO-T.d.ts} +10 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{schema-D0bNcPWK.d.ts → schema-BHu0PYWl.d.ts} +18821 -16622
- 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 +7 -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 +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/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/{types-D8czmbQF.d.ts → types-BR1Yboa9.d.ts} +1060 -140
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-CJXTCF_F.d.ts} +3 -3
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-BDpxmn1p.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-BxQLY5cX.mjs} +9 -9
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-BEx-qiDE.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-9RFrBejr.mjs} +29 -13
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +25 -13
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-Bf2nPACI.mjs} +809 -298
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CZweb1vs.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-q-RpJ4aF.mjs} +12 -12
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +5 -4
- package/dist/client/{context-BLAvalAa.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-D-ZqL7-e.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-C6GApWTB.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-CgvPACwG.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.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-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B7H6gCbj.mjs} +297 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-BTmSXE3D.mjs} +355 -162
- package/dist/client/rendering/client.mjs +27 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +15 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-C-m8XHuW.mjs} +990 -2310
- package/dist/client/{shop-DZNC0VKk.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-TJYCBO_H.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-tsKfZw1W.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CVqLAU53.mjs} +6 -158
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-V2ifvGGy.mjs} +148 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-D1X69-pN.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-Bwzr1RjV.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CLAS0upd.mjs} +8 -21
- package/dist/client/{view-CkUn3Y0Y.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-CseyBW07.mjs → view-Dj_FZHmg.mjs} +18 -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-lUHBrzHv.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-DWyUGCAG.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +110 -63
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs} +4 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +425 -412
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +2982 -53859
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-b14Bv03E.mjs} +1079 -340
- 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-Corq4AG7.mjs → previewChromeSurface-Dd1_mNIg.mjs} +1 -1
- 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-CWymRWhK.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.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 +2 -2
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-hLg-yjQN.mjs} +41 -4
- 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-D1_gonwM.mjs → Block.shared-CeTd2saO.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-C5YpKuKt.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-Cv26lZQ4.mjs} +7 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +461 -1064
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-C8a0b-cC.mjs} +11 -5
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-BW7dklu3.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-D1fiPOKF.mjs} +596 -301
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-CqJnokWJ.mjs} +133 -87
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-CvvZ4JIe.mjs} +41 -3
- package/dist/server/{registry-eFjKtEhF.mjs → registry-BVfCqaCq.mjs} +477 -1021
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-DPNvhXEz.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-CD4peO7m.mjs} +2203 -1223
- 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-C5Mu-z0F.mjs → src-ILxc6pid.mjs} +161 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{validation-B-Xar8QS.mjs → validation-B1ieVemg.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +157 -0
- package/package.json +1 -1
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
package/dist/styles/index.css
CHANGED
|
@@ -15084,6 +15084,61 @@
|
|
|
15084
15084
|
.theme-scope [data-arrangement][data-look="cta-figure-beside-offer"] [data-slot="figure-value"] { font-size: clamp(4.5rem, 30cqi, 7.5rem); }
|
|
15085
15085
|
}
|
|
15086
15086
|
|
|
15087
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
15088
|
+
/* Map above the details is the block's own layout (location-map.css). The three Look-only layouts put
|
|
15089
|
+
* the heading in the head slot (Measure hangs it in the rail) and stack the details in one column:
|
|
15090
|
+
* address, door note and actions, then the opening hours. The authored map height is a minimum here. */
|
|
15091
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="layout"] { row-gap: clamp(2rem, 4cqi, 3rem); }
|
|
15092
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="head"] { margin-bottom: 0; }
|
|
15093
|
+
.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; }
|
|
15094
|
+
.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; }
|
|
15095
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours td { white-space: nowrap; }
|
|
15096
|
+
.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)); }
|
|
15097
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing { display: flex; flex-direction: column; min-width: 0; }
|
|
15098
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing-crop { flex: 1 1 auto; }
|
|
15099
|
+
|
|
15100
|
+
/* Map beside the address: the details on the left, the map filling the row on the right. */
|
|
15101
|
+
.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; }
|
|
15102
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map-details { grid-column: 1; grid-row: 1; align-self: center; }
|
|
15103
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 2; grid-row: 1; min-height: 30rem; }
|
|
15104
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing svg { width: max(135%, 680px); }
|
|
15105
|
+
|
|
15106
|
+
/* Address over a wide map: the details on a sheet (the card role) laid over the left of a tall map,
|
|
15107
|
+
* the drawing moved right so the pin stays clear of the sheet, and the attribution over the map's top corner. */
|
|
15108
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
|
|
15109
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: 1 / 1; }
|
|
15110
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { position: relative; min-height: clamp(34rem, 48cqi, 40rem); }
|
|
15111
|
+
.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); }
|
|
15112
|
+
.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); }
|
|
15113
|
+
.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; }
|
|
15114
|
+
|
|
15115
|
+
/* Photo of the entrance beside the details: a tall photo in place of the map. Published without a
|
|
15116
|
+
* photo it reads as Map beside the address; in the editor the photo slot asks for one. */
|
|
15117
|
+
.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); }
|
|
15118
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] > * { grid-column: auto; }
|
|
15119
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 5; overflow: hidden; }
|
|
15120
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] > [data-placeholder-field] { height: 100%; }
|
|
15121
|
+
|
|
15122
|
+
/* No drawing yet (or none possible): the map Looks set the details out on their own, address and
|
|
15123
|
+
* actions beside the hours, rather than beside an empty map. Wide keeps its sheet, across the row. */
|
|
15124
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] { grid-template-columns: minmax(0, 1fr); }
|
|
15125
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] .rb-location-map-details { align-self: start; }
|
|
15126
|
+
.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); }
|
|
15127
|
+
.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); }
|
|
15128
|
+
|
|
15129
|
+
@media (max-width: 767px) {
|
|
15130
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
15131
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 1; grid-row: 2; min-height: 0; }
|
|
15132
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: auto; }
|
|
15133
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { min-height: 0; }
|
|
15134
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: 50%; width: max(100%, 680px); }
|
|
15135
|
+
.theme-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; }
|
|
15136
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
15137
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 3; }
|
|
15138
|
+
.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); }
|
|
15139
|
+
.theme-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; }
|
|
15140
|
+
}
|
|
15141
|
+
|
|
15087
15142
|
|
|
15088
15143
|
/* =============================================================================
|
|
15089
15144
|
* Fulcrum skin (issue 1575 Phase 1a, D14).
|
|
@@ -15786,6 +15841,13 @@
|
|
|
15786
15841
|
[data-skin="fulcrum"] [data-arrangement][data-treat="cta-figure"] [data-slot="figure"] { padding: 0 0 1.5rem; border-right: 0; border-bottom: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
|
|
15787
15842
|
}
|
|
15788
15843
|
|
|
15844
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
15845
|
+
/* map-beside, map-wide, map-entrance: the entrance photo sits on the offset plate; the wide map's sheet
|
|
15846
|
+
* opens with the start mark; the address takes the heading face. */
|
|
15847
|
+
[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; }
|
|
15848
|
+
[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); }
|
|
15849
|
+
[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); }
|
|
15850
|
+
|
|
15789
15851
|
|
|
15790
15852
|
/* =============================================================================
|
|
15791
15853
|
* Poster skin (issue 1575 Phase 1a, D14).
|
|
@@ -16495,6 +16557,19 @@
|
|
|
16495
16557
|
[data-skin="poster"] [data-arrangement][data-treat="cta-figure"] [data-slot="figure-value"] { font-size: clamp(6rem, 36cqi, 10.5rem); }
|
|
16496
16558
|
}
|
|
16497
16559
|
|
|
16560
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
16561
|
+
/* map-beside, map-wide, map-entrance: a loud bold address over ink-ruled hours; the entrance photo and
|
|
16562
|
+
* the wide map's sheet take the same ink frame and hard shadow as the map. The entrance photo keeps its
|
|
16563
|
+
* full colour, like gallery photos: its job is to help people recognise the real door. */
|
|
16564
|
+
[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; }
|
|
16565
|
+
[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); }
|
|
16566
|
+
[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); }
|
|
16567
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
16568
|
+
[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); }
|
|
16569
|
+
[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; }
|
|
16570
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { filter: none; }
|
|
16571
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"]:has([data-slot="photo"])::after { content: none; }
|
|
16572
|
+
|
|
16498
16573
|
|
|
16499
16574
|
/* =============================================================================
|
|
16500
16575
|
* Lantern skin (issue 1575 Phase 1b, D10, D14).
|
|
@@ -17726,6 +17801,13 @@
|
|
|
17726
17801
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="item-body"] { align-items: center; padding: 0; }
|
|
17727
17802
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="facts"] { justify-content: center; }
|
|
17728
17803
|
|
|
17804
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
17805
|
+
/* map-beside, map-wide, map-entrance: the entrance photo under the arch, the address in the display
|
|
17806
|
+
* face, and the wide map's sheet softly rounded. */
|
|
17807
|
+
[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; }
|
|
17808
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { border-radius: var(--lantern-arch); }
|
|
17809
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { border-radius: var(--rb-skin-radius, 12px); }
|
|
17810
|
+
|
|
17729
17811
|
|
|
17730
17812
|
/* =============================================================================
|
|
17731
17813
|
* Measure skin (issue 1575 Phase 1b, D14).
|
|
@@ -18400,6 +18482,12 @@
|
|
|
18400
18482
|
[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; }
|
|
18401
18483
|
[data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1rem; line-height: 1.6; }
|
|
18402
18484
|
|
|
18485
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
18486
|
+
/* map-beside, map-wide, map-entrance: the title hangs in the rail; the wide map's sheet opens with a
|
|
18487
|
+
* heavy rule in the mark colour, square like the map. */
|
|
18488
|
+
[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; }
|
|
18489
|
+
[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); }
|
|
18490
|
+
|
|
18403
18491
|
|
|
18404
18492
|
/* Folio: serif sheets, quiet rules and full-colour photographs. */
|
|
18405
18493
|
[data-skin="folio"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
|
|
@@ -18755,4 +18843,73 @@
|
|
|
18755
18843
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 1.4rem + 2cqi, 2.875rem); }
|
|
18756
18844
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
|
|
18757
18845
|
|
|
18846
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
18847
|
+
/* map-beside, map-wide, map-entrance: the address in the serif under a thin mark; the entrance photo
|
|
18848
|
+
* and the wide map's sheet take the soft radius. */
|
|
18849
|
+
[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; }
|
|
18850
|
+
[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); }
|
|
18851
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
18852
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border-radius: var(--rb-skin-radius, 10px); }
|
|
18853
|
+
|
|
18854
|
+
|
|
18855
|
+
/* Geometry display contract (issue 1611). Theme-core's map token contract
|
|
18856
|
+
* (surfaces/mapDrawingTokens.ts) supplies every --map-* value from the section
|
|
18857
|
+
* ground and site style. Fallbacks use existing opaque section theme roles,
|
|
18858
|
+
* never artifact colours. */
|
|
18859
|
+
:where(.theme-scope) .rb-map-drawing{margin:0;width:100%;container-type:inline-size}
|
|
18860
|
+
: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)))}
|
|
18861
|
+
: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}
|
|
18862
|
+
: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))}
|
|
18863
|
+
:where(.theme-scope) .rb-map-drawing figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
|
|
18864
|
+
:where(.theme-scope) .rb-map-drawing .map-land{fill:var(--map-land,rgb(var(--tb-surface)))}
|
|
18865
|
+
:where(.theme-scope) .rb-map-drawing .map-water{fill:var(--map-water,rgb(var(--tb-background)))}
|
|
18866
|
+
:where(.theme-scope) .rb-map-drawing .map-park{fill:var(--map-park,rgb(var(--tb-surface)))}
|
|
18867
|
+
: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}
|
|
18868
|
+
:where(.theme-scope) .rb-map-drawing [class^=map-road]{fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
18869
|
+
/* Casing width is the stroke plus a style-scaled edge (scale 1 gives the tuned 13/8.5 and 7/4). */
|
|
18870
|
+
: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))}
|
|
18871
|
+
:where(.theme-scope) .rb-map-drawing .map-road-major{stroke:var(--map-road-major,rgb(var(--tb-surface)));stroke-width:10}
|
|
18872
|
+
: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))}
|
|
18873
|
+
:where(.theme-scope) .rb-map-drawing .map-road-minor{stroke:var(--map-road,rgb(var(--tb-surface)));stroke-width:6}
|
|
18874
|
+
: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}
|
|
18875
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major-casing{stroke-width:calc(5 + 2 * var(--map-casing-scale,1))}
|
|
18876
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major{stroke-width:5}
|
|
18877
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor-casing{stroke-width:calc(2.5 + 1.5 * var(--map-casing-scale,1))}
|
|
18878
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor{stroke-width:2.5}
|
|
18879
|
+
/* Labels stay 12.5 units: the generator's collision budget assumes a compact face no larger than 13. */
|
|
18880
|
+
: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}
|
|
18881
|
+
:where(.theme-scope) .rb-map-drawing .map-label{fill:var(--map-label,rgb(var(--tb-text)))}
|
|
18882
|
+
: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}
|
|
18883
|
+
/* Unbound surfaces (event details and cards) draw on the surface fallback, where an accent pin can vanish
|
|
18884
|
+
* (Poster's light blue on near-white); the text ink always stands off the surface. */
|
|
18885
|
+
: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}
|
|
18886
|
+
|
|
18887
|
+
/* 400 visible units at .85 px/unit need 340 px. At narrower containers retain details only. */
|
|
18888
|
+
@container (max-width: 339px) {
|
|
18889
|
+
:where(.theme-scope) .rb-map-drawing-crop, :where(.theme-scope) .rb-map-drawing figcaption { display: none; }
|
|
18890
|
+
}
|
|
18891
|
+
|
|
18892
|
+
|
|
18893
|
+
/* Map block details (issue 1611): address, door note, directions and hours under the drawing.
|
|
18894
|
+
* Colours come from the section's surface roles, so every ground reads the same way. */
|
|
18895
|
+
:where(.theme-scope) .rb-location-map{display:grid;gap:clamp(1.25rem,3cqi,2rem);text-align:left;container-type:inline-size}
|
|
18896
|
+
:where(.theme-scope) .rb-location-map-details{display:grid;gap:1.75rem 3rem;align-items:start}
|
|
18897
|
+
:where(.theme-scope) .rb-location-map-place{display:grid;gap:.5rem;justify-items:start;min-width:0}
|
|
18898
|
+
: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}
|
|
18899
|
+
/* The door note is directions people need, so it reads in the text ink (softened, as in the mockup), not the muted role. */
|
|
18900
|
+
: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}
|
|
18901
|
+
:where(.theme-scope) .rb-location-map-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.75rem}
|
|
18902
|
+
: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}
|
|
18903
|
+
: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}
|
|
18904
|
+
:where(.theme-scope) .rb-location-map-hours{min-width:0}
|
|
18905
|
+
:where(.theme-scope) .rb-location-map-hours table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
|
|
18906
|
+
: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))}
|
|
18907
|
+
: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}
|
|
18908
|
+
:where(.theme-scope) .rb-location-map-hours td{text-align:right;padding-left:1.5rem}
|
|
18909
|
+
: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))}
|
|
18910
|
+
:where(.theme-scope) .rb-location-map-hours p{margin:.6rem 0 0;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
|
|
18911
|
+
@container (min-width: 640px) {
|
|
18912
|
+
:where(.theme-scope) .rb-location-map-details{grid-template-columns:minmax(0,1fr) minmax(15rem,21rem)}
|
|
18913
|
+
}
|
|
18914
|
+
|
|
18758
18915
|
|
package/package.json
CHANGED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { $ as isRecord } from "./noop-B610YKEx.mjs";
|
|
3
|
-
import { useEffect, useRef, useState } from "react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
//#region ../blocks/src/system/runtime/nodes/shared/LeafletStaticMap.tsx
|
|
6
|
-
/**
|
|
7
|
-
* LeafletStaticMap
|
|
8
|
-
*
|
|
9
|
-
* Displays a static Leaflet map with a marker at the provided location.
|
|
10
|
-
* Loads Leaflet CSS/JS from CDN to avoid bundling in the blocks package.
|
|
11
|
-
*/
|
|
12
|
-
const LEAFLET_CSS = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.css";
|
|
13
|
-
const LEAFLET_CSS_INTEGRITY = "sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=";
|
|
14
|
-
const LEAFLET_JS = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
15
|
-
const LEAFLET_JS_INTEGRITY = "sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=";
|
|
16
|
-
let leafletLoaded = false;
|
|
17
|
-
let leafletLoadPromise = null;
|
|
18
|
-
function isLeafletApi(value) {
|
|
19
|
-
if (!isRecord(value)) return false;
|
|
20
|
-
return typeof value.map === "function" && typeof value.tileLayer === "function" && typeof value.marker === "function";
|
|
21
|
-
}
|
|
22
|
-
function loadLeaflet() {
|
|
23
|
-
if (leafletLoaded) return Promise.resolve();
|
|
24
|
-
if (leafletLoadPromise) return leafletLoadPromise;
|
|
25
|
-
leafletLoadPromise = new Promise((resolve, reject) => {
|
|
26
|
-
if (typeof window !== "undefined" && isLeafletApi(Reflect.get(window, "L"))) {
|
|
27
|
-
leafletLoaded = true;
|
|
28
|
-
resolve();
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const link = document.createElement("link");
|
|
32
|
-
link.rel = "stylesheet";
|
|
33
|
-
link.href = LEAFLET_CSS;
|
|
34
|
-
link.integrity = LEAFLET_CSS_INTEGRITY;
|
|
35
|
-
link.crossOrigin = "anonymous";
|
|
36
|
-
document.head.appendChild(link);
|
|
37
|
-
const script = document.createElement("script");
|
|
38
|
-
script.src = LEAFLET_JS;
|
|
39
|
-
script.integrity = LEAFLET_JS_INTEGRITY;
|
|
40
|
-
script.crossOrigin = "anonymous";
|
|
41
|
-
script.async = true;
|
|
42
|
-
script.onload = () => {
|
|
43
|
-
leafletLoaded = true;
|
|
44
|
-
resolve();
|
|
45
|
-
};
|
|
46
|
-
script.onerror = () => {
|
|
47
|
-
leafletLoadPromise = null;
|
|
48
|
-
reject(/* @__PURE__ */ new Error("Failed to load Leaflet"));
|
|
49
|
-
};
|
|
50
|
-
document.head.appendChild(script);
|
|
51
|
-
});
|
|
52
|
-
return leafletLoadPromise;
|
|
53
|
-
}
|
|
54
|
-
const LeafletStaticMap = ({ location, label, className = "", height = 200, zoom = 15 }) => {
|
|
55
|
-
const mapContainerRef = useRef(null);
|
|
56
|
-
const mapRef = useRef(null);
|
|
57
|
-
const markerRef = useRef(null);
|
|
58
|
-
const [loading, setLoading] = useState(true);
|
|
59
|
-
const [error, setError] = useState(null);
|
|
60
|
-
useEffect(() => {
|
|
61
|
-
let mounted = true;
|
|
62
|
-
async function initMap() {
|
|
63
|
-
try {
|
|
64
|
-
await loadLeaflet();
|
|
65
|
-
if (!mounted || !mapContainerRef.current) return;
|
|
66
|
-
const L = Reflect.get(window, "L");
|
|
67
|
-
if (!isLeafletApi(L)) throw new Error("Leaflet not available");
|
|
68
|
-
if (!mapRef.current) {
|
|
69
|
-
const map = L.map(mapContainerRef.current, {
|
|
70
|
-
scrollWheelZoom: false,
|
|
71
|
-
dragging: true,
|
|
72
|
-
zoomControl: true
|
|
73
|
-
});
|
|
74
|
-
L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { attribution: "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>" }).addTo(map);
|
|
75
|
-
const marker = L.marker([location.lat, location.lng]);
|
|
76
|
-
marker.addTo(map);
|
|
77
|
-
map.setView([location.lat, location.lng], zoom);
|
|
78
|
-
if (label) marker.bindPopup(label);
|
|
79
|
-
mapRef.current = map;
|
|
80
|
-
markerRef.current = {
|
|
81
|
-
bindPopup(content) {
|
|
82
|
-
marker.bindPopup(content);
|
|
83
|
-
return this;
|
|
84
|
-
},
|
|
85
|
-
setLatLng(latlng) {
|
|
86
|
-
marker.setLatLng(latlng);
|
|
87
|
-
return this;
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
setLoading(false);
|
|
92
|
-
} catch (err) {
|
|
93
|
-
if (mounted) {
|
|
94
|
-
setError(err instanceof Error ? err.message : "Failed to load map");
|
|
95
|
-
setLoading(false);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
initMap();
|
|
100
|
-
return () => {
|
|
101
|
-
mounted = false;
|
|
102
|
-
if (mapRef.current) {
|
|
103
|
-
mapRef.current.remove();
|
|
104
|
-
mapRef.current = null;
|
|
105
|
-
markerRef.current = null;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
}, []);
|
|
109
|
-
useEffect(() => {
|
|
110
|
-
if (!mapRef.current || !markerRef.current) return;
|
|
111
|
-
mapRef.current.setView([location.lat, location.lng], zoom);
|
|
112
|
-
markerRef.current.setLatLng([location.lat, location.lng]);
|
|
113
|
-
if (label) markerRef.current.bindPopup(label);
|
|
114
|
-
}, [
|
|
115
|
-
location.lat,
|
|
116
|
-
location.lng,
|
|
117
|
-
label,
|
|
118
|
-
zoom
|
|
119
|
-
]);
|
|
120
|
-
if (error) return null;
|
|
121
|
-
return /* @__PURE__ */ jsx("div", {
|
|
122
|
-
ref: mapContainerRef,
|
|
123
|
-
className: `leaflet-static-map ${className}`,
|
|
124
|
-
style: {
|
|
125
|
-
height,
|
|
126
|
-
width: "100%",
|
|
127
|
-
borderRadius: "0.5rem",
|
|
128
|
-
overflow: "hidden",
|
|
129
|
-
backgroundColor: loading ? "rgb(var(--tb-surface))" : void 0
|
|
130
|
-
},
|
|
131
|
-
"aria-label": label ? `Map showing ${label}` : "Location map"
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
//#endregion
|
|
135
|
-
export { LeafletStaticMap as t };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { i as normalizeLocationMapProps, t as LocationMapView } from "./location-map.view-Cx4Bl7ij.mjs";
|
|
3
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-ClZCCzAm.mjs";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
//#region ../blocks/src/system/runtime/nodes/location-map.client.tsx
|
|
7
|
-
function LocationMapClient(props) {
|
|
8
|
-
const normalized = normalizeLocationMapProps(props);
|
|
9
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
10
|
-
className: `location-map ${normalized.className ?? ""}`.trim(),
|
|
11
|
-
"data-block": "location-map",
|
|
12
|
-
children: [/* @__PURE__ */ jsx(LocationMapView, {
|
|
13
|
-
...normalized,
|
|
14
|
-
renderMap: ({ addressText, className, height, location, zoom }) => /* @__PURE__ */ jsx(LeafletStaticMap, {
|
|
15
|
-
location,
|
|
16
|
-
label: addressText ?? void 0,
|
|
17
|
-
className,
|
|
18
|
-
height,
|
|
19
|
-
zoom
|
|
20
|
-
})
|
|
21
|
-
}), props.children]
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function LocationMapIslandClient(props) {
|
|
25
|
-
return /* @__PURE__ */ jsx(LocationMapClient, { ...props });
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { LocationMapIslandClient as t };
|