@riverbankcms/sdk 0.104.3 → 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 (236) hide show
  1. package/README.md +84 -51
  2. package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
  3. package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +2144 -393
  6. package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +3825 -2653
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1339
  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/system/blocks/course-registration.d.ts +2 -2
  23. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
  24. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
  25. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
  26. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
  27. package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
  28. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
  29. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
  30. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
  31. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
  32. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
  33. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
  34. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
  35. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
  36. package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
  37. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
  38. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  39. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
  40. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  41. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
  42. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
  43. package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
  44. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  45. package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
  46. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
  47. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
  48. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
  49. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
  50. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
  51. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
  52. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
  53. package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
  54. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
  55. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
  56. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  57. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
  58. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
  59. package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
  60. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
  61. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
  63. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
  64. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
  65. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
  66. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
  67. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
  68. package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
  69. package/dist/_dts/core/src/branded.d.ts +44 -0
  70. package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
  71. package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
  72. package/dist/_dts/core/src/index.d.ts +49 -47
  73. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1452 -15
  74. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
  75. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
  76. package/dist/_dts/media-core/src/index.d.ts +2 -1
  77. package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
  78. package/dist/_dts/media-core/src/url.d.ts +1 -21
  79. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
  80. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
  81. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
  82. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -9
  83. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -11
  84. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -9
  85. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
  86. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
  87. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
  88. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
  89. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
  90. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
  91. package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
  92. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
  93. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
  94. package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
  95. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
  96. package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
  97. package/dist/_dts/sdk/src/client/management/blocks.d.ts +1 -1
  98. package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
  99. package/dist/_dts/sdk/src/client/management/types.d.ts +132 -23
  100. package/dist/_dts/sdk/src/client/types.d.ts +2 -0
  101. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  102. package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
  103. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  104. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
  105. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
  106. package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
  107. package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
  108. package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
  109. package/dist/_dts/sdk/src/data/index.d.ts +3 -3
  110. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
  111. package/dist/_dts/sdk/src/data/types.d.ts +43 -78
  112. package/dist/_dts/sdk/src/next/index.d.ts +1 -0
  113. package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
  114. package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
  115. package/dist/_dts/sdk/src/next/types.d.ts +10 -1
  116. package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -8
  117. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -4
  118. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
  119. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
  120. package/dist/_dts/sdk/src/server.d.ts +4 -3
  121. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  122. package/dist/_dts/sdk/src/version.d.ts +1 -1
  123. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
  124. package/dist/_dts/site-commands/src/commands.d.ts +921 -30
  125. package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
  126. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  127. package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
  128. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
  129. package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -5
  130. package/dist/_dts/theme-core/src/data.d.ts +12 -0
  131. package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
  132. package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
  133. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  134. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -24
  135. package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
  136. package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
  137. package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
  138. package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
  139. package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
  140. package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
  141. package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
  142. package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
  143. package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
  144. package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
  145. package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
  146. package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
  147. package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
  148. package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
  149. package/dist/_dts/theme-core/src/schema.d.ts +121 -4
  150. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
  151. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
  152. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
  153. package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
  154. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
  155. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
  156. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
  157. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  158. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
  159. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
  160. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
  161. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
  162. package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
  163. package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
  164. package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
  165. package/dist/cli/index.mjs +3155 -1701
  166. package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
  167. package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-JnWE6Hzc.mjs} +3 -3
  168. package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
  169. package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
  170. package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
  171. package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
  172. package/dist/client/{accordion-CSJcTUyH.mjs → accordion-DAIBVpTS.mjs} +1 -1
  173. package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
  174. package/dist/client/bookings.mjs +239 -110
  175. package/dist/client/{buttons-DfYyqt8C.mjs → buttons-DJgynGHQ.mjs} +122 -58
  176. package/dist/client/{carousel-fMBb0JSc.mjs → carousel-D-SLfX8r.mjs} +1 -1
  177. package/dist/client/{cart-BtaCwT3S.mjs → cart-CEgbgJhX.mjs} +3 -3
  178. package/dist/client/{checkout-DkTwZSnh.mjs → checkout-CXWrCRAA.mjs} +3 -3
  179. package/dist/client/client.mjs +4300 -1560
  180. package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
  181. package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
  182. package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
  183. package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-DCuyPY_c.mjs} +29 -21
  184. package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
  185. package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
  186. package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-CcHF87BI.mjs} +2 -2
  187. package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
  188. package/dist/client/{form-BvAcKiuu.mjs → form-CH1lCusH.mjs} +2 -2
  189. package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CBPFZoku.mjs} +3 -3
  190. package/dist/client/hooks.mjs +2958 -1848
  191. package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
  192. package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
  193. package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
  194. package/dist/client/{pricing-DIYnyHOk.mjs → pricing-BIbzmV0G.mjs} +1 -1
  195. package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-BTh5gHBV.mjs} +3 -3
  196. package/dist/client/{productList-Vsguq5Xt.mjs → productList-Cc7OMrqN.mjs} +3 -3
  197. package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-oR-M-ISN.mjs} +192 -59
  198. package/dist/client/rendering/client.mjs +2031 -1239
  199. package/dist/client/rendering/islands.mjs +20 -20
  200. package/dist/client/rendering.mjs +4889 -1712
  201. package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CQ_YbCnn.mjs} +8 -8
  202. package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
  203. package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
  204. package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
  205. package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
  206. package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
  207. package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-jcVryNgZ.mjs} +2 -2
  208. package/dist/preview-next/before-render.mjs +40 -1
  209. package/dist/preview-next/client/runtime.mjs +4 -4
  210. package/dist/preview-next/middleware.mjs +40 -1
  211. package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-BPcJPzdz.mjs} +40 -1
  212. package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
  213. package/dist/{separator-BhAR_Xmf.mjs → separator-BoMSQnsP.mjs} +1 -1
  214. package/dist/server/components.mjs +4661 -2162
  215. package/dist/server/config-validation.mjs +2728 -1847
  216. package/dist/server/config.mjs +2728 -1847
  217. package/dist/server/data.mjs +3381 -1915
  218. package/dist/server/index.mjs +46 -4
  219. package/dist/server/next/middleware.mjs +1 -1
  220. package/dist/server/next.mjs +5555 -2225
  221. package/dist/server/page-converter.mjs +3058 -2182
  222. package/dist/server/prebuild.mjs +1 -1
  223. package/dist/server/rendering/server.mjs +4850 -2125
  224. package/dist/server/rendering.mjs +5664 -2464
  225. package/dist/server/routing.mjs +3027 -1509
  226. package/dist/server/server.mjs +3844 -2217
  227. package/dist/server/theme-bridge.mjs +9121 -7765
  228. package/dist/server/theme.mjs +152 -59
  229. package/dist/styles/index.css +1217 -31
  230. package/package.json +1 -1
  231. package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
  232. package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
  233. package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
  234. package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
  235. package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
  236. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
@@ -1,28 +1,11 @@
1
- import { type CuratedPaletteId, type PaletteOverrides } from './curated';
2
- import type { PaletteSelection } from './selection';
3
- import { type SitePalette } from './selection';
4
- import { type HistoricalThemePaletteEvidence } from './historicalThemePalette';
1
+ import { type PaletteValueKey } from './curated';
5
2
  import { resolvedCuratedPaletteSelection, resolvedSitePaletteSelection, type ResolvedPaletteSelection } from './resolveSelection';
3
+ import { type PaletteSelection, type SitePalette } from './selection';
6
4
  import type { SitePaletteParseError } from './sitePalettePersistence';
7
- export type PalettePersistenceReadSource = Readonly<{
8
- kind: 'new-selection';
9
- selection: PaletteSelection;
10
- }> | Readonly<{
11
- kind: 'legacy-selection';
12
- paletteVariant: LegacyPaletteVariantEvidence;
13
- paletteOverrides: PaletteOverrides | null;
14
- }>;
15
- /** Legacy catalog IDs are migration evidence, not authoritative references. */
16
- export type LegacyPaletteVariantEvidence = Readonly<{
17
- kind: 'known';
18
- paletteId: CuratedPaletteId;
19
- }> | Readonly<{
20
- kind: 'unknown';
21
- value: string;
5
+ /** The post-backfill product boundary: exactly one active reference is required. */
6
+ export type AuthoritativePaletteSelectionParseError = Readonly<{
7
+ kind: 'missing-active-palette-reference';
22
8
  }> | Readonly<{
23
- kind: 'missing';
24
- }>;
25
- export type PalettePersistenceReadError = Readonly<{
26
9
  kind: 'dual-active-reference';
27
10
  }> | Readonly<{
28
11
  kind: 'unknown-active-curated-palette';
@@ -30,21 +13,19 @@ export type PalettePersistenceReadError = Readonly<{
30
13
  }> | Readonly<{
31
14
  kind: 'invalid-active-site-palette-id';
32
15
  value: string;
33
- }> | Readonly<{
34
- kind: 'invalid-legacy-overrides';
35
16
  }>;
36
- export type PalettePersistenceReadResult = Readonly<{
17
+ export type AuthoritativePaletteSelectionParseResult = Readonly<{
37
18
  ok: true;
38
- source: PalettePersistenceReadSource;
19
+ selection: PaletteSelection;
39
20
  }> | Readonly<{
40
21
  ok: false;
41
- error: PalettePersistenceReadError;
22
+ error: AuthoritativePaletteSelectionParseError;
42
23
  }>;
43
- /**
44
- * Transport state remains flat for existing runtime consumers. Its migrated
45
- * variants are nevertheless correlated: `authority`, selection, and version
46
- * cannot describe independent sources of truth.
47
- */
24
+ export declare function parseAuthoritativePaletteSelection(input: Readonly<{
25
+ activePaletteValueKey: string | null;
26
+ activeSitePaletteId: string | null;
27
+ }>): AuthoritativePaletteSelectionParseResult;
28
+ /** Runtime state is authority-backed or explicitly invalid; legacy is migration-only. */
48
29
  export type RuntimePaletteState = Readonly<{
49
30
  kind: 'migrated';
50
31
  authority: 'curated';
@@ -63,14 +44,11 @@ export type RuntimePaletteState = Readonly<{
63
44
  colors: ReturnType<typeof resolvedSitePaletteSelection>['colors'];
64
45
  mode: ReturnType<typeof resolvedSitePaletteSelection>['mode'];
65
46
  sitePaletteVersion: ReturnType<typeof resolvedSitePaletteSelection>['version'];
66
- }> | Readonly<{
67
- kind: 'legacy-unmigrated';
68
- colors: ResolvedPaletteSelection['colors'];
69
- mode: ResolvedPaletteSelection['mode'];
70
47
  }> | Readonly<{
71
48
  kind: 'invalid';
72
- reason: PalettePersistenceReadError['kind'] | 'invalid-saved-theme-palette' | 'active-site-palette-missing' | 'invalid-active-site-palette' | 'active-site-palette-mismatch' | 'active-curated-palette-missing';
49
+ reason: AuthoritativePaletteSelectionParseError['kind'] | 'invalid-saved-theme-palette' | 'active-site-palette-missing' | 'invalid-active-site-palette' | 'active-site-palette-mismatch' | 'active-curated-palette-missing';
73
50
  }>;
51
+ export type AuthoritativeRuntimePaletteState = RuntimePaletteState;
74
52
  export type ActiveSitePaletteAuthority = Readonly<{
75
53
  kind: 'missing';
76
54
  }> | Readonly<{
@@ -82,10 +60,10 @@ export type ActiveSitePaletteAuthority = Readonly<{
82
60
  }>;
83
61
  export type RuntimePaletteResolutionError = Readonly<{
84
62
  kind: 'runtime-curated-palette-missing';
85
- paletteId: CuratedPaletteId;
63
+ paletteId: PaletteValueKey;
86
64
  }> | Readonly<{
87
65
  kind: 'runtime-curated-palette-mismatch';
88
- paletteId: CuratedPaletteId;
66
+ paletteId: PaletteValueKey;
89
67
  }>;
90
68
  export type RuntimePaletteResolution = Readonly<{
91
69
  ok: true;
@@ -94,40 +72,10 @@ export type RuntimePaletteResolution = Readonly<{
94
72
  ok: false;
95
73
  error: RuntimePaletteResolutionError;
96
74
  }>;
97
- /**
98
- * Rehydrates a runtime transport payload through the core-owned constructors.
99
- * It is intentionally checked, and replaces the old unsafe brand cast bridge.
100
- */
101
75
  export declare function resolveMigratedRuntimePaletteState(state: Extract<RuntimePaletteState, {
102
76
  kind: 'migrated';
103
77
  }>): RuntimePaletteResolution;
104
- export type RuntimePaletteStateFromHistoricalEvidenceInput = Readonly<{
105
- parsed: PalettePersistenceReadResult;
106
- savedThemePalette: HistoricalThemePaletteEvidence | null;
107
- activeSitePaletteAuthority: ActiveSitePaletteAuthority;
108
- }>;
109
- /**
110
- * Uses already-parsed historical evidence for the legacy branch. Migrated
111
- * authority never reads saved Theme data, so callers can omit it entirely by
112
- * passing null.
113
- */
114
- export declare function runtimePaletteStateFromHistoricalEvidence(input: RuntimePaletteStateFromHistoricalEvidenceInput): RuntimePaletteState;
115
- /**
116
- * Raw persistence boundary for existing runtime callers. It parses saved Theme
117
- * palette JSON only for legacy selections, then delegates to the typed entry.
118
- */
119
- export declare function runtimePaletteStateFromPersisted(input: Readonly<{
120
- parsed: PalettePersistenceReadResult;
121
- savedThemePalette?: unknown;
78
+ export declare function runtimePaletteStateFromAuthoritativeSelection(input: Readonly<{
79
+ selection: PaletteSelection;
122
80
  activeSitePaletteAuthority: ActiveSitePaletteAuthority;
123
- }>): RuntimePaletteState;
124
- /**
125
- * Bounded rollout adapter. New active references are authoritative whenever
126
- * present; legacy fields are parsed only while both references are absent.
127
- */
128
- export declare function parsePalettePersistenceReadSource(input: Readonly<{
129
- activeCuratedPaletteId: string | null;
130
- activeSitePaletteId: string | null;
131
- legacyPaletteVariantId: string | null;
132
- legacyPaletteOverrides: unknown;
133
- }>): PalettePersistenceReadResult;
81
+ }>): AuthoritativeRuntimePaletteState;
@@ -1,5 +1,5 @@
1
- import type { PaletteColors, PaletteMode } from './colors';
2
- import { type CuratedPalette, type CuratedPaletteId } from './curated';
1
+ import type { PaletteColors, PaletteMode, PaletteValueKey } from './colors';
2
+ import { type CuratedPalette } from './curated';
3
3
  import type { PaletteSelection, SitePalette, SitePaletteId } from './selection';
4
4
  declare const resolvedPaletteSelectionBrand: unique symbol;
5
5
  export type ResolvedCuratedPaletteSelection = Readonly<{
@@ -22,9 +22,23 @@ export type ResolvedSitePaletteSelection = Readonly<{
22
22
  [resolvedPaletteSelectionBrand]: true;
23
23
  }>;
24
24
  export type ResolvedPaletteSelection = ResolvedCuratedPaletteSelection | ResolvedSitePaletteSelection;
25
+ /**
26
+ * A complete palette that exists only in an editor preview. It deliberately
27
+ * has no persisted selection: a new palette must not pretend to be the first
28
+ * curated recommendation merely to satisfy a renderer.
29
+ */
30
+ export type ResolvedDraftPaletteSelection = Readonly<{
31
+ kind: 'draft';
32
+ selection: null;
33
+ colors: PaletteColors;
34
+ mode: PaletteMode;
35
+ [resolvedPaletteSelectionBrand]: true;
36
+ }>;
37
+ /** A persisted palette selection or a complete, unsaved editor draft. */
38
+ export type CompleteResolvedPaletteSelection = ResolvedPaletteSelection | ResolvedDraftPaletteSelection;
25
39
  export type PaletteSelectionResolutionError = Readonly<{
26
40
  kind: 'curated-palette-not-found';
27
- paletteId: CuratedPaletteId;
41
+ valueKey: PaletteValueKey;
28
42
  }> | Readonly<{
29
43
  kind: 'site-palette-not-found';
30
44
  paletteId: SitePaletteId;
@@ -39,6 +53,17 @@ export type PaletteSelectionResolution = Readonly<{
39
53
  /** Core-owned constructors keep the resolved marker out of application code. */
40
54
  export declare function resolvedCuratedPaletteSelection(palette: CuratedPalette): ResolvedCuratedPaletteSelection;
41
55
  export declare function resolvedSitePaletteSelection(palette: SitePalette): ResolvedSitePaletteSelection;
56
+ /** Builds a resolved site-owned preview from the record fields it owns. */
57
+ export declare function resolvedSitePaletteSelectionFromPreview(input: Readonly<{
58
+ paletteId: SitePalette['id'];
59
+ colors: PaletteColors;
60
+ mode: PaletteMode;
61
+ version: SitePalette['version'];
62
+ }>): ResolvedSitePaletteSelection;
63
+ export declare function resolvedDraftPaletteSelection(input: Readonly<{
64
+ colors: PaletteColors;
65
+ mode: PaletteMode;
66
+ }>): ResolvedDraftPaletteSelection;
42
67
  /** Resolves a persisted selection against the records that actually own it. */
43
68
  export declare function resolvePaletteSelection(input: Readonly<{
44
69
  selection: PaletteSelection;
@@ -46,5 +71,5 @@ export declare function resolvePaletteSelection(input: Readonly<{
46
71
  sitePalettes: readonly SitePalette[];
47
72
  }>): PaletteSelectionResolution;
48
73
  /** Resolves catalog authority without asking callers to manufacture a brand. */
49
- export declare function resolveCuratedPaletteSelection(paletteId: CuratedPaletteId): PaletteSelectionResolution;
74
+ export declare function resolveCuratedPaletteSelection(valueKey: PaletteValueKey): PaletteSelectionResolution;
50
75
  export {};
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { type CuratedPaletteId } from './curated/types';
2
+ import { type PaletteValueKey } from './colors';
3
+ import { type KnownCuratedPaletteValueKey } from './curated';
3
4
  import { type PaletteColors, type PaletteMode } from './colors';
4
5
  export type SitePaletteId = string & {
5
6
  readonly __brand: 'SitePaletteId';
@@ -13,7 +14,7 @@ export declare function parseSitePaletteId(value: unknown): SitePaletteId | null
13
14
  export declare function parseSitePaletteVersion(value: unknown): SitePaletteVersion | null;
14
15
  export type PaletteSelection = Readonly<{
15
16
  kind: 'curated';
16
- paletteId: CuratedPaletteId;
17
+ valueKey: KnownCuratedPaletteValueKey;
17
18
  }> | Readonly<{
18
19
  kind: 'site';
19
20
  paletteId: SitePaletteId;
@@ -24,7 +25,7 @@ export type SitePaletteOrigin = Readonly<{
24
25
  sourceKey: string | null;
25
26
  }> | Readonly<{
26
27
  kind: 'curated-fork';
27
- sourcePaletteId: CuratedPaletteId;
28
+ sourceValueKey: PaletteValueKey;
28
29
  }> | Readonly<{
29
30
  kind: 'manual';
30
31
  }> | Readonly<{
@@ -32,8 +33,9 @@ export type SitePaletteOrigin = Readonly<{
32
33
  sourceKey: string | null;
33
34
  }>;
34
35
  export declare const sitePaletteOriginSchema: z.ZodType<SitePaletteOrigin>;
35
- export type EditorSitePaletteOrigin = Extract<SitePaletteOrigin, {
36
+ export type EditorSitePaletteOrigin = Readonly<{
36
37
  kind: 'curated-fork';
38
+ sourceValueKey: KnownCuratedPaletteValueKey;
37
39
  }> | Extract<SitePaletteOrigin, {
38
40
  kind: 'manual';
39
41
  }>;
@@ -188,6 +188,9 @@ export declare const sectionStylesOverrideSchema: z.ZodObject<{
188
188
  eventListTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
189
189
  plain: "plain";
190
190
  "lined-panel": "lined-panel";
191
+ "ruled-register": "ruled-register";
192
+ "editorial-register": "editorial-register";
193
+ "dense-index": "dense-index";
191
194
  }>>>;
192
195
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
193
196
  accent: "accent";
@@ -572,6 +575,9 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
572
575
  eventListTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
573
576
  plain: "plain";
574
577
  "lined-panel": "lined-panel";
578
+ "ruled-register": "ruled-register";
579
+ "editorial-register": "editorial-register";
580
+ "dense-index": "dense-index";
575
581
  }>>>;
576
582
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
577
583
  accent: "accent";
@@ -985,6 +991,9 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
985
991
  eventListTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
986
992
  plain: "plain";
987
993
  "lined-panel": "lined-panel";
994
+ "ruled-register": "ruled-register";
995
+ "editorial-register": "editorial-register";
996
+ "dense-index": "dense-index";
988
997
  }>>>;
989
998
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
990
999
  accent: "accent";
@@ -1352,9 +1361,11 @@ export declare const typographySchema: z.ZodObject<{
1352
1361
  "2xl": "2xl";
1353
1362
  }>>>;
1354
1363
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1364
+ tight: "tight";
1355
1365
  normal: "normal";
1356
1366
  loose: "loose";
1357
1367
  relaxed: "relaxed";
1368
+ snug: "snug";
1358
1369
  }>>>;
1359
1370
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1360
1371
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1381,9 +1392,11 @@ export declare const typographySchema: z.ZodObject<{
1381
1392
  "2xl": "2xl";
1382
1393
  }>>>;
1383
1394
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1395
+ tight: "tight";
1384
1396
  normal: "normal";
1385
1397
  loose: "loose";
1386
1398
  relaxed: "relaxed";
1399
+ snug: "snug";
1387
1400
  }>>>;
1388
1401
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1389
1402
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1410,9 +1423,11 @@ export declare const typographySchema: z.ZodObject<{
1410
1423
  "2xl": "2xl";
1411
1424
  }>>>;
1412
1425
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1426
+ tight: "tight";
1413
1427
  normal: "normal";
1414
1428
  loose: "loose";
1415
1429
  relaxed: "relaxed";
1430
+ snug: "snug";
1416
1431
  }>>>;
1417
1432
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1418
1433
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1439,9 +1454,11 @@ export declare const typographySchema: z.ZodObject<{
1439
1454
  "2xl": "2xl";
1440
1455
  }>>>;
1441
1456
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1457
+ tight: "tight";
1442
1458
  normal: "normal";
1443
1459
  loose: "loose";
1444
1460
  relaxed: "relaxed";
1461
+ snug: "snug";
1445
1462
  }>>>;
1446
1463
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1447
1464
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1468,9 +1485,11 @@ export declare const typographySchema: z.ZodObject<{
1468
1485
  "2xl": "2xl";
1469
1486
  }>>>;
1470
1487
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1488
+ tight: "tight";
1471
1489
  normal: "normal";
1472
1490
  loose: "loose";
1473
1491
  relaxed: "relaxed";
1492
+ snug: "snug";
1474
1493
  }>>>;
1475
1494
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1476
1495
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1497,9 +1516,11 @@ export declare const typographySchema: z.ZodObject<{
1497
1516
  "2xl": "2xl";
1498
1517
  }>>>;
1499
1518
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1519
+ tight: "tight";
1500
1520
  normal: "normal";
1501
1521
  loose: "loose";
1502
1522
  relaxed: "relaxed";
1523
+ snug: "snug";
1503
1524
  }>>>;
1504
1525
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1505
1526
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1540,6 +1561,28 @@ export declare const typographySchema: z.ZodObject<{
1540
1561
  }, z.core.$strip>>;
1541
1562
  eyebrow: z.ZodOptional<z.ZodObject<{
1542
1563
  family: z.ZodString;
1564
+ size: z.ZodOptional<z.ZodEnum<{
1565
+ sm: "sm";
1566
+ md: "md";
1567
+ lg: "lg";
1568
+ }>>;
1569
+ weight: z.ZodOptional<z.ZodEnum<{
1570
+ medium: "medium";
1571
+ bold: "bold";
1572
+ light: "light";
1573
+ regular: "regular";
1574
+ semibold: "semibold";
1575
+ }>>;
1576
+ letterSpacing: z.ZodOptional<z.ZodEnum<{
1577
+ tight: "tight";
1578
+ normal: "normal";
1579
+ loose: "loose";
1580
+ wide: "wide";
1581
+ }>>;
1582
+ case: z.ZodOptional<z.ZodEnum<{
1583
+ uppercase: "uppercase";
1584
+ normal: "normal";
1585
+ }>>;
1543
1586
  }, z.core.$strip>>;
1544
1587
  }, z.core.$strip>;
1545
1588
  export declare const spaceSchema: z.ZodEnum<{
@@ -3000,9 +3043,11 @@ export declare const themeSchema: z.ZodObject<{
3000
3043
  "2xl": "2xl";
3001
3044
  }>>>;
3002
3045
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3046
+ tight: "tight";
3003
3047
  normal: "normal";
3004
3048
  loose: "loose";
3005
3049
  relaxed: "relaxed";
3050
+ snug: "snug";
3006
3051
  }>>>;
3007
3052
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3008
3053
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3029,9 +3074,11 @@ export declare const themeSchema: z.ZodObject<{
3029
3074
  "2xl": "2xl";
3030
3075
  }>>>;
3031
3076
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3077
+ tight: "tight";
3032
3078
  normal: "normal";
3033
3079
  loose: "loose";
3034
3080
  relaxed: "relaxed";
3081
+ snug: "snug";
3035
3082
  }>>>;
3036
3083
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3037
3084
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3058,9 +3105,11 @@ export declare const themeSchema: z.ZodObject<{
3058
3105
  "2xl": "2xl";
3059
3106
  }>>>;
3060
3107
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3108
+ tight: "tight";
3061
3109
  normal: "normal";
3062
3110
  loose: "loose";
3063
3111
  relaxed: "relaxed";
3112
+ snug: "snug";
3064
3113
  }>>>;
3065
3114
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3066
3115
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3087,9 +3136,11 @@ export declare const themeSchema: z.ZodObject<{
3087
3136
  "2xl": "2xl";
3088
3137
  }>>>;
3089
3138
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3139
+ tight: "tight";
3090
3140
  normal: "normal";
3091
3141
  loose: "loose";
3092
3142
  relaxed: "relaxed";
3143
+ snug: "snug";
3093
3144
  }>>>;
3094
3145
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3095
3146
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3116,9 +3167,11 @@ export declare const themeSchema: z.ZodObject<{
3116
3167
  "2xl": "2xl";
3117
3168
  }>>>;
3118
3169
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3170
+ tight: "tight";
3119
3171
  normal: "normal";
3120
3172
  loose: "loose";
3121
3173
  relaxed: "relaxed";
3174
+ snug: "snug";
3122
3175
  }>>>;
3123
3176
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3124
3177
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3145,9 +3198,11 @@ export declare const themeSchema: z.ZodObject<{
3145
3198
  "2xl": "2xl";
3146
3199
  }>>>;
3147
3200
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3201
+ tight: "tight";
3148
3202
  normal: "normal";
3149
3203
  loose: "loose";
3150
3204
  relaxed: "relaxed";
3205
+ snug: "snug";
3151
3206
  }>>>;
3152
3207
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3153
3208
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3188,6 +3243,28 @@ export declare const themeSchema: z.ZodObject<{
3188
3243
  }, z.core.$strip>>;
3189
3244
  eyebrow: z.ZodOptional<z.ZodObject<{
3190
3245
  family: z.ZodString;
3246
+ size: z.ZodOptional<z.ZodEnum<{
3247
+ sm: "sm";
3248
+ md: "md";
3249
+ lg: "lg";
3250
+ }>>;
3251
+ weight: z.ZodOptional<z.ZodEnum<{
3252
+ medium: "medium";
3253
+ bold: "bold";
3254
+ light: "light";
3255
+ regular: "regular";
3256
+ semibold: "semibold";
3257
+ }>>;
3258
+ letterSpacing: z.ZodOptional<z.ZodEnum<{
3259
+ tight: "tight";
3260
+ normal: "normal";
3261
+ loose: "loose";
3262
+ wide: "wide";
3263
+ }>>;
3264
+ case: z.ZodOptional<z.ZodEnum<{
3265
+ uppercase: "uppercase";
3266
+ normal: "normal";
3267
+ }>>;
3191
3268
  }, z.core.$strip>>;
3192
3269
  }, z.core.$strip>;
3193
3270
  space: z.ZodEnum<{
@@ -4190,12 +4267,12 @@ export declare const themeSchema: z.ZodObject<{
4190
4267
  pill: "pill";
4191
4268
  }>;
4192
4269
  cornerRadius: z.ZodOptional<z.ZodNumber>;
4193
- shadow: z.ZodEnum<{
4270
+ shadow: z.ZodOptional<z.ZodEnum<{
4194
4271
  medium: "medium";
4195
4272
  none: "none";
4196
4273
  high: "high";
4197
4274
  low: "low";
4198
- }>;
4275
+ }>>;
4199
4276
  textTransform: z.ZodEnum<{
4200
4277
  none: "none";
4201
4278
  lowercase: "lowercase";
@@ -4879,6 +4956,9 @@ export declare const themeSchema: z.ZodObject<{
4879
4956
  eventListTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4880
4957
  plain: "plain";
4881
4958
  "lined-panel": "lined-panel";
4959
+ "ruled-register": "ruled-register";
4960
+ "editorial-register": "editorial-register";
4961
+ "dense-index": "dense-index";
4882
4962
  }>>>;
4883
4963
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4884
4964
  accent: "accent";
@@ -5350,9 +5430,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5350
5430
  "2xl": "2xl";
5351
5431
  }>>>;
5352
5432
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5433
+ tight: "tight";
5353
5434
  normal: "normal";
5354
5435
  loose: "loose";
5355
5436
  relaxed: "relaxed";
5437
+ snug: "snug";
5356
5438
  }>>>;
5357
5439
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5358
5440
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5379,9 +5461,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5379
5461
  "2xl": "2xl";
5380
5462
  }>>>;
5381
5463
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5464
+ tight: "tight";
5382
5465
  normal: "normal";
5383
5466
  loose: "loose";
5384
5467
  relaxed: "relaxed";
5468
+ snug: "snug";
5385
5469
  }>>>;
5386
5470
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5387
5471
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5408,9 +5492,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5408
5492
  "2xl": "2xl";
5409
5493
  }>>>;
5410
5494
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5495
+ tight: "tight";
5411
5496
  normal: "normal";
5412
5497
  loose: "loose";
5413
5498
  relaxed: "relaxed";
5499
+ snug: "snug";
5414
5500
  }>>>;
5415
5501
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5416
5502
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5437,9 +5523,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5437
5523
  "2xl": "2xl";
5438
5524
  }>>>;
5439
5525
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5526
+ tight: "tight";
5440
5527
  normal: "normal";
5441
5528
  loose: "loose";
5442
5529
  relaxed: "relaxed";
5530
+ snug: "snug";
5443
5531
  }>>>;
5444
5532
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5445
5533
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5466,9 +5554,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5466
5554
  "2xl": "2xl";
5467
5555
  }>>>;
5468
5556
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5557
+ tight: "tight";
5469
5558
  normal: "normal";
5470
5559
  loose: "loose";
5471
5560
  relaxed: "relaxed";
5561
+ snug: "snug";
5472
5562
  }>>>;
5473
5563
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5474
5564
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5495,9 +5585,11 @@ export declare const themesTurnSchema: z.ZodObject<{
5495
5585
  "2xl": "2xl";
5496
5586
  }>>>;
5497
5587
  lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5588
+ tight: "tight";
5498
5589
  normal: "normal";
5499
5590
  loose: "loose";
5500
5591
  relaxed: "relaxed";
5592
+ snug: "snug";
5501
5593
  }>>>;
5502
5594
  italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5503
5595
  colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5538,6 +5630,28 @@ export declare const themesTurnSchema: z.ZodObject<{
5538
5630
  }, z.core.$strip>>;
5539
5631
  eyebrow: z.ZodOptional<z.ZodObject<{
5540
5632
  family: z.ZodString;
5633
+ size: z.ZodOptional<z.ZodEnum<{
5634
+ sm: "sm";
5635
+ md: "md";
5636
+ lg: "lg";
5637
+ }>>;
5638
+ weight: z.ZodOptional<z.ZodEnum<{
5639
+ medium: "medium";
5640
+ bold: "bold";
5641
+ light: "light";
5642
+ regular: "regular";
5643
+ semibold: "semibold";
5644
+ }>>;
5645
+ letterSpacing: z.ZodOptional<z.ZodEnum<{
5646
+ tight: "tight";
5647
+ normal: "normal";
5648
+ loose: "loose";
5649
+ wide: "wide";
5650
+ }>>;
5651
+ case: z.ZodOptional<z.ZodEnum<{
5652
+ uppercase: "uppercase";
5653
+ normal: "normal";
5654
+ }>>;
5541
5655
  }, z.core.$strip>>;
5542
5656
  }, z.core.$strip>;
5543
5657
  space: z.ZodEnum<{
@@ -6540,12 +6654,12 @@ export declare const themesTurnSchema: z.ZodObject<{
6540
6654
  pill: "pill";
6541
6655
  }>;
6542
6656
  cornerRadius: z.ZodOptional<z.ZodNumber>;
6543
- shadow: z.ZodEnum<{
6657
+ shadow: z.ZodOptional<z.ZodEnum<{
6544
6658
  medium: "medium";
6545
6659
  none: "none";
6546
6660
  high: "high";
6547
6661
  low: "low";
6548
- }>;
6662
+ }>>;
6549
6663
  textTransform: z.ZodEnum<{
6550
6664
  none: "none";
6551
6665
  lowercase: "lowercase";
@@ -7229,6 +7343,9 @@ export declare const themesTurnSchema: z.ZodObject<{
7229
7343
  eventListTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7230
7344
  plain: "plain";
7231
7345
  "lined-panel": "lined-panel";
7346
+ "ruled-register": "ruled-register";
7347
+ "editorial-register": "editorial-register";
7348
+ "dense-index": "dense-index";
7232
7349
  }>>>;
7233
7350
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7234
7351
  accent: "accent";