@riverbankcms/sdk 0.104.1 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/README.md +84 -51
  2. package/dist/{PreviewEditorSidebar-CmaPXdKu.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
  3. package/dist/{PreviewEditorUI-C5xRTh2b.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-Eks51NcN.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +3244 -528
  6. package/dist/{SiteChromeCustomizeContext-Bt8zb3qu.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +4945 -3010
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1329
  8. package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
  9. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
  10. package/dist/_dts/api/src/contentRuntime.d.ts +6 -15
  11. package/dist/_dts/api/src/courses.d.ts +68 -10
  12. package/dist/_dts/api/src/endpoints.d.ts +29 -0
  13. package/dist/_dts/api/src/index.d.ts +124 -124
  14. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
  15. package/dist/_dts/api/src/sdkContracts.d.ts +116 -6
  16. package/dist/_dts/api/src/siteOperations.d.ts +1 -0
  17. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +26 -4
  18. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +31 -46
  19. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
  20. package/dist/_dts/blocks/src/definitions.d.ts +1 -1
  21. package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
  22. package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +12 -8
  23. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
  24. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
  25. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
  26. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +7 -0
  27. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
  28. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
  29. package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +11 -1
  30. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
  31. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
  32. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
  33. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
  34. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
  35. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
  36. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
  37. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
  38. package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
  39. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
  40. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
  41. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  42. package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
  43. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
  44. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  45. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
  46. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
  47. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +12 -0
  48. package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
  49. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +2 -2
  50. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  51. package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
  52. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
  53. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
  54. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +15 -0
  55. package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +33 -0
  56. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
  57. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
  58. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
  59. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
  60. package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
  61. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
  63. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  64. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
  65. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
  66. package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
  67. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +32 -0
  68. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCapacity.d.ts +32 -0
  69. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
  70. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
  71. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
  72. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
  73. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
  74. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -0
  75. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
  76. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
  77. package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +84 -0
  78. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +2 -0
  79. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -40
  80. package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +14 -0
  81. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +11 -0
  82. package/dist/_dts/core/src/branded.d.ts +49 -0
  83. package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
  84. package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
  85. package/dist/_dts/core/src/index.d.ts +49 -47
  86. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1469 -14
  87. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
  88. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
  89. package/dist/_dts/media-core/src/index.d.ts +2 -1
  90. package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
  91. package/dist/_dts/media-core/src/url.d.ts +1 -21
  92. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
  93. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
  94. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
  95. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -9
  96. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -11
  97. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -9
  98. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
  99. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
  100. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
  101. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
  102. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
  103. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
  104. package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
  105. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
  106. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
  107. package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
  108. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
  109. package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
  110. package/dist/_dts/sdk/src/client/management/blocks.d.ts +1 -1
  111. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  112. package/dist/_dts/sdk/src/client/management/types.d.ts +132 -23
  113. package/dist/_dts/sdk/src/client/types.d.ts +2 -0
  114. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  115. package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
  116. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  117. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +25 -5
  118. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
  119. package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
  120. package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
  121. package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
  122. package/dist/_dts/sdk/src/data/index.d.ts +3 -3
  123. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
  124. package/dist/_dts/sdk/src/data/types.d.ts +43 -78
  125. package/dist/_dts/sdk/src/next/index.d.ts +1 -0
  126. package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
  127. package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
  128. package/dist/_dts/sdk/src/next/types.d.ts +10 -1
  129. package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -8
  130. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -4
  131. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
  132. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
  133. package/dist/_dts/sdk/src/server.d.ts +4 -3
  134. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  135. package/dist/_dts/sdk/src/version.d.ts +1 -1
  136. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
  137. package/dist/_dts/site-commands/src/commands.d.ts +921 -30
  138. package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
  139. package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +29 -0
  140. package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +6 -0
  141. package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
  142. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  143. package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +20 -0
  144. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +22 -0
  145. package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
  146. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +6 -2
  147. package/dist/_dts/theme-core/src/buttons/types.d.ts +43 -5
  148. package/dist/_dts/theme-core/src/data.d.ts +12 -0
  149. package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
  150. package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
  151. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  152. package/dist/_dts/theme-core/src/gradients/types.d.ts +27 -3
  153. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +87 -39
  154. package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
  155. package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +22 -4
  156. package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
  157. package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -224
  158. package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
  159. package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
  160. package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
  161. package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
  162. package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
  163. package/dist/_dts/theme-core/src/palette/index.d.ts +0 -3
  164. package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
  165. package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -57
  166. package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
  167. package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
  168. package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +3 -4
  169. package/dist/_dts/theme-core/src/runtime/themeCssVarNames.d.ts +1 -0
  170. package/dist/_dts/theme-core/src/schema.d.ts +229 -30
  171. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -1
  172. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
  173. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
  174. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
  175. package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
  176. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
  177. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +208 -49
  178. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +8 -2
  179. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +6 -2
  180. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +56 -1
  181. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
  182. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
  183. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
  184. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
  185. package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
  186. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
  187. package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
  188. package/dist/_dts/theme-core/src/status/index.d.ts +0 -1
  189. package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +19 -0
  190. package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +9 -0
  191. package/dist/_dts/theme-core/src/surfaces/index.d.ts +2 -0
  192. package/dist/_dts/ui/src/button.d.ts +1 -1
  193. package/dist/cli/index.mjs +4146 -1602
  194. package/dist/client/{DiscountCodeDisclosure-Dit2aItR.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
  195. package/dist/client/{EventCombined.client-BnREyCjf.mjs → EventCombined.client-JnWE6Hzc.mjs} +4 -4
  196. package/dist/client/{EventListing.client-0uHld51x.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
  197. package/dist/client/{LeafletStaticMap-DJcvSfmj.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
  198. package/dist/client/{MagicLinkForm-EAsIktfw.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
  199. package/dist/client/{StepIndicator-CRR17tYI.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
  200. package/dist/client/{accordion-B47HIuuH.mjs → accordion-DAIBVpTS.mjs} +1 -1
  201. package/dist/client/{bookingForm-I1E-8F9P.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
  202. package/dist/client/bookings.mjs +360 -95
  203. package/dist/client/{buttons-BbPn8OKA.mjs → buttons-DJgynGHQ.mjs} +243 -43
  204. package/dist/client/{carousel-OlM7SyBs.mjs → carousel-D-SLfX8r.mjs} +1 -1
  205. package/dist/client/{cart-BKpG5jz6.mjs → cart-CEgbgJhX.mjs} +3 -3
  206. package/dist/client/{checkout-Dmmr6qoU.mjs → checkout-CXWrCRAA.mjs} +3 -3
  207. package/dist/client/client.mjs +6019 -1494
  208. package/dist/client/{colorStyles-DuW4Fjqd.mjs → colorStyles-jZS6KfkP.mjs} +46 -5
  209. package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
  210. package/dist/client/{courseRegistration-CflZiqGk.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
  211. package/dist/client/{eventCalendar-BvoLWcp-.mjs → eventCalendar-DCuyPY_c.mjs} +173 -5
  212. package/dist/client/{eventCombined-DsrO8t_t.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
  213. package/dist/client/{eventDetails-C3hxgcJm.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
  214. package/dist/client/{eventListing-C-hb237X.mjs → eventListing-CcHF87BI.mjs} +2 -2
  215. package/dist/client/{eventRegistration-B0gyzDGi.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
  216. package/dist/client/{form-C_RUi6oJ.mjs → form-CH1lCusH.mjs} +2 -2
  217. package/dist/client/{headerSection-IKQiD2U0.mjs → headerSection-CBPFZoku.mjs} +3 -3
  218. package/dist/client/hooks.mjs +3645 -1857
  219. package/dist/client/{locationMap-8ZBrMzRJ.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
  220. package/dist/client/{media-CZJKL7fi.mjs → media-DHtSxS5V.mjs} +61 -56
  221. package/dist/client/{newsletterForm-CYk3ucwj.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
  222. package/dist/client/{pricing-B5GmvfIH.mjs → pricing-BIbzmV0G.mjs} +1 -1
  223. package/dist/client/{productDetail-BjS2Dqzo.mjs → productDetail-BTh5gHBV.mjs} +3 -3
  224. package/dist/client/{productList-BOHvC8My.mjs → productList-Cc7OMrqN.mjs} +3 -3
  225. package/dist/client/{propsDecoder-WS6UEJwZ.mjs → propsDecoder-oR-M-ISN.mjs} +228 -60
  226. package/dist/client/rendering/client.mjs +3231 -1477
  227. package/dist/client/rendering/islands.mjs +20 -20
  228. package/dist/client/rendering.mjs +6889 -1927
  229. package/dist/client/{shop-CON03-wN.mjs → shop-CQ_YbCnn.mjs} +8 -8
  230. package/dist/client/{shop-commerce-DlqrFgH8.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
  231. package/dist/client/{shop-commerce-store-l74-Kne6.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
  232. package/dist/client/{shopShared-CQheEXSg.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
  233. package/dist/client/{useDiscountCodeUi-v6OluyWl.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
  234. package/dist/client/{useEventFilters-BqSTcNOf.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
  235. package/dist/client/{usePolling-DMfADjIF.mjs → usePolling-jcVryNgZ.mjs} +2 -2
  236. package/dist/preview-next/before-render.mjs +40 -1
  237. package/dist/preview-next/client/runtime.mjs +4 -4
  238. package/dist/preview-next/middleware.mjs +40 -1
  239. package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-BPcJPzdz.mjs} +40 -1
  240. package/dist/{sdk-runtime-BUmJ0DaT.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
  241. package/dist/{separator-Dd-JYok7.mjs → separator-BoMSQnsP.mjs} +1 -1
  242. package/dist/server/components.mjs +6345 -2084
  243. package/dist/server/config-validation.mjs +3420 -1856
  244. package/dist/server/config.mjs +3420 -1856
  245. package/dist/server/data.mjs +4067 -1923
  246. package/dist/server/index.mjs +46 -4
  247. package/dist/server/next/middleware.mjs +1 -1
  248. package/dist/server/next.mjs +7239 -2147
  249. package/dist/server/page-converter.mjs +3189 -1619
  250. package/dist/server/prebuild.mjs +1 -1
  251. package/dist/server/rendering/server.mjs +6540 -2058
  252. package/dist/server/rendering.mjs +7339 -2377
  253. package/dist/server/routing.mjs +3373 -1101
  254. package/dist/server/server.mjs +4307 -2002
  255. package/dist/server/theme-bridge.mjs +9844 -7325
  256. package/dist/server/theme.mjs +300 -47
  257. package/dist/styles/index.css +1863 -94
  258. package/package.json +1 -1
  259. package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +0 -2
  260. package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
  261. package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
  262. package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -34
  263. package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
  264. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -219
  265. package/dist/_dts/theme-core/src/status/contextualColors.d.ts +0 -6
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import type { ButtonVariant, PublicEvent } from '../../../../blocks/events/shared/types';
3
+ import { type WeekCalendarDays } from './utils';
4
+ type WeekBoardViewProps = {
5
+ days: WeekCalendarDays;
6
+ events: PublicEvent[];
7
+ showCapacity: boolean;
8
+ emptyMessage?: string;
9
+ /** Optional board title shown in the top bar. Hidden when empty. */
10
+ title?: string;
11
+ /** Optional footer note shown alongside the CTA. Hidden when empty. */
12
+ footerNote?: string;
13
+ /** Footer CTA label. */
14
+ ctaLabel?: string;
15
+ /** Optional href for the footer CTA. The CTA is omitted when absent. */
16
+ ctaHref?: string | null;
17
+ buttonVariant?: ButtonVariant;
18
+ /** Opt-in raised drop shadow. Generic default is flat. */
19
+ elevated?: boolean;
20
+ /** Opt-in section band. Generic default is bandless. */
21
+ banded?: boolean;
22
+ };
23
+ /**
24
+ * WeekBoardView
25
+ *
26
+ * Compact "class day-board": day columns side by side (one card per class per
27
+ * day), a legend of the three availability states, and a footer CTA. Collapses
28
+ * to a stacked list on mobile. Repurposes the week-grouped agenda data as a
29
+ * board rather than an hour-positioned timetable grid.
30
+ */
31
+ export declare const WeekBoardView: React.FC<WeekBoardViewProps>;
32
+ export default WeekBoardView;
@@ -14,3 +14,35 @@ export type EventAvailability = {
14
14
  * rows, and timetable cells — keep wording variations in the call sites.
15
15
  */
16
16
  export declare function getEventAvailability(event: PublicEvent): EventAvailability;
17
+ /**
18
+ * Three-state availability status for the compact class board.
19
+ * - `available`: comfortable capacity (or uncapped) — maps to the green/secondary token.
20
+ * - `filling`: at or below the "filling" threshold — maps to the accent/amber token.
21
+ * - `waitlist`: full — maps to the muted token. Label reflects whether a waitlist is open.
22
+ */
23
+ export type EventAvailabilityStatus = 'available' | 'filling' | 'waitlist';
24
+ export type EventAvailabilityDetail = {
25
+ status: EventAvailabilityStatus;
26
+ /** Remaining spots. `null` when the event has no capacity cap. */
27
+ available: number | null;
28
+ isFull: boolean;
29
+ /**
30
+ * Short capacity pill label, e.g. "4 places", "2 left", "Waitlist", "Full".
31
+ * `null` for uncapped events so the pill can be omitted entirely.
32
+ */
33
+ label: string | null;
34
+ };
35
+ /** Default remaining-spot count at/below which an event reads as "filling up". */
36
+ export declare const DEFAULT_FILLING_THRESHOLD = 2;
37
+ type AvailabilityStatusOptions = {
38
+ /** Remaining spots at or below which the event is "filling up". Defaults to 2. */
39
+ fillingThreshold?: number;
40
+ };
41
+ /**
42
+ * Derive the three-state availability status (available / filling / waitlist)
43
+ * plus a short pill label. Builds on {@link getEventAvailability} so the
44
+ * capacity math (availableSpots with a `capacity - registeredCount` fallback)
45
+ * stays consistent with the binary helper used elsewhere.
46
+ */
47
+ export declare function getEventAvailabilityStatus(event: PublicEvent, options?: AvailabilityStatusOptions): EventAvailabilityDetail;
48
+ export {};
@@ -67,6 +67,9 @@ export type MediaUrlResolution = Readonly<{
67
67
  }> | Readonly<{
68
68
  kind: 'missing-site-context';
69
69
  storagePath: string;
70
+ }> | Readonly<{
71
+ kind: 'invalid-storage-path';
72
+ storagePath: string;
70
73
  }> | Readonly<{
71
74
  kind: 'missing-supabase-url';
72
75
  message: string;
@@ -1,6 +1,6 @@
1
1
  import { type InteractiveIslandProps } from '../../../contracts/islands';
2
2
  import { type NewsletterSignupDestinationProvider, type NewsletterSignupPublicDestinationRef } from '../../blocks/newsletter-signup-destination';
3
- import { type NewsletterFieldDef, type NewsletterPreset } from './newsletter-form.types';
3
+ import { type NewsletterButtonVariant, type NewsletterFieldDef, type NewsletterPreset } from './newsletter-form.types';
4
4
  export type NewsletterFormSourceProps = Readonly<{
5
5
  blockId?: string | null;
6
6
  siteId?: string;
@@ -10,6 +10,7 @@ export type NewsletterFormSourceProps = Readonly<{
10
10
  preset?: NewsletterPreset;
11
11
  includePhone?: boolean;
12
12
  buttonLabel?: string | null;
13
+ buttonVariant?: NewsletterButtonVariant | null;
13
14
  successMessage?: string | null;
14
15
  privacyNote?: string | null;
15
16
  tags?: string | null;
@@ -20,6 +21,7 @@ export type NewsletterFormDisplay = Readonly<{
20
21
  kind: 'newsletter-form';
21
22
  className: string | null;
22
23
  buttonLabel: string;
24
+ buttonVariant: NewsletterButtonVariant;
23
25
  successMessage: string | null;
24
26
  privacyNote: string | null;
25
27
  fields: readonly NewsletterFieldDef[];
@@ -49,6 +51,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
49
51
  preset?: NewsletterPreset;
50
52
  includePhone?: boolean;
51
53
  buttonLabel?: string | null;
54
+ buttonVariant?: NewsletterButtonVariant | null;
52
55
  successMessage?: string | null;
53
56
  privacyNote?: string | null;
54
57
  tags?: string | null;
@@ -59,6 +62,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
59
62
  kind: "newsletter-form";
60
63
  className: string | null;
61
64
  buttonLabel: string;
65
+ buttonVariant: NewsletterButtonVariant;
62
66
  successMessage: string | null;
63
67
  privacyNote: string | null;
64
68
  fields: readonly NewsletterFieldDef[];
@@ -83,6 +87,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
83
87
  preset?: NewsletterPreset;
84
88
  includePhone?: boolean;
85
89
  buttonLabel?: string | null;
90
+ buttonVariant?: NewsletterButtonVariant | null;
86
91
  successMessage?: string | null;
87
92
  privacyNote?: string | null;
88
93
  tags?: string | null;
@@ -98,6 +103,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
98
103
  preset?: NewsletterPreset;
99
104
  includePhone?: boolean;
100
105
  buttonLabel?: string | null;
106
+ buttonVariant?: NewsletterButtonVariant | null;
101
107
  successMessage?: string | null;
102
108
  privacyNote?: string | null;
103
109
  tags?: string | null;
@@ -111,6 +117,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
111
117
  kind: "newsletter-form";
112
118
  className: string | null;
113
119
  buttonLabel: string;
120
+ buttonVariant: NewsletterButtonVariant;
114
121
  successMessage: string | null;
115
122
  privacyNote: string | null;
116
123
  fields: readonly NewsletterFieldDef[];
@@ -129,6 +136,7 @@ export declare const newsletterFormBlockRuntime: Readonly<{
129
136
  kind: "newsletter-form";
130
137
  className: string | null;
131
138
  buttonLabel: string;
139
+ buttonVariant: NewsletterButtonVariant;
132
140
  successMessage: string | null;
133
141
  privacyNote: string | null;
134
142
  fields: readonly NewsletterFieldDef[];
@@ -158,6 +166,7 @@ export declare const newsletterFormInteractiveIslandPropsCodec: Readonly<{
158
166
  kind: "newsletter-form";
159
167
  className: string | null;
160
168
  buttonLabel: string;
169
+ buttonVariant: NewsletterButtonVariant;
161
170
  successMessage: string | null;
162
171
  privacyNote: string | null;
163
172
  fields: readonly NewsletterFieldDef[];
@@ -184,6 +193,7 @@ export declare const newsletterFormInteractiveIslandPropsCodec: Readonly<{
184
193
  kind: "newsletter-form";
185
194
  className: string | null;
186
195
  buttonLabel: string;
196
+ buttonVariant: NewsletterButtonVariant;
187
197
  successMessage: string | null;
188
198
  privacyNote: string | null;
189
199
  fields: readonly NewsletterFieldDef[];
@@ -6,5 +6,5 @@ import type { NewsletterFormProps } from './newsletter-form.types';
6
6
  * Renders the newsletter signup form for SSR with hydration support.
7
7
  * Uses the islands architecture pattern to hydrate on the client.
8
8
  */
9
- export declare function NewsletterFormSSR({ blockId, siteId, apiBaseUrl, listId, destinationProvider, preset, includePhone, buttonLabel, successMessage, privacyNote, tags, spamProtectionEnabled, className, }: NewsletterFormProps): React.JSX.Element;
9
+ export declare function NewsletterFormSSR({ blockId, siteId, apiBaseUrl, listId, destinationProvider, preset, includePhone, buttonLabel, buttonVariant, successMessage, privacyNote, tags, spamProtectionEnabled, className, }: NewsletterFormProps): React.JSX.Element;
10
10
  export default NewsletterFormSSR;
@@ -13,6 +13,7 @@ export type NewsletterFieldDef = {
13
13
  placeholder?: string;
14
14
  };
15
15
  export type NewsletterDestinationProvider = 'riverbank' | 'mailchimp';
16
+ export type NewsletterButtonVariant = 'primary' | 'secondary' | 'outline';
16
17
  export type NewsletterFormProps = {
17
18
  /** Block ID for island hydration */
18
19
  blockId?: string | null;
@@ -30,6 +31,8 @@ export type NewsletterFormProps = {
30
31
  includePhone?: boolean;
31
32
  /** Submit button label */
32
33
  buttonLabel?: string | null;
34
+ /** Site-style button role for the submit action */
35
+ buttonVariant?: NewsletterButtonVariant | null;
33
36
  /** Message shown after successful subscription */
34
37
  successMessage?: string | null;
35
38
  /** Optional privacy note below the form */
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- import type { PublicCourse } from "../../blocks/courses/shared/types";
3
- import type { ButtonVariant, PublicEvent } from "../../blocks/events/shared/types";
4
- import type { CardStylesContent } from "../../fields/boxStyles";
5
- import { type BookingOfferingPresetSummary, type OfferingsPreviewEventDataKey, type OfferingsPreviewGroupOrder, type OfferingsPreviewGroupOverride, type OfferingsPreviewRouteCandidate } from "../../blocks/offerings-preview/model";
1
+ import React from 'react';
2
+ import type { PublicCourse } from '../../blocks/courses/shared/types';
3
+ import type { ButtonVariant, PublicEvent } from '../../blocks/events/shared/types';
4
+ import type { CardStylesContent } from '../../fields/boxStyles';
5
+ import { type BookingOfferingPresetSummary, type OfferingsPreviewEventDataKey, type OfferingsPreviewGroupOrder, type OfferingsPreviewGroupOverride, type OfferingsPreviewRouteCandidate } from '../../blocks/offerings-preview/model';
6
6
  type OfferingsPreviewProps = Readonly<{
7
7
  bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
8
8
  groupOrder?: OfferingsPreviewGroupOrder | null;
@@ -13,7 +13,7 @@ type OfferingsPreviewProps = Readonly<{
13
13
  buttonText?: string | null;
14
14
  emptyMessage?: string | null;
15
15
  failedMessage?: string | null;
16
- previewStage?: "published" | "preview" | null;
16
+ previewStage?: 'published' | 'preview' | null;
17
17
  routeCandidates?: Readonly<{
18
18
  routes?: readonly OfferingsPreviewRouteCandidate[] | null;
19
19
  }> | null;
@@ -24,6 +24,7 @@ export declare const eventCalendarDisplayModeSchema: z.ZodEnum<{
24
24
  calendar: "calendar";
25
25
  combined: "combined";
26
26
  timetable: "timetable";
27
+ "week-board": "week-board";
27
28
  }>;
28
29
  export declare const eventCalendarDefaultViewSchema: z.ZodEnum<{
29
30
  week: "week";
@@ -14,6 +14,7 @@ export type PassesMembershipsHydration = Readonly<{
14
14
  passes: readonly PublicPassProduct[];
15
15
  memberships: readonly PublicMembershipProduct[];
16
16
  passPurchaseMode: 'add_to_cart' | 'buy_now';
17
+ buttonVariant: 'primary' | 'secondary' | 'outline' | 'link';
17
18
  }>;
18
19
  export type ProductListHydration = Readonly<{
19
20
  products: readonly PublicProduct[];
@@ -77,7 +78,7 @@ export declare const shopBlockRuntime: Readonly<{
77
78
  kind: "passes-memberships";
78
79
  state: "empty" | "ready";
79
80
  className: string | null;
80
- layout: "grid" | "list";
81
+ layout: "grid" | "list" | "register";
81
82
  columns: string;
82
83
  emptyMessage: string;
83
84
  passesHeading: string;
@@ -105,6 +106,7 @@ export declare const shopBlockRuntime: Readonly<{
105
106
  passes: readonly PublicPassProduct[];
106
107
  memberships: readonly PublicMembershipProduct[];
107
108
  passPurchaseMode: "add_to_cart" | "buy_now";
109
+ buttonVariant: "primary" | "secondary" | "outline" | "link";
108
110
  }>;
109
111
  }>;
110
112
  contracts: Readonly<{
@@ -118,7 +120,7 @@ export declare const shopBlockRuntime: Readonly<{
118
120
  kind: "passes-memberships";
119
121
  state: "empty" | "ready";
120
122
  className: string | null;
121
- layout: "grid" | "list";
123
+ layout: "grid" | "list" | "register";
122
124
  columns: string;
123
125
  emptyMessage: string;
124
126
  passesHeading: string;
@@ -146,6 +148,7 @@ export declare const shopBlockRuntime: Readonly<{
146
148
  passes: readonly PublicPassProduct[];
147
149
  memberships: readonly PublicMembershipProduct[];
148
150
  passPurchaseMode: "add_to_cart" | "buy_now";
151
+ buttonVariant: "primary" | "secondary" | "outline" | "link";
149
152
  }>;
150
153
  }>) => unknown;
151
154
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
@@ -153,7 +156,7 @@ export declare const shopBlockRuntime: Readonly<{
153
156
  kind: "passes-memberships";
154
157
  state: "empty" | "ready";
155
158
  className: string | null;
156
- layout: "grid" | "list";
159
+ layout: "grid" | "list" | "register";
157
160
  columns: string;
158
161
  emptyMessage: string;
159
162
  passesHeading: string;
@@ -181,6 +184,7 @@ export declare const shopBlockRuntime: Readonly<{
181
184
  passes: readonly PublicPassProduct[];
182
185
  memberships: readonly PublicMembershipProduct[];
183
186
  passPurchaseMode: "add_to_cart" | "buy_now";
187
+ buttonVariant: "primary" | "secondary" | "outline" | "link";
184
188
  }>;
185
189
  }>>;
186
190
  }>;
@@ -502,7 +506,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
502
506
  kind: "passes-memberships";
503
507
  state: "empty" | "ready";
504
508
  className: string | null;
505
- layout: "grid" | "list";
509
+ layout: "grid" | "list" | "register";
506
510
  columns: string;
507
511
  emptyMessage: string;
508
512
  passesHeading: string;
@@ -530,6 +534,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
530
534
  passes: readonly PublicPassProduct[];
531
535
  memberships: readonly PublicMembershipProduct[];
532
536
  passPurchaseMode: "add_to_cart" | "buy_now";
537
+ buttonVariant: "primary" | "secondary" | "outline" | "link";
533
538
  }>;
534
539
  }>>;
535
540
  }>) => unknown;
@@ -546,7 +551,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
546
551
  kind: "passes-memberships";
547
552
  state: "empty" | "ready";
548
553
  className: string | null;
549
- layout: "grid" | "list";
554
+ layout: "grid" | "list" | "register";
550
555
  columns: string;
551
556
  emptyMessage: string;
552
557
  passesHeading: string;
@@ -574,6 +579,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
574
579
  passes: readonly PublicPassProduct[];
575
580
  memberships: readonly PublicMembershipProduct[];
576
581
  passPurchaseMode: "add_to_cart" | "buy_now";
582
+ buttonVariant: "primary" | "secondary" | "outline" | "link";
577
583
  }>;
578
584
  }>>;
579
585
  }>>;
@@ -7,7 +7,7 @@ export type ShopDisplayConfig = {
7
7
  productSlug?: string | null;
8
8
  showPasses?: boolean;
9
9
  showMemberships?: boolean;
10
- layout?: 'grid' | 'list';
10
+ layout?: 'grid' | 'list' | 'register';
11
11
  columns?: string;
12
12
  showDescriptions?: boolean;
13
13
  showSummary?: boolean;
@@ -15,6 +15,7 @@ export type ShopDisplayConfig = {
15
15
  showPrices?: boolean;
16
16
  showValidityPeriod?: boolean;
17
17
  showPricePerCredit?: boolean | null;
18
+ buttonVariant?: 'primary' | 'secondary' | 'outline' | 'link' | null;
18
19
  passesHeading?: string;
19
20
  membershipsHeading?: string;
20
21
  buyButtonText?: string;
@@ -0,0 +1,84 @@
1
+ import React from 'react';
2
+ /**
3
+ * Bounded, prop-driven SVG node.
4
+ *
5
+ * Unlike a raw `dangerouslySetInnerHTML` escape hatch, this node accepts a
6
+ * closed set of primitive shapes (`path`/`ellipse`/`circle`/`rect`/`line`) and
7
+ * maps each to the corresponding SVG element.
8
+ *
9
+ * Geometry (`d`, `cx`, `x`, ...) is emitted as SVG presentation attributes.
10
+ * Paint props (`fill`/`stroke`/`fillOpacity`/...) are emitted via inline
11
+ * `style` rather than attributes: this is deliberate so that colour values may
12
+ * contain theme token references such as `"rgb(var(--tb-accent))"`. CSS
13
+ * `var()` is only substituted in a CSS-property context — inside a
14
+ * presentation *attribute* it never resolves — so paint-through-style is what
15
+ * keeps the node fully themeable and live-recolouring.
16
+ *
17
+ * There are no child nodes and no raw markup: everything is declared as data,
18
+ * which keeps it safe to persist and validate like any other layout node.
19
+ */
20
+ type NodeMetadataProps = {
21
+ pathBase?: string;
22
+ blockId?: string | null;
23
+ blockKind?: string;
24
+ blockContent?: unknown;
25
+ fragmentRegistry?: unknown;
26
+ };
27
+ /** Paint/appearance props common to every shape. Passed straight to SVG attributes. */
28
+ type ShapePaint = {
29
+ fill?: string;
30
+ stroke?: string;
31
+ strokeWidth?: string | number;
32
+ fillOpacity?: string | number;
33
+ strokeOpacity?: string | number;
34
+ strokeLinecap?: 'butt' | 'round' | 'square';
35
+ strokeLinejoin?: 'miter' | 'round' | 'bevel';
36
+ strokeDasharray?: string | number;
37
+ /**
38
+ * Optional SVG `transform` (e.g. an angled balance-beam). Emitted as the
39
+ * `transform` presentation attribute, but only after passing the strict
40
+ * allow-list validator below — these trees can arrive from the DB via custom
41
+ * blocks, so an unrecognised value is dropped rather than rendered.
42
+ */
43
+ transform?: string;
44
+ };
45
+ export type SvgShape = ({
46
+ kind: 'path';
47
+ d: string;
48
+ } & ShapePaint) | ({
49
+ kind: 'ellipse';
50
+ cx: number | string;
51
+ cy: number | string;
52
+ rx: number | string;
53
+ ry: number | string;
54
+ } & ShapePaint) | ({
55
+ kind: 'circle';
56
+ cx: number | string;
57
+ cy: number | string;
58
+ r: number | string;
59
+ } & ShapePaint) | ({
60
+ kind: 'rect';
61
+ x: number | string;
62
+ y: number | string;
63
+ width: number | string;
64
+ height: number | string;
65
+ rx?: number | string;
66
+ ry?: number | string;
67
+ } & ShapePaint) | ({
68
+ kind: 'line';
69
+ x1: number | string;
70
+ y1: number | string;
71
+ x2: number | string;
72
+ y2: number | string;
73
+ } & ShapePaint);
74
+ export type SvgNodeProps = {
75
+ viewBox: string;
76
+ width?: string | number;
77
+ height?: string | number;
78
+ className?: string;
79
+ style?: React.CSSProperties;
80
+ ariaHidden?: boolean;
81
+ shapes: SvgShape[];
82
+ };
83
+ export declare const SvgNode: React.FC<SvgNodeProps & NodeMetadataProps>;
84
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { TransformContext } from '../core';
2
+ export declare function resolveSurfaceForegroundStyles(value: unknown, context: TransformContext): Record<string, string>;
@@ -111,50 +111,13 @@ export declare const containerStylesResolveClassName: TransformDefinition<Contai
111
111
  * - background includes the container padding
112
112
  */
113
113
  export declare const containerStylesResolveBoxClassName: TransformDefinition<ContainerClassNameOptions>;
114
- type SectionTextColorOptions = {
115
- /**
116
- * Optional fallback token to use when no explicit textColor is set.
117
- * When omitted, the transform returns an empty style object.
118
- */
119
- fallbackToken?: string;
120
- };
121
- /**
122
- * Resolves section text color style object.
123
- *
124
- * The value should be the `_sectionStyles.background.textColor` token.
125
- * Returns an empty object when unset so the section inherits text color.
126
- *
127
- * Outputs both `color` and `--section-text-color` CSS variable so that
128
- * headings (which have explicit color rules in typography CSS) can inherit
129
- * the section's text color via the CSS variable cascade.
130
- */
131
- export declare const sectionTextColorStyleTransform: TransformDefinition<SectionTextColorOptions>;
132
- type SectionHeadingColorOptions = {
133
- /**
134
- * Optional fallback token to use when no explicit headingColor is set.
135
- * When omitted, the transform returns an empty style object.
136
- */
137
- fallbackToken?: string;
138
- };
139
- /**
140
- * Resolves section heading color style object.
141
- *
142
- * The value should be the `_sectionStyles.background.headingColor` token.
143
- * Returns an empty object when unset so headings inherit from textColor or default.
144
- *
145
- * Outputs `--section-heading-color` CSS variable which typography CSS can use
146
- * to style headings differently from body text within a section.
147
- */
148
- export declare const sectionHeadingColorStyleTransform: TransformDefinition<SectionHeadingColorOptions>;
149
114
  /**
150
- * Resolves section foreground colors from the background object.
115
+ * Resolves surface foreground colors from the background object.
151
116
  *
152
117
  * The value should be the full `_sectionStyles.background` object.
153
118
  * Outputs:
154
- * - `color` and `--section-text-color` from background.textColor
155
- * - `--section-heading-color` from background.headingColor (falls back to textColor if not set)
156
- * - `--section-link-color` from background.linkColor (falls back to textColor if not set)
157
- * - `--section-supporting-color` from background.supportingColor (falls back to textColor if not set)
119
+ * - `color` and the complete `--rb-surface-*-color` contract
120
+ * - optional roles fall back atomically to background.textColor
158
121
  *
159
122
  * This combined transform replaces separate foreground color transforms
160
123
  * when both need to be applied to the same style prop.
@@ -12,5 +12,19 @@ declare const marqueeLoopOptionsSchema: z.ZodObject<{
12
12
  minItems: z.ZodDefault<z.ZodNumber>;
13
13
  }, z.core.$strip>;
14
14
  export declare const marqueeLoopTransform: TransformDefinition<z.infer<typeof marqueeLoopOptionsSchema>>;
15
+ declare const mapTokenOptionsSchema: z.ZodObject<{
16
+ cases: z.ZodRecord<z.ZodString, z.ZodString>;
17
+ fallback: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ /**
20
+ * Map a content state/enum to a theme token colour — the first-class way to turn
21
+ * a value like a class's availability (`available`/`filling`/`waitlist`), a
22
+ * card's featured flag, or a pricing tier level into a themed colour. Authors
23
+ * write role names and get `rgb(var(--tb-<role>))`, so the result live-recolours
24
+ * with the theme and drops directly into a `style` binding (e.g.
25
+ * `borderLeftColor`). Returns `undefined` when the value matches no case and no
26
+ * fallback is given, so the style property is simply omitted.
27
+ */
28
+ export declare const mapTokenTransform: TransformDefinition<z.infer<typeof mapTokenOptionsSchema>>;
15
29
  export declare const formattingTransforms: TransformDefinition[];
16
30
  export {};
@@ -8,6 +8,17 @@ declare const headerLogoClassSchema: z.ZodObject<{
8
8
  export declare const headerLogoClassTransform: TransformDefinition<z.infer<typeof headerLogoClassSchema>>;
9
9
  export declare const headerLogoMediaClassTransform: TransformDefinition<z.infer<typeof headerLogoClassSchema>>;
10
10
  export declare const headerLogoTextVisibleTransform: TransformDefinition;
11
+ /**
12
+ * Selects which classic-layout nav row should render.
13
+ *
14
+ * - `'inline'` → classic variant with the historical logo-left / nav-right row
15
+ * - `'centered'`→ classic variant with a centred (flex-1) nav and a right CTA
16
+ * - `'other'` → not a classic variant (centered/floating/transparent handle it)
17
+ *
18
+ * Consumed by the site-header block's `$when` gates so the two classic rows are
19
+ * mutually exclusive without introducing a new top-level header variant.
20
+ */
21
+ export declare const classicNavModeTransform: TransformDefinition;
11
22
  declare const maxWidthClassSchema: z.ZodObject<{
12
23
  base: z.ZodOptional<z.ZodString>;
13
24
  container: z.ZodOptional<z.ZodString>;
@@ -30,6 +30,7 @@ export type PageSurfaceId = Brand<string, 'PageSurfaceId'>;
30
30
  export type OccurrenceId = Brand<string, 'OccurrenceId'>;
31
31
  export type EventOfferingId = Brand<string, 'EventOfferingId'>;
32
32
  export type EventSeriesId = Brand<string, 'EventSeriesId'>;
33
+ export type EventPageRouteSlug = Brand<string, 'EventPageRouteSlug'>;
33
34
  export type TicketTypeId = Brand<string, 'TicketTypeId'>;
34
35
  export type EventCategoryId = Brand<string, 'EventCategoryId'>;
35
36
  export type VenueId = Brand<string, 'VenueId'>;
@@ -53,6 +54,13 @@ export type SafeDownloadFilename = Brand<string, 'SafeDownloadFilename'>;
53
54
  export type PositiveByteCount = Brand<number, 'PositiveByteCount'>;
54
55
  export type PositiveSeconds = Brand<number, 'PositiveSeconds'>;
55
56
  export type BookingSessionId = Brand<string, 'BookingSessionId'>;
57
+ export type DatedOfferingCapacityHoldId = Brand<string, 'DatedOfferingCapacityHoldId'>;
58
+ export type DatedOfferingCapacityHoldAuditRef = Brand<string, 'DatedOfferingCapacityHoldAuditRef'>;
59
+ export type DatedOfferingRevocationAuditEventId = Brand<string, 'DatedOfferingRevocationAuditEventId'>;
60
+ export type DatedOfferingNonCashProjectionClaimToken = Brand<string, 'DatedOfferingNonCashProjectionClaimToken'>;
61
+ export type DatedOfferingWaitlistCapacityEffectId = Brand<string, 'DatedOfferingWaitlistCapacityEffectId'>;
62
+ export type DatedOfferingWaitlistCapacityEffectClaimToken = Brand<string, 'DatedOfferingWaitlistCapacityEffectClaimToken'>;
63
+ export type DatedOfferingRunCancellationOperationId = Brand<string, 'DatedOfferingRunCancellationOperationId'>;
56
64
  export type EntitlementId = Brand<string, 'EntitlementId'>;
57
65
  export type SiteFontId = Brand<string, 'SiteFontId'>;
58
66
  export type UserId = Brand<string, 'UserId'>;
@@ -61,9 +69,16 @@ export type FormSubmissionId = Brand<string, 'FormSubmissionId'>;
61
69
  export type PassId = Brand<string, 'PassId'>;
62
70
  export type MembershipId = Brand<string, 'MembershipId'>;
63
71
  export type CourseId = Brand<string, 'CourseId'>;
72
+ export type CourseProgramId = Brand<string, 'CourseProgramId'>;
64
73
  export type CustomerId = Brand<string, 'CustomerId'>;
65
74
  export type OrderId = Brand<string, 'OrderId'>;
66
75
  export type OrderItemId = Brand<string, 'OrderItemId'>;
76
+ export type OrderRefundId = Brand<string, 'OrderRefundId'>;
77
+ export type OrderPaymentReceiptId = Brand<string, 'OrderPaymentReceiptId'>;
78
+ export type OrderFlexibleBalanceContractId = Brand<string, 'OrderFlexibleBalanceContractId'>;
79
+ export type OrderPaymentPlanId = Brand<string, 'OrderPaymentPlanId'>;
80
+ export type OrderPaymentPlanInstalmentId = Brand<string, 'OrderPaymentPlanInstalmentId'>;
81
+ export type ManualPaymentOperationId = Brand<string, 'ManualPaymentOperationId'>;
67
82
  export type CheckoutLineId = Brand<string, 'CheckoutLineId'>;
68
83
  export type AttendeeId = Brand<string, 'AttendeeId'>;
69
84
  export type CustomerPassId = Brand<string, 'CustomerPassId'>;
@@ -149,6 +164,7 @@ export declare const unsafeAsPageSurfaceId: (id: string) => PageSurfaceId;
149
164
  export declare const unsafeAsOccurrenceId: (id: string) => OccurrenceId;
150
165
  export declare const unsafeAsEventOfferingId: (id: string) => EventOfferingId;
151
166
  export declare const unsafeAsEventSeriesId: (id: string) => EventSeriesId;
167
+ export declare const unsafeAsEventPageRouteSlug: (value: string) => EventPageRouteSlug;
152
168
  export declare const unsafeAsTicketTypeId: (id: string) => TicketTypeId;
153
169
  export declare const unsafeAsEventCategoryId: (id: string) => EventCategoryId;
154
170
  export declare const unsafeAsVenueId: (id: string) => VenueId;
@@ -172,6 +188,13 @@ export declare const unsafeAsSafeDownloadFilename: (value: string) => SafeDownlo
172
188
  export declare const unsafeAsPositiveByteCount: (value: number) => PositiveByteCount;
173
189
  export declare const unsafeAsPositiveSeconds: (value: number) => PositiveSeconds;
174
190
  export declare const unsafeAsBookingSessionId: (id: string) => BookingSessionId;
191
+ export declare const unsafeAsDatedOfferingCapacityHoldId: (value: string) => DatedOfferingCapacityHoldId;
192
+ export declare const unsafeAsDatedOfferingCapacityHoldAuditRef: (value: string) => DatedOfferingCapacityHoldAuditRef;
193
+ export declare const unsafeAsDatedOfferingRevocationAuditEventId: (value: string) => DatedOfferingRevocationAuditEventId;
194
+ export declare const unsafeAsDatedOfferingNonCashProjectionClaimToken: (value: string) => DatedOfferingNonCashProjectionClaimToken;
195
+ export declare const unsafeAsDatedOfferingWaitlistCapacityEffectId: (value: string) => DatedOfferingWaitlistCapacityEffectId;
196
+ export declare const unsafeAsDatedOfferingWaitlistCapacityEffectClaimToken: (value: string) => DatedOfferingWaitlistCapacityEffectClaimToken;
197
+ export declare const unsafeAsDatedOfferingRunCancellationOperationId: (value: string) => DatedOfferingRunCancellationOperationId;
175
198
  export declare const unsafeAsEntitlementId: (id: string) => EntitlementId;
176
199
  export declare const unsafeAsSiteFontId: (id: string) => SiteFontId;
177
200
  export declare const unsafeAsUserId: (id: string) => UserId;
@@ -180,9 +203,16 @@ export declare const unsafeAsFormSubmissionId: (id: string) => FormSubmissionId;
180
203
  export declare const unsafeAsPassId: (id: string) => PassId;
181
204
  export declare const unsafeAsMembershipId: (id: string) => MembershipId;
182
205
  export declare const unsafeAsCourseId: (id: string) => CourseId;
206
+ export declare const unsafeAsCourseProgramId: (id: string) => CourseProgramId;
183
207
  export declare const unsafeAsCustomerId: (id: string) => CustomerId;
184
208
  export declare const unsafeAsOrderId: (id: string) => OrderId;
185
209
  export declare const unsafeAsOrderItemId: (id: string) => OrderItemId;
210
+ export declare const unsafeAsOrderRefundId: (id: string) => OrderRefundId;
211
+ export declare const unsafeAsOrderPaymentReceiptId: (id: string) => OrderPaymentReceiptId;
212
+ export declare const unsafeAsOrderFlexibleBalanceContractId: (id: string) => OrderFlexibleBalanceContractId;
213
+ export declare const unsafeAsOrderPaymentPlanId: (id: string) => OrderPaymentPlanId;
214
+ export declare const unsafeAsOrderPaymentPlanInstalmentId: (id: string) => OrderPaymentPlanInstalmentId;
215
+ export declare const unsafeAsManualPaymentOperationId: (id: string) => ManualPaymentOperationId;
186
216
  export declare const unsafeAsCheckoutLineId: (id: string) => CheckoutLineId;
187
217
  export declare const unsafeAsAttendeeId: (id: string) => AttendeeId;
188
218
  export declare const unsafeAsCustomerPassId: (id: string) => CustomerPassId;
@@ -241,6 +271,7 @@ export declare const parsePageId: (value: unknown) => Result<PageId, BrandedIdPa
241
271
  export declare const parsePageSurfaceId: (value: unknown) => Result<PageSurfaceId, BrandedIdParseError>;
242
272
  export declare const parseOccurrenceId: (value: unknown) => Result<OccurrenceId, BrandedIdParseError>;
243
273
  export declare const parseEventOfferingId: (value: unknown) => Result<EventOfferingId, BrandedIdParseError>;
274
+ export declare const parseCourseProgramId: (value: unknown) => Result<CourseProgramId, BrandedIdParseError>;
244
275
  export declare const parseTicketTypeId: (value: unknown) => Result<TicketTypeId, BrandedIdParseError>;
245
276
  export declare const parsePricingOptionId: (value: unknown) => Result<PricingOptionId, BrandedIdParseError>;
246
277
  export declare const parseUserId: (value: unknown) => Result<UserId, BrandedIdParseError>;
@@ -262,8 +293,26 @@ export declare const parseAppointmentResourceId: (value: unknown) => Result<Appo
262
293
  export declare const parseAppointmentReservationId: (value: unknown) => Result<AppointmentReservationId, BrandedIdParseError>;
263
294
  export declare const parseAppointmentReservationRunId: (value: unknown) => Result<AppointmentReservationRunId, BrandedIdParseError>;
264
295
  export declare const parseAttendeeId: (value: unknown) => Result<AttendeeId, BrandedIdParseError>;
296
+ export declare const parseDatedOfferingCapacityHoldId: (value: unknown) => Result<DatedOfferingCapacityHoldId, BrandedIdParseError>;
297
+ export declare const parseDatedOfferingCapacityHoldAuditRef: (value: unknown) => Result<DatedOfferingCapacityHoldAuditRef, BrandedIdParseError>;
298
+ export declare const parseDatedOfferingRevocationAuditEventId: (value: unknown) => Result<DatedOfferingRevocationAuditEventId, BrandedIdParseError>;
299
+ export declare const parseDatedOfferingNonCashProjectionClaimToken: (value: unknown) => Result<DatedOfferingNonCashProjectionClaimToken, BrandedIdParseError>;
300
+ export declare const parseDatedOfferingWaitlistCapacityEffectId: (value: unknown) => Result<DatedOfferingWaitlistCapacityEffectId, BrandedIdParseError>;
301
+ export declare const parseDatedOfferingWaitlistCapacityEffectClaimToken: (value: unknown) => Result<DatedOfferingWaitlistCapacityEffectClaimToken, BrandedIdParseError>;
302
+ export declare const parseDatedOfferingRunCancellationOperationId: (value: unknown) => Result<DatedOfferingRunCancellationOperationId, BrandedIdParseError>;
265
303
  export declare const parseCustomerId: (value: unknown) => Result<CustomerId, BrandedIdParseError>;
266
304
  export declare const parseCustomerPassId: (value: unknown) => Result<CustomerPassId, BrandedIdParseError>;
267
305
  export declare const parseCustomerMembershipId: (value: unknown) => Result<CustomerMembershipId, BrandedIdParseError>;
268
306
  export declare const parseEventSeriesId: (value: unknown) => Result<EventSeriesId, BrandedIdParseError>;
307
+ export declare const parseEnrollmentId: (value: unknown) => Result<EnrollmentId, BrandedIdParseError>;
308
+ export declare const parseParticipantId: (value: unknown) => Result<ParticipantId, BrandedIdParseError>;
309
+ export declare const parseParticipantParticipationId: (value: unknown) => Result<ParticipantParticipationId, BrandedIdParseError>;
310
+ export declare const parseOrderItemId: (value: unknown) => Result<OrderItemId, BrandedIdParseError>;
311
+ export declare const parseOrderId: (value: unknown) => Result<OrderId, BrandedIdParseError>;
312
+ export declare const parseOrderRefundId: (value: unknown) => Result<OrderRefundId, BrandedIdParseError>;
313
+ export declare const parseOrderPaymentReceiptId: (value: unknown) => Result<OrderPaymentReceiptId, BrandedIdParseError>;
314
+ export declare const parseOrderFlexibleBalanceContractId: (value: unknown) => Result<OrderFlexibleBalanceContractId, BrandedIdParseError>;
315
+ export declare const parseOrderPaymentPlanId: (value: unknown) => Result<OrderPaymentPlanId, BrandedIdParseError>;
316
+ export declare const parseOrderPaymentPlanInstalmentId: (value: unknown) => Result<OrderPaymentPlanInstalmentId, BrandedIdParseError>;
317
+ export declare const parseManualPaymentOperationId: (value: unknown) => Result<ManualPaymentOperationId, BrandedIdParseError>;
269
318
  export {};