@riverbankcms/sdk 0.85.0 → 0.89.1

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 (166) hide show
  1. package/dist/{PreviewEditorSidebar-4PH35ZIE.mjs → PreviewEditorSidebar-JDR64FEC.mjs} +3 -3
  2. package/dist/{PreviewEditorUI-WHMCRJGM.mjs → PreviewEditorUI-67TMJMAF.mjs} +3 -3
  3. package/dist/SdkPreviewModeRuntime-ZBEMRV7N.mjs +8 -0
  4. package/dist/_dts/api/src/accessAdmin.d.ts +7 -0
  5. package/dist/_dts/api/src/endpoints.d.ts +66 -14
  6. package/dist/_dts/api/src/index.d.ts +5 -2
  7. package/dist/_dts/api/src/launchReadiness.d.ts +3 -3
  8. package/dist/_dts/api/src/mailchimpIntegration.d.ts +215 -0
  9. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +35 -15
  10. package/dist/_dts/api/src/siteInfrastructure.d.ts +0 -14
  11. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
  12. package/dist/_dts/api/src/siteMembers.d.ts +6 -1
  13. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -13
  14. package/dist/_dts/api/src/types.d.ts +7 -4
  15. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
  16. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -0
  17. package/dist/_dts/blocks/src/index.d.ts +2 -1
  18. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
  19. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
  20. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
  21. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
  22. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
  23. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
  24. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
  25. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +288 -288
  26. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
  27. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  28. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +42 -42
  29. package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +300 -0
  30. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +63 -3
  31. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
  32. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
  33. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
  34. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +53 -1
  35. package/dist/_dts/blocks/src/system/icons/cta.d.ts +3 -3
  36. package/dist/_dts/blocks/src/system/icons/index.d.ts +1 -0
  37. package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -2
  38. package/dist/_dts/blocks/src/system/icons/semantic.d.ts +3 -3
  39. package/dist/_dts/blocks/src/system/icons/svg.d.ts +72 -0
  40. package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +27 -0
  41. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -23
  42. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +11 -2
  43. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -0
  44. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
  45. package/dist/_dts/blocks/src/system/runtime/hooks/loadStateError.d.ts +1 -0
  46. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -1
  47. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.state.d.ts +55 -0
  48. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.state.d.ts +39 -0
  49. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.d.ts +4 -27
  50. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.state.d.ts +40 -0
  51. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +20 -0
  52. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.state.d.ts +31 -0
  53. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +3 -3
  54. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.state.d.ts +39 -0
  55. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -0
  56. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +4 -0
  57. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  58. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +1 -1
  59. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +11 -1
  60. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +24 -2
  61. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +15 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
  63. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +32 -0
  64. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +5 -1
  65. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +24 -0
  66. package/dist/_dts/blocks/src/system/runtime/shared/components/ModalShell.d.ts +5 -1
  67. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts +35 -0
  68. package/dist/_dts/blocks/src/system/runtime/shared/utils/formatting.d.ts +1 -1
  69. package/dist/_dts/content-model/src/entry-slots/types.d.ts +54 -0
  70. package/dist/_dts/content-model/src/referenceFields.d.ts +1 -1
  71. package/dist/_dts/core/src/branded.d.ts +7 -0
  72. package/dist/_dts/core/src/currency-format.d.ts +37 -2
  73. package/dist/_dts/core/src/event-pricing.d.ts +24 -0
  74. package/dist/_dts/core/src/index.d.ts +1 -0
  75. package/dist/_dts/core/src/site-route-target.d.ts +40 -0
  76. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +705 -17
  77. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -1
  78. package/dist/_dts/media-core/src/fileDomain.d.ts +4 -0
  79. package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +160 -0
  80. package/dist/_dts/sdk/src/client/types.d.ts +35 -1
  81. package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
  82. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -0
  83. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +3 -9
  84. package/dist/_dts/sdk/src/index.d.ts +3 -1
  85. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
  86. package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +7 -18
  87. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  88. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  89. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -3
  90. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -24
  91. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +45 -0
  92. package/dist/_dts/sdk/src/version.d.ts +1 -1
  93. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  94. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +9 -9
  95. package/dist/_dts/theme-core/src/schema.d.ts +11 -11
  96. package/dist/{chunk-PYDHOMEO.mjs → chunk-7N46MZHI.mjs} +1 -1
  97. package/dist/{chunk-ZR2GQK2A.mjs → chunk-7YUAXONX.mjs} +1880 -588
  98. package/dist/{chunk-4QNLOTES.mjs → chunk-F645A5UV.mjs} +76 -14
  99. package/dist/{chunk-OCGTXHSO.mjs → chunk-HKJQERFR.mjs} +7 -7
  100. package/dist/{chunk-NFWGLRZZ.mjs → chunk-TGBJWKMP.mjs} +37 -3
  101. package/dist/{chunk-WFPYN7KA.mjs → chunk-ZQRBLCW5.mjs} +2 -2
  102. package/dist/cli/index.mjs +1075 -126
  103. package/dist/client/{accordion-2UZPBMYM.mjs → accordion-MUCVNGQ7.mjs} +2 -2
  104. package/dist/client/{bookingForm-36CWQUMV.mjs → bookingForm-PKD6EFIE.mjs} +193 -77
  105. package/dist/client/bookings.mjs +487 -197
  106. package/dist/client/{carousel-QH77HR6X.mjs → carousel-3TKQSNJC.mjs} +4 -3
  107. package/dist/client/cart-6XHSZK23.mjs +19 -0
  108. package/dist/client/checkout-FVSPM6FI.mjs +19 -0
  109. package/dist/client/{chunk-ZE5G642V.mjs → chunk-25W2EQUN.mjs} +75 -1
  110. package/dist/client/chunk-6N7YRNYU.mjs +183 -0
  111. package/dist/client/{chunk-4OXKTA3D.mjs → chunk-7DH35FGA.mjs} +2 -2
  112. package/dist/client/{chunk-3C2VTPWI.mjs → chunk-CQKKFEQD.mjs} +363 -66
  113. package/dist/client/{chunk-7UCLJ5SP.mjs → chunk-EY42X22F.mjs} +4 -7
  114. package/dist/client/{chunk-SYIJ5JO2.mjs → chunk-FHU6PFPM.mjs} +1 -1
  115. package/dist/client/{chunk-ZKUO52W3.mjs → chunk-LQFDYWPJ.mjs} +1 -1
  116. package/dist/client/chunk-RSQWWUAD.mjs +390 -0
  117. package/dist/client/{chunk-UDNSI5PY.mjs → chunk-STJ2NCQM.mjs} +2 -3
  118. package/dist/client/{chunk-VGDBVNOO.mjs → chunk-UQFY4AHX.mjs} +511 -406
  119. package/dist/client/{chunk-F5VRX5Y6.mjs → chunk-VGLXACVK.mjs} +1 -1
  120. package/dist/client/{chunk-DVNUDUVT.mjs → chunk-WBQG7VJA.mjs} +4 -1
  121. package/dist/client/{chunk-52CGCQ7B.mjs → chunk-ZJZZA5EP.mjs} +10 -80
  122. package/dist/client/{chunk-XSV6KW4D.mjs → chunk-ZT5XE7FK.mjs} +1 -1
  123. package/dist/client/client.mjs +5820 -4782
  124. package/dist/client/{courseRegistration-TMKU6ABO.mjs → courseRegistration-ATZSYDHM.mjs} +7 -7
  125. package/dist/client/{eventCalendar-G6TI32X6.mjs → eventCalendar-6T2UGKKP.mjs} +11 -11
  126. package/dist/client/{eventCombined-SCKEMNAR.mjs → eventCombined-Q4VANXVF.mjs} +11 -11
  127. package/dist/client/{eventDetails-XPIFXXPK.mjs → eventDetails-DW37E7VW.mjs} +11 -11
  128. package/dist/client/{eventListing-7QFMEMGT.mjs → eventListing-XURTSAUW.mjs} +11 -11
  129. package/dist/client/{eventRegistration-TOODSZUI.mjs → eventRegistration-MRKEVAXW.mjs} +11 -11
  130. package/dist/client/{form-MTCMVCZT.mjs → form-WZZFFGMU.mjs} +3 -3
  131. package/dist/client/{headerSection-Y5TMR3TW.mjs → headerSection-EQYVQBLM.mjs} +4 -4
  132. package/dist/client/hooks.mjs +1700 -1412
  133. package/dist/client/{locationMap-RH2LG7FZ.mjs → locationMap-MFF5VAZR.mjs} +3 -4
  134. package/dist/client/{newsletterForm-PCAIPFMA.mjs → newsletterForm-JQ77UYIE.mjs} +127 -43
  135. package/dist/client/{productDetail-OIGDR4YE.mjs → productDetail-25LMT3IZ.mjs} +9 -9
  136. package/dist/client/{productList-4MA5S2CX.mjs → productList-5ABEMKUG.mjs} +9 -9
  137. package/dist/client/rendering/client.mjs +3884 -3722
  138. package/dist/client/rendering/islands.mjs +19 -19
  139. package/dist/client/rendering.mjs +6774 -6331
  140. package/dist/client/shop-OMMQZ6YO.mjs +21 -0
  141. package/dist/preview-next/before-render.mjs +76 -14
  142. package/dist/preview-next/client/runtime.mjs +5 -5
  143. package/dist/preview-next/editor-chrome.css +56 -9
  144. package/dist/preview-next/middleware.mjs +76 -14
  145. package/dist/{sdk-runtime-QLOCYKVU.mjs → sdk-runtime-WNLBZ3ZH.mjs} +6 -6
  146. package/dist/server/components.mjs +2579 -2548
  147. package/dist/server/config-validation.mjs +1737 -1461
  148. package/dist/server/config.mjs +1737 -1461
  149. package/dist/server/data.mjs +1701 -1413
  150. package/dist/server/index.mjs +1048 -400
  151. package/dist/server/next.mjs +3602 -2858
  152. package/dist/server/page-converter.mjs +2193 -1169
  153. package/dist/server/prebuild.mjs +1 -1
  154. package/dist/server/rendering/server.mjs +2770 -2742
  155. package/dist/server/rendering.mjs +2961 -2886
  156. package/dist/server/routing.mjs +2186 -1508
  157. package/dist/server/server.mjs +2237 -1287
  158. package/dist/server/theme-bridge.mjs +260 -0
  159. package/dist/styles/index.css +258 -0
  160. package/package.json +2 -1
  161. package/dist/SdkPreviewModeRuntime-4FGSVUYI.mjs +0 -8
  162. package/dist/client/cart-X4YK4FTW.mjs +0 -19
  163. package/dist/client/checkout-OM2BEPWD.mjs +0 -19
  164. package/dist/client/chunk-3DTWLTXM.mjs +0 -204
  165. package/dist/client/chunk-I2MMZO53.mjs +0 -6
  166. package/dist/client/shop-WXSYV5QO.mjs +0 -21
@@ -6,15 +6,60 @@
6
6
  */
7
7
  export declare const newsletterFormFragment: import("..").DefinedFragment<{
8
8
  readonly fields: readonly [{
9
+ readonly id: "destinationProvider";
10
+ readonly type: "select";
11
+ readonly label: "Send signups to";
12
+ readonly description: "Choose where new subscribers from this form should go.";
13
+ readonly defaultValue: "riverbank";
14
+ readonly required: true;
15
+ readonly ui: {
16
+ readonly intent: "behavior";
17
+ };
18
+ readonly options: [{
19
+ readonly value: "riverbank";
20
+ readonly label: "Riverbank newsletter";
21
+ }];
22
+ }, {
9
23
  readonly id: "listId";
10
24
  readonly type: "reference";
11
25
  readonly label: "Newsletter list";
12
26
  readonly description: "Select the list new subscribers should be added to.";
13
- readonly required: true;
27
+ readonly required: false;
14
28
  readonly referenceKind: "newsletterList";
15
29
  readonly allowManualEntry: false;
16
30
  readonly ui: {
17
31
  readonly intent: "behavior";
32
+ readonly visibleWhen: {
33
+ readonly field: "destinationProvider";
34
+ readonly equals: "riverbank";
35
+ };
36
+ };
37
+ }, {
38
+ readonly id: "mailchimpAudienceId";
39
+ readonly type: "reference";
40
+ readonly label: "Mailchimp audience";
41
+ readonly description: "Choose the Mailchimp audience for new subscribers.";
42
+ readonly required: false;
43
+ readonly referenceKind: "mailchimpAudience";
44
+ readonly allowManualEntry: false;
45
+ readonly ui: {
46
+ readonly intent: "behavior";
47
+ readonly visibleWhen: {
48
+ readonly field: "destinationProvider";
49
+ readonly equals: "mailchimp";
50
+ };
51
+ };
52
+ }, {
53
+ readonly id: "mailchimpTags";
54
+ readonly type: "text";
55
+ readonly label: "Mailchimp tags";
56
+ readonly description: "Optional tags to apply in Mailchimp, separated by commas or semicolons.";
57
+ readonly ui: {
58
+ readonly intent: "behavior";
59
+ readonly visibleWhen: {
60
+ readonly field: "destinationProvider";
61
+ readonly equals: "mailchimp";
62
+ };
18
63
  };
19
64
  }, {
20
65
  readonly id: "preset";
@@ -68,5 +113,12 @@ export declare const newsletterFormFragment: import("..").DefinedFragment<{
68
113
  readonly type: "text";
69
114
  readonly label: "Tags (optional)";
70
115
  readonly description: "Optional tags to apply on subscribe (comma or semicolon separated).";
116
+ readonly ui: {
117
+ readonly intent: "behavior";
118
+ readonly visibleWhen: {
119
+ readonly field: "destinationProvider";
120
+ readonly equals: "riverbank";
121
+ };
122
+ };
71
123
  }];
72
124
  }>;
@@ -1,4 +1,4 @@
1
- import type { LucideIcon } from 'lucide-react';
1
+ import { type IconComponent } from './svg';
2
2
  /**
3
3
  * Curated icon set for CTA/button icons.
4
4
  *
@@ -11,7 +11,7 @@ export type CtaIconOption = {
11
11
  id: CtaIconName;
12
12
  label: string;
13
13
  };
14
- export declare const CTA_ICON_COMPONENTS: Record<CtaIconName, LucideIcon>;
14
+ export declare const CTA_ICON_COMPONENTS: Record<CtaIconName, IconComponent>;
15
15
  export declare function isCtaIconName(value: unknown): value is CtaIconName;
16
16
  export declare const CTA_ICON_OPTIONS: CtaIconOption[];
17
- export declare function getCtaIconComponent(name: unknown): LucideIcon | null;
17
+ export declare function getCtaIconComponent(name: unknown): IconComponent | null;
@@ -3,4 +3,5 @@ export * from './ids';
3
3
  export * from './presets';
4
4
  export * from './semantic';
5
5
  export * from './registry';
6
+ export * from './svg';
6
7
  export * from './value';
@@ -1,7 +1,7 @@
1
- import type { LucideIcon } from 'lucide-react';
2
1
  import { type CtaIconName } from './cta';
3
2
  import { type SemanticIconId } from './semantic';
4
3
  import { type IconPickerPreset } from './presets';
4
+ import type { IconComponent } from './svg';
5
5
  export type IconName = CtaIconName | SemanticIconId;
6
6
  export type IconIdForPreset<Preset extends IconPickerPreset> = Preset extends 'cta' ? CtaIconName : Preset extends 'feature' ? SemanticIconId : never;
7
7
  export type IconPickerOption<Preset extends IconPickerPreset = IconPickerPreset> = {
@@ -15,4 +15,4 @@ export declare function getIconPickerOptionsForPreset(preset: 'feature'): readon
15
15
  export declare function getIconPickerOptionsForPreset(preset: IconPickerPreset): readonly IconPickerOption[];
16
16
  export declare function getIconPickerOptionsForUnknownPreset(value: unknown): readonly IconPickerOption[];
17
17
  export declare function isKnownIconName(value: unknown): value is IconName;
18
- export declare function getIconComponent(name: unknown): LucideIcon | null;
18
+ export declare function getIconComponent(name: unknown): IconComponent | null;
@@ -1,4 +1,4 @@
1
- import type { LucideIcon } from 'lucide-react';
1
+ import { type IconComponent } from './svg';
2
2
  import type { IconPickerPreset } from './presets';
3
3
  export declare const ICON_DOMAINS: readonly ["wellbeing", "coaching", "community", "education", "commerce", "events", "services", "hospitality", "creative", "technology"];
4
4
  export type IconDomain = (typeof ICON_DOMAINS)[number];
@@ -14,7 +14,7 @@ export type SemanticIconDefinition = {
14
14
  tone: readonly IconTone[];
15
15
  presets: readonly IconPickerPreset[];
16
16
  };
17
- export declare const SEMANTIC_ICON_COMPONENTS: Record<SemanticIconId, LucideIcon>;
17
+ export declare const SEMANTIC_ICON_COMPONENTS: Record<SemanticIconId, IconComponent>;
18
18
  export declare const SEMANTIC_ICON_DEFINITIONS: readonly [{
19
19
  readonly id: "protection-trust";
20
20
  readonly label: "Protection and trust";
@@ -236,4 +236,4 @@ export declare const SEMANTIC_ICON_DEFINITIONS: readonly [{
236
236
  export type SemanticIconOption = Pick<SemanticIconDefinition, 'id' | 'label'>;
237
237
  export declare const SEMANTIC_ICON_OPTIONS: SemanticIconOption[];
238
238
  export declare function isSemanticIconId(value: unknown): value is SemanticIconId;
239
- export declare function getSemanticIconComponent(name: unknown): LucideIcon | null;
239
+ export declare function getSemanticIconComponent(name: unknown): IconComponent | null;
@@ -0,0 +1,72 @@
1
+ import React from 'react';
2
+ import type { SVGProps } from 'react';
3
+ /**
4
+ * RSC-safe icon primitives for public block rendering.
5
+ *
6
+ * Keep these icons hand-authored in this package. Do not re-import Lucide here:
7
+ * this module is reachable from SDK server exports and must remain safe to
8
+ * evaluate in Next App Router React Server Components.
9
+ */
10
+ export type IconSvgProps = Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> & {
11
+ size?: number | string;
12
+ strokeWidth?: number | string;
13
+ title?: string;
14
+ };
15
+ export type IconComponent = React.ComponentType<IconSvgProps>;
16
+ export declare const ArrowDownIcon: IconComponent;
17
+ export declare const ArrowLeftIcon: IconComponent;
18
+ export declare const ArrowRightIcon: IconComponent;
19
+ export declare const AwardIcon: IconComponent;
20
+ export declare const BadgeCheckIcon: IconComponent;
21
+ export declare const BookOpenIcon: IconComponent;
22
+ export declare const BrainIcon: IconComponent;
23
+ export declare const BriefcaseBusinessIcon: IconComponent;
24
+ export declare const CalendarIcon: IconComponent;
25
+ export declare const CalendarDaysIcon: IconComponent;
26
+ export declare const CheckIcon: IconComponent;
27
+ export declare const ChevronDownIcon: IconComponent;
28
+ export declare const ChevronLeftIcon: IconComponent;
29
+ export declare const ChevronRightIcon: IconComponent;
30
+ export declare const ChevronUpIcon: IconComponent;
31
+ export declare const CircleMinusIcon: IconComponent;
32
+ export declare const CirclePlusIcon: IconComponent;
33
+ export declare const ClockIcon: IconComponent;
34
+ export declare const CompassIcon: IconComponent;
35
+ export declare const DownloadIcon: IconComponent;
36
+ export declare const ExternalLinkIcon: IconComponent;
37
+ export declare const FileArchiveIcon: IconComponent;
38
+ export declare const FileAudioIcon: IconComponent;
39
+ export declare const FileSpreadsheetIcon: IconComponent;
40
+ export declare const FileTextIcon: IconComponent;
41
+ export declare const Flower2Icon: IconComponent;
42
+ export declare const GlobeIcon: IconComponent;
43
+ export declare const GraduationCapIcon: IconComponent;
44
+ export declare const HandHeartIcon: IconComponent;
45
+ export declare const HeartIcon: IconComponent;
46
+ export declare const HeartHandshakeIcon: IconComponent;
47
+ export declare const HomeIcon: IconComponent;
48
+ export declare const InfoIcon: IconComponent;
49
+ export declare const LeafIcon: IconComponent;
50
+ export declare const LightbulbIcon: IconComponent;
51
+ export declare const LockIcon: IconComponent;
52
+ export declare const MailIcon: IconComponent;
53
+ export declare const MapPinIcon: IconComponent;
54
+ export declare const MessageCircleIcon: IconComponent;
55
+ export declare const MinusIcon: IconComponent;
56
+ export declare const PackageIcon: IconComponent;
57
+ export declare const PhoneIcon: IconComponent;
58
+ export declare const PlayIcon: IconComponent;
59
+ export declare const PlusIcon: IconComponent;
60
+ export declare const ShieldIcon: IconComponent;
61
+ export declare const ShoppingBagIcon: IconComponent;
62
+ export declare const ShoppingCartIcon: IconComponent;
63
+ export declare const SmileIcon: IconComponent;
64
+ export declare const SparklesIcon: IconComponent;
65
+ export declare const SproutIcon: IconComponent;
66
+ export declare const StarIcon: IconComponent;
67
+ export declare const TargetIcon: IconComponent;
68
+ export declare const UploadIcon: IconComponent;
69
+ export declare const UserRoundCheckIcon: IconComponent;
70
+ export declare const UsersIcon: IconComponent;
71
+ export declare const WrenchIcon: IconComponent;
72
+ export declare const XIcon: IconComponent;
@@ -46,6 +46,17 @@ export type TipTapMark = {
46
46
  type: string;
47
47
  attrs?: Record<string, unknown>;
48
48
  };
49
+ export type RichTextTextNode = TipTapNode & {
50
+ type: 'text';
51
+ text: string;
52
+ };
53
+ export type RichTextHardBreakNode = TipTapNode & {
54
+ type: 'hardBreak';
55
+ content?: never;
56
+ text?: never;
57
+ marks?: never;
58
+ };
59
+ export type RichTextInlineNode = RichTextTextNode | RichTextHardBreakNode;
49
60
  /**
50
61
  * Canonical schema for a TipTap rich-text document root.
51
62
  *
@@ -111,6 +122,22 @@ export declare function unwrapRichTextRoot(value: unknown): unknown;
111
122
  * never drift from the constructor.
112
123
  */
113
124
  export declare function createRichTextDoc(paragraphs: ReadonlyArray<string>): RichTextDoc;
125
+ /**
126
+ * Parse a small markdown subset into TipTap inline nodes.
127
+ *
128
+ * This intentionally supports only bold (`**text**`) because the SDK/content
129
+ * import paths use it for lightweight default content, not full markdown.
130
+ */
131
+ export declare function parseRichTextInlineMarkdown(text: string): RichTextInlineNode[];
132
+ export declare function parseRichTextParagraphInlineMarkdown(text: string): RichTextInlineNode[];
133
+ /**
134
+ * Convert a plain string with a tiny markdown subset to canonical TipTap JSON.
135
+ *
136
+ * Double newlines create semantic paragraphs. Single newlines remain inside the
137
+ * current paragraph as TipTap `hardBreak` nodes for line-oriented content such
138
+ * as addresses, opening hours, and contact details.
139
+ */
140
+ export declare function createRichTextDocFromMarkdown(markdown: string): RichTextDoc;
114
141
  export declare function buildRichTextSchema(options?: {
115
142
  required?: boolean;
116
143
  label?: string;
@@ -203,8 +203,8 @@ declare const uiSchema: z.ZodObject<{
203
203
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
204
204
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
205
205
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
206
- display: "display";
207
206
  style: "style";
207
+ display: "display";
208
208
  content: "content";
209
209
  behavior: "behavior";
210
210
  }>>>;
@@ -378,8 +378,8 @@ declare const baseFieldSchema: z.ZodObject<{
378
378
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
379
379
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
380
380
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
381
- display: "display";
382
381
  style: "style";
382
+ display: "display";
383
383
  content: "content";
384
384
  behavior: "behavior";
385
385
  }>>>;
@@ -554,8 +554,8 @@ declare const textFieldSchema: z.ZodObject<{
554
554
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
555
555
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
556
556
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
557
- display: "display";
558
557
  style: "style";
558
+ display: "display";
559
559
  content: "content";
560
560
  behavior: "behavior";
561
561
  }>>>;
@@ -733,8 +733,8 @@ declare const richTextFieldSchema: z.ZodObject<{
733
733
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
734
734
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
735
735
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
736
- display: "display";
737
736
  style: "style";
737
+ display: "display";
738
738
  content: "content";
739
739
  behavior: "behavior";
740
740
  }>>>;
@@ -910,8 +910,8 @@ declare const mediaFieldSchema: z.ZodObject<{
910
910
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
911
911
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
912
912
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
913
- display: "display";
914
913
  style: "style";
914
+ display: "display";
915
915
  content: "content";
916
916
  behavior: "behavior";
917
917
  }>>>;
@@ -1096,8 +1096,8 @@ declare const fileFieldSchema: z.ZodObject<{
1096
1096
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1097
1097
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1098
1098
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1099
- display: "display";
1100
1099
  style: "style";
1100
+ display: "display";
1101
1101
  content: "content";
1102
1102
  behavior: "behavior";
1103
1103
  }>>>;
@@ -1279,8 +1279,8 @@ declare const booleanFieldSchema: z.ZodObject<{
1279
1279
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1280
1280
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1281
1281
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1282
- display: "display";
1283
1282
  style: "style";
1283
+ display: "display";
1284
1284
  content: "content";
1285
1285
  behavior: "behavior";
1286
1286
  }>>>;
@@ -1456,8 +1456,8 @@ declare const dateFieldSchema: z.ZodObject<{
1456
1456
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1457
1457
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1458
1458
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1459
- display: "display";
1460
1459
  style: "style";
1460
+ display: "display";
1461
1461
  content: "content";
1462
1462
  behavior: "behavior";
1463
1463
  }>>>;
@@ -1633,8 +1633,8 @@ declare const timeFieldSchema: z.ZodObject<{
1633
1633
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1634
1634
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1635
1635
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1636
- display: "display";
1637
1636
  style: "style";
1637
+ display: "display";
1638
1638
  content: "content";
1639
1639
  behavior: "behavior";
1640
1640
  }>>>;
@@ -1810,8 +1810,8 @@ declare const dateTimeFieldSchema: z.ZodObject<{
1810
1810
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1811
1811
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1812
1812
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1813
- display: "display";
1814
1813
  style: "style";
1814
+ display: "display";
1815
1815
  content: "content";
1816
1816
  behavior: "behavior";
1817
1817
  }>>>;
@@ -1987,8 +1987,8 @@ declare const slugFieldSchema: z.ZodObject<{
1987
1987
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1988
1988
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1989
1989
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1990
- display: "display";
1991
1990
  style: "style";
1991
+ display: "display";
1992
1992
  content: "content";
1993
1993
  behavior: "behavior";
1994
1994
  }>>>;
@@ -2167,8 +2167,8 @@ declare const urlFieldSchema: z.ZodObject<{
2167
2167
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2168
2168
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2169
2169
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2170
- display: "display";
2171
2170
  style: "style";
2171
+ display: "display";
2172
2172
  content: "content";
2173
2173
  behavior: "behavior";
2174
2174
  }>>>;
@@ -2345,8 +2345,8 @@ declare const linkFieldSchema: z.ZodObject<{
2345
2345
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2346
2346
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2347
2347
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2348
- display: "display";
2349
2348
  style: "style";
2349
+ display: "display";
2350
2350
  content: "content";
2351
2351
  behavior: "behavior";
2352
2352
  }>>>;
@@ -2522,8 +2522,8 @@ declare const selectFieldSchema: z.ZodObject<{
2522
2522
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2523
2523
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2524
2524
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2525
- display: "display";
2526
2525
  style: "style";
2526
+ display: "display";
2527
2527
  content: "content";
2528
2528
  behavior: "behavior";
2529
2529
  }>>>;
@@ -2718,8 +2718,8 @@ declare const referenceFieldSchema: z.ZodObject<{
2718
2718
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2719
2719
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2720
2720
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2721
- display: "display";
2722
2721
  style: "style";
2722
+ display: "display";
2723
2723
  content: "content";
2724
2724
  behavior: "behavior";
2725
2725
  }>>>;
@@ -2907,8 +2907,8 @@ declare const repeaterFieldSchema: z.ZodObject<{
2907
2907
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2908
2908
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2909
2909
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2910
- display: "display";
2911
2910
  style: "style";
2911
+ display: "display";
2912
2912
  content: "content";
2913
2913
  behavior: "behavior";
2914
2914
  }>>>;
@@ -3101,8 +3101,8 @@ declare const groupFieldSchema: z.ZodObject<{
3101
3101
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3102
3102
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3103
3103
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3104
- display: "display";
3105
3104
  style: "style";
3105
+ display: "display";
3106
3106
  content: "content";
3107
3107
  behavior: "behavior";
3108
3108
  }>>>;
@@ -3281,8 +3281,8 @@ declare const modalFieldSchema: z.ZodObject<{
3281
3281
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3282
3282
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3283
3283
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3284
- display: "display";
3285
3284
  style: "style";
3285
+ display: "display";
3286
3286
  content: "content";
3287
3287
  behavior: "behavior";
3288
3288
  }>>>;
@@ -3461,8 +3461,8 @@ declare const numberFieldSchema: z.ZodObject<{
3461
3461
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3462
3462
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3463
3463
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3464
- display: "display";
3465
3464
  style: "style";
3465
+ display: "display";
3466
3466
  content: "content";
3467
3467
  behavior: "behavior";
3468
3468
  }>>>;
@@ -3641,8 +3641,8 @@ declare const tabGroupFieldSchema: z.ZodObject<{
3641
3641
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3642
3642
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3643
3643
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3644
- display: "display";
3645
3644
  style: "style";
3645
+ display: "display";
3646
3646
  content: "content";
3647
3647
  behavior: "behavior";
3648
3648
  }>>>;
@@ -3831,8 +3831,8 @@ declare const presetOrCustomFieldSchema: z.ZodObject<{
3831
3831
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3832
3832
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3833
3833
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3834
- display: "display";
3835
3834
  style: "style";
3835
+ display: "display";
3836
3836
  content: "content";
3837
3837
  behavior: "behavior";
3838
3838
  }>>>;
@@ -4017,8 +4017,8 @@ declare const contentTypeSelectFieldSchema: z.ZodObject<{
4017
4017
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4018
4018
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4019
4019
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
4020
- display: "display";
4021
4020
  style: "style";
4021
+ display: "display";
4022
4022
  content: "content";
4023
4023
  behavior: "behavior";
4024
4024
  }>>>;
@@ -4199,8 +4199,8 @@ declare const entryPickerFieldSchema: z.ZodObject<{
4199
4199
  searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4200
4200
  renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4201
4201
  intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
4202
- display: "display";
4203
4202
  style: "style";
4203
+ display: "display";
4204
4204
  content: "content";
4205
4205
  behavior: "behavior";
4206
4206
  }>>>;
@@ -4,6 +4,7 @@
4
4
  * Request/response types for all client-side API calls from blocks.
5
5
  */
6
6
  import type { AppointmentResourceId } from "../../../../../core/src/index";
7
+ import type { NewsletterSignupPublicDestinationRef } from "../../blocks/newsletter-signup-destination";
7
8
  export type DirectCheckoutCollectionOptionKind = "upfront" | "deferred_manual" | "flexible_balance";
8
9
  /** API key auth for SDK sites (bld_live_sk_*) */
9
10
  export type ApiKeyAuth = {
@@ -207,6 +208,7 @@ export interface AvailableDatesResponse {
207
208
  }
208
209
  export interface BookingService {
209
210
  id: string;
211
+ siteId: string;
210
212
  title: string;
211
213
  description?: string;
212
214
  durationMinutes?: number;
@@ -1038,6 +1040,14 @@ export interface PortalCancelMembershipAtPeriodEndResult {
1038
1040
  cancelled: boolean;
1039
1041
  message: string;
1040
1042
  }
1043
+ export type NewsletterSubscribeTarget = Readonly<{
1044
+ tag: "legacy_riverbank_list";
1045
+ listId: string;
1046
+ destinationRef?: NewsletterSignupPublicDestinationRef;
1047
+ }> | Readonly<{
1048
+ tag: "published_block_ref";
1049
+ destinationRef: NewsletterSignupPublicDestinationRef;
1050
+ }>;
1041
1051
  export interface NewsletterSubscribeRequest {
1042
1052
  email: string;
1043
1053
  firstName?: string;
@@ -1045,9 +1055,8 @@ export interface NewsletterSubscribeRequest {
1045
1055
  name?: string;
1046
1056
  company?: string;
1047
1057
  phone?: string;
1048
- listId: string;
1058
+ target: NewsletterSubscribeTarget;
1049
1059
  tags?: string[];
1050
- blockId?: string;
1051
1060
  meta?: {
1052
1061
  honeypot?: string;
1053
1062
  altchaSolution?: string | null;