@riverbankcms/sdk 0.130.0 → 0.132.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 (468) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/README.md +1 -1
  3. package/dist/{PreviewEditorSidebar-DiEpbOdw.mjs → PreviewEditorSidebar-DKQ5eFK9.mjs} +365 -106
  4. package/dist/{PreviewEditorUI-C6MvxnIa.mjs → PreviewEditorUI-CNTcOjCC.mjs} +3 -3
  5. package/dist/{PreviewQueryProvider-C2rnoPz6.mjs → PreviewQueryProvider-D51gQaG3.mjs} +1 -1
  6. package/dist/{SdkPreviewModeRuntime-DRXA_m5L.mjs → SdkPreviewModeRuntime-DJu3qu33.mjs} +91 -25
  7. package/dist/{SiteChromeCustomizeContext-BTHdv5_-.mjs → SiteChromeCustomizeContext-2TzT3vbj.mjs} +12577 -9240
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +991 -142
  9. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1092 -148
  10. package/dist/_dts/api/src/accountApi.d.ts +213 -0
  11. package/dist/_dts/api/src/accountEndpointDefinitions.d.ts +30 -0
  12. package/dist/_dts/api/src/accountEndpoints.d.ts +254 -0
  13. package/dist/_dts/api/src/apiCallParams.d.ts +60 -0
  14. package/dist/_dts/api/src/bookingConfig.d.ts +18 -24
  15. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +12 -24
  16. package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +44 -0
  17. package/dist/_dts/api/src/bookingSettingsSections.d.ts +9 -0
  18. package/dist/_dts/api/src/bookingVerticals.d.ts +1 -140
  19. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +47 -12
  20. package/dist/_dts/api/src/contentRuntime.d.ts +2 -1
  21. package/dist/_dts/api/src/courses.d.ts +1 -19
  22. package/dist/_dts/api/src/endpoints.d.ts +885 -721
  23. package/dist/_dts/api/src/event-destination-policy.d.ts +2 -2
  24. package/dist/_dts/api/src/eventManagementContracts.d.ts +173 -7
  25. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +58 -0
  26. package/dist/_dts/api/src/giftingDashboard.d.ts +117 -0
  27. package/dist/_dts/api/src/giftingEndpointDefinitions.d.ts +124 -0
  28. package/dist/_dts/api/src/index.d.ts +12 -4
  29. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
  30. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -0
  31. package/dist/_dts/api/src/media.d.ts +1 -0
  32. package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +3 -4
  33. package/dist/_dts/api/src/oauth.d.ts +8 -0
  34. package/dist/_dts/api/src/preview-auth.d.ts +26 -0
  35. package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +11 -0
  36. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +29 -16
  37. package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +2 -0
  38. package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +1 -1
  39. package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -1
  40. package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +48 -0
  41. package/dist/_dts/api/src/sdkBookingVerticalContracts.d.ts +29 -0
  42. package/dist/_dts/api/src/sdkContracts.d.ts +14 -45
  43. package/dist/_dts/api/src/sdkEndpointDefinitions.d.ts +23 -0
  44. package/dist/_dts/api/src/sdkEventCategoryContracts.d.ts +9 -0
  45. package/dist/_dts/api/src/sdkSettingsContracts.d.ts +25 -0
  46. package/dist/_dts/api/src/sdkThemeCatalogContracts.d.ts +20 -0
  47. package/dist/_dts/api/src/sdkThemeWire.d.ts +54 -12
  48. package/dist/_dts/api/src/settings/permissions.d.ts +2 -2
  49. package/dist/_dts/api/src/siteApiKeyEndpointDefinitions.d.ts +66 -0
  50. package/dist/_dts/api/src/siteInfrastructure.d.ts +3 -3
  51. package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
  52. package/dist/_dts/api/src/siteOperations.d.ts +1 -1
  53. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +16 -14
  54. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +0 -3
  55. package/dist/_dts/api/src/types.d.ts +8 -61
  56. package/dist/_dts/block-form/src/client/index.d.ts +15 -23
  57. package/dist/_dts/block-form/src/index.d.ts +23 -22
  58. package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -13
  59. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +9 -0
  60. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +26 -44
  61. package/dist/_dts/blocks/src/index.d.ts +1 -1
  62. package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +18 -1
  63. package/dist/_dts/blocks/src/subroutes/fold.d.ts +2 -1
  64. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -0
  65. package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
  66. package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +2 -50
  67. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +1 -929
  68. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -97
  69. package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +39 -6
  70. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -1
  71. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +3 -3
  72. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -3
  73. package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +2 -2
  74. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +64 -3
  75. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +26 -31
  76. package/dist/_dts/blocks/src/system/blocks/events/whole-series/index.d.ts +3 -0
  77. package/dist/_dts/blocks/src/system/blocks/events/whole-series/pricing.d.ts +50 -0
  78. package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +135 -0
  79. package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +81 -0
  80. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +25 -1
  81. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +16 -39
  82. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
  83. package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -1
  84. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -63
  85. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +1 -3
  86. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +13 -2
  87. package/dist/_dts/blocks/src/system/fields/gridLayout.d.ts +20 -0
  88. package/dist/_dts/blocks/src/system/node/fragments/classNameBinding.d.ts +6 -1
  89. package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +31 -0
  90. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  91. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +4 -0
  92. package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -1
  93. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +0 -1
  94. package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +1 -1
  95. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +45 -72
  96. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -36
  97. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +4 -2
  98. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +6 -6
  99. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +24 -8
  100. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +8 -0
  101. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts +17 -0
  102. package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +2 -5
  103. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +4 -2
  104. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +19 -7
  105. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +25 -4
  106. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +75 -0
  107. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +4 -1
  108. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -2
  109. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -2
  110. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
  111. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.d.ts +5 -0
  112. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SiteCreditPreviewPanel.d.ts +6 -0
  113. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +2 -0
  115. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +1 -1
  116. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +17 -0
  117. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +3 -3
  118. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/siteCreditPreview.d.ts +51 -0
  119. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -3
  120. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -0
  121. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/BookingModeStep.d.ts +1 -1
  122. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/CheckIcon.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/ErrorStep.d.ts +1 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/MembershipHero.d.ts +3 -3
  125. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PaymentFailedStep.d.ts +1 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +6 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/VerifyingTimeoutStep.d.ts +1 -1
  128. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +9 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/CourseRegistrationErrorBoundary.d.ts → event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts} +5 -2
  130. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +8 -0
  131. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +8 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +45 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/index.d.ts +4 -4
  134. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +7 -0
  135. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +14 -0
  136. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/types.d.ts +18 -16
  137. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseEligibility.d.ts → event-registration/whole-series/useWholeSeriesEligibility.d.ts} +6 -6
  138. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +10 -0
  139. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +35 -0
  140. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseRegistrationPortal.d.ts → event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts} +2 -2
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +35 -0
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +185 -0
  143. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseWaitlistSelection.d.ts → event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts} +5 -5
  144. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/utils.d.ts +4 -4
  145. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.contract.d.ts +5 -7
  146. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.planning.d.ts +2 -2
  147. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +17 -0
  148. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/courseRegistrationViewState.d.ts → event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts} +7 -7
  149. package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/wizardSteps.d.ts +4 -4
  150. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -54
  151. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  152. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -0
  153. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
  154. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +12 -11
  155. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +3 -2
  156. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +3 -2
  157. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +3 -2
  158. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +4 -3
  159. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModalCloseButton.d.ts +7 -0
  160. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +4 -3
  161. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +14 -0
  162. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +59 -2
  163. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +4 -1
  164. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -1
  165. package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +12 -12
  166. package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +17 -1
  167. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -1
  168. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +1 -0
  169. package/dist/_dts/blocks/src/system/spacing.d.ts +1 -1
  170. package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +109 -0
  171. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +4 -0
  172. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +40 -3
  173. package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
  174. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -37
  175. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -4
  176. package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +13 -0
  177. package/dist/_dts/commerce/src/purchase/cancellationPolicy.d.ts +7 -0
  178. package/dist/_dts/commerce/src/purchase/canonicalRefundPlanner.d.ts +48 -0
  179. package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +39 -0
  180. package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +40 -0
  181. package/dist/_dts/commerce/src/purchase/checkoutDiscountContextPlanning.d.ts +80 -0
  182. package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -0
  183. package/dist/_dts/commerce/src/purchase/checkoutOrderItemProjection.d.ts +22 -0
  184. package/dist/_dts/commerce/src/purchase/checkoutPaymentFlow.d.ts +50 -0
  185. package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +30 -0
  186. package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +10 -0
  187. package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +53 -0
  188. package/dist/_dts/commerce/src/purchase/checkoutQuantity.d.ts +8 -0
  189. package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +76 -0
  190. package/dist/_dts/commerce/src/purchase/checkoutSettlement.d.ts +46 -0
  191. package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +12 -0
  192. package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +125 -0
  193. package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +55 -0
  194. package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +91 -0
  195. package/dist/_dts/commerce/src/purchase/discountApplication.d.ts +74 -0
  196. package/dist/_dts/commerce/src/purchase/index.d.ts +55 -0
  197. package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +86 -0
  198. package/dist/_dts/commerce/src/purchase/order-number.d.ts +33 -0
  199. package/dist/_dts/commerce/src/purchase/orderCancellationPlan.d.ts +19 -0
  200. package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +71 -0
  201. package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +120 -0
  202. package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +81 -0
  203. package/dist/_dts/commerce/src/purchase/orderFulfillmentResult.d.ts +8 -0
  204. package/dist/_dts/commerce/src/purchase/orderHistoryLedgerFilters.d.ts +1 -0
  205. package/dist/_dts/commerce/src/purchase/orderHistorySource.d.ts +11 -0
  206. package/dist/_dts/commerce/src/purchase/orderInstalmentAdminSettlement.d.ts +43 -0
  207. package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +29 -0
  208. package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +44 -0
  209. package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +24 -0
  210. package/dist/_dts/commerce/src/purchase/orderInstalmentPlan.d.ts +40 -0
  211. package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +151 -0
  212. package/dist/_dts/commerce/src/purchase/orderItemSupport.d.ts +14 -0
  213. package/dist/_dts/commerce/src/purchase/orderListFilters.d.ts +3 -0
  214. package/dist/_dts/commerce/src/purchase/orderPaymentLinkPlanning.d.ts +60 -0
  215. package/dist/_dts/commerce/src/purchase/orderPaymentReceipt.d.ts +184 -0
  216. package/dist/_dts/commerce/src/purchase/orderPaymentState.d.ts +135 -0
  217. package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +102 -0
  218. package/dist/_dts/commerce/src/purchase/orderRefundPlanning.d.ts +50 -0
  219. package/dist/_dts/commerce/src/purchase/orderRefundPolicy.d.ts +36 -0
  220. package/dist/_dts/commerce/src/purchase/orderTotals.d.ts +23 -0
  221. package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +39 -0
  222. package/dist/_dts/commerce/src/purchase/pendingCheckoutSessionClaim.d.ts +1 -0
  223. package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +27 -0
  224. package/dist/_dts/commerce/src/purchase/protectedDepositRefundPolicy.d.ts +86 -0
  225. package/dist/_dts/commerce/src/purchase/refundPolicy.d.ts +8 -0
  226. package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +40 -0
  227. package/dist/_dts/commerce/src/purchase/result.d.ts +2 -0
  228. package/dist/_dts/commerce/src/purchase/settlement.d.ts +97 -0
  229. package/dist/_dts/commerce/src/purchase/shopRefundPlanning.d.ts +43 -0
  230. package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +31 -0
  231. package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +10 -0
  232. package/dist/_dts/commerce/src/purchase/types.d.ts +168 -0
  233. package/dist/_dts/commerce/src/shop/shipmentEligibility.d.ts +14 -0
  234. package/dist/_dts/commerce/src/utils/assertNever.d.ts +1 -0
  235. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -2
  236. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +10 -6
  237. package/dist/_dts/content-model/src/content-types/builtins.d.ts +10 -6
  238. package/dist/_dts/core/src/booking-vertical-catalog.d.ts +741 -0
  239. package/dist/_dts/core/src/booking-vertical-config.d.ts +66 -0
  240. package/dist/_dts/core/src/booking-vertical-definitions.d.ts +68 -0
  241. package/dist/_dts/{api/src/bookingVerticalPreset.d.ts → core/src/booking-vertical-preset.d.ts} +1 -1
  242. package/dist/_dts/core/src/booking-verticals.d.ts +98 -0
  243. package/dist/_dts/core/src/branded.d.ts +4 -0
  244. package/dist/_dts/core/src/event-page-selection.d.ts +22 -0
  245. package/dist/_dts/core/src/event-page-surface-subject.d.ts +25 -4
  246. package/dist/_dts/core/src/event-pricing.d.ts +5 -0
  247. package/dist/_dts/core/src/event-series-behaviour.d.ts +16 -0
  248. package/dist/_dts/core/src/index.d.ts +6 -0
  249. package/dist/_dts/core/src/public-event-booking-availability.d.ts +8 -0
  250. package/dist/_dts/core/src/secret.d.ts +44 -0
  251. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +413 -0
  252. package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
  253. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -1
  254. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -2
  255. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -2
  256. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
  257. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
  258. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +1 -1
  259. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -1
  260. package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +1 -1
  261. package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
  262. package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
  263. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
  264. package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
  265. package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
  266. package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
  267. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
  268. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
  269. package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
  270. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  271. package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +1 -1
  272. package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
  273. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +1 -1
  274. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
  275. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
  276. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
  277. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +1 -1
  278. package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +3 -0
  279. package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +2 -0
  280. package/dist/_dts/media-core/src/identifiers.d.ts +10 -0
  281. package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
  282. package/dist/_dts/media-core/src/types.d.ts +2 -1
  283. package/dist/_dts/media-editor/src/index.d.ts +2 -2
  284. package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -22
  285. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +0 -9
  286. package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +1 -1
  287. package/dist/_dts/preview-next/src/client/preview/ButtonHoverRoleControls.d.ts +10 -0
  288. package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +3 -2
  289. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +1 -1
  290. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +1 -1
  291. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -1
  292. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -1
  293. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
  294. package/dist/_dts/preview-next/src/client/preview/PreviewSiteFontStorageContext.d.ts +6 -0
  295. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -1
  296. package/dist/_dts/preview-next/src/client/preview/StyleConfiguratorWarningNotice.d.ts +7 -0
  297. package/dist/_dts/preview-next/src/client/preview/siteFontPreview.d.ts +5 -0
  298. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -1
  299. package/dist/_dts/preview-next/src/client/sdk/contentStorage.d.ts +10 -0
  300. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -1
  301. package/dist/_dts/preview-next/src/index.d.ts +1 -0
  302. package/dist/_dts/preview-next/src/keepAlive.d.ts +3 -5
  303. package/dist/_dts/preview-next/src/refresh-contract.d.ts +1 -0
  304. package/dist/_dts/preview-next/src/route-contract.d.ts +7 -0
  305. package/dist/_dts/sdk/src/client/eventSubrouteReadOperations.d.ts +11 -0
  306. package/dist/_dts/sdk/src/client/types.d.ts +12 -5
  307. package/dist/_dts/sdk/src/components.d.ts +1 -1
  308. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  309. package/dist/_dts/sdk/src/contracts/page.d.ts +2 -13
  310. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +64 -54
  311. package/dist/_dts/sdk/src/next/pageMetadataProjection.d.ts +7 -0
  312. package/dist/_dts/sdk/src/next/resolveEventPageSubroute.d.ts +12 -0
  313. package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
  314. package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -19
  315. package/dist/_dts/sdk/src/public-api/eventSubrouteContracts.d.ts +12 -0
  316. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  317. package/dist/_dts/sdk/src/rendering/client.d.ts +44 -0
  318. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
  319. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
  320. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +9 -1
  321. package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +1 -1
  322. package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +4 -3
  323. package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +7 -3
  324. package/dist/_dts/sdk/src/theme-bridge/types.d.ts +4 -2
  325. package/dist/_dts/sdk/src/version.d.ts +1 -1
  326. package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +1 -1
  327. package/dist/_dts/theme-core/src/buttons/contextualHover.d.ts +41 -0
  328. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  329. package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +3 -0
  330. package/dist/_dts/theme-core/src/buttons/resolveButtonHoverTreatment.d.ts +14 -0
  331. package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +21 -4
  332. package/dist/_dts/theme-core/src/buttons/styles/recipes/flatInk.d.ts +92 -0
  333. package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +10 -150
  334. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -102
  335. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +50 -2
  336. package/dist/_dts/theme-core/src/buttons/types.d.ts +29 -0
  337. package/dist/_dts/theme-core/src/cards/core.d.ts +54 -10
  338. package/dist/_dts/theme-core/src/cards/decorations.d.ts +33 -0
  339. package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +7 -2
  340. package/dist/_dts/theme-core/src/cards/index.d.ts +3 -0
  341. package/dist/_dts/theme-core/src/cards/openCardVariant.d.ts +24 -0
  342. package/dist/_dts/theme-core/src/cards/roles.d.ts +38 -0
  343. package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +53 -8
  344. package/dist/_dts/theme-core/src/cards/types.d.ts +474 -28
  345. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  346. package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +59 -0
  347. package/dist/_dts/theme-core/src/header/paintTargets.d.ts +2 -2
  348. package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +3 -2
  349. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +30 -138
  350. package/dist/_dts/theme-core/src/palette/utils/contrast.d.ts +1 -0
  351. package/dist/_dts/theme-core/src/palette/utils/opaqueSurfaceColor.d.ts +6 -0
  352. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -1
  353. package/dist/_dts/theme-core/src/schema.d.ts +302 -107
  354. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +111 -102
  355. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -1
  356. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +9 -4
  357. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +0 -20
  358. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +111 -102
  359. package/dist/_dts/theme-core/src/site-styles/buttonSelectionCompiler.d.ts +18 -0
  360. package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +48 -0
  361. package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +21 -0
  362. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +21 -385
  363. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -18
  364. package/dist/_dts/theme-core/src/site-styles/headerLayoutTypes.d.ts +2 -4
  365. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +2 -9
  366. package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +0 -2
  367. package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
  368. package/dist/_dts/theme-core/src/site-styles/pageDesignAppearanceAvailability.d.ts +3 -0
  369. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +22 -0
  370. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +9 -8
  371. package/dist/_dts/theme-core/src/site-styles/pageDesignIntentEquality.d.ts +3 -0
  372. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -11
  373. package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +19 -0
  374. package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -0
  375. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +1 -62
  376. package/dist/_dts/theme-core/src/site-styles/selectionFallbackWarning.d.ts +15 -0
  377. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +13 -12
  378. package/dist/_dts/theme-core/src/site-styles/types.d.ts +62 -39
  379. package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +9 -9
  380. package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +1 -0
  381. package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
  382. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +39 -0
  383. package/dist/_dts/ui/src/navigation-tabs.d.ts +5 -2
  384. package/dist/client/{DiscountCodeDisclosure-Ur-Xx1U_.mjs → DiscountCodeDisclosure-DO7llLxm.mjs} +12 -12
  385. package/dist/client/{EventCombined.client-EhscD4U6.mjs → EventCombined.client-xID7zN__.mjs} +38 -50
  386. package/dist/client/{EventListing.client-Bn26cFTY.mjs → EventListing.client-CriBslp0.mjs} +2 -2
  387. package/dist/client/{FeedbackMessage-ByMrs3cr.mjs → FeedbackMessage-CtLvvS_d.mjs} +15 -3
  388. package/dist/client/{LeafletStaticMap-BUw9Ntzr.mjs → LeafletStaticMap-DYmHnM8g.mjs} +1 -1
  389. package/dist/client/{StepIndicator-BfbdiVQI.mjs → StepIndicator-CGixP_LW.mjs} +3 -3
  390. package/dist/client/{CourseRegistrationWizard-Bvtz9G9g.mjs → WholeSeriesRegistrationWizard-BEjzSiOA.mjs} +1410 -1247
  391. package/dist/client/{accordion-CjIeof73.mjs → accordion-CgFbnnnQ.mjs} +1 -1
  392. package/dist/client/{bookingForm-DwEeovf_.mjs → bookingForm-dUyGpbxc.mjs} +56 -39
  393. package/dist/client/bookings.mjs +1096 -731
  394. package/dist/client/{carousel-BMrfgOba.mjs → carousel-BvBwkUzx.mjs} +2 -2
  395. package/dist/client/{carousel.client-CpwTUhIo.mjs → carousel.client-59G_WMr4.mjs} +1 -1
  396. package/dist/client/{cart-rXEdxTdb.mjs → cart-DiZENT2E.mjs} +3 -3
  397. package/dist/client/{checkout-D3JlSzh3.mjs → checkout-Dq13KIgR.mjs} +3 -3
  398. package/dist/client/client.mjs +10645 -6794
  399. package/dist/client/{colorStyles-BWpj_h4C.mjs → colorStyles-CrxJrPjJ.mjs} +277 -1
  400. package/dist/client/{context-CJz1Vlsz.mjs → context-B83PiNzm.mjs} +6 -21
  401. package/dist/client/{courseRegistration-DO5XvMAA.mjs → courseRegistration-CKC5NmyH.mjs} +11 -5
  402. package/dist/client/{eventCalendar-DO6rTqCn.mjs → eventCalendar-BF0Jatfw.mjs} +42 -45
  403. package/dist/client/{eventCombined-bJ3i_ovU.mjs → eventCombined-BuoCF8je.mjs} +3 -3
  404. package/dist/client/{eventDetails-CCbrXE7o.mjs → eventDetails-CKwh0S9s.mjs} +276 -94
  405. package/dist/client/{eventListing-Bdlt9YTm.mjs → eventListing-eUxaWFaB.mjs} +3 -3
  406. package/dist/client/{eventRegistration-B02lt6iY.mjs → eventRegistration-CfkNOkPb.mjs} +630 -138
  407. package/dist/client/{form-DrUBAAox.mjs → form-C17H1c_H.mjs} +4 -4
  408. package/dist/client/{headerSection-MzqvHL6T.mjs → headerSection-DEwUmrtt.mjs} +2 -2
  409. package/dist/client/hooks.mjs +3224 -2485
  410. package/dist/client/{locationMap-DG8BxTBm.mjs → locationMap-Pf2QwuvW.mjs} +3 -3
  411. package/dist/client/{media-CNE1Z-wb.mjs → media-BOHuueS5.mjs} +16 -4
  412. package/dist/client/{newsletterForm-BzO-Td3p.mjs → newsletterForm-BWQAH5Sv.mjs} +4 -4
  413. package/dist/client/pricing-CVdvbopJ.mjs +195 -0
  414. package/dist/client/{productDetail-CfQ7rhVK.mjs → productDetail-BZi1Fa_G.mjs} +3 -3
  415. package/dist/client/{productList-C23rOLUi.mjs → productList-qq-55DNk.mjs} +3 -3
  416. package/dist/client/{propsDecoder-CAZdhwjs.mjs → propsDecoder-BxmqPKdP.mjs} +859 -650
  417. package/dist/client/rendering/client.mjs +8658 -7862
  418. package/dist/client/rendering/islands.mjs +20 -20
  419. package/dist/client/rendering.mjs +11437 -7446
  420. package/dist/client/{scrollToBlock-DSSqVQr1.mjs → scrollToBlock-B3CcKdtG.mjs} +1 -1
  421. package/dist/client/{shop-BMToKLK7.mjs → shop-DNWJPut5.mjs} +7 -7
  422. package/dist/client/{shop-commerce-DB4JRKmp.mjs → shop-commerce-BhvQCosS.mjs} +8 -8
  423. package/dist/client/{shop-commerce-store-BOqSIOuc.mjs → shop-commerce-store-B04sCNnW.mjs} +1 -1
  424. package/dist/client/{shopShared-B6SK9DZv.mjs → shopShared-DNNgZlmW.mjs} +5 -5
  425. package/dist/client/{useEventFilters-CULOa4nB.mjs → useEventFilters-CUmhE24_.mjs} +329 -84
  426. package/dist/client/{usePolling-BGG_8-jl.mjs → usePolling-M5jG675x.mjs} +3 -3
  427. package/dist/preview-next/before-render.mjs +439 -168
  428. package/dist/preview-next/client/runtime.mjs +4 -4
  429. package/dist/preview-next/keepAlive.mjs +7593 -29
  430. package/dist/preview-next/middleware.mjs +433 -167
  431. package/dist/{previewAuthStore-_GXFRg2W.mjs → previewAuthStore-BFKd4LrN.mjs} +432 -167
  432. package/dist/{sdk-runtime-hhSOMShR.mjs → sdk-runtime-BEXb1wqo.mjs} +2 -2
  433. package/dist/{separator-flRaFc14.mjs → separator-DGMuip1D.mjs} +1 -1
  434. package/dist/server/components.mjs +9596 -6347
  435. package/dist/server/config-validation.mjs +3224 -2486
  436. package/dist/server/config.mjs +3224 -2486
  437. package/dist/server/data.mjs +3224 -2485
  438. package/dist/server/index.mjs +486 -200
  439. package/dist/server/manifest.mjs +0 -1
  440. package/dist/server/next.mjs +10343 -7188
  441. package/dist/server/page-converter.mjs +1828 -2094
  442. package/dist/server/prebuild.mjs +1 -1
  443. package/dist/server/rendering/server.mjs +6750 -4519
  444. package/dist/server/rendering.mjs +9591 -6342
  445. package/dist/server/routing.mjs +3403 -1594
  446. package/dist/server/server.mjs +3274 -2671
  447. package/dist/server/theme-bridge.mjs +2979 -1639
  448. package/dist/server/theme.mjs +590 -176
  449. package/dist/styles/index.css +1896 -1129
  450. package/package.json +3 -2
  451. package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +0 -746
  452. package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +0 -1
  453. package/dist/_dts/block-form/src/widgets/index.d.ts +0 -20
  454. package/dist/_dts/blocks/src/system/runtime/api/requestBody.d.ts +0 -7
  455. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +0 -3
  456. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +0 -6
  457. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +0 -45
  458. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +0 -14
  459. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +0 -9
  460. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +0 -35
  461. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +0 -31
  462. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +0 -102
  463. package/dist/client/clsx-DgIEfj3H.mjs +0 -16
  464. package/dist/client/eventProductEligibility-AVxyCB1u.mjs +0 -50
  465. package/dist/client/pricing-NgK7ozkg.mjs +0 -174
  466. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PortalAuthSidebar.d.ts +0 -0
  467. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/SuccessStep.d.ts +0 -0
  468. /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/WaitlistStep.d.ts +0 -0
@@ -0,0 +1,135 @@
1
+ import { z } from 'zod';
2
+ import type { PublicWholeSeriesOffering } from './types';
3
+ export declare const wholeSeriesVenueSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ address: z.ZodNullable<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare const wholeSeriesSessionSchema: z.ZodObject<{
9
+ id: z.ZodString;
10
+ startsAt: z.ZodString;
11
+ endsAt: z.ZodString;
12
+ timeZone: z.ZodString;
13
+ capacityOverride: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ overrides: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ }, z.core.$strip>;
16
+ export declare const wholeSeriesTeamMemberSummarySchema: z.ZodObject<{
17
+ id: z.ZodString;
18
+ name: z.ZodString;
19
+ roleLabel: z.ZodNullable<z.ZodString>;
20
+ summary: z.ZodNullable<z.ZodString>;
21
+ profilePath: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ export declare const wholeSeriesPricingOptionSchema: z.ZodObject<{
24
+ id: z.ZodString;
25
+ name: z.ZodString;
26
+ description: z.ZodNullable<z.ZodString>;
27
+ priceAmount: z.ZodNumber;
28
+ isActive: z.ZodBoolean;
29
+ sortOrder: z.ZodNumber;
30
+ capacityLimit: z.ZodNullable<z.ZodNumber>;
31
+ saleStartsAt: z.ZodNullable<z.ZodString>;
32
+ saleEndsAt: z.ZodNullable<z.ZodString>;
33
+ attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
34
+ in_person: "in_person";
35
+ both: "both";
36
+ online: "online";
37
+ }>>>;
38
+ }, z.core.$strip>;
39
+ export declare const wholeSeriesPricingSchema: z.ZodObject<{
40
+ bookingRequirement: z.ZodEnum<{
41
+ required: "required";
42
+ none: "none";
43
+ }>;
44
+ pricingStrategy: z.ZodEnum<{
45
+ single: "single";
46
+ sliding_scale: "sliding_scale";
47
+ free: "free";
48
+ tiered: "tiered";
49
+ }>;
50
+ currency: z.ZodString;
51
+ singlePriceAmount: z.ZodNullable<z.ZodNumber>;
52
+ slidingMinAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
+ slidingMaxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ slidingSuggestedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ paymentTerms: z.ZodObject<{
56
+ allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
57
+ kind: z.ZodLiteral<"upfront">;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ kind: z.ZodLiteral<"deferred_manual">;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ kind: z.ZodLiteral<"instalment_plan">;
62
+ plan: z.ZodUnion<readonly [z.ZodObject<{
63
+ kind: z.ZodLiteral<"deposit_plus_one_remainder">;
64
+ depositAmountCents: z.ZodNumber;
65
+ depositRefundability: z.ZodEnum<{
66
+ refundable: "refundable";
67
+ non_refundable: "non_refundable";
68
+ }>;
69
+ remainderDueCount: z.ZodNumber;
70
+ intervalUnit: z.ZodEnum<{
71
+ day: "day";
72
+ week: "week";
73
+ month: "month";
74
+ }>;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
77
+ depositAmountCents: z.ZodNumber;
78
+ depositRefundability: z.ZodEnum<{
79
+ refundable: "refundable";
80
+ non_refundable: "non_refundable";
81
+ }>;
82
+ instalmentCount: z.ZodNumber;
83
+ intervalCount: z.ZodNumber;
84
+ intervalUnit: z.ZodEnum<{
85
+ day: "day";
86
+ week: "week";
87
+ month: "month";
88
+ }>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ kind: z.ZodLiteral<"equal_scheduled_instalments">;
91
+ instalmentCount: z.ZodNumber;
92
+ intervalCount: z.ZodNumber;
93
+ intervalUnit: z.ZodEnum<{
94
+ day: "day";
95
+ week: "week";
96
+ month: "month";
97
+ }>;
98
+ }, z.core.$strip>]>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ kind: z.ZodLiteral<"flexible_balance">;
101
+ config: z.ZodObject<{
102
+ upfrontAmountCents: z.ZodNumber;
103
+ dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
104
+ kind: z.ZodLiteral<"relative_to_start_date">;
105
+ daysBeforeStart: z.ZodNumber;
106
+ }, z.core.$strip>, z.ZodObject<{
107
+ kind: z.ZodLiteral<"fixed_calendar_date">;
108
+ dueAt: z.ZodString;
109
+ }, z.core.$strip>]>;
110
+ depositRefundability: z.ZodEnum<{
111
+ refundable: "refundable";
112
+ non_refundable: "non_refundable";
113
+ }>;
114
+ }, z.core.$strip>;
115
+ }, z.core.$strip>]>>;
116
+ }, z.core.$strip>;
117
+ options: z.ZodArray<z.ZodObject<{
118
+ id: z.ZodString;
119
+ name: z.ZodString;
120
+ description: z.ZodNullable<z.ZodString>;
121
+ priceAmount: z.ZodNumber;
122
+ isActive: z.ZodBoolean;
123
+ sortOrder: z.ZodNumber;
124
+ capacityLimit: z.ZodNullable<z.ZodNumber>;
125
+ saleStartsAt: z.ZodNullable<z.ZodString>;
126
+ saleEndsAt: z.ZodNullable<z.ZodString>;
127
+ attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
128
+ in_person: "in_person";
129
+ both: "both";
130
+ online: "online";
131
+ }>>>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>;
134
+ export declare const publicWholeSeriesOfferingSchema: z.ZodType<PublicWholeSeriesOffering>;
135
+ export declare const publicWholeSeriesOfferingsArraySchema: z.ZodArray<z.ZodType<PublicWholeSeriesOffering, unknown, z.core.$ZodTypeInternals<PublicWholeSeriesOffering, unknown>>>;
@@ -0,0 +1,81 @@
1
+ /** Canonical public model for Events booked as one complete run. */
2
+ import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
3
+ import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
4
+ import type { BlockButtonRole } from '../../../constants/buttonRoles';
5
+ export type WholeSeriesOfferingStatus = 'active' | 'draft' | 'cancelled';
6
+ export type WholeSeriesVenue = {
7
+ id: string;
8
+ name: string;
9
+ address: string | null;
10
+ };
11
+ export type WholeSeriesSession = {
12
+ id: string;
13
+ startsAt: string;
14
+ endsAt: string;
15
+ timeZone: string;
16
+ capacityOverride?: number | null;
17
+ overrides?: Record<string, unknown> | null;
18
+ };
19
+ export type WholeSeriesPricingOption = {
20
+ id: string;
21
+ name: string;
22
+ description: string | null;
23
+ priceAmount: number;
24
+ isActive: boolean;
25
+ sortOrder: number;
26
+ capacityLimit: number | null;
27
+ saleStartsAt: string | null;
28
+ saleEndsAt: string | null;
29
+ attendanceScope?: 'in_person' | 'online' | 'both' | null;
30
+ };
31
+ export type WholeSeriesPricing = {
32
+ bookingRequirement: 'none' | 'required';
33
+ pricingStrategy: 'free' | 'single' | 'tiered' | 'sliding_scale';
34
+ currency: string;
35
+ singlePriceAmount: number | null;
36
+ slidingMinAmount?: number | null;
37
+ slidingMaxAmount?: number | null;
38
+ slidingSuggestedAmount?: number | null;
39
+ paymentTerms: BlockBookingPaymentTerms;
40
+ options: readonly WholeSeriesPricingOption[];
41
+ };
42
+ /**
43
+ * Public whole-series offering data from the API.
44
+ * Used by Event registration and details surfaces.
45
+ */
46
+ export type PublicWholeSeriesOffering = {
47
+ /** Canonical event-series identity backing this concrete bookable run. */
48
+ eventSeriesId: string;
49
+ /** Offering identity owning the public Event page and its available runs. */
50
+ eventOfferingId: string;
51
+ title: string;
52
+ slug: string;
53
+ /** Rich text description (ProseMirror/TipTap JSON format) */
54
+ description: unknown;
55
+ teamMembers?: PublicTeamMemberSummary[];
56
+ /** Registration is open if the run has not started yet. */
57
+ enrollmentOpen: boolean;
58
+ /** Canonical shared pricing model for the whole-series run. */
59
+ pricing: WholeSeriesPricing;
60
+ /** Currency code (ISO 4217) */
61
+ currency: string;
62
+ /** Shared booking payment-terms model for appointments and Events. */
63
+ paymentTerms: BlockBookingPaymentTerms;
64
+ /** Maximum enrollment capacity (null = unlimited) */
65
+ enrollmentCapacity: number | null;
66
+ /** Whether memberships can be used for free enrollment */
67
+ acceptsMemberships: boolean;
68
+ /** Operational status of the run. */
69
+ status: WholeSeriesOfferingStatus;
70
+ /** Total number of sessions in the run. */
71
+ sessionsCount: number;
72
+ /** Number of enrolled students */
73
+ enrolledCount: number;
74
+ /** Available spots (null if unlimited) */
75
+ availableSpots: number | null;
76
+ /** Every session included in this run. */
77
+ sessions: WholeSeriesSession[];
78
+ /** Venue information */
79
+ venue: WholeSeriesVenue | null;
80
+ };
81
+ export type ButtonVariant = BlockButtonRole;
@@ -5,10 +5,34 @@ import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifes
5
5
  import { type StandardAspectRatio } from "../fields/aspectRatio";
6
6
  import { type BlockCtaContent } from "../fields/ctas";
7
7
  import type { BlockIconValue, SemanticIconId } from "../icons";
8
+ import type { CardRole } from "../../../../theme-core/src/cards/index";
8
9
  import { type FeatureCardIconTreatment } from "./feature-card-icons";
9
10
  type FeatureCardsVariant = "cards" | "editorial-diptych" | "editorial-pathways";
10
11
  type FeatureCardsColumns = "2" | "3" | "4";
11
- export type FeatureCardSurfaceRole = "open" | "panel";
12
+ /**
13
+ * This block's historical per-item surface values. They are aliases of card
14
+ * roles now, and stay parseable forever — persisted content carries them.
15
+ */
16
+ export type FeatureCardLegacySurfaceRole = "open" | "panel";
17
+ /**
18
+ * What an individual card may say about its own surface: the card-role
19
+ * vocabulary *minus* `open`, plus this block's two historical values.
20
+ *
21
+ * The subtraction is the point. `open` predates the role vocabulary here and
22
+ * keeps its old meaning — the unmarked boxless card every unset item already
23
+ * falls back to, which is role `none`. Reading it as role `open` would put a
24
+ * top rule on every default feature card, so
25
+ * `FEATURE_CARD_SURFACE_ROLE_ALIASES` maps it to `none` before any role
26
+ * normalization runs, and it does so unconditionally.
27
+ *
28
+ * Building the union as `Exclude<CardRole, 'open'> | FeatureCardLegacySurfaceRole`
29
+ * therefore states the truth: the string `open` is only ever reachable through
30
+ * the legacy half, and **the canonical `open` role is permanently
31
+ * unaddressable per item on this block** — the alias always wins. A caller
32
+ * that wants the canonical open card sets it as the block's card role, not as
33
+ * an item's `surfaceRole`.
34
+ */
35
+ export type FeatureCardSurfaceRole = Exclude<CardRole, "open"> | FeatureCardLegacySurfaceRole;
12
36
  export declare const featureCardsManifest: DefinedBlockManifest<BlockContentShapeInput<BlockConfig>>;
13
37
  export type FeatureCard = {
14
38
  surfaceRole?: FeatureCardSurfaceRole | null;
@@ -4,6 +4,7 @@ import type { SystemBlockDefinition } from "../registry";
4
4
  import type { SemanticSpacing } from "../spacing";
5
5
  import { type ContentFrameIntent } from "../frame/frameStyles";
6
6
  import { type StandardAspectRatio } from "../fields/aspectRatio";
7
+ import { type CardStylesContent } from "../fields/boxStyles";
7
8
  import { type StandardImageShape } from "../fields/imageShape";
8
9
  import { type ImageColSize } from "../fields/imageLayout";
9
10
  type MediaTextAlignment = "left" | "center";
@@ -94,36 +95,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
94
95
  readonly ui: {
95
96
  readonly intent: "display";
96
97
  };
97
- }, import("../../../../block-form/src/backend/index").FieldDefinition, {
98
- readonly id: "gap";
99
- readonly type: "select";
100
- readonly label: "Gap between media and text";
101
- readonly required: false;
102
- readonly defaultValue: "comfortable";
103
- readonly multiple: false;
104
- readonly options: [{
105
- readonly value: "none";
106
- readonly label: "None";
107
- }, {
108
- readonly value: "compact";
109
- readonly label: "Compact";
110
- }, {
111
- readonly value: "cozy";
112
- readonly label: "Cozy";
113
- }, {
114
- readonly value: "medium";
115
- readonly label: "Medium";
116
- }, {
117
- readonly value: "comfortable";
118
- readonly label: "Comfortable";
119
- }, {
120
- readonly value: "spacious";
121
- readonly label: "Spacious";
122
- }];
123
- readonly ui: {
124
- readonly intent: "display";
125
- };
126
- }, {
98
+ }, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, {
127
99
  readonly id: string;
128
100
  readonly label: string;
129
101
  readonly required: boolean;
@@ -2043,8 +2015,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
2043
2015
  readonly label: string;
2044
2016
  readonly id: string;
2045
2017
  readonly type: "repeater";
2046
- readonly required: boolean;
2047
2018
  readonly description?: string | undefined;
2019
+ readonly required: boolean;
2048
2020
  readonly ui?: {
2049
2021
  widget?: string | undefined;
2050
2022
  preset?: "disclosure" | undefined;
@@ -2160,8 +2132,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
2160
2132
  readonly label: string;
2161
2133
  readonly id: string;
2162
2134
  readonly type: "group";
2163
- readonly required: boolean;
2164
2135
  readonly description?: string | undefined;
2136
+ readonly required: boolean;
2165
2137
  readonly ui?: {
2166
2138
  widget?: string | undefined;
2167
2139
  preset?: "disclosure" | undefined;
@@ -2267,8 +2239,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
2267
2239
  readonly label: string;
2268
2240
  readonly id: string;
2269
2241
  readonly type: "modal";
2270
- readonly required: boolean;
2271
2242
  readonly description?: string | undefined;
2243
+ readonly required: boolean;
2272
2244
  readonly ui?: {
2273
2245
  widget?: string | undefined;
2274
2246
  preset?: "disclosure" | undefined;
@@ -2374,8 +2346,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
2374
2346
  readonly label: string;
2375
2347
  readonly id: string;
2376
2348
  readonly type: "tabGroup";
2377
- readonly required: boolean;
2378
2349
  readonly description?: string | undefined;
2350
+ readonly required: boolean;
2379
2351
  readonly ui?: {
2380
2352
  widget?: string | undefined;
2381
2353
  preset?: "disclosure" | undefined;
@@ -4796,8 +4768,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
4796
4768
  label: string;
4797
4769
  id: string;
4798
4770
  type: "repeater";
4799
- required: boolean;
4800
4771
  description?: string | undefined;
4772
+ required: boolean;
4801
4773
  minItems: number;
4802
4774
  maxItems?: number | undefined;
4803
4775
  visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
@@ -4929,8 +4901,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
4929
4901
  label: string;
4930
4902
  id: string;
4931
4903
  type: "group";
4932
- required: boolean;
4933
4904
  description?: string | undefined;
4905
+ required: boolean;
4934
4906
  visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
4935
4907
  defaultValue?: any;
4936
4908
  schema: {
@@ -5052,8 +5024,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
5052
5024
  label: string;
5053
5025
  id: string;
5054
5026
  type: "modal";
5055
- required: boolean;
5056
5027
  description?: string | undefined;
5028
+ required: boolean;
5057
5029
  visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
5058
5030
  defaultValue?: any;
5059
5031
  schema: {
@@ -5175,8 +5147,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
5175
5147
  label: string;
5176
5148
  id: string;
5177
5149
  type: "tabGroup";
5178
- required: boolean;
5179
5150
  description?: string | undefined;
5151
+ required: boolean;
5180
5152
  visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
5181
5153
  defaultValue?: any;
5182
5154
  activeTabField?: string | undefined;
@@ -5301,8 +5273,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
5301
5273
  label: string;
5302
5274
  id: "_textCardStyles";
5303
5275
  type: "modal";
5304
- required: boolean;
5305
5276
  description?: string | undefined;
5277
+ required: boolean;
5306
5278
  visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
5307
5279
  defaultValue?: any;
5308
5280
  schema: {
@@ -5331,6 +5303,11 @@ export type MediaTextContent = {
5331
5303
  text: RichTextDoc;
5332
5304
  wrapTextInCard?: boolean | null;
5333
5305
  _textCardStyles?: unknown;
5306
+ /**
5307
+ * Compiler-owned. Media-text reads only the card role off this — its card's
5308
+ * own styling lives in `_textCardStyles` above (issue 1297, Phase 2b).
5309
+ */
5310
+ _cardStyles?: CardStylesContent;
5334
5311
  _frameStyles?: ContentFrameIntent | null;
5335
5312
  };
5336
5313
  export declare const mediaTextBlockDefinition: SystemBlockDefinition<MediaTextContent>;
@@ -28,7 +28,7 @@ export declare const OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS: readonly [{
28
28
  export type OfferingsPreviewEventPreset = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['preset'];
29
29
  export type OfferingsPreviewEventSourceKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['sourceKey'];
30
30
  export type OfferingsPreviewEventDataKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['dataKey'];
31
- export declare const OFFERINGS_PREVIEW_EVENT_PRESETS: ("performance" | "class" | "workshop" | "retreat")[];
31
+ export declare const OFFERINGS_PREVIEW_EVENT_PRESETS: ("class" | "workshop" | "retreat" | "performance")[];
32
32
  export declare const OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
33
33
  export declare const OFFERINGS_PREVIEW_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
34
34
  export type OfferingsPreviewSourceKey = OfferingsPreviewEventSourceKey | 'course';
@@ -35,7 +35,6 @@ export declare const siteHeaderManifest: import("..").DefinedBlockManifest<impor
35
35
  readonly paletteHidden: true;
36
36
  }>>;
37
37
  export type SiteHeaderManifest = typeof siteHeaderManifest;
38
- export type SiteHeaderVariant = 'classic' | 'centered' | 'transparent' | 'floating';
39
38
  export declare const SITE_HEADER_MODES: readonly ["default", "hidden"];
40
39
  export type SiteHeaderMode = (typeof SITE_HEADER_MODES)[number];
41
40
  export type SiteHeaderContent = Readonly<{
@@ -1,6 +1,7 @@
1
+ import { type BlockManifest } from "../manifest/schema";
1
2
  import type { SystemBlockDefinition } from "../registry";
3
+ import { type CardStylesContent } from "../fields/boxStyles";
2
4
  import type { SemanticSpacing } from "../spacing";
3
- import type { NodeDefinition } from "../node";
4
5
  import { type ImageColSize } from "../fields/imageLayout";
5
6
  import type { PublicTeamMemberPhoto } from "./shared/teamMembers";
6
7
  type ThumbnailShape = "round" | "rounded" | "square";
@@ -9,68 +10,7 @@ type LayoutWidth = "full" | "lg-3-4-left";
9
10
  type ThumbnailPadding = "none" | "sm" | "md" | "lg";
10
11
  type StackImagePosition = "left" | "right" | "alternate";
11
12
  type StackContentAlignment = "top" | "center";
12
- export declare const teamMembersManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
13
- readonly id: "block.team-members";
14
- readonly title: "Team Members";
15
- readonly category: "content";
16
- readonly contentSource: {
17
- readonly kind: "mixed";
18
- };
19
- readonly titleSource: "heading";
20
- readonly additionalFields: readonly [import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, {
21
- readonly ui: {
22
- readonly intent: "content";
23
- readonly visibleWhen: {
24
- readonly field: "source";
25
- readonly equals: "manual";
26
- };
27
- };
28
- readonly label: string;
29
- readonly id: string;
30
- readonly type: "repeater";
31
- readonly required: boolean;
32
- readonly description?: string | undefined;
33
- readonly minItems: number;
34
- readonly maxItems?: number | undefined;
35
- readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
36
- readonly defaultValue?: any;
37
- readonly itemLabel: string;
38
- readonly itemLabelSource?: string | undefined;
39
- readonly showSummary?: boolean | undefined;
40
- readonly summaryFields?: string[] | undefined;
41
- readonly summaryMaxChars?: number | undefined;
42
- readonly polymorphic?: boolean | undefined;
43
- readonly allowConversion: boolean;
44
- readonly schema?: {
45
- fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
46
- };
47
- readonly itemTypes?: Record<string, import("..").ItemTypeDefinition>;
48
- }];
49
- readonly layout: NodeDefinition;
50
- readonly variants: {
51
- readonly grid: NodeDefinition;
52
- readonly stack: NodeDefinition;
53
- };
54
- readonly defaultVariant: "grid";
55
- readonly variantOptions: {
56
- readonly grid: {
57
- readonly label: "Grid";
58
- readonly description: "Members in a responsive grid";
59
- readonly icon: "Grid3X3";
60
- };
61
- readonly stack: {
62
- readonly label: "Stack";
63
- readonly description: "Members in a stacked list with photo + bio";
64
- readonly icon: "List";
65
- };
66
- };
67
- readonly description: "Show your team members in a grid or stacked list.";
68
- readonly tags: readonly ["team", "people", "members"];
69
- readonly icon: "Users";
70
- readonly styleTokens: {
71
- readonly spacing: "lg";
72
- };
73
- }>>;
13
+ export declare const teamMembersManifest: BlockManifest;
74
14
  type ManualTeamMemberItem = {
75
15
  _type: "teamMember";
76
16
  name: string;
@@ -91,6 +31,7 @@ type TeamMembersCommonContent = {
91
31
  stackContentAlignment?: StackContentAlignment | null;
92
32
  columns?: string | number | null;
93
33
  gap?: SemanticSpacing;
34
+ _cardStyles?: CardStylesContent;
94
35
  };
95
36
  export type TeamMembersContent = (TeamMembersCommonContent & {
96
37
  source?: "manual" | null;
@@ -1,5 +1,5 @@
1
1
  import { type MediaAssetId } from '../../../../core/src/index';
2
- import { type ThemeBackgroundTextLegibilityPlan, type AppearancePresetId, type LayoutVariantKey, type PageDesignEditorBackgroundSupport } from '../../../../theme-core/src/site-styles/index';
2
+ import { type AppearancePresetId, type LayoutVariantKey, type PageDesignEditorBackgroundSupport } from '../../../../theme-core/src/site-styles/index';
3
3
  import type { ThemeColorToken } from '../../../../theme-core/src/tokens/index';
4
4
  import { type GradientPresetId } from '../../../../theme-core/src/gradients/index';
5
5
  import type { RenderableMediaAsset } from '../../../../media-core/src/index';
@@ -177,8 +177,6 @@ export declare const recommendedBackgroundColorTokens: readonly BackgroundColorT
177
177
  export declare const advancedBackgroundColorTokens: BackgroundColorToken[];
178
178
  export declare function parseBackgroundColorToken(value: unknown): BackgroundColorToken | null;
179
179
  export declare function isBackgroundColorToken(value: unknown): value is BackgroundColorToken;
180
- export declare function foregroundTokenForBackgroundColorToken(token: BackgroundColorToken): string;
181
- export declare function planBackgroundColorTextLegibility(token: BackgroundColorToken): ThemeBackgroundTextLegibilityPlan;
182
180
  export declare function dedupeBackgroundColorTokensByPalette(tokens: readonly BackgroundColorToken[], palette: BackgroundColorPalette): readonly BackgroundColorToken[];
183
181
  export declare function backgroundModeForOverride(override: BackgroundOverride): BackgroundMode;
184
182
  export declare function backgroundOverrideEquals(left: BackgroundOverride, right: BackgroundOverride): boolean;
@@ -1,5 +1,6 @@
1
1
  import type { ModalFieldDefinition } from '../manifest/schema';
2
2
  import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment, HeadingDecorationOverride, TileTreatment } from '../../../../theme-core/src/site-styles/index';
3
+ import { type CardRole } from '../../../../theme-core/src/cards/index';
3
4
  import type { BackgroundContent } from './backgroundContent';
4
5
  /**
5
6
  * Options for customizing a section styles field.
@@ -49,6 +50,12 @@ type CardStylesOptions = {
49
50
  label?: string;
50
51
  /** Whether to include background field (default: true) */
51
52
  includeBackground?: boolean;
53
+ /**
54
+ * Expose only the semantic role selector. This is for blocks such as events
55
+ * that let authors choose a site-style card role without exposing a second
56
+ * set of visual identity controls.
57
+ */
58
+ controls?: 'overrides' | 'role-only';
52
59
  } & BoxStylesUiOptions;
53
60
  /**
54
61
  * Content type for section styles field (_sectionStyles).
@@ -84,8 +91,12 @@ export type CardStylesContent = {
84
91
  spacing?: string | null;
85
92
  raised?: boolean | null;
86
93
  rounded?: string | null;
87
- cardVariant?: string | null;
88
- treatment?: 'accent-quote' | 'editorial-rule' | 'soft-panel' | 'editorial-serif-quote' | 'editorial-open' | null;
94
+ /**
95
+ * The card role the block's Look asked for. Compiled by the site-style
96
+ * runtime; the site style owns what the role looks like. The one field that
97
+ * names a card surface.
98
+ */
99
+ role?: CardRole | null;
89
100
  } | null;
90
101
  export type ContainerStylesContent = {
91
102
  background?: BackgroundContent | null;
@@ -0,0 +1,20 @@
1
+ import { type FieldDefinition } from "../manifest/schema";
2
+ type FieldUi = NonNullable<FieldDefinition["ui"]>;
3
+ type FieldVisibleWhen = FieldUi["visibleWhen"];
4
+ type SharedSelectOptions = Readonly<{
5
+ label?: string;
6
+ description?: string;
7
+ defaultValue?: string;
8
+ visibleWhen?: FieldVisibleWhen;
9
+ }>;
10
+ /**
11
+ * Grid `userColumns` binding for blocks with a user-configured column count.
12
+ * The count renders through the canonical responsive ladder — see
13
+ * {@link gridUserColumnLadder}.
14
+ */
15
+ export declare function userColumnsGridBinding(): Record<string, unknown>;
16
+ /** Shared "Columns" select (2/3/4) for grid-layout blocks. */
17
+ export declare function columnsSelectField(options?: SharedSelectOptions): FieldDefinition;
18
+ /** Shared semantic "Gap" select for layout blocks. */
19
+ export declare function gapSelectField(options?: SharedSelectOptions): FieldDefinition;
20
+ export {};
@@ -1,9 +1,14 @@
1
1
  import type { Binding } from "../schema";
2
+ /**
3
+ * A class name resolved from a binding. `$prepend` / `$append` are read by the
4
+ * resolver for string composition; a fallback belongs *inside* `$bind`, where
5
+ * the resolver actually reads it — a sibling `fallback` here was silently
6
+ * ignored, so the field is gone rather than looking load-bearing.
7
+ */
2
8
  export type BoundClassName = Readonly<{
3
9
  $bind: Binding;
4
10
  $prepend?: string;
5
11
  $append?: string;
6
- fallback?: string;
7
12
  }>;
8
13
  export type ClassNameBinding = string | BoundClassName;
9
14
  export declare function prependClassName(className: string, value: ClassNameBinding): ClassNameBinding;
@@ -1,12 +1,43 @@
1
1
  import type { CSSProperties } from "react";
2
2
  import type { NodeDefinition } from "../schema";
3
3
  import { type NodeModifier } from "../builder";
4
+ import type { BoundClassName } from "./classNameBinding";
4
5
  type StyledCardDataProps = Readonly<Record<`data-${string}`, unknown>>;
6
+ /** Where a block's per-item surface choice lives, and how it maps to roles. */
7
+ export type ItemCardRoleBinding = Readonly<{
8
+ /** Binding path to the item's own surface value (e.g. `card.surfaceRole`). */
9
+ from: string;
10
+ /** The block's persisted per-item vocabulary, mapped onto card roles. */
11
+ aliases?: Readonly<Record<string, string>>;
12
+ }>;
13
+ /**
14
+ * The shared child hooks generated card CSS targets (`.card-media`,
15
+ * `.card-content`). They join the class list only while a card role is in play,
16
+ * so cards still on the legacy treatment path keep their exact classes.
17
+ *
18
+ * Blocks whose items each choose a surface pass `itemRole` so the hook follows
19
+ * the item's choice; blocks with one surface per block bind from the card
20
+ * styles themselves (the transform reads the role off `stylesFrom` and ignores
21
+ * a non-string bound value), which keeps one emission path for both shapes.
22
+ */
23
+ export declare function cardRoleChildClass(input: Readonly<{
24
+ emit: "media" | "content";
25
+ baseClass: string;
26
+ /** Where the block's compiled card styles live (e.g. `content._cardStyles`). */
27
+ stylesFrom: string;
28
+ itemRole?: ItemCardRoleBinding;
29
+ }>): BoundClassName;
5
30
  export declare function styledCard(children: Array<NodeDefinition | null | undefined>, opts: {
6
31
  stylesFrom: string;
7
32
  backgroundFrom: string;
8
33
  baseClassName?: string;
9
34
  style?: CSSProperties;
10
35
  dataProps?: StyledCardDataProps;
36
+ /**
37
+ * Blocks whose items each choose a card surface bind the class list from
38
+ * the per-item role instead, so the item's choice can override the role
39
+ * the block's Look compiled. See `cardRoleClass` in feature-cards.
40
+ */
41
+ itemRole?: ItemCardRoleBinding;
11
42
  }, ...mods: NodeModifier[]): NodeDefinition;
12
43
  export {};
@@ -20,7 +20,7 @@ export type AllowedNodeType = (typeof ALLOWED_NODE_TYPES)[number];
20
20
  * $bind.transforms within custom block layouts. Transform IDs
21
21
  * not in this list will be rejected during validation.
22
22
  */
23
- export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "value.mapToken", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.classicNavMode", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveFrameClassName", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "boxStyles.cardVariantClass", "containerStyles.resolveBoxClassName"];
23
+ export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "value.mapToken", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.classicNavMode", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveFrameClassName", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "containerStyles.resolveBoxClassName"];
24
24
  export type AllowedTransformId = (typeof ALLOWED_TRANSFORM_IDS)[number];
25
25
  /**
26
26
  * Set for O(1) lookup of allowed node types.