@riverbankcms/sdk 0.60.6 → 0.60.7

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 (92) hide show
  1. package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
  2. package/dist/_dts/api/src/bookingConfig.d.ts +6 -0
  3. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +45 -3
  4. package/dist/_dts/api/src/bookingOperations.d.ts +40 -3
  5. package/dist/_dts/api/src/courses.d.ts +1 -5
  6. package/dist/_dts/api/src/endpoints.d.ts +80 -1
  7. package/dist/_dts/api/src/index.d.ts +3 -2
  8. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
  9. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  10. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +15 -1
  11. package/dist/_dts/api/src/resources.d.ts +1 -1
  12. package/dist/_dts/api/src/siteBanner.d.ts +8 -8
  13. package/dist/_dts/api/src/siteOnboarding.d.ts +1 -0
  14. package/dist/_dts/api/src/teamMembers.d.ts +27 -0
  15. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +35 -29
  16. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -5
  17. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +40 -34
  18. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -5
  19. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1 -1
  20. package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
  21. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
  22. package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +24 -0
  23. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +18 -8
  24. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  25. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  26. package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
  27. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
  28. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -2
  29. package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
  30. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  31. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +4 -4
  32. package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
  33. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
  34. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  35. package/dist/_dts/content-model/src/metadataConfig.d.ts +1 -0
  36. package/dist/_dts/core/src/branded.d.ts +2 -0
  37. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +124 -8
  38. package/dist/_dts/db/src/schemas/forms.d.ts +61 -61
  39. package/dist/_dts/sdk/src/client/types.d.ts +9 -2
  40. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  41. package/dist/_dts/sdk/src/config/validation.d.ts +40 -37
  42. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +17 -8
  43. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +1 -1
  44. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
  45. package/dist/_dts/sdk/src/public-api/contracts.d.ts +87 -69
  46. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -5
  48. package/dist/_dts/sdk/src/version.d.ts +1 -1
  49. package/dist/_dts/theme-core/src/accordions/types.d.ts +11 -11
  50. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +10 -10
  51. package/dist/_dts/theme-core/src/buttons/types.d.ts +27 -27
  52. package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
  53. package/dist/_dts/theme-core/src/inputs/types.d.ts +14 -14
  54. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +2 -2
  55. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +438 -438
  56. package/dist/_dts/theme-core/src/navigation/types.d.ts +16 -16
  57. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +15 -15
  58. package/dist/_dts/theme-core/src/schema.d.ts +662 -662
  59. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +4 -4
  60. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +15 -15
  61. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
  62. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  63. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +5 -5
  64. package/dist/_dts/ui/src/badge.d.ts +1 -1
  65. package/dist/_dts/ui/src/button-group.d.ts +1 -1
  66. package/dist/_dts/ui/src/button.d.ts +2 -2
  67. package/dist/_dts/ui/src/callout.d.ts +1 -1
  68. package/dist/_dts/ui/src/card.d.ts +1 -1
  69. package/dist/_dts/ui/src/surface.d.ts +2 -2
  70. package/dist/_dts/ui/src/toggle.d.ts +4 -4
  71. package/dist/cli/index.mjs +276 -24
  72. package/dist/client/client.mjs +607 -306
  73. package/dist/client/hooks.mjs +272 -23
  74. package/dist/client/rendering/client.mjs +179 -130
  75. package/dist/client/rendering/islands.mjs +68 -43
  76. package/dist/client/rendering.mjs +646 -363
  77. package/dist/preview-next/before-render.mjs +147 -1
  78. package/dist/preview-next/client/runtime.mjs +338 -43
  79. package/dist/preview-next/middleware.mjs +147 -1
  80. package/dist/server/components.mjs +727 -470
  81. package/dist/server/config-validation.mjs +488 -254
  82. package/dist/server/config.mjs +488 -254
  83. package/dist/server/data.mjs +272 -23
  84. package/dist/server/index.mjs +168 -2
  85. package/dist/server/next.mjs +476 -185
  86. package/dist/server/page-converter.mjs +335 -249
  87. package/dist/server/prebuild.mjs +1 -1
  88. package/dist/server/rendering/server.mjs +742 -469
  89. package/dist/server/rendering.mjs +742 -469
  90. package/dist/server/routing.mjs +274 -24
  91. package/dist/server/server.mjs +291 -24
  92. package/package.json +1 -1
@@ -16,15 +16,15 @@ import { z } from 'zod';
16
16
  */
17
17
  export declare const componentBorderSchema: z.ZodObject<{
18
18
  width: z.ZodDefault<z.ZodEnum<{
19
- medium: "medium";
20
19
  none: "none";
21
- thick: "thick";
20
+ medium: "medium";
22
21
  thin: "thin";
22
+ thick: "thick";
23
23
  hairline: "hairline";
24
24
  }>>;
25
25
  style: z.ZodDefault<z.ZodEnum<{
26
- dashed: "dashed";
27
26
  solid: "solid";
27
+ dashed: "dashed";
28
28
  }>>;
29
29
  colorToken: z.ZodOptional<z.ZodString>;
30
30
  }, z.core.$strip>;
@@ -36,10 +36,10 @@ export type ComponentBorder = z.infer<typeof componentBorderSchema>;
36
36
  export declare const componentShadowSchema: z.ZodObject<{
37
37
  elevation: z.ZodDefault<z.ZodEnum<{
38
38
  none: "none";
39
- sm: "sm";
40
39
  md: "md";
41
40
  lg: "lg";
42
41
  xl: "xl";
42
+ sm: "sm";
43
43
  "2xl": "2xl";
44
44
  }>>;
45
45
  }, z.core.$strip>;
@@ -122,8 +122,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
122
122
  kind: z.ZodLiteral<"panel">;
123
123
  treatment: z.ZodEnum<{
124
124
  editorial: "editorial";
125
- inset: "inset";
126
125
  raised: "raised";
126
+ inset: "inset";
127
127
  }>;
128
128
  }, z.core.$strict>, z.ZodObject<{
129
129
  kind: z.ZodLiteral<"flush-panel">;
@@ -138,12 +138,12 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
138
138
  }, z.core.$strict>], "kind">;
139
139
  itemSurface: z.ZodEnum<{
140
140
  flat: "flat";
141
- none: "none";
142
141
  default: "default";
142
+ none: "none";
143
143
  editorial: "editorial";
144
- inset: "inset";
145
144
  raised: "raised";
146
145
  outlined: "outlined";
146
+ inset: "inset";
147
147
  }>;
148
148
  transitionAfter: z.ZodEnum<{
149
149
  none: "none";
@@ -153,9 +153,9 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
153
153
  "angle-edge": "angle-edge";
154
154
  }>;
155
155
  emphasis: z.ZodEnum<{
156
- medium: "medium";
157
156
  low: "low";
158
157
  high: "high";
158
+ medium: "medium";
159
159
  }>;
160
160
  heroLegibility: z.ZodOptional<z.ZodEnum<{
161
161
  none: "none";
@@ -166,10 +166,10 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
166
166
  export declare const styleAuthoritySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
167
167
  kind: z.ZodLiteral<"theme-v2">;
168
168
  source: z.ZodEnum<{
169
+ user: "user";
169
170
  admin: "admin";
170
171
  sdk: "sdk";
171
172
  generated: "generated";
172
- user: "user";
173
173
  }>;
174
174
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
175
175
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -189,19 +189,19 @@ export declare const blockRuntimeStyleAuthoritySchema: z.ZodObject<{
189
189
  unit: z.ZodLiteral<"block-runtime-fields">;
190
190
  blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
191
191
  fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
192
+ styleGroup: "styleGroup";
192
193
  _sectionStyles: "_sectionStyles";
193
194
  _containerStyles: "_containerStyles";
194
195
  _cardStyles: "_cardStyles";
195
- styleGroup: "styleGroup";
196
196
  _frameStyles: "_frameStyles";
197
- }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup" | "_frameStyles")[]>>;
197
+ }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("styleGroup" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "_frameStyles")[]>>;
198
198
  authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
199
199
  kind: z.ZodLiteral<"theme-v2">;
200
200
  source: z.ZodEnum<{
201
+ user: "user";
201
202
  admin: "admin";
202
203
  sdk: "sdk";
203
204
  generated: "generated";
204
- user: "user";
205
205
  }>;
206
206
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
207
207
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -241,8 +241,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
241
241
  kind: z.ZodLiteral<"panel">;
242
242
  treatment: z.ZodEnum<{
243
243
  editorial: "editorial";
244
- inset: "inset";
245
244
  raised: "raised";
245
+ inset: "inset";
246
246
  }>;
247
247
  }, z.core.$strict>, z.ZodObject<{
248
248
  kind: z.ZodLiteral<"flush-panel">;
@@ -257,12 +257,12 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
257
257
  }, z.core.$strict>], "kind">;
258
258
  itemSurface: z.ZodEnum<{
259
259
  flat: "flat";
260
- none: "none";
261
260
  default: "default";
261
+ none: "none";
262
262
  editorial: "editorial";
263
- inset: "inset";
264
263
  raised: "raised";
265
264
  outlined: "outlined";
265
+ inset: "inset";
266
266
  }>;
267
267
  transitionAfter: z.ZodEnum<{
268
268
  none: "none";
@@ -272,9 +272,9 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
272
272
  "angle-edge": "angle-edge";
273
273
  }>;
274
274
  emphasis: z.ZodEnum<{
275
- medium: "medium";
276
275
  low: "low";
277
276
  high: "high";
277
+ medium: "medium";
278
278
  }>;
279
279
  heroLegibility: z.ZodOptional<z.ZodEnum<{
280
280
  none: "none";
@@ -286,19 +286,19 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
286
286
  unit: z.ZodLiteral<"block-runtime-fields">;
287
287
  blockId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignBlockId, string>>;
288
288
  fields: z.ZodPipe<z.ZodArray<z.ZodEnum<{
289
+ styleGroup: "styleGroup";
289
290
  _sectionStyles: "_sectionStyles";
290
291
  _containerStyles: "_containerStyles";
291
292
  _cardStyles: "_cardStyles";
292
- styleGroup: "styleGroup";
293
293
  _frameStyles: "_frameStyles";
294
- }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("_sectionStyles" | "_containerStyles" | "_cardStyles" | "styleGroup" | "_frameStyles")[]>>;
294
+ }>>, z.ZodTransform<NonEmptyRuntimeStyleFieldNames, ("styleGroup" | "_sectionStyles" | "_containerStyles" | "_cardStyles" | "_frameStyles")[]>>;
295
295
  authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
296
296
  kind: z.ZodLiteral<"theme-v2">;
297
297
  source: z.ZodEnum<{
298
+ user: "user";
298
299
  admin: "admin";
299
300
  sdk: "sdk";
300
301
  generated: "generated";
301
- user: "user";
302
302
  }>;
303
303
  siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteStyleId, string>>;
304
304
  templateId: z.ZodPipe<z.ZodString, z.ZodTransform<DesignSystemTemplateId, string>>;
@@ -5,8 +5,8 @@ export declare const generatedContentFrameIntentSchema: z.ZodDiscriminatedUnion<
5
5
  }, z.core.$strict>, z.ZodObject<{
6
6
  kind: z.ZodLiteral<"panel">;
7
7
  treatment: z.ZodEnum<{
8
- inset: "inset";
9
8
  raised: "raised";
9
+ inset: "inset";
10
10
  }>;
11
11
  }, z.core.$strict>, z.ZodObject<{
12
12
  kind: z.ZodLiteral<"flush-panel">;
@@ -52,8 +52,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
52
52
  }, z.core.$strict>, z.ZodObject<{
53
53
  kind: z.ZodLiteral<"panel">;
54
54
  treatment: z.ZodEnum<{
55
- inset: "inset";
56
55
  raised: "raised";
56
+ inset: "inset";
57
57
  }>;
58
58
  }, z.core.$strict>, z.ZodObject<{
59
59
  kind: z.ZodLiteral<"flush-panel">;
@@ -73,8 +73,8 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
73
73
  kind: z.ZodLiteral<"explicit">;
74
74
  value: z.ZodEnum<{
75
75
  flat: "flat";
76
- none: "none";
77
76
  default: "default";
77
+ none: "none";
78
78
  raised: "raised";
79
79
  outlined: "outlined";
80
80
  }>;
@@ -98,9 +98,9 @@ export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
98
98
  source: z.ZodLiteral<"generated">;
99
99
  kind: z.ZodLiteral<"explicit">;
100
100
  value: z.ZodEnum<{
101
- medium: "medium";
102
101
  low: "low";
103
102
  high: "high";
103
+ medium: "medium";
104
104
  }>;
105
105
  }, z.core.$strict>], "kind">;
106
106
  }, z.core.$strict>;
@@ -193,8 +193,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
193
193
  }, z.core.$strict>, z.ZodObject<{
194
194
  kind: z.ZodLiteral<"panel">;
195
195
  treatment: z.ZodEnum<{
196
- inset: "inset";
197
196
  raised: "raised";
197
+ inset: "inset";
198
198
  }>;
199
199
  }, z.core.$strict>, z.ZodObject<{
200
200
  kind: z.ZodLiteral<"flush-panel">;
@@ -214,8 +214,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
214
214
  kind: z.ZodLiteral<"explicit">;
215
215
  value: z.ZodEnum<{
216
216
  flat: "flat";
217
- none: "none";
218
217
  default: "default";
218
+ none: "none";
219
219
  raised: "raised";
220
220
  outlined: "outlined";
221
221
  }>;
@@ -239,9 +239,9 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
239
239
  source: z.ZodLiteral<"generated">;
240
240
  kind: z.ZodLiteral<"explicit">;
241
241
  value: z.ZodEnum<{
242
- medium: "medium";
243
242
  low: "low";
244
243
  high: "high";
244
+ medium: "medium";
245
245
  }>;
246
246
  }, z.core.$strict>], "kind">;
247
247
  }, z.core.$strict>;
@@ -12,9 +12,9 @@ export declare const STYLE_AXIS_VALUES: {
12
12
  };
13
13
  export declare const styleTagsSchema: z.ZodObject<{
14
14
  tone: z.ZodOptional<z.ZodEnum<{
15
- classic: "classic";
16
15
  bold: "bold";
17
16
  minimal: "minimal";
17
+ classic: "classic";
18
18
  }>>;
19
19
  energy: z.ZodOptional<z.ZodEnum<{
20
20
  calm: "calm";
@@ -18,14 +18,14 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
18
18
  }>;
19
19
  contrast: z.ZodEnum<{
20
20
  standard: "standard";
21
- strong: "strong";
22
21
  maximum: "maximum";
22
+ strong: "strong";
23
23
  }>;
24
24
  radius: z.ZodEnum<{
25
- rounded: "rounded";
25
+ soft: "soft";
26
26
  square: "square";
27
+ rounded: "rounded";
27
28
  pill: "pill";
28
- soft: "soft";
29
29
  }>;
30
30
  shadow: z.ZodEnum<{
31
31
  none: "none";
@@ -39,9 +39,9 @@ export declare const themeTokenRecipesSchema: z.ZodObject<{
39
39
  "friendly-sans": "friendly-sans";
40
40
  }>;
41
41
  spacing: z.ZodEnum<{
42
- compact: "compact";
43
- regular: "regular";
44
42
  airy: "airy";
43
+ regular: "regular";
44
+ compact: "compact";
45
45
  }>;
46
46
  motion: z.ZodEnum<{
47
47
  none: "none";
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "success" | "secondary" | "outline" | "default" | "warning" | "destructive" | null | undefined;
4
+ variant?: "success" | "default" | "warning" | "secondary" | "destructive" | "outline" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
7
  }
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  import { Separator } from './separator';
4
4
  declare const buttonGroupVariants: (props?: ({
5
- orientation?: "vertical" | "horizontal" | null | undefined;
5
+ orientation?: "horizontal" | "vertical" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): import("react/jsx-runtime").JSX.Element;
8
8
  declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
@@ -1,8 +1,8 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | "onDark" | "onDarkOutline" | "heroGlass" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "onDark" | "onDarkOutline" | "heroGlass" | null | undefined;
5
+ size?: "default" | "lg" | "sm" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
8
  asChild?: boolean;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const calloutVariants: (props?: ({
4
- tone?: "success" | "default" | "warning" | "info" | "danger" | null | undefined;
4
+ tone?: "success" | "default" | "warning" | "danger" | "info" | null | undefined;
5
5
  layout?: "inline" | "banner" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type CalloutProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof calloutVariants> & {
@@ -4,7 +4,7 @@ import { surfaceVariants } from './surface';
4
4
  export type CardVariant = VariantProps<typeof surfaceVariants>['variant'];
5
5
  export type CardRadius = VariantProps<typeof surfaceVariants>['radius'];
6
6
  declare const cardLayoutVariants: (props?: ({
7
- size?: "none" | "compact" | "default" | "responsive" | null | undefined;
7
+ size?: "default" | "none" | "compact" | "responsive" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  export type CardSize = VariantProps<typeof cardLayoutVariants>['size'];
10
10
  export type CardProps = React.ComponentProps<'div'> & {
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  export declare const surfaceVariants: (props?: ({
4
4
  variant?: "default" | "background" | null | undefined;
5
- radius?: "none" | "sm" | "md" | "lg" | "xl" | "flushMobile" | null | undefined;
6
- padding?: "none" | "sm" | "md" | "lg" | null | undefined;
5
+ radius?: "none" | "md" | "lg" | "xl" | "sm" | "flushMobile" | null | undefined;
6
+ padding?: "none" | "md" | "lg" | "sm" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  export type SurfaceProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof surfaceVariants>;
9
9
  export declare function Surface({ className, variant, radius, padding, ...props }: SurfaceProps): React.ReactElement;
@@ -2,11 +2,11 @@ import * as React from "react";
2
2
  import * as TogglePrimitive from "@radix-ui/react-toggle";
3
3
  import { type VariantProps } from "class-variance-authority";
4
4
  declare const toggleVariants: (props?: ({
5
- variant?: "outline" | "default" | null | undefined;
6
- size?: "default" | "sm" | "lg" | null | undefined;
5
+ variant?: "default" | "outline" | null | undefined;
6
+ size?: "default" | "lg" | "sm" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "outline" | "default" | null | undefined;
10
- size?: "default" | "sm" | "lg" | null | undefined;
9
+ variant?: "default" | "outline" | null | undefined;
10
+ size?: "default" | "lg" | "sm" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
12
  export { Toggle, toggleVariants };