@riverbankcms/sdk 0.60.16 → 0.62.2

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 (167) hide show
  1. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +41 -1
  2. package/dist/_dts/api/src/bookingRecords.d.ts +100 -3
  3. package/dist/_dts/api/src/bookings.d.ts +2 -1
  4. package/dist/_dts/api/src/endpoints.d.ts +96 -0
  5. package/dist/_dts/api/src/index.d.ts +5 -1
  6. package/dist/_dts/api/src/participantMessaging.d.ts +113 -0
  7. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +51 -47
  8. package/dist/_dts/api/src/types.d.ts +1 -0
  9. package/dist/_dts/blocks/src/index.d.ts +66 -62
  10. package/dist/_dts/blocks/src/lib/media.d.ts +60 -0
  11. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -2
  12. package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +2 -2
  13. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
  14. package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +0 -21
  15. package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -6
  16. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -2
  17. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -2
  18. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +0 -10
  19. package/dist/_dts/blocks/src/system/blocks/columns.d.ts +0 -10
  20. package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -20
  21. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -20
  22. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +15 -15
  23. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -10
  24. package/dist/_dts/blocks/src/system/blocks/embed.d.ts +0 -11
  25. package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +0 -20
  26. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +0 -20
  27. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +43 -27
  28. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +24 -15
  29. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
  30. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +132 -12
  31. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -2
  32. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -10
  33. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -2
  34. package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -24
  35. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -2
  36. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -3
  37. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +2 -2
  38. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +0 -13
  39. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +17 -17
  40. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -10
  41. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -2
  42. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
  43. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
  44. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
  45. package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +16 -15
  46. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -6
  47. package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -11
  48. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
  49. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +2 -2
  50. package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/constants/events.d.ts +18 -0
  52. package/dist/_dts/blocks/src/system/customize/facets.d.ts +105 -0
  53. package/dist/_dts/blocks/src/system/defineBlock.d.ts +29 -5
  54. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
  55. package/dist/_dts/blocks/src/system/fragments/library/blogFeaturedPost.d.ts +0 -24
  56. package/dist/_dts/blocks/src/system/fragments/library/bodyCopy.d.ts +0 -4
  57. package/dist/_dts/blocks/src/system/fragments/library/bookingForm.d.ts +0 -4
  58. package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +0 -6
  59. package/dist/_dts/blocks/src/system/fragments/library/columnContent.d.ts +0 -6
  60. package/dist/_dts/blocks/src/system/fragments/library/ctaCopy.d.ts +0 -4
  61. package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +0 -4
  62. package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +0 -4
  63. package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -4
  64. package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +0 -6
  65. package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -4
  66. package/dist/_dts/blocks/src/system/fragments/library/formCopy.d.ts +0 -4
  67. package/dist/_dts/blocks/src/system/fragments/library/formEmbed.d.ts +0 -18
  68. package/dist/_dts/blocks/src/system/fragments/library/headerCta.d.ts +0 -4
  69. package/dist/_dts/blocks/src/system/fragments/library/heading.d.ts +0 -6
  70. package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +0 -4
  71. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +0 -4
  72. package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +0 -4
  73. package/dist/_dts/blocks/src/system/fragments/library/image.d.ts +0 -6
  74. package/dist/_dts/blocks/src/system/fragments/library/newsletterCopy.d.ts +0 -4
  75. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +0 -4
  76. package/dist/_dts/blocks/src/system/fragments/library/quote.d.ts +0 -6
  77. package/dist/_dts/blocks/src/system/fragments/library/richText.d.ts +0 -6
  78. package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +0 -6
  79. package/dist/_dts/blocks/src/system/fragments/library/singleButton.d.ts +0 -4
  80. package/dist/_dts/blocks/src/system/fragments/library/spinner.d.ts +0 -5
  81. package/dist/_dts/blocks/src/system/fragments/library/teamMember.d.ts +0 -6
  82. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +0 -31
  83. package/dist/_dts/blocks/src/system/fragments/library/testimonialsHeading.d.ts +0 -4
  84. package/dist/_dts/blocks/src/system/fragments/library/videoEmbed.d.ts +0 -6
  85. package/dist/_dts/blocks/src/system/fragments/types.d.ts +11 -3
  86. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +4 -0
  87. package/dist/_dts/blocks/src/system/index.d.ts +1 -0
  88. package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -3
  89. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +10 -10
  90. package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +13 -0
  91. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
  92. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -0
  96. package/dist/_dts/content-model/src/contentManifest.d.ts +2 -2
  97. package/dist/_dts/content-model/src/referenceFields.d.ts +7 -1
  98. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -6
  99. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -0
  100. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +3 -2
  101. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -1
  102. package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -1
  103. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +2 -1
  104. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +2 -1
  105. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -1
  106. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +2 -1
  107. package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +3 -2
  108. package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +9 -0
  109. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +5 -1
  110. package/dist/_dts/media-core/src/index.d.ts +1 -0
  111. package/dist/_dts/media-core/src/videoSlotPolicy.d.ts +38 -0
  112. package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -1
  113. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +7 -0
  114. package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +9 -0
  115. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +14 -0
  116. package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +9 -7
  117. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -3
  118. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +1 -1
  119. package/dist/_dts/sdk/src/contracts/content.d.ts +10 -0
  120. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
  121. package/dist/_dts/sdk/src/manifest/prompt/examples/features-grid.d.ts +1 -1
  122. package/dist/_dts/sdk/src/manifest/prompt/examples/pricing.d.ts +5 -5
  123. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
  124. package/dist/_dts/sdk/src/version.d.ts +1 -1
  125. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  126. package/dist/_dts/theme-core/src/index.d.ts +1 -0
  127. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -0
  128. package/dist/_dts/theme-core/src/schema.d.ts +25 -0
  129. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +515 -0
  130. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -0
  131. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +119 -0
  132. package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +5 -563
  133. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +448 -0
  134. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +6 -0
  135. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +12 -0
  136. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -0
  137. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -0
  138. package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +67 -0
  139. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +6 -6
  140. package/dist/_dts/theme-core/src/site-styles/types.d.ts +22 -3
  141. package/dist/_dts/theme-core/src/siteChrome.d.ts +11 -0
  142. package/dist/cli/index.mjs +4310 -3464
  143. package/dist/client/bookings.mjs +310 -310
  144. package/dist/client/client.mjs +61329 -60359
  145. package/dist/client/hooks.mjs +1254 -731
  146. package/dist/client/rendering/client.mjs +5959 -5226
  147. package/dist/client/rendering/islands.mjs +3842 -3275
  148. package/dist/client/rendering.mjs +7495 -6519
  149. package/dist/preview-next/before-render.mjs +118 -0
  150. package/dist/preview-next/client/runtime.mjs +4489 -2773
  151. package/dist/preview-next/middleware.mjs +136 -0
  152. package/dist/server/components.mjs +1342 -765
  153. package/dist/server/config-validation.mjs +1256 -733
  154. package/dist/server/config.mjs +1256 -733
  155. package/dist/server/data.mjs +1254 -731
  156. package/dist/server/index.mjs +191 -18
  157. package/dist/server/next.mjs +1339 -760
  158. package/dist/server/page-converter.mjs +1088 -734
  159. package/dist/server/prebuild.mjs +1 -1
  160. package/dist/server/rendering/server.mjs +1338 -762
  161. package/dist/server/rendering.mjs +1351 -770
  162. package/dist/server/routing.mjs +1340 -754
  163. package/dist/server/server.mjs +1260 -734
  164. package/dist/server/theme-bridge.mjs +198 -34
  165. package/dist/server/theme.mjs +6 -0
  166. package/dist/styles/index.css +28 -9
  167. package/package.json +1 -1
@@ -12,6 +12,7 @@ export * from "./responsive/breakpoints";
12
12
  export { ThemeFontLoader, ThemeFontLoaderFromTheme, getThemeFontLoadingOptions, type ThemeFontLoadingOptions, type ThemeFontLoaderFromThemeProps, } from "./ThemeFontLoader";
13
13
  export { ThemeScopeCore, type ThemeScopeCoreProps } from "./ThemeScopeCore";
14
14
  export { type ThemeDataAttrs } from "./themeScopeUtils";
15
+ export { getStandaloneHeaderShellClassName, renderSiteTopChrome, type SiteChromeLayoutNodes, type SiteTopShellBehavior, } from "./siteChrome";
15
16
  export { buildThemeRuntime } from "./runtime/buildThemeRuntime";
16
17
  export { buildThemeRuntimeFromBridge, type ThemeBridgeConfigMinimal, } from "./runtime/buildThemeRuntimeFromBridge";
17
18
  export type { CornerStyle, ShadowSize, TextTransform, FontWeight, HoverTransform, HoverColor, GradientStyle, GradientSharpness, GradientDirection, ButtonVariant, ButtonSystem, } from "./buttons/types";
@@ -797,6 +797,7 @@ export declare const mockThemes: {
797
797
  } | null | undefined;
798
798
  spacing?: "none" | "compact" | "medium" | "spacious" | "comfortable" | "cozy" | null | undefined;
799
799
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
800
+ tileTreatment?: "default" | "quiet" | "brand-depth" | null | undefined;
800
801
  eyebrowTreatment?: "pill" | "plain" | "accent-pill" | "pill-bounce" | "accent-pill-bounce" | null | undefined;
801
802
  } | null | undefined;
802
803
  containerStyles?: {
@@ -1767,6 +1768,7 @@ export declare const mockThemes: {
1767
1768
  } | null | undefined;
1768
1769
  spacing?: "none" | "compact" | "medium" | "spacious" | "comfortable" | "cozy" | null | undefined;
1769
1770
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
1771
+ tileTreatment?: "default" | "quiet" | "brand-depth" | null | undefined;
1770
1772
  eyebrowTreatment?: "pill" | "plain" | "accent-pill" | "pill-bounce" | "accent-pill-bounce" | null | undefined;
1771
1773
  } | null | undefined;
1772
1774
  containerStyles?: {
@@ -2737,6 +2739,7 @@ export declare const mockThemes: {
2737
2739
  } | null | undefined;
2738
2740
  spacing?: "none" | "compact" | "medium" | "spacious" | "comfortable" | "cozy" | null | undefined;
2739
2741
  minHeight?: "none" | "hero" | "banner" | "immersive" | null | undefined;
2742
+ tileTreatment?: "default" | "quiet" | "brand-depth" | null | undefined;
2740
2743
  eyebrowTreatment?: "pill" | "plain" | "accent-pill" | "pill-bounce" | "accent-pill-bounce" | null | undefined;
2741
2744
  } | null | undefined;
2742
2745
  containerStyles?: {
@@ -176,6 +176,11 @@ export declare const sectionStylesOverrideSchema: z.ZodObject<{
176
176
  banner: "banner";
177
177
  immersive: "immersive";
178
178
  }>>>;
179
+ tileTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
180
+ default: "default";
181
+ quiet: "quiet";
182
+ "brand-depth": "brand-depth";
183
+ }>>>;
179
184
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
180
185
  pill: "pill";
181
186
  plain: "plain";
@@ -479,6 +484,11 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
479
484
  banner: "banner";
480
485
  immersive: "immersive";
481
486
  }>>>;
487
+ tileTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
488
+ default: "default";
489
+ quiet: "quiet";
490
+ "brand-depth": "brand-depth";
491
+ }>>>;
482
492
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
483
493
  pill: "pill";
484
494
  plain: "plain";
@@ -811,6 +821,11 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
811
821
  banner: "banner";
812
822
  immersive: "immersive";
813
823
  }>>>;
824
+ tileTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
825
+ default: "default";
826
+ quiet: "quiet";
827
+ "brand-depth": "brand-depth";
828
+ }>>>;
814
829
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
815
830
  pill: "pill";
816
831
  plain: "plain";
@@ -4323,6 +4338,11 @@ export declare const themeSchema: z.ZodObject<{
4323
4338
  banner: "banner";
4324
4339
  immersive: "immersive";
4325
4340
  }>>>;
4341
+ tileTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4342
+ default: "default";
4343
+ quiet: "quiet";
4344
+ "brand-depth": "brand-depth";
4345
+ }>>>;
4326
4346
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4327
4347
  pill: "pill";
4328
4348
  plain: "plain";
@@ -6400,6 +6420,11 @@ export declare const themesTurnSchema: z.ZodObject<{
6400
6420
  banner: "banner";
6401
6421
  immersive: "immersive";
6402
6422
  }>>>;
6423
+ tileTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6424
+ default: "default";
6425
+ quiet: "quiet";
6426
+ "brand-depth": "brand-depth";
6427
+ }>>>;
6403
6428
  eyebrowTreatment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6404
6429
  pill: "pill";
6405
6430
  plain: "plain";
@@ -0,0 +1,515 @@
1
+ import type { BlockAppearancePreset, BlockAppearancePresetTarget, SiteChromeAppearancePreset, SiteChromeAppearancePresetTarget } from './appearancePresetTypes';
2
+ export declare const appearancePresets: readonly [{
3
+ readonly kind: "block-design";
4
+ readonly id: "hero-immersive-image";
5
+ readonly target: "hero";
6
+ readonly label: "Immersive image hero";
7
+ readonly blockKinds: readonly ["block.hero"];
8
+ readonly constraints: {
9
+ readonly layoutFamilies: readonly ["centered", "compact"];
10
+ };
11
+ readonly design: {
12
+ readonly sectionSurface: "hero-image";
13
+ readonly contentFrame: {
14
+ readonly kind: "plain";
15
+ };
16
+ readonly itemSurface: "none";
17
+ readonly transitionAfter: "soft-fade-short";
18
+ readonly emphasis: "high";
19
+ readonly sectionHeight: "hero";
20
+ readonly imageSurfaceTreatment: {
21
+ readonly kind: "neutral-wash";
22
+ };
23
+ };
24
+ }, {
25
+ readonly kind: "block-design";
26
+ readonly id: "hero-brand-scrim";
27
+ readonly target: "hero";
28
+ readonly label: "Brand scrim image hero";
29
+ readonly blockKinds: readonly ["block.hero"];
30
+ readonly constraints: {
31
+ readonly layoutFamilies: readonly ["centered", "compact"];
32
+ };
33
+ readonly optionGroups: readonly [{
34
+ readonly id: "image-surface-treatment";
35
+ readonly label: "Treatment";
36
+ readonly selectedOptionId: "brand-scrim-primary";
37
+ readonly options: readonly [{
38
+ readonly id: "brand-scrim-primary";
39
+ readonly label: "Brand scrim";
40
+ readonly designPatch: {
41
+ readonly imageSurfaceTreatment: {
42
+ readonly kind: "brand-scrim";
43
+ readonly token: "primary";
44
+ };
45
+ };
46
+ }, {
47
+ readonly id: "neutral-scrim";
48
+ readonly label: "Neutral scrim";
49
+ readonly designPatch: {
50
+ readonly imageSurfaceTreatment: {
51
+ readonly kind: "neutral-scrim";
52
+ };
53
+ };
54
+ }];
55
+ }];
56
+ readonly layoutPatches: readonly [{
57
+ readonly constraints: {
58
+ readonly layoutVariantKeys: readonly ["micro"];
59
+ };
60
+ readonly designPatch: {
61
+ readonly sectionHeight: "banner";
62
+ };
63
+ }];
64
+ readonly design: {
65
+ readonly sectionSurface: "hero-image";
66
+ readonly contentFrame: {
67
+ readonly kind: "plain";
68
+ };
69
+ readonly itemSurface: "none";
70
+ readonly transitionAfter: "soft-fade-short";
71
+ readonly emphasis: "high";
72
+ readonly sectionHeight: "immersive";
73
+ readonly imageSurfaceTreatment: {
74
+ readonly kind: "brand-scrim";
75
+ readonly token: "primary";
76
+ };
77
+ };
78
+ }, {
79
+ readonly kind: "block-design";
80
+ readonly id: "hero-brand-scrim-fixed-frame";
81
+ readonly target: "hero";
82
+ readonly label: "Fixed-frame brand scrim hero";
83
+ readonly blockKinds: readonly ["block.hero"];
84
+ readonly constraints: {
85
+ readonly layoutFamilies: readonly ["centered", "compact"];
86
+ };
87
+ readonly optionGroups: readonly [{
88
+ readonly id: "image-surface-treatment";
89
+ readonly label: "Treatment";
90
+ readonly selectedOptionId: "brand-scrim-primary";
91
+ readonly options: readonly [{
92
+ readonly id: "brand-scrim-primary";
93
+ readonly label: "Brand scrim";
94
+ readonly designPatch: {
95
+ readonly imageSurfaceTreatment: {
96
+ readonly kind: "brand-scrim";
97
+ readonly token: "primary";
98
+ };
99
+ };
100
+ }, {
101
+ readonly id: "neutral-scrim";
102
+ readonly label: "Neutral scrim";
103
+ readonly designPatch: {
104
+ readonly imageSurfaceTreatment: {
105
+ readonly kind: "neutral-scrim";
106
+ };
107
+ };
108
+ }];
109
+ }];
110
+ readonly layoutPatches: readonly [{
111
+ readonly constraints: {
112
+ readonly layoutVariantKeys: readonly ["micro"];
113
+ };
114
+ readonly designPatch: {
115
+ readonly sectionHeight: "banner";
116
+ };
117
+ }];
118
+ readonly design: {
119
+ readonly sectionSurface: "hero-image";
120
+ readonly contentFrame: {
121
+ readonly kind: "plain";
122
+ };
123
+ readonly itemSurface: "none";
124
+ readonly transitionAfter: "soft-fade-short";
125
+ readonly emphasis: "high";
126
+ readonly sectionHeight: "immersive";
127
+ readonly imageSurfaceTreatment: {
128
+ readonly kind: "brand-scrim";
129
+ readonly token: "primary";
130
+ };
131
+ readonly imageSurfaceMotion: "fixed-frame";
132
+ readonly eyebrowTreatment: "accent-pill-bounce";
133
+ };
134
+ }, {
135
+ readonly kind: "block-design";
136
+ readonly id: "hero-brand-depth-expressive";
137
+ readonly target: "hero";
138
+ readonly label: "Expressive brand-depth hero";
139
+ readonly blockKinds: readonly ["block.hero"];
140
+ readonly constraints: {
141
+ readonly layoutFamilies: readonly ["centered", "compact"];
142
+ };
143
+ readonly design: {
144
+ readonly sectionSurface: "brand-depth-band";
145
+ readonly contentFrame: {
146
+ readonly kind: "plain";
147
+ };
148
+ readonly itemSurface: "none";
149
+ readonly transitionAfter: "soft-fade-short";
150
+ readonly emphasis: "high";
151
+ readonly eyebrowTreatment: "accent-pill-bounce";
152
+ };
153
+ }, {
154
+ readonly kind: "block-design";
155
+ readonly id: "hero-contained-intro";
156
+ readonly target: "hero";
157
+ readonly label: "Contained intro hero";
158
+ readonly blockKinds: readonly ["block.hero"];
159
+ readonly design: {
160
+ readonly sectionSurface: "muted-band";
161
+ readonly contentFrame: Readonly<{
162
+ kind: "panel";
163
+ treatment: "inset";
164
+ }>;
165
+ readonly itemSurface: "none";
166
+ readonly transitionAfter: "none";
167
+ readonly emphasis: "high";
168
+ };
169
+ }, {
170
+ readonly kind: "block-design";
171
+ readonly id: "body-text-editorial-intro";
172
+ readonly target: "body-text";
173
+ readonly label: "Editorial intro copy";
174
+ readonly blockKinds: readonly ["block.body-text"];
175
+ readonly design: {
176
+ readonly sectionSurface: "base";
177
+ readonly contentFrame: {
178
+ readonly kind: "plain";
179
+ };
180
+ readonly itemSurface: "none";
181
+ readonly transitionAfter: "soft-fade-short";
182
+ readonly emphasis: "high";
183
+ };
184
+ }, {
185
+ readonly kind: "block-design";
186
+ readonly id: "body-text-brand-depth-intro";
187
+ readonly target: "body-text";
188
+ readonly label: "Brand-depth intro copy";
189
+ readonly blockKinds: readonly ["block.body-text"];
190
+ readonly design: {
191
+ readonly sectionSurface: "brand-depth-band";
192
+ readonly contentFrame: {
193
+ readonly kind: "plain";
194
+ };
195
+ readonly itemSurface: "none";
196
+ readonly transitionAfter: "soft-fade-short";
197
+ readonly emphasis: "high";
198
+ };
199
+ }, {
200
+ readonly kind: "block-design";
201
+ readonly id: "offerings-calm-list";
202
+ readonly target: "offerings";
203
+ readonly label: "Calm offerings list";
204
+ readonly blockKinds: readonly ["block.event-listing", "block.event-calendar", "block.event-spotlight", "block.product-list"];
205
+ readonly design: {
206
+ readonly sectionSurface: "muted-band";
207
+ readonly contentFrame: {
208
+ readonly kind: "plain";
209
+ };
210
+ readonly itemSurface: "none";
211
+ readonly transitionAfter: "soft-fade-short";
212
+ readonly emphasis: "medium";
213
+ };
214
+ }, {
215
+ readonly kind: "block-design";
216
+ readonly id: "events-base-calendar";
217
+ readonly target: "events";
218
+ readonly label: "Base event calendar";
219
+ readonly blockKinds: readonly ["block.event-calendar", "block.event-listing"];
220
+ readonly design: {
221
+ readonly sectionSurface: "base";
222
+ readonly contentFrame: {
223
+ readonly kind: "plain";
224
+ };
225
+ readonly itemSurface: "none";
226
+ readonly transitionAfter: "none";
227
+ readonly emphasis: "medium";
228
+ };
229
+ }, {
230
+ readonly kind: "block-design";
231
+ readonly id: "schedule-details-accent-section";
232
+ readonly target: "events";
233
+ readonly label: "Accent schedule details";
234
+ readonly blockKinds: readonly ["block.event-details", "block.course-details"];
235
+ readonly design: {
236
+ readonly sectionSurface: "accent-band";
237
+ readonly contentFrame: {
238
+ readonly kind: "plain";
239
+ };
240
+ readonly itemSurface: "none";
241
+ readonly transitionAfter: "none";
242
+ readonly emphasis: "medium";
243
+ };
244
+ }, {
245
+ readonly kind: "block-design";
246
+ readonly id: "schedule-details-brand-depth";
247
+ readonly target: "events";
248
+ readonly label: "Brand-depth schedule details";
249
+ readonly blockKinds: readonly ["block.event-details", "block.course-details"];
250
+ readonly design: {
251
+ readonly sectionSurface: "brand-depth-band";
252
+ readonly contentFrame: {
253
+ readonly kind: "plain";
254
+ };
255
+ readonly itemSurface: "none";
256
+ readonly transitionAfter: "none";
257
+ readonly emphasis: "medium";
258
+ readonly tileTreatment: "brand-depth";
259
+ };
260
+ }, {
261
+ readonly kind: "block-design";
262
+ readonly id: "media-text-flush-feature";
263
+ readonly target: "media-text";
264
+ readonly label: "Flush media feature";
265
+ readonly blockKinds: readonly ["block.media-text"];
266
+ readonly design: {
267
+ readonly sectionSurface: "muted-band";
268
+ readonly contentFrame: Readonly<{
269
+ kind: "flush-panel";
270
+ treatment: import("@riverbankcms/blocks").FlushFrameTreatment;
271
+ bleed: "start";
272
+ }>;
273
+ readonly itemSurface: "none";
274
+ readonly transitionAfter: "none";
275
+ readonly emphasis: "high";
276
+ };
277
+ }, {
278
+ readonly kind: "block-design";
279
+ readonly id: "media-text-quiet-story";
280
+ readonly target: "media-text";
281
+ readonly label: "Quiet media story";
282
+ readonly blockKinds: readonly ["block.media-text"];
283
+ readonly design: {
284
+ readonly sectionSurface: "base";
285
+ readonly contentFrame: {
286
+ readonly kind: "plain";
287
+ };
288
+ readonly itemSurface: "none";
289
+ readonly transitionAfter: "soft-fade-short";
290
+ readonly emphasis: "medium";
291
+ };
292
+ }, {
293
+ readonly kind: "block-design";
294
+ readonly id: "testimonials-carded-proof";
295
+ readonly target: "testimonials";
296
+ readonly label: "Carded social proof";
297
+ readonly blockKinds: readonly ["block.testimonials"];
298
+ readonly design: {
299
+ readonly sectionSurface: "base";
300
+ readonly contentFrame: {
301
+ readonly kind: "plain";
302
+ };
303
+ readonly itemSurface: "default";
304
+ readonly transitionAfter: "none";
305
+ readonly emphasis: "medium";
306
+ };
307
+ }, {
308
+ readonly kind: "block-design";
309
+ readonly id: "testimonials-contained-proof";
310
+ readonly target: "testimonials";
311
+ readonly label: "Contained social proof";
312
+ readonly blockKinds: readonly ["block.testimonials"];
313
+ readonly design: {
314
+ readonly sectionSurface: "muted-band";
315
+ readonly contentFrame: Readonly<{
316
+ kind: "panel";
317
+ treatment: "raised";
318
+ }>;
319
+ readonly itemSurface: "raised";
320
+ readonly transitionAfter: "soft-fade-short";
321
+ readonly emphasis: "high";
322
+ };
323
+ }, {
324
+ readonly kind: "block-design";
325
+ readonly id: "testimonials-dark-proof";
326
+ readonly target: "testimonials";
327
+ readonly label: "Dark proof panel";
328
+ readonly blockKinds: readonly ["block.testimonials"];
329
+ readonly design: {
330
+ readonly sectionSurface: "accent-band";
331
+ readonly contentFrame: Readonly<{
332
+ kind: "panel";
333
+ treatment: "raised";
334
+ }>;
335
+ readonly itemSurface: "raised";
336
+ readonly transitionAfter: "soft-fade-short";
337
+ readonly emphasis: "high";
338
+ };
339
+ }, {
340
+ readonly kind: "block-design";
341
+ readonly id: "testimonials-accent-quote-proof";
342
+ readonly target: "testimonials";
343
+ readonly label: "Accent quote proof";
344
+ readonly blockKinds: readonly ["block.testimonials"];
345
+ readonly design: {
346
+ readonly sectionSurface: "accent-band";
347
+ readonly contentFrame: {
348
+ readonly kind: "plain";
349
+ };
350
+ readonly itemSurface: "raised";
351
+ readonly transitionAfter: "soft-fade-short";
352
+ readonly emphasis: "high";
353
+ readonly testimonialCardTreatment: "accent-quote";
354
+ };
355
+ }, {
356
+ readonly kind: "block-design";
357
+ readonly id: "faq-base-accordion";
358
+ readonly target: "faq";
359
+ readonly label: "Base accordion FAQ";
360
+ readonly blockKinds: readonly ["block.faq"];
361
+ readonly design: {
362
+ readonly sectionSurface: "base";
363
+ readonly contentFrame: {
364
+ readonly kind: "plain";
365
+ };
366
+ readonly itemSurface: "default";
367
+ readonly transitionAfter: "none";
368
+ readonly emphasis: "medium";
369
+ };
370
+ }, {
371
+ readonly kind: "block-design";
372
+ readonly id: "faq-contained-help";
373
+ readonly target: "faq";
374
+ readonly label: "Contained help panel";
375
+ readonly blockKinds: readonly ["block.faq"];
376
+ readonly design: {
377
+ readonly sectionSurface: "muted-band";
378
+ readonly contentFrame: Readonly<{
379
+ kind: "panel";
380
+ treatment: "inset";
381
+ }>;
382
+ readonly itemSurface: "default";
383
+ readonly transitionAfter: "none";
384
+ readonly emphasis: "low";
385
+ };
386
+ }, {
387
+ readonly kind: "block-design";
388
+ readonly id: "contact-form-panel";
389
+ readonly target: "contact-form";
390
+ readonly label: "Contact form panel";
391
+ readonly blockKinds: readonly ["block.form"];
392
+ readonly design: {
393
+ readonly sectionSurface: "muted-band";
394
+ readonly contentFrame: Readonly<{
395
+ kind: "panel";
396
+ treatment: "raised";
397
+ }>;
398
+ readonly itemSurface: "none";
399
+ readonly transitionAfter: "soft-fade-short";
400
+ readonly emphasis: "medium";
401
+ };
402
+ }, {
403
+ readonly kind: "block-design";
404
+ readonly id: "contact-form-dark-card";
405
+ readonly target: "contact-form";
406
+ readonly label: "Dark form card";
407
+ readonly blockKinds: readonly ["block.form"];
408
+ readonly design: {
409
+ readonly sectionSurface: "accent-band";
410
+ readonly contentFrame: Readonly<{
411
+ kind: "panel";
412
+ treatment: "raised";
413
+ }>;
414
+ readonly itemSurface: "none";
415
+ readonly transitionAfter: "soft-fade-short";
416
+ readonly emphasis: "high";
417
+ };
418
+ }, {
419
+ readonly kind: "block-design";
420
+ readonly id: "contact-form-brand-depth-card";
421
+ readonly target: "contact-form";
422
+ readonly label: "Brand-depth form card";
423
+ readonly blockKinds: readonly ["block.form"];
424
+ readonly design: {
425
+ readonly sectionSurface: "brand-depth-band";
426
+ readonly contentFrame: Readonly<{
427
+ kind: "panel";
428
+ treatment: "raised";
429
+ }>;
430
+ readonly itemSurface: "none";
431
+ readonly transitionAfter: "none";
432
+ readonly emphasis: "high";
433
+ };
434
+ }, {
435
+ readonly kind: "block-design";
436
+ readonly id: "cta-accent-band";
437
+ readonly target: "cta";
438
+ readonly label: "Accent CTA band";
439
+ readonly blockKinds: readonly ["block.cta-full"];
440
+ readonly design: {
441
+ readonly sectionSurface: "accent-band";
442
+ readonly contentFrame: {
443
+ readonly kind: "plain";
444
+ };
445
+ readonly itemSurface: "none";
446
+ readonly transitionAfter: "none";
447
+ readonly emphasis: "high";
448
+ };
449
+ }, {
450
+ readonly kind: "site-chrome";
451
+ readonly id: "header-clean-base";
452
+ readonly target: "site-header";
453
+ readonly label: "Clean base header";
454
+ readonly header: {
455
+ readonly surface: {
456
+ readonly kind: "neutral-solid";
457
+ readonly token: "surface";
458
+ readonly textColorToken: "text";
459
+ };
460
+ readonly navTreatment: "minimal";
461
+ readonly dropdownTreatment: "surface";
462
+ readonly ctaTreatment: "default";
463
+ readonly behavior: "default";
464
+ };
465
+ }, {
466
+ readonly kind: "site-chrome";
467
+ readonly id: "site-header-brand-solid-inverted-cta";
468
+ readonly target: "site-header";
469
+ readonly label: "Brand solid header with inverted CTA";
470
+ readonly header: {
471
+ readonly surface: {
472
+ readonly kind: "brand-solid";
473
+ readonly token: "primary";
474
+ readonly textColorToken: "primaryForeground";
475
+ };
476
+ readonly navTreatment: "uppercase-underline";
477
+ readonly dropdownTreatment: "matched-solid";
478
+ readonly ctaTreatment: "inverted";
479
+ readonly behavior: "sticky-shrink";
480
+ };
481
+ }, {
482
+ readonly kind: "site-chrome";
483
+ readonly id: "footer-muted-grounding";
484
+ readonly target: "site-footer";
485
+ readonly label: "Muted grounding footer";
486
+ readonly footer: {
487
+ readonly kind: "grounding";
488
+ readonly surface: "muted-band";
489
+ readonly emphasis: "low";
490
+ };
491
+ }, {
492
+ readonly kind: "site-chrome";
493
+ readonly id: "site-footer-brand-two-band";
494
+ readonly target: "site-footer";
495
+ readonly label: "Two-band brand footer";
496
+ readonly footer: {
497
+ readonly kind: "brand-two-band";
498
+ readonly surface: {
499
+ readonly token: "primary";
500
+ readonly shade: "800";
501
+ readonly textColorToken: "primaryForeground";
502
+ };
503
+ readonly bottomBand: {
504
+ readonly token: "primary";
505
+ readonly shade: "900";
506
+ readonly textColorToken: "primaryForeground";
507
+ };
508
+ readonly emphasis: "high";
509
+ };
510
+ }];
511
+ export type BlockAppearancePresetBlockKind = Extract<(typeof appearancePresets)[number], {
512
+ kind: 'block-design';
513
+ }>['blockKinds'][number];
514
+ export declare function getAppearancePresetsForTarget(target: SiteChromeAppearancePresetTarget): readonly SiteChromeAppearancePreset[];
515
+ export declare function getAppearancePresetsForTarget(target: BlockAppearancePresetTarget): readonly BlockAppearancePreset[];
@@ -0,0 +1,12 @@
1
+ import type { BlockLayoutDesignProfile } from './blockFlow';
2
+ import type { BlockAppearanceDesign, BlockAppearancePreset, BlockAppearancePresetConstraints } from './appearancePresetTypes';
3
+ import type { BlockDesignPlan } from './types';
4
+ export declare function defineBlockAppearancePreset<const TPreset extends BlockAppearancePreset>(preset: TPreset): TPreset;
5
+ export declare function layoutProfileSupportsConstraints(profile: BlockLayoutDesignProfile, constraints: BlockAppearancePresetConstraints): boolean;
6
+ export declare function resolveBlockAppearancePresetDesign(preset: BlockAppearancePreset, layoutProfile?: BlockLayoutDesignProfile | null): BlockAppearanceDesign;
7
+ export declare function blockDesignPlanFromAppearancePreset<TBlockId extends string, TPurpose extends string>(preset: BlockAppearancePreset, input: Readonly<{
8
+ blockId: TBlockId;
9
+ blockKind: string;
10
+ purpose: TPurpose;
11
+ layoutProfile?: BlockLayoutDesignProfile | null;
12
+ }>): BlockDesignPlan<TBlockId, TPurpose>;