@riverbankcms/sdk 0.102.0 → 0.103.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/README.md +10 -2
- package/dist/{PreviewEditorSidebar-BKkhhkJk.mjs → PreviewEditorSidebar-DkNpCPja.mjs} +75 -9
- package/dist/{PreviewEditorUI-DIvTqcqI.mjs → PreviewEditorUI-DeNKtqk3.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-CA2k7Z_T.mjs → SdkPreviewModeRuntime-5bCsXK2y.mjs} +572 -285
- package/dist/{SiteChromeCustomizeContext-Bh9-DtMQ.mjs → SiteChromeCustomizeContext-CO1sTK_W.mjs} +336 -36
- package/dist/_dts/ai/src/contracts/proposals.d.ts +298 -298
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +6 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +14 -14
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +5 -5
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +227 -227
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/inlineText.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +177 -177
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +154 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +15 -15
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/CustomizeColorTokenPicker.d.ts +27 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +10 -2
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +16 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +10 -10
- package/dist/_dts/sdk/src/next/revalidate.d.ts +14 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +3 -4
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +19 -19
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/cards/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +150 -144
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/schema.d.ts +199 -169
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +24 -24
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +26 -1
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +77 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +44 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/cli/index.mjs +28 -7
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +9 -1
- package/dist/client/client.mjs +337 -69
- package/dist/client/hooks.mjs +13 -1
- package/dist/client/rendering/client.mjs +25 -4
- package/dist/client/rendering.mjs +336 -68
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-K8Oqj97H.mjs → sdk-runtime-C8whifOy.mjs} +1 -1
- package/dist/{separator-CRoP34pT.mjs → separator-CM2C5Axs.mjs} +1 -1
- package/dist/server/components.mjs +321 -65
- package/dist/server/config-validation.mjs +12 -1
- package/dist/server/config.mjs +12 -1
- package/dist/server/data.mjs +12 -1
- package/dist/server/index.mjs +1 -1
- package/dist/server/next/revalidate.mjs +31 -1
- package/dist/server/next.mjs +325 -66
- package/dist/server/page-converter.mjs +12 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +323 -65
- package/dist/server/rendering.mjs +323 -65
- package/dist/server/routing.mjs +24 -3
- package/dist/server/server.mjs +15 -2
- package/dist/server/theme-bridge.mjs +153 -32
- package/dist/server/theme.mjs +2 -0
- package/dist/styles/index.css +123 -30
- package/package.json +1 -1
|
@@ -8,19 +8,19 @@ import { z } from 'zod';
|
|
|
8
8
|
* Padding preset options for nav links
|
|
9
9
|
*/
|
|
10
10
|
export declare const navLinkPaddingSchema: z.ZodEnum<{
|
|
11
|
+
default: "default";
|
|
11
12
|
none: "none";
|
|
12
13
|
compact: "compact";
|
|
13
|
-
default: "default";
|
|
14
14
|
}>;
|
|
15
15
|
/**
|
|
16
16
|
* Horizontal padding override for nav links.
|
|
17
17
|
* When set, overrides only the horizontal component of the `padding` preset.
|
|
18
18
|
*/
|
|
19
19
|
export declare const navLinkPaddingXSchema: z.ZodEnum<{
|
|
20
|
+
default: "default";
|
|
20
21
|
none: "none";
|
|
21
22
|
compact: "compact";
|
|
22
23
|
spacious: "spacious";
|
|
23
|
-
default: "default";
|
|
24
24
|
tight: "tight";
|
|
25
25
|
relaxed: "relaxed";
|
|
26
26
|
}>;
|
|
@@ -46,8 +46,8 @@ export declare const navLinkTextSizeSchema: z.ZodEnum<{
|
|
|
46
46
|
* Letter spacing options for nav links.
|
|
47
47
|
*/
|
|
48
48
|
export declare const navLinkLetterSpacingSchema: z.ZodEnum<{
|
|
49
|
-
wide: "wide";
|
|
50
49
|
normal: "normal";
|
|
50
|
+
wide: "wide";
|
|
51
51
|
wider: "wider";
|
|
52
52
|
widest: "widest";
|
|
53
53
|
}>;
|
|
@@ -72,8 +72,8 @@ export declare const navLinkStyleSchema: z.ZodObject<{
|
|
|
72
72
|
xs: "xs";
|
|
73
73
|
}>>;
|
|
74
74
|
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
75
|
-
wide: "wide";
|
|
76
75
|
normal: "normal";
|
|
76
|
+
wide: "wide";
|
|
77
77
|
wider: "wider";
|
|
78
78
|
widest: "widest";
|
|
79
79
|
}>>;
|
|
@@ -83,15 +83,15 @@ export declare const navLinkStyleSchema: z.ZodObject<{
|
|
|
83
83
|
}>>;
|
|
84
84
|
hoverColorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
85
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
86
|
+
default: "default";
|
|
86
87
|
none: "none";
|
|
87
88
|
compact: "compact";
|
|
88
|
-
default: "default";
|
|
89
89
|
}>>;
|
|
90
90
|
paddingX: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
default: "default";
|
|
91
92
|
none: "none";
|
|
92
93
|
compact: "compact";
|
|
93
94
|
spacious: "spacious";
|
|
94
|
-
default: "default";
|
|
95
95
|
tight: "tight";
|
|
96
96
|
relaxed: "relaxed";
|
|
97
97
|
}>>;
|
|
@@ -40,9 +40,9 @@ export declare const paletteVariantSchema: z.ZodObject<{
|
|
|
40
40
|
description: z.ZodString;
|
|
41
41
|
tags: z.ZodObject<{
|
|
42
42
|
tone: z.ZodOptional<z.ZodEnum<{
|
|
43
|
-
classic: "classic";
|
|
44
43
|
bold: "bold";
|
|
45
44
|
minimal: "minimal";
|
|
45
|
+
classic: "classic";
|
|
46
46
|
}>>;
|
|
47
47
|
energy: z.ZodOptional<z.ZodEnum<{
|
|
48
48
|
calm: "calm";
|
|
@@ -71,13 +71,13 @@ export declare const paletteVariantSchema: z.ZodObject<{
|
|
|
71
71
|
surface: "surface";
|
|
72
72
|
success: "success";
|
|
73
73
|
text: "text";
|
|
74
|
-
accent: "accent";
|
|
75
|
-
primary: "primary";
|
|
76
|
-
secondary: "secondary";
|
|
77
74
|
warning: "warning";
|
|
78
75
|
background: "background";
|
|
76
|
+
accent: "accent";
|
|
79
77
|
muted: "muted";
|
|
80
78
|
border: "border";
|
|
79
|
+
primary: "primary";
|
|
80
|
+
secondary: "secondary";
|
|
81
81
|
destructive: "destructive";
|
|
82
82
|
surfaceAlt: "surfaceAlt";
|
|
83
83
|
primaryForeground: "primaryForeground";
|
|
@@ -118,7 +118,7 @@ export declare const paletteOverridesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
118
118
|
muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<HexColor, string>>>;
|
|
119
119
|
text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<HexColor, string>>>;
|
|
120
120
|
border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<HexColor, string>>>;
|
|
121
|
-
}, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "
|
|
121
|
+
}, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "warning" | "background" | "accent" | "muted" | "border" | "primary" | "secondary" | "destructive" | "surfaceAlt" | "primaryForeground", HexColor>>>, {
|
|
122
122
|
primary?: HexColor | undefined;
|
|
123
123
|
primaryForeground?: HexColor | undefined;
|
|
124
124
|
secondary?: HexColor | undefined;
|