@riverbankcms/sdk 0.89.1 → 0.90.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 (178) hide show
  1. package/README.md +27 -4
  2. package/dist/{PreviewEditorSidebar-JDR64FEC.mjs → PreviewEditorSidebar-FNFRVSIM.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-67TMJMAF.mjs → PreviewEditorUI-3WXJFQXG.mjs} +3 -3
  4. package/dist/SdkPreviewModeRuntime-2UCIMKUB.mjs +8 -0
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +216 -0
  6. package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
  7. package/dist/_dts/api/src/bookingConfig.d.ts +3 -0
  8. package/dist/_dts/api/src/bookingOperations.d.ts +2 -0
  9. package/dist/_dts/api/src/bookingRecords.d.ts +4 -2
  10. package/dist/_dts/api/src/bookings.d.ts +3 -1
  11. package/dist/_dts/api/src/event-listing-destination.d.ts +59 -0
  12. package/dist/_dts/api/src/index.d.ts +10 -5
  13. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +0 -1
  14. package/dist/_dts/api/src/navigation.d.ts +2 -0
  15. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +18 -6
  16. package/dist/_dts/api/src/request.d.ts +21 -0
  17. package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -1
  18. package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
  19. package/dist/_dts/api/src/settings/permissions.d.ts +273 -0
  20. package/dist/_dts/api/src/types.d.ts +4 -1
  21. package/dist/_dts/api/src/url.d.ts +6 -3
  22. package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +1 -0
  23. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts +5 -1
  24. package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts +9 -1
  25. package/dist/_dts/block-form/src/widgets/RepeaterField/components/index.d.ts +1 -0
  26. package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +7 -11
  27. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -0
  28. package/dist/_dts/blocks/src/index.d.ts +2 -1
  29. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -6
  30. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +60 -2
  31. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +16 -5
  32. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +0 -2
  33. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -9
  34. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +3 -3
  35. package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +8 -0
  36. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +1 -1
  37. package/dist/_dts/blocks/src/system/constants/events.d.ts +4 -1
  38. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +3 -1
  39. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -0
  40. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +17 -5
  41. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -6
  42. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -0
  43. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +2 -2
  44. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -17
  45. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -9
  46. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -9
  47. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +7 -1
  48. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +48 -0
  49. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +5 -0
  50. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +4 -4
  51. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +50 -0
  52. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
  53. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
  54. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  55. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +11 -1
  56. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -1
  57. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +11 -1
  58. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/calendarViewOptions.d.ts +10 -0
  59. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/destination.d.ts +8 -0
  60. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventProductEligibility.d.ts +24 -0
  61. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +3 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +7 -0
  63. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +5 -2
  64. package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout-form.d.ts +2 -2
  65. package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
  66. package/dist/_dts/content-model/src/entry-slots/sdkBlocks.d.ts +21 -0
  67. package/dist/_dts/content-model/src/entry-slots/types.d.ts +7 -0
  68. package/dist/_dts/core/src/event-pricing.d.ts +12 -2
  69. package/dist/_dts/core/src/money-input.d.ts +18 -0
  70. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -0
  71. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
  72. package/dist/_dts/media-editor/src/fieldUi.d.ts +6 -0
  73. package/dist/_dts/media-editor/src/index.d.ts +1 -1
  74. package/dist/_dts/preview-next/src/client/index.d.ts +1 -0
  75. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -2
  76. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -2
  77. package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +3 -2
  78. package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +2 -2
  79. package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +6 -0
  80. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -1
  81. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +10 -0
  82. package/dist/_dts/sdk/src/cli/content/reader.d.ts +12 -5
  83. package/dist/_dts/sdk/src/client/management/types.d.ts +6 -55
  84. package/dist/_dts/sdk/src/components.d.ts +1 -0
  85. package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
  86. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -1
  87. package/dist/_dts/sdk/src/next/types.d.ts +8 -11
  88. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
  89. package/dist/_dts/sdk/src/public-api/contracts.d.ts +11 -1
  90. package/dist/_dts/sdk/src/rendering/blocks-theme-scope.d.ts +2 -1
  91. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +8 -7
  92. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -6
  93. package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
  94. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +11 -1
  95. package/dist/_dts/sdk/src/rendering/server.d.ts +1 -0
  96. package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +26 -0
  97. package/dist/_dts/sdk/src/version.d.ts +1 -1
  98. package/dist/_dts/site-commands/src/commands.d.ts +18 -0
  99. package/dist/_dts/theme-core/src/ResponsiveScope.d.ts +12 -0
  100. package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
  101. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
  102. package/dist/_dts/theme-core/src/buttons/types.d.ts +5 -5
  103. package/dist/_dts/theme-core/src/cards/types.d.ts +2 -2
  104. package/dist/_dts/theme-core/src/index.d.ts +2 -0
  105. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +21 -21
  106. package/dist/_dts/theme-core/src/schema.d.ts +18 -18
  107. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  108. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
  109. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
  110. package/dist/_dts/theme-core/src/themeRuntime.d.ts +11 -0
  111. package/dist/{chunk-F645A5UV.mjs → chunk-BOQXMCSP.mjs} +129 -101
  112. package/dist/{chunk-7YUAXONX.mjs → chunk-CR2VX432.mjs} +1563 -877
  113. package/dist/{chunk-HKJQERFR.mjs → chunk-FA6LVZ7C.mjs} +91 -55
  114. package/dist/{chunk-TGBJWKMP.mjs → chunk-H6TT5ZXI.mjs} +9 -1
  115. package/dist/{chunk-ZQRBLCW5.mjs → chunk-SYYJZPKU.mjs} +2 -2
  116. package/dist/{chunk-7N46MZHI.mjs → chunk-UG7I7S7W.mjs} +1 -1
  117. package/dist/cli/index.mjs +1057 -632
  118. package/dist/cli/init-docs/content/cli-reference.md +6 -1
  119. package/dist/cli/init-docs/content/content-management.md +27 -0
  120. package/dist/client/{accordion-MUCVNGQ7.mjs → accordion-4K7VGZ3I.mjs} +2 -2
  121. package/dist/client/{bookingForm-PKD6EFIE.mjs → bookingForm-3QXA3CIS.mjs} +26 -271
  122. package/dist/client/bookings.mjs +1586 -825
  123. package/dist/client/{carousel-3TKQSNJC.mjs → carousel-BEJKNGQ7.mjs} +3 -3
  124. package/dist/client/{cart-6XHSZK23.mjs → cart-44BBM6XG.mjs} +7 -8
  125. package/dist/client/{checkout-FVSPM6FI.mjs → checkout-THMHEYKF.mjs} +7 -8
  126. package/dist/client/{chunk-25W2EQUN.mjs → chunk-3H5CLFKT.mjs} +8 -0
  127. package/dist/client/{chunk-ZJZZA5EP.mjs → chunk-4COPESPO.mjs} +13 -16
  128. package/dist/client/chunk-5AJIMWKS.mjs +436 -0
  129. package/dist/client/{chunk-UQFY4AHX.mjs → chunk-B4H6QMPY.mjs} +157 -49
  130. package/dist/client/{chunk-VGLXACVK.mjs → chunk-DQIRKNZE.mjs} +1 -1
  131. package/dist/client/{chunk-7DH35FGA.mjs → chunk-EJBHK74Y.mjs} +1 -1
  132. package/dist/client/{chunk-SDIYSQAY.mjs → chunk-HIHOQGIP.mjs} +2 -3
  133. package/dist/client/{chunk-CQKKFEQD.mjs → chunk-JV7ZNAOU.mjs} +378 -111
  134. package/dist/client/{chunk-FHU6PFPM.mjs → chunk-KNTLBQ3N.mjs} +1 -1
  135. package/dist/client/{chunk-RSQWWUAD.mjs → chunk-PEDNDLPB.mjs} +4 -4
  136. package/dist/client/{chunk-EY42X22F.mjs → chunk-SLY6UDAS.mjs} +157 -5
  137. package/dist/client/{chunk-STJ2NCQM.mjs → chunk-WHZQDPBZ.mjs} +19 -1
  138. package/dist/client/{chunk-ZT5XE7FK.mjs → chunk-ZIAF2DA4.mjs} +1 -1
  139. package/dist/client/client.mjs +3552 -2898
  140. package/dist/client/{courseRegistration-ATZSYDHM.mjs → courseRegistration-URX7RCCK.mjs} +20 -58
  141. package/dist/client/{eventCalendar-6T2UGKKP.mjs → eventCalendar-GTENOQCE.mjs} +10 -11
  142. package/dist/client/{eventCombined-Q4VANXVF.mjs → eventCombined-EZVB72MF.mjs} +10 -11
  143. package/dist/client/{eventDetails-DW37E7VW.mjs → eventDetails-CH4BJR5Z.mjs} +10 -11
  144. package/dist/client/{eventListing-XURTSAUW.mjs → eventListing-4BVOI5HS.mjs} +10 -11
  145. package/dist/client/{eventRegistration-MRKEVAXW.mjs → eventRegistration-37LPIKIE.mjs} +10 -11
  146. package/dist/client/{form-WZZFFGMU.mjs → form-FX3Y54YK.mjs} +7 -7
  147. package/dist/client/{headerSection-EQYVQBLM.mjs → headerSection-UOZZGVYL.mjs} +3 -3
  148. package/dist/client/hooks.mjs +1169 -1063
  149. package/dist/client/{locationMap-MFF5VAZR.mjs → locationMap-VSIPKV35.mjs} +3 -3
  150. package/dist/client/{newsletterForm-JQ77UYIE.mjs → newsletterForm-6FRJKNAF.mjs} +5 -5
  151. package/dist/client/{productDetail-25LMT3IZ.mjs → productDetail-6AHMLXCO.mjs} +7 -8
  152. package/dist/client/{productList-5ABEMKUG.mjs → productList-M2CYIZVH.mjs} +7 -8
  153. package/dist/client/rendering/client.mjs +2912 -2316
  154. package/dist/client/rendering/islands.mjs +19 -19
  155. package/dist/client/rendering.mjs +2874 -2230
  156. package/dist/client/{shop-OMMQZ6YO.mjs → shop-AUOT6GEX.mjs} +7 -8
  157. package/dist/client/spam-protection.mjs +4 -5
  158. package/dist/preview-next/before-render.mjs +2 -2
  159. package/dist/preview-next/client/runtime.mjs +5 -5
  160. package/dist/{sdk-runtime-WNLBZ3ZH.mjs → sdk-runtime-6GPJNLU6.mjs} +6 -6
  161. package/dist/server/components.mjs +1856 -1509
  162. package/dist/server/config-validation.mjs +1394 -1288
  163. package/dist/server/config.mjs +1394 -1288
  164. package/dist/server/data.mjs +1169 -1063
  165. package/dist/server/index.mjs +135 -100
  166. package/dist/server/navigation.mjs +20 -30
  167. package/dist/server/next.mjs +1936 -1576
  168. package/dist/server/page-converter.mjs +1081 -967
  169. package/dist/server/prebuild.mjs +1 -1
  170. package/dist/server/rendering/server.mjs +1868 -1521
  171. package/dist/server/rendering.mjs +1878 -1531
  172. package/dist/server/routing.mjs +1248 -1089
  173. package/dist/server/server.mjs +1312 -1171
  174. package/dist/server/theme-bridge.mjs +8 -5
  175. package/package.json +3 -3
  176. package/dist/SdkPreviewModeRuntime-ZBEMRV7N.mjs +0 -8
  177. package/dist/client/chunk-LQFDYWPJ.mjs +0 -184
  178. package/dist/client/chunk-ZFHRN6W2.mjs +0 -66
@@ -8,6 +8,7 @@ import type { ReactNode } from 'react';
8
8
  import type { RiverbankClient } from '../client/types';
9
9
  import type { RiverbankSiteConfig } from '../config/types';
10
10
  import type { Theme } from '../contracts';
11
+ import type { SdkThemeRuntime } from '../rendering/themeRuntime';
11
12
  import type { BlockOverrideRegistrations } from '../rendering/overrides';
12
13
  import type { Metadata } from '../metadata/generatePageMetadata';
13
14
  import type { LoadContentResult } from '../rendering/helpers/loadContent';
@@ -23,13 +24,11 @@ export interface CatchAllContext {
23
24
  /** Whether preview mode is enabled */
24
25
  preview: boolean;
25
26
  /**
26
- * Whether the SDK page renderer should wrap content in ThemeScope.
27
- *
28
- * This is the same `useThemeScope` value passed to `createCatchAllPage()`.
29
- * Preview mode should mirror this so SDK sites that fully own their styling
30
- * don't accidentally get CMS theme styling applied only while editing.
27
+ * Runtime wrapper used by the SDK page renderer.
28
+ * Preview mode mirrors this so editing and live rendering use the same
29
+ * visual theme/responsive infrastructure contract.
31
30
  */
32
- useThemeScope: boolean;
31
+ themeRuntime: SdkThemeRuntime;
33
32
  /** Search parameters from the URL (for filtering, pagination, etc.) */
34
33
  searchParams: Record<string, string | string[] | undefined>;
35
34
  }
@@ -279,13 +278,11 @@ export type CreateCatchAllPageOptions = {
279
278
  children: ReactNode;
280
279
  }) => ReactNode | Promise<ReactNode>;
281
280
  /**
282
- * Wrap page content in ThemeScope to inject theme CSS variables and styles.
283
- * Enable this to use built-in theme styling from the CMS.
284
- * Disable if you're bringing your own styles.
281
+ * Controls the runtime wrapper around rendered page content.
285
282
  *
286
- * @default false
283
+ * @default { kind: 'responsive-only' }
287
284
  */
288
- useThemeScope?: boolean;
285
+ themeRuntime?: SdkThemeRuntime;
289
286
  /**
290
287
  * Enable portal authentication for the reserved `/portal` customer route.
291
288
  *
@@ -1,6 +1,6 @@
1
1
  import React, { type ReactNode } from "react";
2
2
  import type { PreviewShellLayoutProps, PreviewShellProps, SdkPreviewModeProps } from "../../../../preview-next/src/client/index";
3
- export type { SdkPreviewModeContent, SdkPreviewModeProps, PreviewShellProps, PreviewShellLayoutProps, } from '../../../../preview-next/src/client/index';
3
+ export type { SdkPreviewModeContent, SdkPreviewModeProps, PreviewThemeRuntime, PreviewThemeResponsiveMode, PreviewShellProps, PreviewShellLayoutProps, } from '../../../../preview-next/src/client/index';
4
4
  type PreviewQueryProviderProps = Readonly<{
5
5
  children: ReactNode;
6
6
  }>;
@@ -539,8 +539,18 @@ export type PublicEventTicketTypeRecord = {
539
539
  createdAt: string;
540
540
  updatedAt: string;
541
541
  };
542
+ export type PublicEventDestination = Readonly<{
543
+ kind: "native";
544
+ mode: "cms-managed" | "system-managed";
545
+ path: string;
546
+ }> | Readonly<{
547
+ kind: "external";
548
+ url: string;
549
+ label: string;
550
+ }>;
542
551
  export type PublicEventsResponse = Array<{
543
552
  kind?: "event" | "course_session";
553
+ destination: PublicEventDestination;
544
554
  id: string;
545
555
  occurrenceId: string;
546
556
  seriesId: string;
@@ -571,7 +581,7 @@ export type PublicEventsResponse = Array<{
571
581
  } | null;
572
582
  };
573
583
  slug: string;
574
- path: string;
584
+ path: string | null;
575
585
  requiresRegistration: boolean;
576
586
  startsAt: string;
577
587
  endsAt: string;
@@ -1,10 +1,11 @@
1
1
  import * as React from 'react';
2
+ import type { ThemeResponsiveMode } from '../../../theme-core/src/index';
2
3
  import type { Theme } from '../contracts';
3
4
  export type ThemeScopeProps = {
4
5
  theme: Theme;
5
6
  children?: React.ReactNode;
6
7
  themeId?: string;
7
- responsiveMode?: 'viewport' | 'container';
8
+ responsiveMode?: ThemeResponsiveMode;
8
9
  className?: string;
9
10
  };
10
11
  export declare function ThemeScope(props: ThemeScopeProps): React.ReactElement;
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { buildMenu, buildFooterMenu, buildLogo } from '../../navigation';
7
7
  import type { RiverbankClient, SiteResponse } from '../../client/types';
8
+ import { type SdkThemeRuntime } from '../themeRuntime';
8
9
  export type HeaderData = {
9
10
  menu: ReturnType<typeof buildMenu>;
10
11
  logo: ReturnType<typeof buildLogo>;
@@ -40,15 +41,15 @@ export type LayoutProps = {
40
41
  /** Render stage for internal links and block transforms. */
41
42
  previewStage?: 'published' | 'preview';
42
43
  /**
43
- * Wrap layout content in ThemeScope to inject theme CSS variables and styles.
44
- * Enable this to use built-in theme styling from the CMS.
45
- * Disable if you're bringing your own styles and want to avoid SDK-injected theme variables.
44
+ * Controls the runtime wrapper around SDK layout content.
46
45
  *
47
- * Note: Disabling this while using the default header/footer (blocks) may result in unstyled output.
46
+ * - cms-theme: inject CMS theme variables and component CSS
47
+ * - responsive-only: keep the responsive utility root without CMS theme styles
48
+ * - none: render no SDK runtime wrapper; only safe with fully custom chrome
48
49
  *
49
- * @default true
50
+ * @default { kind: 'cms-theme' }
50
51
  */
51
- useThemeScope?: boolean;
52
+ themeRuntime?: SdkThemeRuntime;
52
53
  };
53
54
  /**
54
55
  * Layout component that wraps content with site header and footer.
@@ -85,4 +86,4 @@ export type LayoutProps = {
85
86
  * </Layout>
86
87
  * ```
87
88
  */
88
- export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, useThemeScope, }: LayoutProps): Promise<import("react").JSX.Element>;
89
+ export declare function Layout({ siteData: providedSiteData, client, siteId, slug, domain, children, header, footer, headerVariant, hasPortalSession, previewStage, themeRuntime, }: LayoutProps): Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
@@ -4,6 +4,7 @@ import type { ResolvedBlockData } from '../../data';
4
4
  import type { SiteBookingOfferingPresetSummary } from '../../public-api/contracts';
5
5
  import type { RuntimeSdkConfig } from '../helpers/loadPage';
6
6
  import { type ComponentRegistry } from '../blocks-page-renderer';
7
+ import { type SdkThemeRuntime } from '../themeRuntime';
7
8
  import type { BlockOverrides } from '../overrides';
8
9
  import type { SdkCustomBlock } from '../../config/types';
9
10
  export type PageProps = {
@@ -77,13 +78,11 @@ export type PageProps = {
77
78
  */
78
79
  blockOverrides?: BlockOverrides;
79
80
  /**
80
- * Wrap content in ThemeScope to inject theme CSS variables and styles.
81
- * Enable this to use built-in theme styling from the CMS.
82
- * Disable if you're bringing your own styles.
81
+ * Controls the runtime wrapper around page content.
83
82
  *
84
- * @default false
83
+ * @default { kind: 'none' }
85
84
  */
86
- useThemeScope?: boolean;
85
+ themeRuntime?: SdkThemeRuntime;
87
86
  };
88
87
  export type PageHydrationBootstrapConfig = {
89
88
  siteId: string;
@@ -91,4 +90,4 @@ export type PageHydrationBootstrapConfig = {
91
90
  mediaAssets?: readonly MediaAssetIndexItem[];
92
91
  };
93
92
  export declare function toPageHydrationBootstrapConfig(props: Pick<PageProps, 'siteId' | 'supabaseUrl' | 'mediaAssets'>): PageHydrationBootstrapConfig;
94
- export declare function PageContent({ page, theme, themeTokens: providedTokens, siteId, resolvedData, bookingOfferingPresets, routeMap, pagesByIdentifier, entriesByIdentifier, wrapBlock, registry, usePlaceholders, blockOverrides, sdkConfig, customBlocks, supabaseUrl, mediaAssets, apiBaseUrl, portalToken, previewToken, dataContext, useThemeScope, }: PageProps): ReactElement;
93
+ export declare function PageContent({ page, theme, themeTokens: providedTokens, siteId, resolvedData, bookingOfferingPresets, routeMap, pagesByIdentifier, entriesByIdentifier, wrapBlock, registry, usePlaceholders, blockOverrides, sdkConfig, customBlocks, supabaseUrl, mediaAssets, apiBaseUrl, portalToken, previewToken, dataContext, themeRuntime, }: PageProps): ReactElement;
@@ -8,6 +8,7 @@ export { Page } from './components/Page';
8
8
  export type { PageProps } from './components/Page';
9
9
  export { Layout } from './components/Layout';
10
10
  export type { LayoutProps, HeaderData, FooterData } from './components/Layout';
11
+ export type { SdkThemeResponsiveMode, SdkThemeRuntime, } from './themeRuntime';
11
12
  export { Block } from './components/Block';
12
13
  export type { BlockProps } from './components/Block';
13
14
  export { loadPage } from './helpers/loadPage';
@@ -50,6 +50,15 @@ export type EventCategory = {
50
50
  export type PricingType = PublicEventPricingType;
51
51
  export type { PublicCoursePriceDisplay, PublicEventPriceDisplay, PublicEventPricing, };
52
52
  export type AccessRestriction = 'none' | 'category';
53
+ export type PublicEventDestination = Readonly<{
54
+ kind: 'native';
55
+ mode: 'cms-managed' | 'system-managed';
56
+ path: string;
57
+ }> | Readonly<{
58
+ kind: 'external';
59
+ url: string;
60
+ label: string;
61
+ }>;
53
62
  export type PublicEventTicketTypeAvailability = {
54
63
  kind: 'available';
55
64
  remainingCapacity: number | null;
@@ -121,6 +130,7 @@ export type BookingPricing = {
121
130
  };
122
131
  export type PublicEvent = {
123
132
  kind?: 'event' | 'course_session';
133
+ destination: PublicEventDestination;
124
134
  id: string;
125
135
  occurrenceId: string;
126
136
  seriesId: string;
@@ -132,7 +142,7 @@ export type PublicEvent = {
132
142
  image?: Media | null;
133
143
  };
134
144
  slug: string;
135
- path: string;
145
+ path: string | null;
136
146
  requiresRegistration: boolean;
137
147
  deliveryMode: 'in_person' | 'online' | 'hybrid';
138
148
  attendanceModes: PublicEventAttendanceModeAvailability[];
@@ -6,6 +6,7 @@ export { Page } from './components/Page.server';
6
6
  export type { PageProps } from './components/Page.server';
7
7
  export { Layout } from './components/Layout';
8
8
  export type { LayoutProps, HeaderData, FooterData } from './components/Layout';
9
+ export type { SdkThemeResponsiveMode, SdkThemeRuntime, } from './themeRuntime';
9
10
  export { Block } from './components/Block.server';
10
11
  export type { BlockProps } from './components/Block.server';
11
12
  export { defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, } from './overrides';
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import type { ThemeResponsiveMode, ThemeRuntime } from '../../../theme-core/src/index';
3
+ import type { Theme } from '../contracts';
4
+ export type SdkThemeResponsiveMode = ThemeResponsiveMode;
5
+ export type SdkThemeRuntime = ThemeRuntime;
6
+ export declare const defaultLayoutThemeRuntime: {
7
+ readonly kind: "cms-theme";
8
+ };
9
+ export declare const defaultSdkChromeThemeRuntime: {
10
+ readonly kind: "responsive-only";
11
+ };
12
+ export declare const defaultPageThemeRuntime: {
13
+ readonly kind: "none";
14
+ };
15
+ export declare const defaultCatchAllThemeRuntime: {
16
+ readonly kind: "responsive-only";
17
+ };
18
+ export declare function planLayoutThemeRuntime(input: {
19
+ themeRuntime?: SdkThemeRuntime;
20
+ usesSdkChrome: boolean;
21
+ }): SdkThemeRuntime;
22
+ export declare function renderWithSdkThemeRuntime({ themeRuntime, theme, children, }: {
23
+ themeRuntime: SdkThemeRuntime;
24
+ theme: Theme;
25
+ children: React.ReactNode;
26
+ }): React.ReactElement;
@@ -8,4 +8,4 @@
8
8
  * 1. This constant
9
9
  * 2. The "version" field in package.json
10
10
  */
11
- export declare const SDK_VERSION = "0.89.1";
11
+ export declare const SDK_VERSION = "0.90.1";
@@ -406,6 +406,7 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
406
406
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
407
407
  input: z.ZodObject<{
408
408
  slug: z.ZodString;
409
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
410
  title: z.ZodString;
410
411
  archetype: z.ZodEnum<{
411
412
  custom: "custom";
@@ -514,6 +515,11 @@ export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
514
515
  paymentTerms: z.ZodOptional<z.ZodUnknown>;
515
516
  presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
516
517
  tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
518
+ blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
519
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ kind: z.ZodString;
521
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
522
+ }, z.core.$strict>>>>;
517
523
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
518
524
  }, z.core.$strict>;
519
525
  }, z.core.$strict>;
@@ -1366,6 +1372,7 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1366
1372
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
1367
1373
  input: z.ZodObject<{
1368
1374
  slug: z.ZodString;
1375
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1369
1376
  title: z.ZodString;
1370
1377
  archetype: z.ZodEnum<{
1371
1378
  custom: "custom";
@@ -1474,6 +1481,11 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1474
1481
  paymentTerms: z.ZodOptional<z.ZodUnknown>;
1475
1482
  presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1476
1483
  tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
1484
+ blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1485
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1486
+ kind: z.ZodString;
1487
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1488
+ }, z.core.$strict>>>>;
1477
1489
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
1478
1490
  }, z.core.$strict>;
1479
1491
  }, z.core.$strict>, z.ZodObject<{
@@ -2241,6 +2253,7 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
2241
2253
  ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
2242
2254
  input: z.ZodObject<{
2243
2255
  slug: z.ZodString;
2256
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2244
2257
  title: z.ZodString;
2245
2258
  archetype: z.ZodEnum<{
2246
2259
  custom: "custom";
@@ -2349,6 +2362,11 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
2349
2362
  paymentTerms: z.ZodOptional<z.ZodUnknown>;
2350
2363
  presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2351
2364
  tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
2365
+ blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2366
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2367
+ kind: z.ZodString;
2368
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2369
+ }, z.core.$strict>>>>;
2352
2370
  staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
2353
2371
  }, z.core.$strict>;
2354
2372
  }, z.core.$strict>, z.ZodObject<{
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ import { type ThemeResponsiveMode } from "./responsiveMode";
3
+ export type ResponsiveScopeProps = {
4
+ children: React.ReactNode;
5
+ responsiveMode?: ThemeResponsiveMode;
6
+ className?: string;
7
+ };
8
+ /**
9
+ * Structural responsive root for SDK/runtime chrome that opts out of CMS theme
10
+ * styling but still depends on scoped rb-* responsive utility classes.
11
+ */
12
+ export declare function ResponsiveScope({ children, responsiveMode, className, }: ResponsiveScopeProps): React.JSX.Element;
@@ -46,8 +46,8 @@ export declare const accordionSystemSchema: z.ZodObject<{
46
46
  elevation: z.ZodEnum<{
47
47
  medium: "medium";
48
48
  none: "none";
49
- low: "low";
50
49
  high: "high";
50
+ low: "low";
51
51
  }>;
52
52
  softness: z.ZodNullable<z.ZodEnum<{
53
53
  soft: "soft";
@@ -62,8 +62,8 @@ export declare const buttonPersonalitySchema: z.ZodObject<{
62
62
  shadow: z.ZodEnum<{
63
63
  medium: "medium";
64
64
  none: "none";
65
- low: "low";
66
65
  high: "high";
66
+ low: "low";
67
67
  }>;
68
68
  textTransform: z.ZodEnum<{
69
69
  none: "none";
@@ -145,8 +145,8 @@ export declare const buttonPersonalitySchema: z.ZodObject<{
145
145
  elevation: z.ZodEnum<{
146
146
  medium: "medium";
147
147
  none: "none";
148
- low: "low";
149
148
  high: "high";
149
+ low: "low";
150
150
  }>;
151
151
  softness: z.ZodNullable<z.ZodEnum<{
152
152
  soft: "soft";
@@ -103,8 +103,8 @@ export declare const cornerStyleSchema: z.ZodEnum<{
103
103
  export declare const shadowSizeSchema: z.ZodEnum<{
104
104
  medium: "medium";
105
105
  none: "none";
106
- low: "low";
107
106
  high: "high";
107
+ low: "low";
108
108
  }>;
109
109
  export declare const textTransformSchema: z.ZodEnum<{
110
110
  none: "none";
@@ -239,8 +239,8 @@ export declare const buttonGlobalSettingsSchema: z.ZodObject<{
239
239
  shadow: z.ZodEnum<{
240
240
  medium: "medium";
241
241
  none: "none";
242
- low: "low";
243
242
  high: "high";
243
+ low: "low";
244
244
  }>;
245
245
  textTransform: z.ZodEnum<{
246
246
  none: "none";
@@ -390,8 +390,8 @@ export declare const buttonVariantSchema: z.ZodObject<{
390
390
  elevation: z.ZodEnum<{
391
391
  medium: "medium";
392
392
  none: "none";
393
- low: "low";
394
393
  high: "high";
394
+ low: "low";
395
395
  }>;
396
396
  softness: z.ZodNullable<z.ZodEnum<{
397
397
  soft: "soft";
@@ -457,8 +457,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
457
457
  shadow: z.ZodEnum<{
458
458
  medium: "medium";
459
459
  none: "none";
460
- low: "low";
461
460
  high: "high";
461
+ low: "low";
462
462
  }>;
463
463
  textTransform: z.ZodEnum<{
464
464
  none: "none";
@@ -540,8 +540,8 @@ export declare const buttonSystemSchema: z.ZodObject<{
540
540
  elevation: z.ZodEnum<{
541
541
  medium: "medium";
542
542
  none: "none";
543
- low: "low";
544
543
  high: "high";
544
+ low: "low";
545
545
  }>;
546
546
  softness: z.ZodNullable<z.ZodEnum<{
547
547
  soft: "soft";
@@ -189,8 +189,8 @@ export declare const cardVariantSchema: z.ZodObject<{
189
189
  elevation: z.ZodEnum<{
190
190
  medium: "medium";
191
191
  none: "none";
192
- low: "low";
193
192
  high: "high";
193
+ low: "low";
194
194
  }>;
195
195
  softness: z.ZodNullable<z.ZodEnum<{
196
196
  soft: "soft";
@@ -297,8 +297,8 @@ export declare const cardSystemSchema: z.ZodObject<{
297
297
  elevation: z.ZodEnum<{
298
298
  medium: "medium";
299
299
  none: "none";
300
- low: "low";
301
300
  high: "high";
301
+ low: "low";
302
302
  }>;
303
303
  softness: z.ZodNullable<z.ZodEnum<{
304
304
  soft: "soft";
@@ -7,10 +7,12 @@ export * from "./schema";
7
7
  export * from "./fonts";
8
8
  export { ThemeScope } from "./ThemeScope";
9
9
  export { DEFAULT_THEME_RESPONSIVE_MODE, THEME_RESPONSIVE_CONTAINER_NAME, getResponsiveScopeSpec, type ResponsiveScopeSpec, type ThemeResponsiveMode, } from "./responsiveMode";
10
+ export { type ThemeRuntime } from "./themeRuntime";
10
11
  export { desktopOnlyDisplay, mobileOnlyDisplay, type ResponsiveDisplay, } from "./responsiveDisplay";
11
12
  export * from "./responsive/breakpoints";
12
13
  export { ThemeFontLoader, ThemeFontLoaderFromTheme, getThemeFontLoadingOptions, type ThemeFontLoadingOptions, type ThemeFontLoaderFromThemeProps, } from "./ThemeFontLoader";
13
14
  export { ThemeScopeCore, type ThemeScopeCoreProps } from "./ThemeScopeCore";
15
+ export { ResponsiveScope, type ResponsiveScopeProps } from "./ResponsiveScope";
14
16
  export { type ThemeDataAttrs } from "./themeScopeUtils";
15
17
  export { SITE_CHROME_CLASS_NAMES, getStandaloneHeaderShellClassName, planSiteDocument, planSiteTopShell, renderSiteTopChrome, SITE_CHROME_VISIBLE_HEADER_ATTR, SITE_CHROME_VISIBLE_HEADER_SELECTOR, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, SITE_OVERLAY_HEADER_CLEARANCE_FALLBACK, visibleHeaderClearancePx, type HeaderMeasurementBox, type SiteChromeLayoutNodes, type SiteDocumentLayoutMode, type SiteDocumentPlan, type SiteDocumentPlanInput, type SiteTopShellPlan, type SiteTopShellBehavior, type SiteOverlayHeaderClearancePlan, } from "./siteChrome";
16
18
  export { SITE_CHROME_PLACEMENT_CLASSES, isHeaderPositioning, parseHeaderPositioning, planSiteChromePlacement, splitSiteChromePlacementClasses, type SiteChromePlacementPlan, } from "./siteChromePlacement";
@@ -10,7 +10,7 @@ export declare const mockThemes: {
10
10
  energy: "calm" | "vibrant";
11
11
  density: "compact" | "airy" | "regular";
12
12
  mediaBias: "mixed" | "text" | "media";
13
- conversionBias: "low" | "high" | "med";
13
+ conversionBias: "high" | "low" | "med";
14
14
  motion: "standard" | "subtle" | "expressive";
15
15
  };
16
16
  palette: {
@@ -107,12 +107,12 @@ export declare const mockThemes: {
107
107
  style: "solid" | "dashed";
108
108
  };
109
109
  shadow: {
110
- elevation: "medium" | "none" | "low" | "high";
110
+ elevation: "medium" | "none" | "high" | "low";
111
111
  softness: "soft" | "crisp" | "hard" | null;
112
112
  position: "bottom" | "bottom-right";
113
113
  };
114
114
  motion: {
115
- level: "medium" | "low" | "high" | "off";
115
+ level: "medium" | "high" | "low" | "off";
116
116
  easing: "standard" | "snappy" | "gentle" | null;
117
117
  };
118
118
  corners: "square" | "rounded" | "pill" | "soft";
@@ -520,7 +520,7 @@ export declare const mockThemes: {
520
520
  buttons?: {
521
521
  global: {
522
522
  cornerStyle: "square" | "rounded" | "pill";
523
- shadow: "medium" | "none" | "low" | "high";
523
+ shadow: "medium" | "none" | "high" | "low";
524
524
  textTransform: "none" | "lowercase" | "uppercase" | "capitalize";
525
525
  fontWeight: 500 | 600 | 700;
526
526
  borderWidth: 1 | 3 | 2;
@@ -555,7 +555,7 @@ export declare const mockThemes: {
555
555
  textColorToken: string;
556
556
  borderRadius?: string | undefined;
557
557
  shadow?: {
558
- elevation: "medium" | "none" | "low" | "high";
558
+ elevation: "medium" | "none" | "high" | "low";
559
559
  softness: "soft" | "crisp" | "hard" | null;
560
560
  position: "bottom" | "bottom-right";
561
561
  colorToken?: string | undefined;
@@ -641,7 +641,7 @@ export declare const mockThemes: {
641
641
  spacing: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious";
642
642
  foregroundToken?: string | undefined;
643
643
  shadow?: {
644
- elevation: "medium" | "none" | "low" | "high";
644
+ elevation: "medium" | "none" | "high" | "low";
645
645
  softness: "soft" | "crisp" | "hard" | null;
646
646
  position: "bottom" | "bottom-right";
647
647
  } | undefined;
@@ -675,7 +675,7 @@ export declare const mockThemes: {
675
675
  colorToken: string;
676
676
  } | null;
677
677
  shadow: {
678
- elevation: "medium" | "none" | "low" | "high";
678
+ elevation: "medium" | "none" | "high" | "low";
679
679
  softness: "soft" | "crisp" | "hard" | null;
680
680
  position: "bottom" | "bottom-right";
681
681
  } | null;
@@ -1056,7 +1056,7 @@ export declare const mockThemes: {
1056
1056
  energy: "calm" | "vibrant";
1057
1057
  density: "compact" | "airy" | "regular";
1058
1058
  mediaBias: "mixed" | "text" | "media";
1059
- conversionBias: "low" | "high" | "med";
1059
+ conversionBias: "high" | "low" | "med";
1060
1060
  motion: "standard" | "subtle" | "expressive";
1061
1061
  };
1062
1062
  palette: {
@@ -1153,12 +1153,12 @@ export declare const mockThemes: {
1153
1153
  style: "solid" | "dashed";
1154
1154
  };
1155
1155
  shadow: {
1156
- elevation: "medium" | "none" | "low" | "high";
1156
+ elevation: "medium" | "none" | "high" | "low";
1157
1157
  softness: "soft" | "crisp" | "hard" | null;
1158
1158
  position: "bottom" | "bottom-right";
1159
1159
  };
1160
1160
  motion: {
1161
- level: "medium" | "low" | "high" | "off";
1161
+ level: "medium" | "high" | "low" | "off";
1162
1162
  easing: "standard" | "snappy" | "gentle" | null;
1163
1163
  };
1164
1164
  corners: "square" | "rounded" | "pill" | "soft";
@@ -1566,7 +1566,7 @@ export declare const mockThemes: {
1566
1566
  buttons?: {
1567
1567
  global: {
1568
1568
  cornerStyle: "square" | "rounded" | "pill";
1569
- shadow: "medium" | "none" | "low" | "high";
1569
+ shadow: "medium" | "none" | "high" | "low";
1570
1570
  textTransform: "none" | "lowercase" | "uppercase" | "capitalize";
1571
1571
  fontWeight: 500 | 600 | 700;
1572
1572
  borderWidth: 1 | 3 | 2;
@@ -1601,7 +1601,7 @@ export declare const mockThemes: {
1601
1601
  textColorToken: string;
1602
1602
  borderRadius?: string | undefined;
1603
1603
  shadow?: {
1604
- elevation: "medium" | "none" | "low" | "high";
1604
+ elevation: "medium" | "none" | "high" | "low";
1605
1605
  softness: "soft" | "crisp" | "hard" | null;
1606
1606
  position: "bottom" | "bottom-right";
1607
1607
  colorToken?: string | undefined;
@@ -1687,7 +1687,7 @@ export declare const mockThemes: {
1687
1687
  spacing: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious";
1688
1688
  foregroundToken?: string | undefined;
1689
1689
  shadow?: {
1690
- elevation: "medium" | "none" | "low" | "high";
1690
+ elevation: "medium" | "none" | "high" | "low";
1691
1691
  softness: "soft" | "crisp" | "hard" | null;
1692
1692
  position: "bottom" | "bottom-right";
1693
1693
  } | undefined;
@@ -1721,7 +1721,7 @@ export declare const mockThemes: {
1721
1721
  colorToken: string;
1722
1722
  } | null;
1723
1723
  shadow: {
1724
- elevation: "medium" | "none" | "low" | "high";
1724
+ elevation: "medium" | "none" | "high" | "low";
1725
1725
  softness: "soft" | "crisp" | "hard" | null;
1726
1726
  position: "bottom" | "bottom-right";
1727
1727
  } | null;
@@ -2102,7 +2102,7 @@ export declare const mockThemes: {
2102
2102
  energy: "calm" | "vibrant";
2103
2103
  density: "compact" | "airy" | "regular";
2104
2104
  mediaBias: "mixed" | "text" | "media";
2105
- conversionBias: "low" | "high" | "med";
2105
+ conversionBias: "high" | "low" | "med";
2106
2106
  motion: "standard" | "subtle" | "expressive";
2107
2107
  };
2108
2108
  palette: {
@@ -2199,12 +2199,12 @@ export declare const mockThemes: {
2199
2199
  style: "solid" | "dashed";
2200
2200
  };
2201
2201
  shadow: {
2202
- elevation: "medium" | "none" | "low" | "high";
2202
+ elevation: "medium" | "none" | "high" | "low";
2203
2203
  softness: "soft" | "crisp" | "hard" | null;
2204
2204
  position: "bottom" | "bottom-right";
2205
2205
  };
2206
2206
  motion: {
2207
- level: "medium" | "low" | "high" | "off";
2207
+ level: "medium" | "high" | "low" | "off";
2208
2208
  easing: "standard" | "snappy" | "gentle" | null;
2209
2209
  };
2210
2210
  corners: "square" | "rounded" | "pill" | "soft";
@@ -2612,7 +2612,7 @@ export declare const mockThemes: {
2612
2612
  buttons?: {
2613
2613
  global: {
2614
2614
  cornerStyle: "square" | "rounded" | "pill";
2615
- shadow: "medium" | "none" | "low" | "high";
2615
+ shadow: "medium" | "none" | "high" | "low";
2616
2616
  textTransform: "none" | "lowercase" | "uppercase" | "capitalize";
2617
2617
  fontWeight: 500 | 600 | 700;
2618
2618
  borderWidth: 1 | 3 | 2;
@@ -2647,7 +2647,7 @@ export declare const mockThemes: {
2647
2647
  textColorToken: string;
2648
2648
  borderRadius?: string | undefined;
2649
2649
  shadow?: {
2650
- elevation: "medium" | "none" | "low" | "high";
2650
+ elevation: "medium" | "none" | "high" | "low";
2651
2651
  softness: "soft" | "crisp" | "hard" | null;
2652
2652
  position: "bottom" | "bottom-right";
2653
2653
  colorToken?: string | undefined;
@@ -2733,7 +2733,7 @@ export declare const mockThemes: {
2733
2733
  spacing: "medium" | "none" | "compact" | "cozy" | "comfortable" | "spacious";
2734
2734
  foregroundToken?: string | undefined;
2735
2735
  shadow?: {
2736
- elevation: "medium" | "none" | "low" | "high";
2736
+ elevation: "medium" | "none" | "high" | "low";
2737
2737
  softness: "soft" | "crisp" | "hard" | null;
2738
2738
  position: "bottom" | "bottom-right";
2739
2739
  } | undefined;
@@ -2767,7 +2767,7 @@ export declare const mockThemes: {
2767
2767
  colorToken: string;
2768
2768
  } | null;
2769
2769
  shadow: {
2770
- elevation: "medium" | "none" | "low" | "high";
2770
+ elevation: "medium" | "none" | "high" | "low";
2771
2771
  softness: "soft" | "crisp" | "hard" | null;
2772
2772
  position: "bottom" | "bottom-right";
2773
2773
  } | null;