@riverbankcms/sdk 0.79.0 → 0.81.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 (327) hide show
  1. package/dist/PreviewEditorSidebar-RDCMEXIJ.mjs +3163 -0
  2. package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +194 -30
  3. package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -0
  4. package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
  5. package/dist/_dts/api/src/contentRuntime.d.ts +12 -0
  6. package/dist/_dts/api/src/contentTypes.d.ts +6 -0
  7. package/dist/_dts/api/src/endpoints.d.ts +24 -0
  8. package/dist/_dts/api/src/index.d.ts +3 -3
  9. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
  10. package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
  11. package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
  12. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
  13. package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
  14. package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
  15. package/dist/_dts/block-form/src/client/index.d.ts +2 -0
  16. package/dist/_dts/block-form/src/index.d.ts +2 -0
  17. package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
  18. package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -0
  19. package/dist/_dts/blocks/src/client/header.d.ts +1 -1
  20. package/dist/_dts/blocks/src/client.d.ts +12 -12
  21. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
  22. package/dist/_dts/blocks/src/index.d.ts +7 -5
  23. package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +1 -1
  24. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
  25. package/dist/_dts/blocks/src/server.d.ts +1 -1
  26. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
  27. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
  28. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
  29. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +135 -0
  30. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -1
  31. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
  32. package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
  33. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
  34. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +19 -0
  35. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +134 -0
  36. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
  37. package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
  38. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  39. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  40. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +34 -15
  41. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
  42. package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +64 -0
  43. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  44. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
  45. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +10 -3
  46. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
  47. package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
  48. package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
  49. package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
  50. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  52. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -57
  53. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -27
  54. package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
  55. package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
  56. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
  57. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
  58. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
  59. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
  60. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
  61. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
  62. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
  63. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +22 -33
  64. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
  65. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
  66. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
  67. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
  68. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
  69. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
  70. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
  71. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
  72. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
  73. package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
  74. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
  75. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +21 -0
  76. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +7 -0
  77. package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
  78. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +7 -2
  79. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
  80. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
  81. package/dist/_dts/calendar/src/grid.d.ts +27 -0
  82. package/dist/_dts/calendar/src/index.d.ts +2 -2
  83. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
  84. package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
  85. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
  86. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
  87. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
  88. package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
  89. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
  90. package/dist/_dts/content-editor/src/index.d.ts +3 -1
  91. package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
  92. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
  93. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
  94. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
  95. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +60 -3
  96. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
  97. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  98. package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -0
  99. package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
  100. package/dist/_dts/core/src/branded.d.ts +5 -0
  101. package/dist/_dts/core/src/index.d.ts +1 -0
  102. package/dist/_dts/core/src/stable-json.d.ts +1 -0
  103. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
  104. package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
  105. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
  106. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
  107. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
  108. package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
  109. package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
  110. package/dist/_dts/editor/src/index.d.ts +29 -0
  111. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
  112. package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
  113. package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
  114. package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
  115. package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
  116. package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
  117. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
  118. package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
  119. package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
  120. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
  121. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
  122. package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
  123. package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
  124. package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
  125. package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
  126. package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
  127. package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
  128. package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
  129. package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
  130. package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
  131. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
  132. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +5 -9
  133. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
  134. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +6 -10
  135. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
  136. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
  137. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -8
  138. package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
  139. package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
  140. package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
  141. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
  142. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
  143. package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
  144. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
  145. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
  146. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
  147. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
  148. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
  149. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
  150. package/dist/_dts/media-core/src/index.d.ts +1 -0
  151. package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
  152. package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
  153. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
  154. package/dist/_dts/media-editor/src/index.d.ts +1 -1
  155. package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +7 -2
  156. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +5 -1
  157. package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
  158. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
  159. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
  160. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
  161. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
  162. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
  163. package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +35 -0
  164. package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
  165. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -1
  166. package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
  167. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -6
  168. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
  169. package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
  170. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
  171. package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
  172. package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
  173. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +19 -19
  174. package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
  175. package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
  176. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +47 -4
  177. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
  178. package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -0
  179. package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +46 -0
  180. package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
  181. package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
  182. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
  183. package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
  184. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
  185. package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
  186. package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
  187. package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
  188. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +101 -0
  189. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +29 -0
  190. package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
  191. package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
  192. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
  193. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
  194. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -3
  195. package/dist/_dts/preview-next/src/constants.d.ts +0 -1
  196. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
  197. package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
  198. package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -3
  199. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
  200. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
  201. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
  202. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  203. package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
  204. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
  205. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  206. package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
  207. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +34 -5
  208. package/dist/_dts/sdk/src/public-api/contracts.d.ts +10 -0
  209. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +42 -0
  210. package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
  211. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  212. package/dist/_dts/sdk/src/version.d.ts +1 -1
  213. package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
  214. package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
  215. package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
  216. package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
  217. package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
  218. package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
  219. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  220. package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
  221. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -1
  222. package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
  223. package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
  224. package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
  225. package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +149 -0
  226. package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
  227. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  228. package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
  229. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +180 -21
  230. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +30 -0
  231. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
  232. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
  233. package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
  234. package/dist/_dts/theme-core/src/schema.d.ts +486 -55
  235. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
  236. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +172 -47
  237. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
  238. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
  239. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +172 -47
  240. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +140 -2
  241. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
  242. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
  243. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -2
  244. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +291 -6
  245. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  246. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
  247. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
  248. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
  249. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
  250. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
  251. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +43 -10
  252. package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
  253. package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
  254. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
  255. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  256. package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
  257. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  258. package/dist/_dts/theme-core/src/site-styles/types.d.ts +28 -32
  259. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
  260. package/dist/{chunk-4HCW7FHJ.mjs → chunk-3PTVPAT4.mjs} +1984 -1142
  261. package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-3QWQ2MUQ.mjs} +1050 -2609
  262. package/dist/{chunk-GP555I66.mjs → chunk-3VT7LZY2.mjs} +413 -157
  263. package/dist/{chunk-A3HHFKVT.mjs → chunk-4T5JIPWY.mjs} +1 -1
  264. package/dist/{chunk-K2IIF34C.mjs → chunk-E3NZYEKF.mjs} +25 -7
  265. package/dist/{chunk-V47ZU33I.mjs → chunk-WUHKQBB6.mjs} +12062 -3211
  266. package/dist/cli/index.mjs +3395 -817
  267. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
  268. package/dist/client/{accordion-QLA7KBYO.mjs → accordion-SFIIZWNH.mjs} +2 -2
  269. package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
  270. package/dist/client/bookings.mjs +1422 -345
  271. package/dist/client/{carousel-5EIULWBI.mjs → carousel-ELXWSBLA.mjs} +3 -3
  272. package/dist/client/{cart-DOP3FNI4.mjs → cart-6SSCPYY5.mjs} +6 -6
  273. package/dist/client/{checkout-BVMF6FBV.mjs → checkout-UFQ34HPV.mjs} +6 -6
  274. package/dist/client/{chunk-44K2U3QI.mjs → chunk-76JUETXQ.mjs} +139 -186
  275. package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
  276. package/dist/client/{chunk-UDS3NTWA.mjs → chunk-G56BSZAM.mjs} +2 -2
  277. package/dist/client/{chunk-V6M5FCR5.mjs → chunk-IUEDYLFJ.mjs} +1 -1
  278. package/dist/client/{chunk-YLDYVRZL.mjs → chunk-NP47RHIX.mjs} +5 -5
  279. package/dist/client/{chunk-R5ESWNKX.mjs → chunk-NX6X3GRF.mjs} +419 -85
  280. package/dist/client/{chunk-CCNTDRCF.mjs → chunk-PA2LJH2M.mjs} +2 -2
  281. package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
  282. package/dist/client/{chunk-TYONZMST.mjs → chunk-TCJS3NY5.mjs} +1 -1
  283. package/dist/client/{chunk-GG4M2NP6.mjs → chunk-V6XI4M2Q.mjs} +1 -1
  284. package/dist/client/client.mjs +9077 -4410
  285. package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
  286. package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
  287. package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
  288. package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
  289. package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
  290. package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
  291. package/dist/client/{form-JRTD65FN.mjs → form-LVTYNTDE.mjs} +2 -2
  292. package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-SO3MFC4U.mjs} +110 -28
  293. package/dist/client/hooks.mjs +4695 -2260
  294. package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-5E5FLAKO.mjs} +2 -2
  295. package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
  296. package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-Q346KSVR.mjs} +6 -6
  297. package/dist/client/{productList-L3EGJUF2.mjs → productList-DTDMQYGZ.mjs} +6 -6
  298. package/dist/client/rendering/client.mjs +5795 -3582
  299. package/dist/client/rendering/islands.mjs +32 -20
  300. package/dist/client/rendering.mjs +7988 -3317
  301. package/dist/client/{shop-DQUB5E2C.mjs → shop-OFUW7KPN.mjs} +6 -6
  302. package/dist/preview-next/before-render.mjs +24 -0
  303. package/dist/preview-next/client/runtime.mjs +5 -5
  304. package/dist/preview-next/constants.mjs +0 -2
  305. package/dist/preview-next/index.mjs +0 -2
  306. package/dist/preview-next/middleware.mjs +24 -0
  307. package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
  308. package/dist/server/components.mjs +7384 -3089
  309. package/dist/server/config-validation.mjs +4747 -2418
  310. package/dist/server/config.mjs +4747 -2418
  311. package/dist/server/data.mjs +4695 -2260
  312. package/dist/server/index.mjs +26 -1
  313. package/dist/server/next.mjs +7430 -3039
  314. package/dist/server/page-converter.mjs +3985 -2070
  315. package/dist/server/prebuild.mjs +1 -1
  316. package/dist/server/rendering/server.mjs +7489 -3094
  317. package/dist/server/rendering.mjs +7491 -3096
  318. package/dist/server/routing.mjs +4965 -2386
  319. package/dist/server/server.mjs +4713 -2278
  320. package/dist/server/theme-bridge.mjs +2181 -383
  321. package/dist/server/theme.mjs +477 -222
  322. package/dist/styles/index.css +747 -71
  323. package/package.json +1 -1
  324. package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
  325. package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
  326. package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
  327. package/dist/chunk-LCY32PXF.mjs +0 -1175
@@ -0,0 +1,55 @@
1
+ import { type HistoryState } from '../../../../content-editor/src/index';
2
+ import type { SelectionSnapshot, StyleConfiguratorHistoryEntry } from './StyleConfigurator.state';
3
+ export type SiteStyleHistoryPresent = Readonly<{
4
+ selection: SelectionSnapshot;
5
+ entry: StyleConfiguratorHistoryEntry | null;
6
+ }>;
7
+ export type SiteStyleHistoryMutation = Readonly<{
8
+ kind: 'idle';
9
+ }> | Readonly<{
10
+ kind: 'undoing';
11
+ entry: StyleConfiguratorHistoryEntry;
12
+ base: SelectionSnapshot;
13
+ target: SelectionSnapshot;
14
+ }> | Readonly<{
15
+ kind: 'redoing';
16
+ entry: StyleConfiguratorHistoryEntry;
17
+ base: SelectionSnapshot;
18
+ target: SelectionSnapshot;
19
+ }> | Readonly<{
20
+ kind: 'failed';
21
+ message: string;
22
+ }> | Readonly<{
23
+ kind: 'stale';
24
+ message: string;
25
+ }>;
26
+ export type SiteStyleHistoryState = Readonly<{
27
+ history: HistoryState<SiteStyleHistoryPresent>;
28
+ mutation: SiteStyleHistoryMutation;
29
+ }>;
30
+ export type SiteStyleHistoryBeginResult = Readonly<{
31
+ kind: 'started';
32
+ state: SiteStyleHistoryState;
33
+ entry: StyleConfiguratorHistoryEntry;
34
+ base: SelectionSnapshot;
35
+ target: SelectionSnapshot;
36
+ }> | Readonly<{
37
+ kind: 'skipped';
38
+ reason: SiteStyleHistorySkipReason;
39
+ }>;
40
+ export type SiteStyleHistorySkipReason = 'not-ready' | 'mutation-pending' | 'stale' | 'cannot-undo' | 'cannot-redo';
41
+ export type SiteStyleHistoryFailure = Readonly<{
42
+ kind: 'retryable' | 'stale';
43
+ message: string;
44
+ }>;
45
+ export declare function createSiteStyleHistoryState(selection: SelectionSnapshot): SiteStyleHistoryState;
46
+ export declare function recordAppliedSiteStyleSelection(state: SiteStyleHistoryState, entry: StyleConfiguratorHistoryEntry): SiteStyleHistoryState;
47
+ export declare function beginSiteStyleHistoryUndo(state: SiteStyleHistoryState): SiteStyleHistoryBeginResult;
48
+ export declare function beginSiteStyleHistoryRedo(state: SiteStyleHistoryState): SiteStyleHistoryBeginResult;
49
+ export declare function confirmSiteStyleHistoryMutation(state: SiteStyleHistoryState, persisted: SelectionSnapshot): SiteStyleHistoryState;
50
+ export declare function rejectSiteStyleHistoryMutation(state: SiteStyleHistoryState, failure: SiteStyleHistoryFailure): SiteStyleHistoryState;
51
+ export declare function siteStyleHistoryCanUndo(state: SiteStyleHistoryState | null): boolean;
52
+ export declare function siteStyleHistoryCanRedo(state: SiteStyleHistoryState | null): boolean;
53
+ export declare function siteStyleHistoryIsPending(state: SiteStyleHistoryState | null): boolean;
54
+ export declare function siteStyleHistoryIsStale(state: SiteStyleHistoryState | null): boolean;
55
+ export declare function siteStyleHistoryFailureMessage(state: SiteStyleHistoryState | null): string | null;
@@ -0,0 +1,4 @@
1
+ export type PreviewZustandStoreApi<T> = {
2
+ getState: () => T;
3
+ subscribe: (listener: () => void) => () => void;
4
+ };
@@ -6,3 +6,4 @@ export declare function buildApplySiteStyleSelectionBody(input: Readonly<{
6
6
  previewed: SelectionSnapshot;
7
7
  selectionId?: string | null;
8
8
  }>): ApplySiteStyleSelectionBody;
9
+ export declare function selectionSnapshotFromApplySiteStyleSelectionResponse(saved: NonNullable<APIEndpoints['applySiteStyleSelection']['response']>, fallback: SelectionSnapshot): SelectionSnapshot;
@@ -1,9 +1,10 @@
1
1
  import type { ApiClient } from '../../../../api/src/request';
2
2
  import { type BuiltInReferenceKind } from '../../../../content-model/src/index';
3
- import type { EntryPickerWidgetAdapter, LinkWidgetAdapters, ReferenceWidgetAdapter } from '../../../../editor-blocks/src/index';
3
+ import type { EntryPickerWidgetAdapter, LinkWidgetAdapters, ReferenceWidgetAdapter, SiteOptionWidgetAdapters } from '../../../../editor-blocks/src/index';
4
4
  type BuiltInReferenceWidgetAdapters = Record<BuiltInReferenceKind, ReferenceWidgetAdapter>;
5
5
  export declare function createPreviewLinkAdapters(previewClient: ApiClient): LinkWidgetAdapters;
6
6
  export declare function createPreviewEntryPickerAdapter(previewClient: ApiClient): EntryPickerWidgetAdapter;
7
+ export declare function createPreviewSiteOptionAdapters(previewClient: ApiClient): SiteOptionWidgetAdapters;
7
8
  /**
8
9
  * Builds the preview adapter record by iterating the canonical `referenceLoaders`
9
10
  * map. The kind ↔ loader pairing is structurally impossible to mis-couple — each
@@ -2,14 +2,16 @@ import { type ReactNode } from 'react';
2
2
  import type { ApiClient } from '../../../../api/src/request';
3
3
  import { type MediaAssetIndexItem, type Theme } from '../../../../blocks/src/index';
4
4
  import type { FieldWidgetComponent } from '../../../../block-form/src/client/index';
5
- import { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters } from './widgetAdapters';
6
- export declare function PreviewFormProvider({ siteId: rawSiteId, theme, previewClient, bearerToken, supabaseUrl, mediaAssets, children, }: {
5
+ import type { SdkConfigForBlockPicker } from '../../../../editor-blocks/src/index';
6
+ import { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters, createPreviewSiteOptionAdapters } from './widgetAdapters';
7
+ export declare function PreviewFormProvider({ siteId: rawSiteId, theme, previewClient, bearerToken, supabaseUrl, mediaAssets, sdkConfig, children, }: {
7
8
  siteId: string;
8
9
  theme?: Theme | null;
9
10
  previewClient: ApiClient;
10
11
  bearerToken?: string | null;
11
12
  supabaseUrl?: string;
12
13
  mediaAssets?: MediaAssetIndexItem[];
14
+ sdkConfig?: SdkConfigForBlockPicker | null;
13
15
  children: ReactNode;
14
16
  }): import("react/jsx-runtime").JSX.Element;
15
17
  export declare const previewWidgetOverrides: {
@@ -23,6 +25,7 @@ export declare const previewWidgetOverrides: {
23
25
  readonly entryPicker: FieldWidgetComponent;
24
26
  readonly iconPicker: FieldWidgetComponent;
25
27
  readonly buttonVariant: FieldWidgetComponent;
28
+ readonly siteOptionPicker: FieldWidgetComponent;
26
29
  };
27
30
  export type { FieldWidgetComponent };
28
- export { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters };
31
+ export { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters, createPreviewSiteOptionAdapters, };
@@ -2,5 +2,4 @@ export declare const PREVIEW_COOKIE_NAME = "preview_token";
2
2
  export declare const PREVIEW_REFRESH_COOKIE_NAME = "preview_refresh_token";
3
3
  export declare const PREVIEW_COOKIE_MAX_AGE: number;
4
4
  export declare const PREVIEW_CODE_PARAM = "preview_code";
5
- export declare const PREVIEW_SURFACE_PARAM = "preview_surface";
6
5
  export declare const PREVIEW_THEME_COOKIE_NAME = "preview_theme_id";
@@ -0,0 +1,44 @@
1
+ import { Command } from 'commander';
2
+ import type { SetupRevalidationWebhookResult } from '../../client/management';
3
+ export declare const RIVERBANK_WEBHOOK_SECRET_ENV = "RIVERBANK_WEBHOOK_SECRET";
4
+ export type EnvPatchPlan = Readonly<{
5
+ tag: 'create-file';
6
+ nextContent: string;
7
+ }> | Readonly<{
8
+ tag: 'append-key';
9
+ nextContent: string;
10
+ }> | Readonly<{
11
+ tag: 'replace-key';
12
+ nextContent: string;
13
+ }> | Readonly<{
14
+ tag: 'unchanged';
15
+ nextContent: string;
16
+ }>;
17
+ export interface WebhookSetupOptions {
18
+ url: string;
19
+ name?: string;
20
+ rotateSecret?: boolean;
21
+ dryRun?: boolean;
22
+ writeEnv?: boolean;
23
+ vercel?: boolean;
24
+ yes?: boolean;
25
+ }
26
+ export declare function planEnvSecretPatch(existingContent: string | null, secret: string): EnvPatchPlan;
27
+ export declare function writeEnvSecret(filePath: string, secret: string): Promise<Readonly<{
28
+ path: string;
29
+ plan: EnvPatchPlan;
30
+ written: boolean;
31
+ }>>;
32
+ export declare function planHumanResultOutput(input: Readonly<{
33
+ result: SetupRevalidationWebhookResult;
34
+ envWrite: Readonly<{
35
+ path: string;
36
+ plan: EnvPatchPlan;
37
+ written: boolean;
38
+ }> | null;
39
+ writeEnv: boolean;
40
+ }>): Readonly<{
41
+ summary: string;
42
+ details: string[];
43
+ }>;
44
+ export declare const webhooksCommand: Command;
@@ -4,7 +4,7 @@
4
4
  * Loads riverbank.config.ts and extracts CLI-relevant configuration
5
5
  * (contentDir and sync settings) with appropriate defaults.
6
6
  */
7
- import type { SyncConfig, BlockFieldExtensionsMap } from '../config/types';
7
+ import type { SyncConfig, BlockFieldExtensionsMap, SdkCustomBlock } from '../config/types';
8
8
  /**
9
9
  * Loaded CLI configuration with defaults applied.
10
10
  */
@@ -15,6 +15,8 @@ export interface LoadedCliConfig {
15
15
  sync: Required<SyncConfig>;
16
16
  /** Custom block field extensions from config (for validation) */
17
17
  blockFieldExtensions?: BlockFieldExtensionsMap;
18
+ /** SDK custom block definitions from config (for validation) */
19
+ customBlocks?: SdkCustomBlock[];
18
20
  /** Active theme name for local loading and default push */
19
21
  activeTheme: string;
20
22
  }
@@ -42,10 +42,12 @@ export interface LocalPage {
42
42
  /**
43
43
  * Navigation link types for local navigation files.
44
44
  *
45
- * These types are aligned with the API NavigationLinkInput contract
46
- * to keep SDK file formats and management validation in sync.
45
+ * These types accept the SDK config/file dropdown sentinel. Push command
46
+ * compilation lowers dropdown containers to linkless management inputs.
47
47
  */
48
- export type LocalNavigationLinkType = NavigationLinkInput;
48
+ export type LocalNavigationLinkType = NavigationLinkInput | {
49
+ kind: 'dropdown';
50
+ };
49
51
  export interface LocalNavigationItem {
50
52
  label: string;
51
53
  /** Link configuration. Required for non-dropdown items. */
@@ -12,6 +12,7 @@ export type CommandSurfaceDispatchInput = Readonly<{
12
12
  local: LocalContent;
13
13
  client: ManagementClient;
14
14
  blockFieldExtensions: Parameters<typeof compilePagePushCommands>[0]['blockFieldExtensions'];
15
+ customBlocks?: Parameters<typeof compilePagePushCommands>[0]['customBlocks'];
15
16
  onEntryCommandCount?: (commandCount: number) => void;
16
17
  onFormCommandCount?: (commandCount: number) => void;
17
18
  onNavigationCommandCount?: (commandCount: number) => void;
@@ -3,7 +3,7 @@ import { type SiteCommandOf } from '../../../../site-commands/src/index';
3
3
  import type { ManagementClient } from '../../client/management/types';
4
4
  import type { LocalContent } from '../content/reader';
5
5
  import type { EnvTarget } from '../helpers';
6
- import type { BlockFieldExtensionsMap } from '../../config/types';
6
+ import type { BlockFieldExtensionsMap, SdkCustomBlock } from '../../config/types';
7
7
  import type { ContentDiff } from '../sync/diff';
8
8
  import type { SyncResult } from '../sync';
9
9
  import { type CliBlockIdentifier, type CliPageIdentifier } from './commandKeys';
@@ -30,6 +30,7 @@ export type CliPageCommandCompileInput = Readonly<{
30
30
  diff: Pick<ContentDiff, 'pages'>;
31
31
  local: Pick<LocalContent, 'pages'>;
32
32
  blockFieldExtensions?: BlockFieldExtensionsMap;
33
+ customBlocks?: readonly SdkCustomBlock[];
33
34
  }>;
34
35
  export type CliPageCommandCompileSuccess = CliCommandCompileBatchSuccessWithReports<PageSiteCommandType, PageCommandReportSubject> & Readonly<{
35
36
  warnings: readonly string[];
@@ -78,5 +79,6 @@ export declare function pageCommandExecutionToReport(input: Readonly<{
78
79
  export declare function preflightPageCommandPlanAsReport(input: Readonly<{
79
80
  compiledPlan: PageCommandCompiledPlan;
80
81
  blockFieldExtensions?: BlockFieldExtensionsMap;
82
+ customBlocks?: readonly SdkCustomBlock[];
81
83
  }>): PageCommandExecutionReport;
82
84
  export declare function pageCommandReportToSyncResult(report: PageCommandExecutionReport): SyncResult;
@@ -18,6 +18,7 @@ export type ContentPushExecutionInput = Readonly<{
18
18
  local: LocalContent;
19
19
  client: ManagementClient;
20
20
  blockFieldExtensions: Parameters<typeof compilePagePushCommands>[0]['blockFieldExtensions'];
21
+ customBlocks?: Parameters<typeof compilePagePushCommands>[0]['customBlocks'];
21
22
  output: OutputContext;
22
23
  onEntryCommandCount?: (commandCount: number) => void;
23
24
  onFormCommandCount?: (commandCount: number) => void;
@@ -36,7 +36,7 @@ import { CourseSessionConflictError } from './courses';
36
36
  * @returns ManagementClient instance
37
37
  */
38
38
  export declare function createManagementClient(config: ManagementClientConfig): ManagementClient;
39
- export type { ManagementClient, ManagementClientConfig, ManagementEntry, ManagementPage, ManagementBlock, ManagementNavigationMenu, ManagementNavigationItem, ManagementSettings, ManagementForm, ManagementFormField, ManagementFormSchema, ManagementFormSettings, ManagementVenue, VenueAddress, VenueLocation, VenueUpsertInput, ManagementEventCategory, EventCategoryUpsertInput, ManagementEventSeries, EventSchedule, EventPricing, EventContent, EventSeriesUpsertInput, ManagementCourseRun, CourseRunUpsertInput, CourseSession, CourseProgramContent, CourseSessionConflict, EntryUpsertInput, PageUpsertInput, BlockUpsertInput, NavigationMenuUpsertInput, NavigationItemInput, FormUpsertInput, SiteStyleSelectionApplyCommand, SiteStyleSelectionApplyCommandInput, ThemeUpsertInput, ThemeUpsertResult, ThemeStyleSelectionApplyInput, ThemeStyleSelectionApplyResult, FooterContent, ManagementFooterContent, FooterContentUpsertInput, FooterOperations, PulledFooter, PulledEntries, PulledPages, PulledNavigation, PulledSettings, PulledForms, PulledTheme, PulledVenues, PulledEventCategories, PulledEvents, PulledCourses, PulledSiteInfo, PulledContentType, PulledContentTypes, PulledContent, PaginationOptions, PaginatedResult, EntryOperations, PageOperations, BlockOperations, NavigationOperations, SettingsOperations, SettingsUpdateInput, FormOperations, ThemeOperations, VenueOperations, EventCategoryOperations, EventOperations, CourseOperations, PullOperations, IdentifiersOperations, BackfillResult, BackfillPageResult, BackfillBlockResult, BackfillEntryResult, MediaOperations, MediaUploadResult, } from './types';
39
+ export type { ManagementClient, ManagementClientConfig, ManagementEntry, ManagementPage, ManagementBlock, ManagementNavigationMenu, ManagementNavigationItem, ManagementSettings, ManagementForm, ManagementFormField, ManagementFormSchema, ManagementFormSettings, ManagementVenue, VenueAddress, VenueLocation, VenueUpsertInput, ManagementEventCategory, EventCategoryUpsertInput, ManagementEventSeries, EventSchedule, EventPricing, EventContent, EventSeriesUpsertInput, ManagementCourseRun, CourseRunUpsertInput, CourseSession, CourseProgramContent, CourseSessionConflict, EntryUpsertInput, PageUpsertInput, BlockUpsertInput, NavigationMenuUpsertInput, NavigationItemInput, FormUpsertInput, SiteStyleSelectionApplyCommand, SiteStyleSelectionApplyCommandInput, ThemeUpsertInput, ThemeUpsertResult, ThemeStyleSelectionApplyInput, ThemeStyleSelectionApplyResult, FooterContent, ManagementFooterContent, FooterContentUpsertInput, FooterOperations, PulledFooter, PulledEntries, PulledPages, PulledNavigation, PulledSettings, PulledForms, PulledTheme, PulledVenues, PulledEventCategories, PulledEvents, PulledCourses, PulledSiteInfo, PulledContentType, PulledContentTypes, PulledContent, PaginationOptions, PaginatedResult, EntryOperations, PageOperations, BlockOperations, NavigationOperations, SettingsOperations, SettingsUpdateInput, WebhookOperations, SetupRevalidationWebhookInput, SetupRevalidationWebhookResult, ManagementWebhookEndpoint, RevalidationWebhookPlannedEndpoint, FormOperations, ThemeOperations, VenueOperations, EventCategoryOperations, EventOperations, CourseOperations, PullOperations, IdentifiersOperations, BackfillResult, BackfillPageResult, BackfillBlockResult, BackfillEntryResult, MediaOperations, MediaUploadResult, } from './types';
40
40
  export { ManagementApiError, type ManagementApiErrorRequest } from './http';
41
41
  export { applySiteStyleSelectionBodyFromCommand, buildApplySiteStyleSelectionCommand, } from './theme';
42
42
  export { CourseSessionConflictError };
@@ -167,6 +167,58 @@ export interface SettingsUpdateInput {
167
167
  logoIdentifier?: string | null;
168
168
  faviconIdentifier?: string | null;
169
169
  }
170
+ export interface ManagementWebhookEndpoint {
171
+ id: string;
172
+ name: string;
173
+ url: string;
174
+ events: string[];
175
+ enabled: boolean;
176
+ hasSecret: boolean;
177
+ createdAt: string;
178
+ updatedAt: string;
179
+ siteId: string;
180
+ failureCount: number;
181
+ lastFailureAt: string | null;
182
+ lastSuccessAt: string | null;
183
+ lastTriggeredAt: string | null;
184
+ }
185
+ export interface SetupRevalidationWebhookInput {
186
+ url: string;
187
+ name?: string;
188
+ rotateSecret?: boolean;
189
+ dryRun?: boolean;
190
+ vercel?: boolean;
191
+ }
192
+ export interface RevalidationWebhookPlannedEndpoint {
193
+ name: string;
194
+ url: string;
195
+ events: string[];
196
+ enabled: boolean;
197
+ rotateSecret: boolean;
198
+ }
199
+ export type SetupRevalidationWebhookResult = {
200
+ dryRun: true;
201
+ action: 'would_create' | 'would_update' | 'would_rotate' | 'would_leave_unchanged';
202
+ endpoint: ManagementWebhookEndpoint | null;
203
+ plannedEndpoint: RevalidationWebhookPlannedEndpoint;
204
+ message: string;
205
+ checklist: string[];
206
+ } | {
207
+ dryRun: false;
208
+ action: 'created' | 'rotated';
209
+ endpoint: ManagementWebhookEndpoint;
210
+ plannedEndpoint: RevalidationWebhookPlannedEndpoint;
211
+ secret: string;
212
+ message: string;
213
+ checklist: string[];
214
+ } | {
215
+ dryRun: false;
216
+ action: 'updated' | 'unchanged';
217
+ endpoint: ManagementWebhookEndpoint;
218
+ plannedEndpoint: RevalidationWebhookPlannedEndpoint;
219
+ message: string;
220
+ checklist: string[];
221
+ };
170
222
  /**
171
223
  * Form field definition.
172
224
  */
@@ -815,6 +867,9 @@ export interface SettingsOperations {
815
867
  get(): Promise<ManagementSettings>;
816
868
  update(input: SettingsUpdateInput): Promise<ManagementSettings>;
817
869
  }
870
+ export interface WebhookOperations {
871
+ setupRevalidation(input: SetupRevalidationWebhookInput): Promise<SetupRevalidationWebhookResult>;
872
+ }
818
873
  export interface FormOperations {
819
874
  list(): Promise<ManagementForm[]>;
820
875
  get(slug: string): Promise<ManagementForm | null>;
@@ -957,6 +1012,7 @@ export interface ManagementClient {
957
1012
  blocks: BlockOperations;
958
1013
  navigation: NavigationOperations;
959
1014
  settings: SettingsOperations;
1015
+ webhooks: WebhookOperations;
960
1016
  forms: FormOperations;
961
1017
  theme: ThemeOperations;
962
1018
  footer: FooterOperations;
@@ -0,0 +1,3 @@
1
+ import type { HttpClient } from './http';
2
+ import type { WebhookOperations } from './types';
3
+ export declare function createWebhookOperations(http: HttpClient): WebhookOperations;
@@ -45,7 +45,7 @@ export type BlockCategory = 'marketing' | 'content' | 'blog' | 'media' | 'layout
45
45
  *
46
46
  * Re-exported from `@riverbankcms/blocks` (single source of truth).
47
47
  */
48
- export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
48
+ export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
49
49
  export type SdkLoaderEndpoint = (typeof SUPPORTED_LOADER_ENDPOINTS)[number];
50
50
  export type LoaderParamBinding = {
51
51
  $bind: {
@@ -56,9 +56,9 @@ export declare const containerMaxWidthSchema: z.ZodEnum<{
56
56
  * Schema for container alignment values.
57
57
  */
58
58
  export declare const containerAlignmentSchema: z.ZodEnum<{
59
- center: "center";
60
59
  left: "left";
61
60
  right: "right";
61
+ center: "center";
62
62
  }>;
63
63
  /**
64
64
  * Schema for section options configuration.
@@ -85,9 +85,9 @@ export declare const containerOptionsSchema: z.ZodOptional<z.ZodObject<{
85
85
  wide: "wide";
86
86
  }>>, z.ZodBoolean]>>;
87
87
  alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
88
- center: "center";
89
88
  left: "left";
90
89
  right: "right";
90
+ center: "center";
91
91
  }>>, z.ZodBoolean]>>;
92
92
  }, z.core.$strip>>;
93
93
  /**
@@ -118,9 +118,9 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
118
118
  wide: "wide";
119
119
  }>>, z.ZodBoolean]>>;
120
120
  alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
121
- center: "center";
122
121
  left: "left";
123
122
  right: "right";
123
+ center: "center";
124
124
  }>>, z.ZodBoolean]>>;
125
125
  }, z.core.$strip>>;
126
126
  }, z.core.$strip>>;
@@ -44,6 +44,8 @@ export type CardStylesContent = {
44
44
  spacing?: string | null;
45
45
  raised?: boolean | null;
46
46
  rounded?: string | null;
47
+ cardVariant?: string | null;
48
+ treatment?: 'accent-quote' | 'editorial-rule' | 'soft-panel' | 'editorial-serif-quote' | 'editorial-open' | null;
47
49
  } | null;
48
50
  export type ContainerStylesContent = {
49
51
  background?: Record<string, unknown> | null;
@@ -217,6 +219,9 @@ export type DisplayMode = 'combined' | 'month' | 'week' | 'list' | 'timetable';
217
219
  export type FilterAutoShow = 'auto' | 'always' | 'never';
218
220
  export type CalendarTabViews = 'both' | 'month' | 'week';
219
221
  export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'link';
222
+ export type CardVariantRole = 'default' | 'alternative';
223
+ export type LegacyCardVariantRoleAlias = 'variant1' | 'variant2';
224
+ export type EventCardVariantInput = CardVariantRole | LegacyCardVariantRoleAlias;
220
225
  export type EventBlockKind = 'all' | 'courses' | 'events';
221
226
  export type EventSurfacePreset = 'class' | 'workshop' | 'retreat' | 'performance';
222
227
  export type EventSurfaceScope = 'all' | 'regularClassSchedule' | 'specialDatedEvents' | 'custom';
@@ -229,8 +234,7 @@ export type EventCalendarContent = {
229
234
  listColumns?: ColumnOption | null;
230
235
  layout?: EventLayout | null;
231
236
  columns?: ColumnOption | null;
232
- eventsPerPage?: '6' | '12' | '24' | null;
233
- compactEventsPerPage?: '10' | '20' | '30' | null;
237
+ eventsPerPage?: '6' | '10' | '12' | '20' | '24' | '30' | null;
234
238
  loadMoreText?: string | null;
235
239
  startOfWeek?: WeekStart | null;
236
240
  calendarTabViews?: CalendarTabViews | null;
@@ -270,7 +274,7 @@ export type EventListingContent = {
270
274
  paginationMode?: 'loadMore' | 'seeAllLink' | null;
271
275
  seeAllUrl?: string | null;
272
276
  loadMoreText?: string | null;
273
- cardVariant?: 'default' | 'variant1' | 'variant2' | null;
277
+ cardVariant?: EventCardVariantInput | null;
274
278
  buttonVariant?: ButtonVariant | null;
275
279
  buttonText?: string | null;
276
280
  showVenue?: boolean | null;
@@ -306,7 +310,7 @@ export type EventSpotlightContent = {
306
310
  ctaUrl?: LinkValue | string | null;
307
311
  layout?: 'grid' | 'stack' | null;
308
312
  columns?: '2' | '3' | null;
309
- cardVariant?: 'default' | 'variant1' | 'variant2' | null;
313
+ cardVariant?: EventCardVariantInput | null;
310
314
  buttonVariant?: ButtonVariant | null;
311
315
  buttonText?: string | null;
312
316
  showVenue?: boolean | null;
@@ -315,6 +319,30 @@ export type EventSpotlightContent = {
315
319
  emptyMessage?: string | null;
316
320
  _sectionStyles?: SectionStylesContent;
317
321
  };
322
+ export type OfferingsPreviewSourceKey = 'eventPreset:class' | 'eventPreset:workshop' | 'eventPreset:retreat' | 'eventPreset:performance' | 'course';
323
+ export type OfferingsPreviewCtaMode = 'auto' | 'custom' | 'hidden';
324
+ export type OfferingsPreviewGroupPresentation = 'compact-list' | 'single-card';
325
+ export type OfferingsPreviewGroupOverride = {
326
+ sourceKey?: OfferingsPreviewSourceKey | null;
327
+ title?: string | null;
328
+ intro?: string | null;
329
+ hidden?: boolean | null;
330
+ presentation?: OfferingsPreviewGroupPresentation | null;
331
+ ctaMode?: OfferingsPreviewCtaMode | null;
332
+ ctaHref?: string | null;
333
+ ctaLabel?: string | null;
334
+ };
335
+ export type OfferingsPreviewContent = {
336
+ heading?: string | null;
337
+ description?: unknown;
338
+ itemLimit?: '1' | '2' | '3' | '4' | '5' | '6' | null;
339
+ groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
340
+ _cardStyles?: CardStylesContent;
341
+ buttonVariant?: ButtonVariant | null;
342
+ buttonText?: string | null;
343
+ emptyMessage?: string | null;
344
+ _sectionStyles?: SectionStylesContent;
345
+ };
318
346
  export type FaqItem = {
319
347
  question: string;
320
348
  answer: unknown;
@@ -519,7 +547,7 @@ export type TeamMembersContent = (TeamMembersCommonContent & {
519
547
  members?: ManualTeamMemberItem[];
520
548
  });
521
549
  export type TestimonialsBlockContent = {
522
- variant?: 'carousel' | 'grid' | 'split-grid' | null;
550
+ variant?: 'carousel' | 'grid' | 'split-grid' | 'highlight' | null;
523
551
  heading?: string | null;
524
552
  subheading?: string | null;
525
553
  avatarLayout?: 'above-centered' | 'inline-left' | 'hidden' | null;
@@ -658,6 +686,7 @@ export type SystemBlockContentByFullKind = {
658
686
  'block.event-spotlight': EventSpotlightContent;
659
687
  'block.event-listing': EventListingContent;
660
688
  'block.event-calendar': EventCalendarContent;
689
+ 'block.offerings-preview': OfferingsPreviewContent;
661
690
  'block.shop': ShopContent;
662
691
  'block.product-list': ProductListContent;
663
692
  'block.product-detail': ProductDetailContent;
@@ -275,6 +275,15 @@ export type SiteRouteRecord = {
275
275
  draftStatus?: string | null;
276
276
  publishedAt?: string | null;
277
277
  };
278
+ export type SiteBookingOfferingCanonicalBehaviour = "class" | "workshop" | "course" | "retreat" | "performance" | "appointment";
279
+ export type SiteBookingOfferingEngine = "event_series" | "course" | "appointment_service";
280
+ export type SiteBookingOfferingPresetSummary = Readonly<{
281
+ id: string;
282
+ canonicalBehaviour: SiteBookingOfferingCanonicalBehaviour;
283
+ engine: SiteBookingOfferingEngine;
284
+ label: string;
285
+ pluralLabel: string;
286
+ }>;
278
287
  export type SiteResponse = {
279
288
  site: {
280
289
  id: string;
@@ -318,6 +327,7 @@ export type SiteResponse = {
318
327
  appointmentsEnabled?: boolean;
319
328
  portalEnabled?: boolean;
320
329
  commerceEnabled?: boolean;
330
+ bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
321
331
  analytics?: SiteAnalyticsSettingsPayload;
322
332
  privacyPolicy?: SiteRuntimePrivacyPolicy;
323
333
  routes: Record<string, SiteRouteRecord>;
@@ -48,6 +48,47 @@ export type EventCategory = {
48
48
  color: string | null;
49
49
  };
50
50
  export type PricingType = 'free' | 'paid' | 'pass_only' | 'membership_only';
51
+ export type PublicCoursePriceDisplay = {
52
+ kind: 'free';
53
+ currency: string;
54
+ } | {
55
+ kind: 'exact';
56
+ amount: number;
57
+ currency: string;
58
+ } | {
59
+ kind: 'from';
60
+ amount: number;
61
+ currency: string;
62
+ } | {
63
+ kind: 'unavailable';
64
+ currency: string;
65
+ };
66
+ export type PublicEventPriceDisplay = {
67
+ kind: 'free';
68
+ currency: string;
69
+ } | {
70
+ kind: 'exact';
71
+ amount: number;
72
+ currency: string;
73
+ } | {
74
+ kind: 'from';
75
+ amount: number;
76
+ currency: string;
77
+ } | {
78
+ kind: 'mixed';
79
+ paidFromAmount: number;
80
+ currency: string;
81
+ } | {
82
+ kind: 'pass_only';
83
+ } | {
84
+ kind: 'membership_only';
85
+ } | {
86
+ kind: 'unavailable';
87
+ currency: string;
88
+ } | {
89
+ kind: 'course';
90
+ display: PublicCoursePriceDisplay;
91
+ };
51
92
  export type AccessRestriction = 'none' | 'category';
52
93
  export type PublicEventTicketTypeAvailability = {
53
94
  kind: 'available';
@@ -152,6 +193,7 @@ export type PublicEvent = {
152
193
  pricingType: PricingType;
153
194
  price: number | null;
154
195
  currency: string;
196
+ priceDisplay: PublicEventPriceDisplay;
155
197
  paymentTerms: BookingPaymentTerms;
156
198
  pricingMode?: 'single' | 'ticket_types';
157
199
  ticketTypes?: PublicEventTicketType[];
@@ -0,0 +1,4 @@
1
+ import type { MediaAssetIndexItem as BlocksMediaAssetIndexItem, ResolveImageUrlContextInput as BlocksResolveImageUrlContextInput } from '../../../blocks/src/index';
2
+ import type { MediaAssetIndexItem as SdkMediaAssetIndexItem, ResolveImageUrlContextInput as SdkResolveImageUrlContextInput } from '../contracts';
3
+ export declare function toBlocksMediaAssets(assets: readonly SdkMediaAssetIndexItem[] | undefined): readonly BlocksMediaAssetIndexItem[] | undefined;
4
+ export declare function toBlocksImageResolveContextInput(context: SdkResolveImageUrlContextInput | undefined): BlocksResolveImageUrlContextInput | undefined;
@@ -7,7 +7,7 @@
7
7
  * `@riverbankcms/blocks` (which is not a public dependency). This list is a
8
8
  * stable public contract; keep it in sync with the internal blocks runtime.
9
9
  */
10
- export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
10
+ export declare const SYSTEM_BLOCK_KINDS: readonly ["block.hero", "block.intro", "block.columns", "block.collection", "block.feature-cards", "block.media-text", "block.cta-full", "block.single-button", "block.body-text", "block.location-map", "block.faq", "block.testimonials", "block.team-members", "block.embed", "block.blog-post", "block.blog-listing", "block.site-header", "block.site-footer", "block.form", "block.appointment-booking", "block.event-registration", "block.event-details", "block.course-registration", "block.course-details", "block.event-spotlight", "block.event-listing", "block.event-calendar", "block.offerings-preview", "block.shop", "block.product-list", "block.product-detail", "block.cart", "block.checkout", "block.gifting", "block.newsletter-signup", "block.image-gallery", "block.video-grid", "block.audio-player", "block.file-download"];
11
11
  export type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
12
12
  export type CustomBlockKind = `custom.${string}`;
13
13
  export type BlockKind = SystemBlockKind | CustomBlockKind;
@@ -8,4 +8,4 @@
8
8
  * 1. This constant
9
9
  * 2. The "version" field in package.json
10
10
  */
11
- export declare const SDK_VERSION = "0.79.0";
11
+ export declare const SDK_VERSION = "0.81.0";