@riverbankcms/sdk 0.171.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.
Files changed (181) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-xuFmD41p.d.ts → BlocksIslandsHydrator-D-6cWDDC.d.ts} +1 -1
  2. package/dist/_dts/{Page-4fzXy8H9.d.ts → Page-4jkUDm4D.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-BlHgMsc8.d.ts → SdkPreviewMode-DEvzvovi.d.ts} +2 -2
  4. package/dist/_dts/{client-BPoU758C.d.ts → client-CXPH5esD.d.ts} +1 -1
  5. package/dist/_dts/{content-types-TnkhoSls.d.ts → content-types-DsCr4-ny.d.ts} +2 -2
  6. package/dist/_dts/{contracts-7wrMA79U.d.ts → contracts-BlmXM7xP.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DaOsPQ_Q.d.ts → footerPageOutline-BA0DnxWU.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-D9aDEzKK.d.ts → generatePageMetadata-B7IRJCFG.d.ts} +2 -2
  9. package/dist/_dts/{index-CZKSUcDs.d.ts → index-B3gfKNI-.d.ts} +4 -4
  10. package/dist/_dts/{index-DDKJfaLY.d.ts → index-BQPJbOkU.d.ts} +2 -2
  11. package/dist/_dts/{index-W9R3Bnf2.d.ts → index-BZ8-c4iQ.d.ts} +3 -3
  12. package/dist/_dts/{index-Cbw0IiY7.d.ts → index-C9_OTCFQ.d.ts} +2 -2
  13. package/dist/_dts/{index-585vn6qb.d.ts → index-DScYSl03.d.ts} +1 -1
  14. package/dist/_dts/{index-DNCDENic.d.ts → index-DlABXDte.d.ts} +1 -1
  15. package/dist/_dts/{index-ChNbrcgD.d.ts → index-Sua-7CF1.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-DPyNAJym.d.ts → loadContent-Dx4fW3Pa.d.ts} +7 -7
  17. package/dist/_dts/{request-jXTRN1Y4.d.ts → request-DUTkELQn.d.ts} +74581 -74248
  18. package/dist/_dts/{resolveBlockData-BbvE-gsZ.d.ts → resolveBlockData-Cze35i_N.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-BBgih00D.d.ts → resolvePageContent-zf6-E-C3.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-kWvBwYK6.d.ts → types-BCzfYDW2.d.ts} +7 -7
  54. package/dist/_dts/{types-BXuVxDYo.d.ts → types-CPHk5Voq.d.ts} +2 -2
  55. package/dist/_dts/{types-DEAKoDNi.d.ts → types-JD-36x3P.d.ts} +3 -3
  56. package/dist/_dts/{validation-BAO0_ntM.d.ts → validation-0MyQlzWJ.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-DfMsMIej.mjs → BlocksIslandsHydrator-vTHQyBQF.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-aaSicywS.mjs → BookingMailingListNote-Blge9FJo.mjs} +2 -2
  59. package/dist/client/{BookingPanelArrangement-OgftZ9QC.mjs → BookingPanelArrangement-wm6eeuin.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-iMWrY6Hz.mjs → CalendarNavigationChevron-DRH9qFny.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-BCumOTLY.mjs → DemoBookingPortalAccess-DPGZArG9.mjs} +1 -1
  62. package/dist/client/{EventCalendar.client-kh7mkYnW.mjs → EventCalendar.client-FGg6yCLH.mjs} +7 -7
  63. package/dist/client/{EventCombined.client-DXD5i0Ar.mjs → EventCombined.client-218_Gqgp.mjs} +4 -4
  64. package/dist/client/{EventItem-BnwcoFQN.mjs → EventItem-DKdZSW_R.mjs} +4 -4
  65. package/dist/client/{EventListWeekNavigation-DuG6z02f.mjs → EventListWeekNavigation-DZJ5qBhg.mjs} +1 -1
  66. package/dist/client/{EventListing.client-18yfHrcr.mjs → EventListing.client-CCdsrqHc.mjs} +3 -3
  67. package/dist/client/{EventListing.view-BM7rTVSL.mjs → EventListing.view-BVoHnVZA.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-D5J3DR0x.mjs → EventRegistrationPayment-BVxHCnxs.mjs} +4 -4
  69. package/dist/client/{Page-DH2sm4Cf.mjs → Page-CT4HaEMr.mjs} +19 -24
  70. package/dist/client/{StepIndicator-CsRlU46Y.mjs → StepIndicator-DRJy4eU3.mjs} +4 -4
  71. package/dist/client/{accessibleSurfaces-Bbn1-jJ8.mjs → accessibleSurfaces-BnyVRqdU.mjs} +21 -24
  72. package/dist/client/{accordion-DT4MD3Np.mjs → accordion-BOApxi9U.mjs} +1 -1
  73. package/dist/client/{booking-form.client-DdqNQNCa.mjs → booking-form.client-DDf8Lmo5.mjs} +6 -6
  74. package/dist/client/{bookingForm-CLN396HU.mjs → bookingForm-DWrgG-Xx.mjs} +3 -3
  75. package/dist/client/bookings.mjs +3 -3
  76. package/dist/client/{boxStyleClassNames-iLF_3KX9.mjs → boxStyleClassNames-7MVCNWgc.mjs} +1 -1
  77. package/dist/client/{carousel-DFLomCGm.mjs → carousel-DeI76SEP.mjs} +1 -1
  78. package/dist/client/{cart-BozMM5NK.mjs → cart-D_uxULCO.mjs} +3 -3
  79. package/dist/client/{cart.client-CqOOxPbW.mjs → cart.client-BxSMse88.mjs} +1 -1
  80. package/dist/client/{checkout-CTWF5nbB.mjs → checkout-DIbh4g5e.mjs} +3 -3
  81. package/dist/client/{checkout.client-CpqxN8e0.mjs → checkout.client-x4Lkw8-E.mjs} +1 -1
  82. package/dist/client/{checkoutUrls-Ccg6yfjq.mjs → checkoutUrls-DqN3L-kl.mjs} +1 -1
  83. package/dist/client/client.mjs +20 -6
  84. package/dist/client/{cta-pzQkBLgS.mjs → cta-CP9l112u.mjs} +1 -1
  85. package/dist/client/{display-Cl6mgSJa.mjs → display-ChgDe9Da.mjs} +1 -1
  86. package/dist/client/{enhanceHeaderSection-CJCl0HJC.mjs → enhanceHeaderSection-BEjg_h_6.mjs} +3 -3
  87. package/dist/client/{event-details.client-Pn9Kxh3I.mjs → event-details.client-COmbQ3mc.mjs} +1 -1
  88. package/dist/client/{event-registration.client-BAmBdWXE.mjs → event-registration.client-BvQG3qEY.mjs} +7 -7
  89. package/dist/client/{eventCalendar-C5Bh2L8L.mjs → eventCalendar-DiitbUpV.mjs} +3 -3
  90. package/dist/client/{eventCombined-dELKxxIe.mjs → eventCombined-Da9Z8KDq.mjs} +3 -3
  91. package/dist/client/{eventDetails-Do9D_fJ_.mjs → eventDetails-Cf-kg7d6.mjs} +2 -2
  92. package/dist/client/{eventListing-B2HTUWLq.mjs → eventListing-xwXgVp7a.mjs} +3 -3
  93. package/dist/client/{eventRegistration-ByOJnqGc.mjs → eventRegistration-hlFYlgTA.mjs} +3 -3
  94. package/dist/client/{form-DX70QG-J.mjs → form-ERv_X_oZ.mjs} +2 -2
  95. package/dist/client/{form.client-CJoqBrS6.mjs → form.client-Cz24FYNj.mjs} +2 -2
  96. package/dist/client/{form.parts-DTof9pL3.mjs → form.parts-DeaH4kIe.mjs} +1 -1
  97. package/dist/client/{headerSection-CJuPX_1K.mjs → headerSection-CJvt0ZP4.mjs} +2 -2
  98. package/dist/client/{newsletter-form.client-CqzNjOft.mjs → newsletter-form.client-WuGDEzdD.mjs} +3 -3
  99. package/dist/client/{newsletter-form.parts-DjJsFms2.mjs → newsletter-form.parts-DhnW6tdB.mjs} +1 -1
  100. package/dist/client/{newsletterForm-D1MHoPbh.mjs → newsletterForm-DxG7NV8U.mjs} +2 -2
  101. package/dist/client/{product-detail.client-DOQ7El1d.mjs → product-detail.client-DsSfbmdV.mjs} +1 -1
  102. package/dist/client/{product-list.client-CmxOZbzL.mjs → product-list.client-Byzow88i.mjs} +1 -1
  103. package/dist/client/{productDetail-BN3zv5sa.mjs → productDetail-iXkmQpxG.mjs} +3 -3
  104. package/dist/client/{productList-GN_Id4bF.mjs → productList-HoFGQXFl.mjs} +3 -3
  105. package/dist/client/{propsDecoder-BdmzM3D5.mjs → propsDecoder-CH2-LJME.mjs} +2 -2
  106. package/dist/client/{registry.server-BOyra8CA.mjs → registry.server-ed20Q7bV.mjs} +22 -21
  107. package/dist/client/rendering/client.mjs +21 -21
  108. package/dist/client/rendering/islands.mjs +1 -1
  109. package/dist/client/rendering.mjs +6 -6
  110. package/dist/client/{routeIslandApiConfig-DnaJ8PQc.mjs → routeIslandApiConfig-CBUO-xuz.mjs} +1 -1
  111. package/dist/client/{runtimeResponse-BN8PoIVp.mjs → runtimeResponse-3brbt2Jq.mjs} +1 -1
  112. package/dist/client/runtimeResponse-CTarP5K6.mjs +3 -0
  113. package/dist/client/{shop-LjBLDBqF.mjs → shop-DXyeSNgi.mjs} +3 -3
  114. package/dist/client/{shop-commerce-B8aZTdRJ.mjs → shop-commerce--klkHNzu.mjs} +7 -7
  115. package/dist/client/{shop-commerce-store-C1FtHYl7.mjs → shop-commerce-store-BdpIWdc4.mjs} +1 -1
  116. package/dist/client/{shop.client-D0qZ3KZp.mjs → shop.client-Sv7QVDmj.mjs} +7 -7
  117. package/dist/client/{shop.interactive-DAKyWK1B.mjs → shop.interactive-C0IjiWOs.mjs} +1 -1
  118. package/dist/client/{shopShared-CztcSe9i.mjs → shopShared-Jt4TzcAG.mjs} +1 -1
  119. package/dist/client/{timetableModel-D1jDTbms.mjs → timetableModel-BxbnEJCi.mjs} +5 -5
  120. package/dist/client/{useDiscountApply-CHGYDxdM.mjs → useDiscountApply-dToQs9oY.mjs} +1 -1
  121. package/dist/client/{useDiscountCodeUi-Dew9UAEy.mjs → useDiscountCodeUi-C_aa_H69.mjs} +1 -1
  122. package/dist/client/{useEventPagination-BpC7-ksE.mjs → useEventPagination--MFZBoJt.mjs} +4 -4
  123. package/dist/client/{view-ShYH3WXh.mjs → view-C_brMDU2.mjs} +2 -2
  124. package/dist/client/{view-BxeiAL3c.mjs → view-DhEwiTJG.mjs} +3 -3
  125. package/dist/preview-next/client/{LocationPickerEnvironment-lW2aLGWd.mjs → LocationPickerEnvironment-OwAxA2C0.mjs} +1 -1
  126. package/dist/preview-next/client/{MapLibreEditMap-C9InQJpd.mjs → MapLibreEditMap-CaUOTCSh.mjs} +2 -2
  127. package/dist/preview-next/client/{PageSectionToolbar-DsSqwrMS.mjs → PageSectionToolbar-Dfi8Y3AI.mjs} +308 -388
  128. package/dist/preview-next/client/{PreviewEditorSidebar-BEEWzXnU.mjs → PreviewEditorSidebar-DJlX4sXP.mjs} +668 -353
  129. package/dist/preview-next/client/{PreviewEditorUI-C86Out4V.mjs → PreviewEditorUI-FVAibBlC.mjs} +126 -137
  130. package/dist/preview-next/client/{PreviewShell-CBWYjBvQ.mjs → PreviewShell-9eAon7Z8.mjs} +8 -8
  131. package/dist/preview-next/client/{SdkPreviewModeRuntime-o-mVqWLx.mjs → SdkPreviewModeRuntime-Byf-KW1x.mjs} +13 -16
  132. package/dist/preview-next/client/{SiteChromeCustomizeButton-H_ciMNHA.mjs → SiteChromeCustomizeButton-eU-zMftO.mjs} +1357 -39
  133. package/dist/preview-next/client/{lucide-react-DygTyy7K.mjs → lucide-react-X0DjcFij.mjs} +1 -1
  134. package/dist/preview-next/client/{previewAssistantSlot-CuOcsG_N.mjs → previewAssistantSlot-3FZrzbK8.mjs} +1808 -2832
  135. package/dist/preview-next/client/{previewChromeRoot-DPeV7KaP.mjs → previewChromeRoot-C4gyNQXE.mjs} +1 -1
  136. package/dist/preview-next/client/runtime.mjs +3 -3
  137. package/dist/preview-next/client/{sdk-runtime-zTTFZ4MM.mjs → sdk-runtime-DtyRbz4E.mjs} +2 -2
  138. package/dist/preview-next/client/{useAutosaveStatus-DNA1Q4L1.mjs → useAutosaveStatus-OIMkhbkP.mjs} +2 -2
  139. package/dist/preview-next/client/{useOpenBlockForSetup-BdnMlHC6.mjs → useOpenBlockForSetup-BNG9P9sM.mjs} +109 -6
  140. package/dist/preview-next/editor-base.css +14 -4
  141. package/dist/preview-next/keepAlive.mjs +1 -1
  142. package/dist/preview-next/middleware.mjs +1 -1
  143. package/dist/preview-next/{route-contract-CtSgU8UZ.mjs → route-contract-BLY4ycq6.mjs} +16 -2
  144. package/dist/server/{Block.shared-ifgaBglp.mjs → Block.shared-BC3jPIP4.mjs} +4 -4
  145. package/dist/server/{ThemeScopeCore-DGDOH6OU.mjs → ThemeScopeCore-B7Ey6AWT.mjs} +4 -4
  146. package/dist/server/{accessibleSurfaces-BuPNCWAK.mjs → accessibleSurfaces-BxsHs-jf.mjs} +1 -1
  147. package/dist/server/{bindings-CiYpie1M.mjs → bindings-xQ9v3zrn.mjs} +4 -4
  148. package/dist/server/{client-ngWuFsmN.mjs → client-DCwLR0kQ.mjs} +18 -4
  149. package/dist/server/config-validation.mjs +1 -1
  150. package/dist/server/config.mjs +1 -1
  151. package/dist/server/data/resolveBlockData.mjs +1 -1
  152. package/dist/server/index.mjs +2 -2
  153. package/dist/server/{loadContent-DeLQeJAZ.mjs → loadContent-C4I3ltU_.mjs} +5 -5
  154. package/dist/server/{loadPage-D4J747FQ.mjs → loadPage-COvxWN0r.mjs} +2 -2
  155. package/dist/server/next.mjs +6 -6
  156. package/dist/server/{opaqueSurface-ukEz1BaM.mjs → opaqueSurface-QiUjZmEV.mjs} +2 -2
  157. package/dist/server/{overrideResolution-DSuVkpqm.mjs → overrideResolution-BqQg6Iws.mjs} +1 -1
  158. package/dist/server/page-converter.mjs +1 -1
  159. package/dist/server/{pageRenderPlan-DFv3h4Ib.mjs → pageRenderPlan-CVCGTj5S.mjs} +4 -4
  160. package/dist/server/{pageRuntimeSupport-yHaRNWMj.mjs → pageRuntimeSupport-C7Be9suN.mjs} +2 -2
  161. package/dist/server/{pageShared-CAZD0LcY.mjs → pageShared-H_bSBPLd.mjs} +10 -10
  162. package/dist/server/{parseThemeForPersistence-Dl7LIBJq.mjs → parseThemeForPersistence-Bk0o95m6.mjs} +2 -2
  163. package/dist/server/{prebuild-BKOCND3b.mjs → prebuild-HQNOeCs9.mjs} +1 -1
  164. package/dist/server/prebuild.mjs +1 -1
  165. package/dist/server/{prefetchBlockData-GIoExi8A.mjs → prefetchBlockData-CbRsnhta.mjs} +2 -2
  166. package/dist/server/{registry-BogXzcOD.mjs → registry-CaeRTf4E.mjs} +18 -22
  167. package/dist/server/rendering/components/pageShared.mjs +1 -1
  168. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  169. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  170. package/dist/server/rendering/server.mjs +3 -3
  171. package/dist/server/rendering.mjs +7 -7
  172. package/dist/server/{resolveBlockData-CT4YSBve.mjs → resolveBlockData-CUMjWbXQ.mjs} +1 -1
  173. package/dist/server/{resolveButtonColourStates-DVISOQD9.mjs → resolveButtonColourStates-euZnRMIu.mjs} +21 -24
  174. package/dist/server/{schema-C92Q8y0-.mjs → schema-CxBsE9Dv.mjs} +1 -1
  175. package/dist/server/server.mjs +3 -3
  176. package/dist/server/theme-bridge.mjs +2 -2
  177. package/dist/server/theme.mjs +2 -2
  178. package/dist/server/{validation-vSBCWU3w.mjs → validation-CvmhnkDr.mjs} +3 -3
  179. package/dist/server/{version-Cw5vFmUY.mjs → version-Clp2evCf.mjs} +1 -1
  180. package/package.json +1 -1
  181. package/dist/client/runtimeResponse-B1-cyLXt.mjs +0 -3
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $t as useEditorUiStore, Dv as displayedValues, Fm as DialogTitle, G as useEntryEditorController, G_ as authoredValuesEqual, Gt as PREVIEW_CHROME_Z_INDEX, Lh as cn, Lv as unsafeAsEditorBlockId, Mh as cva, Mm as DialogDescription, Nm as DialogFooter, Pm as DialogHeader, Q as useSessionJournalHistory, Tn as editorAuthoredBlockDocument, V as usePreviewAuth, Vu as pageTemplateFromEntry, Wp as editorAdmissionIsOpen, X as useServerRefresh, Z as useSessionJournal, br as publishReadinessWarning, dm as Select, en as useEditorUiStoreInstance, fm as SelectContent, hm as SelectValue, im as unwrapResponse, jm as DialogContent, kh as Button, km as Dialog, mm as SelectTrigger, n as usePreviewAssistantSlot, ot as EditorWriteSurface, pm as SelectItem, pn as canDiscardDraft, xr as readinessFactsFromPayload, yr as PUBLISH_READINESS_COPY, zp as resolveBlockTitle } from "./previewAssistantSlot-CuOcsG_N.mjs";
3
- import { $ as Eye, D as Monitor, N as LoaderCircle, f as Smartphone, ht as ChevronDown, l as Tablet, o as Undo2, s as TriangleAlert, tt as EllipsisVertical, w as Palette, x as Pencil, y as Redo2 } from "./lucide-react-DygTyy7K.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-DNA1Q4L1.mjs";
5
- import { I as DropdownMenuTrigger, M as DropdownMenu, N as DropdownMenuContent, O as Tooltip, P as DropdownMenuItem, a as needsSetupAsk, j as TooltipTrigger, k as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup } from "./useOpenBlockForSetup-BdnMlHC6.mjs";
6
- import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-DPeV7KaP.mjs";
2
+ import { $t as useEditorUiStore, G as useEntryEditorController, Gt as PREVIEW_CHROME_Z_INDEX, N_ as authoredValuesEqual, Q as useSessionJournalHistory, Sm as DialogTitle, Th as cn, Tn as editorAuthoredBlockDocument, Tv as unsafeAsEditorBlockId, V as usePreviewAuth, Vu as pageTemplateFromEntry, Wp as editorAdmissionIsOpen, X as useServerRefresh, Z as useSessionJournal, _h as Button, bh as cva, bm as DialogFooter, br as publishReadinessWarning, en as useEditorUiStoreInstance, gm as Dialog, hv as displayedValues, im as unwrapResponse, n as usePreviewAssistantSlot, ot as EditorWriteSurface, pn as canDiscardDraft, vm as DialogContent, xm as DialogHeader, xr as readinessFactsFromPayload, ym as DialogDescription, yr as PUBLISH_READINESS_COPY, zp as resolveBlockTitle } from "./previewAssistantSlot-3FZrzbK8.mjs";
3
+ import { A as LoaderCircle, Q as EllipsisVertical, S as Palette, X as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-X0DjcFij.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-OIMkhbkP.mjs";
5
+ import { B as DropdownMenuTrigger, F as DropdownMenuItem, I as DropdownMenuLabel, L as DropdownMenuRadioGroup, M as Badge, N as DropdownMenu, O as Tooltip, P as DropdownMenuContent, R as DropdownMenuRadioItem, a as needsSetupAsk, j as TooltipTrigger, k as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuSeparator } from "./useOpenBlockForSetup-BNG9P9sM.mjs";
6
+ import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-C4gyNQXE.mjs";
7
7
  import * as React$1 from "react";
8
8
  import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -178,16 +178,34 @@ function useDiscardConfirmation(onDiscard) {
178
178
  /** A momentary note (such as a journal note) beside Undo and Redo, kept to one line. */
179
179
  function StatusBarNote({ message }) {
180
180
  if (!message) return null;
181
- return /* @__PURE__ */ jsx("span", {
181
+ return /* @__PURE__ */ jsx(Badge, {
182
+ variant: "warning",
182
183
  role: "status",
183
184
  title: message,
184
- className: "min-w-0 max-w-[32rem] shrink truncate rounded-md bg-amber-50 px-2 py-1 text-xs text-amber-900 block",
185
- children: message
185
+ className: "min-w-0 max-w-[32rem] shrink py-1 font-normal",
186
+ children: /* @__PURE__ */ jsx("span", {
187
+ className: "truncate",
188
+ children: message
189
+ })
186
190
  });
187
191
  }
192
+ function HistoryButton({ label, icon, onClick, disabled }) {
193
+ return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
194
+ asChild: true,
195
+ children: /* @__PURE__ */ jsx(Button, {
196
+ type: "button",
197
+ variant: "ghost",
198
+ size: "icon",
199
+ onClick,
200
+ disabled,
201
+ "aria-label": label,
202
+ children: icon
203
+ })
204
+ }), /* @__PURE__ */ jsx(TooltipContent, { children: label })] });
205
+ }
188
206
  function StatusCopy({ decision, size }) {
189
207
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [formatEditorStatus(decision, size), decision.primary.kind === "publication" && decision.savedAt ? /* @__PURE__ */ jsxs("span", {
190
- className: "text-xs text-slate-500",
208
+ className: "text-xs text-muted-foreground",
191
209
  children: [" · saved ", decision.savedAt]
192
210
  }) : null] });
193
211
  }
@@ -217,54 +235,31 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
217
235
  historyNote
218
236
  });
219
237
  const disablePublish = toolbar?.disablePublish || !hasChanges && currentLifecycle !== "draft";
220
- const statusClass = statusDecision.primary.kind === "error" ? "text-destructive" : "text-slate-600";
238
+ const statusClass = statusDecision.primary.kind === "error" ? "text-destructive" : "text-muted-foreground";
221
239
  return /* @__PURE__ */ jsx(FixedBottomSurface, {
222
240
  variant: "light",
223
241
  children: /* @__PURE__ */ jsxs("div", {
224
242
  "data-testid": "editor-status-bar",
225
- className: `relative flex flex-nowrap items-center gap-2 text-sm text-slate-900 sm:gap-3 ${hasConfiguredMenu || toggleSlot ? "pr-12 sm:pr-14" : showMobileHistoryMenu ? "pr-12 sm:pr-0" : ""}`,
243
+ className: `relative flex flex-nowrap items-center gap-2 text-sm text-foreground sm:gap-3 ${hasConfiguredMenu || toggleSlot ? "pr-12 sm:pr-14" : showMobileHistoryMenu ? "pr-12 sm:pr-0" : ""}`,
226
244
  children: [
227
245
  /* @__PURE__ */ jsxs("div", {
228
246
  className: "flex min-w-0 flex-1 flex-nowrap items-center gap-2 sm:gap-3",
229
247
  children: [
230
248
  historyControls ? /* @__PURE__ */ jsxs("div", {
231
- className: "hidden items-center rounded-md border border-slate-200 bg-white/70 p-0.5 sm:inline-flex",
249
+ className: "hidden items-center sm:inline-flex",
232
250
  role: "toolbar",
233
251
  "aria-label": "History controls",
234
- children: [
235
- /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
236
- asChild: true,
237
- children: /* @__PURE__ */ jsx(Button, {
238
- type: "button",
239
- variant: "ghost",
240
- size: "icon",
241
- className: "h-8 w-8 text-slate-600",
242
- onClick: historyControls.onUndo,
243
- disabled: !historyControls.canUndo,
244
- "aria-label": "Undo",
245
- title: "Undo",
246
- children: /* @__PURE__ */ jsx(Undo2, { className: "h-4 w-4" })
247
- })
248
- }), /* @__PURE__ */ jsx(TooltipContent, { children: "Undo" })] }),
249
- /* @__PURE__ */ jsx("div", {
250
- className: "mx-0.5 h-5 w-px bg-slate-200",
251
- "aria-hidden": "true"
252
- }),
253
- /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
254
- asChild: true,
255
- children: /* @__PURE__ */ jsx(Button, {
256
- type: "button",
257
- variant: "ghost",
258
- size: "icon",
259
- className: "h-8 w-8 text-slate-600",
260
- onClick: historyControls.onRedo,
261
- disabled: !historyControls.canRedo,
262
- "aria-label": "Redo",
263
- title: "Redo",
264
- children: /* @__PURE__ */ jsx(Redo2, { className: "h-4 w-4" })
265
- })
266
- }), /* @__PURE__ */ jsx(TooltipContent, { children: "Redo" })] })
267
- ]
252
+ children: [/* @__PURE__ */ jsx(HistoryButton, {
253
+ label: "Undo",
254
+ icon: /* @__PURE__ */ jsx(Undo2, {}),
255
+ onClick: historyControls.onUndo,
256
+ disabled: !historyControls.canUndo
257
+ }), /* @__PURE__ */ jsx(HistoryButton, {
258
+ label: "Redo",
259
+ icon: /* @__PURE__ */ jsx(Redo2, {}),
260
+ onClick: historyControls.onRedo,
261
+ disabled: !historyControls.canRedo
262
+ })]
268
263
  }) : null,
269
264
  /* @__PURE__ */ jsx(StatusBarNote, { message: statusDecision.note }),
270
265
  /* @__PURE__ */ jsx("div", {
@@ -485,116 +480,110 @@ function PreviewOpenEditorButton() {
485
480
  });
486
481
  }
487
482
  //#endregion
488
- //#region ../preview-next/src/client/preview/PreviewZoomControls.tsx
489
- function PreviewZoomControls({ zoom, onZoomChange, disabled }) {
490
- return /* @__PURE__ */ jsxs(Select, {
491
- value: String(zoom),
492
- onValueChange: (value) => onZoomChange(value === "fit" ? "fit" : Number(value)),
493
- disabled,
494
- children: [/* @__PURE__ */ jsx(SelectTrigger, {
495
- "aria-label": "Zoom",
496
- className: "h-[30px] w-[74px] rounded-full border-0 bg-transparent px-2 text-[13px] font-semibold shadow-none",
497
- children: /* @__PURE__ */ jsx(SelectValue, {})
498
- }), /* @__PURE__ */ jsxs(SelectContent, { children: [
499
- /* @__PURE__ */ jsx(SelectItem, {
500
- value: "33",
501
- children: "33%"
502
- }),
503
- /* @__PURE__ */ jsx(SelectItem, {
504
- value: "50",
505
- children: "50%"
506
- }),
507
- /* @__PURE__ */ jsx(SelectItem, {
508
- value: "75",
509
- children: "75%"
510
- }),
511
- /* @__PURE__ */ jsx(SelectItem, {
512
- value: "100",
513
- children: "100%"
514
- }),
515
- /* @__PURE__ */ jsx(SelectItem, {
516
- value: "fit",
517
- children: "Fit"
518
- })
519
- ] })]
520
- });
521
- }
522
- //#endregion
523
483
  //#region ../preview-next/src/client/preview/PreviewViewportControls.tsx
484
+ const FIT_LABEL = "Fit to space";
485
+ const FIT_VALUE = "fit";
524
486
  const VIEWPORT_PRESETS = [
525
487
  {
526
488
  label: "Desktop",
527
- width: 1440,
528
- icon: Monitor
489
+ width: 1440
529
490
  },
530
491
  {
531
492
  label: "Tablet",
532
- width: 768,
533
- icon: Tablet
493
+ width: 768
534
494
  },
535
495
  {
536
496
  label: "Mobile",
537
- width: 375,
538
- icon: Smartphone
497
+ width: 375
498
+ }
499
+ ];
500
+ const ZOOM_OPTIONS = [
501
+ {
502
+ value: "fit",
503
+ label: "Fit"
504
+ },
505
+ {
506
+ value: 100,
507
+ label: "100%"
508
+ },
509
+ {
510
+ value: 75,
511
+ label: "75%"
512
+ },
513
+ {
514
+ value: 50,
515
+ label: "50%"
516
+ },
517
+ {
518
+ value: 33,
519
+ label: "33%"
539
520
  }
540
521
  ];
522
+ function sizeValue(mode, width) {
523
+ return mode === "fixed" && typeof width === "number" ? String(width) : FIT_VALUE;
524
+ }
525
+ /** What the button says: the chosen size, and the zoom when it isn't fitted. */
526
+ function viewportTriggerLabel(mode, width, zoom) {
527
+ if (mode !== "fixed" || typeof width !== "number") return FIT_LABEL;
528
+ const size = VIEWPORT_PRESETS.find((preset) => preset.width === width)?.label ?? `${width}px`;
529
+ return zoom === void 0 || zoom === "fit" ? size : `${size}, ${zoom}%`;
530
+ }
531
+ function parseZoom(value) {
532
+ return ZOOM_OPTIONS.find((option) => String(option.value) === value)?.value ?? "fit";
533
+ }
541
534
  /**
542
- * The editing size, in the bottom bar: Auto fits the space beside the
543
- * sidebar, or choose a device width. Zoom appears once a width is chosen.
544
- * These are editing preferences only; view mode always uses the browser's width.
535
+ * The editing size, in the bottom bar: a menu button whose default fits the
536
+ * space beside the sidebar, or a device width. Zoom joins the menu once a
537
+ * width is chosen. These are editing preferences only; view mode always uses
538
+ * the browser's width.
545
539
  */
546
540
  function PreviewViewportControls({ mode, width, onModeChange, onWidthChange, className, zoom, onZoomChange }) {
547
- const showZoomControls = mode === "fixed" && zoom !== void 0 && onZoomChange !== void 0;
548
- return /* @__PURE__ */ jsxs("div", {
549
- role: "group",
550
- "aria-label": "Preview size",
551
- className: cn("flex shrink-0 items-center rounded-full border bg-card p-[3px]", className),
541
+ const label = viewportTriggerLabel(mode, width, zoom);
542
+ const showZoom = mode === "fixed" && zoom !== void 0 && onZoomChange !== void 0;
543
+ const chooseSize = (value) => {
544
+ if (value === FIT_VALUE) return onModeChange("squeeze");
545
+ onWidthChange(Number(value));
546
+ onModeChange("fixed");
547
+ };
548
+ return /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
549
+ asChild: true,
550
+ children: /* @__PURE__ */ jsxs(Button, {
551
+ type: "button",
552
+ variant: "secondary",
553
+ "aria-label": `Preview size: ${label}`,
554
+ className: cn("shrink-0", className),
555
+ children: [label, /* @__PURE__ */ jsx(ChevronDown, { "aria-hidden": "true" })]
556
+ })
557
+ }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
558
+ align: "end",
559
+ side: "top",
552
560
  children: [
553
- /* @__PURE__ */ jsx(SizeButton, {
554
- label: "Auto fit",
555
- pressed: mode === "squeeze",
556
- onSelect: () => onModeChange("squeeze"),
557
- children: /* @__PURE__ */ jsx("span", {
558
- className: "px-1 text-[13px] font-semibold",
559
- children: "Auto"
560
- })
561
+ /* @__PURE__ */ jsx(DropdownMenuLabel, { children: "Preview size" }),
562
+ /* @__PURE__ */ jsxs(DropdownMenuRadioGroup, {
563
+ value: sizeValue(mode, width),
564
+ onValueChange: chooseSize,
565
+ children: [/* @__PURE__ */ jsx(DropdownMenuRadioItem, {
566
+ value: FIT_VALUE,
567
+ children: FIT_LABEL
568
+ }), VIEWPORT_PRESETS.map((preset) => /* @__PURE__ */ jsx(DropdownMenuRadioItem, {
569
+ value: String(preset.width),
570
+ children: `${preset.label}, ${preset.width}px`
571
+ }, preset.width))]
561
572
  }),
562
- /* @__PURE__ */ jsx("span", {
563
- className: "mx-0.5 h-4 w-px bg-border",
564
- "aria-hidden": "true"
565
- }),
566
- VIEWPORT_PRESETS.map((preset) => /* @__PURE__ */ jsx(SizeButton, {
567
- label: `${preset.label}, ${preset.width}px`,
568
- pressed: mode === "fixed" && width === preset.width,
569
- onSelect: () => {
570
- onWidthChange(preset.width);
571
- onModeChange("fixed");
572
- },
573
- children: /* @__PURE__ */ jsx(preset.icon, {
574
- className: "h-4 w-4",
575
- "aria-hidden": "true"
573
+ showZoom ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
574
+ /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
575
+ /* @__PURE__ */ jsx(DropdownMenuLabel, { children: "Zoom" }),
576
+ /* @__PURE__ */ jsx(DropdownMenuRadioGroup, {
577
+ value: String(zoom),
578
+ onValueChange: (value) => onZoomChange(parseZoom(value)),
579
+ children: ZOOM_OPTIONS.map((option) => /* @__PURE__ */ jsx(DropdownMenuRadioItem, {
580
+ value: String(option.value),
581
+ children: option.label
582
+ }, option.value))
576
583
  })
577
- }, preset.label)),
578
- showZoomControls ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
579
- className: "mx-0.5 h-4 w-px bg-border",
580
- "aria-hidden": "true"
581
- }), /* @__PURE__ */ jsx(PreviewZoomControls, {
582
- zoom,
583
- onZoomChange
584
- })] }) : null
584
+ ] }) : null
585
585
  ]
586
- });
587
- }
588
- function SizeButton({ label, pressed, onSelect, children }) {
589
- return /* @__PURE__ */ jsx("button", {
590
- type: "button",
591
- "aria-label": label,
592
- "aria-pressed": pressed,
593
- title: label,
594
- onClick: onSelect,
595
- className: cn("grid h-[30px] min-w-8 place-items-center rounded-full px-1.5 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", pressed && "bg-muted text-foreground"),
596
- children
597
- });
586
+ })] });
598
587
  }
599
588
  //#endregion
600
589
  //#region ../preview-next/src/client/preview/MaintenanceModeBadge.tsx
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-BC0V7iAR.mjs";
3
- import { $t as useEditorUiStore, B as renewPreviewSession, Bh as isEdited, D_ as renderableMediaAssetSchema$1, E as PreviewRenderObservationsProvider, E_ as buildRenderableMediaAssetIndex, Ev as parseEditLeaseScope, Fm as DialogTitle, G as useEntryEditorController, G_ as authoredValuesEqual, Gp as editorAdmissionNotice, H as usePreviewToken, Jp as observeEditorAdmission, Kt as createRoutingHelpers, L as createGuardedPreviewApiClient, La as buildResolveImageUrlContext, Lh as cn, Lt as blocksKeys, Lv as unsafeAsEditorBlockId, Mm as DialogDescription, Nm as DialogFooter, O_ as indexRenderableMediaAssets, Pm as DialogHeader, R as initPreviewAuth, U as EntryControllerProvider, Uh as canEditorWrite, V as usePreviewAuth, Wt as ApiRequestError, X as useServerRefresh, Xp as API_ENDPOINTS, Yp as OPERATION_ID_HEADER, _n as renderSourceFor, a as PreviewPageDesignEditorStateProvider, am as selectedCanvasBlockId, at as EditLeaseModal, au as measureSiteStickyChromeHeightPx, bm as CalloutDescription, cu as siteTopChromeMeasurementTargets, en as useEditorUiStoreInstance, et as savedContentReceipt, f as PreviewThemeJournalProvider, g as previewThemeBase, gn as remoteDraftValues, gy as assertNever$2, hn as planLinkedSaveHandoverRetention, i as usePreviewSidebarNavigation, im as unwrapResponse, it as EditLeaseDiscardedNotice, iu as SITE_STICKY_CHROME_HEIGHT_FALLBACK, jm as DialogContent, kh as Button, km as Dialog, l as SiteChromeCustomizeProvider, lt as getEditorClientId, m as usePreviewThemeSourceOptional, mn as activeLinkedSaveHandover, mp as assertNever$1, nt as useRetentionTicks, nu as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, on as SIDEBAR_WIDTH, ot as EditorWriteSurface, p as usePreviewThemeSource, qp as editorAdmissionSession, qt as createSnapshotFromPageRecord, r as PreviewSidebarBootstrap, rt as VIEWING_PARTICIPATION, ru as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, sn as parseStoredSidebarWidth, su as planSiteOverlayHeaderClearance, t as PreviewAssistantSlotProvider, tn as useOptionalEditorUiStoreInstance, tt as savedPageSurfaceMetadataReceipt, wn as unsafeAsLinkedContentEntryId, wu as planSiteChromePlacement, ym as Callout, yn as resolveRenderedValues, z as registerPreviewRenewalFetcher, zh as baselineRevisionOf } from "./previewAssistantSlot-CuOcsG_N.mjs";
4
- import { K as GripVertical } from "./lucide-react-DygTyy7K.mjs";
5
- import { $t as TabsList, E as usePreviewCompiledTheme, Gt as DEFAULT_THEME_RESPONSIVE_MODE, H as createEditorApiClientFactory, Kt as getResponsiveScopeSpec, L as SessionJournalHost, Mt as LINKED_CONTENT_ENTRY_META_KEY, N as mergeResolvedDataContext, Pt as getLinkedContentEntryMeta, Q as MediaEditorContextProvider, Qt as TabsContent, T as PreviewThemeRenderingProvider, Vt as themeRuntimeScopeProps, Zt as Tabs, a as PreviewChromeLayerProvider, at as ImageResolveContextProvider, b as SiteFontStorageProvider, bt as revealEditorElement, c as PREVIEW_SITE_BANNER_ATTRIBUTE, ct as BlockApiProvider, en as TabsTrigger, f as canInspectSiteStyle, g as sanitizeDashboardPath, h as resolvePreviewDashboardSetupHandoff, m as buildPreviewDashboardSetupUrl, p as resolveSiteStyleAccess, pn as parseFooterModuleId, qt as Toaster, t as SiteChromeCustomizeButton, tt as useApiMediaUploader, v as resolvePreviewSetupBannerModel, w as PreviewCompiledThemeProvider, xt as ThemeScopeCore, z as renderSiteChromeBlock, zt as buildThemeDataAttrs } from "./SiteChromeCustomizeButton-H_ciMNHA.mjs";
6
- import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-lW2aLGWd.mjs";
7
- import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-DPeV7KaP.mjs";
3
+ import { $t as useEditorUiStore, B as renewPreviewSession, Dh as baselineRevisionOf, E as PreviewRenderObservationsProvider, G as useEntryEditorController, Gp as editorAdmissionNotice, H as usePreviewToken, Jp as observeEditorAdmission, Kt as createRoutingHelpers, L as createGuardedPreviewApiClient, La as buildResolveImageUrlContext, Lt as blocksKeys, N_ as authoredValuesEqual, Oh as isEdited, R as initPreviewAuth, Sm as DialogTitle, Th as cn, Tv as unsafeAsEditorBlockId, U as EntryControllerProvider, V as usePreviewAuth, Wt as ApiRequestError, X as useServerRefresh, Xp as API_ENDPOINTS, Yp as OPERATION_ID_HEADER, _h as Button, _n as renderSourceFor, a as PreviewPageDesignEditorStateProvider, am as selectedCanvasBlockId, at as EditLeaseModal, au as measureSiteStickyChromeHeightPx, bm as DialogFooter, cu as siteTopChromeMeasurementTargets, en as useEditorUiStoreInstance, et as savedContentReceipt, f as PreviewThemeJournalProvider, g as previewThemeBase, g_ as indexRenderableMediaAssets, gm as Dialog, gn as remoteDraftValues, h_ as renderableMediaAssetSchema$1, hn as planLinkedSaveHandoverRetention, i as usePreviewSidebarNavigation, im as unwrapResponse, it as EditLeaseDiscardedNotice, iu as SITE_STICKY_CHROME_HEIGHT_FALLBACK, iy as assertNever$2, jh as canEditorWrite, l as SiteChromeCustomizeProvider, lt as getEditorClientId, m as usePreviewThemeSourceOptional, m_ as buildRenderableMediaAssetIndex, mm as CalloutDescription, mn as activeLinkedSaveHandover, mp as assertNever$1, mv as parseEditLeaseScope, nt as useRetentionTicks, nu as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, on as SIDEBAR_WIDTH, ot as EditorWriteSurface, p as usePreviewThemeSource, pm as Callout, qp as editorAdmissionSession, qt as createSnapshotFromPageRecord, r as PreviewSidebarBootstrap, rt as VIEWING_PARTICIPATION, ru as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, sn as parseStoredSidebarWidth, su as planSiteOverlayHeaderClearance, t as PreviewAssistantSlotProvider, tn as useOptionalEditorUiStoreInstance, tt as savedPageSurfaceMetadataReceipt, vm as DialogContent, wn as unsafeAsLinkedContentEntryId, wu as planSiteChromePlacement, xm as DialogHeader, ym as DialogDescription, yn as resolveRenderedValues, z as registerPreviewRenewalFetcher } from "./previewAssistantSlot-3FZrzbK8.mjs";
4
+ import { U as GripVertical } from "./lucide-react-X0DjcFij.mjs";
5
+ import { E as usePreviewCompiledTheme, En as parseFooterModuleId, Gt as DEFAULT_THEME_RESPONSIVE_MODE, H as createEditorApiClientFactory, Kt as getResponsiveScopeSpec, L as SessionJournalHost, Mt as LINKED_CONTENT_ENTRY_META_KEY, N as mergeResolvedDataContext, Pt as getLinkedContentEntryMeta, Q as MediaEditorContextProvider, T as PreviewThemeRenderingProvider, Vt as themeRuntimeScopeProps, Yt as Toaster, a as PreviewChromeLayerProvider, at as ImageResolveContextProvider, b as SiteFontStorageProvider, bt as revealEditorElement, c as PREVIEW_SITE_BANNER_ATTRIBUTE, ct as BlockApiProvider, dn as TabsContent, f as canInspectSiteStyle, fn as TabsList, g as sanitizeDashboardPath, h as resolvePreviewDashboardSetupHandoff, m as buildPreviewDashboardSetupUrl, p as resolveSiteStyleAccess, pn as TabsTrigger, t as SiteChromeCustomizeButton, tt as useApiMediaUploader, un as Tabs, v as resolvePreviewSetupBannerModel, w as PreviewCompiledThemeProvider, xt as ThemeScopeCore, z as renderSiteChromeBlock, zt as buildThemeDataAttrs } from "./SiteChromeCustomizeButton-eU-zMftO.mjs";
6
+ import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-OwAxA2C0.mjs";
7
+ import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-C4gyNQXE.mjs";
8
8
  import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { useQueryClient } from "@tanstack/react-query";
@@ -88,7 +88,7 @@ function ResizableSplitPane({ left, right, defaultSplit = 40, minLeftWidth = 300
88
88
  className: "flex h-full flex-col",
89
89
  children: [
90
90
  /* @__PURE__ */ jsxs(TabsList, {
91
- className: "w-full justify-start rounded-none border-b",
91
+ className: "w-full justify-start rounded-none",
92
92
  children: [/* @__PURE__ */ jsx(TabsTrigger, {
93
93
  value: "left",
94
94
  className: "flex-1",
@@ -4189,10 +4189,10 @@ function resolveShellThemeRoles(props, journalSource) {
4189
4189
  }
4190
4190
  const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
4191
4191
  const PreviewEditorSidebar = React.lazy(async () => {
4192
- return { default: (await import("./PreviewEditorSidebar-BEEWzXnU.mjs")).PreviewEditorSidebar };
4192
+ return { default: (await import("./PreviewEditorSidebar-DJlX4sXP.mjs")).PreviewEditorSidebar };
4193
4193
  });
4194
4194
  const PreviewEditorUI = React.lazy(async () => {
4195
- return { default: (await import("./PreviewEditorUI-C86Out4V.mjs")).PreviewEditorUI };
4195
+ return { default: (await import("./PreviewEditorUI-FVAibBlC.mjs")).PreviewEditorUI };
4196
4196
  });
4197
4197
  function renderShellProviders(input) {
4198
4198
  if (!input.themeRoles) return input.content;
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { $_ as generateUuidV4, $d as inlineTextToPlainText, $p as calendarWindowQuerySchema, $t as useEditorUiStore, $u as formCopyFragment, Bl as bookingConsentCarrierSchema, Cg as textColorStyle, Cr as selectBlockContent, Cv as readPublishedBlockPlacement, D as PreviewRenderPlanProjection, Dg as parseSurfaceTree, Fr as normalizeBlockContent, Gd as parseGeneratedIconSetId, Gh as bindingSchema, Gu as richTextFragment, H as usePreviewToken, Hd as parseBlockIconValue, Hp as isRecord$1, Jd as coerceInlineTextWithFallback, Jn as planArrangementContent, Ju as faqAccordionFragment, Ku as headingFragment, La as buildResolveImageUrlContext, Ll as publicEventsArraySchema, Lr as normalizeLocationMapSource, Lv as unsafeAsEditorBlockId, Md as validateManifestDraft, Nr as getBlockDefinition, Od as runTransforms, Oi as projectRecurringSchedule, Qn as retargetJoinsAcrossOmissions, Qu as formEmbedFragment, Ra as getCurrentResolveImageUrlContext, Rr as resolveLocationMapLocation, Sa as RichText$1, Sr as readinessFactsFromLoaders, Sv as readEditorBlockVersionsFromPlacement, T as ObservedJoin, Vh as canWriteLinkedEntry, Vp as isObjectRecord, Vu as pageTemplateFromEntry, Wd as parseGeneratedIconAssetId, Xn as joinSlotKey, Xu as blogFeaturedPostFragment, Yd as deriveInlineTextFieldChanges, Yn as composePageJoins, Yu as faqHeadingFragment, Zn as renderedJoinLayout, Zu as singleButtonFragment, _n as renderSourceFor, _r as mapOutlineBlocks, _u as readRuntimeNow, a_ as expandPalette, ar as siblingPath, bi as publicRouteCandidatesSchema, dv as sameMailingListPlacementTargeting, ed as testimonialsCarouselFragment, ef as isInlineTextEmpty, en as useEditorUiStoreInstance, gn as remoteDraftValues, gr as allOutlineBlocks, gy as assertNever, hr as createEditorPresentationPageReader, id as ctaRowFragment, im as unwrapResponse, ir as getAtPath, iy as toUtcIsoDateTimeString, jd as compileManifestContentContract, kd as defineFragment, nd as ctaCopyFragment, og as compileButtonColourStates, p_ as themeSchema, po as offeringsListingFor, qn as createPageRenderPlanReader, qu as cardFragment, rd as heroCtaRowFragment, s as usePreviewPageDesignRenderState, sd as heroCopyFragment, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sv as parseMailingListPlacementTargeting, td as testimonialsHeadingFragment, tv as buildMailingListSignupBlockSourceRef, vd as ctaButton, vn as renderedFieldChanges, vr as mapOutlineRegions, vu as resolveDateRuntimeContext, wn as unsafeAsLinkedContentEntryId, wv as selectedContentVersionId, xv as NO_BLOCK_VERSIONS, yd as bodyCopyFragment, yi as offeringsPreviewBlockDefinition, yn as resolveRenderedValues, za as setContextResolveImageUrlContext } from "./previewAssistantSlot-CuOcsG_N.mjs";
3
- import { Bt as parseLocationValue, Ht as publicLocationSchema, Pt as decideLocationSourcePermission, Vt as projectPublicLocation } from "./lucide-react-DygTyy7K.mjs";
4
- import { A as applyPreviewRuntimeContentProjections, At as logger, Ct as arrangementHooksFromContent, D as usePreviewCompiledThemeOptional, Dt as buildLoadedOfferingsPreviewListing, Et as getDefaultComponentRegistry, Ft as defaultTransforms, Ht as buildThemeRuntime, It as resolveEntryRouteTarget, Lt as resolvePageRouteTarget, M as runtimeContentDecorationProjectionFromServerPage, N as mergeResolvedDataContext, Nt as coerceLinkedContentEntriesPayload, O as pageDesignRuntimeProjectionFromSource, Ot as buildAppointmentServicesView, P as withRenderedContentEntry, Rt as resolveRouteTarget, St as makeDefaultBlockComponent, Tt as readBlockComposition, Wt as mergeContentWithBlockStyleOverrides, cn as defaultThemeTokens, j as entryFieldRebindingProjection, jt as Text$1, k as resolveRuntimePreviewSourceForTheme, kt as renderInlineText, r as PreviewChromeFloatingBar, rt as clientComponentRegistry, wt as blockLookFromContent } from "./SiteChromeCustomizeButton-H_ciMNHA.mjs";
2
+ import { $_ as sameMailingListPlacementTargeting, $d as inlineTextToPlainText, $p as calendarWindowQuerySchema, $t as useEditorUiStore, $u as formCopyFragment, Bl as bookingConsentCarrierSchema, Cr as selectBlockContent, D as PreviewRenderPlanProjection, Fr as normalizeBlockContent, Gd as parseGeneratedIconSetId, Gu as richTextFragment, H as usePreviewToken, Hd as parseBlockIconValue, Hp as isRecord$1, Jd as coerceInlineTextWithFallback, Jh as compileButtonColourStates, Jn as planArrangementContent, Ju as faqAccordionFragment, Ku as headingFragment, Kv as toUtcIsoDateTimeString, La as buildResolveImageUrlContext, Ll as publicEventsArraySchema, Lr as normalizeLocationMapSource, Md as validateManifestDraft, Nh as bindingSchema, Nr as getBlockDefinition, Od as runTransforms, Oi as projectRecurringSchedule, Qn as retargetJoinsAcrossOmissions, Qu as formEmbedFragment, Ra as getCurrentResolveImageUrlContext, Rr as resolveLocationMapLocation, Sa as RichText$1, Sr as readinessFactsFromLoaders, T as ObservedJoin, Tv as unsafeAsEditorBlockId, U_ as buildMailingListSignupBlockSourceRef, V_ as generateUuidV4, Vp as isObjectRecord, Vu as pageTemplateFromEntry, Wd as parseGeneratedIconAssetId, Xn as joinSlotKey, Xu as blogFeaturedPostFragment, Y_ as parseMailingListPlacementTargeting, Yd as deriveInlineTextFieldChanges, Yn as composePageJoins, Yu as faqHeadingFragment, Zn as renderedJoinLayout, Zu as singleButtonFragment, _n as renderSourceFor, _r as mapOutlineBlocks, _u as readRuntimeNow, ar as siblingPath, bi as publicRouteCandidatesSchema, dg as textColorStyle, dv as readPublishedBlockPlacement, ed as testimonialsCarouselFragment, ef as isInlineTextEmpty, en as useEditorUiStoreInstance, fv as selectedContentVersionId, gn as remoteDraftValues, gr as allOutlineBlocks, hg as parseSurfaceTree, hr as createEditorPresentationPageReader, id as ctaRowFragment, im as unwrapResponse, ir as getAtPath, iy as assertNever, jd as compileManifestContentContract, kd as defineFragment, kh as canWriteLinkedEntry, lv as NO_BLOCK_VERSIONS, nd as ctaCopyFragment, po as offeringsListingFor, qg as expandPalette, qn as createPageRenderPlanReader, qu as cardFragment, rd as heroCtaRowFragment, s as usePreviewPageDesignRenderState, sd as heroCopyFragment, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, t_ as themeSchema, td as testimonialsHeadingFragment, uv as readEditorBlockVersionsFromPlacement, vd as ctaButton, vn as renderedFieldChanges, vr as mapOutlineRegions, vu as resolveDateRuntimeContext, wn as unsafeAsLinkedContentEntryId, yd as bodyCopyFragment, yi as offeringsPreviewBlockDefinition, yn as resolveRenderedValues, za as setContextResolveImageUrlContext } from "./previewAssistantSlot-3FZrzbK8.mjs";
3
+ import { Lt as parseLocationValue, Rt as projectPublicLocation, jt as decideLocationSourcePermission, zt as publicLocationSchema } from "./lucide-react-X0DjcFij.mjs";
4
+ import { A as applyPreviewRuntimeContentProjections, At as logger, Ct as arrangementHooksFromContent, D as usePreviewCompiledThemeOptional, Dt as buildLoadedOfferingsPreviewListing, Et as getDefaultComponentRegistry, Ft as defaultTransforms, Ht as buildThemeRuntime, It as resolveEntryRouteTarget, Lt as resolvePageRouteTarget, M as runtimeContentDecorationProjectionFromServerPage, N as mergeResolvedDataContext, Nt as coerceLinkedContentEntriesPayload, O as pageDesignRuntimeProjectionFromSource, Ot as buildAppointmentServicesView, P as withRenderedContentEntry, Rt as resolveRouteTarget, St as makeDefaultBlockComponent, Tt as readBlockComposition, Wt as mergeContentWithBlockStyleOverrides, j as entryFieldRebindingProjection, jt as Text$1, k as resolveRuntimePreviewSourceForTheme, kt as renderInlineText, r as PreviewChromeFloatingBar, rt as clientComponentRegistry, wt as blockLookFromContent, xn as defaultThemeTokens } from "./SiteChromeCustomizeButton-eU-zMftO.mjs";
5
5
  import { j as createStandardButtonSurfacePolicy } from "./ThemedButton-CKYjeU_M.mjs";
6
- import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-DsSqwrMS.mjs";
7
- import { f as useEditor } from "./previewChromeRoot-DPeV7KaP.mjs";
8
- import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-CBWYjBvQ.mjs";
6
+ import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, O as EditorCanvasChip, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-Dfi8Y3AI.mjs";
7
+ import { f as useEditor } from "./previewChromeRoot-C4gyNQXE.mjs";
8
+ import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-9eAon7Z8.mjs";
9
9
  import * as React$1 from "react";
10
10
  import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
11
11
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -3463,16 +3463,13 @@ const LinkedEntryEditFrame = ({ target, children }) => {
3463
3463
  className: "group/linked-entry-edit relative",
3464
3464
  "data-linked-entry-id": target.entryId,
3465
3465
  "data-linked-entry-type": target.contentTypeKey,
3466
- children: [children, /* @__PURE__ */ jsx("button", {
3467
- type: "button",
3468
- "aria-label": `Edit ${target.contentTypeLabel}: ${target.title}`,
3469
- className: "absolute right-2 top-2 z-20 rounded-full border border-white/80 bg-neutral-950/85 px-3 py-1 text-xs font-medium text-white opacity-0 shadow-sm transition focus:opacity-100 group-hover/linked-entry-edit:opacity-100",
3470
- onClick: (event) => {
3471
- event.preventDefault();
3472
- event.stopPropagation();
3473
- dispatchLinkedEntryEditEvent(target);
3474
- },
3475
- children: "Edit"
3466
+ children: [children, /* @__PURE__ */ jsx("div", {
3467
+ className: "absolute right-2 top-2 z-20 opacity-0 transition focus-within:opacity-100 group-hover/linked-entry-edit:opacity-100",
3468
+ children: /* @__PURE__ */ jsx(EditorCanvasChip, {
3469
+ label: `Edit ${target.contentTypeLabel}: ${target.title}`,
3470
+ onPress: () => dispatchLinkedEntryEditEvent(target),
3471
+ children: "Edit"
3472
+ })
3476
3473
  })]
3477
3474
  });
3478
3475
  };