@riverbankcms/sdk 0.78.2 → 0.80.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 (230) hide show
  1. package/README.md +80 -0
  2. package/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
  3. package/dist/{PreviewEditorUI-CS5P4N3P.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
  4. package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +56 -0
  6. package/dist/_dts/api/src/endpoints.d.ts +79 -0
  7. package/dist/_dts/api/src/index.d.ts +6 -4
  8. package/dist/_dts/api/src/media.d.ts +8 -1
  9. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
  10. package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +8 -8
  11. package/dist/_dts/api/src/navigation/identity.d.ts +59 -0
  12. package/dist/_dts/api/src/navigation.d.ts +2 -0
  13. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +4 -0
  14. package/dist/_dts/api/src/sdkContracts.d.ts +1 -0
  15. package/dist/_dts/api/src/siteIcons.d.ts +128 -0
  16. package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
  17. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +16 -0
  18. package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
  19. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +17 -1
  20. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
  21. package/dist/_dts/api/src/types.d.ts +1 -1
  22. package/dist/_dts/api/src/webhooks.d.ts +239 -0
  23. package/dist/_dts/block-form/src/client/index.d.ts +2 -0
  24. package/dist/_dts/block-form/src/index.d.ts +2 -0
  25. package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
  26. package/dist/_dts/blocks/src/client/header.d.ts +1 -1
  27. package/dist/_dts/blocks/src/client.d.ts +12 -12
  28. package/dist/_dts/blocks/src/index.d.ts +5 -1
  29. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
  30. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
  31. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
  32. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
  33. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
  34. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
  35. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
  36. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -1
  37. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +294 -289
  38. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +57 -0
  39. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -0
  40. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
  41. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
  42. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  43. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +22 -22
  44. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
  45. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
  46. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
  47. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +13 -1
  48. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +179 -0
  49. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -2
  50. package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +1 -0
  51. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +10 -0
  52. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -1
  53. package/dist/_dts/blocks/src/system/icons/ids.d.ts +13 -0
  54. package/dist/_dts/blocks/src/system/icons/index.d.ts +6 -0
  55. package/dist/_dts/blocks/src/system/icons/presets.d.ts +4 -0
  56. package/dist/_dts/blocks/src/system/icons/registry.d.ts +18 -0
  57. package/dist/_dts/blocks/src/system/icons/semantic.d.ts +239 -0
  58. package/dist/_dts/blocks/src/system/icons/value.d.ts +94 -0
  59. package/dist/_dts/blocks/src/system/index.d.ts +1 -0
  60. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +4 -1
  61. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -0
  62. package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
  63. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  64. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -7
  65. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
  66. package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
  67. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -5
  68. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
  69. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
  70. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
  71. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
  72. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
  73. package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +13 -0
  74. package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
  75. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -0
  76. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
  77. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
  78. package/dist/_dts/content-model/src/contentManifest.d.ts +3 -1
  79. package/dist/_dts/core/src/branded.d.ts +6 -0
  80. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -3
  81. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +8 -1
  82. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +8 -1
  83. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +8 -2
  84. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +17 -0
  85. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +42 -0
  86. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +7 -1
  87. package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +82 -0
  88. package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
  89. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  90. package/dist/_dts/media-core/src/fileDomain.d.ts +8 -1
  91. package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -2
  92. package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +2 -1
  93. package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +2 -1
  94. package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
  95. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +17 -0
  96. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
  97. package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +34 -0
  98. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
  99. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +8 -1
  100. package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
  101. package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
  102. package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
  103. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +3 -2
  104. package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
  105. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -0
  106. package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
  107. package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
  108. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -1
  109. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
  110. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +11 -0
  111. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +4 -0
  112. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +1 -0
  113. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +9 -0
  114. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  115. package/dist/_dts/sdk/src/client/management/types.d.ts +58 -0
  116. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
  117. package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
  118. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  119. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -4
  120. package/dist/_dts/sdk/src/next/index.d.ts +1 -1
  121. package/dist/_dts/sdk/src/next/revalidate.d.ts +26 -5
  122. package/dist/_dts/sdk/src/next/static-params.d.ts +28 -3
  123. package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -1
  124. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  125. package/dist/_dts/sdk/src/version.d.ts +1 -1
  126. package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
  127. package/dist/_dts/sdk/src/webhooks/verify.d.ts +6 -102
  128. package/dist/_dts/site-commands/src/commands.d.ts +3 -0
  129. package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
  130. package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
  131. package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
  132. package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
  133. package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
  134. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
  135. package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
  136. package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
  137. package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +105 -0
  138. package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
  139. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  140. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +159 -21
  141. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  142. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
  143. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
  144. package/dist/_dts/theme-core/src/schema.d.ts +451 -57
  145. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +86 -17
  146. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
  147. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +86 -17
  148. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +135 -3
  149. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +5 -5
  150. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
  151. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +8 -2
  152. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +286 -6
  153. package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
  154. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
  155. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +6 -12
  156. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
  157. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -7
  158. package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
  159. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +2 -2
  160. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  161. package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
  162. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  163. package/dist/_dts/theme-core/src/site-styles/types.d.ts +7 -29
  164. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -0
  165. package/dist/_dts/ui/src/combobox.d.ts +1 -0
  166. package/dist/{PreviewEditorSidebar-4DXLYX2V.mjs → chunk-5NZGBSJF.mjs} +2215 -2566
  167. package/dist/{chunk-RGTOD4AJ.mjs → chunk-7PCYG6YV.mjs} +621 -108
  168. package/dist/{chunk-CR5HKAGU.mjs → chunk-BBLZSQEY.mjs} +79 -0
  169. package/dist/{chunk-MCRQMPET.mjs → chunk-GYXKAUFV.mjs} +4500 -912
  170. package/dist/{chunk-6HYXHRAI.mjs → chunk-HTB4BMKD.mjs} +267 -49
  171. package/dist/{chunk-OKMBEAXY.mjs → chunk-MPBNEVPB.mjs} +1 -1
  172. package/dist/cli/index.mjs +3255 -702
  173. package/dist/cli/init-docs/content/workflow-editor-workflows.md +2 -0
  174. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +150 -0
  175. package/dist/client/{accordion-PLYNJIIM.mjs → accordion-QFZMNB7O.mjs} +1 -1
  176. package/dist/client/{bookingForm-BXAP6AO7.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
  177. package/dist/client/bookings.mjs +1246 -323
  178. package/dist/client/{carousel-TRBXDHGF.mjs → carousel-EO4BJMWD.mjs} +2 -2
  179. package/dist/client/{cart-Z7H3HJRS.mjs → cart-FTYCLYUW.mjs} +5 -5
  180. package/dist/client/{checkout-WAFCUBIX.mjs → checkout-NFGLVCOX.mjs} +5 -5
  181. package/dist/client/{chunk-CWGTG37I.mjs → chunk-4W66ALYT.mjs} +1 -1
  182. package/dist/client/{chunk-JRDUHZCT.mjs → chunk-6GVVWSPU.mjs} +4 -4
  183. package/dist/client/{chunk-75OUS5MT.mjs → chunk-IWFZSQNZ.mjs} +1 -1
  184. package/dist/client/{chunk-JGXPTEI2.mjs → chunk-PUOELU4O.mjs} +95 -8
  185. package/dist/client/{chunk-FUXW6VW2.mjs → chunk-PYRBIURC.mjs} +4 -4
  186. package/dist/client/{chunk-ZI3LLBPZ.mjs → chunk-T6UIP6UZ.mjs} +1 -1
  187. package/dist/client/{chunk-DNRGY432.mjs → chunk-VDS5YFLX.mjs} +1 -1
  188. package/dist/client/{chunk-UVQEJJTN.mjs → chunk-Y37KDO7P.mjs} +1 -1
  189. package/dist/client/client.mjs +24277 -20796
  190. package/dist/client/{courseRegistration-AHFQHWIJ.mjs → courseRegistration-2EORROPS.mjs} +3 -3
  191. package/dist/client/{eventCalendar-LDXTV5R7.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
  192. package/dist/client/{eventCombined-A4JGTNJO.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
  193. package/dist/client/{eventDetails-4YXTZ7EG.mjs → eventDetails-TFTATAPH.mjs} +5 -5
  194. package/dist/client/{eventListing-P72TPFFM.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
  195. package/dist/client/{eventRegistration-LSYJHGMT.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
  196. package/dist/client/{form-AOPYOKOW.mjs → form-NTIFD6WQ.mjs} +1 -1
  197. package/dist/client/{headerSection-5TFYDFVQ.mjs → headerSection-7TBNKCLA.mjs} +65 -24
  198. package/dist/client/hooks.mjs +3687 -2024
  199. package/dist/client/{locationMap-QSZ3ZVAZ.mjs → locationMap-LRLB5A3H.mjs} +1 -1
  200. package/dist/client/{newsletterForm-KTRHZY52.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
  201. package/dist/client/{productDetail-N4E775RG.mjs → productDetail-GSNKBFLY.mjs} +5 -5
  202. package/dist/client/{productList-UGUQ2S45.mjs → productList-BGCGT4KZ.mjs} +5 -5
  203. package/dist/client/rendering/client.mjs +5274 -3030
  204. package/dist/client/rendering/islands.mjs +18 -18
  205. package/dist/client/rendering.mjs +6271 -2790
  206. package/dist/client/{shop-VHSZEEQ2.mjs → shop-RQHUCLNY.mjs} +5 -5
  207. package/dist/preview-next/before-render.mjs +79 -0
  208. package/dist/preview-next/client/runtime.mjs +5 -5
  209. package/dist/preview-next/middleware.mjs +79 -0
  210. package/dist/{sdk-runtime-WHPJEF5G.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
  211. package/dist/server/components.mjs +6215 -3057
  212. package/dist/server/config-validation.mjs +3858 -2194
  213. package/dist/server/config.mjs +3858 -2194
  214. package/dist/server/data.mjs +3687 -2024
  215. package/dist/server/index.mjs +88 -1
  216. package/dist/server/next/revalidate.mjs +229 -34
  217. package/dist/server/next.mjs +6295 -3036
  218. package/dist/server/page-converter.mjs +3055 -1883
  219. package/dist/server/prebuild.mjs +1 -1
  220. package/dist/server/rendering/server.mjs +6220 -3062
  221. package/dist/server/rendering.mjs +6233 -3075
  222. package/dist/server/routing.mjs +4251 -2137
  223. package/dist/server/server.mjs +3705 -2042
  224. package/dist/server/theme-bridge.mjs +1617 -329
  225. package/dist/server/theme.mjs +411 -221
  226. package/dist/server/webhooks.mjs +129 -25
  227. package/dist/styles/index.css +355 -33
  228. package/package.json +2 -1
  229. package/dist/SdkPreviewModeRuntime-IJDHTW4W.mjs +0 -8
  230. package/dist/chunk-4QEGTLK6.mjs +0 -1175
@@ -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
@@ -93,10 +87,10 @@ export type SiteThemeSelectionsResult = Readonly<{
93
87
  }>;
94
88
  /**
95
89
  * High-level, site-style-aware compiler. Resolves the user's personality and
96
- * palette selections against the site style's authored choice lists
97
- * (auto-picking the first/default choice when the request is absent, unknown,
98
- * or not curated for this style), then delegates to `compileTokenRecipes` with
99
- * the resolved IDs.
90
+ * palette selections into theme tokens. Button personality still resolves
91
+ * against the site style's authored choice list; palette variants are brand
92
+ * choices, so any known palette is preserved across site styles and the style's
93
+ * first palette choice is only used when the request is absent or unknown.
100
94
  *
101
95
  * Returns the resolved IDs so the caller can persist auto-pick decisions, plus
102
96
  * any fallback warnings the UI can surface as "we changed your selection"
@@ -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;
@@ -189,9 +189,13 @@ export declare const defaultComponentRuntimeRules: {
189
189
  readonly raised: true;
190
190
  };
191
191
  readonly inset: {
192
+ readonly treatment: "soft-panel";
192
193
  readonly spacing: "comfortable";
193
- readonly rounded: "lg";
194
+ readonly rounded: "xl";
194
195
  readonly raised: false;
196
+ readonly border: {
197
+ readonly enabled: false;
198
+ };
195
199
  readonly background: {
196
200
  readonly type: "color";
197
201
  readonly color: "surfaceAlt";
@@ -199,13 +203,12 @@ export declare const defaultComponentRuntimeRules: {
199
203
  };
200
204
  };
201
205
  readonly editorial: {
202
- readonly spacing: "medium";
203
- readonly rounded: "xl";
206
+ readonly treatment: "editorial-rule";
207
+ readonly spacing: "none";
208
+ readonly rounded: "none";
204
209
  readonly raised: false;
205
- readonly background: {
206
- readonly type: "color";
207
- readonly color: "surface";
208
- readonly textColor: "text";
210
+ readonly border: {
211
+ readonly enabled: false;
209
212
  };
210
213
  };
211
214
  };
@@ -0,0 +1,11 @@
1
+ import { type Theme } from '../schema';
2
+ import { type CuratedSiteStyle } from './curatedSiteStyles';
3
+ import { type CompiledTypographySelection } from './typographyPresets';
4
+ import type { SiteStyleId } from './types';
5
+ export type CuratedSiteStyleTheme = Theme & Readonly<{
6
+ siteStyleId: SiteStyleId;
7
+ }>;
8
+ export declare function withSiteStyleMetadata(theme: Theme, siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
9
+ export declare function applyTypographySelectionToTheme(theme: Theme, compiledTypography: CompiledTypographySelection): Theme;
10
+ export declare function applySiteStyleThemeOverrides(theme: Theme, siteStyle: CuratedSiteStyle): Theme;
11
+ export declare function compileCuratedSiteStyleBlockTheme(siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
@@ -35,7 +35,7 @@ export declare const generatedDesignOptionCatalog: {
35
35
  treatment: import("../../../blocks/src/index").FlushFrameTreatment;
36
36
  bleed: "start";
37
37
  }>];
38
- readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
38
+ readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
39
39
  readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long"];
40
40
  readonly emphases: readonly ["low", "medium", "high"];
41
41
  readonly detachedCustom: false;
@@ -121,7 +121,7 @@ export declare const designOptionCatalogs: {
121
121
  treatment: import("../../../blocks/src/index").FlushFrameTreatment;
122
122
  bleed: "start";
123
123
  }>];
124
- readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised"];
124
+ readonly itemSurfaces: readonly ["none", "default", "flat", "outlined", "raised", "inset", "editorial"];
125
125
  readonly transitions: readonly ["none", "soft-fade-short", "soft-fade-long"];
126
126
  readonly emphases: readonly ["low", "medium", "high"];
127
127
  readonly detachedCustom: false;
@@ -22,8 +22,8 @@ export declare const styleTagsSchema: z.ZodObject<{
22
22
  }>>;
23
23
  motion: z.ZodOptional<z.ZodEnum<{
24
24
  standard: "standard";
25
- subtle: "subtle";
26
25
  expressive: "expressive";
26
+ subtle: "subtle";
27
27
  }>>;
28
28
  era: z.ZodOptional<z.ZodEnum<{
29
29
  editorial: "editorial";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Reusable testimonial quote-mark treatments for curated site styles.
3
+ *
4
+ * The quote mark is brand identity the site style owns (analogous to the FAQ
5
+ * accordion icon); every curated style declares one. `style` is the coarse
6
+ * selector and the resolver in blocks/vars/testimonials.ts fills in the rest.
7
+ */
8
+ /** Large display quotation mark in the heading font. Editorial / calm styles. */
9
+ export declare const serifDisplayQuote: {
10
+ readonly style: "serif-display";
11
+ };
12
+ /** Punchy quotation mark in the secondary accent colour. Bold / accent styles. */
13
+ export declare const accentGlyphQuote: {
14
+ readonly style: "accent-glyph";
15
+ };
@@ -45,8 +45,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
45
45
  }>;
46
46
  motion: z.ZodEnum<{
47
47
  none: "none";
48
- subtle: "subtle";
49
48
  expressive: "expressive";
49
+ subtle: "subtle";
50
50
  }>;
51
51
  }, z.core.$strip>;
52
52
  export declare const defaultThemeTokenRecipes: {
@@ -189,7 +189,7 @@ export type ImageSurfaceTreatment = Readonly<{
189
189
  intensity?: ImageSurfaceTreatmentIntensity;
190
190
  }>;
191
191
  export type ImageSurfaceTreatmentKind = ImageSurfaceTreatment['kind'];
192
- export type TestimonialCardTreatment = 'default' | 'accent-quote';
192
+ export type TestimonialCardTreatment = 'default' | 'statement' | 'non-carded' | 'accent-quote' | 'editorial-serif-quote';
193
193
  export declare const tileTreatmentValues: readonly ["default", "quiet", "brand-depth"];
194
194
  export type TileTreatment = (typeof tileTreatmentValues)[number];
195
195
  export declare const eventListTreatmentValues: readonly ["plain", "lined-panel"];
@@ -200,27 +200,20 @@ export declare const headingDecorationFamilyValues: readonly ["none", "organic-s
200
200
  export type HeadingDecorationFamily = (typeof headingDecorationFamilyValues)[number];
201
201
  export type VisibleHeadingDecorationFamily = Exclude<HeadingDecorationFamily, 'none'>;
202
202
  export declare const visibleHeadingDecorationFamilyValues: readonly ["organic-squiggle", "short-center-rule"];
203
- export declare const headingDecorationPlacementValues: readonly ["none", "after-heading", "between-heading-and-body", "under-centered-heading"];
204
- export type HeadingDecorationPlacement = (typeof headingDecorationPlacementValues)[number];
205
- export type VisibleHeadingDecorationPlacement = Exclude<HeadingDecorationPlacement, 'none'>;
206
- export declare const visibleHeadingDecorationPlacementValues: readonly ["after-heading", "between-heading-and-body", "under-centered-heading"];
207
- export declare const headingDecorationOverrideValues: readonly ["site-default", "on", "off"];
203
+ export declare const headingDecorationOverrideValues: readonly ["site-default", "off"];
208
204
  export type HeadingDecorationOverride = (typeof headingDecorationOverrideValues)[number];
209
205
  export declare const headingDecorationColorTokenValues: readonly ["text", "primary", "secondary", "accent", "border", "muted"];
210
206
  export type HeadingDecorationColorToken = (typeof headingDecorationColorTokenValues)[number];
211
207
  export type NoHeadingDecoration = Readonly<{
212
208
  family: 'none';
213
- placement: 'none';
214
209
  }>;
215
210
  export type VisibleHeadingDecoration = Readonly<{
216
211
  family: VisibleHeadingDecorationFamily;
217
- placement: VisibleHeadingDecorationPlacement;
218
212
  colorToken?: HeadingDecorationColorToken;
219
213
  }>;
220
214
  export type HeadingDecoration = NoHeadingDecoration | VisibleHeadingDecoration;
221
215
  export declare const noHeadingDecoration: {
222
216
  readonly family: "none";
223
- readonly placement: "none";
224
217
  };
225
218
  export declare const accordionIconSetValues: readonly ["plus", "chevron", "caret", "minimal-cross"];
226
219
  export type AccordionIconSet = (typeof accordionIconSetValues)[number];
@@ -255,7 +248,7 @@ export type GeneratedFlushPanelFrameIntent = Readonly<{
255
248
  export type GeneratedContentFrameIntent = PlainFrameIntent | GeneratedPanelFrameIntent | GeneratedFlushPanelFrameIntent;
256
249
  export type UserContentFrameIntent = ContentFrameIntent;
257
250
  export type AdvancedContentFrameIntent = ContentFrameIntent | AdvancedDetachedDesignValue;
258
- export type GeneratedItemSurfaceIntent = Extract<SiteStyleItemSurfaceIntent, 'none' | 'default' | 'flat' | 'outlined' | 'raised'>;
251
+ export type GeneratedItemSurfaceIntent = Extract<SiteStyleItemSurfaceIntent, 'none' | 'default' | 'flat' | 'outlined' | 'raised' | 'inset' | 'editorial'>;
259
252
  export type UserItemSurfaceIntent = SiteStyleItemSurfaceIntent;
260
253
  export type AdvancedItemSurfaceIntent = SiteStyleItemSurfaceIntent | AdvancedDetachedDesignValue;
261
254
  export type GeneratedSectionTransitionIntent = Extract<SiteStyleSectionTransitionIntent, 'none' | 'soft-fade-short' | 'soft-fade-long'>;
@@ -391,7 +384,6 @@ export type BlockDesignPlan<TBlockId extends string = DesignBlockId, TPurpose ex
391
384
  tileTreatment?: TileTreatment;
392
385
  eventListTreatment?: EventListTreatment;
393
386
  eyebrowTreatment?: EyebrowTreatment;
394
- headingDecoration?: HeadingDecoration;
395
387
  accordionIconTreatment?: AccordionIconTreatment | null;
396
388
  }>;
397
389
  export type ResolvedBlockDesignPlan<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<BlockDesignPlan<TBlockId, TPurpose> & {
@@ -407,7 +399,6 @@ export type ResolvedBlockDesignPlan<TBlockId extends string = DesignBlockId, TPu
407
399
  appliedTileTreatment: TileTreatment;
408
400
  appliedEventListTreatment: EventListTreatment;
409
401
  appliedEyebrowTreatment: EyebrowTreatment;
410
- appliedHeadingDecoration: HeadingDecoration;
411
402
  appliedAccordionIconTreatment: AccordionIconTreatment | null;
412
403
  }>;
413
404
  export type PageDesignState<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
@@ -430,8 +421,8 @@ export type DesignedBlockDesignCapabilityInput = Readonly<{
430
421
  tileTreatments?: NonEmptyReadonlyArray<TileTreatment>;
431
422
  eventListTreatments?: NonEmptyReadonlyArray<EventListTreatment>;
432
423
  eyebrowTreatments?: NonEmptyReadonlyArray<EyebrowTreatment>;
433
- headingDecorations?: NonEmptyReadonlyArray<VisibleHeadingDecorationFamily>;
434
424
  accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
425
+ headingDecorations?: NonEmptyReadonlyArray<VisibleHeadingDecorationFamily>;
435
426
  }>;
436
427
  export type DesignedBlockDesignCapability = Readonly<{
437
428
  kind: 'designed';
@@ -445,8 +436,8 @@ export type DesignedBlockDesignCapability = Readonly<{
445
436
  tileTreatments: NonEmptyReadonlyArray<TileTreatment>;
446
437
  eventListTreatments: NonEmptyReadonlyArray<EventListTreatment>;
447
438
  eyebrowTreatments: NonEmptyReadonlyArray<EyebrowTreatment>;
448
- headingDecorations?: NonEmptyReadonlyArray<VisibleHeadingDecorationFamily>;
449
439
  accordionIconSets?: NonEmptyReadonlyArray<AccordionIconSet>;
440
+ headingDecorations?: NonEmptyReadonlyArray<VisibleHeadingDecorationFamily>;
450
441
  }>;
451
442
  export type UnsupportedBlockDesignCapabilityReason = 'site-chrome' | 'transactional' | 'placeholder' | 'legacy-layout' | 'custom-runtime';
452
443
  export type NoBlockDesignCapability = Readonly<{
@@ -457,7 +448,7 @@ export type BlockDesignCapability = DesignedBlockDesignCapability | NoBlockDesig
457
448
  export type BlockDesignCapabilityMap = Readonly<Partial<Record<string, BlockDesignCapability>>>;
458
449
  export declare function defineBlockDesignCapability(capability: DesignedBlockDesignCapabilityInput): DesignedBlockDesignCapability;
459
450
  export declare function defineNoBlockDesignCapability(reason: UnsupportedBlockDesignCapabilityReason): NoBlockDesignCapability;
460
- export type DesignRepairAction = 'fallback-block-design' | 'fallback-section-surface' | 'fallback-content-frame' | 'fallback-item-surface' | 'fallback-section-height' | 'fallback-image-surface-treatment' | 'fallback-image-surface-motion' | 'fallback-testimonial-card-treatment' | 'fallback-tile-treatment' | 'fallback-event-list-treatment' | 'fallback-eyebrow-treatment' | 'fallback-heading-decoration' | 'fallback-accordion-icon-treatment' | 'remove-hero-legibility' | 'remove-transition' | 'fallback-hero-legibility' | 'reduce-accent-density' | 'reduce-panel-density' | 'reduce-transition-mix' | 'reduce-primary-ctas' | 'reduce-media-density' | 'reduce-decorative-repetition';
451
+ export type DesignRepairAction = 'fallback-block-design' | 'fallback-section-surface' | 'fallback-content-frame' | 'fallback-item-surface' | 'fallback-section-height' | 'fallback-image-surface-treatment' | 'fallback-image-surface-motion' | 'fallback-testimonial-card-treatment' | 'fallback-tile-treatment' | 'fallback-event-list-treatment' | 'fallback-eyebrow-treatment' | 'fallback-accordion-icon-treatment' | 'remove-hero-legibility' | 'remove-transition' | 'fallback-hero-legibility' | 'reduce-accent-density' | 'reduce-panel-density' | 'reduce-transition-mix' | 'reduce-primary-ctas' | 'reduce-media-density' | 'reduce-decorative-repetition';
461
452
  export type UnsupportedSectionSurfaceIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
462
453
  kind: 'unsupported-section-surface';
463
454
  blockId: TBlockId;
@@ -570,17 +561,6 @@ export type UnsupportedEyebrowTreatmentIssue<TBlockId extends string = DesignBlo
570
561
  severity: DesignIssueSeverity;
571
562
  allowedRepairActions: readonly ['fallback-eyebrow-treatment'];
572
563
  }>;
573
- export type UnsupportedHeadingDecorationIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
574
- kind: 'unsupported-heading-decoration';
575
- blockId: TBlockId;
576
- blockKind: string;
577
- purpose: TPurpose;
578
- requested: HeadingDecoration;
579
- fallback: NoHeadingDecoration;
580
- policy: DesignResolutionPolicy;
581
- severity: DesignIssueSeverity;
582
- allowedRepairActions: readonly ['fallback-heading-decoration'];
583
- }>;
584
564
  export type UnsupportedAccordionIconTreatmentIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
585
565
  kind: 'unsupported-accordion-icon-treatment';
586
566
  blockId: TBlockId;
@@ -642,7 +622,6 @@ export type BlockDesignCapabilityRequest = Readonly<{
642
622
  tileTreatment?: TileTreatment;
643
623
  eventListTreatment?: EventListTreatment;
644
624
  eyebrowTreatment?: EyebrowTreatment;
645
- headingDecoration?: HeadingDecoration;
646
625
  accordionIconTreatment?: AccordionIconTreatment | null;
647
626
  }>;
648
627
  export type BlockDesignCapabilityFallback = Readonly<{
@@ -660,7 +639,6 @@ export type BlockDesignCapabilityFallback = Readonly<{
660
639
  tileTreatment: 'default';
661
640
  eventListTreatment: 'plain';
662
641
  eyebrowTreatment: 'plain';
663
- headingDecoration: NoHeadingDecoration;
664
642
  accordionIconTreatment: null;
665
643
  }>;
666
644
  export type MissingBlockDesignCapabilityIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = Readonly<{
@@ -708,7 +686,7 @@ export type HeroImageWithoutLegibilityIssue<TBlockId extends string = DesignBloc
708
686
  severity: DesignIssueSeverity;
709
687
  allowedRepairActions: readonly ['fallback-hero-legibility'];
710
688
  }>;
711
- export type DesignResolutionIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = UnsupportedSectionSurfaceIssue<TBlockId, TPurpose> | UnsupportedContentFrameIssue<TBlockId, TPurpose> | UnsupportedItemSurfaceIssue<TBlockId, TPurpose> | UnsupportedSectionHeightIssue<TBlockId, TPurpose> | UnsupportedImageSurfaceTreatmentIssue<TBlockId, TPurpose> | UnsupportedImageSurfaceMotionIssue<TBlockId, TPurpose> | UnsupportedTestimonialCardTreatmentIssue<TBlockId, TPurpose> | UnsupportedTileTreatmentIssue<TBlockId, TPurpose> | UnsupportedEventListTreatmentIssue<TBlockId, TPurpose> | UnsupportedEyebrowTreatmentIssue<TBlockId, TPurpose> | UnsupportedHeadingDecorationIssue<TBlockId, TPurpose> | UnsupportedAccordionIconTreatmentIssue<TBlockId, TPurpose> | ImageSurfaceTreatmentWithoutImageSurfaceIssue<TBlockId, TPurpose> | ImageSurfaceMotionWithoutImageSurfaceIssue<TBlockId, TPurpose> | HeroLegibilityOverriddenByImageSurfaceTreatmentIssue<TBlockId, TPurpose> | MissingBlockDesignCapabilityIssue<TBlockId, TPurpose> | UnsupportedBlockDesignCapabilityIssue<TBlockId, TPurpose> | RemovedTransitionForFlushFrameIssue<TBlockId, TPurpose> | HeroImageWithoutLegibilityIssue<TBlockId, TPurpose>;
689
+ export type DesignResolutionIssue<TBlockId extends string = DesignBlockId, TPurpose extends string = string> = UnsupportedSectionSurfaceIssue<TBlockId, TPurpose> | UnsupportedContentFrameIssue<TBlockId, TPurpose> | UnsupportedItemSurfaceIssue<TBlockId, TPurpose> | UnsupportedSectionHeightIssue<TBlockId, TPurpose> | UnsupportedImageSurfaceTreatmentIssue<TBlockId, TPurpose> | UnsupportedImageSurfaceMotionIssue<TBlockId, TPurpose> | UnsupportedTestimonialCardTreatmentIssue<TBlockId, TPurpose> | UnsupportedTileTreatmentIssue<TBlockId, TPurpose> | UnsupportedEventListTreatmentIssue<TBlockId, TPurpose> | UnsupportedEyebrowTreatmentIssue<TBlockId, TPurpose> | UnsupportedAccordionIconTreatmentIssue<TBlockId, TPurpose> | ImageSurfaceTreatmentWithoutImageSurfaceIssue<TBlockId, TPurpose> | ImageSurfaceMotionWithoutImageSurfaceIssue<TBlockId, TPurpose> | HeroLegibilityOverriddenByImageSurfaceTreatmentIssue<TBlockId, TPurpose> | MissingBlockDesignCapabilityIssue<TBlockId, TPurpose> | UnsupportedBlockDesignCapabilityIssue<TBlockId, TPurpose> | RemovedTransitionForFlushFrameIssue<TBlockId, TPurpose> | HeroImageWithoutLegibilityIssue<TBlockId, TPurpose>;
712
690
  export type DesignRepairResultForIssue<TIssue extends DesignResolutionIssue<string, string>> = {
713
691
  [TKind in TIssue['kind']]: Readonly<{
714
692
  kind: TKind extends 'removed-transition-for-flush-frame' ? 'repaired' : 'fallbackApplied';
@@ -21,6 +21,8 @@ export declare const paletteTokenNameSchema: z.ZodEnum<{
21
21
  primaryForeground: "primaryForeground";
22
22
  surfaceAlt: "surfaceAlt";
23
23
  }>;
24
+ export declare const themeColorBaseTokenNames: readonly ["primary", "primaryForeground", "secondary", "accent", "success", "warning", "destructive", "background", "surface", "surfaceAlt", "muted", "text", "border", "text", "heading", "mutedText", "surface", "background", "foreground", "border", "primary", "secondary", "accent", "success", "warning", "info", "error", "destructive", "scrim", "shadow", "onPrimary", "onSecondary", "onAccent", "onSuccess", "onWarning", "onInfo", "onError", "onDestructive", "onSurface", "white", "neutral", "primaryText", "secondaryForeground", "accentForeground"];
25
+ export declare const themeColorShadeSteps: readonly ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
24
26
  export type ThemeColorToken = string & {
25
27
  readonly __brand: 'ThemeColorToken';
26
28
  };
@@ -2,6 +2,7 @@ import type { ReactNode } from 'react';
2
2
  export type ComboboxItem<T = unknown> = Readonly<{
3
3
  id: string;
4
4
  label: string;
5
+ searchText?: string;
5
6
  item: T;
6
7
  }>;
7
8
  export type ComboboxProps<T = unknown> = Readonly<{