@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
@@ -1,5 +1,5 @@
1
1
  import { type BlockManifest, type Theme } from '../../../../blocks/src/index';
2
- import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../../block-form/src/client/index';
2
+ import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../../block-form/src/index';
3
3
  import { type EditorBlockId } from '../../../../core/src/index';
4
4
  import type { BlockItem } from '../types';
5
5
  import { type CustomBlockRegistryEntry, type SdkConfigForBlockPicker } from '../sdkBlockMerger';
@@ -1,5 +1,5 @@
1
1
  import type { BlockManifest, StyleGroups } from '../../../blocks/src/index';
2
- import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../block-form/src/client/index';
2
+ import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../block-form/src/index';
3
3
  export type BlockEditorManifestVisibilityPolicy = Readonly<{
4
4
  kind: 'show-raw-style-fields';
5
5
  }> | Readonly<{
@@ -1,5 +1,5 @@
1
1
  import type { BlockManifest } from '../../blocks/src/index';
2
- import { type ManifestSchemaOptions, type ManifestValidationResult } from '../../block-form/src/client/index';
2
+ import { type ManifestSchemaOptions, type ManifestValidationResult } from '../../block-form/src/index';
3
3
  import type { z } from 'zod';
4
4
  export type ManifestFieldIssue = {
5
5
  path: string;
@@ -15,8 +15,8 @@ export { FormProvider } from './FormProvider';
15
15
  export type { FormProviderProps } from './FormProvider';
16
16
  export { buildBlockContentPayload, formatManifestIssues } from './blockPayload';
17
17
  export type { BlockContentPayloadResult, ManifestFieldIssue, BuildBlockContentPayloadOptions, } from './blockPayload';
18
- export { deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifestValues, } from '../../block-form/src/client/index';
19
- export type { BlockDraftSaveability, BlockDraftValidationIssue, } from '../../block-form/src/client/index';
18
+ export { deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifestValues } from '../../block-form/src/blockDraftSaveability';
19
+ export type { BlockDraftSaveability, BlockDraftValidationIssue } from '../../block-form/src/blockDraftSaveability';
20
20
  export { applyManifestIssuesToForm } from './manifestIssues';
21
21
  export { BlockPickerDialog } from './block-editor/BlockPickerDialog';
22
22
  export { FileField, MediaField } from './media/MediaField';
@@ -1,5 +1,5 @@
1
- import type { FieldWidgetProps } from '../../../block-form/src/client/index';
2
- import type { FileFieldConfig, MediaFieldConfig } from '../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps } from '../../../block-form/src/index';
2
+ import type { FileFieldConfig, MediaFieldConfig } from '../../../block-form/src/index';
3
3
  import type { UploadIntentContract } from '../../../api/src/index';
4
4
  import { type VideoPrepIntent } from '../../../media-core/src/index';
5
5
  import { type MediaValue } from '../../../media-editor/src/index';
@@ -1,4 +1,4 @@
1
- import type { FieldWidgetProps, ButtonFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps, ButtonFieldConfig } from '../../../../block-form/src/index';
2
2
  /**
3
3
  * Button Field Widget
4
4
  *
@@ -1,2 +1,2 @@
1
- import type { FieldWidgetProps, SelectFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps, SelectFieldConfig } from '../../../../block-form/src/index';
2
2
  export declare function ButtonVariantField({ path, backend, config }: FieldWidgetProps<string, SelectFieldConfig>): import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  export { ButtonField } from './ButtonField';
2
2
  export type { ButtonValue } from './ButtonField';
3
- export type { ButtonFieldConfig } from '../../../../block-form/src/client/index';
3
+ export type { ButtonFieldConfig } from '../../../../block-form/src/index';
4
4
  export { ButtonWidgetProvider, useButtonWidgetContext } from './context';
5
5
  export type { ButtonWidgetContextValue, ButtonVariantOption, ButtonWidgetProviderProps } from './context';
6
6
  export { ButtonVariantField } from './ButtonVariantField';
@@ -1,4 +1,4 @@
1
- import type { FieldWidgetProps, ContentTypeSelectFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps, ContentTypeSelectFieldConfig } from '../../../../block-form/src/index';
2
2
  /**
3
3
  * ContentTypeSelectField - Content type select widget using FieldWidgetProps pattern
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { FieldWidgetProps, EntryPickerFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps, EntryPickerFieldConfig } from '../../../../block-form/src/index';
2
2
  /**
3
3
  * EntryPickerField - Entry picker widget for selecting content entries
4
4
  *
@@ -2,4 +2,4 @@ export { EntryPickerField } from './EntryPickerField';
2
2
  export { EntryPickerWidgetProvider, useEntryPickerWidgetContext } from './EntryPickerWidgetProvider';
3
3
  export { getEntryPickerLabelForStoredValue, getEntryPickerOptionValueForStoredValue, } from './utils';
4
4
  export type { EntryPickerWidgetAdapter, EntryPickerAdapterArgs, EntryPickerAdapterLabels, EntryPickerItem, EntryPickerItemBadgeVariant, } from './types';
5
- export type { EntryPickerFieldConfig } from '../../../../block-form/src/client/index';
5
+ export type { EntryPickerFieldConfig } from '../../../../block-form/src/index';
@@ -1,4 +1,4 @@
1
- import { type FieldWidgetProps, type TextFieldConfig } from '../../../../block-form/src/client/index';
1
+ import { type FieldWidgetProps, type TextFieldConfig } from '../../../../block-form/src/index';
2
2
  type IconPickerValue = unknown;
3
3
  export declare function IconPickerField({ path, backend, config }: FieldWidgetProps<IconPickerValue, TextFieldConfig>): import("react").JSX.Element;
4
4
  export {};
@@ -1,3 +1,3 @@
1
- import type { FieldWidgetProps, InlineTextFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps, InlineTextFieldConfig } from '../../../../block-form/src/index';
2
2
  import { type InlineText } from '../../../../blocks/src/index';
3
3
  export declare function InlineTextField({ path, backend, config, }: FieldWidgetProps<InlineText, InlineTextFieldConfig>): import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { FieldWidgetProps } from '../../../../block-form/src/client/index';
3
- import type { LinkFieldConfig } from '../../../../block-form/src/client/index';
2
+ import type { FieldWidgetProps } from '../../../../block-form/src/index';
3
+ import type { LinkFieldConfig } from '../../../../block-form/src/index';
4
4
  /**
5
5
  * LinkField - Adapter for new widget architecture
6
6
  *
@@ -1,2 +1,2 @@
1
- import { type FieldWidgetProps, type SelectFieldConfig } from '../../../../block-form/src/client/index';
1
+ import { type FieldWidgetProps, type SelectFieldConfig } from '../../../../block-form/src/index';
2
2
  export declare function OfferingsPreviewGroupOrderField({ path, backend, config, }: FieldWidgetProps<readonly unknown[] | null, SelectFieldConfig>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { FieldWidgetProps } from '../../../../block-form/src/client/index';
2
- import type { ReferenceFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps } from '../../../../block-form/src/index';
2
+ import type { ReferenceFieldConfig } from '../../../../block-form/src/index';
3
3
  /**
4
4
  * ReferenceField - Reference/relation select widget using new FieldWidgetProps pattern
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { FieldWidgetProps } from '../../../../block-form/src/client/index';
2
- import type { RichTextFieldConfig } from '../../../../block-form/src/client/index';
1
+ import type { FieldWidgetProps } from '../../../../block-form/src/index';
2
+ import type { RichTextFieldConfig } from '../../../../block-form/src/index';
3
3
  import { type RichTextDoc } from '../../../../blocks/src/system/manifest/richTextSchema';
4
4
  type RichTextValue = RichTextDoc;
5
5
  export declare function RichTextField({ path, backend, config, }: FieldWidgetProps<RichTextValue, RichTextFieldConfig>): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
- import type { SelectFieldConfig, FieldWidgetProps } from '../../../../block-form/src/client/index';
1
+ import type { SelectFieldConfig, FieldWidgetProps } from '../../../../block-form/src/index';
2
2
  import { type SiteOptionValue } from './utils';
3
3
  export declare function SiteOptionPickerField({ path, backend, config, }: FieldWidgetProps<SiteOptionValue, SelectFieldConfig>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { type SiteOptionSource } from '../../../../blocks/src/index';
2
- import type { SelectFieldConfig } from '../../../../block-form/src/client/index';
2
+ import type { SelectFieldConfig } from '../../../../block-form/src/index';
3
3
  export type SiteOptionValue = string | string[] | null | undefined;
4
4
  export declare function normalizeSiteOptionMultiValue(value: SiteOptionValue): string[];
5
5
  export declare function getSiteOptionSource(config: SelectFieldConfig): SiteOptionSource | null;
@@ -1,5 +1,6 @@
1
1
  import { type Result, type SiteScopedStoragePath, type StorageBucketName, type StoragePath, type UploadSessionId, type UtcIsoDateTimeString } from '../../core/src/index';
2
2
  import { type ActiveValidatedDurableFileAsset, type FileAssetId, type UploadSessionState, type UploadSessionTransitionError } from './fileDomain';
3
+ import type { MediaIdentifier } from './identifiers';
3
4
  import { type DurableFinalizeUploadAssetPlan, type DurableUploadStoragePathError } from './fileUploadAssetBuilder';
4
5
  import type { FileUploadFinalizationPlan } from './fileUploadFinalization';
5
6
  type UploadedUploadSessionState = Extract<UploadSessionState, {
@@ -26,6 +27,7 @@ export type FileUploadCompletionStep = {
26
27
  } | {
27
28
  readonly tag: 'insert-file-asset';
28
29
  readonly asset: ActiveValidatedDurableFileAsset;
30
+ readonly identifier: MediaIdentifier;
29
31
  } | {
30
32
  readonly tag: 'delete-staged-object';
31
33
  readonly storageObject: FileUploadCompletionStorageObject;
@@ -69,6 +71,7 @@ export type DurableFileUploadCompletionPlan = {
69
71
  export type DurableFileUploadCompletionInput = {
70
72
  readonly finalizationPlan: DurableFinalizeUploadAssetPlan;
71
73
  readonly asset: ActiveValidatedDurableFileAsset;
74
+ readonly identifier: MediaIdentifier;
72
75
  readonly now: UtcIsoDateTimeString;
73
76
  };
74
77
  export type DurableFileUploadCompletionError = {
@@ -1,10 +1,12 @@
1
1
  import { type MediaAssetId, type Result } from '../../core/src/index';
2
2
  import type { FileAssetMetadata } from './fileDomain';
3
+ import type { MediaIdentifier } from './identifiers';
3
4
  import { type BuildFinalizedUploadAssetError } from './fileUploadAssetBuilder';
4
5
  import { type DurableFileUploadCompletionError, type DurableFileUploadCompletionPlan } from './fileUploadCompletion';
5
6
  import { type FileUploadFinalizationError, type FileUploadFinalizationInput } from './fileUploadFinalization';
6
7
  export type DurableFileUploadFinalizationInput = FileUploadFinalizationInput & {
7
8
  readonly assetId: MediaAssetId;
9
+ readonly identifier: MediaIdentifier;
8
10
  readonly metadata?: FileAssetMetadata;
9
11
  };
10
12
  export type DurableFileUploadFinalizationError = {
@@ -8,10 +8,20 @@ export type MediaIdentifierParseError = Readonly<{
8
8
  kind: 'empty_after_normalization';
9
9
  value: string;
10
10
  }>;
11
+ export type CanonicalMediaIdentifierParseError = MediaIdentifierParseError | Readonly<{
12
+ kind: 'non_canonical_identifier';
13
+ value: string;
14
+ canonical: MediaIdentifier;
15
+ }>;
11
16
  export declare function stripFileExtension(filename: string): string;
12
17
  export declare function slugifyMediaIdentifier(value: string): string;
13
18
  export declare function buildMediaIdentifierFromFilename(filename: string): string;
14
19
  export declare function parseMediaIdentifier(value: unknown): Result<MediaIdentifier, MediaIdentifierParseError>;
20
+ /**
21
+ * Admits identifiers read from trusted persistence without repairing dirty data in memory.
22
+ * User input should use parseMediaIdentifier, which intentionally canonicalizes it.
23
+ */
24
+ export declare function parseCanonicalMediaIdentifier(value: unknown): Result<MediaIdentifier, CanonicalMediaIdentifierParseError>;
15
25
  export declare function parseOptionalMediaIdentifier(value: unknown): Result<MediaIdentifier | undefined, MediaIdentifierParseError>;
16
26
  export declare function unsafeAsMediaIdentifier(value: string): MediaIdentifier;
17
27
  export declare function resolveMediaIdentifier(base: string, existing: Set<string>): MediaIdentifier;
@@ -1,16 +1,12 @@
1
+ import { type MediaIdentifier } from './identifiers';
1
2
  export type MediaIdentifierResolutionRecord = Readonly<{
2
3
  id: string;
3
- identifier: string | null;
4
+ identifier: MediaIdentifier;
4
5
  filename: string;
5
6
  }>;
6
- export type MediaIdentifierAssignmentRequest = Readonly<{
7
- assetId: string;
8
- filenameBase: string;
9
- }>;
10
7
  export type NormalizeMediaReferencesForWriteCoreOptions = Readonly<{
11
8
  value: unknown;
12
9
  resolveMediaAssetsById: (assetIds: readonly string[]) => Promise<readonly MediaIdentifierResolutionRecord[]>;
13
- assignIdentifier: (request: MediaIdentifierAssignmentRequest) => Promise<string | null>;
14
10
  }>;
15
11
  /**
16
12
  * Normalizes CMS media objects to identifier-only persistence. Infrastructure
@@ -1,4 +1,5 @@
1
1
  import type { MediaAssetId, SiteScopedStoragePath } from '../../core/src/index';
2
+ import type { MediaIdentifier } from './identifiers';
2
3
  export type { MediaAssetId } from '../../core/src/index';
3
4
  export type MediaSource = 'upload' | 'instagram';
4
5
  export type MediaAsset = {
@@ -7,7 +8,7 @@ export type MediaAsset = {
7
8
  storageBucket: string;
8
9
  storagePath: SiteScopedStoragePath;
9
10
  filename: string;
10
- identifier?: string;
11
+ identifier: MediaIdentifier;
11
12
  mimeType: string;
12
13
  title?: string;
13
14
  width?: number;
@@ -16,5 +16,5 @@ export { createMediaEditorProvider } from './createMediaEditorProvider';
16
16
  export { withRepeaterStackMediaFieldUi, withRepeaterThumbnailMediaFieldUi, withRepeaterThumbnailPickerOnlyMediaFieldUi, } from './fieldUi';
17
17
  export type { MediaValue, PersistableMediaValue, MediaTransform, MediaHotspot } from './types';
18
18
  export { DEFAULT_HOTSPOT } from './utils';
19
- export { buildPersistableMediaValue, mediaSelectionFailureMessage, prepareMediaAssetForSelection, } from './mediaSelection';
20
- export type { BuildPersistableMediaValueOptions, IdentifierReadyMediaAsset, PrepareMediaSelectionResult, } from './mediaSelection';
19
+ export { buildPersistableMediaValue, } from './mediaSelection';
20
+ export type { BuildPersistableMediaValueOptions, IdentifierReadyMediaAsset, } from './mediaSelection';
@@ -1,25 +1,6 @@
1
- import type { ApiClient } from '../../api/src/request';
2
- import { type MediaIdentifier } from '../../blocks/src/index';
3
1
  import type { MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
4
2
  import type { MediaValue, PersistableMediaValue } from './types';
5
- export type IdentifierReadyMediaAsset = Omit<MediaAssetWithLabels, 'identifier'> & Readonly<{
6
- identifier: MediaIdentifier;
7
- }>;
8
- export type PrepareMediaSelectionResult = Readonly<{
9
- tag: 'ready';
10
- asset: IdentifierReadyMediaAsset;
11
- }> | Readonly<{
12
- tag: 'failed';
13
- reason: 'identifier-assignment-failed';
14
- error: unknown;
15
- }> | Readonly<{
16
- tag: 'failed';
17
- reason: 'identifier-missing-after-assignment';
18
- }>;
19
- type PrepareMediaSelectionFailure = Extract<PrepareMediaSelectionResult, {
20
- tag: 'failed';
21
- }>;
22
- export declare function mediaSelectionFailureMessage(failure: PrepareMediaSelectionFailure): string;
3
+ export type IdentifierReadyMediaAsset = MediaAssetWithLabels;
23
4
  export type BuildPersistableMediaValueOptions = Readonly<{
24
5
  asset: IdentifierReadyMediaAsset;
25
6
  mediaKind: PersistableMediaValue['type'];
@@ -28,5 +9,3 @@ export type BuildPersistableMediaValueOptions = Readonly<{
28
9
  publicUrl?: string;
29
10
  }>;
30
11
  export declare function buildPersistableMediaValue({ asset, mediaKind, previousValue, poster, publicUrl, }: BuildPersistableMediaValueOptions): PersistableMediaValue;
31
- export declare function prepareMediaAssetForSelection(apiClient: ApiClient, asset: MediaAssetWithLabels): Promise<PrepareMediaSelectionResult>;
32
- export {};
@@ -2,14 +2,6 @@ import type { MediaAssetWithLabels, MediaKind } from '@riverbankcms/media-storag
2
2
  import type { MediaEditorContextValue } from './context';
3
3
  import type { MediaPickerAssetSelection } from './MediaPickerDialog';
4
4
  import type { MediaValue, PersistableMediaValue } from './types';
5
- export type MediaSelectionState = Readonly<{
6
- tag: 'idle';
7
- }> | Readonly<{
8
- tag: 'preparing';
9
- }> | Readonly<{
10
- tag: 'failed';
11
- message: string;
12
- }>;
13
5
  type UseMediaSelectionOptions = Readonly<{
14
6
  context: MediaEditorContextValue;
15
7
  value: MediaValue | undefined;
@@ -21,6 +13,5 @@ type UseMediaSelectionOptions = Readonly<{
21
13
  export declare function useMediaSelection(options: UseMediaSelectionOptions): {
22
14
  readonly cancelSelection: () => void;
23
15
  readonly handleSelect: (picked: MediaAssetWithLabels) => Promise<void>;
24
- readonly selectionState: MediaSelectionState;
25
16
  };
26
17
  export {};
@@ -1,5 +1,5 @@
1
1
  import { type BlockManifest, type Theme } from '../../../../blocks/src/index';
2
- import { type FieldConfig, type FormBackend } from '../../../../block-form/src/client/index';
2
+ import { type FieldConfig, type FormBackend } from '../../../../block-form/src/index';
3
3
  import type { EditorBlockId } from '../../../../core/src/index';
4
4
  import { type SdkConfigForBlockPicker } from '../../../../editor-blocks/src/index';
5
5
  import type { EditorUiState } from '../../../../content-editor/src/index';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { type Theme } from '../../../../blocks/src/index';
3
+ import { type ButtonHoverRoleControl, type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
4
+ export declare function ButtonHoverRoleControls({ control, current, previewTheme, onPreview, disabled, }: Readonly<{
5
+ control: ButtonHoverRoleControl<string>;
6
+ current: ButtonStyleSelection;
7
+ previewTheme: Theme;
8
+ onPreview: (selection: ButtonStyleSelection) => void;
9
+ disabled?: boolean;
10
+ }>): React.JSX.Element | null;
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
2
  import { type Theme } from '../../../../blocks/src/index';
3
- import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
+ import { type ButtonStyleSelection, type ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
4
4
  export type ButtonStylePickerProps = Readonly<{
5
5
  selections: readonly ButtonStyleSelection[];
6
6
  current: ButtonStyleSelection;
7
7
  previewTheme: Theme;
8
8
  onPreview: (selection: ButtonStyleSelection) => void;
9
9
  disabled?: boolean;
10
+ repairs?: readonly ButtonStyleSelectionRepair[];
10
11
  }>;
11
- export declare function ButtonStylePicker({ selections, current, previewTheme, onPreview, disabled, }: ButtonStylePickerProps): React.JSX.Element;
12
+ export declare function ButtonStylePicker({ selections, current, previewTheme, onPreview, disabled, repairs, }: ButtonStylePickerProps): React.JSX.Element;
12
13
  export declare function ButtonStylePreviewPair({ selection, previewTheme, compact, }: Readonly<{
13
14
  selection: ButtonStyleSelection;
14
15
  previewTheme: Theme;
@@ -3,7 +3,7 @@ import type { ApiClient } from '../../../../api/src/request';
3
3
  import { type ContentTypeSchema } from '../../../../content-model/src/index';
4
4
  import { type ZoomLevel } from '../../../../content-editor/src/index';
5
5
  import type { EntrySubrouteContextData, Theme } from '../../../../blocks/src/index';
6
- import type { FieldWidgetComponent } from '../../../../block-form/src/client/index';
6
+ import type { FieldWidgetComponent } from '../../../../block-form/src/index';
7
7
  import type { SdkConfigForBlockPicker } from '../../../../editor-blocks/src/index';
8
8
  import { type ViewportMode, type ViewportWidth } from './PreviewViewportControls';
9
9
  import type { PreviewEditorSidebarProps, PreviewTemplateData } from './PreviewEditorSidebar';
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import type { ApiClient } from "../../../../api/src/request";
3
3
  import type { Theme } from "../../../../blocks/src/index";
4
- import type { FieldWidgetComponent } from "../../../../block-form/src/client/index";
4
+ import type { FieldWidgetComponent } from "../../../../block-form/src/index";
5
5
  import type { SdkConfigForBlockPicker } from "../../../../editor-blocks/src/index";
6
6
  type EntrySlotBlockEditorPanelProps = {
7
7
  siteId: string;
@@ -5,6 +5,7 @@ import type { SurfaceId } from '../../../../surfaces/src/index';
5
5
  import type { EntrySubrouteContextData, BookingOfferingPresetSummary, Theme } from '../../../../blocks/src/index';
6
6
  import { type ContentTypeSchema } from '../../../../content-model/src/index';
7
7
  import { type ZoomLevel } from '../../../../content-editor/src/index';
8
+ import { type StyleConfiguratorProps } from './StyleConfigurator';
8
9
  import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
9
10
  import type { FooterLookId, HeaderLayoutStyleSelection, HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
10
11
  import type { ViewportMode, ViewportWidth } from './PreviewViewportControls';
@@ -35,6 +36,7 @@ export type PreviewEditorSidebarProps = {
35
36
  themeSelectionUpdatedAt?: string | null;
36
37
  /** Persisted Style configurator selections (Phase C / E). */
37
38
  themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
39
+ themeSelectionButtonStyleRepairs?: StyleConfiguratorProps['buttonStyleRepairs'];
38
40
  themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
39
41
  themeSelectionFooterLookId?: FooterLookId | null;
40
42
  themeSelectionHeaderLogo?: HeaderLogoContext;
@@ -56,4 +58,4 @@ export type PreviewEditorSidebarProps = {
56
58
  onViewportWidthChange: (width: ViewportWidth) => void;
57
59
  onZoomChange: (zoom: ZoomLevel) => void;
58
60
  };
59
- export declare function PreviewEditorSidebar({ surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, themeId, themeSelectionId, themeSelectionVersion, themeSelectionUpdatedAt, themeSelectionButtonStyleSelection, themeSelectionHeaderSelection, themeSelectionFooterLookId, themeSelectionHeaderLogo, apiClient, bearerToken, entrySubrouteContext, assistantPanel, sdkConfig, bookingOfferingPresets, siteStyleAccess, activeTab, onTabChange, onClose, onFooterSaved, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PreviewEditorSidebarProps): React.JSX.Element;
61
+ export declare function PreviewEditorSidebar({ surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, themeId, themeSelectionId, themeSelectionVersion, themeSelectionUpdatedAt, themeSelectionButtonStyleSelection, themeSelectionButtonStyleRepairs, themeSelectionHeaderSelection, themeSelectionFooterLookId, themeSelectionHeaderLogo, apiClient, bearerToken, entrySubrouteContext, assistantPanel, sdkConfig, bookingOfferingPresets, siteStyleAccess, activeTab, onTabChange, onClose, onFooterSaved, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PreviewEditorSidebarProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React, { type ComponentProps, type ReactNode } from 'react';
2
2
  import { BlockApiProvider } from '../../../../blocks/src/client';
3
- import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
+ import type { ButtonStyleSelection, ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
4
4
  import type { FooterLookId, HeaderLayoutStyleSelection, HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
5
5
  import type { EntrySubrouteContextData, BookingOfferingPresetSummary, MediaAssetIndexItem, Theme } from '../../../../blocks/src/index';
6
6
  import type { ContentTypeSchema } from '../../../../content-model/src/index';
@@ -51,6 +51,7 @@ type PreviewShellCommonProps = {
51
51
  * complete palette state.
52
52
  */
53
53
  themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
54
+ themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
54
55
  themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
55
56
  themeSelectionFooterLookId?: FooterLookId | null;
56
57
  themeSelectionHeaderLogo?: HeaderLogoContext;
@@ -72,6 +73,8 @@ type PreviewShellCommonProps = {
72
73
  mediaAssets?: readonly MediaAssetIndexItem[];
73
74
  bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
74
75
  supabaseUrl?: string;
76
+ /** Base URL returned by the content response for site-font storage. */
77
+ siteFontStorageUrl?: string;
75
78
  designEditorEligibility?: PreviewDesignEditorEligibility;
76
79
  /** Hides site-style controls when this runtime cannot persist design edits. */
77
80
  hideSiteStyleConfigurator?: boolean;
@@ -1,6 +1,6 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
  import { type EntrySubrouteContextData, type BookingOfferingPresetSummary, type Theme } from '../../../../blocks/src/index';
3
- import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
+ import type { ButtonStyleSelection, ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
4
4
  import type { HeaderLogoContext, FooterLookId, HeaderLayoutStyleSelection } from '../../../../theme-core/src/site-styles/index';
5
5
  import type { ContentTypeSchema } from '../../../../content-model/src/index';
6
6
  import type { ApiClient } from '../../../../api/src/request';
@@ -27,6 +27,7 @@ type PreviewShellLayoutCommonProps = {
27
27
  themeSelectionVersion?: number | null;
28
28
  themeSelectionUpdatedAt?: string | null;
29
29
  themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
30
+ themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
30
31
  themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
31
32
  themeSelectionFooterLookId?: FooterLookId | null;
32
33
  themeSelectionHeaderLogo?: HeaderLogoContext;
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from 'react';
2
+ export declare function PreviewSiteFontStorageProvider({ siteFontStorageUrl, children, }: Readonly<{
3
+ siteFontStorageUrl?: string;
4
+ children: ReactNode;
5
+ }>): import("react").JSX.Element;
6
+ export declare function usePreviewSiteFontStorageUrl(): string | undefined;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ApiClient } from '../../../../api/src/request';
3
3
  import type { Theme } from '../../../../blocks/src/index';
4
+ import { type ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
4
5
  import { type HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
5
6
  import { type StyleConfiguratorInitialSelections } from './styleConfiguratorSnapshot';
6
7
  export type StyleConfiguratorProps = Readonly<{
@@ -13,7 +14,8 @@ export type StyleConfiguratorProps = Readonly<{
13
14
  selectionUpdatedAt?: string | null;
14
15
  /** Server-persisted design selections. */
15
16
  initialSelections: StyleConfiguratorInitialSelections & Readonly<Record<string, unknown>>;
17
+ buttonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
16
18
  headerLogoContext?: HeaderLogoContext;
17
19
  onFocusedSurfaceChange?: (focused: boolean) => void;
18
20
  }>;
19
- export declare function StyleConfigurator({ siteId, apiClient, theme, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerLogoContext, onFocusedSurfaceChange, }: StyleConfiguratorProps): React.JSX.Element;
21
+ export declare function StyleConfigurator({ siteId, apiClient, theme, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, buttonStyleRepairs, headerLogoContext, onFocusedSurfaceChange, }: StyleConfiguratorProps): React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { SelectionFallbackWarning } from '../../../../theme-core/src/site-styles/previewCompiler';
2
+ type StyleConfiguratorWarningNoticeProps = Readonly<{
3
+ warnings: ReadonlyArray<SelectionFallbackWarning>;
4
+ onDismiss: () => void;
5
+ }>;
6
+ export declare function StyleConfiguratorWarningNotice({ warnings, onDismiss, }: StyleConfiguratorWarningNoticeProps): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { SiteFontRecord } from './typographyFontCatalog';
2
+ export declare function buildSiteFontFaceCss(siteFonts: readonly SiteFontRecord[], siteFontStorageUrl?: string): string;
3
+ export declare function SiteFontFaceStyles({ siteFonts, }: Readonly<{
4
+ siteFonts: readonly SiteFontRecord[];
5
+ }>): import("react").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  import type { Theme } from '../../../../blocks/src/index';
2
- import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
2
+ import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
3
3
  import type { FooterLookId, HeaderLayoutId, HeaderLogoContext, HeaderStyleId, SiteChromeSurface } from '../../../../theme-core/src/site-styles/index';
4
4
  import { type CuratedSiteStyle, type SelectionFallbackWarning, type SiteThemeSelectionsResult, type SiteStyleId } from '../../../../theme-core/src/site-styles/previewCompiler';
5
5
  export type SiteStylePreviewSelection = Readonly<{
@@ -0,0 +1,10 @@
1
+ type PreviewContentStorageSource = Readonly<{
2
+ supabaseUrl?: unknown;
3
+ }>;
4
+ /**
5
+ * Reads the current content storage endpoint from the legacy content wire
6
+ * shape. Keep the provider-specific field in this adapter so preview
7
+ * rendering only depends on the neutral storage URL it receives.
8
+ */
9
+ export declare function resolveContentStorageUrl(content: PreviewContentStorageSource): string | undefined;
10
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import type { ApiClient } from '../../../../api/src/request';
3
3
  import { type BookingOfferingPresetSummary, type Theme } from '../../../../blocks/src/index';
4
- import type { FieldWidgetComponent } from '../../../../block-form/src/client/index';
4
+ import type { FieldWidgetComponent } from '../../../../block-form/src/index';
5
5
  import type { SdkConfigForBlockPicker } from '../../../../editor-blocks/src/index';
6
6
  import { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters, createPreviewSiteOptionAdapters } from './widgetAdapters';
7
7
  /**
@@ -3,3 +3,4 @@ export * from "./cookies";
3
3
  export * from "./redirects";
4
4
  export * from "./auth-contract";
5
5
  export * from "./route-contract";
6
+ export * from "./refresh-contract";
@@ -1,17 +1,15 @@
1
1
  import type { CookieStoreLike } from './session';
2
- type PreviewKeepAliveLogger = {
2
+ export type PreviewKeepAliveLogger = {
3
3
  debug?: (message: string, meta?: Record<string, unknown>) => void;
4
4
  warn?: (message: string, meta?: Record<string, unknown>) => void;
5
5
  error?: (message: string, meta?: Record<string, unknown>) => void;
6
6
  };
7
- type CreatePreviewKeepAliveRouteHandlerOptions = {
7
+ export type CreatePreviewKeepAliveRouteHandlerOptions = {
8
8
  maxAge?: number;
9
9
  refreshThresholdSeconds?: number;
10
10
  logger?: PreviewKeepAliveLogger;
11
- supabaseUrl?: string;
12
- supabaseAnonKey?: string;
11
+ dashboardUrl?: string | null;
13
12
  getCookies?: () => Promise<CookieStoreLike>;
14
13
  fetcher?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
15
14
  };
16
15
  export declare function createPreviewKeepAliveRouteHandler(options?: CreatePreviewKeepAliveRouteHandlerOptions): (request: Request) => Promise<Response>;
17
- export {};
@@ -0,0 +1 @@
1
+ export { parsePreviewRefreshResponse, previewRefreshRequestSchema, previewRefreshResponseSchema, type PreviewRefreshParseError, type PreviewRefreshRequest, type PreviewRefreshResponse, } from '../../api/src/preview-auth';
@@ -7,6 +7,9 @@ export declare const previewDashboardApiEndpoints: {
7
7
  readonly previewAuthExchange: {
8
8
  readonly path: "/api/preview/auth/exchange";
9
9
  };
10
+ readonly previewAuthRefresh: {
11
+ readonly path: "/api/preview/auth/refresh";
12
+ };
10
13
  readonly onboardingPreviewStatus: {
11
14
  readonly path: "/api/public/sites/{siteId}/onboarding/preview-status";
12
15
  };
@@ -26,6 +29,9 @@ export type PreviewAuthEntryUrlInput = Readonly<{
26
29
  export type PreviewAuthExchangeUrlInput = Readonly<{
27
30
  dashboardBaseUrl: string;
28
31
  }>;
32
+ export type PreviewAuthRefreshUrlInput = Readonly<{
33
+ dashboardBaseUrl: string;
34
+ }>;
29
35
  export type OnboardingPreviewEndpointUrlInput = Readonly<{
30
36
  dashboardBaseUrl: string;
31
37
  siteId: string;
@@ -33,5 +39,6 @@ export type OnboardingPreviewEndpointUrlInput = Readonly<{
33
39
  export declare const previewAuthEntryPathname: "/preview/auth";
34
40
  export declare function buildPreviewAuthEntryUrl(input: PreviewAuthEntryUrlInput): string;
35
41
  export declare function buildPreviewAuthExchangeUrl(input: PreviewAuthExchangeUrlInput): string;
42
+ export declare function buildPreviewAuthRefreshUrl(input: PreviewAuthRefreshUrlInput): string;
36
43
  export declare function buildOnboardingPreviewStatusUrl(input: OnboardingPreviewEndpointUrlInput): string;
37
44
  export declare function buildOnboardingResendConfirmationUrl(input: OnboardingPreviewEndpointUrlInput): string;
@@ -0,0 +1,11 @@
1
+ import type { ApiClient, ApiResult } from '../../../api/src/public/index';
2
+ import type { RiverbankClient } from './types';
3
+ type EventSubrouteReadDeps = Readonly<{
4
+ apiClient: ApiClient;
5
+ resilientFetchData: <T>(cacheKey: string, fetcher: (signal: AbortSignal) => Promise<ApiResult<T>>, options: Readonly<{
6
+ signal?: AbortSignal;
7
+ }>) => Promise<T>;
8
+ }>;
9
+ type EventSubrouteReadOperations = Pick<RiverbankClient, 'resolveEventOccurrence' | 'resolveEventRun'>;
10
+ export declare function createEventSubrouteReadOperations(deps: EventSubrouteReadDeps): EventSubrouteReadOperations;
11
+ export {};