@riverbankcms/sdk 0.181.0 → 0.182.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-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- 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/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- 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 +3 -3
- 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/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- 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/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
- package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +25 -6
- package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
- package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
- package/dist/client/portal/client.mjs +269 -83
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
- package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
- package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
- package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
- package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
- package/dist/server/theme-bridge.mjs +33 -8
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
- package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/styles/index.css +86 -46
- package/package.json +1 -1
package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ec as PortalContainerProvider, gl as cn, ln as SURFACE_DOCUMENT_DATA_ATTRIBUTE, un as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
3
3
|
import { createContext, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../ui/src/fixed-bottom-surface.tsx
|
|
@@ -6,13 +6,13 @@ import React from "react";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/preview-next/client/runtime.tsx
|
|
8
8
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
9
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
9
|
+
return { default: (await import("./SdkPreviewModeRuntime-0UVB-39f.mjs")).SdkPreviewModeRuntime };
|
|
10
10
|
});
|
|
11
11
|
const LazyPreviewShell = React.lazy(async () => {
|
|
12
|
-
return { default: (await import("./sdk-runtime-
|
|
12
|
+
return { default: (await import("./sdk-runtime-DXb_Evl0.mjs")).PreviewShell };
|
|
13
13
|
});
|
|
14
14
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
15
|
-
return { default: (await import("./sdk-runtime-
|
|
15
|
+
return { default: (await import("./sdk-runtime-DXb_Evl0.mjs")).PreviewShellLayout };
|
|
16
16
|
});
|
|
17
17
|
function SdkPreviewMode(props) {
|
|
18
18
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-
|
|
5
|
-
import "./SdkPreviewModeRuntime-
|
|
4
|
+
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-BAxAkuz8.mjs";
|
|
5
|
+
import "./SdkPreviewModeRuntime-0UVB-39f.mjs";
|
|
6
6
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
|
-
import { $c as
|
|
3
|
+
import { $c as useCallbackRef, $s as VISUALLY_HIDDEN_STYLES, Ao as DEFAULT_THEME_RESPONSIVE_MODE, Bc as createRovingFocusGroupScope, Bl as rgbColorValue, Bo as restoreCompiledRuntimeFieldsFromContent, Cr as resolveBlockVariantKey, Dc as usePortalContainer, Do as buildThemeRuntime, Fn as remoteDraftValues, Gc as Content$1, Hc as Portal, Hl as mapDrawingStyle, In as renderSourceFor, Jc as useSize, Js as extractApiEnvelopeErrorDetails, K as siteChromeHeaderLogoMayBeHardToSee, Kc as Root2$1, Kl as expandPalette, Lc as hideOthers, Ll as surfaceForegroundInputFromResolved, Lo as applyCompiledRuntimeFieldsToContent, Mr as LocationMapView, No as heroPhotoPaintsGround, Oc as ReactRemoveScroll, Oo as escapeStyleContent, Qc as DismissableLayer, Qo as headerStyleRecipeForTheme, Rc as Item, Rl as surfaceForegroundStyle, Rn as resolveRenderedValues, Ro as compileEditorModelRuntime, Rr as withValueAtPath, Rs as isRecord$1, Sn as useOptionalEditorUiStoreInstance, Uc as Anchor, Ul as parseSurfaceTree, Vc as Presence, Vo as formatSiteChromeBackgroundTokenLabel, Wc as Arrow, Wl as resolveSurfaceForeground, Xc as FocusScope, Xo as designRuntimeRulesForTheme, Yc as useId$1, Yo as componentRuntimeRulesForTheme, Ys as unwrapResponse, Zc as useFocusGuards, _a as siteTopChromeMeasurementTargets$1, _d as unsafeAsPositiveByteCount, ad as unsafeAsEditorBlockId, al as composeEventHandlers, as as generateFontFaceCss, bc as DialogTrigger, c as usePreviewShownTheme, cl as Button, dn as ApiRequestError, do as coerceInlineTextWithFallback, ea as buildThemeDataAttrs, ec as Callout, el as useDirection, fl as createSlot, fo as deriveInlineTextFieldChanges, gl as cn$1, gs as resolveCompiledSectionContextFromContent, gu as authoredValuesEqual, h as composePreviewTheme, ha as measureSiteTopChromeBottomPx, hc as DialogContent, hl as useComposedRefs, ii as getBlockDefinition, il as createContextScope, is as buildGoogleFontFamilyQuery, jo as getResponsiveScopeSpec, mc as DialogClose, md as assertNever, na as themeRuntimeScopeProps, nl as useControllableState, ns as surfaceResolutionContextFromTheme, ol as Primitive, os as getSiteFontsStorageUrl, pc as Dialog, pr as planArrangementContent, pu as asDesignBlockId, qc as createPopperScope, qs as ApiEnvelopeError, rc as Spinner, rl as useLayoutEffect2, s as usePreviewPageDesignRenderState, tl as createCollection, ts as compiledRuntimeStyleFieldNames, u as useSiteChromeCustomizeOptional, ua as SITE_CHROME_VISIBLE_HEADER_SELECTOR, ul as useControlReadiness, uu as getFontWidthRange, vc as DialogPortal, vd as unsafeAsPositiveSeconds, wc as menuItemInteractionClassName, y as applyBindingsToContent, yc as DialogTitle, zc as Root } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
4
4
|
import { $ as Crosshair, B as House, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, F as Info, Kt as err, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, Tt as decideLocationSave, Z as ExternalLink, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, p as Search, pt as Check, qt as ok, r as WifiOff, s as TriangleAlert, st as CircleCheck, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-00FF_oar.mjs";
|
|
5
5
|
import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-BW3dRFIv.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as selectEditorWriteState, bn as useEditorUiStore,
|
|
2
|
+
import { An as selectEditorWriteState, _l as useShallow, bn as useEditorUiStore, gl as cn, kn as selectAutosaveStatus, mt as useSessionJournal, ol as Primitive, zn as useStore } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bc as
|
|
2
|
+
import { $c as useCallbackRef, Bc as createRovingFocusGroupScope, Bi as systemCustomizeFacetStoredValue, Ca as eventCalendarListGroupingDecision, Dc as usePortalContainer, Fi as resolveArrangementKnobs, Fo as decideSectionPhoto, Gc as Content, Hc as Portal$2, I as lookTilesFor, Ii as isSystemCustomizeFacetId, Io as sectionPhotoPresence, Is as augmentManifestWithStyleGroups, Jn as manifestFieldSectionOptions, Kc as Root2$1, Kn as createManifestFormAdapter, Ko as lookDefinitionForId, Kr as fieldsNotShownIn, Lc as hideOthers, Li as systemCustomizeFacetAppliesToLayoutVariant, M as usePreviewRenderReadiness, Mo as resolveVisiblePromotedFieldPathsForEditorBlock, Oc as ReactRemoveScroll, Pi as arrangementKnobChoices, Qc as DismissableLayer, Qs as Root$1, Qu as syncStateOf, Rc as Item, Ri as systemCustomizeFacetDefinitionForBlock, Tc as menuTriggerInteractionClassName, Tn as shouldRevealAllBlockFieldValidation, Uc as Anchor, Vc as Presence, Vt as derivePromotedFieldPlan, Wc as Arrow, Xc as FocusScope, Yc as useId$1, Zc as useFocusGuards, Zo as getCuratedSiteStyle, _s as isThemeV2NormalEditorRawStyleFieldName, al as composeEventHandlers, br as mergeManifestWithSdkOptions, bs as lookModes, cr as parseCanonicalSectionBackground, dl as cva, el as useDirection, fl as createSlot, gi as eventCalendarPagingFields, gl as cn, hl as useComposedRefs, hu as asSiteStyleId, i as usePreviewSidebarNavigation, ii as getBlockDefinition, il as createContextScope, ml as composeRefs, ni as fieldPathsOwnedBy, nl as useControllableState, o as usePreviewPageDesignEditorState, ol as Primitive, or as parseBackgroundColorToken, pl as createSlottable, qc as createPopperScope, qo as readStoredMode, ri as resolveFieldOwnership, sl as dispatchDiscreteCustomEvent, tl as createCollection, vr as createCustomBlockRegistry, vs as isThemeV2NormalEditorRawStylePath, wc as menuItemInteractionClassName, xn as useEditorUiStoreInstance, yr as mergeBlockDescriptorsWithRegistry, zc as Root, zi as systemCustomizeFacetDefinitionsForBlock, zo as resolveEditorArrangementLook } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
3
3
|
import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-00FF_oar.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-
|
|
2
|
+
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-BHTBA48n.mjs";
|
|
3
3
|
import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
|
|
4
4
|
import { NextResponse } from "next/server";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-
|
|
2
|
+
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-BHTBA48n.mjs";
|
|
3
3
|
import { NextResponse } from "next/server";
|
|
4
4
|
//#region ../preview-next/src/middleware.ts
|
|
5
5
|
const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
|
|
@@ -3153,6 +3153,21 @@ const GIFTING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3153
3153
|
"server:internal_error"
|
|
3154
3154
|
]
|
|
3155
3155
|
},
|
|
3156
|
+
changeGiftExpiry: {
|
|
3157
|
+
path: "/sites/{siteId}/gifting/gifts/{giftId}/expiry",
|
|
3158
|
+
method: "POST",
|
|
3159
|
+
tags: ["site-{siteId}", "gifting-gifts-{siteId}"],
|
|
3160
|
+
auth: "user",
|
|
3161
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN,
|
|
3162
|
+
responseKind: "json",
|
|
3163
|
+
errors: [
|
|
3164
|
+
"validation:invalid_input",
|
|
3165
|
+
"auth:forbidden",
|
|
3166
|
+
"resource:not_found",
|
|
3167
|
+
"resource:conflict",
|
|
3168
|
+
"server:internal_error"
|
|
3169
|
+
]
|
|
3170
|
+
},
|
|
3156
3171
|
updateGiftingSettings: {
|
|
3157
3172
|
path: "/sites/{siteId}/gifting/settings",
|
|
3158
3173
|
method: "PATCH",
|
|
@@ -9535,7 +9550,11 @@ const API_ENDPOINTS = {
|
|
|
9535
9550
|
method: "GET",
|
|
9536
9551
|
auth: "public",
|
|
9537
9552
|
responseKind: "json",
|
|
9538
|
-
errors: [
|
|
9553
|
+
errors: [
|
|
9554
|
+
"resource:not_found",
|
|
9555
|
+
"resource:gone",
|
|
9556
|
+
"server:internal_error"
|
|
9557
|
+
]
|
|
9539
9558
|
},
|
|
9540
9559
|
portalGetBooking: {
|
|
9541
9560
|
path: "/portal/bookings/{kind}/{bookingId}",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-
|
|
4
|
-
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-
|
|
1
|
+
import { Dr as resolveDateRuntimeContext, Er as readRuntimeNow, _r as siteFooterManifest, ht as setContextResolveImageUrlContext, lc as toUtcIsoDateTimeString, pt as buildResolveImageUrlContext, t as getBlockDefinition, vr as siteHeaderManifest } from "./registry-Cc88-23f.mjs";
|
|
2
|
+
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-CG8O31Eo.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-D2-YMRei.mjs";
|
|
4
|
+
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-wrcuWmgp.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-BxUETRIZ.mjs";
|
|
7
7
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
8
|
import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as surfaceInkDeclarations, J as parseColorTokenParts, N as rgbColorValue, O as surfaceInkValue, T as surfaceForegroundValueWithOpacity, Y as parseThemeColorToken, _ as DEFAULT_SURFACE_TEXT_COLOR, j as cssVarValue, v as SURFACE_FOREGROUND_CSS_VARS, w as surfaceForegroundValue, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as contrastRatio, M as resolveOpaqueSurfaceHex, S as neutralInk, V as solidPaint, a as compositeHex, j as resolveConcreteColorHex, t as SURFACE_SECONDARY_TEXT_TINT_ALPHA } from "./expandPalette-ehuW8r2g.mjs";
|
|
3
|
+
import { F as solveSurfaceInks, M as safeTokenOr, f as actionVariableFallback, j as resolveSurfaceForeground, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-Dskni4Xj.mjs";
|
|
4
4
|
import { a as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-C9kgPHvr.mjs";
|
|
5
|
-
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-
|
|
5
|
+
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-H0fi4bJk.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -1389,9 +1389,16 @@ const registrationSurfaceVars = `
|
|
|
1389
1389
|
--er-event-card-border-width: var(--rb-border-width, 1px);
|
|
1390
1390
|
--er-event-card-hover-opacity: 1;
|
|
1391
1391
|
--er-control-bg: rgb(var(--tb-background, var(--tb-surface)));
|
|
1392
|
+
/* Secondary text on those controls: the background's own solved muted ink,
|
|
1393
|
+
not the surface's, which a dark surface would leave unreadable here. */
|
|
1394
|
+
--er-control-muted: rgb(var(--tb-onBackgroundMuted, var(--tb-mutedText, var(--tb-text))));
|
|
1392
1395
|
--er-control-text: rgb(var(--tb-foreground, var(--tb-text)));
|
|
1393
1396
|
--er-radius: var(--rb-block-radius);
|
|
1394
|
-
|
|
1397
|
+
/* Tints under text read their ground's faded tint where the palette
|
|
1398
|
+
publishes one (a tint that ground's muted ink can't read on), else the
|
|
1399
|
+
colour itself: page-background tints for the controls, surface tints
|
|
1400
|
+
elsewhere. */
|
|
1401
|
+
--er-surface-muted: rgb(var(--tb-surfaceTintMuted, var(--tb-muted, 241 245 249)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.muted});
|
|
1395
1402
|
--er-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
1396
1403
|
|
|
1397
1404
|
/* Step indicator */
|
|
@@ -1401,7 +1408,7 @@ const registrationSurfaceVars = `
|
|
|
1401
1408
|
--er-step-title-size: 1.75rem;
|
|
1402
1409
|
|
|
1403
1410
|
/* State backgrounds with alpha */
|
|
1404
|
-
--er-info-bg: rgb(var(--tb-primary) /
|
|
1411
|
+
--er-info-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
1405
1412
|
--er-info-text: rgb(var(--tb-primary));
|
|
1406
1413
|
--er-error-bg: rgb(var(--tb-destructive, 239 68 68) / 0.1);
|
|
1407
1414
|
--er-error-text: rgb(var(--tb-destructive, 239 68 68));
|
|
@@ -1429,14 +1436,14 @@ const registrationSurfaceVars = `
|
|
|
1429
1436
|
--er-payment-border: rgb(var(--tb-border));
|
|
1430
1437
|
--er-payment-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
1431
1438
|
--er-payment-border-selected: rgb(var(--tb-primary));
|
|
1432
|
-
--er-payment-bg-selected: rgb(var(--tb-primary) / 0.08);
|
|
1439
|
+
--er-payment-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.08);
|
|
1433
1440
|
|
|
1434
1441
|
/* Checkmark indicator */
|
|
1435
1442
|
--er-check-bg: rgb(var(--tb-primary));
|
|
1436
1443
|
--er-check-text: rgb(var(--tb-onPrimary, 255 255 255));
|
|
1437
1444
|
|
|
1438
1445
|
/* Order summary */
|
|
1439
|
-
--er-summary-bg: rgb(var(--tb-primary) /
|
|
1446
|
+
--er-summary-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
1440
1447
|
--er-summary-border: rgb(var(--tb-border));
|
|
1441
1448
|
|
|
1442
1449
|
/* Shared registration-surface mappings (issue 1174).
|
|
@@ -1447,6 +1454,7 @@ const registrationSurfaceVars = `
|
|
|
1447
1454
|
--rb-reg-border-hover: var(--er-border-hover);
|
|
1448
1455
|
--rb-reg-border-selected: var(--er-border-selected);
|
|
1449
1456
|
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
1457
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.06);
|
|
1450
1458
|
--rb-reg-option-bg: var(--er-control-bg);
|
|
1451
1459
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
1452
1460
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
@@ -1601,24 +1609,12 @@ function generateEventCombinedVars({ themeId }) {
|
|
|
1601
1609
|
}
|
|
1602
1610
|
//#endregion
|
|
1603
1611
|
//#region ../theme-core/src/blocks/vars/appointment-booking.ts
|
|
1604
|
-
|
|
1605
|
-
* Generate CSS variables for the appointment-booking block.
|
|
1606
|
-
*
|
|
1607
|
-
* Variables defined:
|
|
1608
|
-
* - Selection card states (background, border, selected)
|
|
1609
|
-
* - Success/error state colors
|
|
1610
|
-
* - Loading spinner color
|
|
1611
|
-
* - Text opacity levels
|
|
1612
|
-
* - Form element colors
|
|
1613
|
-
*/
|
|
1614
|
-
function generateAppointmentBookingVars({ themeId }) {
|
|
1615
|
-
return `
|
|
1616
|
-
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
1612
|
+
const appointmentSurfaceVars = `
|
|
1617
1613
|
/* Selection cards (service/resource/time) */
|
|
1618
1614
|
--ab-card-border: rgb(var(--tb-border));
|
|
1619
1615
|
--ab-card-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
1620
1616
|
--ab-card-border-selected: rgb(var(--tb-primary));
|
|
1621
|
-
--ab-card-bg-selected: rgb(var(--tb-primary) / 0.05);
|
|
1617
|
+
--ab-card-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.05);
|
|
1622
1618
|
|
|
1623
1619
|
/* Checkmark indicator */
|
|
1624
1620
|
--ab-check-bg: rgb(var(--tb-primary));
|
|
@@ -1633,7 +1629,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1633
1629
|
--ab-info-text: rgb(var(--tb-info));
|
|
1634
1630
|
|
|
1635
1631
|
/* Muted summary state */
|
|
1636
|
-
--ab-muted-bg: rgb(var(--tb-text) /
|
|
1632
|
+
--ab-muted-bg: rgb(var(--tb-surfaceTintText, var(--tb-text)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.text});
|
|
1637
1633
|
|
|
1638
1634
|
/* Focus ring used by shared registration-surface controls */
|
|
1639
1635
|
--ab-input-focus-ring: rgb(var(--tb-primary) / 0.3);
|
|
@@ -1647,13 +1643,14 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1647
1643
|
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
1648
1644
|
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
1649
1645
|
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
1646
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.06);
|
|
1650
1647
|
--rb-reg-option-bg: transparent;
|
|
1651
1648
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
1652
1649
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
1653
1650
|
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
1654
|
-
--rb-reg-on-surface-muted: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1655
|
-
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1656
|
-
--rb-reg-on-surface-faint: rgb(var(--tb-onSurface, var(--tb-text))
|
|
1651
|
+
--rb-reg-on-surface-muted: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1652
|
+
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1653
|
+
--rb-reg-on-surface-faint: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
1657
1654
|
--rb-reg-check-bg: var(--ab-check-bg);
|
|
1658
1655
|
--rb-reg-check-text: var(--ab-check-text);
|
|
1659
1656
|
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
@@ -1661,6 +1658,21 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
1661
1658
|
--rb-reg-summary-border: var(--ab-card-border);
|
|
1662
1659
|
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
1663
1660
|
--rb-reg-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
1661
|
+
`;
|
|
1662
|
+
/**
|
|
1663
|
+
* Generate CSS variables for the appointment-booking block.
|
|
1664
|
+
*
|
|
1665
|
+
* Variables defined:
|
|
1666
|
+
* - Selection card states (background, border, selected)
|
|
1667
|
+
* - Success/error state colors
|
|
1668
|
+
* - Loading spinner color
|
|
1669
|
+
* - Text opacity levels
|
|
1670
|
+
* - Form element colors
|
|
1671
|
+
*/
|
|
1672
|
+
function generateAppointmentBookingVars({ themeId }) {
|
|
1673
|
+
return `
|
|
1674
|
+
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
1675
|
+
${appointmentSurfaceVars}
|
|
1664
1676
|
}
|
|
1665
1677
|
`;
|
|
1666
1678
|
}
|