@riverbankcms/sdk 0.179.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 (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. 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-BN8tweTx.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 derivePublishedRuntimeCacheKey, c as isPublishedRuntimeCacheKeyEndpoint, d as parsePublishedRuntimeCacheKeyDetails, f as parsePublishedRuntimeCachePayloadSchemaVersion, i as classifyPublishedRuntimeCacheFreshness, l as normalizeRuntimePublicPath, m as buildEndpointURL, o as resolveRuntimeCachePolicy, p as API_ENDPOINTS, s as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, t as createRiverbankClient, u as parsePublishedRuntimeCacheKey } from "./client-CGJ2ztYp.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-8jNtDXmS.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, na as isRecord, sr as resolveDateRuntimeContext, tc as resolveBookingBusinessTimeZone } from "./registry-DH1VrsCl.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-DyNSd2Yj.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-B-FezJmH.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-BN8tweTx.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) {
@@ -12,6 +13,7 @@ function toPublicBookingServiceCatalogueItem(service, categoryId) {
12
13
  requiresApproval: service.requiresApproval,
13
14
  ...service.onlinePaymentMode === void 0 ? {} : { onlinePaymentMode: service.onlinePaymentMode },
14
15
  ...service.onlinePaymentChoices === void 0 ? {} : { onlinePaymentChoices: service.onlinePaymentChoices },
16
+ ...service.onlinePayments === void 0 ? {} : { onlinePayments: service.onlinePayments },
15
17
  id: service.id,
16
18
  asksSiteTerms: service.asksSiteTerms,
17
19
  siteId: service.siteId,
@@ -286,6 +288,7 @@ function toContentTemplate(template) {
286
288
  function admitEntrySlotBlock(block, customBlocks, previewStage) {
287
289
  const base = {
288
290
  id: block.id ?? block.blockId ?? null,
291
+ ...block.identifier ? { identifier: block.identifier } : {},
289
292
  contentVersionId: block.contentVersionId,
290
293
  ...entrySlotBlockIdentity(block, previewStage),
291
294
  kind: block.kind,
@@ -1,8 +1,8 @@
1
- import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-DyNSd2Yj.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-BkK1w3QQ.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-BN8tweTx.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.
@@ -1715,6 +1726,24 @@ const blockAppearancePresets = [
1715
1726
  },
1716
1727
  styleFallback: [id("media-text-photo-beside-text")]
1717
1728
  }),
1729
+ defineArrangementLook("media-text-quote-beside-circle", "media-text", "Quote beside a round photo", "circle-beside", ["imagePosition"], {
1730
+ mediaFrame: { default: {
1731
+ kind: "fixed",
1732
+ aspectRatio: "1/1",
1733
+ borderRadius: "50%"
1734
+ } },
1735
+ thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [
1736
+ sketch.title(.6),
1737
+ sketch.quote("small"),
1738
+ sketch.text(2),
1739
+ sketch.text(1, .5)
1740
+ ])]),
1741
+ forcedKnobs: {
1742
+ imageShape: "circle",
1743
+ aspectRatio: "1/1"
1744
+ },
1745
+ styleFallback: [id("media-text-circle-beside-text"), id("media-text-photo-beside-text")]
1746
+ }),
1718
1747
  defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
1719
1748
  photoUse: "beside",
1720
1749
  thumbnail: sketch.page([sketch.middle([
@@ -1832,7 +1861,7 @@ const blockAppearancePresets = [
1832
1861
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
1833
1862
  itemRoles: { items: "card" }
1834
1863
  }),
1835
- defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1864
+ notFor(defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
1836
1865
  "media",
1837
1866
  "title",
1838
1867
  "text",
@@ -1845,8 +1874,12 @@ const blockAppearancePresets = [
1845
1874
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
1846
1875
  itemRoles: { items: "card" },
1847
1876
  styleFallback: [id("feature-cards-cards")]
1848
- }),
1849
- 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", [
1850
1883
  "media",
1851
1884
  "title",
1852
1885
  "text",
@@ -1859,8 +1892,8 @@ const blockAppearancePresets = [
1859
1892
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
1860
1893
  knobDefaults: { actionStyle: "link" },
1861
1894
  styleFallback: [id("feature-cards-cards")]
1862
- }),
1863
- 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", [
1864
1897
  "media",
1865
1898
  "title",
1866
1899
  "text",
@@ -1873,8 +1906,8 @@ const blockAppearancePresets = [
1873
1906
  ])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
1874
1907
  itemRoles: { at: { first: "statement" } },
1875
1908
  styleFallback: [id("feature-cards-cards")]
1876
- }),
1877
- defineCardListLook("feature-cards-index", "Ruled list", "index", [
1909
+ }), ["block.team-members"]),
1910
+ notFor(defineCardListLook("feature-cards-index", "Ruled list", "index", [
1878
1911
  "title",
1879
1912
  "text",
1880
1913
  "action"
@@ -1883,7 +1916,7 @@ const blockAppearancePresets = [
1883
1916
  knobDefaults: { cardMarker: "none" },
1884
1917
  knobValues: { cardMarker: ["numbers", "none"] },
1885
1918
  styleFallback: [id("feature-cards-cards")]
1886
- }),
1919
+ }), ["block.team-members", "block.shop"]),
1887
1920
  {
1888
1921
  ...defineCardListLook("feature-cards-timeline", "A timeline down the page", "index", [
1889
1922
  "title",
@@ -1915,7 +1948,7 @@ const blockAppearancePresets = [
1915
1948
  }),
1916
1949
  blockKinds: ["block.feature-cards"]
1917
1950
  },
1918
- defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
1951
+ notFor(defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
1919
1952
  "title",
1920
1953
  "text",
1921
1954
  "action"
@@ -1927,7 +1960,12 @@ const blockAppearancePresets = [
1927
1960
  ])]),
1928
1961
  forcedKnobs: { cardMarker: "numbers" },
1929
1962
  styleFallback: [id("feature-cards-cards")]
1930
- }),
1963
+ }), [
1964
+ "block.team-members",
1965
+ "block.appointment-services",
1966
+ "block.offerings-preview",
1967
+ "block.shop"
1968
+ ]),
1931
1969
  defineCardListLook("card-list-plates", "Plates", "plates", [
1932
1970
  "media",
1933
1971
  "title",
@@ -2208,7 +2246,7 @@ const blockAppearancePresets = [
2208
2246
  slotRoles: { panel: "card" },
2209
2247
  styleFallback: [id("form-beside-introduction-arched-panel")]
2210
2248
  }),
2211
- 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", [
2212
2250
  "media",
2213
2251
  "title",
2214
2252
  "text",
@@ -2227,7 +2265,7 @@ const blockAppearancePresets = [
2227
2265
  dates: "summary"
2228
2266
  },
2229
2267
  styleFallback: [id("card-list-plates"), id("feature-cards-cards")]
2230
- }),
2268
+ }), ["block.team-members", "block.appointment-services"]),
2231
2269
  defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
2232
2270
  "media",
2233
2271
  "title",
@@ -2446,6 +2484,24 @@ const blockAppearancePresets = [
2446
2484
  }),
2447
2485
  blockKinds: ["block.team-members"]
2448
2486
  },
2487
+ {
2488
+ ...defineCardListLook("team-members-person-rows", "One person per row, with facts", "stack", [
2489
+ "media",
2490
+ "title",
2491
+ "text",
2492
+ "facts"
2493
+ ], ["showPhotos"], {
2494
+ thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(2, [sketch.photo("medium", "circle"), sketch.card([sketch.text(3, .7)])]), sketch.weight(3, [
2495
+ sketch.title(.4, "small"),
2496
+ sketch.title(.6),
2497
+ sketch.text(4)
2498
+ ]))])]),
2499
+ teamBiography: "profile",
2500
+ teamFacts: "person",
2501
+ styleFallback: [id("team-members-portrait-bio")]
2502
+ }),
2503
+ blockKinds: ["block.team-members"]
2504
+ },
2449
2505
  {
2450
2506
  ...defineCardListLook("team-members-ruled-names", "Names in a ruled list", "index", [
2451
2507
  "title",
@@ -2460,7 +2516,7 @@ const blockAppearancePresets = [
2460
2516
  cardMarker: "none"
2461
2517
  },
2462
2518
  knobDefaults: { actionStyle: "link" },
2463
- styleFallback: [id("feature-cards-index")]
2519
+ styleFallback: [id("feature-cards-cards")]
2464
2520
  }),
2465
2521
  blockKinds: ["block.team-members"]
2466
2522
  },
@@ -2478,7 +2534,7 @@ const blockAppearancePresets = [
2478
2534
  sketch.button
2479
2535
  ])])]),
2480
2536
  itemRoles: { items: "card" },
2481
- styleFallback: [id("shop-ruled-prices")]
2537
+ styleFallback: []
2482
2538
  }),
2483
2539
  defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
2484
2540
  "title",
@@ -2523,7 +2579,7 @@ const blockAppearancePresets = [
2523
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 })]),
2524
2580
  forcedKnobs: { cardMarker: "none" },
2525
2581
  knobDefaults: { actionStyle: "link" },
2526
- styleFallback: [id("feature-cards-index")]
2582
+ styleFallback: [id("shop-price-cards")]
2527
2583
  }),
2528
2584
  {
2529
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 };