@riverbankcms/sdk 0.126.0 → 0.128.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-DcYJxTgc.mjs → PreviewEditorSidebar-Dbvb7GIr.mjs} +64 -68
- package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-e9O9l20X.mjs} +3 -3
- package/dist/{PreviewQueryProvider-DgFDIwvK.mjs → PreviewQueryProvider-B1kbhaJD.mjs} +1 -1
- package/dist/SdkPreviewModeRuntime-BZHt6e9w.mjs +11006 -0
- package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-CvuGbHJX.mjs} +51247 -20733
- package/dist/_dts/ai/src/contracts/proposals.d.ts +486 -36
- package/dist/_dts/api/src/bookingClosures.d.ts +19 -3
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -3
- package/dist/_dts/api/src/bookingRecords.d.ts +0 -13
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/communications.d.ts +2 -1
- package/dist/_dts/api/src/contactFormSummary.d.ts +15 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -10
- package/dist/_dts/api/src/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/footerSettings.d.ts +11 -0
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +48 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +5 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +7 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +7 -5
- package/dist/_dts/api/src/siteOperations.d.ts +12 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -2
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
- package/dist/_dts/blocks/src/client/form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/newsletter-form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -8
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +41 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +14 -23
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +109 -23
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -108
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -54
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +26 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +29 -78
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +27 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +21 -0
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +3 -1
- package/dist/_dts/content-editor/src/FooterEngagementEditorFields.d.ts +31 -0
- package/dist/_dts/content-editor/src/FooterEngagementEditorPanel.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +3 -0
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +57 -0
- package/dist/_dts/content-editor/src/footerEngagementEditor.d.ts +11 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +13 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +35 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +2 -0
- package/dist/_dts/core/src/footer-composition-types.d.ts +118 -0
- package/dist/_dts/core/src/footer-composition.d.ts +7 -116
- package/dist/_dts/core/src/footer-engagement.d.ts +30 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +38 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -159
- package/dist/_dts/db/src/index.d.ts +1 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +72 -2
- package/dist/_dts/db/src/schemas/standard-contact.d.ts +114 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
- package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/context.d.ts +1 -2
- package/dist/_dts/media-editor/src/index.d.ts +3 -1
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
- package/dist/_dts/media-editor/src/types.d.ts +3 -1
- package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +13 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -4
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
- package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
- package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
- package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -5
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +9 -0
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +10 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +3 -5
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +15 -3
- package/dist/_dts/sdk/src/client/combineAbortSignals.d.ts +2 -0
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -15
- package/dist/_dts/sdk/src/client/types.d.ts +10 -2
- package/dist/_dts/sdk/src/client/wholeSeriesReadOperations.d.ts +11 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/event-registration-content.d.ts +16 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -15
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -18
- package/dist/_dts/sdk/src/public-api/teamMemberContracts.d.ts +17 -0
- package/dist/_dts/sdk/src/public-api/wholeSeriesContracts.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +7 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +8 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commandContract.d.ts +8 -1
- package/dist/_dts/site-commands/src/commands.d.ts +16 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
- package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +31 -0
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
- package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +8 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +67 -19
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
- package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
- package/dist/cli/index.mjs +6272 -5706
- package/dist/client/{courseRegistration-BcemLAdN.mjs → CourseRegistrationWizard-xRmA7REV.mjs} +329 -49
- package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-B9vriL5C.mjs} +1 -1
- package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-BgVnVTlz.mjs} +2 -2
- package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CqdsO7jO.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-CKPxot9M.mjs} +1 -1
- package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-DGCYuBJ1.mjs} +2 -2
- package/dist/client/{accordion-BqqwPJWM.mjs → accordion-BfN5Eqd-.mjs} +1 -1
- package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-DOvCpBFP.mjs} +5 -5
- package/dist/client/bookings.mjs +126 -23
- package/dist/client/{carousel-BTIR9L3I.mjs → carousel-DPNmiH0f.mjs} +1 -1
- package/dist/client/{cart-bqiqd8SX.mjs → cart--egVXlrR.mjs} +3 -3
- package/dist/client/{checkout-WbTFV5v4.mjs → checkout-DywWtMcq.mjs} +3 -3
- package/dist/client/client.mjs +6111 -5794
- package/dist/client/courseRegistration-Dk9qFVwt.mjs +46 -0
- package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-Bkz2HjlS.mjs} +4 -4
- package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-D4kipYWg.mjs} +2 -2
- package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-Dz_5ix2Q.mjs} +56 -35
- package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-D0vm-zST.mjs} +2 -2
- package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Cw1E4Q4p.mjs} +58 -6
- package/dist/client/{form-Bk9txGFt.mjs → form-C2Zf1n3K.mjs} +1 -1
- package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-CP05gzdc.mjs} +2 -2
- package/dist/client/hooks.mjs +1013 -935
- package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-Cl3x9PYJ.mjs} +2 -2
- package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-DyEJoClm.mjs} +26 -20
- package/dist/client/{pricing-C1QeDes_.mjs → pricing-DGuNR1W4.mjs} +1 -1
- package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-Cq-HrGew.mjs} +3 -3
- package/dist/client/{productList-D0tGKHGf.mjs → productList-DbB3jwqd.mjs} +3 -3
- package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-CiTuhUwY.mjs} +257 -142
- package/dist/client/rendering/client.mjs +1342 -1122
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +6622 -6321
- package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-CShkRqab.mjs} +1 -1
- package/dist/client/{shop-BGzmL8O_.mjs → shop-Cu4Ib-ZA.mjs} +5 -5
- package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-BzpsOdh7.mjs} +4 -4
- package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-DaE7Fhj8.mjs} +1 -1
- package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-cF0c20vB.mjs} +2 -2
- package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-QZ3HMgaJ.mjs} +2 -2
- package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-BKf0GcE-.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/{previewAuthStore-Dev9CdG9.mjs → previewAuthStore-BesgU5Xu.mjs} +1 -1
- package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-Cn_QSCOg.mjs} +2 -2
- package/dist/{separator-VSlnI9bc.mjs → separator-CEoGABRc.mjs} +1 -1
- package/dist/server/components.mjs +1750 -1614
- package/dist/server/config-validation.mjs +1010 -935
- package/dist/server/config.mjs +1010 -935
- package/dist/server/data.mjs +1013 -935
- package/dist/server/index.mjs +40 -16
- package/dist/server/next.mjs +1790 -1632
- package/dist/server/page-converter.mjs +1012 -938
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1746 -1601
- package/dist/server/rendering.mjs +1759 -1615
- package/dist/server/routing.mjs +1123 -975
- package/dist/server/server.mjs +1053 -951
- package/dist/server/theme-bridge.mjs +151 -118
- package/dist/server/theme.mjs +111 -23
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-CvW1vdQ4.mjs +0 -39468
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
- package/dist/client/MagicLinkForm-Bt3IuLMy.mjs +0 -327
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AppearancePresetTarget, BlockAppearancePreset } from './appearancePresetTypes';
|
|
2
2
|
export declare const appearancePresets: readonly [{
|
|
3
|
-
readonly kind: "block-design";
|
|
4
3
|
readonly id: "hero-immersive-image";
|
|
5
4
|
readonly target: "hero";
|
|
6
5
|
readonly label: "Immersive image hero";
|
|
@@ -31,7 +30,6 @@ export declare const appearancePresets: readonly [{
|
|
|
31
30
|
};
|
|
32
31
|
};
|
|
33
32
|
}, {
|
|
34
|
-
readonly kind: "block-design";
|
|
35
33
|
readonly id: "hero-bottom-left-panel";
|
|
36
34
|
readonly target: "hero";
|
|
37
35
|
readonly label: "Bottom-left panel hero";
|
|
@@ -42,7 +40,7 @@ export declare const appearancePresets: readonly [{
|
|
|
42
40
|
readonly optionGroups: readonly [{
|
|
43
41
|
readonly id: "image-surface-treatment";
|
|
44
42
|
readonly label: "Treatment";
|
|
45
|
-
readonly
|
|
43
|
+
readonly defaultOptionId: "neutral-scrim";
|
|
46
44
|
readonly options: readonly [{
|
|
47
45
|
readonly id: "neutral-scrim";
|
|
48
46
|
readonly label: "Neutral scrim";
|
|
@@ -89,7 +87,6 @@ export declare const appearancePresets: readonly [{
|
|
|
89
87
|
};
|
|
90
88
|
};
|
|
91
89
|
}, {
|
|
92
|
-
readonly kind: "block-design";
|
|
93
90
|
readonly id: "hero-poster-image";
|
|
94
91
|
readonly target: "hero";
|
|
95
92
|
readonly label: "Poster image hero";
|
|
@@ -122,7 +119,6 @@ export declare const appearancePresets: readonly [{
|
|
|
122
119
|
};
|
|
123
120
|
};
|
|
124
121
|
}, {
|
|
125
|
-
readonly kind: "block-design";
|
|
126
122
|
readonly id: "hero-brand-scrim";
|
|
127
123
|
readonly target: "hero";
|
|
128
124
|
readonly label: "Brand scrim image hero";
|
|
@@ -133,7 +129,7 @@ export declare const appearancePresets: readonly [{
|
|
|
133
129
|
readonly optionGroups: readonly [{
|
|
134
130
|
readonly id: "image-surface-treatment";
|
|
135
131
|
readonly label: "Treatment";
|
|
136
|
-
readonly
|
|
132
|
+
readonly defaultOptionId: "brand-scrim-primary";
|
|
137
133
|
readonly options: readonly [{
|
|
138
134
|
readonly id: "brand-scrim-primary";
|
|
139
135
|
readonly label: "Brand scrim";
|
|
@@ -176,7 +172,6 @@ export declare const appearancePresets: readonly [{
|
|
|
176
172
|
};
|
|
177
173
|
};
|
|
178
174
|
}, {
|
|
179
|
-
readonly kind: "block-design";
|
|
180
175
|
readonly id: "hero-brand-scrim-fixed-frame";
|
|
181
176
|
readonly target: "hero";
|
|
182
177
|
readonly label: "Fixed-frame brand scrim hero";
|
|
@@ -187,7 +182,7 @@ export declare const appearancePresets: readonly [{
|
|
|
187
182
|
readonly optionGroups: readonly [{
|
|
188
183
|
readonly id: "image-surface-treatment";
|
|
189
184
|
readonly label: "Treatment";
|
|
190
|
-
readonly
|
|
185
|
+
readonly defaultOptionId: "brand-scrim-primary";
|
|
191
186
|
readonly options: readonly [{
|
|
192
187
|
readonly id: "brand-scrim-primary";
|
|
193
188
|
readonly label: "Brand scrim";
|
|
@@ -232,7 +227,6 @@ export declare const appearancePresets: readonly [{
|
|
|
232
227
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
233
228
|
};
|
|
234
229
|
}, {
|
|
235
|
-
readonly kind: "block-design";
|
|
236
230
|
readonly id: "hero-brand-depth-expressive";
|
|
237
231
|
readonly target: "hero";
|
|
238
232
|
readonly label: "Expressive brand-depth hero";
|
|
@@ -251,7 +245,6 @@ export declare const appearancePresets: readonly [{
|
|
|
251
245
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
252
246
|
};
|
|
253
247
|
}, {
|
|
254
|
-
readonly kind: "block-design";
|
|
255
248
|
readonly id: "hero-contained-intro";
|
|
256
249
|
readonly target: "hero";
|
|
257
250
|
readonly label: "Contained intro hero";
|
|
@@ -267,7 +260,6 @@ export declare const appearancePresets: readonly [{
|
|
|
267
260
|
readonly heroTypographyScale: "editorial";
|
|
268
261
|
};
|
|
269
262
|
}, {
|
|
270
|
-
readonly kind: "block-design";
|
|
271
263
|
readonly id: "hero-split-editorial";
|
|
272
264
|
readonly target: "hero";
|
|
273
265
|
readonly label: "Editorial split hero";
|
|
@@ -284,7 +276,6 @@ export declare const appearancePresets: readonly [{
|
|
|
284
276
|
readonly heroTypographyScale: "editorial";
|
|
285
277
|
};
|
|
286
278
|
}, {
|
|
287
|
-
readonly kind: "block-design";
|
|
288
279
|
readonly id: "hero-split-brand";
|
|
289
280
|
readonly target: "hero";
|
|
290
281
|
readonly label: "Brand split hero";
|
|
@@ -302,7 +293,6 @@ export declare const appearancePresets: readonly [{
|
|
|
302
293
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
303
294
|
};
|
|
304
295
|
}, {
|
|
305
|
-
readonly kind: "block-design";
|
|
306
296
|
readonly id: "hero-split-soft-panel";
|
|
307
297
|
readonly target: "hero";
|
|
308
298
|
readonly label: "Soft panel split hero";
|
|
@@ -320,7 +310,6 @@ export declare const appearancePresets: readonly [{
|
|
|
320
310
|
readonly heroTypographyScale: "editorial";
|
|
321
311
|
};
|
|
322
312
|
}, {
|
|
323
|
-
readonly kind: "block-design";
|
|
324
313
|
readonly id: "hero-split-accent";
|
|
325
314
|
readonly target: "hero";
|
|
326
315
|
readonly label: "Accent split hero";
|
|
@@ -338,7 +327,6 @@ export declare const appearancePresets: readonly [{
|
|
|
338
327
|
readonly heroTypographyScale: "display";
|
|
339
328
|
};
|
|
340
329
|
}, {
|
|
341
|
-
readonly kind: "block-design";
|
|
342
330
|
readonly id: "intro-editorial-statement";
|
|
343
331
|
readonly target: "intro";
|
|
344
332
|
readonly label: "Editorial intro statement";
|
|
@@ -358,7 +346,6 @@ export declare const appearancePresets: readonly [{
|
|
|
358
346
|
};
|
|
359
347
|
};
|
|
360
348
|
}, {
|
|
361
|
-
readonly kind: "block-design";
|
|
362
349
|
readonly id: "intro-portrait-bio";
|
|
363
350
|
readonly target: "intro";
|
|
364
351
|
readonly label: "Portrait and bio";
|
|
@@ -378,7 +365,6 @@ export declare const appearancePresets: readonly [{
|
|
|
378
365
|
};
|
|
379
366
|
};
|
|
380
367
|
}, {
|
|
381
|
-
readonly kind: "block-design";
|
|
382
368
|
readonly id: "offerings-preview-default-cards";
|
|
383
369
|
readonly target: "offerings";
|
|
384
370
|
readonly label: "Default offering cards";
|
|
@@ -391,7 +377,6 @@ export declare const appearancePresets: readonly [{
|
|
|
391
377
|
readonly itemSurface: "default";
|
|
392
378
|
};
|
|
393
379
|
}, {
|
|
394
|
-
readonly kind: "block-design";
|
|
395
380
|
readonly id: "offerings-preview-secondary-cards";
|
|
396
381
|
readonly target: "offerings";
|
|
397
382
|
readonly label: "Secondary offering cards";
|
|
@@ -404,7 +389,6 @@ export declare const appearancePresets: readonly [{
|
|
|
404
389
|
readonly itemSurface: "inset";
|
|
405
390
|
};
|
|
406
391
|
}, {
|
|
407
|
-
readonly kind: "block-design";
|
|
408
392
|
readonly id: "offerings-preview-non-carded";
|
|
409
393
|
readonly target: "offerings";
|
|
410
394
|
readonly label: "Non-carded offerings";
|
|
@@ -417,7 +401,6 @@ export declare const appearancePresets: readonly [{
|
|
|
417
401
|
readonly itemSurface: "editorial";
|
|
418
402
|
};
|
|
419
403
|
}, {
|
|
420
|
-
readonly kind: "block-design";
|
|
421
404
|
readonly id: "offerings-preview-paired-feature-cards";
|
|
422
405
|
readonly target: "offerings";
|
|
423
406
|
readonly label: "Paired feature cards";
|
|
@@ -433,7 +416,6 @@ export declare const appearancePresets: readonly [{
|
|
|
433
416
|
readonly itemSurface: "none";
|
|
434
417
|
};
|
|
435
418
|
}, {
|
|
436
|
-
readonly kind: "block-design";
|
|
437
419
|
readonly id: "offerings-preview-open-editorial-columns";
|
|
438
420
|
readonly target: "offerings";
|
|
439
421
|
readonly label: "Open editorial columns";
|
|
@@ -449,7 +431,6 @@ export declare const appearancePresets: readonly [{
|
|
|
449
431
|
readonly itemSurface: "none";
|
|
450
432
|
};
|
|
451
433
|
}, {
|
|
452
|
-
readonly kind: "block-design";
|
|
453
434
|
readonly id: "offerings-preview-joined-programme-panel";
|
|
454
435
|
readonly target: "offerings";
|
|
455
436
|
readonly label: "Joined programme panel";
|
|
@@ -465,7 +446,6 @@ export declare const appearancePresets: readonly [{
|
|
|
465
446
|
readonly itemSurface: "none";
|
|
466
447
|
};
|
|
467
448
|
}, {
|
|
468
|
-
readonly kind: "block-design";
|
|
469
449
|
readonly id: "feature-cards-raised-rule";
|
|
470
450
|
readonly target: "feature-cards";
|
|
471
451
|
readonly label: "Raised cards with rule";
|
|
@@ -478,7 +458,6 @@ export declare const appearancePresets: readonly [{
|
|
|
478
458
|
readonly itemSurface: "raised";
|
|
479
459
|
};
|
|
480
460
|
}, {
|
|
481
|
-
readonly kind: "block-design";
|
|
482
461
|
readonly id: "feature-cards-bold-colors";
|
|
483
462
|
readonly target: "feature-cards";
|
|
484
463
|
readonly label: "Bold colour-blocked cards";
|
|
@@ -491,7 +470,6 @@ export declare const appearancePresets: readonly [{
|
|
|
491
470
|
readonly itemSurface: "color-blocked";
|
|
492
471
|
};
|
|
493
472
|
}, {
|
|
494
|
-
readonly kind: "block-design";
|
|
495
473
|
readonly id: "feature-cards-editorial-columns";
|
|
496
474
|
readonly target: "feature-cards";
|
|
497
475
|
readonly label: "Editorial open columns";
|
|
@@ -504,7 +482,6 @@ export declare const appearancePresets: readonly [{
|
|
|
504
482
|
readonly itemSurface: "editorial";
|
|
505
483
|
};
|
|
506
484
|
}, {
|
|
507
|
-
readonly kind: "block-design";
|
|
508
485
|
readonly id: "feature-cards-asymmetric-emphasis";
|
|
509
486
|
readonly target: "feature-cards";
|
|
510
487
|
readonly label: "Asymmetric emphasis pair";
|
|
@@ -524,7 +501,6 @@ export declare const appearancePresets: readonly [{
|
|
|
524
501
|
};
|
|
525
502
|
};
|
|
526
503
|
}, {
|
|
527
|
-
readonly kind: "block-design";
|
|
528
504
|
readonly id: "feature-cards-framed-programme";
|
|
529
505
|
readonly target: "feature-cards";
|
|
530
506
|
readonly label: "Framed programme cards";
|
|
@@ -544,7 +520,6 @@ export declare const appearancePresets: readonly [{
|
|
|
544
520
|
};
|
|
545
521
|
};
|
|
546
522
|
}, {
|
|
547
|
-
readonly kind: "block-design";
|
|
548
523
|
readonly id: "feature-cards-soft-panels";
|
|
549
524
|
readonly target: "feature-cards";
|
|
550
525
|
readonly label: "Soft tinted panels";
|
|
@@ -557,7 +532,6 @@ export declare const appearancePresets: readonly [{
|
|
|
557
532
|
readonly itemSurface: "inset";
|
|
558
533
|
};
|
|
559
534
|
}, {
|
|
560
|
-
readonly kind: "block-design";
|
|
561
535
|
readonly id: "feature-cards-editorial-diptych";
|
|
562
536
|
readonly target: "feature-cards";
|
|
563
537
|
readonly label: "Editorial diptych";
|
|
@@ -573,7 +547,6 @@ export declare const appearancePresets: readonly [{
|
|
|
573
547
|
readonly itemSurface: "flat";
|
|
574
548
|
};
|
|
575
549
|
}, {
|
|
576
|
-
readonly kind: "block-design";
|
|
577
550
|
readonly id: "feature-cards-editorial-pathways";
|
|
578
551
|
readonly target: "feature-cards";
|
|
579
552
|
readonly label: "Editorial pathways";
|
|
@@ -589,7 +562,6 @@ export declare const appearancePresets: readonly [{
|
|
|
589
562
|
readonly itemSurface: "flat";
|
|
590
563
|
};
|
|
591
564
|
}, {
|
|
592
|
-
readonly kind: "block-design";
|
|
593
565
|
readonly id: "feature-cards-photo-tiles";
|
|
594
566
|
readonly target: "feature-cards";
|
|
595
567
|
readonly label: "Photo tiles";
|
|
@@ -602,7 +574,6 @@ export declare const appearancePresets: readonly [{
|
|
|
602
574
|
readonly itemSurface: "raised";
|
|
603
575
|
};
|
|
604
576
|
}, {
|
|
605
|
-
readonly kind: "block-design";
|
|
606
577
|
readonly id: "events-lined-panel";
|
|
607
578
|
readonly target: "events";
|
|
608
579
|
readonly label: "Raised event panel";
|
|
@@ -616,7 +587,6 @@ export declare const appearancePresets: readonly [{
|
|
|
616
587
|
readonly itemSurface: "none";
|
|
617
588
|
};
|
|
618
589
|
}, {
|
|
619
|
-
readonly kind: "block-design";
|
|
620
590
|
readonly id: "events-ruled-register";
|
|
621
591
|
readonly target: "events";
|
|
622
592
|
readonly label: "Ruled event register";
|
|
@@ -630,7 +600,6 @@ export declare const appearancePresets: readonly [{
|
|
|
630
600
|
readonly eventListTreatment: "ruled-register";
|
|
631
601
|
};
|
|
632
602
|
}, {
|
|
633
|
-
readonly kind: "block-design";
|
|
634
603
|
readonly id: "events-editorial-register";
|
|
635
604
|
readonly target: "events";
|
|
636
605
|
readonly label: "Editorial event register";
|
|
@@ -644,7 +613,6 @@ export declare const appearancePresets: readonly [{
|
|
|
644
613
|
readonly eventListTreatment: "editorial-register";
|
|
645
614
|
};
|
|
646
615
|
}, {
|
|
647
|
-
readonly kind: "block-design";
|
|
648
616
|
readonly id: "events-dense-index";
|
|
649
617
|
readonly target: "events";
|
|
650
618
|
readonly label: "Dense event index";
|
|
@@ -658,7 +626,6 @@ export declare const appearancePresets: readonly [{
|
|
|
658
626
|
readonly eventListTreatment: "dense-index";
|
|
659
627
|
};
|
|
660
628
|
}, {
|
|
661
|
-
readonly kind: "block-design";
|
|
662
629
|
readonly id: "schedule-details-brand-depth";
|
|
663
630
|
readonly target: "events";
|
|
664
631
|
readonly label: "Brand-depth schedule details";
|
|
@@ -672,7 +639,6 @@ export declare const appearancePresets: readonly [{
|
|
|
672
639
|
readonly tileTreatment: "brand-depth";
|
|
673
640
|
};
|
|
674
641
|
}, {
|
|
675
|
-
readonly kind: "block-design";
|
|
676
642
|
readonly id: "media-text-flush-feature";
|
|
677
643
|
readonly target: "media-text";
|
|
678
644
|
readonly label: "Flush media feature";
|
|
@@ -687,7 +653,6 @@ export declare const appearancePresets: readonly [{
|
|
|
687
653
|
readonly itemSurface: "none";
|
|
688
654
|
};
|
|
689
655
|
}, {
|
|
690
|
-
readonly kind: "block-design";
|
|
691
656
|
readonly id: "testimonials-simple-cards";
|
|
692
657
|
readonly target: "testimonials";
|
|
693
658
|
readonly label: "Simple testimonial cards";
|
|
@@ -700,7 +665,6 @@ export declare const appearancePresets: readonly [{
|
|
|
700
665
|
readonly itemSurface: "default";
|
|
701
666
|
};
|
|
702
667
|
}, {
|
|
703
|
-
readonly kind: "block-design";
|
|
704
668
|
readonly id: "testimonials-raised-panel";
|
|
705
669
|
readonly target: "testimonials";
|
|
706
670
|
readonly label: "Raised testimonial panel";
|
|
@@ -714,7 +678,6 @@ export declare const appearancePresets: readonly [{
|
|
|
714
678
|
readonly itemSurface: "raised";
|
|
715
679
|
};
|
|
716
680
|
}, {
|
|
717
|
-
readonly kind: "block-design";
|
|
718
681
|
readonly id: "testimonials-accent-panel";
|
|
719
682
|
readonly target: "testimonials";
|
|
720
683
|
readonly label: "Accent testimonial panel";
|
|
@@ -728,7 +691,6 @@ export declare const appearancePresets: readonly [{
|
|
|
728
691
|
readonly itemSurface: "raised";
|
|
729
692
|
};
|
|
730
693
|
}, {
|
|
731
|
-
readonly kind: "block-design";
|
|
732
694
|
readonly id: "testimonials-default-cards";
|
|
733
695
|
readonly target: "testimonials";
|
|
734
696
|
readonly label: "Default cards";
|
|
@@ -742,7 +704,6 @@ export declare const appearancePresets: readonly [{
|
|
|
742
704
|
readonly testimonialCardTreatment: "default";
|
|
743
705
|
};
|
|
744
706
|
}, {
|
|
745
|
-
readonly kind: "block-design";
|
|
746
707
|
readonly id: "testimonials-statement-cards";
|
|
747
708
|
readonly target: "testimonials";
|
|
748
709
|
readonly label: "Statement cards";
|
|
@@ -756,7 +717,6 @@ export declare const appearancePresets: readonly [{
|
|
|
756
717
|
readonly testimonialCardTreatment: "statement";
|
|
757
718
|
};
|
|
758
719
|
}, {
|
|
759
|
-
readonly kind: "block-design";
|
|
760
720
|
readonly id: "testimonials-brand-statement-cards";
|
|
761
721
|
readonly target: "testimonials";
|
|
762
722
|
readonly label: "Brand statement cards";
|
|
@@ -770,7 +730,6 @@ export declare const appearancePresets: readonly [{
|
|
|
770
730
|
readonly testimonialCardTreatment: "statement";
|
|
771
731
|
};
|
|
772
732
|
}, {
|
|
773
|
-
readonly kind: "block-design";
|
|
774
733
|
readonly id: "testimonials-non-carded";
|
|
775
734
|
readonly target: "testimonials";
|
|
776
735
|
readonly label: "Non-carded";
|
|
@@ -784,7 +743,6 @@ export declare const appearancePresets: readonly [{
|
|
|
784
743
|
readonly testimonialCardTreatment: "non-carded";
|
|
785
744
|
};
|
|
786
745
|
}, {
|
|
787
|
-
readonly kind: "block-design";
|
|
788
746
|
readonly id: "testimonials-evergreen-lead";
|
|
789
747
|
readonly target: "testimonials";
|
|
790
748
|
readonly label: "Evergreen lead";
|
|
@@ -800,7 +758,6 @@ export declare const appearancePresets: readonly [{
|
|
|
800
758
|
readonly itemSurface: "none";
|
|
801
759
|
};
|
|
802
760
|
}, {
|
|
803
|
-
readonly kind: "block-design";
|
|
804
761
|
readonly id: "testimonials-room-and-response";
|
|
805
762
|
readonly target: "testimonials";
|
|
806
763
|
readonly label: "Room and response";
|
|
@@ -816,7 +773,6 @@ export declare const appearancePresets: readonly [{
|
|
|
816
773
|
readonly itemSurface: "none";
|
|
817
774
|
};
|
|
818
775
|
}, {
|
|
819
|
-
readonly kind: "block-design";
|
|
820
776
|
readonly id: "testimonials-open-floor";
|
|
821
777
|
readonly target: "testimonials";
|
|
822
778
|
readonly label: "Open floor";
|
|
@@ -832,7 +788,6 @@ export declare const appearancePresets: readonly [{
|
|
|
832
788
|
readonly itemSurface: "none";
|
|
833
789
|
};
|
|
834
790
|
}, {
|
|
835
|
-
readonly kind: "block-design";
|
|
836
791
|
readonly id: "faq-base-accordion";
|
|
837
792
|
readonly target: "faq";
|
|
838
793
|
readonly label: "Base accordion FAQ";
|
|
@@ -845,7 +800,6 @@ export declare const appearancePresets: readonly [{
|
|
|
845
800
|
readonly itemSurface: "default";
|
|
846
801
|
};
|
|
847
802
|
}, {
|
|
848
|
-
readonly kind: "block-design";
|
|
849
803
|
readonly id: "faq-contained-help";
|
|
850
804
|
readonly target: "faq";
|
|
851
805
|
readonly label: "Contained help panel";
|
|
@@ -859,7 +813,6 @@ export declare const appearancePresets: readonly [{
|
|
|
859
813
|
readonly itemSurface: "default";
|
|
860
814
|
};
|
|
861
815
|
}, {
|
|
862
|
-
readonly kind: "block-design";
|
|
863
816
|
readonly id: "contact-form-panel";
|
|
864
817
|
readonly target: "contact-form";
|
|
865
818
|
readonly label: "Raised form panel";
|
|
@@ -873,7 +826,6 @@ export declare const appearancePresets: readonly [{
|
|
|
873
826
|
readonly itemSurface: "none";
|
|
874
827
|
};
|
|
875
828
|
}, {
|
|
876
|
-
readonly kind: "block-design";
|
|
877
829
|
readonly id: "cta-accent-band";
|
|
878
830
|
readonly target: "cta";
|
|
879
831
|
readonly label: "Accent CTA band";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BlockLayoutFamily } from './blockFlow';
|
|
2
|
-
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent, ImageSurfaceMotion, ImageSurfaceTreatment, AccordionIconTreatment, BlockCompositionIntent,
|
|
2
|
+
import type { ContentFrameIntent, EyebrowTreatment, EventListTreatment, HeroCompositionIntent, HeroLegibilityStrategy, HeroTypographyScaleIntent, ImageSurfaceMotion, ImageSurfaceTreatment, AccordionIconTreatment, BlockCompositionIntent, SectionHeightIntent, SiteStyleItemSurfaceIntent, SiteStyleSurfaceIntent, TestimonialCardTreatment, TileTreatment } from './types';
|
|
3
|
+
import type { LookOption, LookOptionGroup } from './lookOptionGroups';
|
|
3
4
|
export type AppearancePresetTarget = 'hero' | 'intro' | 'body-text' | 'offerings' | 'feature-cards' | 'events' | 'media-text' | 'testimonials' | 'faq' | 'contact-form' | 'newsletter' | 'cta';
|
|
4
5
|
export type BlockAppearanceDesign = Readonly<{
|
|
5
6
|
sectionSurface: SiteStyleSurfaceIntent;
|
|
@@ -24,23 +25,15 @@ export type BlockAppearancePresetConstraints = Readonly<{
|
|
|
24
25
|
}>;
|
|
25
26
|
export type BlockAppearanceOptionDesignPatch = Readonly<Partial<Pick<BlockAppearanceDesign, 'heroLegibility' | 'heroComposition' | 'heroTypographyScale' | 'imageSurfaceTreatment' | 'imageSurfaceMotion' | 'sectionHeight' | 'testimonialCardTreatment' | 'tileTreatment' | 'eventListTreatment' | 'eyebrowTreatment' | 'accordionIconTreatment' | 'composition'>>>;
|
|
26
27
|
export type BlockAppearanceLayoutDesignPatch = BlockAppearanceOptionDesignPatch;
|
|
27
|
-
export type BlockAppearanceOption = Readonly<{
|
|
28
|
-
id: string;
|
|
29
|
-
label: string;
|
|
28
|
+
export type BlockAppearanceOption = LookOption & Readonly<{
|
|
30
29
|
designPatch: BlockAppearanceOptionDesignPatch;
|
|
31
30
|
}>;
|
|
32
|
-
export type BlockAppearanceOptionGroup =
|
|
33
|
-
id: string;
|
|
34
|
-
label: string;
|
|
35
|
-
options: NonEmptyReadonlyArray<BlockAppearanceOption>;
|
|
36
|
-
selectedOptionId: string;
|
|
37
|
-
}>;
|
|
31
|
+
export type BlockAppearanceOptionGroup = LookOptionGroup<string, BlockAppearanceOption>;
|
|
38
32
|
export type BlockAppearanceLayoutPatch = Readonly<{
|
|
39
33
|
constraints: BlockAppearancePresetConstraints;
|
|
40
34
|
designPatch: BlockAppearanceLayoutDesignPatch;
|
|
41
35
|
}>;
|
|
42
36
|
export type BlockAppearancePreset = Readonly<{
|
|
43
|
-
kind: 'block-design';
|
|
44
37
|
id: string;
|
|
45
38
|
target: AppearancePresetTarget;
|
|
46
39
|
label: string;
|