@riverbankcms/sdk 0.154.0 → 0.155.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 (253) hide show
  1. package/README.md +2 -0
  2. package/dist/{EventEmbeddedCheckoutStep-ba9npQtb.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
  3. package/dist/{PreviewEditorSidebar-C7FiaxlF.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +29 -20
  4. package/dist/{PreviewEditorUI-DFst50q1.mjs → PreviewEditorUI-CKKnAw11.mjs} +9 -17
  5. package/dist/{SdkPreviewModeRuntime-BUNV_YHZ.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +132 -56
  6. package/dist/{SiteChromeCustomizeContext-DEj7qppF.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +6324 -3566
  7. package/dist/{ThemedButton-C8kzu0hY.mjs → ThemedButton-Bi0rgijy.mjs} +83 -5
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +42213 -16421
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3322 -258
  10. package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
  11. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
  12. package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
  13. package/dist/_dts/api/src/bookingPeople.d.ts +1 -1
  14. package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
  15. package/dist/_dts/api/src/bookings.d.ts +8 -1
  16. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  17. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  18. package/dist/_dts/api/src/contentRuntime.d.ts +4 -3
  19. package/dist/_dts/api/src/endpoints.d.ts +1 -1
  20. package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
  21. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
  22. package/dist/_dts/api/src/index.d.ts +5 -2
  23. package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
  24. package/dist/_dts/api/src/public/types.d.ts +1 -0
  25. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
  26. package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
  27. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  28. package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
  29. package/dist/_dts/api/src/sdk-event-upsert.d.ts +22 -7
  30. package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
  31. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
  32. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
  33. package/dist/_dts/api/src/sdkThemeWire.d.ts +10 -0
  34. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  35. package/dist/_dts/api/src/siteTerms.d.ts +100 -0
  36. package/dist/_dts/api/src/types.d.ts +2 -1
  37. package/dist/_dts/api/src/webhooks.d.ts +9 -9
  38. package/dist/_dts/block-form/src/client/index.d.ts +2 -1
  39. package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
  40. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
  41. package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
  42. package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
  43. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
  44. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +22 -22
  45. package/dist/_dts/blocks/src/index.d.ts +2 -2
  46. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
  47. package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
  48. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
  49. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
  50. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +9 -5
  51. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
  52. package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
  53. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
  54. package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
  55. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
  56. package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
  57. package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
  58. package/dist/_dts/blocks/src/system/customize/facets.d.ts +44 -0
  59. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
  60. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
  61. package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
  62. package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
  63. package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
  64. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
  65. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
  66. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
  67. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
  68. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
  69. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +33 -0
  70. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
  71. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
  72. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
  73. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
  74. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  75. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
  76. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
  77. package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +6 -0
  78. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
  79. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  80. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
  81. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
  82. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
  83. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
  84. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
  85. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
  86. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +6 -0
  87. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  89. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
  90. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
  91. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
  92. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
  96. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
  97. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
  98. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
  99. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
  100. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
  101. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +20 -4
  102. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
  103. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
  104. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
  105. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
  106. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
  107. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
  108. package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
  109. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
  110. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
  111. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
  112. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -0
  113. package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
  114. package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
  115. package/dist/_dts/calendar/src/index.d.ts +2 -0
  116. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  117. package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
  118. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
  119. package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
  120. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
  121. package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
  122. package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
  123. package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
  124. package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
  125. package/dist/_dts/core/src/booking-refunds.d.ts +43 -2
  126. package/dist/_dts/core/src/branded.d.ts +6 -0
  127. package/dist/_dts/core/src/date-display.d.ts +7 -2
  128. package/dist/_dts/core/src/index.d.ts +3 -2
  129. package/dist/_dts/core/src/site-terms.d.ts +94 -0
  130. package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
  131. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +306 -0
  132. package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
  133. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
  134. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
  135. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
  136. package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
  137. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
  138. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  139. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
  140. package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
  141. package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
  142. package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
  143. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
  144. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
  145. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
  146. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
  147. package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
  148. package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
  149. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  150. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  151. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
  152. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
  153. package/dist/_dts/sdk/src/version.d.ts +1 -1
  154. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
  155. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
  156. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -8
  157. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +12 -0
  158. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  159. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
  160. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
  161. package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
  162. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  163. package/dist/_dts/theme-core/src/schema.d.ts +21 -0
  164. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
  165. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +3 -2
  166. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  167. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +56 -1
  168. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  169. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
  170. package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
  171. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -1
  172. package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
  173. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
  174. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
  175. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
  176. package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
  177. package/dist/_dts/ui/src/calendar.d.ts +6 -1
  178. package/dist/_dts/ui/src/index.d.ts +1 -1
  179. package/dist/client/{BookingMailingListNote-CNoSqFtf.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
  180. package/dist/client/{CardListItem-BkTkqBkh.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
  181. package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
  182. package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
  183. package/dist/client/{EventCombined.client-BgeYMjHJ.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
  184. package/dist/client/{EventEmbeddedCheckoutStep-BTc_lTkM.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
  185. package/dist/client/{EventListing.client-ChRs9Hl2.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
  186. package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
  187. package/dist/client/{LeafletStaticMap-C_dNQgd0.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
  188. package/dist/client/{RichText-BI9bzbjo.mjs → RichText-D3oE1_pw.mjs} +4 -4
  189. package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
  190. package/dist/client/{accordion-6Yz8Wd83.mjs → accordion-yBx6d4O2.mjs} +1 -1
  191. package/dist/client/{bookingForm-i_pKIGiY.mjs → bookingForm-CPDEsQci.mjs} +64 -35
  192. package/dist/client/bookings.mjs +6572 -3274
  193. package/dist/client/carousel-DCqjwd2s.mjs +71 -0
  194. package/dist/client/{carousel.client-BUgjPbb6.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
  195. package/dist/client/{cart-D8OBHuF4.mjs → cart-DWJXrQxs.mjs} +3 -3
  196. package/dist/client/{checkout-F3-9IGLU.mjs → checkout-CH4ypSLS.mjs} +3 -3
  197. package/dist/client/client.mjs +7379 -2504
  198. package/dist/client/{context-Dg4ZrxDD.mjs → context-BOs0m_iw.mjs} +16 -12
  199. package/dist/client/{eventCalendar-BUc7YIBM.mjs → eventCalendar-CRylMllc.mjs} +8 -319
  200. package/dist/client/{eventCombined-BwfShk2a.mjs → eventCombined-DohTS3kp.mjs} +4 -4
  201. package/dist/client/{eventDetails-BMOVC3go.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
  202. package/dist/client/{eventListing-BwE9PM-t.mjs → eventListing-Cg__X2vy.mjs} +4 -4
  203. package/dist/client/{eventRegistration-CCWPYDc7.mjs → eventRegistration-CybWxswy.mjs} +215 -237
  204. package/dist/client/{form-CXFr0Gd5.mjs → form-C-SGk6nq.mjs} +4 -4
  205. package/dist/client/{headerSection-BX8qw8kH.mjs → headerSection-BdzPaHqo.mjs} +3 -3
  206. package/dist/client/hooks.mjs +1283 -213
  207. package/dist/client/{locationMap-B3La71m0.mjs → locationMap-CEwIKmMb.mjs} +3 -3
  208. package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
  209. package/dist/client/{media-B1Cbv721.mjs → media-V_ShXXru.mjs} +3 -3
  210. package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
  211. package/dist/client/{newsletterForm-DnGyR0x7.mjs → newsletterForm-CmwTltoS.mjs} +5 -4
  212. package/dist/client/{productDetail-BVgTqvkb.mjs → productDetail-DjIzUwg3.mjs} +3 -3
  213. package/dist/client/{productList-CcO7kUQw.mjs → productList-D6JGFnMF.mjs} +3 -3
  214. package/dist/client/{propsDecoder-B1OeWavE.mjs → propsDecoder-BRKz13eg.mjs} +5110 -2504
  215. package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
  216. package/dist/client/rendering/client.mjs +6176 -2738
  217. package/dist/client/rendering/islands.mjs +19 -19
  218. package/dist/client/rendering.mjs +7656 -2726
  219. package/dist/client/{routeIslandApiConfig-Dl4vglJm.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
  220. package/dist/client/{shop-P72nX5Fs.mjs → shop-C45K96_0.mjs} +178 -157
  221. package/dist/client/{shop-commerce-Bt7uraDx.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
  222. package/dist/client/{shop-commerce-store-C1-mxSye.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
  223. package/dist/client/{shopShared-Db-cRGu3.mjs → shopShared-D54T_LAV.mjs} +5 -5
  224. package/dist/client/{useDiscountCodeUi-jvAiUoUX.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
  225. package/dist/client/{useEventPagination-BdWpCniq.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
  226. package/dist/preview-next/before-render.mjs +1 -0
  227. package/dist/preview-next/client/runtime.mjs +3 -3
  228. package/dist/preview-next/keepAlive.mjs +1 -0
  229. package/dist/preview-next/middleware.mjs +1 -0
  230. package/dist/{sdk-runtime-DLhjF2Nw.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
  231. package/dist/server/components.mjs +4514 -1408
  232. package/dist/server/config-validation.mjs +1181 -179
  233. package/dist/server/config.mjs +1147 -177
  234. package/dist/server/data.mjs +1204 -180
  235. package/dist/server/date-time.mjs +18 -7
  236. package/dist/server/index.mjs +4 -1
  237. package/dist/server/next.mjs +4533 -1429
  238. package/dist/server/page-converter.mjs +1054 -173
  239. package/dist/server/prebuild.mjs +1 -1
  240. package/dist/server/rendering/server.mjs +3775 -1015
  241. package/dist/server/rendering.mjs +4540 -1425
  242. package/dist/server/routing.mjs +1321 -247
  243. package/dist/server/server.mjs +1296 -215
  244. package/dist/server/theme-bridge.mjs +1864 -73
  245. package/dist/server/theme.mjs +74 -3
  246. package/dist/{spinner-MTooKfck.mjs → spinner-KVVZh8jd.mjs} +1 -1
  247. package/dist/src-BgmWy3P1.mjs +1667 -0
  248. package/dist/styles/index.css +942 -1
  249. package/package.json +1 -1
  250. package/dist/client/CheckboxChoice-CHJpsty4.mjs +0 -24
  251. package/dist/client/DemoBookingPortalAccess-C7KQKFNt.mjs +0 -344
  252. package/dist/client/ThemedButton-wl3Z3wkH.mjs +0 -411
  253. package/dist/client/carousel-DNqd_PjC.mjs +0 -38
@@ -1,40 +1,15 @@
1
1
  import React from "react";
2
2
  import useEmblaCarousel from "embla-carousel-react";
3
- import { type NormalizedSlidesToShow, type ResponsiveSlidesToShow } from "./carousel.shared";
3
+ import { type NormalizedSlidesToShow, type CarouselProps, type LegacyCarouselSettings } from "./carousel.shared";
4
4
  export type { ResponsiveSlidesToShow } from "./carousel.shared";
5
5
  export type CarouselPlugin = Parameters<typeof useEmblaCarousel>[1] extends Array<infer Plugin> ? Plugin : never;
6
- export type CarouselNodeClientProps = {
7
- arrangement?: 'slides' | 'track';
6
+ export type CarouselNodeClientProps = CarouselProps & Readonly<{
8
7
  children?: React.ReactNode;
9
8
  className?: string;
10
- /**
11
- * When false, do not render the outer `.carousel-root` wrapper.
12
- *
13
- * This is used by the SDK islands enhancer, where the SSR wrapper element
14
- * (with data-rb-island markers + CSS vars) must remain the single root.
15
- *
16
- * Default: true (normal standalone usage).
17
- */
9
+ /** The SDK retains the SSR root, so must not add a second wrapper. */
18
10
  renderRoot?: boolean;
19
- /** Number of slides to show - can be a number or responsive object */
20
- slidesToShow?: number | string | ResponsiveSlidesToShow;
21
- /** Transition type */
22
- transition?: "slide" | "fade";
23
- /** Show navigation arrows */
24
- showControls?: boolean | string;
25
- /** Show dot indicators */
26
- showDots?: boolean | string;
27
- /** Arrow visibility mode */
28
- arrowVisibility?: "always" | "hover" | "never";
29
- /** Enable autoplay */
30
- autoplay?: boolean | string;
31
- /** Autoplay delay in ms */
32
- autoplayDelay?: number | string;
33
- /** Enable infinite loop */
34
- loop?: boolean | string;
35
- /** Reserved for future custom arrow icon */
36
11
  arrowIcon?: string;
37
- };
12
+ }>;
38
13
  export type NormalizedCarouselProps = {
39
14
  slidesToShow: NormalizedSlidesToShow;
40
15
  transition: "slide" | "fade";
@@ -45,7 +20,7 @@ export type NormalizedCarouselProps = {
45
20
  autoplayDelay: number;
46
21
  loop: boolean;
47
22
  };
48
- export declare function normalizeCarouselProps(input: Pick<CarouselNodeClientProps, "slidesToShow" | "transition" | "showControls" | "showDots" | "arrowVisibility" | "autoplay" | "autoplayDelay" | "loop">): NormalizedCarouselProps;
23
+ export declare function normalizeCarouselProps(input: LegacyCarouselSettings): NormalizedCarouselProps;
49
24
  /**
50
25
  * Client carousel component with full Embla features.
51
26
  * Used by the island enhancer to hydrate SSR carousel markup.
@@ -1,18 +1,9 @@
1
1
  import React from "react";
2
- import { type ResponsiveSlidesToShow } from "./carousel.shared";
3
- type CarouselNodeProps = {
4
- arrangement?: "slides" | "track";
5
- blockId?: string | null;
2
+ import { type CarouselProps } from "./carousel.shared";
3
+ type CarouselNodeProps = CarouselProps & {
6
4
  children?: React.ReactNode;
5
+ blockId?: string | null;
7
6
  className?: string;
8
- slidesToShow?: number | string | ResponsiveSlidesToShow;
9
- transition?: "slide" | "fade";
10
- showControls?: boolean | string;
11
- showDots?: boolean | string;
12
- arrowVisibility?: "always" | "hover" | "never";
13
- autoplay?: boolean | string;
14
- autoplayDelay?: number | string;
15
- loop?: boolean | string;
16
7
  };
17
8
  /**
18
9
  * Server-safe carousel shell.
@@ -1,4 +1,4 @@
1
- import type { CSSProperties } from "react";
1
+ import React, { type ReactNode, type CSSProperties } from "react";
2
2
  export type ResponsiveSlidesToShow = {
3
3
  mobile?: number | string;
4
4
  tablet?: number | string;
@@ -28,3 +28,73 @@ export declare function isBreakpointSet(value: number | string | undefined | nul
28
28
  export declare function normalizeSlidesToShow(value: number | string | ResponsiveSlidesToShow | undefined): NormalizedSlidesToShow;
29
29
  export declare function resolveSlidesToShowMobile(value: NormalizedSlidesToShow): number;
30
30
  export declare function getCarouselSlidesToShowCssVars(value: NormalizedSlidesToShow): CarouselSlidesToShowCssVars;
31
+ export type LegacyCarouselSettings = Readonly<{
32
+ slidesToShow?: number | string | ResponsiveSlidesToShow;
33
+ transition?: 'slide' | 'fade';
34
+ showControls?: boolean | string;
35
+ showDots?: boolean | string;
36
+ arrowVisibility?: 'always' | 'hover' | 'never';
37
+ autoplay?: boolean | string;
38
+ autoplayDelay?: number | string;
39
+ loop?: boolean | string;
40
+ }>;
41
+ export type ArrangementCarousel = Readonly<{
42
+ mode: 'arrangement';
43
+ arrangement: 'slides' | 'track';
44
+ labels: Readonly<{
45
+ item: string;
46
+ region: string;
47
+ }>;
48
+ indicator: 'counter' | 'dots' | 'none';
49
+ slides: readonly Readonly<{
50
+ title: string;
51
+ content: ReactNode;
52
+ }>[];
53
+ children?: never;
54
+ cardList?: boolean;
55
+ }>;
56
+ export type CarouselProps = (LegacyCarouselSettings & Readonly<{
57
+ mode: 'legacy';
58
+ arrangement?: never;
59
+ }>) | ArrangementCarousel;
60
+ export declare function carouselShape(count: number, _arrangement: ArrangementCarousel['arrangement']): 'static' | 'carousel';
61
+ export declare function arrangementCarouselSettings(props: ArrangementCarousel): {
62
+ slidesToShow: number | {
63
+ mobile: number;
64
+ tablet: number;
65
+ desktop: number;
66
+ };
67
+ transition: "slide";
68
+ showControls: boolean;
69
+ showDots: boolean;
70
+ arrowVisibility: "always";
71
+ autoplay: boolean;
72
+ autoplayDelay: number;
73
+ loop: boolean;
74
+ };
75
+ export declare function carouselStatus(index: number, slides: ArrangementCarousel['slides']): string;
76
+ /** One owner for the region semantics on server, standalone client and SDK root. */
77
+ export declare function carouselRegionAttributes(props: CarouselProps): {
78
+ role?: undefined;
79
+ readonly 'aria-roledescription'?: undefined;
80
+ readonly 'aria-label'?: undefined;
81
+ readonly 'data-count'?: undefined;
82
+ readonly 'data-card-list'?: undefined;
83
+ readonly 'data-slot'?: undefined;
84
+ } | {
85
+ readonly role: "region";
86
+ readonly 'aria-roledescription': "carousel";
87
+ readonly 'aria-label': string;
88
+ readonly 'data-count': number;
89
+ readonly 'data-card-list': "" | undefined;
90
+ readonly 'data-slot': "frame";
91
+ };
92
+ /** Declarative repeaters resolve each title in the same scope as its content. */
93
+ export declare function CarouselSlideContent({ children }: Readonly<{
94
+ title: string;
95
+ children?: ReactNode;
96
+ }>): React.FunctionComponentElement<React.FragmentProps>;
97
+ export declare function declarativeCarouselSlides(children: readonly ReactNode[]): ArrangementCarousel['slides'];
98
+ export declare function carouselContents(props: CarouselProps & Readonly<{
99
+ children?: ReactNode;
100
+ }>): readonly ReactNode[];
@@ -37,6 +37,7 @@ export declare const eventDetailsLookSchemaShape: {
37
37
  items: "items";
38
38
  item: "item";
39
39
  places: "places";
40
+ background: "background";
40
41
  eyebrow: "eyebrow";
41
42
  mark: "mark";
42
43
  controls: "controls";
@@ -54,6 +55,8 @@ export declare const eventDetailsLookSchemaShape: {
54
55
  sticker: "sticker";
55
56
  list: "list";
56
57
  frame: "frame";
58
+ "schedule-section": "schedule-section";
59
+ "shop-section": "shop-section";
57
60
  headline: "headline";
58
61
  lede: "lede";
59
62
  actions: "actions";
@@ -115,6 +118,7 @@ export declare const eventDetailsLookSchemaShape: {
115
118
  items: "items";
116
119
  item: "item";
117
120
  places: "places";
121
+ background: "background";
118
122
  eyebrow: "eyebrow";
119
123
  mark: "mark";
120
124
  controls: "controls";
@@ -132,6 +136,8 @@ export declare const eventDetailsLookSchemaShape: {
132
136
  sticker: "sticker";
133
137
  list: "list";
134
138
  frame: "frame";
139
+ "schedule-section": "schedule-section";
140
+ "shop-section": "shop-section";
135
141
  headline: "headline";
136
142
  lede: "lede";
137
143
  actions: "actions";
@@ -88,7 +88,7 @@ export declare function resolveEventDetailsPresentation(input: EventDetailsPrese
88
88
  arrangement: "event-header" | "details-panel" | undefined;
89
89
  entryTitle: string | null | undefined;
90
90
  actionSize: "md" | "lg" | "sm" | undefined;
91
- lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "eyebrow" | "mark" | "controls" | "icon" | "copy" | "grid" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "list" | "frame" | "headline" | "lede" | "actions" | "gallery" | "fact-label" | "fact-value" | "chip" | "figure" | "figure-value" | "figure-label" | "date-places" | "lead" | "item-media" | "item-body" | "item-title" | "item-text" | "item-actions" | "row-continued" | "group-label" | "group-day" | "group-date" | "date-label" | "price" | "time-start" | "time-length" | "what" | "item-meta" | "places-low" | "places-full" | "panel-heading" | "more" | "quote" | "attribution" | "control" | "counter", string>>> | undefined;
91
+ lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "background" | "eyebrow" | "mark" | "controls" | "icon" | "copy" | "grid" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "list" | "frame" | "schedule-section" | "shop-section" | "headline" | "lede" | "actions" | "gallery" | "fact-label" | "fact-value" | "chip" | "figure" | "figure-value" | "figure-label" | "date-places" | "lead" | "item-media" | "item-body" | "item-title" | "item-text" | "item-actions" | "row-continued" | "group-label" | "group-day" | "group-date" | "date-label" | "price" | "time-start" | "time-length" | "what" | "item-meta" | "places-low" | "places-full" | "panel-heading" | "more" | "quote" | "attribution" | "control" | "counter", string>>> | undefined;
92
92
  itemSurfaces: Readonly<Record<string, import("../../../../../../theme-core/src/site-styles/index").ResolvedSurface>> | undefined;
93
93
  panelHeading: string | undefined;
94
94
  };
@@ -23,6 +23,9 @@ type AttendeeDetailsStepProps = {
23
23
  guestSectionShake?: boolean;
24
24
  /** Callback when guest section shake animation ends */
25
25
  onGuestShakeEnd?: () => void;
26
+ siteTerms?: React.ReactNode;
27
+ /** Shown under the heading when the terms changed mid-checkout. */
28
+ siteTermsNotice?: React.ReactNode;
26
29
  consent: BlockBookingConsent | null;
27
30
  mailingListSignup?: Readonly<{
28
31
  siteName: string;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { BookingCalendar } from './bookingCalendar';
3
+ export declare function CalendarAction({ calendar }: Readonly<{
4
+ calendar?: BookingCalendar | null;
5
+ }>): React.JSX.Element | null;
@@ -1,4 +1,5 @@
1
1
  import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
2
+ import type { BookingCalendar } from './bookingCalendar';
2
3
  import React from 'react';
3
4
  import type { BookingSuccessCopy } from '../booking-form.state';
4
5
  import { type ConfirmationPaymentPresentation, type ConfirmationSummaryRow } from './finishedBooking';
@@ -13,6 +14,7 @@ type SuccessStepProps = {
13
14
  /** When, where, places and payment: only facts from the booking outcome. */
14
15
  summary?: readonly ConfirmationSummaryRow[];
15
16
  payment: ConfirmationPaymentPresentation;
17
+ calendar?: BookingCalendar | null;
16
18
  };
17
19
  /**
18
20
  * Success Step
@@ -0,0 +1,16 @@
1
+ import type { CalendarFeedDocument } from '../../../../../../calendar/src/index';
2
+ import type { ConfirmedBookingIdentity } from '../../api/types';
3
+ import type { RegistrationEvent } from './types';
4
+ export type BookingCalendar = Readonly<{
5
+ fileName: string;
6
+ feed: CalendarFeedDocument;
7
+ }> & (Readonly<{
8
+ kind: 'single';
9
+ googleUrl: string;
10
+ outlookUrl: string;
11
+ }> | Readonly<{
12
+ kind: 'sessions';
13
+ sessionCount: number;
14
+ }>);
15
+ /** Public schedule facts only; online joining instructions stay in email (issue 1580). */
16
+ export declare function bookingCalendar(event: RegistrationEvent | null, identity: ConfirmedBookingIdentity): BookingCalendar | null;
@@ -1,3 +1,4 @@
1
+ import type { useSiteTermsAgreement } from '../../hooks/useSiteTermsAgreement';
1
2
  import type { DirectCheckoutCollectionOptionKind, PaymentMethod } from '../../api/types';
2
3
  import type { EventRegistrationErrorAction } from '../../../../../../commerce/src/purchase/index';
3
4
  import type { EventRegistrationDirectPaymentOption, EventRegistrationDirectPaymentSelectionState } from './eventPaymentOptions';
@@ -122,6 +123,7 @@ export type EventRegistrationTicketsModel = Readonly<{
122
123
  export type EventRegistrationAttendeeModel = Readonly<{
123
124
  values: FormData;
124
125
  errors: Partial<Record<keyof FormData, string>>;
126
+ siteTerms: ReturnType<typeof useSiteTermsAgreement>;
125
127
  mailingListSignup: Readonly<{
126
128
  siteName: string;
127
129
  }> | null;
@@ -1,4 +1,6 @@
1
1
  import type { ConfirmationPayment } from '../../../../../../commerce/src/purchase/index';
2
+ import type { EventBookingOutcome } from '../../api/types';
3
+ import { type BookingCalendar } from './bookingCalendar';
2
4
  import { type RegistrationDisplay } from './registrationDisplay';
3
5
  import type { OccurrenceContext, RegistrationEvent, RegistrationResult } from './types';
4
6
  import type { RegistrationPresentation } from './wizardSteps';
@@ -38,10 +40,12 @@ export type FinishedBooking = Readonly<{
38
40
  /** The confirmation's rows. */
39
41
  summary: readonly ConfirmationSummaryRow[];
40
42
  payment: ConfirmationPaymentPresentation;
43
+ calendar: BookingCalendar | null;
41
44
  }>;
42
45
  export type FinishedBookingContext = Readonly<{
43
46
  /** The events this block books, already scoped and adapted. */
44
47
  events: readonly RegistrationEvent[];
48
+ completedOutcomes: readonly EventBookingOutcome[];
45
49
  /** The draft's event. Only a waitlist place, which has no outcome, uses it. */
46
50
  draftEvent: RegistrationEvent | null;
47
51
  occurrenceContext: OccurrenceContext | null | undefined;
@@ -69,6 +73,10 @@ export type ResolvedRegistrationPresentation = Exclude<RegistrationPresentation,
69
73
  }>;
70
74
  /** Every evidenced debt carries its required amount row, independently of success prose. */
71
75
  export declare function presentConfirmationPayment(payment: ConfirmationPayment): ConfirmationPaymentPresentation;
76
+ /** Retain the latest facts for each completed registration, entirely in this visit. */
77
+ export declare function recordCompletedOutcome(outcomes: readonly EventBookingOutcome[], outcome: EventBookingOutcome): readonly EventBookingOutcome[];
78
+ /** An unavailable matching outcome cannot supply an exact visit total. */
79
+ export declare function completedBookingPlaces(outcomes: readonly EventBookingOutcome[], identity: EventBookingOutcome['identity']): number | null;
72
80
  /**
73
81
  * The one place a finished booking is resolved: the confirmation, the
74
82
  * finished card and the bar all take this, never the raw result and events.
@@ -1,3 +1,4 @@
1
+ import type { EventBookingOutcome } from '../../api/types';
1
2
  import type { WaitlistClaimCredential, WaitlistClaimLookup } from '../../shared/useWaitlistClaim.state';
2
3
  import { type RegistrationDraftData, type RegistrationDraftEdit, type WaitlistInvitation } from './registrationDraft.state';
3
4
  import type { RegistrationEvent } from './types';
@@ -14,6 +15,7 @@ type RegistrationDraftState = {
14
15
  };
15
16
  export type RegistrationFlowState = Readonly<{
16
17
  isAuthenticated: boolean;
18
+ completedOutcomes: readonly EventBookingOutcome[];
17
19
  }> & RegistrationDraftState & (Readonly<{
18
20
  step: Exclude<RegistrationStep, 'success'>;
19
21
  invitation: WaitlistInvitation;
@@ -1,3 +1,4 @@
1
+ import type { BlockSiteTerms } from '../../../blocks/shared/siteTerms';
1
2
  import type { RegistrationDisplay } from './registrationDisplay';
2
3
  import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
3
4
  import type { PublicEventPricing } from '../../../../../../core/src/index';
@@ -130,7 +131,7 @@ export type RegistrationSubject = Readonly<{
130
131
  /** Ordered live booking sessions; cancellation history stays on PublicEvent.run. */
131
132
  sessions: readonly PublicRunSession[];
132
133
  }>;
133
- export type RegistrationEvent = Pick<PublicEvent, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'consent' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset'> & Readonly<{
134
+ export type RegistrationEvent = Pick<PublicEvent, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'asksSiteTerms' | 'consent' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset'> & Readonly<{
134
135
  selectionId: string;
135
136
  registrationSubject: RegistrationSubject;
136
137
  pricing: PublicEventPricing;
@@ -211,6 +212,7 @@ export type EventRegistrationClientProps = {
211
212
  /** Site-wide public membership products; filtered against the selected event before prompting. */
212
213
  siteMemberships?: PublicMembershipProductCollection | null;
213
214
  mailingList?: MailingListRuntimeContext;
215
+ siteTerms?: BlockSiteTerms;
214
216
  siteName?: string;
215
217
  /** What the site calls this offering ("class", "course"), resolved on the server. */
216
218
  offeringNoun?: Readonly<{
@@ -1,3 +1,4 @@
1
+ import type { BlockSiteTerms } from '../../../blocks/shared/siteTerms';
1
2
  import type { EventSourceRecovery } from './eventSourceRecovery';
2
3
  import type { EventRegistrationErrorAction } from '../../../../../../commerce/src/purchase/index';
3
4
  import type { EventTicketSelectionLine, EventRegistrationClientProps, EligibilityData, FormData, Guest, GuestErrors, PaymentSelection, PublicEvent, RegistrationEvent, RegistrationResult, RegistrationStep } from './types';
@@ -26,6 +27,7 @@ export type UseEventRegistrationWizardOptions = Readonly<{
26
27
  eventSource: EventSourceRecovery<PublicEvent>;
27
28
  maxTicketsNum: number;
28
29
  mailingList?: EventRegistrationClientProps['mailingList'];
30
+ siteTerms?: BlockSiteTerms;
29
31
  siteName?: string;
30
32
  }>;
31
33
  export type EventRegistrationWizardDeps = Readonly<{
@@ -118,6 +120,16 @@ export declare function useEventRegistrationWizard(options: UseEventRegistration
118
120
  hasValidTicketSelection: boolean;
119
121
  eventRequiresPayment: boolean;
120
122
  formData: FormData;
123
+ siteTerms: {
124
+ api: import("../../api").BoundBlockApiClient;
125
+ view: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
126
+ commerceView: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
127
+ onChange: (checked: boolean) => void;
128
+ requireAgreement: (surface?: "primary" | "commerce") => boolean;
129
+ notice: string | null;
130
+ error: string | null;
131
+ disabled: boolean;
132
+ };
121
133
  mailingListSignup: Readonly<{
122
134
  siteName: string;
123
135
  }> | null;
@@ -589,6 +601,16 @@ export declare function useEventRegistrationWizard(options: UseEventRegistration
589
601
  hasValidTicketSelection: boolean;
590
602
  eventRequiresPayment: boolean;
591
603
  formData: FormData;
604
+ siteTerms: {
605
+ api: import("../../api").BoundBlockApiClient;
606
+ view: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
607
+ commerceView: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
608
+ onChange: (checked: boolean) => void;
609
+ requireAgreement: (surface?: "primary" | "commerce") => boolean;
610
+ notice: string | null;
611
+ error: string | null;
612
+ disabled: boolean;
613
+ };
592
614
  mailingListSignup: Readonly<{
593
615
  siteName: string;
594
616
  }> | null;
@@ -1061,6 +1083,16 @@ export declare function useEventRegistrationWizardWithDeps(options: UseEventRegi
1061
1083
  hasValidTicketSelection: boolean;
1062
1084
  eventRequiresPayment: boolean;
1063
1085
  formData: FormData;
1086
+ siteTerms: {
1087
+ api: import("../../api").BoundBlockApiClient;
1088
+ view: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
1089
+ commerceView: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
1090
+ onChange: (checked: boolean) => void;
1091
+ requireAgreement: (surface?: "primary" | "commerce") => boolean;
1092
+ notice: string | null;
1093
+ error: string | null;
1094
+ disabled: boolean;
1095
+ };
1064
1096
  mailingListSignup: Readonly<{
1065
1097
  siteName: string;
1066
1098
  }> | null;
@@ -1532,6 +1564,16 @@ export declare function useEventRegistrationWizardWithDeps(options: UseEventRegi
1532
1564
  hasValidTicketSelection: boolean;
1533
1565
  eventRequiresPayment: boolean;
1534
1566
  formData: FormData;
1567
+ siteTerms: {
1568
+ api: import("../../api").BoundBlockApiClient;
1569
+ view: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
1570
+ commerceView: import("../../shared/siteTermsAgreement").SiteTermsAgreementView;
1571
+ onChange: (checked: boolean) => void;
1572
+ requireAgreement: (surface?: "primary" | "commerce") => boolean;
1573
+ notice: string | null;
1574
+ error: string | null;
1575
+ disabled: boolean;
1576
+ };
1535
1577
  mailingListSignup: Readonly<{
1536
1578
  siteName: string;
1537
1579
  }> | null;
@@ -1,3 +1,4 @@
1
+ import { type BlockSiteTerms } from '../../blocks/shared/siteTerms';
1
2
  import { type RegistrationDisplay } from './event-registration/registrationDisplay';
2
3
  import { type MailingListRuntimeContext } from '../../../../../core/src/index';
3
4
  import type { BrowserReadAuthority } from '../api/types';
@@ -43,6 +44,7 @@ export type EventRegistrationSourceProps = Readonly<{
43
44
  sitePasses?: PublicPassProductCollection | null;
44
45
  siteMemberships?: PublicMembershipProductCollection | null;
45
46
  mailingList?: MailingListRuntimeContext;
47
+ siteTerms?: BlockSiteTerms;
46
48
  siteName?: string;
47
49
  /** The site's booking preset rows; the server resolves the offering noun from them. */
48
50
  bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
@@ -121,6 +123,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
121
123
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
122
124
  }> | null;
123
125
  mailingList?: MailingListRuntimeContext;
126
+ siteTerms?: BlockSiteTerms;
124
127
  siteName?: string;
125
128
  /** The site's booking preset rows; the server resolves the offering noun from them. */
126
129
  bookingOfferingPresets?: readonly Readonly<{
@@ -170,6 +173,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
170
173
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
171
174
  }> | null;
172
175
  mailingList?: MailingListRuntimeContext;
176
+ siteTerms?: BlockSiteTerms;
173
177
  siteName?: string;
174
178
  /** The site's booking preset rows; the server resolves the offering noun from them. */
175
179
  bookingOfferingPresets?: readonly Readonly<{
@@ -212,6 +216,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
212
216
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
213
217
  }> | null;
214
218
  mailingList?: MailingListRuntimeContext;
219
+ siteTerms?: BlockSiteTerms;
215
220
  siteName?: string;
216
221
  /** The site's booking preset rows; the server resolves the offering noun from them. */
217
222
  bookingOfferingPresets?: readonly Readonly<{
@@ -5,7 +5,15 @@ import { type LookListPresentation } from '../../../lookSurfaces';
5
5
  import type { ButtonVariant } from '../../../../blocks/events/shared/types';
6
6
  export type CardListItemContent = Readonly<{
7
7
  id: string;
8
+ newTabHint?: boolean;
8
9
  title: string;
10
+ leadDate?: Readonly<{
11
+ startsAt: string;
12
+ weekday: string;
13
+ day: string;
14
+ month: string;
15
+ label: string;
16
+ }> | null;
9
17
  href?: string | null;
10
18
  titleLink?: Readonly<{
11
19
  href: string;
@@ -43,7 +51,7 @@ export type CardListItemContent = Readonly<{
43
51
  external?: boolean;
44
52
  }>;
45
53
  }>;
46
- export type CardListArrangement = 'cards' | 'lead-support' | 'index' | 'sequence' | 'plates';
54
+ export type CardListArrangement = 'cards' | 'lead-support' | 'index' | 'sequence' | 'plates' | 'slides' | 'track';
47
55
  export type CardListPresentation = LookListPresentation & Readonly<{
48
56
  buttonVariant?: ButtonVariant | null;
49
57
  cardArrangement?: CardListArrangement;
@@ -62,7 +70,15 @@ export declare function resolveCardListSchedule(item: CardListItemContent, mode:
62
70
  }>[] | undefined;
63
71
  availability: null;
64
72
  id: string;
73
+ newTabHint?: boolean;
65
74
  title: string;
75
+ leadDate?: Readonly<{
76
+ startsAt: string;
77
+ weekday: string;
78
+ day: string;
79
+ month: string;
80
+ label: string;
81
+ }> | null;
66
82
  href?: string | null;
67
83
  titleLink?: Readonly<{
68
84
  href: string;
@@ -95,7 +111,15 @@ export declare function resolveCardListSchedule(item: CardListItemContent, mode:
95
111
  part: "schedule";
96
112
  item: Readonly<{
97
113
  id: string;
114
+ newTabHint?: boolean;
98
115
  title: string;
116
+ leadDate?: Readonly<{
117
+ startsAt: string;
118
+ weekday: string;
119
+ day: string;
120
+ month: string;
121
+ label: string;
122
+ }> | null;
99
123
  href?: string | null;
100
124
  titleLink?: Readonly<{
101
125
  href: string;
@@ -142,4 +166,5 @@ type PartProps = Readonly<{
142
166
  export declare function CardListContentPart({ part, ...props }: PartProps & Readonly<{
143
167
  part: CardListItemPart;
144
168
  }>): React.ReactNode;
169
+ export declare function CardListLeadDate({ item, presentation }: PartProps): React.JSX.Element | null;
145
170
  export {};
@@ -1,5 +1,10 @@
1
1
  import { type CardListItemContent, type CardListPresentation } from './CardListItem';
2
2
  import React from 'react';
3
+ import type { ArrangementCarousel } from '../../carousel.shared';
4
+ /** The resolver supplies the carousel selected by the current component registry. */
5
+ export type CardListRuntime = Readonly<{
6
+ Carousel: React.ComponentType<ArrangementCarousel>;
7
+ }>;
3
8
  import type { ButtonVariant, PublicEvent } from '../../../../blocks/events/shared/types';
4
9
  import { type LookListPresentation } from '../../../lookSurfaces';
5
10
  export type EventItemPart = 'date' | 'title' | 'meta' | 'description' | 'action' | 'image' | 'time' | 'places' | 'price';
@@ -22,7 +27,12 @@ export type EventItemProps = LookListPresentation & Readonly<{
22
27
  buttonText?: string;
23
28
  as?: 'li' | 'article';
24
29
  }>;
25
- /** One named-part renderer for arrangement Looks; legacy cards keep their original renderer. */
30
+ /**
31
+ * Keep one RSC component boundary per item. Re-forwarding shared presentation
32
+ * props through layout/part components multiplies React's development debug
33
+ * provenance during Flight decoding (a Lotus ledger exhausted Next's heap).
34
+ * The internal renderers are pure, hook-free functions.
35
+ */
26
36
  export declare function EventItem(props: EventItemProps | CardItemProps): React.JSX.Element;
27
37
  type CardItemProps = Readonly<{
28
38
  item: CardListItemContent;
@@ -30,9 +40,13 @@ type CardItemProps = Readonly<{
30
40
  index: number;
31
41
  Title: 'h2' | 'h3' | 'h4';
32
42
  }>;
33
- export declare function CardListItems({ items, presentation, Title }: Readonly<{
43
+ export declare function CardListItems({ Carousel, items, presentation, carouselLabels, Title }: Readonly<{
34
44
  items: readonly CardListItemContent[];
35
45
  presentation: CardListPresentation;
46
+ carouselLabels?: Readonly<{
47
+ item: string;
48
+ region: string;
49
+ }>;
36
50
  Title?: 'h2' | 'h3' | 'h4';
37
- }>): React.JSX.Element;
51
+ }> & CardListRuntime): React.JSX.Element;
38
52
  export {};
@@ -1,4 +1,12 @@
1
1
  import type { PublicEvent } from '../../../../blocks/events/shared/types';
2
2
  import type { CardListItemContent } from './CardListItem';
3
+ export type EventCardProjection = Readonly<{
4
+ kind: 'event-details';
5
+ }> | Readonly<{
6
+ kind: 'offering';
7
+ now: Date;
8
+ nextStartMs: number | null;
9
+ typeLabel?: string;
10
+ }>;
3
11
  /** Live offering data only; editorial cards never acquire booking fields. */
4
- export declare function eventCardListContent(event: PublicEvent, buttonText?: string): CardListItemContent;
12
+ export declare function eventCardListContent(event: PublicEvent, context: EventCardProjection, buttonText?: string): CardListItemContent;