@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
@@ -74,4 +74,14 @@ export interface InteractiveElementConfig {
74
74
  border?: {
75
75
  colorToken: string;
76
76
  };
77
+ /**
78
+ * Shadow override (optional). Effects that key off the element's offset —
79
+ * e.g. `press-down` matching its translate to the shadow — read this so
80
+ * they track the variant's own shadow rather than the theme default.
81
+ */
82
+ shadow?: {
83
+ elevation: 'none' | 'low' | 'medium' | 'high';
84
+ softness?: 'crisp' | 'soft' | 'hard' | null;
85
+ position?: 'bottom' | 'bottom-right';
86
+ };
77
87
  }
@@ -460,7 +460,7 @@ export declare const mockThemes: {
460
460
  textColor?: string | null | undefined;
461
461
  } | undefined;
462
462
  textColor?: string | null | undefined;
463
- textAlign?: "center" | "left" | "right" | undefined;
463
+ textAlign?: "left" | "right" | "center" | undefined;
464
464
  paddingY?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
465
465
  paddingX?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
466
466
  borderTop?: {
@@ -555,6 +555,7 @@ export declare const mockThemes: {
555
555
  elevation: "medium" | "none" | "high" | "low";
556
556
  softness: "soft" | "crisp" | "hard" | null;
557
557
  position: "bottom" | "bottom-right";
558
+ colorToken?: string | undefined;
558
559
  } | undefined;
559
560
  border?: {
560
561
  widthClass: string;
@@ -834,6 +835,8 @@ export declare const mockThemes: {
834
835
  } | null | undefined;
835
836
  textColor?: string | null | undefined;
836
837
  headingColor?: string | null | undefined;
838
+ linkColor?: string | null | undefined;
839
+ supportingColor?: string | null | undefined;
837
840
  } | null | undefined;
838
841
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
839
842
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
@@ -908,6 +911,8 @@ export declare const mockThemes: {
908
911
  } | null | undefined;
909
912
  textColor?: string | null | undefined;
910
913
  headingColor?: string | null | undefined;
914
+ linkColor?: string | null | undefined;
915
+ supportingColor?: string | null | undefined;
911
916
  } | null | undefined;
912
917
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
913
918
  raised?: boolean | null | undefined;
@@ -968,6 +973,8 @@ export declare const mockThemes: {
968
973
  } | null | undefined;
969
974
  textColor?: string | null | undefined;
970
975
  headingColor?: string | null | undefined;
976
+ linkColor?: string | null | undefined;
977
+ supportingColor?: string | null | undefined;
971
978
  } | null | undefined;
972
979
  border?: {
973
980
  enabled?: boolean | null | undefined;
@@ -977,7 +984,7 @@ export declare const mockThemes: {
977
984
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
978
985
  raised?: boolean | null | undefined;
979
986
  rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
980
- treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | null | undefined;
987
+ treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | "color-blocked" | null | undefined;
981
988
  cardVariant?: "none" | "default" | "alternative" | null | undefined;
982
989
  } | null | undefined;
983
990
  } | undefined;
@@ -1496,7 +1503,7 @@ export declare const mockThemes: {
1496
1503
  textColor?: string | null | undefined;
1497
1504
  } | undefined;
1498
1505
  textColor?: string | null | undefined;
1499
- textAlign?: "center" | "left" | "right" | undefined;
1506
+ textAlign?: "left" | "right" | "center" | undefined;
1500
1507
  paddingY?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
1501
1508
  paddingX?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
1502
1509
  borderTop?: {
@@ -1591,6 +1598,7 @@ export declare const mockThemes: {
1591
1598
  elevation: "medium" | "none" | "high" | "low";
1592
1599
  softness: "soft" | "crisp" | "hard" | null;
1593
1600
  position: "bottom" | "bottom-right";
1601
+ colorToken?: string | undefined;
1594
1602
  } | undefined;
1595
1603
  border?: {
1596
1604
  widthClass: string;
@@ -1870,6 +1878,8 @@ export declare const mockThemes: {
1870
1878
  } | null | undefined;
1871
1879
  textColor?: string | null | undefined;
1872
1880
  headingColor?: string | null | undefined;
1881
+ linkColor?: string | null | undefined;
1882
+ supportingColor?: string | null | undefined;
1873
1883
  } | null | undefined;
1874
1884
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
1875
1885
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
@@ -1944,6 +1954,8 @@ export declare const mockThemes: {
1944
1954
  } | null | undefined;
1945
1955
  textColor?: string | null | undefined;
1946
1956
  headingColor?: string | null | undefined;
1957
+ linkColor?: string | null | undefined;
1958
+ supportingColor?: string | null | undefined;
1947
1959
  } | null | undefined;
1948
1960
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
1949
1961
  raised?: boolean | null | undefined;
@@ -2004,6 +2016,8 @@ export declare const mockThemes: {
2004
2016
  } | null | undefined;
2005
2017
  textColor?: string | null | undefined;
2006
2018
  headingColor?: string | null | undefined;
2019
+ linkColor?: string | null | undefined;
2020
+ supportingColor?: string | null | undefined;
2007
2021
  } | null | undefined;
2008
2022
  border?: {
2009
2023
  enabled?: boolean | null | undefined;
@@ -2013,7 +2027,7 @@ export declare const mockThemes: {
2013
2027
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
2014
2028
  raised?: boolean | null | undefined;
2015
2029
  rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2016
- treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | null | undefined;
2030
+ treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | "color-blocked" | null | undefined;
2017
2031
  cardVariant?: "none" | "default" | "alternative" | null | undefined;
2018
2032
  } | null | undefined;
2019
2033
  } | undefined;
@@ -2532,7 +2546,7 @@ export declare const mockThemes: {
2532
2546
  textColor?: string | null | undefined;
2533
2547
  } | undefined;
2534
2548
  textColor?: string | null | undefined;
2535
- textAlign?: "center" | "left" | "right" | undefined;
2549
+ textAlign?: "left" | "right" | "center" | undefined;
2536
2550
  paddingY?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
2537
2551
  paddingX?: "none" | "compact" | "spacious" | "default" | "tight" | "relaxed" | undefined;
2538
2552
  borderTop?: {
@@ -2627,6 +2641,7 @@ export declare const mockThemes: {
2627
2641
  elevation: "medium" | "none" | "high" | "low";
2628
2642
  softness: "soft" | "crisp" | "hard" | null;
2629
2643
  position: "bottom" | "bottom-right";
2644
+ colorToken?: string | undefined;
2630
2645
  } | undefined;
2631
2646
  border?: {
2632
2647
  widthClass: string;
@@ -2906,6 +2921,8 @@ export declare const mockThemes: {
2906
2921
  } | null | undefined;
2907
2922
  textColor?: string | null | undefined;
2908
2923
  headingColor?: string | null | undefined;
2924
+ linkColor?: string | null | undefined;
2925
+ supportingColor?: string | null | undefined;
2909
2926
  } | null | undefined;
2910
2927
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
2911
2928
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
@@ -2980,6 +2997,8 @@ export declare const mockThemes: {
2980
2997
  } | null | undefined;
2981
2998
  textColor?: string | null | undefined;
2982
2999
  headingColor?: string | null | undefined;
3000
+ linkColor?: string | null | undefined;
3001
+ supportingColor?: string | null | undefined;
2983
3002
  } | null | undefined;
2984
3003
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
2985
3004
  raised?: boolean | null | undefined;
@@ -3040,6 +3059,8 @@ export declare const mockThemes: {
3040
3059
  } | null | undefined;
3041
3060
  textColor?: string | null | undefined;
3042
3061
  headingColor?: string | null | undefined;
3062
+ linkColor?: string | null | undefined;
3063
+ supportingColor?: string | null | undefined;
3043
3064
  } | null | undefined;
3044
3065
  border?: {
3045
3066
  enabled?: boolean | null | undefined;
@@ -3049,7 +3070,7 @@ export declare const mockThemes: {
3049
3070
  spacing?: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious" | null | undefined;
3050
3071
  raised?: boolean | null | undefined;
3051
3072
  rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
3052
- treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | null | undefined;
3073
+ treatment?: "accent-quote" | "editorial-rule" | "soft-panel" | "editorial-serif-quote" | "editorial-open" | "color-blocked" | null | undefined;
3053
3074
  cardVariant?: "none" | "default" | "alternative" | null | undefined;
3054
3075
  } | null | undefined;
3055
3076
  } | undefined;
@@ -238,6 +238,21 @@ export declare const paletteVariants: readonly [Readonly<{
238
238
  name: import("../../../../blocks/src/index").PaletteTokenName;
239
239
  hex: string;
240
240
  }>[];
241
+ }>, Readonly<{
242
+ id: PaletteVariantId<"warm-dark-ember">;
243
+ name: string;
244
+ description: string;
245
+ tags: Readonly<Partial<Readonly<{
246
+ tone: import("../../../../blocks/src/index").StyleTone;
247
+ energy: import("../../../../blocks/src/index").StyleEnergy;
248
+ motion: import("../../../../blocks/src/index").StyleMotion;
249
+ era: import("../../../../blocks/src/index").StyleEra;
250
+ }>>>;
251
+ mode: "light" | "dark";
252
+ colors: readonly Readonly<{
253
+ name: import("../../../../blocks/src/index").PaletteTokenName;
254
+ hex: string;
255
+ }>[];
241
256
  }>];
242
257
  type UnbrandedPaletteVariantId<TValue> = TValue extends infer TRaw & {
243
258
  readonly __brand: 'PaletteVariantId';
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Warm-dark family — the first dark-mode palettes in the library.
3
+ *
4
+ * Dark, warm grounds (deep clay / earth browns) with light cream text and a
5
+ * burnt-orange brand accent. Authored for editorial, organic brands that want
6
+ * a fully dark surface rather than a light page with dark sections.
7
+ *
8
+ * `mode: 'dark'` is threaded through to `palette.meta.mode` at compile time;
9
+ * `expandPalette` also detects the dark ground by luminance, so the neutral
10
+ * scale, `mutedText`, and derived on-colors invert correctly.
11
+ */
12
+ export declare const warmDarkEmber: Readonly<{
13
+ id: import("../../../../blocks/src/index").PaletteVariantId<"warm-dark-ember">;
14
+ name: string;
15
+ description: string;
16
+ tags: Readonly<Partial<Readonly<{
17
+ tone: import("../../../../blocks/src/index").StyleTone;
18
+ energy: import("../../../../blocks/src/index").StyleEnergy;
19
+ motion: import("../../../../blocks/src/index").StyleMotion;
20
+ era: import("../../../../blocks/src/index").StyleEra;
21
+ }>>>;
22
+ mode: "light" | "dark";
23
+ colors: readonly Readonly<{
24
+ name: import("../../../../blocks/src/index").PaletteTokenName;
25
+ hex: string;
26
+ }>[];
27
+ }>;
@@ -163,6 +163,8 @@ export declare const sectionStylesOverrideSchema: z.ZodObject<{
163
163
  }, z.core.$strip>>>;
164
164
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
165
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
168
  }, z.core.$strip>>>;
167
169
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
168
170
  medium: "medium";
@@ -321,6 +323,8 @@ export declare const containerStylesOverrideSchema: z.ZodObject<{
321
323
  }, z.core.$strip>>>;
322
324
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
325
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
328
  }, z.core.$strip>>>;
325
329
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
326
330
  medium: "medium";
@@ -419,6 +423,8 @@ export declare const cardStylesOverrideSchema: z.ZodObject<{
419
423
  }, z.core.$strip>>>;
420
424
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
425
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
427
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
428
  }, z.core.$strip>>>;
423
429
  border: z.ZodOptional<z.ZodNullable<z.ZodObject<{
424
430
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -454,6 +460,7 @@ export declare const cardStylesOverrideSchema: z.ZodObject<{
454
460
  "soft-panel": "soft-panel";
455
461
  "editorial-serif-quote": "editorial-serif-quote";
456
462
  "editorial-open": "editorial-open";
463
+ "color-blocked": "color-blocked";
457
464
  }>>>;
458
465
  cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
459
466
  none: "none";
@@ -539,6 +546,8 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
539
546
  }, z.core.$strip>>>;
540
547
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
548
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
549
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
550
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
551
  }, z.core.$strip>>>;
543
552
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
544
553
  medium: "medium";
@@ -697,6 +706,8 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
697
706
  }, z.core.$strip>>>;
698
707
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
699
708
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
710
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
711
  }, z.core.$strip>>>;
701
712
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
702
713
  medium: "medium";
@@ -795,6 +806,8 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
795
806
  }, z.core.$strip>>>;
796
807
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
797
808
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
809
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
811
  }, z.core.$strip>>>;
799
812
  border: z.ZodOptional<z.ZodNullable<z.ZodObject<{
800
813
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -830,6 +843,7 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
830
843
  "soft-panel": "soft-panel";
831
844
  "editorial-serif-quote": "editorial-serif-quote";
832
845
  "editorial-open": "editorial-open";
846
+ "color-blocked": "color-blocked";
833
847
  }>>>;
834
848
  cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
835
849
  none: "none";
@@ -944,6 +958,8 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
944
958
  }, z.core.$strip>>>;
945
959
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
946
960
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
962
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
963
  }, z.core.$strip>>>;
948
964
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
949
965
  medium: "medium";
@@ -1102,6 +1118,8 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
1102
1118
  }, z.core.$strip>>>;
1103
1119
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1104
1120
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1121
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1122
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1105
1123
  }, z.core.$strip>>>;
1106
1124
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1107
1125
  medium: "medium";
@@ -1200,6 +1218,8 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
1200
1218
  }, z.core.$strip>>>;
1201
1219
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
1220
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1221
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1222
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1203
1223
  }, z.core.$strip>>>;
1204
1224
  border: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1205
1225
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -1235,6 +1255,7 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
1235
1255
  "soft-panel": "soft-panel";
1236
1256
  "editorial-serif-quote": "editorial-serif-quote";
1237
1257
  "editorial-open": "editorial-open";
1258
+ "color-blocked": "color-blocked";
1238
1259
  }>>>;
1239
1260
  cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1240
1261
  none: "none";
@@ -2557,9 +2578,9 @@ export declare const footerSchema: z.ZodObject<{
2557
2578
  }, z.core.$strip>>;
2558
2579
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2559
2580
  textAlign: z.ZodOptional<z.ZodEnum<{
2560
- center: "center";
2561
2581
  left: "left";
2562
2582
  right: "right";
2583
+ center: "center";
2563
2584
  }>>;
2564
2585
  paddingY: z.ZodOptional<z.ZodEnum<{
2565
2586
  none: "none";
@@ -4043,9 +4064,9 @@ export declare const themeSchema: z.ZodObject<{
4043
4064
  }, z.core.$strip>>;
4044
4065
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4045
4066
  textAlign: z.ZodOptional<z.ZodEnum<{
4046
- center: "center";
4047
4067
  left: "left";
4048
4068
  right: "right";
4069
+ center: "center";
4049
4070
  }>>;
4050
4071
  paddingY: z.ZodOptional<z.ZodEnum<{
4051
4072
  none: "none";
@@ -4180,6 +4201,7 @@ export declare const themeSchema: z.ZodObject<{
4180
4201
  bottom: "bottom";
4181
4202
  "bottom-right": "bottom-right";
4182
4203
  }>>;
4204
+ colorToken: z.ZodOptional<z.ZodString>;
4183
4205
  }, z.core.$strip>>;
4184
4206
  border: z.ZodOptional<z.ZodObject<{
4185
4207
  widthClass: z.ZodString;
@@ -4741,6 +4763,8 @@ export declare const themeSchema: z.ZodObject<{
4741
4763
  }, z.core.$strip>>>;
4742
4764
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
4765
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4766
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4767
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4744
4768
  }, z.core.$strip>>>;
4745
4769
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4746
4770
  medium: "medium";
@@ -4899,6 +4923,8 @@ export declare const themeSchema: z.ZodObject<{
4899
4923
  }, z.core.$strip>>>;
4900
4924
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4901
4925
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4926
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4927
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4902
4928
  }, z.core.$strip>>>;
4903
4929
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4904
4930
  medium: "medium";
@@ -4997,6 +5023,8 @@ export declare const themeSchema: z.ZodObject<{
4997
5023
  }, z.core.$strip>>>;
4998
5024
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4999
5025
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5027
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5000
5028
  }, z.core.$strip>>>;
5001
5029
  border: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5002
5030
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -5032,6 +5060,7 @@ export declare const themeSchema: z.ZodObject<{
5032
5060
  "soft-panel": "soft-panel";
5033
5061
  "editorial-serif-quote": "editorial-serif-quote";
5034
5062
  "editorial-open": "editorial-open";
5063
+ "color-blocked": "color-blocked";
5035
5064
  }>>>;
5036
5065
  cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5037
5066
  none: "none";
@@ -6341,9 +6370,9 @@ export declare const themesTurnSchema: z.ZodObject<{
6341
6370
  }, z.core.$strip>>;
6342
6371
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6343
6372
  textAlign: z.ZodOptional<z.ZodEnum<{
6344
- center: "center";
6345
6373
  left: "left";
6346
6374
  right: "right";
6375
+ center: "center";
6347
6376
  }>>;
6348
6377
  paddingY: z.ZodOptional<z.ZodEnum<{
6349
6378
  none: "none";
@@ -6478,6 +6507,7 @@ export declare const themesTurnSchema: z.ZodObject<{
6478
6507
  bottom: "bottom";
6479
6508
  "bottom-right": "bottom-right";
6480
6509
  }>>;
6510
+ colorToken: z.ZodOptional<z.ZodString>;
6481
6511
  }, z.core.$strip>>;
6482
6512
  border: z.ZodOptional<z.ZodObject<{
6483
6513
  widthClass: z.ZodString;
@@ -7039,6 +7069,8 @@ export declare const themesTurnSchema: z.ZodObject<{
7039
7069
  }, z.core.$strip>>>;
7040
7070
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7041
7071
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7072
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7073
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7042
7074
  }, z.core.$strip>>>;
7043
7075
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7044
7076
  medium: "medium";
@@ -7197,6 +7229,8 @@ export declare const themesTurnSchema: z.ZodObject<{
7197
7229
  }, z.core.$strip>>>;
7198
7230
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7199
7231
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7232
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7233
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7200
7234
  }, z.core.$strip>>>;
7201
7235
  spacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7202
7236
  medium: "medium";
@@ -7295,6 +7329,8 @@ export declare const themesTurnSchema: z.ZodObject<{
7295
7329
  }, z.core.$strip>>>;
7296
7330
  textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7297
7331
  headingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7332
+ linkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7333
+ supportingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7298
7334
  }, z.core.$strip>>>;
7299
7335
  border: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7300
7336
  enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -7330,6 +7366,7 @@ export declare const themesTurnSchema: z.ZodObject<{
7330
7366
  "soft-panel": "soft-panel";
7331
7367
  "editorial-serif-quote": "editorial-serif-quote";
7332
7368
  "editorial-open": "editorial-open";
7369
+ "color-blocked": "color-blocked";
7333
7370
  }>>>;
7334
7371
  cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7335
7372
  none: "none";
@@ -2,7 +2,7 @@ import type { ExpandedPalette } from '../palette/expandPalette';
2
2
  import type { SiteStyleSurfaceIntent } from './types';
3
3
  export type AccessibleColorSurfaceIntent = Exclude<SiteStyleSurfaceIntent, 'hero-image'>;
4
4
  export type ContrastPolicy = 'body-aa' | 'large-text-aa' | 'decorative';
5
- export type ForegroundRole = 'heading' | 'text' | 'supporting';
5
+ export type ForegroundRole = 'heading' | 'text' | 'link' | 'supporting';
6
6
  export type AccessibleSurfaceToken = string & {
7
7
  readonly __brand: 'AccessibleSurfaceToken';
8
8
  };
@@ -51,6 +51,9 @@ export type ResolvedAccessibleSurface = Readonly<{
51
51
  text: Extract<ResolvedForeground, {
52
52
  kind: 'safe-token';
53
53
  }>;
54
+ link: Extract<ResolvedForeground, {
55
+ kind: 'safe-token';
56
+ }>;
54
57
  supporting: ResolvedForeground;
55
58
  rejectedCandidates: readonly RejectedSurfaceCandidate[];
56
59
  }>;
@@ -384,7 +384,7 @@ export declare const appearancePresets: readonly [{
384
384
  readonly kind: "block-design";
385
385
  readonly id: "intro-organic-statement";
386
386
  readonly target: "intro";
387
- readonly label: "Organic intro statement";
387
+ readonly label: "Intro statement";
388
388
  readonly blockKinds: readonly ["block.intro"];
389
389
  readonly design: {
390
390
  readonly sectionSurface: "base";
@@ -395,6 +395,24 @@ export declare const appearancePresets: readonly [{
395
395
  readonly transitionAfter: "soft-fade-short";
396
396
  readonly emphasis: "high";
397
397
  };
398
+ }, {
399
+ readonly kind: "block-design";
400
+ readonly id: "intro-editorial-statement";
401
+ readonly target: "intro";
402
+ readonly label: "Editorial intro statement";
403
+ readonly blockKinds: readonly ["block.intro"];
404
+ readonly constraints: {
405
+ readonly layoutVariantKeys: readonly ["centered-copy", "statement-copy"];
406
+ };
407
+ readonly design: {
408
+ readonly sectionSurface: "base";
409
+ readonly contentFrame: {
410
+ readonly kind: "plain";
411
+ };
412
+ readonly itemSurface: "none";
413
+ readonly transitionAfter: "soft-fade-short";
414
+ readonly emphasis: "high";
415
+ };
398
416
  }, {
399
417
  readonly kind: "block-design";
400
418
  readonly id: "intro-portrait-bio";
@@ -412,11 +430,6 @@ export declare const appearancePresets: readonly [{
412
430
  readonly itemSurface: "none";
413
431
  readonly transitionAfter: "soft-fade-short";
414
432
  readonly emphasis: "medium";
415
- readonly headingDecoration: {
416
- readonly family: "organic-squiggle";
417
- readonly placement: "after-heading";
418
- readonly colorToken: "primary";
419
- };
420
433
  };
421
434
  }, {
422
435
  readonly kind: "block-design";
@@ -433,6 +446,51 @@ export declare const appearancePresets: readonly [{
433
446
  readonly transitionAfter: "soft-fade-short";
434
447
  readonly emphasis: "medium";
435
448
  };
449
+ }, {
450
+ readonly kind: "block-design";
451
+ readonly id: "offerings-preview-default-cards";
452
+ readonly target: "offerings";
453
+ readonly label: "Default offering cards";
454
+ readonly blockKinds: readonly ["block.offerings-preview"];
455
+ readonly design: {
456
+ readonly sectionSurface: "base";
457
+ readonly contentFrame: {
458
+ readonly kind: "plain";
459
+ };
460
+ readonly itemSurface: "default";
461
+ readonly transitionAfter: "soft-fade-short";
462
+ readonly emphasis: "medium";
463
+ };
464
+ }, {
465
+ readonly kind: "block-design";
466
+ readonly id: "offerings-preview-secondary-cards";
467
+ readonly target: "offerings";
468
+ readonly label: "Secondary offering cards";
469
+ readonly blockKinds: readonly ["block.offerings-preview"];
470
+ readonly design: {
471
+ readonly sectionSurface: "muted-band";
472
+ readonly contentFrame: {
473
+ readonly kind: "plain";
474
+ };
475
+ readonly itemSurface: "inset";
476
+ readonly transitionAfter: "soft-fade-short";
477
+ readonly emphasis: "medium";
478
+ };
479
+ }, {
480
+ readonly kind: "block-design";
481
+ readonly id: "offerings-preview-non-carded";
482
+ readonly target: "offerings";
483
+ readonly label: "Non-carded offerings";
484
+ readonly blockKinds: readonly ["block.offerings-preview"];
485
+ readonly design: {
486
+ readonly sectionSurface: "muted-band";
487
+ readonly contentFrame: {
488
+ readonly kind: "plain";
489
+ };
490
+ readonly itemSurface: "editorial";
491
+ readonly transitionAfter: "soft-fade-short";
492
+ readonly emphasis: "medium";
493
+ };
436
494
  }, {
437
495
  readonly kind: "block-design";
438
496
  readonly id: "feature-cards-raised-rule";
@@ -448,6 +506,21 @@ export declare const appearancePresets: readonly [{
448
506
  readonly transitionAfter: "none";
449
507
  readonly emphasis: "high";
450
508
  };
509
+ }, {
510
+ readonly kind: "block-design";
511
+ readonly id: "feature-cards-bold-colors";
512
+ readonly target: "feature-cards";
513
+ readonly label: "Bold colour-blocked cards";
514
+ readonly blockKinds: readonly ["block.feature-cards"];
515
+ readonly design: {
516
+ readonly sectionSurface: "base";
517
+ readonly contentFrame: {
518
+ readonly kind: "plain";
519
+ };
520
+ readonly itemSurface: "color-blocked";
521
+ readonly transitionAfter: "none";
522
+ readonly emphasis: "high";
523
+ };
451
524
  }, {
452
525
  readonly kind: "block-design";
453
526
  readonly id: "feature-cards-editorial-columns";
@@ -717,7 +790,7 @@ export declare const appearancePresets: readonly [{
717
790
  readonly kind: "block-design";
718
791
  readonly id: "contact-form-panel";
719
792
  readonly target: "contact-form";
720
- readonly label: "Contact form panel";
793
+ readonly label: "Raised form panel";
721
794
  readonly blockKinds: readonly ["block.form"];
722
795
  readonly design: {
723
796
  readonly sectionSurface: "muted-band";
@@ -731,35 +804,18 @@ export declare const appearancePresets: readonly [{
731
804
  };
732
805
  }, {
733
806
  readonly kind: "block-design";
734
- readonly id: "contact-form-dark-card";
735
- readonly target: "contact-form";
736
- readonly label: "Dark form card";
737
- readonly blockKinds: readonly ["block.form"];
738
- readonly design: {
739
- readonly sectionSurface: "accent-band";
740
- readonly contentFrame: Readonly<{
741
- kind: "panel";
742
- treatment: "raised";
743
- }>;
744
- readonly itemSurface: "none";
745
- readonly transitionAfter: "soft-fade-short";
746
- readonly emphasis: "high";
747
- };
748
- }, {
749
- readonly kind: "block-design";
750
- readonly id: "contact-form-brand-depth-card";
807
+ readonly id: "contact-form-open";
751
808
  readonly target: "contact-form";
752
- readonly label: "Brand-depth form card";
809
+ readonly label: "Open form";
753
810
  readonly blockKinds: readonly ["block.form"];
754
811
  readonly design: {
755
- readonly sectionSurface: "brand-depth-band";
756
- readonly contentFrame: Readonly<{
757
- kind: "panel";
758
- treatment: "raised";
759
- }>;
812
+ readonly sectionSurface: "muted-band";
813
+ readonly contentFrame: {
814
+ readonly kind: "plain";
815
+ };
760
816
  readonly itemSurface: "none";
761
817
  readonly transitionAfter: "none";
762
- readonly emphasis: "high";
818
+ readonly emphasis: "medium";
763
819
  };
764
820
  }, {
765
821
  readonly kind: "block-design";
@@ -1,7 +1,10 @@
1
1
  import type { BlockLayoutDesignProfile } from './blockFlow';
2
2
  import type { BlockAppearanceDesign, BlockAppearancePreset, BlockAppearancePresetConstraints } from './appearancePresetTypes';
3
- import type { BlockDesignPlan } from './types';
4
- export declare function defineBlockAppearancePreset<const TPreset extends BlockAppearancePreset>(preset: TPreset): TPreset;
3
+ import type { BlockDesignPlan, NoExtraKeys } from './types';
4
+ type ExactBlockAppearancePreset<TPreset extends BlockAppearancePreset> = TPreset & NoExtraKeys<TPreset, BlockAppearancePreset> & Readonly<{
5
+ design: NoExtraKeys<TPreset['design'], BlockAppearanceDesign>;
6
+ }>;
7
+ export declare function defineBlockAppearancePreset<const TPreset extends BlockAppearancePreset>(preset: ExactBlockAppearancePreset<TPreset>): TPreset;
5
8
  export declare function layoutProfileSupportsConstraints(profile: BlockLayoutDesignProfile, constraints: BlockAppearancePresetConstraints): boolean;
6
9
  export declare function resolveBlockAppearancePresetDesign(preset: BlockAppearancePreset, layoutProfile?: BlockLayoutDesignProfile | null): BlockAppearanceDesign;
7
10
  export declare function blockDesignPlanFromAppearancePreset<TBlockId extends string, TPurpose extends string>(preset: BlockAppearancePreset, input: Readonly<{
@@ -10,3 +13,4 @@ export declare function blockDesignPlanFromAppearancePreset<TBlockId extends str
10
13
  purpose: TPurpose;
11
14
  layoutProfile?: BlockLayoutDesignProfile | null;
12
15
  }>): BlockDesignPlan<TBlockId, TPurpose>;
16
+ export {};