@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
|
@@ -1451,7 +1451,7 @@ export declare const runtimeBackedBlockModes: {
|
|
|
1451
1451
|
readonly shop: "passes-memberships";
|
|
1452
1452
|
};
|
|
1453
1453
|
export type RuntimeBackedBlockMode<TKind extends RuntimeBackedBlockKind> = typeof runtimeBackedBlockModes[TKind];
|
|
1454
|
-
export declare const runtimeBackedBlockKinds: readonly ("form" | "
|
|
1454
|
+
export declare const runtimeBackedBlockKinds: readonly ("form" | "cart" | "event-registration" | "event-listing" | "event-calendar" | "shop" | "product-list" | "product-detail" | "checkout" | "gifting" | "course-registration" | "newsletter-form")[];
|
|
1455
1455
|
export declare const runtimeBackedBlockServerRegistry: Readonly<{
|
|
1456
1456
|
readonly form: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
1457
1457
|
readonly 'event-listing': React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
@@ -4,25 +4,25 @@ export declare const previewStageSchema: z.ZodEnum<{
|
|
|
4
4
|
preview: "preview";
|
|
5
5
|
}>;
|
|
6
6
|
export declare const registrationButtonVariantSchema: z.ZodEnum<{
|
|
7
|
+
outline: "outline";
|
|
7
8
|
primary: "primary";
|
|
8
9
|
secondary: "secondary";
|
|
9
|
-
outline: "outline";
|
|
10
10
|
}>;
|
|
11
11
|
export declare const eventButtonVariantSchema: z.ZodEnum<{
|
|
12
12
|
link: "link";
|
|
13
|
+
outline: "outline";
|
|
13
14
|
primary: "primary";
|
|
14
15
|
secondary: "secondary";
|
|
15
|
-
outline: "outline";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const eventLayoutSchema: z.ZodEnum<{
|
|
18
|
-
compact: "compact";
|
|
19
|
-
grid: "grid";
|
|
20
18
|
stack: "stack";
|
|
19
|
+
grid: "grid";
|
|
20
|
+
compact: "compact";
|
|
21
21
|
}>;
|
|
22
22
|
export declare const eventCalendarDisplayModeSchema: z.ZodEnum<{
|
|
23
|
-
combined: "combined";
|
|
24
|
-
calendar: "calendar";
|
|
25
23
|
list: "list";
|
|
24
|
+
calendar: "calendar";
|
|
25
|
+
combined: "combined";
|
|
26
26
|
timetable: "timetable";
|
|
27
27
|
}>;
|
|
28
28
|
export declare const eventCalendarDefaultViewSchema: z.ZodEnum<{
|
|
@@ -40,8 +40,8 @@ export declare const weekStartSchema: z.ZodEnum<{
|
|
|
40
40
|
}>;
|
|
41
41
|
export declare const filterAutoShowSchema: z.ZodEnum<{
|
|
42
42
|
auto: "auto";
|
|
43
|
-
always: "always";
|
|
44
43
|
never: "never";
|
|
44
|
+
always: "always";
|
|
45
45
|
}>;
|
|
46
46
|
export declare const calendarTabViewsSchema: z.ZodEnum<{
|
|
47
47
|
week: "week";
|
|
@@ -125,7 +125,7 @@ export declare function bindProp(from: string, opts?: {
|
|
|
125
125
|
readonly $bind: {
|
|
126
126
|
readonly pick?: "value" | "collection" | "context" | undefined;
|
|
127
127
|
readonly fallback?: {} | null | undefined;
|
|
128
|
-
readonly transforms?: TransformStep<"
|
|
128
|
+
readonly transforms?: TransformStep<"string.uppercase" | "value.fallback" | "date.formatShort" | "value.csv" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.headerSectionBackground" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.sectionStateTone" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "media.fromUrl" | "content.interpolateRichTextTokens" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "boxStyles.cardVariantClass" | "layout.headerLogoClass" | "layout.headerLogoMediaClass" | "layout.headerLogoTextVisible" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSimpleRootClass" | "layout.footerSimpleNavClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
|
|
129
129
|
readonly from: string;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
@@ -11,16 +11,16 @@ declare const BaseContentFieldSchema: z.ZodObject<{
|
|
|
11
11
|
text: "text";
|
|
12
12
|
textarea: "textarea";
|
|
13
13
|
select: "select";
|
|
14
|
+
link: "link";
|
|
14
15
|
url: "url";
|
|
16
|
+
file: "file";
|
|
15
17
|
media: "media";
|
|
18
|
+
reference: "reference";
|
|
19
|
+
group: "group";
|
|
20
|
+
datetime: "datetime";
|
|
16
21
|
button: "button";
|
|
17
|
-
link: "link";
|
|
18
22
|
richText: "richText";
|
|
19
|
-
file: "file";
|
|
20
|
-
datetime: "datetime";
|
|
21
|
-
reference: "reference";
|
|
22
23
|
repeater: "repeater";
|
|
23
|
-
group: "group";
|
|
24
24
|
}>;
|
|
25
25
|
label: z.ZodOptional<z.ZodString>;
|
|
26
26
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -58,8 +58,8 @@ declare const BaseContentFieldSchema: z.ZodObject<{
|
|
|
58
58
|
}, z.core.$strip>>;
|
|
59
59
|
valueFrom: z.ZodOptional<z.ZodEnum<{
|
|
60
60
|
id: "id";
|
|
61
|
-
identifier: "identifier";
|
|
62
61
|
slug: "slug";
|
|
62
|
+
identifier: "identifier";
|
|
63
63
|
}>>;
|
|
64
64
|
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -96,8 +96,8 @@ declare const RoutingSchema: z.ZodObject<{
|
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
declare const OrderingSchema: z.ZodDefault<z.ZodObject<{
|
|
98
98
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
99
|
-
manual: "manual";
|
|
100
99
|
default: "default";
|
|
100
|
+
manual: "manual";
|
|
101
101
|
}>>;
|
|
102
102
|
}, z.core.$strip>>;
|
|
103
103
|
export declare const ContentTypeSchemaZ: z.ZodObject<{
|
|
@@ -131,8 +131,8 @@ export declare const ContentTypeSchemaZ: z.ZodObject<{
|
|
|
131
131
|
}, z.core.$strip>>;
|
|
132
132
|
ordering: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
133
133
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
134
|
-
manual: "manual";
|
|
135
134
|
default: "default";
|
|
135
|
+
manual: "manual";
|
|
136
136
|
}>>;
|
|
137
137
|
}, z.core.$strip>>>;
|
|
138
138
|
}, z.core.$strip>;
|
|
@@ -7919,6 +7919,160 @@ export type Database = {
|
|
|
7919
7919
|
}
|
|
7920
7920
|
];
|
|
7921
7921
|
};
|
|
7922
|
+
event_offering_series: {
|
|
7923
|
+
Row: {
|
|
7924
|
+
content_ownership: string;
|
|
7925
|
+
created_at: string;
|
|
7926
|
+
created_by: string | null;
|
|
7927
|
+
deleted_at: string | null;
|
|
7928
|
+
event_offering_id: string;
|
|
7929
|
+
event_series_id: string;
|
|
7930
|
+
id: string;
|
|
7931
|
+
migration_source: Json;
|
|
7932
|
+
series_surface_id: string | null;
|
|
7933
|
+
site_id: string;
|
|
7934
|
+
updated_at: string;
|
|
7935
|
+
updated_by: string | null;
|
|
7936
|
+
};
|
|
7937
|
+
Insert: {
|
|
7938
|
+
content_ownership: string;
|
|
7939
|
+
created_at?: string;
|
|
7940
|
+
created_by?: string | null;
|
|
7941
|
+
deleted_at?: string | null;
|
|
7942
|
+
event_offering_id: string;
|
|
7943
|
+
event_series_id: string;
|
|
7944
|
+
id?: string;
|
|
7945
|
+
migration_source?: Json;
|
|
7946
|
+
series_surface_id?: string | null;
|
|
7947
|
+
site_id: string;
|
|
7948
|
+
updated_at?: string;
|
|
7949
|
+
updated_by?: string | null;
|
|
7950
|
+
};
|
|
7951
|
+
Update: {
|
|
7952
|
+
content_ownership?: string;
|
|
7953
|
+
created_at?: string;
|
|
7954
|
+
created_by?: string | null;
|
|
7955
|
+
deleted_at?: string | null;
|
|
7956
|
+
event_offering_id?: string;
|
|
7957
|
+
event_series_id?: string;
|
|
7958
|
+
id?: string;
|
|
7959
|
+
migration_source?: Json;
|
|
7960
|
+
series_surface_id?: string | null;
|
|
7961
|
+
site_id?: string;
|
|
7962
|
+
updated_at?: string;
|
|
7963
|
+
updated_by?: string | null;
|
|
7964
|
+
};
|
|
7965
|
+
Relationships: [
|
|
7966
|
+
{
|
|
7967
|
+
foreignKeyName: "event_offering_series_event_offering_id_fkey";
|
|
7968
|
+
columns: ["event_offering_id"];
|
|
7969
|
+
isOneToOne: false;
|
|
7970
|
+
referencedRelation: "event_offerings";
|
|
7971
|
+
referencedColumns: ["id"];
|
|
7972
|
+
},
|
|
7973
|
+
{
|
|
7974
|
+
foreignKeyName: "event_offering_series_event_series_id_fkey";
|
|
7975
|
+
columns: ["event_series_id"];
|
|
7976
|
+
isOneToOne: false;
|
|
7977
|
+
referencedRelation: "event_series";
|
|
7978
|
+
referencedColumns: ["id"];
|
|
7979
|
+
},
|
|
7980
|
+
{
|
|
7981
|
+
foreignKeyName: "event_offering_series_series_surface_id_fkey";
|
|
7982
|
+
columns: ["series_surface_id"];
|
|
7983
|
+
isOneToOne: false;
|
|
7984
|
+
referencedRelation: "page_surfaces";
|
|
7985
|
+
referencedColumns: ["id"];
|
|
7986
|
+
},
|
|
7987
|
+
{
|
|
7988
|
+
foreignKeyName: "event_offering_series_site_id_fkey";
|
|
7989
|
+
columns: ["site_id"];
|
|
7990
|
+
isOneToOne: false;
|
|
7991
|
+
referencedRelation: "sites";
|
|
7992
|
+
referencedColumns: ["id"];
|
|
7993
|
+
}
|
|
7994
|
+
];
|
|
7995
|
+
};
|
|
7996
|
+
event_offerings: {
|
|
7997
|
+
Row: {
|
|
7998
|
+
created_at: string;
|
|
7999
|
+
created_by: string | null;
|
|
8000
|
+
deleted_at: string | null;
|
|
8001
|
+
id: string;
|
|
8002
|
+
metadata_json: Json;
|
|
8003
|
+
page_surface_id: string | null;
|
|
8004
|
+
site_id: string;
|
|
8005
|
+
slug: string;
|
|
8006
|
+
source_content_entry_id: string | null;
|
|
8007
|
+
source_kind: string;
|
|
8008
|
+
source_route_id: string | null;
|
|
8009
|
+
title: string;
|
|
8010
|
+
updated_at: string;
|
|
8011
|
+
updated_by: string | null;
|
|
8012
|
+
};
|
|
8013
|
+
Insert: {
|
|
8014
|
+
created_at?: string;
|
|
8015
|
+
created_by?: string | null;
|
|
8016
|
+
deleted_at?: string | null;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
metadata_json?: Json;
|
|
8019
|
+
page_surface_id?: string | null;
|
|
8020
|
+
site_id: string;
|
|
8021
|
+
slug?: string;
|
|
8022
|
+
source_content_entry_id?: string | null;
|
|
8023
|
+
source_kind?: string;
|
|
8024
|
+
source_route_id?: string | null;
|
|
8025
|
+
title?: string;
|
|
8026
|
+
updated_at?: string;
|
|
8027
|
+
updated_by?: string | null;
|
|
8028
|
+
};
|
|
8029
|
+
Update: {
|
|
8030
|
+
created_at?: string;
|
|
8031
|
+
created_by?: string | null;
|
|
8032
|
+
deleted_at?: string | null;
|
|
8033
|
+
id?: string;
|
|
8034
|
+
metadata_json?: Json;
|
|
8035
|
+
page_surface_id?: string | null;
|
|
8036
|
+
site_id?: string;
|
|
8037
|
+
slug?: string;
|
|
8038
|
+
source_content_entry_id?: string | null;
|
|
8039
|
+
source_kind?: string;
|
|
8040
|
+
source_route_id?: string | null;
|
|
8041
|
+
title?: string;
|
|
8042
|
+
updated_at?: string;
|
|
8043
|
+
updated_by?: string | null;
|
|
8044
|
+
};
|
|
8045
|
+
Relationships: [
|
|
8046
|
+
{
|
|
8047
|
+
foreignKeyName: "event_offerings_page_surface_id_fkey";
|
|
8048
|
+
columns: ["page_surface_id"];
|
|
8049
|
+
isOneToOne: false;
|
|
8050
|
+
referencedRelation: "page_surfaces";
|
|
8051
|
+
referencedColumns: ["id"];
|
|
8052
|
+
},
|
|
8053
|
+
{
|
|
8054
|
+
foreignKeyName: "event_offerings_site_id_fkey";
|
|
8055
|
+
columns: ["site_id"];
|
|
8056
|
+
isOneToOne: false;
|
|
8057
|
+
referencedRelation: "sites";
|
|
8058
|
+
referencedColumns: ["id"];
|
|
8059
|
+
},
|
|
8060
|
+
{
|
|
8061
|
+
foreignKeyName: "event_offerings_source_content_entry_id_fkey";
|
|
8062
|
+
columns: ["source_content_entry_id"];
|
|
8063
|
+
isOneToOne: false;
|
|
8064
|
+
referencedRelation: "content_entries";
|
|
8065
|
+
referencedColumns: ["id"];
|
|
8066
|
+
},
|
|
8067
|
+
{
|
|
8068
|
+
foreignKeyName: "event_offerings_source_route_id_fkey";
|
|
8069
|
+
columns: ["source_route_id"];
|
|
8070
|
+
isOneToOne: false;
|
|
8071
|
+
referencedRelation: "site_routes";
|
|
8072
|
+
referencedColumns: ["id"];
|
|
8073
|
+
}
|
|
8074
|
+
];
|
|
8075
|
+
};
|
|
7922
8076
|
event_pricing_option_details: {
|
|
7923
8077
|
Row: {
|
|
7924
8078
|
attendance_scope: string;
|
|
@@ -17901,24 +18055,6 @@ export type Database = {
|
|
|
17901
18055
|
order_id: string;
|
|
17902
18056
|
}[];
|
|
17903
18057
|
};
|
|
17904
|
-
postgres_fdw_disconnect: {
|
|
17905
|
-
Args: {
|
|
17906
|
-
"": string;
|
|
17907
|
-
};
|
|
17908
|
-
Returns: boolean;
|
|
17909
|
-
};
|
|
17910
|
-
postgres_fdw_disconnect_all: {
|
|
17911
|
-
Args: never;
|
|
17912
|
-
Returns: boolean;
|
|
17913
|
-
};
|
|
17914
|
-
postgres_fdw_get_connections: {
|
|
17915
|
-
Args: never;
|
|
17916
|
-
Returns: Record<string, unknown>[];
|
|
17917
|
-
};
|
|
17918
|
-
postgres_fdw_handler: {
|
|
17919
|
-
Args: never;
|
|
17920
|
-
Returns: unknown;
|
|
17921
|
-
};
|
|
17922
18058
|
read_published_runtime_cache_entry: {
|
|
17923
18059
|
Args: {
|
|
17924
18060
|
p_cache_key: string;
|
|
@@ -121,9 +121,9 @@ export declare const bookingQuestionsFormSettingsSchema: z.ZodObject<{
|
|
|
121
121
|
}, z.core.$strict>>;
|
|
122
122
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
123
123
|
mixed: "mixed";
|
|
124
|
+
appointments: "appointments";
|
|
124
125
|
courses: "courses";
|
|
125
126
|
events: "events";
|
|
126
|
-
appointments: "appointments";
|
|
127
127
|
}>>;
|
|
128
128
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
129
129
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -217,9 +217,9 @@ export declare const formSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
217
217
|
}, z.core.$strict>>;
|
|
218
218
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
219
219
|
mixed: "mixed";
|
|
220
|
+
appointments: "appointments";
|
|
220
221
|
courses: "courses";
|
|
221
222
|
events: "events";
|
|
222
|
-
appointments: "appointments";
|
|
223
223
|
}>>;
|
|
224
224
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
225
225
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -320,9 +320,9 @@ export declare const formSettingsInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
320
320
|
}, z.core.$strict>>;
|
|
321
321
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
322
322
|
mixed: "mixed";
|
|
323
|
+
appointments: "appointments";
|
|
323
324
|
courses: "courses";
|
|
324
325
|
events: "events";
|
|
325
|
-
appointments: "appointments";
|
|
326
326
|
}>>;
|
|
327
327
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
328
328
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -370,8 +370,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
370
370
|
checkbox: "checkbox";
|
|
371
371
|
radio: "radio";
|
|
372
372
|
url: "url";
|
|
373
|
-
tel: "tel";
|
|
374
373
|
consent: "consent";
|
|
374
|
+
tel: "tel";
|
|
375
375
|
}>;
|
|
376
376
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
377
377
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -394,8 +394,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
394
394
|
}, z.core.$strict>>;
|
|
395
395
|
}, z.core.$strict>;
|
|
396
396
|
export declare const bookingQuestionDocumentFileTypeSchema: z.ZodEnum<{
|
|
397
|
-
image: "image";
|
|
398
397
|
pdf: "pdf";
|
|
398
|
+
image: "image";
|
|
399
399
|
docx: "docx";
|
|
400
400
|
}>;
|
|
401
401
|
declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
@@ -448,8 +448,8 @@ declare const bookingQuestionDocumentUploadFieldSchema: z.ZodObject<{
|
|
|
448
448
|
}>>;
|
|
449
449
|
}, z.core.$strict>>;
|
|
450
450
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
451
|
-
image: "image";
|
|
452
451
|
pdf: "pdf";
|
|
452
|
+
image: "image";
|
|
453
453
|
docx: "docx";
|
|
454
454
|
}>>>;
|
|
455
455
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -503,8 +503,8 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
503
503
|
}>>;
|
|
504
504
|
}, z.core.$strict>>;
|
|
505
505
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
506
|
-
image: "image";
|
|
507
506
|
pdf: "pdf";
|
|
507
|
+
image: "image";
|
|
508
508
|
docx: "docx";
|
|
509
509
|
}>>>;
|
|
510
510
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -562,8 +562,8 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
562
562
|
}>>;
|
|
563
563
|
}, z.core.$strict>>;
|
|
564
564
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
565
|
-
image: "image";
|
|
566
565
|
pdf: "pdf";
|
|
566
|
+
image: "image";
|
|
567
567
|
docx: "docx";
|
|
568
568
|
}>>>;
|
|
569
569
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -624,8 +624,8 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
624
624
|
}>>;
|
|
625
625
|
}, z.core.$strict>>;
|
|
626
626
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
627
|
-
image: "image";
|
|
628
627
|
pdf: "pdf";
|
|
628
|
+
image: "image";
|
|
629
629
|
docx: "docx";
|
|
630
630
|
}>>>;
|
|
631
631
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -652,8 +652,8 @@ export declare const formSchemaSchema: z.ZodObject<{
|
|
|
652
652
|
checkbox: "checkbox";
|
|
653
653
|
radio: "radio";
|
|
654
654
|
url: "url";
|
|
655
|
-
tel: "tel";
|
|
656
655
|
consent: "consent";
|
|
656
|
+
tel: "tel";
|
|
657
657
|
}>;
|
|
658
658
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
659
659
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -727,8 +727,8 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
727
727
|
}>>;
|
|
728
728
|
}, z.core.$strict>>;
|
|
729
729
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
730
|
-
image: "image";
|
|
731
730
|
pdf: "pdf";
|
|
731
|
+
image: "image";
|
|
732
732
|
docx: "docx";
|
|
733
733
|
}>>>;
|
|
734
734
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -785,8 +785,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
785
785
|
}>>;
|
|
786
786
|
}, z.core.$strict>>;
|
|
787
787
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
788
|
-
image: "image";
|
|
789
788
|
pdf: "pdf";
|
|
789
|
+
image: "image";
|
|
790
790
|
docx: "docx";
|
|
791
791
|
}>>>;
|
|
792
792
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -846,8 +846,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
846
846
|
}>>;
|
|
847
847
|
}, z.core.$strict>>;
|
|
848
848
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
849
|
-
image: "image";
|
|
850
849
|
pdf: "pdf";
|
|
850
|
+
image: "image";
|
|
851
851
|
docx: "docx";
|
|
852
852
|
}>>>;
|
|
853
853
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -906,8 +906,8 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
906
906
|
checkbox: "checkbox";
|
|
907
907
|
radio: "radio";
|
|
908
908
|
url: "url";
|
|
909
|
-
tel: "tel";
|
|
910
909
|
consent: "consent";
|
|
910
|
+
tel: "tel";
|
|
911
911
|
}>;
|
|
912
912
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
913
913
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -1016,9 +1016,9 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1016
1016
|
}, z.core.$strict>>;
|
|
1017
1017
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
1018
1018
|
mixed: "mixed";
|
|
1019
|
+
appointments: "appointments";
|
|
1019
1020
|
courses: "courses";
|
|
1020
1021
|
events: "events";
|
|
1021
|
-
appointments: "appointments";
|
|
1022
1022
|
}>>;
|
|
1023
1023
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
1024
1024
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorBlockId } from '../../../../../core/src/index';
|
|
2
2
|
import type { BlockItem } from '../../../../../editor-blocks/src/index';
|
|
3
|
-
import type { CompiledBlockRuntimeFields, DesignBlockId } from '../../../../../theme-core/src/site-styles/previewCompiler';
|
|
3
|
+
import type { CompiledBlockRuntimeFields, CompiledBoundaryRuntime, DesignBlockId } from '../../../../../theme-core/src/site-styles/previewCompiler';
|
|
4
4
|
export type CanonicalBlockContent = Record<string, unknown> & {
|
|
5
5
|
readonly __contentAuthority?: 'canonical-block-content';
|
|
6
6
|
};
|
|
@@ -55,6 +55,7 @@ export type PreviewProjection = Readonly<{
|
|
|
55
55
|
kind: 'runtime-content-decoration';
|
|
56
56
|
source: 'page-design';
|
|
57
57
|
fieldsByBlockId: ReadonlyMap<DesignBlockId, CompiledBlockRuntimeFields>;
|
|
58
|
+
boundaries: readonly CompiledBoundaryRuntime<DesignBlockId>[];
|
|
58
59
|
}>;
|
|
59
60
|
export type StructureProjection = Extract<PreviewProjection, {
|
|
60
61
|
kind: 'structure-overlay';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function CustomizeColorTokenPicker<TToken extends string>({ title, selectedToken, recommendedTokens, advancedTokens, disabled, columnsClassName, showTitle, labelForToken, swatchColorForToken, onChooseToken, }: Readonly<{
|
|
3
|
+
title: string;
|
|
4
|
+
selectedToken: TToken | null;
|
|
5
|
+
recommendedTokens: readonly TToken[];
|
|
6
|
+
advancedTokens?: readonly TToken[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
columnsClassName?: string;
|
|
9
|
+
showTitle?: boolean;
|
|
10
|
+
labelForToken: (token: TToken) => string;
|
|
11
|
+
swatchColorForToken: (token: TToken) => string;
|
|
12
|
+
onChooseToken: (token: TToken, event: React.MouseEvent) => void;
|
|
13
|
+
}>): React.JSX.Element | null;
|
|
14
|
+
export declare function CustomizeBackgroundColorPicker<TToken extends string>({ title, selectedToken, recommendedTokens, advancedTokens, disabled, columnsClassName, defaultSelected, defaultLabel, labelForToken, swatchColorForToken, onChooseDefault, onChooseToken, }: Readonly<{
|
|
15
|
+
title?: string;
|
|
16
|
+
selectedToken: TToken | null;
|
|
17
|
+
recommendedTokens: readonly TToken[];
|
|
18
|
+
advancedTokens?: readonly TToken[];
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
columnsClassName?: string;
|
|
21
|
+
defaultSelected?: boolean;
|
|
22
|
+
defaultLabel?: string;
|
|
23
|
+
labelForToken: (token: TToken) => string;
|
|
24
|
+
swatchColorForToken: (token: TToken) => string;
|
|
25
|
+
onChooseDefault?: (event: React.MouseEvent) => void;
|
|
26
|
+
onChooseToken: (token: TToken, event: React.MouseEvent) => void;
|
|
27
|
+
}>): React.JSX.Element | null;
|
|
@@ -21,6 +21,7 @@ type PageBlockEditorPanelProps = {
|
|
|
21
21
|
metadataPanel: ReactNode;
|
|
22
22
|
linkedEntrySection?: PreviewLinkedEntrySidebarSection | null;
|
|
23
23
|
designPanel?: ReactNode;
|
|
24
|
+
designOpenRequestId?: number | null;
|
|
24
25
|
sdkConfig?: SdkConfigForBlockPicker | null;
|
|
25
26
|
mediaAssets?: MediaAssetIndexItem[];
|
|
26
27
|
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
|
|
@@ -31,5 +32,5 @@ type PageBlockEditorPanelProps = {
|
|
|
31
32
|
onViewportWidthChange: (width: ViewportWidth) => void;
|
|
32
33
|
onZoomChange: (zoom: ZoomLevel) => void;
|
|
33
34
|
};
|
|
34
|
-
export declare function PageBlockEditorPanel({ siteId, pageId, theme, apiClient, bearerToken, supabaseUrl, blockItems, uiStoreForBlockEditor, blockEditorRef, onBlocksChange, metadataPanel, linkedEntrySection, designPanel, sdkConfig, mediaAssets, bookingOfferingPresets, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PageBlockEditorPanelProps): React.JSX.Element;
|
|
35
|
+
export declare function PageBlockEditorPanel({ siteId, pageId, theme, apiClient, bearerToken, supabaseUrl, blockItems, uiStoreForBlockEditor, blockEditorRef, onBlocksChange, metadataPanel, linkedEntrySection, designPanel, designOpenRequestId, sdkConfig, mediaAssets, bookingOfferingPresets, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PageBlockEditorPanelProps): React.JSX.Element;
|
|
35
36
|
export {};
|
|
@@ -3,7 +3,8 @@ import { type ApiClient } from '../../../../api/src/request';
|
|
|
3
3
|
import type { Theme } from '../../../../blocks/src/index';
|
|
4
4
|
import type { ButtonPersonalityId } from '../../../../theme-core/src/buttons/index';
|
|
5
5
|
import type { PaletteOverrides, PaletteVariantId } from '../../../../theme-core/src/palette/index';
|
|
6
|
-
import type { BrandDisplayMode, FooterLayoutId, FooterLookId, FooterSelectionContext, HeaderLayoutId, HeaderLookId, HeaderSelectionContext, HeaderStyleId, LogoSizePolicy, SiteChromeBackgroundColorToken, SiteChromeBackgroundOverride, TypographyPresetId } from '../../../../theme-core/src/site-styles/index';
|
|
6
|
+
import type { BrandDisplayMode, FooterLayoutId, FooterLookId, HeaderNavFontSizePreference, HeaderNavTypographyPreference, FooterSelectionContext, HeaderLayoutId, HeaderLookId, HeaderSelectionContext, HeaderStyleId, LogoSizePolicy, SiteChromeBackgroundColorToken, SiteChromeBackgroundOverride, TypographyPresetId } from '../../../../theme-core/src/site-styles/index';
|
|
7
|
+
import { headerNavFontSizeOptions, headerNavTypographyOptions } from '../../../../theme-core/src/site-styles/index';
|
|
7
8
|
import { type StyleConfiguratorHistoryEntry } from './StyleConfigurator.state';
|
|
8
9
|
import type { SiteStyleAccess } from './siteStyleAccess';
|
|
9
10
|
import { type SiteChromeLookOption } from './siteChromeLookRows';
|
|
@@ -51,7 +52,7 @@ export type SiteChromeBackgroundControlState = Readonly<{
|
|
|
51
52
|
quickTokens: readonly SiteChromeBackgroundColorToken[];
|
|
52
53
|
advancedTokens: readonly SiteChromeBackgroundColorToken[];
|
|
53
54
|
}>;
|
|
54
|
-
type SiteChromeCustomizeSurfaceState = Readonly<{
|
|
55
|
+
export type SiteChromeCustomizeSurfaceState = Readonly<{
|
|
55
56
|
kind: 'unavailable';
|
|
56
57
|
}> | Readonly<{
|
|
57
58
|
kind: 'available';
|
|
@@ -65,8 +66,13 @@ type SiteChromeCustomizeSurfaceState = Readonly<{
|
|
|
65
66
|
options: readonly SiteChromeLookOption<HeaderStyleId>[];
|
|
66
67
|
brandDisplay: BrandDisplayMode;
|
|
67
68
|
brandDisplayOptions: readonly HeaderBrandDisplayOption[];
|
|
69
|
+
brandSizeLabel: string;
|
|
68
70
|
logoSize: LogoSizePolicy;
|
|
69
71
|
logoSizeOptions: readonly HeaderLogoSizeOption[];
|
|
72
|
+
menuFont: HeaderNavTypographyPreference;
|
|
73
|
+
menuFontOptions: typeof headerNavTypographyOptions;
|
|
74
|
+
menuFontSize: HeaderNavFontSizePreference;
|
|
75
|
+
menuFontSizeOptions: typeof headerNavFontSizeOptions;
|
|
70
76
|
diagnostics: readonly string[];
|
|
71
77
|
background: SiteChromeBackgroundControlState;
|
|
72
78
|
failure: string | null;
|
|
@@ -92,6 +98,8 @@ type SiteChromeCustomizeContextValue = Readonly<{
|
|
|
92
98
|
cycleSurfaceLayout: (surface: SiteChromeEditableSurfaceKind, direction: 'prev' | 'next') => void;
|
|
93
99
|
setHeaderBrandDisplay: (value: BrandDisplayMode) => void;
|
|
94
100
|
setHeaderLogoSize: (value: LogoSizePolicy) => void;
|
|
101
|
+
setHeaderMenuFont: (value: HeaderNavTypographyPreference) => void;
|
|
102
|
+
setHeaderMenuFontSize: (value: HeaderNavFontSizePreference) => void;
|
|
95
103
|
cycleSurfaceBackground: (surface: SiteChromeEditableSurfaceKind, direction: 'prev' | 'next') => void;
|
|
96
104
|
chooseSurfaceBackground: (surface: SiteChromeEditableSurfaceKind, override: SiteChromeBackgroundOverride) => void;
|
|
97
105
|
siteStyleHistory: SiteStyleHistoryController;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PreviewSidebarTab } from '../../../../content-editor/src/index';
|
|
2
2
|
export type { PreviewSidebarTab };
|
|
3
|
-
export type PreviewDesignRow = 'header' | 'footer';
|
|
3
|
+
export type PreviewDesignRow = 'header' | 'footer' | 'header-layout' | 'header-style' | 'footer-layout';
|
|
4
4
|
export type PreviewSidebarOpenRequest = Readonly<{
|
|
5
5
|
tab: PreviewSidebarTab;
|
|
6
6
|
designRow?: PreviewDesignRow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HistoryState } from '../../../../content-editor/src/index';
|
|
2
|
-
import { type BrandDisplayMode, type FooterLookId, type LogoSizePolicy, type SiteChromeBackgroundOverride, type SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
2
|
+
import { type BrandDisplayMode, type FooterLookId, type HeaderNavFontSizePreference, type HeaderNavPreferences, type HeaderNavTypographyPreference, type LogoSizePolicy, type SiteChromeBackgroundOverride, type SiteChromeBackgroundPreferences } from '../../../../theme-core/src/site-styles/index';
|
|
3
3
|
import type { SelectionSnapshot } from './StyleConfigurator.state';
|
|
4
4
|
import type { HeaderBrandPreferences } from './siteChromeBrandPreferences';
|
|
5
5
|
type HeaderLayoutSelection = Pick<SelectionSnapshot, 'headerLayoutId' | 'headerStyleId' | 'headerLookId'>;
|
|
@@ -36,16 +36,26 @@ export type SiteChromeQuickControlHistoryEntry = Readonly<{
|
|
|
36
36
|
kind: 'header-logo-size';
|
|
37
37
|
previous: LogoSizePolicy;
|
|
38
38
|
next: LogoSizePolicy;
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: 'header-menu-font';
|
|
41
|
+
previous: HeaderNavTypographyPreference;
|
|
42
|
+
next: HeaderNavTypographyPreference;
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
kind: 'header-menu-font-size';
|
|
45
|
+
previous: HeaderNavFontSizePreference;
|
|
46
|
+
next: HeaderNavFontSizePreference;
|
|
39
47
|
}>;
|
|
40
48
|
export type SiteChromeQuickControlHistoryPresent = Readonly<{
|
|
41
49
|
selection: SelectionSnapshot;
|
|
42
50
|
headerBrandPreferences: HeaderBrandPreferences;
|
|
51
|
+
headerNavPreferences: HeaderNavPreferences;
|
|
43
52
|
backgroundPreferences: SiteChromeBackgroundPreferences;
|
|
44
53
|
entry: SiteChromeQuickControlHistoryEntry | null;
|
|
45
54
|
}>;
|
|
46
55
|
type SiteChromeQuickControlHistoryPresentInput = Readonly<{
|
|
47
56
|
selection: SelectionSnapshot;
|
|
48
57
|
headerBrandPreferences: HeaderBrandPreferences;
|
|
58
|
+
headerNavPreferences?: HeaderNavPreferences;
|
|
49
59
|
backgroundPreferences?: SiteChromeBackgroundPreferences;
|
|
50
60
|
}>;
|
|
51
61
|
export type SiteChromeQuickControlReplayPlan = Readonly<{
|
|
@@ -55,6 +65,9 @@ export type SiteChromeQuickControlReplayPlan = Readonly<{
|
|
|
55
65
|
}> | Readonly<{
|
|
56
66
|
kind: 'brand-preferences';
|
|
57
67
|
preferences: HeaderBrandPreferences;
|
|
68
|
+
}> | Readonly<{
|
|
69
|
+
kind: 'nav-preferences';
|
|
70
|
+
preferences: HeaderNavPreferences;
|
|
58
71
|
}> | Readonly<{
|
|
59
72
|
kind: 'background-preferences';
|
|
60
73
|
preferences: SiteChromeBackgroundPreferences;
|
|
@@ -99,6 +112,7 @@ export type SiteChromeQuickControlHistoryFailure = Readonly<{
|
|
|
99
112
|
}>;
|
|
100
113
|
export type SiteChromeQuickControlSelectionTarget = 'header-layout' | 'header-style' | 'footer-layout' | 'footer-look';
|
|
101
114
|
export type SiteChromeQuickControlBrandTarget = 'header-brand-display' | 'header-logo-size';
|
|
115
|
+
export type SiteChromeQuickControlNavTarget = 'header-menu-font' | 'header-menu-font-size';
|
|
102
116
|
export type SiteChromeQuickControlBackgroundTarget = 'header-background' | 'footer-background';
|
|
103
117
|
export declare function createSiteChromeQuickControlHistoryState(present: SiteChromeQuickControlHistoryPresentInput): SiteChromeQuickControlHistoryState;
|
|
104
118
|
export declare function recordSiteChromeQuickControlHistoryEntry(state: SiteChromeQuickControlHistoryState, input: Readonly<{
|
|
@@ -109,6 +123,7 @@ export declare function recordSiteChromeQuickControlHistoryEntry(state: SiteChro
|
|
|
109
123
|
export declare function quickControlHistoryEntryFromSelectionChange(previous: SelectionSnapshot, next: SelectionSnapshot, target: SiteChromeQuickControlSelectionTarget): SiteChromeQuickControlHistoryEntry | null;
|
|
110
124
|
export declare function quickControlHistoryEntryFromBrandPreferenceChange(previous: HeaderBrandPreferences, next: HeaderBrandPreferences, target: SiteChromeQuickControlBrandTarget): SiteChromeQuickControlHistoryEntry | null;
|
|
111
125
|
export declare function quickControlHistoryEntryFromBackgroundPreferenceChange(previous: SiteChromeBackgroundPreferences, next: SiteChromeBackgroundPreferences, target: SiteChromeQuickControlBackgroundTarget): SiteChromeQuickControlHistoryEntry | null;
|
|
126
|
+
export declare function quickControlHistoryEntryFromNavPreferenceChange(previous: HeaderNavPreferences, next: HeaderNavPreferences, target: SiteChromeQuickControlNavTarget): SiteChromeQuickControlHistoryEntry | null;
|
|
112
127
|
export declare function beginSiteChromeQuickControlHistoryUndo(state: SiteChromeQuickControlHistoryState): SiteChromeQuickControlHistoryBeginResult;
|
|
113
128
|
export declare function beginSiteChromeQuickControlHistoryRedo(state: SiteChromeQuickControlHistoryState): SiteChromeQuickControlHistoryBeginResult;
|
|
114
129
|
export declare function confirmSiteChromeQuickControlHistoryMutation(state: SiteChromeQuickControlHistoryState, persisted: SiteChromeQuickControlHistoryPresentInput): SiteChromeQuickControlHistoryState;
|