@riverbankcms/sdk 0.169.1 → 0.171.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 (227) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-DEhlJEwj.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
  3. package/dist/_dts/{Page-BhCfStX1.d.ts → Page-4fzXy8H9.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-DSYdsdmJ.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
  5. package/dist/_dts/{client-BZMn4Y99.d.ts → client-BPoU758C.d.ts} +32 -1
  6. package/dist/_dts/{content-types-EMK-E_r9.d.ts → content-types-TnkhoSls.d.ts} +3 -3
  7. package/dist/_dts/{contracts-DjYsGY3B.d.ts → contracts-7wrMA79U.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BtYUi-m0.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-D_fNTi5r.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
  10. package/dist/_dts/{index-NaRauKDR.d.ts → index-585vn6qb.d.ts} +72 -36
  11. package/dist/_dts/{index-BR0i0c3G.d.ts → index-CZKSUcDs.d.ts} +4 -4
  12. package/dist/_dts/{index-BV-qVnt7.d.ts → index-Cbw0IiY7.d.ts} +2 -2
  13. package/dist/_dts/{index-DgEwZ5WQ.d.ts → index-ChNbrcgD.d.ts} +1 -1
  14. package/dist/_dts/{index-QIbYMeI7.d.ts → index-DDKJfaLY.d.ts} +2 -2
  15. package/dist/_dts/{index-BzguBJzR.d.ts → index-DNCDENic.d.ts} +1 -1
  16. package/dist/_dts/{index-BYYhTQ_b.d.ts → index-W9R3Bnf2.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-BmGH6NKl.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
  18. package/dist/_dts/{request-DssgRQSm.d.ts → request-jXTRN1Y4.d.ts} +45927 -42247
  19. package/dist/_dts/{resolveBlockData-5BqNxwL8.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-DIuwuFA7.d.ts → resolvePageContent-BBgih00D.d.ts} +2 -2
  21. package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +4 -4
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +4740 -3
  55. package/dist/_dts/{types-cObpvZGF.d.ts → types-BXuVxDYo.d.ts} +2 -2
  56. package/dist/_dts/{types-DrAWDtqR.d.ts → types-DEAKoDNi.d.ts} +3 -3
  57. package/dist/_dts/{types-Z388-GR1.d.ts → types-kWvBwYK6.d.ts} +7 -7
  58. package/dist/_dts/{validation-hLr8zVrc.d.ts → validation-BAO0_ntM.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-CN2GyuuA.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-DSnSBNeq.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-ucgdMS35.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-BEdfJGpx.mjs → EventCombined.client-DXD5i0Ar.mjs} +8 -8
  68. package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
  69. package/dist/client/{EventItem-OpLehMpT.mjs → EventItem-BnwcoFQN.mjs} +13 -9
  70. package/dist/client/{EventListWeekNavigation-DTsVU6gc.mjs → EventListWeekNavigation-DuG6z02f.mjs} +2 -1
  71. package/dist/client/{EventListing.client-8MFGI9BA.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
  72. package/dist/client/{EventListing.view-BCvRqU86.mjs → EventListing.view-BM7rTVSL.mjs} +42 -397
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.mjs} +13 -13
  74. package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
  75. package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
  76. package/dist/client/Page-DH2sm4Cf.mjs +30247 -0
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-CsRlU46Y.mjs +894 -0
  79. package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
  80. package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
  81. package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-Bbn1-jJ8.mjs} +52 -2
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.mjs} +2 -2
  88. package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
  89. package/dist/client/{cart-B-M5l__W.mjs → cart-BozMM5NK.mjs} +3 -3
  90. package/dist/client/{cart.client-COAP4CEy.mjs → cart.client-CqOOxPbW.mjs} +1 -1
  91. package/dist/client/{checkout-ZHc8GfaG.mjs → checkout-CTWF5nbB.mjs} +3 -3
  92. package/dist/client/{checkout.client-DRralR3e.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
  94. package/dist/client/client.mjs +640 -226
  95. package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
  96. package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
  97. package/dist/client/{cta-CfuyGqXL.mjs → cta-pzQkBLgS.mjs} +2 -2
  98. package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
  100. package/dist/client/{display-DDNmyb0z.mjs → display-Cl6mgSJa.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
  104. package/dist/client/{eventCalendar-BY3AfYkK.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
  105. package/dist/client/{eventCombined-86P2vQCb.mjs → eventCombined-dELKxxIe.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
  107. package/dist/client/{eventListing-8jS0qGGC.mjs → eventListing-B2HTUWLq.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
  109. package/dist/client/form-DX70QG-J.mjs +27 -0
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.mjs} +3 -3
  112. package/dist/client/formSnapshot-Cy4abc0T.mjs +73 -0
  113. package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
  114. package/dist/client/gifting/client.mjs +3 -3
  115. package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJuPX_1K.mjs} +2 -2
  116. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
  117. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
  118. package/dist/client/{newsletterForm-o5wFBVHv.mjs → newsletterForm-D1MHoPbh.mjs} +5 -26
  119. package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
  120. package/dist/client/portal/client.mjs +294 -48
  121. package/dist/client/{product-detail.client-5hNA8aKU.mjs → product-detail.client-DOQ7El1d.mjs} +1 -1
  122. package/dist/client/{product-list.client-c-777ohj.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
  123. package/dist/client/{productDetail-hXttfQhE.mjs → productDetail-BN3zv5sa.mjs} +3 -3
  124. package/dist/client/{productList-BPsYP_jA.mjs → productList-GN_Id4bF.mjs} +3 -3
  125. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
  126. package/dist/client/{registry.server-CMrdUGGv.mjs → registry.server-BOyra8CA.mjs} +1032 -925
  127. package/dist/client/rendering/client.mjs +57 -32
  128. package/dist/client/rendering/islandDelivery.flight.mjs +43 -10
  129. package/dist/client/rendering/islands.mjs +1 -1
  130. package/dist/client/rendering.mjs +1956 -191
  131. package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
  132. package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-DnaJ8PQc.mjs} +1 -1
  133. package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
  135. package/dist/client/{shop-Ds47onRS.mjs → shop-LjBLDBqF.mjs} +3 -3
  136. package/dist/client/{shop-commerce-B3PyRHaN.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
  137. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
  138. package/dist/client/{shop.client-RljK0qPB.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
  139. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
  140. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
  141. package/dist/client/spam-protection.mjs +1 -1
  142. package/dist/client/{timetableModel-BG7Ejxdr.mjs → timetableModel-D1jDTbms.mjs} +11 -11
  143. package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
  144. package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
  145. package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-CHGYDxdM.mjs} +2 -2
  146. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
  147. package/dist/client/{useEventPagination-spj7sGQP.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
  148. package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
  149. package/dist/client/{view-aAP2WbCR.mjs → view-ShYH3WXh.mjs} +3 -3
  150. package/dist/preview-next/before-render.mjs +33 -13
  151. package/dist/preview-next/chrome.css +4 -0
  152. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
  153. package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-lW2aLGWd.mjs} +1 -1
  154. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
  155. package/dist/preview-next/client/{ArrangementLookControls-CoWdilcI.mjs → PageSectionToolbar-DsSqwrMS.mjs} +397 -23
  156. package/dist/preview-next/client/{PreviewEditorSidebar-BNCrO6PQ.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3266 -3215
  157. package/dist/preview-next/client/{PreviewEditorUI-inVZkLCd.mjs → PreviewEditorUI-C86Out4V.mjs} +6 -39
  158. package/dist/preview-next/client/{PreviewShell-CFQlAHTe.mjs → PreviewShell-CBWYjBvQ.mjs} +50 -41
  159. package/dist/preview-next/client/{SdkPreviewModeRuntime-Dgl7ktO4.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
  160. package/dist/preview-next/client/{SiteChromeCustomizeButton-DgDYHwkG.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1249 -22697
  161. package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
  162. package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-DygTyy7K.mjs} +1 -1
  163. package/dist/preview-next/client/{previewAssistantSlot-DRDu7Ndv.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3481 -2113
  164. package/dist/preview-next/client/{previewChromeSurface-K6Q5uEMC.mjs → previewChromeRoot-DPeV7KaP.mjs} +52 -14
  165. package/dist/preview-next/client/runtime.mjs +3 -3
  166. package/dist/preview-next/client/{sdk-runtime-AGypzhcO.mjs → sdk-runtime-zTTFZ4MM.mjs} +2 -2
  167. package/dist/preview-next/client/{useAutosaveStatus-B2mn_l6c.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
  168. package/dist/preview-next/client/{useBlockCustomizeControls-CBXHo6ph.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +40 -21
  169. package/dist/preview-next/container-responsive.css +3093 -0
  170. package/dist/preview-next/editor-base.css +90 -178
  171. package/dist/preview-next/editor-chrome.css +25 -8
  172. package/dist/preview-next/keepAlive.mjs +1 -1
  173. package/dist/preview-next/middleware.mjs +1 -1
  174. package/dist/preview-next/{route-contract-jc2Bug-h.mjs → route-contract-CtSgU8UZ.mjs} +547 -196
  175. package/dist/server/{Block.shared-BHgQjX16.mjs → Block.shared-ifgaBglp.mjs} +4 -4
  176. package/dist/server/ThemeScopeCore-DGDOH6OU.mjs +1983 -0
  177. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
  178. package/dist/server/bindings-CiYpie1M.mjs +1802 -0
  179. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  180. package/dist/server/{client-C-asG6Cf.mjs → client-ngWuFsmN.mjs} +638 -224
  181. package/dist/server/config-template-validation.mjs +30 -4
  182. package/dist/server/config-validation.mjs +1 -1
  183. package/dist/server/config.mjs +3 -34
  184. package/dist/server/data/resolveBlockData.mjs +1 -1
  185. package/dist/server/index.mjs +3 -3
  186. package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
  187. package/dist/server/{loadPage-XgtQR90Z.mjs → loadPage-D4J747FQ.mjs} +2 -2
  188. package/dist/server/manifest.mjs +1 -1
  189. package/dist/server/next.mjs +8 -6
  190. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
  191. package/dist/server/{overrideResolution-Z5pwH-kz.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
  192. package/dist/server/page-converter.mjs +3 -3
  193. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  194. package/dist/server/{pageRenderPlan-DQAo35og.mjs → pageRenderPlan-DFv3h4Ib.mjs} +309 -289
  195. package/dist/server/{pageRuntimeSupport-g-K-FCHa.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
  196. package/dist/server/{pageShared-7mPhqqXX.mjs → pageShared-CAZD0LcY.mjs} +875 -328
  197. package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
  198. package/dist/server/{prebuild-C0m4KOT9.mjs → prebuild-BKOCND3b.mjs} +1 -1
  199. package/dist/server/prebuild.mjs +1 -1
  200. package/dist/server/{prefetchBlockData-DcLKHfHG.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
  201. package/dist/server/{registry-7_0_lUrh.mjs → registry-BogXzcOD.mjs} +4015 -2009
  202. package/dist/server/rendering/components/pageShared.mjs +1 -1
  203. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  204. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  205. package/dist/server/rendering/server.mjs +3 -3
  206. package/dist/server/rendering.mjs +7 -7
  207. package/dist/server/{resolveBlockData-q3WnpvyZ.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
  208. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
  209. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  210. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  211. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/theme-bridge.mjs +2 -2
  214. package/dist/server/theme.mjs +2 -1
  215. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  216. package/dist/server/{validation-CSMS6XmP.mjs → validation-vSBCWU3w.mjs} +9 -9
  217. package/dist/server/{version-DWeqmTXc.mjs → version-Cw5vFmUY.mjs} +1 -1
  218. package/dist/styles/index.css +521 -59
  219. package/package.json +1 -1
  220. package/dist/client/Page-Bu5TJU3L.mjs +0 -52239
  221. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  222. package/dist/client/form-RTqunrpz.mjs +0 -85
  223. package/dist/preview-next/client/useOpenBlockForSetup-BpZnBznt.mjs +0 -28
  224. package/dist/server/ThemeScopeCore-Ck0dhZA6.mjs +0 -24236
  225. package/dist/server/bindings-CAbTvrCZ.mjs +0 -257
  226. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  227. package/dist/server/loadContent-DKerbSnI.mjs +0 -578
@@ -0,0 +1,369 @@
1
+ "use client";
2
+ import { Ho as itemRoleValues, Io as boxBackgroundOverlaySchema, Lo as boxBackgroundSchema, Ro as runtimeBoxBackgroundSchema, Uo as openCardRoleValue, Vo as cardVariantRoleValues, zo as boxlessCardVariantValue } from "./display-Cl6mgSJa.mjs";
3
+ import { z } from "zod";
4
+ z.enum(itemRoleValues);
5
+ z.enum(cardVariantRoleValues);
6
+ function isCardVariantRole(value) {
7
+ return typeof value === "string" && cardVariantRoleValues.includes(value);
8
+ }
9
+ function normalizeCardVariantRole(value) {
10
+ return isCardVariantRole(value) ? value : null;
11
+ }
12
+ /** The one untrusted-input boundary for the closed role vocabulary. */
13
+ function normalizeCardRole(value) {
14
+ if (value === "none") return boxlessCardVariantValue;
15
+ if (value === "open") return openCardRoleValue;
16
+ return normalizeCardVariantRole(value);
17
+ }
18
+ //#endregion
19
+ //#region ../blocks/src/system/transforms/registry/core.ts
20
+ /**
21
+ * Safely narrows unknown values to partial object shapes used by transforms.
22
+ * Arrays are intentionally excluded.
23
+ */
24
+ function asPartialObject(value) {
25
+ if (typeof value !== "object" || value === null || Array.isArray(value)) return;
26
+ return value;
27
+ }
28
+ function runTransforms(value, transforms, context, registry) {
29
+ if (!transforms?.length) return value;
30
+ return transforms.reduce((acc, step) => {
31
+ const transform = registry.get(step.id);
32
+ if (!transform) throw new Error(`Unknown transform: ${step.id}`);
33
+ const options = transform.schema ? z.parse(transform.schema, step.options ?? {}) : step.options ?? {};
34
+ return transform.run(acc, options, context);
35
+ }, value);
36
+ }
37
+ function createTransformRegistry(definitions) {
38
+ const registry = /* @__PURE__ */ new Map();
39
+ for (const definition of definitions) {
40
+ if (registry.has(definition.id)) continue;
41
+ registry.set(definition.id, definition);
42
+ }
43
+ return registry;
44
+ }
45
+ //#endregion
46
+ //#region ../blocks/src/system/spacing.ts
47
+ /**
48
+ * Type-safe spacing system for sections and containers.
49
+ *
50
+ * This module provides:
51
+ * - Semantic spacing values (none, compact, cozy, medium, comfortable, spacious)
52
+ * - Type-safe mappings to CSS class tokens
53
+ * - Runtime validation via type guards
54
+ * - Separate handling for section (vertical) vs container (all-sides) spacing
55
+ *
56
+ * Type Safety Guarantees:
57
+ * - Type is derived from data (single source of truth)
58
+ * - Maps are validated for completeness at compile time
59
+ * - Runtime validation available via isSemanticSpacing()
60
+ */
61
+ /**
62
+ * Single source of truth for semantic spacing values.
63
+ * The SemanticSpacing type is derived from this array to ensure they stay in sync.
64
+ *
65
+ * Adding a new spacing value:
66
+ * 1. Add it to this array
67
+ * 2. TypeScript will error until you update both spacing maps
68
+ * 3. No way to get out of sync
69
+ */
70
+ const SEMANTIC_SPACING_VALUES = [
71
+ "none",
72
+ "compact",
73
+ "cozy",
74
+ "medium",
75
+ "comfortable",
76
+ "spacious"
77
+ ];
78
+ const SECTION_MIN_HEIGHT_VALUES = [
79
+ "none",
80
+ "banner",
81
+ "hero",
82
+ "immersive"
83
+ ];
84
+ /**
85
+ * Runtime type guard for validating spacing values.
86
+ * Use this at system boundaries where data enters from external sources.
87
+ *
88
+ * @param value - Unknown value to validate
89
+ * @returns true if value is a valid SemanticSpacing, with type narrowing
90
+ *
91
+ * @example
92
+ * const userInput = 'medium';
93
+ * if (isSemanticSpacing(userInput)) {
94
+ * // TypeScript knows userInput is SemanticSpacing here
95
+ * const classes = resolveSpacing(userInput, 'y');
96
+ * }
97
+ */
98
+ function isSemanticSpacing(value) {
99
+ return typeof value === "string" && SEMANTIC_SPACING_VALUES.includes(value);
100
+ }
101
+ function isSectionMinHeight(value) {
102
+ return typeof value === "string" && SECTION_MIN_HEIGHT_VALUES.includes(value);
103
+ }
104
+ /**
105
+ * Type-safe mapping from semantic spacing to CSS classes for sections (y-axis).
106
+ *
107
+ * Sections use vertical padding only to control spacing between blocks.
108
+ * Horizontal padding (px-6) is handled separately via baseClass.
109
+ *
110
+ * The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
111
+ * TypeScript will error if any spacing value is missing or if extra keys exist.
112
+ */
113
+ const SECTION_SPACING_MAP = {
114
+ none: "rb-section-pad-none",
115
+ compact: "rb-section-pad-compact",
116
+ cozy: "rb-section-pad-cozy",
117
+ medium: "rb-section-pad-medium",
118
+ comfortable: "rb-section-pad-comfortable",
119
+ spacious: "rb-section-pad-spacious"
120
+ };
121
+ /**
122
+ * Type-safe mapping from semantic spacing to CSS classes for containers (all sides).
123
+ *
124
+ * Containers use padding on all sides for internal content spacing.
125
+ *
126
+ * The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
127
+ */
128
+ const CONTAINER_SPACING_MAP = {
129
+ none: "rb-container-pad-none",
130
+ compact: "rb-container-pad-compact",
131
+ cozy: "rb-container-pad-cozy",
132
+ medium: "rb-container-pad-medium",
133
+ comfortable: "rb-container-pad-comfortable",
134
+ spacious: "rb-container-pad-spacious"
135
+ };
136
+ const SECTION_MIN_HEIGHT_MAP = {
137
+ none: "",
138
+ banner: "rb-section-min-h-banner",
139
+ hero: "rb-section-min-h-hero",
140
+ immersive: "rb-section-min-h-immersive"
141
+ };
142
+ /**
143
+ * Resolve semantic spacing to CSS classes based on axis.
144
+ *
145
+ * This function guarantees that valid SemanticSpacing values always return a result.
146
+ * Since spacing is typed, there's no need for fallback logic.
147
+ *
148
+ * @param spacing - Semantic spacing value (validated at compile time)
149
+ * @param axis - Which axis to apply padding ('y' for sections, 'all' for containers)
150
+ * @returns CSS class token string
151
+ *
152
+ * @example
153
+ * resolveSpacing('medium', 'y') // => 'rb-section-pad-medium'
154
+ * resolveSpacing('medium', 'all') // => 'rb-container-pad-medium'
155
+ * resolveSpacing('compact') // => 'rb-section-pad-compact' (defaults to 'y' axis)
156
+ */
157
+ function resolveSpacing(spacing, axis = "y") {
158
+ return (axis === "y" ? SECTION_SPACING_MAP : CONTAINER_SPACING_MAP)[spacing];
159
+ }
160
+ function resolveSectionMinHeight(minHeight) {
161
+ return SECTION_MIN_HEIGHT_MAP[minHeight];
162
+ }
163
+ /**
164
+ * Default spacing value for sections when not explicitly configured.
165
+ */
166
+ const DEFAULT_SECTION_SPACING = "medium";
167
+ //#endregion
168
+ //#region ../blocks/src/system/fields/backgroundContent.ts
169
+ function parseBackgroundContent(value) {
170
+ const result = boxBackgroundSchema.safeParse(value);
171
+ return result.success ? result.data : null;
172
+ }
173
+ function parseBackgroundOverlay(value) {
174
+ const result = boxBackgroundOverlaySchema.safeParse(value);
175
+ return result.success ? result.data : void 0;
176
+ }
177
+ /** Rendering accepts explicit application sources separately from stored references. */
178
+ const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
179
+ function parseRuntimeBackgroundContent(value) {
180
+ const result = runtimeBackgroundContentSchema.safeParse(value);
181
+ return result.success ? result.data : null;
182
+ }
183
+ //#endregion
184
+ //#region ../blocks/src/system/transforms/registry/_utils/boxStyleClassNames.ts
185
+ /**
186
+ * @file The one place box-style content becomes CSS classes.
187
+ *
188
+ * `boxStyles.all` runs this for the binding pipeline, and the React nodes that
189
+ * render a card outside that pipeline (offerings-preview) call it directly, so
190
+ * there is a single card-class emission path rather than copies that drift.
191
+ */
192
+ /** The elevation class an elevated box gets when the theme defines a shadow. */
193
+ const RAISED_SHADOW_CLASS = "rb-shadow-md";
194
+ /** Radius values to their `rb-*` classes (defined in `rb-utilities.css`). */
195
+ const ROUNDED_CLASSES = {
196
+ sm: "rb-rounded-sm",
197
+ md: "rb-rounded-md",
198
+ lg: "rb-rounded-lg",
199
+ xl: "rb-rounded-xl",
200
+ "2xl": "rb-rounded-2xl",
201
+ full: "rb-rounded-full"
202
+ };
203
+ const fixedFrameScopeClass = "rb-bg-motion-fixed-frame-scope";
204
+ function hasFixedFrameBackgroundMotion(value) {
205
+ const background = parseBackgroundContent(asPartialObject(value)?.background);
206
+ return (background?.type === "image" || background?.type === "video") && background.motion === "fixed-frame";
207
+ }
208
+ /**
209
+ * The stable per-theme class for a card role. Generated card CSS emits these
210
+ * aliases alongside each `.card-{id}` rule, so content addresses "this site
211
+ * style's open card" without knowing which variant implements it.
212
+ */
213
+ function cardRoleClass(role) {
214
+ return `card-role-${role}`;
215
+ }
216
+ /**
217
+ * The role class for a card slot the *block* owns structurally, where a Look
218
+ * may still name the surface.
219
+ *
220
+ * Some layouts have more than one card slot and decide themselves which one is
221
+ * the statement — the featured-editorial testimonials field is a lead voice
222
+ * beside its supporting voices, and that is structure, not composition. Those
223
+ * slots still have to honour a Look that picks a surface, or a role-picking
224
+ * Look would silently no-op under the layout. So the slot carries a default
225
+ * role and the Look's compiled role wins over it when there is one.
226
+ *
227
+ * An explicit `none` is honoured as boxlessness and emits no class, matching
228
+ * how the composite emitter reads it.
229
+ */
230
+ /**
231
+ * The role a card renders with, and the one place a set of card styles becomes
232
+ * a role.
233
+ *
234
+ * Precedence: a per-item override, then the `role` a Look or semantic field
235
+ * compiled onto the block's card styles. Persisted inputs are normalized at
236
+ * this boundary because raw block records do not pass through the theme schema.
237
+ */
238
+ function resolveCardRoleForBoxStyles(input, override) {
239
+ return override ?? normalizeCardRole(input.role);
240
+ }
241
+ /**
242
+ * Parse a block's own per-item surface vocabulary into a card role. The alias
243
+ * map is declared by the block (its persisted values are its own history), and
244
+ * `normalizeCardRole` remains the one untrusted-input boundary after that.
245
+ */
246
+ function resolveItemCardRole(value, aliases) {
247
+ if (typeof value !== "string") return null;
248
+ const trimmed = value.trim();
249
+ if (!trimmed) return null;
250
+ return normalizeCardRole(aliases?.[trimmed] ?? trimmed);
251
+ }
252
+ /**
253
+ * The card surface for a set of box styles: one role, one class vocabulary, so
254
+ * a site-style swap re-skins the card whichever field named it.
255
+ */
256
+ function cardSurface(input, override, fallback) {
257
+ const role = resolveCardRoleForBoxStyles(input, override) ?? fallback ?? null;
258
+ if (!role) return {
259
+ role: null,
260
+ classes: []
261
+ };
262
+ return {
263
+ role,
264
+ classes: role === "none" ? [] : [cardRoleClass(role)]
265
+ };
266
+ }
267
+ const BOX_BORDER_WIDTHS = [
268
+ "none",
269
+ "1",
270
+ "2",
271
+ "3"
272
+ ];
273
+ function parseBoxBorderWidth(value) {
274
+ return BOX_BORDER_WIDTHS.find((width) => width === value);
275
+ }
276
+ /**
277
+ * A box's border record with `{ width: 'none' }`-without-`enabled` resolved.
278
+ *
279
+ * That shape used to mean two different things to two different readers: the
280
+ * old private offerings emitter read it as border-off, while the shared
281
+ * emitter read it as "no opinion" and left the caller's base `rb-border` in
282
+ * place. Same persisted bytes, opposite answers. A width of `none` says there
283
+ * is no border, so it is read as `enabled: false` here — once, at the one
284
+ * place box-style content is interpreted — and every reader downstream now
285
+ * agrees.
286
+ *
287
+ * Nothing persisted carries the shape (the #1297 usage audit found zero rows;
288
+ * the authoring UI cannot produce it, since the width control is gated on
289
+ * `enabled === true`), so this is boundary hygiene rather than a migration.
290
+ */
291
+ function normalizeBoxStylesBorder(value) {
292
+ const border = asPartialObject(value);
293
+ if (!border) return null;
294
+ const width = parseBoxBorderWidth(border.width);
295
+ return {
296
+ enabled: border.enabled === true ? true : border.enabled === false || width === "none" ? false : null,
297
+ width,
298
+ colorToken: typeof border.colorToken === "string" && border.colorToken.trim() ? border.colorToken.trim() : void 0
299
+ };
300
+ }
301
+ /** The border class a box's own border override asks for, if it has one. */
302
+ function borderOverrideClass(input) {
303
+ const border = normalizeBoxStylesBorder(input.border);
304
+ if (!border) return null;
305
+ if (border.enabled === false) return "rb-border-0";
306
+ if (border.enabled !== true) return null;
307
+ switch (border.width) {
308
+ case "2": return "rb-border-2";
309
+ case "3": return "rb-border-3";
310
+ case "none": return "rb-border-0";
311
+ case "1":
312
+ case void 0: return "rb-border";
313
+ }
314
+ }
315
+ /** The base class with any border utilities stripped, so an override can win. */
316
+ function withoutBorderClasses(baseClass) {
317
+ return baseClass.split(/\s+/).filter((token) => token && !/^rb-border(?:-(?:0|2|3))?$/.test(token)).join(" ");
318
+ }
319
+ /**
320
+ * The padding class a box's spacing asks for, if it names a known value.
321
+ *
322
+ * An unknown value is dropped rather than guessed, and says so in development —
323
+ * persisted content is the untrusted input here, and a silently missing padding
324
+ * is much harder to trace back than a warning.
325
+ */
326
+ function boxSpacingClass(input, axis) {
327
+ const spacing = typeof input.spacing === "string" ? input.spacing.trim() : "";
328
+ if (!spacing) return null;
329
+ if (!isSemanticSpacing(spacing)) {
330
+ console.warn(`[boxStyles] Invalid spacing value: "${spacing}". Expected one of: ${SEMANTIC_SPACING_VALUES.join(", ")}.`);
331
+ return null;
332
+ }
333
+ return resolveSpacing(spacing, axis);
334
+ }
335
+ /** The radius class a box's corners ask for, if it names a known value. */
336
+ function boxRoundedClass(input) {
337
+ const rounded = typeof input.rounded === "string" ? input.rounded.trim() : "";
338
+ if (!rounded || rounded === "none") return null;
339
+ return ROUNDED_CLASSES[rounded] ?? null;
340
+ }
341
+ /** The elevation class to use, honouring an explicit `null` opt-out. */
342
+ function raisedClassFor(options) {
343
+ return options.raisedClass === void 0 ? RAISED_SHADOW_CLASS : options.raisedClass;
344
+ }
345
+ /**
346
+ * The class list for a set of box styles: the caller's base class, the border /
347
+ * spacing / elevation / radius overrides the box carries, and its card surface.
348
+ *
349
+ * Pure, so the React nodes that render a card outside the binding pipeline
350
+ * (offerings-preview) share this one emission path with `boxStyles.all` instead
351
+ * of keeping a copy that drifts.
352
+ */
353
+ function boxStyleClassNames(value, options) {
354
+ const input = value && typeof value === "object" ? value : {};
355
+ const borderOverride = borderOverrideClass(input);
356
+ const surface = cardSurface(input, options.cardRoleOverride, options.cardRoleFallback);
357
+ const cardOwnsBorder = surface.role !== null && surface.role !== "none";
358
+ return [
359
+ borderOverride || cardOwnsBorder ? withoutBorderClasses(options.baseClass ?? "") : options.baseClass ?? "",
360
+ borderOverride,
361
+ options.includeSpacing === false ? null : boxSpacingClass(input, options.axis ?? "all"),
362
+ input.raised === true ? raisedClassFor(options) : null,
363
+ boxRoundedClass(input),
364
+ ...surface.classes,
365
+ hasFixedFrameBackgroundMotion(input) ? "rb-bg-motion-fixed-frame-scope" : null
366
+ ].filter((token) => Boolean(token)).join(" ").trim() || "";
367
+ }
368
+ //#endregion
369
+ export { resolveSpacing as _, hasFixedFrameBackgroundMotion as a, runTransforms as b, resolveItemCardRole as c, parseRuntimeBackgroundContent as d, DEFAULT_SECTION_SPACING as f, resolveSectionMinHeight as g, isSemanticSpacing as h, fixedFrameScopeClass as i, parseBackgroundContent as l, isSectionMinHeight as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, SEMANTIC_SPACING_VALUES as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, parseBackgroundOverlay as u, asPartialObject as v, createTransformRegistry as y };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
3
3
  import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
4
- import { t as CarouselNodeClient } from "./carousel.client-eSSr1oYA.mjs";
4
+ import { t as CarouselNodeClient } from "./carousel.client-YF4mUK5t.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
3
3
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
4
4
  import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
5
5
  import React, { useCallback, useEffect, useRef, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
- import { t as CartClient } from "./cart.client-COAP4CEy.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-BEfD0e4m.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
3
+ import { t as CartClient } from "./cart.client-CqOOxPbW.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-CztcSe9i.mjs";
5
5
  //#region src/rendering/islands/enhancers/cart.tsx
6
6
  const decode = defineIslandPropsDecoder("cart");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as CartController } from "./shop-commerce-B3PyRHaN.mjs";
2
+ import { t as CartController } from "./shop-commerce-B8aZTdRJ.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
- import { t as CheckoutClient } from "./checkout.client-DRralR3e.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-BEfD0e4m.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-CpqxN8e0.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-CztcSe9i.mjs";
5
5
  //#region src/rendering/islands/enhancers/checkout.tsx
6
6
  const decode = defineIslandPropsDecoder("checkout");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as CheckoutController } from "./shop-commerce-B3PyRHaN.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-B8aZTdRJ.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { ki as canonicalUrl } from "./display-DDNmyb0z.mjs";
2
+ import { Ai as canonicalUrl } from "./display-Cl6mgSJa.mjs";
3
3
  //#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
4
4
  /**
5
5
  * Build return URLs for Stripe checkout redirect.