@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
@@ -13,7 +13,8 @@ const SUPPORTED_WEBHOOK_EVENTS = [
13
13
  "entry.path_changed",
14
14
  "navigation.updated",
15
15
  "theme.updated",
16
- "site.settings_updated"
16
+ "site.settings_updated",
17
+ "events.updated"
17
18
  ];
18
19
  const WebhookEventSchema = z.enum(SUPPORTED_WEBHOOK_EVENTS);
19
20
  function asRevalidationPath(path) {
@@ -89,6 +90,51 @@ const EntryPathChangedDataSchema = z.object({
89
90
  }).strict();
90
91
  const NavigationUpdatedDataSchema = z.object({ menuId: z.string().optional() }).strict();
91
92
  const EmptyWebhookDataSchema = z.object({}).strict();
93
+ const EventSeriesPublicActionSchema = z.enum([
94
+ "created",
95
+ "updated",
96
+ "cancelled",
97
+ "archived",
98
+ "restored",
99
+ "deleted"
100
+ ]);
101
+ const EventOccurrencePublicActionSchema = z.enum([
102
+ "created",
103
+ "updated",
104
+ "cancelled",
105
+ "deleted"
106
+ ]);
107
+ const EventRegistrationCapacityActionSchema = z.enum([
108
+ "created",
109
+ "cancelled",
110
+ "hold_expired",
111
+ "waitlist_promoted"
112
+ ]);
113
+ const EventsUpdatedDataSchema = z.discriminatedUnion("entity", [
114
+ z.object({
115
+ entity: z.literal("series"),
116
+ action: EventSeriesPublicActionSchema,
117
+ seriesId: z.string().min(1)
118
+ }).strict(),
119
+ z.object({
120
+ entity: z.literal("occurrence"),
121
+ action: EventOccurrencePublicActionSchema,
122
+ seriesId: z.string().min(1),
123
+ occurrenceId: z.string().min(1)
124
+ }).strict(),
125
+ z.object({
126
+ entity: z.literal("registration"),
127
+ action: EventRegistrationCapacityActionSchema,
128
+ seriesId: z.string().min(1),
129
+ occurrenceIds: z.tuple([z.string().min(1)]).rest(z.string().min(1))
130
+ }).strict()
131
+ ]).superRefine((data, ctx) => {
132
+ if (data.entity === "registration" && new Set(data.occurrenceIds).size !== data.occurrenceIds.length) ctx.addIssue({
133
+ code: "custom",
134
+ path: ["occurrenceIds"],
135
+ message: "Occurrence IDs must be unique"
136
+ });
137
+ });
92
138
  const WebhookPayloadBaseSchema = z.object({
93
139
  timestamp: z.string(),
94
140
  dispatchId: z.string().optional(),
@@ -140,6 +186,12 @@ const WebhookPayloadSchema = z.discriminatedUnion("event", [
140
186
  WebhookPayloadBaseSchema.extend({
141
187
  event: z.literal("site.settings_updated"),
142
188
  data: EmptyWebhookDataSchema
189
+ }),
190
+ WebhookPayloadBaseSchema.extend({
191
+ event: z.literal("events.updated"),
192
+ dispatchId: z.string().min(1),
193
+ tags: z.array(z.string()).min(1),
194
+ data: EventsUpdatedDataSchema
143
195
  })
144
196
  ]);
145
197
  //#endregion
@@ -216,4 +268,4 @@ function parseWebhookPayload(body) {
216
268
  };
217
269
  }
218
270
  //#endregion
219
- export { RIVERBANK_SIGNATURE_PREFIX, SUPPORTED_WEBHOOK_EVENTS, WebhookEventSchema, WebhookPayloadSchema, normalizeRevalidationPath, parseRevalidationPath, parseWebhookPayload, unwrapRevalidationPath, verifyWebhookSignature };
271
+ export { EventsUpdatedDataSchema, RIVERBANK_SIGNATURE_PREFIX, SUPPORTED_WEBHOOK_EVENTS, WebhookEventSchema, WebhookPayloadSchema, normalizeRevalidationPath, parseRevalidationPath, parseWebhookPayload, unwrapRevalidationPath, verifyWebhookSignature };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riverbankcms/sdk",
3
- "version": "0.109.0",
3
+ "version": "0.118.0",
4
4
  "description": "Riverbank CMS SDK for headless content consumption",
5
5
  "main": "./dist/server/index.mjs",
6
6
  "module": "./dist/server/index.mjs",
@@ -1,40 +0,0 @@
1
- import React from "react";
2
- import type { HydratedTheme } from "../../../../../theme-core/src/schema";
3
- type BaseButtonProps = {
4
- theme: HydratedTheme;
5
- children?: React.ReactNode;
6
- size?: "sm" | "md" | "lg" | "xl";
7
- className?: string;
8
- glow?: string;
9
- variant?: string;
10
- };
11
- export type OutlineButtonProps = BaseButtonProps & {
12
- borderThickness?: string;
13
- background?: string;
14
- color?: string;
15
- };
16
- export type SolidButtonProps = BaseButtonProps & {
17
- subtleGradient?: boolean;
18
- background?: string;
19
- };
20
- export type GradientButtonProps = BaseButtonProps & {
21
- gradient: unknown;
22
- };
23
- export type ButtonProps = BaseButtonProps & Partial<OutlineButtonProps> & Partial<SolidButtonProps> & Partial<GradientButtonProps> & {
24
- styles?: React.CSSProperties;
25
- };
26
- /**
27
- * Generic Button component
28
- *
29
- * Supports both old button system (via ButtonSpec) and new button system (via variant prop).
30
- * When variant is provided and theme.buttons exists, uses CSS variables from the new system.
31
- * Otherwise falls back to the old resolveButton logic.
32
- */
33
- export declare function Button({ theme, children, className, size, variant, styles, }: ButtonProps): React.JSX.Element;
34
- export declare const PrimaryButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
35
- export declare const SecondaryButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
36
- export declare const GhostButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
37
- export declare const LinkButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
38
- export declare const CtaGradientButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
39
- export declare const AccentButton: ({ theme, children, className, size, }: BaseButtonProps) => React.JSX.Element;
40
- export {};
@@ -1,19 +0,0 @@
1
- export declare const footerBottomTextFragment: import("..").DefinedFragment<{
2
- readonly fields: readonly [{
3
- readonly id: "bodyText";
4
- readonly type: "richText";
5
- readonly label: "Body text";
6
- readonly description: "Appears in the main footer area.";
7
- readonly ui: {
8
- readonly variant: "limited";
9
- };
10
- }, {
11
- readonly id: "bottomText";
12
- readonly type: "richText";
13
- readonly label: "Bottom bar text";
14
- readonly description: "Appears in the optional footer bottom bar.";
15
- readonly ui: {
16
- readonly variant: "limited";
17
- };
18
- }];
19
- }>;
@@ -1,11 +0,0 @@
1
- export type LegacyStringMediaFieldConfig = Readonly<{
2
- type: 'media' | 'file';
3
- mediaKinds?: readonly string[] | null;
4
- fileKinds?: readonly string[] | null;
5
- }>;
6
- export type LegacyStringMediaValue = Readonly<{
7
- type: string;
8
- src: string;
9
- }>;
10
- export declare function legacyStringMediaTypeForField(field: LegacyStringMediaFieldConfig): string;
11
- export declare function normalizeLegacyStringMediaValueForField(value: unknown, field: LegacyStringMediaFieldConfig): unknown;
@@ -1,16 +0,0 @@
1
- /**
2
- * Brushed Wash — gradient backgrounds that read as watercolour washes.
3
- * Generous padding, soft shadows; pairs with vibrant organic brands.
4
- */
5
- export declare const brushedWash: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"brushed-wash">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Confident Chip — moderate-radius solid buttons that read as competent and
3
- * direct. Default for Clear Professional; works for any modern brand voice.
4
- */
5
- export declare const confidentChip: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"confident-chip">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Earth Pill - warm studio pills with compact, primary-coloured ghost CTAs.
3
- * Built for grounded editorial wellness styles such as Soft Earth.
4
- */
5
- export declare const earthPill: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"earth-pill">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Editorial Link — all variants are link-style with a growing underline.
3
- * Default for Warm Editorial and Quiet Luxury; reads as refined and quiet.
4
- */
5
- export declare const editorialLink: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"editorial-link">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Flat Ink — a solid ink primary, a hairline ghost secondary, and a single
3
- * amber accent climax, all completely flat (no drop shadow) with a modest
4
- * radius. Reads as grounded, editorial and clinician-precise: the Fulcrum
5
- * physiotherapy voice. The primary shifts to the secondary (moss) on hover and
6
- * every variant lifts 2px; the amber accent is meant to be used sparingly as
7
- * the page's one conversion climax.
8
- */
9
- export declare const flatInk: Readonly<{
10
- id: import("./types").ButtonPersonalityId<"flat-ink">;
11
- name: string;
12
- description: string;
13
- tags: Readonly<Partial<Readonly<{
14
- tone: import("../../../../blocks/src/index").StyleTone;
15
- energy: import("../../../../blocks/src/index").StyleEnergy;
16
- motion: import("../../../../blocks/src/index").StyleMotion;
17
- era: import("../../../../blocks/src/index").StyleEra;
18
- }>>>;
19
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
20
- }>;
@@ -1,172 +0,0 @@
1
- /**
2
- * Button personality library.
3
- *
4
- * Each personality is a complete `ButtonSystem` tagged on the four style axes
5
- * (tone / energy / motion / era). Curated site styles declare ordered
6
- * personality choices for the picker. Tags stay available as authoring/audit
7
- * metadata; they no longer drive the Style configurator's option shape.
8
- */
9
- import type { ButtonPersonality, ButtonPersonalityId } from './types';
10
- export type { ButtonPersonality, ButtonPersonalityId } from './types';
11
- export { asButtonPersonalityId, buttonPersonalityIdSchema, buttonPersonalitySchema, defineButtonPersonality, } from './types';
12
- export declare const buttonPersonalities: readonly [Readonly<{
13
- id: ButtonPersonalityId<"soft-pill">;
14
- name: string;
15
- description: string;
16
- tags: Readonly<Partial<Readonly<{
17
- tone: import("../../../../blocks/src/index").StyleTone;
18
- energy: import("../../../../blocks/src/index").StyleEnergy;
19
- motion: import("../../../../blocks/src/index").StyleMotion;
20
- era: import("../../../../blocks/src/index").StyleEra;
21
- }>>>;
22
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
23
- }>, Readonly<{
24
- id: ButtonPersonalityId<"two-tone-pill">;
25
- name: string;
26
- description: string;
27
- tags: Readonly<Partial<Readonly<{
28
- tone: import("../../../../blocks/src/index").StyleTone;
29
- energy: import("../../../../blocks/src/index").StyleEnergy;
30
- motion: import("../../../../blocks/src/index").StyleMotion;
31
- era: import("../../../../blocks/src/index").StyleEra;
32
- }>>>;
33
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
34
- }>, Readonly<{
35
- id: ButtonPersonalityId<"earth-pill">;
36
- name: string;
37
- description: string;
38
- tags: Readonly<Partial<Readonly<{
39
- tone: import("../../../../blocks/src/index").StyleTone;
40
- energy: import("../../../../blocks/src/index").StyleEnergy;
41
- motion: import("../../../../blocks/src/index").StyleMotion;
42
- era: import("../../../../blocks/src/index").StyleEra;
43
- }>>>;
44
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
45
- }>, Readonly<{
46
- id: ButtonPersonalityId<"confident-chip">;
47
- name: string;
48
- description: string;
49
- tags: Readonly<Partial<Readonly<{
50
- tone: import("../../../../blocks/src/index").StyleTone;
51
- energy: import("../../../../blocks/src/index").StyleEnergy;
52
- motion: import("../../../../blocks/src/index").StyleMotion;
53
- era: import("../../../../blocks/src/index").StyleEra;
54
- }>>>;
55
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
56
- }>, Readonly<{
57
- id: ButtonPersonalityId<"editorial-link">;
58
- name: string;
59
- description: string;
60
- tags: Readonly<Partial<Readonly<{
61
- tone: import("../../../../blocks/src/index").StyleTone;
62
- energy: import("../../../../blocks/src/index").StyleEnergy;
63
- motion: import("../../../../blocks/src/index").StyleMotion;
64
- era: import("../../../../blocks/src/index").StyleEra;
65
- }>>>;
66
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
67
- }>, Readonly<{
68
- id: ButtonPersonalityId<"pebble">;
69
- name: string;
70
- description: string;
71
- tags: Readonly<Partial<Readonly<{
72
- tone: import("../../../../blocks/src/index").StyleTone;
73
- energy: import("../../../../blocks/src/index").StyleEnergy;
74
- motion: import("../../../../blocks/src/index").StyleMotion;
75
- era: import("../../../../blocks/src/index").StyleEra;
76
- }>>>;
77
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
78
- }>, Readonly<{
79
- id: ButtonPersonalityId<"ink-stamp">;
80
- name: string;
81
- description: string;
82
- tags: Readonly<Partial<Readonly<{
83
- tone: import("../../../../blocks/src/index").StyleTone;
84
- energy: import("../../../../blocks/src/index").StyleEnergy;
85
- motion: import("../../../../blocks/src/index").StyleMotion;
86
- era: import("../../../../blocks/src/index").StyleEra;
87
- }>>>;
88
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
89
- }>, Readonly<{
90
- id: ButtonPersonalityId<"flat-ink">;
91
- name: string;
92
- description: string;
93
- tags: Readonly<Partial<Readonly<{
94
- tone: import("../../../../blocks/src/index").StyleTone;
95
- energy: import("../../../../blocks/src/index").StyleEnergy;
96
- motion: import("../../../../blocks/src/index").StyleMotion;
97
- era: import("../../../../blocks/src/index").StyleEra;
98
- }>>>;
99
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
100
- }>, Readonly<{
101
- id: ButtonPersonalityId<"brushed-wash">;
102
- name: string;
103
- description: string;
104
- tags: Readonly<Partial<Readonly<{
105
- tone: import("../../../../blocks/src/index").StyleTone;
106
- energy: import("../../../../blocks/src/index").StyleEnergy;
107
- motion: import("../../../../blocks/src/index").StyleMotion;
108
- era: import("../../../../blocks/src/index").StyleEra;
109
- }>>>;
110
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
111
- }>, Readonly<{
112
- id: ButtonPersonalityId<"showtime-pill">;
113
- name: string;
114
- description: string;
115
- tags: Readonly<Partial<Readonly<{
116
- tone: import("../../../../blocks/src/index").StyleTone;
117
- energy: import("../../../../blocks/src/index").StyleEnergy;
118
- motion: import("../../../../blocks/src/index").StyleMotion;
119
- era: import("../../../../blocks/src/index").StyleEra;
120
- }>>>;
121
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
122
- }>, Readonly<{
123
- id: ButtonPersonalityId<"joy-stamp">;
124
- name: string;
125
- description: string;
126
- tags: Readonly<Partial<Readonly<{
127
- tone: import("../../../../blocks/src/index").StyleTone;
128
- energy: import("../../../../blocks/src/index").StyleEnergy;
129
- motion: import("../../../../blocks/src/index").StyleMotion;
130
- era: import("../../../../blocks/src/index").StyleEra;
131
- }>>>;
132
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
133
- }>, Readonly<{
134
- id: ButtonPersonalityId<"ornate-ritual">;
135
- name: string;
136
- description: string;
137
- tags: Readonly<Partial<Readonly<{
138
- tone: import("../../../../blocks/src/index").StyleTone;
139
- energy: import("../../../../blocks/src/index").StyleEnergy;
140
- motion: import("../../../../blocks/src/index").StyleMotion;
141
- era: import("../../../../blocks/src/index").StyleEra;
142
- }>>>;
143
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
144
- }>, Readonly<{
145
- id: ButtonPersonalityId<"quiet-arrow">;
146
- name: string;
147
- description: string;
148
- tags: Readonly<Partial<Readonly<{
149
- tone: import("../../../../blocks/src/index").StyleTone;
150
- energy: import("../../../../blocks/src/index").StyleEnergy;
151
- motion: import("../../../../blocks/src/index").StyleMotion;
152
- era: import("../../../../blocks/src/index").StyleEra;
153
- }>>>;
154
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
155
- }>];
156
- type UnbrandedButtonPersonalityId<TValue> = TValue extends infer TRaw & {
157
- readonly __brand: 'ButtonPersonalityId';
158
- } ? TRaw extends string ? TRaw : never : never;
159
- export type KnownButtonPersonalityId = (typeof buttonPersonalities)[number]['id'];
160
- export type KnownButtonPersonalityIdValue = UnbrandedButtonPersonalityId<KnownButtonPersonalityId>;
161
- export declare function findButtonPersonality(id: ButtonPersonalityId): ButtonPersonality | undefined;
162
- export declare function isKnownButtonPersonalityId(value: string): value is KnownButtonPersonalityId;
163
- export type PersistedButtonPersonalityIdParseResult = Readonly<{
164
- kind: 'known';
165
- id: KnownButtonPersonalityId;
166
- }> | Readonly<{
167
- kind: 'unknown';
168
- raw: string;
169
- }> | Readonly<{
170
- kind: 'empty';
171
- }>;
172
- export declare function parsePersistedButtonPersonalityId(value: string | null | undefined): PersistedButtonPersonalityIdParseResult;
@@ -1,16 +0,0 @@
1
- /**
2
- * Ink Stamp — solid earthy fills with a bordered, hand-stamped block-print
3
- * feel. Reads as bold and handmade; suits expressive craft brands.
4
- */
5
- export declare const inkStamp: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"ink-stamp">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,22 +0,0 @@
1
- /**
2
- * Joy Stamp — neo-brutalist pills with a hard, brand-coloured offset shadow
3
- * that collapses as the button presses into it on hover. Authored for the
4
- * Original Joy site style: a cream "stamp" shadow under the solid primary, and
5
- * a brown shadow under the cream outline. Reads as bold, warm, and handmade.
6
- *
7
- * The coloured offset shadow relies on the per-variant `shadow.colorToken`
8
- * extension; the press is the shared `press-down` effect, which matches its
9
- * translate to each variant's own shadow offset.
10
- */
11
- export declare const joyStamp: Readonly<{
12
- id: import("./types").ButtonPersonalityId<"joy-stamp">;
13
- name: string;
14
- description: string;
15
- tags: Readonly<Partial<Readonly<{
16
- tone: import("../../../../blocks/src/index").StyleTone;
17
- energy: import("../../../../blocks/src/index").StyleEnergy;
18
- motion: import("../../../../blocks/src/index").StyleMotion;
19
- era: import("../../../../blocks/src/index").StyleEra;
20
- }>>>;
21
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
22
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Ornate Ritual — framed, ceremonial buttons with jewel-toned fills and
3
- * deliberate spacing. Designed for music, ceremony, and soulful event sites.
4
- */
5
- export declare const ornateRitual: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"ornate-ritual">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Pebble — large pill primaries with generous padding. Reads as spa-luxurious
3
- * and natural; pairs well with wellness/yoga/dance brands.
4
- */
5
- export declare const pebble: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"pebble">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,17 +0,0 @@
1
- /**
2
- * Quiet Arrow — wide, flat editorial buttons for grounded service businesses.
3
- * Primary and secondary keep stable semantic colours; surrounding surfaces are
4
- * responsible for contrast rather than reversing the button roles.
5
- */
6
- export declare const quietArrow: Readonly<{
7
- id: import("./types").ButtonPersonalityId<"quiet-arrow">;
8
- name: string;
9
- description: string;
10
- tags: Readonly<Partial<Readonly<{
11
- tone: import("../../../../blocks/src/index").StyleTone;
12
- energy: import("../../../../blocks/src/index").StyleEnergy;
13
- motion: import("../../../../blocks/src/index").StyleMotion;
14
- era: import("../../../../blocks/src/index").StyleEra;
15
- }>>>;
16
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
17
- }>;
@@ -1,17 +0,0 @@
1
- /**
2
- * Showtime Pill — bold, spacious, fully rounded buttons with playful pop
3
- * motion. Suits energetic schools, performers, festivals, and community brands
4
- * that need calls to action to feel loud without becoming visually chaotic.
5
- */
6
- export declare const showtimePill: Readonly<{
7
- id: import("./types").ButtonPersonalityId<"showtime-pill">;
8
- name: string;
9
- description: string;
10
- tags: Readonly<Partial<Readonly<{
11
- tone: import("../../../../blocks/src/index").StyleTone;
12
- energy: import("../../../../blocks/src/index").StyleEnergy;
13
- motion: import("../../../../blocks/src/index").StyleMotion;
14
- era: import("../../../../blocks/src/index").StyleEra;
15
- }>>>;
16
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
17
- }>;
@@ -1,16 +0,0 @@
1
- /**
2
- * Soft Pill — rounded-full pill buttons with a hover lift. The default for
3
- * Calm Studio and Modern Wellness; reads as quietly modern and welcoming.
4
- */
5
- export declare const softPill: Readonly<{
6
- id: import("./types").ButtonPersonalityId<"soft-pill">;
7
- name: string;
8
- description: string;
9
- tags: Readonly<Partial<Readonly<{
10
- tone: import("../../../../blocks/src/index").StyleTone;
11
- energy: import("../../../../blocks/src/index").StyleEnergy;
12
- motion: import("../../../../blocks/src/index").StyleMotion;
13
- era: import("../../../../blocks/src/index").StyleEra;
14
- }>>>;
15
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
16
- }>;
@@ -1,17 +0,0 @@
1
- /**
2
- * Two-tone Pill keeps Soft Pill's shape, spacing, typography, and motion while
3
- * giving secondary actions their own solid palette role. The derived
4
- * `onSecondary` token keeps the label legible as the site's palette changes.
5
- */
6
- export declare const twoTonePill: Readonly<{
7
- id: import("./types").ButtonPersonalityId<"two-tone-pill">;
8
- name: string;
9
- description: string;
10
- tags: Readonly<Partial<Readonly<{
11
- tone: import("../../../../blocks/src/index").StyleTone;
12
- energy: import("../../../../blocks/src/index").StyleEnergy;
13
- motion: import("../../../../blocks/src/index").StyleMotion;
14
- era: import("../../../../blocks/src/index").StyleEra;
15
- }>>>;
16
- buttonSystem: import("../../../../blocks/src/index").ButtonSystem;
17
- }>;