@riverbankcms/sdk 0.79.0 → 0.80.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.
- package/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +21 -12
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -2
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -7
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +34 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +6 -3
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +105 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +156 -18
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +446 -52
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +110 -1
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +286 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -8
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -7
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +7 -29
- package/dist/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-5NZGBSJF.mjs} +1423 -2451
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-7PCYG6YV.mjs} +215 -137
- package/dist/{chunk-K2IIF34C.mjs → chunk-BBLZSQEY.mjs} +24 -0
- package/dist/{chunk-V47ZU33I.mjs → chunk-GYXKAUFV.mjs} +2785 -785
- package/dist/{chunk-GP555I66.mjs → chunk-HTB4BMKD.mjs} +94 -46
- package/dist/{chunk-A3HHFKVT.mjs → chunk-MPBNEVPB.mjs} +1 -1
- package/dist/cli/index.mjs +2100 -545
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-QFZMNB7O.mjs} +1 -1
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
- package/dist/client/bookings.mjs +1144 -329
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-EO4BJMWD.mjs} +2 -2
- package/dist/client/{cart-DOP3FNI4.mjs → cart-FTYCLYUW.mjs} +5 -5
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-NFGLVCOX.mjs} +5 -5
- package/dist/client/{chunk-TYONZMST.mjs → chunk-4W66ALYT.mjs} +1 -1
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-6GVVWSPU.mjs} +4 -4
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-IWFZSQNZ.mjs} +1 -1
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-PUOELU4O.mjs} +89 -5
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-PYRBIURC.mjs} +4 -4
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-T6UIP6UZ.mjs} +1 -1
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-VDS5YFLX.mjs} +1 -1
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-Y37KDO7P.mjs} +1 -1
- package/dist/client/client.mjs +4205 -2324
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-2EORROPS.mjs} +3 -3
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-TFTATAPH.mjs} +5 -5
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
- package/dist/client/{form-JRTD65FN.mjs → form-NTIFD6WQ.mjs} +1 -1
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-7TBNKCLA.mjs} +65 -24
- package/dist/client/hooks.mjs +3354 -2006
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-LRLB5A3H.mjs} +1 -1
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-GSNKBFLY.mjs} +5 -5
- package/dist/client/{productList-L3EGJUF2.mjs → productList-BGCGT4KZ.mjs} +5 -5
- package/dist/client/rendering/client.mjs +2570 -1657
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +4275 -2394
- package/dist/client/{shop-DQUB5E2C.mjs → shop-RQHUCLNY.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
- package/dist/server/components.mjs +4063 -2293
- package/dist/server/config-validation.mjs +3525 -2176
- package/dist/server/config.mjs +3525 -2176
- package/dist/server/data.mjs +3354 -2006
- package/dist/server/index.mjs +25 -1
- package/dist/server/next.mjs +4006 -2236
- package/dist/server/page-converter.mjs +2747 -1816
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4063 -2293
- package/dist/server/rendering.mjs +4063 -2293
- package/dist/server/routing.mjs +3508 -2111
- package/dist/server/server.mjs +3372 -2024
- package/dist/server/theme-bridge.mjs +1436 -310
- package/dist/server/theme.mjs +409 -219
- package/dist/styles/index.css +300 -33
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -12,6 +12,16 @@ export type Shadow = {
|
|
|
12
12
|
};
|
|
13
13
|
export type CardSpacing = 'none' | 'compact' | 'cozy' | 'medium' | 'comfortable' | 'spacious';
|
|
14
14
|
export type GradientDirection = 'to-r' | 'to-l' | 'to-t' | 'to-b' | 'to-tr' | 'to-tl' | 'to-br' | 'to-bl';
|
|
15
|
+
export declare const cardVariantRoleValues: readonly ["default", "alternative"];
|
|
16
|
+
export declare const boxlessCardVariantValue: "none";
|
|
17
|
+
export type CardVariantRole = (typeof cardVariantRoleValues)[number];
|
|
18
|
+
export type BoxlessCardVariant = typeof boxlessCardVariantValue;
|
|
19
|
+
export type BoxStylesCardVariant = CardVariantRole | BoxlessCardVariant;
|
|
20
|
+
export declare const legacyCardVariantRoleAliases: {
|
|
21
|
+
readonly variant1: "alternative";
|
|
22
|
+
readonly variant2: "alternative";
|
|
23
|
+
};
|
|
24
|
+
export type LegacyCardVariantRoleAlias = keyof typeof legacyCardVariantRoleAliases;
|
|
15
25
|
export type CardBackground = {
|
|
16
26
|
type: 'solid';
|
|
17
27
|
colorToken: string;
|
|
@@ -45,6 +55,18 @@ export declare const gradientDirectionSchema: z.ZodEnum<{
|
|
|
45
55
|
"to-br": "to-br";
|
|
46
56
|
"to-bl": "to-bl";
|
|
47
57
|
}>;
|
|
58
|
+
export declare const cardVariantRoleSchema: z.ZodEnum<{
|
|
59
|
+
default: "default";
|
|
60
|
+
alternative: "alternative";
|
|
61
|
+
}>;
|
|
62
|
+
export declare const boxStylesCardVariantSchema: z.ZodEnum<{
|
|
63
|
+
none: "none";
|
|
64
|
+
default: "default";
|
|
65
|
+
alternative: "alternative";
|
|
66
|
+
}>;
|
|
67
|
+
export declare function isCardVariantRole(value: unknown): value is CardVariantRole;
|
|
68
|
+
export declare function normalizeCardVariantRole(value: unknown): CardVariantRole | null;
|
|
69
|
+
export declare function normalizeBoxStylesCardVariant(value: unknown): BoxStylesCardVariant | null;
|
|
48
70
|
export declare const cardBackgroundSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
49
71
|
type: z.ZodLiteral<"solid">;
|
|
50
72
|
colorToken: z.ZodString;
|
|
@@ -69,6 +91,66 @@ export declare const cardBorderSchema: z.ZodObject<{
|
|
|
69
91
|
widthClass: z.ZodString;
|
|
70
92
|
colorToken: z.ZodString;
|
|
71
93
|
}, z.core.$strip>;
|
|
94
|
+
/** Per-corner radius value. `expressive` is a large block-radius multiple. */
|
|
95
|
+
export declare const cardCornerValueSchema: z.ZodEnum<{
|
|
96
|
+
rounded: "rounded";
|
|
97
|
+
square: "square";
|
|
98
|
+
pill: "pill";
|
|
99
|
+
soft: "soft";
|
|
100
|
+
expressive: "expressive";
|
|
101
|
+
}>;
|
|
102
|
+
export type CardCornerValue = z.infer<typeof cardCornerValueSchema>;
|
|
103
|
+
/**
|
|
104
|
+
* A single accented card edge (e.g. a left accent bar). When set, it replaces
|
|
105
|
+
* the full `border` so the card reads as edge-accented rather than outlined.
|
|
106
|
+
*/
|
|
107
|
+
export declare const cardAccentEdgeSchema: z.ZodObject<{
|
|
108
|
+
edge: z.ZodEnum<{
|
|
109
|
+
left: "left";
|
|
110
|
+
right: "right";
|
|
111
|
+
top: "top";
|
|
112
|
+
bottom: "bottom";
|
|
113
|
+
}>;
|
|
114
|
+
colorToken: z.ZodString;
|
|
115
|
+
width: z.ZodEnum<{
|
|
116
|
+
medium: "medium";
|
|
117
|
+
thick: "thick";
|
|
118
|
+
thin: "thin";
|
|
119
|
+
heavy: "heavy";
|
|
120
|
+
}>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
export type CardAccentEdge = z.infer<typeof cardAccentEdgeSchema>;
|
|
123
|
+
export declare const cardCornerRadiiSchema: z.ZodObject<{
|
|
124
|
+
topLeft: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
rounded: "rounded";
|
|
126
|
+
square: "square";
|
|
127
|
+
pill: "pill";
|
|
128
|
+
soft: "soft";
|
|
129
|
+
expressive: "expressive";
|
|
130
|
+
}>>;
|
|
131
|
+
topRight: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
rounded: "rounded";
|
|
133
|
+
square: "square";
|
|
134
|
+
pill: "pill";
|
|
135
|
+
soft: "soft";
|
|
136
|
+
expressive: "expressive";
|
|
137
|
+
}>>;
|
|
138
|
+
bottomLeft: z.ZodOptional<z.ZodEnum<{
|
|
139
|
+
rounded: "rounded";
|
|
140
|
+
square: "square";
|
|
141
|
+
pill: "pill";
|
|
142
|
+
soft: "soft";
|
|
143
|
+
expressive: "expressive";
|
|
144
|
+
}>>;
|
|
145
|
+
bottomRight: z.ZodOptional<z.ZodEnum<{
|
|
146
|
+
rounded: "rounded";
|
|
147
|
+
square: "square";
|
|
148
|
+
pill: "pill";
|
|
149
|
+
soft: "soft";
|
|
150
|
+
expressive: "expressive";
|
|
151
|
+
}>>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
export type CardCornerRadii = z.infer<typeof cardCornerRadiiSchema>;
|
|
72
154
|
export declare const cardVariantSchema: z.ZodObject<{
|
|
73
155
|
id: z.ZodString;
|
|
74
156
|
name: z.ZodString;
|
|
@@ -102,6 +184,7 @@ export declare const cardVariantSchema: z.ZodObject<{
|
|
|
102
184
|
comfortable: "comfortable";
|
|
103
185
|
spacious: "spacious";
|
|
104
186
|
}>;
|
|
187
|
+
foregroundToken: z.ZodOptional<z.ZodString>;
|
|
105
188
|
shadow: z.ZodOptional<z.ZodObject<{
|
|
106
189
|
elevation: z.ZodEnum<{
|
|
107
190
|
medium: "medium";
|
|
@@ -125,10 +208,55 @@ export declare const cardVariantSchema: z.ZodObject<{
|
|
|
125
208
|
pill: "pill";
|
|
126
209
|
soft: "soft";
|
|
127
210
|
}>>;
|
|
211
|
+
cornerRadii: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
topLeft: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
rounded: "rounded";
|
|
214
|
+
square: "square";
|
|
215
|
+
pill: "pill";
|
|
216
|
+
soft: "soft";
|
|
217
|
+
expressive: "expressive";
|
|
218
|
+
}>>;
|
|
219
|
+
topRight: z.ZodOptional<z.ZodEnum<{
|
|
220
|
+
rounded: "rounded";
|
|
221
|
+
square: "square";
|
|
222
|
+
pill: "pill";
|
|
223
|
+
soft: "soft";
|
|
224
|
+
expressive: "expressive";
|
|
225
|
+
}>>;
|
|
226
|
+
bottomLeft: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
rounded: "rounded";
|
|
228
|
+
square: "square";
|
|
229
|
+
pill: "pill";
|
|
230
|
+
soft: "soft";
|
|
231
|
+
expressive: "expressive";
|
|
232
|
+
}>>;
|
|
233
|
+
bottomRight: z.ZodOptional<z.ZodEnum<{
|
|
234
|
+
rounded: "rounded";
|
|
235
|
+
square: "square";
|
|
236
|
+
pill: "pill";
|
|
237
|
+
soft: "soft";
|
|
238
|
+
expressive: "expressive";
|
|
239
|
+
}>>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
128
241
|
border: z.ZodOptional<z.ZodObject<{
|
|
129
242
|
widthClass: z.ZodString;
|
|
130
243
|
colorToken: z.ZodString;
|
|
131
244
|
}, z.core.$strip>>;
|
|
245
|
+
accentEdge: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
edge: z.ZodEnum<{
|
|
247
|
+
left: "left";
|
|
248
|
+
right: "right";
|
|
249
|
+
top: "top";
|
|
250
|
+
bottom: "bottom";
|
|
251
|
+
}>;
|
|
252
|
+
colorToken: z.ZodString;
|
|
253
|
+
width: z.ZodEnum<{
|
|
254
|
+
medium: "medium";
|
|
255
|
+
thick: "thick";
|
|
256
|
+
thin: "thin";
|
|
257
|
+
heavy: "heavy";
|
|
258
|
+
}>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
132
260
|
}, z.core.$strip>;
|
|
133
261
|
export declare const cardSystemSchema: z.ZodObject<{
|
|
134
262
|
variants: z.ZodArray<z.ZodObject<{
|
|
@@ -164,6 +292,7 @@ export declare const cardSystemSchema: z.ZodObject<{
|
|
|
164
292
|
comfortable: "comfortable";
|
|
165
293
|
spacious: "spacious";
|
|
166
294
|
}>;
|
|
295
|
+
foregroundToken: z.ZodOptional<z.ZodString>;
|
|
167
296
|
shadow: z.ZodOptional<z.ZodObject<{
|
|
168
297
|
elevation: z.ZodEnum<{
|
|
169
298
|
medium: "medium";
|
|
@@ -187,10 +316,55 @@ export declare const cardSystemSchema: z.ZodObject<{
|
|
|
187
316
|
pill: "pill";
|
|
188
317
|
soft: "soft";
|
|
189
318
|
}>>;
|
|
319
|
+
cornerRadii: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
topLeft: z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
rounded: "rounded";
|
|
322
|
+
square: "square";
|
|
323
|
+
pill: "pill";
|
|
324
|
+
soft: "soft";
|
|
325
|
+
expressive: "expressive";
|
|
326
|
+
}>>;
|
|
327
|
+
topRight: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
rounded: "rounded";
|
|
329
|
+
square: "square";
|
|
330
|
+
pill: "pill";
|
|
331
|
+
soft: "soft";
|
|
332
|
+
expressive: "expressive";
|
|
333
|
+
}>>;
|
|
334
|
+
bottomLeft: z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
rounded: "rounded";
|
|
336
|
+
square: "square";
|
|
337
|
+
pill: "pill";
|
|
338
|
+
soft: "soft";
|
|
339
|
+
expressive: "expressive";
|
|
340
|
+
}>>;
|
|
341
|
+
bottomRight: z.ZodOptional<z.ZodEnum<{
|
|
342
|
+
rounded: "rounded";
|
|
343
|
+
square: "square";
|
|
344
|
+
pill: "pill";
|
|
345
|
+
soft: "soft";
|
|
346
|
+
expressive: "expressive";
|
|
347
|
+
}>>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
190
349
|
border: z.ZodOptional<z.ZodObject<{
|
|
191
350
|
widthClass: z.ZodString;
|
|
192
351
|
colorToken: z.ZodString;
|
|
193
352
|
}, z.core.$strip>>;
|
|
353
|
+
accentEdge: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
edge: z.ZodEnum<{
|
|
355
|
+
left: "left";
|
|
356
|
+
right: "right";
|
|
357
|
+
top: "top";
|
|
358
|
+
bottom: "bottom";
|
|
359
|
+
}>;
|
|
360
|
+
colorToken: z.ZodString;
|
|
361
|
+
width: z.ZodEnum<{
|
|
362
|
+
medium: "medium";
|
|
363
|
+
thick: "thick";
|
|
364
|
+
thin: "thin";
|
|
365
|
+
heavy: "heavy";
|
|
366
|
+
}>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
194
368
|
}, z.core.$strip>>;
|
|
195
369
|
}, z.core.$strip>;
|
|
196
370
|
export interface CardVariant {
|
|
@@ -200,9 +374,12 @@ export interface CardVariant {
|
|
|
200
374
|
priority: 1 | 2 | 3;
|
|
201
375
|
background: CardBackground;
|
|
202
376
|
spacing: CardSpacing;
|
|
377
|
+
foregroundToken?: string;
|
|
203
378
|
shadow?: Shadow;
|
|
204
379
|
corners?: 'square' | 'soft' | 'rounded' | 'pill';
|
|
380
|
+
cornerRadii?: CardCornerRadii;
|
|
205
381
|
border?: CardBorder;
|
|
382
|
+
accentEdge?: CardAccentEdge;
|
|
206
383
|
}
|
|
207
384
|
export interface CardSystem {
|
|
208
385
|
variants: CardVariant[];
|