@riverbankcms/sdk 0.153.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 (357) hide show
  1. package/README.md +2 -0
  2. package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
  3. package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
  4. package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
  5. package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
  6. package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
  7. package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
  10. package/dist/_dts/api/src/billing.d.ts +2 -0
  11. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
  12. package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
  13. package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
  14. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
  15. package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
  16. package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
  17. package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
  18. package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
  19. package/dist/_dts/api/src/bookings.d.ts +10 -4
  20. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
  21. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  22. package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
  23. package/dist/_dts/api/src/endpoints.d.ts +89 -44
  24. package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
  25. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
  26. package/dist/_dts/api/src/index.d.ts +9 -4
  27. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
  28. package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
  29. package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
  30. package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
  31. package/dist/_dts/api/src/public/types.d.ts +1 -0
  32. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
  33. package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
  34. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  35. package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
  36. package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
  37. package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
  38. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
  39. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
  40. package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
  41. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
  42. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
  43. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
  44. package/dist/_dts/api/src/siteSettings.d.ts +1 -0
  45. package/dist/_dts/api/src/siteTerms.d.ts +100 -0
  46. package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
  47. package/dist/_dts/api/src/types.d.ts +13 -32
  48. package/dist/_dts/api/src/webhooks.d.ts +9 -9
  49. package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
  50. package/dist/_dts/block-form/src/client/index.d.ts +2 -1
  51. package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
  52. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
  53. package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
  54. package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
  55. package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
  56. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
  57. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
  58. package/dist/_dts/blocks/src/index.d.ts +2 -2
  59. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
  60. package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
  61. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
  62. package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
  63. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
  64. package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
  65. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
  66. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
  67. package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
  68. package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
  69. package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
  70. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
  71. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
  72. package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
  73. package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
  74. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
  75. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  76. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
  77. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
  78. package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
  79. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
  80. package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
  81. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
  82. package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
  83. package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
  84. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
  85. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
  86. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
  87. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
  89. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
  90. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
  91. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
  92. package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
  93. package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
  94. package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
  95. package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
  96. package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
  97. package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
  98. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
  99. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
  100. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
  101. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
  102. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
  103. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
  104. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
  105. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
  106. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
  107. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
  108. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  109. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
  110. package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
  111. package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
  112. package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
  113. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  115. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
  116. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
  117. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
  118. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
  119. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
  120. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
  121. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
  122. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  124. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
  125. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
  126. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
  128. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
  130. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
  131. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
  134. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
  135. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
  136. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
  137. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
  138. package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
  139. package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
  140. package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
  141. package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
  142. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
  143. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
  144. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
  145. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
  146. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
  147. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
  148. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
  149. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  150. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
  151. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
  152. package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
  153. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
  154. package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
  155. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
  156. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
  157. package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
  158. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
  159. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
  160. package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
  161. package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
  162. package/dist/_dts/calendar/src/index.d.ts +2 -0
  163. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
  164. package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
  165. package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
  166. package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
  167. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
  168. package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
  169. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
  170. package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
  171. package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
  172. package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
  173. package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
  174. package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
  175. package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
  176. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
  177. package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
  178. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
  179. package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
  180. package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
  181. package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
  182. package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
  183. package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
  184. package/dist/_dts/core/src/branded.d.ts +6 -0
  185. package/dist/_dts/core/src/date-display.d.ts +90 -0
  186. package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
  187. package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
  188. package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
  189. package/dist/_dts/core/src/footer-composition.d.ts +1 -1
  190. package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
  191. package/dist/_dts/core/src/index.d.ts +4 -1
  192. package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
  193. package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
  194. package/dist/_dts/core/src/public-profile.d.ts +3 -1
  195. package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
  196. package/dist/_dts/core/src/site-terms.d.ts +94 -0
  197. package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
  198. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
  199. package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
  200. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
  201. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
  202. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
  203. package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
  204. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
  205. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  206. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
  207. package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
  208. package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
  209. package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
  210. package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
  211. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
  212. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
  213. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
  214. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
  215. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
  216. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
  217. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
  218. package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
  219. package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
  220. package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
  221. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
  222. package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
  223. package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
  224. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
  225. package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
  226. package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
  227. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  228. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  229. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
  230. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
  231. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
  232. package/dist/_dts/sdk/src/version.d.ts +1 -1
  233. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
  234. package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
  235. package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
  236. package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
  237. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
  238. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
  239. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
  240. package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
  241. package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
  242. package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
  243. package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
  244. package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
  245. package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
  246. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  247. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
  248. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
  249. package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
  250. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
  251. package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
  252. package/dist/_dts/theme-core/src/schema.d.ts +321 -192
  253. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
  254. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
  255. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  256. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
  257. package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
  258. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
  259. package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
  260. package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
  261. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
  262. package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
  263. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  264. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
  265. package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
  266. package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
  267. package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
  268. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
  269. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  270. package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
  271. package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
  272. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
  273. package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
  274. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  275. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
  276. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
  277. package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
  278. package/dist/_dts/ui/src/calendar.d.ts +6 -1
  279. package/dist/_dts/ui/src/card.d.ts +1 -1
  280. package/dist/_dts/ui/src/index.d.ts +1 -1
  281. package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
  282. package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
  283. package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
  284. package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
  285. package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
  286. package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
  287. package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
  288. package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
  289. package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
  290. package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
  291. package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
  292. package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
  293. package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
  294. package/dist/client/bookings.mjs +19252 -15228
  295. package/dist/client/carousel-DCqjwd2s.mjs +71 -0
  296. package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
  297. package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
  298. package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
  299. package/dist/client/client.mjs +13559 -7353
  300. package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
  301. package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
  302. package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
  303. package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
  304. package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
  305. package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
  306. package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
  307. package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
  308. package/dist/client/hooks.mjs +3280 -1362
  309. package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
  310. package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
  311. package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
  312. package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
  313. package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
  314. package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
  315. package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
  316. package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
  317. package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
  318. package/dist/client/rendering/client.mjs +15893 -11685
  319. package/dist/client/rendering/islands.mjs +19 -19
  320. package/dist/client/rendering.mjs +14451 -8139
  321. package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
  322. package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
  323. package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
  324. package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
  325. package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
  326. package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
  327. package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
  328. package/dist/preview-next/before-render.mjs +134 -51
  329. package/dist/preview-next/client/runtime.mjs +3 -3
  330. package/dist/preview-next/editor-chrome.css +5 -2
  331. package/dist/preview-next/keepAlive.mjs +134 -51
  332. package/dist/preview-next/middleware.mjs +134 -51
  333. package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
  334. package/dist/server/components.mjs +15231 -10855
  335. package/dist/server/config-validation.mjs +3153 -1323
  336. package/dist/server/config.mjs +3119 -1321
  337. package/dist/server/data.mjs +3201 -1329
  338. package/dist/server/date-time.mjs +270 -117
  339. package/dist/server/index.mjs +137 -52
  340. package/dist/server/next.mjs +14713 -10388
  341. package/dist/server/page-converter.mjs +2642 -1073
  342. package/dist/server/prebuild.mjs +1 -1
  343. package/dist/server/rendering/server.mjs +14674 -10630
  344. package/dist/server/rendering.mjs +15055 -10670
  345. package/dist/server/routing.mjs +3483 -1488
  346. package/dist/server/server.mjs +3620 -1740
  347. package/dist/server/theme-bridge.mjs +2694 -189
  348. package/dist/server/theme.mjs +422 -67
  349. package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
  350. package/dist/src-BgmWy3P1.mjs +1667 -0
  351. package/dist/styles/index.css +1196 -2
  352. package/package.json +1 -1
  353. package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
  354. package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
  355. package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
  356. package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
  357. package/dist/client/carousel-BSCBhfHY.mjs +0 -38
@@ -1,3 +1,4 @@
1
+ import type { BlockSiteTerms } from '../../blocks/shared/siteTerms';
1
2
  import { z } from "zod";
2
3
  import type { MailingListRuntimeContext } from "../../../../../core/src/index";
3
4
  import type { PublicEvent } from "../../blocks/events/shared/types";
@@ -13,6 +14,7 @@ export type BookingFormSourceProps = Readonly<{
13
14
  apiBaseUrl?: string;
14
15
  portalToken?: string | null;
15
16
  mailingList?: MailingListRuntimeContext;
17
+ siteTerms?: BlockSiteTerms;
16
18
  siteName?: string;
17
19
  formId?: string;
18
20
  serviceId?: string | null;
@@ -100,6 +102,7 @@ export type AppointmentBookingServiceSourceInput = Readonly<{
100
102
  priceCurrency?: string | null;
101
103
  paymentTerms?: BookingFormService["paymentTerms"];
102
104
  paymentTermsAvailability?: BookingFormService["paymentTermsAvailability"];
105
+ asksSiteTerms?: boolean;
103
106
  consent?: BookingFormService["consent"];
104
107
  categoryId?: string | null;
105
108
  }>;
@@ -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[];
@@ -20,25 +20,30 @@ export declare const eventDetailsLookSchemaShape: {
20
20
  time: "time";
21
21
  layout: "layout";
22
22
  group: "group";
23
+ contact: "contact";
23
24
  stack: "stack";
24
25
  inline: "inline";
25
26
  heading: "heading";
26
27
  intro: "intro";
27
28
  section: "section";
28
29
  navigation: "navigation";
30
+ head: "head";
31
+ social: "social";
32
+ panel: "panel";
33
+ base: "base";
29
34
  row: "row";
30
35
  media: "media";
31
36
  caption: "caption";
32
37
  items: "items";
33
38
  item: "item";
34
39
  places: "places";
40
+ background: "background";
35
41
  eyebrow: "eyebrow";
36
42
  mark: "mark";
37
43
  controls: "controls";
38
44
  icon: "icon";
39
45
  copy: "copy";
40
46
  grid: "grid";
41
- panel: "panel";
42
47
  facts: "facts";
43
48
  chips: "chips";
44
49
  numeral: "numeral";
@@ -50,7 +55,8 @@ export declare const eventDetailsLookSchemaShape: {
50
55
  sticker: "sticker";
51
56
  list: "list";
52
57
  frame: "frame";
53
- head: "head";
58
+ "schedule-section": "schedule-section";
59
+ "shop-section": "shop-section";
54
60
  headline: "headline";
55
61
  lede: "lede";
56
62
  actions: "actions";
@@ -95,25 +101,30 @@ export declare const eventDetailsLookSchemaShape: {
95
101
  time: "time";
96
102
  layout: "layout";
97
103
  group: "group";
104
+ contact: "contact";
98
105
  stack: "stack";
99
106
  inline: "inline";
100
107
  heading: "heading";
101
108
  intro: "intro";
102
109
  section: "section";
103
110
  navigation: "navigation";
111
+ head: "head";
112
+ social: "social";
113
+ panel: "panel";
114
+ base: "base";
104
115
  row: "row";
105
116
  media: "media";
106
117
  caption: "caption";
107
118
  items: "items";
108
119
  item: "item";
109
120
  places: "places";
121
+ background: "background";
110
122
  eyebrow: "eyebrow";
111
123
  mark: "mark";
112
124
  controls: "controls";
113
125
  icon: "icon";
114
126
  copy: "copy";
115
127
  grid: "grid";
116
- panel: "panel";
117
128
  facts: "facts";
118
129
  chips: "chips";
119
130
  numeral: "numeral";
@@ -125,7 +136,8 @@ export declare const eventDetailsLookSchemaShape: {
125
136
  sticker: "sticker";
126
137
  list: "list";
127
138
  frame: "frame";
128
- head: "head";
139
+ "schedule-section": "schedule-section";
140
+ "shop-section": "shop-section";
129
141
  headline: "headline";
130
142
  lede: "lede";
131
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" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "row" | "media" | "caption" | "items" | "item" | "places" | "eyebrow" | "mark" | "controls" | "icon" | "copy" | "grid" | "panel" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "list" | "frame" | "head" | "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<{
@@ -17,7 +17,7 @@ type DateTimeFormatOptions = {
17
17
  *
18
18
  * Sites don't store a locale, and every public word around a date is English,
19
19
  * so the only open question is which English conventions to follow: day or
20
- * month first, and a 24 or 12-hour clock. The site's time zone is the one
20
+ * month first. The site's time zone is the one
21
21
  * fact every site carries about where it is. It is the site's, never an
22
22
  * event's: a venue left at UTC must not turn a UK site's dates American.
23
23
  * Anywhere this can't place (UTC, the Americas, Asia) keeps US English, which
@@ -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 {};