@riverbankcms/sdk 0.80.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 (265) hide show
  1. package/dist/{PreviewEditorSidebar-QZG37QIF.mjs → PreviewEditorSidebar-RDCMEXIJ.mjs} +763 -255
  2. package/dist/{PreviewEditorUI-AXIKSMZA.mjs → PreviewEditorUI-NYGQ6K7B.mjs} +170 -29
  3. package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +8 -0
  4. package/dist/_dts/api/src/contentRuntime.d.ts +12 -0
  5. package/dist/_dts/api/src/contentTypes.d.ts +6 -0
  6. package/dist/_dts/api/src/index.d.ts +2 -2
  7. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +53 -0
  8. package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
  9. package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
  10. package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -0
  11. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +20 -28
  12. package/dist/_dts/blocks/src/index.d.ts +6 -4
  13. package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +1 -1
  14. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
  15. package/dist/_dts/blocks/src/server.d.ts +1 -1
  16. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
  17. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +135 -0
  18. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +5 -0
  19. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
  20. package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
  21. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
  22. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +19 -0
  23. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +134 -0
  24. package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
  25. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  26. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  27. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +13 -3
  28. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
  29. package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +64 -0
  30. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  31. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
  32. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +6 -1
  33. package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -1
  34. package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
  35. package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
  36. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  37. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  38. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +44 -50
  39. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -24
  40. package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
  41. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
  42. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
  43. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
  44. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
  45. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
  46. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
  47. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
  48. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +17 -28
  49. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
  50. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
  51. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
  52. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
  53. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
  54. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +21 -0
  55. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +7 -0
  56. package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
  57. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +4 -2
  58. package/dist/_dts/calendar/src/grid.d.ts +27 -0
  59. package/dist/_dts/calendar/src/index.d.ts +2 -2
  60. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
  61. package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
  62. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
  63. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
  64. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
  65. package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
  66. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
  67. package/dist/_dts/content-editor/src/index.d.ts +3 -1
  68. package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
  69. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
  70. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
  71. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
  72. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +60 -3
  73. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
  74. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  75. package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -0
  76. package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
  77. package/dist/_dts/core/src/branded.d.ts +5 -0
  78. package/dist/_dts/core/src/index.d.ts +1 -0
  79. package/dist/_dts/core/src/stable-json.d.ts +1 -0
  80. package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
  81. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
  82. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
  83. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
  84. package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
  85. package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
  86. package/dist/_dts/editor/src/index.d.ts +29 -0
  87. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
  88. package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
  89. package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
  90. package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
  91. package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
  92. package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
  93. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
  94. package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
  95. package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
  96. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
  97. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
  98. package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
  99. package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
  100. package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
  101. package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
  102. package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
  103. package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
  104. package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
  105. package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
  106. package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
  107. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
  108. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +3 -3
  109. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +4 -4
  110. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
  111. package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
  112. package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
  113. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
  114. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
  115. package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
  116. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
  117. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
  118. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
  119. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
  120. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
  121. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
  122. package/dist/_dts/media-core/src/index.d.ts +1 -0
  123. package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
  124. package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
  125. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
  126. package/dist/_dts/media-editor/src/index.d.ts +1 -1
  127. package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +3 -2
  128. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +5 -1
  129. package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
  130. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
  131. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
  132. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
  133. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
  134. package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +2 -1
  135. package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
  136. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +3 -1
  137. package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
  138. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +3 -1
  139. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
  140. package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
  141. package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +1 -1
  142. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +19 -19
  143. package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
  144. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +47 -4
  145. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
  146. package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +5 -0
  147. package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +46 -0
  148. package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
  149. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
  150. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
  151. package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
  152. package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
  153. package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
  154. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +101 -0
  155. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +29 -0
  156. package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
  157. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
  158. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
  159. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -2
  160. package/dist/_dts/preview-next/src/constants.d.ts +0 -1
  161. package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
  162. package/dist/_dts/sdk/src/cli/content/reader.d.ts +5 -3
  163. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
  164. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
  165. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
  166. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  167. package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
  168. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +28 -2
  169. package/dist/_dts/sdk/src/public-api/contracts.d.ts +10 -0
  170. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +42 -0
  171. package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
  172. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  173. package/dist/_dts/sdk/src/version.d.ts +1 -1
  174. package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
  175. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  176. package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
  177. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -0
  178. package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -0
  179. package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +44 -0
  180. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  181. package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
  182. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +27 -6
  183. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  184. package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
  185. package/dist/_dts/theme-core/src/schema.d.ts +40 -3
  186. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
  187. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +87 -31
  188. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
  189. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +87 -31
  190. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +30 -1
  191. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +18 -2
  192. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +6 -2
  193. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +5 -0
  194. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  195. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
  196. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
  197. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -3
  198. package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
  199. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
  200. package/dist/_dts/theme-core/src/site-styles/types.d.ts +24 -6
  201. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
  202. package/dist/{chunk-7PCYG6YV.mjs → chunk-3PTVPAT4.mjs} +1863 -1099
  203. package/dist/{chunk-5NZGBSJF.mjs → chunk-3QWQ2MUQ.mjs} +469 -1000
  204. package/dist/{chunk-HTB4BMKD.mjs → chunk-3VT7LZY2.mjs} +321 -113
  205. package/dist/{chunk-MPBNEVPB.mjs → chunk-4T5JIPWY.mjs} +1 -1
  206. package/dist/{chunk-BBLZSQEY.mjs → chunk-E3NZYEKF.mjs} +1 -7
  207. package/dist/{chunk-GYXKAUFV.mjs → chunk-WUHKQBB6.mjs} +9509 -2658
  208. package/dist/cli/index.mjs +1347 -324
  209. package/dist/client/{accordion-QFZMNB7O.mjs → accordion-SFIIZWNH.mjs} +2 -2
  210. package/dist/client/{bookingForm-NCIXFWIG.mjs → bookingForm-CFKZVWGA.mjs} +5 -5
  211. package/dist/client/bookings.mjs +281 -19
  212. package/dist/client/{carousel-EO4BJMWD.mjs → carousel-ELXWSBLA.mjs} +3 -3
  213. package/dist/client/{cart-FTYCLYUW.mjs → cart-6SSCPYY5.mjs} +6 -6
  214. package/dist/client/{checkout-NFGLVCOX.mjs → checkout-UFQ34HPV.mjs} +6 -6
  215. package/dist/client/{chunk-6GVVWSPU.mjs → chunk-76JUETXQ.mjs} +139 -186
  216. package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-7BXX7WXH.mjs} +112 -28
  217. package/dist/client/{chunk-IWFZSQNZ.mjs → chunk-G56BSZAM.mjs} +2 -2
  218. package/dist/client/{chunk-VDS5YFLX.mjs → chunk-IUEDYLFJ.mjs} +1 -1
  219. package/dist/client/{chunk-PYRBIURC.mjs → chunk-NP47RHIX.mjs} +5 -5
  220. package/dist/client/{chunk-PUOELU4O.mjs → chunk-NX6X3GRF.mjs} +330 -80
  221. package/dist/client/{chunk-Y37KDO7P.mjs → chunk-PA2LJH2M.mjs} +2 -2
  222. package/dist/client/{chunk-CE7IBGVW.mjs → chunk-RMWMT3ZD.mjs} +1 -1
  223. package/dist/client/{chunk-4W66ALYT.mjs → chunk-TCJS3NY5.mjs} +1 -1
  224. package/dist/client/{chunk-T6UIP6UZ.mjs → chunk-V6XI4M2Q.mjs} +1 -1
  225. package/dist/client/client.mjs +5924 -3138
  226. package/dist/client/{courseRegistration-2EORROPS.mjs → courseRegistration-HJIISAAG.mjs} +5 -5
  227. package/dist/client/{eventCalendar-WZI4VL6N.mjs → eventCalendar-F6YVUCZR.mjs} +7 -7
  228. package/dist/client/{eventCombined-QCB2TCNL.mjs → eventCombined-B5DSTIOK.mjs} +7 -7
  229. package/dist/client/{eventDetails-TFTATAPH.mjs → eventDetails-SEJDDHQC.mjs} +7 -7
  230. package/dist/client/{eventListing-A2CQEHEQ.mjs → eventListing-TPMWIIBO.mjs} +7 -7
  231. package/dist/client/{eventRegistration-OELPVLUY.mjs → eventRegistration-QU6W2PV6.mjs} +7 -7
  232. package/dist/client/{form-NTIFD6WQ.mjs → form-LVTYNTDE.mjs} +2 -2
  233. package/dist/client/{headerSection-7TBNKCLA.mjs → headerSection-SO3MFC4U.mjs} +54 -13
  234. package/dist/client/hooks.mjs +2266 -1179
  235. package/dist/client/{locationMap-LRLB5A3H.mjs → locationMap-5E5FLAKO.mjs} +2 -2
  236. package/dist/client/{newsletterForm-XI52RZSN.mjs → newsletterForm-GN32JEBQ.mjs} +2 -2
  237. package/dist/client/{productDetail-GSNKBFLY.mjs → productDetail-Q346KSVR.mjs} +6 -6
  238. package/dist/client/{productList-BGCGT4KZ.mjs → productList-DTDMQYGZ.mjs} +6 -6
  239. package/dist/client/rendering/client.mjs +4618 -3318
  240. package/dist/client/rendering/islands.mjs +32 -20
  241. package/dist/client/rendering.mjs +4898 -2108
  242. package/dist/client/{shop-RQHUCLNY.mjs → shop-OFUW7KPN.mjs} +6 -6
  243. package/dist/preview-next/client/runtime.mjs +5 -5
  244. package/dist/preview-next/constants.mjs +0 -2
  245. package/dist/preview-next/index.mjs +0 -2
  246. package/dist/{sdk-runtime-A4LHT2RS.mjs → sdk-runtime-2GIX6I7X.mjs} +6 -6
  247. package/dist/server/components.mjs +4377 -1852
  248. package/dist/server/config-validation.mjs +2283 -1303
  249. package/dist/server/config.mjs +2283 -1303
  250. package/dist/server/data.mjs +2267 -1180
  251. package/dist/server/index.mjs +2 -1
  252. package/dist/server/next.mjs +4394 -1773
  253. package/dist/server/page-converter.mjs +1999 -1015
  254. package/dist/server/prebuild.mjs +1 -1
  255. package/dist/server/rendering/server.mjs +4482 -1857
  256. package/dist/server/rendering.mjs +4484 -1859
  257. package/dist/server/routing.mjs +2302 -1120
  258. package/dist/server/server.mjs +2284 -1197
  259. package/dist/server/theme-bridge.mjs +757 -85
  260. package/dist/server/theme.mjs +69 -4
  261. package/dist/styles/index.css +474 -65
  262. package/package.json +1 -1
  263. package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +0 -8
  264. package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
  265. package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
@@ -383,7 +383,7 @@ export declare const blockAppearancePresets: readonly [{
383
383
  readonly kind: "block-design";
384
384
  readonly id: "intro-organic-statement";
385
385
  readonly target: "intro";
386
- readonly label: "Organic intro statement";
386
+ readonly label: "Intro statement";
387
387
  readonly blockKinds: readonly ["block.intro"];
388
388
  readonly design: {
389
389
  readonly sectionSurface: "base";
@@ -394,6 +394,24 @@ export declare const blockAppearancePresets: readonly [{
394
394
  readonly transitionAfter: "soft-fade-short";
395
395
  readonly emphasis: "high";
396
396
  };
397
+ }, {
398
+ readonly kind: "block-design";
399
+ readonly id: "intro-editorial-statement";
400
+ readonly target: "intro";
401
+ readonly label: "Editorial intro statement";
402
+ readonly blockKinds: readonly ["block.intro"];
403
+ readonly constraints: {
404
+ readonly layoutVariantKeys: readonly ["centered-copy", "statement-copy"];
405
+ };
406
+ readonly design: {
407
+ readonly sectionSurface: "base";
408
+ readonly contentFrame: {
409
+ readonly kind: "plain";
410
+ };
411
+ readonly itemSurface: "none";
412
+ readonly transitionAfter: "soft-fade-short";
413
+ readonly emphasis: "high";
414
+ };
397
415
  }, {
398
416
  readonly kind: "block-design";
399
417
  readonly id: "intro-portrait-bio";
@@ -411,11 +429,6 @@ export declare const blockAppearancePresets: readonly [{
411
429
  readonly itemSurface: "none";
412
430
  readonly transitionAfter: "soft-fade-short";
413
431
  readonly emphasis: "medium";
414
- readonly headingDecoration: {
415
- readonly family: "organic-squiggle";
416
- readonly placement: "after-heading";
417
- readonly colorToken: "primary";
418
- };
419
432
  };
420
433
  }, {
421
434
  readonly kind: "block-design";
@@ -432,6 +445,51 @@ export declare const blockAppearancePresets: readonly [{
432
445
  readonly transitionAfter: "soft-fade-short";
433
446
  readonly emphasis: "medium";
434
447
  };
448
+ }, {
449
+ readonly kind: "block-design";
450
+ readonly id: "offerings-preview-default-cards";
451
+ readonly target: "offerings";
452
+ readonly label: "Default offering cards";
453
+ readonly blockKinds: readonly ["block.offerings-preview"];
454
+ readonly design: {
455
+ readonly sectionSurface: "base";
456
+ readonly contentFrame: {
457
+ readonly kind: "plain";
458
+ };
459
+ readonly itemSurface: "default";
460
+ readonly transitionAfter: "soft-fade-short";
461
+ readonly emphasis: "medium";
462
+ };
463
+ }, {
464
+ readonly kind: "block-design";
465
+ readonly id: "offerings-preview-secondary-cards";
466
+ readonly target: "offerings";
467
+ readonly label: "Secondary offering cards";
468
+ readonly blockKinds: readonly ["block.offerings-preview"];
469
+ readonly design: {
470
+ readonly sectionSurface: "muted-band";
471
+ readonly contentFrame: {
472
+ readonly kind: "plain";
473
+ };
474
+ readonly itemSurface: "inset";
475
+ readonly transitionAfter: "soft-fade-short";
476
+ readonly emphasis: "medium";
477
+ };
478
+ }, {
479
+ readonly kind: "block-design";
480
+ readonly id: "offerings-preview-non-carded";
481
+ readonly target: "offerings";
482
+ readonly label: "Non-carded offerings";
483
+ readonly blockKinds: readonly ["block.offerings-preview"];
484
+ readonly design: {
485
+ readonly sectionSurface: "muted-band";
486
+ readonly contentFrame: {
487
+ readonly kind: "plain";
488
+ };
489
+ readonly itemSurface: "editorial";
490
+ readonly transitionAfter: "soft-fade-short";
491
+ readonly emphasis: "medium";
492
+ };
435
493
  }, {
436
494
  readonly kind: "block-design";
437
495
  readonly id: "feature-cards-raised-rule";
@@ -447,6 +505,21 @@ export declare const blockAppearancePresets: readonly [{
447
505
  readonly transitionAfter: "none";
448
506
  readonly emphasis: "high";
449
507
  };
508
+ }, {
509
+ readonly kind: "block-design";
510
+ readonly id: "feature-cards-bold-colors";
511
+ readonly target: "feature-cards";
512
+ readonly label: "Bold colour-blocked cards";
513
+ readonly blockKinds: readonly ["block.feature-cards"];
514
+ readonly design: {
515
+ readonly sectionSurface: "base";
516
+ readonly contentFrame: {
517
+ readonly kind: "plain";
518
+ };
519
+ readonly itemSurface: "color-blocked";
520
+ readonly transitionAfter: "none";
521
+ readonly emphasis: "high";
522
+ };
450
523
  }, {
451
524
  readonly kind: "block-design";
452
525
  readonly id: "feature-cards-editorial-columns";
@@ -716,7 +789,7 @@ export declare const blockAppearancePresets: readonly [{
716
789
  readonly kind: "block-design";
717
790
  readonly id: "contact-form-panel";
718
791
  readonly target: "contact-form";
719
- readonly label: "Contact form panel";
792
+ readonly label: "Raised form panel";
720
793
  readonly blockKinds: readonly ["block.form"];
721
794
  readonly design: {
722
795
  readonly sectionSurface: "muted-band";
@@ -730,35 +803,18 @@ export declare const blockAppearancePresets: readonly [{
730
803
  };
731
804
  }, {
732
805
  readonly kind: "block-design";
733
- readonly id: "contact-form-dark-card";
734
- readonly target: "contact-form";
735
- readonly label: "Dark form card";
736
- readonly blockKinds: readonly ["block.form"];
737
- readonly design: {
738
- readonly sectionSurface: "accent-band";
739
- readonly contentFrame: Readonly<{
740
- kind: "panel";
741
- treatment: "raised";
742
- }>;
743
- readonly itemSurface: "none";
744
- readonly transitionAfter: "soft-fade-short";
745
- readonly emphasis: "high";
746
- };
747
- }, {
748
- readonly kind: "block-design";
749
- readonly id: "contact-form-brand-depth-card";
806
+ readonly id: "contact-form-open";
750
807
  readonly target: "contact-form";
751
- readonly label: "Brand-depth form card";
808
+ readonly label: "Open form";
752
809
  readonly blockKinds: readonly ["block.form"];
753
810
  readonly design: {
754
- readonly sectionSurface: "brand-depth-band";
755
- readonly contentFrame: Readonly<{
756
- kind: "panel";
757
- treatment: "raised";
758
- }>;
811
+ readonly sectionSurface: "muted-band";
812
+ readonly contentFrame: {
813
+ readonly kind: "plain";
814
+ };
759
815
  readonly itemSurface: "none";
760
816
  readonly transitionAfter: "none";
761
- readonly emphasis: "high";
817
+ readonly emphasis: "medium";
762
818
  };
763
819
  }, {
764
820
  readonly kind: "block-design";
@@ -8,7 +8,7 @@ import { type AppearancePresetId, type DesignSystemTemplate, type HeadingDecorat
8
8
  import { type KnownTypographyPresetId, type TypographyPresetId } from './typographyPresets';
9
9
  export declare const SOFT_EARTH_SITE_STYLE_ID_VALUE: "site-style:soft-earth";
10
10
  export declare const SOFT_EARTH_SITE_STYLE_ID: SiteStyleId;
11
- export declare const curatedSiteStyleIdValues: readonly ["site-style:calm-studio", "site-style:clear-professional", "site-style:warm-editorial", "site-style:bright-community", "site-style:quiet-luxury", "site-style:practical-services", "site-style:quiet-practice", "site-style:personal-retreat-journal", "site-style:tactile-workshop", "site-style:modern-wellness", "site-style:clarity-zen-blue", "site-style:soft-earth", "site-style:bold-launch", "site-style:south-west-twerk-school"];
11
+ export declare const curatedSiteStyleIdValues: readonly ["site-style:calm-studio", "site-style:clear-professional", "site-style:warm-editorial", "site-style:bright-community", "site-style:quiet-luxury", "site-style:practical-services", "site-style:quiet-practice", "site-style:personal-retreat-journal", "site-style:tactile-workshop", "site-style:modern-wellness", "site-style:clarity-zen-blue", "site-style:soft-earth", "site-style:bold-launch", "site-style:south-west-twerk-school", "site-style:original-joy"];
12
12
  export type CuratedSiteStyleIdValue = (typeof curatedSiteStyleIdValues)[number];
13
13
  type CuratedSiteStyleHeroOverrides = Readonly<{
14
14
  typography?: NonNullable<NonNullable<Theme['hero']>['typography']>;
@@ -524,6 +524,35 @@ export declare const curatedSiteStyles: readonly [Readonly<{
524
524
  paletteVariantChoices: NonEmptyReadonlyArray<PaletteVariantChoice>;
525
525
  typographyPresetChoices: NonEmptyReadonlyArray<TypographyPresetChoice>;
526
526
  defaultTypographyPresetId: KnownTypographyPresetId;
527
+ }>, Readonly<{
528
+ id: SiteStyleId;
529
+ name: string;
530
+ description: string;
531
+ generationBrief: string;
532
+ selectionKeywordRules: readonly CuratedSiteStyleSelectionKeywordRule[];
533
+ siteCreatorSelection: CuratedSiteStyleCreatorSelection;
534
+ template: DesignSystemTemplate;
535
+ themeOverrides?: CuratedSiteStyleThemeOverrides;
536
+ defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
537
+ /**
538
+ * Site-wide heading decoration signature (family + colour). Applied to
539
+ * eligible block headings as a single consistent mark; alignment is inherited
540
+ * from the heading. The factory defaults this to the short centre rule.
541
+ */
542
+ headingDecoration: HeadingDecoration;
543
+ recommendedAppearancePresetIds: readonly AppearancePresetId[];
544
+ defaultHeaderSelection: HeaderLayoutStyleChoice;
545
+ recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
546
+ recommendedHeaderStyleChoicesByLayout: RecommendedHeaderStylesByLayout;
547
+ discouragedHeaderSelections?: readonly HeaderLayoutStyleChoice[];
548
+ recommendedHeaderLookIds: readonly HeaderLookId[];
549
+ recommendedFooterLookIds: readonly FooterLookId[];
550
+ /** Authored picker choices. First item is the default/fallback. */
551
+ buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
552
+ /** Authored picker choices. First item is the default/fallback. */
553
+ paletteVariantChoices: NonEmptyReadonlyArray<PaletteVariantChoice>;
554
+ typographyPresetChoices: NonEmptyReadonlyArray<TypographyPresetChoice>;
555
+ defaultTypographyPresetId: KnownTypographyPresetId;
527
556
  }>];
528
557
  export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
529
558
  id: SiteStyleId;
@@ -144,14 +144,22 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
144
144
  inset: "inset";
145
145
  editorial: "editorial";
146
146
  raised: "raised";
147
+ "color-blocked": "color-blocked";
147
148
  outlined: "outlined";
148
149
  }>;
149
150
  transitionAfter: z.ZodEnum<{
150
151
  none: "none";
151
152
  "soft-fade-short": "soft-fade-short";
152
153
  "soft-fade-long": "soft-fade-long";
154
+ "soft-fade-expansive": "soft-fade-expansive";
153
155
  "wave-edge": "wave-edge";
156
+ "wave-edge-balanced": "wave-edge-balanced";
157
+ "wave-edge-gentle": "wave-edge-gentle";
158
+ "wave-edge-bold": "wave-edge-bold";
159
+ "wave-edge-drift": "wave-edge-drift";
154
160
  "angle-edge": "angle-edge";
161
+ "angle-edge-subtle": "angle-edge-subtle";
162
+ "angle-edge-steep": "angle-edge-steep";
155
163
  }>;
156
164
  emphasis: z.ZodEnum<{
157
165
  medium: "medium";
@@ -232,8 +240,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
232
240
  "fixed-frame": "fixed-frame";
233
241
  }>>;
234
242
  testimonialCardTreatment: z.ZodOptional<z.ZodEnum<{
235
- default: "default";
236
243
  "accent-quote": "accent-quote";
244
+ default: "default";
237
245
  }>>;
238
246
  tileTreatment: z.ZodOptional<z.ZodEnum<{
239
247
  default: "default";
@@ -352,14 +360,22 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
352
360
  inset: "inset";
353
361
  editorial: "editorial";
354
362
  raised: "raised";
363
+ "color-blocked": "color-blocked";
355
364
  outlined: "outlined";
356
365
  }>;
357
366
  transitionAfter: z.ZodEnum<{
358
367
  none: "none";
359
368
  "soft-fade-short": "soft-fade-short";
360
369
  "soft-fade-long": "soft-fade-long";
370
+ "soft-fade-expansive": "soft-fade-expansive";
361
371
  "wave-edge": "wave-edge";
372
+ "wave-edge-balanced": "wave-edge-balanced";
373
+ "wave-edge-gentle": "wave-edge-gentle";
374
+ "wave-edge-bold": "wave-edge-bold";
375
+ "wave-edge-drift": "wave-edge-drift";
362
376
  "angle-edge": "angle-edge";
377
+ "angle-edge-subtle": "angle-edge-subtle";
378
+ "angle-edge-steep": "angle-edge-steep";
363
379
  }>;
364
380
  emphasis: z.ZodEnum<{
365
381
  medium: "medium";
@@ -440,8 +456,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
440
456
  "fixed-frame": "fixed-frame";
441
457
  }>>;
442
458
  testimonialCardTreatment: z.ZodOptional<z.ZodEnum<{
443
- default: "default";
444
459
  "accent-quote": "accent-quote";
460
+ default: "default";
445
461
  }>>;
446
462
  tileTreatment: z.ZodOptional<z.ZodEnum<{
447
463
  default: "default";
@@ -32,7 +32,8 @@ export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
32
32
  "site-style:clarity-zen-blue": "site-style:clarity-zen-blue";
33
33
  "site-style:bold-launch": "site-style:bold-launch";
34
34
  "site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
35
- }>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school">>;
35
+ "site-style:original-joy": "site-style:original-joy";
36
+ }>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:original-joy">>;
36
37
  export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
37
38
  sectionSurface: z.ZodDiscriminatedUnion<[z.ZodObject<{
38
39
  source: z.ZodLiteral<"generated">;
@@ -85,6 +86,7 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
85
86
  inset: "inset";
86
87
  editorial: "editorial";
87
88
  raised: "raised";
89
+ "color-blocked": "color-blocked";
88
90
  outlined: "outlined";
89
91
  }>;
90
92
  }, z.core.$strict>], "kind">;
@@ -178,7 +180,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
178
180
  "site-style:clarity-zen-blue": "site-style:clarity-zen-blue";
179
181
  "site-style:bold-launch": "site-style:bold-launch";
180
182
  "site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
181
- }>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school">>;
183
+ "site-style:original-joy": "site-style:original-joy";
184
+ }>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:clarity-zen-blue" | "site-style:bold-launch" | "site-style:south-west-twerk-school" | "site-style:original-joy">>;
182
185
  blocks: z.ZodArray<z.ZodObject<{
183
186
  blockId: z.ZodString;
184
187
  blockKind: z.ZodString;
@@ -235,6 +238,7 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
235
238
  inset: "inset";
236
239
  editorial: "editorial";
237
240
  raised: "raised";
241
+ "color-blocked": "color-blocked";
238
242
  outlined: "outlined";
239
243
  }>;
240
244
  }, z.core.$strict>], "kind">;
@@ -136,6 +136,11 @@ export type HeaderConfigurationResolution = Readonly<{
136
136
  }>;
137
137
  export type HeaderLookOpeningRequirement = 'none' | 'reserved-space-ok' | 'requires-image-hero-with-contrast-overlay';
138
138
  export type HeaderLogoShape = 'none' | 'text-only' | 'horizontal' | 'square' | 'tall';
139
+ export type HeaderLogoDimensions = Readonly<{
140
+ width: number | null;
141
+ height: number | null;
142
+ }>;
143
+ export declare function deriveHeaderLogoShapeFromDimensions({ width, height, }: HeaderLogoDimensions): HeaderLogoShape;
139
144
  export type HeaderStyleNavTypography = 'plain' | 'heading' | 'quiet-caps' | 'brand-caps';
140
145
  export type HeaderLookDefinition = Readonly<{
141
146
  id: HeaderLookId;
@@ -25,6 +25,7 @@ export * from './rawStyleFields';
25
25
  export * from './records';
26
26
  export * from './resolver';
27
27
  export * from './runtimeCompiler';
28
+ export * from './sectionTransitions';
28
29
  export * from './siteStyleThemeCompiler';
29
30
  export * from './siteStyleBlockPolicies';
30
31
  export * from './sourceCatalogs';
@@ -1,7 +1,9 @@
1
1
  import type { BlockAppearanceDesign, BlockAppearanceOptionGroup } from './appearancePresets';
2
2
  import type { BlockDesignMetadata, BlockLayoutDesignProfile } from './blockFlow';
3
3
  import { type PageDesignIntent } from './pageDesignIntent';
4
- import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type NonEmptyReadonlyArray, type PageFlowPresetId, type SiteStyleId, type SiteStyleSectionTransitionIntent } from './types';
4
+ import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type NonEmptyReadonlyArray, type PageFlowPresetId, type SiteStyleId } from './types';
5
+ import { type BoundaryOption } from './sectionTransitions';
6
+ export { boundaryOptions, type BoundaryOption } from './sectionTransitions';
5
7
  export type PageFlowBoundaryStrategy = 'quiet' | 'balanced' | 'expressive';
6
8
  export type PageFlowPreset = Readonly<{
7
9
  id: PageFlowPresetId;
@@ -9,11 +11,6 @@ export type PageFlowPreset = Readonly<{
9
11
  boundaryStrategy: PageFlowBoundaryStrategy;
10
12
  defaultBoundaryOptionId: BoundaryOptionId;
11
13
  }>;
12
- export type BoundaryOption = Readonly<{
13
- id: BoundaryOptionId;
14
- label: string;
15
- transitionAfter: SiteStyleSectionTransitionIntent;
16
- }>;
17
14
  export type PageDesignEditorBlockInput<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
18
15
  blockId: TBlockId;
19
16
  blockKind: string;
@@ -125,23 +122,6 @@ export type PageDesignEditorReadModel<TBlockId extends DesignBlockId = DesignBlo
125
122
  boundaries: readonly PageDesignEditorBoundary<TBlockId>[];
126
123
  issues: readonly PageDesignEditorIssue<TBlockId>[];
127
124
  }>;
128
- export declare const boundaryOptions: readonly [{
129
- readonly id: BoundaryOptionId;
130
- readonly label: "None";
131
- readonly transitionAfter: "none";
132
- }, {
133
- readonly id: BoundaryOptionId;
134
- readonly label: "Soft";
135
- readonly transitionAfter: "soft-fade-short";
136
- }, {
137
- readonly id: BoundaryOptionId;
138
- readonly label: "Wave";
139
- readonly transitionAfter: "wave-edge";
140
- }, {
141
- readonly id: BoundaryOptionId;
142
- readonly label: "Spacious";
143
- readonly transitionAfter: "soft-fade-long";
144
- }];
145
125
  /**
146
126
  * Must remain non-empty; downstream code indexes `[0]` as the documented default.
147
127
  */