@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
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type PageFlowPresetId, type SiteStyleId } from './types';
3
3
  import { type SchemaVersionedJsonParseIssue } from './schemaVersionedJson';
4
- export declare const pageDesignIntentSchemaVersion = 1;
4
+ import { type SectionBoundaryTreatment } from './sectionTransitions';
5
+ export declare const pageDesignIntentSchemaVersion = 2;
6
+ export declare const legacyPageDesignIntentSchemaVersion = 1;
5
7
  export type PageDesignAutoChoice = Readonly<{
6
8
  kind: 'auto';
7
9
  }>;
@@ -16,11 +18,24 @@ export type PageDesignBlockLookPin<TBlockId extends DesignBlockId = DesignBlockI
16
18
  choice: PageDesignUserPinnedChoice<AppearancePresetId>;
17
19
  }>;
18
20
  export type PageDesignBoundaryPin<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
21
+ boundaryId: DesignBoundaryId;
22
+ previousBlockId: TBlockId;
23
+ nextBlockId: TBlockId;
24
+ choice: PageDesignUserPinnedChoice<SectionBoundaryTreatment>;
25
+ }>;
26
+ export type LegacyPageDesignBoundaryPin<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
19
27
  boundaryId: DesignBoundaryId;
20
28
  previousBlockId: TBlockId;
21
29
  nextBlockId: TBlockId;
22
30
  choice: PageDesignUserPinnedChoice<BoundaryOptionId>;
23
31
  }>;
32
+ export type LegacyPageDesignIntent<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
33
+ schemaVersion: typeof legacyPageDesignIntentSchemaVersion;
34
+ siteStyleId: SiteStyleId;
35
+ pageFlowPresetId: PageFlowPresetId;
36
+ blockLookPins: readonly PageDesignBlockLookPin<TBlockId>[];
37
+ boundaryPins: readonly LegacyPageDesignBoundaryPin<TBlockId>[];
38
+ }>;
24
39
  export type PageDesignIntent<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
25
40
  schemaVersion: typeof pageDesignIntentSchemaVersion;
26
41
  siteStyleId: SiteStyleId;
@@ -63,7 +78,7 @@ export type PageDesignUserAction<TBlockId extends DesignBlockId = DesignBlockId>
63
78
  kind: 'set-boundary';
64
79
  previousBlockId: TBlockId;
65
80
  nextBlockId: TBlockId;
66
- choice: PageDesignChoice<BoundaryOptionId>;
81
+ choice: PageDesignChoice<SectionBoundaryTreatment>;
67
82
  }>;
68
83
  export type PageDesignIntentIssueFeedback = 'debug' | 'user-facing';
69
84
  export type PageDesignIntentIssue<TBlockId extends DesignBlockId = DesignBlockId> = Readonly<{
@@ -122,6 +137,121 @@ export declare const pageDesignUserPinnedBoundaryChoiceSchema: z.ZodObject<{
122
137
  kind: z.ZodLiteral<"user-pinned">;
123
138
  value: z.ZodPipe<z.ZodString, z.ZodTransform<BoundaryOptionId, string>>;
124
139
  }, z.core.$strict>;
140
+ export declare const pageDesignBoundaryTreatmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
141
+ kind: z.ZodLiteral<"none">;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ kind: z.ZodLiteral<"soft-fade">;
144
+ height: z.ZodEnum<{
145
+ medium: "medium";
146
+ compact: "compact";
147
+ large: "large";
148
+ expansive: "expansive";
149
+ }>;
150
+ curve: z.ZodEnum<{
151
+ spacious: "spacious";
152
+ soft: "soft";
153
+ expansive: "expansive";
154
+ }>;
155
+ }, z.core.$strict>, z.ZodObject<{
156
+ kind: z.ZodLiteral<"wave-edge">;
157
+ height: z.ZodEnum<{
158
+ medium: "medium";
159
+ compact: "compact";
160
+ large: "large";
161
+ }>;
162
+ amplitude: z.ZodEnum<{
163
+ bold: "bold";
164
+ subtle: "subtle";
165
+ balanced: "balanced";
166
+ }>;
167
+ rhythm: z.ZodEnum<{
168
+ single: "single";
169
+ double: "double";
170
+ }>;
171
+ symmetry: z.ZodEnum<{
172
+ symmetrical: "symmetrical";
173
+ asymmetrical: "asymmetrical";
174
+ drift: "drift";
175
+ }>;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ kind: z.ZodLiteral<"angle-edge">;
178
+ height: z.ZodEnum<{
179
+ medium: "medium";
180
+ compact: "compact";
181
+ large: "large";
182
+ }>;
183
+ slope: z.ZodEnum<{
184
+ subtle: "subtle";
185
+ balanced: "balanced";
186
+ steep: "steep";
187
+ }>;
188
+ direction: z.ZodEnum<{
189
+ reverse: "reverse";
190
+ forward: "forward";
191
+ }>;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ kind: z.ZodLiteral<"legacy-unsupported">;
194
+ boundaryOptionId: z.ZodPipe<z.ZodString, z.ZodTransform<BoundaryOptionId, string>>;
195
+ }, z.core.$strict>], "kind">;
196
+ export declare const pageDesignUserPinnedBoundaryTreatmentChoiceSchema: z.ZodObject<{
197
+ kind: z.ZodLiteral<"user-pinned">;
198
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
199
+ kind: z.ZodLiteral<"none">;
200
+ }, z.core.$strict>, z.ZodObject<{
201
+ kind: z.ZodLiteral<"soft-fade">;
202
+ height: z.ZodEnum<{
203
+ medium: "medium";
204
+ compact: "compact";
205
+ large: "large";
206
+ expansive: "expansive";
207
+ }>;
208
+ curve: z.ZodEnum<{
209
+ spacious: "spacious";
210
+ soft: "soft";
211
+ expansive: "expansive";
212
+ }>;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ kind: z.ZodLiteral<"wave-edge">;
215
+ height: z.ZodEnum<{
216
+ medium: "medium";
217
+ compact: "compact";
218
+ large: "large";
219
+ }>;
220
+ amplitude: z.ZodEnum<{
221
+ bold: "bold";
222
+ subtle: "subtle";
223
+ balanced: "balanced";
224
+ }>;
225
+ rhythm: z.ZodEnum<{
226
+ single: "single";
227
+ double: "double";
228
+ }>;
229
+ symmetry: z.ZodEnum<{
230
+ symmetrical: "symmetrical";
231
+ asymmetrical: "asymmetrical";
232
+ drift: "drift";
233
+ }>;
234
+ }, z.core.$strict>, z.ZodObject<{
235
+ kind: z.ZodLiteral<"angle-edge">;
236
+ height: z.ZodEnum<{
237
+ medium: "medium";
238
+ compact: "compact";
239
+ large: "large";
240
+ }>;
241
+ slope: z.ZodEnum<{
242
+ subtle: "subtle";
243
+ balanced: "balanced";
244
+ steep: "steep";
245
+ }>;
246
+ direction: z.ZodEnum<{
247
+ reverse: "reverse";
248
+ forward: "forward";
249
+ }>;
250
+ }, z.core.$strict>, z.ZodObject<{
251
+ kind: z.ZodLiteral<"legacy-unsupported">;
252
+ boundaryOptionId: z.ZodPipe<z.ZodString, z.ZodTransform<BoundaryOptionId, string>>;
253
+ }, z.core.$strict>], "kind">;
254
+ }, z.core.$strict>;
125
255
  export declare const pageDesignBlockLookPinSchema: z.ZodObject<{
126
256
  blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
127
257
  blockKind: z.ZodString;
@@ -131,6 +261,70 @@ export declare const pageDesignBlockLookPinSchema: z.ZodObject<{
131
261
  }, z.core.$strict>;
132
262
  }, z.core.$strict>;
133
263
  export declare const pageDesignBoundaryPinSchema: z.ZodObject<{
264
+ boundaryId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBoundaryId, string>>;
265
+ previousBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
266
+ nextBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
267
+ choice: z.ZodObject<{
268
+ kind: z.ZodLiteral<"user-pinned">;
269
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
270
+ kind: z.ZodLiteral<"none">;
271
+ }, z.core.$strict>, z.ZodObject<{
272
+ kind: z.ZodLiteral<"soft-fade">;
273
+ height: z.ZodEnum<{
274
+ medium: "medium";
275
+ compact: "compact";
276
+ large: "large";
277
+ expansive: "expansive";
278
+ }>;
279
+ curve: z.ZodEnum<{
280
+ spacious: "spacious";
281
+ soft: "soft";
282
+ expansive: "expansive";
283
+ }>;
284
+ }, z.core.$strict>, z.ZodObject<{
285
+ kind: z.ZodLiteral<"wave-edge">;
286
+ height: z.ZodEnum<{
287
+ medium: "medium";
288
+ compact: "compact";
289
+ large: "large";
290
+ }>;
291
+ amplitude: z.ZodEnum<{
292
+ bold: "bold";
293
+ subtle: "subtle";
294
+ balanced: "balanced";
295
+ }>;
296
+ rhythm: z.ZodEnum<{
297
+ single: "single";
298
+ double: "double";
299
+ }>;
300
+ symmetry: z.ZodEnum<{
301
+ symmetrical: "symmetrical";
302
+ asymmetrical: "asymmetrical";
303
+ drift: "drift";
304
+ }>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ kind: z.ZodLiteral<"angle-edge">;
307
+ height: z.ZodEnum<{
308
+ medium: "medium";
309
+ compact: "compact";
310
+ large: "large";
311
+ }>;
312
+ slope: z.ZodEnum<{
313
+ subtle: "subtle";
314
+ balanced: "balanced";
315
+ steep: "steep";
316
+ }>;
317
+ direction: z.ZodEnum<{
318
+ reverse: "reverse";
319
+ forward: "forward";
320
+ }>;
321
+ }, z.core.$strict>, z.ZodObject<{
322
+ kind: z.ZodLiteral<"legacy-unsupported">;
323
+ boundaryOptionId: z.ZodPipe<z.ZodString, z.ZodTransform<BoundaryOptionId, string>>;
324
+ }, z.core.$strict>], "kind">;
325
+ }, z.core.$strict>;
326
+ }, z.core.$strict>;
327
+ export declare const legacyPageDesignBoundaryPinSchema: z.ZodObject<{
134
328
  boundaryId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBoundaryId, string>>;
135
329
  previousBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
136
330
  nextBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
@@ -166,12 +360,90 @@ export declare const pageDesignIntentV1Schema: z.ZodObject<{
166
360
  }, z.core.$strict>;
167
361
  }, z.core.$strict>>;
168
362
  }, z.core.$strict>;
363
+ export declare const pageDesignIntentV2Schema: z.ZodObject<{
364
+ schemaVersion: z.ZodLiteral<2>;
365
+ siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
366
+ pageFlowPresetId: z.ZodPipe<z.ZodString, z.ZodTransform<PageFlowPresetId, string>>;
367
+ blockLookPins: z.ZodArray<z.ZodObject<{
368
+ blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
369
+ blockKind: z.ZodString;
370
+ choice: z.ZodObject<{
371
+ kind: z.ZodLiteral<"user-pinned">;
372
+ value: z.ZodPipe<z.ZodString, z.ZodTransform<AppearancePresetId, string>>;
373
+ }, z.core.$strict>;
374
+ }, z.core.$strict>>;
375
+ boundaryPins: z.ZodArray<z.ZodObject<{
376
+ boundaryId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBoundaryId, string>>;
377
+ previousBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
378
+ nextBlockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
379
+ choice: z.ZodObject<{
380
+ kind: z.ZodLiteral<"user-pinned">;
381
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
382
+ kind: z.ZodLiteral<"none">;
383
+ }, z.core.$strict>, z.ZodObject<{
384
+ kind: z.ZodLiteral<"soft-fade">;
385
+ height: z.ZodEnum<{
386
+ medium: "medium";
387
+ compact: "compact";
388
+ large: "large";
389
+ expansive: "expansive";
390
+ }>;
391
+ curve: z.ZodEnum<{
392
+ spacious: "spacious";
393
+ soft: "soft";
394
+ expansive: "expansive";
395
+ }>;
396
+ }, z.core.$strict>, z.ZodObject<{
397
+ kind: z.ZodLiteral<"wave-edge">;
398
+ height: z.ZodEnum<{
399
+ medium: "medium";
400
+ compact: "compact";
401
+ large: "large";
402
+ }>;
403
+ amplitude: z.ZodEnum<{
404
+ bold: "bold";
405
+ subtle: "subtle";
406
+ balanced: "balanced";
407
+ }>;
408
+ rhythm: z.ZodEnum<{
409
+ single: "single";
410
+ double: "double";
411
+ }>;
412
+ symmetry: z.ZodEnum<{
413
+ symmetrical: "symmetrical";
414
+ asymmetrical: "asymmetrical";
415
+ drift: "drift";
416
+ }>;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ kind: z.ZodLiteral<"angle-edge">;
419
+ height: z.ZodEnum<{
420
+ medium: "medium";
421
+ compact: "compact";
422
+ large: "large";
423
+ }>;
424
+ slope: z.ZodEnum<{
425
+ subtle: "subtle";
426
+ balanced: "balanced";
427
+ steep: "steep";
428
+ }>;
429
+ direction: z.ZodEnum<{
430
+ reverse: "reverse";
431
+ forward: "forward";
432
+ }>;
433
+ }, z.core.$strict>, z.ZodObject<{
434
+ kind: z.ZodLiteral<"legacy-unsupported">;
435
+ boundaryOptionId: z.ZodPipe<z.ZodString, z.ZodTransform<BoundaryOptionId, string>>;
436
+ }, z.core.$strict>], "kind">;
437
+ }, z.core.$strict>;
438
+ }, z.core.$strict>>;
439
+ }, z.core.$strict>;
169
440
  export declare function parsePageDesignIntent(value: unknown, options?: ParsePageDesignIntentOptions): PageDesignIntentParseResult;
441
+ export declare function normalizeLegacyPageDesignIntent<TBlockId extends DesignBlockId>(intent: LegacyPageDesignIntent<TBlockId>): PageDesignIntent<TBlockId>;
170
442
  export declare function autoDesignChoice(): PageDesignAutoChoice;
171
443
  export declare function userPinnedDesignChoice<TValue>(value: TValue): PageDesignUserPinnedChoice<TValue>;
172
444
  export declare function resolvePageDesignBlockLookChoice<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, blockId: TBlockId): PageDesignChoice<AppearancePresetId>;
173
- export declare function resolvePageDesignBoundaryChoice<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, previousBlockId: TBlockId, nextBlockId: TBlockId): PageDesignChoice<BoundaryOptionId>;
174
- export declare function buildBoundaryPin<TBlockId extends DesignBlockId>(previousBlockId: TBlockId, nextBlockId: TBlockId, choice: PageDesignUserPinnedChoice<BoundaryOptionId>): PageDesignBoundaryPin<TBlockId>;
445
+ export declare function resolvePageDesignBoundaryChoice<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, previousBlockId: TBlockId, nextBlockId: TBlockId): PageDesignChoice<SectionBoundaryTreatment>;
446
+ export declare function buildBoundaryPin<TBlockId extends DesignBlockId>(previousBlockId: TBlockId, nextBlockId: TBlockId, choice: PageDesignUserPinnedChoice<SectionBoundaryTreatment>): PageDesignBoundaryPin<TBlockId>;
175
447
  export declare function reducePageDesignIntentForStructureEvent<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, event: PageDesignStructureEvent<TBlockId>): PageDesignIntentUpdate<TBlockId>;
176
448
  export declare function reducePageDesignIntentForUserAction<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, action: PageDesignUserAction<TBlockId>): PageDesignIntent<TBlockId>;
177
449
  export declare function remapPageDesignIntentForDuplicate<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, input: Readonly<{
@@ -8,6 +8,8 @@ import { type FooterLookId, type FooterSelectionContext, type FooterSelectionRes
8
8
  import { type HeaderLayoutId, type HeaderSelectionContext, type HeaderLookId, type HeaderSelectionResult, type HeaderStyleId } from './headerLooks';
9
9
  import { type CompiledBlockRuntimeFields, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
10
10
  import type { AppearancePresetId, DesignBlockId, SiteStyleId } from './types';
11
+ import { type CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
12
+ export type { CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
11
13
  /**
12
14
  * Browser-safe public API for Theme V2 live preview compilation.
13
15
  *
@@ -27,14 +29,6 @@ export { curatedSiteStyles, defaultButtonPersonalityForSiteStyle, defaultPalette
27
29
  export { asTypographyPresetId, compileTypographySelection, evaluateTypographyFontSlot, findTypographyPreset, parsePersistedTypographyPresetId, typographyPresetIdValues, typographyPresets, type CompiledTypographySelection, type GoogleFontCategory, type KnownTypographyPresetId, type KnownTypographyPresetIdValue, type TypographyFontCapability, type TypographyFontSlot, type TypographyFontSlotFit, type TypographyFontSlotPolicy, type TypographyPreset, type TypographyPresetId, type TypographyPresetResolutionWarning, type TypographySelection, } from './typographyPresets';
28
30
  export { asDesignBlockId, asSiteStyleId, makeBoundaryId, type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type NonEmptyReadonlyArray, type PageFlowPresetId, type ResolvedPageDesignPlan, type SiteStyleId, } from './types';
29
31
  export declare const previewCustomizePurpose: "preview-customize";
30
- /**
31
- * Narrow Theme subtype for curated Site Styles only. Base `Theme` keeps
32
- * `siteStyleId` optional because not every persisted theme necessarily comes
33
- * from the curated Site Style catalog.
34
- */
35
- export type CuratedSiteStyleTheme = Theme & Readonly<{
36
- siteStyleId: SiteStyleId;
37
- }>;
38
32
  /**
39
33
  * Compiles a curated Site Style into a persisted Theme payload using the site
40
34
  * style's defaults for the Style configurator selections. Thin wrapper around
@@ -6,5 +6,7 @@ export type ThemeV2NormalEditorRawStyleFieldName = ThemeV2RuntimeStyleFieldName
6
6
  export type ThemeV2CompilerOwnedFieldName = ThemeV2RuntimeStyleFieldName | ThemeV2BlockSpecificRawStyleFieldName;
7
7
  export declare const themeV2NormalEditorRawStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
8
8
  export declare const themeV2CompilerOwnedFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
9
+ export declare const pageDesignEditorBackgroundOverrideOwner: "page-design-editor";
10
+ export type PageDesignEditorBackgroundOverrideOwner = typeof pageDesignEditorBackgroundOverrideOwner;
9
11
  export declare function isThemeV2NormalEditorRawStyleFieldName(fieldName: string): boolean;
10
12
  export declare function isThemeV2NormalEditorRawStylePath(fieldPath: string): boolean;
@@ -26,6 +26,7 @@ export type CompiledBlockRuntimeFields = Readonly<{
26
26
  _contentCardStyles?: ContainerStylesOverride;
27
27
  _heroLayoutStyles?: HeroLayoutStylesOverride;
28
28
  _cardStyles?: CardStylesOverride;
29
+ blockLook?: string;
29
30
  styleGroup?: string;
30
31
  }>;
31
32
  export type HeroLayoutStylesOverride = Readonly<{
@@ -34,7 +35,7 @@ export type HeroLayoutStylesOverride = Readonly<{
34
35
  contentMaxWidth?: 'default' | 'narrow' | 'medium' | 'wide';
35
36
  typographyScale?: NonNullable<ResolvedBlockDesignPlan['heroTypographyScale']>;
36
37
  }>;
37
- export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "styleGroup"];
38
+ export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "blockLook", "styleGroup"];
38
39
  export declare function stripCompiledRuntimeStyleFields<TContent extends Record<string, unknown>>(content: TContent): Record<string, unknown>;
39
40
  export type CompiledBlockRuntime = Readonly<{
40
41
  blockId: string;
@@ -54,6 +55,11 @@ export type CompileBlockRuntimeInput<TBlockId extends string, TPurpose extends s
54
55
  designRules?: DesignRuntimeRules;
55
56
  componentRules?: ComponentRuntimeRules;
56
57
  sectionSpacing?: SemanticSpacing;
58
+ sectionAdjacency?: SectionAdjacency;
59
+ /**
60
+ * @deprecated Prefer `sectionAdjacency`. Kept for isolated block callers that
61
+ * compile one block with an explicit following section surface.
62
+ */
57
63
  nextSectionSurface?: SiteStyleSurfaceIntent;
58
64
  }>;
59
65
  export type CompileBlockRuntimeIntoContentInput<TBlockId extends string, TPurpose extends string, TContent extends Record<string, unknown>> = CompileBlockRuntimeInput<TBlockId, TPurpose> & Readonly<{
@@ -65,6 +71,18 @@ export type CompiledPageRuntime<TBlockId extends string = string> = Readonly<{
65
71
  blockId: TBlockId;
66
72
  }>)[];
67
73
  }>;
74
+ export type SectionAdjacency = Readonly<{
75
+ kind: 'next-section';
76
+ surface: SiteStyleSurfaceIntent;
77
+ }> | Readonly<{
78
+ kind: 'terminal-surface';
79
+ surface: SiteStyleSurfaceIntent;
80
+ }> | Readonly<{
81
+ kind: 'page-end';
82
+ }>;
83
+ export type TerminalSectionAdjacency = Extract<SectionAdjacency, Readonly<{
84
+ kind: 'terminal-surface' | 'page-end';
85
+ }>>;
68
86
  export declare function defineDesignRuntimeRules<const TRules extends DesignRuntimeRules>(rules: TRules): TRules;
69
87
  export declare function defineComponentRuntimeRules<const TRules extends ComponentRuntimeRules>(rules: TRules): TRules;
70
88
  /**
@@ -94,11 +112,13 @@ export declare const defaultDesignRuntimeRules: {
94
112
  };
95
113
  readonly 'hero-image': {
96
114
  readonly background: {
115
+ readonly textColor?: string | null | undefined;
116
+ readonly headingColor?: string | null | undefined;
117
+ readonly linkColor?: string | null | undefined;
118
+ readonly supportingColor?: string | null | undefined;
97
119
  readonly type: "image";
98
120
  readonly opacity: 1;
99
121
  readonly position: "center center";
100
- readonly textColor: "text";
101
- readonly headingColor: "text";
102
122
  };
103
123
  };
104
124
  };
@@ -189,9 +209,13 @@ export declare const defaultComponentRuntimeRules: {
189
209
  readonly raised: true;
190
210
  };
191
211
  readonly inset: {
212
+ readonly treatment: "soft-panel";
192
213
  readonly spacing: "comfortable";
193
- readonly rounded: "lg";
214
+ readonly rounded: "xl";
194
215
  readonly raised: false;
216
+ readonly border: {
217
+ readonly enabled: false;
218
+ };
195
219
  readonly background: {
196
220
  readonly type: "color";
197
221
  readonly color: "surfaceAlt";
@@ -199,13 +223,21 @@ export declare const defaultComponentRuntimeRules: {
199
223
  };
200
224
  };
201
225
  readonly editorial: {
202
- readonly spacing: "medium";
203
- readonly rounded: "xl";
226
+ readonly treatment: "editorial-rule";
227
+ readonly spacing: "none";
228
+ readonly rounded: "none";
204
229
  readonly raised: false;
205
- readonly background: {
206
- readonly type: "color";
207
- readonly color: "surface";
208
- readonly textColor: "text";
230
+ readonly border: {
231
+ readonly enabled: false;
232
+ };
233
+ };
234
+ readonly 'color-blocked': {
235
+ readonly treatment: "color-blocked";
236
+ readonly spacing: "spacious";
237
+ readonly rounded: "2xl";
238
+ readonly raised: false;
239
+ readonly border: {
240
+ readonly enabled: false;
209
241
  };
210
242
  };
211
243
  };
@@ -226,6 +258,7 @@ export declare function compilePageRuntimeFields<TBlockId extends string, TPurpo
226
258
  designRules?: DesignRuntimeRules;
227
259
  componentRules?: ComponentRuntimeRules;
228
260
  sectionSpacing?: SemanticSpacing;
261
+ terminalSectionAdjacency?: TerminalSectionAdjacency;
229
262
  }>): CompiledPageRuntime<TBlockId>;
230
263
  export type CompileTokenRecipesOptions = Readonly<{
231
264
  /** Resolved button personality ID. When provided, emits `theme.buttons`. */