@riverbankcms/sdk 0.170.0 → 0.171.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-D-6cWDDC.d.ts} +1 -1
- package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4jkUDm4D.d.ts} +13 -11
- package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-DEvzvovi.d.ts} +4 -3
- package/dist/_dts/{client-x82SZgwK.d.ts → client-CXPH5esD.d.ts} +32 -1
- package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-DsCr4-ny.d.ts} +3 -3
- package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-BlmXM7xP.d.ts} +5 -3
- package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-BA0DnxWU.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-B7IRJCFG.d.ts} +2 -2
- package/dist/_dts/{index-B7Mq5M6P.d.ts → index-B3gfKNI-.d.ts} +4 -4
- package/dist/_dts/{index-C3rMEJ5a.d.ts → index-BQPJbOkU.d.ts} +2 -2
- package/dist/_dts/{index-CstY6ZMa.d.ts → index-BZ8-c4iQ.d.ts} +3 -3
- package/dist/_dts/{index-B82pqQAC.d.ts → index-C9_OTCFQ.d.ts} +2 -2
- package/dist/_dts/{index-BisbMZTW.d.ts → index-DScYSl03.d.ts} +72 -36
- package/dist/_dts/{index-CCugONHM.d.ts → index-DlABXDte.d.ts} +1 -1
- package/dist/_dts/{index-DXc_ewhR.d.ts → index-Sua-7CF1.d.ts} +1 -1
- package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-Dx4fW3Pa.d.ts} +7 -7
- package/dist/_dts/{request-CJ_ClHLv.d.ts → request-DUTkELQn.d.ts} +66062 -63545
- package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-Cze35i_N.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-zf6-E-C3.d.ts} +2 -2
- package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
- 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 +4 -4
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/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 +3 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- 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/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +4740 -3
- package/dist/_dts/{types-990t4t99.d.ts → types-BCzfYDW2.d.ts} +7 -7
- package/dist/_dts/{types-CbjK5ZLy.d.ts → types-CPHk5Voq.d.ts} +2 -2
- package/dist/_dts/{types-CpuxuS40.d.ts → types-JD-36x3P.d.ts} +3 -3
- package/dist/_dts/{validation-BN95LiS0.d.ts → validation-0MyQlzWJ.d.ts} +17 -17
- package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-vTHQyBQF.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-Blge9FJo.mjs} +7 -7
- package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-wm6eeuin.mjs} +16 -4
- package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
- package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-DRH9qFny.mjs} +7 -7
- package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-DPGZArG9.mjs} +7 -7
- package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-FGg6yCLH.mjs} +9 -9
- package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-218_Gqgp.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
- package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-DKdZSW_R.mjs} +10 -7
- package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DZJ5qBhg.mjs} +1 -1
- package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-CCdsrqHc.mjs} +3 -3
- package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BVoHnVZA.mjs} +42 -396
- package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-BVxHCnxs.mjs} +13 -13
- package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
- package/dist/client/{Page-PW4Ojv9r.mjs → Page-CT4HaEMr.mjs} +2706 -2441
- package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
- package/dist/client/StepIndicator-DRJy4eU3.mjs +894 -0
- package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
- package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-BnyVRqdU.mjs} +73 -26
- package/dist/client/{accordion-DMItWylU.mjs → accordion-BOApxi9U.mjs} +1 -1
- package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DDf8Lmo5.mjs} +79 -42
- package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-DWrgG-Xx.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/boxStyleClassNames-7MVCNWgc.mjs +369 -0
- package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DeI76SEP.mjs} +2 -2
- package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
- package/dist/client/{cart-wlRXnOjO.mjs → cart-D_uxULCO.mjs} +3 -3
- package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-BxSMse88.mjs} +1 -1
- package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-DIbh4g5e.mjs} +3 -3
- package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-x4Lkw8-E.mjs} +1 -1
- package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-DqN3L-kl.mjs} +1 -1
- package/dist/client/client.mjs +656 -220
- package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
- package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
- package/dist/client/{cta-CfuyGqXL.mjs → cta-CP9l112u.mjs} +2 -2
- package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
- package/dist/client/{display-DDNmyb0z.mjs → display-ChgDe9Da.mjs} +3186 -81
- package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-BEjg_h_6.mjs} +4 -4
- package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-COmbQ3mc.mjs} +3 -2
- package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BvQG3qEY.mjs} +48 -34
- package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-DiitbUpV.mjs} +4 -4
- package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-Da9Z8KDq.mjs} +4 -4
- package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Cf-kg7d6.mjs} +2 -2
- package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-xwXgVp7a.mjs} +4 -4
- package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-hlFYlgTA.mjs} +4 -4
- package/dist/client/{form-Cfl8d6qc.mjs → form-ERv_X_oZ.mjs} +3 -3
- package/dist/client/{form.client-D3_RF29v.mjs → form.client-Cz24FYNj.mjs} +5 -5
- package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DeaH4kIe.mjs} +3 -3
- package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJvt0ZP4.mjs} +2 -2
- package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-WuGDEzdD.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DhnW6tdB.mjs} +2 -2
- package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-DxG7NV8U.mjs} +3 -3
- package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
- package/dist/client/portal/client.mjs +294 -48
- package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DsSfbmdV.mjs} +1 -1
- package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-Byzow88i.mjs} +1 -1
- package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-iXkmQpxG.mjs} +3 -3
- package/dist/client/{productList-BNZAsfaP.mjs → productList-HoFGQXFl.mjs} +3 -3
- package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-CH2-LJME.mjs} +8 -4
- package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-ed20Q7bV.mjs} +1021 -931
- package/dist/client/rendering/client.mjs +57 -32
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +1956 -191
- package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-CBUO-xuz.mjs} +1 -1
- package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-3brbt2Jq.mjs} +1 -1
- package/dist/client/runtimeResponse-CTarP5K6.mjs +3 -0
- package/dist/client/{shop-PgmiVKSV.mjs → shop-DXyeSNgi.mjs} +3 -3
- package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce--klkHNzu.mjs} +13 -13
- package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-BdpIWdc4.mjs} +1 -1
- package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-Sv7QVDmj.mjs} +13 -13
- package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-C0IjiWOs.mjs} +89 -19
- package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-Jt4TzcAG.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-BxbnEJCi.mjs} +11 -11
- package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
- package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
- package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-dToQs9oY.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-C_aa_H69.mjs} +1 -1
- package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination--MFZBoJt.mjs} +7 -7
- package/dist/client/{view-CgComegl.mjs → view-C_brMDU2.mjs} +3 -3
- package/dist/client/{view-oToSpu1N.mjs → view-DhEwiTJG.mjs} +121 -28
- package/dist/preview-next/before-render.mjs +33 -13
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-OwAxA2C0.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-CaUOTCSh.mjs} +2 -2
- package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-Dfi8Y3AI.mjs} +660 -359
- package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-DJlX4sXP.mjs} +3597 -3217
- package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-FVAibBlC.mjs} +126 -138
- package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-9eAon7Z8.mjs} +21 -11
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-Byf-KW1x.mjs} +95 -404
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-eU-zMftO.mjs} +2507 -364
- package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
- package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-X0DjcFij.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-3FZrzbK8.mjs} +6961 -6657
- package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-C4gyNQXE.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-DtyRbz4E.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-OIMkhbkP.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BNG9P9sM.mjs} +134 -6
- package/dist/preview-next/container-responsive.css +43 -0
- package/dist/preview-next/editor-base.css +14 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-BLY4ycq6.mjs} +563 -190
- package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-BC3jPIP4.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-B7Ey6AWT.mjs} +4 -4
- package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BxsHs-jf.mjs} +52 -2
- package/dist/server/bindings-xQ9v3zrn.mjs +1802 -0
- package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
- package/dist/server/{client-Djjv-NuA.mjs → client-DCwLR0kQ.mjs} +654 -218
- package/dist/server/config-template-validation.mjs +30 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +3 -34
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/loadContent-C4I3ltU_.mjs +2310 -0
- package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-COvxWN0r.mjs} +2 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +8 -6
- package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-QiUjZmEV.mjs} +2 -2
- package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-BqQg6Iws.mjs} +3 -2
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
- package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-CVCGTj5S.mjs} +306 -287
- package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-C7Be9suN.mjs} +48 -35
- package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-H_bSBPLd.mjs} +848 -315
- package/dist/server/parseThemeForPersistence-Bk0o95m6.mjs +52 -0
- package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-HQNOeCs9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-CbRsnhta.mjs} +4 -3
- package/dist/server/{registry-Djrj9gWy.mjs → registry-CaeRTf4E.mjs} +4014 -2007
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CUMjWbXQ.mjs} +4 -3
- package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-euZnRMIu.mjs} +23 -24
- package/dist/server/rich-text-CRcONdyM.mjs +33 -0
- package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
- package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-CxBsE9Dv.mjs} +463 -53
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -1
- package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
- package/dist/server/{validation-Dh8htd6l.mjs → validation-CvmhnkDr.mjs} +9 -9
- package/dist/server/{version-LMwnoksN.mjs → version-Clp2evCf.mjs} +1 -1
- package/dist/styles/index.css +408 -10
- package/package.json +1 -1
- package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +0 -3
- package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
- package/dist/server/bindings-C1-MNwwS.mjs +0 -257
- package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
- package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-C4gyNQXE.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Fm as PortalContainerProvider, Ht as SURFACE_DOCUMENT_DATA_ATTRIBUTE, Th as cn, Ut as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-3FZrzbK8.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
|
|
@@ -5,13 +5,13 @@ import React from "react";
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/preview-next/client/runtime.tsx
|
|
7
7
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
8
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
8
|
+
return { default: (await import("./SdkPreviewModeRuntime-Byf-KW1x.mjs")).SdkPreviewModeRuntime };
|
|
9
9
|
});
|
|
10
10
|
const LazyPreviewShell = React.lazy(async () => {
|
|
11
|
-
return { default: (await import("./sdk-runtime-
|
|
11
|
+
return { default: (await import("./sdk-runtime-DtyRbz4E.mjs")).PreviewShell };
|
|
12
12
|
});
|
|
13
13
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
14
|
-
return { default: (await import("./sdk-runtime-
|
|
14
|
+
return { default: (await import("./sdk-runtime-DtyRbz4E.mjs")).PreviewShellLayout };
|
|
15
15
|
});
|
|
16
16
|
function SdkPreviewMode(props) {
|
|
17
17
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewQueryProvider-BC0V7iAR.mjs";
|
|
3
|
-
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-
|
|
4
|
-
import "./SdkPreviewModeRuntime-
|
|
3
|
+
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-9eAon7Z8.mjs";
|
|
4
|
+
import "./SdkPreviewModeRuntime-Byf-KW1x.mjs";
|
|
5
5
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-OIMkhbkP.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as useEditorUiStore,
|
|
3
|
-
import {
|
|
2
|
+
import { $t as useEditorUiStore, Eh as useShallow, Th as cn, Z as useSessionJournal, bn as useStore, cn as selectAutosaveStatus, hh as Primitive, ln as selectEditorWriteState } from "./previewAssistantSlot-3FZrzbK8.mjs";
|
|
3
|
+
import { A as LoaderCircle } from "./lucide-react-X0DjcFij.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#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,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $m as
|
|
3
|
-
import {
|
|
2
|
+
import { $a as eventCalendarListGroupingDecision, $m as Arrow, $n as createCustomBlockRegistry, A as usePreviewRenderReadiness, Ar as systemCustomizeFacetStoredValue, Bp as augmentManifestWithStyleGroups, Ch as composeRefs, Dn as createManifestFormAdapter, Dr as systemCustomizeFacetAppliesToLayoutVariant, Er as isSystemCustomizeFacetId, If as getCuratedSiteStyle, Im as usePortalContainer, Jm as Root, Km as hideOthers, Lm as ReactRemoveScroll, Mr as resolveArrangementKnobs, Nm as menuItemInteractionClassName, Nr as getBlockDefinition, O_ as asSiteStyleId, Or as systemCustomizeFacetDefinitionForBlock, P as lookTilesFor, Pm as menuTriggerInteractionClassName, Qm as Anchor, Sh as createSlottable, Th as cn, Tr as resolveFieldOwnership, Un as parseCanonicalSectionBackground, Vn as parseBackgroundColorToken, Xm as Presence, Ym as createRovingFocusGroupScope, Zm as Portal$2, ah as FocusScope, bh as cva, ch as useCallbackRef, dh as useControllableState, dm as Root$1, dp as isThemeV2NormalEditorRawStylePath, eh as Content, en as useEditorUiStoreInstance, er as mergeBlockDescriptorsWithRegistry, gf as sectionPhotoPresence, gh as dispatchDiscreteCustomEvent, gt as derivePromotedFieldPlan, hf as decideSectionPhoto, hh as Primitive, i as usePreviewSidebarNavigation, ih as useId$1, in as shouldRevealAllBlockFieldValidation, jf as readStoredMode, jr as arrangementKnobChoices, kf as lookDefinitionForId, kn as manifestFieldSectionOptions, kr as systemCustomizeFacetDefinitionsForBlock, lh as useDirection, mh as composeEventHandlers, nh as createPopperScope, nr as fieldsNotShownIn, o as usePreviewPageDesignEditorState, oh as useFocusGuards, pf as resolveVisiblePromotedFieldPathsForEditorBlock, ph as createContextScope, pp as lookModes, qm as Item, sh as DismissableLayer, th as Root2$1, tr as mergeManifestWithSdkOptions, uh as createCollection, up as isThemeV2NormalEditorRawStyleFieldName, vv as syncStateOf, wh as useComposedRefs, wi as eventCalendarPagingFields, wr as fieldPathsOwnedBy, xh as createSlot, yf as resolveEditorArrangementLook } from "./previewAssistantSlot-3FZrzbK8.mjs";
|
|
3
|
+
import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-X0DjcFij.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -924,7 +924,7 @@ var DropdownMenuCheckboxItem$1 = React$1.forwardRef((props, forwardedRef) => {
|
|
|
924
924
|
});
|
|
925
925
|
DropdownMenuCheckboxItem$1.displayName = CHECKBOX_ITEM_NAME;
|
|
926
926
|
var RADIO_GROUP_NAME = "DropdownMenuRadioGroup";
|
|
927
|
-
var DropdownMenuRadioGroup = React$1.forwardRef((props, forwardedRef) => {
|
|
927
|
+
var DropdownMenuRadioGroup$1 = React$1.forwardRef((props, forwardedRef) => {
|
|
928
928
|
const { __scopeDropdownMenu, ...radioGroupProps } = props;
|
|
929
929
|
return /* @__PURE__ */ jsx(RadioGroup, {
|
|
930
930
|
...useMenuScope(__scopeDropdownMenu),
|
|
@@ -932,7 +932,7 @@ var DropdownMenuRadioGroup = React$1.forwardRef((props, forwardedRef) => {
|
|
|
932
932
|
ref: forwardedRef
|
|
933
933
|
});
|
|
934
934
|
});
|
|
935
|
-
DropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;
|
|
935
|
+
DropdownMenuRadioGroup$1.displayName = RADIO_GROUP_NAME;
|
|
936
936
|
var RADIO_ITEM_NAME = "DropdownMenuRadioItem";
|
|
937
937
|
var DropdownMenuRadioItem$1 = React$1.forwardRef((props, forwardedRef) => {
|
|
938
938
|
const { __scopeDropdownMenu, ...radioItemProps } = props;
|
|
@@ -1008,6 +1008,7 @@ var Content2$1 = DropdownMenuContent$1;
|
|
|
1008
1008
|
var Label2 = DropdownMenuLabel$1;
|
|
1009
1009
|
var Item2 = DropdownMenuItem$1;
|
|
1010
1010
|
var CheckboxItem2 = DropdownMenuCheckboxItem$1;
|
|
1011
|
+
var RadioGroup2 = DropdownMenuRadioGroup$1;
|
|
1011
1012
|
var RadioItem2 = DropdownMenuRadioItem$1;
|
|
1012
1013
|
var ItemIndicator2 = DropdownMenuItemIndicator;
|
|
1013
1014
|
var Separator2 = DropdownMenuSeparator$1;
|
|
@@ -1023,6 +1024,7 @@ function DropdownMenuPortal({ container, ...props }) {
|
|
|
1023
1024
|
...props
|
|
1024
1025
|
});
|
|
1025
1026
|
}
|
|
1027
|
+
const DropdownMenuRadioGroup = RadioGroup2;
|
|
1026
1028
|
const DropdownMenuSubTrigger = React$1.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(SubTrigger2, {
|
|
1027
1029
|
ref,
|
|
1028
1030
|
className: cn(`flex select-none items-center gap-2 rounded-[var(--item-radius)] px-2 py-1.5 text-sm outline-none ${menuItemInteractionClassName} ${menuTriggerInteractionClassName} [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`, inset && "pl-8", className),
|
|
@@ -1093,6 +1095,106 @@ const DropdownMenuShortcut = ({ className, ...props }) => {
|
|
|
1093
1095
|
};
|
|
1094
1096
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1095
1097
|
//#endregion
|
|
1098
|
+
//#region ../ui/src/badge.tsx
|
|
1099
|
+
const badgeVariants = cva("inline-flex items-center whitespace-nowrap rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
1100
|
+
variants: {
|
|
1101
|
+
variant: {
|
|
1102
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
1103
|
+
secondary: "border-secondary/30 bg-secondary/10 text-secondary-foreground hover:bg-secondary/15",
|
|
1104
|
+
destructive: "border-destructive/30 bg-destructive/10 text-destructive hover:bg-destructive/15",
|
|
1105
|
+
success: "border-success/30 bg-success/10 text-success hover:bg-success/15",
|
|
1106
|
+
warning: "border-warning/30 bg-warning/10 text-warning-foreground hover:bg-warning/15",
|
|
1107
|
+
outline: "border-border/60 text-foreground"
|
|
1108
|
+
},
|
|
1109
|
+
/**
|
|
1110
|
+
* A status shown as a coloured dot before its label, with the tone
|
|
1111
|
+
* carried by the dot rather than a fill. `true` draws it as a bordered
|
|
1112
|
+
* pill (a page's status); `bare` drops the pill and sits in a line of
|
|
1113
|
+
* text at the surrounding size (an event workspace's status row).
|
|
1114
|
+
*/
|
|
1115
|
+
dot: {
|
|
1116
|
+
true: "gap-1.5 rounded-full bg-background pl-2 pr-2.5 font-medium before:size-2 before:shrink-0 before:rounded-full before:bg-current before:content-['']",
|
|
1117
|
+
bare: "gap-1.5 rounded-none border-0 bg-transparent p-0 text-[length:inherit] font-medium shadow-none before:size-2 before:shrink-0 before:rounded-full before:bg-current before:content-[''] hover:bg-transparent",
|
|
1118
|
+
false: ""
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
compoundVariants: [
|
|
1122
|
+
{
|
|
1123
|
+
dot: true,
|
|
1124
|
+
variant: "default",
|
|
1125
|
+
className: "border-primary text-foreground shadow-none before:bg-primary hover:bg-background"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
dot: true,
|
|
1129
|
+
variant: "secondary",
|
|
1130
|
+
className: "border-secondary/60 text-foreground before:bg-secondary/70 hover:bg-background"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
dot: true,
|
|
1134
|
+
variant: "destructive",
|
|
1135
|
+
className: "border-destructive/50 hover:bg-background"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
dot: true,
|
|
1139
|
+
variant: "success",
|
|
1140
|
+
className: "border-success/70 hover:bg-background"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
dot: true,
|
|
1144
|
+
variant: "warning",
|
|
1145
|
+
className: "border-warning/60 text-foreground before:bg-warning hover:bg-background"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
dot: true,
|
|
1149
|
+
variant: "outline",
|
|
1150
|
+
className: "border-border before:bg-muted-foreground/60"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
dot: "bare",
|
|
1154
|
+
variant: "default",
|
|
1155
|
+
className: "text-foreground before:bg-primary"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
dot: "bare",
|
|
1159
|
+
variant: "success",
|
|
1160
|
+
className: "text-foreground before:bg-success"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
dot: "bare",
|
|
1164
|
+
variant: "warning",
|
|
1165
|
+
className: "text-warning-foreground before:bg-warning"
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
dot: "bare",
|
|
1169
|
+
variant: "destructive",
|
|
1170
|
+
className: "text-destructive before:bg-destructive"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
dot: "bare",
|
|
1174
|
+
variant: "secondary",
|
|
1175
|
+
className: "text-foreground before:bg-muted-foreground/50"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
dot: "bare",
|
|
1179
|
+
variant: "outline",
|
|
1180
|
+
className: "text-muted-foreground before:bg-muted-foreground/50"
|
|
1181
|
+
}
|
|
1182
|
+
],
|
|
1183
|
+
defaultVariants: {
|
|
1184
|
+
variant: "default",
|
|
1185
|
+
dot: false
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
function Badge({ className, variant, dot, ...props }) {
|
|
1189
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1190
|
+
className: cn(badgeVariants({
|
|
1191
|
+
variant,
|
|
1192
|
+
dot
|
|
1193
|
+
}), className),
|
|
1194
|
+
...props
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
//#endregion
|
|
1096
1198
|
//#region ../../node_modules/.pnpm/@radix-ui+react-tooltip@1.2.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+reac_a819a01f76b5c8223c0528715f7d8657/node_modules/@radix-ui/react-tooltip/dist/index.mjs
|
|
1097
1199
|
var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [createPopperScope]);
|
|
1098
1200
|
var usePopperScope = createPopperScope();
|
|
@@ -1597,12 +1699,13 @@ function TooltipTrigger({ ...props }) {
|
|
|
1597
1699
|
...props
|
|
1598
1700
|
});
|
|
1599
1701
|
}
|
|
1600
|
-
function TooltipContent({ className, sideOffset = 0, children, container, ...props }) {
|
|
1702
|
+
function TooltipContent({ className, sideOffset = 0, collisionPadding = 8, children, container, ...props }) {
|
|
1601
1703
|
return /* @__PURE__ */ jsx(Portal, {
|
|
1602
1704
|
container: usePortalContainer(container),
|
|
1603
1705
|
children: /* @__PURE__ */ jsxs(Content2, {
|
|
1604
1706
|
"data-slot": "tooltip-content",
|
|
1605
1707
|
sideOffset,
|
|
1708
|
+
collisionPadding,
|
|
1606
1709
|
className: cn("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", className),
|
|
1607
1710
|
...props,
|
|
1608
1711
|
children: [children, /* @__PURE__ */ jsx(Arrow2, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
|
|
@@ -2624,4 +2727,29 @@ function resolveBlockLookSource(manifest, plan) {
|
|
|
2624
2727
|
} : { kind: "built-in" };
|
|
2625
2728
|
}
|
|
2626
2729
|
//#endregion
|
|
2627
|
-
|
|
2730
|
+
//#region ../preview-next/src/client/blocks/useOpenBlockForSetup.ts
|
|
2731
|
+
/**
|
|
2732
|
+
* Opens a block in the sidebar, at the field that needs filling in when
|
|
2733
|
+
* there's one. Every "Set up" button goes through here.
|
|
2734
|
+
*/
|
|
2735
|
+
function useOpenBlockForSetup() {
|
|
2736
|
+
const navigation = usePreviewSidebarNavigation();
|
|
2737
|
+
const uiStore = useEditorUiStoreInstance();
|
|
2738
|
+
const open = (blockId) => navigation.openBlock(blockId);
|
|
2739
|
+
const openField = (blockId, fieldPath) => {
|
|
2740
|
+
open(blockId);
|
|
2741
|
+
uiStore.getState().requestFocus({
|
|
2742
|
+
kind: "main-field",
|
|
2743
|
+
blockId,
|
|
2744
|
+
fieldPath: fieldPath.startsWith("content.") ? fieldPath : `content.${fieldPath}`
|
|
2745
|
+
});
|
|
2746
|
+
};
|
|
2747
|
+
const setUp = (blockId, repair) => repair.kind === "field" ? openField(blockId, repair.path) : open(blockId);
|
|
2748
|
+
return {
|
|
2749
|
+
open,
|
|
2750
|
+
openField,
|
|
2751
|
+
setUp
|
|
2752
|
+
};
|
|
2753
|
+
}
|
|
2754
|
+
//#endregion
|
|
2755
|
+
export { TooltipProvider as A, DropdownMenuTrigger as B, hideThemeV2RawStyleFields as C, mergeBlockDescriptors as D, getBlockManifestFromSdkConfig as E, DropdownMenuItem as F, DropdownMenuLabel as I, DropdownMenuRadioGroup as L, Badge as M, DropdownMenu as N, Tooltip as O, DropdownMenuContent as P, DropdownMenuRadioItem as R, lookNotShownFieldIds as S, showRawStyleFields as T, useSdkConfig as _, needsSetupAsk as a, arrangementVisibilityValues as b, useBlockNeedsSetup as c, arrangementLookNameFor as d, createStoreBackend as f, SdkConfigProvider as g, createFieldObservation as h, NEEDS_SETUP_LABEL as i, TooltipTrigger as j, TooltipContent as k, arrangementBackgroundControlFor as l, isRecord as m, resolveBlockManifest as n, needsSetupMessage as o, isObjectRecord as p, useBlockCustomizeControls as r, needsSetupOf as s, useOpenBlockForSetup as t, arrangementBlockControlsFor as u, arrangementLookResolution as v, prepareBlockEditorManifest as w, blockLookOwnedFieldPaths as x, arrangementOwnedFieldIds as y, DropdownMenuSeparator as z };
|
|
@@ -2915,6 +2915,11 @@
|
|
|
2915
2915
|
[data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="cta-left"] [data-slot="actions"] > * { box-sizing: border-box; flex: 1 1 100%; justify-content: center; }
|
|
2916
2916
|
}
|
|
2917
2917
|
}
|
|
2918
|
+
@container rb-site (min-width: 768px) {
|
|
2919
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
2920
|
+
[data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="plates"] [data-card-list] > [data-card-list-item]:only-child:not(:has(> [data-slot="item-media"])) > [data-slot="item-body"] > [data-slot="dates"] { margin: 0; }
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2918
2923
|
@container rb-site (max-width: 767px) {
|
|
2919
2924
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
2920
2925
|
[data-skin="poise"]:is(*, :scope) [data-arrangement][data-treat="month-grid"] [data-slot="date"] { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 0 3px; min-height: 3.5rem; padding: 0.375rem 0.125rem; border-radius: 14px; }
|
|
@@ -3048,3 +3053,41 @@
|
|
|
3048
3053
|
[data-skin="brook"]:is(*, :scope) [data-arrangement][data-treat="month-grid"] [data-slot="date"] { min-height: 3.5rem; min-width: 0; padding: 0.375rem 0.125rem; }
|
|
3049
3054
|
}
|
|
3050
3055
|
}
|
|
3056
|
+
@container rb-site (min-width: 1024px) {
|
|
3057
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3058
|
+
:where(.theme-scope:is(*, :scope)) :where(.rb-list-ticks) {
|
|
3059
|
+
display: grid;
|
|
3060
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
|
|
3061
|
+
column-gap: var(--rb-list-columns-gap);
|
|
3062
|
+
align-items: start;
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
@container rb-site (min-width: 768px) {
|
|
3067
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3068
|
+
:where(.theme-scope:is(*, :scope)) :where(.rb-list-columns) :where(.rb-list-body:not(.rb-list-groups)) :where(.rb-list-points),
|
|
3069
|
+
:where(.theme-scope:is(*, :scope)) :where(.rb-list-columns) :where(.rb-list-groups) {
|
|
3070
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3071
|
+
column-gap: var(--rb-list-columns-gap);
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
@container rb-site (min-width: 768px) {
|
|
3076
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3077
|
+
:where(.theme-scope:is(*, :scope)) :where(.rb-list-cards) :where(.rb-list-groups) {
|
|
3078
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
@layer rb-theme {
|
|
3083
|
+
@container rb-site (min-width: 1024px) {
|
|
3084
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3085
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout {
|
|
3086
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3087
|
+
}
|
|
3088
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout__aside {
|
|
3089
|
+
position: sticky;
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
@@ -83,14 +83,12 @@
|
|
|
83
83
|
--field-font-size: 0.875rem;
|
|
84
84
|
--field-textarea-min-height: 5rem;
|
|
85
85
|
|
|
86
|
-
/* Pill buttons
|
|
86
|
+
/* Pill buttons. Their heights are fixed in button.tsx (32, 40 and 48px);
|
|
87
|
+
* these set the side padding. */
|
|
87
88
|
--button-radius: 9999px;
|
|
88
89
|
--button-padding-x: 1.25rem;
|
|
89
|
-
--button-padding-y: 0.6875rem;
|
|
90
90
|
--button-padding-x-sm: 1rem;
|
|
91
|
-
--button-padding-y-sm: 0.5rem;
|
|
92
91
|
--button-padding-x-lg: 2rem;
|
|
93
|
-
--button-padding-y-lg: 0.8125rem;
|
|
94
92
|
--button-outline-border-width: 1px;
|
|
95
93
|
--button-outline-hover: #f8f5ea;
|
|
96
94
|
|
|
@@ -141,6 +139,10 @@
|
|
|
141
139
|
--font-serif: Lora, serif;
|
|
142
140
|
--font-mono: IBM Plex Mono, monospace;
|
|
143
141
|
--heading-letter-spacing: 0.04em;
|
|
142
|
+
/* SDK sites import this file through preview-next/chrome.css, so this
|
|
143
|
+
* :root value reaches their public pages (rounded-lg and friends map to it,
|
|
144
|
+
* below). It stays as it was for them; the dashboard and the editing chrome
|
|
145
|
+
* take the tighter corners from .builder-dashboard-chrome-theme further down. */
|
|
144
146
|
--radius: 1.4rem;
|
|
145
147
|
/* No glows: cards take their hairline from --card-shadow. The shape stays
|
|
146
148
|
* for the toasts, which set their own colour. */
|
|
@@ -161,6 +163,12 @@
|
|
|
161
163
|
--spacing: 0.27rem;
|
|
162
164
|
}
|
|
163
165
|
|
|
166
|
+
/* The dashboard and the editing chrome on sites (both carry this class): 18px
|
|
167
|
+
* cards and 12px callouts. Buttons and fields have their own radius tokens. */
|
|
168
|
+
.builder-dashboard-chrome-theme {
|
|
169
|
+
--radius: 0.875rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
164
172
|
/* Nested cards alternate a soft panel tint and near-white, so a card inside a
|
|
165
173
|
* card (a repeater row in a block, a field's options inside a field) stays
|
|
166
174
|
* visible. Cards that set their own background are unaffected. This covers
|
|
@@ -276,6 +284,8 @@
|
|
|
276
284
|
--button-secondary-border: transparent;
|
|
277
285
|
--button-secondary-background: var(--inverse-foreground);
|
|
278
286
|
--button-secondary-foreground: var(--inverse);
|
|
287
|
+
/* A ghost button's hover wash: a light tint of the band, not the page's cream. */
|
|
288
|
+
--button-outline-hover: color-mix(in oklab, var(--inverse-foreground) 14%, transparent);
|
|
279
289
|
--muted-foreground: color-mix(in oklab, var(--inverse-foreground) 72%, transparent);
|
|
280
290
|
}
|
|
281
291
|
|
|
@@ -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-BLY4ycq6.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-BLY4ycq6.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}$/;
|