@riverbankcms/sdk 0.180.0 → 0.181.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 (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-Chr9pNVW.d.ts} +58 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-kjccgopX.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-BodaiS00.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-Brl6_I2j.d.ts} +1 -2
  9. package/dist/_dts/{index-CB5Csefo.d.ts → index-CJkefwYh.d.ts} +2 -2
  10. package/dist/_dts/{index-DQBGwBPx.d.ts → index-D1WpKwQe.d.ts} +1 -1
  11. package/dist/_dts/{index-DQr358-m.d.ts → index-DG0OvBs0.d.ts} +8 -8
  12. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Diqt0PvG.d.ts} +1 -1
  13. package/dist/_dts/{index-DCcxLa8p.d.ts → index-Dy50xUMK.d.ts} +2 -2
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-CA0izds5.d.ts} +2498 -1108
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  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 +6 -6
  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/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +6 -6
  54. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-CQrsP1x_.d.ts} +3 -3
  55. package/dist/_dts/{types-DpEAnP4F.d.ts → types-CgS3xLk8.d.ts} +2 -2
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-R65DKjPn.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-uWfR2kaG.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-CyNIKw6k.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-CwzrjcRw.mjs} +6 -6
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DZ0qMFF4.mjs} +6 -6
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +700 -514
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-C7mygH_f.mjs} +389 -248
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-CsW8U3ff.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-cBWM392H.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-DJoleFV3.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-EO5o6uPH.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-D_gPw45z.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-NVfZW0kR.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  93. package/dist/client/client.mjs +87 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-CoOkvw__.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-CRhn9qzS.mjs} +732 -370
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-D7YYKySQ.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DM8Zbxbv.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-DWIsqQru.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-RuM86VAv.mjs} +23 -24
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-Dl4mZ-rr.mjs} +167 -49
  119. package/dist/client/portal/client.mjs +13040 -8190
  120. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  121. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-BZJCfqat.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-CiRs3mNb.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-CDNNd8wC.mjs} +247 -203
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-Rx_gEMK8.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-ZSqRK3dD.mjs} +228 -90
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-BQJrSK0K.mjs} +9 -78
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-Dm3lKJKR.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-CC_yQLSA.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-BliJOzEX.mjs} +953 -279
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BhL0uADo.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +5 -5
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-BS32G4V9.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-RL0WfZXD.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +29 -5
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-CQyS8pcq.mjs} +5011 -2074
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlmbvbLN.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-R3PcMmax.mjs} +71 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BQWsnGT6.mjs} +126 -120
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DxojjtK3.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-CDndhbYO.mjs} +86 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/index.mjs +3 -3
  180. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-BKstMBmX.mjs} +5 -4
  181. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  182. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-TFjgNG61.mjs} +38 -18
  183. package/dist/server/manifest.mjs +36 -25
  184. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  185. package/dist/server/media-BRmYrnzb.mjs +31 -0
  186. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  187. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  188. package/dist/server/navigation.mjs +1 -1
  189. package/dist/server/next.mjs +134 -81
  190. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +3 -3
  192. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-B7iULvKe.mjs} +8 -7
  193. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-BytMroxn.mjs} +5 -5
  194. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-Dcs_XTIO.mjs} +243 -323
  195. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  196. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  197. package/dist/server/portal.mjs +3 -3
  198. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  199. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-agaH-vZV.mjs} +1 -1
  200. package/dist/server/prebuild.mjs +1 -1
  201. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-DwpRjqw4.mjs} +4 -3
  202. package/dist/server/{registry-CvhFwbXJ.mjs → registry-DM9dHfDC.mjs} +345 -449
  203. package/dist/server/rendering/components/pageShared.mjs +1 -1
  204. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  205. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  206. package/dist/server/rendering/server.mjs +4 -4
  207. package/dist/server/rendering.mjs +10 -9
  208. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-CinHGf8l.mjs} +2 -2
  209. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BBBhOtdE.mjs} +21 -20
  214. package/dist/server/theme-bridge.mjs +3 -2
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-DG5jX3jH.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-CipbxPHL.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1013 -1840
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -122,8 +122,43 @@ const FORBIDDEN_SELECTORS = [
122
122
  ];
123
123
  /** Universal selector - forbidden because it affects everything */
124
124
  const UNIVERSAL_SELECTOR = "*";
125
- /** Pattern to detect remote URL references (http://, https://, //) */
126
- const REMOTE_URL_PATTERN = /url\s*\(\s*['"]?(https?:|\/\/)/i;
125
+ /**
126
+ * The start of an address on another origin: an http(s) scheme (browsers
127
+ * accept `http:evil.example` without slashes), or two slashes, where a
128
+ * backslash counts as a slash and whitespace between them is dropped.
129
+ */
130
+ const REMOTE_ADDRESS = String.raw`(?:https?:|[/\\]\s*[/\\])`;
131
+ /**
132
+ * A remote address in url(), or at the start of any quoted string, which is
133
+ * how image-set(), -webkit-image-set() and src() take one without url(). In a
134
+ * quoted string, two slashes followed by a space are text (`'// note'`): a
135
+ * browser cannot read a host that starts with a space.
136
+ */
137
+ const REMOTE_URL_PATTERN = new RegExp(String.raw`url\s*\(\s*['"]?\s*${REMOTE_ADDRESS}|['"]\s*(?:https?:|[/\\]\s*[/\\](?! ))`, "i");
138
+ /** Comments and quoted strings, matched left to right the way a browser reads them. */
139
+ const COMMENT_OR_STRING = /\/\*[\s\S]*?\*\/|"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/g;
140
+ const DATA_URL_STRING = /^["']\s*data:/i;
141
+ /**
142
+ * A quoted `data:` URL holds its file inline, so the addresses inside it are
143
+ * text and nothing is fetched: the standard inline SVG carries
144
+ * `xmlns='http://www.w3.org/2000/svg'`. Those strings are emptied before the
145
+ * remote check. Only a string the browser would also read as one is emptied,
146
+ * so a comment or another string cannot pose as a `data:` URL around a real
147
+ * `url()`.
148
+ */
149
+ function withoutDataUrlStrings(value) {
150
+ return value.replace(COMMENT_OR_STRING, (token) => DATA_URL_STRING.test(token) ? "\"\"" : token);
151
+ }
152
+ /** CSS comments, and escapes such as `\72` or `\/`, which can spell `url(` or `//`. */
153
+ const CSS_COMMENT = /\/\*[\s\S]*?\*\//g;
154
+ const CSS_ESCAPE = /\\(?:([0-9a-fA-F]{1,6})\s?|([^\n0-9a-fA-F]))/g;
155
+ function decodeCss(value) {
156
+ return value.replace(CSS_COMMENT, "").replace(CSS_ESCAPE, (_match, hex, char) => {
157
+ if (hex === void 0) return char ?? "";
158
+ const codePoint = Number.parseInt(hex, 16);
159
+ return codePoint > 0 && codePoint <= 1114111 ? String.fromCodePoint(codePoint) : "�";
160
+ });
161
+ }
127
162
  /** Pattern to detect javascript: URLs */
128
163
  const JAVASCRIPT_URL_PATTERN = /javascript\s*:/i;
129
164
  /**
@@ -169,13 +204,14 @@ const selectorSchema = z.string().min(1, "Selector cannot be empty").max(200, "S
169
204
  * Check if a CSS value contains a remote URL.
170
205
  */
171
206
  function containsRemoteUrl(value) {
172
- return REMOTE_URL_PATTERN.test(value);
207
+ const checked = withoutDataUrlStrings(value);
208
+ return REMOTE_URL_PATTERN.test(checked) || REMOTE_URL_PATTERN.test(decodeCss(checked));
173
209
  }
174
210
  /**
175
211
  * Check if a CSS value contains a javascript: URL.
176
212
  */
177
213
  function containsJavascriptUrl(value) {
178
- return JAVASCRIPT_URL_PATTERN.test(value);
214
+ return JAVASCRIPT_URL_PATTERN.test(value) || JAVASCRIPT_URL_PATTERN.test(decodeCss(value));
179
215
  }
180
216
  /**
181
217
  * Validates a CSS declaration value for safety.
@@ -208,4 +244,4 @@ const customCssRulesSchema = z.array(customCssRuleSchema).optional();
208
244
  */
209
245
  const blockCustomCssRulesSchema = z.array(blockCustomCssRuleSchema).optional();
210
246
  //#endregion
211
- export { asDesignBoundaryId as C, asSiteStyleId as D, asPageFlowPresetId as E, makeBoundaryId as O, asDesignBlockId as S, asLayoutVariantKey as T, isArrangementMode as _, declarationValueSchema as a, asAppearancePresetId as b, accordionIconColorTokenValues as c, arrangementModes as d, decorativeTransitionIntentValues as f, headingDecorationOverrideValues as g, headingDecorationColorTokenValues as h, customCssRulesSchema as i, accordionIconMotionValues as l, eyebrowTreatmentValues as m, blockCustomCssRulesSchema as n, declarationsSchema as o, eventListTreatmentValues as p, customCssRuleSchema as r, selectorSchema as s, blockCustomCssRuleSchema as t, accordionIconSetValues as u, tileTreatmentValues as v, asDesignSystemTemplateId as w, asBoundaryOptionId as x, visibleHeadingDecorationFamilyValues as y };
247
+ export { makeBoundaryId as A, asBoundaryOptionId as C, asLayoutVariantKey as D, asDesignSystemTemplateId as E, asPageFlowPresetId as O, asAppearancePresetId as S, asDesignBoundaryId as T, headingDecorationColorTokenValues as _, customCssRuleSchema as a, tileTreatmentValues as b, declarationsSchema as c, accordionIconMotionValues as d, accordionIconSetValues as f, eyebrowTreatmentValues as g, eventListTreatmentValues as h, containsRemoteUrl as i, asSiteStyleId as k, selectorSchema as l, decorativeTransitionIntentValues as m, blockCustomCssRulesSchema as n, customCssRulesSchema as o, arrangementModes as p, containsJavascriptUrl as r, declarationValueSchema as s, blockCustomCssRuleSchema as t, accordionIconColorTokenValues as u, headingDecorationOverrideValues as v, asDesignBlockId as w, visibleHeadingDecorationFamilyValues as x, isArrangementMode as y };
@@ -1,2 +1,2 @@
1
- import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-Cv_W1LVB.mjs";
1
+ import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-CinHGf8l.mjs";
2
2
  export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
@@ -1,9 +1,9 @@
1
- import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
2
- import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-m0ylCj_f.mjs";
1
+ import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-CDndhbYO.mjs";
2
+ import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-gvfIw3z8.mjs";
3
3
  import { r as getResilienceStatusFromError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
4
4
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
5
5
  import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
6
- import { t as prebuildCache } from "./prebuild-Cr8p8T7V.mjs";
6
+ import { t as prebuildCache } from "./prebuild-agaH-vZV.mjs";
7
7
  import * as path from "path";
8
8
  import * as fs from "fs";
9
9
  //#region src/prebuild/loader.ts
@@ -1,9 +1,10 @@
1
- import { In as registrationDataForEventSelection, Rn as selectionRepresentativeEvent, ic as resolveBookingBusinessTimeZone, na as isRecord, sr as resolveDateRuntimeContext } from "./registry-CvhFwbXJ.mjs";
2
- import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-BnSuoHON.mjs";
3
- import { _ as buildTemplatePageOutline, c as buildBookingPageOutline, l as bookingPageIdentity, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, v as readStoredSectionValues, y as selectBlocksForDeclaredEntrySlot } from "./servicePageContent-CRKbTm_7.mjs";
1
+ import { $s as resolveBookingBusinessTimeZone, In as registrationDataForEventSelection, Rn as selectionRepresentativeEvent, sr as resolveDateRuntimeContext } from "./registry-DM9dHfDC.mjs";
2
+ import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-BytMroxn.mjs";
3
+ import { n as isRecord } from "./typeGuards-CTW_9AXq.mjs";
4
+ import { _ as buildTemplatePageOutline, c as buildBookingPageOutline, l as bookingPageIdentity, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, v as readStoredSectionValues, y as selectBlocksForDeclaredEntrySlot } from "./servicePageContent-BBBhOtdE.mjs";
4
5
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
5
6
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
6
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-Cv_W1LVB.mjs";
7
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-CinHGf8l.mjs";
7
8
  //#region ../api/src/publicBookingService.ts
8
9
  /** Adapt an admitted service to the catalogue row consumed by booking pickers. */
9
10
  function toPublicBookingServiceCatalogueItem(service, categoryId) {
@@ -1,8 +1,8 @@
1
- import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BnSuoHON.mjs";
1
+ import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BytMroxn.mjs";
2
2
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
3
- import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-vgWMz1uD.mjs";
3
+ import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-BKstMBmX.mjs";
4
4
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
5
- import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-Cv_W1LVB.mjs";
5
+ import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-CinHGf8l.mjs";
6
6
  //#region src/rendering/helpers/loadPage.ts
7
7
  /**
8
8
  * Server-side helper to fetch all data needed for <Page> component.
@@ -1,6 +1,7 @@
1
- import { $ as SURFACE_FOREGROUND_CSS_VARS, B as preparePaletteColourIndex, Dt as parseThemeColorToken, et as SURFACE_INK_CSS_VARS, j as expandPalette, mt as rgbColorValue, nt as surfaceForegroundDeclarations, st as surfaceInkDeclarations } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { N as freezeOwnedThemeValue, P as ownedThemeSnapshot, _ as contextualButtonSurfaceResetStyles, a as requireResolvedSurface } from "./accessibleSurfaces-CM3QANtw.mjs";
3
- import { _ as isArrangementMode, b as asAppearancePresetId } from "./customCss-BZ8YSrQg.mjs";
1
+ import { E as surfaceInkDeclarations, N as rgbColorValue, Y as parseThemeColorToken, v as SURFACE_FOREGROUND_CSS_VARS, x as surfaceForegroundDeclarations, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
2
+ import { E as preparePaletteColourIndex, g as expandPalette } from "./resolveButtonColourStates-B0O1IM16.mjs";
3
+ import { N as freezeOwnedThemeValue, P as ownedThemeSnapshot, _ as contextualButtonSurfaceResetStyles, a as requireResolvedSurface } from "./accessibleSurfaces-WPzUAHp4.mjs";
4
+ import { S as asAppearancePresetId, y as isArrangementMode } from "./customCss-C9kgPHvr.mjs";
4
5
  //#region ../theme-core/src/surfaces/opaqueSurface.ts
5
6
  function opaqueSurfaceContextFromTheme(theme) {
6
7
  const palette = freezeOwnedThemeValue(expandPalette(theme.palette));
@@ -593,6 +594,16 @@ function resolveBlockAppearancePresetDesign(preset, layoutProfile = null) {
593
594
  //#endregion
594
595
  //#region ../theme-core/src/site-styles/blockAppearancePresets.ts
595
596
  /**
597
+ * A card Look reaches every block that supplies its parts. Some of those pairings give an owner nothing new
598
+ * (numbered people, a ruled list beside the team's own ruled list), so the Look names the blocks it leaves out.
599
+ */
600
+ function notFor(look, blocks) {
601
+ return {
602
+ ...look,
603
+ blockKinds: look.blockKinds.filter((kind) => !blocks.includes(kind))
604
+ };
605
+ }
606
+ /**
596
607
  * One pin space for legacy recipes and arrangement Looks. Legacy recipes ask
597
608
  * for a card role; the style owns its paint. Arrangement Looks own structure
598
609
  * and never a section background. Removing an entry retires its pins to auto.
@@ -1850,7 +1861,7 @@ const blockAppearancePresets = [
1850
1861
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
1851
1862
  itemRoles: { items: "card" }
1852
1863
  }),
1853
- defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1864
+ notFor(defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1854
1865
  "media",
1855
1866
  "title",
1856
1867
  "text",
@@ -1863,8 +1874,12 @@ const blockAppearancePresets = [
1863
1874
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
1864
1875
  itemRoles: { items: "card" },
1865
1876
  styleFallback: [id("feature-cards-cards")]
1866
- }),
1867
- defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
1877
+ }), [
1878
+ "block.team-members",
1879
+ "block.appointment-services",
1880
+ "block.offerings-preview"
1881
+ ]),
1882
+ notFor(defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
1868
1883
  "media",
1869
1884
  "title",
1870
1885
  "text",
@@ -1877,8 +1892,8 @@ const blockAppearancePresets = [
1877
1892
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
1878
1893
  knobDefaults: { actionStyle: "link" },
1879
1894
  styleFallback: [id("feature-cards-cards")]
1880
- }),
1881
- defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
1895
+ }), ["block.team-members"]),
1896
+ notFor(defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
1882
1897
  "media",
1883
1898
  "title",
1884
1899
  "text",
@@ -1891,8 +1906,8 @@ const blockAppearancePresets = [
1891
1906
  ])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
1892
1907
  itemRoles: { at: { first: "statement" } },
1893
1908
  styleFallback: [id("feature-cards-cards")]
1894
- }),
1895
- defineCardListLook("feature-cards-index", "Ruled list", "index", [
1909
+ }), ["block.team-members"]),
1910
+ notFor(defineCardListLook("feature-cards-index", "Ruled list", "index", [
1896
1911
  "title",
1897
1912
  "text",
1898
1913
  "action"
@@ -1901,7 +1916,7 @@ const blockAppearancePresets = [
1901
1916
  knobDefaults: { cardMarker: "none" },
1902
1917
  knobValues: { cardMarker: ["numbers", "none"] },
1903
1918
  styleFallback: [id("feature-cards-cards")]
1904
- }),
1919
+ }), ["block.team-members", "block.shop"]),
1905
1920
  {
1906
1921
  ...defineCardListLook("feature-cards-timeline", "A timeline down the page", "index", [
1907
1922
  "title",
@@ -1933,7 +1948,7 @@ const blockAppearancePresets = [
1933
1948
  }),
1934
1949
  blockKinds: ["block.feature-cards"]
1935
1950
  },
1936
- defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
1951
+ notFor(defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
1937
1952
  "title",
1938
1953
  "text",
1939
1954
  "action"
@@ -1945,7 +1960,12 @@ const blockAppearancePresets = [
1945
1960
  ])]),
1946
1961
  forcedKnobs: { cardMarker: "numbers" },
1947
1962
  styleFallback: [id("feature-cards-cards")]
1948
- }),
1963
+ }), [
1964
+ "block.team-members",
1965
+ "block.appointment-services",
1966
+ "block.offerings-preview",
1967
+ "block.shop"
1968
+ ]),
1949
1969
  defineCardListLook("card-list-plates", "Plates", "plates", [
1950
1970
  "media",
1951
1971
  "title",
@@ -2226,7 +2246,7 @@ const blockAppearancePresets = [
2226
2246
  slotRoles: { panel: "card" },
2227
2247
  styleFallback: [id("form-beside-introduction-arched-panel")]
2228
2248
  }),
2229
- defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
2249
+ notFor(defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
2230
2250
  "media",
2231
2251
  "title",
2232
2252
  "text",
@@ -2245,7 +2265,7 @@ const blockAppearancePresets = [
2245
2265
  dates: "summary"
2246
2266
  },
2247
2267
  styleFallback: [id("card-list-plates"), id("feature-cards-cards")]
2248
- }),
2268
+ }), ["block.team-members", "block.appointment-services"]),
2249
2269
  defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
2250
2270
  "media",
2251
2271
  "title",
@@ -2496,7 +2516,7 @@ const blockAppearancePresets = [
2496
2516
  cardMarker: "none"
2497
2517
  },
2498
2518
  knobDefaults: { actionStyle: "link" },
2499
- styleFallback: [id("feature-cards-index")]
2519
+ styleFallback: [id("feature-cards-cards")]
2500
2520
  }),
2501
2521
  blockKinds: ["block.team-members"]
2502
2522
  },
@@ -2514,7 +2534,7 @@ const blockAppearancePresets = [
2514
2534
  sketch.button
2515
2535
  ])])]),
2516
2536
  itemRoles: { items: "card" },
2517
- styleFallback: [id("shop-ruled-prices")]
2537
+ styleFallback: []
2518
2538
  }),
2519
2539
  defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
2520
2540
  "title",
@@ -2559,7 +2579,7 @@ const blockAppearancePresets = [
2559
2579
  thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row(sketch.weight(3, [sketch.title(.6, "small")]), sketch.weight(1, [sketch.price]))], { ruled: true })]),
2560
2580
  forcedKnobs: { cardMarker: "none" },
2561
2581
  knobDefaults: { actionStyle: "link" },
2562
- styleFallback: [id("feature-cards-index")]
2582
+ styleFallback: [id("shop-price-cards")]
2563
2583
  }),
2564
2584
  {
2565
2585
  ...defineCardListLook("card-list-photos-on-top", "Photos on top, three across", "cards", [
@@ -1,5 +1,5 @@
1
- import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-Cu-3PRvv.mjs";
2
- import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-39SXCCnh.mjs";
1
+ import { l as ALLOWED_TRANSFORM_IDS, o as LAYOUT_Z_INDEX_RULE, s as ALLOWED_NODE_TYPES } from "./titleSourceSchema-NhK6azFS.mjs";
2
+ import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-DPaUPTfl.mjs";
3
3
  //#region src/manifest/prompt/knowledge-base.ts
4
4
  /**
5
5
  * LLM Knowledge Base for HTML-to-Manifest Conversion
@@ -95,15 +95,12 @@ const TRANSFORM_DOCS = {
95
95
  "value.fallback": "Provide fallback value if binding is empty. Options: { fallback: \"default\" }",
96
96
  "date.formatShort": "Format date as short string",
97
97
  "array.length": "Get length of array",
98
- "value.jsonArray": "Parse JSON array string",
98
+ "value.jsonArray": "Wrap a value, or a list of ids, into a JSON array string",
99
99
  "layout.maxWidthClass": "Get max-width CSS class based on layout setting",
100
100
  "background.resolveStyle": "Resolve background field to CSS styles",
101
- "background.resolveClass": "Resolve background field to CSS classes",
102
101
  "links.resolve": "Resolve link objects (LinkValue or {href}) to href strings using the route map",
103
102
  "links.label": "Extract a human-readable label from link objects (label/title/identifier/href)",
104
- "media.fromUrl": "Create media object from URL string",
105
- "boxStyles.resolveRootClass": "Get root element class from box styles",
106
- "boxStyles.resolveRootStyle": "Get root element style from box styles"
103
+ "media.fromUrl": "Create media object from URL string"
107
104
  };
108
105
  /**
109
106
  * Generate transforms documentation string for the system prompt.
@@ -199,13 +196,13 @@ When converting styles from HTML/Tailwind to the manifest, follow this priority:
199
196
  → YES: Add to customCssRules
200
197
 
201
198
  Example: Custom animation for hero section
202
- 1) Add a className to a node you want to target:
203
- { "type": "text", "props": { "className": "hero-title" }, "children": null, "$bind": { "from": "content.title", "fallback": null, "transforms": null }, "$repeat": null, "$when": null }
199
+ 1) Add a className starting "cb-" to a node you want to target:
200
+ { "type": "text", "props": { "className": "cb-hero-title" }, "children": null, "$bind": { "from": "content.title", "fallback": null, "transforms": null }, "$repeat": null, "$when": null }
204
201
 
205
202
  2) Scope CSS to the block and target that class:
206
203
  {
207
204
  "id": "hero-pulse",
208
- "selector": "[data-block=\"custom.hero\"] .hero-title",
205
+ "selector": "[data-block=\"custom.hero\"] .cb-hero-title",
209
206
  "declarations": [{ "property": "animation", "value": "pulse 2s infinite" }]
210
207
  }
211
208
 
@@ -218,6 +215,12 @@ When converting styles from HTML/Tailwind to the manifest, follow this priority:
218
215
  → Use inline styles in node props
219
216
 
220
217
  Example: props: { style: { marginTop: '2rem' } }
218
+
219
+ Inline styles take layout, spacing, type, colour and border properties with plain values.
220
+ Validation rejects url() and image-set(), position: fixed or sticky, content and animation,
221
+ and allows ${LAYOUT_Z_INDEX_RULE}. className takes Tailwind layout, spacing, type, colour and
222
+ border utilities, plus your own classes starting "cb-" for customCssRules.
223
+ For an image, bind a media field to a media node or use a background.* transform.
221
224
  `;
222
225
  const BLOCK_BOUNDARY_HEURISTICS = `
223
226
  ## Block Boundary Heuristics
@@ -400,8 +403,7 @@ const heroExample = {
400
403
  type: "section",
401
404
  props: {
402
405
  background: "primary",
403
- textColor: "white",
404
- className: "text-center py-24"
406
+ className: "text-center text-white py-24"
405
407
  },
406
408
  children: [{
407
409
  type: "stack",
@@ -443,7 +445,7 @@ const heroExample = {
443
445
  {
444
446
  type: "button",
445
447
  props: {
446
- variant: "secondary",
448
+ variantId: "secondary",
447
449
  size: "lg",
448
450
  href: { $bind: {
449
451
  from: "content.cta",
@@ -479,7 +481,7 @@ const heroExample = {
479
481
 
480
482
  Styling:
481
483
  - bg-blue-900 mapped to 'primary' background token
482
- - text-white mapped to textColor: 'white'
484
+ - text-white kept as a utility class on the section
483
485
  - Layout uses section > stack for vertical centering`
484
486
  };
485
487
  //#endregion
@@ -575,7 +577,7 @@ const featuresGridExample = {
575
577
  },
576
578
  children: [{
577
579
  type: "stack",
578
- props: { gap: "xl" },
580
+ props: { gap: "lg" },
579
581
  children: [{
580
582
  type: "text",
581
583
  props: {
@@ -586,7 +588,10 @@ const featuresGridExample = {
586
588
  }, {
587
589
  type: "grid",
588
590
  props: {
589
- columns: 3,
591
+ cols: {
592
+ base: 1,
593
+ md: 3
594
+ },
590
595
  gap: "lg"
591
596
  },
592
597
  $repeat: {
@@ -633,7 +638,7 @@ const featuresGridExample = {
633
638
  - Repeating cards detected (3+ similar elements) → repeater field
634
639
  - Each card has icon, title, description → schema.fields
635
640
  - $repeat used to iterate over features array
636
- - Grid layout with columns: 3 for responsive grid
641
+ - Grid layout with cols: { base: 1, md: 3 } for a responsive grid
637
642
  - bg-gray-50 mapped to 'surface' token
638
643
  - text-gray-600 mapped to 'muted' token
639
644
  - Icon placeholder uses Lucide icon names`
@@ -741,7 +746,7 @@ const testimonialsExample = {
741
746
  children: [{
742
747
  type: "stack",
743
748
  props: {
744
- gap: "xl",
749
+ gap: "lg",
745
750
  align: "center"
746
751
  },
747
752
  children: [{
@@ -766,7 +771,10 @@ const testimonialsExample = {
766
771
  }, {
767
772
  type: "grid",
768
773
  props: {
769
- columns: 3,
774
+ cols: {
775
+ base: 1,
776
+ md: 3
777
+ },
770
778
  gap: "lg"
771
779
  },
772
780
  $repeat: {
@@ -963,7 +971,7 @@ const pricingExample = {
963
971
  children: [{
964
972
  type: "stack",
965
973
  props: {
966
- gap: "xl",
974
+ gap: "lg",
967
975
  align: "center"
968
976
  },
969
977
  children: [{
@@ -987,7 +995,10 @@ const pricingExample = {
987
995
  }, {
988
996
  type: "grid",
989
997
  props: {
990
- columns: 3,
998
+ cols: {
999
+ base: 1,
1000
+ md: 3
1001
+ },
991
1002
  gap: "lg",
992
1003
  className: "max-w-5xl"
993
1004
  },
@@ -1049,7 +1060,7 @@ const pricingExample = {
1049
1060
  {
1050
1061
  type: "button",
1051
1062
  props: {
1052
- variant: "primary",
1063
+ variantId: "primary",
1053
1064
  className: "w-full",
1054
1065
  href: { $bind: {
1055
1066
  from: "plan.cta",
@@ -1211,7 +1222,7 @@ const ctaExample = {
1211
1222
  children: [{
1212
1223
  type: "button",
1213
1224
  props: {
1214
- variant: "secondary",
1225
+ variantId: "secondary",
1215
1226
  size: "lg",
1216
1227
  href: { $bind: {
1217
1228
  from: "content.primaryButton.link",
@@ -1230,7 +1241,7 @@ const ctaExample = {
1230
1241
  }, {
1231
1242
  type: "button",
1232
1243
  props: {
1233
- variant: "outline",
1244
+ variantId: "outline",
1234
1245
  size: "lg",
1235
1246
  href: { $bind: {
1236
1247
  from: "content.secondaryButton.link",
@@ -1455,7 +1466,7 @@ If you define a field, you MUST use it with $bind somewhere in the layout (node.
1455
1466
  4. **Theme Priority**: Use theme tokens when possible before adding customCssRules
1456
1467
 
1457
1468
  5. **Custom CSS MUST match the layout**
1458
- - If a customCssRules selector uses a class (e.g. ".heroTitle"), you MUST add that class to some node via props.className.
1469
+ - If a customCssRules selector uses a class (e.g. ".cb-hero-title"), you MUST add that class to some node via props.className.
1459
1470
  - Do NOT target internal renderer classes like ".cms-node-*" (they are not guaranteed).
1460
1471
  - Do NOT put "@media" / at-rules into selector (emit base styles only).
1461
1472
  - Always scope selectors to the block: prefix with [data-block="custom.your-block-id"].
@@ -1,4 +1,4 @@
1
- import { C as ok, S as err, x as parseUuidBrand } from "./media-luf7RF22.mjs";
1
+ import { a as parseUuidBrand, o as err, s as ok } from "./media-BRmYrnzb.mjs";
2
2
  import { z } from "zod";
3
3
  //#region ../core/src/branded/identity.ts
4
4
  const unsafeAsSiteId = (id) => id;
@@ -0,0 +1,31 @@
1
+ //#region ../core/src/result.ts
2
+ function ok(value) {
3
+ return {
4
+ ok: true,
5
+ value
6
+ };
7
+ }
8
+ function err(error) {
9
+ return {
10
+ ok: false,
11
+ error
12
+ };
13
+ }
14
+ //#endregion
15
+ //#region ../core/src/branded/uuid.ts
16
+ const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
17
+ function parseUuidBrand(value, unsafeConstructor) {
18
+ if (typeof value !== "string") return err({ kind: "not_string" });
19
+ const normalized = value.trim().toLowerCase();
20
+ if (normalized.length === 0) return err({ kind: "empty_string" });
21
+ if (!UUID_PATTERN.test(normalized)) return err({ kind: "invalid_uuid" });
22
+ return ok(unsafeConstructor(normalized));
23
+ }
24
+ //#endregion
25
+ //#region ../core/src/branded/media.ts
26
+ const unsafeAsMediaAssetId = (id) => id;
27
+ const unsafeAsStorageBucketName = (value) => value;
28
+ const unsafeAsStoragePath = (value) => value;
29
+ const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
30
+ //#endregion
31
+ export { parseUuidBrand as a, unsafeAsStoragePath as i, unsafeAsMediaAssetId as n, err as o, unsafeAsStorageBucketName as r, ok as s, parseMediaAssetId as t };
@@ -1,34 +1,5 @@
1
+ import { o as err, s as ok, t as parseMediaAssetId } from "./media-BRmYrnzb.mjs";
1
2
  import { z } from "zod";
2
- //#region ../core/src/result.ts
3
- function ok(value) {
4
- return {
5
- ok: true,
6
- value
7
- };
8
- }
9
- function err(error) {
10
- return {
11
- ok: false,
12
- error
13
- };
14
- }
15
- //#endregion
16
- //#region ../core/src/branded/uuid.ts
17
- const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
18
- function parseUuidBrand(value, unsafeConstructor) {
19
- if (typeof value !== "string") return err({ kind: "not_string" });
20
- const normalized = value.trim().toLowerCase();
21
- if (normalized.length === 0) return err({ kind: "empty_string" });
22
- if (!UUID_PATTERN.test(normalized)) return err({ kind: "invalid_uuid" });
23
- return ok(unsafeConstructor(normalized));
24
- }
25
- //#endregion
26
- //#region ../core/src/branded/media.ts
27
- const unsafeAsMediaAssetId = (id) => id;
28
- const unsafeAsStorageBucketName = (value) => value;
29
- const unsafeAsStoragePath = (value) => value;
30
- const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
31
- //#endregion
32
3
  //#region ../media-core/src/identifiers.ts
33
4
  function slugifyMediaIdentifier(value) {
34
5
  return value.toLowerCase().trim().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-");
@@ -242,4 +213,4 @@ const runtimeMediaSchema = z.union([
242
213
  assetMediaSchema
243
214
  ]);
244
215
  //#endregion
245
- export { ok as C, err as S, parseMediaIdentifier as _, persistableMediaSchema as a, unsafeAsStoragePath as b, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, PUBLIC_FILE_FIELD_KINDS as f, parseCanonicalMediaIdentifier as g, mediaIdentifierSchema as h, mediaSchema as i, renderableMediaAssetSchema as l, mediaTypeDiscriminants as m, externalMediaSchema as n, runtimeMediaSchema as o, isDisplayMediaKind as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u, unsafeAsMediaAssetId as v, parseUuidBrand as x, unsafeAsStorageBucketName as y };
216
+ export { parseMediaIdentifier as _, persistableMediaSchema as a, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, PUBLIC_FILE_FIELD_KINDS as f, parseCanonicalMediaIdentifier as g, mediaIdentifierSchema as h, mediaSchema as i, renderableMediaAssetSchema as l, mediaTypeDiscriminants as m, externalMediaSchema as n, runtimeMediaSchema as o, isDisplayMediaKind as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u };
@@ -1,5 +1,5 @@
1
+ import { n as DEFAULT_PORTAL_REDIRECT } from "./constants-VyF5nEhL.mjs";
1
2
  import { n as normalizeRenderStage, r as resolveRouteHrefForStage, t as isRouteVisibleInStage } from "./dist-Xevqwf1U.mjs";
2
- import "./constants-Cj7hfbrA.mjs";
3
3
  //#region ../core/src/navigation-portal-labels.ts
4
4
  /**
5
5
  * What a customer sign-in link in a site's menu says when the site hasn't set
@@ -223,7 +223,7 @@ function isCommerceEnabled(options) {
223
223
  return options?.commerceEnabled === true;
224
224
  }
225
225
  function resolvePortalHref(link) {
226
- return link.path?.trim() || "/portal";
226
+ return link.path?.trim() || DEFAULT_PORTAL_REDIRECT;
227
227
  }
228
228
  function resolveCheckoutHref(options) {
229
229
  if (options?.checkoutHref === null) return null;
@@ -1,2 +1,2 @@
1
- import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-BcNfYYuu.mjs";
1
+ import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-quBYlSKD.mjs";
2
2
  export { buildChromeLogoContent, buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildLogoViewModel, buildMenu, buildMenuViewModel, getFooterNavigation, getFooterNavigationByRole, getNavigationByLocation, getPrimaryNavItems, getPrimaryNavigation, isNavDropdown, isNavLink, resolveNavigationLinkHref, transformToNavItems };