@riverbankcms/sdk 0.64.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +21 -11
  2. package/dist/_dts/api/src/aiPlayground.d.ts +75 -20
  3. package/dist/_dts/api/src/apiEndpointTypes.d.ts +12 -0
  4. package/dist/_dts/api/src/billing.d.ts +7 -40
  5. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -1
  6. package/dist/_dts/api/src/bookingOperations.d.ts +33 -2
  7. package/dist/_dts/api/src/endpoints.d.ts +32 -0
  8. package/dist/_dts/api/src/public/types.d.ts +1 -1
  9. package/dist/_dts/api/src/sdkConfig/contracts.d.ts +0 -40
  10. package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
  11. package/dist/_dts/api/src/siteMembers.d.ts +1 -1
  12. package/dist/_dts/api/src/siteOperations.d.ts +1 -1
  13. package/dist/_dts/billing/src/components/index.d.ts +426 -0
  14. package/dist/_dts/billing/src/plans/types.d.ts +1 -1
  15. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -0
  16. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
  17. package/dist/_dts/blocks/src/client.d.ts +6 -0
  18. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  19. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -0
  20. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +3 -1
  21. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +140 -0
  22. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -0
  23. package/dist/_dts/blocks/src/system/runtime/hooks/useVisibleTabPolling.d.ts +10 -0
  24. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.default-ui.d.ts +8 -0
  25. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +484 -0
  26. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -2
  27. package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +1 -0
  28. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -1
  29. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +81 -0
  30. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +7 -3
  31. package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
  32. package/dist/_dts/sdk/src/bookings/index.d.ts +5 -2
  33. package/dist/_dts/sdk/src/bookings/types.d.ts +2 -0
  34. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +33 -0
  35. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +32 -0
  36. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +5 -1
  37. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +2 -1
  38. package/dist/_dts/sdk/src/cli/env.d.ts +2 -1
  39. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +2 -1
  40. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +13 -0
  41. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +144 -0
  42. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +21 -0
  43. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +27 -0
  44. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +56 -0
  45. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +29 -49
  46. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +56 -0
  47. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +53 -0
  48. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +6 -0
  49. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +53 -0
  50. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +79 -0
  51. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +19 -20
  52. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +8 -0
  53. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +97 -0
  54. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +15 -0
  55. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +10 -28
  56. package/dist/_dts/sdk/src/cli/sync/index.d.ts +2 -1
  57. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +4 -0
  58. package/dist/_dts/sdk/src/config/dashboard-validation.d.ts +0 -48
  59. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  60. package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
  61. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +4 -4
  62. package/dist/_dts/sdk/src/theme-bridge/generateCssVars.d.ts +4 -12
  63. package/dist/_dts/sdk/src/theme-bridge/index.d.ts +1 -1
  64. package/dist/_dts/sdk/src/theme-bridge/types.d.ts +17 -9
  65. package/dist/_dts/sdk/src/version.d.ts +1 -1
  66. package/dist/_dts/site-commands/src/adapter.d.ts +2 -2
  67. package/dist/_dts/site-commands/src/commands.d.ts +637 -13
  68. package/dist/_dts/site-commands/src/domain.d.ts +3 -3
  69. package/dist/_dts/site-commands/src/exposure.d.ts +41 -0
  70. package/dist/_dts/site-commands/src/index.d.ts +2 -0
  71. package/dist/_dts/site-commands/src/metadata.d.ts +159 -3
  72. package/dist/_dts/site-commands/src/planner.d.ts +13 -6
  73. package/dist/_dts/site-commands/src/refContributions.d.ts +1 -0
  74. package/dist/_dts/site-commands/src/refs.d.ts +19 -1
  75. package/dist/_dts/{sdk/src/cli/merge-remote → site-commands/src}/stableJson.d.ts +2 -0
  76. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  77. package/dist/_dts/theme-core/src/index.d.ts +1 -1
  78. package/dist/_dts/theme-core/src/palette/utils/index.d.ts +1 -0
  79. package/dist/_dts/theme-core/src/palette/utils/onColor.d.ts +2 -0
  80. package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +30 -23
  81. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +83 -0
  82. package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
  83. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +89 -12
  84. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +8 -2
  85. package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
  86. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +3 -2
  87. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +9 -6
  88. package/dist/_dts/ui/src/callout.d.ts +1 -1
  89. package/dist/cli/index.mjs +4736 -2026
  90. package/dist/client/bookings.mjs +5107 -3348
  91. package/dist/client/client.mjs +4579 -3871
  92. package/dist/client/hooks.mjs +325 -123
  93. package/dist/client/rendering/client.mjs +4474 -3869
  94. package/dist/client/rendering/islands.mjs +4234 -3639
  95. package/dist/client/rendering.mjs +4508 -3798
  96. package/dist/preview-next/before-render.mjs +75 -13
  97. package/dist/preview-next/client/runtime.mjs +3700 -2644
  98. package/dist/preview-next/middleware.mjs +75 -13
  99. package/dist/server/components.mjs +698 -383
  100. package/dist/server/config-validation.mjs +327 -125
  101. package/dist/server/config.mjs +327 -125
  102. package/dist/server/data.mjs +325 -123
  103. package/dist/server/index.mjs +92 -16
  104. package/dist/server/next.mjs +692 -377
  105. package/dist/server/page-converter.mjs +159 -41
  106. package/dist/server/prebuild.mjs +1 -1
  107. package/dist/server/rendering/server.mjs +700 -383
  108. package/dist/server/rendering.mjs +700 -383
  109. package/dist/server/routing.mjs +406 -131
  110. package/dist/server/server.mjs +326 -124
  111. package/dist/server/theme-bridge.mjs +1226 -4697
  112. package/dist/styles/index.css +38 -38
  113. package/package.json +1 -1
  114. package/dist/_dts/blocks/src/system/runtime/components/booking/DateTimeSelectionStep.d.ts +0 -18
  115. package/dist/_dts/blocks/src/system/runtime/components/booking/PaymentOptionSelectionStep.d.ts +0 -9
  116. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.d.ts +0 -44
  117. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceResourceSelector.state.d.ts +0 -23
  118. package/dist/_dts/blocks/src/system/runtime/components/booking/ServiceSelectionStep.d.ts +0 -18
  119. package/dist/_dts/blocks/src/system/runtime/components/booking/slotDisplay.d.ts +0 -2
  120. package/dist/_dts/blocks/src/system/runtime/components/multi-step/MultiStepForm.d.ts +0 -21
  121. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.d.ts +0 -15
  122. package/dist/_dts/blocks/src/system/runtime/components/multi-step/useMultiStep.state.d.ts +0 -51
  123. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSteps.d.ts +0 -22
  124. package/dist/_dts/path-utils/src/index.d.ts +0 -8
  125. package/dist/_dts/path-utils/src/redirectPaths.d.ts +0 -26
  126. package/dist/_dts/path-utils/src/safeAppPath.d.ts +0 -26
@@ -32,14 +32,6 @@ export declare const dashboardNavVisibilityRolesSchema: z.ZodOptional<z.ZodObjec
32
32
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
33
33
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
34
34
  }, z.core.$strip>>;
35
- event_host: z.ZodOptional<z.ZodObject<{
36
- mode: z.ZodOptional<z.ZodEnum<{
37
- augment: "augment";
38
- restrict: "restrict";
39
- }>>;
40
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
41
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
42
- }, z.core.$strip>>;
43
35
  }, z.core.$strip>>;
44
36
  export declare const dashboardNavVisibilitySchema: z.ZodObject<{
45
37
  mode: z.ZodOptional<z.ZodEnum<{
@@ -73,14 +65,6 @@ export declare const dashboardNavVisibilitySchema: z.ZodObject<{
73
65
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
74
66
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
75
67
  }, z.core.$strip>>;
76
- event_host: z.ZodOptional<z.ZodObject<{
77
- mode: z.ZodOptional<z.ZodEnum<{
78
- augment: "augment";
79
- restrict: "restrict";
80
- }>>;
81
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
82
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
83
- }, z.core.$strip>>;
84
68
  }, z.core.$strip>>;
85
69
  }, z.core.$strip>;
86
70
  export declare const dashboardNavigationConfigSchema: z.ZodObject<{
@@ -116,14 +100,6 @@ export declare const dashboardNavigationConfigSchema: z.ZodObject<{
116
100
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
117
101
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
118
102
  }, z.core.$strip>>;
119
- event_host: z.ZodOptional<z.ZodObject<{
120
- mode: z.ZodOptional<z.ZodEnum<{
121
- augment: "augment";
122
- restrict: "restrict";
123
- }>>;
124
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
125
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
126
- }, z.core.$strip>>;
127
103
  }, z.core.$strip>>;
128
104
  }, z.core.$strip>>;
129
105
  settingsNav: z.ZodOptional<z.ZodObject<{
@@ -158,14 +134,6 @@ export declare const dashboardNavigationConfigSchema: z.ZodObject<{
158
134
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
159
135
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
160
136
  }, z.core.$strip>>;
161
- event_host: z.ZodOptional<z.ZodObject<{
162
- mode: z.ZodOptional<z.ZodEnum<{
163
- augment: "augment";
164
- restrict: "restrict";
165
- }>>;
166
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
167
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
168
- }, z.core.$strip>>;
169
137
  }, z.core.$strip>>;
170
138
  }, z.core.$strip>>;
171
139
  }, z.core.$strip>;
@@ -204,14 +172,6 @@ export declare const dashboardConfigSchema: z.ZodObject<{
204
172
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
205
173
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
206
174
  }, z.core.$strip>>;
207
- event_host: z.ZodOptional<z.ZodObject<{
208
- mode: z.ZodOptional<z.ZodEnum<{
209
- augment: "augment";
210
- restrict: "restrict";
211
- }>>;
212
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
213
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
214
- }, z.core.$strip>>;
215
175
  }, z.core.$strip>>;
216
176
  }, z.core.$strip>>;
217
177
  settingsNav: z.ZodOptional<z.ZodObject<{
@@ -246,14 +206,6 @@ export declare const dashboardConfigSchema: z.ZodObject<{
246
206
  allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
247
207
  denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
248
208
  }, z.core.$strip>>;
249
- event_host: z.ZodOptional<z.ZodObject<{
250
- mode: z.ZodOptional<z.ZodEnum<{
251
- augment: "augment";
252
- restrict: "restrict";
253
- }>>;
254
- allowIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
255
- denyIds: z.ZodPipe<z.ZodTransform<any[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
256
- }, z.core.$strip>>;
257
209
  }, z.core.$strip>>;
258
210
  }, z.core.$strip>>;
259
211
  }, z.core.$strip>>;
@@ -603,7 +603,7 @@ export interface DashboardNavigationConfig {
603
603
  */
604
604
  settingsNav?: DashboardNavVisibilityConfigWithRoles;
605
605
  }
606
- export type DashboardSiteRole = 'administrator' | 'editor' | 'event_host' | 'team_member';
606
+ export type DashboardSiteRole = 'administrator' | 'editor' | 'team_member';
607
607
  export interface DashboardNavVisibilityConfig {
608
608
  /**
609
609
  * How `allowIds` should be interpreted.
@@ -13,6 +13,8 @@ export type BlockOverrideProps<TContent = Record<string, unknown>, TData = Recor
13
13
  themeConfig?: Theme;
14
14
  data?: TData;
15
15
  siteId?: string;
16
+ apiBaseUrl?: string;
17
+ portalToken?: string | null;
16
18
  supabaseUrl?: string;
17
19
  imageResolveContext?: ResolveImageUrlContext;
18
20
  blockId: string | null;
@@ -34,7 +34,7 @@
34
34
  * tokens: {
35
35
  * primary: '#6d28d9',
36
36
  * secondary: '#4c1d95',
37
- * white: '#ffffff',
37
+ * primaryForeground: '#ffffff',
38
38
  * surface: '#f8fafc',
39
39
  * text: '#1e293b',
40
40
  * border: '#e2e8f0',
@@ -60,8 +60,8 @@
60
60
  * primary: 'var(--brand-purple)',
61
61
  * secondary: 'var(--brand-navy)',
62
62
  * background: 'var(--ds-bg)',
63
+ * foreground: 'var(--ds-text)',
63
64
  * },
64
- * components: { buttons: true },
65
65
  * }}
66
66
  * >
67
67
  * {children}
@@ -88,8 +88,8 @@ export interface ThemeBridgeProviderProps {
88
88
  * Uses ThemeScopeCore from @riverbankcms/blocks for consistent DOM structure
89
89
  * with the full CMS theme system.
90
90
  *
91
- * Optionally generates component CSS for buttons, cards, and inputs when
92
- * `config.components` is specified.
91
+ * Optionally generates component CSS for buttons, cards, and inputs when those
92
+ * component buckets are explicitly enabled.
93
93
  */
94
94
  export declare function ThemeBridgeProvider({ config, children, className, }: ThemeBridgeProviderProps): import("react/jsx-runtime").JSX.Element;
95
95
  /**
@@ -1,17 +1,9 @@
1
1
  /**
2
- * CSS Variable Generator for Theme Bridge
2
+ * CSS generator for SDK ThemeBridge manual injection.
3
3
  *
4
- * Generates the CSS variables that Builder blocks expect,
5
- * from a simplified ThemeBridgeConfig.
6
- *
7
- * Key differences from the full CMS theme system:
8
- * - No shade generation (SDK sites define their own tokens)
9
- * - Supports arbitrary token names
10
- * - Supports pass-through of CSS variable references
11
- * - Opt-in component CSS generation using core generators from @riverbankcms/blocks
4
+ * React consumers should prefer ThemeBridgeProvider. This helper remains useful
5
+ * for SDK sites that manually inject a style tag; it delegates to the shared
6
+ * theme-core bridge runtime so there is one runtime contract.
12
7
  */
13
8
  import type { ThemeBridgeConfig, ThemeBridgeOutput } from './types';
14
- /**
15
- * Generate CSS variables from a ThemeBridgeConfig.
16
- */
17
9
  export declare function generateThemeBridgeCss(config: ThemeBridgeConfig): ThemeBridgeOutput;
@@ -29,7 +29,7 @@
29
29
  * tokens: {
30
30
  * primary: '#6d28d9',
31
31
  * secondary: '#4c1d95',
32
- * white: '#ffffff',
32
+ * primaryForeground: '#ffffff',
33
33
  * surface: '#f8fafc',
34
34
  * text: '#1e293b',
35
35
  * border: '#e2e8f0',
@@ -87,7 +87,7 @@ export interface ThemeBridgeComponents {
87
87
  * tokens: {
88
88
  * primary: '#6d28d9',
89
89
  * secondary: '#4c1d95',
90
- * white: '#ffffff',
90
+ * primaryForeground: '#ffffff',
91
91
  * surface: '#f8fafc',
92
92
  * text: '#1e293b',
93
93
  * border: '#e2e8f0',
@@ -112,8 +112,8 @@ export interface ThemeBridgeComponents {
112
112
  * primary: 'var(--brand-purple)',
113
113
  * secondary: 'var(--brand-navy)',
114
114
  * background: 'var(--ds-bg)',
115
+ * foreground: 'var(--ds-text)',
115
116
  * },
116
- * components: { buttons: true },
117
117
  * }}
118
118
  * >
119
119
  * {children}
@@ -124,7 +124,7 @@ export interface ThemeBridgeConfig {
124
124
  /**
125
125
  * Color tokens as key-value pairs.
126
126
  *
127
- * Keys become CSS variable names: `--color-{key}`
127
+ * Keys become runtime CSS variables such as `--tb-primary`.
128
128
  *
129
129
  * Values can be:
130
130
  * - Hex colors: `'#6d28d9'` (converted to RGB: `109 40 217`)
@@ -134,10 +134,16 @@ export interface ThemeBridgeConfig {
134
134
  * Common token names used by blocks:
135
135
  * - `primary`, `secondary` - Brand colors
136
136
  * - `background`, `surface` - Background colors
137
- * - `text`, `mutedText` - Text colors
137
+ * - `foreground`, `mutedForeground` - Preferred text colors
138
+ * - `text`, `mutedText` - Accepted aliases for text colors
138
139
  * - `border` - Border color
139
- * - `white` - For button text on dark backgrounds
140
- * - `success`, `warning`, `danger`, `info` - Status colors
140
+ * - `primaryForeground` - Preferred text color on primary backgrounds
141
+ * - `white` - Accepted alias for `primaryForeground`
142
+ * - `success`, `warning`, `destructive`, `info` - Status colors
143
+ * - `danger` - Accepted alias for `destructive`
144
+ *
145
+ * Canonical token names win over aliases when both are present. Empty
146
+ * canonical values are treated as missing, so aliases or defaults can fill in.
141
147
  */
142
148
  tokens: Record<string, string>;
143
149
  /** Typography settings */
@@ -151,8 +157,10 @@ export interface ThemeBridgeConfig {
151
157
  /**
152
158
  * Opt-in component CSS generation.
153
159
  *
154
- * By default, only CSS variables are generated.
155
- * Enable components to generate `.button-*`, `.card-*`, `.form-*` classes.
160
+ * By default, ThemeBridgeProvider generates the structural runtime CSS used
161
+ * by system blocks, including status, progress, and block-specific vars.
162
+ * Enable components only when you also want generated visual skins for
163
+ * `.button-*`, `.card-*`, or `.form-*` classes.
156
164
  */
157
165
  components?: ThemeBridgeComponents;
158
166
  /**
@@ -176,7 +184,7 @@ export interface ThemeBridgeConfig {
176
184
  */
177
185
  export interface ThemeBridgeOutput {
178
186
  /** CSS variables as inline style object */
179
- cssVars: Record<string, string>;
187
+ cssVars: Record<string, string | number>;
180
188
  /** Complete CSS string for injection */
181
189
  css: string;
182
190
  }
@@ -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.64.0";
11
+ export declare const SDK_VERSION = "0.68.0";
@@ -1,9 +1,9 @@
1
- import type { Result } from '@riverbankcms/core';
1
+ import type { Result, SiteId } from '@riverbankcms/core';
2
2
  import type { SiteCommand } from './commands';
3
3
  import type { AllowedRuntime, SiteCommandResourceIds } from './domain';
4
4
  import type { SiteCommandRef } from './refs';
5
5
  export type SiteCommandExecutionContext = Readonly<{
6
- siteId: string;
6
+ siteId: SiteId;
7
7
  runtime: AllowedRuntime;
8
8
  }>;
9
9
  export type SiteCommandExecutionSuccess = Readonly<{