@riverbankcms/sdk 0.180.0 → 0.182.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-Bvw2bUif.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
  9. package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
  10. package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
  11. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
  12. package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
  13. package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.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-DtQuFlID.d.ts} +6 -6
  54. package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
  55. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.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-BYOe7MCh.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
  93. package/dist/client/client.mjs +106 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.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-rIYPziZC.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
  119. package/dist/client/portal/client.mjs +12202 -7166
  120. package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
  121. package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
  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-Bnng7JFA.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.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-CmXh3JWs.mjs} +233 -91
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.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-DXb_Evl0.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.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-BHTBA48n.mjs} +90 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-CeMywaiD.mjs +1485 -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/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
  182. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
  183. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
  184. package/dist/server/manifest.mjs +36 -25
  185. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  186. package/dist/server/media-BRmYrnzb.mjs +31 -0
  187. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  188. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
  189. package/dist/server/navigation.mjs +1 -1
  190. package/dist/server/next.mjs +134 -81
  191. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
  192. package/dist/server/page-converter.mjs +3 -3
  193. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
  194. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
  195. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
  196. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
  197. package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
  198. package/dist/server/portal.mjs +3 -3
  199. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  200. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
  203. package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +10 -9
  209. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
  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-BcFuhhD7.mjs} +22 -21
  214. package/dist/server/theme-bridge.mjs +34 -8
  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-BovmbS8N.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1098 -1885
  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
@@ -1,2 +1,2 @@
1
- import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-BJuOzxzn.mjs";
1
+ import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-CG8O31Eo.mjs";
2
2
  export { PageContent, toPageHydrationBootstrapConfig };
@@ -1,2 +1,2 @@
1
- import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-CIOL3-9t.mjs";
1
+ import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-CBLke9pJ.mjs";
2
2
  export { loadPage, loadPageWithDeps };
@@ -1,2 +1,2 @@
1
- import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-BnSuoHON.mjs";
1
+ import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-D2-YMRei.mjs";
2
2
  export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteBlockRenderContext };
@@ -1,9 +1,9 @@
1
- import { d as MissingBlockOverrideError } from "../pageShared-BJuOzxzn.mjs";
2
- import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "../servicePageContent-CRKbTm_7.mjs";
1
+ import { d as MissingBlockOverrideError } from "../pageShared-CG8O31Eo.mjs";
2
+ import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "../servicePageContent-BcFuhhD7.mjs";
3
3
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
4
4
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
5
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-D6WrRCxX.mjs";
6
- import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-BiHmsvTZ.mjs";
5
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-hGoyEdjJ.mjs";
6
+ import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-DUgCEH8z.mjs";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  //#region src/rendering/components/Block.server.tsx
9
9
  /**
@@ -1,14 +1,15 @@
1
- import { x as resolveAuthoredLinkHref } from "./pageRenderPlan-DJo_obpi.mjs";
2
- import { Zi as parseFieldDefinition, at as computeMediaTransformStyle, ct as resolveImageUrlWithContext$1, ft as buildResolveImageUrlContext, nt as RichText$2, ot as resolveImageSourceSetWithContext$1, st as resolveImageUrl$1, xs as sanitizeHref } from "./registry-CvhFwbXJ.mjs";
3
- 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";
4
- import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-BJuOzxzn.mjs";
5
- import { C as projectRepeaterGridLayout$1, b as admitLayoutGridForPlan, w as projectRepeaterGridLayoutForRendering$1, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-BnSuoHON.mjs";
6
- import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "./servicePageContent-CRKbTm_7.mjs";
1
+ import { x as resolveAuthoredLinkHref } from "./pageRenderPlan-BHrmogsW.mjs";
2
+ import { ct as resolveImageUrl$1, lt as resolveImageUrlWithContext$1, ot as computeMediaTransformStyle, pt as buildResolveImageUrlContext, rt as RichText$2, st as resolveImageSourceSetWithContext$1, va as parseFieldDefinition } from "./registry-Cc88-23f.mjs";
3
+ import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-CG8O31Eo.mjs";
4
+ import { C as projectRepeaterGridLayout$1, b as admitLayoutGridForPlan, w as projectRepeaterGridLayoutForRendering$1, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-D2-YMRei.mjs";
5
+ import { m as sanitizeHref } from "./typeGuards-CTW_9AXq.mjs";
6
+ 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";
7
+ import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "./servicePageContent-BcFuhhD7.mjs";
7
8
  import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
8
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-vgWMz1uD.mjs";
9
- import { t as loadPage } from "./loadPage-CIOL3-9t.mjs";
9
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D0prFflT.mjs";
10
+ import { t as loadPage } from "./loadPage-CBLke9pJ.mjs";
10
11
  import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
11
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-D6WrRCxX.mjs";
12
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-hGoyEdjJ.mjs";
12
13
  import "react";
13
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
15
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1,6 +1,6 @@
1
- import { a as rethrowFrameworkSignal } from "./responseMedia-KRKguBC5.mjs";
1
+ import { a as rethrowFrameworkSignal } from "./responseMedia-IfH65QAH.mjs";
2
2
  import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
3
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-BZh57-ua.mjs";
3
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-BxUETRIZ.mjs";
4
4
  import { c as toEntrySubrouteContext } from "./resolvePageContent-BWKUZUIn.mjs";
5
5
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
6
6
  import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-lMRTfG5Z.mjs";
@@ -1,4 +1,4 @@
1
- import { d as resolveManagedMediaReference, i as mediaSchema, l as renderableMediaAssetSchema, u as indexRenderableMediaAssets } from "./media-luf7RF22.mjs";
1
+ import { d as resolveManagedMediaReference, i as mediaSchema, l as renderableMediaAssetSchema, u as indexRenderableMediaAssets } from "./media-gvfIw3z8.mjs";
2
2
  //#region ../site-contracts/src/identity/loaderEndpoints.ts
3
3
  const SUPPORTED_LOADER_ENDPOINTS = [
4
4
  "listPublishedEntries",
@@ -1,6 +1,7 @@
1
- import { Ct as paletteColorsFromEntries, Et as parseColorTokenParts, Ot as themeColorTokenSchema, St as paletteColorEntries, bt as isThemeColorToken, x as buttonSystemSchema, yt as hexColorSchema } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { D as asSiteStyleId, a as declarationValueSchema, c as accordionIconColorTokenValues, f as decorativeTransitionIntentValues, g as headingDecorationOverrideValues, h as headingDecorationColorTokenValues, i as customCssRulesSchema, l as accordionIconMotionValues, m as eyebrowTreatmentValues, n as blockCustomCssRulesSchema, o as declarationsSchema, p as eventListTreatmentValues, s as selectorSchema, u as accordionIconSetValues, v as tileTreatmentValues, y as visibleHeadingDecorationFamilyValues } from "./customCss-BZ8YSrQg.mjs";
3
- import { i as mediaSchema, n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-luf7RF22.mjs";
1
+ import { G as paletteColorsFromEntries, H as isThemeColorToken, J as parseColorTokenParts, V as hexColorSchema, W as paletteColorEntries, X as themeColorTokenSchema, u as buttonSystemSchema } from "./types-BKaBZFjD.mjs";
2
+ import { _ as headingDecorationColorTokenValues, b as tileTreatmentValues, c as declarationsSchema, d as accordionIconMotionValues, f as accordionIconSetValues, g as eyebrowTreatmentValues, h as eventListTreatmentValues, i as containsRemoteUrl, k as asSiteStyleId, l as selectorSchema, m as decorativeTransitionIntentValues, n as blockCustomCssRulesSchema, o as customCssRulesSchema, r as containsJavascriptUrl, s as declarationValueSchema, u as accordionIconColorTokenValues, v as headingDecorationOverrideValues, x as visibleHeadingDecorationFamilyValues } from "./customCss-C9kgPHvr.mjs";
3
+ import { n as accordionSystemSchema } from "./accordions-By_0Ykks.mjs";
4
+ import { i as mediaSchema, n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-gvfIw3z8.mjs";
4
5
  import { z } from "zod";
5
6
  //#region ../site-contracts/src/identity/siteStyleLooks.ts
6
7
  /** Deterministic fallback order; Fulcrum is the default. */
@@ -215,114 +216,6 @@ function validateUniqueCardVariantRoles(system, ctx) {
215
216
  }
216
217
  const cardSystemSchema = z.object({ variants: z.array(cardVariantSchema).min(1).max(3) }).superRefine(validateUniqueCardVariantRoles);
217
218
  //#endregion
218
- //#region ../site-contracts/src/theme/accordions.ts
219
- /**
220
- * Accordion icon styles for expand/collapse indicators
221
- */
222
- const accordionIconSchema = z.enum([
223
- "plus-minus",
224
- "chevron",
225
- "caret",
226
- "arrow",
227
- "circle-plus-minus"
228
- ]);
229
- /**
230
- * Accordion configuration for a theme
231
- * Single style per theme (no variants needed)
232
- */
233
- const accordionSystemSchema = z.object({
234
- background: z.object({
235
- type: z.literal("solid"),
236
- colorToken: themeColorTokenSchema
237
- }).nullable(),
238
- spacing: z.enum([
239
- "none",
240
- "compact",
241
- "cozy",
242
- "medium",
243
- "comfortable",
244
- "spacious"
245
- ]),
246
- corners: z.enum([
247
- "square",
248
- "soft",
249
- "rounded",
250
- "pill"
251
- ]).nullable(),
252
- border: z.object({
253
- widthClass: z.string(),
254
- colorToken: themeColorTokenSchema
255
- }).nullable(),
256
- shadow: z.object({
257
- elevation: z.enum([
258
- "none",
259
- "low",
260
- "medium",
261
- "high"
262
- ]),
263
- softness: z.enum([
264
- "soft",
265
- "crisp",
266
- "hard"
267
- ]).nullable(),
268
- position: z.enum(["bottom", "bottom-right"])
269
- }).nullable(),
270
- icon: z.object({
271
- style: accordionIconSchema,
272
- position: z.enum(["left", "right"]),
273
- size: z.enum([
274
- "sm",
275
- "md",
276
- "lg"
277
- ]),
278
- colorToken: themeColorTokenSchema.optional()
279
- }),
280
- trigger: z.object({
281
- textColorToken: themeColorTokenSchema,
282
- fontWeight: z.enum([
283
- "regular",
284
- "medium",
285
- "semibold",
286
- "bold"
287
- ]).nullable(),
288
- fontFamily: z.enum(["body", "heading"]).optional(),
289
- fontScale: z.enum([
290
- "body",
291
- "md",
292
- "lg"
293
- ]).optional(),
294
- letterSpacing: z.enum([
295
- "normal",
296
- "tight",
297
- "wide"
298
- ]).optional(),
299
- textTransform: z.enum(["none", "uppercase"]).optional()
300
- }),
301
- hover: z.object({
302
- backgroundColorToken: themeColorTokenSchema.optional(),
303
- textColorToken: themeColorTokenSchema.optional(),
304
- borderColorToken: themeColorTokenSchema.optional()
305
- }),
306
- openState: z.object({
307
- backgroundColorToken: themeColorTokenSchema.optional(),
308
- triggerColorToken: themeColorTokenSchema.optional(),
309
- accent: z.object({
310
- edge: z.enum([
311
- "left",
312
- "top",
313
- "bottom"
314
- ]),
315
- colorToken: themeColorTokenSchema,
316
- thickness: z.enum([
317
- "thin",
318
- "medium",
319
- "thick"
320
- ])
321
- }).optional()
322
- }).optional(),
323
- content: z.object({ textColorToken: themeColorTokenSchema })
324
- });
325
- //#endregion
326
219
  //#region ../site-contracts/src/theme/inputs.ts
327
220
  /**
328
221
  * Input styling configuration for a theme
@@ -1445,8 +1338,12 @@ const supportsAtRuleSchema = z.object({
1445
1338
  function containsBlockedAtRule(css) {
1446
1339
  return BLOCKED_AT_RULE_PATTERN.test(css);
1447
1340
  }
1448
- /** Raw CSS validation - blocks @import, @charset, must start with @ */
1449
- const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` });
1341
+ /**
1342
+ * Raw CSS validation - blocks @import, @charset, must start with @.
1343
+ * A raw at-rule holds whole declarations, so it gets the same url() and
1344
+ * javascript: checks as a typed rule's declaration values.
1345
+ */
1346
+ const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` }).refine((css) => !containsRemoteUrl(css), { message: "Remote url() references are not allowed. Use local paths, data URIs, or fragment IDs." }).refine((css) => !containsJavascriptUrl(css), { message: "javascript: URLs are not allowed" });
1450
1347
  /** Raw at-rule schema */
1451
1348
  const rawAtRuleSchema = z.object({
1452
1349
  id: ruleIdSchema,
@@ -1,4 +1,4 @@
1
- import { t as createRiverbankClient } from "./client-m0ylCj_f.mjs";
2
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-vgWMz1uD.mjs";
3
- import { t as loadPage } from "./loadPage-CIOL3-9t.mjs";
1
+ import { t as createRiverbankClient } from "./client-DrwlRNAH.mjs";
2
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D0prFflT.mjs";
3
+ import { t as loadPage } from "./loadPage-CBLke9pJ.mjs";
4
4
  export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
@@ -1,10 +1,11 @@
1
- import { at as arrangementContentFacts, b as describePublicRefundPolicy, c as createCustomBlockRegistry, y as PUBLIC_FREE_CANCELLATION } from "./pageRenderPlan-DJo_obpi.mjs";
2
- import { $a as componentRuntimeRulesForTheme, Go as appearancePresets, Hs as isCanonicalRichTextDoc, In as registrationDataForEventSelection, Ja as buildInitialPolicyPageDesignIntent, Ji as parseInlineTextFromUnknown, Ka as applyBlockContentVariantPolicy, Ki as inlineTextToPlainText, Nn as planWholeSeriesParentBooking, Pr as blockDesignCapabilityMapFromDefinitions, Qa as componentRuntimeRulesForSiteStyle, Qn as siteHeaderManifest, Rn as selectionRepresentativeEvent, So as pageDesignDecisionsV2Schema, Ya as deriveSiteStyleBlockPolicy, Yi as plainTextToInlineText, Zi as parseFieldDefinition, _c as unsafeAsEventCategoryId, ao as stripCompiledRuntimeStyleFields, eo as designRuntimeRulesForSiteStyle, gc as unsafeAsContentEntryId, i as systemBlockDefinitions, is as resolveRepeaterGridSpanFieldId, js as EVENT_PRESET_VALUES, na as isRecord, ns as resolveRepeaterGridColumnFieldId, oc as offeringLabelForPageSurfaceSubject, oo as surfaceResolutionContextFromTheme, pi as parseBackgroundContent, qa as applySiteStyleBlockPoliciesToPageDesignIntent, ro as requireCuratedSiteStyle, rs as resolveRepeaterGridRowFieldId, t as getBlockDefinition, to as designRuntimeRulesForTheme, vo as parsePageDesignIntent, wa as parseListLook, yo as rebasePageDesignIntentToSiteStyle } from "./registry-CvhFwbXJ.mjs";
3
- import { S as asDesignBlockId, T as asLayoutVariantKey, b as asAppearancePresetId } from "./customCss-BZ8YSrQg.mjs";
4
- import { i as mediaSchema } from "./media-luf7RF22.mjs";
5
- import { D as resolveRepeaterGridAcceptedSpans, E as normalizeRepeaterGridSpan, P as readPublishedBlockPlacement, S as fieldPlanToZod, T as flowRepeaterGridItems, _ as findNonPortableManifestMediaPaths, g as deriveRenderableManifestContent, h as compileManifestContentContract, m as admitTransportedRenderableManifestContent, p as admitStoredManifestContentForRendering, v as registeredManifestContentContract, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-BnSuoHON.mjs";
6
- import { i as createRichTextDoc, o as isRecord$1, r as buildRichTextSchema } from "./richTextSchema-QLaQrbII.mjs";
7
- import { a as buildPageDesignBlockBinding, c as compileEditorModelRuntime, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as buildPageDesignEditorReadModel, r as resolveRuntimeJoinFacts, s as applyCompiledRuntimeFieldsToContent, t as applyBindingsToContent } from "./bindings-CS6ih1Yc.mjs";
1
+ import { b as describePublicRefundPolicy, c as createCustomBlockRegistry, nt as arrangementContentFacts, y as PUBLIC_FREE_CANCELLATION } from "./pageRenderPlan-BHrmogsW.mjs";
2
+ import { $n as selectionRepresentativeEvent, Fo as pageDesignDecisionsV2Schema, Gn as isOrdinaryPublicEvent, Jn as planWholeSeriesParentBooking, Js as isCanonicalRichTextDoc, Ls as EVENT_PRESET_VALUES, Mo as rebasePageDesignIntentToSiteStyle, Ni as parseBackgroundContent, Sc as unsafeAsContentEntryId, Zn as registrationDataForEventSelection, _s as resolveRepeaterGridSpanFieldId, a as systemBlockDefinitions, bo as stripCompiledRuntimeStyleFields, co as applySiteStyleBlockPoliciesToPageDesignIntent, ei as blockDesignCapabilityMapFromDefinitions, fc as offeringLabelForPageSurfaceSubject, ga as plainTextToInlineText, go as designRuntimeRulesForTheme, gs as resolveRepeaterGridRowFieldId, ha as parseInlineTextFromUnknown, ho as designRuntimeRulesForSiteStyle, hs as resolveRepeaterGridColumnFieldId, jo as parsePageDesignIntent, lo as buildInitialPolicyPageDesignIntent, mo as componentRuntimeRulesForTheme, os as appearancePresets, pa as inlineTextToPlainText, po as componentRuntimeRulesForSiteStyle, so as applyBlockContentVariantPolicy, t as getBlockDefinition, uo as deriveSiteStyleBlockPolicy, va as parseFieldDefinition, vo as requireCuratedSiteStyle, vr as siteHeaderManifest, xo as surfaceResolutionContextFromTheme, za as parseListLook } from "./registry-Cc88-23f.mjs";
3
+ import { D as asLayoutVariantKey, S as asAppearancePresetId, w as asDesignBlockId } from "./customCss-C9kgPHvr.mjs";
4
+ import { h as unsafeAsEventCategoryId } from "./portalQuestions-oUyohgL9.mjs";
5
+ import { D as resolveRepeaterGridAcceptedSpans, E as normalizeRepeaterGridSpan, P as readPublishedBlockPlacement, S as fieldPlanToZod, T as flowRepeaterGridItems, _ as findNonPortableManifestMediaPaths, g as deriveRenderableManifestContent, h as compileManifestContentContract, m as admitTransportedRenderableManifestContent, p as admitStoredManifestContentForRendering, v as registeredManifestContentContract, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-D2-YMRei.mjs";
6
+ import { d as createRichTextDoc, h as isRecord, n as isRecord$1, u as buildRichTextSchema } from "./typeGuards-CTW_9AXq.mjs";
7
+ import { i as mediaSchema } from "./media-gvfIw3z8.mjs";
8
+ import { a as buildPageDesignBlockBinding, c as compileEditorModelRuntime, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as buildPageDesignEditorReadModel, r as resolveRuntimeJoinFacts, s as applyCompiledRuntimeFieldsToContent, t as applyBindingsToContent } from "./bindings-DMJH4bvo.mjs";
8
9
  import { z } from "zod";
9
10
  //#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
10
11
  function asContentTemplateDesignBlockId(value) {
@@ -517,9 +518,9 @@ Object.freeze({
517
518
  */
518
519
  const SECTION_VALUES_CONTENT_KEY = "sections";
519
520
  function readStoredSectionValues(content) {
520
- if (!isRecord$1(content)) return {};
521
+ if (!isRecord(content)) return {};
521
522
  const sections = content[SECTION_VALUES_CONTENT_KEY];
522
- return isRecord$1(sections) ? sections : {};
523
+ return isRecord(sections) ? sections : {};
523
524
  }
524
525
  //#endregion
525
526
  //#region ../content-model/src/page-sections/facts.ts
@@ -1367,7 +1368,7 @@ function ensureFieldValue(field, raw, ctx) {
1367
1368
  return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
1368
1369
  }
1369
1370
  function ensureRepeaterItem(field, value, ctx) {
1370
- const itemData = isRecord$1(value) ? value : {};
1371
+ const itemData = isRecord(value) ? value : {};
1371
1372
  const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
1372
1373
  const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
1373
1374
  return {
@@ -1445,7 +1446,7 @@ function pageSectionBlockKind(kind) {
1445
1446
  /** Section Looks stored on the template anchor. Full pages only: booking pages always use the style's default (README decision 8). */
1446
1447
  function pageSectionLookOverrides(blocks) {
1447
1448
  const looks = blocks.find((block) => block.blockKind === PAGE_SECTIONS_ANCHOR_BLOCK_KIND)?.content?.looks;
1448
- return isRecord(looks) ? looks : {};
1449
+ return isRecord$1(looks) ? looks : {};
1449
1450
  }
1450
1451
  /** Pure, shared by public pages and preview. Empty values disappear before layout. */
1451
1452
  function compilePageSections(input, lookOverrides) {
@@ -1530,7 +1531,7 @@ function readStringProperty(value, key) {
1530
1531
  return trimmed.length > 0 ? trimmed : null;
1531
1532
  }
1532
1533
  function readLiteralBindingString(value) {
1533
- if (!isRecord(value)) return null;
1534
+ if (!isRecord$1(value)) return null;
1534
1535
  if (value.source !== "literal") return null;
1535
1536
  const literal = value.value;
1536
1537
  if (typeof literal !== "string") return null;
@@ -1610,7 +1611,7 @@ function resolveRenderableSurfaceOutlineMetadata(surface, template) {
1610
1611
  function buildContentEntrySubjectBindingContext(entry, id, route, dateContext, subject) {
1611
1612
  return {
1612
1613
  dateContext,
1613
- fields: isRecord(entry.content) ? entry.content : {},
1614
+ fields: isRecord$1(entry.content) ? entry.content : {},
1614
1615
  meta: {
1615
1616
  ...subject === void 0 ? {} : { subject },
1616
1617
  id,
@@ -1638,8 +1639,8 @@ function buildContentEntryRouteRenderMetadata(entry, page) {
1638
1639
  };
1639
1640
  }
1640
1641
  function materializeTemplateBlockContent(input) {
1641
- const rawContent = isRecord(input.block.content) ? { ...input.block.content } : {};
1642
- return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord(input.block.bindings) ? applyBindingsToContent(rawContent, input.block.bindings, input.context) : rawContent, input.runtimeFields);
1642
+ const rawContent = isRecord$1(input.block.content) ? { ...input.block.content } : {};
1643
+ return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord$1(input.block.bindings) ? applyBindingsToContent(rawContent, input.block.bindings, input.context) : rawContent, input.runtimeFields);
1643
1644
  }
1644
1645
  /**
1645
1646
  * Admits materialized template content for rendering only.
@@ -1733,7 +1734,7 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
1733
1734
  kind: block.blockKind,
1734
1735
  purpose: "content",
1735
1736
  publishedPlacement: null,
1736
- ...isRecord(block.bindings) ? { bindings: block.bindings } : {}
1737
+ ...isRecord$1(block.bindings) ? { bindings: block.bindings } : {}
1737
1738
  };
1738
1739
  if (contract === null) return [invalidRenderableBlock(base, { kind: "manifest_unavailable" })];
1739
1740
  const materialized = materializeTemplateBlockContent({
@@ -1741,7 +1742,7 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
1741
1742
  context,
1742
1743
  runtimeFields
1743
1744
  });
1744
- if (block.scope === "entry" && isRecord(block.bindings) && isEntryBoundBlockEmpty(materialized, block.bindings, contract)) return [];
1745
+ if (block.scope === "entry" && isRecord$1(block.bindings) && isEntryBoundBlockEmpty(materialized, block.bindings, contract)) return [];
1745
1746
  const admission = admitMaterializedTemplateContent(materialized, contract);
1746
1747
  return [admission.ok ? {
1747
1748
  ...base,
@@ -1758,7 +1759,7 @@ function applyTemplateRuntimeFields(content, runtimeFields) {
1758
1759
  return applyMissingImageBackgroundFallback(canonicalizeSectionBackground(runtimeFields !== null && runtimeFields !== void 0 ? applyCompiledRuntimeFieldsToContent(content, runtimeFields) : content));
1759
1760
  }
1760
1761
  function canonicalizeSectionBackground(content) {
1761
- const sectionStyles = isRecord(content._sectionStyles) ? content._sectionStyles : null;
1762
+ const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
1762
1763
  if (sectionStyles === null || sectionStyles.background === void 0) return content;
1763
1764
  const background = parseBackgroundContent(sectionStyles.background);
1764
1765
  return background !== null ? {
@@ -1770,7 +1771,7 @@ function canonicalizeSectionBackground(content) {
1770
1771
  } : content;
1771
1772
  }
1772
1773
  function applyMissingImageBackgroundFallback(content) {
1773
- const sectionStyles = isRecord(content._sectionStyles) ? content._sectionStyles : null;
1774
+ const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
1774
1775
  const background = parseBackgroundContent(sectionStyles?.background);
1775
1776
  if (sectionStyles === null || background?.type !== "image" || background.image !== null && background.image !== void 0) return content;
1776
1777
  const fallbackColor = resolveMissingImageFallbackColor(background);
@@ -1837,7 +1838,7 @@ function isPageTitleBlock(block, runtime) {
1837
1838
  return block.blockKind === "block.hero" && block.scope === "entry" && (isEntryTitleBinding(block.bindings?.headlineInline) || isEntryTitleBinding(block.bindings?.headline));
1838
1839
  }
1839
1840
  function isEntryTitleBinding(binding) {
1840
- if (!isRecord(binding)) return false;
1841
+ if (!isRecord$1(binding)) return false;
1841
1842
  return binding.source === "meta" && binding.path === "title" || binding.source === "transform" && isEntryTitleBinding(binding.input);
1842
1843
  }
1843
1844
  /**
@@ -2463,7 +2464,7 @@ function bookingMainBlocks(event, identity, hasDetails) {
2463
2464
  showAcceptedMemberships: true,
2464
2465
  showCost: true,
2465
2466
  showMap: true,
2466
- showOtherDates: true,
2467
+ showOtherDates: !isOrdinaryPublicEvent(event),
2467
2468
  showVenue: true
2468
2469
  }
2469
2470
  }] : [],
@@ -1,5 +1,6 @@
1
- import { G as hexToRgb, M as isOnColorBackgroundCandidateToken, N as onColorTokenName, P as getTextColorForBackground, S as buttonVariantIdSchema, a as formatButtonColourContractError, gt as textColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, p as generateProgressCss, r as compileCustomCssRules, t as ThemeScopeCore, v as INPUT_GROUP_ERROR_SELECTOR, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BQzjDQ2q.mjs";
1
+ import { F as textColorValue, d as buttonVariantIdSchema, s as unsafeAsOpaqueButtonColourToken, x as surfaceForegroundDeclarations } from "./types-BKaBZFjD.mjs";
2
+ import { A as onColorTokenName, T as paletteInkRoles, U as hexToRgb, i as groundMutedInkTokens, k as isOnColorBackgroundCandidateToken, p as formatButtonColourContractError, u as compileButtonColourStates, w as paletteInkOnSolid } from "./expandPalette-ehuW8r2g.mjs";
3
+ import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, b as INPUT_GROUP_SELECTOR, f as generateTypographyCss, i as compileCustomCssRules, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, p as generateProgressCss, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BfUCTOwj.mjs";
3
4
  import * as React$1 from "react";
4
5
  import { jsx } from "react/jsx-runtime";
5
6
  import { z } from "zod";
@@ -250,23 +251,48 @@ function hexToRgbChannels(hex) {
250
251
  throw new Error(`[ThemeBridge] Invalid token value "${hex}": expected a valid hex colour, CSS var(), or RGB channel value.`);
251
252
  }
252
253
  }
254
+ /**
255
+ * The same on-colour rules as the hosted palette: the bridge's own background
256
+ * or text where it reads, else black or white, the muted inks on the
257
+ * surface and the page background, and any tint faded so those inks read on
258
+ * it. Tokens the site sets itself win.
259
+ */
253
260
  function deriveConcreteBridgeOnTokens(tokens) {
261
+ const onTokens = deriveOnTokens(tokens);
262
+ return {
263
+ ...onTokens,
264
+ ...deriveMutedInks({
265
+ ...tokens,
266
+ ...onTokens
267
+ })
268
+ };
269
+ }
270
+ function deriveOnTokens(tokens) {
271
+ const roles = paletteInkRoles(opaqueHexTokens(tokens));
254
272
  return Object.fromEntries(Object.entries(tokens).flatMap(([name, value]) => {
255
273
  if (!isOnColorBackgroundCandidateToken(name)) return [];
256
274
  const hex = rgbChannelsToOpaqueHex(value);
257
275
  const onToken = onColorTokenName(name);
258
- return hex === null || tokens[onToken] !== void 0 ? [] : [[onToken, hexToRgbChannels(getTextColorForBackground(hex))]];
276
+ return hex === null || tokens[onToken] !== void 0 ? [] : [[onToken, hexToRgbChannels(paletteInkOnSolid(hex, roles).hex)]];
277
+ }));
278
+ }
279
+ /** A muted token the site sets itself wins, even as a `var()` the hex palette can't see. */
280
+ function deriveMutedInks(tokens) {
281
+ return Object.fromEntries(Object.entries(groundMutedInkTokens(opaqueHexTokens(tokens))).filter(([token]) => tokens[token] === void 0).map(([token, hex]) => [token, hexToRgbChannels(hex)]));
282
+ }
283
+ /** The bridge tokens that are opaque RGB channels, as hex. */
284
+ function opaqueHexTokens(tokens) {
285
+ return Object.fromEntries(Object.entries(tokens).flatMap(([name, value]) => {
286
+ const hex = rgbChannelsToOpaqueHex(value);
287
+ return hex === null ? [] : [[name, hex]];
259
288
  }));
260
289
  }
261
290
  function buildBridgeButtonPalette(tokens) {
262
291
  return {
263
- ...Object.fromEntries(Object.entries({
292
+ ...opaqueHexTokens({
264
293
  ...tokens,
265
294
  ...deriveConcreteBridgeOnTokens(tokens)
266
- }).flatMap(([name, value]) => {
267
- const hex = rgbChannelsToOpaqueHex(value);
268
- return hex === null ? [] : [[name, hex]];
269
- })),
295
+ }),
270
296
  meta: { mode: "light" }
271
297
  };
272
298
  }
@@ -1,5 +1,5 @@
1
- import { i as themeSchema$1 } from "./schema-BpsqaSSU.mjs";
2
- import { t as parseThemeForPersistence } from "./parseThemeForPersistence-DOsfofCy.mjs";
1
+ import { i as themeSchema$1 } from "./schema-CwfxQjc4.mjs";
2
+ import { t as parseThemeForPersistence } from "./parseThemeForPersistence-CrPlbJEN.mjs";
3
3
  import * as fs from "fs/promises";
4
4
  import * as path from "path";
5
5
  //#region src/theme/loader.ts
@@ -1,5 +1,5 @@
1
- import { n as RichTextDocSchema, t as createRichTextDocFromMarkdown } from "./richTextSchema-QLaQrbII.mjs";
2
- import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-Cu-3PRvv.mjs";
1
+ import { c as createRichTextDocFromMarkdown, l as RichTextDocSchema } from "./typeGuards-CTW_9AXq.mjs";
2
+ import { a as isCustomBlockClassName, l as ALLOWED_TRANSFORM_IDS, o as LAYOUT_Z_INDEX_RULE, r as customBlockLayoutPropIssues, s as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-NhK6azFS.mjs";
3
3
  import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/manifest/prompt/theme-summary.ts
@@ -162,6 +162,12 @@ function formatThemeSummaryForPrompt(summary) {
162
162
  //#endregion
163
163
  //#region src/manifest/validation/layout-utils.ts
164
164
  /**
165
+ * Layout Utilities
166
+ *
167
+ * Shared utility functions for traversing and extracting information from layout trees.
168
+ * Used by both pass3-styling.ts and output-schema.ts.
169
+ */
170
+ /**
165
171
  * Collect node information from a layout tree.
166
172
  * Returns an array of NodeInfo objects with path, type, and binding information.
167
173
  */
@@ -196,6 +202,18 @@ function collectLayoutClassNames(node, out = /* @__PURE__ */ new Set()) {
196
202
  if (Array.isArray(n.children)) for (const child of n.children) collectLayoutClassNames(child, out);
197
203
  return out;
198
204
  }
205
+ const UNSAFE_PROP_SUGGESTION = `Change or remove this prop. Inline styles take layout, spacing, type, colour and border properties with plain values, and ${LAYOUT_Z_INDEX_RULE}. Classes are Tailwind utilities or your own, starting "cb-". For images, bind a media field to a media node or use a background.* transform instead of url().`;
206
+ /**
207
+ * Props that are unsafe to render fail config validation when the block is
208
+ * saved, so report them to the model while it can still correct the layout.
209
+ */
210
+ function layoutPropErrors(layout, blockId) {
211
+ return customBlockLayoutPropIssues(layout).map((issue) => ({
212
+ path: issue.path,
213
+ message: `Block "${blockId}": ${issue.message}`,
214
+ suggestion: UNSAFE_PROP_SUGGESTION
215
+ }));
216
+ }
199
217
  //#endregion
200
218
  //#region src/manifest/validation/output-schema.ts
201
219
  /**
@@ -1050,13 +1068,13 @@ function validateBinding(bind, path, ctx) {
1050
1068
  return errors;
1051
1069
  }
1052
1070
  /**
1053
- * Deep validation of layout tree for allowed node types, transforms, and bindings.
1071
+ * Deep validation of layout tree for allowed node types, transforms, bindings and safe props.
1054
1072
  */
1055
1073
  function validateLayoutDeep(node, blockId, fields, path = "layout") {
1056
- return validateLayoutNode(node, path, {
1074
+ return [...validateLayoutNode(node, path, {
1057
1075
  blockId,
1058
1076
  fieldIds: collectFieldIds(fields)
1059
- });
1077
+ }), ...layoutPropErrors(node, blockId)];
1060
1078
  }
1061
1079
  /**
1062
1080
  * Recursively validate a layout node and its children.
@@ -1904,7 +1922,7 @@ function validatePass3aOutput(output, layout) {
1904
1922
  if (seenPaths.has(patch.nodePath)) {}
1905
1923
  seenPaths.add(patch.nodePath);
1906
1924
  if (!getNodeAtPath(layout, patch.nodePath)) errors.push(`Invalid nodePath "${patch.nodePath}": node does not exist in layout`);
1907
- if (!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(patch.className)) errors.push(`Invalid className "${patch.className}": must be a valid CSS class name (no spaces, start with letter/underscore/hyphen)`);
1925
+ if (!isCustomBlockClassName(patch.className)) errors.push(`Invalid className "${patch.className}": must be a valid CSS class name in kebab-case starting "cb-" (no spaces), e.g. "cb-hero-title"`);
1908
1926
  }
1909
1927
  return errors;
1910
1928
  }
@@ -1990,11 +2008,11 @@ You will output className patches - a list of which nodes get which class names.
1990
2008
  ## RULES
1991
2009
 
1992
2010
  1. Assign classNames to nodes that need custom styling
1993
- 2. Use descriptive, semantic class names (e.g., "hero-title", "cta-button", "feature-grid")
2011
+ 2. Use descriptive, semantic class names starting "cb-" (e.g., "cb-hero-title", "cb-cta-button", "cb-feature-grid")
1994
2012
  3. Use nodePath EXACTLY as shown in the available paths list
1995
2013
  4. The root node is referenced as "" (empty string)
1996
2014
  5. You can assign multiple patches to different nodes
1997
- 6. Use kebab-case for class names (e.g., "hero-title" not "heroTitle")
2015
+ 6. Use kebab-case for class names (e.g., "cb-hero-title" not "heroTitle")
1998
2016
 
1999
2017
  ## OUTPUT FORMAT
2000
2018
 
@@ -2013,11 +2031,11 @@ Output:
2013
2031
  \`\`\`json
2014
2032
  {
2015
2033
  "classNamePatches": [
2016
- { "nodePath": "", "className": "hero-section" },
2017
- { "nodePath": "children[0]", "className": "hero-title" },
2018
- { "nodePath": "children[1]", "className": "hero-body" }
2034
+ { "nodePath": "", "className": "cb-hero-section" },
2035
+ { "nodePath": "children[0]", "className": "cb-hero-title" },
2036
+ { "nodePath": "children[1]", "className": "cb-hero-body" }
2019
2037
  ],
2020
- "rationale": "Added semantic class names to enable styling. The root section gets 'hero-section' for container styles, the headline gets 'hero-title' for typography, and the body gets 'hero-body' for paragraph styling."
2038
+ "rationale": "Added semantic class names to enable styling. The root section gets 'cb-hero-section' for container styles, the headline gets 'cb-hero-title' for typography, and the body gets 'cb-hero-body' for paragraph styling."
2021
2039
  }
2022
2040
  \`\`\`
2023
2041
  `;
@@ -2058,7 +2076,7 @@ Write CSS rules for the styled layout nodes.
2058
2076
  ## RULES
2059
2077
 
2060
2078
  1. Write selectors using ONLY the classNames listed in "AVAILABLE CLASSNAMES"
2061
- 2. Use simple selectors: \`.hero-title\`, not \`[data-block="..."] .hero-title\`
2079
+ 2. Use simple selectors: \`.cb-hero-title\`, not \`[data-block="..."] .cb-hero-title\`
2062
2080
  3. Do NOT include [data-block=...] in selectors - we add that programmatically
2063
2081
  4. Use customCssRules for base styles
2064
2082
  5. Use customCssAtRules for responsive (@media) styles
@@ -2086,7 +2104,7 @@ Use array format with camelCase properties:
2086
2104
 
2087
2105
  ## EXAMPLE
2088
2106
 
2089
- Available classNames: hero-section, hero-title, hero-body
2107
+ Available classNames: cb-hero-section, cb-hero-title, cb-hero-body
2090
2108
 
2091
2109
  Output:
2092
2110
  \`\`\`json
@@ -2094,7 +2112,7 @@ Output:
2094
2112
  "customCssRules": [
2095
2113
  {
2096
2114
  "id": "hero-title-base",
2097
- "selector": ".hero-title",
2115
+ "selector": ".cb-hero-title",
2098
2116
  "declarations": [
2099
2117
  { "property": "fontSize", "value": "2rem" },
2100
2118
  { "property": "fontWeight", "value": "bold" }
@@ -2107,7 +2125,7 @@ Output:
2107
2125
  "type": "media",
2108
2126
  "query": "(min-width: 1024px)",
2109
2127
  "rules": [{
2110
- "selector": ".hero-title",
2128
+ "selector": ".cb-hero-title",
2111
2129
  "declarations": [{ "property": "fontSize", "value": "3rem" }]
2112
2130
  }]
2113
2131
  }