@riverbankcms/sdk 0.163.0 → 0.165.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  10. package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
  11. package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
  12. package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
  13. package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
  14. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  15. package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
  16. package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
  17. package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
  48. package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
  49. package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
  68. package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
  74. package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +5 -4
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BV5xfaZH.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
  125. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  126. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  138. package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
  141. package/dist/preview-next/before-render.mjs +2 -2
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  143. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  144. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  145. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
  146. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
  149. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
  150. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
  151. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  152. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  153. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  154. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  157. package/dist/preview-next/keepAlive.mjs +3 -3
  158. package/dist/preview-next/middleware.mjs +2 -2
  159. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
  160. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  161. package/dist/preview-next/session.mjs +1 -1
  162. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
  163. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  164. package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
  168. package/dist/server/index.mjs +3 -3
  169. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
  170. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  171. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
  172. package/dist/server/next/middleware.mjs +1 -1
  173. package/dist/server/next/revalidate.mjs +1 -1
  174. package/dist/server/next.mjs +11 -11
  175. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  176. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
  177. package/dist/server/page-converter.mjs +1 -1
  178. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
  181. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
  182. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
  183. package/dist/server/rendering/server.mjs +4 -4
  184. package/dist/server/rendering.mjs +8 -8
  185. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  186. package/dist/server/routing.mjs +1 -1
  187. package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
  190. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
  191. package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
  192. package/dist/server/theme-bridge.mjs +1 -1
  193. package/dist/server/theme.mjs +1 -1
  194. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
  195. package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
  196. package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
  197. package/dist/styles/index.css +1173 -72
  198. package/package.json +2 -3
  199. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  200. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  201. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  202. package/dist/client/src-BNZzXgWu.mjs +0 -102
  203. package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
  204. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,5 +1,5 @@
1
- import { $ as logoSizePolicyValues, Ft as asBlockOrderIndex, Gn as surfaceToneFromForegroundToken, K as cardRoleSchema, Kn as resolveSurfaceForeground, Lt as asDesignBlockId, Mn as gradientScrimSamples, Mr as themeColorShadeSteps, Nn as scrimTone, Pt as asBlockContentVersionId, Q as brandDisplayModeValues, Ut as asSiteStyleId, Vt as asLayoutVariantKey, Wt as assertNever, X as headerInteractionPaletteValues, _t as runtimeBoxBackgroundSchema, an as plainFrame, jr as parseThemeColorToken, n as headerPositioningValues, pn as parseEditorSessionGeneration, tr as resolveConcreteColorHex, zt as asDesignPageId } from "./schema-DgrigZq9.mjs";
2
- import { F as pageDesignDecisionsV2Schema, N as bookingPageLookIdValues, O as generatedDesignOptionCatalog, P as parseBookingPageLookId, R as boundaryRuntimeMetricsForDecorativeTransition, S as offeredSiteStyles, c as headerNavTypographyPreferenceValues, o as defaultHeaderNavPreferences, s as headerNavFontSizePreferenceValues, x as curatedSiteStyleIdValues } from "./effectiveNavLinkStyle-DLzJPcDL.mjs";
1
+ import { $ as logoSizePolicyValues, Bt as asDesignPageId, Ft as asBlockContentVersionId, Gt as assertNever, Ht as asLayoutVariantKey, It as asBlockOrderIndex, K as cardRoleSchema, Kn as surfaceToneFromForegroundToken, Mr as parseThemeColorToken, Nn as gradientScrimSamples, Nr as themeColorShadeSteps, Pn as scrimTone, Q as brandDisplayModeValues, Rt as asDesignBlockId, Ut as asPageFlowPresetId, Wt as asSiteStyleId, X as headerInteractionPaletteValues, _t as runtimeBoxBackgroundSchema, mn as parseEditorSessionGeneration, n as headerPositioningValues, nr as resolveConcreteColorHex, on as plainFrame, qn as resolveSurfaceForeground } from "./schema-uSA_x1Zh.mjs";
2
+ import { A as generatedDesignOptionCatalog, C as curatedSiteStyleIdValues, F as bookingPageLookIdValues, G as softBoundaryOption, I as parseBookingPageLookId, K as spaciousBoundaryOption, L as pageDesignDecisionsV2Schema, U as boundaryRuntimeMetricsForDecorativeTransition, V as sectionShapeFromContent, W as noneBoundaryOption, c as headerNavFontSizePreferenceValues, f as arrangementAppearancePresets, l as headerNavTypographyPreferenceValues, s as defaultHeaderNavPreferences, w as offeredSiteStyles } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
3
3
  import { z } from "zod";
4
4
  //#region ../theme-core/src/site-styles/blockFlow.ts
5
5
  function defineBlockDesignMetadata(input) {
@@ -63,23 +63,21 @@ function uniqueStrings(values) {
63
63
  //#endregion
64
64
  //#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
65
65
  function parseCanonicalRuntimeBackground(content) {
66
- const background = readRecord(readRecord(content._sectionStyles)?.background);
66
+ const background = readRecord$1(readRecord$1(content._sectionStyles)?.background);
67
67
  if (!background) return { kind: "none" };
68
68
  const parsed = runtimeBoxBackgroundSchema.safeParse(background);
69
69
  if (!parsed.success) return { kind: "none" };
70
- const painted = applyLookPhotoTreatment(content, parsed.data);
71
- return painted.contentOwner === "page-design-editor" ? {
70
+ return parsed.data.contentOwner === "page-design-editor" ? {
72
71
  kind: "page-design-override",
73
- background: painted
72
+ background: parsed.data
74
73
  } : {
75
74
  kind: "block-authored",
76
- background: painted
75
+ background: parsed.data
77
76
  };
78
77
  }
79
78
  /** The Look owns shading and ink together; authored image/crop stay intact. */
80
- function applyLookPhotoTreatment(content, background) {
81
- const structure = readRecord(readRecord(readRecord(content._effectiveLook)?.look)?.structure);
82
- if (background.type !== "image" || structure?.photoTreatment !== "text-overlay") return background;
79
+ function applyLookPhotoTreatment(background, treatment) {
80
+ if (background.type !== "image" || treatment !== "text-overlay") return background;
83
81
  return {
84
82
  ...background,
85
83
  overlay: {
@@ -144,16 +142,6 @@ function sectionForegroundBackground(resolved, palette) {
144
142
  "supporting"
145
143
  ].every((role) => original.roles[role] === measured.roles[role]) ? resolved.background : resolved.ground;
146
144
  }
147
- /** One photo-placement decision for legacy and arrangement hero renderers. */
148
- function heroPhotoPaintsGround(variant) {
149
- return ![
150
- "split",
151
- "splitReverse",
152
- "headline-row",
153
- "copy-over-gallery",
154
- "page-head"
155
- ].includes(variant ?? "classic");
156
- }
157
145
  function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
158
146
  const paintsBand = lookDefault.type === "color" || lookDefault.type === "gradient";
159
147
  const lookScrim = paintsBand ? lookDefault.mediaScrim : void 0;
@@ -169,7 +157,7 @@ function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
169
157
  });
170
158
  return merged.success ? merged.data : authored;
171
159
  }
172
- function readRecord(value) {
160
+ function readRecord$1(value) {
173
161
  return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
174
162
  }
175
163
  function heroPhotoIsContent(source, photo, hasArrangementGround) {
@@ -284,14 +272,15 @@ function boundaryEndpointForSectionContent(content) {
284
272
  }
285
273
  }
286
274
  /**
287
- * Reads both facts from final render content in one place. `_frameStyles` is
275
+ * Reads every fact from final render content in one place. `_frameStyles` is
288
276
  * the compiled frame; content without one (no page design, an SDK block)
289
277
  * draws a plain frame.
290
278
  */
291
279
  function sectionFactsForContent(content) {
292
280
  return {
293
281
  endpoint: boundaryEndpointForSectionContent(content),
294
- frame: frameKindForContent(content)
282
+ frame: frameKindForContent(content),
283
+ shape: sectionShapeFromContent(content)
295
284
  };
296
285
  }
297
286
  function frameKindForContent(content) {
@@ -308,11 +297,18 @@ function frameNotShownReason(previous, next) {
308
297
  return previous === "flush-panel" || next === "flush-panel" ? "flush-panel" : null;
309
298
  }
310
299
  /**
311
- * Decides whether and how a join draws. The frame rule wins before paint is
312
- * considered; two unpainted sides show nothing.
300
+ * A field sits in from the page edge with page ground around it, so a break
301
+ * drawn across its edge would have nothing to join (issue 1659).
302
+ */
303
+ function shapeNotShownReason(previous, next) {
304
+ return previous === "field" || next === "field" ? "field" : null;
305
+ }
306
+ /**
307
+ * Decides whether and how a join draws. The frame and shape rules win before
308
+ * paint is considered; two unpainted sides show nothing.
313
309
  */
314
310
  function composeBoundary(previous, next) {
315
- const frameReason = frameNotShownReason(previous.frame, next.frame);
311
+ const frameReason = frameNotShownReason(previous.frame, next.frame) ?? shapeNotShownReason(previous.shape, next.shape);
316
312
  if (frameReason) return {
317
313
  kind: "not-shown",
318
314
  reason: frameReason
@@ -430,6 +426,16 @@ const defaultHeaderBrandPreferences = {
430
426
  brandDisplay: "auto",
431
427
  logoSize: "auto"
432
428
  };
429
+ asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
430
+ //#endregion
431
+ //#region ../theme-core/src/site-styles/sectionPhoto.ts
432
+ /** The photo a section keeps, wherever its background `type` points. */
433
+ function storedSectionPhoto(content) {
434
+ return readRecord(readRecord(readRecord(content._sectionStyles)?.background)?.image);
435
+ }
436
+ function readRecord(value) {
437
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
438
+ }
433
439
  //#endregion
434
440
  //#region ../theme-core/src/site-styles/resolver.ts
435
441
  const blockDesignFallback = {
@@ -667,6 +673,24 @@ function collectBlockSequenceIssues(snapshots) {
667
673
  });
668
674
  }
669
675
  //#endregion
676
+ //#region ../theme-core/src/site-styles/sectionPhotoGround.ts
677
+ /**
678
+ * How the Looks built on an arrangement use the photo. Looks that share an
679
+ * arrangement render the same tree, so they agree (a catalogue test holds
680
+ * them to it). Null for keys no arrangement Look uses.
681
+ */
682
+ function arrangementPhotoUse(blockKind, arrangementKey) {
683
+ return arrangementAppearancePresets.find((entry) => entry.blockKinds.some((kind) => kind === blockKind) && Object.values(entry.structure.byMode).includes(arrangementKey))?.structure.photoUse ?? null;
684
+ }
685
+ /** Older hero layouts no arrangement Look is built on, which show the photo beside the text. */
686
+ const recipeOnlyHeroLayoutsWithPhotoBeside = ["splitReverse"];
687
+ /** One photo-placement decision for the hero's renderers: does the photo paint the section ground? */
688
+ function heroPhotoPaintsGround(variant) {
689
+ const key = variant ?? "classic";
690
+ const use = arrangementPhotoUse("block.hero", key);
691
+ return use === null ? !recipeOnlyHeroLayoutsWithPhotoBeside.includes(key) : use === "behind";
692
+ }
693
+ //#endregion
670
694
  //#region ../theme-core/src/site-styles/tokenRecipes.ts
671
695
  const themeTokenRecipeOptions = {
672
696
  palette: [
@@ -743,16 +767,6 @@ z.union([z.nullish(z.never()).transform(() => ({ kind: "automatic" })), pageDesi
743
767
  const value = issue.input;
744
768
  return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 2 ? "Unsupported page design decisions schemaVersion." : "Invalid page design decisions shape.";
745
769
  } });
746
- bookingPageLookIdValues.map((value) => {
747
- const id = parseBookingPageLookId(value);
748
- if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
749
- const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
750
- if (!style) throw new Error(`Booking look is not offered: ${value}`);
751
- return {
752
- ...style,
753
- id
754
- };
755
- });
756
770
  [...[
757
771
  165,
758
772
  150,
@@ -765,5 +779,15 @@ bookingPageLookIdValues.map((value) => {
765
779
  45,
766
780
  30
767
781
  ].flatMap((o) => [o, -o])];
782
+ bookingPageLookIdValues.map((value) => {
783
+ const id = parseBookingPageLookId(value);
784
+ if (!id) throw new Error(`Invalid booking look catalogue entry: ${value}`);
785
+ const style = offeredSiteStyles({ audience: "booking-page" }).find((candidate) => candidate.id === id);
786
+ if (!style) throw new Error(`Booking look is not offered: ${value}`);
787
+ return {
788
+ ...style,
789
+ id
790
+ };
791
+ });
768
792
  //#endregion
769
- export { heroPhotoPaintsGround as a, sectionForegroundBackground as c, deriveSectionGround as i, defineBlockDesignMetadata as l, composeBoundary as n, parseCanonicalRuntimeBackground as o, sectionFactsForContent as r, resolveSectionBackground as s, boundaryLayout as t };
793
+ export { sectionFactsForContent as a, parseCanonicalRuntimeBackground as c, defineBlockDesignMetadata as d, composeBoundary as i, resolveSectionBackground as l, storedSectionPhoto as n, applyLookPhotoTreatment as o, boundaryLayout as r, deriveSectionGround as s, heroPhotoPaintsGround as t, sectionForegroundBackground as u };
@@ -1,5 +1,5 @@
1
- import { Jn as surfaceInkPublication, Kn as resolveSurfaceForeground, Or as rgbColorValue, Sr as surfaceInkDeclarations, W as renderCssDeclarations, Wt as assertNever, Xn as expandPalette, _r as surfaceForegroundDeclarations, a as generateMobileOverlayBackdropFilterFix, br as surfaceForegroundValue, h as getComponentShadowVar, i as generateHeaderScrollTreatmentStyles, l as MQ_MD_DOWN, lr as TokenResolver, m as getComponentBorderWidthPx, o as getHeaderPaintTargets, s as renderHeaderPaintTargetRules, vr as surfaceForegroundInputFromResolved, yt as siteChromeBackgroundOverrideOwner } from "./schema-DgrigZq9.mjs";
2
- import { I as headerNeedsPhotoShade, L as headerRootPaint, M as generateNavLinkCSS, j as buildTextContrastShadow, l as mergeHeaderNavTypographyPreference, t as effectiveHeaderNavLinkStyle, u as readHeaderNavFontSizePreference } from "./effectiveNavLinkStyle-DLzJPcDL.mjs";
1
+ import { Cr as surfaceInkDeclarations, Gt as assertNever, W as renderCssDeclarations, Yn as surfaceInkPublication, Zn as expandPalette, a as generateMobileOverlayBackdropFilterFix, h as getComponentShadowVar, i as generateHeaderScrollTreatmentStyles, kr as rgbColorValue, l as MQ_MD_DOWN, m as getComponentBorderWidthPx, o as getHeaderPaintTargets, qn as resolveSurfaceForeground, s as renderHeaderPaintTargetRules, ur as TokenResolver, vr as surfaceForegroundDeclarations, xr as surfaceForegroundValue, yr as surfaceForegroundInputFromResolved, yt as siteChromeBackgroundOverrideOwner } from "./schema-uSA_x1Zh.mjs";
2
+ import { N as buildTextContrastShadow, P as generateNavLinkCSS, R as headerNeedsPhotoShade, d as readHeaderNavFontSizePreference, o as readOpeningToneProjection, t as effectiveHeaderNavLinkStyle, u as mergeHeaderNavTypographyPreference, z as headerRootPaint } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
3
3
  //#region ../theme-core/src/responsive/mediaQuery.ts
4
4
  /**
5
5
  * Convert familiar viewport media queries to container queries when safe.
@@ -256,10 +256,9 @@ function generateHeaderCss(options) {
256
256
  }));
257
257
  cssChunks.push(generateLogoTextBehaviorStyles(header.logoText, themeId));
258
258
  cssChunks.push(generateHeaderNavLinkStyles(header, themeId, tokens, theme, headerContrastTreatment, headerNavTextSize));
259
- const menuHeader = contextualDropdownHeader(header);
260
- const dropdown = resolveDropdownSurface(menuHeader, theme, tokens, solvedInks);
261
- cssChunks.push(generateDropdownContainerStyles(menuHeader, themeId, tokens, dropdown));
262
- cssChunks.push(generateDropdownLinkStyles(menuHeader, themeId, tokens, theme, dropdown));
259
+ const dropdown = resolveDropdownSurface(header, theme, tokens, solvedInks);
260
+ cssChunks.push(generateDropdownContainerStyles(themeId, tokens, dropdown));
261
+ cssChunks.push(generateDropdownLinkStyles(header, themeId, tokens, theme, dropdown));
263
262
  cssChunks.push(generateDropdownCaretStyles(themeId));
264
263
  cssChunks.push(generateDropdownTriggerOverrides(header, themeId));
265
264
  cssChunks.push(generateMobilePanelStyles(themeId, dropdown));
@@ -353,10 +352,10 @@ function generateLogoTextBehaviorStyles(logoText, themeId) {
353
352
  /**
354
353
  * Generate dropdown menu container styles
355
354
  */
356
- function generateDropdownContainerStyles(header, themeId, tokens, surface) {
355
+ function generateDropdownContainerStyles(themeId, tokens, surface) {
357
356
  const selector = `:where([data-theme-scope="${themeId}"]) .nav-dropdown-menu`;
358
357
  const rules = [];
359
- const dropdownStyle = header.dropdownStyle;
358
+ const dropdownStyle = surface.style;
360
359
  rules.push(...NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES);
361
360
  rules.push(`background-color: ${surface.backgroundColor};`);
362
361
  rules.push(...surface.foregroundDeclarations);
@@ -388,8 +387,9 @@ function dropdownLinkEffects(style, textToken, opacity) {
388
387
  options: { hoverColorToken: style.hoverTextColor }
389
388
  }] : []];
390
389
  }
391
- function dropdownNavLinkStyle(header, textToken) {
392
- const style = header.dropdownStyle;
390
+ function dropdownNavLinkStyle(header, surface) {
391
+ const style = surface.style;
392
+ const textToken = surface.textToken;
393
393
  return {
394
394
  name: "Dropdown",
395
395
  typography: "body",
@@ -425,9 +425,9 @@ function generateDropdownLinkStyles(header, themeId, tokens, theme, surface) {
425
425
  themeId,
426
426
  tokens,
427
427
  theme,
428
- style: dropdownNavLinkStyle(header, surface.textToken),
428
+ style: dropdownNavLinkStyle(header, surface),
429
429
  className: "nav-dropdown-link"
430
- }) + `\n${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-link`} {\n ${dropdownTypographyRules(header.dropdownStyle).join("\n ")}\n}\n`;
430
+ }) + `\n${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-link`} {\n ${dropdownTypographyRules(surface.style).join("\n ")}\n}\n`;
431
431
  }
432
432
  function generateDropdownCaretStyles(themeId) {
433
433
  return `
@@ -456,37 +456,32 @@ ${`:where([data-theme-scope="${themeId}"]) .nav-dropdown-trigger.header-nav-link
456
456
  `.trim();
457
457
  }
458
458
  /** Reuse the header's decided opening tone; unknown openings retain opaque paint. */
459
- function contextualDropdownHeader(header) {
459
+ function contextualDropdownStyle(header) {
460
460
  const style = header.dropdownStyle;
461
461
  const treatment = style?.surfaceTreatment;
462
- if (!style || treatment?.kind !== "frosted" || treatment.tone !== "opening") return header;
463
- const opening = header.scrollTreatment;
464
- if (!opening) return {
465
- ...header,
466
- dropdownStyle: {
467
- ...style,
468
- surfaceTreatment: { kind: "solid" }
469
- }
462
+ if (!style || treatment?.kind !== "frosted" || treatment.tone !== "opening") return style;
463
+ const tone = readOpeningToneProjection(header);
464
+ if (!tone) return {
465
+ ...style,
466
+ surfaceTreatment: { kind: "solid" }
470
467
  };
471
- const dark = opening.backgroundTone === "dark";
472
- const textColor = dark ? "neutral-50" : "neutral-950";
468
+ const textColor = tone === "dark" ? "neutral-50" : "neutral-950";
473
469
  return {
474
- ...header,
475
- dropdownStyle: {
476
- ...style,
477
- background: dark ? "neutral-950" : "neutral-50",
478
- textColor,
479
- hoverBackground: textColor,
480
- borderColor: null
481
- }
470
+ ...style,
471
+ background: tone === "dark" ? "neutral-950" : "neutral-50",
472
+ textColor,
473
+ hoverBackground: textColor,
474
+ borderColor: null
482
475
  };
483
476
  }
484
- function dropdownTextCandidate(header) {
485
- return header.dropdownStyle?.textColor ?? ((header.navColor ?? header.textColor)?.trim() || "text");
477
+ /** Menu text wins; only an absent preference falls back to the header's ink. */
478
+ function dropdownTextCandidate(style, header) {
479
+ return style?.textColor ?? ((header.navColor ?? header.textColor)?.trim() || "text");
486
480
  }
487
481
  function resolveDropdownSurface(header, theme, tokens, solvedInks) {
488
- const backgroundToken = header.dropdownStyle?.background ?? "surface";
489
- const candidate = dropdownTextCandidate(header);
482
+ const style = contextualDropdownStyle(header);
483
+ const backgroundToken = style?.background ?? "surface";
484
+ const candidate = dropdownTextCandidate(style, header);
490
485
  const foreground = resolveSurfaceForeground({
491
486
  type: "color",
492
487
  color: backgroundToken,
@@ -496,7 +491,8 @@ function resolveDropdownSurface(header, theme, tokens, solvedInks) {
496
491
  backgroundColor: tokens.getColor(backgroundToken),
497
492
  textToken: foreground.kind === "known" ? foreground.roles.text : candidate,
498
493
  foregroundDeclarations: [...foreground.kind === "known" ? surfaceForegroundDeclarations(surfaceForegroundInputFromResolved(foreground, (token) => tokens.getColor(token))) : [`color: ${tokens.getColor(candidate)};`], ...surfaceInkDeclarations(surfaceInkPublication(foreground, solvedInks))],
499
- treatment: header.dropdownStyle?.surfaceTreatment
494
+ treatment: style?.surfaceTreatment,
495
+ style
500
496
  };
501
497
  }
502
498
  /** Solid paint is the fallback. Blur is enhancement, never the readability mechanism. */