@riverbankcms/sdk 0.101.0 → 0.103.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 (123) hide show
  1. package/README.md +10 -2
  2. package/dist/{PreviewEditorSidebar-DBpy0KTh.mjs → PreviewEditorSidebar-DkNpCPja.mjs} +430 -74
  3. package/dist/{PreviewEditorUI-Fg6I2R2T.mjs → PreviewEditorUI-DeNKtqk3.mjs} +3 -3
  4. package/dist/{PreviewQueryProvider-BICQLAUF.mjs → PreviewQueryProvider-ZF6TXq5Q.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-DFQP-Q53.mjs → SdkPreviewModeRuntime-5bCsXK2y.mjs} +694 -329
  6. package/dist/{SiteChromeCustomizeContext-GwZc89KN.mjs → SiteChromeCustomizeContext-CO1sTK_W.mjs} +538 -69
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +298 -298
  8. package/dist/_dts/ai/src/designer/rfc6902.d.ts +57 -1
  9. package/dist/_dts/ai/src/designer/themePatch.d.ts +16 -6
  10. package/dist/_dts/api/src/bookingVerticals.d.ts +53 -1
  11. package/dist/_dts/api/src/index.d.ts +1 -1
  12. package/dist/_dts/api/src/navigation/contracts.d.ts +6 -6
  13. package/dist/_dts/api/src/siteBanner.d.ts +2 -2
  14. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -0
  15. package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -1
  16. package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
  17. package/dist/_dts/blocks/src/index.d.ts +1 -1
  18. package/dist/_dts/blocks/src/server.d.ts +1 -1
  19. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +7 -7
  20. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
  21. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +14 -14
  22. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +5 -5
  23. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +227 -227
  24. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
  25. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  26. package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
  27. package/dist/_dts/blocks/src/system/inlineText.d.ts +2 -2
  28. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +177 -177
  29. package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
  30. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  31. package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +1 -0
  32. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -7
  33. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
  34. package/dist/_dts/content-editor/src/index.d.ts +1 -0
  35. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  36. package/dist/_dts/core/src/branded.d.ts +4 -0
  37. package/dist/_dts/core/src/person-records.d.ts +6 -1
  38. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +154 -18
  39. package/dist/_dts/db/src/schemas/forms.d.ts +15 -15
  40. package/dist/_dts/media-core/src/identifiers.d.ts +14 -1
  41. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
  42. package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +3 -1
  43. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  44. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -1
  45. package/dist/_dts/preview-next/src/client/preview/CustomizeColorTokenPicker.d.ts +27 -0
  46. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
  47. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +2 -1
  48. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +10 -2
  49. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +43 -7
  50. package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
  51. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +16 -1
  52. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
  53. package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +4 -4
  54. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
  55. package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +4 -2
  56. package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
  57. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  58. package/dist/_dts/sdk/src/contracts/page.d.ts +2 -0
  59. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +10 -10
  60. package/dist/_dts/sdk/src/next/revalidate.d.ts +14 -1
  61. package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -4
  62. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
  63. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -2
  64. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +3 -4
  65. package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -0
  66. package/dist/_dts/sdk/src/version.d.ts +1 -1
  67. package/dist/_dts/site-commands/src/commands.d.ts +19 -19
  68. package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
  69. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
  70. package/dist/_dts/theme-core/src/buttons/types.d.ts +7 -7
  71. package/dist/_dts/theme-core/src/cards/types.d.ts +6 -6
  72. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  73. package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
  74. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +150 -144
  75. package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
  76. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +5 -5
  77. package/dist/_dts/theme-core/src/schema.d.ts +199 -169
  78. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  79. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
  80. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +28 -26
  81. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
  82. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +4 -4
  83. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  84. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +9 -2
  85. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +3 -3
  86. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +50 -2
  87. package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +77 -0
  88. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +44 -0
  89. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  90. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  91. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
  92. package/dist/_dts/ui/src/badge.d.ts +1 -1
  93. package/dist/_dts/ui/src/button.d.ts +1 -1
  94. package/dist/_dts/ui/src/card.d.ts +1 -1
  95. package/dist/_dts/ui/src/toggle.d.ts +2 -2
  96. package/dist/cli/index.mjs +58 -21
  97. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +9 -1
  98. package/dist/client/client.mjs +379 -83
  99. package/dist/client/hooks.mjs +27 -6
  100. package/dist/client/rendering/client.mjs +46 -17
  101. package/dist/client/rendering.mjs +378 -82
  102. package/dist/preview-next/before-render.mjs +1 -1
  103. package/dist/preview-next/client/runtime.mjs +4 -4
  104. package/dist/{previewAuthStore-Da74OL0X.mjs → previewAuthStore-ByPPZqmp.mjs} +1 -0
  105. package/dist/{sdk-runtime-CP6Kwalv.mjs → sdk-runtime-C8whifOy.mjs} +2 -2
  106. package/dist/{separator-BVk7GvGN.mjs → separator-CM2C5Axs.mjs} +1 -1
  107. package/dist/server/components.mjs +357 -77
  108. package/dist/server/config-validation.mjs +26 -6
  109. package/dist/server/config.mjs +26 -6
  110. package/dist/server/data.mjs +26 -6
  111. package/dist/server/index.mjs +2 -2
  112. package/dist/server/next/revalidate.mjs +31 -1
  113. package/dist/server/next.mjs +361 -78
  114. package/dist/server/page-converter.mjs +19 -5
  115. package/dist/server/prebuild.mjs +1 -1
  116. package/dist/server/rendering/server.mjs +359 -77
  117. package/dist/server/rendering.mjs +359 -77
  118. package/dist/server/routing.mjs +40 -9
  119. package/dist/server/server.mjs +29 -7
  120. package/dist/server/theme-bridge.mjs +158 -36
  121. package/dist/server/theme.mjs +3 -0
  122. package/dist/styles/index.css +123 -30
  123. package/package.json +1 -1
@@ -19,8 +19,8 @@ export type ThemeChromeTextLegibilityPlan = Readonly<{
19
19
  export declare const backgroundAppearanceQuickColorTokenNames: readonly ["background", "surface", "muted", "primary", "secondary", "accent"];
20
20
  export declare const backgroundAppearanceBaseColorTokenNames: readonly ["background", "surface", "surfaceAlt", "muted", "primary", "secondary", "accent", "neutral"];
21
21
  export declare const backgroundAppearanceShadeableColorTokenNames: readonly ["primary", "secondary", "accent", "neutral"];
22
- export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "accent" | "primary" | "secondary" | "background" | "muted" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
23
- export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "accent" | "primary" | "secondary" | "background" | "muted" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
22
+ export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
23
+ export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "background" | "accent" | "muted" | "primary" | "secondary" | "surfaceAlt" | "neutral" | "neutral-600" | "neutral-500" | "neutral-800" | "neutral-700" | "neutral-900" | "primary-500" | "primary-400" | "neutral-950" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "secondary-500" | "accent-400" | "neutral-400" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "secondary-400" | "accent-500" | "primary-100" | "primary-50" | "primary-900" | "secondary-50" | "secondary-900" | "accent-50" | "accent-900" | "primary-800" | "primary-700" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "secondary-950")[];
24
24
  export declare function parseBackgroundAppearanceColorToken(value: unknown): ThemeColorToken | null;
25
25
  export declare function foregroundTokenForBackgroundAppearanceColorToken(token: ThemeColorToken): string;
26
26
  export declare function planThemeBackgroundTextLegibility(backgroundToken: ThemeColorToken, role?: BackgroundTextLegibilityRole): ThemeBackgroundTextLegibilityPlan;
@@ -1,6 +1,6 @@
1
1
  import type { BlockDesignMetadata } from './blockFlow';
2
2
  import { type PageDesignEditorIssue } from './pageDesignEditorModel';
3
- import type { CompiledBlockRuntimeFields, SurfaceResolutionContext } from './runtimeCompiler';
3
+ import type { CompiledBlockRuntimeFields, CompiledBoundaryRuntime, SurfaceResolutionContext } from './runtimeCompiler';
4
4
  import { type ContentTemplateBlockScope, type ContentTemplateDesignBlockId, type ContentTemplateDesignIntent } from './contentTemplateDesignIntent';
5
5
  import type { LayoutVariantKey } from './types';
6
6
  export type ContentTemplateRuntimeBlockInput = Readonly<{
@@ -17,6 +17,7 @@ export type CompiledContentTemplateRuntimeBlock = Readonly<{
17
17
  }>;
18
18
  export type CompiledContentTemplateRuntime = Readonly<{
19
19
  blocks: readonly CompiledContentTemplateRuntimeBlock[];
20
+ boundaries: readonly CompiledBoundaryRuntime<ContentTemplateDesignBlockId>[];
20
21
  fieldsByBlockId: ReadonlyMap<ContentTemplateDesignBlockId, CompiledBlockRuntimeFields>;
21
22
  issues: readonly PageDesignEditorIssue<ContentTemplateDesignBlockId>[];
22
23
  }>;
@@ -139,8 +139,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
139
139
  }, z.core.$strict>], "kind">;
140
140
  itemSurface: z.ZodEnum<{
141
141
  flat: "flat";
142
- none: "none";
143
142
  default: "default";
143
+ none: "none";
144
144
  editorial: "editorial";
145
145
  raised: "raised";
146
146
  "color-blocked": "color-blocked";
@@ -183,9 +183,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
183
183
  }>>;
184
184
  heroTypographyScale: z.ZodOptional<z.ZodEnum<{
185
185
  display: "display";
186
- poster: "poster";
187
186
  editorial: "editorial";
188
187
  quiet: "quiet";
188
+ poster: "poster";
189
189
  }>>;
190
190
  imageSurfaceTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
191
191
  kind: z.ZodLiteral<"none">;
@@ -198,8 +198,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
198
198
  }>;
199
199
  intensity: z.ZodOptional<z.ZodEnum<{
200
200
  soft: "soft";
201
- strong: "strong";
202
201
  balanced: "balanced";
202
+ strong: "strong";
203
203
  }>>;
204
204
  }, z.core.$strict>, z.ZodObject<{
205
205
  kind: z.ZodLiteral<"brand-wash">;
@@ -210,29 +210,29 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
210
210
  }>;
211
211
  intensity: z.ZodOptional<z.ZodEnum<{
212
212
  soft: "soft";
213
- strong: "strong";
214
213
  balanced: "balanced";
214
+ strong: "strong";
215
215
  }>>;
216
216
  }, z.core.$strict>, z.ZodObject<{
217
217
  kind: z.ZodLiteral<"neutral-scrim">;
218
218
  intensity: z.ZodOptional<z.ZodEnum<{
219
219
  soft: "soft";
220
- strong: "strong";
221
220
  balanced: "balanced";
221
+ strong: "strong";
222
222
  }>>;
223
223
  }, z.core.$strict>, z.ZodObject<{
224
224
  kind: z.ZodLiteral<"neutral-wash">;
225
225
  intensity: z.ZodOptional<z.ZodEnum<{
226
226
  soft: "soft";
227
- strong: "strong";
228
227
  balanced: "balanced";
228
+ strong: "strong";
229
229
  }>>;
230
230
  }, z.core.$strict>, z.ZodObject<{
231
231
  kind: z.ZodLiteral<"solid-panel">;
232
232
  intensity: z.ZodOptional<z.ZodEnum<{
233
233
  soft: "soft";
234
- strong: "strong";
235
234
  balanced: "balanced";
235
+ strong: "strong";
236
236
  }>>;
237
237
  }, z.core.$strict>], "kind">>;
238
238
  imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
@@ -240,8 +240,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
240
240
  "fixed-frame": "fixed-frame";
241
241
  }>>;
242
242
  testimonialCardTreatment: z.ZodOptional<z.ZodEnum<{
243
- "accent-quote": "accent-quote";
244
243
  default: "default";
244
+ "accent-quote": "accent-quote";
245
245
  }>>;
246
246
  tileTreatment: z.ZodOptional<z.ZodEnum<{
247
247
  default: "default";
@@ -254,8 +254,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
254
254
  }>>;
255
255
  eyebrowTreatment: z.ZodOptional<z.ZodEnum<{
256
256
  accent: "accent";
257
- plain: "plain";
258
257
  pill: "pill";
258
+ plain: "plain";
259
259
  "accent-pill": "accent-pill";
260
260
  "pill-bounce": "pill-bounce";
261
261
  "accent-pill-bounce": "accent-pill-bounce";
@@ -264,10 +264,10 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
264
264
  export declare const styleAuthoritySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
265
265
  kind: z.ZodLiteral<"theme-v2">;
266
266
  source: z.ZodEnum<{
267
- generated: "generated";
268
- admin: "admin";
269
267
  user: "user";
268
+ admin: "admin";
270
269
  sdk: "sdk";
270
+ generated: "generated";
271
271
  }>;
272
272
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
273
273
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -291,15 +291,16 @@ export declare const blockRuntimeStyleAuthoritySchema: z.ZodObject<{
291
291
  _sectionStyles: "_sectionStyles";
292
292
  _containerStyles: "_containerStyles";
293
293
  _cardStyles: "_cardStyles";
294
+ _transitionStyles: "_transitionStyles";
294
295
  styleGroup: "styleGroup";
295
- }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup")[]>>;
296
+ }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "_transitionStyles" | "styleGroup")[]>>;
296
297
  authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
297
298
  kind: z.ZodLiteral<"theme-v2">;
298
299
  source: z.ZodEnum<{
299
- generated: "generated";
300
- admin: "admin";
301
300
  user: "user";
301
+ admin: "admin";
302
302
  sdk: "sdk";
303
+ generated: "generated";
303
304
  }>;
304
305
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
305
306
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -356,8 +357,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
356
357
  }, z.core.$strict>], "kind">;
357
358
  itemSurface: z.ZodEnum<{
358
359
  flat: "flat";
359
- none: "none";
360
360
  default: "default";
361
+ none: "none";
361
362
  editorial: "editorial";
362
363
  raised: "raised";
363
364
  "color-blocked": "color-blocked";
@@ -400,9 +401,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
400
401
  }>>;
401
402
  heroTypographyScale: z.ZodOptional<z.ZodEnum<{
402
403
  display: "display";
403
- poster: "poster";
404
404
  editorial: "editorial";
405
405
  quiet: "quiet";
406
+ poster: "poster";
406
407
  }>>;
407
408
  imageSurfaceTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
408
409
  kind: z.ZodLiteral<"none">;
@@ -415,8 +416,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
415
416
  }>;
416
417
  intensity: z.ZodOptional<z.ZodEnum<{
417
418
  soft: "soft";
418
- strong: "strong";
419
419
  balanced: "balanced";
420
+ strong: "strong";
420
421
  }>>;
421
422
  }, z.core.$strict>, z.ZodObject<{
422
423
  kind: z.ZodLiteral<"brand-wash">;
@@ -427,29 +428,29 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
427
428
  }>;
428
429
  intensity: z.ZodOptional<z.ZodEnum<{
429
430
  soft: "soft";
430
- strong: "strong";
431
431
  balanced: "balanced";
432
+ strong: "strong";
432
433
  }>>;
433
434
  }, z.core.$strict>, z.ZodObject<{
434
435
  kind: z.ZodLiteral<"neutral-scrim">;
435
436
  intensity: z.ZodOptional<z.ZodEnum<{
436
437
  soft: "soft";
437
- strong: "strong";
438
438
  balanced: "balanced";
439
+ strong: "strong";
439
440
  }>>;
440
441
  }, z.core.$strict>, z.ZodObject<{
441
442
  kind: z.ZodLiteral<"neutral-wash">;
442
443
  intensity: z.ZodOptional<z.ZodEnum<{
443
444
  soft: "soft";
444
- strong: "strong";
445
445
  balanced: "balanced";
446
+ strong: "strong";
446
447
  }>>;
447
448
  }, z.core.$strict>, z.ZodObject<{
448
449
  kind: z.ZodLiteral<"solid-panel">;
449
450
  intensity: z.ZodOptional<z.ZodEnum<{
450
451
  soft: "soft";
451
- strong: "strong";
452
452
  balanced: "balanced";
453
+ strong: "strong";
453
454
  }>>;
454
455
  }, z.core.$strict>], "kind">>;
455
456
  imageSurfaceMotion: z.ZodOptional<z.ZodEnum<{
@@ -457,8 +458,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
457
458
  "fixed-frame": "fixed-frame";
458
459
  }>>;
459
460
  testimonialCardTreatment: z.ZodOptional<z.ZodEnum<{
460
- "accent-quote": "accent-quote";
461
461
  default: "default";
462
+ "accent-quote": "accent-quote";
462
463
  }>>;
463
464
  tileTreatment: z.ZodOptional<z.ZodEnum<{
464
465
  default: "default";
@@ -471,8 +472,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
471
472
  }>>;
472
473
  eyebrowTreatment: z.ZodOptional<z.ZodEnum<{
473
474
  accent: "accent";
474
- plain: "plain";
475
475
  pill: "pill";
476
+ plain: "plain";
476
477
  "accent-pill": "accent-pill";
477
478
  "pill-bounce": "pill-bounce";
478
479
  "accent-pill-bounce": "accent-pill-bounce";
@@ -486,15 +487,16 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
486
487
  _sectionStyles: "_sectionStyles";
487
488
  _containerStyles: "_containerStyles";
488
489
  _cardStyles: "_cardStyles";
490
+ _transitionStyles: "_transitionStyles";
489
491
  styleGroup: "styleGroup";
490
- }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup")[]>>;
492
+ }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_frameStyles" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "_transitionStyles" | "styleGroup")[]>>;
491
493
  authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
492
494
  kind: z.ZodLiteral<"theme-v2">;
493
495
  source: z.ZodEnum<{
494
- generated: "generated";
495
- admin: "admin";
496
496
  user: "user";
497
+ admin: "admin";
497
498
  sdk: "sdk";
499
+ generated: "generated";
498
500
  }>;
499
501
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
500
502
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -82,8 +82,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
82
82
  kind: z.ZodLiteral<"explicit">;
83
83
  value: z.ZodEnum<{
84
84
  flat: "flat";
85
- none: "none";
86
85
  default: "default";
86
+ none: "none";
87
87
  editorial: "editorial";
88
88
  raised: "raised";
89
89
  "color-blocked": "color-blocked";
@@ -235,8 +235,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
235
235
  kind: z.ZodLiteral<"explicit">;
236
236
  value: z.ZodEnum<{
237
237
  flat: "flat";
238
- none: "none";
239
238
  default: "default";
239
+ none: "none";
240
240
  editorial: "editorial";
241
241
  raised: "raised";
242
242
  "color-blocked": "color-blocked";
@@ -281,12 +281,12 @@ export declare const headerStyleCatalog: readonly [{
281
281
  readonly moods: readonly ["calm", "professional", "editorial"];
282
282
  }, {
283
283
  readonly id: HeaderStyleId;
284
- readonly label: "Fine Line";
285
- readonly description: "Light surface with a crisp lower rule and underline hover.";
284
+ readonly label: "Seamless";
285
+ readonly description: "Borderless surface with underline hover for a quieter page transition.";
286
286
  readonly supportedLayoutIds: readonly HeaderLayoutId[];
287
287
  readonly navInteraction: "underline-grow";
288
- readonly surface: "bordered";
289
- readonly defaultDepth: "line";
288
+ readonly surface: "neutral";
289
+ readonly defaultDepth: "none";
290
290
  readonly navTypography: "plain";
291
291
  readonly moods: readonly ["calm", "professional", "editorial"];
292
292
  }, {
@@ -28,6 +28,7 @@ export * from './resolver';
28
28
  export * from './runtimeCompiler';
29
29
  export * from './sectionTransitions';
30
30
  export * from './siteChromeBackgrounds';
31
+ export * from './siteChromeNavPreferences';
31
32
  export * from './siteStyleThemeCompiler';
32
33
  export * from './siteStyleBlockPolicies';
33
34
  export * from './sourceCatalogs';
@@ -6,7 +6,7 @@ import { type CuratedSiteStyle } from './curatedSiteStyles';
6
6
  import { type CompiledTypographySelection, type KnownTypographyPresetId, type TypographyPresetId, type TypographyPresetResolutionWarning, type TypographySelection } from './typographyPresets';
7
7
  import { type FooterLookId, type FooterSelectionContext, type FooterSelectionResult } from './footerLooks';
8
8
  import { type HeaderLayoutId, type HeaderSelectionContext, type HeaderLookId, type HeaderSelectionResult, type HeaderStyleId } from './headerLooks';
9
- import { type CompiledBlockRuntimeFields, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
9
+ import { type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
10
10
  import { type AppearancePresetId, type DesignBlockId, type SiteStyleId } from './types';
11
11
  import { type CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
12
12
  export type { CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
@@ -23,7 +23,7 @@ export { buildPageDesignEditorReadModel, boundaryOptions, pageFlowPresets, type
23
23
  export { autoDesignChoice, reducePageDesignIntentForUserAction, resolvePageDesignBlockLookChoice, resolvePageDesignBoundaryChoice, userPinnedDesignChoice, type PageDesignChoice, type PageDesignIntent, type PageDesignUserAction, } from './pageDesignIntent';
24
24
  export { repairDesignIssue, resolveBlockDesignPlan } from './resolver';
25
25
  export { cycleableOptionsFromResolved, deriveDesignCustomizationScope, recommendedDesignOption, type CycleableDesignOption, type CycleableOptions, type DesignCustomizationAuthority, type DesignCustomizationScope, type DesignCustomizationSurface, type DesignCustomizationUnsupportedReason, type DesignOptionIssue, type ResolvedDesignOption, } from './previewCustomization';
26
- export { compileBlockRuntimeFields, compilePageRuntimeFields, compileTokenRecipes, compiledRuntimeStyleFieldNames, defaultComponentRuntimeRules, defaultDesignRuntimeRules, surfaceResolutionContextFromPalette, surfaceResolutionContextFromTheme, stripCompiledRuntimeStyleFields, type CompiledBlockRuntime, type CompiledBlockRuntimeFields, type CompiledPageRuntime, type CompileBlockRuntimeInput, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext, } from './runtimeCompiler';
26
+ export { compileBlockRuntimeFields, compileBoundaryRuntime, compilePageRuntimeFields, compileTokenRecipes, compileTransitionRuntime, compiledRuntimeStyleFieldNames, defaultComponentRuntimeRules, defaultDesignRuntimeRules, surfaceResolutionContextFromPalette, surfaceResolutionContextFromTheme, stripCompiledRuntimeStyleFields, type CompiledBlockRuntime, type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type CompiledPageRuntime, type CompileBlockRuntimeInput, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext, } from './runtimeCompiler';
27
27
  export { defaultCuratedChoice, requireEntriesForCuratedChoices, resolveCuratedChoice, type CuratedChoice, type CuratedChoiceResolution, } from './curatedChoices';
28
28
  export { curatedSiteStyles, defaultButtonPersonalityForSiteStyle, defaultPaletteVariantForSiteStyle, defaultTypographyPresetForSiteStyle, getCuratedSiteStyle, type CuratedSiteStyle, } from './curatedSiteStyles';
29
29
  export { asTypographyPresetId, compileTypographySelection, evaluateTypographyFontSlot, findTypographyPreset, parsePersistedTypographyPresetId, typographyPresetIdValues, typographyPresets, type CompiledTypographySelection, type GoogleFontCategory, type KnownTypographyPresetId, type KnownTypographyPresetIdValue, type TypographyFontCapability, type TypographyFontSlot, type TypographyFontSlotFit, type TypographyFontSlotPolicy, type TypographyPreset, type TypographyPresetId, type TypographyPresetResolutionWarning, type TypographySelection, } from './typographyPresets';
@@ -121,8 +121,15 @@ export type CompileEditorModelRuntimeInput<TBlockId extends DesignBlockId = Desi
121
121
  */
122
122
  export declare function compileEditorModelRuntime<TBlockId extends DesignBlockId>(input: CompileEditorModelRuntimeInput<TBlockId>): CompiledPageRuntime<TBlockId>;
123
123
  export declare function buildEditorModelRuntimeFieldsByBlockId<TBlockId extends DesignBlockId>(input: CompileEditorModelRuntimeInput<TBlockId>): ReadonlyMap<TBlockId, CompiledBlockRuntimeFields>;
124
+ export declare function buildEditorModelRuntimeBoundaries<TBlockId extends DesignBlockId>(input: CompileEditorModelRuntimeInput<TBlockId>): readonly CompiledBoundaryRuntime<TBlockId>[];
124
125
  export declare function compileEditorModelRuntimeFieldsForBlock<TBlockId extends DesignBlockId>(input: CompileEditorModelRuntimeInput<TBlockId> & Readonly<{
125
126
  blockId: TBlockId;
126
127
  }>): CompiledBlockRuntimeFields | null;
127
128
  export declare function applyCompiledRuntimeFieldsToContent<TContent extends Record<string, unknown>>(content: TContent, fields: CompiledBlockRuntimeFields | null | undefined): Record<string, unknown>;
129
+ export type RuntimeContentAdjacency = Readonly<{
130
+ currentContent: Record<string, unknown> | null | undefined;
131
+ nextContent: Record<string, unknown> | null | undefined;
132
+ }>;
133
+ export declare function retargetCompiledRuntimeFieldsForContentAdjacency(fields: CompiledBlockRuntimeFields | null | undefined, adjacency: RuntimeContentAdjacency): CompiledBlockRuntimeFields | null | undefined;
134
+ export declare function retargetCompiledBoundaryRuntimeForContentAdjacency<TBlockId extends string>(boundary: CompiledBoundaryRuntime<TBlockId>, adjacency: RuntimeContentAdjacency): CompiledBoundaryRuntime<TBlockId>;
128
135
  export declare function restoreCompiledRuntimeFieldsFromContent<TCurrentContent extends Record<string, unknown>, TPreviousContent extends Record<string, unknown>>(currentContent: TCurrentContent, previousContent: TPreviousContent): Record<string, unknown>;
@@ -1,11 +1,11 @@
1
- export declare const themeV2RuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup"];
1
+ export declare const themeV2RuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "_transitionStyles", "styleGroup"];
2
2
  export type ThemeV2RuntimeStyleFieldName = typeof themeV2RuntimeStyleFieldNames[number];
3
3
  export declare const themeV2BlockSpecificRawStyleFieldNames: readonly ["_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
4
4
  export type ThemeV2BlockSpecificRawStyleFieldName = typeof themeV2BlockSpecificRawStyleFieldNames[number];
5
5
  export type ThemeV2NormalEditorRawStyleFieldName = ThemeV2RuntimeStyleFieldName | ThemeV2BlockSpecificRawStyleFieldName;
6
6
  export type ThemeV2CompilerOwnedFieldName = ThemeV2RuntimeStyleFieldName | ThemeV2BlockSpecificRawStyleFieldName;
7
- export declare const themeV2NormalEditorRawStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
8
- export declare const themeV2CompilerOwnedFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
7
+ export declare const themeV2NormalEditorRawStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "_transitionStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
8
+ export declare const themeV2CompilerOwnedFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_cardStyles", "_transitionStyles", "styleGroup", "_contentCardStyles", "_heroLayoutStyles", "_textCardStyles"];
9
9
  export declare const pageDesignEditorBackgroundOverrideOwner: "page-design-editor";
10
10
  export type PageDesignEditorBackgroundOverrideOwner = typeof pageDesignEditorBackgroundOverrideOwner;
11
11
  export declare const siteChromeBackgroundOverrideOwner: "site-chrome-editor";
@@ -3,7 +3,9 @@ import { type ExpandedPalette } from '../palette/expandPalette';
3
3
  import { type ButtonPersonalityId } from '../buttons/personalities';
4
4
  import { type PaletteOverrides, type PaletteVariantId } from '../palette/variants';
5
5
  import { type RuntimeStyleWriteResultForFields, type StyleAuthority } from './designState';
6
- import { type ContentFrameIntent, type EyebrowTreatment, type FlushFrameTreatment, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
6
+ import { type ContentFrameIntent, type EyebrowTreatment, type FlushFrameTreatment, type DesignBoundaryId, type PanelFrameTreatment, type ResolvedBlockDesignPlan, type ResolvedPageDesignPlan, type SiteStyleItemSurfaceIntent, type SiteStyleSectionTransitionIntent, type SiteStyleSurfaceIntent, type ThemeTokenRecipes } from './types';
7
+ import { type SectionBoundaryRuntimeMetrics } from './sectionTransitions';
8
+ import type { ThemeColorToken } from '../tokens';
7
9
  export type SemanticSpacing = 'none' | 'compact' | 'cozy' | 'medium' | 'comfortable' | 'spacious';
8
10
  export type SectionPaddingX = 'normal' | 'none';
9
11
  type SectionForegroundRuntimeTokens = Pick<NonNullable<SectionSurfaceRuntimeRule['background']>, 'textColor' | 'headingColor' | 'linkColor' | 'supportingColor'>;
@@ -29,16 +31,47 @@ export type CompiledBlockRuntimeFields = Readonly<{
29
31
  _contentCardStyles?: ContainerStylesOverride;
30
32
  _heroLayoutStyles?: HeroLayoutStylesOverride;
31
33
  _cardStyles?: CardStylesOverride;
34
+ _transitionStyles?: CompiledTransitionRuntime;
32
35
  blockLook?: string;
33
36
  styleGroup?: string;
34
37
  }>;
38
+ export type CompiledTransitionEndpoint = Readonly<{
39
+ kind: 'surface';
40
+ surface: SiteStyleSurfaceIntent;
41
+ }> | Readonly<{
42
+ kind: 'color-token';
43
+ token: ThemeColorToken;
44
+ }>;
45
+ export type CompiledTransitionRuntime = Readonly<{
46
+ treatment: SiteStyleSectionTransitionIntent;
47
+ from: CompiledTransitionEndpoint;
48
+ to: CompiledTransitionEndpoint;
49
+ cssVars: Readonly<{
50
+ from: string;
51
+ to: string;
52
+ }>;
53
+ }>;
54
+ export type CompiledBoundaryRuntime<TBlockId extends string = string> = Readonly<{
55
+ boundaryId: DesignBoundaryId | string;
56
+ previousBlockId: TBlockId;
57
+ nextBlockId: TBlockId;
58
+ treatment: SiteStyleSectionTransitionIntent;
59
+ metrics: SectionBoundaryRuntimeMetrics;
60
+ from: CompiledTransitionEndpoint;
61
+ to: CompiledTransitionEndpoint;
62
+ cssVars: Readonly<{
63
+ from: string;
64
+ to: string;
65
+ }>;
66
+ styleGroup: string;
67
+ }>;
35
68
  export type HeroLayoutStylesOverride = Readonly<{
36
69
  contentAlignment?: 'left' | 'center' | 'right';
37
70
  verticalAlignment?: 'top' | 'center' | 'bottom';
38
71
  contentMaxWidth?: 'default' | 'narrow' | 'medium' | 'wide';
39
72
  typographyScale?: NonNullable<ResolvedBlockDesignPlan['heroTypographyScale']>;
40
73
  }>;
41
- export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "blockLook", "styleGroup"];
74
+ export declare const compiledRuntimeStyleFieldNames: readonly ["_frameStyles", "_sectionStyles", "_containerStyles", "_contentCardStyles", "_heroLayoutStyles", "_cardStyles", "_transitionStyles", "blockLook", "styleGroup"];
42
75
  export declare function stripCompiledRuntimeStyleFields<TContent extends Record<string, unknown>>(content: TContent): Record<string, unknown>;
43
76
  export type CompiledBlockRuntime = Readonly<{
44
77
  blockId: string;
@@ -73,6 +106,7 @@ export type CompiledPageRuntime<TBlockId extends string = string> = Readonly<{
73
106
  blocks: readonly (CompiledBlockRuntime & Readonly<{
74
107
  blockId: TBlockId;
75
108
  }>)[];
109
+ boundaries: readonly CompiledBoundaryRuntime<TBlockId>[];
76
110
  }>;
77
111
  export type SectionAdjacency = Readonly<{
78
112
  kind: 'next-section';
@@ -249,6 +283,20 @@ export declare const defaultComponentRuntimeRules: {
249
283
  export declare function compileBlockRuntimeFields<TBlockId extends string, TPurpose extends string>(input: CompileBlockRuntimeInput<TBlockId, TPurpose>): CompiledBlockRuntime & Readonly<{
250
284
  blockId: TBlockId;
251
285
  }>;
286
+ export declare function compileTransitionRuntime(input: Readonly<{
287
+ treatment: SiteStyleSectionTransitionIntent;
288
+ from: CompiledTransitionEndpoint;
289
+ to: CompiledTransitionEndpoint;
290
+ }>): CompiledTransitionRuntime;
291
+ export declare function compileBoundaryRuntime<TBlockId extends string>(input: Readonly<{
292
+ boundaryId: DesignBoundaryId | string;
293
+ previousBlockId: TBlockId;
294
+ nextBlockId: TBlockId;
295
+ treatment: SiteStyleSectionTransitionIntent;
296
+ fromSurface: SiteStyleSurfaceIntent;
297
+ toSurface: SiteStyleSurfaceIntent;
298
+ rules?: DesignRuntimeRules;
299
+ }>): CompiledBoundaryRuntime<TBlockId> | null;
252
300
  /**
253
301
  * Compiles block runtime fields and writes them into content only when Theme V2
254
302
  * owns that block's runtime-style fields.
@@ -49,6 +49,83 @@ export type SectionTransitionFamily = Readonly<{
49
49
  label: string;
50
50
  variants: NonEmptyReadonlyArray<SectionTransitionVariant>;
51
51
  }>;
52
+ export type SectionBoundaryRuntimeSize = 'compact' | 'medium' | 'large' | 'spacious' | 'expansive';
53
+ export type SectionBoundaryRuntimeMetrics = Readonly<{
54
+ family: Exclude<SectionTransitionFamilyId, 'none'>;
55
+ size: SectionBoundaryRuntimeSize;
56
+ heightCss: string;
57
+ reserveCss: string;
58
+ }>;
59
+ export declare const sectionBoundaryRuntimeMetricsByTransition: {
60
+ readonly none: null;
61
+ readonly 'soft-fade-short': Readonly<{
62
+ family: Exclude<SectionTransitionFamilyId, "none">;
63
+ size: SectionBoundaryRuntimeSize;
64
+ heightCss: string;
65
+ reserveCss: string;
66
+ }>;
67
+ readonly 'soft-fade-long': Readonly<{
68
+ family: Exclude<SectionTransitionFamilyId, "none">;
69
+ size: SectionBoundaryRuntimeSize;
70
+ heightCss: string;
71
+ reserveCss: string;
72
+ }>;
73
+ readonly 'soft-fade-expansive': Readonly<{
74
+ family: Exclude<SectionTransitionFamilyId, "none">;
75
+ size: SectionBoundaryRuntimeSize;
76
+ heightCss: string;
77
+ reserveCss: string;
78
+ }>;
79
+ readonly 'wave-edge': Readonly<{
80
+ family: Exclude<SectionTransitionFamilyId, "none">;
81
+ size: SectionBoundaryRuntimeSize;
82
+ heightCss: string;
83
+ reserveCss: string;
84
+ }>;
85
+ readonly 'wave-edge-balanced': Readonly<{
86
+ family: Exclude<SectionTransitionFamilyId, "none">;
87
+ size: SectionBoundaryRuntimeSize;
88
+ heightCss: string;
89
+ reserveCss: string;
90
+ }>;
91
+ readonly 'wave-edge-gentle': Readonly<{
92
+ family: Exclude<SectionTransitionFamilyId, "none">;
93
+ size: SectionBoundaryRuntimeSize;
94
+ heightCss: string;
95
+ reserveCss: string;
96
+ }>;
97
+ readonly 'wave-edge-bold': Readonly<{
98
+ family: Exclude<SectionTransitionFamilyId, "none">;
99
+ size: SectionBoundaryRuntimeSize;
100
+ heightCss: string;
101
+ reserveCss: string;
102
+ }>;
103
+ readonly 'wave-edge-drift': Readonly<{
104
+ family: Exclude<SectionTransitionFamilyId, "none">;
105
+ size: SectionBoundaryRuntimeSize;
106
+ heightCss: string;
107
+ reserveCss: string;
108
+ }>;
109
+ readonly 'angle-edge': Readonly<{
110
+ family: Exclude<SectionTransitionFamilyId, "none">;
111
+ size: SectionBoundaryRuntimeSize;
112
+ heightCss: string;
113
+ reserveCss: string;
114
+ }>;
115
+ readonly 'angle-edge-subtle': Readonly<{
116
+ family: Exclude<SectionTransitionFamilyId, "none">;
117
+ size: SectionBoundaryRuntimeSize;
118
+ heightCss: string;
119
+ reserveCss: string;
120
+ }>;
121
+ readonly 'angle-edge-steep': Readonly<{
122
+ family: Exclude<SectionTransitionFamilyId, "none">;
123
+ size: SectionBoundaryRuntimeSize;
124
+ heightCss: string;
125
+ reserveCss: string;
126
+ }>;
127
+ };
128
+ export declare function boundaryRuntimeMetricsForTransition(transition: SiteStyleSectionTransitionIntent): SectionBoundaryRuntimeMetrics | null;
52
129
  export declare const noneBoundaryOption: {
53
130
  readonly id: BoundaryOptionId;
54
131
  readonly label: "None";
@@ -0,0 +1,44 @@
1
+ import type { NavLinkStyle } from '../navigation/types';
2
+ import type { Theme } from '../schema';
3
+ export declare const headerNavTypographyPreferenceValues: readonly ["inherit", "body", "heading"];
4
+ export type HeaderNavTypographyPreference = (typeof headerNavTypographyPreferenceValues)[number];
5
+ export declare const headerNavFontSizePreferenceValues: readonly ["inherit", "xs", "sm", "base", "lg"];
6
+ export type HeaderNavFontSizePreference = (typeof headerNavFontSizePreferenceValues)[number];
7
+ export type HeaderNavPreferences = Readonly<{
8
+ typography: HeaderNavTypographyPreference;
9
+ fontSize: HeaderNavFontSizePreference;
10
+ }>;
11
+ export declare const headerNavTypographyOptions: readonly [{
12
+ readonly value: "inherit";
13
+ readonly label: "Default";
14
+ }, {
15
+ readonly value: "body";
16
+ readonly label: "Body";
17
+ }, {
18
+ readonly value: "heading";
19
+ readonly label: "Heading";
20
+ }];
21
+ export declare const headerNavFontSizeOptions: readonly [{
22
+ readonly value: "inherit";
23
+ readonly label: "Default";
24
+ }, {
25
+ readonly value: "xs";
26
+ readonly label: "Tiny";
27
+ }, {
28
+ readonly value: "sm";
29
+ readonly label: "Small";
30
+ }, {
31
+ readonly value: "base";
32
+ readonly label: "Regular";
33
+ }, {
34
+ readonly value: "lg";
35
+ readonly label: "Large";
36
+ }];
37
+ export declare const defaultHeaderNavPreferences: {
38
+ readonly typography: "inherit";
39
+ readonly fontSize: "inherit";
40
+ };
41
+ export declare function readHeaderNavPreferences(theme: Theme | null | undefined): HeaderNavPreferences;
42
+ export declare function headerNavPreferencesEqual(left: HeaderNavPreferences, right: HeaderNavPreferences): boolean;
43
+ export declare function withHeaderNavThemePreferences(theme: Theme, preferences: HeaderNavPreferences): Theme;
44
+ export declare function mergeHeaderNavTypographyPreference(style: NavLinkStyle, preferences: HeaderNavPreferences): NavLinkStyle;
@@ -12,9 +12,9 @@ export declare const STYLE_AXIS_VALUES: {
12
12
  };
13
13
  export declare const styleTagsSchema: z.ZodObject<{
14
14
  tone: z.ZodOptional<z.ZodEnum<{
15
- classic: "classic";
16
15
  bold: "bold";
17
16
  minimal: "minimal";
17
+ classic: "classic";
18
18
  }>>;
19
19
  energy: z.ZodOptional<z.ZodEnum<{
20
20
  calm: "calm";
@@ -18,8 +18,8 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
18
18
  }>;
19
19
  contrast: z.ZodEnum<{
20
20
  standard: "standard";
21
- strong: "strong";
22
21
  maximum: "maximum";
22
+ strong: "strong";
23
23
  }>;
24
24
  radius: z.ZodEnum<{
25
25
  soft: "soft";
@@ -10,13 +10,13 @@ export declare const paletteTokenNameSchema: z.ZodEnum<{
10
10
  surface: "surface";
11
11
  success: "success";
12
12
  text: "text";
13
- accent: "accent";
14
- primary: "primary";
15
- secondary: "secondary";
16
13
  warning: "warning";
17
14
  background: "background";
15
+ accent: "accent";
18
16
  muted: "muted";
19
17
  border: "border";
18
+ primary: "primary";
19
+ secondary: "secondary";
20
20
  destructive: "destructive";
21
21
  surfaceAlt: "surfaceAlt";
22
22
  primaryForeground: "primaryForeground";
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "success" | "secondary" | "outline" | "default" | "warning" | "destructive" | null | undefined;
4
+ variant?: "success" | "default" | "warning" | "outline" | "secondary" | "destructive" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | "onDark" | "onDarkOutline" | "heroGlass" | null | undefined;
4
+ variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | "onDark" | "onDarkOutline" | "heroGlass" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {