@riverbankcms/sdk 0.109.0 → 0.118.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 (294) hide show
  1. package/dist/{PreviewEditorSidebar-DWqwfy3_.mjs → PreviewEditorSidebar-BBcK1DjD.mjs} +178 -117
  2. package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-CuBFoYes.mjs} +3 -4
  3. package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-nKUT4TL-.mjs} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-BWIO_Dsi.mjs} +2789 -34525
  5. package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-CciG60M5.mjs} +88526 -57212
  6. package/dist/_dts/ai/src/contracts/proposals.d.ts +6939 -727
  7. package/dist/_dts/ai/src/designer/themePatch.d.ts +1 -1
  8. package/dist/_dts/api/src/bookingAdjustments.d.ts +30 -36
  9. package/dist/_dts/api/src/bookingRecords.d.ts +6 -74
  10. package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +3 -3
  11. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
  12. package/dist/_dts/api/src/contentRuntime.d.ts +9 -2
  13. package/dist/_dts/api/src/courses.d.ts +30 -15
  14. package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +4 -4
  15. package/dist/_dts/api/src/endpoints.d.ts +49 -4
  16. package/dist/_dts/api/src/event-presentation.d.ts +4 -0
  17. package/dist/_dts/api/src/index.d.ts +3 -3
  18. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +2 -2
  19. package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
  20. package/dist/_dts/api/src/sdkContracts.d.ts +108 -18
  21. package/dist/_dts/api/src/siteBanner.d.ts +8 -8
  22. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
  23. package/dist/_dts/api/src/siteOperations.d.ts +12 -20
  24. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
  25. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
  26. package/dist/_dts/api/src/webhooks.d.ts +98 -1
  27. package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
  28. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldDefaults.d.ts +3 -12
  29. package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +1 -5
  30. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -10
  31. package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
  32. package/dist/_dts/blocks/src/client.d.ts +4 -1
  33. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
  34. package/dist/_dts/blocks/src/index.d.ts +6 -7
  35. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +2 -2
  36. package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -2
  37. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
  38. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
  39. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +2 -4
  40. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
  41. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
  42. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
  43. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +5 -4
  44. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -8
  45. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
  46. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +2 -2
  47. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +3 -3
  48. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
  49. package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -15
  50. package/dist/_dts/blocks/src/system/blocks/intro.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +66 -66
  52. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -17
  53. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
  54. package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
  55. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +0 -3
  56. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
  57. package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
  58. package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
  59. package/dist/_dts/blocks/src/system/fragments/index.d.ts +0 -1
  60. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
  61. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +19 -2
  62. package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +8 -70
  63. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +1 -0
  64. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +6 -0
  65. package/dist/_dts/blocks/src/system/node/schema.d.ts +4 -4
  66. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
  67. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
  68. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
  69. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -10
  70. package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +5 -21
  71. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
  72. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
  73. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
  74. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
  76. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
  77. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
  78. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
  79. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
  80. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
  81. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
  82. package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
  83. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
  84. package/dist/_dts/blocks/src/system/runtime/nodes/richText-coerce.d.ts +14 -2
  85. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
  86. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
  87. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
  88. package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
  89. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
  90. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
  91. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
  92. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +17 -1
  93. package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +1 -1
  94. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +1 -1
  95. package/dist/_dts/content-editor/src/index.d.ts +12 -12
  96. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -2
  97. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +19 -4
  98. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -1
  99. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  100. package/dist/_dts/content-model/src/content-types/builtins.d.ts +3 -15
  101. package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +2 -0
  102. package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
  103. package/dist/_dts/content-model/src/templates/defaults.d.ts +1 -21
  104. package/dist/_dts/core/src/editor-state.d.ts +14 -1
  105. package/dist/_dts/core/src/footer-composition.d.ts +2 -1
  106. package/dist/_dts/core/src/index.d.ts +1 -0
  107. package/dist/_dts/core/src/rich-text.d.ts +16 -0
  108. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +367 -69
  109. package/dist/_dts/editor/src/index.d.ts +1 -1
  110. package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +3 -5
  111. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -1
  112. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -1
  113. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -1
  114. package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +15 -0
  115. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +3 -7
  116. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +12 -0
  117. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
  118. package/dist/_dts/editor-blocks/src/block-editor/utils.d.ts +1 -1
  119. package/dist/_dts/editor-blocks/src/index.d.ts +6 -5
  120. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
  121. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
  122. package/dist/_dts/media-core/src/contentMediaAudit.d.ts +104 -0
  123. package/dist/_dts/media-core/src/contentMediaAuditFieldAdapter.d.ts +8 -0
  124. package/dist/_dts/media-core/src/contentMediaSnapshotAudit.d.ts +22 -0
  125. package/dist/_dts/media-core/src/index.d.ts +3 -1
  126. package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
  127. package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
  128. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
  129. package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
  130. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
  131. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
  132. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
  133. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
  134. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
  135. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +7 -7
  136. package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
  137. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
  138. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
  139. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
  140. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
  141. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
  142. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
  143. package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
  144. package/dist/_dts/sdk/src/cli/commands/event.d.ts +18 -1
  145. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +2 -16
  146. package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
  147. package/dist/_dts/sdk/src/cli/content/reader.d.ts +8 -5
  148. package/dist/_dts/sdk/src/client/management/events.d.ts +2 -1
  149. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  150. package/dist/_dts/sdk/src/client/management/types.d.ts +38 -10
  151. package/dist/_dts/sdk/src/config/typed-entries.d.ts +7 -7
  152. package/dist/_dts/sdk/src/config/validation.d.ts +7 -7
  153. package/dist/_dts/sdk/src/contracts/content.d.ts +5 -15
  154. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  155. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -40
  156. package/dist/_dts/sdk/src/contracts/theme.d.ts +2 -18
  157. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
  158. package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +4 -4
  159. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
  160. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -2
  161. package/dist/_dts/sdk/src/rendering/helpers/index.d.ts +1 -1
  162. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -13
  163. package/dist/_dts/sdk/src/theme/index.d.ts +0 -29
  164. package/dist/_dts/sdk/src/version.d.ts +1 -1
  165. package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
  166. package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
  167. package/dist/_dts/site-commands/src/commands.d.ts +160 -24
  168. package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +2 -2
  169. package/dist/_dts/theme-core/src/buttons/core.d.ts +0 -1
  170. package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +22 -9
  171. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -2
  172. package/dist/_dts/theme-core/src/buttons/effects/presets/border.d.ts +1 -2
  173. package/dist/_dts/theme-core/src/buttons/effects/presets/overlay.d.ts +3 -1
  174. package/dist/_dts/theme-core/src/buttons/effects/presets/shadow.d.ts +2 -2
  175. package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +8 -18
  176. package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +2 -2
  177. package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -5
  178. package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -5
  179. package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +36 -0
  180. package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
  181. package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
  182. package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
  183. package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
  184. package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
  185. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
  186. package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
  187. package/dist/_dts/theme-core/src/buttons/types.d.ts +1638 -93
  188. package/dist/_dts/theme-core/src/cards/types.d.ts +13 -13
  189. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +969 -69
  190. package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
  191. package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +0 -1
  192. package/dist/_dts/theme-core/src/schema.d.ts +1100 -116
  193. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  194. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
  195. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +14 -14
  196. package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
  197. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
  198. package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
  199. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
  200. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
  201. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
  202. package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
  203. package/dist/cli/index.mjs +7368 -6668
  204. package/dist/cli/init-docs/content/cli-reference.md +40 -1
  205. package/dist/cli/init-docs/content/content-management.md +6 -0
  206. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
  207. package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-DIWj-P9v.mjs} +1 -1
  208. package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-De8YWBSr.mjs} +2 -3
  209. package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-seHTjimY.mjs} +2 -2
  210. package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BmQxFcJW.mjs} +1 -1
  211. package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-OoJAIUIj.mjs} +1 -2
  212. package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-CiZ8kdPk.mjs} +2 -2
  213. package/dist/client/{accordion-CeGreumd.mjs → accordion-6lnN__XJ.mjs} +1 -1
  214. package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-5uyqhONU.mjs} +6 -7
  215. package/dist/client/bookings.mjs +9179 -5865
  216. package/dist/client/{carousel-B2jDtogf.mjs → carousel-Dtnifil_.mjs} +1 -1
  217. package/dist/client/{cart-D-jZ-vaY.mjs → cart-5Tc5S7NV.mjs} +3 -3
  218. package/dist/client/{checkout-Dza-LA7N.mjs → checkout-CYKKN5Hr.mjs} +3 -3
  219. package/dist/client/client.mjs +3252 -3361
  220. package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorStyles-BWpj_h4C.mjs} +118 -1
  221. package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-CxCBybB4.mjs} +100 -37
  222. package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-Xj2jZS9X.mjs} +4 -5
  223. package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-CgcMoOgM.mjs} +2 -2
  224. package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-CEAH8Edc.mjs} +3 -3
  225. package/dist/client/{eventListing-YhKN018y.mjs → eventListing-qyPVQ0wP.mjs} +2 -2
  226. package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-DDu79CtL.mjs} +6 -7
  227. package/dist/client/{form-AcAL45rA.mjs → form-Bc7JKI7I.mjs} +1 -2
  228. package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-vTku_LEl.mjs} +2 -3
  229. package/dist/client/hooks.mjs +1774 -2273
  230. package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-Bg7X4Jna.mjs} +8 -5
  231. package/dist/client/{media-BK0O3b-U.mjs → media-CNE1Z-wb.mjs} +1 -2
  232. package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-lpylVdp5.mjs} +1 -2
  233. package/dist/client/{pricing-BSYVghwo.mjs → pricing-DE8fjJiT.mjs} +1 -1
  234. package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-D7Bo2RMH.mjs} +3 -3
  235. package/dist/client/{productList-BCKThwAI.mjs → productList-VjnZqiqN.mjs} +3 -3
  236. package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-DreFXjNP.mjs} +4256 -443
  237. package/dist/client/rendering/client.mjs +21776 -21970
  238. package/dist/client/rendering/islands.mjs +20 -20
  239. package/dist/client/rendering.mjs +3092 -3322
  240. package/dist/client/{shop-DeltVH10.mjs → shop-IRsHHbf7.mjs} +5 -6
  241. package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-gnI8PieZ.mjs} +27 -11
  242. package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-BTbrhObn.mjs} +1 -1
  243. package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-D6KS2_qk.mjs} +3 -3
  244. package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-DCccGCxV.mjs} +1 -1
  245. package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-eGs3rPZQ.mjs} +24 -126
  246. package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-CvSU2sur.mjs} +2 -2
  247. package/dist/preview-next/before-render.mjs +94 -6
  248. package/dist/preview-next/client/runtime.mjs +4 -4
  249. package/dist/preview-next/middleware.mjs +94 -6
  250. package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-DN7vcRsv.mjs} +94 -6
  251. package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-vW8QbyPN.mjs} +2 -2
  252. package/dist/{separator-CI5wZNXT.mjs → separator-DJ4bkeY3.mjs} +1 -1
  253. package/dist/server/components.mjs +5194 -5568
  254. package/dist/server/config-template-validation.mjs +4 -23
  255. package/dist/server/config-validation.mjs +1774 -2273
  256. package/dist/server/config.mjs +2043 -2508
  257. package/dist/server/data.mjs +1774 -2273
  258. package/dist/server/index.mjs +95 -7
  259. package/dist/server/next/revalidate.mjs +53 -1
  260. package/dist/server/next.mjs +5337 -5632
  261. package/dist/server/page-converter.mjs +1833 -2307
  262. package/dist/server/prebuild.mjs +1 -1
  263. package/dist/server/rendering/server.mjs +6713 -4874
  264. package/dist/server/rendering.mjs +5203 -5586
  265. package/dist/server/routing.mjs +2199 -2698
  266. package/dist/server/server.mjs +1885 -2355
  267. package/dist/server/theme-bridge.mjs +1986 -2222
  268. package/dist/server/theme.mjs +2367 -1581
  269. package/dist/server/webhooks.mjs +54 -2
  270. package/package.json +1 -1
  271. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +0 -40
  272. package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -19
  273. package/dist/_dts/media-core/src/legacyMediaValue.d.ts +0 -11
  274. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
  275. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
  276. package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
  277. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
  278. package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
  279. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
  280. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
  281. package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
  282. package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
  283. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
  284. package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
  285. package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
  286. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
  287. package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
  288. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -285
  289. package/dist/_dts/theme-core/src/styles/buttons.d.ts +0 -27
  290. package/dist/_dts/theme-core/src/styles/buttonsLibrary.d.ts +0 -2
  291. package/dist/_dts/theme-core/src/styles/glow.d.ts +0 -3
  292. package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
  293. package/dist/client/colorStyles-CrgzoXsm.mjs +0 -99
  294. package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
@@ -19,8 +19,8 @@ export type ThemeChromeTextLegibilityPlan = Readonly<{
19
19
  export declare const backgroundAppearanceQuickColorTokenNames: readonly ["background", "surface", "muted", "primary", "secondary", "accent"];
20
20
  export declare const backgroundAppearanceBaseColorTokenNames: readonly ["background", "surface", "surfaceAlt", "muted", "primary", "secondary", "accent", "neutral"];
21
21
  export declare const backgroundAppearanceShadeableColorTokenNames: readonly ["primary", "secondary", "accent", "neutral"];
22
- export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
23
- export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
22
+ export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "neutral-400" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
23
+ export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "neutral-400" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
24
24
  export declare function parseBackgroundAppearanceColorToken(value: unknown): ThemeColorToken | null;
25
25
  export declare function foregroundTokenForBackgroundAppearanceColorToken(token: ThemeColorToken): string;
26
26
  export declare function planThemeBackgroundTextLegibility(backgroundToken: ThemeColorToken, role?: BackgroundTextLegibilityRole): ThemeBackgroundTextLegibilityPlan;
@@ -1,4 +1,4 @@
1
- import { type ButtonPersonalityId, type KnownButtonPersonalityId } from '../buttons/personalities';
1
+ import { type ButtonStyleSelection } from '../buttons/styles';
2
2
  import { type KnownCuratedPaletteValueKey } from '../palette/curated';
3
3
  import type { Theme } from '../schema';
4
4
  import { type HeaderLayoutId, type HeaderLayoutIdValue, type HeaderLookId, type HeaderStyleId } from './headerLooks';
@@ -28,7 +28,7 @@ type CuratedSiteStyleCardOverrides = NonNullable<Theme['cards']>;
28
28
  type CuratedSiteStyleTestimonialQuoteOverrides = NonNullable<Theme['testimonialQuote']>;
29
29
  /**
30
30
  * Site-style-specific Theme overrides are applied after token recipes,
31
- * button personality, and curated palette selection have compiled the base
31
+ * button style, and curated palette selection have compiled the base
32
32
  * Theme. Values here intentionally win; palette and button selections remain
33
33
  * independent Style configurator choices.
34
34
  */
@@ -58,7 +58,9 @@ export type CuratedSiteStyleThemeOverrides = Readonly<{
58
58
  */
59
59
  testimonialQuote?: CuratedSiteStyleTestimonialQuoteOverrides;
60
60
  }>;
61
- export type ButtonPersonalityChoice = CuratedChoice<KnownButtonPersonalityId>;
61
+ export type ButtonStyleChoice = ButtonStyleSelection & Readonly<{
62
+ note?: string;
63
+ }>;
62
64
  export type CuratedPaletteRecommendation = CuratedChoice<KnownCuratedPaletteValueKey>;
63
65
  export type HeaderLayoutChoice = CuratedChoice<HeaderLayoutId>;
64
66
  export type HeaderStyleChoice = CuratedChoice<HeaderStyleId>;
@@ -121,7 +123,7 @@ export type CuratedSiteStyle = Readonly<{
121
123
  recommendedHeaderLookIds: readonly HeaderLookId[];
122
124
  recommendedFooterLookIds: readonly FooterLookId[];
123
125
  /** Authored picker choices. First item is the default/fallback. */
124
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
126
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
125
127
  /** Authored picker choices. First item is the default/fallback. */
126
128
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
127
129
  /** Concrete typography applied when this site style is selected. */
@@ -129,7 +131,7 @@ export type CuratedSiteStyle = Readonly<{
129
131
  /** Optional concrete hero typography applied with the site style. */
130
132
  heroTypography?: SiteStyleHeroTypography;
131
133
  }>;
132
- export declare function defaultButtonPersonalityForSiteStyle(siteStyle: CuratedSiteStyle): ButtonPersonalityId;
134
+ export declare function defaultButtonStyleSelectionForSiteStyle(siteStyle: CuratedSiteStyle): ButtonStyleSelection;
133
135
  export declare function defaultPaletteForSiteStyle(siteStyle: CuratedSiteStyle): KnownCuratedPaletteValueKey;
134
136
  /**
135
137
  * V1 generated site styles are curated product presets, not AI-authored design
@@ -168,7 +170,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
168
170
  recommendedHeaderLookIds: readonly HeaderLookId[];
169
171
  recommendedFooterLookIds: readonly FooterLookId[];
170
172
  /** Authored picker choices. First item is the default/fallback. */
171
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
173
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
172
174
  /** Authored picker choices. First item is the default/fallback. */
173
175
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
174
176
  /** Concrete typography applied when this site style is selected. */
@@ -207,7 +209,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
207
209
  recommendedHeaderLookIds: readonly HeaderLookId[];
208
210
  recommendedFooterLookIds: readonly FooterLookId[];
209
211
  /** Authored picker choices. First item is the default/fallback. */
210
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
212
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
211
213
  /** Authored picker choices. First item is the default/fallback. */
212
214
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
213
215
  /** Concrete typography applied when this site style is selected. */
@@ -246,7 +248,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
246
248
  recommendedHeaderLookIds: readonly HeaderLookId[];
247
249
  recommendedFooterLookIds: readonly FooterLookId[];
248
250
  /** Authored picker choices. First item is the default/fallback. */
249
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
251
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
250
252
  /** Authored picker choices. First item is the default/fallback. */
251
253
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
252
254
  /** Concrete typography applied when this site style is selected. */
@@ -285,7 +287,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
285
287
  recommendedHeaderLookIds: readonly HeaderLookId[];
286
288
  recommendedFooterLookIds: readonly FooterLookId[];
287
289
  /** Authored picker choices. First item is the default/fallback. */
288
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
290
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
289
291
  /** Authored picker choices. First item is the default/fallback. */
290
292
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
291
293
  /** Concrete typography applied when this site style is selected. */
@@ -324,7 +326,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
324
326
  recommendedHeaderLookIds: readonly HeaderLookId[];
325
327
  recommendedFooterLookIds: readonly FooterLookId[];
326
328
  /** Authored picker choices. First item is the default/fallback. */
327
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
329
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
328
330
  /** Authored picker choices. First item is the default/fallback. */
329
331
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
330
332
  /** Concrete typography applied when this site style is selected. */
@@ -363,7 +365,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
363
365
  recommendedHeaderLookIds: readonly HeaderLookId[];
364
366
  recommendedFooterLookIds: readonly FooterLookId[];
365
367
  /** Authored picker choices. First item is the default/fallback. */
366
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
368
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
367
369
  /** Authored picker choices. First item is the default/fallback. */
368
370
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
369
371
  /** Concrete typography applied when this site style is selected. */
@@ -402,7 +404,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
402
404
  recommendedHeaderLookIds: readonly HeaderLookId[];
403
405
  recommendedFooterLookIds: readonly FooterLookId[];
404
406
  /** Authored picker choices. First item is the default/fallback. */
405
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
407
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
406
408
  /** Authored picker choices. First item is the default/fallback. */
407
409
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
408
410
  /** Concrete typography applied when this site style is selected. */
@@ -441,7 +443,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
441
443
  recommendedHeaderLookIds: readonly HeaderLookId[];
442
444
  recommendedFooterLookIds: readonly FooterLookId[];
443
445
  /** Authored picker choices. First item is the default/fallback. */
444
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
446
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
445
447
  /** Authored picker choices. First item is the default/fallback. */
446
448
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
447
449
  /** Concrete typography applied when this site style is selected. */
@@ -480,7 +482,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
480
482
  recommendedHeaderLookIds: readonly HeaderLookId[];
481
483
  recommendedFooterLookIds: readonly FooterLookId[];
482
484
  /** Authored picker choices. First item is the default/fallback. */
483
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
485
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
484
486
  /** Authored picker choices. First item is the default/fallback. */
485
487
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
486
488
  /** Concrete typography applied when this site style is selected. */
@@ -519,7 +521,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
519
521
  recommendedHeaderLookIds: readonly HeaderLookId[];
520
522
  recommendedFooterLookIds: readonly FooterLookId[];
521
523
  /** Authored picker choices. First item is the default/fallback. */
522
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
524
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
523
525
  /** Authored picker choices. First item is the default/fallback. */
524
526
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
525
527
  /** Concrete typography applied when this site style is selected. */
@@ -558,7 +560,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
558
560
  recommendedHeaderLookIds: readonly HeaderLookId[];
559
561
  recommendedFooterLookIds: readonly FooterLookId[];
560
562
  /** Authored picker choices. First item is the default/fallback. */
561
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
563
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
562
564
  /** Authored picker choices. First item is the default/fallback. */
563
565
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
564
566
  /** Concrete typography applied when this site style is selected. */
@@ -597,7 +599,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
597
599
  recommendedHeaderLookIds: readonly HeaderLookId[];
598
600
  recommendedFooterLookIds: readonly FooterLookId[];
599
601
  /** Authored picker choices. First item is the default/fallback. */
600
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
602
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
601
603
  /** Authored picker choices. First item is the default/fallback. */
602
604
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
603
605
  /** Concrete typography applied when this site style is selected. */
@@ -636,7 +638,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
636
638
  recommendedHeaderLookIds: readonly HeaderLookId[];
637
639
  recommendedFooterLookIds: readonly FooterLookId[];
638
640
  /** Authored picker choices. First item is the default/fallback. */
639
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
641
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
640
642
  /** Authored picker choices. First item is the default/fallback. */
641
643
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
642
644
  /** Concrete typography applied when this site style is selected. */
@@ -675,7 +677,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
675
677
  recommendedHeaderLookIds: readonly HeaderLookId[];
676
678
  recommendedFooterLookIds: readonly FooterLookId[];
677
679
  /** Authored picker choices. First item is the default/fallback. */
678
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
680
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
679
681
  /** Authored picker choices. First item is the default/fallback. */
680
682
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
681
683
  /** Concrete typography applied when this site style is selected. */
@@ -714,7 +716,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
714
716
  recommendedHeaderLookIds: readonly HeaderLookId[];
715
717
  recommendedFooterLookIds: readonly FooterLookId[];
716
718
  /** Authored picker choices. First item is the default/fallback. */
717
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
719
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
718
720
  /** Authored picker choices. First item is the default/fallback. */
719
721
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
720
722
  /** Concrete typography applied when this site style is selected. */
@@ -753,7 +755,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
753
755
  recommendedHeaderLookIds: readonly HeaderLookId[];
754
756
  recommendedFooterLookIds: readonly FooterLookId[];
755
757
  /** Authored picker choices. First item is the default/fallback. */
756
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
758
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
757
759
  /** Authored picker choices. First item is the default/fallback. */
758
760
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
759
761
  /** Concrete typography applied when this site style is selected. */
@@ -792,7 +794,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
792
794
  recommendedHeaderLookIds: readonly HeaderLookId[];
793
795
  recommendedFooterLookIds: readonly FooterLookId[];
794
796
  /** Authored picker choices. First item is the default/fallback. */
795
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
797
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
796
798
  /** Authored picker choices. First item is the default/fallback. */
797
799
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
798
800
  /** Concrete typography applied when this site style is selected. */
@@ -831,7 +833,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
831
833
  recommendedHeaderLookIds: readonly HeaderLookId[];
832
834
  recommendedFooterLookIds: readonly FooterLookId[];
833
835
  /** Authored picker choices. First item is the default/fallback. */
834
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
836
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
835
837
  /** Authored picker choices. First item is the default/fallback. */
836
838
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
837
839
  /** Concrete typography applied when this site style is selected. */
@@ -871,7 +873,7 @@ export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
871
873
  recommendedHeaderLookIds: readonly HeaderLookId[];
872
874
  recommendedFooterLookIds: readonly FooterLookId[];
873
875
  /** Authored picker choices. First item is the default/fallback. */
874
- buttonPersonalityChoices: NonEmptyReadonlyArray<ButtonPersonalityChoice>;
876
+ buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
875
877
  /** Authored picker choices. First item is the default/fallback. */
876
878
  paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
877
879
  /** Concrete typography applied when this site style is selected. */
@@ -122,8 +122,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
122
122
  }, z.core.$strict>, z.ZodObject<{
123
123
  kind: z.ZodLiteral<"panel">;
124
124
  treatment: z.ZodEnum<{
125
- editorial: "editorial";
126
125
  raised: "raised";
126
+ editorial: "editorial";
127
127
  inset: "inset";
128
128
  }>;
129
129
  }, z.core.$strict>, z.ZodObject<{
@@ -141,8 +141,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
141
141
  flat: "flat";
142
142
  default: "default";
143
143
  none: "none";
144
- editorial: "editorial";
145
144
  raised: "raised";
145
+ editorial: "editorial";
146
146
  "color-blocked": "color-blocked";
147
147
  outlined: "outlined";
148
148
  inset: "inset";
@@ -197,9 +197,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
197
197
  secondary: "secondary";
198
198
  }>;
199
199
  intensity: z.ZodOptional<z.ZodEnum<{
200
- balanced: "balanced";
201
200
  soft: "soft";
202
201
  strong: "strong";
202
+ balanced: "balanced";
203
203
  }>>;
204
204
  }, z.core.$strict>, z.ZodObject<{
205
205
  kind: z.ZodLiteral<"brand-wash">;
@@ -209,30 +209,30 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
209
209
  secondary: "secondary";
210
210
  }>;
211
211
  intensity: z.ZodOptional<z.ZodEnum<{
212
- balanced: "balanced";
213
212
  soft: "soft";
214
213
  strong: "strong";
214
+ balanced: "balanced";
215
215
  }>>;
216
216
  }, z.core.$strict>, z.ZodObject<{
217
217
  kind: z.ZodLiteral<"neutral-scrim">;
218
218
  intensity: z.ZodOptional<z.ZodEnum<{
219
- balanced: "balanced";
220
219
  soft: "soft";
221
220
  strong: "strong";
221
+ balanced: "balanced";
222
222
  }>>;
223
223
  }, z.core.$strict>, z.ZodObject<{
224
224
  kind: z.ZodLiteral<"neutral-wash">;
225
225
  intensity: z.ZodOptional<z.ZodEnum<{
226
- balanced: "balanced";
227
226
  soft: "soft";
228
227
  strong: "strong";
228
+ balanced: "balanced";
229
229
  }>>;
230
230
  }, z.core.$strict>, z.ZodObject<{
231
231
  kind: z.ZodLiteral<"solid-panel">;
232
232
  intensity: z.ZodOptional<z.ZodEnum<{
233
- balanced: "balanced";
234
233
  soft: "soft";
235
234
  strong: "strong";
235
+ balanced: "balanced";
236
236
  }>>;
237
237
  }, z.core.$strict>], "kind">>;
238
238
  imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
@@ -343,8 +343,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
343
343
  }, z.core.$strict>, z.ZodObject<{
344
344
  kind: z.ZodLiteral<"panel">;
345
345
  treatment: z.ZodEnum<{
346
- editorial: "editorial";
347
346
  raised: "raised";
347
+ editorial: "editorial";
348
348
  inset: "inset";
349
349
  }>;
350
350
  }, z.core.$strict>, z.ZodObject<{
@@ -362,8 +362,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
362
362
  flat: "flat";
363
363
  default: "default";
364
364
  none: "none";
365
- editorial: "editorial";
366
365
  raised: "raised";
366
+ editorial: "editorial";
367
367
  "color-blocked": "color-blocked";
368
368
  outlined: "outlined";
369
369
  inset: "inset";
@@ -418,9 +418,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
418
418
  secondary: "secondary";
419
419
  }>;
420
420
  intensity: z.ZodOptional<z.ZodEnum<{
421
- balanced: "balanced";
422
421
  soft: "soft";
423
422
  strong: "strong";
423
+ balanced: "balanced";
424
424
  }>>;
425
425
  }, z.core.$strict>, z.ZodObject<{
426
426
  kind: z.ZodLiteral<"brand-wash">;
@@ -430,30 +430,30 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
430
430
  secondary: "secondary";
431
431
  }>;
432
432
  intensity: z.ZodOptional<z.ZodEnum<{
433
- balanced: "balanced";
434
433
  soft: "soft";
435
434
  strong: "strong";
435
+ balanced: "balanced";
436
436
  }>>;
437
437
  }, z.core.$strict>, z.ZodObject<{
438
438
  kind: z.ZodLiteral<"neutral-scrim">;
439
439
  intensity: z.ZodOptional<z.ZodEnum<{
440
- balanced: "balanced";
441
440
  soft: "soft";
442
441
  strong: "strong";
442
+ balanced: "balanced";
443
443
  }>>;
444
444
  }, z.core.$strict>, z.ZodObject<{
445
445
  kind: z.ZodLiteral<"neutral-wash">;
446
446
  intensity: z.ZodOptional<z.ZodEnum<{
447
- balanced: "balanced";
448
447
  soft: "soft";
449
448
  strong: "strong";
449
+ balanced: "balanced";
450
450
  }>>;
451
451
  }, z.core.$strict>, z.ZodObject<{
452
452
  kind: z.ZodLiteral<"solid-panel">;
453
453
  intensity: z.ZodOptional<z.ZodEnum<{
454
- balanced: "balanced";
455
454
  soft: "soft";
456
455
  strong: "strong";
456
+ balanced: "balanced";
457
457
  }>>;
458
458
  }, z.core.$strict>], "kind">>;
459
459
  imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
@@ -1,8 +1,7 @@
1
1
  import type { Theme } from '../schema';
2
- import { type SiteChromeLookDiagnostics } from './customizableSurfaces';
3
2
  import { type Brand } from './types';
4
- export declare const footerLookIdValues: readonly ["footer-identity-quiet", "footer-muted-grounding", "footer-centered-calm", "footer-split-editorial", "footer-editorial-columns", "site-footer-brand-two-band"];
5
- export type FooterLookIdValue = typeof footerLookIdValues[number];
3
+ export declare const footerLookIdValues: readonly ["footer-links-quiet", "footer-links-emphasized"];
4
+ export type FooterLookIdValue = (typeof footerLookIdValues)[number];
6
5
  export type FooterLookId = Brand<FooterLookIdValue, 'FooterLookId'>;
7
6
  export declare function asFooterLookId(value: FooterLookIdValue): FooterLookId;
8
7
  export type PersistedFooterLookIdParseResult = Readonly<{
@@ -18,179 +17,46 @@ export declare function parsePersistedFooterLookId(value: string): Exclude<Persi
18
17
  kind: 'empty';
19
18
  }>;
20
19
  export declare function parsePersistedFooterLookId(value: string | null | undefined): PersistedFooterLookIdParseResult;
21
- export declare const footerLayoutIdValues: readonly ["identity", "centered", "split", "columns"];
22
- export type FooterLayoutIdValue = typeof footerLayoutIdValues[number];
23
- export type FooterLayoutId = Brand<FooterLayoutIdValue, 'FooterLayoutId'>;
24
- export declare function asFooterLayoutId(value: FooterLayoutIdValue): FooterLayoutId;
25
- export declare const footerStyleIdValues: readonly ["quiet", "calm", "editorial", "brand-band"];
26
- export type FooterStyleIdValue = typeof footerStyleIdValues[number];
27
- export type FooterStyleId = Brand<FooterStyleIdValue, 'FooterStyleId'>;
28
- export declare function asFooterStyleId(value: FooterStyleIdValue): FooterStyleId;
29
- export type FooterLayoutDefinition = Readonly<{
30
- id: FooterLayoutId;
31
- label: string;
32
- description: string;
33
- requiresFooterNav?: boolean;
34
- requiresFooterNavGroups?: boolean;
35
- maxRecommendedNavDensity?: Extract<FooterSelectionContext['navDensity'], 'sparse' | 'balanced'>;
36
- }>;
37
- export type FooterStyleDefinition = Readonly<{
38
- id: FooterStyleId;
39
- label: string;
40
- description: string;
41
- }>;
42
20
  export type FooterLookDefinition = Readonly<{
43
21
  id: FooterLookId;
44
22
  label: string;
45
- layoutId: FooterLayoutId;
46
- styleId: FooterStyleId;
47
- hiddenFromLayoutStyleControls?: boolean;
48
- requiresFooterNav?: boolean;
49
- requiresFooterNavGroups?: boolean;
50
- maxRecommendedNavDensity?: Extract<FooterSelectionContext['navDensity'], 'sparse' | 'balanced'>;
51
- allowedContentPresence?: readonly Exclude<FooterSelectionContext['contentPresence'], 'unknown'>[];
23
+ description: string;
52
24
  compile: (theme: Theme) => Theme['footer'];
53
25
  }>;
54
- export type FooterSelectionContext = Readonly<{
55
- navDensity: 'unknown' | 'none' | 'sparse' | 'balanced' | 'dense';
56
- groupedNav: 'unknown' | 'none' | 'present';
57
- contentPresence: 'unknown' | 'default-footer' | 'footer-blocks' | 'default-and-blocks';
58
- }>;
59
- export type RejectedFooterLookReason = 'footer-nav-required' | 'footer-nav-groups-required' | 'footer-nav-too-dense' | 'footer-content-incompatible';
60
- export type RejectedFooterLook = Readonly<{
61
- lookId: FooterLookId;
62
- reasons: readonly RejectedFooterLookReason[];
63
- }>;
64
26
  export type FooterSelectionResult = Readonly<{
65
27
  selectedLookId: FooterLookId;
66
28
  selectedLook: FooterLookDefinition;
67
29
  footer: Theme['footer'];
68
- rejected: readonly RejectedFooterLook[];
30
+ rejected: readonly [];
31
+ }>;
32
+ export type FooterLookDiagnostics = Readonly<{
33
+ surface: Readonly<{
34
+ kind: 'site-footer';
35
+ }>;
36
+ selectedLookId: FooterLookId;
37
+ rejected: readonly [];
69
38
  }>;
70
- export type FooterLookDiagnostics = SiteChromeLookDiagnostics<FooterLookId, RejectedFooterLookReason>;
71
39
  export type FooterLookResolutionInput = Readonly<{
72
40
  theme: Theme;
73
41
  recommendedLookIds: readonly FooterLookId[];
74
- context?: Partial<FooterSelectionContext>;
75
42
  }>;
76
- export declare const defaultFooterSelectionContext: FooterSelectionContext;
77
43
  export declare const guaranteedFallbackFooterLookId: FooterLookId;
78
- export declare const footerLayoutCatalog: readonly [{
79
- readonly id: FooterLayoutId;
80
- readonly label: "Identity";
81
- readonly description: "Logo, site text, address, and legal copy without relying on footer navigation.";
82
- }, {
83
- readonly id: FooterLayoutId;
84
- readonly label: "Centered";
85
- readonly description: "A calm centered stack for identity, short copy, and optional compact navigation.";
86
- readonly maxRecommendedNavDensity: "sparse";
87
- }, {
88
- readonly id: FooterLayoutId;
89
- readonly label: "Split";
90
- readonly description: "Navigation and brand signoff separated into a wider split footer.";
91
- readonly requiresFooterNav: true;
92
- readonly maxRecommendedNavDensity: "balanced";
93
- }, {
94
- readonly id: FooterLayoutId;
95
- readonly label: "Columns";
96
- readonly description: "Grouped footer navigation columns with a supporting bottom line.";
97
- readonly requiresFooterNav: true;
98
- readonly requiresFooterNavGroups: true;
99
- }];
100
- export declare const footerStyleCatalog: readonly [{
101
- readonly id: FooterStyleId;
102
- readonly label: "Quiet";
103
- readonly description: "Lightweight, practical footer treatment.";
104
- }, {
105
- readonly id: FooterStyleId;
106
- readonly label: "Calm";
107
- readonly description: "Soft centered treatment with restrained dividers.";
108
- }, {
109
- readonly id: FooterStyleId;
110
- readonly label: "Editorial";
111
- readonly description: "Text-forward treatment with fine-line structure.";
112
- }, {
113
- readonly id: FooterStyleId;
114
- readonly label: "Brand band";
115
- readonly description: "High-contrast brand treatment with a stronger bottom bar.";
116
- }];
117
- export declare function getFooterLayout(id: FooterLayoutId): FooterLayoutDefinition | null;
118
- export declare function getFooterStyle(id: FooterStyleId): FooterStyleDefinition | null;
119
- export declare function getFooterLooksForLayout(layoutId: FooterLayoutId): readonly FooterLookDefinition[];
120
- export declare function getFooterLooksForStyle(styleId: FooterStyleId): readonly FooterLookDefinition[];
121
- export declare function findFooterLookForLayoutStyle(input: Readonly<{
122
- layoutId: FooterLayoutId;
123
- styleId: FooterStyleId;
124
- }>): FooterLookDefinition | null;
125
- export declare function findDefaultFooterLookForLayout(layoutId: FooterLayoutId): FooterLookDefinition | null;
126
- /**
127
- * No-nav-safe identity footer: brand and legal/supporting copy carry the
128
- * footer without implying missing navigation.
129
- */
130
- declare function identityQuietFooter(theme: Theme): Theme['footer'];
131
- /**
132
- * Back-compat alias for the previous default footer Look. It keeps existing
133
- * persisted selections valid while staying hidden from the new layout/style UI.
134
- */
135
- declare function mutedGroundingFooter(theme: Theme): Theme['footer'];
136
- /** Applies a high-contrast brand band with a darker full-bleed bottom bar. */
137
- declare function brandTwoBandFooter(theme: Theme): Theme['footer'];
138
- /**
139
- * Centered stack on a softly tinted band: logo, inline nav, address, and a
140
- * hairline-topped copyright line, all centered.
141
- */
142
- declare function centeredCalmFooter(theme: Theme): Theme['footer'];
143
- /** Editorial split footer: compact nav on one side, brand signoff on the other. */
144
- declare function splitEditorialFooter(theme: Theme): Theme['footer'];
145
- /**
146
- * Editorial columns: site name and supporting copy on the left, inline nav on
147
- * the right, with a hairline-topped bottom line. Uses the footer block's
148
- * columns layout.
149
- */
150
- declare function editorialColumnsFooter(theme: Theme): Theme['footer'];
44
+ declare function quietFooterLinks(theme: Theme): Theme['footer'];
45
+ declare function emphasizedFooterLinks(theme: Theme): Theme['footer'];
151
46
  export declare const footerLookCatalog: readonly [{
152
47
  readonly id: FooterLookId;
153
- readonly label: "Identity footer";
154
- readonly layoutId: FooterLayoutId;
155
- readonly styleId: FooterStyleId;
156
- readonly compile: typeof identityQuietFooter;
157
- }, {
158
- readonly id: FooterLookId;
159
- readonly label: "Muted grounding footer";
160
- readonly layoutId: FooterLayoutId;
161
- readonly styleId: FooterStyleId;
162
- readonly hiddenFromLayoutStyleControls: true;
163
- readonly compile: typeof mutedGroundingFooter;
164
- }, {
165
- readonly id: FooterLookId;
166
- readonly label: "Centered calm footer";
167
- readonly layoutId: FooterLayoutId;
168
- readonly styleId: FooterStyleId;
169
- readonly compile: typeof centeredCalmFooter;
170
- }, {
171
- readonly id: FooterLookId;
172
- readonly label: "Split editorial footer";
173
- readonly layoutId: FooterLayoutId;
174
- readonly styleId: FooterStyleId;
175
- readonly compile: typeof splitEditorialFooter;
176
- }, {
177
- readonly id: FooterLookId;
178
- readonly label: "Editorial columns footer";
179
- readonly layoutId: FooterLayoutId;
180
- readonly styleId: FooterStyleId;
181
- readonly compile: typeof editorialColumnsFooter;
48
+ readonly label: "Quiet links";
49
+ readonly description: "Regular-weight footer navigation with a restrained hover.";
50
+ readonly compile: typeof quietFooterLinks;
182
51
  }, {
183
52
  readonly id: FooterLookId;
184
- readonly label: "Two-band brand footer";
185
- readonly layoutId: FooterLayoutId;
186
- readonly styleId: FooterStyleId;
187
- readonly allowedContentPresence: readonly ["default-footer", "default-and-blocks"];
188
- readonly compile: typeof brandTwoBandFooter;
53
+ readonly label: "Emphasized links";
54
+ readonly description: "Medium-weight footer navigation with a clearer emphasis.";
55
+ readonly compile: typeof emphasizedFooterLinks;
189
56
  }];
190
57
  export declare function getFooterLook(id: FooterLookId): FooterLookDefinition | null;
191
58
  export declare function findFooterLook(id: FooterLookId): FooterLookDefinition | undefined;
192
59
  export declare function getFooterLookOrThrow(id: FooterLookId): FooterLookDefinition;
193
60
  export declare function resolveFooterLook(input: FooterLookResolutionInput): FooterSelectionResult;
194
61
  export declare function footerLookDiagnosticsFromSelectionResult(result: FooterSelectionResult): FooterLookDiagnostics;
195
- export declare function footerLookRejectionReasonLabel(reason: RejectedFooterLookReason): string;
196
62
  export {};
@@ -86,8 +86,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
86
86
  flat: "flat";
87
87
  default: "default";
88
88
  none: "none";
89
- editorial: "editorial";
90
89
  raised: "raised";
90
+ editorial: "editorial";
91
91
  "color-blocked": "color-blocked";
92
92
  outlined: "outlined";
93
93
  inset: "inset";
@@ -241,8 +241,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
241
241
  flat: "flat";
242
242
  default: "default";
243
243
  none: "none";
244
- editorial: "editorial";
245
244
  raised: "raised";
245
+ editorial: "editorial";
246
246
  "color-blocked": "color-blocked";
247
247
  outlined: "outlined";
248
248
  inset: "inset";
@@ -1,3 +1,5 @@
1
1
  import type { Theme } from '../schema';
2
2
  export type HeaderCtaTreatment = 'default' | 'primary' | 'secondary' | 'inverted' | 'outline' | 'ghost';
3
- export declare function resolveHeaderCtaVariant(theme: Theme, treatment: HeaderCtaTreatment): string | undefined;
3
+ type HeaderCtaButtonTheme = Pick<Theme, 'buttons'>;
4
+ export declare function resolveHeaderCtaVariant(theme: HeaderCtaButtonTheme, treatment: HeaderCtaTreatment): string | undefined;
5
+ export {};
@@ -155,8 +155,8 @@ export declare const pageDesignBoundaryTreatmentSchema: z.ZodDiscriminatedUnion<
155
155
  expansive: "expansive";
156
156
  }>;
157
157
  curve: z.ZodEnum<{
158
- spacious: "spacious";
159
158
  soft: "soft";
159
+ spacious: "spacious";
160
160
  expansive: "expansive";
161
161
  }>;
162
162
  }, z.core.$strict>, z.ZodObject<{
@@ -213,8 +213,8 @@ export declare const pageDesignUserPinnedBoundaryTreatmentChoiceSchema: z.ZodObj
213
213
  expansive: "expansive";
214
214
  }>;
215
215
  curve: z.ZodEnum<{
216
- spacious: "spacious";
217
216
  soft: "soft";
217
+ spacious: "spacious";
218
218
  expansive: "expansive";
219
219
  }>;
220
220
  }, z.core.$strict>, z.ZodObject<{
@@ -284,8 +284,8 @@ export declare const pageDesignBoundaryPinSchema: z.ZodObject<{
284
284
  expansive: "expansive";
285
285
  }>;
286
286
  curve: z.ZodEnum<{
287
- spacious: "spacious";
288
287
  soft: "soft";
288
+ spacious: "spacious";
289
289
  expansive: "expansive";
290
290
  }>;
291
291
  }, z.core.$strict>, z.ZodObject<{
@@ -396,8 +396,8 @@ export declare const pageDesignIntentV2Schema: z.ZodObject<{
396
396
  expansive: "expansive";
397
397
  }>;
398
398
  curve: z.ZodEnum<{
399
- spacious: "spacious";
400
399
  soft: "soft";
400
+ spacious: "spacious";
401
401
  expansive: "expansive";
402
402
  }>;
403
403
  }, z.core.$strict>, z.ZodObject<{